@ikas/api-client 1.0.39 → 1.0.40-alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,9 +18,7 @@ export declare type Scalars = {
18
18
  Boolean: boolean;
19
19
  Int: number;
20
20
  Float: number;
21
- /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
22
21
  JSON: any;
23
- /** The javascript `Date` as integer. Type represents date and time as number of milliseconds from start of UNIX epoch. */
24
22
  Timestamp: any;
25
23
  };
26
24
  export declare type AbandonedCartFlow = {
@@ -71,6 +69,13 @@ export declare type AddOrderInvoiceInput = {
71
69
  /** It is the type enum of the invoice. */
72
70
  type: InvoiceTypeEnum;
73
71
  };
72
+ export declare type AdditionalPrice = {
73
+ __typename?: 'AdditionalPrice';
74
+ amount: Scalars['Float'];
75
+ amountType: PaymentGatewayTransactionFeeTypeEnum;
76
+ name: Scalars['String'];
77
+ type: PaymentGatewayAdditionalPriceTypeEnum;
78
+ };
74
79
  /** Scope Enum for Apps */
75
80
  export declare enum AppScopeEnum {
76
81
  READ_CAMPAIGNS = "READ_CAMPAIGNS",
@@ -115,6 +120,10 @@ export declare type AvailableShippingMethod = {
115
120
  shippingSettingsId: Scalars['String'];
116
121
  shippingZoneRateId: Scalars['String'];
117
122
  };
123
+ export declare type BooleanFilterInput = {
124
+ /** `equal`. The filter used for equality. */
125
+ eq?: InputMaybe<Scalars['Boolean']>;
126
+ };
118
127
  export declare type Branch = {
119
128
  __typename?: 'Branch';
120
129
  address: BranchAddress;
@@ -408,6 +417,18 @@ export declare type BundleProductOrderLine = {
408
417
  /** Information about the variant of the order line item. */
409
418
  variant: OrderLineVariant;
410
419
  };
420
+ export declare type BundleProductOrderLineInput = {
421
+ /** It is the bundle product line id the bundle line item. */
422
+ bundleLineId: Scalars['String'];
423
+ /** It is the bundle product line id the bundle line item. */
424
+ bundleLineQuantity: Scalars['Float'];
425
+ /** It is the bundle product name the bundle line item. */
426
+ name?: InputMaybe<Scalars['String']>;
427
+ /** It is the options information in the bundle line item. */
428
+ options?: InputMaybe<Array<OrderLineOptionInput>>;
429
+ /** It is the variant information in the bundle line item. */
430
+ variant: OrderLineVariantInput;
431
+ };
411
432
  export declare type BundleSettingsInput = {
412
433
  maxBundleQuantity?: InputMaybe<Scalars['Float']>;
413
434
  minBundleQuantity?: InputMaybe<Scalars['Float']>;
@@ -427,11 +448,13 @@ export declare type BuyX = {
427
448
  amount: Scalars['Float'];
428
449
  applyByQuantity: Scalars['Boolean'];
429
450
  filter: CampaignFilter;
451
+ maxAmount?: Maybe<Scalars['Float']>;
430
452
  };
431
453
  export declare type BuyXInput = {
432
454
  amount: Scalars['Float'];
433
455
  applyByQuantity: Scalars['Boolean'];
434
456
  filter: CampaignFilterInput;
457
+ maxAmount?: InputMaybe<Scalars['Float']>;
435
458
  };
436
459
  export declare type BuyXThenGetY = {
437
460
  __typename?: 'BuyXThenGetY';
@@ -453,6 +476,8 @@ export declare type Campaign = {
453
476
  applyCampaignToProductPrice?: Maybe<Scalars['Boolean']>;
454
477
  buyXThenGetY?: Maybe<BuyXThenGetY>;
455
478
  canCombineWithOtherCampaigns: Scalars['Boolean'];
479
+ couponPrefix?: Maybe<Scalars['String']>;
480
+ couponValidityPeriod?: Maybe<Scalars['Float']>;
456
481
  createdAt?: Maybe<Scalars['Timestamp']>;
457
482
  createdFor?: Maybe<CampaignCreatedForEnum>;
458
483
  currencyCodes?: Maybe<Array<Scalars['String']>>;
@@ -473,6 +498,7 @@ export declare type Campaign = {
473
498
  usageCount: Scalars['Int'];
474
499
  usageLimit?: Maybe<Scalars['Int']>;
475
500
  usageLimitPerCustomer?: Maybe<Scalars['Int']>;
501
+ version?: Maybe<Scalars['Float']>;
476
502
  };
477
503
  export declare enum CampaignApplicablePriceEnum {
478
504
  DISCOUNT_PRICE = "DISCOUNT_PRICE",
@@ -481,7 +507,8 @@ export declare enum CampaignApplicablePriceEnum {
481
507
  export declare enum CampaignCreatedForEnum {
482
508
  ABANDONED_CHECKOUT = "ABANDONED_CHECKOUT",
483
509
  CART = "CART",
484
- CUSTOMER_REVIEW = "CUSTOMER_REVIEW"
510
+ CUSTOMER_REVIEW = "CUSTOMER_REVIEW",
511
+ MARKETING_CAMPAIGN = "MARKETING_CAMPAIGN"
485
512
  }
486
513
  export declare type CampaignDateRangeField = {
487
514
  __typename?: 'CampaignDateRangeField';
@@ -505,6 +532,7 @@ export declare enum CampaignFilterTypeEnum {
505
532
  CATEGORY = "CATEGORY",
506
533
  DYNAMIC_CATEGORY = "DYNAMIC_CATEGORY",
507
534
  PRODUCT = "PRODUCT",
535
+ PRODUCT_AND_VARIANT = "PRODUCT_AND_VARIANT",
508
536
  PRODUCT_BRAND = "PRODUCT_BRAND",
509
537
  PRODUCT_TAG = "PRODUCT_TAG",
510
538
  VARIANT = "VARIANT"
@@ -522,6 +550,8 @@ export declare type CampaignInput = {
522
550
  applyCampaignToProductPrice?: InputMaybe<Scalars['Boolean']>;
523
551
  buyXThenGetY?: InputMaybe<BuyXThenGetYInput>;
524
552
  canCombineWithOtherCampaigns: Scalars['Boolean'];
553
+ couponPrefix?: InputMaybe<Scalars['String']>;
554
+ couponValidityPeriod?: InputMaybe<Scalars['Float']>;
525
555
  createdAt?: InputMaybe<Scalars['Timestamp']>;
526
556
  createdFor?: InputMaybe<CampaignCreatedForEnum>;
527
557
  currencyCodes?: InputMaybe<Array<Scalars['String']>>;
@@ -567,7 +597,8 @@ export declare type CampaignOffer = {
567
597
  offers: Array<CampaignOfferProduct>;
568
598
  startDate?: Maybe<Scalars['Timestamp']>;
569
599
  targetPageTypes: Array<CampaignOfferTargetPageTypeEnum>;
570
- triggerSettings: CampaignOfferTriggerSettings;
600
+ triggerSettings?: Maybe<CampaignOfferTriggerFilter>;
601
+ triggers: CampaignOfferTriggers;
571
602
  type: CampaignOfferTypeEnum;
572
603
  updatedAt?: Maybe<Scalars['Timestamp']>;
573
604
  };
@@ -611,18 +642,25 @@ export declare enum CampaignOfferTargetPageTypeEnum {
611
642
  POST_CHECKOUT = "POST_CHECKOUT",
612
643
  PRODUCT = "PRODUCT"
613
644
  }
645
+ export declare type CampaignOfferTriggerFilter = {
646
+ __typename?: 'CampaignOfferTriggerFilter';
647
+ filterType: CampaignOfferTriggerFilterTypeEnum;
648
+ valueList: Array<Scalars['String']>;
649
+ };
614
650
  export declare enum CampaignOfferTriggerFilterTypeEnum {
615
651
  ALL_PRODUCTS = "ALL_PRODUCTS",
616
652
  CATEGORY = "CATEGORY",
617
653
  MIN_CART_AMOUNT = "MIN_CART_AMOUNT",
618
654
  PRODUCT = "PRODUCT",
655
+ PRODUCT_AND_VARIANT = "PRODUCT_AND_VARIANT",
656
+ PRODUCT_BRAND = "PRODUCT_BRAND",
619
657
  PRODUCT_TAG = "PRODUCT_TAG",
620
658
  VARIANT = "VARIANT"
621
659
  }
622
- export declare type CampaignOfferTriggerSettings = {
623
- __typename?: 'CampaignOfferTriggerSettings';
624
- filterType: CampaignOfferTriggerFilterTypeEnum;
625
- valueList: Array<Scalars['String']>;
660
+ export declare type CampaignOfferTriggers = {
661
+ __typename?: 'CampaignOfferTriggers';
662
+ filters: Array<CampaignOfferTriggerFilter>;
663
+ shouldMatchAllConditions?: Maybe<Scalars['Boolean']>;
626
664
  };
627
665
  export declare enum CampaignOfferTypeEnum {
628
666
  CROSS_SELL = "CROSS_SELL",
@@ -687,6 +725,16 @@ export declare enum CampaignTypeEnum {
687
725
  FREE_SHIPPING = "FREE_SHIPPING",
688
726
  RATIO = "RATIO"
689
727
  }
728
+ export declare type CampaignTypeEnumFilterInput = {
729
+ /** `equal`. The filter used for equality. */
730
+ eq?: InputMaybe<CampaignTypeEnum>;
731
+ /** Returns a boolean indicating whether a specified value is in an array. */
732
+ in?: InputMaybe<Array<InputMaybe<CampaignTypeEnum>>>;
733
+ /** `not equal`. The filter used for not equality. */
734
+ ne?: InputMaybe<CampaignTypeEnum>;
735
+ /** Returns a boolean indicating whether a specified value is not in an array. */
736
+ nin?: InputMaybe<Array<InputMaybe<CampaignTypeEnum>>>;
737
+ };
690
738
  export declare type CancelFulfillmentInput = {
691
739
  lines?: InputMaybe<Array<CancelFulfillmentOrderLineInput>>;
692
740
  orderId: Scalars['String'];
@@ -702,6 +750,7 @@ export declare type CancelOrderLineInput = {
702
750
  };
703
751
  export declare type CancelOrderLineItemInput = {
704
752
  orderLineItemId: Scalars['String'];
753
+ price: Scalars['Float'];
705
754
  quantity: Scalars['Float'];
706
755
  restockItems?: Scalars['Boolean'];
707
756
  };
@@ -1094,6 +1143,7 @@ export declare type Coupon = {
1094
1143
  canCombineWithOtherCampaigns: Scalars['Boolean'];
1095
1144
  code: Scalars['String'];
1096
1145
  createdAt?: Maybe<Scalars['Timestamp']>;
1146
+ dateRange?: Maybe<CouponDateRangeField>;
1097
1147
  deleted: Scalars['Boolean'];
1098
1148
  id: Scalars['ID'];
1099
1149
  updatedAt?: Maybe<Scalars['Timestamp']>;
@@ -1101,6 +1151,11 @@ export declare type Coupon = {
1101
1151
  usageLimit?: Maybe<Scalars['Int']>;
1102
1152
  usageLimitPerCustomer?: Maybe<Scalars['Int']>;
1103
1153
  };
1154
+ export declare type CouponDateRangeField = {
1155
+ __typename?: 'CouponDateRangeField';
1156
+ end?: Maybe<Scalars['Timestamp']>;
1157
+ start?: Maybe<Scalars['Timestamp']>;
1158
+ };
1104
1159
  export declare type CouponPaginationResponse = {
1105
1160
  __typename?: 'CouponPaginationResponse';
1106
1161
  /**
@@ -1179,6 +1234,8 @@ export declare type CreateOrderInput = {
1179
1234
  shippingMethod?: InputMaybe<OrderShippingMethodEnum>;
1180
1235
  /** It is the source id of the order. If the order came from the marketplace, it shows the order number in the marketplace. */
1181
1236
  sourceId?: InputMaybe<Scalars['String']>;
1237
+ /** It is the staff information of the order. */
1238
+ staff?: InputMaybe<OrderStaffInput>;
1182
1239
  /** It is the terminal session id of the order. If the order is placed via ikasPos, this field can be sent as filled. */
1183
1240
  terminalId?: InputMaybe<Scalars['String']>;
1184
1241
  updatedAt?: InputMaybe<Scalars['Timestamp']>;
@@ -1196,6 +1253,10 @@ export declare type CreateOrderWithTransactionsInput = {
1196
1253
  */
1197
1254
  transactions: Array<OrderTransactionInput>;
1198
1255
  };
1256
+ export declare enum CurrencyFormatSymbolPosition {
1257
+ LEFT = "LEFT",
1258
+ RIGHT = "RIGHT"
1259
+ }
1199
1260
  export declare type Customer = {
1200
1261
  __typename?: 'Customer';
1201
1262
  /** CustomerAccountStatusEnum */
@@ -1272,6 +1333,7 @@ export declare type Customer = {
1272
1333
  /** Customer Account Statuses */
1273
1334
  export declare enum CustomerAccountStatusEnum {
1274
1335
  ACTIVE_ACCOUNT = "ACTIVE_ACCOUNT",
1336
+ DEACTIVATED_ACCOUNT = "DEACTIVATED_ACCOUNT",
1275
1337
  DECLINED_ACCOUNT_INVITATION = "DECLINED_ACCOUNT_INVITATION",
1276
1338
  DISABLED_ACCOUNT = "DISABLED_ACCOUNT",
1277
1339
  INVITED_TO_CREATE_ACCOUNT = "INVITED_TO_CREATE_ACCOUNT"
@@ -1420,6 +1482,7 @@ export declare type CustomerAttributeTranslation = {
1420
1482
  export declare enum CustomerAttributeTypeEnum {
1421
1483
  BOOLEAN = "BOOLEAN",
1422
1484
  CHOICE = "CHOICE",
1485
+ DATE = "DATE",
1423
1486
  DATETIME = "DATETIME",
1424
1487
  MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
1425
1488
  NUMERIC = "NUMERIC",
@@ -1431,6 +1494,11 @@ export declare type CustomerAttributeValue = {
1431
1494
  customerAttributeOptionId?: Maybe<Scalars['String']>;
1432
1495
  value?: Maybe<Scalars['String']>;
1433
1496
  };
1497
+ export declare enum CustomerB2BStatusEnum {
1498
+ ACTIVE_ACCOUNT = "ACTIVE_ACCOUNT",
1499
+ DISABLED_ACCOUNT = "DISABLED_ACCOUNT",
1500
+ WAITING_FOR_APPROVAL = "WAITING_FOR_APPROVAL"
1501
+ }
1434
1502
  /** Customer Email Subscription Statuses */
1435
1503
  export declare enum CustomerEmailSubscriptionStatusesEnum {
1436
1504
  NOT_SUBSCRIBED = "NOT_SUBSCRIBED",
@@ -1592,6 +1660,10 @@ export declare type GetLastImportJobDataResponse = {
1592
1660
  fileURL?: Maybe<Scalars['String']>;
1593
1661
  importJobId?: Maybe<Scalars['String']>;
1594
1662
  };
1663
+ export declare type GetLastImportJobDataResponseData = {
1664
+ __typename?: 'GetLastImportJobDataResponseData';
1665
+ data?: Maybe<Array<GetLastImportJobDataResponse>>;
1666
+ };
1595
1667
  export declare type GetOrderInvoicePdfUrlInput = {
1596
1668
  invoiceId: Scalars['String'];
1597
1669
  orderId: Scalars['String'];
@@ -2066,10 +2138,40 @@ export declare type MerchantResponse = {
2066
2138
  /** The merchant's store name. */
2067
2139
  storeName?: Maybe<Scalars['String']>;
2068
2140
  };
2141
+ export declare type MerchantSettings = {
2142
+ __typename?: 'MerchantSettings';
2143
+ accessPermission?: Maybe<Scalars['Boolean']>;
2144
+ accessPermissionToDate?: Maybe<Scalars['Timestamp']>;
2145
+ /** Merchant's address information. */
2146
+ address?: Maybe<MerchantAddress>;
2147
+ billingAddress?: Maybe<MerchantAddress>;
2148
+ createdAt?: Maybe<Scalars['Timestamp']>;
2149
+ currencyCode?: Maybe<Scalars['String']>;
2150
+ currencyFormats?: Maybe<Array<MerchantSettingsCurrencyFormat>>;
2151
+ currencySymbol?: Maybe<Scalars['String']>;
2152
+ defaultLocale?: Maybe<Scalars['String']>;
2153
+ deleted: Scalars['Boolean'];
2154
+ id: Scalars['ID'];
2155
+ logoId?: Maybe<Scalars['String']>;
2156
+ merchantName: Scalars['String'];
2157
+ phone?: Maybe<Scalars['String']>;
2158
+ requireMFAForAllStaffs?: Maybe<Scalars['Boolean']>;
2159
+ timezone?: Maybe<Scalars['String']>;
2160
+ updatedAt?: Maybe<Scalars['Timestamp']>;
2161
+ };
2069
2162
  export declare enum MerchantSettingsAddressTypeEnum {
2070
2163
  CORPORATE = "CORPORATE",
2071
2164
  INDIVIDUAL = "INDIVIDUAL"
2072
2165
  }
2166
+ export declare type MerchantSettingsCurrencyFormat = {
2167
+ __typename?: 'MerchantSettingsCurrencyFormat';
2168
+ currencyCode: Scalars['String'];
2169
+ decimalSeparator: Scalars['String'];
2170
+ omitZeroDecimal: Scalars['Boolean'];
2171
+ symbol: Scalars['String'];
2172
+ symbolPosition: CurrencyFormatSymbolPosition;
2173
+ thousandSeparator: Scalars['String'];
2174
+ };
2073
2175
  export declare enum MerchantSubscriptionStatusEnum {
2074
2176
  ACTIVE = "ACTIVE",
2075
2177
  REMOVED = "REMOVED",
@@ -2116,6 +2218,8 @@ export declare type Mutation = {
2116
2218
  deleteProductVolumeDiscountList: Scalars['Boolean'];
2117
2219
  /** Using this api, you can delete javascript script from a the storefront. */
2118
2220
  deleteStorefrontJSScript: Scalars['Boolean'];
2221
+ /** Using this API, you can delete a policy from the storefront. */
2222
+ deleteStorefrontPolicyList: Scalars['Boolean'];
2119
2223
  deleteTaxSettingsList: Scalars['Boolean'];
2120
2224
  /** Using this api, you can delete the variant types of products. */
2121
2225
  deleteVariantTypeList: Scalars['Boolean'];
@@ -2155,6 +2259,8 @@ export declare type Mutation = {
2155
2259
  saveSalesChannel?: Maybe<SalesChannel>;
2156
2260
  /** Using this api, you can save javascript script to a the storefront. */
2157
2261
  saveStorefrontJSScript: StorefrontJSScript;
2262
+ /** Using this API, you can save a policy to the storefront. */
2263
+ saveStorefrontPolicy: StorefrontPolicy;
2158
2264
  saveTaxSettings: TaxSettings;
2159
2265
  /** Response indicating the status of operation. */
2160
2266
  saveVariantPrices: Scalars['Boolean'];
@@ -2164,6 +2270,7 @@ export declare type Mutation = {
2164
2270
  saveVendor: Vendor;
2165
2271
  /** Use this mutation to save webhooks by using multiple `scope` variables. After saving a webhook, **ikas** will start to push new webhooks to given url `endpoint`. If **endpoint** is unreachable or returns an error code other than `HTTP 200` **ikas** will try to push webhook for 3 times then stops sending webhook. */
2166
2272
  saveWebhook?: Maybe<Array<Webhook>>;
2273
+ updateCustomerB2BStatus: Scalars['Boolean'];
2167
2274
  /** Use this mutation for order address information changes. */
2168
2275
  updateOrderAddresses: Order;
2169
2276
  /** Use this mutation to cancel the fulfillment of the already created package for an order. */
@@ -2246,6 +2353,9 @@ export declare type MutationdeleteProductVolumeDiscountListArgs = {
2246
2353
  export declare type MutationdeleteStorefrontJSScriptArgs = {
2247
2354
  storefrontIdList: Array<Scalars['String']>;
2248
2355
  };
2356
+ export declare type MutationdeleteStorefrontPolicyListArgs = {
2357
+ idList: Array<Scalars['String']>;
2358
+ };
2249
2359
  export declare type MutationdeleteTaxSettingsListArgs = {
2250
2360
  idList: Array<Scalars['String']>;
2251
2361
  };
@@ -2315,6 +2425,9 @@ export declare type MutationsaveSalesChannelArgs = {
2315
2425
  export declare type MutationsaveStorefrontJSScriptArgs = {
2316
2426
  input: StorefrontJSScriptInput;
2317
2427
  };
2428
+ export declare type MutationsaveStorefrontPolicyArgs = {
2429
+ input: StorefrontPolicyInput;
2430
+ };
2318
2431
  export declare type MutationsaveTaxSettingsArgs = {
2319
2432
  input: TaxSettingsInput;
2320
2433
  };
@@ -2330,6 +2443,10 @@ export declare type MutationsaveVendorArgs = {
2330
2443
  export declare type MutationsaveWebhookArgs = {
2331
2444
  input: WebhookInput;
2332
2445
  };
2446
+ export declare type MutationupdateCustomerB2BStatusArgs = {
2447
+ b2bStatus: CustomerB2BStatusEnum;
2448
+ customerId: Scalars['String'];
2449
+ };
2333
2450
  export declare type MutationupdateOrderAddressesArgs = {
2334
2451
  input: UpdateOrderAddressesInput;
2335
2452
  };
@@ -2397,6 +2514,8 @@ export declare type Order = {
2397
2514
  customerSegments?: Maybe<Array<OrderCustomerSegment>>;
2398
2515
  deleted: Scalars['Boolean'];
2399
2516
  dueDate?: Maybe<Scalars['Timestamp']>;
2517
+ edited?: Maybe<Scalars['Boolean']>;
2518
+ giftCardLines?: Maybe<Array<OrderGiftCardLine>>;
2400
2519
  /** A list of gift package line objects, each containing information about a gift package pricing in the order. */
2401
2520
  giftPackageLines?: Maybe<Array<OrderGiftPackageLine>>;
2402
2521
  /** An optional gift package note, can attach to the order. */
@@ -2412,6 +2531,8 @@ export declare type Order = {
2412
2531
  lastActivityDate?: Maybe<Scalars['Timestamp']>;
2413
2532
  marketingCampaignId?: Maybe<Scalars['String']>;
2414
2533
  merchantId: Scalars['String'];
2534
+ /** It is the reflection of the prices of the refunds and the items added later on the final order price. */
2535
+ netTotalFinalPrice?: Maybe<Scalars['Float']>;
2415
2536
  /** An optional note, can attach to the order. */
2416
2537
  note?: Maybe<Scalars['String']>;
2417
2538
  /** A list of adjustment objects, each containing information about a adjustment in the order. */
@@ -2481,6 +2602,9 @@ export declare type Order = {
2481
2602
  updatedAt?: Maybe<Scalars['Timestamp']>;
2482
2603
  /** Details of the browsing client, including software and operating versions. */
2483
2604
  userAgent?: Maybe<Scalars['String']>;
2605
+ workflowId?: Maybe<Scalars['String']>;
2606
+ workflowName?: Maybe<Scalars['String']>;
2607
+ workflowNodeId?: Maybe<Scalars['String']>;
2484
2608
  };
2485
2609
  export declare type OrderAddress = {
2486
2610
  __typename?: 'OrderAddress';
@@ -2768,6 +2892,13 @@ export declare type OrderCustomerSegment = {
2768
2892
  /** It is the customer's segment name */
2769
2893
  name: Scalars['String'];
2770
2894
  };
2895
+ export declare type OrderGiftCardLine = {
2896
+ __typename?: 'OrderGiftCardLine';
2897
+ amount: Scalars['Float'];
2898
+ code: Scalars['String'];
2899
+ giftCardId: Scalars['String'];
2900
+ id: Scalars['String'];
2901
+ };
2771
2902
  export declare type OrderGiftPackageLine = {
2772
2903
  __typename?: 'OrderGiftPackageLine';
2773
2904
  /** Indicates whether the gift cost is refunded if the order is refunded. **isRefunded** returns `true` if the amount is refunded. */
@@ -2865,6 +2996,8 @@ export declare type OrderLineItem = {
2865
2996
  discount?: Maybe<OrderLineDiscount>;
2866
2997
  /** It is the discount price of the order line item. */
2867
2998
  discountPrice?: Maybe<Scalars['Float']>;
2999
+ /** After creating the order, it indicates whether the relevant line has been added/removed by the store staff. */
3000
+ edited?: Maybe<Scalars['Boolean']>;
2868
3001
  /** It is the final price of the order line item. If the discount price is less than the sell price, the final price is equal to the discount price. */
2869
3002
  finalPrice?: Maybe<Scalars['Float']>;
2870
3003
  /** It is the unit price of the order line item. */
@@ -2894,6 +3027,8 @@ export declare type OrderLineItem = {
2894
3027
  variant: OrderLineVariant;
2895
3028
  };
2896
3029
  export declare type OrderLineItemInput = {
3030
+ /** It is the bundle product settings in the order line item. */
3031
+ bundleProductSettings?: InputMaybe<BundleProductOrderLineInput>;
2897
3032
  createdAt?: InputMaybe<Scalars['Timestamp']>;
2898
3033
  deleted?: InputMaybe<Scalars['Boolean']>;
2899
3034
  /** It is the discount information that will be applied to the line item. */
@@ -2952,6 +3087,7 @@ export declare type OrderLineOptionValue = {
2952
3087
  __typename?: 'OrderLineOptionValue';
2953
3088
  name?: Maybe<Scalars['String']>;
2954
3089
  price?: Maybe<Scalars['Float']>;
3090
+ priceType?: Maybe<ProductOptionPriceTypeEnum>;
2955
3091
  value: Scalars['String'];
2956
3092
  };
2957
3093
  export declare type OrderLineOptionValueInput = {
@@ -3027,6 +3163,8 @@ export declare type OrderLineVariantBundleProductModel = {
3027
3163
  discountRatio?: Maybe<Scalars['Float']>;
3028
3164
  /** It is the final price of the variant. */
3029
3165
  finalPrice?: Maybe<Scalars['Float']>;
3166
+ /** It is the unit price of the variant */
3167
+ finalUnitPrice?: Maybe<Scalars['Float']>;
3030
3168
  id: Scalars['String'];
3031
3169
  /** It is the option information of the variant value in the order line item. */
3032
3170
  options?: Maybe<Array<OrderLineOption>>;
@@ -3038,6 +3176,8 @@ export declare type OrderLineVariantBundleProductModel = {
3038
3176
  quantity: Scalars['Float'];
3039
3177
  /** It is the tax value of the variant. */
3040
3178
  taxValue?: Maybe<Scalars['Float']>;
3179
+ /** It is the unit price of the variant */
3180
+ unitPrice?: Maybe<Scalars['Float']>;
3041
3181
  /** Information about the variant of the order line item. */
3042
3182
  variant: OrderLineBundleVariant;
3043
3183
  };
@@ -3213,6 +3353,8 @@ export declare type OrderPaginationResponse = {
3213
3353
  };
3214
3354
  export declare type OrderPaymentMethod = {
3215
3355
  __typename?: 'OrderPaymentMethod';
3356
+ /** The indication of whether the payment was received through a gateway that is part of the payment group and does not have primary priority */
3357
+ isAlternativeGateway?: Maybe<Scalars['Boolean']>;
3216
3358
  /** It is the gateway code of the order payment method. */
3217
3359
  paymentGatewayCode?: Maybe<Scalars['String']>;
3218
3360
  /** It is the gateway name of the order payment method. */
@@ -3236,8 +3378,10 @@ export declare type OrderPaymentMethodEnumFilterInput = {
3236
3378
  };
3237
3379
  export declare enum OrderPaymentStatusEnum {
3238
3380
  FAILED = "FAILED",
3381
+ OVER_PAID = "OVER_PAID",
3239
3382
  PAID = "PAID",
3240
3383
  PARTIALLY_PAID = "PARTIALLY_PAID",
3384
+ REFUNDED = "REFUNDED",
3241
3385
  WAITING = "WAITING"
3242
3386
  }
3243
3387
  export declare type OrderPaymentStatusEnumInputFilter = {
@@ -3257,22 +3401,32 @@ export declare type OrderPriceList = {
3257
3401
  /** It is the name of the price list. */
3258
3402
  name?: Maybe<Scalars['String']>;
3259
3403
  };
3404
+ export declare type OrderRefundBranchInfoInput = {
3405
+ branchSessionId: Scalars['String'];
3406
+ terminalId: Scalars['String'];
3407
+ };
3260
3408
  export declare type OrderRefundInput = {
3409
+ branchInfo?: InputMaybe<OrderRefundBranchInfoInput>;
3261
3410
  forceRefund?: InputMaybe<Scalars['Boolean']>;
3262
3411
  orderId: Scalars['String'];
3263
3412
  orderRefundLines: Array<OrderRefundLineInput>;
3264
- paymentGatewayId: Scalars['String'];
3413
+ orderRefundTransactions?: InputMaybe<Array<OrderRefundTransactionInput>>;
3265
3414
  reason?: InputMaybe<Scalars['String']>;
3266
3415
  refundGift?: InputMaybe<Scalars['Boolean']>;
3267
3416
  refundShipping?: InputMaybe<Scalars['Boolean']>;
3268
3417
  sendNotificationToCustomer?: InputMaybe<Scalars['Boolean']>;
3269
- stockLocationId: Scalars['String'];
3418
+ stockLocationId?: InputMaybe<Scalars['String']>;
3270
3419
  };
3271
3420
  export declare type OrderRefundLineInput = {
3272
3421
  orderLineItemId: Scalars['String'];
3422
+ price: Scalars['Float'];
3273
3423
  quantity: Scalars['Float'];
3274
3424
  restockItems?: Scalars['Boolean'];
3275
3425
  };
3426
+ export declare type OrderRefundTransactionInput = {
3427
+ amount: Scalars['Float'];
3428
+ transactionId: Scalars['String'];
3429
+ };
3276
3430
  export declare type OrderSalesChannel = {
3277
3431
  __typename?: 'OrderSalesChannel';
3278
3432
  /** It is the sales channel id where the order was created. */
@@ -3343,7 +3497,7 @@ export declare type OrderShippingLine = {
3343
3497
  export declare type OrderShippingLineInput = {
3344
3498
  /** It is the price of the order shipping line. */
3345
3499
  price: Scalars['Float'];
3346
- priceListId?: InputMaybe<Scalars['Float']>;
3500
+ priceListId?: InputMaybe<Scalars['String']>;
3347
3501
  /** It is the tax value of the order shipping line. */
3348
3502
  taxValue?: InputMaybe<Scalars['Float']>;
3349
3503
  /** It is the title of the order shipping line. */
@@ -3376,6 +3530,16 @@ export declare type OrderStaff = {
3376
3530
  /** It is the last name of the staff who created the order. */
3377
3531
  lastName: Scalars['String'];
3378
3532
  };
3533
+ export declare type OrderStaffInput = {
3534
+ /** It is the email of the staff who created the order. */
3535
+ email: Scalars['String'];
3536
+ /** It is the first name of the staff who created the order. */
3537
+ firstName: Scalars['String'];
3538
+ /** It is the first name of the staff who created the order. */
3539
+ id: Scalars['String'];
3540
+ /** It is the last name of the staff who created the order. */
3541
+ lastName: Scalars['String'];
3542
+ };
3379
3543
  export declare enum OrderStatusEnum {
3380
3544
  CANCELLED = "CANCELLED",
3381
3545
  CREATED = "CREATED",
@@ -3424,6 +3588,7 @@ export declare type OrderStorefrontRouting = {
3424
3588
  path?: Maybe<Scalars['String']>;
3425
3589
  /** It is the price list id that associated on the storefront routing. */
3426
3590
  priceListId?: Maybe<Scalars['String']>;
3591
+ salesChannelId?: Maybe<Scalars['String']>;
3427
3592
  };
3428
3593
  export declare type OrderStorefrontRoutingDynamicCurrencySettings = {
3429
3594
  __typename?: 'OrderStorefrontRoutingDynamicCurrencySettings';
@@ -3447,7 +3612,6 @@ export declare type OrderTag = {
3447
3612
  createdAt?: Maybe<Scalars['Timestamp']>;
3448
3613
  deleted: Scalars['Boolean'];
3449
3614
  id: Scalars['ID'];
3450
- merchantId: Scalars['String'];
3451
3615
  name: Scalars['String'];
3452
3616
  updatedAt?: Maybe<Scalars['Timestamp']>;
3453
3617
  };
@@ -3488,6 +3652,76 @@ export declare type PaginationInput = {
3488
3652
  */
3489
3653
  page?: InputMaybe<Scalars['Int']>;
3490
3654
  };
3655
+ export declare type PaymentGateway = {
3656
+ __typename?: 'PaymentGateway';
3657
+ additionalPrices?: Maybe<Array<AdditionalPrice>>;
3658
+ availableCountries?: Maybe<Array<Scalars['String']>>;
3659
+ code: Scalars['String'];
3660
+ createdAt?: Maybe<Scalars['Timestamp']>;
3661
+ deleted: Scalars['Boolean'];
3662
+ description?: Maybe<Scalars['String']>;
3663
+ group?: Maybe<PaymentGatewayGroup>;
3664
+ id: Scalars['ID'];
3665
+ isPassive?: Maybe<Scalars['Boolean']>;
3666
+ logoUrl?: Maybe<Scalars['String']>;
3667
+ masterPassClientId?: Maybe<Scalars['String']>;
3668
+ name: Scalars['String'];
3669
+ paymentGatewayProviderId?: Maybe<Scalars['String']>;
3670
+ paymentMethodType: PaymentMethodTypeEnum;
3671
+ paymentMethods: Array<PaymentGatewayPaymentMethod>;
3672
+ settings?: Maybe<Array<PaymentGatewaySettings>>;
3673
+ supportedCurrencies?: Maybe<Array<Scalars['String']>>;
3674
+ testMode: Scalars['Boolean'];
3675
+ translations?: Maybe<Array<PaymentGatewayTranslation>>;
3676
+ type: PaymentGatewayTypeEnum;
3677
+ updatedAt?: Maybe<Scalars['Timestamp']>;
3678
+ };
3679
+ export declare enum PaymentGatewayAdditionalPriceTypeEnum {
3680
+ DECREMENT = "DECREMENT",
3681
+ INCREMENT = "INCREMENT"
3682
+ }
3683
+ export declare type PaymentGatewayGroup = {
3684
+ __typename?: 'PaymentGatewayGroup';
3685
+ key: Scalars['String'];
3686
+ order: Scalars['Float'];
3687
+ };
3688
+ export declare type PaymentGatewayPaymentMethod = {
3689
+ __typename?: 'PaymentGatewayPaymentMethod';
3690
+ allowed?: Maybe<Scalars['Boolean']>;
3691
+ enabled?: Maybe<Scalars['Boolean']>;
3692
+ externalId?: Maybe<Scalars['String']>;
3693
+ externalStoreIds?: Maybe<Array<Scalars['String']>>;
3694
+ logoUrl?: Maybe<Scalars['String']>;
3695
+ name: Scalars['String'];
3696
+ };
3697
+ export declare type PaymentGatewaySettings = {
3698
+ __typename?: 'PaymentGatewaySettings';
3699
+ label: Scalars['String'];
3700
+ order: Scalars['Float'];
3701
+ type: PaymentGatewaySettingsTypeEnum;
3702
+ value?: Maybe<Scalars['String']>;
3703
+ };
3704
+ export declare enum PaymentGatewaySettingsTypeEnum {
3705
+ BOOLEAN = "BOOLEAN",
3706
+ NUMBER = "NUMBER",
3707
+ PASSWORD = "PASSWORD",
3708
+ TEXT = "TEXT"
3709
+ }
3710
+ export declare enum PaymentGatewayTransactionFeeTypeEnum {
3711
+ AMOUNT = "AMOUNT",
3712
+ RATIO = "RATIO"
3713
+ }
3714
+ export declare type PaymentGatewayTranslation = {
3715
+ __typename?: 'PaymentGatewayTranslation';
3716
+ description?: Maybe<Scalars['String']>;
3717
+ locale?: Maybe<Scalars['String']>;
3718
+ name?: Maybe<Scalars['String']>;
3719
+ };
3720
+ export declare enum PaymentGatewayTypeEnum {
3721
+ EXTERNAL = "EXTERNAL",
3722
+ INTERNAL = "INTERNAL",
3723
+ THIRD_PARTY = "THIRD_PARTY"
3724
+ }
3491
3725
  export declare enum PaymentMethodTypeEnum {
3492
3726
  APP_PAYMENT = "APP_PAYMENT",
3493
3727
  BANK_REDIRECT = "BANK_REDIRECT",
@@ -3736,6 +3970,7 @@ export declare enum ProductAttributeTypeEnum {
3736
3970
  BOOLEAN = "BOOLEAN",
3737
3971
  CHOICE = "CHOICE",
3738
3972
  COLOR_THUMBNAIL_MULTIPLE_CHOICE = "COLOR_THUMBNAIL_MULTIPLE_CHOICE",
3973
+ DATE = "DATE",
3739
3974
  DATETIME = "DATETIME",
3740
3975
  HTML = "HTML",
3741
3976
  IMAGE = "IMAGE",
@@ -3859,6 +4094,7 @@ export declare type ProductInput = {
3859
4094
  createdAt?: InputMaybe<Scalars['Timestamp']>;
3860
4095
  deleted?: InputMaybe<Scalars['Boolean']>;
3861
4096
  description?: InputMaybe<Scalars['String']>;
4097
+ dynamicPriceListIds?: InputMaybe<Array<Scalars['String']>>;
3862
4098
  googleTaxonomyId?: InputMaybe<Scalars['String']>;
3863
4099
  groupVariantsByVariantTypeId?: InputMaybe<Scalars['String']>;
3864
4100
  hiddenSalesChannelIds?: InputMaybe<Array<Scalars['String']>>;
@@ -3895,6 +4131,7 @@ export declare type ProductOption = {
3895
4131
  order: Scalars['Float'];
3896
4132
  otherPrices?: Maybe<Array<ProductOptionSelectValueOtherPrice>>;
3897
4133
  price?: Maybe<Scalars['Float']>;
4134
+ priceType?: Maybe<ProductOptionPriceTypeEnum>;
3898
4135
  requiredOptionId?: Maybe<Scalars['String']>;
3899
4136
  requiredOptionValueIds?: Maybe<Array<Scalars['String']>>;
3900
4137
  selectSettings?: Maybe<ProductOptionSelectSettings>;
@@ -3915,6 +4152,10 @@ export declare type ProductOptionFileSettings = {
3915
4152
  maxQuantity?: Maybe<Scalars['Float']>;
3916
4153
  minQuantity?: Maybe<Scalars['Float']>;
3917
4154
  };
4155
+ export declare enum ProductOptionPriceTypeEnum {
4156
+ AMOUNT = "AMOUNT",
4157
+ RATIO = "RATIO"
4158
+ }
3918
4159
  export declare type ProductOptionSelectSettings = {
3919
4160
  __typename?: 'ProductOptionSelectSettings';
3920
4161
  maxSelect?: Maybe<Scalars['Float']>;
@@ -3936,6 +4177,7 @@ export declare type ProductOptionSelectValue = {
3936
4177
  order: Scalars['Float'];
3937
4178
  otherPrices?: Maybe<Array<ProductOptionSelectValueOtherPrice>>;
3938
4179
  price?: Maybe<Scalars['Float']>;
4180
+ priceType?: Maybe<ProductOptionPriceTypeEnum>;
3939
4181
  thumbnailImageId?: Maybe<Scalars['String']>;
3940
4182
  updatedAt?: Maybe<Scalars['Timestamp']>;
3941
4183
  value: Scalars['String'];
@@ -3946,6 +4188,7 @@ export declare type ProductOptionSelectValueOtherPrice = {
3946
4188
  currencySymbol?: Maybe<Scalars['String']>;
3947
4189
  price: Scalars['Float'];
3948
4190
  priceListId?: Maybe<Scalars['String']>;
4191
+ priceType?: Maybe<ProductOptionPriceTypeEnum>;
3949
4192
  };
3950
4193
  export declare type ProductOptionSelectValueTranslations = {
3951
4194
  __typename?: 'ProductOptionSelectValueTranslations';
@@ -4345,6 +4588,7 @@ export declare type PublicTransaction = {
4345
4588
  customerId?: Maybe<Scalars['String']>;
4346
4589
  deleted: Scalars['Boolean'];
4347
4590
  error?: Maybe<TransactionError>;
4591
+ gatewayReferenceId?: Maybe<Scalars['String']>;
4348
4592
  id: Scalars['ID'];
4349
4593
  orderId?: Maybe<Scalars['String']>;
4350
4594
  paymentGatewayCode?: Maybe<Scalars['String']>;
@@ -4367,6 +4611,7 @@ export declare type Query = {
4367
4611
  /** Upload url for the specified image. */
4368
4612
  getImageUploadUrl: Scalars['String'];
4369
4613
  getImportJobData: GetImportJobDataResponse;
4614
+ getImportJobDataList: GetLastImportJobDataResponseData;
4370
4615
  getLastImportJobData: GetLastImportJobDataResponse;
4371
4616
  /** By using this api you can get properties of merchant and merchant staff. */
4372
4617
  getMerchant: MerchantResponse;
@@ -4396,9 +4641,11 @@ export declare type Query = {
4396
4641
  listLanguage: Array<Language>;
4397
4642
  /** Using this api, you can view the payment features that a merchant has created for the app. */
4398
4643
  listMerchantAppPayment: MerchantAppPaymentPaginationResponse;
4644
+ listMerchantSettings: Array<MerchantSettings>;
4399
4645
  listOrder: OrderPaginationResponse;
4400
4646
  listOrderTag: Array<OrderTag>;
4401
4647
  listOrderTransactions: Array<PublicTransaction>;
4648
+ listPaymentGateway: Array<PaymentGateway>;
4402
4649
  listPriceList: Array<PriceList>;
4403
4650
  /**
4404
4651
  * Use this query to list products.
@@ -4428,6 +4675,11 @@ export declare type Query = {
4428
4675
  listStorefront: Array<Storefront>;
4429
4676
  /** Use this query to list storefront javascript scripts by supplying the `storefrontId` input. */
4430
4677
  listStorefrontJSScript: Array<StorefrontJSScript>;
4678
+ /**
4679
+ * Use this query to list storefront policies by supplying the `StorefrontPolicyArgs` input.
4680
+ * Search applies to following fields: `name` `slug`
4681
+ */
4682
+ listStorefrontPolicy: Array<StorefrontPolicy>;
4431
4683
  listTaxSettings: Array<TaxSettings>;
4432
4684
  listTerminal: Array<Terminal>;
4433
4685
  listTown: Array<Town>;
@@ -4468,13 +4720,13 @@ export declare type QuerylistBranchArgs = {
4468
4720
  updatedAt?: InputMaybe<DateFilterInput>;
4469
4721
  };
4470
4722
  export declare type QuerylistCampaignArgs = {
4471
- canCombineWithOtherCampaigns?: InputMaybe<Scalars['Boolean']>;
4723
+ canCombineWithOtherCampaigns?: InputMaybe<BooleanFilterInput>;
4472
4724
  id?: InputMaybe<StringFilterInput>;
4473
4725
  includeDeleted?: InputMaybe<Scalars['Boolean']>;
4474
4726
  pagination?: InputMaybe<PaginationInput>;
4475
4727
  search?: InputMaybe<Scalars['String']>;
4476
4728
  sort?: InputMaybe<Scalars['String']>;
4477
- type?: InputMaybe<CampaignTypeEnum>;
4729
+ type?: InputMaybe<CampaignTypeEnumFilterInput>;
4478
4730
  updatedAt?: InputMaybe<DateFilterInput>;
4479
4731
  };
4480
4732
  export declare type QuerylistCargoCompanyArgs = {
@@ -4533,6 +4785,7 @@ export declare type QuerylistDistrictArgs = {
4533
4785
  export declare type QuerylistGlobalTaxSettingsArgs = {
4534
4786
  id?: InputMaybe<StringFilterInput>;
4535
4787
  includeDeleted?: InputMaybe<Scalars['Boolean']>;
4788
+ storefrontId?: InputMaybe<StringFilterInput>;
4536
4789
  };
4537
4790
  export declare type QuerylistLanguageArgs = {
4538
4791
  id?: InputMaybe<StringFilterInput>;
@@ -4541,6 +4794,10 @@ export declare type QuerylistMerchantAppPaymentArgs = {
4541
4794
  id?: InputMaybe<StringFilterInput>;
4542
4795
  pagination?: InputMaybe<PaginationInput>;
4543
4796
  };
4797
+ export declare type QuerylistMerchantSettingsArgs = {
4798
+ id?: InputMaybe<StringFilterInput>;
4799
+ merchantId?: InputMaybe<StringFilterInput>;
4800
+ };
4544
4801
  export declare type QuerylistOrderArgs = {
4545
4802
  branchId?: InputMaybe<StringFilterInput>;
4546
4803
  branchSessionId?: InputMaybe<StringFilterInput>;
@@ -4575,6 +4832,14 @@ export declare type QuerylistOrderTagArgs = {
4575
4832
  export declare type QuerylistOrderTransactionsArgs = {
4576
4833
  orderId: Scalars['String'];
4577
4834
  };
4835
+ export declare type QuerylistPaymentGatewayArgs = {
4836
+ cartId?: InputMaybe<Scalars['String']>;
4837
+ id?: InputMaybe<StringFilterInput>;
4838
+ includeDeleted?: InputMaybe<Scalars['Boolean']>;
4839
+ locale?: InputMaybe<Scalars['String']>;
4840
+ pagination?: InputMaybe<PaginationInput>;
4841
+ transactionAmount?: InputMaybe<Scalars['Float']>;
4842
+ };
4578
4843
  export declare type QuerylistPriceListArgs = {
4579
4844
  id?: InputMaybe<StringFilterInput>;
4580
4845
  };
@@ -4656,10 +4921,18 @@ export declare type QuerylistStockLocationArgs = {
4656
4921
  };
4657
4922
  export declare type QuerylistStorefrontArgs = {
4658
4923
  id?: InputMaybe<StringFilterInput>;
4924
+ salesChannelId?: InputMaybe<StringFilterInput>;
4659
4925
  };
4660
4926
  export declare type QuerylistStorefrontJSScriptArgs = {
4661
4927
  storefrontId?: InputMaybe<Scalars['String']>;
4662
4928
  };
4929
+ export declare type QuerylistStorefrontPolicyArgs = {
4930
+ id?: InputMaybe<StringFilterInput>;
4931
+ includeDeleted?: InputMaybe<Scalars['Boolean']>;
4932
+ language?: InputMaybe<StringFilterInput>;
4933
+ name?: InputMaybe<StringFilterInput>;
4934
+ updatedAt?: InputMaybe<DateFilterInput>;
4935
+ };
4663
4936
  export declare type QuerylistTaxSettingsArgs = {
4664
4937
  countryId?: InputMaybe<StringFilterInput>;
4665
4938
  id?: InputMaybe<StringFilterInput>;
@@ -4762,7 +5035,8 @@ export declare enum SalesChannelTypeEnum {
4762
5035
  FACEBOOK = "FACEBOOK",
4763
5036
  GOOGLE = "GOOGLE",
4764
5037
  POS = "POS",
4765
- STOREFRONT = "STOREFRONT"
5038
+ STOREFRONT = "STOREFRONT",
5039
+ STOREFRONT_APP = "STOREFRONT_APP"
4766
5040
  }
4767
5041
  export declare type SaveStockLocationsInput = {
4768
5042
  productStockLocationInputs?: InputMaybe<Array<ProductStockLocationInput>>;
@@ -4922,6 +5196,7 @@ export declare type SearchProductCampaign = {
4922
5196
  id?: Maybe<Scalars['String']>;
4923
5197
  includeDiscountedProducts?: Maybe<Scalars['Boolean']>;
4924
5198
  salesChannelIds?: Maybe<Array<Scalars['String']>>;
5199
+ tieredDiscount?: Maybe<SearchProductCampaignTieredDiscount>;
4925
5200
  title: Scalars['String'];
4926
5201
  type: CampaignTypeEnum;
4927
5202
  };
@@ -4951,6 +5226,8 @@ export declare type SearchProductCampaignFixedDiscount = {
4951
5226
  __typename?: 'SearchProductCampaignFixedDiscount';
4952
5227
  amount?: Maybe<Scalars['Float']>;
4953
5228
  filters?: Maybe<Array<SearchProductCampaignFilter>>;
5229
+ lineItemQuantityRange?: Maybe<SearchProductCampaignMinMaxRangeField>;
5230
+ priceRange?: Maybe<SearchProductCampaignMinMaxRangeField>;
4954
5231
  };
4955
5232
  export declare type SearchProductCampaignGetY = {
4956
5233
  __typename?: 'SearchProductCampaignGetY';
@@ -4959,8 +5236,15 @@ export declare type SearchProductCampaignGetY = {
4959
5236
  discountRatio: Scalars['Float'];
4960
5237
  filter?: Maybe<SearchProductCampaignFilter>;
4961
5238
  };
5239
+ export declare type SearchProductCampaignMinMaxRangeField = {
5240
+ __typename?: 'SearchProductCampaignMinMaxRangeField';
5241
+ max?: Maybe<Scalars['Float']>;
5242
+ min?: Maybe<Scalars['Float']>;
5243
+ };
4962
5244
  export declare type SearchProductCampaignOffer = {
4963
5245
  __typename?: 'SearchProductCampaignOffer';
5246
+ availableSalesChannelIds?: Maybe<Array<Scalars['String']>>;
5247
+ currencyCodes?: Maybe<Array<Scalars['String']>>;
4964
5248
  id: Scalars['String'];
4965
5249
  };
4966
5250
  export declare type SearchProductCampaignPrice = {
@@ -4968,6 +5252,19 @@ export declare type SearchProductCampaignPrice = {
4968
5252
  campaignId?: Maybe<Scalars['String']>;
4969
5253
  campaignPrice?: Maybe<Scalars['Float']>;
4970
5254
  };
5255
+ export declare type SearchProductCampaignTieredDiscount = {
5256
+ __typename?: 'SearchProductCampaignTieredDiscount';
5257
+ filters?: Maybe<Array<SearchProductCampaignFilter>>;
5258
+ isApplyByCartAmount?: Maybe<Scalars['Boolean']>;
5259
+ rules: Array<SearchProductCampaignTieredDiscountRule>;
5260
+ shouldMatchAllConditions?: Maybe<Scalars['Boolean']>;
5261
+ };
5262
+ export declare type SearchProductCampaignTieredDiscountRule = {
5263
+ __typename?: 'SearchProductCampaignTieredDiscountRule';
5264
+ amount: Scalars['Float'];
5265
+ lineItemQuantityRange?: Maybe<SearchProductCampaignMinMaxRangeField>;
5266
+ priceRange?: Maybe<SearchProductCampaignMinMaxRangeField>;
5267
+ };
4971
5268
  export declare type SearchProductCustomerReviewStar = {
4972
5269
  __typename?: 'SearchProductCustomerReviewStar';
4973
5270
  count: Scalars['Float'];
@@ -4978,13 +5275,13 @@ export declare type SearchProductGroup = {
4978
5275
  groupKey: Scalars['String'];
4979
5276
  id: Scalars['String'];
4980
5277
  name: Scalars['String'];
4981
- order: SearchProductGroupOrder;
5278
+ order?: Maybe<SearchProductGroupOrder>;
4982
5279
  translations?: Maybe<Array<SearchProductGroupTranslation>>;
4983
5280
  values: Array<SearchProductGroupValueType>;
4984
5281
  };
4985
5282
  export declare type SearchProductGroupOrder = {
4986
5283
  __typename?: 'SearchProductGroupOrder';
4987
- orderAttributeId: Scalars['String'];
5284
+ orderAttributeId?: Maybe<Scalars['String']>;
4988
5285
  value: Scalars['String'];
4989
5286
  };
4990
5287
  export declare type SearchProductGroupTranslation = {
@@ -5107,6 +5404,7 @@ export declare type ShippingSettings = {
5107
5404
  id: Scalars['ID'];
5108
5405
  isPassive?: Maybe<Scalars['Boolean']>;
5109
5406
  localDeliverySettings?: Maybe<LocalDeliverySettings>;
5407
+ order?: Maybe<Scalars['Float']>;
5110
5408
  salesChannelId: Scalars['String'];
5111
5409
  shippingZones: Array<ShippingZone>;
5112
5410
  stockLocations?: Maybe<Array<ShippingSettingsStockLocation>>;
@@ -5213,6 +5511,7 @@ export declare type SimpleProductTag = {
5213
5511
  export declare enum SourceTypeEnum {
5214
5512
  CUSTOMER = "CUSTOMER",
5215
5513
  EMAIL = "EMAIL",
5514
+ GIFT_CARD = "GIFT_CARD",
5216
5515
  INVENTORY = "INVENTORY",
5217
5516
  MERCHANT = "MERCHANT",
5218
5517
  ORDER = "ORDER",
@@ -5253,6 +5552,8 @@ export declare type StockLocation = {
5253
5552
  /** It is the name of the stock location. */
5254
5553
  name: Scalars['String'];
5255
5554
  outOfStockMailList?: Maybe<Array<Scalars['String']>>;
5555
+ /** Translations for the stock location. */
5556
+ translations?: Maybe<Array<StockLocationTranslation>>;
5256
5557
  /** It is the type enum of the stock location. */
5257
5558
  type?: Maybe<StockLocationTypeEnum>;
5258
5559
  updatedAt?: Maybe<Scalars['Timestamp']>;
@@ -5323,6 +5624,13 @@ export declare enum StockLocationDeliveryTimeEnum {
5323
5624
  WITHIN_TWENTY_FOUR_HOURS = "WITHIN_TWENTY_FOUR_HOURS",
5324
5625
  WITHIN_TWO_HOURS = "WITHIN_TWO_HOURS"
5325
5626
  }
5627
+ export declare type StockLocationTranslation = {
5628
+ __typename?: 'StockLocationTranslation';
5629
+ /** It is the description information of the translation. */
5630
+ description?: Maybe<Scalars['String']>;
5631
+ /** It is the name information of the translation. */
5632
+ locale: Scalars['String'];
5633
+ };
5326
5634
  /** Stock Location Types */
5327
5635
  export declare enum StockLocationTypeEnum {
5328
5636
  PHYSICAL = "PHYSICAL",
@@ -5335,6 +5643,7 @@ export declare type Storefront = {
5335
5643
  id: Scalars['ID'];
5336
5644
  /** The storefront's name. */
5337
5645
  name: Scalars['String'];
5646
+ salesChannelId: Scalars['String'];
5338
5647
  updatedAt?: Maybe<Scalars['Timestamp']>;
5339
5648
  };
5340
5649
  export declare type StorefrontJSScript = {
@@ -5376,6 +5685,52 @@ export declare type StorefrontJSScriptInput = {
5376
5685
  scriptContent: Scalars['String'];
5377
5686
  storefrontId: Scalars['String'];
5378
5687
  };
5688
+ export declare type StorefrontPolicy = {
5689
+ __typename?: 'StorefrontPolicy';
5690
+ createdAt?: Maybe<Scalars['Timestamp']>;
5691
+ currentVersionId: Scalars['String'];
5692
+ deleted: Scalars['Boolean'];
5693
+ id: Scalars['ID'];
5694
+ locale: Scalars['String'];
5695
+ name: Scalars['String'];
5696
+ sendEmail: Scalars['Boolean'];
5697
+ slug: Scalars['String'];
5698
+ storefrontId: Scalars['String'];
5699
+ storefrontRoutings: Array<StorefrontPolicyRouting>;
5700
+ type: StorefrontPolicyTypeEnum;
5701
+ updatedAt?: Maybe<Scalars['Timestamp']>;
5702
+ };
5703
+ export declare type StorefrontPolicyInput = {
5704
+ content: Scalars['String'];
5705
+ createdAt?: InputMaybe<Scalars['Timestamp']>;
5706
+ deleted?: InputMaybe<Scalars['Boolean']>;
5707
+ id?: InputMaybe<Scalars['ID']>;
5708
+ locale: Scalars['String'];
5709
+ name: Scalars['String'];
5710
+ sendEmail: Scalars['Boolean'];
5711
+ slug: Scalars['String'];
5712
+ storefrontId: Scalars['String'];
5713
+ storefrontRoutings: Array<StorefrontPolicyRoutingInput>;
5714
+ type: StorefrontPolicyTypeEnum;
5715
+ updatedAt?: InputMaybe<Scalars['Timestamp']>;
5716
+ };
5717
+ export declare type StorefrontPolicyRouting = {
5718
+ __typename?: 'StorefrontPolicyRouting';
5719
+ storefrontId: Scalars['String'];
5720
+ storefrontRoutingId: Scalars['String'];
5721
+ };
5722
+ export declare type StorefrontPolicyRoutingInput = {
5723
+ storefrontId: Scalars['String'];
5724
+ storefrontRoutingId: Scalars['String'];
5725
+ };
5726
+ export declare enum StorefrontPolicyTypeEnum {
5727
+ IMPRINT = "IMPRINT",
5728
+ OTHER = "OTHER",
5729
+ PRIVACY_POLICY = "PRIVACY_POLICY",
5730
+ RETURN_POLICY = "RETURN_POLICY",
5731
+ SHIPPING_POLICY = "SHIPPING_POLICY",
5732
+ TERMS_OF_SERVICE = "TERMS_OF_SERVICE"
5733
+ }
5379
5734
  export declare type StringFilterInput = {
5380
5735
  /** `equal`. The filter used for equality. */
5381
5736
  eq?: InputMaybe<Scalars['String']>;
@@ -5399,6 +5754,9 @@ export declare enum SubscriptionCodeEnum {
5399
5754
  EXTENSION = "EXTENSION",
5400
5755
  FREEMIUM = "FREEMIUM",
5401
5756
  GROW = "GROW",
5757
+ MARKETING_CORE = "MARKETING_CORE",
5758
+ MARKETING_FREE = "MARKETING_FREE",
5759
+ MARKETING_PRO = "MARKETING_PRO",
5402
5760
  ONE_TIME = "ONE_TIME",
5403
5761
  PREMIUM = "PREMIUM",
5404
5762
  SCALE = "SCALE",