@ikas/storefront-api 5.0.0-beta.4 → 5.0.0-beta.40

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 (571) hide show
  1. package/build/__api/models/AbandonedCartFlow.d.ts +22 -19
  2. package/build/__api/models/AbandonedCartFlowCustomerFilter.d.ts +10 -10
  3. package/build/__api/models/AddItemToCartInput.d.ts +19 -16
  4. package/build/__api/models/AdditionalPrice.d.ts +13 -13
  5. package/build/__api/models/ApplicableProductFilterValue.d.ts +14 -13
  6. package/build/__api/models/AppliedProduct.d.ts +10 -10
  7. package/build/__api/models/AppliedProductInput.d.ts +10 -10
  8. package/build/__api/models/AvailableShippingMethod.d.ts +16 -14
  9. package/build/__api/models/Blog.d.ts +28 -28
  10. package/build/__api/models/BlogCategory.d.ts +14 -13
  11. package/build/__api/models/BlogCategoryPaginationResponse.d.ts +14 -14
  12. package/build/__api/models/BlogContent.d.ts +12 -12
  13. package/build/__api/models/BlogMetadata.d.ts +17 -17
  14. package/build/__api/models/BlogMetadataPaginationResponse.d.ts +14 -14
  15. package/build/__api/models/BlogMetadataTargetTypeEnumFilter.d.ts +13 -13
  16. package/build/__api/models/BlogPaginationResponse.d.ts +14 -14
  17. package/build/__api/models/BlogTag.d.ts +10 -10
  18. package/build/__api/models/BlogWriter.d.ts +10 -10
  19. package/build/__api/models/BooleanFilterInput.d.ts +9 -9
  20. package/build/__api/models/BundleProductInput.d.ts +12 -10
  21. package/build/__api/models/BundleProductModel.d.ts +17 -16
  22. package/build/__api/models/BundleSettingsModel.d.ts +12 -12
  23. package/build/__api/models/BuyX.d.ts +12 -12
  24. package/build/__api/models/BuyXThenGetY.d.ts +13 -13
  25. package/build/__api/models/Campaign.d.ts +34 -31
  26. package/build/__api/models/CampaignDateRangeField.d.ts +10 -10
  27. package/build/__api/models/CampaignFilter.d.ts +11 -11
  28. package/build/__api/models/CampaignMinMaxRangeField.d.ts +10 -10
  29. package/build/__api/models/CampaignOffer.d.ts +25 -22
  30. package/build/__api/models/CampaignOfferProduct.d.ts +23 -23
  31. package/build/__api/models/CampaignOfferProductTranslation.d.ts +11 -11
  32. package/build/__api/models/CampaignOfferTriggerSettings.d.ts +11 -11
  33. package/build/__api/models/CampaignTranslation.d.ts +10 -0
  34. package/build/__api/models/Cart.d.ts +32 -32
  35. package/build/__api/models/CartAcceptedOfferInput.d.ts +13 -0
  36. package/build/__api/models/CartCampaignOffer.d.ts +17 -17
  37. package/build/__api/models/CartLineItemInput.d.ts +12 -12
  38. package/build/__api/models/CartLineOptionInput.d.ts +11 -11
  39. package/build/__api/models/CartLineVariantInput.d.ts +12 -12
  40. package/build/__api/models/CartStorefrontRouting.d.ts +15 -15
  41. package/build/__api/models/CartStorefrontRoutingDynamicCurrencySettings.d.ts +11 -11
  42. package/build/__api/models/CartV2.d.ts +74 -71
  43. package/build/__api/models/CartV2CampaignOffer.d.ts +19 -19
  44. package/build/__api/models/Category.d.ts +27 -27
  45. package/build/__api/models/CategoryCondition.d.ts +12 -11
  46. package/build/__api/models/CategoryPaginationResponse.d.ts +14 -14
  47. package/build/__api/models/CategoryPathFilterInput.d.ts +9 -9
  48. package/build/__api/models/CategoryPathItem.d.ts +17 -17
  49. package/build/__api/models/CategoryTranslation.d.ts +11 -11
  50. package/build/__api/models/CheckStocksLineInput.d.ts +11 -11
  51. package/build/__api/models/CheckStocksLineInput.js +1 -1
  52. package/build/__api/models/CheckStocksLineResponse.d.ts +11 -11
  53. package/build/__api/models/CheckStocksResponse.d.ts +10 -10
  54. package/build/__api/models/Checkout.d.ts +44 -44
  55. package/build/__api/models/CheckoutCustomer.d.ts +19 -19
  56. package/build/__api/models/CheckoutCustomerInput.d.ts +13 -13
  57. package/build/__api/models/CheckoutCustomerInput.js +1 -1
  58. package/build/__api/models/CheckoutOption.d.ts +10 -10
  59. package/build/__api/models/CheckoutSettings.d.ts +26 -25
  60. package/build/__api/models/CheckoutSettingsPrice.d.ts +12 -11
  61. package/build/__api/models/City.d.ts +16 -16
  62. package/build/__api/models/Country.d.ts +24 -24
  63. package/build/__api/models/CreateAdyenSessionResponse.d.ts +12 -12
  64. package/build/__api/models/CreateCustomerEmailSubscriptionInput.d.ts +13 -13
  65. package/build/__api/models/CreateCustomerReviewInput.d.ts +20 -20
  66. package/build/__api/models/CreateKlarnaTokenResponse.d.ts +12 -12
  67. package/build/__api/models/CreatePaypalOrderResponse.d.ts +11 -0
  68. package/build/__api/models/CreateSaleTransactionMasterPassPaymentMethodDetail.d.ts +10 -10
  69. package/build/__api/models/CreateSaleTransactionWithCartInput.d.ts +15 -14
  70. package/build/__api/models/CreateSaleTransactionWithCheckoutInput.d.ts +15 -14
  71. package/build/__api/models/CreateStripePaymentIntentResponse.d.ts +12 -12
  72. package/build/__api/models/CurrencyRate.d.ts +15 -15
  73. package/build/__api/models/CurrencyRateData.d.ts +10 -10
  74. package/build/__api/models/Customer.d.ts +38 -35
  75. package/build/__api/models/CustomerAddress.d.ts +33 -31
  76. package/build/__api/models/CustomerAddressCity.d.ts +11 -11
  77. package/build/__api/models/CustomerAddressCityInput.d.ts +11 -11
  78. package/build/__api/models/CustomerAddressCityInput.js +1 -1
  79. package/build/__api/models/CustomerAddressCountry.d.ts +13 -13
  80. package/build/__api/models/CustomerAddressCountryInput.d.ts +13 -13
  81. package/build/__api/models/CustomerAddressCountryInput.js +1 -1
  82. package/build/__api/models/CustomerAddressDistrict.d.ts +11 -11
  83. package/build/__api/models/CustomerAddressDistrictInput.d.ts +11 -11
  84. package/build/__api/models/CustomerAddressDistrictInput.js +1 -1
  85. package/build/__api/models/CustomerAddressRegion.d.ts +10 -0
  86. package/build/__api/models/CustomerAddressRegionInput.d.ts +10 -0
  87. package/build/__api/models/CustomerAddressRegionInput.js +1 -0
  88. package/build/__api/models/CustomerAddressState.d.ts +11 -11
  89. package/build/__api/models/CustomerAddressStateInput.d.ts +11 -11
  90. package/build/__api/models/CustomerAddressStateInput.js +1 -1
  91. package/build/__api/models/CustomerAttribute.d.ts +20 -20
  92. package/build/__api/models/CustomerAttributeOption.d.ts +11 -11
  93. package/build/__api/models/CustomerAttributeOptionTranslation.d.ts +10 -10
  94. package/build/__api/models/CustomerAttributeSalesChannel.d.ts +13 -13
  95. package/build/__api/models/CustomerAttributeTranslation.d.ts +13 -13
  96. package/build/__api/models/CustomerAttributeValue.d.ts +11 -11
  97. package/build/__api/models/CustomerAttributeValueInput.d.ts +11 -11
  98. package/build/__api/models/CustomerAttributeValueInput.js +1 -1
  99. package/build/__api/models/CustomerCheckResponse.d.ts +9 -9
  100. package/build/__api/models/CustomerFavoriteProduct.d.ts +13 -11
  101. package/build/__api/models/CustomerLoginResponse.d.ts +12 -12
  102. package/build/__api/models/CustomerPriceListRule.d.ts +14 -0
  103. package/build/__api/models/CustomerPriceListRuleFilter.d.ts +11 -0
  104. package/build/__api/models/CustomerRefreshTokenResponse.d.ts +10 -10
  105. package/build/__api/models/CustomerReview.d.ts +25 -24
  106. package/build/__api/models/CustomerReviewSFPaginationResponse.d.ts +14 -14
  107. package/build/__api/models/CustomerReviewSummary.d.ts +15 -15
  108. package/build/__api/models/CustomerReviewSummaryPaginationResponse.d.ts +14 -14
  109. package/build/__api/models/CustomerReviewSummaryStar.d.ts +10 -10
  110. package/build/__api/models/CustomerSettings.d.ts +15 -13
  111. package/build/__api/models/CustomerSettingsPhoneValidationSettings.d.ts +10 -0
  112. package/build/__api/models/DateFilterInput.d.ts +16 -16
  113. package/build/__api/models/District.d.ts +16 -16
  114. package/build/__api/models/FixedDiscount.d.ts +14 -14
  115. package/build/__api/models/GetAvailableStockLocation.d.ts +14 -14
  116. package/build/__api/models/GetAvailableStockLocationAddress.d.ts +16 -16
  117. package/build/__api/models/GetAvailableStockLocationAddressCity.d.ts +11 -11
  118. package/build/__api/models/GetAvailableStockLocationsResponse.d.ts +10 -10
  119. package/build/__api/models/GetOrderLineFile.d.ts +9 -9
  120. package/build/__api/models/GetPaypalClientIdResponse.d.ts +11 -0
  121. package/build/__api/models/GetProductCampaignsInput.d.ts +11 -11
  122. package/build/__api/models/GetProductCampaignsResponse.d.ts +11 -11
  123. package/build/__api/models/GetProductOptionFileUrl.d.ts +11 -11
  124. package/build/__api/models/GetVariantStockLocation.d.ts +12 -12
  125. package/build/__api/models/GetVariantStockLocationListResponse.d.ts +10 -10
  126. package/build/__api/models/GetY.d.ts +13 -13
  127. package/build/__api/models/HTMLMetaData.d.ts +22 -22
  128. package/build/__api/models/HTMLMetaDataOverride.d.ts +13 -13
  129. package/build/__api/models/HTMLMetaDataTargetTypeEnumFilter.d.ts +13 -13
  130. package/build/__api/models/HTMLMetaDataTranslation.d.ts +12 -11
  131. package/build/__api/models/IndexPageSeoSetting.d.ts +16 -0
  132. package/build/__api/models/Invoice.d.ts +18 -18
  133. package/build/__api/models/ListCustomerReviewInput.d.ts +9 -9
  134. package/build/__api/models/LocalDeliverySettingsDayEstimatedDeliveryTime.d.ts +11 -0
  135. package/build/__api/models/LocationTranslations.d.ts +12 -12
  136. package/build/__api/models/MasterPassTokenResponse.d.ts +11 -11
  137. package/build/__api/models/MerchantAddress.d.ts +29 -29
  138. package/build/__api/models/MerchantAddressCity.d.ts +11 -11
  139. package/build/__api/models/MerchantAddressCountry.d.ts +13 -13
  140. package/build/__api/models/MerchantAddressDistrict.d.ts +11 -11
  141. package/build/__api/models/MerchantAddressState.d.ts +11 -11
  142. package/build/__api/models/MerchantSettings.d.ts +17 -17
  143. package/build/__api/models/MerchantSettingsCurrencyFormat.d.ts +15 -15
  144. package/build/__api/models/OrderAddress.d.ts +30 -30
  145. package/build/__api/models/OrderAddressCity.d.ts +11 -11
  146. package/build/__api/models/OrderAddressCityInput.d.ts +11 -11
  147. package/build/__api/models/OrderAddressCityInput.js +1 -1
  148. package/build/__api/models/OrderAddressCountry.d.ts +13 -13
  149. package/build/__api/models/OrderAddressCountryInput.d.ts +13 -13
  150. package/build/__api/models/OrderAddressCountryInput.js +1 -1
  151. package/build/__api/models/OrderAddressDistrict.d.ts +11 -11
  152. package/build/__api/models/OrderAddressDistrictInput.d.ts +11 -11
  153. package/build/__api/models/OrderAddressDistrictInput.js +1 -1
  154. package/build/__api/models/OrderAddressInput.d.ts +30 -30
  155. package/build/__api/models/OrderAddressInput.js +1 -1
  156. package/build/__api/models/OrderAddressRegion.d.ts +10 -0
  157. package/build/__api/models/OrderAddressRegionInput.d.ts +10 -0
  158. package/build/__api/models/OrderAddressRegionInput.js +1 -0
  159. package/build/__api/models/OrderAddressState.d.ts +11 -11
  160. package/build/__api/models/OrderAddressStateInput.d.ts +11 -11
  161. package/build/__api/models/OrderAddressStateInput.js +1 -1
  162. package/build/__api/models/OrderAdjustment.d.ts +19 -19
  163. package/build/__api/models/OrderAdjustmentAppliedOrderLine.d.ts +12 -12
  164. package/build/__api/models/OrderAdjustmentInput.d.ts +16 -16
  165. package/build/__api/models/OrderAttributeValue.d.ts +11 -0
  166. package/build/__api/models/OrderAttributeValueInput.d.ts +11 -0
  167. package/build/__api/models/OrderAttributeValueInput.js +1 -0
  168. package/build/__api/models/OrderCurrencyRate.d.ts +11 -11
  169. package/build/__api/models/OrderCustomer.d.ts +16 -16
  170. package/build/__api/models/OrderGiftPackageLine.d.ts +10 -10
  171. package/build/__api/models/OrderLineBaseUnit.d.ts +13 -13
  172. package/build/__api/models/OrderLineBundleVariant.d.ts +35 -34
  173. package/build/__api/models/OrderLineDiscount.d.ts +15 -15
  174. package/build/__api/models/OrderLineItem.d.ts +29 -29
  175. package/build/__api/models/OrderLineOption.d.ts +15 -15
  176. package/build/__api/models/OrderLineOptionValue.d.ts +11 -11
  177. package/build/__api/models/OrderLineVariant.d.ts +37 -36
  178. package/build/__api/models/OrderLineVariantBrand.d.ts +10 -10
  179. package/build/__api/models/OrderLineVariantBundleProductModel.d.ts +19 -18
  180. package/build/__api/models/OrderLineVariantCategory.d.ts +12 -12
  181. package/build/__api/models/OrderLineVariantCategoryPath.d.ts +10 -10
  182. package/build/__api/models/OrderLineVariantPrice.d.ts +15 -15
  183. package/build/__api/models/OrderLineVariantTag.d.ts +10 -10
  184. package/build/__api/models/OrderLineVariantUnit.d.ts +11 -11
  185. package/build/__api/models/OrderLineVariantUnitType.d.ts +10 -10
  186. package/build/__api/models/OrderLineVariantVariantValues.d.ts +13 -13
  187. package/build/__api/models/OrderPackage.d.ts +18 -18
  188. package/build/__api/models/OrderPaymentMethod.d.ts +14 -14
  189. package/build/__api/models/OrderRefundOrderLineInput.d.ts +10 -10
  190. package/build/__api/models/OrderRefundRequestInput.d.ts +13 -12
  191. package/build/__api/models/OrderRefundSettings.d.ts +14 -14
  192. package/build/__api/models/OrderSessionInfo.d.ts +25 -25
  193. package/build/__api/models/OrderSessionInfoTrafficSource.d.ts +11 -11
  194. package/build/__api/models/OrderSessionUTM.d.ts +13 -13
  195. package/build/__api/models/OrderSessionUserAgent.d.ts +12 -12
  196. package/build/__api/models/OrderShippingLine.d.ts +17 -17
  197. package/build/__api/models/OrderStorefrontRouting.d.ts +15 -15
  198. package/build/__api/models/OrderStorefrontRoutingDynamicCurrencySettings.d.ts +10 -10
  199. package/build/__api/models/OrderTaxLine.d.ts +10 -10
  200. package/build/__api/models/PaginationInput.d.ts +10 -10
  201. package/build/__api/models/PaymentGateway.d.ts +30 -30
  202. package/build/__api/models/PaymentGatewayPaymentMethod.d.ts +10 -10
  203. package/build/__api/models/PaymentGatewaySettings.d.ts +13 -13
  204. package/build/__api/models/PaymentGatewayTranslation.d.ts +11 -11
  205. package/build/__api/models/PaymentMethodDetailInput.d.ts +15 -15
  206. package/build/__api/models/ProductAttribute.d.ts +19 -19
  207. package/build/__api/models/ProductAttributeOption.d.ts +10 -10
  208. package/build/__api/models/ProductAttributeOptionTranslation.d.ts +10 -10
  209. package/build/__api/models/ProductAttributeTableCellData.d.ts +10 -10
  210. package/build/__api/models/ProductAttributeTableTemplate.d.ts +11 -11
  211. package/build/__api/models/ProductAttributeTranslation.d.ts +13 -13
  212. package/build/__api/models/ProductBackInStockRemind.d.ts +15 -15
  213. package/build/__api/models/ProductBackInStockRemindInput.d.ts +11 -11
  214. package/build/__api/models/ProductBrand.d.ts +19 -19
  215. package/build/__api/models/ProductBrandPaginationResponse.d.ts +14 -14
  216. package/build/__api/models/ProductBrandTranslation.d.ts +11 -11
  217. package/build/__api/models/ProductFacetCount.d.ts +11 -11
  218. package/build/__api/models/ProductFacetCountValue.d.ts +10 -10
  219. package/build/__api/models/ProductFile.d.ts +12 -0
  220. package/build/__api/models/ProductFilterData.d.ts +12 -12
  221. package/build/__api/models/ProductFilterDataFilter.d.ts +24 -24
  222. package/build/__api/models/ProductFilterSettings.d.ts +14 -14
  223. package/build/__api/models/ProductItem.d.ts +11 -11
  224. package/build/__api/models/ProductItemInput.d.ts +11 -11
  225. package/build/__api/models/ProductLastViewed.d.ts +12 -12
  226. package/build/__api/models/ProductLastViewedInput.d.ts +12 -12
  227. package/build/__api/models/ProductOption.d.ts +28 -28
  228. package/build/__api/models/ProductOptionDateSettings.d.ts +12 -12
  229. package/build/__api/models/ProductOptionFileSettings.d.ts +11 -11
  230. package/build/__api/models/ProductOptionSelectSettings.d.ts +14 -14
  231. package/build/__api/models/ProductOptionSelectValue.d.ts +16 -16
  232. package/build/__api/models/ProductOptionSelectValueOtherPrice.d.ts +11 -11
  233. package/build/__api/models/ProductOptionSelectValueTranslations.d.ts +10 -10
  234. package/build/__api/models/ProductOptionSet.d.ts +14 -14
  235. package/build/__api/models/ProductOptionSetTranslations.d.ts +11 -11
  236. package/build/__api/models/ProductOptionTextSettings.d.ts +10 -10
  237. package/build/__api/models/ProductOptionTranslations.d.ts +13 -13
  238. package/build/__api/models/ProductSearchCustomerReviewSummaries.d.ts +13 -13
  239. package/build/__api/models/ProductSearchResponse.d.ts +17 -17
  240. package/build/__api/models/ProductTagTranslation.d.ts +11 -11
  241. package/build/__api/models/ProductTranslation.d.ts +11 -11
  242. package/build/__api/models/ProductUnitTranslation.d.ts +11 -0
  243. package/build/__api/models/RaffleDateRangeField.d.ts +10 -10
  244. package/build/__api/models/RaffleMetadata.d.ts +17 -17
  245. package/build/__api/models/RaffleMetadataTargetTypeEnumFilter.d.ts +13 -13
  246. package/build/__api/models/RafflePaginationResponse.d.ts +14 -14
  247. package/build/__api/models/RaffleParticipants.d.ts +25 -25
  248. package/build/__api/models/RaffleParticipantsInput.d.ts +16 -16
  249. package/build/__api/models/RaffleVariantInformation.d.ts +10 -10
  250. package/build/__api/models/RetrieveInstallmentInfoInput.d.ts +12 -11
  251. package/build/__api/models/RetrieveInstallmentInfoResponse.d.ts +17 -17
  252. package/build/__api/models/SaveCartInput.d.ts +23 -21
  253. package/build/__api/models/SaveCartInput.js +1 -1
  254. package/build/__api/models/SaveCheckoutInput.d.ts +26 -26
  255. package/build/__api/models/SaveItemToCartInput.d.ts +20 -19
  256. package/build/__api/models/SaveMyCustomerAddressInput.d.ts +31 -29
  257. package/build/__api/models/SaveMyCustomerAddressInput.js +1 -1
  258. package/build/__api/models/SaveMyCustomerInput.d.ts +17 -17
  259. package/build/__api/models/SaveMyCustomerInput.js +1 -1
  260. package/build/__api/models/SearchCategory.d.ts +15 -15
  261. package/build/__api/models/SearchCategoryPath.d.ts +13 -13
  262. package/build/__api/models/SearchCategoryTranslation.d.ts +12 -0
  263. package/build/__api/models/SearchDynamicCurrencySettings.d.ts +10 -10
  264. package/build/__api/models/SearchHTMLMetaData.d.ts +18 -18
  265. package/build/__api/models/SearchHTMLMetaDataOverride.d.ts +13 -13
  266. package/build/__api/models/SearchInput.d.ts +35 -33
  267. package/build/__api/models/SearchInputFacetListInput.d.ts +12 -12
  268. package/build/__api/models/SearchInputFilterListInput.d.ts +14 -14
  269. package/build/__api/models/SearchInputOrderByInput.d.ts +11 -11
  270. package/build/__api/models/SearchProduct.d.ts +50 -42
  271. package/build/__api/models/SearchProductAttribute.d.ts +15 -15
  272. package/build/__api/models/SearchProductAttributeOption.d.ts +10 -10
  273. package/build/__api/models/SearchProductAttributeTableCellData.d.ts +10 -10
  274. package/build/__api/models/SearchProductAttributeTableTemplate.d.ts +11 -11
  275. package/build/__api/models/SearchProductAttributeValue.d.ts +14 -14
  276. package/build/__api/models/SearchProductBrand.d.ts +14 -13
  277. package/build/__api/models/SearchProductBrandTranslation.d.ts +12 -0
  278. package/build/__api/models/SearchProductCampaign.d.ts +19 -0
  279. package/build/__api/models/SearchProductCampaignBuyX.d.ts +10 -0
  280. package/build/__api/models/SearchProductCampaignBuyXThenGetY.d.ts +13 -0
  281. package/build/__api/models/SearchProductCampaignDateRangeField.d.ts +10 -0
  282. package/build/__api/models/SearchProductCampaignFixedDiscount.d.ts +9 -0
  283. package/build/__api/models/SearchProductCampaignGetY.d.ts +10 -0
  284. package/build/__api/models/SearchProductCampaignOffer.d.ts +9 -0
  285. package/build/__api/models/SearchProductCampaignPrice.d.ts +10 -0
  286. package/build/__api/models/SearchProductCustomerReviewStar.d.ts +10 -10
  287. package/build/__api/models/SearchProductGroup.d.ts +15 -0
  288. package/build/__api/models/SearchProductGroupTranslation.d.ts +11 -0
  289. package/build/__api/models/SearchProductGroupValueTranslation.d.ts +11 -0
  290. package/build/__api/models/SearchProductGroupValueType.d.ts +11 -0
  291. package/build/__api/models/SearchProductImage.d.ts +13 -12
  292. package/build/__api/models/SearchProductPrice.d.ts +18 -16
  293. package/build/__api/models/SearchProductProductBaseUnit.d.ts +13 -13
  294. package/build/__api/models/SearchProductProductUnit.d.ts +12 -10
  295. package/build/__api/models/SearchProductStockLocation.d.ts +10 -10
  296. package/build/__api/models/SearchProductTag.d.ts +12 -12
  297. package/build/__api/models/SearchProductVariantType.d.ts +12 -12
  298. package/build/__api/models/SearchVariant.d.ts +30 -29
  299. package/build/__api/models/SearchVariantType.d.ts +15 -15
  300. package/build/__api/models/SearchVariantValue.d.ts +12 -12
  301. package/build/__api/models/SearchVariationValueRelation.d.ts +10 -10
  302. package/build/__api/models/SocialLoginSettings.d.ts +14 -12
  303. package/build/__api/models/State.d.ts +15 -15
  304. package/build/__api/models/StockLocation.d.ts +18 -18
  305. package/build/__api/models/StockLocationAddress.d.ts +19 -19
  306. package/build/__api/models/StockLocationAddressCity.d.ts +11 -11
  307. package/build/__api/models/StockLocationAddressCountry.d.ts +11 -11
  308. package/build/__api/models/StockLocationAddressDistrict.d.ts +11 -11
  309. package/build/__api/models/StockLocationAddressState.d.ts +11 -11
  310. package/build/__api/models/Storefront.d.ts +41 -36
  311. package/build/__api/models/StorefrontB2BSettings.d.ts +12 -0
  312. package/build/__api/models/StorefrontDomain.d.ts +13 -13
  313. package/build/__api/models/StorefrontDynamicCurrencySettings.d.ts +11 -11
  314. package/build/__api/models/StorefrontFormCheckboxSettings.d.ts +12 -0
  315. package/build/__api/models/StorefrontFormCheckoutFooterPolicy.d.ts +10 -0
  316. package/build/__api/models/StorefrontFormCheckoutFooterSettings.d.ts +10 -0
  317. package/build/__api/models/StorefrontFormCheckoutSettings.d.ts +13 -0
  318. package/build/__api/models/StorefrontFormMailSettings.d.ts +12 -0
  319. package/build/__api/models/StorefrontFormSettings.d.ts +21 -0
  320. package/build/__api/models/StorefrontFormSettingsRouting.d.ts +9 -0
  321. package/build/__api/models/StorefrontLocalization.d.ts +12 -12
  322. package/build/__api/models/StorefrontMetaTemplate.d.ts +13 -13
  323. package/build/__api/models/StorefrontOrder.d.ts +51 -51
  324. package/build/__api/models/StorefrontPolicy.d.ts +16 -0
  325. package/build/__api/models/StorefrontPolicyRouting.d.ts +9 -0
  326. package/build/__api/models/StorefrontRaffle.d.ts +20 -20
  327. package/build/__api/models/StorefrontRouting.d.ts +18 -18
  328. package/build/__api/models/StorefrontShippingZone.d.ts +13 -0
  329. package/build/__api/models/StorefrontShippingZoneCity.d.ts +12 -0
  330. package/build/__api/models/StorefrontShippingZoneDistrict.d.ts +11 -0
  331. package/build/__api/models/StorefrontShippingZoneRegion.d.ts +10 -0
  332. package/build/__api/models/StorefrontShippingZoneState.d.ts +13 -0
  333. package/build/__api/models/StorefrontTheme.d.ts +15 -15
  334. package/build/__api/models/StorefrontTransaction.d.ts +28 -28
  335. package/build/__api/models/StringFilterInput.d.ts +13 -13
  336. package/build/__api/models/SubscribeToMarketingNotificationsInput.d.ts +12 -12
  337. package/build/__api/models/Town.d.ts +12 -12
  338. package/build/__api/models/TrackingInfo.d.ts +13 -13
  339. package/build/__api/models/TransactionError.d.ts +11 -11
  340. package/build/__api/models/TransactionInstallmentPrice.d.ts +13 -13
  341. package/build/__api/models/TransactionPaymentMethodDetail.d.ts +19 -19
  342. package/build/__api/models/TransactionResponse.d.ts +17 -16
  343. package/build/__api/models/UpdateCartCampaignOfferInput.d.ts +16 -14
  344. package/build/__api/models/VariantType.d.ts +16 -16
  345. package/build/__api/models/VariantTypeTranslation.d.ts +12 -12
  346. package/build/__api/models/VariantUnitModel.d.ts +11 -11
  347. package/build/__api/models/VariantValue.d.ts +12 -12
  348. package/build/__api/models/VariantValueTranslation.d.ts +10 -10
  349. package/build/__api/models/_base.d.ts +18 -18
  350. package/build/__api/models/_base.js +1 -1
  351. package/build/__api/mutations/activateCustomer.d.ts +7 -7
  352. package/build/__api/mutations/activateCustomer.js +1 -0
  353. package/build/__api/mutations/addCouponCodeToCheckout.d.ts +297 -290
  354. package/build/__api/mutations/addItemToCart.d.ts +351 -338
  355. package/build/__api/mutations/addItemToCart.js +1 -1
  356. package/build/__api/mutations/createAdyenPaymentSession.d.ts +13 -13
  357. package/build/__api/mutations/createAdyenPaymentSession.js +1 -1
  358. package/build/__api/mutations/createCustomerEmailSubscription.d.ts +75 -70
  359. package/build/__api/mutations/createCustomerReview.d.ts +28 -27
  360. package/build/__api/mutations/createCustomerReview.js +1 -1
  361. package/build/__api/mutations/createKlarnaClientToken.d.ts +13 -13
  362. package/build/__api/mutations/createKlarnaClientToken.js +1 -1
  363. package/build/__api/mutations/createOrderRefundRequest.d.ts +273 -271
  364. package/build/__api/mutations/createOrderRefundRequest.js +1 -1
  365. package/build/__api/mutations/createPaypalOrder.d.ts +12 -0
  366. package/build/__api/mutations/createPaypalOrder.js +1 -0
  367. package/build/__api/mutations/createSaleTransactionWithCart.d.ts +18 -17
  368. package/build/__api/mutations/createSaleTransactionWithCart.js +1 -1
  369. package/build/__api/mutations/createSaleTransactionWithCheckout.d.ts +18 -17
  370. package/build/__api/mutations/createStripePaymentIntent.d.ts +13 -13
  371. package/build/__api/mutations/createStripePaymentIntent.js +1 -1
  372. package/build/__api/mutations/customerForgotPassword.d.ts +8 -8
  373. package/build/__api/mutations/customerForgotPassword.js +1 -1
  374. package/build/__api/mutations/customerLogin.d.ts +85 -74
  375. package/build/__api/mutations/customerLogin.js +1 -1
  376. package/build/__api/mutations/customerRecoverPassword.d.ts +9 -9
  377. package/build/__api/mutations/customerRecoverPassword.js +1 -1
  378. package/build/__api/mutations/customerRefreshToken.d.ts +11 -11
  379. package/build/__api/mutations/customerRefreshToken.js +1 -1
  380. package/build/__api/mutations/deleteRaffleParticipantsList.d.ts +6 -6
  381. package/build/__api/mutations/getOrderLineFile.d.ts +7 -7
  382. package/build/__api/mutations/getOrderLineFile.js +1 -1
  383. package/build/__api/mutations/getPaypalClientId.d.ts +12 -0
  384. package/build/__api/mutations/getPaypalClientId.js +1 -0
  385. package/build/__api/mutations/registerCustomer.d.ts +93 -80
  386. package/build/__api/mutations/registerCustomer.js +1 -1
  387. package/build/__api/mutations/resendCustomerActivationMail.d.ts +7 -7
  388. package/build/__api/mutations/resendCustomerActivationMail.js +1 -0
  389. package/build/__api/mutations/resendCustomerPhoneVerificationCode.d.ts +7 -0
  390. package/build/__api/mutations/resendCustomerPhoneVerificationCode.js +1 -0
  391. package/build/__api/mutations/retrieveInstallmentInfo.d.ts +20 -20
  392. package/build/__api/mutations/retrieveInstallmentInfo.js +1 -1
  393. package/build/__api/mutations/saveCart.d.ts +351 -338
  394. package/build/__api/mutations/saveCart.js +1 -1
  395. package/build/__api/mutations/saveCartCouponCode.d.ts +351 -339
  396. package/build/__api/mutations/saveCartCouponCode.js +1 -1
  397. package/build/__api/mutations/saveCheckout.d.ts +297 -289
  398. package/build/__api/mutations/saveFavoriteProduct.d.ts +7 -7
  399. package/build/__api/mutations/saveFavoriteProduct.js +1 -1
  400. package/build/__api/mutations/saveItemToCart.d.ts +162 -159
  401. package/build/__api/mutations/saveLastViewedProducts.d.ts +20 -20
  402. package/build/__api/mutations/saveLastViewedProducts.js +1 -1
  403. package/build/__api/mutations/saveMyCustomer.d.ts +81 -70
  404. package/build/__api/mutations/saveMyCustomer.js +1 -1
  405. package/build/__api/mutations/saveProductBackInStockRemind.d.ts +19 -19
  406. package/build/__api/mutations/saveProductBackInStockRemind.js +1 -1
  407. package/build/__api/mutations/saveRaffleParticipant.d.ts +49 -49
  408. package/build/__api/mutations/saveRaffleParticipant.js +1 -1
  409. package/build/__api/mutations/sendContactFormToMerchant.d.ts +13 -12
  410. package/build/__api/mutations/sendContactFormToMerchant.js +1 -1
  411. package/build/__api/mutations/subscribeToMarketingNotifications.d.ts +7 -7
  412. package/build/__api/mutations/subscribeToMarketingNotifications.js +1 -1
  413. package/build/__api/mutations/updateCartCampaignOffer.d.ts +350 -338
  414. package/build/__api/mutations/updateCartCampaignOffer.js +1 -1
  415. package/build/__api/mutations/validateCustomerPhoneVerificationCode.d.ts +7 -0
  416. package/build/__api/mutations/validateCustomerPhoneVerificationCode.js +1 -0
  417. package/build/__api/queries/checkCartStocks.d.ts +13 -0
  418. package/build/__api/queries/checkCartStocks.js +1 -0
  419. package/build/__api/queries/checkCustomerEmail.d.ts +12 -12
  420. package/build/__api/queries/checkCustomerEmail.js +1 -1
  421. package/build/__api/queries/checkOrderStocks.d.ts +13 -13
  422. package/build/__api/queries/checkStocks.d.ts +13 -13
  423. package/build/__api/queries/checkStocks.js +1 -1
  424. package/build/__api/queries/customerSocialLogin.d.ts +83 -72
  425. package/build/__api/queries/customerSocialLogin.js +1 -1
  426. package/build/__api/queries/getAvailableShippingCountries.d.ts +6 -6
  427. package/build/__api/queries/getAvailableShippingCountries.js +1 -1
  428. package/build/__api/queries/getAvailableShippingZones.d.ts +23 -0
  429. package/build/__api/queries/getAvailableShippingZones.js +1 -0
  430. package/build/__api/queries/getAvailableStockLocations.d.ts +28 -28
  431. package/build/__api/queries/getAvailableStockLocations.js +1 -1
  432. package/build/__api/queries/getCart.d.ts +164 -161
  433. package/build/__api/queries/getCartById.d.ts +352 -339
  434. package/build/__api/queries/getCartById.js +1 -1
  435. package/build/__api/queries/getCheckoutByCartId.d.ts +297 -289
  436. package/build/__api/queries/getCheckoutById.d.ts +297 -289
  437. package/build/__api/queries/getCurrencyRate.d.ts +19 -19
  438. package/build/__api/queries/getCustomerOrders.d.ts +273 -271
  439. package/build/__api/queries/getCustomerOrders.js +1 -1
  440. package/build/__api/queries/getDigitalProductFileDownloadUrl.d.ts +7 -0
  441. package/build/__api/queries/getDigitalProductFileDownloadUrl.js +1 -0
  442. package/build/__api/queries/getLastViewedProducts.d.ts +20 -20
  443. package/build/__api/queries/getLastViewedProducts.js +1 -1
  444. package/build/__api/queries/getMasterPassRequestToken.d.ts +15 -15
  445. package/build/__api/queries/getMasterPassRequestToken.js +1 -1
  446. package/build/__api/queries/getMyCountry.d.ts +3 -3
  447. package/build/__api/queries/getMyCountry.js +1 -1
  448. package/build/__api/queries/getMyCustomer.d.ts +78 -67
  449. package/build/__api/queries/getMyCustomer.js +1 -1
  450. package/build/__api/queries/getOrder.d.ts +273 -271
  451. package/build/__api/queries/getOrderByEmail.d.ts +274 -272
  452. package/build/__api/queries/getOrderByEmail.js +1 -1
  453. package/build/__api/queries/getProductCampaigns.d.ts +51 -48
  454. package/build/__api/queries/getProductCampaigns.js +1 -1
  455. package/build/__api/queries/getProductFilterData.d.ts +175 -167
  456. package/build/__api/queries/getProductFilterData.js +1 -1
  457. package/build/__api/queries/getProductOptionFileUrl.d.ts +14 -14
  458. package/build/__api/queries/getProductOptionFileUrl.js +1 -1
  459. package/build/__api/queries/getRelatedProducts.d.ts +17 -17
  460. package/build/__api/queries/getRelatedProducts.js +1 -1
  461. package/build/__api/queries/getStorefront.d.ts +89 -72
  462. package/build/__api/queries/getStorefrontSettings.d.ts +3 -3
  463. package/build/__api/queries/getStorefrontSettings.js +1 -1
  464. package/build/__api/queries/getSuggestedProducts.d.ts +186 -165
  465. package/build/__api/queries/getSuggestedProducts.js +1 -1
  466. package/build/__api/queries/getVariantStockLocations.d.ts +30 -30
  467. package/build/__api/queries/getVariantStockLocations.js +1 -1
  468. package/build/__api/queries/isFavoriteProduct.d.ts +6 -6
  469. package/build/__api/queries/isFavoriteProduct.js +1 -1
  470. package/build/__api/queries/listBlog.d.ts +78 -76
  471. package/build/__api/queries/listBlog.js +1 -1
  472. package/build/__api/queries/listBlogCategory.d.ts +37 -35
  473. package/build/__api/queries/listBlogCategory.js +1 -1
  474. package/build/__api/queries/listBlogMetadata.d.ts +30 -30
  475. package/build/__api/queries/listBlogMetadata.js +1 -1
  476. package/build/__api/queries/listCampaignOffer.d.ts +41 -38
  477. package/build/__api/queries/listCampaignOffer.js +1 -0
  478. package/build/__api/queries/listCategory.d.ts +92 -89
  479. package/build/__api/queries/listCategory.js +1 -1
  480. package/build/__api/queries/listCheckoutSettings.d.ts +33 -31
  481. package/build/__api/queries/listCheckoutSettings.js +1 -1
  482. package/build/__api/queries/listCity.d.ts +25 -25
  483. package/build/__api/queries/listCity.js +1 -1
  484. package/build/__api/queries/listCountry.d.ts +36 -36
  485. package/build/__api/queries/listCountry.js +1 -1
  486. package/build/__api/queries/listCustomerAttribute.d.ts +29 -29
  487. package/build/__api/queries/listCustomerAttribute.js +1 -1
  488. package/build/__api/queries/listCustomerReviewSummary.d.ts +25 -25
  489. package/build/__api/queries/listCustomerReviewSummary.js +1 -1
  490. package/build/__api/queries/listCustomerReviews.d.ts +36 -35
  491. package/build/__api/queries/listCustomerReviews.js +1 -1
  492. package/build/__api/queries/listCustomerSettings.d.ts +20 -18
  493. package/build/__api/queries/listCustomerSettings.js +1 -1
  494. package/build/__api/queries/listDistrict.d.ts +26 -26
  495. package/build/__api/queries/listDistrict.js +1 -1
  496. package/build/__api/queries/listFavoriteProducts.d.ts +14 -12
  497. package/build/__api/queries/listFavoriteProducts.js +1 -1
  498. package/build/__api/queries/listHTMLMetaData.d.ts +36 -34
  499. package/build/__api/queries/listHTMLMetaData.js +1 -1
  500. package/build/__api/queries/listMerchantSettings.d.ts +50 -50
  501. package/build/__api/queries/listMerchantSettings.js +1 -1
  502. package/build/__api/queries/listOrderRefundSettings.d.ts +21 -21
  503. package/build/__api/queries/listOrderRefundSettings.js +1 -1
  504. package/build/__api/queries/listOrderTransactions.d.ts +45 -45
  505. package/build/__api/queries/listOrderTransactions.js +1 -1
  506. package/build/__api/queries/listPaymentGateway.d.ts +43 -42
  507. package/build/__api/queries/listPaymentGateway.js +1 -1
  508. package/build/__api/queries/listProductAttribute.d.ts +33 -33
  509. package/build/__api/queries/listProductAttribute.js +1 -1
  510. package/build/__api/queries/listProductBackInStockRemind.d.ts +24 -24
  511. package/build/__api/queries/listProductBackInStockRemind.js +1 -1
  512. package/build/__api/queries/listProductBrand.d.ts +52 -51
  513. package/build/__api/queries/listProductBrand.js +1 -1
  514. package/build/__api/queries/listProductFile.d.ts +16 -0
  515. package/build/__api/queries/listProductFile.js +1 -0
  516. package/build/__api/queries/listProductOptionSet.d.ts +61 -61
  517. package/build/__api/queries/listProductOptionSet.js +1 -1
  518. package/build/__api/queries/listRaffleMetadata.d.ts +26 -26
  519. package/build/__api/queries/listRaffleMetadata.js +1 -1
  520. package/build/__api/queries/listRaffleParticipants.d.ts +46 -46
  521. package/build/__api/queries/listRaffleParticipants.js +1 -1
  522. package/build/__api/queries/listState.d.ts +26 -26
  523. package/build/__api/queries/listState.js +1 -1
  524. package/build/__api/queries/listStockLocation.d.ts +35 -35
  525. package/build/__api/queries/listStockLocation.js +1 -1
  526. package/build/__api/queries/listStorefrontFormSettings.d.ts +38 -0
  527. package/build/__api/queries/listStorefrontPolicy.d.ts +24 -0
  528. package/build/__api/queries/listStorefrontRaffle.d.ts +44 -44
  529. package/build/__api/queries/listStorefrontRaffle.js +1 -1
  530. package/build/__api/queries/listTown.d.ts +20 -20
  531. package/build/__api/queries/listVariantType.d.ts +29 -29
  532. package/build/__api/queries/searchProducts.d.ts +209 -163
  533. package/build/__api/queries/searchProducts.js +1 -1
  534. package/build/__api/types/index.d.ts +3284 -2892
  535. package/build/__api/types/index.js +1 -1
  536. package/build/api/blog/index.d.ts +27 -27
  537. package/build/api/blog/index.js +1 -1
  538. package/build/api/brand/index.d.ts +11 -11
  539. package/build/api/brand/index.js +1 -1
  540. package/build/api/cart/index.d.ts +13 -13
  541. package/build/api/cart/index.js +1 -1
  542. package/build/api/category/index.d.ts +11 -11
  543. package/build/api/category/index.js +1 -1
  544. package/build/api/checkout/index.d.ts +33 -25
  545. package/build/api/checkout/index.js +1 -1
  546. package/build/api/customer/index.d.ts +277 -203
  547. package/build/api/customer/index.js +1 -1
  548. package/build/api/file-upload/index.d.ts +13 -11
  549. package/build/api/file-upload/index.js +1 -1
  550. package/build/api/html-meta-data/index.d.ts +5 -5
  551. package/build/api/html-meta-data/index.js +1 -1
  552. package/build/api/location/index.d.ts +14 -12
  553. package/build/api/location/index.js +1 -1
  554. package/build/api/masterpass/index.d.ts +3 -3
  555. package/build/api/masterpass/index.js +1 -1
  556. package/build/api/merchant/index.d.ts +5 -5
  557. package/build/api/merchant/index.js +1 -1
  558. package/build/api/product/index.d.ts +54 -51
  559. package/build/api/product/index.js +1 -1
  560. package/build/api/raffle/index.d.ts +16 -16
  561. package/build/api/raffle/index.js +1 -1
  562. package/build/api/storefront/index.d.ts +15 -14
  563. package/build/api/storefront/index.js +1 -1
  564. package/build/index.d.ts +24 -23
  565. package/build/index.js +1 -1
  566. package/package.json +21 -18
  567. package/build/__api/models/ShippingZoneRegion.d.ts +0 -10
  568. package/build/__api/models/ShippingZoneRegionInput.d.ts +0 -10
  569. package/build/__api/models/ShippingZoneRegionInput.js +0 -1
  570. package/build/ext/tslib/tslib.es6.js +0 -1
  571. package/build/index2.js +0 -1
