@ikas/storefront-api 5.0.0-beta.9 → 5.0.0
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/AbandonedCartFlow.d.ts +4 -1
- package/build/__api/models/AddItemToCartInput.d.ts +3 -0
- package/build/__api/models/ApplicableProductFilterValue.d.ts +1 -0
- package/build/__api/models/AvailableShippingMethod.d.ts +2 -0
- package/build/__api/models/BlogCategory.d.ts +1 -0
- package/build/__api/models/BundleProductInput.d.ts +2 -0
- package/build/__api/models/BundleProductModel.d.ts +1 -0
- package/build/__api/models/Campaign.d.ts +3 -0
- package/build/__api/models/CampaignOffer.d.ts +3 -0
- package/build/__api/models/CampaignTranslation.d.ts +10 -0
- package/build/__api/models/CartAcceptedOfferInput.d.ts +13 -0
- package/build/__api/models/CartV2.d.ts +4 -1
- package/build/__api/models/CategoryCondition.d.ts +2 -1
- package/build/__api/models/CheckoutSettings.d.ts +2 -1
- package/build/__api/models/CheckoutSettingsPrice.d.ts +2 -1
- package/build/__api/models/CreatePaypalOrderResponse.d.ts +11 -0
- package/build/__api/models/CreateSaleTransactionWithCartInput.d.ts +1 -0
- package/build/__api/models/CreateSaleTransactionWithCheckoutInput.d.ts +1 -0
- package/build/__api/models/Customer.d.ts +3 -0
- package/build/__api/models/CustomerAddress.d.ts +2 -0
- package/build/__api/models/CustomerAddressRegion.d.ts +10 -0
- package/build/__api/models/CustomerAddressRegionInput.d.ts +10 -0
- package/build/__api/models/CustomerAddressRegionInput.js +1 -0
- package/build/__api/models/CustomerFavoriteProduct.d.ts +2 -0
- package/build/__api/models/CustomerPriceListRule.d.ts +14 -0
- package/build/__api/models/CustomerPriceListRuleFilter.d.ts +11 -0
- package/build/__api/models/CustomerReview.d.ts +1 -0
- package/build/__api/models/CustomerSettings.d.ts +2 -0
- package/build/__api/models/CustomerSettingsPhoneValidationSettings.d.ts +10 -0
- package/build/__api/models/GetPaypalClientIdResponse.d.ts +11 -0
- package/build/__api/models/HTMLMetaDataTranslation.d.ts +1 -0
- package/build/__api/models/IndexPageSeoSetting.d.ts +16 -0
- package/build/__api/models/LocalDeliverySettingsDayEstimatedDeliveryTime.d.ts +11 -0
- package/build/__api/models/OrderAddress.d.ts +2 -2
- package/build/__api/models/OrderAddressInput.d.ts +2 -2
- package/build/__api/models/OrderAddressInput.js +1 -1
- package/build/__api/models/OrderAddressRegion.d.ts +10 -0
- package/build/__api/models/OrderAddressRegionInput.d.ts +10 -0
- package/build/__api/models/OrderAddressRegionInput.js +1 -0
- package/build/__api/models/OrderAttributeValue.d.ts +11 -0
- package/build/__api/models/OrderAttributeValueInput.d.ts +11 -0
- package/build/__api/models/OrderAttributeValueInput.js +1 -0
- package/build/__api/models/OrderLineBundleVariant.d.ts +1 -0
- package/build/__api/models/OrderLineVariant.d.ts +1 -0
- package/build/__api/models/OrderLineVariantBundleProductModel.d.ts +1 -0
- package/build/__api/models/OrderRefundRequestInput.d.ts +1 -0
- package/build/__api/models/ProductFile.d.ts +12 -0
- package/build/__api/models/ProductUnitTranslation.d.ts +11 -0
- package/build/__api/models/RetrieveInstallmentInfoInput.d.ts +1 -0
- package/build/__api/models/SaveCartInput.d.ts +2 -0
- package/build/__api/models/SaveCartInput.js +1 -1
- package/build/__api/models/SaveItemToCartInput.d.ts +1 -0
- package/build/__api/models/SaveMyCustomerAddressInput.d.ts +2 -0
- package/build/__api/models/SaveMyCustomerAddressInput.js +1 -1
- package/build/__api/models/SearchCategory.d.ts +2 -2
- package/build/__api/models/SearchCategoryPath.d.ts +2 -2
- package/build/__api/models/SearchCategoryTranslation.d.ts +12 -0
- package/build/__api/models/SearchInput.d.ts +2 -0
- package/build/__api/models/SearchProduct.d.ts +8 -0
- package/build/__api/models/SearchProductBrand.d.ts +3 -2
- package/build/__api/models/SearchProductBrandTranslation.d.ts +12 -0
- package/build/__api/models/SearchProductCampaign.d.ts +19 -0
- package/build/__api/models/SearchProductCampaignBuyX.d.ts +10 -0
- package/build/__api/models/SearchProductCampaignBuyXThenGetY.d.ts +13 -0
- package/build/__api/models/SearchProductCampaignDateRangeField.d.ts +10 -0
- package/build/__api/models/SearchProductCampaignFixedDiscount.d.ts +9 -0
- package/build/__api/models/SearchProductCampaignGetY.d.ts +10 -0
- package/build/__api/models/SearchProductCampaignOffer.d.ts +9 -0
- package/build/__api/models/SearchProductCampaignPrice.d.ts +10 -0
- package/build/__api/models/SearchProductGroup.d.ts +15 -0
- package/build/__api/models/SearchProductGroupTranslation.d.ts +11 -0
- package/build/__api/models/SearchProductGroupValueTranslation.d.ts +11 -0
- package/build/__api/models/SearchProductGroupValueType.d.ts +11 -0
- package/build/__api/models/SearchProductImage.d.ts +1 -0
- package/build/__api/models/SearchProductPrice.d.ts +2 -0
- package/build/__api/models/SearchProductProductUnit.d.ts +2 -0
- package/build/__api/models/SearchVariant.d.ts +2 -1
- package/build/__api/models/SocialLoginSettings.d.ts +2 -0
- package/build/__api/models/Storefront.d.ts +6 -1
- package/build/__api/models/StorefrontB2BSettings.d.ts +12 -0
- package/build/__api/models/StorefrontFormCheckboxSettings.d.ts +12 -0
- package/build/__api/models/StorefrontFormCheckoutFooterPolicy.d.ts +10 -0
- package/build/__api/models/StorefrontFormCheckoutFooterSettings.d.ts +10 -0
- package/build/__api/models/StorefrontFormCheckoutSettings.d.ts +13 -0
- package/build/__api/models/StorefrontFormMailSettings.d.ts +12 -0
- package/build/__api/models/StorefrontFormSettings.d.ts +21 -0
- package/build/__api/models/StorefrontFormSettingsRouting.d.ts +9 -0
- package/build/__api/models/StorefrontPolicy.d.ts +16 -0
- package/build/__api/models/StorefrontPolicyRouting.d.ts +9 -0
- package/build/__api/models/StorefrontShippingZone.d.ts +13 -0
- package/build/__api/models/StorefrontShippingZoneCity.d.ts +12 -0
- package/build/__api/models/StorefrontShippingZoneDistrict.d.ts +11 -0
- package/build/__api/models/StorefrontShippingZoneRegion.d.ts +10 -0
- package/build/__api/models/StorefrontShippingZoneState.d.ts +13 -0
- package/build/__api/models/TransactionResponse.d.ts +1 -0
- package/build/__api/models/UpdateCartCampaignOfferInput.d.ts +2 -0
- package/build/__api/mutations/activateCustomer.js +1 -0
- package/build/__api/mutations/addCouponCodeToCheckout.d.ts +8 -1
- package/build/__api/mutations/addItemToCart.d.ts +13 -0
- package/build/__api/mutations/addItemToCart.js +1 -1
- package/build/__api/mutations/createCustomerEmailSubscription.d.ts +5 -0
- package/build/__api/mutations/createCustomerReview.d.ts +1 -0
- package/build/__api/mutations/createCustomerReview.js +1 -1
- package/build/__api/mutations/createOrderRefundRequest.d.ts +2 -0
- package/build/__api/mutations/createOrderRefundRequest.js +1 -1
- package/build/__api/mutations/createPaypalOrder.d.ts +12 -0
- package/build/__api/mutations/createPaypalOrder.js +1 -0
- package/build/__api/mutations/createSaleTransactionWithCart.d.ts +1 -0
- package/build/__api/mutations/createSaleTransactionWithCart.js +1 -1
- package/build/__api/mutations/createSaleTransactionWithCheckout.d.ts +1 -0
- package/build/__api/mutations/customerLogin.d.ts +11 -0
- package/build/__api/mutations/customerLogin.js +1 -1
- package/build/__api/mutations/getPaypalClientId.d.ts +12 -0
- package/build/__api/mutations/getPaypalClientId.js +1 -0
- package/build/__api/mutations/registerCustomer.d.ts +13 -0
- package/build/__api/mutations/registerCustomer.js +1 -1
- package/build/__api/mutations/resendCustomerActivationMail.d.ts +1 -1
- package/build/__api/mutations/resendCustomerActivationMail.js +1 -0
- package/build/__api/mutations/resendCustomerPhoneVerificationCode.d.ts +7 -0
- package/build/__api/mutations/resendCustomerPhoneVerificationCode.js +1 -0
- package/build/__api/mutations/saveCart.d.ts +13 -0
- package/build/__api/mutations/saveCart.js +1 -1
- package/build/__api/mutations/saveCartCouponCode.d.ts +12 -0
- package/build/__api/mutations/saveCartCouponCode.js +1 -1
- package/build/__api/mutations/saveCheckout.d.ts +9 -1
- package/build/__api/mutations/saveItemToCart.d.ts +3 -0
- package/build/__api/mutations/saveMyCustomer.d.ts +11 -0
- package/build/__api/mutations/saveMyCustomer.js +1 -1
- package/build/__api/mutations/sendContactFormToMerchant.d.ts +1 -0
- package/build/__api/mutations/sendContactFormToMerchant.js +1 -1
- package/build/__api/mutations/updateCartCampaignOffer.d.ts +12 -0
- package/build/__api/mutations/updateCartCampaignOffer.js +1 -1
- package/build/__api/mutations/validateCustomerPhoneVerificationCode.d.ts +7 -0
- package/build/__api/mutations/validateCustomerPhoneVerificationCode.js +1 -0
- package/build/__api/queries/checkCartStocks.d.ts +13 -0
- package/build/__api/queries/checkCartStocks.js +1 -0
- package/build/__api/queries/customerSocialLogin.d.ts +11 -0
- package/build/__api/queries/customerSocialLogin.js +1 -1
- package/build/__api/queries/getAvailableShippingZones.d.ts +23 -0
- package/build/__api/queries/getAvailableShippingZones.js +1 -0
- package/build/__api/queries/getCart.d.ts +3 -0
- package/build/__api/queries/getCartById.d.ts +13 -0
- package/build/__api/queries/getCartById.js +1 -1
- package/build/__api/queries/getCheckoutByCartId.d.ts +9 -1
- package/build/__api/queries/getCheckoutById.d.ts +9 -1
- package/build/__api/queries/getCustomerOrders.d.ts +2 -0
- package/build/__api/queries/getCustomerOrders.js +1 -1
- package/build/__api/queries/getDigitalProductFileDownloadUrl.d.ts +7 -0
- package/build/__api/queries/getDigitalProductFileDownloadUrl.js +1 -0
- package/build/__api/queries/getMyCustomer.d.ts +11 -0
- package/build/__api/queries/getMyCustomer.js +1 -1
- package/build/__api/queries/getOrder.d.ts +2 -0
- package/build/__api/queries/getOrderByEmail.d.ts +2 -0
- package/build/__api/queries/getOrderByEmail.js +1 -1
- package/build/__api/queries/getProductCampaigns.d.ts +3 -0
- package/build/__api/queries/getProductCampaigns.js +1 -1
- package/build/__api/queries/getProductFilterData.d.ts +8 -0
- package/build/__api/queries/getProductFilterData.js +1 -1
- package/build/__api/queries/getStorefront.d.ts +17 -0
- package/build/__api/queries/getSuggestedProducts.d.ts +21 -0
- package/build/__api/queries/getSuggestedProducts.js +1 -1
- package/build/__api/queries/listBlog.d.ts +2 -0
- package/build/__api/queries/listBlog.js +1 -1
- package/build/__api/queries/listBlogCategory.d.ts +2 -0
- package/build/__api/queries/listBlogCategory.js +1 -1
- package/build/__api/queries/listCampaignOffer.d.ts +4 -1
- package/build/__api/queries/listCampaignOffer.js +1 -0
- package/build/__api/queries/listCategory.d.ts +3 -0
- package/build/__api/queries/listCategory.js +1 -1
- package/build/__api/queries/listCheckoutSettings.d.ts +2 -0
- package/build/__api/queries/listCheckoutSettings.js +1 -1
- package/build/__api/queries/listCustomerReviews.d.ts +1 -0
- package/build/__api/queries/listCustomerReviews.js +1 -1
- package/build/__api/queries/listCustomerSettings.d.ts +2 -0
- package/build/__api/queries/listCustomerSettings.js +1 -1
- package/build/__api/queries/listFavoriteProducts.d.ts +2 -0
- package/build/__api/queries/listFavoriteProducts.js +1 -1
- package/build/__api/queries/listHTMLMetaData.d.ts +2 -0
- package/build/__api/queries/listHTMLMetaData.js +1 -1
- package/build/__api/queries/listPaymentGateway.d.ts +1 -0
- package/build/__api/queries/listPaymentGateway.js +1 -1
- package/build/__api/queries/listProductBrand.d.ts +1 -0
- package/build/__api/queries/listProductBrand.js +1 -1
- package/build/__api/queries/listProductFile.d.ts +16 -0
- package/build/__api/queries/listProductFile.js +1 -0
- package/build/__api/queries/listStorefrontFormSettings.d.ts +38 -0
- package/build/__api/queries/listStorefrontPolicy.d.ts +24 -0
- package/build/__api/queries/searchProducts.d.ts +46 -0
- package/build/__api/queries/searchProducts.js +1 -1
- package/build/__api/types/index.d.ts +417 -25
- package/build/__api/types/index.js +1 -1
- package/build/api/cart/index.js +1 -1
- package/build/api/category/index.d.ts +1 -1
- package/build/api/category/index.js +1 -1
- package/build/api/checkout/index.d.ts +9 -1
- package/build/api/checkout/index.js +1 -1
- package/build/api/customer/index.d.ts +31 -3
- package/build/api/customer/index.js +1 -1
- package/build/api/file-upload/index.d.ts +3 -1
- package/build/api/file-upload/index.js +1 -1
- package/build/api/html-meta-data/index.js +1 -1
- package/build/api/location/index.d.ts +4 -2
- package/build/api/location/index.js +1 -1
- package/build/api/product/index.d.ts +5 -2
- package/build/api/product/index.js +1 -1
- package/build/api/storefront/index.d.ts +1 -0
- package/build/index.d.ts +2 -2
- package/build/index.js +1 -1
- package/build/index2.js +1 -1
- package/package.json +6 -6
- package/build/__api/models/ShippingZoneRegion.d.ts +0 -10
- package/build/__api/models/ShippingZoneRegionInput.d.ts +0 -10
- package/build/__api/models/ShippingZoneRegionInput.js +0 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
|
-
import { CheckoutRecoveryEmailStatusEnum } from "../types";
|
|
2
|
+
import { AbandonedCartSettingsNotificationTypeEnum, CheckoutRecoveryEmailStatusEnum } from "../types";
|
|
3
3
|
import { AbandonedCartFlowCustomerFilterData } from "./AbandonedCartFlowCustomerFilter";
|
|
4
4
|
export declare class AbandonedCartFlowData {
|
|
5
|
+
authorizedAppId: string | null;
|
|
5
6
|
campaignId: string | null;
|
|
6
7
|
canApplicable: boolean;
|
|
7
8
|
couponId: string | null;
|
|
@@ -9,8 +10,10 @@ export declare class AbandonedCartFlowData {
|
|
|
9
10
|
flowId: string;
|
|
10
11
|
mailSendDate: any | null;
|
|
11
12
|
mailTranslationId: string | null;
|
|
13
|
+
messageType: AbandonedCartSettingsNotificationTypeEnum | null;
|
|
12
14
|
recoverEmailStatus: CheckoutRecoveryEmailStatusEnum;
|
|
13
15
|
sendAfter: number;
|
|
16
|
+
smsTranslationId: string | null;
|
|
14
17
|
constructor(data?: Partial<AbandonedCartFlowData>);
|
|
15
18
|
}
|
|
16
19
|
export declare class AbandonedCartFlow extends AbandonedCartFlowData {
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { CartAcceptedOfferInputData } from "./CartAcceptedOfferInput";
|
|
2
3
|
import { CartLineItemInputData } from "./CartLineItemInput";
|
|
3
4
|
import { CartLineOptionInputData } from "./CartLineOptionInput";
|
|
4
5
|
export declare class AddItemToCartInputData {
|
|
6
|
+
acceptedOffers: CartAcceptedOfferInputData[] | null;
|
|
5
7
|
cartId: string | null;
|
|
6
8
|
item: CartLineItemInputData;
|
|
9
|
+
metadata: any | null;
|
|
7
10
|
options: CartLineOptionInputData[] | null;
|
|
8
11
|
priceListId: string | null;
|
|
9
12
|
salesChannelId: string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
2
|
import { OrderShippingMethodEnum } from "../types";
|
|
3
|
+
import { LocalDeliverySettingsDayEstimatedDeliveryTimeData } from "./LocalDeliverySettingsDayEstimatedDeliveryTime";
|
|
3
4
|
export declare class AvailableShippingMethodData {
|
|
5
|
+
estimatedDeliveryTime: LocalDeliverySettingsDayEstimatedDeliveryTimeData | null;
|
|
4
6
|
price: number;
|
|
5
7
|
rateName: string;
|
|
6
8
|
shippingMethod: OrderShippingMethodEnum;
|
|
@@ -3,6 +3,7 @@ import BaseModelData from "./_base";
|
|
|
3
3
|
import { BlogMetadataData } from "./BlogMetadata";
|
|
4
4
|
export declare class BlogCategoryData extends BaseModelData {
|
|
5
5
|
imageId: string;
|
|
6
|
+
locale: string | null;
|
|
6
7
|
metadata: BlogMetadataData;
|
|
7
8
|
name: string;
|
|
8
9
|
constructor(data?: Partial<BlogCategoryData>);
|
|
@@ -4,6 +4,7 @@ import { CampaignApplicablePriceEnum, CampaignCreatedForEnum, CampaignTypeEnum }
|
|
|
4
4
|
import { BuyXThenGetYData } from "./BuyXThenGetY";
|
|
5
5
|
import { CampaignDateRangeFieldData } from "./CampaignDateRangeField";
|
|
6
6
|
import { FixedDiscountData } from "./FixedDiscount";
|
|
7
|
+
import { CampaignTranslationData } from "./CampaignTranslation";
|
|
7
8
|
export declare class CampaignData extends BaseModelData {
|
|
8
9
|
applicableCustomerGroupIds: string[] | null;
|
|
9
10
|
applicableCustomerIds: string[] | null;
|
|
@@ -16,9 +17,11 @@ export declare class CampaignData extends BaseModelData {
|
|
|
16
17
|
fixedDiscount: FixedDiscountData | null;
|
|
17
18
|
hasCoupon: boolean;
|
|
18
19
|
includeDiscountedProducts: boolean | null;
|
|
20
|
+
isFreeShipping: boolean | null;
|
|
19
21
|
onlyUseCustomer: boolean | null;
|
|
20
22
|
salesChannelIds: string[] | null;
|
|
21
23
|
title: string;
|
|
24
|
+
translations: CampaignTranslationData[] | null;
|
|
22
25
|
type: CampaignTypeEnum;
|
|
23
26
|
usageCount: number;
|
|
24
27
|
usageLimit: number | null;
|
|
@@ -5,8 +5,11 @@ import { CampaignOfferProductData } from "./CampaignOfferProduct";
|
|
|
5
5
|
import { CampaignOfferTriggerSettingsData } from "./CampaignOfferTriggerSettings";
|
|
6
6
|
export declare class CampaignOfferData extends BaseModelData {
|
|
7
7
|
availableSalesChannelIds: string[];
|
|
8
|
+
currencyCodes: string[] | null;
|
|
8
9
|
endDate: any | null;
|
|
9
10
|
followUpActionType: CampaignOfferFollowUpActionTypeEnum;
|
|
11
|
+
maxCount: number | null;
|
|
12
|
+
maximumRequiredCartAmount: number | null;
|
|
10
13
|
minimumRequiredCartAmount: number | null;
|
|
11
14
|
name: string;
|
|
12
15
|
offers: CampaignOfferProductData[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class CampaignTranslationData {
|
|
3
|
+
locale: string;
|
|
4
|
+
title: string | null;
|
|
5
|
+
constructor(data?: Partial<CampaignTranslationData>);
|
|
6
|
+
}
|
|
7
|
+
export declare class CampaignTranslation extends CampaignTranslationData {
|
|
8
|
+
}
|
|
9
|
+
export declare type PartialCampaignTranslation = Partial<CampaignTranslation>;
|
|
10
|
+
export declare type ReadOnlyCampaignTranslation = DeepReadonly<CampaignTranslation>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class CartAcceptedOfferInputData {
|
|
3
|
+
campaignOfferId: string;
|
|
4
|
+
campaignOfferProductId: string;
|
|
5
|
+
productId: string;
|
|
6
|
+
quantity: number | null;
|
|
7
|
+
variantId: string;
|
|
8
|
+
constructor(data?: Partial<CartAcceptedOfferInputData>);
|
|
9
|
+
}
|
|
10
|
+
export declare class CartAcceptedOfferInput extends CartAcceptedOfferInputData {
|
|
11
|
+
}
|
|
12
|
+
export declare type PartialCartAcceptedOfferInput = Partial<CartAcceptedOfferInput>;
|
|
13
|
+
export declare type ReadOnlyCartAcceptedOfferInput = DeepReadonly<CartAcceptedOfferInput>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
2
|
import BaseModelData from "./_base";
|
|
3
|
-
import { CartV2StatusEnum, CartCreatedByEnum, OrderPackageStatusEnum, CheckoutRecoveryEmailStatusEnum, CheckoutRecoveryStatusEnum, OrderShippingMethodEnum } from "../types";
|
|
3
|
+
import { CartV2StatusEnum, CartCreatedByEnum, OrderPackageStatusEnum, OrderPaymentStatusEnum, CheckoutRecoveryEmailStatusEnum, CheckoutRecoveryStatusEnum, OrderShippingMethodEnum } from "../types";
|
|
4
4
|
import { AbandonedCartFlowData } from "./AbandonedCartFlow";
|
|
5
|
+
import { OrderAttributeValueData } from "./OrderAttributeValue";
|
|
5
6
|
import { AvailableShippingMethodData } from "./AvailableShippingMethod";
|
|
6
7
|
import { OrderAddressData } from "./OrderAddress";
|
|
7
8
|
import { CartV2CampaignOfferData } from "./CartV2CampaignOffer";
|
|
@@ -16,6 +17,7 @@ import { OrderStorefrontRoutingData } from "./OrderStorefrontRouting";
|
|
|
16
17
|
import { OrderTaxLineData } from "./OrderTaxLine";
|
|
17
18
|
export declare class CartV2Data extends BaseModelData {
|
|
18
19
|
abandonedCartFlows: AbandonedCartFlowData[] | null;
|
|
20
|
+
attributes: OrderAttributeValueData[] | null;
|
|
19
21
|
availableShippingMethods: AvailableShippingMethodData[] | null;
|
|
20
22
|
billingAddress: OrderAddressData | null;
|
|
21
23
|
campaignOffers: CartV2CampaignOfferData[] | null;
|
|
@@ -42,6 +44,7 @@ export declare class CartV2Data extends BaseModelData {
|
|
|
42
44
|
orderLineItems: OrderLineItemData[];
|
|
43
45
|
orderNumber: string | null;
|
|
44
46
|
orderPackageStatus: OrderPackageStatusEnum | null;
|
|
47
|
+
orderPaymentStatus: OrderPaymentStatusEnum | null;
|
|
45
48
|
orderedAt: any | null;
|
|
46
49
|
priceListId: string | null;
|
|
47
50
|
recoverEmailStatus: CheckoutRecoveryEmailStatusEnum | null;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
|
-
import { CategoryConditionTypeEnum } from "../types";
|
|
2
|
+
import { CategoryConditionTypeEnum, CategoryConditionMethodEnum } from "../types";
|
|
3
3
|
export declare class CategoryConditionData {
|
|
4
4
|
conditionType: CategoryConditionTypeEnum;
|
|
5
|
+
method: CategoryConditionMethodEnum | null;
|
|
5
6
|
valueList: string[];
|
|
6
7
|
constructor(data?: Partial<CategoryConditionData>);
|
|
7
8
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
2
|
import BaseModelData from "./_base";
|
|
3
|
-
import { CheckoutRequirementEnum } from "../types";
|
|
3
|
+
import { CouponCodeRequirementEnum, CheckoutRequirementEnum } from "../types";
|
|
4
4
|
import { CheckoutSettingsPriceData } from "./CheckoutSettingsPrice";
|
|
5
5
|
import { CheckoutOptionData } from "./CheckoutOption";
|
|
6
6
|
export declare class CheckoutSettingsData extends BaseModelData {
|
|
7
|
+
couponCodeRequirement: CouponCodeRequirementEnum | null;
|
|
7
8
|
giftPackagePriceList: CheckoutSettingsPriceData[] | null;
|
|
8
9
|
identityNumberRequirement: CheckoutRequirementEnum | null;
|
|
9
10
|
isAccountRequired: boolean;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
2
|
export declare class CheckoutSettingsPriceData {
|
|
3
|
-
currencyCode: string;
|
|
3
|
+
currencyCode: string | null;
|
|
4
4
|
currencySymbol: string | null;
|
|
5
5
|
price: number;
|
|
6
|
+
priceListId: string | null;
|
|
6
7
|
constructor(data?: Partial<CheckoutSettingsPriceData>);
|
|
7
8
|
}
|
|
8
9
|
export declare class CheckoutSettingsPrice extends CheckoutSettingsPriceData {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class CreatePaypalOrderResponseData {
|
|
3
|
+
returnUrl: string;
|
|
4
|
+
sessionToken: string;
|
|
5
|
+
transactionId: string;
|
|
6
|
+
constructor(data?: Partial<CreatePaypalOrderResponseData>);
|
|
7
|
+
}
|
|
8
|
+
export declare class CreatePaypalOrderResponse extends CreatePaypalOrderResponseData {
|
|
9
|
+
}
|
|
10
|
+
export declare type PartialCreatePaypalOrderResponse = Partial<CreatePaypalOrderResponse>;
|
|
11
|
+
export declare type ReadOnlyCreatePaypalOrderResponse = DeepReadonly<CreatePaypalOrderResponse>;
|
|
@@ -4,6 +4,7 @@ import { PaymentMethodDetailInputData } from "./PaymentMethodDetailInput";
|
|
|
4
4
|
export declare class CreateSaleTransactionWithCartInputData {
|
|
5
5
|
cartId: string;
|
|
6
6
|
masterPassDetail: CreateSaleTransactionMasterPassPaymentMethodDetailData | null;
|
|
7
|
+
metadata: any | null;
|
|
7
8
|
paymentGatewayId: string;
|
|
8
9
|
paymentMethodDetail: PaymentMethodDetailInputData | null;
|
|
9
10
|
constructor(data?: Partial<CreateSaleTransactionWithCartInputData>);
|
|
@@ -4,6 +4,7 @@ import { PaymentMethodDetailInputData } from "./PaymentMethodDetailInput";
|
|
|
4
4
|
export declare class CreateSaleTransactionWithCheckoutInputData {
|
|
5
5
|
checkoutId: string;
|
|
6
6
|
masterPassDetail: CreateSaleTransactionMasterPassPaymentMethodDetailData | null;
|
|
7
|
+
metadata: any | null;
|
|
7
8
|
paymentGatewayId: string;
|
|
8
9
|
paymentMethodDetail: PaymentMethodDetailInputData | null;
|
|
9
10
|
constructor(data?: Partial<CreateSaleTransactionWithCheckoutInputData>);
|
|
@@ -3,6 +3,7 @@ import BaseModelData from "./_base";
|
|
|
3
3
|
import { CustomerAccountStatusEnum, CustomerRegistrationSourceEnum, CustomerEmailSubscriptionStatusesEnum } from "../types";
|
|
4
4
|
import { CustomerAddressData } from "./CustomerAddress";
|
|
5
5
|
import { CustomerAttributeValueData } from "./CustomerAttributeValue";
|
|
6
|
+
import { CustomerPriceListRuleData } from "./CustomerPriceListRule";
|
|
6
7
|
export declare class CustomerData extends BaseModelData {
|
|
7
8
|
accountStatus: CustomerAccountStatusEnum | null;
|
|
8
9
|
accountStatusUpdatedAt: any | null;
|
|
@@ -23,6 +24,8 @@ export declare class CustomerData extends BaseModelData {
|
|
|
23
24
|
phone: string | null;
|
|
24
25
|
phoneVerifiedDate: any | null;
|
|
25
26
|
preferredLanguage: string | null;
|
|
27
|
+
priceListId: string | null;
|
|
28
|
+
priceListRules: CustomerPriceListRuleData[] | null;
|
|
26
29
|
registrationSource: CustomerRegistrationSourceEnum | null;
|
|
27
30
|
subscriptionStatus: CustomerEmailSubscriptionStatusesEnum | null;
|
|
28
31
|
subscriptionStatusUpdatedAt: any | null;
|
|
@@ -4,6 +4,7 @@ import { CustomerAttributeValueData } from "./CustomerAttributeValue";
|
|
|
4
4
|
import { CustomerAddressCityData } from "./CustomerAddressCity";
|
|
5
5
|
import { CustomerAddressCountryData } from "./CustomerAddressCountry";
|
|
6
6
|
import { CustomerAddressDistrictData } from "./CustomerAddressDistrict";
|
|
7
|
+
import { CustomerAddressRegionData } from "./CustomerAddressRegion";
|
|
7
8
|
import { CustomerAddressStateData } from "./CustomerAddressState";
|
|
8
9
|
export declare class CustomerAddressData extends BaseModelData {
|
|
9
10
|
addressLine1: string;
|
|
@@ -19,6 +20,7 @@ export declare class CustomerAddressData extends BaseModelData {
|
|
|
19
20
|
lastName: string;
|
|
20
21
|
phone: string | null;
|
|
21
22
|
postalCode: string | null;
|
|
23
|
+
region: CustomerAddressRegionData | null;
|
|
22
24
|
state: CustomerAddressStateData | null;
|
|
23
25
|
taxNumber: string | null;
|
|
24
26
|
taxOffice: string | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import BaseModelData from "./_base";
|
|
3
|
+
export declare class CustomerAddressRegionData extends BaseModelData {
|
|
4
|
+
name: string;
|
|
5
|
+
constructor(data?: Partial<CustomerAddressRegionData>);
|
|
6
|
+
}
|
|
7
|
+
export declare class CustomerAddressRegion extends CustomerAddressRegionData {
|
|
8
|
+
}
|
|
9
|
+
export declare type PartialCustomerAddressRegion = Partial<CustomerAddressRegion>;
|
|
10
|
+
export declare type ReadOnlyCustomerAddressRegion = DeepReadonly<CustomerAddressRegion>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class CustomerAddressRegionInputData {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
constructor(data?: Partial<CustomerAddressRegionInputData>);
|
|
6
|
+
}
|
|
7
|
+
export declare class CustomerAddressRegionInput extends CustomerAddressRegionInputData {
|
|
8
|
+
}
|
|
9
|
+
export declare type PartialCustomerAddressRegionInput = Partial<CustomerAddressRegionInput>;
|
|
10
|
+
export declare type ReadOnlyCustomerAddressRegionInput = DeepReadonly<CustomerAddressRegionInput>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__extends as i}from'./../../ext/tslib/tslib.es6.js';var t=function(i){void 0===i&&(i={}),this.id=i.id||"",this.name=i.name||""};!function(t){function n(){return null!==t&&t.apply(this,arguments)||this}i(n,t)}(t);export{t as CustomerAddressRegionInputData};
|
|
@@ -2,6 +2,8 @@ import { DeepReadonly } from "ts-essentials";
|
|
|
2
2
|
import BaseModelData from "./_base";
|
|
3
3
|
export declare class CustomerFavoriteProductData extends BaseModelData {
|
|
4
4
|
customerId: string;
|
|
5
|
+
price: number | null;
|
|
6
|
+
priceListId: string | null;
|
|
5
7
|
productId: string;
|
|
6
8
|
constructor(data?: Partial<CustomerFavoriteProductData>);
|
|
7
9
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { CustomerPriceListRuleValueTypeEnum } from "../types";
|
|
3
|
+
import { CustomerPriceListRuleFilterData } from "./CustomerPriceListRuleFilter";
|
|
4
|
+
export declare class CustomerPriceListRuleData {
|
|
5
|
+
filters: CustomerPriceListRuleFilterData[] | null;
|
|
6
|
+
shouldMatchAllFilters: boolean | null;
|
|
7
|
+
value: number;
|
|
8
|
+
valueType: CustomerPriceListRuleValueTypeEnum;
|
|
9
|
+
constructor(data?: Partial<CustomerPriceListRuleData>);
|
|
10
|
+
}
|
|
11
|
+
export declare class CustomerPriceListRule extends CustomerPriceListRuleData {
|
|
12
|
+
}
|
|
13
|
+
export declare type PartialCustomerPriceListRule = Partial<CustomerPriceListRule>;
|
|
14
|
+
export declare type ReadOnlyCustomerPriceListRule = DeepReadonly<CustomerPriceListRule>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { CustomerPriceListRuleFilterTypeEnum } from "../types";
|
|
3
|
+
export declare class CustomerPriceListRuleFilterData {
|
|
4
|
+
type: CustomerPriceListRuleFilterTypeEnum;
|
|
5
|
+
valueList: string[];
|
|
6
|
+
constructor(data?: Partial<CustomerPriceListRuleFilterData>);
|
|
7
|
+
}
|
|
8
|
+
export declare class CustomerPriceListRuleFilter extends CustomerPriceListRuleFilterData {
|
|
9
|
+
}
|
|
10
|
+
export declare type PartialCustomerPriceListRuleFilter = Partial<CustomerPriceListRuleFilter>;
|
|
11
|
+
export declare type ReadOnlyCustomerPriceListRuleFilter = DeepReadonly<CustomerPriceListRuleFilter>;
|
|
@@ -11,6 +11,7 @@ export declare class CustomerReviewData extends BaseModelData {
|
|
|
11
11
|
orderId: string | null;
|
|
12
12
|
orderNumber: string | null;
|
|
13
13
|
productId: string;
|
|
14
|
+
reply: string | null;
|
|
14
15
|
salesChannelId: string | null;
|
|
15
16
|
star: number;
|
|
16
17
|
status: CustomerReviewStatusEnum | null;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
2
|
import BaseModelData from "./_base";
|
|
3
|
+
import { CustomerSettingsPhoneValidationSettingsData } from "./CustomerSettingsPhoneValidationSettings";
|
|
3
4
|
export declare class CustomerSettingsData extends BaseModelData {
|
|
5
|
+
phoneValidationSettings: CustomerSettingsPhoneValidationSettingsData | null;
|
|
4
6
|
requireCaptchaValidation: boolean | null;
|
|
5
7
|
requireEmailValidation: boolean;
|
|
6
8
|
salesChannelId: string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class CustomerSettingsPhoneValidationSettingsData {
|
|
3
|
+
requirePhoneValidation: boolean;
|
|
4
|
+
smsGatewayId: string;
|
|
5
|
+
constructor(data?: Partial<CustomerSettingsPhoneValidationSettingsData>);
|
|
6
|
+
}
|
|
7
|
+
export declare class CustomerSettingsPhoneValidationSettings extends CustomerSettingsPhoneValidationSettingsData {
|
|
8
|
+
}
|
|
9
|
+
export declare type PartialCustomerSettingsPhoneValidationSettings = Partial<CustomerSettingsPhoneValidationSettings>;
|
|
10
|
+
export declare type ReadOnlyCustomerSettingsPhoneValidationSettings = DeepReadonly<CustomerSettingsPhoneValidationSettings>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class GetPaypalClientIdResponseData {
|
|
3
|
+
clientId: string;
|
|
4
|
+
merchantClientId: string | null;
|
|
5
|
+
merchantId: string;
|
|
6
|
+
constructor(data?: Partial<GetPaypalClientIdResponseData>);
|
|
7
|
+
}
|
|
8
|
+
export declare class GetPaypalClientIdResponse extends GetPaypalClientIdResponseData {
|
|
9
|
+
}
|
|
10
|
+
export declare type PartialGetPaypalClientIdResponse = Partial<GetPaypalClientIdResponse>;
|
|
11
|
+
export declare type ReadOnlyGetPaypalClientIdResponse = DeepReadonly<GetPaypalClientIdResponse>;
|
|
@@ -3,6 +3,7 @@ export declare class HTMLMetaDataTranslationData {
|
|
|
3
3
|
description: string | null;
|
|
4
4
|
locale: string;
|
|
5
5
|
pageTitle: string | null;
|
|
6
|
+
slug: string | null;
|
|
6
7
|
constructor(data?: Partial<HTMLMetaDataTranslationData>);
|
|
7
8
|
}
|
|
8
9
|
export declare class HTMLMetaDataTranslation extends HTMLMetaDataTranslationData {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import BaseModelData from "./_base";
|
|
3
|
+
export declare class IndexPageSeoSettingData extends BaseModelData {
|
|
4
|
+
canonicals: string[] | null;
|
|
5
|
+
description: string | null;
|
|
6
|
+
disableIndex: boolean | null;
|
|
7
|
+
favIcon: string | null;
|
|
8
|
+
locale: string;
|
|
9
|
+
pageTitle: string | null;
|
|
10
|
+
slug: string | null;
|
|
11
|
+
constructor(data?: Partial<IndexPageSeoSettingData>);
|
|
12
|
+
}
|
|
13
|
+
export declare class IndexPageSeoSetting extends IndexPageSeoSettingData {
|
|
14
|
+
}
|
|
15
|
+
export declare type PartialIndexPageSeoSetting = Partial<IndexPageSeoSetting>;
|
|
16
|
+
export declare type ReadOnlyIndexPageSeoSetting = DeepReadonly<IndexPageSeoSetting>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import { LocalDeliverySettingsDeliveryTimeType } from "../types";
|
|
3
|
+
export declare class LocalDeliverySettingsDayEstimatedDeliveryTimeData {
|
|
4
|
+
type: LocalDeliverySettingsDeliveryTimeType;
|
|
5
|
+
value: number;
|
|
6
|
+
constructor(data?: Partial<LocalDeliverySettingsDayEstimatedDeliveryTimeData>);
|
|
7
|
+
}
|
|
8
|
+
export declare class LocalDeliverySettingsDayEstimatedDeliveryTime extends LocalDeliverySettingsDayEstimatedDeliveryTimeData {
|
|
9
|
+
}
|
|
10
|
+
export declare type PartialLocalDeliverySettingsDayEstimatedDeliveryTime = Partial<LocalDeliverySettingsDayEstimatedDeliveryTime>;
|
|
11
|
+
export declare type ReadOnlyLocalDeliverySettingsDayEstimatedDeliveryTime = DeepReadonly<LocalDeliverySettingsDayEstimatedDeliveryTime>;
|
|
@@ -2,7 +2,7 @@ import { DeepReadonly } from "ts-essentials";
|
|
|
2
2
|
import { OrderAddressCityData } from "./OrderAddressCity";
|
|
3
3
|
import { OrderAddressCountryData } from "./OrderAddressCountry";
|
|
4
4
|
import { OrderAddressDistrictData } from "./OrderAddressDistrict";
|
|
5
|
-
import {
|
|
5
|
+
import { OrderAddressRegionData } from "./OrderAddressRegion";
|
|
6
6
|
import { OrderAddressStateData } from "./OrderAddressState";
|
|
7
7
|
export declare class OrderAddressData {
|
|
8
8
|
addressLine1: string;
|
|
@@ -18,7 +18,7 @@ export declare class OrderAddressData {
|
|
|
18
18
|
lastName: string;
|
|
19
19
|
phone: string | null;
|
|
20
20
|
postalCode: string | null;
|
|
21
|
-
region:
|
|
21
|
+
region: OrderAddressRegionData | null;
|
|
22
22
|
state: OrderAddressStateData | null;
|
|
23
23
|
taxNumber: string | null;
|
|
24
24
|
taxOffice: string | null;
|
|
@@ -2,7 +2,7 @@ import { DeepReadonly } from "ts-essentials";
|
|
|
2
2
|
import { OrderAddressCityInputData } from "./OrderAddressCityInput";
|
|
3
3
|
import { OrderAddressCountryInputData } from "./OrderAddressCountryInput";
|
|
4
4
|
import { OrderAddressDistrictInputData } from "./OrderAddressDistrictInput";
|
|
5
|
-
import {
|
|
5
|
+
import { OrderAddressRegionInputData } from "./OrderAddressRegionInput";
|
|
6
6
|
import { OrderAddressStateInputData } from "./OrderAddressStateInput";
|
|
7
7
|
export declare class OrderAddressInputData {
|
|
8
8
|
addressLine1: string;
|
|
@@ -18,7 +18,7 @@ export declare class OrderAddressInputData {
|
|
|
18
18
|
lastName: string;
|
|
19
19
|
phone: string | null;
|
|
20
20
|
postalCode: string | null;
|
|
21
|
-
region:
|
|
21
|
+
region: OrderAddressRegionInputData | null;
|
|
22
22
|
state: OrderAddressStateInputData | null;
|
|
23
23
|
taxNumber: string | null;
|
|
24
24
|
taxOffice: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__extends as t}from'./../../ext/tslib/tslib.es6.js';import{OrderAddressCityInputData as i}from"./OrderAddressCityInput.js";import{OrderAddressCountryInputData as s}from"./OrderAddressCountryInput.js";import{OrderAddressDistrictInputData as e}from"./OrderAddressDistrictInput.js";import{
|
|
1
|
+
import{__extends as t}from'./../../ext/tslib/tslib.es6.js';import{OrderAddressCityInputData as i}from"./OrderAddressCityInput.js";import{OrderAddressCountryInputData as s}from"./OrderAddressCountryInput.js";import{OrderAddressDistrictInputData as e}from"./OrderAddressDistrictInput.js";import{OrderAddressRegionInputData as r}from"./OrderAddressRegionInput.js";import{OrderAddressStateInputData as n}from"./OrderAddressStateInput.js";var d=function(t){void 0===t&&(t={}),this.addressLine1=t.addressLine1||"",this.addressLine2=t.addressLine2||null,this.city=t.city?new i(t.city):new i,this.company=t.company||null,this.country=t.country?new s(t.country):new s,this.district=t.district?new e(t.district):null,this.firstName=t.firstName||"",this.id=t.id||null,this.identityNumber=t.identityNumber||null,this.isDefault=t.isDefault||!1,this.lastName=t.lastName||"",this.phone=t.phone||null,this.postalCode=t.postalCode||null,this.region=t.region?new r(t.region):null,this.state=t.state?new n(t.state):null,this.taxNumber=t.taxNumber||null,this.taxOffice=t.taxOffice||null};!function(i){function s(){return null!==i&&i.apply(this,arguments)||this}t(s,i)}(d);export{d as OrderAddressInputData};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import BaseModelData from "./_base";
|
|
3
|
+
export declare class OrderAddressRegionData extends BaseModelData {
|
|
4
|
+
name: string;
|
|
5
|
+
constructor(data?: Partial<OrderAddressRegionData>);
|
|
6
|
+
}
|
|
7
|
+
export declare class OrderAddressRegion extends OrderAddressRegionData {
|
|
8
|
+
}
|
|
9
|
+
export declare type PartialOrderAddressRegion = Partial<OrderAddressRegion>;
|
|
10
|
+
export declare type ReadOnlyOrderAddressRegion = DeepReadonly<OrderAddressRegion>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class OrderAddressRegionInputData {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
constructor(data?: Partial<OrderAddressRegionInputData>);
|
|
6
|
+
}
|
|
7
|
+
export declare class OrderAddressRegionInput extends OrderAddressRegionInputData {
|
|
8
|
+
}
|
|
9
|
+
export declare type PartialOrderAddressRegionInput = Partial<OrderAddressRegionInput>;
|
|
10
|
+
export declare type ReadOnlyOrderAddressRegionInput = DeepReadonly<OrderAddressRegionInput>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__extends as i}from'./../../ext/tslib/tslib.es6.js';var t=function(i){void 0===i&&(i={}),this.id=i.id||"",this.name=i.name||""};!function(t){function n(){return null!==t&&t.apply(this,arguments)||this}i(n,t)}(t);export{t as OrderAddressRegionInputData};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class OrderAttributeValueData {
|
|
3
|
+
orderAttributeId: string | null;
|
|
4
|
+
orderAttributeOptionId: string | null;
|
|
5
|
+
value: string | null;
|
|
6
|
+
constructor(data?: Partial<OrderAttributeValueData>);
|
|
7
|
+
}
|
|
8
|
+
export declare class OrderAttributeValue extends OrderAttributeValueData {
|
|
9
|
+
}
|
|
10
|
+
export declare type PartialOrderAttributeValue = Partial<OrderAttributeValue>;
|
|
11
|
+
export declare type ReadOnlyOrderAttributeValue = DeepReadonly<OrderAttributeValue>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class OrderAttributeValueInputData {
|
|
3
|
+
orderAttributeId: string | null;
|
|
4
|
+
orderAttributeOptionId: string | null;
|
|
5
|
+
value: string | null;
|
|
6
|
+
constructor(data?: Partial<OrderAttributeValueInputData>);
|
|
7
|
+
}
|
|
8
|
+
export declare class OrderAttributeValueInput extends OrderAttributeValueInputData {
|
|
9
|
+
}
|
|
10
|
+
export declare type PartialOrderAttributeValueInput = Partial<OrderAttributeValueInput>;
|
|
11
|
+
export declare type ReadOnlyOrderAttributeValueInput = DeepReadonly<OrderAttributeValueInput>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__extends as t}from'./../../ext/tslib/tslib.es6.js';var i=function(t){void 0===t&&(t={}),this.orderAttributeId=t.orderAttributeId||null,this.orderAttributeOptionId=t.orderAttributeOptionId||null,this.value=t.value||null};!function(i){function r(){return null!==i&&i.apply(this,arguments)||this}t(r,i)}(i);export{i as OrderAttributeValueInputData};
|
|
@@ -11,6 +11,7 @@ export declare class OrderLineBundleVariantData {
|
|
|
11
11
|
baseUnit: OrderLineBaseUnitData | null;
|
|
12
12
|
brand: OrderLineVariantBrandData | null;
|
|
13
13
|
categories: OrderLineVariantCategoryData[] | null;
|
|
14
|
+
fileId: string | null;
|
|
14
15
|
hsCode: string | null;
|
|
15
16
|
id: string | null;
|
|
16
17
|
mainImageId: string | null;
|
|
@@ -13,6 +13,7 @@ export declare class OrderLineVariantData {
|
|
|
13
13
|
brand: OrderLineVariantBrandData | null;
|
|
14
14
|
bundleProducts: OrderLineVariantBundleProductModelData[] | null;
|
|
15
15
|
categories: OrderLineVariantCategoryData[] | null;
|
|
16
|
+
fileId: string | null;
|
|
16
17
|
hsCode: string | null;
|
|
17
18
|
id: string | null;
|
|
18
19
|
mainImageId: string | null;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
2
|
import { OrderRefundOrderLineInputData } from "./OrderRefundOrderLineInput";
|
|
3
3
|
export declare class OrderRefundRequestInputData {
|
|
4
|
+
email: string | null;
|
|
4
5
|
orderId: string;
|
|
5
6
|
orderLineItems: OrderRefundOrderLineInputData[];
|
|
6
7
|
reason: string | null;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
import BaseModelData from "./_base";
|
|
3
|
+
export declare class ProductFileData extends BaseModelData {
|
|
4
|
+
name: string;
|
|
5
|
+
productId: string;
|
|
6
|
+
variantId: string;
|
|
7
|
+
constructor(data?: Partial<ProductFileData>);
|
|
8
|
+
}
|
|
9
|
+
export declare class ProductFile extends ProductFileData {
|
|
10
|
+
}
|
|
11
|
+
export declare type PartialProductFile = Partial<ProductFile>;
|
|
12
|
+
export declare type ReadOnlyProductFile = DeepReadonly<ProductFile>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DeepReadonly } from "ts-essentials";
|
|
2
|
+
export declare class ProductUnitTranslationData {
|
|
3
|
+
description: string | null;
|
|
4
|
+
locale: string;
|
|
5
|
+
name: string | null;
|
|
6
|
+
constructor(data?: Partial<ProductUnitTranslationData>);
|
|
7
|
+
}
|
|
8
|
+
export declare class ProductUnitTranslation extends ProductUnitTranslationData {
|
|
9
|
+
}
|
|
10
|
+
export declare type PartialProductUnitTranslation = Partial<ProductUnitTranslation>;
|
|
11
|
+
export declare type ReadOnlyProductUnitTranslation = DeepReadonly<ProductUnitTranslation>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { DeepReadonly } from "ts-essentials";
|
|
2
2
|
import BaseModelData from "./_base";
|
|
3
|
+
import { OrderAttributeValueInputData } from "./OrderAttributeValueInput";
|
|
3
4
|
import { OrderAddressInputData } from "./OrderAddressInput";
|
|
4
5
|
import { CheckoutCustomerInputData } from "./CheckoutCustomerInput";
|
|
5
6
|
export declare class SaveCartInputData extends BaseModelData {
|
|
7
|
+
attributes: OrderAttributeValueInputData[] | null;
|
|
6
8
|
billingAddress: OrderAddressInputData | null;
|
|
7
9
|
couponCode: string | null;
|
|
8
10
|
customer: CheckoutCustomerInputData | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__extends as
|
|
1
|
+
import{__extends as t}from'./../../ext/tslib/tslib.es6.js';import i from"./_base.js";import{OrderAttributeValueInputData as n}from"./OrderAttributeValueInput.js";import{OrderAddressInputData as e}from"./OrderAddressInput.js";import{CheckoutCustomerInputData as s}from"./CheckoutCustomerInput.js";var o=function(i){function o(t){void 0===t&&(t={});var o=i.call(this,t)||this;return o.attributes=t.attributes?t.attributes.map((function(t){return new n(t)})):null,o.billingAddress=t.billingAddress?new e(t.billingAddress):null,o.couponCode=t.couponCode||null,o.customer=t.customer?new s(t.customer):null,o.giftPackageNote=t.giftPackageNote||null,o.isGiftPackage=void 0!==t.isGiftPackage&&null!==t.isGiftPackage?t.isGiftPackage:null,o.note=t.note||null,o.shippingAddress=t.shippingAddress?new e(t.shippingAddress):null,o.shippingSettingsId=t.shippingSettingsId||null,o.shippingZoneRateId=t.shippingZoneRateId||null,o.stockLocationId=t.stockLocationId||null,o}return t(o,i),o}(i),r=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return t(n,i),n}(o);export{r as SaveCartInput,o as SaveCartInputData};
|