@ikas/storefront 1.0.21 → 2.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/__generated__/global-types.d.ts +35 -5
- package/build/__generated__/global-types.js +1 -0
- package/build/_virtual/Observable.js_commonjs-proxy.js +1 -0
- package/build/_virtual/Parser.js_commonjs-proxy.js +1 -0
- package/build/_virtual/ReactPropTypesSecret.js_commonjs-proxy.js +1 -0
- package/build/_virtual/Tokenizer.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_DataView.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_Hash.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_ListCache.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_Map.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_MapCache.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_Promise.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_Set.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_SetCache.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_Stack.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_Symbol.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_Uint8Array.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_WeakMap.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_apply.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_arrayAggregator.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_arrayEach.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_arrayFilter.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_arrayIncludes.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_arrayIncludesWith.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_arrayLikeKeys.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_arrayMap.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_arrayPush.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_arraySome.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_assignValue.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_assocIndexOf.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseAggregator.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseAssign.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseAssignIn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseAssignValue.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseClone.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseCreate.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseEach.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseFindIndex.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseFlatten.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseFor.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseForOwn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseGet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseGetAllKeys.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseGetTag.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseHasIn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIndexOf.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIsArguments.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIsEqual.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIsEqualDeep.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIsMap.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIsMatch.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIsNaN.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIsNative.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIsSet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIsTypedArray.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseIteratee.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseKeys.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseKeysIn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseMap.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseMatches.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseMatchesProperty.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseOrderBy.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseProperty.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_basePropertyDeep.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseRest.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseSetToString.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseSortBy.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseTimes.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseToString.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseUnary.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_baseUniq.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_cacheHas.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_castFunction.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_castPath.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_cloneArrayBuffer.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_cloneBuffer.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_cloneDataView.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_cloneRegExp.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_cloneSymbol.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_cloneTypedArray.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_commonjsHelpers.js +1 -0
- package/build/_virtual/_compareAscending.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_compareMultiple.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_copyArray.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_copyObject.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_copySymbols.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_copySymbolsIn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_coreJsData.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_createAggregator.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_createBaseEach.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_createBaseFor.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_createSet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_defineProperty.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_equalArrays.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_equalByTag.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_equalObjects.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_freeGlobal.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getAllKeys.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getAllKeysIn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getMapData.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getMatchData.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getNative.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getPrototype.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getRawTag.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getSymbols.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getSymbolsIn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getTag.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_getValue.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_hasPath.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_hashClear.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_hashDelete.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_hashGet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_hashHas.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_hashSet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_initCloneArray.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_initCloneByTag.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_initCloneObject.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_isFlattenable.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_isIndex.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_isIterateeCall.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_isKey.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_isKeyable.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_isMasked.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_isPrototype.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_isStrictComparable.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_listCacheClear.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_listCacheDelete.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_listCacheGet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_listCacheHas.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_listCacheSet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_mapCacheClear.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_mapCacheDelete.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_mapCacheGet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_mapCacheHas.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_mapCacheSet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_mapToArray.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_matchesStrictComparable.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_memoizeCapped.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_nativeCreate.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_nativeKeys.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_nativeKeysIn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_nodeUtil.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_objectToString.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_overArg.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_overRest.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_registry.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_root.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_setCacheAdd.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_setCacheHas.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_setToArray.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_setToString.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_shortOut.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stackClear.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stackDelete.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stackGet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stackHas.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stackSet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stream_duplex.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stream_passthrough.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stream_readable.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stream_transform.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stream_writable.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_strictIndexOf.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_stringToPath.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_toKey.js_commonjs-proxy.js +1 -0
- package/build/_virtual/_toSource.js_commonjs-proxy.js +1 -0
- package/build/_virtual/async_iterator.js_commonjs-proxy.js +1 -0
- package/build/_virtual/attributes-to-props.js_commonjs-proxy.js +1 -0
- package/build/_virtual/buffer_list.js_commonjs-proxy.js +1 -0
- package/build/_virtual/checkPropTypes.js_commonjs-proxy.js +1 -0
- package/build/_virtual/constant.js_commonjs-proxy.js +1 -0
- package/build/_virtual/decode_codepoint.js_commonjs-proxy.js +1 -0
- package/build/_virtual/destroy.js_commonjs-proxy.js +1 -0
- package/build/_virtual/dom-to-react.js_commonjs-proxy.js +1 -0
- package/build/_virtual/end-of-stream.js_commonjs-proxy.js +1 -0
- package/build/_virtual/eq.js_commonjs-proxy.js +1 -0
- package/build/_virtual/errors.js_commonjs-proxy.js +1 -0
- package/build/_virtual/factoryWithThrowingShims.js_commonjs-proxy.js +1 -0
- package/build/_virtual/factoryWithTypeCheckers.js_commonjs-proxy.js +1 -0
- package/build/_virtual/from.js_commonjs-proxy.js +1 -0
- package/build/_virtual/get.js_commonjs-proxy.js +1 -0
- package/build/_virtual/hasIn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/html-to-dom.js_commonjs-proxy.js +1 -0
- package/build/_virtual/identity.js_commonjs-proxy.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy10.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy11.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy12.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy13.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy2.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy3.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy4.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy5.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy6.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy7.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy8.js +1 -0
- package/build/_virtual/index.js_commonjs-proxy9.js +1 -0
- package/build/_virtual/inherits.js_commonjs-proxy.js +1 -0
- package/build/_virtual/inherits_browser.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isArguments.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isArray.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isArrayLike.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isBuffer.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isFunction.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isLength.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isMap.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isObject.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isObjectLike.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isSet.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isSymbol.js_commonjs-proxy.js +1 -0
- package/build/_virtual/isTypedArray.js_commonjs-proxy.js +1 -0
- package/build/_virtual/keys.js_commonjs-proxy.js +1 -0
- package/build/_virtual/keysIn.js_commonjs-proxy.js +1 -0
- package/build/_virtual/memoize.js_commonjs-proxy.js +1 -0
- package/build/_virtual/node.js_commonjs-proxy.js +1 -0
- package/build/_virtual/node.js_commonjs-proxy2.js +1 -0
- package/build/_virtual/noop.js_commonjs-proxy.js +1 -0
- package/build/_virtual/now.js_commonjs-proxy.js +1 -0
- package/build/_virtual/parser.mjs_commonjs-proxy.js +1 -0
- package/build/_virtual/pipeline.js_commonjs-proxy.js +1 -0
- package/build/_virtual/possibleStandardNamesOptimized.js_commonjs-proxy.js +1 -0
- package/build/_virtual/property.js_commonjs-proxy.js +1 -0
- package/build/_virtual/react-is.development.js_commonjs-proxy.js +1 -0
- package/build/_virtual/react-is.production.min.js_commonjs-proxy.js +1 -0
- package/build/_virtual/readable.js_commonjs-proxy.js +1 -0
- package/build/_virtual/state.js_commonjs-proxy.js +1 -0
- package/build/_virtual/stream.js_commonjs-proxy.js +1 -0
- package/build/_virtual/string_decoder.js_commonjs-proxy.js +1 -0
- package/build/_virtual/stubArray.js_commonjs-proxy.js +1 -0
- package/build/_virtual/stubFalse.js_commonjs-proxy.js +1 -0
- package/build/_virtual/toNumber.js_commonjs-proxy.js +1 -0
- package/build/_virtual/toString.js_commonjs-proxy.js +1 -0
- package/build/_virtual/utilities.js_commonjs-proxy.js +1 -0
- package/build/_virtual/utilities.js_commonjs-proxy2.js +1 -0
- package/build/_virtual/utilities.js_commonjs-proxy3.js +1 -0
- package/build/analytics/analytics.d.ts +2 -2
- package/build/analytics/analytics.js +1 -0
- package/build/analytics/events.js +1 -0
- package/build/analytics/facebookPixel.d.ts +2 -2
- package/build/analytics/facebookPixel.js +1 -0
- package/build/analytics/googleTagManager.d.ts +3 -3
- package/build/analytics/googleTagManager.js +1 -0
- package/build/analytics/head/index.js +1 -0
- package/build/analytics/ikas.d.ts +2 -2
- package/build/analytics/ikas.js +1 -0
- package/build/analytics/index.d.ts +1 -1
- package/build/api/apollo.js +1 -0
- package/build/api/back-in-stock-reminder/__generated__/listProductBackInStockRemind.d.ts +1 -1
- package/build/api/back-in-stock-reminder/__generated__/saveProductBackInStockRemind.d.ts +1 -1
- package/build/api/back-in-stock-reminder/index.js +1 -0
- package/build/api/blog/__generated__/getBlog.d.ts +17 -15
- package/build/api/blog/__generated__/listBlog.d.ts +17 -15
- package/build/api/blog/__generated__/listBlogCategory.d.ts +17 -15
- package/build/api/blog/__generated__/listBlogMetaData.d.ts +17 -15
- package/build/api/blog/index.d.ts +1 -1
- package/build/api/blog/index.js +1 -0
- package/build/api/brand/__generated__/listProductBrand.d.ts +4 -4
- package/build/api/brand/index.d.ts +1 -1
- package/build/api/brand/index.js +1 -0
- package/build/api/cart/__generated__/getCart.d.ts +5 -3
- package/build/api/cart/__generated__/saveItemToCart.d.ts +5 -3
- package/build/api/cart/index.d.ts +1 -1
- package/build/api/cart/index.js +1 -0
- package/build/api/category/__generated__/listCategory.d.ts +4 -4
- package/build/api/category/__generated__/listCategoryPaths.d.ts +1 -1
- package/build/api/category/index.d.ts +2 -2
- package/build/api/category/index.js +1 -0
- package/build/api/checkout/__generated__/checkStocks.d.ts +1 -1
- package/build/api/checkout/__generated__/createSaleTransactionWithCheckout.d.ts +1 -1
- package/build/api/checkout/__generated__/getCheckoutById.d.ts +5 -3
- package/build/api/checkout/__generated__/getOrder.d.ts +12 -6
- package/build/api/checkout/__generated__/listCheckoutSettings.d.ts +2 -2
- package/build/api/checkout/__generated__/listPaymentGateway.d.ts +1 -1
- package/build/api/checkout/__generated__/retrieveInstallmentInfo.d.ts +1 -1
- package/build/api/checkout/__generated__/saveCheckout.d.ts +1 -1
- package/build/api/checkout/index.d.ts +3 -3
- package/build/api/checkout/index.js +1 -0
- package/build/api/city/__generated__/listCity.d.ts +1 -1
- package/build/api/city/index.d.ts +1 -1
- package/build/api/city/index.js +1 -0
- package/build/api/contact-form/index.js +1 -0
- package/build/api/country/__generated__/listCountry.d.ts +1 -1
- package/build/api/country/index.d.ts +1 -1
- package/build/api/country/index.js +1 -0
- package/build/api/customer/__generated__/createCustomerEmailSubscription.d.ts +1 -1
- package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +12 -6
- package/build/api/customer/__generated__/customerLogin.d.ts +6 -13
- package/build/api/customer/__generated__/getCustomerOrders.d.ts +12 -6
- package/build/api/customer/__generated__/getMyCustomer.d.ts +6 -5
- package/build/api/customer/__generated__/listOrderRefundSettings.d.ts +1 -1
- package/build/api/customer/__generated__/listOrderTransactions.d.ts +1 -1
- package/build/api/customer/__generated__/registerCustomer.d.ts +6 -13
- package/build/api/customer/__generated__/saveLastViewedProducts.d.ts +1 -1
- package/build/api/customer/__generated__/saveMyCustomer.d.ts +6 -13
- package/build/api/customer/index.d.ts +2 -7
- package/build/api/customer/index.js +1 -0
- package/build/api/customer-review/__generated__/createCustomerReview.d.ts +1 -1
- package/build/api/customer-review/__generated__/listCustomerReviews.d.ts +17 -15
- package/build/api/customer-review/index.d.ts +1 -1
- package/build/api/customer-review/index.js +1 -0
- package/build/api/district/__generated__/listDistrict.d.ts +1 -1
- package/build/api/district/index.d.ts +1 -1
- package/build/api/district/index.js +1 -0
- package/build/api/favorite-product/index.d.ts +1 -1
- package/build/api/favorite-product/index.js +1 -0
- package/build/api/html-meta-data/__generated__/listHTMLMetaData.d.ts +1 -1
- package/build/api/html-meta-data/index.d.ts +1 -1
- package/build/api/html-meta-data/index.js +1 -0
- package/build/api/index.d.ts +22 -20
- package/build/api/merchant/index.d.ts +1 -1
- package/build/api/merchant/index.js +1 -0
- package/build/api/product-attribute/__generated__/listProductAttribute.d.ts +1 -1
- package/build/api/product-attribute/index.d.ts +1 -1
- package/build/api/product-option-set/__generated__/ListProductOptionSet.d.ts +1 -1
- package/build/api/product-option-set/index.d.ts +2 -4
- package/build/api/product-option-set/index.js +1 -0
- package/build/api/product-search/__generated__/getProductFilterData.d.ts +1 -1
- package/build/api/product-search/__generated__/searchProducts.d.ts +1 -1
- package/build/api/product-search/index.d.ts +3 -3
- 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 +83 -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 +1 -1
- package/build/api/state/index.d.ts +1 -1
- package/build/api/state/index.js +1 -0
- package/build/api/storefront/__generated__/getStorefront.d.ts +1 -1
- package/build/api/storefront/index.d.ts +1 -1
- package/build/api/storefront/index.js +1 -0
- package/build/api/variant-type/__generated__/listVariantType.d.ts +8 -4
- package/build/api/variant-type/index.d.ts +1 -1
- package/build/assets/translations/checkout/en.js +1 -165
- package/build/assets/translations/checkout/tr.js +1 -164
- package/build/components/checkout/components/address-form/index.js +1 -0
- package/build/components/checkout/components/address-form/model.d.ts +2 -10
- package/build/components/checkout/components/address-form/model.js +1 -0
- package/build/components/checkout/components/button/index.js +1 -0
- package/build/components/checkout/components/button/style.module.scss.js +1 -0
- package/build/components/checkout/components/cart-summary/cart-item/index.d.ts +2 -2
- package/build/components/checkout/components/cart-summary/cart-item/index.js +1 -0
- package/build/components/checkout/components/cart-summary/cart-item/style.module.scss.js +1 -0
- package/build/components/checkout/components/cart-summary/index.js +1 -0
- package/build/components/checkout/components/cart-summary/style.module.scss.js +1 -0
- package/build/components/checkout/components/checkbox/check.js +1 -0
- package/build/components/checkout/components/checkbox/index.js +1 -0
- package/build/components/checkout/components/checkbox/style.module.scss.js +1 -0
- package/build/components/checkout/components/credit-card-form/index.js +1 -0
- package/build/components/checkout/components/credit-card-form/model.js +1 -0
- package/build/components/checkout/components/credit-card-form/style.module.scss.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/amex.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/master-card.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/troy.js +1 -0
- package/build/components/checkout/components/credit-card-form/svg/visa.js +1 -0
- package/build/components/checkout/components/customer-addresses/index.js +1 -0
- package/build/components/checkout/components/customer-addresses/model.d.ts +2 -2
- package/build/components/checkout/components/customer-addresses/model.js +1 -0
- package/build/components/checkout/components/customer-addresses/style.module.scss.js +1 -0
- package/build/components/checkout/components/error/customer-login-required-error/index.d.ts +1 -1
- package/build/components/checkout/components/error/customer-login-required-error/index.js +1 -0
- package/build/components/checkout/components/error/index.js +1 -0
- package/build/components/checkout/components/error/no-shipping-error/index.js +1 -0
- package/build/components/checkout/components/error/payment-error/index.d.ts +1 -1
- package/build/components/checkout/components/error/payment-error/index.js +1 -0
- package/build/components/checkout/components/error/stock-error/index.d.ts +1 -1
- package/build/components/checkout/components/error/stock-error/index.js +1 -0
- package/build/components/checkout/components/error/stock-error/style.module.scss.js +1 -0
- package/build/components/checkout/components/error/unknown-error/index.js +1 -0
- package/build/components/checkout/components/expandable-section/index.js +1 -0
- package/build/components/checkout/components/expandable-section/style.module.scss.js +1 -0
- package/build/components/checkout/components/form-item/caret-down.js +1 -0
- package/build/components/checkout/components/form-item/index.js +1 -0
- package/build/components/checkout/components/form-item/model.js +1 -0
- package/build/components/checkout/components/form-item/style.module.scss.js +1 -0
- package/build/components/checkout/components/fullscreen-loading/index.js +1 -0
- package/build/components/checkout/components/fullscreen-loading/style.module.scss.js +1 -0
- package/build/components/checkout/components/input-with-button/index.js +1 -0
- package/build/components/checkout/components/input-with-button/style.module.scss.js +1 -0
- package/build/components/checkout/components/modal/index.js +1 -0
- package/build/components/checkout/components/modal/style.module.scss.js +1 -0
- package/build/components/checkout/components/notification-box/index.js +1 -0
- package/build/components/checkout/components/notification-box/style.module.scss.js +1 -0
- package/build/components/checkout/components/select-box/index.js +1 -0
- package/build/components/checkout/components/select-box/style.module.scss.js +1 -0
- package/build/components/checkout/components/step-container/index.js +1 -0
- package/build/components/checkout/components/step-container/style.module.scss.js +1 -0
- package/build/components/checkout/components/svg/arrow-down.js +1 -0
- package/build/components/checkout/components/svg/cross.js +1 -0
- package/build/components/checkout/components/svg/external.js +1 -0
- package/build/components/checkout/components/svg/gift.js +1 -0
- package/build/components/checkout/components/svg/ikas.js +1 -0
- package/build/components/checkout/components/svg/lock.js +1 -0
- package/build/components/checkout/components/svg/success-circle.js +1 -0
- package/build/components/checkout/components/svg/warning.js +1 -0
- package/build/components/checkout/components/toggle/index.js +1 -0
- package/build/components/checkout/components/toggle/style.module.scss.js +1 -0
- package/build/components/checkout/components/tooltip/index.js +1 -0
- package/build/components/checkout/components/tooltip/style.module.scss.js +1 -0
- package/build/components/checkout/index.d.ts +2 -2
- package/build/components/checkout/index.js +1 -0
- package/build/components/checkout/model.d.ts +8 -10
- package/build/components/checkout/model.js +1 -0
- package/build/components/checkout/steps/step-info/index.js +1 -0
- package/build/components/checkout/steps/step-payment/billing-address/index.js +1 -0
- package/build/components/checkout/steps/step-payment/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/installments/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-payment/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-shipping/index.js +1 -0
- package/build/components/checkout/steps/step-shipping/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-success/index.js +1 -0
- package/build/components/checkout/steps/step-success/style.module.scss.js +1 -0
- package/build/components/checkout/style.module.scss.js +1 -0
- package/build/components/checkout/styles/common.module.scss.js +1 -0
- package/build/components/image/index.d.ts +2 -2
- package/build/components/image/index.js +1 -0
- package/build/components/index.d.ts +3 -3
- package/build/components/page/ThemeComponent.d.ts +13 -2
- package/build/components/page/ThemeComponent.js +1 -0
- package/build/components/page/head.d.ts +1 -1
- package/build/components/page/head.js +1 -0
- package/build/components/page/index.d.ts +2 -1
- package/build/components/page/index.js +1 -0
- package/build/components/page-editor/ThemeComponentEditor.d.ts +26 -2
- package/build/components/page-editor/ThemeComponentEditor.js +1 -0
- package/build/components/{error → page-editor/error}/index.d.ts +0 -0
- package/build/components/page-editor/error/index.js +1 -0
- package/build/components/page-editor/index.js +1 -0
- package/build/components/page-editor/loader/index.d.ts +2 -0
- package/build/components/page-editor/loader/index.js +1 -0
- package/build/components/page-editor/loader/style.module.scss.js +1 -0
- package/build/components/page-editor/model.d.ts +3 -3
- package/build/components/page-editor/model.js +1 -0
- 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/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/@ikas/react-phone-number-input/locale/en.json.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/min/index.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/CountryIcon.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/CountrySelect.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/Flag.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/InputBasic.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/InputSmart.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/InternationalIcon.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/PhoneInputWithCountry.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/PhoneInputWithCountryDefault.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/PropTypes.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/helpers/countries.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/helpers/getInternationalPhoneNumberPrefix.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/helpers/getPhoneInputWithCountryStateUpdateFromNewProps.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/helpers/inputValuePrefix.js +1 -0
- package/build/ext/@ikas/react-phone-number-input/modules/helpers/phoneInputHelpers.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/classnames/index.js +6 -0
- package/build/ext/country-flag-icons/modules/unicode.js +1 -0
- package/build/ext/decode-uri-component/index.js +1 -0
- package/build/ext/domhandler/ext/domelementtype/lib/index.js +1 -0
- package/build/ext/domhandler/lib/index.js +1 -0
- package/build/ext/domhandler/lib/node.js +1 -0
- package/build/ext/entities/lib/decode_codepoint.js +1 -0
- package/build/ext/entities/lib/maps/decode.json.js +1 -0
- package/build/ext/entities/lib/maps/entities.json.js +1 -0
- package/build/ext/entities/lib/maps/legacy.json.js +1 -0
- package/build/ext/entities/lib/maps/xml.json.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/html-dom-parser/index.js +1 -0
- package/build/ext/html-dom-parser/lib/server/html-to-dom.js +1 -0
- package/build/ext/html-dom-parser/lib/server/utilities.js +1 -0
- package/build/ext/html-react-parser/index.js +1 -0
- package/build/ext/html-react-parser/index.mjs.js +1 -0
- package/build/ext/html-react-parser/lib/attributes-to-props.js +1 -0
- package/build/ext/html-react-parser/lib/dom-to-react.js +1 -0
- package/build/ext/html-react-parser/lib/utilities.js +1 -0
- package/build/ext/htmlparser2/lib/Parser.js +1 -0
- package/build/ext/htmlparser2/lib/Tokenizer.js +1 -0
- package/build/ext/inherits/inherits.js +1 -0
- package/build/ext/inherits/inherits_browser.js +1 -0
- package/build/ext/inline-style-parser/index.js +1 -0
- package/build/ext/input-format/modules/closeBraces.js +1 -0
- package/build/ext/input-format/modules/dom.js +1 -0
- package/build/ext/input-format/modules/edit.js +1 -0
- package/build/ext/input-format/modules/format.js +1 -0
- package/build/ext/input-format/modules/helpers.js +1 -0
- package/build/ext/input-format/modules/inputControl.js +1 -0
- package/build/ext/input-format/modules/parse.js +1 -0
- package/build/ext/input-format/modules/react/Input.js +1 -0
- package/build/ext/input-format/modules/templateFormatter.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouType.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.PatternMatcher.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.complete.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.util.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeParser.js +1 -0
- package/build/ext/libphonenumber-js/es6/AsYouTypeState.js +1 -0
- package/build/ext/libphonenumber-js/es6/ParseError.js +1 -0
- package/build/ext/libphonenumber-js/es6/PhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/constants.js +1 -0
- package/build/ext/libphonenumber-js/es6/formatIncompletePhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/format_.js +1 -0
- package/build/ext/libphonenumber-js/es6/getCountries.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/RFC3966.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/checkNumberLength.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extension/extractExtension.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extractNationalNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/getIddPrefix.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/getNumberType.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/matchesEntirely.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/mergeArrays.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/parseDigits.js +1 -0
- package/build/ext/libphonenumber-js/es6/helpers/stripIddPrefix.js +1 -0
- package/build/ext/libphonenumber-js/es6/isPossibleNumber_.js +1 -0
- package/build/ext/libphonenumber-js/es6/metadata.js +1 -0
- package/build/ext/libphonenumber-js/es6/parseIncompletePhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/parsePhoneNumber.js +1 -0
- package/build/ext/libphonenumber-js/es6/parsePhoneNumberFromString.js +1 -0
- package/build/ext/libphonenumber-js/es6/parsePhoneNumberFromString_.js +1 -0
- package/build/ext/libphonenumber-js/es6/parsePhoneNumber_.js +1 -0
- package/build/ext/libphonenumber-js/es6/parse_.js +1 -0
- package/build/ext/libphonenumber-js/es6/tools/semver-compare.js +1 -0
- package/build/ext/libphonenumber-js/es6/validate_.js +1 -0
- package/build/ext/libphonenumber-js/metadata.min.json.js +1 -0
- package/build/ext/lodash/_DataView.js +1 -0
- package/build/ext/lodash/_Hash.js +1 -0
- package/build/ext/lodash/_ListCache.js +1 -0
- package/build/ext/lodash/_Map.js +1 -0
- package/build/ext/lodash/_MapCache.js +1 -0
- package/build/ext/lodash/_Promise.js +1 -0
- package/build/ext/lodash/_Set.js +1 -0
- package/build/ext/lodash/_SetCache.js +1 -0
- package/build/ext/lodash/_Stack.js +1 -0
- package/build/ext/lodash/_Symbol.js +1 -0
- package/build/ext/lodash/_Uint8Array.js +1 -0
- package/build/ext/lodash/_WeakMap.js +1 -0
- package/build/ext/lodash/_apply.js +1 -0
- package/build/ext/lodash/_arrayAggregator.js +1 -0
- package/build/ext/lodash/_arrayEach.js +1 -0
- package/build/ext/lodash/_arrayFilter.js +1 -0
- package/build/ext/lodash/_arrayIncludes.js +1 -0
- package/build/ext/lodash/_arrayIncludesWith.js +1 -0
- package/build/ext/lodash/_arrayLikeKeys.js +1 -0
- package/build/ext/lodash/_arrayMap.js +1 -0
- package/build/ext/lodash/_arrayPush.js +1 -0
- package/build/ext/lodash/_arraySome.js +1 -0
- package/build/ext/lodash/_assignValue.js +1 -0
- package/build/ext/lodash/_assocIndexOf.js +1 -0
- package/build/ext/lodash/_baseAggregator.js +1 -0
- package/build/ext/lodash/_baseAssign.js +1 -0
- package/build/ext/lodash/_baseAssignIn.js +1 -0
- package/build/ext/lodash/_baseAssignValue.js +1 -0
- package/build/ext/lodash/_baseClone.js +1 -0
- package/build/ext/lodash/_baseCreate.js +1 -0
- package/build/ext/lodash/_baseEach.js +1 -0
- package/build/ext/lodash/_baseFindIndex.js +1 -0
- package/build/ext/lodash/_baseFlatten.js +1 -0
- package/build/ext/lodash/_baseFor.js +1 -0
- package/build/ext/lodash/_baseForOwn.js +1 -0
- package/build/ext/lodash/_baseGet.js +1 -0
- package/build/ext/lodash/_baseGetAllKeys.js +1 -0
- package/build/ext/lodash/_baseGetTag.js +1 -0
- package/build/ext/lodash/_baseHasIn.js +1 -0
- package/build/ext/lodash/_baseIndexOf.js +1 -0
- package/build/ext/lodash/_baseIsArguments.js +1 -0
- package/build/ext/lodash/_baseIsEqual.js +1 -0
- package/build/ext/lodash/_baseIsEqualDeep.js +1 -0
- package/build/ext/lodash/_baseIsMap.js +1 -0
- package/build/ext/lodash/_baseIsMatch.js +1 -0
- package/build/ext/lodash/_baseIsNaN.js +1 -0
- package/build/ext/lodash/_baseIsNative.js +1 -0
- package/build/ext/lodash/_baseIsSet.js +1 -0
- package/build/ext/lodash/_baseIsTypedArray.js +1 -0
- package/build/ext/lodash/_baseIteratee.js +1 -0
- package/build/ext/lodash/_baseKeys.js +1 -0
- package/build/ext/lodash/_baseKeysIn.js +1 -0
- package/build/ext/lodash/_baseMap.js +1 -0
- package/build/ext/lodash/_baseMatches.js +1 -0
- package/build/ext/lodash/_baseMatchesProperty.js +1 -0
- package/build/ext/lodash/_baseOrderBy.js +1 -0
- package/build/ext/lodash/_baseProperty.js +1 -0
- package/build/ext/lodash/_basePropertyDeep.js +1 -0
- package/build/ext/lodash/_baseRest.js +1 -0
- package/build/ext/lodash/_baseSetToString.js +1 -0
- package/build/ext/lodash/_baseSortBy.js +1 -0
- package/build/ext/lodash/_baseTimes.js +1 -0
- package/build/ext/lodash/_baseToString.js +1 -0
- package/build/ext/lodash/_baseUnary.js +1 -0
- package/build/ext/lodash/_baseUniq.js +1 -0
- package/build/ext/lodash/_cacheHas.js +1 -0
- package/build/ext/lodash/_castFunction.js +1 -0
- package/build/ext/lodash/_castPath.js +1 -0
- package/build/ext/lodash/_cloneArrayBuffer.js +1 -0
- package/build/ext/lodash/_cloneBuffer.js +1 -0
- package/build/ext/lodash/_cloneDataView.js +1 -0
- package/build/ext/lodash/_cloneRegExp.js +1 -0
- package/build/ext/lodash/_cloneSymbol.js +1 -0
- package/build/ext/lodash/_cloneTypedArray.js +1 -0
- package/build/ext/lodash/_compareAscending.js +1 -0
- package/build/ext/lodash/_compareMultiple.js +1 -0
- package/build/ext/lodash/_copyArray.js +1 -0
- package/build/ext/lodash/_copyObject.js +1 -0
- package/build/ext/lodash/_copySymbols.js +1 -0
- package/build/ext/lodash/_copySymbolsIn.js +1 -0
- package/build/ext/lodash/_coreJsData.js +1 -0
- package/build/ext/lodash/_createAggregator.js +1 -0
- package/build/ext/lodash/_createBaseEach.js +1 -0
- package/build/ext/lodash/_createBaseFor.js +1 -0
- package/build/ext/lodash/_createSet.js +1 -0
- package/build/ext/lodash/_defineProperty.js +1 -0
- package/build/ext/lodash/_equalArrays.js +1 -0
- package/build/ext/lodash/_equalByTag.js +1 -0
- package/build/ext/lodash/_equalObjects.js +1 -0
- package/build/ext/lodash/_freeGlobal.js +1 -0
- package/build/ext/lodash/_getAllKeys.js +1 -0
- package/build/ext/lodash/_getAllKeysIn.js +1 -0
- package/build/ext/lodash/_getMapData.js +1 -0
- package/build/ext/lodash/_getMatchData.js +1 -0
- package/build/ext/lodash/_getNative.js +1 -0
- package/build/ext/lodash/_getPrototype.js +1 -0
- package/build/ext/lodash/_getRawTag.js +1 -0
- package/build/ext/lodash/_getSymbols.js +1 -0
- package/build/ext/lodash/_getSymbolsIn.js +1 -0
- package/build/ext/lodash/_getTag.js +1 -0
- package/build/ext/lodash/_getValue.js +1 -0
- package/build/ext/lodash/_hasPath.js +1 -0
- package/build/ext/lodash/_hashClear.js +1 -0
- package/build/ext/lodash/_hashDelete.js +1 -0
- package/build/ext/lodash/_hashGet.js +1 -0
- package/build/ext/lodash/_hashHas.js +1 -0
- package/build/ext/lodash/_hashSet.js +1 -0
- package/build/ext/lodash/_initCloneArray.js +1 -0
- package/build/ext/lodash/_initCloneByTag.js +1 -0
- package/build/ext/lodash/_initCloneObject.js +1 -0
- package/build/ext/lodash/_isFlattenable.js +1 -0
- package/build/ext/lodash/_isIndex.js +1 -0
- package/build/ext/lodash/_isIterateeCall.js +1 -0
- package/build/ext/lodash/_isKey.js +1 -0
- package/build/ext/lodash/_isKeyable.js +1 -0
- package/build/ext/lodash/_isMasked.js +1 -0
- package/build/ext/lodash/_isPrototype.js +1 -0
- package/build/ext/lodash/_isStrictComparable.js +1 -0
- package/build/ext/lodash/_listCacheClear.js +1 -0
- package/build/ext/lodash/_listCacheDelete.js +1 -0
- package/build/ext/lodash/_listCacheGet.js +1 -0
- package/build/ext/lodash/_listCacheHas.js +1 -0
- package/build/ext/lodash/_listCacheSet.js +1 -0
- package/build/ext/lodash/_mapCacheClear.js +1 -0
- package/build/ext/lodash/_mapCacheDelete.js +1 -0
- package/build/ext/lodash/_mapCacheGet.js +1 -0
- package/build/ext/lodash/_mapCacheHas.js +1 -0
- package/build/ext/lodash/_mapCacheSet.js +1 -0
- package/build/ext/lodash/_mapToArray.js +1 -0
- package/build/ext/lodash/_matchesStrictComparable.js +1 -0
- package/build/ext/lodash/_memoizeCapped.js +1 -0
- package/build/ext/lodash/_nativeCreate.js +1 -0
- package/build/ext/lodash/_nativeKeys.js +1 -0
- package/build/ext/lodash/_nativeKeysIn.js +1 -0
- package/build/ext/lodash/_nodeUtil.js +1 -0
- package/build/ext/lodash/_objectToString.js +1 -0
- package/build/ext/lodash/_overArg.js +1 -0
- package/build/ext/lodash/_overRest.js +1 -0
- package/build/ext/lodash/_root.js +1 -0
- package/build/ext/lodash/_setCacheAdd.js +1 -0
- package/build/ext/lodash/_setCacheHas.js +1 -0
- package/build/ext/lodash/_setToArray.js +1 -0
- package/build/ext/lodash/_setToString.js +1 -0
- package/build/ext/lodash/_shortOut.js +1 -0
- package/build/ext/lodash/_stackClear.js +1 -0
- package/build/ext/lodash/_stackDelete.js +1 -0
- package/build/ext/lodash/_stackGet.js +1 -0
- package/build/ext/lodash/_stackHas.js +1 -0
- package/build/ext/lodash/_stackSet.js +1 -0
- package/build/ext/lodash/_strictIndexOf.js +1 -0
- package/build/ext/lodash/_stringToPath.js +1 -0
- package/build/ext/lodash/_toKey.js +1 -0
- package/build/ext/lodash/_toSource.js +1 -0
- package/build/ext/lodash/cloneDeep.js +1 -0
- package/build/ext/lodash/constant.js +1 -0
- package/build/ext/lodash/debounce.js +1 -0
- package/build/ext/lodash/eq.js +1 -0
- package/build/ext/lodash/flatten.js +1 -0
- package/build/ext/lodash/forEach.js +1 -0
- package/build/ext/lodash/get.js +1 -0
- package/build/ext/lodash/groupBy.js +1 -0
- package/build/ext/lodash/hasIn.js +1 -0
- package/build/ext/lodash/identity.js +1 -0
- package/build/ext/lodash/isArguments.js +1 -0
- package/build/ext/lodash/isArray.js +1 -0
- package/build/ext/lodash/isArrayLike.js +1 -0
- package/build/ext/lodash/isBuffer.js +1 -0
- package/build/ext/lodash/isFunction.js +1 -0
- package/build/ext/lodash/isLength.js +1 -0
- package/build/ext/lodash/isMap.js +1 -0
- package/build/ext/lodash/isObject.js +1 -0
- package/build/ext/lodash/isObjectLike.js +1 -0
- package/build/ext/lodash/isSet.js +1 -0
- package/build/ext/lodash/isSymbol.js +1 -0
- package/build/ext/lodash/isTypedArray.js +1 -0
- package/build/ext/lodash/keys.js +1 -0
- package/build/ext/lodash/keysIn.js +1 -0
- package/build/ext/lodash/memoize.js +1 -0
- package/build/ext/lodash/noop.js +1 -0
- package/build/ext/lodash/now.js +1 -0
- package/build/ext/lodash/property.js +1 -0
- package/build/ext/lodash/sortBy.js +1 -0
- package/build/ext/lodash/stubArray.js +1 -0
- package/build/ext/lodash/stubFalse.js +1 -0
- package/build/ext/lodash/toNumber.js +1 -0
- package/build/ext/lodash/toString.js +1 -0
- package/build/ext/lodash/uniq.js +1 -0
- package/build/ext/lodash/uniqBy.js +1 -0
- package/build/ext/lzutf8/build/production/lzutf8.js +11 -0
- package/build/ext/object-assign/index.js +6 -0
- package/build/ext/optimism/lib/bundle.esm.js +1 -0
- package/build/ext/prop-types/checkPropTypes.js +1 -0
- package/build/ext/prop-types/factoryWithThrowingShims.js +1 -0
- package/build/ext/prop-types/factoryWithTypeCheckers.js +1 -0
- package/build/ext/prop-types/index.js +1 -0
- package/build/ext/prop-types/lib/ReactPropTypesSecret.js +1 -0
- package/build/ext/query-string/index.js +1 -0
- package/build/ext/react-is/cjs/react-is.development.js +9 -0
- package/build/ext/react-is/cjs/react-is.production.min.js +9 -0
- package/build/ext/react-is/index.js +1 -0
- package/build/ext/react-property/lib/index.js +1 -0
- package/build/ext/react-property/lib/possibleStandardNamesOptimized.js +1 -0
- package/build/ext/react-tooltip/dist/index.es.js +1 -0
- package/build/ext/react-tooltip/ext/uuid/dist/esm-node/bytesToUuid.js +1 -0
- package/build/ext/react-tooltip/ext/uuid/dist/esm-node/rng.js +1 -0
- package/build/ext/react-tooltip/ext/uuid/dist/esm-node/v4.js +1 -0
- package/build/ext/readable-stream/errors.js +1 -0
- package/build/ext/readable-stream/lib/_registry.js +1 -0
- package/build/ext/readable-stream/lib/_stream_duplex.js +1 -0
- package/build/ext/readable-stream/lib/_stream_passthrough.js +1 -0
- package/build/ext/readable-stream/lib/_stream_readable.js +1 -0
- package/build/ext/readable-stream/lib/_stream_transform.js +1 -0
- package/build/ext/readable-stream/lib/_stream_writable.js +1 -0
- package/build/ext/readable-stream/lib/internal/streams/async_iterator.js +1 -0
- package/build/ext/readable-stream/lib/internal/streams/buffer_list.js +1 -0
- package/build/ext/readable-stream/lib/internal/streams/destroy.js +1 -0
- package/build/ext/readable-stream/lib/internal/streams/end-of-stream.js +1 -0
- package/build/ext/readable-stream/lib/internal/streams/from.js +1 -0
- package/build/ext/readable-stream/lib/internal/streams/pipeline.js +1 -0
- package/build/ext/readable-stream/lib/internal/streams/state.js +1 -0
- package/build/ext/readable-stream/lib/internal/streams/stream.js +1 -0
- package/build/ext/readable-stream/readable.js +1 -0
- package/build/ext/safe-buffer/index.js +1 -0
- package/build/ext/split-on-first/index.js +1 -0
- package/build/ext/strict-uri-encode/index.js +1 -0
- package/build/ext/string_decoder/lib/string_decoder.js +1 -0
- package/build/ext/style-inject/dist/style-inject.es.js +1 -0
- package/build/ext/style-to-js/cjs/index.js +1 -0
- package/build/ext/style-to-js/cjs/utilities.js +1 -0
- package/build/ext/style-to-object/index.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/lib/invariant.esm.js +1 -0
- package/build/ext/tslib/tslib.es6.js +15 -0
- package/build/ext/util-deprecate/node.js +1 -0
- package/build/ext/uuid/dist/esm-browser/regex.js +1 -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-browser/validate.js +1 -0
- package/build/ext/zen-observable/index.js +1 -0
- package/build/ext/zen-observable/lib/Observable.js +1 -0
- package/build/ikas.js +16 -0
- package/build/index.d.ts +9 -8
- package/build/index.js +1 -74756
- package/build/models/data/blog/index.d.ts +1 -1
- package/build/models/data/blog/index.js +1 -0
- package/build/models/data/brand/index.d.ts +2 -2
- package/build/models/data/brand/index.js +1 -0
- package/build/models/data/cart/index.d.ts +2 -2
- package/build/models/data/cart/index.js +1 -0
- package/build/models/data/category/index.d.ts +2 -2
- package/build/models/data/category/index.js +1 -0
- package/build/models/data/checkout/index.d.ts +6 -6
- package/build/models/data/checkout/index.js +1 -0
- package/build/models/data/checkout-settings/index.d.ts +1 -1
- package/build/models/data/checkout-settings/index.js +1 -0
- package/build/models/data/contact-form/index.js +1 -0
- package/build/models/data/customer/address/index.d.ts +2 -5
- package/build/models/data/customer/address/index.js +1 -0
- package/build/models/data/customer/index.d.ts +1 -1
- package/build/models/data/customer/index.js +1 -0
- package/build/models/data/customer-review/index.js +1 -0
- package/build/models/data/favorite-product/index.js +1 -0
- package/build/models/data/html-meta-data/index.js +1 -0
- package/build/models/data/image/index.js +1 -0
- package/build/models/data/index.d.ts +36 -32
- package/build/models/data/installment-info/index.js +1 -0
- package/build/models/data/merchant-settings/index.d.ts +1 -1
- package/build/models/data/merchant-settings/index.js +1 -0
- package/build/models/data/order/address/index.d.ts +2 -3
- package/build/models/data/order/address/index.js +1 -0
- package/build/models/data/order/index.d.ts +4 -3
- package/build/models/data/order/index.js +1 -0
- package/build/models/data/order/line-item/discount/index.js +1 -0
- package/build/models/data/order/line-item/index.d.ts +3 -4
- package/build/models/data/order/line-item/index.js +1 -0
- package/build/models/data/order/line-item/options/index.d.ts +2 -2
- package/build/models/data/order/line-item/options/index.js +1 -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 +1 -1
- package/build/models/data/order/line-item/variant/index.js +1 -0
- package/build/models/data/order/refund/index.d.ts +1 -1
- package/build/models/data/order/refund/settings.js +1 -0
- package/build/models/data/order-transaction/index.js +1 -0
- package/build/models/data/payment-gateway/index.d.ts +1 -1
- package/build/models/data/payment-gateway/index.js +1 -0
- package/build/models/data/product/attribute-value/index.d.ts +2 -2
- package/build/models/data/product/attribute-value/index.js +1 -0
- package/build/models/data/product/index.d.ts +9 -9
- package/build/models/data/product/index.js +1 -0
- package/build/models/data/product/variant/index.d.ts +4 -4
- package/build/models/data/product/variant/index.js +1 -0
- package/build/models/data/product/variant/price/index.js +1 -0
- package/build/models/data/product/variant-type/index.d.ts +1 -1
- package/build/models/data/product/variant-type/index.js +1 -0
- package/build/models/data/product-attribute/index.d.ts +2 -2
- package/build/models/data/product-attribute/index.js +1 -0
- package/build/models/data/product-attribute/product-attribute-option/index.js +1 -0
- package/build/models/data/product-attribute/product-attribute-table-cell/index.js +1 -0
- package/build/models/data/product-attribute/product-attribute-table-template/index.d.ts +1 -1
- package/build/models/data/product-attribute/product-attribute-table-template/index.js +1 -0
- package/build/models/data/product-cart-item-options/index.js +1 -0
- package/build/models/data/product-filter/index.d.ts +2 -2
- package/build/models/data/product-filter/index.js +1 -0
- package/build/models/data/product-option-set/index.d.ts +1 -5
- package/build/models/data/product-option-set/index.js +1 -0
- package/build/models/data/product-tag/index.js +1 -0
- package/build/models/data/raffle/index.d.ts +66 -0
- package/build/models/data/raffle/index.js +1 -0
- package/build/models/data/sales-channel/index.js +1 -0
- package/build/models/data/simple-product/index.d.ts +1 -1
- package/build/models/data/storefront/domain/index.js +1 -0
- package/build/models/data/storefront/index.d.ts +4 -4
- package/build/models/data/storefront/index.js +1 -0
- package/build/models/data/storefront/localization/index.js +1 -0
- package/build/models/data/storefront/routing/index.js +1 -0
- package/build/models/data/storefront/theme/index.js +1 -0
- package/build/models/data/storefront/theme-localization/index.d.ts +1 -1
- package/build/models/data/storefront/theme-localization/index.js +1 -0
- package/build/models/data/variant-type/index.d.ts +1 -1
- package/build/models/data/variant-type/index.js +1 -0
- package/build/models/data/variant-type/variant-value/index.d.ts +1 -1
- package/build/models/data/variant-type/variant-value/index.js +1 -0
- package/build/models/index.d.ts +3 -3
- package/build/models/theme/component/index.d.ts +1 -1
- package/build/models/theme/component/index.js +1 -0
- package/build/models/theme/component/prop/index.d.ts +3 -1
- package/build/models/theme/component/prop/index.js +1 -0
- package/build/models/theme/custom-data/index.d.ts +2 -2
- package/build/models/theme/custom-data/index.js +1 -0
- package/build/models/theme/index.d.ts +8 -6
- package/build/models/theme/page/component/index.js +1 -0
- package/build/models/theme/page/component/prop-value/blog-category-list.d.ts +1 -1
- package/build/models/theme/page/component/prop-value/blog-category-list.js +1 -0
- package/build/models/theme/page/component/prop-value/blog-category.js +1 -0
- package/build/models/theme/page/component/prop-value/blog-list.d.ts +1 -1
- package/build/models/theme/page/component/prop-value/blog-list.js +1 -0
- package/build/models/theme/page/component/prop-value/blog.js +1 -0
- package/build/models/theme/page/component/prop-value/brand-list.d.ts +1 -1
- package/build/models/theme/page/component/prop-value/brand-list.js +1 -0
- package/build/models/theme/page/component/prop-value/brand.js +1 -0
- package/build/models/theme/page/component/prop-value/category-list.d.ts +1 -1
- package/build/models/theme/page/component/prop-value/category-list.js +1 -0
- package/build/models/theme/page/component/prop-value/category.js +1 -0
- package/build/models/theme/page/component/prop-value/link.d.ts +1 -1
- package/build/models/theme/page/component/prop-value/link.js +1 -0
- package/build/models/theme/page/component/prop-value/product-detail.js +1 -0
- package/build/models/theme/page/component/prop-value/product-list.d.ts +1 -1
- package/build/models/theme/page/component/prop-value/product-list.js +1 -0
- package/build/models/theme/page/component/prop-value/raffle-list.d.ts +5 -0
- package/build/models/theme/page/component/prop-value/raffle-list.js +1 -0
- package/build/models/theme/page/component/prop-value/raffle.d.ts +5 -0
- package/build/models/theme/page/component/prop-value/raffle.js +1 -0
- package/build/models/theme/page/index.d.ts +5 -2
- package/build/models/theme/page/index.js +1 -0
- package/build/models/theme/settings/index.d.ts +2 -2
- package/build/models/theme/settings/index.js +1 -0
- package/build/models/theme/settings/prop/color/index.js +1 -0
- package/build/models/theme/settings/prop/favicon/index.js +1 -0
- package/build/models/theme/theme.d.ts +4 -4
- package/build/models/theme/theme.js +1 -0
- package/build/models/ui/blog-category-list/index.d.ts +2 -2
- package/build/models/ui/blog-category-list/index.js +1 -0
- package/build/models/ui/blog-list/index.d.ts +2 -2
- package/build/models/ui/blog-list/index.js +1 -0
- package/build/models/ui/brand-list/index.d.ts +2 -2
- package/build/models/ui/brand-list/index.js +1 -0
- package/build/models/ui/category-list/index.d.ts +2 -2
- package/build/models/ui/category-list/index.js +1 -0
- package/build/models/ui/component-renderer/index.js +1 -0
- package/build/models/ui/customer-review-list/index.d.ts +1 -1
- package/build/models/ui/customer-review-list/index.js +1 -0
- package/build/models/ui/index.d.ts +18 -14
- package/build/models/ui/navigation-link/index.js +1 -0
- package/build/models/ui/product-attribute-detail/index.d.ts +3 -3
- package/build/models/ui/product-attribute-detail/index.js +1 -0
- package/build/models/ui/product-attribute-list/index.d.ts +3 -3
- package/build/models/ui/product-attribute-list/index.js +1 -0
- package/build/models/ui/product-detail/index.d.ts +3 -3
- package/build/models/ui/product-detail/index.js +1 -0
- package/build/models/ui/product-list/index.d.ts +7 -7
- package/build/models/ui/product-list/index.js +1 -0
- package/build/models/ui/raffle-list/index.d.ts +54 -0
- package/build/models/ui/raffle-list/index.js +1 -0
- package/build/models/ui/validator/form/account-info.d.ts +3 -3
- package/build/models/ui/validator/form/account-info.js +1 -0
- package/build/models/ui/validator/form/address.d.ts +4 -4
- package/build/models/ui/validator/form/address.js +1 -0
- package/build/models/ui/validator/form/contact-form.d.ts +1 -1
- package/build/models/ui/validator/form/contact-form.js +1 -0
- package/build/models/ui/validator/form/customer-review.d.ts +1 -1
- package/build/models/ui/validator/form/customer-review.js +1 -0
- package/build/models/ui/validator/form/forgot-password.d.ts +1 -1
- package/build/models/ui/validator/form/forgot-password.js +1 -0
- package/build/models/ui/validator/form/login.d.ts +1 -1
- package/build/models/ui/validator/form/login.js +1 -0
- package/build/models/ui/validator/form/raffle-form.d.ts +60 -0
- package/build/models/ui/validator/form/raffle-form.js +1 -0
- package/build/models/ui/validator/form/recover-password.d.ts +1 -1
- package/build/models/ui/validator/form/recover-password.js +1 -0
- package/build/models/ui/validator/form/register.d.ts +1 -1
- package/build/models/ui/validator/form/register.js +1 -0
- package/build/models/ui/validator/index.d.ts +1 -1
- package/build/models/ui/validator/index.js +1 -0
- package/build/models/ui/validator/rules/index.d.ts +4 -0
- package/build/models/ui/validator/rules/index.js +1 -0
- package/build/pages/404.d.ts +1 -1
- package/build/pages/404.js +1 -0
- package/build/pages/[slug]/index.d.ts +1 -1
- package/build/pages/_slug_/index.js +1 -0
- package/build/pages/account/addresses.d.ts +1 -1
- package/build/pages/account/addresses.js +1 -0
- package/build/pages/account/favorite-products.d.ts +1 -1
- package/build/pages/account/favorite-products.js +1 -0
- package/build/pages/account/forgot-password.d.ts +1 -1
- package/build/pages/account/forgot-password.js +1 -0
- package/build/pages/account/index.d.ts +1 -1
- package/build/pages/account/index.js +1 -0
- package/build/pages/account/login.d.ts +1 -1
- package/build/pages/account/login.js +1 -0
- package/build/pages/account/orders/[id].d.ts +1 -1
- package/build/pages/account/orders/_id_.js +1 -0
- package/build/pages/account/orders/index.d.ts +1 -1
- package/build/pages/account/orders/index.js +1 -0
- package/build/pages/account/raffles.d.ts +6 -0
- package/build/pages/account/raffles.js +1 -0
- package/build/pages/account/recover-password.d.ts +1 -1
- package/build/pages/account/recover-password.js +1 -0
- package/build/pages/account/register.d.ts +1 -1
- package/build/pages/account/register.js +1 -0
- package/build/pages/blog/[slug].d.ts +1 -1
- package/build/pages/blog/_slug_.js +1 -0
- package/build/pages/blog/index.d.ts +1 -1
- package/build/pages/blog/index.js +1 -0
- package/build/pages/cart.d.ts +1 -1
- package/build/pages/cart.js +1 -0
- package/build/pages/checkout.d.ts +1 -1
- package/build/pages/checkout.js +1 -0
- package/build/pages/editor.d.ts +1 -0
- package/build/pages/editor.js +1 -0
- package/build/pages/home.d.ts +1 -1
- package/build/pages/home.js +1 -0
- package/build/pages/index.d.ts +22 -20
- package/build/pages/pages/[slug].d.ts +1 -1
- package/build/pages/pages/_slug_.js +1 -0
- package/build/pages/raffle/[slug].d.ts +7 -0
- package/build/pages/raffle/_slug_.js +1 -0
- package/build/pages/raffle/index.d.ts +6 -0
- package/build/pages/raffle/index.js +1 -0
- package/build/pages/search.d.ts +1 -1
- package/build/pages/search.js +1 -0
- package/build/providers/helpers/raffles.d.ts +2 -0
- package/build/providers/helpers/raffles.js +1 -0
- package/build/providers/page-data-get.d.ts +4 -4
- package/build/providers/page-data-get.js +1 -0
- package/build/providers/page-data-init.d.ts +12 -6
- package/build/providers/page-data-init.js +1 -0
- package/build/providers/page-data-next.d.ts +8 -8
- package/build/providers/page-data-next.js +1 -0
- package/build/providers/placeholders.d.ts +2 -1
- package/build/providers/placeholders.js +1 -0
- package/build/providers/prop-value/attribute-list.d.ts +2 -2
- package/build/providers/prop-value/attribute-list.js +1 -0
- package/build/providers/prop-value/attribute.d.ts +2 -2
- package/build/providers/prop-value/attribute.js +1 -0
- package/build/providers/prop-value/blog-category-list.d.ts +2 -2
- package/build/providers/prop-value/blog-category-list.js +1 -0
- package/build/providers/prop-value/blog-category.d.ts +2 -2
- package/build/providers/prop-value/blog-category.js +1 -0
- package/build/providers/prop-value/blog-list.d.ts +2 -2
- package/build/providers/prop-value/blog-list.js +1 -0
- package/build/providers/prop-value/blog.d.ts +2 -2
- package/build/providers/prop-value/blog.js +1 -0
- package/build/providers/prop-value/boolean.d.ts +1 -1
- package/build/providers/prop-value/boolean.js +1 -0
- package/build/providers/prop-value/brand-list.d.ts +2 -2
- package/build/providers/prop-value/brand-list.js +1 -0
- package/build/providers/prop-value/brand.d.ts +2 -2
- package/build/providers/prop-value/brand.js +1 -0
- package/build/providers/prop-value/category-list.d.ts +2 -2
- package/build/providers/prop-value/category-list.js +1 -0
- package/build/providers/prop-value/category.d.ts +2 -2
- package/build/providers/prop-value/category.js +1 -0
- package/build/providers/prop-value/color.d.ts +1 -1
- package/build/providers/prop-value/color.js +1 -0
- package/build/providers/prop-value/custom.d.ts +4 -2
- package/build/providers/prop-value/custom.js +1 -0
- package/build/providers/prop-value/image-list.d.ts +2 -2
- package/build/providers/prop-value/image-list.js +1 -0
- package/build/providers/prop-value/image.d.ts +2 -2
- package/build/providers/prop-value/image.js +1 -0
- package/build/providers/prop-value/link.d.ts +2 -2
- package/build/providers/prop-value/link.js +1 -0
- package/build/providers/prop-value/product-detail.d.ts +2 -2
- package/build/providers/prop-value/product-detail.js +1 -0
- package/build/providers/prop-value/product-list.d.ts +2 -2
- package/build/providers/prop-value/product-list.js +1 -0
- package/build/providers/prop-value/raffle-list.d.ts +5 -0
- package/build/providers/prop-value/raffle-list.js +1 -0
- package/build/providers/prop-value/raffle.d.ts +11 -0
- package/build/providers/prop-value/raffle.js +1 -0
- package/build/providers/prop-value/rich-text.d.ts +1 -1
- package/build/providers/prop-value/rich-text.js +1 -0
- package/build/providers/prop-value/text.d.ts +1 -1
- package/build/providers/prop-value/text.js +1 -0
- package/build/scripts/generators/api/index.d.ts +5 -0
- package/build/scripts/generators/api/index.js +1 -0
- package/build/scripts/generators/api/info.d.ts +12 -0
- package/build/scripts/generators/api/info.js +1 -0
- package/build/scripts/generators/components/index.d.ts +6 -0
- package/build/scripts/generators/components/index.js +1 -0
- package/build/scripts/generators/config/content.d.ts +37 -0
- package/build/scripts/generators/config/content.js +1 -0
- package/build/scripts/generators/config/index.d.ts +8 -0
- package/build/scripts/generators/config/index.js +1 -0
- package/build/scripts/generators/index.d.ts +6 -0
- package/build/scripts/generators/pages/index.d.ts +7 -0
- package/build/scripts/generators/pages/index.js +1 -0
- package/build/scripts/generators/pages/info.d.ts +14 -0
- package/build/scripts/generators/pages/info.js +1 -0
- package/build/scripts/generators/store/content.d.ts +1 -0
- package/build/scripts/generators/store/content.js +1 -0
- package/build/scripts/generators/store/index.d.ts +3 -0
- package/build/scripts/generators/store/index.js +1 -0
- package/build/scripts/generators/theme/index.d.ts +6 -0
- package/build/scripts/generators/theme/index.js +1 -0
- package/build/scripts/ikas.d.ts +2 -0
- package/build/store/base.d.ts +2 -2
- package/build/store/base.js +1 -0
- package/build/store/cart.d.ts +2 -2
- package/build/store/cart.js +1 -0
- package/build/store/customer.d.ts +4 -22
- package/build/store/customer.js +1 -0
- package/build/storefront/index.d.ts +10 -12
- package/build/storefront/index.js +1 -0
- package/build/utils/currency.js +1 -0
- package/build/utils/fs.d.ts +28 -0
- package/build/utils/fs.js +1 -0
- package/build/utils/helper.d.ts +2 -0
- package/build/utils/helper.js +1 -0
- package/build/utils/i18n.js +1 -0
- package/package.json +25 -21
- package/build/api/customer/__generated__/customerSocialLogin.d.ts +0 -161
- package/build/index.css +0 -1521
- package/build/index.es.css +0 -1521
- package/build/index.es.js +0 -74627
- package/build/providers/prop-value/checkout.d.ts +0 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as n,__generator as e,__makeTemplateObject as t}from'../../ext/tslib/tslib.es6.js';import i from'../../ext/graphql-tag/src/index.js';import{apollo as a}from"../apollo.js";import"../../models/data/blog/index.js";import"../../models/data/brand/index.js";import"../../models/data/category/index.js";import{IkasCheckout as r}from"../../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"../../models/data/html-meta-data/index.js";import"../../models/data/image/index.js";import"../../models/data/installment-info/index.js";import{IkasOrder as o}from"../../models/data/order/index.js";import"../../models/data/order/line-item/index.js";import"mobx";import"../../models/data/product/index.js";import"../../models/data/variant-type/index.js";import"../../models/data/product/variant/index.js";import"../../models/data/product/variant/price/index.js";import"../../models/data/product-attribute/index.js";import"../../models/data/product/attribute-value/index.js";import"../../models/data/product-filter/index.js";import"../../models/data/variant-type/variant-value/index.js";import"../../models/data/order-transaction/index.js";import"../../models/data/product-option-set/index.js";import"../../models/data/raffle/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/validator/index.js";import"../../models/ui/validator/rules/index.js";import"../../models/ui/validator/form/login.js";import"../../models/ui/validator/form/address.js";import"../../models/ui/validator/form/register.js";import"../../models/ui/validator/form/contact-form.js";import"../../models/ui/validator/form/forgot-password.js";import"../../models/ui/validator/form/recover-password.js";import"../../models/ui/validator/form/account-info.js";import"../../models/ui/validator/form/raffle-form.js";import"../../models/ui/validator/form/customer-review.js";import"../../models/ui/raffle-list/index.js";import"../../models/theme/settings/index.js";import"../../models/theme/custom-data/index.js";import{IkasPaymentGateway as d}from"../../models/data/payment-gateway/index.js";import{IkasStorefrontConfig as s}from"../../storefront/index.js";import{IkasCheckoutSettings as c}from"../../models/data/checkout-settings/index.js";var u,l,m,p,g,h,y,I,f,v,C=function(){function C(){}return C.getCheckoutId=function(r){return n(this,void 0,void 0,(function(){var n,o,d,s,c;return e(this,(function(e){switch(e.label){case 0:n=i(u||(u=t(["\n query getCheckoutByCartId($cartId: String!) {\n getCheckoutByCartId(cartId: $cartId) {\n id\n }\n }\n "],["\n query getCheckoutByCartId($cartId: String!) {\n getCheckoutByCartId(cartId: $cartId) {\n id\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,a.getClient().query({query:n,variables:{cartId:r}})];case 2:return o=e.sent(),d=o.data,(s=o.errors)&&s.length&&console.log(s),d?[2,d.getCheckoutByCartId.id]:[3,4];case 3:return c=e.sent(),console.log(c),[3,4];case 4:return[2]}}))}))},C.getCheckoutById=function(o){return n(this,void 0,void 0,(function(){var n,d,s,c,u;return e(this,(function(e){switch(e.label){case 0:n=i(l||(l=t(["\n query getCheckoutById($id: String!) {\n getCheckoutById(id: $id) {\n totalFinalPrice\n note\n availableShippingMethods {\n price\n rateName\n shippingMethod\n shippingSettingsId\n shippingZoneRateId\n }\n billingAddress {\n id\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n code\n id\n name\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n code\n id\n name\n }\n taxNumber\n taxOffice\n }\n cartId\n couponCode\n createdAt\n customer {\n email\n firstName\n id\n lastName\n notificationsAccepted\n }\n deleted\n id\n merchantId\n orderId\n orderNumber\n recoverEmailStatus\n recoveryStatus\n shippingAddress {\n id\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n id\n code\n name\n iso2\n iso3\n }\n district {\n name\n id\n code\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n }\n shippingLines {\n title\n taxValue\n price\n shippingSettingsId\n shippingZoneRateId\n }\n shippingMethod\n shippingSettingsId\n shippingZoneRateId\n status\n updatedAt\n cart {\n createdAt\n currencyCode\n customerId\n dueDate\n id\n itemCount\n taxLines {\n price\n rate\n }\n items {\n createdAt\n currencyCode\n discount {\n amount\n amountType\n reason\n }\n discountPrice\n finalPrice\n id\n originalOrderLineItemId\n price\n quantity\n status\n deleted\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n barcodeList\n id\n mainImageId\n name\n productId\n sku\n slug\n variantValues {\n order\n variantTypeId\n variantTypeName\n variantValueId\n variantValueName\n }\n }\n options {\n name\n productOptionId\n productOptionsSetId\n type\n values {\n name\n price\n value\n }\n }\n }\n merchantId\n status\n totalPrice\n updatedAt\n }\n adjustments {\n amount\n amountType\n name\n order\n type\n couponId\n appliedOrderLines {\n amount\n appliedQuantity\n orderLineId\n }\n }\n giftPackageLines {\n price\n taxValue\n }\n isGiftPackage\n giftPackageNote\n }\n }\n "],["\n query getCheckoutById($id: String!) {\n getCheckoutById(id: $id) {\n totalFinalPrice\n note\n availableShippingMethods {\n price\n rateName\n shippingMethod\n shippingSettingsId\n shippingZoneRateId\n }\n billingAddress {\n id\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n iso2\n iso3\n }\n district {\n code\n id\n name\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n code\n id\n name\n }\n taxNumber\n taxOffice\n }\n cartId\n couponCode\n createdAt\n customer {\n email\n firstName\n id\n lastName\n notificationsAccepted\n }\n deleted\n id\n merchantId\n orderId\n orderNumber\n recoverEmailStatus\n recoveryStatus\n shippingAddress {\n id\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n id\n code\n name\n iso2\n iso3\n }\n district {\n name\n id\n code\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n }\n shippingLines {\n title\n taxValue\n price\n shippingSettingsId\n shippingZoneRateId\n }\n shippingMethod\n shippingSettingsId\n shippingZoneRateId\n status\n updatedAt\n cart {\n createdAt\n currencyCode\n customerId\n dueDate\n id\n itemCount\n taxLines {\n price\n rate\n }\n items {\n createdAt\n currencyCode\n discount {\n amount\n amountType\n reason\n }\n discountPrice\n finalPrice\n id\n originalOrderLineItemId\n price\n quantity\n status\n deleted\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n barcodeList\n id\n mainImageId\n name\n productId\n sku\n slug\n variantValues {\n order\n variantTypeId\n variantTypeName\n variantValueId\n variantValueName\n }\n }\n options {\n name\n productOptionId\n productOptionsSetId\n type\n values {\n name\n price\n value\n }\n }\n }\n merchantId\n status\n totalPrice\n updatedAt\n }\n adjustments {\n amount\n amountType\n name\n order\n type\n couponId\n appliedOrderLines {\n amount\n appliedQuantity\n orderLineId\n }\n }\n giftPackageLines {\n price\n taxValue\n }\n isGiftPackage\n giftPackageNote\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,a.getClient().query({query:n,variables:{id:o}})];case 2:return d=e.sent(),s=d.data,(c=d.errors)&&c.length&&console.log(c),s?[2,new r(s.getCheckoutById)]:[3,4];case 3:return u=e.sent(),console.log(u),[3,4];case 4:return[2]}}))}))},C.getOrder=function(r){return n(this,void 0,void 0,(function(){var n,d,s;return e(this,(function(e){switch(e.label){case 0:n=i(m||(m=t(["\n query getOrder($orderId: String!) {\n getOrder(orderId: $orderId) {\n billingAddress {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n name\n id\n code\n }\n district {\n name\n id\n code\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n }\n cancelledAt\n cancelReason\n createdAt\n currencyCode\n currencyRates {\n rate\n originalRate\n code\n }\n customer {\n lastName\n firstName\n email\n id\n }\n deleted\n id\n merchantId\n note\n orderedAt\n orderAdjustments {\n type\n order\n name\n amountType\n amount\n }\n orderLineItems {\n createdAt\n currencyCode\n deleted\n discount {\n reason\n amountType\n amount\n }\n discountPrice\n finalPrice\n id\n originalOrderLineItemId\n price\n quantity\n status\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n barcodeList\n id\n mainImageId\n name\n productId\n sku\n variantValues {\n variantValueName\n variantValueId\n variantTypeName\n variantTypeId\n order\n }\n }\n options {\n name\n productOptionId\n productOptionsSetId\n type\n values {\n name\n price\n value\n }\n }\n }\n orderNumber\n orderPackages {\n updatedAt\n trackingInfo {\n trackingNumber\n trackingLink\n isSendNotification\n cargoCompany\n }\n stockLocationId\n orderPackageNumber\n orderPackageFulfillStatus\n orderLineItemIds\n id\n deleted\n createdAt\n }\n orderPackageStatus\n orderPaymentStatus\n orderTagIds\n shippingAddress {\n taxOffice\n taxNumber\n state {\n name\n id\n code\n }\n postalCode\n phone\n lastName\n isDefault\n identityNumber\n firstName\n district {\n name\n id\n code\n }\n country {\n name\n id\n code\n }\n company\n city {\n id\n code\n name\n }\n addressLine2\n addressLine1\n }\n shippingLines {\n title\n taxValue\n price\n }\n shippingMethod\n status\n taxLines {\n rate\n price\n }\n totalFinalPrice\n totalPrice\n updatedAt\n }\n }\n "],["\n query getOrder($orderId: String!) {\n getOrder(orderId: $orderId) {\n billingAddress {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n name\n id\n code\n }\n district {\n name\n id\n code\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n }\n cancelledAt\n cancelReason\n createdAt\n currencyCode\n currencyRates {\n rate\n originalRate\n code\n }\n customer {\n lastName\n firstName\n email\n id\n }\n deleted\n id\n merchantId\n note\n orderedAt\n orderAdjustments {\n type\n order\n name\n amountType\n amount\n }\n orderLineItems {\n createdAt\n currencyCode\n deleted\n discount {\n reason\n amountType\n amount\n }\n discountPrice\n finalPrice\n id\n originalOrderLineItemId\n price\n quantity\n status\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n barcodeList\n id\n mainImageId\n name\n productId\n sku\n variantValues {\n variantValueName\n variantValueId\n variantTypeName\n variantTypeId\n order\n }\n }\n options {\n name\n productOptionId\n productOptionsSetId\n type\n values {\n name\n price\n value\n }\n }\n }\n orderNumber\n orderPackages {\n updatedAt\n trackingInfo {\n trackingNumber\n trackingLink\n isSendNotification\n cargoCompany\n }\n stockLocationId\n orderPackageNumber\n orderPackageFulfillStatus\n orderLineItemIds\n id\n deleted\n createdAt\n }\n orderPackageStatus\n orderPaymentStatus\n orderTagIds\n shippingAddress {\n taxOffice\n taxNumber\n state {\n name\n id\n code\n }\n postalCode\n phone\n lastName\n isDefault\n identityNumber\n firstName\n district {\n name\n id\n code\n }\n country {\n name\n id\n code\n }\n company\n city {\n id\n code\n name\n }\n addressLine2\n addressLine1\n }\n shippingLines {\n title\n taxValue\n price\n }\n shippingMethod\n status\n taxLines {\n rate\n price\n }\n totalFinalPrice\n totalPrice\n updatedAt\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,a.getClient().query({query:n,variables:{orderId:r}})];case 2:return d=e.sent(),(s=d.data)&&s.getOrder?[2,new o(s.getOrder)]:[3,4];case 3:return e.sent(),[3,4];case 4:return[2]}}))}))},C.saveCheckout=function(r){var o,d,s,c;return n(this,void 0,void 0,(function(){var n,u,l,m,g;return e(this,(function(e){switch(e.label){case 0:n=i(p||(p=t(["\n mutation saveCheckout($input: SaveCheckoutInput!) {\n saveCheckout(input: $input) {\n id\n }\n }\n "],["\n mutation saveCheckout($input: SaveCheckoutInput!) {\n saveCheckout(input: $input) {\n id\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,a.getClient().mutate({mutation:n,variables:{input:{id:r.id,cartId:r.cartId,shippingMethod:r.shippingMethod,shippingSettingsId:r.shippingSettingsId,shippingZoneRateId:r.shippingZoneRateId,billingAddress:r.billingAddress&&r.billingAddress.addressLine1?{id:r.billingAddress.id,addressLine1:r.billingAddress.addressLine1||"",addressLine2:r.billingAddress.addressLine2||null,city:r.billingAddress.city,country:r.billingAddress.country,state:r.billingAddress.state,district:r.billingAddress.district||null,firstName:r.billingAddress.firstName,lastName:r.billingAddress.lastName,postalCode:r.billingAddress.postalCode,company:r.billingAddress.company||null,phone:r.billingAddress.phone||null,taxNumber:r.billingAddress.taxNumber||null,taxOffice:r.billingAddress.taxOffice||null,isDefault:r.billingAddress.isDefault||!1,identityNumber:r.billingAddress.identityNumber||null}:null,shippingAddress:r.shippingAddress&&r.shippingAddress.addressLine1?{id:r.shippingAddress.id,addressLine1:r.shippingAddress.addressLine1||"",addressLine2:r.shippingAddress.addressLine2||null,city:r.shippingAddress.city,country:r.shippingAddress.country,state:r.shippingAddress.state,district:r.shippingAddress.district||null,firstName:r.shippingAddress.firstName,lastName:r.shippingAddress.lastName,postalCode:r.shippingAddress.postalCode,company:r.shippingAddress.company||null,phone:r.shippingAddress.phone||null,taxNumber:r.shippingAddress.taxNumber||null,taxOffice:r.shippingAddress.taxOffice||null,isDefault:r.shippingAddress.isDefault||!1,identityNumber:r.shippingAddress.identityNumber||null}:null,couponCode:r.couponCode||null,customer:r.customer?{id:null===(o=r.customer)||void 0===o?void 0:o.id,email:null===(d=r.customer)||void 0===d?void 0:d.email,firstName:null===(s=r.customer)||void 0===s?void 0:s.firstName,lastName:null===(c=r.customer)||void 0===c?void 0:c.lastName,notificationsAccepted:r.customer.notificationsAccepted||!1}:null,note:r.note,isGiftPackage:r.isGiftPackage,giftPackageNote:r.giftPackageNote}}})];case 2:return u=e.sent(),l=u.data,m=u.errors,[2,{data:(null==l?void 0:l.saveCheckout.id)||void 0,errors:m}];case 3:return g=e.sent(),console.log(g),g&&g.graphQLErrors?[2,{data:void 0,errors:g.graphQLErrors}]:[3,4];case 4:return[2]}}))}))},C.createSaleTransactionWithCheckout=function(r,o,d){return n(this,void 0,void 0,(function(){var n,s,c,u,l;return e(this,(function(e){switch(e.label){case 0:n=i(g||(g=t(["\n mutation createSaleTransactionWithCheckout(\n $input: CreateSaleTransactionWithCheckoutInput!\n ) {\n createSaleTransactionWithCheckout(input: $input) {\n orderId\n orderNumber\n transactionId\n transactionStatus\n returnSlug\n error {\n code\n declineCode\n message\n }\n }\n }\n "],["\n mutation createSaleTransactionWithCheckout(\n $input: CreateSaleTransactionWithCheckoutInput!\n ) {\n createSaleTransactionWithCheckout(input: $input) {\n orderId\n orderNumber\n transactionId\n transactionStatus\n returnSlug\n error {\n code\n declineCode\n message\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,a.getClient().mutate({mutation:n,variables:{input:{checkoutId:r,paymentGatewayId:o,paymentMethodDetail:d}}})];case 2:return s=e.sent(),c=s.data,(u=s.errors)&&u.length?[2]:c?[2,c.createSaleTransactionWithCheckout]:[3,4];case 3:return l=e.sent(),console.log(l),[3,4];case 4:return[2]}}))}))},C.listPaymentGateway=function(r){return n(this,void 0,void 0,(function(){var n,o,c,u,l;return e(this,(function(e){switch(e.label){case 0:n=i(h||(h=t(["\n query listPaymentGateway($id: StringFilterInput, $locale: String) {\n listPaymentGateway(id: $id, locale: $locale) {\n paymentMethods {\n name\n logoUrl\n }\n paymentMethodType\n id\n name\n description\n testMode\n code\n type\n logoUrl\n additionalPrices {\n amount\n amountType\n name\n type\n }\n translations {\n description\n locale\n name\n }\n supportedCurrencies\n availableCountries\n }\n }\n "],["\n query listPaymentGateway($id: StringFilterInput, $locale: String) {\n listPaymentGateway(id: $id, locale: $locale) {\n paymentMethods {\n name\n logoUrl\n }\n paymentMethodType\n id\n name\n description\n testMode\n code\n type\n logoUrl\n additionalPrices {\n amount\n amountType\n name\n type\n }\n translations {\n description\n locale\n name\n }\n supportedCurrencies\n availableCountries\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,a.getClient().query({query:n,variables:{id:r?{in:r}:void 0,locale:s.getCurrentLocale()}})];case 2:return o=e.sent(),c=o.data,(u=o.errors)&&u.length&&console.log(u),c?[2,c.listPaymentGateway.map((function(n){return new d(n)}))]:[3,4];case 3:return l=e.sent(),console.log(l),[3,4];case 4:return[2]}}))}))},C.retrieveInstallmentInfo=function(r){return n(this,void 0,void 0,(function(){var n,o,d,s,c;return e(this,(function(e){switch(e.label){case 0:n=i(y||(y=t(["\n mutation retrieveInstallmentInfo($input: RetrieveInstallmentInfoInput!) {\n retrieveInstallmentInfo(input: $input) {\n bankName\n binNumber\n cardAssociation\n cardFamily\n cardType\n installmentPrices {\n totalPrice\n installmentPrice\n installmentCount\n }\n price\n }\n }\n "],["\n mutation retrieveInstallmentInfo($input: RetrieveInstallmentInfoInput!) {\n retrieveInstallmentInfo(input: $input) {\n bankName\n binNumber\n cardAssociation\n cardFamily\n cardType\n installmentPrices {\n totalPrice\n installmentPrice\n installmentCount\n }\n price\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,a.getClient().mutate({mutation:n,variables:{input:r}})];case 2:return o=e.sent(),d=o.data,(s=o.errors)&&s.length&&console.log(s),d?[2,d.retrieveInstallmentInfo]:[3,4];case 3:return c=e.sent(),console.log(c),[3,4];case 4:return[2]}}))}))},C.checkStocks=function(r,o){return n(this,void 0,void 0,(function(){var n,d,s,c,u;return e(this,(function(e){switch(e.label){case 0:n=i(I||(I=t(["\n query checkStocks(\n $lines: [CheckStocksLineInput!]!\n $stockLocationIdList: [String!]\n ) {\n checkStocks(lines: $lines, stockLocationIdList: $stockLocationIdList) {\n lines {\n stockCount\n isAvailable\n variantId\n }\n }\n }\n "],["\n query checkStocks(\n $lines: [CheckStocksLineInput!]!\n $stockLocationIdList: [String!]\n ) {\n checkStocks(lines: $lines, stockLocationIdList: $stockLocationIdList) {\n lines {\n stockCount\n isAvailable\n variantId\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,a.getClient().query({query:n,variables:{lines:r,stockLocationIdList:o.length?o:null}})];case 2:return d=e.sent(),s=d.data,(c=d.errors)&&c.length&&console.log(c),s?[2,s.checkStocks]:[3,4];case 3:return u=e.sent(),console.log(u),[3,4];case 4:return[2]}}))}))},C.listCheckoutSettings=function(){return n(this,void 0,void 0,(function(){var n,r,o,d,u;return e(this,(function(e){switch(e.label){case 0:n=i(f||(f=t(["\n query listCheckoutSettings($storefrontId: StringFilterInput!) {\n listCheckoutSettings(storefrontId: $storefrontId) {\n createdAt\n id\n identityNumberRequirement\n isAccountRequired\n isTermsAndConditionsDefaultChecked\n options {\n name\n required\n }\n phoneRequirement\n showCheckoutNote\n showTermsAndConditionsCheckbox\n storefrontId\n updatedAt\n isGiftPackageEnabled\n giftPackagePriceList {\n currencyCode\n price\n }\n isShowPostalCode\n }\n }\n "],["\n query listCheckoutSettings($storefrontId: StringFilterInput!) {\n listCheckoutSettings(storefrontId: $storefrontId) {\n createdAt\n id\n identityNumberRequirement\n isAccountRequired\n isTermsAndConditionsDefaultChecked\n options {\n name\n required\n }\n phoneRequirement\n showCheckoutNote\n showTermsAndConditionsCheckbox\n storefrontId\n updatedAt\n isGiftPackageEnabled\n giftPackagePriceList {\n currencyCode\n price\n }\n isShowPostalCode\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,a.getClient().query({query:n,variables:{storefrontId:{eq:s.storefrontId}}})];case 2:return r=e.sent(),o=r.data,(d=r.errors)&&d.length&&console.log(d),o?[2,o.listCheckoutSettings.map((function(n){return new c(n)}))]:[3,4];case 3:return u=e.sent(),console.log(u),[3,4];case 4:return[2]}}))}))},C.addCouponCodeToCheckout=function(r,o){return n(this,void 0,void 0,(function(){var n,d;return e(this,(function(e){switch(e.label){case 0:n=i(v||(v=t(["\n mutation addCouponCodeToCheckout(\n $checkoutId: String!\n $couponCode: String!\n ) {\n addCouponCodeToCheckout(\n checkoutId: $checkoutId\n couponCode: $couponCode\n ) {\n id\n }\n }\n "],["\n mutation addCouponCodeToCheckout(\n $checkoutId: String!\n $couponCode: String!\n ) {\n addCouponCodeToCheckout(\n checkoutId: $checkoutId\n couponCode: $couponCode\n ) {\n id\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,a.getClient().query({query:n,variables:{checkoutId:r,couponCode:o}})];case 2:return(d=e.sent().data)&&d.addCouponCodeToCheckout.id?[2,!0]:[3,4];case 3:return e.sent(),[3,4];case 4:return[2]}}))}))},C}();export{C as IkasCheckoutAPI};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as t,__generator as n,__makeTemplateObject as r}from'../../ext/tslib/tslib.es6.js';import e from'../../ext/graphql-tag/src/index.js';import{pascalCase as i}from"../../utils/helper.js";import"../../storefront/index.js";import"../../utils/i18n.js";import{apollo as o}from"../apollo.js";import s from'../../ext/lodash/sortBy.js';var u,d=function(){function d(){}return d.listCities=function(d,l){return t(this,void 0,void 0,(function(){var t,a,c,m,y;return n(this,(function(n){switch(n.label){case 0:t=e(u||(u=r(["\n query listCity(\n $stateId: StringFilterInput!\n $countryId: StringFilterInput\n ) {\n listCity(stateId: $stateId, countryId: $countryId) {\n id\n name\n order\n }\n }\n "],["\n query listCity(\n $stateId: StringFilterInput!\n $countryId: StringFilterInput\n ) {\n listCity(stateId: $stateId, countryId: $countryId) {\n id\n name\n order\n }\n }\n "]))),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,o.getClient().query({query:t,variables:{countryId:{eq:l},stateId:{eq:d}}})];case 2:return a=n.sent(),c=a.data,(m=a.errors)&&m.length&&console.log(m),c?[2,s(c.listCity,"order").map((function(t){return{id:t.id,name:i(t.name)}}))]:[3,4];case 3:return y=n.sent(),console.log(y),[3,4];case 4:return[2,[]]}}))}))},d}();export{d as IkasCityAPI};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as n,__generator as e,__makeTemplateObject as t}from'../../ext/tslib/tslib.es6.js';import a from'../../ext/graphql-tag/src/index.js';import{apollo as s}from"../apollo.js";var r,m=function(){function m(){}return m.sendContactFormToMerchant=function(m){return n(this,void 0,void 0,(function(){var n,o,i,l,c;return e(this,(function(e){switch(e.label){case 0:n=a(r||(r=t(["\n mutation sendContactFormToMerchant(\n $email: String!\n $message: String!\n $firstName: String!\n $lastName: String!\n ) {\n sendContactFormToMerchant(\n email: $email\n message: $message\n firstName: $firstName\n lastName: $lastName\n )\n }\n "],["\n mutation sendContactFormToMerchant(\n $email: String!\n $message: String!\n $firstName: String!\n $lastName: String!\n ) {\n sendContactFormToMerchant(\n email: $email\n message: $message\n firstName: $firstName\n lastName: $lastName\n )\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,s.getClient().mutate({mutation:n,variables:{email:m.email,message:m.message,firstName:m.firstName,lastName:m.lastName}})];case 2:return o=e.sent(),i=o.data,(l=o.errors)&&l.length&&console.log(l),[2,null==i?void 0:i.sendContactFormToMerchant];case 3:return c=e.sent(),console.log(c),[3,4];case 4:return[2]}}))}))},m}();export{m as IkasContactFormAPI};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasCountry } from "../../models
|
|
1
|
+
import { IkasCountry } from "../../models";
|
|
2
2
|
export declare class IkasCountryAPI {
|
|
3
3
|
static listCountries(iso2List?: string[], idList?: string[]): Promise<IkasCountry[]>;
|
|
4
4
|
static listShippingCountries(salesChannelId: string): Promise<string[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as n,__generator as e,__makeTemplateObject as t}from'../../ext/tslib/tslib.es6.js';import i from'../../ext/graphql-tag/src/index.js';import{apollo as r}from"../apollo.js";import{pascalCase as o}from"../../utils/helper.js";import{IkasStorefrontConfig as s}from"../../storefront/index.js";import"../../utils/i18n.js";var a,l,u,c=function(){function c(){}return c.listCountries=function(l,u){return n(this,void 0,void 0,(function(){var n,c,d,g,p,h;return e(this,(function(e){switch(e.label){case 0:n=i(a||(a=t(["\n query listCountry($iso2: StringFilterInput, $id: StringFilterInput) {\n listCountry(iso2: $iso2, id: $id) {\n id\n name\n native\n iso2\n iso3\n phoneCode\n locationTranslations {\n tr\n en\n }\n }\n }\n "],["\n query listCountry($iso2: StringFilterInput, $id: StringFilterInput) {\n listCountry(iso2: $iso2, id: $id) {\n id\n name\n native\n iso2\n iso3\n phoneCode\n locationTranslations {\n tr\n en\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,r.getClient().query({query:n,variables:{iso2:l?{in:l}:void 0,id:u?{in:u}:void 0}})];case 2:return c=e.sent(),d=c.data,(g=c.errors)&&g.length&&console.log(g),d?(p=s.getCurrentLocale(),[2,d.listCountry.map((function(n){return{id:n.id,name:o(n.locationTranslations[p]?n.locationTranslations[p]:n.locationTranslations.en),native:n.native||"",iso2:n.iso2||void 0,iso3:n.iso3||void 0,phoneCode:n.phoneCode||void 0}}))]):[3,4];case 3:return h=e.sent(),console.log(h),[3,4];case 4:return[2,[]]}}))}))},c.listShippingCountries=function(o){return n(this,void 0,void 0,(function(){var n,s,a,u,c;return e(this,(function(e){switch(e.label){case 0:n=i(l||(l=t(["\n query getAvailableShippingCountries($salesChannelId: String!) {\n getAvailableShippingCountries(salesChannelId: $salesChannelId)\n }\n "],["\n query getAvailableShippingCountries($salesChannelId: String!) {\n getAvailableShippingCountries(salesChannelId: $salesChannelId)\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,r.getClient().query({query:n,variables:{salesChannelId:o}})];case 2:return s=e.sent(),a=s.data,(u=s.errors)&&u.length&&console.log(u),a?[2,a.getAvailableShippingCountries]:[3,4];case 3:return c=e.sent(),console.log(c),[3,4];case 4:return[2,[]]}}))}))},c.getMyCountry=function(){return n(this,void 0,void 0,(function(){var n,o;return e(this,(function(e){switch(e.label){case 0:n=i(u||(u=t(["\n query getMyCountry {\n getMyCountry\n }\n "],["\n query getMyCountry {\n getMyCountry\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,r.getClient().query({query:n})];case 2:return[2,e.sent().data.getMyCountry];case 3:return o=e.sent(),console.log(o),[3,4];case 4:return[2]}}))}))},c}();export{c as IkasCountryAPI};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreateCustomerEmailSubscriptionInput } from "
|
|
1
|
+
import { CreateCustomerEmailSubscriptionInput } from "./../../../__generated__/global-types";
|
|
2
2
|
export interface createCustomerEmailSubscription_createCustomerEmailSubscription {
|
|
3
3
|
__typename: "Customer";
|
|
4
4
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OrderRefundRequestInput, CancelledReasonEnum, AdjustmentEnum, AmountTypeEnum, OrderLineItemStatusEnum, OrderPackageFulfillStatusEnum, OrderPackageStatusEnum, OrderPaymentStatusEnum, ShippingMethodEnum, OrderStatusEnum } from "
|
|
1
|
+
import { OrderRefundRequestInput, CancelledReasonEnum, AdjustmentEnum, AmountTypeEnum, OrderLineItemStatusEnum, OrderPackageFulfillStatusEnum, OrderPackageStatusEnum, OrderPaymentStatusEnum, ShippingMethodEnum, OrderStatusEnum } from "./../../../__generated__/global-types";
|
|
2
2
|
export interface createOrderRefundRequest_createOrderRefundRequest_billingAddress_city {
|
|
3
3
|
__typename: "OrderAddressCity";
|
|
4
4
|
/**
|
|
@@ -250,12 +250,14 @@ export interface createOrderRefundRequest_createOrderRefundRequest_orderLineItem
|
|
|
250
250
|
*/
|
|
251
251
|
discountPrice: number | null;
|
|
252
252
|
/**
|
|
253
|
-
* It is the final price of the order line item. If the discount price is less
|
|
253
|
+
* It is the final price of the order line item. If the discount price is less
|
|
254
|
+
* than the sell price, the final price is equal to the discount price.
|
|
254
255
|
*/
|
|
255
256
|
finalPrice: number | null;
|
|
256
257
|
id: string;
|
|
257
258
|
/**
|
|
258
|
-
* It is the original order line item id of the line item. If the line item is
|
|
259
|
+
* It is the original order line item id of the line item. If the line item is
|
|
260
|
+
* derived from another line item, this field is filled.
|
|
259
261
|
*/
|
|
260
262
|
originalOrderLineItemId: string | null;
|
|
261
263
|
/**
|
|
@@ -299,7 +301,8 @@ export interface createOrderRefundRequest_createOrderRefundRequest_orderPackages
|
|
|
299
301
|
*/
|
|
300
302
|
trackingLink: string | null;
|
|
301
303
|
/**
|
|
302
|
-
* Indicates whether the notification is sent to the customer after the cargo is
|
|
304
|
+
* Indicates whether the notification is sent to the customer after the cargo is
|
|
305
|
+
* delivered. ***isSendNotification*** returns true if the notification is sent.
|
|
303
306
|
*/
|
|
304
307
|
isSendNotification: boolean | null;
|
|
305
308
|
/**
|
|
@@ -504,7 +507,8 @@ export interface createOrderRefundRequest_createOrderRefundRequest {
|
|
|
504
507
|
*/
|
|
505
508
|
currencyRates: createOrderRefundRequest_createOrderRefundRequest_currencyRates[];
|
|
506
509
|
/**
|
|
507
|
-
* Information about the customer. The order does not have to be a customer
|
|
510
|
+
* Information about the customer. The order does not have to be a customer
|
|
511
|
+
* information. If the order was created by ikasPOS, the customer information may be null.
|
|
508
512
|
*/
|
|
509
513
|
customer: createOrderRefundRequest_createOrderRefundRequest_customer | null;
|
|
510
514
|
deleted: boolean | null;
|
|
@@ -567,7 +571,9 @@ export interface createOrderRefundRequest_createOrderRefundRequest {
|
|
|
567
571
|
*/
|
|
568
572
|
taxLines: createOrderRefundRequest_createOrderRefundRequest_taxLines[] | null;
|
|
569
573
|
/**
|
|
570
|
-
* The total final price of the order resulting from the apply of
|
|
574
|
+
* The total final price of the order resulting from the apply of
|
|
575
|
+
* ``orderAdjustments`` , ```shippingLines```, and ```giftPackageLines```
|
|
576
|
+
* pricing to the order total price.
|
|
571
577
|
*/
|
|
572
578
|
totalFinalPrice: number;
|
|
573
579
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CustomerAccountStatusEnum, CustomerEmailSubscriptionStatusesEnum } from "
|
|
1
|
+
import { CustomerAccountStatusEnum, CustomerEmailSubscriptionStatusesEnum } from "./../../../__generated__/global-types";
|
|
2
2
|
export interface customerLogin_customerLogin_customer_addresses_city {
|
|
3
3
|
__typename: "CustomerAddressCity";
|
|
4
4
|
/**
|
|
@@ -22,14 +22,6 @@ export interface customerLogin_customerLogin_customer_addresses_country {
|
|
|
22
22
|
* The customer's normalized country name.
|
|
23
23
|
*/
|
|
24
24
|
name: string;
|
|
25
|
-
/**
|
|
26
|
-
* The two-letter country code corresponding to the customer's country.
|
|
27
|
-
*/
|
|
28
|
-
iso2: string | null;
|
|
29
|
-
/**
|
|
30
|
-
* The two-letter country code corresponding to the customer's country.
|
|
31
|
-
*/
|
|
32
|
-
iso3: string | null;
|
|
33
25
|
}
|
|
34
26
|
export interface customerLogin_customerLogin_customer_addresses_district {
|
|
35
27
|
__typename: "CustomerAddressDistrict";
|
|
@@ -85,7 +77,7 @@ export interface customerLogin_customerLogin_customer_addresses {
|
|
|
85
77
|
*/
|
|
86
78
|
firstName: string;
|
|
87
79
|
/**
|
|
88
|
-
* Whether this address is the default address for the customer. Returns
|
|
80
|
+
* Whether this address is the default address for the customer. Returns ```true``` for each default address.
|
|
89
81
|
*/
|
|
90
82
|
isDefault: boolean | null;
|
|
91
83
|
/**
|
|
@@ -111,11 +103,11 @@ export interface customerLogin_customerLogin_customer {
|
|
|
111
103
|
__typename: "Customer";
|
|
112
104
|
id: string;
|
|
113
105
|
/**
|
|
114
|
-
* Email verification status.
|
|
106
|
+
* Email verification status. ***isEmailVerified*** returns ```true``` if the email is verified.
|
|
115
107
|
*/
|
|
116
108
|
isEmailVerified: boolean | null;
|
|
117
109
|
/**
|
|
118
|
-
* Phone verification status.
|
|
110
|
+
* Phone verification status. ***isPhoneVerified*** returns ```true``` if the email is verified.
|
|
119
111
|
*/
|
|
120
112
|
isPhoneVerified: boolean | null;
|
|
121
113
|
/**
|
|
@@ -135,7 +127,8 @@ export interface customerLogin_customerLogin_customer {
|
|
|
135
127
|
*/
|
|
136
128
|
accountStatus: CustomerAccountStatusEnum | null;
|
|
137
129
|
/**
|
|
138
|
-
* The unique email address of the customer. Attempting to assign the same email
|
|
130
|
+
* The unique email address of the customer. Attempting to assign the same email
|
|
131
|
+
* address to multiple customers returns an error.
|
|
139
132
|
*/
|
|
140
133
|
email: string | null;
|
|
141
134
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CancelledReasonEnum, AdjustmentEnum, AmountTypeEnum, OrderLineItemStatusEnum, ProductOptionTypeEnum, OrderPackageFulfillStatusEnum, OrderPackageStatusEnum, OrderPaymentStatusEnum, ShippingMethodEnum, OrderStatusEnum } from "
|
|
1
|
+
import { CancelledReasonEnum, AdjustmentEnum, AmountTypeEnum, OrderLineItemStatusEnum, ProductOptionTypeEnum, OrderPackageFulfillStatusEnum, OrderPackageStatusEnum, OrderPaymentStatusEnum, ShippingMethodEnum, OrderStatusEnum } from "./../../../__generated__/global-types";
|
|
2
2
|
export interface getCustomerOrders_getCustomerOrders_billingAddress_city {
|
|
3
3
|
__typename: "OrderAddressCity";
|
|
4
4
|
/**
|
|
@@ -276,12 +276,14 @@ export interface getCustomerOrders_getCustomerOrders_orderLineItems {
|
|
|
276
276
|
*/
|
|
277
277
|
discountPrice: number | null;
|
|
278
278
|
/**
|
|
279
|
-
* It is the final price of the order line item. If the discount price is less
|
|
279
|
+
* It is the final price of the order line item. If the discount price is less
|
|
280
|
+
* than the sell price, the final price is equal to the discount price.
|
|
280
281
|
*/
|
|
281
282
|
finalPrice: number | null;
|
|
282
283
|
id: string;
|
|
283
284
|
/**
|
|
284
|
-
* It is the original order line item id of the line item. If the line item is
|
|
285
|
+
* It is the original order line item id of the line item. If the line item is
|
|
286
|
+
* derived from another line item, this field is filled.
|
|
285
287
|
*/
|
|
286
288
|
originalOrderLineItemId: string | null;
|
|
287
289
|
/**
|
|
@@ -329,7 +331,8 @@ export interface getCustomerOrders_getCustomerOrders_orderPackages_trackingInfo
|
|
|
329
331
|
*/
|
|
330
332
|
trackingLink: string | null;
|
|
331
333
|
/**
|
|
332
|
-
* Indicates whether the notification is sent to the customer after the cargo is
|
|
334
|
+
* Indicates whether the notification is sent to the customer after the cargo is
|
|
335
|
+
* delivered. ***isSendNotification*** returns true if the notification is sent.
|
|
333
336
|
*/
|
|
334
337
|
isSendNotification: boolean | null;
|
|
335
338
|
/**
|
|
@@ -534,7 +537,8 @@ export interface getCustomerOrders_getCustomerOrders {
|
|
|
534
537
|
*/
|
|
535
538
|
currencyRates: getCustomerOrders_getCustomerOrders_currencyRates[];
|
|
536
539
|
/**
|
|
537
|
-
* Information about the customer. The order does not have to be a customer
|
|
540
|
+
* Information about the customer. The order does not have to be a customer
|
|
541
|
+
* information. If the order was created by ikasPOS, the customer information may be null.
|
|
538
542
|
*/
|
|
539
543
|
customer: getCustomerOrders_getCustomerOrders_customer | null;
|
|
540
544
|
deleted: boolean | null;
|
|
@@ -597,7 +601,9 @@ export interface getCustomerOrders_getCustomerOrders {
|
|
|
597
601
|
*/
|
|
598
602
|
taxLines: getCustomerOrders_getCustomerOrders_taxLines[] | null;
|
|
599
603
|
/**
|
|
600
|
-
* The total final price of the order resulting from the apply of
|
|
604
|
+
* The total final price of the order resulting from the apply of
|
|
605
|
+
* ``orderAdjustments`` , ```shippingLines```, and ```giftPackageLines```
|
|
606
|
+
* pricing to the order total price.
|
|
601
607
|
*/
|
|
602
608
|
totalFinalPrice: number;
|
|
603
609
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CustomerAccountStatusEnum } from "
|
|
1
|
+
import { CustomerAccountStatusEnum } from "./../../../__generated__/global-types";
|
|
2
2
|
export interface getMyCustomer_getMyCustomer_addresses_city {
|
|
3
3
|
__typename: "CustomerAddressCity";
|
|
4
4
|
/**
|
|
@@ -73,7 +73,7 @@ export interface getMyCustomer_getMyCustomer_addresses {
|
|
|
73
73
|
*/
|
|
74
74
|
firstName: string;
|
|
75
75
|
/**
|
|
76
|
-
* Whether this address is the default address for the customer. Returns
|
|
76
|
+
* Whether this address is the default address for the customer. Returns ```true``` for each default address.
|
|
77
77
|
*/
|
|
78
78
|
isDefault: boolean | null;
|
|
79
79
|
/**
|
|
@@ -103,11 +103,11 @@ export interface getMyCustomer_getMyCustomer {
|
|
|
103
103
|
__typename: "Customer";
|
|
104
104
|
id: string;
|
|
105
105
|
/**
|
|
106
|
-
* Email verification status.
|
|
106
|
+
* Email verification status. ***isEmailVerified*** returns ```true``` if the email is verified.
|
|
107
107
|
*/
|
|
108
108
|
isEmailVerified: boolean | null;
|
|
109
109
|
/**
|
|
110
|
-
* Phone verification status.
|
|
110
|
+
* Phone verification status. ***isPhoneVerified*** returns ```true``` if the email is verified.
|
|
111
111
|
*/
|
|
112
112
|
isPhoneVerified: boolean | null;
|
|
113
113
|
/**
|
|
@@ -127,7 +127,8 @@ export interface getMyCustomer_getMyCustomer {
|
|
|
127
127
|
*/
|
|
128
128
|
accountStatus: CustomerAccountStatusEnum | null;
|
|
129
129
|
/**
|
|
130
|
-
* The unique email address of the customer. Attempting to assign the same email
|
|
130
|
+
* The unique email address of the customer. Attempting to assign the same email
|
|
131
|
+
* address to multiple customers returns an error.
|
|
131
132
|
*/
|
|
132
133
|
email: string | null;
|
|
133
134
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StringFilterInput } from "
|
|
1
|
+
import { StringFilterInput } from "./../../../__generated__/global-types";
|
|
2
2
|
export interface listOrderRefundSettings_listOrderRefundSettings {
|
|
3
3
|
__typename: "OrderRefundSettings";
|
|
4
4
|
isActiveRefundSection: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StringFilterInput, PaymentMethodEnum, TransactionCardAssociationEnum, TransactionCardTypeEnum, TransactionStatusEnum, TransactionTypeEnum } from "
|
|
1
|
+
import { StringFilterInput, PaymentMethodEnum, TransactionCardAssociationEnum, TransactionCardTypeEnum, TransactionStatusEnum, TransactionTypeEnum } from "./../../../__generated__/global-types";
|
|
2
2
|
export interface listOrderTransactions_listOrderTransactions_error {
|
|
3
3
|
__typename: "TransactionError";
|
|
4
4
|
code: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CustomerAccountStatusEnum } from "
|
|
1
|
+
import { CustomerAccountStatusEnum } from "./../../../__generated__/global-types";
|
|
2
2
|
export interface registerCustomer_registerCustomer_customer_addresses_city {
|
|
3
3
|
__typename: "CustomerAddressCity";
|
|
4
4
|
/**
|
|
@@ -22,14 +22,6 @@ export interface registerCustomer_registerCustomer_customer_addresses_country {
|
|
|
22
22
|
* The customer's normalized country name.
|
|
23
23
|
*/
|
|
24
24
|
name: string;
|
|
25
|
-
/**
|
|
26
|
-
* The two-letter country code corresponding to the customer's country.
|
|
27
|
-
*/
|
|
28
|
-
iso2: string | null;
|
|
29
|
-
/**
|
|
30
|
-
* The two-letter country code corresponding to the customer's country.
|
|
31
|
-
*/
|
|
32
|
-
iso3: string | null;
|
|
33
25
|
}
|
|
34
26
|
export interface registerCustomer_registerCustomer_customer_addresses_district {
|
|
35
27
|
__typename: "CustomerAddressDistrict";
|
|
@@ -81,7 +73,7 @@ export interface registerCustomer_registerCustomer_customer_addresses {
|
|
|
81
73
|
*/
|
|
82
74
|
firstName: string;
|
|
83
75
|
/**
|
|
84
|
-
* Whether this address is the default address for the customer. Returns
|
|
76
|
+
* Whether this address is the default address for the customer. Returns ```true``` for each default address.
|
|
85
77
|
*/
|
|
86
78
|
isDefault: boolean | null;
|
|
87
79
|
/**
|
|
@@ -107,11 +99,11 @@ export interface registerCustomer_registerCustomer_customer {
|
|
|
107
99
|
__typename: "Customer";
|
|
108
100
|
id: string;
|
|
109
101
|
/**
|
|
110
|
-
* Email verification status.
|
|
102
|
+
* Email verification status. ***isEmailVerified*** returns ```true``` if the email is verified.
|
|
111
103
|
*/
|
|
112
104
|
isEmailVerified: boolean | null;
|
|
113
105
|
/**
|
|
114
|
-
* Phone verification status.
|
|
106
|
+
* Phone verification status. ***isPhoneVerified*** returns ```true``` if the email is verified.
|
|
115
107
|
*/
|
|
116
108
|
isPhoneVerified: boolean | null;
|
|
117
109
|
/**
|
|
@@ -131,7 +123,8 @@ export interface registerCustomer_registerCustomer_customer {
|
|
|
131
123
|
*/
|
|
132
124
|
accountStatus: CustomerAccountStatusEnum | null;
|
|
133
125
|
/**
|
|
134
|
-
* The unique email address of the customer. Attempting to assign the same email
|
|
126
|
+
* The unique email address of the customer. Attempting to assign the same email
|
|
127
|
+
* address to multiple customers returns an error.
|
|
135
128
|
*/
|
|
136
129
|
email: string | null;
|
|
137
130
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProductLastViewedInput } from "
|
|
1
|
+
import { ProductLastViewedInput } from "./../../../__generated__/global-types";
|
|
2
2
|
export interface saveLastViewedProducts_saveLastViewedProducts {
|
|
3
3
|
__typename: "ProductLastViewed";
|
|
4
4
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SaveMyCustomerInput, CustomerAccountStatusEnum } from "
|
|
1
|
+
import { SaveMyCustomerInput, CustomerAccountStatusEnum } from "./../../../__generated__/global-types";
|
|
2
2
|
export interface saveMyCustomer_saveMyCustomer_addresses_city {
|
|
3
3
|
__typename: "CustomerAddressCity";
|
|
4
4
|
/**
|
|
@@ -22,14 +22,6 @@ export interface saveMyCustomer_saveMyCustomer_addresses_country {
|
|
|
22
22
|
* The customer's normalized country name.
|
|
23
23
|
*/
|
|
24
24
|
name: string;
|
|
25
|
-
/**
|
|
26
|
-
* The two-letter country code corresponding to the customer's country.
|
|
27
|
-
*/
|
|
28
|
-
iso2: string | null;
|
|
29
|
-
/**
|
|
30
|
-
* The two-letter country code corresponding to the customer's country.
|
|
31
|
-
*/
|
|
32
|
-
iso3: string | null;
|
|
33
25
|
}
|
|
34
26
|
export interface saveMyCustomer_saveMyCustomer_addresses_district {
|
|
35
27
|
__typename: "CustomerAddressDistrict";
|
|
@@ -81,7 +73,7 @@ export interface saveMyCustomer_saveMyCustomer_addresses {
|
|
|
81
73
|
*/
|
|
82
74
|
firstName: string;
|
|
83
75
|
/**
|
|
84
|
-
* Whether this address is the default address for the customer. Returns
|
|
76
|
+
* Whether this address is the default address for the customer. Returns ```true``` for each default address.
|
|
85
77
|
*/
|
|
86
78
|
isDefault: boolean | null;
|
|
87
79
|
/**
|
|
@@ -115,11 +107,11 @@ export interface saveMyCustomer_saveMyCustomer {
|
|
|
115
107
|
__typename: "Customer";
|
|
116
108
|
id: string;
|
|
117
109
|
/**
|
|
118
|
-
* Email verification status.
|
|
110
|
+
* Email verification status. ***isEmailVerified*** returns ```true``` if the email is verified.
|
|
119
111
|
*/
|
|
120
112
|
isEmailVerified: boolean | null;
|
|
121
113
|
/**
|
|
122
|
-
* Phone verification status.
|
|
114
|
+
* Phone verification status. ***isPhoneVerified*** returns ```true``` if the email is verified.
|
|
123
115
|
*/
|
|
124
116
|
isPhoneVerified: boolean | null;
|
|
125
117
|
/**
|
|
@@ -139,7 +131,8 @@ export interface saveMyCustomer_saveMyCustomer {
|
|
|
139
131
|
*/
|
|
140
132
|
accountStatus: CustomerAccountStatusEnum | null;
|
|
141
133
|
/**
|
|
142
|
-
* The unique email address of the customer. Attempting to assign the same email
|
|
134
|
+
* The unique email address of the customer. Attempting to assign the same email
|
|
135
|
+
* address to multiple customers returns an error.
|
|
143
136
|
*/
|
|
144
137
|
email: string | null;
|
|
145
138
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IkasCustomer, IkasOrder, IkasOrderRefundSettings, IkasOrderTransaction } from "../../models
|
|
2
|
-
import { IkasRefund } from "../../models/data/order/refund
|
|
1
|
+
import { IkasCustomer, IkasOrder, IkasOrderRefundSettings, IkasOrderTransaction } from "../../models";
|
|
2
|
+
import { IkasRefund } from "../../models/data/order/refund";
|
|
3
3
|
import * as RefreshTokenTypes from "./__generated__/customerRefreshToken";
|
|
4
4
|
import * as GetLastViewedProductsTypes from "./__generated__/getLastViewedProducts";
|
|
5
5
|
export declare class IkasCustomerAPI {
|
|
@@ -9,11 +9,6 @@ export declare class IkasCustomerAPI {
|
|
|
9
9
|
token: string;
|
|
10
10
|
tokenExpiry: number;
|
|
11
11
|
} | undefined>;
|
|
12
|
-
static socialLogin(code: string): Promise<{
|
|
13
|
-
customer: IkasCustomer;
|
|
14
|
-
token: string;
|
|
15
|
-
tokenExpiry: number;
|
|
16
|
-
} | undefined>;
|
|
17
12
|
static register(email: string, password: string, firstName: string, lastName: string, isAcceptMarketing?: boolean): Promise<{
|
|
18
13
|
customer: IkasCustomer;
|
|
19
14
|
__typename: "CustomerLoginResponse";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as n,__generator as e,__assign as t,__makeTemplateObject as r}from'../../ext/tslib/tslib.es6.js';import a from'../../ext/graphql-tag/src/index.js';import{apollo as i}from"../apollo.js";import"../../models/data/blog/index.js";import"../../models/data/brand/index.js";import"../../models/data/category/index.js";import"../../models/data/checkout/index.js";import"../../models/data/customer/address/index.js";import{IkasCustomer as s}from"../../models/data/customer/index.js";import"../../models/data/customer-review/index.js";import"../../models/data/html-meta-data/index.js";import"../../models/data/image/index.js";import"../../models/data/installment-info/index.js";import{IkasOrder as o}from"../../models/data/order/index.js";import"../../models/data/order/line-item/index.js";import{IkasOrderRefundSettings as d}from"../../models/data/order/refund/settings.js";import"../../models/data/product/index.js";import"mobx";import"../../models/data/variant-type/index.js";import"../../models/data/product/variant/index.js";import"../../models/data/product/variant/price/index.js";import"../../models/data/product-attribute/index.js";import"../../models/data/product/attribute-value/index.js";import"../../models/data/product-filter/index.js";import"../../models/data/variant-type/variant-value/index.js";import{IkasOrderTransaction as c}from"../../models/data/order-transaction/index.js";import"../../models/data/product-option-set/index.js";import"../../models/data/raffle/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/validator/index.js";import"../../models/ui/validator/rules/index.js";import"../../models/ui/validator/form/login.js";import"../../models/ui/validator/form/address.js";import"../../models/ui/validator/form/register.js";import"../../models/ui/validator/form/contact-form.js";import"../../models/ui/validator/form/forgot-password.js";import"../../models/ui/validator/form/recover-password.js";import"../../models/ui/validator/form/account-info.js";import"../../models/ui/validator/form/raffle-form.js";import"../../models/ui/validator/form/customer-review.js";import"../../models/ui/raffle-list/index.js";import"../../models/theme/settings/index.js";import"../../models/theme/custom-data/index.js";import{IkasStorefrontConfig as u}from"../../storefront/index.js";var m,l,p,g,f,y,h,v,I,N,b,k,$,x,C,L=function(){function L(){}return L.login=function(o,d){return n(this,void 0,void 0,(function(){var n,c,u,l,p;return e(this,(function(e){switch(e.label){case 0:n=a(m||(m=r(["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n identityNumber\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n subscriptionStatus\n }\n }\n }\n "],["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n identityNumber\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n subscriptionStatus\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{email:o,password:d}})];case 2:return c=e.sent(),u=c.data,(l=c.errors)&&l.length&&console.log(l),u&&u.customerLogin?[2,t(t({},u.customerLogin),{customer:new s(u.customerLogin.customer)})]:[3,4];case 3:return p=e.sent(),console.log(p),[3,4];case 4:return[2]}}))}))},L.register=function(o,d,c,m,p){return n(this,void 0,void 0,(function(){var n,g,f,y,h;return e(this,(function(e){switch(e.label){case 0:n=a(l||(l=r(["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n $locale: String\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n locale: $locale\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "],["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n $locale: String\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n locale: $locale\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{email:o,password:d,firstName:c,lastName:m,isAcceptMarketing:p,locale:u.getCurrentLocale()}})];case 2:return g=e.sent(),f=g.data,(y=g.errors)&&y.length&&console.log(y),f&&f.registerCustomer?[2,t(t({},f.registerCustomer),{customer:new s(f.registerCustomer.customer)})]:[3,4];case 3:return h=e.sent(),console.log(h),[3,4];case 4:return[2]}}))}))},L.refreshToken=function(t){return n(this,void 0,void 0,(function(){var n,s,o,d,c;return e(this,(function(e){switch(e.label){case 0:n=a(p||(p=r(["\n mutation customerRefreshToken($token: String!) {\n customerRefreshToken(token: $token) {\n token\n tokenExpiry\n }\n }\n "],["\n mutation customerRefreshToken($token: String!) {\n customerRefreshToken(token: $token) {\n token\n tokenExpiry\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{token:t}})];case 2:return s=e.sent(),o=s.data,(d=s.errors)&&d.length&&console.log(d),o?[2,o.customerRefreshToken]:[3,4];case 3:return c=e.sent(),console.log(c),[3,4];case 4:return[2]}}))}))},L.forgotPassword=function(t){return n(this,void 0,void 0,(function(){var n,s,o,d;return e(this,(function(e){switch(e.label){case 0:n=a(g||(g=r(["\n mutation customerForgotPassword($email: String!, $locale: String!) {\n customerForgotPassword(email: $email, locale: $locale)\n }\n "],["\n mutation customerForgotPassword($email: String!, $locale: String!) {\n customerForgotPassword(email: $email, locale: $locale)\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{email:t,locale:u.getCurrentLocale()}})];case 2:return s=e.sent(),(o=s.errors)&&o.length?(console.log(o),[2,!1]):[3,4];case 3:return d=e.sent(),console.log(d),[3,4];case 4:return[2,!0]}}))}))},L.recoverPassword=function(t,s,o){return n(this,void 0,void 0,(function(){var n,d,c,u;return e(this,(function(e){switch(e.label){case 0:n=a(f||(f=r(["\n mutation customerRecoverPassword(\n $password: String!\n $passwordAgain: String!\n $token: String!\n ) {\n customerRecoverPassword(\n password: $password\n passwordAgain: $passwordAgain\n token: $token\n )\n }\n "],["\n mutation customerRecoverPassword(\n $password: String!\n $passwordAgain: String!\n $token: String!\n ) {\n customerRecoverPassword(\n password: $password\n passwordAgain: $passwordAgain\n token: $token\n )\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{password:t,passwordAgain:s,token:o}})];case 2:return d=e.sent(),(c=d.errors)&&c.length?(console.log(c),[2,!1]):[3,4];case 3:return u=e.sent(),console.log(u),[2,!1];case 4:return[2,!0]}}))}))},L.checkEmail=function(t){return n(this,void 0,void 0,(function(){var n,s,o,d,c;return e(this,(function(e){switch(e.label){case 0:n=a(y||(y=r(["\n query checkCustomerEmail($email: String!) {\n checkCustomerEmail(email: $email) {\n exists\n }\n }\n "],["\n query checkCustomerEmail($email: String!) {\n checkCustomerEmail(email: $email) {\n exists\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().query({query:n,variables:{email:t}})];case 2:return s=e.sent(),o=s.data,(d=s.errors)&&d.length&&console.log(d),o&&o.checkCustomerEmail?[2,o.checkCustomerEmail.exists]:[3,4];case 3:return c=e.sent(),console.log(c),[3,4];case 4:return[2,!1]}}))}))},L.getCustomer=function(){return n(this,void 0,void 0,(function(){var n,t,o,d,c;return e(this,(function(e){switch(e.label){case 0:n=a(h||(h=r(["\n query getMyCustomer {\n getMyCustomer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n phone\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n "],["\n query getMyCustomer {\n getMyCustomer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n phone\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().query({query:n})];case 2:return t=e.sent(),o=t.data,(d=t.errors)&&d.length&&console.log(d),o&&o.getMyCustomer?[2,new s(o.getMyCustomer)]:[3,4];case 3:return c=e.sent(),console.log(c),[3,4];case 4:return[2]}}))}))},L.saveCustomer=function(t){return n(this,void 0,void 0,(function(){var n,o,d,c,u;return e(this,(function(e){switch(e.label){case 0:n=a(v||(v=r(["\n mutation saveMyCustomer($input: SaveMyCustomerInput!) {\n saveMyCustomer(input: $input) {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n identityNumber\n taxNumber\n taxOffice\n title\n phone\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n "],["\n mutation saveMyCustomer($input: SaveMyCustomerInput!) {\n saveMyCustomer(input: $input) {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n identityNumber\n taxNumber\n taxOffice\n title\n phone\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{input:{firstName:t.firstName,lastName:t.lastName,addresses:t.addresses,phone:t.phone}}})];case 2:return o=e.sent(),d=o.data,(c=o.errors)&&c.length&&console.log(c),d&&d.saveMyCustomer?[2,new s(d.saveMyCustomer)]:[3,4];case 3:return u=e.sent(),console.log(u),[3,4];case 4:return[2]}}))}))},L.getOrders=function(t){return n(this,void 0,void 0,(function(){var n,s,d,c,u;return e(this,(function(e){switch(e.label){case 0:n=a(I||(I=r(["\n query getCustomerOrders($orderId: String) {\n getCustomerOrders(orderId: $orderId) {\n billingAddress {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n name\n id\n code\n }\n district {\n name\n id\n code\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n }\n cancelledAt\n cancelReason\n createdAt\n currencyCode\n currencyRates {\n rate\n originalRate\n code\n }\n customer {\n lastName\n firstName\n email\n id\n }\n deleted\n id\n merchantId\n note\n orderedAt\n orderAdjustments {\n type\n order\n name\n amountType\n amount\n }\n orderLineItems {\n createdAt\n currencyCode\n deleted\n discount {\n reason\n amountType\n amount\n }\n discountPrice\n finalPrice\n id\n originalOrderLineItemId\n price\n quantity\n status\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n barcodeList\n id\n mainImageId\n name\n productId\n sku\n variantValues {\n variantValueName\n variantValueId\n variantTypeName\n variantTypeId\n order\n }\n }\n options {\n name\n productOptionId\n productOptionsSetId\n type\n values {\n name\n price\n value\n }\n }\n }\n orderNumber\n orderPackages {\n updatedAt\n trackingInfo {\n trackingNumber\n trackingLink\n isSendNotification\n cargoCompany\n }\n stockLocationId\n orderPackageNumber\n orderPackageFulfillStatus\n orderLineItemIds\n id\n deleted\n createdAt\n }\n orderPackageStatus\n orderPaymentStatus\n orderTagIds\n shippingAddress {\n taxOffice\n taxNumber\n state {\n name\n id\n code\n }\n postalCode\n phone\n lastName\n isDefault\n identityNumber\n firstName\n district {\n name\n id\n code\n }\n country {\n name\n id\n code\n }\n company\n city {\n id\n code\n name\n }\n addressLine2\n addressLine1\n }\n shippingLines {\n title\n taxValue\n price\n }\n shippingMethod\n status\n taxLines {\n rate\n price\n }\n totalFinalPrice\n totalPrice\n updatedAt\n }\n }\n "],["\n query getCustomerOrders($orderId: String) {\n getCustomerOrders(orderId: $orderId) {\n billingAddress {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n name\n id\n code\n }\n district {\n name\n id\n code\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n }\n cancelledAt\n cancelReason\n createdAt\n currencyCode\n currencyRates {\n rate\n originalRate\n code\n }\n customer {\n lastName\n firstName\n email\n id\n }\n deleted\n id\n merchantId\n note\n orderedAt\n orderAdjustments {\n type\n order\n name\n amountType\n amount\n }\n orderLineItems {\n createdAt\n currencyCode\n deleted\n discount {\n reason\n amountType\n amount\n }\n discountPrice\n finalPrice\n id\n originalOrderLineItemId\n price\n quantity\n status\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n barcodeList\n id\n mainImageId\n name\n productId\n sku\n variantValues {\n variantValueName\n variantValueId\n variantTypeName\n variantTypeId\n order\n }\n }\n options {\n name\n productOptionId\n productOptionsSetId\n type\n values {\n name\n price\n value\n }\n }\n }\n orderNumber\n orderPackages {\n updatedAt\n trackingInfo {\n trackingNumber\n trackingLink\n isSendNotification\n cargoCompany\n }\n stockLocationId\n orderPackageNumber\n orderPackageFulfillStatus\n orderLineItemIds\n id\n deleted\n createdAt\n }\n orderPackageStatus\n orderPaymentStatus\n orderTagIds\n shippingAddress {\n taxOffice\n taxNumber\n state {\n name\n id\n code\n }\n postalCode\n phone\n lastName\n isDefault\n identityNumber\n firstName\n district {\n name\n id\n code\n }\n country {\n name\n id\n code\n }\n company\n city {\n id\n code\n name\n }\n addressLine2\n addressLine1\n }\n shippingLines {\n title\n taxValue\n price\n }\n shippingMethod\n status\n taxLines {\n rate\n price\n }\n totalFinalPrice\n totalPrice\n updatedAt\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().query({query:n,variables:t?{orderId:t}:{}})];case 2:return s=e.sent(),d=s.data,(c=s.errors)&&c.length&&console.log(c),d&&d.getCustomerOrders?[2,d.getCustomerOrders.map((function(n){return new o(n)}))]:[3,4];case 3:return u=e.sent(),console.log(u),[3,4];case 4:return[2]}}))}))},L.getOrderTransactions=function(t){return n(this,void 0,void 0,(function(){var n,s,o,d,u;return e(this,(function(e){switch(e.label){case 0:n=a(N||(N=r(["\n query listOrderTransactions(\n $checkoutId: StringFilterInput\n $id: StringFilterInput\n $orderId: StringFilterInput\n ) {\n listOrderTransactions(\n checkoutId: $checkoutId\n id: $id\n orderId: $orderId\n ) {\n amount\n checkoutId\n createdAt\n currencyCode\n customerId\n deleted\n error {\n code\n declineCode\n message\n }\n id\n orderId\n paymentGatewayId\n paymentGatewayName\n paymentMethod\n paymentMethodDetail {\n bankName\n binNumber\n cardAssociation\n cardFamily\n cardType\n installment {\n installmentCount\n installmentPrice\n totalPrice\n }\n lastFourDigits\n threeDSecure\n }\n processedAt\n refundReason\n status\n type\n updatedAt\n }\n }\n "],["\n query listOrderTransactions(\n $checkoutId: StringFilterInput\n $id: StringFilterInput\n $orderId: StringFilterInput\n ) {\n listOrderTransactions(\n checkoutId: $checkoutId\n id: $id\n orderId: $orderId\n ) {\n amount\n checkoutId\n createdAt\n currencyCode\n customerId\n deleted\n error {\n code\n declineCode\n message\n }\n id\n orderId\n paymentGatewayId\n paymentGatewayName\n paymentMethod\n paymentMethodDetail {\n bankName\n binNumber\n cardAssociation\n cardFamily\n cardType\n installment {\n installmentCount\n installmentPrice\n totalPrice\n }\n lastFourDigits\n threeDSecure\n }\n processedAt\n refundReason\n status\n type\n updatedAt\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().query({query:n,variables:{checkoutId:(null==t?void 0:t.checkoutId)?{eq:t.checkoutId}:void 0,id:(null==t?void 0:t.id)?{eq:t.id}:void 0,orderId:(null==t?void 0:t.orderId)?{eq:t.orderId}:void 0}})];case 2:return s=e.sent(),o=s.data,d=s.errors,Array.isArray(d)&&d.length?[2,[]]:[2,o.listOrderTransactions.map((function(n){return new c(n)}))];case 3:return u=e.sent(),console.log(u),[2,[]];case 4:return[2]}}))}))},L.saveIkasOrderRefund=function(t){return n(this,void 0,void 0,(function(){var n,s,d,c,u;return e(this,(function(e){switch(e.label){case 0:n=a(b||(b=r(["\n mutation createOrderRefundRequest($input: OrderRefundRequestInput!) {\n createOrderRefundRequest(input: $input) {\n billingAddress {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n name\n id\n code\n }\n district {\n name\n id\n code\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n }\n cancelledAt\n cancelReason\n createdAt\n currencyCode\n currencyRates {\n rate\n originalRate\n code\n }\n customer {\n lastName\n firstName\n email\n id\n }\n deleted\n id\n merchantId\n note\n orderedAt\n orderAdjustments {\n type\n order\n name\n amountType\n amount\n }\n orderLineItems {\n createdAt\n currencyCode\n deleted\n discount {\n reason\n amountType\n amount\n }\n discountPrice\n finalPrice\n id\n originalOrderLineItemId\n price\n quantity\n status\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n barcodeList\n id\n mainImageId\n name\n productId\n sku\n variantValues {\n variantValueName\n variantValueId\n variantTypeName\n variantTypeId\n order\n }\n }\n }\n orderNumber\n orderPackages {\n updatedAt\n trackingInfo {\n trackingNumber\n trackingLink\n isSendNotification\n cargoCompany\n }\n stockLocationId\n orderPackageNumber\n orderPackageFulfillStatus\n orderLineItemIds\n id\n deleted\n createdAt\n }\n orderPackageStatus\n orderPaymentStatus\n orderTagIds\n shippingAddress {\n taxOffice\n taxNumber\n state {\n name\n id\n code\n }\n postalCode\n phone\n lastName\n isDefault\n identityNumber\n firstName\n district {\n name\n id\n code\n }\n country {\n name\n id\n code\n }\n company\n city {\n id\n code\n name\n }\n addressLine2\n addressLine1\n }\n shippingLines {\n title\n taxValue\n price\n }\n shippingMethod\n status\n taxLines {\n rate\n price\n }\n totalFinalPrice\n totalPrice\n updatedAt\n }\n }\n "],["\n mutation createOrderRefundRequest($input: OrderRefundRequestInput!) {\n createOrderRefundRequest(input: $input) {\n billingAddress {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n name\n id\n code\n }\n district {\n name\n id\n code\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n }\n cancelledAt\n cancelReason\n createdAt\n currencyCode\n currencyRates {\n rate\n originalRate\n code\n }\n customer {\n lastName\n firstName\n email\n id\n }\n deleted\n id\n merchantId\n note\n orderedAt\n orderAdjustments {\n type\n order\n name\n amountType\n amount\n }\n orderLineItems {\n createdAt\n currencyCode\n deleted\n discount {\n reason\n amountType\n amount\n }\n discountPrice\n finalPrice\n id\n originalOrderLineItemId\n price\n quantity\n status\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n barcodeList\n id\n mainImageId\n name\n productId\n sku\n variantValues {\n variantValueName\n variantValueId\n variantTypeName\n variantTypeId\n order\n }\n }\n }\n orderNumber\n orderPackages {\n updatedAt\n trackingInfo {\n trackingNumber\n trackingLink\n isSendNotification\n cargoCompany\n }\n stockLocationId\n orderPackageNumber\n orderPackageFulfillStatus\n orderLineItemIds\n id\n deleted\n createdAt\n }\n orderPackageStatus\n orderPaymentStatus\n orderTagIds\n shippingAddress {\n taxOffice\n taxNumber\n state {\n name\n id\n code\n }\n postalCode\n phone\n lastName\n isDefault\n identityNumber\n firstName\n district {\n name\n id\n code\n }\n country {\n name\n id\n code\n }\n company\n city {\n id\n code\n name\n }\n addressLine2\n addressLine1\n }\n shippingLines {\n title\n taxValue\n price\n }\n shippingMethod\n status\n taxLines {\n rate\n price\n }\n totalFinalPrice\n totalPrice\n updatedAt\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{input:t}})];case 2:return s=e.sent(),d=s.data,(c=s.errors)&&c.length?[2]:d&&d.createOrderRefundRequest?[2,new o(null==d?void 0:d.createOrderRefundRequest)]:[3,4];case 3:return u=e.sent(),console.log(u),[3,4];case 4:return[2]}}))}))},L.createCustomerEmailSubscription=function(t){return n(this,void 0,void 0,(function(){var n,s,o;return e(this,(function(e){switch(e.label){case 0:n=a(k||(k=r(["\n mutation createCustomerEmailSubscription(\n $input: CreateCustomerEmailSubscriptionInput!\n ) {\n createCustomerEmailSubscription(input: $input) {\n id\n }\n }\n "],["\n mutation createCustomerEmailSubscription(\n $input: CreateCustomerEmailSubscriptionInput!\n ) {\n createCustomerEmailSubscription(input: $input) {\n id\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{input:{email:t}}})];case 2:return(s=e.sent().errors)&&s.length?[2,!1]:[3,4];case 3:return o=e.sent(),console.log(o),[2,!1];case 4:return[2,!0]}}))}))},L.getLastViewedProducts=function(t){var s;return n(this,void 0,void 0,(function(){var n,o,d,c,u;return e(this,(function(e){switch(e.label){case 0:n=a($||($=r(["\n query getLastViewedProducts($customerId: String) {\n getLastViewedProducts(customerId: $customerId) {\n products {\n productId\n variantId\n }\n }\n }\n "],["\n query getLastViewedProducts($customerId: String) {\n getLastViewedProducts(customerId: $customerId) {\n products {\n productId\n variantId\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().query({query:n,variables:{customerId:t}})];case 2:return o=e.sent(),d=o.data,(c=o.errors)&&c.length?[2,[]]:[2,(null===(s=d.getLastViewedProducts)||void 0===s?void 0:s.products)||[]];case 3:return u=e.sent(),console.log(u),[2,[]];case 4:return[2]}}))}))},L.saveLastViewedProducts=function(t){return n(this,void 0,void 0,(function(){var n,s,o;return e(this,(function(e){switch(e.label){case 0:n=a(x||(x=r(["\n mutation saveLastViewedProducts($input: ProductLastViewedInput!) {\n saveLastViewedProducts(input: $input) {\n id\n }\n }\n "],["\n mutation saveLastViewedProducts($input: ProductLastViewedInput!) {\n saveLastViewedProducts(input: $input) {\n id\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().mutate({mutation:n,variables:{input:t}})];case 2:return(s=e.sent().errors)&&s.length?[2,!1]:[3,4];case 3:return o=e.sent(),console.log(o),[2,!1];case 4:return[2,!0]}}))}))},L.getOrderRefundSettings=function(){return n(this,void 0,void 0,(function(){var n,t,s,o,c;return e(this,(function(e){switch(e.label){case 0:n=a(C||(C=r(["\n query listOrderRefundSettings($storefrontId: StringFilterInput!) {\n listOrderRefundSettings(storefrontId: $storefrontId) {\n isActiveRefundSection\n orderRefundDayLimit\n refundDesc\n }\n }\n "],["\n query listOrderRefundSettings($storefrontId: StringFilterInput!) {\n listOrderRefundSettings(storefrontId: $storefrontId) {\n isActiveRefundSection\n orderRefundDayLimit\n refundDesc\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i.getClient().query({query:n,variables:{storefrontId:{eq:u.storefrontId}}})];case 2:return t=e.sent(),s=t.data,(o=t.errors)&&o.length&&console.log(o),s&&s.listOrderRefundSettings.length?[2,new d(s.listOrderRefundSettings[0])]:[3,4];case 3:return c=e.sent(),console.log(c),[3,4];case 4:return[2]}}))}))},L}();export{L as IkasCustomerAPI};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreateCustomerReviewInput } from "
|
|
1
|
+
import { CreateCustomerReviewInput } from "./../../../__generated__/global-types";
|
|
2
2
|
export interface createCustomerReview_createCustomerReview {
|
|
3
3
|
__typename: "CustomerReview";
|
|
4
4
|
id: string;
|