@ikas/storefront-api 4.0.0-alpha.10

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