@ikas/storefront-models 4.0.0-alpha.9 → 4.0.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/_virtual/_tslib.js +1 -0
- package/{src/index.ts → build/index.d.ts} +172 -213
- package/build/index.js +1 -0
- package/build/models/base/index.d.ts +6 -0
- package/build/models/base/init.d.ts +6 -0
- package/build/models/base/init.js +1 -0
- package/{src/models/blog/category/index.ts → build/models/blog/category/index.d.ts} +9 -11
- package/build/models/blog/category/init.d.ts +11 -0
- package/build/models/blog/category/init.js +1 -0
- package/build/models/blog/content/index.d.ts +4 -0
- package/build/models/blog/index.d.ts +24 -0
- package/build/models/blog/init.d.ts +2 -0
- package/build/models/blog/init.js +1 -0
- package/build/models/blog/meta-data/index.d.ts +14 -0
- package/build/models/blog/meta-data/index.js +1 -0
- package/{src/models/blog/content/index.ts → build/models/blog/tag/index.d.ts} +4 -5
- package/build/models/blog/writer/index.d.ts +4 -0
- package/build/models/brand/index.d.ts +23 -0
- package/build/models/brand/index.js +1 -0
- package/build/models/brand/init.d.ts +2 -0
- package/build/models/brand/init.js +1 -0
- package/build/models/brand/translation/index.d.ts +5 -0
- package/build/models/campaign-offer/index.d.ts +37 -0
- package/build/models/campaign-offer/index.js +1 -0
- package/build/models/campaign-offer/product/index.d.ts +24 -0
- package/build/models/campaign-offer/product/index.js +1 -0
- package/build/models/cart/available-shipping-method/index.d.ts +12 -0
- package/build/models/cart/available-shipping-method/index.js +1 -0
- package/build/models/cart/campaign-offer/index.d.ts +19 -0
- package/build/models/cart/campaign-offer/index.js +1 -0
- package/build/models/cart/index.d.ts +11 -0
- package/build/models/category/index.d.ts +27 -0
- package/build/models/category/index.js +1 -0
- package/build/models/category/init.d.ts +2 -0
- package/build/models/category/init.js +1 -0
- package/build/models/category/path-item/index.d.ts +10 -0
- package/build/models/category/path-item/init.d.ts +2 -0
- package/build/models/category/path-item/init.js +1 -0
- package/build/models/category/translations/index.d.ts +5 -0
- package/build/models/checkout/index.d.ts +2 -0
- package/build/models/checkout-settings/index.d.ts +22 -0
- package/build/models/checkout-settings/index.js +1 -0
- package/build/models/checkout-settings/option/index.d.ts +4 -0
- package/build/models/checkout-settings/price/index.d.ts +5 -0
- package/build/models/city/index.d.ts +10 -0
- package/build/models/contact-form/index.d.ts +7 -0
- package/build/models/country/index.d.ts +16 -0
- package/build/models/country/init.d.ts +2 -0
- package/build/models/country/init.js +1 -0
- package/build/models/country/location-translations/index.d.ts +5 -0
- package/build/models/customer/address/city/index.d.ts +5 -0
- package/build/models/customer/address/country/index.d.ts +7 -0
- package/build/models/customer/address/district/index.d.ts +5 -0
- package/build/models/customer/address/index.d.ts +25 -0
- package/build/models/customer/address/state/index.d.ts +5 -0
- package/build/models/customer/attribute/index.d.ts +20 -0
- package/build/models/customer/attribute/index.js +1 -0
- package/build/models/customer/attribute/init.d.ts +2 -0
- package/build/models/customer/attribute/init.js +1 -0
- package/build/models/customer/attribute/option/index.d.ts +7 -0
- package/build/models/customer/attribute/sales-channel/index.d.ts +16 -0
- package/build/models/customer/attribute/sales-channel/index.js +1 -0
- package/build/models/customer/attribute/translation/index.d.ts +7 -0
- package/build/models/customer/attribute/translation/option/index.d.ts +4 -0
- package/build/models/customer/attribute/value/index.d.ts +9 -0
- package/build/models/customer/index.d.ts +43 -0
- package/build/models/customer/index.js +1 -0
- package/build/models/customer/review/index.d.ts +24 -0
- package/build/models/customer/review/index.js +1 -0
- package/build/models/customer/review/init.d.ts +2 -0
- package/build/models/customer/review/init.js +1 -0
- package/build/models/customer/review/settings/index.d.ts +4 -0
- package/build/models/customer/review/summary/index.d.ts +8 -0
- package/build/models/customer/review/summary/star/index.d.ts +4 -0
- package/build/models/customer-settings/index.d.ts +7 -0
- package/build/models/district/index.d.ts +10 -0
- package/build/models/favorite-product/index.d.ts +5 -0
- package/build/models/filter-category/index.d.ts +8 -0
- package/build/models/html-meta-data/index.d.ts +25 -0
- package/build/models/html-meta-data/index.js +1 -0
- package/build/models/html-meta-data/init.d.ts +3 -0
- package/build/models/html-meta-data/init.js +1 -0
- package/build/models/html-meta-data/translations/index.d.ts +5 -0
- package/build/models/image/index.d.ts +4 -0
- package/build/models/last-viewed-product/index.d.ts +4 -0
- package/build/models/merchant-settings/address/city/index.d.ts +5 -0
- package/build/models/merchant-settings/address/country/index.d.ts +7 -0
- package/build/models/merchant-settings/address/district/index.d.ts +5 -0
- package/build/models/merchant-settings/address/index.d.ts +21 -0
- package/build/models/merchant-settings/address/state/index.d.ts +5 -0
- package/build/models/merchant-settings/address/type/index.d.ts +4 -0
- package/build/models/merchant-settings/address/type/index.js +1 -0
- package/build/models/merchant-settings/index.d.ts +24 -0
- package/build/models/merchant-settings/index.js +1 -0
- package/build/models/merchant-settings/init.d.ts +2 -0
- package/build/models/merchant-settings/init.js +1 -0
- package/build/models/order/address/city/index.d.ts +5 -0
- package/build/models/order/address/country/index.d.ts +7 -0
- package/build/models/order/address/district/index.d.ts +5 -0
- package/build/models/order/address/index.d.ts +22 -0
- package/build/models/order/address/state/index.d.ts +5 -0
- package/build/models/order/adjustment/applied-order-line/index.d.ts +6 -0
- package/build/models/order/adjustment/index.d.ts +21 -0
- package/build/models/order/adjustment/index.js +1 -0
- package/build/models/order/customer/index.d.ts +9 -0
- package/build/models/order/gift-line/index.d.ts +4 -0
- package/build/models/order/index.d.ts +86 -0
- package/build/models/order/index.js +1 -0
- package/build/models/order/invoice/index.d.ts +14 -0
- package/build/models/order/invoice/index.js +1 -0
- package/build/models/order/line-item/base-unit/index.d.ts +20 -0
- package/build/models/order/line-item/base-unit/index.js +1 -0
- package/build/models/order/line-item/base-unit/unit-type/index.d.ts +4 -0
- package/build/models/order/line-item/discount/index.d.ts +9 -0
- package/build/models/order/line-item/index.d.ts +35 -0
- package/build/models/order/line-item/index.js +1 -0
- package/build/models/order/line-item/option/index.d.ts +9 -0
- package/build/models/order/line-item/option/value/index.d.ts +5 -0
- package/build/models/order/line-item/variant/brand/index.d.ts +4 -0
- package/build/models/order/line-item/variant/category/index.d.ts +9 -0
- package/build/models/order/line-item/variant/index.d.ts +27 -0
- package/build/models/order/line-item/variant/price/index.d.ts +8 -0
- package/build/models/order/line-item/variant/unit/index.d.ts +5 -0
- package/build/models/order/line-item/variant/value/index.d.ts +7 -0
- package/build/models/order/package/index.d.ts +26 -0
- package/build/models/order/package/index.js +1 -0
- package/build/models/order/package/tracking-info/index.d.ts +7 -0
- package/build/models/order/payment-method/index.d.ts +8 -0
- package/build/models/order/refund/index.d.ts +5 -0
- package/build/models/order/refund/line-item/index.d.ts +4 -0
- package/build/models/order/refund/settings/index.d.ts +5 -0
- package/build/models/order/shipping-line/index.d.ts +11 -0
- package/build/models/order/tax-line/index.d.ts +4 -0
- package/build/models/order/transaction/error/index.d.ts +5 -0
- package/build/models/order/transaction/index.d.ts +34 -0
- package/build/models/order/transaction/index.js +1 -0
- package/build/models/order/transaction/payment-method-detail/index.d.ts +22 -0
- package/build/models/order/transaction/payment-method-detail/index.js +1 -0
- package/build/models/order/transaction/payment-method-detail/installment-price/index.d.ts +7 -0
- package/build/models/payment-gateway/additional-price/index.d.ts +14 -0
- package/build/models/payment-gateway/additional-price/index.js +1 -0
- package/build/models/payment-gateway/index.d.ts +42 -0
- package/build/models/payment-gateway/index.js +1 -0
- package/build/models/payment-gateway/init.d.ts +2 -0
- package/build/models/payment-gateway/init.js +1 -0
- package/build/models/payment-gateway/settings/index.d.ts +11 -0
- package/build/models/payment-gateway/settings/index.js +1 -0
- package/build/models/payment-gateway/translation/index.d.ts +5 -0
- package/build/models/product/attribute/index.d.ts +24 -0
- package/build/models/product/attribute/index.js +1 -0
- package/build/models/product/attribute/init.d.ts +2 -0
- package/build/models/product/attribute/init.js +1 -0
- package/build/models/product/attribute/option/index.d.ts +4 -0
- package/build/models/product/attribute/table-cell/index.d.ts +4 -0
- package/build/models/product/attribute/table-template/index.d.ts +5 -0
- package/build/models/product/attribute/translation/index.d.ts +10 -0
- package/build/models/product/attribute-value/index.d.ts +21 -0
- package/build/models/product/attribute-value/init.d.ts +2 -0
- package/build/models/product/attribute-value/init.js +1 -0
- package/build/models/product/back-in-stock-settings/index.d.ts +3 -0
- package/build/models/product/base-unit/index.d.ts +10 -0
- package/build/models/product/campaign/data/index.d.ts +39 -0
- package/build/models/product/campaign/data/index.js +1 -0
- package/build/models/product/campaign/filter/index.d.ts +11 -0
- package/build/models/product/campaign/filter/index.js +1 -0
- package/build/models/product/campaign/index.d.ts +5 -0
- package/build/models/product/campaign/product-buyx-then-gety/index.d.ts +16 -0
- package/build/models/product/campaign/product-campaign-date-range-field/index.d.ts +4 -0
- package/build/models/product/campaign/product-fixed-discount/index.d.ts +11 -0
- package/build/models/product/filter/index.d.ts +83 -0
- package/build/models/product/filter/index.js +1 -0
- package/build/models/product/image/index.d.ts +8 -0
- package/build/models/product/image/init.d.ts +2 -0
- package/build/models/product/image/init.js +1 -0
- package/build/models/product/index.d.ts +43 -0
- package/build/models/product/index.js +1 -0
- package/build/models/product/init.d.ts +2 -0
- package/build/models/product/init.js +1 -0
- package/build/models/product/option-set/index.d.ts +21 -0
- package/build/models/product/option-set/init.d.ts +6 -0
- package/build/models/product/option-set/init.js +1 -0
- package/build/models/product/option-set/option/index.d.ts +70 -0
- package/build/models/product/option-set/option/index.js +1 -0
- package/build/models/product/option-set/option/init.d.ts +2 -0
- package/build/models/product/option-set/option/init.js +1 -0
- package/build/models/product/tag/index.d.ts +4 -0
- package/build/models/product/variant/index.d.ts +21 -0
- package/build/models/product/variant/init.d.ts +2 -0
- package/build/models/product/variant/init.js +1 -0
- package/build/models/product/variant/price/index.d.ts +9 -0
- package/build/models/product/variant/unit/index.d.ts +5 -0
- package/build/models/product/variant-type/index.d.ts +6 -0
- package/build/models/product/variant-type/init.d.ts +2 -0
- package/build/models/product/variant-type/init.js +1 -0
- package/build/models/product-option-file/index.d.ts +5 -0
- package/build/models/raffle/index.d.ts +68 -0
- package/build/models/raffle/index.js +1 -0
- package/build/models/raffle/init.d.ts +2 -0
- package/build/models/raffle/init.js +1 -0
- package/build/models/sales-channel/index.d.ts +15 -0
- package/build/models/state/index.d.ts +6 -0
- package/build/models/stock-location/address/city/index.d.ts +5 -0
- package/build/models/stock-location/address/country/index.d.ts +5 -0
- package/build/models/stock-location/address/district/index.d.ts +5 -0
- package/build/models/stock-location/address/index.d.ts +13 -0
- package/build/models/stock-location/address/state/index.d.ts +5 -0
- package/build/models/stock-location/available/index.d.ts +8 -0
- package/build/models/stock-location/index.d.ts +23 -0
- package/build/models/stock-location/index.js +1 -0
- package/build/models/storefront/domain/index.d.ts +7 -0
- package/build/models/storefront/index.d.ts +30 -0
- package/build/models/storefront/index.js +1 -0
- package/build/models/storefront/localization/index.d.ts +6 -0
- package/build/models/storefront/meta-templates/index.d.ts +14 -0
- package/build/models/storefront/meta-templates/index.js +1 -0
- package/build/models/storefront/routing/dynamic-currency/index.d.ts +4 -0
- package/build/models/storefront/routing/index.d.ts +12 -0
- package/build/models/storefront/theme/index.d.ts +12 -0
- package/build/models/storefront/theme/index.js +1 -0
- package/build/models/storefront/theme-localization/index.d.ts +13 -0
- package/build/models/theme-json/component/index.d.ts +18 -0
- package/build/models/theme-json/component/prop/index.d.ts +61 -0
- package/build/models/theme-json/component/prop/index.js +1 -0
- package/build/models/theme-json/custom-data/index.d.ts +37 -0
- package/build/models/theme-json/index.d.ts +11 -0
- package/build/models/theme-json/page/component/index.d.ts +5 -0
- package/build/models/theme-json/page/index.d.ts +43 -0
- package/build/models/theme-json/page/index.js +1 -0
- package/build/models/theme-json/settings/color/index.d.ts +12 -0
- package/build/models/theme-json/settings/favicon/index.d.ts +3 -0
- package/build/models/theme-json/settings/font-family/index.d.ts +4 -0
- package/build/models/theme-json/settings/index.d.ts +14 -0
- package/build/models/theme-json/settings/index.js +1 -0
- package/build/models/variant-type/index.d.ts +21 -0
- package/build/models/variant-type/index.js +1 -0
- package/build/models/variant-type/init.d.ts +2 -0
- package/build/models/variant-type/init.js +1 -0
- package/build/models/variant-type/variant-value/index.d.ts +9 -0
- package/build/models/variant-type/variant-value/init.d.ts +2 -0
- package/build/models/variant-type/variant-value/init.js +1 -0
- package/build-cjs/_virtual/_tslib.js +0 -1
- package/build-cjs/index.d.ts +16 -0
- package/build-cjs/index.js +1 -2
- package/build-cjs/models/base/init.js +0 -1
- package/build-cjs/models/blog/category/init.js +0 -1
- package/build-cjs/models/blog/init.js +0 -1
- package/build-cjs/models/blog/meta-data/index.js +0 -1
- package/build-cjs/models/brand/index.js +0 -1
- package/build-cjs/models/brand/init.js +0 -1
- package/build-cjs/models/campaign-offer/index.js +0 -1
- package/build-cjs/models/campaign-offer/product/index.js +0 -1
- package/build-cjs/models/cart/available-shipping-method/index.js +0 -1
- package/build-cjs/models/cart/campaign-offer/index.js +0 -1
- package/build-cjs/models/category/index.js +0 -1
- package/build-cjs/models/category/init.js +1 -2
- package/build-cjs/models/category/init.js.map +1 -1
- package/build-cjs/models/category/path-item/index.d.ts +2 -0
- package/build-cjs/models/category/path-item/init.d.ts +2 -0
- package/build-cjs/models/category/path-item/init.js +1 -0
- package/build-cjs/models/category/path-item/init.js.map +1 -0
- package/build-cjs/models/checkout-settings/index.js +0 -1
- package/build-cjs/models/checkout-settings/price/index.d.ts +1 -0
- package/build-cjs/models/country/index.d.ts +2 -0
- package/build-cjs/models/country/init.d.ts +2 -0
- package/build-cjs/models/country/init.js +1 -0
- package/build-cjs/models/country/init.js.map +1 -0
- package/build-cjs/models/country/location-translations/index.d.ts +5 -0
- package/build-cjs/models/customer/attribute/index.js +0 -1
- package/build-cjs/models/customer/attribute/init.js +0 -1
- package/build-cjs/models/customer/attribute/sales-channel/index.js +0 -1
- package/build-cjs/models/customer/index.js +0 -1
- package/build-cjs/models/customer/review/index.js +0 -1
- package/build-cjs/models/customer/review/init.js +0 -1
- package/build-cjs/models/customer-settings/index.d.ts +7 -0
- package/build-cjs/models/html-meta-data/index.js +0 -1
- package/build-cjs/models/html-meta-data/init.js +0 -1
- package/build-cjs/models/merchant-settings/address/city/index.d.ts +5 -0
- package/build-cjs/models/merchant-settings/address/country/index.d.ts +7 -0
- package/build-cjs/models/merchant-settings/address/district/index.d.ts +5 -0
- package/build-cjs/models/merchant-settings/address/index.d.ts +21 -0
- package/build-cjs/models/merchant-settings/address/state/index.d.ts +5 -0
- package/build-cjs/models/merchant-settings/address/type/index.d.ts +4 -0
- package/build-cjs/models/merchant-settings/address/type/index.js +1 -0
- package/build-cjs/models/merchant-settings/address/type/index.js.map +1 -0
- package/build-cjs/models/merchant-settings/index.d.ts +3 -0
- package/build-cjs/models/merchant-settings/index.js +0 -1
- package/build-cjs/models/merchant-settings/index.js.map +1 -1
- package/build-cjs/models/merchant-settings/init.js +0 -1
- package/build-cjs/models/order/adjustment/index.js +0 -1
- package/build-cjs/models/order/index.d.ts +3 -1
- package/build-cjs/models/order/index.js +1 -2
- package/build-cjs/models/order/index.js.map +1 -1
- package/build-cjs/models/order/invoice/index.js +0 -1
- package/build-cjs/models/order/line-item/base-unit/index.d.ts +20 -0
- package/build-cjs/models/order/line-item/base-unit/index.js +1 -0
- package/build-cjs/models/order/line-item/base-unit/index.js.map +1 -0
- package/build-cjs/models/order/line-item/base-unit/unit-type/index.d.ts +4 -0
- package/build-cjs/models/order/line-item/index.d.ts +3 -0
- package/build-cjs/models/order/line-item/index.js +0 -1
- package/build-cjs/models/order/line-item/index.js.map +1 -1
- package/build-cjs/models/order/line-item/variant/index.d.ts +4 -0
- package/build-cjs/models/order/line-item/variant/price/index.d.ts +1 -0
- package/build-cjs/models/order/line-item/variant/unit/index.d.ts +5 -0
- package/build-cjs/models/order/package/index.js +0 -1
- package/build-cjs/models/order/transaction/index.d.ts +1 -1
- package/build-cjs/models/order/transaction/index.js +0 -1
- package/build-cjs/models/order/transaction/index.js.map +1 -1
- package/build-cjs/models/order/transaction/payment-method-detail/index.js +0 -1
- package/build-cjs/models/payment-gateway/additional-price/index.js +0 -1
- package/build-cjs/models/payment-gateway/index.js +0 -1
- package/build-cjs/models/payment-gateway/init.js +0 -1
- package/build-cjs/models/payment-gateway/settings/index.js +0 -1
- package/build-cjs/models/product/attribute/index.d.ts +3 -1
- package/build-cjs/models/product/attribute/index.js +1 -2
- package/build-cjs/models/product/attribute/index.js.map +1 -1
- package/build-cjs/models/product/attribute/init.js +0 -1
- package/build-cjs/models/product/attribute-value/init.js +0 -1
- package/build-cjs/models/product/base-unit/index.d.ts +10 -0
- package/build-cjs/models/product/campaign/data/index.js +0 -1
- package/build-cjs/models/product/campaign/filter/index.js +0 -1
- package/build-cjs/models/product/filter/index.d.ts +3 -1
- package/build-cjs/models/product/filter/index.js +1 -2
- package/build-cjs/models/product/filter/index.js.map +1 -1
- package/build-cjs/models/product/image/init.js +0 -1
- package/build-cjs/models/product/index.d.ts +4 -0
- package/build-cjs/models/product/index.js +0 -1
- package/build-cjs/models/product/index.js.map +1 -1
- package/build-cjs/models/product/init.js +0 -1
- package/build-cjs/models/product/option-set/init.js +0 -1
- package/build-cjs/models/product/option-set/option/index.js +0 -1
- package/build-cjs/models/product/option-set/option/init.js +0 -1
- package/build-cjs/models/product/variant/index.d.ts +2 -0
- package/build-cjs/models/product/variant/init.js +0 -1
- package/build-cjs/models/product/variant/price/index.d.ts +2 -0
- package/build-cjs/models/product/variant/unit/index.d.ts +5 -0
- package/build-cjs/models/product/variant-type/index.d.ts +1 -0
- package/build-cjs/models/product/variant-type/init.js +0 -1
- package/build-cjs/models/product-option-file/index.d.ts +5 -0
- package/build-cjs/models/raffle/index.d.ts +9 -3
- package/build-cjs/models/raffle/index.js +1 -2
- package/build-cjs/models/raffle/index.js.map +1 -1
- package/build-cjs/models/raffle/init.js +1 -2
- package/build-cjs/models/stock-location/index.js +0 -1
- package/build-cjs/models/storefront/index.d.ts +4 -0
- package/build-cjs/models/storefront/index.js +0 -1
- package/build-cjs/models/storefront/index.js.map +1 -1
- package/build-cjs/models/storefront/meta-templates/index.d.ts +14 -0
- package/build-cjs/models/storefront/meta-templates/index.js +1 -0
- package/build-cjs/models/storefront/routing/index.d.ts +2 -0
- package/build-cjs/models/storefront/theme/index.js +0 -1
- package/build-cjs/models/storefront/theme-localization/index.d.ts +2 -0
- package/build-cjs/models/theme-json/component/index.d.ts +4 -3
- package/build-cjs/models/theme-json/component/prop/index.d.ts +4 -3
- package/build-cjs/models/theme-json/component/prop/index.js +0 -1
- package/build-cjs/models/theme-json/page/index.js +0 -1
- package/build-cjs/models/theme-json/settings/index.js +0 -1
- package/build-cjs/models/variant-type/index.js +0 -1
- package/build-cjs/models/variant-type/init.js +0 -1
- package/build-cjs/models/variant-type/variant-value/init.js +0 -1
- package/package.json +10 -4
- package/src/models/base/index.ts +0 -6
- package/src/models/base/init.ts +0 -14
- package/src/models/blog/category/init.ts +0 -33
- package/src/models/blog/index.ts +0 -26
- package/src/models/blog/init.ts +0 -7
- package/src/models/blog/meta-data/index.ts +0 -16
- package/src/models/blog/tag/index.ts +0 -5
- package/src/models/blog/writer/index.ts +0 -4
- package/src/models/brand/index.ts +0 -26
- package/src/models/brand/init.ts +0 -27
- package/src/models/brand/translation/index.ts +0 -5
- package/src/models/campaign-offer/index.ts +0 -43
- package/src/models/campaign-offer/product/index.ts +0 -27
- package/src/models/cart/available-shipping-method/index.ts +0 -13
- package/src/models/cart/campaign-offer/index.ts +0 -24
- package/src/models/cart/index.ts +0 -12
- package/src/models/category/index.ts +0 -30
- package/src/models/category/init.ts +0 -33
- package/src/models/category/path-item/index.ts +0 -9
- package/src/models/category/translations/index.ts +0 -5
- package/src/models/checkout/index.ts +0 -3
- package/src/models/checkout-settings/index.ts +0 -24
- package/src/models/checkout-settings/option/index.ts +0 -4
- package/src/models/checkout-settings/price/index.ts +0 -4
- package/src/models/city/index.ts +0 -11
- package/src/models/contact-form/index.ts +0 -7
- package/src/models/country/index.ts +0 -15
- package/src/models/customer/address/city/index.ts +0 -5
- package/src/models/customer/address/country/index.ts +0 -7
- package/src/models/customer/address/district/index.ts +0 -5
- package/src/models/customer/address/index.tsx +0 -27
- package/src/models/customer/address/state/index.ts +0 -5
- package/src/models/customer/attribute/index.ts +0 -22
- package/src/models/customer/attribute/init.ts +0 -34
- package/src/models/customer/attribute/option/index.ts +0 -7
- package/src/models/customer/attribute/sales-channel/index.ts +0 -18
- package/src/models/customer/attribute/translation/index.ts +0 -8
- package/src/models/customer/attribute/translation/option/index.ts +0 -4
- package/src/models/customer/attribute/value/index.ts +0 -12
- package/src/models/customer/index.ts +0 -48
- package/src/models/customer/review/index.ts +0 -28
- package/src/models/customer/review/init.ts +0 -7
- package/src/models/customer/review/settings/index.ts +0 -4
- package/src/models/customer/review/summary/index.ts +0 -9
- package/src/models/customer/review/summary/star/index.ts +0 -4
- package/src/models/district/index.ts +0 -11
- package/src/models/favorite-product/index.ts +0 -6
- package/src/models/filter-category/index.ts +0 -9
- package/src/models/html-meta-data/index.ts +0 -28
- package/src/models/html-meta-data/init.ts +0 -27
- package/src/models/html-meta-data/translations/index.ts +0 -5
- package/src/models/image/index.ts +0 -4
- package/src/models/last-viewed-product/index.ts +0 -4
- package/src/models/merchant-settings/index.ts +0 -25
- package/src/models/merchant-settings/init.ts +0 -7
- package/src/models/order/address/city/index.ts +0 -5
- package/src/models/order/address/country/index.ts +0 -7
- package/src/models/order/address/district/index.ts +0 -5
- package/src/models/order/address/index.ts +0 -25
- package/src/models/order/address/state/index.ts +0 -5
- package/src/models/order/adjustment/applied-order-line/index.ts +0 -6
- package/src/models/order/adjustment/index.ts +0 -24
- package/src/models/order/customer/index.ts +0 -9
- package/src/models/order/gift-line/index.ts +0 -4
- package/src/models/order/index.ts +0 -90
- package/src/models/order/invoice/index.ts +0 -15
- package/src/models/order/line-item/discount/index.ts +0 -10
- package/src/models/order/line-item/index.ts +0 -34
- package/src/models/order/line-item/option/index.ts +0 -10
- package/src/models/order/line-item/option/value/index.ts +0 -5
- package/src/models/order/line-item/variant/brand/index.ts +0 -4
- package/src/models/order/line-item/variant/category/index.ts +0 -10
- package/src/models/order/line-item/variant/index.ts +0 -26
- package/src/models/order/line-item/variant/price/index.ts +0 -7
- package/src/models/order/line-item/variant/value/index.ts +0 -7
- package/src/models/order/package/index.ts +0 -28
- package/src/models/order/package/tracking-info/index.ts +0 -7
- package/src/models/order/payment-method/index.ts +0 -9
- package/src/models/order/refund/index.ts +0 -6
- package/src/models/order/refund/line-item/index.ts +0 -4
- package/src/models/order/refund/settings/index.ts +0 -5
- package/src/models/order/shipping-line/index.ts +0 -12
- package/src/models/order/tax-line/index.ts +0 -4
- package/src/models/order/transaction/error/index.ts +0 -5
- package/src/models/order/transaction/index.ts +0 -39
- package/src/models/order/transaction/payment-method-detail/index.ts +0 -25
- package/src/models/order/transaction/payment-method-detail/installment-price/index.ts +0 -7
- package/src/models/payment-gateway/additional-price/index.ts +0 -16
- package/src/models/payment-gateway/index.ts +0 -47
- package/src/models/payment-gateway/init.ts +0 -26
- package/src/models/payment-gateway/settings/index.ts +0 -12
- package/src/models/payment-gateway/translation/index.ts +0 -5
- package/src/models/product/attribute/index.ts +0 -24
- package/src/models/product/attribute/init.ts +0 -34
- package/src/models/product/attribute/option/index.ts +0 -4
- package/src/models/product/attribute/table-cell/index.ts +0 -4
- package/src/models/product/attribute/table-template/index.ts +0 -6
- package/src/models/product/attribute/translation/index.ts +0 -11
- package/src/models/product/attribute-value/index.ts +0 -26
- package/src/models/product/attribute-value/init.ts +0 -7
- package/src/models/product/back-in-stock-settings/index.ts +0 -3
- package/src/models/product/campaign/data/index.ts +0 -43
- package/src/models/product/campaign/filter/index.ts +0 -12
- package/src/models/product/campaign/index.ts +0 -6
- package/src/models/product/campaign/product-buyx-then-gety/index.ts +0 -19
- package/src/models/product/campaign/product-campaign-date-range-field/index.ts +0 -4
- package/src/models/product/campaign/product-fixed-discount/index.ts +0 -13
- package/src/models/product/filter/index.ts +0 -96
- package/src/models/product/image/index.ts +0 -10
- package/src/models/product/image/init.ts +0 -7
- package/src/models/product/index.ts +0 -43
- package/src/models/product/init.ts +0 -16
- package/src/models/product/option-set/index.ts +0 -25
- package/src/models/product/option-set/init.ts +0 -77
- package/src/models/product/option-set/option/index.ts +0 -81
- package/src/models/product/option-set/option/init.ts +0 -13
- package/src/models/product/tag/index.ts +0 -4
- package/src/models/product/variant/index.ts +0 -20
- package/src/models/product/variant/init.ts +0 -10
- package/src/models/product/variant/price/index.ts +0 -7
- package/src/models/product/variant-type/index.ts +0 -6
- package/src/models/product/variant-type/init.ts +0 -15
- package/src/models/raffle/index.ts +0 -70
- package/src/models/raffle/init.ts +0 -6
- package/src/models/sales-channel/index.ts +0 -17
- package/src/models/state/index.ts +0 -7
- package/src/models/stock-location/address/city/index.ts +0 -5
- package/src/models/stock-location/address/country/index.ts +0 -5
- package/src/models/stock-location/address/district/index.ts +0 -5
- package/src/models/stock-location/address/index.ts +0 -14
- package/src/models/stock-location/address/state/index.ts +0 -5
- package/src/models/stock-location/available/index.ts +0 -9
- package/src/models/stock-location/index.ts +0 -26
- package/src/models/storefront/domain/index.ts +0 -7
- package/src/models/storefront/index.ts +0 -30
- package/src/models/storefront/localization/index.tsx +0 -6
- package/src/models/storefront/routing/dynamic-currency/index.ts +0 -4
- package/src/models/storefront/routing/index.tsx +0 -11
- package/src/models/storefront/theme/index.tsx +0 -13
- package/src/models/storefront/theme-localization/index.tsx +0 -13
- package/src/models/theme-json/component/index.ts +0 -19
- package/src/models/theme-json/component/prop/index.ts +0 -65
- package/src/models/theme-json/custom-data/index.ts +0 -46
- package/src/models/theme-json/index.ts +0 -12
- package/src/models/theme-json/page/component/index.ts +0 -11
- package/src/models/theme-json/page/index.ts +0 -46
- package/src/models/theme-json/settings/color/index.ts +0 -13
- package/src/models/theme-json/settings/favicon/index.ts +0 -3
- package/src/models/theme-json/settings/font-family/index.ts +0 -4
- package/src/models/theme-json/settings/index.ts +0 -16
- package/src/models/variant-type/index.ts +0 -25
- package/src/models/variant-type/init.ts +0 -37
- package/src/models/variant-type/variant-value/index.ts +0 -12
- package/src/models/variant-type/variant-value/init.ts +0 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function i(i){i.thumbnailImage={id:i.id,isVideo:!1}}export{i as initIkasVariantValue};
|
|
@@ -1,2 +1 @@
|
|
|
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,6 +27,8 @@ 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";
|
|
30
32
|
export * from "./models/customer/address/city";
|
|
31
33
|
export * from "./models/customer/address/country";
|
|
32
34
|
export * from "./models/customer/address/district";
|
|
@@ -45,6 +47,7 @@ export * from "./models/customer/review/summary";
|
|
|
45
47
|
export * from "./models/customer/review/init";
|
|
46
48
|
export * from "./models/customer/review";
|
|
47
49
|
export * from "./models/customer";
|
|
50
|
+
export * from "./models/customer-settings";
|
|
48
51
|
export * from "./models/district";
|
|
49
52
|
export * from "./models/favorite-product";
|
|
50
53
|
export * from "./models/filter-category";
|
|
@@ -55,6 +58,12 @@ export * from "./models/image";
|
|
|
55
58
|
export * from "./models/last-viewed-product";
|
|
56
59
|
export * from "./models/merchant-settings/init";
|
|
57
60
|
export * from "./models/merchant-settings";
|
|
61
|
+
export * from "./models/merchant-settings/address";
|
|
62
|
+
export * from "./models/merchant-settings/address/city";
|
|
63
|
+
export * from "./models/merchant-settings/address/country";
|
|
64
|
+
export * from "./models/merchant-settings/address/district";
|
|
65
|
+
export * from "./models/merchant-settings/address/state";
|
|
66
|
+
export * from "./models/merchant-settings/address/type";
|
|
58
67
|
export * from "./models/order/address/city";
|
|
59
68
|
export * from "./models/order/address/country";
|
|
60
69
|
export * from "./models/order/address/district";
|
|
@@ -65,12 +74,15 @@ export * from "./models/order/adjustment";
|
|
|
65
74
|
export * from "./models/order/customer";
|
|
66
75
|
export * from "./models/order/gift-line";
|
|
67
76
|
export * from "./models/order/invoice";
|
|
77
|
+
export * from "./models/order/line-item/base-unit/unit-type";
|
|
78
|
+
export * from "./models/order/line-item/base-unit";
|
|
68
79
|
export * from "./models/order/line-item/discount";
|
|
69
80
|
export * from "./models/order/line-item/option/value";
|
|
70
81
|
export * from "./models/order/line-item/option";
|
|
71
82
|
export * from "./models/order/line-item/variant/brand";
|
|
72
83
|
export * from "./models/order/line-item/variant/category";
|
|
73
84
|
export * from "./models/order/line-item/variant/price";
|
|
85
|
+
export * from "./models/order/line-item/variant/unit";
|
|
74
86
|
export * from "./models/order/line-item/variant/value";
|
|
75
87
|
export * from "./models/order/line-item/variant";
|
|
76
88
|
export * from "./models/order/line-item";
|
|
@@ -101,6 +113,7 @@ export * from "./models/product/attribute";
|
|
|
101
113
|
export * from "./models/product/attribute-value/init";
|
|
102
114
|
export * from "./models/product/attribute-value";
|
|
103
115
|
export * from "./models/product/back-in-stock-settings";
|
|
116
|
+
export * from "./models/product/base-unit";
|
|
104
117
|
export * from "./models/product/filter";
|
|
105
118
|
export * from "./models/product/campaign/data";
|
|
106
119
|
export * from "./models/product/campaign/filter";
|
|
@@ -116,12 +129,14 @@ export * from "./models/product/option-set/init";
|
|
|
116
129
|
export * from "./models/product/option-set";
|
|
117
130
|
export * from "./models/product/tag";
|
|
118
131
|
export * from "./models/product/variant/price";
|
|
132
|
+
export * from "./models/product/variant/unit";
|
|
119
133
|
export * from "./models/product/variant/init";
|
|
120
134
|
export * from "./models/product/variant";
|
|
121
135
|
export * from "./models/product/variant-type/init";
|
|
122
136
|
export * from "./models/product/variant-type";
|
|
123
137
|
export * from "./models/product/init";
|
|
124
138
|
export * from "./models/product";
|
|
139
|
+
export * from "./models/product-option-file";
|
|
125
140
|
export * from "./models/raffle/init";
|
|
126
141
|
export * from "./models/raffle/";
|
|
127
142
|
export * from "./models/sales-channel";
|
|
@@ -139,6 +154,7 @@ export * from "./models/storefront/routing/dynamic-currency";
|
|
|
139
154
|
export * from "./models/storefront/routing";
|
|
140
155
|
export * from "./models/storefront/theme";
|
|
141
156
|
export * from "./models/storefront/theme-localization";
|
|
157
|
+
export * from "./models/storefront/meta-templates";
|
|
142
158
|
export * from "./models/storefront";
|
|
143
159
|
export * from "./models/theme-json/component/prop";
|
|
144
160
|
export * from "./models/theme-json/component";
|
package/build-cjs/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
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
|
+
"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/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"),E=require("./models/product/campaign/data/index.js"),H=require("./models/product/campaign/filter/index.js"),J=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/meta-templates/index.js"),te=require("./models/storefront/index.js"),re=require("./models/theme-json/component/prop/index.js"),ne=require("./models/theme-json/page/index.js"),ae=require("./models/theme-json/settings/index.js"),ie=require("./models/variant-type/variant-value/init.js"),oe=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 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}}),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 E.IkasCampaignApplicablePrice}}),Object.defineProperty(exports,"IkasCampaignCreatedFor",{enumerable:!0,get:function(){return E.IkasCampaignCreatedFor}}),Object.defineProperty(exports,"IkasCampaignType",{enumerable:!0,get:function(){return E.IkasCampaignType}}),Object.defineProperty(exports,"IkasCampaignFilterType",{enumerable:!0,get:function(){return H.IkasCampaignFilterType}}),exports.initIkasProductImage=J.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,"StorefrontPageTypesEnum",{enumerable:!0,get:function(){return ee.StorefrontPageTypesEnum}}),Object.defineProperty(exports,"IkasStorefrontStatus",{enumerable:!0,get:function(){return te.IkasStorefrontStatus}}),Object.defineProperty(exports,"IkasThemeJsonComponentPropType",{enumerable:!0,get:function(){return re.IkasThemeJsonComponentPropType}}),Object.defineProperty(exports,"IkasThemeJsonPageType",{enumerable:!0,get:function(){return ne.IkasThemeJsonPageType}}),Object.defineProperty(exports,"IkasThemeJsonStockPreference",{enumerable:!0,get:function(){return ae.IkasThemeJsonStockPreference}}),exports.initIkasVariantValue=ie.initIkasVariantValue,exports.initIkasVariantType=oe.initIkasVariantType,Object.defineProperty(exports,"IkasVariantSelectionType",{enumerable:!0,get:function(){return se.IkasVariantSelectionType}});
|
|
@@ -1,2 +1 @@
|
|
|
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,2 +1 @@
|
|
|
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,2 +1 @@
|
|
|
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,2 +1 @@
|
|
|
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,2 +1 @@
|
|
|
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,2 +1 @@
|
|
|
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,2 +1 @@
|
|
|
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,2 +1 @@
|
|
|
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,2 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
2
|
-
//# sourceMappingURL=init.js.map
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../html-meta-data/init.js"),e=require("./path-item/init.js");exports.initIkasCategory=function(i,a){i.image=i.imageId?{id:i.imageId,isVideo:!1}:void 0,i.metaData&&t.initIkasHTMLMetaData(i.metaData,a),i.translations&&a&&(!function(t,e,i){if(e&&e.some((function(t){return t.locale===i}))){var a=e.find((function(t){return t.locale===i}));(null==a?void 0:a.name)&&(t.name=a.name),(null==a?void 0:a.description)&&(t.description=a.description)}}(i,i.translations,a),delete i.translations),i.categoryPathItems.map((function(t){return e.initIkasCategoryPathItem(t,a)}))};
|
|
@@ -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\";\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":"
|
|
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\";\nimport { initIkasCategoryPathItem } from \"./path-item/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 category.categoryPathItems.map((cPI) =>\n initIkasCategoryPathItem(cPI, locale)\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","categoryPathItems","map","cPI","initIkasCategoryPathItem"],"mappings":"yKAKgB,SACdA,EACAC,GAEAD,EAASE,MAAQF,EAASG,QACtB,CAAEC,GAAIJ,EAASG,QAASE,SAAS,QACjCC,EAEJN,EAASO,UAAYC,EAAoBA,qBAACR,EAASO,SAAUN,GAEzDD,EAASS,cAAgBR,KAS/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,cAlB5CC,CAAgBhB,EAAUA,EAASS,aAAcR,UAC1CD,EAASS,cAElBT,EAASiB,kBAAkBC,KAAI,SAACC,GAC9B,OAAAC,EAAwBA,yBAACD,EAAKlB"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { IkasHTMLMetaData } from "../../html-meta-data";
|
|
2
2
|
import { IkasBaseModel } from "../../base";
|
|
3
|
+
import { IkasCategoryTranslation } from "../translations";
|
|
3
4
|
export declare type IkasCategoryPathItem = {
|
|
4
5
|
metaData: IkasHTMLMetaData | null;
|
|
5
6
|
description: string | null;
|
|
6
7
|
imageId: string | null;
|
|
7
8
|
name: string;
|
|
9
|
+
translations?: IkasCategoryTranslation[] | null;
|
|
8
10
|
} & IkasBaseModel;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initIkasCategoryPathItem=function(e,n){e.translations&&n&&(!function(e,n,t){if(n&&n.some((function(e){return e.locale===t}))){var a=n.find((function(e){return e.locale===t}));(null==a?void 0:a.name)&&(e.name=a.name)}}(e,e.translations,n),delete e.translations)};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init.js","sources":["../../../../src/models/category/path-item/init.ts"],"sourcesContent":["import { IkasCategoryPathItem } from \".\";\nimport { IkasCategoryTranslation } from \"../translations\";\n\nexport function initIkasCategoryPathItem(\n categoryPathItem: IkasCategoryPathItem,\n locale: string | null\n) {\n if (categoryPathItem.translations && locale) {\n setTranslations(categoryPathItem, categoryPathItem.translations, locale);\n delete categoryPathItem.translations;\n }\n}\n\nfunction setTranslations(\n categoryPathItem: IkasCategoryPathItem,\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)\n categoryPathItem.name = localeTranslations.name;\n }\n}\n"],"names":["categoryPathItem","locale","translations","some","t","localeTranslations","find","name","setTranslations"],"mappings":"qGAGgB,SACdA,EACAC,GAEID,EAAiBE,cAAgBD,KAMvC,SACED,EACAE,EACAD,GAEA,GAAIC,GAAgBA,EAAaC,MAAK,SAACC,GAAM,OAAAA,EAAEH,SAAWA,KAAS,CACjE,IAAMI,EAAqBH,EAAaI,MAAK,SAACF,GAAM,OAAAA,EAAEH,SAAWA,MAE7DI,aAAA,EAAAA,EAAoBE,QACtBP,EAAiBO,KAAOF,EAAmBE,OAd7CC,CAAgBR,EAAkBA,EAAiBE,aAAcD,UAC1DD,EAAiBE"}
|
|
@@ -1,2 +1 @@
|
|
|
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,4 +1,5 @@
|
|
|
1
1
|
import { IkasBaseModel } from "../base";
|
|
2
|
+
import { IkasLocationTranslations } from "./location-translations";
|
|
2
3
|
export declare type IkasCountry = {
|
|
3
4
|
capital: string | null;
|
|
4
5
|
currency: string | null;
|
|
@@ -6,6 +7,7 @@ export declare type IkasCountry = {
|
|
|
6
7
|
emojiString: string | null;
|
|
7
8
|
iso2: string | null;
|
|
8
9
|
iso3: string | null;
|
|
10
|
+
locationTranslations?: IkasLocationTranslations | null;
|
|
9
11
|
name: string;
|
|
10
12
|
native: string | null;
|
|
11
13
|
phoneCode: string | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initIkasCountry=function(n,o){n.locationTranslations&&o&&(!function(n,o){n.name=n.locationTranslations&&n.locationTranslations[o]||n.name}(n,o),delete n.locationTranslations)};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init.js","sources":["../../../src/models/country/init.ts"],"sourcesContent":["import { IkasCountry } from \"./index\";\nimport { IkasLocationTranslations } from \"./location-translations\";\n\nexport function initIkasCountry(country: IkasCountry, locale: string | null) {\n if (country.locationTranslations && locale) {\n setTranslations(country, locale);\n delete country.locationTranslations;\n }\n}\n\nfunction setTranslations(country: IkasCountry, locale: string) {\n country.name =\n (country.locationTranslations &&\n country.locationTranslations[locale as keyof IkasLocationTranslations]) ||\n country.name;\n}\n"],"names":["country","locale","locationTranslations","name","setTranslations"],"mappings":"4FAGgB,SAAgBA,EAAsBC,GAChDD,EAAQE,sBAAwBD,KAMtC,SAAyBD,EAAsBC,GAC7CD,EAAQG,KACLH,EAAQE,sBACPF,EAAQE,qBAAqBD,IAC/BD,EAAQG,KATRC,CAAgBJ,EAASC,UAClBD,EAAQE"}
|
|
@@ -1,2 +1 @@
|
|
|
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,2 +1 @@
|
|
|
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,2 +1 @@
|
|
|
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,2 +1 @@
|
|
|
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,2 +1 @@
|
|
|
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,2 +1 @@
|
|
|
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,2 +1 @@
|
|
|
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
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IkasMerchantAddressCity } from "./city";
|
|
2
|
+
import { IkasMerchantAddressCountry } from "./country";
|
|
3
|
+
import { IkasMerchantAddressDistrict } from "./district";
|
|
4
|
+
import { IkasMerchantAddressState } from "./state";
|
|
5
|
+
import { IkasMerchantSettingsAddressTypeEnum } from "./type";
|
|
6
|
+
export declare type IkasMerchantAddress = {
|
|
7
|
+
addressLine1: string | null;
|
|
8
|
+
addressLine2: string | null;
|
|
9
|
+
city: IkasMerchantAddressCity | null;
|
|
10
|
+
country: IkasMerchantAddressCountry | null;
|
|
11
|
+
district: IkasMerchantAddressDistrict | null;
|
|
12
|
+
firstName: string | null;
|
|
13
|
+
identityNumber: string | null;
|
|
14
|
+
lastName: string | null;
|
|
15
|
+
postalCode: string | null;
|
|
16
|
+
state: IkasMerchantAddressState | null;
|
|
17
|
+
taxOffice: string | null;
|
|
18
|
+
title: string | null;
|
|
19
|
+
type: IkasMerchantSettingsAddressTypeEnum | null;
|
|
20
|
+
vkn: string | null;
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasMerchantSettingsAddressTypeEnum=void 0,(e=exports.IkasMerchantSettingsAddressTypeEnum||(exports.IkasMerchantSettingsAddressTypeEnum={})).CORPORATE="CORPORATE",e.INDIVIDUAL="INDIVIDUAL";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/models/merchant-settings/address/type/index.ts"],"sourcesContent":["export enum IkasMerchantSettingsAddressTypeEnum {\n CORPORATE = \"CORPORATE\",\n INDIVIDUAL = \"INDIVIDUAL\",\n}\n"],"names":["IkasMerchantSettingsAddressTypeEnum"],"mappings":"aAAA,IAAYA,yDAAAA,QAGXA,yCAAA,GAHWA,EAAAA,QAAmCA,sCAAnCA,4CAGX,KAFC,UAAA,YACAA,EAAA,WAAA"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { IkasImage } from "../image";
|
|
2
|
+
import { IkasMerchantAddress } from "./address";
|
|
2
3
|
export declare type IkasMerchantSettings = {
|
|
4
|
+
address: IkasMerchantAddress | null;
|
|
3
5
|
currencyFormats: IkasMerchantSettingsCurrencyFormat[] | null;
|
|
4
6
|
logoId: string | null;
|
|
5
7
|
merchantId: string;
|
|
6
8
|
merchantName: string;
|
|
9
|
+
phone: string | null;
|
|
7
10
|
logo?: IkasImage | null;
|
|
8
11
|
};
|
|
9
12
|
export declare type IkasMerchantSettingsCurrencyFormat = {
|
|
@@ -1 +1 @@
|
|
|
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":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/models/merchant-settings/index.ts"],"sourcesContent":["import { IkasImage } from \"../image\";\nimport { IkasMerchantAddress } from \"./address\";\n\nexport type IkasMerchantSettings = {\n address: IkasMerchantAddress | null;\n currencyFormats: IkasMerchantSettingsCurrencyFormat[] | null;\n logoId: string | null;\n merchantId: string;\n merchantName: string;\n phone: string | null;\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":"aAwBA,IAAKA,GAAL,SAAKA,GACHA,EAAA,KAAA,OACAA,EAAA,MAAA,QAFF,CAAKA,IAAAA,EAGJ"}
|
|
@@ -1,2 +1 @@
|
|
|
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,6 +14,7 @@ export declare type IkasOrder = {
|
|
|
14
14
|
cancelReason: IkasOrderCancelReason | null;
|
|
15
15
|
cancelledAt: number | null;
|
|
16
16
|
currencyCode: string;
|
|
17
|
+
currencySymbol: string | null;
|
|
17
18
|
customer: IkasOrderCustomer | null;
|
|
18
19
|
customerId: string | null;
|
|
19
20
|
giftPackageLines: IkasOrderGiftPackageLine[] | null;
|
|
@@ -80,5 +81,6 @@ export declare enum IkasOrderStatus {
|
|
|
80
81
|
export declare enum IkasOrderShippingMethod {
|
|
81
82
|
CLICK_AND_COLLECT = "CLICK_AND_COLLECT",
|
|
82
83
|
NO_SHIPMENT = "NO_SHIPMENT",
|
|
83
|
-
SHIPMENT = "SHIPMENT"
|
|
84
|
+
SHIPMENT = "SHIPMENT",
|
|
85
|
+
DIGITAL_DELIVERY = "DIGITAL_DELIVERY"
|
|
84
86
|
}
|
|
@@ -1,2 +1 @@
|
|
|
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
|
+
"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",I.DIGITAL_DELIVERY="DIGITAL_DELIVERY";
|
|
@@ -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 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":"
|
|
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 currencySymbol: string | null;\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 DIGITAL_DELIVERY = \"DIGITAL_DELIVERY\",\n}\n"],"names":["IkasOrderCancelReason","IkasOrderPackageStatus","IkasOrderPaymentStatus","IkasOrderStatus","IkasOrderShippingMethod"],"mappings":"aA0CA,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,QAKXA,6BAAA,GALWA,EAAAA,QAAuBA,0BAAvBA,gCAKX,KAJC,kBAAA,oBACAA,EAAA,YAAA,cACAA,EAAA,SAAA,WACAA,EAAA,iBAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IkasOrderLineVariantUnitType } from "./unit-type";
|
|
2
|
+
export declare type IkasOrderLineBaseUnit = {
|
|
3
|
+
baseAmount: number;
|
|
4
|
+
type: IkasProductUnitType;
|
|
5
|
+
unit: IkasOrderLineVariantUnitType | null;
|
|
6
|
+
};
|
|
7
|
+
export declare enum IkasProductUnitType {
|
|
8
|
+
CENTILITER = "CENTILITER",
|
|
9
|
+
CENTIMETER = "CENTIMETER",
|
|
10
|
+
CUBIC_METERS = "CUBIC_METERS",
|
|
11
|
+
CUSTOM = "CUSTOM",
|
|
12
|
+
GRAM = "GRAM",
|
|
13
|
+
KILOGRAM = "KILOGRAM",
|
|
14
|
+
LITER = "LITER",
|
|
15
|
+
METER = "METER",
|
|
16
|
+
MILLIGRAM = "MILLIGRAM",
|
|
17
|
+
MILLILITER = "MILLILITER",
|
|
18
|
+
MILLIMETER = "MILLIMETER",
|
|
19
|
+
SQUARE_METERS = "SQUARE_METERS"
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var E;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasProductUnitType=void 0,(E=exports.IkasProductUnitType||(exports.IkasProductUnitType={})).CENTILITER="CENTILITER",E.CENTIMETER="CENTIMETER",E.CUBIC_METERS="CUBIC_METERS",E.CUSTOM="CUSTOM",E.GRAM="GRAM",E.KILOGRAM="KILOGRAM",E.LITER="LITER",E.METER="METER",E.MILLIGRAM="MILLIGRAM",E.MILLILITER="MILLILITER",E.MILLIMETER="MILLIMETER",E.SQUARE_METERS="SQUARE_METERS";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/models/order/line-item/base-unit/index.ts"],"sourcesContent":["import { IkasOrderLineVariantUnitType } from \"./unit-type\";\n\nexport type IkasOrderLineBaseUnit = {\n baseAmount: number;\n type: IkasProductUnitType;\n unit: IkasOrderLineVariantUnitType | null;\n};\n\nexport enum IkasProductUnitType {\n CENTILITER = \"CENTILITER\",\n CENTIMETER = \"CENTIMETER\",\n CUBIC_METERS = \"CUBIC_METERS\",\n CUSTOM = \"CUSTOM\",\n GRAM = \"GRAM\",\n KILOGRAM = \"KILOGRAM\",\n LITER = \"LITER\",\n METER = \"METER\",\n MILLIGRAM = \"MILLIGRAM\",\n MILLILITER = \"MILLILITER\",\n MILLIMETER = \"MILLIMETER\",\n SQUARE_METERS = \"SQUARE_METERS\",\n}\n"],"names":["IkasProductUnitType"],"mappings":"aAQA,IAAYA,yDAAAA,QAaXA,yBAAA,GAbWA,EAAAA,QAAmBA,sBAAnBA,4BAaX,KAZC,WAAA,aACAA,EAAA,WAAA,aACAA,EAAA,aAAA,eACAA,EAAA,OAAA,SACAA,EAAA,KAAA,OACAA,EAAA,SAAA,WACAA,EAAA,MAAA,QACAA,EAAA,MAAA,QACAA,EAAA,UAAA,YACAA,EAAA,WAAA,aACAA,EAAA,WAAA,aACAA,EAAA,cAAA"}
|
|
@@ -4,9 +4,11 @@ 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;
|
|
7
8
|
discount: IkasOrderLineDiscount | null;
|
|
8
9
|
discountPrice: number | null;
|
|
9
10
|
finalPrice: number | null;
|
|
11
|
+
finalUnitPrice: number | null;
|
|
10
12
|
options: IkasOrderLineItemOption[] | null;
|
|
11
13
|
originalOrderLineItemId: string | null;
|
|
12
14
|
price: number;
|
|
@@ -15,6 +17,7 @@ export declare type IkasOrderLineItem = {
|
|
|
15
17
|
statusUpdatedAt: number | null;
|
|
16
18
|
stockLocationId: string | null;
|
|
17
19
|
taxValue: number | null;
|
|
20
|
+
unitPrice: number | null;
|
|
18
21
|
variant: IkasOrderLineVariant;
|
|
19
22
|
orderedAt: number;
|
|
20
23
|
} & IkasBaseModel;
|
|
@@ -1,2 +1 @@
|
|
|
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
|