@ikas/api-client 1.0.19 → 1.0.20-alpha.1

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']>;
@@ -1009,6 +1290,8 @@ export declare type Invoice = {
1009
1290
  createdAt?: Maybe<Scalars['Timestamp']>;
1010
1291
  /** It is the id of the order invoice. */
1011
1292
  id: Scalars['String'];
1293
+ /** It is data of the invoice. */
1294
+ invoiceData?: Maybe<Scalars['JSON']>;
1012
1295
  /** It is the id of the order invoice. */
1013
1296
  invoiceNumber: Scalars['String'];
1014
1297
  /** It is the id of the order invoice. */
@@ -1034,6 +1317,7 @@ export declare type LocationTranslations = {
1034
1317
  __typename?: 'LocationTranslations';
1035
1318
  de?: Maybe<Scalars['String']>;
1036
1319
  en: Scalars['String'];
1320
+ fr?: Maybe<Scalars['String']>;
1037
1321
  tr: Scalars['String'];
1038
1322
  };
1039
1323
  export declare type MeResponse = {
@@ -1063,6 +1347,7 @@ export declare type MerchantAddress = {
1063
1347
  addressLine2?: Maybe<Scalars['String']>;
1064
1348
  /** The merchant's city. */
1065
1349
  city?: Maybe<MerchantAddressCity>;
1350
+ company?: Maybe<Scalars['String']>;
1066
1351
  /** The merchant's country. */
1067
1352
  country?: Maybe<MerchantAddressCountry>;
1068
1353
  /** The merchant's district in city. */
@@ -1076,6 +1361,7 @@ export declare type MerchantAddress = {
1076
1361
  /** The merchant's postal code, also known as zip, postcode, etc. */
1077
1362
  postalCode?: Maybe<Scalars['String']>;
1078
1363
  state?: Maybe<MerchantAddressState>;
1364
+ taxNumber?: Maybe<Scalars['String']>;
1079
1365
  /** If merchant is corporate, merchant can use that field to fill their Tax Office name. */
1080
1366
  taxOffice?: Maybe<Scalars['String']>;
1081
1367
  title?: Maybe<Scalars['String']>;
@@ -1095,6 +1381,10 @@ export declare type MerchantAddressCountry = {
1095
1381
  /** The ISO3 country code corresponding to the merchant's country. */
1096
1382
  code?: Maybe<Scalars['String']>;
1097
1383
  id?: Maybe<Scalars['String']>;
1384
+ /** Two-letter country code */
1385
+ iso2?: Maybe<Scalars['String']>;
1386
+ /** Three-letter country code */
1387
+ iso3?: Maybe<Scalars['String']>;
1098
1388
  /** The merchant's normalized country name. */
1099
1389
  name?: Maybe<Scalars['String']>;
1100
1390
  };
@@ -1286,6 +1576,7 @@ export declare type Mutation = {
1286
1576
  approvePendingOrderTransactions: Scalars['Boolean'];
1287
1577
  /** Response indicating the status of operation. */
1288
1578
  bulkUpdateProducts: Scalars['String'];
1579
+ campaignAddCoupons: Array<Coupon>;
1289
1580
  /** Use this mutation to cancel the already created package for an order. */
1290
1581
  cancelFulfillment: Order;
1291
1582
  /** Use this mutation to cancel given order lines. */
@@ -1296,6 +1587,7 @@ export declare type Mutation = {
1296
1587
  createMerchantAppPaymentWithSubscription?: Maybe<MerchantAppPayment>;
1297
1588
  /** Use this mutation if you want to create a new order with transactions. */
1298
1589
  createOrderWithTransactions: Order;
1590
+ deleteCampaignList: Scalars['Boolean'];
1299
1591
  /** Using this api, you can delete the categories of products. */
1300
1592
  deleteCategoryList: Scalars['Boolean'];
1301
1593
  deleteOrderTagList: Scalars['Boolean'];
@@ -1325,6 +1617,7 @@ export declare type Mutation = {
1325
1617
  /** Use this mutation to refund given order lines. */
1326
1618
  refundOrderLine: Order;
1327
1619
  removeOrderTag: Scalars['Boolean'];
1620
+ saveCampaign: Campaign;
1328
1621
  /** Using this api, you can update the categories of products. */
1329
1622
  saveCategory: Category;
1330
1623
  saveOrderTag: OrderTag;
@@ -1360,6 +1653,7 @@ export declare type Mutation = {
1360
1653
  updateOrderPackageStatus: Order;
1361
1654
  /** Response indicating the status of operation. */
1362
1655
  updateProductSalesChannelStatus: Scalars['Boolean'];
1656
+ variantAttributeImport: CSVImportResponse;
1363
1657
  };
1364
1658
  export declare type MutationaddCustomTimelineEntryArgs = {
1365
1659
  input: TimelineInput;
@@ -1376,6 +1670,9 @@ export declare type MutationapprovePendingOrderTransactionsArgs = {
1376
1670
  export declare type MutationbulkUpdateProductsArgs = {
1377
1671
  input: Array<BulkUpdateProductsInput>;
1378
1672
  };
1673
+ export declare type MutationcampaignAddCouponsArgs = {
1674
+ input: AddCouponsInput;
1675
+ };
1379
1676
  export declare type MutationcancelFulfillmentArgs = {
1380
1677
  input: CancelFulfillmentInput;
1381
1678
  };
@@ -1391,6 +1688,9 @@ export declare type MutationcreateMerchantAppPaymentWithSubscriptionArgs = {
1391
1688
  export declare type MutationcreateOrderWithTransactionsArgs = {
1392
1689
  input: CreateOrderWithTransactionsInput;
1393
1690
  };
1691
+ export declare type MutationdeleteCampaignListArgs = {
1692
+ idList: Array<Scalars['String']>;
1693
+ };
1394
1694
  export declare type MutationdeleteCategoryListArgs = {
1395
1695
  idList: Array<Scalars['String']>;
1396
1696
  };
@@ -1439,6 +1739,9 @@ export declare type MutationrefundOrderLineArgs = {
1439
1739
  export declare type MutationremoveOrderTagArgs = {
1440
1740
  input: UpdateOrderTagInput;
1441
1741
  };
1742
+ export declare type MutationsaveCampaignArgs = {
1743
+ input: CampaignInput;
1744
+ };
1442
1745
  export declare type MutationsaveCategoryArgs = {
1443
1746
  input: CategoryInput;
1444
1747
  };
@@ -1494,6 +1797,16 @@ export declare type MutationupdateProductSalesChannelStatusArgs = {
1494
1797
  input: Array<UpdateProductSalesChannelStatusInput>;
1495
1798
  salesChannelId?: InputMaybe<Scalars['String']>;
1496
1799
  };
1800
+ export declare type MutationvariantAttributeImportArgs = {
1801
+ file: Scalars['String'];
1802
+ };
1803
+ export declare type NewCouponInput = {
1804
+ canCombineWithOtherCampaigns: Scalars['Boolean'];
1805
+ code: Scalars['String'];
1806
+ id?: InputMaybe<Scalars['ID']>;
1807
+ usageLimit?: InputMaybe<Scalars['Int']>;
1808
+ usageLimitPerCustomer?: InputMaybe<Scalars['Int']>;
1809
+ };
1497
1810
  export declare type Order = {
1498
1811
  __typename?: 'Order';
1499
1812
  abandonedCartFlows?: Maybe<Array<AbandonedCartFlow>>;
@@ -1642,6 +1955,8 @@ export declare type OrderAddress = {
1642
1955
  phone?: Maybe<Scalars['String']>;
1643
1956
  /** The postal code of the address. */
1644
1957
  postalCode?: Maybe<Scalars['String']>;
1958
+ /** The region information of the address. */
1959
+ region?: Maybe<ShippingZoneRegion>;
1645
1960
  /** The state information of the address. */
1646
1961
  state?: Maybe<OrderAddressState>;
1647
1962
  /** The tax number of the person associated with the address. */
@@ -1724,6 +2039,8 @@ export declare type OrderAddressInput = {
1724
2039
  phone?: InputMaybe<Scalars['String']>;
1725
2040
  /** The postal code of the address. */
1726
2041
  postalCode?: InputMaybe<Scalars['String']>;
2042
+ /** The name of the region of the address. */
2043
+ region?: InputMaybe<ShippingZoneRegionInput>;
1727
2044
  /** The name of the state of the address. */
1728
2045
  state?: InputMaybe<OrderAddressStateInput>;
1729
2046
  /** The tax number of the person associated with the address. */
@@ -2450,7 +2767,7 @@ export declare type OrderStorefrontRouting = {
2450
2767
  };
2451
2768
  export declare type OrderStorefrontRoutingDynamicCurrencySettings = {
2452
2769
  __typename?: 'OrderStorefrontRoutingDynamicCurrencySettings';
2453
- /** One of '.x0' | '.x9' | '.00' | '.90' | '.99' */
2770
+ /** One of '.x0' | '.x9' | '.00' | '.90' | '.99' | '0.00' */
2454
2771
  roundingFormat?: Maybe<Scalars['String']>;
2455
2772
  targetCurrencyCode: Scalars['String'];
2456
2773
  };
@@ -2513,14 +2830,18 @@ export declare type PaginationInput = {
2513
2830
  };
2514
2831
  export declare enum PaymentMethodTypeEnum {
2515
2832
  APP_PAYMENT = "APP_PAYMENT",
2833
+ BANK_REDIRECT = "BANK_REDIRECT",
2516
2834
  BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
2517
2835
  CASH = "CASH",
2518
2836
  CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
2519
2837
  CREDIT_CARD = "CREDIT_CARD",
2520
2838
  CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
2839
+ DIRECT_DEBIT = "DIRECT_DEBIT",
2521
2840
  GIFT_CARD = "GIFT_CARD",
2522
2841
  MONEY_ORDER = "MONEY_ORDER",
2523
2842
  OTHER = "OTHER",
2843
+ PAY_LATER = "PAY_LATER",
2844
+ SLICE_IT = "SLICE_IT",
2524
2845
  WALLET = "WALLET"
2525
2846
  }
2526
2847
  export declare type PriceList = {
@@ -2557,6 +2878,8 @@ export declare type Product = {
2557
2878
  googleTaxonomyId?: Maybe<Scalars['String']>;
2558
2879
  /** This is the variant type id that can be used to group variants by a specific variant type id. */
2559
2880
  groupVariantsByVariantTypeId?: Maybe<Scalars['String']>;
2881
+ /** List of hidden sales channel ids of the product. */
2882
+ hiddenSalesChannelIds?: Maybe<Array<Scalars['String']>>;
2560
2883
  id: Scalars['ID'];
2561
2884
  /** Max purchasable quantity of the product for per cart. */
2562
2885
  maxQuantityPerCart?: Maybe<Scalars['Float']>;
@@ -3218,6 +3541,8 @@ export declare type Query = {
3218
3541
  /** Using this api, you can view your sales channel. */
3219
3542
  getSalesChannel?: Maybe<SalesChannel>;
3220
3543
  getVideoUploadUrl: GetVideoUploadURLResponse;
3544
+ listBranch: Array<Branch>;
3545
+ listCampaign: CampaignPaginationResponse;
3221
3546
  /**
3222
3547
  * Using this api, you can view the categories of products.
3223
3548
  * Search applies to following fields: `name`
@@ -3258,6 +3583,7 @@ export declare type Query = {
3258
3583
  listStorefront: Array<Storefront>;
3259
3584
  /** Use this query to list storefront javascript scripts by supplying the `storefrontId` input. */
3260
3585
  listStorefrontJSScript: Array<StorefrontJSScript>;
3586
+ listTerminal: Array<Terminal>;
3261
3587
  listTown: Array<Town>;
3262
3588
  /** Using this api, you can view the variant types of products. */
3263
3589
  listVariantType: Array<VariantType>;
@@ -3269,6 +3595,7 @@ export declare type Query = {
3269
3595
  productAttributeExport: Scalars['String'];
3270
3596
  /** Result(s) containing searched products. */
3271
3597
  searchProducts: ProductSearchResponse;
3598
+ variantAttributeExport: Scalars['String'];
3272
3599
  };
3273
3600
  export declare type QuerygetImageUploadUrlArgs = {
3274
3601
  imageDir?: InputMaybe<Scalars['String']>;
@@ -3280,6 +3607,20 @@ export declare type QuerygetImportJobDataArgs = {
3280
3607
  export declare type QuerygetVideoUploadUrlArgs = {
3281
3608
  videoId: Scalars['String'];
3282
3609
  };
3610
+ export declare type QuerylistBranchArgs = {
3611
+ id?: InputMaybe<StringFilterInput>;
3612
+ includeDeleted?: InputMaybe<Scalars['Boolean']>;
3613
+ name?: InputMaybe<StringFilterInput>;
3614
+ salesChannelId?: InputMaybe<StringFilterInput>;
3615
+ updatedAt?: InputMaybe<DateFilterInput>;
3616
+ };
3617
+ export declare type QuerylistCampaignArgs = {
3618
+ id?: InputMaybe<StringFilterInput>;
3619
+ includeDeleted?: InputMaybe<Scalars['Boolean']>;
3620
+ pagination?: InputMaybe<PaginationInput>;
3621
+ search?: InputMaybe<Scalars['String']>;
3622
+ updatedAt?: InputMaybe<DateFilterInput>;
3623
+ };
3283
3624
  export declare type QuerylistCategoryArgs = {
3284
3625
  categoryPath?: InputMaybe<CategoryPathFilterInput>;
3285
3626
  id?: InputMaybe<StringFilterInput>;
@@ -3422,6 +3763,12 @@ export declare type QuerylistStorefrontArgs = {
3422
3763
  export declare type QuerylistStorefrontJSScriptArgs = {
3423
3764
  storefrontId?: InputMaybe<Scalars['String']>;
3424
3765
  };
3766
+ export declare type QuerylistTerminalArgs = {
3767
+ branchId?: InputMaybe<StringFilterInput>;
3768
+ id?: InputMaybe<StringFilterInput>;
3769
+ includeDeleted?: InputMaybe<Scalars['Boolean']>;
3770
+ updatedAt?: InputMaybe<DateFilterInput>;
3771
+ };
3425
3772
  export declare type QuerylistTownArgs = {
3426
3773
  districtId: StringFilterInput;
3427
3774
  id?: InputMaybe<StringFilterInput>;
@@ -3446,6 +3793,9 @@ export declare type QueryproductAttributeExportArgs = {
3446
3793
  export declare type QuerysearchProductsArgs = {
3447
3794
  input: SearchInput;
3448
3795
  };
3796
+ export declare type QueryvariantAttributeExportArgs = {
3797
+ csvFilterInput?: InputMaybe<CSVExportFilterInput>;
3798
+ };
3449
3799
  export declare enum SFAnalyticsTrafficSourceEnum {
3450
3800
  ADS_OTHER = "ADS_OTHER",
3451
3801
  AFFILIATE = "AFFILIATE",
@@ -3584,6 +3934,7 @@ export declare type SearchProduct = {
3584
3934
  reviewCount?: Maybe<Scalars['Float']>;
3585
3935
  salesChannelIds?: Maybe<Array<Scalars['String']>>;
3586
3936
  shortDescription?: Maybe<Scalars['String']>;
3937
+ stars?: Maybe<Array<SearchProductCustomerReviewStar>>;
3587
3938
  tags?: Maybe<Array<SearchProductTag>>;
3588
3939
  translations?: Maybe<Array<ProductTranslation>>;
3589
3940
  type: Scalars['String'];
@@ -3627,6 +3978,11 @@ export declare type SearchProductBrand = {
3627
3978
  slug?: Maybe<Scalars['String']>;
3628
3979
  translations?: Maybe<Array<ProductBrandTranslation>>;
3629
3980
  };
3981
+ export declare type SearchProductCustomerReviewStar = {
3982
+ __typename?: 'SearchProductCustomerReviewStar';
3983
+ count: Scalars['Float'];
3984
+ star: Scalars['Float'];
3985
+ };
3630
3986
  export declare type SearchProductImage = {
3631
3987
  __typename?: 'SearchProductImage';
3632
3988
  id: Scalars['String'];
@@ -3710,6 +4066,21 @@ export declare type SearchVariationValueRelation = {
3710
4066
  variantTypeId: Scalars['String'];
3711
4067
  variantValueId: Scalars['String'];
3712
4068
  };
4069
+ export declare type ShippingZoneRegion = {
4070
+ __typename?: 'ShippingZoneRegion';
4071
+ createdAt?: Maybe<Scalars['Timestamp']>;
4072
+ deleted?: Maybe<Scalars['Boolean']>;
4073
+ id: Scalars['ID'];
4074
+ name: Scalars['String'];
4075
+ updatedAt?: Maybe<Scalars['Timestamp']>;
4076
+ };
4077
+ export declare type ShippingZoneRegionInput = {
4078
+ createdAt?: InputMaybe<Scalars['Timestamp']>;
4079
+ deleted?: InputMaybe<Scalars['Boolean']>;
4080
+ id?: InputMaybe<Scalars['ID']>;
4081
+ name: Scalars['String'];
4082
+ updatedAt?: InputMaybe<Scalars['Timestamp']>;
4083
+ };
3713
4084
  export declare type SimpleCategory = {
3714
4085
  __typename?: 'SimpleCategory';
3715
4086
  createdAt?: Maybe<Scalars['Timestamp']>;
@@ -3937,6 +4308,15 @@ export declare enum SubscriptionPriceCurrencyEnum {
3937
4308
  TRY = "TRY",
3938
4309
  USD = "USD"
3939
4310
  }
4311
+ export declare type Terminal = {
4312
+ __typename?: 'Terminal';
4313
+ branchId: Scalars['String'];
4314
+ createdAt?: Maybe<Scalars['Timestamp']>;
4315
+ deleted?: Maybe<Scalars['Boolean']>;
4316
+ id: Scalars['ID'];
4317
+ name: Scalars['String'];
4318
+ updatedAt?: Maybe<Scalars['Timestamp']>;
4319
+ };
3940
4320
  export declare type TimelineInput = {
3941
4321
  /** The message you want to add */
3942
4322
  message: Scalars['String'];
@@ -4017,6 +4397,7 @@ export declare type TransactionPaymentMethodDetail = {
4017
4397
  cardType?: Maybe<TransactionCardTypeEnum>;
4018
4398
  installment?: Maybe<TransactionInstallmentPrice>;
4019
4399
  lastFourDigits: Scalars['String'];
4400
+ paymentMethodName?: Maybe<Scalars['String']>;
4020
4401
  threeDSecure?: Maybe<Scalars['Boolean']>;
4021
4402
  };
4022
4403
  export declare enum TransactionStatusEnum {