@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,2 +1,2 @@
|
|
|
1
|
-
import { IkasCart, IkasOrderLineItem, IkasProduct } from "
|
|
1
|
+
import { IkasCart, IkasOrderLineItem, IkasProduct } from "../../storefront-models/src";
|
|
2
2
|
export declare function anl_addToCart(item: IkasOrderLineItem, quantity: number, eventId: string, cart: IkasCart, product?: IkasProduct): Promise<void>;
|
package/dist/{storefront/src/analytics → analytics}/analytics-functions/completeRegistration.d.ts
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasCustomer } from "
|
|
1
|
+
import { IkasCustomer } from "../../storefront-models/src";
|
|
2
2
|
export declare function anl_completeRegistration(customer: IkasCustomer, isOnlyIkasEvent?: boolean): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasContactForm } from "
|
|
1
|
+
import { IkasContactForm } from "../../storefront-models/src";
|
|
2
2
|
export declare function anl_contactForm(form: IkasContactForm): Promise<void>;
|
|
@@ -8,5 +8,5 @@ export declare function getCustomerInfo(): Promise<{
|
|
|
8
8
|
isEmailVerified: boolean | null;
|
|
9
9
|
isPhoneVerified: boolean | null;
|
|
10
10
|
orderCount: number | null;
|
|
11
|
-
subscriptionStatus: import("
|
|
11
|
+
subscriptionStatus: import("../../storefront-models/src").IkasCustomerEmailSubscriptionStatus | null;
|
|
12
12
|
} | null>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasThemePageType } from "
|
|
1
|
+
import { IkasThemePageType } from "../../storefront-models/src";
|
|
2
2
|
export declare function anl_pageView(pageType: IkasThemePageType): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasProduct } from "
|
|
1
|
+
import { IkasProduct } from "../../storefront-models/src";
|
|
2
2
|
export declare function anl_productView(productDetail: IkasProduct): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasCart, IkasOrderLineItem, IkasProduct } from "
|
|
1
|
+
import { IkasCart, IkasOrderLineItem, IkasProduct } from "../../storefront-models/src";
|
|
2
2
|
export declare function anl_removeFromCart(item: IkasProduct | IkasOrderLineItem, quantity: number, cart: IkasCart): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasBrand } from "
|
|
1
|
+
import { IkasBrand } from "../../storefront-models/src";
|
|
2
2
|
export declare function anl_viewBrand(brand: IkasBrand): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasCart } from "
|
|
1
|
+
import { IkasCart } from "../../storefront-models/src";
|
|
2
2
|
export declare function anl_viewCart(cart: IkasCart | null | undefined): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasCategory } from "
|
|
1
|
+
import { IkasCategory } from "../../storefront-models/src";
|
|
2
2
|
export declare function anl_viewCategory(categoryPath: string, category: IkasCategory): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasProduct } from "
|
|
1
|
+
import { IkasProduct } from "../../storefront-models/src";
|
|
2
2
|
export declare function anl_viewListing(productDetails: IkasProduct[]): void;
|
package/dist/{storefront/src/analytics → analytics}/analytics-functions/viewSearchResults.d.ts
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasProduct } from "
|
|
1
|
+
import { IkasProduct } from "../../storefront-models/src";
|
|
2
2
|
export declare function anl_viewSearchResults(searchKeyword: string, productDetails: IkasProduct[]): void;
|
package/dist/{storefront/src/analytics → analytics}/analytics-functions/viewStorefrontPopup.d.ts
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasStorefrontPopup } from "
|
|
1
|
+
import { IkasStorefrontPopup } from "../../storefront-models/src";
|
|
2
2
|
export declare function anl_viewStorefrontPopup(popup: IkasStorefrontPopup): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasOrderLineItem } from "
|
|
1
|
+
import { IkasOrderLineItem } from "../../storefront-models/src";
|
|
2
2
|
export declare function fbp_addToCart(item: IkasOrderLineItem, eventId: string): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasProduct } from "
|
|
1
|
+
import { IkasProduct } from "../../storefront-models/src";
|
|
2
2
|
export declare function fbp_productView(productDetail: IkasProduct, eventId: string): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasCheckout } from "
|
|
1
|
+
import { IkasCheckout } from "../../storefront-models/src";
|
|
2
2
|
export declare function fbp_purchase(checkout: IkasCheckout, eventId: string): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasCart } from "
|
|
1
|
+
import { IkasCart } from "../../storefront-models/src";
|
|
2
2
|
export declare function fbp_viewCart(cart: IkasCart, eventId: string): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasOrderLineItem, IkasProduct } from "
|
|
1
|
+
import { IkasOrderLineItem, IkasProduct } from "../../storefront-models/src";
|
|
2
2
|
export declare function ga_addToCart(item: IkasProduct | IkasOrderLineItem, quantity: number): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasProduct } from "
|
|
1
|
+
import { IkasProduct } from "../../storefront-models/src";
|
|
2
2
|
export declare function ga_productView(productDetail: IkasProduct): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasOrderLineItem, IkasProduct } from "
|
|
1
|
+
import { IkasOrderLineItem, IkasProduct } from "../../storefront-models/src";
|
|
2
2
|
export declare function ga_removeFromCart(item: IkasProduct | IkasOrderLineItem, quantity: number): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasOrderLineItem, IkasProduct } from "
|
|
1
|
+
import { IkasOrderLineItem, IkasProduct } from "../../storefront-models/src";
|
|
2
2
|
export declare function gtm_addToCart(item: IkasProduct | IkasOrderLineItem, quantity: number, product?: IkasProduct): {
|
|
3
3
|
event: string;
|
|
4
4
|
ecommerce: {
|
|
@@ -17,6 +17,6 @@ export declare function gtm_addToCart(item: IkasProduct | IkasOrderLineItem, qua
|
|
|
17
17
|
index: number;
|
|
18
18
|
quantity: number;
|
|
19
19
|
}[];
|
|
20
|
-
cart: import("
|
|
20
|
+
cart: import("../../storefront-models/src").IkasCart | null;
|
|
21
21
|
};
|
|
22
22
|
} | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasOrderLineItem, IkasProduct } from "
|
|
1
|
+
import { IkasOrderLineItem, IkasProduct } from "../../storefront-models/src";
|
|
2
2
|
export declare function gtm_removeFromCart(item: IkasProduct | IkasOrderLineItem, quantity: number): {
|
|
3
3
|
event: string;
|
|
4
4
|
ecommerce: {
|
|
@@ -17,6 +17,6 @@ export declare function gtm_removeFromCart(item: IkasProduct | IkasOrderLineItem
|
|
|
17
17
|
index: number;
|
|
18
18
|
quantity: number;
|
|
19
19
|
}[];
|
|
20
|
-
cart: import("
|
|
20
|
+
cart: import("../../storefront-models/src").IkasCart | null;
|
|
21
21
|
};
|
|
22
22
|
} | undefined;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { IkasCategory } from "
|
|
1
|
+
import { IkasCategory } from "../../storefront-models/src";
|
|
2
2
|
export declare function gtm_viewCategory(category: IkasCategory, categoryPath: string): {
|
|
3
3
|
event: string;
|
|
4
4
|
ecommerce: {
|
|
5
5
|
category: {
|
|
6
6
|
id: string;
|
|
7
7
|
name: string;
|
|
8
|
-
metaData: import("
|
|
8
|
+
metaData: import("../../storefront-models/src").IkasHTMLMetaData | null;
|
|
9
9
|
href: string;
|
|
10
|
-
image: import("
|
|
10
|
+
image: import("../../storefront-models/src").IkasImage | null | undefined;
|
|
11
11
|
path: string;
|
|
12
12
|
}[];
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasBrand, IkasCart, IkasCategory, IkasCheckout, IkasOrderLineItem, IkasProduct, IkasThemePageType } from "
|
|
1
|
+
import { IkasBrand, IkasCart, IkasCategory, IkasCheckout, IkasOrderLineItem, IkasProduct, IkasThemePageType } from "../../storefront-models/src";
|
|
2
2
|
export default class IkasAnalytics {
|
|
3
3
|
static SESSION_ID_KEY: string;
|
|
4
4
|
static VISITOR_ID_KEY: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasOrderLineItem } from "
|
|
1
|
+
import { IkasOrderLineItem } from "../../storefront-models/src";
|
|
2
2
|
export declare function tik_addToCart(item: IkasOrderLineItem, quantity: number): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasProduct } from "
|
|
1
|
+
import { IkasProduct } from "../../storefront-models/src";
|
|
2
2
|
export declare function tik_productView(productDetail: IkasProduct): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IkasCategory } from "
|
|
1
|
+
import { IkasCategory } from "../../storefront-models/src";
|
|
2
2
|
export declare function tik_viewCategory(category: IkasCategory): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasCart, IkasCategory, IkasCheckout, IkasOrderLineItem, IkasProduct } from "
|
|
1
|
+
import { IkasCart, IkasCategory, IkasCheckout, IkasOrderLineItem, IkasProduct } from "../storefront-models/src";
|
|
2
2
|
export declare const canTrack: () => boolean;
|
|
3
3
|
export declare const hasFacebookPixel: () => boolean;
|
|
4
4
|
export declare const hasGoogleAnalytics: () => boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ListBlogQueryParams } from "
|
|
2
|
-
import type { ListBlogCategoryQueryParams } from "
|
|
3
|
-
import type { ListBlogMetadataQueryParams } from "
|
|
4
|
-
import { APIResponse } from "
|
|
5
|
-
import { IkasBlog, IkasBlogCategory, IkasBlogMetaData } from "
|
|
1
|
+
import type { ListBlogQueryParams } from "../../../storefront-api/src/__api/queries/listBlog";
|
|
2
|
+
import type { ListBlogCategoryQueryParams } from "../../../storefront-api/src/__api/queries/listBlogCategory";
|
|
3
|
+
import type { ListBlogMetadataQueryParams } from "../../../storefront-api/src/__api/queries/listBlogMetadata";
|
|
4
|
+
import { APIResponse } from "../../../storefront-api-client/src";
|
|
5
|
+
import { IkasBlog, IkasBlogCategory, IkasBlogMetaData } from "../../../storefront-models/src";
|
|
6
6
|
export declare function apiListBlog(params: ListBlogQueryParams): Promise<APIResponse<{
|
|
7
7
|
data: IkasBlog[];
|
|
8
8
|
count?: number | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ListProductBrandQueryParams } from "
|
|
2
|
-
import { APIResponse } from "
|
|
3
|
-
import { IkasBrand } from "
|
|
1
|
+
import type { ListProductBrandQueryParams } from "../../../storefront-api/src/__api/queries/listProductBrand";
|
|
2
|
+
import { APIResponse } from "../../../storefront-api-client/src";
|
|
3
|
+
import { IkasBrand } from "../../../storefront-models/src";
|
|
4
4
|
export type { ListProductBrandQueryParams };
|
|
5
5
|
export declare function apiListProductBrand(params: ListProductBrandQueryParams): Promise<APIResponse<{
|
|
6
6
|
data: IkasBrand[] | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type { AddItemToCartQueryParams } from "
|
|
2
|
-
import { CreatePayWithIkasSessionUrlQueryParams } from "
|
|
3
|
-
import type { SaveCartQueryParams } from "
|
|
4
|
-
import type { SaveCartCouponCodeQueryParams } from "
|
|
5
|
-
import type { UpdateCartCampaignOfferQueryParams } from "
|
|
6
|
-
import type { GetCartByIdQueryParams } from "
|
|
7
|
-
import { APIResponse } from "
|
|
8
|
-
import { IkasCart } from "
|
|
1
|
+
import type { AddItemToCartQueryParams } from "../../../storefront-api/src/__api/mutations/addItemToCart";
|
|
2
|
+
import { CreatePayWithIkasSessionUrlQueryParams } from "../../../storefront-api/src/__api/mutations/createPayWithIkasSessionUrl";
|
|
3
|
+
import type { SaveCartQueryParams } from "../../../storefront-api/src/__api/mutations/saveCart";
|
|
4
|
+
import type { SaveCartCouponCodeQueryParams } from "../../../storefront-api/src/__api/mutations/saveCartCouponCode";
|
|
5
|
+
import type { UpdateCartCampaignOfferQueryParams } from "../../../storefront-api/src/__api/mutations/updateCartCampaignOffer";
|
|
6
|
+
import type { GetCartByIdQueryParams } from "../../../storefront-api/src/__api/queries/getCartById";
|
|
7
|
+
import { APIResponse } from "../../../storefront-api-client/src";
|
|
8
|
+
import { IkasCart } from "../../../storefront-models/src";
|
|
9
9
|
export declare function apiGetCartById(params: GetCartByIdQueryParams): Promise<APIResponse<IkasCart | null>>;
|
|
10
10
|
export declare function apiSaveCart(params: SaveCartQueryParams): Promise<APIResponse<IkasCart | null>>;
|
|
11
|
-
export declare function apiCreatePayWithIkasSessionUrl(params: CreatePayWithIkasSessionUrlQueryParams): Promise<APIResponse<import("
|
|
11
|
+
export declare function apiCreatePayWithIkasSessionUrl(params: CreatePayWithIkasSessionUrlQueryParams): Promise<APIResponse<import("../../../storefront-api/src").CreatePayWithIkasSessionUrlResponse>>;
|
|
12
12
|
export declare function apiSaveCartCouponCode(params: SaveCartCouponCodeQueryParams): Promise<APIResponse<IkasCart | null>>;
|
|
13
13
|
export declare function apiAddItemToCart(params: AddItemToCartQueryParams): Promise<APIResponse<IkasCart | null>>;
|
|
14
14
|
export declare function apiUpdateCartCampaignOffer(params: UpdateCartCampaignOfferQueryParams): Promise<APIResponse<IkasCart | null>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ListCategoryQueryParams } from "
|
|
2
|
-
import { APIResponse } from "
|
|
3
|
-
import { IkasCategory } from "
|
|
1
|
+
import type { ListCategoryQueryParams } from "../../../storefront-api/src/__api/queries/listCategory";
|
|
2
|
+
import { APIResponse } from "../../../storefront-api-client/src";
|
|
3
|
+
import { IkasCategory } from "../../../storefront-models/src";
|
|
4
4
|
export declare function apiListCategory(params: ListCategoryQueryParams, excludedFieldsCategory?: string[] | null): Promise<APIResponse<{
|
|
5
5
|
data: IkasCategory[] | undefined;
|
|
6
6
|
count?: number | undefined;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { CreateAdyenBalancePlatformPaymentSessionQueryParams } from "../../../storefront-api/src/__api/mutations/createAdyenBalancePlatformPaymentSession";
|
|
2
|
+
import type { CreateKlarnaClientTokenQueryParams } from "../../../storefront-api/src/__api/mutations/createKlarnaClientToken";
|
|
3
|
+
import type { CreatePaypalOrderQueryParams } from "../../../storefront-api/src/__api/mutations/createPaypalOrder";
|
|
4
|
+
import type { CreateSaleTransactionWithCartQueryParams } from "../../../storefront-api/src/__api/mutations/createSaleTransactionWithCart";
|
|
5
|
+
import type { CreateStripePaymentIntentQueryParams } from "../../../storefront-api/src/__api/mutations/createStripePaymentIntent";
|
|
6
|
+
import type { GetPaypalClientIdQueryParams } from "../../../storefront-api/src/__api/mutations/getPaypalClientId";
|
|
7
|
+
import type { RetrieveInstallmentInfoQueryParams } from "../../../storefront-api/src/__api/mutations/retrieveInstallmentInfo";
|
|
8
|
+
import type { CheckCartStocksQueryParams } from "../../../storefront-api/src/__api/queries/checkCartStocks";
|
|
9
|
+
import type { CheckStocksQueryParams } from "../../../storefront-api/src/__api/queries/checkStocks";
|
|
10
|
+
import type { GetAvailableShippingCountriesQueryParams } from "../../../storefront-api/src/__api/queries/getAvailableShippingCountries";
|
|
11
|
+
import type { GetAvailableStockLocationsQueryParams } from "../../../storefront-api/src/__api/queries/getAvailableStockLocations";
|
|
12
|
+
import type { ListCheckoutSettingsQueryParams } from "../../../storefront-api/src/__api/queries/listCheckoutSettings";
|
|
13
|
+
import type { ListPaymentGatewayQueryParams } from "../../../storefront-api/src/__api/queries/listPaymentGateway";
|
|
14
|
+
import type { ListProductFileQueryParams } from "../../../storefront-api/src/__api/queries/listProductFile";
|
|
15
|
+
import type { ListStockLocationQueryParams } from "../../../storefront-api/src/__api/queries/listStockLocation";
|
|
16
|
+
import { APIResponse } from "../../../storefront-api-client/src";
|
|
17
|
+
import { IkasAvailableStockLocation, IkasCheckoutSettings, IkasPaymentGateway, IkasStockLocation } from "../../../storefront-models/src";
|
|
18
|
+
export declare function apiCreateSaleTransactionWithCart(params: CreateSaleTransactionWithCartQueryParams): Promise<APIResponse<import("../../../storefront-api/src").TransactionResponse> | APIResponse<undefined>>;
|
|
19
|
+
export declare function apiListPaymentGateway(params: ListPaymentGatewayQueryParams): Promise<APIResponse<IkasPaymentGateway[]>>;
|
|
20
|
+
export declare function apiListProductFile(params: ListProductFileQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../../storefront-api/src").ProductFile[]>>;
|
|
21
|
+
export declare function apiRetrieveInstallmentInfo(params: RetrieveInstallmentInfoQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../../storefront-api/src").RetrieveInstallmentInfoResponse>>;
|
|
22
|
+
export declare function apiCheckStocks(params: CheckStocksQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../../storefront-api/src").CheckStocksResponse>>;
|
|
23
|
+
export declare function apiCheckCartStocks(params: CheckCartStocksQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../../storefront-api/src").CheckStocksResponse>>;
|
|
24
|
+
export declare function apiListCheckoutSettings(params: ListCheckoutSettingsQueryParams): Promise<APIResponse<IkasCheckoutSettings[]>>;
|
|
25
|
+
export declare function apiGetAvailableShippingCountries(params: GetAvailableShippingCountriesQueryParams): Promise<APIResponse<undefined> | APIResponse<string[]>>;
|
|
26
|
+
export declare function apiListStockLocations(params: ListStockLocationQueryParams): Promise<APIResponse<IkasStockLocation[]>>;
|
|
27
|
+
export declare function apiGetAvailableStockLocations(params: GetAvailableStockLocationsQueryParams): Promise<APIResponse<IkasAvailableStockLocation[]>>;
|
|
28
|
+
export declare function apiCreateStripePaymentIntent(params: CreateStripePaymentIntentQueryParams): Promise<APIResponse<import("../../../storefront-api/src").CreateStripePaymentIntentResponse>>;
|
|
29
|
+
export declare function apiCreateKlarnaClientToken(params: CreateKlarnaClientTokenQueryParams): Promise<APIResponse<import("../../../storefront-api/src").CreateKlarnaTokenResponse>>;
|
|
30
|
+
export declare function apiCreateAdyenBalancePlatformPaymentSession(params: CreateAdyenBalancePlatformPaymentSessionQueryParams): Promise<APIResponse<import("../../../storefront-api/src").CreateAdyenPlatformSessionResponse>>;
|
|
31
|
+
export declare function apiGetPayPalClientId(params: GetPaypalClientIdQueryParams): Promise<APIResponse<import("../../../storefront-api/src").GetPaypalClientIdResponse>>;
|
|
32
|
+
export declare function apiCreatePayPalOrder(params: CreatePaypalOrderQueryParams): Promise<APIResponse<import("../../../storefront-api/src").CreatePaypalOrderResponse>>;
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import type { ActivateCustomerQueryParams } from "../../../storefront-api/src/__api/mutations/activateCustomer";
|
|
2
|
+
import type { CreateCustomerReviewQueryParams } from "../../../storefront-api/src/__api/mutations/createCustomerReview";
|
|
3
|
+
import type { CreateOrderRefundRequestQueryParams } from "../../../storefront-api/src/__api/mutations/createOrderRefundRequest";
|
|
4
|
+
import type { CustomerDeactivateQueryParams } from "../../../storefront-api/src/__api/mutations/customerDeactivate";
|
|
5
|
+
import type { CustomerForgotPasswordQueryParams } from "../../../storefront-api/src/__api/mutations/customerForgotPassword";
|
|
6
|
+
import type { CustomerLoginQueryParams } from "../../../storefront-api/src/__api/mutations/customerLogin";
|
|
7
|
+
import type { CustomerRecoverPasswordQueryParams } from "../../../storefront-api/src/__api/mutations/customerRecoverPassword";
|
|
8
|
+
import type { CustomerRefreshTokenQueryParams } from "../../../storefront-api/src/__api/mutations/customerRefreshToken";
|
|
9
|
+
import type { RegisterCustomerQueryParams } from "../../../storefront-api/src/__api/mutations/registerCustomer";
|
|
10
|
+
import type { ResendCustomerActivationMailQueryParams } from "../../../storefront-api/src/__api/mutations/resendCustomerActivationMail";
|
|
11
|
+
import type { SaveCustomerFormDataQueryParams } from "../../../storefront-api/src/__api/mutations/saveCustomerFormData";
|
|
12
|
+
import type { SaveFavoriteProductQueryParams } from "../../../storefront-api/src/__api/mutations/saveFavoriteProduct";
|
|
13
|
+
import type { SaveLastViewedProductsQueryParams } from "../../../storefront-api/src/__api/mutations/saveLastViewedProducts";
|
|
14
|
+
import type { SaveMyCustomerQueryParams } from "../../../storefront-api/src/__api/mutations/saveMyCustomer";
|
|
15
|
+
import type { SendContactFormToMerchantQueryParams } from "../../../storefront-api/src/__api/mutations/sendContactFormToMerchant";
|
|
16
|
+
import type { SubscribeToMarketingNotificationsQueryParams } from "../../../storefront-api/src/__api/mutations/subscribeToMarketingNotifications";
|
|
17
|
+
import type { ValidateCustomerPhoneVerificationCodeQueryParams } from "../../../storefront-api/src/__api/mutations/validateCustomerPhoneVerificationCode";
|
|
18
|
+
import { ValidateOTPCodeQueryParams } from "../../../storefront-api/src/__api/mutations/validateOTPCode";
|
|
19
|
+
import type { CheckCustomerEmailQueryParams } from "../../../storefront-api/src/__api/queries/checkCustomerEmail";
|
|
20
|
+
import type { CustomerSocialLoginQueryParams } from "../../../storefront-api/src/__api/queries/customerSocialLogin";
|
|
21
|
+
import type { GetCustomerOrdersQueryParams } from "../../../storefront-api/src/__api/queries/getCustomerOrders";
|
|
22
|
+
import type { GetLastViewedProductsQueryParams } from "../../../storefront-api/src/__api/queries/getLastViewedProducts";
|
|
23
|
+
import type { GetOrderByEmailQueryParams } from "../../../storefront-api/src/__api/queries/getOrderByEmail";
|
|
24
|
+
import type { IsFavoriteProductQueryParams } from "../../../storefront-api/src/__api/queries/isFavoriteProduct";
|
|
25
|
+
import type { ListCustomerReviewsQueryParams } from "../../../storefront-api/src/__api/queries/listCustomerReviews";
|
|
26
|
+
import type { ListCustomerReviewSummaryQueryParams } from "../../../storefront-api/src/__api/queries/listCustomerReviewSummary";
|
|
27
|
+
import type { ListCustomerSettingsQueryParams } from "../../../storefront-api/src/__api/queries/listCustomerSettings";
|
|
28
|
+
import type { ListOrderRefundSettingsQueryParams } from "../../../storefront-api/src/__api/queries/listOrderRefundSettings";
|
|
29
|
+
import type { ListOrderTransactionsQueryParams } from "../../../storefront-api/src/__api/queries/listOrderTransactions";
|
|
30
|
+
import { APIResponse } from "../../../storefront-api-client/src";
|
|
31
|
+
import { IkasCustomer, IkasCustomerAttribute, IkasCustomerReview, IkasCustomerReviewSummary, IkasCustomerSettings, IkasFavoriteProduct, IkasLastViewedProduct, IkasOrder, IkasOrderRefundSettings, IkasOrderTransaction } from "../../../storefront-models/src";
|
|
32
|
+
export type IkasRegisterError = "EMAIL_IS_NOT_VERIFIED" | "CUSTOMER_EMAIL_ALREADY_EXISTS" | "UNKOWN" | "B2B_CUSTOMER_ACCOUNT_DISABLED" | "PHONE_IS_NOT_VERIFIED";
|
|
33
|
+
export type IkasLoginError = "CUSTOMER_ACCOUNT_DISABLED" | "EMAIL_IS_NOT_VERIFIED" | "CUSTOMER_NOT_FOUND" | "B2B_CUSTOMER_ACCOUNT_DISABLED" | "UNKOWN" | "PHONE_IS_NOT_VERIFIED" | "WRONG_PASSWORD";
|
|
34
|
+
export declare function apiLogin(params: CustomerLoginQueryParams): Promise<APIResponse<{
|
|
35
|
+
customer: IkasCustomer | null;
|
|
36
|
+
flowId: string | null;
|
|
37
|
+
otpSend: boolean | null;
|
|
38
|
+
token: string;
|
|
39
|
+
tokenExpiry: number;
|
|
40
|
+
} | null>>;
|
|
41
|
+
export declare function apiSocialLogin(params: CustomerSocialLoginQueryParams): Promise<APIResponse<{
|
|
42
|
+
customer: IkasCustomer | null;
|
|
43
|
+
flowId: string | null;
|
|
44
|
+
otpSend: boolean | null;
|
|
45
|
+
token: string;
|
|
46
|
+
tokenExpiry: number;
|
|
47
|
+
} | null>>;
|
|
48
|
+
export declare function apiRegister(params: RegisterCustomerQueryParams): Promise<APIResponse<{
|
|
49
|
+
customer: IkasCustomer | null;
|
|
50
|
+
flowId: string | null;
|
|
51
|
+
otpSend: boolean | null;
|
|
52
|
+
token: string;
|
|
53
|
+
tokenExpiry: number;
|
|
54
|
+
} | null>>;
|
|
55
|
+
export declare function apiRefreshToken(params: CustomerRefreshTokenQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../../storefront-api/src").CustomerRefreshTokenResponse>>;
|
|
56
|
+
export declare function apiForgotPassword(params: CustomerForgotPasswordQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
|
|
57
|
+
export declare function apiRecoverPassword(params: CustomerRecoverPasswordQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
|
|
58
|
+
export declare function apiCheckEmail(params: CheckCustomerEmailQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../../storefront-api/src").CustomerCheckResponse>>;
|
|
59
|
+
export declare function apiGetCustomer(): Promise<APIResponse<IkasCustomer | null>>;
|
|
60
|
+
export declare function apiSaveCustomer(params: SaveMyCustomerQueryParams): Promise<APIResponse<IkasCustomer | null>>;
|
|
61
|
+
export declare function apiSaveCustomerFormData(params: SaveCustomerFormDataQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
|
|
62
|
+
export declare function apiGetOrders(params: GetCustomerOrdersQueryParams): Promise<APIResponse<IkasOrder[]>>;
|
|
63
|
+
export declare function apiGetOrderByEmail(params: GetOrderByEmailQueryParams): Promise<APIResponse<IkasOrder>>;
|
|
64
|
+
export declare function apiListOrderTransactions(params: ListOrderTransactionsQueryParams): Promise<APIResponse<IkasOrderTransaction[]>>;
|
|
65
|
+
export declare function apiCreateOrderRefundRequest(params: CreateOrderRefundRequestQueryParams): Promise<APIResponse<IkasOrder>>;
|
|
66
|
+
export declare function apiSubscribeToMarketingNotifications(params: SubscribeToMarketingNotificationsQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
|
|
67
|
+
export declare function apiGetLastViewedProducts(params: GetLastViewedProductsQueryParams): Promise<APIResponse<IkasLastViewedProduct[]>>;
|
|
68
|
+
export declare function apiSaveLastViewedProducts(params: SaveLastViewedProductsQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../../storefront-api/src").ProductLastViewed>>;
|
|
69
|
+
export declare function apiListOrderRefundSettings(params: ListOrderRefundSettingsQueryParams): Promise<APIResponse<IkasOrderRefundSettings[] | null>>;
|
|
70
|
+
export declare function apiSendContactFormToMerchant(params: SendContactFormToMerchantQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
|
|
71
|
+
export declare function apiListFavoriteProducts(): Promise<APIResponse<IkasFavoriteProduct[] | null>>;
|
|
72
|
+
export declare function apiSaveFavoriteProduct(params: SaveFavoriteProductQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
|
|
73
|
+
export declare function apiIsFavoriteProduct(params: IsFavoriteProductQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
|
|
74
|
+
export declare function apiCreateCustomerReview(params: CreateCustomerReviewQueryParams): Promise<APIResponse<IkasCustomerReview>>;
|
|
75
|
+
export declare function apiListCustomerReviews(params: ListCustomerReviewsQueryParams): Promise<APIResponse<{
|
|
76
|
+
data: IkasCustomerReview[];
|
|
77
|
+
count: number;
|
|
78
|
+
hasNext: boolean;
|
|
79
|
+
limit: number;
|
|
80
|
+
page: number;
|
|
81
|
+
} | null>>;
|
|
82
|
+
export declare function apiListCustomerReviewSummary(params: ListCustomerReviewSummaryQueryParams): Promise<APIResponse<{
|
|
83
|
+
data: IkasCustomerReviewSummary[];
|
|
84
|
+
count?: number | undefined;
|
|
85
|
+
hasNext?: boolean | undefined;
|
|
86
|
+
limit?: number | undefined;
|
|
87
|
+
page?: number | undefined;
|
|
88
|
+
}>>;
|
|
89
|
+
export declare function apiListCustomerAttribute(): Promise<APIResponse<IkasCustomerAttribute[]>>;
|
|
90
|
+
export declare function apiListCustomerSettings(params: ListCustomerSettingsQueryParams): Promise<APIResponse<{
|
|
91
|
+
data: IkasCustomerSettings[];
|
|
92
|
+
length?: number | undefined;
|
|
93
|
+
toString?: (() => string) | undefined;
|
|
94
|
+
toLocaleString?: {
|
|
95
|
+
(): string;
|
|
96
|
+
(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
|
|
97
|
+
} | undefined;
|
|
98
|
+
pop?: (() => import("../../../storefront-api/src").CustomerSettings | undefined) | undefined;
|
|
99
|
+
push?: ((...items: import("../../../storefront-api/src").CustomerSettings[]) => number) | undefined;
|
|
100
|
+
concat?: {
|
|
101
|
+
(...items: ConcatArray<import("../../../storefront-api/src").CustomerSettings>[]): import("../../../storefront-api/src").CustomerSettings[];
|
|
102
|
+
(...items: (import("../../../storefront-api/src").CustomerSettings | ConcatArray<import("../../../storefront-api/src").CustomerSettings>)[]): import("../../../storefront-api/src").CustomerSettings[];
|
|
103
|
+
} | undefined;
|
|
104
|
+
join?: ((separator?: string) => string) | undefined;
|
|
105
|
+
reverse?: (() => import("../../../storefront-api/src").CustomerSettings[]) | undefined;
|
|
106
|
+
shift?: (() => import("../../../storefront-api/src").CustomerSettings | undefined) | undefined;
|
|
107
|
+
slice?: ((start?: number, end?: number) => import("../../../storefront-api/src").CustomerSettings[]) | undefined;
|
|
108
|
+
sort?: ((compareFn?: ((a: import("../../../storefront-api/src").CustomerSettings, b: import("../../../storefront-api/src").CustomerSettings) => number) | undefined) => import("../../../storefront-api/src").CustomerSettings[]) | undefined;
|
|
109
|
+
splice?: {
|
|
110
|
+
(start: number, deleteCount?: number): import("../../../storefront-api/src").CustomerSettings[];
|
|
111
|
+
(start: number, deleteCount: number, ...items: import("../../../storefront-api/src").CustomerSettings[]): import("../../../storefront-api/src").CustomerSettings[];
|
|
112
|
+
} | undefined;
|
|
113
|
+
unshift?: ((...items: import("../../../storefront-api/src").CustomerSettings[]) => number) | undefined;
|
|
114
|
+
indexOf?: ((searchElement: import("../../../storefront-api/src").CustomerSettings, fromIndex?: number) => number) | undefined;
|
|
115
|
+
lastIndexOf?: ((searchElement: import("../../../storefront-api/src").CustomerSettings, fromIndex?: number) => number) | undefined;
|
|
116
|
+
every?: {
|
|
117
|
+
<S extends import("../../../storefront-api/src").CustomerSettings>(predicate: (value: import("../../../storefront-api/src").CustomerSettings, index: number, array: import("../../../storefront-api/src").CustomerSettings[]) => value is S, thisArg?: any): this is S[];
|
|
118
|
+
(predicate: (value: import("../../../storefront-api/src").CustomerSettings, index: number, array: import("../../../storefront-api/src").CustomerSettings[]) => unknown, thisArg?: any): boolean;
|
|
119
|
+
} | undefined;
|
|
120
|
+
some?: ((predicate: (value: import("../../../storefront-api/src").CustomerSettings, index: number, array: import("../../../storefront-api/src").CustomerSettings[]) => unknown, thisArg?: any) => boolean) | undefined;
|
|
121
|
+
forEach?: ((callbackfn: (value: import("../../../storefront-api/src").CustomerSettings, index: number, array: import("../../../storefront-api/src").CustomerSettings[]) => void, thisArg?: any) => void) | undefined;
|
|
122
|
+
map?: (<U>(callbackfn: (value: import("../../../storefront-api/src").CustomerSettings, index: number, array: import("../../../storefront-api/src").CustomerSettings[]) => U, thisArg?: any) => U[]) | undefined;
|
|
123
|
+
filter?: {
|
|
124
|
+
<S extends import("../../../storefront-api/src").CustomerSettings>(predicate: (value: import("../../../storefront-api/src").CustomerSettings, index: number, array: import("../../../storefront-api/src").CustomerSettings[]) => value is S, thisArg?: any): S[];
|
|
125
|
+
(predicate: (value: import("../../../storefront-api/src").CustomerSettings, index: number, array: import("../../../storefront-api/src").CustomerSettings[]) => unknown, thisArg?: any): import("../../../storefront-api/src").CustomerSettings[];
|
|
126
|
+
} | undefined;
|
|
127
|
+
reduce?: {
|
|
128
|
+
(callbackfn: (previousValue: import("../../../storefront-api/src").CustomerSettings, currentValue: import("../../../storefront-api/src").CustomerSettings, currentIndex: number, array: import("../../../storefront-api/src").CustomerSettings[]) => import("../../../storefront-api/src").CustomerSettings): import("../../../storefront-api/src").CustomerSettings;
|
|
129
|
+
(callbackfn: (previousValue: import("../../../storefront-api/src").CustomerSettings, currentValue: import("../../../storefront-api/src").CustomerSettings, currentIndex: number, array: import("../../../storefront-api/src").CustomerSettings[]) => import("../../../storefront-api/src").CustomerSettings, initialValue: import("../../../storefront-api/src").CustomerSettings): import("../../../storefront-api/src").CustomerSettings;
|
|
130
|
+
<U>(callbackfn: (previousValue: U, currentValue: import("../../../storefront-api/src").CustomerSettings, currentIndex: number, array: import("../../../storefront-api/src").CustomerSettings[]) => U, initialValue: U): U;
|
|
131
|
+
} | undefined;
|
|
132
|
+
reduceRight?: {
|
|
133
|
+
(callbackfn: (previousValue: import("../../../storefront-api/src").CustomerSettings, currentValue: import("../../../storefront-api/src").CustomerSettings, currentIndex: number, array: import("../../../storefront-api/src").CustomerSettings[]) => import("../../../storefront-api/src").CustomerSettings): import("../../../storefront-api/src").CustomerSettings;
|
|
134
|
+
(callbackfn: (previousValue: import("../../../storefront-api/src").CustomerSettings, currentValue: import("../../../storefront-api/src").CustomerSettings, currentIndex: number, array: import("../../../storefront-api/src").CustomerSettings[]) => import("../../../storefront-api/src").CustomerSettings, initialValue: import("../../../storefront-api/src").CustomerSettings): import("../../../storefront-api/src").CustomerSettings;
|
|
135
|
+
<U>(callbackfn: (previousValue: U, currentValue: import("../../../storefront-api/src").CustomerSettings, currentIndex: number, array: import("../../../storefront-api/src").CustomerSettings[]) => U, initialValue: U): U;
|
|
136
|
+
} | undefined;
|
|
137
|
+
find?: {
|
|
138
|
+
<S extends import("../../../storefront-api/src").CustomerSettings>(predicate: (value: import("../../../storefront-api/src").CustomerSettings, index: number, obj: import("../../../storefront-api/src").CustomerSettings[]) => value is S, thisArg?: any): S | undefined;
|
|
139
|
+
(predicate: (value: import("../../../storefront-api/src").CustomerSettings, index: number, obj: import("../../../storefront-api/src").CustomerSettings[]) => unknown, thisArg?: any): import("../../../storefront-api/src").CustomerSettings | undefined;
|
|
140
|
+
} | undefined;
|
|
141
|
+
findIndex?: ((predicate: (value: import("../../../storefront-api/src").CustomerSettings, index: number, obj: import("../../../storefront-api/src").CustomerSettings[]) => unknown, thisArg?: any) => number) | undefined;
|
|
142
|
+
fill?: ((value: import("../../../storefront-api/src").CustomerSettings, start?: number, end?: number) => import("../../../storefront-api/src").CustomerSettings[]) | undefined;
|
|
143
|
+
copyWithin?: ((target: number, start: number, end?: number) => import("../../../storefront-api/src").CustomerSettings[]) | undefined;
|
|
144
|
+
entries?: (() => IterableIterator<[number, import("../../../storefront-api/src").CustomerSettings]>) | undefined;
|
|
145
|
+
keys?: (() => IterableIterator<number>) | undefined;
|
|
146
|
+
values?: (() => IterableIterator<import("../../../storefront-api/src").CustomerSettings>) | undefined;
|
|
147
|
+
includes?: ((searchElement: import("../../../storefront-api/src").CustomerSettings, fromIndex?: number) => boolean) | undefined;
|
|
148
|
+
flatMap?: (<U, This = undefined>(callback: (this: This, value: import("../../../storefront-api/src").CustomerSettings, index: number, array: import("../../../storefront-api/src").CustomerSettings[]) => U | readonly U[], thisArg?: This | undefined) => U[]) | undefined;
|
|
149
|
+
flat?: (<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]) | undefined;
|
|
150
|
+
[Symbol.iterator]?: (() => IterableIterator<import("../../../storefront-api/src").CustomerSettings>) | undefined;
|
|
151
|
+
[Symbol.unscopables]?: {
|
|
152
|
+
[x: number]: boolean | undefined;
|
|
153
|
+
length?: boolean | undefined;
|
|
154
|
+
toString?: boolean | undefined;
|
|
155
|
+
toLocaleString?: boolean | undefined;
|
|
156
|
+
pop?: boolean | undefined;
|
|
157
|
+
push?: boolean | undefined;
|
|
158
|
+
concat?: boolean | undefined;
|
|
159
|
+
join?: boolean | undefined;
|
|
160
|
+
reverse?: boolean | undefined;
|
|
161
|
+
shift?: boolean | undefined;
|
|
162
|
+
slice?: boolean | undefined;
|
|
163
|
+
sort?: boolean | undefined;
|
|
164
|
+
splice?: boolean | undefined;
|
|
165
|
+
unshift?: boolean | undefined;
|
|
166
|
+
indexOf?: boolean | undefined;
|
|
167
|
+
lastIndexOf?: boolean | undefined;
|
|
168
|
+
every?: boolean | undefined;
|
|
169
|
+
some?: boolean | undefined;
|
|
170
|
+
forEach?: boolean | undefined;
|
|
171
|
+
map?: boolean | undefined;
|
|
172
|
+
filter?: boolean | undefined;
|
|
173
|
+
reduce?: boolean | undefined;
|
|
174
|
+
reduceRight?: boolean | undefined;
|
|
175
|
+
find?: boolean | undefined;
|
|
176
|
+
findIndex?: boolean | undefined;
|
|
177
|
+
fill?: boolean | undefined;
|
|
178
|
+
copyWithin?: boolean | undefined;
|
|
179
|
+
entries?: boolean | undefined;
|
|
180
|
+
keys?: boolean | undefined;
|
|
181
|
+
values?: boolean | undefined;
|
|
182
|
+
includes?: boolean | undefined;
|
|
183
|
+
flatMap?: boolean | undefined;
|
|
184
|
+
flat?: boolean | undefined;
|
|
185
|
+
[Symbol.iterator]?: boolean | undefined;
|
|
186
|
+
readonly [Symbol.unscopables]?: boolean | undefined;
|
|
187
|
+
at?: boolean | undefined;
|
|
188
|
+
} | undefined;
|
|
189
|
+
at?: ((index: number) => import("../../../storefront-api/src").CustomerSettings | undefined) | undefined;
|
|
190
|
+
}>>;
|
|
191
|
+
export declare function apiActivateCustomer(params: ActivateCustomerQueryParams): Promise<APIResponse<undefined> | APIResponse<string>>;
|
|
192
|
+
export declare function apiResendCustomerActivationMail(params: ResendCustomerActivationMailQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
|
|
193
|
+
export declare function apiResendCustomerPhoneVerificationCode(): Promise<APIResponse<undefined> | APIResponse<boolean>>;
|
|
194
|
+
export declare function apiValidateCustomerPhoneVerificationCode(params: ValidateCustomerPhoneVerificationCodeQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
|
|
195
|
+
export declare function apiValidateOTPCode(params: ValidateOTPCodeQueryParams): Promise<APIResponse<{
|
|
196
|
+
customer: IkasCustomer | null;
|
|
197
|
+
flowId: string | null;
|
|
198
|
+
otpSend: boolean | null;
|
|
199
|
+
token: string;
|
|
200
|
+
tokenExpiry: number;
|
|
201
|
+
} | null>>;
|
|
202
|
+
export declare function apiDeactivateCustomer(params: CustomerDeactivateQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
|
|
203
|
+
export declare function apiExportCustomerPersonalData(): Promise<APIResponse<undefined> | APIResponse<string>>;
|
|
204
|
+
export declare function apiGetDigitalProductFileDownloadUrl(orderId: string, orderLineItemId: string): Promise<APIResponse<undefined> | APIResponse<string>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { GetProductOptionFileUrlQueryParams } from "
|
|
2
|
-
import { APIResponse } from "
|
|
3
|
-
import { IkasProductOptionFileUrl } from "
|
|
1
|
+
import type { GetProductOptionFileUrlQueryParams } from "../../../storefront-api/src/__api/queries/getProductOptionFileUrl";
|
|
2
|
+
import { APIResponse } from "../../../storefront-api-client/src";
|
|
3
|
+
import { IkasProductOptionFileUrl } from "../../../storefront-models/src";
|
|
4
4
|
export declare function apiGetProductOptionFileUrl(params: GetProductOptionFileUrlQueryParams, file: File): Promise<APIResponse<{
|
|
5
5
|
file: File;
|
|
6
6
|
fields: any;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ListHTMLMetaDataQueryParams } from "../../../storefront-api/src/__api/queries/listHTMLMetaData";
|
|
2
|
+
import { APIResponse } from "../../../storefront-api-client/src";
|
|
3
|
+
import { IkasHTMLMetaData } from "../../../storefront-models/src";
|
|
4
|
+
export declare function apiListHTMLMetaData(params: ListHTMLMetaDataQueryParams): Promise<APIResponse<IkasHTMLMetaData[]>>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { GetAvailableShippingZonesQueryParams } from "
|
|
2
|
-
import type { ListCityQueryParams } from "
|
|
3
|
-
import type { ListCountryQueryParams } from "
|
|
4
|
-
import type { ListDistrictQueryParams } from "
|
|
5
|
-
import type { ListStateQueryParams } from "
|
|
6
|
-
import { APIResponse } from "
|
|
7
|
-
import { IkasCity, IkasCountry, IkasDistrict, IkasShippingZone, IkasState } from "
|
|
1
|
+
import type { GetAvailableShippingZonesQueryParams } from "../../../storefront-api/src/__api/queries/getAvailableShippingZones";
|
|
2
|
+
import type { ListCityQueryParams } from "../../../storefront-api/src/__api/queries/listCity";
|
|
3
|
+
import type { ListCountryQueryParams } from "../../../storefront-api/src/__api/queries/listCountry";
|
|
4
|
+
import type { ListDistrictQueryParams } from "../../../storefront-api/src/__api/queries/listDistrict";
|
|
5
|
+
import type { ListStateQueryParams } from "../../../storefront-api/src/__api/queries/listState";
|
|
6
|
+
import { APIResponse } from "../../../storefront-api-client/src";
|
|
7
|
+
import { IkasCity, IkasCountry, IkasDistrict, IkasShippingZone, IkasState } from "../../../storefront-models/src";
|
|
8
8
|
export declare function apiGetMyCountry(): Promise<APIResponse<string> | APIResponse<undefined>>;
|
|
9
9
|
export declare function apiListCountry(params: ListCountryQueryParams): Promise<APIResponse<IkasCountry[]>>;
|
|
10
10
|
export declare function apiListCity(params: ListCityQueryParams): Promise<APIResponse<IkasCity[]>>;
|