@ikas/storefront 3.0.0-alpha.29 → 3.0.0-alpha.31

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.
Files changed (149) hide show
  1. package/build/__api/models/CampaignOffer.d.ts +22 -0
  2. package/build/__api/models/CampaignOfferProduct.d.ts +22 -0
  3. package/build/__api/models/CampaignOfferProductTranslation.d.ts +11 -0
  4. package/build/__api/models/CampaignOfferTriggerSettings.d.ts +11 -0
  5. package/build/__api/models/{MasterpassTokenResponse.d.ts → MasterPassTokenResponse.d.ts} +0 -0
  6. package/build/__api/models/PaymentGateway.d.ts +2 -0
  7. package/build/__api/models/PaymentGateway.js +1 -1
  8. package/build/__api/models/PaymentGatewaySettings.d.ts +13 -0
  9. package/build/__api/models/PaymentGatewaySettings.js +1 -0
  10. package/build/__api/mutations/addCouponCodeToCheckout.d.ts +1 -1
  11. package/build/__api/mutations/addItemToCart.d.ts +1 -1
  12. package/build/__api/mutations/createCustomerEmailSubscription.d.ts +1 -1
  13. package/build/__api/mutations/createCustomerReview.d.ts +1 -1
  14. package/build/__api/mutations/createOrderRefundRequest.d.ts +1 -1
  15. package/build/__api/mutations/createSaleTransactionWithCart.d.ts +1 -1
  16. package/build/__api/mutations/createSaleTransactionWithCheckout.d.ts +1 -1
  17. package/build/__api/mutations/createStripePaymentIntent.d.ts +1 -1
  18. package/build/__api/mutations/customerLogin.d.ts +1 -1
  19. package/build/__api/mutations/customerRefreshToken.d.ts +1 -1
  20. package/build/__api/mutations/getOrderLineFile.d.ts +1 -1
  21. package/build/__api/mutations/registerCustomer.d.ts +1 -1
  22. package/build/__api/mutations/retrieveInstallmentInfo.d.ts +1 -1
  23. package/build/__api/mutations/saveCart.d.ts +1 -1
  24. package/build/__api/mutations/saveCartCouponCode.d.ts +1 -1
  25. package/build/__api/mutations/saveCheckout.d.ts +1 -1
  26. package/build/__api/mutations/saveItemToCart.d.ts +1 -1
  27. package/build/__api/mutations/saveLastViewedProducts.d.ts +1 -1
  28. package/build/__api/mutations/saveMyCustomer.d.ts +1 -1
  29. package/build/__api/mutations/saveProductBackInStockRemind.d.ts +1 -1
  30. package/build/__api/mutations/saveRaffleParticipant.d.ts +1 -1
  31. package/build/__api/mutations/updateRaffleParticipant.d.ts +1 -1
  32. package/build/__api/queries/checkCustomerEmail.d.ts +1 -1
  33. package/build/__api/queries/checkStocks.d.ts +1 -1
  34. package/build/__api/queries/customerSocialLogin.d.ts +1 -1
  35. package/build/__api/queries/getAvailableShippingCountries.d.ts +1 -1
  36. package/build/__api/queries/getAvailableStockLocations.d.ts +1 -1
  37. package/build/__api/queries/getCart.d.ts +1 -1
  38. package/build/__api/queries/getCartById.d.ts +1 -1
  39. package/build/__api/queries/getCheckoutByCartId.d.ts +1 -1
  40. package/build/__api/queries/getCheckoutById.d.ts +1 -1
  41. package/build/__api/queries/getCurrencyRate.d.ts +1 -1
  42. package/build/__api/queries/getCustomerOrders.d.ts +1 -1
  43. package/build/__api/queries/getLastViewedProducts.d.ts +1 -1
  44. package/build/__api/queries/getMasterpassRequestToken.d.ts +1 -1
  45. package/build/__api/queries/getMasterpassRequestToken.js +1 -0
  46. package/build/__api/queries/getMyCountry.d.ts +1 -1
  47. package/build/__api/queries/getMyCustomer.d.ts +1 -1
  48. package/build/__api/queries/getOrder.d.ts +1 -1
  49. package/build/__api/queries/getOrderByEmail.d.ts +1 -1
  50. package/build/__api/queries/getProductCampaigns.d.ts +1 -1
  51. package/build/__api/queries/getProductFilterData.d.ts +1 -1
  52. package/build/__api/queries/getProductOptionFileUrl.d.ts +1 -1
  53. package/build/__api/queries/getRaffleParticipants.d.ts +1 -1
  54. package/build/__api/queries/getRafflesByCustomerId.d.ts +1 -1
  55. package/build/__api/queries/getStorefront.d.ts +1 -1
  56. package/build/__api/queries/getVariantStockLocations.d.ts +1 -1
  57. package/build/__api/queries/listBlog.d.ts +1 -1
  58. package/build/__api/queries/listBlogCategory.d.ts +1 -1
  59. package/build/__api/queries/listBlogMetadata.d.ts +1 -1
  60. package/build/__api/queries/listCampaignOffer.d.ts +37 -0
  61. package/build/__api/queries/listCategory.d.ts +1 -1
  62. package/build/__api/queries/listCheckoutSettings.d.ts +1 -1
  63. package/build/__api/queries/listCity.d.ts +1 -1
  64. package/build/__api/queries/listCountry.d.ts +1 -1
  65. package/build/__api/queries/listCustomerAttribute.d.ts +1 -1
  66. package/build/__api/queries/listCustomerReviewSummary.d.ts +1 -1
  67. package/build/__api/queries/listCustomerReviews.d.ts +1 -1
  68. package/build/__api/queries/listDistrict.d.ts +1 -1
  69. package/build/__api/queries/listFavoriteProducts.d.ts +1 -1
  70. package/build/__api/queries/listHTMLMetaData.d.ts +1 -1
  71. package/build/__api/queries/listMerchantSettings.d.ts +1 -1
  72. package/build/__api/queries/listOrderRefundSettings.d.ts +1 -1
  73. package/build/__api/queries/listOrderTransactions.d.ts +1 -1
  74. package/build/__api/queries/listPaymentGateway.d.ts +5 -1
  75. package/build/__api/queries/listPaymentGateway.js +1 -1
  76. package/build/__api/queries/listProduct.d.ts +1 -1
  77. package/build/__api/queries/listProductAttribute.d.ts +1 -1
  78. package/build/__api/queries/listProductBackInStockRemind.d.ts +1 -1
  79. package/build/__api/queries/listProductBrand.d.ts +1 -1
  80. package/build/__api/queries/listProductOptionSet.d.ts +1 -1
  81. package/build/__api/queries/listProductStockLocation.d.ts +1 -1
  82. package/build/__api/queries/listRaffle.d.ts +1 -1
  83. package/build/__api/queries/listRaffleMetadata.d.ts +1 -1
  84. package/build/__api/queries/listState.d.ts +1 -1
  85. package/build/__api/queries/listStockLocation.d.ts +1 -1
  86. package/build/__api/queries/listTown.d.ts +1 -1
  87. package/build/__api/queries/listVariantType.d.ts +1 -1
  88. package/build/__api/queries/searchProducts.d.ts +1 -1
  89. package/build/__api/types/index.d.ts +71 -0
  90. package/build/__api/types/index.js +1 -1
  91. package/build/_virtual/index.js_commonjs-proxy13.js +1 -1
  92. package/build/_virtual/index.js_commonjs-proxy14.js +1 -1
  93. package/build/_virtual/index.js_commonjs-proxy2.js +1 -1
  94. package/build/_virtual/index.js_commonjs-proxy3.js +1 -1
  95. package/build/_virtual/index.js_commonjs-proxy4.js +1 -1
  96. package/build/assets/translations/checkout/en.js +1 -1
  97. package/build/assets/translations/checkout/tr.js +1 -1
  98. package/build/components/checkout/components/button/index.d.ts +1 -1
  99. package/build/components/checkout/components/checkbox/index.d.ts +1 -1
  100. package/build/components/checkout/components/credit-card-form/index.js +1 -1
  101. package/build/components/checkout/components/master-pass/index.d.ts +9 -0
  102. package/build/components/checkout/components/master-pass/index.js +1 -0
  103. package/build/components/checkout/components/master-pass/modal/index.d.ts +11 -0
  104. package/build/components/checkout/components/master-pass/modal/index.js +1 -0
  105. package/build/components/checkout/components/master-pass/modal/style.module.scss.js +1 -0
  106. package/build/components/checkout/components/master-pass/modal/svg/modal-close.d.ts +3 -0
  107. package/build/components/checkout/components/master-pass/modal/svg/modal-close.js +1 -0
  108. package/build/components/checkout/components/master-pass/modal-link-card-to-client/index.d.ts +10 -0
  109. package/build/components/checkout/components/master-pass/modal-link-card-to-client/index.js +1 -0
  110. package/build/components/checkout/components/master-pass/modal-link-card-to-client/style.module.scss.js +1 -0
  111. package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/info-mark.d.ts +3 -0
  112. package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/info-mark.js +1 -0
  113. package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/master-pass-by-master-card-big.d.ts +3 -0
  114. package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/master-pass-by-master-card-big.js +1 -0
  115. package/build/components/checkout/components/master-pass/modal-otp/index.d.ts +10 -0
  116. package/build/components/checkout/components/master-pass/modal-otp/index.js +1 -0
  117. package/build/components/checkout/components/master-pass/modal-otp/style.module.scss.js +1 -0
  118. package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass-by-master-card-small.d.ts +3 -0
  119. package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass-by-master-card-small.js +1 -0
  120. package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass.d.ts +3 -0
  121. package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass.js +1 -0
  122. package/build/components/checkout/components/master-pass/modal-otp/svg/success.d.ts +3 -0
  123. package/build/components/checkout/components/master-pass/modal-otp/svg/success.js +1 -0
  124. package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.d.ts +3 -0
  125. package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.js +1 -0
  126. package/build/components/checkout/components/master-pass/style.module.scss.js +1 -0
  127. package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.d.ts +3 -0
  128. package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.js +1 -0
  129. package/build/components/checkout/components/modal/index.js +1 -1
  130. package/build/components/checkout/components/modal/useEscape.d.ts +5 -0
  131. package/build/components/checkout/components/modal/useEscape.js +1 -0
  132. package/build/components/checkout/components/select-box/index.d.ts +1 -1
  133. package/build/components/checkout/components/toggle/index.d.ts +1 -1
  134. package/build/components/checkout/model.d.ts +3 -0
  135. package/build/components/checkout/model.js +1 -1
  136. package/build/components/checkout/modelMasterPass.d.ts +124 -0
  137. package/build/components/checkout/modelMasterPass.js +1 -0
  138. package/build/components/checkout/steps/step-payment/payment-gateways/index.js +1 -1
  139. package/build/components/checkout/steps/step-payment/payment-gateways/style.module.scss.js +1 -1
  140. package/build/ikas.cjs +1 -1
  141. package/build/models/data/payment-gateway/index.d.ts +1 -0
  142. package/build/models/data/payment-gateway/index.js +1 -1
  143. package/build/models/ui/product-list/index.d.ts +1 -1
  144. package/build/scripts/generators/config/content.js +1 -1
  145. package/build/store/checkout/index.d.ts +1 -1
  146. package/build/store/customer/api.d.ts +5 -5
  147. package/build/store/location/index.d.ts +1 -1
  148. package/build/store/product/index.d.ts +1 -1
  149. package/package.json +1 -1
