@ikas/storefront 3.0.0-alpha.48 → 3.0.0-alpha.50

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 (112) hide show
  1. package/build/__api/models/{MasterPassTokenResponse.d.ts → MasterpassTokenResponse.d.ts} +0 -0
  2. package/build/__api/models/MerchantAddress.d.ts +27 -0
  3. package/build/__api/models/MerchantAddress.js +1 -0
  4. package/build/__api/models/MerchantAddressCity.d.ts +11 -0
  5. package/build/__api/models/MerchantAddressCity.js +1 -0
  6. package/build/__api/models/MerchantAddressCountry.d.ts +11 -0
  7. package/build/__api/models/MerchantAddressCountry.js +1 -0
  8. package/build/__api/models/MerchantAddressDistrict.d.ts +11 -0
  9. package/build/__api/models/MerchantAddressDistrict.js +1 -0
  10. package/build/__api/models/MerchantAddressState.d.ts +11 -0
  11. package/build/__api/models/MerchantAddressState.js +1 -0
  12. package/build/__api/models/MerchantSettings.d.ts +3 -0
  13. package/build/__api/models/MerchantSettings.js +1 -1
  14. package/build/__api/models/Storefront.d.ts +1 -0
  15. package/build/__api/mutations/addCouponCodeToCheckout.d.ts +1 -1
  16. package/build/__api/mutations/addItemToCart.d.ts +1 -1
  17. package/build/__api/mutations/createCustomerEmailSubscription.d.ts +1 -1
  18. package/build/__api/mutations/createCustomerReview.d.ts +1 -1
  19. package/build/__api/mutations/createOrderRefundRequest.d.ts +1 -1
  20. package/build/__api/mutations/createSaleTransactionWithCart.d.ts +1 -1
  21. package/build/__api/mutations/createSaleTransactionWithCheckout.d.ts +1 -1
  22. package/build/__api/mutations/createStripePaymentIntent.d.ts +1 -1
  23. package/build/__api/mutations/customerLogin.d.ts +1 -1
  24. package/build/__api/mutations/customerRefreshToken.d.ts +1 -1
  25. package/build/__api/mutations/getOrderLineFile.d.ts +1 -1
  26. package/build/__api/mutations/registerCustomer.d.ts +1 -1
  27. package/build/__api/mutations/retrieveInstallmentInfo.d.ts +1 -1
  28. package/build/__api/mutations/saveCart.d.ts +1 -1
  29. package/build/__api/mutations/saveCartCouponCode.d.ts +1 -1
  30. package/build/__api/mutations/saveCheckout.d.ts +1 -1
  31. package/build/__api/mutations/saveItemToCart.d.ts +1 -1
  32. package/build/__api/mutations/saveLastViewedProducts.d.ts +1 -1
  33. package/build/__api/mutations/saveMyCustomer.d.ts +1 -1
  34. package/build/__api/mutations/saveProductBackInStockRemind.d.ts +1 -1
  35. package/build/__api/mutations/saveRaffleParticipant.d.ts +1 -1
  36. package/build/__api/mutations/updateCartCampaignOffer.d.ts +1 -1
  37. package/build/__api/mutations/updateRaffleParticipant.d.ts +1 -1
  38. package/build/__api/queries/checkCustomerEmail.d.ts +1 -1
  39. package/build/__api/queries/checkStocks.d.ts +1 -1
  40. package/build/__api/queries/customerSocialLogin.d.ts +1 -1
  41. package/build/__api/queries/getAvailableShippingCountries.d.ts +1 -1
  42. package/build/__api/queries/getAvailableStockLocations.d.ts +1 -1
  43. package/build/__api/queries/getCart.d.ts +1 -1
  44. package/build/__api/queries/getCartById.d.ts +1 -1
  45. package/build/__api/queries/getCheckoutByCartId.d.ts +1 -1
  46. package/build/__api/queries/getCheckoutById.d.ts +1 -1
  47. package/build/__api/queries/getCurrencyRate.d.ts +1 -1
  48. package/build/__api/queries/getCustomerOrders.d.ts +1 -1
  49. package/build/__api/queries/getLastViewedProducts.d.ts +1 -1
  50. package/build/__api/queries/getMasterpassRequestToken.d.ts +1 -1
  51. package/build/__api/queries/getMyCountry.d.ts +1 -1
  52. package/build/__api/queries/getMyCustomer.d.ts +1 -1
  53. package/build/__api/queries/getOrder.d.ts +1 -1
  54. package/build/__api/queries/getOrderByEmail.d.ts +1 -1
  55. package/build/__api/queries/getProductCampaigns.d.ts +1 -1
  56. package/build/__api/queries/getProductFilterData.d.ts +1 -1
  57. package/build/__api/queries/getProductOptionFileUrl.d.ts +1 -1
  58. package/build/__api/queries/getRaffleParticipants.d.ts +1 -1
  59. package/build/__api/queries/getRafflesByCustomerId.d.ts +1 -1
  60. package/build/__api/queries/getStorefront.d.ts +2 -1
  61. package/build/__api/queries/getStorefront.js +1 -1
  62. package/build/__api/queries/getVariantStockLocations.d.ts +1 -1
  63. package/build/__api/queries/listBlog.d.ts +1 -1
  64. package/build/__api/queries/listBlogCategory.d.ts +1 -1
  65. package/build/__api/queries/listBlogMetadata.d.ts +1 -1
  66. package/build/__api/queries/listCampaignOffer.d.ts +1 -1
  67. package/build/__api/queries/listCategory.d.ts +1 -1
  68. package/build/__api/queries/listCheckoutSettings.d.ts +1 -1
  69. package/build/__api/queries/listCity.d.ts +1 -1
  70. package/build/__api/queries/listCountry.d.ts +1 -1
  71. package/build/__api/queries/listCustomerAttribute.d.ts +1 -1
  72. package/build/__api/queries/listCustomerReviewSummary.d.ts +1 -1
  73. package/build/__api/queries/listCustomerReviews.d.ts +1 -1
  74. package/build/__api/queries/listDistrict.d.ts +1 -1
  75. package/build/__api/queries/listFavoriteProducts.d.ts +1 -1
  76. package/build/__api/queries/listHTMLMetaData.d.ts +1 -1
  77. package/build/__api/queries/listMerchantSettings.d.ts +24 -1
  78. package/build/__api/queries/listMerchantSettings.js +1 -1
  79. package/build/__api/queries/listOrderRefundSettings.d.ts +1 -1
  80. package/build/__api/queries/listOrderTransactions.d.ts +1 -1
  81. package/build/__api/queries/listPaymentGateway.d.ts +1 -1
  82. package/build/__api/queries/listProduct.d.ts +1 -1
  83. package/build/__api/queries/listProductAttribute.d.ts +1 -1
  84. package/build/__api/queries/listProductBackInStockRemind.d.ts +1 -1
  85. package/build/__api/queries/listProductBrand.d.ts +1 -1
  86. package/build/__api/queries/listProductOptionSet.d.ts +1 -1
  87. package/build/__api/queries/listProductStockLocation.d.ts +1 -1
  88. package/build/__api/queries/listRaffle.d.ts +1 -1
  89. package/build/__api/queries/listRaffleMetadata.d.ts +1 -1
  90. package/build/__api/queries/listState.d.ts +1 -1
  91. package/build/__api/queries/listStockLocation.d.ts +1 -1
  92. package/build/__api/queries/listTown.d.ts +1 -1
  93. package/build/__api/queries/listVariantType.d.ts +1 -1
  94. package/build/__api/queries/searchProducts.d.ts +1 -1
  95. package/build/__api/types/index.d.ts +43 -0
  96. package/build/__api/types/index.js +1 -1
  97. package/build/_virtual/index.js_commonjs-proxy13.js +1 -1
  98. package/build/_virtual/index.js_commonjs-proxy14.js +1 -1
  99. package/build/_virtual/index.js_commonjs-proxy2.js +1 -1
  100. package/build/_virtual/index.js_commonjs-proxy3.js +1 -1
  101. package/build/_virtual/index.js_commonjs-proxy4.js +1 -1
  102. package/build/components/checkout/components/offer-product/index.js +1 -1
  103. package/build/components/checkout/model.d.ts +4 -5
  104. package/build/components/checkout/model.js +1 -1
  105. package/build/components/page/head.js +1 -1
  106. package/build/ikas.cjs +1 -1
  107. package/build/models/ui/product-list/index.d.ts +1 -1
  108. package/build/store/checkout/index.d.ts +1 -1
  109. package/build/store/customer/api.d.ts +5 -5
  110. package/build/store/location/index.d.ts +1 -1
  111. package/build/store/product/index.d.ts +1 -1
  112. package/package.json +1 -1
