@ikas/storefront-api 6.1.0-beta.23 → 6.1.0-beta.231
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/CartLoyaltyLine.d.ts +14 -0
- package/build/__api/models/CartV2.d.ts +3 -0
- package/build/__api/models/CheckoutSettings.d.ts +1 -0
- package/build/__api/models/CreatePayWithIkasSessionUrlResponse.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/GetCustomerReviewImageUploadUrlResponse.d.ts +11 -0
- package/build/__api/models/HepsipayFrameInitResponse.d.ts +11 -0
- package/build/__api/models/ListOrderTransactionWithPricesResponse.d.ts +1 -0
- package/build/__api/models/LoyaltyCustomerInfo.d.ts +16 -0
- package/build/__api/models/LoyaltyProgram.d.ts +26 -0
- package/build/__api/models/LoyaltyProgramDiscountSettings.d.ts +11 -0
- package/build/__api/models/LoyaltyProgramEarningMethod.d.ts +31 -0
- package/build/__api/models/LoyaltyProgramEarningMethodOrderSettings.d.ts +12 -0
- package/build/__api/models/LoyaltyProgramEarningMethodProductSettings.d.ts +12 -0
- package/build/__api/models/LoyaltyProgramFilter.d.ts +11 -0
- package/build/__api/models/LoyaltyProgramMethodTranslation.d.ts +10 -0
- package/build/__api/models/LoyaltyProgramPeriod.d.ts +11 -0
- package/build/__api/models/LoyaltyProgramPointHistory.d.ts +19 -0
- package/build/__api/models/LoyaltyProgramPointHistoryTypeEnumFilterInput.d.ts +13 -0
- package/build/__api/models/LoyaltyProgramPointLimit.d.ts +10 -0
- package/build/__api/models/LoyaltyProgramSaleChannel.d.ts +11 -0
- package/build/__api/models/LoyaltyProgramSpendingMethod.d.ts +24 -0
- package/build/__api/models/LoyaltyProgramTier.d.ts +19 -0
- package/build/__api/models/LoyaltyProgramTierTranslation.d.ts +10 -0
- package/build/__api/models/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 +13 -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/StorefrontWidgetSettings.d.ts +14 -0
- package/build/__api/models/StorefrontWidgetSettingsRouting.d.ts +10 -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/mutations/addItemToCart.d.ts +13 -0
- package/build/__api/mutations/addItemToCart.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/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 +533 -0
- package/build/__api/mutations/removeLoyaltyPointsFromCart.js +1 -0
- package/build/__api/mutations/resendCustomerPhoneVerificationCode.d.ts +2 -5
- package/build/__api/mutations/resendCustomerPhoneVerificationCode.js +1 -1
- package/build/__api/mutations/updatePaypalOrder.d.ts +8 -0
- package/build/__api/mutations/updatePaypalOrder.js +1 -0
- package/build/__api/mutations/useLoyaltyPoints.d.ts +532 -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 +25 -1
- package/build/__api/queries/getCartById.js +1 -1
- package/build/__api/queries/getCheckoutByCartId.d.ts +13 -0
- package/build/__api/queries/getCheckoutById.d.ts +13 -0
- package/build/__api/queries/getCustomerOrders.d.ts +19 -0
- package/build/__api/queries/getCustomerOrders.js +1 -1
- package/build/__api/queries/getLoyaltyCustomerInfo.d.ts +32 -0
- package/build/__api/queries/getLoyaltyCustomerInfo.js +1 -0
- package/build/__api/queries/getLoyaltyProgram.d.ts +83 -0
- package/build/__api/queries/getLoyaltyProgram.js +1 -0
- package/build/__api/queries/getOrder.d.ts +19 -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 +1 -0
- package/build/__api/queries/listCheckoutSettings.js +1 -1
- package/build/__api/queries/listCustomerReviewSummary.d.ts +1 -0
- package/build/__api/queries/listCustomerReviews.d.ts +12 -0
- package/build/__api/queries/listCustomerReviews.js +1 -1
- package/build/__api/queries/listEarningMethods.d.ts +35 -0
- package/build/__api/queries/listEarningMethods.js +1 -0
- package/build/__api/queries/listLoyaltyProgramPointHistory.d.ts +22 -0
- package/build/__api/queries/listLoyaltyProgramPointHistory.js +1 -0
- package/build/__api/queries/listLoyaltyProgramTiers.d.ts +20 -0
- package/build/__api/queries/listLoyaltyProgramTiers.js +1 -0
- package/build/__api/queries/listOrderTransactionsWithPrices.d.ts +1 -0
- package/build/__api/queries/listOrderTransactionsWithPrices.js +1 -1
- package/build/__api/queries/listSpendingMethodsByCartId.d.ts +28 -0
- package/build/__api/queries/listSpendingMethodsByCartId.js +1 -0
- package/build/__api/queries/searchProducts.d.ts +21 -0
- package/build/__api/queries/searchProducts.js +1 -1
- package/build/__api/types/index.d.ts +413 -12
- 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 +7 -2
- package/build/api/checkout/index.js +1 -1
- package/build/api/customer/index.d.ts +37 -6
- package/build/api/customer/index.js +1 -1
- package/build/api/loyalty/index.d.ts +14 -0
- package/build/api/loyalty/index.js +1 -0
- package/build/api/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 +4 -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
|
+
import { CampaignTypeEnum, OrderAmountTypeEnum } from "../types";
|
|
3
|
+
export declare class CartLoyaltyLineData {
|
|
4
|
+
campaignType: CampaignTypeEnum | null;
|
|
5
|
+
discountAmount: number;
|
|
6
|
+
discountAmountType: OrderAmountTypeEnum;
|
|
7
|
+
loyaltySpendingMethodId: string;
|
|
8
|
+
pointUsed: number;
|
|
9
|
+
constructor(data?: Partial<CartLoyaltyLineData>);
|
|
10
|
+
}
|
|
11
|
+
export declare class CartLoyaltyLine extends CartLoyaltyLineData {
|
|
12
|
+
}
|
|
13
|
+
export declare type PartialCartLoyaltyLine = Partial<CartLoyaltyLine>;
|
|
14
|
+
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;
|
|
@@ -18,6 +18,7 @@ export declare class CheckoutSettingsData extends BaseModelData {
|
|
|
18
18
|
postalCodeRequirement: CheckoutRequirementEnum | null;
|
|
19
19
|
showCheckoutNote: boolean | null;
|
|
20
20
|
showCompanyInfoInShippingAddress: boolean | null;
|
|
21
|
+
showBillingAddressOnShippingStep: boolean | null;
|
|
21
22
|
showTermsAndConditionsCheckbox: boolean;
|
|
22
23
|
storefrontId: string;
|
|
23
24
|
constructor(data?: Partial<CheckoutSettingsData>);
|
|
@@ -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,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,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,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,16 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { CartLoyaltyLineData } from "./CartLoyaltyLine";
|
|
3
|
+
import { LoyaltyProgramTierData } from "./LoyaltyProgramTier";
|
|
4
|
+
export declare class LoyaltyCustomerInfoData {
|
|
5
|
+
cartLoyaltyLines: CartLoyaltyLineData[] | null;
|
|
6
|
+
customerTier: LoyaltyProgramTierData | null;
|
|
7
|
+
loyaltyProgramCustomerId: string;
|
|
8
|
+
loyaltyProgramId: string;
|
|
9
|
+
nextTierRequiredPoint: number | null;
|
|
10
|
+
totalPoint: number;
|
|
11
|
+
constructor(data?: Partial<LoyaltyCustomerInfoData>);
|
|
12
|
+
}
|
|
13
|
+
export declare class LoyaltyCustomerInfo extends LoyaltyCustomerInfoData {
|
|
14
|
+
}
|
|
15
|
+
export declare type PartialLoyaltyCustomerInfo = Partial<LoyaltyCustomerInfo>;
|
|
16
|
+
export declare type ReadOnlyLoyaltyCustomerInfo = DeepReadonly<LoyaltyCustomerInfo>;
|
|
@@ -0,0 +1,26 @@
|
|
|
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;
|
|
16
|
+
salesChannels: LoyaltyProgramSaleChannelData[] | null;
|
|
17
|
+
spendingMethods: LoyaltyProgramSpendingMethodData[] | null;
|
|
18
|
+
tiers: LoyaltyProgramTierData[] | null;
|
|
19
|
+
tokenName: string | null;
|
|
20
|
+
validityPeriod: LoyaltyProgramPeriodData | null;
|
|
21
|
+
constructor(data?: Partial<LoyaltyProgramData>);
|
|
22
|
+
}
|
|
23
|
+
export declare class LoyaltyProgram extends LoyaltyProgramData {
|
|
24
|
+
}
|
|
25
|
+
export declare type PartialLoyaltyProgram = Partial<LoyaltyProgram>;
|
|
26
|
+
export declare type ReadOnlyLoyaltyProgram = DeepReadonly<LoyaltyProgram>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class LoyaltyProgramDiscountSettingsData {
|
|
3
|
+
discountAmount: number | null;
|
|
4
|
+
freeProductId: string | null;
|
|
5
|
+
point: number;
|
|
6
|
+
constructor(data?: Partial<LoyaltyProgramDiscountSettingsData>);
|
|
7
|
+
}
|
|
8
|
+
export declare class LoyaltyProgramDiscountSettings extends LoyaltyProgramDiscountSettingsData {
|
|
9
|
+
}
|
|
10
|
+
export declare type PartialLoyaltyProgramDiscountSettings = Partial<LoyaltyProgramDiscountSettings>;
|
|
11
|
+
export declare type ReadOnlyLoyaltyProgramDiscountSettings = DeepReadonly<LoyaltyProgramDiscountSettings>;
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
amountPerPointsEarned: number | null;
|
|
11
|
+
description: string | null;
|
|
12
|
+
earnedPointLimit: LoyaltyProgramPointLimitData | null;
|
|
13
|
+
isActive: boolean;
|
|
14
|
+
lastValidityDate: any | null;
|
|
15
|
+
loyaltyProgramId: string;
|
|
16
|
+
methodType: EarningMethodTypeEnum;
|
|
17
|
+
orderSettings: LoyaltyProgramEarningMethodOrderSettingsData | null;
|
|
18
|
+
pointEarningType: LoyaltyProgramPointEarningTypeEnum;
|
|
19
|
+
pointsEarned: number;
|
|
20
|
+
productSettings: LoyaltyProgramEarningMethodProductSettingsData | null;
|
|
21
|
+
quantityPerPointsEarned: number | null;
|
|
22
|
+
segmentId: string | null;
|
|
23
|
+
tierIds: string[] | null;
|
|
24
|
+
translations: LoyaltyProgramMethodTranslationData[] | null;
|
|
25
|
+
validityPeriod: LoyaltyProgramPeriodData | null;
|
|
26
|
+
constructor(data?: Partial<LoyaltyProgramEarningMethodData>);
|
|
27
|
+
}
|
|
28
|
+
export declare class LoyaltyProgramEarningMethod extends LoyaltyProgramEarningMethodData {
|
|
29
|
+
}
|
|
30
|
+
export declare type PartialLoyaltyProgramEarningMethod = Partial<LoyaltyProgramEarningMethod>;
|
|
31
|
+
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;
|
|
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,19 @@
|
|
|
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
|
+
customerId: string;
|
|
7
|
+
expireDate: any | null;
|
|
8
|
+
loyaltyProgramCustomerId: string;
|
|
9
|
+
loyaltyProgramEarningMethodId: string | null;
|
|
10
|
+
loyaltyProgramId: string;
|
|
11
|
+
loyaltyProgramSpendingMethodId: string | null;
|
|
12
|
+
orderId: string | null;
|
|
13
|
+
type: LoyaltyProgramPointHistoryTypeEnum;
|
|
14
|
+
constructor(data?: Partial<LoyaltyProgramPointHistoryData>);
|
|
15
|
+
}
|
|
16
|
+
export declare class LoyaltyProgramPointHistory extends LoyaltyProgramPointHistoryData {
|
|
17
|
+
}
|
|
18
|
+
export declare type PartialLoyaltyProgramPointHistory = Partial<LoyaltyProgramPointHistory>;
|
|
19
|
+
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,11 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class LoyaltyProgramSaleChannelData {
|
|
3
|
+
routingIds: string[] | null;
|
|
4
|
+
salesChannelId: string;
|
|
5
|
+
storefrontId: string | null;
|
|
6
|
+
constructor(data?: Partial<LoyaltyProgramSaleChannelData>);
|
|
7
|
+
}
|
|
8
|
+
export declare class LoyaltyProgramSaleChannel extends LoyaltyProgramSaleChannelData {
|
|
9
|
+
}
|
|
10
|
+
export declare type PartialLoyaltyProgramSaleChannel = Partial<LoyaltyProgramSaleChannel>;
|
|
11
|
+
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,19 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import BaseModelData from "./_base";
|
|
3
|
+
import { LoyaltyProgramPeriodData } from "./LoyaltyProgramPeriod";
|
|
4
|
+
import { LoyaltyProgramTierTranslationData } from "./LoyaltyProgramTierTranslation";
|
|
5
|
+
export declare class LoyaltyProgramTierData extends BaseModelData {
|
|
6
|
+
customerSegmentId: string | null;
|
|
7
|
+
isActive: boolean;
|
|
8
|
+
loyaltyProgramId: string;
|
|
9
|
+
name: string;
|
|
10
|
+
period: LoyaltyProgramPeriodData | null;
|
|
11
|
+
pointsRequired: number | null;
|
|
12
|
+
tierPointMultiplier: number | null;
|
|
13
|
+
translations: LoyaltyProgramTierTranslationData[] | null;
|
|
14
|
+
constructor(data?: Partial<LoyaltyProgramTierData>);
|
|
15
|
+
}
|
|
16
|
+
export declare class LoyaltyProgramTier extends LoyaltyProgramTierData {
|
|
17
|
+
}
|
|
18
|
+
export declare type PartialLoyaltyProgramTier = Partial<LoyaltyProgramTier>;
|
|
19
|
+
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>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
|
-
import { OrderAmountTypeEnum, CampaignTypeEnum, OrderAdjustmentEnum } from "../types";
|
|
2
|
+
import { OrderAmountTypeEnum, CampaignTypeEnum, CampaignCreatedForEnum, OrderAdjustmentEnum } from "../types";
|
|
3
3
|
import { OrderAdjustmentAppliedOrderLineData } from "./OrderAdjustmentAppliedOrderLine";
|
|
4
4
|
export declare class OrderAdjustmentData {
|
|
5
5
|
amount: number;
|
|
@@ -8,9 +8,11 @@ export declare class OrderAdjustmentData {
|
|
|
8
8
|
campaignId: string | null;
|
|
9
9
|
campaignType: CampaignTypeEnum | null;
|
|
10
10
|
couponId: string | null;
|
|
11
|
+
createdFor: CampaignCreatedForEnum | null;
|
|
11
12
|
name: string;
|
|
12
13
|
order: number;
|
|
13
14
|
type: OrderAdjustmentEnum;
|
|
15
|
+
usedLoyaltyPoints: number | null;
|
|
14
16
|
constructor(data?: Partial<OrderAdjustmentData>);
|
|
15
17
|
}
|
|
16
18
|
export declare class OrderAdjustment extends OrderAdjustmentData {
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
2
|
import BaseModelData from "./_base";
|
|
3
3
|
import { OrderLineItemStatusEnum } from "../types";
|
|
4
|
+
import { OrderLineItemCustomerSubscriptionPlanData } from "./OrderLineItemCustomerSubscriptionPlan";
|
|
4
5
|
import { OrderLineDiscountData } from "./OrderLineDiscount";
|
|
5
6
|
import { OrderLineOptionData } from "./OrderLineOption";
|
|
7
|
+
import { OrderLineItemSubscriptionPlanData } from "./OrderLineItemSubscriptionPlan";
|
|
6
8
|
import { OrderLineVariantData } from "./OrderLineVariant";
|
|
7
9
|
export declare class OrderLineItemData extends BaseModelData {
|
|
8
10
|
currencyCode: string | null;
|
|
9
11
|
currencySymbol: string | null;
|
|
12
|
+
customerSubscriptionPlan: OrderLineItemCustomerSubscriptionPlanData | null;
|
|
10
13
|
discount: OrderLineDiscountData | null;
|
|
11
14
|
discountPrice: number | null;
|
|
15
|
+
edited: boolean | null;
|
|
12
16
|
finalPrice: number | null;
|
|
13
17
|
finalUnitPrice: number | null;
|
|
14
18
|
options: OrderLineOptionData[] | null;
|
|
@@ -18,6 +22,7 @@ export declare class OrderLineItemData extends BaseModelData {
|
|
|
18
22
|
status: OrderLineItemStatusEnum;
|
|
19
23
|
statusUpdatedAt: any | null;
|
|
20
24
|
stockLocationId: string | null;
|
|
25
|
+
subscriptionPlan: OrderLineItemSubscriptionPlanData | null;
|
|
21
26
|
taxValue: number | null;
|
|
22
27
|
unitPrice: number | null;
|
|
23
28
|
variant: OrderLineVariantData;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class OrderLineItemCustomerSubscriptionPlanData {
|
|
3
|
+
id: string;
|
|
4
|
+
constructor(data?: Partial<OrderLineItemCustomerSubscriptionPlanData>);
|
|
5
|
+
}
|
|
6
|
+
export declare class OrderLineItemCustomerSubscriptionPlan extends OrderLineItemCustomerSubscriptionPlanData {
|
|
7
|
+
}
|
|
8
|
+
export declare type PartialOrderLineItemCustomerSubscriptionPlan = Partial<OrderLineItemCustomerSubscriptionPlan>;
|
|
9
|
+
export declare type ReadOnlyOrderLineItemCustomerSubscriptionPlan = DeepReadonly<OrderLineItemCustomerSubscriptionPlan>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { OrderLineItemSubscriptionPlanPeriodData } from "./OrderLineItemSubscriptionPlanPeriod";
|
|
3
|
+
export declare class OrderLineItemSubscriptionPlanData {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
period: OrderLineItemSubscriptionPlanPeriodData;
|
|
7
|
+
constructor(data?: Partial<OrderLineItemSubscriptionPlanData>);
|
|
8
|
+
}
|
|
9
|
+
export declare class OrderLineItemSubscriptionPlan extends OrderLineItemSubscriptionPlanData {
|
|
10
|
+
}
|
|
11
|
+
export declare type PartialOrderLineItemSubscriptionPlan = Partial<OrderLineItemSubscriptionPlan>;
|
|
12
|
+
export declare type ReadOnlyOrderLineItemSubscriptionPlan = DeepReadonly<OrderLineItemSubscriptionPlan>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { SubscriptionPlanDurationUnitTypeEnum, SubscriptionPlanPaymentTypeEnum } from "../types";
|
|
3
|
+
import { SubscriptionPlanDiscountData } from "./SubscriptionPlanDiscount";
|
|
4
|
+
export declare class OrderLineItemSubscriptionPlanPeriodData {
|
|
5
|
+
cutOffDay: number | null;
|
|
6
|
+
discount: SubscriptionPlanDiscountData | null;
|
|
7
|
+
durationUnit: SubscriptionPlanDurationUnitTypeEnum;
|
|
8
|
+
durationValue: number;
|
|
9
|
+
id: string;
|
|
10
|
+
maxOrders: number | null;
|
|
11
|
+
paymentType: SubscriptionPlanPaymentTypeEnum;
|
|
12
|
+
scheduledOrderDay: number | null;
|
|
13
|
+
title: string;
|
|
14
|
+
constructor(data?: Partial<OrderLineItemSubscriptionPlanPeriodData>);
|
|
15
|
+
}
|
|
16
|
+
export declare class OrderLineItemSubscriptionPlanPeriod extends OrderLineItemSubscriptionPlanPeriodData {
|
|
17
|
+
}
|
|
18
|
+
export declare type PartialOrderLineItemSubscriptionPlanPeriod = Partial<OrderLineItemSubscriptionPlanPeriod>;
|
|
19
|
+
export declare type ReadOnlyOrderLineItemSubscriptionPlanPeriod = DeepReadonly<OrderLineItemSubscriptionPlanPeriod>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class OrderLoyaltyLineData {
|
|
3
|
+
amount: number;
|
|
4
|
+
id: string;
|
|
5
|
+
loyaltyProgramCustomerId: string;
|
|
6
|
+
loyaltyProgramId: string;
|
|
7
|
+
loyaltySpendingMethodId: string;
|
|
8
|
+
constructor(data?: Partial<OrderLoyaltyLineData>);
|
|
9
|
+
}
|
|
10
|
+
export declare class OrderLoyaltyLine extends OrderLoyaltyLineData {
|
|
11
|
+
}
|
|
12
|
+
export declare type PartialOrderLoyaltyLine = Partial<OrderLoyaltyLine>;
|
|
13
|
+
export declare type ReadOnlyOrderLoyaltyLine = DeepReadonly<OrderLoyaltyLine>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
2
|
import { ProductFacetCountData } from "./ProductFacetCount";
|
|
3
3
|
import { SearchProductData } from "./SearchProduct";
|
|
4
|
+
import { SearchSuggestionData } from "./SearchSuggestion";
|
|
4
5
|
export declare class ProductSearchResponseData {
|
|
5
6
|
count: number;
|
|
6
7
|
data: any;
|
|
@@ -8,6 +9,7 @@ export declare class ProductSearchResponseData {
|
|
|
8
9
|
limit: number;
|
|
9
10
|
page: number;
|
|
10
11
|
results: SearchProductData[];
|
|
12
|
+
suggestions: SearchSuggestionData[] | null;
|
|
11
13
|
totalCount: number;
|
|
12
14
|
constructor(data?: Partial<ProductSearchResponseData>);
|
|
13
15
|
}
|
|
@@ -6,10 +6,12 @@ import { SearchInputFilterListInputData } from "./SearchInputFilterListInput";
|
|
|
6
6
|
import { SearchInputOrderByInputData } from "./SearchInputOrderByInput";
|
|
7
7
|
export declare class SearchInputData {
|
|
8
8
|
barcodeList: string[] | null;
|
|
9
|
+
baseCategoryIdList: string[] | null;
|
|
9
10
|
brandId: string | null;
|
|
10
11
|
brandIdList: string[] | null;
|
|
11
12
|
categoryIdList: string[] | null;
|
|
12
13
|
dynamicCurrencySettings: SearchDynamicCurrencySettingsData | null;
|
|
14
|
+
enableSuggestions: boolean | null;
|
|
13
15
|
facetList: SearchInputFacetListInputData[] | null;
|
|
14
16
|
filterList: SearchInputFilterListInputData[] | null;
|
|
15
17
|
locale: string | null;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class SearchSuggestionData {
|
|
3
|
+
brandId: string | null;
|
|
4
|
+
categoryId: string | null;
|
|
5
|
+
id: string;
|
|
6
|
+
term: string;
|
|
7
|
+
constructor(data?: Partial<SearchSuggestionData>);
|
|
8
|
+
}
|
|
9
|
+
export declare class SearchSuggestion extends SearchSuggestionData {
|
|
10
|
+
}
|
|
11
|
+
export declare type PartialSearchSuggestion = Partial<SearchSuggestion>;
|
|
12
|
+
export declare type ReadOnlySearchSuggestion = DeepReadonly<SearchSuggestion>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import BaseModelData from "./_base";
|
|
3
|
+
import { StorefrontWidgetSettingsStatusEnum } from "../types";
|
|
4
|
+
import { StorefrontWidgetSettingsRoutingData } from "./StorefrontWidgetSettingsRouting";
|
|
5
|
+
export declare class StorefrontWidgetSettingsData extends BaseModelData {
|
|
6
|
+
status: StorefrontWidgetSettingsStatusEnum;
|
|
7
|
+
storefrontRoutings: StorefrontWidgetSettingsRoutingData[];
|
|
8
|
+
themeSettingsJson: any | null;
|
|
9
|
+
constructor(data?: Partial<StorefrontWidgetSettingsData>);
|
|
10
|
+
}
|
|
11
|
+
export declare class StorefrontWidgetSettings extends StorefrontWidgetSettingsData {
|
|
12
|
+
}
|
|
13
|
+
export declare type PartialStorefrontWidgetSettings = Partial<StorefrontWidgetSettings>;
|
|
14
|
+
export declare type ReadOnlyStorefrontWidgetSettings = DeepReadonly<StorefrontWidgetSettings>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class StorefrontWidgetSettingsRoutingData {
|
|
3
|
+
storefrontId: string;
|
|
4
|
+
storefrontRoutingId: string;
|
|
5
|
+
constructor(data?: Partial<StorefrontWidgetSettingsRoutingData>);
|
|
6
|
+
}
|
|
7
|
+
export declare class StorefrontWidgetSettingsRouting extends StorefrontWidgetSettingsRoutingData {
|
|
8
|
+
}
|
|
9
|
+
export declare type PartialStorefrontWidgetSettingsRouting = Partial<StorefrontWidgetSettingsRouting>;
|
|
10
|
+
export declare type ReadOnlyStorefrontWidgetSettingsRouting = DeepReadonly<StorefrontWidgetSettingsRouting>;
|