export type DiscountAccountGroup = {
    accountGroupExternalReferenceCode?: string;
    accountGroupId?: number;
    discountExternalReferenceCode?: string;
    discountId?: number;
    readonly id?: number;
    readonly 'x-class-name'?: string;
};
export type Facet = {
    facetCriteria?: string;
    facetValues?: Array<FacetValue>;
};
export type FacetValue = {
    numberOfOccurrences?: number;
    term?: string;
};
export type PageDiscountAccountGroup = {
    items?: Array<DiscountAccountGroup>;
    lastPage?: number;
    totalCount?: number;
    actions?: {
        [key: string]: {
            [key: string]: string;
        };
    };
    page?: number;
    facets?: Array<Facet>;
    pageSize?: number;
};
export type DiscountCategory = {
    categoryExternalReferenceCode?: string;
    categoryId?: number;
    discountExternalReferenceCode?: string;
    discountId?: number;
    readonly id?: number;
    readonly 'x-class-name'?: string;
};
export type PageDiscountCategory = {
    items?: Array<DiscountCategory>;
    lastPage?: number;
    totalCount?: number;
    actions?: {
        [key: string]: {
            [key: string]: string;
        };
    };
    page?: number;
    facets?: Array<Facet>;
    pageSize?: number;
};
export type DiscountProduct = {
    discountExternalReferenceCode?: string;
    discountId?: number;
    readonly id?: number;
    productExternalReferenceCode?: string;
    productId?: number;
    readonly 'x-class-name'?: string;
};
export type PageDiscountProduct = {
    items?: Array<DiscountProduct>;
    lastPage?: number;
    totalCount?: number;
    actions?: {
        [key: string]: {
            [key: string]: string;
        };
    };
    page?: number;
    facets?: Array<Facet>;
    pageSize?: number;
};
export type Discount = {
    active?: boolean;
    couponCode?: string;
    customFields?: {
        [key: string]: {
            [key: string]: unknown;
        };
    };
    discountAccountGroups?: Array<DiscountAccountGroup>;
    discountCategories?: Array<DiscountCategory>;
    discountProducts?: Array<DiscountProduct>;
    discountRules?: Array<DiscountRule>;
    displayDate?: string;
    expirationDate?: string;
    externalReferenceCode?: string;
    id?: number;
    limitationTimes?: number;
    limitationType: string;
    maximumDiscountAmount?: number;
    neverExpire?: boolean;
    numberOfUse?: number;
    percentageLevel1?: number;
    percentageLevel2?: number;
    percentageLevel3?: number;
    percentageLevel4?: number;
    target: string;
    title: string;
    useCouponCode?: boolean;
    usePercentage?: boolean;
    readonly 'x-class-name'?: string;
};
export type DiscountRule = {
    readonly discountId?: number;
    readonly id?: number;
    type: string;
    typeSettings?: string;
    readonly 'x-class-name'?: string;
};
export type PageDiscount = {
    items?: Array<Discount>;
    lastPage?: number;
    totalCount?: number;
    actions?: {
        [key: string]: {
            [key: string]: string;
        };
    };
    page?: number;
    facets?: Array<Facet>;
    pageSize?: number;
};
export type PageDiscountRule = {
    items?: Array<DiscountRule>;
    lastPage?: number;
    totalCount?: number;
    actions?: {
        [key: string]: {
            [key: string]: string;
        };
    };
    page?: number;
    facets?: Array<Facet>;
    pageSize?: number;
};
export type PriceEntry = {
    customFields?: {
        [key: string]: {
            [key: string]: unknown;
        };
    };
    externalReferenceCode?: string;
    hasTierPrice?: boolean;
    id?: number;
    price: number;
    priceListExternalReferenceCode?: string;
    priceListId?: number;
    promoPrice?: number;
    sku?: string;
    skuExternalReferenceCode?: string;
    skuId?: number;
    tierPrices?: Array<TierPrice>;
    readonly 'x-class-name'?: string;
};
export type TierPrice = {
    customFields?: {
        [key: string]: {
            [key: string]: unknown;
        };
    };
    externalReferenceCode?: string;
    id?: number;
    minimumQuantity?: number;
    price?: number;
    priceEntryExternalReferenceCode?: string;
    priceEntryId?: number;
    promoPrice?: number;
    readonly 'x-class-name'?: string;
};
export type PagePriceEntry = {
    items?: Array<PriceEntry>;
    lastPage?: number;
    totalCount?: number;
    actions?: {
        [key: string]: {
            [key: string]: string;
        };
    };
    page?: number;
    facets?: Array<Facet>;
    pageSize?: number;
};
export type PagePriceListAccountGroup = {
    items?: Array<PriceListAccountGroup>;
    lastPage?: number;
    totalCount?: number;
    actions?: {
        [key: string]: {
            [key: string]: string;
        };
    };
    page?: number;
    facets?: Array<Facet>;
    pageSize?: number;
};
export type PriceListAccountGroup = {
    accountGroupExternalReferenceCode?: string;
    accountGroupId?: number;
    readonly id?: number;
    order?: number;
    priceListExternalReferenceCode?: string;
    priceListId?: number;
    readonly 'x-class-name'?: string;
};
export type PriceList = {
    active?: boolean;
    catalogId?: number;
    currencyCode: string;
    customFields?: {
        [key: string]: {
            [key: string]: unknown;
        };
    };
    displayDate?: string;
    expirationDate?: string;
    externalReferenceCode?: string;
    id?: number;
    name: string;
    neverExpire?: boolean;
    priceEntries?: Array<PriceEntry>;
    priceListAccountGroups?: Array<PriceListAccountGroup>;
    priority?: number;
    readonly 'x-class-name'?: string;
};
export type PagePriceList = {
    items?: Array<PriceList>;
    lastPage?: number;
    totalCount?: number;
    actions?: {
        [key: string]: {
            [key: string]: string;
        };
    };
    page?: number;
    facets?: Array<Facet>;
    pageSize?: number;
};
export type PageTierPrice = {
    items?: Array<TierPrice>;
    lastPage?: number;
    totalCount?: number;
    actions?: {
        [key: string]: {
            [key: string]: string;
        };
    };
    page?: number;
    facets?: Array<Facet>;
    pageSize?: number;
};
export type DeleteDiscountAccountGroupData = {
    body?: never;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discountAccountGroups/{id}';
};
export type DeleteDiscountAccountGroupResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeleteDiscountAccountGroupBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discountAccountGroups/batch';
};
export type DeleteDiscountAccountGroupBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetDiscountByExternalReferenceCodeDiscountAccountGroupsPageData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: {
        page?: string;
        pageSize?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discountAccountGroups';
};
export type GetDiscountByExternalReferenceCodeDiscountAccountGroupsPageResponses = {
    /**
     * default response
     */
    default: PageDiscountAccountGroup;
};
export type GetDiscountByExternalReferenceCodeDiscountAccountGroupsPageResponse = GetDiscountByExternalReferenceCodeDiscountAccountGroupsPageResponses[keyof GetDiscountByExternalReferenceCodeDiscountAccountGroupsPageResponses];
export type PostDiscountByExternalReferenceCodeDiscountAccountGroupData = {
    body?: DiscountAccountGroup;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discountAccountGroups';
};
export type PostDiscountByExternalReferenceCodeDiscountAccountGroupResponses = {
    /**
     * default response
     */
    default: DiscountAccountGroup;
};
export type PostDiscountByExternalReferenceCodeDiscountAccountGroupResponse = PostDiscountByExternalReferenceCodeDiscountAccountGroupResponses[keyof PostDiscountByExternalReferenceCodeDiscountAccountGroupResponses];
export type GetDiscountIdDiscountAccountGroupsPageData = {
    body?: never;
    path: {
        id: string;
    };
    query?: {
        page?: string;
        pageSize?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/{id}/discountAccountGroups';
};
export type GetDiscountIdDiscountAccountGroupsPageResponses = {
    /**
     * default response
     */
    default: PageDiscountAccountGroup;
};
export type GetDiscountIdDiscountAccountGroupsPageResponse = GetDiscountIdDiscountAccountGroupsPageResponses[keyof GetDiscountIdDiscountAccountGroupsPageResponses];
export type PostDiscountIdDiscountAccountGroupData = {
    body?: DiscountAccountGroup;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/{id}/discountAccountGroups';
};
export type PostDiscountIdDiscountAccountGroupResponses = {
    /**
     * default response
     */
    default: DiscountAccountGroup;
};
export type PostDiscountIdDiscountAccountGroupResponse = PostDiscountIdDiscountAccountGroupResponses[keyof PostDiscountIdDiscountAccountGroupResponses];
export type PostDiscountIdDiscountAccountGroupBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/discountAccountGroups/batch';
};
export type PostDiscountIdDiscountAccountGroupBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeleteDiscountCategoryData = {
    body?: never;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discountCategories/{id}';
};
export type DeleteDiscountCategoryResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeleteDiscountCategoryBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discountCategories/batch';
};
export type DeleteDiscountCategoryBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetDiscountByExternalReferenceCodeDiscountCategoriesPageData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: {
        page?: string;
        pageSize?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discountCategories';
};
export type GetDiscountByExternalReferenceCodeDiscountCategoriesPageResponses = {
    /**
     * default response
     */
    default: PageDiscountCategory;
};
export type GetDiscountByExternalReferenceCodeDiscountCategoriesPageResponse = GetDiscountByExternalReferenceCodeDiscountCategoriesPageResponses[keyof GetDiscountByExternalReferenceCodeDiscountCategoriesPageResponses];
export type PostDiscountByExternalReferenceCodeDiscountCategoryData = {
    body?: DiscountCategory;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discountCategories';
};
export type PostDiscountByExternalReferenceCodeDiscountCategoryResponses = {
    /**
     * default response
     */
    default: DiscountCategory;
};
export type PostDiscountByExternalReferenceCodeDiscountCategoryResponse = PostDiscountByExternalReferenceCodeDiscountCategoryResponses[keyof PostDiscountByExternalReferenceCodeDiscountCategoryResponses];
export type GetDiscountIdDiscountCategoriesPageData = {
    body?: never;
    path: {
        id: string;
    };
    query?: {
        page?: string;
        pageSize?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/{id}/discountCategories';
};
export type GetDiscountIdDiscountCategoriesPageResponses = {
    /**
     * default response
     */
    default: PageDiscountCategory;
};
export type GetDiscountIdDiscountCategoriesPageResponse = GetDiscountIdDiscountCategoriesPageResponses[keyof GetDiscountIdDiscountCategoriesPageResponses];
export type PostDiscountIdDiscountCategoryData = {
    body?: DiscountCategory;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/{id}/discountCategories';
};
export type PostDiscountIdDiscountCategoryResponses = {
    /**
     * default response
     */
    default: DiscountCategory;
};
export type PostDiscountIdDiscountCategoryResponse = PostDiscountIdDiscountCategoryResponses[keyof PostDiscountIdDiscountCategoryResponses];
export type PostDiscountIdDiscountCategoryBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/discountCategories/batch';
};
export type PostDiscountIdDiscountCategoryBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeleteDiscountProductData = {
    body?: never;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discountProducts/{id}';
};
export type DeleteDiscountProductResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeleteDiscountProductBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discountProducts/batch';
};
export type DeleteDiscountProductBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetDiscountByExternalReferenceCodeDiscountProductsPageData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: {
        page?: string;
        pageSize?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discountProducts';
};
export type GetDiscountByExternalReferenceCodeDiscountProductsPageResponses = {
    /**
     * default response
     */
    default: PageDiscountProduct;
};
export type GetDiscountByExternalReferenceCodeDiscountProductsPageResponse = GetDiscountByExternalReferenceCodeDiscountProductsPageResponses[keyof GetDiscountByExternalReferenceCodeDiscountProductsPageResponses];
export type PostDiscountByExternalReferenceCodeDiscountProductData = {
    body?: DiscountProduct;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/by-externalReferenceCode/{externalReferenceCode}/discountProducts';
};
export type PostDiscountByExternalReferenceCodeDiscountProductResponses = {
    /**
     * default response
     */
    default: DiscountProduct;
};
export type PostDiscountByExternalReferenceCodeDiscountProductResponse = PostDiscountByExternalReferenceCodeDiscountProductResponses[keyof PostDiscountByExternalReferenceCodeDiscountProductResponses];
export type GetDiscountIdDiscountProductsPageData = {
    body?: never;
    path: {
        id: string;
    };
    query?: {
        page?: string;
        pageSize?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/{id}/discountProducts';
};
export type GetDiscountIdDiscountProductsPageResponses = {
    /**
     * default response
     */
    default: PageDiscountProduct;
};
export type GetDiscountIdDiscountProductsPageResponse = GetDiscountIdDiscountProductsPageResponses[keyof GetDiscountIdDiscountProductsPageResponses];
export type PostDiscountIdDiscountProductData = {
    body?: DiscountProduct;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/{id}/discountProducts';
};
export type PostDiscountIdDiscountProductResponses = {
    /**
     * default response
     */
    default: DiscountProduct;
};
export type PostDiscountIdDiscountProductResponse = PostDiscountIdDiscountProductResponses[keyof PostDiscountIdDiscountProductResponses];
export type PostDiscountIdDiscountProductBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/discountProducts/batch';
};
export type PostDiscountIdDiscountProductBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeleteDiscountData = {
    body?: never;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/{id}';
};
export type DeleteDiscountResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetDiscountData = {
    body?: never;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/{id}';
};
export type GetDiscountResponses = {
    /**
     * default response
     */
    default: Discount;
};
export type GetDiscountResponse = GetDiscountResponses[keyof GetDiscountResponses];
export type PatchDiscountData = {
    body?: Discount;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/{id}';
};
export type PatchDiscountResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeleteDiscountBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/batch';
};
export type DeleteDiscountBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type PostDiscountBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/batch';
};
export type PostDiscountBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeleteDiscountByExternalReferenceCodeData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/by-externalReferenceCode/{externalReferenceCode}';
};
export type DeleteDiscountByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetDiscountByExternalReferenceCodeData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/by-externalReferenceCode/{externalReferenceCode}';
};
export type GetDiscountByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: Discount;
};
export type GetDiscountByExternalReferenceCodeResponse = GetDiscountByExternalReferenceCodeResponses[keyof GetDiscountByExternalReferenceCodeResponses];
export type PatchDiscountByExternalReferenceCodeData = {
    body?: Discount;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/by-externalReferenceCode/{externalReferenceCode}';
};
export type PatchDiscountByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type PutDiscountByExternalReferenceCodeData = {
    body?: Discount;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/by-externalReferenceCode/{externalReferenceCode}';
};
export type PutDiscountByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: Discount;
};
export type PutDiscountByExternalReferenceCodeResponse = PutDiscountByExternalReferenceCodeResponses[keyof PutDiscountByExternalReferenceCodeResponses];
export type GetDiscountsPageData = {
    body?: never;
    path?: never;
    query?: {
        page?: string;
        pageSize?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts';
};
export type GetDiscountsPageResponses = {
    /**
     * default response
     */
    default: PageDiscount;
};
export type GetDiscountsPageResponse = GetDiscountsPageResponses[keyof GetDiscountsPageResponses];
export type PostDiscountData = {
    body?: Discount;
    path?: never;
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts';
};
export type PostDiscountResponses = {
    /**
     * default response
     */
    default: Discount;
};
export type PostDiscountResponse = PostDiscountResponses[keyof PostDiscountResponses];
export type PostDiscountsPageExportBatchData = {
    body?: never;
    path?: never;
    query?: {
        callbackURL?: string;
        contentType?: string;
        fieldNames?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/export-batch';
};
export type PostDiscountsPageExportBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeleteDiscountRuleData = {
    body?: never;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discountRules/{id}';
};
export type DeleteDiscountRuleResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetDiscountRuleData = {
    body?: never;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discountRules/{id}';
};
export type GetDiscountRuleResponses = {
    /**
     * default response
     */
    default: DiscountRule;
};
export type GetDiscountRuleResponse = GetDiscountRuleResponses[keyof GetDiscountRuleResponses];
export type PatchDiscountRuleData = {
    body?: DiscountRule;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discountRules/{id}';
};
export type PatchDiscountRuleResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeleteDiscountRuleBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discountRules/batch';
};
export type DeleteDiscountRuleBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetDiscountByExternalReferenceCodeDiscountRulesPageData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: {
        page?: string;
        pageSize?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discount/by-externalReferenceCode/{externalReferenceCode}/discountRules';
};
export type GetDiscountByExternalReferenceCodeDiscountRulesPageResponses = {
    /**
     * default response
     */
    default: PageDiscountRule;
};
export type GetDiscountByExternalReferenceCodeDiscountRulesPageResponse = GetDiscountByExternalReferenceCodeDiscountRulesPageResponses[keyof GetDiscountByExternalReferenceCodeDiscountRulesPageResponses];
export type PostDiscountByExternalReferenceCodeDiscountRuleData = {
    body?: DiscountRule;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discount/by-externalReferenceCode/{externalReferenceCode}/discountRules';
};
export type PostDiscountByExternalReferenceCodeDiscountRuleResponses = {
    /**
     * default response
     */
    default: DiscountRule;
};
export type PostDiscountByExternalReferenceCodeDiscountRuleResponse = PostDiscountByExternalReferenceCodeDiscountRuleResponses[keyof PostDiscountByExternalReferenceCodeDiscountRuleResponses];
export type GetDiscountIdDiscountRulesPageData = {
    body?: never;
    path: {
        id: string;
    };
    query?: {
        page?: string;
        pageSize?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/{id}/discountRules';
};
export type GetDiscountIdDiscountRulesPageResponses = {
    /**
     * default response
     */
    default: PageDiscountRule;
};
export type GetDiscountIdDiscountRulesPageResponse = GetDiscountIdDiscountRulesPageResponses[keyof GetDiscountIdDiscountRulesPageResponses];
export type PostDiscountIdDiscountRuleData = {
    body?: DiscountRule;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/{id}/discountRules';
};
export type PostDiscountIdDiscountRuleResponses = {
    /**
     * default response
     */
    default: DiscountRule;
};
export type PostDiscountIdDiscountRuleResponse = PostDiscountIdDiscountRuleResponses[keyof PostDiscountIdDiscountRuleResponses];
export type PostDiscountIdDiscountRuleBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/discounts/discountRules/batch';
};
export type PostDiscountIdDiscountRuleBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeletePriceEntryData = {
    body?: never;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceEntries/{id}';
};
export type DeletePriceEntryResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetPriceEntryData = {
    body?: never;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceEntries/{id}';
};
export type GetPriceEntryResponses = {
    /**
     * default response
     */
    default: PriceEntry;
};
export type GetPriceEntryResponse = GetPriceEntryResponses[keyof GetPriceEntryResponses];
export type PatchPriceEntryData = {
    body?: PriceEntry;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceEntries/{id}';
};
export type PatchPriceEntryResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeletePriceEntryBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/priceEntries/batch';
};
export type DeletePriceEntryBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeletePriceEntryByExternalReferenceCodeData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceEntries/by-externalReferenceCode/{externalReferenceCode}';
};
export type DeletePriceEntryByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetPriceEntryByExternalReferenceCodeData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceEntries/by-externalReferenceCode/{externalReferenceCode}';
};
export type GetPriceEntryByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: PriceEntry;
};
export type GetPriceEntryByExternalReferenceCodeResponse = GetPriceEntryByExternalReferenceCodeResponses[keyof GetPriceEntryByExternalReferenceCodeResponses];
export type PatchPriceEntryByExternalReferenceCodeData = {
    body?: PriceEntry;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceEntries/by-externalReferenceCode/{externalReferenceCode}';
};
export type PatchPriceEntryByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetPriceListByExternalReferenceCodePriceEntriesPageData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: {
        page?: string;
        pageSize?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/by-externalReferenceCode/{externalReferenceCode}/priceEntries';
};
export type GetPriceListByExternalReferenceCodePriceEntriesPageResponses = {
    /**
     * default response
     */
    default: PagePriceEntry;
};
export type GetPriceListByExternalReferenceCodePriceEntriesPageResponse = GetPriceListByExternalReferenceCodePriceEntriesPageResponses[keyof GetPriceListByExternalReferenceCodePriceEntriesPageResponses];
export type PostPriceListByExternalReferenceCodePriceEntryData = {
    body?: PriceEntry;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/by-externalReferenceCode/{externalReferenceCode}/priceEntries';
};
export type PostPriceListByExternalReferenceCodePriceEntryResponses = {
    /**
     * default response
     */
    default: PriceEntry;
};
export type PostPriceListByExternalReferenceCodePriceEntryResponse = PostPriceListByExternalReferenceCodePriceEntryResponses[keyof PostPriceListByExternalReferenceCodePriceEntryResponses];
export type GetPriceListIdPriceEntriesPageData = {
    body?: never;
    path: {
        id: string;
    };
    query?: {
        page?: string;
        pageSize?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/{id}/priceEntries';
};
export type GetPriceListIdPriceEntriesPageResponses = {
    /**
     * default response
     */
    default: PagePriceEntry;
};
export type GetPriceListIdPriceEntriesPageResponse = GetPriceListIdPriceEntriesPageResponses[keyof GetPriceListIdPriceEntriesPageResponses];
export type PostPriceListIdPriceEntryData = {
    body?: PriceEntry;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/{id}/priceEntries';
};
export type PostPriceListIdPriceEntryResponses = {
    /**
     * default response
     */
    default: PriceEntry;
};
export type PostPriceListIdPriceEntryResponse = PostPriceListIdPriceEntryResponses[keyof PostPriceListIdPriceEntryResponses];
export type PostPriceListIdPriceEntryBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/priceEntries/batch';
};
export type PostPriceListIdPriceEntryBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeletePriceListAccountGroupData = {
    body?: never;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceListAccountGroups/{id}';
};
export type DeletePriceListAccountGroupResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeletePriceListAccountGroupBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/priceListAccountGroups/batch';
};
export type DeletePriceListAccountGroupBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetPriceListByExternalReferenceCodePriceListAccountGroupPageData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: {
        page?: string;
        pageSize?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/by-externalReferenceCode/{externalReferenceCode}/priceListAccountGroup';
};
export type GetPriceListByExternalReferenceCodePriceListAccountGroupPageResponses = {
    /**
     * default response
     */
    default: PagePriceListAccountGroup;
};
export type GetPriceListByExternalReferenceCodePriceListAccountGroupPageResponse = GetPriceListByExternalReferenceCodePriceListAccountGroupPageResponses[keyof GetPriceListByExternalReferenceCodePriceListAccountGroupPageResponses];
export type PostPriceListByExternalReferenceCodePriceListAccountGroupData = {
    body?: PriceListAccountGroup;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/by-externalReferenceCode/{externalReferenceCode}/priceListAccountGroup';
};
export type PostPriceListByExternalReferenceCodePriceListAccountGroupResponses = {
    /**
     * default response
     */
    default: PriceListAccountGroup;
};
export type PostPriceListByExternalReferenceCodePriceListAccountGroupResponse = PostPriceListByExternalReferenceCodePriceListAccountGroupResponses[keyof PostPriceListByExternalReferenceCodePriceListAccountGroupResponses];
export type GetPriceListIdPriceListAccountGroupsPageData = {
    body?: never;
    path: {
        id: string;
    };
    query?: {
        page?: string;
        pageSize?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/{id}/priceListAccountGroups';
};
export type GetPriceListIdPriceListAccountGroupsPageResponses = {
    /**
     * default response
     */
    default: PagePriceListAccountGroup;
};
export type GetPriceListIdPriceListAccountGroupsPageResponse = GetPriceListIdPriceListAccountGroupsPageResponses[keyof GetPriceListIdPriceListAccountGroupsPageResponses];
export type PostPriceListIdPriceListAccountGroupData = {
    body?: PriceListAccountGroup;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/{id}/priceListAccountGroups';
};
export type PostPriceListIdPriceListAccountGroupResponses = {
    /**
     * default response
     */
    default: PriceListAccountGroup;
};
export type PostPriceListIdPriceListAccountGroupResponse = PostPriceListIdPriceListAccountGroupResponses[keyof PostPriceListIdPriceListAccountGroupResponses];
export type PostPriceListIdPriceListAccountGroupBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/priceListAccountGroups/batch';
};
export type PostPriceListIdPriceListAccountGroupBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeletePriceListData = {
    body?: never;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/{id}';
};
export type DeletePriceListResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetPriceListData = {
    body?: never;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/{id}';
};
export type GetPriceListResponses = {
    /**
     * default response
     */
    default: PriceList;
};
export type GetPriceListResponse = GetPriceListResponses[keyof GetPriceListResponses];
export type PatchPriceListData = {
    body?: PriceList;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/{id}';
};
export type PatchPriceListResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeletePriceListBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/batch';
};
export type DeletePriceListBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type PostPriceListBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/batch';
};
export type PostPriceListBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeletePriceListByExternalReferenceCodeData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/by-externalReferenceCode/{externalReferenceCode}';
};
export type DeletePriceListByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetPriceListByExternalReferenceCodeData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/by-externalReferenceCode/{externalReferenceCode}';
};
export type GetPriceListByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: PriceList;
};
export type GetPriceListByExternalReferenceCodeResponse = GetPriceListByExternalReferenceCodeResponses[keyof GetPriceListByExternalReferenceCodeResponses];
export type PatchPriceListByExternalReferenceCodeData = {
    body?: PriceList;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/by-externalReferenceCode/{externalReferenceCode}';
};
export type PatchPriceListByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type PutPriceListByExternalReferenceCodeData = {
    body?: PriceList;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/by-externalReferenceCode/{externalReferenceCode}';
};
export type PutPriceListByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: PriceList;
};
export type PutPriceListByExternalReferenceCodeResponse = PutPriceListByExternalReferenceCodeResponses[keyof PutPriceListByExternalReferenceCodeResponses];
export type GetPriceListsPageData = {
    body?: never;
    path?: never;
    query?: {
        filter?: string;
        page?: string;
        pageSize?: string;
        sort?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists';
};
export type GetPriceListsPageResponses = {
    /**
     * default response
     */
    default: PagePriceList;
};
export type GetPriceListsPageResponse = GetPriceListsPageResponses[keyof GetPriceListsPageResponses];
export type PostPriceListData = {
    body?: PriceList;
    path?: never;
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists';
};
export type PostPriceListResponses = {
    /**
     * default response
     */
    default: PriceList;
};
export type PostPriceListResponse = PostPriceListResponses[keyof PostPriceListResponses];
export type PostPriceListsPageExportBatchData = {
    body?: never;
    path?: never;
    query?: {
        filter?: string;
        sort?: string;
        callbackURL?: string;
        contentType?: string;
        fieldNames?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/priceLists/export-batch';
};
export type PostPriceListsPageExportBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeleteTierPriceData = {
    body?: never;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/tierPrices/{id}';
};
export type DeleteTierPriceResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetTierPriceData = {
    body?: never;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/tierPrices/{id}';
};
export type GetTierPriceResponses = {
    /**
     * default response
     */
    default: TierPrice;
};
export type GetTierPriceResponse = GetTierPriceResponses[keyof GetTierPriceResponses];
export type PatchTierPriceData = {
    body?: TierPrice;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/tierPrices/{id}';
};
export type PatchTierPriceResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeleteTierPriceBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/tierPrices/batch';
};
export type DeleteTierPriceBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type DeleteTierPriceByExternalReferenceCodeData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/tierPrices/by-externalReferenceCode/{externalReferenceCode}';
};
export type DeleteTierPriceByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetTierPriceByExternalReferenceCodeData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/tierPrices/by-externalReferenceCode/{externalReferenceCode}';
};
export type GetTierPriceByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: TierPrice;
};
export type GetTierPriceByExternalReferenceCodeResponse = GetTierPriceByExternalReferenceCodeResponses[keyof GetTierPriceByExternalReferenceCodeResponses];
export type PatchTierPriceByExternalReferenceCodeData = {
    body?: TierPrice;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/tierPrices/by-externalReferenceCode/{externalReferenceCode}';
};
export type PatchTierPriceByExternalReferenceCodeResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type GetPriceEntryByExternalReferenceCodeTierPricesPageData = {
    body?: never;
    path: {
        externalReferenceCode: string;
    };
    query?: {
        page?: string;
        pageSize?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/priceEntries/by-externalReferenceCode/{externalReferenceCode}/tierPrices';
};
export type GetPriceEntryByExternalReferenceCodeTierPricesPageResponses = {
    /**
     * default response
     */
    default: PageTierPrice;
};
export type GetPriceEntryByExternalReferenceCodeTierPricesPageResponse = GetPriceEntryByExternalReferenceCodeTierPricesPageResponses[keyof GetPriceEntryByExternalReferenceCodeTierPricesPageResponses];
export type PostPriceEntryByExternalReferenceCodeTierPriceData = {
    body?: TierPrice;
    path: {
        externalReferenceCode: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceEntries/by-externalReferenceCode/{externalReferenceCode}/tierPrices';
};
export type PostPriceEntryByExternalReferenceCodeTierPriceResponses = {
    /**
     * default response
     */
    default: TierPrice;
};
export type PostPriceEntryByExternalReferenceCodeTierPriceResponse = PostPriceEntryByExternalReferenceCodeTierPriceResponses[keyof PostPriceEntryByExternalReferenceCodeTierPriceResponses];
export type GetPriceEntryIdTierPricesPageData = {
    body?: never;
    path: {
        id: string;
    };
    query?: {
        page?: string;
        pageSize?: string;
        nestedFields?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/priceEntries/{id}/tierPrices';
};
export type GetPriceEntryIdTierPricesPageResponses = {
    /**
     * default response
     */
    default: PageTierPrice;
};
export type GetPriceEntryIdTierPricesPageResponse = GetPriceEntryIdTierPricesPageResponses[keyof GetPriceEntryIdTierPricesPageResponses];
export type PostPriceEntryIdTierPriceData = {
    body?: TierPrice;
    path: {
        id: string;
    };
    query?: never;
    url: '/o/headless-commerce-admin-pricing/v1.0/priceEntries/{id}/tierPrices';
};
export type PostPriceEntryIdTierPriceResponses = {
    /**
     * default response
     */
    default: TierPrice;
};
export type PostPriceEntryIdTierPriceResponse = PostPriceEntryIdTierPriceResponses[keyof PostPriceEntryIdTierPriceResponses];
export type PostPriceEntryIdTierPriceBatchData = {
    body?: {
        [key: string]: unknown;
    };
    path?: never;
    query?: {
        callbackURL?: string;
    };
    url: '/o/headless-commerce-admin-pricing/v1.0/priceEntries/tierPrices/batch';
};
export type PostPriceEntryIdTierPriceBatchResponses = {
    /**
     * default response
     */
    default: unknown;
};
export type ClientOptions = {
    baseUrl: 'http://localhost:8080' | (string & {});
};