@@ -0,0 +1,27 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ import { MerchantSettingsAddressTypeEnum } from "../types";
3
+ import { MerchantAddressCityData } from "./MerchantAddressCity";
4
+ import { MerchantAddressCountryData } from "./MerchantAddressCountry";
5
+ import { MerchantAddressDistrictData } from "./MerchantAddressDistrict";
6
+ import { MerchantAddressStateData } from "./MerchantAddressState";
7
+ export declare class MerchantAddressData {
8
+ addressLine1: string | null;
9
+ addressLine2: string | null;
10
+ city: MerchantAddressCityData | null;
11
+ country: MerchantAddressCountryData | null;
12
+ district: MerchantAddressDistrictData | null;
13
+ firstName: string | null;
14
+ identityNumber: string | null;
15
+ lastName: string | null;
16
+ postalCode: string | null;
17
+ state: MerchantAddressStateData | null;
18
+ taxOffice: string | null;
19
+ title: string | null;
20
+ type: MerchantSettingsAddressTypeEnum | null;
21
+ vkn: string | null;
22
+ constructor(data?: Partial<MerchantAddressData>);
23
+ }
24
+ export declare class MerchantAddress extends MerchantAddressData {
25
+ }
26
+ export declare type PartialMerchantAddress = Partial<MerchantAddress>;
27
+ export declare type ReadOnlyMerchantAddress = DeepReadonly<MerchantAddress>;
@@ -0,0 +1 @@
1
+ import{__extends as t}from'../../ext/tslib/tslib.es6.js';import{makeObservable as i,observable as s}from"mobx";import{MerchantAddressCityData as e}from"./MerchantAddressCity.js";import{MerchantAddressCountryData as n}from"./MerchantAddressCountry.js";import{MerchantAddressDistrictData as r}from"./MerchantAddressDistrict.js";import{MerchantAddressStateData as l}from"./MerchantAddressState.js";var d=function(t){void 0===t&&(t={}),this.addressLine1=t.addressLine1||null,this.addressLine2=t.addressLine2||null,this.city=t.city?new e(t.city):null,this.country=t.country?new n(t.country):null,this.district=t.district?new r(t.district):null,this.firstName=t.firstName||null,this.identityNumber=t.identityNumber||null,this.lastName=t.lastName||null,this.postalCode=t.postalCode||null,this.state=t.state?new l(t.state):null,this.taxOffice=t.taxOffice||null,this.title=t.title||null,this.type=t.type||null,this.vkn=t.vkn||null,i(this,{addressLine1:s,addressLine2:s,city:s,country:s,district:s,firstName:s,identityNumber:s,lastName:s,postalCode:s,state:s,taxOffice:s,title:s,type:s,vkn:s})};!function(i){function s(){return null!==i&&i.apply(this,arguments)||this}t(s,i)}(d);export{d as MerchantAddressData};
@@ -0,0 +1,11 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ export declare class MerchantAddressCityData {
3
+ code: string | null;
4
+ id: string | null;
5
+ name: string | null;
6
+ constructor(data?: Partial<MerchantAddressCityData>);
7
+ }
8
+ export declare class MerchantAddressCity extends MerchantAddressCityData {
9
+ }
10
+ export declare type PartialMerchantAddressCity = Partial<MerchantAddressCity>;
11
+ export declare type ReadOnlyMerchantAddressCity = DeepReadonly<MerchantAddressCity>;
@@ -0,0 +1 @@
1
+ import{__extends as i}from'../../ext/tslib/tslib.es6.js';import{makeObservable as n,observable as o}from"mobx";var t=function(i){void 0===i&&(i={}),this.code=i.code||null,this.id=i.id||null,this.name=i.name||null,n(this,{code:o,id:o,name:o})};!function(n){function o(){return null!==n&&n.apply(this,arguments)||this}i(o,n)}(t);export{t as MerchantAddressCityData};
@@ -0,0 +1,11 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ export declare class MerchantAddressCountryData {
3
+ code: string | null;
4
+ id: string | null;
5
+ name: string | null;
6
+ constructor(data?: Partial<MerchantAddressCountryData>);
7
+ }
8
+ export declare class MerchantAddressCountry extends MerchantAddressCountryData {
9
+ }
10
+ export declare type PartialMerchantAddressCountry = Partial<MerchantAddressCountry>;
11
+ export declare type ReadOnlyMerchantAddressCountry = DeepReadonly<MerchantAddressCountry>;
@@ -0,0 +1 @@
1
+ import{__extends as i}from'../../ext/tslib/tslib.es6.js';import{makeObservable as n,observable as o}from"mobx";var t=function(i){void 0===i&&(i={}),this.code=i.code||null,this.id=i.id||null,this.name=i.name||null,n(this,{code:o,id:o,name:o})};!function(n){function o(){return null!==n&&n.apply(this,arguments)||this}i(o,n)}(t);export{t as MerchantAddressCountryData};
@@ -0,0 +1,11 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ export declare class MerchantAddressDistrictData {
3
+ code: string | null;
4
+ id: string | null;
5
+ name: string | null;
6
+ constructor(data?: Partial<MerchantAddressDistrictData>);
7
+ }
8
+ export declare class MerchantAddressDistrict extends MerchantAddressDistrictData {
9
+ }
10
+ export declare type PartialMerchantAddressDistrict = Partial<MerchantAddressDistrict>;
11
+ export declare type ReadOnlyMerchantAddressDistrict = DeepReadonly<MerchantAddressDistrict>;
@@ -0,0 +1 @@
1
+ import{__extends as i}from'../../ext/tslib/tslib.es6.js';import{makeObservable as n,observable as o}from"mobx";var t=function(i){void 0===i&&(i={}),this.code=i.code||null,this.id=i.id||null,this.name=i.name||null,n(this,{code:o,id:o,name:o})};!function(n){function o(){return null!==n&&n.apply(this,arguments)||this}i(o,n)}(t);export{t as MerchantAddressDistrictData};
@@ -0,0 +1,11 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ export declare class MerchantAddressStateData {
3
+ code: string | null;
4
+ id: string | null;
5
+ name: string | null;
6
+ constructor(data?: Partial<MerchantAddressStateData>);
7
+ }
8
+ export declare class MerchantAddressState extends MerchantAddressStateData {
9
+ }
10
+ export declare type PartialMerchantAddressState = Partial<MerchantAddressState>;
11
+ export declare type ReadOnlyMerchantAddressState = DeepReadonly<MerchantAddressState>;
@@ -0,0 +1 @@
1
+ import{__extends as i}from'../../ext/tslib/tslib.es6.js';import{makeObservable as n,observable as o}from"mobx";var t=function(i){void 0===i&&(i={}),this.code=i.code||null,this.id=i.id||null,this.name=i.name||null,n(this,{code:o,id:o,name:o})};!function(n){function o(){return null!==n&&n.apply(this,arguments)||this}i(o,n)}(t);export{t as MerchantAddressStateData};
@@ -1,11 +1,14 @@
1
1
  import { DeepReadonly } from "ts-essentials";
