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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/build/__api/models/{MasterpassTokenResponse.d.ts → MasterPassTokenResponse.d.ts} +0 -0
  2. package/build/__api/mutations/addCouponCodeToCheckout.d.ts +1 -1
  3. package/build/__api/mutations/addItemToCart.d.ts +1 -1
  4. package/build/__api/mutations/createCustomerEmailSubscription.d.ts +1 -1
  5. package/build/__api/mutations/createCustomerReview.d.ts +1 -1
  6. package/build/__api/mutations/createOrderRefundRequest.d.ts +1 -1
  7. package/build/__api/mutations/createSaleTransactionWithCart.d.ts +1 -1
  8. package/build/__api/mutations/createSaleTransactionWithCheckout.d.ts +1 -1
  9. package/build/__api/mutations/createStripePaymentIntent.d.ts +1 -1
  10. package/build/__api/mutations/customerLogin.d.ts +1 -1
  11. package/build/__api/mutations/customerRefreshToken.d.ts +1 -1
  12. package/build/__api/mutations/getOrderLineFile.d.ts +1 -1
  13. package/build/__api/mutations/registerCustomer.d.ts +1 -1
  14. package/build/__api/mutations/retrieveInstallmentInfo.d.ts +1 -1
  15. package/build/__api/mutations/saveCart.d.ts +1 -1
  16. package/build/__api/mutations/saveCartCouponCode.d.ts +1 -1
  17. package/build/__api/mutations/saveCheckout.d.ts +1 -1
  18. package/build/__api/mutations/saveItemToCart.d.ts +1 -1
  19. package/build/__api/mutations/saveLastViewedProducts.d.ts +1 -1
  20. package/build/__api/mutations/saveMyCustomer.d.ts +1 -1
  21. package/build/__api/mutations/saveProductBackInStockRemind.d.ts +1 -1
  22. package/build/__api/mutations/saveRaffleParticipant.d.ts +1 -1
  23. package/build/__api/mutations/updateRaffleParticipant.d.ts +1 -1
  24. package/build/__api/queries/checkCustomerEmail.d.ts +1 -1
  25. package/build/__api/queries/checkStocks.d.ts +1 -1
  26. package/build/__api/queries/customerSocialLogin.d.ts +1 -1
  27. package/build/__api/queries/getAvailableShippingCountries.d.ts +1 -1
  28. package/build/__api/queries/getAvailableStockLocations.d.ts +1 -1
  29. package/build/__api/queries/getCart.d.ts +1 -1
  30. package/build/__api/queries/getCartById.d.ts +1 -1
  31. package/build/__api/queries/getCheckoutByCartId.d.ts +1 -1
  32. package/build/__api/queries/getCheckoutById.d.ts +1 -1
  33. package/build/__api/queries/getCurrencyRate.d.ts +1 -1
  34. package/build/__api/queries/getCustomerOrders.d.ts +1 -1
  35. package/build/__api/queries/getLastViewedProducts.d.ts +1 -1
  36. package/build/__api/queries/getMasterpassRequestToken.d.ts +1 -1
  37. package/build/__api/queries/getMasterpassRequestToken.js +1 -0
  38. package/build/__api/queries/getMyCountry.d.ts +1 -1
  39. package/build/__api/queries/getMyCustomer.d.ts +1 -1
  40. package/build/__api/queries/getOrder.d.ts +1 -1
  41. package/build/__api/queries/getOrderByEmail.d.ts +1 -1
  42. package/build/__api/queries/getProductCampaigns.d.ts +1 -1
  43. package/build/__api/queries/getProductFilterData.d.ts +1 -1
  44. package/build/__api/queries/getProductOptionFileUrl.d.ts +1 -1
  45. package/build/__api/queries/getRaffleParticipants.d.ts +1 -1
  46. package/build/__api/queries/getRafflesByCustomerId.d.ts +1 -1
  47. package/build/__api/queries/getStorefront.d.ts +1 -1
  48. package/build/__api/queries/getVariantStockLocations.d.ts +1 -1
  49. package/build/__api/queries/listBlog.d.ts +1 -1
  50. package/build/__api/queries/listBlogCategory.d.ts +1 -1
  51. package/build/__api/queries/listBlogMetadata.d.ts +1 -1
  52. package/build/__api/queries/listCampaignOffer.d.ts +1 -1
  53. package/build/__api/queries/listCategory.d.ts +1 -1
  54. package/build/__api/queries/listCheckoutSettings.d.ts +1 -1
  55. package/build/__api/queries/listCity.d.ts +1 -1
  56. package/build/__api/queries/listCountry.d.ts +1 -1
  57. package/build/__api/queries/listCustomerAttribute.d.ts +1 -1
  58. package/build/__api/queries/listCustomerReviewSummary.d.ts +1 -1
  59. package/build/__api/queries/listCustomerReviews.d.ts +1 -1
  60. package/build/__api/queries/listDistrict.d.ts +1 -1
  61. package/build/__api/queries/listFavoriteProducts.d.ts +1 -1
  62. package/build/__api/queries/listHTMLMetaData.d.ts +1 -1
  63. package/build/__api/queries/listMerchantSettings.d.ts +1 -1
  64. package/build/__api/queries/listOrderRefundSettings.d.ts +1 -1
  65. package/build/__api/queries/listOrderTransactions.d.ts +1 -1
  66. package/build/__api/queries/listPaymentGateway.d.ts +1 -1
  67. package/build/__api/queries/listProduct.d.ts +1 -1
  68. package/build/__api/queries/listProductAttribute.d.ts +1 -1
  69. package/build/__api/queries/listProductBackInStockRemind.d.ts +1 -1
  70. package/build/__api/queries/listProductBrand.d.ts +1 -1
  71. package/build/__api/queries/listProductOptionSet.d.ts +1 -1
  72. package/build/__api/queries/listProductStockLocation.d.ts +1 -1
  73. package/build/__api/queries/listRaffle.d.ts +1 -1
  74. package/build/__api/queries/listRaffleMetadata.d.ts +1 -1
  75. package/build/__api/queries/listState.d.ts +1 -1
  76. package/build/__api/queries/listStockLocation.d.ts +1 -1
  77. package/build/__api/queries/listTown.d.ts +1 -1
  78. package/build/__api/queries/listVariantType.d.ts +1 -1
  79. package/build/__api/queries/searchProducts.d.ts +1 -1
  80. package/build/assets/translations/checkout/en.js +1 -1
  81. package/build/assets/translations/checkout/tr.js +1 -1
  82. package/build/components/checkout/components/button/index.d.ts +1 -1
  83. package/build/components/checkout/components/checkbox/index.d.ts +1 -1
  84. package/build/components/checkout/components/credit-card-form/index.js +1 -1
  85. package/build/components/checkout/components/master-pass/index.d.ts +9 -0
  86. package/build/components/checkout/components/master-pass/index.js +1 -0
  87. package/build/components/checkout/components/master-pass/modal/index.d.ts +11 -0
  88. package/build/components/checkout/components/master-pass/modal/index.js +1 -0
  89. package/build/components/checkout/components/master-pass/modal/style.module.scss.js +1 -0
  90. package/build/components/checkout/components/master-pass/modal/svg/modal-close.d.ts +3 -0
  91. package/build/components/checkout/components/master-pass/modal/svg/modal-close.js +1 -0
  92. package/build/components/checkout/components/master-pass/modal-link-card-to-client/index.d.ts +10 -0
  93. package/build/components/checkout/components/master-pass/modal-link-card-to-client/index.js +1 -0
  94. package/build/components/checkout/components/master-pass/modal-link-card-to-client/style.module.scss.js +1 -0
  95. package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/info-mark.d.ts +3 -0
  96. package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/info-mark.js +1 -0
  97. package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/master-pass-by-master-card-big.d.ts +3 -0
  98. package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/master-pass-by-master-card-big.js +1 -0
  99. package/build/components/checkout/components/master-pass/modal-otp/index.d.ts +10 -0
  100. package/build/components/checkout/components/master-pass/modal-otp/index.js +1 -0
  101. package/build/components/checkout/components/master-pass/modal-otp/style.module.scss.js +1 -0
  102. package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass-by-master-card-small.d.ts +3 -0
  103. package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass-by-master-card-small.js +1 -0
  104. package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass.d.ts +3 -0
  105. package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass.js +1 -0
  106. package/build/components/checkout/components/master-pass/modal-otp/svg/success.d.ts +3 -0
  107. package/build/components/checkout/components/master-pass/modal-otp/svg/success.js +1 -0
  108. package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.d.ts +3 -0
  109. package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.js +1 -0
  110. package/build/components/checkout/components/master-pass/style.module.scss.js +1 -0
  111. package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.d.ts +3 -0
  112. package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.js +1 -0
  113. package/build/components/checkout/components/modal/index.js +1 -1
  114. package/build/components/checkout/components/modal/useEscape.d.ts +5 -0
  115. package/build/components/checkout/components/modal/useEscape.js +1 -0
  116. package/build/components/checkout/components/select-box/index.d.ts +1 -1
  117. package/build/components/checkout/components/toggle/index.d.ts +1 -1
  118. package/build/components/checkout/model.d.ts +3 -0
  119. package/build/components/checkout/model.js +1 -1
  120. package/build/components/checkout/modelMasterPass.d.ts +124 -0
  121. package/build/components/checkout/modelMasterPass.js +1 -0
  122. package/build/components/checkout/steps/step-payment/payment-gateways/index.js +1 -1
  123. package/build/components/checkout/steps/step-payment/payment-gateways/style.module.scss.js +1 -1
  124. package/build/ikas.cjs +1 -1
  125. package/build/models/data/payment-gateway/index.d.ts +1 -0
  126. package/build/models/data/payment-gateway/index.js +1 -1
  127. package/build/models/ui/product-list/index.d.ts +1 -1
  128. package/build/scripts/generators/config/content.js +1 -1
  129. package/build/store/checkout/index.d.ts +1 -1
  130. package/build/store/customer/api.d.ts +5 -5
  131. package/build/store/location/index.d.ts +1 -1
  132. package/build/store/product/index.d.ts +1 -1
  133. package/package.json +1 -1
