@ikas/storefront 2.0.74-alpha.1 → 3.0.0-alpha.12

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 (1227) hide show
  1. package/build/__api/models/AbandonedCartFlow.d.ts +19 -0
  2. package/build/__api/models/AbandonedCartFlowCustomerFilter.d.ts +10 -0
  3. package/build/__api/models/AddItemToCartInput.d.ts +18 -0
  4. package/build/__api/models/AdditionalPrice.d.ts +13 -0
  5. package/build/__api/models/AdditionalPrice.js +1 -0
  6. package/build/__api/models/ApplicableProductFilterValue.d.ts +13 -0
  7. package/build/__api/models/AppliedProduct.d.ts +10 -0
  8. package/build/__api/models/AppliedProductInput.d.ts +10 -0
  9. package/build/__api/models/AvailableShippingMethod.d.ts +14 -0
  10. package/build/__api/models/AvailableShippingMethod.js +1 -0
  11. package/build/__api/models/Blog.d.ts +28 -0
  12. package/build/__api/models/Blog.js +1 -0
  13. package/build/__api/models/BlogCategory.d.ts +13 -0
  14. package/build/__api/models/BlogCategory.js +1 -0
  15. package/build/__api/models/BlogCategoryPaginationResponse.d.ts +14 -0
  16. package/build/__api/models/BlogContent.d.ts +10 -0
  17. package/build/__api/models/BlogContent.js +1 -0
  18. package/build/__api/models/BlogMetadata.d.ts +15 -0
  19. package/build/__api/models/BlogMetadata.js +1 -0
  20. package/build/__api/models/BlogMetadataPaginationResponse.d.ts +14 -0
  21. package/build/__api/models/BlogMetadataTargetTypeEnumFilter.d.ts +13 -0
  22. package/build/__api/models/BlogPaginationResponse.d.ts +14 -0
  23. package/build/__api/models/BlogTag.d.ts +10 -0
  24. package/build/__api/models/BlogTag.js +1 -0
  25. package/build/__api/models/BlogWriter.d.ts +10 -0
  26. package/build/__api/models/BlogWriter.js +1 -0
  27. package/build/__api/models/BooleanFilterInput.d.ts +9 -0
  28. package/build/__api/models/BuyX.d.ts +12 -0
  29. package/build/__api/models/BuyXThenGetY.d.ts +13 -0
  30. package/build/__api/models/Campaign.d.ts +30 -0
  31. package/build/__api/models/CampaignDateRangeField.d.ts +10 -0
  32. package/build/__api/models/CampaignFilter.d.ts +11 -0
  33. package/build/__api/models/CampaignMinMaxRangeField.d.ts +10 -0
  34. package/build/__api/models/Cart.d.ts +31 -0
  35. package/build/__api/models/CartCampaignOffer.d.ts +17 -0
  36. package/build/__api/models/CartCampaignOfferInput.d.ts +11 -0
  37. package/build/__api/models/CartLineItemInput.d.ts +12 -0
  38. package/build/__api/models/CartLineOptionInput.d.ts +11 -0
  39. package/build/__api/models/CartLineVariantInput.d.ts +10 -0
  40. package/build/__api/models/CartStorefrontRouting.d.ts +15 -0
  41. package/build/__api/models/CartStorefrontRoutingDynamicCurrencySettings.d.ts +10 -0
  42. package/build/__api/models/CartV2.d.ts +68 -0
  43. package/build/__api/models/CartV2CampaignOffer.d.ts +17 -0
  44. package/build/__api/models/CartV2CampaignOffer.js +1 -0
  45. package/build/__api/models/Category.d.ts +27 -0
  46. package/build/__api/models/Category.js +1 -0
  47. package/build/__api/models/CategoryCondition.d.ts +11 -0
  48. package/build/__api/models/CategoryCondition.js +1 -0
  49. package/build/__api/models/CategoryFilterInput.d.ts +10 -0
  50. package/build/__api/models/CategoryPaginationResponse.d.ts +14 -0
  51. package/build/__api/models/CategoryPathFilterInput.d.ts +9 -0
  52. package/build/__api/models/CategoryPathItem.d.ts +17 -0
  53. package/build/__api/models/CategoryPathItem.js +1 -0
  54. package/build/__api/models/CategoryTranslation.d.ts +11 -0
  55. package/build/__api/models/CategoryTranslation.js +1 -0
  56. package/build/__api/models/CheckStocksLineInput.d.ts +11 -0
  57. package/build/__api/models/CheckStocksLineInput.js +1 -0
  58. package/build/__api/models/CheckStocksLineResponse.d.ts +11 -0
  59. package/build/__api/models/CheckStocksResponse.d.ts +10 -0
  60. package/build/__api/models/Checkout.d.ts +44 -0
  61. package/build/__api/models/CheckoutCustomer.d.ts +19 -0
  62. package/build/__api/models/CheckoutCustomerInput.d.ts +13 -0
  63. package/build/__api/models/CheckoutCustomerInput.js +1 -0
  64. package/build/__api/models/CheckoutOption.d.ts +10 -0
  65. package/build/__api/models/CheckoutOption.js +1 -0
  66. package/build/__api/models/CheckoutSettings.d.ts +24 -0
  67. package/build/__api/models/CheckoutSettings.js +1 -0
  68. package/build/__api/models/CheckoutSettingsPrice.d.ts +10 -0
  69. package/build/__api/models/CheckoutSettingsPrice.js +1 -0
  70. package/build/__api/models/City.d.ts +16 -0
  71. package/build/__api/models/City.js +1 -0
  72. package/build/__api/models/Country.d.ts +22 -0
  73. package/build/__api/models/Country.js +1 -0
  74. package/build/__api/models/CreateCustomerEmailSubscriptionInput.d.ts +12 -0
  75. package/build/__api/models/CreateCustomerReviewInput.d.ts +17 -0
  76. package/build/__api/models/CreateSaleTransactionWithCartInput.d.ts +12 -0
  77. package/build/__api/models/CreateSaleTransactionWithCheckoutInput.d.ts +12 -0
  78. package/build/__api/models/CurrencyRate.d.ts +13 -0
  79. package/build/__api/models/CurrencyRateData.d.ts +10 -0
  80. package/build/__api/models/Customer.d.ts +34 -0
  81. package/build/__api/models/CustomerAddress.d.ts +31 -0
  82. package/build/__api/models/CustomerAddressCity.d.ts +11 -0
  83. package/build/__api/models/CustomerAddressCity.js +1 -0
  84. package/build/__api/models/CustomerAddressCityInput.d.ts +11 -0
  85. package/build/__api/models/CustomerAddressCityInput.js +1 -0
  86. package/build/__api/models/CustomerAddressCountry.d.ts +13 -0
  87. package/build/__api/models/CustomerAddressCountry.js +1 -0
  88. package/build/__api/models/CustomerAddressCountryInput.d.ts +13 -0
  89. package/build/__api/models/CustomerAddressCountryInput.js +1 -0
  90. package/build/__api/models/CustomerAddressDistrict.d.ts +11 -0
  91. package/build/__api/models/CustomerAddressDistrict.js +1 -0
  92. package/build/__api/models/CustomerAddressDistrictInput.d.ts +11 -0
  93. package/build/__api/models/CustomerAddressDistrictInput.js +1 -0
  94. package/build/__api/models/CustomerAddressState.d.ts +11 -0
  95. package/build/__api/models/CustomerAddressState.js +1 -0
  96. package/build/__api/models/CustomerAddressStateInput.d.ts +11 -0
  97. package/build/__api/models/CustomerAddressStateInput.js +1 -0
  98. package/build/__api/models/CustomerAttribute.d.ts +19 -0
  99. package/build/__api/models/CustomerAttribute.js +1 -0
  100. package/build/__api/models/CustomerAttributeOption.d.ts +10 -0
  101. package/build/__api/models/CustomerAttributeOption.js +1 -0
  102. package/build/__api/models/CustomerAttributeOptionTranslation.d.ts +10 -0
  103. package/build/__api/models/CustomerAttributeOptionTranslation.js +1 -0
  104. package/build/__api/models/CustomerAttributeSalesChannel.d.ts +13 -0
  105. package/build/__api/models/CustomerAttributeSalesChannel.js +1 -0
  106. package/build/__api/models/CustomerAttributeTranslation.d.ts +13 -0
  107. package/build/__api/models/CustomerAttributeTranslation.js +1 -0
  108. package/build/__api/models/CustomerAttributeValue.d.ts +11 -0
  109. package/build/__api/models/CustomerAttributeValue.js +1 -0
  110. package/build/__api/models/CustomerAttributeValueInput.d.ts +11 -0
  111. package/build/__api/models/CustomerAttributeValueInput.js +1 -0
  112. package/build/__api/models/CustomerCheckResponse.d.ts +9 -0
  113. package/build/__api/models/CustomerFavoriteProduct.d.ts +11 -0
  114. package/build/__api/models/CustomerFavoriteProduct.js +1 -0
  115. package/build/__api/models/CustomerLoginResponse.d.ts +12 -0
  116. package/build/__api/models/CustomerRefreshTokenResponse.d.ts +10 -0
  117. package/build/__api/models/CustomerReview.d.ts +21 -0
  118. package/build/__api/models/CustomerReview.js +1 -0
  119. package/build/__api/models/CustomerReviewSFPaginationResponse.d.ts +14 -0
  120. package/build/__api/models/CustomerReviewSummary.d.ts +14 -0
  121. package/build/__api/models/CustomerReviewSummary.js +1 -0
  122. package/build/__api/models/CustomerReviewSummaryPaginationResponse.d.ts +14 -0
  123. package/build/__api/models/CustomerReviewSummaryStar.d.ts +10 -0
  124. package/build/__api/models/CustomerReviewSummaryStar.js +1 -0
  125. package/build/__api/models/DateFilterInput.d.ts +16 -0
  126. package/build/__api/models/District.d.ts +16 -0
  127. package/build/__api/models/District.js +1 -0
  128. package/build/__api/models/FixedDiscount.d.ts +14 -0
  129. package/build/__api/models/GetAvailableStockLocation.d.ts +14 -0
  130. package/build/__api/models/GetAvailableStockLocationAddress.d.ts +16 -0
  131. package/build/__api/models/GetAvailableStockLocationAddressCity.d.ts +11 -0
  132. package/build/__api/models/GetAvailableStockLocationsResponse.d.ts +10 -0
  133. package/build/__api/models/GetOrderLineFile.d.ts +9 -0
  134. package/build/__api/models/GetProductCampaignsInput.d.ts +11 -0
  135. package/build/__api/models/GetProductCampaignsResponse.d.ts +11 -0
  136. package/build/__api/models/GetVariantStockLocation.d.ts +12 -0
  137. package/build/__api/models/GetVariantStockLocationListResponse.d.ts +10 -0
  138. package/build/__api/models/GetY.d.ts +13 -0
  139. package/build/__api/models/HTMLMetaData.d.ts +20 -0
  140. package/build/__api/models/HTMLMetaData.js +1 -0
  141. package/build/__api/models/HTMLMetaDataOverride.d.ts +13 -0
  142. package/build/__api/models/HTMLMetaDataOverride.js +1 -0
  143. package/build/__api/models/HTMLMetaDataTargetTypeEnumFilter.d.ts +13 -0
  144. package/build/__api/models/HTMLMetaDataTranslation.d.ts +11 -0
  145. package/build/__api/models/HTMLMetaDataTranslation.js +1 -0
  146. package/build/__api/models/Invoice.d.ts +16 -0
  147. package/build/__api/models/Invoice.js +1 -0
  148. package/build/__api/models/ListCustomerReviewInput.d.ts +9 -0
  149. package/build/__api/models/LocationTranslations.d.ts +10 -0
  150. package/build/__api/models/LocationTranslations.js +1 -0
  151. package/build/__api/models/MerchantSettings.d.ts +11 -0
  152. package/build/__api/models/MerchantSettings.js +1 -0
  153. package/build/__api/models/OrderAddress.d.ts +28 -0
  154. package/build/__api/models/OrderAddressCity.d.ts +11 -0
  155. package/build/__api/models/OrderAddressCity.js +1 -0
  156. package/build/__api/models/OrderAddressCityInput.d.ts +11 -0
  157. package/build/__api/models/OrderAddressCityInput.js +1 -0
  158. package/build/__api/models/OrderAddressCountry.d.ts +13 -0
  159. package/build/__api/models/OrderAddressCountry.js +1 -0
  160. package/build/__api/models/OrderAddressCountryInput.d.ts +13 -0
  161. package/build/__api/models/OrderAddressCountryInput.js +1 -0
  162. package/build/__api/models/OrderAddressDistrict.d.ts +11 -0
  163. package/build/__api/models/OrderAddressDistrict.js +1 -0
  164. package/build/__api/models/OrderAddressDistrictInput.d.ts +11 -0
  165. package/build/__api/models/OrderAddressDistrictInput.js +1 -0
  166. package/build/__api/models/OrderAddressInput.d.ts +28 -0
  167. package/build/__api/models/OrderAddressInput.js +1 -0
  168. package/build/__api/models/OrderAddressState.d.ts +11 -0
  169. package/build/__api/models/OrderAddressState.js +1 -0
  170. package/build/__api/models/OrderAddressStateInput.d.ts +11 -0
  171. package/build/__api/models/OrderAddressStateInput.js +1 -0
  172. package/build/__api/models/OrderAdjustment.d.ts +19 -0
  173. package/build/__api/models/OrderAdjustment.js +1 -0
  174. package/build/__api/models/OrderAdjustmentAppliedOrderLine.d.ts +12 -0
  175. package/build/__api/models/OrderAdjustmentAppliedOrderLine.js +1 -0
  176. package/build/__api/models/OrderAdjustmentInput.d.ts +16 -0
  177. package/build/__api/models/OrderAdjustmentInput.js +1 -0
  178. package/build/__api/models/OrderCurrencyRate.d.ts +11 -0
  179. package/build/__api/models/OrderCustomer.d.ts +15 -0
  180. package/build/__api/models/OrderGiftPackageLine.d.ts +10 -0
  181. package/build/__api/models/OrderGiftPackageLine.js +1 -0
  182. package/build/__api/models/OrderLineDiscount.d.ts +15 -0
  183. package/build/__api/models/OrderLineDiscount.js +1 -0
  184. package/build/__api/models/OrderLineItem.d.ts +26 -0
  185. package/build/__api/models/OrderLineItem.js +1 -0
  186. package/build/__api/models/OrderLineOption.d.ts +15 -0
  187. package/build/__api/models/OrderLineOption.js +1 -0
  188. package/build/__api/models/OrderLineOptionValue.d.ts +11 -0
  189. package/build/__api/models/OrderLineOptionValue.js +1 -0
  190. package/build/__api/models/OrderLineVariant.d.ts +27 -0
  191. package/build/__api/models/OrderLineVariant.js +1 -0
  192. package/build/__api/models/OrderLineVariantBrand.d.ts +10 -0
  193. package/build/__api/models/OrderLineVariantBrand.js +1 -0
  194. package/build/__api/models/OrderLineVariantCategory.d.ts +12 -0
  195. package/build/__api/models/OrderLineVariantCategory.js +1 -0
  196. package/build/__api/models/OrderLineVariantCategoryPath.d.ts +10 -0
  197. package/build/__api/models/OrderLineVariantCategoryPath.js +1 -0
  198. package/build/__api/models/OrderLineVariantPrice.d.ts +13 -0
  199. package/build/__api/models/OrderLineVariantPrice.js +1 -0
  200. package/build/__api/models/OrderLineVariantVariantValues.d.ts +13 -0
  201. package/build/__api/models/OrderLineVariantVariantValues.js +1 -0
  202. package/build/__api/models/OrderPackage.d.ts +18 -0
  203. package/build/__api/models/OrderPackage.js +1 -0
  204. package/build/__api/models/OrderPaymentMethod.d.ts +13 -0
  205. package/build/__api/models/OrderPaymentMethod.js +1 -0
  206. package/build/__api/models/OrderRefundOrderLineInput.d.ts +10 -0
  207. package/build/__api/models/OrderRefundOrderLineInput.js +1 -0
  208. package/build/__api/models/OrderRefundRequestInput.d.ts +12 -0
  209. package/build/__api/models/OrderRefundSettings.d.ts +14 -0
  210. package/build/__api/models/OrderShippingLine.d.ts +16 -0
  211. package/build/__api/models/OrderShippingLine.js +1 -0
  212. package/build/__api/models/OrderStorefrontRouting.d.ts +15 -0
  213. package/build/__api/models/OrderStorefrontRoutingDynamicCurrencySettings.d.ts +10 -0
  214. package/build/__api/models/OrderTaxLine.d.ts +10 -0
  215. package/build/__api/models/OrderTaxLine.js +1 -0
  216. package/build/__api/models/PaginationInput.d.ts +10 -0
  217. package/build/__api/models/PaymentGateway.d.ts +26 -0
  218. package/build/__api/models/PaymentGateway.js +1 -0
  219. package/build/__api/models/PaymentGatewayPaymentMethod.d.ts +10 -0
  220. package/build/__api/models/PaymentGatewayPaymentMethod.js +1 -0
  221. package/build/__api/models/PaymentGatewayTranslation.d.ts +11 -0
  222. package/build/__api/models/PaymentGatewayTranslation.js +1 -0
  223. package/build/__api/models/PaymentMethodDetailInput.d.ts +15 -0
  224. package/build/__api/models/Product.d.ts +33 -0
  225. package/build/__api/models/ProductAttribute.d.ts +19 -0
  226. package/build/__api/models/ProductAttributeOption.d.ts +10 -0
  227. package/build/__api/models/ProductAttributeOptionTranslation.d.ts +10 -0
  228. package/build/__api/models/ProductAttributeTableCellData.d.ts +10 -0
  229. package/build/__api/models/ProductAttributeTableTemplate.d.ts +11 -0
  230. package/build/__api/models/ProductAttributeTranslation.d.ts +13 -0
  231. package/build/__api/models/ProductAttributeValue.d.ts +12 -0
  232. package/build/__api/models/ProductAttributeValue.js +1 -0
  233. package/build/__api/models/ProductBackInStockRemind.d.ts +14 -0
  234. package/build/__api/models/ProductBackInStockRemindInput.d.ts +11 -0
  235. package/build/__api/models/ProductBrand.d.ts +19 -0
  236. package/build/__api/models/ProductBrand.js +1 -0
  237. package/build/__api/models/ProductBrandPaginationResponse.d.ts +14 -0
  238. package/build/__api/models/ProductBrandTranslation.d.ts +11 -0
  239. package/build/__api/models/ProductBrandTranslation.js +1 -0
  240. package/build/__api/models/ProductFacetCount.d.ts +11 -0
  241. package/build/__api/models/ProductFacetCountValue.d.ts +10 -0
  242. package/build/__api/models/ProductFilterData.d.ts +12 -0
  243. package/build/__api/models/ProductFilterDataFilter.d.ts +24 -0
  244. package/build/__api/models/ProductFilterSettings.d.ts +14 -0
  245. package/build/__api/models/ProductImage.d.ts +12 -0
  246. package/build/__api/models/ProductItem.d.ts +11 -0
  247. package/build/__api/models/ProductItemInput.d.ts +11 -0
  248. package/build/__api/models/ProductLastViewed.d.ts +12 -0
  249. package/build/__api/models/ProductLastViewedInput.d.ts +12 -0
  250. package/build/__api/models/ProductOption.d.ts +28 -0
  251. package/build/__api/models/ProductOptionDateSettings.d.ts +12 -0
  252. package/build/__api/models/ProductOptionFileSettings.d.ts +11 -0
  253. package/build/__api/models/ProductOptionSelectSettings.d.ts +14 -0
  254. package/build/__api/models/ProductOptionSelectValue.d.ts +16 -0
  255. package/build/__api/models/ProductOptionSelectValueOtherPrice.d.ts +10 -0
  256. package/build/__api/models/ProductOptionSelectValueTranslations.d.ts +10 -0
  257. package/build/__api/models/ProductOptionSet.d.ts +14 -0
  258. package/build/__api/models/ProductOptionSetTranslations.d.ts +11 -0
  259. package/build/__api/models/ProductOptionTextSettings.d.ts +10 -0
  260. package/build/__api/models/ProductOptionTranslations.d.ts +13 -0
  261. package/build/__api/models/ProductPaginationResponse.d.ts +14 -0
  262. package/build/__api/models/ProductPrice.d.ts +13 -0
  263. package/build/__api/models/ProductPrice.js +1 -0
  264. package/build/__api/models/ProductSearchResponse.d.ts +17 -0
  265. package/build/__api/models/ProductStockLocation.d.ts +13 -0
  266. package/build/__api/models/ProductTagTranslation.d.ts +11 -0
  267. package/build/__api/models/ProductTranslation.d.ts +11 -0
  268. package/build/__api/models/ProductVariantType.d.ts +11 -0
  269. package/build/__api/models/Raffle.d.ts +23 -0
  270. package/build/__api/models/RaffleDateRangeField.d.ts +10 -0
  271. package/build/__api/models/RaffleMetadata.d.ts +15 -0
  272. package/build/__api/models/RaffleMetadataTargetTypeEnumFilter.d.ts +13 -0
  273. package/build/__api/models/RafflePaginationResponse.d.ts +14 -0
  274. package/build/__api/models/RaffleParticipants.d.ts +23 -0
  275. package/build/__api/models/RaffleParticipantsInput.d.ts +17 -0
  276. package/build/__api/models/RaffleParticipantsUpdateInput.d.ts +13 -0
  277. package/build/__api/models/RaffleVariantInformation.d.ts +10 -0
  278. package/build/__api/models/RetrieveInstallmentInfoInput.d.ts +11 -0
  279. package/build/__api/models/RetrieveInstallmentInfoResponse.d.ts +17 -0
  280. package/build/__api/models/SaveCartInput.d.ts +26 -0
  281. package/build/__api/models/SaveCartInput.js +1 -0
  282. package/build/__api/models/SaveCheckoutInput.d.ts +26 -0
  283. package/build/__api/models/SaveItemToCartInput.d.ts +21 -0
  284. package/build/__api/models/SaveMyCustomerAddressInput.d.ts +29 -0
  285. package/build/__api/models/SaveMyCustomerAddressInput.js +1 -0
  286. package/build/__api/models/SaveMyCustomerInput.d.ts +17 -0
  287. package/build/__api/models/SaveMyCustomerInput.js +1 -0
  288. package/build/__api/models/SearchCategory.d.ts +15 -0
  289. package/build/__api/models/SearchCategoryPath.d.ts +13 -0
  290. package/build/__api/models/SearchDynamicCurrencySettings.d.ts +10 -0
  291. package/build/__api/models/SearchHTMLMetaData.d.ts +16 -0
  292. package/build/__api/models/SearchHTMLMetaDataOverride.d.ts +13 -0
  293. package/build/__api/models/SearchInput.d.ts +32 -0
  294. package/build/__api/models/SearchInputFacetListInput.d.ts +12 -0
  295. package/build/__api/models/SearchInputFilterListInput.d.ts +14 -0
  296. package/build/__api/models/SearchInputFilterListInput.js +1 -0
  297. package/build/__api/models/SearchInputOrderByInput.d.ts +11 -0
  298. package/build/__api/models/SearchProduct.d.ts +34 -0
  299. package/build/__api/models/SearchProductAttribute.d.ts +15 -0
  300. package/build/__api/models/SearchProductAttributeOption.d.ts +10 -0
  301. package/build/__api/models/SearchProductAttributeTableCellData.d.ts +10 -0
  302. package/build/__api/models/SearchProductAttributeTableTemplate.d.ts +11 -0
  303. package/build/__api/models/SearchProductAttributeValue.d.ts +14 -0
  304. package/build/__api/models/SearchProductBrand.d.ts +13 -0
  305. package/build/__api/models/SearchProductImage.d.ts +12 -0
  306. package/build/__api/models/SearchProductPrice.d.ts +13 -0
  307. package/build/__api/models/SearchProductStockLocation.d.ts +10 -0
  308. package/build/__api/models/SearchProductTag.d.ts +12 -0
  309. package/build/__api/models/SearchProductVariantType.d.ts +12 -0
  310. package/build/__api/models/SearchVariant.d.ts +25 -0
  311. package/build/__api/models/SearchVariantType.d.ts +15 -0
  312. package/build/__api/models/SearchVariantValue.d.ts +12 -0
  313. package/build/__api/models/SearchVariationValueRelation.d.ts +10 -0
  314. package/build/__api/models/SocialLoginSettings.d.ts +12 -0
  315. package/build/__api/models/State.d.ts +12 -0
  316. package/build/__api/models/State.js +1 -0
  317. package/build/__api/models/StockLocation.d.ts +18 -0
  318. package/build/__api/models/StockLocation.js +1 -0
  319. package/build/__api/models/StockLocationAddress.d.ts +19 -0
  320. package/build/__api/models/StockLocationAddress.js +1 -0
  321. package/build/__api/models/StockLocationAddressCity.d.ts +11 -0
  322. package/build/__api/models/StockLocationAddressCity.js +1 -0
  323. package/build/__api/models/StockLocationAddressCountry.d.ts +11 -0
  324. package/build/__api/models/StockLocationAddressCountry.js +1 -0
  325. package/build/__api/models/StockLocationAddressDistrict.d.ts +11 -0
  326. package/build/__api/models/StockLocationAddressDistrict.js +1 -0
  327. package/build/__api/models/StockLocationAddressState.d.ts +11 -0
  328. package/build/__api/models/StockLocationAddressState.js +1 -0
  329. package/build/__api/models/Storefront.d.ts +30 -0
  330. package/build/__api/models/StorefrontDomain.d.ts +13 -0
  331. package/build/__api/models/StorefrontDynamicCurrencySettings.d.ts +10 -0
  332. package/build/__api/models/StorefrontLocalization.d.ts +12 -0
  333. package/build/__api/models/StorefrontOrder.d.ts +50 -0
  334. package/build/__api/models/StorefrontRouting.d.ts +16 -0
  335. package/build/__api/models/StorefrontTheme.d.ts +15 -0
  336. package/build/__api/models/StorefrontTransaction.d.ts +27 -0
  337. package/build/__api/models/StringFilterInput.d.ts +13 -0
  338. package/build/__api/models/Town.d.ts +12 -0
  339. package/build/__api/models/TrackingInfo.d.ts +13 -0
  340. package/build/__api/models/TrackingInfo.js +1 -0
  341. package/build/__api/models/TransactionError.d.ts +11 -0
  342. package/build/__api/models/TransactionError.js +1 -0
  343. package/build/__api/models/TransactionInstallmentPrice.d.ts +13 -0
  344. package/build/__api/models/TransactionInstallmentPrice.js +1 -0
  345. package/build/__api/models/TransactionPaymentMethodDetail.d.ts +18 -0
  346. package/build/__api/models/TransactionPaymentMethodDetail.js +1 -0
  347. package/build/__api/models/TransactionResponse.d.ts +16 -0
  348. package/build/__api/models/Variant.d.ts +25 -0
  349. package/build/__api/models/VariantStock.d.ts +10 -0
  350. package/build/__api/models/VariantType.d.ts +16 -0
  351. package/build/__api/models/VariantTypeTranslation.d.ts +12 -0
  352. package/build/__api/models/VariantValue.d.ts +12 -0
  353. package/build/__api/models/VariantValueRelation.d.ts +10 -0
  354. package/build/__api/models/VariantValueTranslation.d.ts +10 -0
  355. package/build/__api/models/_base.d.ts +18 -0
  356. package/build/__api/models/_base.js +1 -0
  357. package/build/__api/mutations/activateCustomer.d.ts +6 -0
  358. package/build/__api/mutations/addCouponCodeToCheckout.d.ts +217 -0
  359. package/build/__api/mutations/addItemToCart.d.ts +215 -0
  360. package/build/__api/mutations/addItemToCart.js +1 -0
  361. package/build/__api/mutations/createCustomerEmailSubscription.d.ts +69 -0
  362. package/build/__api/mutations/createCustomerEmailSubscription.js +1 -0
  363. package/build/__api/mutations/createCustomerReview.d.ts +24 -0
  364. package/build/__api/mutations/createCustomerReview.js +1 -0
  365. package/build/__api/mutations/createOrderRefundRequest.d.ts +195 -0
  366. package/build/__api/mutations/createOrderRefundRequest.js +1 -0
  367. package/build/__api/mutations/createSaleTransactionWithCart.d.ts +17 -0
  368. package/build/__api/mutations/createSaleTransactionWithCart.js +1 -0
  369. package/build/__api/mutations/createSaleTransactionWithCheckout.d.ts +17 -0
  370. package/build/__api/mutations/customerForgotPassword.d.ts +7 -0
  371. package/build/__api/mutations/customerForgotPassword.js +1 -0
  372. package/build/__api/mutations/customerLogin.d.ts +72 -0
  373. package/build/__api/mutations/customerLogin.js +1 -0
  374. package/build/__api/mutations/customerRecoverPassword.d.ts +8 -0
  375. package/build/__api/mutations/customerRecoverPassword.js +1 -0
  376. package/build/__api/mutations/customerRefreshToken.d.ts +11 -0
  377. package/build/__api/mutations/customerRefreshToken.js +1 -0
  378. package/build/__api/mutations/deleteRaffleParticipantsList.d.ts +6 -0
  379. package/build/__api/mutations/getOrderLineFile.d.ts +7 -0
  380. package/build/__api/mutations/getOrderLineFile.js +1 -0
  381. package/build/__api/mutations/registerCustomer.d.ts +77 -0
  382. package/build/__api/mutations/registerCustomer.js +1 -0
  383. package/build/__api/mutations/retrieveInstallmentInfo.d.ts +20 -0
  384. package/build/__api/mutations/retrieveInstallmentInfo.js +1 -0
  385. package/build/__api/mutations/saveCart.d.ts +215 -0
  386. package/build/__api/mutations/saveCart.js +1 -0
  387. package/build/__api/mutations/saveCartCouponCode.d.ts +216 -0
  388. package/build/__api/mutations/saveCartCouponCode.js +1 -0
  389. package/build/__api/mutations/saveCheckout.d.ts +216 -0
  390. package/build/__api/mutations/saveFavoriteProduct.d.ts +7 -0
  391. package/build/__api/mutations/saveFavoriteProduct.js +1 -0
  392. package/build/__api/mutations/saveItemToCart.d.ts +97 -0
  393. package/build/__api/mutations/saveLastViewedProducts.d.ts +20 -0
  394. package/build/__api/mutations/saveLastViewedProducts.js +1 -0
  395. package/build/__api/mutations/saveMyCustomer.d.ts +69 -0
  396. package/build/__api/mutations/saveMyCustomer.js +1 -0
  397. package/build/__api/mutations/saveProductBackInStockRemind.d.ts +18 -0
  398. package/build/__api/mutations/saveProductBackInStockRemind.js +1 -0
  399. package/build/__api/mutations/saveRaffleParticipant.d.ts +27 -0
  400. package/build/__api/mutations/saveRaffleParticipant.js +1 -0
  401. package/build/__api/mutations/sendContactFormToMerchant.d.ts +11 -0
  402. package/build/__api/mutations/sendContactFormToMerchant.js +1 -0
  403. package/build/__api/mutations/updateRaffleParticipant.d.ts +28 -0
  404. package/build/__api/queries/checkCustomerEmail.d.ts +11 -0
  405. package/build/__api/queries/checkCustomerEmail.js +1 -0
  406. package/build/__api/queries/checkStocks.d.ts +13 -0
  407. package/build/__api/queries/checkStocks.js +1 -0
  408. package/build/__api/queries/customerSocialLogin.d.ts +71 -0
  409. package/build/__api/queries/customerSocialLogin.js +1 -0
  410. package/build/__api/queries/getAvailableShippingCountries.d.ts +6 -0
  411. package/build/__api/queries/getAvailableShippingCountries.js +1 -0
  412. package/build/__api/queries/getAvailableStockLocations.d.ts +28 -0
  413. package/build/__api/queries/getCart.d.ts +99 -0
  414. package/build/__api/queries/getCartById.d.ts +216 -0
  415. package/build/__api/queries/getCartById.js +1 -0
  416. package/build/__api/queries/getCheckoutByCartId.d.ts +216 -0
  417. package/build/__api/queries/getCheckoutById.d.ts +216 -0
  418. package/build/__api/queries/getCurrencyRate.d.ts +17 -0
  419. package/build/__api/queries/getCustomerOrders.d.ts +195 -0
  420. package/build/__api/queries/getCustomerOrders.js +1 -0
  421. package/build/__api/queries/getLastViewedProducts.d.ts +20 -0
  422. package/build/__api/queries/getLastViewedProducts.js +1 -0
  423. package/build/__api/queries/getMyCountry.d.ts +3 -0
  424. package/build/__api/queries/getMyCountry.js +1 -0
  425. package/build/__api/queries/getMyCustomer.d.ts +66 -0
  426. package/build/__api/queries/getMyCustomer.js +1 -0
  427. package/build/__api/queries/getOrder.d.ts +195 -0
  428. package/build/__api/queries/getOrderByEmail.d.ts +196 -0
  429. package/build/__api/queries/getOrderByEmail.js +1 -0
  430. package/build/__api/queries/getProductCampaigns.d.ts +47 -0
  431. package/build/__api/queries/getProductCampaigns.js +1 -0
  432. package/build/__api/queries/getProductFilterData.d.ts +159 -0
  433. package/build/__api/queries/getProductFilterData.js +1 -0
  434. package/build/__api/queries/getRaffleParticipants.d.ts +24 -0
  435. package/build/__api/queries/getRafflesByCustomerId.d.ts +33 -0
  436. package/build/__api/queries/getRafflesByCustomerId.js +1 -0
  437. package/build/__api/queries/getRelatedProducts.d.ts +14 -0
  438. package/build/__api/queries/getRelatedProducts.js +1 -0
  439. package/build/__api/queries/getStorefront.d.ts +61 -0
  440. package/build/__api/queries/getStorefront.js +1 -0
  441. package/build/__api/queries/getVariantStockLocations.d.ts +30 -0
  442. package/build/__api/queries/isFavoriteProduct.d.ts +6 -0
  443. package/build/__api/queries/isFavoriteProduct.js +1 -0
  444. package/build/__api/queries/listBlog.d.ts +70 -0
  445. package/build/__api/queries/listBlog.js +1 -0
  446. package/build/__api/queries/listBlogCategory.d.ts +33 -0
  447. package/build/__api/queries/listBlogCategory.js +1 -0
  448. package/build/__api/queries/listBlogMetadata.d.ts +28 -0
  449. package/build/__api/queries/listBlogMetadata.js +1 -0
  450. package/build/__api/queries/listCategory.d.ts +85 -0
  451. package/build/__api/queries/listCategory.js +1 -0
  452. package/build/__api/queries/listCheckoutSettings.d.ts +29 -0
  453. package/build/__api/queries/listCheckoutSettings.js +1 -0
  454. package/build/__api/queries/listCity.d.ts +25 -0
  455. package/build/__api/queries/listCity.js +1 -0
  456. package/build/__api/queries/listCountry.d.ts +31 -0
  457. package/build/__api/queries/listCountry.js +1 -0
  458. package/build/__api/queries/listCustomerAttribute.d.ts +27 -0
  459. package/build/__api/queries/listCustomerAttribute.js +1 -0
  460. package/build/__api/queries/listCustomerReviewSummary.d.ts +23 -0
  461. package/build/__api/queries/listCustomerReviewSummary.js +1 -0
  462. package/build/__api/queries/listCustomerReviews.d.ts +32 -0
  463. package/build/__api/queries/listCustomerReviews.js +1 -0
  464. package/build/__api/queries/listDistrict.d.ts +26 -0
  465. package/build/__api/queries/listDistrict.js +1 -0
  466. package/build/__api/queries/listFavoriteProducts.d.ts +12 -0
  467. package/build/__api/queries/listFavoriteProducts.js +1 -0
  468. package/build/__api/queries/listHTMLMetaData.d.ts +32 -0
  469. package/build/__api/queries/listHTMLMetaData.js +1 -0
  470. package/build/__api/queries/listMerchantSettings.d.ts +16 -0
  471. package/build/__api/queries/listMerchantSettings.js +1 -0
  472. package/build/__api/queries/listOrderRefundSettings.d.ts +21 -0
  473. package/build/__api/queries/listOrderRefundSettings.js +1 -0
  474. package/build/__api/queries/listOrderTransactions.d.ts +43 -0
  475. package/build/__api/queries/listOrderTransactions.js +1 -0
  476. package/build/__api/queries/listPaymentGateway.d.ts +35 -0
  477. package/build/__api/queries/listPaymentGateway.js +1 -0
  478. package/build/__api/queries/listProduct.d.ts +92 -0
  479. package/build/__api/queries/listProductAttribute.d.ts +33 -0
  480. package/build/__api/queries/listProductAttribute.js +1 -0
  481. package/build/__api/queries/listProductBackInStockRemind.d.ts +23 -0
  482. package/build/__api/queries/listProductBackInStockRemind.js +1 -0
  483. package/build/__api/queries/listProductBrand.d.ts +49 -0
  484. package/build/__api/queries/listProductBrand.js +1 -0
  485. package/build/__api/queries/listProductOptionSet.d.ts +59 -0
  486. package/build/__api/queries/listProductOptionSet.js +1 -0
  487. package/build/__api/queries/listProductStockLocation.d.ts +18 -0
  488. package/build/__api/queries/listRaffle.d.ts +45 -0
  489. package/build/__api/queries/listRaffle.js +1 -0
  490. package/build/__api/queries/listRaffleMetadata.d.ts +24 -0
  491. package/build/__api/queries/listRaffleMetadata.js +1 -0
  492. package/build/__api/queries/listState.d.ts +20 -0
  493. package/build/__api/queries/listState.js +1 -0
  494. package/build/__api/queries/listStockLocation.d.ts +35 -0
  495. package/build/__api/queries/listStockLocation.js +1 -0
  496. package/build/__api/queries/listTown.d.ts +20 -0
  497. package/build/__api/queries/listVariantType.d.ts +29 -0
  498. package/build/__api/queries/searchProducts.d.ts +130 -0
  499. package/build/__api/queries/searchProducts.js +1 -0
  500. package/build/__api/types/index.d.ts +2524 -0
  501. package/build/__api/types/index.js +1 -0
  502. package/build/_virtual/Axios.js_commonjs-proxy2.js +1 -0
  503. package/build/_virtual/Cancel.js_commonjs-proxy.js +1 -0
  504. package/build/_virtual/CancelToken.js_commonjs-proxy.js +1 -0
  505. package/build/_virtual/InterceptorManager.js_commonjs-proxy.js +1 -0
  506. package/build/_virtual/_commonjsHelpers.js +1 -1
  507. package/build/_virtual/axios.js_commonjs-proxy.js +1 -0
  508. package/build/_virtual/bind.js_commonjs-proxy.js +1 -0
  509. package/build/_virtual/browser.js_commonjs-proxy.js +1 -0
  510. package/build/_virtual/buildFullPath.js_commonjs-proxy.js +1 -0
  511. package/build/_virtual/buildURL.js_commonjs-proxy.js +1 -0
  512. package/build/_virtual/combineURLs.js_commonjs-proxy.js +1 -0
  513. package/build/_virtual/common.js_commonjs-proxy.js +1 -0
  514. package/build/_virtual/cookies.js_commonjs-proxy.js +1 -0
  515. package/build/_virtual/createError.js_commonjs-proxy.js +1 -0
  516. package/build/_virtual/debug.js_commonjs-proxy.js +1 -0
  517. package/build/_virtual/defaults.js_commonjs-proxy.js +1 -0
  518. package/build/_virtual/dispatchRequest.js_commonjs-proxy.js +1 -0
  519. package/build/_virtual/enhanceError.js_commonjs-proxy.js +1 -0
  520. package/build/_virtual/http.js_commonjs-proxy.js +1 -0
  521. package/build/_virtual/index.js_commonjs-proxy12.js +1 -1
  522. package/build/_virtual/index.js_commonjs-proxy13.js +1 -1
  523. package/build/_virtual/index.js_commonjs-proxy14.js +1 -0
  524. package/build/_virtual/index.js_commonjs-proxy15.js +1 -0
  525. package/build/_virtual/index.js_commonjs-proxy16.js +1 -0
  526. package/build/_virtual/index.js_commonjs-proxy17.js +1 -0
  527. package/build/_virtual/index.js_commonjs-proxy18.js +1 -0
  528. package/build/_virtual/index.js_commonjs-proxy2.js +1 -1
  529. package/build/_virtual/index.js_commonjs-proxy3.js +1 -1
  530. package/build/_virtual/index.js_commonjs-proxy4.js +1 -1
  531. package/build/_virtual/isAbsoluteURL.js_commonjs-proxy.js +1 -0
  532. package/build/_virtual/isAxiosError.js_commonjs-proxy.js +1 -0
  533. package/build/_virtual/isCancel.js_commonjs-proxy.js +1 -0
  534. package/build/_virtual/isURLSameOrigin.js_commonjs-proxy.js +1 -0
  535. package/build/_virtual/mergeConfig.js_commonjs-proxy.js +1 -0
  536. package/build/_virtual/node.js_commonjs-proxy3.js +1 -0
  537. package/build/_virtual/normalizeHeaderName.js_commonjs-proxy.js +1 -0
  538. package/build/_virtual/parseHeaders.js_commonjs-proxy.js +1 -0
  539. package/build/_virtual/settle.js_commonjs-proxy.js +1 -0
  540. package/build/_virtual/spread.js_commonjs-proxy.js +1 -0
  541. package/build/_virtual/transformData.js_commonjs-proxy.js +1 -0
  542. package/build/_virtual/utils.js_commonjs-proxy.js +1 -0
  543. package/build/_virtual/validator.js_commonjs-proxy.js +1 -0
  544. package/build/_virtual/xhr.js_commonjs-proxy.js +1 -0
  545. package/build/analytics/analytics.d.ts +6 -6
  546. package/build/analytics/analytics.js +1 -1
  547. package/build/analytics/events.d.ts +1 -2
  548. package/build/analytics/events.js +1 -1
  549. package/build/analytics/facebookPixel.d.ts +2 -1
  550. package/build/analytics/facebookPixel.js +1 -1
  551. package/build/analytics/googleAnalytics.d.ts +2 -1
  552. package/build/analytics/googleAnalytics.js +1 -1
  553. package/build/analytics/googleTagManager.d.ts +16 -15
  554. package/build/analytics/googleTagManager.js +1 -1
  555. package/build/analytics/googleUniversal.d.ts +2 -2
  556. package/build/analytics/googleUniversal.js +1 -1
  557. package/build/analytics/head/index.js +1 -1
  558. package/build/analytics/ikas.d.ts +2 -1
  559. package/build/analytics/ikas.js +1 -1
  560. package/build/assets/translations/checkout/en.js +1 -1
  561. package/build/assets/translations/checkout/tr.js +1 -1
  562. package/build/components/checkout/components/address-form/index.js +1 -1
  563. package/build/components/checkout/components/address-form/model.d.ts +10 -58
  564. package/build/components/checkout/components/address-form/model.js +1 -1
  565. package/build/components/checkout/components/cart-summary/cart-item/index.js +1 -1
  566. package/build/components/checkout/components/cart-summary/index.js +1 -1
  567. package/build/components/checkout/components/cart-summary/style.module.scss.js +1 -1
  568. package/build/components/checkout/components/credit-card-form/index.js +1 -1
  569. package/build/components/checkout/components/customer-addresses/index.d.ts +4 -0
  570. package/build/components/checkout/components/customer-addresses/index.js +1 -1
  571. package/build/components/checkout/components/customer-addresses/model.d.ts +1 -1
  572. package/build/components/checkout/components/customer-addresses/model.js +1 -1
  573. package/build/components/checkout/components/customer-addresses/style.module.scss.js +1 -1
  574. package/build/components/checkout/components/delivery-methods/icon-button/index.d.ts +10 -0
  575. package/build/components/checkout/components/delivery-methods/icon-button/index.js +1 -0
  576. package/build/components/checkout/components/delivery-methods/icon-button/style.module.scss.js +1 -0
  577. package/build/components/checkout/components/delivery-methods/icons/box.d.ts +6 -0
  578. package/build/components/checkout/components/delivery-methods/icons/box.js +1 -0
  579. package/build/components/checkout/components/delivery-methods/icons/store.d.ts +6 -0
  580. package/build/components/checkout/components/delivery-methods/icons/store.js +1 -0
  581. package/build/components/checkout/components/delivery-methods/index.d.ts +7 -0
  582. package/build/components/checkout/components/delivery-methods/index.js +1 -0
  583. package/build/components/checkout/components/delivery-methods/style.module.scss.js +1 -0
  584. package/build/components/checkout/components/error/stock-error/index.js +1 -1
  585. package/build/components/checkout/components/form-item/model.js +1 -1
  586. package/build/components/checkout/components/form-item/style.module.scss.js +1 -1
  587. package/build/components/checkout/index.d.ts +2 -2
  588. package/build/components/checkout/index.js +1 -1
  589. package/build/components/checkout/model.d.ts +20 -11
  590. package/build/components/checkout/model.js +1 -1
  591. package/build/components/checkout/steps/step-info/index.js +1 -1
  592. package/build/components/checkout/steps/step-payment/billing-address/index.js +1 -1
  593. package/build/components/checkout/steps/step-payment/payment-gateways/index.js +1 -1
  594. package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.js +1 -1
  595. package/build/components/checkout/steps/step-shipping/index.js +1 -1
  596. package/build/components/checkout/steps/step-success/index.js +1 -1
  597. package/build/components/checkout/style.module.scss.js +1 -1
  598. package/build/components/image/index.d.ts +3 -29
  599. package/build/components/page/head.d.ts +0 -2
  600. package/build/components/page/head.js +1 -1
  601. package/build/components/page/index.d.ts +0 -2
  602. package/build/components/page/index.js +1 -1
  603. package/build/components/page-editor/ThemeComponentEditor.js +1 -1
  604. package/build/components/page-editor/model.js +1 -1
  605. package/build/ext/@ikas/fe-api-client/build/_virtual/_commonjsHelpers.js +1 -0
  606. package/build/ext/@ikas/fe-api-client/build/_virtual/axios-error-format.js_commonjs-exports.js +1 -0
  607. package/build/ext/@ikas/fe-api-client/build/_virtual/core.js_commonjs-exports.js +1 -0
  608. package/build/ext/@ikas/fe-api-client/build/_virtual/index.js_commonjs-exports.js +1 -0
  609. package/build/ext/@ikas/fe-api-client/build/config/index.js +1 -0
  610. package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/axios-error-format.js +1 -0
  611. package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/core.js +1 -0
  612. package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/index.js +1 -0
  613. package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/index.mjs.js +1 -0
  614. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Hash.js +1 -0
  615. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_ListCache.js +1 -0
  616. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Map.js +1 -0
  617. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_MapCache.js +1 -0
  618. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Symbol.js +1 -0
  619. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_arrayMap.js +1 -0
  620. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_assignValue.js +1 -0
  621. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_assocIndexOf.js +1 -0
  622. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseAssignValue.js +1 -0
  623. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseGetTag.js +1 -0
  624. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseIsNative.js +1 -0
  625. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseSet.js +1 -0
  626. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseToString.js +1 -0
  627. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_castPath.js +1 -0
  628. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_coreJsData.js +1 -0
  629. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_defineProperty.js +1 -0
  630. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_freeGlobal.js +1 -0
  631. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getMapData.js +1 -0
  632. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getNative.js +1 -0
  633. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getRawTag.js +1 -0
  634. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getValue.js +1 -0
  635. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashClear.js +1 -0
  636. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashDelete.js +1 -0
  637. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashGet.js +1 -0
  638. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashHas.js +1 -0
  639. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashSet.js +1 -0
  640. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isIndex.js +1 -0
  641. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isKey.js +1 -0
  642. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isKeyable.js +1 -0
  643. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isMasked.js +1 -0
  644. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheClear.js +1 -0
  645. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheDelete.js +1 -0
  646. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheGet.js +1 -0
  647. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheHas.js +1 -0
  648. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheSet.js +1 -0
  649. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheClear.js +1 -0
  650. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheDelete.js +1 -0
  651. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheGet.js +1 -0
  652. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheHas.js +1 -0
  653. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheSet.js +1 -0
  654. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_memoizeCapped.js +1 -0
  655. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_nativeCreate.js +1 -0
  656. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_objectToString.js +1 -0
  657. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_root.js +1 -0
  658. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_stringToPath.js +1 -0
  659. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_toKey.js +1 -0
  660. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_toSource.js +1 -0
  661. package/build/ext/@ikas/fe-api-client/build/ext/lodash/eq.js +1 -0
  662. package/build/ext/@ikas/fe-api-client/build/ext/lodash/isArray.js +1 -0
  663. package/build/ext/@ikas/fe-api-client/build/ext/lodash/isFunction.js +1 -0
  664. package/build/ext/@ikas/fe-api-client/build/ext/lodash/isObject.js +1 -0
  665. package/build/ext/@ikas/fe-api-client/build/ext/lodash/isObjectLike.js +1 -0
  666. package/build/ext/@ikas/fe-api-client/build/ext/lodash/isSymbol.js +1 -0
  667. package/build/ext/@ikas/fe-api-client/build/ext/lodash/memoize.js +1 -0
  668. package/build/ext/@ikas/fe-api-client/build/ext/lodash/set.js +1 -0
  669. package/build/ext/@ikas/fe-api-client/build/ext/lodash/toString.js +1 -0
  670. package/build/ext/@ikas/fe-api-client/build/ext/tslib/tslib.es6.js +15 -0
  671. package/build/ext/@ikas/fe-api-client/build/helpers/generate-return-fields.js +1 -0
  672. package/build/ext/@ikas/fe-api-client/build/utils/api.js +1 -0
  673. package/build/ext/@ikas/fe-api-client/build/utils/fetch-query.js +1 -0
  674. package/build/ext/axios/index.js +1 -0
  675. package/build/ext/axios/lib/adapters/http.js +1 -0
  676. package/build/ext/axios/lib/adapters/xhr.js +1 -0
  677. package/build/ext/axios/lib/axios.js +1 -0
  678. package/build/ext/axios/lib/cancel/Cancel.js +1 -0
  679. package/build/ext/axios/lib/cancel/CancelToken.js +1 -0
  680. package/build/ext/axios/lib/cancel/isCancel.js +1 -0
  681. package/build/ext/axios/lib/core/Axios.js +1 -0
  682. package/build/ext/axios/lib/core/InterceptorManager.js +1 -0
  683. package/build/ext/axios/lib/core/buildFullPath.js +1 -0
  684. package/build/ext/axios/lib/core/createError.js +1 -0
  685. package/build/ext/axios/lib/core/dispatchRequest.js +1 -0
  686. package/build/ext/axios/lib/core/enhanceError.js +1 -0
  687. package/build/ext/axios/lib/core/mergeConfig.js +1 -0
  688. package/build/ext/axios/lib/core/settle.js +1 -0
  689. package/build/ext/axios/lib/core/transformData.js +1 -0
  690. package/build/ext/axios/lib/defaults.js +1 -0
  691. package/build/ext/axios/lib/helpers/bind.js +1 -0
  692. package/build/ext/axios/lib/helpers/buildURL.js +1 -0
  693. package/build/ext/axios/lib/helpers/combineURLs.js +1 -0
  694. package/build/ext/axios/lib/helpers/cookies.js +1 -0
  695. package/build/ext/axios/lib/helpers/isAbsoluteURL.js +1 -0
  696. package/build/ext/axios/lib/helpers/isAxiosError.js +1 -0
  697. package/build/ext/axios/lib/helpers/isURLSameOrigin.js +1 -0
  698. package/build/ext/axios/lib/helpers/normalizeHeaderName.js +1 -0
  699. package/build/ext/axios/lib/helpers/parseHeaders.js +1 -0
  700. package/build/ext/axios/lib/helpers/spread.js +1 -0
  701. package/build/ext/axios/lib/helpers/validator.js +1 -0
  702. package/build/ext/axios/lib/utils.js +1 -0
  703. package/build/ext/axios/package.json.js +1 -0
  704. package/build/ext/debug/src/browser.js +1 -0
  705. package/build/ext/debug/src/common.js +1 -0
  706. package/build/ext/debug/src/index.js +1 -0
  707. package/build/ext/debug/src/node.js +1 -0
  708. package/build/ext/follow-redirects/debug.js +1 -0
  709. package/build/ext/follow-redirects/index.js +1 -0
  710. package/build/ext/has-flag/index.js +1 -0
  711. package/build/ext/ms/index.js +1 -0
  712. package/build/ext/supports-color/index.js +1 -0
  713. package/build/ext/tslib/tslib.es6.js +1 -1
  714. package/build/ext/uuid/dist/{esm-browser → esm-node}/regex.js +0 -0
  715. package/build/ext/uuid/dist/esm-node/rng.js +1 -0
  716. package/build/ext/uuid/dist/esm-node/stringify.js +1 -0
  717. package/build/ext/uuid/dist/esm-node/v4.js +1 -0
  718. package/build/ext/uuid/dist/{esm-browser → esm-node}/validate.js +0 -0
  719. package/build/ikas.js +8 -42
  720. package/build/index.js +1 -1
  721. package/build/models/data/blog/enums.d.ts +2 -0
  722. package/build/models/data/blog/index.d.ts +19 -55
  723. package/build/models/data/blog/index.js +1 -1
  724. package/build/models/data/brand/enums.d.ts +2 -0
  725. package/build/models/data/brand/index.d.ts +10 -14
  726. package/build/models/data/brand/index.js +1 -1
  727. package/build/models/data/cart/campaign-offer/enums.d.ts +3 -0
  728. package/build/models/data/cart/campaign-offer/index.d.ts +8 -0
  729. package/build/models/data/cart/campaign-offer/index.js +1 -0
  730. package/build/models/data/cart/enums.d.ts +2 -0
  731. package/build/models/data/cart/index.d.ts +18 -45
  732. package/build/models/data/cart/index.js +1 -1
  733. package/build/models/data/category/enums.d.ts +2 -0
  734. package/build/models/data/category/index.d.ts +18 -33
  735. package/build/models/data/category/index.js +1 -1
  736. package/build/models/data/checkout/index.d.ts +4 -90
  737. package/build/models/data/checkout/index.js +1 -1
  738. package/build/models/data/checkout-settings/enums.d.ts +2 -0
  739. package/build/models/data/checkout-settings/index.d.ts +8 -20
  740. package/build/models/data/checkout-settings/index.js +1 -1
  741. package/build/models/data/city/index.d.ts +3 -4
  742. package/build/models/data/city/index.js +1 -0
  743. package/build/models/data/country/index.d.ts +3 -8
  744. package/build/models/data/country/index.js +1 -0
  745. package/build/models/data/customer/address/index.d.ts +36 -33
  746. package/build/models/data/customer/address/index.js +1 -1
  747. package/build/models/data/customer/attribute-value/index.d.ts +4 -6
  748. package/build/models/data/customer/attribute-value/index.js +1 -1
  749. package/build/models/data/customer/enums.d.ts +4 -0
  750. package/build/models/data/customer/index.d.ts +29 -26
  751. package/build/models/data/customer/index.js +1 -1
  752. package/build/models/data/customer-attribute/customer-attribute-option/index.d.ts +2 -4
  753. package/build/models/data/customer-attribute/customer-attribute-option/index.js +1 -1
  754. package/build/models/data/customer-attribute/customer-attribute-sales-channel/enums.d.ts +3 -0
  755. package/build/models/data/customer-attribute/customer-attribute-sales-channel/index.d.ts +6 -15
  756. package/build/models/data/customer-attribute/customer-attribute-sales-channel/index.js +1 -1
  757. package/build/models/data/customer-attribute/enums.d.ts +2 -0
  758. package/build/models/data/customer-attribute/index.d.ts +14 -27
  759. package/build/models/data/customer-attribute/index.js +1 -1
  760. package/build/models/data/customer-review/enums.d.ts +2 -0
  761. package/build/models/data/customer-review/index.d.ts +7 -22
  762. package/build/models/data/customer-review/index.js +1 -1
  763. package/build/models/data/customer-review-summary/index.d.ts +6 -14
  764. package/build/models/data/customer-review-summary/index.js +1 -1
  765. package/build/models/data/district/index.d.ts +3 -4
  766. package/build/models/data/district/index.js +1 -0
  767. package/build/models/data/favorite-product/index.d.ts +2 -5
  768. package/build/models/data/favorite-product/index.js +1 -1
  769. package/build/models/data/html-meta-data/enums.d.ts +2 -0
  770. package/build/models/data/html-meta-data/index.d.ts +7 -20
  771. package/build/models/data/html-meta-data/index.js +1 -1
  772. package/build/models/data/image/index.d.ts +11 -1
  773. package/build/models/data/image/index.js +1 -1
  774. package/build/models/data/index.d.ts +59 -38
  775. package/build/models/data/merchant-settings/index.d.ts +3 -19
  776. package/build/models/data/merchant-settings/index.js +1 -1
  777. package/build/models/data/order/address/index.d.ts +32 -32
  778. package/build/models/data/order/address/index.js +1 -1
  779. package/build/models/data/order/adjustment/enums.d.ts +4 -0
  780. package/build/models/data/order/adjustment/index.d.ts +8 -15
  781. package/build/models/data/order/adjustment/index.js +1 -0
  782. package/build/models/data/order/customer/index.d.ts +10 -0
  783. package/build/models/data/order/customer/index.js +1 -0
  784. package/build/models/data/order/enums.d.ts +6 -0
  785. package/build/models/data/order/gift-line/index.d.ts +3 -4
  786. package/build/models/data/order/gift-line/index.js +1 -0
  787. package/build/models/data/order/index.d.ts +39 -132
  788. package/build/models/data/order/index.js +1 -1
  789. package/build/models/data/order/invoice/enums.d.ts +2 -0
  790. package/build/models/data/order/invoice/index.d.ts +7 -0
  791. package/build/models/data/order/invoice/index.js +1 -0
  792. package/build/models/data/order/line-item/discount/index.d.ts +5 -10
  793. package/build/models/data/order/line-item/discount/index.js +1 -1
  794. package/build/models/data/order/line-item/enums.d.ts +2 -0
  795. package/build/models/data/order/line-item/index.d.ts +10 -31
  796. package/build/models/data/order/line-item/index.js +1 -1
  797. package/build/models/data/order/line-item/option/index.d.ts +9 -0
  798. package/build/models/data/order/line-item/option/index.js +1 -0
  799. package/build/models/data/order/line-item/option/value/index.d.ts +3 -0
  800. package/build/models/data/order/line-item/option/value/index.js +1 -0
  801. package/build/models/data/order/line-item/variant/index.d.ts +6 -24
  802. package/build/models/data/order/line-item/variant/index.js +1 -1
  803. package/build/models/data/order/package/enums.d.ts +2 -0
  804. package/build/models/data/order/package/index.d.ts +9 -0
  805. package/build/models/data/order/package/index.js +1 -0
  806. package/build/models/data/order/package/tracking-info/index.d.ts +3 -0
  807. package/build/models/data/order/package/tracking-info/index.js +1 -0
  808. package/build/models/data/order/payment-method/enums.d.ts +2 -0
  809. package/build/models/data/order/payment-method/index.d.ts +7 -0
  810. package/build/models/data/order/payment-method/index.js +1 -0
  811. package/build/models/data/order/refund/index.d.ts +1 -1
  812. package/build/models/data/order/refund/index.js +1 -0
  813. package/build/models/data/order/refund/line-item/index.d.ts +3 -0
  814. package/build/models/data/order/refund/line-item/index.js +1 -0
  815. package/build/models/data/order/refund/{settings.d.ts → settings/index.d.ts} +0 -0
  816. package/build/models/data/order/refund/{settings.js → settings/index.js} +0 -0
  817. package/build/models/data/order/shipping-line/index.d.ts +3 -7
  818. package/build/models/data/order/shipping-line/index.js +1 -0
  819. package/build/models/data/order/tax-line/index.d.ts +3 -0
  820. package/build/models/data/order/tax-line/index.js +1 -0
  821. package/build/models/data/order/transaction/enums.d.ts +5 -0
  822. package/build/models/data/order/transaction/index.d.ts +37 -0
  823. package/build/models/data/order/transaction/index.js +1 -0
  824. package/build/models/data/payment-gateway/additional-price/index.d.ts +7 -0
  825. package/build/models/data/payment-gateway/additional-price/index.js +1 -0
  826. package/build/models/data/payment-gateway/enums.d.ts +5 -0
  827. package/build/models/data/payment-gateway/index.d.ts +9 -34
  828. package/build/models/data/payment-gateway/index.js +1 -1
  829. package/build/models/data/product/attribute-value/index.d.ts +5 -5
  830. package/build/models/data/product/attribute-value/index.js +1 -1
  831. package/build/models/data/product/index.js +1 -1
  832. package/build/models/data/product/variant/index.d.ts +1 -1
  833. package/build/models/data/product/variant/index.js +1 -1
  834. package/build/models/data/product/variant/price/index.d.ts +2 -4
  835. package/build/models/data/product/variant/price/index.js +1 -1
  836. package/build/models/data/product/variant-type/index.d.ts +0 -1
  837. package/build/models/data/product/variant-type/index.js +1 -1
  838. package/build/models/data/product-attribute/index.d.ts +2 -2
  839. package/build/models/data/product-attribute/{product-attribute-option → option}/index.d.ts +0 -0
  840. package/build/models/data/product-attribute/{product-attribute-option → option}/index.js +0 -0
  841. package/build/models/data/product-attribute/{product-attribute-table-cell → table-cell}/index.d.ts +0 -0
  842. package/build/models/data/product-attribute/{product-attribute-table-cell → table-cell}/index.js +0 -0
  843. package/build/models/data/product-attribute/table-template/index.d.ts +6 -0
  844. package/build/models/data/product-attribute/table-template/index.js +1 -0
  845. package/build/models/data/product-campaign/campaign/index.d.ts +41 -0
  846. package/build/models/data/{product-campaing → product-campaign}/campaign/index.js +0 -0
  847. package/build/models/data/{product-campaing → product-campaign}/filter/index.d.ts +0 -0
  848. package/build/models/data/{product-campaing → product-campaign}/filter/index.js +0 -0
  849. package/build/models/data/{product-campaing → product-campaign}/index.d.ts +0 -0
  850. package/build/models/data/{product-campaing → product-campaign}/index.js +0 -0
  851. package/build/models/data/{product-campaing → product-campaign}/product-buyx-then-gety/index.d.ts +0 -0
  852. package/build/models/data/{product-campaing → product-campaign}/product-buyx-then-gety/index.js +0 -0
  853. package/build/models/data/{product-campaing → product-campaign}/product-campaign-date-range-field/index.d.ts +0 -0
  854. package/build/models/data/{product-campaing → product-campaign}/product-campaign-date-range-field/index.js +0 -0
  855. package/build/models/data/{product-campaing → product-campaign}/product-fixed-discount/index.d.ts +0 -0
  856. package/build/models/data/{product-campaing → product-campaign}/product-fixed-discount/index.js +0 -0
  857. package/build/models/data/product-filter/index.d.ts +7 -10
  858. package/build/models/data/product-filter/index.js +1 -1
  859. package/build/models/data/product-option-set/enums.d.ts +3 -0
  860. package/build/models/data/product-option-set/index.d.ts +2 -14
  861. package/build/models/data/product-option-set/index.js +1 -1
  862. package/build/models/data/raffle/index.d.ts +4 -12
  863. package/build/models/data/raffle/index.js +1 -1
  864. package/build/models/data/state/index.d.ts +3 -5
  865. package/build/models/data/state/index.js +1 -0
  866. package/build/models/data/storefront/index.d.ts +1 -1
  867. package/build/models/data/storefront/index.js +1 -1
  868. package/build/models/theme/custom-data/index.js +1 -1
  869. package/build/models/theme/page/index.d.ts +0 -2
  870. package/build/models/theme/page/index.js +1 -1
  871. package/build/models/theme/settings/color/index.js +1 -1
  872. package/build/models/theme/theme.js +1 -1
  873. package/build/models/ui/blog-category-list/index.js +1 -1
  874. package/build/models/ui/blog-list/index.js +1 -1
  875. package/build/models/ui/brand-list/index.js +1 -1
  876. package/build/models/ui/category-list/index.js +1 -1
  877. package/build/models/ui/customer-review-list/index.js +1 -1
  878. package/build/models/ui/customer-review-summary-list/index.d.ts +1 -1
  879. package/build/models/ui/customer-review-summary-list/index.js +1 -1
  880. package/build/models/ui/product-detail/index.d.ts +0 -1
  881. package/build/models/ui/product-detail/index.js +1 -1
  882. package/build/models/ui/product-list/index.d.ts +1 -38
  883. package/build/models/ui/product-list/index.js +1 -1
  884. package/build/models/ui/raffle-list/index.js +1 -1
  885. package/build/models/ui/validator/form/account-info.d.ts +1 -3
  886. package/build/models/ui/validator/form/account-info.js +1 -1
  887. package/build/models/ui/validator/form/address.js +1 -1
  888. package/build/models/ui/validator/form/raffle-form.d.ts +0 -2
  889. package/build/models/ui/validator/form/raffle-form.js +1 -1
  890. package/build/models/ui/validator/form/register.d.ts +1 -1
  891. package/build/models/ui/validator/form/register.js +1 -1
  892. package/build/models/ui/validator/rules/index.d.ts +0 -5
  893. package/build/models/ui/validator/rules/index.js +1 -1
  894. package/build/pages/404.js +1 -1
  895. package/build/pages/_slug_/index.js +1 -1
  896. package/build/pages/account/addresses.js +1 -1
  897. package/build/pages/account/favorite-products.js +1 -1
  898. package/build/pages/account/forgot-password.js +1 -1
  899. package/build/pages/account/index.js +1 -1
  900. package/build/pages/account/login.js +1 -1
  901. package/build/pages/account/orders/_id_.js +1 -1
  902. package/build/pages/account/orders/index.js +1 -1
  903. package/build/pages/account/raffles.js +1 -1
  904. package/build/pages/account/recover-password.js +1 -1
  905. package/build/pages/account/register.js +1 -1
  906. package/build/pages/blog/_slug_.js +1 -1
  907. package/build/pages/blog/index.js +1 -1
  908. package/build/pages/cart.js +1 -1
  909. package/build/pages/checkout.js +1 -1
  910. package/build/pages/editor.js +1 -1
  911. package/build/pages/home.js +1 -1
  912. package/build/pages/pages/_slug_.js +1 -1
  913. package/build/pages/raffle/_slug_.js +1 -1
  914. package/build/pages/raffle/index.js +1 -1
  915. package/build/pages/search.js +1 -1
  916. package/build/providers/helpers/raffles.d.ts +1 -2
  917. package/build/providers/helpers/raffles.js +1 -1
  918. package/build/providers/page-data-get.d.ts +1 -3
  919. package/build/providers/page-data-get.js +1 -1
  920. package/build/providers/page-data-init.js +1 -1
  921. package/build/providers/page-data-next.d.ts +8 -18
  922. package/build/providers/page-data-next.js +1 -1
  923. package/build/providers/placeholders.js +1 -1
  924. package/build/providers/prop-value/attribute-list.js +1 -1
  925. package/build/providers/prop-value/attribute.js +1 -1
  926. package/build/providers/prop-value/blog-category-list.js +1 -1
  927. package/build/providers/prop-value/blog-category.js +1 -1
  928. package/build/providers/prop-value/blog-list.js +1 -1
  929. package/build/providers/prop-value/blog.js +1 -1
  930. package/build/providers/prop-value/brand-list.js +1 -1
  931. package/build/providers/prop-value/brand.js +1 -1
  932. package/build/providers/prop-value/category-list.js +1 -1
  933. package/build/providers/prop-value/category.js +1 -1
  934. package/build/providers/prop-value/custom.js +1 -1
  935. package/build/providers/prop-value/image-list.js +1 -1
  936. package/build/providers/prop-value/image.js +1 -1
  937. package/build/providers/prop-value/link.js +1 -1
  938. package/build/providers/prop-value/product-detail.js +1 -1
  939. package/build/providers/prop-value/product-list.js +1 -1
  940. package/build/providers/prop-value/raffle-list.js +1 -1
  941. package/build/providers/prop-value/raffle.js +1 -1
  942. package/build/providers/prop-value/slider.d.ts +1 -1
  943. package/build/scripts/generators/types/index.js +1 -1
  944. package/build/store/base.d.ts +1 -0
  945. package/build/store/base.js +1 -1
  946. package/build/store/blog/index.d.ts +28 -0
  947. package/build/store/blog/index.js +1 -0
  948. package/build/store/brand/index.d.ts +12 -0
  949. package/build/store/brand/index.js +1 -0
  950. package/build/store/cart/api.d.ts +12 -0
  951. package/build/store/cart/api.js +1 -0
  952. package/build/store/cart/index.d.ts +28 -0
  953. package/build/store/cart/index.js +1 -0
  954. package/build/store/category/index.d.ts +12 -0
  955. package/build/store/category/index.js +1 -0
  956. package/build/store/checkout/index.d.ts +20 -0
  957. package/build/store/checkout/index.js +1 -0
  958. package/build/store/customer/api.d.ts +75 -0
  959. package/build/store/customer/api.js +1 -0
  960. package/build/store/customer/index.d.ts +79 -0
  961. package/build/store/customer/index.js +1 -0
  962. package/build/store/html-meta-data/index.d.ts +6 -0
  963. package/build/store/html-meta-data/index.js +1 -0
  964. package/build/store/location/index.d.ts +13 -0
  965. package/build/store/location/index.js +1 -0
  966. package/build/store/merchant/index.d.ts +6 -0
  967. package/build/store/merchant/index.js +1 -0
  968. package/build/store/product/index.d.ts +40 -0
  969. package/build/store/product/index.js +1 -0
  970. package/build/store/raffle/index.d.ts +18 -0
  971. package/build/store/raffle/index.js +1 -0
  972. package/build/store/storefront/index.d.ts +6 -0
  973. package/build/store/storefront/index.js +1 -0
  974. package/build/storefront/index.d.ts +5 -5
  975. package/build/storefront/index.js +1 -1
  976. package/build/utils/constants.d.ts +0 -1
  977. package/build/utils/constants.js +1 -1
  978. package/build/utils/currency.d.ts +2 -2
  979. package/build/utils/currency.js +1 -1
  980. package/build/utils/helper.js +1 -1
  981. package/build/utils/i18n.js +1 -1
  982. package/package.json +4 -6
  983. package/build/__generated__/global-types.d.ts +0 -781
  984. package/build/__generated__/global-types.js +0 -1
  985. package/build/_virtual/Observable.js_commonjs-proxy.js +0 -1
  986. package/build/_virtual/parser.mjs_commonjs-proxy.js +0 -1
  987. package/build/analytics/tiktokPixel.d.ts +0 -13
  988. package/build/analytics/tiktokPixel.js +0 -1
  989. package/build/api/apollo.d.ts +0 -10
  990. package/build/api/apollo.js +0 -1
  991. package/build/api/back-in-stock-reminder/__generated__/listProductBackInStockRemind.d.ts +0 -24
  992. package/build/api/back-in-stock-reminder/__generated__/saveProductBackInStockRemind.d.ts +0 -19
  993. package/build/api/back-in-stock-reminder/index.d.ts +0 -23
  994. package/build/api/back-in-stock-reminder/index.js +0 -1
  995. package/build/api/blog/__generated__/getBlog.d.ts +0 -106
  996. package/build/api/blog/__generated__/listBlog.d.ts +0 -109
  997. package/build/api/blog/__generated__/listBlogCategory.d.ts +0 -61
  998. package/build/api/blog/__generated__/listBlogMetaData.d.ts +0 -55
  999. package/build/api/blog/index.d.ts +0 -32
  1000. package/build/api/blog/index.js +0 -1
  1001. package/build/api/brand/__generated__/listProductBrand.d.ts +0 -88
  1002. package/build/api/brand/index.d.ts +0 -16
  1003. package/build/api/brand/index.js +0 -1
  1004. package/build/api/cart/__generated__/getCart.d.ts +0 -176
  1005. package/build/api/cart/__generated__/saveItemToCart.d.ts +0 -208
  1006. package/build/api/cart/index.d.ts +0 -7
  1007. package/build/api/cart/index.js +0 -1
  1008. package/build/api/category/__generated__/listCategory.d.ts +0 -99
  1009. package/build/api/category/__generated__/listCategoryPaths.d.ts +0 -51
  1010. package/build/api/category/index.d.ts +0 -18
  1011. package/build/api/category/index.js +0 -1
  1012. package/build/api/checkout/__generated__/addCouponCodeToCheckout.d.ts +0 -11
  1013. package/build/api/checkout/__generated__/checkStocks.d.ts +0 -18
  1014. package/build/api/checkout/__generated__/createSaleTransactionWithCheckout.d.ts +0 -22
  1015. package/build/api/checkout/__generated__/getCheckoutByCartId.d.ts +0 -10
  1016. package/build/api/checkout/__generated__/getCheckoutById.d.ts +0 -572
  1017. package/build/api/checkout/__generated__/getOrder.d.ts +0 -614
  1018. package/build/api/checkout/__generated__/listCheckoutSettings.d.ts +0 -34
  1019. package/build/api/checkout/__generated__/listPaymentGateway.d.ts +0 -42
  1020. package/build/api/checkout/__generated__/retrieveInstallmentInfo.d.ts +0 -23
  1021. package/build/api/checkout/__generated__/saveCheckout.d.ts +0 -11
  1022. package/build/api/checkout/index.d.ts +0 -35
  1023. package/build/api/checkout/index.js +0 -1
  1024. package/build/api/city/__generated__/listCity.d.ts +0 -20
  1025. package/build/api/city/index.d.ts +0 -4
  1026. package/build/api/city/index.js +0 -1
  1027. package/build/api/contact-form/__generated__/sendContactFormToMerchant.d.ts +0 -10
  1028. package/build/api/contact-form/index.d.ts +0 -11
  1029. package/build/api/contact-form/index.js +0 -1
  1030. package/build/api/country/__generated__/getAvailableShippingCountries.d.ts +0 -6
  1031. package/build/api/country/__generated__/getMyCountry.d.ts +0 -3
  1032. package/build/api/country/__generated__/listCountry.d.ts +0 -41
  1033. package/build/api/country/index.d.ts +0 -6
  1034. package/build/api/country/index.js +0 -1
  1035. package/build/api/customer/__generated__/checkCustomerEmail.d.ts +0 -10
  1036. package/build/api/customer/__generated__/createCustomerEmailSubscription.d.ts +0 -11
  1037. package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +0 -584
  1038. package/build/api/customer/__generated__/customerForgotPassword.d.ts +0 -7
  1039. package/build/api/customer/__generated__/customerLogin.d.ts +0 -173
  1040. package/build/api/customer/__generated__/customerRecoverPassword.d.ts +0 -8
  1041. package/build/api/customer/__generated__/customerRefreshToken.d.ts +0 -11
  1042. package/build/api/customer/__generated__/customerSocialLogin.d.ts +0 -172
  1043. package/build/api/customer/__generated__/getCustomerOrders.d.ts +0 -614
  1044. package/build/api/customer/__generated__/getLastViewedProducts.d.ts +0 -15
  1045. package/build/api/customer/__generated__/getMyCustomer.d.ts +0 -155
  1046. package/build/api/customer/__generated__/getOrderByEmail.d.ts +0 -615
  1047. package/build/api/customer/__generated__/listOrderRefundSettings.d.ts +0 -13
  1048. package/build/api/customer/__generated__/listOrderTransactions.d.ts +0 -53
  1049. package/build/api/customer/__generated__/registerCustomer.d.ts +0 -174
  1050. package/build/api/customer/__generated__/saveLastViewedProducts.d.ts +0 -11
  1051. package/build/api/customer/__generated__/saveMyCustomer.d.ts +0 -170
  1052. package/build/api/customer/index.d.ts +0 -51
  1053. package/build/api/customer/index.js +0 -1
  1054. package/build/api/customer-attribute/__generated__/listCustomerAttribute.d.ts +0 -44
  1055. package/build/api/customer-attribute/index.d.ts +0 -4
  1056. package/build/api/customer-attribute/index.js +0 -1
  1057. package/build/api/customer-review/__generated__/createCustomerReview.d.ts +0 -11
  1058. package/build/api/customer-review/__generated__/listCustomerReviews.d.ts +0 -49
  1059. package/build/api/customer-review/index.d.ts +0 -24
  1060. package/build/api/customer-review/index.js +0 -1
  1061. package/build/api/customer-review-summary/__generated__/listCustomerReviewSummary.d.ts +0 -55
  1062. package/build/api/customer-review-summary/index.d.ts +0 -21
  1063. package/build/api/customer-review-summary/index.js +0 -1
  1064. package/build/api/district/__generated__/listDistrict.d.ts +0 -16
  1065. package/build/api/district/index.d.ts +0 -4
  1066. package/build/api/district/index.js +0 -1
  1067. package/build/api/favorite-product/__generated__/isFavoriteProduct.d.ts +0 -6
  1068. package/build/api/favorite-product/__generated__/listFavoriteProducts.d.ts +0 -12
  1069. package/build/api/favorite-product/__generated__/saveFavoriteProduct.d.ts +0 -7
  1070. package/build/api/favorite-product/index.d.ts +0 -6
  1071. package/build/api/favorite-product/index.js +0 -1
  1072. package/build/api/html-meta-data/__generated__/listHTMLMetaData.d.ts +0 -46
  1073. package/build/api/html-meta-data/index.d.ts +0 -4
  1074. package/build/api/html-meta-data/index.js +0 -1
  1075. package/build/api/index.d.ts +0 -25
  1076. package/build/api/merchant/__generated__/listMerchantSettings.d.ts +0 -20
  1077. package/build/api/merchant/index.d.ts +0 -4
  1078. package/build/api/merchant/index.js +0 -1
  1079. package/build/api/product-attribute/__generated__/listProductAttribute.d.ts +0 -72
  1080. package/build/api/product-attribute/index.d.ts +0 -4
  1081. package/build/api/product-campaign/__generated__/getProductCampaigns.d.ts +0 -91
  1082. package/build/api/product-campaign/index.d.ts +0 -10
  1083. package/build/api/product-campaign/index.js +0 -1
  1084. package/build/api/product-option-file/__generated__/getOrderLineFile.d.ts +0 -7
  1085. package/build/api/product-option-file/index.d.ts +0 -7
  1086. package/build/api/product-option-file/index.js +0 -1
  1087. package/build/api/product-option-set/__generated__/ListProductOptionSet.d.ts +0 -104
  1088. package/build/api/product-option-set/index.d.ts +0 -4
  1089. package/build/api/product-option-set/index.js +0 -1
  1090. package/build/api/product-search/__generated__/getProductFilterData.d.ts +0 -62
  1091. package/build/api/product-search/__generated__/getRelatedProducts.d.ts +0 -14
  1092. package/build/api/product-search/__generated__/searchProducts.d.ts +0 -26
  1093. package/build/api/product-search/index.d.ts +0 -38
  1094. package/build/api/product-search/index.js +0 -1
  1095. package/build/api/raffle/__generated__/getRafflesByCustomerId.d.ts +0 -44
  1096. package/build/api/raffle/__generated__/listRaffle.d.ts +0 -81
  1097. package/build/api/raffle/__generated__/listRaffleMetaData.d.ts +0 -24
  1098. package/build/api/raffle/__generated__/listRaffleParticipants.d.ts +0 -67
  1099. package/build/api/raffle/__generated__/listStorefrontRaffle.d.ts +0 -82
  1100. package/build/api/raffle/__generated__/saveRaffleParticipant.d.ts +0 -70
  1101. package/build/api/raffle/index.d.ts +0 -28
  1102. package/build/api/raffle/index.js +0 -1
  1103. package/build/api/state/__generated__/listState.d.ts +0 -19
  1104. package/build/api/state/index.d.ts +0 -4
  1105. package/build/api/state/index.js +0 -1
  1106. package/build/api/stock-location/__generated__/listStockLocation.d.ts +0 -7
  1107. package/build/api/stock-location/index.d.ts +0 -4
  1108. package/build/api/storefront/__generated__/getStorefront.d.ts +0 -64
  1109. package/build/api/storefront/index.d.ts +0 -4
  1110. package/build/api/storefront/index.js +0 -1
  1111. package/build/api/variant-type/__generated__/listVariantType.d.ts +0 -72
  1112. package/build/api/variant-type/index.d.ts +0 -4
  1113. package/build/assets/translations/checkout/de.js +0 -1
  1114. package/build/ext/@apollo/client/cache/core/cache.js +0 -1
  1115. package/build/ext/@apollo/client/cache/core/types/common.js +0 -1
  1116. package/build/ext/@apollo/client/cache/inmemory/entityStore.js +0 -1
  1117. package/build/ext/@apollo/client/cache/inmemory/helpers.js +0 -1
  1118. package/build/ext/@apollo/client/cache/inmemory/inMemoryCache.js +0 -1
  1119. package/build/ext/@apollo/client/cache/inmemory/policies.js +0 -1
  1120. package/build/ext/@apollo/client/cache/inmemory/reactiveVars.js +0 -1
  1121. package/build/ext/@apollo/client/cache/inmemory/readFromStore.js +0 -1
  1122. package/build/ext/@apollo/client/cache/inmemory/writeToStore.js +0 -1
  1123. package/build/ext/@apollo/client/core/ApolloClient.js +0 -1
  1124. package/build/ext/@apollo/client/core/LocalState.js +0 -1
  1125. package/build/ext/@apollo/client/core/ObservableQuery.js +0 -1
  1126. package/build/ext/@apollo/client/core/QueryInfo.js +0 -1
  1127. package/build/ext/@apollo/client/core/QueryManager.js +0 -1
  1128. package/build/ext/@apollo/client/core/Reobserver.js +0 -1
  1129. package/build/ext/@apollo/client/core/networkStatus.js +0 -1
  1130. package/build/ext/@apollo/client/errors/index.js +0 -1
  1131. package/build/ext/@apollo/client/ext/tslib/tslib.es6.js +0 -15
  1132. package/build/ext/@apollo/client/link/context/index.js +0 -1
  1133. package/build/ext/@apollo/client/link/core/ApolloLink.js +0 -1
  1134. package/build/ext/@apollo/client/link/core/execute.js +0 -1
  1135. package/build/ext/@apollo/client/link/error/index.js +0 -1
  1136. package/build/ext/@apollo/client/link/http/HttpLink.js +0 -1
  1137. package/build/ext/@apollo/client/link/http/checkFetcher.js +0 -1
  1138. package/build/ext/@apollo/client/link/http/createHttpLink.js +0 -1
  1139. package/build/ext/@apollo/client/link/http/createSignalIfSupported.js +0 -1
  1140. package/build/ext/@apollo/client/link/http/parseAndCheckHttpResponse.js +0 -1
  1141. package/build/ext/@apollo/client/link/http/rewriteURIForGET.js +0 -1
  1142. package/build/ext/@apollo/client/link/http/selectHttpOptionsAndBody.js +0 -1
  1143. package/build/ext/@apollo/client/link/http/selectURI.js +0 -1
  1144. package/build/ext/@apollo/client/link/http/serializeFetchParameter.js +0 -1
  1145. package/build/ext/@apollo/client/link/utils/createOperation.js +0 -1
  1146. package/build/ext/@apollo/client/link/utils/fromError.js +0 -1
  1147. package/build/ext/@apollo/client/link/utils/throwServerError.js +0 -1
  1148. package/build/ext/@apollo/client/link/utils/transformOperation.js +0 -1
  1149. package/build/ext/@apollo/client/link/utils/validateOperation.js +0 -1
  1150. package/build/ext/@apollo/client/utilities/common/arrays.js +0 -1
  1151. package/build/ext/@apollo/client/utilities/common/canUse.js +0 -1
  1152. package/build/ext/@apollo/client/utilities/common/cloneDeep.js +0 -1
  1153. package/build/ext/@apollo/client/utilities/common/compact.js +0 -1
  1154. package/build/ext/@apollo/client/utilities/common/environment.js +0 -1
  1155. package/build/ext/@apollo/client/utilities/common/errorHandling.js +0 -1
  1156. package/build/ext/@apollo/client/utilities/common/filterInPlace.js +0 -1
  1157. package/build/ext/@apollo/client/utilities/common/maybeDeepFreeze.js +0 -1
  1158. package/build/ext/@apollo/client/utilities/common/mergeDeep.js +0 -1
  1159. package/build/ext/@apollo/client/utilities/graphql/directives.js +0 -1
  1160. package/build/ext/@apollo/client/utilities/graphql/fragments.js +0 -1
  1161. package/build/ext/@apollo/client/utilities/graphql/getFromAST.js +0 -1
  1162. package/build/ext/@apollo/client/utilities/graphql/storeUtils.js +0 -1
  1163. package/build/ext/@apollo/client/utilities/graphql/transform.js +0 -1
  1164. package/build/ext/@apollo/client/utilities/observables/Concast.js +0 -1
  1165. package/build/ext/@apollo/client/utilities/observables/Observable.js +0 -1
  1166. package/build/ext/@apollo/client/utilities/observables/asyncMap.js +0 -1
  1167. package/build/ext/@apollo/client/utilities/observables/iteration.js +0 -1
  1168. package/build/ext/@apollo/client/version.js +0 -1
  1169. package/build/ext/@ungap/global-this/esm/index.js +0 -1
  1170. package/build/ext/@wry/context/lib/context.esm.js +0 -1
  1171. package/build/ext/@wry/equality/lib/equality.esm.js +0 -1
  1172. package/build/ext/@wry/trie/lib/trie.esm.js +0 -1
  1173. package/build/ext/fast-json-stable-stringify/index.js +0 -1
  1174. package/build/ext/graphql/error/GraphQLError.mjs.js +0 -1
  1175. package/build/ext/graphql/error/syntaxError.mjs.js +0 -1
  1176. package/build/ext/graphql/jsutils/defineInspect.mjs.js +0 -1
  1177. package/build/ext/graphql/jsutils/devAssert.mjs.js +0 -1
  1178. package/build/ext/graphql/jsutils/inspect.mjs.js +0 -1
  1179. package/build/ext/graphql/jsutils/instanceOf.mjs.js +0 -1
  1180. package/build/ext/graphql/jsutils/invariant.mjs.js +0 -1
  1181. package/build/ext/graphql/jsutils/isObjectLike.mjs.js +0 -1
  1182. package/build/ext/graphql/jsutils/nodejsCustomInspectSymbol.mjs.js +0 -1
  1183. package/build/ext/graphql/language/ast.mjs.js +0 -1
  1184. package/build/ext/graphql/language/blockString.mjs.js +0 -1
  1185. package/build/ext/graphql/language/directiveLocation.mjs.js +0 -1
  1186. package/build/ext/graphql/language/kinds.mjs.js +0 -1
  1187. package/build/ext/graphql/language/lexer.mjs.js +0 -1
  1188. package/build/ext/graphql/language/location.mjs.js +0 -1
  1189. package/build/ext/graphql/language/parser.mjs.js +0 -1
  1190. package/build/ext/graphql/language/printLocation.mjs.js +0 -1
  1191. package/build/ext/graphql/language/printer.mjs.js +0 -1
  1192. package/build/ext/graphql/language/source.mjs.js +0 -1
  1193. package/build/ext/graphql/language/tokenKind.mjs.js +0 -1
  1194. package/build/ext/graphql/language/visitor.mjs.js +0 -1
  1195. package/build/ext/graphql/polyfills/symbols.mjs.js +0 -1
  1196. package/build/ext/graphql-tag/src/index.js +0 -1
  1197. package/build/ext/optimism/lib/bundle.esm.js +0 -1
  1198. package/build/ext/symbol-observable/es/index.js +0 -1
  1199. package/build/ext/symbol-observable/es/ponyfill.js +0 -1
  1200. package/build/ext/ts-invariant/ext/tslib/tslib.es6.js +0 -15
  1201. package/build/ext/ts-invariant/lib/invariant.esm.js +0 -1
  1202. package/build/ext/uuid/dist/esm-browser/rng.js +0 -1
  1203. package/build/ext/uuid/dist/esm-browser/stringify.js +0 -1
  1204. package/build/ext/uuid/dist/esm-browser/v4.js +0 -1
  1205. package/build/ext/zen-observable/index.js +0 -1
  1206. package/build/ext/zen-observable/lib/Observable.js +0 -1
  1207. package/build/models/data/customer-review-settings/index.d.ts +0 -4
  1208. package/build/models/data/installment-info/index.d.ts +0 -30
  1209. package/build/models/data/installment-info/index.js +0 -1
  1210. package/build/models/data/language/index.d.ts +0 -6
  1211. package/build/models/data/order/line-item/options/index.d.ts +0 -11
  1212. package/build/models/data/order/line-item/options/index.js +0 -1
  1213. package/build/models/data/order/line-item/options/options-value/index.d.ts +0 -6
  1214. package/build/models/data/order/line-item/options/options-value/index.js +0 -1
  1215. package/build/models/data/order/refund/refund-line-item/index.d.ts +0 -5
  1216. package/build/models/data/order-transaction/index.d.ts +0 -74
  1217. package/build/models/data/order-transaction/index.js +0 -1
  1218. package/build/models/data/product-attribute/product-attribute-table-template/index.d.ts +0 -6
  1219. package/build/models/data/product-attribute/product-attribute-table-template/index.js +0 -1
  1220. package/build/models/data/product-campaing/campaign/index.d.ts +0 -41
  1221. package/build/models/data/product-cart-item-options/index.d.ts +0 -6
  1222. package/build/models/data/product-cart-item-options/index.js +0 -1
  1223. package/build/models/data/simple-product/index.d.ts +0 -137
  1224. package/build/store/cart.d.ts +0 -51
  1225. package/build/store/cart.js +0 -1
  1226. package/build/store/customer.d.ts +0 -96
  1227. package/build/store/customer.js +0 -1
