@ikas/storefront 3.0.0-alpha.40 → 3.0.0-alpha.42

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 (117) hide show
  1. package/build/__api/models/AddItemToCartInput.d.ts +0 -2
  2. package/build/__api/models/CampaignOffer.js +1 -0
  3. package/build/__api/models/CampaignOfferProduct.js +1 -0
  4. package/build/__api/models/CampaignOfferProductTranslation.js +1 -0
  5. package/build/__api/models/CampaignOfferTriggerSettings.js +1 -0
  6. package/build/__api/models/CartV2CampaignOffer.d.ts +2 -0
  7. package/build/__api/models/CartV2CampaignOffer.js +1 -1
  8. package/build/__api/models/{MasterPassTokenResponse.d.ts → MasterpassTokenResponse.d.ts} +0 -0
  9. package/build/__api/models/SaveItemToCartInput.d.ts +0 -2
  10. package/build/__api/models/Storefront.d.ts +1 -0
  11. package/build/__api/models/UpdateCartCampaignOfferInput.d.ts +14 -0
  12. package/build/__api/mutations/addCouponCodeToCheckout.d.ts +1 -1
  13. package/build/__api/mutations/addItemToCart.d.ts +29 -1
  14. package/build/__api/mutations/addItemToCart.js +1 -1
  15. package/build/__api/mutations/createCustomerEmailSubscription.d.ts +1 -1
  16. package/build/__api/mutations/createCustomerReview.d.ts +1 -1
  17. package/build/__api/mutations/createOrderRefundRequest.d.ts +1 -1
  18. package/build/__api/mutations/createSaleTransactionWithCart.d.ts +1 -1
  19. package/build/__api/mutations/createSaleTransactionWithCheckout.d.ts +1 -1
  20. package/build/__api/mutations/createStripePaymentIntent.d.ts +1 -1
  21. package/build/__api/mutations/customerLogin.d.ts +1 -1
  22. package/build/__api/mutations/customerRefreshToken.d.ts +1 -1
  23. package/build/__api/mutations/getOrderLineFile.d.ts +1 -1
  24. package/build/__api/mutations/registerCustomer.d.ts +1 -1
  25. package/build/__api/mutations/retrieveInstallmentInfo.d.ts +1 -1
  26. package/build/__api/mutations/saveCart.d.ts +29 -1
  27. package/build/__api/mutations/saveCart.js +1 -1
  28. package/build/__api/mutations/saveCartCouponCode.d.ts +29 -1
  29. package/build/__api/mutations/saveCartCouponCode.js +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 +244 -0
  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 +29 -1
  45. package/build/__api/queries/getCartById.js +1 -1
  46. package/build/__api/queries/getCheckoutByCartId.d.ts +1 -1
  47. package/build/__api/queries/getCheckoutById.d.ts +1 -1
  48. package/build/__api/queries/getCurrencyRate.d.ts +1 -1
  49. package/build/__api/queries/getCustomerOrders.d.ts +1 -1
  50. package/build/__api/queries/getLastViewedProducts.d.ts +1 -1
  51. package/build/__api/queries/getMasterpassRequestToken.d.ts +1 -1
  52. package/build/__api/queries/getMyCountry.d.ts +1 -1
  53. package/build/__api/queries/getMyCustomer.d.ts +1 -1
  54. package/build/__api/queries/getOrder.d.ts +1 -1
  55. package/build/__api/queries/getOrderByEmail.d.ts +1 -1
  56. package/build/__api/queries/getProductCampaigns.d.ts +1 -1
  57. package/build/__api/queries/getProductFilterData.d.ts +1 -1
  58. package/build/__api/queries/getProductOptionFileUrl.d.ts +1 -1
  59. package/build/__api/queries/getRaffleParticipants.d.ts +1 -1
  60. package/build/__api/queries/getRafflesByCustomerId.d.ts +1 -1
  61. package/build/__api/queries/getStorefront.d.ts +2 -1
  62. package/build/__api/queries/getStorefront.js +1 -1
  63. package/build/__api/queries/getVariantStockLocations.d.ts +1 -1
  64. package/build/__api/queries/listBlog.d.ts +1 -1
  65. package/build/__api/queries/listBlogCategory.d.ts +1 -1
  66. package/build/__api/queries/listBlogMetadata.d.ts +1 -1
  67. package/build/__api/queries/listCampaignOffer.d.ts +1 -1
  68. package/build/__api/queries/listCategory.d.ts +1 -1
  69. package/build/__api/queries/listCheckoutSettings.d.ts +1 -1
  70. package/build/__api/queries/listCity.d.ts +1 -1
  71. package/build/__api/queries/listCountry.d.ts +1 -1
  72. package/build/__api/queries/listCustomerAttribute.d.ts +1 -1
  73. package/build/__api/queries/listCustomerReviewSummary.d.ts +1 -1
  74. package/build/__api/queries/listCustomerReviews.d.ts +1 -1
  75. package/build/__api/queries/listDistrict.d.ts +1 -1
  76. package/build/__api/queries/listFavoriteProducts.d.ts +1 -1
  77. package/build/__api/queries/listHTMLMetaData.d.ts +1 -1
  78. package/build/__api/queries/listMerchantSettings.d.ts +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 +10 -7
  96. package/build/_virtual/index.js_commonjs-proxy13.js +1 -1
  97. package/build/_virtual/index.js_commonjs-proxy14.js +1 -1
  98. package/build/_virtual/index.js_commonjs-proxy2.js +1 -1
  99. package/build/_virtual/index.js_commonjs-proxy3.js +1 -1
  100. package/build/_virtual/index.js_commonjs-proxy4.js +1 -1
  101. package/build/assets/translations/checkout/en.js +1 -1
  102. package/build/assets/translations/checkout/tr.js +1 -1
  103. package/build/components/checkout/components/master-pass/modal-otp/index.js +1 -1
  104. package/build/components/checkout/model.js +1 -1
  105. package/build/components/checkout/steps/step-payment/payment-gateways/index.js +1 -1
  106. package/build/ext/axios/package.json.js +1 -1
  107. package/build/ikas.cjs +1 -1
  108. package/build/models/ui/product-list/index.d.ts +1 -1
  109. package/build/store/checkout/index.d.ts +1 -1
  110. package/build/store/customer/api.d.ts +5 -5
  111. package/build/store/location/index.d.ts +1 -1
  112. package/build/store/product/index.d.ts +1 -1
  113. package/package.json +1 -1
  114. package/build/__api/models/CartCampaignOfferInput.d.ts +0 -11
  115. package/build/components/checkout/components/master-pass/credit-card-form/index.js +0 -1
  116. package/build/components/checkout/components/master-pass/credit-card-form/style.module.scss.js +0 -1
  117. package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.js +0 -1
