@ikas/storefront-api 6.1.0-beta.133 → 6.1.0-beta.135

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.
@@ -0,0 +1,8 @@
1
+ /** DO NOT EDIT - GENERATED AUTO BY IKAS API-CLIENT **/
2
+ import { ConfigType, APIResponse } from "@ikas/fe-api-client";
3
+ declare const sendCustomerSmsLoginCode: (variables: QueryParams, config?: ConfigType) => Promise<APIResponse<boolean> | APIResponse<undefined>>;
4
+ export default sendCustomerSmsLoginCode;
5
+ export declare type QueryParams = {
6
+ captchaToken?: string | null;
7
+ phone: string;
8
+ };
@@ -0,0 +1 @@
1
+ import{__awaiter as t,__generator as n}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as e,APIResponse as o,fetchQuery as r}from"@ikas/fe-api-client";var s=function(s,i){return t(void 0,void 0,void 0,(function(){var t,a,u,c;return n(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,r({operationName:"sendCustomerSmsLoginCode",config:i,variables:s,query:"\n\t\t\t\tmutation sendCustomerSmsLoginCode (\n\t\t\t\t\t$captchaToken: String,\n\t\t\t\t\t$phone: String!,\n\t\t\t\t) {\n\t\t\t\t\tsendCustomerSmsLoginCode (\n\t\t\t\t\t\tcaptchaToken: $captchaToken,\n\t\t\t\t\t\tphone: $phone,\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t"})];case 1:return t=n.sent(),a=t.data,u=t.errors,[2,new o(null==a?void 0:a.sendCustomerSmsLoginCode,u)];case 2:return c=n.sent(),[2,e(c)];case 3:return[2]}}))}))};export{s as default};
@@ -0,0 +1,19 @@
1
+ /** DO NOT EDIT - GENERATED AUTO BY IKAS API-CLIENT **/
2
+ import { ConfigType, APIResponse } from "@ikas/fe-api-client";
3
+ import { CustomerAttributeValueInput, CustomerGenderTypeEnum, CustomerRegisterSubscriptionInput } from "../types";
4
+ declare const smsRegisterCustomer: (variables: QueryParams, config?: ConfigType) => Promise<APIResponse<boolean> | APIResponse<undefined>>;
5
+ export default smsRegisterCustomer;
6
+ export declare type QueryParams = {
7
+ attributes?: CustomerAttributeValueInput[] | null;
8
+ birthDate?: any | null;
9
+ captchaToken?: string | null;
10
+ firstName: string;
11
+ gender?: CustomerGenderTypeEnum | null;
12
+ isAcceptMarketing?: boolean | null;
13
+ lastName: string;
14
+ locale?: string | null;
15
+ orderId?: string | null;
16
+ phone: string;
17
+ preferredLanguage?: string | null;
18
+ subscriptions?: CustomerRegisterSubscriptionInput | null;
19
+ };
@@ -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 s}from"@ikas/fe-api-client";var i=function(i,a){return t(void 0,void 0,void 0,(function(){var t,o,u,c;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,s({operationName:"smsRegisterCustomer",config:a,variables:i,query:"\n\t\t\t\tmutation smsRegisterCustomer (\n\t\t\t\t\t$attributes: [CustomerAttributeValueInput!],\n\t\t\t\t\t$birthDate: Timestamp,\n\t\t\t\t\t$captchaToken: String,\n\t\t\t\t\t$firstName: String!,\n\t\t\t\t\t$gender: CustomerGenderTypeEnum,\n\t\t\t\t\t$isAcceptMarketing: Boolean,\n\t\t\t\t\t$lastName: String!,\n\t\t\t\t\t$locale: String,\n\t\t\t\t\t$orderId: String,\n\t\t\t\t\t$phone: String!,\n\t\t\t\t\t$preferredLanguage: String,\n\t\t\t\t\t$subscriptions: CustomerRegisterSubscriptionInput,\n\t\t\t\t) {\n\t\t\t\t\tsmsRegisterCustomer (\n\t\t\t\t\t\tattributes: $attributes,\n\t\t\t\t\t\tbirthDate: $birthDate,\n\t\t\t\t\t\tcaptchaToken: $captchaToken,\n\t\t\t\t\t\tfirstName: $firstName,\n\t\t\t\t\t\tgender: $gender,\n\t\t\t\t\t\tisAcceptMarketing: $isAcceptMarketing,\n\t\t\t\t\t\tlastName: $lastName,\n\t\t\t\t\t\tlocale: $locale,\n\t\t\t\t\t\torderId: $orderId,\n\t\t\t\t\t\tphone: $phone,\n\t\t\t\t\t\tpreferredLanguage: $preferredLanguage,\n\t\t\t\t\t\tsubscriptions: $subscriptions,\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t"})];case 1:return t=e.sent(),o=t.data,u=t.errors,[2,new r(null==o?void 0:o.smsRegisterCustomer,u)];case 2:return c=e.sent(),[2,n(c)];case 3:return[2]}}))}))};export{i as default};
@@ -0,0 +1,94 @@
1
+ /** DO NOT EDIT - GENERATED AUTO BY IKAS API-CLIENT **/
2
+ import { ConfigType, APIResponse } from "@ikas/fe-api-client";
3
+ import { CustomerLoginResponse } from "../types";
4
+ declare const validateCustomerPhoneLoginCode: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<CustomerLoginResponse> | APIResponse<undefined>>;
5
+ export default validateCustomerPhoneLoginCode;
6
+ export declare type QueryParams = {
7
+ captchaToken?: string | null;
8
+ verificationCode: string;
9
+ };
10
+ export declare enum ResponseField {
11
+ CUSTOMER__ACCOUNT_STATUS = "customer.accountStatus",
12
+ CUSTOMER__ACCOUNT_STATUS_UPDATED_AT = "customer.accountStatusUpdatedAt",
13
+ CUSTOMER__ADDRESSES__ADDRESS_LINE1 = "customer.addresses.addressLine1",
14
+ CUSTOMER__ADDRESSES__ADDRESS_LINE2 = "customer.addresses.addressLine2",
15
+ CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID = "customer.addresses.attributes.customerAttributeId",
16
+ CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID = "customer.addresses.attributes.customerAttributeOptionId",
17
+ CUSTOMER__ADDRESSES__ATTRIBUTES__VALUE = "customer.addresses.attributes.value",
18
+ CUSTOMER__ADDRESSES__CITY__CODE = "customer.addresses.city.code",
19
+ CUSTOMER__ADDRESSES__CITY__ID = "customer.addresses.city.id",
20
+ CUSTOMER__ADDRESSES__CITY__NAME = "customer.addresses.city.name",
21
+ CUSTOMER__ADDRESSES__COMPANY = "customer.addresses.company",
22
+ CUSTOMER__ADDRESSES__COUNTRY__CODE = "customer.addresses.country.code",
23
+ CUSTOMER__ADDRESSES__COUNTRY__ID = "customer.addresses.country.id",
24
+ CUSTOMER__ADDRESSES__COUNTRY__ISO2 = "customer.addresses.country.iso2",
25
+ CUSTOMER__ADDRESSES__COUNTRY__ISO3 = "customer.addresses.country.iso3",
26
+ CUSTOMER__ADDRESSES__COUNTRY__NAME = "customer.addresses.country.name",
27
+ CUSTOMER__ADDRESSES__CREATED_AT = "customer.addresses.createdAt",
28
+ CUSTOMER__ADDRESSES__DELETED = "customer.addresses.deleted",
29
+ CUSTOMER__ADDRESSES__DISTRICT__CODE = "customer.addresses.district.code",
30
+ CUSTOMER__ADDRESSES__DISTRICT__ID = "customer.addresses.district.id",
31
+ CUSTOMER__ADDRESSES__DISTRICT__NAME = "customer.addresses.district.name",
32
+ CUSTOMER__ADDRESSES__FIRST_NAME = "customer.addresses.firstName",
33
+ CUSTOMER__ADDRESSES__ID = "customer.addresses.id",
34
+ CUSTOMER__ADDRESSES__IDENTITY_NUMBER = "customer.addresses.identityNumber",
35
+ CUSTOMER__ADDRESSES__IS_DEFAULT = "customer.addresses.isDefault",
36
+ CUSTOMER__ADDRESSES__LAST_NAME = "customer.addresses.lastName",
37
+ CUSTOMER__ADDRESSES__PHONE = "customer.addresses.phone",
38
+ CUSTOMER__ADDRESSES__POSTAL_CODE = "customer.addresses.postalCode",
39
+ CUSTOMER__ADDRESSES__REGION__CREATED_AT = "customer.addresses.region.createdAt",
40
+ CUSTOMER__ADDRESSES__REGION__DELETED = "customer.addresses.region.deleted",
41
+ CUSTOMER__ADDRESSES__REGION__ID = "customer.addresses.region.id",
42
+ CUSTOMER__ADDRESSES__REGION__NAME = "customer.addresses.region.name",
43
+ CUSTOMER__ADDRESSES__REGION__UPDATED_AT = "customer.addresses.region.updatedAt",
44
+ CUSTOMER__ADDRESSES__STATE__CODE = "customer.addresses.state.code",
45
+ CUSTOMER__ADDRESSES__STATE__ID = "customer.addresses.state.id",
46
+ CUSTOMER__ADDRESSES__STATE__NAME = "customer.addresses.state.name",
47
+ CUSTOMER__ADDRESSES__TAX_NUMBER = "customer.addresses.taxNumber",
48
+ CUSTOMER__ADDRESSES__TAX_OFFICE = "customer.addresses.taxOffice",
49
+ CUSTOMER__ADDRESSES__TITLE = "customer.addresses.title",
50
+ CUSTOMER__ADDRESSES__UPDATED_AT = "customer.addresses.updatedAt",
51
+ CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID = "customer.attributes.customerAttributeId",
52
+ CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID = "customer.attributes.customerAttributeOptionId",
53
+ CUSTOMER__ATTRIBUTES__VALUE = "customer.attributes.value",
54
+ CUSTOMER__BIRTH_DATE = "customer.birthDate",
55
+ CUSTOMER__CREATED_AT = "customer.createdAt",
56
+ CUSTOMER__CUSTOMER_GROUP_IDS = "customer.customerGroupIds",
57
+ CUSTOMER__CUSTOMER_SEGMENT_IDS = "customer.customerSegmentIds",
58
+ CUSTOMER__CUSTOMER_SEQUENCE = "customer.customerSequence",
59
+ CUSTOMER__DELETED = "customer.deleted",
60
+ CUSTOMER__EMAIL = "customer.email",
61
+ CUSTOMER__EMAIL_VERIFIED_DATE = "customer.emailVerifiedDate",
62
+ CUSTOMER__FIRST_NAME = "customer.firstName",
63
+ CUSTOMER__FULL_NAME = "customer.fullName",
64
+ CUSTOMER__GENDER = "customer.gender",
65
+ CUSTOMER__ID = "customer.id",
66
+ CUSTOMER__IS_EMAIL_VERIFIED = "customer.isEmailVerified",
67
+ CUSTOMER__IS_PHONE_VERIFIED = "customer.isPhoneVerified",
68
+ CUSTOMER__LAST_NAME = "customer.lastName",
69
+ CUSTOMER__NOTE = "customer.note",
70
+ CUSTOMER__ORDER_COUNT = "customer.orderCount",
71
+ CUSTOMER__PASSWORD_UPDATE_DATE = "customer.passwordUpdateDate",
72
+ CUSTOMER__PHONE = "customer.phone",
73
+ CUSTOMER__PHONE_SUBSCRIPTION_STATUS = "customer.phoneSubscriptionStatus",
74
+ CUSTOMER__PHONE_SUBSCRIPTION_STATUS_UPDATED_AT = "customer.phoneSubscriptionStatusUpdatedAt",
75
+ CUSTOMER__PHONE_VERIFIED_DATE = "customer.phoneVerifiedDate",
76
+ CUSTOMER__PREFERRED_LANGUAGE = "customer.preferredLanguage",
77
+ CUSTOMER__PRICE_LIST_ID = "customer.priceListId",
78
+ CUSTOMER__PRICE_LIST_RULES__DISCOUNT_RATE = "customer.priceListRules.discountRate",
79
+ CUSTOMER__PRICE_LIST_RULES__FILTERS__TYPE = "customer.priceListRules.filters.type",
80
+ CUSTOMER__PRICE_LIST_RULES__FILTERS__VALUE_LIST = "customer.priceListRules.filters.valueList",
81
+ CUSTOMER__PRICE_LIST_RULES__PRICE_LIST_ID = "customer.priceListRules.priceListId",
82
+ CUSTOMER__PRICE_LIST_RULES__SHOULD_MATCH_ALL_FILTERS = "customer.priceListRules.shouldMatchAllFilters",
83
+ CUSTOMER__PRICE_LIST_RULES__VALUE = "customer.priceListRules.value",
84
+ CUSTOMER__PRICE_LIST_RULES__VALUE_TYPE = "customer.priceListRules.valueType",
85
+ CUSTOMER__REGISTRATION_SOURCE = "customer.registrationSource",
86
+ CUSTOMER__SMS_SUBSCRIPTION_STATUS = "customer.smsSubscriptionStatus",
87
+ CUSTOMER__SMS_SUBSCRIPTION_STATUS_UPDATED_AT = "customer.smsSubscriptionStatusUpdatedAt",
88
+ CUSTOMER__SUBSCRIPTION_STATUS = "customer.subscriptionStatus",
89
+ CUSTOMER__SUBSCRIPTION_STATUS_UPDATED_AT = "customer.subscriptionStatusUpdatedAt",
90
+ CUSTOMER__TAG_IDS = "customer.tagIds",
91
+ CUSTOMER__UPDATED_AT = "customer.updatedAt",
92
+ TOKEN = "token",
93
+ TOKEN_EXPIRY = "tokenExpiry"
94
+ }
@@ -0,0 +1 @@
1
+ import{__awaiter as e,__generator as t}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as _,APIResponse as s,fetchQuery as S}from"@ikas/fe-api-client";var E,r=function(E,r,o){return e(void 0,void 0,void 0,(function(){var e,d,u,R;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,S({operationName:"validateCustomerPhoneLoginCode",config:o,variables:E,allReturnFields:T,fields:r,query:function(e){return"\n\t\t\t\tmutation validateCustomerPhoneLoginCode (\n\t\t\t\t\t$captchaToken: String,\n\t\t\t\t\t$verificationCode: String!,\n\t\t\t\t) {\n\t\t\t\t\tvalidateCustomerPhoneLoginCode (\n\t\t\t\t\t\tcaptchaToken: $captchaToken,\n\t\t\t\t\t\tverificationCode: $verificationCode,\n\t\t\t\t\t) ".concat(e,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return e=t.sent(),d=e.data,u=e.errors,[2,new s(null==d?void 0:d.validateCustomerPhoneLoginCode,u)];case 2:return R=t.sent(),[2,_(R)];case 3:return[2]}}))}))},T="{customer {accountStatus accountStatusUpdatedAt addresses {addressLine1 addressLine2 attributes {customerAttributeId customerAttributeOptionId value } city {code id name } company country {code id iso2 iso3 name } createdAt deleted district {code id name } firstName id identityNumber isDefault lastName phone postalCode region {createdAt deleted id name updatedAt } state {code id name } taxNumber taxOffice title updatedAt } attributes {customerAttributeId customerAttributeOptionId value } birthDate createdAt customerGroupIds customerSegmentIds customerSequence deleted email emailVerifiedDate firstName fullName gender id isEmailVerified isPhoneVerified lastName note orderCount passwordUpdateDate phone phoneSubscriptionStatus phoneSubscriptionStatusUpdatedAt phoneVerifiedDate preferredLanguage priceListId priceListRules {discountRate filters {type valueList } priceListId shouldMatchAllFilters value valueType } registrationSource smsSubscriptionStatus smsSubscriptionStatusUpdatedAt subscriptionStatus subscriptionStatusUpdatedAt tagIds updatedAt } token tokenExpiry }";!function(e){e.CUSTOMER__ACCOUNT_STATUS="customer.accountStatus",e.CUSTOMER__ACCOUNT_STATUS_UPDATED_AT="customer.accountStatusUpdatedAt",e.CUSTOMER__ADDRESSES__ADDRESS_LINE1="customer.addresses.addressLine1",e.CUSTOMER__ADDRESSES__ADDRESS_LINE2="customer.addresses.addressLine2",e.CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID="customer.addresses.attributes.customerAttributeId",e.CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID="customer.addresses.attributes.customerAttributeOptionId",e.CUSTOMER__ADDRESSES__ATTRIBUTES__VALUE="customer.addresses.attributes.value",e.CUSTOMER__ADDRESSES__CITY__CODE="customer.addresses.city.code",e.CUSTOMER__ADDRESSES__CITY__ID="customer.addresses.city.id",e.CUSTOMER__ADDRESSES__CITY__NAME="customer.addresses.city.name",e.CUSTOMER__ADDRESSES__COMPANY="customer.addresses.company",e.CUSTOMER__ADDRESSES__COUNTRY__CODE="customer.addresses.country.code",e.CUSTOMER__ADDRESSES__COUNTRY__ID="customer.addresses.country.id",e.CUSTOMER__ADDRESSES__COUNTRY__ISO2="customer.addresses.country.iso2",e.CUSTOMER__ADDRESSES__COUNTRY__ISO3="customer.addresses.country.iso3",e.CUSTOMER__ADDRESSES__COUNTRY__NAME="customer.addresses.country.name",e.CUSTOMER__ADDRESSES__CREATED_AT="customer.addresses.createdAt",e.CUSTOMER__ADDRESSES__DELETED="customer.addresses.deleted",e.CUSTOMER__ADDRESSES__DISTRICT__CODE="customer.addresses.district.code",e.CUSTOMER__ADDRESSES__DISTRICT__ID="customer.addresses.district.id",e.CUSTOMER__ADDRESSES__DISTRICT__NAME="customer.addresses.district.name",e.CUSTOMER__ADDRESSES__FIRST_NAME="customer.addresses.firstName",e.CUSTOMER__ADDRESSES__ID="customer.addresses.id",e.CUSTOMER__ADDRESSES__IDENTITY_NUMBER="customer.addresses.identityNumber",e.CUSTOMER__ADDRESSES__IS_DEFAULT="customer.addresses.isDefault",e.CUSTOMER__ADDRESSES__LAST_NAME="customer.addresses.lastName",e.CUSTOMER__ADDRESSES__PHONE="customer.addresses.phone",e.CUSTOMER__ADDRESSES__POSTAL_CODE="customer.addresses.postalCode",e.CUSTOMER__ADDRESSES__REGION__CREATED_AT="customer.addresses.region.createdAt",e.CUSTOMER__ADDRESSES__REGION__DELETED="customer.addresses.region.deleted",e.CUSTOMER__ADDRESSES__REGION__ID="customer.addresses.region.id",e.CUSTOMER__ADDRESSES__REGION__NAME="customer.addresses.region.name",e.CUSTOMER__ADDRESSES__REGION__UPDATED_AT="customer.addresses.region.updatedAt",e.CUSTOMER__ADDRESSES__STATE__CODE="customer.addresses.state.code",e.CUSTOMER__ADDRESSES__STATE__ID="customer.addresses.state.id",e.CUSTOMER__ADDRESSES__STATE__NAME="customer.addresses.state.name",e.CUSTOMER__ADDRESSES__TAX_NUMBER="customer.addresses.taxNumber",e.CUSTOMER__ADDRESSES__TAX_OFFICE="customer.addresses.taxOffice",e.CUSTOMER__ADDRESSES__TITLE="customer.addresses.title",e.CUSTOMER__ADDRESSES__UPDATED_AT="customer.addresses.updatedAt",e.CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID="customer.attributes.customerAttributeId",e.CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID="customer.attributes.customerAttributeOptionId",e.CUSTOMER__ATTRIBUTES__VALUE="customer.attributes.value",e.CUSTOMER__BIRTH_DATE="customer.birthDate",e.CUSTOMER__CREATED_AT="customer.createdAt",e.CUSTOMER__CUSTOMER_GROUP_IDS="customer.customerGroupIds",e.CUSTOMER__CUSTOMER_SEGMENT_IDS="customer.customerSegmentIds",e.CUSTOMER__CUSTOMER_SEQUENCE="customer.customerSequence",e.CUSTOMER__DELETED="customer.deleted",e.CUSTOMER__EMAIL="customer.email",e.CUSTOMER__EMAIL_VERIFIED_DATE="customer.emailVerifiedDate",e.CUSTOMER__FIRST_NAME="customer.firstName",e.CUSTOMER__FULL_NAME="customer.fullName",e.CUSTOMER__GENDER="customer.gender",e.CUSTOMER__ID="customer.id",e.CUSTOMER__IS_EMAIL_VERIFIED="customer.isEmailVerified",e.CUSTOMER__IS_PHONE_VERIFIED="customer.isPhoneVerified",e.CUSTOMER__LAST_NAME="customer.lastName",e.CUSTOMER__NOTE="customer.note",e.CUSTOMER__ORDER_COUNT="customer.orderCount",e.CUSTOMER__PASSWORD_UPDATE_DATE="customer.passwordUpdateDate",e.CUSTOMER__PHONE="customer.phone",e.CUSTOMER__PHONE_SUBSCRIPTION_STATUS="customer.phoneSubscriptionStatus",e.CUSTOMER__PHONE_SUBSCRIPTION_STATUS_UPDATED_AT="customer.phoneSubscriptionStatusUpdatedAt",e.CUSTOMER__PHONE_VERIFIED_DATE="customer.phoneVerifiedDate",e.CUSTOMER__PREFERRED_LANGUAGE="customer.preferredLanguage",e.CUSTOMER__PRICE_LIST_ID="customer.priceListId",e.CUSTOMER__PRICE_LIST_RULES__DISCOUNT_RATE="customer.priceListRules.discountRate",e.CUSTOMER__PRICE_LIST_RULES__FILTERS__TYPE="customer.priceListRules.filters.type",e.CUSTOMER__PRICE_LIST_RULES__FILTERS__VALUE_LIST="customer.priceListRules.filters.valueList",e.CUSTOMER__PRICE_LIST_RULES__PRICE_LIST_ID="customer.priceListRules.priceListId",e.CUSTOMER__PRICE_LIST_RULES__SHOULD_MATCH_ALL_FILTERS="customer.priceListRules.shouldMatchAllFilters",e.CUSTOMER__PRICE_LIST_RULES__VALUE="customer.priceListRules.value",e.CUSTOMER__PRICE_LIST_RULES__VALUE_TYPE="customer.priceListRules.valueType",e.CUSTOMER__REGISTRATION_SOURCE="customer.registrationSource",e.CUSTOMER__SMS_SUBSCRIPTION_STATUS="customer.smsSubscriptionStatus",e.CUSTOMER__SMS_SUBSCRIPTION_STATUS_UPDATED_AT="customer.smsSubscriptionStatusUpdatedAt",e.CUSTOMER__SUBSCRIPTION_STATUS="customer.subscriptionStatus",e.CUSTOMER__SUBSCRIPTION_STATUS_UPDATED_AT="customer.subscriptionStatusUpdatedAt",e.CUSTOMER__TAG_IDS="customer.tagIds",e.CUSTOMER__UPDATED_AT="customer.updatedAt",e.TOKEN="token",e.TOKEN_EXPIRY="tokenExpiry"}(E||(E={}));export{E as ResponseField,r as default};
@@ -167,6 +167,11 @@ export declare enum CustomerEmailSubscriptionStatusesEnum {
167
167
  PENDING_CONFIRMATION = "PENDING_CONFIRMATION",
168
168
  SUBSCRIBED = "SUBSCRIBED"
169
169
  }
