@ikas/api-client 1.0.21 → 1.0.24

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.
@@ -25,6 +25,7 @@ export declare type Scalars = {
25
25
  };
26
26
  export declare type AbandonedCartFlow = {
27
27
  __typename?: 'AbandonedCartFlow';
28
+ authorizedAppId?: Maybe<Scalars['String']>;
28
29
  campaignId?: Maybe<Scalars['String']>;
29
30
  canApplicable: Scalars['Boolean'];
30
31
  couponId?: Maybe<Scalars['String']>;
@@ -32,19 +33,32 @@ export declare type AbandonedCartFlow = {
32
33
  flowId: Scalars['String'];
33
34
  mailSendDate?: Maybe<Scalars['Timestamp']>;
34
35
  mailTranslationId?: Maybe<Scalars['String']>;
36
+ messageType?: Maybe<AbandonedCartSettingsNotificationTypeEnum>;
35
37
  recoverEmailStatus: CheckoutRecoveryEmailStatusEnum;
36
38
  sendAfter: Scalars['Float'];
39
+ smsTranslationId?: Maybe<Scalars['String']>;
37
40
  };
38
41
  export declare type AbandonedCartFlowCustomerFilter = {
39
42
  __typename?: 'AbandonedCartFlowCustomerFilter';
40
43
  sendOnlyActiveAccount?: Maybe<Scalars['Boolean']>;
41
44
  sendOnlySubscribedToEmail?: Maybe<Scalars['Boolean']>;
42
45
  };
46
+ export declare enum AbandonedCartSettingsNotificationTypeEnum {
47
+ EMAIL = "EMAIL",
48
+ SMS = "SMS"
49
+ }
50
+ export declare type AddCouponsInput = {
51
+ campaignId: Scalars['String'];
52
+ coupons?: InputMaybe<Array<NewCouponInput>>;
53
+ generateCoupons?: InputMaybe<GenerateCouponInput>;
54
+ };
43
55
  export declare type AddOrderInvoiceInput = {
44
56
  /** It is the app id for which the invoice is issued. */
45
57
  appId: Scalars['String'];
46
58
  /** It is the content of invoice. Is the entered value must be in base64 format. */
47
- base64: Scalars['String'];
59
+ base64?: InputMaybe<Scalars['String']>;
60
+ /** 'It is data for create invoice. */
61
+ invoiceData?: InputMaybe<Scalars['JSON']>;
48
62
  /** It is the number of the order invoice. */
49
63
  invoiceNumber: Scalars['String'];
50
64
  /**
@@ -100,6 +114,83 @@ export declare type AvailableShippingMethod = {
100
114
  shippingSettingsId: Scalars['String'];
101
115
  shippingZoneRateId: Scalars['String'];
102
116
  };
117
+ export declare type Branch = {
118
+ __typename?: 'Branch';
119
+ address: BranchAddress;
120
+ createdAt?: Maybe<Scalars['Timestamp']>;
121
+ deleted?: Maybe<Scalars['Boolean']>;
122
+ favoriteItems?: Maybe<Array<BranchFavoriteItem>>;
123
+ id: Scalars['ID'];
124
+ name: Scalars['String'];
125
+ salesChannelId: Scalars['String'];
126
+ settings?: Maybe<BranchSettings>;
127
+ updatedAt?: Maybe<Scalars['Timestamp']>;
128
+ };
129
+ export declare type BranchAddress = {
130
+ __typename?: 'BranchAddress';
131
+ address: Scalars['String'];
132
+ city: BranchAddressCity;
133
+ country: BranchAddressCountry;
134
+ district?: Maybe<BranchAddressDistrict>;
135
+ phone?: Maybe<Scalars['String']>;
136
+ postalCode: Scalars['String'];
137
+ state?: Maybe<BranchAddressState>;
138
+ };
139
+ export declare type BranchAddressCity = {
140
+ __typename?: 'BranchAddressCity';
141
+ code?: Maybe<Scalars['String']>;
142
+ id?: Maybe<Scalars['String']>;
143
+ name: Scalars['String'];
144
+ };
145
+ export declare type BranchAddressCountry = {
146
+ __typename?: 'BranchAddressCountry';
147
+ code?: Maybe<Scalars['String']>;
148
+ id?: Maybe<Scalars['String']>;
149
+ name: Scalars['String'];
150
+ };
151
+ export declare type BranchAddressDistrict = {
152
+ __typename?: 'BranchAddressDistrict';
153
+ code?: Maybe<Scalars['String']>;
154
+ id?: Maybe<Scalars['String']>;
155
+ name?: Maybe<Scalars['String']>;
156
+ };
157
+ export declare type BranchAddressState = {
158
+ __typename?: 'BranchAddressState';
159
+ code?: Maybe<Scalars['String']>;
160
+ id?: Maybe<Scalars['String']>;
161
+ name?: Maybe<Scalars['String']>;
162
+ };
163
+ export declare type BranchFavoriteItem = {
164
+ __typename?: 'BranchFavoriteItem';
165
+ order: Scalars['Float'];
166
+ targetId: Scalars['String'];
167
+ targetParentId: Scalars['String'];
168
+ type: BranchFavoriteTypeEnum;
169
+ };
170
+ export declare enum BranchFavoriteTypeEnum {
171
+ CATEGORY = "CATEGORY",
172
+ DISCOUNT = "DISCOUNT",
173
+ PRODUCT = "PRODUCT",
174
+ VARIANT = "VARIANT"
175
+ }
176
+ export declare type BranchSettings = {
177
+ __typename?: 'BranchSettings';
178
+ customerRequirement?: Maybe<BranchSettingsRequirementEnum>;
179
+ gridLayout?: Maybe<BranchSettingsGridLayoutEnum>;
180
+ hideOutOfStockProducts?: Maybe<Scalars['Boolean']>;
181
+ lockTime?: Maybe<Scalars['Float']>;
182
+ pinRequirement?: Maybe<BranchSettingsRequirementEnum>;
183
+ sellOutOfStockProducts?: Maybe<Scalars['Boolean']>;
184
+ };
185
+ export declare enum BranchSettingsGridLayoutEnum {
186
+ FOUR_FIVE = "FOUR_FIVE",
187
+ THREE_FOUR = "THREE_FOUR",
188
+ TWO_EIGHT = "TWO_EIGHT"
189
+ }
190
+ export declare enum BranchSettingsRequirementEnum {
191
+ MANDATORY = "MANDATORY",
192
+ OPTIONAL = "OPTIONAL"
193
+ }
103
194
  export declare type BulkUpdateProductBrandInput = {
104
195
  /** Description of the brand. */
105
196
  description?: InputMaybe<Scalars['String']>;
@@ -231,6 +322,8 @@ export declare type BulkUpdateProductsInput = {
231
322
  deleted: Scalars['Boolean'];
232
323
  /** Description of the product. */
233
324
  description?: InputMaybe<Scalars['String']>;
325
+ /** Product Google Categories */
326
+ googleTaxonomyId?: InputMaybe<Scalars['String']>;
234
327
  id?: InputMaybe<Scalars['String']>;
235
328
  /** Max purchasable quantity of the product for per cart. */
236
329
  maxQuantityPerCart?: InputMaybe<Scalars['Float']>;
@@ -298,20 +391,140 @@ export declare type BundleSettingsModel = {
298
391
  /** List of products that can be included in the bundle product. */
299
392
  products: Array<BundleProductModel>;
300
393
  };
394
+ export declare type BuyX = {
395
+ __typename?: 'BuyX';
396
+ amount: Scalars['Float'];
397
+ applyByQuantity: Scalars['Boolean'];
398
+ filter: CampaignFilter;
399
+ };
400
+ export declare type BuyXInput = {
401
+ amount: Scalars['Float'];
402
+ applyByQuantity: Scalars['Boolean'];
403
+ filter: CampaignFilterInput;
404
+ };
405
+ export declare type BuyXThenGetY = {
406
+ __typename?: 'BuyXThenGetY';
407
+ buyX: BuyX;
408
+ getY: GetY;
409
+ maxUsagePerOrder?: Maybe<Scalars['Int']>;
410
+ };
411
+ export declare type BuyXThenGetYInput = {
412
+ buyX: BuyXInput;
413
+ getY: GetYInput;
414
+ maxUsagePerOrder?: InputMaybe<Scalars['Int']>;
415
+ };
301
416
  export declare type CSVExportFilterInput = {
302
417
  brandId?: InputMaybe<StringFilterInput>;
303
418
  categoryIds?: InputMaybe<CategoryFilterInput>;
419
+ salesChannelIds?: InputMaybe<StringFilterInput>;
420
+ stockLocationId?: InputMaybe<StringFilterInput>;
304
421
  tagIds?: InputMaybe<StringFilterInput>;
422
+ totalStock?: InputMaybe<NumberFilterInput>;
423
+ updatedAt?: InputMaybe<DateFilterInput>;
305
424
  };
306
425
  export declare type CSVImportResponse = {
307
426
  __typename?: 'CSVImportResponse';
308
427
  csvContent?: Maybe<Scalars['String']>;
309
428
  isSuccess: Scalars['Boolean'];
310
429
  };
430
+ export declare type Campaign = {
431
+ __typename?: 'Campaign';
432
+ applicableCustomerGroupIds?: Maybe<Array<Scalars['String']>>;
433
+ applicableCustomerIds?: Maybe<Array<Scalars['String']>>;
434
+ applicablePrice: CampaignApplicablePriceEnum;
435
+ buyXThenGetY?: Maybe<BuyXThenGetY>;
436
+ canCombineWithOtherCampaigns: Scalars['Boolean'];
437
+ createdAt?: Maybe<Scalars['Timestamp']>;
438
+ createdFor?: Maybe<CampaignCreatedForEnum>;
439
+ currencyCodes?: Maybe<Array<Scalars['String']>>;
440
+ dateRange?: Maybe<CampaignDateRangeField>;
441
+ deleted?: Maybe<Scalars['Boolean']>;
442
+ fixedDiscount?: Maybe<FixedDiscount>;
443
+ hasCoupon: Scalars['Boolean'];
444
+ id: Scalars['ID'];
445
+ includeDiscountedProducts?: Maybe<Scalars['Boolean']>;
446
+ isFreeShipping?: Maybe<Scalars['Boolean']>;
447
+ onlyUseCustomer?: Maybe<Scalars['Boolean']>;
448
+ salesChannelIds?: Maybe<Array<Scalars['String']>>;
449
+ title: Scalars['String'];
450
+ type: CampaignTypeEnum;
451
+ updatedAt?: Maybe<Scalars['Timestamp']>;
452
+ usageCount: Scalars['Int'];
453
+ usageLimit?: Maybe<Scalars['Int']>;
454
+ usageLimitPerCustomer?: Maybe<Scalars['Int']>;
455
+ };
456
+ export declare enum CampaignApplicablePriceEnum {
457
+ DISCOUNT_PRICE = "DISCOUNT_PRICE",
458
+ SELL_PRICE = "SELL_PRICE"
459
+ }
460
+ export declare enum CampaignCreatedForEnum {
461
+ ABANDONED_CHECKOUT = "ABANDONED_CHECKOUT",
462
+ CART = "CART",
463
+ CUSTOMER_REVIEW = "CUSTOMER_REVIEW"
464
+ }
465
+ export declare type CampaignDateRangeField = {
466
+ __typename?: 'CampaignDateRangeField';
467
+ end?: Maybe<Scalars['Timestamp']>;
468
+ start?: Maybe<Scalars['Timestamp']>;
469
+ };
470
+ export declare type CampaignDateRangeFieldInput = {
471
+ end?: InputMaybe<Scalars['Timestamp']>;
472
+ start?: InputMaybe<Scalars['Timestamp']>;
473
+ };
474
+ export declare type CampaignFilter = {
475
+ __typename?: 'CampaignFilter';
476
+ idList: Array<Scalars['String']>;
477
+ type: CampaignFilterTypeEnum;
478
+ };
479
+ export declare type CampaignFilterInput = {
480
+ idList: Array<Scalars['String']>;
481
+ type: CampaignFilterTypeEnum;
482
+ };
483
+ export declare enum CampaignFilterTypeEnum {
484
+ CATEGORY = "CATEGORY",
485
+ PRODUCT = "PRODUCT",
486
+ PRODUCT_BRAND = "PRODUCT_BRAND",
487
+ PRODUCT_TAG = "PRODUCT_TAG",
488
+ VARIANT = "VARIANT"
489
+ }
490
+ export declare type CampaignInput = {
491
+ applicableCustomerGroupIds?: InputMaybe<Array<Scalars['String']>>;
492
+ applicableCustomerIds?: InputMaybe<Array<Scalars['String']>>;
493
+ applicablePrice: CampaignApplicablePriceEnum;
494
+ buyXThenGetY?: InputMaybe<BuyXThenGetYInput>;
495
+ canCombineWithOtherCampaigns: Scalars['Boolean'];
496
+ createdAt?: InputMaybe<Scalars['Timestamp']>;
497
+ createdFor?: InputMaybe<CampaignCreatedForEnum>;
498
+ currencyCodes?: InputMaybe<Array<Scalars['String']>>;
499
+ dateRange?: InputMaybe<CampaignDateRangeFieldInput>;
500
+ deleted?: InputMaybe<Scalars['Boolean']>;
501
+ fixedDiscount?: InputMaybe<FixedDiscountInput>;
502
+ hasCoupon: Scalars['Boolean'];
503
+ id?: InputMaybe<Scalars['ID']>;
504
+ includeDiscountedProducts?: InputMaybe<Scalars['Boolean']>;
505
+ isFreeShipping?: InputMaybe<Scalars['Boolean']>;
506
+ onlyUseCustomer?: InputMaybe<Scalars['Boolean']>;
507
+ salesChannelIds?: InputMaybe<Array<Scalars['String']>>;
508
+ title: Scalars['String'];
509
+ type: CampaignTypeEnum;
510
+ updatedAt?: InputMaybe<Scalars['Timestamp']>;
511
+ usageLimit?: InputMaybe<Scalars['Int']>;
512
+ usageLimitPerCustomer?: InputMaybe<Scalars['Int']>;
513
+ };
514
+ export declare type CampaignMinMaxRangeField = {
515
+ __typename?: 'CampaignMinMaxRangeField';
516
+ max?: Maybe<Scalars['Float']>;
517
+ min?: Maybe<Scalars['Float']>;
518
+ };
519
+ export declare type CampaignMinMaxRangeFieldInput = {
520
+ max?: InputMaybe<Scalars['Float']>;
521
+ min?: InputMaybe<Scalars['Float']>;
522
+ };
311
523
  export declare type CampaignOffer = {
312
524
  __typename?: 'CampaignOffer';
313
525
  availableSalesChannelIds: Array<Scalars['String']>;
314
526
  createdAt?: Maybe<Scalars['Timestamp']>;
527
+ currencyCodes?: Maybe<Array<Scalars['String']>>;
315
528
  deleted?: Maybe<Scalars['Boolean']>;
316
529
  endDate?: Maybe<Scalars['Timestamp']>;
317
530
  followUpActionType: CampaignOfferFollowUpActionTypeEnum;
@@ -332,6 +545,7 @@ export declare enum CampaignOfferFollowUpActionTypeEnum {
332
545
  }
333
546
  export declare type CampaignOfferProduct = {
334
547
  __typename?: 'CampaignOfferProduct';
548
+ applicablePrice?: Maybe<CampaignOfferProductApplicablePriceEnum>;
335
549
  countdownMinutes?: Maybe<Scalars['Float']>;
336
550
  description?: Maybe<Scalars['String']>;
337
551
  discountAmount?: Maybe<Scalars['Float']>;
@@ -345,6 +559,10 @@ export declare type CampaignOfferProduct = {
345
559
  title: Scalars['String'];
346
560
  translations?: Maybe<Array<CampaignOfferProductTranslation>>;
347
561
  };
562
+ export declare enum CampaignOfferProductApplicablePriceEnum {
563
+ DISCOUNT_PRICE = "DISCOUNT_PRICE",
564
+ SELL_PRICE = "SELL_PRICE"
565
+ }
348
566
  export declare enum CampaignOfferProductShowCriteriaEnum {
349
567
  PREVIOUS_ACCEPTED = "PREVIOUS_ACCEPTED",
350
568
  PREVIOUS_REJECTED = "PREVIOUS_REJECTED"
@@ -362,6 +580,7 @@ export declare enum CampaignOfferTargetPageTypeEnum {
362
580
  export declare enum CampaignOfferTriggerFilterTypeEnum {
363
581
  ALL_PRODUCTS = "ALL_PRODUCTS",
364
582
  CATEGORY = "CATEGORY",
583
+ MIN_CART_AMOUNT = "MIN_CART_AMOUNT",
365
584
  PRODUCT = "PRODUCT",
366
585
  PRODUCT_TAG = "PRODUCT_TAG",
367
586
  VARIANT = "VARIANT"
@@ -375,6 +594,35 @@ export declare enum CampaignOfferTypeEnum {
375
594
  CROSS_SELL = "CROSS_SELL",
376
595
  UPSELL = "UPSELL"
377
596
  }
597
+ export declare type CampaignPaginationResponse = {
598
+ __typename?: 'CampaignPaginationResponse';
599
+ /**
600
+ * Returns the first three records of each page in the records returned as a response.
601
+ * For example, **let's say page = 3, limit = 30, count = 3.**
602
+ * The records that will return as a response are the records **between 60-62.**
603
+ */
604
+ count: Scalars['Int'];
605
+ data: Array<Campaign>;
606
+ /** In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is `true` despite these records, **it means there are more records.** If hasNext is `false`, it means there are a total of **90 records.** */
607
+ hasNext: Scalars['Boolean'];
608
+ /**
609
+ * The maximum number of data you want to see on a page in the records returned as a response.
610
+ * For example, if the limit is **20**, the data will be displayed ** as 20 each. **
611
+ * :::note
612
+ * min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
613
+ * :::
614
+ */
615
+ limit: Scalars['Int'];
616
+ /**
617
+ * The number of the page you want to see in the records that return as response.
618
+ * For example: We entered the page field as **3**.And let our limit field be **30**.
619
+ * The records that will return as a response are the records **between 60-90.**
620
+ * :::note
621
+ * If no value is entered, default 1 is accepted.
622
+ * :::
623
+ */
624
+ page: Scalars['Int'];
625
+ };
378
626
  export declare enum CampaignTypeEnum {
379
627
  BUY_X_THEN_GET_Y = "BUY_X_THEN_GET_Y",
380
628
  FIXED_AMOUNT = "FIXED_AMOUNT",
@@ -462,6 +710,7 @@ export declare type CategoryConditionInput = {
462
710
  };
463
711
  /** CategoryCondition Types */
464
712
  export declare enum CategoryConditionTypeEnum {
713
+ CAMPAIGN = "CAMPAIGN",
465
714
  CREATED_AT = "CREATED_AT",
466
715
  DISCOUNTED_PRODUCTS = "DISCOUNTED_PRODUCTS",
467
716
  PRICE_RANGE = "PRICE_RANGE",
@@ -609,6 +858,48 @@ export declare type Country = {
609
858
  subregion?: Maybe<Scalars['String']>;
610
859
  updatedAt?: Maybe<Scalars['Timestamp']>;
611
860
  };
861
+ export declare type Coupon = {
862
+ __typename?: 'Coupon';
863
+ campaignId: Scalars['String'];
864
+ canCombineWithOtherCampaigns: Scalars['Boolean'];
865
+ code: Scalars['String'];
866
+ createdAt?: Maybe<Scalars['Timestamp']>;
867
+ deleted?: Maybe<Scalars['Boolean']>;
868
+ id: Scalars['ID'];
869
+ updatedAt?: Maybe<Scalars['Timestamp']>;
870
+ usageCount: Scalars['Int'];
871
+ usageLimit?: Maybe<Scalars['Int']>;
872
+ usageLimitPerCustomer?: Maybe<Scalars['Int']>;
873
+ };
874
+ export declare type CouponPaginationResponse = {
875
+ __typename?: 'CouponPaginationResponse';
876
+ /**
877
+ * Returns the first three records of each page in the records returned as a response.
878
+ * For example, **let's say page = 3, limit = 30, count = 3.**
879
+ * The records that will return as a response are the records **between 60-62.**
880
+ */
881
+ count: Scalars['Int'];
882
+ data: Array<Coupon>;
883
+ /** In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is `true` despite these records, **it means there are more records.** If hasNext is `false`, it means there are a total of **90 records.** */
884
+ hasNext: Scalars['Boolean'];
885
+ /**
886
+ * The maximum number of data you want to see on a page in the records returned as a response.
887
+ * For example, if the limit is **20**, the data will be displayed ** as 20 each. **
888
+ * :::note
889
+ * min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
890
+ * :::
891
+ */
892
+ limit: Scalars['Int'];
893
+ /**
894
+ * The number of the page you want to see in the records that return as response.
895
+ * For example: We entered the page field as **3**.And let our limit field be **30**.
896
+ * The records that will return as a response are the records **between 60-90.**
897
+ * :::note
898
+ * If no value is entered, default 1 is accepted.
899
+ * :::
900
+ */
901
+ page: Scalars['Int'];
902
+ };
612
903
  export declare type CreateMerchantAppPaymentWithSubscriptionInput = {
613
904
  /** It keeps the information of which type of license is obtained. For example: trendyol-app-licence, foriba-app-licence etc. */
614
905
  storeAppListingSubscriptionKey: Scalars['String'];
@@ -799,6 +1090,69 @@ export declare type CustomerAddressState = {
799
1090
  id?: Maybe<Scalars['String']>;
800
1091
  name?: Maybe<Scalars['String']>;
801
1092
  };
1093
+ export declare type CustomerAttribute = {
1094
+ __typename?: 'CustomerAttribute';
1095
+ createdAt?: Maybe<Scalars['Timestamp']>;
1096
+ deleted?: Maybe<Scalars['Boolean']>;
1097
+ description?: Maybe<Scalars['String']>;
1098
+ id: Scalars['ID'];
1099
+ name: Scalars['String'];
1100
+ options?: Maybe<Array<CustomerAttributeOption>>;
1101
+ order?: Maybe<Scalars['Float']>;
1102
+ salesChannels?: Maybe<Array<CustomerAttributeSalesChannel>>;
1103
+ translations?: Maybe<Array<CustomerAttributeTranslation>>;
1104
+ type: CustomerAttributeTypeEnum;
1105
+ updatedAt?: Maybe<Scalars['Timestamp']>;
1106
+ };
1107
+ export declare type CustomerAttributeOption = {
1108
+ __typename?: 'CustomerAttributeOption';
1109
+ createdAt?: Maybe<Scalars['Timestamp']>;
1110
+ deleted?: Maybe<Scalars['Boolean']>;
1111
+ id: Scalars['ID'];
1112
+ name: Scalars['String'];
1113
+ order?: Maybe<Scalars['Float']>;
1114
+ updatedAt?: Maybe<Scalars['Timestamp']>;
1115
+ };
1116
+ export declare type CustomerAttributeOptionTranslation = {
1117
+ __typename?: 'CustomerAttributeOptionTranslation';
1118
+ id: Scalars['String'];
1119
+ name?: Maybe<Scalars['String']>;
1120
+ };
1121
+ /** Customer Attribute Permission Types */
1122
+ export declare enum CustomerAttributePermissionEnum {
1123
+ INVISIBLE = "INVISIBLE",
1124
+ READ = "READ",
1125
+ WRITE = "WRITE"
1126
+ }
1127
+ /** Customer Attribute Register Page Requirement Types */
1128
+ export declare enum CustomerAttributeRegisterPageRequirementEnum {
1129
+ INVISIBLE = "INVISIBLE",
1130
+ MANDATORY = "MANDATORY",
1131
+ OPTIONAL = "OPTIONAL"
1132
+ }
1133
+ export declare type CustomerAttributeSalesChannel = {
1134
+ __typename?: 'CustomerAttributeSalesChannel';
1135
+ permission: CustomerAttributePermissionEnum;
1136
+ registerPageRequirement: CustomerAttributeRegisterPageRequirementEnum;
1137
+ salesChannelId: Scalars['String'];
1138
+ storefrontId: Scalars['String'];
1139
+ };
1140
+ export declare type CustomerAttributeTranslation = {
1141
+ __typename?: 'CustomerAttributeTranslation';
1142
+ description?: Maybe<Scalars['String']>;
1143
+ locale: Scalars['String'];
1144
+ name?: Maybe<Scalars['String']>;
1145
+ options?: Maybe<Array<CustomerAttributeOptionTranslation>>;
1146
+ };
1147
+ /** CustomerAttribute Types */
1148
+ export declare enum CustomerAttributeTypeEnum {
1149
+ BOOLEAN = "BOOLEAN",
1150
+ CHOICE = "CHOICE",
1151
+ DATETIME = "DATETIME",
1152
+ MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
1153
+ NUMERIC = "NUMERIC",
1154
+ TEXT = "TEXT"
1155
+ }
802
1156
  export declare type CustomerAttributeValue = {
803
1157
  __typename?: 'CustomerAttributeValue';
804
1158
  customerAttributeId?: Maybe<Scalars['String']>;
@@ -885,6 +1239,19 @@ export declare type District = {
885
1239
  stateId: Scalars['String'];
886
1240
  updatedAt?: Maybe<Scalars['Timestamp']>;
887
1241
  };
1242
+ export declare type FixedDiscount = {
1243
+ __typename?: 'FixedDiscount';
1244
+ amount?: Maybe<Scalars['Float']>;
1245
+ filters?: Maybe<Array<CampaignFilter>>;
1246
+ lineItemQuantityRange?: Maybe<CampaignMinMaxRangeField>;
1247
+ priceRange?: Maybe<CampaignMinMaxRangeField>;
1248
+ };
1249
+ export declare type FixedDiscountInput = {
1250
+ amount?: InputMaybe<Scalars['Float']>;
1251
+ filters?: InputMaybe<Array<CampaignFilterInput>>;
1252
+ lineItemQuantityRange?: InputMaybe<CampaignMinMaxRangeFieldInput>;
1253
+ priceRange?: InputMaybe<CampaignMinMaxRangeFieldInput>;
1254
+ };
888
1255
  export declare type FulFillOrderInput = {
889
1256
  lines: Array<FulfillOrderLineInput>;
890
1257
  markAsReadyForShipment?: InputMaybe<Scalars['Boolean']>;
@@ -896,6 +1263,13 @@ export declare type FulfillOrderLineInput = {
896
1263
  orderLineItemId: Scalars['String'];
897
1264
  quantity: Scalars['Float'];
898
1265
  };
1266
+ export declare type GenerateCouponInput = {
1267
+ canCombineWithOtherCampaigns: Scalars['Boolean'];
1268
+ prefix: Scalars['String'];
1269
+ quantity: Scalars['Int'];
1270
+ usageLimit?: InputMaybe<Scalars['Int']>;
1271
+ usageLimitPerCustomer?: InputMaybe<Scalars['Int']>;
1272
+ };
899
1273
  export declare type GetImportJobDataResponse = {
900
1274
  __typename?: 'GetImportJobDataResponse';
901
1275
  data?: Maybe<Scalars['String']>;
@@ -910,6 +1284,19 @@ export declare type GetVideoUploadURLResponse = {
910
1284
  /** Upload url for the specified video. */
911
1285
  url: Scalars['String'];
912
1286
  };
1287
+ export declare type GetY = {
1288
+ __typename?: 'GetY';
1289
+ amount: Scalars['Float'];
1290
+ automaticallyAddItemToCart?: Maybe<Scalars['Boolean']>;
1291
+ discountRatio: Scalars['Float'];
1292
+ filter: CampaignFilter;
1293
+ };
1294
+ export declare type GetYInput = {
1295
+ amount: Scalars['Float'];
1296
+ automaticallyAddItemToCart?: InputMaybe<Scalars['Boolean']>;
1297
+ discountRatio: Scalars['Float'];
1298
+ filter: CampaignFilterInput;
1299
+ };
913
1300
  export declare type GlobalTaxSettings = {
914
1301
  __typename?: 'GlobalTaxSettings';
915
1302
  createdAt?: Maybe<Scalars['Timestamp']>;
@@ -1007,8 +1394,12 @@ export declare type Invoice = {
1007
1394
  appName: Scalars['String'];
1008
1395
  /** It is the id of the order invoice. */
1009
1396
  createdAt?: Maybe<Scalars['Timestamp']>;
1397
+ /** It is indicates that the invoice has the pdf. */
1398
+ hasPdf?: Maybe<Scalars['Boolean']>;
1010
1399
  /** It is the id of the order invoice. */
1011
1400
  id: Scalars['String'];
1401
+ /** It is data of the invoice. */
1402
+ invoiceData?: Maybe<Scalars['JSON']>;
1012
1403
  /** It is the id of the order invoice. */
1013
1404
  invoiceNumber: Scalars['String'];
1014
1405
  /** It is the id of the order invoice. */
@@ -1034,6 +1425,7 @@ export declare type LocationTranslations = {
1034
1425
  __typename?: 'LocationTranslations';
1035
1426
  de?: Maybe<Scalars['String']>;
1036
1427
  en: Scalars['String'];
1428
+ fr?: Maybe<Scalars['String']>;
1037
1429
  tr: Scalars['String'];
1038
1430
  };
1039
1431
  export declare type MeResponse = {
@@ -1063,6 +1455,7 @@ export declare type MerchantAddress = {
1063
1455
  addressLine2?: Maybe<Scalars['String']>;
1064
1456
  /** The merchant's city. */
1065
1457
  city?: Maybe<MerchantAddressCity>;
1458
+ company?: Maybe<Scalars['String']>;
1066
1459
  /** The merchant's country. */
1067
1460
  country?: Maybe<MerchantAddressCountry>;
1068
1461
  /** The merchant's district in city. */
@@ -1076,6 +1469,7 @@ export declare type MerchantAddress = {
1076
1469
  /** The merchant's postal code, also known as zip, postcode, etc. */
1077
1470
  postalCode?: Maybe<Scalars['String']>;
1078
1471
  state?: Maybe<MerchantAddressState>;
1472
+ taxNumber?: Maybe<Scalars['String']>;
1079
1473
  /** If merchant is corporate, merchant can use that field to fill their Tax Office name. */
1080
1474
  taxOffice?: Maybe<Scalars['String']>;
1081
1475
  title?: Maybe<Scalars['String']>;
@@ -1095,6 +1489,10 @@ export declare type MerchantAddressCountry = {
1095
1489
  /** The ISO3 country code corresponding to the merchant's country. */
1096
1490
  code?: Maybe<Scalars['String']>;
1097
1491
  id?: Maybe<Scalars['String']>;
1492
+ /** Two-letter country code */
1493
+ iso2?: Maybe<Scalars['String']>;
1494
+ /** Three-letter country code */
1495
+ iso3?: Maybe<Scalars['String']>;
1098
1496
  /** The merchant's normalized country name. */
1099
1497
  name?: Maybe<Scalars['String']>;
1100
1498
  };
@@ -1286,6 +1684,7 @@ export declare type Mutation = {
1286
1684
  approvePendingOrderTransactions: Scalars['Boolean'];
1287
1685
  /** Response indicating the status of operation. */
1288
1686
  bulkUpdateProducts: Scalars['String'];
1687
+ campaignAddCoupons: Array<Coupon>;
1289
1688
  /** Use this mutation to cancel the already created package for an order. */
1290
1689
  cancelFulfillment: Order;
1291
1690
  /** Use this mutation to cancel given order lines. */
@@ -1296,8 +1695,10 @@ export declare type Mutation = {
1296
1695
  createMerchantAppPaymentWithSubscription?: Maybe<MerchantAppPayment>;
1297
1696
  /** Use this mutation if you want to create a new order with transactions. */
1298
1697
  createOrderWithTransactions: Order;
1698
+ deleteCampaignList: Scalars['Boolean'];
1299
1699
  /** Using this api, you can delete the categories of products. */
1300
1700
  deleteCategoryList: Scalars['Boolean'];
1701
+ deleteCouponList: Scalars['String'];
1301
1702
  deleteOrderTagList: Scalars['Boolean'];
1302
1703
  /** Use this mutation to delete product attributes with specific ids. */
1303
1704
  deleteProductAttributeList: Scalars['Boolean'];
@@ -1325,6 +1726,7 @@ export declare type Mutation = {
1325
1726
  /** Use this mutation to refund given order lines. */
1326
1727
  refundOrderLine: Order;
1327
1728
  removeOrderTag: Scalars['Boolean'];
1729
+ saveCampaign: Campaign;
1328
1730
  /** Using this api, you can update the categories of products. */
1329
1731
  saveCategory: Category;
1330
1732
  saveOrderTag: OrderTag;
@@ -1360,6 +1762,7 @@ export declare type Mutation = {
1360
1762
  updateOrderPackageStatus: Order;
1361
1763
  /** Response indicating the status of operation. */
1362
1764
  updateProductSalesChannelStatus: Scalars['Boolean'];
1765
+ variantAttributeImport: CSVImportResponse;
1363
1766
  };
1364
1767
  export declare type MutationaddCustomTimelineEntryArgs = {
1365
1768
  input: TimelineInput;
@@ -1376,6 +1779,9 @@ export declare type MutationapprovePendingOrderTransactionsArgs = {
1376
1779
  export declare type MutationbulkUpdateProductsArgs = {
1377
1780
  input: Array<BulkUpdateProductsInput>;
1378
1781
  };
1782
+ export declare type MutationcampaignAddCouponsArgs = {
1783
+ input: AddCouponsInput;
1784
+ };
1379
1785
  export declare type MutationcancelFulfillmentArgs = {
1380
1786
  input: CancelFulfillmentInput;
1381
1787
  };
@@ -1391,9 +1797,15 @@ export declare type MutationcreateMerchantAppPaymentWithSubscriptionArgs = {
1391
1797
  export declare type MutationcreateOrderWithTransactionsArgs = {
1392
1798
  input: CreateOrderWithTransactionsInput;
1393
1799
  };
1800
+ export declare type MutationdeleteCampaignListArgs = {
1801
+ idList: Array<Scalars['String']>;
1802
+ };
1394
1803
  export declare type MutationdeleteCategoryListArgs = {
1395
1804
  idList: Array<Scalars['String']>;
1396
1805
  };
1806
+ export declare type MutationdeleteCouponListArgs = {
1807
+ idList: Array<Scalars['String']>;
1808
+ };
1397
1809
  export declare type MutationdeleteOrderTagListArgs = {
1398
1810
  idList: Array<Scalars['String']>;
1399
1811
  };
@@ -1432,6 +1844,7 @@ export declare type MutationgetAppDemoDayArgs = {
1432
1844
  };
1433
1845
  export declare type MutationproductAttributeImportArgs = {
1434
1846
  file: Scalars['String'];
1847
+ fileType?: InputMaybe<ProductImportFileType>;
1435
1848
  };
1436
1849
  export declare type MutationrefundOrderLineArgs = {
1437
1850
  input: OrderRefundInput;
@@ -1439,6 +1852,9 @@ export declare type MutationrefundOrderLineArgs = {
1439
1852
  export declare type MutationremoveOrderTagArgs = {
1440
1853
  input: UpdateOrderTagInput;
1441
1854
  };
1855
+ export declare type MutationsaveCampaignArgs = {
1856
+ input: CampaignInput;
1857
+ };
1442
1858
  export declare type MutationsaveCategoryArgs = {
1443
1859
  input: CategoryInput;
1444
1860
  };
@@ -1494,6 +1910,35 @@ export declare type MutationupdateProductSalesChannelStatusArgs = {
1494
1910
  input: Array<UpdateProductSalesChannelStatusInput>;
1495
1911
  salesChannelId?: InputMaybe<Scalars['String']>;
1496
1912
  };
1913
+ export declare type MutationvariantAttributeImportArgs = {
1914
+ file: Scalars['String'];
1915
+ fileType?: InputMaybe<ProductImportFileType>;
1916
+ };
1917
+ export declare type NewCouponInput = {
1918
+ canCombineWithOtherCampaigns: Scalars['Boolean'];
1919
+ code: Scalars['String'];
1920
+ id?: InputMaybe<Scalars['ID']>;
1921
+ usageLimit?: InputMaybe<Scalars['Int']>;
1922
+ usageLimitPerCustomer?: InputMaybe<Scalars['Int']>;
1923
+ };
1924
+ export declare type NumberFilterInput = {
1925
+ /** `equal`. The filter used for equality. */
1926
+ eq?: InputMaybe<Scalars['Float']>;
1927
+ /** `greater than` selects the documents where the value of the `input` is greater than to (** i.e. > **) a specified value (e.g. value.) */
1928
+ gt?: InputMaybe<Scalars['Float']>;
1929
+ /** `greater than or equals` selects the documents where the value of the `input` is greater than or equal to (** i.e. >= **) a specified value (e.g. value.) */
1930
+ gte?: InputMaybe<Scalars['Float']>;
1931
+ /** Returns a boolean indicating whether a specified value is in an array. */
1932
+ in?: InputMaybe<Array<Scalars['Float']>>;
1933
+ /** `less than` selects the documents where the value of the `input` is less than or equal to (** i.e. < **) a specified value (e.g. value.) */
1934
+ lt?: InputMaybe<Scalars['Float']>;
1935
+ /** `less than or equals` selects the documents where the value of the `input` is less than or equal to (** i.e. <= **) a specified value (e.g. value.) */
1936
+ lte?: InputMaybe<Scalars['Float']>;
1937
+ /** `not equal`. The filter used for not equality. */
1938
+ ne?: InputMaybe<Scalars['Float']>;
1939
+ /** Returns a boolean indicating whether a specified value is not in an array. */
1940
+ nin?: InputMaybe<Array<Scalars['Float']>>;
1941
+ };
1497
1942
  export declare type Order = {
1498
1943
  __typename?: 'Order';
1499
1944
  abandonedCartFlows?: Maybe<Array<AbandonedCartFlow>>;
@@ -1642,6 +2087,8 @@ export declare type OrderAddress = {
1642
2087
  phone?: Maybe<Scalars['String']>;
1643
2088
  /** The postal code of the address. */
1644
2089
  postalCode?: Maybe<Scalars['String']>;
2090
+ /** The region information of the address. */
2091
+ region?: Maybe<ShippingZoneRegion>;
1645
2092
  /** The state information of the address. */
1646
2093
  state?: Maybe<OrderAddressState>;
1647
2094
  /** The tax number of the person associated with the address. */
@@ -1724,6 +2171,8 @@ export declare type OrderAddressInput = {
1724
2171
  phone?: InputMaybe<Scalars['String']>;
1725
2172
  /** The postal code of the address. */
1726
2173
  postalCode?: InputMaybe<Scalars['String']>;
2174
+ /** The name of the region of the address. */
2175
+ region?: InputMaybe<ShippingZoneRegionInput>;
1727
2176
  /** The name of the state of the address. */
1728
2177
  state?: InputMaybe<OrderAddressStateInput>;
1729
2178
  /** The tax number of the person associated with the address. */
@@ -1899,6 +2348,8 @@ export declare type OrderLineBundleVariant = {
1899
2348
  slug?: Maybe<Scalars['String']>;
1900
2349
  /** It is the the tag id list */
1901
2350
  tagIds?: Maybe<Array<Scalars['String']>>;
2351
+ /** A list of tag objects, each containing information about a tag in the variant. */
2352
+ tags?: Maybe<Array<OrderLineVariantTag>>;
1902
2353
  /**
1903
2354
  * It is the tax value of the variant.
1904
2355
  * @deprecated Will be removed use OrderLineItem.taxValue
@@ -2062,6 +2513,8 @@ export declare type OrderLineVariant = {
2062
2513
  slug?: Maybe<Scalars['String']>;
2063
2514
  /** It is the the tag id list */
2064
2515
  tagIds?: Maybe<Array<Scalars['String']>>;
2516
+ /** A list of tag objects, each containing information about a tag in the variant. */
2517
+ tags?: Maybe<Array<OrderLineVariantTag>>;
2065
2518
  /**
2066
2519
  * It is the tax value of the variant.
2067
2520
  * @deprecated Will be removed use OrderLineItem.taxValue
@@ -2143,6 +2596,13 @@ export declare type OrderLineVariantPrice = {
2143
2596
  /** It is the unit price of variant. */
2144
2597
  unitPrice?: Maybe<Scalars['Float']>;
2145
2598
  };
2599
+ export declare type OrderLineVariantTag = {
2600
+ __typename?: 'OrderLineVariantTag';
2601
+ /** It is the id of the tag of the variant. */
2602
+ id: Scalars['String'];
2603
+ /** It is the name of the tag. */
2604
+ name: Scalars['String'];
2605
+ };
2146
2606
  export declare type OrderLineVariantUnit = {
2147
2607
  __typename?: 'OrderLineVariantUnit';
2148
2608
  /** It is the amount of the unit. */
@@ -2277,6 +2737,16 @@ export declare type OrderPaymentMethod = {
2277
2737
  /** It is the type enum of the order payment method. */
2278
2738
  type: PaymentMethodTypeEnum;
2279
2739
  };
2740
+ export declare type OrderPaymentMethodEnumFilterInput = {
2741
+ /** `equal`. The filter used for equality. */
2742
+ eq?: InputMaybe<PaymentMethodTypeEnum>;
2743
+ /** Returns a boolean indicating whether a specified value is in an array. */
2744
+ in?: InputMaybe<Array<InputMaybe<PaymentMethodTypeEnum>>>;
2745
+ /** `not equal`. The filter used for not equality. */
2746
+ ne?: InputMaybe<PaymentMethodTypeEnum>;
2747
+ /** Returns a boolean indicating whether a specified value is not in an array. */
2748
+ nin?: InputMaybe<Array<InputMaybe<PaymentMethodTypeEnum>>>;
2749
+ };
2280
2750
  export declare enum OrderPaymentStatusEnum {
2281
2751
  PAID = "PAID",
2282
2752
  PARTIALLY_PAID = "PARTIALLY_PAID",
@@ -2391,6 +2861,16 @@ export declare enum OrderShippingMethodEnum {
2391
2861
  NO_SHIPMENT = "NO_SHIPMENT",
2392
2862
  SHIPMENT = "SHIPMENT"
2393
2863
  }
2864
+ export declare type OrderShippingMethodEnumFilterInput = {
2865
+ /** `equal`. The filter used for equality. */
2866
+ eq?: InputMaybe<OrderShippingMethodEnum>;
2867
+ /** Returns a boolean indicating whether a specified value is in an array. */
2868
+ in?: InputMaybe<Array<InputMaybe<OrderShippingMethodEnum>>>;
2869
+ /** `not equal`. The filter used for not equality. */
2870
+ ne?: InputMaybe<OrderShippingMethodEnum>;
2871
+ /** Returns a boolean indicating whether a specified value is not in an array. */
2872
+ nin?: InputMaybe<Array<InputMaybe<OrderShippingMethodEnum>>>;
2873
+ };
2394
2874
  export declare type OrderStaff = {
2395
2875
  __typename?: 'OrderStaff';
2396
2876
  /** It is the email of the staff who created the order. */
@@ -2450,7 +2930,7 @@ export declare type OrderStorefrontRouting = {
2450
2930
  };
2451
2931
  export declare type OrderStorefrontRoutingDynamicCurrencySettings = {
2452
2932
  __typename?: 'OrderStorefrontRoutingDynamicCurrencySettings';
2453
- /** One of '.x0' | '.x9' | '.00' | '.90' | '.99' */
2933
+ /** One of '.x0' | '.x9' | '.00' | '.90' | '.99' | '0.00' */
2454
2934
  roundingFormat?: Maybe<Scalars['String']>;
2455
2935
  targetCurrencyCode: Scalars['String'];
2456
2936
  };
@@ -2513,14 +2993,18 @@ export declare type PaginationInput = {
2513
2993
  };
2514
2994
  export declare enum PaymentMethodTypeEnum {
2515
2995
  APP_PAYMENT = "APP_PAYMENT",
2996
+ BANK_REDIRECT = "BANK_REDIRECT",
2516
2997
  BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
2517
2998
  CASH = "CASH",
2518
2999
  CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
2519
3000
  CREDIT_CARD = "CREDIT_CARD",
2520
3001
  CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
3002
+ DIRECT_DEBIT = "DIRECT_DEBIT",
2521
3003
  GIFT_CARD = "GIFT_CARD",
2522
3004
  MONEY_ORDER = "MONEY_ORDER",
2523
3005
  OTHER = "OTHER",
3006
+ PAY_LATER = "PAY_LATER",
3007
+ SLICE_IT = "SLICE_IT",
2524
3008
  WALLET = "WALLET"
2525
3009
  }
2526
3010
  export declare type PriceList = {
@@ -2557,6 +3041,8 @@ export declare type Product = {
2557
3041
  googleTaxonomyId?: Maybe<Scalars['String']>;
2558
3042
  /** This is the variant type id that can be used to group variants by a specific variant type id. */
2559
3043
  groupVariantsByVariantTypeId?: Maybe<Scalars['String']>;
3044
+ /** List of hidden sales channel ids of the product. */
3045
+ hiddenSalesChannelIds?: Maybe<Array<Scalars['String']>>;
2560
3046
  id: Scalars['ID'];
2561
3047
  /** Max purchasable quantity of the product for per cart. */
2562
3048
  maxQuantityPerCart?: Maybe<Scalars['Float']>;
@@ -2576,6 +3062,7 @@ export declare type Product = {
2576
3062
  tagIds?: Maybe<Array<Scalars['String']>>;
2577
3063
  /** List of product tags. */
2578
3064
  tags?: Maybe<Array<SimpleProductTag>>;
3065
+ totalStock?: Maybe<Scalars['Float']>;
2579
3066
  /** Translations for the product. */
2580
3067
  translations?: Maybe<Array<ProductTranslation>>;
2581
3068
  /** Type of the product. */
@@ -2800,6 +3287,11 @@ export declare type ProductImageInput = {
2800
3287
  isVideo?: InputMaybe<Scalars['Boolean']>;
2801
3288
  order: Scalars['Float'];
2802
3289
  };
3290
+ export declare enum ProductImportFileType {
3291
+ CSV = "CSV",
3292
+ XLS = "XLS",
3293
+ XLSX = "XLSX"
3294
+ }
2803
3295
  export declare type ProductInput = {
2804
3296
  attributes?: InputMaybe<Array<ProductAttributeValueInput>>;
2805
3297
  baseUnit?: InputMaybe<ProductBaseUnitModelInput>;
@@ -2810,6 +3302,7 @@ export declare type ProductInput = {
2810
3302
  description?: InputMaybe<Scalars['String']>;
2811
3303
  googleTaxonomyId?: InputMaybe<Scalars['String']>;
2812
3304
  groupVariantsByVariantTypeId?: InputMaybe<Scalars['String']>;
3305
+ hiddenSalesChannelIds?: InputMaybe<Array<Scalars['String']>>;
2813
3306
  id?: InputMaybe<Scalars['ID']>;
2814
3307
  /** Max purchasable quantity of the product for per cart. */
2815
3308
  maxQuantityPerCart?: InputMaybe<Scalars['Float']>;
@@ -2984,6 +3477,13 @@ export declare type ProductPriceInput = {
2984
3477
  priceListId?: InputMaybe<Scalars['String']>;
2985
3478
  sellPrice: Scalars['Float'];
2986
3479
  };
3480
+ export declare type ProductSearchCustomerReviewSummaries = {
3481
+ __typename?: 'ProductSearchCustomerReviewSummaries';
3482
+ averageRating?: Maybe<Scalars['Float']>;
3483
+ reviewCount?: Maybe<Scalars['Float']>;
3484
+ stars?: Maybe<Array<SearchProductCustomerReviewStar>>;
3485
+ storefrontId?: Maybe<Scalars['String']>;
3486
+ };
2987
3487
  export declare type ProductSearchResponse = {
2988
3488
  __typename?: 'ProductSearchResponse';
2989
3489
  /** Number of search results listed in current page. */
@@ -3218,6 +3718,8 @@ export declare type Query = {
3218
3718
  /** Using this api, you can view your sales channel. */
3219
3719
  getSalesChannel?: Maybe<SalesChannel>;
3220
3720
  getVideoUploadUrl: GetVideoUploadURLResponse;
3721
+ listBranch: Array<Branch>;
3722
+ listCampaign: CampaignPaginationResponse;
3221
3723
  /**
3222
3724
  * Using this api, you can view the categories of products.
3223
3725
  * Search applies to following fields: `name`
@@ -3225,7 +3727,9 @@ export declare type Query = {
3225
3727
  listCategory: Array<Category>;
3226
3728
  listCity: Array<City>;
3227
3729
  listCountry: Array<Country>;
3730
+ listCoupon: CouponPaginationResponse;
3228
3731
  listCustomer: CustomerPaginationResponse;
3732
+ listCustomerAttribute: Array<CustomerAttribute>;
3229
3733
  listDistrict: Array<District>;
3230
3734
  listLanguage: Array<Language>;
3231
3735
  /** Using this api, you can view the payment features that a merchant has created for the app. */
@@ -3258,6 +3762,7 @@ export declare type Query = {
3258
3762
  listStorefront: Array<Storefront>;
3259
3763
  /** Use this query to list storefront javascript scripts by supplying the `storefrontId` input. */
3260
3764
  listStorefrontJSScript: Array<StorefrontJSScript>;
3765
+ listTerminal: Array<Terminal>;
3261
3766
  listTown: Array<Town>;
3262
3767
  /** Using this api, you can view the variant types of products. */
3263
3768
  listVariantType: Array<VariantType>;
@@ -3269,6 +3774,7 @@ export declare type Query = {
3269
3774
  productAttributeExport: Scalars['String'];
3270
3775
  /** Result(s) containing searched products. */
3271
3776
  searchProducts: ProductSearchResponse;
3777
+ variantAttributeExport: Scalars['String'];
3272
3778
  };
3273
3779
  export declare type QuerygetImageUploadUrlArgs = {
3274
3780
  imageDir?: InputMaybe<Scalars['String']>;
@@ -3280,6 +3786,20 @@ export declare type QuerygetImportJobDataArgs = {
3280
3786
  export declare type QuerygetVideoUploadUrlArgs = {
3281
3787
  videoId: Scalars['String'];
3282
3788
  };
3789
+ export declare type QuerylistBranchArgs = {
3790
+ id?: InputMaybe<StringFilterInput>;
3791
+ includeDeleted?: InputMaybe<Scalars['Boolean']>;
3792
+ name?: InputMaybe<StringFilterInput>;
3793
+ salesChannelId?: InputMaybe<StringFilterInput>;
3794
+ updatedAt?: InputMaybe<DateFilterInput>;
3795
+ };
3796
+ export declare type QuerylistCampaignArgs = {
3797
+ id?: InputMaybe<StringFilterInput>;
3798
+ includeDeleted?: InputMaybe<Scalars['Boolean']>;
3799
+ pagination?: InputMaybe<PaginationInput>;
3800
+ search?: InputMaybe<Scalars['String']>;
3801
+ updatedAt?: InputMaybe<DateFilterInput>;
3802
+ };
3283
3803
  export declare type QuerylistCategoryArgs = {
3284
3804
  categoryPath?: InputMaybe<CategoryPathFilterInput>;
3285
3805
  id?: InputMaybe<StringFilterInput>;
@@ -3301,6 +3821,13 @@ export declare type QuerylistCountryArgs = {
3301
3821
  search?: InputMaybe<Scalars['String']>;
3302
3822
  updatedAt?: InputMaybe<DateFilterInput>;
3303
3823
  };
3824
+ export declare type QuerylistCouponArgs = {
3825
+ campaignId?: InputMaybe<StringFilterInput>;
3826
+ id?: InputMaybe<StringFilterInput>;
3827
+ includeDeleted?: InputMaybe<Scalars['Boolean']>;
3828
+ pagination?: InputMaybe<PaginationInput>;
3829
+ search?: InputMaybe<Scalars['String']>;
3830
+ };
3304
3831
  export declare type QuerylistCustomerArgs = {
3305
3832
  email?: InputMaybe<StringFilterInput>;
3306
3833
  id?: InputMaybe<StringFilterInput>;
@@ -3311,6 +3838,9 @@ export declare type QuerylistCustomerArgs = {
3311
3838
  sort?: InputMaybe<Scalars['String']>;
3312
3839
  updatedAt?: InputMaybe<DateFilterInput>;
3313
3840
  };
3841
+ export declare type QuerylistCustomerAttributeArgs = {
3842
+ includeDeleted?: InputMaybe<Scalars['Boolean']>;
3843
+ };
3314
3844
  export declare type QuerylistDistrictArgs = {
3315
3845
  cityId: StringFilterInput;
3316
3846
  countryId?: InputMaybe<StringFilterInput>;
@@ -3327,17 +3857,27 @@ export declare type QuerylistMerchantAppPaymentArgs = {
3327
3857
  pagination?: InputMaybe<PaginationInput>;
3328
3858
  };
3329
3859
  export declare type QuerylistOrderArgs = {
3860
+ branchId?: InputMaybe<StringFilterInput>;
3861
+ branchSessionId?: InputMaybe<StringFilterInput>;
3330
3862
  closedAt?: InputMaybe<DateFilterInput>;
3863
+ customerEmail?: InputMaybe<StringFilterInput>;
3864
+ customerId?: InputMaybe<StringFilterInput>;
3331
3865
  id?: InputMaybe<StringFilterInput>;
3866
+ invoicesStoreAppId?: InputMaybe<StringFilterInput>;
3332
3867
  orderNumber?: InputMaybe<StringFilterInput>;
3333
3868
  orderPackageStatus?: InputMaybe<OrderPackageStatusEnumInputFilter>;
3334
3869
  orderPaymentStatus?: InputMaybe<OrderPaymentStatusEnumInputFilter>;
3335
3870
  orderTagIds?: InputMaybe<StringFilterInput>;
3336
3871
  orderedAt?: InputMaybe<DateFilterInput>;
3337
3872
  pagination?: InputMaybe<PaginationInput>;
3873
+ paymentMethodType?: InputMaybe<OrderPaymentMethodEnumFilterInput>;
3874
+ salesChannelId?: InputMaybe<StringFilterInput>;
3338
3875
  search?: InputMaybe<Scalars['String']>;
3876
+ shippingMethod?: InputMaybe<OrderShippingMethodEnumFilterInput>;
3339
3877
  sort?: InputMaybe<Scalars['String']>;
3340
3878
  status?: InputMaybe<OrderStatusEnumInputFilter>;
3879
+ stockLocationId?: InputMaybe<StringFilterInput>;
3880
+ terminalId?: InputMaybe<StringFilterInput>;
3341
3881
  updatedAt?: InputMaybe<DateFilterInput>;
3342
3882
  };
3343
3883
  export declare type QuerylistOrderTagArgs = {
@@ -3422,6 +3962,12 @@ export declare type QuerylistStorefrontArgs = {
3422
3962
  export declare type QuerylistStorefrontJSScriptArgs = {
3423
3963
  storefrontId?: InputMaybe<Scalars['String']>;
3424
3964
  };
3965
+ export declare type QuerylistTerminalArgs = {
3966
+ branchId?: InputMaybe<StringFilterInput>;
3967
+ id?: InputMaybe<StringFilterInput>;
3968
+ includeDeleted?: InputMaybe<Scalars['Boolean']>;
3969
+ updatedAt?: InputMaybe<DateFilterInput>;
3970
+ };
3425
3971
  export declare type QuerylistTownArgs = {
3426
3972
  districtId: StringFilterInput;
3427
3973
  id?: InputMaybe<StringFilterInput>;
@@ -3442,10 +3988,15 @@ export declare type QuerylistVendorArgs = {
3442
3988
  };
3443
3989
  export declare type QueryproductAttributeExportArgs = {
3444
3990
  csvFilterInput?: InputMaybe<CSVExportFilterInput>;
3991
+ fileType?: InputMaybe<ProductImportFileType>;
3445
3992
  };
3446
3993
  export declare type QuerysearchProductsArgs = {
3447
3994
  input: SearchInput;
3448
3995
  };
3996
+ export declare type QueryvariantAttributeExportArgs = {
3997
+ csvFilterInput?: InputMaybe<CSVExportFilterInput>;
3998
+ fileType?: InputMaybe<ProductImportFileType>;
3999
+ };
3449
4000
  export declare enum SFAnalyticsTrafficSourceEnum {
3450
4001
  ADS_OTHER = "ADS_OTHER",
3451
4002
  AFFILIATE = "AFFILIATE",
@@ -3572,10 +4123,14 @@ export declare type SearchProduct = {
3572
4123
  averageRating?: Maybe<Scalars['Float']>;
3573
4124
  baseUnit?: Maybe<SearchProductProductBaseUnit>;
3574
4125
  brand?: Maybe<SearchProductBrand>;
4126
+ campaigns?: Maybe<Array<SearchProductCampaign>>;
3575
4127
  categories?: Maybe<Array<SearchCategory>>;
4128
+ createdAt?: Maybe<Scalars['Timestamp']>;
4129
+ customerReviewSummaries?: Maybe<ProductSearchCustomerReviewSummaries>;
3576
4130
  deleted?: Maybe<Scalars['Boolean']>;
3577
4131
  description?: Maybe<Scalars['String']>;
3578
4132
  groupVariantsByVariantTypeId?: Maybe<Scalars['String']>;
4133
+ hiddenSalesChannelIds?: Maybe<Array<Scalars['String']>>;
3579
4134
  id: Scalars['String'];
3580
4135
  metaData?: Maybe<SearchHTMLMetaData>;
3581
4136
  name: Scalars['String'];
@@ -3584,9 +4139,11 @@ export declare type SearchProduct = {
3584
4139
  reviewCount?: Maybe<Scalars['Float']>;
3585
4140
  salesChannelIds?: Maybe<Array<Scalars['String']>>;
3586
4141
  shortDescription?: Maybe<Scalars['String']>;
4142
+ stars?: Maybe<Array<SearchProductCustomerReviewStar>>;
3587
4143
  tags?: Maybe<Array<SearchProductTag>>;
3588
4144
  translations?: Maybe<Array<ProductTranslation>>;
3589
4145
  type: Scalars['String'];
4146
+ updatedAt?: Maybe<Scalars['Timestamp']>;
3590
4147
  variants: Array<SearchVariant>;
3591
4148
  weight?: Maybe<Scalars['Float']>;
3592
4149
  };
@@ -3627,6 +4184,46 @@ export declare type SearchProductBrand = {
3627
4184
  slug?: Maybe<Scalars['String']>;
3628
4185
  translations?: Maybe<Array<ProductBrandTranslation>>;
3629
4186
  };
4187
+ export declare type SearchProductCampaign = {
4188
+ __typename?: 'SearchProductCampaign';
4189
+ buyXThenGetY?: Maybe<SearchProductCampaignBuyXThenGetY>;
4190
+ currencyCodes?: Maybe<Array<Scalars['String']>>;
4191
+ dateRange?: Maybe<SearchProductCampaignDateRangeField>;
4192
+ fixedDiscount?: Maybe<SearchProductCampaignFixedDiscount>;
4193
+ salesChannelIds?: Maybe<Array<Scalars['String']>>;
4194
+ title: Scalars['String'];
4195
+ type: CampaignTypeEnum;
4196
+ };
4197
+ export declare type SearchProductCampaignBuyX = {
4198
+ __typename?: 'SearchProductCampaignBuyX';
4199
+ amount: Scalars['Float'];
4200
+ applyByQuantity: Scalars['Boolean'];
4201
+ };
4202
+ export declare type SearchProductCampaignBuyXThenGetY = {
4203
+ __typename?: 'SearchProductCampaignBuyXThenGetY';
4204
+ buyX: SearchProductCampaignBuyX;
4205
+ getY: SearchProductCampaignGetY;
4206
+ maxUsagePerOrder?: Maybe<Scalars['Float']>;
4207
+ };
4208
+ export declare type SearchProductCampaignDateRangeField = {
4209
+ __typename?: 'SearchProductCampaignDateRangeField';
4210
+ end?: Maybe<Scalars['Timestamp']>;
4211
+ start?: Maybe<Scalars['Timestamp']>;
4212
+ };
4213
+ export declare type SearchProductCampaignFixedDiscount = {
4214
+ __typename?: 'SearchProductCampaignFixedDiscount';
4215
+ amount?: Maybe<Scalars['Float']>;
4216
+ };
4217
+ export declare type SearchProductCampaignGetY = {
4218
+ __typename?: 'SearchProductCampaignGetY';
4219
+ amount: Scalars['Float'];
4220
+ discountRatio: Scalars['Float'];
4221
+ };
4222
+ export declare type SearchProductCustomerReviewStar = {
4223
+ __typename?: 'SearchProductCustomerReviewStar';
4224
+ count: Scalars['Float'];
4225
+ star: Scalars['Float'];
4226
+ };
3630
4227
  export declare type SearchProductImage = {
3631
4228
  __typename?: 'SearchProductImage';
3632
4229
  id: Scalars['String'];
@@ -3655,6 +4252,7 @@ export declare type SearchProductProductUnit = {
3655
4252
  __typename?: 'SearchProductProductUnit';
3656
4253
  id: Scalars['String'];
3657
4254
  name: Scalars['String'];
4255
+ translations?: Maybe<Array<ProductUnitTranslation>>;
3658
4256
  };
3659
4257
  export declare type SearchProductStockLocation = {
3660
4258
  __typename?: 'SearchProductStockLocation';
@@ -3710,6 +4308,21 @@ export declare type SearchVariationValueRelation = {
3710
4308
  variantTypeId: Scalars['String'];
3711
4309
  variantValueId: Scalars['String'];
3712
4310
  };
4311
+ export declare type ShippingZoneRegion = {
4312
+ __typename?: 'ShippingZoneRegion';
4313
+ createdAt?: Maybe<Scalars['Timestamp']>;
4314
+ deleted?: Maybe<Scalars['Boolean']>;
4315
+ id: Scalars['ID'];
4316
+ name: Scalars['String'];
4317
+ updatedAt?: Maybe<Scalars['Timestamp']>;
4318
+ };
4319
+ export declare type ShippingZoneRegionInput = {
4320
+ createdAt?: InputMaybe<Scalars['Timestamp']>;
4321
+ deleted?: InputMaybe<Scalars['Boolean']>;
4322
+ id?: InputMaybe<Scalars['ID']>;
4323
+ name: Scalars['String'];
4324
+ updatedAt?: InputMaybe<Scalars['Timestamp']>;
4325
+ };
3713
4326
  export declare type SimpleCategory = {
3714
4327
  __typename?: 'SimpleCategory';
3715
4328
  createdAt?: Maybe<Scalars['Timestamp']>;
@@ -3924,6 +4537,7 @@ export declare enum SubscriptionCodeEnum {
3924
4537
  GROW = "GROW",
3925
4538
  PREMIUM = "PREMIUM",
3926
4539
  SCALE = "SCALE",
4540
+ SCALE_PLUS = "SCALE_PLUS",
3927
4541
  START = "START",
3928
4542
  TRIAL = "TRIAL"
3929
4543
  }
@@ -3937,6 +4551,15 @@ export declare enum SubscriptionPriceCurrencyEnum {
3937
4551
  TRY = "TRY",
3938
4552
  USD = "USD"
3939
4553
  }
4554
+ export declare type Terminal = {
4555
+ __typename?: 'Terminal';
4556
+ branchId: Scalars['String'];
4557
+ createdAt?: Maybe<Scalars['Timestamp']>;
4558
+ deleted?: Maybe<Scalars['Boolean']>;
4559
+ id: Scalars['ID'];
4560
+ name: Scalars['String'];
4561
+ updatedAt?: Maybe<Scalars['Timestamp']>;
4562
+ };
3940
4563
  export declare type TimelineInput = {
3941
4564
  /** The message you want to add */
3942
4565
  message: Scalars['String'];
@@ -4017,6 +4640,7 @@ export declare type TransactionPaymentMethodDetail = {
4017
4640
  cardType?: Maybe<TransactionCardTypeEnum>;
4018
4641
  installment?: Maybe<TransactionInstallmentPrice>;
4019
4642
  lastFourDigits: Scalars['String'];
4643
+ paymentMethodName?: Maybe<Scalars['String']>;
4020
4644
  threeDSecure?: Maybe<Scalars['Boolean']>;
4021
4645
  };
4022
4646
  export declare enum TransactionStatusEnum {
@@ -4119,7 +4743,7 @@ export declare type Variant = {
4119
4743
  sellIfOutOfStock?: Maybe<Scalars['Boolean']>;
4120
4744
  /** SKU of the variant. */
4121
4745
  sku?: Maybe<Scalars['String']>;
4122
- stocks?: Maybe<Array<VariantStock>>;
4746
+ stocks?: Maybe<Array<ProductStockLocation>>;
4123
4747
  /** Translations for the product. */
4124
4748
  unit?: Maybe<VariantUnitModel>;
4125
4749
  updatedAt?: Maybe<Scalars['Timestamp']>;
@@ -4160,11 +4784,6 @@ export declare enum VariantSelectionTypeEnum {
4160
4784
  CHOICE = "CHOICE",
4161
4785
  COLOR = "COLOR"
4162
4786
  }
4163
- export declare type VariantStock = {
4164
- __typename?: 'VariantStock';
4165
- stockCount: Scalars['Float'];
4166
- stockLocationId: Scalars['String'];
4167
- };
4168
4787
  export declare type VariantType = {
4169
4788
  __typename?: 'VariantType';
4170
4789
  createdAt?: Maybe<Scalars['Timestamp']>;