@ikas/storefront-models 4.5.0-beta.2 → 4.5.0-beta.4
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/package.json +1 -1
- package/build/_virtual/_tslib.js +0 -1
- package/build/index.d.ts +0 -175
- package/build/index.js +0 -1
- package/build/models/base/index.d.ts +0 -6
- package/build/models/base/init.d.ts +0 -6
- package/build/models/base/init.js +0 -1
- package/build/models/blog/category/index.d.ts +0 -9
- package/build/models/blog/category/init.d.ts +0 -11
- package/build/models/blog/category/init.js +0 -1
- package/build/models/blog/content/index.d.ts +0 -4
- package/build/models/blog/index.d.ts +0 -24
- package/build/models/blog/init.d.ts +0 -2
- package/build/models/blog/init.js +0 -1
- package/build/models/blog/meta-data/index.d.ts +0 -14
- package/build/models/blog/meta-data/index.js +0 -1
- package/build/models/blog/tag/index.d.ts +0 -4
- package/build/models/blog/writer/index.d.ts +0 -4
- package/build/models/brand/index.d.ts +0 -23
- package/build/models/brand/index.js +0 -1
- package/build/models/brand/init.d.ts +0 -2
- package/build/models/brand/init.js +0 -1
- package/build/models/brand/translation/index.d.ts +0 -5
- package/build/models/campaign-offer/index.d.ts +0 -37
- package/build/models/campaign-offer/index.js +0 -1
- package/build/models/campaign-offer/product/index.d.ts +0 -29
- package/build/models/campaign-offer/product/index.js +0 -1
- package/build/models/cart/available-shipping-method/index.d.ts +0 -12
- package/build/models/cart/available-shipping-method/index.js +0 -1
- package/build/models/cart/campaign-offer/index.d.ts +0 -19
- package/build/models/cart/campaign-offer/index.js +0 -1
- package/build/models/cart/index.d.ts +0 -16
- package/build/models/cart/index.js +0 -1
- package/build/models/category/index.d.ts +0 -27
- package/build/models/category/index.js +0 -1
- package/build/models/category/init.d.ts +0 -2
- package/build/models/category/init.js +0 -1
- package/build/models/category/path-item/index.d.ts +0 -10
- package/build/models/category/path-item/init.d.ts +0 -2
- package/build/models/category/path-item/init.js +0 -1
- package/build/models/category/translations/index.d.ts +0 -5
- package/build/models/checkout/index.d.ts +0 -2
- package/build/models/checkout-settings/index.d.ts +0 -23
- package/build/models/checkout-settings/index.js +0 -1
- package/build/models/checkout-settings/option/index.d.ts +0 -4
- package/build/models/checkout-settings/price/index.d.ts +0 -5
- package/build/models/city/index.d.ts +0 -10
- package/build/models/contact-form/index.d.ts +0 -7
- package/build/models/country/index.d.ts +0 -16
- package/build/models/country/init.d.ts +0 -2
- package/build/models/country/init.js +0 -1
- package/build/models/country/location-translations/index.d.ts +0 -5
- package/build/models/customer/address/city/index.d.ts +0 -5
- package/build/models/customer/address/country/index.d.ts +0 -7
- package/build/models/customer/address/district/index.d.ts +0 -5
- package/build/models/customer/address/index.d.ts +0 -25
- package/build/models/customer/address/state/index.d.ts +0 -5
- package/build/models/customer/attribute/index.d.ts +0 -21
- package/build/models/customer/attribute/index.js +0 -1
- package/build/models/customer/attribute/init.d.ts +0 -2
- package/build/models/customer/attribute/init.js +0 -1
- package/build/models/customer/attribute/option/index.d.ts +0 -7
- package/build/models/customer/attribute/sales-channel/index.d.ts +0 -16
- package/build/models/customer/attribute/sales-channel/index.js +0 -1
- package/build/models/customer/attribute/translation/index.d.ts +0 -7
- package/build/models/customer/attribute/translation/option/index.d.ts +0 -4
- package/build/models/customer/attribute/value/index.d.ts +0 -9
- package/build/models/customer/index.d.ts +0 -43
- package/build/models/customer/index.js +0 -1
- package/build/models/customer/review/index.d.ts +0 -26
- package/build/models/customer/review/index.js +0 -1
- package/build/models/customer/review/init.d.ts +0 -2
- package/build/models/customer/review/init.js +0 -1
- package/build/models/customer/review/settings/index.d.ts +0 -4
- package/build/models/customer/review/summary/index.d.ts +0 -8
- package/build/models/customer/review/summary/star/index.d.ts +0 -4
- package/build/models/customer-settings/index.d.ts +0 -7
- package/build/models/district/index.d.ts +0 -10
- package/build/models/favorite-product/index.d.ts +0 -5
- package/build/models/filter-category/index.d.ts +0 -8
- package/build/models/html-meta-data/index.d.ts +0 -25
- package/build/models/html-meta-data/index.js +0 -1
- package/build/models/html-meta-data/init.d.ts +0 -3
- package/build/models/html-meta-data/init.js +0 -1
- package/build/models/html-meta-data/translations/index.d.ts +0 -5
- package/build/models/image/index.d.ts +0 -5
- package/build/models/last-viewed-product/index.d.ts +0 -4
- package/build/models/merchant-settings/address/city/index.d.ts +0 -5
- package/build/models/merchant-settings/address/country/index.d.ts +0 -7
- package/build/models/merchant-settings/address/district/index.d.ts +0 -5
- package/build/models/merchant-settings/address/index.d.ts +0 -21
- package/build/models/merchant-settings/address/state/index.d.ts +0 -5
- package/build/models/merchant-settings/address/type/index.d.ts +0 -4
- package/build/models/merchant-settings/address/type/index.js +0 -1
- package/build/models/merchant-settings/index.d.ts +0 -24
- package/build/models/merchant-settings/index.js +0 -1
- package/build/models/merchant-settings/init.d.ts +0 -2
- package/build/models/merchant-settings/init.js +0 -1
- package/build/models/order/address/city/index.d.ts +0 -5
- package/build/models/order/address/country/index.d.ts +0 -7
- package/build/models/order/address/district/index.d.ts +0 -5
- package/build/models/order/address/index.d.ts +0 -22
- package/build/models/order/address/state/index.d.ts +0 -5
- package/build/models/order/adjustment/applied-order-line/index.d.ts +0 -6
- package/build/models/order/adjustment/index.d.ts +0 -21
- package/build/models/order/adjustment/index.js +0 -1
- package/build/models/order/customer/index.d.ts +0 -9
- package/build/models/order/gift-line/index.d.ts +0 -4
- package/build/models/order/index.d.ts +0 -87
- package/build/models/order/index.js +0 -1
- package/build/models/order/invoice/index.d.ts +0 -14
- package/build/models/order/invoice/index.js +0 -1
- package/build/models/order/line-item/base-unit/index.d.ts +0 -20
- package/build/models/order/line-item/base-unit/index.js +0 -1
- package/build/models/order/line-item/base-unit/unit-type/index.d.ts +0 -4
- package/build/models/order/line-item/discount/index.d.ts +0 -9
- package/build/models/order/line-item/index.d.ts +0 -35
- package/build/models/order/line-item/index.js +0 -1
- package/build/models/order/line-item/option/index.d.ts +0 -9
- package/build/models/order/line-item/option/value/index.d.ts +0 -5
- package/build/models/order/line-item/variant/brand/index.d.ts +0 -4
- package/build/models/order/line-item/variant/category/index.d.ts +0 -9
- package/build/models/order/line-item/variant/index.d.ts +0 -27
- package/build/models/order/line-item/variant/price/index.d.ts +0 -8
- package/build/models/order/line-item/variant/unit/index.d.ts +0 -5
- package/build/models/order/line-item/variant/value/index.d.ts +0 -7
- package/build/models/order/package/index.d.ts +0 -27
- package/build/models/order/package/index.js +0 -1
- package/build/models/order/package/tracking-info/index.d.ts +0 -7
- package/build/models/order/payment-method/index.d.ts +0 -8
- package/build/models/order/refund/index.d.ts +0 -5
- package/build/models/order/refund/line-item/index.d.ts +0 -4
- package/build/models/order/refund/settings/index.d.ts +0 -5
- package/build/models/order/shipping-line/index.d.ts +0 -11
- package/build/models/order/tax-line/index.d.ts +0 -4
- package/build/models/order/transaction/error/index.d.ts +0 -5
- package/build/models/order/transaction/index.d.ts +0 -34
- package/build/models/order/transaction/index.js +0 -1
- package/build/models/order/transaction/payment-method-detail/index.d.ts +0 -22
- package/build/models/order/transaction/payment-method-detail/index.js +0 -1
- package/build/models/order/transaction/payment-method-detail/installment-price/index.d.ts +0 -7
- package/build/models/payment-gateway/additional-price/index.d.ts +0 -14
- package/build/models/payment-gateway/additional-price/index.js +0 -1
- package/build/models/payment-gateway/index.d.ts +0 -42
- package/build/models/payment-gateway/index.js +0 -1
- package/build/models/payment-gateway/init.d.ts +0 -2
- package/build/models/payment-gateway/init.js +0 -1
- package/build/models/payment-gateway/settings/index.d.ts +0 -11
- package/build/models/payment-gateway/settings/index.js +0 -1
- package/build/models/payment-gateway/translation/index.d.ts +0 -5
- package/build/models/product/attribute/index.d.ts +0 -24
- package/build/models/product/attribute/index.js +0 -1
- package/build/models/product/attribute/init.d.ts +0 -2
- package/build/models/product/attribute/init.js +0 -1
- package/build/models/product/attribute/option/index.d.ts +0 -4
- package/build/models/product/attribute/table-cell/index.d.ts +0 -4
- package/build/models/product/attribute/table-template/index.d.ts +0 -5
- package/build/models/product/attribute/translation/index.d.ts +0 -10
- package/build/models/product/attribute-value/index.d.ts +0 -21
- package/build/models/product/attribute-value/init.d.ts +0 -2
- package/build/models/product/attribute-value/init.js +0 -1
- package/build/models/product/back-in-stock-settings/index.d.ts +0 -3
- package/build/models/product/base-unit/index.d.ts +0 -10
- package/build/models/product/campaign/data/index.d.ts +0 -39
- package/build/models/product/campaign/data/index.js +0 -1
- package/build/models/product/campaign/filter/index.d.ts +0 -11
- package/build/models/product/campaign/filter/index.js +0 -1
- package/build/models/product/campaign/index.d.ts +0 -5
- package/build/models/product/campaign/product-buyx-then-gety/index.d.ts +0 -16
- package/build/models/product/campaign/product-campaign-date-range-field/index.d.ts +0 -4
- package/build/models/product/campaign/product-fixed-discount/index.d.ts +0 -11
- package/build/models/product/filter/index.d.ts +0 -83
- package/build/models/product/filter/index.js +0 -1
- package/build/models/product/image/index.d.ts +0 -8
- package/build/models/product/image/init.d.ts +0 -2
- package/build/models/product/image/init.js +0 -1
- package/build/models/product/index.d.ts +0 -46
- package/build/models/product/index.js +0 -1
- package/build/models/product/init.d.ts +0 -2
- package/build/models/product/init.js +0 -1
- package/build/models/product/option-set/index.d.ts +0 -21
- package/build/models/product/option-set/init.d.ts +0 -6
- package/build/models/product/option-set/init.js +0 -1
- package/build/models/product/option-set/option/index.d.ts +0 -70
- package/build/models/product/option-set/option/index.js +0 -1
- package/build/models/product/option-set/option/init.d.ts +0 -2
- package/build/models/product/option-set/option/init.js +0 -1
- package/build/models/product/star/index.d.ts +0 -4
- package/build/models/product/stock-location/index.d.ts +0 -29
- package/build/models/product/stock-location/index.js +0 -1
- package/build/models/product/tag/index.d.ts +0 -4
- package/build/models/product/variant/index.d.ts +0 -21
- package/build/models/product/variant/init.d.ts +0 -2
- package/build/models/product/variant/init.js +0 -1
- package/build/models/product/variant/price/index.d.ts +0 -9
- package/build/models/product/variant/unit/index.d.ts +0 -5
- package/build/models/product/variant-type/index.d.ts +0 -6
- package/build/models/product/variant-type/init.d.ts +0 -2
- package/build/models/product/variant-type/init.js +0 -1
- package/build/models/product-option-file/index.d.ts +0 -5
- package/build/models/raffle/index.d.ts +0 -68
- package/build/models/raffle/index.js +0 -1
- package/build/models/raffle/init.d.ts +0 -2
- package/build/models/raffle/init.js +0 -1
- package/build/models/sales-channel/index.d.ts +0 -15
- package/build/models/state/index.d.ts +0 -9
- package/build/models/state/init.d.ts +0 -2
- package/build/models/state/init.js +0 -1
- package/build/models/state/location-translations/index.d.ts +0 -5
- package/build/models/stock-location/address/city/index.d.ts +0 -5
- package/build/models/stock-location/address/country/index.d.ts +0 -5
- package/build/models/stock-location/address/district/index.d.ts +0 -5
- package/build/models/stock-location/address/index.d.ts +0 -13
- package/build/models/stock-location/address/state/index.d.ts +0 -5
- package/build/models/stock-location/available/index.d.ts +0 -8
- package/build/models/stock-location/index.d.ts +0 -23
- package/build/models/stock-location/index.js +0 -1
- package/build/models/storefront/domain/index.d.ts +0 -7
- package/build/models/storefront/index.d.ts +0 -30
- package/build/models/storefront/index.js +0 -1
- package/build/models/storefront/localization/index.d.ts +0 -6
- package/build/models/storefront/meta-templates/index.d.ts +0 -14
- package/build/models/storefront/meta-templates/index.js +0 -1
- package/build/models/storefront/routing/dynamic-currency/index.d.ts +0 -4
- package/build/models/storefront/routing/index.d.ts +0 -12
- package/build/models/storefront/theme/index.d.ts +0 -12
- package/build/models/storefront/theme/index.js +0 -1
- package/build/models/storefront/theme-localization/index.d.ts +0 -13
- package/build/models/theme-json/component/index.d.ts +0 -21
- package/build/models/theme-json/component/prop/index.d.ts +0 -61
- package/build/models/theme-json/component/prop/index.js +0 -1
- package/build/models/theme-json/custom-data/index.d.ts +0 -37
- package/build/models/theme-json/index.d.ts +0 -11
- package/build/models/theme-json/page/component/index.d.ts +0 -5
- package/build/models/theme-json/page/index.d.ts +0 -43
- package/build/models/theme-json/page/index.js +0 -1
- package/build/models/theme-json/settings/color/index.d.ts +0 -12
- package/build/models/theme-json/settings/favicon/index.d.ts +0 -3
- package/build/models/theme-json/settings/font-family/index.d.ts +0 -4
- package/build/models/theme-json/settings/index.d.ts +0 -14
- package/build/models/theme-json/settings/index.js +0 -1
- package/build/models/variant-type/index.d.ts +0 -21
- package/build/models/variant-type/index.js +0 -1
- package/build/models/variant-type/init.d.ts +0 -2
- package/build/models/variant-type/init.js +0 -1
- package/build/models/variant-type/variant-value/index.d.ts +0 -9
- package/build/models/variant-type/variant-value/init.d.ts +0 -2
- package/build/models/variant-type/variant-value/init.js +0 -1
- package/build-cjs/_virtual/_tslib.js +0 -1
- package/build-cjs/_virtual/_tslib.js.map +0 -1
- package/build-cjs/index.d.ts +0 -175
- package/build-cjs/index.js +0 -1
- package/build-cjs/index.js.map +0 -1
- package/build-cjs/models/base/index.d.ts +0 -6
- package/build-cjs/models/base/init.d.ts +0 -6
- package/build-cjs/models/base/init.js +0 -1
- package/build-cjs/models/base/init.js.map +0 -1
- package/build-cjs/models/blog/category/index.d.ts +0 -9
- package/build-cjs/models/blog/category/init.d.ts +0 -11
- package/build-cjs/models/blog/category/init.js +0 -1
- package/build-cjs/models/blog/category/init.js.map +0 -1
- package/build-cjs/models/blog/content/index.d.ts +0 -4
- package/build-cjs/models/blog/index.d.ts +0 -24
- package/build-cjs/models/blog/init.d.ts +0 -2
- package/build-cjs/models/blog/init.js +0 -1
- package/build-cjs/models/blog/init.js.map +0 -1
- package/build-cjs/models/blog/meta-data/index.d.ts +0 -14
- package/build-cjs/models/blog/meta-data/index.js +0 -1
- package/build-cjs/models/blog/meta-data/index.js.map +0 -1
- package/build-cjs/models/blog/tag/index.d.ts +0 -4
- package/build-cjs/models/blog/writer/index.d.ts +0 -4
- package/build-cjs/models/brand/index.d.ts +0 -23
- package/build-cjs/models/brand/index.js +0 -1
- package/build-cjs/models/brand/index.js.map +0 -1
- package/build-cjs/models/brand/init.d.ts +0 -2
- package/build-cjs/models/brand/init.js +0 -1
- package/build-cjs/models/brand/init.js.map +0 -1
- package/build-cjs/models/brand/translation/index.d.ts +0 -5
- package/build-cjs/models/campaign-offer/index.d.ts +0 -37
- package/build-cjs/models/campaign-offer/index.js +0 -1
- package/build-cjs/models/campaign-offer/index.js.map +0 -1
- package/build-cjs/models/campaign-offer/product/index.d.ts +0 -29
- package/build-cjs/models/campaign-offer/product/index.js +0 -1
- package/build-cjs/models/campaign-offer/product/index.js.map +0 -1
- package/build-cjs/models/cart/available-shipping-method/index.d.ts +0 -12
- package/build-cjs/models/cart/available-shipping-method/index.js +0 -1
- package/build-cjs/models/cart/available-shipping-method/index.js.map +0 -1
- package/build-cjs/models/cart/campaign-offer/index.d.ts +0 -19
- package/build-cjs/models/cart/campaign-offer/index.js +0 -1
- package/build-cjs/models/cart/campaign-offer/index.js.map +0 -1
- package/build-cjs/models/cart/index.d.ts +0 -16
- package/build-cjs/models/cart/index.js +0 -1
- package/build-cjs/models/category/index.d.ts +0 -27
- package/build-cjs/models/category/index.js +0 -1
- package/build-cjs/models/category/index.js.map +0 -1
- package/build-cjs/models/category/init.d.ts +0 -2
- package/build-cjs/models/category/init.js +0 -1
- package/build-cjs/models/category/init.js.map +0 -1
- package/build-cjs/models/category/path-item/index.d.ts +0 -10
- package/build-cjs/models/category/path-item/init.d.ts +0 -2
- package/build-cjs/models/category/path-item/init.js +0 -1
- package/build-cjs/models/category/path-item/init.js.map +0 -1
- package/build-cjs/models/category/translations/index.d.ts +0 -5
- package/build-cjs/models/checkout/index.d.ts +0 -2
- package/build-cjs/models/checkout-settings/index.d.ts +0 -23
- package/build-cjs/models/checkout-settings/index.js +0 -1
- package/build-cjs/models/checkout-settings/index.js.map +0 -1
- package/build-cjs/models/checkout-settings/option/index.d.ts +0 -4
- package/build-cjs/models/checkout-settings/price/index.d.ts +0 -5
- package/build-cjs/models/city/index.d.ts +0 -10
- package/build-cjs/models/contact-form/index.d.ts +0 -7
- package/build-cjs/models/country/index.d.ts +0 -16
- package/build-cjs/models/country/init.d.ts +0 -2
- package/build-cjs/models/country/init.js +0 -1
- package/build-cjs/models/country/init.js.map +0 -1
- package/build-cjs/models/country/location-translations/index.d.ts +0 -5
- package/build-cjs/models/customer/address/city/index.d.ts +0 -5
- package/build-cjs/models/customer/address/country/index.d.ts +0 -7
- package/build-cjs/models/customer/address/district/index.d.ts +0 -5
- package/build-cjs/models/customer/address/index.d.ts +0 -25
- package/build-cjs/models/customer/address/state/index.d.ts +0 -5
- package/build-cjs/models/customer/attribute/index.d.ts +0 -21
- package/build-cjs/models/customer/attribute/index.js +0 -1
- package/build-cjs/models/customer/attribute/index.js.map +0 -1
- package/build-cjs/models/customer/attribute/init.d.ts +0 -2
- package/build-cjs/models/customer/attribute/init.js +0 -1
- package/build-cjs/models/customer/attribute/init.js.map +0 -1
- package/build-cjs/models/customer/attribute/option/index.d.ts +0 -7
- package/build-cjs/models/customer/attribute/sales-channel/index.d.ts +0 -16
- package/build-cjs/models/customer/attribute/sales-channel/index.js +0 -1
- package/build-cjs/models/customer/attribute/sales-channel/index.js.map +0 -1
- package/build-cjs/models/customer/attribute/translation/index.d.ts +0 -7
- package/build-cjs/models/customer/attribute/translation/option/index.d.ts +0 -4
- package/build-cjs/models/customer/attribute/value/index.d.ts +0 -9
- package/build-cjs/models/customer/index.d.ts +0 -43
- package/build-cjs/models/customer/index.js +0 -1
- package/build-cjs/models/customer/index.js.map +0 -1
- package/build-cjs/models/customer/review/index.d.ts +0 -26
- package/build-cjs/models/customer/review/index.js +0 -1
- package/build-cjs/models/customer/review/index.js.map +0 -1
- package/build-cjs/models/customer/review/init.d.ts +0 -2
- package/build-cjs/models/customer/review/init.js +0 -1
- package/build-cjs/models/customer/review/init.js.map +0 -1
- package/build-cjs/models/customer/review/settings/index.d.ts +0 -4
- package/build-cjs/models/customer/review/summary/index.d.ts +0 -8
- package/build-cjs/models/customer/review/summary/star/index.d.ts +0 -4
- package/build-cjs/models/customer-settings/index.d.ts +0 -7
- package/build-cjs/models/district/index.d.ts +0 -10
- package/build-cjs/models/favorite-product/index.d.ts +0 -5
- package/build-cjs/models/filter-category/index.d.ts +0 -8
- package/build-cjs/models/html-meta-data/index.d.ts +0 -25
- package/build-cjs/models/html-meta-data/index.js +0 -1
- package/build-cjs/models/html-meta-data/index.js.map +0 -1
- package/build-cjs/models/html-meta-data/init.d.ts +0 -3
- package/build-cjs/models/html-meta-data/init.js +0 -1
- package/build-cjs/models/html-meta-data/init.js.map +0 -1
- package/build-cjs/models/html-meta-data/translations/index.d.ts +0 -5
- package/build-cjs/models/image/index.d.ts +0 -5
- package/build-cjs/models/last-viewed-product/index.d.ts +0 -4
- package/build-cjs/models/merchant-settings/address/city/index.d.ts +0 -5
- package/build-cjs/models/merchant-settings/address/country/index.d.ts +0 -7
- package/build-cjs/models/merchant-settings/address/district/index.d.ts +0 -5
- package/build-cjs/models/merchant-settings/address/index.d.ts +0 -21
- package/build-cjs/models/merchant-settings/address/state/index.d.ts +0 -5
- package/build-cjs/models/merchant-settings/address/type/index.d.ts +0 -4
- package/build-cjs/models/merchant-settings/address/type/index.js +0 -1
- package/build-cjs/models/merchant-settings/address/type/index.js.map +0 -1
- package/build-cjs/models/merchant-settings/index.d.ts +0 -24
- package/build-cjs/models/merchant-settings/index.js +0 -1
- package/build-cjs/models/merchant-settings/index.js.map +0 -1
- package/build-cjs/models/merchant-settings/init.d.ts +0 -2
- package/build-cjs/models/merchant-settings/init.js +0 -1
- package/build-cjs/models/merchant-settings/init.js.map +0 -1
- package/build-cjs/models/order/address/city/index.d.ts +0 -5
- package/build-cjs/models/order/address/country/index.d.ts +0 -7
- package/build-cjs/models/order/address/district/index.d.ts +0 -5
- package/build-cjs/models/order/address/index.d.ts +0 -22
- package/build-cjs/models/order/address/state/index.d.ts +0 -5
- package/build-cjs/models/order/adjustment/applied-order-line/index.d.ts +0 -6
- package/build-cjs/models/order/adjustment/index.d.ts +0 -21
- package/build-cjs/models/order/adjustment/index.js +0 -1
- package/build-cjs/models/order/adjustment/index.js.map +0 -1
- package/build-cjs/models/order/customer/index.d.ts +0 -9
- package/build-cjs/models/order/gift-line/index.d.ts +0 -4
- package/build-cjs/models/order/index.d.ts +0 -87
- package/build-cjs/models/order/index.js +0 -1
- package/build-cjs/models/order/index.js.map +0 -1
- package/build-cjs/models/order/invoice/index.d.ts +0 -14
- package/build-cjs/models/order/invoice/index.js +0 -1
- package/build-cjs/models/order/invoice/index.js.map +0 -1
- package/build-cjs/models/order/line-item/base-unit/index.d.ts +0 -20
- package/build-cjs/models/order/line-item/base-unit/index.js +0 -1
- package/build-cjs/models/order/line-item/base-unit/index.js.map +0 -1
- package/build-cjs/models/order/line-item/base-unit/unit-type/index.d.ts +0 -4
- package/build-cjs/models/order/line-item/discount/index.d.ts +0 -9
- package/build-cjs/models/order/line-item/index.d.ts +0 -35
- package/build-cjs/models/order/line-item/index.js +0 -1
- package/build-cjs/models/order/line-item/index.js.map +0 -1
- package/build-cjs/models/order/line-item/option/index.d.ts +0 -9
- package/build-cjs/models/order/line-item/option/value/index.d.ts +0 -5
- package/build-cjs/models/order/line-item/variant/brand/index.d.ts +0 -4
- package/build-cjs/models/order/line-item/variant/category/index.d.ts +0 -9
- package/build-cjs/models/order/line-item/variant/index.d.ts +0 -27
- package/build-cjs/models/order/line-item/variant/price/index.d.ts +0 -8
- package/build-cjs/models/order/line-item/variant/unit/index.d.ts +0 -5
- package/build-cjs/models/order/line-item/variant/value/index.d.ts +0 -7
- package/build-cjs/models/order/package/index.d.ts +0 -27
- package/build-cjs/models/order/package/index.js +0 -1
- package/build-cjs/models/order/package/index.js.map +0 -1
- package/build-cjs/models/order/package/tracking-info/index.d.ts +0 -7
- package/build-cjs/models/order/payment-method/index.d.ts +0 -8
- package/build-cjs/models/order/refund/index.d.ts +0 -5
- package/build-cjs/models/order/refund/line-item/index.d.ts +0 -4
- package/build-cjs/models/order/refund/settings/index.d.ts +0 -5
- package/build-cjs/models/order/shipping-line/index.d.ts +0 -11
- package/build-cjs/models/order/tax-line/index.d.ts +0 -4
- package/build-cjs/models/order/transaction/error/index.d.ts +0 -5
- package/build-cjs/models/order/transaction/index.d.ts +0 -34
- package/build-cjs/models/order/transaction/index.js +0 -1
- package/build-cjs/models/order/transaction/index.js.map +0 -1
- package/build-cjs/models/order/transaction/payment-method-detail/index.d.ts +0 -22
- package/build-cjs/models/order/transaction/payment-method-detail/index.js +0 -1
- package/build-cjs/models/order/transaction/payment-method-detail/index.js.map +0 -1
- package/build-cjs/models/order/transaction/payment-method-detail/installment-price/index.d.ts +0 -7
- package/build-cjs/models/payment-gateway/additional-price/index.d.ts +0 -14
- package/build-cjs/models/payment-gateway/additional-price/index.js +0 -1
- package/build-cjs/models/payment-gateway/additional-price/index.js.map +0 -1
- package/build-cjs/models/payment-gateway/index.d.ts +0 -42
- package/build-cjs/models/payment-gateway/index.js +0 -1
- package/build-cjs/models/payment-gateway/index.js.map +0 -1
- package/build-cjs/models/payment-gateway/init.d.ts +0 -2
- package/build-cjs/models/payment-gateway/init.js +0 -1
- package/build-cjs/models/payment-gateway/init.js.map +0 -1
- package/build-cjs/models/payment-gateway/settings/index.d.ts +0 -11
- package/build-cjs/models/payment-gateway/settings/index.js +0 -1
- package/build-cjs/models/payment-gateway/settings/index.js.map +0 -1
- package/build-cjs/models/payment-gateway/translation/index.d.ts +0 -5
- package/build-cjs/models/product/attribute/index.d.ts +0 -24
- package/build-cjs/models/product/attribute/index.js +0 -1
- package/build-cjs/models/product/attribute/index.js.map +0 -1
- package/build-cjs/models/product/attribute/init.d.ts +0 -2
- package/build-cjs/models/product/attribute/init.js +0 -1
- package/build-cjs/models/product/attribute/init.js.map +0 -1
- package/build-cjs/models/product/attribute/option/index.d.ts +0 -4
- package/build-cjs/models/product/attribute/table-cell/index.d.ts +0 -4
- package/build-cjs/models/product/attribute/table-template/index.d.ts +0 -5
- package/build-cjs/models/product/attribute/translation/index.d.ts +0 -10
- package/build-cjs/models/product/attribute-value/index.d.ts +0 -21
- package/build-cjs/models/product/attribute-value/init.d.ts +0 -2
- package/build-cjs/models/product/attribute-value/init.js +0 -1
- package/build-cjs/models/product/attribute-value/init.js.map +0 -1
- package/build-cjs/models/product/back-in-stock-settings/index.d.ts +0 -3
- package/build-cjs/models/product/base-unit/index.d.ts +0 -10
- package/build-cjs/models/product/campaign/data/index.d.ts +0 -39
- package/build-cjs/models/product/campaign/data/index.js +0 -1
- package/build-cjs/models/product/campaign/data/index.js.map +0 -1
- package/build-cjs/models/product/campaign/filter/index.d.ts +0 -11
- package/build-cjs/models/product/campaign/filter/index.js +0 -1
- package/build-cjs/models/product/campaign/filter/index.js.map +0 -1
- package/build-cjs/models/product/campaign/index.d.ts +0 -5
- package/build-cjs/models/product/campaign/product-buyx-then-gety/index.d.ts +0 -16
- package/build-cjs/models/product/campaign/product-campaign-date-range-field/index.d.ts +0 -4
- package/build-cjs/models/product/campaign/product-fixed-discount/index.d.ts +0 -11
- package/build-cjs/models/product/filter/index.d.ts +0 -83
- package/build-cjs/models/product/filter/index.js +0 -1
- package/build-cjs/models/product/filter/index.js.map +0 -1
- package/build-cjs/models/product/image/index.d.ts +0 -8
- package/build-cjs/models/product/image/init.d.ts +0 -2
- package/build-cjs/models/product/image/init.js +0 -1
- package/build-cjs/models/product/image/init.js.map +0 -1
- package/build-cjs/models/product/index.d.ts +0 -46
- package/build-cjs/models/product/index.js +0 -1
- package/build-cjs/models/product/index.js.map +0 -1
- package/build-cjs/models/product/init.d.ts +0 -2
- package/build-cjs/models/product/init.js +0 -1
- package/build-cjs/models/product/init.js.map +0 -1
- package/build-cjs/models/product/option-set/index.d.ts +0 -21
- package/build-cjs/models/product/option-set/init.d.ts +0 -6
- package/build-cjs/models/product/option-set/init.js +0 -1
- package/build-cjs/models/product/option-set/init.js.map +0 -1
- package/build-cjs/models/product/option-set/option/index.d.ts +0 -70
- package/build-cjs/models/product/option-set/option/index.js +0 -1
- package/build-cjs/models/product/option-set/option/index.js.map +0 -1
- package/build-cjs/models/product/option-set/option/init.d.ts +0 -2
- package/build-cjs/models/product/option-set/option/init.js +0 -1
- package/build-cjs/models/product/option-set/option/init.js.map +0 -1
- package/build-cjs/models/product/star/index.d.ts +0 -4
- package/build-cjs/models/product/stock-location/index.d.ts +0 -29
- package/build-cjs/models/product/stock-location/index.js +0 -1
- package/build-cjs/models/product/tag/index.d.ts +0 -4
- package/build-cjs/models/product/variant/index.d.ts +0 -21
- package/build-cjs/models/product/variant/init.d.ts +0 -2
- package/build-cjs/models/product/variant/init.js +0 -1
- package/build-cjs/models/product/variant/init.js.map +0 -1
- package/build-cjs/models/product/variant/price/index.d.ts +0 -9
- package/build-cjs/models/product/variant/unit/index.d.ts +0 -5
- package/build-cjs/models/product/variant-type/index.d.ts +0 -6
- package/build-cjs/models/product/variant-type/init.d.ts +0 -2
- package/build-cjs/models/product/variant-type/init.js +0 -1
- package/build-cjs/models/product/variant-type/init.js.map +0 -1
- package/build-cjs/models/product-option-file/index.d.ts +0 -5
- package/build-cjs/models/raffle/index.d.ts +0 -68
- package/build-cjs/models/raffle/index.js +0 -1
- package/build-cjs/models/raffle/index.js.map +0 -1
- package/build-cjs/models/raffle/init.d.ts +0 -2
- package/build-cjs/models/raffle/init.js +0 -1
- package/build-cjs/models/raffle/init.js.map +0 -1
- package/build-cjs/models/sales-channel/index.d.ts +0 -15
- package/build-cjs/models/state/index.d.ts +0 -9
- package/build-cjs/models/state/init.d.ts +0 -2
- package/build-cjs/models/state/init.js +0 -1
- package/build-cjs/models/state/location-translations/index.d.ts +0 -5
- package/build-cjs/models/stock-location/address/city/index.d.ts +0 -5
- package/build-cjs/models/stock-location/address/country/index.d.ts +0 -5
- package/build-cjs/models/stock-location/address/district/index.d.ts +0 -5
- package/build-cjs/models/stock-location/address/index.d.ts +0 -13
- package/build-cjs/models/stock-location/address/state/index.d.ts +0 -5
- package/build-cjs/models/stock-location/available/index.d.ts +0 -8
- package/build-cjs/models/stock-location/index.d.ts +0 -23
- package/build-cjs/models/stock-location/index.js +0 -1
- package/build-cjs/models/stock-location/index.js.map +0 -1
- package/build-cjs/models/storefront/domain/index.d.ts +0 -7
- package/build-cjs/models/storefront/index.d.ts +0 -30
- package/build-cjs/models/storefront/index.js +0 -1
- package/build-cjs/models/storefront/index.js.map +0 -1
- package/build-cjs/models/storefront/localization/index.d.ts +0 -6
- package/build-cjs/models/storefront/meta-templates/index.d.ts +0 -14
- package/build-cjs/models/storefront/meta-templates/index.js +0 -1
- package/build-cjs/models/storefront/meta-templates/index.js.map +0 -1
- package/build-cjs/models/storefront/routing/dynamic-currency/index.d.ts +0 -4
- package/build-cjs/models/storefront/routing/index.d.ts +0 -12
- package/build-cjs/models/storefront/theme/index.d.ts +0 -12
- package/build-cjs/models/storefront/theme/index.js +0 -1
- package/build-cjs/models/storefront/theme/index.js.map +0 -1
- package/build-cjs/models/storefront/theme-localization/index.d.ts +0 -13
- package/build-cjs/models/theme-json/component/index.d.ts +0 -21
- package/build-cjs/models/theme-json/component/prop/index.d.ts +0 -61
- package/build-cjs/models/theme-json/component/prop/index.js +0 -1
- package/build-cjs/models/theme-json/component/prop/index.js.map +0 -1
- package/build-cjs/models/theme-json/custom-data/index.d.ts +0 -37
- package/build-cjs/models/theme-json/index.d.ts +0 -11
- package/build-cjs/models/theme-json/page/component/index.d.ts +0 -5
- package/build-cjs/models/theme-json/page/index.d.ts +0 -43
- package/build-cjs/models/theme-json/page/index.js +0 -1
- package/build-cjs/models/theme-json/page/index.js.map +0 -1
- package/build-cjs/models/theme-json/settings/color/index.d.ts +0 -12
- package/build-cjs/models/theme-json/settings/favicon/index.d.ts +0 -3
- package/build-cjs/models/theme-json/settings/font-family/index.d.ts +0 -4
- package/build-cjs/models/theme-json/settings/index.d.ts +0 -14
- package/build-cjs/models/theme-json/settings/index.js +0 -1
- package/build-cjs/models/theme-json/settings/index.js.map +0 -1
- package/build-cjs/models/variant-type/index.d.ts +0 -21
- package/build-cjs/models/variant-type/index.js +0 -1
- package/build-cjs/models/variant-type/index.js.map +0 -1
- package/build-cjs/models/variant-type/init.d.ts +0 -2
- package/build-cjs/models/variant-type/init.js +0 -1
- package/build-cjs/models/variant-type/init.js.map +0 -1
- package/build-cjs/models/variant-type/variant-value/index.d.ts +0 -9
- package/build-cjs/models/variant-type/variant-value/init.d.ts +0 -2
- package/build-cjs/models/variant-type/variant-value/init.js +0 -1
- package/build-cjs/models/variant-type/variant-value/init.js.map +0 -1
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
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;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("./option/index.js"),t=require("./option/init.js");function i(n){n.options.forEach((function(t){var i=n.options.filter((function(n){return n.requiredOptionId===t.id}));i.length&&(t.childOptions=i)}))}function o(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)})))}exports.initIkasProductOptionSet=function(e,r){e.options.forEach((function(n){n.productOptionSetId=e.id,t.initIkasProductOption(n)})),e.translations&&r&&(!function(t,i,o){var e;if(i&&i.some((function(n){return n.locale===o}))){var r=i.find((function(n){return n.locale===o}));null===(e=null==r?void 0:r.options)||void 0===e||e.forEach((function(i){var o,e=t.options.find((function(n){return n.id===i.id}));e&&(e.name=i.name||e.name,e.optionalText=i.optionalText||e.optionalText,e.type===n.IkasProductOptionType.CHOICE&&(null===(o=i.values)||void 0===o||o.forEach((function(n){var t,i=null===(t=e.selectSettings)||void 0===t?void 0:t.values.find((function(t){return t.id===n.id}));i&&(i.value=n.value||i.value)}))))}))}}(e,e.translations,r),delete e.translations),i(e),o(e)},exports.initOptionValues=o,exports.initValues=e,exports.setChildOptions=i;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"init.js","sources":["../../../../src/models/product/option-set/init.ts"],"sourcesContent":["import { IkasProductOptionSet, IkasProductOptionSetTranslations } from \".\";\nimport { IkasProductOption, IkasProductOptionType } from \"./option\";\nimport { initIkasProductOption } from \"./option/init\";\n\nexport function initIkasProductOptionSet(\n optionSet: IkasProductOptionSet,\n locale: string | null\n) {\n optionSet.options.forEach((option) => {\n option.productOptionSetId = optionSet.id;\n initIkasProductOption(option);\n });\n\n if (optionSet.translations && locale) {\n setTranslations(optionSet, optionSet.translations, locale);\n delete optionSet.translations;\n }\n setChildOptions(optionSet);\n initOptionValues(optionSet);\n}\n\nfunction setTranslations(\n optionSet: IkasProductOptionSet,\n translations: IkasProductOptionSetTranslations[],\n locale: string\n) {\n if (translations && translations.some((t) => t.locale === locale)) {\n const localeTranslations = translations.find((t) => t.locale === locale);\n\n localeTranslations?.options?.forEach((translatedOption) => {\n const option = optionSet.options.find(\n (o) => o.id === translatedOption.id\n );\n\n if (option) {\n option.name = translatedOption.name || option.name;\n option.optionalText =\n translatedOption.optionalText || option.optionalText;\n\n if (option.type === IkasProductOptionType.CHOICE) {\n translatedOption.values?.forEach((translatedValue) => {\n const selectValue = option.selectSettings?.values.find(\n (sv) => sv.id === translatedValue.id\n );\n if (selectValue) {\n selectValue.value = translatedValue.value || selectValue.value;\n }\n });\n }\n }\n });\n }\n}\n\nexport function setChildOptions(optionSet: IkasProductOptionSet) {\n optionSet.options.forEach((option) => {\n const childOptions = optionSet.options.filter(\n (o) => o.requiredOptionId === option.id\n );\n if (childOptions.length) {\n option.childOptions = childOptions;\n }\n });\n}\n\nexport function initOptionValues(optionSet: IkasProductOptionSet) {\n optionSet.options.forEach((o) => initValues(o));\n}\n\nexport function initValues(option: IkasProductOption) {\n if (!option.isOptional) {\n option.values = [];\n if (option.childOptions) {\n option.childOptions.forEach((co) => initValues(co));\n }\n }\n}\n"],"names":["setChildOptions","optionSet","options","forEach","option","childOptions","filter","o","requiredOptionId","id","length","initOptionValues","initValues","isOptional","values","co","locale","productOptionSetId","initIkasProductOption","translations","some","t","localeTranslations","find","_a","translatedOption","name","optionalText","type","IkasProductOptionType","CHOICE","translatedValue","selectValue","selectSettings","sv","value","setTranslations"],"mappings":"qIAsDM,SAAUA,EAAgBC,GAC9BA,EAAUC,QAAQC,SAAQ,SAACC,GACzB,IAAMC,EAAeJ,EAAUC,QAAQI,QACrC,SAACC,GAAM,OAAAA,EAAEC,mBAAqBJ,EAAOK,MAEnCJ,EAAaK,SACfN,EAAOC,aAAeA,MAKtB,SAAUM,EAAiBV,GAC/BA,EAAUC,QAAQC,SAAQ,SAACI,GAAM,OAAAK,EAAWL,MAGxC,SAAUK,EAAWR,GACpBA,EAAOS,aACVT,EAAOU,OAAS,GACZV,EAAOC,cACTD,EAAOC,aAAaF,SAAQ,SAACY,GAAO,OAAAH,EAAWG,wCArErC,SACdd,EACAe,GAEAf,EAAUC,QAAQC,SAAQ,SAACC,GACzBA,EAAOa,mBAAqBhB,EAAUQ,GACtCS,EAAqBA,sBAACd,MAGpBH,EAAUkB,cAAgBH,KAQhC,SACEf,EACAkB,EACAH,SAEA,GAAIG,GAAgBA,EAAaC,MAAK,SAACC,GAAM,OAAAA,EAAEL,SAAWA,KAAS,CACjE,IAAMM,EAAqBH,EAAaI,MAAK,SAACF,GAAM,OAAAA,EAAEL,SAAWA,KAEpC,QAA7BQ,EAAAF,aAAA,EAAAA,EAAoBpB,eAAS,IAAAsB,GAAAA,EAAArB,SAAQ,SAACsB,SAC9BrB,EAASH,EAAUC,QAAQqB,MAC/B,SAAChB,GAAM,OAAAA,EAAEE,KAAOgB,EAAiBhB,MAG/BL,IACFA,EAAOsB,KAAOD,EAAiBC,MAAQtB,EAAOsB,KAC9CtB,EAAOuB,aACLF,EAAiBE,cAAgBvB,EAAOuB,aAEtCvB,EAAOwB,OAASC,EAAqBA,sBAACC,iBACxCN,EAAAC,EAAiBX,uBAAQX,SAAQ,SAAC4B,SAC1BC,EAAqC,QAAvBR,EAAApB,EAAO6B,sBAAgB,IAAAT,OAAA,EAAAA,EAAAV,OAAOS,MAChD,SAACW,GAAO,OAAAA,EAAGzB,KAAOsB,EAAgBtB,MAEhCuB,IACFA,EAAYG,MAAQJ,EAAgBI,OAASH,EAAYG,gBA/BnEC,CAAgBnC,EAAWA,EAAUkB,aAAcH,UAC5Cf,EAAUkB,cAEnBnB,EAAgBC,GAChBU,EAAiBV"}
|
|
@@ -1,70 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e,t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasProductOptionSelectType=void 0,(e=exports.IkasProductOptionSelectType||(exports.IkasProductOptionSelectType={})).BOX="BOX",e.SELECT="SELECT",e.SWATCH="SWATCH",exports.IkasProductOptionType=void 0,(t=exports.IkasProductOptionType||(exports.IkasProductOptionType={})).CHECKBOX="CHECKBOX",t.CHOICE="CHOICE",t.COLOR_PICKER="COLOR_PICKER",t.DATE_PICKER="DATE_PICKER",t.FILE="FILE",t.IMAGE="IMAGE",t.TEXT="TEXT",t.TEXT_AREA="TEXT_AREA";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/models/product/option-set/option/index.ts"],"sourcesContent":["import { IkasImage } from \"../../../image\";\n\nexport enum IkasProductOptionSelectType {\n BOX = \"BOX\",\n SELECT = \"SELECT\",\n SWATCH = \"SWATCH\",\n}\n\nexport enum IkasProductOptionType {\n CHECKBOX = \"CHECKBOX\",\n CHOICE = \"CHOICE\",\n COLOR_PICKER = \"COLOR_PICKER\",\n DATE_PICKER = \"DATE_PICKER\",\n FILE = \"FILE\",\n IMAGE = \"IMAGE\",\n TEXT = \"TEXT\",\n TEXT_AREA = \"TEXT_AREA\",\n}\n\nexport type IkasProductOptionOtherPrice = {\n currencyCode: string;\n price: number;\n};\n\nexport type IkasProductOptionSelectValue = {\n id: string;\n order: number;\n value: string;\n price: number | null;\n otherPrices: IkasProductOptionOtherPrice[] | null;\n thumbnailImageId: string | null;\n colorCode: string | null;\n thumbnailImage: IkasImage | null;\n};\n\nexport type IkasProductOptionSelectSettings = {\n type: IkasProductOptionSelectType;\n minSelect: number | null;\n maxSelect: number | null;\n values: IkasProductOptionSelectValue[];\n};\n\nexport type IkasProductOptionDateSettings = {\n min: Date | null;\n max: Date | null;\n minRelativeNextDate: number | null;\n maxRelativeNextDate: number | null;\n};\n\nexport type IkasProductOptionTextSettings = {\n min: number | null;\n max: number | null;\n};\n\nexport type IkasProductOptionFileSettings = {\n allowedExtensions: string[] | null;\n minQuantity: number | null;\n maxQuantity: number | null;\n};\n\nexport type IkasProductOption = {\n id: string;\n productOptionSetId: string;\n name: string;\n order: number;\n type: IkasProductOptionType;\n selectSettings: IkasProductOptionSelectSettings | null;\n textSettings: IkasProductOptionTextSettings | null;\n fileSettings: IkasProductOptionFileSettings | null;\n dateSettings: IkasProductOptionDateSettings | null;\n price: number | null;\n otherPrices: IkasProductOptionOtherPrice[] | null;\n isOptional: boolean;\n optionalText: string | null;\n requiredOptionId: string | null;\n requiredOptionValueIds: string[] | null;\n\n // Extra\n values: string[];\n childOptions: IkasProductOption[];\n};\n"],"names":["IkasProductOptionSelectType","IkasProductOptionType"],"mappings":"aAEA,IAAYA,EAMAC,yDANAD,QAIXA,iCAAA,GAJWA,EAAAA,sCAAAA,QAAAA,4BAIX,KAHC,IAAA,MACAA,EAAA,OAAA,SACAA,EAAA,OAAA,SAGUC,QASXA,2BAAA,GATWA,EAAAA,QAAqBA,wBAArBA,8BASX,KARC,SAAA,WACAA,EAAA,OAAA,SACAA,EAAA,aAAA,eACAA,EAAA,YAAA,cACAA,EAAA,KAAA,OACAA,EAAA,MAAA,QACAA,EAAA,KAAA,OACAA,EAAA,UAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("lodash/sortBy"));exports.initIkasProductOption=function(e){var r;e.selectSettings&&((r=e.selectSettings).values=t.default(r.values||[],"order"))};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"init.js","sources":["../../../../../src/models/product/option-set/option/init.ts"],"sourcesContent":["import { IkasProductOption, IkasProductOptionSelectSettings } from \".\";\nimport _sortBy from \"lodash/sortBy\";\n\nexport function initIkasProductOption(option: IkasProductOption) {\n if (option.selectSettings)\n initProductOptionSelectSettings(option.selectSettings);\n}\n\nfunction initProductOptionSelectSettings(\n settings: IkasProductOptionSelectSettings\n) {\n settings.values = _sortBy(settings.values || [], \"order\");\n}\n"],"names":["option","settings","selectSettings","values","_sortBy"],"mappings":"4MAGM,SAAgCA,GAKtC,IACEC,EALID,EAAOE,kBAKXD,EAJkCD,EAAOE,gBAMhCC,OAASC,UAAQH,EAASE,QAAU,GAAI"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export declare type IkasProductStockLocations = {
|
|
2
|
-
stockCount: number;
|
|
3
|
-
stockLocation: IkasGetAvailableStockLocation;
|
|
4
|
-
variantId: string;
|
|
5
|
-
};
|
|
6
|
-
export declare type IkasGetAvailableStockLocation = {
|
|
7
|
-
address: IkasGetAvailableStockLocationAddress | null;
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
type: IkasGetAvailableStockLocationType | null;
|
|
11
|
-
};
|
|
12
|
-
export declare enum IkasGetAvailableStockLocationType {
|
|
13
|
-
PHYSICAL = "PHYSICAL",
|
|
14
|
-
VIRTUAL = "VIRTUAL"
|
|
15
|
-
}
|
|
16
|
-
export declare type IkasGetAvailableStockLocationAddress = {
|
|
17
|
-
address: string | null;
|
|
18
|
-
city: IkasGetAvailableStockLocationAddressCity | null;
|
|
19
|
-
country: IkasGetAvailableStockLocationAddressCity | null;
|
|
20
|
-
district: IkasGetAvailableStockLocationAddressCity | null;
|
|
21
|
-
phone: string | null;
|
|
22
|
-
postalCode: string | null;
|
|
23
|
-
state: IkasGetAvailableStockLocationAddressCity | null;
|
|
24
|
-
};
|
|
25
|
-
export declare type IkasGetAvailableStockLocationAddressCity = {
|
|
26
|
-
code: string | null;
|
|
27
|
-
id: string | null;
|
|
28
|
-
name: string | null;
|
|
29
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasGetAvailableStockLocationType=void 0,(e=exports.IkasGetAvailableStockLocationType||(exports.IkasGetAvailableStockLocationType={})).PHYSICAL="PHYSICAL",e.VIRTUAL="VIRTUAL";
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { IkasProductPrice } from "./price";
|
|
2
|
-
import { IkasVariantValue } from "../../variant-type/variant-value";
|
|
3
|
-
import { IkasProductAttributeValue } from "../attribute-value";
|
|
4
|
-
import { IkasProductCampaign } from "../campaign";
|
|
5
|
-
import { IkasProductImage } from "../image";
|
|
6
|
-
import { IkasProductVariantUnit } from "./unit";
|
|
7
|
-
export declare type IkasProductVariant = {
|
|
8
|
-
id: string;
|
|
9
|
-
sku: string | null;
|
|
10
|
-
barcodeList: string[] | null;
|
|
11
|
-
variantValues: IkasVariantValue[];
|
|
12
|
-
attributes: IkasProductAttributeValue[];
|
|
13
|
-
price: IkasProductPrice;
|
|
14
|
-
stock: number;
|
|
15
|
-
isActive: boolean;
|
|
16
|
-
productId: string;
|
|
17
|
-
sellIfOutOfStock: boolean;
|
|
18
|
-
images: IkasProductImage[] | null;
|
|
19
|
-
campaigns?: IkasProductCampaign[];
|
|
20
|
-
unit: IkasProductVariantUnit | null;
|
|
21
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../image/init.js"),t=require("../attribute-value/init.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(require("lodash/sortBy"));exports.initIkasProductVariant=function(r){var a;null===(a=r.images)||void 0===a||a.forEach(e.initIkasProductImage),r.images=i.default(r.images,"order"),r.attributes.forEach(t.initIkasProductAttributeValue)};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"init.js","sources":["../../../../src/models/product/variant/init.ts"],"sourcesContent":["import { initIkasProductImage } from \"../image/init\";\nimport { initIkasProductAttributeValue } from \"../attribute-value/init\";\nimport _sortBy from \"lodash/sortBy\";\nimport { IkasProductVariant } from \".\";\n\nexport function initIkasProductVariant(variant: IkasProductVariant) {\n variant.images?.forEach(initIkasProductImage);\n variant.images = _sortBy(variant.images, \"order\");\n variant.attributes.forEach(initIkasProductAttributeValue);\n}\n"],"names":["variant","_a","images","forEach","initIkasProductImage","_sortBy","attributes","initIkasProductAttributeValue"],"mappings":"uRAKM,SAAiCA,SACvB,QAAdC,EAAAD,EAAQE,cAAM,IAAAD,GAAAA,EAAEE,QAAQC,EAAoBA,sBAC5CJ,EAAQE,OAASG,EAAO,QAACL,EAAQE,OAAQ,SACzCF,EAAQM,WAAWH,QAAQI,EAAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initIkasProductVariantType=function(e){var a=[];e.variantValueIds.forEach((function(t){var r=e.variantType.values.find((function(e){return e.id===t}));r&&a.push(r)})),e.variantType.values=a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"init.js","sources":["../../../../src/models/product/variant-type/init.ts"],"sourcesContent":["import { IkasProductVariantType } from \".\";\nimport { IkasVariantValue } from \"../../variant-type/variant-value\";\n\nexport function initIkasProductVariantType(\n variantType: IkasProductVariantType\n) {\n const orderedVariantValues: IkasVariantValue[] = [];\n variantType.variantValueIds.forEach((vvId) => {\n const variantValue = variantType.variantType.values.find(\n (vv) => vv.id === vvId\n );\n if (variantValue) orderedVariantValues.push(variantValue);\n });\n variantType.variantType.values = orderedVariantValues;\n}\n"],"names":["variantType","orderedVariantValues","variantValueIds","forEach","vvId","variantValue","values","find","vv","id","push"],"mappings":"uGAGM,SACJA,GAEA,IAAMC,EAA2C,GACjDD,EAAYE,gBAAgBC,SAAQ,SAACC,GACnC,IAAMC,EAAeL,EAAYA,YAAYM,OAAOC,MAClD,SAACC,GAAO,OAAAA,EAAGC,KAAOL,KAEhBC,GAAcJ,EAAqBS,KAAKL,MAE9CL,EAAYA,YAAYM,OAASL"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { IkasProduct } from "../product";
|
|
2
|
-
export declare type IkasRaffleDateRangeField = {
|
|
3
|
-
start: number | null;
|
|
4
|
-
end: number | null;
|
|
5
|
-
};
|
|
6
|
-
export declare enum IkasRaffleVerificationType {
|
|
7
|
-
EMAIL = "EMAIL",
|
|
8
|
-
MERSIS = "MERSIS"
|
|
9
|
-
}
|
|
10
|
-
export declare type IkasRaffle = {
|
|
11
|
-
id: string;
|
|
12
|
-
createdAt: number;
|
|
13
|
-
updatedAt: number;
|
|
14
|
-
deleted: boolean | null;
|
|
15
|
-
dateRange: IkasRaffleDateRangeField | null;
|
|
16
|
-
metadata: IkasRaffleMetaData | null;
|
|
17
|
-
name: string;
|
|
18
|
-
requiredCustomerAccount: boolean;
|
|
19
|
-
status: boolean;
|
|
20
|
-
variants: IkasRaffleAppliedProduct[] | null;
|
|
21
|
-
products: IkasProduct[];
|
|
22
|
-
verificationType: IkasRaffleVerificationType;
|
|
23
|
-
};
|
|
24
|
-
export declare enum IkasRaffleMetadataTargetType {
|
|
25
|
-
RAFFLE = "RAFFLE"
|
|
26
|
-
}
|
|
27
|
-
export declare type IkasRaffleMetaData = {
|
|
28
|
-
id: string;
|
|
29
|
-
createdAt: number;
|
|
30
|
-
updatedAt: number;
|
|
31
|
-
deleted: boolean | null;
|
|
32
|
-
description: string | null;
|
|
33
|
-
pageTitle: string | null;
|
|
34
|
-
slug: string;
|
|
35
|
-
targetId: string | null;
|
|
36
|
-
targetType: IkasRaffleMetadataTargetType | null;
|
|
37
|
-
canonicals: string[] | null;
|
|
38
|
-
disableIndex: boolean | null;
|
|
39
|
-
};
|
|
40
|
-
export declare type IkasRaffleParticipant = {
|
|
41
|
-
id: string | null;
|
|
42
|
-
createdAt: number | null;
|
|
43
|
-
updatedAt: number | null;
|
|
44
|
-
deleted: boolean | null;
|
|
45
|
-
customerId: string | null;
|
|
46
|
-
raffleId: string;
|
|
47
|
-
firstName: string;
|
|
48
|
-
lastName: string;
|
|
49
|
-
fullName: string | null;
|
|
50
|
-
email: string;
|
|
51
|
-
applicationDate: number;
|
|
52
|
-
phone: string | null;
|
|
53
|
-
isDeliveredCargo: boolean | null;
|
|
54
|
-
raffle: IkasRaffle | null;
|
|
55
|
-
status: IkasRaffleParticipantStatus | null;
|
|
56
|
-
extraData: Record<string, any> | null;
|
|
57
|
-
appliedProduct: IkasRaffleAppliedProduct;
|
|
58
|
-
};
|
|
59
|
-
export declare type IkasRaffleAppliedProduct = {
|
|
60
|
-
productId: string;
|
|
61
|
-
variantId: string;
|
|
62
|
-
};
|
|
63
|
-
export declare enum IkasRaffleParticipantStatus {
|
|
64
|
-
COMPLETED = "COMPLETED",
|
|
65
|
-
IN_PROGRESS = "IN_PROGRESS",
|
|
66
|
-
LOSER = "LOSER",
|
|
67
|
-
WINNER = "WINNER"
|
|
68
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var a,e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasRaffleVerificationType=void 0,(a=exports.IkasRaffleVerificationType||(exports.IkasRaffleVerificationType={})).EMAIL="EMAIL",a.MERSIS="MERSIS",exports.IkasRaffleMetadataTargetType=void 0,(exports.IkasRaffleMetadataTargetType||(exports.IkasRaffleMetadataTargetType={})).RAFFLE="RAFFLE",exports.IkasRaffleParticipantStatus=void 0,(e=exports.IkasRaffleParticipantStatus||(exports.IkasRaffleParticipantStatus={})).COMPLETED="COMPLETED",e.IN_PROGRESS="IN_PROGRESS",e.LOSER="LOSER",e.WINNER="WINNER";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/models/raffle/index.ts"],"sourcesContent":["import { IkasProduct } from \"../product\";\n\nexport type IkasRaffleDateRangeField = {\n start: number | null;\n end: number | null;\n};\n\nexport enum IkasRaffleVerificationType {\n EMAIL = \"EMAIL\",\n MERSIS = \"MERSIS\",\n}\n\nexport type IkasRaffle = {\n id: string;\n createdAt: number;\n updatedAt: number;\n deleted: boolean | null;\n dateRange: IkasRaffleDateRangeField | null;\n metadata: IkasRaffleMetaData | null;\n name: string;\n requiredCustomerAccount: boolean;\n status: boolean;\n variants: IkasRaffleAppliedProduct[] | null;\n products: IkasProduct[];\n verificationType: IkasRaffleVerificationType;\n};\n\nexport enum IkasRaffleMetadataTargetType {\n RAFFLE = \"RAFFLE\",\n}\n\nexport type IkasRaffleMetaData = {\n id: string;\n createdAt: number;\n updatedAt: number;\n deleted: boolean | null;\n description: string | null;\n pageTitle: string | null;\n slug: string;\n targetId: string | null;\n targetType: IkasRaffleMetadataTargetType | null;\n canonicals: string[] | null;\n disableIndex: boolean | null;\n};\n\nexport type IkasRaffleParticipant = {\n id: string | null;\n createdAt: number | null;\n updatedAt: number | null;\n deleted: boolean | null;\n customerId: string | null;\n raffleId: string;\n firstName: string;\n lastName: string;\n fullName: string | null;\n email: string;\n applicationDate: number;\n phone: string | null;\n isDeliveredCargo: boolean | null;\n\n raffle: IkasRaffle | null;\n status: IkasRaffleParticipantStatus | null;\n extraData: Record<string, any> | null;\n appliedProduct: IkasRaffleAppliedProduct;\n};\n\nexport type IkasRaffleAppliedProduct = {\n productId: string;\n variantId: string;\n};\n\nexport enum IkasRaffleParticipantStatus {\n COMPLETED = \"COMPLETED\",\n IN_PROGRESS = \"IN_PROGRESS\",\n LOSER = \"LOSER\",\n WINNER = \"WINNER\",\n}\n"],"names":["IkasRaffleVerificationType","IkasRaffleParticipantStatus","IkasRaffleMetadataTargetType"],"mappings":"aAOA,IAAYA,EAgEAC,yDAhEAD,QAGXA,gCAAA,GAHWA,EAAAA,qCAAAA,QAAAA,2BAGX,KAFC,MAAA,QACAA,EAAA,OAAA,SAkBUE,QAEXA,kCAAA,GAFWA,uCAAAA,QAAAA,6BAEX,KADC,OAAA,SA2CUD,QAKXA,iCAAA,GALWA,EAAAA,QAA2BA,8BAA3BA,oCAKX,KAJC,UAAA,YACAA,EAAA,YAAA,cACAA,EAAA,MAAA,QACAA,EAAA,OAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../product/init.js");exports.initIkasRaffle=function(e,r){var i;null===(i=e.products)||void 0===i||i.map((function(e){return t.initIkasProduct(e,r)}))};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"init.js","sources":["../../../src/models/raffle/init.ts"],"sourcesContent":["import { IkasRaffle } from \".\";\nimport { initIkasProduct } from \"../product/init\";\n\nexport function initIkasRaffle(raffle: IkasRaffle, locale: string | null) {\n raffle.products?.map((p) => initIkasProduct(p, locale));\n}\n"],"names":["raffle","locale","_a","products","map","p","initIkasProduct"],"mappings":"+HAGgB,SAAeA,EAAoBC,iBACjDC,EAAAF,EAAOG,yBAAUC,KAAI,SAACC,GAAM,OAAAC,EAAAA,gBAAgBD,EAAGJ"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare type IkasSalesChannel = {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
priceListId: string | null;
|
|
5
|
-
stockLocations: IkasSalesChannelStockLocation[] | null;
|
|
6
|
-
paymentGateways: IkasSalesChannelPaymentGateway[] | null;
|
|
7
|
-
};
|
|
8
|
-
export declare type IkasSalesChannelStockLocation = {
|
|
9
|
-
id: string;
|
|
10
|
-
order: number;
|
|
11
|
-
};
|
|
12
|
-
export declare type IkasSalesChannelPaymentGateway = {
|
|
13
|
-
id: string;
|
|
14
|
-
order: number;
|
|
15
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IkasBaseModel } from "../base";
|
|
2
|
-
import { IkasLocationTranslations } from "./location-translations";
|
|
3
|
-
export declare type IkasState = {
|
|
4
|
-
countryId: string;
|
|
5
|
-
locationTranslations?: IkasLocationTranslations | null;
|
|
6
|
-
name: string;
|
|
7
|
-
native: string | null;
|
|
8
|
-
stateCode: string | null;
|
|
9
|
-
} & IkasBaseModel;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initIkasState=function(n,t){n.locationTranslations&&t&&(!function(n,t){n.name=n.locationTranslations&&n.locationTranslations[t]||n.name}(n,t),delete n.locationTranslations)};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IkasStockLocationAddressCity } from "./city";
|
|
2
|
-
import { IkasStockLocationAddressCountry } from "./country";
|
|
3
|
-
import { IkasStockLocationAddressDistrict } from "./district";
|
|
4
|
-
import { IkasStockLocationAddressState } from "./state";
|
|
5
|
-
export declare type IkasStockLocationAddress = {
|
|
6
|
-
address: string | null;
|
|
7
|
-
city: IkasStockLocationAddressCity | null;
|
|
8
|
-
country: IkasStockLocationAddressCountry | null;
|
|
9
|
-
district: IkasStockLocationAddressDistrict | null;
|
|
10
|
-
phone: string | null;
|
|
11
|
-
postalCode: string | null;
|
|
12
|
-
state: IkasStockLocationAddressState | null;
|
|
13
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IkasStockLocationType } from "..";
|
|
2
|
-
import { IkasStockLocationAddress } from "../address";
|
|
3
|
-
export declare type IkasAvailableStockLocation = {
|
|
4
|
-
address: IkasStockLocationAddress | null;
|
|
5
|
-
id: string;
|
|
6
|
-
name: string;
|
|
7
|
-
type: IkasStockLocationType | null;
|
|
8
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { IkasStockLocationAddress } from "./address";
|
|
2
|
-
export declare type IkasStockLocation = {
|
|
3
|
-
address: IkasStockLocationAddress | null;
|
|
4
|
-
deliveryTime: IkasStockLocationDeliveryTime | null;
|
|
5
|
-
description: string | null;
|
|
6
|
-
isRemindOutOfStockEnabled: boolean | null;
|
|
7
|
-
name: string;
|
|
8
|
-
outOfStockMailList: string[] | null;
|
|
9
|
-
type: IkasStockLocationType | null;
|
|
10
|
-
id: string;
|
|
11
|
-
};
|
|
12
|
-
export declare enum IkasStockLocationDeliveryTime {
|
|
13
|
-
TWO_IN_FOUR_DAYS = "TWO_IN_FOUR_DAYS",
|
|
14
|
-
WITHIN_FOUR_HOURS = "WITHIN_FOUR_HOURS",
|
|
15
|
-
WITHIN_ONE_HOUR = "WITHIN_ONE_HOUR",
|
|
16
|
-
WITHIN_PLUS_FIVE_DAYS = "WITHIN_PLUS_FIVE_DAYS",
|
|
17
|
-
WITHIN_TWENTY_FOUR_HOURS = "WITHIN_TWENTY_FOUR_HOURS",
|
|
18
|
-
WITHIN_TWO_HOURS = "WITHIN_TWO_HOURS"
|
|
19
|
-
}
|
|
20
|
-
export declare enum IkasStockLocationType {
|
|
21
|
-
PHYSICAL = "PHYSICAL",
|
|
22
|
-
VIRTUAL = "VIRTUAL"
|
|
23
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var I,_;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasStockLocationDeliveryTime=void 0,(I=exports.IkasStockLocationDeliveryTime||(exports.IkasStockLocationDeliveryTime={})).TWO_IN_FOUR_DAYS="TWO_IN_FOUR_DAYS",I.WITHIN_FOUR_HOURS="WITHIN_FOUR_HOURS",I.WITHIN_ONE_HOUR="WITHIN_ONE_HOUR",I.WITHIN_PLUS_FIVE_DAYS="WITHIN_PLUS_FIVE_DAYS",I.WITHIN_TWENTY_FOUR_HOURS="WITHIN_TWENTY_FOUR_HOURS",I.WITHIN_TWO_HOURS="WITHIN_TWO_HOURS",exports.IkasStockLocationType=void 0,(_=exports.IkasStockLocationType||(exports.IkasStockLocationType={})).PHYSICAL="PHYSICAL",_.VIRTUAL="VIRTUAL";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/models/stock-location/index.ts"],"sourcesContent":["import { IkasStockLocationAddress } from \"./address\";\n\nexport type IkasStockLocation = {\n address: IkasStockLocationAddress | null;\n deliveryTime: IkasStockLocationDeliveryTime | null;\n description: string | null;\n isRemindOutOfStockEnabled: boolean | null;\n name: string;\n outOfStockMailList: string[] | null;\n type: IkasStockLocationType | null;\n id: string;\n};\n\nexport enum IkasStockLocationDeliveryTime {\n TWO_IN_FOUR_DAYS = \"TWO_IN_FOUR_DAYS\",\n WITHIN_FOUR_HOURS = \"WITHIN_FOUR_HOURS\",\n WITHIN_ONE_HOUR = \"WITHIN_ONE_HOUR\",\n WITHIN_PLUS_FIVE_DAYS = \"WITHIN_PLUS_FIVE_DAYS\",\n WITHIN_TWENTY_FOUR_HOURS = \"WITHIN_TWENTY_FOUR_HOURS\",\n WITHIN_TWO_HOURS = \"WITHIN_TWO_HOURS\",\n}\n\nexport enum IkasStockLocationType {\n PHYSICAL = \"PHYSICAL\",\n VIRTUAL = \"VIRTUAL\",\n}\n"],"names":["IkasStockLocationDeliveryTime","IkasStockLocationType"],"mappings":"aAaA,IAAYA,EASAC,yDATAD,QAOXA,mCAAA,GAPWA,EAAAA,wCAAAA,QAAAA,8BAOX,KANC,iBAAA,mBACAA,EAAA,kBAAA,oBACAA,EAAA,gBAAA,kBACAA,EAAA,sBAAA,wBACAA,EAAA,yBAAA,2BACAA,EAAA,iBAAA,mBAGUC,QAGXA,2BAAA,GAHWA,EAAAA,QAAqBA,wBAArBA,8BAGX,KAFC,SAAA,WACAA,EAAA,QAAA"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { IkasStorefrontLocalization } from "./localization";
|
|
2
|
-
import { IkasStorefrontDomain } from "./domain";
|
|
3
|
-
import { IkasStorefrontRouting } from "./routing";
|
|
4
|
-
import { IkasStorefrontTheme } from "./theme";
|
|
5
|
-
import { IkasStorefontMetaTemplates } from "./meta-templates";
|
|
6
|
-
export declare enum IkasStorefrontStatus {
|
|
7
|
-
WAITING = "WAITING",
|
|
8
|
-
READY = "READY"
|
|
9
|
-
}
|
|
10
|
-
export declare type IkasStorefront = {
|
|
11
|
-
id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
status: IkasStorefrontStatus;
|
|
14
|
-
mainStorefrontThemeId: string | null;
|
|
15
|
-
pickUpStockLocationIds: string[] | null;
|
|
16
|
-
emailSettingsId: string | null;
|
|
17
|
-
salesChannelId: string | null;
|
|
18
|
-
fbpId: string | null;
|
|
19
|
-
gtmId: string | null;
|
|
20
|
-
analytics4Id: string | null;
|
|
21
|
-
universalAnalyticsId: string | null;
|
|
22
|
-
tiktokPixelId: string | null;
|
|
23
|
-
token: string | null;
|
|
24
|
-
metaTemplates: IkasStorefontMetaTemplates[] | null;
|
|
25
|
-
robotsTxt: string | null;
|
|
26
|
-
localizations: IkasStorefrontLocalization[];
|
|
27
|
-
routings: IkasStorefrontRouting[];
|
|
28
|
-
domains: IkasStorefrontDomain[];
|
|
29
|
-
themes: IkasStorefrontTheme[];
|
|
30
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasStorefrontStatus=void 0,(t=exports.IkasStorefrontStatus||(exports.IkasStorefrontStatus={})).WAITING="WAITING",t.READY="READY";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/models/storefront/index.ts"],"sourcesContent":["import { IkasStorefrontLocalization } from \"./localization\";\nimport { IkasStorefrontDomain } from \"./domain\";\nimport { IkasStorefrontRouting } from \"./routing\";\nimport { IkasStorefrontTheme } from \"./theme\";\nimport { IkasStorefontMetaTemplates } from \"./meta-templates\";\n\nexport enum IkasStorefrontStatus {\n WAITING = \"WAITING\",\n READY = \"READY\",\n}\n\nexport type IkasStorefront = {\n id: string;\n name: string;\n status: IkasStorefrontStatus;\n\n mainStorefrontThemeId: string | null;\n pickUpStockLocationIds: string[] | null;\n emailSettingsId: string | null;\n salesChannelId: string | null;\n fbpId: string | null;\n gtmId: string | null;\n analytics4Id: string | null;\n universalAnalyticsId: string | null;\n tiktokPixelId: string | null;\n token: string | null;\n metaTemplates: IkasStorefontMetaTemplates[] | null;\n robotsTxt: string | null;\n localizations: IkasStorefrontLocalization[];\n routings: IkasStorefrontRouting[];\n domains: IkasStorefrontDomain[];\n themes: IkasStorefrontTheme[];\n};\n"],"names":["IkasStorefrontStatus"],"mappings":"aAMA,IAAYA,yDAAAA,QAGXA,0BAAA,GAHWA,EAAAA,QAAoBA,uBAApBA,6BAGX,KAFC,QAAA,UACAA,EAAA,MAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare type IkasStorefontMetaTemplates = {
|
|
2
|
-
descriptionTemplate: string | null;
|
|
3
|
-
locale: string | null;
|
|
4
|
-
pageType: StorefrontPageTypesEnum | null;
|
|
5
|
-
titleTemplate: string | null;
|
|
6
|
-
};
|
|
7
|
-
export declare enum StorefrontPageTypesEnum {
|
|
8
|
-
BLOG = "BLOG",
|
|
9
|
-
BLOG_CATEGORY = "BLOG_CATEGORY",
|
|
10
|
-
BRAND = "BRAND",
|
|
11
|
-
CATEGORY = "CATEGORY",
|
|
12
|
-
CUSTOM = "CUSTOM",
|
|
13
|
-
PRODUCT = "PRODUCT"
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.StorefrontPageTypesEnum=void 0,(e=exports.StorefrontPageTypesEnum||(exports.StorefrontPageTypesEnum={})).BLOG="BLOG",e.BLOG_CATEGORY="BLOG_CATEGORY",e.BRAND="BRAND",e.CATEGORY="CATEGORY",e.CUSTOM="CUSTOM",e.PRODUCT="PRODUCT";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/models/storefront/meta-templates/index.ts"],"sourcesContent":["export type IkasStorefontMetaTemplates = {\n descriptionTemplate: string | null;\n locale: string | null;\n pageType: StorefrontPageTypesEnum | null;\n titleTemplate: string | null;\n};\n\nexport enum StorefrontPageTypesEnum {\n BLOG = \"BLOG\",\n BLOG_CATEGORY = \"BLOG_CATEGORY\",\n BRAND = \"BRAND\",\n CATEGORY = \"CATEGORY\",\n CUSTOM = \"CUSTOM\",\n PRODUCT = \"PRODUCT\",\n}\n"],"names":["StorefrontPageTypesEnum"],"mappings":"aAOA,IAAYA,yDAAAA,QAOXA,6BAAA,GAPWA,EAAAA,QAAuBA,0BAAvBA,gCAOX,KANC,KAAA,OACAA,EAAA,cAAA,gBACAA,EAAA,MAAA,QACAA,EAAA,SAAA,WACAA,EAAA,OAAA,SACAA,EAAA,QAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IkasStorefrontDynamicCurrencySettings } from "./dynamic-currency";
|
|
2
|
-
export declare type IkasStorefrontRouting = {
|
|
3
|
-
id: string;
|
|
4
|
-
countryCodes: string[] | null;
|
|
5
|
-
domain: string | null;
|
|
6
|
-
locale: string;
|
|
7
|
-
path: string | null;
|
|
8
|
-
priceListId: string | null;
|
|
9
|
-
dynamicCurrencySettings: IkasStorefrontDynamicCurrencySettings | null;
|
|
10
|
-
currencyCode: string | null;
|
|
11
|
-
currencySymbol: string | null;
|
|
12
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare enum IkasStorefrontThemeStatus {
|
|
2
|
-
WAITING = "WAITING",
|
|
3
|
-
READY = "READY"
|
|
4
|
-
}
|
|
5
|
-
export declare type IkasStorefrontTheme = {
|
|
6
|
-
id: string;
|
|
7
|
-
isMainTheme: boolean;
|
|
8
|
-
name: string;
|
|
9
|
-
status: IkasStorefrontThemeStatus;
|
|
10
|
-
themeId: string;
|
|
11
|
-
themeVersionId: string;
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasStorefrontThemeStatus=void 0,(e=exports.IkasStorefrontThemeStatus||(exports.IkasStorefrontThemeStatus={})).WAITING="WAITING",e.READY="READY";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/models/storefront/theme/index.tsx"],"sourcesContent":["export enum IkasStorefrontThemeStatus {\n WAITING = \"WAITING\",\n READY = \"READY\",\n}\n\nexport type IkasStorefrontTheme = {\n id: string;\n isMainTheme: boolean;\n name: string;\n status: IkasStorefrontThemeStatus;\n themeId: string;\n themeVersionId: string;\n};\n"],"names":["IkasStorefrontThemeStatus"],"mappings":"aAAA,IAAYA,yDAAAA,QAGXA,+BAAA,GAHWA,EAAAA,QAAyBA,4BAAzBA,kCAGX,KAFC,QAAA,UACAA,EAAA,MAAA"}
|