170
+ export declare enum CustomerGenderTypeEnum {
171
+ FEMALE = "FEMALE",
172
+ MALE = "MALE",
173
+ OTHER = "OTHER"
174
+ }
170
175
  export declare enum CustomerPriceListRuleFilterTypeEnum {
171
176
  CATEGORY = "CATEGORY",
172
177
  PRODUCT = "PRODUCT",
@@ -1348,6 +1353,11 @@ export interface CustomerFavoriteProduct {
1348
1353
  productId: string;
1349
1354
  updatedAt: any | null;
1350
1355
  }
1356
+ export interface CustomerLoginResponse {
1357
+ customer: Customer | null;
1358
+ token: string;
1359
+ tokenExpiry: number;
1360
+ }
1351
1361
  export interface CustomerPriceListRule {
1352
1362
  filters: CustomerPriceListRuleFilter[] | null;
1353
1363
  shouldMatchAllFilters: boolean | null;
@@ -3257,6 +3267,16 @@ export interface CustomerAttributeValueInput {
3257
3267
  customerAttributeOptionId?: string | null;
3258
3268
  value?: string | null;
3259
3269
  }
3270
+ export interface CustomerRegisterSubscriptionInput {
3271
+ email: boolean;
3272
+ phone: boolean;
3273
+ sms: boolean;
3274
+ }
3275
+ export interface CustomerAttributeValueInput {
3276
+ customerAttributeId?: string | null;
3277
+ customerAttributeOptionId?: string | null;
3278
+ value?: string | null;
3279
+ }
3260
3280
  export interface DateFilterInput {
3261
3281
  eq?: any | null;
3262
3282
  gt?: any | null;
@@ -3695,8 +3715,3 @@ export interface SaveCustomerFormDataInput {
3695
3715
  storefrontPopupId?: string | null;
3696
3716
  subscriptions?: CustomerRegisterSubscriptionInput | null;
3697
3717
  }
3698
- export declare enum CustomerGenderTypeEnum {
3699
- FEMALE = "FEMALE",
3700
- MALE = "MALE",
3701
- OTHER = "OTHER"
3702
- }
@@ -1 +1 @@
1
- var E,R,T,A,I,_,O,C,D,N,L,S,U,P,M,n,F,H,G,Y,V,B,o,c,f,t,i,u,W,K,Q,X,J,e,a,g,l,Z,p,b,k,r,d,s,v,x,h,j,m,q,w,y,z,$,EE,RE,TE,AE,IE,_E,OE,CE,DE,NE,LE,SE,UE,PE,ME,nE,FE,HE,GE,YE,VE,BE,oE,cE,fE,tE,iE,uE,WE,KE,QE,XE,JE,eE,aE,gE,lE,ZE,pE,bE,kE,rE,dE,sE,vE,xE;!function(E){E.EMAIL="EMAIL",E.SMS="SMS"}(E||(E={})),function(E){E.BLOG="BLOG",E.BLOG_CATEGORY="BLOG_CATEGORY"}(R||(R={})),function(E){E.DISCOUNT_PRICE="DISCOUNT_PRICE",E.SELL_PRICE="SELL_PRICE"}(T||(T={})),function(E){E.ABANDONED_CHECKOUT="ABANDONED_CHECKOUT",E.CART="CART",E.CUSTOMER_REVIEW="CUSTOMER_REVIEW"}(A||(A={})),function(E){E.CATEGORY="CATEGORY",E.PRODUCT="PRODUCT",E.PRODUCT_BRAND="PRODUCT_BRAND",E.PRODUCT_TAG="PRODUCT_TAG",E.VARIANT="VARIANT"}(I||(I={})),function(E){E.DO_NOTHING="DO_NOTHING",E.OPEN_CART="OPEN_CART",E.OPEN_CHECKOUT="OPEN_CHECKOUT"}(_||(_={})),function(E){E.DISCOUNT_PRICE="DISCOUNT_PRICE",E.SELL_PRICE="SELL_PRICE"}(O||(O={})),function(E){E.PREVIOUS_ACCEPTED="PREVIOUS_ACCEPTED",E.PREVIOUS_REJECTED="PREVIOUS_REJECTED"}(C||(C={})),function(E){E.CHECKOUT="CHECKOUT",E.POST_CHECKOUT="POST_CHECKOUT",E.PRODUCT="PRODUCT"}(D||(D={})),function(E){E.ALL_PRODUCTS="ALL_PRODUCTS",E.CATEGORY="CATEGORY",E.MIN_CART_AMOUNT="MIN_CART_AMOUNT",E.PRODUCT="PRODUCT",E.PRODUCT_TAG="PRODUCT_TAG",E.VARIANT="VARIANT"}(N||(N={})),function(E){E.CROSS_SELL="CROSS_SELL",E.UPSELL="UPSELL"}(L||(L={})),function(E){E.BUY_X_THEN_GET_Y="BUY_X_THEN_GET_Y",E.FIXED_AMOUNT="FIXED_AMOUNT",E.FREE_SHIPPING="FREE_SHIPPING",E.RATIO="RATIO"}(S||(S={})),function(E){E.ACCEPTED="ACCEPTED",E.REJECTED="REJECTED",E.REMOVED="REMOVED",E.WAITING_FOR_ACTION="WAITING_FOR_ACTION"}(U||(U={})),function(E){E.ADMIN="ADMIN",E.CUSTOMER="CUSTOMER",E.UPSELL="UPSELL"}(P||(P={})),function(E){E.ACTIVE="ACTIVE",E.FREEZE="FREEZE",E.PASSIVE="PASSIVE"}(M||(M={})),function(E){E.COMPLETED="COMPLETED",E.FREEZE="FREEZE",E.KILLED="KILLED",E.OPEN="OPEN"}(n||(n={})),function(E){E.IN="IN",E.NOT_IN="NOT_IN"}(F||(F={})),function(E){E.CAMPAIGN="CAMPAIGN",E.CATEGORY="CATEGORY",E.CREATED_AT="CREATED_AT",E.DISCOUNTED_PRODUCTS="DISCOUNTED_PRODUCTS",E.PRICE_RANGE="PRICE_RANGE",E.PRODUCT_ATTRIBUTE="PRODUCT_ATTRIBUTE",E.PRODUCT_BRAND="PRODUCT_BRAND",E.PRODUCT_TAG="PRODUCT_TAG",E.VARIANT_VALUE="VARIANT_VALUE"}(H||(H={})),function(E){E.BEST_SELLER="BEST_SELLER",E.HIGHEST_DISCOUNT_RATIO="HIGHEST_DISCOUNT_RATIO",E.HIGHEST_PRICE="HIGHEST_PRICE",E.LOWEST_DISCOUNT_RATIO="LOWEST_DISCOUNT_RATIO",E.LOWEST_PRICE="LOWEST_PRICE",E.MANUALLY="MANUALLY",E.NEWEST="NEWEST",E.OLDEST="OLDEST"}(G||(G={})),function(E){E.NOT_SENT="NOT_SENT",E.SENT="SENT"}(Y||(Y={})),function(E){E.NOT_RECOVERED="NOT_RECOVERED",E.RECOVERED="RECOVERED"}(V||(V={})),function(E){E.INVISIBLE="INVISIBLE",E.MANDATORY="MANDATORY",E.OPTIONAL="OPTIONAL"}(B||(B={})),function(E){E.COMPLETED="COMPLETED",E.FREEZE="FREEZE",E.KILLED="KILLED",E.OPEN="OPEN"}(o||(o={})),function(E){E.INVISIBLE="INVISIBLE",E.OPTIONAL="OPTIONAL"}(c||(c={})),function(E){E.DEFAULT="DEFAULT",E.INVISIBLE="INVISIBLE",E.OPEN="OPEN"}(f||(f={})),function(E){E.LEFT="LEFT",E.RIGHT="RIGHT"}(t||(t={})),function(E){E.ACTIVE_ACCOUNT="ACTIVE_ACCOUNT",E.DECLINED_ACCOUNT_INVITATION="DECLINED_ACCOUNT_INVITATION",E.DISABLED_ACCOUNT="DISABLED_ACCOUNT",E.INVITED_TO_CREATE_ACCOUNT="INVITED_TO_CREATE_ACCOUNT"}(i||(i={})),function(E){E.INVISIBLE="INVISIBLE",E.READ="READ",E.WRITE="WRITE"}(u||(u={})),function(E){E.INVISIBLE="INVISIBLE",E.MANDATORY="MANDATORY",E.OPTIONAL="OPTIONAL"}(W||(W={})),function(E){E.BOOLEAN="BOOLEAN",E.CHOICE="CHOICE",E.DATE="DATE",E.DATETIME="DATETIME",E.MULTIPLE_CHOICE="MULTIPLE_CHOICE",E.NUMERIC="NUMERIC",E.TEXT="TEXT"}(K||(K={})),function(E){E.NOT_SUBSCRIBED="NOT_SUBSCRIBED",E.PENDING_CONFIRMATION="PENDING_CONFIRMATION",E.SUBSCRIBED="SUBSCRIBED"}(Q||(Q={})),function(E){E.CATEGORY="CATEGORY",E.PRODUCT="PRODUCT",E.PRODUCT_BRAND="PRODUCT_BRAND",E.PRODUCT_TAG="PRODUCT_TAG"}(X||(X={})),function(E){E.DISCOUNT_AMOUNT="DISCOUNT_AMOUNT",E.DISCOUNT_RATE="DISCOUNT_RATE",E.FIXED_PRICE="FIXED_PRICE"}(J||(J={})),function(E){E.apple="apple",E.credentials="credentials",E.facebook="facebook",E.google="google"}(e||(e={})),function(E){E.APPROVED="APPROVED",E.REJECTED="REJECTED",E.WAITING="WAITING"}(a||(a={})),function(E){E.facebook="facebook",E.google="google"}(g||(g={})),function(E){E.PURCHASED_TOGETHER="PURCHASED_TOGETHER",E.SAMPLING="SAMPLING",E.VIEWED_TOGETHER="VIEWED_TOGETHER"}(l||(l={})),function(E){E.BRAND="BRAND",E.CATEGORY="CATEGORY",E.PAGE="PAGE",E.PRODUCT="PRODUCT"}(Z||(Z={})),function(E){E.COMPANY="COMPANY",E.INDIVIDUAL="INDIVIDUAL",E.OTHER="OTHER"}(p||(p={})),function(E){E.DAY="DAY",E.HOUR="HOUR",E.MINUTE="MINUTE"}(b||(b={})),function(E){E.CHECK_MASTER_PASS_USER="CHECK_MASTER_PASS_USER",E.DELETE_CARD="DELETE_CARD",E.DIRECT_PURCHASE="DIRECT_PURCHASE",E.FORGOT_PASSWORD="FORGOT_PASSWORD",E.LIST_CARDS="LIST_CARDS",E.PURCHASE="PURCHASE",E.REGISTER_CARD="REGISTER_CARD"}(k||(k={})),function(E){E.CORPORATE="CORPORATE",E.INDIVIDUAL="INDIVIDUAL"}(r||(r={})),function(E){E.DECREMENT="DECREMENT",E.INCREMENT="INCREMENT"}(d||(d={})),function(E){E.AMOUNT="AMOUNT",E.RATIO="RATIO"}(s||(s={})),function(E){E.CUSTOMER="CUSTOMER",E.DECLINED="DECLINED",E.INVENTORY="INVENTORY",E.OTHER="OTHER"}(v||(v={})),function(E){E.CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.FULFILLED="FULFILLED",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNFULFILLED="UNFULFILLED"}(x||(x={})),function(E){E.CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.ERROR="ERROR",E.FULFILLED="FULFILLED",E.READY_FOR_PICK_UP="READY_FOR_PICK_UP",E.READY_FOR_SHIPMENT="READY_FOR_SHIPMENT",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNABLE_TO_DELIVER="UNABLE_TO_DELIVER"}(h||(h={})),function(E){E.CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.FULFILLED="FULFILLED",E.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",E.PARTIALLY_DELIVERED="PARTIALLY_DELIVERED",E.PARTIALLY_FULFILLED="PARTIALLY_FULFILLED",E.PARTIALLY_READY_FOR_SHIPMENT="PARTIALLY_READY_FOR_SHIPMENT",E.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",E.READY_FOR_PICK_UP="READY_FOR_PICK_UP",E.READY_FOR_SHIPMENT="READY_FOR_SHIPMENT",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNABLE_TO_DELIVER="UNABLE_TO_DELIVER",E.UNFULFILLED="UNFULFILLED"}(j||(j={})),function(E){E.PAID="PAID",E.PARTIALLY_PAID="PARTIALLY_PAID",E.WAITING="WAITING"}(m||(m={})),function(E){E.CLICK_AND_COLLECT="CLICK_AND_COLLECT",E.DIGITAL_DELIVERY="DIGITAL_DELIVERY",E.NO_SHIPMENT="NO_SHIPMENT",E.SHIPMENT="SHIPMENT"}(q||(q={})),function(E){E.CANCELLED="CANCELLED",E.CREATED="CREATED",E.DRAFT="DRAFT",E.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",E.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED"}(w||(w={})),function(E){E.DECREMENT="DECREMENT",E.INCREMENT="INCREMENT"}(y||(y={})),function(E){E.BOOLEAN="BOOLEAN",E.NUMBER="NUMBER",E.PASSWORD="PASSWORD",E.TEXT="TEXT"}(z||(z={})),function(E){E.AMOUNT="AMOUNT",E.RATIO="RATIO"}($||($={})),function(E){E.EXTERNAL="EXTERNAL",E.INTERNAL="INTERNAL",E.THIRD_PARTY="THIRD_PARTY"}(EE||(EE={})),function(E){E.APP_PAYMENT="APP_PAYMENT",E.BANK_REDIRECT="BANK_REDIRECT",E.BUY_ONLINE_PAY_AT_STORE="BUY_ONLINE_PAY_AT_STORE",E.CASH="CASH",E.CASH_ON_DELIVERY="CASH_ON_DELIVERY",E.CREDIT_CARD="CREDIT_CARD",E.CREDIT_CARD_ON_DELIVERY="CREDIT_CARD_ON_DELIVERY",E.DIRECT_DEBIT="DIRECT_DEBIT",E.GIFT_CARD="GIFT_CARD",E.MONEY_ORDER="MONEY_ORDER",E.OTHER="OTHER",E.PAY_LATER="PAY_LATER",E.SLICE_IT="SLICE_IT",E.WALLET="WALLET"}(RE||(RE={})),function(E){E.BOOLEAN="BOOLEAN",E.CHOICE="CHOICE",E.DATE="DATE",E.DATETIME="DATETIME",E.HTML="HTML",E.IMAGE="IMAGE",E.MULTIPLE_CHOICE="MULTIPLE_CHOICE",E.NUMERIC="NUMERIC",E.PRODUCT="PRODUCT",E.TABLE="TABLE",E.TEXT="TEXT"}(TE||(TE={})),function(E){E.BOX="BOX",E.DATE_RANGE="DATE_RANGE",E.LIST="LIST",E.NUMBER_RANGE="NUMBER_RANGE",E.NUMBER_RANGE_LIST="NUMBER_RANGE_LIST",E.SWATCH="SWATCH"}(AE||(AE={})),function(E){E.ALPHABETICAL_ASC="ALPHABETICAL_ASC",E.ALPHABETICAL_DESC="ALPHABETICAL_DESC",E.CUSTOM_SORT="CUSTOM_SORT",E.PRODUCT_COUNT_ASC="PRODUCT_COUNT_ASC",E.PRODUCT_COUNT_DESC="PRODUCT_COUNT_DESC"}(IE||(IE={})),function(E){E.ATTRIBUTE="ATTRIBUTE",E.AVAILABLE_VARIANT_VALUE="AVAILABLE_VARIANT_VALUE",E.BRAND="BRAND",E.DISCOUNT_RATIO="DISCOUNT_RATIO",E.PRICE="PRICE",E.STOCK_STATUS="STOCK_STATUS",E.TAG="TAG",E.VARIANT_TYPE="VARIANT_TYPE"}(_E||(_E={})),function(E){E.AMOUNT="AMOUNT",E.RATIO="RATIO"}(OE||(OE={})),function(E){E.BOX="BOX",E.SELECT="SELECT",E.SWATCH="SWATCH"}(CE||(CE={})),function(E){E.CHECKBOX="CHECKBOX",E.CHOICE="CHOICE",E.COLOR_PICKER="COLOR_PICKER",E.DATE_PICKER="DATE_PICKER",E.FILE="FILE",E.IMAGE="IMAGE",E.TEXT="TEXT",E.TEXT_AREA="TEXT_AREA"}(DE||(DE={})),function(E){E.HIDE_OUT_OF_STOCK="HIDE_OUT_OF_STOCK",E.SHOW_ALL="SHOW_ALL",E.SHOW_OUT_OF_STOCK_AT_END="SHOW_OUT_OF_STOCK_AT_END"}(NE||(NE={})),function(E){E.BUNDLE="BUNDLE",E.DIGITAL="DIGITAL",E.MEMBERSHIP="MEMBERSHIP",E.PHYSICAL="PHYSICAL",E.SUBSCRIPTION="SUBSCRIPTION"}(LE||(LE={})),function(E){E.CENTILITER="CENTILITER",E.CENTIMETER="CENTIMETER",E.CUBIC_METERS="CUBIC_METERS",E.CUSTOM="CUSTOM",E.GRAM="GRAM",E.KILOGRAM="KILOGRAM",E.LITER="LITER",E.METER="METER",E.MILLIGRAM="MILLIGRAM",E.MILLILITER="MILLILITER",E.MILLIMETER="MILLIMETER",E.SQUARE_METERS="SQUARE_METERS"}(SE||(SE={})),function(E){E.RAFFLE="RAFFLE"}(UE||(UE={})),function(E){E.COMPLETED="COMPLETED",E.IN_PROGRESS="IN_PROGRESS",E.LOSER="LOSER",E.WINNER="WINNER"}(PE||(PE={})),function(E){E.HIDDEN="HIDDEN",E.PASSIVE="PASSIVE",E.VISIBLE="VISIBLE"}(ME||(ME={})),function(E){E.ADS_OTHER="ADS_OTHER",E.AFFILIATE="AFFILIATE",E.BING_ADS="BING_ADS",E.DIRECT="DIRECT",E.DISPLAY="DISPLAY",E.EMAIL="EMAIL",E.FACEBOOK_ADS="FACEBOOK_ADS",E.GOOGLE_ADS="GOOGLE_ADS",E.INSTAGRAM_ADS="INSTAGRAM_ADS",E.ORGANIC_SEARCH="ORGANIC_SEARCH",E.OTHER="OTHER",E.PAID_TRAFFIC="PAID_TRAFFIC",E.REFERRAL="REFERRAL",E.SOCIAL="SOCIAL"}(nE||(nE={})),function(E){E.ASC="ASC",E.DESC="DESC"}(FE||(FE={})),function(E){E.AVERAGE_RATING="AVERAGE_RATING",E.CREATED_AT="CREATED_AT",E.DISCOUNT_RATIO="DISCOUNT_RATIO",E.MANUAL_SORT="MANUAL_SORT",E.NAME="NAME",E.PRICE="PRICE",E.REVIEW_COUNT="REVIEW_COUNT",E.SALE_COUNT="SALE_COUNT"}(HE||(HE={})),function(E){E.TWO_IN_FOUR_DAYS="TWO_IN_FOUR_DAYS",E.WITHIN_FOUR_HOURS="WITHIN_FOUR_HOURS",E.WITHIN_ONE_HOUR="WITHIN_ONE_HOUR",E.WITHIN_PLUS_FIVE_DAYS="WITHIN_PLUS_FIVE_DAYS",E.WITHIN_TWENTY_FOUR_HOURS="WITHIN_TWENTY_FOUR_HOURS",E.WITHIN_TWO_HOURS="WITHIN_TWO_HOURS"}(GE||(GE={})),function(E){E.PHYSICAL="PHYSICAL",E.VIRTUAL="VIRTUAL"}(YE||(YE={})),function(E){E.ALWAYS="ALWAYS",E.NEVER="NEVER",E.ONLY_TO_CUSTOMERS="ONLY_TO_CUSTOMERS"}(VE||(VE={})),function(E){E.ALWAYS="ALWAYS",E.ONLY_TO_CUSTOMERS="ONLY_TO_CUSTOMERS"}(BE||(BE={})),function(E){E.BLOG="BLOG",E.BLOG_CATEGORY="BLOG_CATEGORY",E.BRAND="BRAND",E.CATEGORY="CATEGORY",E.CUSTOM="CUSTOM",E.PRODUCT="PRODUCT"}(oE||(oE={})),function(E){E.APPROVED="APPROVED",E.MARKETING_PERMISSION="MARKETING_PERMISSION",E.REQUIRED="REQUIRED",E.SHOW="SHOW"}(cE||(cE={})),function(E){E.FAILED="FAILED",E.NOT_DEPLOYED="NOT_DEPLOYED",E.READY="READY",E.WAITING="WAITING"}(fE||(fE={})),function(E){E.FAILED="FAILED",E.NOT_DEPLOYED="NOT_DEPLOYED",E.READY="READY",E.WAITING="WAITING"}(tE||(tE={})),function(E){E.B2B_STOREFRONT="B2B_STOREFRONT",E.STOREFRONT="STOREFRONT"}(iE||(iE={})),function(E){E.ABANDONED_CHECKOUT="ABANDONED_CHECKOUT",E.CONTACT_FORM_MERCHANT="CONTACT_FORM_MERCHANT",E.CUSTOMER_ACCOUNT_INVITATION="CUSTOMER_ACCOUNT_INVITATION",E.CUSTOMER_RESET_PASSWORD="CUSTOMER_RESET_PASSWORD",E.CUSTOMER_REVIEW="CUSTOMER_REVIEW",E.CUSTOMER_REVIEW_REPLY="CUSTOMER_REVIEW_REPLY",E.CUSTOM_MAIL="CUSTOM_MAIL",E.CUSTOM_TRANSACTION_VERIFICATION="CUSTOM_TRANSACTION_VERIFICATION",E.MERCHANT_CUSTOMER_REVIEW="MERCHANT_CUSTOMER_REVIEW",E.MERCHANT_LICENCE_E_INVOICE="MERCHANT_LICENCE_E_INVOICE",E.MERCHANT_RESET_PASSWORD="MERCHANT_RESET_PASSWORD",E.MERCHANT_WELCOME="MERCHANT_WELCOME",E.MONEY_TRANSFER_REMINDER="MONEY_TRANSFER_REMINDER",E.ORDER_CANCELLED="ORDER_CANCELLED",E.ORDER_CLICK_AND_COLLECT="ORDER_CLICK_AND_COLLECT",E.ORDER_CREATED="ORDER_CREATED",E.ORDER_CREATED_MERCHANT="ORDER_CREATED_MERCHANT",E.ORDER_CREATED_MONEY_TRANSFER="ORDER_CREATED_MONEY_TRANSFER",E.ORDER_E_INVOICE="ORDER_E_INVOICE",E.ORDER_FULFILLED="ORDER_FULFILLED",E.ORDER_PACKAGE_DELIVERED="ORDER_PACKAGE_DELIVERED",E.ORDER_READY_FOR_PICK_UP="ORDER_READY_FOR_PICK_UP",E.ORDER_READY_FOR_SHIPMENT="ORDER_READY_FOR_SHIPMENT",E.ORDER_REFUNDED="ORDER_REFUNDED",E.ORDER_REFUND_REQUEST="ORDER_REFUND_REQUEST",E.ORDER_REFUND_REQUEST_APPROVE="ORDER_REFUND_REQUEST_APPROVE",E.ORDER_REFUND_REQUEST_MERCHANT="ORDER_REFUND_REQUEST_MERCHANT",E.ORDER_REFUND_REQUEST_REJECT="ORDER_REFUND_REQUEST_REJECT",E.PARTNER_MERCHANT_OPEN="PARTNER_MERCHANT_OPEN",E.PARTNER_STAFF_INVITE="PARTNER_STAFF_INVITE",E.PRODUCT_BACK_IN_STOCK_REMINDER="PRODUCT_BACK_IN_STOCK_REMINDER",E.PRODUCT_OUT_OF_STOCK_REMINDER="PRODUCT_OUT_OF_STOCK_REMINDER",E.RAFFLE_PARTICIPANT_CREATED="RAFFLE_PARTICIPANT_CREATED",E.RAFFLE_PARTICIPANT_WINNER="RAFFLE_PARTICIPANT_WINNER",E.STAFF_INVITE="STAFF_INVITE",E.UPDATE_TRACKING_INFO="UPDATE_TRACKING_INFO",E.WELCOME="WELCOME",E.WRONG_EXCEL_IMPORT="WRONG_EXCEL_IMPORT"}(uE||(uE={})),function(E){E.AMERICAN_EXPRESS="AMERICAN_EXPRESS",E.MASTER_CARD="MASTER_CARD",E.TROY="TROY",E.VISA="VISA"}(WE||(WE={})),function(E){E.CREDIT="CREDIT",E.DEBIT="DEBIT",E.PREPAID="PREPAID"}(KE||(KE={})),function(E){E.GATEWAY="GATEWAY",E.INSTALLMENT="INSTALLMENT"}(QE||(QE={})),function(E){E.CHECKOUT="CHECKOUT",E.ORDER="ORDER"}(XE||(XE={})),function(E){E.AUTHORIZED="AUTHORIZED",E.FAILED="FAILED",E.PENDING="PENDING",E.SUCCESS="SUCCESS"}(JE||(JE={})),function(E){E.REFUND="REFUND",E.SALE="SALE",E.VOID="VOID"}(eE||(eE={})),function(E){E.CAMERA="CAMERA",E.CAR="CAR",E.CONSOLE="CONSOLE",E.DESKTOP="DESKTOP",E.FEATURE_PHONE="FEATURE_PHONE",E.OTHER="OTHER",E.PERIPHERAL="PERIPHERAL",E.PHABLET="PHABLET",E.PORTABLE_MEDIA_PLAYER="PORTABLE_MEDIA_PLAYER",E.SMARTPHONE="SMARTPHONE",E.SMART_DISPLAY="SMART_DISPLAY",E.SMART_SPEAKER="SMART_SPEAKER",E.TABLET="TABLET",E.TELEVISION="TELEVISION",E.WEARABLE="WEARABLE"}(aE||(aE={})),function(E){E.CHOICE="CHOICE",E.COLOR="COLOR"}(gE||(gE={})),function(E){E.EMAIL="EMAIL",E.MERSIS="MERSIS"}(lE||(lE={})),function(E){E.ALL="ALL",E.DESKTOP="DESKTOP",E.MOBILE="MOBILE"}(ZE||(ZE={})),function(E){E.CART_TOTAL="CART_TOTAL",E.CUSTOMER_SEGMENT="CUSTOMER_SEGMENT"}(pE||(pE={})),function(E){E.EVERY_TIME="EVERY_TIME",E.ONCE_PER_SESSION="ONCE_PER_SESSION"}(bE||(bE={})),function(E){E.EXIT_INTENT="EXIT_INTENT",E.ON_PAGE_LOAD="ON_PAGE_LOAD",E.SCROLL_DOWN="SCROLL_DOWN"}(kE||(kE={})),function(E){E.CONTAINS="CONTAINS",E.DOES_NOT_CONTAIN="DOES_NOT_CONTAIN",E.EXACT_MATCH="EXACT_MATCH",E.ID_LIST="ID_LIST"}(rE||(rE={})),function(E){E.ACCOUNT="ACCOUNT",E.CART="CART",E.CATEGORY="CATEGORY",E.CUSTOM="CUSTOM",E.HOME="HOME",E.LOGIN="LOGIN",E.PRODUCT="PRODUCT",E.PRODUCT_BRAND="PRODUCT_BRAND",E.REGISTER="REGISTER"}(dE||(dE={})),function(E){E.ACTIVE="ACTIVE",E.DRAFT="DRAFT",E.PASSIVE="PASSIVE"}(sE||(sE={})),function(E){E.FORM="FORM",E.NOTIFICATION="NOTIFICATION",E.NOTIFICATION_BAR="NOTIFICATION_BAR",E.PAGE_OVERLAY="PAGE_OVERLAY",E.POPUP="POPUP"}(vE||(vE={})),function(E){E.FEMALE="FEMALE",E.MALE="MALE",E.OTHER="OTHER"}(xE||(xE={}));export{E as AbandonedCartSettingsNotificationTypeEnum,R as BlogMetadataTargetTypeEnum,T as CampaignApplicablePriceEnum,A as CampaignCreatedForEnum,I as CampaignFilterTypeEnum,_ as CampaignOfferFollowUpActionTypeEnum,O as CampaignOfferProductApplicablePriceEnum,C as CampaignOfferProductShowCriteriaEnum,D as CampaignOfferTargetPageTypeEnum,N as CampaignOfferTriggerFilterTypeEnum,L as CampaignOfferTypeEnum,S as CampaignTypeEnum,U as CartCampaignOfferStatus,P as CartCreatedByEnum,M as CartStatusEnum,n as CartV2StatusEnum,F as CategoryConditionMethodEnum,H as CategoryConditionTypeEnum,G as CategoryProductsOrderTypeEnum,Y as CheckoutRecoveryEmailStatusEnum,V as CheckoutRecoveryStatusEnum,B as CheckoutRequirementEnum,o as CheckoutStatusEnum,c as CorporateInvoiceRequirementEnum,f as CouponCodeRequirementEnum,t as CurrencyFormatSymbolPosition,i as CustomerAccountStatusEnum,u as CustomerAttributePermissionEnum,W as CustomerAttributeRegisterPageRequirementEnum,K as CustomerAttributeTypeEnum,Q as CustomerEmailSubscriptionStatusesEnum,xE as CustomerGenderTypeEnum,X as CustomerPriceListRuleFilterTypeEnum,J as CustomerPriceListRuleValueTypeEnum,e as CustomerRegistrationSourceEnum,a as CustomerReviewStatusEnum,g as CustomerSocialLoginProviderEnum,l as GetSuggestedProductsMethodEnum,Z as HTMLMetaDataTargetTypeEnum,p as InvoiceTypeEnum,b as LocalDeliverySettingsDeliveryTimeType,k as MasterPassOperationTypeEnum,r as MerchantSettingsAddressTypeEnum,d as OrderAdjustmentEnum,s as OrderAmountTypeEnum,v as OrderCancelledReasonEnum,x as OrderLineItemStatusEnum,h as OrderPackageFulfillStatusEnum,j as OrderPackageStatusEnum,m as OrderPaymentStatusEnum,q as OrderShippingMethodEnum,w as OrderStatusEnum,y as PaymentGatewayAdditionalPriceTypeEnum,z as PaymentGatewaySettingsTypeEnum,$ as PaymentGatewayTransactionFeeTypeEnum,EE as PaymentGatewayTypeEnum,RE as PaymentMethodTypeEnum,TE as ProductAttributeTypeEnum,AE as ProductFilterDisplayTypeEnum,IE as ProductFilterSortTypeEnum,_E as ProductFilterTypeEnum,OE as ProductOptionPriceTypeEnum,CE as ProductOptionSelectTypeEnum,DE as ProductOptionTypeEnum,NE as ProductSearchShowStockOptionEnum,LE as ProductTypeEnum,SE as ProductUnitTypeEnum,UE as RaffleMetadataTargetTypeEnum,PE as RaffleParticipantStatusEnum,nE as SFAnalyticsTrafficSourceEnum,ME as SalesChannelStatusEnum,FE as SortByDirectionEnum,HE as SortByTypeEnum,GE as StockLocationDeliveryTimeEnum,YE as StockLocationTypeEnum,VE as StorefrontB2BShowPricesEnum,BE as StorefrontB2BShowProductsEnum,oE as StorefrontPageTypesEnum,ZE as StorefrontPopupDeviceTypeEnum,pE as StorefrontPopupDisplayFilterTypeEnum,bE as StorefrontPopupDisplayFrequencyEnum,kE as StorefrontPopupDisplayTriggerTypeEnum,rE as StorefrontPopupPageFilterDataTypeEnum,dE as StorefrontPopupPageFilterTypeEnum,sE as StorefrontPopupStatusEnum,vE as StorefrontPopupTypeEnum,cE as StorefrontRegisterSettingsCheckboxType,fE as StorefrontStatusTypes,tE as StorefrontThemeStatus,iE as StorefrontTypeEnum,uE as TemplateEnum,WE as TransactionCardAssociationEnum,KE as TransactionCardTypeEnum,QE as TransactionFeeSourceEnum,XE as TransactionSourceEnum,JE as TransactionStatusEnum,eE as TransactionTypeEnum,aE as UserAgentDeviceType,gE as VariantSelectionTypeEnum,lE as VerificationTypeEnum};
1
+ var E,R,T,A,I,_,O,C,D,N,L,S,U,P,M,n,F,H,G,Y,V,B,o,c,f,t,i,u,W,K,Q,X,J,e,a,g,l,Z,p,b,k,r,d,s,v,x,h,j,m,q,w,y,z,$,EE,RE,TE,AE,IE,_E,OE,CE,DE,NE,LE,SE,UE,PE,ME,nE,FE,HE,GE,YE,VE,BE,oE,cE,fE,tE,iE,uE,WE,KE,QE,XE,JE,eE,aE,gE,lE,ZE,pE,bE,kE,rE,dE,sE,vE,xE;!function(E){E.EMAIL="EMAIL",E.SMS="SMS"}(E||(E={})),function(E){E.BLOG="BLOG",E.BLOG_CATEGORY="BLOG_CATEGORY"}(R||(R={})),function(E){E.DISCOUNT_PRICE="DISCOUNT_PRICE",E.SELL_PRICE="SELL_PRICE"}(T||(T={})),function(E){E.ABANDONED_CHECKOUT="ABANDONED_CHECKOUT",E.CART="CART",E.CUSTOMER_REVIEW="CUSTOMER_REVIEW"}(A||(A={})),function(E){E.CATEGORY="CATEGORY",E.PRODUCT="PRODUCT",E.PRODUCT_BRAND="PRODUCT_BRAND",E.PRODUCT_TAG="PRODUCT_TAG",E.VARIANT="VARIANT"}(I||(I={})),function(E){E.DO_NOTHING="DO_NOTHING",E.OPEN_CART="OPEN_CART",E.OPEN_CHECKOUT="OPEN_CHECKOUT"}(_||(_={})),function(E){E.DISCOUNT_PRICE="DISCOUNT_PRICE",E.SELL_PRICE="SELL_PRICE"}(O||(O={})),function(E){E.PREVIOUS_ACCEPTED="PREVIOUS_ACCEPTED",E.PREVIOUS_REJECTED="PREVIOUS_REJECTED"}(C||(C={})),function(E){E.CHECKOUT="CHECKOUT",E.POST_CHECKOUT="POST_CHECKOUT",E.PRODUCT="PRODUCT"}(D||(D={})),function(E){E.ALL_PRODUCTS="ALL_PRODUCTS",E.CATEGORY="CATEGORY",E.MIN_CART_AMOUNT="MIN_CART_AMOUNT",E.PRODUCT="PRODUCT",E.PRODUCT_TAG="PRODUCT_TAG",E.VARIANT="VARIANT"}(N||(N={})),function(E){E.CROSS_SELL="CROSS_SELL",E.UPSELL="UPSELL"}(L||(L={})),function(E){E.BUY_X_THEN_GET_Y="BUY_X_THEN_GET_Y",E.FIXED_AMOUNT="FIXED_AMOUNT",E.FREE_SHIPPING="FREE_SHIPPING",E.RATIO="RATIO"}(S||(S={})),function(E){E.ACCEPTED="ACCEPTED",E.REJECTED="REJECTED",E.REMOVED="REMOVED",E.WAITING_FOR_ACTION="WAITING_FOR_ACTION"}(U||(U={})),function(E){E.ADMIN="ADMIN",E.CUSTOMER="CUSTOMER",E.UPSELL="UPSELL"}(P||(P={})),function(E){E.ACTIVE="ACTIVE",E.FREEZE="FREEZE",E.PASSIVE="PASSIVE"}(M||(M={})),function(E){E.COMPLETED="COMPLETED",E.FREEZE="FREEZE",E.KILLED="KILLED",E.OPEN="OPEN"}(n||(n={})),function(E){E.IN="IN",E.NOT_IN="NOT_IN"}(F||(F={})),function(E){E.CAMPAIGN="CAMPAIGN",E.CATEGORY="CATEGORY",E.CREATED_AT="CREATED_AT",E.DISCOUNTED_PRODUCTS="DISCOUNTED_PRODUCTS",E.PRICE_RANGE="PRICE_RANGE",E.PRODUCT_ATTRIBUTE="PRODUCT_ATTRIBUTE",E.PRODUCT_BRAND="PRODUCT_BRAND",E.PRODUCT_TAG="PRODUCT_TAG",E.VARIANT_VALUE="VARIANT_VALUE"}(H||(H={})),function(E){E.BEST_SELLER="BEST_SELLER",E.HIGHEST_DISCOUNT_RATIO="HIGHEST_DISCOUNT_RATIO",E.HIGHEST_PRICE="HIGHEST_PRICE",E.LOWEST_DISCOUNT_RATIO="LOWEST_DISCOUNT_RATIO",E.LOWEST_PRICE="LOWEST_PRICE",E.MANUALLY="MANUALLY",E.NEWEST="NEWEST",E.OLDEST="OLDEST"}(G||(G={})),function(E){E.NOT_SENT="NOT_SENT",E.SENT="SENT"}(Y||(Y={})),function(E){E.NOT_RECOVERED="NOT_RECOVERED",E.RECOVERED="RECOVERED"}(V||(V={})),function(E){E.INVISIBLE="INVISIBLE",E.MANDATORY="MANDATORY",E.OPTIONAL="OPTIONAL"}(B||(B={})),function(E){E.COMPLETED="COMPLETED",E.FREEZE="FREEZE",E.KILLED="KILLED",E.OPEN="OPEN"}(o||(o={})),function(E){E.INVISIBLE="INVISIBLE",E.OPTIONAL="OPTIONAL"}(c||(c={})),function(E){E.DEFAULT="DEFAULT",E.INVISIBLE="INVISIBLE",E.OPEN="OPEN"}(f||(f={})),function(E){E.LEFT="LEFT",E.RIGHT="RIGHT"}(t||(t={})),function(E){E.ACTIVE_ACCOUNT="ACTIVE_ACCOUNT",E.DECLINED_ACCOUNT_INVITATION="DECLINED_ACCOUNT_INVITATION",E.DISABLED_ACCOUNT="DISABLED_ACCOUNT",E.INVITED_TO_CREATE_ACCOUNT="INVITED_TO_CREATE_ACCOUNT"}(i||(i={})),function(E){E.INVISIBLE="INVISIBLE",E.READ="READ",E.WRITE="WRITE"}(u||(u={})),function(E){E.INVISIBLE="INVISIBLE",E.MANDATORY="MANDATORY",E.OPTIONAL="OPTIONAL"}(W||(W={})),function(E){E.BOOLEAN="BOOLEAN",E.CHOICE="CHOICE",E.DATE="DATE",E.DATETIME="DATETIME",E.MULTIPLE_CHOICE="MULTIPLE_CHOICE",E.NUMERIC="NUMERIC",E.TEXT="TEXT"}(K||(K={})),function(E){E.NOT_SUBSCRIBED="NOT_SUBSCRIBED",E.PENDING_CONFIRMATION="PENDING_CONFIRMATION",E.SUBSCRIBED="SUBSCRIBED"}(Q||(Q={})),function(E){E.FEMALE="FEMALE",E.MALE="MALE",E.OTHER="OTHER"}(X||(X={})),function(E){E.CATEGORY="CATEGORY",E.PRODUCT="PRODUCT",E.PRODUCT_BRAND="PRODUCT_BRAND",E.PRODUCT_TAG="PRODUCT_TAG"}(J||(J={})),function(E){E.DISCOUNT_AMOUNT="DISCOUNT_AMOUNT",E.DISCOUNT_RATE="DISCOUNT_RATE",E.FIXED_PRICE="FIXED_PRICE"}(e||(e={})),function(E){E.apple="apple",E.credentials="credentials",E.facebook="facebook",E.google="google"}(a||(a={})),function(E){E.APPROVED="APPROVED",E.REJECTED="REJECTED",E.WAITING="WAITING"}(g||(g={})),function(E){E.facebook="facebook",E.google="google"}(l||(l={})),function(E){E.PURCHASED_TOGETHER="PURCHASED_TOGETHER",E.SAMPLING="SAMPLING",E.VIEWED_TOGETHER="VIEWED_TOGETHER"}(Z||(Z={})),function(E){E.BRAND="BRAND",E.CATEGORY="CATEGORY",E.PAGE="PAGE",E.PRODUCT="PRODUCT"}(p||(p={})),function(E){E.COMPANY="COMPANY",E.INDIVIDUAL="INDIVIDUAL",E.OTHER="OTHER"}(b||(b={})),function(E){E.DAY="DAY",E.HOUR="HOUR",E.MINUTE="MINUTE"}(k||(k={})),function(E){E.CHECK_MASTER_PASS_USER="CHECK_MASTER_PASS_USER",E.DELETE_CARD="DELETE_CARD",E.DIRECT_PURCHASE="DIRECT_PURCHASE",E.FORGOT_PASSWORD="FORGOT_PASSWORD",E.LIST_CARDS="LIST_CARDS",E.PURCHASE="PURCHASE",E.REGISTER_CARD="REGISTER_CARD"}(r||(r={})),function(E){E.CORPORATE="CORPORATE",E.INDIVIDUAL="INDIVIDUAL"}(d||(d={})),function(E){E.DECREMENT="DECREMENT",E.INCREMENT="INCREMENT"}(s||(s={})),function(E){E.AMOUNT="AMOUNT",E.RATIO="RATIO"}(v||(v={})),function(E){E.CUSTOMER="CUSTOMER",E.DECLINED="DECLINED",E.INVENTORY="INVENTORY",E.OTHER="OTHER"}(x||(x={})),function(E){E.CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.FULFILLED="FULFILLED",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNFULFILLED="UNFULFILLED"}(h||(h={})),function(E){E.CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.ERROR="ERROR",E.FULFILLED="FULFILLED",E.READY_FOR_PICK_UP="READY_FOR_PICK_UP",E.READY_FOR_SHIPMENT="READY_FOR_SHIPMENT",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNABLE_TO_DELIVER="UNABLE_TO_DELIVER"}(j||(j={})),function(E){E.CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.FULFILLED="FULFILLED",E.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",E.PARTIALLY_DELIVERED="PARTIALLY_DELIVERED",E.PARTIALLY_FULFILLED="PARTIALLY_FULFILLED",E.PARTIALLY_READY_FOR_SHIPMENT="PARTIALLY_READY_FOR_SHIPMENT",E.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",E.READY_FOR_PICK_UP="READY_FOR_PICK_UP",E.READY_FOR_SHIPMENT="READY_FOR_SHIPMENT",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNABLE_TO_DELIVER="UNABLE_TO_DELIVER",E.UNFULFILLED="UNFULFILLED"}(m||(m={})),function(E){E.PAID="PAID",E.PARTIALLY_PAID="PARTIALLY_PAID",E.WAITING="WAITING"}(q||(q={})),function(E){E.CLICK_AND_COLLECT="CLICK_AND_COLLECT",E.DIGITAL_DELIVERY="DIGITAL_DELIVERY",E.NO_SHIPMENT="NO_SHIPMENT",E.SHIPMENT="SHIPMENT"}(w||(w={})),function(E){E.CANCELLED="CANCELLED",E.CREATED="CREATED",E.DRAFT="DRAFT",E.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",E.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED"}(y||(y={})),function(E){E.DECREMENT="DECREMENT",E.INCREMENT="INCREMENT"}(z||(z={})),function(E){E.BOOLEAN="BOOLEAN",E.NUMBER="NUMBER",E.PASSWORD="PASSWORD",E.TEXT="TEXT"}($||($={})),function(E){E.AMOUNT="AMOUNT",E.RATIO="RATIO"}(EE||(EE={})),function(E){E.EXTERNAL="EXTERNAL",E.INTERNAL="INTERNAL",E.THIRD_PARTY="THIRD_PARTY"}(RE||(RE={})),function(E){E.APP_PAYMENT="APP_PAYMENT",E.BANK_REDIRECT="BANK_REDIRECT",E.BUY_ONLINE_PAY_AT_STORE="BUY_ONLINE_PAY_AT_STORE",E.CASH="CASH",E.CASH_ON_DELIVERY="CASH_ON_DELIVERY",E.CREDIT_CARD="CREDIT_CARD",E.CREDIT_CARD_ON_DELIVERY="CREDIT_CARD_ON_DELIVERY",E.DIRECT_DEBIT="DIRECT_DEBIT",E.GIFT_CARD="GIFT_CARD",E.MONEY_ORDER="MONEY_ORDER",E.OTHER="OTHER",E.PAY_LATER="PAY_LATER",E.SLICE_IT="SLICE_IT",E.WALLET="WALLET"}(TE||(TE={})),function(E){E.BOOLEAN="BOOLEAN",E.CHOICE="CHOICE",E.DATE="DATE",E.DATETIME="DATETIME",E.HTML="HTML",E.IMAGE="IMAGE",E.MULTIPLE_CHOICE="MULTIPLE_CHOICE",E.NUMERIC="NUMERIC",E.PRODUCT="PRODUCT",E.TABLE="TABLE",E.TEXT="TEXT"}(AE||(AE={})),function(E){E.BOX="BOX",E.DATE_RANGE="DATE_RANGE",E.LIST="LIST",E.NUMBER_RANGE="NUMBER_RANGE",E.NUMBER_RANGE_LIST="NUMBER_RANGE_LIST",E.SWATCH="SWATCH"}(IE||(IE={})),function(E){E.ALPHABETICAL_ASC="ALPHABETICAL_ASC",E.ALPHABETICAL_DESC="ALPHABETICAL_DESC",E.CUSTOM_SORT="CUSTOM_SORT",E.PRODUCT_COUNT_ASC="PRODUCT_COUNT_ASC",E.PRODUCT_COUNT_DESC="PRODUCT_COUNT_DESC"}(_E||(_E={})),function(E){E.ATTRIBUTE="ATTRIBUTE",E.AVAILABLE_VARIANT_VALUE="AVAILABLE_VARIANT_VALUE",E.BRAND="BRAND",E.DISCOUNT_RATIO="DISCOUNT_RATIO",E.PRICE="PRICE",E.STOCK_STATUS="STOCK_STATUS",E.TAG="TAG",E.VARIANT_TYPE="VARIANT_TYPE"}(OE||(OE={})),function(E){E.AMOUNT="AMOUNT",E.RATIO="RATIO"}(CE||(CE={})),function(E){E.BOX="BOX",E.SELECT="SELECT",E.SWATCH="SWATCH"}(DE||(DE={})),function(E){E.CHECKBOX="CHECKBOX",E.CHOICE="CHOICE",E.COLOR_PICKER="COLOR_PICKER",E.DATE_PICKER="DATE_PICKER",E.FILE="FILE",E.IMAGE="IMAGE",E.TEXT="TEXT",E.TEXT_AREA="TEXT_AREA"}(NE||(NE={})),function(E){E.HIDE_OUT_OF_STOCK="HIDE_OUT_OF_STOCK",E.SHOW_ALL="SHOW_ALL",E.SHOW_OUT_OF_STOCK_AT_END="SHOW_OUT_OF_STOCK_AT_END"}(LE||(LE={})),function(E){E.BUNDLE="BUNDLE",E.DIGITAL="DIGITAL",E.MEMBERSHIP="MEMBERSHIP",E.PHYSICAL="PHYSICAL",E.SUBSCRIPTION="SUBSCRIPTION"}(SE||(SE={})),function(E){E.CENTILITER="CENTILITER",E.CENTIMETER="CENTIMETER",E.CUBIC_METERS="CUBIC_METERS",E.CUSTOM="CUSTOM",E.GRAM="GRAM",E.KILOGRAM="KILOGRAM",E.LITER="LITER",E.METER="METER",E.MILLIGRAM="MILLIGRAM",E.MILLILITER="MILLILITER",E.MILLIMETER="MILLIMETER",E.SQUARE_METERS="SQUARE_METERS"}(UE||(UE={})),function(E){E.RAFFLE="RAFFLE"}(PE||(PE={})),function(E){E.COMPLETED="COMPLETED",E.IN_PROGRESS="IN_PROGRESS",E.LOSER="LOSER",E.WINNER="WINNER"}(ME||(ME={})),function(E){E.HIDDEN="HIDDEN",E.PASSIVE="PASSIVE",E.VISIBLE="VISIBLE"}(nE||(nE={})),function(E){E.ADS_OTHER="ADS_OTHER",E.AFFILIATE="AFFILIATE",E.BING_ADS="BING_ADS",E.DIRECT="DIRECT",E.DISPLAY="DISPLAY",E.EMAIL="EMAIL",E.FACEBOOK_ADS="FACEBOOK_ADS",E.GOOGLE_ADS="GOOGLE_ADS",E.INSTAGRAM_ADS="INSTAGRAM_ADS",E.ORGANIC_SEARCH="ORGANIC_SEARCH",E.OTHER="OTHER",E.PAID_TRAFFIC="PAID_TRAFFIC",E.REFERRAL="REFERRAL",E.SOCIAL="SOCIAL"}(FE||(FE={})),function(E){E.ASC="ASC",E.DESC="DESC"}(HE||(HE={})),function(E){E.AVERAGE_RATING="AVERAGE_RATING",E.CREATED_AT="CREATED_AT",E.DISCOUNT_RATIO="DISCOUNT_RATIO",E.MANUAL_SORT="MANUAL_SORT",E.NAME="NAME",E.PRICE="PRICE",E.REVIEW_COUNT="REVIEW_COUNT",E.SALE_COUNT="SALE_COUNT"}(GE||(GE={})),function(E){E.TWO_IN_FOUR_DAYS="TWO_IN_FOUR_DAYS",E.WITHIN_FOUR_HOURS="WITHIN_FOUR_HOURS",E.WITHIN_ONE_HOUR="WITHIN_ONE_HOUR",E.WITHIN_PLUS_FIVE_DAYS="WITHIN_PLUS_FIVE_DAYS",E.WITHIN_TWENTY_FOUR_HOURS="WITHIN_TWENTY_FOUR_HOURS",E.WITHIN_TWO_HOURS="WITHIN_TWO_HOURS"}(YE||(YE={})),function(E){E.PHYSICAL="PHYSICAL",E.VIRTUAL="VIRTUAL"}(VE||(VE={})),function(E){E.ALWAYS="ALWAYS",E.NEVER="NEVER",E.ONLY_TO_CUSTOMERS="ONLY_TO_CUSTOMERS"}(BE||(BE={})),function(E){E.ALWAYS="ALWAYS",E.ONLY_TO_CUSTOMERS="ONLY_TO_CUSTOMERS"}(oE||(oE={})),function(E){E.BLOG="BLOG",E.BLOG_CATEGORY="BLOG_CATEGORY",E.BRAND="BRAND",E.CATEGORY="CATEGORY",E.CUSTOM="CUSTOM",E.PRODUCT="PRODUCT"}(cE||(cE={})),function(E){E.APPROVED="APPROVED",E.MARKETING_PERMISSION="MARKETING_PERMISSION",E.REQUIRED="REQUIRED",E.SHOW="SHOW"}(fE||(fE={})),function(E){E.FAILED="FAILED",E.NOT_DEPLOYED="NOT_DEPLOYED",E.READY="READY",E.WAITING="WAITING"}(tE||(tE={})),function(E){E.FAILED="FAILED",E.NOT_DEPLOYED="NOT_DEPLOYED",E.READY="READY",E.WAITING="WAITING"}(iE||(iE={})),function(E){E.B2B_STOREFRONT="B2B_STOREFRONT",E.STOREFRONT="STOREFRONT"}(uE||(uE={})),function(E){E.ABANDONED_CHECKOUT="ABANDONED_CHECKOUT",E.CONTACT_FORM_MERCHANT="CONTACT_FORM_MERCHANT",E.CUSTOMER_ACCOUNT_INVITATION="CUSTOMER_ACCOUNT_INVITATION",E.CUSTOMER_RESET_PASSWORD="CUSTOMER_RESET_PASSWORD",E.CUSTOMER_REVIEW="CUSTOMER_REVIEW",E.CUSTOMER_REVIEW_REPLY="CUSTOMER_REVIEW_REPLY",E.CUSTOM_MAIL="CUSTOM_MAIL",E.CUSTOM_TRANSACTION_VERIFICATION="CUSTOM_TRANSACTION_VERIFICATION",E.MERCHANT_CUSTOMER_REVIEW="MERCHANT_CUSTOMER_REVIEW",E.MERCHANT_LICENCE_E_INVOICE="MERCHANT_LICENCE_E_INVOICE",E.MERCHANT_RESET_PASSWORD="MERCHANT_RESET_PASSWORD",E.MERCHANT_WELCOME="MERCHANT_WELCOME",E.MONEY_TRANSFER_REMINDER="MONEY_TRANSFER_REMINDER",E.ORDER_CANCELLED="ORDER_CANCELLED",E.ORDER_CLICK_AND_COLLECT="ORDER_CLICK_AND_COLLECT",E.ORDER_CREATED="ORDER_CREATED",E.ORDER_CREATED_MERCHANT="ORDER_CREATED_MERCHANT",E.ORDER_CREATED_MONEY_TRANSFER="ORDER_CREATED_MONEY_TRANSFER",E.ORDER_E_INVOICE="ORDER_E_INVOICE",E.ORDER_FULFILLED="ORDER_FULFILLED",E.ORDER_PACKAGE_DELIVERED="ORDER_PACKAGE_DELIVERED",E.ORDER_READY_FOR_PICK_UP="ORDER_READY_FOR_PICK_UP",E.ORDER_READY_FOR_SHIPMENT="ORDER_READY_FOR_SHIPMENT",E.ORDER_REFUNDED="ORDER_REFUNDED",E.ORDER_REFUND_REQUEST="ORDER_REFUND_REQUEST",E.ORDER_REFUND_REQUEST_APPROVE="ORDER_REFUND_REQUEST_APPROVE",E.ORDER_REFUND_REQUEST_MERCHANT="ORDER_REFUND_REQUEST_MERCHANT",E.ORDER_REFUND_REQUEST_REJECT="ORDER_REFUND_REQUEST_REJECT",E.PARTNER_MERCHANT_OPEN="PARTNER_MERCHANT_OPEN",E.PARTNER_STAFF_INVITE="PARTNER_STAFF_INVITE",E.PRODUCT_BACK_IN_STOCK_REMINDER="PRODUCT_BACK_IN_STOCK_REMINDER",E.PRODUCT_OUT_OF_STOCK_REMINDER="PRODUCT_OUT_OF_STOCK_REMINDER",E.RAFFLE_PARTICIPANT_CREATED="RAFFLE_PARTICIPANT_CREATED",E.RAFFLE_PARTICIPANT_WINNER="RAFFLE_PARTICIPANT_WINNER",E.STAFF_INVITE="STAFF_INVITE",E.UPDATE_TRACKING_INFO="UPDATE_TRACKING_INFO",E.WELCOME="WELCOME",E.WRONG_EXCEL_IMPORT="WRONG_EXCEL_IMPORT"}(WE||(WE={})),function(E){E.AMERICAN_EXPRESS="AMERICAN_EXPRESS",E.MASTER_CARD="MASTER_CARD",E.TROY="TROY",E.VISA="VISA"}(KE||(KE={})),function(E){E.CREDIT="CREDIT",E.DEBIT="DEBIT",E.PREPAID="PREPAID"}(QE||(QE={})),function(E){E.GATEWAY="GATEWAY",E.INSTALLMENT="INSTALLMENT"}(XE||(XE={})),function(E){E.CHECKOUT="CHECKOUT",E.ORDER="ORDER"}(JE||(JE={})),function(E){E.AUTHORIZED="AUTHORIZED",E.FAILED="FAILED",E.PENDING="PENDING",E.SUCCESS="SUCCESS"}(eE||(eE={})),function(E){E.REFUND="REFUND",E.SALE="SALE",E.VOID="VOID"}(aE||(aE={})),function(E){E.CAMERA="CAMERA",E.CAR="CAR",E.CONSOLE="CONSOLE",E.DESKTOP="DESKTOP",E.FEATURE_PHONE="FEATURE_PHONE",E.OTHER="OTHER",E.PERIPHERAL="PERIPHERAL",E.PHABLET="PHABLET",E.PORTABLE_MEDIA_PLAYER="PORTABLE_MEDIA_PLAYER",E.SMARTPHONE="SMARTPHONE",E.SMART_DISPLAY="SMART_DISPLAY",E.SMART_SPEAKER="SMART_SPEAKER",E.TABLET="TABLET",E.TELEVISION="TELEVISION",E.WEARABLE="WEARABLE"}(gE||(gE={})),function(E){E.CHOICE="CHOICE",E.COLOR="COLOR"}(lE||(lE={})),function(E){E.EMAIL="EMAIL",E.MERSIS="MERSIS"}(ZE||(ZE={})),function(E){E.ALL="ALL",E.DESKTOP="DESKTOP",E.MOBILE="MOBILE"}(pE||(pE={})),function(E){E.CART_TOTAL="CART_TOTAL",E.CUSTOMER_SEGMENT="CUSTOMER_SEGMENT"}(bE||(bE={})),function(E){E.EVERY_TIME="EVERY_TIME",E.ONCE_PER_SESSION="ONCE_PER_SESSION"}(kE||(kE={})),function(E){E.EXIT_INTENT="EXIT_INTENT",E.ON_PAGE_LOAD="ON_PAGE_LOAD",E.SCROLL_DOWN="SCROLL_DOWN"}(rE||(rE={})),function(E){E.CONTAINS="CONTAINS",E.DOES_NOT_CONTAIN="DOES_NOT_CONTAIN",E.EXACT_MATCH="EXACT_MATCH",E.ID_LIST="ID_LIST"}(dE||(dE={})),function(E){E.ACCOUNT="ACCOUNT",E.CART="CART",E.CATEGORY="CATEGORY",E.CUSTOM="CUSTOM",E.HOME="HOME",E.LOGIN="LOGIN",E.PRODUCT="PRODUCT",E.PRODUCT_BRAND="PRODUCT_BRAND",E.REGISTER="REGISTER"}(sE||(sE={})),function(E){E.ACTIVE="ACTIVE",E.DRAFT="DRAFT",E.PASSIVE="PASSIVE"}(vE||(vE={})),function(E){E.FORM="FORM",E.NOTIFICATION="NOTIFICATION",E.NOTIFICATION_BAR="NOTIFICATION_BAR",E.PAGE_OVERLAY="PAGE_OVERLAY",E.POPUP="POPUP"}(xE||(xE={}));export{E as AbandonedCartSettingsNotificationTypeEnum,R as BlogMetadataTargetTypeEnum,T as CampaignApplicablePriceEnum,A as CampaignCreatedForEnum,I as CampaignFilterTypeEnum,_ as CampaignOfferFollowUpActionTypeEnum,O as CampaignOfferProductApplicablePriceEnum,C as CampaignOfferProductShowCriteriaEnum,D as CampaignOfferTargetPageTypeEnum,N as CampaignOfferTriggerFilterTypeEnum,L as CampaignOfferTypeEnum,S as CampaignTypeEnum,U as CartCampaignOfferStatus,P as CartCreatedByEnum,M as CartStatusEnum,n as CartV2StatusEnum,F as CategoryConditionMethodEnum,H as CategoryConditionTypeEnum,G as CategoryProductsOrderTypeEnum,Y as CheckoutRecoveryEmailStatusEnum,V as CheckoutRecoveryStatusEnum,B as CheckoutRequirementEnum,o as CheckoutStatusEnum,c as CorporateInvoiceRequirementEnum,f as CouponCodeRequirementEnum,t as CurrencyFormatSymbolPosition,i as CustomerAccountStatusEnum,u as CustomerAttributePermissionEnum,W as CustomerAttributeRegisterPageRequirementEnum,K as CustomerAttributeTypeEnum,Q as CustomerEmailSubscriptionStatusesEnum,X as CustomerGenderTypeEnum,J as CustomerPriceListRuleFilterTypeEnum,e as CustomerPriceListRuleValueTypeEnum,a as CustomerRegistrationSourceEnum,g as CustomerReviewStatusEnum,l as CustomerSocialLoginProviderEnum,Z as GetSuggestedProductsMethodEnum,p as HTMLMetaDataTargetTypeEnum,b as InvoiceTypeEnum,k as LocalDeliverySettingsDeliveryTimeType,r as MasterPassOperationTypeEnum,d as MerchantSettingsAddressTypeEnum,s as OrderAdjustmentEnum,v as OrderAmountTypeEnum,x as OrderCancelledReasonEnum,h as OrderLineItemStatusEnum,j as OrderPackageFulfillStatusEnum,m as OrderPackageStatusEnum,q as OrderPaymentStatusEnum,w as OrderShippingMethodEnum,y as OrderStatusEnum,z as PaymentGatewayAdditionalPriceTypeEnum,$ as PaymentGatewaySettingsTypeEnum,EE as PaymentGatewayTransactionFeeTypeEnum,RE as PaymentGatewayTypeEnum,TE as PaymentMethodTypeEnum,AE as ProductAttributeTypeEnum,IE as ProductFilterDisplayTypeEnum,_E as ProductFilterSortTypeEnum,OE as ProductFilterTypeEnum,CE as ProductOptionPriceTypeEnum,DE as ProductOptionSelectTypeEnum,NE as ProductOptionTypeEnum,LE as ProductSearchShowStockOptionEnum,SE as ProductTypeEnum,UE as ProductUnitTypeEnum,PE as RaffleMetadataTargetTypeEnum,ME as RaffleParticipantStatusEnum,FE as SFAnalyticsTrafficSourceEnum,nE as SalesChannelStatusEnum,HE as SortByDirectionEnum,GE as SortByTypeEnum,YE as StockLocationDeliveryTimeEnum,VE as StockLocationTypeEnum,BE as StorefrontB2BShowPricesEnum,oE as StorefrontB2BShowProductsEnum,cE as StorefrontPageTypesEnum,pE as StorefrontPopupDeviceTypeEnum,bE as StorefrontPopupDisplayFilterTypeEnum,kE as StorefrontPopupDisplayFrequencyEnum,rE as StorefrontPopupDisplayTriggerTypeEnum,dE as StorefrontPopupPageFilterDataTypeEnum,sE as StorefrontPopupPageFilterTypeEnum,vE as StorefrontPopupStatusEnum,xE as StorefrontPopupTypeEnum,fE as StorefrontRegisterSettingsCheckboxType,tE as StorefrontStatusTypes,iE as StorefrontThemeStatus,uE as StorefrontTypeEnum,WE as TemplateEnum,KE as TransactionCardAssociationEnum,QE as TransactionCardTypeEnum,XE as TransactionFeeSourceEnum,JE as TransactionSourceEnum,eE as TransactionStatusEnum,aE as TransactionTypeEnum,gE as UserAgentDeviceType,lE as VariantSelectionTypeEnum,ZE as VerificationTypeEnum};
@@ -2,6 +2,7 @@ import { APIResponse } from "@ikas/fe-api-client";
2
2
  import { QueryParams as CustomerLoginQueryParams } from "../../__api/mutations/customerLogin";
3
3
  import { QueryParams as CustomerSocialLoginQueryParams } from "../../__api/queries/customerSocialLogin";
4
4
  import { QueryParams as RegisterCustomerQueryParams } from "../../__api/mutations/registerCustomer";
5
+ import { QueryParams as SmsRegisterCustomerQueryParams } from "../../__api/mutations/smsRegisterCustomer";
5
6
  import { QueryParams as CustomerRefreshTokenQueryParams } from "../../__api/mutations/customerRefreshToken";
6
7
  import { QueryParams as CustomerForgotPasswordQueryParams } from "../../__api/mutations/customerForgotPassword";
7
8
  import { QueryParams as CustomerRecoverPasswordQueryParams } from "../../__api/mutations/customerRecoverPassword";
@@ -26,12 +27,14 @@ import { QueryParams as ListCustomerSettingsQueryParams } from "../../__api/quer
26
27
  import { QueryParams as ActivateCustomerQueryParams } from "../../__api/mutations/activateCustomer";
27
28
  import { QueryParams as ResendCustomerActivationMailQueryParams } from "../../__api/mutations/resendCustomerActivationMail";
28
29
  import { QueryParams as ValidateCustomerPhoneVerificationCodeQueryParams } from "../../__api/mutations/validateCustomerPhoneVerificationCode";
30
+ import { QueryParams as ValidateCustomerPhoneLoginCodeQueryParams } from "../../__api/mutations/validateCustomerPhoneLoginCode";
29
31
  import { QueryParams as ResendCustomerPhoneVerificationCodeQueryParams } from "../../__api/mutations/resendCustomerPhoneVerificationCode";
30
32
  import { QueryParams as SaveCustomerFormDataQueryParams } from "../../__api/mutations/saveCustomerFormData";
31
33
  import { QueryParams as CustomerDeactiveQueryParams } from "../../__api/mutations/customerDeactivate";
34
+ import { QueryParams as SendCustomerSmsLoginCodeQueryParams } from "../../__api/mutations/sendCustomerSmsLoginCode";
32
35
  import { CustomerAttributeValueInput } from "../../__api/types";
33
36
  import { IkasCustomer, IkasCustomerAttribute, IkasCustomerReview, IkasCustomerReviewSummary, IkasFavoriteProduct, IkasLastViewedProduct, IkasOrder, IkasOrderRefundSettings, IkasOrderTransaction, IkasCustomerSettings, IkasOrderTransactionWithPrices } from "@ikas/storefront-models";
34
- export type { CustomerLoginQueryParams, CustomerSocialLoginQueryParams, RegisterCustomerQueryParams, CustomerRefreshTokenQueryParams, CustomerForgotPasswordQueryParams, CustomerRecoverPasswordQueryParams, CheckCustomerEmailQueryParams, SaveMyCustomerQueryParams, GetCustomerOrdersQueryParams, GetOrderByEmailQueryParams, ListOrderTransactionsQueryParams, ListOrderTransactionsWithPricesQueryParams, CreateOrderRefundRequestQueryParams, SubscribeToMarketingNotificationsQueryParams, GetLastViewedProductsQueryParams, SaveLastViewedProductsQueryParams, ListOrderRefundSettingsQueryParams, SendContactFormToMerchantQueryParams, SaveFavoriteProductQueryParams, IsFavoriteProductQueryParams, CreateCustomerReviewQueryParams, ListCustomerReviewsQueryParams, ListCustomerReviewSummaryQueryParams, CustomerAttributeValueInput, ActivateCustomerQueryParams, ResendCustomerActivationMailQueryParams, ValidateCustomerPhoneVerificationCodeQueryParams, ResendCustomerPhoneVerificationCodeQueryParams, SaveCustomerFormDataQueryParams, CustomerDeactiveQueryParams, };
37
+ export type { CustomerLoginQueryParams, CustomerSocialLoginQueryParams, RegisterCustomerQueryParams, CustomerRefreshTokenQueryParams, CustomerForgotPasswordQueryParams, CustomerRecoverPasswordQueryParams, CheckCustomerEmailQueryParams, SaveMyCustomerQueryParams, GetCustomerOrdersQueryParams, GetOrderByEmailQueryParams, ListOrderTransactionsQueryParams, ListOrderTransactionsWithPricesQueryParams, CreateOrderRefundRequestQueryParams, SubscribeToMarketingNotificationsQueryParams, GetLastViewedProductsQueryParams, SaveLastViewedProductsQueryParams, ListOrderRefundSettingsQueryParams, SendContactFormToMerchantQueryParams, SaveFavoriteProductQueryParams, IsFavoriteProductQueryParams, CreateCustomerReviewQueryParams, ListCustomerReviewsQueryParams, ListCustomerReviewSummaryQueryParams, CustomerAttributeValueInput, ActivateCustomerQueryParams, ResendCustomerActivationMailQueryParams, ValidateCustomerPhoneVerificationCodeQueryParams, ValidateCustomerPhoneLoginCodeQueryParams, SendCustomerSmsLoginCodeQueryParams, ResendCustomerPhoneVerificationCodeQueryParams, SaveCustomerFormDataQueryParams, CustomerDeactiveQueryParams, SmsRegisterCustomerQueryParams, };
35
38
  export declare enum IkasRegisterError {
36
39
  EMAIL_IS_NOT_VERIFIED = "EMAIL_IS_NOT_VERIFIED",
37
40
  CUSTOMER_EMAIL_ALREADY_EXISTS = "CUSTOMER_EMAIL_ALREADY_EXISTS",
@@ -73,6 +76,7 @@ export declare function register(params: RegisterCustomerQueryParams): Promise<A
73
76
  token: string;
74
77
  tokenExpiry: number;
75
78
  } | null>>;
79
+ export declare function smsRegister(params: SmsRegisterCustomerQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
76
80
  export declare function refreshToken(params: CustomerRefreshTokenQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../__api/types").CustomerRefreshTokenResponse>>;
77
81
  export declare function forgotPassword(params: CustomerForgotPasswordQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
78
82
  export declare function recoverPassword(params: CustomerRecoverPasswordQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
@@ -258,5 +262,11 @@ export declare function activateCustomer(params: ActivateCustomerQueryParams): P
258
262
  export declare function resendCustomerActivationMail(params: ResendCustomerActivationMailQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
259
263
  export declare function resendCustomerPhoneVerificationCode(params: ResendCustomerPhoneVerificationCodeQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
260
264
  export declare function validateCustomerPhoneVerificationCode(params: ValidateCustomerPhoneVerificationCodeQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
265
+ export declare function validateCustomerPhoneLoginCode(params: ValidateCustomerPhoneLoginCodeQueryParams): Promise<APIResponse<{
266
+ customer: IkasCustomer | null;
267
+ token: string;
268
+ tokenExpiry: number;
269
+ } | null>>;
270
+ export declare function sendCustomerSmsLoginCode(params: SendCustomerSmsLoginCodeQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
261
271
  export declare function deactivateCustomer(params: CustomerDeactiveQueryParams): Promise<APIResponse<undefined> | APIResponse<boolean>>;
262
272
  export declare function exportCustomerPersonelData(): Promise<APIResponse<undefined> | APIResponse<string>>;
@@ -1 +1 @@
1
- import{__awaiter as t,__generator as r,__assign as e}from'./../../ext/tslib/tslib.es6.js';import{APIResponse as n}from"@ikas/fe-api-client";import{initIkasCustomerReview as i,initIkasCustomerAttribute as s}from"@ikas/storefront-models";import{IkasStorefrontConfig as u}from"@ikas/storefront-config";var a,o;function c(i){var s;return t(this,void 0,void 0,(function(){var t,u,a,o,c;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/mutations/customerLogin.js")];case 1:return t=r.sent().default,a=t,o=[i],[4,l()];case 2:return[4,a.apply(void 0,o.concat([r.sent()]))];case 3:return u=r.sent(),c=(null===(s=u.data)||void 0===s?void 0:s.customer)||null,[2,new n(u.data?e(e({},u.data),{customer:c}):null,u.graphQLErrors)]}}))}))}function _(i){var s;return t(this,void 0,void 0,(function(){var t,u,a,o,c;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/customerSocialLogin.js")];case 1:return t=r.sent().default,a=t,o=[i],[4,l()];case 2:return[4,a.apply(void 0,o.concat([r.sent()]))];case 3:return u=r.sent(),c=(null===(s=u.data)||void 0===s?void 0:s.customer)||null,[2,new n(u.data?e(e({},u.data),{customer:c}):null,u.graphQLErrors)]}}))}))}function d(i){var s;return t(this,void 0,void 0,(function(){var t,u,a,o,c;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/mutations/registerCustomer.js")];case 1:return t=r.sent().default,a=t,o=[i],[4,l()];case 2:return[4,a.apply(void 0,o.concat([r.sent()]))];case 3:return u=r.sent(),c=(null===(s=u.data)||void 0===s?void 0:s.customer)||null,[2,new n(u.data?e(e({},u.data),{customer:c}):null,u.graphQLErrors)]}}))}))}function l(){return t(this,void 0,void 0,(function(){var t,e;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/mutations/customerLogin.js")];case 1:return t=r.sent().ResponseField,e=["CUSTOMER__ADDRESSES__REGION__CREATED_AT","CUSTOMER__ADDRESSES__REGION__DELETED","CUSTOMER__ADDRESSES__REGION__UPDATED_AT"],[2,Object.entries(t).filter((function(t){var r=t[0];return!e.includes(r)})).map((function(t){return t[1]}))]}}))}))}function f(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/customerRefreshToken.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function E(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/customerForgotPassword.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function v(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/customerRecoverPassword.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function h(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/queries/checkCustomerEmail.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function S(){return t(this,void 0,void 0,(function(){var t,i,s,u;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/getMyCustomer.js")];case 1:return t=r.sent().default,s=t,[4,B()];case 2:return[4,s.apply(void 0,[r.sent()])];case 3:return i=r.sent(),u=i.data||null,[2,new n(i.data?e(e({},i.data),{customer:u}):null,i.graphQLErrors)]}}))}))}function I(i){return t(this,void 0,void 0,(function(){var t,s,u,a,o;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/mutations/saveMyCustomer.js")];case 1:return t=r.sent().default,u=t,a=[i],[4,B()];case 2:return[4,u.apply(void 0,a.concat([r.sent()]))];case 3:return s=r.sent(),o=s.data||null,[2,new n(s.data?e(e({},s.data),{customer:o}):null,s.graphQLErrors)]}}))}))}function O(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/saveCustomerFormData.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function p(e){return t(this,void 0,void 0,(function(){var t,i,s,u,a;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/getCustomerOrders.js")];case 1:return t=r.sent().default,s=t,u=[e],[4,C()];case 2:return[4,s.apply(void 0,u.concat([r.sent()]))];case 3:return i=r.sent(),null==(a=i.data)||a.forEach((function(t){var r;(null===(r=t.orderLineItems)||void 0===r?void 0:r.length)&&(t.orderLineItems=t.orderLineItems.filter((function(t){return!t.deleted})))})),[2,new n(a,i.graphQLErrors)]}}))}))}function m(e){return t(this,void 0,void 0,(function(){var t,i,s,u,a;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/getOrderByEmail.js")];case 1:return t=r.sent().default,s=t,u=[e],[4,C()];case 2:return[4,s.apply(void 0,u.concat([r.sent()]))];case 3:return i=r.sent(),a=i.data,[2,new n(a,i.graphQLErrors)]}}))}))}function L(e){return t(this,void 0,void 0,(function(){var t,i;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/listOrderTransactions.js")];case 1:return[4,(0,r.sent().default)(e)];case 2:return t=r.sent(),i=t.data,[2,new n(i,t.graphQLErrors)]}}))}))}function T(e){return t(this,void 0,void 0,(function(){var t,i;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/listOrderTransactionsWithPrices.js")];case 1:return[4,(0,r.sent().default)(e)];case 2:return t=r.sent(),i=t.data,[2,new n(i,t.graphQLErrors)]}}))}))}function A(e){return t(this,void 0,void 0,(function(){var t,i,s,u,a;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/mutations/createOrderRefundRequest.js")];case 1:return t=r.sent().default,s=t,u=[e],[4,C()];case 2:return[4,s.apply(void 0,u.concat([r.sent()]))];case 3:return i=r.sent(),a=i.data,[2,new n(a,i.graphQLErrors)]}}))}))}function C(){return t(this,void 0,void 0,(function(){var t,e;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/getCustomerOrders.js")];case 1:return t=r.sent().ResponseField,e=["BILLING_ADDRESS__REGION__CREATED_AT","BILLING_ADDRESS__REGION__DELETED","BILLING_ADDRESS__REGION__UPDATED_AT","SHIPPING_ADDRESS__REGION__CREATED_AT","SHIPPING_ADDRESS__REGION__DELETED","SHIPPING_ADDRESS__REGION__UPDATED_AT"],[2,Object.entries(t).filter((function(t){var r=t[0];return!e.includes(r)})).map((function(t){return t[1]}))]}}))}))}function D(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/subscribeToMarketingNotifications.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function N(e){var i;return t(this,void 0,void 0,(function(){var t;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/getLastViewedProducts.js")];case 1:return[4,(0,r.sent().default)(e)];case 2:return t=r.sent(),[2,new n(null===(i=t.data)||void 0===i?void 0:i.products,t.graphQLErrors)]}}))}))}function R(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/saveLastViewedProducts.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function w(i){var s;return t(this,void 0,void 0,(function(){var t,u;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/listOrderRefundSettings.js")];case 1:return[4,(0,r.sent().default)(i)];case 2:return t=r.sent(),u=(null===(s=t.data)||void 0===s?void 0:s.map((function(t){return e({},t)})))||null,[2,new n(u,t.graphQLErrors)]}}))}))}function G(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/sendContactFormToMerchant.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function b(){return t(this,void 0,void 0,(function(){var t,e;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/listFavoriteProducts.js")];case 1:return[4,(0,r.sent().default)()];case 2:return t=r.sent(),e=t.data||null,[2,new n(e,t.graphQLErrors)]}}))}))}function j(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/saveFavoriteProduct.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function P(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/queries/isFavoriteProduct.js")];case 1:return[4,(0,t.sent().default)({productId:e.productId})];case 2:return[2,t.sent()]}}))}))}function g(e){return t(this,void 0,void 0,(function(){var t,s;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/mutations/createCustomerReview.js")];case 1:return[4,(0,r.sent().default)(e)];case 2:return t=r.sent(),(s=t.data)&&i(s),[2,new n(s,t.graphQLErrors)]}}))}))}function U(s){var u;return t(this,void 0,void 0,(function(){var t,a;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/listCustomerReviews.js")];case 1:return[4,(0,r.sent().default)(s)];case 2:return t=r.sent(),(a=(null===(u=t.data)||void 0===u?void 0:u.data)||[]).forEach(i),[2,new n(t.data?e(e({},t.data),{data:a}):null,t.graphQLErrors)]}}))}))}function M(i){var s;return t(this,void 0,void 0,(function(){var t,u;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/listCustomerReviewSummary.js")];case 1:return[4,(0,r.sent().default)(i)];case 2:return t=r.sent(),u=(null===(s=t.data)||void 0===s?void 0:s.data)||[],[2,new n(e(e({},t.data),{data:u}),t.graphQLErrors)]}}))}))}function F(){return t(this,void 0,void 0,(function(){var t,e;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/listCustomerAttribute.js")];case 1:return[4,(0,r.sent().default)()];case 2:return t=r.sent(),(e=t.data||[]).sort((function(t,r){return t.order&&r.order?t.order-r.order:-1})).forEach((function(t){return s(t,u.getCurrentLocale())})),[2,new n(e,t.graphQLErrors)]}}))}))}function B(){return t(this,void 0,void 0,(function(){var t,e;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/getMyCustomer.js")];case 1:return t=r.sent().ResponseField,e=["NOTE","TAG_IDS","CUSTOMER_GROUP_IDS","PASSWORD_UPDATE_DATE","ORDER_COUNT","REGISTRATION_SOURCE","ADDRESSES__REGION__CREATED_AT","ADDRESSES__REGION__DELETED","ADDRESSES__REGION__UPDATED_AT"],[2,Object.entries(t).filter((function(t){var r=t[0];return!e.includes(r)})).map((function(t){return t[1]}))]}}))}))}function X(i){return t(this,void 0,void 0,(function(){var t,s;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/listCustomerSettings.js")];case 1:return[4,(0,r.sent().default)(i)];case 2:return t=r.sent(),s=t.data||[],[2,new n(e(e({},t.data),{data:s}),t.graphQLErrors)]}}))}))}function q(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/activateCustomer.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function Q(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/resendCustomerActivationMail.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function W(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/resendCustomerPhoneVerificationCode.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function y(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/validateCustomerPhoneVerificationCode.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function V(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/customerDeactivate.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function H(){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/queries/exportCustomerPersonalData.js")];case 1:return[4,(0,t.sent().default)()];case 2:return[2,t.sent()]}}))}))}!function(t){t.EMAIL_IS_NOT_VERIFIED="EMAIL_IS_NOT_VERIFIED",t.CUSTOMER_EMAIL_ALREADY_EXISTS="CUSTOMER_EMAIL_ALREADY_EXISTS",t.UNKOWN="UNKOWN",t.B2B_CUSTOMER_ACCOUNT_DISABLED="B2B_CUSTOMER_ACCOUNT_DISABLED",t.PHONE_IS_NOT_VERIFIED="PHONE_IS_NOT_VERIFIED",t.FACEBOOK_SOCIAL_LOGIN_EXISTS="FACEBOOK_SOCIAL_LOGIN_EXISTS",t.GOOGLE_SOCIAL_LOGIN_EXISTS="GOOGLE_SOCIAL_LOGIN_EXISTS",t.APPLE_SOCIAL_LOGIN_EXISTS="APPLE_SOCIAL_LOGIN_EXISTS",t.TWITCH_SOCIAL_LOGIN_EXISTS="TWITCH_SOCIAL_LOGIN_EXISTS",t.SOCIAL_LOGIN_EXISTS="SOCIAL_LOGIN_EXISTS"}(a||(a={})),function(t){t.CUSTOMER_ACCOUNT_DISABLED="CUSTOMER_ACCOUNT_DISABLED",t.EMAIL_IS_NOT_VERIFIED="EMAIL_IS_NOT_VERIFIED",t.CUSTOMER_NOT_FOUND="CUSTOMER_NOT_FOUND",t.B2B_CUSTOMER_ACCOUNT_DISABLED="B2B_CUSTOMER_ACCOUNT_DISABLED",t.UNKOWN="UNKOWN",t.PHONE_IS_NOT_VERIFIED="PHONE_IS_NOT_VERIFIED",t.WRONG_PASSWORD="WRONG_PASSWORD",t.FACEBOOK_SOCIAL_LOGIN_EXISTS="FACEBOOK_SOCIAL_LOGIN_EXISTS",t.GOOGLE_SOCIAL_LOGIN_EXISTS="GOOGLE_SOCIAL_LOGIN_EXISTS",t.APPLE_SOCIAL_LOGIN_EXISTS="APPLE_SOCIAL_LOGIN_EXISTS",t.TWITCH_SOCIAL_LOGIN_EXISTS="TWITCH_SOCIAL_LOGIN_EXISTS",t.SOCIAL_LOGIN_EXISTS="SOCIAL_LOGIN_EXISTS"}(o||(o={}));export{o as IkasLoginError,a as IkasRegisterError,q as activateCustomer,h as checkEmail,g as createCustomerReview,A as createOrderRefundRequest,V as deactivateCustomer,H as exportCustomerPersonelData,E as forgotPassword,S as getCustomer,N as getLastViewedProducts,m as getOrderByEmail,p as getOrders,P as isFavoriteProduct,F as listCustomerAttribute,M as listCustomerReviewSummary,U as listCustomerReviews,X as listCustomerSettings,b as listFavoriteProducts,w as listOrderRefundSettings,L as listOrderTransactions,T as listOrderTransactionsWithPrices,c as login,v as recoverPassword,f as refreshToken,d as register,Q as resendCustomerActivationMail,W as resendCustomerPhoneVerificationCode,I as saveCustomer,O as saveCustomerFormData,j as saveFavoriteProduct,R as saveLastViewedProducts,G as sendContactFormToMerchant,_ as socialLogin,D as subscribeToMarketingNotifications,y as validateCustomerPhoneVerificationCode};
1
+ import{__awaiter as t,__generator as r,__assign as e}from'./../../ext/tslib/tslib.es6.js';import{APIResponse as n}from"@ikas/fe-api-client";import{initIkasCustomerReview as i,initIkasCustomerAttribute as s}from"@ikas/storefront-models";import{IkasStorefrontConfig as u}from"@ikas/storefront-config";var a,o;function c(i){var s;return t(this,void 0,void 0,(function(){var t,u,a,o,c;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/mutations/customerLogin.js")];case 1:return t=r.sent().default,a=t,o=[i],[4,f()];case 2:return[4,a.apply(void 0,o.concat([r.sent()]))];case 3:return u=r.sent(),c=(null===(s=u.data)||void 0===s?void 0:s.customer)||null,[2,new n(u.data?e(e({},u.data),{customer:c}):null,u.graphQLErrors)]}}))}))}function _(i){var s;return t(this,void 0,void 0,(function(){var t,u,a,o,c;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/customerSocialLogin.js")];case 1:return t=r.sent().default,a=t,o=[i],[4,f()];case 2:return[4,a.apply(void 0,o.concat([r.sent()]))];case 3:return u=r.sent(),c=(null===(s=u.data)||void 0===s?void 0:s.customer)||null,[2,new n(u.data?e(e({},u.data),{customer:c}):null,u.graphQLErrors)]}}))}))}function d(i){var s;return t(this,void 0,void 0,(function(){var t,u,a,o,c;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/mutations/registerCustomer.js")];case 1:return t=r.sent().default,a=t,o=[i],[4,f()];case 2:return[4,a.apply(void 0,o.concat([r.sent()]))];case 3:return u=r.sent(),c=(null===(s=u.data)||void 0===s?void 0:s.customer)||null,[2,new n(u.data?e(e({},u.data),{customer:c}):null,u.graphQLErrors)]}}))}))}function l(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/smsRegisterCustomer.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function f(){return t(this,void 0,void 0,(function(){var t,e;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/mutations/customerLogin.js")];case 1:return t=r.sent().ResponseField,e=["CUSTOMER__ADDRESSES__REGION__CREATED_AT","CUSTOMER__ADDRESSES__REGION__DELETED","CUSTOMER__ADDRESSES__REGION__UPDATED_AT"],[2,Object.entries(t).filter((function(t){var r=t[0];return!e.includes(r)})).map((function(t){return t[1]}))]}}))}))}function E(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/customerRefreshToken.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function v(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/customerForgotPassword.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function h(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/customerRecoverPassword.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function S(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/queries/checkCustomerEmail.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function I(){return t(this,void 0,void 0,(function(){var t,i,s,u;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/getMyCustomer.js")];case 1:return t=r.sent().default,s=t,[4,X()];case 2:return[4,s.apply(void 0,[r.sent()])];case 3:return i=r.sent(),u=i.data||null,[2,new n(i.data?e(e({},i.data),{customer:u}):null,i.graphQLErrors)]}}))}))}function p(i){return t(this,void 0,void 0,(function(){var t,s,u,a,o;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/mutations/saveMyCustomer.js")];case 1:return t=r.sent().default,u=t,a=[i],[4,X()];case 2:return[4,u.apply(void 0,a.concat([r.sent()]))];case 3:return s=r.sent(),o=s.data||null,[2,new n(s.data?e(e({},s.data),{customer:o}):null,s.graphQLErrors)]}}))}))}function O(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/saveCustomerFormData.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function m(e){return t(this,void 0,void 0,(function(){var t,i,s,u,a;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/getCustomerOrders.js")];case 1:return t=r.sent().default,s=t,u=[e],[4,D()];case 2:return[4,s.apply(void 0,u.concat([r.sent()]))];case 3:return i=r.sent(),null==(a=i.data)||a.forEach((function(t){var r;(null===(r=t.orderLineItems)||void 0===r?void 0:r.length)&&(t.orderLineItems=t.orderLineItems.filter((function(t){return!t.deleted})))})),[2,new n(a,i.graphQLErrors)]}}))}))}function L(e){return t(this,void 0,void 0,(function(){var t,i,s,u,a;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/getOrderByEmail.js")];case 1:return t=r.sent().default,s=t,u=[e],[4,D()];case 2:return[4,s.apply(void 0,u.concat([r.sent()]))];case 3:return i=r.sent(),a=i.data,[2,new n(a,i.graphQLErrors)]}}))}))}function T(e){return t(this,void 0,void 0,(function(){var t,i;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/listOrderTransactions.js")];case 1:return[4,(0,r.sent().default)(e)];case 2:return t=r.sent(),i=t.data,[2,new n(i,t.graphQLErrors)]}}))}))}function A(e){return t(this,void 0,void 0,(function(){var t,i;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/listOrderTransactionsWithPrices.js")];case 1:return[4,(0,r.sent().default)(e)];case 2:return t=r.sent(),i=t.data,[2,new n(i,t.graphQLErrors)]}}))}))}function C(e){return t(this,void 0,void 0,(function(){var t,i,s,u,a;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/mutations/createOrderRefundRequest.js")];case 1:return t=r.sent().default,s=t,u=[e],[4,D()];case 2:return[4,s.apply(void 0,u.concat([r.sent()]))];case 3:return i=r.sent(),a=i.data,[2,new n(a,i.graphQLErrors)]}}))}))}function D(){return t(this,void 0,void 0,(function(){var t,e;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/getCustomerOrders.js")];case 1:return t=r.sent().ResponseField,e=["BILLING_ADDRESS__REGION__CREATED_AT","BILLING_ADDRESS__REGION__DELETED","BILLING_ADDRESS__REGION__UPDATED_AT","SHIPPING_ADDRESS__REGION__CREATED_AT","SHIPPING_ADDRESS__REGION__DELETED","SHIPPING_ADDRESS__REGION__UPDATED_AT"],[2,Object.entries(t).filter((function(t){var r=t[0];return!e.includes(r)})).map((function(t){return t[1]}))]}}))}))}function R(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/subscribeToMarketingNotifications.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function N(e){var i;return t(this,void 0,void 0,(function(){var t;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/getLastViewedProducts.js")];case 1:return[4,(0,r.sent().default)(e)];case 2:return t=r.sent(),[2,new n(null===(i=t.data)||void 0===i?void 0:i.products,t.graphQLErrors)]}}))}))}function w(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/saveLastViewedProducts.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function G(i){var s;return t(this,void 0,void 0,(function(){var t,u;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/listOrderRefundSettings.js")];case 1:return[4,(0,r.sent().default)(i)];case 2:return t=r.sent(),u=(null===(s=t.data)||void 0===s?void 0:s.map((function(t){return e({},t)})))||null,[2,new n(u,t.graphQLErrors)]}}))}))}function b(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/sendContactFormToMerchant.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function j(){return t(this,void 0,void 0,(function(){var t,e;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/listFavoriteProducts.js")];case 1:return[4,(0,r.sent().default)()];case 2:return t=r.sent(),e=t.data||null,[2,new n(e,t.graphQLErrors)]}}))}))}function g(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/saveFavoriteProduct.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function P(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/queries/isFavoriteProduct.js")];case 1:return[4,(0,t.sent().default)({productId:e.productId})];case 2:return[2,t.sent()]}}))}))}function U(e){return t(this,void 0,void 0,(function(){var t,s;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/mutations/createCustomerReview.js")];case 1:return[4,(0,r.sent().default)(e)];case 2:return t=r.sent(),(s=t.data)&&i(s),[2,new n(s,t.graphQLErrors)]}}))}))}function M(s){var u;return t(this,void 0,void 0,(function(){var t,a;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/listCustomerReviews.js")];case 1:return[4,(0,r.sent().default)(s)];case 2:return t=r.sent(),(a=(null===(u=t.data)||void 0===u?void 0:u.data)||[]).forEach(i),[2,new n(t.data?e(e({},t.data),{data:a}):null,t.graphQLErrors)]}}))}))}function F(i){var s;return t(this,void 0,void 0,(function(){var t,u;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/listCustomerReviewSummary.js")];case 1:return[4,(0,r.sent().default)(i)];case 2:return t=r.sent(),u=(null===(s=t.data)||void 0===s?void 0:s.data)||[],[2,new n(e(e({},t.data),{data:u}),t.graphQLErrors)]}}))}))}function B(){return t(this,void 0,void 0,(function(){var t,e;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/listCustomerAttribute.js")];case 1:return[4,(0,r.sent().default)()];case 2:return t=r.sent(),(e=t.data||[]).sort((function(t,r){return t.order&&r.order?t.order-r.order:-1})).forEach((function(t){return s(t,u.getCurrentLocale())})),[2,new n(e,t.graphQLErrors)]}}))}))}function X(){return t(this,void 0,void 0,(function(){var t,e;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/getMyCustomer.js")];case 1:return t=r.sent().ResponseField,e=["NOTE","TAG_IDS","CUSTOMER_GROUP_IDS","PASSWORD_UPDATE_DATE","ORDER_COUNT","REGISTRATION_SOURCE","ADDRESSES__REGION__CREATED_AT","ADDRESSES__REGION__DELETED","ADDRESSES__REGION__UPDATED_AT"],[2,Object.entries(t).filter((function(t){var r=t[0];return!e.includes(r)})).map((function(t){return t[1]}))]}}))}))}function q(i){return t(this,void 0,void 0,(function(){var t,s;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/queries/listCustomerSettings.js")];case 1:return[4,(0,r.sent().default)(i)];case 2:return t=r.sent(),s=t.data||[],[2,new n(e(e({},t.data),{data:s}),t.graphQLErrors)]}}))}))}function Q(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/activateCustomer.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function W(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/resendCustomerActivationMail.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function y(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/resendCustomerPhoneVerificationCode.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function V(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/validateCustomerPhoneVerificationCode.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function H(i){var s;return t(this,void 0,void 0,(function(){var t,u;return r(this,(function(r){switch(r.label){case 0:return[4,import("../../__api/mutations/validateCustomerPhoneLoginCode.js")];case 1:return[4,(0,r.sent().default)(i)];case 2:return t=r.sent(),u=(null===(s=t.data)||void 0===s?void 0:s.customer)||null,[2,new n(t.data?e(e({},t.data),{customer:u}):null,t.graphQLErrors)]}}))}))}function K(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/sendCustomerSmsLoginCode.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function k(e){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/mutations/customerDeactivate.js")];case 1:return[4,(0,t.sent().default)(e)];case 2:return[2,t.sent()]}}))}))}function x(){return t(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/queries/exportCustomerPersonalData.js")];case 1:return[4,(0,t.sent().default)()];case 2:return[2,t.sent()]}}))}))}!function(t){t.EMAIL_IS_NOT_VERIFIED="EMAIL_IS_NOT_VERIFIED",t.CUSTOMER_EMAIL_ALREADY_EXISTS="CUSTOMER_EMAIL_ALREADY_EXISTS",t.UNKOWN="UNKOWN",t.B2B_CUSTOMER_ACCOUNT_DISABLED="B2B_CUSTOMER_ACCOUNT_DISABLED",t.PHONE_IS_NOT_VERIFIED="PHONE_IS_NOT_VERIFIED",t.FACEBOOK_SOCIAL_LOGIN_EXISTS="FACEBOOK_SOCIAL_LOGIN_EXISTS",t.GOOGLE_SOCIAL_LOGIN_EXISTS="GOOGLE_SOCIAL_LOGIN_EXISTS",t.APPLE_SOCIAL_LOGIN_EXISTS="APPLE_SOCIAL_LOGIN_EXISTS",t.TWITCH_SOCIAL_LOGIN_EXISTS="TWITCH_SOCIAL_LOGIN_EXISTS",t.SOCIAL_LOGIN_EXISTS="SOCIAL_LOGIN_EXISTS"}(a||(a={})),function(t){t.CUSTOMER_ACCOUNT_DISABLED="CUSTOMER_ACCOUNT_DISABLED",t.EMAIL_IS_NOT_VERIFIED="EMAIL_IS_NOT_VERIFIED",t.CUSTOMER_NOT_FOUND="CUSTOMER_NOT_FOUND",t.B2B_CUSTOMER_ACCOUNT_DISABLED="B2B_CUSTOMER_ACCOUNT_DISABLED",t.UNKOWN="UNKOWN",t.PHONE_IS_NOT_VERIFIED="PHONE_IS_NOT_VERIFIED",t.WRONG_PASSWORD="WRONG_PASSWORD",t.FACEBOOK_SOCIAL_LOGIN_EXISTS="FACEBOOK_SOCIAL_LOGIN_EXISTS",t.GOOGLE_SOCIAL_LOGIN_EXISTS="GOOGLE_SOCIAL_LOGIN_EXISTS",t.APPLE_SOCIAL_LOGIN_EXISTS="APPLE_SOCIAL_LOGIN_EXISTS",t.TWITCH_SOCIAL_LOGIN_EXISTS="TWITCH_SOCIAL_LOGIN_EXISTS",t.SOCIAL_LOGIN_EXISTS="SOCIAL_LOGIN_EXISTS"}(o||(o={}));export{o as IkasLoginError,a as IkasRegisterError,Q as activateCustomer,S as checkEmail,U as createCustomerReview,C as createOrderRefundRequest,k as deactivateCustomer,x as exportCustomerPersonelData,v as forgotPassword,I as getCustomer,N as getLastViewedProducts,L as getOrderByEmail,m as getOrders,P as isFavoriteProduct,B as listCustomerAttribute,F as listCustomerReviewSummary,M as listCustomerReviews,q as listCustomerSettings,j as listFavoriteProducts,G as listOrderRefundSettings,T as listOrderTransactions,A as listOrderTransactionsWithPrices,c as login,h as recoverPassword,E as refreshToken,d as register,W as resendCustomerActivationMail,y as resendCustomerPhoneVerificationCode,p as saveCustomer,O as saveCustomerFormData,g as saveFavoriteProduct,w as saveLastViewedProducts,b as sendContactFormToMerchant,K as sendCustomerSmsLoginCode,l as smsRegister,_ as socialLogin,R as subscribeToMarketingNotifications,H as validateCustomerPhoneLoginCode,V as validateCustomerPhoneVerificationCode};
package/build/index.js CHANGED
@@ -1 +1 @@
1
- export{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,MasterPassOperationTypeEnum,SortByDirectionEnum,SortByTypeEnum,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,getCartById,removeGiftCardFromCart,saveCart,saveCartCouponCode,updateCartCampaignOffer}from"./api/cart/index.js";export{listCategory}from"./api/category/index.js";export{checkCartStocks,checkStocks,createAdyenBalancePlatformPaymentSession,createKlarnaClientToken,createPayPalOrder,createSaleTransactionWithCart,createStripePaymentIntent,getAvailableShippingCountries,getAvailableStockLocations,getPayPalClientId,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}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{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{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,MasterPassOperationTypeEnum,SortByDirectionEnum,SortByTypeEnum,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,getCartById,removeGiftCardFromCart,saveCart,saveCartCouponCode,updateCartCampaignOffer}from"./api/cart/index.js";export{listCategory}from"./api/category/index.js";export{checkCartStocks,checkStocks,createAdyenBalancePlatformPaymentSession,createKlarnaClientToken,createPayPalOrder,createSaleTransactionWithCart,createStripePaymentIntent,getAvailableShippingCountries,getAvailableStockLocations,getPayPalClientId,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,sendCustomerSmsLoginCode,smsRegister,socialLogin,subscribeToMarketingNotifications,validateCustomerPhoneLoginCode,validateCustomerPhoneVerificationCode}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{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/build/index2.js CHANGED
@@ -1 +1 @@
1
- import{Config as e,APIErrorCode as t}from"@ikas/fe-api-client";export{APIResponse,Config as IkasAPIClientConfig}from"@ikas/fe-api-client";import{IkasStorefrontConfig as r}from"@ikas/storefront-config";import"@ikas/storefront-models";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}from"./api/customer/index.js";import"axios";export{SaveMyCustomerInput}from"./__api/models/SaveMyCustomerInput.js";export{SaveCartInput}from"./__api/models/SaveCartInput.js";export{CheckStocksLineInput}from"./__api/models/CheckStocksLineInput.js";export{CampaignOfferTargetPageTypeEnum,GetSuggestedProductsMethodEnum,MasterPassOperationTypeEnum,SortByDirectionEnum,SortByTypeEnum,TransactionCardAssociationEnum}from"./__api/types/index.js";function o(){e.URL=r.getApiUrl()||"",e.HEADERS={"x-api-key":r.getApiKey()||"","x-sfid":r.getStorefrontId()||"","x-sfrid":r.getStorefrontRoutingId()||"","x-sid":r.getSessionId()||"","x-vid":r.getVisitorId()||"","x-jid":r.getJourneyId()||""},e.TOKEN=r.getCustomerToken()||"",r.getLoginRequiredCallback()&&(e.ON_ERROR={errorCodes:[{errorCode:t.LOGIN_REQUIRED,callback:r.getLoginRequiredCallback()}]})}r.addObserver({id:"ikas-storefront-api",callback:o});export{o as setAPIClientConfig};
1
+ import{Config as e,APIErrorCode as t}from"@ikas/fe-api-client";export{APIResponse,Config as IkasAPIClientConfig}from"@ikas/fe-api-client";import{IkasStorefrontConfig as r}from"@ikas/storefront-config";import"@ikas/storefront-models";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,sendCustomerSmsLoginCode,smsRegister,socialLogin,subscribeToMarketingNotifications,validateCustomerPhoneLoginCode,validateCustomerPhoneVerificationCode}from"./api/customer/index.js";import"axios";export{SaveMyCustomerInput}from"./__api/models/SaveMyCustomerInput.js";export{SaveCartInput}from"./__api/models/SaveCartInput.js";export{CheckStocksLineInput}from"./__api/models/CheckStocksLineInput.js";export{CampaignOfferTargetPageTypeEnum,GetSuggestedProductsMethodEnum,MasterPassOperationTypeEnum,SortByDirectionEnum,SortByTypeEnum,TransactionCardAssociationEnum}from"./__api/types/index.js";function o(){e.URL=r.getApiUrl()||"",e.HEADERS={"x-api-key":r.getApiKey()||"","x-sfid":r.getStorefrontId()||"","x-sfrid":r.getStorefrontRoutingId()||"","x-sid":r.getSessionId()||"","x-vid":r.getVisitorId()||"","x-jid":r.getJourneyId()||""},e.TOKEN=r.getCustomerToken()||"",r.getLoginRequiredCallback()&&(e.ON_ERROR={errorCodes:[{errorCode:t.LOGIN_REQUIRED,callback:r.getLoginRequiredCallback()}]})}r.addObserver({id:"ikas-storefront-api",callback:o});export{o as setAPIClientConfig};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront-api",
3
- "version": "6.1.0-beta.133",
3
+ "version": "6.1.0-beta.135",
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.133",
21
- "@ikas/storefront-models": "^6.1.0-beta.133",
20
+ "@ikas/storefront-config": "^6.1.0-beta.135",
21
+ "@ikas/storefront-models": "^6.1.0-beta.135",
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.19"
35
35
  },
36
36
  "peerDependencies": {
37
- "@ikas/storefront-config": "^6.1.0-beta.133",
38
- "@ikas/storefront-models": "^6.1.0-beta.133",
37
+ "@ikas/storefront-config": "^6.1.0-beta.135",
38
+ "@ikas/storefront-models": "^6.1.0-beta.135",
39
39
  "@ikas/fe-api-client": "^1.0.18",
40
40
  "axios": "^0.26.0",
41
41
  "ts-essentials": "^7.0.1"