@ikas/storefront-api 6.1.0-beta.38 → 6.1.0-beta.381
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/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/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 +24 -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/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/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/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 +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/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/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 +588 -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 +19 -4
- package/build/api/checkout/index.js +1 -1
- package/build/api/customer/index.d.ts +45 -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
|
@@ -11,6 +11,8 @@ export declare class AddItemToCartInputData {
|
|
|
11
11
|
priceListId: string | null;
|
|
12
12
|
salesChannelId: string;
|
|
13
13
|
storefrontThemeId: string;
|
|
14
|
+
subscriptionPlanId: string | null;
|
|
15
|
+
subscriptionPlanPeriodId: string | null;
|
|
14
16
|
constructor(data?: Partial<AddItemToCartInputData>);
|
|
15
17
|
}
|
|
16
18
|
export declare class AddItemToCartInput extends AddItemToCartInputData {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class AddLoyaltyToCartInputData {
|
|
3
|
+
amount: number | null;
|
|
4
|
+
cartId: string;
|
|
5
|
+
loyaltyProgramId: string;
|
|
6
|
+
loyaltySpendingMethodId: string;
|
|
7
|
+
constructor(data?: Partial<AddLoyaltyToCartInputData>);
|
|
8
|
+
}
|
|
9
|
+
export declare class AddLoyaltyToCartInput extends AddLoyaltyToCartInputData {
|
|
10
|
+
}
|
|
11
|
+
export declare type PartialAddLoyaltyToCartInput = Partial<AddLoyaltyToCartInput>;
|
|
12
|
+
export declare type ReadOnlyAddLoyaltyToCartInput = DeepReadonly<AddLoyaltyToCartInput>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class AddressFieldRestrictionsData {
|
|
3
|
+
addressLine1: string | null;
|
|
4
|
+
addressLine2: string | null;
|
|
5
|
+
companyName: string | null;
|
|
6
|
+
firstName: string | null;
|
|
7
|
+
lastName: string | null;
|
|
8
|
+
taxOffice: string | null;
|
|
9
|
+
constructor(data?: Partial<AddressFieldRestrictionsData>);
|
|
10
|
+
}
|
|
11
|
+
export declare class AddressFieldRestrictions extends AddressFieldRestrictionsData {
|
|
12
|
+
}
|
|
13
|
+
export declare type PartialAddressFieldRestrictions = Partial<AddressFieldRestrictions>;
|
|
14
|
+
export declare type ReadOnlyAddressFieldRestrictions = DeepReadonly<AddressFieldRestrictions>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { CampaignTypeEnum, OrderAmountTypeEnum } from "../types";
|
|
3
|
+
export declare class CartLoyaltyLineData {
|
|
4
|
+
campaignType: CampaignTypeEnum | null;
|
|
5
|
+
discountAmount: number;
|
|
6
|
+
discountAmountType: OrderAmountTypeEnum;
|
|
7
|
+
discountPercentage: number | null;
|
|
8
|
+
loyaltySpendingMethodId: string;
|
|
9
|
+
pointUsed: number;
|
|
10
|
+
constructor(data?: Partial<CartLoyaltyLineData>);
|
|
11
|
+
}
|
|
12
|
+
export declare class CartLoyaltyLine extends CartLoyaltyLineData {
|
|
13
|
+
}
|
|
14
|
+
export declare type PartialCartLoyaltyLine = Partial<CartLoyaltyLine>;
|
|
15
|
+
export declare type ReadOnlyCartLoyaltyLine = DeepReadonly<CartLoyaltyLine>;
|
|
@@ -10,6 +10,7 @@ import { OrderCurrencyRateData } from "./OrderCurrencyRate";
|
|
|
10
10
|
import { OrderCustomerData } from "./OrderCustomer";
|
|
11
11
|
import { OrderGiftCardLineData } from "./OrderGiftCardLine";
|
|
12
12
|
import { OrderGiftPackageLineData } from "./OrderGiftPackageLine";
|
|
13
|
+
import { OrderLoyaltyLineData } from "./OrderLoyaltyLine";
|
|
13
14
|
import { OrderAdjustmentData } from "./OrderAdjustment";
|
|
14
15
|
import { OrderLineItemData } from "./OrderLineItem";
|
|
15
16
|
import { OrderSessionInfoData } from "./OrderSessionInfo";
|
|
@@ -34,12 +35,14 @@ export declare class CartV2Data extends BaseModelData {
|
|
|
34
35
|
customer: OrderCustomerData | null;
|
|
35
36
|
customerId: string | null;
|
|
36
37
|
dueDate: any | null;
|
|
38
|
+
edited: boolean | null;
|
|
37
39
|
giftCardLines: OrderGiftCardLineData[] | null;
|
|
38
40
|
giftPackageLines: OrderGiftPackageLineData[] | null;
|
|
39
41
|
giftPackageNote: string | null;
|
|
40
42
|
host: string | null;
|
|
41
43
|
isGiftPackage: boolean | null;
|
|
42
44
|
itemCount: number | null;
|
|
45
|
+
loyaltyLines: OrderLoyaltyLineData[] | null;
|
|
43
46
|
merchantId: string;
|
|
44
47
|
note: string | null;
|
|
45
48
|
orderAdjustments: OrderAdjustmentData[] | null;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
2
|
import BaseModelData from "./_base";
|
|
3
3
|
import { CorporateInvoiceRequirementEnum, CouponCodeRequirementEnum, CheckoutRequirementEnum } from "../types";
|
|
4
|
+
import { AddressFieldRestrictionsData } from "./AddressFieldRestrictions";
|
|
4
5
|
import { CheckoutSettingsPriceData } from "./CheckoutSettingsPrice";
|
|
5
6
|
import { CheckoutOptionData } from "./CheckoutOption";
|
|
6
7
|
export declare class CheckoutSettingsData extends BaseModelData {
|
|
8
|
+
addressFieldRestrictions: AddressFieldRestrictionsData | null;
|
|
7
9
|
corporateInvoiceRequirement: CorporateInvoiceRequirementEnum | null;
|
|
8
10
|
couponCodeRequirement: CouponCodeRequirementEnum | null;
|
|
9
11
|
giftPackagePriceList: CheckoutSettingsPriceData[] | null;
|
|
@@ -16,6 +18,7 @@ export declare class CheckoutSettingsData extends BaseModelData {
|
|
|
16
18
|
options: CheckoutOptionData[] | null;
|
|
17
19
|
phoneRequirement: CheckoutRequirementEnum;
|
|
18
20
|
postalCodeRequirement: CheckoutRequirementEnum | null;
|
|
21
|
+
showBillingAddressOnShippingStep: boolean | null;
|
|
19
22
|
showCheckoutNote: boolean | null;
|
|
20
23
|
showCompanyInfoInShippingAddress: boolean | null;
|
|
21
24
|
showTermsAndConditionsCheckbox: boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class CreateIyzicoCheckoutFormResponseData {
|
|
3
|
+
checkoutFormContent: string;
|
|
4
|
+
paymentPageUrl: string;
|
|
5
|
+
constructor(data?: Partial<CreateIyzicoCheckoutFormResponseData>);
|
|
6
|
+
}
|
|
7
|
+
export declare class CreateIyzicoCheckoutFormResponse extends CreateIyzicoCheckoutFormResponseData {
|
|
8
|
+
}
|
|
9
|
+
export declare type PartialCreateIyzicoCheckoutFormResponse = Partial<CreateIyzicoCheckoutFormResponse>;
|
|
10
|
+
export declare type ReadOnlyCreateIyzicoCheckoutFormResponse = DeepReadonly<CreateIyzicoCheckoutFormResponse>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class CreatePayWithIkasSessionUrlResponseData {
|
|
3
|
+
expiresAt: number;
|
|
4
|
+
payUrl: string;
|
|
5
|
+
constructor(data?: Partial<CreatePayWithIkasSessionUrlResponseData>);
|
|
6
|
+
}
|
|
7
|
+
export declare class CreatePayWithIkasSessionUrlResponse extends CreatePayWithIkasSessionUrlResponseData {
|
|
8
|
+
}
|
|
9
|
+
export declare type PartialCreatePayWithIkasSessionUrlResponse = Partial<CreatePayWithIkasSessionUrlResponse>;
|
|
10
|
+
export declare type ReadOnlyCreatePayWithIkasSessionUrlResponse = DeepReadonly<CreatePayWithIkasSessionUrlResponse>;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
2
|
import { CreateSaleTransactionMasterPassPaymentMethodDetailData } from "./CreateSaleTransactionMasterPassPaymentMethodDetail";
|
|
3
|
+
import { MilesSmilesPaymentInputData } from "./MilesSmilesPaymentInput";
|
|
3
4
|
import { PaymentMethodDetailInputData } from "./PaymentMethodDetailInput";
|
|
4
5
|
export declare class CreateSaleTransactionWithCartInputData {
|
|
5
6
|
cartId: string;
|
|
6
7
|
masterPassDetail: CreateSaleTransactionMasterPassPaymentMethodDetailData | null;
|
|
7
8
|
metadata: any | null;
|
|
9
|
+
milesSmiles: MilesSmilesPaymentInputData | null;
|
|
8
10
|
paymentGatewayId: string;
|
|
9
11
|
paymentMethodDetail: PaymentMethodDetailInputData | null;
|
|
10
12
|
constructor(data?: Partial<CreateSaleTransactionWithCartInputData>);
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
2
|
import { CreateSaleTransactionMasterPassPaymentMethodDetailData } from "./CreateSaleTransactionMasterPassPaymentMethodDetail";
|
|
3
|
+
import { MilesSmilesPaymentInputData } from "./MilesSmilesPaymentInput";
|
|
3
4
|
import { PaymentMethodDetailInputData } from "./PaymentMethodDetailInput";
|
|
4
5
|
export declare class CreateSaleTransactionWithCheckoutInputData {
|
|
5
6
|
checkoutId: string;
|
|
6
7
|
masterPassDetail: CreateSaleTransactionMasterPassPaymentMethodDetailData | null;
|
|
7
8
|
metadata: any | null;
|
|
9
|
+
milesSmiles: MilesSmilesPaymentInputData | null;
|
|
8
10
|
paymentGatewayId: string;
|
|
9
11
|
paymentMethodDetail: PaymentMethodDetailInputData | null;
|
|
10
12
|
constructor(data?: Partial<CreateSaleTransactionWithCheckoutInputData>);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class CreateStripeExpressCheckoutSessionResponseData {
|
|
3
|
+
accountId: string;
|
|
4
|
+
apiKey: string;
|
|
5
|
+
callbackUrl: string;
|
|
6
|
+
clientSecret: string;
|
|
7
|
+
failUrl: string;
|
|
8
|
+
sessionId: string;
|
|
9
|
+
transactionId: string;
|
|
10
|
+
constructor(data?: Partial<CreateStripeExpressCheckoutSessionResponseData>);
|
|
11
|
+
}
|
|
12
|
+
export declare class CreateStripeExpressCheckoutSessionResponse extends CreateStripeExpressCheckoutSessionResponseData {
|
|
13
|
+
}
|
|
14
|
+
export declare type PartialCreateStripeExpressCheckoutSessionResponse = Partial<CreateStripeExpressCheckoutSessionResponse>;
|
|
15
|
+
export declare type ReadOnlyCreateStripeExpressCheckoutSessionResponse = DeepReadonly<CreateStripeExpressCheckoutSessionResponse>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class CreateTkPayCheckoutFormResponseData {
|
|
3
|
+
paymentPageUrl: string;
|
|
4
|
+
callbackUrl: string;
|
|
5
|
+
constructor(data?: Partial<CreateTkPayCheckoutFormResponseData>);
|
|
6
|
+
}
|
|
7
|
+
export declare class CreateTkPayCheckoutFormResponse extends CreateTkPayCheckoutFormResponseData {
|
|
8
|
+
}
|
|
9
|
+
export declare type PartialCreateTkPayCheckoutFormResponse = Partial<CreateTkPayCheckoutFormResponse>;
|
|
10
|
+
export declare type ReadOnlyCreateTkPayCheckoutFormResponse = DeepReadonly<CreateTkPayCheckoutFormResponse>;
|
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
2
|
import BaseModelData from "./_base";
|
|
3
3
|
import { CustomerReviewStatusEnum } from "../types";
|
|
4
|
+
import { CustomerReviewProductModelData } from "./CustomerReviewProductModel";
|
|
5
|
+
import { CustomerReviewReplyInfoData } from "./CustomerReviewReplyInfo";
|
|
4
6
|
export declare class CustomerReviewData extends BaseModelData {
|
|
5
7
|
comment: string | null;
|
|
6
8
|
customerId: string | null;
|
|
7
9
|
email: string | null;
|
|
8
10
|
firstName: string | null;
|
|
9
11
|
imageIds: string[] | null;
|
|
12
|
+
isPrivateReply: boolean | null;
|
|
10
13
|
lastName: string | null;
|
|
14
|
+
locale: string | null;
|
|
11
15
|
orderId: string | null;
|
|
12
16
|
orderNumber: string | null;
|
|
17
|
+
product: CustomerReviewProductModelData | null;
|
|
13
18
|
productId: string;
|
|
14
19
|
reply: string | null;
|
|
20
|
+
replyInfo: CustomerReviewReplyInfoData | null;
|
|
15
21
|
salesChannelId: string | null;
|
|
16
22
|
star: number;
|
|
17
23
|
status: CustomerReviewStatusEnum | null;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { ProductTypeEnum } from "../types";
|
|
3
|
+
export declare class CustomerReviewProductModelData {
|
|
4
|
+
brandId: string | null;
|
|
5
|
+
categoryIds: string[] | null;
|
|
6
|
+
id: string | null;
|
|
7
|
+
tagIds: string | null;
|
|
8
|
+
type: ProductTypeEnum | null;
|
|
9
|
+
vendorId: string | null;
|
|
10
|
+
constructor(data?: Partial<CustomerReviewProductModelData>);
|
|
11
|
+
}
|
|
12
|
+
export declare class CustomerReviewProductModel extends CustomerReviewProductModelData {
|
|
13
|
+
}
|
|
14
|
+
export declare type PartialCustomerReviewProductModel = Partial<CustomerReviewProductModel>;
|
|
15
|
+
export declare type ReadOnlyCustomerReviewProductModel = DeepReadonly<CustomerReviewProductModel>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class CustomerReviewReplyInfoData {
|
|
3
|
+
createdAt: any | null;
|
|
4
|
+
staffId: string | null;
|
|
5
|
+
constructor(data?: Partial<CustomerReviewReplyInfoData>);
|
|
6
|
+
}
|
|
7
|
+
export declare class CustomerReviewReplyInfo extends CustomerReviewReplyInfoData {
|
|
8
|
+
}
|
|
9
|
+
export declare type PartialCustomerReviewReplyInfo = Partial<CustomerReviewReplyInfo>;
|
|
10
|
+
export declare type ReadOnlyCustomerReviewReplyInfo = DeepReadonly<CustomerReviewReplyInfo>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { CustomerExternalAccountLinkProviderEnum } from "../types";
|
|
3
|
+
export declare class ExternalAccountLinkData {
|
|
4
|
+
externalId: string;
|
|
5
|
+
linkedAt: any;
|
|
6
|
+
provider: CustomerExternalAccountLinkProviderEnum;
|
|
7
|
+
constructor(data?: Partial<ExternalAccountLinkData>);
|
|
8
|
+
}
|
|
9
|
+
export declare class ExternalAccountLink extends ExternalAccountLinkData {
|
|
10
|
+
}
|
|
11
|
+
export declare type PartialExternalAccountLink = Partial<ExternalAccountLink>;
|
|
12
|
+
export declare type ReadOnlyExternalAccountLink = DeepReadonly<ExternalAccountLink>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class GetCustomerReviewImageUploadUrlResponseData {
|
|
3
|
+
fields: any;
|
|
4
|
+
imageId: string;
|
|
5
|
+
uploadUrl: string;
|
|
6
|
+
constructor(data?: Partial<GetCustomerReviewImageUploadUrlResponseData>);
|
|
7
|
+
}
|
|
8
|
+
export declare class GetCustomerReviewImageUploadUrlResponse extends GetCustomerReviewImageUploadUrlResponseData {
|
|
9
|
+
}
|
|
10
|
+
export declare type PartialGetCustomerReviewImageUploadUrlResponse = Partial<GetCustomerReviewImageUploadUrlResponse>;
|
|
11
|
+
export declare type ReadOnlyGetCustomerReviewImageUploadUrlResponse = DeepReadonly<GetCustomerReviewImageUploadUrlResponse>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { OrderRefundFlowEnum } from "../types";
|
|
3
|
+
export declare class GetRefundableLineItemResponseData {
|
|
4
|
+
autoApprove: boolean;
|
|
5
|
+
flow: OrderRefundFlowEnum | null;
|
|
6
|
+
isCancellable: boolean;
|
|
7
|
+
isRefundable: boolean;
|
|
8
|
+
orderLineItemId: string;
|
|
9
|
+
constructor(data?: Partial<GetRefundableLineItemResponseData>);
|
|
10
|
+
}
|
|
11
|
+
export declare class GetRefundableLineItemResponse extends GetRefundableLineItemResponseData {
|
|
12
|
+
}
|
|
13
|
+
export declare type PartialGetRefundableLineItemResponse = Partial<GetRefundableLineItemResponse>;
|
|
14
|
+
export declare type ReadOnlyGetRefundableLineItemResponse = DeepReadonly<GetRefundableLineItemResponse>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class GetRefundableLinesInputData {
|
|
3
|
+
email: string | null;
|
|
4
|
+
orderId: string;
|
|
5
|
+
constructor(data?: Partial<GetRefundableLinesInputData>);
|
|
6
|
+
}
|
|
7
|
+
export declare class GetRefundableLinesInput extends GetRefundableLinesInputData {
|
|
8
|
+
}
|
|
9
|
+
export declare type PartialGetRefundableLinesInput = Partial<GetRefundableLinesInput>;
|
|
10
|
+
export declare type ReadOnlyGetRefundableLinesInput = DeepReadonly<GetRefundableLinesInput>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { GetRefundableLineItemResponseData } from "./GetRefundableLineItemResponse";
|
|
3
|
+
import { OrderRefundReasonData } from "./OrderRefundReason";
|
|
4
|
+
import { OrderRefundSettingsTranslationData } from "./OrderRefundSettingsTranslation";
|
|
5
|
+
export declare class GetRefundableLinesResponseData {
|
|
6
|
+
orderLineItems: GetRefundableLineItemResponseData[];
|
|
7
|
+
refundReasons: OrderRefundReasonData[];
|
|
8
|
+
translations: OrderRefundSettingsTranslationData[];
|
|
9
|
+
constructor(data?: Partial<GetRefundableLinesResponseData>);
|
|
10
|
+
}
|
|
11
|
+
export declare class GetRefundableLinesResponse extends GetRefundableLinesResponseData {
|
|
12
|
+
}
|
|
13
|
+
export declare type PartialGetRefundableLinesResponse = Partial<GetRefundableLinesResponse>;
|
|
14
|
+
export declare type ReadOnlyGetRefundableLinesResponse = DeepReadonly<GetRefundableLinesResponse>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class HepsipayFrameInitResponseData {
|
|
3
|
+
frameToken: string | null;
|
|
4
|
+
frameUrl: string | null;
|
|
5
|
+
transactionId: string;
|
|
6
|
+
constructor(data?: Partial<HepsipayFrameInitResponseData>);
|
|
7
|
+
}
|
|
8
|
+
export declare class HepsipayFrameInitResponse extends HepsipayFrameInitResponseData {
|
|
9
|
+
}
|
|
10
|
+
export declare type PartialHepsipayFrameInitResponse = Partial<HepsipayFrameInitResponse>;
|
|
11
|
+
export declare type ReadOnlyHepsipayFrameInitResponse = DeepReadonly<HepsipayFrameInitResponse>;
|
|
@@ -4,6 +4,7 @@ import { TransactionData } from "./Transaction";
|
|
|
4
4
|
export declare class ListOrderTransactionWithPricesResponseData {
|
|
5
5
|
chargedAmount: number;
|
|
6
6
|
orderFinalPrice: number;
|
|
7
|
+
pendingAmount: number;
|
|
7
8
|
refundableTransactions: ListOrderTransactionWithPricesRefundableTransactionData[];
|
|
8
9
|
refundedAmount: number;
|
|
9
10
|
remainingBalance: number;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { CartLoyaltyLineData } from "./CartLoyaltyLine";
|
|
3
|
+
import { LoyaltyProgramTierData } from "./LoyaltyProgramTier";
|
|
4
|
+
export declare class LoyaltyCustomerInfoData {
|
|
5
|
+
availablePoint: number;
|
|
6
|
+
cartLoyaltyLines: CartLoyaltyLineData[] | null;
|
|
7
|
+
cumulativeEarnedPoints: number;
|
|
8
|
+
customerTier: LoyaltyProgramTierData | null;
|
|
9
|
+
loyaltyProgramCustomerId: string;
|
|
10
|
+
loyaltyProgramId: string;
|
|
11
|
+
nextAvailableDate: any | null;
|
|
12
|
+
nextTierRequiredPoint: number | null;
|
|
13
|
+
totalPoint: number;
|
|
14
|
+
constructor(data?: Partial<LoyaltyCustomerInfoData>);
|
|
15
|
+
}
|
|
16
|
+
export declare class LoyaltyCustomerInfo extends LoyaltyCustomerInfoData {
|
|
17
|
+
}
|
|
18
|
+
export declare type PartialLoyaltyCustomerInfo = Partial<LoyaltyCustomerInfo>;
|
|
19
|
+
export declare type ReadOnlyLoyaltyCustomerInfo = DeepReadonly<LoyaltyCustomerInfo>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import BaseModelData from "./_base";
|
|
3
|
+
import { LoyaltyProgramOrderStatusToWinPointsEnum } from "../types";
|
|
4
|
+
import { LoyaltyProgramEarningMethodData } from "./LoyaltyProgramEarningMethod";
|
|
5
|
+
import { LoyaltyProgramSaleChannelData } from "./LoyaltyProgramSaleChannel";
|
|
6
|
+
import { LoyaltyProgramSpendingMethodData } from "./LoyaltyProgramSpendingMethod";
|
|
7
|
+
import { LoyaltyProgramTierData } from "./LoyaltyProgramTier";
|
|
8
|
+
import { LoyaltyProgramPeriodData } from "./LoyaltyProgramPeriod";
|
|
9
|
+
export declare class LoyaltyProgramData extends BaseModelData {
|
|
10
|
+
earningMethods: LoyaltyProgramEarningMethodData[] | null;
|
|
11
|
+
isPassive: boolean | null;
|
|
12
|
+
name: string;
|
|
13
|
+
orderStatusToWinPoints: LoyaltyProgramOrderStatusToWinPointsEnum;
|
|
14
|
+
previousOrderStartDate: any | null;
|
|
15
|
+
refillPointsOnRefund: boolean | null;
|
|
16
|
+
salesChannels: LoyaltyProgramSaleChannelData[] | null;
|
|
17
|
+
spendingMethods: LoyaltyProgramSpendingMethodData[] | null;
|
|
18
|
+
tiers: LoyaltyProgramTierData[] | null;
|
|
19
|
+
tokenName: string | null;
|
|
20
|
+
validityPeriod: LoyaltyProgramPeriodData | null;
|
|
21
|
+
waitingPeriodDays: number | null;
|
|
22
|
+
constructor(data?: Partial<LoyaltyProgramData>);
|
|
23
|
+
}
|
|
24
|
+
export declare class LoyaltyProgram extends LoyaltyProgramData {
|
|
25
|
+
}
|
|
26
|
+
export declare type PartialLoyaltyProgram = Partial<LoyaltyProgram>;
|
|
27
|
+
export declare type ReadOnlyLoyaltyProgram = DeepReadonly<LoyaltyProgram>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class LoyaltyProgramDiscountSettingsData {
|
|
3
|
+
discountAmount: number | null;
|
|
4
|
+
freeProductId: string | null;
|
|
5
|
+
freeProductVariantId: string | null;
|
|
6
|
+
point: number;
|
|
7
|
+
constructor(data?: Partial<LoyaltyProgramDiscountSettingsData>);
|
|
8
|
+
}
|
|
9
|
+
export declare class LoyaltyProgramDiscountSettings extends LoyaltyProgramDiscountSettingsData {
|
|
10
|
+
}
|
|
11
|
+
export declare type PartialLoyaltyProgramDiscountSettings = Partial<LoyaltyProgramDiscountSettings>;
|
|
12
|
+
export declare type ReadOnlyLoyaltyProgramDiscountSettings = DeepReadonly<LoyaltyProgramDiscountSettings>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import BaseModelData from "./_base";
|
|
3
|
+
import { EarningMethodTypeEnum, LoyaltyProgramPointEarningTypeEnum } from "../types";
|
|
4
|
+
import { LoyaltyProgramPointLimitData } from "./LoyaltyProgramPointLimit";
|
|
5
|
+
import { LoyaltyProgramEarningMethodOrderSettingsData } from "./LoyaltyProgramEarningMethodOrderSettings";
|
|
6
|
+
import { LoyaltyProgramEarningMethodProductSettingsData } from "./LoyaltyProgramEarningMethodProductSettings";
|
|
7
|
+
import { LoyaltyProgramMethodTranslationData } from "./LoyaltyProgramMethodTranslation";
|
|
8
|
+
import { LoyaltyProgramPeriodData } from "./LoyaltyProgramPeriod";
|
|
9
|
+
export declare class LoyaltyProgramEarningMethodData extends BaseModelData {
|
|
10
|
+
activatedAt: any | null;
|
|
11
|
+
amountPerPointsEarned: number | null;
|
|
12
|
+
description: string | null;
|
|
13
|
+
earnedPointLimit: LoyaltyProgramPointLimitData | null;
|
|
14
|
+
isActive: boolean;
|
|
15
|
+
lastValidityDate: any | null;
|
|
16
|
+
loyaltyProgramId: string;
|
|
17
|
+
methodType: EarningMethodTypeEnum;
|
|
18
|
+
orderSettings: LoyaltyProgramEarningMethodOrderSettingsData | null;
|
|
19
|
+
pointEarningType: LoyaltyProgramPointEarningTypeEnum;
|
|
20
|
+
pointsEarned: number;
|
|
21
|
+
productSettings: LoyaltyProgramEarningMethodProductSettingsData | null;
|
|
22
|
+
quantityPerPointsEarned: number | null;
|
|
23
|
+
requireImageForCustomerReview: boolean | null;
|
|
24
|
+
segmentId: string | null;
|
|
25
|
+
tierIds: string[] | null;
|
|
26
|
+
translations: LoyaltyProgramMethodTranslationData[] | null;
|
|
27
|
+
validityPeriod: LoyaltyProgramPeriodData | null;
|
|
28
|
+
waitingPeriodDays: number | null;
|
|
29
|
+
constructor(data?: Partial<LoyaltyProgramEarningMethodData>);
|
|
30
|
+
}
|
|
31
|
+
export declare class LoyaltyProgramEarningMethod extends LoyaltyProgramEarningMethodData {
|
|
32
|
+
}
|
|
33
|
+
export declare type PartialLoyaltyProgramEarningMethod = Partial<LoyaltyProgramEarningMethod>;
|
|
34
|
+
export declare type ReadOnlyLoyaltyProgramEarningMethod = DeepReadonly<LoyaltyProgramEarningMethod>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { LoyaltyProgramFilterData } from "./LoyaltyProgramFilter";
|
|
3
|
+
export declare class LoyaltyProgramEarningMethodOrderSettingsData {
|
|
4
|
+
maxOrderAmount: number | null;
|
|
5
|
+
minOrderAmount: number | null;
|
|
6
|
+
productFilters: LoyaltyProgramFilterData[] | null;
|
|
7
|
+
constructor(data?: Partial<LoyaltyProgramEarningMethodOrderSettingsData>);
|
|
8
|
+
}
|
|
9
|
+
export declare class LoyaltyProgramEarningMethodOrderSettings extends LoyaltyProgramEarningMethodOrderSettingsData {
|
|
10
|
+
}
|
|
11
|
+
export declare type PartialLoyaltyProgramEarningMethodOrderSettings = Partial<LoyaltyProgramEarningMethodOrderSettings>;
|
|
12
|
+
export declare type ReadOnlyLoyaltyProgramEarningMethodOrderSettings = DeepReadonly<LoyaltyProgramEarningMethodOrderSettings>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { LoyaltyProgramFilterData } from "./LoyaltyProgramFilter";
|
|
3
|
+
export declare class LoyaltyProgramEarningMethodProductSettingsData {
|
|
4
|
+
maxProductQuantity: number | null;
|
|
5
|
+
minProductQuantity: number | null;
|
|
6
|
+
productFilters: LoyaltyProgramFilterData[] | null;
|
|
7
|
+
constructor(data?: Partial<LoyaltyProgramEarningMethodProductSettingsData>);
|
|
8
|
+
}
|
|
9
|
+
export declare class LoyaltyProgramEarningMethodProductSettings extends LoyaltyProgramEarningMethodProductSettingsData {
|
|
10
|
+
}
|
|
11
|
+
export declare type PartialLoyaltyProgramEarningMethodProductSettings = Partial<LoyaltyProgramEarningMethodProductSettings>;
|
|
12
|
+
export declare type ReadOnlyLoyaltyProgramEarningMethodProductSettings = DeepReadonly<LoyaltyProgramEarningMethodProductSettings>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { LoyaltyProgramFilterTypeEnum } from "../types";
|
|
3
|
+
export declare class LoyaltyProgramFilterData {
|
|
4
|
+
idList: string[];
|
|
5
|
+
type: LoyaltyProgramFilterTypeEnum;
|
|
6
|
+
constructor(data?: Partial<LoyaltyProgramFilterData>);
|
|
7
|
+
}
|
|
8
|
+
export declare class LoyaltyProgramFilter extends LoyaltyProgramFilterData {
|
|
9
|
+
}
|
|
10
|
+
export declare type PartialLoyaltyProgramFilter = Partial<LoyaltyProgramFilter>;
|
|
11
|
+
export declare type ReadOnlyLoyaltyProgramFilter = DeepReadonly<LoyaltyProgramFilter>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class LoyaltyProgramMethodTranslationData {
|
|
3
|
+
description: string;
|
|
4
|
+
locale: string;
|
|
5
|
+
constructor(data?: Partial<LoyaltyProgramMethodTranslationData>);
|
|
6
|
+
}
|
|
7
|
+
export declare class LoyaltyProgramMethodTranslation extends LoyaltyProgramMethodTranslationData {
|
|
8
|
+
}
|
|
9
|
+
export declare type PartialLoyaltyProgramMethodTranslation = Partial<LoyaltyProgramMethodTranslation>;
|
|
10
|
+
export declare type ReadOnlyLoyaltyProgramMethodTranslation = DeepReadonly<LoyaltyProgramMethodTranslation>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { PeriodTypeEnum } from "../types";
|
|
3
|
+
export declare class LoyaltyProgramPeriodData {
|
|
4
|
+
period: string | null;
|
|
5
|
+
periodType: PeriodTypeEnum | null;
|
|
6
|
+
constructor(data?: Partial<LoyaltyProgramPeriodData>);
|
|
7
|
+
}
|
|
8
|
+
export declare class LoyaltyProgramPeriod extends LoyaltyProgramPeriodData {
|
|
9
|
+
}
|
|
10
|
+
export declare type PartialLoyaltyProgramPeriod = Partial<LoyaltyProgramPeriod>;
|
|
11
|
+
export declare type ReadOnlyLoyaltyProgramPeriod = DeepReadonly<LoyaltyProgramPeriod>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import BaseModelData from "./_base";
|
|
3
|
+
import { LoyaltyProgramPointHistoryTypeEnum } from "../types";
|
|
4
|
+
export declare class LoyaltyProgramPointHistoryData extends BaseModelData {
|
|
5
|
+
amount: number;
|
|
6
|
+
availableDate: any | null;
|
|
7
|
+
baseAmount: number | null;
|
|
8
|
+
baseQuantity: number | null;
|
|
9
|
+
customerId: string;
|
|
10
|
+
customerReviewId: string | null;
|
|
11
|
+
expireDate: any | null;
|
|
12
|
+
loyaltyProgramCustomerId: string;
|
|
13
|
+
loyaltyProgramEarningMethodId: string | null;
|
|
14
|
+
loyaltyProgramId: string;
|
|
15
|
+
loyaltyProgramSpendingMethodId: string | null;
|
|
16
|
+
orderId: string | null;
|
|
17
|
+
productVariantId: string | null;
|
|
18
|
+
refundTransactionId: string | null;
|
|
19
|
+
retroactiveCalculationId: string | null;
|
|
20
|
+
type: LoyaltyProgramPointHistoryTypeEnum;
|
|
21
|
+
constructor(data?: Partial<LoyaltyProgramPointHistoryData>);
|
|
22
|
+
}
|
|
23
|
+
export declare class LoyaltyProgramPointHistory extends LoyaltyProgramPointHistoryData {
|
|
24
|
+
}
|
|
25
|
+
export declare type PartialLoyaltyProgramPointHistory = Partial<LoyaltyProgramPointHistory>;
|
|
26
|
+
export declare type ReadOnlyLoyaltyProgramPointHistory = DeepReadonly<LoyaltyProgramPointHistory>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { LoyaltyProgramPointHistoryTypeEnum } from "../types";
|
|
3
|
+
export declare class LoyaltyProgramPointHistoryTypeEnumFilterInputData {
|
|
4
|
+
eq: LoyaltyProgramPointHistoryTypeEnum | null;
|
|
5
|
+
in: LoyaltyProgramPointHistoryTypeEnum[] | null;
|
|
6
|
+
ne: LoyaltyProgramPointHistoryTypeEnum | null;
|
|
7
|
+
nin: LoyaltyProgramPointHistoryTypeEnum[] | null;
|
|
8
|
+
constructor(data?: Partial<LoyaltyProgramPointHistoryTypeEnumFilterInputData>);
|
|
9
|
+
}
|
|
10
|
+
export declare class LoyaltyProgramPointHistoryTypeEnumFilterInput extends LoyaltyProgramPointHistoryTypeEnumFilterInputData {
|
|
11
|
+
}
|
|
12
|
+
export declare type PartialLoyaltyProgramPointHistoryTypeEnumFilterInput = Partial<LoyaltyProgramPointHistoryTypeEnumFilterInput>;
|
|
13
|
+
export declare type ReadOnlyLoyaltyProgramPointHistoryTypeEnumFilterInput = DeepReadonly<LoyaltyProgramPointHistoryTypeEnumFilterInput>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class LoyaltyProgramPointLimitData {
|
|
3
|
+
maxPointLimit: number | null;
|
|
4
|
+
minPointLimit: number | null;
|
|
5
|
+
constructor(data?: Partial<LoyaltyProgramPointLimitData>);
|
|
6
|
+
}
|
|
7
|
+
export declare class LoyaltyProgramPointLimit extends LoyaltyProgramPointLimitData {
|
|
8
|
+
}
|
|
9
|
+
export declare type PartialLoyaltyProgramPointLimit = Partial<LoyaltyProgramPointLimit>;
|
|
10
|
+
export declare type ReadOnlyLoyaltyProgramPointLimit = DeepReadonly<LoyaltyProgramPointLimit>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { StorefrontPopupPageFilterData } from "./StorefrontPopupPageFilter";
|
|
3
|
+
export declare class LoyaltyProgramSaleChannelData {
|
|
4
|
+
pageFilters: StorefrontPopupPageFilterData[] | null;
|
|
5
|
+
routingIds: string[] | null;
|
|
6
|
+
salesChannelId: string;
|
|
7
|
+
storefrontId: string | null;
|
|
8
|
+
constructor(data?: Partial<LoyaltyProgramSaleChannelData>);
|
|
9
|
+
}
|
|
10
|
+
export declare class LoyaltyProgramSaleChannel extends LoyaltyProgramSaleChannelData {
|
|
11
|
+
}
|
|
12
|
+
export declare type PartialLoyaltyProgramSaleChannel = Partial<LoyaltyProgramSaleChannel>;
|
|
13
|
+
export declare type ReadOnlyLoyaltyProgramSaleChannel = DeepReadonly<LoyaltyProgramSaleChannel>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import BaseModelData from "./_base";
|
|
3
|
+
import { LoyaltyProgramMethodSpendingTypeEnum } from "../types";
|
|
4
|
+
import { LoyaltyProgramDiscountSettingsData } from "./LoyaltyProgramDiscountSettings";
|
|
5
|
+
import { LoyaltyProgramPointLimitData } from "./LoyaltyProgramPointLimit";
|
|
6
|
+
import { LoyaltyProgramFilterData } from "./LoyaltyProgramFilter";
|
|
7
|
+
import { LoyaltyProgramMethodTranslationData } from "./LoyaltyProgramMethodTranslation";
|
|
8
|
+
export declare class LoyaltyProgramSpendingMethodData extends BaseModelData {
|
|
9
|
+
description: string | null;
|
|
10
|
+
discountSettings: LoyaltyProgramDiscountSettingsData | null;
|
|
11
|
+
isActive: boolean;
|
|
12
|
+
isAvailable: boolean | null;
|
|
13
|
+
isDynamic: boolean;
|
|
14
|
+
loyaltyProgramId: string;
|
|
15
|
+
pointUsageLimit: LoyaltyProgramPointLimitData | null;
|
|
16
|
+
productFilters: LoyaltyProgramFilterData[] | null;
|
|
17
|
+
translations: LoyaltyProgramMethodTranslationData[] | null;
|
|
18
|
+
type: LoyaltyProgramMethodSpendingTypeEnum;
|
|
19
|
+
constructor(data?: Partial<LoyaltyProgramSpendingMethodData>);
|
|
20
|
+
}
|
|
21
|
+
export declare class LoyaltyProgramSpendingMethod extends LoyaltyProgramSpendingMethodData {
|
|
22
|
+
}
|
|
23
|
+
export declare type PartialLoyaltyProgramSpendingMethod = Partial<LoyaltyProgramSpendingMethod>;
|
|
24
|
+
export declare type ReadOnlyLoyaltyProgramSpendingMethod = DeepReadonly<LoyaltyProgramSpendingMethod>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import BaseModelData from "./_base";
|
|
3
|
+
import { LoyaltyTierMaintenanceTypeEnum } from "../types";
|
|
4
|
+
import { LoyaltyProgramPeriodData } from "./LoyaltyProgramPeriod";
|
|
5
|
+
import { LoyaltyProgramTierTranslationData } from "./LoyaltyProgramTierTranslation";
|
|
6
|
+
export declare class LoyaltyProgramTierData extends BaseModelData {
|
|
7
|
+
customerSegmentId: string | null;
|
|
8
|
+
isActive: boolean;
|
|
9
|
+
loyaltyProgramId: string;
|
|
10
|
+
maintenanceType: LoyaltyTierMaintenanceTypeEnum | null;
|
|
11
|
+
maintenanceTypeEffectiveAt: any | null;
|
|
12
|
+
name: string;
|
|
13
|
+
period: LoyaltyProgramPeriodData | null;
|
|
14
|
+
pointsRequired: number | null;
|
|
15
|
+
tierPointMultiplier: number | null;
|
|
16
|
+
translations: LoyaltyProgramTierTranslationData[] | null;
|
|
17
|
+
constructor(data?: Partial<LoyaltyProgramTierData>);
|
|
18
|
+
}
|
|
19
|
+
export declare class LoyaltyProgramTier extends LoyaltyProgramTierData {
|
|
20
|
+
}
|
|
21
|
+
export declare type PartialLoyaltyProgramTier = Partial<LoyaltyProgramTier>;
|
|
22
|
+
export declare type ReadOnlyLoyaltyProgramTier = DeepReadonly<LoyaltyProgramTier>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class LoyaltyProgramTierTranslationData {
|
|
3
|
+
locale: string;
|
|
4
|
+
name: string;
|
|
5
|
+
constructor(data?: Partial<LoyaltyProgramTierTranslationData>);
|
|
6
|
+
}
|
|
7
|
+
export declare class LoyaltyProgramTierTranslation extends LoyaltyProgramTierTranslationData {
|
|
8
|
+
}
|
|
9
|
+
export declare type PartialLoyaltyProgramTierTranslation = Partial<LoyaltyProgramTierTranslation>;
|
|
10
|
+
export declare type ReadOnlyLoyaltyProgramTierTranslation = DeepReadonly<LoyaltyProgramTierTranslation>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { StorefrontPopupPageFilterData } from "./StorefrontPopupPageFilter";
|
|
3
|
+
export declare class LoyaltyWidgetSettingsData {
|
|
4
|
+
pageFilters: StorefrontPopupPageFilterData[] | null;
|
|
5
|
+
constructor(data?: Partial<LoyaltyWidgetSettingsData>);
|
|
6
|
+
}
|
|
7
|
+
export declare class LoyaltyWidgetSettings extends LoyaltyWidgetSettingsData {
|
|
8
|
+
}
|
|
9
|
+
export declare type PartialLoyaltyWidgetSettings = Partial<LoyaltyWidgetSettings>;
|
|
10
|
+
export declare type ReadOnlyLoyaltyWidgetSettings = DeepReadonly<LoyaltyWidgetSettings>;
|