@ikas/storefront-models 4.0.0-alpha.8 → 4.0.0-alpha.81
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 +41 -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 +2 -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 +0 -1
- 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 +9 -3
- 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,22 @@
|
|
|
1
|
+
import { IkasTransactionInstallmentPrice } from "./installment-price";
|
|
2
|
+
export declare type IkasTransactionPaymentMethodDetail = {
|
|
3
|
+
bankName: string | null;
|
|
4
|
+
binNumber: string;
|
|
5
|
+
cardAssociation: IkasTransactionCardAssociation | null;
|
|
6
|
+
cardFamily: string | null;
|
|
7
|
+
cardType: IkasTransactionCardType | null;
|
|
8
|
+
installment: IkasTransactionInstallmentPrice | null;
|
|
9
|
+
lastFourDigits: string;
|
|
10
|
+
threeDSecure: boolean | null;
|
|
11
|
+
};
|
|
12
|
+
export declare enum IkasTransactionCardAssociation {
|
|
13
|
+
AMERICAN_EXPRESS = "AMERICAN_EXPRESS",
|
|
14
|
+
MASTER_CARD = "MASTER_CARD",
|
|
15
|
+
TROY = "TROY",
|
|
16
|
+
VISA = "VISA"
|
|
17
|
+
}
|
|
18
|
+
export declare enum IkasTransactionCardType {
|
|
19
|
+
CREDIT = "CREDIT",
|
|
20
|
+
DEBIT = "DEBIT",
|
|
21
|
+
PREPAID = "PREPAID"
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var E,R;!function(E){E.AMERICAN_EXPRESS="AMERICAN_EXPRESS",E.MASTER_CARD="MASTER_CARD",E.TROY="TROY",E.VISA="VISA"}(E||(E={})),function(E){E.CREDIT="CREDIT",E.DEBIT="DEBIT",E.PREPAID="PREPAID"}(R||(R={}));export{E as IkasTransactionCardAssociation,R as IkasTransactionCardType};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare type IkasPaymentGatewayAdditionalPrice = {
|
|
2
|
+
amount: number;
|
|
3
|
+
amountType: IkasPaymentGatewayTransactionFeeType;
|
|
4
|
+
name: string;
|
|
5
|
+
type: IkasPaymentGatewayAdditionalPriceType;
|
|
6
|
+
};
|
|
7
|
+
export declare enum IkasPaymentGatewayTransactionFeeType {
|
|
8
|
+
AMOUNT = "AMOUNT",
|
|
9
|
+
RATIO = "RATIO"
|
|
10
|
+
}
|
|
11
|
+
export declare enum IkasPaymentGatewayAdditionalPriceType {
|
|
12
|
+
DECREMENT = "DECREMENT",
|
|
13
|
+
INCREMENT = "INCREMENT"
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var E,N;!function(E){E.AMOUNT="AMOUNT",E.RATIO="RATIO"}(E||(E={})),function(E){E.DECREMENT="DECREMENT",E.INCREMENT="INCREMENT"}(N||(N={}));export{N as IkasPaymentGatewayAdditionalPriceType,E as IkasPaymentGatewayTransactionFeeType};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { IkasPaymentGatewayAdditionalPrice } from "./additional-price";
|
|
2
|
+
import { IkasBaseModel } from "../base";
|
|
3
|
+
import { IkasPaymentGatewayTranslation } from "./translation";
|
|
4
|
+
import { IkasPaymentGatewaySettings } from "./settings";
|
|
5
|
+
export declare type IkasPaymentGateway = {
|
|
6
|
+
additionalPrices: IkasPaymentGatewayAdditionalPrice[] | null;
|
|
7
|
+
availableCountries: string[] | null;
|
|
8
|
+
code: string;
|
|
9
|
+
description: string | null;
|
|
10
|
+
logoUrl: string | null;
|
|
11
|
+
masterPassClientId: string | null;
|
|
12
|
+
name: string;
|
|
13
|
+
paymentGatewayProviderId: string | null;
|
|
14
|
+
supportedCurrencies: string[] | null;
|
|
15
|
+
testMode: boolean | null;
|
|
16
|
+
type: IkasPaymentGatewayType;
|
|
17
|
+
paymentMethods: IkasPaymentMethod[];
|
|
18
|
+
paymentMethodType: IkasPaymentMethodType;
|
|
19
|
+
settings?: IkasPaymentGatewaySettings[] | null;
|
|
20
|
+
translations?: IkasPaymentGatewayTranslation[] | null;
|
|
21
|
+
} & IkasBaseModel;
|
|
22
|
+
export declare enum IkasPaymentMethodType {
|
|
23
|
+
APP_PAYMENT = "APP_PAYMENT",
|
|
24
|
+
BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
|
|
25
|
+
CASH = "CASH",
|
|
26
|
+
CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
|
|
27
|
+
CREDIT_CARD = "CREDIT_CARD",
|
|
28
|
+
CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
|
|
29
|
+
GIFT_CARD = "GIFT_CARD",
|
|
30
|
+
MONEY_ORDER = "MONEY_ORDER",
|
|
31
|
+
OTHER = "OTHER",
|
|
32
|
+
WALLET = "WALLET"
|
|
33
|
+
}
|
|
34
|
+
export declare type IkasPaymentMethod = {
|
|
35
|
+
name: string;
|
|
36
|
+
logoUrl: string | null;
|
|
37
|
+
};
|
|
38
|
+
export declare enum IkasPaymentGatewayType {
|
|
39
|
+
EXTERNAL = "EXTERNAL",
|
|
40
|
+
INTERNAL = "INTERNAL",
|
|
41
|
+
THIRD_PARTY = "THIRD_PARTY"
|
|
42
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var E,R;!function(E){E.APP_PAYMENT="APP_PAYMENT",E.BUY_ONLINE_PAY_AT_STORE="BUY_ONLINE_PAY_AT_STORE",E.CASH="CASH",E.CASH_ON_DELIVERY="CASH_ON_DELIVERY",E.CREDIT_CARD="CREDIT_CARD",E.CREDIT_CARD_ON_DELIVERY="CREDIT_CARD_ON_DELIVERY",E.GIFT_CARD="GIFT_CARD",E.MONEY_ORDER="MONEY_ORDER",E.OTHER="OTHER",E.WALLET="WALLET"}(E||(E={})),function(E){E.EXTERNAL="EXTERNAL",E.INTERNAL="INTERNAL",E.THIRD_PARTY="THIRD_PARTY"}(R||(R={}));export{R as IkasPaymentGatewayType,E as IkasPaymentMethodType};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function n(n,i){n.translations&&i&&(!function(n,i,t){if(i&&i.some((function(n){return n.locale===t}))){var o=i.find((function(n){return n.locale===t}));(null==o?void 0:o.name)&&(n.name=o.name),(null==o?void 0:o.description)&&(n.description=o.description)}}(n,n.translations,i),delete n.translations)}export{n as initIkasPaymentGateway};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare type IkasPaymentGatewaySettings = {
|
|
2
|
+
label: string;
|
|
3
|
+
order: number;
|
|
4
|
+
type: IkasPaymentGatewaySettingsType;
|
|
5
|
+
value: string | null;
|
|
6
|
+
};
|
|
7
|
+
export declare enum IkasPaymentGatewaySettingsType {
|
|
8
|
+
NUMBER = "NUMBER",
|
|
9
|
+
PASSWORD = "PASSWORD",
|
|
10
|
+
TEXT = "TEXT"
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var E;!function(E){E.NUMBER="NUMBER",E.PASSWORD="PASSWORD",E.TEXT="TEXT"}(E||(E={}));export{E as IkasPaymentGatewaySettingsType};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IkasProductAttributeTableTemplate } from "./table-template";
|
|
2
|
+
import { IkasProductAttributeOption } from "./option";
|
|
3
|
+
import { IkasProductAttributeTranslation } from "./translation";
|
|
4
|
+
export declare type IkasProductAttribute = {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
description: string | null;
|
|
8
|
+
type: IkasProductAttributeType;
|
|
9
|
+
options: IkasProductAttributeOption[] | null;
|
|
10
|
+
tableTemplate: IkasProductAttributeTableTemplate | null;
|
|
11
|
+
translations?: IkasProductAttributeTranslation[] | null;
|
|
12
|
+
};
|
|
13
|
+
export declare enum IkasProductAttributeType {
|
|
14
|
+
CHOICE = "CHOICE",
|
|
15
|
+
MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
|
|
16
|
+
TEXT = "TEXT",
|
|
17
|
+
BOOLEAN = "BOOLEAN",
|
|
18
|
+
NUMERIC = "NUMERIC",
|
|
19
|
+
DATETIME = "DATETIME",
|
|
20
|
+
HTML = "HTML",
|
|
21
|
+
TABLE = "TABLE",
|
|
22
|
+
IMAGE = "IMAGE",
|
|
23
|
+
PRODUCT = "PRODUCT"
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var E;!function(E){E.CHOICE="CHOICE",E.MULTIPLE_CHOICE="MULTIPLE_CHOICE",E.TEXT="TEXT",E.BOOLEAN="BOOLEAN",E.NUMERIC="NUMERIC",E.DATETIME="DATETIME",E.HTML="HTML",E.TABLE="TABLE",E.IMAGE="IMAGE",E.PRODUCT="PRODUCT"}(E||(E={}));export{E as IkasProductAttributeType};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function n(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)}export{n as initIkasProductAttribute};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare type IkasProductAttributeTranslation = {
|
|
2
|
+
description: string | null;
|
|
3
|
+
locale: string;
|
|
4
|
+
name: string | null;
|
|
5
|
+
options: IkasProductAttributeOptionTranslation[] | null;
|
|
6
|
+
};
|
|
7
|
+
export declare type IkasProductAttributeOptionTranslation = {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string | null;
|
|
10
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IkasImage } from "../../image";
|
|
2
|
+
import { IkasProductAttribute } from "../attribute";
|
|
3
|
+
import { IkasProductAttributeOption } from "../attribute/option";
|
|
4
|
+
export declare type IkasProductAttributeValue = {
|
|
5
|
+
imageIds: string[] | null;
|
|
6
|
+
productAttributeId: string | null;
|
|
7
|
+
productAttributeOptionId: string | null;
|
|
8
|
+
value: string | null;
|
|
9
|
+
images?: IkasImage[];
|
|
10
|
+
productAttribute?: IkasProductAttribute | null;
|
|
11
|
+
productAttributeOption?: IkasProductAttributeOption | null;
|
|
12
|
+
};
|
|
13
|
+
export declare type IkasAttributeTableCellValue = {
|
|
14
|
+
colId: string;
|
|
15
|
+
rowId: string;
|
|
16
|
+
value: string | null;
|
|
17
|
+
};
|
|
18
|
+
export declare type IkasProductAttributeMap = {
|
|
19
|
+
attribute: IkasProductAttribute;
|
|
20
|
+
values: IkasProductAttributeValue[];
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function i(i){var n;i.images=null===(n=i.imageIds)||void 0===n?void 0:n.map((function(i){return{id:i,isVideo:!1}}))}export{i as initIkasProductAttributeValue};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IkasProductUnitType } from "../../order/line-item/base-unit";
|
|
2
|
+
export declare type IkasProductBaseUnit = {
|
|
3
|
+
baseAmount: number | null;
|
|
4
|
+
type: IkasProductUnitType;
|
|
5
|
+
unit: IkasProductUnit;
|
|
6
|
+
};
|
|
7
|
+
export declare type IkasProductUnit = {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { IkasProductBuyXThenGetY } from "../product-buyx-then-gety";
|
|
2
|
+
import { IkasProductCampaignDateRangeField } from "../product-campaign-date-range-field";
|
|
3
|
+
import { IkasProductFixedDiscount } from "../product-fixed-discount";
|
|
4
|
+
export declare type IkasProductCampaignData = {
|
|
5
|
+
applicableCustomerGroupIds: string[] | null;
|
|
6
|
+
applicableCustomerIds: string[] | null;
|
|
7
|
+
applicablePrice: IkasCampaignApplicablePrice;
|
|
8
|
+
buyXThenGetY: IkasProductBuyXThenGetY;
|
|
9
|
+
canCombineWithOtherCampaigns: boolean;
|
|
10
|
+
createdFor: IkasCampaignCreatedFor | null;
|
|
11
|
+
currencyCodes: [string] | null;
|
|
12
|
+
dateRange: IkasProductCampaignDateRangeField | null;
|
|
13
|
+
deleted: boolean;
|
|
14
|
+
fixedDiscount: IkasProductFixedDiscount | null;
|
|
15
|
+
hasCoupon: boolean;
|
|
16
|
+
id: string;
|
|
17
|
+
includeDiscountedProducts: boolean | null;
|
|
18
|
+
salesChannelIds: string[] | null;
|
|
19
|
+
title: string;
|
|
20
|
+
type: IkasCampaignType;
|
|
21
|
+
usageCount: number;
|
|
22
|
+
usageLimit: number | null;
|
|
23
|
+
usageLimitPerCustomer: number | null;
|
|
24
|
+
};
|
|
25
|
+
export declare enum IkasCampaignApplicablePrice {
|
|
26
|
+
DISCOUNT_PRICE = "DISCOUNT_PRICE",
|
|
27
|
+
SELL_PRICE = "SELL_PRICE"
|
|
28
|
+
}
|
|
29
|
+
export declare enum IkasCampaignCreatedFor {
|
|
30
|
+
ABANDONED_CHECKOUT = "ABANDONED_CHECKOUT",
|
|
31
|
+
CART = "CART",
|
|
32
|
+
CUSTOMER_REVIEW = "CUSTOMER_REVIEW"
|
|
33
|
+
}
|
|
34
|
+
export declare enum IkasCampaignType {
|
|
35
|
+
BUY_X_THEN_GET_Y = "BUY_X_THEN_GET_Y",
|
|
36
|
+
FIXED_AMOUNT = "FIXED_AMOUNT",
|
|
37
|
+
FREE_SHIPPING = "FREE_SHIPPING",
|
|
38
|
+
RATIO = "FREE_SHIPPING"
|
|
39
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var E,_,I;!function(E){E.DISCOUNT_PRICE="DISCOUNT_PRICE",E.SELL_PRICE="SELL_PRICE"}(E||(E={})),function(E){E.ABANDONED_CHECKOUT="ABANDONED_CHECKOUT",E.CART="CART",E.CUSTOMER_REVIEW="CUSTOMER_REVIEW"}(_||(_={})),function(E){E.BUY_X_THEN_GET_Y="BUY_X_THEN_GET_Y",E.FIXED_AMOUNT="FIXED_AMOUNT",E.FREE_SHIPPING="FREE_SHIPPING",E.RATIO="FREE_SHIPPING"}(I||(I={}));export{E as IkasCampaignApplicablePrice,_ as IkasCampaignCreatedFor,I as IkasCampaignType};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare type IkasProductCampaignFilter = {
|
|
2
|
+
idList: string[];
|
|
3
|
+
type: IkasCampaignFilterType;
|
|
4
|
+
};
|
|
5
|
+
export declare enum IkasCampaignFilterType {
|
|
6
|
+
CATEGORY = "CATEGORY",
|
|
7
|
+
PRODUCT = "PRODUCT",
|
|
8
|
+
PRODUCT_BRAND = "PRODUCT_BRAND",
|
|
9
|
+
PRODUCT_TAG = "PRODUCT_TAG",
|
|
10
|
+
VARIANT = "VARIANT"
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var R;!function(R){R.CATEGORY="CATEGORY",R.PRODUCT="PRODUCT",R.PRODUCT_BRAND="PRODUCT_BRAND",R.PRODUCT_TAG="PRODUCT_TAG",R.VARIANT="VARIANT"}(R||(R={}));export{R as IkasCampaignFilterType};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IkasProductCampaignFilter } from "../filter";
|
|
2
|
+
export declare type IkasProductBuyX = {
|
|
3
|
+
amount: number;
|
|
4
|
+
applyByQuantity: boolean;
|
|
5
|
+
filter: IkasProductCampaignFilter;
|
|
6
|
+
};
|
|
7
|
+
export declare type IkasProductGetY = {
|
|
8
|
+
amount: number;
|
|
9
|
+
discountRatio: number;
|
|
10
|
+
filter: IkasProductCampaignFilter;
|
|
11
|
+
};
|
|
12
|
+
export declare type IkasProductBuyXThenGetY = {
|
|
13
|
+
buyX: IkasProductBuyX;
|
|
14
|
+
getY: IkasProductGetY;
|
|
15
|
+
maxUsagePerOrder: number;
|
|
16
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IkasProductCampaignFilter } from "../filter";
|
|
2
|
+
export declare type IkasCampaignMinMaxRangeField = {
|
|
3
|
+
min: number | null;
|
|
4
|
+
max: number | null;
|
|
5
|
+
};
|
|
6
|
+
export declare type IkasProductFixedDiscount = {
|
|
7
|
+
amount: number | null;
|
|
8
|
+
filters: IkasProductCampaignFilter | null;
|
|
9
|
+
lineItemQuantityRange: IkasCampaignMinMaxRangeField | null;
|
|
10
|
+
priceRange: IkasCampaignMinMaxRangeField | null;
|
|
11
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { IkasImage } from "../../image";
|
|
2
|
+
export declare type IkasProductFilter = {
|
|
3
|
+
id: string;
|
|
4
|
+
key: string;
|
|
5
|
+
name: string;
|
|
6
|
+
order: number;
|
|
7
|
+
type: IkasProductFilterType;
|
|
8
|
+
displayType: IkasProductFilterDisplayType;
|
|
9
|
+
isMultiSelect: boolean;
|
|
10
|
+
isFacetFilter: boolean | null;
|
|
11
|
+
values?: IkasApplicableProductFilterValue[] | null;
|
|
12
|
+
customValues?: string[] | null;
|
|
13
|
+
settings?: IkasProductFilterSettings | null;
|
|
14
|
+
numberRange?: IkasFilterRangeValue | null;
|
|
15
|
+
numberRangeLimit?: IkasFilterRangeValue | null;
|
|
16
|
+
numberRangeListOptions?: IkasProductFilterNumberRangeListOption[] | null;
|
|
17
|
+
};
|
|
18
|
+
export declare type IkasApplicableProductFilterValue = {
|
|
19
|
+
id: string;
|
|
20
|
+
key: string;
|
|
21
|
+
name: string;
|
|
22
|
+
colorCode?: string | null;
|
|
23
|
+
thumbnailImageId?: string | null;
|
|
24
|
+
thumbnailImage?: IkasImage | null;
|
|
25
|
+
resultCount?: number | null;
|
|
26
|
+
isSelected: boolean;
|
|
27
|
+
};
|
|
28
|
+
export declare type IkasProductFilterValue = {
|
|
29
|
+
id: string;
|
|
30
|
+
type: IkasProductFilterType;
|
|
31
|
+
displayType: IkasProductFilterDisplayType;
|
|
32
|
+
valueList: string[];
|
|
33
|
+
};
|
|
34
|
+
export declare type IkasProductFilterSettings = {
|
|
35
|
+
useAndFilter?: boolean | null;
|
|
36
|
+
showCollapsedOnDesktop: boolean;
|
|
37
|
+
showCollapsedOnMobile: boolean;
|
|
38
|
+
sortType: IkasProductFilterSortType;
|
|
39
|
+
customSortedValues: string[] | null;
|
|
40
|
+
};
|
|
41
|
+
export declare type IkasProductFacetInput = {
|
|
42
|
+
id: string;
|
|
43
|
+
type: IkasProductFilterType;
|
|
44
|
+
displayType: IkasProductFilterDisplayType;
|
|
45
|
+
};
|
|
46
|
+
export declare enum IkasProductFilterType {
|
|
47
|
+
ATTRIBUTE = "ATTRIBUTE",
|
|
48
|
+
BRAND = "BRAND",
|
|
49
|
+
DISCOUNT_RATIO = "DISCOUNT_RATIO",
|
|
50
|
+
PRICE = "PRICE",
|
|
51
|
+
STOCK_STATUS = "STOCK_STATUS",
|
|
52
|
+
TAG = "TAG",
|
|
53
|
+
VARIANT_TYPE = "VARIANT_TYPE"
|
|
54
|
+
}
|
|
55
|
+
export declare enum IkasProductFilterDisplayType {
|
|
56
|
+
BOX = "BOX",
|
|
57
|
+
DATE_RANGE = "DATE_RANGE",
|
|
58
|
+
LIST = "LIST",
|
|
59
|
+
NUMBER_RANGE_LIST = "NUMBER_RANGE_LIST",
|
|
60
|
+
NUMBER_RANGE = "NUMBER_RANGE",
|
|
61
|
+
SWATCH = "SWATCH"
|
|
62
|
+
}
|
|
63
|
+
export declare enum IkasProductFilterSortType {
|
|
64
|
+
ALPHABETICAL_ASC = "ALPHABETICAL_ASC",
|
|
65
|
+
ALPHABETICAL_DESC = "ALPHABETICAL_DESC",
|
|
66
|
+
PRODUCT_COUNT_ASC = "PRODUCT_COUNT_ASC",
|
|
67
|
+
PRODUCT_COUNT_DESC = "PRODUCT_COUNT_DESC",
|
|
68
|
+
CUSTOM_SORT = "CUSTOM_SORT"
|
|
69
|
+
}
|
|
70
|
+
export declare enum IkasProductStockFilterValue {
|
|
71
|
+
IN_STOCK = "in-stock",
|
|
72
|
+
OUT_OF_STOCK = "out-of-stock"
|
|
73
|
+
}
|
|
74
|
+
export declare type IkasFilterRangeValue = {
|
|
75
|
+
from: number;
|
|
76
|
+
to: number | undefined | null;
|
|
77
|
+
};
|
|
78
|
+
export declare type IkasProductFilterNumberRangeListOption = {
|
|
79
|
+
from: number;
|
|
80
|
+
to: number | undefined | null;
|
|
81
|
+
key: string;
|
|
82
|
+
isSelected: boolean;
|
|
83
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var T,A,C,_;!function(T){T.ATTRIBUTE="ATTRIBUTE",T.BRAND="BRAND",T.DISCOUNT_RATIO="DISCOUNT_RATIO",T.PRICE="PRICE",T.STOCK_STATUS="STOCK_STATUS",T.TAG="TAG",T.VARIANT_TYPE="VARIANT_TYPE"}(T||(T={})),function(T){T.BOX="BOX",T.DATE_RANGE="DATE_RANGE",T.LIST="LIST",T.NUMBER_RANGE_LIST="NUMBER_RANGE_LIST",T.NUMBER_RANGE="NUMBER_RANGE",T.SWATCH="SWATCH"}(A||(A={})),function(T){T.ALPHABETICAL_ASC="ALPHABETICAL_ASC",T.ALPHABETICAL_DESC="ALPHABETICAL_DESC",T.PRODUCT_COUNT_ASC="PRODUCT_COUNT_ASC",T.PRODUCT_COUNT_DESC="PRODUCT_COUNT_DESC",T.CUSTOM_SORT="CUSTOM_SORT"}(C||(C={})),function(T){T.IN_STOCK="in-stock",T.OUT_OF_STOCK="out-of-stock"}(_||(_={}));export{A as IkasProductFilterDisplayType,C as IkasProductFilterSortType,T as IkasProductFilterType,_ as IkasProductStockFilterValue};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function i(i){i.image=i.imageId?{id:i.imageId,isVideo:i.isVideo||!1}:null}export{i as initIkasProductImage};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { IkasCategory } from "../category";
|
|
2
|
+
import { IkasProductVariant } from "./variant";
|
|
3
|
+
import { IkasProductAttributeValue } from "./attribute-value";
|
|
4
|
+
import { IkasProductVariantType } from "./variant-type";
|
|
5
|
+
import { IkasBrand } from "../brand";
|
|
6
|
+
import { IkasHTMLMetaData } from "../html-meta-data";
|
|
7
|
+
import { IkasProductTag } from "./tag";
|
|
8
|
+
import { IkasVariantValue } from "../variant-type/variant-value";
|
|
9
|
+
import { IkasVariantType } from "../variant-type";
|
|
10
|
+
import { IkasProductBaseUnit } from "./base-unit";
|
|
11
|
+
export declare type IkasProduct = {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
type: IkasProductType;
|
|
15
|
+
description: string;
|
|
16
|
+
shortDescription: string;
|
|
17
|
+
metaData: IkasHTMLMetaData | null;
|
|
18
|
+
brand: IkasBrand | null;
|
|
19
|
+
categories: IkasCategory[];
|
|
20
|
+
tags: IkasProductTag[] | null;
|
|
21
|
+
variants: IkasProductVariant[];
|
|
22
|
+
attributes: IkasProductAttributeValue[];
|
|
23
|
+
variantTypes: IkasProductVariantType[];
|
|
24
|
+
productOptionSetId: string | null;
|
|
25
|
+
baseUnit: IkasProductBaseUnit | null;
|
|
26
|
+
};
|
|
27
|
+
export declare enum IkasProductType {
|
|
28
|
+
PHYSICAL = "PHYSICAL",
|
|
29
|
+
DIGITAL = "DIGITAL",
|
|
30
|
+
MEMBERSHIP = "MEMBERSHIP"
|
|
31
|
+
}
|
|
32
|
+
export declare type IkasDisplayedVariantValue = {
|
|
33
|
+
variant: IkasProductVariant;
|
|
34
|
+
variantValue: IkasVariantValue;
|
|
35
|
+
hasStock: boolean;
|
|
36
|
+
isSelected: boolean;
|
|
37
|
+
};
|
|
38
|
+
export declare type IkasDisplayedVariantType = {
|
|
39
|
+
variantType: IkasVariantType;
|
|
40
|
+
displayedVariantValues: IkasDisplayedVariantValue[];
|
|
41
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var I;!function(I){I.PHYSICAL="PHYSICAL",I.DIGITAL="DIGITAL",I.MEMBERSHIP="MEMBERSHIP"}(I||(I={}));export{I as IkasProductType};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{initIkasProductVariantType as t}from"./variant-type/init.js";import{initIkasProductVariant as r}from"./variant/init.js";import{initIkasProductAttributeValue as a}from"./attribute-value/init.js";import{initIkasBrand as i}from"../brand/init.js";import{initIkasCategory as o}from"../category/init.js";import{initIkasHTMLMetaData as n}from"../html-meta-data/init.js";function m(m,e){m.metaData&&n(m.metaData,e),m.brand&&i(m.brand,e),m.categories.forEach((function(t){return o(t,e)})),m.variants.forEach(r),m.attributes.forEach(a),m.variantTypes.forEach(t)}export{m as initIkasProduct};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IkasProductOption } from "./option";
|
|
2
|
+
export declare type IkasProductOptionSelectValueTranslations = {
|
|
3
|
+
id: string;
|
|
4
|
+
value: string | null;
|
|
5
|
+
};
|
|
6
|
+
export declare type IkasProductOptionTranslations = {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string | null;
|
|
9
|
+
optionalText: string | null;
|
|
10
|
+
values: IkasProductOptionSelectValueTranslations[] | null;
|
|
11
|
+
};
|
|
12
|
+
export declare type IkasProductOptionSetTranslations = {
|
|
13
|
+
locale: string;
|
|
14
|
+
options: IkasProductOptionTranslations[] | null;
|
|
15
|
+
};
|
|
16
|
+
export declare type IkasProductOptionSet = {
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
options: IkasProductOption[];
|
|
20
|
+
translations?: IkasProductOptionSetTranslations[] | null;
|
|
21
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IkasProductOptionSet } from ".";
|
|
2
|
+
import { IkasProductOption } from "./option";
|
|
3
|
+
export declare function initIkasProductOptionSet(optionSet: IkasProductOptionSet, locale: string | null): void;
|
|
4
|
+
export declare function setChildOptions(optionSet: IkasProductOptionSet): void;
|
|
5
|
+
export declare function initOptionValues(optionSet: IkasProductOptionSet): void;
|
|
6
|
+
export declare function initValues(option: IkasProductOption): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{IkasProductOptionType as n}from"./option/index.js";import{initIkasProductOption as o}from"./option/init.js";function i(i,e){i.options.forEach((function(n){n.productOptionSetId=i.id,o(n)})),i.translations&&e&&(!function(o,i,t){var r;if(i&&i.some((function(n){return n.locale===t}))){var e=i.find((function(n){return n.locale===t}));null===(r=null==e?void 0:e.options)||void 0===r||r.forEach((function(i){var t,r=o.options.find((function(n){return n.id===i.id}));r&&(r.name=i.name||r.name,r.optionalText=i.optionalText||r.optionalText,r.type===n.CHOICE&&(null===(t=i.values)||void 0===t||t.forEach((function(n){var o,i=null===(o=r.selectSettings)||void 0===o?void 0:o.values.find((function(o){return o.id===n.id}));i&&(i.value=n.value||i.value)}))))}))}}(i,i.translations,e),delete i.translations),t(i),r(i)}function t(n){n.options.forEach((function(o){var i=n.options.filter((function(n){return n.requiredOptionId===o.id}));i.length&&(o.childOptions=i)}))}function r(n){n.options.forEach((function(n){return e(n)}))}function e(n){n.isOptional||(n.values=[],n.childOptions&&n.childOptions.forEach((function(n){return e(n)})))}export{i as initIkasProductOptionSet,r as initOptionValues,e as initValues,t as setChildOptions};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { IkasImage } from "../../../image";
|
|
2
|
+
export declare enum IkasProductOptionSelectType {
|
|
3
|
+
BOX = "BOX",
|
|
4
|
+
SELECT = "SELECT",
|
|
5
|
+
SWATCH = "SWATCH"
|
|
6
|
+
}
|
|
7
|
+
export declare enum IkasProductOptionType {
|
|
8
|
+
CHECKBOX = "CHECKBOX",
|
|
9
|
+
CHOICE = "CHOICE",
|
|
10
|
+
COLOR_PICKER = "COLOR_PICKER",
|
|
11
|
+
DATE_PICKER = "DATE_PICKER",
|
|
12
|
+
FILE = "FILE",
|
|
13
|
+
IMAGE = "IMAGE",
|
|
14
|
+
TEXT = "TEXT",
|
|
15
|
+
TEXT_AREA = "TEXT_AREA"
|
|
16
|
+
}
|
|
17
|
+
export declare type IkasProductOptionOtherPrice = {
|
|
18
|
+
currencyCode: string;
|
|
19
|
+
price: number;
|
|
20
|
+
};
|
|
21
|
+
export declare type IkasProductOptionSelectValue = {
|
|
22
|
+
id: string;
|
|
23
|
+
order: number;
|
|
24
|
+
value: string;
|
|
25
|
+
price: number | null;
|
|
26
|
+
otherPrices: IkasProductOptionOtherPrice[] | null;
|
|
27
|
+
thumbnailImageId: string | null;
|
|
28
|
+
colorCode: string | null;
|
|
29
|
+
thumbnailImage: IkasImage | null;
|
|
30
|
+
};
|
|
31
|
+
export declare type IkasProductOptionSelectSettings = {
|
|
32
|
+
type: IkasProductOptionSelectType;
|
|
33
|
+
minSelect: number | null;
|
|
34
|
+
maxSelect: number | null;
|
|
35
|
+
values: IkasProductOptionSelectValue[];
|
|
36
|
+
};
|
|
37
|
+
export declare type IkasProductOptionDateSettings = {
|
|
38
|
+
min: Date | null;
|
|
39
|
+
max: Date | null;
|
|
40
|
+
minRelativeNextDate: number | null;
|
|
41
|
+
maxRelativeNextDate: number | null;
|
|
42
|
+
};
|
|
43
|
+
export declare type IkasProductOptionTextSettings = {
|
|
44
|
+
min: number | null;
|
|
45
|
+
max: number | null;
|
|
46
|
+
};
|
|
47
|
+
export declare type IkasProductOptionFileSettings = {
|
|
48
|
+
allowedExtensions: string[] | null;
|
|
49
|
+
minQuantity: number | null;
|
|
50
|
+
maxQuantity: number | null;
|
|
51
|
+
};
|
|
52
|
+
export declare type IkasProductOption = {
|
|
53
|
+
id: string;
|
|
54
|
+
productOptionSetId: string;
|
|
55
|
+
name: string;
|
|
56
|
+
order: number;
|
|
57
|
+
type: IkasProductOptionType;
|
|
58
|
+
selectSettings: IkasProductOptionSelectSettings | null;
|
|
59
|
+
textSettings: IkasProductOptionTextSettings | null;
|
|
60
|
+
fileSettings: IkasProductOptionFileSettings | null;
|
|
61
|
+
dateSettings: IkasProductOptionDateSettings | null;
|
|
62
|
+
price: number | null;
|
|
63
|
+
otherPrices: IkasProductOptionOtherPrice[] | null;
|
|
64
|
+
isOptional: boolean;
|
|
65
|
+
optionalText: string | null;
|
|
66
|
+
requiredOptionId: string | null;
|
|
67
|
+
requiredOptionValueIds: string[] | null;
|
|
68
|
+
values: string[];
|
|
69
|
+
childOptions: IkasProductOption[];
|
|
70
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var E,C;!function(E){E.BOX="BOX",E.SELECT="SELECT",E.SWATCH="SWATCH"}(E||(E={})),function(E){E.CHECKBOX="CHECKBOX",E.CHOICE="CHOICE",E.COLOR_PICKER="COLOR_PICKER",E.DATE_PICKER="DATE_PICKER",E.FILE="FILE",E.IMAGE="IMAGE",E.TEXT="TEXT",E.TEXT_AREA="TEXT_AREA"}(C||(C={}));export{E as IkasProductOptionSelectType,C as IkasProductOptionType};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"lodash/sortBy";function t(t){var s;t.selectSettings&&((s=t.selectSettings).values=e(s.values||[],"order"))}export{t as initIkasProductOption};
|