@ikas/bp-storefront 0.15.0 → 0.17.0
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/dist/{storefront/src/analytics → analytics}/analytics-functions/addToCart.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/analytics-functions/completeRegistration.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/analytics-functions/contactForm.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/analytics-functions/helpers.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/analytics-functions/pageView.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/analytics-functions/productView.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/analytics-functions/removeFromCart.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/analytics-functions/viewBrand.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/analytics-functions/viewCart.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/analytics-functions/viewCategory.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/analytics-functions/viewListing.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/analytics-functions/viewSearchResults.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/analytics-functions/viewStorefrontPopup.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/facebook/addToCart.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/facebook/productView.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/facebook/purchase.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/facebook/viewCart.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/google-analytics/addToCart.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/google-analytics/productView.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/google-analytics/removeFromCart.d.ts +1 -1
- package/dist/analytics/google-analytics/viewCart.d.ts +2 -0
- package/dist/{storefront/src/analytics → analytics}/google-tag-manager/addToCart.d.ts +2 -2
- package/dist/{storefront/src/analytics → analytics}/google-tag-manager/completeRegistration.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/google-tag-manager/productView.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/google-tag-manager/removeFromCart.d.ts +2 -2
- package/dist/{storefront/src/analytics → analytics}/google-tag-manager/viewCart.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/google-tag-manager/viewCategory.d.ts +3 -3
- package/dist/{storefront/src/analytics → analytics}/ikas/analytics.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/tiktok/addToCart.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/tiktok/productView.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/tiktok/viewCategory.d.ts +1 -1
- package/dist/{storefront/src/analytics → analytics}/utils.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/api/blog/index.d.ts +5 -5
- package/dist/{storefront/src/functions → functions}/api/brand/index.d.ts +3 -3
- package/dist/{storefront/src/functions → functions}/api/cart/index.d.ts +9 -9
- package/dist/{storefront/src/functions → functions}/api/category/index.d.ts +3 -3
- package/dist/functions/api/checkout/index.d.ts +32 -0
- package/dist/functions/api/customer/index.d.ts +204 -0
- package/dist/{storefront/src/functions → functions}/api/file/index.d.ts +3 -3
- package/dist/functions/api/html-meta-data/index.d.ts +4 -0
- package/dist/{storefront/src/functions → functions}/api/location/index.d.ts +7 -7
- package/dist/{storefront/src/functions → functions}/api/loyalty/index.d.ts +7 -7
- package/dist/functions/api/masterpass/index.d.ts +2 -0
- package/dist/functions/api/merchant/index.d.ts +4 -0
- package/dist/functions/api/popup/index.d.ts +4 -0
- package/dist/{storefront/src/functions → functions}/api/product/index.d.ts +21 -21
- package/dist/{storefront/src/functions → functions}/api/raffle/index.d.ts +5 -5
- package/dist/functions/api/storefront/index.d.ts +3 -0
- package/dist/{storefront/src/functions → functions}/models/attribute-detail/index.d.ts +2 -2
- package/dist/{storefront/src/functions → functions}/models/attribute-list/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/base/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/blog/category/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/blog/category/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/blog/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/blog/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/blog-category-list/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/blog-category-list/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/blog-list/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/blog-list/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/brand/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/brand/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/brand-list/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/brand-list/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/campaign-offer/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/category/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/category/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/category/path-item/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/category/path-item/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/category-list/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/category-list/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/checkout/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/country/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/customer/address/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/customer/attribute/index.d.ts +3 -3
- package/dist/{storefront/src/functions → functions}/models/customer/attribute/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/customer/index.d.ts +2 -2
- package/dist/{storefront/src/functions → functions}/models/customer/review/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/customer/review/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/customer-review-list/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/customer-review-list/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/customer-review-summary-list/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/customer-review-summary-list/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/filter-category/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/html-meta-data/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/ikas-theme/date-picker.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/image/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/merchant-settings/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/order/address/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/order/adjustment/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/order/gift-package/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/order/index.d.ts +7 -7
- package/dist/{storefront/src/functions → functions}/models/order/line-item/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/order/line-item/option/value/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/order/line-item/variant/bundle-product/bundle-variant/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/order/line-item/variant/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/order/line-item/variant/value/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/order/package/index.d.ts +2 -2
- package/dist/{storefront/src/functions → functions}/models/order/transaction/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/payment-gateway/index.d.ts +2 -2
- package/dist/{storefront/src/functions → functions}/models/payment-gateway/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/product/attribute/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/product/attribute-value/index.d.ts +2 -2
- package/dist/{storefront/src/functions → functions}/models/product/attribute-value/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/product/campaign-offer/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/product/campaign-offer/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/product/campaign-offer/product/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/product/filter/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/product/filter/settings/init.d.ts +2 -2
- package/dist/{storefront/src/functions → functions}/models/product/group/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/product/image/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/product/index.d.ts +47 -47
- package/dist/{storefront/src/functions → functions}/models/product/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/product/option-set/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/product/option-set/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/product/option-set/option/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/product/option-set/option/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/product/stock-location/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/product/variant/index.d.ts +34 -34
- package/dist/{storefront/src/functions → functions}/models/product/variant/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/product/variant/price/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/product/variant-type/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/product-list/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/raffle/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/raffle/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/state/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/validator/account-info/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/validator/address/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/validator/back-in-stock-notification/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/validator/contact-form/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/validator/coupon-code-form/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/validator/customer-review/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/validator/forgot-password/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/validator/login/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/validator/newsletter-subscription/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/validator/order-tracking/index.d.ts +2 -2
- package/dist/{storefront/src/functions → functions}/models/validator/recover-password/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/validator/register/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/validator/sms-login/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/validator/verify-phone-number/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/variant-type/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/variant-type/init.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/models/variant-type/variant-value/index.d.ts +1 -1
- package/dist/{storefront/src/functions → functions}/stores/base/index.d.ts +2 -2
- package/dist/{storefront/src/functions → functions}/stores/cart/index.d.ts +9 -9
- package/dist/{storefront/src/functions → functions}/stores/customer/index.d.ts +9 -9
- package/dist/{storefront/src/index.d.ts → index.d.ts} +4 -4
- package/dist/{storefront/src/router → router}/index.d.ts +1 -1
- package/dist/{storefront/src/stores → stores}/base/index.d.ts +1 -1
- package/dist/{storefront/src/stores → stores}/cart/index.d.ts +1 -1
- package/dist/{storefront/src/stores → stores}/customer/index.d.ts +3 -3
- package/dist/{storefront/src/theme → theme}/styles/index.d.ts +1 -1
- package/package.json +2 -2
- package/dist/storefront/src/analytics/google-analytics/viewCart.d.ts +0 -2
- package/dist/storefront/src/functions/api/checkout/index.d.ts +0 -32
- package/dist/storefront/src/functions/api/customer/index.d.ts +0 -204
- package/dist/storefront/src/functions/api/html-meta-data/index.d.ts +0 -4
- package/dist/storefront/src/functions/api/masterpass/index.d.ts +0 -2
- package/dist/storefront/src/functions/api/merchant/index.d.ts +0 -4
- package/dist/storefront/src/functions/api/popup/index.d.ts +0 -4
- package/dist/storefront/src/functions/api/storefront/index.d.ts +0 -3
- /package/dist/{storefront/src/analytics → analytics}/analytics-functions/addToWishlist.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/analytics-functions/createEmailSubscription.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/analytics-functions/customerLogin.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/analytics-functions/customerLogout.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/analytics-functions/customerVisit.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/analytics-functions/index.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/analytics-functions/search.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/analytics.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/events.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/facebook/addToWishlist.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/facebook/completeRegistration.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/facebook/contactForm.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/facebook/pageView.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/facebook/search.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/facebook/utils.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/facebook/viewCategory.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/google-analytics/search.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/google-analytics/utils.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/google-tag-manager/customerLogin.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/google-tag-manager/customerLogout.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/google-tag-manager/customerVisit.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/google-tag-manager/disableHTML.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/google-tag-manager/pageView.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/google-tag-manager/search.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/google-tag-manager/utils.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/tiktok/addToWishlist.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/tiktok/completeRegistration.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/tiktok/contactForm.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/tiktok/identify.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/tiktok/pageView.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/tiktok/search.d.ts +0 -0
- /package/dist/{storefront/src/analytics → analytics}/tiktok/utils.d.ts +0 -0
- /package/dist/{storefront/src/externals → externals}/index.d.ts +0 -0
- /package/dist/{storefront/src/functions → functions}/models/index.d.ts +0 -0
- /package/dist/{storefront/src/functions → functions}/models/validator/index.d.ts +0 -0
- /package/dist/{storefront/src/functions → functions}/others/index.d.ts +0 -0
- /package/dist/{storefront/src/functions → functions}/stores/index.d.ts +0 -0
- /package/dist/{storefront/src/i18n → i18n}/index.d.ts +0 -0
- /package/dist/{storefront/src/theme → theme}/infinite-scroller/index.d.ts +0 -0
- /package/dist/{storefront/src/theme → theme}/overlay/index.d.ts +0 -0
- /package/dist/{storefront/src/theme → theme}/slider/index.d.ts +0 -0
- /package/dist/{storefront/src/utils → utils}/blueprint.d.ts +0 -0
- /package/dist/{storefront/src/utils → utils}/currency.d.ts +0 -0
- /package/dist/{storefront/src/utils → utils}/fetch.d.ts +0 -0
- /package/dist/{storefront/src/utils → utils}/helper.d.ts +0 -0
- /package/dist/{storefront/src/utils → utils}/object-wrapper.d.ts +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { APIResponse, CartV2 } from "
|
|
2
|
-
import { RemoveLoyaltyPointsFromCartQueryParams } from "
|
|
3
|
-
import { UseLoyaltyPointsQueryParams } from "
|
|
4
|
-
import { GetLoyaltyCustomerInfoQueryParams } from "
|
|
5
|
-
import { ListLoyaltyProgramPointHistoryQueryParams } from "
|
|
6
|
-
import { ListSpendingMethodsByCartIdQueryParams } from "
|
|
7
|
-
import { IkasLoyaltyCustomerInfo, IkasLoyaltyProgramEarningMethod, IkasLoyaltyProgramPointHistory, IkasLoyaltyProgramSpendingMethod, IkasLoyaltyProgramTier, IkasStorefrontWidgetSettings } from "
|
|
1
|
+
import { APIResponse, CartV2 } from "../../../storefront-api/src";
|
|
2
|
+
import { RemoveLoyaltyPointsFromCartQueryParams } from "../../../storefront-api/src/__api/mutations/removeLoyaltyPointsFromCart";
|
|
3
|
+
import { UseLoyaltyPointsQueryParams } from "../../../storefront-api/src/__api/mutations/useLoyaltyPoints";
|
|
4
|
+
import { GetLoyaltyCustomerInfoQueryParams } from "../../../storefront-api/src/__api/queries/getLoyaltyCustomerInfo";
|
|
5
|
+
import { ListLoyaltyProgramPointHistoryQueryParams } from "../../../storefront-api/src/__api/queries/listLoyaltyProgramPointHistory";
|
|
6
|
+
import { ListSpendingMethodsByCartIdQueryParams } from "../../../storefront-api/src/__api/queries/listSpendingMethodsByCartId";
|
|
7
|
+
import { IkasLoyaltyCustomerInfo, IkasLoyaltyProgramEarningMethod, IkasLoyaltyProgramPointHistory, IkasLoyaltyProgramSpendingMethod, IkasLoyaltyProgramTier, IkasStorefrontWidgetSettings } from "../../../storefront-models/src";
|
|
8
8
|
export declare function apiGetStorefrontWidgetSettings(): Promise<APIResponse<IkasStorefrontWidgetSettings>>;
|
|
9
9
|
export declare function apiListEarningMethods(): Promise<APIResponse<IkasLoyaltyProgramEarningMethod[]>>;
|
|
10
10
|
export declare function apiListLoyaltyProgramTiers(): Promise<APIResponse<IkasLoyaltyProgramTier[]>>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import type { GetMasterPassRequestTokenQueryParams } from "../../../storefront-api/src/__api/queries/getMasterPassRequestToken";
|
|
2
|
+
export declare function apiGetMasterPassRequestToken(data: GetMasterPassRequestTokenQueryParams): Promise<import("../../../storefront-api-client/src").APIResponse<undefined> | import("../../../storefront-api-client/src").APIResponse<import("../../../storefront-api/src").MasterPassTokenResponse>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ListMerchantSettingsQueryParams } from "../../../storefront-api/src/__api/queries/listMerchantSettings";
|
|
2
|
+
import { APIResponse } from "../../../storefront-api-client/src";
|
|
3
|
+
import { IkasMerchantSettings } from "../../../storefront-models/src";
|
|
4
|
+
export declare function apiListMerchantSettings(params: ListMerchantSettingsQueryParams): Promise<APIResponse<IkasMerchantSettings | null>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { APIResponse } from "../../../storefront-api/src";
|
|
2
|
+
import { ListStorefrontPopupQueryParams } from "../../../storefront-api/src/__api/queries/listStorefrontPopup";
|
|
3
|
+
import { IkasStorefrontPopup } from "../../../storefront-models/src";
|
|
4
|
+
export declare function apiListStorefrontPopup(params: ListStorefrontPopupQueryParams): Promise<APIResponse<IkasStorefrontPopup[]>>;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import type { SearchProduct, SortByTypeEnum } from "
|
|
2
|
-
import type { GetOrderLineFileQueryParams } from "
|
|
3
|
-
import type { SaveProductBackInStockRemindQueryParams } from "
|
|
4
|
-
import type { GetProductCampaignsQueryParams } from "
|
|
5
|
-
import type { GetProductFilterDataQueryParams } from "
|
|
6
|
-
import type { GetRelatedProductsQueryParams } from "
|
|
7
|
-
import type { GetSuggestedProductsQueryParams } from "
|
|
8
|
-
import type { GetVariantStockLocationsQueryParams } from "
|
|
9
|
-
import type { ListCampaignOfferQueryParams } from "
|
|
10
|
-
import type { ListProductAttributeQueryParams } from "
|
|
11
|
-
import type { ListProductBackInStockRemindQueryParams } from "
|
|
12
|
-
import type { ListProductOptionSetQueryParams } from "
|
|
13
|
-
import type { SearchProductsQueryParams } from "
|
|
14
|
-
import { APIResponse } from "
|
|
15
|
-
import { IkasFilterCategory, IkasProduct, IkasProductAttribute, IkasProductCampaign, IkasProductFilter, IkasProductOptionSet, IkasProductStockLocations } from "
|
|
16
|
-
export declare function apiListProductBackInStockRemind(params: ListProductBackInStockRemindQueryParams): Promise<APIResponse<import("
|
|
17
|
-
export declare function apiSaveProductBackInStockRemind(params: SaveProductBackInStockRemindQueryParams): Promise<APIResponse<undefined> | APIResponse<import("
|
|
18
|
-
export declare function apiListCampaignOffer(params: ListCampaignOfferQueryParams): Promise<APIResponse<import("
|
|
1
|
+
import type { SearchProduct, SortByTypeEnum } from "../../../storefront-api/src";
|
|
2
|
+
import type { GetOrderLineFileQueryParams } from "../../../storefront-api/src/__api/mutations/getOrderLineFile";
|
|
3
|
+
import type { SaveProductBackInStockRemindQueryParams } from "../../../storefront-api/src/__api/mutations/saveProductBackInStockRemind";
|
|
4
|
+
import type { GetProductCampaignsQueryParams } from "../../../storefront-api/src/__api/queries/getProductCampaigns";
|
|
5
|
+
import type { GetProductFilterDataQueryParams } from "../../../storefront-api/src/__api/queries/getProductFilterData";
|
|
6
|
+
import type { GetRelatedProductsQueryParams } from "../../../storefront-api/src/__api/queries/getRelatedProducts";
|
|
7
|
+
import type { GetSuggestedProductsQueryParams } from "../../../storefront-api/src/__api/queries/getSuggestedProducts";
|
|
8
|
+
import type { GetVariantStockLocationsQueryParams } from "../../../storefront-api/src/__api/queries/getVariantStockLocations";
|
|
9
|
+
import type { ListCampaignOfferQueryParams } from "../../../storefront-api/src/__api/queries/listCampaignOffer";
|
|
10
|
+
import type { ListProductAttributeQueryParams } from "../../../storefront-api/src/__api/queries/listProductAttribute";
|
|
11
|
+
import type { ListProductBackInStockRemindQueryParams } from "../../../storefront-api/src/__api/queries/listProductBackInStockRemind";
|
|
12
|
+
import type { ListProductOptionSetQueryParams } from "../../../storefront-api/src/__api/queries/listProductOptionSet";
|
|
13
|
+
import type { SearchProductsQueryParams } from "../../../storefront-api/src/__api/queries/searchProducts";
|
|
14
|
+
import { APIResponse } from "../../../storefront-api-client/src";
|
|
15
|
+
import { IkasFilterCategory, IkasProduct, IkasProductAttribute, IkasProductCampaign, IkasProductFilter, IkasProductOptionSet, IkasProductStockLocations } from "../../../storefront-models/src";
|
|
16
|
+
export declare function apiListProductBackInStockRemind(params: ListProductBackInStockRemindQueryParams): Promise<APIResponse<import("../../../storefront-api/src").ProductBackInStockRemind[]> | APIResponse<undefined>>;
|
|
17
|
+
export declare function apiSaveProductBackInStockRemind(params: SaveProductBackInStockRemindQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../../storefront-api/src").ProductBackInStockRemind>>;
|
|
18
|
+
export declare function apiListCampaignOffer(params: ListCampaignOfferQueryParams): Promise<APIResponse<import("../../../storefront-api/src").CampaignOffer[] | null>>;
|
|
19
19
|
export declare function apiSearchProducts(params: SearchProductsQueryParams, excludedFields?: string[]): Promise<APIResponse<{
|
|
20
20
|
data: IkasProduct[] | undefined;
|
|
21
|
-
catalogResults: import("
|
|
21
|
+
catalogResults: import("../../../storefront-api/src").SearchCatalog[] | null;
|
|
22
22
|
count: number;
|
|
23
|
-
facets: import("
|
|
23
|
+
facets: import("../../../storefront-api/src").ProductFacetCount[] | null;
|
|
24
24
|
limit: number;
|
|
25
25
|
page: number;
|
|
26
26
|
results: SearchProduct[];
|
|
27
|
-
suggestions: import("
|
|
27
|
+
suggestions: import("../../../storefront-api/src").SearchSuggestion[] | null;
|
|
28
28
|
totalCount: number;
|
|
29
29
|
} | null>>;
|
|
30
30
|
export declare function apiGetProductFilterData(params: GetProductFilterDataQueryParams): Promise<APIResponse<{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { SaveRaffleParticipantQueryParams } from "
|
|
2
|
-
import type { ListRaffleMetadataQueryParams } from "
|
|
3
|
-
import type { ListStorefrontRaffleQueryParams } from "
|
|
4
|
-
import { APIResponse } from "
|
|
5
|
-
import { IkasRaffle, IkasRaffleMetaData, IkasRaffleParticipant } from "
|
|
1
|
+
import type { SaveRaffleParticipantQueryParams } from "../../../storefront-api/src/__api/mutations/saveRaffleParticipant";
|
|
2
|
+
import type { ListRaffleMetadataQueryParams } from "../../../storefront-api/src/__api/queries/listRaffleMetadata";
|
|
3
|
+
import type { ListStorefrontRaffleQueryParams } from "../../../storefront-api/src/__api/queries/listStorefrontRaffle";
|
|
4
|
+
import { APIResponse } from "../../../storefront-api-client/src";
|
|
5
|
+
import { IkasRaffle, IkasRaffleMetaData, IkasRaffleParticipant } from "../../../storefront-models/src";
|
|
6
6
|
export declare function apiListStorefrontRaffle(params: ListStorefrontRaffleQueryParams): Promise<APIResponse<{
|
|
7
7
|
data: IkasRaffle[];
|
|
8
8
|
count?: number | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasProductAttributeDetail } from "
|
|
1
|
+
import { IkasProductAttributeDetail } from "../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Retrieves the attribute values for a product attribute detail, merging variant and product-level attributes.
|
|
4
4
|
*
|
|
@@ -18,4 +18,4 @@ import { IkasProductAttributeDetail } from "../../../../../storefront-models/src
|
|
|
18
18
|
* });
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
|
-
export declare function getAttributeDetailValues(attributeDetail: IkasProductAttributeDetail): import("
|
|
21
|
+
export declare function getAttributeDetailValues(attributeDetail: IkasProductAttributeDetail): import("../../../storefront-models/src").IkasProductAttributeValue[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasProductAttributeList, IkasProductAttributeMap } from "
|
|
1
|
+
import { IkasProductAttributeList, IkasProductAttributeMap } from "../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Retrieves grouped attribute values for a product attribute list, combining variant and product-level attributes.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasBlogCategory } from "
|
|
1
|
+
import { IkasBlogCategory } from "../../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Creates and returns a new default IkasBlogCategory instance with base model fields, empty metadata, and initialized image.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasBrand } from "
|
|
1
|
+
import { IkasBrand } from "../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Initializes a brand by resolving its image from imageId, initializing its HTML metadata, and applying locale-specific translations.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasCheckout, IkasPaymentGateway } from "
|
|
1
|
+
import { IkasCheckout, IkasPaymentGateway } from "../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Determines whether a checkout process is complete based on the checkout origin and payment status.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AddressForm, IkasCheckoutSettings, IkasCustomerAddress } from "
|
|
1
|
+
import { AddressForm, IkasCheckoutSettings, IkasCustomerAddress } from "../../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Builds a comma-separated text representation of a customer address from its non-empty fields.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasCustomerAttribute } from "
|
|
1
|
+
import { IkasCustomerAttribute } from "../../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Retrieves the account page permission for a customer attribute based on the current sales channel.
|
|
4
4
|
*
|
|
@@ -17,7 +17,7 @@ import { IkasCustomerAttribute } from "../../../../../../storefront-models/src";
|
|
|
17
17
|
* }
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
|
-
export declare function getCustomerAttributeAccountPagePermission(attribute: IkasCustomerAttribute): import("
|
|
20
|
+
export declare function getCustomerAttributeAccountPagePermission(attribute: IkasCustomerAttribute): import("../../../../storefront-models/src").IkasCustomerAttributePermission | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* Retrieves the register page requirement for a customer attribute based on the current sales channel.
|
|
23
23
|
*
|
|
@@ -36,4 +36,4 @@ export declare function getCustomerAttributeAccountPagePermission(attribute: Ika
|
|
|
36
36
|
* }
|
|
37
37
|
* ```
|
|
38
38
|
*/
|
|
39
|
-
export declare function getCustomerAttributeRegisterPageRequirement(attribute: IkasCustomerAttribute): import("
|
|
39
|
+
export declare function getCustomerAttributeRegisterPageRequirement(attribute: IkasCustomerAttribute): import("../../../../storefront-models/src").IkasCustomerAttributeRegisterPageRequirement | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasCustomerAttribute } from "
|
|
1
|
+
import { IkasCustomerAttribute } from "../../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Initializes a customer attribute by applying locale-specific translations and removing the raw translations array.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasCustomer } from "
|
|
1
|
+
import { IkasCustomer } from "../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Checks whether the customer is subscribed or has a pending subscription confirmation.
|
|
4
4
|
*
|
|
@@ -43,5 +43,5 @@ export declare function getCustomerBasicInfo(customer: IkasCustomer): {
|
|
|
43
43
|
isEmailVerified: boolean | null;
|
|
44
44
|
isPhoneVerified: boolean | null;
|
|
45
45
|
orderCount: number | null;
|
|
46
|
-
subscriptionStatus: import("
|
|
46
|
+
subscriptionStatus: import("../../../storefront-models/src").IkasCustomerEmailSubscriptionStatus | null;
|
|
47
47
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasCustomerReviewList, IkasProduct } from "
|
|
1
|
+
import { IkasCustomerReviewList, IkasProduct } from "../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Calculates the total number of pages for a customer review list based on count and limit.
|
|
4
4
|
*
|
package/dist/{storefront/src/functions → functions}/models/customer-review-summary-list/index.d.ts
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasCustomerReviewSummaryList } from "
|
|
1
|
+
import { IkasCustomerReviewSummaryList } from "../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Checks whether the customer review summary list has a previous page available for navigation.
|
|
4
4
|
*
|
package/dist/{storefront/src/functions → functions}/models/customer-review-summary-list/init.d.ts
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasCustomerReviewSummaryList } from "
|
|
1
|
+
import { IkasCustomerReviewSummaryList } from "../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Initializes a customer review summary list with default values, merging in any provided partial data.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasOrderAdjustment } from "
|
|
1
|
+
import { IkasOrderAdjustment } from "../../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Returns the formatted currency string for an order adjustment amount, negated if the adjustment is a decrement.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasDisplayedPackage, IkasOrder } from "
|
|
1
|
+
import { IkasDisplayedPackage, IkasOrder } from "../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Initializes an IkasOrder by filtering deleted line items and enriching adjustments and gift package lines with currency information.
|
|
4
4
|
*
|
|
@@ -79,7 +79,7 @@ export declare function getIkasOrderDisplayedPackages(order: IkasOrder): IkasDis
|
|
|
79
79
|
* const refundableItems = getIkasOrderRefundableItems(order);
|
|
80
80
|
* ```
|
|
81
81
|
*/
|
|
82
|
-
export declare function getIkasOrderRefundableItems(order: IkasOrder): import("
|
|
82
|
+
export declare function getIkasOrderRefundableItems(order: IkasOrder): import("../../../storefront-models/src").IkasOrderLineItem[];
|
|
83
83
|
/**
|
|
84
84
|
* Checks whether the order has any line items that are eligible for refund and still have refundable quantity remaining.
|
|
85
85
|
*
|
|
@@ -113,7 +113,7 @@ export declare function isIkasOrderRefundable(order: IkasOrder): boolean;
|
|
|
113
113
|
* const unfulfilledItems = getIkasOrderUnfullfilledItems(order);
|
|
114
114
|
* ```
|
|
115
115
|
*/
|
|
116
|
-
export declare function getIkasOrderUnfullfilledItems(order: IkasOrder): import("
|
|
116
|
+
export declare function getIkasOrderUnfullfilledItems(order: IkasOrder): import("../../../storefront-models/src").IkasOrderLineItem[];
|
|
117
117
|
/**
|
|
118
118
|
* Returns order line items that are in any refund-related status, including refunded, refund requested, accepted, or rejected.
|
|
119
119
|
*
|
|
@@ -129,7 +129,7 @@ export declare function getIkasOrderUnfullfilledItems(order: IkasOrder): import(
|
|
|
129
129
|
* const refundedItems = getIkasOrderRefundedItems(order);
|
|
130
130
|
* ```
|
|
131
131
|
*/
|
|
132
|
-
export declare function getIkasOrderRefundedItems(order: IkasOrder): import("
|
|
132
|
+
export declare function getIkasOrderRefundedItems(order: IkasOrder): import("../../../storefront-models/src").IkasOrderLineItem[];
|
|
133
133
|
/**
|
|
134
134
|
* Calculates the total tax amount by summing all tax line prices on the order.
|
|
135
135
|
*
|
|
@@ -344,7 +344,7 @@ export declare function getIkasOrderPackageStatusTranslation(order: IkasOrder):
|
|
|
344
344
|
* }
|
|
345
345
|
* ```
|
|
346
346
|
*/
|
|
347
|
-
export declare function getIkasOrderCouponAdjustment(order: IkasOrder): import("
|
|
347
|
+
export declare function getIkasOrderCouponAdjustment(order: IkasOrder): import("../../../storefront-models/src").IkasOrderAdjustment | undefined;
|
|
348
348
|
/**
|
|
349
349
|
* Returns all order adjustments that are not coupon-based (e.g., campaigns, promotions).
|
|
350
350
|
*
|
|
@@ -360,7 +360,7 @@ export declare function getIkasOrderCouponAdjustment(order: IkasOrder): import("
|
|
|
360
360
|
* const promotions = getIkasOrderNonCouponAdjustments(order);
|
|
361
361
|
* ```
|
|
362
362
|
*/
|
|
363
|
-
export declare function getIkasOrderNonCouponAdjustments(order: IkasOrder): import("
|
|
363
|
+
export declare function getIkasOrderNonCouponAdjustments(order: IkasOrder): import("../../../storefront-models/src").IkasOrderAdjustment[] | undefined;
|
|
364
364
|
/**
|
|
365
365
|
* Extracts file IDs from order line item variants that have associated downloadable files, excluding refunded items.
|
|
366
366
|
*
|
|
@@ -393,7 +393,7 @@ export declare function getIkasOrderProductFiles(order: IkasOrder): string[];
|
|
|
393
393
|
* adjustments?.forEach(adj => console.log(adj.name));
|
|
394
394
|
* ```
|
|
395
395
|
*/
|
|
396
|
-
export declare function getIkasOrderDisplayedAdjustments(order: IkasOrder): import("
|
|
396
|
+
export declare function getIkasOrderDisplayedAdjustments(order: IkasOrder): import("../../../storefront-models/src").IkasOrderAdjustment[] | undefined;
|
|
397
397
|
/**
|
|
398
398
|
* Generates the storefront URL path to the order detail page, including the route prefix.
|
|
399
399
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasImage, IkasOrderLineBundleVariant } from "
|
|
1
|
+
import { IkasImage, IkasOrderLineBundleVariant } from "../../../../../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Retrieves the main image of an order line item bundle variant as an IkasImage object.
|
|
4
4
|
*
|
package/dist/{storefront/src/functions → functions}/models/order/line-item/variant/index.d.ts
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasImage, IkasOrderLineVariant } from "
|
|
1
|
+
import { IkasImage, IkasOrderLineVariant } from "../../../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Builds the product page URL for an order line item variant, including variant query parameters.
|
|
4
4
|
*
|
package/dist/{storefront/src/functions → functions}/models/order/line-item/variant/value/index.d.ts
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasOrderLineVariantVariantValue } from "
|
|
1
|
+
import { IkasOrderLineVariantVariantValue } from "../../../../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Converts the variant type name of an order line item variant value into a URL-friendly slug.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasOrder, IkasOrderPackage } from "
|
|
1
|
+
import { IkasOrder, IkasOrderPackage } from "../../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Filters and returns the order line items that belong to a specific order package.
|
|
4
4
|
*
|
|
@@ -17,4 +17,4 @@ import { IkasOrder, IkasOrderPackage } from "../../../../../../storefront-models
|
|
|
17
17
|
* lineItems.forEach(item => console.log(item.name));
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
|
-
export declare function getOrderPackageOrderLineItems(order: IkasOrder, orderPackage: IkasOrderPackage): import("
|
|
20
|
+
export declare function getOrderPackageOrderLineItems(order: IkasOrder, orderPackage: IkasOrderPackage): import("../../../../storefront-models/src").IkasOrderLineItem[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasOrderTransaction } from "
|
|
1
|
+
import { IkasOrderTransaction } from "../../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Returns the formatted currency string for an order transaction amount, defaulting to zero and empty strings for missing values.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasOrderShippingLine, IkasPaymentGateway } from "
|
|
1
|
+
import { IkasOrderShippingLine, IkasPaymentGateway } from "../../../storefront-models/src";
|
|
2
2
|
/**
|
|
3
3
|
* Calculates the additional price adjustments for a payment gateway, applying ratio-based or fixed amounts sequentially after excluding shipping costs.
|
|
4
4
|
*
|
|
@@ -27,5 +27,5 @@ import { IkasOrderShippingLine, IkasPaymentGateway } from "../../../../../storef
|
|
|
27
27
|
export declare function getPaymentGatewayCalculatedAdditionalPrices(paymentGateway: IkasPaymentGateway, totalFinalPrice: number, shippingLines: IkasOrderShippingLine[] | null): {
|
|
28
28
|
name: string;
|
|
29
29
|
amount: number;
|
|
30
|
-
type: import("
|
|
30
|
+
type: import("../../../storefront-models/src").IkasPaymentGatewayAdditionalPriceType;
|
|
31
31
|
}[] | undefined;
|