@ikas/api-client 1.0.31 → 1.0.33

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.
@@ -417,13 +417,19 @@ export declare type BuyXThenGetYInput = {
417
417
  maxUsagePerOrder?: InputMaybe<Scalars['Int']>;
418
418
  };
419
419
  export declare type CSVExportFilterInput = {
420
+ attributeId?: InputMaybe<ProductAttributeFilterInput>;
420
421
  brandId?: InputMaybe<StringFilterInput>;
421
422
  categoryIds?: InputMaybe<CategoryFilterInput>;
423
+ id?: InputMaybe<StringFilterInput>;
424
+ name?: InputMaybe<StringFilterInput>;
422
425
  salesChannelIds?: InputMaybe<StringFilterInput>;
423
426
  stockLocationId?: InputMaybe<StringFilterInput>;
424
427
  tagIds?: InputMaybe<StringFilterInput>;
425
428
  totalStock?: InputMaybe<NumberFilterInput>;
426
429
  updatedAt?: InputMaybe<DateFilterInput>;
430
+ variantId?: InputMaybe<StringFilterInput>;
431
+ variantTypeId?: InputMaybe<StringFilterInput>;
432
+ vendorId?: InputMaybe<StringFilterInput>;
427
433
  };
428
434
  export declare type CSVImportResponse = {
429
435
  __typename?: 'CSVImportResponse';
@@ -501,7 +507,7 @@ export declare type CampaignInput = {
501
507
  createdFor?: InputMaybe<CampaignCreatedForEnum>;
502
508
  currencyCodes?: InputMaybe<Array<Scalars['String']>>;
503
509
  dateRange?: InputMaybe<CampaignDateRangeFieldInput>;
504
- deleted?: Scalars['Boolean'];
510
+ deleted?: InputMaybe<Scalars['Boolean']>;
505
511
  fixedDiscount?: InputMaybe<FixedDiscountInput>;
506
512
  hasCoupon: Scalars['Boolean'];
507
513
  id?: InputMaybe<Scalars['ID']>;
@@ -756,7 +762,7 @@ export declare type CartStorefrontRouting = {
756
762
  };
757
763
  export declare type CartStorefrontRoutingDynamicCurrencySettings = {
758
764
  __typename?: 'CartStorefrontRoutingDynamicCurrencySettings';
759
- /** One of '.x0' | '.x9' | '.00' | '.90' | '.99' | '0.00' */
765
+ /** One of '.x0' | '.x9' | '.00' | '.90' | '.99' | '0.00' | '9.90' */
760
766
  roundingFormat?: Maybe<Scalars['String']>;
761
767
  targetCurrencyCode: Scalars['String'];
762
768
  targetCurrencySymbol?: Maybe<Scalars['String']>;
@@ -803,6 +809,8 @@ export declare type Category = {
803
809
  parentId?: Maybe<Scalars['String']>;
804
810
  /** It is the information of which sales channel the product category is in. */
805
811
  salesChannelIds?: Maybe<Array<Scalars['String']>>;
812
+ /** List of hidden sales channels of the category. */
813
+ salesChannels?: Maybe<Array<CategorySalesChannel>>;
806
814
  shouldMatchAllConditions?: Maybe<Scalars['Boolean']>;
807
815
  /** It is the translation information of the product category. */
808
816
  translations?: Maybe<Array<CategoryTranslation>>;
@@ -843,7 +851,7 @@ export declare type CategoryFilterInput = {
843
851
  export declare type CategoryInput = {
844
852
  conditions?: InputMaybe<Array<CategoryConditionInput>>;
845
853
  createdAt?: InputMaybe<Scalars['Timestamp']>;
846
- deleted?: Scalars['Boolean'];
854
+ deleted?: InputMaybe<Scalars['Boolean']>;
847
855
  /** It is the description of the category of the product. */
848
856
  description?: InputMaybe<Scalars['String']>;
849
857
  id?: InputMaybe<Scalars['ID']>;
@@ -857,8 +865,8 @@ export declare type CategoryInput = {
857
865
  orderType?: InputMaybe<CategoryProductsOrderTypeEnum>;
858
866
  /** It is the id of the superclass category of the category. */
859
867
  parentId?: InputMaybe<Scalars['String']>;
860
- /** It is the information of which sales channel the product category is in. */
861
- salesChannelIds?: InputMaybe<Array<Scalars['String']>>;
868
+ /** List of hidden sales channels of the category. */
869
+ salesChannels?: InputMaybe<Array<CategorySalesChannelInput>>;
862
870
  shouldMatchAllConditions?: InputMaybe<Scalars['Boolean']>;
863
871
  /** It is the translation information of the product category. */
864
872
  translations?: InputMaybe<Array<CategoryTranslationInput>>;
@@ -893,9 +901,20 @@ export declare enum CategoryProductsOrderTypeEnum {
893
901
  LOWEST_DISCOUNT_RATIO = "LOWEST_DISCOUNT_RATIO",
894
902
  LOWEST_PRICE = "LOWEST_PRICE",
895
903
  MANUALLY = "MANUALLY",
904
+ NAME_ASC = "NAME_ASC",
905
+ NAME_DESC = "NAME_DESC",
896
906
  NEWEST = "NEWEST",
897
907
  OLDEST = "OLDEST"
898
908
  }
909
+ export declare type CategorySalesChannel = {
910
+ __typename?: 'CategorySalesChannel';
911
+ id: Scalars['String'];
912
+ status: SalesChannelStatusEnum;
913
+ };
914
+ export declare type CategorySalesChannelInput = {
915
+ id: Scalars['String'];
916
+ status: SalesChannelStatusEnum;
917
+ };
899
918
  export declare type CategoryTranslation = {
900
919
  __typename?: 'CategoryTranslation';
901
920
  /** It is the description information of the translation. */
@@ -1083,7 +1102,7 @@ export declare type CreateOrderInput = {
1083
1102
  currencyCode?: InputMaybe<Scalars['String']>;
1084
1103
  /** It is the customer information in the order. */
1085
1104
  customer?: InputMaybe<OrderCustomerInput>;
1086
- deleted?: Scalars['Boolean'];
1105
+ deleted?: InputMaybe<Scalars['Boolean']>;
1087
1106
  /** Host name of order source. */
1088
1107
  host?: InputMaybe<Scalars['String']>;
1089
1108
  id?: InputMaybe<Scalars['ID']>;
@@ -1153,6 +1172,8 @@ export declare type Customer = {
1153
1172
  emailVerifiedDate?: Maybe<Scalars['Timestamp']>;
1154
1173
  /** The customer's first name. */
1155
1174
  firstName: Scalars['String'];
1175
+ /** Date of first order by the customer */
1176
+ firstOrderDate?: Maybe<Scalars['Timestamp']>;
1156
1177
  /** Customer's full name. Firstname plus lastname if firstname and lastname exist. Otherwise, it is saved as firstname only. */
1157
1178
  fullName?: Maybe<Scalars['String']>;
1158
1179
  id: Scalars['ID'];
@@ -1163,6 +1184,12 @@ export declare type Customer = {
1163
1184
  isPhoneVerified?: Maybe<Scalars['Boolean']>;
1164
1185
  /** The customer's last name. */
1165
1186
  lastName?: Maybe<Scalars['String']>;
1187
+ /** Date of last order by the customer */
1188
+ lastOrderDate?: Maybe<Scalars['Timestamp']>;
1189
+ /** Last used price list id by the customer */
1190
+ lastPriceListId?: Maybe<Scalars['String']>;
1191
+ /** Last used storefront routing id by the customer */
1192
+ lastStorefrontRoutingId?: Maybe<Scalars['String']>;
1166
1193
  /** A note about the customer. */
1167
1194
  note?: Maybe<Scalars['String']>;
1168
1195
  /** Number of orders placed by the customer. */
@@ -1181,6 +1208,8 @@ export declare type Customer = {
1181
1208
  subscriptionStatusUpdatedAt?: Maybe<Scalars['Timestamp']>;
1182
1209
  /** Tags that the store owner attaches to the customer. */
1183
1210
  tagIds?: Maybe<Array<Scalars['String']>>;
1211
+ /** Amount of orders by the customer */
1212
+ totalOrderPrice?: Maybe<Scalars['Float']>;
1184
1213
  updatedAt?: Maybe<Scalars['Timestamp']>;
1185
1214
  userAgent?: Maybe<Scalars['String']>;
1186
1215
  };
@@ -1520,7 +1549,7 @@ export declare type HTMLMetaData = {
1520
1549
  export declare type HTMLMetaDataInput = {
1521
1550
  canonicals?: InputMaybe<Array<Scalars['String']>>;
1522
1551
  createdAt?: InputMaybe<Scalars['Timestamp']>;
1523
- deleted?: Scalars['Boolean'];
1552
+ deleted?: InputMaybe<Scalars['Boolean']>;
1524
1553
  description?: InputMaybe<Scalars['String']>;
1525
1554
  disableIndex?: InputMaybe<Scalars['Boolean']>;
1526
1555
  id?: InputMaybe<Scalars['ID']>;
@@ -1613,11 +1642,38 @@ export declare type ListAbandonedCartInput = {
1613
1642
  recoverEmailStatus?: InputMaybe<CheckoutRecoveryEmailStatusEnum>;
1614
1643
  recoveryStatus?: InputMaybe<CheckoutRecoveryStatusEnum>;
1615
1644
  };
1645
+ export declare type LocalDeliveryAvailableHoursRange = {
1646
+ __typename?: 'LocalDeliveryAvailableHoursRange';
1647
+ endTime: Scalars['String'];
1648
+ startTime: Scalars['String'];
1649
+ };
1650
+ export declare type LocalDeliverySettings = {
1651
+ __typename?: 'LocalDeliverySettings';
1652
+ activeDays: Array<LocalDeliverySettingsDayType>;
1653
+ activeLocalDeliveryHours?: Maybe<LocalDeliveryAvailableHoursRange>;
1654
+ timezone: Scalars['String'];
1655
+ };
1616
1656
  export declare type LocalDeliverySettingsDayEstimatedDeliveryTime = {
1617
1657
  __typename?: 'LocalDeliverySettingsDayEstimatedDeliveryTime';
1618
1658
  type: LocalDeliverySettingsDeliveryTimeType;
1619
1659
  value: Scalars['Float'];
1620
1660
  };
1661
+ export declare type LocalDeliverySettingsDayType = {
1662
+ __typename?: 'LocalDeliverySettingsDayType';
1663
+ activeLocalDeliveryHours?: Maybe<LocalDeliveryAvailableHoursRange>;
1664
+ day: LocalDeliverySettingsDayTypes;
1665
+ estimatedDeliveryTime?: Maybe<LocalDeliverySettingsDayEstimatedDeliveryTime>;
1666
+ };
1667
+ /** LocalDeliverySettingsDayTypes */
1668
+ export declare enum LocalDeliverySettingsDayTypes {
1669
+ FRIDAY = "FRIDAY",
1670
+ MONDAY = "MONDAY",
1671
+ SATURDAY = "SATURDAY",
1672
+ SUNDAY = "SUNDAY",
1673
+ THURSDAY = "THURSDAY",
1674
+ TUESDAY = "TUESDAY",
1675
+ WEDNESDAY = "WEDNESDAY"
1676
+ }
1621
1677
  /** LocalDeliverySettingsDeliveryTimeType */
1622
1678
  export declare enum LocalDeliverySettingsDeliveryTimeType {
1623
1679
  DAY = "DAY",
@@ -1913,6 +1969,8 @@ export declare type Mutation = {
1913
1969
  deleteProductTagList: Scalars['Boolean'];
1914
1970
  /** Using this api, you can delete the units of products. */
1915
1971
  deleteProductUnitList: Scalars['Boolean'];
1972
+ /** Using this api, you can delete the product volume discounts */
1973
+ deleteProductVolumeDiscountList: Scalars['Boolean'];
1916
1974
  /** Using this api, you can delete javascript script from a the storefront. */
1917
1975
  deleteStorefrontJSScript: Scalars['Boolean'];
1918
1976
  /** Using this api, you can delete the variant types of products. */
@@ -1946,6 +2004,8 @@ export declare type Mutation = {
1946
2004
  saveProductTag: ProductTag;
1947
2005
  /** Using this api, you can update the units of products. */
1948
2006
  saveProductUnit: ProductUnit;
2007
+ /** Using this api, you can update the product volume discounts */
2008
+ saveProductVolumeDiscount: ProductVolumeDiscount;
1949
2009
  /** Using this api you can update the sales channel name, priceList Id and stockLocations properties. */
1950
2010
  saveSalesChannel?: Maybe<SalesChannel>;
1951
2011
  /** Using this api, you can save javascript script to a the storefront. */
@@ -2029,6 +2089,9 @@ export declare type MutationdeleteProductTagListArgs = {
2029
2089
  export declare type MutationdeleteProductUnitListArgs = {
2030
2090
  idList: Array<Scalars['String']>;
2031
2091
  };
2092
+ export declare type MutationdeleteProductVolumeDiscountListArgs = {
2093
+ idList: Array<Scalars['String']>;
2094
+ };
2032
2095
  export declare type MutationdeleteStorefrontJSScriptArgs = {
2033
2096
  storefrontIdList: Array<Scalars['String']>;
2034
2097
  };
@@ -2087,6 +2150,9 @@ export declare type MutationsaveProductTagArgs = {
2087
2150
  export declare type MutationsaveProductUnitArgs = {
2088
2151
  input: ProductUnitInput;
2089
2152
  };
2153
+ export declare type MutationsaveProductVolumeDiscountArgs = {
2154
+ input: ProductVolumeDiscountInput;
2155
+ };
2090
2156
  export declare type MutationsaveSalesChannelArgs = {
2091
2157
  input: SalesChannelInput;
2092
2158
  };
@@ -2204,6 +2270,7 @@ export declare type Order = {
2204
2270
  isGiftPackage?: Maybe<Scalars['Boolean']>;
2205
2271
  itemCount?: Maybe<Scalars['Float']>;
2206
2272
  lastActivityDate?: Maybe<Scalars['Timestamp']>;
2273
+ marketingCampaignId?: Maybe<Scalars['String']>;
2207
2274
  merchantId: Scalars['String'];
2208
2275
  /** An optional note, can attach to the order. */
2209
2276
  note?: Maybe<Scalars['String']>;
@@ -2441,6 +2508,8 @@ export declare type OrderAdjustment = {
2441
2508
  name: Scalars['String'];
2442
2509
  /** It is the order of the adjustment. Adjustments are applied in this order. */
2443
2510
  order: Scalars['Float'];
2511
+ /** The amount is the id of the transaction. */
2512
+ transactionId?: Maybe<Scalars['String']>;
2444
2513
  type: OrderAdjustmentEnum;
2445
2514
  };
2446
2515
  export declare type OrderAdjustmentAppliedOrderLine = {
@@ -2547,6 +2616,8 @@ export declare type OrderCustomerInput = {
2547
2616
  };
2548
2617
  export declare type OrderGiftPackageLine = {
2549
2618
  __typename?: 'OrderGiftPackageLine';
2619
+ /** Indicates whether the gift cost is refunded if the order is refunded. **isRefunded** returns `true` if the amount is refunded. */
2620
+ isRefunded?: Maybe<Scalars['Boolean']>;
2550
2621
  /** It is the price of the order gift package line. */
2551
2622
  price: Scalars['Float'];
2552
2623
  /** It is the tax value of the order gift package line price. */
@@ -2585,6 +2656,8 @@ export declare type OrderLineBundleVariant = {
2585
2656
  prices?: Maybe<Array<OrderLineVariantPrice>>;
2586
2657
  /** It is the product id of the variant. */
2587
2658
  productId?: Maybe<Scalars['String']>;
2659
+ /** It is the product volume discount id of the product. */
2660
+ productVolumeDiscountId?: Maybe<Scalars['String']>;
2588
2661
  /** It is the sku of the variant. */
2589
2662
  sku?: Maybe<Scalars['String']>;
2590
2663
  /** It is the slug of the variant. The slug value is unique each variant and product. */
@@ -2612,6 +2685,7 @@ export declare type OrderLineDiscount = {
2612
2685
  campaignOfferId?: Maybe<Scalars['String']>;
2613
2686
  campaignOfferProductId?: Maybe<Scalars['String']>;
2614
2687
  maxApplicableQuantity?: Maybe<Scalars['Float']>;
2688
+ productVolumeDiscountId?: Maybe<Scalars['String']>;
2615
2689
  reason?: Maybe<Scalars['String']>;
2616
2690
  };
2617
2691
  export declare type OrderLineDiscountInput = {
@@ -2664,7 +2738,7 @@ export declare type OrderLineItem = {
2664
2738
  };
2665
2739
  export declare type OrderLineItemInput = {
2666
2740
  createdAt?: InputMaybe<Scalars['Timestamp']>;
2667
- deleted?: Scalars['Boolean'];
2741
+ deleted?: InputMaybe<Scalars['Boolean']>;
2668
2742
  /** It is the discount information that will be applied to the line item. */
2669
2743
  discount?: InputMaybe<OrderLineDiscountInput>;
2670
2744
  /** It is the discount price of the line item. */
@@ -2755,6 +2829,8 @@ export declare type OrderLineVariant = {
2755
2829
  prices?: Maybe<Array<OrderLineVariantPrice>>;
2756
2830
  /** It is the product id of the variant. */
2757
2831
  productId?: Maybe<Scalars['String']>;
2832
+ /** It is the product volume discount id of the product. */
2833
+ productVolumeDiscountId?: Maybe<Scalars['String']>;
2758
2834
  /** It is the sku of the variant. */
2759
2835
  sku?: Maybe<Scalars['String']>;
2760
2836
  /** It is the slug of the variant. The slug value is unique each variant and product. */
@@ -3023,6 +3099,7 @@ export declare type OrderRefundInput = {
3023
3099
  orderRefundLines: Array<OrderRefundLineInput>;
3024
3100
  paymentGatewayId: Scalars['String'];
3025
3101
  reason?: InputMaybe<Scalars['String']>;
3102
+ refundGift?: InputMaybe<Scalars['Boolean']>;
3026
3103
  refundShipping?: InputMaybe<Scalars['Boolean']>;
3027
3104
  sendNotificationToCustomer?: InputMaybe<Scalars['Boolean']>;
3028
3105
  stockLocationId: Scalars['String'];
@@ -3095,6 +3172,8 @@ export declare type OrderShippingLine = {
3095
3172
  taxValue?: Maybe<Scalars['Float']>;
3096
3173
  /** It is the title of the order shipping line. */
3097
3174
  title: Scalars['String'];
3175
+ /** The amount is the id of the transaction. */
3176
+ transactionId?: Maybe<Scalars['String']>;
3098
3177
  };
3099
3178
  export declare type OrderShippingLineInput = {
3100
3179
  /** It is the price of the order shipping line. */
@@ -3126,6 +3205,8 @@ export declare type OrderStaff = {
3126
3205
  email: Scalars['String'];
3127
3206
  /** It is the first name of the staff who created the order. */
3128
3207
  firstName: Scalars['String'];
3208
+ /** It is the first name of the staff who created the order. */
3209
+ id: Scalars['String'];
3129
3210
  /** It is the last name of the staff who created the order. */
3130
3211
  lastName: Scalars['String'];
3131
3212
  };
@@ -3179,7 +3260,7 @@ export declare type OrderStorefrontRouting = {
3179
3260
  };
3180
3261
  export declare type OrderStorefrontRoutingDynamicCurrencySettings = {
3181
3262
  __typename?: 'OrderStorefrontRoutingDynamicCurrencySettings';
3182
- /** One of '.x0' | '.x9' | '.00' | '.90' | '.99' | '0.00' */
3263
+ /** One of '.x0' | '.x9' | '.00' | '.90' | '.99' | '0.00' | '9.90' */
3183
3264
  roundingFormat?: Maybe<Scalars['String']>;
3184
3265
  targetCurrencyCode: Scalars['String'];
3185
3266
  };
@@ -3205,7 +3286,7 @@ export declare type OrderTag = {
3205
3286
  };
3206
3287
  export declare type OrderTagInput = {
3207
3288
  createdAt?: InputMaybe<Scalars['Timestamp']>;
3208
- deleted?: Scalars['Boolean'];
3289
+ deleted?: InputMaybe<Scalars['Boolean']>;
3209
3290
  id?: InputMaybe<Scalars['ID']>;
3210
3291
  name: Scalars['String'];
3211
3292
  updatedAt?: InputMaybe<Scalars['Timestamp']>;
@@ -3303,6 +3384,8 @@ export declare type Product = {
3303
3384
  productOptionSetId?: Maybe<Scalars['String']>;
3304
3385
  /** Variant types of the product. */
3305
3386
  productVariantTypes?: Maybe<Array<ProductVariantType>>;
3387
+ /** Volume discount id of the product. */
3388
+ productVolumeDiscountId?: Maybe<Scalars['String']>;
3306
3389
  /** List of sales channel ids of the product. */
3307
3390
  salesChannelIds?: Maybe<Array<Scalars['String']>>;
3308
3391
  /** Short description of the product. */
@@ -3343,9 +3426,14 @@ export declare type ProductAttribute = {
3343
3426
  type: ProductAttributeTypeEnum;
3344
3427
  updatedAt?: Maybe<Scalars['Timestamp']>;
3345
3428
  };
3429
+ export declare type ProductAttributeFilterInput = {
3430
+ eq?: InputMaybe<Scalars['String']>;
3431
+ in?: InputMaybe<Array<Scalars['String']>>;
3432
+ nin?: InputMaybe<Array<Scalars['String']>>;
3433
+ };
3346
3434
  export declare type ProductAttributeInput = {
3347
3435
  createdAt?: InputMaybe<Scalars['Timestamp']>;
3348
- deleted?: Scalars['Boolean'];
3436
+ deleted?: InputMaybe<Scalars['Boolean']>;
3349
3437
  description?: InputMaybe<Scalars['String']>;
3350
3438
  id?: InputMaybe<Scalars['ID']>;
3351
3439
  name: Scalars['String'];
@@ -3366,7 +3454,7 @@ export declare type ProductAttributeOption = {
3366
3454
  };
3367
3455
  export declare type ProductAttributeOptionInput = {
3368
3456
  createdAt?: InputMaybe<Scalars['Timestamp']>;
3369
- deleted?: Scalars['Boolean'];
3457
+ deleted?: InputMaybe<Scalars['Boolean']>;
3370
3458
  id?: InputMaybe<Scalars['ID']>;
3371
3459
  name: Scalars['String'];
3372
3460
  updatedAt?: InputMaybe<Scalars['Timestamp']>;
@@ -3485,7 +3573,7 @@ export declare type ProductBrand = {
3485
3573
  };
3486
3574
  export declare type ProductBrandInput = {
3487
3575
  createdAt?: InputMaybe<Scalars['Timestamp']>;
3488
- deleted?: Scalars['Boolean'];
3576
+ deleted?: InputMaybe<Scalars['Boolean']>;
3489
3577
  /** The description of the product's brand. */
3490
3578
  description?: InputMaybe<Scalars['String']>;
3491
3579
  id?: InputMaybe<Scalars['ID']>;
@@ -3549,7 +3637,7 @@ export declare type ProductInput = {
3549
3637
  brandId?: InputMaybe<Scalars['String']>;
3550
3638
  categoryIds?: InputMaybe<Array<Scalars['String']>>;
3551
3639
  createdAt?: InputMaybe<Scalars['Timestamp']>;
3552
- deleted?: Scalars['Boolean'];
3640
+ deleted?: InputMaybe<Scalars['Boolean']>;
3553
3641
  description?: InputMaybe<Scalars['String']>;
3554
3642
  googleTaxonomyId?: InputMaybe<Scalars['String']>;
3555
3643
  groupVariantsByVariantTypeId?: InputMaybe<Scalars['String']>;
@@ -3561,6 +3649,7 @@ export declare type ProductInput = {
3561
3649
  name: Scalars['String'];
3562
3650
  productOptionSetId?: InputMaybe<Scalars['String']>;
3563
3651
  productVariantTypes?: InputMaybe<Array<ProductVariantTypeInput>>;
3652
+ productVolumeDiscountId?: InputMaybe<Scalars['String']>;
3564
3653
  salesChannelIds?: InputMaybe<Array<Scalars['String']>>;
3565
3654
  shortDescription?: InputMaybe<Scalars['String']>;
3566
3655
  tagIds?: InputMaybe<Array<Scalars['String']>>;
@@ -3763,7 +3852,7 @@ export declare type ProductStockLocation = {
3763
3852
  };
3764
3853
  export declare type ProductStockLocationInput = {
3765
3854
  createdAt?: InputMaybe<Scalars['Timestamp']>;
3766
- deleted?: Scalars['Boolean'];
3855
+ deleted?: InputMaybe<Scalars['Boolean']>;
3767
3856
  id?: InputMaybe<Scalars['ID']>;
3768
3857
  /** It is the product id to which the variant associated. */
3769
3858
  productId: Scalars['String'];
@@ -3817,7 +3906,7 @@ export declare type ProductTag = {
3817
3906
  };
3818
3907
  export declare type ProductTagInput = {
3819
3908
  createdAt?: InputMaybe<Scalars['Timestamp']>;
3820
- deleted?: Scalars['Boolean'];
3909
+ deleted?: InputMaybe<Scalars['Boolean']>;
3821
3910
  id?: InputMaybe<Scalars['ID']>;
3822
3911
  /** The name of the product's tag. */
3823
3912
  name: Scalars['String'];
@@ -3876,7 +3965,7 @@ export declare type ProductUnit = {
3876
3965
  };
3877
3966
  export declare type ProductUnitInput = {
3878
3967
  createdAt?: InputMaybe<Scalars['Timestamp']>;
3879
- deleted?: Scalars['Boolean'];
3968
+ deleted?: InputMaybe<Scalars['Boolean']>;
3880
3969
  id?: InputMaybe<Scalars['ID']>;
3881
3970
  /** The name of the product's unit. */
3882
3971
  name: Scalars['String'];
@@ -3929,6 +4018,49 @@ export declare type ProductVariantTypeInput = {
3929
4018
  variantTypeId: Scalars['String'];
3930
4019
  variantValueIds: Array<Scalars['String']>;
3931
4020
  };
4021
+ export declare type ProductVolumeDiscount = {
4022
+ __typename?: 'ProductVolumeDiscount';
4023
+ createdAt?: Maybe<Scalars['Timestamp']>;
4024
+ deleted: Scalars['Boolean'];
4025
+ id: Scalars['ID'];
4026
+ /** The name of the product volume discount. */
4027
+ name: Scalars['String'];
4028
+ /** Shows the product volume discount rules. */
4029
+ rules: Array<ProductVolumeDiscountRule>;
4030
+ /** Determines whether variants will be evaluated separately. */
4031
+ scope: ProductVolumeDiscountScopeEnum;
4032
+ updatedAt?: Maybe<Scalars['Timestamp']>;
4033
+ };
4034
+ export declare type ProductVolumeDiscountInput = {
4035
+ createdAt?: InputMaybe<Scalars['Timestamp']>;
4036
+ deleted?: InputMaybe<Scalars['Boolean']>;
4037
+ id?: InputMaybe<Scalars['ID']>;
4038
+ /** The name of the product volume discount. */
4039
+ name: Scalars['String'];
4040
+ /** Shows the product volume discount rules. */
4041
+ rules: Array<ProductVolumeDiscountRuleInput>;
4042
+ /** Determines whether variants will be evaluated separately. */
4043
+ scope: ProductVolumeDiscountScopeEnum;
4044
+ updatedAt?: InputMaybe<Scalars['Timestamp']>;
4045
+ };
4046
+ export declare type ProductVolumeDiscountRule = {
4047
+ __typename?: 'ProductVolumeDiscountRule';
4048
+ /** Shows the discount amount of the rule. */
4049
+ discountRatio: Scalars['Float'];
4050
+ /** It shows the quantity of the product that will be included in the rule. */
4051
+ lineItemQuantityRange: VolumeDiscountMinMaxRangeField;
4052
+ };
4053
+ export declare type ProductVolumeDiscountRuleInput = {
4054
+ /** Shows the discount amount of the rule. */
4055
+ discountRatio: Scalars['Float'];
4056
+ /** It shows the quantity of the product that will be included in the rule. */
4057
+ lineItemQuantityRange: VolumeDiscountMinMaxRangeFieldInput;
4058
+ };
4059
+ /** Product Volume Discount Scope Enum */
4060
+ export declare enum ProductVolumeDiscountScopeEnum {
4061
+ PRODUCT = "PRODUCT",
4062
+ VARIANT = "VARIANT"
4063
+ }
3932
4064
  export declare type PublicTransaction = {
3933
4065
  __typename?: 'PublicTransaction';
3934
4066
  amount: Scalars['Float'];
@@ -4010,7 +4142,10 @@ export declare type Query = {
4010
4142
  listProductTag: Array<ProductTag>;
4011
4143
  /** Using this api, you can view the units of products. */
4012
4144
  listProductUnit: Array<ProductUnit>;
4145
+ /** Using this api, you can view the product volume discounts. */
4146
+ listProductVolumeDiscount: Array<ProductVolumeDiscount>;
4013
4147
  listSalesChannel: Array<SalesChannel>;
4148
+ listShippingSettings: Array<ShippingSettings>;
4014
4149
  listState: Array<State>;
4015
4150
  listStockLocation: Array<StockLocation>;
4016
4151
  listStorefront: Array<Storefront>;
@@ -4160,6 +4295,7 @@ export declare type QuerylistPriceListArgs = {
4160
4295
  id?: InputMaybe<StringFilterInput>;
4161
4296
  };
4162
4297
  export declare type QuerylistProductArgs = {
4298
+ attributeId?: InputMaybe<ProductAttributeFilterInput>;
4163
4299
  barcodeList?: InputMaybe<StringFilterInput>;
4164
4300
  brandId?: InputMaybe<StringFilterInput>;
4165
4301
  categoryIds?: InputMaybe<CategoryFilterInput>;
@@ -4172,6 +4308,7 @@ export declare type QuerylistProductArgs = {
4172
4308
  sort?: InputMaybe<Scalars['String']>;
4173
4309
  tagIds?: InputMaybe<StringFilterInput>;
4174
4310
  variantStockLocationId?: InputMaybe<StringFilterInput>;
4311
+ variantTypeId?: InputMaybe<StringFilterInput>;
4175
4312
  vendorId?: InputMaybe<StringFilterInput>;
4176
4313
  };
4177
4314
  export declare type QuerylistProductAttributeArgs = {
@@ -4208,6 +4345,9 @@ export declare type QuerylistProductTagArgs = {
4208
4345
  export declare type QuerylistProductUnitArgs = {
4209
4346
  id?: InputMaybe<StringFilterInput>;
4210
4347
  };
4348
+ export declare type QuerylistProductVolumeDiscountArgs = {
4349
+ id?: InputMaybe<StringFilterInput>;
4350
+ };
4211
4351
  export declare type QuerylistSalesChannelArgs = {
4212
4352
  id?: InputMaybe<StringFilterInput>;
4213
4353
  };
@@ -4309,6 +4449,10 @@ export declare type SalesChannelPaymentGateway = {
4309
4449
  /** The field where the Sales Channel Stock Position order is kept. */
4310
4450
  order: Scalars['Float'];
4311
4451
  };
4452
+ export declare enum SalesChannelStatusEnum {
4453
+ HIDDEN = "HIDDEN",
4454
+ VISIBLE = "VISIBLE"
4455
+ }
4312
4456
  export declare type SalesChannelStockLocation = {
4313
4457
  __typename?: 'SalesChannelStockLocation';
4314
4458
  id: Scalars['String'];
@@ -4324,6 +4468,7 @@ export declare type SalesChannelStockLocationInput = {
4324
4468
  export declare enum SalesChannelTypeEnum {
4325
4469
  ADMIN = "ADMIN",
4326
4470
  APP = "APP",
4471
+ B2B_STOREFRONT = "B2B_STOREFRONT",
4327
4472
  FACEBOOK = "FACEBOOK",
4328
4473
  GOOGLE = "GOOGLE",
4329
4474
  POS = "POS",
@@ -4402,6 +4547,7 @@ export declare type SearchProduct = {
4402
4547
  name: Scalars['String'];
4403
4548
  productOptionSetId?: Maybe<Scalars['String']>;
4404
4549
  productVariantTypes: Array<SearchProductVariantType>;
4550
+ productVolumeDiscountId?: Maybe<Scalars['String']>;
4405
4551
  reviewCount?: Maybe<Scalars['Float']>;
4406
4552
  salesChannelIds?: Maybe<Array<Scalars['String']>>;
4407
4553
  shortDescription?: Maybe<Scalars['String']>;
@@ -4575,6 +4721,85 @@ export declare type SearchVariationValueRelation = {
4575
4721
  variantTypeId: Scalars['String'];
4576
4722
  variantValueId: Scalars['String'];
4577
4723
  };
4724
+ export declare type ShippingSettings = {
4725
+ __typename?: 'ShippingSettings';
4726
+ createdAt?: Maybe<Scalars['Timestamp']>;
4727
+ deleted: Scalars['Boolean'];
4728
+ id: Scalars['ID'];
4729
+ isPassive?: Maybe<Scalars['Boolean']>;
4730
+ localDeliverySettings?: Maybe<LocalDeliverySettings>;
4731
+ salesChannelId: Scalars['String'];
4732
+ shippingZones: Array<ShippingZone>;
4733
+ stockLocations?: Maybe<Array<ShippingSettingsStockLocation>>;
4734
+ type: ShippingSettingsType;
4735
+ updatedAt?: Maybe<Scalars['Timestamp']>;
4736
+ zoneName: Scalars['String'];
4737
+ zoneRate: Array<ShippingZoneRate>;
4738
+ };
4739
+ export declare type ShippingSettingsStockLocation = {
4740
+ __typename?: 'ShippingSettingsStockLocation';
4741
+ order: Scalars['Float'];
4742
+ stockLocationId: Scalars['String'];
4743
+ };
4744
+ /** ShippingSettingsType */
4745
+ export declare enum ShippingSettingsType {
4746
+ LOCAL_DELIVERY = "LOCAL_DELIVERY",
4747
+ SHIPMENT = "SHIPMENT"
4748
+ }
4749
+ export declare type ShippingZone = {
4750
+ __typename?: 'ShippingZone';
4751
+ countryId: Scalars['String'];
4752
+ postalCodes?: Maybe<Array<Scalars['String']>>;
4753
+ states?: Maybe<Array<ShippingZoneState>>;
4754
+ };
4755
+ export declare type ShippingZoneCity = {
4756
+ __typename?: 'ShippingZoneCity';
4757
+ districts?: Maybe<Array<ShippingZoneDistrict>>;
4758
+ id: Scalars['String'];
4759
+ };
4760
+ export declare type ShippingZoneDistrict = {
4761
+ __typename?: 'ShippingZoneDistrict';
4762
+ id: Scalars['String'];
4763
+ regions: Array<ShippingZoneRegion>;
4764
+ };
4765
+ export declare type ShippingZoneRate = {
4766
+ __typename?: 'ShippingZoneRate';
4767
+ condition?: Maybe<ShippingZoneRateCondition>;
4768
+ createdAt?: Maybe<Scalars['Timestamp']>;
4769
+ currency?: Maybe<Scalars['String']>;
4770
+ currencyCode?: Maybe<Scalars['String']>;
4771
+ currencySymbol?: Maybe<Scalars['String']>;
4772
+ deleted: Scalars['Boolean'];
4773
+ id: Scalars['ID'];
4774
+ price: Scalars['Float'];
4775
+ rateName: Scalars['String'];
4776
+ updatedAt?: Maybe<Scalars['Timestamp']>;
4777
+ };
4778
+ export declare type ShippingZoneRateCondition = {
4779
+ __typename?: 'ShippingZoneRateCondition';
4780
+ maxAmount?: Maybe<Scalars['Float']>;
4781
+ minAmount?: Maybe<Scalars['Float']>;
4782
+ type: ShippingZoneRateConditionType;
4783
+ };
4784
+ /** ShippingZoneRateConditionType */
4785
+ export declare enum ShippingZoneRateConditionType {
4786
+ BASED_ON_ITEM_WEIGHT = "BASED_ON_ITEM_WEIGHT",
4787
+ BASED_ON_ORDER_PRICE = "BASED_ON_ORDER_PRICE"
4788
+ }
4789
+ export declare type ShippingZoneRegion = {
4790
+ __typename?: 'ShippingZoneRegion';
4791
+ createdAt?: Maybe<Scalars['Timestamp']>;
4792
+ deleted: Scalars['Boolean'];
4793
+ id: Scalars['ID'];
4794
+ name: Scalars['String'];
4795
+ updatedAt?: Maybe<Scalars['Timestamp']>;
4796
+ };
4797
+ export declare type ShippingZoneState = {
4798
+ __typename?: 'ShippingZoneState';
4799
+ cities?: Maybe<Array<ShippingZoneCity>>;
4800
+ id: Scalars['String'];
4801
+ postalCodes?: Maybe<Array<Scalars['String']>>;
4802
+ };
4578
4803
  export declare type SimpleCategory = {
4579
4804
  __typename?: 'SimpleCategory';
4580
4805
  createdAt?: Maybe<Scalars['Timestamp']>;
@@ -5019,7 +5244,7 @@ export declare type VariantInput = {
5019
5244
  barcodeList?: InputMaybe<Array<Scalars['String']>>;
5020
5245
  bundleSettings?: InputMaybe<BundleSettingsInput>;
5021
5246
  createdAt?: InputMaybe<Scalars['Timestamp']>;
5022
- deleted?: Scalars['Boolean'];
5247
+ deleted?: InputMaybe<Scalars['Boolean']>;
5023
5248
  fileId?: InputMaybe<Scalars['String']>;
5024
5249
  hsCode?: InputMaybe<Scalars['String']>;
5025
5250
  id?: InputMaybe<Scalars['ID']>;
@@ -5064,7 +5289,7 @@ export declare type VariantType = {
5064
5289
  };
5065
5290
  export declare type VariantTypeInput = {
5066
5291
  createdAt?: InputMaybe<Scalars['Timestamp']>;
5067
- deleted?: Scalars['Boolean'];
5292
+ deleted?: InputMaybe<Scalars['Boolean']>;
5068
5293
  id?: InputMaybe<Scalars['ID']>;
5069
5294
  /** Product variant type name information. **For example: Size, Color, Number etc.**.It can be a maximum of 100 characters. */
5070
5295
  name: Scalars['String'];
@@ -5121,7 +5346,7 @@ export declare type VariantValueInput = {
5121
5346
  /** It is the color code information of the variant values. It can be a maximum of 7 characters. */
5122
5347
  colorCode?: InputMaybe<Scalars['String']>;
5123
5348
  createdAt?: InputMaybe<Scalars['Timestamp']>;
5124
- deleted?: Scalars['Boolean'];
5349
+ deleted?: InputMaybe<Scalars['Boolean']>;
5125
5350
  id?: InputMaybe<Scalars['ID']>;
5126
5351
  /** It is the name information of the values used in the Variant type. Value information of Variant type is unique according to name.It can be a maximum of 100 characters. */
5127
5352
  name: Scalars['String'];
@@ -5171,7 +5396,7 @@ export declare type VendorInput = {
5171
5396
  address?: InputMaybe<Scalars['String']>;
5172
5397
  company?: InputMaybe<Scalars['String']>;
5173
5398
  createdAt?: InputMaybe<Scalars['Timestamp']>;
5174
- deleted?: Scalars['Boolean'];
5399
+ deleted?: InputMaybe<Scalars['Boolean']>;
5175
5400
  email?: InputMaybe<Scalars['String']>;
5176
5401
  id?: InputMaybe<Scalars['ID']>;
5177
5402
  name: Scalars['String'];
@@ -5187,6 +5412,19 @@ export declare enum VendorStatusEnum {
5187
5412
  ACTIVE = "ACTIVE",
5188
5413
  ARCHIVED = "ARCHIVED"
5189
5414
  }
5415
+ export declare type VolumeDiscountMinMaxRangeField = {
5416
+ __typename?: 'VolumeDiscountMinMaxRangeField';
5417
+ /** Indicates the minimum amount of the product to be included in the rule. */
5418
+ max?: Maybe<Scalars['Float']>;
5419
+ /** Indicates the minimum amount of the product to be included in the rule. */
5420
+ min: Scalars['Float'];
5421
+ };
5422
+ export declare type VolumeDiscountMinMaxRangeFieldInput = {
5423
+ /** Indicates the maximum amount of the product to be included in the rule. */
5424
+ max?: InputMaybe<Scalars['Float']>;
5425
+ /** Indicates the minimum amount of the product to be included in the rule. */
5426
+ min: Scalars['Float'];
5427
+ };
5190
5428
  /** **Webhook** model description. */
5191
5429
  export declare type Webhook = {
5192
5430
  __typename?: 'Webhook';