@ikas/storefront-api 6.1.0-beta.40 → 6.1.0-beta.400
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 +5 -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 +5 -0
- package/build/__api/models/CreateSaleTransactionWithCheckoutInput.d.ts +2 -0
- package/build/__api/models/CreateStripeExpressCheckoutSessionResponse.d.ts +15 -0
- package/build/__api/models/CreateTkPayCheckoutFormResponse.d.ts +10 -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/DroppedLoyaltyLine.d.ts +14 -0
- package/build/__api/models/ExternalAccountLink.d.ts +12 -0
- package/build/__api/models/GetCustomerReviewImageUploadUrlResponse.d.ts +11 -0
- package/build/__api/models/GetRefundableLineItemResponse.d.ts +14 -0
- package/build/__api/models/GetRefundableLinesInput.d.ts +10 -0
- package/build/__api/models/GetRefundableLinesResponse.d.ts +14 -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 +19 -0
- package/build/__api/models/LoyaltyProgram.d.ts +27 -0
- package/build/__api/models/LoyaltyProgramDiscountSettings.d.ts +12 -0
- package/build/__api/models/LoyaltyProgramEarningMethod.d.ts +34 -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 +26 -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 +13 -0
- package/build/__api/models/LoyaltyProgramSpendingMethod.d.ts +25 -0
- package/build/__api/models/LoyaltyProgramTier.d.ts +22 -0
- package/build/__api/models/LoyaltyProgramTierTranslation.d.ts +10 -0
- package/build/__api/models/LoyaltyWidgetSettings.d.ts +10 -0
- package/build/__api/models/MilesSmilesDetailsResponse.d.ts +12 -0
- package/build/__api/models/MilesSmilesPaymentInput.d.ts +9 -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/OrderRefundReason.d.ts +12 -0
- package/build/__api/models/OrderRefundReasonTranslation.d.ts +10 -0
- package/build/__api/models/OrderRefundRequestInput.d.ts +1 -0
- package/build/__api/models/OrderRefundSettingsTranslation.d.ts +10 -0
- package/build/__api/models/PaymentGateway.d.ts +1 -0
- package/build/__api/models/ProductSearchResponse.d.ts +2 -0
- package/build/__api/models/RetrieveInstallmentInfoInput.d.ts +2 -1
- package/build/__api/models/SaveCartInput.d.ts +1 -0
- package/build/__api/models/SaveCartInput.js +1 -1
- package/build/__api/models/SavedCardPaymentDetailInput.d.ts +12 -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/createOrderRefundRequest.d.ts +31 -0
- package/build/__api/mutations/createOrderRefundRequest.js +1 -1
- 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 +11 -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/deletePaymentSavedCard.d.ts +6 -0
- package/build/__api/mutations/deletePaymentSavedCard.js +1 -0
- 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 +540 -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/unlinkExternalAccount.d.ts +7 -0
- package/build/__api/mutations/unlinkExternalAccount.js +1 -0
- 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 +539 -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 +28 -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/getExternalAccountLink.d.ts +12 -0
- package/build/__api/queries/getExternalAccountLink.js +1 -0
- package/build/__api/queries/getLoyaltyCustomerInfo.d.ts +38 -0
- package/build/__api/queries/getLoyaltyCustomerInfo.js +1 -0
- package/build/__api/queries/getLoyaltyProgram.d.ts +93 -0
- package/build/__api/queries/getLoyaltyProgram.js +1 -0
- package/build/__api/queries/getLoyaltyWidgetSettings.d.ts +9 -0
- package/build/__api/queries/getLoyaltyWidgetSettings.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/getRefundableLines.d.ts +23 -0
- package/build/__api/queries/getRefundableLines.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 +38 -0
- package/build/__api/queries/listEarningMethods.js +1 -0
- package/build/__api/queries/listLoyaltyProgramPointHistory.d.ts +30 -0
- package/build/__api/queries/listLoyaltyProgramPointHistory.js +1 -0
- package/build/__api/queries/listLoyaltyProgramTiers.d.ts +22 -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/listPaymentSavedCard.d.ts +19 -0
- package/build/__api/queries/listPaymentSavedCard.js +1 -0
- package/build/__api/queries/listSpendingMethodsByCartId.d.ts +30 -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 +627 -16
- 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 +21 -4
- package/build/api/checkout/index.js +1 -1
- package/build/api/customer/index.d.ts +47 -7
- package/build/api/customer/index.js +1 -1
- package/build/api/loyalty/index.d.ts +15 -0
- package/build/api/loyalty/index.js +1 -0
- package/build/api/merchant/index.d.ts +2 -2
- package/build/api/merchant/index.js +1 -1
- package/build/api/miles-smiles/index.d.ts +21 -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",
|
|
@@ -189,6 +196,9 @@ export declare enum CustomerReviewStatusEnum {
|
|
|
189
196
|
REJECTED = "REJECTED",
|
|
190
197
|
WAITING = "WAITING"
|
|
191
198
|
}
|
|
199
|
+
export declare enum CustomerExternalAccountLinkProviderEnum {
|
|
200
|
+
miles_smiles = "miles_smiles"
|
|
201
|
+
}
|
|
192
202
|
export declare enum CustomerSocialLoginProviderEnum {
|
|
193
203
|
facebook = "facebook",
|
|
194
204
|
google = "google"
|
|
@@ -198,6 +208,10 @@ export declare enum GetSuggestedProductsMethodEnum {
|
|
|
198
208
|
SAMPLING = "SAMPLING",
|
|
199
209
|
VIEWED_TOGETHER = "VIEWED_TOGETHER"
|
|
200
210
|
}
|
|
211
|
+
export declare enum GiftCardTypeEnum {
|
|
212
|
+
GIFT_CARD = "GIFT_CARD",
|
|
213
|
+
STORE_CREDIT = "STORE_CREDIT"
|
|
214
|
+
}
|
|
201
215
|
export declare enum HTMLMetaDataTargetTypeEnum {
|
|
202
216
|
BRAND = "BRAND",
|
|
203
217
|
CATEGORY = "CATEGORY",
|
|
@@ -293,6 +307,10 @@ export declare enum OrderPaymentStatusEnum {
|
|
|
293
307
|
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
294
308
|
WAITING = "WAITING"
|
|
295
309
|
}
|
|
310
|
+
export declare enum OrderRefundFlowEnum {
|
|
311
|
+
CANCEL = "CANCEL",
|
|
312
|
+
RETURN = "RETURN"
|
|
313
|
+
}
|
|
296
314
|
export declare enum OrderShippingMethodEnum {
|
|
297
315
|
CLICK_AND_COLLECT = "CLICK_AND_COLLECT",
|
|
298
316
|
DIGITAL_DELIVERY = "DIGITAL_DELIVERY",
|
|
@@ -406,6 +424,13 @@ export declare enum ProductSearchShowStockOptionEnum {
|
|
|
406
424
|
SHOW_ALL = "SHOW_ALL",
|
|
407
425
|
SHOW_OUT_OF_STOCK_AT_END = "SHOW_OUT_OF_STOCK_AT_END"
|
|
408
426
|
}
|
|
427
|
+
export declare enum ProductTypeEnum {
|
|
428
|
+
BUNDLE = "BUNDLE",
|
|
429
|
+
DIGITAL = "DIGITAL",
|
|
430
|
+
MEMBERSHIP = "MEMBERSHIP",
|
|
431
|
+
PHYSICAL = "PHYSICAL",
|
|
432
|
+
SUBSCRIPTION = "SUBSCRIPTION"
|
|
433
|
+
}
|
|
409
434
|
export declare enum ProductUnitTypeEnum {
|
|
410
435
|
CENTILITER = "CENTILITER",
|
|
411
436
|
CENTIMETER = "CENTIMETER",
|
|
@@ -515,6 +540,20 @@ export declare enum StorefrontTypeEnum {
|
|
|
515
540
|
B2B_STOREFRONT = "B2B_STOREFRONT",
|
|
516
541
|
STOREFRONT = "STOREFRONT"
|
|
517
542
|
}
|
|
543
|
+
export declare enum SubscriptionPlanDurationUnitTypeEnum {
|
|
544
|
+
DAY = "DAY",
|
|
545
|
+
MONTH = "MONTH",
|
|
546
|
+
WEEK = "WEEK",
|
|
547
|
+
YEAR = "YEAR"
|
|
548
|
+
}
|
|
549
|
+
export declare enum SubscriptionPlanPaymentTypeEnum {
|
|
550
|
+
POST_PAID = "POST_PAID",
|
|
551
|
+
PRE_PAID = "PRE_PAID"
|
|
552
|
+
}
|
|
553
|
+
export declare enum SubscriptionPlanStatusEnum {
|
|
554
|
+
ACTIVE = "ACTIVE",
|
|
555
|
+
PASSIVE = "PASSIVE"
|
|
556
|
+
}
|
|
518
557
|
export declare enum TemplateEnum {
|
|
519
558
|
ABANDONED_CHECKOUT = "ABANDONED_CHECKOUT",
|
|
520
559
|
CONTACT_FORM_MERCHANT = "CONTACT_FORM_MERCHANT",
|
|
@@ -634,6 +673,14 @@ export interface AdditionalPrice {
|
|
|
634
673
|
name: string;
|
|
635
674
|
type: PaymentGatewayAdditionalPriceTypeEnum;
|
|
636
675
|
}
|
|
676
|
+
export interface AddressFieldRestrictions {
|
|
677
|
+
addressLine1: string | null;
|
|
678
|
+
addressLine2: string | null;
|
|
679
|
+
companyName: string | null;
|
|
680
|
+
firstName: string | null;
|
|
681
|
+
lastName: string | null;
|
|
682
|
+
taxOffice: string | null;
|
|
683
|
+
}
|
|
637
684
|
export interface ApplicableProductFilterValue {
|
|
638
685
|
colorCode: string | null;
|
|
639
686
|
id: string;
|
|
@@ -764,6 +811,11 @@ export interface BuyXThenGetY {
|
|
|
764
811
|
getY: GetY;
|
|
765
812
|
maxUsagePerOrder: number | null;
|
|
766
813
|
}
|
|
814
|
+
export interface HepsipayFrameInitResponse {
|
|
815
|
+
frameToken: string | null;
|
|
816
|
+
frameUrl: string | null;
|
|
817
|
+
transactionId: string;
|
|
818
|
+
}
|
|
767
819
|
export interface Campaign {
|
|
768
820
|
applicableCustomerGroupIds: string[] | null;
|
|
769
821
|
applicableCustomerIds: string[] | null;
|
|
@@ -927,7 +979,9 @@ export interface CartV2 {
|
|
|
927
979
|
customer: OrderCustomer | null;
|
|
928
980
|
customerId: string | null;
|
|
929
981
|
deleted: boolean | null;
|
|
982
|
+
droppedLoyaltyLines: DroppedLoyaltyLine[] | null;
|
|
930
983
|
dueDate: any | null;
|
|
984
|
+
edited: boolean | null;
|
|
931
985
|
giftCardLines: OrderGiftCardLine[] | null;
|
|
932
986
|
giftPackageLines: OrderGiftPackageLine[] | null;
|
|
933
987
|
giftPackageNote: string | null;
|
|
@@ -935,6 +989,7 @@ export interface CartV2 {
|
|
|
935
989
|
id: string;
|
|
936
990
|
isGiftPackage: boolean | null;
|
|
937
991
|
itemCount: number | null;
|
|
992
|
+
loyaltyLines: OrderLoyaltyLine[] | null;
|
|
938
993
|
merchantId: string;
|
|
939
994
|
note: string | null;
|
|
940
995
|
orderAdjustments: OrderAdjustment[] | null;
|
|
@@ -1073,6 +1128,7 @@ export interface CheckoutOption {
|
|
|
1073
1128
|
required: boolean;
|
|
1074
1129
|
}
|
|
1075
1130
|
export interface CheckoutSettings {
|
|
1131
|
+
addressFieldRestrictions: AddressFieldRestrictions | null;
|
|
1076
1132
|
corporateInvoiceRequirement: CorporateInvoiceRequirementEnum | null;
|
|
1077
1133
|
couponCodeRequirement: CouponCodeRequirementEnum | null;
|
|
1078
1134
|
createdAt: any | null;
|
|
@@ -1088,6 +1144,7 @@ export interface CheckoutSettings {
|
|
|
1088
1144
|
options: CheckoutOption[] | null;
|
|
1089
1145
|
phoneRequirement: CheckoutRequirementEnum;
|
|
1090
1146
|
postalCodeRequirement: CheckoutRequirementEnum | null;
|
|
1147
|
+
showBillingAddressOnShippingStep: boolean | null;
|
|
1091
1148
|
showCheckoutNote: boolean | null;
|
|
1092
1149
|
showCompanyInfoInShippingAddress: boolean | null;
|
|
1093
1150
|
showTermsAndConditionsCheckbox: boolean;
|
|
@@ -1154,6 +1211,10 @@ export interface CreateAdyenSessionResponse {
|
|
|
1154
1211
|
sessionData: string | null;
|
|
1155
1212
|
sessionId: string;
|
|
1156
1213
|
}
|
|
1214
|
+
export interface CreateIyzicoCheckoutFormResponse {
|
|
1215
|
+
checkoutFormContent: string;
|
|
1216
|
+
paymentPageUrl: string;
|
|
1217
|
+
}
|
|
1157
1218
|
export interface CreateKlarnaTokenResponse {
|
|
1158
1219
|
authorizeUrl: string | null;
|
|
1159
1220
|
clientToken: string | null;
|
|
@@ -1167,6 +1228,19 @@ export interface CreatePaypalOrderResponse {
|
|
|
1167
1228
|
sessionToken: string;
|
|
1168
1229
|
transactionId: string;
|
|
1169
1230
|
}
|
|
1231
|
+
export interface CreatePayWithIkasSessionUrlResponse {
|
|
1232
|
+
expiresAt: number;
|
|
1233
|
+
payUrl: string;
|
|
1234
|
+
}
|
|
1235
|
+
export interface CreateStripeExpressCheckoutSessionResponse {
|
|
1236
|
+
accountId: string;
|
|
1237
|
+
apiKey: string;
|
|
1238
|
+
callbackUrl: string;
|
|
1239
|
+
clientSecret: string;
|
|
1240
|
+
failUrl: string;
|
|
1241
|
+
sessionId: string;
|
|
1242
|
+
transactionId: string;
|
|
1243
|
+
}
|
|
1170
1244
|
export interface CreateStripePaymentIntentResponse {
|
|
1171
1245
|
accountId: string;
|
|
1172
1246
|
apiKey: string;
|
|
@@ -1174,6 +1248,10 @@ export interface CreateStripePaymentIntentResponse {
|
|
|
1174
1248
|
clientSecret: string;
|
|
1175
1249
|
failUrl: string;
|
|
1176
1250
|
}
|
|
1251
|
+
export interface CreateTkPayCheckoutFormResponse {
|
|
1252
|
+
callbackUrl: string;
|
|
1253
|
+
paymentPageUrl: string;
|
|
1254
|
+
}
|
|
1177
1255
|
export interface CurrencyRate {
|
|
1178
1256
|
baseCurrency: string;
|
|
1179
1257
|
baseCurrencyCode: string | null;
|
|
@@ -1335,6 +1413,13 @@ export interface CustomerFavoriteProduct {
|
|
|
1335
1413
|
productId: string;
|
|
1336
1414
|
updatedAt: any | null;
|
|
1337
1415
|
}
|
|
1416
|
+
export interface CustomerLoginResponse {
|
|
1417
|
+
customer: Customer | null;
|
|
1418
|
+
flowId: string | null;
|
|
1419
|
+
otpSend: boolean | null;
|
|
1420
|
+
token: string;
|
|
1421
|
+
tokenExpiry: number;
|
|
1422
|
+
}
|
|
1338
1423
|
export interface CustomerPriceListRule {
|
|
1339
1424
|
filters: CustomerPriceListRuleFilter[] | null;
|
|
1340
1425
|
shouldMatchAllFilters: boolean | null;
|
|
@@ -1345,11 +1430,6 @@ export interface CustomerPriceListRuleFilter {
|
|
|
1345
1430
|
type: CustomerPriceListRuleFilterTypeEnum;
|
|
1346
1431
|
valueList: string[];
|
|
1347
1432
|
}
|
|
1348
|
-
export interface CustomerLoginResponse {
|
|
1349
|
-
customer: Customer | null;
|
|
1350
|
-
token: string;
|
|
1351
|
-
tokenExpiry: number;
|
|
1352
|
-
}
|
|
1353
1433
|
export interface CustomerRefreshTokenResponse {
|
|
1354
1434
|
token: string;
|
|
1355
1435
|
tokenExpiry: number;
|
|
@@ -1358,16 +1438,20 @@ export interface CustomerReview {
|
|
|
1358
1438
|
comment: string | null;
|
|
1359
1439
|
createdAt: any | null;
|
|
1360
1440
|
customerId: string | null;
|
|
1361
|
-
deleted: boolean
|
|
1441
|
+
deleted: boolean;
|
|
1362
1442
|
email: string | null;
|
|
1363
1443
|
firstName: string | null;
|
|
1364
1444
|
id: string;
|
|
1365
1445
|
imageIds: string[] | null;
|
|
1446
|
+
isPrivateReply: boolean | null;
|
|
1366
1447
|
lastName: string | null;
|
|
1448
|
+
locale: string | null;
|
|
1367
1449
|
orderId: string | null;
|
|
1368
1450
|
orderNumber: string | null;
|
|
1451
|
+
product: CustomerReviewProductModel | null;
|
|
1369
1452
|
productId: string;
|
|
1370
1453
|
reply: string | null;
|
|
1454
|
+
replyInfo: CustomerReviewReplyInfo | null;
|
|
1371
1455
|
salesChannelId: string | null;
|
|
1372
1456
|
star: number;
|
|
1373
1457
|
status: CustomerReviewStatusEnum | null;
|
|
@@ -1375,6 +1459,18 @@ export interface CustomerReview {
|
|
|
1375
1459
|
title: string | null;
|
|
1376
1460
|
updatedAt: any | null;
|
|
1377
1461
|
}
|
|
1462
|
+
export interface CustomerReviewProductModel {
|
|
1463
|
+
brandId: string | null;
|
|
1464
|
+
categoryIds: string[] | null;
|
|
1465
|
+
id: string | null;
|
|
1466
|
+
tagIds: string | null;
|
|
1467
|
+
type: ProductTypeEnum | null;
|
|
1468
|
+
vendorId: string | null;
|
|
1469
|
+
}
|
|
1470
|
+
export interface CustomerReviewReplyInfo {
|
|
1471
|
+
createdAt: any | null;
|
|
1472
|
+
staffId: string | null;
|
|
1473
|
+
}
|
|
1378
1474
|
export interface CustomerReviewSFPaginationResponse {
|
|
1379
1475
|
count: number;
|
|
1380
1476
|
data: CustomerReview[];
|
|
@@ -1385,7 +1481,7 @@ export interface CustomerReviewSFPaginationResponse {
|
|
|
1385
1481
|
export interface CustomerReviewSummary {
|
|
1386
1482
|
averageStar: number;
|
|
1387
1483
|
createdAt: any | null;
|
|
1388
|
-
deleted: boolean
|
|
1484
|
+
deleted: boolean;
|
|
1389
1485
|
id: string;
|
|
1390
1486
|
productId: string;
|
|
1391
1487
|
stars: CustomerReviewSummaryStar[];
|
|
@@ -1419,6 +1515,13 @@ export interface CustomerSettingsPhoneValidationSettings {
|
|
|
1419
1515
|
requirePhoneValidation: boolean;
|
|
1420
1516
|
smsGatewayId: string;
|
|
1421
1517
|
}
|
|
1518
|
+
export interface DroppedLoyaltyLine {
|
|
1519
|
+
amount: number;
|
|
1520
|
+
code: LoyaltyLineErrorCodeEnum;
|
|
1521
|
+
loyaltyProgramId: string;
|
|
1522
|
+
loyaltyProgramSpendingMethodType: string | null;
|
|
1523
|
+
loyaltySpendingMethodId: string;
|
|
1524
|
+
}
|
|
1422
1525
|
export interface District {
|
|
1423
1526
|
cityId: string;
|
|
1424
1527
|
countryId: string;
|
|
@@ -1468,6 +1571,11 @@ export interface GetAvailableStockLocationAddressCountry {
|
|
|
1468
1571
|
export interface GetAvailableStockLocationsResponse {
|
|
1469
1572
|
stockLocations: GetAvailableStockLocation[];
|
|
1470
1573
|
}
|
|
1574
|
+
export interface GetCustomerReviewImageUploadUrlResponse {
|
|
1575
|
+
fields: any;
|
|
1576
|
+
imageId: string;
|
|
1577
|
+
uploadUrl: string;
|
|
1578
|
+
}
|
|
1471
1579
|
export interface GetPaypalClientIdResponse {
|
|
1472
1580
|
clientId: string;
|
|
1473
1581
|
merchantClientId: string | null;
|
|
@@ -1482,6 +1590,22 @@ export interface GetProductOptionFileUrl {
|
|
|
1482
1590
|
optionUrl: string;
|
|
1483
1591
|
url: string;
|
|
1484
1592
|
}
|
|
1593
|
+
export interface GetRefundableLineItemResponse {
|
|
1594
|
+
autoApprove: boolean;
|
|
1595
|
+
flow: OrderRefundFlowEnum | null;
|
|
1596
|
+
isCancellable: boolean;
|
|
1597
|
+
isRefundable: boolean;
|
|
1598
|
+
orderLineItemId: string;
|
|
1599
|
+
}
|
|
1600
|
+
export interface GetRefundableLinesResponse {
|
|
1601
|
+
orderLineItems: GetRefundableLineItemResponse[];
|
|
1602
|
+
refundReasons: OrderRefundReason[];
|
|
1603
|
+
translations: OrderRefundSettingsTranslation[];
|
|
1604
|
+
}
|
|
1605
|
+
export interface OrderRefundSettingsTranslation {
|
|
1606
|
+
locale: string;
|
|
1607
|
+
returnMethodDescription: string | null;
|
|
1608
|
+
}
|
|
1485
1609
|
export interface GetVariantStockLocation {
|
|
1486
1610
|
stockCount: number;
|
|
1487
1611
|
stockLocation: GetAvailableStockLocation;
|
|
@@ -1496,6 +1620,28 @@ export interface GetY {
|
|
|
1496
1620
|
discountRatio: number;
|
|
1497
1621
|
filter: CampaignFilter;
|
|
1498
1622
|
}
|
|
1623
|
+
export interface GiftCard {
|
|
1624
|
+
active: boolean;
|
|
1625
|
+
amount: number;
|
|
1626
|
+
code: string;
|
|
1627
|
+
createdAt: any | null;
|
|
1628
|
+
customerId: string | null;
|
|
1629
|
+
deleted: boolean;
|
|
1630
|
+
endDate: any | null;
|
|
1631
|
+
id: string;
|
|
1632
|
+
minimumRequiredCartAmount: number | null;
|
|
1633
|
+
salesChannels: GiftCardSalesChannel[] | null;
|
|
1634
|
+
startDate: any | null;
|
|
1635
|
+
type: GiftCardTypeEnum;
|
|
1636
|
+
updatedAt: any | null;
|
|
1637
|
+
usedAllAmount: boolean | null;
|
|
1638
|
+
usedAmount: number;
|
|
1639
|
+
}
|
|
1640
|
+
export interface GiftCardSalesChannel {
|
|
1641
|
+
salesChannelId: string;
|
|
1642
|
+
storefrontId: string | null;
|
|
1643
|
+
storefrontRoutingId: string | null;
|
|
1644
|
+
}
|
|
1499
1645
|
export interface HTMLMetaData {
|
|
1500
1646
|
canonicals: string[] | null;
|
|
1501
1647
|
createdAt: any | null;
|
|
@@ -1556,6 +1702,7 @@ export interface ListOrderTransactionWithPricesRefundableTransaction {
|
|
|
1556
1702
|
export interface ListOrderTransactionWithPricesResponse {
|
|
1557
1703
|
chargedAmount: number;
|
|
1558
1704
|
orderFinalPrice: number;
|
|
1705
|
+
pendingAmount: number;
|
|
1559
1706
|
refundableTransactions: ListOrderTransactionWithPricesRefundableTransaction[];
|
|
1560
1707
|
refundedAmount: number;
|
|
1561
1708
|
remainingBalance: number;
|
|
@@ -1636,6 +1783,17 @@ export interface MerchantSettingsCurrencyFormat {
|
|
|
1636
1783
|
symbolPosition: CurrencyFormatSymbolPosition;
|
|
1637
1784
|
thousandSeparator: string;
|
|
1638
1785
|
}
|
|
1786
|
+
export interface ExternalAccountLink {
|
|
1787
|
+
externalId: string;
|
|
1788
|
+
linkedAt: any;
|
|
1789
|
+
provider: CustomerExternalAccountLinkProviderEnum;
|
|
1790
|
+
}
|
|
1791
|
+
export interface MilesSmilesDetailsResponse {
|
|
1792
|
+
availableMiles: number;
|
|
1793
|
+
firstName: string | null;
|
|
1794
|
+
lastName: string | null;
|
|
1795
|
+
memberId: string;
|
|
1796
|
+
}
|
|
1639
1797
|
export interface OrderAddress {
|
|
1640
1798
|
addressLine1: string;
|
|
1641
1799
|
addressLine2: string | null;
|
|
@@ -1691,9 +1849,11 @@ export interface OrderAdjustment {
|
|
|
1691
1849
|
campaignId: string | null;
|
|
1692
1850
|
campaignType: CampaignTypeEnum | null;
|
|
1693
1851
|
couponId: string | null;
|
|
1852
|
+
createdFor: CampaignCreatedForEnum | null;
|
|
1694
1853
|
name: string;
|
|
1695
1854
|
order: number;
|
|
1696
1855
|
type: OrderAdjustmentEnum;
|
|
1856
|
+
usedLoyaltyPoints: number | null;
|
|
1697
1857
|
}
|
|
1698
1858
|
export interface OrderAdjustmentAppliedOrderLine {
|
|
1699
1859
|
amount: number;
|
|
@@ -1726,6 +1886,7 @@ export interface OrderGiftCardLine {
|
|
|
1726
1886
|
code: string;
|
|
1727
1887
|
giftCardId: string;
|
|
1728
1888
|
id: string;
|
|
1889
|
+
type: GiftCardTypeEnum | null;
|
|
1729
1890
|
}
|
|
1730
1891
|
export interface OrderGiftPackageLine {
|
|
1731
1892
|
price: number;
|
|
@@ -1783,11 +1944,31 @@ export interface OrderLineItem {
|
|
|
1783
1944
|
status: OrderLineItemStatusEnum;
|
|
1784
1945
|
statusUpdatedAt: any | null;
|
|
1785
1946
|
stockLocationId: string | null;
|
|
1947
|
+
subscriptionPlan: OrderLineItemSubscriptionPlan | null;
|
|
1786
1948
|
taxValue: number | null;
|
|
1787
1949
|
unitPrice: number | null;
|
|
1788
1950
|
updatedAt: any | null;
|
|
1789
1951
|
variant: OrderLineVariant;
|
|
1790
1952
|
}
|
|
1953
|
+
export interface OrderLineItemCustomerSubscriptionPlan {
|
|
1954
|
+
id: string;
|
|
1955
|
+
}
|
|
1956
|
+
export interface OrderLineItemSubscriptionPlan {
|
|
1957
|
+
id: string;
|
|
1958
|
+
name: string;
|
|
1959
|
+
period: OrderLineItemSubscriptionPlanPeriod;
|
|
1960
|
+
}
|
|
1961
|
+
export interface OrderLineItemSubscriptionPlanPeriod {
|
|
1962
|
+
cutOffDay: number | null;
|
|
1963
|
+
discount: SubscriptionPlanDiscount | null;
|
|
1964
|
+
durationUnit: SubscriptionPlanDurationUnitTypeEnum;
|
|
1965
|
+
durationValue: number;
|
|
1966
|
+
id: string;
|
|
1967
|
+
maxOrders: number | null;
|
|
1968
|
+
paymentType: SubscriptionPlanPaymentTypeEnum;
|
|
1969
|
+
scheduledOrderDay: number | null;
|
|
1970
|
+
title: string;
|
|
1971
|
+
}
|
|
1791
1972
|
export interface OrderLineOption {
|
|
1792
1973
|
name: string;
|
|
1793
1974
|
productOptionId: string;
|
|
@@ -1896,6 +2077,18 @@ export interface OrderPaymentMethod {
|
|
|
1896
2077
|
price: number;
|
|
1897
2078
|
type: PaymentMethodTypeEnum;
|
|
1898
2079
|
}
|
|
2080
|
+
export interface OrderRefundReason {
|
|
2081
|
+
createdAt: any | null;
|
|
2082
|
+
deleted: boolean;
|
|
2083
|
+
id: string;
|
|
2084
|
+
title: string;
|
|
2085
|
+
translations: OrderRefundReasonTranslation[] | null;
|
|
2086
|
+
updatedAt: any | null;
|
|
2087
|
+
}
|
|
2088
|
+
export interface OrderRefundReasonTranslation {
|
|
2089
|
+
locale: string;
|
|
2090
|
+
title: string | null;
|
|
2091
|
+
}
|
|
1899
2092
|
export interface OrderRefundSettings {
|
|
1900
2093
|
autoApprove: boolean;
|
|
1901
2094
|
createdAt: any | null;
|
|
@@ -1967,6 +2160,7 @@ export interface OrderTaxLine {
|
|
|
1967
2160
|
rate: number;
|
|
1968
2161
|
}
|
|
1969
2162
|
export interface PaymentGateway {
|
|
2163
|
+
milesSmilesEnabled: boolean | null;
|
|
1970
2164
|
additionalPrices: AdditionalPrice[] | null;
|
|
1971
2165
|
availableCountries: string[] | null;
|
|
1972
2166
|
code: string;
|
|
@@ -2233,6 +2427,7 @@ export interface ProductSearchResponse {
|
|
|
2233
2427
|
limit: number;
|
|
2234
2428
|
page: number;
|
|
2235
2429
|
results: SearchProduct[];
|
|
2430
|
+
suggestions: SearchSuggestion[] | null;
|
|
2236
2431
|
totalCount: number;
|
|
2237
2432
|
}
|
|
2238
2433
|
export interface ProductTagTranslation {
|
|
@@ -2544,6 +2739,29 @@ export interface SearchProductStockLocation {
|
|
|
2544
2739
|
stockCount: number;
|
|
2545
2740
|
stockLocationId: string;
|
|
2546
2741
|
}
|
|
2742
|
+
export interface SearchProductSubscriptionPlan {
|
|
2743
|
+
name: string;
|
|
2744
|
+
periods: SearchProductSubscriptionPlanPeriod[];
|
|
2745
|
+
status: SubscriptionPlanStatusEnum;
|
|
2746
|
+
subscriptionPlanId: string;
|
|
2747
|
+
translations: SubscriptionPlanTranslation[] | null;
|
|
2748
|
+
}
|
|
2749
|
+
export interface SearchProductSubscriptionPlanDiscount {
|
|
2750
|
+
amount: number;
|
|
2751
|
+
type: OrderAmountTypeEnum;
|
|
2752
|
+
}
|
|
2753
|
+
export interface SearchProductSubscriptionPlanPeriod {
|
|
2754
|
+
cutOffDay: number | null;
|
|
2755
|
+
discount: SearchProductSubscriptionPlanDiscount | null;
|
|
2756
|
+
durationUnit: SubscriptionPlanDurationUnitTypeEnum;
|
|
2757
|
+
durationValue: number;
|
|
2758
|
+
id: string;
|
|
2759
|
+
maxOrders: number | null;
|
|
2760
|
+
paymentType: SubscriptionPlanPaymentTypeEnum;
|
|
2761
|
+
scheduledOrderDay: number | null;
|
|
2762
|
+
status: SubscriptionPlanStatusEnum;
|
|
2763
|
+
title: string;
|
|
2764
|
+
}
|
|
2547
2765
|
export interface SearchProductTag {
|
|
2548
2766
|
id: string;
|
|
2549
2767
|
name: string;
|
|
@@ -2554,6 +2772,12 @@ export interface SearchProductVariantType {
|
|
|
2554
2772
|
variantType: SearchVariantType;
|
|
2555
2773
|
variantValueIds: string[];
|
|
2556
2774
|
}
|
|
2775
|
+
export interface SearchSuggestion {
|
|
2776
|
+
brandId: string | null;
|
|
2777
|
+
categoryId: string | null;
|
|
2778
|
+
id: string;
|
|
2779
|
+
term: string;
|
|
2780
|
+
}
|
|
2557
2781
|
export interface SearchVariant {
|
|
2558
2782
|
attributes: SearchProductAttributeValue[] | null;
|
|
2559
2783
|
barcodeList: string[] | null;
|
|
@@ -2567,6 +2791,7 @@ export interface SearchVariant {
|
|
|
2567
2791
|
sellIfOutOfStock: boolean | null;
|
|
2568
2792
|
sku: string | null;
|
|
2569
2793
|
stocks: SearchProductStockLocation[] | null;
|
|
2794
|
+
subscriptionPlan: SearchProductSubscriptionPlan | null;
|
|
2570
2795
|
unit: VariantUnitModel | null;
|
|
2571
2796
|
variantValues: SearchVariationValueRelation[] | null;
|
|
2572
2797
|
weight: number | null;
|
|
@@ -2650,6 +2875,10 @@ export interface StockLocationAddressState {
|
|
|
2650
2875
|
id: string | null;
|
|
2651
2876
|
name: string | null;
|
|
2652
2877
|
}
|
|
2878
|
+
export interface StoreCreditBalanceResponse {
|
|
2879
|
+
amount: number;
|
|
2880
|
+
storeCredits: GiftCard[];
|
|
2881
|
+
}
|
|
2653
2882
|
export interface Storefront {
|
|
2654
2883
|
analytics4Id: string | null;
|
|
2655
2884
|
createdAt: any | null;
|
|
@@ -2890,6 +3119,15 @@ export interface StorefrontTransaction {
|
|
|
2890
3119
|
type: TransactionTypeEnum;
|
|
2891
3120
|
updatedAt: any | null;
|
|
2892
3121
|
}
|
|
3122
|
+
export interface SubscriptionPlanDiscount {
|
|
3123
|
+
amount: number;
|
|
3124
|
+
type: OrderAmountTypeEnum;
|
|
3125
|
+
}
|
|
3126
|
+
export interface SubscriptionPlanTranslation {
|
|
3127
|
+
description: string | null;
|
|
3128
|
+
locale: string;
|
|
3129
|
+
title: string;
|
|
3130
|
+
}
|
|
2893
3131
|
export interface Town {
|
|
2894
3132
|
createdAt: any | null;
|
|
2895
3133
|
deleted: boolean | null;
|
|
@@ -3066,6 +3304,8 @@ export interface AddItemToCartInput {
|
|
|
3066
3304
|
priceListId?: string | null;
|
|
3067
3305
|
salesChannelId: string;
|
|
3068
3306
|
storefrontThemeId: string;
|
|
3307
|
+
subscriptionPlanId?: string | null;
|
|
3308
|
+
subscriptionPlanPeriodId?: string | null;
|
|
3069
3309
|
}
|
|
3070
3310
|
export interface AppliedProductInput {
|
|
3071
3311
|
productId?: string | null;
|
|
@@ -3177,6 +3417,9 @@ export interface CreateSaleTransactionWithCartInput {
|
|
|
3177
3417
|
metadata?: any | null;
|
|
3178
3418
|
paymentGatewayId: string;
|
|
3179
3419
|
paymentMethodDetail?: PaymentMethodDetailInput | null;
|
|
3420
|
+
milesSmiles?: MilesSmilesPaymentInput | null;
|
|
3421
|
+
savedCardDetail?: SavedCardPaymentDetailInput | null;
|
|
3422
|
+
storeCard?: boolean | null;
|
|
3180
3423
|
}
|
|
3181
3424
|
export interface CreateSaleTransactionWithCheckoutInput {
|
|
3182
3425
|
checkoutId: string;
|
|
@@ -3184,6 +3427,7 @@ export interface CreateSaleTransactionWithCheckoutInput {
|
|
|
3184
3427
|
metadata?: any | null;
|
|
3185
3428
|
paymentGatewayId: string;
|
|
3186
3429
|
paymentMethodDetail?: PaymentMethodDetailInput | null;
|
|
3430
|
+
milesSmiles?: MilesSmilesPaymentInput | null;
|
|
3187
3431
|
}
|
|
3188
3432
|
export interface CustomerAddressCityInput {
|
|
3189
3433
|
code?: string | null;
|
|
@@ -3216,6 +3460,16 @@ export interface CustomerAttributeValueInput {
|
|
|
3216
3460
|
customerAttributeOptionId?: string | null;
|
|
3217
3461
|
value?: string | null;
|
|
3218
3462
|
}
|
|
3463
|
+
export interface CustomerRegisterSubscriptionInput {
|
|
3464
|
+
email: boolean;
|
|
3465
|
+
phone: boolean;
|
|
3466
|
+
sms: boolean;
|
|
3467
|
+
}
|
|
3468
|
+
export interface CustomerAttributeValueInput {
|
|
3469
|
+
customerAttributeId?: string | null;
|
|
3470
|
+
customerAttributeOptionId?: string | null;
|
|
3471
|
+
value?: string | null;
|
|
3472
|
+
}
|
|
3219
3473
|
export interface DateFilterInput {
|
|
3220
3474
|
eq?: any | null;
|
|
3221
3475
|
gt?: any | null;
|
|
@@ -3229,11 +3483,22 @@ export interface DateFilterInput {
|
|
|
3229
3483
|
export interface GetOrderLineFile {
|
|
3230
3484
|
url: string;
|
|
3231
3485
|
}
|
|
3486
|
+
export interface GetOrderInvoicePdfUrlInput {
|
|
3487
|
+
invoiceId: string;
|
|
3488
|
+
orderId: string;
|
|
3489
|
+
}
|
|
3490
|
+
export interface GetOrderLineFile {
|
|
3491
|
+
url: string;
|
|
3492
|
+
}
|
|
3232
3493
|
export interface GetProductCampaignsInput {
|
|
3233
3494
|
customerGroupIds?: string[] | null;
|
|
3234
3495
|
salesChannelId: string;
|
|
3235
3496
|
variantIds: string[];
|
|
3236
3497
|
}
|
|
3498
|
+
export interface GetRefundableLinesInput {
|
|
3499
|
+
email?: string | null;
|
|
3500
|
+
orderId: string;
|
|
3501
|
+
}
|
|
3237
3502
|
export interface HTMLMetaDataTargetTypeEnumFilter {
|
|
3238
3503
|
eq?: HTMLMetaDataTargetTypeEnum | null;
|
|
3239
3504
|
in?: HTMLMetaDataTargetTypeEnum[] | null;
|
|
@@ -3314,6 +3579,7 @@ export interface OrderRefundRequestInput {
|
|
|
3314
3579
|
orderId: string;
|
|
3315
3580
|
orderLineItems: OrderRefundOrderLineInput[];
|
|
3316
3581
|
reason?: string | null;
|
|
3582
|
+
refundReasonId?: string | null;
|
|
3317
3583
|
}
|
|
3318
3584
|
export interface PaginationInput {
|
|
3319
3585
|
limit?: number | null;
|
|
@@ -3364,12 +3630,36 @@ export interface RaffleParticipantsInput {
|
|
|
3364
3630
|
phone?: string | null;
|
|
3365
3631
|
raffleId: string;
|
|
3366
3632
|
}
|
|
3633
|
+
export interface MilesSmilesPaymentInput {
|
|
3634
|
+
miles: number;
|
|
3635
|
+
}
|
|
3636
|
+
/** PayTR saved card (DEV-3623). Carries no card tokens. */
|
|
3637
|
+
export interface SavedCard {
|
|
3638
|
+
cardAssociation: TransactionCardAssociationEnum | null;
|
|
3639
|
+
cardBankName: string | null;
|
|
3640
|
+
cardFamily: string | null;
|
|
3641
|
+
cardType: TransactionCardTypeEnum | null;
|
|
3642
|
+
expiryMonth: string | null;
|
|
3643
|
+
expiryYear: string | null;
|
|
3644
|
+
id: string;
|
|
3645
|
+
lastFourDigits: string | null;
|
|
3646
|
+
paymentGatewayId: string;
|
|
3647
|
+
requireCvv: boolean;
|
|
3648
|
+
}
|
|
3649
|
+
export interface SavedCardPaymentDetailInput {
|
|
3650
|
+
cvv?: string | null;
|
|
3651
|
+
installmentCount: number;
|
|
3652
|
+
savedCardId: string;
|
|
3653
|
+
threeDSecure?: boolean | null;
|
|
3654
|
+
}
|
|
3367
3655
|
export interface RetrieveInstallmentInfoInput {
|
|
3368
|
-
|
|
3656
|
+
/** Send either this or savedCardId, not both. */
|
|
3657
|
+
binNumber?: string | null;
|
|
3369
3658
|
currencyCode?: string | null;
|
|
3370
3659
|
orderId?: string | null;
|
|
3371
3660
|
paymentGatewayId: string;
|
|
3372
3661
|
price: number;
|
|
3662
|
+
savedCardId?: string | null;
|
|
3373
3663
|
}
|
|
3374
3664
|
export interface SaveCartInput {
|
|
3375
3665
|
attributes?: OrderAttributeValueInput[] | null;
|
|
@@ -3381,6 +3671,7 @@ export interface SaveCartInput {
|
|
|
3381
3671
|
giftPackageNote?: string | null;
|
|
3382
3672
|
id?: string | null;
|
|
3383
3673
|
isGiftPackage?: boolean | null;
|
|
3674
|
+
metadata?: any | null;
|
|
3384
3675
|
note?: string | null;
|
|
3385
3676
|
shippingAddress?: OrderAddressInput | null;
|
|
3386
3677
|
shippingSettingsId?: string | null;
|
|
@@ -3460,10 +3751,12 @@ export interface SearchDynamicCurrencySettings {
|
|
|
3460
3751
|
}
|
|
3461
3752
|
export interface SearchInput {
|
|
3462
3753
|
barcodeList?: string[] | null;
|
|
3754
|
+
baseCategoryIdList?: string[] | null;
|
|
3463
3755
|
brandId?: string | null;
|
|
3464
3756
|
brandIdList?: string[] | null;
|
|
3465
3757
|
categoryIdList?: string[] | null;
|
|
3466
3758
|
dynamicCurrencySettings?: SearchDynamicCurrencySettings | null;
|
|
3759
|
+
enableSuggestions?: boolean | null;
|
|
3467
3760
|
facetList?: SearchInputFacetListInput[] | null;
|
|
3468
3761
|
filterList?: SearchInputFilterListInput[] | null;
|
|
3469
3762
|
locale?: string | null;
|
|
@@ -3505,6 +3798,18 @@ export interface StringFilterInput {
|
|
|
3505
3798
|
ne?: string | null;
|
|
3506
3799
|
nin?: string[] | null;
|
|
3507
3800
|
}
|
|
3801
|
+
export interface StripeExpressCheckoutAddressInput {
|
|
3802
|
+
city?: string | null;
|
|
3803
|
+
country?: string | null;
|
|
3804
|
+
postalCode?: string | null;
|
|
3805
|
+
state?: string | null;
|
|
3806
|
+
}
|
|
3807
|
+
export interface StripeExpressCheckoutCustomerInput {
|
|
3808
|
+
email?: string | null;
|
|
3809
|
+
firstName?: string | null;
|
|
3810
|
+
id?: string | null;
|
|
3811
|
+
lastName?: string | null;
|
|
3812
|
+
}
|
|
3508
3813
|
export interface SubscribeToMarketingNotificationsInput {
|
|
3509
3814
|
captchaToken?: string | null;
|
|
3510
3815
|
email: string;
|
|
@@ -3521,14 +3826,63 @@ export interface UpdateCartCampaignOfferInput {
|
|
|
3521
3826
|
quantity?: number | null;
|
|
3522
3827
|
variantId: string;
|
|
3523
3828
|
}
|
|
3829
|
+
export interface UpdatePaypalOrderAddressInput {
|
|
3830
|
+
city?: string | null;
|
|
3831
|
+
country?: string | null;
|
|
3832
|
+
postalCode?: string | null;
|
|
3833
|
+
state?: string | null;
|
|
3834
|
+
}
|
|
3835
|
+
export interface UpdatePaypalOrderCustomerInput {
|
|
3836
|
+
email?: string | null;
|
|
3837
|
+
firstName?: string | null;
|
|
3838
|
+
id?: string | null;
|
|
3839
|
+
lastName?: string | null;
|
|
3840
|
+
}
|
|
3841
|
+
export interface UpdatePaypalOrderInput {
|
|
3842
|
+
address?: UpdatePaypalOrderAddressInput | null;
|
|
3843
|
+
cartId: string;
|
|
3844
|
+
customer?: UpdatePaypalOrderCustomerInput | null;
|
|
3845
|
+
shippingSettingsId?: string | null;
|
|
3846
|
+
shippingZoneRateId?: string | null;
|
|
3847
|
+
transactionId: string;
|
|
3848
|
+
}
|
|
3849
|
+
export interface UpdateStripeExpressCheckoutSessionInput {
|
|
3850
|
+
address?: StripeExpressCheckoutAddressInput | null;
|
|
3851
|
+
cartId: string;
|
|
3852
|
+
customer?: StripeExpressCheckoutCustomerInput | null;
|
|
3853
|
+
sessionId: string;
|
|
3854
|
+
shippingSettingsId?: string | null;
|
|
3855
|
+
shippingZoneRateId?: string | null;
|
|
3856
|
+
transactionId: string;
|
|
3857
|
+
}
|
|
3524
3858
|
export declare enum StorefrontPopupDeviceTypeEnum {
|
|
3525
3859
|
ALL = "ALL",
|
|
3526
3860
|
DESKTOP = "DESKTOP",
|
|
3527
3861
|
MOBILE = "MOBILE"
|
|
3528
3862
|
}
|
|
3529
3863
|
export declare enum StorefrontPopupDisplayFilterTypeEnum {
|
|
3864
|
+
APPLIED_CAMPAIGN = "APPLIED_CAMPAIGN",
|
|
3865
|
+
BRAND_IN_CART = "BRAND_IN_CART",
|
|
3866
|
+
CART_ITEM_COUNT = "CART_ITEM_COUNT",
|
|
3530
3867
|
CART_TOTAL = "CART_TOTAL",
|
|
3531
|
-
|
|
3868
|
+
CATEGORY_IN_CART = "CATEGORY_IN_CART",
|
|
3869
|
+
CUSTOMER_AUTH_STATUS = "CUSTOMER_AUTH_STATUS",
|
|
3870
|
+
CUSTOMER_GENDER = "CUSTOMER_GENDER",
|
|
3871
|
+
CUSTOMER_GROUP = "CUSTOMER_GROUP",
|
|
3872
|
+
CUSTOMER_SEGMENT = "CUSTOMER_SEGMENT",
|
|
3873
|
+
CUSTOMER_SUBSCRIPTION = "CUSTOMER_SUBSCRIPTION",
|
|
3874
|
+
PRODUCT_IN_CART = "PRODUCT_IN_CART"
|
|
3875
|
+
}
|
|
3876
|
+
export declare enum StorefrontPopupDisplayFilterOperatorEnum {
|
|
3877
|
+
ANY_OF = "ANY_OF",
|
|
3878
|
+
BETWEEN = "BETWEEN",
|
|
3879
|
+
EQUALS = "EQUALS",
|
|
3880
|
+
GREATER_THAN = "GREATER_THAN",
|
|
3881
|
+
GREATER_THAN_OR_EQUAL = "GREATER_THAN_OR_EQUAL",
|
|
3882
|
+
LESS_THAN = "LESS_THAN",
|
|
3883
|
+
LESS_THAN_OR_EQUAL = "LESS_THAN_OR_EQUAL",
|
|
3884
|
+
NONE_OF = "NONE_OF",
|
|
3885
|
+
NOT_EQUALS = "NOT_EQUALS"
|
|
3532
3886
|
}
|
|
3533
3887
|
export declare enum StorefrontPopupDisplayFrequencyEnum {
|
|
3534
3888
|
EVERY_TIME = "EVERY_TIME",
|
|
@@ -3576,6 +3930,7 @@ export interface StorefrontPopup {
|
|
|
3576
3930
|
deleted: boolean;
|
|
3577
3931
|
displayFilters: StorefrontPopupDisplayFilter[] | null;
|
|
3578
3932
|
displaySettings: StorefrontPopupDisplaySettings;
|
|
3933
|
+
hideFilters: StorefrontPopupDisplayFilter[] | null;
|
|
3579
3934
|
id: string;
|
|
3580
3935
|
name: string;
|
|
3581
3936
|
pageFilters: StorefrontPopupPageFilter[] | null;
|
|
@@ -3595,9 +3950,9 @@ export interface StorefrontPopupDateFilter {
|
|
|
3595
3950
|
startDate: any | null;
|
|
3596
3951
|
}
|
|
3597
3952
|
export interface StorefrontPopupDisplayFilter {
|
|
3598
|
-
operator:
|
|
3953
|
+
operator: StorefrontPopupDisplayFilterOperatorEnum;
|
|
3599
3954
|
type: StorefrontPopupDisplayFilterTypeEnum;
|
|
3600
|
-
value: string;
|
|
3955
|
+
value: string[];
|
|
3601
3956
|
}
|
|
3602
3957
|
export interface StorefrontPopupDisplaySettings {
|
|
3603
3958
|
frequency: StorefrontPopupDisplayFrequencyEnum;
|
|
@@ -3632,8 +3987,264 @@ export interface SaveCustomerFormDataInput {
|
|
|
3632
3987
|
storefrontPopupId?: string | null;
|
|
3633
3988
|
subscriptions?: CustomerRegisterSubscriptionInput | null;
|
|
3634
3989
|
}
|
|
3635
|
-
export
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3990
|
+
export interface AddLoyaltyToCartInput {
|
|
3991
|
+
amount?: number | null;
|
|
3992
|
+
cartId: string;
|
|
3993
|
+
loyaltyProgramId: string;
|
|
3994
|
+
loyaltySpendingMethodId: string;
|
|
3995
|
+
}
|
|
3996
|
+
export interface CartLoyaltyLine {
|
|
3997
|
+
campaignType: CampaignTypeEnum | null;
|
|
3998
|
+
discountAmount: number;
|
|
3999
|
+
discountAmountType: OrderAmountTypeEnum;
|
|
4000
|
+
discountPercentage: number | null;
|
|
4001
|
+
loyaltySpendingMethodId: string;
|
|
4002
|
+
pointUsed: number;
|
|
4003
|
+
}
|
|
4004
|
+
export interface LoyaltyCustomerInfo {
|
|
4005
|
+
availablePoint: number;
|
|
4006
|
+
cartLoyaltyLines: CartLoyaltyLine[] | null;
|
|
4007
|
+
cumulativeEarnedPoints: number;
|
|
4008
|
+
customerTier: LoyaltyProgramTier | null;
|
|
4009
|
+
loyaltyProgramCustomerId: string;
|
|
4010
|
+
loyaltyProgramId: string;
|
|
4011
|
+
nextAvailableDate: any | null;
|
|
4012
|
+
nextTierRequiredPoint: number | null;
|
|
4013
|
+
totalPoint: number;
|
|
4014
|
+
}
|
|
4015
|
+
export interface LoyaltyProgram {
|
|
4016
|
+
createdAt: any | null;
|
|
4017
|
+
deleted: boolean;
|
|
4018
|
+
earningMethods: LoyaltyProgramEarningMethod[] | null;
|
|
4019
|
+
id: string;
|
|
4020
|
+
isPassive: boolean | null;
|
|
4021
|
+
name: string;
|
|
4022
|
+
orderStatusToWinPoints: LoyaltyProgramOrderStatusToWinPointsEnum;
|
|
4023
|
+
previousOrderStartDate: any | null;
|
|
4024
|
+
refillPointsOnRefund: boolean | null;
|
|
4025
|
+
salesChannels: LoyaltyProgramSaleChannel[] | null;
|
|
4026
|
+
spendingMethods: LoyaltyProgramSpendingMethod[] | null;
|
|
4027
|
+
tiers: LoyaltyProgramTier[] | null;
|
|
4028
|
+
tokenName: string | null;
|
|
4029
|
+
updatedAt: any | null;
|
|
4030
|
+
validityPeriod: LoyaltyProgramPeriod | null;
|
|
4031
|
+
waitingPeriodDays: number | null;
|
|
4032
|
+
}
|
|
4033
|
+
export interface LoyaltyProgramDiscountSettings {
|
|
4034
|
+
discountAmount: number | null;
|
|
4035
|
+
freeProductId: string | null;
|
|
4036
|
+
freeProductVariantId: string | null;
|
|
4037
|
+
point: number;
|
|
4038
|
+
}
|
|
4039
|
+
export interface LoyaltyProgramEarningMethod {
|
|
4040
|
+
activatedAt: any | null;
|
|
4041
|
+
amountPerPointsEarned: number | null;
|
|
4042
|
+
createdAt: any | null;
|
|
4043
|
+
deleted: boolean;
|
|
4044
|
+
description: string | null;
|
|
4045
|
+
earnedPointLimit: LoyaltyProgramPointLimit | null;
|
|
4046
|
+
id: string;
|
|
4047
|
+
isActive: boolean;
|
|
4048
|
+
lastValidityDate: any | null;
|
|
4049
|
+
loyaltyProgramId: string;
|
|
4050
|
+
methodType: EarningMethodTypeEnum;
|
|
4051
|
+
orderSettings: LoyaltyProgramEarningMethodOrderSettings | null;
|
|
4052
|
+
pointEarningType: LoyaltyProgramPointEarningTypeEnum;
|
|
4053
|
+
pointsEarned: number;
|
|
4054
|
+
productSettings: LoyaltyProgramEarningMethodProductSettings | null;
|
|
4055
|
+
quantityPerPointsEarned: number | null;
|
|
4056
|
+
requireImageForCustomerReview: boolean | null;
|
|
4057
|
+
segmentId: string | null;
|
|
4058
|
+
tierIds: string[] | null;
|
|
4059
|
+
translations: LoyaltyProgramMethodTranslation[] | null;
|
|
4060
|
+
updatedAt: any | null;
|
|
4061
|
+
validityPeriod: LoyaltyProgramPeriod | null;
|
|
4062
|
+
waitingPeriodDays: number | null;
|
|
4063
|
+
}
|
|
4064
|
+
export interface LoyaltyProgramEarningMethodOrderSettings {
|
|
4065
|
+
maxOrderAmount: number | null;
|
|
4066
|
+
minOrderAmount: number | null;
|
|
4067
|
+
productFilters: LoyaltyProgramFilter[] | null;
|
|
4068
|
+
}
|
|
4069
|
+
export interface LoyaltyProgramEarningMethodProductSettings {
|
|
4070
|
+
maxProductQuantity: number | null;
|
|
4071
|
+
minProductQuantity: number | null;
|
|
4072
|
+
productFilters: LoyaltyProgramFilter[] | null;
|
|
4073
|
+
}
|
|
4074
|
+
export interface LoyaltyProgramFilter {
|
|
4075
|
+
idList: string[];
|
|
4076
|
+
type: LoyaltyProgramFilterTypeEnum;
|
|
4077
|
+
}
|
|
4078
|
+
export interface LoyaltyProgramMethodTranslation {
|
|
4079
|
+
description: string;
|
|
4080
|
+
locale: string;
|
|
4081
|
+
}
|
|
4082
|
+
export interface LoyaltyProgramPeriod {
|
|
4083
|
+
period: string | null;
|
|
4084
|
+
periodType: PeriodTypeEnum | null;
|
|
4085
|
+
}
|
|
4086
|
+
export interface LoyaltyProgramPointHistory {
|
|
4087
|
+
amount: number;
|
|
4088
|
+
availableDate: any | null;
|
|
4089
|
+
baseAmount: number | null;
|
|
4090
|
+
baseQuantity: number | null;
|
|
4091
|
+
createdAt: any | null;
|
|
4092
|
+
customerId: string;
|
|
4093
|
+
customerReviewId: string | null;
|
|
4094
|
+
deleted: boolean;
|
|
4095
|
+
expireDate: any | null;
|
|
4096
|
+
id: string;
|
|
4097
|
+
loyaltyProgramCustomerId: string;
|
|
4098
|
+
loyaltyProgramEarningMethodId: string | null;
|
|
4099
|
+
loyaltyProgramId: string;
|
|
4100
|
+
loyaltyProgramSpendingMethodId: string | null;
|
|
4101
|
+
orderId: string | null;
|
|
4102
|
+
productVariantId: string | null;
|
|
4103
|
+
refundTransactionId: string | null;
|
|
4104
|
+
retroactiveCalculationId: string | null;
|
|
4105
|
+
type: LoyaltyProgramPointHistoryTypeEnum;
|
|
4106
|
+
updatedAt: any | null;
|
|
4107
|
+
}
|
|
4108
|
+
export interface LoyaltyProgramPointLimit {
|
|
4109
|
+
maxPointLimit: number | null;
|
|
4110
|
+
minPointLimit: number | null;
|
|
4111
|
+
}
|
|
4112
|
+
export interface LoyaltyProgramSaleChannel {
|
|
4113
|
+
pageFilters: StorefrontPopupPageFilter[] | null;
|
|
4114
|
+
routingIds: string[] | null;
|
|
4115
|
+
salesChannelId: string;
|
|
4116
|
+
storefrontId: string | null;
|
|
4117
|
+
}
|
|
4118
|
+
export interface LoyaltyProgramSpendingMethod {
|
|
4119
|
+
createdAt: any | null;
|
|
4120
|
+
deleted: boolean;
|
|
4121
|
+
description: string | null;
|
|
4122
|
+
discountSettings: LoyaltyProgramDiscountSettings | null;
|
|
4123
|
+
id: string;
|
|
4124
|
+
isActive: boolean;
|
|
4125
|
+
isAvailable: boolean | null;
|
|
4126
|
+
isDynamic: boolean;
|
|
4127
|
+
loyaltyProgramId: string;
|
|
4128
|
+
pointUsageLimit: LoyaltyProgramPointLimit | null;
|
|
4129
|
+
productFilters: LoyaltyProgramFilter[] | null;
|
|
4130
|
+
translations: LoyaltyProgramMethodTranslation[] | null;
|
|
4131
|
+
type: LoyaltyProgramMethodSpendingTypeEnum;
|
|
4132
|
+
unavailableReason: LoyaltyLineErrorCodeEnum | null;
|
|
4133
|
+
updatedAt: any | null;
|
|
4134
|
+
}
|
|
4135
|
+
export interface LoyaltyProgramTier {
|
|
4136
|
+
createdAt: any | null;
|
|
4137
|
+
customerSegmentId: string | null;
|
|
4138
|
+
deleted: boolean;
|
|
4139
|
+
id: string;
|
|
4140
|
+
isActive: boolean;
|
|
4141
|
+
loyaltyProgramId: string;
|
|
4142
|
+
maintenanceType: LoyaltyTierMaintenanceTypeEnum | null;
|
|
4143
|
+
maintenanceTypeEffectiveAt: any | null;
|
|
4144
|
+
name: string;
|
|
4145
|
+
period: LoyaltyProgramPeriod | null;
|
|
4146
|
+
pointsRequired: number | null;
|
|
4147
|
+
tierPointMultiplier: number | null;
|
|
4148
|
+
translations: LoyaltyProgramTierTranslation[] | null;
|
|
4149
|
+
updatedAt: any | null;
|
|
4150
|
+
}
|
|
4151
|
+
export interface LoyaltyProgramTierTranslation {
|
|
4152
|
+
locale: string;
|
|
4153
|
+
name: string;
|
|
4154
|
+
}
|
|
4155
|
+
export interface LoyaltyWidgetSettings {
|
|
4156
|
+
pageFilters: StorefrontPopupPageFilter[] | null;
|
|
4157
|
+
}
|
|
4158
|
+
export declare enum LoyaltyProgramFilterTypeEnum {
|
|
4159
|
+
CATEGORY = "CATEGORY",
|
|
4160
|
+
DYNAMIC_CATEGORY = "DYNAMIC_CATEGORY",
|
|
4161
|
+
PRODUCT_AND_VARIANT = "PRODUCT_AND_VARIANT",
|
|
4162
|
+
PRODUCT_BRAND = "PRODUCT_BRAND",
|
|
4163
|
+
PRODUCT_TAG = "PRODUCT_TAG"
|
|
4164
|
+
}
|
|
4165
|
+
export declare enum LoyaltyLineErrorCodeEnum {
|
|
4166
|
+
LOYALTY_NOT_APPLICABLE = "LOYALTY_NOT_APPLICABLE",
|
|
4167
|
+
LOYALTY_NOT_COMBINABLE_WITH_CAMPAIGN = "LOYALTY_NOT_COMBINABLE_WITH_CAMPAIGN",
|
|
4168
|
+
NOT_ENOUGH_LOYALTY_POINTS = "NOT_ENOUGH_LOYALTY_POINTS"
|
|
4169
|
+
}
|
|
4170
|
+
export declare enum LoyaltyProgramMethodSpendingTypeEnum {
|
|
4171
|
+
FIXED_AMOUNT = "FIXED_AMOUNT",
|
|
4172
|
+
FREE_PRODUCT = "FREE_PRODUCT",
|
|
4173
|
+
FREE_SHIPPING = "FREE_SHIPPING",
|
|
4174
|
+
RATIO = "RATIO"
|
|
4175
|
+
}
|
|
4176
|
+
export declare enum LoyaltyProgramOrderStatusToWinPointsEnum {
|
|
4177
|
+
ORDER_CREATED = "ORDER_CREATED",
|
|
4178
|
+
ORDER_DELIVERED = "ORDER_DELIVERED",
|
|
4179
|
+
PAYMENT_COMPLETED = "PAYMENT_COMPLETED"
|
|
4180
|
+
}
|
|
4181
|
+
export declare enum LoyaltyProgramPointEarningTypeEnum {
|
|
4182
|
+
DYNAMIC_ORDER_AMOUNT = "DYNAMIC_ORDER_AMOUNT",
|
|
4183
|
+
DYNAMIC_ORDER_QUANTITY = "DYNAMIC_ORDER_QUANTITY",
|
|
4184
|
+
STATIC = "STATIC"
|
|
4185
|
+
}
|
|
4186
|
+
export declare enum LoyaltyProgramPointHistoryTypeEnum {
|
|
4187
|
+
EARN = "EARN",
|
|
4188
|
+
MANUAL_DEDUCT = "MANUAL_DEDUCT",
|
|
4189
|
+
MANUAL_EARN = "MANUAL_EARN",
|
|
4190
|
+
REFILL = "REFILL",
|
|
4191
|
+
REFUND = "REFUND",
|
|
4192
|
+
SPEND = "SPEND"
|
|
4193
|
+
}
|
|
4194
|
+
export interface OrderLoyaltyLine {
|
|
4195
|
+
amount: number;
|
|
4196
|
+
id: string;
|
|
4197
|
+
loyaltyProgramCustomerId: string;
|
|
4198
|
+
loyaltyProgramId: string;
|
|
4199
|
+
loyaltyProgramSpendingMethodType: string | null;
|
|
4200
|
+
loyaltySpendingMethodId: string;
|
|
4201
|
+
}
|
|
4202
|
+
export declare enum EarningMethodTypeEnum {
|
|
4203
|
+
BUY_PRODUCT = "BUY_PRODUCT",
|
|
4204
|
+
CUSTOMER_REGISTER = "CUSTOMER_REGISTER",
|
|
4205
|
+
CUSTOMER_REVIEW = "CUSTOMER_REVIEW",
|
|
4206
|
+
CUSTOMER_SEGMENT = "CUSTOMER_SEGMENT",
|
|
4207
|
+
ENABLE_SUBSCRIPTION = "ENABLE_SUBSCRIPTION",
|
|
4208
|
+
ORDER_CREATE = "ORDER_CREATE"
|
|
4209
|
+
}
|
|
4210
|
+
export declare enum PeriodTypeEnum {
|
|
4211
|
+
MONTH = "MONTH",
|
|
4212
|
+
WEEK = "WEEK",
|
|
4213
|
+
YEAR = "YEAR"
|
|
4214
|
+
}
|
|
4215
|
+
export interface LoyaltyProgramPointHistoryTypeEnumFilterInput {
|
|
4216
|
+
eq?: LoyaltyProgramPointHistoryTypeEnum | null;
|
|
4217
|
+
in?: LoyaltyProgramPointHistoryTypeEnum[] | null;
|
|
4218
|
+
ne?: LoyaltyProgramPointHistoryTypeEnum | null;
|
|
4219
|
+
nin?: LoyaltyProgramPointHistoryTypeEnum[] | null;
|
|
4220
|
+
}
|
|
4221
|
+
export declare enum StorefrontWidgetSettingsStatusEnum {
|
|
4222
|
+
ACTIVE = "ACTIVE",
|
|
4223
|
+
PASSIVE = "PASSIVE"
|
|
4224
|
+
}
|
|
4225
|
+
export interface StorefrontWidgetSettings {
|
|
4226
|
+
createdAt: any | null;
|
|
4227
|
+
deleted: boolean;
|
|
4228
|
+
id: string;
|
|
4229
|
+
status: StorefrontWidgetSettingsStatusEnum;
|
|
4230
|
+
storefrontRoutings: StorefrontWidgetSettingsRouting[];
|
|
4231
|
+
themeSettingsJson: any | null;
|
|
4232
|
+
updatedAt: any | null;
|
|
4233
|
+
}
|
|
4234
|
+
export interface StorefrontWidgetSettingsRouting {
|
|
4235
|
+
storefrontId: string;
|
|
4236
|
+
storefrontRoutingId: string;
|
|
4237
|
+
}
|
|
4238
|
+
export interface StripeExpressCheckoutSessionContextResponse {
|
|
4239
|
+
amountTotal: number | null;
|
|
4240
|
+
currency: string | null;
|
|
4241
|
+
lineItemsJson: string | null;
|
|
4242
|
+
paymentStatus: string | null;
|
|
4243
|
+
sessionId: string;
|
|
4244
|
+
shippingOptionsJson: string | null;
|
|
4245
|
+
transactionId: string;
|
|
4246
|
+
}
|
|
4247
|
+
export declare enum LoyaltyTierMaintenanceTypeEnum {
|
|
4248
|
+
AUTO_MAINTENANCE = "AUTO_MAINTENANCE",
|
|
4249
|
+
NO_MAINTENANCE = "NO_MAINTENANCE"
|
|
3639
4250
|
}
|