@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
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class MilesSmilesDetailsResponseData {
|
|
3
|
+
availableMiles: number;
|
|
4
|
+
firstName: string | null;
|
|
5
|
+
lastName: string | null;
|
|
6
|
+
memberId: string;
|
|
7
|
+
constructor(data?: Partial<MilesSmilesDetailsResponseData>);
|
|
8
|
+
}
|
|
9
|
+
export declare class MilesSmilesDetailsResponse extends MilesSmilesDetailsResponseData {
|
|
10
|
+
}
|
|
11
|
+
export declare type PartialMilesSmilesDetailsResponse = Partial<MilesSmilesDetailsResponse>;
|
|
12
|
+
export declare type ReadOnlyMilesSmilesDetailsResponse = DeepReadonly<MilesSmilesDetailsResponse>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class MilesSmilesPaymentInputData {
|
|
3
|
+
miles: number;
|
|
4
|
+
constructor(data?: Partial<MilesSmilesPaymentInputData>);
|
|
5
|
+
}
|
|
6
|
+
export declare class MilesSmilesPaymentInput extends MilesSmilesPaymentInputData {
|
|
7
|
+
}
|
|
8
|
+
export declare type PartialMilesSmilesPaymentInput = Partial<MilesSmilesPaymentInput>;
|
|
9
|
+
export declare type ReadOnlyMilesSmilesPaymentInput = DeepReadonly<MilesSmilesPaymentInput>;
|
|
@@ -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,14 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class OrderLoyaltyLineData {
|
|
3
|
+
amount: number;
|
|
4
|
+
id: string;
|
|
5
|
+
loyaltyProgramCustomerId: string;
|
|
6
|
+
loyaltyProgramId: string;
|
|
7
|
+
loyaltyProgramSpendingMethodType: string | null;
|
|
8
|
+
loyaltySpendingMethodId: string;
|
|
9
|
+
constructor(data?: Partial<OrderLoyaltyLineData>);
|
|
10
|
+
}
|
|
11
|
+
export declare class OrderLoyaltyLine extends OrderLoyaltyLineData {
|
|
12
|
+
}
|
|
13
|
+
export declare type PartialOrderLoyaltyLine = Partial<OrderLoyaltyLine>;
|
|
14
|
+
export declare type ReadOnlyOrderLoyaltyLine = DeepReadonly<OrderLoyaltyLine>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import BaseModelData from "./_base";
|
|
3
|
+
import { OrderRefundReasonTranslationData } from "./OrderRefundReasonTranslation";
|
|
4
|
+
export declare class OrderRefundReasonData extends BaseModelData {
|
|
5
|
+
title: string;
|
|
6
|
+
translations: OrderRefundReasonTranslationData[] | null;
|
|
7
|
+
constructor(data?: Partial<OrderRefundReasonData>);
|
|
8
|
+
}
|
|
9
|
+
export declare class OrderRefundReason extends OrderRefundReasonData {
|
|
10
|
+
}
|
|
11
|
+
export declare type PartialOrderRefundReason = Partial<OrderRefundReason>;
|
|
12
|
+
export declare type ReadOnlyOrderRefundReason = DeepReadonly<OrderRefundReason>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class OrderRefundReasonTranslationData {
|
|
3
|
+
locale: string;
|
|
4
|
+
title: string | null;
|
|
5
|
+
constructor(data?: Partial<OrderRefundReasonTranslationData>);
|
|
6
|
+
}
|
|
7
|
+
export declare class OrderRefundReasonTranslation extends OrderRefundReasonTranslationData {
|
|
8
|
+
}
|
|
9
|
+
export declare type PartialOrderRefundReasonTranslation = Partial<OrderRefundReasonTranslation>;
|
|
10
|
+
export declare type ReadOnlyOrderRefundReasonTranslation = DeepReadonly<OrderRefundReasonTranslation>;
|
|
@@ -5,6 +5,7 @@ export declare class OrderRefundRequestInputData {
|
|
|
5
5
|
orderId: string;
|
|
6
6
|
orderLineItems: OrderRefundOrderLineInputData[];
|
|
7
7
|
reason: string | null;
|
|
8
|
+
refundReasonId: string | null;
|
|
8
9
|
constructor(data?: Partial<OrderRefundRequestInputData>);
|
|
9
10
|
}
|
|
10
11
|
export declare class OrderRefundRequestInput extends OrderRefundRequestInputData {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class OrderRefundSettingsTranslationData {
|
|
3
|
+
locale: string;
|
|
4
|
+
returnMethodDescription: string | null;
|
|
5
|
+
constructor(data?: Partial<OrderRefundSettingsTranslationData>);
|
|
6
|
+
}
|
|
7
|
+
export declare class OrderRefundSettingsTranslation extends OrderRefundSettingsTranslationData {
|
|
8
|
+
}
|
|
9
|
+
export declare type PartialOrderRefundSettingsTranslation = Partial<OrderRefundSettingsTranslation>;
|
|
10
|
+
export declare type ReadOnlyOrderRefundSettingsTranslation = DeepReadonly<OrderRefundSettingsTranslation>;
|
|
@@ -13,6 +13,7 @@ export declare class PaymentGatewayData extends BaseModelData {
|
|
|
13
13
|
isPassive: boolean | null;
|
|
14
14
|
logoUrl: string | null;
|
|
15
15
|
masterPassClientId: string | null;
|
|
16
|
+
milesSmilesEnabled: boolean | null;
|
|
16
17
|
name: string;
|
|
17
18
|
paymentGatewayProviderId: string | null;
|
|
18
19
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -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>;
|
|
@@ -13,6 +13,7 @@ export declare class StorefrontPopupData extends BaseModelData {
|
|
|
13
13
|
dateFilter: StorefrontPopupDateFilterData | null;
|
|
14
14
|
displayFilters: StorefrontPopupDisplayFilterData[] | null;
|
|
15
15
|
displaySettings: StorefrontPopupDisplaySettingsData;
|
|
16
|
+
hideFilters: StorefrontPopupDisplayFilterData[] | null;
|
|
16
17
|
name: string;
|
|
17
18
|
pageFilters: StorefrontPopupPageFilterData[] | null;
|
|
18
19
|
status: StorefrontPopupStatusEnum;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
|
-
import { StorefrontPopupDisplayFilterTypeEnum } from "../types";
|
|
2
|
+
import { StorefrontPopupDisplayFilterOperatorEnum, StorefrontPopupDisplayFilterTypeEnum } from "../types";
|
|
3
3
|
export declare class StorefrontPopupDisplayFilterData {
|
|
4
|
-
operator:
|
|
4
|
+
operator: StorefrontPopupDisplayFilterOperatorEnum;
|
|
5
5
|
type: StorefrontPopupDisplayFilterTypeEnum;
|
|
6
|
-
value: string;
|
|
6
|
+
value: string[];
|
|
7
7
|
constructor(data?: Partial<StorefrontPopupDisplayFilterData>);
|
|
8
8
|
}
|
|
9
9
|
export declare class StorefrontPopupDisplayFilter extends StorefrontPopupDisplayFilterData {
|
|
@@ -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>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class StripeExpressCheckoutAddressInputData {
|
|
3
|
+
city: string | null;
|
|
4
|
+
country: string | null;
|
|
5
|
+
postalCode: string | null;
|
|
6
|
+
state: string | null;
|
|
7
|
+
constructor(data?: Partial<StripeExpressCheckoutAddressInputData>);
|
|
8
|
+
}
|
|
9
|
+
export declare class StripeExpressCheckoutAddressInput extends StripeExpressCheckoutAddressInputData {
|
|
10
|
+
}
|
|
11
|
+
export declare type PartialStripeExpressCheckoutAddressInput = Partial<StripeExpressCheckoutAddressInput>;
|
|
12
|
+
export declare type ReadOnlyStripeExpressCheckoutAddressInput = DeepReadonly<StripeExpressCheckoutAddressInput>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class StripeExpressCheckoutCustomerInputData {
|
|
3
|
+
email: string | null;
|
|
4
|
+
firstName: string | null;
|
|
5
|
+
id: string | null;
|
|
6
|
+
lastName: string | null;
|
|
7
|
+
constructor(data?: Partial<StripeExpressCheckoutCustomerInputData>);
|
|
8
|
+
}
|
|
9
|
+
export declare class StripeExpressCheckoutCustomerInput extends StripeExpressCheckoutCustomerInputData {
|
|
10
|
+
}
|
|
11
|
+
export declare type PartialStripeExpressCheckoutCustomerInput = Partial<StripeExpressCheckoutCustomerInput>;
|
|
12
|
+
export declare type ReadOnlyStripeExpressCheckoutCustomerInput = DeepReadonly<StripeExpressCheckoutCustomerInput>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class StripeExpressCheckoutSessionContextResponseData {
|
|
3
|
+
amountTotal: number | null;
|
|
4
|
+
currency: string | null;
|
|
5
|
+
lineItemsJson: string | null;
|
|
6
|
+
paymentStatus: string | null;
|
|
7
|
+
sessionId: string;
|
|
8
|
+
shippingOptionsJson: string | null;
|
|
9
|
+
transactionId: string;
|
|
10
|
+
constructor(data?: Partial<StripeExpressCheckoutSessionContextResponseData>);
|
|
11
|
+
}
|
|
12
|
+
export declare class StripeExpressCheckoutSessionContextResponse extends StripeExpressCheckoutSessionContextResponseData {
|
|
13
|
+
}
|
|
14
|
+
export declare type PartialStripeExpressCheckoutSessionContextResponse = Partial<StripeExpressCheckoutSessionContextResponse>;
|
|
15
|
+
export declare type ReadOnlyStripeExpressCheckoutSessionContextResponse = DeepReadonly<StripeExpressCheckoutSessionContextResponse>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { OrderAmountTypeEnum } from "../types";
|
|
3
|
+
export declare class SubscriptionPlanDiscountData {
|
|
4
|
+
amount: number;
|
|
5
|
+
type: OrderAmountTypeEnum;
|
|
6
|
+
constructor(data?: Partial<SubscriptionPlanDiscountData>);
|
|
7
|
+
}
|
|
8
|
+
export declare class SubscriptionPlanDiscount extends SubscriptionPlanDiscountData {
|
|
9
|
+
}
|
|
10
|
+
export declare type PartialSubscriptionPlanDiscount = Partial<SubscriptionPlanDiscount>;
|
|
11
|
+
export declare type ReadOnlySubscriptionPlanDiscount = DeepReadonly<SubscriptionPlanDiscount>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class UpdatePaypalOrderAddressInputData {
|
|
3
|
+
city: string | null;
|
|
4
|
+
country: string | null;
|
|
5
|
+
postalCode: string | null;
|
|
6
|
+
state: string | null;
|
|
7
|
+
constructor(data?: Partial<UpdatePaypalOrderAddressInputData>);
|
|
8
|
+
}
|
|
9
|
+
export declare class UpdatePaypalOrderAddressInput extends UpdatePaypalOrderAddressInputData {
|
|
10
|
+
}
|
|
11
|
+
export declare type PartialUpdatePaypalOrderAddressInput = Partial<UpdatePaypalOrderAddressInput>;
|
|
12
|
+
export declare type ReadOnlyUpdatePaypalOrderAddressInput = DeepReadonly<UpdatePaypalOrderAddressInput>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class UpdatePaypalOrderCustomerInputData {
|
|
3
|
+
email: string | null;
|
|
4
|
+
firstName: string | null;
|
|
5
|
+
id: string | null;
|
|
6
|
+
lastName: string | null;
|
|
7
|
+
constructor(data?: Partial<UpdatePaypalOrderCustomerInputData>);
|
|
8
|
+
}
|
|
9
|
+
export declare class UpdatePaypalOrderCustomerInput extends UpdatePaypalOrderCustomerInputData {
|
|
10
|
+
}
|
|
11
|
+
export declare type PartialUpdatePaypalOrderCustomerInput = Partial<UpdatePaypalOrderCustomerInput>;
|
|
12
|
+
export declare type ReadOnlyUpdatePaypalOrderCustomerInput = DeepReadonly<UpdatePaypalOrderCustomerInput>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { UpdatePaypalOrderAddressInputData } from "./UpdatePaypalOrderAddressInput";
|
|
3
|
+
import { UpdatePaypalOrderCustomerInputData } from "./UpdatePaypalOrderCustomerInput";
|
|
4
|
+
export declare class UpdatePaypalOrderInputData {
|
|
5
|
+
address: UpdatePaypalOrderAddressInputData | null;
|
|
6
|
+
cartId: string;
|
|
7
|
+
customer: UpdatePaypalOrderCustomerInputData | null;
|
|
8
|
+
shippingSettingsId: string | null;
|
|
9
|
+
shippingZoneRateId: string | null;
|
|
10
|
+
transactionId: string;
|
|
11
|
+
constructor(data?: Partial<UpdatePaypalOrderInputData>);
|
|
12
|
+
}
|
|
13
|
+
export declare class UpdatePaypalOrderInput extends UpdatePaypalOrderInputData {
|
|
14
|
+
}
|
|
15
|
+
export declare type PartialUpdatePaypalOrderInput = Partial<UpdatePaypalOrderInput>;
|
|
16
|
+
export declare type ReadOnlyUpdatePaypalOrderInput = DeepReadonly<UpdatePaypalOrderInput>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { StripeExpressCheckoutAddressInputData } from "./StripeExpressCheckoutAddressInput";
|
|
3
|
+
import { StripeExpressCheckoutCustomerInputData } from "./StripeExpressCheckoutCustomerInput";
|
|
4
|
+
export declare class UpdateStripeExpressCheckoutSessionInputData {
|
|
5
|
+
address: StripeExpressCheckoutAddressInputData | null;
|
|
6
|
+
cartId: string;
|
|
7
|
+
customer: StripeExpressCheckoutCustomerInputData | null;
|
|
8
|
+
sessionId: string;
|
|
9
|
+
shippingSettingsId: string | null;
|
|
10
|
+
shippingZoneRateId: string | null;
|
|
11
|
+
transactionId: string;
|
|
12
|
+
constructor(data?: Partial<UpdateStripeExpressCheckoutSessionInputData>);
|
|
13
|
+
}
|
|
14
|
+
export declare class UpdateStripeExpressCheckoutSessionInput extends UpdateStripeExpressCheckoutSessionInputData {
|
|
15
|
+
}
|
|
16
|
+
export declare type PartialUpdateStripeExpressCheckoutSessionInput = Partial<UpdateStripeExpressCheckoutSessionInput>;
|
|
17
|
+
export declare type ReadOnlyUpdateStripeExpressCheckoutSessionInput = DeepReadonly<UpdateStripeExpressCheckoutSessionInput>;
|
|
@@ -274,6 +274,7 @@ export declare enum ResponseField {
|
|
|
274
274
|
ORDER_LINE_ITEMS__CREATED_AT = "orderLineItems.createdAt",
|
|
275
275
|
ORDER_LINE_ITEMS__CURRENCY_CODE = "orderLineItems.currencyCode",
|
|
276
276
|
ORDER_LINE_ITEMS__CURRENCY_SYMBOL = "orderLineItems.currencySymbol",
|
|
277
|
+
ORDER_LINE_ITEMS__CUSTOMER_SUBSCRIPTION_PLAN__ID = "orderLineItems.customerSubscriptionPlan.id",
|
|
277
278
|
ORDER_LINE_ITEMS__DELETED = "orderLineItems.deleted",
|
|
278
279
|
ORDER_LINE_ITEMS__DISCOUNT__AMOUNT = "orderLineItems.discount.amount",
|
|
279
280
|
ORDER_LINE_ITEMS__DISCOUNT__AMOUNT_TYPE = "orderLineItems.discount.amountType",
|
|
@@ -301,6 +302,18 @@ export declare enum ResponseField {
|
|
|
301
302
|
ORDER_LINE_ITEMS__STATUS = "orderLineItems.status",
|
|
302
303
|
ORDER_LINE_ITEMS__STATUS_UPDATED_AT = "orderLineItems.statusUpdatedAt",
|
|
303
304
|
ORDER_LINE_ITEMS__STOCK_LOCATION_ID = "orderLineItems.stockLocationId",
|
|
305
|
+
ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__ID = "orderLineItems.subscriptionPlan.id",
|
|
306
|
+
ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__NAME = "orderLineItems.subscriptionPlan.name",
|
|
307
|
+
ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__CUT_OFF_DAY = "orderLineItems.subscriptionPlan.period.cutOffDay",
|
|
308
|
+
ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__DISCOUNT__AMOUNT = "orderLineItems.subscriptionPlan.period.discount.amount",
|
|
309
|
+
ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__DISCOUNT__TYPE = "orderLineItems.subscriptionPlan.period.discount.type",
|
|
310
|
+
ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__DURATION_UNIT = "orderLineItems.subscriptionPlan.period.durationUnit",
|
|
311
|
+
ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__DURATION_VALUE = "orderLineItems.subscriptionPlan.period.durationValue",
|
|
312
|
+
ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__ID = "orderLineItems.subscriptionPlan.period.id",
|
|
313
|
+
ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__MAX_ORDERS = "orderLineItems.subscriptionPlan.period.maxOrders",
|
|
314
|
+
ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__PAYMENT_TYPE = "orderLineItems.subscriptionPlan.period.paymentType",
|
|
315
|
+
ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__SCHEDULED_ORDER_DAY = "orderLineItems.subscriptionPlan.period.scheduledOrderDay",
|
|
316
|
+
ORDER_LINE_ITEMS__SUBSCRIPTION_PLAN__PERIOD__TITLE = "orderLineItems.subscriptionPlan.period.title",
|
|
304
317
|
ORDER_LINE_ITEMS__TAX_VALUE = "orderLineItems.taxValue",
|
|
305
318
|
ORDER_LINE_ITEMS__UNIT_PRICE = "orderLineItems.unitPrice",
|
|
306
319
|
ORDER_LINE_ITEMS__UPDATED_AT = "orderLineItems.updatedAt",
|