@@ -0,0 +1,22 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ import BaseModelData from "./_base";
3
+ import { CampaignOfferFollowUpActionTypeEnum, CampaignOfferTargetPageTypeEnum, CampaignOfferTypeEnum } from "../types";
4
+ import { CampaignOfferProductData } from "./CampaignOfferProduct";
5
+ import { CampaignOfferTriggerSettingsData } from "./CampaignOfferTriggerSettings";
6
+ export declare class CampaignOfferData extends BaseModelData {
7
+ availableSalesChannelIds: string[];
8
+ endDate: any | null;
9
+ followUpActionType: CampaignOfferFollowUpActionTypeEnum;
10
+ minimumRequiredCartAmount: number | null;
11
+ name: string;
12
+ offers: CampaignOfferProductData[];
13
+ startDate: any | null;
14
+ targetPageTypes: CampaignOfferTargetPageTypeEnum[];
15
+ triggerSettings: CampaignOfferTriggerSettingsData;
16
+ type: CampaignOfferTypeEnum;
17
+ constructor(data?: Partial<CampaignOfferData>);
18
+ }
19
+ export declare class CampaignOffer extends CampaignOfferData {
20
+ }
21
+ export declare type PartialCampaignOffer = Partial<CampaignOffer>;
22
+ export declare type ReadOnlyCampaignOffer = DeepReadonly<CampaignOffer>;
@@ -0,0 +1,22 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ import { AmountTypeEnum, CampaignOfferProductShowCriteriaEnum } from "../types";
3
+ import { CampaignOfferProductTranslationData } from "./CampaignOfferProductTranslation";
4
+ export declare class CampaignOfferProductData {
5
+ countdownMinutes: number | null;
6
+ description: string | null;
7
+ discountAmount: number | null;
8
+ discountType: AmountTypeEnum | null;
9
+ excludedVariantIdList: string[] | null;
10
+ id: string;
11
+ order: number;
12
+ productId: string;
13
+ showCriteria: CampaignOfferProductShowCriteriaEnum | null;
14
+ skipOfferIfProductExistsInCart: boolean | null;
15
+ title: string;
16
+ translations: CampaignOfferProductTranslationData[] | null;
17
+ constructor(data?: Partial<CampaignOfferProductData>);
18
+ }
19
+ export declare class CampaignOfferProduct extends CampaignOfferProductData {
20
+ }
21
+ export declare type PartialCampaignOfferProduct = Partial<CampaignOfferProduct>;
22
+ export declare type ReadOnlyCampaignOfferProduct = DeepReadonly<CampaignOfferProduct>;
@@ -0,0 +1,11 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ export declare class CampaignOfferProductTranslationData {
3
+ description: string | null;
4
+ locale: string;
5
+ title: string;
6
+ constructor(data?: Partial<CampaignOfferProductTranslationData>);
7
+ }
8
+ export declare class CampaignOfferProductTranslation extends CampaignOfferProductTranslationData {
9
+ }
10
+ export declare type PartialCampaignOfferProductTranslation = Partial<CampaignOfferProductTranslation>;
11
+ export declare type ReadOnlyCampaignOfferProductTranslation = DeepReadonly<CampaignOfferProductTranslation>;
@@ -0,0 +1,11 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ import { CampaignOfferTriggerFilterTypeEnum } from "../types";
3
+ export declare class CampaignOfferTriggerSettingsData {
4
+ filterType: CampaignOfferTriggerFilterTypeEnum;
5
+ valueList: string[];
6
+ constructor(data?: Partial<CampaignOfferTriggerSettingsData>);
7
+ }
8
+ export declare class CampaignOfferTriggerSettings extends CampaignOfferTriggerSettingsData {
9
+ }
10
+ export declare type PartialCampaignOfferTriggerSettings = Partial<CampaignOfferTriggerSettings>;
11
+ export declare type ReadOnlyCampaignOfferTriggerSettings = DeepReadonly<CampaignOfferTriggerSettings>;
@@ -3,6 +3,7 @@ import BaseModelData from "./_base";
3
3
  import { PaymentMethodEnum, PaymentGatewayTypeEnum } from "../types";