2
2
  import BaseModelData from "./_base";
3
+ import { MerchantAddressData } from "./MerchantAddress";
3
4
  import { MerchantSettingsCurrencyFormatData } from "./MerchantSettingsCurrencyFormat";
4
5
  export declare class MerchantSettingsData extends BaseModelData {
6
+ address: MerchantAddressData | null;
5
7
  currencyFormats: MerchantSettingsCurrencyFormatData[] | null;
6
8
  logoId: string | null;
7
9
  merchantId: string;
8
10
  merchantName: string;
11
+ phone: string | null;
9
12
  constructor(data?: Partial<MerchantSettingsData>);
10
13
  }
11
14
  export declare class MerchantSettings extends MerchantSettingsData {
@@ -1 +1 @@
1
- import{__extends as r}from'../../ext/tslib/tslib.es6.js';import{makeObservable as t,observable as n}from"mobx";import o from"./_base.js";import{MerchantSettingsCurrencyFormatData as e}from"./MerchantSettingsCurrencyFormat.js";var m=function(o){function m(r){void 0===r&&(r={});var m=o.call(this,r)||this;return m.currencyFormats=r.currencyFormats?r.currencyFormats.map((function(r){return new e(r)})):null,m.logoId=r.logoId||null,m.merchantId=r.merchantId||"",m.merchantName=r.merchantName||"",t(m,{currencyFormats:n,logoId:n,merchantId:n,merchantName:n}),m}return r(m,o),m}(o),c=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n}(m);export{c as MerchantSettings,m as MerchantSettingsData};
1
+ import{__extends as r}from'../../ext/tslib/tslib.es6.js';import{makeObservable as n,observable as e}from"mobx";import t from"./_base.js";import{MerchantAddressData as o}from"./MerchantAddress.js";import{MerchantSettingsCurrencyFormatData as s}from"./MerchantSettingsCurrencyFormat.js";var m=function(t){function m(r){void 0===r&&(r={});var m=t.call(this,r)||this;return m.address=r.address?new o(r.address):null,m.currencyFormats=r.currencyFormats?r.currencyFormats.map((function(r){return new s(r)})):null,m.logoId=r.logoId||null,m.merchantId=r.merchantId||"",m.merchantName=r.merchantName||"",m.phone=r.phone||null,n(m,{address:e,currencyFormats:e,logoId:e,merchantId:e,merchantName:e,phone:e}),m}return r(m,t),m}(t),a=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return r(e,n),e}(m);export{a as MerchantSettings,m as MerchantSettingsData};
@@ -23,6 +23,7 @@ export declare class StorefrontData extends BaseModelData {
23
23
  status: StorefrontStatusTypes;
24
24
  themes: StorefrontThemeData[];
25
25
  tiktokPixelId: string | null;
26
+ token: string | null;
26
27
  universalAnalyticsId: string | null;
27
28
  constructor(data?: Partial<StorefrontData>);
28
29
  }
