@ikas/storefront-api 6.1.0-beta.36 → 6.1.0-beta.360
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/__api/models/AddItemToCartInput.d.ts +2 -0
- package/build/__api/models/AddLoyaltyToCartInput.d.ts +12 -0
- package/build/__api/models/AddressFieldRestrictions.d.ts +14 -0
- package/build/__api/models/CartLoyaltyLine.d.ts +15 -0
- package/build/__api/models/CartV2.d.ts +3 -0
- package/build/__api/models/CheckoutSettings.d.ts +3 -0
- package/build/__api/models/CreateIyzicoCheckoutFormResponse.d.ts +10 -0
- package/build/__api/models/CreatePayWithIkasSessionUrlResponse.d.ts +10 -0
- package/build/__api/models/CreateSaleTransactionWithCartInput.d.ts +2 -0
- package/build/__api/models/CreateStripeExpressCheckoutSessionResponse.d.ts +15 -0
- package/build/__api/models/CreateTkPayCheckoutFormResponse.d.ts +9 -0
- package/build/__api/models/CustomerReview.d.ts +6 -0
- package/build/__api/models/CustomerReviewProductModel.d.ts +15 -0
- package/build/__api/models/CustomerReviewReplyInfo.d.ts +10 -0
- package/build/__api/models/GetCustomerReviewImageUploadUrlResponse.d.ts +11 -0
- package/build/__api/models/HepsipayFrameInitResponse.d.ts +11 -0
- package/build/__api/models/ListOrderTransactionWithPricesResponse.d.ts +1 -0
- package/build/__api/models/LoyaltyCustomerInfo.d.ts +16 -0
- package/build/__api/models/LoyaltyProgram.d.ts +26 -0
- package/build/__api/models/LoyaltyProgramDiscountSettings.d.ts +12 -0
- package/build/__api/models/LoyaltyProgramEarningMethod.d.ts +31 -0
- package/build/__api/models/LoyaltyProgramEarningMethodOrderSettings.d.ts +12 -0
- package/build/__api/models/LoyaltyProgramEarningMethodProductSettings.d.ts +12 -0
- package/build/__api/models/LoyaltyProgramFilter.d.ts +11 -0
- package/build/__api/models/LoyaltyProgramMethodTranslation.d.ts +10 -0
- package/build/__api/models/LoyaltyProgramPeriod.d.ts +11 -0
- package/build/__api/models/LoyaltyProgramPointHistory.d.ts +21 -0
- package/build/__api/models/LoyaltyProgramPointHistoryTypeEnumFilterInput.d.ts +13 -0
- package/build/__api/models/LoyaltyProgramPointLimit.d.ts +10 -0
- package/build/__api/models/LoyaltyProgramSaleChannel.d.ts +11 -0
- package/build/__api/models/LoyaltyProgramSpendingMethod.d.ts +24 -0
- package/build/__api/models/LoyaltyProgramTier.d.ts +19 -0
- package/build/__api/models/LoyaltyProgramTierTranslation.d.ts +10 -0
- package/build/__api/models/MilesSmilesDetailsResponse.d.ts +12 -0
- package/build/__api/models/OrderAdjustment.d.ts +3 -1
- package/build/__api/models/OrderLineItem.d.ts +5 -0
- package/build/__api/models/OrderLineItemCustomerSubscriptionPlan.d.ts +9 -0
- package/build/__api/models/OrderLineItemSubscriptionPlan.d.ts +12 -0
- package/build/__api/models/OrderLineItemSubscriptionPlanPeriod.d.ts +19 -0
- package/build/__api/models/OrderLoyaltyLine.d.ts +14 -0
- package/build/__api/models/ProductSearchResponse.d.ts +2 -0
- package/build/__api/models/RewardInput.d.ts +11 -0
- package/build/__api/models/SearchInput.d.ts +2 -0
- package/build/__api/models/SearchSuggestion.d.ts +12 -0
- package/build/__api/models/StorefrontPopup.d.ts +1 -0
- package/build/__api/models/StorefrontPopupDisplayFilter.d.ts +3 -3
- package/build/__api/models/StorefrontWidgetSettings.d.ts +14 -0
- package/build/__api/models/StorefrontWidgetSettingsRouting.d.ts +10 -0
- package/build/__api/models/StripeExpressCheckoutAddressInput.d.ts +12 -0
- package/build/__api/models/StripeExpressCheckoutCustomerInput.d.ts +12 -0
- package/build/__api/models/StripeExpressCheckoutSessionContextResponse.d.ts +15 -0
- package/build/__api/models/SubscriptionPlanDiscount.d.ts +11 -0
- package/build/__api/models/UpdatePaypalOrderAddressInput.d.ts +12 -0
- package/build/__api/models/UpdatePaypalOrderCustomerInput.d.ts +12 -0
- package/build/__api/models/UpdatePaypalOrderInput.d.ts +16 -0
- package/build/__api/models/UpdateStripeExpressCheckoutSessionInput.d.ts +17 -0
- package/build/__api/mutations/addItemToCart.d.ts +13 -0
- package/build/__api/mutations/addItemToCart.js +1 -1
- package/build/__api/mutations/createIyzicoCheckoutForm.d.ts +11 -0
- package/build/__api/mutations/createIyzicoCheckoutForm.js +1 -0
- package/build/__api/mutations/createPayWithIkasSessionUrl.d.ts +11 -0
- package/build/__api/mutations/createPayWithIkasSessionUrl.js +1 -0
- package/build/__api/mutations/createPaypalOrder.d.ts +2 -0
- package/build/__api/mutations/createPaypalOrder.js +1 -1
- package/build/__api/mutations/createStripeExpressCheckoutSession.d.ts +16 -0
- package/build/__api/mutations/createStripeExpressCheckoutSession.js +1 -0
- package/build/__api/mutations/createTkPayCheckoutForm.d.ts +10 -0
- package/build/__api/mutations/createTkPayCheckoutForm.js +1 -0
- package/build/__api/mutations/customerDeactivate.d.ts +1 -1
- package/build/__api/mutations/customerDeactivate.js +1 -1
- package/build/__api/mutations/customerLogin.d.ts +6 -2
- package/build/__api/mutations/customerLogin.js +1 -1
- package/build/__api/mutations/getCustomerReviewImageUploadUrl.d.ts +13 -0
- package/build/__api/mutations/getPaypalClientId.d.ts +1 -1
- package/build/__api/mutations/getPaypalClientId.js +1 -1
- package/build/__api/mutations/hepsipayFrameInit.d.ts +13 -0
- package/build/__api/mutations/hepsipayFrameInit.js +1 -0
- package/build/__api/mutations/registerCustomer.d.ts +8 -4
- package/build/__api/mutations/registerCustomer.js +1 -1
- package/build/__api/mutations/removeLoyaltyPointsFromCart.d.ts +535 -0
- package/build/__api/mutations/removeLoyaltyPointsFromCart.js +1 -0
- package/build/__api/mutations/resendCustomerPhoneVerificationCode.d.ts +2 -5
- package/build/__api/mutations/resendCustomerPhoneVerificationCode.js +1 -1
- package/build/__api/mutations/updatePaypalOrder.d.ts +8 -0
- package/build/__api/mutations/updatePaypalOrder.js +1 -0
- package/build/__api/mutations/updateStripeExpressCheckoutSession.d.ts +16 -0
- package/build/__api/mutations/updateStripeExpressCheckoutSession.js +1 -0
- package/build/__api/mutations/useLoyaltyPoints.d.ts +534 -0
- package/build/__api/mutations/useLoyaltyPoints.js +1 -0
- package/build/__api/mutations/validateCustomerPhoneVerificationCode.d.ts +1 -0
- package/build/__api/mutations/validateCustomerPhoneVerificationCode.js +1 -1
- package/build/__api/mutations/validateOTPCode.d.ts +97 -0
- package/build/__api/mutations/validateOTPCode.js +1 -0
- package/build/__api/queries/getAvailableStockLocations.d.ts +1 -0
- package/build/__api/queries/getAvailableStockLocations.js +1 -1
- package/build/__api/queries/getCart.d.ts +13 -0
- package/build/__api/queries/getCartById.d.ts +23 -0
- package/build/__api/queries/getCartById.js +1 -1
- package/build/__api/queries/getCheckoutByCartId.d.ts +13 -0
- package/build/__api/queries/getCheckoutById.d.ts +13 -0
- package/build/__api/queries/getCustomerOrders.d.ts +19 -0
- package/build/__api/queries/getCustomerOrders.js +1 -1
- package/build/__api/queries/getLoyaltyCustomerInfo.d.ts +33 -0
- package/build/__api/queries/getLoyaltyCustomerInfo.js +1 -0
- package/build/__api/queries/getLoyaltyProgram.d.ts +84 -0
- package/build/__api/queries/getLoyaltyProgram.js +1 -0
- package/build/__api/queries/getMilesSmilesDetails.d.ts +10 -0
- package/build/__api/queries/getMilesSmilesDetails.js +1 -0
- package/build/__api/queries/getOrder.d.ts +19 -0
- package/build/__api/queries/getOrderInvoicePdfUrl.d.ts +7 -0
- package/build/__api/queries/getOrderInvoicePdfUrl.js +1 -0
- package/build/__api/queries/getStoreCreditBalance.d.ts +25 -0
- package/build/__api/queries/getStoreCreditBalance.js +1 -0
- package/build/__api/queries/getStorefrontWidgetSettings.d.ts +14 -0
- package/build/__api/queries/getStorefrontWidgetSettings.js +1 -0
- package/build/__api/queries/listCheckoutSettings.d.ts +7 -0
- package/build/__api/queries/listCheckoutSettings.js +1 -1
- package/build/__api/queries/listCustomerReviewSummary.d.ts +1 -0
- package/build/__api/queries/listCustomerReviews.d.ts +12 -0
- package/build/__api/queries/listCustomerReviews.js +1 -1
- package/build/__api/queries/listEarningMethods.d.ts +35 -0
- package/build/__api/queries/listEarningMethods.js +1 -0
- package/build/__api/queries/listLoyaltyProgramPointHistory.d.ts +25 -0
- package/build/__api/queries/listLoyaltyProgramPointHistory.js +1 -0
- package/build/__api/queries/listLoyaltyProgramTiers.d.ts +20 -0
- package/build/__api/queries/listLoyaltyProgramTiers.js +1 -0
- package/build/__api/queries/listOrderTransactionsWithPrices.d.ts +1 -0
- package/build/__api/queries/listOrderTransactionsWithPrices.js +1 -1
- package/build/__api/queries/listPaymentGateway.d.ts +1 -0
- package/build/__api/queries/listPaymentGateway.js +1 -1
- package/build/__api/queries/listSpendingMethodsByCartId.d.ts +29 -0
- package/build/__api/queries/listSpendingMethodsByCartId.js +1 -0
- package/build/__api/queries/listStorefrontPopup.d.ts +3 -0
- package/build/__api/queries/listStorefrontPopup.js +1 -1
- package/build/__api/queries/searchProducts.d.ts +21 -0
- package/build/__api/queries/searchProducts.js +1 -1
- package/build/__api/types/index.d.ts +520 -15
- package/build/__api/types/index.js +1 -1
- package/build/api/cart/index.d.ts +7 -1
- package/build/api/cart/index.js +1 -1
- package/build/api/checkout/index.d.ts +17 -2
- package/build/api/checkout/index.js +1 -1
- package/build/api/customer/index.d.ts +37 -6
- package/build/api/customer/index.js +1 -1
- package/build/api/loyalty/index.d.ts +14 -0
- package/build/api/loyalty/index.js +1 -0
- package/build/api/miles-smiles/index.d.ts +3 -0
- package/build/api/miles-smiles/index.js +1 -0
- package/build/api/product/index.d.ts +2 -1
- package/build/api/product/index.js +1 -1
- package/build/api/storefront/index.d.ts +7 -1
- package/build/index.d.ts +5 -2
- package/build/index.js +1 -1
- package/build/index2.js +1 -1
- package/package.json +7 -7
- package/build/__api/queries/checkOrderStocks.d.ts +0 -13
|
@@ -13,7 +13,9 @@ export declare enum CampaignApplicablePriceEnum {
|
|
|
13
13
|
export declare enum CampaignCreatedForEnum {
|
|
14
14
|
ABANDONED_CHECKOUT = "ABANDONED_CHECKOUT",
|
|
15
15
|
CART = "CART",
|
|
16
|
-
CUSTOMER_REVIEW = "CUSTOMER_REVIEW"
|
|
16
|
+
CUSTOMER_REVIEW = "CUSTOMER_REVIEW",
|
|
17
|
+
LOYALTY_SPEND = "LOYALTY_SPEND",
|
|
18
|
+
MARKETING_CAMPAIGN = "MARKETING_CAMPAIGN"
|
|
17
19
|
}
|
|
18
20
|
export declare enum CampaignFilterTypeEnum {
|
|
19
21
|
CATEGORY = "CATEGORY",
|
|
@@ -167,6 +169,11 @@ export declare enum CustomerEmailSubscriptionStatusesEnum {
|
|
|
167
169
|
PENDING_CONFIRMATION = "PENDING_CONFIRMATION",
|
|
168
170
|
SUBSCRIBED = "SUBSCRIBED"
|
|
169
171
|
}
|
|
172
|
+
export declare enum CustomerGenderTypeEnum {
|
|
173
|
+
FEMALE = "FEMALE",
|
|
174
|
+
MALE = "MALE",
|
|
175
|
+
OTHER = "OTHER"
|
|
176
|
+
}
|
|
170
177
|
export declare enum CustomerPriceListRuleFilterTypeEnum {
|
|
171
178
|
CATEGORY = "CATEGORY",
|
|
172
179
|
PRODUCT = "PRODUCT",
|
|
@@ -198,6 +205,10 @@ export declare enum GetSuggestedProductsMethodEnum {
|
|
|
198
205
|
SAMPLING = "SAMPLING",
|
|
199
206
|
VIEWED_TOGETHER = "VIEWED_TOGETHER"
|
|
200
207
|
}
|
|
208
|
+
export declare enum GiftCardTypeEnum {
|
|
209
|
+
GIFT_CARD = "GIFT_CARD",
|
|
210
|
+
STORE_CREDIT = "STORE_CREDIT"
|
|
211
|
+
}
|
|
201
212
|
export declare enum HTMLMetaDataTargetTypeEnum {
|
|
202
213
|
BRAND = "BRAND",
|
|
203
214
|
CATEGORY = "CATEGORY",
|
|
@@ -406,6 +417,13 @@ export declare enum ProductSearchShowStockOptionEnum {
|
|
|
406
417
|
SHOW_ALL = "SHOW_ALL",
|
|
407
418
|
SHOW_OUT_OF_STOCK_AT_END = "SHOW_OUT_OF_STOCK_AT_END"
|
|
408
419
|
}
|
|
420
|
+
export declare enum ProductTypeEnum {
|
|
421
|
+
BUNDLE = "BUNDLE",
|
|
422
|
+
DIGITAL = "DIGITAL",
|
|
423
|
+
MEMBERSHIP = "MEMBERSHIP",
|
|
424
|
+
PHYSICAL = "PHYSICAL",
|
|
425
|
+
SUBSCRIPTION = "SUBSCRIPTION"
|
|
426
|
+
}
|
|
409
427
|
export declare enum ProductUnitTypeEnum {
|
|
410
428
|
CENTILITER = "CENTILITER",
|
|
411
429
|
CENTIMETER = "CENTIMETER",
|
|
@@ -429,6 +447,9 @@ export declare enum RaffleParticipantStatusEnum {
|
|
|
429
447
|
LOSER = "LOSER",
|
|
430
448
|
WINNER = "WINNER"
|
|
431
449
|
}
|
|
450
|
+
export declare enum RewardSourceEnum {
|
|
451
|
+
MILES_SMILES = "MILES_SMILES"
|
|
452
|
+
}
|
|
432
453
|
export declare enum SalesChannelStatusEnum {
|
|
433
454
|
HIDDEN = "HIDDEN",
|
|
434
455
|
PASSIVE = "PASSIVE",
|
|
@@ -515,6 +536,20 @@ export declare enum StorefrontTypeEnum {
|
|
|
515
536
|
B2B_STOREFRONT = "B2B_STOREFRONT",
|
|
516
537
|
STOREFRONT = "STOREFRONT"
|
|
517
538
|
}
|
|
539
|
+
export declare enum SubscriptionPlanDurationUnitTypeEnum {
|
|
540
|
+
DAY = "DAY",
|
|
541
|
+
MONTH = "MONTH",
|
|
542
|
+
WEEK = "WEEK",
|
|
543
|
+
YEAR = "YEAR"
|
|
544
|
+
}
|
|
545
|
+
export declare enum SubscriptionPlanPaymentTypeEnum {
|
|
546
|
+
POST_PAID = "POST_PAID",
|
|
547
|
+
PRE_PAID = "PRE_PAID"
|
|
548
|
+
}
|
|
549
|
+
export declare enum SubscriptionPlanStatusEnum {
|
|
550
|
+
ACTIVE = "ACTIVE",
|
|
551
|
+
PASSIVE = "PASSIVE"
|
|
552
|
+
}
|
|
518
553
|
export declare enum TemplateEnum {
|
|
519
554
|
ABANDONED_CHECKOUT = "ABANDONED_CHECKOUT",
|
|
520
555
|
CONTACT_FORM_MERCHANT = "CONTACT_FORM_MERCHANT",
|
|
@@ -634,6 +669,14 @@ export interface AdditionalPrice {
|
|
|
634
669
|
name: string;
|
|
635
670
|
type: PaymentGatewayAdditionalPriceTypeEnum;
|
|
636
671
|
}
|
|
672
|
+
export interface AddressFieldRestrictions {
|
|
673
|
+
addressLine1: string | null;
|
|
674
|
+
addressLine2: string | null;
|
|
675
|
+
companyName: string | null;
|
|
676
|
+
firstName: string | null;
|
|
677
|
+
lastName: string | null;
|
|
678
|
+
taxOffice: string | null;
|
|
679
|
+
}
|
|
637
680
|
export interface ApplicableProductFilterValue {
|
|
638
681
|
colorCode: string | null;
|
|
639
682
|
id: string;
|
|
@@ -764,6 +807,11 @@ export interface BuyXThenGetY {
|
|
|
764
807
|
getY: GetY;
|
|
765
808
|
maxUsagePerOrder: number | null;
|
|
766
809
|
}
|
|
810
|
+
export interface HepsipayFrameInitResponse {
|
|
811
|
+
frameToken: string | null;
|
|
812
|
+
frameUrl: string | null;
|
|
813
|
+
transactionId: string;
|
|
814
|
+
}
|
|
767
815
|
export interface Campaign {
|
|
768
816
|
applicableCustomerGroupIds: string[] | null;
|
|
769
817
|
applicableCustomerIds: string[] | null;
|
|
@@ -928,6 +976,7 @@ export interface CartV2 {
|
|
|
928
976
|
customerId: string | null;
|
|
929
977
|
deleted: boolean | null;
|
|
930
978
|
dueDate: any | null;
|
|
979
|
+
edited: boolean | null;
|
|
931
980
|
giftCardLines: OrderGiftCardLine[] | null;
|
|
932
981
|
giftPackageLines: OrderGiftPackageLine[] | null;
|
|
933
982
|
giftPackageNote: string | null;
|
|
@@ -935,6 +984,7 @@ export interface CartV2 {
|
|
|
935
984
|
id: string;
|
|
936
985
|
isGiftPackage: boolean | null;
|
|
937
986
|
itemCount: number | null;
|
|
987
|
+
loyaltyLines: OrderLoyaltyLine[] | null;
|
|
938
988
|
merchantId: string;
|
|
939
989
|
note: string | null;
|
|
940
990
|
orderAdjustments: OrderAdjustment[] | null;
|
|
@@ -1073,6 +1123,7 @@ export interface CheckoutOption {
|
|
|
1073
1123
|
required: boolean;
|
|
1074
1124
|
}
|
|
1075
1125
|
export interface CheckoutSettings {
|
|
1126
|
+
addressFieldRestrictions: AddressFieldRestrictions | null;
|
|
1076
1127
|
corporateInvoiceRequirement: CorporateInvoiceRequirementEnum | null;
|
|
1077
1128
|
couponCodeRequirement: CouponCodeRequirementEnum | null;
|
|
1078
1129
|
createdAt: any | null;
|
|
@@ -1088,6 +1139,7 @@ export interface CheckoutSettings {
|
|
|
1088
1139
|
options: CheckoutOption[] | null;
|
|
1089
1140
|
phoneRequirement: CheckoutRequirementEnum;
|
|
1090
1141
|
postalCodeRequirement: CheckoutRequirementEnum | null;
|
|
1142
|
+
showBillingAddressOnShippingStep: boolean | null;
|
|
1091
1143
|
showCheckoutNote: boolean | null;
|
|
1092
1144
|
showCompanyInfoInShippingAddress: boolean | null;
|
|
1093
1145
|
showTermsAndConditionsCheckbox: boolean;
|
|
@@ -1154,6 +1206,10 @@ export interface CreateAdyenSessionResponse {
|
|
|
1154
1206
|
sessionData: string | null;
|
|
1155
1207
|
sessionId: string;
|
|
1156
1208
|
}
|
|
1209
|
+
export interface CreateIyzicoCheckoutFormResponse {
|
|
1210
|
+
checkoutFormContent: string;
|
|
1211
|
+
paymentPageUrl: string;
|
|
1212
|
+
}
|
|
1157
1213
|
export interface CreateKlarnaTokenResponse {
|
|
1158
1214
|
authorizeUrl: string | null;
|
|
1159
1215
|
clientToken: string | null;
|
|
@@ -1167,6 +1223,19 @@ export interface CreatePaypalOrderResponse {
|
|
|
1167
1223
|
sessionToken: string;
|
|
1168
1224
|
transactionId: string;
|
|
1169
1225
|
}
|
|
1226
|
+
export interface CreatePayWithIkasSessionUrlResponse {
|
|
1227
|
+
expiresAt: number;
|
|
1228
|
+
payUrl: string;
|
|
1229
|
+
}
|
|
1230
|
+
export interface CreateStripeExpressCheckoutSessionResponse {
|
|
1231
|
+
accountId: string;
|
|
1232
|
+
apiKey: string;
|
|
1233
|
+
callbackUrl: string;
|
|
1234
|
+
clientSecret: string;
|
|
1235
|
+
failUrl: string;
|
|
1236
|
+
sessionId: string;
|
|
1237
|
+
transactionId: string;
|
|
1238
|
+
}
|
|
1170
1239
|
export interface CreateStripePaymentIntentResponse {
|
|
1171
1240
|
accountId: string;
|
|
1172
1241
|
apiKey: string;
|
|
@@ -1174,6 +1243,9 @@ export interface CreateStripePaymentIntentResponse {
|
|
|
1174
1243
|
clientSecret: string;
|
|
1175
1244
|
failUrl: string;
|
|
1176
1245
|
}
|
|
1246
|
+
export interface CreateTkPayCheckoutFormResponse {
|
|
1247
|
+
paymentPageUrl: string;
|
|
1248
|
+
}
|
|
1177
1249
|
export interface CurrencyRate {
|
|
1178
1250
|
baseCurrency: string;
|
|
1179
1251
|
baseCurrencyCode: string | null;
|
|
@@ -1335,6 +1407,13 @@ export interface CustomerFavoriteProduct {
|
|
|
1335
1407
|
productId: string;
|
|
1336
1408
|
updatedAt: any | null;
|
|
1337
1409
|
}
|
|
1410
|
+
export interface CustomerLoginResponse {
|
|
1411
|
+
customer: Customer | null;
|
|
1412
|
+
flowId: string | null;
|
|
1413
|
+
otpSend: boolean | null;
|
|
1414
|
+
token: string;
|
|
1415
|
+
tokenExpiry: number;
|
|
1416
|
+
}
|
|
1338
1417
|
export interface CustomerPriceListRule {
|
|
1339
1418
|
filters: CustomerPriceListRuleFilter[] | null;
|
|
1340
1419
|
shouldMatchAllFilters: boolean | null;
|
|
@@ -1345,11 +1424,6 @@ export interface CustomerPriceListRuleFilter {
|
|
|
1345
1424
|
type: CustomerPriceListRuleFilterTypeEnum;
|
|
1346
1425
|
valueList: string[];
|
|
1347
1426
|
}
|
|
1348
|
-
export interface CustomerLoginResponse {
|
|
1349
|
-
customer: Customer | null;
|
|
1350
|
-
token: string;
|
|
1351
|
-
tokenExpiry: number;
|
|
1352
|
-
}
|
|
1353
1427
|
export interface CustomerRefreshTokenResponse {
|
|
1354
1428
|
token: string;
|
|
1355
1429
|
tokenExpiry: number;
|
|
@@ -1358,16 +1432,20 @@ export interface CustomerReview {
|
|
|
1358
1432
|
comment: string | null;
|
|
1359
1433
|
createdAt: any | null;
|
|
1360
1434
|
customerId: string | null;
|
|
1361
|
-
deleted: boolean
|
|
1435
|
+
deleted: boolean;
|
|
1362
1436
|
email: string | null;
|
|
1363
1437
|
firstName: string | null;
|
|
1364
1438
|
id: string;
|
|
1365
1439
|
imageIds: string[] | null;
|
|
1440
|
+
isPrivateReply: boolean | null;
|
|
1366
1441
|
lastName: string | null;
|
|
1442
|
+
locale: string | null;
|
|
1367
1443
|
orderId: string | null;
|
|
1368
1444
|
orderNumber: string | null;
|
|
1445
|
+
product: CustomerReviewProductModel | null;
|
|
1369
1446
|
productId: string;
|
|
1370
1447
|
reply: string | null;
|
|
1448
|
+
replyInfo: CustomerReviewReplyInfo | null;
|
|
1371
1449
|
salesChannelId: string | null;
|
|
1372
1450
|
star: number;
|
|
1373
1451
|
status: CustomerReviewStatusEnum | null;
|
|
@@ -1375,6 +1453,18 @@ export interface CustomerReview {
|
|
|
1375
1453
|
title: string | null;
|
|
1376
1454
|
updatedAt: any | null;
|
|
1377
1455
|
}
|
|
1456
|
+
export interface CustomerReviewProductModel {
|
|
1457
|
+
brandId: string | null;
|
|
1458
|
+
categoryIds: string[] | null;
|
|
1459
|
+
id: string | null;
|
|
1460
|
+
tagIds: string | null;
|
|
1461
|
+
type: ProductTypeEnum | null;
|
|
1462
|
+
vendorId: string | null;
|
|
1463
|
+
}
|
|
1464
|
+
export interface CustomerReviewReplyInfo {
|
|
1465
|
+
createdAt: any | null;
|
|
1466
|
+
staffId: string | null;
|
|
1467
|
+
}
|
|
1378
1468
|
export interface CustomerReviewSFPaginationResponse {
|
|
1379
1469
|
count: number;
|
|
1380
1470
|
data: CustomerReview[];
|
|
@@ -1385,7 +1475,7 @@ export interface CustomerReviewSFPaginationResponse {
|
|
|
1385
1475
|
export interface CustomerReviewSummary {
|
|
1386
1476
|
averageStar: number;
|
|
1387
1477
|
createdAt: any | null;
|
|
1388
|
-
deleted: boolean
|
|
1478
|
+
deleted: boolean;
|
|
1389
1479
|
id: string;
|
|
1390
1480
|
productId: string;
|
|
1391
1481
|
stars: CustomerReviewSummaryStar[];
|
|
@@ -1468,6 +1558,11 @@ export interface GetAvailableStockLocationAddressCountry {
|
|
|
1468
1558
|
export interface GetAvailableStockLocationsResponse {
|
|
1469
1559
|
stockLocations: GetAvailableStockLocation[];
|
|
1470
1560
|
}
|
|
1561
|
+
export interface GetCustomerReviewImageUploadUrlResponse {
|
|
1562
|
+
fields: any;
|
|
1563
|
+
imageId: string;
|
|
1564
|
+
uploadUrl: string;
|
|
1565
|
+
}
|
|
1471
1566
|
export interface GetPaypalClientIdResponse {
|
|
1472
1567
|
clientId: string;
|
|
1473
1568
|
merchantClientId: string | null;
|
|
@@ -1496,6 +1591,28 @@ export interface GetY {
|
|
|
1496
1591
|
discountRatio: number;
|
|
1497
1592
|
filter: CampaignFilter;
|
|
1498
1593
|
}
|
|
1594
|
+
export interface GiftCard {
|
|
1595
|
+
active: boolean;
|
|
1596
|
+
amount: number;
|
|
1597
|
+
code: string;
|
|
1598
|
+
createdAt: any | null;
|
|
1599
|
+
customerId: string | null;
|
|
1600
|
+
deleted: boolean;
|
|
1601
|
+
endDate: any | null;
|
|
1602
|
+
id: string;
|
|
1603
|
+
minimumRequiredCartAmount: number | null;
|
|
1604
|
+
salesChannels: GiftCardSalesChannel[] | null;
|
|
1605
|
+
startDate: any | null;
|
|
1606
|
+
type: GiftCardTypeEnum;
|
|
1607
|
+
updatedAt: any | null;
|
|
1608
|
+
usedAllAmount: boolean | null;
|
|
1609
|
+
usedAmount: number;
|
|
1610
|
+
}
|
|
1611
|
+
export interface GiftCardSalesChannel {
|
|
1612
|
+
salesChannelId: string;
|
|
1613
|
+
storefrontId: string | null;
|
|
1614
|
+
storefrontRoutingId: string | null;
|
|
1615
|
+
}
|
|
1499
1616
|
export interface HTMLMetaData {
|
|
1500
1617
|
canonicals: string[] | null;
|
|
1501
1618
|
createdAt: any | null;
|
|
@@ -1556,6 +1673,7 @@ export interface ListOrderTransactionWithPricesRefundableTransaction {
|
|
|
1556
1673
|
export interface ListOrderTransactionWithPricesResponse {
|
|
1557
1674
|
chargedAmount: number;
|
|
1558
1675
|
orderFinalPrice: number;
|
|
1676
|
+
pendingAmount: number;
|
|
1559
1677
|
refundableTransactions: ListOrderTransactionWithPricesRefundableTransaction[];
|
|
1560
1678
|
refundedAmount: number;
|
|
1561
1679
|
remainingBalance: number;
|
|
@@ -1636,6 +1754,12 @@ export interface MerchantSettingsCurrencyFormat {
|
|
|
1636
1754
|
symbolPosition: CurrencyFormatSymbolPosition;
|
|
1637
1755
|
thousandSeparator: string;
|
|
1638
1756
|
}
|
|
1757
|
+
export interface MilesSmilesDetailsResponse {
|
|
1758
|
+
availableMiles: number;
|
|
1759
|
+
firstName: string | null;
|
|
1760
|
+
lastName: string | null;
|
|
1761
|
+
memberId: string;
|
|
1762
|
+
}
|
|
1639
1763
|
export interface OrderAddress {
|
|
1640
1764
|
addressLine1: string;
|
|
1641
1765
|
addressLine2: string | null;
|
|
@@ -1691,9 +1815,11 @@ export interface OrderAdjustment {
|
|
|
1691
1815
|
campaignId: string | null;
|
|
1692
1816
|
campaignType: CampaignTypeEnum | null;
|
|
1693
1817
|
couponId: string | null;
|
|
1818
|
+
createdFor: CampaignCreatedForEnum | null;
|
|
1694
1819
|
name: string;
|
|
1695
1820
|
order: number;
|
|
1696
1821
|
type: OrderAdjustmentEnum;
|
|
1822
|
+
usedLoyaltyPoints: number | null;
|
|
1697
1823
|
}
|
|
1698
1824
|
export interface OrderAdjustmentAppliedOrderLine {
|
|
1699
1825
|
amount: number;
|
|
@@ -1726,6 +1852,7 @@ export interface OrderGiftCardLine {
|
|
|
1726
1852
|
code: string;
|
|
1727
1853
|
giftCardId: string;
|
|
1728
1854
|
id: string;
|
|
1855
|
+
type: GiftCardTypeEnum | null;
|
|
1729
1856
|
}
|
|
1730
1857
|
export interface OrderGiftPackageLine {
|
|
1731
1858
|
price: number;
|
|
@@ -1783,11 +1910,31 @@ export interface OrderLineItem {
|
|
|
1783
1910
|
status: OrderLineItemStatusEnum;
|
|
1784
1911
|
statusUpdatedAt: any | null;
|
|
1785
1912
|
stockLocationId: string | null;
|
|
1913
|
+
subscriptionPlan: OrderLineItemSubscriptionPlan | null;
|
|
1786
1914
|
taxValue: number | null;
|
|
1787
1915
|
unitPrice: number | null;
|
|
1788
1916
|
updatedAt: any | null;
|
|
1789
1917
|
variant: OrderLineVariant;
|
|
1790
1918
|
}
|
|
1919
|
+
export interface OrderLineItemCustomerSubscriptionPlan {
|
|
1920
|
+
id: string;
|
|
1921
|
+
}
|
|
1922
|
+
export interface OrderLineItemSubscriptionPlan {
|
|
1923
|
+
id: string;
|
|
1924
|
+
name: string;
|
|
1925
|
+
period: OrderLineItemSubscriptionPlanPeriod;
|
|
1926
|
+
}
|
|
1927
|
+
export interface OrderLineItemSubscriptionPlanPeriod {
|
|
1928
|
+
cutOffDay: number | null;
|
|
1929
|
+
discount: SubscriptionPlanDiscount | null;
|
|
1930
|
+
durationUnit: SubscriptionPlanDurationUnitTypeEnum;
|
|
1931
|
+
durationValue: number;
|
|
1932
|
+
id: string;
|
|
1933
|
+
maxOrders: number | null;
|
|
1934
|
+
paymentType: SubscriptionPlanPaymentTypeEnum;
|
|
1935
|
+
scheduledOrderDay: number | null;
|
|
1936
|
+
title: string;
|
|
1937
|
+
}
|
|
1791
1938
|
export interface OrderLineOption {
|
|
1792
1939
|
name: string;
|
|
1793
1940
|
productOptionId: string;
|
|
@@ -2233,6 +2380,7 @@ export interface ProductSearchResponse {
|
|
|
2233
2380
|
limit: number;
|
|
2234
2381
|
page: number;
|
|
2235
2382
|
results: SearchProduct[];
|
|
2383
|
+
suggestions: SearchSuggestion[] | null;
|
|
2236
2384
|
totalCount: number;
|
|
2237
2385
|
}
|
|
2238
2386
|
export interface ProductTagTranslation {
|
|
@@ -2544,6 +2692,29 @@ export interface SearchProductStockLocation {
|
|
|
2544
2692
|
stockCount: number;
|
|
2545
2693
|
stockLocationId: string;
|
|
2546
2694
|
}
|
|
2695
|
+
export interface SearchProductSubscriptionPlan {
|
|
2696
|
+
name: string;
|
|
2697
|
+
periods: SearchProductSubscriptionPlanPeriod[];
|
|
2698
|
+
status: SubscriptionPlanStatusEnum;
|
|
2699
|
+
subscriptionPlanId: string;
|
|
2700
|
+
translations: SubscriptionPlanTranslation[] | null;
|
|
2701
|
+
}
|
|
2702
|
+
export interface SearchProductSubscriptionPlanDiscount {
|
|
2703
|
+
amount: number;
|
|
2704
|
+
type: OrderAmountTypeEnum;
|
|
2705
|
+
}
|
|
2706
|
+
export interface SearchProductSubscriptionPlanPeriod {
|
|
2707
|
+
cutOffDay: number | null;
|
|
2708
|
+
discount: SearchProductSubscriptionPlanDiscount | null;
|
|
2709
|
+
durationUnit: SubscriptionPlanDurationUnitTypeEnum;
|
|
2710
|
+
durationValue: number;
|
|
2711
|
+
id: string;
|
|
2712
|
+
maxOrders: number | null;
|
|
2713
|
+
paymentType: SubscriptionPlanPaymentTypeEnum;
|
|
2714
|
+
scheduledOrderDay: number | null;
|
|
2715
|
+
status: SubscriptionPlanStatusEnum;
|
|
2716
|
+
title: string;
|
|
2717
|
+
}
|
|
2547
2718
|
export interface SearchProductTag {
|
|
2548
2719
|
id: string;
|
|
2549
2720
|
name: string;
|
|
@@ -2554,6 +2725,12 @@ export interface SearchProductVariantType {
|
|
|
2554
2725
|
variantType: SearchVariantType;
|
|
2555
2726
|
variantValueIds: string[];
|
|
2556
2727
|
}
|
|
2728
|
+
export interface SearchSuggestion {
|
|
2729
|
+
brandId: string | null;
|
|
2730
|
+
categoryId: string | null;
|
|
2731
|
+
id: string;
|
|
2732
|
+
term: string;
|
|
2733
|
+
}
|
|
2557
2734
|
export interface SearchVariant {
|
|
2558
2735
|
attributes: SearchProductAttributeValue[] | null;
|
|
2559
2736
|
barcodeList: string[] | null;
|
|
@@ -2567,6 +2744,7 @@ export interface SearchVariant {
|
|
|
2567
2744
|
sellIfOutOfStock: boolean | null;
|
|
2568
2745
|
sku: string | null;
|
|
2569
2746
|
stocks: SearchProductStockLocation[] | null;
|
|
2747
|
+
subscriptionPlan: SearchProductSubscriptionPlan | null;
|
|
2570
2748
|
unit: VariantUnitModel | null;
|
|
2571
2749
|
variantValues: SearchVariationValueRelation[] | null;
|
|
2572
2750
|
weight: number | null;
|
|
@@ -2650,6 +2828,10 @@ export interface StockLocationAddressState {
|
|
|
2650
2828
|
id: string | null;
|
|
2651
2829
|
name: string | null;
|
|
2652
2830
|
}
|
|
2831
|
+
export interface StoreCreditBalanceResponse {
|
|
2832
|
+
amount: number;
|
|
2833
|
+
storeCredits: GiftCard[];
|
|
2834
|
+
}
|
|
2653
2835
|
export interface Storefront {
|
|
2654
2836
|
analytics4Id: string | null;
|
|
2655
2837
|
createdAt: any | null;
|
|
@@ -2890,6 +3072,15 @@ export interface StorefrontTransaction {
|
|
|
2890
3072
|
type: TransactionTypeEnum;
|
|
2891
3073
|
updatedAt: any | null;
|
|
2892
3074
|
}
|
|
3075
|
+
export interface SubscriptionPlanDiscount {
|
|
3076
|
+
amount: number;
|
|
3077
|
+
type: OrderAmountTypeEnum;
|
|
3078
|
+
}
|
|
3079
|
+
export interface SubscriptionPlanTranslation {
|
|
3080
|
+
description: string | null;
|
|
3081
|
+
locale: string;
|
|
3082
|
+
title: string;
|
|
3083
|
+
}
|
|
2893
3084
|
export interface Town {
|
|
2894
3085
|
createdAt: any | null;
|
|
2895
3086
|
deleted: boolean | null;
|
|
@@ -3066,6 +3257,8 @@ export interface AddItemToCartInput {
|
|
|
3066
3257
|
priceListId?: string | null;
|
|
3067
3258
|
salesChannelId: string;
|
|
3068
3259
|
storefrontThemeId: string;
|
|
3260
|
+
subscriptionPlanId?: string | null;
|
|
3261
|
+
subscriptionPlanPeriodId?: string | null;
|
|
3069
3262
|
}
|
|
3070
3263
|
export interface AppliedProductInput {
|
|
3071
3264
|
productId?: string | null;
|
|
@@ -3177,6 +3370,7 @@ export interface CreateSaleTransactionWithCartInput {
|
|
|
3177
3370
|
metadata?: any | null;
|
|
3178
3371
|
paymentGatewayId: string;
|
|
3179
3372
|
paymentMethodDetail?: PaymentMethodDetailInput | null;
|
|
3373
|
+
reward?: RewardInput | null;
|
|
3180
3374
|
}
|
|
3181
3375
|
export interface CreateSaleTransactionWithCheckoutInput {
|
|
3182
3376
|
checkoutId: string;
|
|
@@ -3184,6 +3378,7 @@ export interface CreateSaleTransactionWithCheckoutInput {
|
|
|
3184
3378
|
metadata?: any | null;
|
|
3185
3379
|
paymentGatewayId: string;
|
|
3186
3380
|
paymentMethodDetail?: PaymentMethodDetailInput | null;
|
|
3381
|
+
reward?: RewardInput | null;
|
|
3187
3382
|
}
|
|
3188
3383
|
export interface CustomerAddressCityInput {
|
|
3189
3384
|
code?: string | null;
|
|
@@ -3216,6 +3411,16 @@ export interface CustomerAttributeValueInput {
|
|
|
3216
3411
|
customerAttributeOptionId?: string | null;
|
|
3217
3412
|
value?: string | null;
|
|
3218
3413
|
}
|
|
3414
|
+
export interface CustomerRegisterSubscriptionInput {
|
|
3415
|
+
email: boolean;
|
|
3416
|
+
phone: boolean;
|
|
3417
|
+
sms: boolean;
|
|
3418
|
+
}
|
|
3419
|
+
export interface CustomerAttributeValueInput {
|
|
3420
|
+
customerAttributeId?: string | null;
|
|
3421
|
+
customerAttributeOptionId?: string | null;
|
|
3422
|
+
value?: string | null;
|
|
3423
|
+
}
|
|
3219
3424
|
export interface DateFilterInput {
|
|
3220
3425
|
eq?: any | null;
|
|
3221
3426
|
gt?: any | null;
|
|
@@ -3229,6 +3434,10 @@ export interface DateFilterInput {
|
|
|
3229
3434
|
export interface GetOrderLineFile {
|
|
3230
3435
|
url: string;
|
|
3231
3436
|
}
|
|
3437
|
+
export interface GetOrderInvoicePdfUrlInput {
|
|
3438
|
+
invoiceId: string;
|
|
3439
|
+
orderId: string;
|
|
3440
|
+
}
|
|
3232
3441
|
export interface GetProductCampaignsInput {
|
|
3233
3442
|
customerGroupIds?: string[] | null;
|
|
3234
3443
|
salesChannelId: string;
|
|
@@ -3371,6 +3580,10 @@ export interface RetrieveInstallmentInfoInput {
|
|
|
3371
3580
|
paymentGatewayId: string;
|
|
3372
3581
|
price: number;
|
|
3373
3582
|
}
|
|
3583
|
+
export interface RewardInput {
|
|
3584
|
+
point: number;
|
|
3585
|
+
source: RewardSourceEnum;
|
|
3586
|
+
}
|
|
3374
3587
|
export interface SaveCartInput {
|
|
3375
3588
|
attributes?: OrderAttributeValueInput[] | null;
|
|
3376
3589
|
billingAddress?: OrderAddressInput | null;
|
|
@@ -3460,10 +3673,12 @@ export interface SearchDynamicCurrencySettings {
|
|
|
3460
3673
|
}
|
|
3461
3674
|
export interface SearchInput {
|
|
3462
3675
|
barcodeList?: string[] | null;
|
|
3676
|
+
baseCategoryIdList?: string[] | null;
|
|
3463
3677
|
brandId?: string | null;
|
|
3464
3678
|
brandIdList?: string[] | null;
|
|
3465
3679
|
categoryIdList?: string[] | null;
|
|
3466
3680
|
dynamicCurrencySettings?: SearchDynamicCurrencySettings | null;
|
|
3681
|
+
enableSuggestions?: boolean | null;
|
|
3467
3682
|
facetList?: SearchInputFacetListInput[] | null;
|
|
3468
3683
|
filterList?: SearchInputFilterListInput[] | null;
|
|
3469
3684
|
locale?: string | null;
|
|
@@ -3505,6 +3720,18 @@ export interface StringFilterInput {
|
|
|
3505
3720
|
ne?: string | null;
|
|
3506
3721
|
nin?: string[] | null;
|
|
3507
3722
|
}
|
|
3723
|
+
export interface StripeExpressCheckoutAddressInput {
|
|
3724
|
+
city?: string | null;
|
|
3725
|
+
country?: string | null;
|
|
3726
|
+
postalCode?: string | null;
|
|
3727
|
+
state?: string | null;
|
|
3728
|
+
}
|
|
3729
|
+
export interface StripeExpressCheckoutCustomerInput {
|
|
3730
|
+
email?: string | null;
|
|
3731
|
+
firstName?: string | null;
|
|
3732
|
+
id?: string | null;
|
|
3733
|
+
lastName?: string | null;
|
|
3734
|
+
}
|
|
3508
3735
|
export interface SubscribeToMarketingNotificationsInput {
|
|
3509
3736
|
captchaToken?: string | null;
|
|
3510
3737
|
email: string;
|
|
@@ -3521,14 +3748,63 @@ export interface UpdateCartCampaignOfferInput {
|
|
|
3521
3748
|
quantity?: number | null;
|
|
3522
3749
|
variantId: string;
|
|
3523
3750
|
}
|
|
3751
|
+
export interface UpdatePaypalOrderAddressInput {
|
|
3752
|
+
city?: string | null;
|
|
3753
|
+
country?: string | null;
|
|
3754
|
+
postalCode?: string | null;
|
|
3755
|
+
state?: string | null;
|
|
3756
|
+
}
|
|
3757
|
+
export interface UpdatePaypalOrderCustomerInput {
|
|
3758
|
+
email?: string | null;
|
|
3759
|
+
firstName?: string | null;
|
|
3760
|
+
id?: string | null;
|
|
3761
|
+
lastName?: string | null;
|
|
3762
|
+
}
|
|
3763
|
+
export interface UpdatePaypalOrderInput {
|
|
3764
|
+
address?: UpdatePaypalOrderAddressInput | null;
|
|
3765
|
+
cartId: string;
|
|
3766
|
+
customer?: UpdatePaypalOrderCustomerInput | null;
|
|
3767
|
+
shippingSettingsId?: string | null;
|
|
3768
|
+
shippingZoneRateId?: string | null;
|
|
3769
|
+
transactionId: string;
|
|
3770
|
+
}
|
|
3771
|
+
export interface UpdateStripeExpressCheckoutSessionInput {
|
|
3772
|
+
address?: StripeExpressCheckoutAddressInput | null;
|
|
3773
|
+
cartId: string;
|
|
3774
|
+
customer?: StripeExpressCheckoutCustomerInput | null;
|
|
3775
|
+
sessionId: string;
|
|
3776
|
+
shippingSettingsId?: string | null;
|
|
3777
|
+
shippingZoneRateId?: string | null;
|
|
3778
|
+
transactionId: string;
|
|
3779
|
+
}
|
|
3524
3780
|
export declare enum StorefrontPopupDeviceTypeEnum {
|
|
3525
3781
|
ALL = "ALL",
|
|
3526
3782
|
DESKTOP = "DESKTOP",
|
|
3527
3783
|
MOBILE = "MOBILE"
|
|
3528
3784
|
}
|
|
3529
3785
|
export declare enum StorefrontPopupDisplayFilterTypeEnum {
|
|
3786
|
+
APPLIED_CAMPAIGN = "APPLIED_CAMPAIGN",
|
|
3787
|
+
BRAND_IN_CART = "BRAND_IN_CART",
|
|
3788
|
+
CART_ITEM_COUNT = "CART_ITEM_COUNT",
|
|
3530
3789
|
CART_TOTAL = "CART_TOTAL",
|
|
3531
|
-
|
|
3790
|
+
CATEGORY_IN_CART = "CATEGORY_IN_CART",
|
|
3791
|
+
CUSTOMER_AUTH_STATUS = "CUSTOMER_AUTH_STATUS",
|
|
3792
|
+
CUSTOMER_GENDER = "CUSTOMER_GENDER",
|
|
3793
|
+
CUSTOMER_GROUP = "CUSTOMER_GROUP",
|
|
3794
|
+
CUSTOMER_SEGMENT = "CUSTOMER_SEGMENT",
|
|
3795
|
+
CUSTOMER_SUBSCRIPTION = "CUSTOMER_SUBSCRIPTION",
|
|
3796
|
+
PRODUCT_IN_CART = "PRODUCT_IN_CART"
|
|
3797
|
+
}
|
|
3798
|
+
export declare enum StorefrontPopupDisplayFilterOperatorEnum {
|
|
3799
|
+
ANY_OF = "ANY_OF",
|
|
3800
|
+
BETWEEN = "BETWEEN",
|
|
3801
|
+
EQUALS = "EQUALS",
|
|
3802
|
+
GREATER_THAN = "GREATER_THAN",
|
|
3803
|
+
GREATER_THAN_OR_EQUAL = "GREATER_THAN_OR_EQUAL",
|
|
3804
|
+
LESS_THAN = "LESS_THAN",
|
|
3805
|
+
LESS_THAN_OR_EQUAL = "LESS_THAN_OR_EQUAL",
|
|
3806
|
+
NONE_OF = "NONE_OF",
|
|
3807
|
+
NOT_EQUALS = "NOT_EQUALS"
|
|
3532
3808
|
}
|
|
3533
3809
|
export declare enum StorefrontPopupDisplayFrequencyEnum {
|
|
3534
3810
|
EVERY_TIME = "EVERY_TIME",
|
|
@@ -3576,6 +3852,7 @@ export interface StorefrontPopup {
|
|
|
3576
3852
|
deleted: boolean;
|
|
3577
3853
|
displayFilters: StorefrontPopupDisplayFilter[] | null;
|
|
3578
3854
|
displaySettings: StorefrontPopupDisplaySettings;
|
|
3855
|
+
hideFilters: StorefrontPopupDisplayFilter[] | null;
|
|
3579
3856
|
id: string;
|
|
3580
3857
|
name: string;
|
|
3581
3858
|
pageFilters: StorefrontPopupPageFilter[] | null;
|
|
@@ -3595,9 +3872,9 @@ export interface StorefrontPopupDateFilter {
|
|
|
3595
3872
|
startDate: any | null;
|
|
3596
3873
|
}
|
|
3597
3874
|
export interface StorefrontPopupDisplayFilter {
|
|
3598
|
-
operator:
|
|
3875
|
+
operator: StorefrontPopupDisplayFilterOperatorEnum;
|
|
3599
3876
|
type: StorefrontPopupDisplayFilterTypeEnum;
|
|
3600
|
-
value: string;
|
|
3877
|
+
value: string[];
|
|
3601
3878
|
}
|
|
3602
3879
|
export interface StorefrontPopupDisplaySettings {
|
|
3603
3880
|
frequency: StorefrontPopupDisplayFrequencyEnum;
|
|
@@ -3632,8 +3909,236 @@ export interface SaveCustomerFormDataInput {
|
|
|
3632
3909
|
storefrontPopupId?: string | null;
|
|
3633
3910
|
subscriptions?: CustomerRegisterSubscriptionInput | null;
|
|
3634
3911
|
}
|
|
3635
|
-
export
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3912
|
+
export interface AddLoyaltyToCartInput {
|
|
3913
|
+
amount?: number | null;
|
|
3914
|
+
cartId: string;
|
|
3915
|
+
loyaltyProgramId: string;
|
|
3916
|
+
loyaltySpendingMethodId: string;
|
|
3917
|
+
}
|
|
3918
|
+
export interface CartLoyaltyLine {
|
|
3919
|
+
campaignType: CampaignTypeEnum | null;
|
|
3920
|
+
discountAmount: number;
|
|
3921
|
+
discountAmountType: OrderAmountTypeEnum;
|
|
3922
|
+
discountPercentage: number | null;
|
|
3923
|
+
loyaltySpendingMethodId: string;
|
|
3924
|
+
pointUsed: number;
|
|
3925
|
+
}
|
|
3926
|
+
export interface LoyaltyCustomerInfo {
|
|
3927
|
+
cartLoyaltyLines: CartLoyaltyLine[] | null;
|
|
3928
|
+
customerTier: LoyaltyProgramTier | null;
|
|
3929
|
+
loyaltyProgramCustomerId: string;
|
|
3930
|
+
loyaltyProgramId: string;
|
|
3931
|
+
nextTierRequiredPoint: number | null;
|
|
3932
|
+
totalPoint: number;
|
|
3933
|
+
}
|
|
3934
|
+
export interface LoyaltyProgram {
|
|
3935
|
+
createdAt: any | null;
|
|
3936
|
+
deleted: boolean;
|
|
3937
|
+
earningMethods: LoyaltyProgramEarningMethod[] | null;
|
|
3938
|
+
id: string;
|
|
3939
|
+
isPassive: boolean | null;
|
|
3940
|
+
name: string;
|
|
3941
|
+
orderStatusToWinPoints: LoyaltyProgramOrderStatusToWinPointsEnum;
|
|
3942
|
+
previousOrderStartDate: any | null;
|
|
3943
|
+
refillPointsOnRefund: boolean;
|
|
3944
|
+
salesChannels: LoyaltyProgramSaleChannel[] | null;
|
|
3945
|
+
spendingMethods: LoyaltyProgramSpendingMethod[] | null;
|
|
3946
|
+
tiers: LoyaltyProgramTier[] | null;
|
|
3947
|
+
tokenName: string | null;
|
|
3948
|
+
updatedAt: any | null;
|
|
3949
|
+
validityPeriod: LoyaltyProgramPeriod | null;
|
|
3950
|
+
}
|
|
3951
|
+
export interface LoyaltyProgramDiscountSettings {
|
|
3952
|
+
discountAmount: number | null;
|
|
3953
|
+
freeProductId: string | null;
|
|
3954
|
+
freeProductVariantId: string | null;
|
|
3955
|
+
point: number;
|
|
3956
|
+
}
|
|
3957
|
+
export interface LoyaltyProgramEarningMethod {
|
|
3958
|
+
amountPerPointsEarned: number | null;
|
|
3959
|
+
createdAt: any | null;
|
|
3960
|
+
deleted: boolean;
|
|
3961
|
+
description: string | null;
|
|
3962
|
+
earnedPointLimit: LoyaltyProgramPointLimit | null;
|
|
3963
|
+
id: string;
|
|
3964
|
+
isActive: boolean;
|
|
3965
|
+
lastValidityDate: any | null;
|
|
3966
|
+
loyaltyProgramId: string;
|
|
3967
|
+
methodType: EarningMethodTypeEnum;
|
|
3968
|
+
orderSettings: LoyaltyProgramEarningMethodOrderSettings | null;
|
|
3969
|
+
pointEarningType: LoyaltyProgramPointEarningTypeEnum;
|
|
3970
|
+
pointsEarned: number;
|
|
3971
|
+
productSettings: LoyaltyProgramEarningMethodProductSettings | null;
|
|
3972
|
+
quantityPerPointsEarned: number | null;
|
|
3973
|
+
segmentId: string | null;
|
|
3974
|
+
tierIds: string[] | null;
|
|
3975
|
+
translations: LoyaltyProgramMethodTranslation[] | null;
|
|
3976
|
+
updatedAt: any | null;
|
|
3977
|
+
validityPeriod: LoyaltyProgramPeriod | null;
|
|
3978
|
+
}
|
|
3979
|
+
export interface LoyaltyProgramEarningMethodOrderSettings {
|
|
3980
|
+
maxOrderAmount: number | null;
|
|
3981
|
+
minOrderAmount: number;
|
|
3982
|
+
productFilters: LoyaltyProgramFilter[] | null;
|
|
3983
|
+
}
|
|
3984
|
+
export interface LoyaltyProgramEarningMethodProductSettings {
|
|
3985
|
+
maxProductQuantity: number | null;
|
|
3986
|
+
minProductQuantity: number | null;
|
|
3987
|
+
productFilters: LoyaltyProgramFilter[] | null;
|
|
3988
|
+
}
|
|
3989
|
+
export interface LoyaltyProgramFilter {
|
|
3990
|
+
idList: string[];
|
|
3991
|
+
type: LoyaltyProgramFilterTypeEnum;
|
|
3992
|
+
}
|
|
3993
|
+
export interface LoyaltyProgramMethodTranslation {
|
|
3994
|
+
description: string;
|
|
3995
|
+
locale: string;
|
|
3996
|
+
}
|
|
3997
|
+
export interface LoyaltyProgramPeriod {
|
|
3998
|
+
period: string | null;
|
|
3999
|
+
periodType: PeriodTypeEnum | null;
|
|
4000
|
+
}
|
|
4001
|
+
export interface LoyaltyProgramPointHistory {
|
|
4002
|
+
amount: number;
|
|
4003
|
+
createdAt: any | null;
|
|
4004
|
+
customerId: string;
|
|
4005
|
+
customerReviewId: string | null;
|
|
4006
|
+
deleted: boolean;
|
|
4007
|
+
expireDate: any | null;
|
|
4008
|
+
id: string;
|
|
4009
|
+
loyaltyProgramCustomerId: string;
|
|
4010
|
+
loyaltyProgramEarningMethodId: string | null;
|
|
4011
|
+
loyaltyProgramId: string;
|
|
4012
|
+
loyaltyProgramSpendingMethodId: string | null;
|
|
4013
|
+
orderId: string | null;
|
|
4014
|
+
productVariantId: string | null;
|
|
4015
|
+
type: LoyaltyProgramPointHistoryTypeEnum;
|
|
4016
|
+
updatedAt: any | null;
|
|
4017
|
+
}
|
|
4018
|
+
export interface LoyaltyProgramPointLimit {
|
|
4019
|
+
maxPointLimit: number | null;
|
|
4020
|
+
minPointLimit: number | null;
|
|
4021
|
+
}
|
|
4022
|
+
export interface LoyaltyProgramSaleChannel {
|
|
4023
|
+
routingIds: string[] | null;
|
|
4024
|
+
salesChannelId: string;
|
|
4025
|
+
storefrontId: string | null;
|
|
4026
|
+
}
|
|
4027
|
+
export interface LoyaltyProgramSpendingMethod {
|
|
4028
|
+
createdAt: any | null;
|
|
4029
|
+
deleted: boolean;
|
|
4030
|
+
description: string | null;
|
|
4031
|
+
discountSettings: LoyaltyProgramDiscountSettings | null;
|
|
4032
|
+
id: string;
|
|
4033
|
+
isActive: boolean;
|
|
4034
|
+
isAvailable: boolean | null;
|
|
4035
|
+
isDynamic: boolean;
|
|
4036
|
+
loyaltyProgramId: string;
|
|
4037
|
+
pointUsageLimit: LoyaltyProgramPointLimit | null;
|
|
4038
|
+
productFilters: LoyaltyProgramFilter[] | null;
|
|
4039
|
+
translations: LoyaltyProgramMethodTranslation[] | null;
|
|
4040
|
+
type: LoyaltyProgramMethodSpendingTypeEnum;
|
|
4041
|
+
updatedAt: any | null;
|
|
4042
|
+
}
|
|
4043
|
+
export interface LoyaltyProgramTier {
|
|
4044
|
+
createdAt: any | null;
|
|
4045
|
+
customerSegmentId: string | null;
|
|
4046
|
+
deleted: boolean;
|
|
4047
|
+
id: string;
|
|
4048
|
+
isActive: boolean;
|
|
4049
|
+
loyaltyProgramId: string;
|
|
4050
|
+
name: string;
|
|
4051
|
+
period: LoyaltyProgramPeriod | null;
|
|
4052
|
+
pointsRequired: number | null;
|
|
4053
|
+
tierPointMultiplier: number | null;
|
|
4054
|
+
translations: LoyaltyProgramTierTranslation[] | null;
|
|
4055
|
+
updatedAt: any | null;
|
|
4056
|
+
}
|
|
4057
|
+
export interface LoyaltyProgramTierTranslation {
|
|
4058
|
+
locale: string;
|
|
4059
|
+
name: string;
|
|
4060
|
+
}
|
|
4061
|
+
export declare enum LoyaltyProgramFilterTypeEnum {
|
|
4062
|
+
CATEGORY = "CATEGORY",
|
|
4063
|
+
DYNAMIC_CATEGORY = "DYNAMIC_CATEGORY",
|
|
4064
|
+
PRODUCT_AND_VARIANT = "PRODUCT_AND_VARIANT",
|
|
4065
|
+
PRODUCT_BRAND = "PRODUCT_BRAND",
|
|
4066
|
+
PRODUCT_TAG = "PRODUCT_TAG"
|
|
4067
|
+
}
|
|
4068
|
+
export declare enum LoyaltyProgramMethodSpendingTypeEnum {
|
|
4069
|
+
FIXED_AMOUNT = "FIXED_AMOUNT",
|
|
4070
|
+
FREE_PRODUCT = "FREE_PRODUCT",
|
|
4071
|
+
FREE_SHIPPING = "FREE_SHIPPING",
|
|
4072
|
+
RATIO = "RATIO"
|
|
4073
|
+
}
|
|
4074
|
+
export declare enum LoyaltyProgramOrderStatusToWinPointsEnum {
|
|
4075
|
+
ORDER_CREATED = "ORDER_CREATED",
|
|
4076
|
+
ORDER_DELIVERED = "ORDER_DELIVERED",
|
|
4077
|
+
PAYMENT_COMPLETED = "PAYMENT_COMPLETED"
|
|
4078
|
+
}
|
|
4079
|
+
export declare enum LoyaltyProgramPointEarningTypeEnum {
|
|
4080
|
+
DYNAMIC_ORDER_AMOUNT = "DYNAMIC_ORDER_AMOUNT",
|
|
4081
|
+
DYNAMIC_ORDER_QUANTITY = "DYNAMIC_ORDER_QUANTITY",
|
|
4082
|
+
STATIC = "STATIC"
|
|
4083
|
+
}
|
|
4084
|
+
export declare enum LoyaltyProgramPointHistoryTypeEnum {
|
|
4085
|
+
EARN = "EARN",
|
|
4086
|
+
SPEND = "SPEND",
|
|
4087
|
+
REFUND = "REFUND",
|
|
4088
|
+
REFILL = "REFILL",
|
|
4089
|
+
MANUAL_EARN = "MANUAL_EARN",
|
|
4090
|
+
MANUAL_DEDUCT = "MANUAL_DEDUCT"
|
|
4091
|
+
}
|
|
4092
|
+
export interface OrderLoyaltyLine {
|
|
4093
|
+
amount: number;
|
|
4094
|
+
id: string;
|
|
4095
|
+
loyaltyProgramCustomerId: string;
|
|
4096
|
+
loyaltyProgramId: string;
|
|
4097
|
+
loyaltyProgramSpendingMethodType: string | null;
|
|
4098
|
+
loyaltySpendingMethodId: string;
|
|
4099
|
+
}
|
|
4100
|
+
export declare enum EarningMethodTypeEnum {
|
|
4101
|
+
BUY_PRODUCT = "BUY_PRODUCT",
|
|
4102
|
+
CUSTOMER_REGISTER = "CUSTOMER_REGISTER",
|
|
4103
|
+
CUSTOMER_REVIEW = "CUSTOMER_REVIEW",
|
|
4104
|
+
CUSTOMER_SEGMENT = "CUSTOMER_SEGMENT",
|
|
4105
|
+
ENABLE_SUBSCRIPTION = "ENABLE_SUBSCRIPTION",
|
|
4106
|
+
ORDER_CREATE = "ORDER_CREATE"
|
|
4107
|
+
}
|
|
4108
|
+
export declare enum PeriodTypeEnum {
|
|
4109
|
+
MONTH = "MONTH",
|
|
4110
|
+
WEEK = "WEEK",
|
|
4111
|
+
YEAR = "YEAR"
|
|
4112
|
+
}
|
|
4113
|
+
export interface LoyaltyProgramPointHistoryTypeEnumFilterInput {
|
|
4114
|
+
eq?: LoyaltyProgramPointHistoryTypeEnum | null;
|
|
4115
|
+
in?: LoyaltyProgramPointHistoryTypeEnum[] | null;
|
|
4116
|
+
ne?: LoyaltyProgramPointHistoryTypeEnum | null;
|
|
4117
|
+
nin?: LoyaltyProgramPointHistoryTypeEnum[] | null;
|
|
4118
|
+
}
|
|
4119
|
+
export declare enum StorefrontWidgetSettingsStatusEnum {
|
|
4120
|
+
ACTIVE = "ACTIVE",
|
|
4121
|
+
PASSIVE = "PASSIVE"
|
|
4122
|
+
}
|
|
4123
|
+
export interface StorefrontWidgetSettings {
|
|
4124
|
+
createdAt: any | null;
|
|
4125
|
+
deleted: boolean;
|
|
4126
|
+
id: string;
|
|
4127
|
+
status: StorefrontWidgetSettingsStatusEnum;
|
|
4128
|
+
storefrontRoutings: StorefrontWidgetSettingsRouting[];
|
|
4129
|
+
themeSettingsJson: any | null;
|
|
4130
|
+
updatedAt: any | null;
|
|
4131
|
+
}
|
|
4132
|
+
export interface StorefrontWidgetSettingsRouting {
|
|
4133
|
+
storefrontId: string;
|
|
4134
|
+
storefrontRoutingId: string;
|
|
4135
|
+
}
|
|
4136
|
+
export interface StripeExpressCheckoutSessionContextResponse {
|
|
4137
|
+
amountTotal: number | null;
|
|
4138
|
+
currency: string | null;
|
|
4139
|
+
lineItemsJson: string | null;
|
|
4140
|
+
paymentStatus: string | null;
|
|
4141
|
+
sessionId: string;
|
|
4142
|
+
shippingOptionsJson: string | null;
|
|
4143
|
+
transactionId: string;
|
|
3639
4144
|
}
|