export type ShipmentItem = {
    readonly actions?: {
        [key: string]: {
            [key: string]: string;
        };
    };
    readonly createDate?: string;
    externalReferenceCode?: string;
    readonly id?: number;
    readonly modifiedDate?: string;
    orderItemExternalReferenceCode?: string;
    orderItemId?: number;
    quantity: number;
    shipmentExternalReferenceCode?: string;
    readonly shipmentId?: number;
    unitOfMeasureKey?: string;
    readonly userName?: string;
    validateInventory?: boolean;
    warehouseExternalReferenceCode?: string;
    warehouseId?: number;
    readonly 'x-class-name'?: string;
};
export type Facet = {
    facetCriteria?: string;
    facetValues?: Array<FacetValue>;
};
export type FacetValue = {
    numberOfOccurrences?: number;
    term?: string;
};
export type PageShipmentItem = {
    items?: Array<ShipmentItem>;
    lastPage?: number;
    totalCount?: number;
    actions?: {
        [key: string]: {
            [key: string]: string;
        };
    };
    page?: number;
    facets?: Array<Facet>;
    pageSize?: number;
};
export type CustomField = {
    readonly 'x-class-name'?: string;
    customValue?: CustomValue;
    /**
     * The field type (e.g., image, text, etc.).
     */
    readonly dataType?: string;
    /**
     * The field's internal name. This is valid for comparisons and unique in the structured content.
     */
    name?: string;
};
/**
 * The field's value.
 */
export type CustomValue = {
    readonly 'x-class-name'?: string;
    /**
     * The field's content value for simple types.
     */
    data?: {
        [key: string]: unknown;
    };
    /**
     * The localized field's content values for simple types.
     */
    data_i18n?: {
        [key: string]: string;
    };
    geo?: Geo;
};
/**
 * A point determined by latitude and longitude.
 */