@@ -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<Checkout> | APIResponse<undefined>>;
3
+ declare const addCouponCodeToCheckout: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Checkout>>;
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<CartV2> | APIResponse<undefined>>;
3
+ declare const addItemToCart: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CartV2>>;
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<Customer> | APIResponse<undefined>>;
3
+ declare const createCustomerEmailSubscription: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Customer>>;
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<CustomerReview> | APIResponse<undefined>>;
3
+ declare const createCustomerReview: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CustomerReview>>;
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<StorefrontOrder> | APIResponse<undefined>>;
3
+ declare const createOrderRefundRequest: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<StorefrontOrder>>;
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<TransactionResponse> | APIResponse<undefined>>;
3
+ declare const createSaleTransactionWithCart: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<TransactionResponse>>;
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<TransactionResponse> | APIResponse<undefined>>;
3
+ declare const createSaleTransactionWithCheckout: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<TransactionResponse>>;
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<CreateStripePaymentIntentResponse> | APIResponse<undefined>>;
3
+ declare const createStripePaymentIntent: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CreateStripePaymentIntentResponse>>;
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<CustomerLoginResponse> | APIResponse<undefined>>;
3
+ declare const customerLogin: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CustomerLoginResponse>>;
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<CustomerRefreshTokenResponse> | APIResponse<undefined>>;
3
+ declare const customerRefreshToken: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CustomerRefreshTokenResponse>>;
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<string> | APIResponse<undefined>>;
3
+ declare const getOrderLineFile: (variables: QueryParams, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<string>>;
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<CustomerLoginResponse> | APIResponse<undefined>>;
3
+ declare const registerCustomer: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CustomerLoginResponse>>;
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<RetrieveInstallmentInfoResponse> | APIResponse<undefined>>;
3
+ declare const retrieveInstallmentInfo: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<RetrieveInstallmentInfoResponse>>;
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<CartV2> | APIResponse<undefined>>;
3
+ declare const saveCart: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CartV2>>;
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<CartV2> | APIResponse<undefined>>;
3
+ declare const saveCartCouponCode: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CartV2>>;
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<Checkout> | APIResponse<undefined>>;
3
+ declare const saveCheckout: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Checkout>>;
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<Cart> | APIResponse<undefined>>;
3
+ declare const saveItemToCart: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Cart>>;
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<ProductLastViewed> | APIResponse<undefined>>;
3
+ declare const saveLastViewedProducts: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<ProductLastViewed>>;
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<Customer> | APIResponse<undefined>>;
3
+ declare const saveMyCustomer: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Customer>>;
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<ProductBackInStockRemind> | APIResponse<undefined>>;
3
+ declare const saveProductBackInStockRemind: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<ProductBackInStockRemind>>;
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<RaffleParticipants> | APIResponse<undefined>>;
3
+ declare const saveRaffleParticipant: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<RaffleParticipants>>;
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 { UpdateCartCampaignOfferInput, CartV2 } from "../types";
3
- declare const updateCartCampaignOffer: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CartV2> | APIResponse<undefined>>;
3
+ declare const updateCartCampaignOffer: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CartV2>>;
4
4
  export default updateCartCampaignOffer;
5
5
  export declare type QueryParams = {
6
6
  input: UpdateCartCampaignOfferInput;
@@ -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<RaffleParticipants> | APIResponse<undefined>>;
3
+ declare const updateRaffleParticipant: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<RaffleParticipants>>;
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<CustomerCheckResponse> | APIResponse<undefined>>;
3
+ declare const checkCustomerEmail: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CustomerCheckResponse>>;
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<CheckStocksResponse> | APIResponse<undefined>>;
3
+ declare const checkStocks: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CheckStocksResponse>>;
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<CustomerLoginResponse> | APIResponse<undefined>>;
3
+ declare const customerSocialLogin: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CustomerLoginResponse>>;
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<string[]> | APIResponse<undefined>>;
2
+ declare const getAvailableShippingCountries: (variables: QueryParams, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<string[]>>;
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<GetAvailableStockLocationsResponse> | APIResponse<undefined>>;
3
+ declare const getAvailableStockLocations: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<GetAvailableStockLocationsResponse>>;
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<Cart> | APIResponse<undefined>>;
3
+ declare const getCart: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Cart>>;
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<CartV2> | APIResponse<undefined>>;
3
+ declare const getCartById: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CartV2>>;
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<Checkout> | APIResponse<undefined>>;
3
+ declare const getCheckoutByCartId: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Checkout>>;
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<Checkout> | APIResponse<undefined>>;
3
+ declare const getCheckoutById: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Checkout>>;
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<CurrencyRate> | APIResponse<undefined>>;
3
+ declare const getCurrencyRate: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CurrencyRate>>;
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<StorefrontOrder[]> | APIResponse<undefined>>;
3
+ declare const getCustomerOrders: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<StorefrontOrder[]>>;
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<ProductLastViewed> | APIResponse<undefined>>;
3
+ declare const getLastViewedProducts: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<ProductLastViewed>>;
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<MasterPassTokenResponse> | APIResponse<undefined>>;
3
+ declare const getMasterPassRequestToken: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<MasterPassTokenResponse>>;
4
4
  export default getMasterPassRequestToken;
5
5
  export declare type QueryParams = {
6
6
  cartId: string;
@@ -1,3 +1,3 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
- declare const getMyCountry: (config?: ConfigType | undefined) => Promise<APIResponse<string> | APIResponse<undefined>>;
2
+ declare const getMyCountry: (config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<string>>;
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<Customer> | APIResponse<undefined>>;
3
+ declare const getMyCustomer: (fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Customer>>;
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<StorefrontOrder> | APIResponse<undefined>>;
3
+ declare const getOrder: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<StorefrontOrder>>;
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<StorefrontOrder> | APIResponse<undefined>>;
3
+ declare const getOrderByEmail: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<StorefrontOrder>>;
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<GetProductCampaignsResponse[]> | APIResponse<undefined>>;
3
+ declare const getProductCampaigns: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<GetProductCampaignsResponse[]>>;
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<ProductFilterData> | APIResponse<undefined>>;
3
+ declare const getProductFilterData: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<ProductFilterData>>;
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<GetProductOptionFileUrl> | APIResponse<undefined>>;
3
+ declare const getProductOptionFileUrl: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<GetProductOptionFileUrl>>;
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<RaffleParticipants[]> | APIResponse<undefined>>;
3
+ declare const getRaffleParticipants: (fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<RaffleParticipants[]>>;
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<Raffle[]> | APIResponse<undefined>>;
3
+ declare const getRafflesByCustomerId: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Raffle[]>>;
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<Storefront> | APIResponse<undefined>>;
3
+ declare const getStorefront: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Storefront>>;
4
4
  export default getStorefront;
5
5
  export declare type QueryParams = {
6
6
  id: string;
@@ -58,6 +58,7 @@ export declare enum ResponseField {
58
58
  THEMES__THEME_VERSION_ID = "themes.themeVersionId",
59
59
  THEMES__UPDATED_AT = "themes.updatedAt",
60
60
  TIKTOK_PIXEL_ID = "tiktokPixelId",
61
+ TOKEN = "token",
61
62
  UNIVERSAL_ANALYTICS_ID = "universalAnalyticsId",
62
63
  UPDATED_AT = "updatedAt"
63
64
  }