@ikas/storefront-models 4.0.0-alpha.49 → 4.0.0-alpha.50
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 +5 -5
- package/{build/index.d.ts → src/index.ts} +229 -170
- package/src/models/base/index.ts +6 -0
- package/src/models/base/init.ts +14 -0
- package/{build/models/blog/category/index.d.ts → src/models/blog/category/index.ts} +11 -9
- package/src/models/blog/category/init.ts +33 -0
- package/{build/models/blog/tag/index.d.ts → src/models/blog/content/index.ts} +5 -4
- package/src/models/blog/index.ts +26 -0
- package/src/models/blog/init.ts +7 -0
- package/src/models/blog/meta-data/index.ts +16 -0
- package/src/models/blog/tag/index.ts +5 -0
- package/src/models/blog/writer/index.ts +4 -0
- package/src/models/brand/index.ts +26 -0
- package/src/models/brand/init.ts +27 -0
- package/src/models/brand/translation/index.ts +5 -0
- package/src/models/campaign-offer/index.ts +43 -0
- package/src/models/campaign-offer/product/index.ts +27 -0
- package/src/models/cart/available-shipping-method/index.ts +13 -0
- package/src/models/cart/campaign-offer/index.ts +24 -0
- package/src/models/cart/index.ts +12 -0
- package/src/models/category/index.ts +30 -0
- package/src/models/category/init.ts +37 -0
- package/src/models/category/path-item/index.ts +11 -0
- package/src/models/category/path-item/init.ts +25 -0
- package/src/models/category/translations/index.ts +5 -0
- package/src/models/checkout/index.ts +3 -0
- package/src/models/checkout-settings/index.ts +24 -0
- package/src/models/checkout-settings/option/index.ts +4 -0
- package/src/models/checkout-settings/price/index.ts +5 -0
- package/src/models/city/index.ts +11 -0
- package/src/models/contact-form/index.ts +7 -0
- package/src/models/country/index.ts +17 -0
- package/src/models/country/init.ts +16 -0
- package/src/models/country/location-translations/index.ts +5 -0
- package/src/models/customer/address/city/index.ts +5 -0
- package/src/models/customer/address/country/index.ts +7 -0
- package/src/models/customer/address/district/index.ts +5 -0
- package/src/models/customer/address/index.ts +27 -0
- package/src/models/customer/address/state/index.ts +5 -0
- package/src/models/customer/attribute/index.ts +22 -0
- package/src/models/customer/attribute/init.ts +34 -0
- package/src/models/customer/attribute/option/index.ts +7 -0
- package/src/models/customer/attribute/sales-channel/index.ts +18 -0
- package/src/models/customer/attribute/translation/index.ts +8 -0
- package/src/models/customer/attribute/translation/option/index.ts +4 -0
- package/src/models/customer/attribute/value/index.ts +12 -0
- package/src/models/customer/index.ts +48 -0
- package/src/models/customer/review/index.ts +28 -0
- package/src/models/customer/review/init.ts +7 -0
- package/src/models/customer/review/settings/index.ts +4 -0
- package/src/models/customer/review/summary/index.ts +9 -0
- package/src/models/customer/review/summary/star/index.ts +4 -0
- package/src/models/district/index.ts +11 -0
- package/src/models/favorite-product/index.ts +6 -0
- package/src/models/filter-category/index.ts +9 -0
- package/src/models/html-meta-data/index.ts +28 -0
- package/src/models/html-meta-data/init.ts +27 -0
- package/src/models/html-meta-data/translations/index.ts +5 -0
- package/src/models/image/index.ts +4 -0
- package/src/models/last-viewed-product/index.ts +4 -0
- package/src/models/merchant-settings/address/city/index.ts +5 -0
- package/src/models/merchant-settings/address/country/index.ts +7 -0
- package/src/models/merchant-settings/address/district/index.ts +5 -0
- package/src/models/merchant-settings/address/index.ts +22 -0
- package/src/models/merchant-settings/address/state/index.ts +5 -0
- package/src/models/merchant-settings/address/type/index.ts +4 -0
- package/src/models/merchant-settings/index.ts +28 -0
- package/src/models/merchant-settings/init.ts +7 -0
- package/src/models/order/address/city/index.ts +5 -0
- package/src/models/order/address/country/index.ts +7 -0
- package/src/models/order/address/district/index.ts +5 -0
- package/src/models/order/address/index.ts +25 -0
- package/src/models/order/address/state/index.ts +5 -0
- package/src/models/order/adjustment/applied-order-line/index.ts +6 -0
- package/src/models/order/adjustment/index.ts +24 -0
- package/src/models/order/customer/index.ts +9 -0
- package/src/models/order/gift-line/index.ts +4 -0
- package/src/models/order/index.ts +92 -0
- package/src/models/order/invoice/index.ts +15 -0
- package/src/models/order/line-item/base-unit/index.ts +22 -0
- package/src/models/order/line-item/base-unit/unit-type/index.ts +4 -0
- package/src/models/order/line-item/discount/index.ts +10 -0
- package/src/models/order/line-item/index.ts +37 -0
- package/src/models/order/line-item/option/index.ts +10 -0
- package/src/models/order/line-item/option/value/index.ts +5 -0
- package/src/models/order/line-item/variant/brand/index.ts +4 -0
- package/src/models/order/line-item/variant/category/index.ts +10 -0
- package/src/models/order/line-item/variant/index.ts +30 -0
- package/src/models/order/line-item/variant/price/index.ts +8 -0
- package/src/models/order/line-item/variant/unit/index.ts +6 -0
- package/src/models/order/line-item/variant/value/index.ts +7 -0
- package/src/models/order/package/index.ts +28 -0
- package/src/models/order/package/tracking-info/index.ts +7 -0
- package/src/models/order/payment-method/index.ts +9 -0
- package/src/models/order/refund/index.ts +6 -0
- package/src/models/order/refund/line-item/index.ts +4 -0
- package/src/models/order/refund/settings/index.ts +5 -0
- package/src/models/order/shipping-line/index.ts +12 -0
- package/src/models/order/tax-line/index.ts +4 -0
- package/src/models/order/transaction/error/index.ts +5 -0
- package/src/models/order/transaction/index.ts +37 -0
- package/src/models/order/transaction/payment-method-detail/index.ts +25 -0
- package/src/models/order/transaction/payment-method-detail/installment-price/index.ts +7 -0
- package/src/models/payment-gateway/additional-price/index.ts +16 -0
- package/src/models/payment-gateway/index.ts +47 -0
- package/src/models/payment-gateway/init.ts +26 -0
- package/src/models/payment-gateway/settings/index.ts +12 -0
- package/src/models/payment-gateway/translation/index.ts +5 -0
- package/src/models/product/attribute/index.ts +26 -0
- package/src/models/product/attribute/init.ts +34 -0
- package/src/models/product/attribute/option/index.ts +4 -0
- package/src/models/product/attribute/table-cell/index.ts +4 -0
- package/src/models/product/attribute/table-template/index.ts +6 -0
- package/src/models/product/attribute/translation/index.ts +11 -0
- package/src/models/product/attribute-value/index.ts +26 -0
- package/src/models/product/attribute-value/init.ts +7 -0
- package/src/models/product/back-in-stock-settings/index.ts +3 -0
- package/src/models/product/base-unit/index.ts +12 -0
- package/src/models/product/campaign/data/index.ts +43 -0
- package/src/models/product/campaign/filter/index.ts +12 -0
- package/src/models/product/campaign/index.ts +6 -0
- package/src/models/product/campaign/product-buyx-then-gety/index.ts +19 -0
- package/src/models/product/campaign/product-campaign-date-range-field/index.ts +4 -0
- package/src/models/product/campaign/product-fixed-discount/index.ts +13 -0
- package/src/models/product/filter/index.ts +98 -0
- package/src/models/product/image/index.ts +10 -0
- package/src/models/product/image/init.ts +7 -0
- package/src/models/product/index.ts +45 -0
- package/src/models/product/init.ts +16 -0
- package/src/models/product/option-set/index.ts +25 -0
- package/src/models/product/option-set/init.ts +77 -0
- package/src/models/product/option-set/option/index.ts +81 -0
- package/src/models/product/option-set/option/init.ts +13 -0
- package/src/models/product/tag/index.ts +4 -0
- package/src/models/product/variant/index.ts +22 -0
- package/src/models/product/variant/init.ts +10 -0
- package/src/models/product/variant/price/index.ts +9 -0
- package/src/models/product/variant/unit/index.ts +6 -0
- package/src/models/product/variant-type/index.ts +7 -0
- package/src/models/product/variant-type/init.ts +15 -0
- package/src/models/product-option-file/index.ts +5 -0
- package/src/models/raffle/index.ts +77 -0
- package/src/models/raffle/init.ts +6 -0
- package/src/models/sales-channel/index.ts +17 -0
- package/src/models/state/index.ts +7 -0
- package/src/models/stock-location/address/city/index.ts +5 -0
- package/src/models/stock-location/address/country/index.ts +5 -0
- package/src/models/stock-location/address/district/index.ts +5 -0
- package/src/models/stock-location/address/index.ts +14 -0
- package/src/models/stock-location/address/state/index.ts +5 -0
- package/src/models/stock-location/available/index.ts +9 -0
- package/src/models/stock-location/index.ts +26 -0
- package/src/models/storefront/domain/index.ts +7 -0
- package/src/models/storefront/index.ts +31 -0
- package/src/models/storefront/localization/index.tsx +6 -0
- package/src/models/storefront/routing/dynamic-currency/index.ts +4 -0
- package/src/models/storefront/routing/index.tsx +13 -0
- package/src/models/storefront/theme/index.tsx +13 -0
- package/src/models/storefront/theme-localization/index.tsx +13 -0
- package/src/models/theme-json/component/index.ts +19 -0
- package/src/models/theme-json/component/prop/index.ts +65 -0
- package/src/models/theme-json/custom-data/index.ts +46 -0
- package/src/models/theme-json/index.ts +12 -0
- package/src/models/theme-json/page/component/index.ts +11 -0
- package/src/models/theme-json/page/index.ts +46 -0
- package/src/models/theme-json/settings/color/index.ts +13 -0
- package/src/models/theme-json/settings/favicon/index.ts +3 -0
- package/src/models/theme-json/settings/font-family/index.ts +4 -0
- package/src/models/theme-json/settings/index.ts +16 -0
- package/src/models/variant-type/index.ts +25 -0
- package/src/models/variant-type/init.ts +37 -0
- package/src/models/variant-type/variant-value/index.ts +12 -0
- package/src/models/variant-type/variant-value/init.ts +5 -0
- package/build/_virtual/_tslib.js +0 -1
- package/build/index.js +0 -1
- package/build/models/base/index.d.ts +0 -6
- package/build/models/base/init.d.ts +0 -6
- package/build/models/base/init.js +0 -1
- package/build/models/blog/category/init.d.ts +0 -11
- package/build/models/blog/category/init.js +0 -1
- package/build/models/blog/content/index.d.ts +0 -4
- package/build/models/blog/index.d.ts +0 -24
- package/build/models/blog/init.d.ts +0 -2
- package/build/models/blog/init.js +0 -1
- package/build/models/blog/meta-data/index.d.ts +0 -14
- package/build/models/blog/meta-data/index.js +0 -1
- package/build/models/blog/writer/index.d.ts +0 -4
- package/build/models/brand/index.d.ts +0 -23
- package/build/models/brand/index.js +0 -1
- package/build/models/brand/init.d.ts +0 -2
- package/build/models/brand/init.js +0 -1
- package/build/models/brand/translation/index.d.ts +0 -5
- package/build/models/campaign-offer/index.d.ts +0 -37
- package/build/models/campaign-offer/index.js +0 -1
- package/build/models/campaign-offer/product/index.d.ts +0 -24
- package/build/models/campaign-offer/product/index.js +0 -1
- package/build/models/cart/available-shipping-method/index.d.ts +0 -12
- package/build/models/cart/available-shipping-method/index.js +0 -1
- package/build/models/cart/campaign-offer/index.d.ts +0 -19
- package/build/models/cart/campaign-offer/index.js +0 -1
- package/build/models/cart/index.d.ts +0 -11
- package/build/models/category/index.d.ts +0 -27
- package/build/models/category/index.js +0 -1
- package/build/models/category/init.d.ts +0 -2
- package/build/models/category/init.js +0 -1
- package/build/models/category/path-item/index.d.ts +0 -10
- package/build/models/category/path-item/init.d.ts +0 -2
- package/build/models/category/path-item/init.js +0 -1
- package/build/models/category/translations/index.d.ts +0 -5
- package/build/models/checkout/index.d.ts +0 -2
- package/build/models/checkout-settings/index.d.ts +0 -22
- package/build/models/checkout-settings/index.js +0 -1
- package/build/models/checkout-settings/option/index.d.ts +0 -4
- package/build/models/checkout-settings/price/index.d.ts +0 -5
- package/build/models/city/index.d.ts +0 -10
- package/build/models/contact-form/index.d.ts +0 -7
- package/build/models/country/index.d.ts +0 -16
- package/build/models/country/init.d.ts +0 -2
- package/build/models/country/init.js +0 -1
- package/build/models/country/location-translations/index.d.ts +0 -5
- package/build/models/customer/address/city/index.d.ts +0 -5
- package/build/models/customer/address/country/index.d.ts +0 -7
- package/build/models/customer/address/district/index.d.ts +0 -5
- package/build/models/customer/address/index.d.ts +0 -25
- package/build/models/customer/address/state/index.d.ts +0 -5
- package/build/models/customer/attribute/index.d.ts +0 -20
- package/build/models/customer/attribute/index.js +0 -1
- package/build/models/customer/attribute/init.d.ts +0 -2
- package/build/models/customer/attribute/init.js +0 -1
- package/build/models/customer/attribute/option/index.d.ts +0 -7
- package/build/models/customer/attribute/sales-channel/index.d.ts +0 -16
- package/build/models/customer/attribute/sales-channel/index.js +0 -1
- package/build/models/customer/attribute/translation/index.d.ts +0 -7
- package/build/models/customer/attribute/translation/option/index.d.ts +0 -4
- package/build/models/customer/attribute/value/index.d.ts +0 -9
- package/build/models/customer/index.d.ts +0 -43
- package/build/models/customer/index.js +0 -1
- package/build/models/customer/review/index.d.ts +0 -24
- package/build/models/customer/review/index.js +0 -1
- package/build/models/customer/review/init.d.ts +0 -2
- package/build/models/customer/review/init.js +0 -1
- package/build/models/customer/review/settings/index.d.ts +0 -4
- package/build/models/customer/review/summary/index.d.ts +0 -8
- package/build/models/customer/review/summary/star/index.d.ts +0 -4
- package/build/models/district/index.d.ts +0 -10
- package/build/models/favorite-product/index.d.ts +0 -5
- package/build/models/filter-category/index.d.ts +0 -8
- package/build/models/html-meta-data/index.d.ts +0 -25
- package/build/models/html-meta-data/index.js +0 -1
- package/build/models/html-meta-data/init.d.ts +0 -3
- package/build/models/html-meta-data/init.js +0 -1
- package/build/models/html-meta-data/translations/index.d.ts +0 -5
- package/build/models/image/index.d.ts +0 -4
- package/build/models/last-viewed-product/index.d.ts +0 -4
- package/build/models/merchant-settings/address/city/index.d.ts +0 -5
- package/build/models/merchant-settings/address/country/index.d.ts +0 -7
- package/build/models/merchant-settings/address/district/index.d.ts +0 -5
- package/build/models/merchant-settings/address/index.d.ts +0 -21
- package/build/models/merchant-settings/address/state/index.d.ts +0 -5
- package/build/models/merchant-settings/address/type/index.d.ts +0 -4
- package/build/models/merchant-settings/address/type/index.js +0 -1
- package/build/models/merchant-settings/index.d.ts +0 -24
- package/build/models/merchant-settings/index.js +0 -1
- package/build/models/merchant-settings/init.d.ts +0 -2
- package/build/models/merchant-settings/init.js +0 -1
- package/build/models/order/address/city/index.d.ts +0 -5
- package/build/models/order/address/country/index.d.ts +0 -7
- package/build/models/order/address/district/index.d.ts +0 -5
- package/build/models/order/address/index.d.ts +0 -22
- package/build/models/order/address/state/index.d.ts +0 -5
- package/build/models/order/adjustment/applied-order-line/index.d.ts +0 -6
- package/build/models/order/adjustment/index.d.ts +0 -21
- package/build/models/order/adjustment/index.js +0 -1
- package/build/models/order/customer/index.d.ts +0 -9
- package/build/models/order/gift-line/index.d.ts +0 -4
- package/build/models/order/index.d.ts +0 -86
- package/build/models/order/index.js +0 -1
- package/build/models/order/invoice/index.d.ts +0 -14
- package/build/models/order/invoice/index.js +0 -1
- package/build/models/order/line-item/base-unit/index.d.ts +0 -20
- package/build/models/order/line-item/base-unit/index.js +0 -1
- package/build/models/order/line-item/base-unit/unit-type/index.d.ts +0 -4
- package/build/models/order/line-item/discount/index.d.ts +0 -9
- package/build/models/order/line-item/index.d.ts +0 -35
- package/build/models/order/line-item/index.js +0 -1
- package/build/models/order/line-item/option/index.d.ts +0 -9
- package/build/models/order/line-item/option/value/index.d.ts +0 -5
- package/build/models/order/line-item/variant/brand/index.d.ts +0 -4
- package/build/models/order/line-item/variant/category/index.d.ts +0 -9
- package/build/models/order/line-item/variant/index.d.ts +0 -27
- package/build/models/order/line-item/variant/price/index.d.ts +0 -8
- package/build/models/order/line-item/variant/unit/index.d.ts +0 -5
- package/build/models/order/line-item/variant/value/index.d.ts +0 -7
- package/build/models/order/package/index.d.ts +0 -26
- package/build/models/order/package/index.js +0 -1
- package/build/models/order/package/tracking-info/index.d.ts +0 -7
- package/build/models/order/payment-method/index.d.ts +0 -8
- package/build/models/order/refund/index.d.ts +0 -5
- package/build/models/order/refund/line-item/index.d.ts +0 -4
- package/build/models/order/refund/settings/index.d.ts +0 -5
- package/build/models/order/shipping-line/index.d.ts +0 -11
- package/build/models/order/tax-line/index.d.ts +0 -4
- package/build/models/order/transaction/error/index.d.ts +0 -5
- package/build/models/order/transaction/index.d.ts +0 -34
- package/build/models/order/transaction/index.js +0 -1
- package/build/models/order/transaction/payment-method-detail/index.d.ts +0 -22
- package/build/models/order/transaction/payment-method-detail/index.js +0 -1
- package/build/models/order/transaction/payment-method-detail/installment-price/index.d.ts +0 -7
- package/build/models/payment-gateway/additional-price/index.d.ts +0 -14
- package/build/models/payment-gateway/additional-price/index.js +0 -1
- package/build/models/payment-gateway/index.d.ts +0 -42
- package/build/models/payment-gateway/index.js +0 -1
- package/build/models/payment-gateway/init.d.ts +0 -2
- package/build/models/payment-gateway/init.js +0 -1
- package/build/models/payment-gateway/settings/index.d.ts +0 -11
- package/build/models/payment-gateway/settings/index.js +0 -1
- package/build/models/payment-gateway/translation/index.d.ts +0 -5
- package/build/models/product/attribute/index.d.ts +0 -24
- package/build/models/product/attribute/index.js +0 -1
- package/build/models/product/attribute/init.d.ts +0 -2
- package/build/models/product/attribute/init.js +0 -1
- package/build/models/product/attribute/option/index.d.ts +0 -4
- package/build/models/product/attribute/table-cell/index.d.ts +0 -4
- package/build/models/product/attribute/table-template/index.d.ts +0 -5
- package/build/models/product/attribute/translation/index.d.ts +0 -10
- package/build/models/product/attribute-value/index.d.ts +0 -21
- package/build/models/product/attribute-value/init.d.ts +0 -2
- package/build/models/product/attribute-value/init.js +0 -1
- package/build/models/product/back-in-stock-settings/index.d.ts +0 -3
- package/build/models/product/base-unit/index.d.ts +0 -10
- package/build/models/product/campaign/data/index.d.ts +0 -39
- package/build/models/product/campaign/data/index.js +0 -1
- package/build/models/product/campaign/filter/index.d.ts +0 -11
- package/build/models/product/campaign/filter/index.js +0 -1
- package/build/models/product/campaign/index.d.ts +0 -5
- package/build/models/product/campaign/product-buyx-then-gety/index.d.ts +0 -16
- package/build/models/product/campaign/product-campaign-date-range-field/index.d.ts +0 -4
- package/build/models/product/campaign/product-fixed-discount/index.d.ts +0 -11
- package/build/models/product/filter/index.d.ts +0 -83
- package/build/models/product/filter/index.js +0 -1
- package/build/models/product/image/index.d.ts +0 -8
- package/build/models/product/image/init.d.ts +0 -2
- package/build/models/product/image/init.js +0 -1
- package/build/models/product/index.d.ts +0 -41
- package/build/models/product/index.js +0 -1
- package/build/models/product/init.d.ts +0 -2
- package/build/models/product/init.js +0 -1
- package/build/models/product/option-set/index.d.ts +0 -21
- package/build/models/product/option-set/init.d.ts +0 -6
- package/build/models/product/option-set/init.js +0 -1
- package/build/models/product/option-set/option/index.d.ts +0 -70
- package/build/models/product/option-set/option/index.js +0 -1
- package/build/models/product/option-set/option/init.d.ts +0 -2
- package/build/models/product/option-set/option/init.js +0 -1
- package/build/models/product/tag/index.d.ts +0 -4
- package/build/models/product/variant/index.d.ts +0 -21
- package/build/models/product/variant/init.d.ts +0 -2
- package/build/models/product/variant/init.js +0 -1
- package/build/models/product/variant/price/index.d.ts +0 -9
- package/build/models/product/variant/unit/index.d.ts +0 -5
- package/build/models/product/variant-type/index.d.ts +0 -6
- package/build/models/product/variant-type/init.d.ts +0 -2
- package/build/models/product/variant-type/init.js +0 -1
- package/build/models/product-option-file/index.d.ts +0 -5
- package/build/models/raffle/index.d.ts +0 -68
- package/build/models/raffle/index.js +0 -1
- package/build/models/raffle/init.d.ts +0 -2
- package/build/models/raffle/init.js +0 -1
- package/build/models/sales-channel/index.d.ts +0 -15
- package/build/models/state/index.d.ts +0 -6
- package/build/models/stock-location/address/city/index.d.ts +0 -5
- package/build/models/stock-location/address/country/index.d.ts +0 -5
- package/build/models/stock-location/address/district/index.d.ts +0 -5
- package/build/models/stock-location/address/index.d.ts +0 -13
- package/build/models/stock-location/address/state/index.d.ts +0 -5
- package/build/models/stock-location/available/index.d.ts +0 -8
- package/build/models/stock-location/index.d.ts +0 -23
- package/build/models/stock-location/index.js +0 -1
- package/build/models/storefront/domain/index.d.ts +0 -7
- package/build/models/storefront/index.d.ts +0 -27
- package/build/models/storefront/index.js +0 -1
- package/build/models/storefront/localization/index.d.ts +0 -6
- package/build/models/storefront/routing/dynamic-currency/index.d.ts +0 -4
- package/build/models/storefront/routing/index.d.ts +0 -12
- package/build/models/storefront/theme/index.d.ts +0 -12
- package/build/models/storefront/theme/index.js +0 -1
- package/build/models/storefront/theme-localization/index.d.ts +0 -11
- package/build/models/theme-json/component/index.d.ts +0 -17
- package/build/models/theme-json/component/prop/index.d.ts +0 -60
- package/build/models/theme-json/component/prop/index.js +0 -1
- package/build/models/theme-json/custom-data/index.d.ts +0 -37
- package/build/models/theme-json/index.d.ts +0 -11
- package/build/models/theme-json/page/component/index.d.ts +0 -5
- package/build/models/theme-json/page/index.d.ts +0 -43
- package/build/models/theme-json/page/index.js +0 -1
- package/build/models/theme-json/settings/color/index.d.ts +0 -12
- package/build/models/theme-json/settings/favicon/index.d.ts +0 -3
- package/build/models/theme-json/settings/font-family/index.d.ts +0 -4
- package/build/models/theme-json/settings/index.d.ts +0 -14
- package/build/models/theme-json/settings/index.js +0 -1
- package/build/models/variant-type/index.d.ts +0 -21
- package/build/models/variant-type/index.js +0 -1
- package/build/models/variant-type/init.d.ts +0 -2
- package/build/models/variant-type/init.js +0 -1
- package/build/models/variant-type/variant-value/index.d.ts +0 -9
- package/build/models/variant-type/variant-value/init.d.ts +0 -2
- package/build/models/variant-type/variant-value/init.js +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IkasBaseModel } from "../base";
|
|
2
|
+
import { IkasHTMLMetaDataTranslations } from "./translations";
|
|
3
|
+
|
|
4
|
+
export type IkasHTMLMetaData = {
|
|
5
|
+
canonicals?: string[] | null;
|
|
6
|
+
description?: string | null;
|
|
7
|
+
disableIndex?: boolean | null;
|
|
8
|
+
pageTitle?: string | null;
|
|
9
|
+
slug: string;
|
|
10
|
+
targetId?: string | null;
|
|
11
|
+
targetType?: IkasHTMLMetaDataTargetType | null;
|
|
12
|
+
translations?: IkasHTMLMetaDataTranslations[] | null;
|
|
13
|
+
} & IkasBaseModel;
|
|
14
|
+
|
|
15
|
+
export type IkasHTMLMetaDataOverride = {
|
|
16
|
+
description: string;
|
|
17
|
+
language: string | null;
|
|
18
|
+
pageTitle: string;
|
|
19
|
+
storefrontId: string | null;
|
|
20
|
+
storefrontRegionId: string | null;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export enum IkasHTMLMetaDataTargetType {
|
|
24
|
+
BRAND = "BRAND",
|
|
25
|
+
CATEGORY = "CATEGORY",
|
|
26
|
+
PAGE = "PAGE",
|
|
27
|
+
PRODUCT = "PRODUCT",
|
|
28
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IkasHTMLMetaData } from ".";
|
|
2
|
+
|
|
3
|
+
export function initIkasHTMLMetaData(
|
|
4
|
+
metaData: IkasHTMLMetaData,
|
|
5
|
+
locale: string | null
|
|
6
|
+
) {
|
|
7
|
+
if (locale) setHTMLMetaDataTranslations(metaData, locale);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export function setHTMLMetaDataTranslations(
|
|
11
|
+
metaData: IkasHTMLMetaData,
|
|
12
|
+
locale: string
|
|
13
|
+
) {
|
|
14
|
+
if (
|
|
15
|
+
metaData.translations &&
|
|
16
|
+
metaData.translations.some((t) => t.locale === locale)
|
|
17
|
+
) {
|
|
18
|
+
const localeTranslations = metaData.translations.find(
|
|
19
|
+
(t) => t.locale === locale
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
if (localeTranslations?.pageTitle)
|
|
23
|
+
metaData.pageTitle = localeTranslations.pageTitle;
|
|
24
|
+
if (localeTranslations?.description)
|
|
25
|
+
metaData.description = localeTranslations.description;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IkasMerchantAddressCity } from "./city";
|
|
2
|
+
import { IkasMerchantAddressCountry } from "./country";
|
|
3
|
+
import { IkasMerchantAddressDistrict } from "./district";
|
|
4
|
+
import { IkasMerchantAddressState } from "./state";
|
|
5
|
+
import { IkasMerchantSettingsAddressTypeEnum } from "./type";
|
|
6
|
+
|
|
7
|
+
export type IkasMerchantAddress = {
|
|
8
|
+
addressLine1: string | null;
|
|
9
|
+
addressLine2: string | null;
|
|
10
|
+
city: IkasMerchantAddressCity | null;
|
|
11
|
+
country: IkasMerchantAddressCountry | null;
|
|
12
|
+
district: IkasMerchantAddressDistrict | null;
|
|
13
|
+
firstName: string | null;
|
|
14
|
+
identityNumber: string | null;
|
|
15
|
+
lastName: string | null;
|
|
16
|
+
postalCode: string | null;
|
|
17
|
+
state: IkasMerchantAddressState | null;
|
|
18
|
+
taxOffice: string | null;
|
|
19
|
+
title: string | null;
|
|
20
|
+
type: IkasMerchantSettingsAddressTypeEnum | null;
|
|
21
|
+
vkn: string | null;
|
|
22
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IkasImage } from "../image";
|
|
2
|
+
import { IkasMerchantAddress } from "./address";
|
|
3
|
+
|
|
4
|
+
export type IkasMerchantSettings = {
|
|
5
|
+
address: IkasMerchantAddress | null;
|
|
6
|
+
currencyFormats: IkasMerchantSettingsCurrencyFormat[] | null;
|
|
7
|
+
logoId: string | null;
|
|
8
|
+
merchantId: string;
|
|
9
|
+
merchantName: string;
|
|
10
|
+
phone: string | null;
|
|
11
|
+
|
|
12
|
+
// Extra
|
|
13
|
+
logo?: IkasImage | null;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export type IkasMerchantSettingsCurrencyFormat = {
|
|
17
|
+
currencyCode: string;
|
|
18
|
+
decimalSeparator: string;
|
|
19
|
+
symbol: string;
|
|
20
|
+
symbolPosition: IkasMerchantSettingsCurrencyFormatSymbolPosition;
|
|
21
|
+
thousandSeparator: string;
|
|
22
|
+
omitZeroDecimal: boolean;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
enum IkasMerchantSettingsCurrencyFormatSymbolPosition {
|
|
26
|
+
LEFT = "LEFT",
|
|
27
|
+
RIGHT = "RIGHT",
|
|
28
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { IkasCheckoutSettings } from "../../checkout-settings";
|
|
2
|
+
import { IkasOrderAddressCity } from "./city";
|
|
3
|
+
import { IkasOrderAddressCountry } from "./country";
|
|
4
|
+
import { IkasOrderAddressDistrict } from "./district";
|
|
5
|
+
import { IkasOrderAddressState } from "./state";
|
|
6
|
+
|
|
7
|
+
export type IkasOrderAddress = {
|
|
8
|
+
addressLine1: string;
|
|
9
|
+
addressLine2: string | null;
|
|
10
|
+
company: string | null;
|
|
11
|
+
firstName: string;
|
|
12
|
+
id: string | null;
|
|
13
|
+
identityNumber: string | null;
|
|
14
|
+
isDefault: boolean;
|
|
15
|
+
lastName: string;
|
|
16
|
+
phone: string | null;
|
|
17
|
+
postalCode: string | null;
|
|
18
|
+
taxNumber: string | null;
|
|
19
|
+
taxOffice: string | null;
|
|
20
|
+
|
|
21
|
+
country: IkasOrderAddressCountry | null;
|
|
22
|
+
state: IkasOrderAddressState | null;
|
|
23
|
+
city: IkasOrderAddressCity | null;
|
|
24
|
+
district: IkasOrderAddressDistrict | null;
|
|
25
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IkasCampaignType } from "../../../models/product/campaign/data";
|
|
2
|
+
import { IkasOrderAdjustmentAppliedOrderLine } from "./applied-order-line";
|
|
3
|
+
|
|
4
|
+
export type IkasOrderAdjustment = {
|
|
5
|
+
amount: number;
|
|
6
|
+
appliedOrderLines: IkasOrderAdjustmentAppliedOrderLine[] | null;
|
|
7
|
+
campaignId: string | null;
|
|
8
|
+
couponId: string | null;
|
|
9
|
+
name: string;
|
|
10
|
+
order: number;
|
|
11
|
+
amountType: IkasAmountType;
|
|
12
|
+
type: IkasAdjustmentType;
|
|
13
|
+
campaignType: IkasCampaignType | null;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export enum IkasAmountType {
|
|
17
|
+
AMOUNT = "AMOUNT",
|
|
18
|
+
RATIO = "RATIO",
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export enum IkasAdjustmentType {
|
|
22
|
+
DECREMENT = "DECREMENT",
|
|
23
|
+
INCREMENT = "INCREMENT",
|
|
24
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { IkasOrderAddress } from "./address";
|
|
2
|
+
import { IkasOrderShippingLine } from "./shipping-line";
|
|
3
|
+
import { IkasOrderLineItem } from "./line-item";
|
|
4
|
+
import { IkasOrderCustomer } from "./customer";
|
|
5
|
+
import { IkasOrderGiftPackageLine } from "./gift-line";
|
|
6
|
+
import { IkasInvoice } from "./invoice";
|
|
7
|
+
import { IkasOrderPaymentMethod } from "./payment-method";
|
|
8
|
+
import { IkasOrderAdjustment } from "./adjustment";
|
|
9
|
+
import { IkasOrderPackage } from "./package";
|
|
10
|
+
import { IkasOrderTaxLine } from "./tax-line";
|
|
11
|
+
import { IkasBaseModel } from "../base";
|
|
12
|
+
|
|
13
|
+
export type IkasOrder = {
|
|
14
|
+
billingAddress: IkasOrderAddress | null;
|
|
15
|
+
cancelReason: IkasOrderCancelReason | null;
|
|
16
|
+
cancelledAt: number | null;
|
|
17
|
+
currencyCode: string;
|
|
18
|
+
currencySymbol: string | null;
|
|
19
|
+
customer: IkasOrderCustomer | null;
|
|
20
|
+
customerId: string | null;
|
|
21
|
+
giftPackageLines: IkasOrderGiftPackageLine[] | null;
|
|
22
|
+
giftPackageNote: string | null;
|
|
23
|
+
invoices: IkasInvoice[] | null;
|
|
24
|
+
isGiftPackage: boolean | null;
|
|
25
|
+
note: string | null;
|
|
26
|
+
orderAdjustments: IkasOrderAdjustment[] | null;
|
|
27
|
+
orderLineItems: IkasOrderLineItem[];
|
|
28
|
+
orderNumber: string | null;
|
|
29
|
+
orderPackageStatus: IkasOrderPackageStatus | null;
|
|
30
|
+
orderPackages: IkasOrderPackage[] | null;
|
|
31
|
+
orderPaymentStatus: IkasOrderPaymentStatus | null;
|
|
32
|
+
orderedAt: number | null;
|
|
33
|
+
paymentMethods: IkasOrderPaymentMethod[] | null;
|
|
34
|
+
shippingAddress: IkasOrderAddress | null;
|
|
35
|
+
shippingLines: IkasOrderShippingLine[] | null;
|
|
36
|
+
shippingMethod: IkasOrderShippingMethod;
|
|
37
|
+
status: IkasOrderStatus;
|
|
38
|
+
taxLines: IkasOrderTaxLine[] | null;
|
|
39
|
+
totalFinalPrice: number;
|
|
40
|
+
totalPrice: number;
|
|
41
|
+
} & IkasBaseModel;
|
|
42
|
+
|
|
43
|
+
export enum IkasOrderCancelReason {
|
|
44
|
+
CUSTOMER = "CUSTOMER",
|
|
45
|
+
DECLINED = "DECLINED",
|
|
46
|
+
INVENTORY = "INVENTORY",
|
|
47
|
+
OTHER = "OTHER",
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export enum IkasOrderPackageStatus {
|
|
51
|
+
CANCELLED = "CANCELLED",
|
|
52
|
+
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
53
|
+
CANCEL_REQUESTED = "CANCEL_REQUESTED",
|
|
54
|
+
DELIVERED = "DELIVERED",
|
|
55
|
+
FULFILLED = "FULFILLED",
|
|
56
|
+
PARTIALLY_CANCELLED = "PARTIALLY_CANCELLED",
|
|
57
|
+
PARTIALLY_DELIVERED = "PARTIALLY_DELIVERED",
|
|
58
|
+
PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED",
|
|
59
|
+
PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
|
|
60
|
+
READY_FOR_PICK_UP = "READY_FOR_PICK_UP",
|
|
61
|
+
READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
|
|
62
|
+
REFUNDED = "REFUNDED",
|
|
63
|
+
REFUND_REJECTED = "REFUND_REJECTED",
|
|
64
|
+
REFUND_REQUESTED = "REFUND_REQUESTED",
|
|
65
|
+
REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
|
|
66
|
+
UNABLE_TO_DELIVER = "UNABLE_TO_DELIVER",
|
|
67
|
+
UNFULFILLED = "UNFULFILLED",
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export enum IkasOrderPaymentStatus {
|
|
71
|
+
PAID = "PAID",
|
|
72
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
73
|
+
WAITING = "WAITING",
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export enum IkasOrderStatus {
|
|
77
|
+
CANCELLED = "CANCELLED",
|
|
78
|
+
CREATED = "CREATED",
|
|
79
|
+
DRAFT = "DRAFT",
|
|
80
|
+
PARTIALLY_CANCELLED = "PARTIALLY_CANCELLED",
|
|
81
|
+
PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
|
|
82
|
+
REFUNDED = "REFUNDED",
|
|
83
|
+
REFUND_REJECTED = "REFUND_REJECTED",
|
|
84
|
+
REFUND_REQUESTED = "REFUND_REQUESTED",
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export enum IkasOrderShippingMethod {
|
|
88
|
+
CLICK_AND_COLLECT = "CLICK_AND_COLLECT",
|
|
89
|
+
NO_SHIPMENT = "NO_SHIPMENT",
|
|
90
|
+
SHIPMENT = "SHIPMENT",
|
|
91
|
+
DIGITAL_DELIVERY = "DIGITAL_DELIVERY",
|
|
92
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type IkasInvoice = {
|
|
2
|
+
appId: string;
|
|
3
|
+
appName: string;
|
|
4
|
+
createdAt: number | null;
|
|
5
|
+
id: string;
|
|
6
|
+
invoiceNumber: string;
|
|
7
|
+
storeAppId: string;
|
|
8
|
+
type: IkasInvoiceType;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export enum IkasInvoiceType {
|
|
12
|
+
COMPANY = "COMPANY",
|
|
13
|
+
INDIVIDUAL = "INDIVIDUAL",
|
|
14
|
+
OTHER = "OTHER",
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IkasOrderLineVariantUnitType } from "./unit-type";
|
|
2
|
+
|
|
3
|
+
export type IkasOrderLineBaseUnit = {
|
|
4
|
+
baseAmount: number;
|
|
5
|
+
type: IkasProductUnitType;
|
|
6
|
+
unit: IkasOrderLineVariantUnitType | null;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export enum IkasProductUnitType {
|
|
10
|
+
CENTILITER = "CENTILITER",
|
|
11
|
+
CENTIMETER = "CENTIMETER",
|
|
12
|
+
CUBIC_METERS = "CUBIC_METERS",
|
|
13
|
+
CUSTOM = "CUSTOM",
|
|
14
|
+
GRAM = "GRAM",
|
|
15
|
+
KILOGRAM = "KILOGRAM",
|
|
16
|
+
LITER = "LITER",
|
|
17
|
+
METER = "METER",
|
|
18
|
+
MILLIGRAM = "MILLIGRAM",
|
|
19
|
+
MILLILITER = "MILLILITER",
|
|
20
|
+
MILLIMETER = "MILLIMETER",
|
|
21
|
+
SQUARE_METERS = "SQUARE_METERS",
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IkasAmountType } from "../../adjustment";
|
|
2
|
+
|
|
3
|
+
export type IkasOrderLineDiscount = {
|
|
4
|
+
amount: number;
|
|
5
|
+
amountType: IkasAmountType;
|
|
6
|
+
campaignOfferId: string | null;
|
|
7
|
+
campaignOfferProductId: string | null;
|
|
8
|
+
maxApplicableQuantity: number | null;
|
|
9
|
+
reason: string | null;
|
|
10
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IkasOrderLineDiscount } from "./discount";
|
|
2
|
+
import { IkasOrderLineVariant } from "./variant";
|
|
3
|
+
import { IkasOrderLineItemOption } from "./option";
|
|
4
|
+
import { IkasBaseModel } from "../../base";
|
|
5
|
+
|
|
6
|
+
export type IkasOrderLineItem = {
|
|
7
|
+
currencyCode: string | null;
|
|
8
|
+
currencySymbol: string | null;
|
|
9
|
+
discount: IkasOrderLineDiscount | null;
|
|
10
|
+
discountPrice: number | null;
|
|
11
|
+
finalPrice: number | null;
|
|
12
|
+
finalUnitPrice: number | null;
|
|
13
|
+
options: IkasOrderLineItemOption[] | null;
|
|
14
|
+
originalOrderLineItemId: string | null;
|
|
15
|
+
price: number;
|
|
16
|
+
quantity: number;
|
|
17
|
+
status: IkasOrderLineItemStatus;
|
|
18
|
+
statusUpdatedAt: number | null;
|
|
19
|
+
stockLocationId: string | null;
|
|
20
|
+
taxValue: number | null;
|
|
21
|
+
unitPrice: number | null;
|
|
22
|
+
variant: IkasOrderLineVariant;
|
|
23
|
+
orderedAt: number;
|
|
24
|
+
} & IkasBaseModel;
|
|
25
|
+
|
|
26
|
+
export enum IkasOrderLineItemStatus {
|
|
27
|
+
CANCELLED = "CANCELLED",
|
|
28
|
+
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
29
|
+
CANCEL_REQUESTED = "CANCEL_REQUESTED",
|
|
30
|
+
DELIVERED = "DELIVERED",
|
|
31
|
+
FULFILLED = "FULFILLED",
|
|
32
|
+
REFUNDED = "REFUNDED",
|
|
33
|
+
REFUND_REJECTED = "REFUND_REJECTED",
|
|
34
|
+
REFUND_REQUESTED = "REFUND_REQUESTED",
|
|
35
|
+
REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
|
|
36
|
+
UNFULFILLED = "UNFULFILLED",
|
|
37
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IkasProductOptionType } from "../../../product/option-set/option";
|
|
2
|
+
import { IkasOrderLineItemOptionValue } from "./value";
|
|
3
|
+
|
|
4
|
+
export type IkasOrderLineItemOption = {
|
|
5
|
+
name: string;
|
|
6
|
+
productOptionId: string;
|
|
7
|
+
productOptionsSetId: string;
|
|
8
|
+
type: IkasProductOptionType;
|
|
9
|
+
values: IkasOrderLineItemOptionValue[];
|
|
10
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { IkasOrderLineVariantVariantValue } from "./value";
|
|
2
|
+
import { IkasOrderLineVariantBrand } from "./brand";
|
|
3
|
+
import { IkasOrderLineVariantCategory } from "./category";
|
|
4
|
+
import { IkasOrderLineVariantPrice } from "./price";
|
|
5
|
+
import { IkasImage } from "../../../image";
|
|
6
|
+
import { IkasOrderLineBaseUnit } from "../base-unit";
|
|
7
|
+
import { IkasOrderLineVariantUnit } from "./unit";
|
|
8
|
+
|
|
9
|
+
export type IkasOrderLineVariant = {
|
|
10
|
+
barcodeList: string[] | null;
|
|
11
|
+
baseUnit: IkasOrderLineBaseUnit | null;
|
|
12
|
+
brand: IkasOrderLineVariantBrand | null;
|
|
13
|
+
categories: IkasOrderLineVariantCategory[] | null;
|
|
14
|
+
id: string | null;
|
|
15
|
+
mainImageId: string | null;
|
|
16
|
+
name: string;
|
|
17
|
+
prices: IkasOrderLineVariantPrice[] | null;
|
|
18
|
+
productId: string | null;
|
|
19
|
+
sku: string | null;
|
|
20
|
+
slug: string | null;
|
|
21
|
+
tagIds: string[] | null;
|
|
22
|
+
taxValue: number | null;
|
|
23
|
+
type: number | null;
|
|
24
|
+
unit: IkasOrderLineVariantUnit | null;
|
|
25
|
+
weight: number | null;
|
|
26
|
+
variantValues: IkasOrderLineVariantVariantValue[] | null;
|
|
27
|
+
|
|
28
|
+
// Extra
|
|
29
|
+
mainImage?: IkasImage | null;
|
|
30
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IkasBaseModel } from "../../base";
|
|
2
|
+
import { IkasTrackingInfo } from "./tracking-info";
|
|
3
|
+
|
|
4
|
+
export type IkasOrderPackage = {
|
|
5
|
+
errorMessage: string | null;
|
|
6
|
+
note: string | null;
|
|
7
|
+
orderLineItemIds: string[];
|
|
8
|
+
orderPackageFulfillStatus: IkasOrderPackageFullfillStatus;
|
|
9
|
+
orderPackageNumber: string;
|
|
10
|
+
stockLocationId: string;
|
|
11
|
+
trackingInfo: IkasTrackingInfo | null;
|
|
12
|
+
} & IkasBaseModel;
|
|
13
|
+
|
|
14
|
+
export enum IkasOrderPackageFullfillStatus {
|
|
15
|
+
CANCELLED = "CANCELLED",
|
|
16
|
+
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
17
|
+
CANCEL_REQUESTED = "CANCEL_REQUESTED",
|
|
18
|
+
DELIVERED = "DELIVERED",
|
|
19
|
+
ERROR = "ERROR",
|
|
20
|
+
FULFILLED = "FULFILLED",
|
|
21
|
+
READY_FOR_PICK_UP = "READY_FOR_PICK_UP",
|
|
22
|
+
READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
|
|
23
|
+
REFUNDED = "REFUNDED",
|
|
24
|
+
REFUND_REJECTED = "REFUND_REJECTED",
|
|
25
|
+
REFUND_REQUESTED = "REFUND_REQUESTED",
|
|
26
|
+
REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
|
|
27
|
+
UNABLE_TO_DELIVER = "UNABLE_TO_DELIVER",
|
|
28
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IkasPaymentMethodType } from "../../payment-gateway";
|
|
2
|
+
|
|
3
|
+
export type IkasOrderPaymentMethod = {
|
|
4
|
+
paymentGatewayCode: string | null;
|
|
5
|
+
paymentGatewayId: string | null;
|
|
6
|
+
paymentGatewayName: string | null;
|
|
7
|
+
price: number;
|
|
8
|
+
type: IkasPaymentMethodType;
|
|
9
|
+
};
|