@ikas/storefront 3.0.0-alpha.25 → 3.0.0-alpha.27
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/__api/models/BlogMetadata.d.ts +2 -0
- package/build/__api/models/BlogMetadata.js +1 -1
- package/build/__api/models/BlogMetadataTargetTypeEnumFilter.d.ts +1 -1
- package/build/__api/models/CreateCustomerReviewInput.d.ts +3 -0
- package/build/__api/models/CreateSaleTransactionMasterPassPaymentMethodDetail.d.ts +10 -0
- package/build/__api/models/CreateSaleTransactionWithCartInput.d.ts +2 -0
- package/build/__api/models/CreateSaleTransactionWithCheckoutInput.d.ts +2 -0
- package/build/__api/models/CustomerReview.d.ts +3 -0
- package/build/__api/models/CustomerReview.js +1 -1
- package/build/__api/models/DateFilterInput.d.ts +1 -1
- package/build/__api/models/GetProductOptionFileUrl.d.ts +11 -0
- package/build/__api/models/HTMLMetaData.d.ts +2 -0
- package/build/__api/models/HTMLMetaData.js +1 -1
- package/build/__api/models/HTMLMetaDataTargetTypeEnumFilter.d.ts +1 -1
- package/build/__api/models/MasterpassTokenResponse.d.ts +7 -5
- package/build/__api/models/MerchantSettings.d.ts +2 -0
- package/build/__api/models/MerchantSettings.js +1 -1
- package/build/__api/models/MerchantSettingsCurrencyFormat.d.ts +15 -0
- package/build/__api/models/MerchantSettingsCurrencyFormat.js +1 -0
- package/build/__api/models/OrderShippingLine.d.ts +1 -0
- package/build/__api/models/OrderShippingLine.js +1 -1
- package/build/__api/models/PaymentGateway.d.ts +1 -1
- package/build/__api/models/PaymentGateway.js +1 -1
- package/build/__api/models/RaffleMetadata.d.ts +2 -0
- package/build/__api/models/RaffleMetadataTargetTypeEnumFilter.d.ts +1 -1
- package/build/__api/models/SearchHTMLMetaData.d.ts +2 -0
- package/build/__api/models/Storefront.d.ts +1 -0
- package/build/__api/mutations/addCouponCodeToCheckout.d.ts +1 -0
- package/build/__api/mutations/addItemToCart.d.ts +1 -0
- package/build/__api/mutations/addItemToCart.js +1 -1
- package/build/__api/mutations/createCustomerReview.d.ts +3 -0
- package/build/__api/mutations/createCustomerReview.js +1 -1
- package/build/__api/mutations/createOrderRefundRequest.d.ts +1 -0
- package/build/__api/mutations/createOrderRefundRequest.js +1 -1
- package/build/__api/mutations/saveCart.d.ts +1 -0
- package/build/__api/mutations/saveCart.js +1 -1
- package/build/__api/mutations/saveCartCouponCode.d.ts +1 -0
- package/build/__api/mutations/saveCartCouponCode.js +1 -1
- package/build/__api/mutations/saveCheckout.d.ts +1 -0
- package/build/__api/queries/getCartById.d.ts +1 -0
- package/build/__api/queries/getCartById.js +1 -1
- package/build/__api/queries/getCheckoutByCartId.d.ts +1 -0
- package/build/__api/queries/getCheckoutById.d.ts +1 -0
- package/build/__api/queries/getCustomerOrders.d.ts +1 -0
- package/build/__api/queries/getCustomerOrders.js +1 -1
- package/build/__api/queries/getMasterpassRequestToken.d.ts +6 -3
- package/build/__api/queries/getOrder.d.ts +1 -0
- package/build/__api/queries/getOrderByEmail.d.ts +1 -0
- package/build/__api/queries/getOrderByEmail.js +1 -1
- package/build/__api/queries/getProductFilterData.d.ts +8 -0
- package/build/__api/queries/getProductFilterData.js +1 -1
- package/build/__api/queries/getProductOptionFileUrl.d.ts +14 -0
- package/build/__api/queries/getRafflesByCustomerId.d.ts +2 -0
- package/build/__api/queries/getRafflesByCustomerId.js +1 -1
- package/build/__api/queries/getStorefront.d.ts +1 -0
- package/build/__api/queries/getStorefront.js +1 -1
- package/build/__api/queries/listBlog.d.ts +4 -0
- package/build/__api/queries/listBlog.js +1 -1
- package/build/__api/queries/listBlogCategory.d.ts +2 -0
- package/build/__api/queries/listBlogCategory.js +1 -1
- package/build/__api/queries/listBlogMetadata.d.ts +2 -0
- package/build/__api/queries/listBlogMetadata.js +1 -1
- package/build/__api/queries/listCategory.d.ts +4 -0
- package/build/__api/queries/listCategory.js +1 -1
- package/build/__api/queries/listCustomerReviews.d.ts +3 -0
- package/build/__api/queries/listCustomerReviews.js +1 -1
- package/build/__api/queries/listHTMLMetaData.d.ts +2 -0
- package/build/__api/queries/listHTMLMetaData.js +1 -1
- package/build/__api/queries/listMerchantSettings.d.ts +6 -0
- package/build/__api/queries/listMerchantSettings.js +1 -1
- package/build/__api/queries/listPaymentGateway.d.ts +1 -1
- package/build/__api/queries/listPaymentGateway.js +1 -1
- package/build/__api/queries/listProduct.d.ts +2 -0
- package/build/__api/queries/listProductBrand.d.ts +2 -0
- package/build/__api/queries/listProductBrand.js +1 -1
- package/build/__api/queries/listRaffle.d.ts +2 -0
- package/build/__api/queries/listRaffle.js +1 -1
- package/build/__api/queries/listRaffleMetadata.d.ts +2 -0
- package/build/__api/queries/listRaffleMetadata.js +1 -1
- package/build/__api/queries/searchProducts.d.ts +2 -0
- package/build/__api/queries/searchProducts.js +1 -1
- package/build/__api/types/index.d.ts +57 -6
- package/build/__api/types/index.js +1 -1
- package/build/_virtual/index.js_commonjs-proxy3.js +1 -1
- package/build/_virtual/index.js_commonjs-proxy4.js +1 -1
- package/build/analytics/analytics.d.ts +3 -2
- package/build/analytics/analytics.js +1 -1
- package/build/analytics/events.d.ts +2 -1
- package/build/analytics/events.js +1 -1
- package/build/analytics/googleTagManager.js +1 -1
- package/build/analytics/head/index.js +1 -1
- package/build/analytics/tiktokPixel.d.ts +14 -0
- package/build/analytics/tiktokPixel.js +1 -0
- package/build/assets/translations/checkout/en.js +1 -1
- package/build/assets/translations/checkout/tr.js +1 -1
- package/build/components/checkout/components/address-form/index.js +1 -1
- package/build/components/checkout/components/address-form/model.d.ts +1 -0
- package/build/components/checkout/components/address-form/model.js +1 -1
- package/build/components/checkout/components/cart-summary/index.js +1 -1
- package/build/components/checkout/components/cart-summary/style.module.scss.js +1 -1
- package/build/components/checkout/index.d.ts +1 -0
- package/build/components/checkout/index.js +1 -1
- package/build/components/checkout/model.d.ts +6 -4
- package/build/components/checkout/model.js +1 -1
- package/build/components/checkout/steps/step-success/index.js +1 -1
- package/build/components/index.d.ts +1 -0
- package/build/components/link/index.d.ts +4 -0
- package/build/components/link/index.js +1 -0
- package/build/components/page/head.d.ts +2 -0
- package/build/components/page/head.js +1 -1
- package/build/components/page/index.d.ts +2 -0
- package/build/components/page/index.js +1 -1
- package/build/ikas.cjs +1 -1
- package/build/index.d.ts +1 -0
- package/build/index.js +1 -1
- package/build/models/data/merchant-settings/index.js +1 -1
- package/build/models/data/order/line-item/variant/index.d.ts +8 -0
- package/build/models/data/order/line-item/variant/index.js +1 -1
- package/build/models/data/product/index.d.ts +1 -1
- package/build/models/data/product/index.js +1 -1
- package/build/models/data/product/variant/index.d.ts +1 -0
- package/build/models/data/product/variant/index.js +1 -1
- package/build/models/data/raffle/index.d.ts +2 -0
- package/build/models/data/raffle/index.js +1 -1
- package/build/models/data/storefront/index.d.ts +1 -0
- package/build/models/data/storefront/index.js +1 -1
- package/build/models/theme/page/index.d.ts +2 -0
- package/build/models/theme/page/index.js +1 -1
- package/build/models/theme/theme.js +1 -1
- package/build/models/ui/product-detail/index.d.ts +2 -0
- package/build/models/ui/product-detail/index.js +1 -1
- package/build/models/ui/product-list/index.js +1 -1
- package/build/models/ui/validator/form/account-info.d.ts +2 -0
- package/build/models/ui/validator/form/account-info.js +1 -1
- package/build/models/ui/validator/form/register.js +1 -1
- package/build/pages/404.js +1 -1
- package/build/pages/_slug_/index.js +1 -1
- package/build/pages/account/addresses.js +1 -1
- package/build/pages/account/favorite-products.js +1 -1
- package/build/pages/account/forgot-password.js +1 -1
- package/build/pages/account/index.js +1 -1
- package/build/pages/account/login.js +1 -1
- package/build/pages/account/orders/_id_.js +1 -1
- package/build/pages/account/orders/index.js +1 -1
- package/build/pages/account/raffles.js +1 -1
- package/build/pages/account/recover-password.js +1 -1
- package/build/pages/account/register.js +1 -1
- package/build/pages/blog/_slug_.js +1 -1
- package/build/pages/blog/index.js +1 -1
- package/build/pages/cart.js +1 -1
- package/build/pages/checkout.js +1 -1
- package/build/pages/editor.js +1 -1
- package/build/pages/home.js +1 -1
- package/build/pages/pages/_slug_.js +1 -1
- package/build/pages/raffle/_slug_.js +1 -1
- package/build/pages/raffle/index.js +1 -1
- package/build/pages/search.js +1 -1
- package/build/providers/page-data-get.d.ts +3 -0
- package/build/providers/page-data-get.js +1 -1
- package/build/providers/page-data-next.d.ts +18 -0
- package/build/providers/page-data-next.js +1 -1
- package/build/scripts/generators/config/content.js +1 -1
- package/build/scripts/generators/config/index.js +1 -1
- package/build/store/base.d.ts +1 -0
- package/build/store/base.js +1 -1
- package/build/store/cart/index.js +1 -1
- package/build/store/customer/index.js +1 -1
- package/build/storefront/index.d.ts +6 -2
- package/build/storefront/index.js +1 -1
- package/build/utils/constants.d.ts +1 -0
- package/build/utils/constants.js +1 -1
- package/build/utils/currency.d.ts +2 -2
- package/build/utils/currency.js +1 -1
- package/build/utils/helper.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as _,__generator as t}from'../../ext/tslib/tslib.es6.js';import{handleAPIError as T,APIResponse as s}from'../../ext/@ikas/fe-api-client/build/utils/api.js';import e from'../../ext/@ikas/fe-api-client/build/utils/fetch-query.js';var a,r=function(a,r,A){return _(void 0,void 0,void 0,(function(){var _,i,E,R;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,e({operationName:"searchProducts",config:A,variables:a,allReturnFields:S,fields:r,query:function(_){return"\n\t\t\t\tquery searchProducts (\n\t\t\t\t\t$input: SearchInput!,\n\t\t\t\t) {\n\t\t\t\t\tsearchProducts (\n\t\t\t\t\t\tinput: $input,\n\t\t\t\t\t) ".concat(_,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return _=t.sent(),i=_.data,E=_.errors,[2,new s(null==i?void 0:i.searchProducts,E)];case 2:return R=t.sent(),[2,T(R)];case 3:return[2]}}))}))},S="{count data facets {id values {count id } } limit page results {attributes {imageIds productAttribute {id name tableTemplate {columns {id name } rows {id name } } translations {description locale name options {id name } } type } productAttributeOption {id name } value } brand {id name slug translations {description locale name } } categories {id name path {id name slug translations {description locale name } } slug translations {description locale name } } deleted description groupVariantsByVariantTypeId id metaData {description metadataOverrides {description language pageTitle storefrontId storefrontRegionId } pageTitle redirectTo slug translations {description locale pageTitle } } name productOptionSetId productVariantTypes {order variantType {id name selectionType translations {locale name values {id name } } values {colorCode id name thumbnailImageId } } variantValueIds } salesChannelIds shortDescription tags {id name translations {description locale name } } translations {description locale name } type variants {attributes {imageIds productAttribute {id name tableTemplate {columns {id name } rows {id name } } translations {description locale name options {id name } } type } productAttributeOption {id name } value } barcodeList deleted id images {id isMain isVideo order } isActive prices {buyPrice currency discountPrice priceListId sellPrice } sellIfOutOfStock sku stocks {stockCount stockLocationId } variantValues {variantTypeId variantValueId } weight } weight } totalCount }";!function(_){_.COUNT="count",_.DATA="data",_.FACETS__ID="facets.id",_.FACETS__VALUES__COUNT="facets.values.count",_.FACETS__VALUES__ID="facets.values.id",_.LIMIT="limit",_.PAGE="page",_.RESULTS__ATTRIBUTES__IMAGE_IDS="results.attributes.imageIds",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__ID="results.attributes.productAttribute.id",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__NAME="results.attributes.productAttribute.name",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TABLE_TEMPLATE__COLUMNS__ID="results.attributes.productAttribute.tableTemplate.columns.id",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TABLE_TEMPLATE__COLUMNS__NAME="results.attributes.productAttribute.tableTemplate.columns.name",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TABLE_TEMPLATE__ROWS__ID="results.attributes.productAttribute.tableTemplate.rows.id",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TABLE_TEMPLATE__ROWS__NAME="results.attributes.productAttribute.tableTemplate.rows.name",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__DESCRIPTION="results.attributes.productAttribute.translations.description",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__LOCALE="results.attributes.productAttribute.translations.locale",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__NAME="results.attributes.productAttribute.translations.name",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__OPTIONS__ID="results.attributes.productAttribute.translations.options.id",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__OPTIONS__NAME="results.attributes.productAttribute.translations.options.name",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TYPE="results.attributes.productAttribute.type",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE_OPTION__ID="results.attributes.productAttributeOption.id",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE_OPTION__NAME="results.attributes.productAttributeOption.name",_.RESULTS__ATTRIBUTES__VALUE="results.attributes.value",_.RESULTS__BRAND__ID="results.brand.id",_.RESULTS__BRAND__NAME="results.brand.name",_.RESULTS__BRAND__SLUG="results.brand.slug",_.RESULTS__BRAND__TRANSLATIONS__DESCRIPTION="results.brand.translations.description",_.RESULTS__BRAND__TRANSLATIONS__LOCALE="results.brand.translations.locale",_.RESULTS__BRAND__TRANSLATIONS__NAME="results.brand.translations.name",_.RESULTS__CATEGORIES__ID="results.categories.id",_.RESULTS__CATEGORIES__NAME="results.categories.name",_.RESULTS__CATEGORIES__PATH__ID="results.categories.path.id",_.RESULTS__CATEGORIES__PATH__NAME="results.categories.path.name",_.RESULTS__CATEGORIES__PATH__SLUG="results.categories.path.slug",_.RESULTS__CATEGORIES__PATH__TRANSLATIONS__DESCRIPTION="results.categories.path.translations.description",_.RESULTS__CATEGORIES__PATH__TRANSLATIONS__LOCALE="results.categories.path.translations.locale",_.RESULTS__CATEGORIES__PATH__TRANSLATIONS__NAME="results.categories.path.translations.name",_.RESULTS__CATEGORIES__SLUG="results.categories.slug",_.RESULTS__CATEGORIES__TRANSLATIONS__DESCRIPTION="results.categories.translations.description",_.RESULTS__CATEGORIES__TRANSLATIONS__LOCALE="results.categories.translations.locale",_.RESULTS__CATEGORIES__TRANSLATIONS__NAME="results.categories.translations.name",_.RESULTS__DELETED="results.deleted",_.RESULTS__DESCRIPTION="results.description",_.RESULTS__GROUP_VARIANTS_BY_VARIANT_TYPE_ID="results.groupVariantsByVariantTypeId",_.RESULTS__ID="results.id",_.RESULTS__META_DATA__DESCRIPTION="results.metaData.description",_.RESULTS__META_DATA__METADATA_OVERRIDES__DESCRIPTION="results.metaData.metadataOverrides.description",_.RESULTS__META_DATA__METADATA_OVERRIDES__LANGUAGE="results.metaData.metadataOverrides.language",_.RESULTS__META_DATA__METADATA_OVERRIDES__PAGE_TITLE="results.metaData.metadataOverrides.pageTitle",_.RESULTS__META_DATA__METADATA_OVERRIDES__STOREFRONT_ID="results.metaData.metadataOverrides.storefrontId",_.RESULTS__META_DATA__METADATA_OVERRIDES__STOREFRONT_REGION_ID="results.metaData.metadataOverrides.storefrontRegionId",_.RESULTS__META_DATA__PAGE_TITLE="results.metaData.pageTitle",_.RESULTS__META_DATA__REDIRECT_TO="results.metaData.redirectTo",_.RESULTS__META_DATA__SLUG="results.metaData.slug",_.RESULTS__META_DATA__TRANSLATIONS__DESCRIPTION="results.metaData.translations.description",_.RESULTS__META_DATA__TRANSLATIONS__LOCALE="results.metaData.translations.locale",_.RESULTS__META_DATA__TRANSLATIONS__PAGE_TITLE="results.metaData.translations.pageTitle",_.RESULTS__NAME="results.name",_.RESULTS__PRODUCT_OPTION_SET_ID="results.productOptionSetId",_.RESULTS__PRODUCT_VARIANT_TYPES__ORDER="results.productVariantTypes.order",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__ID="results.productVariantTypes.variantType.id",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__NAME="results.productVariantTypes.variantType.name",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__SELECTION_TYPE="results.productVariantTypes.variantType.selectionType",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__TRANSLATIONS__LOCALE="results.productVariantTypes.variantType.translations.locale",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__TRANSLATIONS__NAME="results.productVariantTypes.variantType.translations.name",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__TRANSLATIONS__VALUES__ID="results.productVariantTypes.variantType.translations.values.id",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__TRANSLATIONS__VALUES__NAME="results.productVariantTypes.variantType.translations.values.name",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__VALUES__COLOR_CODE="results.productVariantTypes.variantType.values.colorCode",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__VALUES__ID="results.productVariantTypes.variantType.values.id",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__VALUES__NAME="results.productVariantTypes.variantType.values.name",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__VALUES__THUMBNAIL_IMAGE_ID="results.productVariantTypes.variantType.values.thumbnailImageId",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_VALUE_IDS="results.productVariantTypes.variantValueIds",_.RESULTS__SALES_CHANNEL_IDS="results.salesChannelIds",_.RESULTS__SHORT_DESCRIPTION="results.shortDescription",_.RESULTS__TAGS__ID="results.tags.id",_.RESULTS__TAGS__NAME="results.tags.name",_.RESULTS__TAGS__TRANSLATIONS__DESCRIPTION="results.tags.translations.description",_.RESULTS__TAGS__TRANSLATIONS__LOCALE="results.tags.translations.locale",_.RESULTS__TAGS__TRANSLATIONS__NAME="results.tags.translations.name",_.RESULTS__TRANSLATIONS__DESCRIPTION="results.translations.description",_.RESULTS__TRANSLATIONS__LOCALE="results.translations.locale",_.RESULTS__TRANSLATIONS__NAME="results.translations.name",_.RESULTS__TYPE="results.type",_.RESULTS__VARIANTS__ATTRIBUTES__IMAGE_IDS="results.variants.attributes.imageIds",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__ID="results.variants.attributes.productAttribute.id",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__NAME="results.variants.attributes.productAttribute.name",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TABLE_TEMPLATE__COLUMNS__ID="results.variants.attributes.productAttribute.tableTemplate.columns.id",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TABLE_TEMPLATE__COLUMNS__NAME="results.variants.attributes.productAttribute.tableTemplate.columns.name",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TABLE_TEMPLATE__ROWS__ID="results.variants.attributes.productAttribute.tableTemplate.rows.id",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TABLE_TEMPLATE__ROWS__NAME="results.variants.attributes.productAttribute.tableTemplate.rows.name",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__DESCRIPTION="results.variants.attributes.productAttribute.translations.description",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__LOCALE="results.variants.attributes.productAttribute.translations.locale",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__NAME="results.variants.attributes.productAttribute.translations.name",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__OPTIONS__ID="results.variants.attributes.productAttribute.translations.options.id",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__OPTIONS__NAME="results.variants.attributes.productAttribute.translations.options.name",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TYPE="results.variants.attributes.productAttribute.type",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE_OPTION__ID="results.variants.attributes.productAttributeOption.id",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE_OPTION__NAME="results.variants.attributes.productAttributeOption.name",_.RESULTS__VARIANTS__ATTRIBUTES__VALUE="results.variants.attributes.value",_.RESULTS__VARIANTS__BARCODE_LIST="results.variants.barcodeList",_.RESULTS__VARIANTS__DELETED="results.variants.deleted",_.RESULTS__VARIANTS__ID="results.variants.id",_.RESULTS__VARIANTS__IMAGES__ID="results.variants.images.id",_.RESULTS__VARIANTS__IMAGES__IS_MAIN="results.variants.images.isMain",_.RESULTS__VARIANTS__IMAGES__IS_VIDEO="results.variants.images.isVideo",_.RESULTS__VARIANTS__IMAGES__ORDER="results.variants.images.order",_.RESULTS__VARIANTS__IS_ACTIVE="results.variants.isActive",_.RESULTS__VARIANTS__PRICES__BUY_PRICE="results.variants.prices.buyPrice",_.RESULTS__VARIANTS__PRICES__CURRENCY="results.variants.prices.currency",_.RESULTS__VARIANTS__PRICES__DISCOUNT_PRICE="results.variants.prices.discountPrice",_.RESULTS__VARIANTS__PRICES__PRICE_LIST_ID="results.variants.prices.priceListId",_.RESULTS__VARIANTS__PRICES__SELL_PRICE="results.variants.prices.sellPrice",_.RESULTS__VARIANTS__SELL_IF_OUT_OF_STOCK="results.variants.sellIfOutOfStock",_.RESULTS__VARIANTS__SKU="results.variants.sku",_.RESULTS__VARIANTS__STOCKS__STOCK_COUNT="results.variants.stocks.stockCount",_.RESULTS__VARIANTS__STOCKS__STOCK_LOCATION_ID="results.variants.stocks.stockLocationId",_.RESULTS__VARIANTS__VARIANT_VALUES__VARIANT_TYPE_ID="results.variants.variantValues.variantTypeId",_.RESULTS__VARIANTS__VARIANT_VALUES__VARIANT_VALUE_ID="results.variants.variantValues.variantValueId",_.RESULTS__VARIANTS__WEIGHT="results.variants.weight",_.RESULTS__WEIGHT="results.weight",_.TOTAL_COUNT="totalCount"}(a||(a={}));export{a as ResponseField,r as default};
|
|
1
|
+
import{__awaiter as _,__generator as t}from'../../ext/tslib/tslib.es6.js';import{handleAPIError as T,APIResponse as s}from'../../ext/@ikas/fe-api-client/build/utils/api.js';import e from'../../ext/@ikas/fe-api-client/build/utils/fetch-query.js';var a,r=function(a,r,A){return _(void 0,void 0,void 0,(function(){var _,i,E,R;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,e({operationName:"searchProducts",config:A,variables:a,allReturnFields:S,fields:r,query:function(_){return"\n\t\t\t\tquery searchProducts (\n\t\t\t\t\t$input: SearchInput!,\n\t\t\t\t) {\n\t\t\t\t\tsearchProducts (\n\t\t\t\t\t\tinput: $input,\n\t\t\t\t\t) ".concat(_,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return _=t.sent(),i=_.data,E=_.errors,[2,new s(null==i?void 0:i.searchProducts,E)];case 2:return R=t.sent(),[2,T(R)];case 3:return[2]}}))}))},S="{count data facets {id values {count id } } limit page results {attributes {imageIds productAttribute {id name tableTemplate {columns {id name } rows {id name } } translations {description locale name options {id name } } type } productAttributeOption {id name } value } brand {id name slug translations {description locale name } } categories {id name path {id name slug translations {description locale name } } slug translations {description locale name } } deleted description groupVariantsByVariantTypeId id metaData {canonicals description disableIndex metadataOverrides {description language pageTitle storefrontId storefrontRegionId } pageTitle redirectTo slug translations {description locale pageTitle } } name productOptionSetId productVariantTypes {order variantType {id name selectionType translations {locale name values {id name } } values {colorCode id name thumbnailImageId } } variantValueIds } salesChannelIds shortDescription tags {id name translations {description locale name } } translations {description locale name } type variants {attributes {imageIds productAttribute {id name tableTemplate {columns {id name } rows {id name } } translations {description locale name options {id name } } type } productAttributeOption {id name } value } barcodeList deleted id images {id isMain isVideo order } isActive prices {buyPrice currency discountPrice priceListId sellPrice } sellIfOutOfStock sku stocks {stockCount stockLocationId } variantValues {variantTypeId variantValueId } weight } weight } totalCount }";!function(_){_.COUNT="count",_.DATA="data",_.FACETS__ID="facets.id",_.FACETS__VALUES__COUNT="facets.values.count",_.FACETS__VALUES__ID="facets.values.id",_.LIMIT="limit",_.PAGE="page",_.RESULTS__ATTRIBUTES__IMAGE_IDS="results.attributes.imageIds",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__ID="results.attributes.productAttribute.id",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__NAME="results.attributes.productAttribute.name",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TABLE_TEMPLATE__COLUMNS__ID="results.attributes.productAttribute.tableTemplate.columns.id",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TABLE_TEMPLATE__COLUMNS__NAME="results.attributes.productAttribute.tableTemplate.columns.name",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TABLE_TEMPLATE__ROWS__ID="results.attributes.productAttribute.tableTemplate.rows.id",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TABLE_TEMPLATE__ROWS__NAME="results.attributes.productAttribute.tableTemplate.rows.name",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__DESCRIPTION="results.attributes.productAttribute.translations.description",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__LOCALE="results.attributes.productAttribute.translations.locale",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__NAME="results.attributes.productAttribute.translations.name",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__OPTIONS__ID="results.attributes.productAttribute.translations.options.id",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__OPTIONS__NAME="results.attributes.productAttribute.translations.options.name",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TYPE="results.attributes.productAttribute.type",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE_OPTION__ID="results.attributes.productAttributeOption.id",_.RESULTS__ATTRIBUTES__PRODUCT_ATTRIBUTE_OPTION__NAME="results.attributes.productAttributeOption.name",_.RESULTS__ATTRIBUTES__VALUE="results.attributes.value",_.RESULTS__BRAND__ID="results.brand.id",_.RESULTS__BRAND__NAME="results.brand.name",_.RESULTS__BRAND__SLUG="results.brand.slug",_.RESULTS__BRAND__TRANSLATIONS__DESCRIPTION="results.brand.translations.description",_.RESULTS__BRAND__TRANSLATIONS__LOCALE="results.brand.translations.locale",_.RESULTS__BRAND__TRANSLATIONS__NAME="results.brand.translations.name",_.RESULTS__CATEGORIES__ID="results.categories.id",_.RESULTS__CATEGORIES__NAME="results.categories.name",_.RESULTS__CATEGORIES__PATH__ID="results.categories.path.id",_.RESULTS__CATEGORIES__PATH__NAME="results.categories.path.name",_.RESULTS__CATEGORIES__PATH__SLUG="results.categories.path.slug",_.RESULTS__CATEGORIES__PATH__TRANSLATIONS__DESCRIPTION="results.categories.path.translations.description",_.RESULTS__CATEGORIES__PATH__TRANSLATIONS__LOCALE="results.categories.path.translations.locale",_.RESULTS__CATEGORIES__PATH__TRANSLATIONS__NAME="results.categories.path.translations.name",_.RESULTS__CATEGORIES__SLUG="results.categories.slug",_.RESULTS__CATEGORIES__TRANSLATIONS__DESCRIPTION="results.categories.translations.description",_.RESULTS__CATEGORIES__TRANSLATIONS__LOCALE="results.categories.translations.locale",_.RESULTS__CATEGORIES__TRANSLATIONS__NAME="results.categories.translations.name",_.RESULTS__DELETED="results.deleted",_.RESULTS__DESCRIPTION="results.description",_.RESULTS__GROUP_VARIANTS_BY_VARIANT_TYPE_ID="results.groupVariantsByVariantTypeId",_.RESULTS__ID="results.id",_.RESULTS__META_DATA__CANONICALS="results.metaData.canonicals",_.RESULTS__META_DATA__DESCRIPTION="results.metaData.description",_.RESULTS__META_DATA__DISABLE_INDEX="results.metaData.disableIndex",_.RESULTS__META_DATA__METADATA_OVERRIDES__DESCRIPTION="results.metaData.metadataOverrides.description",_.RESULTS__META_DATA__METADATA_OVERRIDES__LANGUAGE="results.metaData.metadataOverrides.language",_.RESULTS__META_DATA__METADATA_OVERRIDES__PAGE_TITLE="results.metaData.metadataOverrides.pageTitle",_.RESULTS__META_DATA__METADATA_OVERRIDES__STOREFRONT_ID="results.metaData.metadataOverrides.storefrontId",_.RESULTS__META_DATA__METADATA_OVERRIDES__STOREFRONT_REGION_ID="results.metaData.metadataOverrides.storefrontRegionId",_.RESULTS__META_DATA__PAGE_TITLE="results.metaData.pageTitle",_.RESULTS__META_DATA__REDIRECT_TO="results.metaData.redirectTo",_.RESULTS__META_DATA__SLUG="results.metaData.slug",_.RESULTS__META_DATA__TRANSLATIONS__DESCRIPTION="results.metaData.translations.description",_.RESULTS__META_DATA__TRANSLATIONS__LOCALE="results.metaData.translations.locale",_.RESULTS__META_DATA__TRANSLATIONS__PAGE_TITLE="results.metaData.translations.pageTitle",_.RESULTS__NAME="results.name",_.RESULTS__PRODUCT_OPTION_SET_ID="results.productOptionSetId",_.RESULTS__PRODUCT_VARIANT_TYPES__ORDER="results.productVariantTypes.order",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__ID="results.productVariantTypes.variantType.id",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__NAME="results.productVariantTypes.variantType.name",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__SELECTION_TYPE="results.productVariantTypes.variantType.selectionType",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__TRANSLATIONS__LOCALE="results.productVariantTypes.variantType.translations.locale",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__TRANSLATIONS__NAME="results.productVariantTypes.variantType.translations.name",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__TRANSLATIONS__VALUES__ID="results.productVariantTypes.variantType.translations.values.id",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__TRANSLATIONS__VALUES__NAME="results.productVariantTypes.variantType.translations.values.name",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__VALUES__COLOR_CODE="results.productVariantTypes.variantType.values.colorCode",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__VALUES__ID="results.productVariantTypes.variantType.values.id",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__VALUES__NAME="results.productVariantTypes.variantType.values.name",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__VALUES__THUMBNAIL_IMAGE_ID="results.productVariantTypes.variantType.values.thumbnailImageId",_.RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_VALUE_IDS="results.productVariantTypes.variantValueIds",_.RESULTS__SALES_CHANNEL_IDS="results.salesChannelIds",_.RESULTS__SHORT_DESCRIPTION="results.shortDescription",_.RESULTS__TAGS__ID="results.tags.id",_.RESULTS__TAGS__NAME="results.tags.name",_.RESULTS__TAGS__TRANSLATIONS__DESCRIPTION="results.tags.translations.description",_.RESULTS__TAGS__TRANSLATIONS__LOCALE="results.tags.translations.locale",_.RESULTS__TAGS__TRANSLATIONS__NAME="results.tags.translations.name",_.RESULTS__TRANSLATIONS__DESCRIPTION="results.translations.description",_.RESULTS__TRANSLATIONS__LOCALE="results.translations.locale",_.RESULTS__TRANSLATIONS__NAME="results.translations.name",_.RESULTS__TYPE="results.type",_.RESULTS__VARIANTS__ATTRIBUTES__IMAGE_IDS="results.variants.attributes.imageIds",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__ID="results.variants.attributes.productAttribute.id",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__NAME="results.variants.attributes.productAttribute.name",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TABLE_TEMPLATE__COLUMNS__ID="results.variants.attributes.productAttribute.tableTemplate.columns.id",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TABLE_TEMPLATE__COLUMNS__NAME="results.variants.attributes.productAttribute.tableTemplate.columns.name",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TABLE_TEMPLATE__ROWS__ID="results.variants.attributes.productAttribute.tableTemplate.rows.id",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TABLE_TEMPLATE__ROWS__NAME="results.variants.attributes.productAttribute.tableTemplate.rows.name",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__DESCRIPTION="results.variants.attributes.productAttribute.translations.description",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__LOCALE="results.variants.attributes.productAttribute.translations.locale",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__NAME="results.variants.attributes.productAttribute.translations.name",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__OPTIONS__ID="results.variants.attributes.productAttribute.translations.options.id",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TRANSLATIONS__OPTIONS__NAME="results.variants.attributes.productAttribute.translations.options.name",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE__TYPE="results.variants.attributes.productAttribute.type",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE_OPTION__ID="results.variants.attributes.productAttributeOption.id",_.RESULTS__VARIANTS__ATTRIBUTES__PRODUCT_ATTRIBUTE_OPTION__NAME="results.variants.attributes.productAttributeOption.name",_.RESULTS__VARIANTS__ATTRIBUTES__VALUE="results.variants.attributes.value",_.RESULTS__VARIANTS__BARCODE_LIST="results.variants.barcodeList",_.RESULTS__VARIANTS__DELETED="results.variants.deleted",_.RESULTS__VARIANTS__ID="results.variants.id",_.RESULTS__VARIANTS__IMAGES__ID="results.variants.images.id",_.RESULTS__VARIANTS__IMAGES__IS_MAIN="results.variants.images.isMain",_.RESULTS__VARIANTS__IMAGES__IS_VIDEO="results.variants.images.isVideo",_.RESULTS__VARIANTS__IMAGES__ORDER="results.variants.images.order",_.RESULTS__VARIANTS__IS_ACTIVE="results.variants.isActive",_.RESULTS__VARIANTS__PRICES__BUY_PRICE="results.variants.prices.buyPrice",_.RESULTS__VARIANTS__PRICES__CURRENCY="results.variants.prices.currency",_.RESULTS__VARIANTS__PRICES__DISCOUNT_PRICE="results.variants.prices.discountPrice",_.RESULTS__VARIANTS__PRICES__PRICE_LIST_ID="results.variants.prices.priceListId",_.RESULTS__VARIANTS__PRICES__SELL_PRICE="results.variants.prices.sellPrice",_.RESULTS__VARIANTS__SELL_IF_OUT_OF_STOCK="results.variants.sellIfOutOfStock",_.RESULTS__VARIANTS__SKU="results.variants.sku",_.RESULTS__VARIANTS__STOCKS__STOCK_COUNT="results.variants.stocks.stockCount",_.RESULTS__VARIANTS__STOCKS__STOCK_LOCATION_ID="results.variants.stocks.stockLocationId",_.RESULTS__VARIANTS__VARIANT_VALUES__VARIANT_TYPE_ID="results.variants.variantValues.variantTypeId",_.RESULTS__VARIANTS__VARIANT_VALUES__VARIANT_VALUE_ID="results.variants.variantValues.variantValueId",_.RESULTS__VARIANTS__WEIGHT="results.variants.weight",_.RESULTS__WEIGHT="results.weight",_.TOTAL_COUNT="totalCount"}(a||(a={}));export{a as ResponseField,r as default};
|
|
@@ -118,6 +118,15 @@ export declare enum VariantSelectionTypeEnum {
|
|
|
118
118
|
CHOICE = "CHOICE",
|
|
119
119
|
COLOR = "COLOR"
|
|
120
120
|
}
|
|
121
|
+
export declare enum MasterPassOperationTypeEnum {
|
|
122
|
+
CHECK_MASTER_PASS_USER = "CHECK_MASTER_PASS_USER",
|
|
123
|
+
DELETE_CARD = "DELETE_CARD",
|
|
124
|
+
DIRECT_PURCHASE = "DIRECT_PURCHASE",
|
|
125
|
+
FORGOT_PASSWORD = "FORGOT_PASSWORD",
|
|
126
|
+
LIST_CARDS = "LIST_CARDS",
|
|
127
|
+
PURCHASE = "PURCHASE",
|
|
128
|
+
REGISTER_CARD = "REGISTER_CARD"
|
|
129
|
+
}
|
|
121
130
|
export declare enum PaymentGatewayAdditionalPriceTypeEnum {
|
|
122
131
|
DECREMENT = "DECREMENT",
|
|
123
132
|
INCREMENT = "INCREMENT"
|
|
@@ -346,6 +355,10 @@ export declare enum VerificationTypeEnum {
|
|
|
346
355
|
EMAIL = "EMAIL",
|
|
347
356
|
MERSIS = "MERSIS"
|
|
348
357
|
}
|
|
358
|
+
export declare enum CurrencyFormatSymbolPosition {
|
|
359
|
+
LEFT = "LEFT",
|
|
360
|
+
RIGHT = "RIGHT"
|
|
361
|
+
}
|
|
349
362
|
export declare enum StockLocationDeliveryTimeEnum {
|
|
350
363
|
TWO_IN_FOUR_DAYS = "TWO_IN_FOUR_DAYS",
|
|
351
364
|
WITHIN_FOUR_HOURS = "WITHIN_FOUR_HOURS",
|
|
@@ -430,9 +443,11 @@ export interface BlogContent {
|
|
|
430
443
|
updatedAt: any | null;
|
|
431
444
|
}
|
|
432
445
|
export interface BlogMetadata {
|
|
446
|
+
canonicals: string[] | null;
|
|
433
447
|
createdAt: any | null;
|
|
434
448
|
deleted: boolean | null;
|
|
435
449
|
description: string | null;
|
|
450
|
+
disableIndex: boolean | null;
|
|
436
451
|
id: string;
|
|
437
452
|
pageTitle: string | null;
|
|
438
453
|
slug: string;
|
|
@@ -488,6 +503,7 @@ export interface Storefront {
|
|
|
488
503
|
socialLoginSettings: SocialLoginSettings[] | null;
|
|
489
504
|
status: StorefrontStatusTypes;
|
|
490
505
|
themes: StorefrontTheme[];
|
|
506
|
+
tiktokPixelId: string | null;
|
|
491
507
|
universalAnalyticsId: string | null;
|
|
492
508
|
updatedAt: any | null;
|
|
493
509
|
}
|
|
@@ -592,9 +608,11 @@ export interface CategoryTranslation {
|
|
|
592
608
|
name: string | null;
|
|
593
609
|
}
|
|
594
610
|
export interface HTMLMetaData {
|
|
611
|
+
canonicals: string[] | null;
|
|
595
612
|
createdAt: any | null;
|
|
596
613
|
deleted: boolean | null;
|
|
597
614
|
description: string | null;
|
|
615
|
+
disableIndex: boolean | null;
|
|
598
616
|
id: string;
|
|
599
617
|
metadataOverrides: HTMLMetaDataOverride[] | null;
|
|
600
618
|
pageTitle: string | null;
|
|
@@ -906,7 +924,9 @@ export interface SearchCategoryPath {
|
|
|
906
924
|
translations: CategoryTranslation[] | null;
|
|
907
925
|
}
|
|
908
926
|
export interface SearchHTMLMetaData {
|
|
927
|
+
canonicals: string[] | null;
|
|
909
928
|
description: string | null;
|
|
929
|
+
disableIndex: boolean | null;
|
|
910
930
|
metadataOverrides: SearchHTMLMetaDataOverride[] | null;
|
|
911
931
|
pageTitle: string | null;
|
|
912
932
|
redirectTo: string | null;
|
|
@@ -1088,7 +1108,9 @@ export interface AdditionalPrice {
|
|
|
1088
1108
|
name: string;
|
|
1089
1109
|
type: PaymentGatewayAdditionalPriceTypeEnum;
|
|
1090
1110
|
}
|
|
1091
|
-
export interface
|
|
1111
|
+
export interface MasterPassTokenResponse {
|
|
1112
|
+
requestReferenceNumber: string;
|
|
1113
|
+
timeZone: string;
|
|
1092
1114
|
token: string;
|
|
1093
1115
|
}
|
|
1094
1116
|
export interface PaymentGateway {
|
|
@@ -1100,7 +1122,7 @@ export interface PaymentGateway {
|
|
|
1100
1122
|
description: string | null;
|
|
1101
1123
|
id: string;
|
|
1102
1124
|
logoUrl: string | null;
|
|
1103
|
-
|
|
1125
|
+
masterPassClientId: string | null;
|
|
1104
1126
|
name: string;
|
|
1105
1127
|
paymentGatewayProviderId: string | null;
|
|
1106
1128
|
paymentMethodType: PaymentMethodEnum;
|
|
@@ -1451,6 +1473,11 @@ export interface GetProductCampaignsResponse {
|
|
|
1451
1473
|
campaign: Campaign;
|
|
1452
1474
|
variantIds: string[];
|
|
1453
1475
|
}
|
|
1476
|
+
export interface GetProductOptionFileUrl {
|
|
1477
|
+
fields: any;
|
|
1478
|
+
optionUrl: string;
|
|
1479
|
+
url: string;
|
|
1480
|
+
}
|
|
1454
1481
|
export interface GetY {
|
|
1455
1482
|
amount: number;
|
|
1456
1483
|
automaticallyAddItemToCart: boolean | null;
|
|
@@ -1656,6 +1683,7 @@ export interface OrderRefundSettings {
|
|
|
1656
1683
|
updatedAt: any | null;
|
|
1657
1684
|
}
|
|
1658
1685
|
export interface OrderShippingLine {
|
|
1686
|
+
finalPrice: number;
|
|
1659
1687
|
isRefunded: boolean | null;
|
|
1660
1688
|
paymentMethod: PaymentMethodTypeEnum | null;
|
|
1661
1689
|
price: number;
|
|
@@ -1701,9 +1729,11 @@ export interface RaffleDateRangeField {
|
|
|
1701
1729
|
start: any | null;
|
|
1702
1730
|
}
|
|
1703
1731
|
export interface RaffleMetadata {
|
|
1732
|
+
canonicals: string[] | null;
|
|
1704
1733
|
createdAt: any | null;
|
|
1705
1734
|
deleted: boolean | null;
|
|
1706
1735
|
description: string | null;
|
|
1736
|
+
disableIndex: boolean | null;
|
|
1707
1737
|
id: string;
|
|
1708
1738
|
pageTitle: string | null;
|
|
1709
1739
|
slug: string;
|
|
@@ -1785,12 +1815,21 @@ export interface TrackingInfo {
|
|
|
1785
1815
|
}
|
|
1786
1816
|
export interface MerchantSettings {
|
|
1787
1817
|
createdAt: any | null;
|
|
1818
|
+
currencyFormats: MerchantSettingsCurrencyFormat[] | null;
|
|
1788
1819
|
deleted: boolean | null;
|
|
1789
1820
|
id: string;
|
|
1790
1821
|
logoId: string | null;
|
|
1791
1822
|
merchantName: string;
|
|
1792
1823
|
updatedAt: any | null;
|
|
1793
1824
|
}
|
|
1825
|
+
export interface MerchantSettingsCurrencyFormat {
|
|
1826
|
+
currencyCode: string;
|
|
1827
|
+
decimalSeparator: string;
|
|
1828
|
+
omitZeroDecimal: boolean;
|
|
1829
|
+
symbol: string;
|
|
1830
|
+
symbolPosition: CurrencyFormatSymbolPosition;
|
|
1831
|
+
thousandSeparator: string;
|
|
1832
|
+
}
|
|
1794
1833
|
export interface City {
|
|
1795
1834
|
cityCode: string | null;
|
|
1796
1835
|
countryId: string;
|
|
@@ -2086,8 +2125,11 @@ export interface CustomerReview {
|
|
|
2086
2125
|
createdAt: any | null;
|
|
2087
2126
|
customerId: string | null;
|
|
2088
2127
|
deleted: boolean | null;
|
|
2128
|
+
email: string | null;
|
|
2129
|
+
firstName: string | null;
|
|
2089
2130
|
id: string;
|
|
2090
2131
|
imageIds: string[] | null;
|
|
2132
|
+
lastName: string | null;
|
|
2091
2133
|
orderId: string | null;
|
|
2092
2134
|
orderNumber: string | null;
|
|
2093
2135
|
productId: string;
|
|
@@ -2130,7 +2172,7 @@ export interface BlogMetadataTargetTypeEnumFilter {
|
|
|
2130
2172
|
eq?: BlogMetadataTargetTypeEnum | null;
|
|
2131
2173
|
in?: BlogMetadataTargetTypeEnum[] | null;
|
|
2132
2174
|
ne?: BlogMetadataTargetTypeEnum | null;
|
|
2133
|
-
nin?: BlogMetadataTargetTypeEnum | null;
|
|
2175
|
+
nin?: BlogMetadataTargetTypeEnum[] | null;
|
|
2134
2176
|
}
|
|
2135
2177
|
export interface DateFilterInput {
|
|
2136
2178
|
eq?: any | null;
|
|
@@ -2140,7 +2182,7 @@ export interface DateFilterInput {
|
|
|
2140
2182
|
lt?: any | null;
|
|
2141
2183
|
lte?: any | null;
|
|
2142
2184
|
ne?: any | null;
|
|
2143
|
-
nin?: any | null;
|
|
2185
|
+
nin?: any[] | null;
|
|
2144
2186
|
}
|
|
2145
2187
|
export interface PaginationInput {
|
|
2146
2188
|
limit?: number | null;
|
|
@@ -2164,7 +2206,7 @@ export interface HTMLMetaDataTargetTypeEnumFilter {
|
|
|
2164
2206
|
eq?: HTMLMetaDataTargetTypeEnum | null;
|
|
2165
2207
|
in?: HTMLMetaDataTargetTypeEnum[] | null;
|
|
2166
2208
|
ne?: HTMLMetaDataTargetTypeEnum | null;
|
|
2167
|
-
nin?: HTMLMetaDataTargetTypeEnum | null;
|
|
2209
|
+
nin?: HTMLMetaDataTargetTypeEnum[] | null;
|
|
2168
2210
|
}
|
|
2169
2211
|
export interface ProductBackInStockRemindInput {
|
|
2170
2212
|
email: string;
|
|
@@ -2228,13 +2270,19 @@ export interface SearchInputOrderByInput {
|
|
|
2228
2270
|
direction: SortByDirectionEnum;
|
|
2229
2271
|
type: SortByTypeEnum;
|
|
2230
2272
|
}
|
|
2273
|
+
export interface CreateSaleTransactionMasterPassPaymentMethodDetail {
|
|
2274
|
+
phoneNumber?: string | null;
|
|
2275
|
+
savedCardName?: string | null;
|
|
2276
|
+
}
|
|
2231
2277
|
export interface CreateSaleTransactionWithCartInput {
|
|
2232
2278
|
cartId: string;
|
|
2279
|
+
masterPassDetail?: CreateSaleTransactionMasterPassPaymentMethodDetail | null;
|
|
2233
2280
|
paymentGatewayId: string;
|
|
2234
2281
|
paymentMethodDetail?: PaymentMethodDetailInput | null;
|
|
2235
2282
|
}
|
|
2236
2283
|
export interface CreateSaleTransactionWithCheckoutInput {
|
|
2237
2284
|
checkoutId: string;
|
|
2285
|
+
masterPassDetail?: CreateSaleTransactionMasterPassPaymentMethodDetail | null;
|
|
2238
2286
|
paymentGatewayId: string;
|
|
2239
2287
|
paymentMethodDetail?: PaymentMethodDetailInput | null;
|
|
2240
2288
|
}
|
|
@@ -2364,7 +2412,7 @@ export interface RaffleMetadataTargetTypeEnumFilter {
|
|
|
2364
2412
|
eq?: RaffleMetadataTargetTypeEnum | null;
|
|
2365
2413
|
in?: RaffleMetadataTargetTypeEnum[] | null;
|
|
2366
2414
|
ne?: RaffleMetadataTargetTypeEnum | null;
|
|
2367
|
-
nin?: RaffleMetadataTargetTypeEnum | null;
|
|
2415
|
+
nin?: RaffleMetadataTargetTypeEnum[] | null;
|
|
2368
2416
|
}
|
|
2369
2417
|
export interface RaffleParticipantsInput {
|
|
2370
2418
|
appliedProduct: AppliedProductInput;
|
|
@@ -2457,7 +2505,10 @@ export interface CreateCustomerReviewInput {
|
|
|
2457
2505
|
createdAt?: any | null;
|
|
2458
2506
|
customerId?: string | null;
|
|
2459
2507
|
deleted?: boolean | null;
|
|
2508
|
+
email?: string | null;
|
|
2509
|
+
firstName?: string | null;
|
|
2460
2510
|
id?: string | null;
|
|
2511
|
+
lastName?: string | null;
|
|
2461
2512
|
orderId?: string | null;
|
|
2462
2513
|
orderNumber?: string | null;
|
|
2463
2514
|
productId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var E,T,R,A,I,D,C,_,N,O,L,U,S,P,n,F,H,M,Y,o,V,B,c,f,t,i,u,G,W,K,X,Q,J,e,g,Z,a,l,b,k,r,d,s,p,v,x,h,j,m,q,w,y,z,$,EE,TE,RE,AE,IE,DE,CE;!function(E){E.BLOG="BLOG",E.BLOG_CATEGORY="BLOG_CATEGORY"}(E||(E={})),function(E){E.facebook="facebook",E.google="google"}(T||(T={})),function(E){E.FAILED="FAILED",E.NOT_DEPLOYED="NOT_DEPLOYED",E.READY="READY",E.WAITING="WAITING"}(R||(R={})),function(E){E.FAILED="FAILED",E.NOT_DEPLOYED="NOT_DEPLOYED",E.READY="READY",E.WAITING="WAITING"}(A||(A={})),function(E){E.CREATED_AT="CREATED_AT",E.DISCOUNTED_PRODUCTS="DISCOUNTED_PRODUCTS",E.PRODUCT_BRAND="PRODUCT_BRAND",E.PRODUCT_TAG="PRODUCT_TAG",E.VARIANT_VALUE="VARIANT_VALUE"}(I||(I={})),function(E){E.BEST_SELLER="BEST_SELLER",E.HIGHEST_DISCOUNT_RATIO="HIGHEST_DISCOUNT_RATIO",E.HIGHEST_PRICE="HIGHEST_PRICE",E.LOWEST_DISCOUNT_RATIO="LOWEST_DISCOUNT_RATIO",E.LOWEST_PRICE="LOWEST_PRICE",E.MANUALLY="MANUALLY",E.NEWEST="NEWEST",E.OLDEST="OLDEST"}(D||(D={})),function(E){E.BRAND="BRAND",E.CATEGORY="CATEGORY",E.PAGE="PAGE",E.PRODUCT="PRODUCT"}(C||(C={})),function(E){E.BOOLEAN="BOOLEAN",E.CHOICE="CHOICE",E.DATETIME="DATETIME",E.HTML="HTML",E.IMAGE="IMAGE",E.MULTIPLE_CHOICE="MULTIPLE_CHOICE",E.NUMERIC="NUMERIC",E.PRODUCT="PRODUCT",E.TABLE="TABLE",E.TEXT="TEXT"}(_||(_={})),function(E){E.BOX="BOX",E.DATE_RANGE="DATE_RANGE",E.LIST="LIST",E.NUMBER_RANGE="NUMBER_RANGE",E.NUMBER_RANGE_LIST="NUMBER_RANGE_LIST",E.SWATCH="SWATCH"}(N||(N={})),function(E){E.ALPHABETICAL_ASC="ALPHABETICAL_ASC",E.ALPHABETICAL_DESC="ALPHABETICAL_DESC",E.CUSTOM_SORT="CUSTOM_SORT",E.PRODUCT_COUNT_ASC="PRODUCT_COUNT_ASC",E.PRODUCT_COUNT_DESC="PRODUCT_COUNT_DESC"}(O||(O={})),function(E){E.ATTRIBUTE="ATTRIBUTE",E.AVAILABLE_VARIANT_VALUE="AVAILABLE_VARIANT_VALUE",E.BRAND="BRAND",E.DISCOUNT_RATIO="DISCOUNT_RATIO",E.PRICE="PRICE",E.STOCK_STATUS="STOCK_STATUS",E.TAG="TAG",E.VARIANT_TYPE="VARIANT_TYPE"}(L||(L={})),function(E){E.BOX="BOX",E.SELECT="SELECT",E.SWATCH="SWATCH"}(U||(U={})),function(E){E.CHECKBOX="CHECKBOX",E.CHOICE="CHOICE",E.COLOR_PICKER="COLOR_PICKER",E.DATE_PICKER="DATE_PICKER",E.FILE="FILE",E.IMAGE="IMAGE",E.TEXT="TEXT",E.TEXT_AREA="TEXT_AREA"}(S||(S={})),function(E){E.HIDE_OUT_OF_STOCK="HIDE_OUT_OF_STOCK",E.SHOW_ALL="SHOW_ALL",E.SHOW_OUT_OF_STOCK_AT_END="SHOW_OUT_OF_STOCK_AT_END"}(P||(P={})),function(E){E.DIGITAL="DIGITAL",E.MEMBERSHIP="MEMBERSHIP",E.PHYSICAL="PHYSICAL"}(n||(n={})),function(E){E.ASC="ASC",E.DESC="DESC"}(F||(F={})),function(E){E.CREATED_AT="CREATED_AT",E.DISCOUNT_RATIO="DISCOUNT_RATIO",E.MANUAL_SORT="MANUAL_SORT",E.NAME="NAME",E.PRICE="PRICE"}(H||(H={})),function(E){E.CHOICE="CHOICE",E.COLOR="COLOR"}(M||(M={})),function(E){E.DECREMENT="DECREMENT",E.INCREMENT="INCREMENT"}(Y||(Y={})),function(E){E.AMOUNT="AMOUNT",E.RATIO="RATIO"}(o||(o={})),function(E){E.EXTERNAL="EXTERNAL",E.INTERNAL="INTERNAL",E.THIRD_PARTY="THIRD_PARTY"}(V||(V={})),function(E){E.APP_PAYMENT="APP_PAYMENT",E.BUY_ONLINE_PAY_AT_STORE="BUY_ONLINE_PAY_AT_STORE",E.CASH="CASH",E.CASH_ON_DELIVERY="CASH_ON_DELIVERY",E.CREDIT_CARD="CREDIT_CARD",E.CREDIT_CARD_ON_DELIVERY="CREDIT_CARD_ON_DELIVERY",E.GIFT_CARD="GIFT_CARD",E.MONEY_ORDER="MONEY_ORDER",E.OTHER="OTHER",E.WALLET="WALLET"}(B||(B={})),function(E){E.AMERICAN_EXPRESS="AMERICAN_EXPRESS",E.MASTER_CARD="MASTER_CARD",E.TROY="TROY",E.VISA="VISA"}(c||(c={})),function(E){E.CREDIT="CREDIT",E.DEBIT="DEBIT",E.PREPAID="PREPAID"}(f||(f={})),function(E){E.AUTHORIZED="AUTHORIZED",E.FAILED="FAILED",E.PENDING="PENDING",E.SUCCESS="SUCCESS"}(t||(t={})),function(E){E.REFUND="REFUND",E.SALE="SALE",E.VOID="VOID"}(i||(i={})),function(E){E.DECREMENT="DECREMENT",E.INCREMENT="INCREMENT"}(u||(u={})),function(E){E.AMOUNT="AMOUNT",E.RATIO="RATIO"}(G||(G={})),function(E){E.DISCOUNT_PRICE="DISCOUNT_PRICE",E.SELL_PRICE="SELL_PRICE"}(W||(W={})),function(E){E.ABANDONED_CHECKOUT="ABANDONED_CHECKOUT",E.CART="CART",E.CUSTOMER_REVIEW="CUSTOMER_REVIEW"}(K||(K={})),function(E){E.CATEGORY="CATEGORY",E.PRODUCT="PRODUCT",E.PRODUCT_BRAND="PRODUCT_BRAND",E.PRODUCT_TAG="PRODUCT_TAG",E.VARIANT="VARIANT"}(X||(X={})),function(E){E.CHECKOUT="CHECKOUT",E.POST_CHECKOUT="POST_CHECKOUT"}(Q||(Q={})),function(E){E.BUY_X_THEN_GET_Y="BUY_X_THEN_GET_Y",E.FIXED_AMOUNT="FIXED_AMOUNT",E.FREE_SHIPPING="FREE_SHIPPING",E.RATIO="RATIO"}(J||(J={})),function(E){E.CUSTOMER="CUSTOMER",E.DECLINED="DECLINED",E.INVENTORY="INVENTORY",E.OTHER="OTHER"}(e||(e={})),function(E){E.ACCEPTED="ACCEPTED",E.REJECTED="REJECTED",E.REMOVED="REMOVED",E.WAITING_FOR_ACTION="WAITING_FOR_ACTION"}(g||(g={})),function(E){E.ADMIN="ADMIN",E.CUSTOMER="CUSTOMER"}(Z||(Z={})),function(E){E.ACTIVE="ACTIVE",E.FREEZE="FREEZE",E.PASSIVE="PASSIVE"}(a||(a={})),function(E){E.COMPLETED="COMPLETED",E.FREEZE="FREEZE",E.KILLED="KILLED",E.OPEN="OPEN"}(l||(l={})),function(E){E.NOT_SENT="NOT_SENT",E.SENT="SENT"}(b||(b={})),function(E){E.NOT_RECOVERED="NOT_RECOVERED",E.RECOVERED="RECOVERED"}(k||(k={})),function(E){E.INVISIBLE="INVISIBLE",E.MANDATORY="MANDATORY",E.OPTIONAL="OPTIONAL"}(r||(r={})),function(E){E.COMPLETED="COMPLETED",E.FREEZE="FREEZE",E.KILLED="KILLED",E.OPEN="OPEN"}(d||(d={})),function(E){E.ACTIVE_ACCOUNT="ACTIVE_ACCOUNT",E.DECLINED_ACCOUNT_INVITATION="DECLINED_ACCOUNT_INVITATION",E.DISABLED_ACCOUNT="DISABLED_ACCOUNT",E.INVITED_TO_CREATE_ACCOUNT="INVITED_TO_CREATE_ACCOUNT"}(s||(s={})),function(E){E.NOT_SUBSCRIBED="NOT_SUBSCRIBED",E.PENDING_CONFIRMATION="PENDING_CONFIRMATION",E.SUBSCRIBED="SUBSCRIBED"}(p||(p={})),function(E){E.COMPANY="COMPANY",E.INDIVIDUAL="INDIVIDUAL",E.OTHER="OTHER"}(v||(v={})),function(E){E.CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.FULFILLED="FULFILLED",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNFULFILLED="UNFULFILLED"}(x||(x={})),function(E){E.CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.ERROR="ERROR",E.FULFILLED="FULFILLED",E.READY_FOR_PICK_UP="READY_FOR_PICK_UP",E.READY_FOR_SHIPMENT="READY_FOR_SHIPMENT",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNABLE_TO_DELIVER="UNABLE_TO_DELIVER"}(h||(h={})),function(E){E.CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.FULFILLED="FULFILLED",E.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",E.PARTIALLY_DELIVERED="PARTIALLY_DELIVERED",E.PARTIALLY_FULFILLED="PARTIALLY_FULFILLED",E.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",E.READY_FOR_PICK_UP="READY_FOR_PICK_UP",E.READY_FOR_SHIPMENT="READY_FOR_SHIPMENT",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNABLE_TO_DELIVER="UNABLE_TO_DELIVER",E.UNFULFILLED="UNFULFILLED"}(j||(j={})),function(E){E.PAID="PAID",E.PARTIALLY_PAID="PARTIALLY_PAID",E.WAITING="WAITING"}(m||(m={})),function(E){E.CANCELLED="CANCELLED",E.CREATED="CREATED",E.DRAFT="DRAFT",E.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",E.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED"}(q||(q={})),function(E){E.APP_PAYMENT="APP_PAYMENT",E.BUY_ONLINE_PAY_AT_STORE="BUY_ONLINE_PAY_AT_STORE",E.CASH="CASH",E.CASH_ON_DELIVERY="CASH_ON_DELIVERY",E.CREDIT_CARD="CREDIT_CARD",E.CREDIT_CARD_ON_DELIVERY="CREDIT_CARD_ON_DELIVERY",E.GIFT_CARD="GIFT_CARD",E.MONEY_ORDER="MONEY_ORDER",E.OTHER="OTHER",E.WALLET="WALLET"}(w||(w={})),function(E){E.RAFFLE="RAFFLE"}(y||(y={})),function(E){E.CLICK_AND_COLLECT="CLICK_AND_COLLECT",E.NO_SHIPMENT="NO_SHIPMENT",E.SHIPMENT="SHIPMENT"}(z||(z={})),function(E){E.EMAIL="EMAIL",E.MERSIS="MERSIS"}($||($={})),function(E){E.TWO_IN_FOUR_DAYS="TWO_IN_FOUR_DAYS",E.WITHIN_FOUR_HOURS="WITHIN_FOUR_HOURS",E.WITHIN_ONE_HOUR="WITHIN_ONE_HOUR",E.WITHIN_PLUS_FIVE_DAYS="WITHIN_PLUS_FIVE_DAYS",E.WITHIN_TWENTY_FOUR_HOURS="WITHIN_TWENTY_FOUR_HOURS",E.WITHIN_TWO_HOURS="WITHIN_TWO_HOURS"}(EE||(EE={})),function(E){E.PHYSICAL="PHYSICAL",E.VIRTUAL="VIRTUAL"}(TE||(TE={})),function(E){E.INVISIBLE="INVISIBLE",E.READ="READ",E.WRITE="WRITE"}(RE||(RE={})),function(E){E.INVISIBLE="INVISIBLE",E.MANDATORY="MANDATORY",E.OPTIONAL="OPTIONAL"}(AE||(AE={})),function(E){E.BOOLEAN="BOOLEAN",E.CHOICE="CHOICE",E.DATETIME="DATETIME",E.MULTIPLE_CHOICE="MULTIPLE_CHOICE",E.NUMERIC="NUMERIC",E.TEXT="TEXT"}(IE||(IE={})),function(E){E.credentials="credentials",E.facebook="facebook",E.google="google"}(DE||(DE={})),function(E){E.APPROVED="APPROVED",E.REJECTED="REJECTED",E.WAITING="WAITING"}(CE||(CE={}));export{u as AdjustmentEnum,G as AmountTypeEnum,E as BlogMetadataTargetTypeEnum,W as CampaignApplicablePriceEnum,K as CampaignCreatedForEnum,X as CampaignFilterTypeEnum,Q as CampaignOfferTargetPageTypeEnum,J as CampaignTypeEnum,e as CancelledReasonEnum,g as CartCampaignOfferStatus,Z as CartCreatedByEnum,a as CartStatusEnum,l as CartV2StatusEnum,I as CategoryConditionTypeEnum,D as CategoryProductsOrderTypeEnum,b as CheckoutRecoveryEmailStatusEnum,k as CheckoutRecoveryStatusEnum,r as CheckoutRequirementEnum,d as CheckoutStatusEnum,s as CustomerAccountStatusEnum,RE as CustomerAttributePermissionEnum,AE as CustomerAttributeRegisterPageRequirementEnum,IE as CustomerAttributeTypeEnum,p as CustomerEmailSubscriptionStatusesEnum,DE as CustomerRegistrationSourceEnum,CE as CustomerReviewStatusEnum,T as CustomerSocialLoginProviderEnum,C as HTMLMetaDataTargetTypeEnum,v as InvoiceTypeEnum,x as OrderLineItemStatusEnum,h as OrderPackageFulfillStatusEnum,j as OrderPackageStatusEnum,m as OrderPaymentStatusEnum,q as OrderStatusEnum,Y as PaymentGatewayAdditionalPriceTypeEnum,o as PaymentGatewayTransactionFeeTypeEnum,V as PaymentGatewayTypeEnum,B as PaymentMethodEnum,w as PaymentMethodTypeEnum,_ as ProductAttributeTypeEnum,N as ProductFilterDisplayTypeEnum,O as ProductFilterSortTypeEnum,L as ProductFilterTypeEnum,U as ProductOptionSelectTypeEnum,S as ProductOptionTypeEnum,P as ProductSearchShowStockOptionEnum,n as ProductTypeEnum,y as RaffleMetadataTargetTypeEnum,z as ShippingMethodEnum,F as SortByDirectionEnum,H as SortByTypeEnum,EE as StockLocationDeliveryTimeEnum,TE as StockLocationTypeEnum,R as StorefrontStatusTypes,A as StorefrontThemeStatus,c as TransactionCardAssociationEnum,f as TransactionCardTypeEnum,t as TransactionStatusEnum,i as TransactionTypeEnum,M as VariantSelectionTypeEnum,$ as VerificationTypeEnum};
|
|
1
|
+
var E,T,R,A,D,I,C,_,N,O,L,U,S,P,n,F,H,M,Y,o,V,B,c,f,t,i,u,G,W,K,X,Q,J,e,g,Z,a,l,b,k,r,d,s,p,v,x,h,j,m,q,w,y,z,$,EE,TE,RE,AE,DE,IE,CE,_E,NE;!function(E){E.BLOG="BLOG",E.BLOG_CATEGORY="BLOG_CATEGORY"}(E||(E={})),function(E){E.facebook="facebook",E.google="google"}(T||(T={})),function(E){E.FAILED="FAILED",E.NOT_DEPLOYED="NOT_DEPLOYED",E.READY="READY",E.WAITING="WAITING"}(R||(R={})),function(E){E.FAILED="FAILED",E.NOT_DEPLOYED="NOT_DEPLOYED",E.READY="READY",E.WAITING="WAITING"}(A||(A={})),function(E){E.CREATED_AT="CREATED_AT",E.DISCOUNTED_PRODUCTS="DISCOUNTED_PRODUCTS",E.PRODUCT_BRAND="PRODUCT_BRAND",E.PRODUCT_TAG="PRODUCT_TAG",E.VARIANT_VALUE="VARIANT_VALUE"}(D||(D={})),function(E){E.BEST_SELLER="BEST_SELLER",E.HIGHEST_DISCOUNT_RATIO="HIGHEST_DISCOUNT_RATIO",E.HIGHEST_PRICE="HIGHEST_PRICE",E.LOWEST_DISCOUNT_RATIO="LOWEST_DISCOUNT_RATIO",E.LOWEST_PRICE="LOWEST_PRICE",E.MANUALLY="MANUALLY",E.NEWEST="NEWEST",E.OLDEST="OLDEST"}(I||(I={})),function(E){E.BRAND="BRAND",E.CATEGORY="CATEGORY",E.PAGE="PAGE",E.PRODUCT="PRODUCT"}(C||(C={})),function(E){E.BOOLEAN="BOOLEAN",E.CHOICE="CHOICE",E.DATETIME="DATETIME",E.HTML="HTML",E.IMAGE="IMAGE",E.MULTIPLE_CHOICE="MULTIPLE_CHOICE",E.NUMERIC="NUMERIC",E.PRODUCT="PRODUCT",E.TABLE="TABLE",E.TEXT="TEXT"}(_||(_={})),function(E){E.BOX="BOX",E.DATE_RANGE="DATE_RANGE",E.LIST="LIST",E.NUMBER_RANGE="NUMBER_RANGE",E.NUMBER_RANGE_LIST="NUMBER_RANGE_LIST",E.SWATCH="SWATCH"}(N||(N={})),function(E){E.ALPHABETICAL_ASC="ALPHABETICAL_ASC",E.ALPHABETICAL_DESC="ALPHABETICAL_DESC",E.CUSTOM_SORT="CUSTOM_SORT",E.PRODUCT_COUNT_ASC="PRODUCT_COUNT_ASC",E.PRODUCT_COUNT_DESC="PRODUCT_COUNT_DESC"}(O||(O={})),function(E){E.ATTRIBUTE="ATTRIBUTE",E.AVAILABLE_VARIANT_VALUE="AVAILABLE_VARIANT_VALUE",E.BRAND="BRAND",E.DISCOUNT_RATIO="DISCOUNT_RATIO",E.PRICE="PRICE",E.STOCK_STATUS="STOCK_STATUS",E.TAG="TAG",E.VARIANT_TYPE="VARIANT_TYPE"}(L||(L={})),function(E){E.BOX="BOX",E.SELECT="SELECT",E.SWATCH="SWATCH"}(U||(U={})),function(E){E.CHECKBOX="CHECKBOX",E.CHOICE="CHOICE",E.COLOR_PICKER="COLOR_PICKER",E.DATE_PICKER="DATE_PICKER",E.FILE="FILE",E.IMAGE="IMAGE",E.TEXT="TEXT",E.TEXT_AREA="TEXT_AREA"}(S||(S={})),function(E){E.HIDE_OUT_OF_STOCK="HIDE_OUT_OF_STOCK",E.SHOW_ALL="SHOW_ALL",E.SHOW_OUT_OF_STOCK_AT_END="SHOW_OUT_OF_STOCK_AT_END"}(P||(P={})),function(E){E.DIGITAL="DIGITAL",E.MEMBERSHIP="MEMBERSHIP",E.PHYSICAL="PHYSICAL"}(n||(n={})),function(E){E.ASC="ASC",E.DESC="DESC"}(F||(F={})),function(E){E.CREATED_AT="CREATED_AT",E.DISCOUNT_RATIO="DISCOUNT_RATIO",E.MANUAL_SORT="MANUAL_SORT",E.NAME="NAME",E.PRICE="PRICE"}(H||(H={})),function(E){E.CHOICE="CHOICE",E.COLOR="COLOR"}(M||(M={})),function(E){E.CHECK_MASTER_PASS_USER="CHECK_MASTER_PASS_USER",E.DELETE_CARD="DELETE_CARD",E.DIRECT_PURCHASE="DIRECT_PURCHASE",E.FORGOT_PASSWORD="FORGOT_PASSWORD",E.LIST_CARDS="LIST_CARDS",E.PURCHASE="PURCHASE",E.REGISTER_CARD="REGISTER_CARD"}(Y||(Y={})),function(E){E.DECREMENT="DECREMENT",E.INCREMENT="INCREMENT"}(o||(o={})),function(E){E.AMOUNT="AMOUNT",E.RATIO="RATIO"}(V||(V={})),function(E){E.EXTERNAL="EXTERNAL",E.INTERNAL="INTERNAL",E.THIRD_PARTY="THIRD_PARTY"}(B||(B={})),function(E){E.APP_PAYMENT="APP_PAYMENT",E.BUY_ONLINE_PAY_AT_STORE="BUY_ONLINE_PAY_AT_STORE",E.CASH="CASH",E.CASH_ON_DELIVERY="CASH_ON_DELIVERY",E.CREDIT_CARD="CREDIT_CARD",E.CREDIT_CARD_ON_DELIVERY="CREDIT_CARD_ON_DELIVERY",E.GIFT_CARD="GIFT_CARD",E.MONEY_ORDER="MONEY_ORDER",E.OTHER="OTHER",E.WALLET="WALLET"}(c||(c={})),function(E){E.AMERICAN_EXPRESS="AMERICAN_EXPRESS",E.MASTER_CARD="MASTER_CARD",E.TROY="TROY",E.VISA="VISA"}(f||(f={})),function(E){E.CREDIT="CREDIT",E.DEBIT="DEBIT",E.PREPAID="PREPAID"}(t||(t={})),function(E){E.AUTHORIZED="AUTHORIZED",E.FAILED="FAILED",E.PENDING="PENDING",E.SUCCESS="SUCCESS"}(i||(i={})),function(E){E.REFUND="REFUND",E.SALE="SALE",E.VOID="VOID"}(u||(u={})),function(E){E.DECREMENT="DECREMENT",E.INCREMENT="INCREMENT"}(G||(G={})),function(E){E.AMOUNT="AMOUNT",E.RATIO="RATIO"}(W||(W={})),function(E){E.DISCOUNT_PRICE="DISCOUNT_PRICE",E.SELL_PRICE="SELL_PRICE"}(K||(K={})),function(E){E.ABANDONED_CHECKOUT="ABANDONED_CHECKOUT",E.CART="CART",E.CUSTOMER_REVIEW="CUSTOMER_REVIEW"}(X||(X={})),function(E){E.CATEGORY="CATEGORY",E.PRODUCT="PRODUCT",E.PRODUCT_BRAND="PRODUCT_BRAND",E.PRODUCT_TAG="PRODUCT_TAG",E.VARIANT="VARIANT"}(Q||(Q={})),function(E){E.CHECKOUT="CHECKOUT",E.POST_CHECKOUT="POST_CHECKOUT"}(J||(J={})),function(E){E.BUY_X_THEN_GET_Y="BUY_X_THEN_GET_Y",E.FIXED_AMOUNT="FIXED_AMOUNT",E.FREE_SHIPPING="FREE_SHIPPING",E.RATIO="RATIO"}(e||(e={})),function(E){E.CUSTOMER="CUSTOMER",E.DECLINED="DECLINED",E.INVENTORY="INVENTORY",E.OTHER="OTHER"}(g||(g={})),function(E){E.ACCEPTED="ACCEPTED",E.REJECTED="REJECTED",E.REMOVED="REMOVED",E.WAITING_FOR_ACTION="WAITING_FOR_ACTION"}(Z||(Z={})),function(E){E.ADMIN="ADMIN",E.CUSTOMER="CUSTOMER"}(a||(a={})),function(E){E.ACTIVE="ACTIVE",E.FREEZE="FREEZE",E.PASSIVE="PASSIVE"}(l||(l={})),function(E){E.COMPLETED="COMPLETED",E.FREEZE="FREEZE",E.KILLED="KILLED",E.OPEN="OPEN"}(b||(b={})),function(E){E.NOT_SENT="NOT_SENT",E.SENT="SENT"}(k||(k={})),function(E){E.NOT_RECOVERED="NOT_RECOVERED",E.RECOVERED="RECOVERED"}(r||(r={})),function(E){E.INVISIBLE="INVISIBLE",E.MANDATORY="MANDATORY",E.OPTIONAL="OPTIONAL"}(d||(d={})),function(E){E.COMPLETED="COMPLETED",E.FREEZE="FREEZE",E.KILLED="KILLED",E.OPEN="OPEN"}(s||(s={})),function(E){E.ACTIVE_ACCOUNT="ACTIVE_ACCOUNT",E.DECLINED_ACCOUNT_INVITATION="DECLINED_ACCOUNT_INVITATION",E.DISABLED_ACCOUNT="DISABLED_ACCOUNT",E.INVITED_TO_CREATE_ACCOUNT="INVITED_TO_CREATE_ACCOUNT"}(p||(p={})),function(E){E.NOT_SUBSCRIBED="NOT_SUBSCRIBED",E.PENDING_CONFIRMATION="PENDING_CONFIRMATION",E.SUBSCRIBED="SUBSCRIBED"}(v||(v={})),function(E){E.COMPANY="COMPANY",E.INDIVIDUAL="INDIVIDUAL",E.OTHER="OTHER"}(x||(x={})),function(E){E.CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.FULFILLED="FULFILLED",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNFULFILLED="UNFULFILLED"}(h||(h={})),function(E){E.CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.ERROR="ERROR",E.FULFILLED="FULFILLED",E.READY_FOR_PICK_UP="READY_FOR_PICK_UP",E.READY_FOR_SHIPMENT="READY_FOR_SHIPMENT",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNABLE_TO_DELIVER="UNABLE_TO_DELIVER"}(j||(j={})),function(E){E.CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.FULFILLED="FULFILLED",E.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",E.PARTIALLY_DELIVERED="PARTIALLY_DELIVERED",E.PARTIALLY_FULFILLED="PARTIALLY_FULFILLED",E.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",E.READY_FOR_PICK_UP="READY_FOR_PICK_UP",E.READY_FOR_SHIPMENT="READY_FOR_SHIPMENT",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNABLE_TO_DELIVER="UNABLE_TO_DELIVER",E.UNFULFILLED="UNFULFILLED"}(m||(m={})),function(E){E.PAID="PAID",E.PARTIALLY_PAID="PARTIALLY_PAID",E.WAITING="WAITING"}(q||(q={})),function(E){E.CANCELLED="CANCELLED",E.CREATED="CREATED",E.DRAFT="DRAFT",E.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",E.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED"}(w||(w={})),function(E){E.APP_PAYMENT="APP_PAYMENT",E.BUY_ONLINE_PAY_AT_STORE="BUY_ONLINE_PAY_AT_STORE",E.CASH="CASH",E.CASH_ON_DELIVERY="CASH_ON_DELIVERY",E.CREDIT_CARD="CREDIT_CARD",E.CREDIT_CARD_ON_DELIVERY="CREDIT_CARD_ON_DELIVERY",E.GIFT_CARD="GIFT_CARD",E.MONEY_ORDER="MONEY_ORDER",E.OTHER="OTHER",E.WALLET="WALLET"}(y||(y={})),function(E){E.RAFFLE="RAFFLE"}(z||(z={})),function(E){E.CLICK_AND_COLLECT="CLICK_AND_COLLECT",E.NO_SHIPMENT="NO_SHIPMENT",E.SHIPMENT="SHIPMENT"}($||($={})),function(E){E.EMAIL="EMAIL",E.MERSIS="MERSIS"}(EE||(EE={})),function(E){E.LEFT="LEFT",E.RIGHT="RIGHT"}(TE||(TE={})),function(E){E.TWO_IN_FOUR_DAYS="TWO_IN_FOUR_DAYS",E.WITHIN_FOUR_HOURS="WITHIN_FOUR_HOURS",E.WITHIN_ONE_HOUR="WITHIN_ONE_HOUR",E.WITHIN_PLUS_FIVE_DAYS="WITHIN_PLUS_FIVE_DAYS",E.WITHIN_TWENTY_FOUR_HOURS="WITHIN_TWENTY_FOUR_HOURS",E.WITHIN_TWO_HOURS="WITHIN_TWO_HOURS"}(RE||(RE={})),function(E){E.PHYSICAL="PHYSICAL",E.VIRTUAL="VIRTUAL"}(AE||(AE={})),function(E){E.INVISIBLE="INVISIBLE",E.READ="READ",E.WRITE="WRITE"}(DE||(DE={})),function(E){E.INVISIBLE="INVISIBLE",E.MANDATORY="MANDATORY",E.OPTIONAL="OPTIONAL"}(IE||(IE={})),function(E){E.BOOLEAN="BOOLEAN",E.CHOICE="CHOICE",E.DATETIME="DATETIME",E.MULTIPLE_CHOICE="MULTIPLE_CHOICE",E.NUMERIC="NUMERIC",E.TEXT="TEXT"}(CE||(CE={})),function(E){E.credentials="credentials",E.facebook="facebook",E.google="google"}(_E||(_E={})),function(E){E.APPROVED="APPROVED",E.REJECTED="REJECTED",E.WAITING="WAITING"}(NE||(NE={}));export{G as AdjustmentEnum,W as AmountTypeEnum,E as BlogMetadataTargetTypeEnum,K as CampaignApplicablePriceEnum,X as CampaignCreatedForEnum,Q as CampaignFilterTypeEnum,J as CampaignOfferTargetPageTypeEnum,e as CampaignTypeEnum,g as CancelledReasonEnum,Z as CartCampaignOfferStatus,a as CartCreatedByEnum,l as CartStatusEnum,b as CartV2StatusEnum,D as CategoryConditionTypeEnum,I as CategoryProductsOrderTypeEnum,k as CheckoutRecoveryEmailStatusEnum,r as CheckoutRecoveryStatusEnum,d as CheckoutRequirementEnum,s as CheckoutStatusEnum,TE as CurrencyFormatSymbolPosition,p as CustomerAccountStatusEnum,DE as CustomerAttributePermissionEnum,IE as CustomerAttributeRegisterPageRequirementEnum,CE as CustomerAttributeTypeEnum,v as CustomerEmailSubscriptionStatusesEnum,_E as CustomerRegistrationSourceEnum,NE as CustomerReviewStatusEnum,T as CustomerSocialLoginProviderEnum,C as HTMLMetaDataTargetTypeEnum,x as InvoiceTypeEnum,Y as MasterPassOperationTypeEnum,h as OrderLineItemStatusEnum,j as OrderPackageFulfillStatusEnum,m as OrderPackageStatusEnum,q as OrderPaymentStatusEnum,w as OrderStatusEnum,o as PaymentGatewayAdditionalPriceTypeEnum,V as PaymentGatewayTransactionFeeTypeEnum,B as PaymentGatewayTypeEnum,c as PaymentMethodEnum,y as PaymentMethodTypeEnum,_ as ProductAttributeTypeEnum,N as ProductFilterDisplayTypeEnum,O as ProductFilterSortTypeEnum,L as ProductFilterTypeEnum,U as ProductOptionSelectTypeEnum,S as ProductOptionTypeEnum,P as ProductSearchShowStockOptionEnum,n as ProductTypeEnum,z as RaffleMetadataTargetTypeEnum,$ as ShippingMethodEnum,F as SortByDirectionEnum,H as SortByTypeEnum,RE as StockLocationDeliveryTimeEnum,AE as StockLocationTypeEnum,R as StorefrontStatusTypes,A as StorefrontThemeStatus,f as TransactionCardAssociationEnum,t as TransactionCardTypeEnum,i as TransactionStatusEnum,u as TransactionTypeEnum,M as VariantSelectionTypeEnum,EE as VerificationTypeEnum};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from'../ext/split-on-first/index.js';export{default}from"../node_modules/split-on-first/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from'../ext/strict-uri-encode/index.js';export{default}from"../node_modules/strict-uri-encode/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasProductDetail, IkasOrderLineItem, IkasCategory, IkasThemePageType, IkasOrderTransaction, IkasBrand } from "../models";
|
|
1
|
+
import { IkasProductDetail, IkasOrderLineItem, IkasCategory, IkasThemePageType, IkasOrderTransaction, IkasBrand, IkasCustomer } from "../models";
|
|
2
2
|
import { CheckoutStep } from "../components/checkout/model";
|
|
3
3
|
import { IkasCart } from "../models/data/cart";
|
|
4
4
|
import { IkasEventSubscriber } from "./events";
|
|
@@ -25,7 +25,8 @@ export declare class Analytics {
|
|
|
25
25
|
static disableHTML(): void;
|
|
26
26
|
static addToWishlist(productId: string): void;
|
|
27
27
|
static search(searchKeyword: string): void;
|
|
28
|
-
static completeRegistration(
|
|
28
|
+
static completeRegistration(customer: IkasCustomer): void;
|
|
29
|
+
static createEmailSubscripition(email: string): void;
|
|
29
30
|
static customerLogin(): Promise<void>;
|
|
30
31
|
static customerLogout(): Promise<void>;
|
|
31
32
|
static customerVisit(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as e,__generator as t,__assign as r}from'../ext/tslib/tslib.es6.js';import{makeAutoObservable as o}from"mobx";import"../models/data/blog/index.js";import{IkasBrand as i}from"../models/data/brand/index.js";import"../models/data/cart/campaign-offer/index.js";import{IkasCart as s}from"../models/data/cart/index.js";import{IkasCategory as a}from"../models/data/category/index.js";import"../models/data/city/index.js";import"../models/data/country/index.js";import"../models/data/customer/address/index.js";import"../models/data/customer/attribute-value/index.js";import"../models/data/customer/index.js";import"../models/data/customer-attribute/customer-attribute-option/index.js";import"../models/data/customer-attribute/customer-attribute-sales-channel/index.js";import"../models/data/customer-attribute/index.js";import"../models/data/customer-review/index.js";import"../models/data/customer-review-summary/index.js";import"../models/data/district/index.js";import"../models/data/favorite-product/index.js";import"../models/data/html-meta-data/index.js";import"../models/data/image/index.js";import"../models/data/merchant-settings/index.js";import"../models/data/order/address/index.js";import"../models/data/order/adjustment/index.js";import"../models/data/order/gift-line/index.js";import"../models/data/order/invoice/index.js";import"../models/data/order/line-item/discount/index.js";import"../models/data/order/line-item/option/value/index.js";import"../models/data/order/line-item/option/index.js";import"../models/data/order/line-item/variant/index.js";import"../models/data/order/line-item/index.js";import"../models/data/order/package/tracking-info/index.js";import"../models/data/order/package/index.js";import"../models/data/order/payment-method/index.js";import"../models/data/order/refund/line-item/index.js";import"../models/data/order/shipping-line/index.js";import"../models/data/order/tax-line/index.js";import"../models/data/order/transaction/index.js";import"../models/data/order/index.js";import"../models/data/product/attribute-value/index.js";import"../models/data/product/variant/price/index.js";import"../models/data/product/variant/index.js";import"../models/data/variant-type/index.js";import"../models/data/product/index.js";import"../models/data/product-attribute/index.js";import"../models/data/product-filter/index.js";import"../models/data/product-campaign/campaign/index.js";import"../models/data/product-campaign/filter/index.js";import"../models/data/product-option-set/index.js";import"../models/data/raffle/index.js";import"../models/data/state/index.js";import"../models/data/variant-type/variant-value/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{IkasProductDetail as n}from"../models/ui/product-detail/index.js";import"../models/ui/product-list/index.js";import"../models/ui/product-attribute-detail/index.js";import"../models/ui/product-attribute-list/index.js";import"../models/ui/customer-review-list/index.js";import"../models/ui/customer-review-summary-list/index.js";import"../models/ui/validator/index.js";import"../models/ui/validator/rules/index.js";import"../models/ui/validator/form/login.js";import"../models/ui/validator/form/address.js";import"../models/ui/validator/form/register.js";import"../models/ui/validator/form/contact-form.js";import"../models/ui/validator/form/forgot-password.js";import"../models/ui/validator/form/recover-password.js";import"../models/ui/validator/form/account-info.js";import"../models/ui/validator/form/raffle-form.js";import"../models/ui/validator/form/customer-review.js";import"../models/ui/raffle-list/index.js";import"../models/theme/settings/index.js";import"../models/theme/custom-data/index.js";import{FacebookPixel as c}from"./facebookPixel.js";import{GoogleTagManager as d}from"./googleTagManager.js";import{IkasEventType as m}from"./events.js";import{IkasStorefrontConfig as u}from"../storefront/index.js";import l from'../ext/lodash/cloneDeep.js';import{tryForEach as p}from"../utils/helper.js";import"../utils/i18n.js";import b from"./ikas.js";import{GoogleAnalytics as f}from"./googleAnalytics.js";import{GoogleUniversal as h}from"./googleUniversal.js";import j from"../models/data/checkout/index.js";var g=function(){function g(){o(this)}return g.getCustomerInfo=function(){return e(this,void 0,void 0,(function(){var e,o;return t(this,(function(t){switch(t.label){case 0:return[4,(e=u.store).customerStore.waitUntilInitialized()];case 1:return t.sent(),(o=e.customerStore.customer)?[2,r(r({},o.basicInfo),{consentGranted:e.customerStore.customerConsentGranted})]:[2,null]}}))}))},g.pageView=function(r){return e(this,void 0,void 0,(function(){var e,o,i;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),e=window.location.href,[4,g.getCustomerInfo()];case 1:return o=t.sent(),d.pageView(e),b.pageView(r),p(g.subscribers,(function(t){t.callback({type:m.PAGE_VIEW,data:{url:e,pageType:r,customer:o}})})),[3,3];case 2:return i=t.sent(),console.error(i),[3,3];case 3:return[2]}}))}))},g.productView=function(e){try{if(c.productView(e),d.productView(e),b.productView(e),f.productView(e),h.productView(e),g.subscribers.length){var t=l(e),r=new n(t.product,t.selectedVariantValues);p(g.subscribers,(function(e){e.callback({type:m.PRODUCT_VIEW,data:{productDetail:r}})}))}}catch(e){console.error(e)}},g.addToCart=function(e,t,r,o){try{if(c.addToCart(e,t,r),d.addToCart(e,t),b.addToCart(e,t,o),f.addToCart(e,t),h.addToCart(e,t),g.subscribers.length){var i=l(e),a=new s(l(o));p(g.subscribers,(function(e){e.callback({type:m.ADD_TO_CART,data:{item:i,quantity:t,cart:a}})}))}}catch(e){console.error(e)}},g.removeFromCart=function(e,t,r){try{if(d.removeFromCart(e,t),f.removeFromCart(e,t),h.removeFromCart(e,t),g.subscribers.length){var o=l(e),i=new s(l(r));p(g.subscribers,(function(e){e.callback({type:m.REMOVE_FROM_CART,data:{item:o,quantity:t,cart:i}})}))}}catch(e){console.error(e)}},g.beginCheckout=function(e){try{var t=localStorage.getItem("gtmBeginCheckout");if(t&&e.id===t)return;if(localStorage.setItem("gtmBeginCheckout",e.id),c.beginCheckout(e),d.beginCheckout(e),b.beginCheckout(e),f.beginCheckout(e),g.subscribers.length){var r=new j(l(e));p(g.subscribers,(function(e){e.callback({type:m.BEGIN_CHECKOUT,data:{checkout:r}})}))}}catch(e){console.error(e)}},g.purchase=function(e,t){try{if(localStorage.removeItem("gtmBeginCheckout"),c.purchase(e,e.orderNumber||""),d.purchase(e,e.orderNumber||""),b.orderSuccess(e),f.purchase(e,e.orderNumber||""),h.purchase(e,e.orderNumber||""),g.subscribers.length){var r=new j(l(e)),o=l(t);p(g.subscribers,(function(e){e.callback({type:m.COMPLETE_CHECKOUT,data:{checkout:r,transaction:o}})}))}}catch(e){console.error(e)}},g.checkoutStep=function(e,t){try{if(d.checkoutStep(e,t),b.checkoutStep(e,t),f.checkoutStep(e,t),g.subscribers.length){var r=new j(l(e));p(g.subscribers,(function(e){e.callback({type:m.CHECKOUT_STEP,data:{checkout:r,step:t}})}))}}catch(e){console.error(e)}},g.disableHTML=function(){try{d.disableHTML()}catch(e){console.error(e)}},g.addToWishlist=function(e){try{c.addToWishlist(e),g.subscribers.length&&p(g.subscribers,(function(t){t.callback({type:m.ADD_TO_WISHLIST,data:{productId:e}})}))}catch(e){console.error(e)}},g.search=function(e){try{c.search(e),d.search(e),g.subscribers.length&&p(g.subscribers,(function(t){t.callback({type:m.SEARCH,data:{searchKeyword:e}})}))}catch(e){console.error(e)}},g.completeRegistration=function(e,t){try{c.completeRegistration(),d.completeRegistration(),b.customerRegister(),g.subscribers.length&&p(g.subscribers,(function(t){t.callback({type:m.CUSTOMER_REGISTER,data:{email:e}})}))}catch(e){console.error(e)}},g.customerLogin=function(){return e(this,void 0,void 0,(function(){var e,r;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,g.getCustomerInfo()];case 1:return(e=t.sent())&&e.email?(d.customerLogin(e.email),b.customerLogin(),g.subscribers.length&&p(g.subscribers,(function(t){t.callback({type:m.CUSTOMER_LOGIN,data:{customer:e}})})),[3,3]):[2];case 2:return r=t.sent(),console.error(r),[3,3];case 3:return[2]}}))}))},g.customerLogout=function(){return e(this,void 0,void 0,(function(){return t(this,(function(e){try{g.subscribers.length&&p(g.subscribers,(function(e){e.callback({type:m.CUSTOMER_LOGOUT,data:{}})}))}catch(e){console.error(e)}return[2]}))}))},g.customerVisit=function(){return e(this,void 0,void 0,(function(){var e,r;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,g.getCustomerInfo()];case 1:return(e=t.sent())&&e.email?(d.customerVisit(e.email),b.customerVisit(),g.subscribers.length&&p(g.subscribers,(function(t){t.callback({type:m.CUSTOMER_VISIT,data:{customer:e}})})),[3,3]):[2];case 2:return r=t.sent(),console.error(r),[3,3];case 3:return[2]}}))}))},g.viewCart=function(e){try{if(e&&(c.viewCart(e),b.viewCart(e),f.viewCart(e),g.subscribers.length)){var t=new s(l(e));p(g.subscribers,(function(e){e.callback({type:m.VIEW_CART,data:{cart:t}})}))}}catch(e){console.error(e)}},g.viewCategory=function(e,t){try{if(c.viewCategory(e),d.viewCategory(t,e),b.viewCategory(t),g.subscribers.length){var r=new a(l(t));p(g.subscribers,(function(t){t.callback({type:m.VIEW_CATEGORY,data:{categoryPath:e,category:r}})}))}}catch(e){console.error(e)}},g.viewBrand=function(e){try{if(b.viewBrand(e),g.subscribers.length){var t=new i(l(e));p(g.subscribers,(function(e){e.callback({type:m.VIEW_BRAND,data:{brand:t}})}))}}catch(e){console.error(e)}},g.viewSearchResults=function(e,t){try{if(g.subscribers.length){var r=l(t).map((function(e){return new n(e.product,e.selectedVariantValues)}));p(g.subscribers,(function(t){t.callback({type:m.VIEW_SEARCH_RESULTS,data:{searchKeyword:e,productDetails:r}})}))}}catch(e){console.error(e)}},g.viewListing=function(e){try{if(g.subscribers.length){var t=l(e).map((function(e){return new n(e.product,e.selectedVariantValues)}));p(g.subscribers,(function(e){e.callback({type:m.VIEW_LISTING,data:{productDetails:t}})}))}}catch(e){console.error(e)}},g.contactForm=function(e){try{if(c.contactForm(),g.subscribers.length){var t=l(e);p(g.subscribers,(function(e){e.callback({type:m.CONTACT_FORM,data:{form:t}})}))}}catch(e){console.error(e)}},g.subscribers=[],g}();export{g as Analytics};
|
|
1
|
+
import{__awaiter as e,__generator as t,__assign as r}from'../ext/tslib/tslib.es6.js';import{makeAutoObservable as o}from"mobx";import"../models/data/blog/index.js";import{IkasBrand as i}from"../models/data/brand/index.js";import"../models/data/cart/campaign-offer/index.js";import{IkasCart as s}from"../models/data/cart/index.js";import{IkasCategory as a}from"../models/data/category/index.js";import"../models/data/city/index.js";import"../models/data/country/index.js";import"../models/data/customer/address/index.js";import"../models/data/customer/attribute-value/index.js";import"../models/data/customer/index.js";import"../models/data/customer-attribute/customer-attribute-option/index.js";import"../models/data/customer-attribute/customer-attribute-sales-channel/index.js";import"../models/data/customer-attribute/index.js";import"../models/data/customer-review/index.js";import"../models/data/customer-review-summary/index.js";import"../models/data/district/index.js";import"../models/data/favorite-product/index.js";import"../models/data/html-meta-data/index.js";import"../models/data/image/index.js";import"../models/data/merchant-settings/index.js";import"../models/data/order/address/index.js";import"../models/data/order/adjustment/index.js";import"../models/data/order/gift-line/index.js";import"../models/data/order/invoice/index.js";import"../models/data/order/line-item/discount/index.js";import"../models/data/order/line-item/option/value/index.js";import"../models/data/order/line-item/option/index.js";import"../models/data/order/line-item/variant/index.js";import"../models/data/order/line-item/index.js";import"../models/data/order/package/tracking-info/index.js";import"../models/data/order/package/index.js";import"../models/data/order/payment-method/index.js";import"../models/data/order/refund/line-item/index.js";import"../models/data/order/shipping-line/index.js";import"../models/data/order/tax-line/index.js";import"../models/data/order/transaction/index.js";import"../models/data/order/index.js";import"../models/data/product/attribute-value/index.js";import"../models/data/product/variant/price/index.js";import"../models/data/product/variant/index.js";import"../models/data/variant-type/index.js";import"../models/data/product/index.js";import"../models/data/product-attribute/index.js";import"../models/data/product-filter/index.js";import"../models/data/product-campaign/campaign/index.js";import"../models/data/product-campaign/filter/index.js";import"../models/data/product-option-set/index.js";import"../models/data/raffle/index.js";import"../models/data/state/index.js";import"../models/data/variant-type/variant-value/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{IkasProductDetail as n}from"../models/ui/product-detail/index.js";import"../models/ui/product-list/index.js";import"../models/ui/product-attribute-detail/index.js";import"../models/ui/product-attribute-list/index.js";import"../models/ui/customer-review-list/index.js";import"../models/ui/customer-review-summary-list/index.js";import"../models/ui/validator/index.js";import"../models/ui/validator/rules/index.js";import"../models/ui/validator/form/login.js";import"../models/ui/validator/form/address.js";import"../models/ui/validator/form/register.js";import"../models/ui/validator/form/contact-form.js";import"../models/ui/validator/form/forgot-password.js";import"../models/ui/validator/form/recover-password.js";import"../models/ui/validator/form/account-info.js";import"../models/ui/validator/form/raffle-form.js";import"../models/ui/validator/form/customer-review.js";import"../models/ui/raffle-list/index.js";import"../models/theme/settings/index.js";import"../models/theme/custom-data/index.js";import{FacebookPixel as c}from"./facebookPixel.js";import{GoogleTagManager as d}from"./googleTagManager.js";import{IkasEventType as m}from"./events.js";import{IkasStorefrontConfig as u}from"../storefront/index.js";import l from'../ext/lodash/cloneDeep.js';import{tryForEach as p}from"../utils/helper.js";import"../utils/i18n.js";import b from"./ikas.js";import{GoogleAnalytics as f}from"./googleAnalytics.js";import{GoogleUniversal as h}from"./googleUniversal.js";import j from"../models/data/checkout/index.js";import{TiktokPixel as g}from"./tiktokPixel.js";var v=function(){function v(){o(this)}return v.getCustomerInfo=function(){return e(this,void 0,void 0,(function(){var e,o;return t(this,(function(t){switch(t.label){case 0:return[4,(e=u.store).customerStore.waitUntilInitialized()];case 1:return t.sent(),(o=e.customerStore.customer)?[2,r(r({},o.basicInfo),{consentGranted:e.customerStore.customerConsentGranted})]:[2,null]}}))}))},v.pageView=function(r){return e(this,void 0,void 0,(function(){var e,o,i;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),e=window.location.href,[4,v.getCustomerInfo()];case 1:return o=t.sent(),d.pageView(e),b.pageView(r),p(v.subscribers,(function(t){t.callback({type:m.PAGE_VIEW,data:{url:e,pageType:r,customer:o}})})),[3,3];case 2:return i=t.sent(),console.error(i),[3,3];case 3:return[2]}}))}))},v.productView=function(e){try{if(c.productView(e),d.productView(e),b.productView(e),f.productView(e),h.productView(e),g.productView(e),v.subscribers.length){var t=l(e),r=new n(t.product,t.selectedVariantValues);p(v.subscribers,(function(e){e.callback({type:m.PRODUCT_VIEW,data:{productDetail:r}})}))}}catch(e){console.error(e)}},v.addToCart=function(e,t,r,o){try{if(c.addToCart(e,t,r),d.addToCart(e,t),b.addToCart(e,t,o),f.addToCart(e,t),h.addToCart(e,t),g.addToCart(e,t),v.subscribers.length){var i=l(e),a=new s(l(o));p(v.subscribers,(function(e){e.callback({type:m.ADD_TO_CART,data:{item:i,quantity:t,cart:a}})}))}}catch(e){console.error(e)}},v.removeFromCart=function(e,t,r){try{if(d.removeFromCart(e,t),f.removeFromCart(e,t),h.removeFromCart(e,t),v.subscribers.length){var o=l(e),i=new s(l(r));p(v.subscribers,(function(e){e.callback({type:m.REMOVE_FROM_CART,data:{item:o,quantity:t,cart:i}})}))}}catch(e){console.error(e)}},v.beginCheckout=function(e){try{var t=localStorage.getItem("gtmBeginCheckout");if(t&&e.id===t)return;if(localStorage.setItem("gtmBeginCheckout",e.id),c.beginCheckout(e),d.beginCheckout(e),b.beginCheckout(e),f.beginCheckout(e),g.beginCheckout(),v.subscribers.length){var r=new j(l(e));p(v.subscribers,(function(e){e.callback({type:m.BEGIN_CHECKOUT,data:{checkout:r}})}))}}catch(e){console.error(e)}},v.purchase=function(e,t){try{if(localStorage.removeItem("gtmBeginCheckout"),c.purchase(e,e.orderNumber||""),d.purchase(e,e.orderNumber||""),b.orderSuccess(e),f.purchase(e,e.orderNumber||""),h.purchase(e,e.orderNumber||""),g.purchase(e),v.subscribers.length){var r=new j(l(e)),o=l(t);p(v.subscribers,(function(e){e.callback({type:m.COMPLETE_CHECKOUT,data:{checkout:r,transaction:o}})}))}}catch(e){console.error(e)}},v.checkoutStep=function(e,t){try{if(d.checkoutStep(e,t),b.checkoutStep(e,t),f.checkoutStep(e,t),v.subscribers.length){var r=new j(l(e));p(v.subscribers,(function(e){e.callback({type:m.CHECKOUT_STEP,data:{checkout:r,step:t}})}))}}catch(e){console.error(e)}},v.disableHTML=function(){try{d.disableHTML()}catch(e){console.error(e)}},v.addToWishlist=function(e){try{c.addToWishlist(e),g.addToWishlist(e),v.subscribers.length&&p(v.subscribers,(function(t){t.callback({type:m.ADD_TO_WISHLIST,data:{productId:e}})}))}catch(e){console.error(e)}},v.search=function(e){try{c.search(e),d.search(e),g.search(e),v.subscribers.length&&p(v.subscribers,(function(t){t.callback({type:m.SEARCH,data:{searchKeyword:e}})}))}catch(e){console.error(e)}},v.completeRegistration=function(e){try{c.completeRegistration(),d.completeRegistration(),g.completeRegistration(),b.customerRegister(),v.subscribers.length&&p(v.subscribers,(function(t){t.callback({type:m.CUSTOMER_REGISTER,data:{email:e.email,firstName:e.firstName,lastName:e.lastName}})}))}catch(e){console.error(e)}},v.createEmailSubscripition=function(e){try{v.subscribers.length&&p(v.subscribers,(function(t){t.callback({type:m.EMAIL_SUBSCRIPTION,data:{email:e}})}))}catch(e){console.error(e)}},v.customerLogin=function(){return e(this,void 0,void 0,(function(){var e,r;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,v.getCustomerInfo()];case 1:return(e=t.sent())&&e.email?(d.customerLogin(e.email),b.customerLogin(),v.subscribers.length&&p(v.subscribers,(function(t){t.callback({type:m.CUSTOMER_LOGIN,data:{customer:e}})})),[3,3]):[2];case 2:return r=t.sent(),console.error(r),[3,3];case 3:return[2]}}))}))},v.customerLogout=function(){return e(this,void 0,void 0,(function(){return t(this,(function(e){try{v.subscribers.length&&p(v.subscribers,(function(e){e.callback({type:m.CUSTOMER_LOGOUT,data:{}})}))}catch(e){console.error(e)}return[2]}))}))},v.customerVisit=function(){return e(this,void 0,void 0,(function(){var e,r;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,v.getCustomerInfo()];case 1:return(e=t.sent())&&e.email?(d.customerVisit(e.email),b.customerVisit(),v.subscribers.length&&p(v.subscribers,(function(t){t.callback({type:m.CUSTOMER_VISIT,data:{customer:e}})})),[3,3]):[2];case 2:return r=t.sent(),console.error(r),[3,3];case 3:return[2]}}))}))},v.viewCart=function(e){try{if(e&&(c.viewCart(e),b.viewCart(e),f.viewCart(e),v.subscribers.length)){var t=new s(l(e));p(v.subscribers,(function(e){e.callback({type:m.VIEW_CART,data:{cart:t}})}))}}catch(e){console.error(e)}},v.viewCategory=function(e,t){try{if(c.viewCategory(e),d.viewCategory(t,e),b.viewCategory(t),g.viewCategory(t),v.subscribers.length){var r=new a(l(t));p(v.subscribers,(function(t){t.callback({type:m.VIEW_CATEGORY,data:{categoryPath:e,category:r}})}))}}catch(e){console.error(e)}},v.viewBrand=function(e){try{if(b.viewBrand(e),v.subscribers.length){var t=new i(l(e));p(v.subscribers,(function(e){e.callback({type:m.VIEW_BRAND,data:{brand:t}})}))}}catch(e){console.error(e)}},v.viewSearchResults=function(e,t){try{if(v.subscribers.length){var r=l(t).map((function(e){return new n(e.product,e.selectedVariantValues)}));p(v.subscribers,(function(t){t.callback({type:m.VIEW_SEARCH_RESULTS,data:{searchKeyword:e,productDetails:r}})}))}}catch(e){console.error(e)}},v.viewListing=function(e){try{if(v.subscribers.length){var t=l(e).map((function(e){return new n(e.product,e.selectedVariantValues)}));p(v.subscribers,(function(e){e.callback({type:m.VIEW_LISTING,data:{productDetails:t}})}))}}catch(e){console.error(e)}},v.contactForm=function(e){try{if(c.contactForm(),g.contactForm(),v.subscribers.length){var t=l(e);p(v.subscribers,(function(e){e.callback({type:m.CONTACT_FORM,data:{form:t}})}))}}catch(e){console.error(e)}},v.subscribers=[],v}();export{v as Analytics};
|
|
@@ -24,7 +24,8 @@ export declare enum IkasEventType {
|
|
|
24
24
|
VIEW_BRAND = "VIEW_BRAND",
|
|
25
25
|
VIEW_SEARCH_RESULTS = "VIEW_SEARCH_RESULTS",
|
|
26
26
|
VIEW_LISTING = "VIEW_LISTING",
|
|
27
|
-
CONTACT_FORM = "CONTACT_FORM"
|
|
27
|
+
CONTACT_FORM = "CONTACT_FORM",
|
|
28
|
+
EMAIL_SUBSCRIPTION = "EMAIL_SUBSCRIPTION"
|
|
28
29
|
}
|
|
29
30
|
export declare type IkasEventSubscriber = {
|
|
30
31
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Analytics as s}from"./analytics.js";function
|
|
1
|
+
import{Analytics as s}from"./analytics.js";function E(E){var r=function(E){if(T(E)){var r=s.subscribers.findIndex((function(s){return s.id===E.id}));-1!==r?s.subscribers[r]=E:s.subscribers.push(E)}};return E.forEach(r),{subscribe:r,unsubscribe:function(E){var r=s.subscribers.findIndex((function(s){return s.id===E}));-1!==r&&s.subscribers.splice(r,1)}}}function r(){if("undefined"!=typeof window){var s=[];try{var r=window.IkasEvents;r&&r.subscribers&&r.subscribers.length&&(s=r.subscribers)}catch(s){}window.IkasEvents=E(s)}}function n(){return"<script>\n var subscribers = [];\n var subscribe = (subscriber) => { subscribers.push(subscriber); }; \n var unsubscribe = () => {};\n \n window.IkasEvents = {\n subscribers,\n subscribe,\n unsubscribe\n };\n <\/script>"}function T(s){return!!(s&&s.id&&"string"==typeof s.id&&s.callback&&"function"==typeof s.callback)}var i;!function(s){s.PAGE_VIEW="PAGE_VIEW",s.PRODUCT_VIEW="PRODUCT_VIEW",s.ADD_TO_CART="ADD_TO_CART",s.REMOVE_FROM_CART="REMOVE_FROM_CART",s.BEGIN_CHECKOUT="BEGIN_CHECKOUT",s.CHECKOUT_STEP="CHECKOUT_STEP",s.COMPLETE_CHECKOUT="COMPLETE_CHECKOUT",s.ADD_TO_WISHLIST="ADD_TO_WISHLIST",s.SEARCH="SEARCH",s.CUSTOMER_REGISTER="CUSTOMER_REGISTER",s.CUSTOMER_LOGIN="CUSTOMER_LOGIN",s.CUSTOMER_LOGOUT="CUSTOMER_LOGOUT",s.CUSTOMER_VISIT="CUSTOMER_VISIT",s.VIEW_CART="VIEW_CART",s.VIEW_CATEGORY="VIEW_CATEGORY",s.VIEW_BRAND="VIEW_BRAND",s.VIEW_SEARCH_RESULTS="VIEW_SEARCH_RESULTS",s.VIEW_LISTING="VIEW_LISTING",s.CONTACT_FORM="CONTACT_FORM",s.EMAIL_SUBSCRIPTION="EMAIL_SUBSCRIPTION"}(i||(i={}));export{i as IkasEventType,E as IkasEvents,n as getIkasEventsScript,r as initIkasEvents,T as isValidIkasEventSubscriber};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{makeAutoObservable as e}from"mobx";import"../models/data/blog/index.js";import"../models/data/brand/index.js";import"../models/data/cart/campaign-offer/index.js";import"../models/data/cart/index.js";import"../models/data/category/index.js";import"../models/data/city/index.js";import"../models/data/country/index.js";import"../models/data/customer/address/index.js";import"../models/data/customer/attribute-value/index.js";import"../models/data/customer/index.js";import"../models/data/customer-attribute/customer-attribute-option/index.js";import"../models/data/customer-attribute/customer-attribute-sales-channel/index.js";import"../models/data/customer-attribute/index.js";import"../models/data/customer-review/index.js";import"../models/data/customer-review-summary/index.js";import"../models/data/district/index.js";import"../models/data/favorite-product/index.js";import"../models/data/html-meta-data/index.js";import"../models/data/image/index.js";import"../models/data/merchant-settings/index.js";import"../models/data/order/address/index.js";import"../models/data/order/adjustment/index.js";import"../models/data/order/gift-line/index.js";import"../models/data/order/invoice/index.js";import"../models/data/order/line-item/discount/index.js";import"../models/data/order/line-item/option/value/index.js";import"../models/data/order/line-item/option/index.js";import"../models/data/order/line-item/variant/index.js";import"../models/data/order/line-item/index.js";import"../models/data/order/package/tracking-info/index.js";import"../models/data/order/package/index.js";import"../models/data/order/payment-method/index.js";import"../models/data/order/refund/line-item/index.js";import"../models/data/order/shipping-line/index.js";import"../models/data/order/tax-line/index.js";import"../models/data/order/transaction/index.js";import"../models/data/order/index.js";import"../models/data/product/attribute-value/index.js";import"../models/data/product/variant/price/index.js";import"../models/data/product/variant/index.js";import"../models/data/variant-type/index.js";import"../models/data/product/index.js";import"../models/data/product-attribute/index.js";import"../models/data/product-filter/index.js";import"../models/data/product-campaign/campaign/index.js";import"../models/data/product-campaign/filter/index.js";import"../models/data/product-option-set/index.js";import"../models/data/raffle/index.js";import"../models/data/state/index.js";import"../models/data/variant-type/variant-value/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{IkasProductDetail as t}from"../models/ui/product-detail/index.js";import"../models/ui/product-list/index.js";import"../models/ui/product-attribute-detail/index.js";import"../models/ui/product-attribute-list/index.js";import"../models/ui/customer-review-list/index.js";import"../models/ui/customer-review-summary-list/index.js";import"../models/ui/validator/index.js";import"../models/ui/validator/rules/index.js";import"../models/ui/validator/form/login.js";import"../models/ui/validator/form/address.js";import"../models/ui/validator/form/register.js";import"../models/ui/validator/form/contact-form.js";import"../models/ui/validator/form/forgot-password.js";import"../models/ui/validator/form/recover-password.js";import"../models/ui/validator/form/account-info.js";import"../models/ui/validator/form/raffle-form.js";import"../models/ui/validator/form/customer-review.js";import"../models/ui/raffle-list/index.js";import"../models/theme/settings/index.js";import"../models/theme/custom-data/index.js";import{CheckoutStep as r}from"../components/checkout/model.js";import{IkasStorefrontConfig as o}from"../storefront/index.js";var i="undefined"==typeof window,a=function(){function a(){e(this)}return a.pageView=function(e){try{var t={event:"page-view",page:e};return!i&&window.dataLayer&&window.dataLayer.push(t),t}catch(e){console.error(e)}},a.productView=function(e){var t;try{var r={event:"view_item",ecommerce:{items:[d(e)],extraParams:{parent_id:e.product.id,currency:e.selectedVariant.price.currency,url:"https://".concat(window.location.hostname).concat(e.href),item_image:(null===(t=e.selectedVariant.mainImage)||void 0===t?void 0:t.src)||""}}};return!i&&window.dataLayer&&window.dataLayer.push(r),r}catch(e){console.error(e)}},a.addToCart=function(e,r){var a=o.store.cartStore.cart;try{var m={event:"add_to_cart",ecommerce:{items:[e instanceof t?d(e,r):n(e,r)],cart:a}};return!i&&window.dataLayer&&window.dataLayer.push(m),m}catch(e){console.error(e)}},a.removeFromCart=function(e,r){var a=o.store.cartStore.cart;try{var m={event:"remove_from_cart",ecommerce:{items:[e instanceof t?d(e,r):n(e,r)],cart:0===(null==a?void 0:a.itemCount)?null:a}};return!i&&window.dataLayer&&window.dataLayer.push(m),m}catch(e){console.error(e)}},a.beginCheckout=function(e){try{var t={event:"begin_checkout",ecommerce:{items:e.items.map((function(e){return n(e,e.quantity)}))}};return!i&&window.dataLayer&&window.dataLayer.push(t),t}catch(e){console.error(e)}},a.purchase=function(e,t){try{var r={event:"purchase",ecommerce:{purchase:{transaction_id:t,affiliation:window.location.hostname,value:""+e.totalFinalPrice,tax:""+e.totalTax,shipping:""+e.shippingTotal,currency:e.currencyCode,coupon:e.couponCode,items:e.items.map((function(e){return n(e,e.quantity)}))}}};return!i&&window.dataLayer&&window.dataLayer.push(r),r}catch(e){console.error(e)}},a.checkoutStep=function(e,t){var o="";t===r.INFO?o="checkout_info":t===r.SHIPPING?o="checkout_shipping":t===r.PAYMENT?o="checkout_payment":t===r.SUCCESS&&(o="checkout_success");try{var a={event:o,ecommerce:{items:e.items.map((function(e){return n(e,e.quantity)}))}};return!i&&window.dataLayer&&window.dataLayer.push(a),a}catch(e){console.error(e)}},a.disableHTML=function(){try{!i&&window.dataLayer&&window.dataLayer.push({"gtm.blocklist":["html","customScripts","customPixels","nonGoogleScripts"]})}catch(e){console.error(e)}},a.completeRegistration=function(){try{var e={event:"customer_register"};return!i&&window.dataLayer&&window.dataLayer.push(e),e}catch(e){console.error(e)}},a.search=function(e){try{var t={event:"search",search_string:e};return!i&&window.dataLayer&&window.dataLayer.push(t),t}catch(e){console.error(e)}},a.viewCategory=function(e,t){try{var r={event:"view_category",ecommerce:{category:[{id:e.id,name:e.name,metaData:e.metaData,href:e.href,image:e.image,path:t}]}};return!i&&window.dataLayer&&window.dataLayer.push(r),r}catch(e){console.error(e)}},a.customerLogin=function(e){try{var t={event:"customer_login",email:e};return!i&&window.dataLayer&&window.dataLayer.push(t),t}catch(e){console.error(e)}},a.customerVisit=function(e){try{var t={event:"customer_visit",email:e};return!i&&window.dataLayer&&window.dataLayer.push(t),t}catch(e){console.error(e)}},a}();function d(e,t){var r;return void 0===t&&(t=1),{item_name:e.product.name,item_id:e.selectedVariant.id,price:e.selectedVariant.price.finalPrice,item_brand:(null===(r=e.product.brand)||void 0===r?void 0:r.name)||"",item_category:e.product.categories.length?e.product.categories[0].name:"",item_category_2:e.product.categories.length>1?e.product.categories[1].name:"",item_category_3:e.product.categories.length>2?e.product.categories[2].name:"",item_category_4:e.product.categories.length>3?e.product.categories[3].name:"",item_variant:e.selectedVariant.variantValues.map((function(e){return e.name})).join(" / "),item_list_name:"",item_list_id:"",index:1,quantity:t}}function n(e,t){return void 0===t&&(t=1),{item_name:e.variant.name,item_id:e.variant.id,price:""+e.finalPrice,item_brand:"",item_category:"",item_category_2:"",item_category_3:"",item_category_4:"",item_variant:e.variant.variantValues.map((function(e){return e.variantValueName})).join(" / "),item_list_name:"",item_list_id:"",index:1,quantity:t}}export{a as GoogleTagManager};
|
|
1
|
+
import{makeAutoObservable as e}from"mobx";import"../models/data/blog/index.js";import"../models/data/brand/index.js";import"../models/data/cart/campaign-offer/index.js";import"../models/data/cart/index.js";import"../models/data/category/index.js";import"../models/data/city/index.js";import"../models/data/country/index.js";import"../models/data/customer/address/index.js";import"../models/data/customer/attribute-value/index.js";import"../models/data/customer/index.js";import"../models/data/customer-attribute/customer-attribute-option/index.js";import"../models/data/customer-attribute/customer-attribute-sales-channel/index.js";import"../models/data/customer-attribute/index.js";import"../models/data/customer-review/index.js";import"../models/data/customer-review-summary/index.js";import"../models/data/district/index.js";import"../models/data/favorite-product/index.js";import"../models/data/html-meta-data/index.js";import"../models/data/image/index.js";import"../models/data/merchant-settings/index.js";import"../models/data/order/address/index.js";import"../models/data/order/adjustment/index.js";import"../models/data/order/gift-line/index.js";import"../models/data/order/invoice/index.js";import"../models/data/order/line-item/discount/index.js";import"../models/data/order/line-item/option/value/index.js";import"../models/data/order/line-item/option/index.js";import"../models/data/order/line-item/variant/index.js";import"../models/data/order/line-item/index.js";import"../models/data/order/package/tracking-info/index.js";import"../models/data/order/package/index.js";import"../models/data/order/payment-method/index.js";import"../models/data/order/refund/line-item/index.js";import"../models/data/order/shipping-line/index.js";import"../models/data/order/tax-line/index.js";import"../models/data/order/transaction/index.js";import"../models/data/order/index.js";import"../models/data/product/attribute-value/index.js";import"../models/data/product/variant/price/index.js";import"../models/data/product/variant/index.js";import"../models/data/variant-type/index.js";import"../models/data/product/index.js";import"../models/data/product-attribute/index.js";import"../models/data/product-filter/index.js";import"../models/data/product-campaign/campaign/index.js";import"../models/data/product-campaign/filter/index.js";import"../models/data/product-option-set/index.js";import"../models/data/raffle/index.js";import"../models/data/state/index.js";import"../models/data/variant-type/variant-value/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{IkasProductDetail as t}from"../models/ui/product-detail/index.js";import"../models/ui/product-list/index.js";import"../models/ui/product-attribute-detail/index.js";import"../models/ui/product-attribute-list/index.js";import"../models/ui/customer-review-list/index.js";import"../models/ui/customer-review-summary-list/index.js";import"../models/ui/validator/index.js";import"../models/ui/validator/rules/index.js";import"../models/ui/validator/form/login.js";import"../models/ui/validator/form/address.js";import"../models/ui/validator/form/register.js";import"../models/ui/validator/form/contact-form.js";import"../models/ui/validator/form/forgot-password.js";import"../models/ui/validator/form/recover-password.js";import"../models/ui/validator/form/account-info.js";import"../models/ui/validator/form/raffle-form.js";import"../models/ui/validator/form/customer-review.js";import"../models/ui/raffle-list/index.js";import"../models/theme/settings/index.js";import"../models/theme/custom-data/index.js";import{CheckoutStep as r}from"../components/checkout/model.js";import{IkasStorefrontConfig as o}from"../storefront/index.js";var i="undefined"==typeof window,a=function(){function a(){e(this)}return a.pageView=function(e){try{var t={event:"page-view-GTM",page:e};return!i&&window.dataLayer&&window.dataLayer.push(t),t}catch(e){console.error(e)}},a.productView=function(e){var t;try{var r={event:"view_item-GTM",ecommerce:{items:[d(e)],extraParams:{parent_id:e.product.id,currency:e.selectedVariant.price.currency,url:"https://".concat(window.location.hostname).concat(e.href),item_image:(null===(t=e.selectedVariant.mainImage)||void 0===t?void 0:t.src)||""}}};return!i&&window.dataLayer&&window.dataLayer.push(r),r}catch(e){console.error(e)}},a.addToCart=function(e,r){var a=o.store.cartStore.cart;try{var m={event:"add_to_cart-GTM",ecommerce:{items:[e instanceof t?d(e,r):n(e,r)],cart:a}};return!i&&window.dataLayer&&window.dataLayer.push(m),m}catch(e){console.error(e)}},a.removeFromCart=function(e,r){var a=o.store.cartStore.cart;try{var m={event:"remove_from_cart-GTM",ecommerce:{items:[e instanceof t?d(e,r):n(e,r)],cart:0===(null==a?void 0:a.itemCount)?null:a}};return!i&&window.dataLayer&&window.dataLayer.push(m),m}catch(e){console.error(e)}},a.beginCheckout=function(e){try{var t={event:"begin_checkout-GTM",ecommerce:{items:e.items.map((function(e){return n(e,e.quantity)}))}};return!i&&window.dataLayer&&window.dataLayer.push(t),t}catch(e){console.error(e)}},a.purchase=function(e,t){try{var r={event:"purchase-GTM",ecommerce:{purchase:{transaction_id:t,affiliation:window.location.hostname,value:""+e.totalFinalPrice,tax:""+e.totalTax,shipping:""+e.shippingTotal,currency:e.currencyCode,coupon:e.couponCode,items:e.items.map((function(e){return n(e,e.quantity)}))}}};return!i&&window.dataLayer&&window.dataLayer.push(r),r}catch(e){console.error(e)}},a.checkoutStep=function(e,t){var o="";t===r.INFO?o="checkout_info-GTM":t===r.SHIPPING?o="checkout_shipping-GTM":t===r.PAYMENT?o="checkout_payment-GTM":t===r.SUCCESS&&(o="checkout_success-GTM");try{var a={event:o,ecommerce:{items:e.items.map((function(e){return n(e,e.quantity)}))}};return!i&&window.dataLayer&&window.dataLayer.push(a),a}catch(e){console.error(e)}},a.disableHTML=function(){try{!i&&window.dataLayer&&window.dataLayer.push({"gtm.blocklist":["html","customScripts","customPixels","nonGoogleScripts"]})}catch(e){console.error(e)}},a.completeRegistration=function(){try{var e={event:"customer_register-GTM"};return!i&&window.dataLayer&&window.dataLayer.push(e),e}catch(e){console.error(e)}},a.search=function(e){try{var t={event:"search-GTM",search_string:e};return!i&&window.dataLayer&&window.dataLayer.push(t),t}catch(e){console.error(e)}},a.viewCategory=function(e,t){try{var r={event:"view_category-GTM",ecommerce:{category:[{id:e.id,name:e.name,metaData:e.metaData,href:e.href,image:e.image,path:t}]}};return!i&&window.dataLayer&&window.dataLayer.push(r),r}catch(e){console.error(e)}},a.customerLogin=function(e){try{var t={event:"customer_login-GTM",email:e};return!i&&window.dataLayer&&window.dataLayer.push(t),t}catch(e){console.error(e)}},a.customerVisit=function(e){try{var t={event:"customer_visit-GTM",email:e};return!i&&window.dataLayer&&window.dataLayer.push(t),t}catch(e){console.error(e)}},a}();function d(e,t){var r;return void 0===t&&(t=1),{item_name:e.product.name,item_id:e.selectedVariant.id,price:e.selectedVariant.price.finalPrice,item_brand:(null===(r=e.product.brand)||void 0===r?void 0:r.name)||"",item_category:e.product.categories.length?e.product.categories[0].name:"",item_category_2:e.product.categories.length>1?e.product.categories[1].name:"",item_category_3:e.product.categories.length>2?e.product.categories[2].name:"",item_category_4:e.product.categories.length>3?e.product.categories[3].name:"",item_variant:e.selectedVariant.variantValues.map((function(e){return e.name})).join(" / "),item_list_name:"",item_list_id:"",index:1,quantity:t}}function n(e,t){return void 0===t&&(t=1),{item_name:e.variant.name,item_id:e.variant.id,price:""+e.finalPrice,item_brand:"",item_category:"",item_category_2:"",item_category_3:"",item_category_4:"",item_variant:e.variant.variantValues.map((function(e){return e.variantValueName})).join(" / "),item_list_name:"",item_list_id:"",index:1,quantity:t}}export{a as GoogleTagManager};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as
|
|
1
|
+
import*as t from"react";import{IkasStorefrontConfig as e}from"../../storefront/index.js";import n from'../../ext/html-react-parser/index.js';import{getIkasEventsScript as a}from"../events.js";import{observer as r}from"mobx-react-lite";var o=r((function(r){var o=r.blockHTML,i=e.gtmId,s=e.fbpId,c=e.storefrontJSScripts,l=e.analytics4Id,d=e.universalAnalyticsId,m=e.tiktokPixelId;return t.createElement(t.Fragment,null,o&&!e.isEditor&&t.createElement("script",{dangerouslySetInnerHTML:{__html:"dataLayer = [{'gtm.blocklist': ['html']}];"}}),i&&!e.isEditor&&t.createElement("script",{defer:!0,dangerouslySetInnerHTML:{__html:"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','".concat(i,"');")}}),s&&!e.isEditor&&t.createElement("script",{defer:!0,dangerouslySetInnerHTML:{__html:"!function(f,b,e,v,n,t,s)\n {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n n.queue=[];t=b.createElement(e);t.async=!0;\n t.src=v;s=b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t,s)}(window, document,'script',\n 'https://connect.facebook.net/en_US/fbevents.js');\n fbq('init', '".concat(s,"');\n fbq('track', 'PageView');")}}),l&&!e.isEditor&&t.createElement(t.Fragment,null,t.createElement("script",{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=".concat(l)}),t.createElement("script",{defer:!0,dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', '".concat(l,"');")}})),d&&!e.isEditor&&t.createElement(t.Fragment,null,t.createElement("script",{defer:!0,dangerouslySetInnerHTML:{__html:"window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;\n ga('create', '".concat(d,"', 'auto');\n ga('require', 'ec');\n ga('send', 'pageview');")}}),t.createElement("script",{async:!0,src:"https://www.google-analytics.com/analytics.js"})),m&&!e.isEditor&&t.createElement("script",{defer:!0,dangerouslySetInnerHTML:{__html:'!function (w, d, t) {\n w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];ttq.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);ttq.instance=function(t){for(var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n]);return e},ttq.load=function(e,n){var i="https://analytics.tiktok.com/i18n/pixel/events.js";ttq._i=ttq._i||{},ttq._i[e]=[],ttq._i[e]._u=i,ttq._t=ttq._t||{},ttq._t[e]=+new Date,ttq._o=ttq._o||{},ttq._o[e]=n||{};var o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=i+"?sdkid="+e+"&lib="+t;var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(o,a)};\n ttq.load(\''.concat(m,"');\n ttq.page();\n }(window, document, 'ttq');")}}),n(a()),c.map((function(t){return n(t)})))})),i=function(){var n=e.gtmId,a=e.fbpId;return t.createElement(t.Fragment,null,n&&!e.isEditor&&t.createElement("noscript",{dangerouslySetInnerHTML:{__html:'<iframe src="https://www.googletagmanager.com/ns.html?id='.concat(n,'" height="0" width="0" style="display:none;visibility:hidden"></iframe>')}}),a&&!e.isEditor&&t.createElement("noscript",{dangerouslySetInnerHTML:{__html:'<img height="1" width="1" style="display:none" \n src="https://www.facebook.com/tr?id='.concat(a,'&ev=PageView&noscript=1"/>')}}))};export{i as AnalyticsBody,o as AnalyticsHead};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IkasCheckout from "../models/data/checkout";
|
|
2
|
+
import { IkasProductDetail, IkasOrderLineItem, IkasCategory } from "../models";
|
|
3
|
+
export declare class TiktokPixel {
|
|
4
|
+
constructor();
|
|
5
|
+
static productView(productDetail: IkasProductDetail): void;
|
|
6
|
+
static addToCart(item: IkasOrderLineItem, quantity: number): void;
|
|
7
|
+
static beginCheckout(): void;
|
|
8
|
+
static purchase(checkout: IkasCheckout): void;
|
|
9
|
+
static addToWishlist(id: string): void;
|
|
10
|
+
static search(searchKeyword: string): void;
|
|
11
|
+
static completeRegistration(): void;
|
|
12
|
+
static viewCategory(category: IkasCategory): void;
|
|
13
|
+
static contactForm(): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{makeAutoObservable as t}from"mobx";import{IkasStorefrontConfig as n}from"../storefront/index.js";var r="undefined"==typeof window,e=function(){function n(){t(this)}return n.productView=function(t){try{return o(),void(!r&&window.ttq&&window.ttq.track("ViewContent",function(t,n){void 0===n&&(n=1);return{content_type:"product",quantity:n,content_id:t.selectedVariant.id,value:t.selectedVariant.price.finalPrice,currency:""===t.selectedVariant.price.currency?"TRY":t.selectedVariant.price.currency}}(t)))}catch(t){console.error(t)}},n.addToCart=function(t,n){try{return o(),void(!r&&window.ttq&&window.ttq.track("AddToCart",function(t,n){void 0===n&&(n=1);return{content_id:t.variant.id,content_type:"product",content_name:t.variant.name,quantity:n,value:t.finalPrice,currency:t.currencyCode}}(t,n)))}catch(t){console.error(t)}},n.beginCheckout=function(){try{return o(),void(!r&&window.ttq&&window.ttq.track("InitiateCheckout"))}catch(t){console.error(t)}},n.purchase=function(t){try{return o(),void(!r&&window.ttq&&window.ttq.track("CompletePayment",function(t){var n=[];return null==t||t.items.map((function(t){n.push({content_id:t.variant.id,content_type:"product",content_name:t.variant.name,price:t.finalPrice,quantity:t.quantity})})),{contents:n,content_type:"product_group",currency:t.items[0].currencyCode,value:t.totalPrice}}(t)))}catch(t){console.error(t)}},n.addToWishlist=function(t){try{return o(),void(!r&&window.ttq&&window.ttq.track("AddToWishlist",{content_id:t}))}catch(t){console.error(t)}},n.search=function(t){try{return o(),void(!r&&window.ttq&&window.ttq.track("Search",{query:t,content_id:"Search"}))}catch(t){console.error(t)}},n.completeRegistration=function(){try{return o(),void(!r&&window.ttq&&window.ttq.track("CompleteRegistration"))}catch(t){console.error(t)}},n.viewCategory=function(t){try{return o(),void(!r&&window.ttq&&window.ttq.track("ViewContent",{content_id:t.id,content_type:"product_group",content_category:t.name}))}catch(t){console.error(t)}},n.contactForm=function(){try{return o(),void(!r&&window.ttq&&window.ttq.track("Contact"))}catch(t){console.error(t)}},n}();function o(){try{var t=n.store.customerStore.customer;if(!t)return;return void(!r&&window.ttq&&window.ttq.identify({external_id:t.id,email:t.email,phone_number:t.phone||""}))}catch(t){console.error(t)}}export{e as TiktokPixel};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e={actions:{login:"Login",edit:"Edit",apply:"Apply",close:"Close",cancel:"Cancel",save:"Save",continue:"Continue",show:"Show",hide:"Hide",sendMessage:"Send Message",continueWithShipping:"Continue with Shipping",continueWithPayment:"Continue with Payment",completeOrder:"Complete the Order",backToShopping:"Back to Shopping",backToCart:"Back to Cart"},securePayment:"Secure Payment",alreadyHaveAnAccount:"Already have an account?",address:"Address",addressError:"Enter address",missingAddressFields:"There are some missing required fields in this address.",editAddress:"Edit Address",deleteAddress:"Delete Address",saveAddressCta:"Save this address for future purchases",firstName:"Name",firstNameError:"Enter name",lastName:"Surname",lastNameError:"Enter surname",identityNumber:"Identity Number",identityNumberError:"Enter identity number",addressTitle:"Adress Title",adressTitleError:"Enter address title",addressLine2:"Address Second Line",postalCode:"Postal Code",postalCodeError:"Enter postal code",country:"Country",countryError:"Select country",state:"State",stateError:"Select state",city:"City",cityError:"Select city",district:"District",districtError:"Select district",phone:"Phone",phoneError:"Enter a valid phone number",companyName:"Company Name",taxOffice:"Tax Office",taxNumber:"Tax Number",deliveryMethod:"Delivery Method",deliveryToAddress:"Delivery to Address",inStoreDelivery:"In Store Delivery",stockLocation:{deliveryTime:{WITHIN_ONE_HOUR:"Usually ready in 1 hour",WITHIN_TWO_HOURS:"Usually ready in 2 hours",WITHIN_FOUR_HOURS:"Usually ready in 4 hours",WITHIN_TWENTY_FOUR_HOURS:"Usually ready in 24 hours",TWO_IN_FOUR_DAYS:"Usually ready in 2-4 days",WITHIN_PLUS_FIVE_DAYS:"Usually ready in +5 days"}},recipientsInfo:"Information of Recipients",pickUpLocation:"Pick Up Location",shipping:"Shipping",payment:"Payment",summary:"Summary",free:"Free",standartShipping:"Standart Shipping",returnPolicy:"Return Policy",privacyPolicy:"Privacy Policy",termsOfService:"Terms of Service",newAddress:"New Address",billingAddress:"Billing Address",shippingAddress:"Shipping Address",corporateInvoice:"Corporate invoice",contactInfo:"Contact Information",email:"E-Mail",emailError:"Enter a valid e-mail",guestEmailTooltip:"Your order information will be sent to this e-mail address",customerConsentCta:"Contact me about the news and promotions",useShippingForBilling:"Use shipping address for billing",installmentOptions:"Installment Options",singleInstallment:"Single Payment",installments:"Installments",creditCard:"Credit Card",ackPrivacyPolicy:"Privacy Policy",ackTermsOfService:"Terms of Service",ackPoliciesSentence:"I acknowledge the {{ ackPrivacyPolicy }} and {{ ackTermsOfService }}.",securePaymentTooltip:"All payments are secure and encrypted",giftPackage:"Gift Package",giftPackageCta:"Gift wrap this order",giftPackageCtaPlaceholder:"Enter your gift message",paymentMethod:"Payment Method",paymentMethodDiscount:"Discount",paymentMethodAdditionalPrice:"Fee",orderSuccessTitle:"Thank you for your order!",orderSuccessDescription:"Dear {{ customerName }}, we have received your order. We will notify you when your order is shipped.",orderSuccessInStoreDeliveryDescription:"Dear {{ customerName }}, we have received your order. We will notify you by e-mail when your order is delivered to the store.",orderNoAndDate:"Order Number / Date",paymentSummary:"Payment Summary",shippingSummary:"Shipping Summary",helpCtaQuestion:"Do you need help?",helpCta:"Contact us",contactForm:"Contact Form",contactFormSent:"Message sent successfully",contactFormDescription:"We will respond to your message as soon as possible",contactFormCta:"Type your message",orderPackageStatus:{unfulfilled:"Unfulfilled",readyForShipment:"Ready For Shipment",fulfilled:"Fulfilled",partiallyFulfilled:"Partially Fulfilled",delivered:"Delivered",unableToDeliver:"Unable to Deliver",cancelled:"Cancelled",cancelRejected:"Cancel Rejected",cancelRequested:"Cancel Requested",refunded:"Refunded",refundRequestAccepted:"Refund Request Accepted",refundRejected:"Refund Rejected",refundRequested:"Refund Requested"},quantity:"Quantity",cartItemProduct:"product",giftCodeErrorTitle:"Gift Code Error",giftCodeErrorDescription:"The gift code you entered is not valid or not applicable to the products in your cart. Please check your code and try again.",subtotal:"Subtotal",total:"Total",subtotalTooltip:"Subtotal reflects the total for your cart before the discounts and does not include the shipping fees.",cartShippingTitle:"Delivery / Shipping",cartTaxTitle:"Tax",cartInterest:"Interest",couponCode:"Coupon Code",addCouponCode:"Add coupon code",addOrderNote:"Add order note",editOrderNote:"Edit order note",orderNote:"Order Note",enterPhoneNumber:"Enter phone number",cardNumber:"Card Number",cardNumberError:"Please enter a valid card number",cardHolderName:"Cardholder Name",cardHolderError:"Enter cardholder name",cardExpiry:"Month / Year",cardExpiryError:"Enter a valid date",cardCVC:"CVC",cardCVCError:"Enter a valid CVC",cardCVCTooltip:"CVC is the 3 digit number behind your card",errorCustomerRequired:"This e-mail address belongs to a registered user. Please login to your account.",errorNoShipping:"Your region is not available for shipping.",errorPayment:"Your payment could not be received. Please check your information and try again.",errorStockTitle:"Stock Update!",errorStockDescription:"Some items in your cart are out of stock. Would you like to continue by removing these products from your cart?",errorUnknown:"An unexpected error has occurred. Please try again.",errorPickupLocationRequired:"Choose pickup location",customizedProduct:"Customized Product",yes:"Yes",no:"No"};export{e as default};
|
|
1
|
+
var e={actions:{login:"Login",edit:"Edit",apply:"Apply",close:"Close",cancel:"Cancel",save:"Save",continue:"Continue",show:"Show",hide:"Hide",sendMessage:"Send Message",continueWithShipping:"Continue with Shipping",continueWithPayment:"Continue with Payment",completeOrder:"Complete the Order",backToShopping:"Back to Shopping",backToCart:"Back to Cart"},securePayment:"Secure Payment",alreadyHaveAnAccount:"Already have an account?",address:"Address",addressError:"Enter address",missingAddressFields:"There are some missing required fields in this address.",editAddress:"Edit Address",deleteAddress:"Delete Address",saveAddressCta:"Save this address for future purchases",firstName:"Name",firstNameError:"Enter name",lastName:"Surname",lastNameError:"Enter surname",identityNumber:"Identity Number",identityNumberError:"Enter identity number",addressTitle:"Adress Title",adressTitleError:"Enter address title",addressLine1:"Address",addressLine2:"Address Second Line",postalCode:"Postal Code",postalCodeError:"Enter postal code",country:"Country",countryError:"Select country",state:"State",stateError:"Select state",city:"City",cityError:"Select city",district:"District",districtError:"Select district",phone:"Phone",phoneError:"Enter a valid phone number",companyName:"Company Name",taxOffice:"Tax Office",taxNumber:"Tax Number",deliveryMethod:"Delivery Method",deliveryToAddress:"Delivery to Address",inStoreDelivery:"In Store Delivery",stockLocation:{deliveryTime:{WITHIN_ONE_HOUR:"Usually ready in 1 hour",WITHIN_TWO_HOURS:"Usually ready in 2 hours",WITHIN_FOUR_HOURS:"Usually ready in 4 hours",WITHIN_TWENTY_FOUR_HOURS:"Usually ready in 24 hours",TWO_IN_FOUR_DAYS:"Usually ready in 2-4 days",WITHIN_PLUS_FIVE_DAYS:"Usually ready in +5 days"}},recipientsInfo:"Information of Recipients",pickUpLocation:"Pick Up Location",shipping:"Shipping",payment:"Payment",summary:"Summary",free:"Free",standartShipping:"Standart Shipping",returnPolicy:"Return Policy",privacyPolicy:"Privacy Policy",termsOfService:"Terms of Service",newAddress:"New Address",billingAddress:"Billing Address",shippingAddress:"Shipping Address",corporateInvoice:"Corporate invoice",contactInfo:"Contact Information",email:"E-Mail",emailError:"Enter a valid e-mail",guestEmailTooltip:"Your order information will be sent to this e-mail address",customerConsentCta:"Contact me about the news and promotions",useShippingForBilling:"Use shipping address for billing",installmentOptions:"Installment Options",singleInstallment:"Single Payment",installments:"Installments",creditCard:"Credit Card",ackPrivacyPolicy:"Privacy Policy",ackTermsOfService:"Terms of Service",ackPoliciesSentence:"I acknowledge the {{ ackPrivacyPolicy }} and {{ ackTermsOfService }}.",securePaymentTooltip:"All payments are secure and encrypted",giftPackage:"Gift Package",giftPackageCta:"Gift wrap this order",giftPackageCtaPlaceholder:"Enter your gift message",paymentMethod:"Payment Method",paymentMethodDiscount:"Discount",paymentMethodAdditionalPrice:"Fee",orderSuccessTitle:"Thank you for your order!",orderSuccessDescription:"Dear {{ customerName }}, we have received your order. We will notify you when your order is shipped.",orderSuccessInStoreDeliveryDescription:"Dear {{ customerName }}, we have received your order. We will notify you by e-mail when your order is delivered to the store.",orderNoAndDate:"Order Number / Date",paymentSummary:"Payment Summary",shippingSummary:"Shipping Summary",helpCtaQuestion:"Do you need help?",helpCta:"Contact us",contactForm:"Contact Form",contactFormSent:"Message sent successfully",contactFormDescription:"We will respond to your message as soon as possible",contactFormCta:"Type your message",orderPackageStatus:{unfulfilled:"Unfulfilled",readyForShipment:"Ready For Shipment",fulfilled:"Fulfilled",partiallyFulfilled:"Partially Fulfilled",delivered:"Delivered",unableToDeliver:"Unable to Deliver",cancelled:"Cancelled",cancelRejected:"Cancel Rejected",cancelRequested:"Cancel Requested",refunded:"Refunded",refundRequestAccepted:"Refund Request Accepted",refundRejected:"Refund Rejected",refundRequested:"Refund Requested"},quantity:"Quantity",cartItemProduct:"product",giftCodeErrorTitle:"Gift Code Error",giftCodeErrorDescription:"The gift code you entered is not valid or not applicable to the products in your cart. Please check your code and try again.",subtotal:"Subtotal",total:"Total",subtotalTooltip:"Subtotal reflects the total for your cart before the discounts and does not include the shipping fees.",cartShippingTitle:"Delivery / Shipping",cartTaxTitle:"Tax",cartInterest:"Interest",couponCode:"Coupon Code",addCouponCode:"Add coupon code",addOrderNote:"Add order note",editOrderNote:"Edit order note",orderNote:"Order Note",enterPhoneNumber:"Enter phone number",cardNumber:"Card Number",cardNumberError:"Please enter a valid card number",cardHolderName:"Cardholder Name",cardHolderError:"Enter cardholder name",cardExpiry:"Month / Year",cardExpiryError:"Enter a valid date",cardCVC:"CVC",cardCVCError:"Enter a valid CVC",cardCVCTooltip:"CVC is the 3 digit number behind your card",errorCustomerRequired:"This e-mail address belongs to a registered user. Please login to your account.",errorNoShipping:"Your region is not available for shipping.",errorPayment:"Your payment could not be received. Please check your information and try again.",errorStockTitle:"Stock Update!",errorStockDescription:"Some items in your cart are out of stock. Would you like to continue by removing these products from your cart?",errorUnknown:"An unexpected error has occurred. Please try again.",errorPickupLocationRequired:"Choose pickup location",customizedProduct:"Customized Product",yes:"Yes",no:"No"};export{e as default};
|