4
4
  import { AdditionalPriceData } from "./AdditionalPrice";
5
5
  import { PaymentGatewayPaymentMethodData } from "./PaymentGatewayPaymentMethod";
6
+ import { PaymentGatewaySettingsData } from "./PaymentGatewaySettings";
6
7
  import { PaymentGatewayTranslationData } from "./PaymentGatewayTranslation";
7
8
  export declare class PaymentGatewayData extends BaseModelData {
8
9
  additionalPrices: AdditionalPriceData[] | null;
@@ -15,6 +16,7 @@ export declare class PaymentGatewayData extends BaseModelData {
15
16
  paymentGatewayProviderId: string | null;
16
17
  paymentMethodType: PaymentMethodEnum;
17
18
  paymentMethods: PaymentGatewayPaymentMethodData[];
19
+ settings: PaymentGatewaySettingsData[] | null;
18
20
  supportedCurrencies: string[] | null;
19
21
  testMode: boolean | null;
20
22
  translations: PaymentGatewayTranslationData[] | null;
@@ -1 +1 @@
1
- import{__extends as e}from'../../ext/tslib/tslib.es6.js';import{makeObservable as t,observable as n}from"mobx";import o from"./_base.js";import{PaymentMethodEnum as a,PaymentGatewayTypeEnum as r}from"../types/index.js";import{AdditionalPriceData as i}from"./AdditionalPrice.js";import{PaymentGatewayPaymentMethodData as s}from"./PaymentGatewayPaymentMethod.js";import{PaymentGatewayTranslationData as l}from"./PaymentGatewayTranslation.js";var d=function(o){function d(e){void 0===e&&(e={});var d=o.call(this,e)||this;return d.additionalPrices=e.additionalPrices?e.additionalPrices.map((function(e){return new i(e)})):null,d.availableCountries=e.availableCountries||null,d.code=e.code||"",d.description=e.description||null,d.logoUrl=e.logoUrl||null,d.masterPassClientId=e.masterPassClientId||null,d.name=e.name||"",d.paymentGatewayProviderId=e.paymentGatewayProviderId||null,d.paymentMethodType=e.paymentMethodType||a.APP_PAYMENT,d.paymentMethods=e.paymentMethods?e.paymentMethods.map((function(e){return new s(e)})):[],d.supportedCurrencies=e.supportedCurrencies||null,d.testMode=void 0!==e.testMode&&null!==e.testMode?e.testMode:null,d.translations=e.translations?e.translations.map((function(e){return new l(e)})):null,d.type=e.type||r.EXTERNAL,t(d,{additionalPrices:n,availableCountries:n,code:n,description:n,logoUrl:n,masterPassClientId:n,name:n,paymentGatewayProviderId:n,paymentMethodType:n,paymentMethods:n,supportedCurrencies:n,testMode:n,translations:n,type:n}),d}return e(d,o),d}(o),p=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n}(d);export{p as PaymentGateway,d as PaymentGatewayData};
1
+ import{__extends as t}from'../../ext/tslib/tslib.es6.js';import{makeObservable as e,observable as n}from"mobx";import o from"./_base.js";import{PaymentMethodEnum as a,PaymentGatewayTypeEnum as r}from"../types/index.js";import{AdditionalPriceData as i}from"./AdditionalPrice.js";import{PaymentGatewayPaymentMethodData as s}from"./PaymentGatewayPaymentMethod.js";import{PaymentGatewaySettingsData as l}from"./PaymentGatewaySettings.js";import{PaymentGatewayTranslationData as d}from"./PaymentGatewayTranslation.js";var m=function(o){function m(t){void 0===t&&(t={});var m=o.call(this,t)||this;return m.additionalPrices=t.additionalPrices?t.additionalPrices.map((function(t){return new i(t)})):null,m.availableCountries=t.availableCountries||null,m.code=t.code||"",m.description=t.description||null,m.logoUrl=t.logoUrl||null,m.masterPassClientId=t.masterPassClientId||null,m.name=t.name||"",m.paymentGatewayProviderId=t.paymentGatewayProviderId||null,m.paymentMethodType=t.paymentMethodType||a.APP_PAYMENT,m.paymentMethods=t.paymentMethods?t.paymentMethods.map((function(t){return new s(t)})):[],m.settings=t.settings?t.settings.map((function(t){return new l(t)})):null,m.supportedCurrencies=t.supportedCurrencies||null,m.testMode=void 0!==t.testMode&&null!==t.testMode?t.testMode:null,m.translations=t.translations?t.translations.map((function(t){return new d(t)})):null,m.type=t.type||r.EXTERNAL,e(m,{additionalPrices:n,availableCountries:n,code:n,description:n,logoUrl:n,masterPassClientId:n,name:n,paymentGatewayProviderId:n,paymentMethodType:n,paymentMethods:n,settings:n,supportedCurrencies:n,testMode:n,translations:n,type:n}),m}return t(m,o),m}(o),p=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return t(n,e),n}(m);export{p as PaymentGateway,m as PaymentGatewayData};
@@ -0,0 +1,13 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ import { PaymentGatewaySettingsTypeEnum } from "../types";
3
+ export declare class PaymentGatewaySettingsData {
4
+ label: string;
5
+ order: number;
6
+ type: PaymentGatewaySettingsTypeEnum;
7
+ value: string | null;
8
+ constructor(data?: Partial<PaymentGatewaySettingsData>);
9
+ }
10
+ export declare class PaymentGatewaySettings extends PaymentGatewaySettingsData {
11
+ }
12
+ export declare type PartialPaymentGatewaySettings = Partial<PaymentGatewaySettings>;
13
+ export declare type ReadOnlyPaymentGatewaySettings = DeepReadonly<PaymentGatewaySettings>;
@@ -0,0 +1 @@
1
+ import{__extends as t}from'../../ext/tslib/tslib.es6.js';import{makeObservable as e,observable as i}from"mobx";import{PaymentGatewaySettingsTypeEnum as l}from"../types/index.js";var o=function(t){void 0===t&&(t={}),this.label=t.label||"",this.order=t.order||0,this.type=t.type||l.NUMBER,this.value=t.value||null,e(this,{label:i,order:i,type:i,value:i})};!function(e){function i(){return null!==e&&e.apply(this,arguments)||this}t(i,e)}(o);export{o as PaymentGatewaySettingsData};
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { Checkout } from "../types";
3
- declare const addCouponCodeToCheckout: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Checkout>>;
3
+ declare const addCouponCodeToCheckout: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<Checkout> | APIResponse<undefined>>;
4
4
  export default addCouponCodeToCheckout;