@@ -1,70 +0,0 @@
1
- import { RaffleParticipantsInput, RaffleMetadataTargetTypeEnum, VerificationTypeEnum, RaffleParticipantStatusEnum } from "./../../../__generated__/global-types";
2
- export interface saveRaffleParticipant_saveRaffleParticipant_appliedProduct {
3
- __typename: "AppliedProduct";
4
- productId: string | null;
5
- variantId: string;
6
- }
7
- export interface saveRaffleParticipant_saveRaffleParticipant_raffle_dateRange {
8
- __typename: "RaffleDateRangeField";
9
- end: any | null;
10
- start: any | null;
11
- }
12
- export interface saveRaffleParticipant_saveRaffleParticipant_raffle_metadata {
13
- __typename: "RaffleMetadata";
14
- canonicals: string[] | null;
15
- createdAt: any | null;
16
- deleted: boolean | null;
17
- description: string | null;
18
- disableIndex: boolean | null;
19
- id: string;
20
- pageTitle: string | null;
21
- slug: string;
22
- targetId: string | null;
23
- targetType: RaffleMetadataTargetTypeEnum | null;
24
- updatedAt: any | null;
25
- }
26
- export interface saveRaffleParticipant_saveRaffleParticipant_raffle_variants {
27
- __typename: "RaffleVariantInformation";
28
- productId: string;
29
- variantId: string;
30
- }
31
- export interface saveRaffleParticipant_saveRaffleParticipant_raffle {
32
- __typename: "StorefrontRaffle";
33
- createdAt: any | null;
34
- dateRange: saveRaffleParticipant_saveRaffleParticipant_raffle_dateRange | null;
35
- deleted: boolean | null;
36
- id: string;
37
- metadata: saveRaffleParticipant_saveRaffleParticipant_raffle_metadata;
38
- name: string;
39
- requiredCustomerAccount: boolean;
40
- status: boolean;
41
- updatedAt: any | null;
42
- variants: saveRaffleParticipant_saveRaffleParticipant_raffle_variants[];
43
- verificationType: VerificationTypeEnum;
44
- }
45
- export interface saveRaffleParticipant_saveRaffleParticipant {
46
- __typename: "RaffleParticipants";
47
- applicationDate: any;
48
- appliedProduct: saveRaffleParticipant_saveRaffleParticipant_appliedProduct;
49
- createdAt: any | null;
50
- customerId: string | null;
51
- deleted: boolean | null;
52
- email: string;
53
- extraData: any | null;
54
- firstName: string;
55
- fullName: string;
56
- id: string;
57
- isDeliveredCargo: boolean | null;
58
- lastName: string;
59
- phone: string | null;
60
- raffle: saveRaffleParticipant_saveRaffleParticipant_raffle;
61
- raffleId: string;
62
- status: RaffleParticipantStatusEnum | null;
63
- updatedAt: any | null;
64
- }
65
- export interface saveRaffleParticipant {
66
- saveRaffleParticipant: saveRaffleParticipant_saveRaffleParticipant;
67
- }
68
- export interface saveRaffleParticipantVariables {
69
- input: RaffleParticipantsInput;
70
- }
@@ -1,28 +0,0 @@
1
- import { IkasRaffle, IkasRaffleMetaData, IkasRaffleParticipant } from "../../models/data/raffle";
2
- import { GraphQLError } from "graphql";
3
- export declare type IkasListRaffleParams = {
4
- start?: number | null;
5
- end?: number | null;
6
- includeDeleted?: boolean;
7
- name?: string | null;
8
- pagination?: {
9
- limit: number;
10
- page: number;
11
- } | null;
12
- search?: string | null;
13
- id?: string | null;
14
- };
15
- export declare class IkasRaffleAPI {
16
- static listStorefrontRaffle(params: IkasListRaffleParams): Promise<ListRafflesResponse>;
17
- static saveRaffleParticipant(participant: IkasRaffleParticipant): Promise<{
18
- errors?: readonly GraphQLError[] | undefined;
19
- data?: IkasRaffleParticipant | undefined;
20
- }>;
21
- static listRaffleMetaData(slug?: string, targetIds?: string[], targetType?: string[], page?: number, limit?: number): Promise<IkasRaffleMetaData[]>;
22
- static listRaffleParticipants(): Promise<IkasRaffleParticipant[] | undefined>;
23
- }
24
- declare type ListRafflesResponse = {
25
- raffles: IkasRaffle[];
26
- count: number;
27
- };
28
- export {};
@@ -1 +0,0 @@
1
- import{__awaiter as n,__generator as e,__makeTemplateObject as t}from'../../ext/tslib/tslib.es6.js';import a from'../../ext/graphql-tag/src/index.js';import{apollo as r}from"../apollo.js";import{IkasRaffle as i,IkasRaffleAppliedProduct as d,IkasRaffleParticipant as l,IkasRaffleMetaData as s}from"../../models/data/raffle/index.js";var u,o,c,p,f=function(){function f(){}return f.listStorefrontRaffle=function(l){return n(this,void 0,void 0,(function(){var n,s,o,c,p,f,g;return e(this,(function(e){switch(e.label){case 0:n=a(u||(u=t(["\n query listStorefrontRaffle(\n $end: DateFilterInput\n $start: DateFilterInput\n $id: StringFilterInput\n $includeDeleted: Boolean\n $name: StringFilterInput\n $pagination: PaginationInput\n $search: String\n ) {\n listStorefrontRaffle(\n start: $start\n end: $end\n id: $id\n includeDeleted: $includeDeleted\n name: $name\n pagination: $pagination\n search: $search\n ) {\n count\n hasNext\n limit\n page\n data {\n createdAt\n dateRange {\n end\n start\n }\n deleted\n id\n metadata {\n canonicals\n createdAt\n deleted\n description\n disableIndex\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n name\n requiredCustomerAccount\n status\n updatedAt\n variants {\n productId\n variantId\n }\n verificationType\n }\n }\n }\n "],["\n query listStorefrontRaffle(\n $end: DateFilterInput\n $start: DateFilterInput\n $id: StringFilterInput\n $includeDeleted: Boolean\n $name: StringFilterInput\n $pagination: PaginationInput\n $search: String\n ) {\n listStorefrontRaffle(\n start: $start\n end: $end\n id: $id\n includeDeleted: $includeDeleted\n name: $name\n pagination: $pagination\n search: $search\n ) {\n count\n hasNext\n limit\n page\n data {\n createdAt\n dateRange {\n end\n start\n }\n deleted\n id\n metadata {\n canonicals\n createdAt\n deleted\n description\n disableIndex\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n name\n requiredCustomerAccount\n status\n updatedAt\n variants {\n productId\n variantId\n }\n verificationType\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,r.getClient().query({query:n,variables:{start:l.start?{eq:l.start}:void 0,end:l.end?{eq:l.end}:void 0,id:l.id?{eq:l.id}:void 0,includeDeleted:(l.includeDeleted,l.includeDeleted),name:l.name?{eq:l.name}:void 0,pagination:l.pagination?{limit:l.pagination.limit,page:l.pagination.page}:void 0,search:l.search}})];case 2:return s=e.sent(),o=s.data,(c=s.errors)&&c.length?[2,{raffles:[],count:0}]:(p=o.listStorefrontRaffle.count,f=o.listStorefrontRaffle.data.map((function(n){var e,t;return new i({id:n.id,dateRange:{end:null===(e=n.dateRange)||void 0===e?void 0:e.end,start:null===(t=n.dateRange)||void 0===t?void 0:t.start},createdAt:n.createdAt,deleted:n.deleted,metadata:n.metadata||void 0,name:n.name,requiredCustomerAccount:n.requiredCustomerAccount,status:n.status,updatedAt:n.updatedAt,variants:n.variants.length>0?n.variants.map((function(n){return new d(n)})):void 0,verificationType:n.verificationType})})),[2,{count:p,raffles:f}]);case 3:return g=e.sent(),console.log(g),[2,{raffles:[],count:0}];case 4:return[2]}}))}))},f.saveRaffleParticipant=function(i){return n(this,void 0,void 0,(function(){var n,d,s,u,c,p;return e(this,(function(e){switch(e.label){case 0:n=a(o||(o=t(["\n mutation saveRaffleParticipant($input: RaffleParticipantsInput!) {\n saveRaffleParticipant(input: $input) {\n applicationDate\n appliedProduct {\n productId\n variantId\n }\n createdAt\n customerId\n deleted\n email\n extraData\n firstName\n fullName\n id\n isDeliveredCargo\n lastName\n phone\n raffle {\n createdAt\n dateRange {\n end\n start\n }\n deleted\n id\n metadata {\n canonicals\n createdAt\n deleted\n description\n disableIndex\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n name\n requiredCustomerAccount\n status\n updatedAt\n variants {\n productId\n variantId\n }\n verificationType\n }\n raffleId\n status\n updatedAt\n }\n }\n "],["\n mutation saveRaffleParticipant($input: RaffleParticipantsInput!) {\n saveRaffleParticipant(input: $input) {\n applicationDate\n appliedProduct {\n productId\n variantId\n }\n createdAt\n customerId\n deleted\n email\n extraData\n firstName\n fullName\n id\n isDeliveredCargo\n lastName\n phone\n raffle {\n createdAt\n dateRange {\n end\n start\n }\n deleted\n id\n metadata {\n canonicals\n createdAt\n deleted\n description\n disableIndex\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n name\n requiredCustomerAccount\n status\n updatedAt\n variants {\n productId\n variantId\n }\n verificationType\n }\n raffleId\n status\n updatedAt\n }\n }\n "]))),d={},e.label=1;case 1:return e.trys.push([1,3,,4]),[4,r.getClient().mutate({mutation:n,variables:{input:{appliedProduct:i.appliedProduct,email:i.email,firstName:i.firstName,lastName:i.lastName,raffleId:i.raffleId,extraData:i.extraData,phone:i.phone}}})];case 2:return s=e.sent(),u=s.data,(c=s.errors)&&c.length&&(console.log(c),d.errors=c),u&&u.saveRaffleParticipant&&(d.data=new l(u.saveRaffleParticipant)),[2,d];case 3:return(p=e.sent()).graphQLErrors&&(d.errors=p.graphQLErrors),[2,d];case 4:return[2]}}))}))},f.listRaffleMetaData=function(i,d,l,u,o){return void 0===u&&(u=1),void 0===o&&(o=200),n(this,void 0,void 0,(function(){var n,p,f,g,m;return e(this,(function(e){switch(e.label){case 0:n=a(c||(c=t(["\n query listRaffleMetaData(\n $slug: StringFilterInput\n $targetId: StringFilterInput\n $targetType: RaffleMetadataTargetTypeEnumFilter\n $pagination: PaginationInput\n ) {\n listRaffleMetadata(\n slug: $slug\n targetId: $targetId\n targetType: $targetType\n pagination: $pagination\n ) {\n createdAt\n deleted\n description\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n canonicals\n disableIndex\n }\n }\n "],["\n query listRaffleMetaData(\n $slug: StringFilterInput\n $targetId: StringFilterInput\n $targetType: RaffleMetadataTargetTypeEnumFilter\n $pagination: PaginationInput\n ) {\n listRaffleMetadata(\n slug: $slug\n targetId: $targetId\n targetType: $targetType\n pagination: $pagination\n ) {\n createdAt\n deleted\n description\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n canonicals\n disableIndex\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,r.getClient().query({query:n,variables:{slug:i?{eq:i}:void 0,targetId:d?{in:d}:void 0,targetType:l?{in:l}:void 0,pagination:{page:u,limit:o}}})];case 2:return p=e.sent(),f=p.data,(g=p.errors)&&g.length?[2,[]]:[2,f.listRaffleMetadata.map((function(n){return new s(n)}))];case 3:return m=e.sent(),console.log(m),[2,[]];case 4:return[2]}}))}))},f.listRaffleParticipants=function(){return n(this,void 0,void 0,(function(){var n,s,u,o,c,f;return e(this,(function(e){switch(e.label){case 0:n=a(p||(p=t(["\n query listRaffleParticipants {\n listRaffleParticipants {\n applicationDate\n appliedProduct {\n productId\n variantId\n }\n createdAt\n customerId\n deleted\n email\n extraData\n firstName\n fullName\n id\n isDeliveredCargo\n lastName\n phone\n raffle {\n createdAt\n dateRange {\n end\n start\n }\n deleted\n id\n metadata {\n canonicals\n createdAt\n deleted\n description\n disableIndex\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n name\n requiredCustomerAccount\n status\n updatedAt\n variants {\n productId\n variantId\n }\n verificationType\n }\n raffleId\n status\n updatedAt\n }\n }\n "],["\n query listRaffleParticipants {\n listRaffleParticipants {\n applicationDate\n appliedProduct {\n productId\n variantId\n }\n createdAt\n customerId\n deleted\n email\n extraData\n firstName\n fullName\n id\n isDeliveredCargo\n lastName\n phone\n raffle {\n createdAt\n dateRange {\n end\n start\n }\n deleted\n id\n metadata {\n canonicals\n createdAt\n deleted\n description\n disableIndex\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n name\n requiredCustomerAccount\n status\n updatedAt\n variants {\n productId\n variantId\n }\n verificationType\n }\n raffleId\n status\n updatedAt\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,r.getClient().query({query:n})];case 2:return s=e.sent(),u=s.data,(o=s.errors)&&o.length?[2]:(c=u.listRaffleParticipants.map((function(n){var e,t;return new l({applicationDate:n.applicationDate,appliedProduct:n.appliedProduct,createdAt:n.createdAt,customerId:n.customerId,deleted:n.deleted,email:n.email,extraData:n.extraData,firstName:n.firstName,fullName:n.fullName,id:n.id,isDeliveredCargo:n.isDeliveredCargo,lastName:n.lastName,phone:n.phone,raffle:new i({id:n.raffle.id,dateRange:{end:null===(e=n.raffle.dateRange)||void 0===e?void 0:e.end,start:null===(t=n.raffle.dateRange)||void 0===t?void 0:t.start},createdAt:n.raffle.createdAt,deleted:n.raffle.deleted,metadata:n.raffle.metadata||void 0,name:n.raffle.name,requiredCustomerAccount:n.raffle.requiredCustomerAccount,status:n.raffle.status,updatedAt:n.raffle.updatedAt,variants:n.raffle.variants.length>0?n.raffle.variants.map((function(n){return new d(n)})):void 0,verificationType:n.raffle.verificationType}),raffleId:n.raffleId,status:n.status,updatedAt:n.updatedAt})})),[2,c]);case 3:return f=e.sent(),console.log(f),[3,4];case 4:return[2]}}))}))},f}();export{f as IkasRaffleAPI};
@@ -1,19 +0,0 @@
1
- import { StringFilterInput } from "./../../../__generated__/global-types";
2
- export interface listState_listState {
3
- __typename: "State";
4
- id: string;
5
- /**
6
- * State's name.
7
- */
8
- name: string;
9
- /**
10
- * The two-letter state code corresponding to the state.
11
- */
12
- stateCode: string | null;
13
- }
14
- export interface listState {
15
- listState: listState_listState[];
16
- }
17
- export interface listStateVariables {
18
- countryId: StringFilterInput;
19
- }
@@ -1,4 +0,0 @@
1
- import { IkasState } from "../../models";
2
- export declare class IkasStateAPI {
3
- static listStates(countryId: string): Promise<IkasState[]>;
4
- }
@@ -1 +0,0 @@
1
- import{__awaiter as t,__generator as n,__makeTemplateObject as e}from'../../ext/tslib/tslib.es6.js';import r from'../../ext/graphql-tag/src/index.js';import{apollo as o}from"../apollo.js";import{pascalCase as s}from"../../utils/helper.js";import"../../storefront/index.js";import"../../utils/i18n.js";var i,u=function(){function u(){}return u.listStates=function(u){return t(this,void 0,void 0,(function(){var t,a,l,d,c;return n(this,(function(n){switch(n.label){case 0:t=r(i||(i=e(["\n query listState($countryId: StringFilterInput!) {\n listState(countryId: $countryId) {\n id\n name\n stateCode\n }\n }\n "],["\n query listState($countryId: StringFilterInput!) {\n listState(countryId: $countryId) {\n id\n name\n stateCode\n }\n }\n "]))),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,o.getClient().query({query:t,variables:{countryId:{eq:u}}})];case 2:return a=n.sent(),l=a.data,(d=a.errors)&&d.length&&console.log(d),l?[2,l.listState.map((function(t){return{id:t.id,name:s(t.name),stateCode:t.stateCode||void 0}}))]:[3,4];case 3:return c=n.sent(),console.log(c),[3,4];case 4:return[2,[]]}}))}))},u}();export{u as IkasStateAPI};
@@ -1,7 +0,0 @@
1
- export interface listStockLocation_listStockLocation {
2
- __typename: "StockLocation";
3
- id: string;
4
- }
5
- export interface listStockLocation {
6
- listStockLocation: listStockLocation_listStockLocation[];
7
- }
@@ -1,4 +0,0 @@
1
- import * as ListStockLocationTypes from "./__generated__/listStockLocation";
2
- export declare class IkasStockLocationAPI {
3
- static listStockLocation(): Promise<ListStockLocationTypes.listStockLocation_listStockLocation | undefined>;
4
- }
@@ -1,64 +0,0 @@
1
- import { StorefrontStatusTypes, StorefrontThemeStatus } from "./../../../__generated__/global-types";
2
- export interface getStorefront_getStorefront_localizations {
3
- __typename: "StorefrontLocalization";
4
- createdAt: any | null;
5
- id: string;
6
- isDefault: boolean;
7
- locale: string;
8
- name: string;
9
- }
10
- export interface getStorefront_getStorefront_routings_dynamicCurrencySettings {
11
- __typename: "StorefrontDynamicCurrencySettings";
12
- /**
13
- * One of '.x0' | '.x9' | '.00' | '.90' | '.99'
14
- */
15
- roundingFormat: string | null;
16
- targetCurrencyCode: string;
17
- }
18
- export interface getStorefront_getStorefront_routings {
19
- __typename: "StorefrontRouting";
20
- countryCodes: string[] | null;
21
- createdAt: any | null;
22
- domain: string | null;
23
- id: string;
24
- locale: string;
25
- path: string | null;
26
- priceListId: string | null;
27
- updatedAt: any | null;
28
- dynamicCurrencySettings: getStorefront_getStorefront_routings_dynamicCurrencySettings | null;
29
- }
30
- export interface getStorefront_getStorefront_themes {
31
- __typename: "StorefrontTheme";
32
- createdAt: any | null;
33
- id: string;
34
- isMainTheme: boolean;
35
- name: string;
36
- status: StorefrontThemeStatus;
37
- themeId: string;
38
- themeVersionId: string;
39
- updatedAt: any | null;
40
- }
41
- export interface getStorefront_getStorefront {
42
- __typename: "Storefront";
43
- createdAt: any | null;
44
- emailSettingsId: string | null;
45
- fbpId: string | null;
46
- gtmId: string | null;
47
- analytics4Id: string | null;
48
- universalAnalyticsId: string | null;
49
- tiktokPixelId: string | null;
50
- id: string;
51
- localizations: getStorefront_getStorefront_localizations[];
52
- mainStorefrontThemeId: string | null;
53
- name: string;
54
- salesChannelId: string;
55
- routings: getStorefront_getStorefront_routings[];
56
- status: StorefrontStatusTypes;
57
- themes: getStorefront_getStorefront_themes[];
58
- }
59
- export interface getStorefront {
60
- getStorefront: getStorefront_getStorefront | null;
61
- }
62
- export interface getStorefrontVariables {
63
- id: string;
64
- }
@@ -1,4 +0,0 @@
1
- import { IkasStorefront } from "../../models/data/storefront";
2
- export declare class IkasStorefrontAPI {
3
- static getStorefront(id: string): Promise<IkasStorefront | undefined>;
4
- }
@@ -1 +0,0 @@
1
- import{__awaiter as n,__generator as e,__makeTemplateObject as t}from'../../ext/tslib/tslib.es6.js';import{apollo as r}from"../apollo.js";import i from'../../ext/graphql-tag/src/index.js';import{IkasStorefront as a}from"../../models/data/storefront/index.js";var d,o=function(){function o(){}return o.getStorefront=function(o){return n(this,void 0,void 0,(function(){var n,s,l,c,u;return e(this,(function(e){switch(e.label){case 0:n=i(d||(d=t(["\n query getStorefront($id: String!) {\n getStorefront(id: $id) {\n createdAt\n emailSettingsId\n fbpId\n gtmId\n analytics4Id\n universalAnalyticsId\n tiktokPixelId\n id\n localizations {\n createdAt\n id\n isDefault\n locale\n name\n }\n mainStorefrontThemeId\n name\n salesChannelId\n routings {\n countryCodes\n createdAt\n domain\n id\n locale\n path\n priceListId\n updatedAt\n dynamicCurrencySettings {\n roundingFormat\n targetCurrencyCode\n }\n }\n status\n themes {\n createdAt\n id\n isMainTheme\n name\n status\n themeId\n themeVersionId\n updatedAt\n }\n }\n }\n "],["\n query getStorefront($id: String!) {\n getStorefront(id: $id) {\n createdAt\n emailSettingsId\n fbpId\n gtmId\n analytics4Id\n universalAnalyticsId\n tiktokPixelId\n id\n localizations {\n createdAt\n id\n isDefault\n locale\n name\n }\n mainStorefrontThemeId\n name\n salesChannelId\n routings {\n countryCodes\n createdAt\n domain\n id\n locale\n path\n priceListId\n updatedAt\n dynamicCurrencySettings {\n roundingFormat\n targetCurrencyCode\n }\n }\n status\n themes {\n createdAt\n id\n isMainTheme\n name\n status\n themeId\n themeVersionId\n updatedAt\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,r.getClient().query({query:n,variables:{id:o}})];case 2:return s=e.sent(),l=s.data,(c=s.errors)&&c.length&&console.log(c),l?[2,new a(l.getStorefront)]:[3,4];case 3:return u=e.sent(),console.log(u),[3,4];case 4:return[2]}}))}))},o}();export{o as IkasStorefrontAPI};
@@ -1,72 +0,0 @@
1
- import { StringFilterInput, VariantSelectionTypeEnum } from "./../../../__generated__/global-types";
2
- export interface listVariantType_listVariantType_values {
3
- __typename: "VariantValue";
4
- id: string;
5
- createdAt: any | null;
6
- updatedAt: any | null;
7
- deleted: boolean | null;
8
- /**
9
- * It is the name information of the values used in the Variant type. Value information of Variant type is unique according to name.It can be a maximum of 100 characters.
10
- */
11
- name: string;
12
- /**
13
- * It is the image information of the variant values.
14
- */
15
- thumbnailImageId: string | null;
16
- /**
17
- * It is the color code information of the variant values. It can be a maximum of 7 characters.
18
- */
19
- colorCode: string | null;
20
- }
21
- export interface listVariantType_listVariantType_translations_values {
22
- __typename: "VariantValueTranslation";
23
- id: string;
24
- /**
25
- * It is the information in which language the translation is saved.
26
- */
27
- name: string | null;
28
- }
29
- export interface listVariantType_listVariantType_translations {
30
- __typename: "VariantTypeTranslation";
31
- /**
32
- * It is the name information of the translation.
33
- */
34
- locale: string;
35
- /**
36
- * It is the information in which language the translation is saved.
37
- */
38
- name: string | null;
39
- /**
40
- * It is the translation information of the values of variant types.
41
- */
42
- values: listVariantType_listVariantType_translations_values[] | null;
43
- }
44
- export interface listVariantType_listVariantType {
45
- __typename: "VariantType";
46
- id: string;
47
- createdAt: any | null;
48
- updatedAt: any | null;
49
- deleted: boolean | null;
50
- /**
51
- * Product variant type name information. **For example: Size, Color, Number etc.**.It can be a maximum of 100 characters.
52
- */
53
- name: string;
54
- /**
55
- * Product variant type selection type. It can be choice or color.
56
- */
57
- selectionType: VariantSelectionTypeEnum;
58
- /**
59
- * Variant values used in Variant type. ** For example, variant type: Size. Variant values can be thought of as S, M, L, XL. **It is unique according to the value name.Values array size must have at least one element.
60
- */
61
- values: listVariantType_listVariantType_values[];
62
- /**
63
- * It is the translation information of the product variant types.
64
- */
65
- translations: listVariantType_listVariantType_translations[] | null;
66
- }
67
- export interface listVariantType {
68
- listVariantType: listVariantType_listVariantType[];
69
- }
70
- export interface listVariantTypeVariables {
71
- id: StringFilterInput;
72
- }
@@ -1,4 +0,0 @@
1
- import { IkasVariantType } from "../../models";
2
- export declare class IkasVariantTypeAPI {
3
- static listVariantTypes(idList?: string[]): Promise<IkasVariantType[]>;
4
- }
@@ -1 +0,0 @@
1
- var e={actions:{login:"Einloggen",edit:"Bearbeiten",apply:"Anwenden",close:"Schießen",cancel:"Abbrechen",save:"Speichern",continue:"Weiter",show:"Anzeigen",hide:"Verstecken",sendMessage:"Nachricht senden",continueWithShipping:"Weiter mit Versand",continueWithPayment:"Weiter mit Zahlung",completeOrder:"Complete the Order",backToShopping:"Bestellung abschließen",backToCart:"Zurück zum Warenkorb",addToCart:"Zum Warenkorb hinzufügen"},securePayment:"Sichere Bezahlung",alreadyHaveAnAccount:"Du hast bereits ein Konto?",address:"Adresse",addressError:"Adresse eingeben",missingAddressFields:"Es fehlen einige Pflichtfelder in dieser Adresse.",editAddress:"Adresse bearbeiten",deleteAddress:"Adresse löschen",saveAddressCta:"Speichere diese Adresse für zukünftige Einkäufe",firstName:"Vorname",firstNameError:"Vorname eingeben",lastName:"Nachname",lastNameError:"Nachname eingeben",identityNumber:"Personalausweisnummer",identityNumberError:"Personalausweisnummer eingeben",addressTitle:"Name der Anschrift",adressTitleError:"Name für die Anschrift eingeben",addressLine1:"Addresse",addressLine2:"Adresszusatz",postalCode:"Postleitzahl",postalCodeError:"Postleitzahl eingeben",country:"Land",countryError:"Land auswählen",state:"Bundesland",stateError:"Bundesland eingeben",city:"Stadt",cityError:"Stadt eingeben",district:"Bezirk",districtError:"Bezirk eingeben",phone:"Telefonnummer",phoneError:"Eine gültige Telefonnummer eingeben",companyName:"Name des Unternehmens",taxOffice:"Finanzamt",taxNumber:"Umsatzsteuer-ID",deliveryMethod:"Zustellungsmethode",deliveryToAddress:"Lieferanschrift",inStoreDelivery:"Abholung",stockLocation:{deliveryTime:{WITHIN_ONE_HOUR:"In der Regel in 1 Stunde bereit",WITHIN_TWO_HOURS:"In der Regel in 2 Stunden bereit",WITHIN_FOUR_HOURS:"In der Regel in 4 Stunden bereit",WITHIN_TWENTY_FOUR_HOURS:"In der Regel innerhalb von 24 Stunden bereit",TWO_IN_FOUR_DAYS:"Gewöhnlich in 2-4 Tagen bereit",WITHIN_PLUS_FIVE_DAYS:"Gewöhnlich in +5 Tagen fertig"}},recipientsInfo:"Empfänger Details",pickUpLocation:"Abholort",receiver:"Empfänger",shipping:"Versand",payment:"Zahlung",summary:"Zusammenfassung",free:"Kostenlos",standartShipping:"Standardversand",returnPolicy:"Rückgaberecht",privacyPolicy:"Datenschutzerklärung",termsOfService:"Geschäftsbedingungen",newAddress:"Neu Addresse",billingAddress:"Rechnungsaddresse",shippingAddress:"Versandaddresse",corporateInvoice:"Unternehmensrechnung",contactInfo:"Kontaktinformationen",email:"E-Mail",emailError:"Gebe eine gültige E-Mail ein",guestEmailTooltip:"Deine Bestellinformationen werden an diese E-Mail-Adresse gesendet",customerConsentCta:"Mich über Neuigkeiten und Angeboten informieren",useShippingForBilling:"Lieferadresse als Rechnungsaddresse verwenden",installmentOptions:"Ratenzahlungsoptionen",singleInstallment:"Einmalige Zahlung",installments:"Ratenzahlungen",creditCard:"Kreditkarte",ackPrivacyPolicy:"Datenschutzerklärung",ackTermsOfService:"Geschäftsbedingungen",ackPoliciesSentence:"I akzeptiere die {{ ackPrivacyPolicy }} und {{ ackTermsOfService }}.",securePaymentTooltip:"Alle Zahlungen sind sicher und verschlüsselt",giftPackage:"Geschenkpaket",giftPackageCta:"Diese Bestellung als Geschenk verpacken",giftPackageCtaPlaceholder:"Geschenknachricht eingeben",paymentMethod:"Zahlungsmethode",paymentMethodDiscount:"Rabatt",paymentMethodAdditionalPrice:"Gebühr",orderSuccessTitle:"Vielen Dank für Deine Bestellung!",orderSuccessDescription:"Hallo {{ customerName }}, wir haben Deine Bestellung erhalten. Wir benachrichtigen Dich, wenn die Bestellung versandt wird.",orderSuccessInStoreDeliveryDescription:"Hallo {{ customerName }}, wir haben Deine Bestellung erhalten. Wir werden Dich per E-Mail benachrichtigen, wenn die Bestellung in der Filiale eingetroffen ist.",orderNoAndDate:"Bestellnummer/Datum",paymentSummary:"Zahlungsübersicht",shippingSummary:"Versand Übersicht",helpCtaQuestion:"Brauchst Du Hilfe?",helpCta:"Kontaktiere uns",contactForm:"Kontakt-Formular",contactFormSent:"Nachricht erfolgreich versandt",contactFormDescription:"Wir werden so schnell wie möglich auf Deine Nachricht antworten.",contactFormCta:"Gebe Deine Nachricht ein",orderPackageStatus:{unfulfilled:"Nicht ausgeführt",readyForShipment:"Versandbereit",fulfilled:"Verschickt",partiallyFulfilled:"Teilweise verschickt",delivered:"Zugestellt",unableToDeliver:"Zugestellt fehlgeschlagen",cancelled:"Storniert",cancelRejected:"Storno abgeleht",cancelRequested:"Storno angefordert",refunded:"Rückerstattet",refundRequestAccepted:"Rückerstattungsanfrage angenommen",refundRejected:"Rückerstattungsanfrage abgeleht",refundRequested:"Rückerstattung angefragt"},quantity:"Menge",cartItemProduct:"Produkt",giftCodeErrorTitle:"Gutschein-/Rabattcode Fehler",giftCodeErrorDescription:"Der eingegebene Geschenkcode ist nicht gültig oder nicht auf die Produkte in Deinem Warenkorb anwendbar. Bitte überprüfe den Code und versuche es erneut.",subtotal:"Zwischensumme",total:"Bestellsumme",subtotalTooltip:"Die Zwischensumme entspricht der Bestellsumme Deines Warenkorbs vor den Rabatten und beinhaltet nicht die Versandkosten.",cartShippingTitle:"Lieferung/Versand",cartTaxTitle:"MwSt.",cartInterest:"Zinsen",couponCode:"Gutschein-/Rabattcode",addCouponCode:"Gutschein-/Rabattcode hinzufügen",addOrderNote:"Bestellnotiz hinzufügen",editOrderNote:"Bestellnotiz bearbeiten",orderNote:"Bestellnotiz",enterPhoneNumber:"Telefonnummer eingeben",cardNumber:"Kartennummer",cardNumberError:"Bitte gebe eine gültige Kartennummer ein",cardHolderName:"Name des Karteninhabers",cardHolderError:"Name des Karteninhabers eingeben",cardExpiry:"Monat/Jahr",cardExpiryError:"Gebe ein gültiges Datum ein",cardCVC:"CVC",cardCVCError:"Gebe einen gültigen CVC ein",cardCVCTooltip:"CVC ist die 3-stellige Nummer hinter der Karte",masterPass:{paymentGatewaySelectBox:{delete:"Löschen"},creditCardForm:{checkboxLabel:"Ich möchte meine Karte in der {{ masterpassLogo }} Infrastruktur speichern.",cardName:"Name der Karte",phoneNumber:"Telefonnummer",button:"Verifizierungscode senden"},linkCardToClientModal:{text:"Du hast eine bei Masterpass registrierte Karte. Klicke auf OK, um diese Karte für Deinen Einkauf zu verwenden.",buttonText:"OK",subInfoText:"Zu diesem Zeitpunkt wird noch keine Zahlung durchgeführt."},otpModal:{otpTextBank:"Gebe den SMS-Verifizierungscode ein, der dem Karteninhaber zugesandt wurde.",otpTextMasterPass:"Gebe den von Masterpass gesendeten SMS-Verifizierungscode ein.",countdownText:"Verbleibende Zeit: ",resendText:"Code erneut senden",inputLabel:"Gebe den Verifizierungscode ein",buttonText:"Verifizieren"},successModal:{otpSuccessText:"Deine Karte wurde erfolgreich registriert.",linkCardToClientSuccessText:"Dein Masterpass-Konto wurde erfolgreich bestätigt."}},timeRemaining:"Verbleibende Zeit {{value}}",errorCustomerRequired:"Diese E-Mail-Adresse gehört einem registrierten Benutzer. Bitte logge Dich ein.",errorNoShipping:"Keine Versandoptionen für deine Region gefunden.",errorPayment:"Deine Zahlung konnte nicht empfangen werden. Bitte überprüfe Deine Angaben und versuche es erneut.",errorStockTitle:"Lagerbestand aktualisiert!",errorStockDescription:"Einige Artikel in Deinem Warenkorb sind nicht auf Lager. Wenn Du trotzdem fortfährst werden Produkte die nicht auf Lager sind aus Deinem Warenkorb entfernt?",errorUnknown:"Es ist ein unerwarteter Fehler aufgetreten. Bitte versuche es erneut.",errorPickupLocationRequired:"Abholort wählen",customizedProduct:"Individualisiertes Produkt",yes:"Ja",no:"Nein"};export{e as default};
@@ -1 +0,0 @@
1
- import{wrap as t}from"../../../../optimism/lib/bundle.esm.js";import"../../../../ts-invariant/lib/invariant.esm.js";import{getFragmentQueryDocument as r}from"../../utilities/graphql/fragments.js";import"../../utilities/graphql/transform.js";import"../../utilities/common/mergeDeep.js";import"../../utilities/observables/Observable.js";import"../../utilities/observables/Concast.js";var i=function(){function i(){this.getFragmentDoc=t(r)}return i.prototype.recordOptimisticTransaction=function(t,r){this.performTransaction(t,r)},i.prototype.transformDocument=function(t){return t},i.prototype.identify=function(t){},i.prototype.gc=function(){return[]},i.prototype.modify=function(t){return!1},i.prototype.transformForLink=function(t){return t},i.prototype.readQuery=function(t,r){return void 0===r&&(r=!!t.optimistic),this.read({rootId:t.id||"ROOT_QUERY",query:t.query,variables:t.variables,returnPartialData:t.returnPartialData,optimistic:r})},i.prototype.readFragment=function(t,r){return void 0===r&&(r=!!t.optimistic),this.read({query:this.getFragmentDoc(t.fragment,t.fragmentName),variables:t.variables,rootId:t.id,returnPartialData:t.returnPartialData,optimistic:r})},i.prototype.writeQuery=function(t){return this.write({dataId:t.id||"ROOT_QUERY",result:t.data,query:t.query,variables:t.variables,broadcast:t.broadcast})},i.prototype.writeFragment=function(t){return this.write({dataId:t.id,result:t.data,variables:t.variables,query:this.getFragmentDoc(t.fragment,t.fragmentName),broadcast:t.broadcast})},i}();export{i as ApolloCache};
@@ -1 +0,0 @@
1
- var t=function(t,i,s,e,h){this.message=t,this.path=i,this.query=s,this.clientOnly=e,this.variables=h};export{t as MissingFieldError};
@@ -1 +0,0 @@
1
- import{__assign as t,__rest as e,__extends as r}from'../../ext/tslib/tslib.es6.js';import{dep as i}from"../../../../optimism/lib/bundle.esm.js";import o from"../../../../@wry/equality/lib/equality.esm.js";import"../../../../ts-invariant/lib/invariant.esm.js";import{isReference as n,makeReference as s}from"../../utilities/graphql/storeUtils.js";import"../../utilities/graphql/transform.js";import{DeepMerger as a}from"../../utilities/common/mergeDeep.js";import"../../utilities/observables/Observable.js";import{maybeDeepFreeze as c}from"../../utilities/common/maybeDeepFreeze.js";import"../../utilities/observables/Concast.js";import{canUseWeakMap as u}from"../../utilities/common/canUse.js";import{hasOwn as p,fieldNameFromStoreName as f}from"./helpers.js";import{Trie as h}from"../../../../@wry/trie/lib/trie.esm.js";var l=Object.create(null),d=function(){return l},y=Object.create(null),m=function(){function r(t,e){var r=this;this.policies=t,this.group=e,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(t,e){return c(n(t)?r.get(t.__ref,e):t&&t[e])},this.canRead=function(t){return n(t)?r.has(t.__ref):"object"==typeof t},this.toReference=function(t,e){if("string"==typeof t)return s(t);if(n(t))return t;var i=r.policies.identify(t)[0];if(i){var o=s(i);return e&&r.merge(i,t),o}}}return r.prototype.toObject=function(){return t({},this.data)},r.prototype.has=function(t){return void 0!==this.lookup(t,!0)},r.prototype.get=function(t,e){if(this.group.depend(t,e),p.call(this.data,t)){var r=this.data[t];if(r&&p.call(r,e))return r[e]}return"__typename"===e&&p.call(this.policies.rootTypenamesById,t)?this.policies.rootTypenamesById[t]:this instanceof b?this.parent.get(t,e):void 0},r.prototype.lookup=function(t,e){return e&&this.group.depend(t,"__exists"),p.call(this.data,t)?this.data[t]:this instanceof b?this.parent.lookup(t,e):this.policies.rootTypenamesById[t]?Object.create(null):void 0},r.prototype.merge=function(t,e){var r=this,i=this.lookup(t),o=new a(j).merge(i,e);if(this.data[t]=o,o!==i&&(delete this.refs[t],this.group.caching)){var n=Object.create(null);i||(n.__exists=1),Object.keys(e).forEach((function(t){if(!i||i[t]!==o[t]){n[t]=1;var e=f(t);e===t||r.policies.hasKeyArgs(o.__typename,e)||(n[e]=1),void 0!==o[t]||r instanceof b||delete o[t]}})),Object.keys(n).forEach((function(e){return r.group.dirty(t,e)}))}},r.prototype.modify=function(e,r){var i=this,o=this.lookup(e);if(o){var a=Object.create(null),u=!1,p=!0,h={DELETE:l,INVALIDATE:y,isReference:n,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return i.policies.readField("string"==typeof t?{fieldName:t,from:r||s(e)}:t,{store:i})}};if(Object.keys(o).forEach((function(n){var s=f(n),m=o[n];if(void 0!==m){var g="function"==typeof r?r:r[n]||r[s];if(g){var v=g===d?l:g(c(m),t(t({},h),{fieldName:s,storeFieldName:n,storage:i.getStorage(e,n)}));v===y?i.group.dirty(e,n):(v===l&&(v=void 0),v!==m&&(a[n]=v,u=!0,m=v))}void 0!==m&&(p=!1)}})),u)return this.merge(e,a),p&&(this instanceof b?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},r.prototype.delete=function(t,e,r){var i,o=this.lookup(t);if(o){var n=this.getFieldValue(o,"__typename"),s=e&&r?this.policies.getStoreFieldName({typename:n,fieldName:e,args:r}):e;return this.modify(t,s?((i={})[s]=d,i):d)}return!1},r.prototype.evict=function(t){var e=!1;return t.id&&(p.call(this.data,t.id)&&(e=this.delete(t.id,t.fieldName,t.args)),this instanceof b&&(e=this.parent.evict(t)||e),(t.fieldName||e)&&this.group.dirty(t.id,t.fieldName||"__exists")),e},r.prototype.clear=function(){this.replace(null)},r.prototype.extract=function(){var t=this,e=this.toObject(),r=[];return this.getRootIdSet().forEach((function(e){p.call(t.policies.rootTypenamesById,e)||r.push(e)})),r.length&&(e.__META={extraRootIds:r.sort()}),e},r.prototype.replace=function(t){var r=this;if(Object.keys(this.data).forEach((function(e){t&&p.call(t,e)||r.delete(e)})),t){var i=t.__META,o=e(t,["__META"]);Object.keys(o).forEach((function(t){r.merge(t,o[t])})),i&&i.extraRootIds.forEach(this.retain,this)}},r.prototype.retain=function(t){return this.rootIds[t]=(this.rootIds[t]||0)+1},r.prototype.release=function(t){if(this.rootIds[t]>0){var e=--this.rootIds[t];return e||delete this.rootIds[t],e}return 0},r.prototype.getRootIdSet=function(t){return void 0===t&&(t=new Set),Object.keys(this.rootIds).forEach(t.add,t),this instanceof b?this.parent.getRootIdSet(t):Object.keys(this.policies.rootTypenamesById).forEach(t.add,t),t},r.prototype.gc=function(){var t=this,e=this.getRootIdSet(),r=this.toObject();e.forEach((function(i){p.call(r,i)&&(Object.keys(t.findChildRefIds(i)).forEach(e.add,e),delete r[i])}));var i=Object.keys(r);if(i.length){for(var o=this;o instanceof b;)o=o.parent;i.forEach((function(t){return o.delete(t)}))}return i},r.prototype.findChildRefIds=function(t){if(!p.call(this.refs,t)){var e=this.refs[t]=Object.create(null),r=new Set([this.data[t]]),i=function(t){return null!==t&&"object"==typeof t};r.forEach((function(t){n(t)?e[t.__ref]=!0:i(t)&&Object.values(t).filter(i).forEach(r.add,r)}))}return this.refs[t]},r.prototype.makeCacheKey=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return this.group.keyMaker.lookupArray(t)},r}(),g=function(){function t(t){this.caching=t,this.d=null,this.keyMaker=new h(u),this.d=t?i():null}return t.prototype.depend=function(t,e){if(this.d){this.d(v(t,e));var r=f(e);r!==e&&this.d(v(t,r))}},t.prototype.dirty=function(t,e){this.d&&this.d.dirty(v(t,e))},t}();function v(t,e){return e+"#"+t}!function(t){var e=function(t){function e(e){var r=e.policies,i=e.resultCaching,o=void 0===i||i,n=e.seed,s=t.call(this,r,new g(o))||this;return s.storageTrie=new h(u),s.sharedLayerGroup=new g(o),n&&s.replace(n),s}return r(e,t),e.prototype.addLayer=function(t,e){return new b(t,this,e,this.sharedLayerGroup)},e.prototype.removeLayer=function(){return this},e.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},e}(t);t.Root=e}(m||(m={}));var b=function(e){function i(t,r,i,o){var n=e.call(this,r.policies,o)||this;return n.id=t,n.parent=r,n.replay=i,n.group=o,i(n),n}return r(i,e),i.prototype.addLayer=function(t,e){return new i(t,this,e,this.group)},i.prototype.removeLayer=function(t){var e=this,r=this.parent.removeLayer(t);return t===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(t){e.data[t]!==r.lookup(t)&&e.delete(t)})),r):r===this.parent?this:r.addLayer(this.id,this.replay)},i.prototype.toObject=function(){return t(t({},this.parent.toObject()),this.data)},i.prototype.findChildRefIds=function(r){var i=this.parent.findChildRefIds(r);return p.call(this.data,r)?t(t({},i),e.prototype.findChildRefIds.call(this,r)):i},i.prototype.getStorage=function(){for(var t=this.parent;t.parent;)t=t.parent;return t.getStorage.apply(t,arguments)},i}(m);function j(t,e,r){var i=t[r],n=e[r];return o(i,n)?i:n}function _(t){return!!(t instanceof m&&t.group.caching)}export{m as EntityStore,_ as supportsResultCaching};
@@ -1 +0,0 @@
1
- import{shouldInclude as t}from"../../utilities/graphql/directives.js";import"../../../../ts-invariant/lib/invariant.esm.js";import{isReference as r,isField as e,resultKeyNameFromField as i}from"../../utilities/graphql/storeUtils.js";import"../../utilities/graphql/transform.js";import{DeepMerger as n}from"../../utilities/common/mergeDeep.js";import"../../utilities/observables/Observable.js";import"../../utilities/observables/Concast.js";var o=Object.prototype.hasOwnProperty;function s(t,e){return r(e)?t.get(e.__ref,"__typename"):e&&e.__typename}var a=/^[_a-z][_0-9a-z]*/i;function u(t){var r=t.match(a);return r?r[0]:t}function l(r,n,s){return!(!n||"object"!=typeof n)&&(Array.isArray(n)?n.every((function(t){return l(r,t,s)})):r.selections.every((function(r){if(e(r)&&t(r,s)){var a=i(r);return o.call(n,a)&&(!r.selectionSet||l(r.selectionSet,n[a],s))}return!0})))}function p(t){return null!==t&&"object"==typeof t&&!r(t)&&!Array.isArray(t)}function c(){return new n}export{a as TypeOrFieldNameRegExp,u as fieldNameFromStoreName,s as getTypenameFromStoreObject,o as hasOwn,c as makeProcessedFieldsMerger,l as selectionSetMatchesResult,p as storeValueIsStoreObject};
@@ -1 +0,0 @@
1
- import{__extends as t,__assign as i}from'../../ext/tslib/tslib.es6.js';import{wrap as a,dep as e}from"../../../../optimism/lib/bundle.esm.js";import{ApolloCache as r}from"../core/cache.js";import{MissingFieldError as o}from"../core/types/common.js";import"../../../../ts-invariant/lib/invariant.esm.js";import{isReference as s}from"../../utilities/graphql/storeUtils.js";import{addTypenameToDocument as c}from"../../utilities/graphql/transform.js";import"../../utilities/common/mergeDeep.js";import"../../utilities/observables/Observable.js";import"../../utilities/observables/Concast.js";import{StoreReader as n}from"./readFromStore.js";import{StoreWriter as p}from"./writeToStore.js";import{EntityStore as m,supportsResultCaching as h}from"./entityStore.js";import{makeVar as d,forgetCache as u}from"./reactiveVars.js";import{Policies as l,defaultDataIdFromObject as f}from"./policies.js";import{hasOwn as y}from"./helpers.js";var b={dataIdFromObject:f,addTypename:!0,resultCaching:!0,typePolicies:{}},v=function(r){function f(t){void 0===t&&(t={});var o=r.call(this)||this;return o.watches=new Set,o.typenameDocumentCache=new Map,o.makeVar=d,o.txCount=0,o.maybeBroadcastWatch=a((function(t,i){return o.broadcastWatch.call(o,t,!!i)}),{makeCacheKey:function(t){var i=t.optimistic?o.optimisticData:o.data;if(h(i)){var a=t.optimistic,e=t.rootId,r=t.variables;return i.makeCacheKey(t.query,t.callback,JSON.stringify({optimistic:a,rootId:e,variables:r}))}}}),o.watchDep=e(),o.config=i(i({},b),t),o.addTypename=!!o.config.addTypename,o.policies=new l({cache:o,dataIdFromObject:o.config.dataIdFromObject,possibleTypes:o.config.possibleTypes,typePolicies:o.config.typePolicies}),o.data=new m.Root({policies:o.policies,resultCaching:o.config.resultCaching}),o.optimisticData=o.data,o.storeWriter=new p(o,o.storeReader=new n({cache:o,addTypename:o.addTypename})),o}return t(f,r),f.prototype.restore=function(t){return t&&this.data.replace(t),this},f.prototype.extract=function(t){return void 0===t&&(t=!1),(t?this.optimisticData:this.data).extract()},f.prototype.read=function(t){var i=t.returnPartialData,a=void 0!==i&&i;try{return this.storeReader.diffQueryAgainstStore({store:t.optimistic?this.optimisticData:this.data,query:t.query,variables:t.variables,rootId:t.rootId,config:this.config,returnPartialData:a}).result||null}catch(t){if(t instanceof o)return null;throw t}},f.prototype.write=function(t){try{return++this.txCount,this.storeWriter.writeToStore({store:this.data,query:t.query,result:t.result,dataId:t.dataId,variables:t.variables})}finally{--this.txCount||!1===t.broadcast||this.broadcastWatches()}},f.prototype.modify=function(t){if(y.call(t,"id")&&!t.id)return!1;var i=t.optimistic?this.optimisticData:this.data;try{return++this.txCount,i.modify(t.id||"ROOT_QUERY",t.fields)}finally{--this.txCount||!1===t.broadcast||this.broadcastWatches()}},f.prototype.diff=function(t){return this.storeReader.diffQueryAgainstStore({store:t.optimistic?this.optimisticData:this.data,rootId:t.id||"ROOT_QUERY",query:t.query,variables:t.variables,returnPartialData:t.returnPartialData,config:this.config})},f.prototype.watch=function(t){var i=this;return this.watches.add(t),t.immediate&&this.maybeBroadcastWatch(t),function(){i.watches.delete(t)&&!i.watches.size&&u(i),i.watchDep.dirty(t),i.maybeBroadcastWatch.forget(t)}},f.prototype.gc=function(){return this.optimisticData.gc()},f.prototype.retain=function(t,i){return(i?this.optimisticData:this.data).retain(t)},f.prototype.release=function(t,i){return(i?this.optimisticData:this.data).release(t)},f.prototype.identify=function(t){return s(t)?t.__ref:this.policies.identify(t)[0]},f.prototype.evict=function(t){if(!t.id){if(y.call(t,"id"))return!1;t=i(i({},t),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(t)}finally{--this.txCount||!1===t.broadcast||this.broadcastWatches()}},f.prototype.reset=function(){return this.data.clear(),this.optimisticData=this.data,this.broadcastWatches(),Promise.resolve()},f.prototype.removeOptimistic=function(t){var i=this.optimisticData.removeLayer(t);i!==this.optimisticData&&(this.optimisticData=i,this.broadcastWatches())},f.prototype.performTransaction=function(t,i){var a=this,e=function(i){var e=a,r=e.data,o=e.optimisticData;++a.txCount,i&&(a.data=a.optimisticData=i);try{t(a)}finally{--a.txCount,a.data=r,a.optimisticData=o}},r=!1;"string"==typeof i?(this.optimisticData=this.optimisticData.addLayer(i,e),r=!0):null===i?e(this.data):e(),this.broadcastWatches(r)},f.prototype.transformDocument=function(t){if(this.addTypename){var i=this.typenameDocumentCache.get(t);return i||(i=c(t),this.typenameDocumentCache.set(t,i),this.typenameDocumentCache.set(i,i)),i}return t},f.prototype.broadcastWatches=function(t){var i=this;this.txCount||this.watches.forEach((function(a){return i.maybeBroadcastWatch(a,t)}))},f.prototype.broadcastWatch=function(t,i){this.watchDep.dirty(t),this.watchDep(t);var a=this.diff({query:t.query,variables:t.variables,optimistic:t.optimistic});t.optimistic&&i&&(a.fromOptimisticTransaction=!0),t.callback(a)},f}(r);export{v as InMemoryCache};
@@ -1 +0,0 @@
1
- import{__assign as e,__rest as t}from'../../ext/tslib/tslib.es6.js';import"../../../../optimism/lib/bundle.esm.js";import{invariant as i,InvariantError as r}from"../../../../ts-invariant/lib/invariant.esm.js";import{getFragmentFromSelection as o}from"../../utilities/graphql/fragments.js";import{getTypenameFromResult as n,argumentsObjectFromField as a,storeKeyNameFromField as s,getStoreKeyName as p,isReference as l,isField as c}from"../../utilities/graphql/storeUtils.js";import"../../utilities/graphql/transform.js";import"../../utilities/common/mergeDeep.js";import"../../utilities/observables/Observable.js";import"../../utilities/observables/Concast.js";import{canUseWeakMap as y}from"../../utilities/common/canUse.js";import{compact as u}from"../../utilities/common/compact.js";import{hasOwn as f,TypeOrFieldNameRegExp as d,selectionSetMatchesResult as m,fieldNameFromStoreName as h,storeValueIsStoreObject as v}from"./helpers.js";import{cacheSlot as g}from"./reactiveVars.js";import{Trie as b}from"../../../../@wry/trie/lib/trie.esm.js";function j(e){return void 0!==e.args?e.args:e.field?a(e.field,e.variables):null}var O=function(e,t){var i=e.__typename,r=e.id,o=e._id;if("string"==typeof i&&(t&&(t.keyObject=void 0!==r?{id:r}:void 0!==o?{_id:o}:void 0),void 0===r&&(r=o),void 0!==r))return i+":"+("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))},T=function(){},S=function(e,t){return t.fieldName},F=function(e,t,i){return(0,i.mergeObjects)(e,t)},P=function(e,t){return t},N=function(){function r(t){this.config=t,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=e({dataIdFromObject:O},t),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),t.possibleTypes&&this.addPossibleTypes(t.possibleTypes),t.typePolicies&&this.addTypePolicies(t.typePolicies)}return r.prototype.identify=function(e,t,i){var r=t&&i?n(e,t,i):e.__typename;if(r===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var o,a={typename:r,selectionSet:t,fragmentMap:i},s=r&&this.getTypePolicy(r),p=s&&s.keyFn||this.config.dataIdFromObject;p;){var l=p(e,a);if(!Array.isArray(l)){o=l;break}p=E(l)}return o=o&&String(o),a.keyObject?[o,a.keyObject]:[o]},r.prototype.addTypePolicies=function(e){var i=this;Object.keys(e).forEach((function(r){var o=e[r],n=o.queryType,a=o.mutationType,s=o.subscriptionType,p=t(o,["queryType","mutationType","subscriptionType"]);n&&i.setRootTypename("Query",r),a&&i.setRootTypename("Mutation",r),s&&i.setRootTypename("Subscription",r),f.call(i.toBeAdded,r)?i.toBeAdded[r].push(p):i.toBeAdded[r]=[p]}))},r.prototype.updateTypePolicy=function(e,t){var i=this,r=this.getTypePolicy(e),o=t.keyFields,n=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?F:!1===t?P:e.merge}a(r,t.merge),r.keyFn=!1===o?T:Array.isArray(o)?E(o):"function"==typeof o?o:r.keyFn,n&&Object.keys(n).forEach((function(t){var r=i.getFieldPolicy(e,t,!0),o=n[t];if("function"==typeof o)r.read=o;else{var s=o.keyArgs,p=o.read,l=o.merge;r.keyFn=!1===s?S:Array.isArray(s)?A(s):"function"==typeof s?s:r.keyFn,"function"==typeof p&&(r.read=p),a(r,l)}r.read&&r.merge&&(r.keyFn=r.keyFn||S)}))},r.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),o=this.rootTypenamesById[r];t!==o&&("production"===process.env.NODE_ENV?i(!o||o===e,1):i(!o||o===e,"Cannot change root "+e+" __typename more than once"),o&&delete this.rootIdsByTypename[o],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},r.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(i){t.getSupertypeSet(i,!0),e[i].forEach((function(e){t.getSupertypeSet(e,!0).add(i);var r=e.match(d);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},r.prototype.getTypePolicy=function(e){var i=this;if(!f.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var o=this.supertypeMap.get(e);o&&o.size&&o.forEach((function(e){var o=i.getTypePolicy(e),n=o.fields,a=t(o,["fields"]);Object.assign(r,a),Object.assign(r.fields,n)}))}var n=this.toBeAdded[e];return n&&n.length&&this.updateTypePolicy(e,u.apply(void 0,n.splice(0))),this.typePolicies[e]},r.prototype.getFieldPolicy=function(e,t,i){if(e){var r=this.getTypePolicy(e).fields;return r[t]||i&&(r[t]=Object.create(null))}},r.prototype.getSupertypeSet=function(e,t){var i=this.supertypeMap.get(e);return!i&&t&&this.supertypeMap.set(e,i=new Set),i},r.prototype.fragmentMatches=function(e,t,r,o){var n=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(t,!0),p=[s],l=function(e){var t=n.getSupertypeSet(e,!1);t&&t.size&&p.indexOf(t)<0&&p.push(t)},c=!(!r||!this.fuzzySubtypes.size),y=!1,u=0;u<p.length;++u){var f=p[u];if(f.has(a))return s.has(a)||(y&&("production"===process.env.NODE_ENV||i.warn("Inferring subtype "+t+" of supertype "+a)),s.add(a)),!0;f.forEach(l),c&&u===p.length-1&&m(e.selectionSet,r,o)&&(c=!1,y=!0,this.fuzzySubtypes.forEach((function(e,i){var r=t.match(e);r&&r[0]===t&&l(i)})))}return!1},r.prototype.hasKeyArgs=function(e,t){var i=this.getFieldPolicy(e,t,!1);return!(!i||!i.keyFn)},r.prototype.getStoreFieldName=function(e){var t,i=e.typename,r=e.fieldName,o=this.getFieldPolicy(i,r,!1),n=o&&o.keyFn;if(n&&i)for(var a={typename:i,fieldName:r,field:e.field||null,variables:e.variables},l=j(e);n;){var c=n(l,a);if(!Array.isArray(c)){t=c||r;break}n=A(c)}return void 0===t&&(t=e.field?s(e.field,e.variables):p(r,j(e))),r===h(t)?t:r+":"+t},r.prototype.readField=function(e,t){var i=e.from;if(i&&(e.field||e.fieldName)){if(void 0===e.typename){var r=t.store.getFieldValue(i,"__typename");r&&(e.typename=r)}var o=this.getStoreFieldName(e),n=h(o),a=t.store.getFieldValue(i,o),s=this.getFieldPolicy(e.typename,n,!1),p=s&&s.read;if(p){var c=_(this,i,e,t,t.store.getStorage(l(i)?i.__ref:i,o));return g.withValue(this.cache,p,[a,c])}return a}},r.prototype.getMergeFunction=function(e,t,i){var r=this.getFieldPolicy(e,t,!1),o=r&&r.merge;return!o&&i&&(o=(r=this.getTypePolicy(i))&&r.merge),o},r.prototype.runMergeFunction=function(e,t,i,r,o){var n=i.field,a=i.typename,s=i.merge;return s===F?k(r.store.getFieldValue)(e,t):s===P?t:s(e,t,_(this,void 0,{typename:a,fieldName:n.name.value,field:n,variables:r.variables},r,o||Object.create(null)))},r}();function _(t,i,r,o,n){var a=t.getStoreFieldName(r),s=h(a),p=r.variables||o.variables,c=o.store,y=c.getFieldValue,u=c.toReference,f=c.canRead;return{args:j(r),field:r.field||null,fieldName:s,storeFieldName:a,variables:p,isReference:l,toReference:u,storage:n,cache:t.cache,canRead:f,readField:function(r,n){var a="string"==typeof r?{fieldName:r,from:n}:e({},r);return void 0===a.from&&(a.from=i),void 0===a.variables&&(a.variables=p),t.readField(a,o)},mergeObjects:k(y)}}function k(t){return function(i,o){if(Array.isArray(i)||Array.isArray(o))throw"production"===process.env.NODE_ENV?new r(2):new r("Cannot automatically merge arrays");if(i&&"object"==typeof i&&o&&"object"==typeof o){var n=t(i,"__typename"),a=t(o,"__typename");return!(n&&a&&n!==a)&&v(i)&&v(o)?e(e({},i),o):o}return o}}function A(e){return function(t,i){return t?i.fieldName+":"+JSON.stringify(R(t,e,!1)):i.fieldName}}function E(e){var t=new b(y);return function(i,r){var o;if(r.selectionSet&&r.fragmentMap){var n=t.lookupArray([r.selectionSet,r.fragmentMap]);o=n.aliasMap||(n.aliasMap=M(r.selectionSet,r.fragmentMap))}var a=r.keyObject=R(i,e,!0,o);return r.typename+":"+JSON.stringify(a)}}function M(e,t){var i=Object.create(null),r=new Set([e]);return r.forEach((function(e){e.selections.forEach((function(e){if(c(e)){if(e.alias){var n=e.alias.value,a=e.name.value;if(a!==n)(i.aliases||(i.aliases=Object.create(null)))[a]=n}if(e.selectionSet)(i.subsets||(i.subsets=Object.create(null)))[e.name.value]=M(e.selectionSet,t)}else{var s=o(e,t);s&&r.add(s.selectionSet)}}))})),i}function R(e,t,r,o){var n,a=Object.create(null);return t.forEach((function(t){if(Array.isArray(t)){if("string"==typeof n){var s=o&&o.subsets,p=s&&s[n];a[n]=R(e[n],t,r,p)}}else{var l=o&&o.aliases,c=l&&l[t]||t;f.call(e,c)?a[n=t]=e[c]:("production"===process.env.NODE_ENV?i(!r,3):i(!r,"Missing field '"+c+"' while computing key fields"),n=void 0)}})),a}export{N as Policies,O as defaultDataIdFromObject};
@@ -1 +0,0 @@
1
- import{Slot as e}from"../../../../@wry/context/lib/context.esm.js";import{dep as t}from"../../../../optimism/lib/bundle.esm.js";var n=t(),r=new e;function a(e,t){if(e.size){var n=[];e.forEach((function(e){return n.push(e)})),e.clear(),n.forEach(t)}}var o=new WeakMap;function c(e){var t=o.get(e);t&&(a(t,(function(t){return t.forgetCache(e)})),o.delete(e))}function i(e){var t=new Set,c=new Set,i=function(o){if(arguments.length>0)e!==o&&(e=o,n.dirty(i),t.forEach(u),a(c,(function(t){return t(e)})));else{var d=r.getValue();d&&f(d),n(i)}return e};i.onNextChange=function(e){return c.add(e),function(){c.delete(e)}};var f=i.attachCache=function(e){t.add(e);var n=o.get(e);return n||o.set(e,n=new Set),n.add(i),i};return i.forgetCache=function(e){var n=t.delete(e);if(n){var r=o.get(e);r&&r.delete(i)}return n},i}function u(e){e.broadcastWatches&&e.broadcastWatches()}export{r as cacheSlot,c as forgetCache,i as makeVar};
@@ -1 +0,0 @@
1
- import{__assign as e}from'../../ext/tslib/tslib.es6.js';import{wrap as t}from"../../../../optimism/lib/bundle.esm.js";import{InvariantError as r,invariant as i}from"../../../../ts-invariant/lib/invariant.esm.js";import{shouldInclude as n}from"../../utilities/graphql/directives.js";import{createFragmentMap as s,getFragmentFromSelection as o}from"../../utilities/graphql/fragments.js";import{getDefaultValues as c,getQueryDefinition as a,getMainDefinition as l,getFragmentDefinitions as u}from"../../utilities/graphql/getFromAST.js";import{isReference as p,makeReference as f,isField as m,resultKeyNameFromField as d}from"../../utilities/graphql/storeUtils.js";import{addTypenameToDocument as y}from"../../utilities/graphql/transform.js";import{mergeDeepArray as v}from"../../utilities/common/mergeDeep.js";import"../../utilities/observables/Observable.js";import{maybeDeepFreeze as h}from"../../utilities/common/maybeDeepFreeze.js";import"../../utilities/observables/Concast.js";import{supportsResultCaching as S}from"./entityStore.js";import{getTypenameFromStoreObject as g}from"./helpers.js";import{MissingFieldError as b}from"../core/types/common.js";function j(e,t){return new b(e.message,t.path.slice(),t.query,t.clientOnly,t.variables)}var O=function(){function g(r){var i=this;this.config=r,this.executeSelectionSet=t((function(e){return i.execSelectionSetImpl(e)}),{keyArgs:function(e){return[e.selectionSet,e.objectOrReference,e.context]},makeCacheKey:function(e,t,r){if(S(r.store))return r.store.makeCacheKey(e,p(t)?t.__ref:t,r.varString)}}),this.knownResults=new WeakMap,this.executeSubSelectedArray=t((function(e){return i.execSubSelectedArrayImpl(e)}),{makeCacheKey:function(e){var t=e.field,r=e.array,i=e.context;if(S(i.store))return i.store.makeCacheKey(t,r,i.varString)}}),this.config=e({addTypename:!0},r)}return g.prototype.diffQueryAgainstStore=function(t){var r=t.store,i=t.query,n=t.rootId,o=void 0===n?"ROOT_QUERY":n,p=t.variables,m=t.returnPartialData,d=void 0===m||m,y=this.config.cache.policies;p=e(e({},c(a(i))),p);var v=this.executeSelectionSet({selectionSet:l(i).selectionSet,objectOrReference:f(o),context:{store:r,query:i,policies:y,variables:p,varString:JSON.stringify(p),fragmentMap:s(u(i)),path:[],clientOnly:!1}}),h=v.missing&&v.missing.length>0;if(h&&!d)throw v.missing[0];return{result:v.result,missing:v.missing,complete:!h}},g.prototype.isFresh=function(e,t,r,i){if(S(i.store)&&this.knownResults.get(e)===r){var n=this.executeSelectionSet.peek(r,t,i);if(n&&e===n.result)return!0}return!1},g.prototype.execSelectionSetImpl=function(e){var t=this,s=e.selectionSet,c=e.objectOrReference,a=e.context;if(p(c)&&!a.policies.rootTypenamesById[c.__ref]&&!a.store.has(c.__ref))return{result:{},missing:[j("production"===process.env.NODE_ENV?new r(4):new r("Dangling reference to missing "+c.__ref+" object"),a)]};var l=a.variables,u=a.policies,f=a.store,S=[],g={result:null},b=f.getFieldValue(c,"__typename");function O(){return g.missing||(g.missing=[])}function x(e){var t;return e.missing&&(t=O()).push.apply(t,e.missing),e.result}this.config.addTypename&&"string"==typeof b&&!u.rootIdsByTypename[b]&&S.push({__typename:b});var E=new Set(s.selections);return E.forEach((function(e){var s;if(n(e,l))if(m(e)){var f=u.readField({fieldName:e.name.value,field:e,variables:a.variables,from:c},a),v=d(e);a.path.push(v);var g=a.clientOnly;a.clientOnly=g||!(!e.directives||!e.directives.some((function(e){return"client"===e.name.value}))),void 0===f?y.added(e)||O().push(j("production"===process.env.NODE_ENV?new r(5):new r("Can't find field '"+e.name.value+"' on "+(p(c)?c.__ref+" object":"object "+JSON.stringify(c,null,2))),a)):Array.isArray(f)?f=x(t.executeSubSelectedArray({field:e,array:f,context:a})):e.selectionSet?null!=f&&(f=x(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:f,context:a}))):"production"!==process.env.NODE_ENV&&(_(a.store,e,f),h(f)),void 0!==f&&S.push(((s={})[v]=f,s)),a.clientOnly=g,i(a.path.pop()===v)}else{var N=o(e,a.fragmentMap);N&&u.fragmentMatches(N,b)&&N.selectionSet.selections.forEach(E.add,E)}})),g.result=v(S),"production"!==process.env.NODE_ENV&&Object.freeze(g.result),this.knownResults.set(g.result,s),g},g.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,s=e.array,o=e.context;function c(e,r){return e.missing&&(t=t||[]).push.apply(t,e.missing),i(o.path.pop()===r),e.result}return n.selectionSet&&(s=s.filter(o.store.canRead)),s=s.map((function(e,t){return null===e?null:(o.path.push(t),Array.isArray(e)?c(r.executeSubSelectedArray({field:n,array:e,context:o}),t):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,context:o}),t):("production"!==process.env.NODE_ENV&&_(o.store,n,e),i(o.path.pop()===t),e))})),"production"!==process.env.NODE_ENV&&Object.freeze(s),{result:s,missing:t}},g}();function _(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach((function(r){r&&"object"==typeof r&&("production"===process.env.NODE_ENV?i(!p(r),6):i(!p(r),"Missing selection set for object of type "+g(e,r)+" returned for query field "+t.name.value),Object.values(r).forEach(n.add,n))}))}}export{O as StoreReader};
@@ -1 +0,0 @@
1
- import{__assign as e}from'../../ext/tslib/tslib.es6.js';import{InvariantError as t,invariant as r}from"../../../../ts-invariant/lib/invariant.esm.js";import i from"../../../../@wry/equality/lib/equality.esm.js";import{shouldInclude as n,hasDirectives as o}from"../../utilities/graphql/directives.js";import{createFragmentMap as a,getFragmentFromSelection as s}from"../../utilities/graphql/fragments.js";import{getOperationDefinition as l,getDefaultValues as c,getFragmentDefinitions as u}from"../../utilities/graphql/getFromAST.js";import{isReference as p,getTypenameFromResult as f,isField as m,resultKeyNameFromField as g,makeReference as d}from"../../utilities/graphql/storeUtils.js";import"../../utilities/graphql/transform.js";import"../../utilities/common/mergeDeep.js";import"../../utilities/observables/Observable.js";import{cloneDeep as v}from"../../utilities/common/cloneDeep.js";import"../../utilities/observables/Concast.js";import{makeProcessedFieldsMerger as h,storeValueIsStoreObject as y,fieldNameFromStoreName as b}from"./helpers.js";var S=function(){function S(e,t){this.cache=e,this.reader=t}return S.prototype.writeToStore=function(r){var i=r.query,n=r.result,o=r.dataId,s=r.store,f=r.variables,m=l(i),g=h();f=e(e({},c(m)),f);var d=this.processSelectionSet({result:n||Object.create(null),dataId:o,selectionSet:m.selectionSet,mergeTree:{map:new Map},context:{store:s,written:Object.create(null),merge:function(e,t){return g.merge(e,t)},variables:f,varString:JSON.stringify(f),fragmentMap:a(u(i))}});if(!p(d))throw"production"===process.env.NODE_ENV?new t(7):new t("Could not identify object "+JSON.stringify(n));return s.retain(d.__ref),d},S.prototype.processSelectionSet=function(e){var a=this,l=e.dataId,c=e.result,u=e.selectionSet,v=e.context,h=e.mergeTree,y=this.cache.policies,S=y.identify(c,u,v.fragmentMap),j=S[0],N=S[1];if("string"==typeof(l=l||j)){var O=v.written[l]||(v.written[l]=[]),F=d(l);if(O.indexOf(u)>=0)return F;if(O.push(u),this.reader&&this.reader.isFresh(c,F,u,v))return F}var M=Object.create(null);N&&(M=v.merge(M,N));var V=l&&y.rootTypenamesById[l]||f(c,u,v.fragmentMap)||l&&v.store.get(l,"__typename");"string"==typeof V&&(M.__typename=V);var A=new Set(u.selections);if(A.forEach((function(e){var r;if(n(e,v.variables))if(m(e)){var i=g(e),l=c[i];if(void 0!==l){var u=y.getStoreFieldName({typename:V,fieldName:e.name.value,field:e,variables:v.variables}),p=_(h,u),f=a.processFieldValue(l,e,v,p),d=e.selectionSet&&v.store.getFieldValue(f,"__typename")||void 0,b=y.getMergeFunction(V,e.name.value,d);b?p.info={field:e,typename:V,merge:b}:w(h,u),M=v.merge(M,((r={})[u]=f,r))}else if(y.usingPossibleTypes&&!o(["defer","client"],e))throw"production"===process.env.NODE_ENV?new t(8):new t("Missing field '"+i+"' in "+JSON.stringify(c,null,2).substring(0,100))}else{var S=s(e,v.fragmentMap);S&&y.fragmentMatches(S,V,c,v.variables)&&S.selectionSet.selections.forEach(A.add,A)}})),"string"==typeof l){var D=d(l);if(h.map.size&&(M=this.applyMerges(h,D,M,v)),"production"!==process.env.NODE_ENV){var q=new Set;A.forEach((function(e){m(e)&&e.selectionSet&&q.add(e.name.value)}));Object.keys(M).forEach((function(e){(function(e){return q.has(b(e))})(e)&&!function(e){var t=h.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,n,o){var a=function(e){var t=o.getFieldValue(e,n);return"object"==typeof t&&t},s=a(e);if(!s)return;var l=a(t);if(!l)return;if(p(s))return;if(i(s,l))return;if(Object.keys(s).every((function(e){return void 0!==o.getFieldValue(l,e)})))return;var c=o.getFieldValue(e,"__typename")||o.getFieldValue(t,"__typename"),u=b(n),f=c+"."+u;if(E.has(f))return;E.add(f);var m=[];Array.isArray(s)||Array.isArray(l)||[s,l].forEach((function(e){var t=o.getFieldValue(e,"__typename");"string"!=typeof t||m.includes(t)||m.push(t)}));"production"===process.env.NODE_ENV||r.warn("Cache data may be lost when replacing the "+u+" field of a "+c+" object.\n\nTo address this problem (which is not a bug in Apollo Client), "+(m.length?"either ensure all objects of type "+m.join(" and ")+" have an ID or a custom merge function, or ":"")+"define a custom merge function for the "+f+" field, so InMemoryCache can safely merge these objects:\n\n existing: "+JSON.stringify(s).slice(0,1e3)+"\n incoming: "+JSON.stringify(l).slice(0,1e3)+"\n\nFor more information about these options, please refer to the documentation:\n\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n")}(D,M,e,v.store)}))}return v.store.merge(l,M),D}return M},S.prototype.processFieldValue=function(e,t,r,i){var n=this;return t.selectionSet&&null!==e?Array.isArray(e)?e.map((function(e,o){var a=n.processFieldValue(e,t,r,_(i,o));return w(i,o),a})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:i}):"production"===process.env.NODE_ENV?e:v(e)},S.prototype.applyMerges=function(t,i,n,o,a){var s,l=this;if(t.map.size&&!p(n)){var c,u=Array.isArray(n)||!p(i)&&!y(i)?void 0:i,f=n;u&&!a&&(a=[p(u)?u.__ref:u]);var m=function(e,t){return Array.isArray(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};t.map.forEach((function(e,t){a&&a.push(t);var i=m(u,t),n=m(f,t),s=l.applyMerges(e,i,n,o,a);s!==n&&(c=c||new Map).set(t,s),a&&r(a.pop()===t)})),c&&(n=Array.isArray(f)?f.slice(0):e({},f),c.forEach((function(e,t){n[t]=e})))}return t.info?this.cache.policies.runMergeFunction(i,n,t.info,o,a&&(s=o.store).getStorage.apply(s,a)):n},S}(),j=[];function _(e,t){var r=e.map;return r.has(t)||r.set(t,j.pop()||{map:new Map}),r.get(t)}function w(e,t){var r=e.map,i=r.get(t);!i||i.info||i.map.size||(j.push(i),r.delete(t))}var E=new Set;export{S as StoreWriter};
@@ -1 +0,0 @@
1
- import{__assign as e}from'../ext/tslib/tslib.es6.js';import{InvariantError as t,invariant as r}from"../../../ts-invariant/lib/invariant.esm.js";import{ApolloLink as o}from"../link/core/ApolloLink.js";import{execute as i}from"../link/core/execute.js";import"../utilities/graphql/transform.js";import"../utilities/common/mergeDeep.js";import"../utilities/observables/Observable.js";import"../utilities/observables/Concast.js";import{compact as s}from"../utilities/common/compact.js";import{version as n}from"../version.js";import{HttpLink as a}from"../link/http/HttpLink.js";import{QueryManager as c}from"./QueryManager.js";import{LocalState as l}from"./LocalState.js";var u=!1;function h(t,r){return s(t,r,r.variables&&{variables:e(e({},t.variables),r.variables)})}var p=function(){function s(e){var i=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var s=e.uri,h=e.credentials,p=e.headers,f=e.cache,d=e.ssrMode,y=void 0!==d&&d,m=e.ssrForceFetchDelay,b=void 0===m?0:m,v=e.connectToDevTools,w=void 0===v?"object"==typeof window&&!window.__APOLLO_CLIENT__&&"production"!==process.env.NODE_ENV:v,k=e.queryDeduplication,g=void 0===k||k,O=e.defaultOptions,S=e.assumeImmutableResults,q=void 0!==S&&S,_=e.resolvers,M=e.typeDefs,Q=e.fragmentMatcher,F=e.name,C=e.version,j=e.link;if(j||(j=s?new a({uri:s,credentials:h,headers:p}):o.empty()),!f)throw"production"===process.env.NODE_ENV?new t(9):new t("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs");if(this.link=j,this.cache=f,this.disableNetworkFetches=y||b>0,this.queryDeduplication=g,this.defaultOptions=O||{},this.typeDefs=M,b&&setTimeout((function(){return i.disableNetworkFetches=!1}),b),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),w&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),!u&&"production"!==process.env.NODE_ENV&&(u=!0,"undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var L=window.navigator,P=L&&L.userAgent,D=void 0;"string"==typeof P&&(P.indexOf("Chrome/")>-1?D="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":P.indexOf("Firefox/")>-1&&(D="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),D&&r.log("Download the Apollo DevTools for a better development experience: "+D)}this.version=n,this.localState=new l({cache:f,client:this,resolvers:_,fragmentMatcher:Q}),this.queryManager=new c({cache:this.cache,link:this.link,queryDeduplication:g,ssrMode:y,clientAwareness:{name:F,version:C},localState:this.localState,assumeImmutableResults:q,onBroadcast:w?function(){i.devToolsHookCb&&i.devToolsHookCb({action:{},state:{queries:i.queryManager.getQueryStore(),mutations:i.queryManager.mutationStore||{}},dataWithOptimisticResults:i.cache.extract(!0)})}:void 0})}return s.prototype.stop=function(){this.queryManager.stop()},s.prototype.watchQuery=function(t){return this.defaultOptions.watchQuery&&(t=h(this.defaultOptions.watchQuery,t)),!this.disableNetworkFetches||"network-only"!==t.fetchPolicy&&"cache-and-network"!==t.fetchPolicy||(t=e(e({},t),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(t)},s.prototype.query=function(t){return this.defaultOptions.query&&(t=h(this.defaultOptions.query,t)),"production"===process.env.NODE_ENV?r("cache-and-network"!==t.fetchPolicy,10):r("cache-and-network"!==t.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."),this.disableNetworkFetches&&"network-only"===t.fetchPolicy&&(t=e(e({},t),{fetchPolicy:"cache-first"})),this.queryManager.query(t)},s.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=h(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},s.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},s.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},s.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},s.prototype.writeQuery=function(e){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},s.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},s.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},s.prototype.__requestRaw=function(e){return i(this.link,e)},s.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},s.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},s.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},s.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},s.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},s.prototype.extract=function(e){return this.cache.extract(e)},s.prototype.restore=function(e){return this.cache.restore(e)},s.prototype.addResolvers=function(e){this.localState.addResolvers(e)},s.prototype.setResolvers=function(e){this.localState.setResolvers(e)},s.prototype.getResolvers=function(){return this.localState.getResolvers()},s.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},s.prototype.setLink=function(e){this.link=this.queryManager.link=e},s}();export{p as ApolloClient,h as mergeOptions};
@@ -1 +0,0 @@
1
- import{__awaiter as e,__assign as t,__generator as r}from'../ext/tslib/tslib.es6.js';import{invariant as o}from"../../../ts-invariant/lib/invariant.esm.js";import{hasDirectives as i,shouldInclude as n}from"../utilities/graphql/directives.js";import{createFragmentMap as s}from"../utilities/graphql/fragments.js";import{getMainDefinition as a,getFragmentDefinitions as u}from"../utilities/graphql/getFromAST.js";import{resultKeyNameFromField as l,argumentsObjectFromField as c,isField as v,isInlineFragment as h}from"../utilities/graphql/storeUtils.js";import{removeClientSetsFromDocument as p,buildQueryFromSelectionSet as m}from"../utilities/graphql/transform.js";import{mergeDeep as f,mergeDeepArray as d}from"../utilities/common/mergeDeep.js";import"../utilities/observables/Observable.js";import"../utilities/observables/Concast.js";import"../cache/core/cache.js";import"../cache/inmemory/inMemoryCache.js";import{cacheSlot as y}from"../cache/inmemory/reactiveVars.js";import"../cache/inmemory/policies.js";import{visit as g,BREAK as b}from"../../../graphql/language/visitor.mjs.js";var S=function(){function S(e){var t=e.cache,r=e.client,o=e.resolvers,i=e.fragmentMatcher;this.cache=t,r&&(this.client=r),o&&this.addResolvers(o),i&&this.setFragmentMatcher(i)}return S.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=f(t.resolvers,e)})):this.resolvers=f(this.resolvers,e)},S.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},S.prototype.getResolvers=function(){return this.resolvers||{}},S.prototype.runResolvers=function(o){var i=o.document,n=o.remoteResult,s=o.context,a=o.variables,u=o.onlyRunForcedResolvers,l=void 0!==u&&u;return e(this,void 0,void 0,(function(){return r(this,(function(e){return i?[2,this.resolveDocument(i,n.data,s,a,this.fragmentMatcher,l).then((function(e){return t(t({},n),{data:e.result})}))]:[2,n]}))}))},S.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},S.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},S.prototype.clientQuery=function(e){return i(["client"],e)&&this.resolvers?e:null},S.prototype.serverQuery=function(e){return p(e)},S.prototype.prepareContext=function(e){var r=this.cache;return t(t({},e),{cache:r,getCacheKey:function(e){return r.identify(e)}})},S.prototype.addExportedVariables=function(o,i,n){return void 0===i&&(i={}),void 0===n&&(n={}),e(this,void 0,void 0,(function(){return r(this,(function(e){return o?[2,this.resolveDocument(o,this.buildRootValueFromCache(o,i)||{},this.prepareContext(n),i).then((function(e){return t(t({},i),e.exportedVariables)}))]:[2,t({},i)]}))}))},S.prototype.shouldForceResolvers=function(e){var t=!1;return g(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return b}}}),t},S.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:m(e),variables:t,returnPartialData:!0,optimistic:!1}).result},S.prototype.resolveDocument=function(o,i,n,l,c,v){return void 0===n&&(n={}),void 0===l&&(l={}),void 0===c&&(c=function(){return!0}),void 0===v&&(v=!1),e(this,void 0,void 0,(function(){var e,h,p,m,f,d,y,g,b;return r(this,(function(r){return e=a(o),h=u(o),p=s(h),m=e.operation,f=m?m.charAt(0).toUpperCase()+m.slice(1):"Query",y=(d=this).cache,g=d.client,b={fragmentMap:p,context:t(t({},n),{cache:y,client:g}),variables:l,fragmentMatcher:c,defaultOperationType:f,exportedVariables:{},onlyRunForcedResolvers:v},[2,this.resolveSelectionSet(e.selectionSet,i,b).then((function(e){return{result:e,exportedVariables:b.exportedVariables}}))]}))}))},S.prototype.resolveSelectionSet=function(t,i,s){return e(this,void 0,void 0,(function(){var a,u,c,p,m,f=this;return r(this,(function(y){return a=s.fragmentMap,u=s.context,c=s.variables,p=[i],m=function(t){return e(f,void 0,void 0,(function(){var e,m;return r(this,(function(r){return n(t,c)?v(t)?[2,this.resolveField(t,i,s).then((function(e){var r;void 0!==e&&p.push(((r={})[l(t)]=e,r))}))]:(h(t)?e=t:(e=a[t.name.value],"production"===process.env.NODE_ENV?o(e,11):o(e,"No fragment named "+t.name.value)),e&&e.typeCondition&&(m=e.typeCondition.name.value,s.fragmentMatcher(i,m,u))?[2,this.resolveSelectionSet(e.selectionSet,i,s).then((function(e){p.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(t.selections.map(m)).then((function(){return d(p)}))]}))}))},S.prototype.resolveField=function(t,o,i){return e(this,void 0,void 0,(function(){var e,n,s,a,u,v,h,p,m,f=this;return r(this,(function(r){return e=i.variables,n=t.name.value,s=l(t),a=n!==s,u=o[s]||o[n],v=Promise.resolve(u),i.onlyRunForcedResolvers&&!this.shouldForceResolvers(t)||(h=o.__typename||i.defaultOperationType,(p=this.resolvers&&this.resolvers[h])&&(m=p[a?n:s])&&(v=Promise.resolve(y.withValue(this.cache,m,[o,c(t,e),i.context,{field:t,fragmentMap:i.fragmentMap}])))),[2,v.then((function(e){return void 0===e&&(e=u),t.directives&&t.directives.forEach((function(t){"export"===t.name.value&&t.arguments&&t.arguments.forEach((function(t){"as"===t.name.value&&"StringValue"===t.value.kind&&(i.exportedVariables[t.value.value]=e)}))})),t.selectionSet?null==e?e:Array.isArray(e)?f.resolveSubSelectedArray(t,e,i):t.selectionSet?f.resolveSelectionSet(t.selectionSet,e,i):void 0:e}))]}))}))},S.prototype.resolveSubSelectedArray=function(e,t,r){var o=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?o.resolveSubSelectedArray(e,t,r):e.selectionSet?o.resolveSelectionSet(e.selectionSet,t,r):void 0})))},S}();export{S as LocalState};
@@ -1 +0,0 @@
1
- import{__extends as e,__assign as r}from'../ext/tslib/tslib.es6.js';import{invariant as t}from"../../../ts-invariant/lib/invariant.esm.js";import s from"../../../@wry/equality/lib/equality.esm.js";import{NetworkStatus as o,isNetworkRequestInFlight as i}from"./networkStatus.js";import{getOperationDefinition as n}from"../utilities/graphql/getFromAST.js";import"../utilities/graphql/transform.js";import"../utilities/common/mergeDeep.js";import"../utilities/observables/Observable.js";import{cloneDeep as a}from"../utilities/common/cloneDeep.js";import{iterateObserversSafely as u}from"../utilities/observables/iteration.js";import"../utilities/observables/Concast.js";import{isNonEmptyArray as l}from"../utilities/common/arrays.js";import{Reobserver as c}from"./Reobserver.js";import h from"../../../zen-observable/index.js";var p=!1,v=function(h){function v(e){var t=e.queryManager,s=e.queryInfo,i=e.options,a=h.call(this,(function(e){return a.onSubscribe(e)}))||this;a.observers=new Set,a.subscriptions=new Set,a.observer={next:function(e){(a.lastError||a.isDifferentFromLastResult(e))&&(a.updateLastResult(e),u(a.observers,"next",e))},error:function(e){a.updateLastResult(r(r({},a.lastResult),{error:e,errors:e.graphQLErrors,networkStatus:o.error,loading:!1})),u(a.observers,"error",a.lastError=e)}},a.isTornDown=!1,a.options=i,a.queryId=t.generateQueryId();var l=n(i.query);return a.queryName=l&&l.name&&l.name.value,a.queryManager=t,a.queryInfo=s,a}return e(v,h),Object.defineProperty(v.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),v.prototype.result=function(){var e=this;return new Promise((function(r,t){var s={next:function(t){r(t),e.observers.delete(s),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){o.unsubscribe()}),0)},error:t},o=e.subscribe(s)}))},v.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.lastResult,s=this.queryInfo.networkStatus||t&&t.networkStatus||o.ready,n=r(r({},t),{loading:i(s),networkStatus:s});if(this.isTornDown)return n;var a=this.options.fetchPolicy,u=void 0===a?"cache-first":a;if("no-cache"===u||"network-only"===u)delete n.partial;else if(!n.data||!this.queryManager.transform(this.options.query).hasForcedResolvers){var l=this.queryInfo.getDiff();n.data=l.complete||this.options.returnPartialData?l.result:void 0,l.complete?(n.networkStatus!==o.loading||"cache-first"!==u&&"cache-only"!==u||(n.networkStatus=o.ready,n.loading=!1),delete n.partial):n.partial=!0}return e&&this.updateLastResult(n),n},v.prototype.isDifferentFromLastResult=function(e){return!s(this.lastResultSnapshot,e)},v.prototype.getLastResult=function(){return this.lastResult},v.prototype.getLastError=function(){return this.lastError},v.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},v.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},v.prototype.refetch=function(e){var t={pollInterval:0},i=this.options.fetchPolicy;return"no-cache"!==i&&"cache-and-network"!==i&&(t.fetchPolicy="network-only",t.nextFetchPolicy=i||"cache-first"),e&&!s(this.options.variables,e)&&(t.variables=this.options.variables=r(r({},this.options.variables),e)),this.newReobserver(!1).reobserve(t,o.refetch)},v.prototype.fetchMore=function(e){var s=this,i=r(r({},e.query?e:r(r(r({},this.options),e),{variables:r(r({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),n=this.queryManager.generateQueryId();return i.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=o.fetchMore,this.observe()),this.queryManager.fetchQuery(n,i,o.fetchMore).then((function(r){var o=r.data,n=e.updateQuery;return n?("production"===process.env.NODE_ENV||p||("production"===process.env.NODE_ENV||t.warn("The updateQuery callback for fetchMore is deprecated, and will be removed\nin the next major version of Apollo Client.\n\nPlease convert updateQuery functions to field policies with appropriate\nread and merge functions, or use/adapt a helper function (such as\nconcatPagination, offsetLimitPagination, or relayStylePagination) from\n@apollo/client/utilities.\n\nThe field policy system handles pagination more effectively than a\nhand-written updateQuery function, and you only need to define the policy\nonce, rather than every time you call fetchMore."),p=!0),s.updateQuery((function(e){return n(e,{fetchMoreResult:o,variables:i.variables})}))):s.queryManager.cache.writeQuery({query:i.query,variables:i.variables,data:o}),r})).finally((function(){s.queryManager.stopQuery(n),s.reobserve()}))},v.prototype.subscribeToMore=function(e){var r=this,s=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(t){var s=e.updateQuery;s&&r.updateQuery((function(e,r){var o=r.variables;return s(e,{subscriptionData:t,variables:o})}))},error:function(r){e.onError?e.onError(r):"production"===process.env.NODE_ENV||t.error("Unhandled GraphQL subscription error",r)}});return this.subscriptions.add(s),function(){r.subscriptions.delete(s)&&s.unsubscribe()}},v.prototype.setOptions=function(e){return this.reobserve(e)},v.prototype.setVariables=function(e){if(s(this.variables,e))return this.observers.size?this.result():Promise.resolve();if(this.options.variables=e,!this.observers.size)return Promise.resolve();var r=this.options.fetchPolicy,t=void 0===r?"cache-first":r,i={fetchPolicy:t,variables:e};return"cache-first"!==t&&"no-cache"!==t&&"network-only"!==t&&(i.fetchPolicy="cache-and-network",i.nextFetchPolicy=t),this.reobserve(i,o.setVariables)},v.prototype.updateQuery=function(e){var r,t=this.queryManager,s=e(t.cache.diff({query:this.options.query,variables:this.variables,previousResult:null===(r=this.lastResult)||void 0===r?void 0:r.data,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});s&&(t.cache.writeQuery({query:this.options.query,data:s,variables:this.variables}),t.broadcastQueries())},v.prototype.startPolling=function(e){this.getReobserver().updateOptions({pollInterval:e})},v.prototype.stopPolling=function(){this.reobserver&&this.reobserver.updateOptions({pollInterval:0})},v.prototype.updateLastResult=function(e){var r=this.lastResult;return this.lastResult=e,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?e:a(e),l(e.errors)||delete this.lastError,r},v.prototype.onSubscribe=function(e){var r=this;if(e===this.observer)return function(){};try{var t=e._subscription._observer;t&&!t.error&&(t.error=b)}catch(e){}var s=!this.observers.size;return this.observers.add(e),this.lastError?e.error&&e.error(this.lastError):this.lastResult&&e.next&&e.next(this.lastResult),s&&this.reobserve().catch((function(e){})),function(){r.observers.delete(e)&&!r.observers.size&&r.tearDownQuery()}},v.prototype.getReobserver=function(){return this.reobserver||(this.reobserver=this.newReobserver(!0))},v.prototype.newReobserver=function(e){var t=this,s=this.queryManager,o=this.queryId;return s.setObservableQuery(this),new c(this.observer,e?this.options:r({},this.options),(function(e,r){return s.setObservableQuery(t),s.fetchQueryObservable(o,e,r)}),!s.ssrMode&&function(){return!i(t.queryInfo.networkStatus)})},v.prototype.reobserve=function(e,r){return this.isTornDown=!1,this.getReobserver().reobserve(e,r)},v.prototype.observe=function(){this.observer.next(this.getCurrentResult(!1))},v.prototype.hasObservers=function(){return this.observers.size>0},v.prototype.tearDownQuery=function(){this.isTornDown||(this.reobserver&&(this.reobserver.stop(),delete this.reobserver),delete this.options.context,this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},v}(h);function b(e){"production"===process.env.NODE_ENV||t.error("Unhandled error",e.message,e.stack)}export{v as ObservableQuery};
@@ -1 +0,0 @@
1
- import t from"../../../@wry/equality/lib/equality.esm.js";import"../../../ts-invariant/lib/invariant.esm.js";import"../utilities/graphql/transform.js";import"../utilities/common/mergeDeep.js";import"../utilities/observables/Observable.js";import"../utilities/observables/Concast.js";import{isNonEmptyArray as i}from"../utilities/common/arrays.js";import{graphQLResultHasError as e}from"../utilities/common/errorHandling.js";import{canUseWeakMap as r}from"../utilities/common/canUse.js";import{NetworkStatus as s,isNetworkRequestInFlight as o}from"./networkStatus.js";var a=new(r?WeakMap:Map);function n(t,i){var e=t[i];"function"==typeof e&&(t[i]=function(){return a.set(t,(a.get(t)+1)%1e15),e.apply(this,arguments)})}function h(t){t.notifyTimeout&&(clearTimeout(t.notifyTimeout),t.notifyTimeout=void 0)}var u=function(){function e(t){this.cache=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.diff=null,this.observableQuery=null,a.has(t)||(a.set(t,0),n(t,"evict"),n(t,"modify"),n(t,"reset"))}return e.prototype.init=function(i){var e=i.networkStatus||s.loading;return this.variables&&this.networkStatus!==s.loading&&!t(this.variables,i.variables)&&(e=s.setVariables),t(i.variables,this.variables)||(this.diff=null),Object.assign(this,{document:i.document,variables:i.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:e}),i.observableQuery&&this.setObservableQuery(i.observableQuery),i.lastRequestId&&(this.lastRequestId=i.lastRequestId),this},e.prototype.getDiff=function(i){return void 0===i&&(i=this.variables),this.diff&&t(i,this.variables)?this.diff:(this.updateWatch(this.variables=i),this.diff=this.cache.diff({query:this.document,variables:i,returnPartialData:!0,optimistic:!0}))},e.prototype.setDiff=function(t){var i=this,e=this.diff;this.diff=t,this.dirty||(t&&t.result)===(e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return i.notify()}),0)))},e.prototype.setObservableQuery=function(t){var i=this;t!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=t,t?(t.queryInfo=this,this.listeners.add(this.oqListener=function(){i.getDiff().fromOptimisticTransaction?t.observe():t.reobserve()})):delete this.oqListener)},e.prototype.notify=function(){var t=this;h(this),this.shouldNotify()&&this.listeners.forEach((function(i){return i(t)})),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(o(this.networkStatus)&&this.observableQuery){var t=this.observableQuery.options.fetchPolicy;if("cache-only"!==t&&"cache-and-network"!==t)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.cancel(),delete this.cancel,this.subscriptions.forEach((function(t){return t.unsubscribe()}));var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(i){var e=this;void 0===i&&(i=this.variables);var r=this.observableQuery;r&&"no-cache"===r.options.fetchPolicy||this.lastWatch&&this.lastWatch.query===this.document&&t(i,this.lastWatch.variables)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch={query:this.document,variables:i,optimistic:!0,callback:function(t){return e.setDiff(t)}}))},e.prototype.shouldWrite=function(i,e){var r=this.lastWrite;return!(r&&r.dmCount===a.get(this.cache)&&t(e,r.variables)&&t(i.data,r.result.data))},e.prototype.markResult=function(t,e,r){var s=this;this.graphQLErrors=i(t.errors)?t.errors:[],h(this),"no-cache"===e.fetchPolicy?this.diff={result:t.data,complete:!0}:r&&(l(t,e.errorPolicy)?this.cache.performTransaction((function(i){if(s.shouldWrite(t,e.variables))i.writeQuery({query:s.document,data:t.data,variables:e.variables}),s.lastWrite={result:t,variables:e.variables,dmCount:a.get(s.cache)};else if(s.diff&&s.diff.complete)return void(t.data=s.diff.result);var r=i.diff({query:s.document,variables:e.variables,returnPartialData:!0,optimistic:!0});s.stopped||s.updateWatch(e.variables),s.diff=r,r.complete&&(t.data=r.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=s.ready},e.prototype.markError=function(t){return this.networkStatus=s.error,this.lastWrite=void 0,h(this),t.graphQLErrors&&(this.graphQLErrors=t.graphQLErrors),t.networkError&&(this.networkError=t.networkError),t},e}();function l(t,i){void 0===i&&(i="none");var r="ignore"===i||"all"===i,s=!e(t);return!s&&r&&t.data&&(s=!0),s}export{u as QueryInfo,l as shouldWriteResult};
@@ -1 +0,0 @@
1
- import{__awaiter as e,__generator as t,__assign as r}from'../ext/tslib/tslib.es6.js';import{InvariantError as o,invariant as i}from"../../../ts-invariant/lib/invariant.esm.js";import n from"../../../@wry/equality/lib/equality.esm.js";import"../link/core/ApolloLink.js";import{execute as a}from"../link/core/execute.js";import{hasClientExports as s}from"../utilities/graphql/directives.js";import{getOperationName as u,getDefaultValues as c,getOperationDefinition as l}from"../utilities/graphql/getFromAST.js";import{removeConnectionDirectiveFromDocument as h}from"../utilities/graphql/transform.js";import"../utilities/common/mergeDeep.js";import"../utilities/observables/Observable.js";import{asyncMap as p}from"../utilities/observables/asyncMap.js";import{Concast as f}from"../utilities/observables/Concast.js";import{isNonEmptyArray as y}from"../utilities/common/arrays.js";import{graphQLResultHasError as d}from"../utilities/common/errorHandling.js";import{canUseWeakMap as v}from"../utilities/common/canUse.js";import{ApolloError as m,isApolloError as b}from"../errors/index.js";import{ObservableQuery as g}from"./ObservableQuery.js";import{NetworkStatus as w,isNetworkRequestInFlight as q}from"./networkStatus.js";import{LocalState as Q}from"./LocalState.js";import{shouldWriteResult as k,QueryInfo as E}from"./QueryInfo.js";import O from"../../../zen-observable/index.js";var S=Object.prototype.hasOwnProperty,P=function(){function P(e){var t=e.cache,r=e.link,o=e.queryDeduplication,i=void 0!==o&&o,n=e.onBroadcast,a=e.ssrMode,s=void 0!==a&&a,u=e.clientAwareness,c=void 0===u?{}:u,l=e.localState,h=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(v?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=r,this.queryDeduplication=i,this.clientAwareness=c,this.localState=l||new Q({cache:t}),this.ssrMode=s,this.assumeImmutableResults=!!h,(this.onBroadcast=n)&&(this.mutationStore=Object.create(null))}return P.prototype.stop=function(){var e=this;this.queries.forEach((function(t,r){e.stopQueryNoBroadcast(r)})),this.cancelPendingFetches("production"===process.env.NODE_ENV?new o(12):new o("QueryManager stopped while query was in flight"))},P.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},P.prototype.mutate=function(o){var n=o.mutation,a=o.variables,s=o.optimisticResponse,u=o.updateQueries,c=o.refetchQueries,l=void 0===c?[]:c,h=o.awaitRefetchQueries,p=void 0!==h&&h,f=o.update,v=o.errorPolicy,b=void 0===v?"none":v,g=o.fetchPolicy,w=o.context,q=void 0===w?{}:w;return e(this,void 0,void 0,(function(){var e,o,c;return t(this,(function(t){switch(t.label){case 0:return"production"===process.env.NODE_ENV?i(n,13):i(n,"mutation option is required. You must specify your GraphQL document in the mutation option."),"production"===process.env.NODE_ENV?i(!g||"no-cache"===g,14):i(!g||"no-cache"===g,"Mutations only support a 'no-cache' fetchPolicy. If you don't want to disable the cache, remove your fetchPolicy setting to proceed with the default mutation behavior."),e=this.generateMutationId(),n=this.transform(n).document,a=this.getVariables(n,a),this.transform(n).hasClientExports?[4,this.localState.addExportedVariables(n,a,q)]:[3,2];case 1:a=t.sent(),t.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[e]={mutation:n,variables:a,loading:!0,error:null}),s&&this.markMutationOptimistic(s,{mutationId:e,document:n,variables:a,errorPolicy:b,updateQueries:u,update:f}),this.broadcastQueries(),c=this,[2,new Promise((function(t,i){var h,v;c.getObservableFromLink(n,r(r({},q),{optimisticResponse:s}),a,!1).subscribe({next:function(t){if(d(t)&&"none"===b)v=new m({graphQLErrors:t.errors});else{if(o&&(o.loading=!1,o.error=null),"no-cache"!==g)try{c.markMutationResult({mutationId:e,result:t,document:n,variables:a,errorPolicy:b,updateQueries:u,update:f})}catch(e){return void(v=new m({networkError:e}))}h=t}},error:function(t){o&&(o.loading=!1,o.error=t),s&&c.cache.removeOptimistic(e),c.broadcastQueries(),i(new m({networkError:t}))},complete:function(){if(v&&o&&(o.loading=!1,o.error=v),s&&c.cache.removeOptimistic(e),c.broadcastQueries(),v)i(v);else{"function"==typeof l&&(l=l(h));var r=[];y(l)&&l.forEach((function(e){if("string"==typeof e)c.queries.forEach((function(t){var o=t.observableQuery;o&&o.queryName===e&&r.push(o.refetch())}));else{var t={query:e.query,variables:e.variables,fetchPolicy:"network-only"};e.context&&(t.context=e.context),r.push(c.query(t))}})),Promise.all(p?r:[]).then((function(){"ignore"===b&&h&&d(h)&&delete h.errors,t(h)}),i)}}})}))]}}))}))},P.prototype.markMutationResult=function(e,t){var r=this;if(void 0===t&&(t=this.cache),k(e.result,e.errorPolicy)){var o=[{result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}],i=e.updateQueries;i&&this.queries.forEach((function(n,a){var s=n.observableQuery,c=s&&s.queryName;if(c&&S.call(i,c)){var l=i[c],h=r.queries.get(a),p=h.document,f=h.variables,y=t.diff({query:p,variables:f,returnPartialData:!0,optimistic:!1}),d=y.result;if(y.complete&&d){var v=l(d,{mutationResult:e.result,queryName:p&&u(p)||void 0,queryVariables:f});v&&o.push({result:v,dataId:"ROOT_QUERY",query:p,variables:f})}}})),t.performTransaction((function(t){o.forEach((function(e){return t.write(e)}));var r=e.update;r&&r(t,e.result)}),null)}},P.prototype.markMutationOptimistic=function(e,t){var o=this,n="function"==typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{o.markMutationResult(r(r({},t),{result:{data:n}}),e)}catch(e){"production"===process.env.NODE_ENV||i.error(e)}}),t.mutationId)},P.prototype.fetchQuery=function(e,t,r){return this.fetchQueryObservable(e,t,r).promise},P.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},P.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},P.prototype.transform=function(e){var t=this.transformCache;if(!t.has(e)){var r=this.cache.transformDocument(e),o=h(this.cache.transformForLink(r)),i=this.localState.clientQuery(r),n=o&&this.localState.serverQuery(o),a={document:r,hasClientExports:s(r),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:i,serverQuery:n,defaultVars:c(l(r))},u=function(e){e&&!t.has(e)&&t.set(e,a)};u(e),u(r),u(i),u(n)}return t.get(e)},P.prototype.getVariables=function(e,t){return r(r({},this.transform(e).defaultVars),t)},P.prototype.watchQuery=function(e){void 0===(e=r(r({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new E(this.cache),o=new g({queryManager:this,queryInfo:t,options:e});return this.queries.set(o.queryId,t),t.init({document:e.query,observableQuery:o,variables:e.variables}),o},P.prototype.query=function(e){var t=this;"production"===process.env.NODE_ENV?i(e.query,15):i(e.query,"query option is required. You must specify your GraphQL document in the query option."),"production"===process.env.NODE_ENV?i("Document"===e.query.kind,16):i("Document"===e.query.kind,'You must wrap the query string in a "gql" tag.'),"production"===process.env.NODE_ENV?i(!e.returnPartialData,17):i(!e.returnPartialData,"returnPartialData option only supported on watchQuery."),"production"===process.env.NODE_ENV?i(!e.pollInterval,18):i(!e.pollInterval,"pollInterval option only supported on watchQuery.");var r=this.generateQueryId();return this.fetchQuery(r,e).finally((function(){return t.stopQuery(r)}))},P.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},P.prototype.generateRequestId=function(){return this.requestIdCounter++},P.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},P.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},P.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},P.prototype.clearStore=function(){return this.cancelPendingFetches("production"===process.env.NODE_ENV?new o(19):new o("Store reset while query was in flight (not completed in link chain)")),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=w.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset()},P.prototype.resetStore=function(){var e=this;return this.clearStore().then((function(){return e.reFetchObservableQueries()}))},P.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.queries.forEach((function(o,i){var n=o.observableQuery;if(n&&n.hasObservers()){var a=n.options.fetchPolicy;n.resetLastResults(),"cache-only"===a||!e&&"standby"===a||r.push(n.refetch()),t.getQuery(i).setDiff(null)}})),this.broadcastQueries(),Promise.all(r)},P.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},P.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,o=e.fetchPolicy,i=e.errorPolicy,n=e.variables,a=e.context,s=void 0===a?{}:a;r=this.transform(r).document,n=this.getVariables(r,n);var u=function(e){return t.getObservableFromLink(r,s,e,!1).map((function(n){if("no-cache"!==o&&(k(n,i)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries()),d(n))throw new m({graphQLErrors:n.errors});return n}))};if(this.transform(r).hasClientExports){var c=this.localState.addExportedVariables(r,n,s).then(u);return new O((function(e){var t=null;return c.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return u(n)},P.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},P.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},P.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.getQuery(e).stop(),this.queries.delete(e)},P.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},P.prototype.getLocalState=function(){return this.localState},P.prototype.getObservableFromLink=function(e,t,o,i){var n,s,c=this;void 0===i&&(i=null!==(n=null==t?void 0:t.queryDeduplication)&&void 0!==n?n:this.queryDeduplication);var l=this.transform(e).serverQuery;if(l){var h=this.inFlightLinkObservables,y=this.link,d={query:l,variables:o,operationName:u(l)||void 0,context:this.prepareContext(r(r({},t),{forceFetch:!i}))};if(t=d.context,i){var v=h.get(l)||new Map;h.set(l,v);var m=JSON.stringify(o);if(!(s=v.get(m))){var b=new f([a(y,d)]);v.set(m,s=b),b.cleanup((function(){v.delete(m)&&v.size<1&&h.delete(l)}))}}else s=new f([a(y,d)])}else s=new f([O.of({data:{}})]),t=this.prepareContext(t);var g=this.transform(e).clientQuery;return g&&(s=p(s,(function(e){return c.localState.runResolvers({document:g,remoteResult:e,context:t,variables:o})}))),s},P.prototype.getResultsFromLink=function(e,t,r){var o=e.lastRequestId;return p(this.getObservableFromLink(e.document,r.context,r.variables),(function(i){var n=y(i.errors);if(o>=e.lastRequestId){if(n&&"none"===r.errorPolicy)throw e.markError(new m({graphQLErrors:i.errors}));e.markResult(i,r,t),e.markReady()}var a={data:i.data,loading:!1,networkStatus:e.networkStatus||w.ready};return n&&"ignore"!==r.errorPolicy&&(a.errors=i.errors),a}),(function(t){var r=b(t)?t:new m({networkError:t});throw o>=e.lastRequestId&&e.markError(r),r}))},P.prototype.fetchQueryObservable=function(e,t,r){var o=this;void 0===r&&(r=w.loading);var i=this.transform(t.query).document,n=this.getVariables(i,t.variables),a=this.getQuery(e),s=a.networkStatus,u=t.fetchPolicy,c=void 0===u?"cache-first":u,l=t.errorPolicy,h=void 0===l?"none":l,p=t.returnPartialData,y=void 0!==p&&p,d=t.notifyOnNetworkStatusChange,v=void 0!==d&&d,m=t.context,b=void 0===m?{}:m;("cache-first"===c||"cache-and-network"===c||"network-only"===c||"no-cache"===c)&&v&&"number"==typeof s&&s!==r&&q(r)&&("cache-first"!==c&&(c="cache-and-network"),y=!0);var g=Object.assign({},t,{query:i,variables:n,fetchPolicy:c,errorPolicy:h,returnPartialData:y,notifyOnNetworkStatusChange:v,context:b}),Q=function(e){return g.variables=e,o.fetchQueryByPolicy(a,g,r)};this.fetchCancelFns.set(e,(function(e){Promise.resolve().then((function(){return k.cancel(e)}))}));var k=new f(this.transform(g.query).hasClientExports?this.localState.addExportedVariables(g.query,g.variables,g.context).then(Q):Q(g.variables));return k.cleanup((function(){o.fetchCancelFns.delete(e);var r=t.nextFetchPolicy;r&&(t.nextFetchPolicy=void 0,t.fetchPolicy="function"==typeof r?r.call(t,t.fetchPolicy||"cache-first"):r)})),k},P.prototype.fetchQueryByPolicy=function(e,t,o){var a=this,s=t.query,u=t.variables,c=t.fetchPolicy,l=t.errorPolicy,h=t.returnPartialData,p=t.context;e.init({document:s,variables:u,lastRequestId:this.generateRequestId(),networkStatus:o});var f=function(){return e.getDiff(u)},d=function(t,o){void 0===o&&(o=e.networkStatus||w.loading);var c=t.result;"production"===process.env.NODE_ENV||!y(t.missing)||n(c,{})||h||"production"===process.env.NODE_ENV||i.warn("Missing cache result fields: "+t.missing.map((function(e){return e.path.join(".")})).join(", "),t.missing);var l=function(e){return O.of(r({data:e,loading:q(o),networkStatus:o},t.complete?null:{partial:!0}))};return a.transform(s).hasForcedResolvers?a.localState.runResolvers({document:s,remoteResult:{data:c},context:p,variables:u,onlyRunForcedResolvers:!0}).then((function(e){return l(e.data)})):l(c)},v=function(t){return a.getResultsFromLink(e,t,{variables:u,context:p,fetchPolicy:c,errorPolicy:l})};switch(c){default:case"cache-first":return(m=f()).complete?[d(m,e.markReady())]:h?[d(m),v(!0)]:[v(!0)];case"cache-and-network":var m;return(m=f()).complete||h?[d(m),v(!0)]:[v(!0)];case"cache-only":return[d(f(),e.markReady())];case"network-only":return[v(!0)];case"no-cache":return[v(!1)];case"standby":return[]}},P.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new E(this.cache)),this.queries.get(e)},P.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return r(r({},t),{clientAwareness:this.clientAwareness})},P}();export{P as QueryManager};
@@ -1 +0,0 @@
1
- import{NetworkStatus as t}from"./networkStatus.js";import{invariant as o}from"../../../ts-invariant/lib/invariant.esm.js";import"../utilities/graphql/transform.js";import"../utilities/common/mergeDeep.js";import"../utilities/observables/Observable.js";import"../utilities/observables/Concast.js";import{compact as i}from"../utilities/common/compact.js";var e=function(){function e(t,o,i,e){this.observer=t,this.options=o,this.fetch=i,this.shouldFetch=e}return e.prototype.reobserve=function(t,o){t?this.updateOptions(t):this.updatePolling();var i=this.fetch(this.options,o);return this.concast&&this.concast.removeObserver(this.observer,!0),i.addObserver(this.observer),(this.concast=i).promise},e.prototype.updateOptions=function(t){return Object.assign(this.options,i(t)),this.updatePolling(),this},e.prototype.stop=function(){this.concast&&(this.concast.removeObserver(this.observer),delete this.concast),this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),this.options.pollInterval=0,this.updatePolling())},e.prototype.updatePolling=function(){var i=this,e=this.pollingInfo,s=this.options.pollInterval;if(s){if((!e||e.interval!==s)&&("production"===process.env.NODE_ENV?o(s,20):o(s,"Attempted to start a polling query without a polling interval."),!1!==this.shouldFetch)){(e||(this.pollingInfo={})).interval=s;var n=function(){i.pollingInfo&&(i.shouldFetch&&i.shouldFetch()?i.reobserve({fetchPolicy:"network-only",nextFetchPolicy:i.options.fetchPolicy||"cache-first"},t.poll).then(r,r):r())},r=function(){var t=i.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};r()}}else e&&(clearTimeout(e.timeout),delete this.pollingInfo)},e}();export{e as Reobserver};
@@ -1 +0,0 @@
1
- var e;function r(e){return!!e&&e<7}!function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(e||(e={}));export{e as NetworkStatus,r as isNetworkRequestInFlight};
@@ -1 +0,0 @@
1
- import{__extends as r}from'../ext/tslib/tslib.es6.js';import"../../../ts-invariant/lib/invariant.esm.js";import"../utilities/graphql/transform.js";import"../utilities/common/mergeDeep.js";import"../utilities/observables/Observable.js";import"../utilities/observables/Concast.js";import{isNonEmptyArray as o}from"../utilities/common/arrays.js";function t(r){return r.hasOwnProperty("graphQLErrors")}var e=function(t){function e(r){var s,i,n=r.graphQLErrors,a=r.networkError,m=r.errorMessage,p=r.extraInfo,l=t.call(this,m)||this;return l.graphQLErrors=n||[],l.networkError=a||null,l.message=m||(i="",o((s=l).graphQLErrors)&&s.graphQLErrors.forEach((function(r){var o=r?r.message:"Error message not found.";i+=o+"\n"})),s.networkError&&(i+=s.networkError.message+"\n"),i=i.replace(/\n$/,"")),l.extraInfo=p,l.__proto__=e.prototype,l}return r(e,t),e}(Error);export{e as ApolloError,t as isApolloError};