@ikas/storefront-models 4.0.0-alpha.58 → 4.0.0-alpha.6
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-cjs/_virtual/_tslib.js +1 -0
- package/build-cjs/index.d.ts +0 -14
- package/build-cjs/index.js +2 -1
- package/build-cjs/models/base/init.js +1 -0
- package/build-cjs/models/blog/category/init.js +1 -0
- package/build-cjs/models/blog/init.js +1 -0
- package/build-cjs/models/blog/meta-data/index.js +1 -0
- package/build-cjs/models/brand/index.js +1 -0
- package/build-cjs/models/brand/init.js +1 -0
- package/build-cjs/models/campaign-offer/index.js +1 -0
- package/build-cjs/models/campaign-offer/product/index.js +1 -0
- package/build-cjs/models/cart/available-shipping-method/index.js +1 -0
- package/build-cjs/models/cart/campaign-offer/index.js +1 -0
- package/build-cjs/models/category/index.js +1 -0
- package/build-cjs/models/category/init.js +2 -1
- package/build-cjs/models/category/init.js.map +1 -1
- package/build-cjs/models/category/path-item/index.d.ts +0 -2
- package/build-cjs/models/checkout-settings/index.js +1 -0
- package/build-cjs/models/checkout-settings/price/index.d.ts +0 -1
- package/build-cjs/models/country/index.d.ts +0 -2
- package/build-cjs/models/customer/attribute/index.js +1 -0
- package/build-cjs/models/customer/attribute/init.js +1 -0
- package/build-cjs/models/customer/attribute/sales-channel/index.js +1 -0
- package/build-cjs/models/customer/index.js +1 -0
- package/build-cjs/models/customer/review/index.js +1 -0
- package/build-cjs/models/customer/review/init.js +1 -0
- package/build-cjs/models/html-meta-data/index.js +1 -0
- package/build-cjs/models/html-meta-data/init.js +1 -0
- package/build-cjs/models/merchant-settings/index.d.ts +0 -3
- package/build-cjs/models/merchant-settings/index.js +1 -0
- package/build-cjs/models/merchant-settings/index.js.map +1 -1
- package/build-cjs/models/merchant-settings/init.js +1 -0
- package/build-cjs/models/order/adjustment/index.js +1 -0
- package/build-cjs/models/order/index.d.ts +1 -3
- package/build-cjs/models/order/index.js +2 -1
- package/build-cjs/models/order/index.js.map +1 -1
- package/build-cjs/models/order/invoice/index.js +1 -0
- package/build-cjs/models/order/line-item/index.d.ts +0 -3
- package/build-cjs/models/order/line-item/index.js +1 -0
- package/build-cjs/models/order/line-item/index.js.map +1 -1
- package/build-cjs/models/order/line-item/variant/index.d.ts +0 -4
- package/build-cjs/models/order/line-item/variant/price/index.d.ts +0 -1
- package/build-cjs/models/order/package/index.js +1 -0
- package/build-cjs/models/order/transaction/index.d.ts +1 -1
- package/build-cjs/models/order/transaction/index.js +1 -0
- package/build-cjs/models/order/transaction/index.js.map +1 -1
- package/build-cjs/models/order/transaction/payment-method-detail/index.js +1 -0
- package/build-cjs/models/payment-gateway/additional-price/index.js +1 -0
- package/build-cjs/models/payment-gateway/index.js +1 -0
- package/build-cjs/models/payment-gateway/init.js +1 -0
- package/build-cjs/models/payment-gateway/settings/index.js +1 -0
- package/build-cjs/models/product/attribute/index.d.ts +1 -3
- package/build-cjs/models/product/attribute/index.js +2 -1
- package/build-cjs/models/product/attribute/index.js.map +1 -1
- package/build-cjs/models/product/attribute/init.js +1 -0
- package/build-cjs/models/product/attribute-value/init.js +1 -0
- package/build-cjs/models/product/campaign/data/index.js +1 -0
- package/build-cjs/models/product/campaign/filter/index.js +1 -0
- package/build-cjs/models/product/filter/index.d.ts +1 -3
- package/build-cjs/models/product/filter/index.js +2 -1
- package/build-cjs/models/product/filter/index.js.map +1 -1
- package/build-cjs/models/product/image/init.js +1 -0
- package/build-cjs/models/product/index.d.ts +0 -2
- package/build-cjs/models/product/index.js +1 -0
- package/build-cjs/models/product/index.js.map +1 -1
- package/build-cjs/models/product/init.js +1 -0
- package/build-cjs/models/product/option-set/init.js +1 -0
- package/build-cjs/models/product/option-set/option/index.js +1 -0
- package/build-cjs/models/product/option-set/option/init.js +1 -0
- package/build-cjs/models/product/variant/index.d.ts +0 -2
- package/build-cjs/models/product/variant/init.js +1 -0
- package/build-cjs/models/product/variant/price/index.d.ts +0 -2
- package/build-cjs/models/product/variant-type/index.d.ts +0 -1
- package/build-cjs/models/product/variant-type/init.js +1 -0
- package/build-cjs/models/raffle/index.d.ts +3 -9
- package/build-cjs/models/raffle/index.js +2 -1
- package/build-cjs/models/raffle/index.js.map +1 -1
- package/build-cjs/models/raffle/init.js +1 -0
- package/build-cjs/models/stock-location/index.js +1 -0
- package/build-cjs/models/storefront/index.d.ts +0 -1
- package/build-cjs/models/storefront/index.js +1 -0
- package/build-cjs/models/storefront/index.js.map +1 -1
- package/build-cjs/models/storefront/routing/index.d.ts +0 -2
- package/build-cjs/models/storefront/theme/index.js +1 -0
- package/build-cjs/models/theme-json/component/prop/index.js +1 -0
- package/build-cjs/models/theme-json/page/index.js +1 -0
- package/build-cjs/models/theme-json/settings/index.js +1 -0
- package/build-cjs/models/variant-type/index.js +1 -0
- package/build-cjs/models/variant-type/init.js +1 -0
- package/build-cjs/models/variant-type/variant-value/init.js +1 -0
- package/package.json +3 -9
- package/{build/index.d.ts → src/index.ts} +213 -170
- package/src/models/base/index.ts +6 -0
- package/src/models/base/init.ts +14 -0
- package/{build/models/blog/category/index.d.ts → src/models/blog/category/index.ts} +11 -9
- package/src/models/blog/category/init.ts +33 -0
- package/{build/models/blog/tag/index.d.ts → src/models/blog/content/index.ts} +5 -4
- package/src/models/blog/index.ts +26 -0
- package/src/models/blog/init.ts +7 -0
- package/src/models/blog/meta-data/index.ts +16 -0
- package/src/models/blog/tag/index.ts +5 -0
- package/src/models/blog/writer/index.ts +4 -0
- package/src/models/brand/index.ts +26 -0
- package/src/models/brand/init.ts +27 -0
- package/src/models/brand/translation/index.ts +5 -0
- package/src/models/campaign-offer/index.ts +43 -0
- package/src/models/campaign-offer/product/index.ts +27 -0
- package/src/models/cart/available-shipping-method/index.ts +13 -0
- package/src/models/cart/campaign-offer/index.ts +24 -0
- package/src/models/cart/index.ts +12 -0
- package/src/models/category/index.ts +30 -0
- package/src/models/category/init.ts +33 -0
- package/src/models/category/path-item/index.ts +9 -0
- package/src/models/category/translations/index.ts +5 -0
- package/src/models/checkout/index.ts +3 -0
- package/src/models/checkout-settings/index.ts +24 -0
- package/src/models/checkout-settings/option/index.ts +4 -0
- package/src/models/checkout-settings/price/index.ts +4 -0
- package/src/models/city/index.ts +11 -0
- package/src/models/contact-form/index.ts +7 -0
- package/src/models/country/index.ts +15 -0
- package/src/models/customer/address/city/index.ts +5 -0
- package/src/models/customer/address/country/index.ts +7 -0
- package/src/models/customer/address/district/index.ts +5 -0
- package/src/models/customer/address/index.tsx +27 -0
- package/src/models/customer/address/state/index.ts +5 -0
- package/src/models/customer/attribute/index.ts +22 -0
- package/src/models/customer/attribute/init.ts +34 -0
- package/src/models/customer/attribute/option/index.ts +7 -0
- package/src/models/customer/attribute/sales-channel/index.ts +18 -0
- package/src/models/customer/attribute/translation/index.ts +8 -0
- package/src/models/customer/attribute/translation/option/index.ts +4 -0
- package/src/models/customer/attribute/value/index.ts +12 -0
- package/src/models/customer/index.ts +48 -0
- package/src/models/customer/review/index.ts +28 -0
- package/src/models/customer/review/init.ts +7 -0
- package/src/models/customer/review/settings/index.ts +4 -0
- package/src/models/customer/review/summary/index.ts +9 -0
- package/src/models/customer/review/summary/star/index.ts +4 -0
- package/src/models/district/index.ts +11 -0
- package/src/models/favorite-product/index.ts +6 -0
- package/src/models/filter-category/index.ts +9 -0
- package/src/models/html-meta-data/index.ts +28 -0
- package/src/models/html-meta-data/init.ts +27 -0
- package/src/models/html-meta-data/translations/index.ts +5 -0
- package/src/models/image/index.ts +4 -0
- package/src/models/last-viewed-product/index.ts +4 -0
- package/src/models/merchant-settings/index.ts +25 -0
- package/src/models/merchant-settings/init.ts +7 -0
- package/src/models/order/address/city/index.ts +5 -0
- package/src/models/order/address/country/index.ts +7 -0
- package/src/models/order/address/district/index.ts +5 -0
- package/src/models/order/address/index.ts +25 -0
- package/src/models/order/address/state/index.ts +5 -0
- package/src/models/order/adjustment/applied-order-line/index.ts +6 -0
- package/src/models/order/adjustment/index.ts +24 -0
- package/src/models/order/customer/index.ts +9 -0
- package/src/models/order/gift-line/index.ts +4 -0
- package/src/models/order/index.ts +90 -0
- package/src/models/order/invoice/index.ts +15 -0
- package/src/models/order/line-item/discount/index.ts +10 -0
- package/src/models/order/line-item/index.ts +34 -0
- package/src/models/order/line-item/option/index.ts +10 -0
- package/src/models/order/line-item/option/value/index.ts +5 -0
- package/src/models/order/line-item/variant/brand/index.ts +4 -0
- package/src/models/order/line-item/variant/category/index.ts +10 -0
- package/src/models/order/line-item/variant/index.ts +26 -0
- package/src/models/order/line-item/variant/price/index.ts +7 -0
- package/src/models/order/line-item/variant/value/index.ts +7 -0
- package/src/models/order/package/index.ts +28 -0
- package/src/models/order/package/tracking-info/index.ts +7 -0
- package/src/models/order/payment-method/index.ts +9 -0
- package/src/models/order/refund/index.ts +6 -0
- package/src/models/order/refund/line-item/index.ts +4 -0
- package/src/models/order/refund/settings/index.ts +5 -0
- package/src/models/order/shipping-line/index.ts +12 -0
- package/src/models/order/tax-line/index.ts +4 -0
- package/src/models/order/transaction/error/index.ts +5 -0
- package/src/models/order/transaction/index.ts +39 -0
- package/src/models/order/transaction/payment-method-detail/index.ts +25 -0
- package/src/models/order/transaction/payment-method-detail/installment-price/index.ts +7 -0
- package/src/models/payment-gateway/additional-price/index.ts +16 -0
- package/src/models/payment-gateway/index.ts +47 -0
- package/src/models/payment-gateway/init.ts +26 -0
- package/src/models/payment-gateway/settings/index.ts +12 -0
- package/src/models/payment-gateway/translation/index.ts +5 -0
- package/src/models/product/attribute/index.ts +24 -0
- package/src/models/product/attribute/init.ts +34 -0
- package/src/models/product/attribute/option/index.ts +4 -0
- package/src/models/product/attribute/table-cell/index.ts +4 -0
- package/src/models/product/attribute/table-template/index.ts +6 -0
- package/src/models/product/attribute/translation/index.ts +11 -0
- package/src/models/product/attribute-value/index.ts +26 -0
- package/src/models/product/attribute-value/init.ts +7 -0
- package/src/models/product/back-in-stock-settings/index.ts +3 -0
- package/src/models/product/campaign/data/index.ts +43 -0
- package/src/models/product/campaign/filter/index.ts +12 -0
- package/src/models/product/campaign/index.ts +6 -0
- package/src/models/product/campaign/product-buyx-then-gety/index.ts +19 -0
- package/src/models/product/campaign/product-campaign-date-range-field/index.ts +4 -0
- package/src/models/product/campaign/product-fixed-discount/index.ts +13 -0
- package/src/models/product/filter/index.ts +96 -0
- package/src/models/product/image/index.ts +10 -0
- package/src/models/product/image/init.ts +7 -0
- package/src/models/product/index.ts +43 -0
- package/src/models/product/init.ts +16 -0
- package/src/models/product/option-set/index.ts +25 -0
- package/src/models/product/option-set/init.ts +77 -0
- package/src/models/product/option-set/option/index.ts +81 -0
- package/src/models/product/option-set/option/init.ts +13 -0
- package/src/models/product/tag/index.ts +4 -0
- package/src/models/product/variant/index.ts +20 -0
- package/src/models/product/variant/init.ts +10 -0
- package/src/models/product/variant/price/index.ts +7 -0
- package/src/models/product/variant-type/index.ts +6 -0
- package/src/models/product/variant-type/init.ts +15 -0
- package/src/models/raffle/index.ts +70 -0
- package/src/models/raffle/init.ts +6 -0
- package/src/models/sales-channel/index.ts +17 -0
- package/src/models/state/index.ts +7 -0
- package/src/models/stock-location/address/city/index.ts +5 -0
- package/src/models/stock-location/address/country/index.ts +5 -0
- package/src/models/stock-location/address/district/index.ts +5 -0
- package/src/models/stock-location/address/index.ts +14 -0
- package/src/models/stock-location/address/state/index.ts +5 -0
- package/src/models/stock-location/available/index.ts +9 -0
- package/src/models/stock-location/index.ts +26 -0
- package/src/models/storefront/domain/index.ts +7 -0
- package/src/models/storefront/index.ts +30 -0
- package/src/models/storefront/localization/index.tsx +6 -0
- package/src/models/storefront/routing/dynamic-currency/index.ts +4 -0
- package/src/models/storefront/routing/index.tsx +11 -0
- package/src/models/storefront/theme/index.tsx +13 -0
- package/src/models/storefront/theme-localization/index.tsx +13 -0
- package/src/models/theme-json/component/index.ts +19 -0
- package/src/models/theme-json/component/prop/index.ts +65 -0
- package/src/models/theme-json/custom-data/index.ts +46 -0
- package/src/models/theme-json/index.ts +12 -0
- package/src/models/theme-json/page/component/index.ts +11 -0
- package/src/models/theme-json/page/index.ts +46 -0
- package/src/models/theme-json/settings/color/index.ts +13 -0
- package/src/models/theme-json/settings/favicon/index.ts +3 -0
- package/src/models/theme-json/settings/font-family/index.ts +4 -0
- package/src/models/theme-json/settings/index.ts +16 -0
- package/src/models/variant-type/index.ts +25 -0
- package/src/models/variant-type/init.ts +37 -0
- package/src/models/variant-type/variant-value/index.ts +12 -0
- package/src/models/variant-type/variant-value/init.ts +5 -0
- package/build/_virtual/_tslib.js +0 -1
- package/build/index.js +0 -1
- package/build/models/base/index.d.ts +0 -6
- package/build/models/base/init.d.ts +0 -6
- package/build/models/base/init.js +0 -1
- package/build/models/blog/category/init.d.ts +0 -11
- package/build/models/blog/category/init.js +0 -1
- package/build/models/blog/content/index.d.ts +0 -4
- package/build/models/blog/index.d.ts +0 -24
- package/build/models/blog/init.d.ts +0 -2
- package/build/models/blog/init.js +0 -1
- package/build/models/blog/meta-data/index.d.ts +0 -14
- package/build/models/blog/meta-data/index.js +0 -1
- package/build/models/blog/writer/index.d.ts +0 -4
- package/build/models/brand/index.d.ts +0 -23
- package/build/models/brand/index.js +0 -1
- package/build/models/brand/init.d.ts +0 -2
- package/build/models/brand/init.js +0 -1
- package/build/models/brand/translation/index.d.ts +0 -5
- package/build/models/campaign-offer/index.d.ts +0 -37
- package/build/models/campaign-offer/index.js +0 -1
- package/build/models/campaign-offer/product/index.d.ts +0 -24
- package/build/models/campaign-offer/product/index.js +0 -1
- package/build/models/cart/available-shipping-method/index.d.ts +0 -12
- package/build/models/cart/available-shipping-method/index.js +0 -1
- package/build/models/cart/campaign-offer/index.d.ts +0 -19
- package/build/models/cart/campaign-offer/index.js +0 -1
- package/build/models/cart/index.d.ts +0 -11
- package/build/models/category/index.d.ts +0 -27
- package/build/models/category/index.js +0 -1
- package/build/models/category/init.d.ts +0 -2
- package/build/models/category/init.js +0 -1
- package/build/models/category/path-item/index.d.ts +0 -10
- package/build/models/category/path-item/init.d.ts +0 -2
- package/build/models/category/path-item/init.js +0 -1
- package/build/models/category/translations/index.d.ts +0 -5
- package/build/models/checkout/index.d.ts +0 -2
- package/build/models/checkout-settings/index.d.ts +0 -22
- package/build/models/checkout-settings/index.js +0 -1
- package/build/models/checkout-settings/option/index.d.ts +0 -4
- package/build/models/checkout-settings/price/index.d.ts +0 -5
- package/build/models/city/index.d.ts +0 -10
- package/build/models/contact-form/index.d.ts +0 -7
- package/build/models/country/index.d.ts +0 -16
- package/build/models/country/init.d.ts +0 -2
- package/build/models/country/init.js +0 -1
- package/build/models/country/location-translations/index.d.ts +0 -5
- package/build/models/customer/address/city/index.d.ts +0 -5
- package/build/models/customer/address/country/index.d.ts +0 -7
- package/build/models/customer/address/district/index.d.ts +0 -5
- package/build/models/customer/address/index.d.ts +0 -25
- package/build/models/customer/address/state/index.d.ts +0 -5
- package/build/models/customer/attribute/index.d.ts +0 -20
- package/build/models/customer/attribute/index.js +0 -1
- package/build/models/customer/attribute/init.d.ts +0 -2
- package/build/models/customer/attribute/init.js +0 -1
- package/build/models/customer/attribute/option/index.d.ts +0 -7
- package/build/models/customer/attribute/sales-channel/index.d.ts +0 -16
- package/build/models/customer/attribute/sales-channel/index.js +0 -1
- package/build/models/customer/attribute/translation/index.d.ts +0 -7
- package/build/models/customer/attribute/translation/option/index.d.ts +0 -4
- package/build/models/customer/attribute/value/index.d.ts +0 -9
- package/build/models/customer/index.d.ts +0 -43
- package/build/models/customer/index.js +0 -1
- package/build/models/customer/review/index.d.ts +0 -24
- package/build/models/customer/review/index.js +0 -1
- package/build/models/customer/review/init.d.ts +0 -2
- package/build/models/customer/review/init.js +0 -1
- package/build/models/customer/review/settings/index.d.ts +0 -4
- package/build/models/customer/review/summary/index.d.ts +0 -8
- package/build/models/customer/review/summary/star/index.d.ts +0 -4
- package/build/models/district/index.d.ts +0 -10
- package/build/models/favorite-product/index.d.ts +0 -5
- package/build/models/filter-category/index.d.ts +0 -8
- package/build/models/html-meta-data/index.d.ts +0 -25
- package/build/models/html-meta-data/index.js +0 -1
- package/build/models/html-meta-data/init.d.ts +0 -3
- package/build/models/html-meta-data/init.js +0 -1
- package/build/models/html-meta-data/translations/index.d.ts +0 -5
- package/build/models/image/index.d.ts +0 -4
- package/build/models/last-viewed-product/index.d.ts +0 -4
- package/build/models/merchant-settings/address/city/index.d.ts +0 -5
- package/build/models/merchant-settings/address/country/index.d.ts +0 -7
- package/build/models/merchant-settings/address/district/index.d.ts +0 -5
- package/build/models/merchant-settings/address/index.d.ts +0 -21
- package/build/models/merchant-settings/address/state/index.d.ts +0 -5
- package/build/models/merchant-settings/address/type/index.d.ts +0 -4
- package/build/models/merchant-settings/address/type/index.js +0 -1
- package/build/models/merchant-settings/index.d.ts +0 -24
- package/build/models/merchant-settings/index.js +0 -1
- package/build/models/merchant-settings/init.d.ts +0 -2
- package/build/models/merchant-settings/init.js +0 -1
- package/build/models/order/address/city/index.d.ts +0 -5
- package/build/models/order/address/country/index.d.ts +0 -7
- package/build/models/order/address/district/index.d.ts +0 -5
- package/build/models/order/address/index.d.ts +0 -22
- package/build/models/order/address/state/index.d.ts +0 -5
- package/build/models/order/adjustment/applied-order-line/index.d.ts +0 -6
- package/build/models/order/adjustment/index.d.ts +0 -21
- package/build/models/order/adjustment/index.js +0 -1
- package/build/models/order/customer/index.d.ts +0 -9
- package/build/models/order/gift-line/index.d.ts +0 -4
- package/build/models/order/index.d.ts +0 -86
- package/build/models/order/index.js +0 -1
- package/build/models/order/invoice/index.d.ts +0 -14
- package/build/models/order/invoice/index.js +0 -1
- package/build/models/order/line-item/base-unit/index.d.ts +0 -20
- package/build/models/order/line-item/base-unit/index.js +0 -1
- package/build/models/order/line-item/base-unit/unit-type/index.d.ts +0 -4
- package/build/models/order/line-item/discount/index.d.ts +0 -9
- package/build/models/order/line-item/index.d.ts +0 -35
- package/build/models/order/line-item/index.js +0 -1
- package/build/models/order/line-item/option/index.d.ts +0 -9
- package/build/models/order/line-item/option/value/index.d.ts +0 -5
- package/build/models/order/line-item/variant/brand/index.d.ts +0 -4
- package/build/models/order/line-item/variant/category/index.d.ts +0 -9
- package/build/models/order/line-item/variant/index.d.ts +0 -27
- package/build/models/order/line-item/variant/price/index.d.ts +0 -8
- package/build/models/order/line-item/variant/unit/index.d.ts +0 -5
- package/build/models/order/line-item/variant/value/index.d.ts +0 -7
- package/build/models/order/package/index.d.ts +0 -26
- package/build/models/order/package/index.js +0 -1
- package/build/models/order/package/tracking-info/index.d.ts +0 -7
- package/build/models/order/payment-method/index.d.ts +0 -8
- package/build/models/order/refund/index.d.ts +0 -5
- package/build/models/order/refund/line-item/index.d.ts +0 -4
- package/build/models/order/refund/settings/index.d.ts +0 -5
- package/build/models/order/shipping-line/index.d.ts +0 -11
- package/build/models/order/tax-line/index.d.ts +0 -4
- package/build/models/order/transaction/error/index.d.ts +0 -5
- package/build/models/order/transaction/index.d.ts +0 -34
- package/build/models/order/transaction/index.js +0 -1
- package/build/models/order/transaction/payment-method-detail/index.d.ts +0 -22
- package/build/models/order/transaction/payment-method-detail/index.js +0 -1
- package/build/models/order/transaction/payment-method-detail/installment-price/index.d.ts +0 -7
- package/build/models/payment-gateway/additional-price/index.d.ts +0 -14
- package/build/models/payment-gateway/additional-price/index.js +0 -1
- package/build/models/payment-gateway/index.d.ts +0 -42
- package/build/models/payment-gateway/index.js +0 -1
- package/build/models/payment-gateway/init.d.ts +0 -2
- package/build/models/payment-gateway/init.js +0 -1
- package/build/models/payment-gateway/settings/index.d.ts +0 -11
- package/build/models/payment-gateway/settings/index.js +0 -1
- package/build/models/payment-gateway/translation/index.d.ts +0 -5
- package/build/models/product/attribute/index.d.ts +0 -24
- package/build/models/product/attribute/index.js +0 -1
- package/build/models/product/attribute/init.d.ts +0 -2
- package/build/models/product/attribute/init.js +0 -1
- package/build/models/product/attribute/option/index.d.ts +0 -4
- package/build/models/product/attribute/table-cell/index.d.ts +0 -4
- package/build/models/product/attribute/table-template/index.d.ts +0 -5
- package/build/models/product/attribute/translation/index.d.ts +0 -10
- package/build/models/product/attribute-value/index.d.ts +0 -21
- package/build/models/product/attribute-value/init.d.ts +0 -2
- package/build/models/product/attribute-value/init.js +0 -1
- package/build/models/product/back-in-stock-settings/index.d.ts +0 -3
- package/build/models/product/base-unit/index.d.ts +0 -10
- package/build/models/product/campaign/data/index.d.ts +0 -39
- package/build/models/product/campaign/data/index.js +0 -1
- package/build/models/product/campaign/filter/index.d.ts +0 -11
- package/build/models/product/campaign/filter/index.js +0 -1
- package/build/models/product/campaign/index.d.ts +0 -5
- package/build/models/product/campaign/product-buyx-then-gety/index.d.ts +0 -16
- package/build/models/product/campaign/product-campaign-date-range-field/index.d.ts +0 -4
- package/build/models/product/campaign/product-fixed-discount/index.d.ts +0 -11
- package/build/models/product/filter/index.d.ts +0 -83
- package/build/models/product/filter/index.js +0 -1
- package/build/models/product/image/index.d.ts +0 -8
- package/build/models/product/image/init.d.ts +0 -2
- package/build/models/product/image/init.js +0 -1
- package/build/models/product/index.d.ts +0 -41
- package/build/models/product/index.js +0 -1
- package/build/models/product/init.d.ts +0 -2
- package/build/models/product/init.js +0 -1
- package/build/models/product/option-set/index.d.ts +0 -21
- package/build/models/product/option-set/init.d.ts +0 -6
- package/build/models/product/option-set/init.js +0 -1
- package/build/models/product/option-set/option/index.d.ts +0 -70
- package/build/models/product/option-set/option/index.js +0 -1
- package/build/models/product/option-set/option/init.d.ts +0 -2
- package/build/models/product/option-set/option/init.js +0 -1
- package/build/models/product/tag/index.d.ts +0 -4
- package/build/models/product/variant/index.d.ts +0 -21
- package/build/models/product/variant/init.d.ts +0 -2
- package/build/models/product/variant/init.js +0 -1
- package/build/models/product/variant/price/index.d.ts +0 -9
- package/build/models/product/variant/unit/index.d.ts +0 -5
- package/build/models/product/variant-type/index.d.ts +0 -6
- package/build/models/product/variant-type/init.d.ts +0 -2
- package/build/models/product/variant-type/init.js +0 -1
- package/build/models/product-option-file/index.d.ts +0 -5
- package/build/models/raffle/index.d.ts +0 -68
- package/build/models/raffle/index.js +0 -1
- package/build/models/raffle/init.d.ts +0 -2
- package/build/models/raffle/init.js +0 -1
- package/build/models/sales-channel/index.d.ts +0 -15
- package/build/models/state/index.d.ts +0 -6
- package/build/models/stock-location/address/city/index.d.ts +0 -5
- package/build/models/stock-location/address/country/index.d.ts +0 -5
- package/build/models/stock-location/address/district/index.d.ts +0 -5
- package/build/models/stock-location/address/index.d.ts +0 -13
- package/build/models/stock-location/address/state/index.d.ts +0 -5
- package/build/models/stock-location/available/index.d.ts +0 -8
- package/build/models/stock-location/index.d.ts +0 -23
- package/build/models/stock-location/index.js +0 -1
- package/build/models/storefront/domain/index.d.ts +0 -7
- package/build/models/storefront/index.d.ts +0 -27
- package/build/models/storefront/index.js +0 -1
- package/build/models/storefront/localization/index.d.ts +0 -6
- package/build/models/storefront/routing/dynamic-currency/index.d.ts +0 -4
- package/build/models/storefront/routing/index.d.ts +0 -12
- package/build/models/storefront/theme/index.d.ts +0 -12
- package/build/models/storefront/theme/index.js +0 -1
- package/build/models/storefront/theme-localization/index.d.ts +0 -11
- package/build/models/theme-json/component/index.d.ts +0 -17
- package/build/models/theme-json/component/prop/index.d.ts +0 -60
- package/build/models/theme-json/component/prop/index.js +0 -1
- package/build/models/theme-json/custom-data/index.d.ts +0 -37
- package/build/models/theme-json/index.d.ts +0 -11
- package/build/models/theme-json/page/component/index.d.ts +0 -5
- package/build/models/theme-json/page/index.d.ts +0 -43
- package/build/models/theme-json/page/index.js +0 -1
- package/build/models/theme-json/settings/color/index.d.ts +0 -12
- package/build/models/theme-json/settings/favicon/index.d.ts +0 -3
- package/build/models/theme-json/settings/font-family/index.d.ts +0 -4
- package/build/models/theme-json/settings/index.d.ts +0 -14
- package/build/models/theme-json/settings/index.js +0 -1
- package/build/models/variant-type/index.d.ts +0 -21
- package/build/models/variant-type/index.js +0 -1
- package/build/models/variant-type/init.d.ts +0 -2
- package/build/models/variant-type/init.js +0 -1
- package/build/models/variant-type/variant-value/index.d.ts +0 -9
- package/build/models/variant-type/variant-value/init.d.ts +0 -2
- package/build/models/variant-type/variant-value/init.js +0 -1
- package/build-cjs/models/category/path-item/init.d.ts +0 -2
- package/build-cjs/models/category/path-item/init.js +0 -1
- package/build-cjs/models/category/path-item/init.js.map +0 -1
- package/build-cjs/models/country/init.d.ts +0 -2
- package/build-cjs/models/country/init.js +0 -1
- package/build-cjs/models/country/init.js.map +0 -1
- package/build-cjs/models/country/location-translations/index.d.ts +0 -5
- package/build-cjs/models/merchant-settings/address/city/index.d.ts +0 -5
- package/build-cjs/models/merchant-settings/address/country/index.d.ts +0 -7
- package/build-cjs/models/merchant-settings/address/district/index.d.ts +0 -5
- package/build-cjs/models/merchant-settings/address/index.d.ts +0 -21
- package/build-cjs/models/merchant-settings/address/state/index.d.ts +0 -5
- package/build-cjs/models/merchant-settings/address/type/index.d.ts +0 -4
- package/build-cjs/models/merchant-settings/address/type/index.js +0 -1
- package/build-cjs/models/merchant-settings/address/type/index.js.map +0 -1
- package/build-cjs/models/order/line-item/base-unit/index.d.ts +0 -20
- package/build-cjs/models/order/line-item/base-unit/index.js +0 -1
- package/build-cjs/models/order/line-item/base-unit/index.js.map +0 -1
- package/build-cjs/models/order/line-item/base-unit/unit-type/index.d.ts +0 -4
- package/build-cjs/models/order/line-item/variant/unit/index.d.ts +0 -5
- package/build-cjs/models/product/base-unit/index.d.ts +0 -10
- package/build-cjs/models/product/variant/unit/index.d.ts +0 -5
- package/build-cjs/models/product-option-file/index.d.ts +0 -5
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.__assign=function(){return exports.__assign=Object.assign||function(e){for(var t,r=1,s=arguments.length;r<s;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},exports.__assign.apply(this,arguments)};
|
|
2
|
+
//# sourceMappingURL=_tslib.js.map
|
package/build-cjs/index.d.ts
CHANGED
|
@@ -27,8 +27,6 @@ export * from "./models/checkout-settings";
|
|
|
27
27
|
export * from "./models/city";
|
|
28
28
|
export * from "./models/contact-form";
|
|
29
29
|
export * from "./models/country";
|
|
30
|
-
export * from "./models/country/location-translations";
|
|
31
|
-
export * from "./models/country/init";
|
|
32
30
|
export * from "./models/customer/address/city";
|
|
33
31
|
export * from "./models/customer/address/country";
|
|
34
32
|
export * from "./models/customer/address/district";
|
|
@@ -57,12 +55,6 @@ export * from "./models/image";
|
|
|
57
55
|
export * from "./models/last-viewed-product";
|
|
58
56
|
export * from "./models/merchant-settings/init";
|
|
59
57
|
export * from "./models/merchant-settings";
|
|
60
|
-
export * from "./models/merchant-settings/address";
|
|
61
|
-
export * from "./models/merchant-settings/address/city";
|
|
62
|
-
export * from "./models/merchant-settings/address/country";
|
|
63
|
-
export * from "./models/merchant-settings/address/district";
|
|
64
|
-
export * from "./models/merchant-settings/address/state";
|
|
65
|
-
export * from "./models/merchant-settings/address/type";
|
|
66
58
|
export * from "./models/order/address/city";
|
|
67
59
|
export * from "./models/order/address/country";
|
|
68
60
|
export * from "./models/order/address/district";
|
|
@@ -73,15 +65,12 @@ export * from "./models/order/adjustment";
|
|
|
73
65
|
export * from "./models/order/customer";
|
|
74
66
|
export * from "./models/order/gift-line";
|
|
75
67
|
export * from "./models/order/invoice";
|
|
76
|
-
export * from "./models/order/line-item/base-unit/unit-type";
|
|
77
|
-
export * from "./models/order/line-item/base-unit";
|
|
78
68
|
export * from "./models/order/line-item/discount";
|
|
79
69
|
export * from "./models/order/line-item/option/value";
|
|
80
70
|
export * from "./models/order/line-item/option";
|
|
81
71
|
export * from "./models/order/line-item/variant/brand";
|
|
82
72
|
export * from "./models/order/line-item/variant/category";
|
|
83
73
|
export * from "./models/order/line-item/variant/price";
|
|
84
|
-
export * from "./models/order/line-item/variant/unit";
|
|
85
74
|
export * from "./models/order/line-item/variant/value";
|
|
86
75
|
export * from "./models/order/line-item/variant";
|
|
87
76
|
export * from "./models/order/line-item";
|
|
@@ -112,7 +101,6 @@ export * from "./models/product/attribute";
|
|
|
112
101
|
export * from "./models/product/attribute-value/init";
|
|
113
102
|
export * from "./models/product/attribute-value";
|
|
114
103
|
export * from "./models/product/back-in-stock-settings";
|
|
115
|
-
export * from "./models/product/base-unit";
|
|
116
104
|
export * from "./models/product/filter";
|
|
117
105
|
export * from "./models/product/campaign/data";
|
|
118
106
|
export * from "./models/product/campaign/filter";
|
|
@@ -128,14 +116,12 @@ export * from "./models/product/option-set/init";
|
|
|
128
116
|
export * from "./models/product/option-set";
|
|
129
117
|
export * from "./models/product/tag";
|
|
130
118
|
export * from "./models/product/variant/price";
|
|
131
|
-
export * from "./models/product/variant/unit";
|
|
132
119
|
export * from "./models/product/variant/init";
|
|
133
120
|
export * from "./models/product/variant";
|
|
134
121
|
export * from "./models/product/variant-type/init";
|
|
135
122
|
export * from "./models/product/variant-type";
|
|
136
123
|
export * from "./models/product/init";
|
|
137
124
|
export * from "./models/product";
|
|
138
|
-
export * from "./models/product-option-file";
|
|
139
125
|
export * from "./models/raffle/init";
|
|
140
126
|
export * from "./models/raffle/";
|
|
141
127
|
export * from "./models/sales-channel";
|
package/build-cjs/index.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./models/base/init.js"),t=require("./models/blog/category/init.js"),r=require("./models/blog/meta-data/index.js"),n=require("./models/blog/init.js"),a=require("./models/brand/index.js"),i=require("./models/brand/init.js"),s=require("./models/campaign-offer/product/index.js"),o=require("./models/campaign-offer/index.js"),u=require("./models/cart/available-shipping-method/index.js"),p=require("./models/cart/campaign-offer/index.js"),d=require("./models/category/index.js"),c=require("./models/category/init.js"),m=require("./models/checkout-settings/index.js"),l=require("./models/country/init.js"),y=require("./models/customer/attribute/sales-channel/index.js"),f=require("./models/customer/attribute/init.js"),k=require("./models/customer/attribute/index.js"),I=require("./models/customer/review/init.js"),g=require("./models/customer/review/index.js"),b=require("./models/customer/index.js"),P=require("./models/html-meta-data/init.js"),j=require("./models/html-meta-data/index.js"),x=require("./models/merchant-settings/init.js");require("./models/merchant-settings/index.js");var T=require("./models/merchant-settings/address/type/index.js"),O=require("./models/order/adjustment/index.js"),q=require("./models/order/invoice/index.js"),C=require("./models/order/line-item/base-unit/index.js"),S=require("./models/order/line-item/index.js"),h=require("./models/order/package/index.js"),A=require("./models/order/transaction/payment-method-detail/index.js"),M=require("./models/order/transaction/index.js"),w=require("./models/order/index.js"),v=require("./models/payment-gateway/additional-price/index.js"),R=require("./models/payment-gateway/settings/index.js"),V=require("./models/payment-gateway/init.js"),F=require("./models/payment-gateway/index.js"),B=require("./models/product/attribute/init.js"),D=require("./models/product/attribute/index.js"),L=require("./models/product/attribute-value/init.js"),G=require("./models/product/filter/index.js"),H=require("./models/product/campaign/data/index.js"),J=require("./models/product/campaign/filter/index.js"),E=require("./models/product/image/init.js"),U=require("./models/product/option-set/option/init.js"),_=require("./models/product/option-set/option/index.js"),z=require("./models/product/option-set/init.js"),K=require("./models/product/variant/init.js"),N=require("./models/product/variant-type/init.js"),Q=require("./models/product/init.js"),W=require("./models/product/index.js"),X=require("./models/raffle/init.js"),Y=require("./models/raffle/index.js"),Z=require("./models/stock-location/index.js"),$=require("./models/storefront/theme/index.js"),ee=require("./models/storefront/index.js"),te=require("./models/theme-json/component/prop/index.js"),re=require("./models/theme-json/page/index.js"),ne=require("./models/theme-json/settings/index.js"),ae=require("./models/variant-type/variant-value/init.js"),ie=require("./models/variant-type/init.js"),se=require("./models/variant-type/index.js");exports.createIkasBaseModel=e.createIkasBaseModel,exports.createIkasBlogCategory=t.createIkasBlogCategory,exports.initIkasBlogCategory=t.initIkasBlogCategory,Object.defineProperty(exports,"IkasBlogMetaDataTargetType",{enumerable:!0,get:function(){return r.IkasBlogMetaDataTargetType}}),exports.initIkasBlog=n.initIkasBlog,Object.defineProperty(exports,"IkasBrandOrderType",{enumerable:!0,get:function(){return a.IkasBrandOrderType}}),exports.initIkasBrand=i.initIkasBrand,Object.defineProperty(exports,"IkasCampaignOfferProductShowCriteria",{enumerable:!0,get:function(){return s.IkasCampaignOfferProductShowCriteria}}),Object.defineProperty(exports,"IkasCampaignOfferFollowUpActionType",{enumerable:!0,get:function(){return o.IkasCampaignOfferFollowUpActionType}}),Object.defineProperty(exports,"IkasCampaignOfferTargetPageType",{enumerable:!0,get:function(){return o.IkasCampaignOfferTargetPageType}}),Object.defineProperty(exports,"IkasCampaignOfferTriggerFilterType",{enumerable:!0,get:function(){return o.IkasCampaignOfferTriggerFilterType}}),Object.defineProperty(exports,"IkasCampaignOfferType",{enumerable:!0,get:function(){return o.IkasCampaignOfferType}}),Object.defineProperty(exports,"IkasShippingMethod",{enumerable:!0,get:function(){return u.IkasShippingMethod}}),Object.defineProperty(exports,"IkasCartCampaignOfferStatus",{enumerable:!0,get:function(){return p.IkasCartCampaignOfferStatus}}),Object.defineProperty(exports,"IkasCategoryProductsOrderType",{enumerable:!0,get:function(){return d.IkasCategoryProductsOrderType}}),exports.initIkasCategory=c.initIkasCategory,Object.defineProperty(exports,"IkasCheckoutRequirement",{enumerable:!0,get:function(){return m.IkasCheckoutRequirement}}),exports.initIkasCountry=l.initIkasCountry,Object.defineProperty(exports,"IkasCustomerAttributePermission",{enumerable:!0,get:function(){return y.IkasCustomerAttributePermission}}),Object.defineProperty(exports,"IkasCustomerAttributeRegisterPageRequirement",{enumerable:!0,get:function(){return y.IkasCustomerAttributeRegisterPageRequirement}}),exports.initIkasCustomerAttribute=f.initIkasCustomerAttribute,Object.defineProperty(exports,"IkasCustomerAttributeType",{enumerable:!0,get:function(){return k.IkasCustomerAttributeType}}),exports.initIkasCustomerReview=I.initIkasCustomerReview,Object.defineProperty(exports,"IkasCustomerReviewStatus",{enumerable:!0,get:function(){return g.IkasCustomerReviewStatus}}),Object.defineProperty(exports,"IkasCustomerAccountStatus",{enumerable:!0,get:function(){return b.IkasCustomerAccountStatus}}),Object.defineProperty(exports,"IkasCustomerEmailSubscriptionStatus",{enumerable:!0,get:function(){return b.IkasCustomerEmailSubscriptionStatus}}),Object.defineProperty(exports,"IkasCustomerRegistrationSource",{enumerable:!0,get:function(){return b.IkasCustomerRegistrationSource}}),exports.initIkasHTMLMetaData=P.initIkasHTMLMetaData,exports.setHTMLMetaDataTranslations=P.setHTMLMetaDataTranslations,Object.defineProperty(exports,"IkasHTMLMetaDataTargetType",{enumerable:!0,get:function(){return j.IkasHTMLMetaDataTargetType}}),exports.initIkasMerchantSettings=x.initIkasMerchantSettings,Object.defineProperty(exports,"IkasMerchantSettingsAddressTypeEnum",{enumerable:!0,get:function(){return T.IkasMerchantSettingsAddressTypeEnum}}),Object.defineProperty(exports,"IkasAdjustmentType",{enumerable:!0,get:function(){return O.IkasAdjustmentType}}),Object.defineProperty(exports,"IkasAmountType",{enumerable:!0,get:function(){return O.IkasAmountType}}),Object.defineProperty(exports,"IkasInvoiceType",{enumerable:!0,get:function(){return q.IkasInvoiceType}}),Object.defineProperty(exports,"IkasProductUnitType",{enumerable:!0,get:function(){return C.IkasProductUnitType}}),Object.defineProperty(exports,"IkasOrderLineItemStatus",{enumerable:!0,get:function(){return S.IkasOrderLineItemStatus}}),Object.defineProperty(exports,"IkasOrderPackageFullfillStatus",{enumerable:!0,get:function(){return h.IkasOrderPackageFullfillStatus}}),Object.defineProperty(exports,"IkasTransactionCardAssociation",{enumerable:!0,get:function(){return A.IkasTransactionCardAssociation}}),Object.defineProperty(exports,"IkasTransactionCardType",{enumerable:!0,get:function(){return A.IkasTransactionCardType}}),Object.defineProperty(exports,"IkasTransactionStatus",{enumerable:!0,get:function(){return M.IkasTransactionStatus}}),Object.defineProperty(exports,"IkasTransactionType",{enumerable:!0,get:function(){return M.IkasTransactionType}}),Object.defineProperty(exports,"IkasOrderCancelReason",{enumerable:!0,get:function(){return w.IkasOrderCancelReason}}),Object.defineProperty(exports,"IkasOrderPackageStatus",{enumerable:!0,get:function(){return w.IkasOrderPackageStatus}}),Object.defineProperty(exports,"IkasOrderPaymentStatus",{enumerable:!0,get:function(){return w.IkasOrderPaymentStatus}}),Object.defineProperty(exports,"IkasOrderShippingMethod",{enumerable:!0,get:function(){return w.IkasOrderShippingMethod}}),Object.defineProperty(exports,"IkasOrderStatus",{enumerable:!0,get:function(){return w.IkasOrderStatus}}),Object.defineProperty(exports,"IkasPaymentGatewayAdditionalPriceType",{enumerable:!0,get:function(){return v.IkasPaymentGatewayAdditionalPriceType}}),Object.defineProperty(exports,"IkasPaymentGatewayTransactionFeeType",{enumerable:!0,get:function(){return v.IkasPaymentGatewayTransactionFeeType}}),Object.defineProperty(exports,"IkasPaymentGatewaySettingsType",{enumerable:!0,get:function(){return R.IkasPaymentGatewaySettingsType}}),exports.initIkasPaymentGateway=V.initIkasPaymentGateway,Object.defineProperty(exports,"IkasPaymentGatewayType",{enumerable:!0,get:function(){return F.IkasPaymentGatewayType}}),Object.defineProperty(exports,"IkasPaymentMethodType",{enumerable:!0,get:function(){return F.IkasPaymentMethodType}}),exports.initIkasProductAttribute=B.initIkasProductAttribute,Object.defineProperty(exports,"IkasProductAttributeType",{enumerable:!0,get:function(){return D.IkasProductAttributeType}}),exports.initIkasProductAttributeValue=L.initIkasProductAttributeValue,Object.defineProperty(exports,"IkasProductFilterDisplayType",{enumerable:!0,get:function(){return G.IkasProductFilterDisplayType}}),Object.defineProperty(exports,"IkasProductFilterSortType",{enumerable:!0,get:function(){return G.IkasProductFilterSortType}}),Object.defineProperty(exports,"IkasProductFilterType",{enumerable:!0,get:function(){return G.IkasProductFilterType}}),Object.defineProperty(exports,"IkasProductStockFilterValue",{enumerable:!0,get:function(){return G.IkasProductStockFilterValue}}),Object.defineProperty(exports,"IkasCampaignApplicablePrice",{enumerable:!0,get:function(){return H.IkasCampaignApplicablePrice}}),Object.defineProperty(exports,"IkasCampaignCreatedFor",{enumerable:!0,get:function(){return H.IkasCampaignCreatedFor}}),Object.defineProperty(exports,"IkasCampaignType",{enumerable:!0,get:function(){return H.IkasCampaignType}}),Object.defineProperty(exports,"IkasCampaignFilterType",{enumerable:!0,get:function(){return J.IkasCampaignFilterType}}),exports.initIkasProductImage=E.initIkasProductImage,exports.initIkasProductOption=U.initIkasProductOption,Object.defineProperty(exports,"IkasProductOptionSelectType",{enumerable:!0,get:function(){return _.IkasProductOptionSelectType}}),Object.defineProperty(exports,"IkasProductOptionType",{enumerable:!0,get:function(){return _.IkasProductOptionType}}),exports.initIkasProductOptionSet=z.initIkasProductOptionSet,exports.initOptionValues=z.initOptionValues,exports.initValues=z.initValues,exports.setChildOptions=z.setChildOptions,exports.initIkasProductVariant=K.initIkasProductVariant,exports.initIkasProductVariantType=N.initIkasProductVariantType,exports.initIkasProduct=Q.initIkasProduct,Object.defineProperty(exports,"IkasProductType",{enumerable:!0,get:function(){return W.IkasProductType}}),exports.initIkasRaffle=X.initIkasRaffle,Object.defineProperty(exports,"IkasRaffleMetadataTargetType",{enumerable:!0,get:function(){return Y.IkasRaffleMetadataTargetType}}),Object.defineProperty(exports,"IkasRaffleParticipantStatus",{enumerable:!0,get:function(){return Y.IkasRaffleParticipantStatus}}),Object.defineProperty(exports,"IkasRaffleVerificationType",{enumerable:!0,get:function(){return Y.IkasRaffleVerificationType}}),Object.defineProperty(exports,"IkasStockLocationDeliveryTime",{enumerable:!0,get:function(){return Z.IkasStockLocationDeliveryTime}}),Object.defineProperty(exports,"IkasStockLocationType",{enumerable:!0,get:function(){return Z.IkasStockLocationType}}),Object.defineProperty(exports,"IkasStorefrontThemeStatus",{enumerable:!0,get:function(){return $.IkasStorefrontThemeStatus}}),Object.defineProperty(exports,"IkasStorefrontStatus",{enumerable:!0,get:function(){return ee.IkasStorefrontStatus}}),Object.defineProperty(exports,"IkasThemeJsonComponentPropType",{enumerable:!0,get:function(){return te.IkasThemeJsonComponentPropType}}),Object.defineProperty(exports,"IkasThemeJsonPageType",{enumerable:!0,get:function(){return re.IkasThemeJsonPageType}}),Object.defineProperty(exports,"IkasThemeJsonStockPreference",{enumerable:!0,get:function(){return ne.IkasThemeJsonStockPreference}}),exports.initIkasVariantValue=ae.initIkasVariantValue,exports.initIkasVariantType=ie.initIkasVariantType,Object.defineProperty(exports,"IkasVariantSelectionType",{enumerable:!0,get:function(){return se.IkasVariantSelectionType}});
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./models/base/init.js"),t=require("./models/blog/category/init.js"),r=require("./models/blog/meta-data/index.js"),n=require("./models/blog/init.js"),a=require("./models/brand/index.js"),i=require("./models/brand/init.js"),o=require("./models/campaign-offer/product/index.js"),s=require("./models/campaign-offer/index.js"),u=require("./models/cart/available-shipping-method/index.js"),p=require("./models/cart/campaign-offer/index.js"),d=require("./models/category/index.js"),c=require("./models/category/init.js"),m=require("./models/checkout-settings/index.js"),l=require("./models/customer/attribute/sales-channel/index.js"),y=require("./models/customer/attribute/init.js"),f=require("./models/customer/attribute/index.js"),k=require("./models/customer/review/init.js"),I=require("./models/customer/review/index.js"),g=require("./models/customer/index.js"),b=require("./models/html-meta-data/init.js"),P=require("./models/html-meta-data/index.js"),j=require("./models/merchant-settings/init.js");require("./models/merchant-settings/index.js");var x=require("./models/order/adjustment/index.js"),T=require("./models/order/invoice/index.js"),O=require("./models/order/line-item/index.js"),C=require("./models/order/package/index.js"),q=require("./models/order/transaction/payment-method-detail/index.js"),S=require("./models/order/transaction/index.js"),h=require("./models/order/index.js"),A=require("./models/payment-gateway/additional-price/index.js"),M=require("./models/payment-gateway/settings/index.js"),w=require("./models/payment-gateway/init.js"),v=require("./models/payment-gateway/index.js"),V=require("./models/product/attribute/init.js"),F=require("./models/product/attribute/index.js"),R=require("./models/product/attribute-value/init.js"),B=require("./models/product/filter/index.js"),D=require("./models/product/campaign/data/index.js"),L=require("./models/product/campaign/filter/index.js"),G=require("./models/product/image/init.js"),H=require("./models/product/option-set/option/init.js"),J=require("./models/product/option-set/option/index.js"),E=require("./models/product/option-set/init.js"),U=require("./models/product/variant/init.js"),_=require("./models/product/variant-type/init.js"),z=require("./models/product/init.js"),K=require("./models/product/index.js"),N=require("./models/raffle/init.js"),Q=require("./models/raffle/index.js"),W=require("./models/stock-location/index.js"),X=require("./models/storefront/theme/index.js"),Y=require("./models/storefront/index.js"),Z=require("./models/theme-json/component/prop/index.js"),$=require("./models/theme-json/page/index.js"),ee=require("./models/theme-json/settings/index.js"),te=require("./models/variant-type/variant-value/init.js"),re=require("./models/variant-type/init.js"),ne=require("./models/variant-type/index.js");exports.createIkasBaseModel=e.createIkasBaseModel,exports.createIkasBlogCategory=t.createIkasBlogCategory,exports.initIkasBlogCategory=t.initIkasBlogCategory,Object.defineProperty(exports,"IkasBlogMetaDataTargetType",{enumerable:!0,get:function(){return r.IkasBlogMetaDataTargetType}}),exports.initIkasBlog=n.initIkasBlog,Object.defineProperty(exports,"IkasBrandOrderType",{enumerable:!0,get:function(){return a.IkasBrandOrderType}}),exports.initIkasBrand=i.initIkasBrand,Object.defineProperty(exports,"IkasCampaignOfferProductShowCriteria",{enumerable:!0,get:function(){return o.IkasCampaignOfferProductShowCriteria}}),Object.defineProperty(exports,"IkasCampaignOfferFollowUpActionType",{enumerable:!0,get:function(){return s.IkasCampaignOfferFollowUpActionType}}),Object.defineProperty(exports,"IkasCampaignOfferTargetPageType",{enumerable:!0,get:function(){return s.IkasCampaignOfferTargetPageType}}),Object.defineProperty(exports,"IkasCampaignOfferTriggerFilterType",{enumerable:!0,get:function(){return s.IkasCampaignOfferTriggerFilterType}}),Object.defineProperty(exports,"IkasCampaignOfferType",{enumerable:!0,get:function(){return s.IkasCampaignOfferType}}),Object.defineProperty(exports,"IkasShippingMethod",{enumerable:!0,get:function(){return u.IkasShippingMethod}}),Object.defineProperty(exports,"IkasCartCampaignOfferStatus",{enumerable:!0,get:function(){return p.IkasCartCampaignOfferStatus}}),Object.defineProperty(exports,"IkasCategoryProductsOrderType",{enumerable:!0,get:function(){return d.IkasCategoryProductsOrderType}}),exports.initIkasCategory=c.initIkasCategory,Object.defineProperty(exports,"IkasCheckoutRequirement",{enumerable:!0,get:function(){return m.IkasCheckoutRequirement}}),Object.defineProperty(exports,"IkasCustomerAttributePermission",{enumerable:!0,get:function(){return l.IkasCustomerAttributePermission}}),Object.defineProperty(exports,"IkasCustomerAttributeRegisterPageRequirement",{enumerable:!0,get:function(){return l.IkasCustomerAttributeRegisterPageRequirement}}),exports.initIkasCustomerAttribute=y.initIkasCustomerAttribute,Object.defineProperty(exports,"IkasCustomerAttributeType",{enumerable:!0,get:function(){return f.IkasCustomerAttributeType}}),exports.initIkasCustomerReview=k.initIkasCustomerReview,Object.defineProperty(exports,"IkasCustomerReviewStatus",{enumerable:!0,get:function(){return I.IkasCustomerReviewStatus}}),Object.defineProperty(exports,"IkasCustomerAccountStatus",{enumerable:!0,get:function(){return g.IkasCustomerAccountStatus}}),Object.defineProperty(exports,"IkasCustomerEmailSubscriptionStatus",{enumerable:!0,get:function(){return g.IkasCustomerEmailSubscriptionStatus}}),Object.defineProperty(exports,"IkasCustomerRegistrationSource",{enumerable:!0,get:function(){return g.IkasCustomerRegistrationSource}}),exports.initIkasHTMLMetaData=b.initIkasHTMLMetaData,exports.setHTMLMetaDataTranslations=b.setHTMLMetaDataTranslations,Object.defineProperty(exports,"IkasHTMLMetaDataTargetType",{enumerable:!0,get:function(){return P.IkasHTMLMetaDataTargetType}}),exports.initIkasMerchantSettings=j.initIkasMerchantSettings,Object.defineProperty(exports,"IkasAdjustmentType",{enumerable:!0,get:function(){return x.IkasAdjustmentType}}),Object.defineProperty(exports,"IkasAmountType",{enumerable:!0,get:function(){return x.IkasAmountType}}),Object.defineProperty(exports,"IkasInvoiceType",{enumerable:!0,get:function(){return T.IkasInvoiceType}}),Object.defineProperty(exports,"IkasOrderLineItemStatus",{enumerable:!0,get:function(){return O.IkasOrderLineItemStatus}}),Object.defineProperty(exports,"IkasOrderPackageFullfillStatus",{enumerable:!0,get:function(){return C.IkasOrderPackageFullfillStatus}}),Object.defineProperty(exports,"IkasTransactionCardAssociation",{enumerable:!0,get:function(){return q.IkasTransactionCardAssociation}}),Object.defineProperty(exports,"IkasTransactionCardType",{enumerable:!0,get:function(){return q.IkasTransactionCardType}}),Object.defineProperty(exports,"IkasTransactionStatus",{enumerable:!0,get:function(){return S.IkasTransactionStatus}}),Object.defineProperty(exports,"IkasTransactionType",{enumerable:!0,get:function(){return S.IkasTransactionType}}),Object.defineProperty(exports,"IkasOrderCancelReason",{enumerable:!0,get:function(){return h.IkasOrderCancelReason}}),Object.defineProperty(exports,"IkasOrderPackageStatus",{enumerable:!0,get:function(){return h.IkasOrderPackageStatus}}),Object.defineProperty(exports,"IkasOrderPaymentStatus",{enumerable:!0,get:function(){return h.IkasOrderPaymentStatus}}),Object.defineProperty(exports,"IkasOrderShippingMethod",{enumerable:!0,get:function(){return h.IkasOrderShippingMethod}}),Object.defineProperty(exports,"IkasOrderStatus",{enumerable:!0,get:function(){return h.IkasOrderStatus}}),Object.defineProperty(exports,"IkasPaymentGatewayAdditionalPriceType",{enumerable:!0,get:function(){return A.IkasPaymentGatewayAdditionalPriceType}}),Object.defineProperty(exports,"IkasPaymentGatewayTransactionFeeType",{enumerable:!0,get:function(){return A.IkasPaymentGatewayTransactionFeeType}}),Object.defineProperty(exports,"IkasPaymentGatewaySettingsType",{enumerable:!0,get:function(){return M.IkasPaymentGatewaySettingsType}}),exports.initIkasPaymentGateway=w.initIkasPaymentGateway,Object.defineProperty(exports,"IkasPaymentGatewayType",{enumerable:!0,get:function(){return v.IkasPaymentGatewayType}}),Object.defineProperty(exports,"IkasPaymentMethodType",{enumerable:!0,get:function(){return v.IkasPaymentMethodType}}),exports.initIkasProductAttribute=V.initIkasProductAttribute,Object.defineProperty(exports,"IkasProductAttributeType",{enumerable:!0,get:function(){return F.IkasProductAttributeType}}),exports.initIkasProductAttributeValue=R.initIkasProductAttributeValue,Object.defineProperty(exports,"IkasProductFilterDisplayType",{enumerable:!0,get:function(){return B.IkasProductFilterDisplayType}}),Object.defineProperty(exports,"IkasProductFilterSortType",{enumerable:!0,get:function(){return B.IkasProductFilterSortType}}),Object.defineProperty(exports,"IkasProductFilterType",{enumerable:!0,get:function(){return B.IkasProductFilterType}}),Object.defineProperty(exports,"IkasProductStockFilterValue",{enumerable:!0,get:function(){return B.IkasProductStockFilterValue}}),Object.defineProperty(exports,"IkasCampaignApplicablePrice",{enumerable:!0,get:function(){return D.IkasCampaignApplicablePrice}}),Object.defineProperty(exports,"IkasCampaignCreatedFor",{enumerable:!0,get:function(){return D.IkasCampaignCreatedFor}}),Object.defineProperty(exports,"IkasCampaignType",{enumerable:!0,get:function(){return D.IkasCampaignType}}),Object.defineProperty(exports,"IkasCampaignFilterType",{enumerable:!0,get:function(){return L.IkasCampaignFilterType}}),exports.initIkasProductImage=G.initIkasProductImage,exports.initIkasProductOption=H.initIkasProductOption,Object.defineProperty(exports,"IkasProductOptionSelectType",{enumerable:!0,get:function(){return J.IkasProductOptionSelectType}}),Object.defineProperty(exports,"IkasProductOptionType",{enumerable:!0,get:function(){return J.IkasProductOptionType}}),exports.initIkasProductOptionSet=E.initIkasProductOptionSet,exports.initOptionValues=E.initOptionValues,exports.initValues=E.initValues,exports.setChildOptions=E.setChildOptions,exports.initIkasProductVariant=U.initIkasProductVariant,exports.initIkasProductVariantType=_.initIkasProductVariantType,exports.initIkasProduct=z.initIkasProduct,Object.defineProperty(exports,"IkasProductType",{enumerable:!0,get:function(){return K.IkasProductType}}),exports.initIkasRaffle=N.initIkasRaffle,Object.defineProperty(exports,"IkasRaffleMetadataTargetType",{enumerable:!0,get:function(){return Q.IkasRaffleMetadataTargetType}}),Object.defineProperty(exports,"IkasRaffleVerificationType",{enumerable:!0,get:function(){return Q.IkasRaffleVerificationType}}),Object.defineProperty(exports,"IkasStockLocationDeliveryTime",{enumerable:!0,get:function(){return W.IkasStockLocationDeliveryTime}}),Object.defineProperty(exports,"IkasStockLocationType",{enumerable:!0,get:function(){return W.IkasStockLocationType}}),Object.defineProperty(exports,"IkasStorefrontThemeStatus",{enumerable:!0,get:function(){return X.IkasStorefrontThemeStatus}}),Object.defineProperty(exports,"IkasStorefrontStatus",{enumerable:!0,get:function(){return Y.IkasStorefrontStatus}}),Object.defineProperty(exports,"IkasThemeJsonComponentPropType",{enumerable:!0,get:function(){return Z.IkasThemeJsonComponentPropType}}),Object.defineProperty(exports,"IkasThemeJsonPageType",{enumerable:!0,get:function(){return $.IkasThemeJsonPageType}}),Object.defineProperty(exports,"IkasThemeJsonStockPreference",{enumerable:!0,get:function(){return ee.IkasThemeJsonStockPreference}}),exports.initIkasVariantValue=te.initIkasVariantValue,exports.initIkasVariantType=re.initIkasVariantType,Object.defineProperty(exports,"IkasVariantSelectionType",{enumerable:!0,get:function(){return ne.IkasVariantSelectionType}});
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),a=require("../../base/init.js");function s(e){e.image=e.imageId?{id:e.imageId,isVideo:!1}:void 0}exports.createIkasBlogCategory=function(){var i=e.__assign(e.__assign({},a.createIkasBaseModel()),{imageId:"",name:"",metadata:e.__assign(e.__assign({},a.createIkasBaseModel()),{id:"",slug:""})});return s(i),i},exports.initIkasBlogCategory=s;
|
|
2
|
+
//# sourceMappingURL=init.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var T;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasBrandOrderType=void 0,(T=exports.IkasBrandOrderType||(exports.IkasBrandOrderType={})).BEST_SELLER="BEST_SELLER",T.HIGHEST_DISCOUNT_RATIO="HIGHEST_DISCOUNT_RATIO",T.HIGHEST_PRICE="HIGHEST_PRICE",T.LOWEST_DISCOUNT_RATIO="LOWEST_DISCOUNT_RATIO",T.LOWEST_PRICE="LOWEST_PRICE",T.MANUALLY="MANUALLY",T.NEWEST="NEWEST",T.OLDEST="OLDEST";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../html-meta-data/init.js");exports.initIkasBrand=function(t,a){t.image=t.imageId?{id:t.imageId,isVideo:!1}:null,t.metaData&&e.initIkasHTMLMetaData(t.metaData,a),t.translations&&a&&(!function(e,t,a){if(t&&t.some((function(e){return e.locale===a}))){var i=t.find((function(e){return e.locale===a}));(null==i?void 0:i.name)&&(e.name=i.name),(null==i?void 0:i.description)&&(e.description=i.description)}}(t,t.translations,a),delete t.translations)};
|
|
2
|
+
//# sourceMappingURL=init.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var e,a,T,p;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCampaignOfferFollowUpActionType=void 0,(e=exports.IkasCampaignOfferFollowUpActionType||(exports.IkasCampaignOfferFollowUpActionType={})).DO_NOTHING="DO_NOTHING",e.OPEN_CART="OPEN_CART",e.OPEN_CHECKOUT="OPEN_CHECKOUT",exports.IkasCampaignOfferTargetPageType=void 0,(a=exports.IkasCampaignOfferTargetPageType||(exports.IkasCampaignOfferTargetPageType={})).CHECKOUT="CHECKOUT",a.POST_CHECKOUT="POST_CHECKOUT",exports.IkasCampaignOfferType=void 0,(T=exports.IkasCampaignOfferType||(exports.IkasCampaignOfferType={})).CROSS_SELL="CROSS_SELL",T.UPSELL="UPSELL",exports.IkasCampaignOfferTriggerFilterType=void 0,(p=exports.IkasCampaignOfferTriggerFilterType||(exports.IkasCampaignOfferTriggerFilterType={})).ALL_PRODUCTS="ALL_PRODUCTS",p.CATEGORY="CATEGORY",p.PRODUCT="PRODUCT",p.PRODUCT_TAG="PRODUCT_TAG",p.VARIANT="VARIANT";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var r;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCampaignOfferProductShowCriteria=void 0,(r=exports.IkasCampaignOfferProductShowCriteria||(exports.IkasCampaignOfferProductShowCriteria={})).PREVIOUS_ACCEPTED="PREVIOUS_ACCEPTED",r.PREVIOUS_REJECTED="PREVIOUS_REJECTED";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasShippingMethod=void 0,(e=exports.IkasShippingMethod||(exports.IkasShippingMethod={})).CLICK_AND_COLLECT="CLICK_AND_COLLECT",e.NO_SHIPMENT="NO_SHIPMENT",e.SHIPMENT="SHIPMENT";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCartCampaignOfferStatus=void 0,(a=exports.IkasCartCampaignOfferStatus||(exports.IkasCartCampaignOfferStatus={})).ACCEPTED="ACCEPTED",a.REJECTED="REJECTED",a.REMOVED="REMOVED",a.WAITING_FOR_ACTION="WAITING_FOR_ACTION";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var T;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCategoryProductsOrderType=void 0,(T=exports.IkasCategoryProductsOrderType||(exports.IkasCategoryProductsOrderType={})).BEST_SELLER="BEST_SELLER",T.HIGHEST_DISCOUNT_RATIO="HIGHEST_DISCOUNT_RATIO",T.HIGHEST_PRICE="HIGHEST_PRICE",T.LOWEST_DISCOUNT_RATIO="LOWEST_DISCOUNT_RATIO",T.LOWEST_PRICE="LOWEST_PRICE",T.MANUALLY="MANUALLY",T.NEWEST="NEWEST",T.OLDEST="OLDEST";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../html-meta-data/init.js");exports.initIkasCategory=function(t,i){t.image=t.imageId?{id:t.imageId,isVideo:!1}:void 0,t.metaData&&e.initIkasHTMLMetaData(t.metaData,i),t.translations&&i&&(!function(e,t,i){if(t&&t.some((function(e){return e.locale===i}))){var a=t.find((function(e){return e.locale===i}));(null==a?void 0:a.name)&&(e.name=a.name),(null==a?void 0:a.description)&&(e.description=a.description)}}(t,t.translations,i),delete t.translations)};
|
|
2
|
+
//# sourceMappingURL=init.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.js","sources":["../../../src/models/category/init.ts"],"sourcesContent":["import { IkasCategory } from \".\";\nimport { IkasCategoryTranslation } from \"./translations\";\nimport { initIkasHTMLMetaData } from \"../html-meta-data/init\";\
|
|
1
|
+
{"version":3,"file":"init.js","sources":["../../../src/models/category/init.ts"],"sourcesContent":["import { IkasCategory } from \".\";\nimport { IkasCategoryTranslation } from \"./translations\";\nimport { initIkasHTMLMetaData } from \"../html-meta-data/init\";\n\nexport function initIkasCategory(\n category: IkasCategory,\n locale: string | null\n) {\n category.image = category.imageId\n ? { id: category.imageId, isVideo: false }\n : undefined;\n\n category.metaData && initIkasHTMLMetaData(category.metaData, locale);\n\n if (category.translations && locale) {\n setTranslations(category, category.translations, locale);\n delete category.translations;\n }\n}\n\nfunction setTranslations(\n category: IkasCategory,\n translations: IkasCategoryTranslation[],\n locale: string\n) {\n if (translations && translations.some((t) => t.locale === locale)) {\n const localeTranslations = translations.find((t) => t.locale === locale);\n\n if (localeTranslations?.name) category.name = localeTranslations.name;\n if (localeTranslations?.description)\n category.description = localeTranslations.description;\n }\n}\n"],"names":["category","locale","image","imageId","id","isVideo","undefined","metaData","initIkasHTMLMetaData","translations","some","t","localeTranslations","find","name","description","setTranslations"],"mappings":"wIAIgB,SACdA,EACAC,GAEAD,EAASE,MAAQF,EAASG,QACtB,CAAEC,GAAIJ,EAASG,QAASE,SAAS,QACjCC,EAEJN,EAASO,UAAYC,EAAoBA,qBAACR,EAASO,SAAUN,GAEzDD,EAASS,cAAgBR,KAM/B,SACED,EACAS,EACAR,GAEA,GAAIQ,GAAgBA,EAAaC,MAAK,SAACC,GAAM,OAAAA,EAAEV,SAAWA,KAAS,CACjE,IAAMW,EAAqBH,EAAaI,MAAK,SAACF,GAAM,OAAAA,EAAEV,SAAWA,MAE7DW,aAAA,EAAAA,EAAoBE,QAAMd,EAASc,KAAOF,EAAmBE,OAC7DF,aAAA,EAAAA,EAAoBG,eACtBf,EAASe,YAAcH,EAAmBG,cAf5CC,CAAgBhB,EAAUA,EAASS,aAAcR,UAC1CD,EAASS"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { IkasHTMLMetaData } from "../../html-meta-data";
|
|
2
2
|
import { IkasBaseModel } from "../../base";
|
|
3
|
-
import { IkasCategoryTranslation } from "../translations";
|
|
4
3
|
export declare type IkasCategoryPathItem = {
|
|
5
4
|
metaData: IkasHTMLMetaData | null;
|
|
6
5
|
description: string | null;
|
|
7
6
|
imageId: string | null;
|
|
8
7
|
name: string;
|
|
9
|
-
translations?: IkasCategoryTranslation[] | null;
|
|
10
8
|
} & IkasBaseModel;
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCheckoutRequirement=void 0,(e=exports.IkasCheckoutRequirement||(exports.IkasCheckoutRequirement={})).INVISIBLE="INVISIBLE",e.MANDATORY="MANDATORY",e.OPTIONAL="OPTIONAL";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IkasBaseModel } from "../base";
|
|
2
|
-
import { IkasLocationTranslations } from "./location-translations";
|
|
3
2
|
export declare type IkasCountry = {
|
|
4
3
|
capital: string | null;
|
|
5
4
|
currency: string | null;
|
|
@@ -7,7 +6,6 @@ export declare type IkasCountry = {
|
|
|
7
6
|
emojiString: string | null;
|
|
8
7
|
iso2: string | null;
|
|
9
8
|
iso3: string | null;
|
|
10
|
-
locationTranslations?: IkasLocationTranslations | null;
|
|
11
9
|
name: string;
|
|
12
10
|
native: string | null;
|
|
13
11
|
phoneCode: string | null;
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCustomerAttributeType=void 0,(e=exports.IkasCustomerAttributeType||(exports.IkasCustomerAttributeType={})).BOOLEAN="BOOLEAN",e.CHOICE="CHOICE",e.DATETIME="DATETIME",e.MULTIPLE_CHOICE="MULTIPLE_CHOICE",e.NUMERIC="NUMERIC",e.TEXT="TEXT";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initIkasCustomerAttribute=function(n,i){n.translations&&i&&(!function(n,i,o){var t;if(i&&i.some((function(n){return n.locale===o}))){var e=i.find((function(n){return n.locale===o}));(null==e?void 0:e.name)&&(n.name=e.name),(null==e?void 0:e.description)&&(n.description=e.description),(null==e?void 0:e.options)&&(null===(t=n.options)||void 0===t||t.forEach((function(n){var i,o=null===(i=e.options)||void 0===i?void 0:i.find((function(i){return i.id===n.id}));o&&o.name&&(n.name=o.name)})))}}(n,n.translations,i),delete n.translations)};
|
|
2
|
+
//# sourceMappingURL=init.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var e,t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCustomerAttributePermission=void 0,(e=exports.IkasCustomerAttributePermission||(exports.IkasCustomerAttributePermission={})).INVISIBLE="INVISIBLE",e.READ="READ",e.WRITE="WRITE",exports.IkasCustomerAttributeRegisterPageRequirement=void 0,(t=exports.IkasCustomerAttributeRegisterPageRequirement||(exports.IkasCustomerAttributeRegisterPageRequirement={})).INVISIBLE="INVISIBLE",t.MANDATORY="MANDATORY",t.OPTIONAL="OPTIONAL";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var t,s,o;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCustomerAccountStatus=void 0,(t=exports.IkasCustomerAccountStatus||(exports.IkasCustomerAccountStatus={})).ACTIVE_ACCOUNT="ACTIVE_ACCOUNT",t.DECLINED_ACCOUNT_INVITATION="DECLINED_ACCOUNT_INVITATION",t.DISABLED_ACCOUNT="DISABLED_ACCOUNT",t.INVITED_TO_CREATE_ACCOUNT="INVITED_TO_CREATE_ACCOUNT",exports.IkasCustomerRegistrationSource=void 0,(s=exports.IkasCustomerRegistrationSource||(exports.IkasCustomerRegistrationSource={})).credentials="credentials",s.facebook="facebook",s.google="google",exports.IkasCustomerEmailSubscriptionStatus=void 0,(o=exports.IkasCustomerEmailSubscriptionStatus||(exports.IkasCustomerEmailSubscriptionStatus={})).NOT_SUBSCRIBED="NOT_SUBSCRIBED",o.PENDING_CONFIRMATION="PENDING_CONFIRMATION",o.SUBSCRIBED="SUBSCRIBED";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCustomerReviewStatus=void 0,(e=exports.IkasCustomerReviewStatus||(exports.IkasCustomerReviewStatus={})).APPROVED="APPROVED",e.REJECTED="REJECTED",e.WAITING="WAITING";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasHTMLMetaDataTargetType=void 0,(e=exports.IkasHTMLMetaDataTargetType||(exports.IkasHTMLMetaDataTargetType={})).BRAND="BRAND",e.CATEGORY="CATEGORY",e.PAGE="PAGE",e.PRODUCT="PRODUCT";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";function t(t,e){if(t.translations&&t.translations.some((function(t){return t.locale===e}))){var n=t.translations.find((function(t){return t.locale===e}));(null==n?void 0:n.pageTitle)&&(t.pageTitle=n.pageTitle),(null==n?void 0:n.description)&&(t.description=n.description)}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.initIkasHTMLMetaData=function(e,n){n&&t(e,n)},exports.setHTMLMetaDataTranslations=t;
|
|
2
|
+
//# sourceMappingURL=init.js.map
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { IkasImage } from "../image";
|
|
2
|
-
import { IkasMerchantAddress } from "./address";
|
|
3
2
|
export declare type IkasMerchantSettings = {
|
|
4
|
-
address: IkasMerchantAddress | null;
|
|
5
3
|
currencyFormats: IkasMerchantSettingsCurrencyFormat[] | null;
|
|
6
4
|
logoId: string | null;
|
|
7
5
|
merchantId: string;
|
|
8
6
|
merchantName: string;
|
|
9
|
-
phone: string | null;
|
|
10
7
|
logo?: IkasImage | null;
|
|
11
8
|
};
|
|
12
9
|
export declare type IkasMerchantSettingsCurrencyFormat = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/models/merchant-settings/index.ts"],"sourcesContent":["import { IkasImage } from \"../image\";\
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/models/merchant-settings/index.ts"],"sourcesContent":["import { IkasImage } from \"../image\";\n\nexport type IkasMerchantSettings = {\n currencyFormats: IkasMerchantSettingsCurrencyFormat[] | null;\n logoId: string | null;\n merchantId: string;\n merchantName: string;\n\n // Extra\n logo?: IkasImage | null;\n};\n\nexport type IkasMerchantSettingsCurrencyFormat = {\n currencyCode: string;\n decimalSeparator: string;\n symbol: string;\n symbolPosition: IkasMerchantSettingsCurrencyFormatSymbolPosition;\n thousandSeparator: string;\n omitZeroDecimal: boolean;\n};\n\nenum IkasMerchantSettingsCurrencyFormatSymbolPosition {\n LEFT = \"LEFT\",\n RIGHT = \"RIGHT\",\n}\n"],"names":["IkasMerchantSettingsCurrencyFormatSymbolPosition"],"mappings":"aAqBA,IAAKA,GAAL,SAAKA,GACHA,EAAA,KAAA,OACAA,EAAA,MAAA,QAFF,CAAKA,IAAAA,EAGJ"}
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var e,t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasAmountType=void 0,(e=exports.IkasAmountType||(exports.IkasAmountType={})).AMOUNT="AMOUNT",e.RATIO="RATIO",exports.IkasAdjustmentType=void 0,(t=exports.IkasAdjustmentType||(exports.IkasAdjustmentType={})).DECREMENT="DECREMENT",t.INCREMENT="INCREMENT";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -14,7 +14,6 @@ export declare type IkasOrder = {
|
|
|
14
14
|
cancelReason: IkasOrderCancelReason | null;
|
|
15
15
|
cancelledAt: number | null;
|
|
16
16
|
currencyCode: string;
|
|
17
|
-
currencySymbol: string | null;
|
|
18
17
|
customer: IkasOrderCustomer | null;
|
|
19
18
|
customerId: string | null;
|
|
20
19
|
giftPackageLines: IkasOrderGiftPackageLine[] | null;
|
|
@@ -81,6 +80,5 @@ export declare enum IkasOrderStatus {
|
|
|
81
80
|
export declare enum IkasOrderShippingMethod {
|
|
82
81
|
CLICK_AND_COLLECT = "CLICK_AND_COLLECT",
|
|
83
82
|
NO_SHIPMENT = "NO_SHIPMENT",
|
|
84
|
-
SHIPMENT = "SHIPMENT"
|
|
85
|
-
DIGITAL_DELIVERY = "DIGITAL_DELIVERY"
|
|
83
|
+
SHIPMENT = "SHIPMENT"
|
|
86
84
|
}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
"use strict";var E,D,L,R,I;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasOrderCancelReason=void 0,(E=exports.IkasOrderCancelReason||(exports.IkasOrderCancelReason={})).CUSTOMER="CUSTOMER",E.DECLINED="DECLINED",E.INVENTORY="INVENTORY",E.OTHER="OTHER",exports.IkasOrderPackageStatus=void 0,(D=exports.IkasOrderPackageStatus||(exports.IkasOrderPackageStatus={})).CANCELLED="CANCELLED",D.CANCEL_REJECTED="CANCEL_REJECTED",D.CANCEL_REQUESTED="CANCEL_REQUESTED",D.DELIVERED="DELIVERED",D.FULFILLED="FULFILLED",D.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",D.PARTIALLY_DELIVERED="PARTIALLY_DELIVERED",D.PARTIALLY_FULFILLED="PARTIALLY_FULFILLED",D.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",D.READY_FOR_PICK_UP="READY_FOR_PICK_UP",D.READY_FOR_SHIPMENT="READY_FOR_SHIPMENT",D.REFUNDED="REFUNDED",D.REFUND_REJECTED="REFUND_REJECTED",D.REFUND_REQUESTED="REFUND_REQUESTED",D.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",D.UNABLE_TO_DELIVER="UNABLE_TO_DELIVER",D.UNFULFILLED="UNFULFILLED",exports.IkasOrderPaymentStatus=void 0,(L=exports.IkasOrderPaymentStatus||(exports.IkasOrderPaymentStatus={})).PAID="PAID",L.PARTIALLY_PAID="PARTIALLY_PAID",L.WAITING="WAITING",exports.IkasOrderStatus=void 0,(R=exports.IkasOrderStatus||(exports.IkasOrderStatus={})).CANCELLED="CANCELLED",R.CREATED="CREATED",R.DRAFT="DRAFT",R.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",R.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",R.REFUNDED="REFUNDED",R.REFUND_REJECTED="REFUND_REJECTED",R.REFUND_REQUESTED="REFUND_REQUESTED",exports.IkasOrderShippingMethod=void 0,(I=exports.IkasOrderShippingMethod||(exports.IkasOrderShippingMethod={})).CLICK_AND_COLLECT="CLICK_AND_COLLECT",I.NO_SHIPMENT="NO_SHIPMENT",I.SHIPMENT="SHIPMENT"
|
|
1
|
+
"use strict";var E,D,L,R,I;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasOrderCancelReason=void 0,(E=exports.IkasOrderCancelReason||(exports.IkasOrderCancelReason={})).CUSTOMER="CUSTOMER",E.DECLINED="DECLINED",E.INVENTORY="INVENTORY",E.OTHER="OTHER",exports.IkasOrderPackageStatus=void 0,(D=exports.IkasOrderPackageStatus||(exports.IkasOrderPackageStatus={})).CANCELLED="CANCELLED",D.CANCEL_REJECTED="CANCEL_REJECTED",D.CANCEL_REQUESTED="CANCEL_REQUESTED",D.DELIVERED="DELIVERED",D.FULFILLED="FULFILLED",D.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",D.PARTIALLY_DELIVERED="PARTIALLY_DELIVERED",D.PARTIALLY_FULFILLED="PARTIALLY_FULFILLED",D.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",D.READY_FOR_PICK_UP="READY_FOR_PICK_UP",D.READY_FOR_SHIPMENT="READY_FOR_SHIPMENT",D.REFUNDED="REFUNDED",D.REFUND_REJECTED="REFUND_REJECTED",D.REFUND_REQUESTED="REFUND_REQUESTED",D.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",D.UNABLE_TO_DELIVER="UNABLE_TO_DELIVER",D.UNFULFILLED="UNFULFILLED",exports.IkasOrderPaymentStatus=void 0,(L=exports.IkasOrderPaymentStatus||(exports.IkasOrderPaymentStatus={})).PAID="PAID",L.PARTIALLY_PAID="PARTIALLY_PAID",L.WAITING="WAITING",exports.IkasOrderStatus=void 0,(R=exports.IkasOrderStatus||(exports.IkasOrderStatus={})).CANCELLED="CANCELLED",R.CREATED="CREATED",R.DRAFT="DRAFT",R.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",R.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",R.REFUNDED="REFUNDED",R.REFUND_REJECTED="REFUND_REJECTED",R.REFUND_REQUESTED="REFUND_REQUESTED",exports.IkasOrderShippingMethod=void 0,(I=exports.IkasOrderShippingMethod||(exports.IkasOrderShippingMethod={})).CLICK_AND_COLLECT="CLICK_AND_COLLECT",I.NO_SHIPMENT="NO_SHIPMENT",I.SHIPMENT="SHIPMENT";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/models/order/index.ts"],"sourcesContent":["import { IkasOrderAddress } from \"./address\";\nimport { IkasOrderShippingLine } from \"./shipping-line\";\nimport { IkasOrderLineItem } from \"./line-item\";\nimport { IkasOrderCustomer } from \"./customer\";\nimport { IkasOrderGiftPackageLine } from \"./gift-line\";\nimport { IkasInvoice } from \"./invoice\";\nimport { IkasOrderPaymentMethod } from \"./payment-method\";\nimport { IkasOrderAdjustment } from \"./adjustment\";\nimport { IkasOrderPackage } from \"./package\";\nimport { IkasOrderTaxLine } from \"./tax-line\";\nimport { IkasBaseModel } from \"../base\";\n\nexport type IkasOrder = {\n billingAddress: IkasOrderAddress | null;\n cancelReason: IkasOrderCancelReason | null;\n cancelledAt: number | null;\n currencyCode: string;\n
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/models/order/index.ts"],"sourcesContent":["import { IkasOrderAddress } from \"./address\";\nimport { IkasOrderShippingLine } from \"./shipping-line\";\nimport { IkasOrderLineItem } from \"./line-item\";\nimport { IkasOrderCustomer } from \"./customer\";\nimport { IkasOrderGiftPackageLine } from \"./gift-line\";\nimport { IkasInvoice } from \"./invoice\";\nimport { IkasOrderPaymentMethod } from \"./payment-method\";\nimport { IkasOrderAdjustment } from \"./adjustment\";\nimport { IkasOrderPackage } from \"./package\";\nimport { IkasOrderTaxLine } from \"./tax-line\";\nimport { IkasBaseModel } from \"../base\";\n\nexport type IkasOrder = {\n billingAddress: IkasOrderAddress | null;\n cancelReason: IkasOrderCancelReason | null;\n cancelledAt: number | null;\n currencyCode: string;\n customer: IkasOrderCustomer | null;\n customerId: string | null;\n giftPackageLines: IkasOrderGiftPackageLine[] | null;\n giftPackageNote: string | null;\n invoices: IkasInvoice[] | null;\n isGiftPackage: boolean | null;\n note: string | null;\n orderAdjustments: IkasOrderAdjustment[] | null;\n orderLineItems: IkasOrderLineItem[];\n orderNumber: string | null;\n orderPackageStatus: IkasOrderPackageStatus | null;\n orderPackages: IkasOrderPackage[] | null;\n orderPaymentStatus: IkasOrderPaymentStatus | null;\n orderedAt: number | null;\n paymentMethods: IkasOrderPaymentMethod[] | null;\n shippingAddress: IkasOrderAddress | null;\n shippingLines: IkasOrderShippingLine[] | null;\n shippingMethod: IkasOrderShippingMethod;\n status: IkasOrderStatus;\n taxLines: IkasOrderTaxLine[] | null;\n totalFinalPrice: number;\n totalPrice: number;\n} & IkasBaseModel;\n\nexport enum IkasOrderCancelReason {\n CUSTOMER = \"CUSTOMER\",\n DECLINED = \"DECLINED\",\n INVENTORY = \"INVENTORY\",\n OTHER = \"OTHER\",\n}\n\nexport enum IkasOrderPackageStatus {\n CANCELLED = \"CANCELLED\",\n CANCEL_REJECTED = \"CANCEL_REJECTED\",\n CANCEL_REQUESTED = \"CANCEL_REQUESTED\",\n DELIVERED = \"DELIVERED\",\n FULFILLED = \"FULFILLED\",\n PARTIALLY_CANCELLED = \"PARTIALLY_CANCELLED\",\n PARTIALLY_DELIVERED = \"PARTIALLY_DELIVERED\",\n PARTIALLY_FULFILLED = \"PARTIALLY_FULFILLED\",\n PARTIALLY_REFUNDED = \"PARTIALLY_REFUNDED\",\n READY_FOR_PICK_UP = \"READY_FOR_PICK_UP\",\n READY_FOR_SHIPMENT = \"READY_FOR_SHIPMENT\",\n REFUNDED = \"REFUNDED\",\n REFUND_REJECTED = \"REFUND_REJECTED\",\n REFUND_REQUESTED = \"REFUND_REQUESTED\",\n REFUND_REQUEST_ACCEPTED = \"REFUND_REQUEST_ACCEPTED\",\n UNABLE_TO_DELIVER = \"UNABLE_TO_DELIVER\",\n UNFULFILLED = \"UNFULFILLED\",\n}\n\nexport enum IkasOrderPaymentStatus {\n PAID = \"PAID\",\n PARTIALLY_PAID = \"PARTIALLY_PAID\",\n WAITING = \"WAITING\",\n}\n\nexport enum IkasOrderStatus {\n CANCELLED = \"CANCELLED\",\n CREATED = \"CREATED\",\n DRAFT = \"DRAFT\",\n PARTIALLY_CANCELLED = \"PARTIALLY_CANCELLED\",\n PARTIALLY_REFUNDED = \"PARTIALLY_REFUNDED\",\n REFUNDED = \"REFUNDED\",\n REFUND_REJECTED = \"REFUND_REJECTED\",\n REFUND_REQUESTED = \"REFUND_REQUESTED\",\n}\n\nexport enum IkasOrderShippingMethod {\n CLICK_AND_COLLECT = \"CLICK_AND_COLLECT\",\n NO_SHIPMENT = \"NO_SHIPMENT\",\n SHIPMENT = \"SHIPMENT\",\n}\n"],"names":["IkasOrderCancelReason","IkasOrderPackageStatus","IkasOrderPaymentStatus","IkasOrderStatus","IkasOrderShippingMethod"],"mappings":"aAyCA,IAAYA,EAOAC,EAoBAC,EAMAC,EAWAC,yDA5CAJ,QAKXA,2BAAA,GALWA,EAAAA,gCAAAA,QAAAA,sBAKX,KAJC,SAAA,WACAA,EAAA,SAAA,WACAA,EAAA,UAAA,YACAA,EAAA,MAAA,QAGUC,QAkBXA,4BAAA,GAlBWA,EAAAA,iCAAAA,QAAAA,uBAkBX,KAjBC,UAAA,YACAA,EAAA,gBAAA,kBACAA,EAAA,iBAAA,mBACAA,EAAA,UAAA,YACAA,EAAA,UAAA,YACAA,EAAA,oBAAA,sBACAA,EAAA,oBAAA,sBACAA,EAAA,oBAAA,sBACAA,EAAA,mBAAA,qBACAA,EAAA,kBAAA,oBACAA,EAAA,mBAAA,qBACAA,EAAA,SAAA,WACAA,EAAA,gBAAA,kBACAA,EAAA,iBAAA,mBACAA,EAAA,wBAAA,0BACAA,EAAA,kBAAA,oBACAA,EAAA,YAAA,cAGUC,QAIXA,4BAAA,GAJWA,EAAAA,iCAAAA,QAAAA,uBAIX,KAHC,KAAA,OACAA,EAAA,eAAA,iBACAA,EAAA,QAAA,UAGUC,QASXA,qBAAA,GATWA,EAAAA,0BAAAA,QAAAA,gBASX,KARC,UAAA,YACAA,EAAA,QAAA,UACAA,EAAA,MAAA,QACAA,EAAA,oBAAA,sBACAA,EAAA,mBAAA,qBACAA,EAAA,SAAA,WACAA,EAAA,gBAAA,kBACAA,EAAA,iBAAA,mBAGUC,QAIXA,6BAAA,GAJWA,EAAAA,QAAuBA,0BAAvBA,gCAIX,KAHC,kBAAA,oBACAA,EAAA,YAAA,cACAA,EAAA,SAAA"}
|
|
@@ -4,11 +4,9 @@ import { IkasOrderLineItemOption } from "./option";
|
|
|
4
4
|
import { IkasBaseModel } from "../../base";
|
|
5
5
|
export declare type IkasOrderLineItem = {
|
|
6
6
|
currencyCode: string | null;
|
|
7
|
-
currencySymbol: string | null;
|
|
8
7
|
discount: IkasOrderLineDiscount | null;
|
|
9
8
|
discountPrice: number | null;
|
|
10
9
|
finalPrice: number | null;
|
|
11
|
-
finalUnitPrice: number | null;
|
|
12
10
|
options: IkasOrderLineItemOption[] | null;
|
|
13
11
|
originalOrderLineItemId: string | null;
|
|
14
12
|
price: number;
|
|
@@ -17,7 +15,6 @@ export declare type IkasOrderLineItem = {
|
|
|
17
15
|
statusUpdatedAt: number | null;
|
|
18
16
|
stockLocationId: string | null;
|
|
19
17
|
taxValue: number | null;
|
|
20
|
-
unitPrice: number | null;
|
|
21
18
|
variant: IkasOrderLineVariant;
|
|
22
19
|
orderedAt: number;
|
|
23
20
|
} & IkasBaseModel;
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var E;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasOrderLineItemStatus=void 0,(E=exports.IkasOrderLineItemStatus||(exports.IkasOrderLineItemStatus={})).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";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/models/order/line-item/index.ts"],"sourcesContent":["import { IkasOrderLineDiscount } from \"./discount\";\nimport { IkasOrderLineVariant } from \"./variant\";\nimport { IkasOrderLineItemOption } from \"./option\";\nimport { IkasBaseModel } from \"../../base\";\n\nexport type IkasOrderLineItem = {\n currencyCode: string | null;\n
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/models/order/line-item/index.ts"],"sourcesContent":["import { IkasOrderLineDiscount } from \"./discount\";\nimport { IkasOrderLineVariant } from \"./variant\";\nimport { IkasOrderLineItemOption } from \"./option\";\nimport { IkasBaseModel } from \"../../base\";\n\nexport type IkasOrderLineItem = {\n currencyCode: string | null;\n discount: IkasOrderLineDiscount | null;\n discountPrice: number | null;\n finalPrice: number | null;\n options: IkasOrderLineItemOption[] | null;\n originalOrderLineItemId: string | null;\n price: number;\n quantity: number;\n status: IkasOrderLineItemStatus;\n statusUpdatedAt: number | null;\n stockLocationId: string | null;\n taxValue: number | null;\n variant: IkasOrderLineVariant;\n orderedAt: number;\n} & IkasBaseModel;\n\nexport enum IkasOrderLineItemStatus {\n CANCELLED = \"CANCELLED\",\n CANCEL_REJECTED = \"CANCEL_REJECTED\",\n CANCEL_REQUESTED = \"CANCEL_REQUESTED\",\n DELIVERED = \"DELIVERED\",\n FULFILLED = \"FULFILLED\",\n REFUNDED = \"REFUNDED\",\n REFUND_REJECTED = \"REFUND_REJECTED\",\n REFUND_REQUESTED = \"REFUND_REQUESTED\",\n REFUND_REQUEST_ACCEPTED = \"REFUND_REQUEST_ACCEPTED\",\n UNFULFILLED = \"UNFULFILLED\",\n}\n"],"names":["IkasOrderLineItemStatus"],"mappings":"aAsBA,IAAYA,yDAAAA,QAWXA,6BAAA,GAXWA,EAAAA,QAAuBA,0BAAvBA,gCAWX,KAVC,UAAA,YACAA,EAAA,gBAAA,kBACAA,EAAA,iBAAA,mBACAA,EAAA,UAAA,YACAA,EAAA,UAAA,YACAA,EAAA,SAAA,WACAA,EAAA,gBAAA,kBACAA,EAAA,iBAAA,mBACAA,EAAA,wBAAA,0BACAA,EAAA,YAAA"}
|
|
@@ -3,11 +3,8 @@ import { IkasOrderLineVariantBrand } from "./brand";
|
|
|
3
3
|
import { IkasOrderLineVariantCategory } from "./category";
|
|
4
4
|
import { IkasOrderLineVariantPrice } from "./price";
|
|
5
5
|
import { IkasImage } from "../../../image";
|
|
6
|
-
import { IkasOrderLineBaseUnit } from "../base-unit";
|
|
7
|
-
import { IkasOrderLineVariantUnit } from "./unit";
|
|
8
6
|
export declare type IkasOrderLineVariant = {
|
|
9
7
|
barcodeList: string[] | null;
|
|
10
|
-
baseUnit: IkasOrderLineBaseUnit | null;
|
|
11
8
|
brand: IkasOrderLineVariantBrand | null;
|
|
12
9
|
categories: IkasOrderLineVariantCategory[] | null;
|
|
13
10
|
id: string | null;
|
|
@@ -20,7 +17,6 @@ export declare type IkasOrderLineVariant = {
|
|
|
20
17
|
tagIds: string[] | null;
|
|
21
18
|
taxValue: number | null;
|
|
22
19
|
type: number | null;
|
|
23
|
-
unit: IkasOrderLineVariantUnit | null;
|
|
24
20
|
weight: number | null;
|
|
25
21
|
variantValues: IkasOrderLineVariantVariantValue[] | null;
|
|
26
22
|
mainImage?: IkasImage | null;
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var E;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasOrderPackageFullfillStatus=void 0,(E=exports.IkasOrderPackageFullfillStatus||(exports.IkasOrderPackageFullfillStatus={})).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";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -6,7 +6,6 @@ export declare type IkasOrderTransaction = {
|
|
|
6
6
|
checkoutId: string | null;
|
|
7
7
|
createdAt: number | null;
|
|
8
8
|
currencyCode: string | null;
|
|
9
|
-
currencySymbol: string | null;
|
|
10
9
|
customerId: string | null;
|
|
11
10
|
error: IkasTransactionError | null;
|
|
12
11
|
id: string | null;
|
|
@@ -20,6 +19,7 @@ export declare type IkasOrderTransaction = {
|
|
|
20
19
|
status: IkasTransactionStatus | null;
|
|
21
20
|
type: IkasTransactionType | null;
|
|
22
21
|
updatedAt: number | null;
|
|
22
|
+
currencySymbol?: string | null;
|
|
23
23
|
};
|
|
24
24
|
export declare enum IkasTransactionStatus {
|
|
25
25
|
AUTHORIZED = "AUTHORIZED",
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var s,a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasTransactionStatus=void 0,(s=exports.IkasTransactionStatus||(exports.IkasTransactionStatus={})).AUTHORIZED="AUTHORIZED",s.FAILED="FAILED",s.PENDING="PENDING",s.SUCCESS="SUCCESS",exports.IkasTransactionType=void 0,(a=exports.IkasTransactionType||(exports.IkasTransactionType={})).REFUND="REFUND",a.SALE="SALE",a.VOID="VOID";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/models/order/transaction/index.ts"],"sourcesContent":["import { IkasPaymentMethodType } from \"../../payment-gateway\";\nimport { IkasTransactionError } from \"./error\";\nimport { IkasTransactionPaymentMethodDetail } from \"./payment-method-detail\";\n\nexport type IkasOrderTransaction = {\n amount: number | null;\n checkoutId: string | null;\n createdAt: number | null;\n currencyCode: string | null;\n
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/models/order/transaction/index.ts"],"sourcesContent":["import { IkasPaymentMethodType } from \"../../payment-gateway\";\nimport { IkasTransactionError } from \"./error\";\nimport { IkasTransactionPaymentMethodDetail } from \"./payment-method-detail\";\n\nexport type IkasOrderTransaction = {\n amount: number | null;\n checkoutId: string | null;\n createdAt: number | null;\n currencyCode: string | null;\n customerId: string | null;\n error: IkasTransactionError | null;\n id: string | null;\n orderId: string | null;\n paymentGatewayId: string | null;\n paymentGatewayName: string | null;\n paymentMethod: IkasPaymentMethodType | null;\n paymentMethodDetail: IkasTransactionPaymentMethodDetail | null;\n processedAt: number | null;\n refundReason: string | null;\n status: IkasTransactionStatus | null;\n type: IkasTransactionType | null;\n updatedAt: number | null;\n\n // Extra\n currencySymbol?: string | null;\n};\n\nexport enum IkasTransactionStatus {\n AUTHORIZED = \"AUTHORIZED\",\n FAILED = \"FAILED\",\n PENDING = \"PENDING\",\n SUCCESS = \"SUCCESS\",\n}\n\nexport enum IkasTransactionType {\n REFUND = \"REFUND\",\n SALE = \"SALE\",\n VOID = \"VOID\",\n}\n"],"names":["IkasTransactionStatus","IkasTransactionType"],"mappings":"aA2BA,IAAYA,EAOAC,yDAPAD,QAKXA,2BAAA,GALWA,EAAAA,gCAAAA,QAAAA,sBAKX,KAJC,WAAA,aACAA,EAAA,OAAA,SACAA,EAAA,QAAA,UACAA,EAAA,QAAA,UAGUC,QAIXA,yBAAA,GAJWA,EAAAA,QAAmBA,sBAAnBA,4BAIX,KAHC,OAAA,SACAA,EAAA,KAAA,OACAA,EAAA,KAAA"}
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var a,s;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasTransactionCardAssociation=void 0,(a=exports.IkasTransactionCardAssociation||(exports.IkasTransactionCardAssociation={})).AMERICAN_EXPRESS="AMERICAN_EXPRESS",a.MASTER_CARD="MASTER_CARD",a.TROY="TROY",a.VISA="VISA",exports.IkasTransactionCardType=void 0,(s=exports.IkasTransactionCardType||(exports.IkasTransactionCardType={})).CREDIT="CREDIT",s.DEBIT="DEBIT",s.PREPAID="PREPAID";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var e,a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasPaymentGatewayTransactionFeeType=void 0,(e=exports.IkasPaymentGatewayTransactionFeeType||(exports.IkasPaymentGatewayTransactionFeeType={})).AMOUNT="AMOUNT",e.RATIO="RATIO",exports.IkasPaymentGatewayAdditionalPriceType=void 0,(a=exports.IkasPaymentGatewayAdditionalPriceType||(exports.IkasPaymentGatewayAdditionalPriceType={})).DECREMENT="DECREMENT",a.INCREMENT="INCREMENT";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var e,E;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasPaymentMethodType=void 0,(e=exports.IkasPaymentMethodType||(exports.IkasPaymentMethodType={})).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",exports.IkasPaymentGatewayType=void 0,(E=exports.IkasPaymentGatewayType||(exports.IkasPaymentGatewayType={})).EXTERNAL="EXTERNAL",E.INTERNAL="INTERNAL",E.THIRD_PARTY="THIRD_PARTY";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initIkasPaymentGateway=function(n,e){n.translations&&e&&(!function(n,e,t){if(e&&e.some((function(n){return n.locale===t}))){var i=e.find((function(n){return n.locale===t}));(null==i?void 0:i.name)&&(n.name=i.name),(null==i?void 0:i.description)&&(n.description=i.description)}}(n,n.translations,e),delete n.translations)};
|
|
2
|
+
//# sourceMappingURL=init.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasPaymentGatewaySettingsType=void 0,(e=exports.IkasPaymentGatewaySettingsType||(exports.IkasPaymentGatewaySettingsType={})).NUMBER="NUMBER",e.PASSWORD="PASSWORD",e.TEXT="TEXT";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
"use strict";var t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasProductAttributeType=void 0,(t=exports.IkasProductAttributeType||(exports.IkasProductAttributeType={})).CHOICE="CHOICE",t.MULTIPLE_CHOICE="MULTIPLE_CHOICE",t.TEXT="TEXT",t.BOOLEAN="BOOLEAN",t.NUMERIC="NUMERIC",t.DATETIME="DATETIME",t.HTML="HTML",t.TABLE="TABLE"
|
|
1
|
+
"use strict";var t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasProductAttributeType=void 0,(t=exports.IkasProductAttributeType||(exports.IkasProductAttributeType={})).CHOICE="CHOICE",t.MULTIPLE_CHOICE="MULTIPLE_CHOICE",t.TEXT="TEXT",t.BOOLEAN="BOOLEAN",t.NUMERIC="NUMERIC",t.DATETIME="DATETIME",t.HTML="HTML",t.TABLE="TABLE";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/models/product/attribute/index.ts"],"sourcesContent":["import { IkasProductAttributeTableTemplate } from \"./table-template\";\nimport { IkasProductAttributeOption } from \"./option\";\nimport { IkasProductAttributeTranslation } from \"./translation\";\n\nexport type IkasProductAttribute = {\n id: string;\n name: string;\n description: string | null;\n type: IkasProductAttributeType;\n options: IkasProductAttributeOption[] | null;\n tableTemplate: IkasProductAttributeTableTemplate | null;\n translations?: IkasProductAttributeTranslation[] | null;\n};\n\nexport enum IkasProductAttributeType {\n CHOICE = \"CHOICE\",\n MULTIPLE_CHOICE = \"MULTIPLE_CHOICE\",\n TEXT = \"TEXT\",\n BOOLEAN = \"BOOLEAN\",\n NUMERIC = \"NUMERIC\",\n DATETIME = \"DATETIME\",\n HTML = \"HTML\",\n TABLE = \"TABLE\",\n
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/models/product/attribute/index.ts"],"sourcesContent":["import { IkasProductAttributeTableTemplate } from \"./table-template\";\nimport { IkasProductAttributeOption } from \"./option\";\nimport { IkasProductAttributeTranslation } from \"./translation\";\n\nexport type IkasProductAttribute = {\n id: string;\n name: string;\n description: string | null;\n type: IkasProductAttributeType;\n options: IkasProductAttributeOption[] | null;\n tableTemplate: IkasProductAttributeTableTemplate | null;\n translations?: IkasProductAttributeTranslation[] | null;\n};\n\nexport enum IkasProductAttributeType {\n CHOICE = \"CHOICE\",\n MULTIPLE_CHOICE = \"MULTIPLE_CHOICE\",\n TEXT = \"TEXT\",\n BOOLEAN = \"BOOLEAN\",\n NUMERIC = \"NUMERIC\",\n DATETIME = \"DATETIME\",\n HTML = \"HTML\",\n TABLE = \"TABLE\",\n}\n"],"names":["IkasProductAttributeType"],"mappings":"aAcA,IAAYA,yDAAAA,QASXA,8BAAA,GATWA,EAAAA,QAAwBA,2BAAxBA,iCASX,KARC,OAAA,SACAA,EAAA,gBAAA,kBACAA,EAAA,KAAA,OACAA,EAAA,QAAA,UACAA,EAAA,QAAA,UACAA,EAAA,SAAA,WACAA,EAAA,KAAA,OACAA,EAAA,MAAA"}
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initIkasProductAttribute=function(n,i){n.translations&&i&&(!function(n,i,o){var t;if(i&&i.some((function(n){return n.locale===o}))){var e=i.find((function(n){return n.locale===o}));(null==e?void 0:e.name)&&(n.name=e.name),(null==e?void 0:e.description)&&(n.description=e.description),(null==e?void 0:e.options)&&(null===(t=n.options)||void 0===t||t.forEach((function(n){var i,o=null===(i=e.options)||void 0===i?void 0:i.find((function(i){return i.id===n.id}));o&&o.name&&(n.name=o.name)})))}}(n,n.translations,i),delete n.translations)};
|
|
2
|
+
//# sourceMappingURL=init.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var a,e,p;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCampaignApplicablePrice=void 0,(a=exports.IkasCampaignApplicablePrice||(exports.IkasCampaignApplicablePrice={})).DISCOUNT_PRICE="DISCOUNT_PRICE",a.SELL_PRICE="SELL_PRICE",exports.IkasCampaignCreatedFor=void 0,(e=exports.IkasCampaignCreatedFor||(exports.IkasCampaignCreatedFor={})).ABANDONED_CHECKOUT="ABANDONED_CHECKOUT",e.CART="CART",e.CUSTOMER_REVIEW="CUSTOMER_REVIEW",exports.IkasCampaignType=void 0,(p=exports.IkasCampaignType||(exports.IkasCampaignType={})).BUY_X_THEN_GET_Y="BUY_X_THEN_GET_Y",p.FIXED_AMOUNT="FIXED_AMOUNT",p.FREE_SHIPPING="FREE_SHIPPING",p.RATIO="FREE_SHIPPING";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
"use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCampaignFilterType=void 0,(e=exports.IkasCampaignFilterType||(exports.IkasCampaignFilterType={})).CATEGORY="CATEGORY",e.PRODUCT="PRODUCT",e.PRODUCT_BRAND="PRODUCT_BRAND",e.PRODUCT_TAG="PRODUCT_TAG",e.VARIANT="VARIANT";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -36,7 +36,6 @@ export declare type IkasProductFilterSettings = {
|
|
|
36
36
|
showCollapsedOnDesktop: boolean;
|
|
37
37
|
showCollapsedOnMobile: boolean;
|
|
38
38
|
sortType: IkasProductFilterSortType;
|
|
39
|
-
customSortedValues: string[] | null;
|
|
40
39
|
};
|
|
41
40
|
export declare type IkasProductFacetInput = {
|
|
42
41
|
id: string;
|
|
@@ -64,8 +63,7 @@ export declare enum IkasProductFilterSortType {
|
|
|
64
63
|
ALPHABETICAL_ASC = "ALPHABETICAL_ASC",
|
|
65
64
|
ALPHABETICAL_DESC = "ALPHABETICAL_DESC",
|
|
66
65
|
PRODUCT_COUNT_ASC = "PRODUCT_COUNT_ASC",
|
|
67
|
-
PRODUCT_COUNT_DESC = "PRODUCT_COUNT_DESC"
|
|
68
|
-
CUSTOM_SORT = "CUSTOM_SORT"
|
|
66
|
+
PRODUCT_COUNT_DESC = "PRODUCT_COUNT_DESC"
|
|
69
67
|
}
|
|
70
68
|
export declare enum IkasProductStockFilterValue {
|
|
71
69
|
IN_STOCK = "in-stock",
|