5
5
  export declare type QueryParams = {
6
6
  checkoutId: string;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { AddItemToCartInput, CartV2 } from "../types";
3
- declare const addItemToCart: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CartV2>>;
3
+ declare const addItemToCart: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CartV2> | APIResponse<undefined>>;
4
4
  export default addItemToCart;
5
5
  export declare type QueryParams = {
6
6
  input: AddItemToCartInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { CreateCustomerEmailSubscriptionInput, Customer } from "../types";
3
- declare const createCustomerEmailSubscription: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Customer>>;
3
+ declare const createCustomerEmailSubscription: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<Customer> | APIResponse<undefined>>;
4
4
  export default createCustomerEmailSubscription;
5
5
  export declare type QueryParams = {
6
6
  input: CreateCustomerEmailSubscriptionInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { CreateCustomerReviewInput, CustomerReview } from "../types";
3
- declare const createCustomerReview: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CustomerReview>>;
3
+ declare const createCustomerReview: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CustomerReview> | APIResponse<undefined>>;
4
4
  export default createCustomerReview;
5
5
  export declare type QueryParams = {
6
6
  input: CreateCustomerReviewInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { OrderRefundRequestInput, StorefrontOrder } from "../types";
3
- declare const createOrderRefundRequest: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<StorefrontOrder>>;
3
+ declare const createOrderRefundRequest: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<StorefrontOrder> | APIResponse<undefined>>;
4
4
  export default createOrderRefundRequest;
5
5
  export declare type QueryParams = {
6
6
  input: OrderRefundRequestInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { CreateSaleTransactionWithCartInput, TransactionResponse } from "../types";
3
- declare const createSaleTransactionWithCart: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<TransactionResponse>>;
3
+ declare const createSaleTransactionWithCart: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<TransactionResponse> | APIResponse<undefined>>;
4
4
  export default createSaleTransactionWithCart;
5
5
  export declare type QueryParams = {
6
6
  input: CreateSaleTransactionWithCartInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { CreateSaleTransactionWithCheckoutInput, TransactionResponse } from "../types";
3
- declare const createSaleTransactionWithCheckout: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<TransactionResponse>>;
3
+ declare const createSaleTransactionWithCheckout: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<TransactionResponse> | APIResponse<undefined>>;
4
4
  export default createSaleTransactionWithCheckout;
5
5
  export declare type QueryParams = {
6
6
  input: CreateSaleTransactionWithCheckoutInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { CreateSaleTransactionWithCartInput, CreateStripePaymentIntentResponse } from "../types";
3
- declare const createStripePaymentIntent: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CreateStripePaymentIntentResponse>>;
3
+ declare const createStripePaymentIntent: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CreateStripePaymentIntentResponse> | APIResponse<undefined>>;
4
4
  export default createStripePaymentIntent;
5
5
  export declare type QueryParams = {
6
6
  input: CreateSaleTransactionWithCartInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { CustomerLoginResponse } from "../types";
3
- declare const customerLogin: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CustomerLoginResponse>>;
3
+ declare const customerLogin: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CustomerLoginResponse> | APIResponse<undefined>>;
4
4
  export default customerLogin;
5
5
  export declare type QueryParams = {
6
6
  email: string;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { CustomerRefreshTokenResponse } from "../types";
3
- declare const customerRefreshToken: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CustomerRefreshTokenResponse>>;
3
+ declare const customerRefreshToken: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CustomerRefreshTokenResponse> | APIResponse<undefined>>;
4
4
  export default customerRefreshToken;
5
5
  export declare type QueryParams = {
6
6
  token: string;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { GetOrderLineFile } from "../types";
3
- declare const getOrderLineFile: (variables: QueryParams, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<string>>;
3
+ declare const getOrderLineFile: (variables: QueryParams, config?: ConfigType | undefined) => Promise<APIResponse<string> | APIResponse<undefined>>;
4
4
  export default getOrderLineFile;
5
5
  export declare type QueryParams = {
6
6
  input: GetOrderLineFile;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { CustomerAttributeValueInput, CustomerLoginResponse } from "../types";
3
- declare const registerCustomer: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CustomerLoginResponse>>;
3
+ declare const registerCustomer: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CustomerLoginResponse> | APIResponse<undefined>>;
4
4
  export default registerCustomer;
5
5
  export declare type QueryParams = {
6
6
  attributes?: CustomerAttributeValueInput[] | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { RetrieveInstallmentInfoInput, RetrieveInstallmentInfoResponse } from "../types";
3
- declare const retrieveInstallmentInfo: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<RetrieveInstallmentInfoResponse>>;
3
+ declare const retrieveInstallmentInfo: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<RetrieveInstallmentInfoResponse> | APIResponse<undefined>>;
4
4
  export default retrieveInstallmentInfo;
5
5
  export declare type QueryParams = {
6
6
  input: RetrieveInstallmentInfoInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { SaveCartInput, CartV2 } from "../types";
3
- declare const saveCart: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CartV2>>;
3
+ declare const saveCart: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CartV2> | APIResponse<undefined>>;
4
4
  export default saveCart;
5
5
  export declare type QueryParams = {
6
6
  input: SaveCartInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { CartV2 } from "../types";
3
- declare const saveCartCouponCode: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CartV2>>;
3
+ declare const saveCartCouponCode: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CartV2> | APIResponse<undefined>>;
4
4
  export default saveCartCouponCode;
5
5
  export declare type QueryParams = {
6
6
  cartId: string;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { SaveCheckoutInput, Checkout } from "../types";
3
- declare const saveCheckout: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Checkout>>;
3
+ declare const saveCheckout: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<Checkout> | APIResponse<undefined>>;
4
4
  export default saveCheckout;
5
5
  export declare type QueryParams = {
6
6
  input: SaveCheckoutInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { SaveItemToCartInput, Cart } from "../types";
3
- declare const saveItemToCart: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Cart>>;
3
+ declare const saveItemToCart: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<Cart> | APIResponse<undefined>>;
4
4
  export default saveItemToCart;
5
5
  export declare type QueryParams = {
6
6
  input: SaveItemToCartInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { ProductLastViewedInput, ProductLastViewed } from "../types";
3
- declare const saveLastViewedProducts: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<ProductLastViewed>>;
3
+ declare const saveLastViewedProducts: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<ProductLastViewed> | APIResponse<undefined>>;
4
4
  export default saveLastViewedProducts;
5
5
  export declare type QueryParams = {
6
6
  input: ProductLastViewedInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { SaveMyCustomerInput, Customer } from "../types";
3
- declare const saveMyCustomer: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Customer>>;
3
+ declare const saveMyCustomer: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<Customer> | APIResponse<undefined>>;
4
4
  export default saveMyCustomer;
5
5
  export declare type QueryParams = {
6
6
  input: SaveMyCustomerInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { ProductBackInStockRemindInput, ProductBackInStockRemind } from "../types";
3
- declare const saveProductBackInStockRemind: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<ProductBackInStockRemind>>;
3
+ declare const saveProductBackInStockRemind: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<ProductBackInStockRemind> | APIResponse<undefined>>;
4
4
  export default saveProductBackInStockRemind;
5
5
  export declare type QueryParams = {
6
6
  input: ProductBackInStockRemindInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { RaffleParticipantsInput, RaffleParticipants } from "../types";
3
- declare const saveRaffleParticipant: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<RaffleParticipants>>;
3
+ declare const saveRaffleParticipant: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<RaffleParticipants> | APIResponse<undefined>>;
4
4
  export default saveRaffleParticipant;
5
5
  export declare type QueryParams = {
6
6
  input: RaffleParticipantsInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { RaffleParticipantsUpdateInput, RaffleParticipants } from "../types";
3
- declare const updateRaffleParticipant: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<RaffleParticipants>>;
3
+ declare const updateRaffleParticipant: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<RaffleParticipants> | APIResponse<undefined>>;
4
4
  export default updateRaffleParticipant;
5
5
  export declare type QueryParams = {
6
6
  input: RaffleParticipantsUpdateInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { CustomerCheckResponse } from "../types";
3
- declare const checkCustomerEmail: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CustomerCheckResponse>>;
3
+ declare const checkCustomerEmail: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CustomerCheckResponse> | APIResponse<undefined>>;
4
4
  export default checkCustomerEmail;
5
5
  export declare type QueryParams = {
6
6
  email: string;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { CheckStocksLineInput, CheckStocksResponse } from "../types";
3
- declare const checkStocks: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CheckStocksResponse>>;
3
+ declare const checkStocks: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CheckStocksResponse> | APIResponse<undefined>>;
4
4
  export default checkStocks;
5
5
  export declare type QueryParams = {
6
6
  lines: CheckStocksLineInput[];
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { CustomerLoginResponse } from "../types";
3
- declare const customerSocialLogin: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CustomerLoginResponse>>;
3
+ declare const customerSocialLogin: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CustomerLoginResponse> | APIResponse<undefined>>;
4
4
  export default customerSocialLogin;
5
5
  export declare type QueryParams = {
6
6
  code: string;
@@ -1,5 +1,5 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
- declare const getAvailableShippingCountries: (variables: QueryParams, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<string[]>>;
2
+ declare const getAvailableShippingCountries: (variables: QueryParams, config?: ConfigType | undefined) => Promise<APIResponse<string[]> | APIResponse<undefined>>;
3
3
  export default getAvailableShippingCountries;
4
4
  export declare type QueryParams = {
5
5
  salesChannelId?: string | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { CheckStocksLineInput, GetAvailableStockLocationsResponse } from "../types";
3
- declare const getAvailableStockLocations: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<GetAvailableStockLocationsResponse>>;
3
+ declare const getAvailableStockLocations: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<GetAvailableStockLocationsResponse> | APIResponse<undefined>>;
4
4
  export default getAvailableStockLocations;
5
5
  export declare type QueryParams = {
6
6
  lines: CheckStocksLineInput[];
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { Cart } from "../types";
3
- declare const getCart: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Cart>>;
3
+ declare const getCart: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<Cart> | APIResponse<undefined>>;
4
4
  export default getCart;
5
5
  export declare type QueryParams = {
6
6
  customerId?: string | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { CartV2 } from "../types";
3
- declare const getCartById: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CartV2>>;
3
+ declare const getCartById: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CartV2> | APIResponse<undefined>>;
4
4
  export default getCartById;
5
5
  export declare type QueryParams = {
6
6
  getCompletedCart?: boolean | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { Checkout } from "../types";
3
- declare const getCheckoutByCartId: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Checkout>>;
3
+ declare const getCheckoutByCartId: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<Checkout> | APIResponse<undefined>>;
4
4
  export default getCheckoutByCartId;
5
5
  export declare type QueryParams = {
6
6
  cartId: string;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { Checkout } from "../types";
3
- declare const getCheckoutById: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Checkout>>;
3
+ declare const getCheckoutById: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<Checkout> | APIResponse<undefined>>;
4
4
  export default getCheckoutById;
5
5
  export declare type QueryParams = {
6
6
  id: string;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { CurrencyRate } from "../types";
3
- declare const getCurrencyRate: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CurrencyRate>>;
3
+ declare const getCurrencyRate: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CurrencyRate> | APIResponse<undefined>>;
4
4
  export default getCurrencyRate;
5
5
  export declare type QueryParams = {
6
6
  date?: any | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StorefrontOrder } from "../types";
3
- declare const getCustomerOrders: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<StorefrontOrder[]>>;
3
+ declare const getCustomerOrders: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<StorefrontOrder[]> | APIResponse<undefined>>;
4
4
  export default getCustomerOrders;
5
5
  export declare type QueryParams = {
6
6
  orderId?: string | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { ProductLastViewed } from "../types";
3
- declare const getLastViewedProducts: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<ProductLastViewed>>;
3
+ declare const getLastViewedProducts: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<ProductLastViewed> | APIResponse<undefined>>;
4
4
  export default getLastViewedProducts;
5
5
  export declare type QueryParams = {
6
6
  customerId?: string | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { MasterPassOperationTypeEnum, MasterPassTokenResponse } from "../types";
3
- declare const getMasterPassRequestToken: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<MasterPassTokenResponse>>;
3
+ declare const getMasterPassRequestToken: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<MasterPassTokenResponse> | APIResponse<undefined>>;
4
4
  export default getMasterPassRequestToken;
5
5
  export declare type QueryParams = {
6
6
  cartId: string;
@@ -0,0 +1 @@
1
+ import{__awaiter as t,__generator as e}from'../../ext/tslib/tslib.es6.js';import{handleAPIError as n,APIResponse as r}from'../../ext/@ikas/fe-api-client/build/utils/api.js';import s from'../../ext/@ikas/fe-api-client/build/utils/fetch-query.js';var a,o=function(a,o,u){return t(void 0,void 0,void 0,(function(){var t,p,d,l;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,s({operationName:"getMasterPassRequestToken",config:u,variables:a,allReturnFields:i,fields:o,query:function(t){return"\n\t\t\t\tquery getMasterPassRequestToken (\n\t\t\t\t\t$cartId: String!,\n\t\t\t\t\t$operationType: MasterPassOperationTypeEnum!,\n\t\t\t\t\t$paymentGatewayId: String!,\n\t\t\t\t\t$phoneNumber: String!,\n\t\t\t\t) {\n\t\t\t\t\tgetMasterPassRequestToken (\n\t\t\t\t\t\tcartId: $cartId,\n\t\t\t\t\t\toperationType: $operationType,\n\t\t\t\t\t\tpaymentGatewayId: $paymentGatewayId,\n\t\t\t\t\t\tphoneNumber: $phoneNumber,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=e.sent(),p=t.data,d=t.errors,[2,new r(null==p?void 0:p.getMasterPassRequestToken,d)];case 2:return l=e.sent(),[2,n(l)];case 3:return[2]}}))}))},i="{requestReferenceNumber timeZone token }";!function(t){t.REQUEST_REFERENCE_NUMBER="requestReferenceNumber",t.TIME_ZONE="timeZone",t.TOKEN="token"}(a||(a={}));export{a as ResponseField,o as default};
@@ -1,3 +1,3 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
- declare const getMyCountry: (config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<string>>;
2
+ declare const getMyCountry: (config?: ConfigType | undefined) => Promise<APIResponse<string> | APIResponse<undefined>>;
3
3
  export default getMyCountry;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { Customer } from "../types";
3
- declare const getMyCustomer: (fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Customer>>;
3
+ declare const getMyCustomer: (fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<Customer> | APIResponse<undefined>>;
4
4
  export default getMyCustomer;
5
5
  export declare enum ResponseField {
6
6
  ACCOUNT_STATUS = "accountStatus",
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StorefrontOrder } from "../types";
3
- declare const getOrder: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<StorefrontOrder>>;
3
+ declare const getOrder: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<StorefrontOrder> | APIResponse<undefined>>;
4
4
  export default getOrder;
5
5
  export declare type QueryParams = {
6
6
  orderId: string;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StorefrontOrder } from "../types";
3
- declare const getOrderByEmail: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<StorefrontOrder>>;
3
+ declare const getOrderByEmail: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<StorefrontOrder> | APIResponse<undefined>>;
4
4
  export default getOrderByEmail;
5
5
  export declare type QueryParams = {
6
6
  email: string;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { GetProductCampaignsInput, GetProductCampaignsResponse } from "../types";
3
- declare const getProductCampaigns: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<GetProductCampaignsResponse[]>>;
3
+ declare const getProductCampaigns: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<GetProductCampaignsResponse[]> | APIResponse<undefined>>;
4
4
  export default getProductCampaigns;
5
5
  export declare type QueryParams = {
6
6
  input: GetProductCampaignsInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { ProductFilterData } from "../types";
3
- declare const getProductFilterData: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<ProductFilterData>>;
3
+ declare const getProductFilterData: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<ProductFilterData> | APIResponse<undefined>>;
4
4
  export default getProductFilterData;
5
5
  export declare type QueryParams = {
6
6
  categoryId?: string | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { GetProductOptionFileUrl } from "../types";
3
- declare const getProductOptionFileUrl: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<GetProductOptionFileUrl>>;
3
+ declare const getProductOptionFileUrl: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<GetProductOptionFileUrl> | APIResponse<undefined>>;
4
4
  export default getProductOptionFileUrl;
5
5
  export declare type QueryParams = {
6
6
  fileName: string;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { RaffleParticipants } from "../types";
3
- declare const getRaffleParticipants: (fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<RaffleParticipants[]>>;
3
+ declare const getRaffleParticipants: (fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<RaffleParticipants[]> | APIResponse<undefined>>;
4
4
  export default getRaffleParticipants;
5
5
  export declare enum ResponseField {
6
6
  APPLICATION_DATE = "applicationDate",
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { Raffle } from "../types";
3
- declare const getRafflesByCustomerId: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Raffle[]>>;
3
+ declare const getRafflesByCustomerId: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<Raffle[]> | APIResponse<undefined>>;
4
4
  export default getRafflesByCustomerId;
5
5
  export declare type QueryParams = {
6
6
  winnerFilter?: boolean | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { Storefront } from "../types";
3
- declare const getStorefront: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Storefront>>;
3
+ declare const getStorefront: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<Storefront> | APIResponse<undefined>>;
4
4
  export default getStorefront;
5
5
  export declare type QueryParams = {
6
6
  id: string;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { GetVariantStockLocationListResponse } from "../types";
3
- declare const getVariantStockLocations: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<GetVariantStockLocationListResponse>>;
3
+ declare const getVariantStockLocations: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<GetVariantStockLocationListResponse> | APIResponse<undefined>>;
4
4
  export default getVariantStockLocations;
5
5
  export declare type QueryParams = {
6
6
  stockLocationIdList?: string[] | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, PaginationInput, DateFilterInput, BlogPaginationResponse } from "../types";
3
- declare const listBlog: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<BlogPaginationResponse>>;
3
+ declare const listBlog: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<BlogPaginationResponse> | APIResponse<undefined>>;
4
4
  export default listBlog;
5
5
  export declare type QueryParams = {
6
6
  categoryId?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, PaginationInput, DateFilterInput, BlogCategoryPaginationResponse } from "../types";
3
- declare const listBlogCategory: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<BlogCategoryPaginationResponse>>;
3
+ declare const listBlogCategory: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<BlogCategoryPaginationResponse> | APIResponse<undefined>>;
4
4
  export default listBlogCategory;
5
5
  export declare type QueryParams = {
6
6
  id?: StringFilterInput | null;