@ikas/storefront-api 4.15.77 → 4.15.79
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/AddressFieldRestrictions.d.ts +14 -0
- package/build/__api/models/CheckoutSettings.d.ts +3 -1
- package/build/__api/models/CreateStripeExpressCheckoutSessionResponse.d.ts +15 -0
- package/build/__api/models/StripeExpressCheckoutAddressInput.d.ts +12 -0
- package/build/__api/models/StripeExpressCheckoutCustomerInput.d.ts +12 -0
- package/build/__api/models/StripeExpressCheckoutSessionContextResponse.d.ts +15 -0
- package/build/__api/models/UpdateStripeExpressCheckoutSessionInput.d.ts +17 -0
- package/build/__api/mutations/createStripeExpressCheckoutSession.d.ts +16 -0
- package/build/__api/mutations/createStripeExpressCheckoutSession.js +1 -0
- package/build/__api/mutations/updateStripeExpressCheckoutSession.d.ts +16 -0
- package/build/__api/mutations/updateStripeExpressCheckoutSession.js +1 -0
- package/build/__api/queries/listCheckoutSettings.d.ts +6 -0
- package/build/__api/queries/listCheckoutSettings.js +1 -1
- package/build/__api/types/index.d.ts +48 -0
- package/build/api/checkout/index.d.ts +5 -1
- package/build/api/checkout/index.js +1 -1
- package/build/index.js +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class AddressFieldRestrictionsData {
|
|
3
|
+
addressLine1: string | null;
|
|
4
|
+
addressLine2: string | null;
|
|
5
|
+
companyName: string | null;
|
|
6
|
+
firstName: string | null;
|
|
7
|
+
lastName: string | null;
|
|
8
|
+
taxOffice: string | null;
|
|
9
|
+
constructor(data?: Partial<AddressFieldRestrictionsData>);
|
|
10
|
+
}
|
|
11
|
+
export declare class AddressFieldRestrictions extends AddressFieldRestrictionsData {
|
|
12
|
+
}
|
|
13
|
+
export declare type PartialAddressFieldRestrictions = Partial<AddressFieldRestrictions>;
|
|
14
|
+
export declare type ReadOnlyAddressFieldRestrictions = DeepReadonly<AddressFieldRestrictions>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
2
|
import BaseModelData from "./_base";
|
|
3
3
|
import { CorporateInvoiceRequirementEnum, CouponCodeRequirementEnum, CheckoutRequirementEnum } from "../types";
|
|
4
|
+
import { AddressFieldRestrictionsData } from "./AddressFieldRestrictions";
|
|
4
5
|
import { CheckoutSettingsPriceData } from "./CheckoutSettingsPrice";
|
|
5
6
|
import { CheckoutOptionData } from "./CheckoutOption";
|
|
6
7
|
export declare class CheckoutSettingsData extends BaseModelData {
|
|
8
|
+
addressFieldRestrictions: AddressFieldRestrictionsData | null;
|
|
7
9
|
corporateInvoiceRequirement: CorporateInvoiceRequirementEnum | null;
|
|
8
10
|
couponCodeRequirement: CouponCodeRequirementEnum | null;
|
|
9
11
|
giftPackagePriceList: CheckoutSettingsPriceData[] | null;
|
|
@@ -16,9 +18,9 @@ export declare class CheckoutSettingsData extends BaseModelData {
|
|
|
16
18
|
options: CheckoutOptionData[] | null;
|
|
17
19
|
phoneRequirement: CheckoutRequirementEnum;
|
|
18
20
|
postalCodeRequirement: CheckoutRequirementEnum | null;
|
|
21
|
+
showBillingAddressOnShippingStep: boolean | null;
|
|
19
22
|
showCheckoutNote: boolean | null;
|
|
20
23
|
showCompanyInfoInShippingAddress: boolean | null;
|
|
21
|
-
showBillingAddressOnShippingStep: boolean | null;
|
|
22
24
|
showTermsAndConditionsCheckbox: boolean;
|
|
23
25
|
storefrontId: string;
|
|
24
26
|
constructor(data?: Partial<CheckoutSettingsData>);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class CreateStripeExpressCheckoutSessionResponseData {
|
|
3
|
+
accountId: string;
|
|
4
|
+
apiKey: string;
|
|
5
|
+
callbackUrl: string;
|
|
6
|
+
clientSecret: string;
|
|
7
|
+
failUrl: string;
|
|
8
|
+
sessionId: string;
|
|
9
|
+
transactionId: string;
|
|
10
|
+
constructor(data?: Partial<CreateStripeExpressCheckoutSessionResponseData>);
|
|
11
|
+
}
|
|
12
|
+
export declare class CreateStripeExpressCheckoutSessionResponse extends CreateStripeExpressCheckoutSessionResponseData {
|
|
13
|
+
}
|
|
14
|
+
export declare type PartialCreateStripeExpressCheckoutSessionResponse = Partial<CreateStripeExpressCheckoutSessionResponse>;
|
|
15
|
+
export declare type ReadOnlyCreateStripeExpressCheckoutSessionResponse = DeepReadonly<CreateStripeExpressCheckoutSessionResponse>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class StripeExpressCheckoutAddressInputData {
|
|
3
|
+
city: string | null;
|
|
4
|
+
country: string | null;
|
|
5
|
+
postalCode: string | null;
|
|
6
|
+
state: string | null;
|
|
7
|
+
constructor(data?: Partial<StripeExpressCheckoutAddressInputData>);
|
|
8
|
+
}
|
|
9
|
+
export declare class StripeExpressCheckoutAddressInput extends StripeExpressCheckoutAddressInputData {
|
|
10
|
+
}
|
|
11
|
+
export declare type PartialStripeExpressCheckoutAddressInput = Partial<StripeExpressCheckoutAddressInput>;
|
|
12
|
+
export declare type ReadOnlyStripeExpressCheckoutAddressInput = DeepReadonly<StripeExpressCheckoutAddressInput>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class StripeExpressCheckoutCustomerInputData {
|
|
3
|
+
email: string | null;
|
|
4
|
+
firstName: string | null;
|
|
5
|
+
id: string | null;
|
|
6
|
+
lastName: string | null;
|
|
7
|
+
constructor(data?: Partial<StripeExpressCheckoutCustomerInputData>);
|
|
8
|
+
}
|
|
9
|
+
export declare class StripeExpressCheckoutCustomerInput extends StripeExpressCheckoutCustomerInputData {
|
|
10
|
+
}
|
|
11
|
+
export declare type PartialStripeExpressCheckoutCustomerInput = Partial<StripeExpressCheckoutCustomerInput>;
|
|
12
|
+
export declare type ReadOnlyStripeExpressCheckoutCustomerInput = DeepReadonly<StripeExpressCheckoutCustomerInput>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class StripeExpressCheckoutSessionContextResponseData {
|
|
3
|
+
amountTotal: number | null;
|
|
4
|
+
currency: string | null;
|
|
5
|
+
lineItemsJson: string | null;
|
|
6
|
+
paymentStatus: string | null;
|
|
7
|
+
sessionId: string;
|
|
8
|
+
shippingOptionsJson: string | null;
|
|
9
|
+
transactionId: string;
|
|
10
|
+
constructor(data?: Partial<StripeExpressCheckoutSessionContextResponseData>);
|
|
11
|
+
}
|
|
12
|
+
export declare class StripeExpressCheckoutSessionContextResponse extends StripeExpressCheckoutSessionContextResponseData {
|
|
13
|
+
}
|
|
14
|
+
export declare type PartialStripeExpressCheckoutSessionContextResponse = Partial<StripeExpressCheckoutSessionContextResponse>;
|
|
15
|
+
export declare type ReadOnlyStripeExpressCheckoutSessionContextResponse = DeepReadonly<StripeExpressCheckoutSessionContextResponse>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { StripeExpressCheckoutAddressInputData } from "./StripeExpressCheckoutAddressInput";
|
|
3
|
+
import { StripeExpressCheckoutCustomerInputData } from "./StripeExpressCheckoutCustomerInput";
|
|
4
|
+
export declare class UpdateStripeExpressCheckoutSessionInputData {
|
|
5
|
+
address: StripeExpressCheckoutAddressInputData | null;
|
|
6
|
+
cartId: string;
|
|
7
|
+
customer: StripeExpressCheckoutCustomerInputData | null;
|
|
8
|
+
sessionId: string;
|
|
9
|
+
shippingSettingsId: string | null;
|
|
10
|
+
shippingZoneRateId: string | null;
|
|
11
|
+
transactionId: string;
|
|
12
|
+
constructor(data?: Partial<UpdateStripeExpressCheckoutSessionInputData>);
|
|
13
|
+
}
|
|
14
|
+
export declare class UpdateStripeExpressCheckoutSessionInput extends UpdateStripeExpressCheckoutSessionInputData {
|
|
15
|
+
}
|
|
16
|
+
export declare type PartialUpdateStripeExpressCheckoutSessionInput = Partial<UpdateStripeExpressCheckoutSessionInput>;
|
|
17
|
+
export declare type ReadOnlyUpdateStripeExpressCheckoutSessionInput = DeepReadonly<UpdateStripeExpressCheckoutSessionInput>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ConfigType, APIResponse } from "@ikas/fe-api-client";
|
|
2
|
+
import { CreateSaleTransactionWithCartInput, CreateStripeExpressCheckoutSessionResponse } from "../types";
|
|
3
|
+
declare const createStripeExpressCheckoutSession: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<CreateStripeExpressCheckoutSessionResponse> | APIResponse<undefined>>;
|
|
4
|
+
export default createStripeExpressCheckoutSession;
|
|
5
|
+
export declare type QueryParams = {
|
|
6
|
+
input: CreateSaleTransactionWithCartInput;
|
|
7
|
+
};
|
|
8
|
+
export declare enum ResponseField {
|
|
9
|
+
ACCOUNT_ID = "accountId",
|
|
10
|
+
API_KEY = "apiKey",
|
|
11
|
+
CALLBACK_URL = "callbackUrl",
|
|
12
|
+
CLIENT_SECRET = "clientSecret",
|
|
13
|
+
FAIL_URL = "failUrl",
|
|
14
|
+
SESSION_ID = "sessionId",
|
|
15
|
+
TRANSACTION_ID = "transactionId"
|
|
16
|
+
}
|
|
@@ -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 i}from"@ikas/fe-api-client";var s,a=function(s,a,o){return t(void 0,void 0,void 0,(function(){var t,u,l,p;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,i({operationName:"createStripeExpressCheckoutSession",config:o,variables:s,allReturnFields:c,fields:a,query:function(t){return"\n\t\t\t\tmutation createStripeExpressCheckoutSession (\n\t\t\t\t\t$input: CreateSaleTransactionWithCartInput!,\n\t\t\t\t) {\n\t\t\t\t\tcreateStripeExpressCheckoutSession (\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(),u=t.data,l=t.errors,[2,new r(null==u?void 0:u.createStripeExpressCheckoutSession,l)];case 2:return p=e.sent(),[2,n(p)];case 3:return[2]}}))}))},c="{accountId apiKey callbackUrl clientSecret failUrl sessionId transactionId }";!function(t){t.ACCOUNT_ID="accountId",t.API_KEY="apiKey",t.CALLBACK_URL="callbackUrl",t.CLIENT_SECRET="clientSecret",t.FAIL_URL="failUrl",t.SESSION_ID="sessionId",t.TRANSACTION_ID="transactionId"}(s||(s={}));export{s as ResponseField,a as default};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ConfigType, APIResponse } from "@ikas/fe-api-client";
|
|
2
|
+
import { UpdateStripeExpressCheckoutSessionInput, StripeExpressCheckoutSessionContextResponse } from "../types";
|
|
3
|
+
declare const updateStripeExpressCheckoutSession: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<StripeExpressCheckoutSessionContextResponse> | APIResponse<undefined>>;
|
|
4
|
+
export default updateStripeExpressCheckoutSession;
|
|
5
|
+
export declare type QueryParams = {
|
|
6
|
+
input: UpdateStripeExpressCheckoutSessionInput;
|
|
7
|
+
};
|
|
8
|
+
export declare enum ResponseField {
|
|
9
|
+
AMOUNT_TOTAL = "amountTotal",
|
|
10
|
+
CURRENCY = "currency",
|
|
11
|
+
LINE_ITEMS_JSON = "lineItemsJson",
|
|
12
|
+
PAYMENT_STATUS = "paymentStatus",
|
|
13
|
+
SESSION_ID = "sessionId",
|
|
14
|
+
SHIPPING_OPTIONS_JSON = "shippingOptionsJson",
|
|
15
|
+
TRANSACTION_ID = "transactionId"
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as t,__generator as n}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as e,APIResponse as s,fetchQuery as i}from"@ikas/fe-api-client";var o,r=function(o,r,a){return t(void 0,void 0,void 0,(function(){var t,p,c,S;return n(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,i({operationName:"updateStripeExpressCheckoutSession",config:a,variables:o,allReturnFields:u,fields:r,query:function(t){return"\n\t\t\t\tmutation updateStripeExpressCheckoutSession (\n\t\t\t\t\t$input: UpdateStripeExpressCheckoutSessionInput!,\n\t\t\t\t) {\n\t\t\t\t\tupdateStripeExpressCheckoutSession (\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=n.sent(),p=t.data,c=t.errors,[2,new s(null==p?void 0:p.updateStripeExpressCheckoutSession,c)];case 2:return S=n.sent(),[2,e(S)];case 3:return[2]}}))}))},u="{amountTotal currency lineItemsJson paymentStatus sessionId shippingOptionsJson transactionId }";!function(t){t.AMOUNT_TOTAL="amountTotal",t.CURRENCY="currency",t.LINE_ITEMS_JSON="lineItemsJson",t.PAYMENT_STATUS="paymentStatus",t.SESSION_ID="sessionId",t.SHIPPING_OPTIONS_JSON="shippingOptionsJson",t.TRANSACTION_ID="transactionId"}(o||(o={}));export{o as ResponseField,r as default};
|
|
@@ -8,6 +8,12 @@ export declare type QueryParams = {
|
|
|
8
8
|
storefrontId?: StringFilterInput | null;
|
|
9
9
|
};
|
|
10
10
|
export declare enum ResponseField {
|
|
11
|
+
ADDRESS_FIELD_RESTRICTIONS__ADDRESS_LINE1 = "addressFieldRestrictions.addressLine1",
|
|
12
|
+
ADDRESS_FIELD_RESTRICTIONS__ADDRESS_LINE2 = "addressFieldRestrictions.addressLine2",
|
|
13
|
+
ADDRESS_FIELD_RESTRICTIONS__COMPANY_NAME = "addressFieldRestrictions.companyName",
|
|
14
|
+
ADDRESS_FIELD_RESTRICTIONS__FIRST_NAME = "addressFieldRestrictions.firstName",
|
|
15
|
+
ADDRESS_FIELD_RESTRICTIONS__LAST_NAME = "addressFieldRestrictions.lastName",
|
|
16
|
+
ADDRESS_FIELD_RESTRICTIONS__TAX_OFFICE = "addressFieldRestrictions.taxOffice",
|
|
11
17
|
CORPORATE_INVOICE_REQUIREMENT = "corporateInvoiceRequirement",
|
|
12
18
|
COUPON_CODE_REQUIREMENT = "couponCodeRequirement",
|
|
13
19
|
CREATED_AT = "createdAt",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as
|
|
1
|
+
import{__awaiter as e,__generator as t}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as i,APIResponse as n,fetchQuery as s}from"@ikas/fe-api-client";var r,o=function(r,o,_){return e(void 0,void 0,void 0,(function(){var e,E,I,a;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,s({operationName:"listCheckoutSettings",config:_,variables:r,allReturnFields:d,fields:o,query:function(e){return"\n\t\t\t\tquery listCheckoutSettings (\n\t\t\t\t\t$id: StringFilterInput,\n\t\t\t\t\t$includeDeleted: Boolean,\n\t\t\t\t\t$storefrontId: StringFilterInput,\n\t\t\t\t) {\n\t\t\t\t\tlistCheckoutSettings (\n\t\t\t\t\t\tid: $id,\n\t\t\t\t\t\tincludeDeleted: $includeDeleted,\n\t\t\t\t\t\tstorefrontId: $storefrontId,\n\t\t\t\t\t) ".concat(e,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return e=t.sent(),E=e.data,I=e.errors,[2,new n(null==E?void 0:E.listCheckoutSettings,I)];case 2:return a=t.sent(),[2,i(a)];case 3:return[2]}}))}))},d="{addressFieldRestrictions {addressLine1 addressLine2 companyName firstName lastName taxOffice } corporateInvoiceRequirement couponCodeRequirement createdAt deleted giftPackagePriceList {currencyCode currencySymbol price priceListId } id identityNumberRequirement isAccountRequired isGiftPackageEnabled isQuickRegistrationEnabled isShowPostalCode isTermsAndConditionsDefaultChecked options {name required } phoneRequirement postalCodeRequirement showBillingAddressOnShippingStep showCheckoutNote showCompanyInfoInShippingAddress showTermsAndConditionsCheckbox storefrontId updatedAt }";!function(e){e.ADDRESS_FIELD_RESTRICTIONS__ADDRESS_LINE1="addressFieldRestrictions.addressLine1",e.ADDRESS_FIELD_RESTRICTIONS__ADDRESS_LINE2="addressFieldRestrictions.addressLine2",e.ADDRESS_FIELD_RESTRICTIONS__COMPANY_NAME="addressFieldRestrictions.companyName",e.ADDRESS_FIELD_RESTRICTIONS__FIRST_NAME="addressFieldRestrictions.firstName",e.ADDRESS_FIELD_RESTRICTIONS__LAST_NAME="addressFieldRestrictions.lastName",e.ADDRESS_FIELD_RESTRICTIONS__TAX_OFFICE="addressFieldRestrictions.taxOffice",e.CORPORATE_INVOICE_REQUIREMENT="corporateInvoiceRequirement",e.COUPON_CODE_REQUIREMENT="couponCodeRequirement",e.CREATED_AT="createdAt",e.DELETED="deleted",e.GIFT_PACKAGE_PRICE_LIST__CURRENCY_CODE="giftPackagePriceList.currencyCode",e.GIFT_PACKAGE_PRICE_LIST__CURRENCY_SYMBOL="giftPackagePriceList.currencySymbol",e.GIFT_PACKAGE_PRICE_LIST__PRICE="giftPackagePriceList.price",e.GIFT_PACKAGE_PRICE_LIST__PRICE_LIST_ID="giftPackagePriceList.priceListId",e.ID="id",e.IDENTITY_NUMBER_REQUIREMENT="identityNumberRequirement",e.IS_ACCOUNT_REQUIRED="isAccountRequired",e.IS_GIFT_PACKAGE_ENABLED="isGiftPackageEnabled",e.IS_QUICK_REGISTRATION_ENABLED="isQuickRegistrationEnabled",e.IS_SHOW_POSTAL_CODE="isShowPostalCode",e.IS_TERMS_AND_CONDITIONS_DEFAULT_CHECKED="isTermsAndConditionsDefaultChecked",e.OPTIONS__NAME="options.name",e.OPTIONS__REQUIRED="options.required",e.PHONE_REQUIREMENT="phoneRequirement",e.POSTAL_CODE_REQUIREMENT="postalCodeRequirement",e.SHOW_BILLING_ADDRESS_ON_SHIPPING_STEP="showBillingAddressOnShippingStep",e.SHOW_CHECKOUT_NOTE="showCheckoutNote",e.SHOW_COMPANY_INFO_IN_SHIPPING_ADDRESS="showCompanyInfoInShippingAddress",e.SHOW_TERMS_AND_CONDITIONS_CHECKBOX="showTermsAndConditionsCheckbox",e.STOREFRONT_ID="storefrontId",e.UPDATED_AT="updatedAt"}(r||(r={}));export{r as ResponseField,o as default};
|
|
@@ -666,6 +666,14 @@ export interface AdditionalPrice {
|
|
|
666
666
|
name: string;
|
|
667
667
|
type: PaymentGatewayAdditionalPriceTypeEnum;
|
|
668
668
|
}
|
|
669
|
+
export interface AddressFieldRestrictions {
|
|
670
|
+
addressLine1: string | null;
|
|
671
|
+
addressLine2: string | null;
|
|
672
|
+
companyName: string | null;
|
|
673
|
+
firstName: string | null;
|
|
674
|
+
lastName: string | null;
|
|
675
|
+
taxOffice: string | null;
|
|
676
|
+
}
|
|
669
677
|
export interface ApplicableProductFilterValue {
|
|
670
678
|
colorCode: string | null;
|
|
671
679
|
id: string;
|
|
@@ -1112,6 +1120,7 @@ export interface CheckoutOption {
|
|
|
1112
1120
|
required: boolean;
|
|
1113
1121
|
}
|
|
1114
1122
|
export interface CheckoutSettings {
|
|
1123
|
+
addressFieldRestrictions: AddressFieldRestrictions | null;
|
|
1115
1124
|
corporateInvoiceRequirement: CorporateInvoiceRequirementEnum | null;
|
|
1116
1125
|
couponCodeRequirement: CouponCodeRequirementEnum | null;
|
|
1117
1126
|
createdAt: any | null;
|
|
@@ -1215,6 +1224,15 @@ export interface CreatePayWithIkasSessionUrlResponse {
|
|
|
1215
1224
|
expiresAt: number;
|
|
1216
1225
|
payUrl: string;
|
|
1217
1226
|
}
|
|
1227
|
+
export interface CreateStripeExpressCheckoutSessionResponse {
|
|
1228
|
+
accountId: string;
|
|
1229
|
+
apiKey: string;
|
|
1230
|
+
callbackUrl: string;
|
|
1231
|
+
clientSecret: string;
|
|
1232
|
+
failUrl: string;
|
|
1233
|
+
sessionId: string;
|
|
1234
|
+
transactionId: string;
|
|
1235
|
+
}
|
|
1218
1236
|
export interface CreateStripePaymentIntentResponse {
|
|
1219
1237
|
accountId: string;
|
|
1220
1238
|
apiKey: string;
|
|
@@ -3680,6 +3698,18 @@ export interface StringFilterInput {
|
|
|
3680
3698
|
ne?: string | null;
|
|
3681
3699
|
nin?: string[] | null;
|
|
3682
3700
|
}
|
|
3701
|
+
export interface StripeExpressCheckoutAddressInput {
|
|
3702
|
+
city?: string | null;
|
|
3703
|
+
country?: string | null;
|
|
3704
|
+
postalCode?: string | null;
|
|
3705
|
+
state?: string | null;
|
|
3706
|
+
}
|
|
3707
|
+
export interface StripeExpressCheckoutCustomerInput {
|
|
3708
|
+
email?: string | null;
|
|
3709
|
+
firstName?: string | null;
|
|
3710
|
+
id?: string | null;
|
|
3711
|
+
lastName?: string | null;
|
|
3712
|
+
}
|
|
3683
3713
|
export interface SubscribeToMarketingNotificationsInput {
|
|
3684
3714
|
captchaToken?: string | null;
|
|
3685
3715
|
email: string;
|
|
@@ -3716,6 +3746,15 @@ export interface UpdatePaypalOrderInput {
|
|
|
3716
3746
|
shippingZoneRateId?: string | null;
|
|
3717
3747
|
transactionId: string;
|
|
3718
3748
|
}
|
|
3749
|
+
export interface UpdateStripeExpressCheckoutSessionInput {
|
|
3750
|
+
address?: StripeExpressCheckoutAddressInput | null;
|
|
3751
|
+
cartId: string;
|
|
3752
|
+
customer?: StripeExpressCheckoutCustomerInput | null;
|
|
3753
|
+
sessionId: string;
|
|
3754
|
+
shippingSettingsId?: string | null;
|
|
3755
|
+
shippingZoneRateId?: string | null;
|
|
3756
|
+
transactionId: string;
|
|
3757
|
+
}
|
|
3719
3758
|
export declare enum StorefrontPopupDeviceTypeEnum {
|
|
3720
3759
|
ALL = "ALL",
|
|
3721
3760
|
DESKTOP = "DESKTOP",
|
|
@@ -4049,3 +4088,12 @@ export interface StorefrontWidgetSettingsRouting {
|
|
|
4049
4088
|
storefrontId: string;
|
|
4050
4089
|
storefrontRoutingId: string;
|
|
4051
4090
|
}
|
|
4091
|
+
export interface StripeExpressCheckoutSessionContextResponse {
|
|
4092
|
+
amountTotal: number | null;
|
|
4093
|
+
currency: string | null;
|
|
4094
|
+
lineItemsJson: string | null;
|
|
4095
|
+
paymentStatus: string | null;
|
|
4096
|
+
sessionId: string;
|
|
4097
|
+
shippingOptionsJson: string | null;
|
|
4098
|
+
transactionId: string;
|
|
4099
|
+
}
|
|
@@ -14,11 +14,13 @@ 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 CreateStripeExpressCheckoutSessionParams } from "../../__api/mutations/createStripeExpressCheckoutSession";
|
|
18
|
+
import { QueryParams as UpdateStripeExpressCheckoutSessionParams } from "../../__api/mutations/updateStripeExpressCheckoutSession";
|
|
17
19
|
import { QueryParams as ListProductFileQueryParams } from "../../__api/queries/listProductFile";
|
|
18
20
|
import { QueryParams as CheckCartStocksQueryParams } from "../../__api/queries/checkCartStocks";
|
|
19
21
|
import { QueryParams as CreateAdyenBalancePlatformPaymentParams } from "../../__api/mutations/createAdyenBalancePlatformPaymentSession";
|
|
20
22
|
import { IkasAvailableStockLocation, IkasCheckoutSettings, IkasPaymentGateway, IkasStockLocation, IkasStoreCreditBalance } from "@ikas/storefront-models";
|
|
21
|
-
export type { CreateSaleTransactionQueryParams, ListPaymentGatewayQueryParams, RetrieveInstallmentInfoQueryParams, CheckStocksQueryParams, ListCheckoutSettingsQueryParams, GetAvailableShippingCountriesQueryParams, ListStockLocationQueryParams, GetAvailableStockLocationQueryParams, CreateStripePaymentIntentParams, CreateKlarnaClientTokenParams, GetPayPalClientIdTokenParams, CreatePayPalOrderParams, UpdatePayPalOrderParams, HepsipayFrameInitParams, ListProductFileQueryParams, CheckCartStocksQueryParams, CreateAdyenBalancePlatformPaymentParams, CreateIyzicoCheckoutFormParams, };
|
|
23
|
+
export type { CreateSaleTransactionQueryParams, ListPaymentGatewayQueryParams, RetrieveInstallmentInfoQueryParams, CheckStocksQueryParams, ListCheckoutSettingsQueryParams, GetAvailableShippingCountriesQueryParams, ListStockLocationQueryParams, GetAvailableStockLocationQueryParams, CreateStripePaymentIntentParams, CreateKlarnaClientTokenParams, GetPayPalClientIdTokenParams, CreatePayPalOrderParams, UpdatePayPalOrderParams, HepsipayFrameInitParams, ListProductFileQueryParams, CheckCartStocksQueryParams, CreateAdyenBalancePlatformPaymentParams, CreateIyzicoCheckoutFormParams, CreateStripeExpressCheckoutSessionParams, UpdateStripeExpressCheckoutSessionParams, };
|
|
22
24
|
export declare function createSaleTransactionWithCart(params: CreateSaleTransactionQueryParams): Promise<APIResponse<import("../..").TransactionResponse> | APIResponse<undefined>>;
|
|
23
25
|
export declare function listPaymentGateway(params: ListPaymentGatewayQueryParams): Promise<APIResponse<IkasPaymentGateway[]>>;
|
|
24
26
|
export declare function getStoreCreditBalance(): Promise<APIResponse<IkasStoreCreditBalance | null>>;
|
|
@@ -38,3 +40,5 @@ export declare function createPayPalOrder(params: CreatePayPalOrderParams): Prom
|
|
|
38
40
|
export declare function updatePaypalOrder(params: UpdatePayPalOrderParams): Promise<APIResponse<boolean>>;
|
|
39
41
|
export declare function hepsipayFrameInit(params: HepsipayFrameInitParams): Promise<APIResponse<import("../..").HepsipayFrameInitResponse>>;
|
|
40
42
|
export declare function createIyzicoCheckoutForm(params: CreateIyzicoCheckoutFormParams): Promise<APIResponse<import("../..").CreateIyzicoCheckoutFormResponse>>;
|
|
43
|
+
export declare function createStripeExpressCheckoutSession(params: CreateStripeExpressCheckoutSessionParams): Promise<APIResponse<import("../../__api/types").CreateStripeExpressCheckoutSessionResponse>>;
|
|
44
|
+
export declare function updateStripeExpressCheckoutSession(params: UpdateStripeExpressCheckoutSessionParams): Promise<APIResponse<import("../../__api/types").StripeExpressCheckoutSessionContextResponse>>;
|
|
@@ -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 l(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,
|
|
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 l(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,S()];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 d(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 f(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/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 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/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 S(){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,L as createStripeExpressCheckoutSession,p as createStripePaymentIntent,d as getAvailableShippingCountries,h as getAvailableStockLocations,m as getPayPalClientId,s as getStoreCreditBalance,j as hepsipayFrameInit,l as listCheckoutSettings,i as listPaymentGateway,a as listProductFile,f as listStockLocations,u as retrieveInstallmentInfo,b as updatePaypalOrder,E as updateStripeExpressCheckoutSession};
|
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,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,createStripePaymentIntent,getAvailableShippingCountries,getAvailableStockLocations,getPayPalClientId,getStoreCreditBalance,hepsipayFrameInit,listCheckoutSettings,listPaymentGateway,listProductFile,listStockLocations,retrieveInstallmentInfo,updatePaypalOrder}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{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,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,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{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": "4.15.
|
|
3
|
+
"version": "4.15.79",
|
|
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": "^4.15.
|
|
21
|
-
"@ikas/storefront-models": "^4.15.
|
|
20
|
+
"@ikas/storefront-config": "^4.15.79",
|
|
21
|
+
"@ikas/storefront-models": "^4.15.79",
|
|
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": "^4.15.
|
|
38
|
-
"@ikas/storefront-models": "^4.15.
|
|
37
|
+
"@ikas/storefront-config": "^4.15.79",
|
|
38
|
+
"@ikas/storefront-models": "^4.15.79",
|
|
39
39
|
"@ikas/fe-api-client": "1.0.30",
|
|
40
40
|
"axios": "^0.26.0",
|
|
41
41
|
"ts-essentials": "^7.0.1"
|