@ikas/storefront-api 6.1.0-beta.20 → 6.1.0-beta.200

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/build/__api/models/AddItemToCartInput.d.ts +2 -0
  2. package/build/__api/models/CartV2.d.ts +1 -0
  3. package/build/__api/models/CheckoutSettings.d.ts +1 -0
  4. package/build/__api/models/CustomerReview.d.ts +6 -0
  5. package/build/__api/models/CustomerReviewProductModel.d.ts +15 -0
  6. package/build/__api/models/CustomerReviewReplyInfo.d.ts +10 -0
  7. package/build/__api/models/GetCustomerReviewImageUploadUrlResponse.d.ts +11 -0
  8. package/build/__api/models/HepsipayFrameInitResponse.d.ts +11 -0
  9. package/build/__api/models/ListOrderTransactionWithPricesResponse.d.ts +1 -0
  10. package/build/__api/models/OrderLineItem.d.ts +5 -0
  11. package/build/__api/models/OrderLineItemCustomerSubscriptionPlan.d.ts +9 -0
  12. package/build/__api/models/OrderLineItemSubscriptionPlan.d.ts +12 -0
  13. package/build/__api/models/OrderLineItemSubscriptionPlanPeriod.d.ts +19 -0
  14. package/build/__api/models/ProductSearchResponse.d.ts +2 -0
  15. package/build/__api/models/SearchInput.d.ts +2 -0
  16. package/build/__api/models/SearchSuggestion.d.ts +12 -0
  17. package/build/__api/models/SubscriptionPlanDiscount.d.ts +11 -0
  18. package/build/__api/models/UpdatePaypalOrderAddressInput.d.ts +12 -0
  19. package/build/__api/models/UpdatePaypalOrderCustomerInput.d.ts +12 -0
  20. package/build/__api/models/UpdatePaypalOrderInput.d.ts +16 -0
  21. package/build/__api/mutations/addItemToCart.d.ts +13 -0
  22. package/build/__api/mutations/addItemToCart.js +1 -1
  23. package/build/__api/mutations/createPaypalOrder.d.ts +2 -0
  24. package/build/__api/mutations/createPaypalOrder.js +1 -1
  25. package/build/__api/mutations/customerLogin.d.ts +6 -2
  26. package/build/__api/mutations/customerLogin.js +1 -1
  27. package/build/__api/mutations/getCustomerReviewImageUploadUrl.d.ts +13 -0
  28. package/build/__api/mutations/getPaypalClientId.d.ts +1 -1
  29. package/build/__api/mutations/getPaypalClientId.js +1 -1
  30. package/build/__api/mutations/hepsipayFrameInit.d.ts +13 -0
  31. package/build/__api/mutations/hepsipayFrameInit.js +1 -0
  32. package/build/__api/mutations/registerCustomer.d.ts +8 -4
  33. package/build/__api/mutations/registerCustomer.js +1 -1
  34. package/build/__api/mutations/resendCustomerPhoneVerificationCode.d.ts +2 -5
  35. package/build/__api/mutations/resendCustomerPhoneVerificationCode.js +1 -1
  36. package/build/__api/mutations/updatePaypalOrder.d.ts +8 -0
  37. package/build/__api/mutations/updatePaypalOrder.js +1 -0
  38. package/build/__api/mutations/validateCustomerPhoneVerificationCode.d.ts +1 -0
  39. package/build/__api/mutations/validateCustomerPhoneVerificationCode.js +1 -1
  40. package/build/__api/mutations/validateOTPCode.d.ts +97 -0
  41. package/build/__api/mutations/validateOTPCode.js +1 -0
  42. package/build/__api/queries/getAvailableStockLocations.d.ts +1 -0
  43. package/build/__api/queries/getAvailableStockLocations.js +1 -1
  44. package/build/__api/queries/getCart.d.ts +13 -0
  45. package/build/__api/queries/getCartById.d.ts +18 -1
  46. package/build/__api/queries/getCartById.js +1 -1
  47. package/build/__api/queries/getCheckoutByCartId.d.ts +13 -0
  48. package/build/__api/queries/getCheckoutById.d.ts +13 -0
  49. package/build/__api/queries/getCustomerOrders.d.ts +19 -0
  50. package/build/__api/queries/getCustomerOrders.js +1 -1
  51. package/build/__api/queries/getOrder.d.ts +19 -0
  52. package/build/__api/queries/getStoreCreditBalance.d.ts +25 -0
  53. package/build/__api/queries/getStoreCreditBalance.js +1 -0
  54. package/build/__api/queries/listCheckoutSettings.d.ts +1 -0
  55. package/build/__api/queries/listCheckoutSettings.js +1 -1
  56. package/build/__api/queries/listCustomerReviewSummary.d.ts +1 -0
  57. package/build/__api/queries/listCustomerReviews.d.ts +12 -0
  58. package/build/__api/queries/listCustomerReviews.js +1 -1
  59. package/build/__api/queries/listOrderTransactionsWithPrices.d.ts +1 -0
  60. package/build/__api/queries/listOrderTransactionsWithPrices.js +1 -1
  61. package/build/__api/queries/searchProducts.d.ts +21 -0
  62. package/build/__api/queries/searchProducts.js +1 -1
  63. package/build/__api/types/index.d.ts +189 -12
  64. package/build/__api/types/index.js +1 -1
  65. package/build/api/checkout/index.d.ts +7 -2
  66. package/build/api/checkout/index.js +1 -1
  67. package/build/api/customer/index.d.ts +37 -6
  68. package/build/api/customer/index.js +1 -1
  69. package/build/api/product/index.d.ts +1 -0
  70. package/build/api/product/index.js +1 -1
  71. package/build/api/storefront/index.d.ts +5 -0
  72. package/build/index.d.ts +3 -2
  73. package/build/index.js +1 -1
  74. package/build/index2.js +1 -1
  75. package/package.json +5 -5