export type Geo = {
    readonly 'x-class-name'?: string;
    /**
     * The latitude of a point in space.
     */
    latitude?: number;
    /**
     * The longitude of a point in space.
     */
    longitude?: number;
};
export type Shipment = {
    readonly accountId?: number;
    readonly actions?: {
        [key: string]: {
            [key: string]: string;
        };
    };
    carrier?: string;
    readonly createDate?: string;
    customFields?: Array<CustomField>;
    expectedDate?: string;
    externalReferenceCode?: string;
    readonly id?: number;
    readonly modifiedDate?: string;
    orderExternalReferenceCode?: string;
    orderId?: number;
    shipmentItems?: Array<ShipmentItem>;
    shippingAddress?: ShippingAddress;
    shippingAddressId?: number;
    shippingDate?: string;
    shippingMethodId?: number;
    readonly shippingOptionName?: string;
    status?: Status;
    trackingNumber?: string;
    trackingURL?: string;
    readonly userName?: string;
    readonly 'x-class-name'?: string;
};
export type ShippingAddress = {
    city: string;
    countryISOCode: string;
    description?: string;
    externalReferenceCode?: string;
    id?: number;
    latitude?: number;
    longitude?: number;
    name: string;
    phoneNumber?: string;
    regionISOCode?: string;
    street1: string;
    street2?: string;
    street3?: string;
    zip?: string;
    readonly 'x-class-name'?: string;
};
export type Status = {
    readonly code?: number;
    label?: string;
    label_i18n?: string;
    readonly 'x-class-name'?: string;
};
export type PageShipment = {
    items?: Array<Shipment>;
    lastPage?: number;
    totalCount?: number;
    actions?: {
        [key: string]: {
            [key: string]: string;
        };
    };
    page?: number;
    facets?: Array<Facet>;
    pageSize?: number;
};
export type DeleteShipmentItemData = {
    body?: never;
    path: {
        shipmentItemId: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipment-items/{shipmentItemId}';
};
export type DeleteShipmentItemResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetShipmentItemData = {
    body?: never;
    path: {
        shipmentItemId: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipment-items/{shipmentItemId}';
};
export type GetShipmentItemResponses = {
    /**
     * default response
     */
    default: ShipmentItem;
};
export type GetShipmentItemResponse = GetShipmentItemResponses[keyof GetShipmentItemResponses];
export type PatchShipmentItemData = {
    body?: ShipmentItem;
    path: {
        shipmentItemId: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipment-items/{shipmentItemId}';
};
export type PatchShipmentItemResponses = {
    /**
     * default response
     */
    default: ShipmentItem;
};
export type PatchShipmentItemResponse = PatchShipmentItemResponses[keyof PatchShipmentItemResponses];
export type DeleteShipmentItemBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-shipment/v1.0/shipment-items/batch';
};
export type DeleteShipmentItemBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeleteShipmentItemByExternalReferenceCodeData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipment-items/by-externalReferenceCode/{externalReferenceCode}';
};
export type DeleteShipmentItemByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetShipmentByExternalReferenceCodeItemData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipment-items/by-externalReferenceCode/{externalReferenceCode}';
};
export type GetShipmentByExternalReferenceCodeItemResponses = {
    /**
     * default response
     */
    default: ShipmentItem;
};
export type GetShipmentByExternalReferenceCodeItemResponse = GetShipmentByExternalReferenceCodeItemResponses[keyof GetShipmentByExternalReferenceCodeItemResponses];
export type PatchShipmentItemByExternalReferenceCodeData = {
    body?: ShipmentItem;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipment-items/by-externalReferenceCode/{externalReferenceCode}';
};
export type PatchShipmentItemByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: ShipmentItem;
};
export type PatchShipmentItemByExternalReferenceCodeResponse = PatchShipmentItemByExternalReferenceCodeResponses[keyof PatchShipmentItemByExternalReferenceCodeResponses];
export type GetShipmentByExternalReferenceCodeItemsPageData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: {
        page?: string;
        pageSize?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/by-externalReferenceCode/{externalReferenceCode}/items';
};
export type GetShipmentByExternalReferenceCodeItemsPageResponses = {
    /**
     * default response
     */
    default: PageShipmentItem;
};
export type GetShipmentByExternalReferenceCodeItemsPageResponse = GetShipmentByExternalReferenceCodeItemsPageResponses[keyof GetShipmentByExternalReferenceCodeItemsPageResponses];
export type PostShipmentItemByExternalReferenceCodeData = {
    body?: ShipmentItem;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/by-externalReferenceCode/{externalReferenceCode}/items';
};
export type PostShipmentItemByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: ShipmentItem;
};
export type PostShipmentItemByExternalReferenceCodeResponse = PostShipmentItemByExternalReferenceCodeResponses[keyof PostShipmentItemByExternalReferenceCodeResponses];
export type PutShipmentByExternalReferenceCodeItemData = {
    body?: ShipmentItem;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/by-externalReferenceCode/{externalReferenceCode}/items';
};
export type PutShipmentByExternalReferenceCodeItemResponses = {
    /**
     * default response
     */
    default: ShipmentItem;
};
export type PutShipmentByExternalReferenceCodeItemResponse = PutShipmentByExternalReferenceCodeItemResponses[keyof PutShipmentByExternalReferenceCodeItemResponses];
export type GetShipmentItemsPageData = {
    body?: never;
    path: {
        shipmentId: string;
    };
    query?: {
        page?: string;
        pageSize?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/{shipmentId}/items';
};
export type GetShipmentItemsPageResponses = {
    /**
     * default response
     */
    default: PageShipmentItem;
};
export type GetShipmentItemsPageResponse = GetShipmentItemsPageResponses[keyof GetShipmentItemsPageResponses];
export type PostShipmentItemData = {
    body?: ShipmentItem;
    path: {
        shipmentId: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/{shipmentId}/items';
};
export type PostShipmentItemResponses = {
    /**
     * default response
     */
    default: ShipmentItem;
};
export type PostShipmentItemResponse = PostShipmentItemResponses[keyof PostShipmentItemResponses];
export type DeleteShipmentData = {
    body?: never;
    path: {
        shipmentId: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/{shipmentId}';
};
export type DeleteShipmentResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetShipmentData = {
    body?: never;
    path: {
        shipmentId: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/{shipmentId}';
};
export type GetShipmentResponses = {
    /**
     * default response
     */
    default: Shipment;
};
export type GetShipmentResponse = GetShipmentResponses[keyof GetShipmentResponses];
export type PatchShipmentData = {
    body?: Shipment;
    path: {
        shipmentId: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/{shipmentId}';
};
export type PatchShipmentResponses = {
    /**
     * default response
     */
    default: Shipment;
};
export type PatchShipmentResponse = PatchShipmentResponses[keyof PatchShipmentResponses];
export type DeleteShipmentBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/batch';
};
export type DeleteShipmentBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type PostShipmentBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/batch';
};
export type PostShipmentBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeleteShipmentByExternalReferenceCodeData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/by-externalReferenceCode/{externalReferenceCode}';
};
export type DeleteShipmentByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetShipmentByExternalReferenceCodeData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/by-externalReferenceCode/{externalReferenceCode}';
};
export type GetShipmentByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: Shipment;
};
export type GetShipmentByExternalReferenceCodeResponse = GetShipmentByExternalReferenceCodeResponses[keyof GetShipmentByExternalReferenceCodeResponses];
export type PatchShipmentByExternalReferenceCodeData = {
    body?: Shipment;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/by-externalReferenceCode/{externalReferenceCode}';
};
export type PatchShipmentByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: Shipment;
};
export type PatchShipmentByExternalReferenceCodeResponse = PatchShipmentByExternalReferenceCodeResponses[keyof PatchShipmentByExternalReferenceCodeResponses];
export type PutShipmentByExternalReferenceCodeData = {
    body?: Shipment;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/by-externalReferenceCode/{externalReferenceCode}';
};
export type PutShipmentByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: Shipment;
};
export type PutShipmentByExternalReferenceCodeResponse = PutShipmentByExternalReferenceCodeResponses[keyof PutShipmentByExternalReferenceCodeResponses];
export type GetShipmentsPageData = {
    body?: never;
    path?: never;
    query?: {
        filter?: string;
        page?: string;
        pageSize?: string;
        search?: string;
        sort?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments';
};
export type GetShipmentsPageResponses = {
    /**
     * default response
     */
    default: PageShipment;
};
export type GetShipmentsPageResponse = GetShipmentsPageResponses[keyof GetShipmentsPageResponses];
export type PostShipmentData = {
    body?: Shipment;
    path?: never;
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments';
};
export type PostShipmentResponses = {
    /**
     * default response
     */
    default: Shipment;
};
export type PostShipmentResponse = PostShipmentResponses[keyof PostShipmentResponses];
export type PostShipmentByExternalReferenceCodeStatusDeliveredData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/by-externalReferenceCode/{externalReferenceCode}/status-delivered';
};
export type PostShipmentByExternalReferenceCodeStatusDeliveredResponses = {
    /**
     * default response
     */
    default: Shipment;
};
export type PostShipmentByExternalReferenceCodeStatusDeliveredResponse = PostShipmentByExternalReferenceCodeStatusDeliveredResponses[keyof PostShipmentByExternalReferenceCodeStatusDeliveredResponses];
export type PostShipmentByExternalReferenceCodeStatusFinishProcessingData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/by-externalReferenceCode/{externalReferenceCode}/status-finish-processing';
};
export type PostShipmentByExternalReferenceCodeStatusFinishProcessingResponses = {
    /**
     * default response
     */
    default: Shipment;
};
export type PostShipmentByExternalReferenceCodeStatusFinishProcessingResponse = PostShipmentByExternalReferenceCodeStatusFinishProcessingResponses[keyof PostShipmentByExternalReferenceCodeStatusFinishProcessingResponses];
export type PostShipmentByExternalReferenceCodeStatusShippedData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/by-externalReferenceCode/{externalReferenceCode}/status-shipped';
};
export type PostShipmentByExternalReferenceCodeStatusShippedResponses = {
    /**
     * default response
     */
    default: Shipment;
};
export type PostShipmentByExternalReferenceCodeStatusShippedResponse = PostShipmentByExternalReferenceCodeStatusShippedResponses[keyof PostShipmentByExternalReferenceCodeStatusShippedResponses];
export type PostShipmentStatusDeliveredData = {
    body?: never;
    path: {
        shipmentId: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/{shipmentId}/status-delivered';
};
export type PostShipmentStatusDeliveredResponses = {
    /**
     * default response
     */
    default: Shipment;
};
export type PostShipmentStatusDeliveredResponse = PostShipmentStatusDeliveredResponses[keyof PostShipmentStatusDeliveredResponses];
export type PostShipmentStatusFinishProcessingData = {
    body?: never;
    path: {
        shipmentId: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/{shipmentId}/status-finish-processing';
};
export type PostShipmentStatusFinishProcessingResponses = {
    /**
     * default response
     */
    default: Shipment;
};
export type PostShipmentStatusFinishProcessingResponse = PostShipmentStatusFinishProcessingResponses[keyof PostShipmentStatusFinishProcessingResponses];
export type PostShipmentStatusShippedData = {
    body?: never;
    path: {
        shipmentId: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/{shipmentId}/status-shipped';
};
export type PostShipmentStatusShippedResponses = {
    /**
     * default response
     */
    default: Shipment;
};
export type PostShipmentStatusShippedResponse = PostShipmentStatusShippedResponses[keyof PostShipmentStatusShippedResponses];
export type PostShipmentsPageExportBatchData = {
    body?: never;
    path?: never;
    query?: {
        filter?: string;
        search?: string;
        sort?: string;
        callbackURL?: string;
        contentType?: string;
        fieldNames?: string;
    };
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/export-batch';
};
export type PostShipmentsPageExportBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetShipmentByExternalReferenceCodeShippingAddressData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/by-externalReferenceCode/{externalReferenceCode}/shipping-address';
};
export type GetShipmentByExternalReferenceCodeShippingAddressResponses = {
    /**
     * default response
     */
    default: ShippingAddress;
};
export type GetShipmentByExternalReferenceCodeShippingAddressResponse = GetShipmentByExternalReferenceCodeShippingAddressResponses[keyof GetShipmentByExternalReferenceCodeShippingAddressResponses];
export type PatchShipmentByExternalReferenceCodeShippingAddressData = {
    body?: ShippingAddress;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/by-externalReferenceCode/{externalReferenceCode}/shipping-address';
};
export type PatchShipmentByExternalReferenceCodeShippingAddressResponses = {
    /**
     * default response
     */
    default: ShippingAddress;
};
export type PatchShipmentByExternalReferenceCodeShippingAddressResponse = PatchShipmentByExternalReferenceCodeShippingAddressResponses[keyof PatchShipmentByExternalReferenceCodeShippingAddressResponses];
export type GetShipmentShippingAddressData = {
    body?: never;
    path: {
        shipmentId: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/{shipmentId}/shipping-address';
};
export type GetShipmentShippingAddressResponses = {
    /**
     * default response
     */
    default: ShippingAddress;
};
export type GetShipmentShippingAddressResponse = GetShipmentShippingAddressResponses[keyof GetShipmentShippingAddressResponses];
export type PatchShipmentShippingAddressData = {
    body?: ShippingAddress;
    path: {
        shipmentId: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-shipment/v1.0/shipments/{shipmentId}/shipping-address';
};
export type PatchShipmentShippingAddressResponses = {
    /**
     * default response
     */
    default: ShippingAddress;
};
export type PatchShipmentShippingAddressResponse = PatchShipmentShippingAddressResponses[keyof PatchShipmentShippingAddressResponses];
export type ClientOptions = {
    baseUrl: 'http://localhost:8080' | (string & {});
};