@@ -10,6 +10,7 @@ export declare class IkasPaymentGateway extends PaymentGateway {
10
10
  code: string;
11
11
  type: IkasPaymentGatewayType;
12
12
  logoUrl: string | null;
13
+ masterPassClientId: string | null;
13
14
  testMode: boolean | null;
14
15
  description: string | null;
15
16
  additionalPrices: IkasPaymentGatewayAdditionalPrice[] | null;
@@ -1 +1 @@
1
- import{__extends as e}from'../../../ext/tslib/tslib.es6.js';import{PaymentGateway as t}from"../../../__api/models/PaymentGateway.js";import{IkasStorefrontConfig as n}from"../../../storefront/index.js";import{IkasPaymentGatewayAdditionalPrice as a}from"./additional-price/index.js";import{PaymentGatewayTransactionFeeTypeEnum as i,PaymentGatewayAdditionalPriceTypeEnum as o,PaymentMethodEnum as r,PaymentGatewayTypeEnum as s}from"../../../__api/types/index.js";export{PaymentGatewayAdditionalPriceTypeEnum as IkasPaymentGatewayAdditionalPriceType,PaymentGatewayTransactionFeeTypeEnum as IkasPaymentGatewayTransactionFeeType,PaymentGatewayTypeEnum as IkasPaymentGatewayType,PaymentMethodEnum as IkasPaymentMethodType}from"../../../__api/types/index.js";var l=function(t){function l(e){var n,i=t.call(this,e)||this;return i.supportedCurrencies=[],i.availableCountries=[],i.paymentMethods=e.paymentMethods||[],i.paymentMethodType=e.paymentMethodType||r.OTHER,i.id=e.id||"",i.name=e.name||"",i.code=e.code||"",i.type=e.type||s.INTERNAL,i.logoUrl=e.logoUrl||null,i.testMode=e.testMode||null,i.description=e.description||null,i.additionalPrices=(null===(n=e.additionalPrices)||void 0===n?void 0:n.map((function(e){return new a(e)})))||null,i.translations=e.translations||null,i.supportedCurrencies=e.supportedCurrencies||[],i.availableCountries=e.availableCountries||[],i.setTranslations(),i}return e(l,t),l.prototype.getCalculatedAdditionalPrices=function(e,t){var n=this;if(this.additionalPrices){var a=(null==t?void 0:t.reduce((function(e,t){return e+t.price}),0))||0;return e-=a,this.additionalPrices.map((function(t){var a=0;return a=t.amountType===i.RATIO?(e||0)*t.amount/100:t.amount,t.type===o.DECREMENT?e-=a:e+=a,{name:t.name||n.name,amount:a,type:t.type}}))}},l.prototype.setTranslations=function(){if(this.translations&&this.translations.some((function(e){return e.locale===n.getCurrentLocale()}))){var e=this.translations.find((function(e){return e.locale===n.getCurrentLocale()}));(null==e?void 0:e.name)&&(this.name=e.name),(null==e?void 0:e.description)&&(this.description=e.description)}},l}(t);export{l as IkasPaymentGateway};
1
+ import{__extends as e}from'../../../ext/tslib/tslib.es6.js';import{PaymentGateway as t}from"../../../__api/models/PaymentGateway.js";import{IkasStorefrontConfig as n}from"../../../storefront/index.js";import{IkasPaymentGatewayAdditionalPrice as a}from"./additional-price/index.js";import{PaymentGatewayTransactionFeeTypeEnum as i,PaymentGatewayAdditionalPriceTypeEnum as o,PaymentMethodEnum as r,PaymentGatewayTypeEnum as s}from"../../../__api/types/index.js";export{PaymentGatewayAdditionalPriceTypeEnum as IkasPaymentGatewayAdditionalPriceType,PaymentGatewayTransactionFeeTypeEnum as IkasPaymentGatewayTransactionFeeType,PaymentGatewayTypeEnum as IkasPaymentGatewayType,PaymentMethodEnum as IkasPaymentMethodType}from"../../../__api/types/index.js";var l=function(t){function l(e){var n,i=t.call(this,e)||this;return i.supportedCurrencies=[],i.availableCountries=[],i.paymentMethods=e.paymentMethods||[],i.paymentMethodType=e.paymentMethodType||r.OTHER,i.id=e.id||"",i.name=e.name||"",i.code=e.code||"",i.type=e.type||s.INTERNAL,i.logoUrl=e.logoUrl||null,i.masterPassClientId=e.masterPassClientId||null,i.testMode=e.testMode||null,i.description=e.description||null,i.additionalPrices=(null===(n=e.additionalPrices)||void 0===n?void 0:n.map((function(e){return new a(e)})))||null,i.translations=e.translations||null,i.supportedCurrencies=e.supportedCurrencies||[],i.availableCountries=e.availableCountries||[],i.setTranslations(),i}return e(l,t),l.prototype.getCalculatedAdditionalPrices=function(e,t){var n=this;if(this.additionalPrices){var a=(null==t?void 0:t.reduce((function(e,t){return e+t.price}),0))||0;return e-=a,this.additionalPrices.map((function(t){var a=0;return a=t.amountType===i.RATIO?(e||0)*t.amount/100:t.amount,t.type===o.DECREMENT?e-=a:e+=a,{name:t.name||n.name,amount:a,type:t.type}}))}},l.prototype.setTranslations=function(){if(this.translations&&this.translations.some((function(e){return e.locale===n.getCurrentLocale()}))){var e=this.translations.find((function(e){return e.locale===n.getCurrentLocale()}));(null==e?void 0:e.name)&&(this.name=e.name),(null==e?void 0:e.description)&&(this.description=e.description)}},l}(t);export{l as IkasPaymentGateway};
@@ -85,7 +85,7 @@ export declare class IkasProductList {
85
85
  filters: IkasProductFilter[] | null | undefined;
86
86
  recommendFor: string | null | undefined;
87
87
  productListPropValue: IkasProductListPropValue;
88
- pageSpecificData: IkasBrand | IkasCategory | null | undefined;
88
+ pageSpecificData: IkasCategory | IkasBrand | null | undefined;
89
89
  };
90
90
  setVisibleInfiniteScrollPage: (page: number) => void;
91
91
  private restoreInfiniteScrollPage;
@@ -1 +1 @@
1
- var e={next:"12.0.7",react:"17.0.2","react-dom":"17.0.2",mobx:"^6.1.3","mobx-react-lite":"^3.1.5","next-transpile-modules":"^9.0.0","@ikas/storefront-utils":"^3.0.0-alpha.30"},n={"@types/node":"^14.14.6","@types/react":"^17.0.2","@types/react-dom":"^17.0.2","@typescript-eslint/eslint-plugin":"^2.10.0","@typescript-eslint/parser":"^2.10.0",eslint:"^6.6.0","eslint-config-react-app":"^5.2.1","eslint-loader":"3.0.3","eslint-plugin-flowtype":"4.6.0","eslint-plugin-import":"2.20.1","eslint-plugin-jsx-a11y":"6.2.3","eslint-plugin-react":"7.19.0","eslint-plugin-react-hooks":"^1.6.1",sass:"^1.43.4",typescript:"^4.5.2"},t={"@types/react":"17.0.2","@types/react-dom":"17.0.2"},s={upgradeDependencies:"yarn upgrade @ikas/storefront @ikas/storefront-utils",dev:"next dev -p 3333",build:"next build",start:"next start",generate:"ikas --generate","prettier:all":"npx prettier@^2.1 './**/src/**/*.(ts|tsx|css|scss)' --write"},i='{\n "compilerOptions": {\n "target": "esnext",\n "lib": [\n "dom",\n "dom.iterable",\n "esnext"\n ],\n "allowJs": true,\n "skipLibCheck": true,\n "strict": true,\n "forceConsistentCasingInFileNames": true,\n "experimentalDecorators": true,\n "noEmit": true,\n "esModuleInterop": true,\n "module": "esnext",\n "moduleResolution": "node",\n "resolveJsonModule": true,\n "isolatedModules": true,\n "jsx": "preserve",\n "baseUrl": ".",\n "useUnknownInCatchVariables": false,\n "incremental": true\n },\n "typeRoots": [\n "./node_modules/@types"\n ],\n "include": [\n "next-env.d.ts",\n "**/*.ts",\n "**/*.tsx",\n "**/typings/global.d.ts",\n ],\n "exclude": [\n "node_modules",\n "./src/pages/api",\n ]\n}',a='const withTM = require("next-transpile-modules")(["@ikas/storefront"]);\n\nconst config = {\n i18n: {\n defaultLocale: "en",\n locales: ["en"],\n localeDetection: false,\n },\n basePath: process.env.NEXTJS_BASE_PATH || "",\n\n images: {\n deviceSizes: [\n 180,\n 360,\n 540,\n 720,\n 900,\n 1080,\n 1296,\n 1512,\n 1728,\n 1950,\n 2560,\n 3840,\n ],\n },\n\n webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {\n if (!isServer) {\n config.resolve.fallback.fs = false;\n }\n return config;\n },\n};\n\nmodule.exports = withTM(config);',r="NEXT_PUBLIC_ENV=local\nNEXT_PUBLIC_BASE_URL=https://api.myikas.dev/api/sf\nNEXT_PUBLIC_IMG_BASE_URL=https://cdn.myikas.dev/\nNEXT_PUBLIC_UPLOAD_GQL_URL=https://api.myikas.dev/api/admin/graphql\nNEXT_PUBLIC_GQL_URL=https://api.myikas.dev/api/sf/graphql\n",l="NEXT_PUBLIC_ENV=local\nNEXT_PUBLIC_BASE_URL=https://api.myikas.com/api/sf\nNEXT_PUBLIC_IMG_BASE_URL=https://cdn.myikas.com/\nNEXT_PUBLIC_UPLOAD_GQL_URL=https://api.myikas.com/api/admin/graphql\nNEXT_PUBLIC_GQL_URL=https://api.myikas.com/api/sf/graphql\n";export{e as DEPENDENCIES,n as DEV_DEPENDENCIES,r as DEV_ENV,a as NEXT_CONFIG,l as PROD_ENV,t as RESOLUTIONS,s as SCRIPTS,i as TS_CONFIG};
1
+ var e={next:"12.0.7",react:"17.0.2","react-dom":"17.0.2",mobx:"^6.1.3","mobx-react-lite":"^3.1.5","next-transpile-modules":"^9.0.0","@ikas/storefront-utils":"^3.0.0-alpha.31"},n={"@types/node":"^14.14.6","@types/react":"^17.0.2","@types/react-dom":"^17.0.2","@typescript-eslint/eslint-plugin":"^2.10.0","@typescript-eslint/parser":"^2.10.0",eslint:"^6.6.0","eslint-config-react-app":"^5.2.1","eslint-loader":"3.0.3","eslint-plugin-flowtype":"4.6.0","eslint-plugin-import":"2.20.1","eslint-plugin-jsx-a11y":"6.2.3","eslint-plugin-react":"7.19.0","eslint-plugin-react-hooks":"^1.6.1",sass:"^1.43.4",typescript:"^4.5.2"},t={"@types/react":"17.0.2","@types/react-dom":"17.0.2"},s={upgradeDependencies:"yarn upgrade @ikas/storefront @ikas/storefront-utils",dev:"next dev -p 3333",build:"next build",start:"next start",generate:"ikas --generate","prettier:all":"npx prettier@^2.1 './**/src/**/*.(ts|tsx|css|scss)' --write"},i='{\n "compilerOptions": {\n "target": "esnext",\n "lib": [\n "dom",\n "dom.iterable",\n "esnext"\n ],\n "allowJs": true,\n "skipLibCheck": true,\n "strict": true,\n "forceConsistentCasingInFileNames": true,\n "experimentalDecorators": true,\n "noEmit": true,\n "esModuleInterop": true,\n "module": "esnext",\n "moduleResolution": "node",\n "resolveJsonModule": true,\n "isolatedModules": true,\n "jsx": "preserve",\n "baseUrl": ".",\n "useUnknownInCatchVariables": false,\n "incremental": true\n },\n "typeRoots": [\n "./node_modules/@types"\n ],\n "include": [\n "next-env.d.ts",\n "**/*.ts",\n "**/*.tsx",\n "**/typings/global.d.ts",\n ],\n "exclude": [\n "node_modules",\n "./src/pages/api",\n ]\n}',a='const withTM = require("next-transpile-modules")(["@ikas/storefront"]);\n\nconst config = {\n i18n: {\n defaultLocale: "en",\n locales: ["en"],\n localeDetection: false,\n },\n basePath: process.env.NEXTJS_BASE_PATH || "",\n\n images: {\n deviceSizes: [\n 180,\n 360,\n 540,\n 720,\n 900,\n 1080,\n 1296,\n 1512,\n 1728,\n 1950,\n 2560,\n 3840,\n ],\n },\n\n webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {\n if (!isServer) {\n config.resolve.fallback.fs = false;\n }\n return config;\n },\n};\n\nmodule.exports = withTM(config);',r="NEXT_PUBLIC_ENV=local\nNEXT_PUBLIC_BASE_URL=https://api.myikas.dev/api/sf\nNEXT_PUBLIC_IMG_BASE_URL=https://cdn.myikas.dev/\nNEXT_PUBLIC_UPLOAD_GQL_URL=https://api.myikas.dev/api/admin/graphql\nNEXT_PUBLIC_GQL_URL=https://api.myikas.dev/api/sf/graphql\n",l="NEXT_PUBLIC_ENV=local\nNEXT_PUBLIC_BASE_URL=https://api.myikas.com/api/sf\nNEXT_PUBLIC_IMG_BASE_URL=https://cdn.myikas.com/\nNEXT_PUBLIC_UPLOAD_GQL_URL=https://api.myikas.com/api/admin/graphql\nNEXT_PUBLIC_GQL_URL=https://api.myikas.com/api/sf/graphql\n";export{e as DEPENDENCIES,n as DEV_DEPENDENCIES,r as DEV_ENV,a as NEXT_CONFIG,l as PROD_ENV,t as RESOLUTIONS,s as SCRIPTS,i as TS_CONFIG};
@@ -14,7 +14,7 @@ import { StockLocation } from "../../__api/models/StockLocation";
14
14
  import { GetAvailableStockLocation } from "../../__api/models/GetAvailableStockLocation";
15
15
  import { CreateStripePaymentIntentResponse } from "../../__api/models/CreateStripePaymentIntentResponse";
16
16
  export default class CheckoutStore {
17
- static createSaleTransactionWithCart(params: CreateSaleTransaction): Promise<APIResponse<undefined> | APIResponse<import("../../__api/types").TransactionResponse>>;
17
+ static createSaleTransactionWithCart(params: CreateSaleTransaction): Promise<APIResponse<import("../../__api/types").TransactionResponse> | APIResponse<undefined>>;
18
18
  static listPaymentGateway(params: ListPaymentGatewayQueryParams): Promise<APIResponse<IkasPaymentGateway[]>>;
19
19
  static retrieveInstallmentInfo(params: RetrieveInstallmentInfoQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../__api/types").RetrieveInstallmentInfoResponse>>;
20
20
  static checkStocks(params: CheckStocksQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../__api/types").CheckStocksResponse>>;
@@ -46,8 +46,8 @@ export default class CustomerStoreAPI {
46
46
  tokenExpiry: number;
47
47
  } | null>>;
48
48
  static refreshToken(params: CustomerRefreshTokenQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../__api/types").CustomerRefreshTokenResponse>>;
49
- static forgotPassword(params: CustomerForgotPasswordQueryParams): Promise<APIResponse<boolean> | APIResponse<undefined>>;
50
- static recoverPassword(params: CustomerRecoverPasswordQueryParams): Promise<APIResponse<boolean> | APIResponse<undefined>>;
49
+ static forgotPassword(params: CustomerForgotPasswordQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
50
+ static recoverPassword(params: CustomerRecoverPasswordQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
51
51
  static checkEmail(params: CheckCustomerEmailQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../__api/types").CustomerCheckResponse>>;
52
52
  static getCustomer(): Promise<APIResponse<IkasCustomer | null>>;
53
53
  static saveCustomer(params: SaveMyCustomerQueryParams): Promise<APIResponse<IkasCustomer | null>>;
@@ -59,10 +59,10 @@ export default class CustomerStoreAPI {
59
59
  static getLastViewedProducts(params: GetLastViewedProductsQueryParams): Promise<APIResponse<import("../../__api/types").ProductItem[]>>;
60
60
  static saveLastViewedProducts(params: SaveLastViewedProductsQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../__api/types").ProductLastViewed>>;
61
61
  static listOrderRefundSettings(params: ListOrderRefundSettingsQueryParams): Promise<APIResponse<IkasOrderRefundSettings[]>>;
62
- static sendContactFormToMerchant(params: SendContactFormToMerchantQueryParams): Promise<APIResponse<boolean> | APIResponse<undefined>>;
62
+ static sendContactFormToMerchant(params: SendContactFormToMerchantQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
63
63
  static listFavoriteProducts(): Promise<APIResponse<IkasFavoriteProduct[]>>;
64
- static saveFavoriteProduct(params: SaveFavoriteProductQueryParams): Promise<APIResponse<boolean> | APIResponse<undefined>>;
65
- static isFavoriteProduct(params: IsFavoriteProductQueryParams): Promise<APIResponse<boolean> | APIResponse<undefined>>;
64
+ static saveFavoriteProduct(params: SaveFavoriteProductQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
65
+ static isFavoriteProduct(params: IsFavoriteProductQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
66
66
  static createCustomerReview(params: CreateCustomerReviewQueryParams): Promise<APIResponse<IkasCustomerReview | null>>;
67
67
  static listCustomerReviews(params: ListCustomerReviewsQueryParams): Promise<APIResponse<{
68
68
  data: IkasCustomerReview[];
@@ -5,7 +5,7 @@ import { QueryParams as ListStateQueryParams } from "src/__api/queries/listState
5
5
  import { APIResponse } from "@ikas/fe-api-client";
6
6
  import { IkasCity, IkasCountry, IkasDistrict, IkasState } from "src/models";
7
7
  export default class LocationStore {
8
- static getMyCountry(): Promise<APIResponse<undefined> | APIResponse<string>>;
8
+ static getMyCountry(): Promise<APIResponse<string> | APIResponse<undefined>>;
9
9
  static listCountry(params: ListCountryQueryParams): Promise<APIResponse<IkasCountry[]>>;
10
10
  static listCity(params: ListCityQueryParams): Promise<APIResponse<IkasCity[]>>;
11
11
  static listDistrict(params: ListDistrictQueryParams): Promise<APIResponse<IkasDistrict[]>>;
@@ -15,7 +15,7 @@ import { IkasProductAttribute } from "src/models/data/product-attribute";
15
15
  import { IkasProductCampaign } from "src/models/data/product-campaign";
16
16
  import { IkasProductOptionSet } from "src/models/data/product-option-set";
17
17
  export default class ProductStore {
18
- static listProductBackInStockRemind(params: ListProductBackInStockRemind): Promise<APIResponse<undefined> | APIResponse<import("../../__api/types").ProductBackInStockRemind[]>>;
18
+ static listProductBackInStockRemind(params: ListProductBackInStockRemind): Promise<APIResponse<import("../../__api/types").ProductBackInStockRemind[]> | APIResponse<undefined>>;
19
19
  static saveProductBackInStockRemind(params: SaveProductBackInStockRemindQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../__api/types").ProductBackInStockRemind>>;
20
20
  static searchProducts(params: SearchProductsQueryParams): Promise<APIResponse<{
21
21
  data: IkasProduct[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "3.0.0-alpha.30",
3
+ "version": "3.0.0-alpha.31",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.js",
6
6
  "author": "Umut Ozan Yıldırım",