@ikas/storefront-models 4.10.0-beta.4 → 4.10.0-beta.40
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/index.d.ts +9 -0
- package/build/index.js +1 -1
- package/build/models/checkout-settings/price/index.d.ts +2 -1
- package/build/models/customer/index.d.ts +3 -0
- package/build/models/customer/price-list-rule/filter/index.d.ts +10 -0
- package/build/models/customer/price-list-rule/filter/index.js +1 -0
- package/build/models/customer/price-list-rule/index.d.ts +5 -0
- package/build/models/filter-category/index.d.ts +3 -0
- package/build/models/order/index.d.ts +1 -0
- package/build/models/order/line-item/variant/bundle-product/bundle-variant/index.d.ts +31 -0
- package/build/models/order/line-item/variant/bundle-product/index.d.ts +12 -0
- package/build/models/order/line-item/variant/index.d.ts +4 -0
- package/build/models/product/index.d.ts +2 -0
- package/build/models/product/variant/bundle-settings/bundle-product/index.d.ts +10 -0
- package/build/models/product/variant/bundle-settings/index.d.ts +6 -0
- package/build/models/product/variant/index.d.ts +4 -1
- package/build/models/product-file/index.d.ts +6 -0
- package/build/models/storefront/b2b-settings/index.d.ts +14 -0
- package/build/models/storefront/b2b-settings/index.js +1 -0
- package/build/models/storefront/index-page-seo-setting/index.d.ts +15 -0
- package/build/models/storefront/index.d.ts +9 -0
- package/build/models/storefront/index.js +1 -1
- package/build-cjs/index.d.ts +9 -0
- package/build-cjs/index.js +1 -1
- package/build-cjs/models/checkout-settings/price/index.d.ts +2 -1
- package/build-cjs/models/customer/index.d.ts +3 -0
- package/build-cjs/models/customer/price-list-rule/filter/index.d.ts +10 -0
- package/build-cjs/models/customer/price-list-rule/filter/index.js +1 -0
- package/build-cjs/models/customer/price-list-rule/index.d.ts +5 -0
- package/build-cjs/models/filter-category/index.d.ts +3 -0
- package/build-cjs/models/order/index.d.ts +1 -0
- package/build-cjs/models/order/line-item/variant/bundle-product/bundle-variant/index.d.ts +31 -0
- package/build-cjs/models/order/line-item/variant/bundle-product/index.d.ts +12 -0
- package/build-cjs/models/order/line-item/variant/index.d.ts +4 -0
- package/build-cjs/models/product/index.d.ts +2 -0
- package/build-cjs/models/product/variant/bundle-settings/bundle-product/index.d.ts +10 -0
- package/build-cjs/models/product/variant/bundle-settings/index.d.ts +6 -0
- package/build-cjs/models/product/variant/index.d.ts +4 -1
- package/build-cjs/models/product-file/index.d.ts +6 -0
- package/build-cjs/models/storefront/b2b-settings/index.d.ts +14 -0
- package/build-cjs/models/storefront/b2b-settings/index.js +1 -0
- package/build-cjs/models/storefront/index-page-seo-setting/index.d.ts +15 -0
- package/build-cjs/models/storefront/index.d.ts +9 -0
- package/build-cjs/models/storefront/index.js +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -44,6 +44,8 @@ export * from "./models/customer/attribute/translation";
|
|
|
44
44
|
export * from "./models/customer/attribute/value";
|
|
45
45
|
export * from "./models/customer/attribute/init";
|
|
46
46
|
export * from "./models/customer/attribute";
|
|
47
|
+
export * from "./models/customer/price-list-rule/filter";
|
|
48
|
+
export * from "./models/customer/price-list-rule";
|
|
47
49
|
export * from "./models/customer/review/settings";
|
|
48
50
|
export * from "./models/customer/review/summary/star";
|
|
49
51
|
export * from "./models/customer/review/summary";
|
|
@@ -84,6 +86,8 @@ export * from "./models/order/line-item/discount";
|
|
|
84
86
|
export * from "./models/order/line-item/option/value";
|
|
85
87
|
export * from "./models/order/line-item/option";
|
|
86
88
|
export * from "./models/order/line-item/variant/brand";
|
|
89
|
+
export * from "./models/order/line-item/variant/bundle-product/bundle-variant";
|
|
90
|
+
export * from "./models/order/line-item/variant/bundle-product";
|
|
87
91
|
export * from "./models/order/line-item/variant/category";
|
|
88
92
|
export * from "./models/order/line-item/variant/price";
|
|
89
93
|
export * from "./models/order/line-item/variant/tag";
|
|
@@ -135,6 +139,8 @@ export * from "./models/product/option-set";
|
|
|
135
139
|
export * from "./models/product/star";
|
|
136
140
|
export * from "./models/product/stock-location";
|
|
137
141
|
export * from "./models/product/tag";
|
|
142
|
+
export * from "./models/product/variant/bundle-settings/bundle-product";
|
|
143
|
+
export * from "./models/product/variant/bundle-settings";
|
|
138
144
|
export * from "./models/product/variant/price";
|
|
139
145
|
export * from "./models/product/variant/unit";
|
|
140
146
|
export * from "./models/product/variant/init";
|
|
@@ -143,6 +149,7 @@ export * from "./models/product/variant-type/init";
|
|
|
143
149
|
export * from "./models/product/variant-type";
|
|
144
150
|
export * from "./models/product/init";
|
|
145
151
|
export * from "./models/product";
|
|
152
|
+
export * from "./models/product-file";
|
|
146
153
|
export * from "./models/product-option-file";
|
|
147
154
|
export * from "./models/raffle/init";
|
|
148
155
|
export * from "./models/raffle/";
|
|
@@ -161,7 +168,9 @@ export * from "./models/stock-location/address/state";
|
|
|
161
168
|
export * from "./models/stock-location/address";
|
|
162
169
|
export * from "./models/stock-location/available";
|
|
163
170
|
export * from "./models/stock-location";
|
|
171
|
+
export * from "./models/storefront/b2b-settings";
|
|
164
172
|
export * from "./models/storefront/domain";
|
|
173
|
+
export * from "./models/storefront/index-page-seo-setting";
|
|
165
174
|
export * from "./models/storefront/localization";
|
|
166
175
|
export * from "./models/storefront/routing/dynamic-currency";
|
|
167
176
|
export * from "./models/storefront/routing";
|
package/build/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{createIkasBaseModel}from"./models/base/init.js";export{createIkasBlogCategory,initIkasBlogCategory}from"./models/blog/category/init.js";export{IkasBlogMetaDataTargetType}from"./models/blog/meta-data/index.js";export{initIkasBlog}from"./models/blog/init.js";export{IkasBrandOrderType}from"./models/brand/index.js";export{initIkasBrand}from"./models/brand/init.js";export{IkasCampaignOfferProductApplicablePriceEnum,IkasCampaignOfferProductShowCriteria}from"./models/campaign-offer/product/index.js";export{IkasCampaignOfferFollowUpActionType,IkasCampaignOfferTargetPageType,IkasCampaignOfferTriggerFilterType,IkasCampaignOfferType}from"./models/campaign-offer/index.js";export{IkasLocalDeliverySettingsDeliveryTimeType}from"./models/cart/available-shipping-method/estimated-delivery-time/index.js";export{IkasShippingMethod}from"./models/cart/available-shipping-method/index.js";export{IkasCartCampaignOfferStatus}from"./models/cart/campaign-offer/index.js";export{IkasCartCreatedBy}from"./models/cart/index.js";export{IkasCategoryConditionTypeEnum}from"./models/category/conditions/index.js";export{IkasCategoryProductsOrderType}from"./models/category/index.js";export{initIkasCategory}from"./models/category/init.js";export{IkasCheckoutRequirement,IkasCouponCodeRequirement}from"./models/checkout-settings/index.js";export{initIkasCountry}from"./models/country/init.js";export{IkasCustomerAttributePermission,IkasCustomerAttributeRegisterPageRequirement}from"./models/customer/attribute/sales-channel/index.js";export{initIkasCustomerAttribute}from"./models/customer/attribute/init.js";export{IkasCustomerAttributeType}from"./models/customer/attribute/index.js";export{initIkasCustomerReview}from"./models/customer/review/init.js";export{IkasCustomerReviewStatus}from"./models/customer/review/index.js";export{IkasCustomerAccountStatus,IkasCustomerEmailSubscriptionStatus,IkasCustomerRegistrationSource}from"./models/customer/index.js";export{initIkasHTMLMetaData,setHTMLMetaDataTranslations}from"./models/html-meta-data/init.js";export{IkasHTMLMetaDataTargetType}from"./models/html-meta-data/index.js";export{initIkasMerchantSettings}from"./models/merchant-settings/init.js";import"./models/merchant-settings/index.js";export{IkasMerchantSettingsAddressTypeEnum}from"./models/merchant-settings/address/type/index.js";export{IkasAdjustmentType,IkasAmountType}from"./models/order/adjustment/index.js";export{IkasInvoiceType}from"./models/order/invoice/index.js";export{IkasProductUnitType}from"./models/order/line-item/base-unit/index.js";export{IkasOrderLineItemStatus}from"./models/order/line-item/index.js";export{IkasOrderPackageFullfillStatus}from"./models/order/package/index.js";export{IkasTransactionCardAssociation,IkasTransactionCardType}from"./models/order/transaction/payment-method-detail/index.js";export{IkasTransactionStatus,IkasTransactionType}from"./models/order/transaction/index.js";export{IkasOrderCancelReason,IkasOrderPackageStatus,IkasOrderPaymentStatus,IkasOrderShippingMethod,IkasOrderStatus}from"./models/order/index.js";export{IkasPaymentGatewayAdditionalPriceType,IkasPaymentGatewayTransactionFeeType}from"./models/payment-gateway/additional-price/index.js";export{IkasPaymentGatewaySettingsType}from"./models/payment-gateway/settings/index.js";export{initIkasPaymentGateway}from"./models/payment-gateway/init.js";export{IkasPaymentGatewayType,IkasPaymentMethodType}from"./models/payment-gateway/index.js";export{initIkasProductAttribute}from"./models/product/attribute/init.js";export{IkasProductAttributeType}from"./models/product/attribute/index.js";export{initIkasProductAttributeValue}from"./models/product/attribute-value/init.js";export{IkasProductFilterDisplayType,IkasProductFilterSortType,IkasProductFilterType,IkasProductStockFilterValue}from"./models/product/filter/index.js";export{IkasCampaignApplicablePrice,IkasCampaignCreatedFor,IkasCampaignType}from"./models/product/campaign/data/index.js";export{IkasCampaignFilterType}from"./models/product/campaign/filter/index.js";export{initIkasProductImage}from"./models/product/image/init.js";export{initIkasProductOption}from"./models/product/option-set/option/init.js";export{IkasProductOptionSelectType,IkasProductOptionType}from"./models/product/option-set/option/index.js";export{initIkasProductOptionSet,initOptionValues,initValues,setChildOptions}from"./models/product/option-set/init.js";export{IkasGetAvailableStockLocationType}from"./models/product/stock-location/index.js";export{initIkasProductVariant}from"./models/product/variant/init.js";export{initIkasProductVariantType}from"./models/product/variant-type/init.js";export{initIkasProduct}from"./models/product/init.js";export{IkasProductType}from"./models/product/index.js";export{initIkasRaffle}from"./models/raffle/init.js";export{IkasRaffleMetadataTargetType,IkasRaffleParticipantStatus,IkasRaffleVerificationType}from"./models/raffle/index.js";export{initIkasState}from"./models/state/init.js";export{IkasStockLocationDeliveryTime,IkasStockLocationType}from"./models/stock-location/index.js";export{IkasStorefrontThemeStatus}from"./models/storefront/theme/index.js";export{StorefrontPageTypesEnum}from"./models/storefront/meta-templates/index.js";export{IkasStorefrontStatus}from"./models/storefront/index.js";export{IkasThemeJsonComponentPropType}from"./models/theme-json/component/prop/index.js";export{IkasThemeJsonPageType}from"./models/theme-json/page/index.js";export{IkasThemeJsonStockPreference}from"./models/theme-json/settings/index.js";export{initIkasVariantValue}from"./models/variant-type/variant-value/init.js";export{initIkasVariantType}from"./models/variant-type/init.js";export{IkasVariantSelectionType}from"./models/variant-type/index.js";
|
|
1
|
+
export{createIkasBaseModel}from"./models/base/init.js";export{createIkasBlogCategory,initIkasBlogCategory}from"./models/blog/category/init.js";export{IkasBlogMetaDataTargetType}from"./models/blog/meta-data/index.js";export{initIkasBlog}from"./models/blog/init.js";export{IkasBrandOrderType}from"./models/brand/index.js";export{initIkasBrand}from"./models/brand/init.js";export{IkasCampaignOfferProductApplicablePriceEnum,IkasCampaignOfferProductShowCriteria}from"./models/campaign-offer/product/index.js";export{IkasCampaignOfferFollowUpActionType,IkasCampaignOfferTargetPageType,IkasCampaignOfferTriggerFilterType,IkasCampaignOfferType}from"./models/campaign-offer/index.js";export{IkasLocalDeliverySettingsDeliveryTimeType}from"./models/cart/available-shipping-method/estimated-delivery-time/index.js";export{IkasShippingMethod}from"./models/cart/available-shipping-method/index.js";export{IkasCartCampaignOfferStatus}from"./models/cart/campaign-offer/index.js";export{IkasCartCreatedBy}from"./models/cart/index.js";export{IkasCategoryConditionTypeEnum}from"./models/category/conditions/index.js";export{IkasCategoryProductsOrderType}from"./models/category/index.js";export{initIkasCategory}from"./models/category/init.js";export{IkasCheckoutRequirement,IkasCouponCodeRequirement}from"./models/checkout-settings/index.js";export{initIkasCountry}from"./models/country/init.js";export{IkasCustomerAttributePermission,IkasCustomerAttributeRegisterPageRequirement}from"./models/customer/attribute/sales-channel/index.js";export{initIkasCustomerAttribute}from"./models/customer/attribute/init.js";export{IkasCustomerAttributeType}from"./models/customer/attribute/index.js";export{IkasCustomerPriceListRuleFilterType}from"./models/customer/price-list-rule/filter/index.js";export{initIkasCustomerReview}from"./models/customer/review/init.js";export{IkasCustomerReviewStatus}from"./models/customer/review/index.js";export{IkasCustomerAccountStatus,IkasCustomerEmailSubscriptionStatus,IkasCustomerRegistrationSource}from"./models/customer/index.js";export{initIkasHTMLMetaData,setHTMLMetaDataTranslations}from"./models/html-meta-data/init.js";export{IkasHTMLMetaDataTargetType}from"./models/html-meta-data/index.js";export{initIkasMerchantSettings}from"./models/merchant-settings/init.js";import"./models/merchant-settings/index.js";export{IkasMerchantSettingsAddressTypeEnum}from"./models/merchant-settings/address/type/index.js";export{IkasAdjustmentType,IkasAmountType}from"./models/order/adjustment/index.js";export{IkasInvoiceType}from"./models/order/invoice/index.js";export{IkasProductUnitType}from"./models/order/line-item/base-unit/index.js";export{IkasOrderLineItemStatus}from"./models/order/line-item/index.js";export{IkasOrderPackageFullfillStatus}from"./models/order/package/index.js";export{IkasTransactionCardAssociation,IkasTransactionCardType}from"./models/order/transaction/payment-method-detail/index.js";export{IkasTransactionStatus,IkasTransactionType}from"./models/order/transaction/index.js";export{IkasOrderCancelReason,IkasOrderPackageStatus,IkasOrderPaymentStatus,IkasOrderShippingMethod,IkasOrderStatus}from"./models/order/index.js";export{IkasPaymentGatewayAdditionalPriceType,IkasPaymentGatewayTransactionFeeType}from"./models/payment-gateway/additional-price/index.js";export{IkasPaymentGatewaySettingsType}from"./models/payment-gateway/settings/index.js";export{initIkasPaymentGateway}from"./models/payment-gateway/init.js";export{IkasPaymentGatewayType,IkasPaymentMethodType}from"./models/payment-gateway/index.js";export{initIkasProductAttribute}from"./models/product/attribute/init.js";export{IkasProductAttributeType}from"./models/product/attribute/index.js";export{initIkasProductAttributeValue}from"./models/product/attribute-value/init.js";export{IkasProductFilterDisplayType,IkasProductFilterSortType,IkasProductFilterType,IkasProductStockFilterValue}from"./models/product/filter/index.js";export{IkasCampaignApplicablePrice,IkasCampaignCreatedFor,IkasCampaignType}from"./models/product/campaign/data/index.js";export{IkasCampaignFilterType}from"./models/product/campaign/filter/index.js";export{initIkasProductImage}from"./models/product/image/init.js";export{initIkasProductOption}from"./models/product/option-set/option/init.js";export{IkasProductOptionSelectType,IkasProductOptionType}from"./models/product/option-set/option/index.js";export{initIkasProductOptionSet,initOptionValues,initValues,setChildOptions}from"./models/product/option-set/init.js";export{IkasGetAvailableStockLocationType}from"./models/product/stock-location/index.js";export{initIkasProductVariant}from"./models/product/variant/init.js";export{initIkasProductVariantType}from"./models/product/variant-type/init.js";export{initIkasProduct}from"./models/product/init.js";export{IkasProductType}from"./models/product/index.js";export{initIkasRaffle}from"./models/raffle/init.js";export{IkasRaffleMetadataTargetType,IkasRaffleParticipantStatus,IkasRaffleVerificationType}from"./models/raffle/index.js";export{initIkasState}from"./models/state/init.js";export{IkasStockLocationDeliveryTime,IkasStockLocationType}from"./models/stock-location/index.js";export{IkasStorefrontB2BShowPricesEnum,IkasStorefrontB2BShowProductsEnum}from"./models/storefront/b2b-settings/index.js";export{IkasStorefrontThemeStatus}from"./models/storefront/theme/index.js";export{StorefrontPageTypesEnum}from"./models/storefront/meta-templates/index.js";export{IkasStorefrontStatus,IkasStorefrontType}from"./models/storefront/index.js";export{IkasThemeJsonComponentPropType}from"./models/theme-json/component/prop/index.js";export{IkasThemeJsonPageType}from"./models/theme-json/page/index.js";export{IkasThemeJsonStockPreference}from"./models/theme-json/settings/index.js";export{initIkasVariantValue}from"./models/variant-type/variant-value/init.js";export{initIkasVariantType}from"./models/variant-type/init.js";export{IkasVariantSelectionType}from"./models/variant-type/index.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IkasCustomerAddress } from "./address";
|
|
2
2
|
import { IkasCustomerAttributeValue } from "./attribute/value";
|
|
3
3
|
import { IkasBaseModel } from "../base";
|
|
4
|
+
import { IkasCustomerPriceListRule } from "./price-list-rule";
|
|
4
5
|
export declare type IkasCustomer = {
|
|
5
6
|
accountStatusUpdatedAt: number | null;
|
|
6
7
|
customerGroupIds: string[] | null;
|
|
@@ -19,6 +20,8 @@ export declare type IkasCustomer = {
|
|
|
19
20
|
phoneVerifiedDate: number | null;
|
|
20
21
|
subscriptionStatusUpdatedAt: number | null;
|
|
21
22
|
tagIds: string[] | null;
|
|
23
|
+
priceListId: string | null;
|
|
24
|
+
priceListRules: IkasCustomerPriceListRule[] | null;
|
|
22
25
|
registrationSource: IkasCustomerRegistrationSource | null;
|
|
23
26
|
accountStatus: IkasCustomerAccountStatus | null;
|
|
24
27
|
addresses: IkasCustomerAddress[] | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare type IkasCustomerPriceListRuleFilter = {
|
|
2
|
+
type: IkasCustomerPriceListRuleFilterType;
|
|
3
|
+
valueList: string[];
|
|
4
|
+
};
|
|
5
|
+
export declare enum IkasCustomerPriceListRuleFilterType {
|
|
6
|
+
CATEGORY = "CATEGORY",
|
|
7
|
+
PRODUCT = "PRODUCT",
|
|
8
|
+
PRODUCT_BRAND = "PRODUCT_BRAND",
|
|
9
|
+
PRODUCT_TAG = "PRODUCT_TAG"
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var R;!function(R){R.CATEGORY="CATEGORY",R.PRODUCT="PRODUCT",R.PRODUCT_BRAND="PRODUCT_BRAND",R.PRODUCT_TAG="PRODUCT_TAG"}(R||(R={}));export{R as IkasCustomerPriceListRuleFilterType};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IkasHTMLMetaData } from "../html-meta-data";
|
|
2
|
+
import { IkasImage } from "../image";
|
|
2
3
|
export declare type IkasFilterCategory = {
|
|
3
4
|
id: string;
|
|
4
5
|
name: string;
|
|
@@ -6,4 +7,6 @@ export declare type IkasFilterCategory = {
|
|
|
6
7
|
isAutomated: boolean | null;
|
|
7
8
|
resultCount: number | null;
|
|
8
9
|
isSelected: boolean;
|
|
10
|
+
imageId: string | null;
|
|
11
|
+
image?: IkasImage | null;
|
|
9
12
|
};
|
|
@@ -30,6 +30,7 @@ export declare type IkasOrder = {
|
|
|
30
30
|
orderPaymentStatus: IkasOrderPaymentStatus | null;
|
|
31
31
|
orderedAt: number | null;
|
|
32
32
|
paymentMethods: IkasOrderPaymentMethod[] | null;
|
|
33
|
+
priceListId: string | null;
|
|
33
34
|
shippingAddress: IkasOrderAddress | null;
|
|
34
35
|
shippingLines: IkasOrderShippingLine[] | null;
|
|
35
36
|
shippingMethod: IkasOrderShippingMethod;
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
import { IkasOrderLineVariantTag } from "../../tag";
|
|
9
|
+
export declare type IkasOrderLineBundleVariant = {
|
|
10
|
+
barcodeList: string[] | null;
|
|
11
|
+
baseUnit: IkasOrderLineBaseUnit | null;
|
|
12
|
+
brand: IkasOrderLineVariantBrand | null;
|
|
13
|
+
categories: IkasOrderLineVariantCategory[] | null;
|
|
14
|
+
fileId: string | null;
|
|
15
|
+
id: string | null;
|
|
16
|
+
mainImageId: string | null;
|
|
17
|
+
name: string;
|
|
18
|
+
prices: IkasOrderLineVariantPrice[] | null;
|
|
19
|
+
productId: string | null;
|
|
20
|
+
sku: string | null;
|
|
21
|
+
slug: string | null;
|
|
22
|
+
tagIds: string[] | null;
|
|
23
|
+
tags: IkasOrderLineVariantTag[] | null;
|
|
24
|
+
taxValue: number | null;
|
|
25
|
+
type: number | null;
|
|
26
|
+
unit: IkasOrderLineVariantUnit | null;
|
|
27
|
+
weight: number | null;
|
|
28
|
+
hsCode: string | null;
|
|
29
|
+
variantValues: IkasOrderLineVariantVariantValue[] | null;
|
|
30
|
+
mainImage?: IkasImage | null;
|
|
31
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IkasOrderLineBundleVariant } from "./bundle-variant";
|
|
2
|
+
export declare type IkasOrderLineVariantBundleProduct = {
|
|
3
|
+
deleted: boolean | null;
|
|
4
|
+
discountPrice: number | null;
|
|
5
|
+
discountRatio: number | null;
|
|
6
|
+
finalPrice: number | null;
|
|
7
|
+
order: number;
|
|
8
|
+
price: number;
|
|
9
|
+
quantity: number;
|
|
10
|
+
taxValue: number | null;
|
|
11
|
+
variant: IkasOrderLineBundleVariant;
|
|
12
|
+
};
|
|
@@ -6,11 +6,14 @@ import { IkasImage } from "../../../image";
|
|
|
6
6
|
import { IkasOrderLineBaseUnit } from "../base-unit";
|
|
7
7
|
import { IkasOrderLineVariantUnit } from "./unit";
|
|
8
8
|
import { IkasOrderLineVariantTag } from "./tag";
|
|
9
|
+
import { IkasOrderLineVariantBundleProduct } from "./bundle-product";
|
|
9
10
|
export declare type IkasOrderLineVariant = {
|
|
10
11
|
barcodeList: string[] | null;
|
|
11
12
|
baseUnit: IkasOrderLineBaseUnit | null;
|
|
12
13
|
brand: IkasOrderLineVariantBrand | null;
|
|
14
|
+
bundleProducts: IkasOrderLineVariantBundleProduct[] | null;
|
|
13
15
|
categories: IkasOrderLineVariantCategory[] | null;
|
|
16
|
+
fileId: string | null;
|
|
14
17
|
id: string | null;
|
|
15
18
|
mainImageId: string | null;
|
|
16
19
|
name: string;
|
|
@@ -24,6 +27,7 @@ export declare type IkasOrderLineVariant = {
|
|
|
24
27
|
type: number | null;
|
|
25
28
|
unit: IkasOrderLineVariantUnit | null;
|
|
26
29
|
weight: number | null;
|
|
30
|
+
hsCode: string | null;
|
|
27
31
|
variantValues: IkasOrderLineVariantVariantValue[] | null;
|
|
28
32
|
mainImage?: IkasImage | null;
|
|
29
33
|
};
|
|
@@ -31,6 +31,8 @@ export declare type IkasProduct = {
|
|
|
31
31
|
reviewCount: number | null;
|
|
32
32
|
stars: IkasProductStar[] | null;
|
|
33
33
|
groupVariantsByVariantTypeId: string | null;
|
|
34
|
+
dynamicPriceListIds: string[] | null;
|
|
35
|
+
productVolumeDiscountId: string | null;
|
|
34
36
|
};
|
|
35
37
|
export declare enum IkasProductType {
|
|
36
38
|
PHYSICAL = "PHYSICAL",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare type IkasBundleProduct = {
|
|
2
|
+
addToBundleBasePrice: boolean | null;
|
|
3
|
+
discountRatio: number | null;
|
|
4
|
+
filteredVariantIds: string[];
|
|
5
|
+
maxQuantity: number | null;
|
|
6
|
+
minQuantity: number | null;
|
|
7
|
+
order: number;
|
|
8
|
+
productId: string;
|
|
9
|
+
quantity: number;
|
|
10
|
+
};
|
|
@@ -4,13 +4,15 @@ import { IkasProductAttributeValue } from "../attribute-value";
|
|
|
4
4
|
import { IkasProductCampaign } from "../campaign";
|
|
5
5
|
import { IkasProductImage } from "../image";
|
|
6
6
|
import { IkasProductVariantUnit } from "./unit";
|
|
7
|
+
import { IkasBundleSettings } from "./bundle-settings";
|
|
7
8
|
export declare type IkasProductVariant = {
|
|
8
9
|
id: string;
|
|
9
10
|
sku: string | null;
|
|
10
11
|
barcodeList: string[] | null;
|
|
12
|
+
baseBundlePrices: IkasProductPrice[] | null;
|
|
11
13
|
variantValues: IkasVariantValue[];
|
|
12
14
|
attributes: IkasProductAttributeValue[];
|
|
13
|
-
|
|
15
|
+
prices: IkasProductPrice[];
|
|
14
16
|
stock: number;
|
|
15
17
|
isActive: boolean;
|
|
16
18
|
productId: string;
|
|
@@ -18,4 +20,5 @@ export declare type IkasProductVariant = {
|
|
|
18
20
|
images: IkasProductImage[] | null;
|
|
19
21
|
campaigns?: IkasProductCampaign[];
|
|
20
22
|
unit: IkasProductVariantUnit | null;
|
|
23
|
+
bundleSettings: IkasBundleSettings | null;
|
|
21
24
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare type IkasStorefrontB2BSettings = {
|
|
2
|
+
allowOnlyApprovedCustomersToLogin: boolean;
|
|
3
|
+
showPrices: IkasStorefrontB2BShowPricesEnum;
|
|
4
|
+
showProducts: IkasStorefrontB2BShowProductsEnum;
|
|
5
|
+
};
|
|
6
|
+
export declare enum IkasStorefrontB2BShowPricesEnum {
|
|
7
|
+
ALWAYS = "ALWAYS",
|
|
8
|
+
NEVER = "NEVER",
|
|
9
|
+
ONLY_TO_CUSTOMERS = "ONLY_TO_CUSTOMERS"
|
|
10
|
+
}
|
|
11
|
+
export declare enum IkasStorefrontB2BShowProductsEnum {
|
|
12
|
+
ALWAYS = "ALWAYS",
|
|
13
|
+
ONLY_TO_CUSTOMERS = "ONLY_TO_CUSTOMERS"
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var O,S;!function(O){O.ALWAYS="ALWAYS",O.NEVER="NEVER",O.ONLY_TO_CUSTOMERS="ONLY_TO_CUSTOMERS"}(O||(O={})),function(O){O.ALWAYS="ALWAYS",O.ONLY_TO_CUSTOMERS="ONLY_TO_CUSTOMERS"}(S||(S={}));export{O as IkasStorefrontB2BShowPricesEnum,S as IkasStorefrontB2BShowProductsEnum};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IkasImage } from "../../image";
|
|
2
|
+
export declare type IkasIndexPageSeoSetting = {
|
|
3
|
+
canonicals: string[] | null;
|
|
4
|
+
createdAt: any | null;
|
|
5
|
+
deleted: boolean;
|
|
6
|
+
description: string | null;
|
|
7
|
+
disableIndex: boolean | null;
|
|
8
|
+
favIcon: string | null;
|
|
9
|
+
id: string;
|
|
10
|
+
locale: string;
|
|
11
|
+
pageTitle: string | null;
|
|
12
|
+
slug: string | null;
|
|
13
|
+
updatedAt: any | null;
|
|
14
|
+
icon?: IkasImage | null;
|
|
15
|
+
};
|
|
@@ -3,6 +3,8 @@ import { IkasStorefrontDomain } from "./domain";
|
|
|
3
3
|
import { IkasStorefrontRouting } from "./routing";
|
|
4
4
|
import { IkasStorefrontTheme } from "./theme";
|
|
5
5
|
import { IkasStorefontMetaTemplates } from "./meta-templates";
|
|
6
|
+
import { IkasIndexPageSeoSetting } from "./index-page-seo-setting";
|
|
7
|
+
import { IkasStorefrontB2BSettings } from "./b2b-settings";
|
|
6
8
|
export declare enum IkasStorefrontStatus {
|
|
7
9
|
WAITING = "WAITING",
|
|
8
10
|
READY = "READY"
|
|
@@ -11,6 +13,7 @@ export declare type IkasStorefront = {
|
|
|
11
13
|
id: string;
|
|
12
14
|
name: string;
|
|
13
15
|
status: IkasStorefrontStatus;
|
|
16
|
+
b2bSettings: IkasStorefrontB2BSettings | null;
|
|
14
17
|
mainStorefrontThemeId: string | null;
|
|
15
18
|
pickUpStockLocationIds: string[] | null;
|
|
16
19
|
emailSettingsId: string | null;
|
|
@@ -21,10 +24,16 @@ export declare type IkasStorefront = {
|
|
|
21
24
|
universalAnalyticsId: string | null;
|
|
22
25
|
tiktokPixelId: string | null;
|
|
23
26
|
token: string | null;
|
|
27
|
+
type: IkasStorefrontType;
|
|
24
28
|
metaTemplates: IkasStorefontMetaTemplates[] | null;
|
|
25
29
|
robotsTxt: string | null;
|
|
26
30
|
localizations: IkasStorefrontLocalization[];
|
|
27
31
|
routings: IkasStorefrontRouting[];
|
|
28
32
|
domains: IkasStorefrontDomain[];
|
|
29
33
|
themes: IkasStorefrontTheme[];
|
|
34
|
+
indexPageSeoSettings: IkasIndexPageSeoSetting[];
|
|
30
35
|
};
|
|
36
|
+
export declare enum IkasStorefrontType {
|
|
37
|
+
B2B_STOREFRONT = "B2B_STOREFRONT",
|
|
38
|
+
STOREFRONT = "STOREFRONT"
|
|
39
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var R,T;!function(R){R.WAITING="WAITING",R.READY="READY"}(R||(R={})),function(R){R.B2B_STOREFRONT="B2B_STOREFRONT",R.STOREFRONT="STOREFRONT"}(T||(T={}));export{R as IkasStorefrontStatus,T as IkasStorefrontType};
|
package/build-cjs/index.d.ts
CHANGED
|
@@ -44,6 +44,8 @@ export * from "./models/customer/attribute/translation";
|
|
|
44
44
|
export * from "./models/customer/attribute/value";
|
|
45
45
|
export * from "./models/customer/attribute/init";
|
|
46
46
|
export * from "./models/customer/attribute";
|
|
47
|
+
export * from "./models/customer/price-list-rule/filter";
|
|
48
|
+
export * from "./models/customer/price-list-rule";
|
|
47
49
|
export * from "./models/customer/review/settings";
|
|
48
50
|
export * from "./models/customer/review/summary/star";
|
|
49
51
|
export * from "./models/customer/review/summary";
|
|
@@ -84,6 +86,8 @@ export * from "./models/order/line-item/discount";
|
|
|
84
86
|
export * from "./models/order/line-item/option/value";
|
|
85
87
|
export * from "./models/order/line-item/option";
|
|
86
88
|
export * from "./models/order/line-item/variant/brand";
|
|
89
|
+
export * from "./models/order/line-item/variant/bundle-product/bundle-variant";
|
|
90
|
+
export * from "./models/order/line-item/variant/bundle-product";
|
|
87
91
|
export * from "./models/order/line-item/variant/category";
|
|
88
92
|
export * from "./models/order/line-item/variant/price";
|
|
89
93
|
export * from "./models/order/line-item/variant/tag";
|
|
@@ -135,6 +139,8 @@ export * from "./models/product/option-set";
|
|
|
135
139
|
export * from "./models/product/star";
|
|
136
140
|
export * from "./models/product/stock-location";
|
|
137
141
|
export * from "./models/product/tag";
|
|
142
|
+
export * from "./models/product/variant/bundle-settings/bundle-product";
|
|
143
|
+
export * from "./models/product/variant/bundle-settings";
|
|
138
144
|
export * from "./models/product/variant/price";
|
|
139
145
|
export * from "./models/product/variant/unit";
|
|
140
146
|
export * from "./models/product/variant/init";
|
|
@@ -143,6 +149,7 @@ export * from "./models/product/variant-type/init";
|
|
|
143
149
|
export * from "./models/product/variant-type";
|
|
144
150
|
export * from "./models/product/init";
|
|
145
151
|
export * from "./models/product";
|
|
152
|
+
export * from "./models/product-file";
|
|
146
153
|
export * from "./models/product-option-file";
|
|
147
154
|
export * from "./models/raffle/init";
|
|
148
155
|
export * from "./models/raffle/";
|
|
@@ -161,7 +168,9 @@ export * from "./models/stock-location/address/state";
|
|
|
161
168
|
export * from "./models/stock-location/address";
|
|
162
169
|
export * from "./models/stock-location/available";
|
|
163
170
|
export * from "./models/stock-location";
|
|
171
|
+
export * from "./models/storefront/b2b-settings";
|
|
164
172
|
export * from "./models/storefront/domain";
|
|
173
|
+
export * from "./models/storefront/index-page-seo-setting";
|
|
165
174
|
export * from "./models/storefront/localization";
|
|
166
175
|
export * from "./models/storefront/routing/dynamic-currency";
|
|
167
176
|
export * from "./models/storefront/routing";
|
package/build-cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./models/base/init.js"),t=require("./models/blog/category/init.js"),r=require("./models/blog/meta-data/index.js"),n=require("./models/blog/init.js"),a=require("./models/brand/index.js"),i=require("./models/brand/init.js"),o=require("./models/campaign-offer/product/index.js"),s=require("./models/campaign-offer/index.js"),u=require("./models/cart/available-shipping-method/estimated-delivery-time/index.js"),p=require("./models/cart/available-shipping-method/index.js"),d=require("./models/cart/campaign-offer/index.js"),c=require("./models/cart/index.js"),m=require("./models/category/conditions/index.js"),l=require("./models/category/index.js"),y=require("./models/category/init.js"),f=require("./models/checkout-settings/index.js"),k=require("./models/country/init.js"),I=require("./models/customer/attribute/sales-channel/index.js"),g=require("./models/customer/attribute/init.js"),b=require("./models/customer/attribute/index.js"),P=require("./models/customer/review/init.js"),j=require("./models/customer/review/index.js"),x=require("./models/customer/index.js"),T=require("./models/html-meta-data/init.js"),O=require("./models/html-meta-data/index.js"),C=require("./models/merchant-settings/init.js");require("./models/merchant-settings/index.js");var q=require("./models/merchant-settings/address/type/index.js"),S=require("./models/order/adjustment/index.js"),h=require("./models/order/invoice/index.js"),A=require("./models/order/line-item/base-unit/index.js"),v=require("./models/order/line-item/index.js"),M=require("./models/order/package/index.js"),w=require("./models/order/transaction/payment-method-detail/index.js"),R=require("./models/order/transaction/index.js"),V=require("./models/order/index.js"),F=require("./models/payment-gateway/additional-price/index.js"),B=require("./models/payment-gateway/settings/index.js"),D=require("./models/payment-gateway/init.js"),L=require("./models/payment-gateway/index.js"),G=require("./models/product/attribute/init.js"),E=require("./models/product/attribute/index.js"),H=require("./models/product/attribute-value/init.js"),J=require("./models/product/filter/index.js"),U=require("./models/product/campaign/data/index.js"),_=require("./models/product/campaign/filter/index.js"),z=require("./models/product/image/init.js"),K=require("./models/product/option-set/option/init.js"),N=require("./models/product/option-set/option/index.js"),Q=require("./models/product/option-set/init.js"),W=require("./models/product/stock-location/index.js"),X=require("./models/product/variant/init.js"),Y=require("./models/product/variant-type/init.js"),Z=require("./models/product/init.js"),$=require("./models/product/index.js"),ee=require("./models/raffle/init.js"),te=require("./models/raffle/index.js"),re=require("./models/state/init.js"),ne=require("./models/stock-location/index.js"),ae=require("./models/storefront/theme/index.js"),ie=require("./models/storefront/meta-templates/index.js"),oe=require("./models/storefront/index.js"),se=require("./models/theme-json/component/prop/index.js"),ue=require("./models/theme-json/page/index.js"),pe=require("./models/theme-json/settings/index.js"),de=require("./models/variant-type/variant-value/init.js"),ce=require("./models/variant-type/init.js"),me=require("./models/variant-type/index.js");exports.createIkasBaseModel=e.createIkasBaseModel,exports.createIkasBlogCategory=t.createIkasBlogCategory,exports.initIkasBlogCategory=t.initIkasBlogCategory,Object.defineProperty(exports,"IkasBlogMetaDataTargetType",{enumerable:!0,get:function(){return r.IkasBlogMetaDataTargetType}}),exports.initIkasBlog=n.initIkasBlog,Object.defineProperty(exports,"IkasBrandOrderType",{enumerable:!0,get:function(){return a.IkasBrandOrderType}}),exports.initIkasBrand=i.initIkasBrand,Object.defineProperty(exports,"IkasCampaignOfferProductApplicablePriceEnum",{enumerable:!0,get:function(){return o.IkasCampaignOfferProductApplicablePriceEnum}}),Object.defineProperty(exports,"IkasCampaignOfferProductShowCriteria",{enumerable:!0,get:function(){return o.IkasCampaignOfferProductShowCriteria}}),Object.defineProperty(exports,"IkasCampaignOfferFollowUpActionType",{enumerable:!0,get:function(){return s.IkasCampaignOfferFollowUpActionType}}),Object.defineProperty(exports,"IkasCampaignOfferTargetPageType",{enumerable:!0,get:function(){return s.IkasCampaignOfferTargetPageType}}),Object.defineProperty(exports,"IkasCampaignOfferTriggerFilterType",{enumerable:!0,get:function(){return s.IkasCampaignOfferTriggerFilterType}}),Object.defineProperty(exports,"IkasCampaignOfferType",{enumerable:!0,get:function(){return s.IkasCampaignOfferType}}),Object.defineProperty(exports,"IkasLocalDeliverySettingsDeliveryTimeType",{enumerable:!0,get:function(){return u.IkasLocalDeliverySettingsDeliveryTimeType}}),Object.defineProperty(exports,"IkasShippingMethod",{enumerable:!0,get:function(){return p.IkasShippingMethod}}),Object.defineProperty(exports,"IkasCartCampaignOfferStatus",{enumerable:!0,get:function(){return d.IkasCartCampaignOfferStatus}}),Object.defineProperty(exports,"IkasCartCreatedBy",{enumerable:!0,get:function(){return c.IkasCartCreatedBy}}),Object.defineProperty(exports,"IkasCategoryConditionTypeEnum",{enumerable:!0,get:function(){return m.IkasCategoryConditionTypeEnum}}),Object.defineProperty(exports,"IkasCategoryProductsOrderType",{enumerable:!0,get:function(){return l.IkasCategoryProductsOrderType}}),exports.initIkasCategory=y.initIkasCategory,Object.defineProperty(exports,"IkasCheckoutRequirement",{enumerable:!0,get:function(){return f.IkasCheckoutRequirement}}),Object.defineProperty(exports,"IkasCouponCodeRequirement",{enumerable:!0,get:function(){return f.IkasCouponCodeRequirement}}),exports.initIkasCountry=k.initIkasCountry,Object.defineProperty(exports,"IkasCustomerAttributePermission",{enumerable:!0,get:function(){return I.IkasCustomerAttributePermission}}),Object.defineProperty(exports,"IkasCustomerAttributeRegisterPageRequirement",{enumerable:!0,get:function(){return I.IkasCustomerAttributeRegisterPageRequirement}}),exports.initIkasCustomerAttribute=g.initIkasCustomerAttribute,Object.defineProperty(exports,"IkasCustomerAttributeType",{enumerable:!0,get:function(){return b.IkasCustomerAttributeType}}),exports.initIkasCustomerReview=P.initIkasCustomerReview,Object.defineProperty(exports,"IkasCustomerReviewStatus",{enumerable:!0,get:function(){return j.IkasCustomerReviewStatus}}),Object.defineProperty(exports,"IkasCustomerAccountStatus",{enumerable:!0,get:function(){return x.IkasCustomerAccountStatus}}),Object.defineProperty(exports,"IkasCustomerEmailSubscriptionStatus",{enumerable:!0,get:function(){return x.IkasCustomerEmailSubscriptionStatus}}),Object.defineProperty(exports,"IkasCustomerRegistrationSource",{enumerable:!0,get:function(){return x.IkasCustomerRegistrationSource}}),exports.initIkasHTMLMetaData=T.initIkasHTMLMetaData,exports.setHTMLMetaDataTranslations=T.setHTMLMetaDataTranslations,Object.defineProperty(exports,"IkasHTMLMetaDataTargetType",{enumerable:!0,get:function(){return O.IkasHTMLMetaDataTargetType}}),exports.initIkasMerchantSettings=C.initIkasMerchantSettings,Object.defineProperty(exports,"IkasMerchantSettingsAddressTypeEnum",{enumerable:!0,get:function(){return q.IkasMerchantSettingsAddressTypeEnum}}),Object.defineProperty(exports,"IkasAdjustmentType",{enumerable:!0,get:function(){return S.IkasAdjustmentType}}),Object.defineProperty(exports,"IkasAmountType",{enumerable:!0,get:function(){return S.IkasAmountType}}),Object.defineProperty(exports,"IkasInvoiceType",{enumerable:!0,get:function(){return h.IkasInvoiceType}}),Object.defineProperty(exports,"IkasProductUnitType",{enumerable:!0,get:function(){return A.IkasProductUnitType}}),Object.defineProperty(exports,"IkasOrderLineItemStatus",{enumerable:!0,get:function(){return v.IkasOrderLineItemStatus}}),Object.defineProperty(exports,"IkasOrderPackageFullfillStatus",{enumerable:!0,get:function(){return M.IkasOrderPackageFullfillStatus}}),Object.defineProperty(exports,"IkasTransactionCardAssociation",{enumerable:!0,get:function(){return w.IkasTransactionCardAssociation}}),Object.defineProperty(exports,"IkasTransactionCardType",{enumerable:!0,get:function(){return w.IkasTransactionCardType}}),Object.defineProperty(exports,"IkasTransactionStatus",{enumerable:!0,get:function(){return R.IkasTransactionStatus}}),Object.defineProperty(exports,"IkasTransactionType",{enumerable:!0,get:function(){return R.IkasTransactionType}}),Object.defineProperty(exports,"IkasOrderCancelReason",{enumerable:!0,get:function(){return V.IkasOrderCancelReason}}),Object.defineProperty(exports,"IkasOrderPackageStatus",{enumerable:!0,get:function(){return V.IkasOrderPackageStatus}}),Object.defineProperty(exports,"IkasOrderPaymentStatus",{enumerable:!0,get:function(){return V.IkasOrderPaymentStatus}}),Object.defineProperty(exports,"IkasOrderShippingMethod",{enumerable:!0,get:function(){return V.IkasOrderShippingMethod}}),Object.defineProperty(exports,"IkasOrderStatus",{enumerable:!0,get:function(){return V.IkasOrderStatus}}),Object.defineProperty(exports,"IkasPaymentGatewayAdditionalPriceType",{enumerable:!0,get:function(){return F.IkasPaymentGatewayAdditionalPriceType}}),Object.defineProperty(exports,"IkasPaymentGatewayTransactionFeeType",{enumerable:!0,get:function(){return F.IkasPaymentGatewayTransactionFeeType}}),Object.defineProperty(exports,"IkasPaymentGatewaySettingsType",{enumerable:!0,get:function(){return B.IkasPaymentGatewaySettingsType}}),exports.initIkasPaymentGateway=D.initIkasPaymentGateway,Object.defineProperty(exports,"IkasPaymentGatewayType",{enumerable:!0,get:function(){return L.IkasPaymentGatewayType}}),Object.defineProperty(exports,"IkasPaymentMethodType",{enumerable:!0,get:function(){return L.IkasPaymentMethodType}}),exports.initIkasProductAttribute=G.initIkasProductAttribute,Object.defineProperty(exports,"IkasProductAttributeType",{enumerable:!0,get:function(){return E.IkasProductAttributeType}}),exports.initIkasProductAttributeValue=H.initIkasProductAttributeValue,Object.defineProperty(exports,"IkasProductFilterDisplayType",{enumerable:!0,get:function(){return J.IkasProductFilterDisplayType}}),Object.defineProperty(exports,"IkasProductFilterSortType",{enumerable:!0,get:function(){return J.IkasProductFilterSortType}}),Object.defineProperty(exports,"IkasProductFilterType",{enumerable:!0,get:function(){return J.IkasProductFilterType}}),Object.defineProperty(exports,"IkasProductStockFilterValue",{enumerable:!0,get:function(){return J.IkasProductStockFilterValue}}),Object.defineProperty(exports,"IkasCampaignApplicablePrice",{enumerable:!0,get:function(){return U.IkasCampaignApplicablePrice}}),Object.defineProperty(exports,"IkasCampaignCreatedFor",{enumerable:!0,get:function(){return U.IkasCampaignCreatedFor}}),Object.defineProperty(exports,"IkasCampaignType",{enumerable:!0,get:function(){return U.IkasCampaignType}}),Object.defineProperty(exports,"IkasCampaignFilterType",{enumerable:!0,get:function(){return _.IkasCampaignFilterType}}),exports.initIkasProductImage=z.initIkasProductImage,exports.initIkasProductOption=K.initIkasProductOption,Object.defineProperty(exports,"IkasProductOptionSelectType",{enumerable:!0,get:function(){return N.IkasProductOptionSelectType}}),Object.defineProperty(exports,"IkasProductOptionType",{enumerable:!0,get:function(){return N.IkasProductOptionType}}),exports.initIkasProductOptionSet=Q.initIkasProductOptionSet,exports.initOptionValues=Q.initOptionValues,exports.initValues=Q.initValues,exports.setChildOptions=Q.setChildOptions,Object.defineProperty(exports,"IkasGetAvailableStockLocationType",{enumerable:!0,get:function(){return W.IkasGetAvailableStockLocationType}}),exports.initIkasProductVariant=X.initIkasProductVariant,exports.initIkasProductVariantType=Y.initIkasProductVariantType,exports.initIkasProduct=Z.initIkasProduct,Object.defineProperty(exports,"IkasProductType",{enumerable:!0,get:function(){return $.IkasProductType}}),exports.initIkasRaffle=ee.initIkasRaffle,Object.defineProperty(exports,"IkasRaffleMetadataTargetType",{enumerable:!0,get:function(){return te.IkasRaffleMetadataTargetType}}),Object.defineProperty(exports,"IkasRaffleParticipantStatus",{enumerable:!0,get:function(){return te.IkasRaffleParticipantStatus}}),Object.defineProperty(exports,"IkasRaffleVerificationType",{enumerable:!0,get:function(){return te.IkasRaffleVerificationType}}),exports.initIkasState=re.initIkasState,Object.defineProperty(exports,"IkasStockLocationDeliveryTime",{enumerable:!0,get:function(){return ne.IkasStockLocationDeliveryTime}}),Object.defineProperty(exports,"IkasStockLocationType",{enumerable:!0,get:function(){return ne.IkasStockLocationType}}),Object.defineProperty(exports,"IkasStorefrontThemeStatus",{enumerable:!0,get:function(){return ae.IkasStorefrontThemeStatus}}),Object.defineProperty(exports,"StorefrontPageTypesEnum",{enumerable:!0,get:function(){return ie.StorefrontPageTypesEnum}}),Object.defineProperty(exports,"IkasStorefrontStatus",{enumerable:!0,get:function(){return oe.IkasStorefrontStatus}}),Object.defineProperty(exports,"IkasThemeJsonComponentPropType",{enumerable:!0,get:function(){return se.IkasThemeJsonComponentPropType}}),Object.defineProperty(exports,"IkasThemeJsonPageType",{enumerable:!0,get:function(){return ue.IkasThemeJsonPageType}}),Object.defineProperty(exports,"IkasThemeJsonStockPreference",{enumerable:!0,get:function(){return pe.IkasThemeJsonStockPreference}}),exports.initIkasVariantValue=de.initIkasVariantValue,exports.initIkasVariantType=ce.initIkasVariantType,Object.defineProperty(exports,"IkasVariantSelectionType",{enumerable:!0,get:function(){return me.IkasVariantSelectionType}});
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./models/base/init.js"),t=require("./models/blog/category/init.js"),r=require("./models/blog/meta-data/index.js"),n=require("./models/blog/init.js"),i=require("./models/brand/index.js"),a=require("./models/brand/init.js"),o=require("./models/campaign-offer/product/index.js"),s=require("./models/campaign-offer/index.js"),u=require("./models/cart/available-shipping-method/estimated-delivery-time/index.js"),p=require("./models/cart/available-shipping-method/index.js"),d=require("./models/cart/campaign-offer/index.js"),c=require("./models/cart/index.js"),m=require("./models/category/conditions/index.js"),l=require("./models/category/index.js"),y=require("./models/category/init.js"),f=require("./models/checkout-settings/index.js"),k=require("./models/country/init.js"),I=require("./models/customer/attribute/sales-channel/index.js"),b=require("./models/customer/attribute/init.js"),g=require("./models/customer/attribute/index.js"),P=require("./models/customer/price-list-rule/filter/index.js"),j=require("./models/customer/review/init.js"),x=require("./models/customer/review/index.js"),T=require("./models/customer/index.js"),O=require("./models/html-meta-data/init.js"),C=require("./models/html-meta-data/index.js"),S=require("./models/merchant-settings/init.js");require("./models/merchant-settings/index.js");var q=require("./models/merchant-settings/address/type/index.js"),h=require("./models/order/adjustment/index.js"),A=require("./models/order/invoice/index.js"),v=require("./models/order/line-item/base-unit/index.js"),M=require("./models/order/line-item/index.js"),w=require("./models/order/package/index.js"),R=require("./models/order/transaction/payment-method-detail/index.js"),B=require("./models/order/transaction/index.js"),F=require("./models/order/index.js"),V=require("./models/payment-gateway/additional-price/index.js"),L=require("./models/payment-gateway/settings/index.js"),D=require("./models/payment-gateway/init.js"),E=require("./models/payment-gateway/index.js"),G=require("./models/product/attribute/init.js"),H=require("./models/product/attribute/index.js"),J=require("./models/product/attribute-value/init.js"),U=require("./models/product/filter/index.js"),_=require("./models/product/campaign/data/index.js"),z=require("./models/product/campaign/filter/index.js"),K=require("./models/product/image/init.js"),N=require("./models/product/option-set/option/init.js"),Q=require("./models/product/option-set/option/index.js"),W=require("./models/product/option-set/init.js"),X=require("./models/product/stock-location/index.js"),Y=require("./models/product/variant/init.js"),Z=require("./models/product/variant-type/init.js"),$=require("./models/product/init.js"),ee=require("./models/product/index.js"),te=require("./models/raffle/init.js"),re=require("./models/raffle/index.js"),ne=require("./models/state/init.js"),ie=require("./models/stock-location/index.js"),ae=require("./models/storefront/b2b-settings/index.js"),oe=require("./models/storefront/theme/index.js"),se=require("./models/storefront/meta-templates/index.js"),ue=require("./models/storefront/index.js"),pe=require("./models/theme-json/component/prop/index.js"),de=require("./models/theme-json/page/index.js"),ce=require("./models/theme-json/settings/index.js"),me=require("./models/variant-type/variant-value/init.js"),le=require("./models/variant-type/init.js"),ye=require("./models/variant-type/index.js");exports.createIkasBaseModel=e.createIkasBaseModel,exports.createIkasBlogCategory=t.createIkasBlogCategory,exports.initIkasBlogCategory=t.initIkasBlogCategory,Object.defineProperty(exports,"IkasBlogMetaDataTargetType",{enumerable:!0,get:function(){return r.IkasBlogMetaDataTargetType}}),exports.initIkasBlog=n.initIkasBlog,Object.defineProperty(exports,"IkasBrandOrderType",{enumerable:!0,get:function(){return i.IkasBrandOrderType}}),exports.initIkasBrand=a.initIkasBrand,Object.defineProperty(exports,"IkasCampaignOfferProductApplicablePriceEnum",{enumerable:!0,get:function(){return o.IkasCampaignOfferProductApplicablePriceEnum}}),Object.defineProperty(exports,"IkasCampaignOfferProductShowCriteria",{enumerable:!0,get:function(){return o.IkasCampaignOfferProductShowCriteria}}),Object.defineProperty(exports,"IkasCampaignOfferFollowUpActionType",{enumerable:!0,get:function(){return s.IkasCampaignOfferFollowUpActionType}}),Object.defineProperty(exports,"IkasCampaignOfferTargetPageType",{enumerable:!0,get:function(){return s.IkasCampaignOfferTargetPageType}}),Object.defineProperty(exports,"IkasCampaignOfferTriggerFilterType",{enumerable:!0,get:function(){return s.IkasCampaignOfferTriggerFilterType}}),Object.defineProperty(exports,"IkasCampaignOfferType",{enumerable:!0,get:function(){return s.IkasCampaignOfferType}}),Object.defineProperty(exports,"IkasLocalDeliverySettingsDeliveryTimeType",{enumerable:!0,get:function(){return u.IkasLocalDeliverySettingsDeliveryTimeType}}),Object.defineProperty(exports,"IkasShippingMethod",{enumerable:!0,get:function(){return p.IkasShippingMethod}}),Object.defineProperty(exports,"IkasCartCampaignOfferStatus",{enumerable:!0,get:function(){return d.IkasCartCampaignOfferStatus}}),Object.defineProperty(exports,"IkasCartCreatedBy",{enumerable:!0,get:function(){return c.IkasCartCreatedBy}}),Object.defineProperty(exports,"IkasCategoryConditionTypeEnum",{enumerable:!0,get:function(){return m.IkasCategoryConditionTypeEnum}}),Object.defineProperty(exports,"IkasCategoryProductsOrderType",{enumerable:!0,get:function(){return l.IkasCategoryProductsOrderType}}),exports.initIkasCategory=y.initIkasCategory,Object.defineProperty(exports,"IkasCheckoutRequirement",{enumerable:!0,get:function(){return f.IkasCheckoutRequirement}}),Object.defineProperty(exports,"IkasCouponCodeRequirement",{enumerable:!0,get:function(){return f.IkasCouponCodeRequirement}}),exports.initIkasCountry=k.initIkasCountry,Object.defineProperty(exports,"IkasCustomerAttributePermission",{enumerable:!0,get:function(){return I.IkasCustomerAttributePermission}}),Object.defineProperty(exports,"IkasCustomerAttributeRegisterPageRequirement",{enumerable:!0,get:function(){return I.IkasCustomerAttributeRegisterPageRequirement}}),exports.initIkasCustomerAttribute=b.initIkasCustomerAttribute,Object.defineProperty(exports,"IkasCustomerAttributeType",{enumerable:!0,get:function(){return g.IkasCustomerAttributeType}}),Object.defineProperty(exports,"IkasCustomerPriceListRuleFilterType",{enumerable:!0,get:function(){return P.IkasCustomerPriceListRuleFilterType}}),exports.initIkasCustomerReview=j.initIkasCustomerReview,Object.defineProperty(exports,"IkasCustomerReviewStatus",{enumerable:!0,get:function(){return x.IkasCustomerReviewStatus}}),Object.defineProperty(exports,"IkasCustomerAccountStatus",{enumerable:!0,get:function(){return T.IkasCustomerAccountStatus}}),Object.defineProperty(exports,"IkasCustomerEmailSubscriptionStatus",{enumerable:!0,get:function(){return T.IkasCustomerEmailSubscriptionStatus}}),Object.defineProperty(exports,"IkasCustomerRegistrationSource",{enumerable:!0,get:function(){return T.IkasCustomerRegistrationSource}}),exports.initIkasHTMLMetaData=O.initIkasHTMLMetaData,exports.setHTMLMetaDataTranslations=O.setHTMLMetaDataTranslations,Object.defineProperty(exports,"IkasHTMLMetaDataTargetType",{enumerable:!0,get:function(){return C.IkasHTMLMetaDataTargetType}}),exports.initIkasMerchantSettings=S.initIkasMerchantSettings,Object.defineProperty(exports,"IkasMerchantSettingsAddressTypeEnum",{enumerable:!0,get:function(){return q.IkasMerchantSettingsAddressTypeEnum}}),Object.defineProperty(exports,"IkasAdjustmentType",{enumerable:!0,get:function(){return h.IkasAdjustmentType}}),Object.defineProperty(exports,"IkasAmountType",{enumerable:!0,get:function(){return h.IkasAmountType}}),Object.defineProperty(exports,"IkasInvoiceType",{enumerable:!0,get:function(){return A.IkasInvoiceType}}),Object.defineProperty(exports,"IkasProductUnitType",{enumerable:!0,get:function(){return v.IkasProductUnitType}}),Object.defineProperty(exports,"IkasOrderLineItemStatus",{enumerable:!0,get:function(){return M.IkasOrderLineItemStatus}}),Object.defineProperty(exports,"IkasOrderPackageFullfillStatus",{enumerable:!0,get:function(){return w.IkasOrderPackageFullfillStatus}}),Object.defineProperty(exports,"IkasTransactionCardAssociation",{enumerable:!0,get:function(){return R.IkasTransactionCardAssociation}}),Object.defineProperty(exports,"IkasTransactionCardType",{enumerable:!0,get:function(){return R.IkasTransactionCardType}}),Object.defineProperty(exports,"IkasTransactionStatus",{enumerable:!0,get:function(){return B.IkasTransactionStatus}}),Object.defineProperty(exports,"IkasTransactionType",{enumerable:!0,get:function(){return B.IkasTransactionType}}),Object.defineProperty(exports,"IkasOrderCancelReason",{enumerable:!0,get:function(){return F.IkasOrderCancelReason}}),Object.defineProperty(exports,"IkasOrderPackageStatus",{enumerable:!0,get:function(){return F.IkasOrderPackageStatus}}),Object.defineProperty(exports,"IkasOrderPaymentStatus",{enumerable:!0,get:function(){return F.IkasOrderPaymentStatus}}),Object.defineProperty(exports,"IkasOrderShippingMethod",{enumerable:!0,get:function(){return F.IkasOrderShippingMethod}}),Object.defineProperty(exports,"IkasOrderStatus",{enumerable:!0,get:function(){return F.IkasOrderStatus}}),Object.defineProperty(exports,"IkasPaymentGatewayAdditionalPriceType",{enumerable:!0,get:function(){return V.IkasPaymentGatewayAdditionalPriceType}}),Object.defineProperty(exports,"IkasPaymentGatewayTransactionFeeType",{enumerable:!0,get:function(){return V.IkasPaymentGatewayTransactionFeeType}}),Object.defineProperty(exports,"IkasPaymentGatewaySettingsType",{enumerable:!0,get:function(){return L.IkasPaymentGatewaySettingsType}}),exports.initIkasPaymentGateway=D.initIkasPaymentGateway,Object.defineProperty(exports,"IkasPaymentGatewayType",{enumerable:!0,get:function(){return E.IkasPaymentGatewayType}}),Object.defineProperty(exports,"IkasPaymentMethodType",{enumerable:!0,get:function(){return E.IkasPaymentMethodType}}),exports.initIkasProductAttribute=G.initIkasProductAttribute,Object.defineProperty(exports,"IkasProductAttributeType",{enumerable:!0,get:function(){return H.IkasProductAttributeType}}),exports.initIkasProductAttributeValue=J.initIkasProductAttributeValue,Object.defineProperty(exports,"IkasProductFilterDisplayType",{enumerable:!0,get:function(){return U.IkasProductFilterDisplayType}}),Object.defineProperty(exports,"IkasProductFilterSortType",{enumerable:!0,get:function(){return U.IkasProductFilterSortType}}),Object.defineProperty(exports,"IkasProductFilterType",{enumerable:!0,get:function(){return U.IkasProductFilterType}}),Object.defineProperty(exports,"IkasProductStockFilterValue",{enumerable:!0,get:function(){return U.IkasProductStockFilterValue}}),Object.defineProperty(exports,"IkasCampaignApplicablePrice",{enumerable:!0,get:function(){return _.IkasCampaignApplicablePrice}}),Object.defineProperty(exports,"IkasCampaignCreatedFor",{enumerable:!0,get:function(){return _.IkasCampaignCreatedFor}}),Object.defineProperty(exports,"IkasCampaignType",{enumerable:!0,get:function(){return _.IkasCampaignType}}),Object.defineProperty(exports,"IkasCampaignFilterType",{enumerable:!0,get:function(){return z.IkasCampaignFilterType}}),exports.initIkasProductImage=K.initIkasProductImage,exports.initIkasProductOption=N.initIkasProductOption,Object.defineProperty(exports,"IkasProductOptionSelectType",{enumerable:!0,get:function(){return Q.IkasProductOptionSelectType}}),Object.defineProperty(exports,"IkasProductOptionType",{enumerable:!0,get:function(){return Q.IkasProductOptionType}}),exports.initIkasProductOptionSet=W.initIkasProductOptionSet,exports.initOptionValues=W.initOptionValues,exports.initValues=W.initValues,exports.setChildOptions=W.setChildOptions,Object.defineProperty(exports,"IkasGetAvailableStockLocationType",{enumerable:!0,get:function(){return X.IkasGetAvailableStockLocationType}}),exports.initIkasProductVariant=Y.initIkasProductVariant,exports.initIkasProductVariantType=Z.initIkasProductVariantType,exports.initIkasProduct=$.initIkasProduct,Object.defineProperty(exports,"IkasProductType",{enumerable:!0,get:function(){return ee.IkasProductType}}),exports.initIkasRaffle=te.initIkasRaffle,Object.defineProperty(exports,"IkasRaffleMetadataTargetType",{enumerable:!0,get:function(){return re.IkasRaffleMetadataTargetType}}),Object.defineProperty(exports,"IkasRaffleParticipantStatus",{enumerable:!0,get:function(){return re.IkasRaffleParticipantStatus}}),Object.defineProperty(exports,"IkasRaffleVerificationType",{enumerable:!0,get:function(){return re.IkasRaffleVerificationType}}),exports.initIkasState=ne.initIkasState,Object.defineProperty(exports,"IkasStockLocationDeliveryTime",{enumerable:!0,get:function(){return ie.IkasStockLocationDeliveryTime}}),Object.defineProperty(exports,"IkasStockLocationType",{enumerable:!0,get:function(){return ie.IkasStockLocationType}}),Object.defineProperty(exports,"IkasStorefrontB2BShowPricesEnum",{enumerable:!0,get:function(){return ae.IkasStorefrontB2BShowPricesEnum}}),Object.defineProperty(exports,"IkasStorefrontB2BShowProductsEnum",{enumerable:!0,get:function(){return ae.IkasStorefrontB2BShowProductsEnum}}),Object.defineProperty(exports,"IkasStorefrontThemeStatus",{enumerable:!0,get:function(){return oe.IkasStorefrontThemeStatus}}),Object.defineProperty(exports,"StorefrontPageTypesEnum",{enumerable:!0,get:function(){return se.StorefrontPageTypesEnum}}),Object.defineProperty(exports,"IkasStorefrontStatus",{enumerable:!0,get:function(){return ue.IkasStorefrontStatus}}),Object.defineProperty(exports,"IkasStorefrontType",{enumerable:!0,get:function(){return ue.IkasStorefrontType}}),Object.defineProperty(exports,"IkasThemeJsonComponentPropType",{enumerable:!0,get:function(){return pe.IkasThemeJsonComponentPropType}}),Object.defineProperty(exports,"IkasThemeJsonPageType",{enumerable:!0,get:function(){return de.IkasThemeJsonPageType}}),Object.defineProperty(exports,"IkasThemeJsonStockPreference",{enumerable:!0,get:function(){return ce.IkasThemeJsonStockPreference}}),exports.initIkasVariantValue=me.initIkasVariantValue,exports.initIkasVariantType=le.initIkasVariantType,Object.defineProperty(exports,"IkasVariantSelectionType",{enumerable:!0,get:function(){return ye.IkasVariantSelectionType}});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IkasCustomerAddress } from "./address";
|
|
2
2
|
import { IkasCustomerAttributeValue } from "./attribute/value";
|
|
3
3
|
import { IkasBaseModel } from "../base";
|
|
4
|
+
import { IkasCustomerPriceListRule } from "./price-list-rule";
|
|
4
5
|
export declare type IkasCustomer = {
|
|
5
6
|
accountStatusUpdatedAt: number | null;
|
|
6
7
|
customerGroupIds: string[] | null;
|
|
@@ -19,6 +20,8 @@ export declare type IkasCustomer = {
|
|
|
19
20
|
phoneVerifiedDate: number | null;
|
|
20
21
|
subscriptionStatusUpdatedAt: number | null;
|
|
21
22
|
tagIds: string[] | null;
|
|
23
|
+
priceListId: string | null;
|
|
24
|
+
priceListRules: IkasCustomerPriceListRule[] | null;
|
|
22
25
|
registrationSource: IkasCustomerRegistrationSource | null;
|
|
23
26
|
accountStatus: IkasCustomerAccountStatus | null;
|
|
24
27
|
addresses: IkasCustomerAddress[] | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare type IkasCustomerPriceListRuleFilter = {
|
|
2
|
+
type: IkasCustomerPriceListRuleFilterType;
|
|
3
|
+
valueList: string[];
|
|
4
|
+
};
|
|
5
|
+
export declare enum IkasCustomerPriceListRuleFilterType {
|
|
6
|
+
CATEGORY = "CATEGORY",
|
|
7
|
+
PRODUCT = "PRODUCT",
|
|
8
|
+
PRODUCT_BRAND = "PRODUCT_BRAND",
|
|
9
|
+
PRODUCT_TAG = "PRODUCT_TAG"
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCustomerPriceListRuleFilterType=void 0,(e=exports.IkasCustomerPriceListRuleFilterType||(exports.IkasCustomerPriceListRuleFilterType={})).CATEGORY="CATEGORY",e.PRODUCT="PRODUCT",e.PRODUCT_BRAND="PRODUCT_BRAND",e.PRODUCT_TAG="PRODUCT_TAG";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IkasHTMLMetaData } from "../html-meta-data";
|
|
2
|
+
import { IkasImage } from "../image";
|
|
2
3
|
export declare type IkasFilterCategory = {
|
|
3
4
|
id: string;
|
|
4
5
|
name: string;
|
|
@@ -6,4 +7,6 @@ export declare type IkasFilterCategory = {
|
|
|
6
7
|
isAutomated: boolean | null;
|
|
7
8
|
resultCount: number | null;
|
|
8
9
|
isSelected: boolean;
|
|
10
|
+
imageId: string | null;
|
|
11
|
+
image?: IkasImage | null;
|
|
9
12
|
};
|
|
@@ -30,6 +30,7 @@ export declare type IkasOrder = {
|
|
|
30
30
|
orderPaymentStatus: IkasOrderPaymentStatus | null;
|
|
31
31
|
orderedAt: number | null;
|
|
32
32
|
paymentMethods: IkasOrderPaymentMethod[] | null;
|
|
33
|
+
priceListId: string | null;
|
|
33
34
|
shippingAddress: IkasOrderAddress | null;
|
|
34
35
|
shippingLines: IkasOrderShippingLine[] | null;
|
|
35
36
|
shippingMethod: IkasOrderShippingMethod;
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
import { IkasOrderLineVariantTag } from "../../tag";
|
|
9
|
+
export declare type IkasOrderLineBundleVariant = {
|
|
10
|
+
barcodeList: string[] | null;
|
|
11
|
+
baseUnit: IkasOrderLineBaseUnit | null;
|
|
12
|
+
brand: IkasOrderLineVariantBrand | null;
|
|
13
|
+
categories: IkasOrderLineVariantCategory[] | null;
|
|
14
|
+
fileId: string | null;
|
|
15
|
+
id: string | null;
|
|
16
|
+
mainImageId: string | null;
|
|
17
|
+
name: string;
|
|
18
|
+
prices: IkasOrderLineVariantPrice[] | null;
|
|
19
|
+
productId: string | null;
|
|
20
|
+
sku: string | null;
|
|
21
|
+
slug: string | null;
|
|
22
|
+
tagIds: string[] | null;
|
|
23
|
+
tags: IkasOrderLineVariantTag[] | null;
|
|
24
|
+
taxValue: number | null;
|
|
25
|
+
type: number | null;
|
|
26
|
+
unit: IkasOrderLineVariantUnit | null;
|
|
27
|
+
weight: number | null;
|
|
28
|
+
hsCode: string | null;
|
|
29
|
+
variantValues: IkasOrderLineVariantVariantValue[] | null;
|
|
30
|
+
mainImage?: IkasImage | null;
|
|
31
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IkasOrderLineBundleVariant } from "./bundle-variant";
|
|
2
|
+
export declare type IkasOrderLineVariantBundleProduct = {
|
|
3
|
+
deleted: boolean | null;
|
|
4
|
+
discountPrice: number | null;
|
|
5
|
+
discountRatio: number | null;
|
|
6
|
+
finalPrice: number | null;
|
|
7
|
+
order: number;
|
|
8
|
+
price: number;
|
|
9
|
+
quantity: number;
|
|
10
|
+
taxValue: number | null;
|
|
11
|
+
variant: IkasOrderLineBundleVariant;
|
|
12
|
+
};
|
|
@@ -6,11 +6,14 @@ import { IkasImage } from "../../../image";
|
|
|
6
6
|
import { IkasOrderLineBaseUnit } from "../base-unit";
|
|
7
7
|
import { IkasOrderLineVariantUnit } from "./unit";
|
|
8
8
|
import { IkasOrderLineVariantTag } from "./tag";
|
|
9
|
+
import { IkasOrderLineVariantBundleProduct } from "./bundle-product";
|
|
9
10
|
export declare type IkasOrderLineVariant = {
|
|
10
11
|
barcodeList: string[] | null;
|
|
11
12
|
baseUnit: IkasOrderLineBaseUnit | null;
|
|
12
13
|
brand: IkasOrderLineVariantBrand | null;
|
|
14
|
+
bundleProducts: IkasOrderLineVariantBundleProduct[] | null;
|
|
13
15
|
categories: IkasOrderLineVariantCategory[] | null;
|
|
16
|
+
fileId: string | null;
|
|
14
17
|
id: string | null;
|
|
15
18
|
mainImageId: string | null;
|
|
16
19
|
name: string;
|
|
@@ -24,6 +27,7 @@ export declare type IkasOrderLineVariant = {
|
|
|
24
27
|
type: number | null;
|
|
25
28
|
unit: IkasOrderLineVariantUnit | null;
|
|
26
29
|
weight: number | null;
|
|
30
|
+
hsCode: string | null;
|
|
27
31
|
variantValues: IkasOrderLineVariantVariantValue[] | null;
|
|
28
32
|
mainImage?: IkasImage | null;
|
|
29
33
|
};
|
|
@@ -31,6 +31,8 @@ export declare type IkasProduct = {
|
|
|
31
31
|
reviewCount: number | null;
|
|
32
32
|
stars: IkasProductStar[] | null;
|
|
33
33
|
groupVariantsByVariantTypeId: string | null;
|
|
34
|
+
dynamicPriceListIds: string[] | null;
|
|
35
|
+
productVolumeDiscountId: string | null;
|
|
34
36
|
};
|
|
35
37
|
export declare enum IkasProductType {
|
|
36
38
|
PHYSICAL = "PHYSICAL",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare type IkasBundleProduct = {
|
|
2
|
+
addToBundleBasePrice: boolean | null;
|
|
3
|
+
discountRatio: number | null;
|
|
4
|
+
filteredVariantIds: string[];
|
|
5
|
+
maxQuantity: number | null;
|
|
6
|
+
minQuantity: number | null;
|
|
7
|
+
order: number;
|
|
8
|
+
productId: string;
|
|
9
|
+
quantity: number;
|
|
10
|
+
};
|
|
@@ -4,13 +4,15 @@ import { IkasProductAttributeValue } from "../attribute-value";
|
|
|
4
4
|
import { IkasProductCampaign } from "../campaign";
|
|
5
5
|
import { IkasProductImage } from "../image";
|
|
6
6
|
import { IkasProductVariantUnit } from "./unit";
|
|
7
|
+
import { IkasBundleSettings } from "./bundle-settings";
|
|
7
8
|
export declare type IkasProductVariant = {
|
|
8
9
|
id: string;
|
|
9
10
|
sku: string | null;
|
|
10
11
|
barcodeList: string[] | null;
|
|
12
|
+
baseBundlePrices: IkasProductPrice[] | null;
|
|
11
13
|
variantValues: IkasVariantValue[];
|
|
12
14
|
attributes: IkasProductAttributeValue[];
|
|
13
|
-
|
|
15
|
+
prices: IkasProductPrice[];
|
|
14
16
|
stock: number;
|
|
15
17
|
isActive: boolean;
|
|
16
18
|
productId: string;
|
|
@@ -18,4 +20,5 @@ export declare type IkasProductVariant = {
|
|
|
18
20
|
images: IkasProductImage[] | null;
|
|
19
21
|
campaigns?: IkasProductCampaign[];
|
|
20
22
|
unit: IkasProductVariantUnit | null;
|
|
23
|
+
bundleSettings: IkasBundleSettings | null;
|
|
21
24
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare type IkasStorefrontB2BSettings = {
|
|
2
|
+
allowOnlyApprovedCustomersToLogin: boolean;
|
|
3
|
+
showPrices: IkasStorefrontB2BShowPricesEnum;
|
|
4
|
+
showProducts: IkasStorefrontB2BShowProductsEnum;
|
|
5
|
+
};
|
|
6
|
+
export declare enum IkasStorefrontB2BShowPricesEnum {
|
|
7
|
+
ALWAYS = "ALWAYS",
|
|
8
|
+
NEVER = "NEVER",
|
|
9
|
+
ONLY_TO_CUSTOMERS = "ONLY_TO_CUSTOMERS"
|
|
10
|
+
}
|
|
11
|
+
export declare enum IkasStorefrontB2BShowProductsEnum {
|
|
12
|
+
ALWAYS = "ALWAYS",
|
|
13
|
+
ONLY_TO_CUSTOMERS = "ONLY_TO_CUSTOMERS"
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var o,r;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasStorefrontB2BShowPricesEnum=void 0,(o=exports.IkasStorefrontB2BShowPricesEnum||(exports.IkasStorefrontB2BShowPricesEnum={})).ALWAYS="ALWAYS",o.NEVER="NEVER",o.ONLY_TO_CUSTOMERS="ONLY_TO_CUSTOMERS",exports.IkasStorefrontB2BShowProductsEnum=void 0,(r=exports.IkasStorefrontB2BShowProductsEnum||(exports.IkasStorefrontB2BShowProductsEnum={})).ALWAYS="ALWAYS",r.ONLY_TO_CUSTOMERS="ONLY_TO_CUSTOMERS";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IkasImage } from "../../image";
|
|
2
|
+
export declare type IkasIndexPageSeoSetting = {
|
|
3
|
+
canonicals: string[] | null;
|
|
4
|
+
createdAt: any | null;
|
|
5
|
+
deleted: boolean;
|
|
6
|
+
description: string | null;
|
|
7
|
+
disableIndex: boolean | null;
|
|
8
|
+
favIcon: string | null;
|
|
9
|
+
id: string;
|
|
10
|
+
locale: string;
|
|
11
|
+
pageTitle: string | null;
|
|
12
|
+
slug: string | null;
|
|
13
|
+
updatedAt: any | null;
|
|
14
|
+
icon?: IkasImage | null;
|
|
15
|
+
};
|
|
@@ -3,6 +3,8 @@ import { IkasStorefrontDomain } from "./domain";
|
|
|
3
3
|
import { IkasStorefrontRouting } from "./routing";
|
|
4
4
|
import { IkasStorefrontTheme } from "./theme";
|
|
5
5
|
import { IkasStorefontMetaTemplates } from "./meta-templates";
|
|
6
|
+
import { IkasIndexPageSeoSetting } from "./index-page-seo-setting";
|
|
7
|
+
import { IkasStorefrontB2BSettings } from "./b2b-settings";
|
|
6
8
|
export declare enum IkasStorefrontStatus {
|
|
7
9
|
WAITING = "WAITING",
|
|
8
10
|
READY = "READY"
|
|
@@ -11,6 +13,7 @@ export declare type IkasStorefront = {
|
|
|
11
13
|
id: string;
|
|
12
14
|
name: string;
|
|
13
15
|
status: IkasStorefrontStatus;
|
|
16
|
+
b2bSettings: IkasStorefrontB2BSettings | null;
|
|
14
17
|
mainStorefrontThemeId: string | null;
|
|
15
18
|
pickUpStockLocationIds: string[] | null;
|
|
16
19
|
emailSettingsId: string | null;
|
|
@@ -21,10 +24,16 @@ export declare type IkasStorefront = {
|
|
|
21
24
|
universalAnalyticsId: string | null;
|
|
22
25
|
tiktokPixelId: string | null;
|
|
23
26
|
token: string | null;
|
|
27
|
+
type: IkasStorefrontType;
|
|
24
28
|
metaTemplates: IkasStorefontMetaTemplates[] | null;
|
|
25
29
|
robotsTxt: string | null;
|
|
26
30
|
localizations: IkasStorefrontLocalization[];
|
|
27
31
|
routings: IkasStorefrontRouting[];
|
|
28
32
|
domains: IkasStorefrontDomain[];
|
|
29
33
|
themes: IkasStorefrontTheme[];
|
|
34
|
+
indexPageSeoSettings: IkasIndexPageSeoSetting[];
|
|
30
35
|
};
|
|
36
|
+
export declare enum IkasStorefrontType {
|
|
37
|
+
B2B_STOREFRONT = "B2B_STOREFRONT",
|
|
38
|
+
STOREFRONT = "STOREFRONT"
|
|
39
|
+
}
|
|
@@ -1 +1 @@
|
|
|
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
|
+
"use strict";var t,e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasStorefrontStatus=void 0,(t=exports.IkasStorefrontStatus||(exports.IkasStorefrontStatus={})).WAITING="WAITING",t.READY="READY",exports.IkasStorefrontType=void 0,(e=exports.IkasStorefrontType||(exports.IkasStorefrontType={})).B2B_STOREFRONT="B2B_STOREFRONT",e.STOREFRONT="STOREFRONT";
|