@@ -1 +1 @@
1
- import{__awaiter as t,__generator as r}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as n,APIResponse as e,fetchQuery as a}from"@ikas/fe-api-client";var i,s=function(i,s,l){return t(void 0,void 0,void 0,(function(){var t,u,c,d;return r(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,a({operationName:"createPaypalOrder",config:l,variables:i,allReturnFields:o,fields:s,query:function(t){return"\n\t\t\t\tmutation createPaypalOrder (\n\t\t\t\t\t$input: CreateSaleTransactionWithCartInput!,\n\t\t\t\t) {\n\t\t\t\t\tcreatePaypalOrder (\n\t\t\t\t\t\tinput: $input,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=r.sent(),u=t.data,c=t.errors,[2,new e(null==u?void 0:u.createPaypalOrder,c)];case 2:return d=r.sent(),[2,n(d)];case 3:return[2]}}))}))},o="{failUrl returnUrl sessionToken transactionId }";!function(t){t.FAIL_URL="failUrl",t.RETURN_URL="returnUrl",t.SESSION_TOKEN="sessionToken",t.TRANSACTION_ID="transactionId"}(i||(i={}));export{i as ResponseField,s as default};
1
+ import{__awaiter as t,__generator as n}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as r,APIResponse as e,fetchQuery as a}from"@ikas/fe-api-client";var i,o=function(i,o,l){return t(void 0,void 0,void 0,(function(){var t,u,c,d;return n(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,a({operationName:"createPaypalOrder",config:l,variables:i,allReturnFields:s,fields:o,query:function(t){return"\n\t\t\t\tmutation createPaypalOrder (\n\t\t\t\t\t$input: CreateSaleTransactionWithCartInput!,\n\t\t\t\t\t$isPayNow: Boolean,\n\t\t\t\t) {\n\t\t\t\t\tcreatePaypalOrder (\n\t\t\t\t\t\tinput: $input,\n\t\t\t\t\t\tisPayNow: $isPayNow,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=n.sent(),u=t.data,c=t.errors,[2,new e(null==u?void 0:u.createPaypalOrder,c)];case 2:return d=n.sent(),[2,r(d)];case 3:return[2]}}))}))},s="{failUrl returnUrl sessionToken transactionId }";!function(t){t.FAIL_URL="failUrl",t.RETURN_URL="returnUrl",t.SESSION_TOKEN="sessionToken",t.TRANSACTION_ID="transactionId"}(i||(i={}));export{i as ResponseField,o as default};
@@ -1,11 +1,13 @@
1
+ /** DO NOT EDIT - GENERATED AUTO BY IKAS API-CLIENT **/
1
2
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
3
  import { CustomerLoginResponse } from "../types";
3
4
  declare const customerLogin: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<CustomerLoginResponse> | APIResponse<undefined>>;
4
5
  export default customerLogin;
5
6
  export declare type QueryParams = {
6
7
  captchaToken?: string | null;
7
- email: string;
8
- password: string;
8
+ email?: string | null;
9
+ password?: string | null;
10
+ phone?: string | null;
9
11
  };
10
12
  export declare enum ResponseField {
11
13
  CUSTOMER__ACCOUNT_STATUS = "customer.accountStatus",
@@ -89,6 +91,8 @@ export declare enum ResponseField {
89
91
  CUSTOMER__SUBSCRIPTION_STATUS_UPDATED_AT = "customer.subscriptionStatusUpdatedAt",
90
92
  CUSTOMER__TAG_IDS = "customer.tagIds",
91
93
  CUSTOMER__UPDATED_AT = "customer.updatedAt",
94
+ FLOW_ID = "flowId",
95
+ OTP_SEND = "otpSend",
92
96
  TOKEN = "token",
93
97
  TOKEN_EXPIRY = "tokenExpiry"
94
98
  }
@@ -1 +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,u){return e(void 0,void 0,void 0,(function(){var e,o,d,R;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,S({operationName:"customerLogin",config:u,variables:E,allReturnFields:T,fields:r,query:function(e){return"\n\t\t\t\tmutation customerLogin (\n\t\t\t\t\t$captchaToken: String,\n\t\t\t\t\t$email: String!,\n\t\t\t\t\t$password: String!,\n\t\t\t\t) {\n\t\t\t\t\tcustomerLogin (\n\t\t\t\t\t\tcaptchaToken: $captchaToken,\n\t\t\t\t\t\temail: $email,\n\t\t\t\t\t\tpassword: $password,\n\t\t\t\t\t) ".concat(e,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return e=t.sent(),o=e.data,d=e.errors,[2,new s(null==o?void 0:o.customerLogin,d)];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};
1
+ import{__awaiter as t,__generator as e}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 t(void 0,void 0,void 0,(function(){var t,d,u,R;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,S({operationName:"customerLogin",config:o,variables:E,allReturnFields:T,fields:r,query:function(t){return"\n\t\t\t\tmutation customerLogin (\n\t\t\t\t\t$captchaToken: String,\n\t\t\t\t\t$email: String,\n\t\t\t\t\t$password: String,\n\t\t\t\t\t$phone: String,\n\t\t\t\t) {\n\t\t\t\t\tcustomerLogin (\n\t\t\t\t\t\tcaptchaToken: $captchaToken,\n\t\t\t\t\t\temail: $email,\n\t\t\t\t\t\tpassword: $password,\n\t\t\t\t\t\tphone: $phone,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=e.sent(),d=t.data,u=t.errors,[2,new s(null==d?void 0:d.customerLogin,u)];case 2:return R=e.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 } flowId otpSend token tokenExpiry }";!function(t){t.CUSTOMER__ACCOUNT_STATUS="customer.accountStatus",t.CUSTOMER__ACCOUNT_STATUS_UPDATED_AT="customer.accountStatusUpdatedAt",t.CUSTOMER__ADDRESSES__ADDRESS_LINE1="customer.addresses.addressLine1",t.CUSTOMER__ADDRESSES__ADDRESS_LINE2="customer.addresses.addressLine2",t.CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID="customer.addresses.attributes.customerAttributeId",t.CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID="customer.addresses.attributes.customerAttributeOptionId",t.CUSTOMER__ADDRESSES__ATTRIBUTES__VALUE="customer.addresses.attributes.value",t.CUSTOMER__ADDRESSES__CITY__CODE="customer.addresses.city.code",t.CUSTOMER__ADDRESSES__CITY__ID="customer.addresses.city.id",t.CUSTOMER__ADDRESSES__CITY__NAME="customer.addresses.city.name",t.CUSTOMER__ADDRESSES__COMPANY="customer.addresses.company",t.CUSTOMER__ADDRESSES__COUNTRY__CODE="customer.addresses.country.code",t.CUSTOMER__ADDRESSES__COUNTRY__ID="customer.addresses.country.id",t.CUSTOMER__ADDRESSES__COUNTRY__ISO2="customer.addresses.country.iso2",t.CUSTOMER__ADDRESSES__COUNTRY__ISO3="customer.addresses.country.iso3",t.CUSTOMER__ADDRESSES__COUNTRY__NAME="customer.addresses.country.name",t.CUSTOMER__ADDRESSES__CREATED_AT="customer.addresses.createdAt",t.CUSTOMER__ADDRESSES__DELETED="customer.addresses.deleted",t.CUSTOMER__ADDRESSES__DISTRICT__CODE="customer.addresses.district.code",t.CUSTOMER__ADDRESSES__DISTRICT__ID="customer.addresses.district.id",t.CUSTOMER__ADDRESSES__DISTRICT__NAME="customer.addresses.district.name",t.CUSTOMER__ADDRESSES__FIRST_NAME="customer.addresses.firstName",t.CUSTOMER__ADDRESSES__ID="customer.addresses.id",t.CUSTOMER__ADDRESSES__IDENTITY_NUMBER="customer.addresses.identityNumber",t.CUSTOMER__ADDRESSES__IS_DEFAULT="customer.addresses.isDefault",t.CUSTOMER__ADDRESSES__LAST_NAME="customer.addresses.lastName",t.CUSTOMER__ADDRESSES__PHONE="customer.addresses.phone",t.CUSTOMER__ADDRESSES__POSTAL_CODE="customer.addresses.postalCode",t.CUSTOMER__ADDRESSES__REGION__CREATED_AT="customer.addresses.region.createdAt",t.CUSTOMER__ADDRESSES__REGION__DELETED="customer.addresses.region.deleted",t.CUSTOMER__ADDRESSES__REGION__ID="customer.addresses.region.id",t.CUSTOMER__ADDRESSES__REGION__NAME="customer.addresses.region.name",t.CUSTOMER__ADDRESSES__REGION__UPDATED_AT="customer.addresses.region.updatedAt",t.CUSTOMER__ADDRESSES__STATE__CODE="customer.addresses.state.code",t.CUSTOMER__ADDRESSES__STATE__ID="customer.addresses.state.id",t.CUSTOMER__ADDRESSES__STATE__NAME="customer.addresses.state.name",t.CUSTOMER__ADDRESSES__TAX_NUMBER="customer.addresses.taxNumber",t.CUSTOMER__ADDRESSES__TAX_OFFICE="customer.addresses.taxOffice",t.CUSTOMER__ADDRESSES__TITLE="customer.addresses.title",t.CUSTOMER__ADDRESSES__UPDATED_AT="customer.addresses.updatedAt",t.CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID="customer.attributes.customerAttributeId",t.CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID="customer.attributes.customerAttributeOptionId",t.CUSTOMER__ATTRIBUTES__VALUE="customer.attributes.value",t.CUSTOMER__BIRTH_DATE="customer.birthDate",t.CUSTOMER__CREATED_AT="customer.createdAt",t.CUSTOMER__CUSTOMER_GROUP_IDS="customer.customerGroupIds",t.CUSTOMER__CUSTOMER_SEGMENT_IDS="customer.customerSegmentIds",t.CUSTOMER__CUSTOMER_SEQUENCE="customer.customerSequence",t.CUSTOMER__DELETED="customer.deleted",t.CUSTOMER__EMAIL="customer.email",t.CUSTOMER__EMAIL_VERIFIED_DATE="customer.emailVerifiedDate",t.CUSTOMER__FIRST_NAME="customer.firstName",t.CUSTOMER__FULL_NAME="customer.fullName",t.CUSTOMER__GENDER="customer.gender",t.CUSTOMER__ID="customer.id",t.CUSTOMER__IS_EMAIL_VERIFIED="customer.isEmailVerified",t.CUSTOMER__IS_PHONE_VERIFIED="customer.isPhoneVerified",t.CUSTOMER__LAST_NAME="customer.lastName",t.CUSTOMER__NOTE="customer.note",t.CUSTOMER__ORDER_COUNT="customer.orderCount",t.CUSTOMER__PASSWORD_UPDATE_DATE="customer.passwordUpdateDate",t.CUSTOMER__PHONE="customer.phone",t.CUSTOMER__PHONE_SUBSCRIPTION_STATUS="customer.phoneSubscriptionStatus",t.CUSTOMER__PHONE_SUBSCRIPTION_STATUS_UPDATED_AT="customer.phoneSubscriptionStatusUpdatedAt",t.CUSTOMER__PHONE_VERIFIED_DATE="customer.phoneVerifiedDate",t.CUSTOMER__PREFERRED_LANGUAGE="customer.preferredLanguage",t.CUSTOMER__PRICE_LIST_ID="customer.priceListId",t.CUSTOMER__PRICE_LIST_RULES__DISCOUNT_RATE="customer.priceListRules.discountRate",t.CUSTOMER__PRICE_LIST_RULES__FILTERS__TYPE="customer.priceListRules.filters.type",t.CUSTOMER__PRICE_LIST_RULES__FILTERS__VALUE_LIST="customer.priceListRules.filters.valueList",t.CUSTOMER__PRICE_LIST_RULES__PRICE_LIST_ID="customer.priceListRules.priceListId",t.CUSTOMER__PRICE_LIST_RULES__SHOULD_MATCH_ALL_FILTERS="customer.priceListRules.shouldMatchAllFilters",t.CUSTOMER__PRICE_LIST_RULES__VALUE="customer.priceListRules.value",t.CUSTOMER__PRICE_LIST_RULES__VALUE_TYPE="customer.priceListRules.valueType",t.CUSTOMER__REGISTRATION_SOURCE="customer.registrationSource",t.CUSTOMER__SMS_SUBSCRIPTION_STATUS="customer.smsSubscriptionStatus",t.CUSTOMER__SMS_SUBSCRIPTION_STATUS_UPDATED_AT="customer.smsSubscriptionStatusUpdatedAt",t.CUSTOMER__SUBSCRIPTION_STATUS="customer.subscriptionStatus",t.CUSTOMER__SUBSCRIPTION_STATUS_UPDATED_AT="customer.subscriptionStatusUpdatedAt",t.CUSTOMER__TAG_IDS="customer.tagIds",t.CUSTOMER__UPDATED_AT="customer.updatedAt",t.FLOW_ID="flowId",t.OTP_SEND="otpSend",t.TOKEN="token",t.TOKEN_EXPIRY="tokenExpiry"}(E||(E={}));export{E as ResponseField,r as default};
@@ -0,0 +1,13 @@
1
+ /** DO NOT EDIT - GENERATED AUTO BY IKAS API-CLIENT **/
2
+ import { ConfigType, APIResponse } from "@ikas/fe-api-client";
3
+ import { GetCustomerReviewImageUploadUrlResponse } from "../types";
4
+ declare const getCustomerReviewImageUploadUrl: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<undefined> | APIResponse<GetCustomerReviewImageUploadUrlResponse[]>>;
5
+ export default getCustomerReviewImageUploadUrl;
6
+ export declare type QueryParams = {
7
+ count: number;
8
+ };
9
+ export declare enum ResponseField {
10
+ FIELDS = "fields",
11
+ IMAGE_ID = "imageId",
12
+ UPLOAD_URL = "uploadUrl"
13
+ }
@@ -3,7 +3,7 @@ import { CreateSaleTransactionWithCartInput, GetPaypalClientIdResponse } from ".
3
3
  declare const getPaypalClientId: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<GetPaypalClientIdResponse> | APIResponse<undefined>>;
4
4
  export default getPaypalClientId;
5
5
  export declare type QueryParams = {
6
- input: CreateSaleTransactionWithCartInput;
6
+ input?: CreateSaleTransactionWithCartInput | null;
7
7
  };
8
8
  export declare enum ResponseField {
9
9
  CLIENT_ID = "clientId",
@@ -1 +1 @@
1
- import{__awaiter as t,__generator as n}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as e,APIResponse as a,fetchQuery as i}from"@ikas/fe-api-client";var r,l=function(r,l,u){return t(void 0,void 0,void 0,(function(){var t,s,c,d;return n(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,i({operationName:"getPaypalClientId",config:u,variables:r,allReturnFields:o,fields:l,query:function(t){return"\n\t\t\t\tmutation getPaypalClientId (\n\t\t\t\t\t$input: CreateSaleTransactionWithCartInput!,\n\t\t\t\t) {\n\t\t\t\t\tgetPaypalClientId (\n\t\t\t\t\t\tinput: $input,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=n.sent(),s=t.data,c=t.errors,[2,new a(null==s?void 0:s.getPaypalClientId,c)];case 2:return d=n.sent(),[2,e(d)];case 3:return[2]}}))}))},o="{clientId merchantClientId merchantId }";!function(t){t.CLIENT_ID="clientId",t.MERCHANT_CLIENT_ID="merchantClientId",t.MERCHANT_ID="merchantId"}(r||(r={}));export{r as ResponseField,l as default};
1
+ import{__awaiter as t,__generator as n}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as e,APIResponse as a,fetchQuery as i}from"@ikas/fe-api-client";var r,l=function(r,l,u){return t(void 0,void 0,void 0,(function(){var t,s,c,d;return n(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,i({operationName:"getPaypalClientId",config:u,variables:r,allReturnFields:o,fields:l,query:function(t){return"\n\t\t\t\tmutation getPaypalClientId (\n\t\t\t\t\t$input: CreateSaleTransactionWithCartInput,\n\t\t\t\t) {\n\t\t\t\t\tgetPaypalClientId (\n\t\t\t\t\t\tinput: $input,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=n.sent(),s=t.data,c=t.errors,[2,new a(null==s?void 0:s.getPaypalClientId,c)];case 2:return d=n.sent(),[2,e(d)];case 3:return[2]}}))}))},o="{clientId merchantClientId merchantId }";!function(t){t.CLIENT_ID="clientId",t.MERCHANT_CLIENT_ID="merchantClientId",t.MERCHANT_ID="merchantId"}(r||(r={}));export{r as ResponseField,l as default};
@@ -0,0 +1,13 @@
1
+ /** DO NOT EDIT - GENERATED AUTO BY IKAS API-CLIENT **/
2
+ import { ConfigType, APIResponse } from "@ikas/fe-api-client";
3
+ import { CreateSaleTransactionWithCartInput, HepsipayFrameInitResponse } from "../types";
4
+ declare const hepsipayFrameInit: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<HepsipayFrameInitResponse> | APIResponse<undefined>>;
5
+ export default hepsipayFrameInit;
6
+ export declare type QueryParams = {
7
+ input: CreateSaleTransactionWithCartInput;
8
+ };
9
+ export declare enum ResponseField {
10
+ FRAME_TOKEN = "frameToken",
11
+ FRAME_URL = "frameUrl",
12
+ TRANSACTION_ID = "transactionId"
13
+ }
@@ -0,0 +1 @@
1
+ import{__awaiter as t,__generator as n}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as e,APIResponse as r,fetchQuery as a}from"@ikas/fe-api-client";var i,s=function(i,s,u){return t(void 0,void 0,void 0,(function(){var t,p,c,l;return n(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,a({operationName:"hepsipayFrameInit",config:u,variables:i,allReturnFields:o,fields:s,query:function(t){return"\n\t\t\t\tmutation hepsipayFrameInit (\n\t\t\t\t\t$input: CreateSaleTransactionWithCartInput!,\n\t\t\t\t) {\n\t\t\t\t\thepsipayFrameInit (\n\t\t\t\t\t\tinput: $input,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=n.sent(),p=t.data,c=t.errors,[2,new r(null==p?void 0:p.hepsipayFrameInit,c)];case 2:return l=n.sent(),[2,e(l)];case 3:return[2]}}))}))},o="{frameToken frameUrl transactionId }";!function(t){t.FRAME_TOKEN="frameToken",t.FRAME_URL="frameUrl",t.TRANSACTION_ID="transactionId"}(i||(i={}));export{i as ResponseField,s as default};
@@ -1,3 +1,4 @@
1
+ /** DO NOT EDIT - GENERATED AUTO BY IKAS API-CLIENT **/
1
2
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
3
  import { CustomerAttributeValueInput, CustomerLoginResponse } from "../types";
3
4
  declare const registerCustomer: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<CustomerLoginResponse> | APIResponse<undefined>>;
@@ -5,13 +6,14 @@ export default registerCustomer;
5
6
  export declare type QueryParams = {
6
7
  attributes?: CustomerAttributeValueInput[] | null;
7
8
  captchaToken?: string | null;
8
- email: string;
9
- firstName: string;
9
+ email?: string | null;
10
+ firstName?: string | null;
11
+ flowId?: string | null;
10
12
  isAcceptMarketing?: boolean | null;
11
- lastName: string;
13
+ lastName?: string | null;
12
14
  locale?: string | null;
13
15
  orderId?: string | null;
14
- password: string;
16
+ password?: string | null;
15
17
  phone?: string | null;
16
18
  preferredLanguage?: string | null;
17
19
  };
@@ -88,6 +90,8 @@ export declare enum ResponseField {
88
90
  CUSTOMER__SUBSCRIPTION_STATUS_UPDATED_AT = "customer.subscriptionStatusUpdatedAt",
89
91
  CUSTOMER__TAG_IDS = "customer.tagIds",
90
92
  CUSTOMER__UPDATED_AT = "customer.updatedAt",
93
+ FLOW_ID = "flowId",
94
+ OTP_SEND = "otpSend",
91
95
  TOKEN = "token",
92
96
  TOKEN_EXPIRY = "tokenExpiry"
93
97
  }
@@ -1 +1 @@
1
- import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as _,APIResponse as s,fetchQuery as r}from"@ikas/fe-api-client";var E,S=function(E,S,d){return t(void 0,void 0,void 0,(function(){var t,T,o,u;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,r({operationName:"registerCustomer",config:d,variables:E,allReturnFields:a,fields:S,query:function(t){return"\n\t\t\t\tmutation registerCustomer (\n\t\t\t\t\t$attributes: [CustomerAttributeValueInput!],\n\t\t\t\t\t$captchaToken: String,\n\t\t\t\t\t$email: String!,\n\t\t\t\t\t$firstName: String!,\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$password: String!,\n\t\t\t\t\t$phone: String,\n\t\t\t\t\t$preferredLanguage: String,\n\t\t\t\t) {\n\t\t\t\t\tregisterCustomer (\n\t\t\t\t\t\tattributes: $attributes,\n\t\t\t\t\t\tcaptchaToken: $captchaToken,\n\t\t\t\t\t\temail: $email,\n\t\t\t\t\t\tfirstName: $firstName,\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\tpassword: $password,\n\t\t\t\t\t\tphone: $phone,\n\t\t\t\t\t\tpreferredLanguage: $preferredLanguage,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=e.sent(),T=t.data,o=t.errors,[2,new s(null==T?void 0:T.registerCustomer,o)];case 2:return u=e.sent(),[2,_(u)];case 3:return[2]}}))}))},a="{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 } createdAt customerGroupIds customerSequence deleted email emailVerifiedDate firstName fullName id isEmailVerified isPhoneVerified lastName note orderCount passwordUpdateDate phone phoneVerifiedDate preferredLanguage priceListId priceListRules {filters {type valueList } shouldMatchAllFilters value valueType } registrationSource subscriptionStatus subscriptionStatusUpdatedAt tagIds updatedAt } token tokenExpiry }";!function(t){t.CUSTOMER__ACCOUNT_STATUS="customer.accountStatus",t.CUSTOMER__ACCOUNT_STATUS_UPDATED_AT="customer.accountStatusUpdatedAt",t.CUSTOMER__ADDRESSES__ADDRESS_LINE1="customer.addresses.addressLine1",t.CUSTOMER__ADDRESSES__ADDRESS_LINE2="customer.addresses.addressLine2",t.CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID="customer.addresses.attributes.customerAttributeId",t.CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID="customer.addresses.attributes.customerAttributeOptionId",t.CUSTOMER__ADDRESSES__ATTRIBUTES__VALUE="customer.addresses.attributes.value",t.CUSTOMER__ADDRESSES__CITY__CODE="customer.addresses.city.code",t.CUSTOMER__ADDRESSES__CITY__ID="customer.addresses.city.id",t.CUSTOMER__ADDRESSES__CITY__NAME="customer.addresses.city.name",t.CUSTOMER__ADDRESSES__COMPANY="customer.addresses.company",t.CUSTOMER__ADDRESSES__COUNTRY__CODE="customer.addresses.country.code",t.CUSTOMER__ADDRESSES__COUNTRY__ID="customer.addresses.country.id",t.CUSTOMER__ADDRESSES__COUNTRY__ISO2="customer.addresses.country.iso2",t.CUSTOMER__ADDRESSES__COUNTRY__ISO3="customer.addresses.country.iso3",t.CUSTOMER__ADDRESSES__COUNTRY__NAME="customer.addresses.country.name",t.CUSTOMER__ADDRESSES__CREATED_AT="customer.addresses.createdAt",t.CUSTOMER__ADDRESSES__DELETED="customer.addresses.deleted",t.CUSTOMER__ADDRESSES__DISTRICT__CODE="customer.addresses.district.code",t.CUSTOMER__ADDRESSES__DISTRICT__ID="customer.addresses.district.id",t.CUSTOMER__ADDRESSES__DISTRICT__NAME="customer.addresses.district.name",t.CUSTOMER__ADDRESSES__FIRST_NAME="customer.addresses.firstName",t.CUSTOMER__ADDRESSES__ID="customer.addresses.id",t.CUSTOMER__ADDRESSES__IDENTITY_NUMBER="customer.addresses.identityNumber",t.CUSTOMER__ADDRESSES__IS_DEFAULT="customer.addresses.isDefault",t.CUSTOMER__ADDRESSES__LAST_NAME="customer.addresses.lastName",t.CUSTOMER__ADDRESSES__PHONE="customer.addresses.phone",t.CUSTOMER__ADDRESSES__POSTAL_CODE="customer.addresses.postalCode",t.CUSTOMER__ADDRESSES__REGION__CREATED_AT="customer.addresses.region.createdAt",t.CUSTOMER__ADDRESSES__REGION__DELETED="customer.addresses.region.deleted",t.CUSTOMER__ADDRESSES__REGION__ID="customer.addresses.region.id",t.CUSTOMER__ADDRESSES__REGION__NAME="customer.addresses.region.name",t.CUSTOMER__ADDRESSES__REGION__UPDATED_AT="customer.addresses.region.updatedAt",t.CUSTOMER__ADDRESSES__STATE__CODE="customer.addresses.state.code",t.CUSTOMER__ADDRESSES__STATE__ID="customer.addresses.state.id",t.CUSTOMER__ADDRESSES__STATE__NAME="customer.addresses.state.name",t.CUSTOMER__ADDRESSES__TAX_NUMBER="customer.addresses.taxNumber",t.CUSTOMER__ADDRESSES__TAX_OFFICE="customer.addresses.taxOffice",t.CUSTOMER__ADDRESSES__TITLE="customer.addresses.title",t.CUSTOMER__ADDRESSES__UPDATED_AT="customer.addresses.updatedAt",t.CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID="customer.attributes.customerAttributeId",t.CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID="customer.attributes.customerAttributeOptionId",t.CUSTOMER__ATTRIBUTES__VALUE="customer.attributes.value",t.CUSTOMER__CREATED_AT="customer.createdAt",t.CUSTOMER__CUSTOMER_GROUP_IDS="customer.customerGroupIds",t.CUSTOMER__CUSTOMER_SEQUENCE="customer.customerSequence",t.CUSTOMER__DELETED="customer.deleted",t.CUSTOMER__EMAIL="customer.email",t.CUSTOMER__EMAIL_VERIFIED_DATE="customer.emailVerifiedDate",t.CUSTOMER__FIRST_NAME="customer.firstName",t.CUSTOMER__FULL_NAME="customer.fullName",t.CUSTOMER__ID="customer.id",t.CUSTOMER__IS_EMAIL_VERIFIED="customer.isEmailVerified",t.CUSTOMER__IS_PHONE_VERIFIED="customer.isPhoneVerified",t.CUSTOMER__LAST_NAME="customer.lastName",t.CUSTOMER__NOTE="customer.note",t.CUSTOMER__ORDER_COUNT="customer.orderCount",t.CUSTOMER__PASSWORD_UPDATE_DATE="customer.passwordUpdateDate",t.CUSTOMER__PHONE="customer.phone",t.CUSTOMER__PHONE_VERIFIED_DATE="customer.phoneVerifiedDate",t.CUSTOMER__PREFERRED_LANGUAGE="customer.preferredLanguage",t.CUSTOMER__PRICE_LIST_ID="customer.priceListId",t.CUSTOMER__PRICE_LIST_RULES__FILTERS__TYPE="customer.priceListRules.filters.type",t.CUSTOMER__PRICE_LIST_RULES__FILTERS__VALUE_LIST="customer.priceListRules.filters.valueList",t.CUSTOMER__PRICE_LIST_RULES__SHOULD_MATCH_ALL_FILTERS="customer.priceListRules.shouldMatchAllFilters",t.CUSTOMER__PRICE_LIST_RULES__VALUE="customer.priceListRules.value",t.CUSTOMER__PRICE_LIST_RULES__VALUE_TYPE="customer.priceListRules.valueType",t.CUSTOMER__REGISTRATION_SOURCE="customer.registrationSource",t.CUSTOMER__SUBSCRIPTION_STATUS="customer.subscriptionStatus",t.CUSTOMER__SUBSCRIPTION_STATUS_UPDATED_AT="customer.subscriptionStatusUpdatedAt",t.CUSTOMER__TAG_IDS="customer.tagIds",t.CUSTOMER__UPDATED_AT="customer.updatedAt",t.TOKEN="token",t.TOKEN_EXPIRY="tokenExpiry"}(E||(E={}));export{E as ResponseField,S as default};
1
+ import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as s,APIResponse as _,fetchQuery as r}from"@ikas/fe-api-client";var S,E=function(S,E,a){return t(void 0,void 0,void 0,(function(){var t,o,u,i;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,r({operationName:"registerCustomer",config:a,variables:S,allReturnFields:d,fields:E,query:function(t){return"\n\t\t\t\tmutation registerCustomer (\n\t\t\t\t\t$attributes: [CustomerAttributeValueInput!],\n\t\t\t\t\t$captchaToken: String,\n\t\t\t\t\t$email: String,\n\t\t\t\t\t$firstName: String,\n\t\t\t\t\t$flowId: String,\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$password: String,\n\t\t\t\t\t$phone: String,\n\t\t\t\t\t$preferredLanguage: String,\n\t\t\t\t) {\n\t\t\t\t\tregisterCustomer (\n\t\t\t\t\t\tattributes: $attributes,\n\t\t\t\t\t\tcaptchaToken: $captchaToken,\n\t\t\t\t\t\temail: $email,\n\t\t\t\t\t\tfirstName: $firstName,\n\t\t\t\t\t\tflowId: $flowId,\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\tpassword: $password,\n\t\t\t\t\t\tphone: $phone,\n\t\t\t\t\t\tpreferredLanguage: $preferredLanguage,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=e.sent(),o=t.data,u=t.errors,[2,new _(null==o?void 0:o.registerCustomer,u)];case 2:return i=e.sent(),[2,s(i)];case 3:return[2]}}))}))},d="{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 } flowId otpSend token tokenExpiry }";!function(t){t.CUSTOMER__ACCOUNT_STATUS="customer.accountStatus",t.CUSTOMER__ACCOUNT_STATUS_UPDATED_AT="customer.accountStatusUpdatedAt",t.CUSTOMER__ADDRESSES__ADDRESS_LINE1="customer.addresses.addressLine1",t.CUSTOMER__ADDRESSES__ADDRESS_LINE2="customer.addresses.addressLine2",t.CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID="customer.addresses.attributes.customerAttributeId",t.CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID="customer.addresses.attributes.customerAttributeOptionId",t.CUSTOMER__ADDRESSES__ATTRIBUTES__VALUE="customer.addresses.attributes.value",t.CUSTOMER__ADDRESSES__CITY__CODE="customer.addresses.city.code",t.CUSTOMER__ADDRESSES__CITY__ID="customer.addresses.city.id",t.CUSTOMER__ADDRESSES__CITY__NAME="customer.addresses.city.name",t.CUSTOMER__ADDRESSES__COMPANY="customer.addresses.company",t.CUSTOMER__ADDRESSES__COUNTRY__CODE="customer.addresses.country.code",t.CUSTOMER__ADDRESSES__COUNTRY__ID="customer.addresses.country.id",t.CUSTOMER__ADDRESSES__COUNTRY__ISO2="customer.addresses.country.iso2",t.CUSTOMER__ADDRESSES__COUNTRY__ISO3="customer.addresses.country.iso3",t.CUSTOMER__ADDRESSES__COUNTRY__NAME="customer.addresses.country.name",t.CUSTOMER__ADDRESSES__CREATED_AT="customer.addresses.createdAt",t.CUSTOMER__ADDRESSES__DELETED="customer.addresses.deleted",t.CUSTOMER__ADDRESSES__DISTRICT__CODE="customer.addresses.district.code",t.CUSTOMER__ADDRESSES__DISTRICT__ID="customer.addresses.district.id",t.CUSTOMER__ADDRESSES__DISTRICT__NAME="customer.addresses.district.name",t.CUSTOMER__ADDRESSES__FIRST_NAME="customer.addresses.firstName",t.CUSTOMER__ADDRESSES__ID="customer.addresses.id",t.CUSTOMER__ADDRESSES__IDENTITY_NUMBER="customer.addresses.identityNumber",t.CUSTOMER__ADDRESSES__IS_DEFAULT="customer.addresses.isDefault",t.CUSTOMER__ADDRESSES__LAST_NAME="customer.addresses.lastName",t.CUSTOMER__ADDRESSES__PHONE="customer.addresses.phone",t.CUSTOMER__ADDRESSES__POSTAL_CODE="customer.addresses.postalCode",t.CUSTOMER__ADDRESSES__REGION__CREATED_AT="customer.addresses.region.createdAt",t.CUSTOMER__ADDRESSES__REGION__DELETED="customer.addresses.region.deleted",t.CUSTOMER__ADDRESSES__REGION__ID="customer.addresses.region.id",t.CUSTOMER__ADDRESSES__REGION__NAME="customer.addresses.region.name",t.CUSTOMER__ADDRESSES__REGION__UPDATED_AT="customer.addresses.region.updatedAt",t.CUSTOMER__ADDRESSES__STATE__CODE="customer.addresses.state.code",t.CUSTOMER__ADDRESSES__STATE__ID="customer.addresses.state.id",t.CUSTOMER__ADDRESSES__STATE__NAME="customer.addresses.state.name",t.CUSTOMER__ADDRESSES__TAX_NUMBER="customer.addresses.taxNumber",t.CUSTOMER__ADDRESSES__TAX_OFFICE="customer.addresses.taxOffice",t.CUSTOMER__ADDRESSES__TITLE="customer.addresses.title",t.CUSTOMER__ADDRESSES__UPDATED_AT="customer.addresses.updatedAt",t.CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID="customer.attributes.customerAttributeId",t.CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID="customer.attributes.customerAttributeOptionId",t.CUSTOMER__ATTRIBUTES__VALUE="customer.attributes.value",t.CUSTOMER__CREATED_AT="customer.createdAt",t.CUSTOMER__CUSTOMER_GROUP_IDS="customer.customerGroupIds",t.CUSTOMER__CUSTOMER_SEQUENCE="customer.customerSequence",t.CUSTOMER__DELETED="customer.deleted",t.CUSTOMER__EMAIL="customer.email",t.CUSTOMER__EMAIL_VERIFIED_DATE="customer.emailVerifiedDate",t.CUSTOMER__FIRST_NAME="customer.firstName",t.CUSTOMER__FULL_NAME="customer.fullName",t.CUSTOMER__ID="customer.id",t.CUSTOMER__IS_EMAIL_VERIFIED="customer.isEmailVerified",t.CUSTOMER__IS_PHONE_VERIFIED="customer.isPhoneVerified",t.CUSTOMER__LAST_NAME="customer.lastName",t.CUSTOMER__NOTE="customer.note",t.CUSTOMER__ORDER_COUNT="customer.orderCount",t.CUSTOMER__PASSWORD_UPDATE_DATE="customer.passwordUpdateDate",t.CUSTOMER__PHONE="customer.phone",t.CUSTOMER__PHONE_VERIFIED_DATE="customer.phoneVerifiedDate",t.CUSTOMER__PREFERRED_LANGUAGE="customer.preferredLanguage",t.CUSTOMER__PRICE_LIST_ID="customer.priceListId",t.CUSTOMER__PRICE_LIST_RULES__FILTERS__TYPE="customer.priceListRules.filters.type",t.CUSTOMER__PRICE_LIST_RULES__FILTERS__VALUE_LIST="customer.priceListRules.filters.valueList",t.CUSTOMER__PRICE_LIST_RULES__SHOULD_MATCH_ALL_FILTERS="customer.priceListRules.shouldMatchAllFilters",t.CUSTOMER__PRICE_LIST_RULES__VALUE="customer.priceListRules.value",t.CUSTOMER__PRICE_LIST_RULES__VALUE_TYPE="customer.priceListRules.valueType",t.CUSTOMER__REGISTRATION_SOURCE="customer.registrationSource",t.CUSTOMER__SUBSCRIPTION_STATUS="customer.subscriptionStatus",t.CUSTOMER__SUBSCRIPTION_STATUS_UPDATED_AT="customer.subscriptionStatusUpdatedAt",t.CUSTOMER__TAG_IDS="customer.tagIds",t.CUSTOMER__UPDATED_AT="customer.updatedAt",t.FLOW_ID="flowId",t.OTP_SEND="otpSend",t.TOKEN="token",t.TOKEN_EXPIRY="tokenExpiry"}(S||(S={}));export{S as ResponseField,E as default};
@@ -1,7 +1,4 @@
1
+ /** DO NOT EDIT - GENERATED AUTO BY IKAS API-CLIENT **/
1
2
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
- declare const resendCustomerPhoneVerificationCode: (variables: QueryParams, config?: ConfigType) => Promise<APIResponse<boolean> | APIResponse<undefined>>;
3
+ declare const resendCustomerPhoneVerificationCode: (config?: ConfigType) => Promise<APIResponse<boolean> | APIResponse<undefined>>;
3
4
  export default resendCustomerPhoneVerificationCode;
4
- export declare type QueryParams = {
5
- captchaToken?: string | null;
6
- email: string;
7
- };
@@ -1 +1 @@
1
- import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as n,APIResponse as r,fetchQuery as o}from"@ikas/fe-api-client";var i=function(i,a){return t(void 0,void 0,void 0,(function(){var t,s,c,u;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,o({operationName:"resendCustomerPhoneVerificationCode",config:a,variables:i,query:"\n\t\t\t\tmutation resendCustomerPhoneVerificationCode (\n\t\t\t\t\t$captchaToken: String,\n\t\t\t\t\t$email: String!,\n\t\t\t\t) {\n\t\t\t\t\tresendCustomerPhoneVerificationCode (\n\t\t\t\t\t\tcaptchaToken: $captchaToken,\n\t\t\t\t\t\temail: $email,\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t"})];case 1:return t=e.sent(),s=t.data,c=t.errors,[2,new r(null==s?void 0:s.resendCustomerPhoneVerificationCode,c)];case 2:return u=e.sent(),[2,n(u)];case 3:return[2]}}))}))};export{i as default};
1
+ import{__awaiter as e,__generator as t}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as n,APIResponse as r,fetchQuery as o}from"@ikas/fe-api-client";var i=function(i){return e(void 0,void 0,void 0,(function(){var e,s,a,u;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,o({operationName:"resendCustomerPhoneVerificationCode",config:i,query:"\n\t\t\t\tmutation resendCustomerPhoneVerificationCode {\n\t\t\t\t\tresendCustomerPhoneVerificationCode\n\t\t\t\t}\n\t\t\t"})];case 1:return e=t.sent(),s=e.data,a=e.errors,[2,new r(null==s?void 0:s.resendCustomerPhoneVerificationCode,a)];case 2:return u=t.sent(),[2,n(u)];case 3:return[2]}}))}))};export{i as default};
@@ -0,0 +1,8 @@
1
+ /** DO NOT EDIT - GENERATED AUTO BY IKAS API-CLIENT **/
2
+ import { ConfigType, APIResponse } from "@ikas/fe-api-client";
3
+ import { UpdatePaypalOrderInput } from "../types";
4
+ declare const updatePaypalOrder: (variables: QueryParams, config?: ConfigType) => Promise<APIResponse<boolean> | APIResponse<undefined>>;
5
+ export default updatePaypalOrder;
6
+ export declare type QueryParams = {
7
+ input: UpdatePaypalOrderInput;
8
+ };
@@ -0,0 +1 @@
1
+ import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as r,APIResponse as a,fetchQuery as n}from"@ikas/fe-api-client";var i=function(i,u){return t(void 0,void 0,void 0,(function(){var t,p,o,s;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,n({operationName:"updatePaypalOrder",config:u,variables:i,query:"\n\t\t\t\tmutation updatePaypalOrder (\n\t\t\t\t\t$input: UpdatePaypalOrderInput!,\n\t\t\t\t) {\n\t\t\t\t\tupdatePaypalOrder (\n\t\t\t\t\t\tinput: $input,\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t"})];case 1:return t=e.sent(),p=t.data,o=t.errors,[2,new a(null==p?void 0:p.updatePaypalOrder,o)];case 2:return s=e.sent(),[2,r(s)];case 3:return[2]}}))}))};export{i as default};
@@ -3,5 +3,6 @@ declare const validateCustomerPhoneVerificationCode: (variables: QueryParams, co
3
3
  export default validateCustomerPhoneVerificationCode;
4
4
  export declare type QueryParams = {
5
5
  captchaToken?: string | null;
6
+ otpInfo?: string | null;
6
7
  verificationCode: string;
7
8
  };
@@ -1 +1 @@
1
- import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as i,APIResponse as n,fetchQuery as o}from"@ikas/fe-api-client";var a=function(a,r){return t(void 0,void 0,void 0,(function(){var t,c,s,d;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,o({operationName:"validateCustomerPhoneVerificationCode",config:r,variables:a,query:"\n\t\t\t\tmutation validateCustomerPhoneVerificationCode (\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\tvalidateCustomerPhoneVerificationCode (\n\t\t\t\t\t\tcaptchaToken: $captchaToken,\n\t\t\t\t\t\tverificationCode: $verificationCode,\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t"})];case 1:return t=e.sent(),c=t.data,s=t.errors,[2,new n(null==c?void 0:c.validateCustomerPhoneVerificationCode,s)];case 2:return d=e.sent(),[2,i(d)];case 3:return[2]}}))}))};export{a as default};
1
+ import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as n,APIResponse as o,fetchQuery as i}from"@ikas/fe-api-client";var r=function(r,a){return t(void 0,void 0,void 0,(function(){var t,c,s,d;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,i({operationName:"validateCustomerPhoneVerificationCode",config:a,variables:r,query:"\n\t\t\t\tmutation validateCustomerPhoneVerificationCode (\n\t\t\t\t\t$captchaToken: String,\n\t\t\t\t\t$otpInfo: String,\n\t\t\t\t\t$verificationCode: String!,\n\t\t\t\t) {\n\t\t\t\t\tvalidateCustomerPhoneVerificationCode (\n\t\t\t\t\t\tcaptchaToken: $captchaToken,\n\t\t\t\t\t\totpInfo: $otpInfo,\n\t\t\t\t\t\tverificationCode: $verificationCode,\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t"})];case 1:return t=e.sent(),c=t.data,s=t.errors,[2,new o(null==c?void 0:c.validateCustomerPhoneVerificationCode,s)];case 2:return d=e.sent(),[2,n(d)];case 3:return[2]}}))}))};export{r as default};
@@ -0,0 +1,97 @@
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 validateOTPCode: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<CustomerLoginResponse> | APIResponse<undefined>>;
5
+ export default validateOTPCode;
6
+ export declare type QueryParams = {
7
+ captchaToken?: string | null;
8
+ otpInfo?: string | null;
9
+ verificationCode: string;
10
+ };
11
+ export declare enum ResponseField {
12
+ CUSTOMER__ACCOUNT_STATUS = "customer.accountStatus",
13
+ CUSTOMER__ACCOUNT_STATUS_UPDATED_AT = "customer.accountStatusUpdatedAt",
14
+ CUSTOMER__ADDRESSES__ADDRESS_LINE1 = "customer.addresses.addressLine1",
15
+ CUSTOMER__ADDRESSES__ADDRESS_LINE2 = "customer.addresses.addressLine2",
16
+ CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID = "customer.addresses.attributes.customerAttributeId",
17
+ CUSTOMER__ADDRESSES__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID = "customer.addresses.attributes.customerAttributeOptionId",
18
+ CUSTOMER__ADDRESSES__ATTRIBUTES__VALUE = "customer.addresses.attributes.value",
19
+ CUSTOMER__ADDRESSES__CITY__CODE = "customer.addresses.city.code",
20
+ CUSTOMER__ADDRESSES__CITY__ID = "customer.addresses.city.id",
21
+ CUSTOMER__ADDRESSES__CITY__NAME = "customer.addresses.city.name",
22
+ CUSTOMER__ADDRESSES__COMPANY = "customer.addresses.company",
23
+ CUSTOMER__ADDRESSES__COUNTRY__CODE = "customer.addresses.country.code",
24
+ CUSTOMER__ADDRESSES__COUNTRY__ID = "customer.addresses.country.id",
25
+ CUSTOMER__ADDRESSES__COUNTRY__ISO2 = "customer.addresses.country.iso2",
26
+ CUSTOMER__ADDRESSES__COUNTRY__ISO3 = "customer.addresses.country.iso3",
27
+ CUSTOMER__ADDRESSES__COUNTRY__NAME = "customer.addresses.country.name",
28
+ CUSTOMER__ADDRESSES__CREATED_AT = "customer.addresses.createdAt",
29
+ CUSTOMER__ADDRESSES__DELETED = "customer.addresses.deleted",
30
+ CUSTOMER__ADDRESSES__DISTRICT__CODE = "customer.addresses.district.code",
31
+ CUSTOMER__ADDRESSES__DISTRICT__ID = "customer.addresses.district.id",
32
+ CUSTOMER__ADDRESSES__DISTRICT__NAME = "customer.addresses.district.name",
33
+ CUSTOMER__ADDRESSES__FIRST_NAME = "customer.addresses.firstName",
34
+ CUSTOMER__ADDRESSES__ID = "customer.addresses.id",
35
+ CUSTOMER__ADDRESSES__IDENTITY_NUMBER = "customer.addresses.identityNumber",
36
+ CUSTOMER__ADDRESSES__IS_DEFAULT = "customer.addresses.isDefault",
37
+ CUSTOMER__ADDRESSES__LAST_NAME = "customer.addresses.lastName",
38
+ CUSTOMER__ADDRESSES__PHONE = "customer.addresses.phone",
39
+ CUSTOMER__ADDRESSES__POSTAL_CODE = "customer.addresses.postalCode",
40
+ CUSTOMER__ADDRESSES__REGION__CREATED_AT = "customer.addresses.region.createdAt",
41
+ CUSTOMER__ADDRESSES__REGION__DELETED = "customer.addresses.region.deleted",
42
+ CUSTOMER__ADDRESSES__REGION__ID = "customer.addresses.region.id",
43
+ CUSTOMER__ADDRESSES__REGION__NAME = "customer.addresses.region.name",
44
+ CUSTOMER__ADDRESSES__REGION__UPDATED_AT = "customer.addresses.region.updatedAt",
45
+ CUSTOMER__ADDRESSES__STATE__CODE = "customer.addresses.state.code",
46
+ CUSTOMER__ADDRESSES__STATE__ID = "customer.addresses.state.id",
47
+ CUSTOMER__ADDRESSES__STATE__NAME = "customer.addresses.state.name",
48
+ CUSTOMER__ADDRESSES__TAX_NUMBER = "customer.addresses.taxNumber",
49
+ CUSTOMER__ADDRESSES__TAX_OFFICE = "customer.addresses.taxOffice",
50
+ CUSTOMER__ADDRESSES__TITLE = "customer.addresses.title",
51
+ CUSTOMER__ADDRESSES__UPDATED_AT = "customer.addresses.updatedAt",
52
+ CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_ID = "customer.attributes.customerAttributeId",
53
+ CUSTOMER__ATTRIBUTES__CUSTOMER_ATTRIBUTE_OPTION_ID = "customer.attributes.customerAttributeOptionId",
54
+ CUSTOMER__ATTRIBUTES__VALUE = "customer.attributes.value",
55
+ CUSTOMER__BIRTH_DATE = "customer.birthDate",
56
+ CUSTOMER__CREATED_AT = "customer.createdAt",
57
+ CUSTOMER__CUSTOMER_GROUP_IDS = "customer.customerGroupIds",
58
+ CUSTOMER__CUSTOMER_SEGMENT_IDS = "customer.customerSegmentIds",
59
+ CUSTOMER__CUSTOMER_SEQUENCE = "customer.customerSequence",
60
+ CUSTOMER__DELETED = "customer.deleted",
61
+ CUSTOMER__EMAIL = "customer.email",
62
+ CUSTOMER__EMAIL_VERIFIED_DATE = "customer.emailVerifiedDate",
63
+ CUSTOMER__FIRST_NAME = "customer.firstName",
64
+ CUSTOMER__FULL_NAME = "customer.fullName",
65
+ CUSTOMER__GENDER = "customer.gender",
66
+ CUSTOMER__ID = "customer.id",
67
+ CUSTOMER__IS_EMAIL_VERIFIED = "customer.isEmailVerified",
68
+ CUSTOMER__IS_PHONE_VERIFIED = "customer.isPhoneVerified",
69
+ CUSTOMER__LAST_NAME = "customer.lastName",
70
+ CUSTOMER__NOTE = "customer.note",
71
+ CUSTOMER__ORDER_COUNT = "customer.orderCount",
72
+ CUSTOMER__PASSWORD_UPDATE_DATE = "customer.passwordUpdateDate",
73
+ CUSTOMER__PHONE = "customer.phone",
74
+ CUSTOMER__PHONE_SUBSCRIPTION_STATUS = "customer.phoneSubscriptionStatus",
75
+ CUSTOMER__PHONE_SUBSCRIPTION_STATUS_UPDATED_AT = "customer.phoneSubscriptionStatusUpdatedAt",
76
+ CUSTOMER__PHONE_VERIFIED_DATE = "customer.phoneVerifiedDate",
77
+ CUSTOMER__PREFERRED_LANGUAGE = "customer.preferredLanguage",
78
+ CUSTOMER__PRICE_LIST_ID = "customer.priceListId",
79
+ CUSTOMER__PRICE_LIST_RULES__DISCOUNT_RATE = "customer.priceListRules.discountRate",
80
+ CUSTOMER__PRICE_LIST_RULES__FILTERS__TYPE = "customer.priceListRules.filters.type",
81
+ CUSTOMER__PRICE_LIST_RULES__FILTERS__VALUE_LIST = "customer.priceListRules.filters.valueList",
82
+ CUSTOMER__PRICE_LIST_RULES__PRICE_LIST_ID = "customer.priceListRules.priceListId",
83
+ CUSTOMER__PRICE_LIST_RULES__SHOULD_MATCH_ALL_FILTERS = "customer.priceListRules.shouldMatchAllFilters",
84
+ CUSTOMER__PRICE_LIST_RULES__VALUE = "customer.priceListRules.value",
85
+ CUSTOMER__PRICE_LIST_RULES__VALUE_TYPE = "customer.priceListRules.valueType",
86
+ CUSTOMER__REGISTRATION_SOURCE = "customer.registrationSource",
87
+ CUSTOMER__SMS_SUBSCRIPTION_STATUS = "customer.smsSubscriptionStatus",
88
+ CUSTOMER__SMS_SUBSCRIPTION_STATUS_UPDATED_AT = "customer.smsSubscriptionStatusUpdatedAt",
89
+ CUSTOMER__SUBSCRIPTION_STATUS = "customer.subscriptionStatus",
90
+ CUSTOMER__SUBSCRIPTION_STATUS_UPDATED_AT = "customer.subscriptionStatusUpdatedAt",
91
+ CUSTOMER__TAG_IDS = "customer.tagIds",
92
+ CUSTOMER__UPDATED_AT = "customer.updatedAt",
93
+ FLOW_ID = "flowId",
94
+ OTP_SEND = "otpSend",
95
+ TOKEN = "token",
96
+ TOKEN_EXPIRY = "tokenExpiry"
97
+ }
@@ -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,d){return e(void 0,void 0,void 0,(function(){var e,o,u,R;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,S({operationName:"validateOTPCode",config:d,variables:E,allReturnFields:T,fields:r,query:function(e){return"\n\t\t\t\tmutation validateOTPCode (\n\t\t\t\t\t$captchaToken: String,\n\t\t\t\t\t$otpInfo: String,\n\t\t\t\t\t$verificationCode: String!,\n\t\t\t\t) {\n\t\t\t\t\tvalidateOTPCode (\n\t\t\t\t\t\tcaptchaToken: $captchaToken,\n\t\t\t\t\t\totpInfo: $otpInfo,\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(),o=e.data,u=e.errors,[2,new s(null==o?void 0:o.validateOTPCode,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 } flowId otpSend 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.FLOW_ID="flowId",e.OTP_SEND="otpSend",e.TOKEN="token",e.TOKEN_EXPIRY="tokenExpiry"}(E||(E={}));export{E as ResponseField,r as default};
@@ -3,6 +3,7 @@ import { CheckStocksLineInput, GetAvailableStockLocationsResponse } from "../typ
3
3
  declare const getAvailableStockLocations: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<GetAvailableStockLocationsResponse> | APIResponse<undefined>>;
4
4
  export default getAvailableStockLocations;
5
5
  export declare type QueryParams = {
6
+ cartId?: string | null;
6
7
  lines: CheckStocksLineInput[];
7
8
  stockLocationIdList?: string[] | null;
8
9
  };
@@ -1 +1 @@
1
- import{__awaiter as t,__generator as s}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as o,APIResponse as _,fetchQuery as c}from"@ikas/fe-api-client";var e,a=function(e,a,i){return t(void 0,void 0,void 0,(function(){var t,n,d,O;return s(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,c({operationName:"getAvailableStockLocations",config:i,variables:e,allReturnFields:S,fields:a,query:function(t){return"\n\t\t\t\tquery getAvailableStockLocations (\n\t\t\t\t\t$lines: [CheckStocksLineInput!]!,\n\t\t\t\t\t$stockLocationIdList: [String!],\n\t\t\t\t) {\n\t\t\t\t\tgetAvailableStockLocations (\n\t\t\t\t\t\tlines: $lines,\n\t\t\t\t\t\tstockLocationIdList: $stockLocationIdList,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=s.sent(),n=t.data,d=t.errors,[2,new _(null==n?void 0:n.getAvailableStockLocations,d)];case 2:return O=s.sent(),[2,o(O)];case 3:return[2]}}))}))},S="{stockLocations {address {address city {code id name } country {code id iso2 iso3 name } district {code id name } phone postalCode state {code id name } } id name type } }";!function(t){t.STOCK_LOCATIONS__ADDRESS__ADDRESS="stockLocations.address.address",t.STOCK_LOCATIONS__ADDRESS__CITY__CODE="stockLocations.address.city.code",t.STOCK_LOCATIONS__ADDRESS__CITY__ID="stockLocations.address.city.id",t.STOCK_LOCATIONS__ADDRESS__CITY__NAME="stockLocations.address.city.name",t.STOCK_LOCATIONS__ADDRESS__COUNTRY__CODE="stockLocations.address.country.code",t.STOCK_LOCATIONS__ADDRESS__COUNTRY__ID="stockLocations.address.country.id",t.STOCK_LOCATIONS__ADDRESS__COUNTRY__ISO2="stockLocations.address.country.iso2",t.STOCK_LOCATIONS__ADDRESS__COUNTRY__ISO3="stockLocations.address.country.iso3",t.STOCK_LOCATIONS__ADDRESS__COUNTRY__NAME="stockLocations.address.country.name",t.STOCK_LOCATIONS__ADDRESS__DISTRICT__CODE="stockLocations.address.district.code",t.STOCK_LOCATIONS__ADDRESS__DISTRICT__ID="stockLocations.address.district.id",t.STOCK_LOCATIONS__ADDRESS__DISTRICT__NAME="stockLocations.address.district.name",t.STOCK_LOCATIONS__ADDRESS__PHONE="stockLocations.address.phone",t.STOCK_LOCATIONS__ADDRESS__POSTAL_CODE="stockLocations.address.postalCode",t.STOCK_LOCATIONS__ADDRESS__STATE__CODE="stockLocations.address.state.code",t.STOCK_LOCATIONS__ADDRESS__STATE__ID="stockLocations.address.state.id",t.STOCK_LOCATIONS__ADDRESS__STATE__NAME="stockLocations.address.state.name",t.STOCK_LOCATIONS__ID="stockLocations.id",t.STOCK_LOCATIONS__NAME="stockLocations.name",t.STOCK_LOCATIONS__TYPE="stockLocations.type"}(e||(e={}));export{e as ResponseField,a as default};
1
+ import{__awaiter as t,__generator as s}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as o,APIResponse as _,fetchQuery as c}from"@ikas/fe-api-client";var a,e=function(a,e,S){return t(void 0,void 0,void 0,(function(){var t,i,d,O;return s(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,c({operationName:"getAvailableStockLocations",config:S,variables:a,allReturnFields:n,fields:e,query:function(t){return"\n\t\t\t\tquery getAvailableStockLocations (\n\t\t\t\t\t$cartId: String,\n\t\t\t\t\t$lines: [CheckStocksLineInput!]!,\n\t\t\t\t\t$stockLocationIdList: [String!],\n\t\t\t\t) {\n\t\t\t\t\tgetAvailableStockLocations (\n\t\t\t\t\t\tcartId: $cartId,\n\t\t\t\t\t\tlines: $lines,\n\t\t\t\t\t\tstockLocationIdList: $stockLocationIdList,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=s.sent(),i=t.data,d=t.errors,[2,new _(null==i?void 0:i.getAvailableStockLocations,d)];case 2:return O=s.sent(),[2,o(O)];case 3:return[2]}}))}))},n="{stockLocations {address {address city {code id name } country {code id iso2 iso3 name } district {code id name } phone postalCode state {code id name } } id name type } }";!function(t){t.STOCK_LOCATIONS__ADDRESS__ADDRESS="stockLocations.address.address",t.STOCK_LOCATIONS__ADDRESS__CITY__CODE="stockLocations.address.city.code",t.STOCK_LOCATIONS__ADDRESS__CITY__ID="stockLocations.address.city.id",t.STOCK_LOCATIONS__ADDRESS__CITY__NAME="stockLocations.address.city.name",t.STOCK_LOCATIONS__ADDRESS__COUNTRY__CODE="stockLocations.address.country.code",t.STOCK_LOCATIONS__ADDRESS__COUNTRY__ID="stockLocations.address.country.id",t.STOCK_LOCATIONS__ADDRESS__COUNTRY__ISO2="stockLocations.address.country.iso2",t.STOCK_LOCATIONS__ADDRESS__COUNTRY__ISO3="stockLocations.address.country.iso3",t.STOCK_LOCATIONS__ADDRESS__COUNTRY__NAME="stockLocations.address.country.name",t.STOCK_LOCATIONS__ADDRESS__DISTRICT__CODE="stockLocations.address.district.code",t.STOCK_LOCATIONS__ADDRESS__DISTRICT__ID="stockLocations.address.district.id",t.STOCK_LOCATIONS__ADDRESS__DISTRICT__NAME="stockLocations.address.district.name",t.STOCK_LOCATIONS__ADDRESS__PHONE="stockLocations.address.phone",t.STOCK_LOCATIONS__ADDRESS__POSTAL_CODE="stockLocations.address.postalCode",t.STOCK_LOCATIONS__ADDRESS__STATE__CODE="stockLocations.address.state.code",t.STOCK_LOCATIONS__ADDRESS__STATE__ID="stockLocations.address.state.id",t.STOCK_LOCATIONS__ADDRESS__STATE__NAME="stockLocations.address.state.name",t.STOCK_LOCATIONS__ID="stockLocations.id",t.STOCK_LOCATIONS__NAME="stockLocations.name",t.STOCK_LOCATIONS__TYPE="stockLocations.type"}(a||(a={}));export{a as ResponseField,e as default};
@@ -139,6 +139,7 @@ export declare enum ResponseField {
139
139
  ITEMS__CREATED_AT = "items.createdAt",
140
140
  ITEMS__CURRENCY_CODE = "items.currencyCode",
141
141
  ITEMS__CURRENCY_SYMBOL = "items.currencySymbol",
142
+ ITEMS__CUSTOMER_SUBSCRIPTION_PLAN__ID = "items.customerSubscriptionPlan.id",
142
143
  ITEMS__DELETED = "items.deleted",
143
144
  ITEMS__DISCOUNT__AMOUNT = "items.discount.amount",
144
145
  ITEMS__DISCOUNT__AMOUNT_TYPE = "items.discount.amountType",
@@ -166,6 +167,18 @@ export declare enum ResponseField {
166
167
  ITEMS__STATUS = "items.status",
167
168
  ITEMS__STATUS_UPDATED_AT = "items.statusUpdatedAt",
168
169
  ITEMS__STOCK_LOCATION_ID = "items.stockLocationId",
170
+ ITEMS__SUBSCRIPTION_PLAN__ID = "items.subscriptionPlan.id",
171
+ ITEMS__SUBSCRIPTION_PLAN__NAME = "items.subscriptionPlan.name",
172
+ ITEMS__SUBSCRIPTION_PLAN__PERIOD__CUT_OFF_DAY = "items.subscriptionPlan.period.cutOffDay",
173
+ ITEMS__SUBSCRIPTION_PLAN__PERIOD__DISCOUNT__AMOUNT = "items.subscriptionPlan.period.discount.amount",
174
+ ITEMS__SUBSCRIPTION_PLAN__PERIOD__DISCOUNT__TYPE = "items.subscriptionPlan.period.discount.type",
175
+ ITEMS__SUBSCRIPTION_PLAN__PERIOD__DURATION_UNIT = "items.subscriptionPlan.period.durationUnit",
176
+ ITEMS__SUBSCRIPTION_PLAN__PERIOD__DURATION_VALUE = "items.subscriptionPlan.period.durationValue",
177
+ ITEMS__SUBSCRIPTION_PLAN__PERIOD__ID = "items.subscriptionPlan.period.id",
178
+ ITEMS__SUBSCRIPTION_PLAN__PERIOD__MAX_ORDERS = "items.subscriptionPlan.period.maxOrders",
179
+ ITEMS__SUBSCRIPTION_PLAN__PERIOD__PAYMENT_TYPE = "items.subscriptionPlan.period.paymentType",
180
+ ITEMS__SUBSCRIPTION_PLAN__PERIOD__SCHEDULED_ORDER_DAY = "items.subscriptionPlan.period.scheduledOrderDay",
181
+ ITEMS__SUBSCRIPTION_PLAN__PERIOD__TITLE = "items.subscriptionPlan.period.title",
169
182
  ITEMS__TAX_VALUE = "items.taxValue",
170
183
  ITEMS__UNIT_PRICE = "items.unitPrice",
171
184
  ITEMS__UPDATED_AT = "items.updatedAt",
@@ -1,11 +1,13 @@
1
+ /** DO NOT EDIT - GENERATED AUTO BY IKAS API-CLIENT **/
1
2
  import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
- import { CartV2 } from "../types";
3
+ import { CampaignOfferTargetPageTypeEnum, CartV2 } from "../types";
3
4
  declare const getCartById: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<CartV2> | APIResponse<undefined>>;
4
5
  export default getCartById;
5
6
  export declare type QueryParams = {
6
7
  getCompletedCart?: boolean | null;
7
8
  id?: string | null;
8
9
  paymentGatewayId?: string | null;
10
+ targetPageType?: CampaignOfferTargetPageTypeEnum | null;
9
11
  };
10
12
  export declare enum ResponseField {
11
13
  ABANDONED_CART_FLOWS__AUTHORIZED_APP_ID = "abandonedCartFlows.authorizedAppId",
@@ -132,10 +134,12 @@ export declare enum ResponseField {
132
134
  CUSTOMER_SEGMENTS__NAME = "customerSegments.name",
133
135
  DELETED = "deleted",
134
136
  DUE_DATE = "dueDate",
137
+ EDITED = "edited",
135
138
  GIFT_CARD_LINES__AMOUNT = "giftCardLines.amount",
136
139
  GIFT_CARD_LINES__CODE = "giftCardLines.code",
137
140
  GIFT_CARD_LINES__GIFT_CARD_ID = "giftCardLines.giftCardId",
138
141
  GIFT_CARD_LINES__ID = "giftCardLines.id",
142
+ GIFT_CARD_LINES__TYPE = "giftCardLines.type",
139
143
  GIFT_PACKAGE_LINES__IS_REFUNDED = "giftPackageLines.isRefunded",
140
144
  GIFT_PACKAGE_LINES__PRICE = "giftPackageLines.price",
141
145
  GIFT_PACKAGE_LINES__PRICE_LIST_ID = "giftPackageLines.priceListId",
@@ -276,6 +280,7 @@ export declare enum ResponseField {
276
280
  ORDER_LINE_ITEMS__CREATED_AT = "orderLineItems.createdAt",
277
281
  ORDER_LINE_ITEMS__CURRENCY_CODE = "orderLineItems.currencyCode",
278
282
  ORDER_LINE_ITEMS__CURRENCY_SYMBOL = "orderLineItems.currencySymbol",
283
+ ORDER_LINE_ITEMS__CUSTOMER_SUBSCRIPTION_PLAN__ID = "orderLineItems.customerSubscriptionPlan.id",
279
284
  ORDER_LINE_ITEMS__DELETED = "orderLineItems.deleted",
280
285
  ORDER_LINE_ITEMS__DISCOUNT__AMOUNT = "orderLineItems.discount.amount",
281
286
  ORDER_LINE_ITEMS__DISCOUNT__AMOUNT_TYPE = "orderLineItems.discount.amountType",
@@ -303,6 +308,18 @@ export declare enum ResponseField {
303
308
  ORDER_LINE_ITEMS__STATUS = "orderLineItems.status",
304
309
  ORDER_LINE_ITEMS__STATUS_UPDATED_AT = "orderLineItems.statusUpdatedAt",
305
310
  ORDER_LINE_ITEMS__STOCK_LOCATION_ID = "orderLineItems.stockLocationId",
311
+ ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__ID = "orderLineItems.subscriptionPlan.id",
312
+ ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__NAME = "orderLineItems.subscriptionPlan.name",
313
+ ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__CUT_OFF_DAY = "orderLineItems.subscriptionPlan.period.cutOffDay",
314
+ ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__DISCOUNT__AMOUNT = "orderLineItems.subscriptionPlan.period.discount.amount",
315
+ ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__DISCOUNT__TYPE = "orderLineItems.subscriptionPlan.period.discount.type",
316
+ ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__DURATION_UNIT = "orderLineItems.subscriptionPlan.period.durationUnit",
317
+ ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__DURATION_VALUE = "orderLineItems.subscriptionPlan.period.durationValue",
318
+ ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__ID = "orderLineItems.subscriptionPlan.period.id",
319
+ ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__MAX_ORDERS = "orderLineItems.subscriptionPlan.period.maxOrders",
320
+ ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__PAYMENT_TYPE = "orderLineItems.subscriptionPlan.period.paymentType",
321
+ ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__SCHEDULED_ORDER_DAY = "orderLineItems.subscriptionPlan.period.scheduledOrderDay",
322
+ ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__TITLE = "orderLineItems.subscriptionPlan.period.title",
306
323
  ORDER_LINE_ITEMS__TAX_VALUE = "orderLineItems.taxValue",
307
324
  ORDER_LINE_ITEMS__UNIT_PRICE = "orderLineItems.unitPrice",
308
325
  ORDER_LINE_ITEMS__UPDATED_AT = "orderLineItems.updatedAt",