@ikas/storefront-api 6.1.0-beta.350 → 6.1.0-beta.352
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/__api/models/CreateTkPayCheckoutFormResponse.d.ts +9 -0
- package/build/__api/mutations/createTkPayCheckoutForm.d.ts +10 -0
- package/build/__api/mutations/createTkPayCheckoutForm.js +1 -0
- package/build/__api/types/index.d.ts +3 -0
- package/build/api/checkout/index.d.ts +3 -1
- package/build/api/checkout/index.js +1 -1
- package/build/index.d.ts +1 -1
- package/build/index.js +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class CreateTkPayCheckoutFormResponseData {
|
|
3
|
+
paymentPageUrl: string;
|
|
4
|
+
constructor(data?: Partial<CreateTkPayCheckoutFormResponseData>);
|
|
5
|
+
}
|
|
6
|
+
export declare class CreateTkPayCheckoutFormResponse extends CreateTkPayCheckoutFormResponseData {
|
|
7
|
+
}
|
|
8
|
+
export declare type PartialCreateTkPayCheckoutFormResponse = Partial<CreateTkPayCheckoutFormResponse>;
|
|
9
|
+
export declare type ReadOnlyCreateTkPayCheckoutFormResponse = DeepReadonly<CreateTkPayCheckoutFormResponse>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ConfigType, APIResponse } from "@ikas/fe-api-client";
|
|
2
|
+
import { CreateSaleTransactionWithCartInput, CreateTkPayCheckoutFormResponse } from "../types";
|
|
3
|
+
declare const createTkPayCheckoutForm: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<CreateTkPayCheckoutFormResponse> | APIResponse<undefined>>;
|
|
4
|
+
export default createTkPayCheckoutForm;
|
|
5
|
+
export declare type QueryParams = {
|
|
6
|
+
input: CreateSaleTransactionWithCartInput;
|
|
7
|
+
};
|
|
8
|
+
export declare enum ResponseField {
|
|
9
|
+
PAYMENT_PAGE_URL = "paymentPageUrl"
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as n,APIResponse as r,fetchQuery as a}from"@ikas/fe-api-client";var o,i=function(o,i,c){return t(void 0,void 0,void 0,(function(){var t,s,l,m;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,a({operationName:"createTkPayCheckoutForm",config:c,variables:o,allReturnFields:u,fields:i,query:function(t){return"\n\t\t\t\tmutation createTkPayCheckoutForm (\n\t\t\t\t\t$input: CreateSaleTransactionWithCartInput!,\n\t\t\t\t) {\n\t\t\t\t\tcreateTkPayCheckoutForm (\n\t\t\t\t\t\tinput: $input,\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,l=t.errors,[2,new r(null==s?void 0:s.createTkPayCheckoutForm,l)];case 2:return m=e.sent(),[2,n(m)];case 3:return[2]}}))}))},u="{paymentPageUrl }";!function(t){t.PAYMENT_PAGE_URL="paymentPageUrl"}(o||(o={}));export{o as ResponseField,i as default};
|
|
@@ -1243,6 +1243,9 @@ export interface CreateStripePaymentIntentResponse {
|
|
|
1243
1243
|
clientSecret: string;
|
|
1244
1244
|
failUrl: string;
|
|
1245
1245
|
}
|
|
1246
|
+
export interface CreateTkPayCheckoutFormResponse {
|
|
1247
|
+
paymentPageUrl: string;
|
|
1248
|
+
}
|
|
1246
1249
|
export interface CurrencyRate {
|
|
1247
1250
|
baseCurrency: string;
|
|
1248
1251
|
baseCurrencyCode: string | null;
|
|
@@ -14,6 +14,7 @@ import { QueryParams as CreatePayPalOrderParams } from "../../__api/mutations/cr
|
|
|
14
14
|
import { QueryParams as UpdatePayPalOrderParams } from "../../__api/mutations/updatePaypalOrder";
|
|
15
15
|
import { QueryParams as HepsipayFrameInitParams } from "../../__api/mutations/hepsipayFrameInit";
|
|
16
16
|
import { QueryParams as CreateIyzicoCheckoutFormParams } from "../../__api/mutations/createIyzicoCheckoutForm";
|
|
17
|
+
import { QueryParams as CreateTkPayCheckoutFormParams } from "../../__api/mutations/createTkPayCheckoutForm";
|
|
17
18
|
import { QueryParams as CreateStripeExpressCheckoutSessionParams } from "../../__api/mutations/createStripeExpressCheckoutSession";
|
|
18
19
|
import { QueryParams as UpdateStripeExpressCheckoutSessionParams } from "../../__api/mutations/updateStripeExpressCheckoutSession";
|
|
19
20
|
import { QueryParams as ListProductFileQueryParams } from "../../__api/queries/listProductFile";
|
|
@@ -21,7 +22,7 @@ import { QueryParams as CheckCartStocksQueryParams } from "../../__api/queries/c
|
|
|
21
22
|
import { QueryParams as CreateAdyenBalancePlatformPaymentParams } from "../../__api/mutations/createAdyenBalancePlatformPaymentSession";
|
|
22
23
|
import { QueryParams as GetOrderInvoicePdfUrlQueryParams } from "../../__api/queries/getOrderInvoicePdfUrl";
|
|
23
24
|
import { IkasAvailableStockLocation, IkasCheckoutSettings, IkasPaymentGateway, IkasStockLocation, IkasStoreCreditBalance } from "@ikas/storefront-models";
|
|
24
|
-
export type { CreateSaleTransactionQueryParams, ListPaymentGatewayQueryParams, RetrieveInstallmentInfoQueryParams, CheckStocksQueryParams, ListCheckoutSettingsQueryParams, GetAvailableShippingCountriesQueryParams, ListStockLocationQueryParams, GetAvailableStockLocationQueryParams, CreateStripePaymentIntentParams, CreateKlarnaClientTokenParams, GetPayPalClientIdTokenParams, CreatePayPalOrderParams, UpdatePayPalOrderParams, HepsipayFrameInitParams, ListProductFileQueryParams, CheckCartStocksQueryParams, CreateAdyenBalancePlatformPaymentParams, CreateIyzicoCheckoutFormParams, CreateStripeExpressCheckoutSessionParams, UpdateStripeExpressCheckoutSessionParams, GetOrderInvoicePdfUrlQueryParams, };
|
|
25
|
+
export type { CreateSaleTransactionQueryParams, ListPaymentGatewayQueryParams, RetrieveInstallmentInfoQueryParams, CheckStocksQueryParams, ListCheckoutSettingsQueryParams, GetAvailableShippingCountriesQueryParams, ListStockLocationQueryParams, GetAvailableStockLocationQueryParams, CreateStripePaymentIntentParams, CreateKlarnaClientTokenParams, GetPayPalClientIdTokenParams, CreatePayPalOrderParams, UpdatePayPalOrderParams, HepsipayFrameInitParams, ListProductFileQueryParams, CheckCartStocksQueryParams, CreateAdyenBalancePlatformPaymentParams, CreateIyzicoCheckoutFormParams, CreateTkPayCheckoutFormParams, CreateStripeExpressCheckoutSessionParams, UpdateStripeExpressCheckoutSessionParams, GetOrderInvoicePdfUrlQueryParams, };
|
|
25
26
|
export declare function createSaleTransactionWithCart(params: CreateSaleTransactionQueryParams): Promise<APIResponse<import("../..").TransactionResponse> | APIResponse<undefined>>;
|
|
26
27
|
export declare function listPaymentGateway(params: ListPaymentGatewayQueryParams): Promise<APIResponse<IkasPaymentGateway[]>>;
|
|
27
28
|
export declare function getStoreCreditBalance(): Promise<APIResponse<IkasStoreCreditBalance | null>>;
|
|
@@ -41,6 +42,7 @@ export declare function createPayPalOrder(params: CreatePayPalOrderParams): Prom
|
|
|
41
42
|
export declare function updatePaypalOrder(params: UpdatePayPalOrderParams): Promise<APIResponse<boolean>>;
|
|
42
43
|
export declare function hepsipayFrameInit(params: HepsipayFrameInitParams): Promise<APIResponse<import("../..").HepsipayFrameInitResponse>>;
|
|
43
44
|
export declare function createIyzicoCheckoutForm(params: CreateIyzicoCheckoutFormParams): Promise<APIResponse<import("../..").CreateIyzicoCheckoutFormResponse>>;
|
|
45
|
+
export declare function createTkPayCheckoutForm(params: CreateTkPayCheckoutFormParams): Promise<APIResponse<import("../..").CreateTkPayCheckoutFormResponse>>;
|
|
44
46
|
export declare function createStripeExpressCheckoutSession(params: CreateStripeExpressCheckoutSessionParams): Promise<APIResponse<import("../../__api/types").CreateStripeExpressCheckoutSessionResponse>>;
|
|
45
47
|
export declare function updateStripeExpressCheckoutSession(params: UpdateStripeExpressCheckoutSessionParams): Promise<APIResponse<import("../../__api/types").StripeExpressCheckoutSessionContextResponse>>;
|
|
46
48
|
export declare function getOrderInvoicePdfUrl(params: GetOrderInvoicePdfUrlQueryParams): Promise<APIResponse<undefined> | APIResponse<string>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{APIResponse as r}from"@ikas/fe-api-client";function n(r){return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/createSaleTransactionWithCart.js")];case 1:return[4,(0,t.sent().default)(r)];case 2:return[2,t.sent()]}}))}))}function i(n){return t(this,void 0,void 0,(function(){var t,i;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/queries/listPaymentGateway.js")];case 1:return[4,(0,e.sent().default)(n)];case 2:return t=e.sent(),i=t.data||[],[2,new r(i,t.graphQLErrors)]}}))}))}function s(){return t(this,void 0,void 0,(function(){var t,n;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/queries/getStoreCreditBalance.js")];case 1:return[4,(0,e.sent().default)()];case 2:return t=e.sent(),n=t.data,[2,new r(n,t.graphQLErrors)]}}))}))}function a(r){return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/queries/listProductFile.js")];case 1:return[4,(0,t.sent().default)(r)];case 2:return[2,t.sent()]}}))}))}function u(r){return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/retrieveInstallmentInfo.js")];case 1:return[4,(0,t.sent().default)(r)];case 2:return[2,t.sent()]}}))}))}function o(r){return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/queries/checkStocks.js")];case 1:return[4,(0,t.sent().default)(r)];case 2:return[2,t.sent()]}}))}))}function c(r){return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/queries/checkCartStocks.js")];case 1:return[4,(0,t.sent().default)(r)];case 2:return[2,t.sent()]}}))}))}function
|
|
1
|
+
import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{APIResponse as r}from"@ikas/fe-api-client";function n(r){return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/createSaleTransactionWithCart.js")];case 1:return[4,(0,t.sent().default)(r)];case 2:return[2,t.sent()]}}))}))}function i(n){return t(this,void 0,void 0,(function(){var t,i;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/queries/listPaymentGateway.js")];case 1:return[4,(0,e.sent().default)(n)];case 2:return t=e.sent(),i=t.data||[],[2,new r(i,t.graphQLErrors)]}}))}))}function s(){return t(this,void 0,void 0,(function(){var t,n;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/queries/getStoreCreditBalance.js")];case 1:return[4,(0,e.sent().default)()];case 2:return t=e.sent(),n=t.data,[2,new r(n,t.graphQLErrors)]}}))}))}function a(r){return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/queries/listProductFile.js")];case 1:return[4,(0,t.sent().default)(r)];case 2:return[2,t.sent()]}}))}))}function u(r){return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/retrieveInstallmentInfo.js")];case 1:return[4,(0,t.sent().default)(r)];case 2:return[2,t.sent()]}}))}))}function o(r){return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/queries/checkStocks.js")];case 1:return[4,(0,t.sent().default)(r)];case 2:return[2,t.sent()]}}))}))}function c(r){return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/queries/checkCartStocks.js")];case 1:return[4,(0,t.sent().default)(r)];case 2:return[2,t.sent()]}}))}))}function d(n){return t(this,void 0,void 0,(function(){var t,i,s,a,u;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/queries/listCheckoutSettings.js")];case 1:return t=e.sent().default,s=t,a=[n],[4,Q()];case 2:return[4,s.apply(void 0,a.concat([e.sent()]))];case 3:return i=e.sent(),u=i.data||[],[2,new r(u,i.graphQLErrors)]}}))}))}function f(r){return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/queries/getAvailableShippingCountries.js")];case 1:return[4,(0,t.sent().default)(r)];case 2:return[2,t.sent()]}}))}))}function l(n){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/queries/listStockLocation.js")];case 1:return[4,(0,e.sent().default)(n)];case 2:return t=e.sent(),[2,new r(t.data,t.graphQLErrors)]}}))}))}function h(n){var i;return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/queries/getAvailableStockLocations.js")];case 1:return[4,(0,e.sent().default)(n)];case 2:return t=e.sent(),[2,new r(null===(i=t.data)||void 0===i?void 0:i.stockLocations,t.graphQLErrors)]}}))}))}function p(n){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/mutations/createStripePaymentIntent.js")];case 1:return[4,(0,e.sent().default)(n)];case 2:return t=e.sent(),[2,new r(t.data,t.graphQLErrors)]}}))}))}function v(n){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/mutations/createKlarnaClientToken.js")];case 1:return[4,(0,e.sent().default)(n)];case 2:return t=e.sent(),[2,new r(t.data,t.graphQLErrors)]}}))}))}function _(n){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/mutations/createAdyenBalancePlatformPaymentSession.js")];case 1:return[4,(0,e.sent().default)(n)];case 2:return t=e.sent(),[2,new r(t.data,t.graphQLErrors)]}}))}))}function m(n){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/mutations/getPaypalClientId.js")];case 1:return[4,(0,e.sent().default)(n)];case 2:return t=e.sent(),[2,new r(t.data,t.graphQLErrors)]}}))}))}function w(n){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/mutations/createPaypalOrder.js")];case 1:return[4,(0,e.sent().default)(n)];case 2:return t=e.sent(),[2,new r(t.data,t.graphQLErrors)]}}))}))}function b(n){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/mutations/updatePaypalOrder.js")];case 1:return[4,(0,e.sent().default)(n)];case 2:return t=e.sent(),[2,new r(t.data,t.graphQLErrors)]}}))}))}function j(n){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/mutations/hepsipayFrameInit.js")];case 1:return[4,(0,e.sent().default)(n)];case 2:return t=e.sent(),[2,new r(t.data,t.graphQLErrors)]}}))}))}function g(n){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/mutations/createIyzicoCheckoutForm.js")];case 1:return[4,(0,e.sent().default)(n)];case 2:return t=e.sent(),[2,new r(t.data,t.graphQLErrors)]}}))}))}function L(n){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/mutations/createTkPayCheckoutForm.js")];case 1:return[4,(0,e.sent().default)(n)];case 2:return t=e.sent(),[2,new r(t.data,t.graphQLErrors)]}}))}))}function E(n){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/mutations/createStripeExpressCheckoutSession.js")];case 1:return[4,(0,e.sent().default)(n)];case 2:return t=e.sent(),[2,new r(t.data,t.graphQLErrors)]}}))}))}function S(n){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/mutations/updateStripeExpressCheckoutSession.js")];case 1:return[4,(0,e.sent().default)(n)];case 2:return t=e.sent(),[2,new r(t.data,t.graphQLErrors)]}}))}))}function k(r){return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/queries/getOrderInvoicePdfUrl.js")];case 1:return[4,(0,t.sent().default)(r)];case 2:return[2,t.sent()]}}))}))}function Q(){return t(this,void 0,void 0,(function(){var t,r;return e(this,(function(e){switch(e.label){case 0:return[4,import("../../__api/queries/listCheckoutSettings.js")];case 1:return t=e.sent().ResponseField,r=["IS_SHOW_POSTAL_CODE"],[2,Object.entries(t).filter((function(t){var e=t[0];return!r.includes(e)})).map((function(t){return t[1]}))]}}))}))}export{c as checkCartStocks,o as checkStocks,_ as createAdyenBalancePlatformPaymentSession,g as createIyzicoCheckoutForm,v as createKlarnaClientToken,w as createPayPalOrder,n as createSaleTransactionWithCart,E as createStripeExpressCheckoutSession,p as createStripePaymentIntent,L as createTkPayCheckoutForm,f as getAvailableShippingCountries,h as getAvailableStockLocations,k as getOrderInvoicePdfUrl,m as getPayPalClientId,s as getStoreCreditBalance,j as hepsipayFrameInit,d as listCheckoutSettings,i as listPaymentGateway,a as listProductFile,l as listStockLocations,u as retrieveInstallmentInfo,b as updatePaypalOrder,S as updateStripeExpressCheckoutSession};
|
package/build/index.d.ts
CHANGED
|
@@ -22,6 +22,6 @@ export { SaveMyCustomerInput } from "./__api/models/SaveMyCustomerInput";
|
|
|
22
22
|
export { SaveCartInput } from "./__api/models/SaveCartInput";
|
|
23
23
|
export { CheckStocksLineInput } from "./__api/models/CheckStocksLineInput";
|
|
24
24
|
export { SortByDirectionEnum, SortByTypeEnum, MasterPassOperationTypeEnum, GetSuggestedProductsMethodEnum, TransactionCardAssociationEnum, CampaignOfferTargetPageTypeEnum, RewardSourceEnum, } from "./__api/types";
|
|
25
|
-
export type { MilesSmilesDetailsResponse, SearchInputOrderByInput, CreateStripePaymentIntentResponse, RetrieveInstallmentInfoResponse, TransactionResponse, UpdateCartCampaignOfferInput, CartLineOptionInput, CreateKlarnaTokenResponse, GetPaypalClientIdResponse, CreatePaypalOrderResponse, CreateAdyenPlatformSessionResponse, HepsipayFrameInitResponse, CreateIyzicoCheckoutFormResponse, } from "./__api/types";
|
|
25
|
+
export type { MilesSmilesDetailsResponse, SearchInputOrderByInput, CreateStripePaymentIntentResponse, RetrieveInstallmentInfoResponse, TransactionResponse, UpdateCartCampaignOfferInput, CartLineOptionInput, CreateKlarnaTokenResponse, GetPaypalClientIdResponse, CreatePaypalOrderResponse, CreateAdyenPlatformSessionResponse, HepsipayFrameInitResponse, CreateIyzicoCheckoutFormResponse, CreateTkPayCheckoutFormResponse, } from "./__api/types";
|
|
26
26
|
export { APIResponse } from "@ikas/fe-api-client";
|
|
27
27
|
export { Config as IkasAPIClientConfig };
|
package/build/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{getAutoAppyCouponCodeFromCookie,setAPIClientConfig}from"./index2.js";export{SaveMyCustomerInput}from"./__api/models/SaveMyCustomerInput.js";export{SaveCartInput}from"./__api/models/SaveCartInput.js";export{CheckStocksLineInput}from"./__api/models/CheckStocksLineInput.js";export{CampaignOfferTargetPageTypeEnum,GetSuggestedProductsMethodEnum,LoyaltyProgramFilterTypeEnum,LoyaltyProgramMethodSpendingTypeEnum,LoyaltyProgramOrderStatusToWinPointsEnum,LoyaltyProgramPointEarningTypeEnum,LoyaltyProgramPointHistoryTypeEnum,MasterPassOperationTypeEnum,RewardSourceEnum,SortByDirectionEnum,SortByTypeEnum,StorefrontWidgetSettingsStatusEnum,TransactionCardAssociationEnum}from"./__api/types/index.js";export{APIResponse,Config as IkasAPIClientConfig}from"@ikas/fe-api-client";export{listBlog,listBlogCategory,listBlogMetaData}from"./api/blog/index.js";export{listProductBrand}from"./api/brand/index.js";export{addItemToCart,createCart,createPayWithIkasSessionUrl,getCartById,removeGiftCardFromCart,removeLoyaltyPointsFromCart,saveCart,saveCartCouponCode,updateCartCampaignOffer,useLoyaltyPoints}from"./api/cart/index.js";export{listCategory}from"./api/category/index.js";export{checkCartStocks,checkStocks,createAdyenBalancePlatformPaymentSession,createIyzicoCheckoutForm,createKlarnaClientToken,createPayPalOrder,createSaleTransactionWithCart,createStripeExpressCheckoutSession,createStripePaymentIntent,getAvailableShippingCountries,getAvailableStockLocations,getOrderInvoicePdfUrl,getPayPalClientId,getStoreCreditBalance,hepsipayFrameInit,listCheckoutSettings,listPaymentGateway,listProductFile,listStockLocations,retrieveInstallmentInfo,updatePaypalOrder,updateStripeExpressCheckoutSession}from"./api/checkout/index.js";export{IkasLoginError,IkasRegisterError,activateCustomer,checkEmail,createCustomerReview,createOrderRefundRequest,deactivateCustomer,exportCustomerPersonelData,forgotPassword,getCustomer,getLastViewedProducts,getOrderByEmail,getOrders,isFavoriteProduct,listCustomerAttribute,listCustomerReviewSummary,listCustomerReviews,listCustomerSettings,listFavoriteProducts,listOrderRefundSettings,listOrderTransactions,listOrderTransactionsWithPrices,login,recoverPassword,refreshToken,register,resendCustomerActivationMail,resendCustomerPhoneVerificationCode,saveCustomer,saveCustomerFormData,saveFavoriteProduct,saveLastViewedProducts,sendContactFormToMerchant,socialLogin,subscribeToMarketingNotifications,validateCustomerPhoneVerificationCode,validateOTPCode}from"./api/customer/index.js";export{getDigitalProductFileDownloadUrl,getProductOptionFileUrl,uploadFile}from"./api/file-upload/index.js";export{listHTMLMetaData}from"./api/html-meta-data/index.js";export{getAvailableShippingZones,getMyCountry,listCity,listCountry,listDistrict,listState}from"./api/location/index.js";export{getLoyaltyCustomerInfo,getLoyaltyProgram,getStorefrontWidgetSettings,listEarningMethods,listLoyaltyProgramPointHistory,listLoyaltyProgramTiers,listSpendingMethodsByCartId}from"./api/loyalty/index.js";export{getMilesSmilesDetails}from"./api/miles-smiles/index.js";export{getMasterPassRequestToken}from"./api/masterpass/index.js";export{listMerchantSettings}from"./api/merchant/index.js";export{getOrderLineFile,getProductCampaigns,getProductFilterData,getRelatedProducts,getSuggestedProducts,getVariantStockLocations,listCampaignOffer,listProductAttribute,listProductBackInStockRemind,listProductOptionSet,saveProductBackInStockRemind,searchProducts}from"./api/product/index.js";export{listRaffleMetaData,listRaffleParticipants,listStorefrontRaffle,saveRaffleParticipant}from"./api/raffle/index.js";export{getStorefrontSettings}from"./api/storefront/index.js";export{listStorefrontPopup}from"./api/storefront-popup/index.js";
|
|
1
|
+
export{getAutoAppyCouponCodeFromCookie,setAPIClientConfig}from"./index2.js";export{SaveMyCustomerInput}from"./__api/models/SaveMyCustomerInput.js";export{SaveCartInput}from"./__api/models/SaveCartInput.js";export{CheckStocksLineInput}from"./__api/models/CheckStocksLineInput.js";export{CampaignOfferTargetPageTypeEnum,GetSuggestedProductsMethodEnum,LoyaltyProgramFilterTypeEnum,LoyaltyProgramMethodSpendingTypeEnum,LoyaltyProgramOrderStatusToWinPointsEnum,LoyaltyProgramPointEarningTypeEnum,LoyaltyProgramPointHistoryTypeEnum,MasterPassOperationTypeEnum,RewardSourceEnum,SortByDirectionEnum,SortByTypeEnum,StorefrontWidgetSettingsStatusEnum,TransactionCardAssociationEnum}from"./__api/types/index.js";export{APIResponse,Config as IkasAPIClientConfig}from"@ikas/fe-api-client";export{listBlog,listBlogCategory,listBlogMetaData}from"./api/blog/index.js";export{listProductBrand}from"./api/brand/index.js";export{addItemToCart,createCart,createPayWithIkasSessionUrl,getCartById,removeGiftCardFromCart,removeLoyaltyPointsFromCart,saveCart,saveCartCouponCode,updateCartCampaignOffer,useLoyaltyPoints}from"./api/cart/index.js";export{listCategory}from"./api/category/index.js";export{checkCartStocks,checkStocks,createAdyenBalancePlatformPaymentSession,createIyzicoCheckoutForm,createKlarnaClientToken,createPayPalOrder,createSaleTransactionWithCart,createStripeExpressCheckoutSession,createStripePaymentIntent,createTkPayCheckoutForm,getAvailableShippingCountries,getAvailableStockLocations,getOrderInvoicePdfUrl,getPayPalClientId,getStoreCreditBalance,hepsipayFrameInit,listCheckoutSettings,listPaymentGateway,listProductFile,listStockLocations,retrieveInstallmentInfo,updatePaypalOrder,updateStripeExpressCheckoutSession}from"./api/checkout/index.js";export{IkasLoginError,IkasRegisterError,activateCustomer,checkEmail,createCustomerReview,createOrderRefundRequest,deactivateCustomer,exportCustomerPersonelData,forgotPassword,getCustomer,getLastViewedProducts,getOrderByEmail,getOrders,isFavoriteProduct,listCustomerAttribute,listCustomerReviewSummary,listCustomerReviews,listCustomerSettings,listFavoriteProducts,listOrderRefundSettings,listOrderTransactions,listOrderTransactionsWithPrices,login,recoverPassword,refreshToken,register,resendCustomerActivationMail,resendCustomerPhoneVerificationCode,saveCustomer,saveCustomerFormData,saveFavoriteProduct,saveLastViewedProducts,sendContactFormToMerchant,socialLogin,subscribeToMarketingNotifications,validateCustomerPhoneVerificationCode,validateOTPCode}from"./api/customer/index.js";export{getDigitalProductFileDownloadUrl,getProductOptionFileUrl,uploadFile}from"./api/file-upload/index.js";export{listHTMLMetaData}from"./api/html-meta-data/index.js";export{getAvailableShippingZones,getMyCountry,listCity,listCountry,listDistrict,listState}from"./api/location/index.js";export{getLoyaltyCustomerInfo,getLoyaltyProgram,getStorefrontWidgetSettings,listEarningMethods,listLoyaltyProgramPointHistory,listLoyaltyProgramTiers,listSpendingMethodsByCartId}from"./api/loyalty/index.js";export{getMilesSmilesDetails}from"./api/miles-smiles/index.js";export{getMasterPassRequestToken}from"./api/masterpass/index.js";export{listMerchantSettings}from"./api/merchant/index.js";export{getOrderLineFile,getProductCampaigns,getProductFilterData,getRelatedProducts,getSuggestedProducts,getVariantStockLocations,listCampaignOffer,listProductAttribute,listProductBackInStockRemind,listProductOptionSet,saveProductBackInStockRemind,searchProducts}from"./api/product/index.js";export{listRaffleMetaData,listRaffleParticipants,listStorefrontRaffle,saveRaffleParticipant}from"./api/raffle/index.js";export{getStorefrontSettings}from"./api/storefront/index.js";export{listStorefrontPopup}from"./api/storefront-popup/index.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/storefront-api",
|
|
3
|
-
"version": "6.1.0-beta.
|
|
3
|
+
"version": "6.1.0-beta.352",
|
|
4
4
|
"author": "ikas",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"description": "API functions that returns models from the ikas-storefront-models package.",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
20
|
-
"@ikas/storefront-config": "^6.1.0-beta.
|
|
21
|
-
"@ikas/storefront-models": "^6.1.0-beta.
|
|
20
|
+
"@ikas/storefront-config": "^6.1.0-beta.352",
|
|
21
|
+
"@ikas/storefront-models": "^6.1.0-beta.352",
|
|
22
22
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
23
23
|
"rollup-plugin-rename-node-modules": "^1.2.0",
|
|
24
24
|
"prettier": "^2.2.1",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@ikas/fe-api-client": "1.0.30"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@ikas/storefront-config": "^6.1.0-beta.
|
|
38
|
-
"@ikas/storefront-models": "^6.1.0-beta.
|
|
37
|
+
"@ikas/storefront-config": "^6.1.0-beta.352",
|
|
38
|
+
"@ikas/storefront-models": "^6.1.0-beta.352",
|
|
39
39
|
"@ikas/fe-api-client": "1.0.30",
|
|
40
40
|
"axios": "^0.26.0",
|
|
41
41
|
"ts-essentials": "^7.0.1"
|