@@ -0,0 +1,12 @@
1
+ import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
+ import { CreateSaleTransactionWithCartInput, GetPaypalClientIdResponse } from "../types";
3
+ declare const getPaypalClientId: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<GetPaypalClientIdResponse> | APIResponse<undefined>>;
4
+ export default getPaypalClientId;
5
+ export type QueryParams = {
6
+ input: CreateSaleTransactionWithCartInput;
7
+ };
8
+ export declare enum ResponseField {
9
+ CLIENT_ID = "clientId",
10
+ MERCHANT_CLIENT_ID = "merchantClientId",
11
+ MERCHANT_ID = "merchantId"
12
+ }
@@ -0,0 +1 @@
1
+ import{fetchQuery as t,APIResponse as n,handleAPIError as a}from"@ikas/fe-api-client";const e=async(e,r,l)=>{try{const{data:a,errors:I}=await t({operationName:"getPaypalClientId",config:l,variables:e,allReturnFields:i,fields:r,query:t=>`\n\t\t\t\tmutation getPaypalClientId (\n\t\t\t\t\t$input: CreateSaleTransactionWithCartInput!,\n\t\t\t\t) {\n\t\t\t\t\tgetPaypalClientId (\n\t\t\t\t\t\tinput: $input,\n\t\t\t\t\t) ${t}\n\t\t\t\t}\n\t\t\t`});return new n(a?.getPaypalClientId,I)}catch(t){return a(t)}},i="{clientId merchantClientId merchantId }";var r;!function(t){t.CLIENT_ID="clientId",t.MERCHANT_CLIENT_ID="merchantClientId",t.MERCHANT_ID="merchantId"}(r||(r={}));export{r as ResponseField,e as default};
@@ -1,80 +1,93 @@
1
- import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
- import { CustomerAttributeValueInput, CustomerLoginResponse } from "../types";
3
- declare const registerCustomer: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<CustomerLoginResponse> | APIResponse<undefined>>;
4
- export default registerCustomer;
5
- export declare type QueryParams = {
6
- attributes?: CustomerAttributeValueInput[] | null;
7
- captchaToken?: string | null;
8
- email: string;
9
- firstName: string;
10
- isAcceptMarketing?: boolean | null;
11
- lastName: string;
12
- locale?: string | null;
13
- orderId?: string | null;
14
- password: string;
15
- };
16
- export declare enum ResponseField {
17
- CUSTOMER__ACCOUNT_STATUS = "customer.accountStatus",
18
- CUSTOMER__ACCOUNT_STATUS_UPDATED_AT = "customer.accountStatusUpdatedAt",
19
- CUSTOMER__ADDRESSES__ADDRESS_LINE1 = "customer.addresses.addressLine1",
20
- CUSTOMER__ADDRESSES__ADDRESS_LINE2 = "customer.addresses.addressLine2",
21
- CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID = "customer.addresses.attributes.customerAttributeId",
22
- CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID = "customer.addresses.attributes.customerAttributeOptionId",
23
- CUSTOMER__ADDRESSES__ATTRIBUTES__VALUE = "customer.addresses.attributes.value",
24
- CUSTOMER__ADDRESSES__CITY__CODE = "customer.addresses.city.code",
25
- CUSTOMER__ADDRESSES__CITY__ID = "customer.addresses.city.id",
26
- CUSTOMER__ADDRESSES__CITY__NAME = "customer.addresses.city.name",
27
- CUSTOMER__ADDRESSES__COMPANY = "customer.addresses.company",
28
- CUSTOMER__ADDRESSES__COUNTRY__CODE = "customer.addresses.country.code",
29
- CUSTOMER__ADDRESSES__COUNTRY__ID = "customer.addresses.country.id",
30
- CUSTOMER__ADDRESSES__COUNTRY__ISO2 = "customer.addresses.country.iso2",
31
- CUSTOMER__ADDRESSES__COUNTRY__ISO3 = "customer.addresses.country.iso3",
32
- CUSTOMER__ADDRESSES__COUNTRY__NAME = "customer.addresses.country.name",
33
- CUSTOMER__ADDRESSES__CREATED_AT = "customer.addresses.createdAt",
34
- CUSTOMER__ADDRESSES__DELETED = "customer.addresses.deleted",
35
- CUSTOMER__ADDRESSES__DISTRICT__CODE = "customer.addresses.district.code",
36
- CUSTOMER__ADDRESSES__DISTRICT__ID = "customer.addresses.district.id",
37
- CUSTOMER__ADDRESSES__DISTRICT__NAME = "customer.addresses.district.name",
38
- CUSTOMER__ADDRESSES__FIRST_NAME = "customer.addresses.firstName",
39
- CUSTOMER__ADDRESSES__ID = "customer.addresses.id",
40
- CUSTOMER__ADDRESSES__IDENTITY_NUMBER = "customer.addresses.identityNumber",
41
- CUSTOMER__ADDRESSES__IS_DEFAULT = "customer.addresses.isDefault",
42
- CUSTOMER__ADDRESSES__LAST_NAME = "customer.addresses.lastName",
43
- CUSTOMER__ADDRESSES__PHONE = "customer.addresses.phone",
44
- CUSTOMER__ADDRESSES__POSTAL_CODE = "customer.addresses.postalCode",
45
- CUSTOMER__ADDRESSES__STATE__CODE = "customer.addresses.state.code",
46
- CUSTOMER__ADDRESSES__STATE__ID = "customer.addresses.state.id",
47
- CUSTOMER__ADDRESSES__STATE__NAME = "customer.addresses.state.name",
48
- CUSTOMER__ADDRESSES__TAX_NUMBER = "customer.addresses.taxNumber",
49
- CUSTOMER__ADDRESSES__TAX_OFFICE = "customer.addresses.taxOffice",
50
- CUSTOMER__ADDRESSES__TITLE = "customer.addresses.title",
51
- CUSTOMER__ADDRESSES__UPDATED_AT = "customer.addresses.updatedAt",
52
- CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID = "customer.attributes.customerAttributeId",
53
- CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID = "customer.attributes.customerAttributeOptionId",
54
- CUSTOMER__ATTRIBUTES__VALUE = "customer.attributes.value",
55
- CUSTOMER__CREATED_AT = "customer.createdAt",
56
- CUSTOMER__CUSTOMER_GROUP_IDS = "customer.customerGroupIds",
57
- CUSTOMER__CUSTOMER_SEQUENCE = "customer.customerSequence",
58
- CUSTOMER__DELETED = "customer.deleted",
59
- CUSTOMER__EMAIL = "customer.email",
60
- CUSTOMER__EMAIL_VERIFIED_DATE = "customer.emailVerifiedDate",
61
- CUSTOMER__FIRST_NAME = "customer.firstName",
62
- CUSTOMER__FULL_NAME = "customer.fullName",
63
- CUSTOMER__ID = "customer.id",
64
- CUSTOMER__IS_EMAIL_VERIFIED = "customer.isEmailVerified",
65
- CUSTOMER__IS_PHONE_VERIFIED = "customer.isPhoneVerified",
66
- CUSTOMER__LAST_NAME = "customer.lastName",
67
- CUSTOMER__NOTE = "customer.note",
68
- CUSTOMER__ORDER_COUNT = "customer.orderCount",
69
- CUSTOMER__PASSWORD_UPDATE_DATE = "customer.passwordUpdateDate",
70
- CUSTOMER__PHONE = "customer.phone",
71
- CUSTOMER__PHONE_VERIFIED_DATE = "customer.phoneVerifiedDate",
72
- CUSTOMER__PREFERRED_LANGUAGE = "customer.preferredLanguage",
73
- CUSTOMER__REGISTRATION_SOURCE = "customer.registrationSource",
74
- CUSTOMER__SUBSCRIPTION_STATUS = "customer.subscriptionStatus",
75
- CUSTOMER__SUBSCRIPTION_STATUS_UPDATED_AT = "customer.subscriptionStatusUpdatedAt",
76
- CUSTOMER__TAG_IDS = "customer.tagIds",
77
- CUSTOMER__UPDATED_AT = "customer.updatedAt",
78
- TOKEN = "token",
79
- TOKEN_EXPIRY = "tokenExpiry"
80
- }
1
+ import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
+ import { CustomerAttributeValueInput, CustomerLoginResponse } from "../types";
3
+ declare const registerCustomer: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<CustomerLoginResponse> | APIResponse<undefined>>;
4
+ export default registerCustomer;
5
+ export type QueryParams = {
6
+ attributes?: CustomerAttributeValueInput[] | null;
7
+ captchaToken?: string | null;
8
+ email: string;
9
+ firstName: string;
10
+ isAcceptMarketing?: boolean | null;
11
+ lastName: string;
12
+ locale?: string | null;
13
+ orderId?: string | null;
14
+ password: string;
15
+ phone?: string | null;
16
+ preferredLanguage?: string | null;
17
+ };
18
+ export declare enum ResponseField {
19
+ CUSTOMER__ACCOUNT_STATUS = "customer.accountStatus",
20
+ CUSTOMER__ACCOUNT_STATUS_UPDATED_AT = "customer.accountStatusUpdatedAt",
21
+ CUSTOMER__ADDRESSES__ADDRESS_LINE1 = "customer.addresses.addressLine1",
22
+ CUSTOMER__ADDRESSES__ADDRESS_LINE2 = "customer.addresses.addressLine2",
23
+ CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID = "customer.addresses.attributes.customerAttributeId",
24
+ CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID = "customer.addresses.attributes.customerAttributeOptionId",
25
+ CUSTOMER__ADDRESSES__ATTRIBUTES__VALUE = "customer.addresses.attributes.value",
26
+ CUSTOMER__ADDRESSES__CITY__CODE = "customer.addresses.city.code",
27
+ CUSTOMER__ADDRESSES__CITY__ID = "customer.addresses.city.id",
28
+ CUSTOMER__ADDRESSES__CITY__NAME = "customer.addresses.city.name",
29
+ CUSTOMER__ADDRESSES__COMPANY = "customer.addresses.company",
30
+ CUSTOMER__ADDRESSES__COUNTRY__CODE = "customer.addresses.country.code",
31
+ CUSTOMER__ADDRESSES__COUNTRY__ID = "customer.addresses.country.id",
32
+ CUSTOMER__ADDRESSES__COUNTRY__ISO2 = "customer.addresses.country.iso2",
33
+ CUSTOMER__ADDRESSES__COUNTRY__ISO3 = "customer.addresses.country.iso3",
34
+ CUSTOMER__ADDRESSES__COUNTRY__NAME = "customer.addresses.country.name",
35
+ CUSTOMER__ADDRESSES__CREATED_AT = "customer.addresses.createdAt",
36
+ CUSTOMER__ADDRESSES__DELETED = "customer.addresses.deleted",
37
+ CUSTOMER__ADDRESSES__DISTRICT__CODE = "customer.addresses.district.code",
38
+ CUSTOMER__ADDRESSES__DISTRICT__ID = "customer.addresses.district.id",
39
+ CUSTOMER__ADDRESSES__DISTRICT__NAME = "customer.addresses.district.name",
40
+ CUSTOMER__ADDRESSES__FIRST_NAME = "customer.addresses.firstName",
41
+ CUSTOMER__ADDRESSES__ID = "customer.addresses.id",
42
+ CUSTOMER__ADDRESSES__IDENTITY_NUMBER = "customer.addresses.identityNumber",
43
+ CUSTOMER__ADDRESSES__IS_DEFAULT = "customer.addresses.isDefault",
44
+ CUSTOMER__ADDRESSES__LAST_NAME = "customer.addresses.lastName",
45
+ CUSTOMER__ADDRESSES__PHONE = "customer.addresses.phone",
46
+ CUSTOMER__ADDRESSES__POSTAL_CODE = "customer.addresses.postalCode",
47
+ CUSTOMER__ADDRESSES__REGION__CREATED_AT = "customer.addresses.region.createdAt",
48
+ CUSTOMER__ADDRESSES__REGION__DELETED = "customer.addresses.region.deleted",
49
+ CUSTOMER__ADDRESSES__REGION__ID = "customer.addresses.region.id",
50
+ CUSTOMER__ADDRESSES__REGION__NAME = "customer.addresses.region.name",
51
+ CUSTOMER__ADDRESSES__REGION__UPDATED_AT = "customer.addresses.region.updatedAt",
52
+ CUSTOMER__ADDRESSES__STATE__CODE = "customer.addresses.state.code",
53
+ CUSTOMER__ADDRESSES__STATE__ID = "customer.addresses.state.id",
54
+ CUSTOMER__ADDRESSES__STATE__NAME = "customer.addresses.state.name",
55
+ CUSTOMER__ADDRESSES__TAX_NUMBER = "customer.addresses.taxNumber",
56
+ CUSTOMER__ADDRESSES__TAX_OFFICE = "customer.addresses.taxOffice",
57
+ CUSTOMER__ADDRESSES__TITLE = "customer.addresses.title",
58
+ CUSTOMER__ADDRESSES__UPDATED_AT = "customer.addresses.updatedAt",
59
+ CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID = "customer.attributes.customerAttributeId",
60
+ CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID = "customer.attributes.customerAttributeOptionId",
61
+ CUSTOMER__ATTRIBUTES__VALUE = "customer.attributes.value",
62
+ CUSTOMER__CREATED_AT = "customer.createdAt",
63
+ CUSTOMER__CUSTOMER_GROUP_IDS = "customer.customerGroupIds",
64
+ CUSTOMER__CUSTOMER_SEQUENCE = "customer.customerSequence",
65
+ CUSTOMER__DELETED = "customer.deleted",
66
+ CUSTOMER__EMAIL = "customer.email",
67
+ CUSTOMER__EMAIL_VERIFIED_DATE = "customer.emailVerifiedDate",
68
+ CUSTOMER__FIRST_NAME = "customer.firstName",
69
+ CUSTOMER__FULL_NAME = "customer.fullName",
70
+ CUSTOMER__ID = "customer.id",
71
+ CUSTOMER__IS_EMAIL_VERIFIED = "customer.isEmailVerified",
72
+ CUSTOMER__IS_PHONE_VERIFIED = "customer.isPhoneVerified",
73
+ CUSTOMER__LAST_NAME = "customer.lastName",
74
+ CUSTOMER__NOTE = "customer.note",
75
+ CUSTOMER__ORDER_COUNT = "customer.orderCount",
76
+ CUSTOMER__PASSWORD_UPDATE_DATE = "customer.passwordUpdateDate",
77
+ CUSTOMER__PHONE = "customer.phone",
78
+ CUSTOMER__PHONE_VERIFIED_DATE = "customer.phoneVerifiedDate",
79
+ CUSTOMER__PREFERRED_LANGUAGE = "customer.preferredLanguage",
80
+ CUSTOMER__PRICE_LIST_ID = "customer.priceListId",
81
+ CUSTOMER__PRICE_LIST_RULES__FILTERS__TYPE = "customer.priceListRules.filters.type",
82
+ CUSTOMER__PRICE_LIST_RULES__FILTERS__VALUE_LIST = "customer.priceListRules.filters.valueList",
83
+ CUSTOMER__PRICE_LIST_RULES__SHOULD_MATCH_ALL_FILTERS = "customer.priceListRules.shouldMatchAllFilters",
84
+ CUSTOMER__PRICE_LIST_RULES__VALUE = "customer.priceListRules.value",
85
+ CUSTOMER__PRICE_LIST_RULES__VALUE_TYPE = "customer.priceListRules.valueType",
86
+ CUSTOMER__REGISTRATION_SOURCE = "customer.registrationSource",
87
+ CUSTOMER__SUBSCRIPTION_STATUS = "customer.subscriptionStatus",
88
+ CUSTOMER__SUBSCRIPTION_STATUS_UPDATED_AT = "customer.subscriptionStatusUpdatedAt",
89
+ CUSTOMER__TAG_IDS = "customer.tagIds",
90
+ CUSTOMER__UPDATED_AT = "customer.updatedAt",
91
+ TOKEN = "token",
92
+ TOKEN_EXPIRY = "tokenExpiry"
93
+ }
@@ -1 +1 @@
1
- import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as s,APIResponse as _,fetchQuery as r}from"@ikas/fe-api-client";var S,E=function(S,E,d){return t(void 0,void 0,void 0,(function(){var t,o,T,u;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,r({operationName:"registerCustomer",config:d,variables:S,allReturnFields:a,fields:E,query:function(t){return"\n\t\t\t\tmutation registerCustomer (\n\t\t\t\t\t$attributes: [CustomerAttributeValueInput!],\n\t\t\t\t\t$captchaToken: String,\n\t\t\t\t\t$email: String!,\n\t\t\t\t\t$firstName: String!,\n\t\t\t\t\t$isAcceptMarketing: Boolean,\n\t\t\t\t\t$lastName: String!,\n\t\t\t\t\t$locale: String,\n\t\t\t\t\t$orderId: String,\n\t\t\t\t\t$password: String!,\n\t\t\t\t) {\n\t\t\t\t\tregisterCustomer (\n\t\t\t\t\t\tattributes: $attributes,\n\t\t\t\t\t\tcaptchaToken: $captchaToken,\n\t\t\t\t\t\temail: $email,\n\t\t\t\t\t\tfirstName: $firstName,\n\t\t\t\t\t\tisAcceptMarketing: $isAcceptMarketing,\n\t\t\t\t\t\tlastName: $lastName,\n\t\t\t\t\t\tlocale: $locale,\n\t\t\t\t\t\torderId: $orderId,\n\t\t\t\t\t\tpassword: $password,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=e.sent(),o=t.data,T=t.errors,[2,new _(null==o?void 0:o.registerCustomer,T)];case 2:return u=e.sent(),[2,s(u)];case 3:return[2]}}))}))},a="{customer {accountStatus accountStatusUpdatedAt addresses {addressLine1 addressLine2 attributes {customerAttributeId customerAttributeOptionId value } city {code id name } company country {code id iso2 iso3 name } createdAt deleted district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice title updatedAt } attributes {customerAttributeId customerAttributeOptionId value } createdAt customerGroupIds customerSequence deleted email emailVerifiedDate firstName fullName id isEmailVerified isPhoneVerified lastName note orderCount passwordUpdateDate phone phoneVerifiedDate preferredLanguage registrationSource subscriptionStatus subscriptionStatusUpdatedAt tagIds updatedAt } token tokenExpiry }";!function(t){t.CUSTOMER__ACCOUNT_STATUS="customer.accountStatus",t.CUSTOMER__ACCOUNT_STATUS_UPDATED_AT="customer.accountStatusUpdatedAt",t.CUSTOMER__ADDRESSES__ADDRESS_LINE1="customer.addresses.addressLine1",t.CUSTOMER__ADDRESSES__ADDRESS_LINE2="customer.addresses.addressLine2",t.CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID="customer.addresses.attributes.customerAttributeId",t.CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID="customer.addresses.attributes.customerAttributeOptionId",t.CUSTOMER__ADDRESSES__ATTRIBUTES__VALUE="customer.addresses.attributes.value",t.CUSTOMER__ADDRESSES__CITY__CODE="customer.addresses.city.code",t.CUSTOMER__ADDRESSES__CITY__ID="customer.addresses.city.id",t.CUSTOMER__ADDRESSES__CITY__NAME="customer.addresses.city.name",t.CUSTOMER__ADDRESSES__COMPANY="customer.addresses.company",t.CUSTOMER__ADDRESSES__COUNTRY__CODE="customer.addresses.country.code",t.CUSTOMER__ADDRESSES__COUNTRY__ID="customer.addresses.country.id",t.CUSTOMER__ADDRESSES__COUNTRY__ISO2="customer.addresses.country.iso2",t.CUSTOMER__ADDRESSES__COUNTRY__ISO3="customer.addresses.country.iso3",t.CUSTOMER__ADDRESSES__COUNTRY__NAME="customer.addresses.country.name",t.CUSTOMER__ADDRESSES__CREATED_AT="customer.addresses.createdAt",t.CUSTOMER__ADDRESSES__DELETED="customer.addresses.deleted",t.CUSTOMER__ADDRESSES__DISTRICT__CODE="customer.addresses.district.code",t.CUSTOMER__ADDRESSES__DISTRICT__ID="customer.addresses.district.id",t.CUSTOMER__ADDRESSES__DISTRICT__NAME="customer.addresses.district.name",t.CUSTOMER__ADDRESSES__FIRST_NAME="customer.addresses.firstName",t.CUSTOMER__ADDRESSES__ID="customer.addresses.id",t.CUSTOMER__ADDRESSES__IDENTITY_NUMBER="customer.addresses.identityNumber",t.CUSTOMER__ADDRESSES__IS_DEFAULT="customer.addresses.isDefault",t.CUSTOMER__ADDRESSES__LAST_NAME="customer.addresses.lastName",t.CUSTOMER__ADDRESSES__PHONE="customer.addresses.phone",t.CUSTOMER__ADDRESSES__POSTAL_CODE="customer.addresses.postalCode",t.CUSTOMER__ADDRESSES__STATE__CODE="customer.addresses.state.code",t.CUSTOMER__ADDRESSES__STATE__ID="customer.addresses.state.id",t.CUSTOMER__ADDRESSES__STATE__NAME="customer.addresses.state.name",t.CUSTOMER__ADDRESSES__TAX_NUMBER="customer.addresses.taxNumber",t.CUSTOMER__ADDRESSES__TAX_OFFICE="customer.addresses.taxOffice",t.CUSTOMER__ADDRESSES__TITLE="customer.addresses.title",t.CUSTOMER__ADDRESSES__UPDATED_AT="customer.addresses.updatedAt",t.CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID="customer.attributes.customerAttributeId",t.CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID="customer.attributes.customerAttributeOptionId",t.CUSTOMER__ATTRIBUTES__VALUE="customer.attributes.value",t.CUSTOMER__CREATED_AT="customer.createdAt",t.CUSTOMER__CUSTOMER_GROUP_IDS="customer.customerGroupIds",t.CUSTOMER__CUSTOMER_SEQUENCE="customer.customerSequence",t.CUSTOMER__DELETED="customer.deleted",t.CUSTOMER__EMAIL="customer.email",t.CUSTOMER__EMAIL_VERIFIED_DATE="customer.emailVerifiedDate",t.CUSTOMER__FIRST_NAME="customer.firstName",t.CUSTOMER__FULL_NAME="customer.fullName",t.CUSTOMER__ID="customer.id",t.CUSTOMER__IS_EMAIL_VERIFIED="customer.isEmailVerified",t.CUSTOMER__IS_PHONE_VERIFIED="customer.isPhoneVerified",t.CUSTOMER__LAST_NAME="customer.lastName",t.CUSTOMER__NOTE="customer.note",t.CUSTOMER__ORDER_COUNT="customer.orderCount",t.CUSTOMER__PASSWORD_UPDATE_DATE="customer.passwordUpdateDate",t.CUSTOMER__PHONE="customer.phone",t.CUSTOMER__PHONE_VERIFIED_DATE="customer.phoneVerifiedDate",t.CUSTOMER__PREFERRED_LANGUAGE="customer.preferredLanguage",t.CUSTOMER__REGISTRATION_SOURCE="customer.registrationSource",t.CUSTOMER__SUBSCRIPTION_STATUS="customer.subscriptionStatus",t.CUSTOMER__SUBSCRIPTION_STATUS_UPDATED_AT="customer.subscriptionStatusUpdatedAt",t.CUSTOMER__TAG_IDS="customer.tagIds",t.CUSTOMER__UPDATED_AT="customer.updatedAt",t.TOKEN="token",t.TOKEN_EXPIRY="tokenExpiry"}(S||(S={}));export{S as ResponseField,E as default};
1
+ import{fetchQuery as t,APIResponse as e,handleAPIError as _}from"@ikas/fe-api-client";const s=async(s,E,S)=>{try{const{data:_,errors:a}=await t({operationName:"registerCustomer",config:S,variables:s,allReturnFields:r,fields:E,query:t=>`\n\t\t\t\tmutation registerCustomer (\n\t\t\t\t\t$attributes: [CustomerAttributeValueInput!],\n\t\t\t\t\t$captchaToken: String,\n\t\t\t\t\t$email: String!,\n\t\t\t\t\t$firstName: String!,\n\t\t\t\t\t$isAcceptMarketing: Boolean,\n\t\t\t\t\t$lastName: String!,\n\t\t\t\t\t$locale: String,\n\t\t\t\t\t$orderId: String,\n\t\t\t\t\t$password: String!,\n\t\t\t\t\t$phone: String,\n\t\t\t\t\t$preferredLanguage: String,\n\t\t\t\t) {\n\t\t\t\t\tregisterCustomer (\n\t\t\t\t\t\tattributes: $attributes,\n\t\t\t\t\t\tcaptchaToken: $captchaToken,\n\t\t\t\t\t\temail: $email,\n\t\t\t\t\t\tfirstName: $firstName,\n\t\t\t\t\t\tisAcceptMarketing: $isAcceptMarketing,\n\t\t\t\t\t\tlastName: $lastName,\n\t\t\t\t\t\tlocale: $locale,\n\t\t\t\t\t\torderId: $orderId,\n\t\t\t\t\t\tpassword: $password,\n\t\t\t\t\t\tphone: $phone,\n\t\t\t\t\t\tpreferredLanguage: $preferredLanguage,\n\t\t\t\t\t) ${t}\n\t\t\t\t}\n\t\t\t`});return new e(_?.registerCustomer,a)}catch(t){return _(t)}},r="{customer {accountStatus accountStatusUpdatedAt addresses {addressLine1 addressLine2 attributes {customerAttributeId customerAttributeOptionId value } city {code id name } company country {code id iso2 iso3 name } createdAt deleted district {code id name } firstName id identityNumber isDefault lastName phone postalCode region {createdAt deleted id name updatedAt } state {code id name } taxNumber taxOffice title updatedAt } attributes {customerAttributeId customerAttributeOptionId value } createdAt customerGroupIds customerSequence deleted email emailVerifiedDate firstName fullName id isEmailVerified isPhoneVerified lastName note orderCount passwordUpdateDate phone phoneVerifiedDate preferredLanguage priceListId priceListRules {filters {type valueList } shouldMatchAllFilters value valueType } registrationSource subscriptionStatus subscriptionStatusUpdatedAt tagIds updatedAt } token tokenExpiry }";var E;!function(t){t.CUSTOMER__ACCOUNT_STATUS="customer.accountStatus",t.CUSTOMER__ACCOUNT_STATUS_UPDATED_AT="customer.accountStatusUpdatedAt",t.CUSTOMER__ADDRESSES__ADDRESS_LINE1="customer.addresses.addressLine1",t.CUSTOMER__ADDRESSES__ADDRESS_LINE2="customer.addresses.addressLine2",t.CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID="customer.addresses.attributes.customerAttributeId",t.CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID="customer.addresses.attributes.customerAttributeOptionId",t.CUSTOMER__ADDRESSES__ATTRIBUTES__VALUE="customer.addresses.attributes.value",t.CUSTOMER__ADDRESSES__CITY__CODE="customer.addresses.city.code",t.CUSTOMER__ADDRESSES__CITY__ID="customer.addresses.city.id",t.CUSTOMER__ADDRESSES__CITY__NAME="customer.addresses.city.name",t.CUSTOMER__ADDRESSES__COMPANY="customer.addresses.company",t.CUSTOMER__ADDRESSES__COUNTRY__CODE="customer.addresses.country.code",t.CUSTOMER__ADDRESSES__COUNTRY__ID="customer.addresses.country.id",t.CUSTOMER__ADDRESSES__COUNTRY__ISO2="customer.addresses.country.iso2",t.CUSTOMER__ADDRESSES__COUNTRY__ISO3="customer.addresses.country.iso3",t.CUSTOMER__ADDRESSES__COUNTRY__NAME="customer.addresses.country.name",t.CUSTOMER__ADDRESSES__CREATED_AT="customer.addresses.createdAt",t.CUSTOMER__ADDRESSES__DELETED="customer.addresses.deleted",t.CUSTOMER__ADDRESSES__DISTRICT__CODE="customer.addresses.district.code",t.CUSTOMER__ADDRESSES__DISTRICT__ID="customer.addresses.district.id",t.CUSTOMER__ADDRESSES__DISTRICT__NAME="customer.addresses.district.name",t.CUSTOMER__ADDRESSES__FIRST_NAME="customer.addresses.firstName",t.CUSTOMER__ADDRESSES__ID="customer.addresses.id",t.CUSTOMER__ADDRESSES__IDENTITY_NUMBER="customer.addresses.identityNumber",t.CUSTOMER__ADDRESSES__IS_DEFAULT="customer.addresses.isDefault",t.CUSTOMER__ADDRESSES__LAST_NAME="customer.addresses.lastName",t.CUSTOMER__ADDRESSES__PHONE="customer.addresses.phone",t.CUSTOMER__ADDRESSES__POSTAL_CODE="customer.addresses.postalCode",t.CUSTOMER__ADDRESSES__REGION__CREATED_AT="customer.addresses.region.createdAt",t.CUSTOMER__ADDRESSES__REGION__DELETED="customer.addresses.region.deleted",t.CUSTOMER__ADDRESSES__REGION__ID="customer.addresses.region.id",t.CUSTOMER__ADDRESSES__REGION__NAME="customer.addresses.region.name",t.CUSTOMER__ADDRESSES__REGION__UPDATED_AT="customer.addresses.region.updatedAt",t.CUSTOMER__ADDRESSES__STATE__CODE="customer.addresses.state.code",t.CUSTOMER__ADDRESSES__STATE__ID="customer.addresses.state.id",t.CUSTOMER__ADDRESSES__STATE__NAME="customer.addresses.state.name",t.CUSTOMER__ADDRESSES__TAX_NUMBER="customer.addresses.taxNumber",t.CUSTOMER__ADDRESSES__TAX_OFFICE="customer.addresses.taxOffice",t.CUSTOMER__ADDRESSES__TITLE="customer.addresses.title",t.CUSTOMER__ADDRESSES__UPDATED_AT="customer.addresses.updatedAt",t.CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID="customer.attributes.customerAttributeId",t.CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID="customer.attributes.customerAttributeOptionId",t.CUSTOMER__ATTRIBUTES__VALUE="customer.attributes.value",t.CUSTOMER__CREATED_AT="customer.createdAt",t.CUSTOMER__CUSTOMER_GROUP_IDS="customer.customerGroupIds",t.CUSTOMER__CUSTOMER_SEQUENCE="customer.customerSequence",t.CUSTOMER__DELETED="customer.deleted",t.CUSTOMER__EMAIL="customer.email",t.CUSTOMER__EMAIL_VERIFIED_DATE="customer.emailVerifiedDate",t.CUSTOMER__FIRST_NAME="customer.firstName",t.CUSTOMER__FULL_NAME="customer.fullName",t.CUSTOMER__ID="customer.id",t.CUSTOMER__IS_EMAIL_VERIFIED="customer.isEmailVerified",t.CUSTOMER__IS_PHONE_VERIFIED="customer.isPhoneVerified",t.CUSTOMER__LAST_NAME="customer.lastName",t.CUSTOMER__NOTE="customer.note",t.CUSTOMER__ORDER_COUNT="customer.orderCount",t.CUSTOMER__PASSWORD_UPDATE_DATE="customer.passwordUpdateDate",t.CUSTOMER__PHONE="customer.phone",t.CUSTOMER__PHONE_VERIFIED_DATE="customer.phoneVerifiedDate",t.CUSTOMER__PREFERRED_LANGUAGE="customer.preferredLanguage",t.CUSTOMER__PRICE_LIST_ID="customer.priceListId",t.CUSTOMER__PRICE_LIST_RULES__FILTERS__TYPE="customer.priceListRules.filters.type",t.CUSTOMER__PRICE_LIST_RULES__FILTERS__VALUE_LIST="customer.priceListRules.filters.valueList",t.CUSTOMER__PRICE_LIST_RULES__SHOULD_MATCH_ALL_FILTERS="customer.priceListRules.shouldMatchAllFilters",t.CUSTOMER__PRICE_LIST_RULES__VALUE="customer.priceListRules.value",t.CUSTOMER__PRICE_LIST_RULES__VALUE_TYPE="customer.priceListRules.valueType",t.CUSTOMER__REGISTRATION_SOURCE="customer.registrationSource",t.CUSTOMER__SUBSCRIPTION_STATUS="customer.subscriptionStatus",t.CUSTOMER__SUBSCRIPTION_STATUS_UPDATED_AT="customer.subscriptionStatusUpdatedAt",t.CUSTOMER__TAG_IDS="customer.tagIds",t.CUSTOMER__UPDATED_AT="customer.updatedAt",t.TOKEN="token",t.TOKEN_EXPIRY="tokenExpiry"}(E||(E={}));export{E as ResponseField,s as default};
@@ -1,7 +1,7 @@
1
- import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
- declare const resendCustomerActivationMail: (variables: QueryParams, config?: ConfigType) => Promise<APIResponse<undefined> | APIResponse<boolean>>;
3
- export default resendCustomerActivationMail;
4
- export declare type QueryParams = {
5
- captchaToken?: string | null;
6
- email: string;
7
- };
1
+ import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
+ declare const resendCustomerActivationMail: (variables: QueryParams, config?: ConfigType) => Promise<APIResponse<boolean> | APIResponse<undefined>>;
3
+ export default resendCustomerActivationMail;
4
+ export type QueryParams = {
5
+ captchaToken?: string | null;
6
+ email: string;
7
+ };
@@ -0,0 +1 @@
1
+ import{fetchQuery as t,APIResponse as n,handleAPIError as a}from"@ikas/fe-api-client";const e=async(e,i)=>{try{const{data:a,errors:r}=await t({operationName:"resendCustomerActivationMail",config:i,variables:e,query:"\n\t\t\t\tmutation resendCustomerActivationMail (\n\t\t\t\t\t$captchaToken: String,\n\t\t\t\t\t$email: String!,\n\t\t\t\t) {\n\t\t\t\t\tresendCustomerActivationMail (\n\t\t\t\t\t\tcaptchaToken: $captchaToken,\n\t\t\t\t\t\temail: $email,\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t"});return new n(a?.resendCustomerActivationMail,r)}catch(t){return a(t)}};export{e as default};
@@ -0,0 +1,7 @@
1
+ import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
+ declare const resendCustomerPhoneVerificationCode: (variables: QueryParams, config?: ConfigType) => Promise<APIResponse<boolean> | APIResponse<undefined>>;
3
+ export default resendCustomerPhoneVerificationCode;
4
+ export type QueryParams = {
5
+ captchaToken?: string | null;
6
+ email: string;
7
+ };
@@ -0,0 +1 @@
1
+ import{fetchQuery as t,APIResponse as e,handleAPIError as n}from"@ikas/fe-api-client";const o=async(o,a)=>{try{const{data:n,errors:r}=await t({operationName:"resendCustomerPhoneVerificationCode",config:a,variables:o,query:"\n\t\t\t\tmutation resendCustomerPhoneVerificationCode (\n\t\t\t\t\t$captchaToken: String,\n\t\t\t\t\t$email: String!,\n\t\t\t\t) {\n\t\t\t\t\tresendCustomerPhoneVerificationCode (\n\t\t\t\t\t\tcaptchaToken: $captchaToken,\n\t\t\t\t\t\temail: $email,\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t"});return new e(n?.resendCustomerPhoneVerificationCode,r)}catch(t){return n(t)}};export{o as default};
@@ -1,20 +1,20 @@
1
- import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
- import { RetrieveInstallmentInfoInput, RetrieveInstallmentInfoResponse } from "../types";
3
- declare const retrieveInstallmentInfo: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<RetrieveInstallmentInfoResponse> | APIResponse<undefined>>;
4
- export default retrieveInstallmentInfo;
5
- export declare type QueryParams = {
6
- input: RetrieveInstallmentInfoInput;
7
- };
8
- export declare enum ResponseField {
9
- BANK_NAME = "bankName",
10
- BIN_NUMBER = "binNumber",
11
- CARD_ASSOCIATION = "cardAssociation",
12
- CARD_FAMILY = "cardFamily",
13
- CARD_TYPE = "cardType",
14
- INSTALLMENT_PRICES__INSTALLMENT_COUNT = "installmentPrices.installmentCount",
15
- INSTALLMENT_PRICES__INSTALLMENT_PRICE = "installmentPrices.installmentPrice",
16
- INSTALLMENT_PRICES__ORIGINAL_RATE = "installmentPrices.originalRate",
17
- INSTALLMENT_PRICES__RATE = "installmentPrices.rate",
18
- INSTALLMENT_PRICES__TOTAL_PRICE = "installmentPrices.totalPrice",
19
- PRICE = "price"
20
- }
1
+ import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
+ import { RetrieveInstallmentInfoInput, RetrieveInstallmentInfoResponse } from "../types";
3
+ declare const retrieveInstallmentInfo: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<RetrieveInstallmentInfoResponse> | APIResponse<undefined>>;
4
+ export default retrieveInstallmentInfo;
5
+ export type QueryParams = {
6
+ input: RetrieveInstallmentInfoInput;
7
+ };
8
+ export declare enum ResponseField {
9
+ BANK_NAME = "bankName",
10
+ BIN_NUMBER = "binNumber",
11
+ CARD_ASSOCIATION = "cardAssociation",
12
+ CARD_FAMILY = "cardFamily",
13
+ CARD_TYPE = "cardType",
14
+ INSTALLMENT_PRICES__INSTALLMENT_COUNT = "installmentPrices.installmentCount",
15
+ INSTALLMENT_PRICES__INSTALLMENT_PRICE = "installmentPrices.installmentPrice",
16
+ INSTALLMENT_PRICES__ORIGINAL_RATE = "installmentPrices.originalRate",
17
+ INSTALLMENT_PRICES__RATE = "installmentPrices.rate",
18
+ INSTALLMENT_PRICES__TOTAL_PRICE = "installmentPrices.totalPrice",
19
+ PRICE = "price"
20
+ }
@@ -1 +1 @@
1
- import{__awaiter as t,__generator as n}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as e,APIResponse as i,fetchQuery as r}from"@ikas/fe-api-client";var a,l=function(a,l,o){return t(void 0,void 0,void 0,(function(){var t,c,I,m;return n(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,r({operationName:"retrieveInstallmentInfo",config:o,variables:a,allReturnFields:s,fields:l,query:function(t){return"\n\t\t\t\tmutation retrieveInstallmentInfo (\n\t\t\t\t\t$input: RetrieveInstallmentInfoInput!,\n\t\t\t\t) {\n\t\t\t\t\tretrieveInstallmentInfo (\n\t\t\t\t\t\tinput: $input,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=n.sent(),c=t.data,I=t.errors,[2,new i(null==c?void 0:c.retrieveInstallmentInfo,I)];case 2:return m=n.sent(),[2,e(m)];case 3:return[2]}}))}))},s="{bankName binNumber cardAssociation cardFamily cardType installmentPrices {installmentCount installmentPrice originalRate rate totalPrice } price }";!function(t){t.BANK_NAME="bankName",t.BIN_NUMBER="binNumber",t.CARD_ASSOCIATION="cardAssociation",t.CARD_FAMILY="cardFamily",t.CARD_TYPE="cardType",t.INSTALLMENT_PRICES__INSTALLMENT_COUNT="installmentPrices.installmentCount",t.INSTALLMENT_PRICES__INSTALLMENT_PRICE="installmentPrices.installmentPrice",t.INSTALLMENT_PRICES__ORIGINAL_RATE="installmentPrices.originalRate",t.INSTALLMENT_PRICES__RATE="installmentPrices.rate",t.INSTALLMENT_PRICES__TOTAL_PRICE="installmentPrices.totalPrice",t.PRICE="price"}(a||(a={}));export{a as ResponseField,l as default};
1
+ import{fetchQuery as t,APIResponse as n,handleAPIError as e}from"@ikas/fe-api-client";const a=async(a,r,l)=>{try{const{data:e,errors:s}=await t({operationName:"retrieveInstallmentInfo",config:l,variables:a,allReturnFields:i,fields:r,query:t=>`\n\t\t\t\tmutation retrieveInstallmentInfo (\n\t\t\t\t\t$input: RetrieveInstallmentInfoInput!,\n\t\t\t\t) {\n\t\t\t\t\tretrieveInstallmentInfo (\n\t\t\t\t\t\tinput: $input,\n\t\t\t\t\t) ${t}\n\t\t\t\t}\n\t\t\t`});return new n(e?.retrieveInstallmentInfo,s)}catch(t){return e(t)}},i="{bankName binNumber cardAssociation cardFamily cardType installmentPrices {installmentCount installmentPrice originalRate rate totalPrice } price }";var r;!function(t){t.BANK_NAME="bankName",t.BIN_NUMBER="binNumber",t.CARD_ASSOCIATION="cardAssociation",t.CARD_FAMILY="cardFamily",t.CARD_TYPE="cardType",t.INSTALLMENT_PRICES__INSTALLMENT_COUNT="installmentPrices.installmentCount",t.INSTALLMENT_PRICES__INSTALLMENT_PRICE="installmentPrices.installmentPrice",t.INSTALLMENT_PRICES__ORIGINAL_RATE="installmentPrices.originalRate",t.INSTALLMENT_PRICES__RATE="installmentPrices.rate",t.INSTALLMENT_PRICES__TOTAL_PRICE="installmentPrices.totalPrice",t.PRICE="price"}(r||(r={}));export{r as ResponseField,a as default};