// Generated by smithplates HTTP codegen. Do not edit.

export interface FulfillmentStatePending {
  pending: string;
}

export interface FulfillmentStateShipped {
  shipped: string;
}

export interface FulfillmentStateDelivered {
  delivered: string;
}

export type FulfillmentState = FulfillmentStatePending | FulfillmentStateShipped | FulfillmentStateDelivered;

export function parseFulfillmentState(value: unknown): FulfillmentState {
  return value as FulfillmentState;
}

export function serializeFulfillmentState(value: FulfillmentState): Record<string, unknown> {
  return { ...value };
}
