@ikas/storefront 3.0.0-alpha.49 → 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-proxy13.js +1 -1
- package/build/_virtual/index.js_commonjs-proxy2.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/MerchantSettings.d.ts +0 -14
- 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 -32
- 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 -63
- 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 -23
- 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 -2662
- 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,104 @@
|
|
|
1
|
+
import { StringFilterInput, DateFilterInput, ProductOptionSelectTypeEnum, ProductOptionTypeEnum } from "./../../../__generated__/global-types";
|
|
2
|
+
export interface ListProductOptionSet_listProductOptionSet_options_dateSettings {
|
|
3
|
+
__typename: "ProductOptionDateSettings";
|
|
4
|
+
max: any | null;
|
|
5
|
+
min: any | null;
|
|
6
|
+
minRelativeNextDate: number | null;
|
|
7
|
+
maxRelativeNextDate: number | null;
|
|
8
|
+
}
|
|
9
|
+
export interface ListProductOptionSet_listProductOptionSet_options_fileSettings {
|
|
10
|
+
__typename: "ProductOptionFileSettings";
|
|
11
|
+
allowedExtensions: string[] | null;
|
|
12
|
+
maxQuantity: number | null;
|
|
13
|
+
minQuantity: number | null;
|
|
14
|
+
}
|
|
15
|
+
export interface ListProductOptionSet_listProductOptionSet_options_otherPrices {
|
|
16
|
+
__typename: "ProductOptionSelectValueOtherPrice";
|
|
17
|
+
currencyCode: string;
|
|
18
|
+
price: number;
|
|
19
|
+
}
|
|
20
|
+
export interface ListProductOptionSet_listProductOptionSet_options_selectSettings_values_otherPrices {
|
|
21
|
+
__typename: "ProductOptionSelectValueOtherPrice";
|
|
22
|
+
currencyCode: string;
|
|
23
|
+
price: number;
|
|
24
|
+
}
|
|
25
|
+
export interface ListProductOptionSet_listProductOptionSet_options_selectSettings_values {
|
|
26
|
+
__typename: "ProductOptionSelectValue";
|
|
27
|
+
createdAt: any | null;
|
|
28
|
+
deleted: boolean | null;
|
|
29
|
+
id: string;
|
|
30
|
+
order: number;
|
|
31
|
+
price: number | null;
|
|
32
|
+
otherPrices: ListProductOptionSet_listProductOptionSet_options_selectSettings_values_otherPrices[] | null;
|
|
33
|
+
updatedAt: any | null;
|
|
34
|
+
value: string;
|
|
35
|
+
thumbnailImageId: string | null;
|
|
36
|
+
colorCode: string | null;
|
|
37
|
+
}
|
|
38
|
+
export interface ListProductOptionSet_listProductOptionSet_options_selectSettings {
|
|
39
|
+
__typename: "ProductOptionSelectSettings";
|
|
40
|
+
maxSelect: number | null;
|
|
41
|
+
minSelect: number | null;
|
|
42
|
+
type: ProductOptionSelectTypeEnum;
|
|
43
|
+
values: ListProductOptionSet_listProductOptionSet_options_selectSettings_values[];
|
|
44
|
+
}
|
|
45
|
+
export interface ListProductOptionSet_listProductOptionSet_options_textSettings {
|
|
46
|
+
__typename: "ProductOptionTextSettings";
|
|
47
|
+
max: number | null;
|
|
48
|
+
min: number | null;
|
|
49
|
+
}
|
|
50
|
+
export interface ListProductOptionSet_listProductOptionSet_options {
|
|
51
|
+
__typename: "ProductOption";
|
|
52
|
+
createdAt: any | null;
|
|
53
|
+
dateSettings: ListProductOptionSet_listProductOptionSet_options_dateSettings | null;
|
|
54
|
+
deleted: boolean | null;
|
|
55
|
+
fileSettings: ListProductOptionSet_listProductOptionSet_options_fileSettings | null;
|
|
56
|
+
id: string;
|
|
57
|
+
isOptional: boolean | null;
|
|
58
|
+
name: string;
|
|
59
|
+
optionalText: string | null;
|
|
60
|
+
requiredOptionId: string | null;
|
|
61
|
+
requiredOptionValueIds: string[] | null;
|
|
62
|
+
order: number;
|
|
63
|
+
price: number | null;
|
|
64
|
+
otherPrices: ListProductOptionSet_listProductOptionSet_options_otherPrices[] | null;
|
|
65
|
+
selectSettings: ListProductOptionSet_listProductOptionSet_options_selectSettings | null;
|
|
66
|
+
textSettings: ListProductOptionSet_listProductOptionSet_options_textSettings | null;
|
|
67
|
+
type: ProductOptionTypeEnum;
|
|
68
|
+
updatedAt: any | null;
|
|
69
|
+
}
|
|
70
|
+
export interface ListProductOptionSet_listProductOptionSet_translations_options_values {
|
|
71
|
+
__typename: "ProductOptionSelectValueTranslations";
|
|
72
|
+
id: string;
|
|
73
|
+
value: string | null;
|
|
74
|
+
}
|
|
75
|
+
export interface ListProductOptionSet_listProductOptionSet_translations_options {
|
|
76
|
+
__typename: "ProductOptionTranslations";
|
|
77
|
+
id: string;
|
|
78
|
+
name: string | null;
|
|
79
|
+
optionalText: string | null;
|
|
80
|
+
values: ListProductOptionSet_listProductOptionSet_translations_options_values[] | null;
|
|
81
|
+
}
|
|
82
|
+
export interface ListProductOptionSet_listProductOptionSet_translations {
|
|
83
|
+
__typename: "ProductOptionSetTranslations";
|
|
84
|
+
locale: string;
|
|
85
|
+
options: ListProductOptionSet_listProductOptionSet_translations_options[] | null;
|
|
86
|
+
}
|
|
87
|
+
export interface ListProductOptionSet_listProductOptionSet {
|
|
88
|
+
__typename: "ProductOptionSet";
|
|
89
|
+
createdAt: any | null;
|
|
90
|
+
deleted: boolean | null;
|
|
91
|
+
id: string;
|
|
92
|
+
name: string;
|
|
93
|
+
options: ListProductOptionSet_listProductOptionSet_options[];
|
|
94
|
+
translations: ListProductOptionSet_listProductOptionSet_translations[] | null;
|
|
95
|
+
updatedAt: any | null;
|
|
96
|
+
}
|
|
97
|
+
export interface ListProductOptionSet {
|
|
98
|
+
listProductOptionSet: ListProductOptionSet_listProductOptionSet[];
|
|
99
|
+
}
|
|
100
|
+
export interface ListProductOptionSetVariables {
|
|
101
|
+
id: StringFilterInput;
|
|
102
|
+
updatedAt?: DateFilterInput | null;
|
|
103
|
+
includeDeleted: boolean;
|
|
104
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as n,__generator as e,__makeTemplateObject as t}from'../../ext/tslib/tslib.es6.js';import{IkasProductOptionSet as i}from"../../models/data/product-option-set/index.js";import d from'../../ext/graphql-tag/src/index.js';import{apollo as r}from"../apollo.js";var a,o=function(){function o(){}return o.list=function(o,l,u){return void 0===u&&(u=!1),n(this,void 0,void 0,(function(){var n,s,c,p,m;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),n=d(a||(a=t(["\n query ListProductOptionSet(\n $id: StringFilterInput!\n $updatedAt: DateFilterInput\n $includeDeleted: Boolean!\n ) {\n listProductOptionSet(\n updatedAt: $updatedAt\n includeDeleted: $includeDeleted\n id: $id\n ) {\n createdAt\n deleted\n id\n name\n options {\n createdAt\n dateSettings {\n max\n min\n minRelativeNextDate\n maxRelativeNextDate\n }\n deleted\n fileSettings {\n allowedExtensions\n maxQuantity\n minQuantity\n }\n id\n isOptional\n name\n optionalText\n requiredOptionId\n requiredOptionValueIds\n order\n price\n otherPrices {\n currencyCode\n price\n }\n selectSettings {\n maxSelect\n minSelect\n type\n values {\n createdAt\n deleted\n id\n order\n price\n otherPrices {\n currencyCode\n price\n }\n updatedAt\n value\n thumbnailImageId\n colorCode\n }\n }\n textSettings {\n max\n min\n }\n type\n updatedAt\n }\n translations {\n locale\n options {\n id\n name\n optionalText\n values {\n id\n value\n }\n }\n }\n updatedAt\n }\n }\n "],["\n query ListProductOptionSet(\n $id: StringFilterInput!\n $updatedAt: DateFilterInput\n $includeDeleted: Boolean!\n ) {\n listProductOptionSet(\n updatedAt: $updatedAt\n includeDeleted: $includeDeleted\n id: $id\n ) {\n createdAt\n deleted\n id\n name\n options {\n createdAt\n dateSettings {\n max\n min\n minRelativeNextDate\n maxRelativeNextDate\n }\n deleted\n fileSettings {\n allowedExtensions\n maxQuantity\n minQuantity\n }\n id\n isOptional\n name\n optionalText\n requiredOptionId\n requiredOptionValueIds\n order\n price\n otherPrices {\n currencyCode\n price\n }\n selectSettings {\n maxSelect\n minSelect\n type\n values {\n createdAt\n deleted\n id\n order\n price\n otherPrices {\n currencyCode\n price\n }\n updatedAt\n value\n thumbnailImageId\n colorCode\n }\n }\n textSettings {\n max\n min\n }\n type\n updatedAt\n }\n translations {\n locale\n options {\n id\n name\n optionalText\n values {\n id\n value\n }\n }\n }\n updatedAt\n }\n }\n "]))),[4,r.getClient().query({query:n,variables:{includeDeleted:u,updatedAt:{gt:l},id:{in:o}}})];case 1:return s=e.sent(),c=s.data,(p=s.errors)&&p.length?(console.log(p),[2]):[2,c.listProductOptionSet.map((function(n){return new i(n)}))];case 2:return m=e.sent(),console.log(m),[3,3];case 3:return[2]}}))}))},o}();export{o as IkasProductOptionSetAPI};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ProductFilterDisplayTypeEnum, ProductFilterTypeEnum, ProductFilterSortTypeEnum } from "./../../../__generated__/global-types";
|
|
2
|
+
export interface getProductFilterData_getProductFilterData_filters_values {
|
|
3
|
+
__typename: "ApplicableProductFilterValue";
|
|
4
|
+
colorCode: string | null;
|
|
5
|
+
id: string;
|
|
6
|
+
key: string;
|
|
7
|
+
name: string;
|
|
8
|
+
thumbnailImageId: string | null;
|
|
9
|
+
}
|
|
10
|
+
export interface getProductFilterData_getProductFilterData_filters_settings {
|
|
11
|
+
__typename: "ProductFilterSettings";
|
|
12
|
+
showCollapsedOnDesktop: boolean;
|
|
13
|
+
showCollapsedOnMobile: boolean;
|
|
14
|
+
sortType: ProductFilterSortTypeEnum;
|
|
15
|
+
useAndFilter: boolean | null;
|
|
16
|
+
}
|
|
17
|
+
export interface getProductFilterData_getProductFilterData_filters {
|
|
18
|
+
__typename: "ProductFilterDataFilter";
|
|
19
|
+
customValues: string[] | null;
|
|
20
|
+
displayType: ProductFilterDisplayTypeEnum;
|
|
21
|
+
id: string;
|
|
22
|
+
isMultiSelect: boolean;
|
|
23
|
+
isFacetFilter: boolean | null;
|
|
24
|
+
key: string;
|
|
25
|
+
name: string;
|
|
26
|
+
order: number;
|
|
27
|
+
type: ProductFilterTypeEnum;
|
|
28
|
+
values: getProductFilterData_getProductFilterData_filters_values[] | null;
|
|
29
|
+
settings: getProductFilterData_getProductFilterData_filters_settings | null;
|
|
30
|
+
}
|
|
31
|
+
export interface getProductFilterData_getProductFilterData_categories_metaData {
|
|
32
|
+
__typename: "HTMLMetaData";
|
|
33
|
+
/**
|
|
34
|
+
* The token of the metadata. It is saved as completely unique.
|
|
35
|
+
*/
|
|
36
|
+
slug: string;
|
|
37
|
+
}
|
|
38
|
+
export interface getProductFilterData_getProductFilterData_categories {
|
|
39
|
+
__typename: "Category";
|
|
40
|
+
id: string;
|
|
41
|
+
/**
|
|
42
|
+
* It is the name of the category in which the product is located.
|
|
43
|
+
*/
|
|
44
|
+
name: string;
|
|
45
|
+
/**
|
|
46
|
+
* It is the metadata information of the product category.
|
|
47
|
+
*/
|
|
48
|
+
metaData: getProductFilterData_getProductFilterData_categories_metaData | null;
|
|
49
|
+
}
|
|
50
|
+
export interface getProductFilterData_getProductFilterData {
|
|
51
|
+
__typename: "ProductFilterData";
|
|
52
|
+
filters: getProductFilterData_getProductFilterData_filters[];
|
|
53
|
+
categories: getProductFilterData_getProductFilterData_categories[] | null;
|
|
54
|
+
}
|
|
55
|
+
export interface getProductFilterData {
|
|
56
|
+
getProductFilterData: getProductFilterData_getProductFilterData;
|
|
57
|
+
}
|
|
58
|
+
export interface getProductFilterDataVariables {
|
|
59
|
+
categoryId?: string | null;
|
|
60
|
+
locale?: string | null;
|
|
61
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SearchDynamicCurrencySettings } from "./../../../__generated__/global-types";
|
|
2
|
+
export interface getRelatedProducts {
|
|
3
|
+
getRelatedProducts: any;
|
|
4
|
+
}
|
|
5
|
+
export interface getRelatedProductsVariables {
|
|
6
|
+
brandIds?: string[] | null;
|
|
7
|
+
categoryIds?: string[] | null;
|
|
8
|
+
dynamicCurrencySettings?: SearchDynamicCurrencySettings | null;
|
|
9
|
+
limit?: number | null;
|
|
10
|
+
priceListId?: string | null;
|
|
11
|
+
productId: string;
|
|
12
|
+
salesChannelId?: string | null;
|
|
13
|
+
tagIds?: string[] | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SearchInput } from "./../../../__generated__/global-types";
|
|
2
|
+
export interface searchProducts_searchProducts_facets_values {
|
|
3
|
+
__typename: "ProductFacetCountValue";
|
|
4
|
+
count: number;
|
|
5
|
+
id: string;
|
|
6
|
+
}
|
|
7
|
+
export interface searchProducts_searchProducts_facets {
|
|
8
|
+
__typename: "ProductFacetCount";
|
|
9
|
+
id: string;
|
|
10
|
+
values: searchProducts_searchProducts_facets_values[];
|
|
11
|
+
}
|
|
12
|
+
export interface searchProducts_searchProducts {
|
|
13
|
+
__typename: "ProductSearchResponse";
|
|
14
|
+
count: number;
|
|
15
|
+
data: any;
|
|
16
|
+
facets: searchProducts_searchProducts_facets[] | null;
|
|
17
|
+
limit: number;
|
|
18
|
+
page: number;
|
|
19
|
+
totalCount: number;
|
|
20
|
+
}
|
|
21
|
+
export interface searchProducts {
|
|
22
|
+
searchProducts: searchProducts_searchProducts;
|
|
23
|
+
}
|
|
24
|
+
export interface searchProductsVariables {
|
|
25
|
+
input: SearchInput;
|
|
26
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { SearchDynamicCurrencySettings, SearchInput } from "../../__generated__/global-types";
|
|
2
|
+
import { IkasProduct } from "../../models";
|
|
3
|
+
import * as SearchProductTypes from "./__generated__/searchProducts";
|
|
4
|
+
import { IkasProductFilter } from "../../models/data/product-filter";
|
|
5
|
+
import { IkasFilterCategory } from "../../models/data/category";
|
|
6
|
+
export declare type IkasGetRelatedProductsParams = {
|
|
7
|
+
brandIds?: string[] | null;
|
|
8
|
+
categoryIds?: string[] | null;
|
|
9
|
+
dynamicCurrencySettings?: SearchDynamicCurrencySettings | null;
|
|
10
|
+
limit?: number | null;
|
|
11
|
+
priceListId?: string | null;
|
|
12
|
+
productId: string;
|
|
13
|
+
salesChannelId?: string | null;
|
|
14
|
+
tagIds?: string[] | null;
|
|
15
|
+
};
|
|
16
|
+
export declare class IkasProductSearchAPI {
|
|
17
|
+
static searchProducts(input: SearchInput, useStockFilter?: boolean): Promise<{
|
|
18
|
+
data: IkasProduct[];
|
|
19
|
+
__typename: "ProductSearchResponse";
|
|
20
|
+
count: number;
|
|
21
|
+
facets: SearchProductTypes.searchProducts_searchProducts_facets[] | null;
|
|
22
|
+
limit: number;
|
|
23
|
+
page: number;
|
|
24
|
+
totalCount: number;
|
|
25
|
+
} | undefined>;
|
|
26
|
+
static getProductFilterData(categoryId?: string): Promise<{
|
|
27
|
+
filters: IkasProductFilter[];
|
|
28
|
+
categories: IkasFilterCategory[] | null;
|
|
29
|
+
} | undefined>;
|
|
30
|
+
static getRelatedProducts(params: IkasGetRelatedProductsParams): Promise<{
|
|
31
|
+
data: IkasProduct[];
|
|
32
|
+
count: any;
|
|
33
|
+
facets: null;
|
|
34
|
+
limit: number;
|
|
35
|
+
page: number;
|
|
36
|
+
totalCount: any;
|
|
37
|
+
} | undefined>;
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as t,__generator as e,__assign as n,__makeTemplateObject as i}from'../../ext/tslib/tslib.es6.js';import r from'../../ext/graphql-tag/src/index.js';import{apollo as o}from"../apollo.js";import"../../models/data/blog/index.js";import{IkasBrand as a}from"../../models/data/brand/index.js";import{IkasCategory as d,IkasCategoryPath as s,IkasFilterCategory as l}from"../../models/data/category/index.js";import"../../models/data/checkout/index.js";import"../../models/data/customer/address/index.js";import"../../models/data/customer/index.js";import"../../models/data/customer-review/index.js";import"mobx";import{IkasHTMLMetaData as u}from"../../models/data/html-meta-data/index.js";import{IkasImage as c}from"../../models/data/image/index.js";import"../../models/data/installment-info/index.js";import"../../models/data/order/index.js";import"../../models/data/order/line-item/index.js";import"../product-option-file/index.js";import{IkasProduct as m}from"../../models/data/product/index.js";import{IkasProductVariantType as p}from"../../models/data/product/variant-type/index.js";import{IkasProductVariant as v}from"../../models/data/product/variant/index.js";import{IkasProductPrice as g}from"../../models/data/product/variant/price/index.js";import{IkasProductAttribute as y}from"../../models/data/product-attribute/index.js";import{IkasProductAttributeValue as f}from"../../models/data/product/attribute-value/index.js";import{IkasProductFilter as I,IkasApplicableProductFilterValue as b,IkasProductFilterSettings as j}from"../../models/data/product-filter/index.js";import{IkasVariantType as h}from"../../models/data/variant-type/index.js";import{IkasVariantValue as x}from"../../models/data/variant-type/variant-value/index.js";import"../../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{IkasThemeStockPreference as $}from"../../models/theme/settings/index.js";import"../../models/theme/custom-data/index.js";import{IkasProductTag as C}from"../../models/data/product-tag/index.js";import{IkasStorefrontConfig as S}from"../../storefront/index.js";import{IkasProductAttributeTableTemplate as w}from"../../models/data/product-attribute/product-attribute-table-template/index.js";var T,A,P,D=function(){function a(){}return a.searchProducts=function(a,d){var s;return void 0===d&&(d=!1),t(this,void 0,void 0,(function(){var t,l,u,c,m;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),t=r(T||(T=i(["\n query searchProducts($input: SearchInput!) {\n searchProducts(input: $input) {\n count\n data\n facets {\n id\n values {\n count\n id\n }\n }\n limit\n page\n totalCount\n }\n }\n "],["\n query searchProducts($input: SearchInput!) {\n searchProducts(input: $input) {\n count\n data\n facets {\n id\n values {\n count\n id\n }\n }\n limit\n page\n totalCount\n }\n }\n "]))),[4,o.getClient().query({query:t,variables:{input:n(n({},a),{showStockOption:d?S.stockPreference:$.SHOW_ALL,locale:S.getCurrentLocale(),dynamicCurrencySettings:(null===(s=S.getCurrentRouting())||void 0===s?void 0:s.dynamicCurrencySettings)||null})}})];case 1:return l=e.sent(),u=l.data,(c=l.errors)&&c.length?(console.log(c),[2]):[2,n(n({},u.searchProducts),{data:u.searchProducts.data.map((function(t){return O(t)}))})];case 2:return m=e.sent(),console.log(m),[3,3];case 3:return[2]}}))}))},a.getProductFilterData=function(a){return t(this,void 0,void 0,(function(){var t,d,s,u,c;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),t=r(A||(A=i(["\n query getProductFilterData($categoryId: String, $locale: String) {\n getProductFilterData(categoryId: $categoryId, locale: $locale) {\n filters {\n customValues\n displayType\n id\n isMultiSelect\n isFacetFilter\n key\n name\n order\n type\n values {\n colorCode\n id\n key\n name\n thumbnailImageId\n }\n settings {\n showCollapsedOnDesktop\n showCollapsedOnMobile\n sortType\n useAndFilter\n }\n }\n categories {\n id\n name\n metaData {\n slug\n }\n }\n }\n }\n "],["\n query getProductFilterData($categoryId: String, $locale: String) {\n getProductFilterData(categoryId: $categoryId, locale: $locale) {\n filters {\n customValues\n displayType\n id\n isMultiSelect\n isFacetFilter\n key\n name\n order\n type\n values {\n colorCode\n id\n key\n name\n thumbnailImageId\n }\n settings {\n showCollapsedOnDesktop\n showCollapsedOnMobile\n sortType\n useAndFilter\n }\n }\n categories {\n id\n name\n metaData {\n slug\n }\n }\n }\n }\n "]))),[4,o.getClient().query({query:t,variables:{categoryId:a||null,locale:S.getCurrentLocale()}})];case 1:return d=e.sent(),s=d.data,(u=d.errors)&&u.length?(console.log(u),[2]):[2,{filters:s.getProductFilterData.filters.map((function(t){var e;return new I(n(n({},t),{displayType:t.displayType,type:t.type,values:null===(e=t.values)||void 0===e?void 0:e.map((function(t){return new b(t)})),settings:t.settings?new j(n(n({},t.settings),{sortType:t.settings.sortType})):null}))})),categories:s.getProductFilterData.categories?s.getProductFilterData.categories.map((function(t){var e;return new l({id:t.id,name:t.name,slug:null===(e=t.metaData)||void 0===e?void 0:e.slug})})):null}];case 2:return c=e.sent(),console.log(c),[3,3];case 3:return[2]}}))}))},a.getRelatedProducts=function(a){var d;return t(this,void 0,void 0,(function(){var t,s,l,u,c;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),t=r(P||(P=i(["\n query getRelatedProducts(\n $brandIds: [String!]\n $categoryIds: [String!]\n $dynamicCurrencySettings: SearchDynamicCurrencySettings\n $limit: Float\n $priceListId: String\n $productId: String!\n $salesChannelId: String\n $tagIds: [String!]\n ) {\n getRelatedProducts(\n brandIds: $brandIds\n categoryIds: $categoryIds\n dynamicCurrencySettings: $dynamicCurrencySettings\n limit: $limit\n priceListId: $priceListId\n productId: $productId\n salesChannelId: $salesChannelId\n tagIds: $tagIds\n )\n }\n "],["\n query getRelatedProducts(\n $brandIds: [String!]\n $categoryIds: [String!]\n $dynamicCurrencySettings: SearchDynamicCurrencySettings\n $limit: Float\n $priceListId: String\n $productId: String!\n $salesChannelId: String\n $tagIds: [String!]\n ) {\n getRelatedProducts(\n brandIds: $brandIds\n categoryIds: $categoryIds\n dynamicCurrencySettings: $dynamicCurrencySettings\n limit: $limit\n priceListId: $priceListId\n productId: $productId\n salesChannelId: $salesChannelId\n tagIds: $tagIds\n )\n }\n "]))),[4,o.getClient().query({query:t,variables:n(n({},a),{limit:a.limit?a.limit:20,tagIds:a.tagIds?a.tagIds:null,dynamicCurrencySettings:(null===(d=S.getCurrentRouting())||void 0===d?void 0:d.dynamicCurrencySettings)||null})})];case 1:return s=e.sent(),l=s.data,(u=s.errors)&&u.length?(console.log(u),[2]):[2,{data:l.getRelatedProducts.map((function(t){return O(t)})),count:l.getRelatedProducts.length,facets:null,limit:20,page:1,totalCount:l.getRelatedProducts.length}];case 2:return c=e.sent(),console.log(c),[3,3];case 3:return[2]}}))}))},a}();function O(t){var e,n,i,r,o,l,I="local"===process.env.NEXT_PUBLIC_ENV;return new m({id:t.id,attributes:null===(e=t.attributes)||void 0===e?void 0:e.map((function(t){var e,n,i,r,o,a;return new f({value:t.value,productAttributeId:null===(e=t.productAttribute)||void 0===e?void 0:e.id,productAttributeOptionId:null===(n=t.productAttributeOption)||void 0===n?void 0:n.id,productAttribute:new y({id:null===(i=t.productAttribute)||void 0===i?void 0:i.id,name:null===(r=t.productAttribute)||void 0===r?void 0:r.name,type:null===(o=t.productAttribute)||void 0===o?void 0:o.type,tableTemplate:(null===(a=t.productAttribute)||void 0===a?void 0:a.tableTemplate)?new w(t.productAttribute.tableTemplate):null}),productAttributeOption:t.productAttributeOption})})),brand:new a({id:null===(n=t.brand)||void 0===n?void 0:n.id,name:null===(i=t.brand)||void 0===i?void 0:i.name,metaData:new u({slug:(null===(r=t.brand)||void 0===r?void 0:r.slug)||""})}),categories:null===(o=t.categories)||void 0===o?void 0:o.map((function(t){return new d({id:t.id,name:t.name,path:t.path.map((function(t){return new s(t)})),metaData:new u({slug:t.slug||""})})})),tags:null===(l=t.tags)||void 0===l?void 0:l.map((function(t){return new C({id:t.id,name:t.name})})),description:t.description||void 0,metaData:new u(t.metaData||void 0),name:t.name,shortDescription:t.shortDescription||void 0,productOptionSetId:t.productOptionSetId,variantTypes:t.productVariantTypes.map((function(t){return new p({variantType:new h({id:t.variantType.id,name:t.variantType.name,selectionType:t.variantType.selectionType,values:t.variantType.values.map((function(e){return new x({id:e.id,colorCode:e.colorCode,name:e.name,thumbnailImageId:e.thumbnailImageId,variantTypeId:t.variantType.id})})).filter((function(e){return t.variantValueIds.includes(e.id)}))}),variantValueIds:t.variantValueIds})})),variants:t.variants.map((function(e){var n,i,r,o;return new v({id:e.id,productId:t.id,attributes:null===(n=e.attributes)||void 0===n?void 0:n.map((function(t){var e,n,i,r,o,a;return new f({value:t.value,productAttributeId:null===(e=t.productAttribute)||void 0===e?void 0:e.id,productAttributeOptionId:null===(n=t.productAttributeOption)||void 0===n?void 0:n.id,productAttribute:new y({id:null===(i=t.productAttribute)||void 0===i?void 0:i.id,name:null===(r=t.productAttribute)||void 0===r?void 0:r.name,type:null===(o=t.productAttribute)||void 0===o?void 0:o.type,tableTemplate:(null===(a=t.productAttribute)||void 0===a?void 0:a.tableTemplate)?new w(t.productAttribute.tableTemplate):null}),productAttributeOption:t.productAttributeOption})})),sku:e.sku,barcodeList:e.barcodeList||void 0,images:null===(i=e.images)||void 0===i?void 0:i.map((function(t){return new c(t.id,t.isVideo)})),price:new g(null===(r=e.prices)||void 0===r?void 0:r.find((function(t){return S.priceListId?t.priceListId===S.priceListId:null===t.priceListId}))),stock:e.stocks.filter((function(t){var e;return I||S.isEditor||(null===(e=S.stockLocationIds)||void 0===e?void 0:e.includes(t.stockLocationId))})).reduce((function(t,e){return e.stockCount+t}),0)||0,variantValues:null===(o=e.variantValues)||void 0===o?void 0:o.map((function(e){var n=t.productVariantTypes.find((function(t){return t.variantType.id===e.variantTypeId})),i=null==n?void 0:n.variantType.values.find((function(t){return t.id===e.variantValueId}));return new x({id:e.variantValueId,name:null==i?void 0:i.name,colorCode:null==i?void 0:i.colorCode,thumbnailImageId:null==i?void 0:i.thumbnailImageId,variantTypeId:null==n?void 0:n.variantType.id})})),isActive:e.isActive,sellIfOutOfStock:e.sellIfOutOfStock})}))})}export{D as IkasProductSearchAPI};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { VerificationTypeEnum, RaffleMetadataTargetTypeEnum } from "./../../../__generated__/global-types";
|
|
2
|
+
export interface getRafflesByCustomerId_getRafflesByCustomerId_variants {
|
|
3
|
+
__typename: "RaffleVariantInformation";
|
|
4
|
+
productId: string;
|
|
5
|
+
variantId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface getRafflesByCustomerId_getRafflesByCustomerId_dateRange {
|
|
8
|
+
__typename: "RaffleDateRangeField";
|
|
9
|
+
end: any | null;
|
|
10
|
+
start: any | null;
|
|
11
|
+
}
|
|
12
|
+
export interface getRafflesByCustomerId_getRafflesByCustomerId_metadata {
|
|
13
|
+
__typename: "RaffleMetadata";
|
|
14
|
+
createdAt: any | null;
|
|
15
|
+
deleted: boolean | null;
|
|
16
|
+
description: string | null;
|
|
17
|
+
id: string;
|
|
18
|
+
pageTitle: string | null;
|
|
19
|
+
slug: string;
|
|
20
|
+
targetId: string | null;
|
|
21
|
+
targetType: RaffleMetadataTargetTypeEnum | null;
|
|
22
|
+
updatedAt: any | null;
|
|
23
|
+
}
|
|
24
|
+
export interface getRafflesByCustomerId_getRafflesByCustomerId {
|
|
25
|
+
__typename: "Raffle";
|
|
26
|
+
createdAt: any | null;
|
|
27
|
+
variants: getRafflesByCustomerId_getRafflesByCustomerId_variants[];
|
|
28
|
+
verificationType: VerificationTypeEnum;
|
|
29
|
+
dateRange: getRafflesByCustomerId_getRafflesByCustomerId_dateRange | null;
|
|
30
|
+
deleted: boolean | null;
|
|
31
|
+
id: string;
|
|
32
|
+
metadata: getRafflesByCustomerId_getRafflesByCustomerId_metadata;
|
|
33
|
+
name: string;
|
|
34
|
+
participantCount: number | null;
|
|
35
|
+
requiredCustomerAccount: boolean;
|
|
36
|
+
status: boolean;
|
|
37
|
+
updatedAt: any | null;
|
|
38
|
+
}
|
|
39
|
+
export interface getRafflesByCustomerId {
|
|
40
|
+
getRafflesByCustomerId: getRafflesByCustomerId_getRafflesByCustomerId[];
|
|
41
|
+
}
|
|
42
|
+
export interface getRafflesByCustomerIdVariables {
|
|
43
|
+
winnerFilter?: boolean | null;
|
|
44
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { DateFilterInput, StringFilterInput, PaginationInput, VerificationTypeEnum, RaffleMetadataTargetTypeEnum } from "./../../../__generated__/global-types";
|
|
2
|
+
export interface listRaffle_listRaffle_data_variants {
|
|
3
|
+
__typename: "RaffleVariantInformation";
|
|
4
|
+
productId: string;
|
|
5
|
+
variantId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface listRaffle_listRaffle_data_dateRange {
|
|
8
|
+
__typename: "RaffleDateRangeField";
|
|
9
|
+
end: any | null;
|
|
10
|
+
start: any | null;
|
|
11
|
+
}
|
|
12
|
+
export interface listRaffle_listRaffle_data_metadata {
|
|
13
|
+
__typename: "RaffleMetadata";
|
|
14
|
+
createdAt: any | null;
|
|
15
|
+
deleted: boolean | null;
|
|
16
|
+
description: string | null;
|
|
17
|
+
id: string;
|
|
18
|
+
pageTitle: string | null;
|
|
19
|
+
slug: string;
|
|
20
|
+
targetId: string | null;
|
|
21
|
+
targetType: RaffleMetadataTargetTypeEnum | null;
|
|
22
|
+
updatedAt: any | null;
|
|
23
|
+
}
|
|
24
|
+
export interface listRaffle_listRaffle_data {
|
|
25
|
+
__typename: "Raffle";
|
|
26
|
+
createdAt: any | null;
|
|
27
|
+
variants: listRaffle_listRaffle_data_variants[];
|
|
28
|
+
verificationType: VerificationTypeEnum;
|
|
29
|
+
dateRange: listRaffle_listRaffle_data_dateRange | null;
|
|
30
|
+
deleted: boolean | null;
|
|
31
|
+
id: string;
|
|
32
|
+
metadata: listRaffle_listRaffle_data_metadata;
|
|
33
|
+
name: string;
|
|
34
|
+
participantCount: number | null;
|
|
35
|
+
requiredCustomerAccount: boolean;
|
|
36
|
+
status: boolean;
|
|
37
|
+
updatedAt: any | null;
|
|
38
|
+
}
|
|
39
|
+
export interface listRaffle_listRaffle {
|
|
40
|
+
__typename: "RafflePaginationResponse";
|
|
41
|
+
/**
|
|
42
|
+
* Returns the first three records of each page in the records returned as a response.
|
|
43
|
+
* For example, **let's say page = 3, limit = 30, count = 3.**
|
|
44
|
+
* The records that will return as a response are the records **between 60-62.**
|
|
45
|
+
*/
|
|
46
|
+
count: number;
|
|
47
|
+
/**
|
|
48
|
+
* In the records returned as Response, it shows whether there are any more
|
|
49
|
+
* records or not. For example, let's say our page field is three and our limit
|
|
50
|
+
* field is thirty. Records between 60 and 90 will be returned. If hasNext is
|
|
51
|
+
* `true` despite these records, **it means there are more records.** If hasNext
|
|
52
|
+
* is `false`, it means there are a total of **90 records.**
|
|
53
|
+
*/
|
|
54
|
+
hasNext: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* The maximum number of data you want to see on a page in the records returned as a response.
|
|
57
|
+
* For example, if the limit is **20**, the data will be displayed ** as 20 each. **
|
|
58
|
+
* :::note
|
|
59
|
+
* min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
|
|
60
|
+
* :::
|
|
61
|
+
*/
|
|
62
|
+
limit: number;
|
|
63
|
+
/**
|
|
64
|
+
* The number of the page you want to see in the records that return as response.
|
|
65
|
+
* For example: We entered the page field as **3**.And let our limit field be **30**.
|
|
66
|
+
* The records that will return as a response are the records **between 60-90.**
|
|
67
|
+
* :::note
|
|
68
|
+
* If no value is entered, default 1 is accepted.
|
|
69
|
+
* :::
|
|
70
|
+
*/
|
|
71
|
+
page: number;
|
|
72
|
+
data: listRaffle_listRaffle_data[];
|
|
73
|
+
}
|
|
74
|
+
export interface listRaffle {
|
|
75
|
+
listRaffle: listRaffle_listRaffle;
|
|
76
|
+
}
|
|
77
|
+
export interface listRaffleVariables {
|
|
78
|
+
end?: DateFilterInput | null;
|
|
79
|
+
start?: DateFilterInput | null;
|
|
80
|
+
id?: StringFilterInput | null;
|
|
81
|
+
includeDeleted?: boolean | null;
|
|
82
|
+
name?: StringFilterInput | null;
|
|
83
|
+
pagination?: PaginationInput | null;
|
|
84
|
+
search?: string | null;
|
|
85
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { StringFilterInput, RaffleMetadataTargetTypeEnumFilter, PaginationInput, RaffleMetadataTargetTypeEnum } from "./../../../__generated__/global-types";
|
|
2
|
+
export interface listRaffleMetaData_listRaffleMetadata {
|
|
3
|
+
__typename: "RaffleMetadata";
|
|
4
|
+
createdAt: any | null;
|
|
5
|
+
deleted: boolean | null;
|
|
6
|
+
description: string | null;
|
|
7
|
+
id: string;
|
|
8
|
+
pageTitle: string | null;
|
|
9
|
+
slug: string;
|
|
10
|
+
targetId: string | null;
|
|
11
|
+
targetType: RaffleMetadataTargetTypeEnum | null;
|
|
12
|
+
updatedAt: any | null;
|
|
13
|
+
}
|
|
14
|
+
export interface listRaffleMetaData {
|
|
15
|
+
listRaffleMetadata: listRaffleMetaData_listRaffleMetadata[];
|
|
16
|
+
}
|
|
17
|
+
export interface listRaffleMetaDataVariables {
|
|
18
|
+
slug?: StringFilterInput | null;
|
|
19
|
+
targetId?: StringFilterInput | null;
|
|
20
|
+
targetType?: RaffleMetadataTargetTypeEnumFilter | null;
|
|
21
|
+
pagination?: PaginationInput | null;
|
|
22
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { RaffleParticipantsInput } from "./../../../__generated__/global-types";
|
|
2
|
+
export interface saveRaffleParticipant_saveRaffleParticipant_appliedProduct {
|
|
3
|
+
__typename: "AppliedProduct";
|
|
4
|
+
productId: string | null;
|
|
5
|
+
variantId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface saveRaffleParticipant_saveRaffleParticipant {
|
|
8
|
+
__typename: "RaffleParticipants";
|
|
9
|
+
applicationDate: any;
|
|
10
|
+
isWinner: boolean | null;
|
|
11
|
+
lastName: string;
|
|
12
|
+
phone: string | null;
|
|
13
|
+
raffleId: string;
|
|
14
|
+
updatedAt: any | null;
|
|
15
|
+
appliedProduct: saveRaffleParticipant_saveRaffleParticipant_appliedProduct;
|
|
16
|
+
createdAt: any | null;
|
|
17
|
+
customerId: string | null;
|
|
18
|
+
deleted: boolean | null;
|
|
19
|
+
email: string;
|
|
20
|
+
extraData: any | null;
|
|
21
|
+
firstName: string;
|
|
22
|
+
fullName: string;
|
|
23
|
+
id: string;
|
|
24
|
+
}
|
|
25
|
+
export interface saveRaffleParticipant {
|
|
26
|
+
saveRaffleParticipant: saveRaffleParticipant_saveRaffleParticipant;
|
|
27
|
+
}
|
|
28
|
+
export interface saveRaffleParticipantVariables {
|
|
29
|
+
input: RaffleParticipantsInput;
|
|
30
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IkasRaffle, IkasRaffleMetaData, IkasRaffleParticipant } from "../../models/data/raffle";
|
|
2
|
+
export declare type IkasListRaffleParams = {
|
|
3
|
+
start?: number | null;
|
|
4
|
+
end?: number | null;
|
|
5
|
+
includeDeleted?: boolean;
|
|
6
|
+
name?: string | null;
|
|
7
|
+
pagination?: {
|
|
8
|
+
limit: number;
|
|
9
|
+
page: number;
|
|
10
|
+
} | null;
|
|
11
|
+
search?: string | null;
|
|
12
|
+
id?: string | null;
|
|
13
|
+
};
|
|
14
|
+
export declare class IkasRaffleAPI {
|
|
15
|
+
static listRaffles(params: IkasListRaffleParams): Promise<ListRafflesResponse>;
|
|
16
|
+
static saveRaffleParticipant(participant: IkasRaffleParticipant): Promise<IkasRaffleParticipant | undefined>;
|
|
17
|
+
static listRaffleMetaData(slug?: string, targetIds?: string[], targetType?: string[], page?: number, limit?: number): Promise<IkasRaffleMetaData[]>;
|
|
18
|
+
static getRafflesByCustomerId(isWinner?: boolean): Promise<IkasRaffle[] | undefined>;
|
|
19
|
+
}
|
|
20
|
+
declare type ListRafflesResponse = {
|
|
21
|
+
raffles: IkasRaffle[];
|
|
22
|
+
count: number;
|
|
23
|
+
};
|
|
24
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as n,__generator as t,__makeTemplateObject as e}from'../../ext/tslib/tslib.es6.js';import a from'../../ext/graphql-tag/src/index.js';import{apollo as i}from"../apollo.js";import{IkasRaffle as r,IkasRaffleAppliedProduct as d,IkasRaffleParticipant as l,IkasRaffleMetaData as u}from"../../models/data/raffle/index.js";var s,o,p,c,g=function(){function g(){}return g.listRaffles=function(l){return n(this,void 0,void 0,(function(){var n,u,o,p,c,g,f;return t(this,(function(t){switch(t.label){case 0:n=a(s||(s=e(["\n query listRaffle(\n $end: DateFilterInput\n $start: DateFilterInput\n $id: StringFilterInput\n $includeDeleted: Boolean\n $name: StringFilterInput\n $pagination: PaginationInput\n $search: String\n ) {\n listRaffle(\n start: $start\n end: $end\n id: $id\n includeDeleted: $includeDeleted\n name: $name\n pagination: $pagination\n search: $search\n ) {\n count\n hasNext\n limit\n page\n data {\n createdAt\n variants {\n productId\n variantId\n }\n verificationType\n dateRange {\n end\n start\n }\n deleted\n id\n metadata {\n createdAt\n deleted\n description\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n name\n participantCount\n requiredCustomerAccount\n status\n updatedAt\n }\n }\n }\n "],["\n query listRaffle(\n $end: DateFilterInput\n $start: DateFilterInput\n $id: StringFilterInput\n $includeDeleted: Boolean\n $name: StringFilterInput\n $pagination: PaginationInput\n $search: String\n ) {\n listRaffle(\n start: $start\n end: $end\n id: $id\n includeDeleted: $includeDeleted\n name: $name\n pagination: $pagination\n search: $search\n ) {\n count\n hasNext\n limit\n page\n data {\n createdAt\n variants {\n productId\n variantId\n }\n verificationType\n dateRange {\n end\n start\n }\n deleted\n id\n metadata {\n createdAt\n deleted\n description\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n name\n participantCount\n requiredCustomerAccount\n status\n updatedAt\n }\n }\n }\n "]))),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,i.getClient().query({query:n,variables:{start:l.start?{eq:l.start}:void 0,end:l.end?{eq:l.end}:void 0,id:l.id?{eq:l.id}:void 0,includeDeleted:(l.includeDeleted,l.includeDeleted),name:l.name?{eq:l.name}:void 0,pagination:l.pagination?{limit:l.pagination.limit,page:l.pagination.page}:void 0,search:l.search}})];case 2:return u=t.sent(),o=u.data,(p=u.errors)&&p.length?[2,{raffles:[],count:0}]:(c=o.listRaffle.count,g=o.listRaffle.data.map((function(n){var t,e;return new r({id:n.id,dateRange:{end:null===(t=n.dateRange)||void 0===t?void 0:t.end,start:null===(e=n.dateRange)||void 0===e?void 0:e.start},createdAt:n.createdAt,deleted:n.deleted,metadata:n.metadata||void 0,name:n.name,participantCount:n.participantCount,requiredCustomerAccount:n.requiredCustomerAccount,status:n.status,updatedAt:n.updatedAt,variants:n.variants.length>0?n.variants.map((function(n){return new d(n)})):void 0,verificationType:n.verificationType})})),[2,{count:c,raffles:g}]);case 3:return f=t.sent(),console.log(f),[2,{raffles:[],count:0}];case 4:return[2]}}))}))},g.saveRaffleParticipant=function(r){return n(this,void 0,void 0,(function(){var n,d,u,s,p;return t(this,(function(t){switch(t.label){case 0:n=a(o||(o=e(["\n mutation saveRaffleParticipant($input: RaffleParticipantsInput!) {\n saveRaffleParticipant(input: $input) {\n applicationDate\n isWinner\n lastName\n phone\n raffleId\n updatedAt\n appliedProduct {\n productId\n variantId\n }\n createdAt\n customerId\n deleted\n email\n extraData\n firstName\n fullName\n id\n }\n }\n "],["\n mutation saveRaffleParticipant($input: RaffleParticipantsInput!) {\n saveRaffleParticipant(input: $input) {\n applicationDate\n isWinner\n lastName\n phone\n raffleId\n updatedAt\n appliedProduct {\n productId\n variantId\n }\n createdAt\n customerId\n deleted\n email\n extraData\n firstName\n fullName\n id\n }\n }\n "]))),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{input:{appliedProduct:r.appliedProduct,email:r.email,firstName:r.firstName,lastName:r.lastName,raffleId:r.raffleId,extraData:r.extraData,phone:r.phone}}})];case 2:return d=t.sent(),u=d.data,(s=d.errors)&&s.length&&console.log(s),u&&u.saveRaffleParticipant?[2,new l(u.saveRaffleParticipant)]:[3,4];case 3:return p=t.sent(),console.log(p),[3,4];case 4:return[2]}}))}))},g.listRaffleMetaData=function(r,d,l,s,o){return void 0===s&&(s=1),void 0===o&&(o=200),n(this,void 0,void 0,(function(){var n,c,g,f,m;return t(this,(function(t){switch(t.label){case 0:n=a(p||(p=e(["\n query listRaffleMetaData(\n $slug: StringFilterInput\n $targetId: StringFilterInput\n $targetType: RaffleMetadataTargetTypeEnumFilter\n $pagination: PaginationInput\n ) {\n listRaffleMetadata(\n slug: $slug\n targetId: $targetId\n targetType: $targetType\n pagination: $pagination\n ) {\n createdAt\n deleted\n description\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n }\n "],["\n query listRaffleMetaData(\n $slug: StringFilterInput\n $targetId: StringFilterInput\n $targetType: RaffleMetadataTargetTypeEnumFilter\n $pagination: PaginationInput\n ) {\n listRaffleMetadata(\n slug: $slug\n targetId: $targetId\n targetType: $targetType\n pagination: $pagination\n ) {\n createdAt\n deleted\n description\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n }\n "]))),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,i.getClient().query({query:n,variables:{slug:r?{eq:r}:void 0,targetId:d?{in:d}:void 0,targetType:l?{in:l}:void 0,pagination:{page:s,limit:o}}})];case 2:return c=t.sent(),g=c.data,(f=c.errors)&&f.length?[2,[]]:[2,g.listRaffleMetadata.map((function(n){return new u(n)}))];case 3:return m=t.sent(),console.log(m),[2,[]];case 4:return[2]}}))}))},g.getRafflesByCustomerId=function(l){return n(this,void 0,void 0,(function(){var n,u,s,o,p,g;return t(this,(function(t){switch(t.label){case 0:n=a(c||(c=e(["\n query getRafflesByCustomerId($winnerFilter: Boolean) {\n getRafflesByCustomerId(winnerFilter: $winnerFilter) {\n createdAt\n variants {\n productId\n variantId\n }\n verificationType\n dateRange {\n end\n start\n }\n deleted\n id\n metadata {\n createdAt\n deleted\n description\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n name\n participantCount\n requiredCustomerAccount\n status\n updatedAt\n }\n }\n "],["\n query getRafflesByCustomerId($winnerFilter: Boolean) {\n getRafflesByCustomerId(winnerFilter: $winnerFilter) {\n createdAt\n variants {\n productId\n variantId\n }\n verificationType\n dateRange {\n end\n start\n }\n deleted\n id\n metadata {\n createdAt\n deleted\n description\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n name\n participantCount\n requiredCustomerAccount\n status\n updatedAt\n }\n }\n "]))),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,i.getClient().query({query:n,variables:{winnerFilter:l||void 0}})];case 2:return u=t.sent(),s=u.data,(o=u.errors)&&o.length?[2]:(p=s.getRafflesByCustomerId.map((function(n){var t,e;return new r({id:n.id,dateRange:{end:null===(t=n.dateRange)||void 0===t?void 0:t.end,start:null===(e=n.dateRange)||void 0===e?void 0:e.start},createdAt:n.createdAt,deleted:n.deleted,metadata:n.metadata||void 0,name:n.name,participantCount:n.participantCount,requiredCustomerAccount:n.requiredCustomerAccount,status:n.status,updatedAt:n.updatedAt,variants:n.variants.length>0?n.variants.map((function(n){return new d(n)})):void 0,verificationType:n.verificationType})})),[2,p]);case 3:return g=t.sent(),console.log(g),[3,4];case 4:return[2]}}))}))},g}();export{g as IkasRaffleAPI};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { StringFilterInput } from "./../../../__generated__/global-types";
|
|
2
|
+
export interface listState_listState {
|
|
3
|
+
__typename: "State";
|
|
4
|
+
id: string;
|
|
5
|
+
/**
|
|
6
|
+
* State's name.
|
|
7
|
+
*/
|
|
8
|
+
name: string;
|
|
9
|
+
/**
|
|
10
|
+
* The two-letter state code corresponding to the state.
|
|
11
|
+
*/
|
|
12
|
+
stateCode: string | null;
|
|
13
|
+
}
|
|
14
|
+
export interface listState {
|
|
15
|
+
listState: listState_listState[];
|
|
16
|
+
}
|
|
17
|
+
export interface listStateVariables {
|
|
18
|
+
countryId: StringFilterInput;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as t,__generator as n,__makeTemplateObject as e}from'../../ext/tslib/tslib.es6.js';import r from'../../ext/graphql-tag/src/index.js';import{apollo as o}from"../apollo.js";import{pascalCase as s}from"../../utils/helper.js";import"../../storefront/index.js";import"../../utils/i18n.js";var i,u=function(){function u(){}return u.listStates=function(u){return t(this,void 0,void 0,(function(){var t,a,l,d,c;return n(this,(function(n){switch(n.label){case 0:t=r(i||(i=e(["\n query listState($countryId: StringFilterInput!) {\n listState(countryId: $countryId) {\n id\n name\n stateCode\n }\n }\n "],["\n query listState($countryId: StringFilterInput!) {\n listState(countryId: $countryId) {\n id\n name\n stateCode\n }\n }\n "]))),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,o.getClient().query({query:t,variables:{countryId:{eq:u}}})];case 2:return a=n.sent(),l=a.data,(d=a.errors)&&d.length&&console.log(d),l?[2,l.listState.map((function(t){return{id:t.id,name:s(t.name),stateCode:t.stateCode||void 0}}))]:[3,4];case 3:return c=n.sent(),console.log(c),[3,4];case 4:return[2,[]]}}))}))},u}();export{u as IkasStateAPI};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { StorefrontStatusTypes, StorefrontThemeStatus } from "./../../../__generated__/global-types";
|
|
2
|
+
export interface getStorefront_getStorefront_localizations {
|
|
3
|
+
__typename: "StorefrontLocalization";
|
|
4
|
+
createdAt: any | null;
|
|
5
|
+
id: string;
|
|
6
|
+
isDefault: boolean;
|
|
7
|
+
locale: string;
|
|
8
|
+
name: string;
|
|
9
|
+
}
|
|
10
|
+
export interface getStorefront_getStorefront_routings_dynamicCurrencySettings {
|
|
11
|
+
__typename: "StorefrontDynamicCurrencySettings";
|
|
12
|
+
/**
|
|
13
|
+
* One of '.x0' | '.x9' | '.00' | '.90' | '.99'
|
|
14
|
+
*/
|
|
15
|
+
roundingFormat: string | null;
|
|
16
|
+
targetCurrencyCode: string;
|
|
17
|
+
}
|
|
18
|
+
export interface getStorefront_getStorefront_routings {
|
|
19
|
+
__typename: "StorefrontRouting";
|
|
20
|
+
countryCodes: string[] | null;
|
|
21
|
+
createdAt: any | null;
|
|
22
|
+
domain: string | null;
|
|
23
|
+
id: string;
|
|
24
|
+
locale: string;
|
|
25
|
+
path: string | null;
|
|
26
|
+
priceListId: string | null;
|
|
27
|
+
updatedAt: any | null;
|
|
28
|
+
dynamicCurrencySettings: getStorefront_getStorefront_routings_dynamicCurrencySettings | null;
|
|
29
|
+
}
|
|
30
|
+
export interface getStorefront_getStorefront_themes {
|
|
31
|
+
__typename: "StorefrontTheme";
|
|
32
|
+
createdAt: any | null;
|
|
33
|
+
id: string;
|
|
34
|
+
isMainTheme: boolean;
|
|
35
|
+
name: string;
|
|
36
|
+
status: StorefrontThemeStatus;
|
|
37
|
+
themeId: string;
|
|
38
|
+
themeVersionId: string;
|
|
39
|
+
updatedAt: any | null;
|
|
40
|
+
}
|
|
41
|
+
export interface getStorefront_getStorefront {
|
|
42
|
+
__typename: "Storefront";
|
|
43
|
+
createdAt: any | null;
|
|
44
|
+
emailSettingsId: string | null;
|
|
45
|
+
fbpId: string | null;
|
|
46
|
+
gtmId: string | null;
|
|
47
|
+
analytics4Id: string | null;
|
|
48
|
+
universalAnalyticsId: string | null;
|
|
49
|
+
id: string;
|
|
50
|
+
localizations: getStorefront_getStorefront_localizations[];
|
|
51
|
+
mainStorefrontThemeId: string | null;
|
|
52
|
+
name: string;
|
|
53
|
+
salesChannelId: string;
|
|
54
|
+
routings: getStorefront_getStorefront_routings[];
|
|
55
|
+
status: StorefrontStatusTypes;
|
|
56
|
+
themes: getStorefront_getStorefront_themes[];
|
|
57
|
+
}
|
|
58
|
+
export interface getStorefront {
|
|
59
|
+
getStorefront: getStorefront_getStorefront | null;
|
|
60
|
+
}
|
|
61
|
+
export interface getStorefrontVariables {
|
|
62
|
+
id: string;
|
|
63
|
+
}
|