@ikas/storefront 3.0.0-alpha.47 → 3.0.0-alpha.48

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.
Files changed (108) hide show
  1. package/build/__api/models/BlogContent.d.ts +2 -0
  2. package/build/__api/models/BlogContent.js +1 -1
  3. package/build/__api/models/{MasterpassTokenResponse.d.ts → MasterPassTokenResponse.d.ts} +0 -0
  4. package/build/__api/models/MerchantSettings.d.ts +1 -0
  5. package/build/__api/models/MerchantSettings.js +1 -1
  6. package/build/__api/models/OrderCustomer.d.ts +1 -0
  7. package/build/__api/models/SaveCartInput.d.ts +0 -1
  8. package/build/__api/models/SaveCartInput.js +1 -1
  9. package/build/__api/mutations/addCouponCodeToCheckout.d.ts +1 -1
  10. package/build/__api/mutations/addItemToCart.d.ts +2 -1
  11. package/build/__api/mutations/addItemToCart.js +1 -1
  12. package/build/__api/mutations/createCustomerEmailSubscription.d.ts +1 -1
  13. package/build/__api/mutations/createCustomerReview.d.ts +1 -1
  14. package/build/__api/mutations/createOrderRefundRequest.d.ts +2 -1
  15. package/build/__api/mutations/createOrderRefundRequest.js +1 -1
  16. package/build/__api/mutations/createSaleTransactionWithCart.d.ts +1 -1
  17. package/build/__api/mutations/createSaleTransactionWithCheckout.d.ts +1 -1
  18. package/build/__api/mutations/createStripePaymentIntent.d.ts +1 -1
  19. package/build/__api/mutations/customerLogin.d.ts +1 -1
  20. package/build/__api/mutations/customerRefreshToken.d.ts +1 -1
  21. package/build/__api/mutations/getOrderLineFile.d.ts +1 -1
  22. package/build/__api/mutations/registerCustomer.d.ts +1 -1
  23. package/build/__api/mutations/retrieveInstallmentInfo.d.ts +1 -1
  24. package/build/__api/mutations/saveCart.d.ts +2 -1
  25. package/build/__api/mutations/saveCart.js +1 -1
  26. package/build/__api/mutations/saveCartCouponCode.d.ts +2 -1
  27. package/build/__api/mutations/saveCartCouponCode.js +1 -1
  28. package/build/__api/mutations/saveCheckout.d.ts +1 -1
  29. package/build/__api/mutations/saveItemToCart.d.ts +1 -1
  30. package/build/__api/mutations/saveLastViewedProducts.d.ts +1 -1
  31. package/build/__api/mutations/saveMyCustomer.d.ts +1 -1
  32. package/build/__api/mutations/saveProductBackInStockRemind.d.ts +1 -1
  33. package/build/__api/mutations/saveRaffleParticipant.d.ts +1 -1
  34. package/build/__api/mutations/updateCartCampaignOffer.d.ts +2 -1
  35. package/build/__api/mutations/updateCartCampaignOffer.js +1 -1
  36. package/build/__api/mutations/updateRaffleParticipant.d.ts +1 -1
  37. package/build/__api/queries/checkCustomerEmail.d.ts +1 -1
  38. package/build/__api/queries/checkStocks.d.ts +1 -1
  39. package/build/__api/queries/customerSocialLogin.d.ts +1 -1
  40. package/build/__api/queries/getAvailableShippingCountries.d.ts +1 -1
  41. package/build/__api/queries/getAvailableStockLocations.d.ts +1 -1
  42. package/build/__api/queries/getCart.d.ts +1 -1
  43. package/build/__api/queries/getCartById.d.ts +2 -1
  44. package/build/__api/queries/getCartById.js +1 -1
  45. package/build/__api/queries/getCheckoutByCartId.d.ts +1 -1
  46. package/build/__api/queries/getCheckoutById.d.ts +1 -1
  47. package/build/__api/queries/getCurrencyRate.d.ts +1 -1
  48. package/build/__api/queries/getCustomerOrders.d.ts +2 -1
  49. package/build/__api/queries/getCustomerOrders.js +1 -1
  50. package/build/__api/queries/getLastViewedProducts.d.ts +1 -1
  51. package/build/__api/queries/getMasterpassRequestToken.d.ts +1 -1
  52. package/build/__api/queries/getMyCountry.d.ts +1 -1
  53. package/build/__api/queries/getMyCustomer.d.ts +1 -1
  54. package/build/__api/queries/getOrder.d.ts +2 -1
  55. package/build/__api/queries/getOrderByEmail.d.ts +2 -1
  56. package/build/__api/queries/getOrderByEmail.js +1 -1
  57. package/build/__api/queries/getProductCampaigns.d.ts +1 -1
  58. package/build/__api/queries/getProductFilterData.d.ts +1 -1
  59. package/build/__api/queries/getProductOptionFileUrl.d.ts +1 -1
  60. package/build/__api/queries/getRaffleParticipants.d.ts +1 -1
  61. package/build/__api/queries/getRafflesByCustomerId.d.ts +1 -1
  62. package/build/__api/queries/getStorefront.d.ts +1 -1
  63. package/build/__api/queries/getVariantStockLocations.d.ts +1 -1
  64. package/build/__api/queries/listBlog.d.ts +3 -1
  65. package/build/__api/queries/listBlog.js +1 -1
  66. package/build/__api/queries/listBlogCategory.d.ts +1 -1
  67. package/build/__api/queries/listBlogMetadata.d.ts +1 -1
  68. package/build/__api/queries/listCampaignOffer.d.ts +1 -1
  69. package/build/__api/queries/listCategory.d.ts +1 -1
  70. package/build/__api/queries/listCheckoutSettings.d.ts +1 -1
  71. package/build/__api/queries/listCity.d.ts +1 -1
  72. package/build/__api/queries/listCountry.d.ts +1 -1
  73. package/build/__api/queries/listCustomerAttribute.d.ts +1 -1
  74. package/build/__api/queries/listCustomerReviewSummary.d.ts +1 -1
  75. package/build/__api/queries/listCustomerReviews.d.ts +1 -1
  76. package/build/__api/queries/listDistrict.d.ts +1 -1
  77. package/build/__api/queries/listFavoriteProducts.d.ts +1 -1
  78. package/build/__api/queries/listHTMLMetaData.d.ts +1 -1
  79. package/build/__api/queries/listMerchantSettings.d.ts +2 -1
  80. package/build/__api/queries/listMerchantSettings.js +1 -1
  81. package/build/__api/queries/listOrderRefundSettings.d.ts +1 -1
  82. package/build/__api/queries/listOrderTransactions.d.ts +1 -1
  83. package/build/__api/queries/listPaymentGateway.d.ts +1 -1
  84. package/build/__api/queries/listProduct.d.ts +1 -1
  85. package/build/__api/queries/listProductAttribute.d.ts +1 -1
  86. package/build/__api/queries/listProductBackInStockRemind.d.ts +1 -1
  87. package/build/__api/queries/listProductBrand.d.ts +1 -1
  88. package/build/__api/queries/listProductOptionSet.d.ts +1 -1
  89. package/build/__api/queries/listProductStockLocation.d.ts +1 -1
  90. package/build/__api/queries/listRaffle.d.ts +1 -1
  91. package/build/__api/queries/listRaffleMetadata.d.ts +1 -1
  92. package/build/__api/queries/listState.d.ts +1 -1
  93. package/build/__api/queries/listStockLocation.d.ts +1 -1
  94. package/build/__api/queries/listTown.d.ts +1 -1
  95. package/build/__api/queries/listVariantType.d.ts +1 -1
  96. package/build/__api/queries/searchProducts.d.ts +1 -1
  97. package/build/__api/types/index.d.ts +1610 -1607
  98. package/build/__api/types/index.js +1 -1
  99. package/build/_virtual/index.js_commonjs-proxy3.js +1 -1
  100. package/build/_virtual/index.js_commonjs-proxy4.js +1 -1
  101. package/build/components/checkout/model.js +1 -1
  102. package/build/ikas.cjs +1 -1
  103. package/build/models/ui/product-list/index.d.ts +1 -1
  104. package/build/store/checkout/index.d.ts +1 -1
  105. package/build/store/customer/api.d.ts +5 -5
  106. package/build/store/location/index.d.ts +1 -1
  107. package/build/store/product/index.d.ts +1 -1
  108. package/package.json +1 -1