@@ -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;
@@ -18,6 +18,7 @@ export declare enum ResponseField {
18
18
  DOMAINS__REDIRECT_DOMAIN_NAME = "domains.redirectDomainName",
19
19
  DOMAINS__UPDATED_AT = "domains.updatedAt",
20
20
  EMAIL_SETTINGS_ID = "emailSettingsId",
21
+ FB_ACCESS_TOKEN = "fbAccessToken",
21
22
  FBP_ID = "fbpId",
22
23
  GTM_ID = "gtmId",
23
24
  ID = "id",
@@ -1 +1 @@
1
- import{__awaiter as t,__generator as e}from'../../ext/tslib/tslib.es6.js';import{handleAPIError as i,APIResponse as _}from'../../ext/@ikas/fe-api-client/build/utils/api.js';import a from'../../ext/@ikas/fe-api-client/build/utils/fetch-query.js';var n,d=function(n,d,I){return t(void 0,void 0,void 0,(function(){var t,s,r,A;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,a({operationName:"getStorefront",config:I,variables:n,allReturnFields:o,fields:d,query:function(t){return"\n\t\t\t\tquery getStorefront (\n\t\t\t\t\t$id: String!,\n\t\t\t\t) {\n\t\t\t\t\tgetStorefront (\n\t\t\t\t\t\tid: $id,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=e.sent(),s=t.data,r=t.errors,[2,new _(null==s?void 0:s.getStorefront,r)];case 2:return A=e.sent(),[2,i(A)];case 3:return[2]}}))}))},o="{analytics4Id createdAt deleted domains {createdAt deleted id isDefault merchantDomainId name redirectDomainName updatedAt } emailSettingsId fbpId gtmId id localizations {createdAt deleted id isDefault locale name updatedAt } mainStorefrontThemeId name pickUpStockLocationIds routings {countryCodes createdAt deleted domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId updatedAt } salesChannelId socialLoginSettings {apiKey apiSecret provider } status themes {createdAt deleted id isMainTheme name status themeId themeVersionId updatedAt } tiktokPixelId universalAnalyticsId updatedAt }";!function(t){t.ANALYTICS4_ID="analytics4Id",t.CREATED_AT="createdAt",t.DELETED="deleted",t.DOMAINS__CREATED_AT="domains.createdAt",t.DOMAINS__DELETED="domains.deleted",t.DOMAINS__ID="domains.id",t.DOMAINS__IS_DEFAULT="domains.isDefault",t.DOMAINS__MERCHANT_DOMAIN_ID="domains.merchantDomainId",t.DOMAINS__NAME="domains.name",t.DOMAINS__REDIRECT_DOMAIN_NAME="domains.redirectDomainName",t.DOMAINS__UPDATED_AT="domains.updatedAt",t.EMAIL_SETTINGS_ID="emailSettingsId",t.FBP_ID="fbpId",t.GTM_ID="gtmId",t.ID="id",t.LOCALIZATIONS__CREATED_AT="localizations.createdAt",t.LOCALIZATIONS__DELETED="localizations.deleted",t.LOCALIZATIONS__ID="localizations.id",t.LOCALIZATIONS__IS_DEFAULT="localizations.isDefault",t.LOCALIZATIONS__LOCALE="localizations.locale",t.LOCALIZATIONS__NAME="localizations.name",t.LOCALIZATIONS__UPDATED_AT="localizations.updatedAt",t.MAIN_STOREFRONT_THEME_ID="mainStorefrontThemeId",t.NAME="name",t.PICK_UP_STOCK_LOCATION_IDS="pickUpStockLocationIds",t.ROUTINGS__COUNTRY_CODES="routings.countryCodes",t.ROUTINGS__CREATED_AT="routings.createdAt",t.ROUTINGS__DELETED="routings.deleted",t.ROUTINGS__DOMAIN="routings.domain",t.ROUTINGS__DYNAMIC_CURRENCY_SETTINGS__ROUNDING_FORMAT="routings.dynamicCurrencySettings.roundingFormat",t.ROUTINGS__DYNAMIC_CURRENCY_SETTINGS__TARGET_CURRENCY_CODE="routings.dynamicCurrencySettings.targetCurrencyCode",t.ROUTINGS__ID="routings.id",t.ROUTINGS__LOCALE="routings.locale",t.ROUTINGS__PATH="routings.path",t.ROUTINGS__PRICE_LIST_ID="routings.priceListId",t.ROUTINGS__UPDATED_AT="routings.updatedAt",t.SALES_CHANNEL_ID="salesChannelId",t.SOCIAL_LOGIN_SETTINGS__API_KEY="socialLoginSettings.apiKey",t.SOCIAL_LOGIN_SETTINGS__API_SECRET="socialLoginSettings.apiSecret",t.SOCIAL_LOGIN_SETTINGS__PROVIDER="socialLoginSettings.provider",t.STATUS="status",t.THEMES__CREATED_AT="themes.createdAt",t.THEMES__DELETED="themes.deleted",t.THEMES__ID="themes.id",t.THEMES__IS_MAIN_THEME="themes.isMainTheme",t.THEMES__NAME="themes.name",t.THEMES__STATUS="themes.status",t.THEMES__THEME_ID="themes.themeId",t.THEMES__THEME_VERSION_ID="themes.themeVersionId",t.THEMES__UPDATED_AT="themes.updatedAt",t.TIKTOK_PIXEL_ID="tiktokPixelId",t.UNIVERSAL_ANALYTICS_ID="universalAnalyticsId",t.UPDATED_AT="updatedAt"}(n||(n={}));export{n as ResponseField,d as default};
1
+ import{__awaiter as t,__generator as e}from'../../ext/tslib/tslib.es6.js';import{handleAPIError as i,APIResponse as _}from'../../ext/@ikas/fe-api-client/build/utils/api.js';import n from'../../ext/@ikas/fe-api-client/build/utils/fetch-query.js';var a,d=function(a,d,s){return t(void 0,void 0,void 0,(function(){var t,I,r,A;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,n({operationName:"getStorefront",config:s,variables:a,allReturnFields:o,fields:d,query:function(t){return"\n\t\t\t\tquery getStorefront (\n\t\t\t\t\t$id: String!,\n\t\t\t\t) {\n\t\t\t\t\tgetStorefront (\n\t\t\t\t\t\tid: $id,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=e.sent(),I=t.data,r=t.errors,[2,new _(null==I?void 0:I.getStorefront,r)];case 2:return A=e.sent(),[2,i(A)];case 3:return[2]}}))}))},o="{analytics4Id createdAt deleted domains {createdAt deleted id isDefault merchantDomainId name redirectDomainName updatedAt } emailSettingsId fbAccessToken fbpId gtmId id localizations {createdAt deleted id isDefault locale name updatedAt } mainStorefrontThemeId name pickUpStockLocationIds routings {countryCodes createdAt deleted domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId updatedAt } salesChannelId socialLoginSettings {apiKey apiSecret provider } status themes {createdAt deleted id isMainTheme name status themeId themeVersionId updatedAt } tiktokPixelId universalAnalyticsId updatedAt }";!function(t){t.ANALYTICS4_ID="analytics4Id",t.CREATED_AT="createdAt",t.DELETED="deleted",t.DOMAINS__CREATED_AT="domains.createdAt",t.DOMAINS__DELETED="domains.deleted",t.DOMAINS__ID="domains.id",t.DOMAINS__IS_DEFAULT="domains.isDefault",t.DOMAINS__MERCHANT_DOMAIN_ID="domains.merchantDomainId",t.DOMAINS__NAME="domains.name",t.DOMAINS__REDIRECT_DOMAIN_NAME="domains.redirectDomainName",t.DOMAINS__UPDATED_AT="domains.updatedAt",t.EMAIL_SETTINGS_ID="emailSettingsId",t.FB_ACCESS_TOKEN="fbAccessToken",t.FBP_ID="fbpId",t.GTM_ID="gtmId",t.ID="id",t.LOCALIZATIONS__CREATED_AT="localizations.createdAt",t.LOCALIZATIONS__DELETED="localizations.deleted",t.LOCALIZATIONS__ID="localizations.id",t.LOCALIZATIONS__IS_DEFAULT="localizations.isDefault",t.LOCALIZATIONS__LOCALE="localizations.locale",t.LOCALIZATIONS__NAME="localizations.name",t.LOCALIZATIONS__UPDATED_AT="localizations.updatedAt",t.MAIN_STOREFRONT_THEME_ID="mainStorefrontThemeId",t.NAME="name",t.PICK_UP_STOCK_LOCATION_IDS="pickUpStockLocationIds",t.ROUTINGS__COUNTRY_CODES="routings.countryCodes",t.ROUTINGS__CREATED_AT="routings.createdAt",t.ROUTINGS__DELETED="routings.deleted",t.ROUTINGS__DOMAIN="routings.domain",t.ROUTINGS__DYNAMIC_CURRENCY_SETTINGS__ROUNDING_FORMAT="routings.dynamicCurrencySettings.roundingFormat",t.ROUTINGS__DYNAMIC_CURRENCY_SETTINGS__TARGET_CURRENCY_CODE="routings.dynamicCurrencySettings.targetCurrencyCode",t.ROUTINGS__ID="routings.id",t.ROUTINGS__LOCALE="routings.locale",t.ROUTINGS__PATH="routings.path",t.ROUTINGS__PRICE_LIST_ID="routings.priceListId",t.ROUTINGS__UPDATED_AT="routings.updatedAt",t.SALES_CHANNEL_ID="salesChannelId",t.SOCIAL_LOGIN_SETTINGS__API_KEY="socialLoginSettings.apiKey",t.SOCIAL_LOGIN_SETTINGS__API_SECRET="socialLoginSettings.apiSecret",t.SOCIAL_LOGIN_SETTINGS__PROVIDER="socialLoginSettings.provider",t.STATUS="status",t.THEMES__CREATED_AT="themes.createdAt",t.THEMES__DELETED="themes.deleted",t.THEMES__ID="themes.id",t.THEMES__IS_MAIN_THEME="themes.isMainTheme",t.THEMES__NAME="themes.name",t.THEMES__STATUS="themes.status",t.THEMES__THEME_ID="themes.themeId",t.THEMES__THEME_VERSION_ID="themes.themeVersionId",t.THEMES__UPDATED_AT="themes.updatedAt",t.TIKTOK_PIXEL_ID="tiktokPixelId",t.UNIVERSAL_ANALYTICS_ID="universalAnalyticsId",t.UPDATED_AT="updatedAt"}(a||(a={}));export{a as ResponseField,d as default};
@@ -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<GetVariantStockLocationListResponse> | APIResponse<undefined>>;
3
+ declare const getVariantStockLocations: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<GetVariantStockLocationListResponse>>;
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<BlogPaginationResponse> | APIResponse<undefined>>;
3
+ declare const listBlog: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<BlogPaginationResponse>>;
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<BlogCategoryPaginationResponse> | APIResponse<undefined>>;
3
+ declare const listBlogCategory: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<BlogCategoryPaginationResponse>>;
4
4
  export default listBlogCategory;
5
5
  export declare type QueryParams = {
6
6
  id?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, PaginationInput, BlogMetadataTargetTypeEnumFilter, DateFilterInput, BlogMetadataPaginationResponse } from "../types";
3
- declare const listBlogMetadata: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<BlogMetadataPaginationResponse> | APIResponse<undefined>>;
3
+ declare const listBlogMetadata: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<BlogMetadataPaginationResponse>>;
4
4
  export default listBlogMetadata;
5
5
  export declare type QueryParams = {
6
6
  id?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, CampaignOffer } from "../types";
3
- declare const listCampaignOffer: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CampaignOffer[]> | APIResponse<undefined>>;
3
+ declare const listCampaignOffer: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CampaignOffer[]>>;
4
4
  export default listCampaignOffer;
5
5
  export declare type QueryParams = {
6
6
  id?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { CategoryPathFilterInput, StringFilterInput, PaginationInput, DateFilterInput, CategoryPaginationResponse } from "../types";
3
- declare const listCategory: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CategoryPaginationResponse> | APIResponse<undefined>>;
3
+ declare const listCategory: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CategoryPaginationResponse>>;
4
4
  export default listCategory;
5
5
  export declare type QueryParams = {
6
6
  categoryPath?: CategoryPathFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, CheckoutSettings } from "../types";
3
- declare const listCheckoutSettings: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CheckoutSettings[]> | APIResponse<undefined>>;
3
+ declare const listCheckoutSettings: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CheckoutSettings[]>>;
4
4
  export default listCheckoutSettings;
5
5
  export declare type QueryParams = {
6
6
  id?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, DateFilterInput, City } from "../types";
3
- declare const listCity: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<City[]> | APIResponse<undefined>>;
3
+ declare const listCity: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<City[]>>;
4
4
  export default listCity;
5
5
  export declare type QueryParams = {
6
6
  countryId?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, DateFilterInput, Country } from "../types";
3
- declare const listCountry: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<Country[]> | APIResponse<undefined>>;
3
+ declare const listCountry: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Country[]>>;
4
4
  export default listCountry;
5
5
  export declare type QueryParams = {
6
6
  id?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { CustomerAttribute } from "../types";
3
- declare const listCustomerAttribute: (fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CustomerAttribute[]> | APIResponse<undefined>>;
3
+ declare const listCustomerAttribute: (fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CustomerAttribute[]>>;
4
4
  export default listCustomerAttribute;
5
5
  export declare enum ResponseField {
6
6
  CREATED_AT = "createdAt",
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { PaginationInput, StringFilterInput, CustomerReviewSummaryPaginationResponse } from "../types";
3
- declare const listCustomerReviewSummary: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CustomerReviewSummaryPaginationResponse> | APIResponse<undefined>>;
3
+ declare const listCustomerReviewSummary: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CustomerReviewSummaryPaginationResponse>>;
4
4
  export default listCustomerReviewSummary;
5
5
  export declare type QueryParams = {
6
6
  pagination?: PaginationInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, ListCustomerReviewInput, PaginationInput, CustomerReviewSFPaginationResponse } from "../types";
3
- declare const listCustomerReviews: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CustomerReviewSFPaginationResponse> | APIResponse<undefined>>;
3
+ declare const listCustomerReviews: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CustomerReviewSFPaginationResponse>>;
4
4
  export default listCustomerReviews;
5
5
  export declare type QueryParams = {
6
6
  id?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, DateFilterInput, District } from "../types";
3
- declare const listDistrict: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<District[]> | APIResponse<undefined>>;
3
+ declare const listDistrict: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<District[]>>;
4
4
  export default listDistrict;
5
5
  export declare type QueryParams = {
6
6
  cityId: StringFilterInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { CustomerFavoriteProduct } from "../types";
3
- declare const listFavoriteProducts: (fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<CustomerFavoriteProduct[]> | APIResponse<undefined>>;
3
+ declare const listFavoriteProducts: (fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<CustomerFavoriteProduct[]>>;
4
4
  export default listFavoriteProducts;
5
5
  export declare enum ResponseField {
6
6
  CREATED_AT = "createdAt",
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, PaginationInput, HTMLMetaDataTargetTypeEnumFilter, HTMLMetaData } from "../types";
3
- declare const listHTMLMetaData: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<HTMLMetaData[]> | APIResponse<undefined>>;
3
+ declare const listHTMLMetaData: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<HTMLMetaData[]>>;
4
4
  export default listHTMLMetaData;
5
5
  export declare type QueryParams = {
6
6
  id?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, MerchantSettings } from "../types";
3
- declare const listMerchantSettings: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<MerchantSettings[]> | APIResponse<undefined>>;
3
+ declare const listMerchantSettings: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<MerchantSettings[]>>;
4
4
  export default listMerchantSettings;
5
5
  export declare type QueryParams = {
6
6
  id?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, DateFilterInput, OrderRefundSettings } from "../types";
3
- declare const listOrderRefundSettings: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<OrderRefundSettings[]> | APIResponse<undefined>>;
3
+ declare const listOrderRefundSettings: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<OrderRefundSettings[]>>;
4
4
  export default listOrderRefundSettings;
5
5
  export declare type QueryParams = {
6
6
  id?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, StorefrontTransaction } from "../types";
3
- declare const listOrderTransactions: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<StorefrontTransaction[]> | APIResponse<undefined>>;
3
+ declare const listOrderTransactions: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<StorefrontTransaction[]>>;
4
4
  export default listOrderTransactions;
5
5
  export declare type QueryParams = {
6
6
  checkoutId?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, PaginationInput, PaymentGateway } from "../types";
3
- declare const listPaymentGateway: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<PaymentGateway[]> | APIResponse<undefined>>;
3
+ declare const listPaymentGateway: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<PaymentGateway[]>>;
4
4
  export default listPaymentGateway;
5
5
  export declare type QueryParams = {
6
6
  id?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, CategoryFilterInput, PaginationInput, DateFilterInput, ProductPaginationResponse } from "../types";
3
- declare const listProduct: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<ProductPaginationResponse> | APIResponse<undefined>>;
3
+ declare const listProduct: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<ProductPaginationResponse>>;
4
4
  export default listProduct;
5
5
  export declare type QueryParams = {
6
6
  brandId?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, DateFilterInput, ProductAttribute } from "../types";
3
- declare const listProductAttribute: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<ProductAttribute[]> | APIResponse<undefined>>;
3
+ declare const listProductAttribute: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<ProductAttribute[]>>;
4
4
  export default listProductAttribute;
5
5
  export declare type QueryParams = {
6
6
  id?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, DateFilterInput, ProductBackInStockRemind } from "../types";
3
- declare const listProductBackInStockRemind: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<ProductBackInStockRemind[]> | APIResponse<undefined>>;
3
+ declare const listProductBackInStockRemind: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<ProductBackInStockRemind[]>>;
4
4
  export default listProductBackInStockRemind;
5
5
  export declare type QueryParams = {
6
6
  email?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, PaginationInput, DateFilterInput, ProductBrandPaginationResponse } from "../types";
3
- declare const listProductBrand: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<ProductBrandPaginationResponse> | APIResponse<undefined>>;
3
+ declare const listProductBrand: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<ProductBrandPaginationResponse>>;
4
4
  export default listProductBrand;
5
5
  export declare type QueryParams = {
6
6
  id?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, DateFilterInput, ProductOptionSet } from "../types";
3
- declare const listProductOptionSet: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<ProductOptionSet[]> | APIResponse<undefined>>;
3
+ declare const listProductOptionSet: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<ProductOptionSet[]>>;
4
4
  export default listProductOptionSet;
5
5
  export declare type QueryParams = {
6
6
  id?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { ProductStockLocation } from "../types";
3
- declare const listProductStockLocation: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<ProductStockLocation[]> | APIResponse<undefined>>;
3
+ declare const listProductStockLocation: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<ProductStockLocation[]>>;
4
4
  export default listProductStockLocation;
5
5
  export declare type QueryParams = {
6
6
  stockLocationIdList: string[];
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { DateFilterInput, StringFilterInput, PaginationInput, BooleanFilterInput, RafflePaginationResponse } from "../types";
3
- declare const listRaffle: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<RafflePaginationResponse> | APIResponse<undefined>>;
3
+ declare const listRaffle: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<RafflePaginationResponse>>;
4
4
  export default listRaffle;
5
5
  export declare type QueryParams = {
6
6
  end?: DateFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, PaginationInput, RaffleMetadataTargetTypeEnumFilter, DateFilterInput, RaffleMetadata } from "../types";
3
- declare const listRaffleMetadata: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<RaffleMetadata[]> | APIResponse<undefined>>;
3
+ declare const listRaffleMetadata: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<RaffleMetadata[]>>;
4
4
  export default listRaffleMetadata;
5
5
  export declare type QueryParams = {
6
6
  id?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, DateFilterInput, State } from "../types";
3
- declare const listState: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<State[]> | APIResponse<undefined>>;
3
+ declare const listState: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<State[]>>;
4
4
  export default listState;
5
5
  export declare type QueryParams = {
6
6
  countryId: StringFilterInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, StockLocation } from "../types";
3
- declare const listStockLocation: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<StockLocation[]> | APIResponse<undefined>>;
3
+ declare const listStockLocation: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<StockLocation[]>>;
4
4
  export default listStockLocation;
5
5
  export declare type QueryParams = {
6
6
  id?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, DateFilterInput, Town } from "../types";
3
- declare const listTown: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<Town[]> | APIResponse<undefined>>;
3
+ declare const listTown: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<Town[]>>;
4
4
  export default listTown;
5
5
  export declare type QueryParams = {
6
6
  districtId: StringFilterInput;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { StringFilterInput, DateFilterInput, VariantType } from "../types";
3
- declare const listVariantType: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<VariantType[]> | APIResponse<undefined>>;
3
+ declare const listVariantType: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<VariantType[]>>;
4
4
  export default listVariantType;
5
5
  export declare type QueryParams = {
6
6
  id?: StringFilterInput | null;
@@ -1,6 +1,6 @@
1
1
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  import { SearchInput, ProductSearchResponse } from "../types";
3
- declare const searchProducts: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<ProductSearchResponse> | APIResponse<undefined>>;
3
+ declare const searchProducts: (variables: QueryParams, fields?: string[] | undefined, config?: ConfigType | undefined) => Promise<APIResponse<undefined> | APIResponse<ProductSearchResponse>>;
4
4
  export default searchProducts;
5
5
  export declare type QueryParams = {
6
6
  input: SearchInput;
@@ -516,6 +516,7 @@ export interface Storefront {
516
516
  deleted: boolean | null;
517
517
  domains: StorefrontDomain[] | null;
518
518
  emailSettingsId: string | null;
519
+ fbAccessToken: string | null;
519
520
  fbpId: string | null;
520
521
  gtmId: string | null;
521
522
  id: string;
@@ -1449,6 +1450,7 @@ export interface CartV2 {
1449
1450
  }
1450
1451
  export interface CartV2CampaignOffer {
1451
1452
  appliedOrderLineId: string | null;
1453
+ campaignOffer: CampaignOffer | null;
1452
1454
  campaignOfferId: string;
1453
1455
  campaignOfferProductId: string | null;
1454
1456
  offerEndDate: any | null;
@@ -2378,7 +2380,6 @@ export interface RetrieveInstallmentInfoInput {
2378
2380
  price: number;
2379
2381
  }
2380
2382
  export interface AddItemToCartInput {
2381
- campaignOffer?: CartCampaignOfferInput | null;
2382
2383
  cartId?: string | null;
2383
2384
  item: CartLineItemInput;
2384
2385
  options?: CartLineOptionInput[] | null;
@@ -2393,11 +2394,6 @@ export interface AppliedProductInput {
2393
2394
  export interface BooleanFilterInput {
2394
2395
  eq?: boolean | null;
2395
2396
  }
2396
- export interface CartCampaignOfferInput {
2397
- accepted: boolean;
2398
- campaignOfferId: string;
2399
- campaignOfferProductId: string;
2400
- }
2401
2397
  export interface CartLineItemInput {
2402
2398
  id?: string | null;
2403
2399
  quantity: number;
@@ -2552,7 +2548,6 @@ export interface SaveCheckoutInput {
2552
2548
  updatedAt?: any | null;
2553
2549
  }
2554
2550
  export interface SaveItemToCartInput {
2555
- campaignOffer?: CartCampaignOfferInput | null;
2556
2551
  cartId?: string | null;
2557
2552
  customerId?: string | null;
2558
2553
  item: CartLineItemInput;
@@ -2563,6 +2558,14 @@ export interface SaveItemToCartInput {
2563
2558
  storefrontRoutingId: string;
2564
2559
  storefrontThemeId: string;
2565
2560
  }
2561
+ export interface UpdateCartCampaignOfferInput {
2562
+ accepted: boolean;
2563
+ campaignOfferId: string;
2564
+ campaignOfferProductId: string;
2565
+ cartId: string;
2566
+ productId: string;
2567
+ variantId: string;
2568
+ }
2566
2569
  export interface CheckStocksLineInput {
2567
2570
  productId: string;
2568
2571
  quantity: number;
@@ -1 +1 @@
1
- import e from'../ext/inline-style-parser/index.js';export{default}from"../node_modules/inline-style-parser/index.js";
1
+ import e from'../ext/safe-buffer/index.js';export{default}from"../node_modules/safe-buffer/index.js";
@@ -1 +1 @@
1
- import e from'../ext/safe-buffer/index.js';export{default}from"../node_modules/safe-buffer/index.js";
1
+ import e from'../ext/inline-style-parser/index.js';export{default}from"../node_modules/inline-style-parser/index.js";
@@ -1 +1 @@
1
- import e from'../ext/strict-uri-encode/index.js';export{default}from"../node_modules/strict-uri-encode/index.js";
1
+ import o from'../ext/split-on-first/index.js';export{default}from"../node_modules/split-on-first/index.js";
@@ -1 +1 @@
1
- import e from'../ext/decode-uri-component/index.js';export{default}from"../node_modules/decode-uri-component/index.js";
1
+ import e from'../ext/strict-uri-encode/index.js';export{default}from"../node_modules/strict-uri-encode/index.js";
@@ -1 +1 @@
1
- import o from'../ext/split-on-first/index.js';export{default}from"../node_modules/split-on-first/index.js";
1
+ import e from'../ext/decode-uri-component/index.js';export{default}from"../node_modules/decode-uri-component/index.js";