@ikas/storefront 3.0.0-alpha.50 → 3.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/__generated__/global-types.d.ts +772 -0
- package/build/__generated__/global-types.js +1 -0
- package/build/_virtual/Observable.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_commonjsHelpers.js +1 -1
- package/build/_virtual/index.js_commonjs-proxy12.js +1 -1
- package/build/_virtual/index.js_commonjs-proxy3.js +1 -1
- package/build/_virtual/index.js_commonjs-proxy4.js +1 -1
- package/build/_virtual/parser.mjs_commonjs-proxy.js +1 -0
- package/build/analytics/analytics.d.ts +4 -5
- package/build/analytics/analytics.js +1 -1
- package/build/analytics/facebookPixel.d.ts +1 -2
- package/build/analytics/facebookPixel.js +1 -1
- package/build/analytics/googleAnalytics.d.ts +1 -2
- package/build/analytics/googleAnalytics.js +1 -1
- package/build/analytics/googleTagManager.d.ts +15 -16
- package/build/analytics/googleTagManager.js +1 -1
- package/build/analytics/googleUniversal.d.ts +1 -2
- package/build/analytics/googleUniversal.js +1 -1
- package/build/analytics/head/index.js +1 -1
- package/build/analytics/ikas.d.ts +1 -2
- package/build/analytics/ikas.js +1 -1
- package/build/api/apollo.d.ts +10 -0
- package/build/api/apollo.js +1 -0
- package/build/api/back-in-stock-reminder/__generated__/listProductBackInStockRemind.d.ts +24 -0
- package/build/api/back-in-stock-reminder/__generated__/saveProductBackInStockRemind.d.ts +19 -0
- package/build/api/back-in-stock-reminder/index.d.ts +23 -0
- package/build/api/back-in-stock-reminder/index.js +1 -0
- package/build/api/blog/__generated__/getBlog.d.ts +110 -0
- package/build/api/blog/__generated__/listBlog.d.ts +113 -0
- package/build/api/blog/__generated__/listBlogCategory.d.ts +65 -0
- package/build/api/blog/__generated__/listBlogMetaData.d.ts +57 -0
- package/build/api/blog/index.d.ts +32 -0
- package/build/api/blog/index.js +1 -0
- package/build/api/brand/__generated__/listProductBrand.d.ts +88 -0
- package/build/api/brand/index.d.ts +16 -0
- package/build/api/brand/index.js +1 -0
- package/build/api/cart/__generated__/getCart.d.ts +178 -0
- package/build/api/cart/__generated__/saveItemToCart.d.ts +210 -0
- package/build/api/cart/index.d.ts +5 -0
- package/build/api/cart/index.js +1 -0
- package/build/api/category/__generated__/listCategory.d.ts +99 -0
- package/build/api/category/__generated__/listCategoryPaths.d.ts +32 -0
- package/build/api/category/index.d.ts +18 -0
- package/build/api/category/index.js +1 -0
- package/build/api/checkout/__generated__/addCouponCodeToCheckout.d.ts +11 -0
- package/build/api/checkout/__generated__/checkStocks.d.ts +18 -0
- package/build/api/checkout/__generated__/createSaleTransactionWithCheckout.d.ts +22 -0
- package/build/api/checkout/__generated__/getCheckoutByCartId.d.ts +10 -0
- package/build/api/checkout/__generated__/getCheckoutById.d.ts +574 -0
- package/build/api/checkout/__generated__/getOrder.d.ts +620 -0
- package/build/api/checkout/__generated__/listCheckoutSettings.d.ts +34 -0
- package/build/api/checkout/__generated__/listPaymentGateway.d.ts +42 -0
- package/build/api/checkout/__generated__/retrieveInstallmentInfo.d.ts +23 -0
- package/build/api/checkout/__generated__/saveCheckout.d.ts +11 -0
- package/build/api/checkout/index.d.ts +35 -0
- package/build/api/checkout/index.js +1 -0
- package/build/api/city/__generated__/listCity.d.ts +20 -0
- package/build/api/city/index.d.ts +4 -0
- package/build/api/city/index.js +1 -0
- package/build/api/contact-form/__generated__/sendContactFormToMerchant.d.ts +10 -0
- package/build/api/contact-form/index.d.ts +11 -0
- package/build/api/contact-form/index.js +1 -0
- package/build/api/country/__generated__/getAvailableShippingCountries.d.ts +6 -0
- package/build/api/country/__generated__/getMyCountry.d.ts +3 -0
- package/build/api/country/__generated__/listCountry.d.ts +41 -0
- package/build/api/country/index.d.ts +6 -0
- package/build/api/country/index.js +1 -0
- package/build/api/customer/__generated__/checkCustomerEmail.d.ts +10 -0
- package/build/api/customer/__generated__/createCustomerEmailSubscription.d.ts +11 -0
- package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +590 -0
- package/build/api/customer/__generated__/customerForgotPassword.d.ts +7 -0
- package/build/api/customer/__generated__/customerLogin.d.ts +174 -0
- package/build/api/customer/__generated__/customerRecoverPassword.d.ts +8 -0
- package/build/api/customer/__generated__/customerRefreshToken.d.ts +11 -0
- package/build/api/customer/__generated__/customerSocialLogin.d.ts +173 -0
- package/build/api/customer/__generated__/getCustomerOrders.d.ts +620 -0
- package/build/api/customer/__generated__/getLastViewedProducts.d.ts +15 -0
- package/build/api/customer/__generated__/getMyCustomer.d.ts +156 -0
- package/build/api/customer/__generated__/getOrderByEmail.d.ts +621 -0
- package/build/api/customer/__generated__/listOrderRefundSettings.d.ts +13 -0
- package/build/api/customer/__generated__/listOrderTransactions.d.ts +53 -0
- package/build/api/customer/__generated__/registerCustomer.d.ts +175 -0
- package/build/api/customer/__generated__/saveLastViewedProducts.d.ts +11 -0
- package/build/api/customer/__generated__/saveMyCustomer.d.ts +171 -0
- package/build/api/customer/index.d.ts +51 -0
- package/build/api/customer/index.js +1 -0
- package/build/api/customer-attribute/__generated__/listCustomerAttribute.d.ts +44 -0
- package/build/api/customer-attribute/index.d.ts +4 -0
- package/build/api/customer-attribute/index.js +1 -0
- package/build/api/customer-review/__generated__/createCustomerReview.d.ts +11 -0
- package/build/api/customer-review/__generated__/listCustomerReviews.d.ts +53 -0
- package/build/api/customer-review/index.d.ts +24 -0
- package/build/api/customer-review/index.js +1 -0
- package/build/api/customer-review-summary/__generated__/listCustomerReviewSummary.d.ts +59 -0
- package/build/api/customer-review-summary/index.d.ts +21 -0
- package/build/api/customer-review-summary/index.js +1 -0
- package/build/api/district/__generated__/listDistrict.d.ts +16 -0
- package/build/api/district/index.d.ts +4 -0
- package/build/api/district/index.js +1 -0
- package/build/api/favorite-product/__generated__/isFavoriteProduct.d.ts +6 -0
- package/build/api/favorite-product/__generated__/listFavoriteProducts.d.ts +12 -0
- package/build/api/favorite-product/__generated__/saveFavoriteProduct.d.ts +7 -0
- package/build/api/favorite-product/index.d.ts +6 -0
- package/build/api/favorite-product/index.js +1 -0
- package/build/api/html-meta-data/__generated__/listHTMLMetaData.d.ts +38 -0
- package/build/api/html-meta-data/index.d.ts +4 -0
- package/build/api/html-meta-data/index.js +1 -0
- package/build/api/index.d.ts +25 -0
- package/build/api/merchant/__generated__/listMerchantSettings.d.ts +9 -0
- package/build/api/merchant/index.d.ts +4 -0
- package/build/api/merchant/index.js +1 -0
- package/build/api/product-attribute/__generated__/listProductAttribute.d.ts +72 -0
- package/build/api/product-attribute/index.d.ts +4 -0
- package/build/api/product-campaign/__generated__/getProductCampaigns.d.ts +91 -0
- package/build/api/product-campaign/index.d.ts +10 -0
- package/build/api/product-campaign/index.js +1 -0
- package/build/api/product-option-file/__generated__/getOrderLineFile.d.ts +7 -0
- package/build/api/product-option-file/index.d.ts +7 -0
- package/build/api/product-option-file/index.js +1 -0
- package/build/api/product-option-set/__generated__/ListProductOptionSet.d.ts +104 -0
- package/build/api/product-option-set/index.d.ts +4 -0
- package/build/api/product-option-set/index.js +1 -0
- package/build/api/product-search/__generated__/getProductFilterData.d.ts +61 -0
- package/build/api/product-search/__generated__/getRelatedProducts.d.ts +14 -0
- package/build/api/product-search/__generated__/searchProducts.d.ts +26 -0
- package/build/api/product-search/index.d.ts +38 -0
- package/build/api/product-search/index.js +1 -0
- package/build/api/raffle/__generated__/getRafflesByCustomerId.d.ts +44 -0
- package/build/api/raffle/__generated__/listRaffle.d.ts +85 -0
- package/build/api/raffle/__generated__/listRaffleMetaData.d.ts +22 -0
- package/build/api/raffle/__generated__/saveRaffleParticipant.d.ts +30 -0
- package/build/api/raffle/index.d.ts +24 -0
- package/build/api/raffle/index.js +1 -0
- package/build/api/state/__generated__/listState.d.ts +19 -0
- package/build/api/state/index.d.ts +4 -0
- package/build/api/state/index.js +1 -0
- package/build/api/stock-location/__generated__/listStockLocation.d.ts +7 -0
- package/build/api/stock-location/index.d.ts +4 -0
- package/build/api/storefront/__generated__/getStorefront.d.ts +63 -0
- package/build/api/storefront/index.d.ts +4 -0
- package/build/api/storefront/index.js +1 -0
- package/build/api/variant-type/__generated__/listVariantType.d.ts +76 -0
- package/build/api/variant-type/index.d.ts +4 -0
- package/build/assets/translations/checkout/en.js +1 -1
- package/build/assets/translations/checkout/tr.js +1 -1
- package/build/components/checkout/components/address-form/index.js +1 -1
- package/build/components/checkout/components/address-form/model.d.ts +57 -11
- package/build/components/checkout/components/address-form/model.js +1 -1
- package/build/components/checkout/components/button/index.d.ts +1 -2
- package/build/components/checkout/components/button/index.js +1 -1
- package/build/components/checkout/components/cart-summary/cart-item/index.js +1 -1
- package/build/components/checkout/components/cart-summary/index.js +1 -1
- package/build/components/checkout/components/checkbox/index.d.ts +1 -1
- package/build/components/checkout/components/credit-card-form/index.js +1 -1
- package/build/components/checkout/components/customer-addresses/index.d.ts +0 -4
- package/build/components/checkout/components/customer-addresses/index.js +1 -1
- package/build/components/checkout/components/customer-addresses/model.d.ts +1 -1
- package/build/components/checkout/components/customer-addresses/model.js +1 -1
- package/build/components/checkout/components/customer-addresses/style.module.scss.js +1 -1
- package/build/components/checkout/components/error/stock-error/index.js +1 -1
- package/build/components/checkout/components/form-item/index.js +1 -1
- package/build/components/checkout/components/form-item/model.d.ts +0 -2
- package/build/components/checkout/components/form-item/model.js +1 -1
- package/build/components/checkout/components/form-item/style.module.scss.js +1 -1
- package/build/components/checkout/components/modal/index.js +1 -1
- package/build/components/checkout/components/select-box/index.d.ts +2 -2
- package/build/components/checkout/components/toggle/index.d.ts +1 -1
- package/build/components/checkout/index.d.ts +1 -2
- package/build/components/checkout/index.js +1 -1
- package/build/components/checkout/model.d.ts +8 -48
- package/build/components/checkout/model.js +1 -1
- package/build/components/checkout/steps/step-info/index.js +1 -1
- package/build/components/checkout/steps/step-payment/billing-address/index.js +1 -1
- package/build/components/checkout/steps/step-payment/payment-gateways/index.js +1 -1
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.js +1 -1
- package/build/components/checkout/steps/step-payment/payment-gateways/style.module.scss.js +1 -1
- package/build/components/checkout/steps/step-shipping/index.js +1 -1
- package/build/components/checkout/steps/step-success/index.js +1 -1
- package/build/components/checkout/steps/step-success/style.module.scss.js +1 -1
- package/build/components/checkout/style.module.scss.js +1 -1
- package/build/components/index.d.ts +1 -1
- package/build/components/page/head.d.ts +1 -2
- package/build/components/page/head.js +1 -1
- package/build/components/page/index.d.ts +1 -2
- package/build/components/page/index.js +1 -1
- package/build/components/page-editor/ThemeComponentEditor.js +1 -1
- package/build/components/page-editor/model.js +1 -1
- package/build/ext/@apollo/client/cache/core/cache.js +1 -0
- package/build/ext/@apollo/client/cache/core/types/common.js +1 -0
- package/build/ext/@apollo/client/cache/inmemory/entityStore.js +1 -0
- package/build/ext/@apollo/client/cache/inmemory/helpers.js +1 -0
- package/build/ext/@apollo/client/cache/inmemory/inMemoryCache.js +1 -0
- package/build/ext/@apollo/client/cache/inmemory/policies.js +1 -0
- package/build/ext/@apollo/client/cache/inmemory/reactiveVars.js +1 -0
- package/build/ext/@apollo/client/cache/inmemory/readFromStore.js +1 -0
- package/build/ext/@apollo/client/cache/inmemory/writeToStore.js +1 -0
- package/build/ext/@apollo/client/core/ApolloClient.js +1 -0
- package/build/ext/@apollo/client/core/LocalState.js +1 -0
- package/build/ext/@apollo/client/core/ObservableQuery.js +1 -0
- package/build/ext/@apollo/client/core/QueryInfo.js +1 -0
- package/build/ext/@apollo/client/core/QueryManager.js +1 -0
- package/build/ext/@apollo/client/core/Reobserver.js +1 -0
- package/build/ext/@apollo/client/core/networkStatus.js +1 -0
- package/build/ext/@apollo/client/errors/index.js +1 -0
- package/build/ext/@apollo/client/ext/tslib/tslib.es6.js +15 -0
- package/build/ext/@apollo/client/link/context/index.js +1 -0
- package/build/ext/@apollo/client/link/core/ApolloLink.js +1 -0
- package/build/ext/@apollo/client/link/core/execute.js +1 -0
- package/build/ext/@apollo/client/link/error/index.js +1 -0
- package/build/ext/@apollo/client/link/http/HttpLink.js +1 -0
- package/build/ext/@apollo/client/link/http/checkFetcher.js +1 -0
- package/build/ext/@apollo/client/link/http/createHttpLink.js +1 -0
- package/build/ext/@apollo/client/link/http/createSignalIfSupported.js +1 -0
- package/build/ext/@apollo/client/link/http/parseAndCheckHttpResponse.js +1 -0
- package/build/ext/@apollo/client/link/http/rewriteURIForGET.js +1 -0
- package/build/ext/@apollo/client/link/http/selectHttpOptionsAndBody.js +1 -0
- package/build/ext/@apollo/client/link/http/selectURI.js +1 -0
- package/build/ext/@apollo/client/link/http/serializeFetchParameter.js +1 -0
- package/build/ext/@apollo/client/link/utils/createOperation.js +1 -0
- package/build/ext/@apollo/client/link/utils/fromError.js +1 -0
- package/build/ext/@apollo/client/link/utils/throwServerError.js +1 -0
- package/build/ext/@apollo/client/link/utils/transformOperation.js +1 -0
- package/build/ext/@apollo/client/link/utils/validateOperation.js +1 -0
- package/build/ext/@apollo/client/utilities/common/arrays.js +1 -0
- package/build/ext/@apollo/client/utilities/common/canUse.js +1 -0
- package/build/ext/@apollo/client/utilities/common/cloneDeep.js +1 -0
- package/build/ext/@apollo/client/utilities/common/compact.js +1 -0
- package/build/ext/@apollo/client/utilities/common/environment.js +1 -0
- package/build/ext/@apollo/client/utilities/common/errorHandling.js +1 -0
- package/build/ext/@apollo/client/utilities/common/filterInPlace.js +1 -0
- package/build/ext/@apollo/client/utilities/common/maybeDeepFreeze.js +1 -0
- package/build/ext/@apollo/client/utilities/common/mergeDeep.js +1 -0
- package/build/ext/@apollo/client/utilities/graphql/directives.js +1 -0
- package/build/ext/@apollo/client/utilities/graphql/fragments.js +1 -0
- package/build/ext/@apollo/client/utilities/graphql/getFromAST.js +1 -0
- package/build/ext/@apollo/client/utilities/graphql/storeUtils.js +1 -0
- package/build/ext/@apollo/client/utilities/graphql/transform.js +1 -0
- package/build/ext/@apollo/client/utilities/observables/Concast.js +1 -0
- package/build/ext/@apollo/client/utilities/observables/Observable.js +1 -0
- package/build/ext/@apollo/client/utilities/observables/asyncMap.js +1 -0
- package/build/ext/@apollo/client/utilities/observables/iteration.js +1 -0
- package/build/ext/@apollo/client/version.js +1 -0
- package/build/ext/@ungap/global-this/esm/index.js +1 -0
- package/build/ext/@wry/context/lib/context.esm.js +1 -0
- package/build/ext/@wry/equality/lib/equality.esm.js +1 -0
- package/build/ext/@wry/trie/lib/trie.esm.js +1 -0
- package/build/ext/fast-json-stable-stringify/index.js +1 -0
- package/build/ext/graphql/error/GraphQLError.mjs.js +1 -0
- package/build/ext/graphql/error/syntaxError.mjs.js +1 -0
- package/build/ext/graphql/jsutils/defineInspect.mjs.js +1 -0
- package/build/ext/graphql/jsutils/devAssert.mjs.js +1 -0
- package/build/ext/graphql/jsutils/inspect.mjs.js +1 -0
- package/build/ext/graphql/jsutils/instanceOf.mjs.js +1 -0
- package/build/ext/graphql/jsutils/invariant.mjs.js +1 -0
- package/build/ext/graphql/jsutils/isObjectLike.mjs.js +1 -0
- package/build/ext/graphql/jsutils/nodejsCustomInspectSymbol.mjs.js +1 -0
- package/build/ext/graphql/language/ast.mjs.js +1 -0
- package/build/ext/graphql/language/blockString.mjs.js +1 -0
- package/build/ext/graphql/language/directiveLocation.mjs.js +1 -0
- package/build/ext/graphql/language/kinds.mjs.js +1 -0
- package/build/ext/graphql/language/lexer.mjs.js +1 -0
- package/build/ext/graphql/language/location.mjs.js +1 -0
- package/build/ext/graphql/language/parser.mjs.js +1 -0
- package/build/ext/graphql/language/printLocation.mjs.js +1 -0
- package/build/ext/graphql/language/printer.mjs.js +1 -0
- package/build/ext/graphql/language/source.mjs.js +1 -0
- package/build/ext/graphql/language/tokenKind.mjs.js +1 -0
- package/build/ext/graphql/language/visitor.mjs.js +1 -0
- package/build/ext/graphql/polyfills/symbols.mjs.js +1 -0
- package/build/ext/graphql-tag/src/index.js +1 -0
- package/build/ext/optimism/lib/bundle.esm.js +1 -0
- package/build/ext/symbol-observable/es/index.js +1 -0
- package/build/ext/symbol-observable/es/ponyfill.js +1 -0
- package/build/ext/ts-invariant/ext/tslib/tslib.es6.js +15 -0
- package/build/ext/ts-invariant/lib/invariant.esm.js +1 -0
- package/build/ext/tslib/tslib.es6.js +1 -1
- package/build/ext/uuid/dist/{esm-node → esm-browser}/regex.js +0 -0
- package/build/ext/uuid/dist/esm-browser/rng.js +1 -0
- package/build/ext/uuid/dist/esm-browser/stringify.js +1 -0
- package/build/ext/uuid/dist/esm-browser/v4.js +1 -0
- package/build/ext/uuid/dist/{esm-node → esm-browser}/validate.js +0 -0
- package/build/ext/zen-observable/index.js +1 -0
- package/build/ext/zen-observable/lib/Observable.js +1 -0
- package/build/ikas.js +30 -0
- package/build/index.d.ts +0 -1
- package/build/index.js +1 -1
- package/build/models/data/blog/index.d.ts +53 -19
- package/build/models/data/blog/index.js +1 -1
- package/build/models/data/brand/index.d.ts +14 -10
- package/build/models/data/brand/index.js +1 -1
- package/build/models/data/cart/index.d.ts +45 -18
- package/build/models/data/cart/index.js +1 -1
- package/build/models/data/category/index.d.ts +31 -18
- package/build/models/data/category/index.js +1 -1
- package/build/models/data/checkout/index.d.ts +90 -5
- package/build/models/data/checkout/index.js +1 -1
- package/build/models/data/checkout-settings/index.d.ts +20 -8
- package/build/models/data/checkout-settings/index.js +1 -1
- package/build/models/data/city/index.d.ts +4 -3
- package/build/models/data/country/index.d.ts +8 -3
- package/build/models/data/customer/address/index.d.ts +33 -36
- package/build/models/data/customer/address/index.js +1 -1
- package/build/models/data/customer/attribute-value/index.d.ts +6 -4
- package/build/models/data/customer/attribute-value/index.js +1 -1
- package/build/models/data/customer/index.d.ts +26 -29
- package/build/models/data/customer/index.js +1 -1
- package/build/models/data/customer-attribute/customer-attribute-option/index.d.ts +4 -2
- package/build/models/data/customer-attribute/customer-attribute-option/index.js +1 -1
- package/build/models/data/customer-attribute/customer-attribute-sales-channel/index.d.ts +15 -6
- package/build/models/data/customer-attribute/customer-attribute-sales-channel/index.js +1 -1
- package/build/models/data/customer-attribute/index.d.ts +27 -14
- package/build/models/data/customer-attribute/index.js +1 -1
- package/build/models/data/customer-review/index.d.ts +22 -7
- package/build/models/data/customer-review/index.js +1 -1
- package/build/models/data/customer-review-settings/index.d.ts +4 -0
- package/build/models/data/customer-review-summary/index.d.ts +14 -6
- package/build/models/data/customer-review-summary/index.js +1 -1
- package/build/models/data/district/index.d.ts +4 -3
- package/build/models/data/favorite-product/index.d.ts +5 -2
- package/build/models/data/favorite-product/index.js +1 -1
- package/build/models/data/html-meta-data/index.d.ts +18 -7
- package/build/models/data/html-meta-data/index.js +1 -1
- package/build/models/data/image/index.js +1 -1
- package/build/models/data/index.d.ts +38 -59
- package/build/models/data/installment-info/index.d.ts +30 -0
- package/build/models/data/installment-info/index.js +1 -0
- package/build/models/data/language/index.d.ts +6 -0
- package/build/models/data/merchant-settings/index.d.ts +5 -3
- package/build/models/data/merchant-settings/index.js +1 -1
- package/build/models/data/order/address/index.d.ts +32 -32
- package/build/models/data/order/address/index.js +1 -1
- package/build/models/data/order/adjustment/index.d.ts +15 -8
- package/build/models/data/order/gift-line/index.d.ts +4 -3
- package/build/models/data/order/index.d.ts +132 -39
- package/build/models/data/order/index.js +1 -1
- package/build/models/data/order/line-item/discount/index.d.ts +10 -5
- package/build/models/data/order/line-item/discount/index.js +1 -1
- package/build/models/data/order/line-item/index.d.ts +31 -10
- package/build/models/data/order/line-item/index.js +1 -1
- package/build/models/data/order/line-item/options/index.d.ts +11 -0
- package/build/models/data/order/line-item/options/index.js +1 -0
- package/build/models/data/order/line-item/options/options-value/index.d.ts +6 -0
- package/build/models/data/order/line-item/options/options-value/index.js +1 -0
- package/build/models/data/order/line-item/variant/index.d.ts +17 -7
- package/build/models/data/order/line-item/variant/index.js +1 -1
- package/build/models/data/order/refund/index.d.ts +1 -1
- package/build/models/data/order/refund/refund-line-item/index.d.ts +5 -0
- package/build/models/data/order/refund/{settings/index.d.ts → settings.d.ts} +0 -0
- package/build/models/data/order/refund/{settings/index.js → settings.js} +0 -0
- package/build/models/data/order/shipping-line/index.d.ts +7 -3
- package/build/models/data/order-transaction/index.d.ts +74 -0
- package/build/models/data/order-transaction/index.js +1 -0
- package/build/models/data/payment-gateway/index.d.ts +34 -10
- package/build/models/data/payment-gateway/index.js +1 -1
- package/build/models/data/product/attribute-value/index.d.ts +5 -5
- package/build/models/data/product/attribute-value/index.js +1 -1
- package/build/models/data/product/variant/index.d.ts +1 -1
- package/build/models/data/product/variant/index.js +1 -1
- package/build/models/data/product/variant/price/index.d.ts +4 -2
- package/build/models/data/product/variant/price/index.js +1 -1
- package/build/models/data/product-attribute/index.d.ts +2 -2
- package/build/models/data/product-attribute/{option → product-attribute-option}/index.d.ts +0 -0
- package/build/models/data/product-attribute/{option → product-attribute-option}/index.js +0 -0
- package/build/models/data/product-attribute/{table-cell → product-attribute-table-cell}/index.d.ts +0 -0
- package/build/models/data/product-attribute/{table-cell → product-attribute-table-cell}/index.js +0 -0
- package/build/models/data/product-attribute/product-attribute-table-template/index.d.ts +6 -0
- package/build/models/data/product-attribute/product-attribute-table-template/index.js +1 -0
- package/build/models/data/product-campaing/campaign/index.d.ts +41 -0
- package/build/models/data/{product-campaign → product-campaing}/campaign/index.js +0 -0
- package/build/models/data/{product-campaign → product-campaing}/filter/index.d.ts +0 -0
- package/build/models/data/{product-campaign → product-campaing}/filter/index.js +0 -0
- package/build/models/data/{product-campaign → product-campaing}/index.d.ts +0 -0
- package/build/models/data/{product-campaign → product-campaing}/index.js +0 -0
- package/build/models/data/{product-campaign → product-campaing}/product-buyx-then-gety/index.d.ts +0 -0
- package/build/models/data/{product-campaign → product-campaing}/product-buyx-then-gety/index.js +0 -0
- package/build/models/data/{product-campaign → product-campaing}/product-campaign-date-range-field/index.d.ts +0 -0
- package/build/models/data/{product-campaign → product-campaing}/product-campaign-date-range-field/index.js +0 -0
- package/build/models/data/{product-campaign → product-campaing}/product-fixed-discount/index.d.ts +0 -0
- package/build/models/data/{product-campaign → product-campaing}/product-fixed-discount/index.js +0 -0
- package/build/models/data/product-cart-item-options/index.d.ts +6 -0
- package/build/models/data/product-cart-item-options/index.js +1 -0
- package/build/models/data/product-filter/index.d.ts +7 -6
- package/build/models/data/product-filter/index.js +1 -1
- package/build/models/data/product-option-set/index.d.ts +14 -2
- package/build/models/data/product-option-set/index.js +1 -1
- package/build/models/data/raffle/index.d.ts +0 -2
- package/build/models/data/raffle/index.js +1 -1
- package/build/models/data/simple-product/index.d.ts +138 -0
- package/build/models/data/state/index.d.ts +5 -3
- package/build/models/data/storefront/index.d.ts +0 -2
- package/build/models/data/storefront/index.js +1 -1
- package/build/models/theme/custom-data/index.js +1 -1
- package/build/models/theme/page/index.d.ts +1 -2
- package/build/models/theme/page/index.js +1 -1
- package/build/models/theme/settings/color/index.js +1 -1
- package/build/models/ui/blog-category-list/index.js +1 -1
- package/build/models/ui/blog-list/index.js +1 -1
- package/build/models/ui/brand-list/index.js +1 -1
- package/build/models/ui/category-list/index.js +1 -1
- package/build/models/ui/customer-review-list/index.js +1 -1
- package/build/models/ui/customer-review-summary-list/index.d.ts +1 -1
- package/build/models/ui/customer-review-summary-list/index.js +1 -1
- package/build/models/ui/product-detail/index.js +1 -1
- package/build/models/ui/product-list/index.d.ts +2 -2
- package/build/models/ui/product-list/index.js +1 -1
- package/build/models/ui/raffle-list/index.js +1 -1
- package/build/models/ui/validator/form/account-info.d.ts +1 -1
- package/build/models/ui/validator/form/account-info.js +1 -1
- package/build/models/ui/validator/form/address.js +1 -1
- package/build/models/ui/validator/form/raffle-form.js +1 -1
- package/build/models/ui/validator/form/register.d.ts +1 -1
- package/build/pages/404.js +1 -1
- package/build/pages/_slug_/index.js +1 -1
- package/build/pages/account/addresses.js +1 -1
- package/build/pages/account/favorite-products.js +1 -1
- package/build/pages/account/forgot-password.js +1 -1
- package/build/pages/account/index.js +1 -1
- package/build/pages/account/login.js +1 -1
- package/build/pages/account/orders/_id_.js +1 -1
- package/build/pages/account/orders/index.js +1 -1
- package/build/pages/account/raffles.js +1 -1
- package/build/pages/account/recover-password.js +1 -1
- package/build/pages/account/register.js +1 -1
- package/build/pages/blog/_slug_.js +1 -1
- package/build/pages/blog/index.js +1 -1
- package/build/pages/cart.js +1 -1
- package/build/pages/checkout.js +1 -1
- package/build/pages/editor.d.ts +1 -1
- package/build/pages/editor.js +1 -1
- package/build/pages/home.js +1 -1
- package/build/pages/pages/_slug_.js +1 -1
- package/build/pages/raffle/_slug_.js +1 -1
- package/build/pages/raffle/index.js +1 -1
- package/build/pages/search.js +1 -1
- package/build/providers/helpers/raffles.js +1 -1
- package/build/providers/page-data-get.d.ts +1 -4
- package/build/providers/page-data-get.js +1 -1
- package/build/providers/page-data-init.js +1 -1
- package/build/providers/page-data-next.d.ts +6 -30
- package/build/providers/page-data-next.js +1 -1
- package/build/providers/placeholders.js +1 -1
- package/build/providers/prop-value/attribute-list.js +1 -1
- package/build/providers/prop-value/attribute.js +1 -1
- package/build/providers/prop-value/blog-category-list.js +1 -1
- package/build/providers/prop-value/blog-category.js +1 -1
- package/build/providers/prop-value/blog-list.js +1 -1
- package/build/providers/prop-value/blog.js +1 -1
- package/build/providers/prop-value/brand-list.js +1 -1
- package/build/providers/prop-value/brand.js +1 -1
- package/build/providers/prop-value/category-list.js +1 -1
- package/build/providers/prop-value/category.js +1 -1
- package/build/providers/prop-value/custom.js +1 -1
- package/build/providers/prop-value/image-list.js +1 -1
- package/build/providers/prop-value/image.js +1 -1
- package/build/providers/prop-value/link.js +1 -1
- package/build/providers/prop-value/product-detail.js +1 -1
- package/build/providers/prop-value/product-list.js +1 -1
- package/build/providers/prop-value/raffle-list.js +1 -1
- package/build/providers/prop-value/raffle.js +1 -1
- package/build/providers/prop-value/slider.d.ts +1 -1
- package/build/scripts/generators/config/content.d.ts +0 -5
- package/build/scripts/generators/config/content.js +1 -1
- package/build/scripts/generators/config/index.js +1 -1
- package/build/scripts/generators/types/index.d.ts +1 -2
- package/build/scripts/generators/types/index.js +1 -1
- package/build/store/base.d.ts +0 -2
- package/build/store/base.js +1 -1
- package/build/store/cart.d.ts +29 -0
- package/build/store/cart.js +1 -0
- package/build/store/customer.d.ts +96 -0
- package/build/store/customer.js +1 -0
- package/build/storefront/index.d.ts +2 -9
- package/build/storefront/index.js +1 -1
- package/build/utils/constants.d.ts +0 -1
- package/build/utils/constants.js +1 -1
- package/build/utils/currency.d.ts +2 -2
- package/build/utils/currency.js +1 -1
- package/build/utils/helper.js +1 -1
- package/package.json +7 -7
- package/build/__api/models/AbandonedCartFlow.d.ts +0 -19
- package/build/__api/models/AbandonedCartFlowCustomerFilter.d.ts +0 -10
- package/build/__api/models/AddItemToCartInput.d.ts +0 -16
- package/build/__api/models/AdditionalPrice.d.ts +0 -13
- package/build/__api/models/AdditionalPrice.js +0 -1
- package/build/__api/models/ApplicableProductFilterValue.d.ts +0 -13
- package/build/__api/models/AppliedProduct.d.ts +0 -10
- package/build/__api/models/AppliedProductInput.d.ts +0 -10
- package/build/__api/models/AvailableShippingMethod.d.ts +0 -14
- package/build/__api/models/AvailableShippingMethod.js +0 -1
- package/build/__api/models/Blog.d.ts +0 -28
- package/build/__api/models/Blog.js +0 -1
- package/build/__api/models/BlogCategory.d.ts +0 -13
- package/build/__api/models/BlogCategory.js +0 -1
- package/build/__api/models/BlogCategoryPaginationResponse.d.ts +0 -14
- package/build/__api/models/BlogContent.d.ts +0 -12
- package/build/__api/models/BlogContent.js +0 -1
- package/build/__api/models/BlogMetadata.d.ts +0 -17
- package/build/__api/models/BlogMetadata.js +0 -1
- package/build/__api/models/BlogMetadataPaginationResponse.d.ts +0 -14
- package/build/__api/models/BlogMetadataTargetTypeEnumFilter.d.ts +0 -13
- package/build/__api/models/BlogPaginationResponse.d.ts +0 -14
- package/build/__api/models/BlogTag.d.ts +0 -10
- package/build/__api/models/BlogTag.js +0 -1
- package/build/__api/models/BlogWriter.d.ts +0 -10
- package/build/__api/models/BlogWriter.js +0 -1
- package/build/__api/models/BooleanFilterInput.d.ts +0 -9
- package/build/__api/models/BuyX.d.ts +0 -12
- package/build/__api/models/BuyXThenGetY.d.ts +0 -13
- package/build/__api/models/Campaign.d.ts +0 -30
- package/build/__api/models/CampaignDateRangeField.d.ts +0 -10
- package/build/__api/models/CampaignFilter.d.ts +0 -11
- package/build/__api/models/CampaignMinMaxRangeField.d.ts +0 -10
- package/build/__api/models/CampaignOffer.d.ts +0 -22
- package/build/__api/models/CampaignOffer.js +0 -1
- package/build/__api/models/CampaignOfferProduct.d.ts +0 -22
- package/build/__api/models/CampaignOfferProduct.js +0 -1
- package/build/__api/models/CampaignOfferProductTranslation.d.ts +0 -11
- package/build/__api/models/CampaignOfferProductTranslation.js +0 -1
- package/build/__api/models/CampaignOfferTriggerSettings.d.ts +0 -11
- package/build/__api/models/CampaignOfferTriggerSettings.js +0 -1
- package/build/__api/models/Cart.d.ts +0 -31
- package/build/__api/models/CartCampaignOffer.d.ts +0 -17
- package/build/__api/models/CartLineItemInput.d.ts +0 -12
- package/build/__api/models/CartLineOptionInput.d.ts +0 -11
- package/build/__api/models/CartLineVariantInput.d.ts +0 -10
- package/build/__api/models/CartStorefrontRouting.d.ts +0 -15
- package/build/__api/models/CartStorefrontRoutingDynamicCurrencySettings.d.ts +0 -10
- package/build/__api/models/CartV2.d.ts +0 -68
- package/build/__api/models/CartV2CampaignOffer.d.ts +0 -19
- package/build/__api/models/CartV2CampaignOffer.js +0 -1
- package/build/__api/models/Category.d.ts +0 -27
- package/build/__api/models/Category.js +0 -1
- package/build/__api/models/CategoryCondition.d.ts +0 -11
- package/build/__api/models/CategoryCondition.js +0 -1
- package/build/__api/models/CategoryFilterInput.d.ts +0 -10
- package/build/__api/models/CategoryPaginationResponse.d.ts +0 -14
- package/build/__api/models/CategoryPathFilterInput.d.ts +0 -9
- package/build/__api/models/CategoryPathItem.d.ts +0 -17
- package/build/__api/models/CategoryPathItem.js +0 -1
- package/build/__api/models/CategoryTranslation.d.ts +0 -11
- package/build/__api/models/CategoryTranslation.js +0 -1
- package/build/__api/models/CheckStocksLineInput.d.ts +0 -11
- package/build/__api/models/CheckStocksLineInput.js +0 -1
- package/build/__api/models/CheckStocksLineResponse.d.ts +0 -11
- package/build/__api/models/CheckStocksResponse.d.ts +0 -10
- package/build/__api/models/Checkout.d.ts +0 -44
- package/build/__api/models/CheckoutCustomer.d.ts +0 -19
- package/build/__api/models/CheckoutCustomerInput.d.ts +0 -13
- package/build/__api/models/CheckoutCustomerInput.js +0 -1
- package/build/__api/models/CheckoutOption.d.ts +0 -10
- package/build/__api/models/CheckoutOption.js +0 -1
- package/build/__api/models/CheckoutSettings.d.ts +0 -24
- package/build/__api/models/CheckoutSettings.js +0 -1
- package/build/__api/models/CheckoutSettingsPrice.d.ts +0 -10
- package/build/__api/models/CheckoutSettingsPrice.js +0 -1
- package/build/__api/models/City.d.ts +0 -16
- package/build/__api/models/City.js +0 -1
- package/build/__api/models/Country.d.ts +0 -22
- package/build/__api/models/Country.js +0 -1
- package/build/__api/models/CreateCustomerEmailSubscriptionInput.d.ts +0 -12
- package/build/__api/models/CreateCustomerReviewInput.d.ts +0 -20
- package/build/__api/models/CreateSaleTransactionMasterPassPaymentMethodDetail.d.ts +0 -10
- package/build/__api/models/CreateSaleTransactionWithCartInput.d.ts +0 -14
- package/build/__api/models/CreateSaleTransactionWithCheckoutInput.d.ts +0 -14
- package/build/__api/models/CreateStripePaymentIntentResponse.d.ts +0 -12
- package/build/__api/models/CreateStripePaymentIntentResponse.js +0 -1
- package/build/__api/models/CurrencyRate.d.ts +0 -13
- package/build/__api/models/CurrencyRateData.d.ts +0 -10
- package/build/__api/models/Customer.d.ts +0 -34
- package/build/__api/models/CustomerAddress.d.ts +0 -31
- package/build/__api/models/CustomerAddressCity.d.ts +0 -11
- package/build/__api/models/CustomerAddressCity.js +0 -1
- package/build/__api/models/CustomerAddressCityInput.d.ts +0 -11
- package/build/__api/models/CustomerAddressCityInput.js +0 -1
- package/build/__api/models/CustomerAddressCountry.d.ts +0 -13
- package/build/__api/models/CustomerAddressCountry.js +0 -1
- package/build/__api/models/CustomerAddressCountryInput.d.ts +0 -13
- package/build/__api/models/CustomerAddressCountryInput.js +0 -1
- package/build/__api/models/CustomerAddressDistrict.d.ts +0 -11
- package/build/__api/models/CustomerAddressDistrict.js +0 -1
- package/build/__api/models/CustomerAddressDistrictInput.d.ts +0 -11
- package/build/__api/models/CustomerAddressDistrictInput.js +0 -1
- package/build/__api/models/CustomerAddressState.d.ts +0 -11
- package/build/__api/models/CustomerAddressState.js +0 -1
- package/build/__api/models/CustomerAddressStateInput.d.ts +0 -11
- package/build/__api/models/CustomerAddressStateInput.js +0 -1
- package/build/__api/models/CustomerAttribute.d.ts +0 -19
- package/build/__api/models/CustomerAttribute.js +0 -1
- package/build/__api/models/CustomerAttributeOption.d.ts +0 -10
- package/build/__api/models/CustomerAttributeOption.js +0 -1
- package/build/__api/models/CustomerAttributeOptionTranslation.d.ts +0 -10
- package/build/__api/models/CustomerAttributeOptionTranslation.js +0 -1
- package/build/__api/models/CustomerAttributeSalesChannel.d.ts +0 -13
- package/build/__api/models/CustomerAttributeSalesChannel.js +0 -1
- package/build/__api/models/CustomerAttributeTranslation.d.ts +0 -13
- package/build/__api/models/CustomerAttributeTranslation.js +0 -1
- package/build/__api/models/CustomerAttributeValue.d.ts +0 -11
- package/build/__api/models/CustomerAttributeValue.js +0 -1
- package/build/__api/models/CustomerAttributeValueInput.d.ts +0 -11
- package/build/__api/models/CustomerAttributeValueInput.js +0 -1
- package/build/__api/models/CustomerCheckResponse.d.ts +0 -9
- package/build/__api/models/CustomerFavoriteProduct.d.ts +0 -11
- package/build/__api/models/CustomerFavoriteProduct.js +0 -1
- package/build/__api/models/CustomerLoginResponse.d.ts +0 -12
- package/build/__api/models/CustomerRefreshTokenResponse.d.ts +0 -10
- package/build/__api/models/CustomerReview.d.ts +0 -24
- package/build/__api/models/CustomerReview.js +0 -1
- package/build/__api/models/CustomerReviewSFPaginationResponse.d.ts +0 -14
- package/build/__api/models/CustomerReviewSummary.d.ts +0 -14
- package/build/__api/models/CustomerReviewSummary.js +0 -1
- package/build/__api/models/CustomerReviewSummaryPaginationResponse.d.ts +0 -14
- package/build/__api/models/CustomerReviewSummaryStar.d.ts +0 -10
- package/build/__api/models/CustomerReviewSummaryStar.js +0 -1
- package/build/__api/models/DateFilterInput.d.ts +0 -16
- package/build/__api/models/District.d.ts +0 -16
- package/build/__api/models/District.js +0 -1
- package/build/__api/models/FixedDiscount.d.ts +0 -14
- package/build/__api/models/GetAvailableStockLocation.d.ts +0 -14
- package/build/__api/models/GetAvailableStockLocation.js +0 -1
- package/build/__api/models/GetAvailableStockLocationAddress.d.ts +0 -16
- package/build/__api/models/GetAvailableStockLocationAddress.js +0 -1
- package/build/__api/models/GetAvailableStockLocationAddressCity.d.ts +0 -11
- package/build/__api/models/GetAvailableStockLocationAddressCity.js +0 -1
- package/build/__api/models/GetAvailableStockLocationsResponse.d.ts +0 -10
- package/build/__api/models/GetOrderLineFile.d.ts +0 -9
- package/build/__api/models/GetProductCampaignsInput.d.ts +0 -11
- package/build/__api/models/GetProductCampaignsResponse.d.ts +0 -11
- package/build/__api/models/GetProductOptionFileUrl.d.ts +0 -11
- package/build/__api/models/GetVariantStockLocation.d.ts +0 -12
- package/build/__api/models/GetVariantStockLocationListResponse.d.ts +0 -10
- package/build/__api/models/GetY.d.ts +0 -13
- package/build/__api/models/HTMLMetaData.d.ts +0 -22
- package/build/__api/models/HTMLMetaData.js +0 -1
- package/build/__api/models/HTMLMetaDataOverride.d.ts +0 -13
- package/build/__api/models/HTMLMetaDataOverride.js +0 -1
- package/build/__api/models/HTMLMetaDataTargetTypeEnumFilter.d.ts +0 -13
- package/build/__api/models/HTMLMetaDataTranslation.d.ts +0 -11
- package/build/__api/models/HTMLMetaDataTranslation.js +0 -1
- package/build/__api/models/Invoice.d.ts +0 -16
- package/build/__api/models/Invoice.js +0 -1
- package/build/__api/models/ListCustomerReviewInput.d.ts +0 -9
- package/build/__api/models/LocationTranslations.d.ts +0 -10
- package/build/__api/models/LocationTranslations.js +0 -1
- package/build/__api/models/MasterpassTokenResponse.d.ts +0 -11
- package/build/__api/models/MerchantAddress.d.ts +0 -27
- package/build/__api/models/MerchantAddress.js +0 -1
- package/build/__api/models/MerchantAddressCity.d.ts +0 -11
- package/build/__api/models/MerchantAddressCity.js +0 -1
- package/build/__api/models/MerchantAddressCountry.d.ts +0 -11
- package/build/__api/models/MerchantAddressCountry.js +0 -1
- package/build/__api/models/MerchantAddressDistrict.d.ts +0 -11
- package/build/__api/models/MerchantAddressDistrict.js +0 -1
- package/build/__api/models/MerchantAddressState.d.ts +0 -11
- package/build/__api/models/MerchantAddressState.js +0 -1
- package/build/__api/models/MerchantSettings.d.ts +0 -17
- package/build/__api/models/MerchantSettings.js +0 -1
- package/build/__api/models/MerchantSettingsCurrencyFormat.d.ts +0 -15
- package/build/__api/models/MerchantSettingsCurrencyFormat.js +0 -1
- package/build/__api/models/OrderAddress.d.ts +0 -28
- package/build/__api/models/OrderAddressCity.d.ts +0 -11
- package/build/__api/models/OrderAddressCity.js +0 -1
- package/build/__api/models/OrderAddressCityInput.d.ts +0 -11
- package/build/__api/models/OrderAddressCityInput.js +0 -1
- package/build/__api/models/OrderAddressCountry.d.ts +0 -13
- package/build/__api/models/OrderAddressCountry.js +0 -1
- package/build/__api/models/OrderAddressCountryInput.d.ts +0 -13
- package/build/__api/models/OrderAddressCountryInput.js +0 -1
- package/build/__api/models/OrderAddressDistrict.d.ts +0 -11
- package/build/__api/models/OrderAddressDistrict.js +0 -1
- package/build/__api/models/OrderAddressDistrictInput.d.ts +0 -11
- package/build/__api/models/OrderAddressDistrictInput.js +0 -1
- package/build/__api/models/OrderAddressInput.d.ts +0 -28
- package/build/__api/models/OrderAddressInput.js +0 -1
- package/build/__api/models/OrderAddressState.d.ts +0 -11
- package/build/__api/models/OrderAddressState.js +0 -1
- package/build/__api/models/OrderAddressStateInput.d.ts +0 -11
- package/build/__api/models/OrderAddressStateInput.js +0 -1
- package/build/__api/models/OrderAdjustment.d.ts +0 -19
- package/build/__api/models/OrderAdjustment.js +0 -1
- package/build/__api/models/OrderAdjustmentAppliedOrderLine.d.ts +0 -12
- package/build/__api/models/OrderAdjustmentAppliedOrderLine.js +0 -1
- package/build/__api/models/OrderAdjustmentInput.d.ts +0 -16
- package/build/__api/models/OrderAdjustmentInput.js +0 -1
- package/build/__api/models/OrderCurrencyRate.d.ts +0 -11
- package/build/__api/models/OrderCustomer.d.ts +0 -16
- package/build/__api/models/OrderGiftPackageLine.d.ts +0 -10
- package/build/__api/models/OrderGiftPackageLine.js +0 -1
- package/build/__api/models/OrderLineDiscount.d.ts +0 -15
- package/build/__api/models/OrderLineDiscount.js +0 -1
- package/build/__api/models/OrderLineItem.d.ts +0 -26
- package/build/__api/models/OrderLineItem.js +0 -1
- package/build/__api/models/OrderLineOption.d.ts +0 -15
- package/build/__api/models/OrderLineOption.js +0 -1
- package/build/__api/models/OrderLineOptionValue.d.ts +0 -11
- package/build/__api/models/OrderLineOptionValue.js +0 -1
- package/build/__api/models/OrderLineVariant.d.ts +0 -27
- package/build/__api/models/OrderLineVariant.js +0 -1
- package/build/__api/models/OrderLineVariantBrand.d.ts +0 -10
- package/build/__api/models/OrderLineVariantBrand.js +0 -1
- package/build/__api/models/OrderLineVariantCategory.d.ts +0 -12
- package/build/__api/models/OrderLineVariantCategory.js +0 -1
- package/build/__api/models/OrderLineVariantCategoryPath.d.ts +0 -10
- package/build/__api/models/OrderLineVariantCategoryPath.js +0 -1
- package/build/__api/models/OrderLineVariantPrice.d.ts +0 -13
- package/build/__api/models/OrderLineVariantPrice.js +0 -1
- package/build/__api/models/OrderLineVariantVariantValues.d.ts +0 -13
- package/build/__api/models/OrderLineVariantVariantValues.js +0 -1
- package/build/__api/models/OrderPackage.d.ts +0 -18
- package/build/__api/models/OrderPackage.js +0 -1
- package/build/__api/models/OrderPaymentMethod.d.ts +0 -14
- package/build/__api/models/OrderPaymentMethod.js +0 -1
- package/build/__api/models/OrderRefundOrderLineInput.d.ts +0 -10
- package/build/__api/models/OrderRefundOrderLineInput.js +0 -1
- package/build/__api/models/OrderRefundRequestInput.d.ts +0 -12
- package/build/__api/models/OrderRefundSettings.d.ts +0 -14
- package/build/__api/models/OrderShippingLine.d.ts +0 -17
- package/build/__api/models/OrderShippingLine.js +0 -1
- package/build/__api/models/OrderStorefrontRouting.d.ts +0 -15
- package/build/__api/models/OrderStorefrontRoutingDynamicCurrencySettings.d.ts +0 -10
- package/build/__api/models/OrderTaxLine.d.ts +0 -10
- package/build/__api/models/OrderTaxLine.js +0 -1
- package/build/__api/models/PaginationInput.d.ts +0 -10
- package/build/__api/models/PaymentGateway.d.ts +0 -29
- package/build/__api/models/PaymentGateway.js +0 -1
- package/build/__api/models/PaymentGatewayPaymentMethod.d.ts +0 -10
- package/build/__api/models/PaymentGatewayPaymentMethod.js +0 -1
- package/build/__api/models/PaymentGatewaySettings.d.ts +0 -13
- package/build/__api/models/PaymentGatewaySettings.js +0 -1
- package/build/__api/models/PaymentGatewayTranslation.d.ts +0 -11
- package/build/__api/models/PaymentGatewayTranslation.js +0 -1
- package/build/__api/models/PaymentMethodDetailInput.d.ts +0 -15
- package/build/__api/models/Product.d.ts +0 -33
- package/build/__api/models/ProductAttribute.d.ts +0 -19
- package/build/__api/models/ProductAttributeOption.d.ts +0 -10
- package/build/__api/models/ProductAttributeOptionTranslation.d.ts +0 -10
- package/build/__api/models/ProductAttributeTableCellData.d.ts +0 -10
- package/build/__api/models/ProductAttributeTableTemplate.d.ts +0 -11
- package/build/__api/models/ProductAttributeTranslation.d.ts +0 -13
- package/build/__api/models/ProductAttributeValue.d.ts +0 -12
- package/build/__api/models/ProductAttributeValue.js +0 -1
- package/build/__api/models/ProductBackInStockRemind.d.ts +0 -14
- package/build/__api/models/ProductBackInStockRemindInput.d.ts +0 -11
- package/build/__api/models/ProductBrand.d.ts +0 -19
- package/build/__api/models/ProductBrand.js +0 -1
- package/build/__api/models/ProductBrandPaginationResponse.d.ts +0 -14
- package/build/__api/models/ProductBrandTranslation.d.ts +0 -11
- package/build/__api/models/ProductBrandTranslation.js +0 -1
- package/build/__api/models/ProductFacetCount.d.ts +0 -11
- package/build/__api/models/ProductFacetCountValue.d.ts +0 -10
- package/build/__api/models/ProductFilterData.d.ts +0 -12
- package/build/__api/models/ProductFilterDataFilter.d.ts +0 -24
- package/build/__api/models/ProductFilterSettings.d.ts +0 -14
- package/build/__api/models/ProductImage.d.ts +0 -12
- package/build/__api/models/ProductItem.d.ts +0 -11
- package/build/__api/models/ProductItemInput.d.ts +0 -11
- package/build/__api/models/ProductLastViewed.d.ts +0 -12
- package/build/__api/models/ProductLastViewedInput.d.ts +0 -12
- package/build/__api/models/ProductOption.d.ts +0 -28
- package/build/__api/models/ProductOptionDateSettings.d.ts +0 -12
- package/build/__api/models/ProductOptionFileSettings.d.ts +0 -11
- package/build/__api/models/ProductOptionSelectSettings.d.ts +0 -14
- package/build/__api/models/ProductOptionSelectValue.d.ts +0 -16
- package/build/__api/models/ProductOptionSelectValueOtherPrice.d.ts +0 -10
- package/build/__api/models/ProductOptionSelectValueTranslations.d.ts +0 -10
- package/build/__api/models/ProductOptionSet.d.ts +0 -14
- package/build/__api/models/ProductOptionSetTranslations.d.ts +0 -11
- package/build/__api/models/ProductOptionTextSettings.d.ts +0 -10
- package/build/__api/models/ProductOptionTranslations.d.ts +0 -13
- package/build/__api/models/ProductPaginationResponse.d.ts +0 -14
- package/build/__api/models/ProductPrice.d.ts +0 -13
- package/build/__api/models/ProductPrice.js +0 -1
- package/build/__api/models/ProductSearchResponse.d.ts +0 -17
- package/build/__api/models/ProductStockLocation.d.ts +0 -13
- package/build/__api/models/ProductTagTranslation.d.ts +0 -11
- package/build/__api/models/ProductTranslation.d.ts +0 -11
- package/build/__api/models/ProductVariantType.d.ts +0 -11
- package/build/__api/models/Raffle.d.ts +0 -23
- package/build/__api/models/RaffleDateRangeField.d.ts +0 -10
- package/build/__api/models/RaffleMetadata.d.ts +0 -17
- package/build/__api/models/RaffleMetadataTargetTypeEnumFilter.d.ts +0 -13
- package/build/__api/models/RafflePaginationResponse.d.ts +0 -14
- package/build/__api/models/RaffleParticipants.d.ts +0 -23
- package/build/__api/models/RaffleParticipantsInput.d.ts +0 -17
- package/build/__api/models/RaffleParticipantsUpdateInput.d.ts +0 -13
- package/build/__api/models/RaffleVariantInformation.d.ts +0 -10
- package/build/__api/models/RetrieveInstallmentInfoInput.d.ts +0 -11
- package/build/__api/models/RetrieveInstallmentInfoResponse.d.ts +0 -17
- package/build/__api/models/SaveCartInput.d.ts +0 -23
- package/build/__api/models/SaveCartInput.js +0 -1
- package/build/__api/models/SaveCheckoutInput.d.ts +0 -26
- package/build/__api/models/SaveItemToCartInput.d.ts +0 -19
- package/build/__api/models/SaveMyCustomerAddressInput.d.ts +0 -29
- package/build/__api/models/SaveMyCustomerAddressInput.js +0 -1
- package/build/__api/models/SaveMyCustomerInput.d.ts +0 -17
- package/build/__api/models/SaveMyCustomerInput.js +0 -1
- package/build/__api/models/SearchCategory.d.ts +0 -15
- package/build/__api/models/SearchCategoryPath.d.ts +0 -13
- package/build/__api/models/SearchDynamicCurrencySettings.d.ts +0 -10
- package/build/__api/models/SearchHTMLMetaData.d.ts +0 -18
- package/build/__api/models/SearchHTMLMetaDataOverride.d.ts +0 -13
- package/build/__api/models/SearchInput.d.ts +0 -32
- package/build/__api/models/SearchInputFacetListInput.d.ts +0 -12
- package/build/__api/models/SearchInputFilterListInput.d.ts +0 -14
- package/build/__api/models/SearchInputFilterListInput.js +0 -1
- package/build/__api/models/SearchInputOrderByInput.d.ts +0 -11
- package/build/__api/models/SearchProduct.d.ts +0 -34
- package/build/__api/models/SearchProductAttribute.d.ts +0 -15
- package/build/__api/models/SearchProductAttributeOption.d.ts +0 -10
- package/build/__api/models/SearchProductAttributeTableCellData.d.ts +0 -10
- package/build/__api/models/SearchProductAttributeTableTemplate.d.ts +0 -11
- package/build/__api/models/SearchProductAttributeValue.d.ts +0 -14
- package/build/__api/models/SearchProductBrand.d.ts +0 -13
- package/build/__api/models/SearchProductImage.d.ts +0 -12
- package/build/__api/models/SearchProductPrice.d.ts +0 -13
- package/build/__api/models/SearchProductStockLocation.d.ts +0 -10
- package/build/__api/models/SearchProductTag.d.ts +0 -12
- package/build/__api/models/SearchProductVariantType.d.ts +0 -12
- package/build/__api/models/SearchVariant.d.ts +0 -25
- package/build/__api/models/SearchVariantType.d.ts +0 -15
- package/build/__api/models/SearchVariantValue.d.ts +0 -12
- package/build/__api/models/SearchVariationValueRelation.d.ts +0 -10
- package/build/__api/models/SocialLoginSettings.d.ts +0 -12
- package/build/__api/models/State.d.ts +0 -12
- package/build/__api/models/State.js +0 -1
- package/build/__api/models/StockLocation.d.ts +0 -18
- package/build/__api/models/StockLocation.js +0 -1
- package/build/__api/models/StockLocationAddress.d.ts +0 -19
- package/build/__api/models/StockLocationAddress.js +0 -1
- package/build/__api/models/StockLocationAddressCity.d.ts +0 -11
- package/build/__api/models/StockLocationAddressCity.js +0 -1
- package/build/__api/models/StockLocationAddressCountry.d.ts +0 -11
- package/build/__api/models/StockLocationAddressCountry.js +0 -1
- package/build/__api/models/StockLocationAddressDistrict.d.ts +0 -11
- package/build/__api/models/StockLocationAddressDistrict.js +0 -1
- package/build/__api/models/StockLocationAddressState.d.ts +0 -11
- package/build/__api/models/StockLocationAddressState.js +0 -1
- package/build/__api/models/Storefront.d.ts +0 -33
- package/build/__api/models/StorefrontDomain.d.ts +0 -13
- package/build/__api/models/StorefrontDynamicCurrencySettings.d.ts +0 -10
- package/build/__api/models/StorefrontLocalization.d.ts +0 -12
- package/build/__api/models/StorefrontOrder.d.ts +0 -50
- package/build/__api/models/StorefrontRouting.d.ts +0 -16
- package/build/__api/models/StorefrontTheme.d.ts +0 -15
- package/build/__api/models/StorefrontTransaction.d.ts +0 -27
- package/build/__api/models/StringFilterInput.d.ts +0 -13
- package/build/__api/models/Town.d.ts +0 -12
- package/build/__api/models/TrackingInfo.d.ts +0 -13
- package/build/__api/models/TrackingInfo.js +0 -1
- package/build/__api/models/TransactionError.d.ts +0 -11
- package/build/__api/models/TransactionError.js +0 -1
- package/build/__api/models/TransactionInstallmentPrice.d.ts +0 -13
- package/build/__api/models/TransactionInstallmentPrice.js +0 -1
- package/build/__api/models/TransactionPaymentMethodDetail.d.ts +0 -18
- package/build/__api/models/TransactionPaymentMethodDetail.js +0 -1
- package/build/__api/models/TransactionResponse.d.ts +0 -16
- package/build/__api/models/UpdateCartCampaignOfferInput.d.ts +0 -14
- package/build/__api/models/Variant.d.ts +0 -25
- package/build/__api/models/VariantStock.d.ts +0 -10
- package/build/__api/models/VariantType.d.ts +0 -16
- package/build/__api/models/VariantTypeTranslation.d.ts +0 -12
- package/build/__api/models/VariantValue.d.ts +0 -12
- package/build/__api/models/VariantValueRelation.d.ts +0 -10
- package/build/__api/models/VariantValueTranslation.d.ts +0 -10
- package/build/__api/models/_base.d.ts +0 -18
- package/build/__api/models/_base.js +0 -1
- package/build/__api/mutations/activateCustomer.d.ts +0 -6
- package/build/__api/mutations/addCouponCodeToCheckout.d.ts +0 -218
- package/build/__api/mutations/addItemToCart.d.ts +0 -245
- package/build/__api/mutations/addItemToCart.js +0 -1
- package/build/__api/mutations/createCustomerEmailSubscription.d.ts +0 -69
- package/build/__api/mutations/createCustomerEmailSubscription.js +0 -1
- package/build/__api/mutations/createCustomerReview.d.ts +0 -27
- package/build/__api/mutations/createCustomerReview.js +0 -1
- package/build/__api/mutations/createOrderRefundRequest.d.ts +0 -198
- package/build/__api/mutations/createOrderRefundRequest.js +0 -1
- package/build/__api/mutations/createSaleTransactionWithCart.d.ts +0 -17
- package/build/__api/mutations/createSaleTransactionWithCart.js +0 -1
- package/build/__api/mutations/createSaleTransactionWithCheckout.d.ts +0 -17
- package/build/__api/mutations/createStripePaymentIntent.d.ts +0 -13
- package/build/__api/mutations/createStripePaymentIntent.js +0 -1
- package/build/__api/mutations/customerForgotPassword.d.ts +0 -7
- package/build/__api/mutations/customerForgotPassword.js +0 -1
- package/build/__api/mutations/customerLogin.d.ts +0 -72
- package/build/__api/mutations/customerLogin.js +0 -1
- package/build/__api/mutations/customerRecoverPassword.d.ts +0 -8
- package/build/__api/mutations/customerRecoverPassword.js +0 -1
- package/build/__api/mutations/customerRefreshToken.d.ts +0 -11
- package/build/__api/mutations/customerRefreshToken.js +0 -1
- package/build/__api/mutations/deleteRaffleParticipantsList.d.ts +0 -6
- package/build/__api/mutations/getOrderLineFile.d.ts +0 -7
- package/build/__api/mutations/getOrderLineFile.js +0 -1
- package/build/__api/mutations/registerCustomer.d.ts +0 -77
- package/build/__api/mutations/registerCustomer.js +0 -1
- package/build/__api/mutations/retrieveInstallmentInfo.d.ts +0 -20
- package/build/__api/mutations/retrieveInstallmentInfo.js +0 -1
- package/build/__api/mutations/saveCart.d.ts +0 -245
- package/build/__api/mutations/saveCart.js +0 -1
- package/build/__api/mutations/saveCartCouponCode.d.ts +0 -246
- package/build/__api/mutations/saveCartCouponCode.js +0 -1
- package/build/__api/mutations/saveCheckout.d.ts +0 -217
- package/build/__api/mutations/saveFavoriteProduct.d.ts +0 -7
- package/build/__api/mutations/saveFavoriteProduct.js +0 -1
- package/build/__api/mutations/saveItemToCart.d.ts +0 -97
- package/build/__api/mutations/saveLastViewedProducts.d.ts +0 -20
- package/build/__api/mutations/saveLastViewedProducts.js +0 -1
- package/build/__api/mutations/saveMyCustomer.d.ts +0 -69
- package/build/__api/mutations/saveMyCustomer.js +0 -1
- package/build/__api/mutations/saveProductBackInStockRemind.d.ts +0 -18
- package/build/__api/mutations/saveProductBackInStockRemind.js +0 -1
- package/build/__api/mutations/saveRaffleParticipant.d.ts +0 -27
- package/build/__api/mutations/saveRaffleParticipant.js +0 -1
- package/build/__api/mutations/sendContactFormToMerchant.d.ts +0 -11
- package/build/__api/mutations/sendContactFormToMerchant.js +0 -1
- package/build/__api/mutations/updateCartCampaignOffer.d.ts +0 -245
- package/build/__api/mutations/updateCartCampaignOffer.js +0 -1
- package/build/__api/mutations/updateRaffleParticipant.d.ts +0 -28
- package/build/__api/queries/checkCustomerEmail.d.ts +0 -11
- package/build/__api/queries/checkCustomerEmail.js +0 -1
- package/build/__api/queries/checkStocks.d.ts +0 -13
- package/build/__api/queries/checkStocks.js +0 -1
- package/build/__api/queries/customerSocialLogin.d.ts +0 -71
- package/build/__api/queries/customerSocialLogin.js +0 -1
- package/build/__api/queries/getAvailableShippingCountries.d.ts +0 -6
- package/build/__api/queries/getAvailableShippingCountries.js +0 -1
- package/build/__api/queries/getAvailableStockLocations.d.ts +0 -28
- package/build/__api/queries/getAvailableStockLocations.js +0 -1
- package/build/__api/queries/getCart.d.ts +0 -99
- package/build/__api/queries/getCartById.d.ts +0 -246
- package/build/__api/queries/getCartById.js +0 -1
- package/build/__api/queries/getCheckoutByCartId.d.ts +0 -217
- package/build/__api/queries/getCheckoutById.d.ts +0 -217
- package/build/__api/queries/getCurrencyRate.d.ts +0 -17
- package/build/__api/queries/getCustomerOrders.d.ts +0 -198
- package/build/__api/queries/getCustomerOrders.js +0 -1
- package/build/__api/queries/getLastViewedProducts.d.ts +0 -20
- package/build/__api/queries/getLastViewedProducts.js +0 -1
- package/build/__api/queries/getMasterpassRequestToken.d.ts +0 -15
- package/build/__api/queries/getMasterpassRequestToken.js +0 -1
- package/build/__api/queries/getMyCountry.d.ts +0 -3
- package/build/__api/queries/getMyCountry.js +0 -1
- package/build/__api/queries/getMyCustomer.d.ts +0 -66
- package/build/__api/queries/getMyCustomer.js +0 -1
- package/build/__api/queries/getOrder.d.ts +0 -198
- package/build/__api/queries/getOrderByEmail.d.ts +0 -199
- package/build/__api/queries/getOrderByEmail.js +0 -1
- package/build/__api/queries/getProductCampaigns.d.ts +0 -47
- package/build/__api/queries/getProductCampaigns.js +0 -1
- package/build/__api/queries/getProductFilterData.d.ts +0 -167
- package/build/__api/queries/getProductFilterData.js +0 -1
- package/build/__api/queries/getProductOptionFileUrl.d.ts +0 -14
- package/build/__api/queries/getRaffleParticipants.d.ts +0 -24
- package/build/__api/queries/getRafflesByCustomerId.d.ts +0 -35
- package/build/__api/queries/getRafflesByCustomerId.js +0 -1
- package/build/__api/queries/getRelatedProducts.d.ts +0 -14
- package/build/__api/queries/getRelatedProducts.js +0 -1
- package/build/__api/queries/getStorefront.d.ts +0 -64
- package/build/__api/queries/getStorefront.js +0 -1
- package/build/__api/queries/getVariantStockLocations.d.ts +0 -30
- package/build/__api/queries/isFavoriteProduct.d.ts +0 -6
- package/build/__api/queries/isFavoriteProduct.js +0 -1
- package/build/__api/queries/listBlog.d.ts +0 -76
- package/build/__api/queries/listBlog.js +0 -1
- package/build/__api/queries/listBlogCategory.d.ts +0 -35
- package/build/__api/queries/listBlogCategory.js +0 -1
- package/build/__api/queries/listBlogMetadata.d.ts +0 -30
- package/build/__api/queries/listBlogMetadata.js +0 -1
- package/build/__api/queries/listCampaignOffer.d.ts +0 -37
- package/build/__api/queries/listCategory.d.ts +0 -89
- package/build/__api/queries/listCategory.js +0 -1
- package/build/__api/queries/listCheckoutSettings.d.ts +0 -29
- package/build/__api/queries/listCheckoutSettings.js +0 -1
- package/build/__api/queries/listCity.d.ts +0 -25
- package/build/__api/queries/listCity.js +0 -1
- package/build/__api/queries/listCountry.d.ts +0 -31
- package/build/__api/queries/listCountry.js +0 -1
- package/build/__api/queries/listCustomerAttribute.d.ts +0 -27
- package/build/__api/queries/listCustomerAttribute.js +0 -1
- package/build/__api/queries/listCustomerReviewSummary.d.ts +0 -23
- package/build/__api/queries/listCustomerReviewSummary.js +0 -1
- package/build/__api/queries/listCustomerReviews.d.ts +0 -35
- package/build/__api/queries/listCustomerReviews.js +0 -1
- package/build/__api/queries/listDistrict.d.ts +0 -26
- package/build/__api/queries/listDistrict.js +0 -1
- package/build/__api/queries/listFavoriteProducts.d.ts +0 -12
- package/build/__api/queries/listFavoriteProducts.js +0 -1
- package/build/__api/queries/listHTMLMetaData.d.ts +0 -34
- package/build/__api/queries/listHTMLMetaData.js +0 -1
- package/build/__api/queries/listMerchantSettings.d.ts +0 -46
- package/build/__api/queries/listMerchantSettings.js +0 -1
- package/build/__api/queries/listOrderRefundSettings.d.ts +0 -21
- package/build/__api/queries/listOrderRefundSettings.js +0 -1
- package/build/__api/queries/listOrderTransactions.d.ts +0 -43
- package/build/__api/queries/listOrderTransactions.js +0 -1
- package/build/__api/queries/listPaymentGateway.d.ts +0 -40
- package/build/__api/queries/listPaymentGateway.js +0 -1
- package/build/__api/queries/listProduct.d.ts +0 -94
- package/build/__api/queries/listProductAttribute.d.ts +0 -33
- package/build/__api/queries/listProductAttribute.js +0 -1
- package/build/__api/queries/listProductBackInStockRemind.d.ts +0 -23
- package/build/__api/queries/listProductBackInStockRemind.js +0 -1
- package/build/__api/queries/listProductBrand.d.ts +0 -51
- package/build/__api/queries/listProductBrand.js +0 -1
- package/build/__api/queries/listProductOptionSet.d.ts +0 -59
- package/build/__api/queries/listProductOptionSet.js +0 -1
- package/build/__api/queries/listProductStockLocation.d.ts +0 -18
- package/build/__api/queries/listRaffle.d.ts +0 -47
- package/build/__api/queries/listRaffle.js +0 -1
- package/build/__api/queries/listRaffleMetadata.d.ts +0 -26
- package/build/__api/queries/listRaffleMetadata.js +0 -1
- package/build/__api/queries/listState.d.ts +0 -20
- package/build/__api/queries/listState.js +0 -1
- package/build/__api/queries/listStockLocation.d.ts +0 -35
- package/build/__api/queries/listStockLocation.js +0 -1
- package/build/__api/queries/listTown.d.ts +0 -20
- package/build/__api/queries/listVariantType.d.ts +0 -29
- package/build/__api/queries/searchProducts.d.ts +0 -132
- package/build/__api/queries/searchProducts.js +0 -1
- package/build/__api/types/index.d.ts +0 -2705
- package/build/__api/types/index.js +0 -1
- package/build/_virtual/Axios.js_commonjs-proxy2.js +0 -1
- package/build/_virtual/Cancel.js_commonjs-proxy.js +0 -1
- package/build/_virtual/CancelToken.js_commonjs-proxy.js +0 -1
- package/build/_virtual/InterceptorManager.js_commonjs-proxy.js +0 -1
- package/build/_virtual/axios.js_commonjs-proxy.js +0 -1
- package/build/_virtual/bind.js_commonjs-proxy.js +0 -1
- package/build/_virtual/browser.js_commonjs-proxy.js +0 -1
- package/build/_virtual/buildFullPath.js_commonjs-proxy.js +0 -1
- package/build/_virtual/buildURL.js_commonjs-proxy.js +0 -1
- package/build/_virtual/combineURLs.js_commonjs-proxy.js +0 -1
- package/build/_virtual/common.js_commonjs-proxy.js +0 -1
- package/build/_virtual/cookies.js_commonjs-proxy.js +0 -1
- package/build/_virtual/createError.js_commonjs-proxy.js +0 -1
- package/build/_virtual/debug.js_commonjs-proxy.js +0 -1
- package/build/_virtual/defaults.js_commonjs-proxy.js +0 -1
- package/build/_virtual/dispatchRequest.js_commonjs-proxy.js +0 -1
- package/build/_virtual/enhanceError.js_commonjs-proxy.js +0 -1
- package/build/_virtual/http.js_commonjs-proxy.js +0 -1
- package/build/_virtual/index.js_commonjs-proxy14.js +0 -1
- package/build/_virtual/index.js_commonjs-proxy15.js +0 -1
- package/build/_virtual/index.js_commonjs-proxy16.js +0 -1
- package/build/_virtual/index.js_commonjs-proxy17.js +0 -1
- package/build/_virtual/index.js_commonjs-proxy18.js +0 -1
- package/build/_virtual/isAbsoluteURL.js_commonjs-proxy.js +0 -1
- package/build/_virtual/isAxiosError.js_commonjs-proxy.js +0 -1
- package/build/_virtual/isCancel.js_commonjs-proxy.js +0 -1
- package/build/_virtual/isURLSameOrigin.js_commonjs-proxy.js +0 -1
- package/build/_virtual/mergeConfig.js_commonjs-proxy.js +0 -1
- package/build/_virtual/node.js_commonjs-proxy3.js +0 -1
- package/build/_virtual/normalizeHeaderName.js_commonjs-proxy.js +0 -1
- package/build/_virtual/parseHeaders.js_commonjs-proxy.js +0 -1
- package/build/_virtual/settle.js_commonjs-proxy.js +0 -1
- package/build/_virtual/spread.js_commonjs-proxy.js +0 -1
- package/build/_virtual/transformData.js_commonjs-proxy.js +0 -1
- package/build/_virtual/utils.js_commonjs-proxy.js +0 -1
- package/build/_virtual/validator.js_commonjs-proxy.js +0 -1
- package/build/_virtual/xhr.js_commonjs-proxy.js +0 -1
- package/build/analytics/tiktokPixel.d.ts +0 -14
- package/build/analytics/tiktokPixel.js +0 -1
- package/build/components/checkout/components/delivery-methods/icon-button/index.d.ts +0 -10
- package/build/components/checkout/components/delivery-methods/icon-button/index.js +0 -1
- package/build/components/checkout/components/delivery-methods/icon-button/style.module.scss.js +0 -1
- package/build/components/checkout/components/delivery-methods/icons/box.d.ts +0 -6
- package/build/components/checkout/components/delivery-methods/icons/box.js +0 -1
- package/build/components/checkout/components/delivery-methods/icons/store.d.ts +0 -6
- package/build/components/checkout/components/delivery-methods/icons/store.js +0 -1
- package/build/components/checkout/components/delivery-methods/index.d.ts +0 -7
- package/build/components/checkout/components/delivery-methods/index.js +0 -1
- package/build/components/checkout/components/delivery-methods/style.module.scss.js +0 -1
- package/build/components/checkout/components/master-pass/credit-card-form/index.d.ts +0 -9
- package/build/components/checkout/components/master-pass/credit-card-form/index.js +0 -1
- package/build/components/checkout/components/master-pass/credit-card-form/style.module.scss.js +0 -1
- package/build/components/checkout/components/master-pass/modal/index.d.ts +0 -11
- package/build/components/checkout/components/master-pass/modal/index.js +0 -1
- package/build/components/checkout/components/master-pass/modal/style.module.scss.js +0 -1
- package/build/components/checkout/components/master-pass/modal/svg/modal-close.d.ts +0 -3
- package/build/components/checkout/components/master-pass/modal/svg/modal-close.js +0 -1
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/index.d.ts +0 -11
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/index.js +0 -1
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/style.module.scss.js +0 -1
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/info-mark.d.ts +0 -3
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/info-mark.js +0 -1
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/master-pass-by-master-card-big.d.ts +0 -3
- package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/master-pass-by-master-card-big.js +0 -1
- package/build/components/checkout/components/master-pass/modal-otp/index.d.ts +0 -10
- package/build/components/checkout/components/master-pass/modal-otp/index.js +0 -1
- package/build/components/checkout/components/master-pass/modal-otp/style.module.scss.js +0 -1
- package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass.d.ts +0 -3
- package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass.js +0 -1
- package/build/components/checkout/components/master-pass/modal-response/index.d.ts +0 -10
- package/build/components/checkout/components/master-pass/modal-response/index.js +0 -1
- package/build/components/checkout/components/master-pass/modal-response/style.module.scss.js +0 -1
- package/build/components/checkout/components/master-pass/modal-success/index.d.ts +0 -11
- package/build/components/checkout/components/master-pass/modal-success/index.js +0 -1
- package/build/components/checkout/components/master-pass/modal-success/style.module.scss.js +0 -1
- package/build/components/checkout/components/master-pass/modal-success/svg/master-pass-by-master-card-small.d.ts +0 -3
- package/build/components/checkout/components/master-pass/modal-success/svg/master-pass-by-master-card-small.js +0 -1
- package/build/components/checkout/components/master-pass/modal-success/svg/success.d.ts +0 -3
- package/build/components/checkout/components/master-pass/modal-success/svg/success.js +0 -1
- package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.d.ts +0 -3
- package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.js +0 -1
- package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.d.ts +0 -3
- package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.js +0 -1
- package/build/components/checkout/components/modal/useEscape.d.ts +0 -5
- package/build/components/checkout/components/modal/useEscape.js +0 -1
- package/build/components/checkout/components/offer-product/index.d.ts +0 -8
- package/build/components/checkout/components/offer-product/index.js +0 -1
- package/build/components/checkout/components/offer-product/select/arrows.d.ts +0 -6
- package/build/components/checkout/components/offer-product/select/arrows.js +0 -1
- package/build/components/checkout/components/offer-product/select/index.d.ts +0 -11
- package/build/components/checkout/components/offer-product/select/index.js +0 -1
- package/build/components/checkout/components/offer-product/select/style.module.scss.js +0 -1
- package/build/components/checkout/components/offer-product/style.module.scss.js +0 -1
- package/build/components/checkout/components/stripe/checkout-form.d.ts +0 -8
- package/build/components/checkout/components/stripe/checkout-form.js +0 -1
- package/build/components/checkout/components/stripe/index.d.ts +0 -9
- package/build/components/checkout/components/stripe/index.js +0 -1
- package/build/components/checkout/components/stripe/style.module.scss.js +0 -1
- package/build/components/checkout/modelMasterPass.d.ts +0 -202
- package/build/components/checkout/modelMasterPass.js +0 -1
- package/build/components/link/index.d.ts +0 -4
- package/build/components/link/index.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/_virtual/_commonjsHelpers.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/_virtual/axios-error-format.js_commonjs-exports.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/_virtual/core.js_commonjs-exports.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/_virtual/index.js_commonjs-exports.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/config/index.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/axios-error-format.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/core.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/index.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/index.mjs.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Hash.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_ListCache.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Map.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_MapCache.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Symbol.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_arrayMap.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_assignValue.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_assocIndexOf.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseAssignValue.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseGetTag.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseIsNative.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseSet.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseToString.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_castPath.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_coreJsData.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_defineProperty.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_freeGlobal.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getMapData.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getNative.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getRawTag.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getValue.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashClear.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashDelete.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashGet.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashHas.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashSet.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isIndex.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isKey.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isKeyable.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isMasked.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheClear.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheDelete.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheGet.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheHas.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheSet.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheClear.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheDelete.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheGet.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheHas.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheSet.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_memoizeCapped.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_nativeCreate.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_objectToString.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_root.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_stringToPath.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_toKey.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/_toSource.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/eq.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/isArray.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/isFunction.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/isObject.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/isObjectLike.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/isSymbol.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/memoize.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/set.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/lodash/toString.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/ext/tslib/tslib.es6.js +0 -15
- package/build/ext/@ikas/fe-api-client/build/helpers/generate-return-fields.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/utils/api.js +0 -1
- package/build/ext/@ikas/fe-api-client/build/utils/fetch-query.js +0 -1
- package/build/ext/@stripe/react-stripe-js/dist/react-stripe.esm.js +0 -1
- package/build/ext/@stripe/stripe-js/dist/stripe.esm.js +0 -1
- package/build/ext/axios/index.js +0 -1
- package/build/ext/axios/lib/adapters/http.js +0 -1
- package/build/ext/axios/lib/adapters/xhr.js +0 -1
- package/build/ext/axios/lib/axios.js +0 -1
- package/build/ext/axios/lib/cancel/Cancel.js +0 -1
- package/build/ext/axios/lib/cancel/CancelToken.js +0 -1
- package/build/ext/axios/lib/cancel/isCancel.js +0 -1
- package/build/ext/axios/lib/core/Axios.js +0 -1
- package/build/ext/axios/lib/core/InterceptorManager.js +0 -1
- package/build/ext/axios/lib/core/buildFullPath.js +0 -1
- package/build/ext/axios/lib/core/createError.js +0 -1
- package/build/ext/axios/lib/core/dispatchRequest.js +0 -1
- package/build/ext/axios/lib/core/enhanceError.js +0 -1
- package/build/ext/axios/lib/core/mergeConfig.js +0 -1
- package/build/ext/axios/lib/core/settle.js +0 -1
- package/build/ext/axios/lib/core/transformData.js +0 -1
- package/build/ext/axios/lib/defaults.js +0 -1
- package/build/ext/axios/lib/helpers/bind.js +0 -1
- package/build/ext/axios/lib/helpers/buildURL.js +0 -1
- package/build/ext/axios/lib/helpers/combineURLs.js +0 -1
- package/build/ext/axios/lib/helpers/cookies.js +0 -1
- package/build/ext/axios/lib/helpers/isAbsoluteURL.js +0 -1
- package/build/ext/axios/lib/helpers/isAxiosError.js +0 -1
- package/build/ext/axios/lib/helpers/isURLSameOrigin.js +0 -1
- package/build/ext/axios/lib/helpers/normalizeHeaderName.js +0 -1
- package/build/ext/axios/lib/helpers/parseHeaders.js +0 -1
- package/build/ext/axios/lib/helpers/spread.js +0 -1
- package/build/ext/axios/lib/helpers/validator.js +0 -1
- package/build/ext/axios/lib/utils.js +0 -1
- package/build/ext/axios/package.json.js +0 -1
- package/build/ext/debug/src/browser.js +0 -1
- package/build/ext/debug/src/common.js +0 -1
- package/build/ext/debug/src/index.js +0 -1
- package/build/ext/debug/src/node.js +0 -1
- package/build/ext/follow-redirects/debug.js +0 -1
- package/build/ext/follow-redirects/index.js +0 -1
- package/build/ext/has-flag/index.js +0 -1
- package/build/ext/ms/index.js +0 -1
- package/build/ext/supports-color/index.js +0 -1
- package/build/ext/uuid/dist/esm-node/rng.js +0 -1
- package/build/ext/uuid/dist/esm-node/stringify.js +0 -1
- package/build/ext/uuid/dist/esm-node/v4.js +0 -1
- package/build/ikas.cjs +0 -2
- package/build/models/data/blog/enums.d.ts +0 -2
- package/build/models/data/brand/enums.d.ts +0 -2
- package/build/models/data/cart/campaign-offer/enums.d.ts +0 -3
- package/build/models/data/cart/campaign-offer/index.d.ts +0 -8
- package/build/models/data/cart/campaign-offer/index.js +0 -1
- package/build/models/data/cart/enums.d.ts +0 -2
- package/build/models/data/category/enums.d.ts +0 -2
- package/build/models/data/checkout-settings/enums.d.ts +0 -2
- package/build/models/data/city/index.js +0 -1
- package/build/models/data/country/index.js +0 -1
- package/build/models/data/customer/enums.d.ts +0 -4
- package/build/models/data/customer-attribute/customer-attribute-sales-channel/enums.d.ts +0 -3
- package/build/models/data/customer-attribute/enums.d.ts +0 -2
- package/build/models/data/customer-review/enums.d.ts +0 -2
- package/build/models/data/district/index.js +0 -1
- package/build/models/data/html-meta-data/enums.d.ts +0 -2
- package/build/models/data/order/adjustment/enums.d.ts +0 -4
- package/build/models/data/order/adjustment/index.js +0 -1
- package/build/models/data/order/customer/index.d.ts +0 -10
- package/build/models/data/order/customer/index.js +0 -1
- package/build/models/data/order/enums.d.ts +0 -6
- package/build/models/data/order/gift-line/index.js +0 -1
- package/build/models/data/order/invoice/enums.d.ts +0 -2
- package/build/models/data/order/invoice/index.d.ts +0 -7
- package/build/models/data/order/invoice/index.js +0 -1
- package/build/models/data/order/line-item/enums.d.ts +0 -2
- package/build/models/data/order/line-item/option/index.d.ts +0 -9
- package/build/models/data/order/line-item/option/index.js +0 -1
- package/build/models/data/order/line-item/option/value/index.d.ts +0 -3
- package/build/models/data/order/line-item/option/value/index.js +0 -1
- package/build/models/data/order/package/enums.d.ts +0 -2
- package/build/models/data/order/package/index.d.ts +0 -9
- package/build/models/data/order/package/index.js +0 -1
- package/build/models/data/order/package/tracking-info/index.d.ts +0 -3
- package/build/models/data/order/package/tracking-info/index.js +0 -1
- package/build/models/data/order/payment-method/enums.d.ts +0 -2
- package/build/models/data/order/payment-method/index.d.ts +0 -7
- package/build/models/data/order/payment-method/index.js +0 -1
- package/build/models/data/order/refund/index.js +0 -1
- package/build/models/data/order/refund/line-item/index.d.ts +0 -3
- package/build/models/data/order/refund/line-item/index.js +0 -1
- package/build/models/data/order/shipping-line/index.js +0 -1
- package/build/models/data/order/tax-line/index.d.ts +0 -3
- package/build/models/data/order/tax-line/index.js +0 -1
- package/build/models/data/order/transaction/enums.d.ts +0 -5
- package/build/models/data/order/transaction/index.d.ts +0 -37
- package/build/models/data/order/transaction/index.js +0 -1
- package/build/models/data/payment-gateway/additional-price/index.d.ts +0 -7
- package/build/models/data/payment-gateway/additional-price/index.js +0 -1
- package/build/models/data/payment-gateway/enums.d.ts +0 -5
- package/build/models/data/product-attribute/table-template/index.d.ts +0 -6
- package/build/models/data/product-attribute/table-template/index.js +0 -1
- package/build/models/data/product-campaign/campaign/index.d.ts +0 -41
- package/build/models/data/product-option-set/enums.d.ts +0 -3
- package/build/models/data/state/index.js +0 -1
- package/build/store/blog/index.d.ts +0 -28
- package/build/store/blog/index.js +0 -1
- package/build/store/brand/index.d.ts +0 -12
- package/build/store/brand/index.js +0 -1
- package/build/store/cart/api.d.ts +0 -14
- package/build/store/cart/api.js +0 -1
- package/build/store/cart/index.d.ts +0 -28
- package/build/store/cart/index.js +0 -1
- package/build/store/category/index.d.ts +0 -12
- package/build/store/category/index.js +0 -1
- package/build/store/checkout/index.d.ts +0 -26
- package/build/store/checkout/index.js +0 -1
- package/build/store/customer/api.d.ts +0 -82
- package/build/store/customer/api.js +0 -1
- package/build/store/customer/index.d.ts +0 -79
- package/build/store/customer/index.js +0 -1
- package/build/store/html-meta-data/index.d.ts +0 -6
- package/build/store/html-meta-data/index.js +0 -1
- package/build/store/location/index.d.ts +0 -13
- package/build/store/location/index.js +0 -1
- package/build/store/merchant/index.d.ts +0 -6
- package/build/store/merchant/index.js +0 -1
- package/build/store/product/index.d.ts +0 -45
- package/build/store/product/index.js +0 -1
- package/build/store/raffle/index.d.ts +0 -18
- package/build/store/raffle/index.js +0 -1
- package/build/store/storefront/index.d.ts +0 -6
- package/build/store/storefront/index.js +0 -1
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { CustomerAttributeValueInput, CustomerAccountStatusEnum, CustomerEmailSubscriptionStatusesEnum } from "./../../../__generated__/global-types";
|
|
2
|
+
export interface registerCustomer_registerCustomer_customer_addresses_city {
|
|
3
|
+
__typename: "CustomerAddressCity";
|
|
4
|
+
/**
|
|
5
|
+
* The two-letter country code corresponding to the customer's country.
|
|
6
|
+
*/
|
|
7
|
+
code: string | null;
|
|
8
|
+
id: string | null;
|
|
9
|
+
/**
|
|
10
|
+
* The customer's normalized city name.
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
13
|
+
}
|
|
14
|
+
export interface registerCustomer_registerCustomer_customer_addresses_country {
|
|
15
|
+
__typename: "CustomerAddressCountry";
|
|
16
|
+
/**
|
|
17
|
+
* The two-letter country code corresponding to the customer's country.
|
|
18
|
+
*/
|
|
19
|
+
code: string | null;
|
|
20
|
+
id: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* The customer's normalized country name.
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* The two-letter country code corresponding to the customer's country.
|
|
27
|
+
*/
|
|
28
|
+
iso2: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* The two-letter country code corresponding to the customer's country.
|
|
31
|
+
*/
|
|
32
|
+
iso3: string | null;
|
|
33
|
+
}
|
|
34
|
+
export interface registerCustomer_registerCustomer_customer_addresses_district {
|
|
35
|
+
__typename: "CustomerAddressDistrict";
|
|
36
|
+
id: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* The customer's normalized district name.
|
|
39
|
+
*/
|
|
40
|
+
name: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* The two-letter district code corresponding to the customer's district.
|
|
43
|
+
*/
|
|
44
|
+
code: string | null;
|
|
45
|
+
}
|
|
46
|
+
export interface registerCustomer_registerCustomer_customer_addresses_state {
|
|
47
|
+
__typename: "CustomerAddressState";
|
|
48
|
+
name: string | null;
|
|
49
|
+
id: string | null;
|
|
50
|
+
code: string | null;
|
|
51
|
+
}
|
|
52
|
+
export interface registerCustomer_registerCustomer_customer_addresses {
|
|
53
|
+
__typename: "CustomerAddress";
|
|
54
|
+
/**
|
|
55
|
+
* The customer's mailing address.
|
|
56
|
+
*/
|
|
57
|
+
addressLine1: string;
|
|
58
|
+
/**
|
|
59
|
+
* An additional field for the customer's mailing address.
|
|
60
|
+
*/
|
|
61
|
+
addressLine2: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* The customer's city.
|
|
64
|
+
*/
|
|
65
|
+
city: registerCustomer_registerCustomer_customer_addresses_city;
|
|
66
|
+
/**
|
|
67
|
+
* The customer's company.
|
|
68
|
+
*/
|
|
69
|
+
company: string | null;
|
|
70
|
+
/**
|
|
71
|
+
* The customer's country.
|
|
72
|
+
*/
|
|
73
|
+
country: registerCustomer_registerCustomer_customer_addresses_country;
|
|
74
|
+
/**
|
|
75
|
+
* The customer's district in city.
|
|
76
|
+
*/
|
|
77
|
+
district: registerCustomer_registerCustomer_customer_addresses_district | null;
|
|
78
|
+
id: string;
|
|
79
|
+
/**
|
|
80
|
+
* The customer's first name.
|
|
81
|
+
*/
|
|
82
|
+
firstName: string;
|
|
83
|
+
/**
|
|
84
|
+
* Whether this address is the default address for the customer. Returns `true` for each default address.
|
|
85
|
+
*/
|
|
86
|
+
isDefault: boolean | null;
|
|
87
|
+
/**
|
|
88
|
+
* The customer's last name.
|
|
89
|
+
*/
|
|
90
|
+
lastName: string;
|
|
91
|
+
/**
|
|
92
|
+
* The customer's postal code, also known as zip, postcode, etc.
|
|
93
|
+
*/
|
|
94
|
+
postalCode: string | null;
|
|
95
|
+
state: registerCustomer_registerCustomer_customer_addresses_state | null;
|
|
96
|
+
/**
|
|
97
|
+
* Tax number that the customer will use for orders
|
|
98
|
+
*/
|
|
99
|
+
taxNumber: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* If customer is corporate, customer can use that field to fill their Tax Office name.
|
|
102
|
+
*/
|
|
103
|
+
taxOffice: string | null;
|
|
104
|
+
title: string;
|
|
105
|
+
}
|
|
106
|
+
export interface registerCustomer_registerCustomer_customer_attributes {
|
|
107
|
+
__typename: "CustomerAttributeValue";
|
|
108
|
+
customerAttributeId: string | null;
|
|
109
|
+
customerAttributeOptionId: string | null;
|
|
110
|
+
value: string | null;
|
|
111
|
+
}
|
|
112
|
+
export interface registerCustomer_registerCustomer_customer {
|
|
113
|
+
__typename: "Customer";
|
|
114
|
+
id: string;
|
|
115
|
+
/**
|
|
116
|
+
* Email verification status. **isEmailVerified** returns `true` if the email is verified.
|
|
117
|
+
*/
|
|
118
|
+
isEmailVerified: boolean | null;
|
|
119
|
+
/**
|
|
120
|
+
* Phone verification status. **isPhoneVerified** returns `true` if the email is verified.
|
|
121
|
+
*/
|
|
122
|
+
isPhoneVerified: boolean | null;
|
|
123
|
+
/**
|
|
124
|
+
* The customer's last name.
|
|
125
|
+
*/
|
|
126
|
+
lastName: string | null;
|
|
127
|
+
/**
|
|
128
|
+
* A list of the ten most recently updated addresses for the customer.
|
|
129
|
+
*/
|
|
130
|
+
addresses: registerCustomer_registerCustomer_customer_addresses[] | null;
|
|
131
|
+
/**
|
|
132
|
+
* The customer's phone number
|
|
133
|
+
*/
|
|
134
|
+
phone: string | null;
|
|
135
|
+
/**
|
|
136
|
+
* CustomerAccountStatusEnum
|
|
137
|
+
*/
|
|
138
|
+
accountStatus: CustomerAccountStatusEnum | null;
|
|
139
|
+
/**
|
|
140
|
+
* The unique email address of the customer. Attempting to assign the same email
|
|
141
|
+
* address to multiple customers returns an error.
|
|
142
|
+
*/
|
|
143
|
+
email: string | null;
|
|
144
|
+
/**
|
|
145
|
+
* The customer's first name.
|
|
146
|
+
*/
|
|
147
|
+
firstName: string;
|
|
148
|
+
/**
|
|
149
|
+
* CustomerEmailSubscriptionStatusesEnum
|
|
150
|
+
*/
|
|
151
|
+
subscriptionStatus: CustomerEmailSubscriptionStatusesEnum | null;
|
|
152
|
+
/**
|
|
153
|
+
* Groups that the store owner attaches to the customer.
|
|
154
|
+
*/
|
|
155
|
+
customerGroupIds: string[] | null;
|
|
156
|
+
attributes: registerCustomer_registerCustomer_customer_attributes[] | null;
|
|
157
|
+
}
|
|
158
|
+
export interface registerCustomer_registerCustomer {
|
|
159
|
+
__typename: "CustomerLoginResponse";
|
|
160
|
+
token: string;
|
|
161
|
+
tokenExpiry: number;
|
|
162
|
+
customer: registerCustomer_registerCustomer_customer | null;
|
|
163
|
+
}
|
|
164
|
+
export interface registerCustomer {
|
|
165
|
+
registerCustomer: registerCustomer_registerCustomer;
|
|
166
|
+
}
|
|
167
|
+
export interface registerCustomerVariables {
|
|
168
|
+
email: string;
|
|
169
|
+
password: string;
|
|
170
|
+
firstName: string;
|
|
171
|
+
lastName: string;
|
|
172
|
+
isAcceptMarketing?: boolean | null;
|
|
173
|
+
locale?: string | null;
|
|
174
|
+
attributes?: CustomerAttributeValueInput[] | null;
|
|
175
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ProductLastViewedInput } from "./../../../__generated__/global-types";
|
|
2
|
+
export interface saveLastViewedProducts_saveLastViewedProducts {
|
|
3
|
+
__typename: "ProductLastViewed";
|
|
4
|
+
id: string;
|
|
5
|
+
}
|
|
6
|
+
export interface saveLastViewedProducts {
|
|
7
|
+
saveLastViewedProducts: saveLastViewedProducts_saveLastViewedProducts;
|
|
8
|
+
}
|
|
9
|
+
export interface saveLastViewedProductsVariables {
|
|
10
|
+
input: ProductLastViewedInput;
|
|
11
|
+
}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { SaveMyCustomerInput, CustomerEmailSubscriptionStatusesEnum, CustomerAccountStatusEnum } from "./../../../__generated__/global-types";
|
|
2
|
+
export interface saveMyCustomer_saveMyCustomer_addresses_city {
|
|
3
|
+
__typename: "CustomerAddressCity";
|
|
4
|
+
/**
|
|
5
|
+
* The two-letter country code corresponding to the customer's country.
|
|
6
|
+
*/
|
|
7
|
+
code: string | null;
|
|
8
|
+
id: string | null;
|
|
9
|
+
/**
|
|
10
|
+
* The customer's normalized city name.
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
13
|
+
}
|
|
14
|
+
export interface saveMyCustomer_saveMyCustomer_addresses_country {
|
|
15
|
+
__typename: "CustomerAddressCountry";
|
|
16
|
+
/**
|
|
17
|
+
* The two-letter country code corresponding to the customer's country.
|
|
18
|
+
*/
|
|
19
|
+
code: string | null;
|
|
20
|
+
id: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* The customer's normalized country name.
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* The two-letter country code corresponding to the customer's country.
|
|
27
|
+
*/
|
|
28
|
+
iso2: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* The two-letter country code corresponding to the customer's country.
|
|
31
|
+
*/
|
|
32
|
+
iso3: string | null;
|
|
33
|
+
}
|
|
34
|
+
export interface saveMyCustomer_saveMyCustomer_addresses_district {
|
|
35
|
+
__typename: "CustomerAddressDistrict";
|
|
36
|
+
id: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* The customer's normalized district name.
|
|
39
|
+
*/
|
|
40
|
+
name: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* The two-letter district code corresponding to the customer's district.
|
|
43
|
+
*/
|
|
44
|
+
code: string | null;
|
|
45
|
+
}
|
|
46
|
+
export interface saveMyCustomer_saveMyCustomer_addresses_state {
|
|
47
|
+
__typename: "CustomerAddressState";
|
|
48
|
+
name: string | null;
|
|
49
|
+
id: string | null;
|
|
50
|
+
code: string | null;
|
|
51
|
+
}
|
|
52
|
+
export interface saveMyCustomer_saveMyCustomer_addresses {
|
|
53
|
+
__typename: "CustomerAddress";
|
|
54
|
+
/**
|
|
55
|
+
* The customer's mailing address.
|
|
56
|
+
*/
|
|
57
|
+
addressLine1: string;
|
|
58
|
+
/**
|
|
59
|
+
* An additional field for the customer's mailing address.
|
|
60
|
+
*/
|
|
61
|
+
addressLine2: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* The customer's city.
|
|
64
|
+
*/
|
|
65
|
+
city: saveMyCustomer_saveMyCustomer_addresses_city;
|
|
66
|
+
/**
|
|
67
|
+
* The customer's company.
|
|
68
|
+
*/
|
|
69
|
+
company: string | null;
|
|
70
|
+
/**
|
|
71
|
+
* The customer's country.
|
|
72
|
+
*/
|
|
73
|
+
country: saveMyCustomer_saveMyCustomer_addresses_country;
|
|
74
|
+
/**
|
|
75
|
+
* The customer's district in city.
|
|
76
|
+
*/
|
|
77
|
+
district: saveMyCustomer_saveMyCustomer_addresses_district | null;
|
|
78
|
+
id: string;
|
|
79
|
+
/**
|
|
80
|
+
* The customer's first name.
|
|
81
|
+
*/
|
|
82
|
+
firstName: string;
|
|
83
|
+
/**
|
|
84
|
+
* Whether this address is the default address for the customer. Returns `true` for each default address.
|
|
85
|
+
*/
|
|
86
|
+
isDefault: boolean | null;
|
|
87
|
+
/**
|
|
88
|
+
* The customer's last name.
|
|
89
|
+
*/
|
|
90
|
+
lastName: string;
|
|
91
|
+
/**
|
|
92
|
+
* The customer's postal code, also known as zip, postcode, etc.
|
|
93
|
+
*/
|
|
94
|
+
postalCode: string | null;
|
|
95
|
+
state: saveMyCustomer_saveMyCustomer_addresses_state | null;
|
|
96
|
+
/**
|
|
97
|
+
* The customer's identity numbers.
|
|
98
|
+
*/
|
|
99
|
+
identityNumber: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* Tax number that the customer will use for orders
|
|
102
|
+
*/
|
|
103
|
+
taxNumber: string | null;
|
|
104
|
+
/**
|
|
105
|
+
* If customer is corporate, customer can use that field to fill their Tax Office name.
|
|
106
|
+
*/
|
|
107
|
+
taxOffice: string | null;
|
|
108
|
+
title: string;
|
|
109
|
+
/**
|
|
110
|
+
* The customer's phone number at this address
|
|
111
|
+
*/
|
|
112
|
+
phone: string | null;
|
|
113
|
+
}
|
|
114
|
+
export interface saveMyCustomer_saveMyCustomer_attributes {
|
|
115
|
+
__typename: "CustomerAttributeValue";
|
|
116
|
+
customerAttributeId: string | null;
|
|
117
|
+
customerAttributeOptionId: string | null;
|
|
118
|
+
value: string | null;
|
|
119
|
+
}
|
|
120
|
+
export interface saveMyCustomer_saveMyCustomer {
|
|
121
|
+
__typename: "Customer";
|
|
122
|
+
id: string;
|
|
123
|
+
/**
|
|
124
|
+
* Email verification status. **isEmailVerified** returns `true` if the email is verified.
|
|
125
|
+
*/
|
|
126
|
+
isEmailVerified: boolean | null;
|
|
127
|
+
/**
|
|
128
|
+
* Phone verification status. **isPhoneVerified** returns `true` if the email is verified.
|
|
129
|
+
*/
|
|
130
|
+
isPhoneVerified: boolean | null;
|
|
131
|
+
/**
|
|
132
|
+
* The customer's last name.
|
|
133
|
+
*/
|
|
134
|
+
lastName: string | null;
|
|
135
|
+
/**
|
|
136
|
+
* A list of the ten most recently updated addresses for the customer.
|
|
137
|
+
*/
|
|
138
|
+
addresses: saveMyCustomer_saveMyCustomer_addresses[] | null;
|
|
139
|
+
/**
|
|
140
|
+
* The customer's phone number
|
|
141
|
+
*/
|
|
142
|
+
phone: string | null;
|
|
143
|
+
/**
|
|
144
|
+
* CustomerEmailSubscriptionStatusesEnum
|
|
145
|
+
*/
|
|
146
|
+
subscriptionStatus: CustomerEmailSubscriptionStatusesEnum | null;
|
|
147
|
+
/**
|
|
148
|
+
* CustomerAccountStatusEnum
|
|
149
|
+
*/
|
|
150
|
+
accountStatus: CustomerAccountStatusEnum | null;
|
|
151
|
+
/**
|
|
152
|
+
* The unique email address of the customer. Attempting to assign the same email
|
|
153
|
+
* address to multiple customers returns an error.
|
|
154
|
+
*/
|
|
155
|
+
email: string | null;
|
|
156
|
+
/**
|
|
157
|
+
* The customer's first name.
|
|
158
|
+
*/
|
|
159
|
+
firstName: string;
|
|
160
|
+
/**
|
|
161
|
+
* Groups that the store owner attaches to the customer.
|
|
162
|
+
*/
|
|
163
|
+
customerGroupIds: string[] | null;
|
|
164
|
+
attributes: saveMyCustomer_saveMyCustomer_attributes[] | null;
|
|
165
|
+
}
|
|
166
|
+
export interface saveMyCustomer {
|
|
167
|
+
saveMyCustomer: saveMyCustomer_saveMyCustomer;
|
|
168
|
+
}
|
|
169
|
+
export interface saveMyCustomerVariables {
|
|
170
|
+
input: SaveMyCustomerInput;
|
|
171
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { IkasCustomer, IkasOrder, IkasOrderRefundSettings, IkasOrderTransaction } from "../../models";
|
|
2
|
+
import { IkasRefund } from "../../models/data/order/refund";
|
|
3
|
+
import * as RefreshTokenTypes from "./__generated__/customerRefreshToken";
|
|
4
|
+
import * as GetLastViewedProductsTypes from "./__generated__/getLastViewedProducts";
|
|
5
|
+
import { IkasCustomerAttributeValue } from "src/models/data/customer/attribute-value";
|
|
6
|
+
export declare class IkasCustomerAPI {
|
|
7
|
+
static login(email: string, password: string): Promise<{
|
|
8
|
+
customer: IkasCustomer;
|
|
9
|
+
__typename: "CustomerLoginResponse";
|
|
10
|
+
token: string;
|
|
11
|
+
tokenExpiry: number;
|
|
12
|
+
} | undefined>;
|
|
13
|
+
static socialLogin(code: string): Promise<{
|
|
14
|
+
customer: IkasCustomer;
|
|
15
|
+
token: string;
|
|
16
|
+
tokenExpiry: number;
|
|
17
|
+
} | undefined>;
|
|
18
|
+
static register(email: string, password: string, firstName: string, lastName: string, isAcceptMarketing?: boolean, attributes?: IkasCustomerAttributeValue[]): Promise<{
|
|
19
|
+
customer: IkasCustomer;
|
|
20
|
+
__typename: "CustomerLoginResponse";
|
|
21
|
+
token: string;
|
|
22
|
+
tokenExpiry: number;
|
|
23
|
+
} | undefined>;
|
|
24
|
+
static refreshToken(token: string): Promise<RefreshTokenTypes.customerRefreshToken_customerRefreshToken | undefined>;
|
|
25
|
+
static forgotPassword(email: string): Promise<boolean>;
|
|
26
|
+
static recoverPassword(password: string, passwordAgain: string, token: string): Promise<boolean>;
|
|
27
|
+
static checkEmail(email: string): Promise<boolean>;
|
|
28
|
+
static getCustomer(): Promise<IkasCustomer | undefined>;
|
|
29
|
+
static saveCustomer(customer: IkasCustomer): Promise<IkasCustomer | undefined>;
|
|
30
|
+
static getOrders(id?: string): Promise<IkasOrder[] | undefined>;
|
|
31
|
+
static getOrderByEmail(email: string, orderNumber: string): Promise<IkasOrder | undefined>;
|
|
32
|
+
static getOrderTransactions(params?: {
|
|
33
|
+
checkoutId?: string;
|
|
34
|
+
id?: string;
|
|
35
|
+
orderId?: string;
|
|
36
|
+
}): Promise<IkasOrderTransaction[]>;
|
|
37
|
+
static saveIkasOrderRefund(input: IkasRefund): Promise<IkasOrder | undefined>;
|
|
38
|
+
static createCustomerEmailSubscription(email: string): Promise<boolean>;
|
|
39
|
+
static getLastViewedProducts(customerId: string): Promise<GetLastViewedProductsTypes.getLastViewedProducts_getLastViewedProducts_products[]>;
|
|
40
|
+
static saveLastViewedProducts(input: LastViewedProductInput): Promise<boolean>;
|
|
41
|
+
static getOrderRefundSettings(): Promise<IkasOrderRefundSettings | undefined>;
|
|
42
|
+
}
|
|
43
|
+
declare type LastViewedProduct = {
|
|
44
|
+
productId: string;
|
|
45
|
+
variantId: string;
|
|
46
|
+
};
|
|
47
|
+
declare type LastViewedProductInput = {
|
|
48
|
+
customerId: string;
|
|
49
|
+
products: LastViewedProduct[];
|
|
50
|
+
};
|
|
51
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as n,__generator as e,__assign as t,__makeTemplateObject as r}from'../../ext/tslib/tslib.es6.js';import a from'../../ext/graphql-tag/src/index.js';import{apollo as i}from"../apollo.js";import"../../models/data/blog/index.js";import"../../models/data/brand/index.js";import"../../models/data/category/index.js";import"../../models/data/checkout/index.js";import"../../models/data/customer/address/index.js";import{IkasCustomer as s}from"../../models/data/customer/index.js";import"../../models/data/customer-review/index.js";import"mobx";import"../../models/data/html-meta-data/index.js";import"../../models/data/image/index.js";import"../../models/data/installment-info/index.js";import{IkasOrder as o}from"../../models/data/order/index.js";import"../../models/data/order/line-item/index.js";import{IkasOrderRefundSettings as d}from"../../models/data/order/refund/settings.js";import"../product-option-file/index.js";import"../../models/data/product/index.js";import"../../models/data/variant-type/index.js";import"../../models/data/product/variant/index.js";import"../../models/data/product/variant/price/index.js";import"../../models/data/product-attribute/index.js";import"../../models/data/product/attribute-value/index.js";import"../../models/data/product-filter/index.js";import"../../models/data/variant-type/variant-value/index.js";import{IkasOrderTransaction as u}from"../../models/data/order-transaction/index.js";import"../../models/data/product-option-set/index.js";import"../../models/data/raffle/index.js";import"../../models/data/product-campaing/campaign/index.js";import"../../models/data/customer-attribute/index.js";import"../../models/data/customer-attribute/customer-attribute-sales-channel/index.js";import"../../models/theme/theme.js";import"../../models/theme/page/index.js";import"../../models/theme/component/prop/index.js";import"../../models/theme/page/component/prop-value/link.js";import"../../models/ui/brand-list/index.js";import"../../models/ui/blog-list/index.js";import"../../models/ui/blog-category-list/index.js";import"../../models/ui/category-list/index.js";import"../../models/ui/product-detail/index.js";import"../../models/ui/product-list/index.js";import"../../models/ui/product-attribute-detail/index.js";import"../../models/ui/product-attribute-list/index.js";import"../../models/ui/customer-review-list/index.js";import"../../models/ui/customer-review-summary-list/index.js";import"../../models/ui/validator/index.js";import"../../models/ui/validator/rules/index.js";import"../../models/ui/validator/form/login.js";import"../../models/ui/validator/form/address.js";import"../../models/ui/validator/form/register.js";import"../../models/ui/validator/form/contact-form.js";import"../../models/ui/validator/form/forgot-password.js";import"../../models/ui/validator/form/recover-password.js";import"../../models/ui/validator/form/account-info.js";import"../../models/ui/validator/form/raffle-form.js";import"../../models/ui/validator/form/customer-review.js";import"../../models/ui/raffle-list/index.js";import"../../models/theme/settings/index.js";import"../../models/theme/custom-data/index.js";import{IkasStorefrontConfig as c}from"../../storefront/index.js";var m,l,p,g,f,y,b,I,h,v,N,k,L,A,S,x,$,C=function(){function C(){}return C.login=function(o,d){return n(this,void 0,void 0,(function(){var n,u,c,l,p;return e(this,(function(e){switch(e.label){case 0:n=a(m||(m=r(["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n identityNumber\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n subscriptionStatus\n customerGroupIds\n attributes {\n customerAttributeId\n customerAttributeOptionId\n value\n }\n }\n }\n }\n "],["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n identityNumber\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n subscriptionStatus\n customerGroupIds\n attributes {\n customerAttributeId\n customerAttributeOptionId\n value\n }\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{email:o,password:d}})];case 2:return u=e.sent(),c=u.data,(l=u.errors)&&l.length&&console.log(l),c&&c.customerLogin?[2,t(t({},c.customerLogin),{customer:new s(c.customerLogin.customer)})]:[3,4];case 3:return p=e.sent(),console.log(p),[3,4];case 4:return[2]}}))}))},C.socialLogin=function(t){return n(this,void 0,void 0,(function(){var n,o,d,u,c;return e(this,(function(e){switch(e.label){case 0:n=a(l||(l=r(["\n query customerSocialLogin($code: String!) {\n customerSocialLogin(code: $code) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n identityNumber\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n subscriptionStatus\n customerGroupIds\n attributes {\n customerAttributeId\n customerAttributeOptionId\n value\n }\n }\n }\n }\n "],["\n query customerSocialLogin($code: String!) {\n customerSocialLogin(code: $code) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n identityNumber\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n subscriptionStatus\n customerGroupIds\n attributes {\n customerAttributeId\n customerAttributeOptionId\n value\n }\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().query({query:n,variables:{code:t}})];case 2:return o=e.sent(),d=o.data,(u=o.errors)&&u.length&&console.log(u),d&&d.customerSocialLogin.customer?[2,{customer:new s(d.customerSocialLogin.customer),token:d.customerSocialLogin.token,tokenExpiry:d.customerSocialLogin.tokenExpiry}]:[3,4];case 3:return c=e.sent(),console.log(c),[3,4];case 4:return[2]}}))}))},C.register=function(o,d,u,m,l,g){return n(this,void 0,void 0,(function(){var n,f,y,b,I;return e(this,(function(e){switch(e.label){case 0:n=a(p||(p=r(["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n $locale: String\n $attributes: [CustomerAttributeValueInput!]\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n locale: $locale\n attributes: $attributes\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n subscriptionStatus\n customerGroupIds\n attributes {\n customerAttributeId\n customerAttributeOptionId\n value\n }\n }\n }\n }\n "],["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n $locale: String\n $attributes: [CustomerAttributeValueInput!]\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n locale: $locale\n attributes: $attributes\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n subscriptionStatus\n customerGroupIds\n attributes {\n customerAttributeId\n customerAttributeOptionId\n value\n }\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{email:o,password:d,firstName:u,lastName:m,isAcceptMarketing:l,locale:c.getCurrentLocale(),attributes:g}})];case 2:return f=e.sent(),y=f.data,(b=f.errors)&&b.length&&console.log(b),y&&y.registerCustomer?[2,t(t({},y.registerCustomer),{customer:new s(y.registerCustomer.customer)})]:[3,4];case 3:return I=e.sent(),console.log(I),[3,4];case 4:return[2]}}))}))},C.refreshToken=function(t){return n(this,void 0,void 0,(function(){var n,s,o,d,u;return e(this,(function(e){switch(e.label){case 0:n=a(g||(g=r(["\n mutation customerRefreshToken($token: String!) {\n customerRefreshToken(token: $token) {\n token\n tokenExpiry\n }\n }\n "],["\n mutation customerRefreshToken($token: String!) {\n customerRefreshToken(token: $token) {\n token\n tokenExpiry\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{token:t}})];case 2:return s=e.sent(),o=s.data,(d=s.errors)&&d.length&&console.log(d),o?[2,o.customerRefreshToken]:[3,4];case 3:return u=e.sent(),console.log(u),[3,4];case 4:return[2]}}))}))},C.forgotPassword=function(t){return n(this,void 0,void 0,(function(){var n,s,o,d,u;return e(this,(function(e){switch(e.label){case 0:n=a(f||(f=r(["\n mutation customerForgotPassword($email: String!, $locale: String!) {\n customerForgotPassword(email: $email, locale: $locale)\n }\n "],["\n mutation customerForgotPassword($email: String!, $locale: String!) {\n customerForgotPassword(email: $email, locale: $locale)\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{email:t,locale:c.getCurrentLocale()}})];case 2:return s=e.sent(),o=s.data,(d=s.errors)&&d.length?(console.log(d),[2,!1]):[2,!!(null==o?void 0:o.customerForgotPassword)];case 3:return u=e.sent(),console.log(u),[3,4];case 4:return[2,!1]}}))}))},C.recoverPassword=function(t,s,o){return n(this,void 0,void 0,(function(){var n,d,u,c;return e(this,(function(e){switch(e.label){case 0:n=a(y||(y=r(["\n mutation customerRecoverPassword(\n $password: String!\n $passwordAgain: String!\n $token: String!\n ) {\n customerRecoverPassword(\n password: $password\n passwordAgain: $passwordAgain\n token: $token\n )\n }\n "],["\n mutation customerRecoverPassword(\n $password: String!\n $passwordAgain: String!\n $token: String!\n ) {\n customerRecoverPassword(\n password: $password\n passwordAgain: $passwordAgain\n token: $token\n )\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{password:t,passwordAgain:s,token:o}})];case 2:return d=e.sent(),(u=d.errors)&&u.length?(console.log(u),[2,!1]):[3,4];case 3:return c=e.sent(),console.log(c),[2,!1];case 4:return[2,!0]}}))}))},C.checkEmail=function(t){return n(this,void 0,void 0,(function(){var n,s,o,d,u;return e(this,(function(e){switch(e.label){case 0:n=a(b||(b=r(["\n query checkCustomerEmail($email: String!) {\n checkCustomerEmail(email: $email) {\n exists\n }\n }\n "],["\n query checkCustomerEmail($email: String!) {\n checkCustomerEmail(email: $email) {\n exists\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().query({query:n,variables:{email:t}})];case 2:return s=e.sent(),o=s.data,(d=s.errors)&&d.length&&console.log(d),o&&o.checkCustomerEmail?[2,o.checkCustomerEmail.exists]:[3,4];case 3:return u=e.sent(),console.log(u),[3,4];case 4:return[2,!1]}}))}))},C.getCustomer=function(){return n(this,void 0,void 0,(function(){var n,t,o,d,u;return e(this,(function(e){switch(e.label){case 0:n=a(I||(I=r(["\n query getMyCustomer {\n getMyCustomer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n phone\n }\n phone\n accountStatus\n email\n firstName\n customerGroupIds\n subscriptionStatus\n attributes {\n customerAttributeId\n customerAttributeOptionId\n value\n }\n }\n }\n "],["\n query getMyCustomer {\n getMyCustomer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n phone\n }\n phone\n accountStatus\n email\n firstName\n customerGroupIds\n subscriptionStatus\n attributes {\n customerAttributeId\n customerAttributeOptionId\n value\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().query({query:n})];case 2:return t=e.sent(),o=t.data,(d=t.errors)&&d.length&&console.log(d),o&&o.getMyCustomer?[2,new s(o.getMyCustomer)]:[3,4];case 3:return u=e.sent(),console.log(u),[3,4];case 4:return[2]}}))}))},C.saveCustomer=function(t){return n(this,void 0,void 0,(function(){var n,o,d,u,c;return e(this,(function(e){switch(e.label){case 0:n=a(h||(h=r(["\n mutation saveMyCustomer($input: SaveMyCustomerInput!) {\n saveMyCustomer(input: $input) {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n identityNumber\n taxNumber\n taxOffice\n title\n phone\n }\n phone\n subscriptionStatus\n accountStatus\n email\n firstName\n customerGroupIds\n attributes {\n customerAttributeId\n customerAttributeOptionId\n value\n }\n }\n }\n "],["\n mutation saveMyCustomer($input: SaveMyCustomerInput!) {\n saveMyCustomer(input: $input) {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n identityNumber\n taxNumber\n taxOffice\n title\n phone\n }\n phone\n subscriptionStatus\n accountStatus\n email\n firstName\n customerGroupIds\n attributes {\n customerAttributeId\n customerAttributeOptionId\n value\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{input:{firstName:t.firstName,lastName:t.lastName,addresses:t.addresses,phone:t.phone,subscriptionStatus:t.subscriptionStatus,attributes:t.attributes.map((function(n){return{value:n.value,customerAttributeId:n.customerAttributeId,customerAttributeOptionId:n.customerAttributeOptionId}}))}}})];case 2:return o=e.sent(),d=o.data,(u=o.errors)&&u.length&&console.log(u),d&&d.saveMyCustomer?[2,new s(d.saveMyCustomer)]:[3,4];case 3:return c=e.sent(),console.log(c),[3,4];case 4:return[2]}}))}))},C.getOrders=function(t){return n(this,void 0,void 0,(function(){var n,s,d,u,c;return e(this,(function(e){switch(e.label){case 0:n=a(v||(v=r(["\n query getCustomerOrders($orderId: String) {\n getCustomerOrders(orderId: $orderId) {\n billingAddress {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n name\n id\n code\n }\n district {\n name\n id\n code\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n }\n cancelledAt\n cancelReason\n createdAt\n currencyCode\n currencyRates {\n rate\n originalRate\n code\n }\n customer {\n lastName\n firstName\n email\n id\n }\n deleted\n id\n merchantId\n note\n orderedAt\n orderAdjustments {\n type\n order\n name\n amountType\n amount\n }\n orderLineItems {\n createdAt\n currencyCode\n deleted\n discount {\n reason\n amountType\n amount\n }\n discountPrice\n finalPrice\n id\n originalOrderLineItemId\n price\n quantity\n status\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n barcodeList\n id\n mainImageId\n name\n productId\n sku\n variantValues {\n variantValueName\n variantValueId\n variantTypeName\n variantTypeId\n order\n }\n }\n options {\n name\n productOptionId\n productOptionsSetId\n type\n values {\n name\n price\n value\n }\n }\n }\n orderNumber\n orderPackages {\n updatedAt\n trackingInfo {\n trackingNumber\n trackingLink\n isSendNotification\n cargoCompany\n }\n stockLocationId\n orderPackageNumber\n orderPackageFulfillStatus\n orderLineItemIds\n id\n deleted\n createdAt\n }\n orderPackageStatus\n orderPaymentStatus\n orderTagIds\n shippingAddress {\n taxOffice\n taxNumber\n state {\n name\n id\n code\n }\n postalCode\n phone\n lastName\n isDefault\n identityNumber\n firstName\n district {\n name\n id\n code\n }\n country {\n name\n id\n code\n }\n company\n city {\n id\n code\n name\n }\n addressLine2\n addressLine1\n }\n shippingLines {\n title\n taxValue\n price\n }\n shippingMethod\n status\n taxLines {\n rate\n price\n }\n totalFinalPrice\n totalPrice\n updatedAt\n }\n }\n "],["\n query getCustomerOrders($orderId: String) {\n getCustomerOrders(orderId: $orderId) {\n billingAddress {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n name\n id\n code\n }\n district {\n name\n id\n code\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n }\n cancelledAt\n cancelReason\n createdAt\n currencyCode\n currencyRates {\n rate\n originalRate\n code\n }\n customer {\n lastName\n firstName\n email\n id\n }\n deleted\n id\n merchantId\n note\n orderedAt\n orderAdjustments {\n type\n order\n name\n amountType\n amount\n }\n orderLineItems {\n createdAt\n currencyCode\n deleted\n discount {\n reason\n amountType\n amount\n }\n discountPrice\n finalPrice\n id\n originalOrderLineItemId\n price\n quantity\n status\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n barcodeList\n id\n mainImageId\n name\n productId\n sku\n variantValues {\n variantValueName\n variantValueId\n variantTypeName\n variantTypeId\n order\n }\n }\n options {\n name\n productOptionId\n productOptionsSetId\n type\n values {\n name\n price\n value\n }\n }\n }\n orderNumber\n orderPackages {\n updatedAt\n trackingInfo {\n trackingNumber\n trackingLink\n isSendNotification\n cargoCompany\n }\n stockLocationId\n orderPackageNumber\n orderPackageFulfillStatus\n orderLineItemIds\n id\n deleted\n createdAt\n }\n orderPackageStatus\n orderPaymentStatus\n orderTagIds\n shippingAddress {\n taxOffice\n taxNumber\n state {\n name\n id\n code\n }\n postalCode\n phone\n lastName\n isDefault\n identityNumber\n firstName\n district {\n name\n id\n code\n }\n country {\n name\n id\n code\n }\n company\n city {\n id\n code\n name\n }\n addressLine2\n addressLine1\n }\n shippingLines {\n title\n taxValue\n price\n }\n shippingMethod\n status\n taxLines {\n rate\n price\n }\n totalFinalPrice\n totalPrice\n updatedAt\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().query({query:n,variables:t?{orderId:t}:{}})];case 2:return s=e.sent(),d=s.data,(u=s.errors)&&u.length&&console.log(u),d&&d.getCustomerOrders?[2,d.getCustomerOrders.map((function(n){return new o(n)}))]:[3,4];case 3:return c=e.sent(),console.log(c),[3,4];case 4:return[2]}}))}))},C.getOrderByEmail=function(t,s){return n(this,void 0,void 0,(function(){var n,d,u,c,m;return e(this,(function(e){switch(e.label){case 0:n=a(N||(N=r(["\n query getOrderByEmail($email: String!, $orderNumber: String!) {\n getOrderByEmail(email: $email, orderNumber: $orderNumber) {\n billingAddress {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n name\n id\n code\n }\n district {\n name\n id\n code\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n }\n cancelledAt\n cancelReason\n createdAt\n currencyCode\n currencyRates {\n rate\n originalRate\n code\n }\n customer {\n lastName\n firstName\n email\n id\n }\n deleted\n id\n merchantId\n note\n orderedAt\n orderAdjustments {\n type\n order\n name\n amountType\n amount\n }\n orderLineItems {\n createdAt\n currencyCode\n deleted\n discount {\n reason\n amountType\n amount\n }\n discountPrice\n finalPrice\n id\n originalOrderLineItemId\n price\n quantity\n status\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n barcodeList\n id\n mainImageId\n name\n productId\n sku\n variantValues {\n variantValueName\n variantValueId\n variantTypeName\n variantTypeId\n order\n }\n }\n options {\n name\n productOptionId\n productOptionsSetId\n type\n values {\n name\n price\n value\n }\n }\n }\n orderNumber\n orderPackages {\n updatedAt\n trackingInfo {\n trackingNumber\n trackingLink\n isSendNotification\n cargoCompany\n }\n stockLocationId\n orderPackageNumber\n orderPackageFulfillStatus\n orderLineItemIds\n id\n deleted\n createdAt\n }\n orderPackageStatus\n orderPaymentStatus\n orderTagIds\n shippingAddress {\n taxOffice\n taxNumber\n state {\n name\n id\n code\n }\n postalCode\n phone\n lastName\n isDefault\n identityNumber\n firstName\n district {\n name\n id\n code\n }\n country {\n name\n id\n code\n }\n company\n city {\n id\n code\n name\n }\n addressLine2\n addressLine1\n }\n shippingLines {\n title\n taxValue\n price\n }\n shippingMethod\n status\n taxLines {\n rate\n price\n }\n totalFinalPrice\n totalPrice\n updatedAt\n }\n }\n "],["\n query getOrderByEmail($email: String!, $orderNumber: String!) {\n getOrderByEmail(email: $email, orderNumber: $orderNumber) {\n billingAddress {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n name\n id\n code\n }\n district {\n name\n id\n code\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n }\n cancelledAt\n cancelReason\n createdAt\n currencyCode\n currencyRates {\n rate\n originalRate\n code\n }\n customer {\n lastName\n firstName\n email\n id\n }\n deleted\n id\n merchantId\n note\n orderedAt\n orderAdjustments {\n type\n order\n name\n amountType\n amount\n }\n orderLineItems {\n createdAt\n currencyCode\n deleted\n discount {\n reason\n amountType\n amount\n }\n discountPrice\n finalPrice\n id\n originalOrderLineItemId\n price\n quantity\n status\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n barcodeList\n id\n mainImageId\n name\n productId\n sku\n variantValues {\n variantValueName\n variantValueId\n variantTypeName\n variantTypeId\n order\n }\n }\n options {\n name\n productOptionId\n productOptionsSetId\n type\n values {\n name\n price\n value\n }\n }\n }\n orderNumber\n orderPackages {\n updatedAt\n trackingInfo {\n trackingNumber\n trackingLink\n isSendNotification\n cargoCompany\n }\n stockLocationId\n orderPackageNumber\n orderPackageFulfillStatus\n orderLineItemIds\n id\n deleted\n createdAt\n }\n orderPackageStatus\n orderPaymentStatus\n orderTagIds\n shippingAddress {\n taxOffice\n taxNumber\n state {\n name\n id\n code\n }\n postalCode\n phone\n lastName\n isDefault\n identityNumber\n firstName\n district {\n name\n id\n code\n }\n country {\n name\n id\n code\n }\n company\n city {\n id\n code\n name\n }\n addressLine2\n addressLine1\n }\n shippingLines {\n title\n taxValue\n price\n }\n shippingMethod\n status\n taxLines {\n rate\n price\n }\n totalFinalPrice\n totalPrice\n updatedAt\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().query({query:n,variables:{email:t,orderNumber:s}})];case 2:return d=e.sent(),u=d.data,(c=d.errors)&&c.length&&console.log(c),u&&u.getOrderByEmail?[2,new o(u.getOrderByEmail)]:[3,4];case 3:return m=e.sent(),console.log(m),[3,4];case 4:return[2]}}))}))},C.getOrderTransactions=function(t){return n(this,void 0,void 0,(function(){var n,s,o,d,c;return e(this,(function(e){switch(e.label){case 0:n=a(k||(k=r(["\n query listOrderTransactions(\n $checkoutId: StringFilterInput\n $id: StringFilterInput\n $orderId: StringFilterInput\n ) {\n listOrderTransactions(\n checkoutId: $checkoutId\n id: $id\n orderId: $orderId\n ) {\n amount\n checkoutId\n createdAt\n currencyCode\n customerId\n deleted\n error {\n code\n declineCode\n message\n }\n id\n orderId\n paymentGatewayId\n paymentGatewayName\n paymentMethod\n paymentMethodDetail {\n bankName\n binNumber\n cardAssociation\n cardFamily\n cardType\n installment {\n installmentCount\n installmentPrice\n totalPrice\n }\n lastFourDigits\n threeDSecure\n }\n processedAt\n refundReason\n status\n type\n updatedAt\n }\n }\n "],["\n query listOrderTransactions(\n $checkoutId: StringFilterInput\n $id: StringFilterInput\n $orderId: StringFilterInput\n ) {\n listOrderTransactions(\n checkoutId: $checkoutId\n id: $id\n orderId: $orderId\n ) {\n amount\n checkoutId\n createdAt\n currencyCode\n customerId\n deleted\n error {\n code\n declineCode\n message\n }\n id\n orderId\n paymentGatewayId\n paymentGatewayName\n paymentMethod\n paymentMethodDetail {\n bankName\n binNumber\n cardAssociation\n cardFamily\n cardType\n installment {\n installmentCount\n installmentPrice\n totalPrice\n }\n lastFourDigits\n threeDSecure\n }\n processedAt\n refundReason\n status\n type\n updatedAt\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().query({query:n,variables:{checkoutId:(null==t?void 0:t.checkoutId)?{eq:t.checkoutId}:void 0,id:(null==t?void 0:t.id)?{eq:t.id}:void 0,orderId:(null==t?void 0:t.orderId)?{eq:t.orderId}:void 0}})];case 2:return s=e.sent(),o=s.data,d=s.errors,Array.isArray(d)&&d.length?[2,[]]:[2,o.listOrderTransactions.map((function(n){return new u(n)}))];case 3:return c=e.sent(),console.log(c),[2,[]];case 4:return[2]}}))}))},C.saveIkasOrderRefund=function(t){return n(this,void 0,void 0,(function(){var n,s,d,u,c;return e(this,(function(e){switch(e.label){case 0:n=a(L||(L=r(["\n mutation createOrderRefundRequest($input: OrderRefundRequestInput!) {\n createOrderRefundRequest(input: $input) {\n billingAddress {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n name\n id\n code\n }\n district {\n name\n id\n code\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n }\n cancelledAt\n cancelReason\n createdAt\n currencyCode\n currencyRates {\n rate\n originalRate\n code\n }\n customer {\n lastName\n firstName\n email\n id\n }\n deleted\n id\n merchantId\n note\n orderedAt\n orderAdjustments {\n type\n order\n name\n amountType\n amount\n }\n orderLineItems {\n createdAt\n currencyCode\n deleted\n discount {\n reason\n amountType\n amount\n }\n discountPrice\n finalPrice\n id\n originalOrderLineItemId\n price\n quantity\n status\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n barcodeList\n id\n mainImageId\n name\n productId\n sku\n variantValues {\n variantValueName\n variantValueId\n variantTypeName\n variantTypeId\n order\n }\n }\n }\n orderNumber\n orderPackages {\n updatedAt\n trackingInfo {\n trackingNumber\n trackingLink\n isSendNotification\n cargoCompany\n }\n stockLocationId\n orderPackageNumber\n orderPackageFulfillStatus\n orderLineItemIds\n id\n deleted\n createdAt\n }\n orderPackageStatus\n orderPaymentStatus\n orderTagIds\n shippingAddress {\n taxOffice\n taxNumber\n state {\n name\n id\n code\n }\n postalCode\n phone\n lastName\n isDefault\n identityNumber\n firstName\n district {\n name\n id\n code\n }\n country {\n name\n id\n code\n }\n company\n city {\n id\n code\n name\n }\n addressLine2\n addressLine1\n }\n shippingLines {\n title\n taxValue\n price\n }\n shippingMethod\n status\n taxLines {\n rate\n price\n }\n totalFinalPrice\n totalPrice\n updatedAt\n }\n }\n "],["\n mutation createOrderRefundRequest($input: OrderRefundRequestInput!) {\n createOrderRefundRequest(input: $input) {\n billingAddress {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n name\n id\n code\n }\n district {\n name\n id\n code\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n }\n cancelledAt\n cancelReason\n createdAt\n currencyCode\n currencyRates {\n rate\n originalRate\n code\n }\n customer {\n lastName\n firstName\n email\n id\n }\n deleted\n id\n merchantId\n note\n orderedAt\n orderAdjustments {\n type\n order\n name\n amountType\n amount\n }\n orderLineItems {\n createdAt\n currencyCode\n deleted\n discount {\n reason\n amountType\n amount\n }\n discountPrice\n finalPrice\n id\n originalOrderLineItemId\n price\n quantity\n status\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n barcodeList\n id\n mainImageId\n name\n productId\n sku\n variantValues {\n variantValueName\n variantValueId\n variantTypeName\n variantTypeId\n order\n }\n }\n }\n orderNumber\n orderPackages {\n updatedAt\n trackingInfo {\n trackingNumber\n trackingLink\n isSendNotification\n cargoCompany\n }\n stockLocationId\n orderPackageNumber\n orderPackageFulfillStatus\n orderLineItemIds\n id\n deleted\n createdAt\n }\n orderPackageStatus\n orderPaymentStatus\n orderTagIds\n shippingAddress {\n taxOffice\n taxNumber\n state {\n name\n id\n code\n }\n postalCode\n phone\n lastName\n isDefault\n identityNumber\n firstName\n district {\n name\n id\n code\n }\n country {\n name\n id\n code\n }\n company\n city {\n id\n code\n name\n }\n addressLine2\n addressLine1\n }\n shippingLines {\n title\n taxValue\n price\n }\n shippingMethod\n status\n taxLines {\n rate\n price\n }\n totalFinalPrice\n totalPrice\n updatedAt\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{input:t}})];case 2:return s=e.sent(),d=s.data,(u=s.errors)&&u.length?[2]:d&&d.createOrderRefundRequest?[2,new o(null==d?void 0:d.createOrderRefundRequest)]:[3,4];case 3:return c=e.sent(),console.log(c),[3,4];case 4:return[2]}}))}))},C.createCustomerEmailSubscription=function(t){return n(this,void 0,void 0,(function(){var n,s,o;return e(this,(function(e){switch(e.label){case 0:n=a(A||(A=r(["\n mutation createCustomerEmailSubscription(\n $input: CreateCustomerEmailSubscriptionInput!\n ) {\n createCustomerEmailSubscription(input: $input) {\n id\n }\n }\n "],["\n mutation createCustomerEmailSubscription(\n $input: CreateCustomerEmailSubscriptionInput!\n ) {\n createCustomerEmailSubscription(input: $input) {\n id\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{input:{email:t}}})];case 2:return(s=e.sent().errors)&&s.length?[2,!1]:[3,4];case 3:return o=e.sent(),console.log(o),[2,!1];case 4:return[2,!0]}}))}))},C.getLastViewedProducts=function(t){var s;return n(this,void 0,void 0,(function(){var n,o,d,u,c;return e(this,(function(e){switch(e.label){case 0:n=a(S||(S=r(["\n query getLastViewedProducts($customerId: String) {\n getLastViewedProducts(customerId: $customerId) {\n products {\n productId\n variantId\n }\n }\n }\n "],["\n query getLastViewedProducts($customerId: String) {\n getLastViewedProducts(customerId: $customerId) {\n products {\n productId\n variantId\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().query({query:n,variables:{customerId:t}})];case 2:return o=e.sent(),d=o.data,(u=o.errors)&&u.length?[2,[]]:[2,(null===(s=d.getLastViewedProducts)||void 0===s?void 0:s.products)||[]];case 3:return c=e.sent(),console.log(c),[2,[]];case 4:return[2]}}))}))},C.saveLastViewedProducts=function(t){return n(this,void 0,void 0,(function(){var n,s,o;return e(this,(function(e){switch(e.label){case 0:n=a(x||(x=r(["\n mutation saveLastViewedProducts($input: ProductLastViewedInput!) {\n saveLastViewedProducts(input: $input) {\n id\n }\n }\n "],["\n mutation saveLastViewedProducts($input: ProductLastViewedInput!) {\n saveLastViewedProducts(input: $input) {\n id\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{input:t}})];case 2:return(s=e.sent().errors)&&s.length?[2,!1]:[3,4];case 3:return o=e.sent(),console.log(o),[2,!1];case 4:return[2,!0]}}))}))},C.getOrderRefundSettings=function(){return n(this,void 0,void 0,(function(){var n,t,s,o,u;return e(this,(function(e){switch(e.label){case 0:n=a($||($=r(["\n query listOrderRefundSettings($storefrontId: StringFilterInput!) {\n listOrderRefundSettings(storefrontId: $storefrontId) {\n isActiveRefundSection\n orderRefundDayLimit\n refundDesc\n }\n }\n "],["\n query listOrderRefundSettings($storefrontId: StringFilterInput!) {\n listOrderRefundSettings(storefrontId: $storefrontId) {\n isActiveRefundSection\n orderRefundDayLimit\n refundDesc\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().query({query:n,variables:{storefrontId:{eq:c.storefrontId}}})];case 2:return t=e.sent(),s=t.data,(o=t.errors)&&o.length&&console.log(o),s&&s.listOrderRefundSettings.length?[2,new d(s.listOrderRefundSettings[0])]:[3,4];case 3:return u=e.sent(),console.log(u),[3,4];case 4:return[2]}}))}))},C}();export{C as IkasCustomerAPI};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { CustomerAttributeTypeEnum, CustomerAttributePermissionEnum, CustomerAttributeRegisterPageRequirementEnum } from "./../../../__generated__/global-types";
|
|
2
|
+
export interface listCustomerAttribute_listCustomerAttribute_options {
|
|
3
|
+
__typename: "CustomerAttributeOption";
|
|
4
|
+
id: string;
|
|
5
|
+
createdAt: any | null;
|
|
6
|
+
updatedAt: any | null;
|
|
7
|
+
deleted: boolean | null;
|
|
8
|
+
name: string;
|
|
9
|
+
}
|
|
10
|
+
export interface listCustomerAttribute_listCustomerAttribute_salesChannels {
|
|
11
|
+
__typename: "CustomerAttributeSalesChannel";
|
|
12
|
+
permission: CustomerAttributePermissionEnum;
|
|
13
|
+
registerPageRequirement: CustomerAttributeRegisterPageRequirementEnum;
|
|
14
|
+
salesChannelId: string;
|
|
15
|
+
storefrontId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface listCustomerAttribute_listCustomerAttribute_translations_options {
|
|
18
|
+
__typename: "CustomerAttributeOptionTranslation";
|
|
19
|
+
id: string;
|
|
20
|
+
name: string | null;
|
|
21
|
+
}
|
|
22
|
+
export interface listCustomerAttribute_listCustomerAttribute_translations {
|
|
23
|
+
__typename: "CustomerAttributeTranslation";
|
|
24
|
+
description: string | null;
|
|
25
|
+
locale: string;
|
|
26
|
+
name: string | null;
|
|
27
|
+
options: listCustomerAttribute_listCustomerAttribute_translations_options[] | null;
|
|
28
|
+
}
|
|
29
|
+
export interface listCustomerAttribute_listCustomerAttribute {
|
|
30
|
+
__typename: "CustomerAttribute";
|
|
31
|
+
id: string;
|
|
32
|
+
createdAt: any | null;
|
|
33
|
+
updatedAt: any | null;
|
|
34
|
+
deleted: boolean | null;
|
|
35
|
+
name: string;
|
|
36
|
+
description: string | null;
|
|
37
|
+
type: CustomerAttributeTypeEnum;
|
|
38
|
+
options: listCustomerAttribute_listCustomerAttribute_options[] | null;
|
|
39
|
+
salesChannels: listCustomerAttribute_listCustomerAttribute_salesChannels[] | null;
|
|
40
|
+
translations: listCustomerAttribute_listCustomerAttribute_translations[] | null;
|
|
41
|
+
}
|
|
42
|
+
export interface listCustomerAttribute {
|
|
43
|
+
listCustomerAttribute: listCustomerAttribute_listCustomerAttribute[];
|
|
44
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as n,__generator as e,__makeTemplateObject as t}from'../../ext/tslib/tslib.es6.js';import{IkasCustomerAttribute as r}from"../../models/data/customer-attribute/index.js";import s from'../../ext/graphql-tag/src/index.js';import{apollo as i}from"../apollo.js";var o,a=function(){function a(){}return a.listCustomerAttributes=function(){return n(this,void 0,void 0,(function(){var n,a,d,u,l;return e(this,(function(e){switch(e.label){case 0:n=s(o||(o=t(["\n query listCustomerAttribute {\n listCustomerAttribute {\n id\n createdAt\n updatedAt\n deleted\n name\n description\n type\n options {\n id\n createdAt\n updatedAt\n deleted\n name\n }\n salesChannels {\n permission\n registerPageRequirement\n salesChannelId\n storefrontId\n }\n translations {\n description\n locale\n name\n options {\n id\n name\n }\n }\n }\n }\n "],["\n query listCustomerAttribute {\n listCustomerAttribute {\n id\n createdAt\n updatedAt\n deleted\n name\n description\n type\n options {\n id\n createdAt\n updatedAt\n deleted\n name\n }\n salesChannels {\n permission\n registerPageRequirement\n salesChannelId\n storefrontId\n }\n translations {\n description\n locale\n name\n options {\n id\n name\n }\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().query({query:n})];case 2:return a=e.sent(),d=a.data,(u=a.errors)&&u.length?[2,[]]:[2,d.listCustomerAttribute.map((function(n){return new r(n)}))];case 3:return l=e.sent(),console.log(l),[3,4];case 4:return[2,[]]}}))}))},a}();export{a as IkasCustomerAttributeAPI};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CreateCustomerReviewInput } from "./../../../__generated__/global-types";
|
|
2
|
+
export interface createCustomerReview_createCustomerReview {
|
|
3
|
+
__typename: "CustomerReview";
|
|
4
|
+
id: string;
|
|
5
|
+
}
|
|
6
|
+
export interface createCustomerReview {
|
|
7
|
+
createCustomerReview: createCustomerReview_createCustomerReview;
|
|
8
|
+
}
|
|
9
|
+
export interface createCustomerReviewVariables {
|
|
10
|
+
input: CreateCustomerReviewInput;
|
|
11
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ListCustomerReviewInput, PaginationInput } from "./../../../__generated__/global-types";
|
|
2
|
+
export interface listCustomerReviews_listCustomerReviews_data {
|
|
3
|
+
__typename: "CustomerReview";
|
|
4
|
+
comment: string | null;
|
|
5
|
+
createdAt: any | null;
|
|
6
|
+
id: string;
|
|
7
|
+
star: number;
|
|
8
|
+
title: string | null;
|
|
9
|
+
imageIds: string[] | null;
|
|
10
|
+
}
|
|
11
|
+
export interface listCustomerReviews_listCustomerReviews {
|
|
12
|
+
__typename: "CustomerReviewSFPaginationResponse";
|
|
13
|
+
/**
|
|
14
|
+
* Returns the first three records of each page in the records returned as a response.
|
|
15
|
+
* For example, **let's say page = 3, limit = 30, count = 3.**
|
|
16
|
+
* The records that will return as a response are the records **between 60-62.**
|
|
17
|
+
*/
|
|
18
|
+
count: number;
|
|
19
|
+
data: listCustomerReviews_listCustomerReviews_data[];
|
|
20
|
+
/**
|
|
21
|
+
* In the records returned as Response, it shows whether there are any more
|
|
22
|
+
* records or not. For example, let's say our page field is three and our limit
|
|
23
|
+
* field is thirty. Records between 60 and 90 will be returned. If hasNext is
|
|
24
|
+
* `true` despite these records, **it means there are more records.** If hasNext
|
|
25
|
+
* is `false`, it means there are a total of **90 records.**
|
|
26
|
+
*/
|
|
27
|
+
hasNext: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The maximum number of data you want to see on a page in the records returned as a response.
|
|
30
|
+
* For example, if the limit is **20**, the data will be displayed ** as 20 each. **
|
|
31
|
+
* :::note
|
|
32
|
+
* min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
|
|
33
|
+
* :::
|
|
34
|
+
*/
|
|
35
|
+
limit: number;
|
|
36
|
+
/**
|
|
37
|
+
* The number of the page you want to see in the records that return as response.
|
|
38
|
+
* For example: We entered the page field as **3**.And let our limit field be **30**.
|
|
39
|
+
* The records that will return as a response are the records **between 60-90.**
|
|
40
|
+
* :::note
|
|
41
|
+
* If no value is entered, default 1 is accepted.
|
|
42
|
+
* :::
|
|
43
|
+
*/
|
|
44
|
+
page: number;
|
|
45
|
+
}
|
|
46
|
+
export interface listCustomerReviews {
|
|
47
|
+
listCustomerReviews: listCustomerReviews_listCustomerReviews;
|
|
48
|
+
}
|
|
49
|
+
export interface listCustomerReviewsVariables {
|
|
50
|
+
input: ListCustomerReviewInput;
|
|
51
|
+
productId?: string | null;
|
|
52
|
+
pagination?: PaginationInput | null;
|
|
53
|
+
}
|