@ikas/storefront-models 4.0.0-alpha.8 → 4.0.0-alpha.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/_virtual/_tslib.js +1 -0
- package/{src/index.ts → build/index.d.ts} +172 -213
- package/build/index.js +1 -0
- package/build/models/base/index.d.ts +6 -0
- package/build/models/base/init.d.ts +6 -0
- package/build/models/base/init.js +1 -0
- package/{src/models/blog/category/index.ts → build/models/blog/category/index.d.ts} +9 -11
- package/build/models/blog/category/init.d.ts +11 -0
- package/build/models/blog/category/init.js +1 -0
- package/build/models/blog/content/index.d.ts +4 -0
- package/build/models/blog/index.d.ts +24 -0
- package/build/models/blog/init.d.ts +2 -0
- package/build/models/blog/init.js +1 -0
- package/build/models/blog/meta-data/index.d.ts +14 -0
- package/build/models/blog/meta-data/index.js +1 -0
- package/{src/models/blog/content/index.ts → build/models/blog/tag/index.d.ts} +4 -5
- package/build/models/blog/writer/index.d.ts +4 -0
- package/build/models/brand/index.d.ts +23 -0
- package/build/models/brand/index.js +1 -0
- package/build/models/brand/init.d.ts +2 -0
- package/build/models/brand/init.js +1 -0
- package/build/models/brand/translation/index.d.ts +5 -0
- package/build/models/campaign-offer/index.d.ts +37 -0
- package/build/models/campaign-offer/index.js +1 -0
- package/build/models/campaign-offer/product/index.d.ts +24 -0
- package/build/models/campaign-offer/product/index.js +1 -0
- package/build/models/cart/available-shipping-method/index.d.ts +12 -0
- package/build/models/cart/available-shipping-method/index.js +1 -0
- package/build/models/cart/campaign-offer/index.d.ts +19 -0
- package/build/models/cart/campaign-offer/index.js +1 -0
- package/build/models/cart/index.d.ts +11 -0
- package/build/models/category/index.d.ts +27 -0
- package/build/models/category/index.js +1 -0
- package/build/models/category/init.d.ts +2 -0
- package/build/models/category/init.js +1 -0
- package/build/models/category/path-item/index.d.ts +10 -0
- package/build/models/category/path-item/init.d.ts +2 -0
- package/build/models/category/path-item/init.js +1 -0
- package/build/models/category/translations/index.d.ts +5 -0
- package/build/models/checkout/index.d.ts +2 -0
- package/build/models/checkout-settings/index.d.ts +22 -0
- package/build/models/checkout-settings/index.js +1 -0
- package/build/models/checkout-settings/option/index.d.ts +4 -0
- package/build/models/checkout-settings/price/index.d.ts +5 -0
- package/build/models/city/index.d.ts +10 -0
- package/build/models/contact-form/index.d.ts +7 -0
- package/build/models/country/index.d.ts +16 -0
- package/build/models/country/init.d.ts +2 -0
- package/build/models/country/init.js +1 -0
- package/build/models/country/location-translations/index.d.ts +5 -0
- package/build/models/customer/address/city/index.d.ts +5 -0
- package/build/models/customer/address/country/index.d.ts +7 -0
- package/build/models/customer/address/district/index.d.ts +5 -0
- package/build/models/customer/address/index.d.ts +25 -0
- package/build/models/customer/address/state/index.d.ts +5 -0
- package/build/models/customer/attribute/index.d.ts +20 -0
- package/build/models/customer/attribute/index.js +1 -0
- package/build/models/customer/attribute/init.d.ts +2 -0
- package/build/models/customer/attribute/init.js +1 -0
- package/build/models/customer/attribute/option/index.d.ts +7 -0
- package/build/models/customer/attribute/sales-channel/index.d.ts +16 -0
- package/build/models/customer/attribute/sales-channel/index.js +1 -0
- package/build/models/customer/attribute/translation/index.d.ts +7 -0
- package/build/models/customer/attribute/translation/option/index.d.ts +4 -0
- package/build/models/customer/attribute/value/index.d.ts +9 -0
- package/build/models/customer/index.d.ts +43 -0
- package/build/models/customer/index.js +1 -0
- package/build/models/customer/review/index.d.ts +24 -0
- package/build/models/customer/review/index.js +1 -0
- package/build/models/customer/review/init.d.ts +2 -0
- package/build/models/customer/review/init.js +1 -0
- package/build/models/customer/review/settings/index.d.ts +4 -0
- package/build/models/customer/review/summary/index.d.ts +8 -0
- package/build/models/customer/review/summary/star/index.d.ts +4 -0
- package/build/models/customer-settings/index.d.ts +7 -0
- package/build/models/district/index.d.ts +10 -0
- package/build/models/favorite-product/index.d.ts +5 -0
- package/build/models/filter-category/index.d.ts +8 -0
- package/build/models/html-meta-data/index.d.ts +25 -0
- package/build/models/html-meta-data/index.js +1 -0
- package/build/models/html-meta-data/init.d.ts +3 -0
- package/build/models/html-meta-data/init.js +1 -0
- package/build/models/html-meta-data/translations/index.d.ts +5 -0
- package/build/models/image/index.d.ts +4 -0
- package/build/models/last-viewed-product/index.d.ts +4 -0
- package/build/models/merchant-settings/address/city/index.d.ts +5 -0
- package/build/models/merchant-settings/address/country/index.d.ts +7 -0
- package/build/models/merchant-settings/address/district/index.d.ts +5 -0
- package/build/models/merchant-settings/address/index.d.ts +21 -0
- package/build/models/merchant-settings/address/state/index.d.ts +5 -0
- package/build/models/merchant-settings/address/type/index.d.ts +4 -0
- package/build/models/merchant-settings/address/type/index.js +1 -0
- package/build/models/merchant-settings/index.d.ts +24 -0
- package/build/models/merchant-settings/index.js +1 -0
- package/build/models/merchant-settings/init.d.ts +2 -0
- package/build/models/merchant-settings/init.js +1 -0
- package/build/models/order/address/city/index.d.ts +5 -0
- package/build/models/order/address/country/index.d.ts +7 -0
- package/build/models/order/address/district/index.d.ts +5 -0
- package/build/models/order/address/index.d.ts +22 -0
- package/build/models/order/address/state/index.d.ts +5 -0
- package/build/models/order/adjustment/applied-order-line/index.d.ts +6 -0
- package/build/models/order/adjustment/index.d.ts +21 -0
- package/build/models/order/adjustment/index.js +1 -0
- package/build/models/order/customer/index.d.ts +9 -0
- package/build/models/order/gift-line/index.d.ts +4 -0
- package/build/models/order/index.d.ts +86 -0
- package/build/models/order/index.js +1 -0
- package/build/models/order/invoice/index.d.ts +14 -0
- package/build/models/order/invoice/index.js +1 -0
- package/build/models/order/line-item/base-unit/index.d.ts +20 -0
- package/build/models/order/line-item/base-unit/index.js +1 -0
- package/build/models/order/line-item/base-unit/unit-type/index.d.ts +4 -0
- package/build/models/order/line-item/discount/index.d.ts +9 -0
- package/build/models/order/line-item/index.d.ts +35 -0
- package/build/models/order/line-item/index.js +1 -0
- package/build/models/order/line-item/option/index.d.ts +9 -0
- package/build/models/order/line-item/option/value/index.d.ts +5 -0
- package/build/models/order/line-item/variant/brand/index.d.ts +4 -0
- package/build/models/order/line-item/variant/category/index.d.ts +9 -0
- package/build/models/order/line-item/variant/index.d.ts +27 -0
- package/build/models/order/line-item/variant/price/index.d.ts +8 -0
- package/build/models/order/line-item/variant/unit/index.d.ts +5 -0
- package/build/models/order/line-item/variant/value/index.d.ts +7 -0
- package/build/models/order/package/index.d.ts +26 -0
- package/build/models/order/package/index.js +1 -0
- package/build/models/order/package/tracking-info/index.d.ts +7 -0
- package/build/models/order/payment-method/index.d.ts +8 -0
- package/build/models/order/refund/index.d.ts +5 -0
- package/build/models/order/refund/line-item/index.d.ts +4 -0
- package/build/models/order/refund/settings/index.d.ts +5 -0
- package/build/models/order/shipping-line/index.d.ts +11 -0
- package/build/models/order/tax-line/index.d.ts +4 -0
- package/build/models/order/transaction/error/index.d.ts +5 -0
- package/build/models/order/transaction/index.d.ts +34 -0
- package/build/models/order/transaction/index.js +1 -0
- package/build/models/order/transaction/payment-method-detail/index.d.ts +22 -0
- package/build/models/order/transaction/payment-method-detail/index.js +1 -0
- package/build/models/order/transaction/payment-method-detail/installment-price/index.d.ts +7 -0
- package/build/models/payment-gateway/additional-price/index.d.ts +14 -0
- package/build/models/payment-gateway/additional-price/index.js +1 -0
- package/build/models/payment-gateway/index.d.ts +42 -0
- package/build/models/payment-gateway/index.js +1 -0
- package/build/models/payment-gateway/init.d.ts +2 -0
- package/build/models/payment-gateway/init.js +1 -0
- package/build/models/payment-gateway/settings/index.d.ts +11 -0
- package/build/models/payment-gateway/settings/index.js +1 -0
- package/build/models/payment-gateway/translation/index.d.ts +5 -0
- package/build/models/product/attribute/index.d.ts +24 -0
- package/build/models/product/attribute/index.js +1 -0
- package/build/models/product/attribute/init.d.ts +2 -0
- package/build/models/product/attribute/init.js +1 -0
- package/build/models/product/attribute/option/index.d.ts +4 -0
- package/build/models/product/attribute/table-cell/index.d.ts +4 -0
- package/build/models/product/attribute/table-template/index.d.ts +5 -0
- package/build/models/product/attribute/translation/index.d.ts +10 -0
- package/build/models/product/attribute-value/index.d.ts +21 -0
- package/build/models/product/attribute-value/init.d.ts +2 -0
- package/build/models/product/attribute-value/init.js +1 -0
- package/build/models/product/back-in-stock-settings/index.d.ts +3 -0
- package/build/models/product/base-unit/index.d.ts +10 -0
- package/build/models/product/campaign/data/index.d.ts +39 -0
- package/build/models/product/campaign/data/index.js +1 -0
- package/build/models/product/campaign/filter/index.d.ts +11 -0
- package/build/models/product/campaign/filter/index.js +1 -0
- package/build/models/product/campaign/index.d.ts +5 -0
- package/build/models/product/campaign/product-buyx-then-gety/index.d.ts +16 -0
- package/build/models/product/campaign/product-campaign-date-range-field/index.d.ts +4 -0
- package/build/models/product/campaign/product-fixed-discount/index.d.ts +11 -0
- package/build/models/product/filter/index.d.ts +83 -0
- package/build/models/product/filter/index.js +1 -0
- package/build/models/product/image/index.d.ts +8 -0
- package/build/models/product/image/init.d.ts +2 -0
- package/build/models/product/image/init.js +1 -0
- package/build/models/product/index.d.ts +41 -0
- package/build/models/product/index.js +1 -0
- package/build/models/product/init.d.ts +2 -0
- package/build/models/product/init.js +1 -0
- package/build/models/product/option-set/index.d.ts +21 -0
- package/build/models/product/option-set/init.d.ts +6 -0
- package/build/models/product/option-set/init.js +1 -0
- package/build/models/product/option-set/option/index.d.ts +70 -0
- package/build/models/product/option-set/option/index.js +1 -0
- package/build/models/product/option-set/option/init.d.ts +2 -0
- package/build/models/product/option-set/option/init.js +1 -0
- package/build/models/product/tag/index.d.ts +4 -0
- package/build/models/product/variant/index.d.ts +21 -0
- package/build/models/product/variant/init.d.ts +2 -0
- package/build/models/product/variant/init.js +1 -0
- package/build/models/product/variant/price/index.d.ts +9 -0
- package/build/models/product/variant/unit/index.d.ts +5 -0
- package/build/models/product/variant-type/index.d.ts +6 -0
- package/build/models/product/variant-type/init.d.ts +2 -0
- package/build/models/product/variant-type/init.js +1 -0
- package/build/models/product-option-file/index.d.ts +5 -0
- package/build/models/raffle/index.d.ts +68 -0
- package/build/models/raffle/index.js +1 -0
- package/build/models/raffle/init.d.ts +2 -0
- package/build/models/raffle/init.js +1 -0
- package/build/models/sales-channel/index.d.ts +15 -0
- package/build/models/state/index.d.ts +6 -0
- package/build/models/stock-location/address/city/index.d.ts +5 -0
- package/build/models/stock-location/address/country/index.d.ts +5 -0
- package/build/models/stock-location/address/district/index.d.ts +5 -0
- package/build/models/stock-location/address/index.d.ts +13 -0
- package/build/models/stock-location/address/state/index.d.ts +5 -0
- package/build/models/stock-location/available/index.d.ts +8 -0
- package/build/models/stock-location/index.d.ts +23 -0
- package/build/models/stock-location/index.js +1 -0
- package/build/models/storefront/domain/index.d.ts +7 -0
- package/build/models/storefront/index.d.ts +30 -0
- package/build/models/storefront/index.js +1 -0
- package/build/models/storefront/localization/index.d.ts +6 -0
- package/build/models/storefront/meta-templates/index.d.ts +14 -0
- package/build/models/storefront/meta-templates/index.js +1 -0
- package/build/models/storefront/routing/dynamic-currency/index.d.ts +4 -0
- package/build/models/storefront/routing/index.d.ts +12 -0
- package/build/models/storefront/theme/index.d.ts +12 -0
- package/build/models/storefront/theme/index.js +1 -0
- package/build/models/storefront/theme-localization/index.d.ts +13 -0
- package/build/models/theme-json/component/index.d.ts +18 -0
- package/build/models/theme-json/component/prop/index.d.ts +61 -0
- package/build/models/theme-json/component/prop/index.js +1 -0
- package/build/models/theme-json/custom-data/index.d.ts +37 -0
- package/build/models/theme-json/index.d.ts +11 -0
- package/build/models/theme-json/page/component/index.d.ts +5 -0
- package/build/models/theme-json/page/index.d.ts +43 -0
- package/build/models/theme-json/page/index.js +1 -0
- package/build/models/theme-json/settings/color/index.d.ts +12 -0
- package/build/models/theme-json/settings/favicon/index.d.ts +3 -0
- package/build/models/theme-json/settings/font-family/index.d.ts +4 -0
- package/build/models/theme-json/settings/index.d.ts +14 -0
- package/build/models/theme-json/settings/index.js +1 -0
- package/build/models/variant-type/index.d.ts +21 -0
- package/build/models/variant-type/index.js +1 -0
- package/build/models/variant-type/init.d.ts +2 -0
- package/build/models/variant-type/init.js +1 -0
- package/build/models/variant-type/variant-value/index.d.ts +9 -0
- package/build/models/variant-type/variant-value/init.d.ts +2 -0
- package/build/models/variant-type/variant-value/init.js +1 -0
- package/build-cjs/_virtual/_tslib.js +0 -1
- package/build-cjs/index.d.ts +16 -0
- package/build-cjs/index.js +1 -2
- package/build-cjs/models/base/init.js +0 -1
- package/build-cjs/models/blog/category/init.js +0 -1
- package/build-cjs/models/blog/init.js +0 -1
- package/build-cjs/models/blog/meta-data/index.js +0 -1
- package/build-cjs/models/brand/index.js +0 -1
- package/build-cjs/models/brand/init.js +0 -1
- package/build-cjs/models/campaign-offer/index.js +0 -1
- package/build-cjs/models/campaign-offer/product/index.js +0 -1
- package/build-cjs/models/cart/available-shipping-method/index.js +0 -1
- package/build-cjs/models/cart/campaign-offer/index.js +0 -1
- package/build-cjs/models/category/index.js +0 -1
- package/build-cjs/models/category/init.js +1 -2
- package/build-cjs/models/category/init.js.map +1 -1
- package/build-cjs/models/category/path-item/index.d.ts +2 -0
- package/build-cjs/models/category/path-item/init.d.ts +2 -0
- package/build-cjs/models/category/path-item/init.js +1 -0
- package/build-cjs/models/category/path-item/init.js.map +1 -0
- package/build-cjs/models/checkout-settings/index.js +0 -1
- package/build-cjs/models/checkout-settings/price/index.d.ts +1 -0
- package/build-cjs/models/country/index.d.ts +2 -0
- package/build-cjs/models/country/init.d.ts +2 -0
- package/build-cjs/models/country/init.js +1 -0
- package/build-cjs/models/country/init.js.map +1 -0
- package/build-cjs/models/country/location-translations/index.d.ts +5 -0
- package/build-cjs/models/customer/attribute/index.js +0 -1
- package/build-cjs/models/customer/attribute/init.js +0 -1
- package/build-cjs/models/customer/attribute/sales-channel/index.js +0 -1
- package/build-cjs/models/customer/index.js +0 -1
- package/build-cjs/models/customer/review/index.js +0 -1
- package/build-cjs/models/customer/review/init.js +0 -1
- package/build-cjs/models/customer-settings/index.d.ts +7 -0
- package/build-cjs/models/html-meta-data/index.js +0 -1
- package/build-cjs/models/html-meta-data/init.js +0 -1
- package/build-cjs/models/merchant-settings/address/city/index.d.ts +5 -0
- package/build-cjs/models/merchant-settings/address/country/index.d.ts +7 -0
- package/build-cjs/models/merchant-settings/address/district/index.d.ts +5 -0
- package/build-cjs/models/merchant-settings/address/index.d.ts +21 -0
- package/build-cjs/models/merchant-settings/address/state/index.d.ts +5 -0
- package/build-cjs/models/merchant-settings/address/type/index.d.ts +4 -0
- package/build-cjs/models/merchant-settings/address/type/index.js +1 -0
- package/build-cjs/models/merchant-settings/address/type/index.js.map +1 -0
- package/build-cjs/models/merchant-settings/index.d.ts +3 -0
- package/build-cjs/models/merchant-settings/index.js +0 -1
- package/build-cjs/models/merchant-settings/index.js.map +1 -1
- package/build-cjs/models/merchant-settings/init.js +0 -1
- package/build-cjs/models/order/adjustment/index.js +0 -1
- package/build-cjs/models/order/index.d.ts +3 -1
- package/build-cjs/models/order/index.js +1 -2
- package/build-cjs/models/order/index.js.map +1 -1
- package/build-cjs/models/order/invoice/index.js +0 -1
- package/build-cjs/models/order/line-item/base-unit/index.d.ts +20 -0
- package/build-cjs/models/order/line-item/base-unit/index.js +1 -0
- package/build-cjs/models/order/line-item/base-unit/index.js.map +1 -0
- package/build-cjs/models/order/line-item/base-unit/unit-type/index.d.ts +4 -0
- package/build-cjs/models/order/line-item/index.d.ts +3 -0
- package/build-cjs/models/order/line-item/index.js +0 -1
- package/build-cjs/models/order/line-item/index.js.map +1 -1
- package/build-cjs/models/order/line-item/variant/index.d.ts +4 -0
- package/build-cjs/models/order/line-item/variant/price/index.d.ts +1 -0
- package/build-cjs/models/order/line-item/variant/unit/index.d.ts +5 -0
- package/build-cjs/models/order/package/index.js +0 -1
- package/build-cjs/models/order/transaction/index.d.ts +1 -1
- package/build-cjs/models/order/transaction/index.js +0 -1
- package/build-cjs/models/order/transaction/index.js.map +1 -1
- package/build-cjs/models/order/transaction/payment-method-detail/index.js +0 -1
- package/build-cjs/models/payment-gateway/additional-price/index.js +0 -1
- package/build-cjs/models/payment-gateway/index.js +0 -1
- package/build-cjs/models/payment-gateway/init.js +0 -1
- package/build-cjs/models/payment-gateway/settings/index.js +0 -1
- package/build-cjs/models/product/attribute/index.d.ts +3 -1
- package/build-cjs/models/product/attribute/index.js +1 -2
- package/build-cjs/models/product/attribute/index.js.map +1 -1
- package/build-cjs/models/product/attribute/init.js +0 -1
- package/build-cjs/models/product/attribute-value/init.js +0 -1
- package/build-cjs/models/product/base-unit/index.d.ts +10 -0
- package/build-cjs/models/product/campaign/data/index.js +0 -1
- package/build-cjs/models/product/campaign/filter/index.js +0 -1
- package/build-cjs/models/product/filter/index.d.ts +3 -1
- package/build-cjs/models/product/filter/index.js +1 -2
- package/build-cjs/models/product/filter/index.js.map +1 -1
- package/build-cjs/models/product/image/init.js +0 -1
- package/build-cjs/models/product/index.d.ts +2 -0
- package/build-cjs/models/product/index.js +0 -1
- package/build-cjs/models/product/index.js.map +1 -1
- package/build-cjs/models/product/init.js +0 -1
- package/build-cjs/models/product/option-set/init.js +0 -1
- package/build-cjs/models/product/option-set/option/index.js +0 -1
- package/build-cjs/models/product/option-set/option/init.js +0 -1
- package/build-cjs/models/product/variant/index.d.ts +2 -0
- package/build-cjs/models/product/variant/init.js +0 -1
- package/build-cjs/models/product/variant/price/index.d.ts +2 -0
- package/build-cjs/models/product/variant/unit/index.d.ts +5 -0
- package/build-cjs/models/product/variant-type/index.d.ts +1 -0
- package/build-cjs/models/product/variant-type/init.js +0 -1
- package/build-cjs/models/product-option-file/index.d.ts +5 -0
- package/build-cjs/models/raffle/index.d.ts +9 -3
- package/build-cjs/models/raffle/index.js +1 -2
- package/build-cjs/models/raffle/index.js.map +1 -1
- package/build-cjs/models/raffle/init.js +0 -1
- package/build-cjs/models/stock-location/index.js +0 -1
- package/build-cjs/models/storefront/index.d.ts +4 -0
- package/build-cjs/models/storefront/index.js +0 -1
- package/build-cjs/models/storefront/index.js.map +1 -1
- package/build-cjs/models/storefront/meta-templates/index.d.ts +14 -0
- package/build-cjs/models/storefront/meta-templates/index.js +1 -0
- package/build-cjs/models/storefront/routing/index.d.ts +2 -0
- package/build-cjs/models/storefront/theme/index.js +0 -1
- package/build-cjs/models/storefront/theme-localization/index.d.ts +2 -0
- package/build-cjs/models/theme-json/component/index.d.ts +4 -3
- package/build-cjs/models/theme-json/component/prop/index.d.ts +4 -3
- package/build-cjs/models/theme-json/component/prop/index.js +0 -1
- package/build-cjs/models/theme-json/page/index.js +0 -1
- package/build-cjs/models/theme-json/settings/index.js +0 -1
- package/build-cjs/models/variant-type/index.js +0 -1
- package/build-cjs/models/variant-type/init.js +0 -1
- package/build-cjs/models/variant-type/variant-value/init.js +0 -1
- package/package.json +9 -3
- package/src/models/base/index.ts +0 -6
- package/src/models/base/init.ts +0 -14
- package/src/models/blog/category/init.ts +0 -33
- package/src/models/blog/index.ts +0 -26
- package/src/models/blog/init.ts +0 -7
- package/src/models/blog/meta-data/index.ts +0 -16
- package/src/models/blog/tag/index.ts +0 -5
- package/src/models/blog/writer/index.ts +0 -4
- package/src/models/brand/index.ts +0 -26
- package/src/models/brand/init.ts +0 -27
- package/src/models/brand/translation/index.ts +0 -5
- package/src/models/campaign-offer/index.ts +0 -43
- package/src/models/campaign-offer/product/index.ts +0 -27
- package/src/models/cart/available-shipping-method/index.ts +0 -13
- package/src/models/cart/campaign-offer/index.ts +0 -24
- package/src/models/cart/index.ts +0 -12
- package/src/models/category/index.ts +0 -30
- package/src/models/category/init.ts +0 -33
- package/src/models/category/path-item/index.ts +0 -9
- package/src/models/category/translations/index.ts +0 -5
- package/src/models/checkout/index.ts +0 -3
- package/src/models/checkout-settings/index.ts +0 -24
- package/src/models/checkout-settings/option/index.ts +0 -4
- package/src/models/checkout-settings/price/index.ts +0 -4
- package/src/models/city/index.ts +0 -11
- package/src/models/contact-form/index.ts +0 -7
- package/src/models/country/index.ts +0 -15
- package/src/models/customer/address/city/index.ts +0 -5
- package/src/models/customer/address/country/index.ts +0 -7
- package/src/models/customer/address/district/index.ts +0 -5
- package/src/models/customer/address/index.tsx +0 -27
- package/src/models/customer/address/state/index.ts +0 -5
- package/src/models/customer/attribute/index.ts +0 -22
- package/src/models/customer/attribute/init.ts +0 -34
- package/src/models/customer/attribute/option/index.ts +0 -7
- package/src/models/customer/attribute/sales-channel/index.ts +0 -18
- package/src/models/customer/attribute/translation/index.ts +0 -8
- package/src/models/customer/attribute/translation/option/index.ts +0 -4
- package/src/models/customer/attribute/value/index.ts +0 -12
- package/src/models/customer/index.ts +0 -48
- package/src/models/customer/review/index.ts +0 -28
- package/src/models/customer/review/init.ts +0 -7
- package/src/models/customer/review/settings/index.ts +0 -4
- package/src/models/customer/review/summary/index.ts +0 -9
- package/src/models/customer/review/summary/star/index.ts +0 -4
- package/src/models/district/index.ts +0 -11
- package/src/models/favorite-product/index.ts +0 -6
- package/src/models/filter-category/index.ts +0 -9
- package/src/models/html-meta-data/index.ts +0 -28
- package/src/models/html-meta-data/init.ts +0 -27
- package/src/models/html-meta-data/translations/index.ts +0 -5
- package/src/models/image/index.ts +0 -4
- package/src/models/last-viewed-product/index.ts +0 -4
- package/src/models/merchant-settings/index.ts +0 -25
- package/src/models/merchant-settings/init.ts +0 -7
- package/src/models/order/address/city/index.ts +0 -5
- package/src/models/order/address/country/index.ts +0 -7
- package/src/models/order/address/district/index.ts +0 -5
- package/src/models/order/address/index.ts +0 -25
- package/src/models/order/address/state/index.ts +0 -5
- package/src/models/order/adjustment/applied-order-line/index.ts +0 -6
- package/src/models/order/adjustment/index.ts +0 -24
- package/src/models/order/customer/index.ts +0 -9
- package/src/models/order/gift-line/index.ts +0 -4
- package/src/models/order/index.ts +0 -90
- package/src/models/order/invoice/index.ts +0 -15
- package/src/models/order/line-item/discount/index.ts +0 -10
- package/src/models/order/line-item/index.ts +0 -34
- package/src/models/order/line-item/option/index.ts +0 -10
- package/src/models/order/line-item/option/value/index.ts +0 -5
- package/src/models/order/line-item/variant/brand/index.ts +0 -4
- package/src/models/order/line-item/variant/category/index.ts +0 -10
- package/src/models/order/line-item/variant/index.ts +0 -26
- package/src/models/order/line-item/variant/price/index.ts +0 -7
- package/src/models/order/line-item/variant/value/index.ts +0 -7
- package/src/models/order/package/index.ts +0 -28
- package/src/models/order/package/tracking-info/index.ts +0 -7
- package/src/models/order/payment-method/index.ts +0 -9
- package/src/models/order/refund/index.ts +0 -6
- package/src/models/order/refund/line-item/index.ts +0 -4
- package/src/models/order/refund/settings/index.ts +0 -5
- package/src/models/order/shipping-line/index.ts +0 -12
- package/src/models/order/tax-line/index.ts +0 -4
- package/src/models/order/transaction/error/index.ts +0 -5
- package/src/models/order/transaction/index.ts +0 -39
- package/src/models/order/transaction/payment-method-detail/index.ts +0 -25
- package/src/models/order/transaction/payment-method-detail/installment-price/index.ts +0 -7
- package/src/models/payment-gateway/additional-price/index.ts +0 -16
- package/src/models/payment-gateway/index.ts +0 -47
- package/src/models/payment-gateway/init.ts +0 -26
- package/src/models/payment-gateway/settings/index.ts +0 -12
- package/src/models/payment-gateway/translation/index.ts +0 -5
- package/src/models/product/attribute/index.ts +0 -24
- package/src/models/product/attribute/init.ts +0 -34
- package/src/models/product/attribute/option/index.ts +0 -4
- package/src/models/product/attribute/table-cell/index.ts +0 -4
- package/src/models/product/attribute/table-template/index.ts +0 -6
- package/src/models/product/attribute/translation/index.ts +0 -11
- package/src/models/product/attribute-value/index.ts +0 -26
- package/src/models/product/attribute-value/init.ts +0 -7
- package/src/models/product/back-in-stock-settings/index.ts +0 -3
- package/src/models/product/campaign/data/index.ts +0 -43
- package/src/models/product/campaign/filter/index.ts +0 -12
- package/src/models/product/campaign/index.ts +0 -6
- package/src/models/product/campaign/product-buyx-then-gety/index.ts +0 -19
- package/src/models/product/campaign/product-campaign-date-range-field/index.ts +0 -4
- package/src/models/product/campaign/product-fixed-discount/index.ts +0 -13
- package/src/models/product/filter/index.ts +0 -96
- package/src/models/product/image/index.ts +0 -10
- package/src/models/product/image/init.ts +0 -7
- package/src/models/product/index.ts +0 -43
- package/src/models/product/init.ts +0 -16
- package/src/models/product/option-set/index.ts +0 -25
- package/src/models/product/option-set/init.ts +0 -77
- package/src/models/product/option-set/option/index.ts +0 -81
- package/src/models/product/option-set/option/init.ts +0 -13
- package/src/models/product/tag/index.ts +0 -4
- package/src/models/product/variant/index.ts +0 -20
- package/src/models/product/variant/init.ts +0 -10
- package/src/models/product/variant/price/index.ts +0 -7
- package/src/models/product/variant-type/index.ts +0 -6
- package/src/models/product/variant-type/init.ts +0 -15
- package/src/models/raffle/index.ts +0 -70
- package/src/models/raffle/init.ts +0 -6
- package/src/models/sales-channel/index.ts +0 -17
- package/src/models/state/index.ts +0 -7
- package/src/models/stock-location/address/city/index.ts +0 -5
- package/src/models/stock-location/address/country/index.ts +0 -5
- package/src/models/stock-location/address/district/index.ts +0 -5
- package/src/models/stock-location/address/index.ts +0 -14
- package/src/models/stock-location/address/state/index.ts +0 -5
- package/src/models/stock-location/available/index.ts +0 -9
- package/src/models/stock-location/index.ts +0 -26
- package/src/models/storefront/domain/index.ts +0 -7
- package/src/models/storefront/index.ts +0 -30
- package/src/models/storefront/localization/index.tsx +0 -6
- package/src/models/storefront/routing/dynamic-currency/index.ts +0 -4
- package/src/models/storefront/routing/index.tsx +0 -11
- package/src/models/storefront/theme/index.tsx +0 -13
- package/src/models/storefront/theme-localization/index.tsx +0 -13
- package/src/models/theme-json/component/index.ts +0 -19
- package/src/models/theme-json/component/prop/index.ts +0 -65
- package/src/models/theme-json/custom-data/index.ts +0 -46
- package/src/models/theme-json/index.ts +0 -12
- package/src/models/theme-json/page/component/index.ts +0 -11
- package/src/models/theme-json/page/index.ts +0 -46
- package/src/models/theme-json/settings/color/index.ts +0 -13
- package/src/models/theme-json/settings/favicon/index.ts +0 -3
- package/src/models/theme-json/settings/font-family/index.ts +0 -4
- package/src/models/theme-json/settings/index.ts +0 -16
- package/src/models/variant-type/index.ts +0 -25
- package/src/models/variant-type/init.ts +0 -37
- package/src/models/variant-type/variant-value/index.ts +0 -12
- package/src/models/variant-type/variant-value/init.ts +0 -5
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IkasMerchantAddressCity } from "./city";
|
|
2
|
+
import { IkasMerchantAddressCountry } from "./country";
|
|
3
|
+
import { IkasMerchantAddressDistrict } from "./district";
|
|
4
|
+
import { IkasMerchantAddressState } from "./state";
|
|
5
|
+
import { IkasMerchantSettingsAddressTypeEnum } from "./type";
|
|
6
|
+
export declare type IkasMerchantAddress = {
|
|
7
|
+
addressLine1: string | null;
|
|
8
|
+
addressLine2: string | null;
|
|
9
|
+
city: IkasMerchantAddressCity | null;
|
|
10
|
+
country: IkasMerchantAddressCountry | null;
|
|
11
|
+
district: IkasMerchantAddressDistrict | null;
|
|
12
|
+
firstName: string | null;
|
|
13
|
+
identityNumber: string | null;
|
|
14
|
+
lastName: string | null;
|
|
15
|
+
postalCode: string | null;
|
|
16
|
+
state: IkasMerchantAddressState | null;
|
|
17
|
+
taxOffice: string | null;
|
|
18
|
+
title: string | null;
|
|
19
|
+
type: IkasMerchantSettingsAddressTypeEnum | null;
|
|
20
|
+
vkn: string | null;
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var I;!function(I){I.CORPORATE="CORPORATE",I.INDIVIDUAL="INDIVIDUAL"}(I||(I={}));export{I as IkasMerchantSettingsAddressTypeEnum};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IkasImage } from "../image";
|
|
2
|
+
import { IkasMerchantAddress } from "./address";
|
|
3
|
+
export declare type IkasMerchantSettings = {
|
|
4
|
+
address: IkasMerchantAddress | null;
|
|
5
|
+
currencyFormats: IkasMerchantSettingsCurrencyFormat[] | null;
|
|
6
|
+
logoId: string | null;
|
|
7
|
+
merchantId: string;
|
|
8
|
+
merchantName: string;
|
|
9
|
+
phone: string | null;
|
|
10
|
+
logo?: IkasImage | null;
|
|
11
|
+
};
|
|
12
|
+
export declare type IkasMerchantSettingsCurrencyFormat = {
|
|
13
|
+
currencyCode: string;
|
|
14
|
+
decimalSeparator: string;
|
|
15
|
+
symbol: string;
|
|
16
|
+
symbolPosition: IkasMerchantSettingsCurrencyFormatSymbolPosition;
|
|
17
|
+
thousandSeparator: string;
|
|
18
|
+
omitZeroDecimal: boolean;
|
|
19
|
+
};
|
|
20
|
+
declare enum IkasMerchantSettingsCurrencyFormatSymbolPosition {
|
|
21
|
+
LEFT = "LEFT",
|
|
22
|
+
RIGHT = "RIGHT"
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var T;!function(T){T.LEFT="LEFT",T.RIGHT="RIGHT"}(T||(T={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function o(o){o.logo=o.logoId?{id:o.logoId,isVideo:!1}:null}export{o as initIkasMerchantSettings};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IkasOrderAddressCity } from "./city";
|
|
2
|
+
import { IkasOrderAddressCountry } from "./country";
|
|
3
|
+
import { IkasOrderAddressDistrict } from "./district";
|
|
4
|
+
import { IkasOrderAddressState } from "./state";
|
|
5
|
+
export declare type IkasOrderAddress = {
|
|
6
|
+
addressLine1: string;
|
|
7
|
+
addressLine2: string | null;
|
|
8
|
+
company: string | null;
|
|
9
|
+
firstName: string;
|
|
10
|
+
id: string | null;
|
|
11
|
+
identityNumber: string | null;
|
|
12
|
+
isDefault: boolean;
|
|
13
|
+
lastName: string;
|
|
14
|
+
phone: string | null;
|
|
15
|
+
postalCode: string | null;
|
|
16
|
+
taxNumber: string | null;
|
|
17
|
+
taxOffice: string | null;
|
|
18
|
+
country: IkasOrderAddressCountry | null;
|
|
19
|
+
state: IkasOrderAddressState | null;
|
|
20
|
+
city: IkasOrderAddressCity | null;
|
|
21
|
+
district: IkasOrderAddressDistrict | null;
|
|
22
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IkasCampaignType } from "../../../models/product/campaign/data";
|
|
2
|
+
import { IkasOrderAdjustmentAppliedOrderLine } from "./applied-order-line";
|
|
3
|
+
export declare type IkasOrderAdjustment = {
|
|
4
|
+
amount: number;
|
|
5
|
+
appliedOrderLines: IkasOrderAdjustmentAppliedOrderLine[] | null;
|
|
6
|
+
campaignId: string | null;
|
|
7
|
+
couponId: string | null;
|
|
8
|
+
name: string;
|
|
9
|
+
order: number;
|
|
10
|
+
amountType: IkasAmountType;
|
|
11
|
+
type: IkasAdjustmentType;
|
|
12
|
+
campaignType: IkasCampaignType | null;
|
|
13
|
+
};
|
|
14
|
+
export declare enum IkasAmountType {
|
|
15
|
+
AMOUNT = "AMOUNT",
|
|
16
|
+
RATIO = "RATIO"
|
|
17
|
+
}
|
|
18
|
+
export declare enum IkasAdjustmentType {
|
|
19
|
+
DECREMENT = "DECREMENT",
|
|
20
|
+
INCREMENT = "INCREMENT"
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var E,N;!function(E){E.AMOUNT="AMOUNT",E.RATIO="RATIO"}(E||(E={})),function(E){E.DECREMENT="DECREMENT",E.INCREMENT="INCREMENT"}(N||(N={}));export{N as IkasAdjustmentType,E as IkasAmountType};
|
|
@@ -0,0 +1,86 @@
|
|
|
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
|
+
export declare type IkasOrder = {
|
|
13
|
+
billingAddress: IkasOrderAddress | null;
|
|
14
|
+
cancelReason: IkasOrderCancelReason | null;
|
|
15
|
+
cancelledAt: number | null;
|
|
16
|
+
currencyCode: string;
|
|
17
|
+
currencySymbol: string | null;
|
|
18
|
+
customer: IkasOrderCustomer | null;
|
|
19
|
+
customerId: string | null;
|
|
20
|
+
giftPackageLines: IkasOrderGiftPackageLine[] | null;
|
|
21
|
+
giftPackageNote: string | null;
|
|
22
|
+
invoices: IkasInvoice[] | null;
|
|
23
|
+
isGiftPackage: boolean | null;
|
|
24
|
+
note: string | null;
|
|
25
|
+
orderAdjustments: IkasOrderAdjustment[] | null;
|
|
26
|
+
orderLineItems: IkasOrderLineItem[];
|
|
27
|
+
orderNumber: string | null;
|
|
28
|
+
orderPackageStatus: IkasOrderPackageStatus | null;
|
|
29
|
+
orderPackages: IkasOrderPackage[] | null;
|
|
30
|
+
orderPaymentStatus: IkasOrderPaymentStatus | null;
|
|
31
|
+
orderedAt: number | null;
|
|
32
|
+
paymentMethods: IkasOrderPaymentMethod[] | null;
|
|
33
|
+
shippingAddress: IkasOrderAddress | null;
|
|
34
|
+
shippingLines: IkasOrderShippingLine[] | null;
|
|
35
|
+
shippingMethod: IkasOrderShippingMethod;
|
|
36
|
+
status: IkasOrderStatus;
|
|
37
|
+
taxLines: IkasOrderTaxLine[] | null;
|
|
38
|
+
totalFinalPrice: number;
|
|
39
|
+
totalPrice: number;
|
|
40
|
+
} & IkasBaseModel;
|
|
41
|
+
export declare enum IkasOrderCancelReason {
|
|
42
|
+
CUSTOMER = "CUSTOMER",
|
|
43
|
+
DECLINED = "DECLINED",
|
|
44
|
+
INVENTORY = "INVENTORY",
|
|
45
|
+
OTHER = "OTHER"
|
|
46
|
+
}
|
|
47
|
+
export declare enum IkasOrderPackageStatus {
|
|
48
|
+
CANCELLED = "CANCELLED",
|
|
49
|
+
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
50
|
+
CANCEL_REQUESTED = "CANCEL_REQUESTED",
|
|
51
|
+
DELIVERED = "DELIVERED",
|
|
52
|
+
FULFILLED = "FULFILLED",
|
|
53
|
+
PARTIALLY_CANCELLED = "PARTIALLY_CANCELLED",
|
|
54
|
+
PARTIALLY_DELIVERED = "PARTIALLY_DELIVERED",
|
|
55
|
+
PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED",
|
|
56
|
+
PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
|
|
57
|
+
READY_FOR_PICK_UP = "READY_FOR_PICK_UP",
|
|
58
|
+
READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
|
|
59
|
+
REFUNDED = "REFUNDED",
|
|
60
|
+
REFUND_REJECTED = "REFUND_REJECTED",
|
|
61
|
+
REFUND_REQUESTED = "REFUND_REQUESTED",
|
|
62
|
+
REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
|
|
63
|
+
UNABLE_TO_DELIVER = "UNABLE_TO_DELIVER",
|
|
64
|
+
UNFULFILLED = "UNFULFILLED"
|
|
65
|
+
}
|
|
66
|
+
export declare enum IkasOrderPaymentStatus {
|
|
67
|
+
PAID = "PAID",
|
|
68
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
69
|
+
WAITING = "WAITING"
|
|
70
|
+
}
|
|
71
|
+
export declare enum IkasOrderStatus {
|
|
72
|
+
CANCELLED = "CANCELLED",
|
|
73
|
+
CREATED = "CREATED",
|
|
74
|
+
DRAFT = "DRAFT",
|
|
75
|
+
PARTIALLY_CANCELLED = "PARTIALLY_CANCELLED",
|
|
76
|
+
PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
|
|
77
|
+
REFUNDED = "REFUNDED",
|
|
78
|
+
REFUND_REJECTED = "REFUND_REJECTED",
|
|
79
|
+
REFUND_REQUESTED = "REFUND_REQUESTED"
|
|
80
|
+
}
|
|
81
|
+
export declare enum IkasOrderShippingMethod {
|
|
82
|
+
CLICK_AND_COLLECT = "CLICK_AND_COLLECT",
|
|
83
|
+
NO_SHIPMENT = "NO_SHIPMENT",
|
|
84
|
+
SHIPMENT = "SHIPMENT",
|
|
85
|
+
DIGITAL_DELIVERY = "DIGITAL_DELIVERY"
|
|
86
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var E,D,L,R,A;!function(E){E.CUSTOMER="CUSTOMER",E.DECLINED="DECLINED",E.INVENTORY="INVENTORY",E.OTHER="OTHER"}(E||(E={})),function(E){E.CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.FULFILLED="FULFILLED",E.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",E.PARTIALLY_DELIVERED="PARTIALLY_DELIVERED",E.PARTIALLY_FULFILLED="PARTIALLY_FULFILLED",E.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",E.READY_FOR_PICK_UP="READY_FOR_PICK_UP",E.READY_FOR_SHIPMENT="READY_FOR_SHIPMENT",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNABLE_TO_DELIVER="UNABLE_TO_DELIVER",E.UNFULFILLED="UNFULFILLED"}(D||(D={})),function(E){E.PAID="PAID",E.PARTIALLY_PAID="PARTIALLY_PAID",E.WAITING="WAITING"}(L||(L={})),function(E){E.CANCELLED="CANCELLED",E.CREATED="CREATED",E.DRAFT="DRAFT",E.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",E.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED"}(R||(R={})),function(E){E.CLICK_AND_COLLECT="CLICK_AND_COLLECT",E.NO_SHIPMENT="NO_SHIPMENT",E.SHIPMENT="SHIPMENT",E.DIGITAL_DELIVERY="DIGITAL_DELIVERY"}(A||(A={}));export{E as IkasOrderCancelReason,D as IkasOrderPackageStatus,L as IkasOrderPaymentStatus,A as IkasOrderShippingMethod,R as IkasOrderStatus};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare 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
|
+
export declare enum IkasInvoiceType {
|
|
11
|
+
COMPANY = "COMPANY",
|
|
12
|
+
INDIVIDUAL = "INDIVIDUAL",
|
|
13
|
+
OTHER = "OTHER"
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var I;!function(I){I.COMPANY="COMPANY",I.INDIVIDUAL="INDIVIDUAL",I.OTHER="OTHER"}(I||(I={}));export{I as IkasInvoiceType};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IkasOrderLineVariantUnitType } from "./unit-type";
|
|
2
|
+
export declare type IkasOrderLineBaseUnit = {
|
|
3
|
+
baseAmount: number;
|
|
4
|
+
type: IkasProductUnitType;
|
|
5
|
+
unit: IkasOrderLineVariantUnitType | null;
|
|
6
|
+
};
|
|
7
|
+
export declare enum IkasProductUnitType {
|
|
8
|
+
CENTILITER = "CENTILITER",
|
|
9
|
+
CENTIMETER = "CENTIMETER",
|
|
10
|
+
CUBIC_METERS = "CUBIC_METERS",
|
|
11
|
+
CUSTOM = "CUSTOM",
|
|
12
|
+
GRAM = "GRAM",
|
|
13
|
+
KILOGRAM = "KILOGRAM",
|
|
14
|
+
LITER = "LITER",
|
|
15
|
+
METER = "METER",
|
|
16
|
+
MILLIGRAM = "MILLIGRAM",
|
|
17
|
+
MILLILITER = "MILLILITER",
|
|
18
|
+
MILLIMETER = "MILLIMETER",
|
|
19
|
+
SQUARE_METERS = "SQUARE_METERS"
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var E;!function(E){E.CENTILITER="CENTILITER",E.CENTIMETER="CENTIMETER",E.CUBIC_METERS="CUBIC_METERS",E.CUSTOM="CUSTOM",E.GRAM="GRAM",E.KILOGRAM="KILOGRAM",E.LITER="LITER",E.METER="METER",E.MILLIGRAM="MILLIGRAM",E.MILLILITER="MILLILITER",E.MILLIMETER="MILLIMETER",E.SQUARE_METERS="SQUARE_METERS"}(E||(E={}));export{E as IkasProductUnitType};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IkasAmountType } from "../../adjustment";
|
|
2
|
+
export declare type IkasOrderLineDiscount = {
|
|
3
|
+
amount: number;
|
|
4
|
+
amountType: IkasAmountType;
|
|
5
|
+
campaignOfferId: string | null;
|
|
6
|
+
campaignOfferProductId: string | null;
|
|
7
|
+
maxApplicableQuantity: number | null;
|
|
8
|
+
reason: string | null;
|
|
9
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { IkasOrderLineDiscount } from "./discount";
|
|
2
|
+
import { IkasOrderLineVariant } from "./variant";
|
|
3
|
+
import { IkasOrderLineItemOption } from "./option";
|
|
4
|
+
import { IkasBaseModel } from "../../base";
|
|
5
|
+
export declare type IkasOrderLineItem = {
|
|
6
|
+
currencyCode: string | null;
|
|
7
|
+
currencySymbol: string | null;
|
|
8
|
+
discount: IkasOrderLineDiscount | null;
|
|
9
|
+
discountPrice: number | null;
|
|
10
|
+
finalPrice: number | null;
|
|
11
|
+
finalUnitPrice: number | null;
|
|
12
|
+
options: IkasOrderLineItemOption[] | null;
|
|
13
|
+
originalOrderLineItemId: string | null;
|
|
14
|
+
price: number;
|
|
15
|
+
quantity: number;
|
|
16
|
+
status: IkasOrderLineItemStatus;
|
|
17
|
+
statusUpdatedAt: number | null;
|
|
18
|
+
stockLocationId: string | null;
|
|
19
|
+
taxValue: number | null;
|
|
20
|
+
unitPrice: number | null;
|
|
21
|
+
variant: IkasOrderLineVariant;
|
|
22
|
+
orderedAt: number;
|
|
23
|
+
} & IkasBaseModel;
|
|
24
|
+
export declare enum IkasOrderLineItemStatus {
|
|
25
|
+
CANCELLED = "CANCELLED",
|
|
26
|
+
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
27
|
+
CANCEL_REQUESTED = "CANCEL_REQUESTED",
|
|
28
|
+
DELIVERED = "DELIVERED",
|
|
29
|
+
FULFILLED = "FULFILLED",
|
|
30
|
+
REFUNDED = "REFUNDED",
|
|
31
|
+
REFUND_REJECTED = "REFUND_REJECTED",
|
|
32
|
+
REFUND_REQUESTED = "REFUND_REQUESTED",
|
|
33
|
+
REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
|
|
34
|
+
UNFULFILLED = "UNFULFILLED"
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var E;!function(E){E.CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.FULFILLED="FULFILLED",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNFULFILLED="UNFULFILLED"}(E||(E={}));export{E as IkasOrderLineItemStatus};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IkasProductOptionType } from "../../../product/option-set/option";
|
|
2
|
+
import { IkasOrderLineItemOptionValue } from "./value";
|
|
3
|
+
export declare type IkasOrderLineItemOption = {
|
|
4
|
+
name: string;
|
|
5
|
+
productOptionId: string;
|
|
6
|
+
productOptionsSetId: string;
|
|
7
|
+
type: IkasProductOptionType;
|
|
8
|
+
values: IkasOrderLineItemOptionValue[];
|
|
9
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
export declare type IkasOrderLineVariant = {
|
|
9
|
+
barcodeList: string[] | null;
|
|
10
|
+
baseUnit: IkasOrderLineBaseUnit | null;
|
|
11
|
+
brand: IkasOrderLineVariantBrand | null;
|
|
12
|
+
categories: IkasOrderLineVariantCategory[] | null;
|
|
13
|
+
id: string | null;
|
|
14
|
+
mainImageId: string | null;
|
|
15
|
+
name: string;
|
|
16
|
+
prices: IkasOrderLineVariantPrice[] | null;
|
|
17
|
+
productId: string | null;
|
|
18
|
+
sku: string | null;
|
|
19
|
+
slug: string | null;
|
|
20
|
+
tagIds: string[] | null;
|
|
21
|
+
taxValue: number | null;
|
|
22
|
+
type: number | null;
|
|
23
|
+
unit: IkasOrderLineVariantUnit | null;
|
|
24
|
+
weight: number | null;
|
|
25
|
+
variantValues: IkasOrderLineVariantVariantValue[] | null;
|
|
26
|
+
mainImage?: IkasImage | null;
|
|
27
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IkasBaseModel } from "../../base";
|
|
2
|
+
import { IkasTrackingInfo } from "./tracking-info";
|
|
3
|
+
export declare type IkasOrderPackage = {
|
|
4
|
+
errorMessage: string | null;
|
|
5
|
+
note: string | null;
|
|
6
|
+
orderLineItemIds: string[];
|
|
7
|
+
orderPackageFulfillStatus: IkasOrderPackageFullfillStatus;
|
|
8
|
+
orderPackageNumber: string;
|
|
9
|
+
stockLocationId: string;
|
|
10
|
+
trackingInfo: IkasTrackingInfo | null;
|
|
11
|
+
} & IkasBaseModel;
|
|
12
|
+
export declare enum IkasOrderPackageFullfillStatus {
|
|
13
|
+
CANCELLED = "CANCELLED",
|
|
14
|
+
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
15
|
+
CANCEL_REQUESTED = "CANCEL_REQUESTED",
|
|
16
|
+
DELIVERED = "DELIVERED",
|
|
17
|
+
ERROR = "ERROR",
|
|
18
|
+
FULFILLED = "FULFILLED",
|
|
19
|
+
READY_FOR_PICK_UP = "READY_FOR_PICK_UP",
|
|
20
|
+
READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
|
|
21
|
+
REFUNDED = "REFUNDED",
|
|
22
|
+
REFUND_REJECTED = "REFUND_REJECTED",
|
|
23
|
+
REFUND_REQUESTED = "REFUND_REQUESTED",
|
|
24
|
+
REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
|
|
25
|
+
UNABLE_TO_DELIVER = "UNABLE_TO_DELIVER"
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var E;!function(E){E.CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.ERROR="ERROR",E.FULFILLED="FULFILLED",E.READY_FOR_PICK_UP="READY_FOR_PICK_UP",E.READY_FOR_SHIPMENT="READY_FOR_SHIPMENT",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNABLE_TO_DELIVER="UNABLE_TO_DELIVER"}(E||(E={}));export{E as IkasOrderPackageFullfillStatus};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IkasPaymentMethodType } from "../../payment-gateway";
|
|
2
|
+
export declare type IkasOrderPaymentMethod = {
|
|
3
|
+
paymentGatewayCode: string | null;
|
|
4
|
+
paymentGatewayId: string | null;
|
|
5
|
+
paymentGatewayName: string | null;
|
|
6
|
+
price: number;
|
|
7
|
+
type: IkasPaymentMethodType;
|
|
8
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IkasPaymentMethodType } from "../../payment-gateway";
|
|
2
|
+
export declare type IkasOrderShippingLine = {
|
|
3
|
+
finalPrice: number;
|
|
4
|
+
isRefunded: boolean | null;
|
|
5
|
+
paymentMethod: IkasPaymentMethodType | null;
|
|
6
|
+
price: number;
|
|
7
|
+
shippingSettingsId: string | null;
|
|
8
|
+
shippingZoneRateId: string | null;
|
|
9
|
+
taxValue: number | null;
|
|
10
|
+
title: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IkasPaymentMethodType } from "../../payment-gateway";
|
|
2
|
+
import { IkasTransactionError } from "./error";
|
|
3
|
+
import { IkasTransactionPaymentMethodDetail } from "./payment-method-detail";
|
|
4
|
+
export declare type IkasOrderTransaction = {
|
|
5
|
+
amount: number | null;
|
|
6
|
+
checkoutId: string | null;
|
|
7
|
+
createdAt: number | null;
|
|
8
|
+
currencyCode: string | null;
|
|
9
|
+
currencySymbol: string | null;
|
|
10
|
+
customerId: string | null;
|
|
11
|
+
error: IkasTransactionError | null;
|
|
12
|
+
id: string | null;
|
|
13
|
+
orderId: string | null;
|
|
14
|
+
paymentGatewayId: string | null;
|
|
15
|
+
paymentGatewayName: string | null;
|
|
16
|
+
paymentMethod: IkasPaymentMethodType | null;
|
|
17
|
+
paymentMethodDetail: IkasTransactionPaymentMethodDetail | null;
|
|
18
|
+
processedAt: number | null;
|
|
19
|
+
refundReason: string | null;
|
|
20
|
+
status: IkasTransactionStatus | null;
|
|
21
|
+
type: IkasTransactionType | null;
|
|
22
|
+
updatedAt: number | null;
|
|
23
|
+
};
|
|
24
|
+
export declare enum IkasTransactionStatus {
|
|
25
|
+
AUTHORIZED = "AUTHORIZED",
|
|
26
|
+
FAILED = "FAILED",
|
|
27
|
+
PENDING = "PENDING",
|
|
28
|
+
SUCCESS = "SUCCESS"
|
|
29
|
+
}
|
|
30
|
+
export declare enum IkasTransactionType {
|
|
31
|
+
REFUND = "REFUND",
|
|
32
|
+
SALE = "SALE",
|
|
33
|
+
VOID = "VOID"
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var E,D;!function(E){E.AUTHORIZED="AUTHORIZED",E.FAILED="FAILED",E.PENDING="PENDING",E.SUCCESS="SUCCESS"}(E||(E={})),function(E){E.REFUND="REFUND",E.SALE="SALE",E.VOID="VOID"}(D||(D={}));export{E as IkasTransactionStatus,D as IkasTransactionType};
|