@ikas/api-client 1.0.21 → 1.0.22

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.
@@ -40,11 +40,18 @@ export declare type AbandonedCartFlowCustomerFilter = {
40
40
  sendOnlyActiveAccount?: Maybe<Scalars['Boolean']>;
41
41
  sendOnlySubscribedToEmail?: Maybe<Scalars['Boolean']>;
42
42
  };
43
+ export declare type AddCouponsInput = {
44
+ campaignId: Scalars['String'];
45
+ coupons?: InputMaybe<Array<NewCouponInput>>;
46
+ generateCoupons?: InputMaybe<GenerateCouponInput>;
47
+ };
43
48
  export declare type AddOrderInvoiceInput = {
44
49
  /** It is the app id for which the invoice is issued. */
45
50
  appId: Scalars['String'];
46
51
  /** It is the content of invoice. Is the entered value must be in base64 format. */
47
- base64: Scalars['String'];
52
+ base64?: InputMaybe<Scalars['String']>;
53
+ /** 'It is data for create invoice. */
54
+ invoiceData?: InputMaybe<Scalars['JSON']>;
48
55
  /** It is the number of the order invoice. */
49
56
  invoiceNumber: Scalars['String'];
50
57
  /**
@@ -100,6 +107,83 @@ export declare type AvailableShippingMethod = {
100
107
  shippingSettingsId: Scalars['String'];
101
108
  shippingZoneRateId: Scalars['String'];
102
109
  };
110
+ export declare type Branch = {
111
+ __typename?: 'Branch';
112
+ address: BranchAddress;
113
+ createdAt?: Maybe<Scalars['Timestamp']>;
114
+ deleted?: Maybe<Scalars['Boolean']>;
115
+ favoriteItems?: Maybe<Array<BranchFavoriteItem>>;
116
+ id: Scalars['ID'];
117
+ name: Scalars['String'];
118
+ salesChannelId: Scalars['String'];
119
+ settings?: Maybe<BranchSettings>;
120
+ updatedAt?: Maybe<Scalars['Timestamp']>;
121
+ };
122
+ export declare type BranchAddress = {
123
+ __typename?: 'BranchAddress';
124
+ address: Scalars['String'];
125
+ city: BranchAddressCity;
126
+ country: BranchAddressCountry;
127
+ district?: Maybe<BranchAddressDistrict>;
128
+ phone?: Maybe<Scalars['String']>;
129
+ postalCode: Scalars['String'];
130
+ state?: Maybe<BranchAddressState>;
131
+ };
132
+ export declare type BranchAddressCity = {
133
+ __typename?: 'BranchAddressCity';
134
+ code?: Maybe<Scalars['String']>;
135
+ id?: Maybe<Scalars['String']>;
136
+ name: Scalars['String'];
137
+ };
138
+ export declare type BranchAddressCountry = {
139
+ __typename?: 'BranchAddressCountry';
140
+ code?: Maybe<Scalars['String']>;
141
+ id?: Maybe<Scalars['String']>;
142
+ name: Scalars['String'];
143
+ };
144
+ export declare type BranchAddressDistrict = {
145
+ __typename?: 'BranchAddressDistrict';
146
+ code?: Maybe<Scalars['String']>;
147
+ id?: Maybe<Scalars['String']>;
148
+ name?: Maybe<Scalars['String']>;
149
+ };
150
+ export declare type BranchAddressState = {
151
+ __typename?: 'BranchAddressState';
152
+ code?: Maybe<Scalars['String']>;
153
+ id?: Maybe<Scalars['String']>;
154
+ name?: Maybe<Scalars['String']>;
155
+ };
156
+ export declare type BranchFavoriteItem = {
157
+ __typename?: 'BranchFavoriteItem';
158
+ order: Scalars['Float'];
159
+ targetId: Scalars['String'];
160
+ targetParentId: Scalars['String'];
161
+ type: BranchFavoriteTypeEnum;
162
+ };
163
+ export declare enum BranchFavoriteTypeEnum {
164
+ CATEGORY = "CATEGORY",
165
+ DISCOUNT = "DISCOUNT",
166
+ PRODUCT = "PRODUCT",
167
+ VARIANT = "VARIANT"
168
+ }
169
+ export declare type BranchSettings = {
170
+ __typename?: 'BranchSettings';
171
+ customerRequirement?: Maybe<BranchSettingsRequirementEnum>;
172
+ gridLayout?: Maybe<BranchSettingsGridLayoutEnum>;
173
+ hideOutOfStockProducts?: Maybe<Scalars['Boolean']>;
174
+ lockTime?: Maybe<Scalars['Float']>;
175
+ pinRequirement?: Maybe<BranchSettingsRequirementEnum>;
176
+ sellOutOfStockProducts?: Maybe<Scalars['Boolean']>;
177
+ };
178
+ export declare enum BranchSettingsGridLayoutEnum {
179
+ FOUR_FIVE = "FOUR_FIVE",
180
+ THREE_FOUR = "THREE_FOUR",
181
+ TWO_EIGHT = "TWO_EIGHT"
182
+ }
183
+ export declare enum BranchSettingsRequirementEnum {
184
+ MANDATORY = "MANDATORY",
185
+ OPTIONAL = "OPTIONAL"
186
+ }
103
187
  export declare type BulkUpdateProductBrandInput = {
104
188
  /** Description of the brand. */
105
189
  description?: InputMaybe<Scalars['String']>;
@@ -231,6 +315,8 @@ export declare type BulkUpdateProductsInput = {
231
315
  deleted: Scalars['Boolean'];
232
316
  /** Description of the product. */
233
317
  description?: InputMaybe<Scalars['String']>;
318
+ /** Product Google Categories */
319
+ googleTaxonomyId?: InputMaybe<Scalars['String']>;
234
320
  id?: InputMaybe<Scalars['String']>;
235
321
  /** Max purchasable quantity of the product for per cart. */
236
322
  maxQuantityPerCart?: InputMaybe<Scalars['Float']>;
@@ -298,9 +384,32 @@ export declare type BundleSettingsModel = {
298
384
  /** List of products that can be included in the bundle product. */
299
385
  products: Array<BundleProductModel>;
300
386
  };
387
+ export declare type BuyX = {
388
+ __typename?: 'BuyX';
389
+ amount: Scalars['Float'];
390
+ applyByQuantity: Scalars['Boolean'];
391
+ filter: CampaignFilter;
392
+ };
393
+ export declare type BuyXInput = {
394
+ amount: Scalars['Float'];
395
+ applyByQuantity: Scalars['Boolean'];
396
+ filter: CampaignFilterInput;
397
+ };
398
+ export declare type BuyXThenGetY = {
399
+ __typename?: 'BuyXThenGetY';
400
+ buyX: BuyX;
401
+ getY: GetY;
402
+ maxUsagePerOrder?: Maybe<Scalars['Int']>;
403
+ };
404
+ export declare type BuyXThenGetYInput = {
405
+ buyX: BuyXInput;
406
+ getY: GetYInput;
407
+ maxUsagePerOrder?: InputMaybe<Scalars['Int']>;
408
+ };
301
409
  export declare type CSVExportFilterInput = {
302
410
  brandId?: InputMaybe<StringFilterInput>;
303
411
  categoryIds?: InputMaybe<CategoryFilterInput>;
412
+ salesChannelIds?: InputMaybe<StringFilterInput>;
304
413
  tagIds?: InputMaybe<StringFilterInput>;
305
414
  };
306
415
  export declare type CSVImportResponse = {
@@ -308,6 +417,97 @@ export declare type CSVImportResponse = {
308
417
  csvContent?: Maybe<Scalars['String']>;
309
418
  isSuccess: Scalars['Boolean'];
310
419
  };
420
+ export declare type Campaign = {
421
+ __typename?: 'Campaign';
422
+ applicableCustomerGroupIds?: Maybe<Array<Scalars['String']>>;
423
+ applicableCustomerIds?: Maybe<Array<Scalars['String']>>;
424
+ applicablePrice: CampaignApplicablePriceEnum;
425
+ buyXThenGetY?: Maybe<BuyXThenGetY>;
426
+ canCombineWithOtherCampaigns: Scalars['Boolean'];
427
+ createdAt?: Maybe<Scalars['Timestamp']>;
428
+ createdFor?: Maybe<CampaignCreatedForEnum>;
429
+ currencyCodes?: Maybe<Array<Scalars['String']>>;
430
+ dateRange?: Maybe<CampaignDateRangeField>;
431
+ deleted?: Maybe<Scalars['Boolean']>;
432
+ fixedDiscount?: Maybe<FixedDiscount>;
433
+ hasCoupon: Scalars['Boolean'];
434
+ id: Scalars['ID'];
435
+ includeDiscountedProducts?: Maybe<Scalars['Boolean']>;
436
+ onlyUseCustomer?: Maybe<Scalars['Boolean']>;
437
+ salesChannelIds?: Maybe<Array<Scalars['String']>>;
438
+ title: Scalars['String'];
439
+ type: CampaignTypeEnum;
440
+ updatedAt?: Maybe<Scalars['Timestamp']>;
441
+ usageCount: Scalars['Int'];
442
+ usageLimit?: Maybe<Scalars['Int']>;
443
+ usageLimitPerCustomer?: Maybe<Scalars['Int']>;
444
+ };
445
+ export declare enum CampaignApplicablePriceEnum {
446
+ DISCOUNT_PRICE = "DISCOUNT_PRICE",
447
+ SELL_PRICE = "SELL_PRICE"
448
+ }
449
+ export declare enum CampaignCreatedForEnum {
450
+ ABANDONED_CHECKOUT = "ABANDONED_CHECKOUT",
451
+ CART = "CART",
452
+ CUSTOMER_REVIEW = "CUSTOMER_REVIEW"
453
+ }
454
+ export declare type CampaignDateRangeField = {
455
+ __typename?: 'CampaignDateRangeField';
456
+ end?: Maybe<Scalars['Timestamp']>;
457
+ start?: Maybe<Scalars['Timestamp']>;
458
+ };
459
+ export declare type CampaignDateRangeFieldInput = {
460
+ end?: InputMaybe<Scalars['Timestamp']>;
461
+ start?: InputMaybe<Scalars['Timestamp']>;
462
+ };
463
+ export declare type CampaignFilter = {
464
+ __typename?: 'CampaignFilter';
465
+ idList: Array<Scalars['String']>;
466
+ type: CampaignFilterTypeEnum;
467
+ };
468
+ export declare type CampaignFilterInput = {
469
+ idList: Array<Scalars['String']>;
470
+ type: CampaignFilterTypeEnum;
471
+ };
472
+ export declare enum CampaignFilterTypeEnum {
473
+ CATEGORY = "CATEGORY",
474
+ PRODUCT = "PRODUCT",
475
+ PRODUCT_BRAND = "PRODUCT_BRAND",
476
+ PRODUCT_TAG = "PRODUCT_TAG",
477
+ VARIANT = "VARIANT"
478
+ }
479
+ export declare type CampaignInput = {
480
+ applicableCustomerGroupIds?: InputMaybe<Array<Scalars['String']>>;
481
+ applicableCustomerIds?: InputMaybe<Array<Scalars['String']>>;
482
+ applicablePrice: CampaignApplicablePriceEnum;
483
+ buyXThenGetY?: InputMaybe<BuyXThenGetYInput>;
484
+ canCombineWithOtherCampaigns: Scalars['Boolean'];
485
+ createdAt?: InputMaybe<Scalars['Timestamp']>;
486
+ createdFor?: InputMaybe<CampaignCreatedForEnum>;
487
+ currencyCodes?: InputMaybe<Array<Scalars['String']>>;
488
+ dateRange?: InputMaybe<CampaignDateRangeFieldInput>;
489
+ deleted?: InputMaybe<Scalars['Boolean']>;
490
+ fixedDiscount?: InputMaybe<FixedDiscountInput>;
491
+ hasCoupon: Scalars['Boolean'];
492
+ id?: InputMaybe<Scalars['ID']>;
493
+ includeDiscountedProducts?: InputMaybe<Scalars['Boolean']>;
494
+ onlyUseCustomer?: InputMaybe<Scalars['Boolean']>;
495
+ salesChannelIds?: InputMaybe<Array<Scalars['String']>>;
496
+ title: Scalars['String'];
497
+ type: CampaignTypeEnum;
498
+ updatedAt?: InputMaybe<Scalars['Timestamp']>;
499
+ usageLimit?: InputMaybe<Scalars['Int']>;
500
+ usageLimitPerCustomer?: InputMaybe<Scalars['Int']>;
501
+ };
502
+ export declare type CampaignMinMaxRangeField = {
503
+ __typename?: 'CampaignMinMaxRangeField';
504
+ max?: Maybe<Scalars['Float']>;
505
+ min?: Maybe<Scalars['Float']>;
506
+ };
507
+ export declare type CampaignMinMaxRangeFieldInput = {
508
+ max?: InputMaybe<Scalars['Float']>;
509
+ min?: InputMaybe<Scalars['Float']>;
510
+ };
311
511
  export declare type CampaignOffer = {
312
512
  __typename?: 'CampaignOffer';
313
513
  availableSalesChannelIds: Array<Scalars['String']>;
@@ -332,6 +532,7 @@ export declare enum CampaignOfferFollowUpActionTypeEnum {
332
532
  }
333
533
  export declare type CampaignOfferProduct = {
334
534
  __typename?: 'CampaignOfferProduct';
535
+ applicablePrice?: Maybe<CampaignOfferProductApplicablePriceEnum>;
335
536
  countdownMinutes?: Maybe<Scalars['Float']>;
336
537
  description?: Maybe<Scalars['String']>;
337
538
  discountAmount?: Maybe<Scalars['Float']>;
@@ -345,6 +546,10 @@ export declare type CampaignOfferProduct = {
345
546
  title: Scalars['String'];
346
547
  translations?: Maybe<Array<CampaignOfferProductTranslation>>;
347
548
  };
549
+ export declare enum CampaignOfferProductApplicablePriceEnum {
550
+ DISCOUNT_PRICE = "DISCOUNT_PRICE",
551
+ SELL_PRICE = "SELL_PRICE"
552
+ }
348
553
  export declare enum CampaignOfferProductShowCriteriaEnum {
349
554
  PREVIOUS_ACCEPTED = "PREVIOUS_ACCEPTED",
350
555
  PREVIOUS_REJECTED = "PREVIOUS_REJECTED"
@@ -362,6 +567,7 @@ export declare enum CampaignOfferTargetPageTypeEnum {
362
567
  export declare enum CampaignOfferTriggerFilterTypeEnum {
363
568
  ALL_PRODUCTS = "ALL_PRODUCTS",
364
569
  CATEGORY = "CATEGORY",
570
+ MIN_CART_AMOUNT = "MIN_CART_AMOUNT",
365
571
  PRODUCT = "PRODUCT",
366
572
  PRODUCT_TAG = "PRODUCT_TAG",
367
573
  VARIANT = "VARIANT"
@@ -375,6 +581,35 @@ export declare enum CampaignOfferTypeEnum {
375
581
  CROSS_SELL = "CROSS_SELL",
376
582
  UPSELL = "UPSELL"
377
583
  }
584
+ export declare type CampaignPaginationResponse = {
585
+ __typename?: 'CampaignPaginationResponse';
586
+ /**
587
+ * Returns the first three records of each page in the records returned as a response.
588
+ * For example, **let's say page = 3, limit = 30, count = 3.**
589
+ * The records that will return as a response are the records **between 60-62.**
590
+ */
591
+ count: Scalars['Int'];
592
+ data: Array<Campaign>;
593
+ /** 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.** */
594
+ hasNext: Scalars['Boolean'];
595
+ /**
596
+ * The maximum number of data you want to see on a page in the records returned as a response.
597
+ * For example, if the limit is **20**, the data will be displayed ** as 20 each. **
598
+ * :::note
599
+ * min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
600
+ * :::
601
+ */
602
+ limit: Scalars['Int'];
603
+ /**
604
+ * The number of the page you want to see in the records that return as response.
605
+ * For example: We entered the page field as **3**.And let our limit field be **30**.
606
+ * The records that will return as a response are the records **between 60-90.**
607
+ * :::note
608
+ * If no value is entered, default 1 is accepted.
609
+ * :::
610
+ */
611
+ page: Scalars['Int'];
612
+ };
378
613
  export declare enum CampaignTypeEnum {
379
614
  BUY_X_THEN_GET_Y = "BUY_X_THEN_GET_Y",
380
615
  FIXED_AMOUNT = "FIXED_AMOUNT",
@@ -609,6 +844,19 @@ export declare type Country = {
609
844
  subregion?: Maybe<Scalars['String']>;
610
845
  updatedAt?: Maybe<Scalars['Timestamp']>;
611
846
  };
847
+ export declare type Coupon = {
848
+ __typename?: 'Coupon';
849
+ campaignId: Scalars['String'];
850
+ canCombineWithOtherCampaigns: Scalars['Boolean'];
851
+ code: Scalars['String'];
852
+ createdAt?: Maybe<Scalars['Timestamp']>;
853
+ deleted?: Maybe<Scalars['Boolean']>;
854
+ id: Scalars['ID'];
855
+ updatedAt?: Maybe<Scalars['Timestamp']>;
856
+ usageCount: Scalars['Int'];
857
+ usageLimit?: Maybe<Scalars['Int']>;
858
+ usageLimitPerCustomer?: Maybe<Scalars['Int']>;
859
+ };
612
860
  export declare type CreateMerchantAppPaymentWithSubscriptionInput = {
613
861
  /** It keeps the information of which type of license is obtained. For example: trendyol-app-licence, foriba-app-licence etc. */
614
862
  storeAppListingSubscriptionKey: Scalars['String'];
@@ -885,6 +1133,19 @@ export declare type District = {
885
1133
  stateId: Scalars['String'];
886
1134
  updatedAt?: Maybe<Scalars['Timestamp']>;
887
1135
  };
1136
+ export declare type FixedDiscount = {
1137
+ __typename?: 'FixedDiscount';
1138
+ amount?: Maybe<Scalars['Float']>;
1139
+ filters?: Maybe<Array<CampaignFilter>>;
1140
+ lineItemQuantityRange?: Maybe<CampaignMinMaxRangeField>;
1141
+ priceRange?: Maybe<CampaignMinMaxRangeField>;
1142
+ };
1143
+ export declare type FixedDiscountInput = {
1144
+ amount?: InputMaybe<Scalars['Float']>;
1145
+ filters?: InputMaybe<Array<CampaignFilterInput>>;
1146
+ lineItemQuantityRange?: InputMaybe<CampaignMinMaxRangeFieldInput>;
1147
+ priceRange?: InputMaybe<CampaignMinMaxRangeFieldInput>;
1148
+ };
888
1149
  export declare type FulFillOrderInput = {
889
1150
  lines: Array<FulfillOrderLineInput>;
890
1151
  markAsReadyForShipment?: InputMaybe<Scalars['Boolean']>;
@@ -896,6 +1157,13 @@ export declare type FulfillOrderLineInput = {
896
1157
  orderLineItemId: Scalars['String'];
897
1158
  quantity: Scalars['Float'];
898
1159
  };
1160
+ export declare type GenerateCouponInput = {
1161
+ canCombineWithOtherCampaigns: Scalars['Boolean'];
1162
+ prefix: Scalars['String'];
1163
+ quantity: Scalars['Int'];
1164
+ usageLimit?: InputMaybe<Scalars['Int']>;
1165
+ usageLimitPerCustomer?: InputMaybe<Scalars['Int']>;
1166
+ };
899
1167
  export declare type GetImportJobDataResponse = {
900
1168
  __typename?: 'GetImportJobDataResponse';
901
1169
  data?: Maybe<Scalars['String']>;
@@ -910,6 +1178,19 @@ export declare type GetVideoUploadURLResponse = {
910
1178
  /** Upload url for the specified video. */
911
1179
  url: Scalars['String'];
912
1180
  };
1181
+ export declare type GetY = {
1182
+ __typename?: 'GetY';
1183
+ amount: Scalars['Float'];
1184
+ automaticallyAddItemToCart?: Maybe<Scalars['Boolean']>;
1185
+ discountRatio: Scalars['Float'];
1186
+ filter: CampaignFilter;
1187
+ };
1188
+ export declare type GetYInput = {
1189
+ amount: Scalars['Float'];
1190
+ automaticallyAddItemToCart?: InputMaybe<Scalars['Boolean']>;
1191
+ discountRatio: Scalars['Float'];
1192
+ filter: CampaignFilterInput;
1193
+ };
913
1194
  export declare type GlobalTaxSettings = {
914
1195
  __typename?: 'GlobalTaxSettings';
915
1196
  createdAt?: Maybe<Scalars['Timestamp']>;
@@ -1007,8 +1288,12 @@ export declare type Invoice = {
1007
1288
  appName: Scalars['String'];
1008
1289
  /** It is the id of the order invoice. */
1009
1290
  createdAt?: Maybe<Scalars['Timestamp']>;
1291
+ /** It is indicates that the invoice has the pdf. */
1292
+ hasPdf?: Maybe<Scalars['Boolean']>;
1010
1293
  /** It is the id of the order invoice. */
1011
1294
  id: Scalars['String'];
1295
+ /** It is data of the invoice. */
1296
+ invoiceData?: Maybe<Scalars['JSON']>;
1012
1297
  /** It is the id of the order invoice. */
1013
1298
  invoiceNumber: Scalars['String'];
1014
1299
  /** It is the id of the order invoice. */
@@ -1034,6 +1319,7 @@ export declare type LocationTranslations = {
1034
1319
  __typename?: 'LocationTranslations';
1035
1320
  de?: Maybe<Scalars['String']>;
1036
1321
  en: Scalars['String'];
1322
+ fr?: Maybe<Scalars['String']>;
1037
1323
  tr: Scalars['String'];
1038
1324
  };
1039
1325
  export declare type MeResponse = {
@@ -1063,6 +1349,7 @@ export declare type MerchantAddress = {
1063
1349
  addressLine2?: Maybe<Scalars['String']>;
1064
1350
  /** The merchant's city. */
1065
1351
  city?: Maybe<MerchantAddressCity>;
1352
+ company?: Maybe<Scalars['String']>;
1066
1353
  /** The merchant's country. */
1067
1354
  country?: Maybe<MerchantAddressCountry>;
1068
1355
  /** The merchant's district in city. */
@@ -1076,6 +1363,7 @@ export declare type MerchantAddress = {
1076
1363
  /** The merchant's postal code, also known as zip, postcode, etc. */
1077
1364
  postalCode?: Maybe<Scalars['String']>;
1078
1365
  state?: Maybe<MerchantAddressState>;
1366
+ taxNumber?: Maybe<Scalars['String']>;
1079
1367
  /** If merchant is corporate, merchant can use that field to fill their Tax Office name. */
1080
1368
  taxOffice?: Maybe<Scalars['String']>;
1081
1369
  title?: Maybe<Scalars['String']>;
@@ -1095,6 +1383,10 @@ export declare type MerchantAddressCountry = {
1095
1383
  /** The ISO3 country code corresponding to the merchant's country. */
1096
1384
  code?: Maybe<Scalars['String']>;
1097
1385
  id?: Maybe<Scalars['String']>;
1386
+ /** Two-letter country code */
1387
+ iso2?: Maybe<Scalars['String']>;
1388
+ /** Three-letter country code */
1389
+ iso3?: Maybe<Scalars['String']>;
1098
1390
  /** The merchant's normalized country name. */
1099
1391
  name?: Maybe<Scalars['String']>;
1100
1392
  };
@@ -1286,6 +1578,7 @@ export declare type Mutation = {
1286
1578
  approvePendingOrderTransactions: Scalars['Boolean'];
1287
1579
  /** Response indicating the status of operation. */
1288
1580
  bulkUpdateProducts: Scalars['String'];
1581
+ campaignAddCoupons: Array<Coupon>;
1289
1582
  /** Use this mutation to cancel the already created package for an order. */
1290
1583
  cancelFulfillment: Order;
1291
1584
  /** Use this mutation to cancel given order lines. */
@@ -1296,6 +1589,7 @@ export declare type Mutation = {
1296
1589
  createMerchantAppPaymentWithSubscription?: Maybe<MerchantAppPayment>;
1297
1590
  /** Use this mutation if you want to create a new order with transactions. */
1298
1591
  createOrderWithTransactions: Order;
1592
+ deleteCampaignList: Scalars['Boolean'];
1299
1593
  /** Using this api, you can delete the categories of products. */
1300
1594
  deleteCategoryList: Scalars['Boolean'];
1301
1595
  deleteOrderTagList: Scalars['Boolean'];
@@ -1325,6 +1619,7 @@ export declare type Mutation = {
1325
1619
  /** Use this mutation to refund given order lines. */
1326
1620
  refundOrderLine: Order;
1327
1621
  removeOrderTag: Scalars['Boolean'];
1622
+ saveCampaign: Campaign;
1328
1623
  /** Using this api, you can update the categories of products. */
1329
1624
  saveCategory: Category;
1330
1625
  saveOrderTag: OrderTag;
@@ -1360,6 +1655,7 @@ export declare type Mutation = {
1360
1655
  updateOrderPackageStatus: Order;
1361
1656
  /** Response indicating the status of operation. */
1362
1657
  updateProductSalesChannelStatus: Scalars['Boolean'];
1658
+ variantAttributeImport: CSVImportResponse;
1363
1659
  };
1364
1660
  export declare type MutationaddCustomTimelineEntryArgs = {
1365
1661
  input: TimelineInput;
@@ -1376,6 +1672,9 @@ export declare type MutationapprovePendingOrderTransactionsArgs = {
1376
1672
  export declare type MutationbulkUpdateProductsArgs = {
1377
1673
  input: Array<BulkUpdateProductsInput>;
1378
1674
  };
1675
+ export declare type MutationcampaignAddCouponsArgs = {
1676
+ input: AddCouponsInput;
1677
+ };
1379
1678
  export declare type MutationcancelFulfillmentArgs = {
1380
1679
  input: CancelFulfillmentInput;
1381
1680
  };
@@ -1391,6 +1690,9 @@ export declare type MutationcreateMerchantAppPaymentWithSubscriptionArgs = {
1391
1690
  export declare type MutationcreateOrderWithTransactionsArgs = {
1392
1691
  input: CreateOrderWithTransactionsInput;
1393
1692
  };
1693
+ export declare type MutationdeleteCampaignListArgs = {
1694
+ idList: Array<Scalars['String']>;
1695
+ };
1394
1696
  export declare type MutationdeleteCategoryListArgs = {
1395
1697
  idList: Array<Scalars['String']>;
1396
1698
  };
@@ -1439,6 +1741,9 @@ export declare type MutationrefundOrderLineArgs = {
1439
1741
  export declare type MutationremoveOrderTagArgs = {
1440
1742
  input: UpdateOrderTagInput;
1441
1743
  };
1744
+ export declare type MutationsaveCampaignArgs = {
1745
+ input: CampaignInput;
1746
+ };
1442
1747
  export declare type MutationsaveCategoryArgs = {
1443
1748
  input: CategoryInput;
1444
1749
  };
@@ -1494,6 +1799,16 @@ export declare type MutationupdateProductSalesChannelStatusArgs = {
1494
1799
  input: Array<UpdateProductSalesChannelStatusInput>;
1495
1800
  salesChannelId?: InputMaybe<Scalars['String']>;
1496
1801
  };
1802
+ export declare type MutationvariantAttributeImportArgs = {
1803
+ file: Scalars['String'];
1804
+ };
1805
+ export declare type NewCouponInput = {
1806
+ canCombineWithOtherCampaigns: Scalars['Boolean'];
1807
+ code: Scalars['String'];
1808
+ id?: InputMaybe<Scalars['ID']>;
1809
+ usageLimit?: InputMaybe<Scalars['Int']>;
1810
+ usageLimitPerCustomer?: InputMaybe<Scalars['Int']>;
1811
+ };
1497
1812
  export declare type Order = {
1498
1813
  __typename?: 'Order';
1499
1814
  abandonedCartFlows?: Maybe<Array<AbandonedCartFlow>>;
@@ -1642,6 +1957,8 @@ export declare type OrderAddress = {
1642
1957
  phone?: Maybe<Scalars['String']>;
1643
1958
  /** The postal code of the address. */
1644
1959
  postalCode?: Maybe<Scalars['String']>;
1960
+ /** The region information of the address. */
1961
+ region?: Maybe<ShippingZoneRegion>;
1645
1962
  /** The state information of the address. */
1646
1963
  state?: Maybe<OrderAddressState>;
1647
1964
  /** The tax number of the person associated with the address. */
@@ -1724,6 +2041,8 @@ export declare type OrderAddressInput = {
1724
2041
  phone?: InputMaybe<Scalars['String']>;
1725
2042
  /** The postal code of the address. */
1726
2043
  postalCode?: InputMaybe<Scalars['String']>;
2044
+ /** The name of the region of the address. */
2045
+ region?: InputMaybe<ShippingZoneRegionInput>;
1727
2046
  /** The name of the state of the address. */
1728
2047
  state?: InputMaybe<OrderAddressStateInput>;
1729
2048
  /** The tax number of the person associated with the address. */
@@ -2277,6 +2596,16 @@ export declare type OrderPaymentMethod = {
2277
2596
  /** It is the type enum of the order payment method. */
2278
2597
  type: PaymentMethodTypeEnum;
2279
2598
  };
2599
+ export declare type OrderPaymentMethodEnumFilterInput = {
2600
+ /** `equal`. The filter used for equality. */
2601
+ eq?: InputMaybe<PaymentMethodTypeEnum>;
2602
+ /** Returns a boolean indicating whether a specified value is in an array. */
2603
+ in?: InputMaybe<Array<InputMaybe<PaymentMethodTypeEnum>>>;
2604
+ /** `not equal`. The filter used for not equality. */
2605
+ ne?: InputMaybe<PaymentMethodTypeEnum>;
2606
+ /** Returns a boolean indicating whether a specified value is not in an array. */
2607
+ nin?: InputMaybe<Array<InputMaybe<PaymentMethodTypeEnum>>>;
2608
+ };
2280
2609
  export declare enum OrderPaymentStatusEnum {
2281
2610
  PAID = "PAID",
2282
2611
  PARTIALLY_PAID = "PARTIALLY_PAID",
@@ -2391,6 +2720,16 @@ export declare enum OrderShippingMethodEnum {
2391
2720
  NO_SHIPMENT = "NO_SHIPMENT",
2392
2721
  SHIPMENT = "SHIPMENT"
2393
2722
  }
2723
+ export declare type OrderShippingMethodEnumFilterInput = {
2724
+ /** `equal`. The filter used for equality. */
2725
+ eq?: InputMaybe<OrderShippingMethodEnum>;
2726
+ /** Returns a boolean indicating whether a specified value is in an array. */
2727
+ in?: InputMaybe<Array<InputMaybe<OrderShippingMethodEnum>>>;
2728
+ /** `not equal`. The filter used for not equality. */
2729
+ ne?: InputMaybe<OrderShippingMethodEnum>;
2730
+ /** Returns a boolean indicating whether a specified value is not in an array. */
2731
+ nin?: InputMaybe<Array<InputMaybe<OrderShippingMethodEnum>>>;
2732
+ };
2394
2733
  export declare type OrderStaff = {
2395
2734
  __typename?: 'OrderStaff';
2396
2735
  /** It is the email of the staff who created the order. */
@@ -2450,7 +2789,7 @@ export declare type OrderStorefrontRouting = {
2450
2789
  };
2451
2790
  export declare type OrderStorefrontRoutingDynamicCurrencySettings = {
2452
2791
  __typename?: 'OrderStorefrontRoutingDynamicCurrencySettings';
2453
- /** One of '.x0' | '.x9' | '.00' | '.90' | '.99' */
2792
+ /** One of '.x0' | '.x9' | '.00' | '.90' | '.99' | '0.00' */
2454
2793
  roundingFormat?: Maybe<Scalars['String']>;
2455
2794
  targetCurrencyCode: Scalars['String'];
2456
2795
  };
@@ -2513,14 +2852,18 @@ export declare type PaginationInput = {
2513
2852
  };
2514
2853
  export declare enum PaymentMethodTypeEnum {
2515
2854
  APP_PAYMENT = "APP_PAYMENT",
2855
+ BANK_REDIRECT = "BANK_REDIRECT",
2516
2856
  BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
2517
2857
  CASH = "CASH",
2518
2858
  CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
2519
2859
  CREDIT_CARD = "CREDIT_CARD",
2520
2860
  CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
2861
+ DIRECT_DEBIT = "DIRECT_DEBIT",
2521
2862
  GIFT_CARD = "GIFT_CARD",
2522
2863
  MONEY_ORDER = "MONEY_ORDER",
2523
2864
  OTHER = "OTHER",
2865
+ PAY_LATER = "PAY_LATER",
2866
+ SLICE_IT = "SLICE_IT",
2524
2867
  WALLET = "WALLET"
2525
2868
  }
2526
2869
  export declare type PriceList = {
@@ -2557,6 +2900,8 @@ export declare type Product = {
2557
2900
  googleTaxonomyId?: Maybe<Scalars['String']>;
2558
2901
  /** This is the variant type id that can be used to group variants by a specific variant type id. */
2559
2902
  groupVariantsByVariantTypeId?: Maybe<Scalars['String']>;
2903
+ /** List of hidden sales channel ids of the product. */
2904
+ hiddenSalesChannelIds?: Maybe<Array<Scalars['String']>>;
2560
2905
  id: Scalars['ID'];
2561
2906
  /** Max purchasable quantity of the product for per cart. */
2562
2907
  maxQuantityPerCart?: Maybe<Scalars['Float']>;
@@ -3218,6 +3563,8 @@ export declare type Query = {
3218
3563
  /** Using this api, you can view your sales channel. */
3219
3564
  getSalesChannel?: Maybe<SalesChannel>;
3220
3565
  getVideoUploadUrl: GetVideoUploadURLResponse;
3566
+ listBranch: Array<Branch>;
3567
+ listCampaign: CampaignPaginationResponse;
3221
3568
  /**
3222
3569
  * Using this api, you can view the categories of products.
3223
3570
  * Search applies to following fields: `name`
@@ -3258,6 +3605,7 @@ export declare type Query = {
3258
3605
  listStorefront: Array<Storefront>;
3259
3606
  /** Use this query to list storefront javascript scripts by supplying the `storefrontId` input. */
3260
3607
  listStorefrontJSScript: Array<StorefrontJSScript>;
3608
+ listTerminal: Array<Terminal>;
3261
3609
  listTown: Array<Town>;
3262
3610
  /** Using this api, you can view the variant types of products. */
3263
3611
  listVariantType: Array<VariantType>;
@@ -3269,6 +3617,7 @@ export declare type Query = {
3269
3617
  productAttributeExport: Scalars['String'];
3270
3618
  /** Result(s) containing searched products. */
3271
3619
  searchProducts: ProductSearchResponse;
3620
+ variantAttributeExport: Scalars['String'];
3272
3621
  };
3273
3622
  export declare type QuerygetImageUploadUrlArgs = {
3274
3623
  imageDir?: InputMaybe<Scalars['String']>;
@@ -3280,6 +3629,20 @@ export declare type QuerygetImportJobDataArgs = {
3280
3629
  export declare type QuerygetVideoUploadUrlArgs = {
3281
3630
  videoId: Scalars['String'];
3282
3631
  };
3632
+ export declare type QuerylistBranchArgs = {
3633
+ id?: InputMaybe<StringFilterInput>;
3634
+ includeDeleted?: InputMaybe<Scalars['Boolean']>;
3635
+ name?: InputMaybe<StringFilterInput>;
3636
+ salesChannelId?: InputMaybe<StringFilterInput>;
3637
+ updatedAt?: InputMaybe<DateFilterInput>;
3638
+ };
3639
+ export declare type QuerylistCampaignArgs = {
3640
+ id?: InputMaybe<StringFilterInput>;
3641
+ includeDeleted?: InputMaybe<Scalars['Boolean']>;
3642
+ pagination?: InputMaybe<PaginationInput>;
3643
+ search?: InputMaybe<Scalars['String']>;
3644
+ updatedAt?: InputMaybe<DateFilterInput>;
3645
+ };
3283
3646
  export declare type QuerylistCategoryArgs = {
3284
3647
  categoryPath?: InputMaybe<CategoryPathFilterInput>;
3285
3648
  id?: InputMaybe<StringFilterInput>;
@@ -3327,17 +3690,27 @@ export declare type QuerylistMerchantAppPaymentArgs = {
3327
3690
  pagination?: InputMaybe<PaginationInput>;
3328
3691
  };
3329
3692
  export declare type QuerylistOrderArgs = {
3693
+ branchId?: InputMaybe<StringFilterInput>;
3694
+ branchSessionId?: InputMaybe<StringFilterInput>;
3330
3695
  closedAt?: InputMaybe<DateFilterInput>;
3696
+ customerEmail?: InputMaybe<StringFilterInput>;
3697
+ customerId?: InputMaybe<StringFilterInput>;
3331
3698
  id?: InputMaybe<StringFilterInput>;
3699
+ invoicesStoreAppId?: InputMaybe<StringFilterInput>;
3332
3700
  orderNumber?: InputMaybe<StringFilterInput>;
3333
3701
  orderPackageStatus?: InputMaybe<OrderPackageStatusEnumInputFilter>;
3334
3702
  orderPaymentStatus?: InputMaybe<OrderPaymentStatusEnumInputFilter>;
3335
3703
  orderTagIds?: InputMaybe<StringFilterInput>;
3336
3704
  orderedAt?: InputMaybe<DateFilterInput>;
3337
3705
  pagination?: InputMaybe<PaginationInput>;
3706
+ paymentMethodType?: InputMaybe<OrderPaymentMethodEnumFilterInput>;
3707
+ salesChannelId?: InputMaybe<StringFilterInput>;
3338
3708
  search?: InputMaybe<Scalars['String']>;
3709
+ shippingMethod?: InputMaybe<OrderShippingMethodEnumFilterInput>;
3339
3710
  sort?: InputMaybe<Scalars['String']>;
3340
3711
  status?: InputMaybe<OrderStatusEnumInputFilter>;
3712
+ stockLocationId?: InputMaybe<StringFilterInput>;
3713
+ terminalId?: InputMaybe<StringFilterInput>;
3341
3714
  updatedAt?: InputMaybe<DateFilterInput>;
3342
3715
  };
3343
3716
  export declare type QuerylistOrderTagArgs = {
@@ -3422,6 +3795,12 @@ export declare type QuerylistStorefrontArgs = {
3422
3795
  export declare type QuerylistStorefrontJSScriptArgs = {
3423
3796
  storefrontId?: InputMaybe<Scalars['String']>;
3424
3797
  };
3798
+ export declare type QuerylistTerminalArgs = {
3799
+ branchId?: InputMaybe<StringFilterInput>;
3800
+ id?: InputMaybe<StringFilterInput>;
3801
+ includeDeleted?: InputMaybe<Scalars['Boolean']>;
3802
+ updatedAt?: InputMaybe<DateFilterInput>;
3803
+ };
3425
3804
  export declare type QuerylistTownArgs = {
3426
3805
  districtId: StringFilterInput;
3427
3806
  id?: InputMaybe<StringFilterInput>;
@@ -3446,6 +3825,9 @@ export declare type QueryproductAttributeExportArgs = {
3446
3825
  export declare type QuerysearchProductsArgs = {
3447
3826
  input: SearchInput;
3448
3827
  };
3828
+ export declare type QueryvariantAttributeExportArgs = {
3829
+ csvFilterInput?: InputMaybe<CSVExportFilterInput>;
3830
+ };
3449
3831
  export declare enum SFAnalyticsTrafficSourceEnum {
3450
3832
  ADS_OTHER = "ADS_OTHER",
3451
3833
  AFFILIATE = "AFFILIATE",
@@ -3584,6 +3966,7 @@ export declare type SearchProduct = {
3584
3966
  reviewCount?: Maybe<Scalars['Float']>;
3585
3967
  salesChannelIds?: Maybe<Array<Scalars['String']>>;
3586
3968
  shortDescription?: Maybe<Scalars['String']>;
3969
+ stars?: Maybe<Array<SearchProductCustomerReviewStar>>;
3587
3970
  tags?: Maybe<Array<SearchProductTag>>;
3588
3971
  translations?: Maybe<Array<ProductTranslation>>;
3589
3972
  type: Scalars['String'];
@@ -3627,6 +4010,11 @@ export declare type SearchProductBrand = {
3627
4010
  slug?: Maybe<Scalars['String']>;
3628
4011
  translations?: Maybe<Array<ProductBrandTranslation>>;
3629
4012
  };
4013
+ export declare type SearchProductCustomerReviewStar = {
4014
+ __typename?: 'SearchProductCustomerReviewStar';
4015
+ count: Scalars['Float'];
4016
+ star: Scalars['Float'];
4017
+ };
3630
4018
  export declare type SearchProductImage = {
3631
4019
  __typename?: 'SearchProductImage';
3632
4020
  id: Scalars['String'];
@@ -3710,6 +4098,21 @@ export declare type SearchVariationValueRelation = {
3710
4098
  variantTypeId: Scalars['String'];
3711
4099
  variantValueId: Scalars['String'];
3712
4100
  };
4101
+ export declare type ShippingZoneRegion = {
4102
+ __typename?: 'ShippingZoneRegion';
4103
+ createdAt?: Maybe<Scalars['Timestamp']>;
4104
+ deleted?: Maybe<Scalars['Boolean']>;
4105
+ id: Scalars['ID'];
4106
+ name: Scalars['String'];
4107
+ updatedAt?: Maybe<Scalars['Timestamp']>;
4108
+ };
4109
+ export declare type ShippingZoneRegionInput = {
4110
+ createdAt?: InputMaybe<Scalars['Timestamp']>;
4111
+ deleted?: InputMaybe<Scalars['Boolean']>;
4112
+ id?: InputMaybe<Scalars['ID']>;
4113
+ name: Scalars['String'];
4114
+ updatedAt?: InputMaybe<Scalars['Timestamp']>;
4115
+ };
3713
4116
  export declare type SimpleCategory = {
3714
4117
  __typename?: 'SimpleCategory';
3715
4118
  createdAt?: Maybe<Scalars['Timestamp']>;
@@ -3924,6 +4327,7 @@ export declare enum SubscriptionCodeEnum {
3924
4327
  GROW = "GROW",
3925
4328
  PREMIUM = "PREMIUM",
3926
4329
  SCALE = "SCALE",
4330
+ SCALE_PLUS = "SCALE_PLUS",
3927
4331
  START = "START",
3928
4332
  TRIAL = "TRIAL"
3929
4333
  }
@@ -3937,6 +4341,15 @@ export declare enum SubscriptionPriceCurrencyEnum {
3937
4341
  TRY = "TRY",
3938
4342
  USD = "USD"
3939
4343
  }
4344
+ export declare type Terminal = {
4345
+ __typename?: 'Terminal';
4346
+ branchId: Scalars['String'];
4347
+ createdAt?: Maybe<Scalars['Timestamp']>;
4348
+ deleted?: Maybe<Scalars['Boolean']>;
4349
+ id: Scalars['ID'];
4350
+ name: Scalars['String'];
4351
+ updatedAt?: Maybe<Scalars['Timestamp']>;
4352
+ };
3940
4353
  export declare type TimelineInput = {
3941
4354
  /** The message you want to add */
3942
4355
  message: Scalars['String'];
@@ -4017,6 +4430,7 @@ export declare type TransactionPaymentMethodDetail = {
4017
4430
  cardType?: Maybe<TransactionCardTypeEnum>;
4018
4431
  installment?: Maybe<TransactionInstallmentPrice>;
4019
4432
  lastFourDigits: Scalars['String'];
4433
+ paymentMethodName?: Maybe<Scalars['String']>;
4020
4434
  threeDSecure?: Maybe<Scalars['Boolean']>;
4021
4435
  };
4022
4436
  export declare enum TransactionStatusEnum {