@ikas/api-client 1.0.13-alpha.0 → 1.0.13-alpha.10

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.
@@ -57,16 +57,6 @@ export declare type AddOrderInvoiceInput = {
57
57
  /** It is the type enum of the invoice. */
58
58
  type: InvoiceTypeEnum;
59
59
  };
60
- /** OrderAdjustment Enum */
61
- export declare enum AdjustmentEnum {
62
- DECREMENT = "DECREMENT",
63
- INCREMENT = "INCREMENT"
64
- }
65
- /** Amount Type Enum */
66
- export declare enum AmountTypeEnum {
67
- AMOUNT = "AMOUNT",
68
- RATIO = "RATIO"
69
- }
70
60
  /** Scope Enum for Apps */
71
61
  export declare enum AppScopeEnum {
72
62
  READ_CAMPAIGNS = "READ_CAMPAIGNS",
@@ -83,7 +73,7 @@ export declare enum AppScopeEnum {
83
73
  }
84
74
  export declare type ApproveOrderTransactionsInput = {
85
75
  orderId: Scalars['String'];
86
- paymentMethods?: InputMaybe<Array<PaymentMethodEnum>>;
76
+ paymentMethods?: InputMaybe<Array<PaymentMethodTypeEnum>>;
87
77
  };
88
78
  export declare type AuthorizedApp = {
89
79
  __typename?: 'AuthorizedApp';
@@ -106,10 +96,87 @@ export declare type AvailableShippingMethod = {
106
96
  __typename?: 'AvailableShippingMethod';
107
97
  price: Scalars['Float'];
108
98
  rateName: Scalars['String'];
109
- shippingMethod: ShippingMethodEnum;
99
+ shippingMethod: OrderShippingMethodEnum;
110
100
  shippingSettingsId: Scalars['String'];
111
101
  shippingZoneRateId: Scalars['String'];
112
102
  };
103
+ export declare type Branch = {
104
+ __typename?: 'Branch';
105
+ address: BranchAddress;
106
+ createdAt?: Maybe<Scalars['Timestamp']>;
107
+ deleted?: Maybe<Scalars['Boolean']>;
108
+ favoriteItems?: Maybe<Array<BranchFavoriteItem>>;
109
+ id: Scalars['ID'];
110
+ name: Scalars['String'];
111
+ salesChannelId: Scalars['String'];
112
+ settings?: Maybe<BranchSettings>;
113
+ updatedAt?: Maybe<Scalars['Timestamp']>;
114
+ };
115
+ export declare type BranchAddress = {
116
+ __typename?: 'BranchAddress';
117
+ address: Scalars['String'];
118
+ city: BranchAddressCity;
119
+ country: BranchAddressCountry;
120
+ district?: Maybe<BranchAddressDistrict>;
121
+ phone?: Maybe<Scalars['String']>;
122
+ postalCode: Scalars['String'];
123
+ state?: Maybe<BranchAddressState>;
124
+ };
125
+ export declare type BranchAddressCity = {
126
+ __typename?: 'BranchAddressCity';
127
+ code?: Maybe<Scalars['String']>;
128
+ id?: Maybe<Scalars['String']>;
129
+ name: Scalars['String'];
130
+ };
131
+ export declare type BranchAddressCountry = {
132
+ __typename?: 'BranchAddressCountry';
133
+ code?: Maybe<Scalars['String']>;
134
+ id?: Maybe<Scalars['String']>;
135
+ name: Scalars['String'];
136
+ };
137
+ export declare type BranchAddressDistrict = {
138
+ __typename?: 'BranchAddressDistrict';
139
+ code?: Maybe<Scalars['String']>;
140
+ id?: Maybe<Scalars['String']>;
141
+ name?: Maybe<Scalars['String']>;
142
+ };
143
+ export declare type BranchAddressState = {
144
+ __typename?: 'BranchAddressState';
145
+ code?: Maybe<Scalars['String']>;
146
+ id?: Maybe<Scalars['String']>;
147
+ name?: Maybe<Scalars['String']>;
148
+ };
149
+ export declare type BranchFavoriteItem = {
150
+ __typename?: 'BranchFavoriteItem';
151
+ order: Scalars['Float'];
152
+ targetId: Scalars['String'];
153
+ targetParentId: Scalars['String'];
154
+ type: BranchFavoriteTypeEnum;
155
+ };
156
+ export declare enum BranchFavoriteTypeEnum {
157
+ CATEGORY = "CATEGORY",
158
+ DISCOUNT = "DISCOUNT",
159
+ PRODUCT = "PRODUCT",
160
+ VARIANT = "VARIANT"
161
+ }
162
+ export declare type BranchSettings = {
163
+ __typename?: 'BranchSettings';
164
+ customerRequirement?: Maybe<BranchSettingsRequirementEnum>;
165
+ gridLayout?: Maybe<BranchSettingsGridLayoutEnum>;
166
+ hideOutOfStockProducts?: Maybe<Scalars['Boolean']>;
167
+ lockTime?: Maybe<Scalars['Float']>;
168
+ pinRequirement?: Maybe<BranchSettingsRequirementEnum>;
169
+ sellOutOfStockProducts?: Maybe<Scalars['Boolean']>;
170
+ };
171
+ export declare enum BranchSettingsGridLayoutEnum {
172
+ FOUR_FIVE = "FOUR_FIVE",
173
+ THREE_FOUR = "THREE_FOUR",
174
+ TWO_EIGHT = "TWO_EIGHT"
175
+ }
176
+ export declare enum BranchSettingsRequirementEnum {
177
+ MANDATORY = "MANDATORY",
178
+ OPTIONAL = "OPTIONAL"
179
+ }
113
180
  export declare type BulkUpdateProductBrandInput = {
114
181
  /** Description of the brand. */
115
182
  description?: InputMaybe<Scalars['String']>;
@@ -265,9 +332,53 @@ export declare type BulkUpdateProductsInput = {
265
332
  /** Weight of the product. */
266
333
  weight?: InputMaybe<Scalars['Float']>;
267
334
  };
335
+ export declare type BundleProductInput = {
336
+ addToBundleBasePrice?: InputMaybe<Scalars['Boolean']>;
337
+ discountRatio?: InputMaybe<Scalars['Float']>;
338
+ filteredVariantIds: Array<Scalars['String']>;
339
+ maxQuantity?: InputMaybe<Scalars['Float']>;
340
+ minQuantity?: InputMaybe<Scalars['Float']>;
341
+ order: Scalars['Float'];
342
+ productId: Scalars['String'];
343
+ quantity: Scalars['Float'];
344
+ };
345
+ export declare type BundleProductModel = {
346
+ __typename?: 'BundleProductModel';
347
+ /** The setting that specifies whether the prices of the products to be added to the bundle product will be added to the base price of the bundle. If this setting is selected, the sales prices of the products in the bundle product are included on the bundle price. */
348
+ addToBundleBasePrice?: Maybe<Scalars['Boolean']>;
349
+ /** The discount rate that will be applied specifically to the product to be added to the bundle product. If the addToBundleBasePrice setting is selected, the discount is applied. */
350
+ discountRatio?: Maybe<Scalars['Float']>;
351
+ /** Selectable variant ids of the product that can be included in the bundle product. */
352
+ filteredVariantIds: Array<Scalars['String']>;
353
+ /** Maximum quantity of product that can be included in the bundle product. */
354
+ maxQuantity?: Maybe<Scalars['Float']>;
355
+ /** Minimum quantity of product that can be included in the bundle product. */
356
+ minQuantity?: Maybe<Scalars['Float']>;
357
+ /** Order of the product that can be included in the bundle product. */
358
+ order: Scalars['Float'];
359
+ /** Id of the product that can be included in the bundle product. */
360
+ productId: Scalars['String'];
361
+ /** Quantity of the product that can be included in the bundle product. */
362
+ quantity: Scalars['Float'];
363
+ };
364
+ export declare type BundleSettingsInput = {
365
+ maxBundleQuantity?: InputMaybe<Scalars['Float']>;
366
+ minBundleQuantity?: InputMaybe<Scalars['Float']>;
367
+ products: Array<BundleProductInput>;
368
+ };
369
+ export declare type BundleSettingsModel = {
370
+ __typename?: 'BundleSettingsModel';
371
+ /** Maximum quantity of products that can be in the bundle product. */
372
+ maxBundleQuantity?: Maybe<Scalars['Float']>;
373
+ /** Minimum quantity of products that can be in the bundle product. */
374
+ minBundleQuantity?: Maybe<Scalars['Float']>;
375
+ /** List of products that can be included in the bundle product. */
376
+ products: Array<BundleProductModel>;
377
+ };
268
378
  export declare type CSVExportFilterInput = {
269
379
  brandId?: InputMaybe<StringFilterInput>;
270
380
  categoryIds?: InputMaybe<CategoryFilterInput>;
381
+ salesChannelIds?: InputMaybe<StringFilterInput>;
271
382
  tagIds?: InputMaybe<StringFilterInput>;
272
383
  };
273
384
  export declare type CSVImportResponse = {
@@ -275,11 +386,74 @@ export declare type CSVImportResponse = {
275
386
  csvContent?: Maybe<Scalars['String']>;
276
387
  isSuccess: Scalars['Boolean'];
277
388
  };
389
+ export declare type CampaignOffer = {
390
+ __typename?: 'CampaignOffer';
391
+ availableSalesChannelIds: Array<Scalars['String']>;
392
+ createdAt?: Maybe<Scalars['Timestamp']>;
393
+ deleted?: Maybe<Scalars['Boolean']>;
394
+ endDate?: Maybe<Scalars['Timestamp']>;
395
+ followUpActionType: CampaignOfferFollowUpActionTypeEnum;
396
+ id: Scalars['ID'];
397
+ minimumRequiredCartAmount?: Maybe<Scalars['Float']>;
398
+ name: Scalars['String'];
399
+ offers: Array<CampaignOfferProduct>;
400
+ startDate?: Maybe<Scalars['Timestamp']>;
401
+ targetPageTypes: Array<CampaignOfferTargetPageTypeEnum>;
402
+ triggerSettings: CampaignOfferTriggerSettings;
403
+ type: CampaignOfferTypeEnum;
404
+ updatedAt?: Maybe<Scalars['Timestamp']>;
405
+ };
406
+ export declare enum CampaignOfferFollowUpActionTypeEnum {
407
+ DO_NOTHING = "DO_NOTHING",
408
+ OPEN_CART = "OPEN_CART",
409
+ OPEN_CHECKOUT = "OPEN_CHECKOUT"
410
+ }
411
+ export declare type CampaignOfferProduct = {
412
+ __typename?: 'CampaignOfferProduct';
413
+ countdownMinutes?: Maybe<Scalars['Float']>;
414
+ description?: Maybe<Scalars['String']>;
415
+ discountAmount?: Maybe<Scalars['Float']>;
416
+ discountType?: Maybe<OrderAmountTypeEnum>;
417
+ excludedVariantIdList?: Maybe<Array<Scalars['String']>>;
418
+ id: Scalars['String'];
419
+ order: Scalars['Float'];
420
+ productId: Scalars['String'];
421
+ showCriteria?: Maybe<CampaignOfferProductShowCriteriaEnum>;
422
+ skipOfferIfProductExistsInCart?: Maybe<Scalars['Boolean']>;
423
+ title: Scalars['String'];
424
+ translations?: Maybe<Array<CampaignOfferProductTranslation>>;
425
+ };
426
+ export declare enum CampaignOfferProductShowCriteriaEnum {
427
+ PREVIOUS_ACCEPTED = "PREVIOUS_ACCEPTED",
428
+ PREVIOUS_REJECTED = "PREVIOUS_REJECTED"
429
+ }
430
+ export declare type CampaignOfferProductTranslation = {
431
+ __typename?: 'CampaignOfferProductTranslation';
432
+ description?: Maybe<Scalars['String']>;
433
+ locale: Scalars['String'];
434
+ title: Scalars['String'];
435
+ };
278
436
  export declare enum CampaignOfferTargetPageTypeEnum {
279
437
  CHECKOUT = "CHECKOUT",
280
438
  POST_CHECKOUT = "POST_CHECKOUT"
281
439
  }
282
- /** Campaign Type Enum */
440
+ export declare enum CampaignOfferTriggerFilterTypeEnum {
441
+ ALL_PRODUCTS = "ALL_PRODUCTS",
442
+ CATEGORY = "CATEGORY",
443
+ MIN_CART_AMOUNT = "MIN_CART_AMOUNT",
444
+ PRODUCT = "PRODUCT",
445
+ PRODUCT_TAG = "PRODUCT_TAG",
446
+ VARIANT = "VARIANT"
447
+ }
448
+ export declare type CampaignOfferTriggerSettings = {
449
+ __typename?: 'CampaignOfferTriggerSettings';
450
+ filterType: CampaignOfferTriggerFilterTypeEnum;
451
+ valueList: Array<Scalars['String']>;
452
+ };
453
+ export declare enum CampaignOfferTypeEnum {
454
+ CROSS_SELL = "CROSS_SELL",
455
+ UPSELL = "UPSELL"
456
+ }
283
457
  export declare enum CampaignTypeEnum {
284
458
  BUY_X_THEN_GET_Y = "BUY_X_THEN_GET_Y",
285
459
  FIXED_AMOUNT = "FIXED_AMOUNT",
@@ -299,20 +473,12 @@ export declare type CancelOrderLineItemInput = {
299
473
  quantity: Scalars['Float'];
300
474
  restockItems?: InputMaybe<Scalars['Boolean']>;
301
475
  };
302
- /** Cancelled Reason Enum */
303
- export declare enum CancelledReasonEnum {
304
- CUSTOMER = "CUSTOMER",
305
- DECLINED = "DECLINED",
306
- INVENTORY = "INVENTORY",
307
- OTHER = "OTHER"
308
- }
309
476
  export declare enum CartCampaignOfferStatus {
310
477
  ACCEPTED = "ACCEPTED",
311
478
  REJECTED = "REJECTED",
312
479
  REMOVED = "REMOVED",
313
480
  WAITING_FOR_ACTION = "WAITING_FOR_ACTION"
314
481
  }
315
- /** Cart Created By Enum */
316
482
  export declare enum CartCreatedByEnum {
317
483
  ADMIN = "ADMIN",
318
484
  CUSTOMER = "CUSTOMER"
@@ -320,6 +486,7 @@ export declare enum CartCreatedByEnum {
320
486
  export declare type CartV2CampaignOffer = {
321
487
  __typename?: 'CartV2CampaignOffer';
322
488
  appliedOrderLineId?: Maybe<Scalars['String']>;
489
+ campaignOffer?: Maybe<CampaignOffer>;
323
490
  campaignOfferId: Scalars['String'];
324
491
  campaignOfferProductId?: Maybe<Scalars['String']>;
325
492
  offerEndDate?: Maybe<Scalars['Timestamp']>;
@@ -328,7 +495,6 @@ export declare type CartV2CampaignOffer = {
328
495
  targetPageTypes: Array<CampaignOfferTargetPageTypeEnum>;
329
496
  triggerSourceOrderLineId: Scalars['String'];
330
497
  };
331
- /** CartV2 Status Enum */
332
498
  export declare enum CartV2StatusEnum {
333
499
  COMPLETED = "COMPLETED",
334
500
  FREEZE = "FREEZE",
@@ -377,6 +543,7 @@ export declare type CategoryConditionInput = {
377
543
  export declare enum CategoryConditionTypeEnum {
378
544
  CREATED_AT = "CREATED_AT",
379
545
  DISCOUNTED_PRODUCTS = "DISCOUNTED_PRODUCTS",
546
+ PRICE_RANGE = "PRICE_RANGE",
380
547
  PRODUCT_BRAND = "PRODUCT_BRAND",
381
548
  PRODUCT_TAG = "PRODUCT_TAG",
382
549
  VARIANT_VALUE = "VARIANT_VALUE"
@@ -384,6 +551,7 @@ export declare enum CategoryConditionTypeEnum {
384
551
  export declare type CategoryFilterInput = {
385
552
  eq?: InputMaybe<Scalars['String']>;
386
553
  in?: InputMaybe<Array<Scalars['String']>>;
554
+ nin?: InputMaybe<Array<Scalars['String']>>;
387
555
  };
388
556
  export declare type CategoryInput = {
389
557
  conditions?: InputMaybe<Array<CategoryConditionInput>>;
@@ -458,12 +626,10 @@ export declare type CategoryTranslationInput = {
458
626
  /** It is the information in which language the translation is saved. */
459
627
  name?: InputMaybe<Scalars['String']>;
460
628
  };
461
- /** Checkout Recovery Email Status Enum */
462
629
  export declare enum CheckoutRecoveryEmailStatusEnum {
463
630
  NOT_SENT = "NOT_SENT",
464
631
  SENT = "SENT"
465
632
  }
466
- /** Checkout Recovery Status Enum */
467
633
  export declare enum CheckoutRecoveryStatusEnum {
468
634
  NOT_RECOVERED = "NOT_RECOVERED",
469
635
  RECOVERED = "RECOVERED"
@@ -496,6 +662,8 @@ export declare type Country = {
496
662
  createdAt?: Maybe<Scalars['Timestamp']>;
497
663
  /** Indicates the currency of the county. */
498
664
  currency?: Maybe<Scalars['String']>;
665
+ currencyCode?: Maybe<Scalars['String']>;
666
+ currencySymbol?: Maybe<Scalars['String']>;
499
667
  deleted?: Maybe<Scalars['Boolean']>;
500
668
  /** Indicates the flag emoji of the county. */
501
669
  emoji?: Maybe<Scalars['String']>;
@@ -520,6 +688,10 @@ export declare type Country = {
520
688
  subregion?: Maybe<Scalars['String']>;
521
689
  updatedAt?: Maybe<Scalars['Timestamp']>;
522
690
  };
691
+ export declare type CreateMerchantAppPaymentWithSubscriptionInput = {
692
+ /** It keeps the information of which type of license is obtained. For example: trendyol-app-licence, foriba-app-licence etc. */
693
+ storeAppListingSubscriptionKey: Scalars['String'];
694
+ };
523
695
  export declare type CreateOrderInput = {
524
696
  /** It is the address to which the order will be billing. */
525
697
  billingAddress?: InputMaybe<OrderAddressInput>;
@@ -562,7 +734,7 @@ export declare type CreateOrderInput = {
562
734
  /** A list of shipping line objects, each containing information about a shipping in the order. */
563
735
  shippingLines?: InputMaybe<Array<OrderShippingLineInput>>;
564
736
  /** It is the shipping method enum of the order */
565
- shippingMethod?: InputMaybe<ShippingMethodEnum>;
737
+ shippingMethod?: InputMaybe<OrderShippingMethodEnum>;
566
738
  /** It is the terminal session id of the order. If the order is placed via ikasPos, this field can be sent as filled. */
567
739
  terminalId?: InputMaybe<Scalars['String']>;
568
740
  updatedAt?: InputMaybe<Scalars['Timestamp']>;
@@ -617,6 +789,7 @@ export declare type Customer = {
617
789
  phone?: Maybe<Scalars['String']>;
618
790
  /** The date the **email** was verified. */
619
791
  phoneVerifiedDate?: Maybe<Scalars['Timestamp']>;
792
+ preferredLanguage?: Maybe<Scalars['String']>;
620
793
  /** Registration source of customer. */
621
794
  registrationSource?: Maybe<CustomerRegistrationSourceEnum>;
622
795
  /** CustomerEmailSubscriptionStatusesEnum */
@@ -804,10 +977,10 @@ export declare type FulfillOrderLineInput = {
804
977
  };
805
978
  export declare type GetImportJobDataResponse = {
806
979
  __typename?: 'GetImportJobDataResponse';
807
- data: Scalars['String'];
808
- errorMessage: Scalars['String'];
980
+ data?: Maybe<Scalars['String']>;
981
+ errorMessage?: Maybe<Scalars['String']>;
809
982
  importJobId?: Maybe<Scalars['String']>;
810
- status: ImportStatusEnum;
983
+ status?: Maybe<ImportStatusEnum>;
811
984
  };
812
985
  export declare type GetVideoUploadURLResponse = {
813
986
  __typename?: 'GetVideoUploadURLResponse';
@@ -816,6 +989,15 @@ export declare type GetVideoUploadURLResponse = {
816
989
  /** Upload url for the specified video. */
817
990
  url: Scalars['String'];
818
991
  };
992
+ export declare type GlobalTaxSettings = {
993
+ __typename?: 'GlobalTaxSettings';
994
+ createdAt?: Maybe<Scalars['Timestamp']>;
995
+ deleted?: Maybe<Scalars['Boolean']>;
996
+ id: Scalars['ID'];
997
+ isTaxExcludedOnPrices: Scalars['Boolean'];
998
+ isTaxExcludedOnShippingPrices: Scalars['Boolean'];
999
+ updatedAt?: Maybe<Scalars['Timestamp']>;
1000
+ };
819
1001
  export declare type HTMLMetaData = {
820
1002
  __typename?: 'HTMLMetaData';
821
1003
  /** Canonical URL list of entity. */
@@ -913,7 +1095,6 @@ export declare type Invoice = {
913
1095
  /** It is the type enum of the invoice. */
914
1096
  type: InvoiceTypeEnum;
915
1097
  };
916
- /** Invoice Type Enum */
917
1098
  export declare enum InvoiceTypeEnum {
918
1099
  COMPANY = "COMPANY",
919
1100
  INDIVIDUAL = "INDIVIDUAL",
@@ -930,7 +1111,9 @@ export declare type Language = {
930
1111
  };
931
1112
  export declare type LocationTranslations = {
932
1113
  __typename?: 'LocationTranslations';
1114
+ de?: Maybe<Scalars['String']>;
933
1115
  en: Scalars['String'];
1116
+ fr?: Maybe<Scalars['String']>;
934
1117
  tr: Scalars['String'];
935
1118
  };
936
1119
  export declare type MeResponse = {
@@ -945,7 +1128,7 @@ export declare type MeResponse = {
945
1128
  /** The id of the sales channel owned by the merchant. */
946
1129
  salesChannelId?: Maybe<Scalars['String']>;
947
1130
  scope?: Maybe<Scalars['String']>;
948
- /** It keeps the information of the operations that this application can access and perform.For more information please review [Scopes section](/docs/intro#api-scopes). */
1131
+ /** It keeps the information of the operations that this application can access and perform. For more information please review [Scopes section](/docs/intro#api-scopes). */
949
1132
  scopes?: Maybe<Array<AppScopeEnum>>;
950
1133
  /** The application's id in the store. */
951
1134
  storeAppId?: Maybe<Scalars['String']>;
@@ -981,7 +1164,7 @@ export declare type MerchantAddress = {
981
1164
  };
982
1165
  export declare type MerchantAddressCity = {
983
1166
  __typename?: 'MerchantAddressCity';
984
- /** The two-letter city code corresponding to the merchant's city. */
1167
+ /** The city code corresponding to the merchant's city. */
985
1168
  code?: Maybe<Scalars['String']>;
986
1169
  id?: Maybe<Scalars['String']>;
987
1170
  /** The merchant's normalized city name. */
@@ -989,7 +1172,7 @@ export declare type MerchantAddressCity = {
989
1172
  };
990
1173
  export declare type MerchantAddressCountry = {
991
1174
  __typename?: 'MerchantAddressCountry';
992
- /** The two-letter country code corresponding to the merchant's country. */
1175
+ /** The ISO3 country code corresponding to the merchant's country. */
993
1176
  code?: Maybe<Scalars['String']>;
994
1177
  id?: Maybe<Scalars['String']>;
995
1178
  /** The merchant's normalized country name. */
@@ -997,7 +1180,7 @@ export declare type MerchantAddressCountry = {
997
1180
  };
998
1181
  export declare type MerchantAddressDistrict = {
999
1182
  __typename?: 'MerchantAddressDistrict';
1000
- /** The two-letter district code corresponding to the merchant's district. */
1183
+ /** The district code corresponding to the merchant's district. */
1001
1184
  code?: Maybe<Scalars['String']>;
1002
1185
  id?: Maybe<Scalars['String']>;
1003
1186
  /** The merchant's normalized district name. */
@@ -1012,7 +1195,7 @@ export declare type MerchantAddressState = {
1012
1195
  export declare type MerchantAppPayment = {
1013
1196
  __typename?: 'MerchantAppPayment';
1014
1197
  /** It keeps the information of which type of license is obtained. For example: trendyol-app-licence, foriba-app-licence etc. */
1015
- appPaymentKey: Scalars['String'];
1198
+ appPaymentKey?: Maybe<Scalars['String']>;
1016
1199
  /** The id of the app that generated the app payment. Actually, the id of the app for which merchant app payment was created. */
1017
1200
  authorizedAppId?: Maybe<Scalars['String']>;
1018
1201
  createdAt?: Maybe<Scalars['Timestamp']>;
@@ -1029,17 +1212,16 @@ export declare type MerchantAppPayment = {
1029
1212
  status: MerchantAppPaymentStatusEnum;
1030
1213
  /** The id of the application for which payment will be created in the store */
1031
1214
  storeAppId: Scalars['String'];
1215
+ storeAppListingSubscriptionId?: Maybe<Scalars['String']>;
1216
+ storeAppListingSubscriptionKey?: Maybe<Scalars['String']>;
1032
1217
  type: MerchantAppPaymentTypeEnum;
1033
1218
  updatedAt?: Maybe<Scalars['Timestamp']>;
1034
1219
  };
1035
1220
  export declare type MerchantAppPaymentInput = {
1036
- /** It keeps the information of which type of license is obtained. For example: trendyol-app-licence, foriba-app-licence etc. */
1037
- appPaymentKey: Scalars['String'];
1038
1221
  /** The created merchant app keeps the name of the payment. */
1039
1222
  name: Scalars['String'];
1040
- /** Merchant app payment pricing description. */
1041
- prices: Array<MerchantAppPaymentPriceInput>;
1042
- type: MerchantAppPaymentTypeEnum;
1223
+ /** The area where the price information of the product is kept. Input array can be sent a minimum of one element and a maximum of 2 elements. */
1224
+ price: Scalars['Float'];
1043
1225
  };
1044
1226
  export declare type MerchantAppPaymentPaginationResponse = {
1045
1227
  __typename?: 'MerchantAppPaymentPaginationResponse';
@@ -1076,11 +1258,6 @@ export declare type MerchantAppPaymentPrice = {
1076
1258
  /** The area where the price information of the product is kept. Here, one-time, monthly or annual payments can be made and the information is kept in this way. */
1077
1259
  price: Scalars['Float'];
1078
1260
  };
1079
- export declare type MerchantAppPaymentPriceInput = {
1080
- period: SubscriptionPeriodEnum;
1081
- /** The area where the price information of the product is kept. Input array can be sent a minimum of one element and a maximum of 2 elements. */
1082
- price: Scalars['Float'];
1083
- };
1084
1261
  export declare enum MerchantAppPaymentStatusEnum {
1085
1262
  PAID = "PAID",
1086
1263
  PAYMENT_FAILED = "PAYMENT_FAILED",
@@ -1095,11 +1272,13 @@ export declare type MerchantAppSubscription = {
1095
1272
  /** The date the app licence was added. */
1096
1273
  addedDate?: Maybe<Scalars['Timestamp']>;
1097
1274
  /** It is the information of which type of app license is obtained. */
1098
- appPaymentKey: Scalars['String'];
1275
+ appPaymentKey?: Maybe<Scalars['String']>;
1099
1276
  /** The id of the app that generated the app payment. Actually, the id of the app for which merchant app payment was created. */
1100
1277
  authorizedAppId?: Maybe<Scalars['String']>;
1101
1278
  createdAt?: Maybe<Scalars['Timestamp']>;
1102
1279
  currency?: Maybe<SubscriptionPriceCurrencyEnum>;
1280
+ currencyCode?: Maybe<Scalars['String']>;
1281
+ currencySymbol?: Maybe<Scalars['String']>;
1103
1282
  deleted?: Maybe<Scalars['Boolean']>;
1104
1283
  id: Scalars['ID'];
1105
1284
  /** It is the date of receipt of the last payment for the license subscription. */
@@ -1113,77 +1292,33 @@ export declare type MerchantAppSubscription = {
1113
1292
  lastPaymentPrice: Scalars['Float'];
1114
1293
  /** It is the price information including KDV, for which the last payment is made for the app license subscription. */
1115
1294
  lastPaymentPriceWithTax: Scalars['Float'];
1116
- merchantAppPaymentId: Scalars['String'];
1295
+ merchantAppPaymentId?: Maybe<Scalars['String']>;
1117
1296
  /** The name of the created application license is the information. */
1118
1297
  name: Scalars['String'];
1119
1298
  status: MerchantSubscriptionStatusEnum;
1120
1299
  /** The id of the application to be licensed in the store */
1121
1300
  storeAppId: Scalars['String'];
1301
+ storeAppListingSubscriptionId: Scalars['String'];
1302
+ storeAppListingSubscriptionKey: Scalars['String'];
1122
1303
  updatedAt?: Maybe<Scalars['Timestamp']>;
1123
1304
  };
1124
1305
  export declare type MerchantLicence = {
1125
1306
  __typename?: 'MerchantLicence';
1126
1307
  activeSubscriptionCode: SubscriptionCodeEnum;
1127
- /** It is the id of the subscription to which the license is connected. */
1128
- activeSubscriptionId: Scalars['String'];
1129
1308
  /** If the license is attached to an app, its properties are kept in this domain. */
1130
1309
  appSubscriptions?: Maybe<Array<MerchantAppSubscription>>;
1131
1310
  createdAt?: Maybe<Scalars['Timestamp']>;
1132
- /** It is the field where private subscription information is kept. */
1133
- customSubscriptionIds?: Maybe<Array<Scalars['String']>>;
1134
1311
  deleted?: Maybe<Scalars['Boolean']>;
1312
+ developmentStore?: Maybe<Scalars['Boolean']>;
1135
1313
  /** It is the information of the start date of the license. */
1136
1314
  fromDate?: Maybe<Scalars['Timestamp']>;
1137
1315
  id: Scalars['ID'];
1138
- /** It is the information of the last date the license was active. */
1139
- licenceActivationDate?: Maybe<Scalars['Timestamp']>;
1140
- limits: Array<MerchantLimit>;
1141
1316
  period?: Maybe<SubscriptionPeriodEnum>;
1142
1317
  region: MerchantRegionEnum;
1143
- status: MerchantLicenceStatusEnum;
1144
- /** The date the Merchant license status was updated. */
1145
- statusUpdatedAt?: Maybe<Scalars['Timestamp']>;
1146
- /** It is the subscription properties information of the license. */
1147
- subscriptions: Array<MerchantSubscription>;
1148
1318
  /** It is the information of the expiry date of the license. */
1149
1319
  toDate?: Maybe<Scalars['Timestamp']>;
1150
1320
  updatedAt?: Maybe<Scalars['Timestamp']>;
1151
1321
  };
1152
- export declare enum MerchantLicenceStatusEnum {
1153
- CHURN = "CHURN",
1154
- CONTRACTION = "CONTRACTION",
1155
- EXPANSION = "EXPANSION",
1156
- FREEMIUM = "FREEMIUM",
1157
- NEW = "NEW",
1158
- REACTIVATION = "REACTIVATION",
1159
- RENEWAL = "RENEWAL"
1160
- }
1161
- export declare type MerchantLimit = {
1162
- __typename?: 'MerchantLimit';
1163
- code: MerchantLimitCodeEnum;
1164
- value: Scalars['Float'];
1165
- };
1166
- export declare enum MerchantLimitCodeEnum {
1167
- ABANDONED_CHECKOUT_SUPPORT = "ABANDONED_CHECKOUT_SUPPORT",
1168
- ADDITIONAL_POS_BRANCH = "ADDITIONAL_POS_BRANCH",
1169
- ADDITIONAL_STOREFRONT = "ADDITIONAL_STOREFRONT",
1170
- CAMPAIGN_SUPPORT = "CAMPAIGN_SUPPORT",
1171
- CROSS_SELL_SUPPORT = "CROSS_SELL_SUPPORT",
1172
- DOMAIN_SUPPORT = "DOMAIN_SUPPORT",
1173
- LOCALIZATION_ROUTING_SUPPORT = "LOCALIZATION_ROUTING_SUPPORT",
1174
- OMNI_CHANNEL_SUPPORT = "OMNI_CHANNEL_SUPPORT",
1175
- PAYMENT_GATEWAY_RATE = "PAYMENT_GATEWAY_RATE",
1176
- PRICE_LISTS_SUPPORT = "PRICE_LISTS_SUPPORT",
1177
- PRODUCT_LIMIT = "PRODUCT_LIMIT",
1178
- PRODUCT_SUBSCRIPTIONS_SUPPORT = "PRODUCT_SUBSCRIPTIONS_SUPPORT",
1179
- RAFFLE_SUPPORT = "RAFFLE_SUPPORT",
1180
- REFUND_SUPPORT = "REFUND_SUPPORT",
1181
- REPORTING_SUPPORT = "REPORTING_SUPPORT",
1182
- STAFF_LIMIT = "STAFF_LIMIT",
1183
- STOCK_LOCATION_LIMIT = "STOCK_LOCATION_LIMIT",
1184
- THEME_SUPPORT = "THEME_SUPPORT",
1185
- UP_SELL_SUPPORT = "UP_SELL_SUPPORT"
1186
- }
1187
1322
  export declare enum MerchantRegionEnum {
1188
1323
  AF = "AF",
1189
1324
  AN = "AN",
@@ -1217,34 +1352,6 @@ export declare enum MerchantSettingsAddressTypeEnum {
1217
1352
  CORPORATE = "CORPORATE",
1218
1353
  INDIVIDUAL = "INDIVIDUAL"
1219
1354
  }
1220
- export declare type MerchantSubscription = {
1221
- __typename?: 'MerchantSubscription';
1222
- code: SubscriptionCodeEnum;
1223
- createdAt?: Maybe<Scalars['Timestamp']>;
1224
- currency?: Maybe<SubscriptionPriceCurrencyEnum>;
1225
- deleted?: Maybe<Scalars['Boolean']>;
1226
- id: Scalars['ID'];
1227
- /** It is the date of receipt of the last payment for the license subscription. */
1228
- lastPaymentDate?: Maybe<Scalars['Timestamp']>;
1229
- /** The discount rate on the last payment for the license subscription. */
1230
- lastPaymentDiscountRatio?: Maybe<Scalars['Float']>;
1231
- lastPaymentPeriod: SubscriptionPeriodEnum;
1232
- /** The payment period of the license last payment. The purpose of keeping this information is to adjust the controls according to the last month if the subscription is withdrawn from annual to monthly. */
1233
- lastPaymentPeriodInDays: Scalars['Float'];
1234
- /** It is the last payment information for the license subscription. */
1235
- lastPaymentPrice: Scalars['Float'];
1236
- /** It is the price information including KDV, for which the last payment is made for the license subscription. */
1237
- lastPaymentPriceWithTax: Scalars['Float'];
1238
- limits: Array<MerchantLimit>;
1239
- /** It is the subscription name of the license. */
1240
- name?: Maybe<Scalars['String']>;
1241
- /** It is the Id information of the sales channel to which the subscription of the license is connected. */
1242
- salesChannelId?: Maybe<Scalars['String']>;
1243
- status: MerchantSubscriptionStatusEnum;
1244
- /** It is the subscription id of the license. */
1245
- subscriptionId: Scalars['String'];
1246
- updatedAt?: Maybe<Scalars['Timestamp']>;
1247
- };
1248
1355
  export declare enum MerchantSubscriptionStatusEnum {
1249
1356
  ACTIVE = "ACTIVE",
1250
1357
  REMOVED = "REMOVED",
@@ -1255,6 +1362,7 @@ export declare type Mutation = {
1255
1362
  addCustomTimelineEntry: Scalars['Boolean'];
1256
1363
  /** Use this mutation to add invoice to order. */
1257
1364
  addOrderInvoice?: Maybe<Order>;
1365
+ addOrderTag: Scalars['Boolean'];
1258
1366
  approvePendingOrderTransactions: Scalars['Boolean'];
1259
1367
  /** Response indicating the status of operation. */
1260
1368
  bulkUpdateProducts: Scalars['String'];
@@ -1264,10 +1372,13 @@ export declare type Mutation = {
1264
1372
  cancelOrderLine: Order;
1265
1373
  /** Using this api, you can add payment features to a merchant app. */
1266
1374
  createMerchantAppPayment: MerchantAppPayment;
1375
+ /** Using this api, you can add payment features to a merchant app with app subscription id. */
1376
+ createMerchantAppPaymentWithSubscription?: Maybe<MerchantAppPayment>;
1267
1377
  /** Use this mutation if you want to create a new order with transactions. */
1268
1378
  createOrderWithTransactions: Order;
1269
1379
  /** Using this api, you can delete the categories of products. */
1270
1380
  deleteCategoryList: Scalars['Boolean'];
1381
+ deleteOrderTagList: Scalars['Boolean'];
1271
1382
  /** Use this mutation to delete product attributes with specific ids. */
1272
1383
  deleteProductAttributeList: Scalars['Boolean'];
1273
1384
  /** Using this api, you can delete the brands of products. */
@@ -1276,6 +1387,8 @@ export declare type Mutation = {
1276
1387
  deleteProductList: Scalars['Boolean'];
1277
1388
  /** Using this api, you can delete the tags of products. */
1278
1389
  deleteProductTagList: Scalars['Boolean'];
1390
+ /** Using this api, you can delete the units of products. */
1391
+ deleteProductUnitList: Scalars['Boolean'];
1279
1392
  /** Using this api, you can delete javascript script from a the storefront. */
1280
1393
  deleteStorefrontJSScript: Scalars['Boolean'];
1281
1394
  /** Using this api, you can delete the variant types of products. */
@@ -1286,11 +1399,15 @@ export declare type Mutation = {
1286
1399
  deleteWebhook: Scalars['Boolean'];
1287
1400
  /** Use this mutation to fulfill order line items. */
1288
1401
  fulfillOrder: Order;
1402
+ /** Using this api, you can collect demo day. */
1403
+ getAppDemoDay?: Maybe<Scalars['Float']>;
1289
1404
  productAttributeImport: CSVImportResponse;
1290
1405
  /** Use this mutation to refund given order lines. */
1291
1406
  refundOrderLine: Order;
1407
+ removeOrderTag: Scalars['Boolean'];
1292
1408
  /** Using this api, you can update the categories of products. */
1293
1409
  saveCategory: Category;
1410
+ saveOrderTag: OrderTag;
1294
1411
  /** Use this mutation to create or update a product with provided input values. */
1295
1412
  saveProduct: Product;
1296
1413
  /** Use this mutation to create or update product attributes with provided input values. */
@@ -1301,6 +1418,8 @@ export declare type Mutation = {
1301
1418
  saveProductStockLocations: Scalars['Boolean'];
1302
1419
  /** Using this api, you can update the tags of products. */
1303
1420
  saveProductTag: ProductTag;
1421
+ /** Using this api, you can update the units of products. */
1422
+ saveProductUnit: ProductUnit;
1304
1423
  /** Using this api you can update the sales channel name, priceList Id and stockLocations properties. */
1305
1424
  saveSalesChannel?: Maybe<SalesChannel>;
1306
1425
  /** Using this api, you can save javascript script to a the storefront. */
@@ -1321,6 +1440,7 @@ export declare type Mutation = {
1321
1440
  updateOrderPackageStatus: Order;
1322
1441
  /** Response indicating the status of operation. */
1323
1442
  updateProductSalesChannelStatus: Scalars['Boolean'];
1443
+ variantAttributeImport: CSVImportResponse;
1324
1444
  };
1325
1445
  export declare type MutationaddCustomTimelineEntryArgs = {
1326
1446
  input: TimelineInput;
@@ -1328,6 +1448,9 @@ export declare type MutationaddCustomTimelineEntryArgs = {
1328
1448
  export declare type MutationaddOrderInvoiceArgs = {
1329
1449
  input: AddOrderInvoiceInput;
1330
1450
  };
1451
+ export declare type MutationaddOrderTagArgs = {
1452
+ input: UpdateOrderTagInput;
1453
+ };
1331
1454
  export declare type MutationapprovePendingOrderTransactionsArgs = {
1332
1455
  input: ApproveOrderTransactionsInput;
1333
1456
  };
@@ -1343,12 +1466,18 @@ export declare type MutationcancelOrderLineArgs = {
1343
1466
  export declare type MutationcreateMerchantAppPaymentArgs = {
1344
1467
  input: MerchantAppPaymentInput;
1345
1468
  };
1469
+ export declare type MutationcreateMerchantAppPaymentWithSubscriptionArgs = {
1470
+ input: CreateMerchantAppPaymentWithSubscriptionInput;
1471
+ };
1346
1472
  export declare type MutationcreateOrderWithTransactionsArgs = {
1347
1473
  input: CreateOrderWithTransactionsInput;
1348
1474
  };
1349
1475
  export declare type MutationdeleteCategoryListArgs = {
1350
1476
  idList: Array<Scalars['String']>;
1351
1477
  };
1478
+ export declare type MutationdeleteOrderTagListArgs = {
1479
+ idList: Array<Scalars['String']>;
1480
+ };
1352
1481
  export declare type MutationdeleteProductAttributeListArgs = {
1353
1482
  idList: Array<Scalars['String']>;
1354
1483
  };
@@ -1361,6 +1490,9 @@ export declare type MutationdeleteProductListArgs = {
1361
1490
  export declare type MutationdeleteProductTagListArgs = {
1362
1491
  idList: Array<Scalars['String']>;
1363
1492
  };
1493
+ export declare type MutationdeleteProductUnitListArgs = {
1494
+ idList: Array<Scalars['String']>;
1495
+ };
1364
1496
  export declare type MutationdeleteStorefrontJSScriptArgs = {
1365
1497
  storefrontIdList: Array<Scalars['String']>;
1366
1498
  };
@@ -1376,15 +1508,24 @@ export declare type MutationdeleteWebhookArgs = {
1376
1508
  export declare type MutationfulfillOrderArgs = {
1377
1509
  input: FulFillOrderInput;
1378
1510
  };
1511
+ export declare type MutationgetAppDemoDayArgs = {
1512
+ input: CreateMerchantAppPaymentWithSubscriptionInput;
1513
+ };
1379
1514
  export declare type MutationproductAttributeImportArgs = {
1380
1515
  file: Scalars['String'];
1381
1516
  };
1382
1517
  export declare type MutationrefundOrderLineArgs = {
1383
1518
  input: OrderRefundInput;
1384
1519
  };
1520
+ export declare type MutationremoveOrderTagArgs = {
1521
+ input: UpdateOrderTagInput;
1522
+ };
1385
1523
  export declare type MutationsaveCategoryArgs = {
1386
1524
  input: CategoryInput;
1387
1525
  };
1526
+ export declare type MutationsaveOrderTagArgs = {
1527
+ input: OrderTagInput;
1528
+ };
1388
1529
  export declare type MutationsaveProductArgs = {
1389
1530
  input: ProductInput;
1390
1531
  };
@@ -1400,6 +1541,9 @@ export declare type MutationsaveProductStockLocationsArgs = {
1400
1541
  export declare type MutationsaveProductTagArgs = {
1401
1542
  input: ProductTagInput;
1402
1543
  };
1544
+ export declare type MutationsaveProductUnitArgs = {
1545
+ input: ProductUnitInput;
1546
+ };
1403
1547
  export declare type MutationsaveSalesChannelArgs = {
1404
1548
  input: SalesChannelInput;
1405
1549
  };
@@ -1431,6 +1575,9 @@ export declare type MutationupdateProductSalesChannelStatusArgs = {
1431
1575
  input: Array<UpdateProductSalesChannelStatusInput>;
1432
1576
  salesChannelId?: InputMaybe<Scalars['String']>;
1433
1577
  };
1578
+ export declare type MutationvariantAttributeImportArgs = {
1579
+ file: Scalars['String'];
1580
+ };
1434
1581
  export declare type Order = {
1435
1582
  __typename?: 'Order';
1436
1583
  abandonedCartFlows?: Maybe<Array<AbandonedCartFlow>>;
@@ -1444,7 +1591,7 @@ export declare type Order = {
1444
1591
  branchSessionId?: Maybe<Scalars['String']>;
1445
1592
  campaignOffers?: Maybe<Array<CartV2CampaignOffer>>;
1446
1593
  /** It is the cancel reason of the order. If the order has been cancelled, it indicates the cancellation reason of the order. */
1447
- cancelReason?: Maybe<CancelledReasonEnum>;
1594
+ cancelReason?: Maybe<OrderCancelledReasonEnum>;
1448
1595
  /** If the order has been cancelled, it indicates the cancellation date of the order. */
1449
1596
  cancelledAt?: Maybe<Scalars['Timestamp']>;
1450
1597
  cartId?: Maybe<Scalars['String']>;
@@ -1461,9 +1608,12 @@ export declare type Order = {
1461
1608
  currencyCode: Scalars['String'];
1462
1609
  /** A list of currency rate objects. */
1463
1610
  currencyRates: Array<OrderCurrencyRate>;
1611
+ currencySymbol?: Maybe<Scalars['String']>;
1464
1612
  /** Information about the customer. The order does not have to be a customer information. If the order was created by ikasPOS, the customer information may be null. */
1465
1613
  customer?: Maybe<OrderCustomer>;
1466
1614
  customerId?: Maybe<Scalars['String']>;
1615
+ /** It shows the number of orders given by the relevant customer. */
1616
+ customerOrderCount?: Maybe<Scalars['Float']>;
1467
1617
  deleted?: Maybe<Scalars['Boolean']>;
1468
1618
  dueDate?: Maybe<Scalars['Timestamp']>;
1469
1619
  /** A list of gift package line objects, each containing information about a gift package pricing in the order. */
@@ -1517,7 +1667,7 @@ export declare type Order = {
1517
1667
  /** A list of shipping line objects, each containing information about a shipping in the order. */
1518
1668
  shippingLines?: Maybe<Array<OrderShippingLine>>;
1519
1669
  /** It is the shipping method enum of the order */
1520
- shippingMethod: ShippingMethodEnum;
1670
+ shippingMethod: OrderShippingMethodEnum;
1521
1671
  shippingSettingsId?: Maybe<Scalars['String']>;
1522
1672
  shippingZoneRateId?: Maybe<Scalars['String']>;
1523
1673
  /** It is the `staff` information of the orders created via ikasPOS. */
@@ -1576,6 +1726,8 @@ export declare type OrderAddress = {
1576
1726
  phone?: Maybe<Scalars['String']>;
1577
1727
  /** The postal code of the address. */
1578
1728
  postalCode?: Maybe<Scalars['String']>;
1729
+ /** The region information of the address. */
1730
+ region?: Maybe<ShippingZoneRegion>;
1579
1731
  /** The state information of the address. */
1580
1732
  state?: Maybe<OrderAddressState>;
1581
1733
  /** The tax number of the person associated with the address. */
@@ -1658,6 +1810,8 @@ export declare type OrderAddressInput = {
1658
1810
  phone?: InputMaybe<Scalars['String']>;
1659
1811
  /** The postal code of the address. */
1660
1812
  postalCode?: InputMaybe<Scalars['String']>;
1813
+ /** The name of the region of the address. */
1814
+ region?: InputMaybe<ShippingZoneRegionInput>;
1661
1815
  /** The name of the state of the address. */
1662
1816
  state?: InputMaybe<OrderAddressStateInput>;
1663
1817
  /** The tax number of the person associated with the address. */
@@ -1683,7 +1837,7 @@ export declare type OrderAdjustment = {
1683
1837
  __typename?: 'OrderAdjustment';
1684
1838
  /** It is the adjustment amount in the order. This amount can be positive or negative. */
1685
1839
  amount: Scalars['Float'];
1686
- amountType: AmountTypeEnum;
1840
+ amountType: OrderAmountTypeEnum;
1687
1841
  /** A list of order line items, each containing information about a order line item in the order. */
1688
1842
  appliedOrderLines?: Maybe<Array<OrderAdjustmentAppliedOrderLine>>;
1689
1843
  /** If the adjustment is associated to the campaign, it will show the campaign id. */
@@ -1696,7 +1850,7 @@ export declare type OrderAdjustment = {
1696
1850
  name: Scalars['String'];
1697
1851
  /** It is the order of the adjustment. Adjustments are applied in this order. */
1698
1852
  order: Scalars['Float'];
1699
- type: AdjustmentEnum;
1853
+ type: OrderAdjustmentEnum;
1700
1854
  };
1701
1855
  export declare type OrderAdjustmentAppliedOrderLine = {
1702
1856
  __typename?: 'OrderAdjustmentAppliedOrderLine';
@@ -1709,11 +1863,15 @@ export declare type OrderAdjustmentAppliedOrderLine = {
1709
1863
  /** It is the id of the order line item to which the adjustment is applied. */
1710
1864
  orderLineId: Scalars['String'];
1711
1865
  };
1866
+ export declare enum OrderAdjustmentEnum {
1867
+ DECREMENT = "DECREMENT",
1868
+ INCREMENT = "INCREMENT"
1869
+ }
1712
1870
  export declare type OrderAdjustmentInput = {
1713
1871
  /** It is the amount of the order adjustment. */
1714
1872
  amount: Scalars['Float'];
1715
1873
  /** It is the amount type of the order adjustment */
1716
- amountType: AmountTypeEnum;
1874
+ amountType: OrderAmountTypeEnum;
1717
1875
  /** It is the campaign information that adjustment depends on. */
1718
1876
  campaignId?: InputMaybe<Scalars['String']>;
1719
1877
  /** It is the coupon information of the campaign that adjustment is connected to. */
@@ -1723,8 +1881,12 @@ export declare type OrderAdjustmentInput = {
1723
1881
  /** It is the order information in which the adjustment will be applied. */
1724
1882
  order: Scalars['Float'];
1725
1883
  /** It is the type enum of the order adjustment */
1726
- type: AdjustmentEnum;
1884
+ type: OrderAdjustmentEnum;
1727
1885
  };
1886
+ export declare enum OrderAmountTypeEnum {
1887
+ AMOUNT = "AMOUNT",
1888
+ RATIO = "RATIO"
1889
+ }
1728
1890
  export declare type OrderBranch = {
1729
1891
  __typename?: 'OrderBranch';
1730
1892
  /** It is the id of the branch where the order was created. */
@@ -1739,6 +1901,12 @@ export declare type OrderBranchSession = {
1739
1901
  /** It is the name of the branch session where the order was created. */
1740
1902
  name?: Maybe<Scalars['String']>;
1741
1903
  };
1904
+ export declare enum OrderCancelledReasonEnum {
1905
+ CUSTOMER = "CUSTOMER",
1906
+ DECLINED = "DECLINED",
1907
+ INVENTORY = "INVENTORY",
1908
+ OTHER = "OTHER"
1909
+ }
1742
1910
  export declare type OrderCurrencyRate = {
1743
1911
  __typename?: 'OrderCurrencyRate';
1744
1912
  /** It is the code of the currency. */
@@ -1763,6 +1931,8 @@ export declare type OrderCustomer = {
1763
1931
  /** It is the last name of the customer who created the order. */
1764
1932
  lastName?: Maybe<Scalars['String']>;
1765
1933
  notificationsAccepted?: Maybe<Scalars['Boolean']>;
1934
+ /** It is the phone number of the customer who created the order. */
1935
+ phone?: Maybe<Scalars['String']>;
1766
1936
  };
1767
1937
  export declare type OrderCustomerInput = {
1768
1938
  /** It is the email of the customer who created the order. */
@@ -1780,10 +1950,59 @@ export declare type OrderGiftPackageLine = {
1780
1950
  /** It is the tax value of the order gift package line price. */
1781
1951
  taxValue?: Maybe<Scalars['Float']>;
1782
1952
  };
1953
+ export declare type OrderLineBaseUnit = {
1954
+ __typename?: 'OrderLineBaseUnit';
1955
+ /** It is the amount of the unit. */
1956
+ baseAmount: Scalars['Float'];
1957
+ /** It is the type of the unit of the variant. */
1958
+ type: ProductUnitTypeEnum;
1959
+ /** It is the amount of the unit. */
1960
+ unit?: Maybe<OrderLineVariantUnitType>;
1961
+ };
1962
+ export declare type OrderLineBundleVariant = {
1963
+ __typename?: 'OrderLineBundleVariant';
1964
+ /** It is the barcode list of the variant. */
1965
+ barcodeList?: Maybe<Array<Scalars['String']>>;
1966
+ /** Information about the brand of variant. */
1967
+ baseUnit?: Maybe<OrderLineBaseUnit>;
1968
+ /** Information about the brand of variant. */
1969
+ brand?: Maybe<OrderLineVariantBrand>;
1970
+ /** A list of category objects, each containing information about a category in the variant. */
1971
+ categories?: Maybe<Array<OrderLineVariantCategory>>;
1972
+ /** It is the hasCode of the variant. */
1973
+ hsCode?: Maybe<Scalars['String']>;
1974
+ /** It is the id of the variant. */
1975
+ id?: Maybe<Scalars['String']>;
1976
+ /** It is the main image id of the variant. */
1977
+ mainImageId?: Maybe<Scalars['String']>;
1978
+ /** It is the name of the variant. */
1979
+ name: Scalars['String'];
1980
+ /** It is the price list of the variant. Different price lists may have different pricing. */
1981
+ prices?: Maybe<Array<OrderLineVariantPrice>>;
1982
+ /** It is the product id of the variant. */
1983
+ productId?: Maybe<Scalars['String']>;
1984
+ /** It is the sku of the variant. */
1985
+ sku?: Maybe<Scalars['String']>;
1986
+ /** It is the slug of the variant. The slug value is unique each variant and product. */
1987
+ slug?: Maybe<Scalars['String']>;
1988
+ /** It is the the tag id list */
1989
+ tagIds?: Maybe<Array<Scalars['String']>>;
1990
+ /**
1991
+ * It is the tax value of the variant.
1992
+ * @deprecated Will be removed use OrderLineItem.taxValue
1993
+ */
1994
+ taxValue?: Maybe<Scalars['Float']>;
1995
+ type?: Maybe<Scalars['Float']>;
1996
+ /** Information about the brand of variant. */
1997
+ unit?: Maybe<OrderLineVariantUnit>;
1998
+ /** It is the variant values of the variant. */
1999
+ variantValues?: Maybe<Array<OrderLineVariantVariantValues>>;
2000
+ weight?: Maybe<Scalars['Float']>;
2001
+ };
1783
2002
  export declare type OrderLineDiscount = {
1784
2003
  __typename?: 'OrderLineDiscount';
1785
2004
  amount: Scalars['Float'];
1786
- amountType: AmountTypeEnum;
2005
+ amountType: OrderAmountTypeEnum;
1787
2006
  campaignOfferId?: Maybe<Scalars['String']>;
1788
2007
  campaignOfferProductId?: Maybe<Scalars['String']>;
1789
2008
  maxApplicableQuantity?: Maybe<Scalars['Float']>;
@@ -1793,7 +2012,7 @@ export declare type OrderLineDiscountInput = {
1793
2012
  /** It is the amount of the discount. */
1794
2013
  amount: Scalars['Float'];
1795
2014
  /** It is the amount type enum. */
1796
- amountType: AmountTypeEnum;
2015
+ amountType: OrderAmountTypeEnum;
1797
2016
  maxApplicableQuantity?: InputMaybe<Scalars['Float']>;
1798
2017
  /** It is the reason of the discount. */
1799
2018
  reason?: InputMaybe<Scalars['String']>;
@@ -1803,6 +2022,7 @@ export declare type OrderLineItem = {
1803
2022
  createdAt?: Maybe<Scalars['Timestamp']>;
1804
2023
  /** It is the currency code of the order line item. */
1805
2024
  currencyCode?: Maybe<Scalars['String']>;
2025
+ currencySymbol?: Maybe<Scalars['String']>;
1806
2026
  deleted?: Maybe<Scalars['Boolean']>;
1807
2027
  /** Information about the discount. Shows the details of the discount applied to the order line item. */
1808
2028
  discount?: Maybe<OrderLineDiscount>;
@@ -1810,6 +2030,8 @@ export declare type OrderLineItem = {
1810
2030
  discountPrice?: Maybe<Scalars['Float']>;
1811
2031
  /** 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. */
1812
2032
  finalPrice?: Maybe<Scalars['Float']>;
2033
+ /** It is the unit price of the order line item. */
2034
+ finalUnitPrice?: Maybe<Scalars['Float']>;
1813
2035
  id: Scalars['ID'];
1814
2036
  /** It is the option information of the variant value in the order line item. */
1815
2037
  options?: Maybe<Array<OrderLineOption>>;
@@ -1827,6 +2049,8 @@ export declare type OrderLineItem = {
1827
2049
  stockLocationId?: Maybe<Scalars['String']>;
1828
2050
  /** It is the tax value of the order line item. */
1829
2051
  taxValue?: Maybe<Scalars['Float']>;
2052
+ /** It is the unit price of the order line item. */
2053
+ unitPrice?: Maybe<Scalars['Float']>;
1830
2054
  updatedAt?: Maybe<Scalars['Timestamp']>;
1831
2055
  /** Information about the variant of the order line item. */
1832
2056
  variant: OrderLineVariant;
@@ -1849,7 +2073,6 @@ export declare type OrderLineItemInput = {
1849
2073
  /** It is the variant information in the order line item. */
1850
2074
  variant: OrderLineVariantInput;
1851
2075
  };
1852
- /** Order Line Item Status Enum */
1853
2076
  export declare enum OrderLineItemStatusEnum {
1854
2077
  CANCELLED = "CANCELLED",
1855
2078
  CANCEL_REJECTED = "CANCEL_REJECTED",
@@ -1902,9 +2125,15 @@ export declare type OrderLineVariant = {
1902
2125
  /** It is the barcode list of the variant. */
1903
2126
  barcodeList?: Maybe<Array<Scalars['String']>>;
1904
2127
  /** Information about the brand of variant. */
2128
+ baseUnit?: Maybe<OrderLineBaseUnit>;
2129
+ /** Information about the brand of variant. */
1905
2130
  brand?: Maybe<OrderLineVariantBrand>;
2131
+ /** Shows the list of bundle products in the line item. */
2132
+ bundleProducts?: Maybe<Array<OrderLineVariantBundleProductModel>>;
1906
2133
  /** A list of category objects, each containing information about a category in the variant. */
1907
2134
  categories?: Maybe<Array<OrderLineVariantCategory>>;
2135
+ /** It is the hasCode of the variant. */
2136
+ hsCode?: Maybe<Scalars['String']>;
1908
2137
  /** It is the id of the variant. */
1909
2138
  id?: Maybe<Scalars['String']>;
1910
2139
  /** It is the main image id of the variant. */
@@ -1927,6 +2156,8 @@ export declare type OrderLineVariant = {
1927
2156
  */
1928
2157
  taxValue?: Maybe<Scalars['Float']>;
1929
2158
  type?: Maybe<Scalars['Float']>;
2159
+ /** Information about the brand of variant. */
2160
+ unit?: Maybe<OrderLineVariantUnit>;
1930
2161
  /** It is the variant values of the variant. */
1931
2162
  variantValues?: Maybe<Array<OrderLineVariantVariantValues>>;
1932
2163
  weight?: Maybe<Scalars['Float']>;
@@ -1938,6 +2169,27 @@ export declare type OrderLineVariantBrand = {
1938
2169
  /** It is the name of the category. */
1939
2170
  name: Scalars['String'];
1940
2171
  };
2172
+ export declare type OrderLineVariantBundleProductModel = {
2173
+ __typename?: 'OrderLineVariantBundleProductModel';
2174
+ /** It is the value that indicates whether the product has been deleted or not. */
2175
+ deleted?: Maybe<Scalars['Boolean']>;
2176
+ /** It is the final price of the variant. */
2177
+ discountPrice?: Maybe<Scalars['Float']>;
2178
+ /** It is the discount ratio of the variant. */
2179
+ discountRatio?: Maybe<Scalars['Float']>;
2180
+ /** It is the final price of the variant. */
2181
+ finalPrice?: Maybe<Scalars['Float']>;
2182
+ /** Indicates the order of the product in the bundle. */
2183
+ order: Scalars['Float'];
2184
+ /** It is the price of the variant. */
2185
+ price: Scalars['Float'];
2186
+ /** It is the quantity of the variant. */
2187
+ quantity: Scalars['Float'];
2188
+ /** It is the tax value of the variant. */
2189
+ taxValue?: Maybe<Scalars['Float']>;
2190
+ /** Information about the variant of the order line item. */
2191
+ variant: OrderLineBundleVariant;
2192
+ };
1941
2193
  export declare type OrderLineVariantCategory = {
1942
2194
  __typename?: 'OrderLineVariantCategory';
1943
2195
  /** It is the path of the category. */
@@ -1969,12 +2221,29 @@ export declare type OrderLineVariantPrice = {
1969
2221
  buyPrice?: Maybe<Scalars['Float']>;
1970
2222
  /** It is the currency code of variant. */
1971
2223
  currency?: Maybe<Scalars['String']>;
2224
+ currencySymbol?: Maybe<Scalars['String']>;
1972
2225
  /** It is the discount price of variant. */
1973
2226
  discountPrice?: Maybe<Scalars['Float']>;
1974
2227
  /** It is the id of the price list to which the variant is associated. */
1975
2228
  priceListId?: Maybe<Scalars['String']>;
1976
2229
  /** It is the sell price of variant. */
1977
2230
  sellPrice: Scalars['Float'];
2231
+ /** It is the unit price of variant. */
2232
+ unitPrice?: Maybe<Scalars['Float']>;
2233
+ };
2234
+ export declare type OrderLineVariantUnit = {
2235
+ __typename?: 'OrderLineVariantUnit';
2236
+ /** It is the amount of the unit. */
2237
+ amount: Scalars['Float'];
2238
+ /** It is the type of the unit of the variant. */
2239
+ type: ProductUnitTypeEnum;
2240
+ };
2241
+ export declare type OrderLineVariantUnitType = {
2242
+ __typename?: 'OrderLineVariantUnitType';
2243
+ /** It is the id of the category of the variant. */
2244
+ id: Scalars['String'];
2245
+ /** It is the amount of the unit. */
2246
+ name: Scalars['String'];
1978
2247
  };
1979
2248
  export declare type OrderLineVariantVariantValues = {
1980
2249
  __typename?: 'OrderLineVariantVariantValues';
@@ -2009,7 +2278,6 @@ export declare type OrderPackage = {
2009
2278
  trackingInfo?: Maybe<TrackingInfo>;
2010
2279
  updatedAt?: Maybe<Scalars['Timestamp']>;
2011
2280
  };
2012
- /** Order Package Fulfill Status Enum */
2013
2281
  export declare enum OrderPackageFulfillStatusEnum {
2014
2282
  CANCELLED = "CANCELLED",
2015
2283
  CANCEL_REJECTED = "CANCEL_REJECTED",
@@ -2025,7 +2293,6 @@ export declare enum OrderPackageFulfillStatusEnum {
2025
2293
  REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
2026
2294
  UNABLE_TO_DELIVER = "UNABLE_TO_DELIVER"
2027
2295
  }
2028
- /** Order Package Status Enum */
2029
2296
  export declare enum OrderPackageStatusEnum {
2030
2297
  CANCELLED = "CANCELLED",
2031
2298
  CANCEL_REJECTED = "CANCEL_REJECTED",
@@ -2035,6 +2302,7 @@ export declare enum OrderPackageStatusEnum {
2035
2302
  PARTIALLY_CANCELLED = "PARTIALLY_CANCELLED",
2036
2303
  PARTIALLY_DELIVERED = "PARTIALLY_DELIVERED",
2037
2304
  PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED",
2305
+ PARTIALLY_READY_FOR_SHIPMENT = "PARTIALLY_READY_FOR_SHIPMENT",
2038
2306
  PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
2039
2307
  READY_FOR_PICK_UP = "READY_FOR_PICK_UP",
2040
2308
  READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
@@ -2049,11 +2317,11 @@ export declare type OrderPackageStatusEnumInputFilter = {
2049
2317
  /** `equal`. The filter used for equality. */
2050
2318
  eq?: InputMaybe<OrderPackageStatusEnum>;
2051
2319
  /** Returns a boolean indicating whether a specified value is in an array. */
2052
- in?: InputMaybe<Array<OrderPackageStatusEnum>>;
2320
+ in?: InputMaybe<Array<InputMaybe<OrderPackageStatusEnum>>>;
2053
2321
  /** `not equal`. The filter used for not equality. */
2054
2322
  ne?: InputMaybe<OrderPackageStatusEnum>;
2055
2323
  /** Returns a boolean indicating whether a specified value is not in an array. */
2056
- nin?: InputMaybe<Array<OrderPackageStatusEnum>>;
2324
+ nin?: InputMaybe<Array<InputMaybe<OrderPackageStatusEnum>>>;
2057
2325
  };
2058
2326
  export declare type OrderPaginationResponse = {
2059
2327
  __typename?: 'OrderPaginationResponse';
@@ -2097,7 +2365,6 @@ export declare type OrderPaymentMethod = {
2097
2365
  /** It is the type enum of the order payment method. */
2098
2366
  type: PaymentMethodTypeEnum;
2099
2367
  };
2100
- /** Order Payment Status Enum */
2101
2368
  export declare enum OrderPaymentStatusEnum {
2102
2369
  PAID = "PAID",
2103
2370
  PARTIALLY_PAID = "PARTIALLY_PAID",
@@ -2107,11 +2374,11 @@ export declare type OrderPaymentStatusEnumInputFilter = {
2107
2374
  /** `equal`. The filter used for equality. */
2108
2375
  eq?: InputMaybe<OrderPaymentStatusEnum>;
2109
2376
  /** Returns a boolean indicating whether a specified value is in an array. */
2110
- in?: InputMaybe<Array<OrderPaymentStatusEnum>>;
2377
+ in?: InputMaybe<Array<InputMaybe<OrderPaymentStatusEnum>>>;
2111
2378
  /** `not equal`. The filter used for not equality. */
2112
2379
  ne?: InputMaybe<OrderPaymentStatusEnum>;
2113
2380
  /** Returns a boolean indicating whether a specified value is not in an array. */
2114
- nin?: InputMaybe<Array<OrderPaymentStatusEnum>>;
2381
+ nin?: InputMaybe<Array<InputMaybe<OrderPaymentStatusEnum>>>;
2115
2382
  };
2116
2383
  export declare type OrderPriceList = {
2117
2384
  __typename?: 'OrderPriceList';
@@ -2126,6 +2393,7 @@ export declare type OrderRefundInput = {
2126
2393
  paymentGatewayId: Scalars['String'];
2127
2394
  reason?: InputMaybe<Scalars['String']>;
2128
2395
  refundShipping?: InputMaybe<Scalars['Boolean']>;
2396
+ sendNotificationToCustomer?: InputMaybe<Scalars['Boolean']>;
2129
2397
  stockLocationId: Scalars['String'];
2130
2398
  };
2131
2399
  export declare type OrderRefundLineInput = {
@@ -2205,6 +2473,12 @@ export declare type OrderShippingLineInput = {
2205
2473
  /** It is the title of the order shipping line. */
2206
2474
  title: Scalars['String'];
2207
2475
  };
2476
+ export declare enum OrderShippingMethodEnum {
2477
+ CLICK_AND_COLLECT = "CLICK_AND_COLLECT",
2478
+ DIGITAL_DELIVERY = "DIGITAL_DELIVERY",
2479
+ NO_SHIPMENT = "NO_SHIPMENT",
2480
+ SHIPMENT = "SHIPMENT"
2481
+ }
2208
2482
  export declare type OrderStaff = {
2209
2483
  __typename?: 'OrderStaff';
2210
2484
  /** It is the email of the staff who created the order. */
@@ -2214,7 +2488,6 @@ export declare type OrderStaff = {
2214
2488
  /** It is the last name of the staff who created the order. */
2215
2489
  lastName: Scalars['String'];
2216
2490
  };
2217
- /** Order Status Enum */
2218
2491
  export declare enum OrderStatusEnum {
2219
2492
  CANCELLED = "CANCELLED",
2220
2493
  CREATED = "CREATED",
@@ -2229,11 +2502,11 @@ export declare type OrderStatusEnumInputFilter = {
2229
2502
  /** `equal`. The filter used for equality. */
2230
2503
  eq?: InputMaybe<OrderStatusEnum>;
2231
2504
  /** Returns a boolean indicating whether a specified value is in an array. */
2232
- in?: InputMaybe<Array<OrderStatusEnum>>;
2505
+ in?: InputMaybe<Array<InputMaybe<OrderStatusEnum>>>;
2233
2506
  /** `not equal`. The filter used for not equality. */
2234
2507
  ne?: InputMaybe<OrderStatusEnum>;
2235
2508
  /** Returns a boolean indicating whether a specified value is not in an array. */
2236
- nin?: InputMaybe<Array<OrderStatusEnum>>;
2509
+ nin?: InputMaybe<Array<InputMaybe<OrderStatusEnum>>>;
2237
2510
  };
2238
2511
  export declare type OrderStockLocation = {
2239
2512
  __typename?: 'OrderStockLocation';
@@ -2280,6 +2553,22 @@ export declare type OrderStorefrontTheme = {
2280
2553
  /** It is the ikas theme version id used by the storefront when the order was created. */
2281
2554
  themeVersionId?: Maybe<Scalars['String']>;
2282
2555
  };
2556
+ export declare type OrderTag = {
2557
+ __typename?: 'OrderTag';
2558
+ createdAt?: Maybe<Scalars['Timestamp']>;
2559
+ deleted?: Maybe<Scalars['Boolean']>;
2560
+ id: Scalars['ID'];
2561
+ merchantId: Scalars['String'];
2562
+ name: Scalars['String'];
2563
+ updatedAt?: Maybe<Scalars['Timestamp']>;
2564
+ };
2565
+ export declare type OrderTagInput = {
2566
+ createdAt?: InputMaybe<Scalars['Timestamp']>;
2567
+ deleted?: InputMaybe<Scalars['Boolean']>;
2568
+ id?: InputMaybe<Scalars['ID']>;
2569
+ name: Scalars['String'];
2570
+ updatedAt?: InputMaybe<Scalars['Timestamp']>;
2571
+ };
2283
2572
  export declare type OrderTaxLine = {
2284
2573
  __typename?: 'OrderTaxLine';
2285
2574
  /** It is the price of the order tax. */
@@ -2310,18 +2599,6 @@ export declare type PaginationInput = {
2310
2599
  */
2311
2600
  page?: InputMaybe<Scalars['Int']>;
2312
2601
  };
2313
- export declare enum PaymentMethodEnum {
2314
- APP_PAYMENT = "APP_PAYMENT",
2315
- BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
2316
- CASH = "CASH",
2317
- CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
2318
- CREDIT_CARD = "CREDIT_CARD",
2319
- CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
2320
- GIFT_CARD = "GIFT_CARD",
2321
- MONEY_ORDER = "MONEY_ORDER",
2322
- OTHER = "OTHER",
2323
- WALLET = "WALLET"
2324
- }
2325
2602
  export declare enum PaymentMethodTypeEnum {
2326
2603
  APP_PAYMENT = "APP_PAYMENT",
2327
2604
  BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
@@ -2339,6 +2616,8 @@ export declare type PriceList = {
2339
2616
  createdAt?: Maybe<Scalars['Timestamp']>;
2340
2617
  /** The currency of the product's price list. */
2341
2618
  currency: Scalars['String'];
2619
+ currencyCode?: Maybe<Scalars['String']>;
2620
+ currencySymbol?: Maybe<Scalars['String']>;
2342
2621
  deleted?: Maybe<Scalars['Boolean']>;
2343
2622
  id: Scalars['ID'];
2344
2623
  /** It is the name of the price list of the product. */
@@ -2349,6 +2628,8 @@ export declare type Product = {
2349
2628
  __typename?: 'Product';
2350
2629
  /** List of product attributes. */
2351
2630
  attributes?: Maybe<Array<ProductAttributeValue>>;
2631
+ /** Base unit of the product. */
2632
+ baseUnit?: Maybe<ProductBaseUnitModel>;
2352
2633
  /** Brand of the product. */
2353
2634
  brand?: Maybe<SimpleProductBrand>;
2354
2635
  /** Brand id of the product. */
@@ -2361,6 +2642,7 @@ export declare type Product = {
2361
2642
  deleted?: Maybe<Scalars['Boolean']>;
2362
2643
  /** Description of the product. */
2363
2644
  description?: Maybe<Scalars['String']>;
2645
+ googleTaxonomyId?: Maybe<Scalars['String']>;
2364
2646
  /** This is the variant type id that can be used to group variants by a specific variant type id. */
2365
2647
  groupVariantsByVariantTypeId?: Maybe<Scalars['String']>;
2366
2648
  id: Scalars['ID'];
@@ -2519,6 +2801,20 @@ export declare type ProductAttributeValueInput = {
2519
2801
  productAttributeOptionId?: InputMaybe<Scalars['String']>;
2520
2802
  value?: InputMaybe<Scalars['String']>;
2521
2803
  };
2804
+ export declare type ProductBaseUnitModel = {
2805
+ __typename?: 'ProductBaseUnitModel';
2806
+ /** Amount of the product unit. */
2807
+ baseAmount?: Maybe<Scalars['Float']>;
2808
+ /** Type of the product unit. */
2809
+ type: ProductUnitTypeEnum;
2810
+ /** Unit id of the product unit. */
2811
+ unitId?: Maybe<Scalars['String']>;
2812
+ };
2813
+ export declare type ProductBaseUnitModelInput = {
2814
+ baseAmount: Scalars['Float'];
2815
+ type: ProductUnitTypeEnum;
2816
+ unitId?: InputMaybe<Scalars['String']>;
2817
+ };
2522
2818
  export declare type ProductBrand = {
2523
2819
  __typename?: 'ProductBrand';
2524
2820
  createdAt?: Maybe<Scalars['Timestamp']>;
@@ -2594,11 +2890,13 @@ export declare type ProductImageInput = {
2594
2890
  };
2595
2891
  export declare type ProductInput = {
2596
2892
  attributes?: InputMaybe<Array<ProductAttributeValueInput>>;
2893
+ baseUnit?: InputMaybe<ProductBaseUnitModelInput>;
2597
2894
  brandId?: InputMaybe<Scalars['String']>;
2598
2895
  categoryIds?: InputMaybe<Array<Scalars['String']>>;
2599
2896
  createdAt?: InputMaybe<Scalars['Timestamp']>;
2600
2897
  deleted?: InputMaybe<Scalars['Boolean']>;
2601
2898
  description?: InputMaybe<Scalars['String']>;
2899
+ googleTaxonomyId?: InputMaybe<Scalars['String']>;
2602
2900
  groupVariantsByVariantTypeId?: InputMaybe<Scalars['String']>;
2603
2901
  id?: InputMaybe<Scalars['ID']>;
2604
2902
  /** Max purchasable quantity of the product for per cart. */
@@ -2678,6 +2976,7 @@ export declare type ProductOptionSelectValue = {
2678
2976
  export declare type ProductOptionSelectValueOtherPrice = {
2679
2977
  __typename?: 'ProductOptionSelectValueOtherPrice';
2680
2978
  currencyCode: Scalars['String'];
2979
+ currencySymbol?: Maybe<Scalars['String']>;
2681
2980
  price: Scalars['Float'];
2682
2981
  };
2683
2982
  export declare type ProductOptionSelectValueTranslations = {
@@ -2757,6 +3056,8 @@ export declare type ProductPrice = {
2757
3056
  buyPrice?: Maybe<Scalars['Float']>;
2758
3057
  /** Currency for the price of product. */
2759
3058
  currency?: Maybe<Scalars['String']>;
3059
+ currencyCode?: Maybe<Scalars['String']>;
3060
+ currencySymbol?: Maybe<Scalars['String']>;
2760
3061
  /** Discount price of product. */
2761
3062
  discountPrice?: Maybe<Scalars['Float']>;
2762
3063
  /** Id of the price list that the product belongs to. */
@@ -2894,10 +3195,63 @@ export declare type ProductTranslationInput = {
2894
3195
  };
2895
3196
  /** Product Types */
2896
3197
  export declare enum ProductTypeEnum {
3198
+ BUNDLE = "BUNDLE",
2897
3199
  DIGITAL = "DIGITAL",
2898
3200
  MEMBERSHIP = "MEMBERSHIP",
2899
3201
  PHYSICAL = "PHYSICAL"
2900
3202
  }
3203
+ export declare type ProductUnit = {
3204
+ __typename?: 'ProductUnit';
3205
+ createdAt?: Maybe<Scalars['Timestamp']>;
3206
+ deleted?: Maybe<Scalars['Boolean']>;
3207
+ id: Scalars['ID'];
3208
+ /** The name of the product's unit. */
3209
+ name: Scalars['String'];
3210
+ /** The name of the product's unit. */
3211
+ translations?: Maybe<Array<ProductUnitTranslation>>;
3212
+ updatedAt?: Maybe<Scalars['Timestamp']>;
3213
+ };
3214
+ export declare type ProductUnitInput = {
3215
+ createdAt?: InputMaybe<Scalars['Timestamp']>;
3216
+ deleted?: InputMaybe<Scalars['Boolean']>;
3217
+ id?: InputMaybe<Scalars['ID']>;
3218
+ /** The name of the product's unit. */
3219
+ name: Scalars['String'];
3220
+ /** The name of the product's unit. */
3221
+ translations?: InputMaybe<Array<ProductUnitTranslationInput>>;
3222
+ updatedAt?: InputMaybe<Scalars['Timestamp']>;
3223
+ };
3224
+ export declare type ProductUnitTranslation = {
3225
+ __typename?: 'ProductUnitTranslation';
3226
+ /** It is the description information of the translation. */
3227
+ description?: Maybe<Scalars['String']>;
3228
+ /** It is the name information of the translation. */
3229
+ locale: Scalars['String'];
3230
+ /** It is the information in which language the translation is saved. */
3231
+ name?: Maybe<Scalars['String']>;
3232
+ };
3233
+ export declare type ProductUnitTranslationInput = {
3234
+ /** It is the description information of the translation. */
3235
+ description?: InputMaybe<Scalars['String']>;
3236
+ /** It is the name information of the translation. */
3237
+ locale: Scalars['String'];
3238
+ /** It is the information in which language the translation is saved. */
3239
+ name?: InputMaybe<Scalars['String']>;
3240
+ };
3241
+ export declare enum ProductUnitTypeEnum {
3242
+ CENTILITER = "CENTILITER",
3243
+ CENTIMETER = "CENTIMETER",
3244
+ CUBIC_METERS = "CUBIC_METERS",
3245
+ CUSTOM = "CUSTOM",
3246
+ GRAM = "GRAM",
3247
+ KILOGRAM = "KILOGRAM",
3248
+ LITER = "LITER",
3249
+ METER = "METER",
3250
+ MILLIGRAM = "MILLIGRAM",
3251
+ MILLILITER = "MILLILITER",
3252
+ MILLIMETER = "MILLIMETER",
3253
+ SQUARE_METERS = "SQUARE_METERS"
3254
+ }
2901
3255
  export declare type ProductVariantType = {
2902
3256
  __typename?: 'ProductVariantType';
2903
3257
  /** Order of the variant type. */
@@ -2919,6 +3273,7 @@ export declare type PublicTransaction = {
2919
3273
  checkoutId?: Maybe<Scalars['String']>;
2920
3274
  createdAt?: Maybe<Scalars['Timestamp']>;
2921
3275
  currencyCode: Scalars['String'];
3276
+ currencySymbol?: Maybe<Scalars['String']>;
2922
3277
  customerId?: Maybe<Scalars['String']>;
2923
3278
  deleted?: Maybe<Scalars['Boolean']>;
2924
3279
  error?: Maybe<TransactionError>;
@@ -2927,7 +3282,7 @@ export declare type PublicTransaction = {
2927
3282
  paymentGatewayCode?: Maybe<Scalars['String']>;
2928
3283
  paymentGatewayId: Scalars['String'];
2929
3284
  paymentGatewayName: Scalars['String'];
2930
- paymentMethod?: Maybe<PaymentMethodEnum>;
3285
+ paymentMethod?: Maybe<PaymentMethodTypeEnum>;
2931
3286
  paymentMethodDetail?: Maybe<TransactionPaymentMethodDetail>;
2932
3287
  processedAt?: Maybe<Scalars['Timestamp']>;
2933
3288
  refundReason?: Maybe<Scalars['String']>;
@@ -2939,6 +3294,8 @@ export declare type Query = {
2939
3294
  __typename?: 'Query';
2940
3295
  /** By using this api you can get properties of merchant and merchant staff. */
2941
3296
  getAuthorizedApp?: Maybe<AuthorizedApp>;
3297
+ /** Use this mutation to get global settings. */
3298
+ getGlobalTaxSettings?: Maybe<GlobalTaxSettings>;
2942
3299
  /** Upload url for the specified image. */
2943
3300
  getImageUploadUrl: Scalars['String'];
2944
3301
  getImportJobData: GetImportJobDataResponse;
@@ -2949,6 +3306,7 @@ export declare type Query = {
2949
3306
  /** Using this api, you can view your sales channel. */
2950
3307
  getSalesChannel?: Maybe<SalesChannel>;
2951
3308
  getVideoUploadUrl: GetVideoUploadURLResponse;
3309
+ listBranch: Array<Branch>;
2952
3310
  /**
2953
3311
  * Using this api, you can view the categories of products.
2954
3312
  * Search applies to following fields: `name`
@@ -2962,6 +3320,7 @@ export declare type Query = {
2962
3320
  /** Using this api, you can view the payment features that a merchant has created for the app. */
2963
3321
  listMerchantAppPayment: MerchantAppPaymentPaginationResponse;
2964
3322
  listOrder: OrderPaginationResponse;
3323
+ listOrderTag: Array<OrderTag>;
2965
3324
  listOrderTransactions: Array<PublicTransaction>;
2966
3325
  listPriceList: Array<PriceList>;
2967
3326
  /**
@@ -2980,12 +3339,15 @@ export declare type Query = {
2980
3339
  listProductStockLocation: ProductStockLocationPaginationResponse;
2981
3340
  /** Using this api, you can view the tags of products. */
2982
3341
  listProductTag: Array<ProductTag>;
3342
+ /** Using this api, you can view the units of products. */
3343
+ listProductUnit: Array<ProductUnit>;
2983
3344
  listSalesChannel: Array<SalesChannel>;
2984
3345
  listState: Array<State>;
2985
3346
  listStockLocation: Array<StockLocation>;
2986
3347
  listStorefront: Array<Storefront>;
2987
3348
  /** Use this query to list storefront javascript scripts by supplying the `storefrontId` input. */
2988
3349
  listStorefrontJSScript: Array<StorefrontJSScript>;
3350
+ listTerminal: Array<Terminal>;
2989
3351
  listTown: Array<Town>;
2990
3352
  /** Using this api, you can view the variant types of products. */
2991
3353
  listVariantType: Array<VariantType>;
@@ -2997,6 +3359,7 @@ export declare type Query = {
2997
3359
  productAttributeExport: Scalars['String'];
2998
3360
  /** Result(s) containing searched products. */
2999
3361
  searchProducts: ProductSearchResponse;
3362
+ variantAttributeExport: Scalars['String'];
3000
3363
  };
3001
3364
  export declare type QuerygetImageUploadUrlArgs = {
3002
3365
  imageDir?: InputMaybe<Scalars['String']>;
@@ -3008,6 +3371,13 @@ export declare type QuerygetImportJobDataArgs = {
3008
3371
  export declare type QuerygetVideoUploadUrlArgs = {
3009
3372
  videoId: Scalars['String'];
3010
3373
  };
3374
+ export declare type QuerylistBranchArgs = {
3375
+ id?: InputMaybe<StringFilterInput>;
3376
+ includeDeleted?: InputMaybe<Scalars['Boolean']>;
3377
+ name?: InputMaybe<StringFilterInput>;
3378
+ salesChannelId?: InputMaybe<StringFilterInput>;
3379
+ updatedAt?: InputMaybe<DateFilterInput>;
3380
+ };
3011
3381
  export declare type QuerylistCategoryArgs = {
3012
3382
  categoryPath?: InputMaybe<CategoryPathFilterInput>;
3013
3383
  id?: InputMaybe<StringFilterInput>;
@@ -3060,6 +3430,7 @@ export declare type QuerylistOrderArgs = {
3060
3430
  orderNumber?: InputMaybe<StringFilterInput>;
3061
3431
  orderPackageStatus?: InputMaybe<OrderPackageStatusEnumInputFilter>;
3062
3432
  orderPaymentStatus?: InputMaybe<OrderPaymentStatusEnumInputFilter>;
3433
+ orderTagIds?: InputMaybe<StringFilterInput>;
3063
3434
  orderedAt?: InputMaybe<DateFilterInput>;
3064
3435
  pagination?: InputMaybe<PaginationInput>;
3065
3436
  search?: InputMaybe<Scalars['String']>;
@@ -3067,6 +3438,13 @@ export declare type QuerylistOrderArgs = {
3067
3438
  status?: InputMaybe<OrderStatusEnumInputFilter>;
3068
3439
  updatedAt?: InputMaybe<DateFilterInput>;
3069
3440
  };
3441
+ export declare type QuerylistOrderTagArgs = {
3442
+ id?: InputMaybe<StringFilterInput>;
3443
+ includeDeleted?: InputMaybe<Scalars['Boolean']>;
3444
+ name?: InputMaybe<StringFilterInput>;
3445
+ search?: InputMaybe<Scalars['String']>;
3446
+ updatedAt?: InputMaybe<DateFilterInput>;
3447
+ };
3070
3448
  export declare type QuerylistOrderTransactionsArgs = {
3071
3449
  orderId: Scalars['String'];
3072
3450
  };
@@ -3075,11 +3453,18 @@ export declare type QuerylistPriceListArgs = {
3075
3453
  };
3076
3454
  export declare type QuerylistProductArgs = {
3077
3455
  barcodeList?: InputMaybe<StringFilterInput>;
3456
+ brandId?: InputMaybe<StringFilterInput>;
3457
+ categoryIds?: InputMaybe<CategoryFilterInput>;
3078
3458
  id?: InputMaybe<StringFilterInput>;
3079
3459
  includeDeleted?: InputMaybe<Scalars['Boolean']>;
3460
+ name?: InputMaybe<StringFilterInput>;
3080
3461
  pagination?: InputMaybe<PaginationInput>;
3462
+ salesChannelIds?: InputMaybe<StringFilterInput>;
3081
3463
  sku?: InputMaybe<StringFilterInput>;
3082
3464
  sort?: InputMaybe<Scalars['String']>;
3465
+ tagIds?: InputMaybe<StringFilterInput>;
3466
+ variantStockLocationId?: InputMaybe<StringFilterInput>;
3467
+ vendorId?: InputMaybe<StringFilterInput>;
3083
3468
  };
3084
3469
  export declare type QuerylistProductAttributeArgs = {
3085
3470
  id?: InputMaybe<StringFilterInput>;
@@ -3112,6 +3497,9 @@ export declare type QuerylistProductTagArgs = {
3112
3497
  name?: InputMaybe<StringFilterInput>;
3113
3498
  updatedAt?: InputMaybe<DateFilterInput>;
3114
3499
  };
3500
+ export declare type QuerylistProductUnitArgs = {
3501
+ id?: InputMaybe<StringFilterInput>;
3502
+ };
3115
3503
  export declare type QuerylistSalesChannelArgs = {
3116
3504
  id?: InputMaybe<StringFilterInput>;
3117
3505
  };
@@ -3132,6 +3520,12 @@ export declare type QuerylistStorefrontArgs = {
3132
3520
  export declare type QuerylistStorefrontJSScriptArgs = {
3133
3521
  storefrontId?: InputMaybe<Scalars['String']>;
3134
3522
  };
3523
+ export declare type QuerylistTerminalArgs = {
3524
+ branchId?: InputMaybe<StringFilterInput>;
3525
+ id?: InputMaybe<StringFilterInput>;
3526
+ includeDeleted?: InputMaybe<Scalars['Boolean']>;
3527
+ updatedAt?: InputMaybe<DateFilterInput>;
3528
+ };
3135
3529
  export declare type QuerylistTownArgs = {
3136
3530
  districtId: StringFilterInput;
3137
3531
  id?: InputMaybe<StringFilterInput>;
@@ -3156,7 +3550,9 @@ export declare type QueryproductAttributeExportArgs = {
3156
3550
  export declare type QuerysearchProductsArgs = {
3157
3551
  input: SearchInput;
3158
3552
  };
3159
- /** Enum for SF Analytics Traffic Source */
3553
+ export declare type QueryvariantAttributeExportArgs = {
3554
+ csvFilterInput?: InputMaybe<CSVExportFilterInput>;
3555
+ };
3160
3556
  export declare enum SFAnalyticsTrafficSourceEnum {
3161
3557
  ADS_OTHER = "ADS_OTHER",
3162
3558
  AFFILIATE = "AFFILIATE",
@@ -3216,6 +3612,7 @@ export declare type SalesChannelStockLocationInput = {
3216
3612
  };
3217
3613
  /** Sales Channel Type */
3218
3614
  export declare enum SalesChannelTypeEnum {
3615
+ ADMIN = "ADMIN",
3219
3616
  APP = "APP",
3220
3617
  FACEBOOK = "FACEBOOK",
3221
3618
  GOOGLE = "GOOGLE",
@@ -3279,6 +3676,8 @@ export declare type SearchInput = {
3279
3676
  export declare type SearchProduct = {
3280
3677
  __typename?: 'SearchProduct';
3281
3678
  attributes?: Maybe<Array<SearchProductAttributeValue>>;
3679
+ averageRating?: Maybe<Scalars['Float']>;
3680
+ baseUnit?: Maybe<SearchProductProductBaseUnit>;
3282
3681
  brand?: Maybe<SearchProductBrand>;
3283
3682
  categories?: Maybe<Array<SearchCategory>>;
3284
3683
  deleted?: Maybe<Scalars['Boolean']>;
@@ -3289,6 +3688,7 @@ export declare type SearchProduct = {
3289
3688
  name: Scalars['String'];
3290
3689
  productOptionSetId?: Maybe<Scalars['String']>;
3291
3690
  productVariantTypes: Array<SearchProductVariantType>;
3691
+ reviewCount?: Maybe<Scalars['Float']>;
3292
3692
  salesChannelIds?: Maybe<Array<Scalars['String']>>;
3293
3693
  shortDescription?: Maybe<Scalars['String']>;
3294
3694
  tags?: Maybe<Array<SearchProductTag>>;
@@ -3345,9 +3745,23 @@ export declare type SearchProductPrice = {
3345
3745
  __typename?: 'SearchProductPrice';
3346
3746
  buyPrice?: Maybe<Scalars['Float']>;
3347
3747
  currency?: Maybe<Scalars['String']>;
3748
+ currencyCode?: Maybe<Scalars['String']>;
3749
+ currencySymbol?: Maybe<Scalars['String']>;
3348
3750
  discountPrice?: Maybe<Scalars['Float']>;
3349
3751
  priceListId?: Maybe<Scalars['String']>;
3350
3752
  sellPrice: Scalars['Float'];
3753
+ unitPrice?: Maybe<Scalars['Float']>;
3754
+ };
3755
+ export declare type SearchProductProductBaseUnit = {
3756
+ __typename?: 'SearchProductProductBaseUnit';
3757
+ baseAmount: Scalars['Float'];
3758
+ type: ProductUnitTypeEnum;
3759
+ unit?: Maybe<SearchProductProductUnit>;
3760
+ };
3761
+ export declare type SearchProductProductUnit = {
3762
+ __typename?: 'SearchProductProductUnit';
3763
+ id: Scalars['String'];
3764
+ name: Scalars['String'];
3351
3765
  };
3352
3766
  export declare type SearchProductStockLocation = {
3353
3767
  __typename?: 'SearchProductStockLocation';
@@ -3370,6 +3784,7 @@ export declare type SearchVariant = {
3370
3784
  __typename?: 'SearchVariant';
3371
3785
  attributes?: Maybe<Array<SearchProductAttributeValue>>;
3372
3786
  barcodeList?: Maybe<Array<Scalars['String']>>;
3787
+ bundleSettings?: Maybe<BundleSettingsModel>;
3373
3788
  deleted?: Maybe<Scalars['Boolean']>;
3374
3789
  id: Scalars['String'];
3375
3790
  images?: Maybe<Array<SearchProductImage>>;
@@ -3378,6 +3793,7 @@ export declare type SearchVariant = {
3378
3793
  sellIfOutOfStock?: Maybe<Scalars['Boolean']>;
3379
3794
  sku?: Maybe<Scalars['String']>;
3380
3795
  stocks?: Maybe<Array<SearchProductStockLocation>>;
3796
+ unit?: Maybe<VariantUnitModel>;
3381
3797
  variantValues?: Maybe<Array<SearchVariationValueRelation>>;
3382
3798
  weight?: Maybe<Scalars['Float']>;
3383
3799
  };
@@ -3401,12 +3817,21 @@ export declare type SearchVariationValueRelation = {
3401
3817
  variantTypeId: Scalars['String'];
3402
3818
  variantValueId: Scalars['String'];
3403
3819
  };
3404
- /** Shipping Method Enum */
3405
- export declare enum ShippingMethodEnum {
3406
- CLICK_AND_COLLECT = "CLICK_AND_COLLECT",
3407
- NO_SHIPMENT = "NO_SHIPMENT",
3408
- SHIPMENT = "SHIPMENT"
3409
- }
3820
+ export declare type ShippingZoneRegion = {
3821
+ __typename?: 'ShippingZoneRegion';
3822
+ createdAt?: Maybe<Scalars['Timestamp']>;
3823
+ deleted?: Maybe<Scalars['Boolean']>;
3824
+ id: Scalars['ID'];
3825
+ name: Scalars['String'];
3826
+ updatedAt?: Maybe<Scalars['Timestamp']>;
3827
+ };
3828
+ export declare type ShippingZoneRegionInput = {
3829
+ createdAt?: InputMaybe<Scalars['Timestamp']>;
3830
+ deleted?: InputMaybe<Scalars['Boolean']>;
3831
+ id?: InputMaybe<Scalars['ID']>;
3832
+ name: Scalars['String'];
3833
+ updatedAt?: InputMaybe<Scalars['Timestamp']>;
3834
+ };
3410
3835
  export declare type SimpleCategory = {
3411
3836
  __typename?: 'SimpleCategory';
3412
3837
  createdAt?: Maybe<Scalars['Timestamp']>;
@@ -3443,6 +3868,7 @@ export declare enum SourceTypeEnum {
3443
3868
  INVENTORY = "INVENTORY",
3444
3869
  MERCHANT = "MERCHANT",
3445
3870
  ORDER = "ORDER",
3871
+ PARTNER = "PARTNER",
3446
3872
  PRODUCT = "PRODUCT",
3447
3873
  STAFF = "STAFF",
3448
3874
  STOREFRONT = "STOREFRONT"
@@ -3454,8 +3880,12 @@ export declare type State = {
3454
3880
  createdAt?: Maybe<Scalars['Timestamp']>;
3455
3881
  deleted?: Maybe<Scalars['Boolean']>;
3456
3882
  id: Scalars['ID'];
3883
+ /** Shows spellings of state name in different languages. */
3884
+ locationTranslations?: Maybe<LocationTranslations>;
3457
3885
  /** State's name. */
3458
3886
  name: Scalars['String'];
3887
+ /** Indicates the name of the state in the local language. */
3888
+ native?: Maybe<Scalars['String']>;
3459
3889
  /** The two-letter state code corresponding to the state. */
3460
3890
  stateCode?: Maybe<Scalars['String']>;
3461
3891
  updatedAt?: Maybe<Scalars['Timestamp']>;
@@ -3559,8 +3989,12 @@ export declare type StorefrontJSScript = {
3559
3989
  __typename?: 'StorefrontJSScript';
3560
3990
  /** The id of the logged in application. */
3561
3991
  authorizedAppId?: Maybe<Scalars['String']>;
3992
+ /** The type of javascript script content. */
3993
+ contentType?: Maybe<StorefrontJSScriptContentTypeEnum>;
3562
3994
  createdAt?: Maybe<Scalars['Timestamp']>;
3563
3995
  deleted?: Maybe<Scalars['Boolean']>;
3996
+ /** The type of javascript script content. */
3997
+ fileName?: Maybe<Scalars['String']>;
3564
3998
  id: Scalars['ID'];
3565
3999
  /** Shows the availability status of the storefront. */
3566
4000
  isActive: Scalars['Boolean'];
@@ -3576,7 +4010,13 @@ export declare type StorefrontJSScript = {
3576
4010
  storefrontId: Scalars['String'];
3577
4011
  updatedAt?: Maybe<Scalars['Timestamp']>;
3578
4012
  };
4013
+ export declare enum StorefrontJSScriptContentTypeEnum {
4014
+ FILE = "FILE",
4015
+ SCRIPT = "SCRIPT"
4016
+ }
3579
4017
  export declare type StorefrontJSScriptInput = {
4018
+ contentType: StorefrontJSScriptContentTypeEnum;
4019
+ fileName?: InputMaybe<Scalars['String']>;
3580
4020
  name: Scalars['String'];
3581
4021
  scriptContent: Scalars['String'];
3582
4022
  storefrontId: Scalars['String'];
@@ -3604,8 +4044,10 @@ export declare enum SubscriptionCodeEnum {
3604
4044
  EXTENSION = "EXTENSION",
3605
4045
  FREEMIUM = "FREEMIUM",
3606
4046
  GROW = "GROW",
4047
+ PREMIUM = "PREMIUM",
3607
4048
  SCALE = "SCALE",
3608
- START = "START"
4049
+ START = "START",
4050
+ TRIAL = "TRIAL"
3609
4051
  }
3610
4052
  export declare enum SubscriptionPeriodEnum {
3611
4053
  MONTHLY = "MONTHLY",
@@ -3617,6 +4059,15 @@ export declare enum SubscriptionPriceCurrencyEnum {
3617
4059
  TRY = "TRY",
3618
4060
  USD = "USD"
3619
4061
  }
4062
+ export declare type Terminal = {
4063
+ __typename?: 'Terminal';
4064
+ branchId: Scalars['String'];
4065
+ createdAt?: Maybe<Scalars['Timestamp']>;
4066
+ deleted?: Maybe<Scalars['Boolean']>;
4067
+ id: Scalars['ID'];
4068
+ name: Scalars['String'];
4069
+ updatedAt?: Maybe<Scalars['Timestamp']>;
4070
+ };
3620
4071
  export declare type TimelineInput = {
3621
4072
  /** The message you want to add */
3622
4073
  message: Scalars['String'];
@@ -3749,6 +4200,10 @@ export declare type UpdateOrderPackageStatusPackagesInput = {
3749
4200
  /** It is the tracking information of the package */
3750
4201
  trackingInfo?: InputMaybe<TrackingInfoDetailInput>;
3751
4202
  };
4203
+ export declare type UpdateOrderTagInput = {
4204
+ orderId: Scalars['String'];
4205
+ orderTagId: Scalars['String'];
4206
+ };
3752
4207
  export declare type UpdateProductSalesChannelStatusInput = {
3753
4208
  /** Status of the product in the updated sales channels. */
3754
4209
  active: Scalars['Boolean'];
@@ -3778,6 +4233,8 @@ export declare type Variant = {
3778
4233
  attributes?: Maybe<Array<ProductAttributeValue>>;
3779
4234
  /** List of barcode for the variant. */
3780
4235
  barcodeList?: Maybe<Array<Scalars['String']>>;
4236
+ /** Show the product bundle settings. */
4237
+ bundleSettings?: Maybe<BundleSettingsModel>;
3781
4238
  createdAt?: Maybe<Scalars['Timestamp']>;
3782
4239
  deleted?: Maybe<Scalars['Boolean']>;
3783
4240
  /** Hs code of the variant. */
@@ -3794,6 +4251,8 @@ export declare type Variant = {
3794
4251
  /** SKU of the variant. */
3795
4252
  sku?: Maybe<Scalars['String']>;
3796
4253
  stocks?: Maybe<Array<VariantStock>>;
4254
+ /** Translations for the product. */
4255
+ unit?: Maybe<VariantUnitModel>;
3797
4256
  updatedAt?: Maybe<Scalars['Timestamp']>;
3798
4257
  /** List of variant value ids. */
3799
4258
  variantValueIds?: Maybe<Array<VariantValueRelation>>;
@@ -3803,6 +4262,7 @@ export declare type Variant = {
3803
4262
  export declare type VariantInput = {
3804
4263
  attributes?: InputMaybe<Array<ProductAttributeValueInput>>;
3805
4264
  barcodeList?: InputMaybe<Array<Scalars['String']>>;
4265
+ bundleSettings?: InputMaybe<BundleSettingsInput>;
3806
4266
  createdAt?: InputMaybe<Scalars['Timestamp']>;
3807
4267
  deleted?: InputMaybe<Scalars['Boolean']>;
3808
4268
  hsCode?: InputMaybe<Scalars['String']>;
@@ -3812,6 +4272,7 @@ export declare type VariantInput = {
3812
4272
  prices: Array<ProductPriceInput>;
3813
4273
  sellIfOutOfStock?: InputMaybe<Scalars['Boolean']>;
3814
4274
  sku?: InputMaybe<Scalars['String']>;
4275
+ unit?: InputMaybe<VariantUnitModelInput>;
3815
4276
  updatedAt?: InputMaybe<Scalars['Timestamp']>;
3816
4277
  variantValueIds?: InputMaybe<Array<VariantValueRelationInput>>;
3817
4278
  weight?: InputMaybe<Scalars['Float']>;
@@ -3881,6 +4342,17 @@ export declare type VariantTypeTranslationInput = {
3881
4342
  /** It is the translation information of the values of variant types. */
3882
4343
  values?: InputMaybe<Array<VariantValueTranslationInput>>;
3883
4344
  };
4345
+ export declare type VariantUnitModel = {
4346
+ __typename?: 'VariantUnitModel';
4347
+ /** Amount of the product unit. */
4348
+ amount?: Maybe<Scalars['Float']>;
4349
+ /** Type of the product unit. */
4350
+ type: ProductUnitTypeEnum;
4351
+ };
4352
+ export declare type VariantUnitModelInput = {
4353
+ amount: Scalars['Float'];
4354
+ type: ProductUnitTypeEnum;
4355
+ };
3884
4356
  export declare type VariantValue = {
3885
4357
  __typename?: 'VariantValue';
3886
4358
  /** It is the color code information of the variant values. It can be a maximum of 7 characters. */