@@ -1,184 +1,3 @@
1
- export declare enum BlogMetadataTargetTypeEnum {
2
- BLOG = "BLOG",
3
- BLOG_CATEGORY = "BLOG_CATEGORY"
4
- }
5
- export declare enum CustomerSocialLoginProviderEnum {
6
- facebook = "facebook",
7
- google = "google"
8
- }
9
- export declare enum StorefrontStatusTypes {
10
- FAILED = "FAILED",
11
- NOT_DEPLOYED = "NOT_DEPLOYED",
12
- READY = "READY",
13
- WAITING = "WAITING"
14
- }
15
- export declare enum StorefrontThemeStatus {
16
- FAILED = "FAILED",
17
- NOT_DEPLOYED = "NOT_DEPLOYED",
18
- READY = "READY",
19
- WAITING = "WAITING"
20
- }
21
- export declare enum CategoryConditionTypeEnum {
22
- CREATED_AT = "CREATED_AT",
23
- DISCOUNTED_PRODUCTS = "DISCOUNTED_PRODUCTS",
24
- PRODUCT_BRAND = "PRODUCT_BRAND",
25
- PRODUCT_TAG = "PRODUCT_TAG",
26
- VARIANT_VALUE = "VARIANT_VALUE"
27
- }
28
- export declare enum CategoryProductsOrderTypeEnum {
29
- BEST_SELLER = "BEST_SELLER",
30
- HIGHEST_DISCOUNT_RATIO = "HIGHEST_DISCOUNT_RATIO",
31
- HIGHEST_PRICE = "HIGHEST_PRICE",
32
- LOWEST_DISCOUNT_RATIO = "LOWEST_DISCOUNT_RATIO",
33
- LOWEST_PRICE = "LOWEST_PRICE",
34
- MANUALLY = "MANUALLY",
35
- NEWEST = "NEWEST",
36
- OLDEST = "OLDEST"
37
- }
38
- export declare enum HTMLMetaDataTargetTypeEnum {
39
- BRAND = "BRAND",
40
- CATEGORY = "CATEGORY",
41
- PAGE = "PAGE",
42
- PRODUCT = "PRODUCT"
43
- }
44
- export declare enum ProductAttributeTypeEnum {
45
- BOOLEAN = "BOOLEAN",
46
- CHOICE = "CHOICE",
47
- DATETIME = "DATETIME",
48
- HTML = "HTML",
49
- IMAGE = "IMAGE",
50
- MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
51
- NUMERIC = "NUMERIC",
52
- PRODUCT = "PRODUCT",
53
- TABLE = "TABLE",
54
- TEXT = "TEXT"
55
- }
56
- export declare enum ProductFilterDisplayTypeEnum {
57
- BOX = "BOX",
58
- DATE_RANGE = "DATE_RANGE",
59
- LIST = "LIST",
60
- NUMBER_RANGE = "NUMBER_RANGE",
61
- NUMBER_RANGE_LIST = "NUMBER_RANGE_LIST",
62
- SWATCH = "SWATCH"
63
- }
64
- export declare enum ProductFilterSortTypeEnum {
65
- ALPHABETICAL_ASC = "ALPHABETICAL_ASC",
66
- ALPHABETICAL_DESC = "ALPHABETICAL_DESC",
67
- CUSTOM_SORT = "CUSTOM_SORT",
68
- PRODUCT_COUNT_ASC = "PRODUCT_COUNT_ASC",
69
- PRODUCT_COUNT_DESC = "PRODUCT_COUNT_DESC"
70
- }
71
- export declare enum ProductFilterTypeEnum {
72
- ATTRIBUTE = "ATTRIBUTE",
73
- AVAILABLE_VARIANT_VALUE = "AVAILABLE_VARIANT_VALUE",
74
- BRAND = "BRAND",
75
- DISCOUNT_RATIO = "DISCOUNT_RATIO",
76
- PRICE = "PRICE",
77
- STOCK_STATUS = "STOCK_STATUS",
78
- TAG = "TAG",
79
- VARIANT_TYPE = "VARIANT_TYPE"
80
- }
81
- export declare enum ProductOptionSelectTypeEnum {
82
- BOX = "BOX",
83
- SELECT = "SELECT",
84
- SWATCH = "SWATCH"
85
- }
86
- export declare enum ProductOptionTypeEnum {
87
- CHECKBOX = "CHECKBOX",
88
- CHOICE = "CHOICE",
89
- COLOR_PICKER = "COLOR_PICKER",
90
- DATE_PICKER = "DATE_PICKER",
91
- FILE = "FILE",
92
- IMAGE = "IMAGE",
93
- TEXT = "TEXT",
94
- TEXT_AREA = "TEXT_AREA"
95
- }
96
- export declare enum ProductSearchShowStockOptionEnum {
97
- HIDE_OUT_OF_STOCK = "HIDE_OUT_OF_STOCK",
98
- SHOW_ALL = "SHOW_ALL",
99
- SHOW_OUT_OF_STOCK_AT_END = "SHOW_OUT_OF_STOCK_AT_END"
100
- }
101
- export declare enum ProductTypeEnum {
102
- DIGITAL = "DIGITAL",
103
- MEMBERSHIP = "MEMBERSHIP",
104
- PHYSICAL = "PHYSICAL"
105
- }
106
- export declare enum SortByDirectionEnum {
107
- ASC = "ASC",
108
- DESC = "DESC"
109
- }
110
- export declare enum SortByTypeEnum {
111
- CREATED_AT = "CREATED_AT",
112
- DISCOUNT_RATIO = "DISCOUNT_RATIO",
113
- MANUAL_SORT = "MANUAL_SORT",
114
- NAME = "NAME",
115
- PRICE = "PRICE"
116
- }
117
- export declare enum VariantSelectionTypeEnum {
118
- CHOICE = "CHOICE",
119
- COLOR = "COLOR"
120
- }
121
- export declare enum MasterPassOperationTypeEnum {
122
- CHECK_MASTER_PASS_USER = "CHECK_MASTER_PASS_USER",
123
- DELETE_CARD = "DELETE_CARD",
124
- DIRECT_PURCHASE = "DIRECT_PURCHASE",
125
- FORGOT_PASSWORD = "FORGOT_PASSWORD",
126
- LIST_CARDS = "LIST_CARDS",
127
- PURCHASE = "PURCHASE",
128
- REGISTER_CARD = "REGISTER_CARD"
129
- }
130
- export declare enum PaymentGatewayAdditionalPriceTypeEnum {
131
- DECREMENT = "DECREMENT",
132
- INCREMENT = "INCREMENT"
133
- }
134
- export declare enum PaymentGatewaySettingsTypeEnum {
135
- NUMBER = "NUMBER",
136
- PASSWORD = "PASSWORD",
137
- TEXT = "TEXT"
138
- }
139
- export declare enum PaymentGatewayTransactionFeeTypeEnum {
140
- AMOUNT = "AMOUNT",
141
- RATIO = "RATIO"
142
- }
143
- export declare enum PaymentGatewayTypeEnum {
144
- EXTERNAL = "EXTERNAL",
145
- INTERNAL = "INTERNAL",
146
- THIRD_PARTY = "THIRD_PARTY"
147
- }
148
- export declare enum PaymentMethodEnum {
149
- APP_PAYMENT = "APP_PAYMENT",
150
- BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
151
- CASH = "CASH",
152
- CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
153
- CREDIT_CARD = "CREDIT_CARD",
154
- CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
155
- GIFT_CARD = "GIFT_CARD",
156
- MONEY_ORDER = "MONEY_ORDER",
157
- OTHER = "OTHER",
158
- WALLET = "WALLET"
159
- }
160
- export declare enum TransactionCardAssociationEnum {
161
- AMERICAN_EXPRESS = "AMERICAN_EXPRESS",
162
- MASTER_CARD = "MASTER_CARD",
163
- TROY = "TROY",
164
- VISA = "VISA"
165
- }
166
- export declare enum TransactionCardTypeEnum {
167
- CREDIT = "CREDIT",
168
- DEBIT = "DEBIT",
169
- PREPAID = "PREPAID"
170
- }
171
- export declare enum TransactionStatusEnum {
172
- AUTHORIZED = "AUTHORIZED",
173
- FAILED = "FAILED",
174
- PENDING = "PENDING",
175
- SUCCESS = "SUCCESS"
176
- }
177
- export declare enum TransactionTypeEnum {
178
- REFUND = "REFUND",
179
- SALE = "SALE",
180
- VOID = "VOID"
181
- }
182
1
  export declare enum AdjustmentEnum {
183
2
  DECREMENT = "DECREMENT",
184
3
  INCREMENT = "INCREMENT"
@@ -187,6 +6,10 @@ export declare enum AmountTypeEnum {
187
6
  AMOUNT = "AMOUNT",
188
7
  RATIO = "RATIO"
189
8
  }
9
+ export declare enum BlogMetadataTargetTypeEnum {
10
+ BLOG = "BLOG",
11
+ BLOG_CATEGORY = "BLOG_CATEGORY"
12
+ }
190
13
  export declare enum CampaignApplicablePriceEnum {
191
14
  DISCOUNT_PRICE = "DISCOUNT_PRICE",
192
15
  SELL_PRICE = "SELL_PRICE"
@@ -260,6 +83,23 @@ export declare enum CartV2StatusEnum {
260
83
  KILLED = "KILLED",
261
84
  OPEN = "OPEN"
262
85
  }
86
+ export declare enum CategoryConditionTypeEnum {
87
+ CREATED_AT = "CREATED_AT",
88
+ DISCOUNTED_PRODUCTS = "DISCOUNTED_PRODUCTS",
89
+ PRODUCT_BRAND = "PRODUCT_BRAND",
90
+ PRODUCT_TAG = "PRODUCT_TAG",
91
+ VARIANT_VALUE = "VARIANT_VALUE"
92
+ }
93
+ export declare enum CategoryProductsOrderTypeEnum {
94
+ BEST_SELLER = "BEST_SELLER",
95
+ HIGHEST_DISCOUNT_RATIO = "HIGHEST_DISCOUNT_RATIO",
96
+ HIGHEST_PRICE = "HIGHEST_PRICE",
97
+ LOWEST_DISCOUNT_RATIO = "LOWEST_DISCOUNT_RATIO",
98
+ LOWEST_PRICE = "LOWEST_PRICE",
99
+ MANUALLY = "MANUALLY",
100
+ NEWEST = "NEWEST",
101
+ OLDEST = "OLDEST"
102
+ }
263
103
  export declare enum CheckoutRecoveryEmailStatusEnum {
264
104
  NOT_SENT = "NOT_SENT",
265
105
  SENT = "SENT"
@@ -279,22 +119,73 @@ export declare enum CheckoutStatusEnum {
279
119
  KILLED = "KILLED",
280
120
  OPEN = "OPEN"
281
121
  }
122
+ export declare enum CurrencyFormatSymbolPosition {
123
+ LEFT = "LEFT",
124
+ RIGHT = "RIGHT"
125
+ }
282
126
  export declare enum CustomerAccountStatusEnum {
283
127
  ACTIVE_ACCOUNT = "ACTIVE_ACCOUNT",
284
128
  DECLINED_ACCOUNT_INVITATION = "DECLINED_ACCOUNT_INVITATION",
285
129
  DISABLED_ACCOUNT = "DISABLED_ACCOUNT",
286
130
  INVITED_TO_CREATE_ACCOUNT = "INVITED_TO_CREATE_ACCOUNT"
287
131
  }
132
+ export declare enum CustomerAttributePermissionEnum {
133
+ INVISIBLE = "INVISIBLE",
134
+ READ = "READ",
135
+ WRITE = "WRITE"
136
+ }
137
+ export declare enum CustomerAttributeRegisterPageRequirementEnum {
138
+ INVISIBLE = "INVISIBLE",
139
+ MANDATORY = "MANDATORY",
140
+ OPTIONAL = "OPTIONAL"
141
+ }
142
+ export declare enum CustomerAttributeTypeEnum {
143
+ BOOLEAN = "BOOLEAN",
144
+ CHOICE = "CHOICE",
145
+ DATETIME = "DATETIME",
146
+ MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
147
+ NUMERIC = "NUMERIC",
148
+ TEXT = "TEXT"
149
+ }
288
150
  export declare enum CustomerEmailSubscriptionStatusesEnum {
289
151
  NOT_SUBSCRIBED = "NOT_SUBSCRIBED",
290
152
  PENDING_CONFIRMATION = "PENDING_CONFIRMATION",
291
153
  SUBSCRIBED = "SUBSCRIBED"
292
154
  }
155
+ export declare enum CustomerRegistrationSourceEnum {
156
+ credentials = "credentials",
157
+ facebook = "facebook",
158
+ google = "google"
159
+ }
160
+ export declare enum CustomerReviewStatusEnum {
161
+ APPROVED = "APPROVED",
162
+ REJECTED = "REJECTED",
163
+ WAITING = "WAITING"
164
+ }
165
+ export declare enum CustomerSocialLoginProviderEnum {
166
+ facebook = "facebook",
167
+ google = "google"
168
+ }
169
+ export declare enum HTMLMetaDataTargetTypeEnum {
170
+ BRAND = "BRAND",
171
+ CATEGORY = "CATEGORY",
172
+ PAGE = "PAGE",
173
+ PRODUCT = "PRODUCT"
174
+ }
293
175
  export declare enum InvoiceTypeEnum {
294
176
  COMPANY = "COMPANY",
295
177
  INDIVIDUAL = "INDIVIDUAL",
296
178
  OTHER = "OTHER"
297
179
  }
180
+ export declare enum MasterPassOperationTypeEnum {
181
+ CHECK_MASTER_PASS_USER = "CHECK_MASTER_PASS_USER",
182
+ DELETE_CARD = "DELETE_CARD",
183
+ DIRECT_PURCHASE = "DIRECT_PURCHASE",
184
+ FORGOT_PASSWORD = "FORGOT_PASSWORD",
185
+ LIST_CARDS = "LIST_CARDS",
186
+ PURCHASE = "PURCHASE",
187
+ REGISTER_CARD = "REGISTER_CARD"
188
+ }
298
189
  export declare enum OrderLineItemStatusEnum {
299
190
  CANCELLED = "CANCELLED",
300
191
  CANCEL_REJECTED = "CANCEL_REJECTED",
@@ -356,9 +247,39 @@ export declare enum OrderStatusEnum {
356
247
  REFUND_REJECTED = "REFUND_REJECTED",
357
248
  REFUND_REQUESTED = "REFUND_REQUESTED"
358
249
  }
359
- export declare enum PaymentMethodTypeEnum {
360
- APP_PAYMENT = "APP_PAYMENT",
361
- BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
250
+ export declare enum PaymentGatewayAdditionalPriceTypeEnum {
251
+ DECREMENT = "DECREMENT",
252
+ INCREMENT = "INCREMENT"
253
+ }
254
+ export declare enum PaymentGatewaySettingsTypeEnum {
255
+ NUMBER = "NUMBER",
256
+ PASSWORD = "PASSWORD",
257
+ TEXT = "TEXT"
258
+ }
259
+ export declare enum PaymentGatewayTransactionFeeTypeEnum {
260
+ AMOUNT = "AMOUNT",
261
+ RATIO = "RATIO"
262
+ }
263
+ export declare enum PaymentGatewayTypeEnum {
264
+ EXTERNAL = "EXTERNAL",
265
+ INTERNAL = "INTERNAL",
266
+ THIRD_PARTY = "THIRD_PARTY"
267
+ }
268
+ export declare enum PaymentMethodEnum {
269
+ APP_PAYMENT = "APP_PAYMENT",
270
+ BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
271
+ CASH = "CASH",
272
+ CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
273
+ CREDIT_CARD = "CREDIT_CARD",
274
+ CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
275
+ GIFT_CARD = "GIFT_CARD",
276
+ MONEY_ORDER = "MONEY_ORDER",
277
+ OTHER = "OTHER",
278
+ WALLET = "WALLET"
279
+ }
280
+ export declare enum PaymentMethodTypeEnum {
281
+ APP_PAYMENT = "APP_PAYMENT",
282
+ BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
362
283
  CASH = "CASH",
363
284
  CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
364
285
  CREDIT_CARD = "CREDIT_CARD",
@@ -368,6 +289,68 @@ export declare enum PaymentMethodTypeEnum {
368
289
  OTHER = "OTHER",
369
290
  WALLET = "WALLET"
370
291
  }
292
+ export declare enum ProductAttributeTypeEnum {
293
+ BOOLEAN = "BOOLEAN",
294
+ CHOICE = "CHOICE",
295
+ DATETIME = "DATETIME",
296
+ HTML = "HTML",
297
+ IMAGE = "IMAGE",
298
+ MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
299
+ NUMERIC = "NUMERIC",
300
+ PRODUCT = "PRODUCT",
301
+ TABLE = "TABLE",
302
+ TEXT = "TEXT"
303
+ }
304
+ export declare enum ProductFilterDisplayTypeEnum {
305
+ BOX = "BOX",
306
+ DATE_RANGE = "DATE_RANGE",
307
+ LIST = "LIST",
308
+ NUMBER_RANGE = "NUMBER_RANGE",
309
+ NUMBER_RANGE_LIST = "NUMBER_RANGE_LIST",
310
+ SWATCH = "SWATCH"
311
+ }
312
+ export declare enum ProductFilterSortTypeEnum {
313
+ ALPHABETICAL_ASC = "ALPHABETICAL_ASC",
314
+ ALPHABETICAL_DESC = "ALPHABETICAL_DESC",
315
+ CUSTOM_SORT = "CUSTOM_SORT",
316
+ PRODUCT_COUNT_ASC = "PRODUCT_COUNT_ASC",
317
+ PRODUCT_COUNT_DESC = "PRODUCT_COUNT_DESC"
318
+ }
319
+ export declare enum ProductFilterTypeEnum {
320
+ ATTRIBUTE = "ATTRIBUTE",
321
+ AVAILABLE_VARIANT_VALUE = "AVAILABLE_VARIANT_VALUE",
322
+ BRAND = "BRAND",
323
+ DISCOUNT_RATIO = "DISCOUNT_RATIO",
324
+ PRICE = "PRICE",
325
+ STOCK_STATUS = "STOCK_STATUS",
326
+ TAG = "TAG",
327
+ VARIANT_TYPE = "VARIANT_TYPE"
328
+ }
329
+ export declare enum ProductOptionSelectTypeEnum {
330
+ BOX = "BOX",
331
+ SELECT = "SELECT",
332
+ SWATCH = "SWATCH"
333
+ }
334
+ export declare enum ProductOptionTypeEnum {
335
+ CHECKBOX = "CHECKBOX",
336
+ CHOICE = "CHOICE",
337
+ COLOR_PICKER = "COLOR_PICKER",
338
+ DATE_PICKER = "DATE_PICKER",
339
+ FILE = "FILE",
340
+ IMAGE = "IMAGE",
341
+ TEXT = "TEXT",
342
+ TEXT_AREA = "TEXT_AREA"
343
+ }
344
+ export declare enum ProductSearchShowStockOptionEnum {
345
+ HIDE_OUT_OF_STOCK = "HIDE_OUT_OF_STOCK",
346
+ SHOW_ALL = "SHOW_ALL",
347
+ SHOW_OUT_OF_STOCK_AT_END = "SHOW_OUT_OF_STOCK_AT_END"
348
+ }
349
+ export declare enum ProductTypeEnum {
350
+ DIGITAL = "DIGITAL",
351
+ MEMBERSHIP = "MEMBERSHIP",
352
+ PHYSICAL = "PHYSICAL"
353
+ }
371
354
  export declare enum RaffleMetadataTargetTypeEnum {
372
355
  RAFFLE = "RAFFLE"
373
356
  }
@@ -376,13 +359,16 @@ export declare enum ShippingMethodEnum {
376
359
  NO_SHIPMENT = "NO_SHIPMENT",
377
360
  SHIPMENT = "SHIPMENT"
378
361
  }
379
- export declare enum VerificationTypeEnum {
380
- EMAIL = "EMAIL",
381
- MERSIS = "MERSIS"
362
+ export declare enum SortByDirectionEnum {
363
+ ASC = "ASC",
364
+ DESC = "DESC"
382
365
  }
383
- export declare enum CurrencyFormatSymbolPosition {
384
- LEFT = "LEFT",
385
- RIGHT = "RIGHT"
366
+ export declare enum SortByTypeEnum {
367
+ CREATED_AT = "CREATED_AT",
368
+ DISCOUNT_RATIO = "DISCOUNT_RATIO",
369
+ MANUAL_SORT = "MANUAL_SORT",
370
+ NAME = "NAME",
371
+ PRICE = "PRICE"
386
372
  }
387
373
  export declare enum StockLocationDeliveryTimeEnum {
388
374
  TWO_IN_FOUR_DAYS = "TWO_IN_FOUR_DAYS",
@@ -396,33 +382,86 @@ export declare enum StockLocationTypeEnum {
396
382
  PHYSICAL = "PHYSICAL",
397
383
  VIRTUAL = "VIRTUAL"
398
384
  }
399
- export declare enum CustomerAttributePermissionEnum {
400
- INVISIBLE = "INVISIBLE",
401
- READ = "READ",
402
- WRITE = "WRITE"
385
+ export declare enum StorefrontStatusTypes {
386
+ FAILED = "FAILED",
387
+ NOT_DEPLOYED = "NOT_DEPLOYED",
388
+ READY = "READY",
389
+ WAITING = "WAITING"
403
390
  }
404
- export declare enum CustomerAttributeRegisterPageRequirementEnum {
405
- INVISIBLE = "INVISIBLE",
406
- MANDATORY = "MANDATORY",
407
- OPTIONAL = "OPTIONAL"
391
+ export declare enum StorefrontThemeStatus {
392
+ FAILED = "FAILED",
393
+ NOT_DEPLOYED = "NOT_DEPLOYED",
394
+ READY = "READY",
395
+ WAITING = "WAITING"
408
396
  }
409
- export declare enum CustomerAttributeTypeEnum {
410
- BOOLEAN = "BOOLEAN",
397
+ export declare enum TransactionCardAssociationEnum {
398
+ AMERICAN_EXPRESS = "AMERICAN_EXPRESS",
399
+ MASTER_CARD = "MASTER_CARD",
400
+ TROY = "TROY",
401
+ VISA = "VISA"
402
+ }
403
+ export declare enum TransactionCardTypeEnum {
404
+ CREDIT = "CREDIT",
405
+ DEBIT = "DEBIT",
406
+ PREPAID = "PREPAID"
407
+ }
408
+ export declare enum TransactionStatusEnum {
409
+ AUTHORIZED = "AUTHORIZED",
410
+ FAILED = "FAILED",
411
+ PENDING = "PENDING",
412
+ SUCCESS = "SUCCESS"
413
+ }
414
+ export declare enum TransactionTypeEnum {
415
+ REFUND = "REFUND",
416
+ SALE = "SALE",
417
+ VOID = "VOID"
418
+ }
419
+ export declare enum VariantSelectionTypeEnum {
411
420
  CHOICE = "CHOICE",
412
- DATETIME = "DATETIME",
413
- MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
414
- NUMERIC = "NUMERIC",
415
- TEXT = "TEXT"
421
+ COLOR = "COLOR"
416
422
  }
417
- export declare enum CustomerRegistrationSourceEnum {
418
- credentials = "credentials",
419
- facebook = "facebook",
420
- google = "google"
423
+ export declare enum VerificationTypeEnum {
424
+ EMAIL = "EMAIL",
425
+ MERSIS = "MERSIS"
421
426
  }
422
- export declare enum CustomerReviewStatusEnum {
423
- APPROVED = "APPROVED",
424
- REJECTED = "REJECTED",
425
- WAITING = "WAITING"
427
+ export interface AbandonedCartFlow {
428
+ campaignId: string | null;
429
+ canApplicable: boolean;
430
+ couponId: string | null;
431
+ customerFilters: AbandonedCartFlowCustomerFilter | null;
432
+ flowId: string;
433
+ mailSendDate: any | null;
434
+ mailTranslationId: string | null;
435
+ recoverEmailStatus: CheckoutRecoveryEmailStatusEnum;
436
+ sendAfter: number;
437
+ }
438
+ export interface AbandonedCartFlowCustomerFilter {
439
+ sendOnlyActiveAccount: boolean | null;
440
+ sendOnlySubscribedToEmail: boolean | null;
441
+ }
442
+ export interface AdditionalPrice {
443
+ amount: number;
444
+ amountType: PaymentGatewayTransactionFeeTypeEnum;
445
+ name: string;
446
+ type: PaymentGatewayAdditionalPriceTypeEnum;
447
+ }
448
+ export interface ApplicableProductFilterValue {
449
+ colorCode: string | null;
450
+ id: string;
451
+ key: string;
452
+ name: string;
453
+ thumbnailImageId: string | null;
454
+ }
455
+ export interface AppliedProduct {
456
+ productId: string | null;
457
+ variantId: string;
458
+ }
459
+ export interface AvailableShippingMethod {
460
+ price: number;
461
+ rateName: string;
462
+ shippingMethod: ShippingMethodEnum;
463
+ shippingSettingsId: string;
464
+ shippingZoneRateId: string;
426
465
  }
427
466
  export interface Blog {
428
467
  blogContent: BlogContent;
@@ -462,6 +501,8 @@ export interface BlogCategoryPaginationResponse {
462
501
  }
463
502
  export interface BlogContent {
464
503
  content: string;
504
+ contentData: string | null;
505
+ contentSource: string | null;
465
506
  createdAt: any | null;
466
507
  deleted: boolean | null;
467
508
  id: string;
@@ -505,86 +546,197 @@ export interface BlogWriter {
505
546
  firstName: string;
506
547
  lastName: string;
507
548
  }
508
- export interface SocialLoginSettings {
509
- apiKey: string | null;
510
- apiSecret: string | null;
511
- provider: CustomerSocialLoginProviderEnum;
549
+ export interface BuyX {
550
+ amount: number;
551
+ applyByQuantity: boolean;
552
+ filter: CampaignFilter;
512
553
  }
513
- export interface Storefront {
514
- analytics4Id: string | null;
554
+ export interface BuyXThenGetY {
555
+ buyX: BuyX;
556
+ getY: GetY;
557
+ maxUsagePerOrder: number | null;
558
+ }
559
+ export interface Campaign {
560
+ applicableCustomerGroupIds: string[] | null;
561
+ applicableCustomerIds: string[] | null;
562
+ applicablePrice: CampaignApplicablePriceEnum;
563
+ buyXThenGetY: BuyXThenGetY | null;
564
+ canCombineWithOtherCampaigns: boolean;
515
565
  createdAt: any | null;
566
+ createdFor: CampaignCreatedForEnum | null;
567
+ currencyCodes: string[] | null;
568
+ dateRange: CampaignDateRangeField | null;
516
569
  deleted: boolean | null;
517
- domains: StorefrontDomain[] | null;
518
- emailSettingsId: string | null;
519
- fbAccessToken: string | null;
520
- fbpId: string | null;
521
- gtmId: string | null;
570
+ fixedDiscount: FixedDiscount | null;
571
+ hasCoupon: boolean;
522
572
  id: string;
523
- localizations: StorefrontLocalization[];
524
- mainStorefrontThemeId: string | null;
525
- name: string;
526
- pickUpStockLocationIds: string[] | null;
527
- routings: StorefrontRouting[];
528
- salesChannelId: string;
529
- socialLoginSettings: SocialLoginSettings[] | null;
530
- status: StorefrontStatusTypes;
531
- themes: StorefrontTheme[];
532
- tiktokPixelId: string | null;
533
- universalAnalyticsId: string | null;
573
+ includeDiscountedProducts: boolean | null;
574
+ salesChannelIds: string[] | null;
575
+ title: string;
576
+ type: CampaignTypeEnum;
534
577
  updatedAt: any | null;
578
+ usageCount: number;
579
+ usageLimit: number | null;
580
+ usageLimitPerCustomer: number | null;
535
581
  }
536
- export interface StorefrontDomain {
582
+ export interface CampaignDateRangeField {
583
+ end: any | null;
584
+ start: any | null;
585
+ }
586
+ export interface CampaignFilter {
587
+ idList: string[];
588
+ type: CampaignFilterTypeEnum;
589
+ }
590
+ export interface CampaignMinMaxRangeField {
591
+ max: number | null;
592
+ min: number | null;
593
+ }
594
+ export interface CampaignOffer {
595
+ availableSalesChannelIds: string[];
537
596
  createdAt: any | null;
538
597
  deleted: boolean | null;
598
+ endDate: any | null;
599
+ followUpActionType: CampaignOfferFollowUpActionTypeEnum;
539
600
  id: string;
540
- isDefault: boolean | null;
541
- merchantDomainId: string;
601
+ minimumRequiredCartAmount: number | null;
542
602
  name: string;
543
- redirectDomainName: string | null;
603
+ offers: CampaignOfferProduct[];
604
+ startDate: any | null;
605
+ targetPageTypes: CampaignOfferTargetPageTypeEnum[];
606
+ triggerSettings: CampaignOfferTriggerSettings;
607
+ type: CampaignOfferTypeEnum;
544
608
  updatedAt: any | null;
545
609
  }
546
- export interface StorefrontDynamicCurrencySettings {
547
- roundingFormat: string | null;
548
- targetCurrencyCode: string;
610
+ export interface CampaignOfferProduct {
611
+ countdownMinutes: number | null;
612
+ description: string | null;
613
+ discountAmount: number | null;
614
+ discountType: AmountTypeEnum | null;
615
+ excludedVariantIdList: string[] | null;
616
+ id: string;
617
+ order: number;
618
+ productId: string;
619
+ showCriteria: CampaignOfferProductShowCriteriaEnum | null;
620
+ skipOfferIfProductExistsInCart: boolean | null;
621
+ title: string;
622
+ translations: CampaignOfferProductTranslation[] | null;
549
623
  }
550
- export interface StorefrontLocalization {
624
+ export interface CampaignOfferProductTranslation {
625
+ description: string | null;
626
+ locale: string;
627
+ title: string;
628
+ }
629
+ export interface CampaignOfferTriggerSettings {
630
+ filterType: CampaignOfferTriggerFilterTypeEnum;
631
+ valueList: string[];
632
+ }
633
+ export interface Cart {
634
+ campaignOffers: CartCampaignOffer[] | null;
551
635
  createdAt: any | null;
636
+ createdBy: CartCreatedByEnum | null;
637
+ currencyCode: string | null;
638
+ customerId: string | null;
552
639
  deleted: boolean | null;
640
+ dueDate: any;
553
641
  id: string;
554
- isDefault: boolean;
555
- locale: string;
556
- name: string;
642
+ itemCount: number;
643
+ items: OrderLineItem[];
644
+ merchantId: string;
645
+ priceListId: string | null;
646
+ salesChannelId: string;
647
+ status: CartStatusEnum;
648
+ storefrontId: string | null;
649
+ storefrontRouting: CartStorefrontRouting | null;
650
+ storefrontRoutingId: string | null;
651
+ storefrontThemeId: string | null;
652
+ taxLines: OrderTaxLine[] | null;
653
+ totalPrice: number;
557
654
  updatedAt: any | null;
558
655
  }
559
- export interface StorefrontRouting {
560
- countryCodes: string[] | null;
561
- createdAt: any | null;
562
- deleted: boolean | null;
656
+ export interface CartCampaignOffer {
657
+ appliedOrderLineId: string | null;
658
+ campaignOfferId: string;
659
+ campaignOfferProductId: string | null;
660
+ offerEndDate: any | null;
661
+ offerStartDate: any;
662
+ status: CartCampaignOfferStatus;
663
+ targetPageTypes: CampaignOfferTargetPageTypeEnum[];
664
+ triggerSourceOrderLineId: string;
665
+ }
666
+ export interface CartStorefrontRouting {
563
667
  domain: string | null;
564
- dynamicCurrencySettings: StorefrontDynamicCurrencySettings | null;
668
+ dynamicCurrencySettings: CartStorefrontRoutingDynamicCurrencySettings | null;
565
669
  id: string;
566
- locale: string;
670
+ locale: string | null;
567
671
  path: string | null;
568
672
  priceListId: string | null;
569
- updatedAt: any | null;
570
673
  }
571
- export interface StorefrontTheme {
674
+ export interface CartStorefrontRoutingDynamicCurrencySettings {
675
+ roundingFormat: string | null;
676
+ targetCurrencyCode: string;
677
+ }
678
+ export interface CartV2 {
679
+ abandonedCartFlows: AbandonedCartFlow[] | null;
680
+ availableShippingMethods: AvailableShippingMethod[] | null;
681
+ billingAddress: OrderAddress | null;
682
+ campaignOffers: CartV2CampaignOffer[] | null;
683
+ cartId: string | null;
684
+ cartStatus: CartV2StatusEnum | null;
685
+ checkoutId: string | null;
686
+ clientIp: string | null;
687
+ couponCode: string | null;
572
688
  createdAt: any | null;
689
+ createdBy: CartCreatedByEnum | null;
690
+ currencyCode: string;
691
+ currencyRates: OrderCurrencyRate[];
692
+ customer: OrderCustomer | null;
693
+ customerId: string | null;
573
694
  deleted: boolean | null;
695
+ dueDate: any | null;
696
+ giftPackageLines: OrderGiftPackageLine[] | null;
697
+ giftPackageNote: string | null;
698
+ host: string | null;
574
699
  id: string;
575
- isMainTheme: boolean;
576
- name: string;
577
- status: StorefrontThemeStatus;
578
- themeId: string;
579
- themeVersionId: string;
700
+ isGiftPackage: boolean | null;
701
+ itemCount: number | null;
702
+ merchantId: string;
703
+ note: string | null;
704
+ orderAdjustments: OrderAdjustment[] | null;
705
+ orderLineItems: OrderLineItem[];
706
+ orderNumber: string | null;
707
+ orderPackageStatus: OrderPackageStatusEnum | null;
708
+ orderedAt: any | null;
709
+ priceListId: string | null;
710
+ recoverEmailStatus: CheckoutRecoveryEmailStatusEnum | null;
711
+ recoveryStatus: CheckoutRecoveryStatusEnum | null;
712
+ salesChannelId: string;
713
+ shippingAddress: OrderAddress | null;
714
+ shippingLines: OrderShippingLine[] | null;
715
+ shippingMethod: ShippingMethodEnum;
716
+ shippingSettingsId: string | null;
717
+ shippingZoneRateId: string | null;
718
+ status: CartV2StatusEnum;
719
+ stockLocationId: string | null;
720
+ storefrontId: string | null;
721
+ storefrontRouting: OrderStorefrontRouting | null;
722
+ storefrontRoutingId: string | null;
723
+ storefrontThemeId: string | null;
724
+ taxLines: OrderTaxLine[] | null;
725
+ totalFinalPrice: number;
726
+ totalPrice: number;
580
727
  updatedAt: any | null;
728
+ userAgent: string | null;
581
729
  }
582
- export interface ApplicableProductFilterValue {
583
- colorCode: string | null;
584
- id: string;
585
- key: string;
586
- name: string;
587
- thumbnailImageId: string | null;
730
+ export interface CartV2CampaignOffer {
731
+ appliedOrderLineId: string | null;
732
+ campaignOffer: CampaignOffer | null;
733
+ campaignOfferId: string;
734
+ campaignOfferProductId: string | null;
735
+ offerEndDate: any | null;
736
+ offerStartDate: any;
737
+ status: CartCampaignOfferStatus;
738
+ targetPageTypes: CampaignOfferTargetPageTypeEnum[];
739
+ triggerSourceOrderLineId: string;
588
740
  }
589
741
  export interface Category {
590
742
  categoryPath: string[] | null;
@@ -633,517 +785,659 @@ export interface CategoryTranslation {
633
785
  locale: string;
634
786
  name: string | null;
635
787
  }
636
- export interface HTMLMetaData {
637
- canonicals: string[] | null;
788
+ export interface Checkout {
789
+ abandonedCheckoutFlows: AbandonedCartFlow[] | null;
790
+ adjustments: OrderAdjustment[] | null;
791
+ availableShippingMethods: AvailableShippingMethod[] | null;
792
+ billingAddress: OrderAddress | null;
793
+ cart: Cart | null;
794
+ cartId: string;
795
+ couponCode: string | null;
638
796
  createdAt: any | null;
797
+ customer: CheckoutCustomer | null;
639
798
  deleted: boolean | null;
640
- description: string | null;
641
- disableIndex: boolean | null;
799
+ giftPackageLines: OrderGiftPackageLine[] | null;
800
+ giftPackageNote: string | null;
642
801
  id: string;
643
- metadataOverrides: HTMLMetaDataOverride[] | null;
644
- pageTitle: string | null;
645
- redirectTo: string | null;
646
- slug: string;
647
- targetId: string | null;
648
- targetType: HTMLMetaDataTargetTypeEnum | null;
649
- translations: HTMLMetaDataTranslation[] | null;
802
+ isGiftPackage: boolean | null;
803
+ merchantId: string;
804
+ note: string | null;
805
+ orderId: string | null;
806
+ orderNumber: string | null;
807
+ orderedAt: any | null;
808
+ recoverEmailStatus: CheckoutRecoveryEmailStatusEnum | null;
809
+ recoveryStatus: CheckoutRecoveryStatusEnum | null;
810
+ shippingAddress: OrderAddress | null;
811
+ shippingLines: OrderShippingLine[] | null;
812
+ shippingMethod: ShippingMethodEnum;
813
+ shippingSettingsId: string | null;
814
+ shippingZoneRateId: string | null;
815
+ status: CheckoutStatusEnum;
816
+ stockLocationId: string | null;
817
+ totalFinalPrice: number;
650
818
  updatedAt: any | null;
651
819
  }
652
- export interface HTMLMetaDataOverride {
653
- description: string;
654
- language: string | null;
655
- pageTitle: string;
656
- storefrontId: string | null;
657
- storefrontRegionId: string | null;
658
- }
659
- export interface HTMLMetaDataTranslation {
660
- description: string | null;
661
- locale: string;
662
- pageTitle: string | null;
820
+ export interface CheckoutCustomer {
821
+ accountStatus: CustomerAccountStatusEnum | null;
822
+ customerGroupIds: string[] | null;
823
+ email: string | null;
824
+ firstName: string | null;
825
+ id: string | null;
826
+ identityNumber: string | null;
827
+ lastName: string | null;
828
+ notificationsAccepted: boolean | null;
829
+ phone: string | null;
830
+ subscriptionStatus: CustomerEmailSubscriptionStatusesEnum | null;
663
831
  }
664
- export interface Product {
665
- attributes: ProductAttributeValue[] | null;
666
- brandId: string | null;
667
- categoryIds: string[] | null;
668
- createdAt: any | null;
669
- deleted: boolean | null;
670
- description: string | null;
671
- groupVariantsByVariantTypeId: string | null;
672
- id: string;
673
- maxQuantityPerCart: number | null;
674
- metaData: HTMLMetaData | null;
832
+ export interface CheckoutOption {
675
833
  name: string;
676
- productOptionSetId: string | null;
677
- productVariantTypes: ProductVariantType[] | null;
678
- salesChannelIds: string[] | null;
679
- shortDescription: string | null;
680
- tagIds: string[] | null;
681
- translations: ProductTranslation[] | null;
682
- type: ProductTypeEnum;
683
- updatedAt: any | null;
684
- variants: Variant[];
685
- vendorId: string | null;
686
- weight: number | null;
834
+ required: boolean;
687
835
  }
688
- export interface ProductAttribute {
836
+ export interface CheckoutSettings {
689
837
  createdAt: any | null;
690
838
  deleted: boolean | null;
691
- description: string | null;
839
+ giftPackagePriceList: CheckoutSettingsPrice[] | null;
692
840
  id: string;
693
- name: string;
694
- options: ProductAttributeOption[] | null;
695
- tableTemplate: ProductAttributeTableTemplate | null;
696
- translations: ProductAttributeTranslation[] | null;
697
- type: ProductAttributeTypeEnum;
841
+ identityNumberRequirement: CheckoutRequirementEnum;
842
+ isAccountRequired: boolean;
843
+ isGiftPackageEnabled: boolean | null;
844
+ isShowPostalCode: boolean | null;
845
+ isTermsAndConditionsDefaultChecked: boolean | null;
846
+ options: CheckoutOption[] | null;
847
+ phoneRequirement: CheckoutRequirementEnum;
848
+ postalCodeRequirement: CheckoutRequirementEnum | null;
849
+ showCheckoutNote: boolean | null;
850
+ showTermsAndConditionsCheckbox: boolean;
851
+ storefrontId: string;
698
852
  updatedAt: any | null;
699
853
  }
700
- export interface ProductAttributeOption {
854
+ export interface CheckoutSettingsPrice {
855
+ currencyCode: string;
856
+ price: number;
857
+ }
858
+ export interface CheckStocksLineResponse {
859
+ isAvailable: boolean;
860
+ stockCount: number;
861
+ variantId: string;
862
+ }
863
+ export interface CheckStocksResponse {
864
+ lines: CheckStocksLineResponse[];
865
+ }
866
+ export interface City {
867
+ cityCode: string | null;
868
+ countryId: string;
701
869
  createdAt: any | null;
702
870
  deleted: boolean | null;
703
871
  id: string;
872
+ latitude: string | null;
873
+ longitude: string | null;
704
874
  name: string;
875
+ order: number | null;
876
+ stateId: string;
705
877
  updatedAt: any | null;
706
878
  }
707
- export interface ProductAttributeOptionTranslation {
708
- id: string;
709
- name: string | null;
710
- }
711
- export interface ProductAttributeTableCellData {
879
+ export interface Country {
880
+ capital: string | null;
881
+ createdAt: any | null;
882
+ currency: string | null;
883
+ deleted: boolean | null;
884
+ emoji: string | null;
885
+ emojiString: string | null;
712
886
  id: string;
887
+ iso2: string | null;
888
+ iso3: string | null;
889
+ locationTranslations: LocationTranslations;
713
890
  name: string;
891
+ native: string | null;
892
+ phoneCode: string | null;
893
+ region: string | null;
894
+ subregion: string | null;
895
+ updatedAt: any | null;
714
896
  }
715
- export interface ProductAttributeTableTemplate {
716
- columns: ProductAttributeTableCellData[];
717
- rows: ProductAttributeTableCellData[];
897
+ export interface CreateStripePaymentIntentResponse {
898
+ accountId: string;
899
+ apiKey: string;
900
+ callbackUrl: string;
901
+ clientSecret: string;
718
902
  }
719
- export interface ProductAttributeTranslation {
720
- description: string | null;
721
- locale: string;
722
- name: string | null;
723
- options: ProductAttributeOptionTranslation[] | null;
903
+ export interface CurrencyRate {
904
+ baseCurrency: string;
905
+ createdAt: any | null;
906
+ date: any;
907
+ deleted: boolean | null;
908
+ id: string;
909
+ rates: CurrencyRateData[];
910
+ updatedAt: any | null;
724
911
  }
725
- export interface ProductAttributeValue {
726
- imageIds: string[] | null;
727
- productAttributeId: string | null;
728
- productAttributeOptionId: string | null;
729
- value: string | null;
912
+ export interface CurrencyRateData {
913
+ code: string;
914
+ rate: number;
730
915
  }
731
- export interface ProductBackInStockRemind {
916
+ export interface Customer {
917
+ accountStatus: CustomerAccountStatusEnum | null;
918
+ accountStatusUpdatedAt: any | null;
919
+ addresses: CustomerAddress[] | null;
920
+ attributes: CustomerAttributeValue[] | null;
732
921
  createdAt: any | null;
733
- customerId: string;
922
+ customerGroupIds: string[] | null;
923
+ customerSequence: number | null;
734
924
  deleted: boolean | null;
735
- email: string;
925
+ email: string | null;
926
+ emailVerifiedDate: any | null;
927
+ firstName: string;
928
+ fullName: string | null;
736
929
  id: string;
737
- productId: string;
738
- storefrontId: string;
930
+ isEmailVerified: boolean | null;
931
+ isPhoneVerified: boolean | null;
932
+ lastName: string | null;
933
+ note: string | null;
934
+ orderCount: number | null;
935
+ passwordUpdateDate: any | null;
936
+ phone: string | null;
937
+ phoneVerifiedDate: any | null;
938
+ registrationSource: CustomerRegistrationSourceEnum | null;
939
+ subscriptionStatus: CustomerEmailSubscriptionStatusesEnum | null;
940
+ subscriptionStatusUpdatedAt: any | null;
941
+ tagIds: string[] | null;
739
942
  updatedAt: any | null;
740
- variantId: string;
741
943
  }
742
- export interface ProductBrand {
944
+ export interface CustomerAddress {
945
+ addressLine1: string;
946
+ addressLine2: string | null;
947
+ attributes: CustomerAttributeValue[] | null;
948
+ city: CustomerAddressCity;
949
+ company: string | null;
950
+ country: CustomerAddressCountry;
743
951
  createdAt: any | null;
744
952
  deleted: boolean | null;
745
- description: string | null;
953
+ district: CustomerAddressDistrict | null;
954
+ firstName: string;
746
955
  id: string;
747
- imageId: string | null;
748
- metaData: HTMLMetaData | null;
749
- name: string;
750
- orderType: CategoryProductsOrderTypeEnum | null;
751
- salesChannelIds: string[] | null;
752
- translations: ProductBrandTranslation[] | null;
956
+ identityNumber: string | null;
957
+ isDefault: boolean | null;
958
+ lastName: string;
959
+ phone: string | null;
960
+ postalCode: string | null;
961
+ state: CustomerAddressState | null;
962
+ taxNumber: string | null;
963
+ taxOffice: string | null;
964
+ title: string;
753
965
  updatedAt: any | null;
754
966
  }
755
- export interface ProductBrandPaginationResponse {
756
- count: number;
757
- data: ProductBrand[];
758
- hasNext: boolean;
759
- limit: number;
760
- page: number;
761
- }
762
- export interface ProductBrandTranslation {
763
- description: string | null;
764
- locale: string;
765
- name: string | null;
967
+ export interface CustomerAddressCity {
968
+ code: string | null;
969
+ id: string | null;
970
+ name: string;
766
971
  }
767
- export interface ProductFacetCount {
768
- id: string;
769
- values: ProductFacetCountValue[];
972
+ export interface CustomerAddressCountry {
973
+ code: string | null;
974
+ id: string | null;
975
+ iso2: string | null;
976
+ iso3: string | null;
977
+ name: string;
770
978
  }
771
- export interface ProductFacetCountValue {
772
- count: number;
773
- id: string;
979
+ export interface CustomerAddressDistrict {
980
+ code: string | null;
981
+ id: string | null;
982
+ name: string | null;
774
983
  }
775
- export interface ProductFilterData {
776
- categories: Category[] | null;
777
- filters: ProductFilterDataFilter[];
984
+ export interface CustomerAddressState {
985
+ code: string | null;
986
+ id: string | null;
987
+ name: string | null;
778
988
  }
779
- export interface ProductFilterDataFilter {
780
- categories: Category[] | null;
781
- customValues: string[] | null;
782
- displayType: ProductFilterDisplayTypeEnum;
989
+ export interface CustomerAttribute {
990
+ createdAt: any | null;
991
+ deleted: boolean | null;
992
+ description: string | null;
783
993
  id: string;
784
- isFacetFilter: boolean | null;
785
- isMultiSelect: boolean;
786
- key: string;
787
994
  name: string;
788
- order: number;
789
- settings: ProductFilterSettings | null;
790
- type: ProductFilterTypeEnum;
791
- values: ApplicableProductFilterValue[] | null;
792
- }
793
- export interface ProductFilterSettings {
794
- customSortedValues: string[] | null;
795
- showCollapsedOnDesktop: boolean;
796
- showCollapsedOnMobile: boolean;
797
- sortType: ProductFilterSortTypeEnum;
798
- useAndFilter: boolean | null;
799
- }
800
- export interface ProductImage {
801
- imageId: string | null;
802
- isMain: boolean;
803
- isVideo: boolean | null;
804
- order: number;
995
+ options: CustomerAttributeOption[] | null;
996
+ salesChannels: CustomerAttributeSalesChannel[] | null;
997
+ translations: CustomerAttributeTranslation[] | null;
998
+ type: CustomerAttributeTypeEnum;
999
+ updatedAt: any | null;
805
1000
  }
806
- export interface ProductItem {
1001
+ export interface CustomerAttributeOption {
807
1002
  createdAt: any | null;
808
1003
  deleted: boolean | null;
809
1004
  id: string;
810
- productId: string;
1005
+ name: string;
811
1006
  updatedAt: any | null;
812
- variantId: string;
813
1007
  }
814
- export interface ProductLastViewed {
1008
+ export interface CustomerAttributeOptionTranslation {
1009
+ id: string;
1010
+ name: string | null;
1011
+ }
1012
+ export interface CustomerAttributeSalesChannel {
1013
+ permission: CustomerAttributePermissionEnum;
1014
+ registerPageRequirement: CustomerAttributeRegisterPageRequirementEnum;
1015
+ salesChannelId: string;
1016
+ storefrontId: string;
1017
+ }
1018
+ export interface CustomerAttributeTranslation {
1019
+ description: string | null;
1020
+ locale: string;
1021
+ name: string | null;
1022
+ options: CustomerAttributeOptionTranslation[] | null;
1023
+ }
1024
+ export interface CustomerAttributeValue {
1025
+ customerAttributeId: string | null;
1026
+ customerAttributeOptionId: string | null;
1027
+ value: string | null;
1028
+ }
1029
+ export interface CustomerCheckResponse {
1030
+ exists: boolean;
1031
+ }
1032
+ export interface CustomerFavoriteProduct {
815
1033
  createdAt: any | null;
816
1034
  customerId: string;
817
1035
  deleted: boolean | null;
818
1036
  id: string;
819
- products: ProductItem[];
1037
+ productId: string;
820
1038
  updatedAt: any | null;
821
1039
  }
822
- export interface ProductOption {
1040
+ export interface CustomerLoginResponse {
1041
+ customer: Customer | null;
1042
+ token: string;
1043
+ tokenExpiry: number;
1044
+ }
1045
+ export interface CustomerRefreshTokenResponse {
1046
+ token: string;
1047
+ tokenExpiry: number;
1048
+ }
1049
+ export interface CustomerReview {
1050
+ comment: string | null;
823
1051
  createdAt: any | null;
824
- dateSettings: ProductOptionDateSettings | null;
1052
+ customerId: string | null;
825
1053
  deleted: boolean | null;
826
- fileSettings: ProductOptionFileSettings | null;
1054
+ email: string | null;
1055
+ firstName: string | null;
827
1056
  id: string;
828
- isOptional: boolean | null;
829
- name: string;
830
- optionalText: string | null;
831
- order: number;
832
- otherPrices: ProductOptionSelectValueOtherPrice[] | null;
833
- price: number | null;
834
- requiredOptionId: string | null;
835
- requiredOptionValueIds: string[] | null;
836
- selectSettings: ProductOptionSelectSettings | null;
837
- textSettings: ProductOptionTextSettings | null;
838
- type: ProductOptionTypeEnum;
1057
+ imageIds: string[] | null;
1058
+ lastName: string | null;
1059
+ orderId: string | null;
1060
+ orderNumber: string | null;
1061
+ productId: string;
1062
+ salesChannelId: string | null;
1063
+ star: number;
1064
+ status: CustomerReviewStatusEnum | null;
1065
+ storefrontId: string | null;
1066
+ title: string | null;
839
1067
  updatedAt: any | null;
840
1068
  }
841
- export interface ProductOptionDateSettings {
842
- max: any | null;
843
- maxRelativeNextDate: number | null;
844
- min: any | null;
845
- minRelativeNextDate: number | null;
846
- }
847
- export interface ProductOptionFileSettings {
848
- allowedExtensions: string[] | null;
849
- maxQuantity: number | null;
850
- minQuantity: number | null;
851
- }
852
- export interface ProductOptionSelectSettings {
853
- maxSelect: number | null;
854
- minSelect: number | null;
855
- type: ProductOptionSelectTypeEnum;
856
- values: ProductOptionSelectValue[];
1069
+ export interface CustomerReviewSFPaginationResponse {
1070
+ count: number;
1071
+ data: CustomerReview[];
1072
+ hasNext: boolean;
1073
+ limit: number;
1074
+ page: number;
857
1075
  }
858
- export interface ProductOptionSelectValue {
859
- colorCode: string | null;
1076
+ export interface CustomerReviewSummary {
1077
+ averageStar: number;
860
1078
  createdAt: any | null;
861
1079
  deleted: boolean | null;
862
1080
  id: string;
863
- order: number;
864
- otherPrices: ProductOptionSelectValueOtherPrice[] | null;
865
- price: number | null;
866
- thumbnailImageId: string | null;
1081
+ productId: string;
1082
+ stars: CustomerReviewSummaryStar[];
1083
+ totalReview: number;
867
1084
  updatedAt: any | null;
868
- value: string;
869
1085
  }
870
- export interface ProductOptionSelectValueOtherPrice {
871
- currencyCode: string;
872
- price: number;
1086
+ export interface CustomerReviewSummaryPaginationResponse {
1087
+ count: number;
1088
+ data: CustomerReviewSummary[];
1089
+ hasNext: boolean;
1090
+ limit: number;
1091
+ page: number;
873
1092
  }
874
- export interface ProductOptionSelectValueTranslations {
875
- id: string;
876
- value: string | null;
1093
+ export interface CustomerReviewSummaryStar {
1094
+ count: number;
1095
+ star: number;
877
1096
  }
878
- export interface ProductOptionSet {
1097
+ export interface District {
1098
+ cityId: string;
1099
+ countryId: string;
879
1100
  createdAt: any | null;
880
1101
  deleted: boolean | null;
881
1102
  id: string;
1103
+ latitude: string | null;
1104
+ longitude: string | null;
882
1105
  name: string;
883
- options: ProductOption[];
884
- translations: ProductOptionSetTranslations[] | null;
1106
+ order: number | null;
1107
+ stateId: string;
885
1108
  updatedAt: any | null;
886
1109
  }
887
- export interface ProductOptionSetTranslations {
888
- locale: string;
889
- options: ProductOptionTranslations[] | null;
890
- }
891
- export interface ProductOptionTextSettings {
892
- max: number | null;
893
- min: number | null;
1110
+ export interface FixedDiscount {
1111
+ amount: number | null;
1112
+ filters: CampaignFilter[] | null;
1113
+ lineItemQuantityRange: CampaignMinMaxRangeField | null;
1114
+ priceRange: CampaignMinMaxRangeField | null;
894
1115
  }
895
- export interface ProductOptionTranslations {
1116
+ export interface GetAvailableStockLocation {
1117
+ address: GetAvailableStockLocationAddress | null;
896
1118
  id: string;
897
- name: string | null;
898
- optionalText: string | null;
899
- values: ProductOptionSelectValueTranslations[] | null;
1119
+ name: string;
1120
+ type: StockLocationTypeEnum | null;
900
1121
  }
901
- export interface ProductPaginationResponse {
902
- count: number;
903
- data: Product[];
904
- hasNext: boolean;
905
- limit: number;
906
- page: number;
1122
+ export interface GetAvailableStockLocationAddress {
1123
+ address: string | null;
1124
+ city: GetAvailableStockLocationAddressCity | null;
1125
+ country: GetAvailableStockLocationAddressCity | null;
1126
+ district: GetAvailableStockLocationAddressCity | null;
1127
+ phone: string | null;
1128
+ postalCode: string | null;
1129
+ state: GetAvailableStockLocationAddressCity | null;
907
1130
  }
908
- export interface ProductPrice {
909
- buyPrice: number | null;
910
- currency: string | null;
911
- discountPrice: number | null;
912
- priceListId: string | null;
913
- sellPrice: number;
1131
+ export interface GetAvailableStockLocationAddressCity {
1132
+ code: string | null;
1133
+ id: string | null;
1134
+ name: string | null;
914
1135
  }
915
- export interface ProductSearchResponse {
916
- count: number;
917
- data: any;
918
- facets: ProductFacetCount[] | null;
919
- limit: number;
920
- page: number;
921
- results: SearchProduct[];
922
- totalCount: number;
1136
+ export interface GetAvailableStockLocationsResponse {
1137
+ stockLocations: GetAvailableStockLocation[];
923
1138
  }
924
- export interface ProductTagTranslation {
925
- description: string | null;
926
- locale: string;
927
- name: string | null;
1139
+ export interface GetProductCampaignsResponse {
1140
+ campaign: Campaign;
1141
+ variantIds: string[];
928
1142
  }
929
- export interface ProductTranslation {
930
- description: string | null;
931
- locale: string;
932
- name: string | null;
1143
+ export interface GetProductOptionFileUrl {
1144
+ fields: any;
1145
+ optionUrl: string;
1146
+ url: string;
933
1147
  }
934
- export interface ProductVariantType {
935
- order: number;
936
- variantTypeId: string;
937
- variantValueIds: string[] | null;
1148
+ export interface GetVariantStockLocation {
1149
+ stockCount: number;
1150
+ stockLocation: GetAvailableStockLocation;
1151
+ variantId: string;
938
1152
  }
939
- export interface SearchCategory {
940
- id: string;
941
- name: string;
942
- path: SearchCategoryPath[];
943
- slug: string | null;
944
- translations: CategoryTranslation[] | null;
1153
+ export interface GetVariantStockLocationListResponse {
1154
+ stockLocations: GetVariantStockLocation[];
945
1155
  }
946
- export interface SearchCategoryPath {
947
- id: string;
948
- name: string;
949
- slug: string | null;
950
- translations: CategoryTranslation[] | null;
1156
+ export interface GetY {
1157
+ amount: number;
1158
+ automaticallyAddItemToCart: boolean | null;
1159
+ discountRatio: number;
1160
+ filter: CampaignFilter;
951
1161
  }
952
- export interface SearchHTMLMetaData {
1162
+ export interface HTMLMetaData {
953
1163
  canonicals: string[] | null;
1164
+ createdAt: any | null;
1165
+ deleted: boolean | null;
954
1166
  description: string | null;
955
1167
  disableIndex: boolean | null;
956
- metadataOverrides: SearchHTMLMetaDataOverride[] | null;
1168
+ id: string;
1169
+ metadataOverrides: HTMLMetaDataOverride[] | null;
957
1170
  pageTitle: string | null;
958
1171
  redirectTo: string | null;
959
1172
  slug: string;
1173
+ targetId: string | null;
1174
+ targetType: HTMLMetaDataTargetTypeEnum | null;
960
1175
  translations: HTMLMetaDataTranslation[] | null;
1176
+ updatedAt: any | null;
961
1177
  }
962
- export interface SearchHTMLMetaDataOverride {
1178
+ export interface HTMLMetaDataOverride {
963
1179
  description: string;
964
1180
  language: string | null;
965
1181
  pageTitle: string;
966
1182
  storefrontId: string | null;
967
1183
  storefrontRegionId: string | null;
968
1184
  }
969
- export interface SearchProduct {
970
- attributes: SearchProductAttributeValue[] | null;
971
- brand: SearchProductBrand | null;
972
- categories: SearchCategory[] | null;
973
- deleted: boolean | null;
1185
+ export interface HTMLMetaDataTranslation {
974
1186
  description: string | null;
975
- groupVariantsByVariantTypeId: string | null;
976
- id: string;
977
- metaData: SearchHTMLMetaData | null;
978
- name: string;
979
- productOptionSetId: string | null;
980
- productVariantTypes: SearchProductVariantType[];
981
- salesChannelIds: string[] | null;
982
- shortDescription: string | null;
983
- tags: SearchProductTag[] | null;
984
- translations: ProductTranslation[] | null;
985
- type: string;
986
- variants: SearchVariant[];
987
- weight: number | null;
1187
+ locale: string;
1188
+ pageTitle: string | null;
988
1189
  }
989
- export interface SearchProductAttribute {
1190
+ export interface Invoice {
1191
+ appId: string;
1192
+ appName: string;
1193
+ createdAt: any | null;
990
1194
  id: string;
991
- name: string;
992
- tableTemplate: SearchProductAttributeTableTemplate | null;
993
- translations: ProductAttributeTranslation[] | null;
994
- type: string;
1195
+ invoiceNumber: string;
1196
+ storeAppId: string;
1197
+ type: InvoiceTypeEnum;
995
1198
  }
996
- export interface SearchProductAttributeOption {
997
- id: string;
998
- name: string;
1199
+ export interface LocationTranslations {
1200
+ en: string;
1201
+ tr: string;
999
1202
  }
1000
- export interface SearchProductAttributeTableCellData {
1203
+ export interface MasterPassTokenResponse {
1204
+ requestReferenceNumber: string;
1205
+ timeZone: string;
1206
+ token: string;
1207
+ }
1208
+ export interface MerchantSettings {
1209
+ createdAt: any | null;
1210
+ currencyFormats: MerchantSettingsCurrencyFormat[] | null;
1211
+ deleted: boolean | null;
1001
1212
  id: string;
1002
- name: string;
1213
+ logoId: string | null;
1214
+ merchantId: string;
1215
+ merchantName: string;
1216
+ updatedAt: any | null;
1003
1217
  }
1004
- export interface SearchProductAttributeTableTemplate {
1005
- columns: SearchProductAttributeTableCellData[];
1006
- rows: SearchProductAttributeTableCellData[];
1218
+ export interface MerchantSettingsCurrencyFormat {
1219
+ currencyCode: string;
1220
+ decimalSeparator: string;
1221
+ omitZeroDecimal: boolean;
1222
+ symbol: string;
1223
+ symbolPosition: CurrencyFormatSymbolPosition;
1224
+ thousandSeparator: string;
1007
1225
  }
1008
- export interface SearchProductAttributeValue {
1009
- imageIds: string[] | null;
1010
- productAttribute: SearchProductAttribute | null;
1011
- productAttributeOption: SearchProductAttributeOption | null;
1012
- value: string | null;
1226
+ export interface OrderAddress {
1227
+ addressLine1: string;
1228
+ addressLine2: string | null;
1229
+ city: OrderAddressCity;
1230
+ company: string | null;
1231
+ country: OrderAddressCountry;
1232
+ district: OrderAddressDistrict | null;
1233
+ firstName: string;
1234
+ id: string | null;
1235
+ identityNumber: string | null;
1236
+ isDefault: boolean;
1237
+ lastName: string;
1238
+ phone: string | null;
1239
+ postalCode: string | null;
1240
+ state: OrderAddressState | null;
1241
+ taxNumber: string | null;
1242
+ taxOffice: string | null;
1013
1243
  }
1014
- export interface SearchProductBrand {
1015
- id: string;
1244
+ export interface OrderAddressCity {
1245
+ code: string | null;
1246
+ id: string | null;
1016
1247
  name: string;
1017
- slug: string | null;
1018
- translations: ProductBrandTranslation[] | null;
1019
1248
  }
1020
- export interface SearchProductImage {
1021
- id: string;
1022
- isMain: boolean | null;
1023
- isVideo: boolean | null;
1249
+ export interface OrderAddressCountry {
1250
+ code: string | null;
1251
+ id: string | null;
1252
+ iso2: string | null;
1253
+ iso3: string | null;
1254
+ name: string;
1255
+ }
1256
+ export interface OrderAddressDistrict {
1257
+ code: string | null;
1258
+ id: string | null;
1259
+ name: string | null;
1260
+ }
1261
+ export interface OrderAddressState {
1262
+ code: string | null;
1263
+ id: string | null;
1264
+ name: string | null;
1265
+ }
1266
+ export interface OrderAdjustment {
1267
+ amount: number;
1268
+ amountType: AmountTypeEnum;
1269
+ appliedOrderLines: OrderAdjustmentAppliedOrderLine[] | null;
1270
+ campaignId: string | null;
1271
+ campaignType: CampaignTypeEnum | null;
1272
+ couponId: string | null;
1273
+ name: string;
1024
1274
  order: number;
1275
+ type: AdjustmentEnum;
1025
1276
  }
1026
- export interface SearchProductPrice {
1027
- buyPrice: number | null;
1028
- currency: string | null;
1029
- discountPrice: number | null;
1030
- priceListId: string | null;
1031
- sellPrice: number;
1277
+ export interface OrderAdjustmentAppliedOrderLine {
1278
+ amount: number;
1279
+ appliedQuantity: number;
1280
+ isAutoCreated: boolean | null;
1281
+ orderLineId: string;
1032
1282
  }
1033
- export interface SearchProductStockLocation {
1034
- stockCount: number;
1035
- stockLocationId: string;
1283
+ export interface OrderCurrencyRate {
1284
+ code: string;
1285
+ originalRate: number;
1286
+ rate: number;
1036
1287
  }
1037
- export interface SearchProductTag {
1288
+ export interface OrderCustomer {
1289
+ email: string | null;
1290
+ firstName: string | null;
1291
+ fullName: string | null;
1292
+ id: string | null;
1293
+ isGuestCheckout: boolean | null;
1294
+ lastName: string | null;
1295
+ notificationsAccepted: boolean | null;
1296
+ phone: string | null;
1297
+ }
1298
+ export interface OrderGiftPackageLine {
1299
+ price: number;
1300
+ taxValue: number | null;
1301
+ }
1302
+ export interface OrderLineDiscount {
1303
+ amount: number;
1304
+ amountType: AmountTypeEnum;
1305
+ campaignOfferId: string | null;
1306
+ campaignOfferProductId: string | null;
1307
+ maxApplicableQuantity: number | null;
1308
+ reason: string | null;
1309
+ }
1310
+ export interface OrderLineItem {
1311
+ createdAt: any | null;
1312
+ currencyCode: string | null;
1313
+ deleted: boolean | null;
1314
+ discount: OrderLineDiscount | null;
1315
+ discountPrice: number | null;
1316
+ finalPrice: number | null;
1038
1317
  id: string;
1318
+ options: OrderLineOption[] | null;
1319
+ originalOrderLineItemId: string | null;
1320
+ price: number;
1321
+ quantity: number;
1322
+ status: OrderLineItemStatusEnum;
1323
+ statusUpdatedAt: any | null;
1324
+ stockLocationId: string | null;
1325
+ taxValue: number | null;
1326
+ updatedAt: any | null;
1327
+ variant: OrderLineVariant;
1328
+ }
1329
+ export interface OrderLineOption {
1039
1330
  name: string;
1040
- translations: ProductTagTranslation[] | null;
1331
+ productOptionId: string;
1332
+ productOptionsSetId: string;
1333
+ type: ProductOptionTypeEnum;
1334
+ values: OrderLineOptionValue[];
1041
1335
  }
1042
- export interface SearchProductVariantType {
1043
- order: number;
1044
- variantType: SearchVariantType;
1045
- variantValueIds: string[];
1336
+ export interface OrderLineOptionValue {
1337
+ name: string | null;
1338
+ price: number | null;
1339
+ value: string;
1046
1340
  }
1047
- export interface SearchVariant {
1048
- attributes: SearchProductAttributeValue[] | null;
1341
+ export interface OrderLineVariant {
1049
1342
  barcodeList: string[] | null;
1050
- deleted: boolean | null;
1051
- id: string;
1052
- images: SearchProductImage[] | null;
1053
- isActive: boolean | null;
1054
- prices: SearchProductPrice[] | null;
1055
- sellIfOutOfStock: boolean | null;
1343
+ brand: OrderLineVariantBrand | null;
1344
+ categories: OrderLineVariantCategory[] | null;
1345
+ id: string | null;
1346
+ mainImageId: string | null;
1347
+ name: string;
1348
+ prices: OrderLineVariantPrice[] | null;
1349
+ productId: string | null;
1056
1350
  sku: string | null;
1057
- stocks: SearchProductStockLocation[] | null;
1058
- variantValues: SearchVariationValueRelation[] | null;
1351
+ slug: string | null;
1352
+ tagIds: string[] | null;
1353
+ taxValue: number | null;
1354
+ type: number | null;
1355
+ variantValues: OrderLineVariantVariantValues[] | null;
1059
1356
  weight: number | null;
1060
1357
  }
1061
- export interface SearchVariantType {
1358
+ export interface OrderLineVariantBrand {
1062
1359
  id: string;
1063
1360
  name: string;
1064
- selectionType: string;
1065
- translations: VariantTypeTranslation[] | null;
1066
- values: SearchVariantValue[];
1067
1361
  }
1068
- export interface SearchVariantValue {
1069
- colorCode: string | null;
1362
+ export interface OrderLineVariantCategory {
1363
+ categoryPath: OrderLineVariantCategoryPath[] | null;
1070
1364
  id: string;
1071
1365
  name: string;
1072
- thumbnailImageId: string | null;
1073
1366
  }
1074
- export interface SearchVariationValueRelation {
1367
+ export interface OrderLineVariantCategoryPath {
1368
+ id: string;
1369
+ name: string;
1370
+ }
1371
+ export interface OrderLineVariantPrice {
1372
+ buyPrice: number | null;
1373
+ currency: string | null;
1374
+ discountPrice: number | null;
1375
+ priceListId: string | null;
1376
+ sellPrice: number;
1377
+ }
1378
+ export interface OrderLineVariantVariantValues {
1379
+ order: number;
1075
1380
  variantTypeId: string;
1381
+ variantTypeName: string | null;
1076
1382
  variantValueId: string;
1383
+ variantValueName: string | null;
1077
1384
  }
1078
- export interface Variant {
1079
- attributes: ProductAttributeValue[] | null;
1080
- barcodeList: string[] | null;
1385
+ export interface OrderPackage {
1081
1386
  createdAt: any | null;
1082
1387
  deleted: boolean | null;
1083
- hsCode: string | null;
1388
+ errorMessage: string | null;
1084
1389
  id: string;
1085
- images: ProductImage[] | null;
1086
- isActive: boolean | null;
1087
- prices: ProductPrice[];
1088
- sellIfOutOfStock: boolean | null;
1089
- sku: string | null;
1090
- stocks: VariantStock[] | null;
1091
- updatedAt: any | null;
1092
- variantValueIds: VariantValueRelation[] | null;
1093
- weight: number | null;
1094
- }
1095
- export interface VariantStock {
1096
- stockCount: number;
1390
+ note: string | null;
1391
+ orderLineItemIds: string[];
1392
+ orderPackageFulfillStatus: OrderPackageFulfillStatusEnum;
1393
+ orderPackageNumber: string;
1097
1394
  stockLocationId: string;
1098
- }
1099
- export interface VariantType {
1100
- createdAt: any | null;
1101
- deleted: boolean | null;
1102
- id: string;
1103
- name: string;
1104
- selectionType: VariantSelectionTypeEnum;
1105
- translations: VariantTypeTranslation[] | null;
1395
+ trackingInfo: TrackingInfo | null;
1106
1396
  updatedAt: any | null;
1107
- values: VariantValue[];
1108
1397
  }
1109
- export interface VariantTypeTranslation {
1110
- locale: string;
1111
- name: string | null;
1112
- values: VariantValueTranslation[] | null;
1398
+ export interface OrderPaymentMethod {
1399
+ paymentGatewayCode: string | null;
1400
+ paymentGatewayId: string | null;
1401
+ paymentGatewayName: string | null;
1402
+ price: number;
1403
+ type: PaymentMethodTypeEnum;
1113
1404
  }
1114
- export interface VariantValue {
1115
- colorCode: string | null;
1405
+ export interface OrderRefundSettings {
1406
+ autoApprove: boolean;
1116
1407
  createdAt: any | null;
1117
1408
  deleted: boolean | null;
1118
1409
  id: string;
1119
- name: string;
1120
- thumbnailImageId: string | null;
1410
+ isActiveRefundSection: boolean;
1411
+ orderRefundDayLimit: number | null;
1412
+ refundDesc: string;
1413
+ storefrontId: string | null;
1121
1414
  updatedAt: any | null;
1122
1415
  }
1123
- export interface VariantValueRelation {
1124
- variantTypeId: string;
1125
- variantValueId: string;
1416
+ export interface OrderShippingLine {
1417
+ finalPrice: number;
1418
+ isRefunded: boolean | null;
1419
+ paymentMethod: PaymentMethodTypeEnum | null;
1420
+ price: number;
1421
+ shippingSettingsId: string | null;
1422
+ shippingZoneRateId: string | null;
1423
+ taxValue: number | null;
1424
+ title: string;
1126
1425
  }
1127
- export interface VariantValueTranslation {
1426
+ export interface OrderStorefrontRouting {
1427
+ domain: string | null;
1428
+ dynamicCurrencySettings: OrderStorefrontRoutingDynamicCurrencySettings | null;
1128
1429
  id: string;
1129
- name: string | null;
1430
+ locale: string | null;
1431
+ path: string | null;
1432
+ priceListId: string | null;
1130
1433
  }
1131
- export interface AdditionalPrice {
1132
- amount: number;
1133
- amountType: PaymentGatewayTransactionFeeTypeEnum;
1134
- name: string;
1135
- type: PaymentGatewayAdditionalPriceTypeEnum;
1136
- }
1137
- export interface CreateStripePaymentIntentResponse {
1138
- accountId: string;
1139
- apiKey: string;
1140
- callbackUrl: string;
1141
- clientSecret: string;
1434
+ export interface OrderStorefrontRoutingDynamicCurrencySettings {
1435
+ roundingFormat: string | null;
1436
+ targetCurrencyCode: string;
1142
1437
  }
1143
- export interface MasterPassTokenResponse {
1144
- requestReferenceNumber: string;
1145
- timeZone: string;
1146
- token: string;
1438
+ export interface OrderTaxLine {
1439
+ price: number;
1440
+ rate: number;
1147
1441
  }
1148
1442
  export interface PaymentGateway {
1149
1443
  additionalPrices: AdditionalPrice[] | null;
@@ -1181,611 +1475,290 @@ export interface PaymentGatewayTranslation {
1181
1475
  locale: string | null;
1182
1476
  name: string | null;
1183
1477
  }
1184
- export interface RetrieveInstallmentInfoResponse {
1185
- bankName: string | null;
1186
- binNumber: string;
1187
- cardAssociation: TransactionCardAssociationEnum | null;
1188
- cardFamily: string | null;
1189
- cardType: TransactionCardTypeEnum | null;
1190
- installmentPrices: TransactionInstallmentPrice[] | null;
1191
- price: number;
1192
- }
1193
- export interface StorefrontTransaction {
1194
- amount: number;
1195
- checkoutId: string | null;
1478
+ export interface Product {
1479
+ attributes: ProductAttributeValue[] | null;
1480
+ brandId: string | null;
1481
+ categoryIds: string[] | null;
1196
1482
  createdAt: any | null;
1197
- currencyCode: string;
1198
- customerId: string | null;
1199
1483
  deleted: boolean | null;
1200
- error: TransactionError | null;
1484
+ description: string | null;
1485
+ groupVariantsByVariantTypeId: string | null;
1201
1486
  id: string;
1202
- orderId: string | null;
1203
- paymentGatewayCode: string | null;
1204
- paymentGatewayId: string;
1205
- paymentGatewayName: string;
1206
- paymentMethod: PaymentMethodEnum | null;
1207
- paymentMethodDetail: TransactionPaymentMethodDetail | null;
1208
- processedAt: any | null;
1209
- refundReason: string | null;
1210
- status: TransactionStatusEnum;
1211
- type: TransactionTypeEnum;
1487
+ maxQuantityPerCart: number | null;
1488
+ metaData: HTMLMetaData | null;
1489
+ name: string;
1490
+ productOptionSetId: string | null;
1491
+ productVariantTypes: ProductVariantType[] | null;
1492
+ salesChannelIds: string[] | null;
1493
+ shortDescription: string | null;
1494
+ tagIds: string[] | null;
1495
+ translations: ProductTranslation[] | null;
1496
+ type: ProductTypeEnum;
1212
1497
  updatedAt: any | null;
1498
+ variants: Variant[];
1499
+ vendorId: string | null;
1500
+ weight: number | null;
1213
1501
  }
1214
- export interface TransactionError {
1215
- code: string | null;
1216
- declineCode: string | null;
1217
- message: string | null;
1218
- }
1219
- export interface TransactionInstallmentPrice {
1220
- installmentCount: number | null;
1221
- installmentPrice: number | null;
1222
- originalRate: number | null;
1223
- rate: number | null;
1224
- totalPrice: number | null;
1225
- }
1226
- export interface TransactionPaymentMethodDetail {
1227
- bankName: string | null;
1228
- binNumber: string;
1229
- cardAssociation: TransactionCardAssociationEnum | null;
1230
- cardFamily: string | null;
1231
- cardType: TransactionCardTypeEnum | null;
1232
- installment: TransactionInstallmentPrice | null;
1233
- lastFourDigits: string;
1234
- threeDSecure: boolean | null;
1235
- }
1236
- export interface TransactionResponse {
1237
- error: TransactionError | null;
1238
- orderId: string | null;
1239
- orderNumber: string | null;
1240
- returnSlug: string | null;
1241
- transactionId: string | null;
1242
- transactionStatus: TransactionStatusEnum;
1502
+ export interface ProductAttribute {
1503
+ createdAt: any | null;
1504
+ deleted: boolean | null;
1505
+ description: string | null;
1506
+ id: string;
1507
+ name: string;
1508
+ options: ProductAttributeOption[] | null;
1509
+ tableTemplate: ProductAttributeTableTemplate | null;
1510
+ translations: ProductAttributeTranslation[] | null;
1511
+ type: ProductAttributeTypeEnum;
1512
+ updatedAt: any | null;
1243
1513
  }
1244
- export interface AbandonedCartFlow {
1245
- campaignId: string | null;
1246
- canApplicable: boolean;
1247
- couponId: string | null;
1248
- customerFilters: AbandonedCartFlowCustomerFilter | null;
1249
- flowId: string;
1250
- mailSendDate: any | null;
1251
- mailTranslationId: string | null;
1252
- recoverEmailStatus: CheckoutRecoveryEmailStatusEnum;
1253
- sendAfter: number;
1514
+ export interface ProductAttributeOption {
1515
+ createdAt: any | null;
1516
+ deleted: boolean | null;
1517
+ id: string;
1518
+ name: string;
1519
+ updatedAt: any | null;
1254
1520
  }
1255
- export interface AbandonedCartFlowCustomerFilter {
1256
- sendOnlyActiveAccount: boolean | null;
1257
- sendOnlySubscribedToEmail: boolean | null;
1521
+ export interface ProductAttributeOptionTranslation {
1522
+ id: string;
1523
+ name: string | null;
1258
1524
  }
1259
- export interface AppliedProduct {
1260
- productId: string | null;
1261
- variantId: string;
1525
+ export interface ProductAttributeTableCellData {
1526
+ id: string;
1527
+ name: string;
1262
1528
  }
1263
- export interface AvailableShippingMethod {
1264
- price: number;
1265
- rateName: string;
1266
- shippingMethod: ShippingMethodEnum;
1267
- shippingSettingsId: string;
1268
- shippingZoneRateId: string;
1529
+ export interface ProductAttributeTableTemplate {
1530
+ columns: ProductAttributeTableCellData[];
1531
+ rows: ProductAttributeTableCellData[];
1269
1532
  }
1270
- export interface BuyX {
1271
- amount: number;
1272
- applyByQuantity: boolean;
1273
- filter: CampaignFilter;
1533
+ export interface ProductAttributeTranslation {
1534
+ description: string | null;
1535
+ locale: string;
1536
+ name: string | null;
1537
+ options: ProductAttributeOptionTranslation[] | null;
1274
1538
  }
1275
- export interface BuyXThenGetY {
1276
- buyX: BuyX;
1277
- getY: GetY;
1278
- maxUsagePerOrder: number | null;
1539
+ export interface ProductAttributeValue {
1540
+ imageIds: string[] | null;
1541
+ productAttributeId: string | null;
1542
+ productAttributeOptionId: string | null;
1543
+ value: string | null;
1279
1544
  }
1280
- export interface Campaign {
1281
- applicableCustomerGroupIds: string[] | null;
1282
- applicableCustomerIds: string[] | null;
1283
- applicablePrice: CampaignApplicablePriceEnum;
1284
- buyXThenGetY: BuyXThenGetY | null;
1285
- canCombineWithOtherCampaigns: boolean;
1545
+ export interface ProductBackInStockRemind {
1286
1546
  createdAt: any | null;
1287
- createdFor: CampaignCreatedForEnum | null;
1288
- currencyCodes: string[] | null;
1289
- dateRange: CampaignDateRangeField | null;
1547
+ customerId: string;
1290
1548
  deleted: boolean | null;
1291
- fixedDiscount: FixedDiscount | null;
1292
- hasCoupon: boolean;
1549
+ email: string;
1293
1550
  id: string;
1294
- includeDiscountedProducts: boolean | null;
1295
- salesChannelIds: string[] | null;
1296
- title: string;
1297
- type: CampaignTypeEnum;
1551
+ productId: string;
1552
+ storefrontId: string;
1298
1553
  updatedAt: any | null;
1299
- usageCount: number;
1300
- usageLimit: number | null;
1301
- usageLimitPerCustomer: number | null;
1302
- }
1303
- export interface CampaignDateRangeField {
1304
- end: any | null;
1305
- start: any | null;
1306
- }
1307
- export interface CampaignFilter {
1308
- idList: string[];
1309
- type: CampaignFilterTypeEnum;
1310
- }
1311
- export interface CampaignMinMaxRangeField {
1312
- max: number | null;
1313
- min: number | null;
1554
+ variantId: string;
1314
1555
  }
1315
- export interface CampaignOffer {
1316
- availableSalesChannelIds: string[];
1556
+ export interface ProductBrand {
1317
1557
  createdAt: any | null;
1318
1558
  deleted: boolean | null;
1319
- endDate: any | null;
1320
- followUpActionType: CampaignOfferFollowUpActionTypeEnum;
1559
+ description: string | null;
1321
1560
  id: string;
1322
- minimumRequiredCartAmount: number | null;
1561
+ imageId: string | null;
1562
+ metaData: HTMLMetaData | null;
1323
1563
  name: string;
1324
- offers: CampaignOfferProduct[];
1325
- startDate: any | null;
1326
- targetPageTypes: CampaignOfferTargetPageTypeEnum[];
1327
- triggerSettings: CampaignOfferTriggerSettings;
1328
- type: CampaignOfferTypeEnum;
1564
+ orderType: CategoryProductsOrderTypeEnum | null;
1565
+ salesChannelIds: string[] | null;
1566
+ translations: ProductBrandTranslation[] | null;
1329
1567
  updatedAt: any | null;
1330
1568
  }
1331
- export interface CampaignOfferProduct {
1332
- countdownMinutes: number | null;
1333
- description: string | null;
1334
- discountAmount: number | null;
1335
- discountType: AmountTypeEnum | null;
1336
- excludedVariantIdList: string[] | null;
1337
- id: string;
1338
- order: number;
1339
- productId: string;
1340
- showCriteria: CampaignOfferProductShowCriteriaEnum | null;
1341
- skipOfferIfProductExistsInCart: boolean | null;
1342
- title: string;
1343
- translations: CampaignOfferProductTranslation[] | null;
1569
+ export interface ProductBrandPaginationResponse {
1570
+ count: number;
1571
+ data: ProductBrand[];
1572
+ hasNext: boolean;
1573
+ limit: number;
1574
+ page: number;
1344
1575
  }
1345
- export interface CampaignOfferProductTranslation {
1576
+ export interface ProductBrandTranslation {
1346
1577
  description: string | null;
1347
1578
  locale: string;
1348
- title: string;
1579
+ name: string | null;
1349
1580
  }
1350
- export interface CampaignOfferTriggerSettings {
1351
- filterType: CampaignOfferTriggerFilterTypeEnum;
1352
- valueList: string[];
1581
+ export interface ProductFacetCount {
1582
+ id: string;
1583
+ values: ProductFacetCountValue[];
1353
1584
  }
1354
- export interface Cart {
1355
- campaignOffers: CartCampaignOffer[] | null;
1356
- createdAt: any | null;
1357
- createdBy: CartCreatedByEnum | null;
1358
- currencyCode: string | null;
1359
- customerId: string | null;
1360
- deleted: boolean | null;
1361
- dueDate: any;
1585
+ export interface ProductFacetCountValue {
1586
+ count: number;
1362
1587
  id: string;
1363
- itemCount: number;
1364
- items: OrderLineItem[];
1365
- merchantId: string;
1366
- priceListId: string | null;
1367
- salesChannelId: string;
1368
- status: CartStatusEnum;
1369
- storefrontId: string | null;
1370
- storefrontRouting: CartStorefrontRouting | null;
1371
- storefrontRoutingId: string | null;
1372
- storefrontThemeId: string | null;
1373
- taxLines: OrderTaxLine[] | null;
1374
- totalPrice: number;
1375
- updatedAt: any | null;
1376
1588
  }
1377
- export interface CartCampaignOffer {
1378
- appliedOrderLineId: string | null;
1379
- campaignOfferId: string;
1380
- campaignOfferProductId: string | null;
1381
- offerEndDate: any | null;
1382
- offerStartDate: any;
1383
- status: CartCampaignOfferStatus;
1384
- targetPageTypes: CampaignOfferTargetPageTypeEnum[];
1385
- triggerSourceOrderLineId: string;
1589
+ export interface ProductFilterData {
1590
+ categories: Category[] | null;
1591
+ filters: ProductFilterDataFilter[];
1386
1592
  }
1387
- export interface CartStorefrontRouting {
1388
- domain: string | null;
1389
- dynamicCurrencySettings: CartStorefrontRoutingDynamicCurrencySettings | null;
1593
+ export interface ProductFilterDataFilter {
1594
+ categories: Category[] | null;
1595
+ customValues: string[] | null;
1596
+ displayType: ProductFilterDisplayTypeEnum;
1390
1597
  id: string;
1391
- locale: string | null;
1392
- path: string | null;
1393
- priceListId: string | null;
1394
- }
1395
- export interface CartStorefrontRoutingDynamicCurrencySettings {
1396
- roundingFormat: string | null;
1397
- targetCurrencyCode: string;
1598
+ isFacetFilter: boolean | null;
1599
+ isMultiSelect: boolean;
1600
+ key: string;
1601
+ name: string;
1602
+ order: number;
1603
+ settings: ProductFilterSettings | null;
1604
+ type: ProductFilterTypeEnum;
1605
+ values: ApplicableProductFilterValue[] | null;
1398
1606
  }
1399
- export interface CartV2 {
1400
- abandonedCartFlows: AbandonedCartFlow[] | null;
1401
- availableShippingMethods: AvailableShippingMethod[] | null;
1402
- billingAddress: OrderAddress | null;
1403
- campaignOffers: CartV2CampaignOffer[] | null;
1404
- cartId: string | null;
1405
- cartStatus: CartV2StatusEnum | null;
1406
- checkoutId: string | null;
1407
- clientIp: string | null;
1408
- couponCode: string | null;
1409
- createdAt: any | null;
1410
- createdBy: CartCreatedByEnum | null;
1411
- currencyCode: string;
1412
- currencyRates: OrderCurrencyRate[];
1413
- customer: OrderCustomer | null;
1414
- customerId: string | null;
1415
- deleted: boolean | null;
1416
- dueDate: any | null;
1417
- giftPackageLines: OrderGiftPackageLine[] | null;
1418
- giftPackageNote: string | null;
1419
- host: string | null;
1420
- id: string;
1421
- isGiftPackage: boolean | null;
1422
- itemCount: number | null;
1423
- merchantId: string;
1424
- note: string | null;
1425
- orderAdjustments: OrderAdjustment[] | null;
1426
- orderLineItems: OrderLineItem[];
1427
- orderNumber: string | null;
1428
- orderPackageStatus: OrderPackageStatusEnum | null;
1429
- orderedAt: any | null;
1430
- priceListId: string | null;
1431
- recoverEmailStatus: CheckoutRecoveryEmailStatusEnum | null;
1432
- recoveryStatus: CheckoutRecoveryStatusEnum | null;
1433
- salesChannelId: string;
1434
- shippingAddress: OrderAddress | null;
1435
- shippingLines: OrderShippingLine[] | null;
1436
- shippingMethod: ShippingMethodEnum;
1437
- shippingSettingsId: string | null;
1438
- shippingZoneRateId: string | null;
1439
- status: CartV2StatusEnum;
1440
- stockLocationId: string | null;
1441
- storefrontId: string | null;
1442
- storefrontRouting: OrderStorefrontRouting | null;
1443
- storefrontRoutingId: string | null;
1444
- storefrontThemeId: string | null;
1445
- taxLines: OrderTaxLine[] | null;
1446
- totalFinalPrice: number;
1447
- totalPrice: number;
1448
- updatedAt: any | null;
1449
- userAgent: string | null;
1607
+ export interface ProductFilterSettings {
1608
+ customSortedValues: string[] | null;
1609
+ showCollapsedOnDesktop: boolean;
1610
+ showCollapsedOnMobile: boolean;
1611
+ sortType: ProductFilterSortTypeEnum;
1612
+ useAndFilter: boolean | null;
1450
1613
  }
1451
- export interface CartV2CampaignOffer {
1452
- appliedOrderLineId: string | null;
1453
- campaignOffer: CampaignOffer | null;
1454
- campaignOfferId: string;
1455
- campaignOfferProductId: string | null;
1456
- offerEndDate: any | null;
1457
- offerStartDate: any;
1458
- status: CartCampaignOfferStatus;
1459
- targetPageTypes: CampaignOfferTargetPageTypeEnum[];
1460
- triggerSourceOrderLineId: string;
1614
+ export interface ProductImage {
1615
+ imageId: string | null;
1616
+ isMain: boolean;
1617
+ isVideo: boolean | null;
1618
+ order: number;
1461
1619
  }
1462
- export interface Checkout {
1463
- abandonedCheckoutFlows: AbandonedCartFlow[] | null;
1464
- adjustments: OrderAdjustment[] | null;
1465
- availableShippingMethods: AvailableShippingMethod[] | null;
1466
- billingAddress: OrderAddress | null;
1467
- cart: Cart | null;
1468
- cartId: string;
1469
- couponCode: string | null;
1620
+ export interface ProductItem {
1470
1621
  createdAt: any | null;
1471
- customer: CheckoutCustomer | null;
1472
1622
  deleted: boolean | null;
1473
- giftPackageLines: OrderGiftPackageLine[] | null;
1474
- giftPackageNote: string | null;
1475
1623
  id: string;
1476
- isGiftPackage: boolean | null;
1477
- merchantId: string;
1478
- note: string | null;
1479
- orderId: string | null;
1480
- orderNumber: string | null;
1481
- orderedAt: any | null;
1482
- recoverEmailStatus: CheckoutRecoveryEmailStatusEnum | null;
1483
- recoveryStatus: CheckoutRecoveryStatusEnum | null;
1484
- shippingAddress: OrderAddress | null;
1485
- shippingLines: OrderShippingLine[] | null;
1486
- shippingMethod: ShippingMethodEnum;
1487
- shippingSettingsId: string | null;
1488
- shippingZoneRateId: string | null;
1489
- status: CheckoutStatusEnum;
1490
- stockLocationId: string | null;
1491
- totalFinalPrice: number;
1624
+ productId: string;
1492
1625
  updatedAt: any | null;
1626
+ variantId: string;
1493
1627
  }
1494
- export interface CheckoutCustomer {
1495
- accountStatus: CustomerAccountStatusEnum | null;
1496
- customerGroupIds: string[] | null;
1497
- email: string | null;
1498
- firstName: string | null;
1499
- id: string | null;
1500
- identityNumber: string | null;
1501
- lastName: string | null;
1502
- notificationsAccepted: boolean | null;
1503
- phone: string | null;
1504
- subscriptionStatus: CustomerEmailSubscriptionStatusesEnum | null;
1505
- }
1506
- export interface CheckoutOption {
1507
- name: string;
1508
- required: boolean;
1509
- }
1510
- export interface CheckoutSettings {
1628
+ export interface ProductLastViewed {
1511
1629
  createdAt: any | null;
1630
+ customerId: string;
1512
1631
  deleted: boolean | null;
1513
- giftPackagePriceList: CheckoutSettingsPrice[] | null;
1514
1632
  id: string;
1515
- identityNumberRequirement: CheckoutRequirementEnum;
1516
- isAccountRequired: boolean;
1517
- isGiftPackageEnabled: boolean | null;
1518
- isShowPostalCode: boolean | null;
1519
- isTermsAndConditionsDefaultChecked: boolean | null;
1520
- options: CheckoutOption[] | null;
1521
- phoneRequirement: CheckoutRequirementEnum;
1522
- postalCodeRequirement: CheckoutRequirementEnum | null;
1523
- showCheckoutNote: boolean | null;
1524
- showTermsAndConditionsCheckbox: boolean;
1525
- storefrontId: string;
1633
+ products: ProductItem[];
1526
1634
  updatedAt: any | null;
1527
1635
  }
1528
- export interface CheckoutSettingsPrice {
1529
- currencyCode: string;
1530
- price: number;
1531
- }
1532
- export interface CurrencyRate {
1533
- baseCurrency: string;
1636
+ export interface ProductOption {
1534
1637
  createdAt: any | null;
1535
- date: any;
1638
+ dateSettings: ProductOptionDateSettings | null;
1536
1639
  deleted: boolean | null;
1640
+ fileSettings: ProductOptionFileSettings | null;
1537
1641
  id: string;
1538
- rates: CurrencyRateData[];
1642
+ isOptional: boolean | null;
1643
+ name: string;
1644
+ optionalText: string | null;
1645
+ order: number;
1646
+ otherPrices: ProductOptionSelectValueOtherPrice[] | null;
1647
+ price: number | null;
1648
+ requiredOptionId: string | null;
1649
+ requiredOptionValueIds: string[] | null;
1650
+ selectSettings: ProductOptionSelectSettings | null;
1651
+ textSettings: ProductOptionTextSettings | null;
1652
+ type: ProductOptionTypeEnum;
1539
1653
  updatedAt: any | null;
1540
1654
  }
1541
- export interface CurrencyRateData {
1542
- code: string;
1543
- rate: number;
1544
- }
1545
- export interface FixedDiscount {
1546
- amount: number | null;
1547
- filters: CampaignFilter[] | null;
1548
- lineItemQuantityRange: CampaignMinMaxRangeField | null;
1549
- priceRange: CampaignMinMaxRangeField | null;
1550
- }
1551
- export interface GetProductCampaignsResponse {
1552
- campaign: Campaign;
1553
- variantIds: string[];
1655
+ export interface ProductOptionDateSettings {
1656
+ max: any | null;
1657
+ maxRelativeNextDate: number | null;
1658
+ min: any | null;
1659
+ minRelativeNextDate: number | null;
1554
1660
  }
1555
- export interface GetProductOptionFileUrl {
1556
- fields: any;
1557
- optionUrl: string;
1558
- url: string;
1661
+ export interface ProductOptionFileSettings {
1662
+ allowedExtensions: string[] | null;
1663
+ maxQuantity: number | null;
1664
+ minQuantity: number | null;
1559
1665
  }
1560
- export interface GetY {
1561
- amount: number;
1562
- automaticallyAddItemToCart: boolean | null;
1563
- discountRatio: number;
1564
- filter: CampaignFilter;
1666
+ export interface ProductOptionSelectSettings {
1667
+ maxSelect: number | null;
1668
+ minSelect: number | null;
1669
+ type: ProductOptionSelectTypeEnum;
1670
+ values: ProductOptionSelectValue[];
1565
1671
  }
1566
- export interface Invoice {
1567
- appId: string;
1568
- appName: string;
1672
+ export interface ProductOptionSelectValue {
1673
+ colorCode: string | null;
1569
1674
  createdAt: any | null;
1675
+ deleted: boolean | null;
1570
1676
  id: string;
1571
- invoiceNumber: string;
1572
- storeAppId: string;
1573
- type: InvoiceTypeEnum;
1574
- }
1575
- export interface OrderAddress {
1576
- addressLine1: string;
1577
- addressLine2: string | null;
1578
- city: OrderAddressCity;
1579
- company: string | null;
1580
- country: OrderAddressCountry;
1581
- district: OrderAddressDistrict | null;
1582
- firstName: string;
1583
- id: string | null;
1584
- identityNumber: string | null;
1585
- isDefault: boolean;
1586
- lastName: string;
1587
- phone: string | null;
1588
- postalCode: string | null;
1589
- state: OrderAddressState | null;
1590
- taxNumber: string | null;
1591
- taxOffice: string | null;
1592
- }
1593
- export interface OrderAddressCity {
1594
- code: string | null;
1595
- id: string | null;
1596
- name: string;
1597
- }
1598
- export interface OrderAddressCountry {
1599
- code: string | null;
1600
- id: string | null;
1601
- iso2: string | null;
1602
- iso3: string | null;
1603
- name: string;
1604
- }
1605
- export interface OrderAddressDistrict {
1606
- code: string | null;
1607
- id: string | null;
1608
- name: string | null;
1609
- }
1610
- export interface OrderAddressState {
1611
- code: string | null;
1612
- id: string | null;
1613
- name: string | null;
1614
- }
1615
- export interface OrderAdjustment {
1616
- amount: number;
1617
- amountType: AmountTypeEnum;
1618
- appliedOrderLines: OrderAdjustmentAppliedOrderLine[] | null;
1619
- campaignId: string | null;
1620
- campaignType: CampaignTypeEnum | null;
1621
- couponId: string | null;
1622
- name: string;
1623
1677
  order: number;
1624
- type: AdjustmentEnum;
1625
- }
1626
- export interface OrderAdjustmentAppliedOrderLine {
1627
- amount: number;
1628
- appliedQuantity: number;
1629
- isAutoCreated: boolean | null;
1630
- orderLineId: string;
1631
- }
1632
- export interface OrderCurrencyRate {
1633
- code: string;
1634
- originalRate: number;
1635
- rate: number;
1636
- }
1637
- export interface OrderCustomer {
1638
- email: string | null;
1639
- firstName: string | null;
1640
- fullName: string | null;
1641
- id: string | null;
1642
- isGuestCheckout: boolean | null;
1643
- lastName: string | null;
1644
- notificationsAccepted: boolean | null;
1678
+ otherPrices: ProductOptionSelectValueOtherPrice[] | null;
1679
+ price: number | null;
1680
+ thumbnailImageId: string | null;
1681
+ updatedAt: any | null;
1682
+ value: string;
1645
1683
  }
1646
- export interface OrderGiftPackageLine {
1684
+ export interface ProductOptionSelectValueOtherPrice {
1685
+ currencyCode: string;
1647
1686
  price: number;
1648
- taxValue: number | null;
1649
1687
  }
1650
- export interface OrderLineDiscount {
1651
- amount: number;
1652
- amountType: AmountTypeEnum;
1653
- campaignOfferId: string | null;
1654
- campaignOfferProductId: string | null;
1655
- maxApplicableQuantity: number | null;
1656
- reason: string | null;
1688
+ export interface ProductOptionSelectValueTranslations {
1689
+ id: string;
1690
+ value: string | null;
1657
1691
  }
1658
- export interface OrderLineItem {
1692
+ export interface ProductOptionSet {
1659
1693
  createdAt: any | null;
1660
- currencyCode: string | null;
1661
1694
  deleted: boolean | null;
1662
- discount: OrderLineDiscount | null;
1663
- discountPrice: number | null;
1664
- finalPrice: number | null;
1665
1695
  id: string;
1666
- options: OrderLineOption[] | null;
1667
- originalOrderLineItemId: string | null;
1668
- price: number;
1669
- quantity: number;
1670
- status: OrderLineItemStatusEnum;
1671
- statusUpdatedAt: any | null;
1672
- stockLocationId: string | null;
1673
- taxValue: number | null;
1674
- updatedAt: any | null;
1675
- variant: OrderLineVariant;
1676
- }
1677
- export interface OrderLineOption {
1678
1696
  name: string;
1679
- productOptionId: string;
1680
- productOptionsSetId: string;
1681
- type: ProductOptionTypeEnum;
1682
- values: OrderLineOptionValue[];
1683
- }
1684
- export interface OrderLineOptionValue {
1685
- name: string | null;
1686
- price: number | null;
1687
- value: string;
1697
+ options: ProductOption[];
1698
+ translations: ProductOptionSetTranslations[] | null;
1699
+ updatedAt: any | null;
1688
1700
  }
1689
- export interface OrderLineVariant {
1690
- barcodeList: string[] | null;
1691
- brand: OrderLineVariantBrand | null;
1692
- categories: OrderLineVariantCategory[] | null;
1693
- id: string | null;
1694
- mainImageId: string | null;
1695
- name: string;
1696
- prices: OrderLineVariantPrice[] | null;
1697
- productId: string | null;
1698
- sku: string | null;
1699
- slug: string | null;
1700
- tagIds: string[] | null;
1701
- taxValue: number | null;
1702
- type: number | null;
1703
- variantValues: OrderLineVariantVariantValues[] | null;
1704
- weight: number | null;
1701
+ export interface ProductOptionSetTranslations {
1702
+ locale: string;
1703
+ options: ProductOptionTranslations[] | null;
1705
1704
  }
1706
- export interface OrderLineVariantBrand {
1707
- id: string;
1708
- name: string;
1705
+ export interface ProductOptionTextSettings {
1706
+ max: number | null;
1707
+ min: number | null;
1709
1708
  }
1710
- export interface OrderLineVariantCategory {
1711
- categoryPath: OrderLineVariantCategoryPath[] | null;
1709
+ export interface ProductOptionTranslations {
1712
1710
  id: string;
1713
- name: string;
1711
+ name: string | null;
1712
+ optionalText: string | null;
1713
+ values: ProductOptionSelectValueTranslations[] | null;
1714
1714
  }
1715
- export interface OrderLineVariantCategoryPath {
1716
- id: string;
1717
- name: string;
1715
+ export interface ProductPaginationResponse {
1716
+ count: number;
1717
+ data: Product[];
1718
+ hasNext: boolean;
1719
+ limit: number;
1720
+ page: number;
1718
1721
  }
1719
- export interface OrderLineVariantPrice {
1722
+ export interface ProductPrice {
1720
1723
  buyPrice: number | null;
1721
1724
  currency: string | null;
1722
1725
  discountPrice: number | null;
1723
1726
  priceListId: string | null;
1724
1727
  sellPrice: number;
1725
1728
  }
1726
- export interface OrderLineVariantVariantValues {
1727
- order: number;
1728
- variantTypeId: string;
1729
- variantTypeName: string | null;
1730
- variantValueId: string;
1731
- variantValueName: string | null;
1729
+ export interface ProductSearchResponse {
1730
+ count: number;
1731
+ data: any;
1732
+ facets: ProductFacetCount[] | null;
1733
+ limit: number;
1734
+ page: number;
1735
+ results: SearchProduct[];
1736
+ totalCount: number;
1732
1737
  }
1733
- export interface OrderPackage {
1738
+ export interface ProductStockLocation {
1734
1739
  createdAt: any | null;
1735
1740
  deleted: boolean | null;
1736
- errorMessage: string | null;
1737
1741
  id: string;
1738
- note: string | null;
1739
- orderLineItemIds: string[];
1740
- orderPackageFulfillStatus: OrderPackageFulfillStatusEnum;
1741
- orderPackageNumber: string;
1742
+ productId: string;
1743
+ stockCount: number;
1742
1744
  stockLocationId: string;
1743
- trackingInfo: TrackingInfo | null;
1744
- updatedAt: any | null;
1745
- }
1746
- export interface OrderPaymentMethod {
1747
- paymentGatewayCode: string | null;
1748
- paymentGatewayId: string | null;
1749
- paymentGatewayName: string | null;
1750
- price: number;
1751
- type: PaymentMethodTypeEnum;
1752
- }
1753
- export interface OrderRefundSettings {
1754
- autoApprove: boolean;
1755
- createdAt: any | null;
1756
- deleted: boolean | null;
1757
- id: string;
1758
- isActiveRefundSection: boolean;
1759
- orderRefundDayLimit: number | null;
1760
- refundDesc: string;
1761
- storefrontId: string | null;
1762
1745
  updatedAt: any | null;
1746
+ variantId: string;
1763
1747
  }
1764
- export interface OrderShippingLine {
1765
- finalPrice: number;
1766
- isRefunded: boolean | null;
1767
- paymentMethod: PaymentMethodTypeEnum | null;
1768
- price: number;
1769
- shippingSettingsId: string | null;
1770
- shippingZoneRateId: string | null;
1771
- taxValue: number | null;
1772
- title: string;
1773
- }
1774
- export interface OrderStorefrontRouting {
1775
- domain: string | null;
1776
- dynamicCurrencySettings: OrderStorefrontRoutingDynamicCurrencySettings | null;
1777
- id: string;
1778
- locale: string | null;
1779
- path: string | null;
1780
- priceListId: string | null;
1748
+ export interface ProductTagTranslation {
1749
+ description: string | null;
1750
+ locale: string;
1751
+ name: string | null;
1781
1752
  }
1782
- export interface OrderStorefrontRoutingDynamicCurrencySettings {
1783
- roundingFormat: string | null;
1784
- targetCurrencyCode: string;
1753
+ export interface ProductTranslation {
1754
+ description: string | null;
1755
+ locale: string;
1756
+ name: string | null;
1785
1757
  }
1786
- export interface OrderTaxLine {
1787
- price: number;
1788
- rate: number;
1758
+ export interface ProductVariantType {
1759
+ order: number;
1760
+ variantTypeId: string;
1761
+ variantValueIds: string[] | null;
1789
1762
  }
1790
1763
  export interface Raffle {
1791
1764
  createdAt: any | null;
@@ -1850,179 +1823,167 @@ export interface RaffleVariantInformation {
1850
1823
  productId: string;
1851
1824
  variantId: string;
1852
1825
  }
1853
- export interface StorefrontOrder {
1854
- billingAddress: OrderAddress | null;
1855
- cancelReason: CancelledReasonEnum | null;
1856
- cancelledAt: any | null;
1857
- createdAt: any | null;
1858
- currencyCode: string;
1859
- currencyRates: OrderCurrencyRate[];
1860
- customer: OrderCustomer | null;
1861
- customerId: string | null;
1862
- deleted: boolean | null;
1863
- giftPackageLines: OrderGiftPackageLine[] | null;
1864
- giftPackageNote: string | null;
1826
+ export interface RetrieveInstallmentInfoResponse {
1827
+ bankName: string | null;
1828
+ binNumber: string;
1829
+ cardAssociation: TransactionCardAssociationEnum | null;
1830
+ cardFamily: string | null;
1831
+ cardType: TransactionCardTypeEnum | null;
1832
+ installmentPrices: TransactionInstallmentPrice[] | null;
1833
+ price: number;
1834
+ }
1835
+ export interface SearchCategory {
1865
1836
  id: string;
1866
- invoices: Invoice[] | null;
1867
- isGiftPackage: boolean | null;
1868
- merchantId: string;
1869
- note: string | null;
1870
- orderAdjustments: OrderAdjustment[] | null;
1871
- orderLineItems: OrderLineItem[];
1872
- orderNumber: string | null;
1873
- orderPackageStatus: OrderPackageStatusEnum | null;
1874
- orderPackages: OrderPackage[] | null;
1875
- orderPaymentStatus: OrderPaymentStatusEnum | null;
1876
- orderTagIds: string[] | null;
1877
- orderedAt: any | null;
1878
- paymentMethods: OrderPaymentMethod[] | null;
1879
- shippingAddress: OrderAddress | null;
1880
- shippingLines: OrderShippingLine[] | null;
1881
- shippingMethod: ShippingMethodEnum;
1882
- status: OrderStatusEnum;
1883
- taxLines: OrderTaxLine[] | null;
1884
- totalFinalPrice: number;
1885
- totalPrice: number;
1886
- updatedAt: any | null;
1837
+ name: string;
1838
+ path: SearchCategoryPath[];
1839
+ slug: string | null;
1840
+ translations: CategoryTranslation[] | null;
1887
1841
  }
1888
- export interface TrackingInfo {
1889
- barcode: string | null;
1890
- cargoCompany: string | null;
1891
- isSendNotification: boolean | null;
1892
- trackingLink: string | null;
1893
- trackingNumber: string | null;
1842
+ export interface SearchCategoryPath {
1843
+ id: string;
1844
+ name: string;
1845
+ slug: string | null;
1846
+ translations: CategoryTranslation[] | null;
1894
1847
  }
1895
- export interface MerchantSettings {
1896
- createdAt: any | null;
1897
- currencyFormats: MerchantSettingsCurrencyFormat[] | null;
1848
+ export interface SearchHTMLMetaData {
1849
+ canonicals: string[] | null;
1850
+ description: string | null;
1851
+ disableIndex: boolean | null;
1852
+ metadataOverrides: SearchHTMLMetaDataOverride[] | null;
1853
+ pageTitle: string | null;
1854
+ redirectTo: string | null;
1855
+ slug: string;
1856
+ translations: HTMLMetaDataTranslation[] | null;
1857
+ }
1858
+ export interface SearchHTMLMetaDataOverride {
1859
+ description: string;
1860
+ language: string | null;
1861
+ pageTitle: string;
1862
+ storefrontId: string | null;
1863
+ storefrontRegionId: string | null;
1864
+ }
1865
+ export interface SearchProduct {
1866
+ attributes: SearchProductAttributeValue[] | null;
1867
+ brand: SearchProductBrand | null;
1868
+ categories: SearchCategory[] | null;
1898
1869
  deleted: boolean | null;
1870
+ description: string | null;
1871
+ groupVariantsByVariantTypeId: string | null;
1899
1872
  id: string;
1900
- logoId: string | null;
1901
- merchantName: string;
1902
- updatedAt: any | null;
1873
+ metaData: SearchHTMLMetaData | null;
1874
+ name: string;
1875
+ productOptionSetId: string | null;
1876
+ productVariantTypes: SearchProductVariantType[];
1877
+ salesChannelIds: string[] | null;
1878
+ shortDescription: string | null;
1879
+ tags: SearchProductTag[] | null;
1880
+ translations: ProductTranslation[] | null;
1881
+ type: string;
1882
+ variants: SearchVariant[];
1883
+ weight: number | null;
1903
1884
  }
1904
- export interface MerchantSettingsCurrencyFormat {
1905
- currencyCode: string;
1906
- decimalSeparator: string;
1907
- omitZeroDecimal: boolean;
1908
- symbol: string;
1909
- symbolPosition: CurrencyFormatSymbolPosition;
1910
- thousandSeparator: string;
1885
+ export interface SearchProductAttribute {
1886
+ id: string;
1887
+ name: string;
1888
+ tableTemplate: SearchProductAttributeTableTemplate | null;
1889
+ translations: ProductAttributeTranslation[] | null;
1890
+ type: string;
1911
1891
  }
1912
- export interface City {
1913
- cityCode: string | null;
1914
- countryId: string;
1915
- createdAt: any | null;
1916
- deleted: boolean | null;
1892
+ export interface SearchProductAttributeOption {
1917
1893
  id: string;
1918
- latitude: string | null;
1919
- longitude: string | null;
1920
1894
  name: string;
1921
- order: number | null;
1922
- stateId: string;
1923
- updatedAt: any | null;
1924
1895
  }
1925
- export interface Country {
1926
- capital: string | null;
1927
- createdAt: any | null;
1928
- currency: string | null;
1929
- deleted: boolean | null;
1930
- emoji: string | null;
1931
- emojiString: string | null;
1896
+ export interface SearchProductAttributeTableCellData {
1932
1897
  id: string;
1933
- iso2: string | null;
1934
- iso3: string | null;
1935
- locationTranslations: LocationTranslations;
1936
1898
  name: string;
1937
- native: string | null;
1938
- phoneCode: string | null;
1939
- region: string | null;
1940
- subregion: string | null;
1941
- updatedAt: any | null;
1942
1899
  }
1943
- export interface District {
1944
- cityId: string;
1945
- countryId: string;
1946
- createdAt: any | null;
1947
- deleted: boolean | null;
1900
+ export interface SearchProductAttributeTableTemplate {
1901
+ columns: SearchProductAttributeTableCellData[];
1902
+ rows: SearchProductAttributeTableCellData[];
1903
+ }
1904
+ export interface SearchProductAttributeValue {
1905
+ imageIds: string[] | null;
1906
+ productAttribute: SearchProductAttribute | null;
1907
+ productAttributeOption: SearchProductAttributeOption | null;
1908
+ value: string | null;
1909
+ }
1910
+ export interface SearchProductBrand {
1911
+ id: string;
1912
+ name: string;
1913
+ slug: string | null;
1914
+ translations: ProductBrandTranslation[] | null;
1915
+ }
1916
+ export interface SearchProductImage {
1917
+ id: string;
1918
+ isMain: boolean | null;
1919
+ isVideo: boolean | null;
1920
+ order: number;
1921
+ }
1922
+ export interface SearchProductPrice {
1923
+ buyPrice: number | null;
1924
+ currency: string | null;
1925
+ discountPrice: number | null;
1926
+ priceListId: string | null;
1927
+ sellPrice: number;
1928
+ }
1929
+ export interface SearchProductStockLocation {
1930
+ stockCount: number;
1931
+ stockLocationId: string;
1932
+ }
1933
+ export interface SearchProductTag {
1948
1934
  id: string;
1949
- latitude: string | null;
1950
- longitude: string | null;
1951
1935
  name: string;
1952
- order: number | null;
1953
- stateId: string;
1954
- updatedAt: any | null;
1936
+ translations: ProductTagTranslation[] | null;
1955
1937
  }
1956
- export interface LocationTranslations {
1957
- en: string;
1958
- tr: string;
1938
+ export interface SearchProductVariantType {
1939
+ order: number;
1940
+ variantType: SearchVariantType;
1941
+ variantValueIds: string[];
1959
1942
  }
1960
- export interface State {
1961
- countryId: string;
1962
- createdAt: any | null;
1943
+ export interface SearchVariant {
1944
+ attributes: SearchProductAttributeValue[] | null;
1945
+ barcodeList: string[] | null;
1963
1946
  deleted: boolean | null;
1964
1947
  id: string;
1965
- name: string;
1966
- stateCode: string | null;
1967
- updatedAt: any | null;
1948
+ images: SearchProductImage[] | null;
1949
+ isActive: boolean | null;
1950
+ prices: SearchProductPrice[] | null;
1951
+ sellIfOutOfStock: boolean | null;
1952
+ sku: string | null;
1953
+ stocks: SearchProductStockLocation[] | null;
1954
+ variantValues: SearchVariationValueRelation[] | null;
1955
+ weight: number | null;
1968
1956
  }
1969
- export interface Town {
1970
- createdAt: any | null;
1971
- deleted: boolean | null;
1972
- districtId: string;
1957
+ export interface SearchVariantType {
1973
1958
  id: string;
1974
1959
  name: string;
1975
- order: number | null;
1976
- updatedAt: any | null;
1977
- }
1978
- export interface CheckStocksLineResponse {
1979
- isAvailable: boolean;
1980
- stockCount: number;
1981
- variantId: string;
1982
- }
1983
- export interface CheckStocksResponse {
1984
- lines: CheckStocksLineResponse[];
1960
+ selectionType: string;
1961
+ translations: VariantTypeTranslation[] | null;
1962
+ values: SearchVariantValue[];
1985
1963
  }
1986
- export interface GetAvailableStockLocation {
1987
- address: GetAvailableStockLocationAddress | null;
1964
+ export interface SearchVariantValue {
1965
+ colorCode: string | null;
1988
1966
  id: string;
1989
1967
  name: string;
1990
- type: StockLocationTypeEnum | null;
1991
- }
1992
- export interface GetAvailableStockLocationAddress {
1993
- address: string | null;
1994
- city: GetAvailableStockLocationAddressCity | null;
1995
- country: GetAvailableStockLocationAddressCity | null;
1996
- district: GetAvailableStockLocationAddressCity | null;
1997
- phone: string | null;
1998
- postalCode: string | null;
1999
- state: GetAvailableStockLocationAddressCity | null;
2000
- }
2001
- export interface GetAvailableStockLocationAddressCity {
2002
- code: string | null;
2003
- id: string | null;
2004
- name: string | null;
2005
- }
2006
- export interface GetAvailableStockLocationsResponse {
2007
- stockLocations: GetAvailableStockLocation[];
1968
+ thumbnailImageId: string | null;
2008
1969
  }
2009
- export interface GetVariantStockLocation {
2010
- stockCount: number;
2011
- stockLocation: GetAvailableStockLocation;
2012
- variantId: string;
1970
+ export interface SearchVariationValueRelation {
1971
+ variantTypeId: string;
1972
+ variantValueId: string;
2013
1973
  }
2014
- export interface GetVariantStockLocationListResponse {
2015
- stockLocations: GetVariantStockLocation[];
1974
+ export interface SocialLoginSettings {
1975
+ apiKey: string | null;
1976
+ apiSecret: string | null;
1977
+ provider: CustomerSocialLoginProviderEnum;
2016
1978
  }
2017
- export interface ProductStockLocation {
1979
+ export interface State {
1980
+ countryId: string;
2018
1981
  createdAt: any | null;
2019
1982
  deleted: boolean | null;
2020
1983
  id: string;
2021
- productId: string;
2022
- stockCount: number;
2023
- stockLocationId: string;
1984
+ name: string;
1985
+ stateCode: string | null;
2024
1986
  updatedAt: any | null;
2025
- variantId: string;
2026
1987
  }
2027
1988
  export interface StockLocation {
2028
1989
  address: StockLocationAddress | null;
@@ -2066,186 +2027,241 @@ export interface StockLocationAddressState {
2066
2027
  id: string | null;
2067
2028
  name: string | null;
2068
2029
  }
2069
- export interface Customer {
2070
- accountStatus: CustomerAccountStatusEnum | null;
2071
- accountStatusUpdatedAt: any | null;
2072
- addresses: CustomerAddress[] | null;
2073
- attributes: CustomerAttributeValue[] | null;
2030
+ export interface Storefront {
2031
+ analytics4Id: string | null;
2074
2032
  createdAt: any | null;
2075
- customerGroupIds: string[] | null;
2076
- customerSequence: number | null;
2077
2033
  deleted: boolean | null;
2078
- email: string | null;
2079
- emailVerifiedDate: any | null;
2080
- firstName: string;
2081
- fullName: string | null;
2034
+ domains: StorefrontDomain[] | null;
2035
+ emailSettingsId: string | null;
2036
+ fbAccessToken: string | null;
2037
+ fbpId: string | null;
2038
+ gtmId: string | null;
2082
2039
  id: string;
2083
- isEmailVerified: boolean | null;
2084
- isPhoneVerified: boolean | null;
2085
- lastName: string | null;
2086
- note: string | null;
2087
- orderCount: number | null;
2088
- passwordUpdateDate: any | null;
2089
- phone: string | null;
2090
- phoneVerifiedDate: any | null;
2091
- registrationSource: CustomerRegistrationSourceEnum | null;
2092
- subscriptionStatus: CustomerEmailSubscriptionStatusesEnum | null;
2093
- subscriptionStatusUpdatedAt: any | null;
2094
- tagIds: string[] | null;
2040
+ localizations: StorefrontLocalization[];
2041
+ mainStorefrontThemeId: string | null;
2042
+ name: string;
2043
+ pickUpStockLocationIds: string[] | null;
2044
+ routings: StorefrontRouting[];
2045
+ salesChannelId: string;
2046
+ socialLoginSettings: SocialLoginSettings[] | null;
2047
+ status: StorefrontStatusTypes;
2048
+ themes: StorefrontTheme[];
2049
+ tiktokPixelId: string | null;
2050
+ universalAnalyticsId: string | null;
2095
2051
  updatedAt: any | null;
2096
2052
  }
2097
- export interface CustomerAddress {
2098
- addressLine1: string;
2099
- addressLine2: string | null;
2100
- attributes: CustomerAttributeValue[] | null;
2101
- city: CustomerAddressCity;
2102
- company: string | null;
2103
- country: CustomerAddressCountry;
2053
+ export interface StorefrontDomain {
2104
2054
  createdAt: any | null;
2105
2055
  deleted: boolean | null;
2106
- district: CustomerAddressDistrict | null;
2107
- firstName: string;
2108
2056
  id: string;
2109
- identityNumber: string | null;
2110
2057
  isDefault: boolean | null;
2111
- lastName: string;
2112
- phone: string | null;
2113
- postalCode: string | null;
2114
- state: CustomerAddressState | null;
2115
- taxNumber: string | null;
2116
- taxOffice: string | null;
2117
- title: string;
2058
+ merchantDomainId: string;
2059
+ name: string;
2060
+ redirectDomainName: string | null;
2118
2061
  updatedAt: any | null;
2119
2062
  }
2120
- export interface CustomerAddressCity {
2121
- code: string | null;
2122
- id: string | null;
2123
- name: string;
2063
+ export interface StorefrontDynamicCurrencySettings {
2064
+ roundingFormat: string | null;
2065
+ targetCurrencyCode: string;
2124
2066
  }
2125
- export interface CustomerAddressCountry {
2126
- code: string | null;
2127
- id: string | null;
2128
- iso2: string | null;
2129
- iso3: string | null;
2067
+ export interface StorefrontLocalization {
2068
+ createdAt: any | null;
2069
+ deleted: boolean | null;
2070
+ id: string;
2071
+ isDefault: boolean;
2072
+ locale: string;
2130
2073
  name: string;
2074
+ updatedAt: any | null;
2131
2075
  }
2132
- export interface CustomerAddressDistrict {
2133
- code: string | null;
2134
- id: string | null;
2135
- name: string | null;
2076
+ export interface StorefrontOrder {
2077
+ billingAddress: OrderAddress | null;
2078
+ cancelReason: CancelledReasonEnum | null;
2079
+ cancelledAt: any | null;
2080
+ createdAt: any | null;
2081
+ currencyCode: string;
2082
+ currencyRates: OrderCurrencyRate[];
2083
+ customer: OrderCustomer | null;
2084
+ customerId: string | null;
2085
+ deleted: boolean | null;
2086
+ giftPackageLines: OrderGiftPackageLine[] | null;
2087
+ giftPackageNote: string | null;
2088
+ id: string;
2089
+ invoices: Invoice[] | null;
2090
+ isGiftPackage: boolean | null;
2091
+ merchantId: string;
2092
+ note: string | null;
2093
+ orderAdjustments: OrderAdjustment[] | null;
2094
+ orderLineItems: OrderLineItem[];
2095
+ orderNumber: string | null;
2096
+ orderPackageStatus: OrderPackageStatusEnum | null;
2097
+ orderPackages: OrderPackage[] | null;
2098
+ orderPaymentStatus: OrderPaymentStatusEnum | null;
2099
+ orderTagIds: string[] | null;
2100
+ orderedAt: any | null;
2101
+ paymentMethods: OrderPaymentMethod[] | null;
2102
+ shippingAddress: OrderAddress | null;
2103
+ shippingLines: OrderShippingLine[] | null;
2104
+ shippingMethod: ShippingMethodEnum;
2105
+ status: OrderStatusEnum;
2106
+ taxLines: OrderTaxLine[] | null;
2107
+ totalFinalPrice: number;
2108
+ totalPrice: number;
2109
+ updatedAt: any | null;
2136
2110
  }
2137
- export interface CustomerAddressState {
2138
- code: string | null;
2139
- id: string | null;
2140
- name: string | null;
2111
+ export interface StorefrontRouting {
2112
+ countryCodes: string[] | null;
2113
+ createdAt: any | null;
2114
+ deleted: boolean | null;
2115
+ domain: string | null;
2116
+ dynamicCurrencySettings: StorefrontDynamicCurrencySettings | null;
2117
+ id: string;
2118
+ locale: string;
2119
+ path: string | null;
2120
+ priceListId: string | null;
2121
+ updatedAt: any | null;
2141
2122
  }
2142
- export interface CustomerAttribute {
2123
+ export interface StorefrontTheme {
2143
2124
  createdAt: any | null;
2144
2125
  deleted: boolean | null;
2145
- description: string | null;
2146
2126
  id: string;
2127
+ isMainTheme: boolean;
2147
2128
  name: string;
2148
- options: CustomerAttributeOption[] | null;
2149
- salesChannels: CustomerAttributeSalesChannel[] | null;
2150
- translations: CustomerAttributeTranslation[] | null;
2151
- type: CustomerAttributeTypeEnum;
2129
+ status: StorefrontThemeStatus;
2130
+ themeId: string;
2131
+ themeVersionId: string;
2132
+ updatedAt: any | null;
2133
+ }
2134
+ export interface StorefrontTransaction {
2135
+ amount: number;
2136
+ checkoutId: string | null;
2137
+ createdAt: any | null;
2138
+ currencyCode: string;
2139
+ customerId: string | null;
2140
+ deleted: boolean | null;
2141
+ error: TransactionError | null;
2142
+ id: string;
2143
+ orderId: string | null;
2144
+ paymentGatewayCode: string | null;
2145
+ paymentGatewayId: string;
2146
+ paymentGatewayName: string;
2147
+ paymentMethod: PaymentMethodEnum | null;
2148
+ paymentMethodDetail: TransactionPaymentMethodDetail | null;
2149
+ processedAt: any | null;
2150
+ refundReason: string | null;
2151
+ status: TransactionStatusEnum;
2152
+ type: TransactionTypeEnum;
2152
2153
  updatedAt: any | null;
2153
2154
  }
2154
- export interface CustomerAttributeOption {
2155
+ export interface Town {
2155
2156
  createdAt: any | null;
2156
2157
  deleted: boolean | null;
2158
+ districtId: string;
2157
2159
  id: string;
2158
2160
  name: string;
2161
+ order: number | null;
2159
2162
  updatedAt: any | null;
2160
2163
  }
2161
- export interface CustomerAttributeOptionTranslation {
2162
- id: string;
2163
- name: string | null;
2164
+ export interface TrackingInfo {
2165
+ barcode: string | null;
2166
+ cargoCompany: string | null;
2167
+ isSendNotification: boolean | null;
2168
+ trackingLink: string | null;
2169
+ trackingNumber: string | null;
2164
2170
  }
2165
- export interface CustomerAttributeSalesChannel {
2166
- permission: CustomerAttributePermissionEnum;
2167
- registerPageRequirement: CustomerAttributeRegisterPageRequirementEnum;
2168
- salesChannelId: string;
2169
- storefrontId: string;
2171
+ export interface TransactionError {
2172
+ code: string | null;
2173
+ declineCode: string | null;
2174
+ message: string | null;
2170
2175
  }
2171
- export interface CustomerAttributeTranslation {
2172
- description: string | null;
2173
- locale: string;
2174
- name: string | null;
2175
- options: CustomerAttributeOptionTranslation[] | null;
2176
+ export interface TransactionInstallmentPrice {
2177
+ installmentCount: number | null;
2178
+ installmentPrice: number | null;
2179
+ originalRate: number | null;
2180
+ rate: number | null;
2181
+ totalPrice: number | null;
2176
2182
  }
2177
- export interface CustomerAttributeValue {
2178
- customerAttributeId: string | null;
2179
- customerAttributeOptionId: string | null;
2180
- value: string | null;
2183
+ export interface TransactionPaymentMethodDetail {
2184
+ bankName: string | null;
2185
+ binNumber: string;
2186
+ cardAssociation: TransactionCardAssociationEnum | null;
2187
+ cardFamily: string | null;
2188
+ cardType: TransactionCardTypeEnum | null;
2189
+ installment: TransactionInstallmentPrice | null;
2190
+ lastFourDigits: string;
2191
+ threeDSecure: boolean | null;
2181
2192
  }
2182
- export interface CustomerCheckResponse {
2183
- exists: boolean;
2193
+ export interface TransactionResponse {
2194
+ error: TransactionError | null;
2195
+ orderId: string | null;
2196
+ orderNumber: string | null;
2197
+ returnSlug: string | null;
2198
+ transactionId: string | null;
2199
+ transactionStatus: TransactionStatusEnum;
2184
2200
  }
2185
- export interface CustomerFavoriteProduct {
2201
+ export interface Variant {
2202
+ attributes: ProductAttributeValue[] | null;
2203
+ barcodeList: string[] | null;
2186
2204
  createdAt: any | null;
2187
- customerId: string;
2188
2205
  deleted: boolean | null;
2206
+ hsCode: string | null;
2189
2207
  id: string;
2190
- productId: string;
2208
+ images: ProductImage[] | null;
2209
+ isActive: boolean | null;
2210
+ prices: ProductPrice[];
2211
+ sellIfOutOfStock: boolean | null;
2212
+ sku: string | null;
2213
+ stocks: VariantStock[] | null;
2191
2214
  updatedAt: any | null;
2215
+ variantValueIds: VariantValueRelation[] | null;
2216
+ weight: number | null;
2192
2217
  }
2193
- export interface CustomerLoginResponse {
2194
- customer: Customer | null;
2195
- token: string;
2196
- tokenExpiry: number;
2197
- }
2198
- export interface CustomerRefreshTokenResponse {
2199
- token: string;
2200
- tokenExpiry: number;
2218
+ export interface VariantStock {
2219
+ stockCount: number;
2220
+ stockLocationId: string;
2201
2221
  }
2202
- export interface CustomerReview {
2203
- comment: string | null;
2222
+ export interface VariantType {
2204
2223
  createdAt: any | null;
2205
- customerId: string | null;
2206
2224
  deleted: boolean | null;
2207
- email: string | null;
2208
- firstName: string | null;
2209
2225
  id: string;
2210
- imageIds: string[] | null;
2211
- lastName: string | null;
2212
- orderId: string | null;
2213
- orderNumber: string | null;
2214
- productId: string;
2215
- salesChannelId: string | null;
2216
- star: number;
2217
- status: CustomerReviewStatusEnum | null;
2218
- storefrontId: string | null;
2219
- title: string | null;
2226
+ name: string;
2227
+ selectionType: VariantSelectionTypeEnum;
2228
+ translations: VariantTypeTranslation[] | null;
2220
2229
  updatedAt: any | null;
2230
+ values: VariantValue[];
2221
2231
  }
2222
- export interface CustomerReviewSFPaginationResponse {
2223
- count: number;
2224
- data: CustomerReview[];
2225
- hasNext: boolean;
2226
- limit: number;
2227
- page: number;
2232
+ export interface VariantTypeTranslation {
2233
+ locale: string;
2234
+ name: string | null;
2235
+ values: VariantValueTranslation[] | null;
2228
2236
  }
2229
- export interface CustomerReviewSummary {
2230
- averageStar: number;
2237
+ export interface VariantValue {
2238
+ colorCode: string | null;
2231
2239
  createdAt: any | null;
2232
2240
  deleted: boolean | null;
2233
2241
  id: string;
2234
- productId: string;
2235
- stars: CustomerReviewSummaryStar[];
2236
- totalReview: number;
2242
+ name: string;
2243
+ thumbnailImageId: string | null;
2237
2244
  updatedAt: any | null;
2238
2245
  }
2239
- export interface CustomerReviewSummaryPaginationResponse {
2240
- count: number;
2241
- data: CustomerReviewSummary[];
2242
- hasNext: boolean;
2243
- limit: number;
2244
- page: number;
2246
+ export interface VariantValueRelation {
2247
+ variantTypeId: string;
2248
+ variantValueId: string;
2245
2249
  }
2246
- export interface CustomerReviewSummaryStar {
2247
- count: number;
2248
- star: number;
2250
+ export interface VariantValueTranslation {
2251
+ id: string;
2252
+ name: string | null;
2253
+ }
2254
+ export interface AddItemToCartInput {
2255
+ cartId?: string | null;
2256
+ item: CartLineItemInput;
2257
+ options?: CartLineOptionInput[] | null;
2258
+ priceListId?: string | null;
2259
+ salesChannelId: string;
2260
+ storefrontThemeId: string;
2261
+ }
2262
+ export interface AppliedProductInput {
2263
+ productId?: string | null;
2264
+ variantId: string;
2249
2265
  }
2250
2266
  export interface BlogMetadataTargetTypeEnumFilter {
2251
2267
  eq?: BlogMetadataTargetTypeEnum | null;
@@ -2253,26 +2269,22 @@ export interface BlogMetadataTargetTypeEnumFilter {
2253
2269
  ne?: BlogMetadataTargetTypeEnum | null;
2254
2270
  nin?: BlogMetadataTargetTypeEnum[] | null;
2255
2271
  }
2256
- export interface DateFilterInput {
2257
- eq?: any | null;
2258
- gt?: any | null;
2259
- gte?: any | null;
2260
- in?: any[] | null;
2261
- lt?: any | null;
2262
- lte?: any | null;
2263
- ne?: any | null;
2264
- nin?: any[] | null;
2272
+ export interface BooleanFilterInput {
2273
+ eq?: boolean | null;
2265
2274
  }
2266
- export interface PaginationInput {
2267
- limit?: number | null;
2268
- page?: number | null;
2275
+ export interface CartLineItemInput {
2276
+ id?: string | null;
2277
+ quantity: number;
2278
+ variant: CartLineVariantInput;
2269
2279
  }
2270
- export interface StringFilterInput {
2271
- eq?: string | null;
2272
- in?: string[] | null;
2273
- like?: string | null;
2274
- ne?: string | null;
2275
- nin?: string[] | null;
2280
+ export interface CartLineOptionInput {
2281
+ productOptionId: string;
2282
+ productOptionsSetId: string;
2283
+ values: string[];
2284
+ }
2285
+ export interface CartLineVariantInput {
2286
+ id: string;
2287
+ name?: string | null;
2276
2288
  }
2277
2289
  export interface CategoryFilterInput {
2278
2290
  eq?: string | null;
@@ -2281,73 +2293,43 @@ export interface CategoryFilterInput {
2281
2293
  export interface CategoryPathFilterInput {
2282
2294
  in?: string[] | null;
2283
2295
  }
2284
- export interface HTMLMetaDataTargetTypeEnumFilter {
2285
- eq?: HTMLMetaDataTargetTypeEnum | null;
2286
- in?: HTMLMetaDataTargetTypeEnum[] | null;
2287
- ne?: HTMLMetaDataTargetTypeEnum | null;
2288
- nin?: HTMLMetaDataTargetTypeEnum[] | null;
2296
+ export interface CheckoutCustomerInput {
2297
+ email?: string | null;
2298
+ firstName?: string | null;
2299
+ id?: string | null;
2300
+ lastName?: string | null;
2301
+ notificationsAccepted?: boolean | null;
2289
2302
  }
2290
- export interface ProductBackInStockRemindInput {
2291
- email: string;
2303
+ export interface CheckStocksLineInput {
2292
2304
  productId: string;
2305
+ quantity: number;
2293
2306
  variantId: string;
2294
2307
  }
2295
- export interface ProductItemInput {
2308
+ export interface CreateCustomerEmailSubscriptionInput {
2296
2309
  createdAt?: any | null;
2297
2310
  deleted?: boolean | null;
2311
+ email: string;
2312
+ firstName?: string | null;
2298
2313
  id?: string | null;
2299
- productId: string;
2314
+ lastName?: string | null;
2300
2315
  updatedAt?: any | null;
2301
- variantId: string;
2302
2316
  }
2303
- export interface ProductLastViewedInput {
2317
+ export interface CreateCustomerReviewInput {
2318
+ comment?: string | null;
2304
2319
  createdAt?: any | null;
2305
- customerId: string;
2320
+ customerId?: string | null;
2306
2321
  deleted?: boolean | null;
2307
- id?: string | null;
2308
- products: ProductItemInput[];
2309
- updatedAt?: any | null;
2310
- }
2311
- export interface SearchDynamicCurrencySettings {
2312
- roundingFormat?: string | null;
2313
- targetCurrencyCode: string;
2314
- }
2315
- export interface SearchInput {
2316
- barcodeList?: string[] | null;
2317
- brandId?: string | null;
2318
- brandIdList?: string[] | null;
2319
- categoryIdList?: string[] | null;
2320
- dynamicCurrencySettings?: SearchDynamicCurrencySettings | null;
2321
- facetList?: SearchInputFacetListInput[] | null;
2322
- filterList?: SearchInputFilterListInput[] | null;
2323
- locale?: string | null;
2324
- order?: SearchInputOrderByInput[] | null;
2325
- page?: number | null;
2326
- perPage?: number | null;
2327
- priceListId?: string | null;
2328
- productIdList?: string[] | null;
2329
- query?: string | null;
2330
- salesChannelId?: string | null;
2331
- showStockOption?: ProductSearchShowStockOptionEnum | null;
2332
- slug?: string | null;
2333
- tagIdList?: string[] | null;
2334
- vendorIdList?: string[] | null;
2335
- }
2336
- export interface SearchInputFacetListInput {
2337
- displayType: ProductFilterDisplayTypeEnum;
2338
- id: string;
2339
- type: ProductFilterTypeEnum;
2340
- }
2341
- export interface SearchInputFilterListInput {
2342
- displayType?: ProductFilterDisplayTypeEnum | null;
2343
- id: string;
2344
- type: ProductFilterTypeEnum;
2345
- useAndFilter?: boolean | null;
2346
- valueList: string[];
2347
- }
2348
- export interface SearchInputOrderByInput {
2349
- direction: SortByDirectionEnum;
2350
- type: SortByTypeEnum;
2322
+ email?: string | null;
2323
+ firstName?: string | null;
2324
+ id?: string | null;
2325
+ lastName?: string | null;
2326
+ orderId?: string | null;
2327
+ orderNumber?: string | null;
2328
+ productId: string;
2329
+ salesChannelId: string;
2330
+ star: number;
2331
+ title?: string | null;
2332
+ updatedAt?: any | null;
2351
2333
  }
2352
2334
  export interface CreateSaleTransactionMasterPassPaymentMethodDetail {
2353
2335
  phoneNumber?: string | null;
@@ -2365,55 +2347,42 @@ export interface CreateSaleTransactionWithCheckoutInput {
2365
2347
  paymentGatewayId: string;
2366
2348
  paymentMethodDetail?: PaymentMethodDetailInput | null;
2367
2349
  }
2368
- export interface PaymentMethodDetailInput {
2369
- cardHolderName: string;
2370
- cardNumber: string;
2371
- cvv: string;
2372
- expiredMonth: number;
2373
- expiredYear: number;
2374
- installmentCount: number;
2375
- threeDSecure: boolean;
2376
- }
2377
- export interface RetrieveInstallmentInfoInput {
2378
- binNumber: string;
2379
- paymentGatewayId: string;
2380
- price: number;
2381
- }
2382
- export interface AddItemToCartInput {
2383
- cartId?: string | null;
2384
- item: CartLineItemInput;
2385
- options?: CartLineOptionInput[] | null;
2386
- priceListId?: string | null;
2387
- salesChannelId: string;
2388
- storefrontThemeId: string;
2389
- }
2390
- export interface AppliedProductInput {
2391
- productId?: string | null;
2392
- variantId: string;
2393
- }
2394
- export interface BooleanFilterInput {
2395
- eq?: boolean | null;
2396
- }
2397
- export interface CartLineItemInput {
2350
+ export interface CustomerAddressCityInput {
2351
+ code?: string | null;
2398
2352
  id?: string | null;
2399
- quantity: number;
2400
- variant: CartLineVariantInput;
2353
+ name: string;
2401
2354
  }
2402
- export interface CartLineOptionInput {
2403
- productOptionId: string;
2404
- productOptionsSetId: string;
2405
- values: string[];
2355
+ export interface CustomerAddressCountryInput {
2356
+ code?: string | null;
2357
+ id?: string | null;
2358
+ iso2?: string | null;
2359
+ iso3?: string | null;
2360
+ name: string;
2406
2361
  }
2407
- export interface CartLineVariantInput {
2408
- id: string;
2362
+ export interface CustomerAddressDistrictInput {
2363
+ code?: string | null;
2364
+ id?: string | null;
2409
2365
  name?: string | null;
2410
2366
  }
2411
- export interface CheckoutCustomerInput {
2412
- email?: string | null;
2413
- firstName?: string | null;
2367
+ export interface CustomerAddressStateInput {
2368
+ code?: string | null;
2414
2369
  id?: string | null;
2415
- lastName?: string | null;
2416
- notificationsAccepted?: boolean | null;
2370
+ name?: string | null;
2371
+ }
2372
+ export interface CustomerAttributeValueInput {
2373
+ customerAttributeId?: string | null;
2374
+ customerAttributeOptionId?: string | null;
2375
+ value?: string | null;
2376
+ }
2377
+ export interface DateFilterInput {
2378
+ eq?: any | null;
2379
+ gt?: any | null;
2380
+ gte?: any | null;
2381
+ in?: any[] | null;
2382
+ lt?: any | null;
2383
+ lte?: any | null;
2384
+ ne?: any | null;
2385
+ nin?: any[] | null;
2417
2386
  }
2418
2387
  export interface GetOrderLineFile {
2419
2388
  url: string;
@@ -2423,6 +2392,15 @@ export interface GetProductCampaignsInput {
2423
2392
  salesChannelId: string;
2424
2393
  variantIds: string[];
2425
2394
  }
2395
+ export interface HTMLMetaDataTargetTypeEnumFilter {
2396
+ eq?: HTMLMetaDataTargetTypeEnum | null;
2397
+ in?: HTMLMetaDataTargetTypeEnum[] | null;
2398
+ ne?: HTMLMetaDataTargetTypeEnum | null;
2399
+ nin?: HTMLMetaDataTargetTypeEnum[] | null;
2400
+ }
2401
+ export interface ListCustomerReviewInput {
2402
+ salesChannelId: string;
2403
+ }
2426
2404
  export interface OrderAddressCityInput {
2427
2405
  code?: string | null;
2428
2406
  id?: string | null;
@@ -2481,6 +2459,40 @@ export interface OrderRefundRequestInput {
2481
2459
  orderLineItems: OrderRefundOrderLineInput[];
2482
2460
  reason?: string | null;
2483
2461
  }
2462
+ export interface PaginationInput {
2463
+ limit?: number | null;
2464
+ page?: number | null;
2465
+ }
2466
+ export interface PaymentMethodDetailInput {
2467
+ cardHolderName: string;
2468
+ cardNumber: string;
2469
+ cvv: string;
2470
+ expiredMonth: number;
2471
+ expiredYear: number;
2472
+ installmentCount: number;
2473
+ threeDSecure: boolean;
2474
+ }
2475
+ export interface ProductBackInStockRemindInput {
2476
+ email: string;
2477
+ productId: string;
2478
+ variantId: string;
2479
+ }
2480
+ export interface ProductItemInput {
2481
+ createdAt?: any | null;
2482
+ deleted?: boolean | null;
2483
+ id?: string | null;
2484
+ productId: string;
2485
+ updatedAt?: any | null;
2486
+ variantId: string;
2487
+ }
2488
+ export interface ProductLastViewedInput {
2489
+ createdAt?: any | null;
2490
+ customerId: string;
2491
+ deleted?: boolean | null;
2492
+ id?: string | null;
2493
+ products: ProductItemInput[];
2494
+ updatedAt?: any | null;
2495
+ }
2484
2496
  export interface RaffleMetadataTargetTypeEnumFilter {
2485
2497
  eq?: RaffleMetadataTargetTypeEnum | null;
2486
2498
  in?: RaffleMetadataTargetTypeEnum[] | null;
@@ -2510,9 +2522,13 @@ export interface RaffleParticipantsUpdateInput {
2510
2522
  phone?: string | null;
2511
2523
  updatedAt?: any | null;
2512
2524
  }
2525
+ export interface RetrieveInstallmentInfoInput {
2526
+ binNumber: string;
2527
+ paymentGatewayId: string;
2528
+ price: number;
2529
+ }
2513
2530
  export interface SaveCartInput {
2514
2531
  billingAddress?: OrderAddressInput | null;
2515
- cartId: string;
2516
2532
  couponCode?: string | null;
2517
2533
  createdAt?: any | null;
2518
2534
  customer?: CheckoutCustomerInput | null;
@@ -2558,75 +2574,6 @@ export interface SaveItemToCartInput {
2558
2574
  storefrontRoutingId: string;
2559
2575
  storefrontThemeId: string;
2560
2576
  }
2561
- export interface UpdateCartCampaignOfferInput {
2562
- accepted: boolean;
2563
- campaignOfferId: string;
2564
- campaignOfferProductId: string;
2565
- cartId: string;
2566
- productId: string;
2567
- variantId: string;
2568
- }
2569
- export interface CheckStocksLineInput {
2570
- productId: string;
2571
- quantity: number;
2572
- variantId: string;
2573
- }
2574
- export interface CreateCustomerEmailSubscriptionInput {
2575
- createdAt?: any | null;
2576
- deleted?: boolean | null;
2577
- email: string;
2578
- firstName?: string | null;
2579
- id?: string | null;
2580
- lastName?: string | null;
2581
- updatedAt?: any | null;
2582
- }
2583
- export interface CreateCustomerReviewInput {
2584
- comment?: string | null;
2585
- createdAt?: any | null;
2586
- customerId?: string | null;
2587
- deleted?: boolean | null;
2588
- email?: string | null;
2589
- firstName?: string | null;
2590
- id?: string | null;
2591
- lastName?: string | null;
2592
- orderId?: string | null;
2593
- orderNumber?: string | null;
2594
- productId: string;
2595
- salesChannelId: string;
2596
- star: number;
2597
- title?: string | null;
2598
- updatedAt?: any | null;
2599
- }
2600
- export interface CustomerAddressCityInput {
2601
- code?: string | null;
2602
- id?: string | null;
2603
- name: string;
2604
- }
2605
- export interface CustomerAddressCountryInput {
2606
- code?: string | null;
2607
- id?: string | null;
2608
- iso2?: string | null;
2609
- iso3?: string | null;
2610
- name: string;
2611
- }
2612
- export interface CustomerAddressDistrictInput {
2613
- code?: string | null;
2614
- id?: string | null;
2615
- name?: string | null;
2616
- }
2617
- export interface CustomerAddressStateInput {
2618
- code?: string | null;
2619
- id?: string | null;
2620
- name?: string | null;
2621
- }
2622
- export interface CustomerAttributeValueInput {
2623
- customerAttributeId?: string | null;
2624
- customerAttributeOptionId?: string | null;
2625
- value?: string | null;
2626
- }
2627
- export interface ListCustomerReviewInput {
2628
- salesChannelId: string;
2629
- }
2630
2577
  export interface SaveMyCustomerAddressInput {
2631
2578
  addressLine1: string;
2632
2579
  addressLine2?: string | null;
@@ -2657,3 +2604,59 @@ export interface SaveMyCustomerInput {
2657
2604
  phone?: string | null;
2658
2605
  subscriptionStatus?: CustomerEmailSubscriptionStatusesEnum | null;
2659
2606
  }
2607
+ export interface SearchDynamicCurrencySettings {
2608
+ roundingFormat?: string | null;
2609
+ targetCurrencyCode: string;
2610
+ }
2611
+ export interface SearchInput {
2612
+ barcodeList?: string[] | null;
2613
+ brandId?: string | null;
2614
+ brandIdList?: string[] | null;
2615
+ categoryIdList?: string[] | null;
2616
+ dynamicCurrencySettings?: SearchDynamicCurrencySettings | null;
2617
+ facetList?: SearchInputFacetListInput[] | null;
2618
+ filterList?: SearchInputFilterListInput[] | null;
2619
+ locale?: string | null;
2620
+ order?: SearchInputOrderByInput[] | null;
2621
+ page?: number | null;
2622
+ perPage?: number | null;
2623
+ priceListId?: string | null;
2624
+ productIdList?: string[] | null;
2625
+ query?: string | null;
2626
+ salesChannelId?: string | null;
2627
+ showStockOption?: ProductSearchShowStockOptionEnum | null;
2628
+ slug?: string | null;
2629
+ tagIdList?: string[] | null;
2630
+ vendorIdList?: string[] | null;
2631
+ }
2632
+ export interface SearchInputFacetListInput {
2633
+ displayType: ProductFilterDisplayTypeEnum;
2634
+ id: string;
2635
+ type: ProductFilterTypeEnum;
2636
+ }
2637
+ export interface SearchInputFilterListInput {
2638
+ displayType?: ProductFilterDisplayTypeEnum | null;
2639
+ id: string;
2640
+ type: ProductFilterTypeEnum;
2641
+ useAndFilter?: boolean | null;
2642
+ valueList: string[];
2643
+ }
2644
+ export interface SearchInputOrderByInput {
2645
+ direction: SortByDirectionEnum;
2646
+ type: SortByTypeEnum;
2647
+ }
2648
+ export interface StringFilterInput {
2649
+ eq?: string | null;
2650
+ in?: string[] | null;
2651
+ like?: string | null;
2652
+ ne?: string | null;
2653
+ nin?: string[] | null;
2654
+ }
2655
+ export interface UpdateCartCampaignOfferInput {
2656
+ accepted: boolean;
2657
+ campaignOfferId: string;
2658
+ campaignOfferProductId: string;
2659
+ cartId: string;
2660
+ productId: string;
2661
+ variantId: string;
2662
+ }