@wix/auto_sdk_ecom_draft-orders 1.0.11 → 1.0.13
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/cjs/src/ecom-v1-draft-order-draft-orders.context.d.ts +2 -2
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.context.js +5 -1
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.context.js.map +1 -1
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.public.d.ts +1 -1
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.public.js +5 -1
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.public.js.map +1 -1
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.types.d.ts +50 -1
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.types.js +28 -1
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.types.js.map +1 -1
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.universal.d.ts +45 -1
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.universal.js +29 -1
- package/build/cjs/src/ecom-v1-draft-order-draft-orders.universal.js.map +1 -1
- package/build/es/src/ecom-v1-draft-order-draft-orders.context.d.ts +2 -2
- package/build/es/src/ecom-v1-draft-order-draft-orders.context.js +1 -1
- package/build/es/src/ecom-v1-draft-order-draft-orders.context.js.map +1 -1
- package/build/es/src/ecom-v1-draft-order-draft-orders.public.d.ts +1 -1
- package/build/es/src/ecom-v1-draft-order-draft-orders.public.js +1 -1
- package/build/es/src/ecom-v1-draft-order-draft-orders.public.js.map +1 -1
- package/build/es/src/ecom-v1-draft-order-draft-orders.types.d.ts +50 -1
- package/build/es/src/ecom-v1-draft-order-draft-orders.types.js +27 -0
- package/build/es/src/ecom-v1-draft-order-draft-orders.types.js.map +1 -1
- package/build/es/src/ecom-v1-draft-order-draft-orders.universal.d.ts +45 -1
- package/build/es/src/ecom-v1-draft-order-draft-orders.universal.js +27 -0
- package/build/es/src/ecom-v1-draft-order-draft-orders.universal.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.context.d.ts +2 -2
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.context.js +5 -1
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.context.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.public.d.ts +1 -1
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.public.js +5 -1
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.public.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.types.d.ts +61 -1
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.types.js +28 -1
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.types.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.universal.d.ts +61 -1
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.universal.js +29 -1
- package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.universal.js.map +1 -1
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.context.d.ts +2 -2
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.context.js +1 -1
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.context.js.map +1 -1
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.public.d.ts +1 -1
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.public.js +1 -1
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.public.js.map +1 -1
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.types.d.ts +61 -1
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.types.js +27 -0
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.types.js.map +1 -1
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.universal.d.ts +61 -1
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.universal.js +27 -0
- package/build/internal/es/src/ecom-v1-draft-order-draft-orders.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -21,5 +21,5 @@ export declare const createOrderFromDraft: MaybeContext<BuildRESTFunction<typeof
|
|
|
21
21
|
export declare const deleteDraftOrder: MaybeContext<BuildRESTFunction<typeof publicDeleteDraftOrder> & typeof publicDeleteDraftOrder>;
|
|
22
22
|
export declare const queryDraftOrders: MaybeContext<BuildRESTFunction<typeof publicQueryDraftOrders> & typeof publicQueryDraftOrders>;
|
|
23
23
|
export declare const setTaxExemption: MaybeContext<BuildRESTFunction<typeof publicSetTaxExemption> & typeof publicSetTaxExemption>;
|
|
24
|
-
export { DescriptionLineType, ItemTypeItemType, PaymentOptionType, JurisdictionType, SubscriptionFrequency, TaxableAddressType, VatType, PickupDetailsPickupMethod, SourceType, AppliedDiscountDiscountType, DiscountReason, EditingStatus, WeightUnit, PickupMethod, RuleType, FileType, DiscountType, NonDraftableReason, PaymentStatus, FulfillmentStatus, OrderStatus, LineItemQuantityChangeType, ActivityType, AttributionSource, ChannelType, SortOrder, WebhookIdentityType, } from './ecom-v1-draft-order-draft-orders.universal.js';
|
|
25
|
-
export { DraftOrder, ItemDetails, ItemDetailsChangeTypeOneOf, Price, PriceDescription, OrderLineItem, ProductName, CatalogReference, DescriptionLine, DescriptionLineValueOneOf, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, PlainTextValue, Color, FocalPoint, PhysicalProperties, ItemType, ItemTypeItemTypeDataOneOf, ItemTaxFullDetails, LineItemTaxInfo, LineItemTaxBreakdown, DigitalFile, SubscriptionInfo, SubscriptionTitle, SubscriptionDescription, SubscriptionSettings, FreeTrialPeriod, LocationAndQuantity, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, ExtendedFields, ItemChangedDetails, ShippingDetails, ShippingDetailsChangeTypeOneOf, V1ShippingInformation, V1DeliveryLogistics, V1DeliveryLogisticsAddressOneOf, AddressWithContact, Address, StreetAddress, AddressLocation, FullAddressContactDetails, VatId, V1PickupDetails, PickupAddress, V1DeliveryTimeSlot, V1ShippingPrice, ShippingRegion, ShippingChangedDetails, BuyerInfo, BuyerInfoIdOneOf, AdditionalFeeDetails, AdditionalFee, TaxDetails, DiscountDetails, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, Coupon, MerchantDiscount, MerchantDiscountMerchantDiscountReasonOneOf, DiscountRule, DiscountRuleName, LineItemDiscount, CreatedBy, CreatedByStringOneOf, PriceSummary, TaxSummary, BalanceSummary, Balance, DraftOrderCommitSettings, InventoryUpdate, RecipientInfoDetails, RecipientInfoDetailsChangeTypeOneOf, RecipientInfoChangedDetails, OrderTaxInfo, OrderTaxBreakdown, BuyerDetails, BuyerDetailsChangeTypeOneOf, BuyerChangedDetails, BillingDetails, BillingDetailsChangeTypeOneOf, BillingChangedDetails, BusinessLocationDetails, BusinessLocationDetailsChangeTypeOneOf, Location, BusinessLocationChangedDetails, CreateDraftOrderRequest, CreateDraftOrderResponse, CalculatedDraftOrder, ShippingOption, DeliveryLogistics, PickupDetails, DeliveryTimeSlot, ShippingPrice, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Details, DetailsKindOneOf, ApplicationError, ValidationError, FieldViolation, SystemError, CarrierErrors, CarrierError, CreateEmptyDraftOrderRequest, CreateEmptyDraftOrderResponse, AddLineItemsToDraftOrderRequest, CatalogReferenceLineItem, CustomLineItem, SecuredMedia, AddLineItemsToDraftOrderResponse, UpdateLineItemsRequest, LineItemChangeDetails, UpdateLineItemsResponse, SetDiscountsRequest, IdAndApplied, SetDiscountsResponse, CreateCustomDiscountsRequest, DiscountOption, DiscountOptionDiscountAmountOneOf, CreateCustomDiscountsResponse, DeleteCustomDiscountsRequest, DeleteCustomDiscountsResponse, SetAdditionalFeesRequest, SetAdditionalFeesResponse, CreateCustomAdditionalFeesRequest, AdditionalFeeOption, CreateCustomAdditionalFeesResponse, DeleteCustomAdditionalFeesRequest, DeleteCustomAdditionalFeesResponse, SetShippingInfoRequest, SetShippingInfoResponse, SetBuyerInfoRequest, SetBuyerInfoResponse, SetRecipientInfoRequest, SetRecipientInfoResponse, SetBillingInfoRequest, SetBillingInfoResponse, UpdateShippingInfoRequest, UpdateShippingInfoResponse, GetDraftOrderRequest, GetDraftOrderResponse, GetOrderDraftabilityStatusRequest, GetOrderDraftabilityStatusResponse, CommitDraftOrderRequest, CommitDraftOrderResponse, Order, CurrencyConversionDetails, Activity, ActivityContentOneOf, CustomActivity, MerchantComment, OrderRefunded, OrderCreatedFromExchange, NewExchangeOrderCreated, LineItemExchangeData, DraftOrderChangesApplied, OrderChange, OrderChangeValueOneOf, LineItemChanges, LineItemQuantityChange, LineItemPriceChange, ManagedLineItem, ManagedDiscount, TranslatedValue, LineItemAmount, ManagedAdditionalFee, TotalPriceChange, ShippingInformationChange, ShippingInformation, SavedPaymentMethod, AuthorizedPaymentCreated, AuthorizedPaymentCaptured, AuthorizedPaymentVoided, RefundInitiated, RefundedPayment, RefundedPaymentKindOneOf, RegularPaymentRefund, GiftCardPaymentRefund, MembershipPaymentRefund, PaymentRefunded, PaymentRefundFailed, RefundedAsStoreCredit, PaymentPending, PaymentPendingPaymentDetailsOneOf, RegularPayment, RegularPaymentPaymentMethodDetailsOneOf, CreditCardDetails, PaymentCanceled, PaymentCanceledPaymentDetailsOneOf, PaymentDeclined, PaymentDeclinedPaymentDetailsOneOf, ReceiptCreated, ReceiptCreatedReceiptInfoOneOf, WixReceipt, ExternalReceipt, ReceiptSent, ReceiptSentReceiptInfoOneOf, V1CreatedBy, V1CreatedByStringOneOf, ChannelInfo, CustomField, V1BalanceSummary, FulfillmentStatusesAggregate, Tags, TagList, CreateOrderFromDraftRequest, OrderCreateSettings, OrderCreateNotifications, CreateOrderFromDraftResponse, DeleteDraftOrderRequest, DeleteDraftOrderResponse, QueryDraftOrdersRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryDraftOrdersResponse, CursorPagingMetadata, Cursors, UpdateExtendedFieldsRequest, UpdateExtendedFieldsResponse, SetTaxExemptionRequest, SetTaxExemptionResponse, GetDraftEditabilityStatusRequest, GetDraftEditabilityStatusResponse, SetBusinessLocationRequest, SetBusinessLocationResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, CreateDraftOrderResponseNonNullableFields, CreateEmptyDraftOrderResponseNonNullableFields, AddLineItemsToDraftOrderResponseNonNullableFields, UpdateLineItemsResponseNonNullableFields, SetDiscountsResponseNonNullableFields, CreateCustomDiscountsResponseNonNullableFields, DeleteCustomDiscountsResponseNonNullableFields, SetAdditionalFeesResponseNonNullableFields, CreateCustomAdditionalFeesResponseNonNullableFields, DeleteCustomAdditionalFeesResponseNonNullableFields, SetShippingInfoResponseNonNullableFields, SetBuyerInfoResponseNonNullableFields, SetRecipientInfoResponseNonNullableFields, SetBillingInfoResponseNonNullableFields, GetDraftOrderResponseNonNullableFields, GetOrderDraftabilityStatusResponseNonNullableFields, CommitDraftOrderResponseNonNullableFields, CreateOrderFromDraftResponseNonNullableFields, QueryDraftOrdersResponseNonNullableFields, SetTaxExemptionResponseNonNullableFields, SetBusinessLocationResponseNonNullableFields, AddLineItemsToDraftOrderOptions, UpdateLineItemsOptions, CreateCustomDiscountsOptions, CreateCustomAdditionalFeesOptions, CommitDraftOrderOptions, DraftOrdersQueryResult, DraftOrdersQueryBuilder, } from './ecom-v1-draft-order-draft-orders.universal.js';
|
|
24
|
+
export { DescriptionLineType, TextDetection, AnimationDetection, ItemTypeItemType, PaymentOptionType, JurisdictionType, SubscriptionFrequency, AdjustmentType, TaxableAddressType, VatType, PickupDetailsPickupMethod, SourceType, AppliedDiscountDiscountType, DiscountReason, EditingStatus, WeightUnit, PickupMethod, RuleType, FileType, DiscountType, NonDraftableReason, PaymentStatus, FulfillmentStatus, OrderStatus, LineItemQuantityChangeType, ActivityType, AttributionSource, ChannelType, SortOrder, WebhookIdentityType, } from './ecom-v1-draft-order-draft-orders.universal.js';
|
|
25
|
+
export { DraftOrder, ItemDetails, ItemDetailsChangeTypeOneOf, Price, PriceDescription, OrderLineItem, ProductName, CatalogReference, DescriptionLine, DescriptionLineValueOneOf, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, PlainTextValue, Color, FocalPoint, ImageContent, PhysicalProperties, ItemType, ItemTypeItemTypeDataOneOf, ItemTaxFullDetails, LineItemTaxInfo, LineItemTaxBreakdown, DigitalFile, SubscriptionInfo, SubscriptionTitle, SubscriptionDescription, SubscriptionSettings, FreeTrialPeriod, BillingAdjustment, BillingAdjustmentPriceSummary, LocationAndQuantity, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, ExtendedFields, ItemChangedDetails, ShippingDetails, ShippingDetailsChangeTypeOneOf, V1ShippingInformation, V1DeliveryLogistics, V1DeliveryLogisticsAddressOneOf, AddressWithContact, Address, StreetAddress, AddressLocation, FullAddressContactDetails, VatId, V1PickupDetails, PickupAddress, V1DeliveryTimeSlot, V1ShippingPrice, ShippingRegion, ShippingChangedDetails, BuyerInfo, BuyerInfoIdOneOf, AdditionalFeeDetails, AdditionalFee, TaxDetails, DiscountDetails, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, Coupon, MerchantDiscount, MerchantDiscountMerchantDiscountReasonOneOf, DiscountRule, DiscountRuleName, LineItemDiscount, CreatedBy, CreatedByStringOneOf, PriceSummary, TaxSummary, BalanceSummary, Balance, DraftOrderCommitSettings, InventoryUpdate, RecipientInfoDetails, RecipientInfoDetailsChangeTypeOneOf, RecipientInfoChangedDetails, OrderTaxInfo, OrderTaxBreakdown, BuyerDetails, BuyerDetailsChangeTypeOneOf, BuyerChangedDetails, BillingDetails, BillingDetailsChangeTypeOneOf, BillingChangedDetails, BusinessLocationDetails, BusinessLocationDetailsChangeTypeOneOf, Location, BusinessLocationChangedDetails, CreateDraftOrderRequest, CreateDraftOrderResponse, CalculatedDraftOrder, ShippingOption, DeliveryLogistics, PickupDetails, DeliveryTimeSlot, ShippingPrice, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Details, DetailsKindOneOf, ApplicationError, ValidationError, FieldViolation, SystemError, CarrierErrors, CarrierError, CreateEmptyDraftOrderRequest, CreateEmptyDraftOrderResponse, AddLineItemsToDraftOrderRequest, CatalogReferenceLineItem, CustomLineItem, SecuredMedia, AddLineItemsToDraftOrderResponse, UpdateLineItemsRequest, LineItemChangeDetails, UpdateLineItemsResponse, SetDiscountsRequest, IdAndApplied, SetDiscountsResponse, CreateCustomDiscountsRequest, DiscountOption, DiscountOptionDiscountAmountOneOf, CreateCustomDiscountsResponse, DeleteCustomDiscountsRequest, DeleteCustomDiscountsResponse, SetAdditionalFeesRequest, SetAdditionalFeesResponse, CreateCustomAdditionalFeesRequest, AdditionalFeeOption, CreateCustomAdditionalFeesResponse, DeleteCustomAdditionalFeesRequest, DeleteCustomAdditionalFeesResponse, SetShippingInfoRequest, SetShippingInfoResponse, SetBuyerInfoRequest, SetBuyerInfoResponse, SetRecipientInfoRequest, SetRecipientInfoResponse, SetBillingInfoRequest, SetBillingInfoResponse, UpdateShippingInfoRequest, UpdateShippingInfoResponse, GetDraftOrderRequest, GetDraftOrderResponse, GetOrderDraftabilityStatusRequest, GetOrderDraftabilityStatusResponse, CommitDraftOrderRequest, CommitDraftOrderResponse, Order, CurrencyConversionDetails, Activity, ActivityContentOneOf, CustomActivity, MerchantComment, OrderRefunded, OrderCreatedFromExchange, NewExchangeOrderCreated, LineItemExchangeData, DraftOrderChangesApplied, OrderChange, OrderChangeValueOneOf, LineItemChanges, LineItemQuantityChange, LineItemPriceChange, ManagedLineItem, ManagedDiscount, TranslatedValue, LineItemAmount, ManagedAdditionalFee, TotalPriceChange, ShippingInformationChange, ShippingInformation, SavedPaymentMethod, AuthorizedPaymentCreated, AuthorizedPaymentCaptured, AuthorizedPaymentVoided, RefundInitiated, RefundedPayment, RefundedPaymentKindOneOf, RegularPaymentRefund, GiftCardPaymentRefund, MembershipPaymentRefund, PaymentRefunded, PaymentRefundFailed, RefundedAsStoreCredit, PaymentPending, PaymentPendingPaymentDetailsOneOf, RegularPayment, RegularPaymentPaymentMethodDetailsOneOf, CreditCardDetails, PaymentCanceled, PaymentCanceledPaymentDetailsOneOf, PaymentDeclined, PaymentDeclinedPaymentDetailsOneOf, ReceiptCreated, ReceiptCreatedReceiptInfoOneOf, WixReceipt, ExternalReceipt, ReceiptSent, ReceiptSentReceiptInfoOneOf, V1CreatedBy, V1CreatedByStringOneOf, ChannelInfo, CustomField, V1BalanceSummary, FulfillmentStatusesAggregate, Tags, TagList, CreateOrderFromDraftRequest, OrderCreateSettings, OrderCreateNotifications, CreateOrderFromDraftResponse, DeleteDraftOrderRequest, DeleteDraftOrderResponse, QueryDraftOrdersRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryDraftOrdersResponse, CursorPagingMetadata, Cursors, UpdateExtendedFieldsRequest, UpdateExtendedFieldsResponse, SetTaxExemptionRequest, SetTaxExemptionResponse, GetDraftEditabilityStatusRequest, GetDraftEditabilityStatusResponse, SetBusinessLocationRequest, SetBusinessLocationResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, CreateDraftOrderResponseNonNullableFields, CreateEmptyDraftOrderResponseNonNullableFields, AddLineItemsToDraftOrderResponseNonNullableFields, UpdateLineItemsResponseNonNullableFields, SetDiscountsResponseNonNullableFields, CreateCustomDiscountsResponseNonNullableFields, DeleteCustomDiscountsResponseNonNullableFields, SetAdditionalFeesResponseNonNullableFields, CreateCustomAdditionalFeesResponseNonNullableFields, DeleteCustomAdditionalFeesResponseNonNullableFields, SetShippingInfoResponseNonNullableFields, SetBuyerInfoResponseNonNullableFields, SetRecipientInfoResponseNonNullableFields, SetBillingInfoResponseNonNullableFields, GetDraftOrderResponseNonNullableFields, GetOrderDraftabilityStatusResponseNonNullableFields, CommitDraftOrderResponseNonNullableFields, CreateOrderFromDraftResponseNonNullableFields, QueryDraftOrdersResponseNonNullableFields, SetTaxExemptionResponseNonNullableFields, SetBusinessLocationResponseNonNullableFields, AddLineItemsToDraftOrderOptions, UpdateLineItemsOptions, CreateCustomDiscountsOptions, CreateCustomAdditionalFeesOptions, CommitDraftOrderOptions, DraftOrdersQueryResult, DraftOrdersQueryBuilder, } from './ecom-v1-draft-order-draft-orders.universal.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ChannelType = exports.AttributionSource = exports.ActivityType = exports.LineItemQuantityChangeType = exports.OrderStatus = exports.FulfillmentStatus = exports.PaymentStatus = exports.NonDraftableReason = exports.DiscountType = exports.FileType = exports.RuleType = exports.PickupMethod = exports.WeightUnit = exports.EditingStatus = exports.DiscountReason = exports.AppliedDiscountDiscountType = exports.SourceType = exports.PickupDetailsPickupMethod = exports.VatType = exports.TaxableAddressType = exports.AdjustmentType = exports.SubscriptionFrequency = exports.JurisdictionType = exports.PaymentOptionType = exports.ItemTypeItemType = exports.AnimationDetection = exports.TextDetection = exports.DescriptionLineType = exports.setBusinessLocation = exports.setTaxExemption = exports.queryDraftOrders = exports.deleteDraftOrder = exports.createOrderFromDraft = exports.commitDraftOrder = exports.getOrderDraftabilityStatus = exports.getDraftOrder = exports.setBillingInfo = exports.setRecipientInfo = exports.setBuyerInfo = exports.setShippingInfo = exports.deleteCustomAdditionalFees = exports.createCustomAdditionalFees = exports.setAdditionalFees = exports.deleteCustomDiscounts = exports.createCustomDiscounts = exports.setDiscounts = exports.updateLineItems = exports.addLineItemsToDraftOrder = exports.createEmptyDraftOrder = exports.createDraftOrder = void 0;
|
|
4
|
+
exports.WebhookIdentityType = exports.SortOrder = void 0;
|
|
4
5
|
const ecom_v1_draft_order_draft_orders_public_js_1 = require("./ecom-v1-draft-order-draft-orders.public.js");
|
|
5
6
|
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
6
7
|
exports.createDraftOrder = (0, rest_modules_1.createRESTModule)(ecom_v1_draft_order_draft_orders_public_js_1.createDraftOrder);
|
|
@@ -28,10 +29,13 @@ exports.setTaxExemption = (0, rest_modules_1.createRESTModule)(ecom_v1_draft_ord
|
|
|
28
29
|
exports.setBusinessLocation = (0, rest_modules_1.createRESTModule)(ecom_v1_draft_order_draft_orders_public_js_1.setBusinessLocation);
|
|
29
30
|
var ecom_v1_draft_order_draft_orders_universal_js_1 = require("./ecom-v1-draft-order-draft-orders.universal.js");
|
|
30
31
|
Object.defineProperty(exports, "DescriptionLineType", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_1.DescriptionLineType; } });
|
|
32
|
+
Object.defineProperty(exports, "TextDetection", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_1.TextDetection; } });
|
|
33
|
+
Object.defineProperty(exports, "AnimationDetection", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_1.AnimationDetection; } });
|
|
31
34
|
Object.defineProperty(exports, "ItemTypeItemType", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_1.ItemTypeItemType; } });
|
|
32
35
|
Object.defineProperty(exports, "PaymentOptionType", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_1.PaymentOptionType; } });
|
|
33
36
|
Object.defineProperty(exports, "JurisdictionType", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_1.JurisdictionType; } });
|
|
34
37
|
Object.defineProperty(exports, "SubscriptionFrequency", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_1.SubscriptionFrequency; } });
|
|
38
|
+
Object.defineProperty(exports, "AdjustmentType", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_1.AdjustmentType; } });
|
|
35
39
|
Object.defineProperty(exports, "TaxableAddressType", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_1.TaxableAddressType; } });
|
|
36
40
|
Object.defineProperty(exports, "VatType", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_1.VatType; } });
|
|
37
41
|
Object.defineProperty(exports, "PickupDetailsPickupMethod", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_1.PickupDetailsPickupMethod; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-draft-order-draft-orders.context.js","sourceRoot":"","sources":["../../../src/ecom-v1-draft-order-draft-orders.context.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ecom-v1-draft-order-draft-orders.context.js","sourceRoot":"","sources":["../../../src/ecom-v1-draft-order-draft-orders.context.ts"],"names":[],"mappings":";;;;AAAA,6GAuBsD;AACtD,gEAAiE;AAGpD,QAAA,gBAAgB,GAGX,IAAA,+BAAgB,EAAC,6DAAsB,CAAC,CAAC;AAC9C,QAAA,qBAAqB,GAGhB,IAAA,+BAAgB,EAAC,kEAA2B,CAAC,CAAC;AACnD,QAAA,wBAAwB,GAGnB,IAAA,+BAAgB,EAAC,qEAA8B,CAAC,CAAC;AACtD,QAAA,eAAe,GAEV,IAAA,+BAAgB,EAAC,4DAAqB,CAAC,CAAC;AAC7C,QAAA,YAAY,GAEP,IAAA,+BAAgB,EAAC,yDAAkB,CAAC,CAAC;AAC1C,QAAA,qBAAqB,GAGhB,IAAA,+BAAgB,EAAC,kEAA2B,CAAC,CAAC;AACnD,QAAA,qBAAqB,GAGhB,IAAA,+BAAgB,EAAC,kEAA2B,CAAC,CAAC;AACnD,QAAA,iBAAiB,GAGZ,IAAA,+BAAgB,EAAC,8DAAuB,CAAC,CAAC;AAC/C,QAAA,0BAA0B,GAGrB,IAAA,+BAAgB,EAAC,uEAAgC,CAAC,CAAC;AACxD,QAAA,0BAA0B,GAGrB,IAAA,+BAAgB,EAAC,uEAAgC,CAAC,CAAC;AACxD,QAAA,eAAe,GAEV,IAAA,+BAAgB,EAAC,4DAAqB,CAAC,CAAC;AAC7C,QAAA,YA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,yIAAA,QAAQ,OAAA;AACR,6IAAA,YAAY,OAAA;AACZ,mJAAA,kBAAkB,OAAA;AAClB,8IAAA,aAAa,OAAA;AACb,kJAAA,iBAAiB,OAAA;AACjB,4IAAA,WAAW,OAAA;AACX,2JAAA,0BAA0B,OAAA;AAC1B,6IAAA,YAAY,OAAA;AACZ,kJAAA,iBAAiB,OAAA;AACjB,4IAAA,WAAW,OAAA;AACX,0IAAA,SAAS,OAAA;AACT,oJAAA,mBAAmB,OAAA"}
|
|
@@ -199,4 +199,4 @@ interface SetTaxExemptionSignature {
|
|
|
199
199
|
*/
|
|
200
200
|
(): Promise<void>;
|
|
201
201
|
}
|
|
202
|
-
export { ActionEvent, Activity, ActivityContentOneOf, ActivityType, AddLineItemsToDraftOrderOptions, AddLineItemsToDraftOrderRequest, AddLineItemsToDraftOrderResponse, AddLineItemsToDraftOrderResponseNonNullableFields, AdditionalFee, AdditionalFeeDetails, AdditionalFeeOption, Address, AddressLocation, AddressWithContact, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, AttributionSource, AuthorizedPaymentCaptured, AuthorizedPaymentCreated, AuthorizedPaymentVoided, Balance, BalanceSummary, BillingChangedDetails, BillingDetails, BillingDetailsChangeTypeOneOf, BusinessLocationChangedDetails, BusinessLocationDetails, BusinessLocationDetailsChangeTypeOneOf, BuyerChangedDetails, BuyerDetails, BuyerDetailsChangeTypeOneOf, BuyerInfo, BuyerInfoIdOneOf, CalculatedDraftOrder, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, CarrierError, CarrierErrors, CatalogReference, CatalogReferenceLineItem, ChannelInfo, ChannelType, Color, CommitDraftOrderOptions, CommitDraftOrderRequest, CommitDraftOrderResponse, CommitDraftOrderResponseNonNullableFields, Coupon, CreateCustomAdditionalFeesOptions, CreateCustomAdditionalFeesRequest, CreateCustomAdditionalFeesResponse, CreateCustomAdditionalFeesResponseNonNullableFields, CreateCustomDiscountsOptions, CreateCustomDiscountsRequest, CreateCustomDiscountsResponse, CreateCustomDiscountsResponseNonNullableFields, CreateDraftOrderRequest, CreateDraftOrderResponse, CreateDraftOrderResponseNonNullableFields, CreateEmptyDraftOrderRequest, CreateEmptyDraftOrderResponse, CreateEmptyDraftOrderResponseNonNullableFields, CreateOrderFromDraftRequest, CreateOrderFromDraftResponse, CreateOrderFromDraftResponseNonNullableFields, CreatedBy, CreatedByStringOneOf, CreditCardDetails, CurrencyConversionDetails, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomActivity, CustomField, CustomLineItem, DeleteCustomAdditionalFeesRequest, DeleteCustomAdditionalFeesResponse, DeleteCustomAdditionalFeesResponseNonNullableFields, DeleteCustomDiscountsRequest, DeleteCustomDiscountsResponse, DeleteCustomDiscountsResponseNonNullableFields, DeleteDraftOrderRequest, DeleteDraftOrderResponse, DeliveryLogistics, DeliveryTimeSlot, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineValueOneOf, Details, DetailsKindOneOf, DigitalFile, DiscountDetails, DiscountOption, DiscountOptionDiscountAmountOneOf, DiscountReason, DiscountRule, DiscountRuleName, DiscountType, DomainEvent, DomainEventBodyOneOf, DraftOrder, DraftOrderChangesApplied, DraftOrderCommitSettings, DraftOrdersQueryBuilder, DraftOrdersQueryResult, EditingStatus, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, ExternalReceipt, FieldViolation, FileType, FocalPoint, FreeTrialPeriod, FulfillmentStatus, FulfillmentStatusesAggregate, FullAddressContactDetails, GetDraftEditabilityStatusRequest, GetDraftEditabilityStatusResponse, GetDraftOrderRequest, GetDraftOrderResponse, GetDraftOrderResponseNonNullableFields, GetOrderDraftabilityStatusRequest, GetOrderDraftabilityStatusResponse, GetOrderDraftabilityStatusResponseNonNullableFields, GiftCardPaymentRefund, IdAndApplied, IdentificationData, IdentificationDataIdOneOf, InventoryUpdate, ItemChangedDetails, ItemDetails, ItemDetailsChangeTypeOneOf, ItemTaxFullDetails, ItemType, ItemTypeItemType, ItemTypeItemTypeDataOneOf, JurisdictionType, LineItemAmount, LineItemChangeDetails, LineItemChanges, LineItemDiscount, LineItemExchangeData, LineItemPriceChange, LineItemQuantityChange, LineItemQuantityChangeType, LineItemTaxBreakdown, LineItemTaxInfo, Location, LocationAndQuantity, ManagedAdditionalFee, ManagedDiscount, ManagedLineItem, MembershipPaymentRefund, MerchantComment, MerchantDiscount, MerchantDiscountMerchantDiscountReasonOneOf, MessageEnvelope, NewExchangeOrderCreated, NonDraftableReason, Order, OrderChange, OrderChangeValueOneOf, OrderCreateNotifications, OrderCreateSettings, OrderCreatedFromExchange, OrderLineItem, OrderRefunded, OrderStatus, OrderTaxBreakdown, OrderTaxInfo, PaymentCanceled, PaymentCanceledPaymentDetailsOneOf, PaymentDeclined, PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType, PaymentPending, PaymentPendingPaymentDetailsOneOf, PaymentRefundFailed, PaymentRefunded, PaymentStatus, PhysicalProperties, PickupAddress, PickupDetails, PickupDetailsPickupMethod, PickupMethod, PlainTextValue, Price, PriceDescription, PriceSummary, ProductName, QueryDraftOrdersRequest, QueryDraftOrdersResponse, QueryDraftOrdersResponseNonNullableFields, ReceiptCreated, ReceiptCreatedReceiptInfoOneOf, ReceiptSent, ReceiptSentReceiptInfoOneOf, RecipientInfoChangedDetails, RecipientInfoDetails, RecipientInfoDetailsChangeTypeOneOf, RefundInitiated, RefundedAsStoreCredit, RefundedPayment, RefundedPaymentKindOneOf, RegularPayment, RegularPaymentPaymentMethodDetailsOneOf, RegularPaymentRefund, RestoreInfo, RuleType, SavedPaymentMethod, SecuredMedia, SetAdditionalFeesRequest, SetAdditionalFeesResponse, SetAdditionalFeesResponseNonNullableFields, SetBillingInfoRequest, SetBillingInfoResponse, SetBillingInfoResponseNonNullableFields, SetBusinessLocationRequest, SetBusinessLocationResponse, SetBusinessLocationResponseNonNullableFields, SetBuyerInfoRequest, SetBuyerInfoResponse, SetBuyerInfoResponseNonNullableFields, SetDiscountsRequest, SetDiscountsResponse, SetDiscountsResponseNonNullableFields, SetRecipientInfoRequest, SetRecipientInfoResponse, SetRecipientInfoResponseNonNullableFields, SetShippingInfoRequest, SetShippingInfoResponse, SetShippingInfoResponseNonNullableFields, SetTaxExemptionRequest, SetTaxExemptionResponse, SetTaxExemptionResponseNonNullableFields, ShippingChangedDetails, ShippingDetails, ShippingDetailsChangeTypeOneOf, ShippingInformation, ShippingInformationChange, ShippingOption, ShippingPrice, ShippingRegion, SortOrder, Sorting, SourceType, StreetAddress, SubscriptionDescription, SubscriptionFrequency, SubscriptionInfo, SubscriptionSettings, SubscriptionTitle, SystemError, TagList, Tags, TaxDetails, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TotalPriceChange, TranslatedValue, UpdateExtendedFieldsRequest, UpdateExtendedFieldsResponse, UpdateLineItemsOptions, UpdateLineItemsRequest, UpdateLineItemsResponse, UpdateLineItemsResponseNonNullableFields, UpdateShippingInfoRequest, UpdateShippingInfoResponse, V1BalanceSummary, V1CreatedBy, V1CreatedByStringOneOf, V1DeliveryLogistics, V1DeliveryLogisticsAddressOneOf, V1DeliveryTimeSlot, V1PickupDetails, V1ShippingInformation, V1ShippingPrice, ValidationError, VatId, VatType, WebhookIdentityType, WeightUnit, WixReceipt, } from './ecom-v1-draft-order-draft-orders.universal.js';
|
|
202
|
+
export { ActionEvent, Activity, ActivityContentOneOf, ActivityType, AddLineItemsToDraftOrderOptions, AddLineItemsToDraftOrderRequest, AddLineItemsToDraftOrderResponse, AddLineItemsToDraftOrderResponseNonNullableFields, AdditionalFee, AdditionalFeeDetails, AdditionalFeeOption, Address, AddressLocation, AddressWithContact, AdjustmentType, AnimationDetection, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, AttributionSource, AuthorizedPaymentCaptured, AuthorizedPaymentCreated, AuthorizedPaymentVoided, Balance, BalanceSummary, BillingAdjustment, BillingAdjustmentPriceSummary, BillingChangedDetails, BillingDetails, BillingDetailsChangeTypeOneOf, BusinessLocationChangedDetails, BusinessLocationDetails, BusinessLocationDetailsChangeTypeOneOf, BuyerChangedDetails, BuyerDetails, BuyerDetailsChangeTypeOneOf, BuyerInfo, BuyerInfoIdOneOf, CalculatedDraftOrder, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, CarrierError, CarrierErrors, CatalogReference, CatalogReferenceLineItem, ChannelInfo, ChannelType, Color, CommitDraftOrderOptions, CommitDraftOrderRequest, CommitDraftOrderResponse, CommitDraftOrderResponseNonNullableFields, Coupon, CreateCustomAdditionalFeesOptions, CreateCustomAdditionalFeesRequest, CreateCustomAdditionalFeesResponse, CreateCustomAdditionalFeesResponseNonNullableFields, CreateCustomDiscountsOptions, CreateCustomDiscountsRequest, CreateCustomDiscountsResponse, CreateCustomDiscountsResponseNonNullableFields, CreateDraftOrderRequest, CreateDraftOrderResponse, CreateDraftOrderResponseNonNullableFields, CreateEmptyDraftOrderRequest, CreateEmptyDraftOrderResponse, CreateEmptyDraftOrderResponseNonNullableFields, CreateOrderFromDraftRequest, CreateOrderFromDraftResponse, CreateOrderFromDraftResponseNonNullableFields, CreatedBy, CreatedByStringOneOf, CreditCardDetails, CurrencyConversionDetails, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomActivity, CustomField, CustomLineItem, DeleteCustomAdditionalFeesRequest, DeleteCustomAdditionalFeesResponse, DeleteCustomAdditionalFeesResponseNonNullableFields, DeleteCustomDiscountsRequest, DeleteCustomDiscountsResponse, DeleteCustomDiscountsResponseNonNullableFields, DeleteDraftOrderRequest, DeleteDraftOrderResponse, DeliveryLogistics, DeliveryTimeSlot, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineValueOneOf, Details, DetailsKindOneOf, DigitalFile, DiscountDetails, DiscountOption, DiscountOptionDiscountAmountOneOf, DiscountReason, DiscountRule, DiscountRuleName, DiscountType, DomainEvent, DomainEventBodyOneOf, DraftOrder, DraftOrderChangesApplied, DraftOrderCommitSettings, DraftOrdersQueryBuilder, DraftOrdersQueryResult, EditingStatus, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, ExternalReceipt, FieldViolation, FileType, FocalPoint, FreeTrialPeriod, FulfillmentStatus, FulfillmentStatusesAggregate, FullAddressContactDetails, GetDraftEditabilityStatusRequest, GetDraftEditabilityStatusResponse, GetDraftOrderRequest, GetDraftOrderResponse, GetDraftOrderResponseNonNullableFields, GetOrderDraftabilityStatusRequest, GetOrderDraftabilityStatusResponse, GetOrderDraftabilityStatusResponseNonNullableFields, GiftCardPaymentRefund, IdAndApplied, IdentificationData, IdentificationDataIdOneOf, ImageContent, InventoryUpdate, ItemChangedDetails, ItemDetails, ItemDetailsChangeTypeOneOf, ItemTaxFullDetails, ItemType, ItemTypeItemType, ItemTypeItemTypeDataOneOf, JurisdictionType, LineItemAmount, LineItemChangeDetails, LineItemChanges, LineItemDiscount, LineItemExchangeData, LineItemPriceChange, LineItemQuantityChange, LineItemQuantityChangeType, LineItemTaxBreakdown, LineItemTaxInfo, Location, LocationAndQuantity, ManagedAdditionalFee, ManagedDiscount, ManagedLineItem, MembershipPaymentRefund, MerchantComment, MerchantDiscount, MerchantDiscountMerchantDiscountReasonOneOf, MessageEnvelope, NewExchangeOrderCreated, NonDraftableReason, Order, OrderChange, OrderChangeValueOneOf, OrderCreateNotifications, OrderCreateSettings, OrderCreatedFromExchange, OrderLineItem, OrderRefunded, OrderStatus, OrderTaxBreakdown, OrderTaxInfo, PaymentCanceled, PaymentCanceledPaymentDetailsOneOf, PaymentDeclined, PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType, PaymentPending, PaymentPendingPaymentDetailsOneOf, PaymentRefundFailed, PaymentRefunded, PaymentStatus, PhysicalProperties, PickupAddress, PickupDetails, PickupDetailsPickupMethod, PickupMethod, PlainTextValue, Price, PriceDescription, PriceSummary, ProductName, QueryDraftOrdersRequest, QueryDraftOrdersResponse, QueryDraftOrdersResponseNonNullableFields, ReceiptCreated, ReceiptCreatedReceiptInfoOneOf, ReceiptSent, ReceiptSentReceiptInfoOneOf, RecipientInfoChangedDetails, RecipientInfoDetails, RecipientInfoDetailsChangeTypeOneOf, RefundInitiated, RefundedAsStoreCredit, RefundedPayment, RefundedPaymentKindOneOf, RegularPayment, RegularPaymentPaymentMethodDetailsOneOf, RegularPaymentRefund, RestoreInfo, RuleType, SavedPaymentMethod, SecuredMedia, SetAdditionalFeesRequest, SetAdditionalFeesResponse, SetAdditionalFeesResponseNonNullableFields, SetBillingInfoRequest, SetBillingInfoResponse, SetBillingInfoResponseNonNullableFields, SetBusinessLocationRequest, SetBusinessLocationResponse, SetBusinessLocationResponseNonNullableFields, SetBuyerInfoRequest, SetBuyerInfoResponse, SetBuyerInfoResponseNonNullableFields, SetDiscountsRequest, SetDiscountsResponse, SetDiscountsResponseNonNullableFields, SetRecipientInfoRequest, SetRecipientInfoResponse, SetRecipientInfoResponseNonNullableFields, SetShippingInfoRequest, SetShippingInfoResponse, SetShippingInfoResponseNonNullableFields, SetTaxExemptionRequest, SetTaxExemptionResponse, SetTaxExemptionResponseNonNullableFields, ShippingChangedDetails, ShippingDetails, ShippingDetailsChangeTypeOneOf, ShippingInformation, ShippingInformationChange, ShippingOption, ShippingPrice, ShippingRegion, SortOrder, Sorting, SourceType, StreetAddress, SubscriptionDescription, SubscriptionFrequency, SubscriptionInfo, SubscriptionSettings, SubscriptionTitle, SystemError, TagList, Tags, TaxDetails, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TextDetection, TotalPriceChange, TranslatedValue, UpdateExtendedFieldsRequest, UpdateExtendedFieldsResponse, UpdateLineItemsOptions, UpdateLineItemsRequest, UpdateLineItemsResponse, UpdateLineItemsResponseNonNullableFields, UpdateShippingInfoRequest, UpdateShippingInfoResponse, V1BalanceSummary, V1CreatedBy, V1CreatedByStringOneOf, V1DeliveryLogistics, V1DeliveryLogisticsAddressOneOf, V1DeliveryTimeSlot, V1PickupDetails, V1ShippingInformation, V1ShippingPrice, ValidationError, VatId, VatType, WebhookIdentityType, WeightUnit, WixReceipt, } from './ecom-v1-draft-order-draft-orders.universal.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.TextDetection = exports.TaxableAddressType = exports.SubscriptionFrequency = exports.SourceType = exports.SortOrder = exports.RuleType = exports.PickupMethod = exports.PickupDetailsPickupMethod = exports.PaymentStatus = exports.PaymentOptionType = exports.OrderStatus = exports.NonDraftableReason = exports.LineItemQuantityChangeType = exports.JurisdictionType = exports.ItemTypeItemType = exports.FulfillmentStatus = exports.FileType = exports.EditingStatus = exports.DiscountType = exports.DiscountReason = exports.DescriptionLineType = exports.ChannelType = exports.AttributionSource = exports.AppliedDiscountDiscountType = exports.AnimationDetection = exports.AdjustmentType = exports.ActivityType = exports.setBusinessLocation = exports.setTaxExemption = exports.queryDraftOrders = exports.deleteDraftOrder = exports.createOrderFromDraft = exports.commitDraftOrder = exports.getOrderDraftabilityStatus = exports.getDraftOrder = exports.setBillingInfo = exports.setRecipientInfo = exports.setBuyerInfo = exports.setShippingInfo = exports.deleteCustomAdditionalFees = exports.createCustomAdditionalFees = exports.setAdditionalFees = exports.deleteCustomDiscounts = exports.createCustomDiscounts = exports.setDiscounts = exports.updateLineItems = exports.addLineItemsToDraftOrder = exports.createEmptyDraftOrder = exports.createDraftOrder = exports.__metadata = void 0;
|
|
4
|
+
exports.WeightUnit = exports.WebhookIdentityType = exports.VatType = void 0;
|
|
4
5
|
const ecom_v1_draft_order_draft_orders_universal_js_1 = require("./ecom-v1-draft-order-draft-orders.universal.js");
|
|
5
6
|
exports.__metadata = { PACKAGE_NAME: '@wix/ecom' };
|
|
6
7
|
function createDraftOrder(httpClient) {
|
|
@@ -138,6 +139,8 @@ function setBusinessLocation(httpClient) {
|
|
|
138
139
|
exports.setBusinessLocation = setBusinessLocation;
|
|
139
140
|
var ecom_v1_draft_order_draft_orders_universal_js_2 = require("./ecom-v1-draft-order-draft-orders.universal.js");
|
|
140
141
|
Object.defineProperty(exports, "ActivityType", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_2.ActivityType; } });
|
|
142
|
+
Object.defineProperty(exports, "AdjustmentType", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_2.AdjustmentType; } });
|
|
143
|
+
Object.defineProperty(exports, "AnimationDetection", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_2.AnimationDetection; } });
|
|
141
144
|
Object.defineProperty(exports, "AppliedDiscountDiscountType", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_2.AppliedDiscountDiscountType; } });
|
|
142
145
|
Object.defineProperty(exports, "AttributionSource", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_2.AttributionSource; } });
|
|
143
146
|
Object.defineProperty(exports, "ChannelType", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_2.ChannelType; } });
|
|
@@ -161,6 +164,7 @@ Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function ()
|
|
|
161
164
|
Object.defineProperty(exports, "SourceType", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_2.SourceType; } });
|
|
162
165
|
Object.defineProperty(exports, "SubscriptionFrequency", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_2.SubscriptionFrequency; } });
|
|
163
166
|
Object.defineProperty(exports, "TaxableAddressType", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_2.TaxableAddressType; } });
|
|
167
|
+
Object.defineProperty(exports, "TextDetection", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_2.TextDetection; } });
|
|
164
168
|
Object.defineProperty(exports, "VatType", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_2.VatType; } });
|
|
165
169
|
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_2.WebhookIdentityType; } });
|
|
166
170
|
Object.defineProperty(exports, "WeightUnit", { enumerable: true, get: function () { return ecom_v1_draft_order_draft_orders_universal_js_2.WeightUnit; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-draft-order-draft-orders.public.js","sourceRoot":"","sources":["../../../src/ecom-v1-draft-order-draft-orders.public.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ecom-v1-draft-order-draft-orders.public.js","sourceRoot":"","sources":["../../../src/ecom-v1-draft-order-draft-orders.public.ts"],"names":[],"mappings":";;;;AACA,mHAwDyD;AAE5C,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,SAAgB,gBAAgB,CAC9B,UAAsB;IAEtB,OAAO,CAAC,OAAsB,EAAE,EAAE,CAChC,IAAA,gEAAyB,EACvB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,4CASC;AAeD,SAAgB,qBAAqB,CACnC,UAAsB;IAEtB,OAAO,GAAG,EAAE,CACV,IAAA,qEAA8B;IAC5B,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,sDAQC;AAYD,SAAgB,wBAAwB,CACtC,UAAsB;IAEtB,OAAO,CAAC,YAAoB,EAAE,OAAyC,EAAE,EAAE,CACzE,IAAA,wEAAiC,EAC/B,YAAY,EACZ,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAVD,4DAUC;AAgBD,SAAgB,eAAe,CAC7B,UAAsB;IAEtB,OAAO,CAAC,YAAoB,EAAE,OAAgC,EAAE,EAAE,CAChE,IAAA,+DAAwB,EACtB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AOX,kJAAA,iBAAiB,OAAA;AAKjB,8IAAA,aAAa,OAAA;AAIb,0JAAA,yBAAyB,OAAA;AACzB,6IAAA,YAAY,OAAA;AAwBZ,yIAAA,QAAQ,OAAA;AAmCR,0IAAA,SAAS,OAAA;AAET,2IAAA,UAAU,OAAA;AAGV,sJAAA,qBAAqB,OAAA;AAWrB,mJAAA,kBAAkB,OAAA;AAClB,8IAAA,aAAa,OAAA;AAsBb,wIAAA,OAAO,OAAA;AACP,oJAAA,mBAAmB,OAAA;AACnB,2IAAA,UAAU,OAAA"}
|
|
@@ -427,6 +427,22 @@ export interface Image {
|
|
|
427
427
|
*/
|
|
428
428
|
filename?: string | null;
|
|
429
429
|
}
|
|
430
|
+
export declare enum TextDetection {
|
|
431
|
+
/** No detection was made */
|
|
432
|
+
UNKNOWN_TEXT_DETECTION = "UNKNOWN_TEXT_DETECTION",
|
|
433
|
+
/** The image contains text */
|
|
434
|
+
CONTAINS_TEXT = "CONTAINS_TEXT",
|
|
435
|
+
/** The image does not contain text */
|
|
436
|
+
NO_TEXT = "NO_TEXT"
|
|
437
|
+
}
|
|
438
|
+
export declare enum AnimationDetection {
|
|
439
|
+
/** No detection was made */
|
|
440
|
+
UNKNOWN_ANIMATION_DETECTION = "UNKNOWN_ANIMATION_DETECTION",
|
|
441
|
+
/** The image contains animation */
|
|
442
|
+
CONTAINS_ANIMATION = "CONTAINS_ANIMATION",
|
|
443
|
+
/** The image does not contain animation */
|
|
444
|
+
NO_ANIMATION = "NO_ANIMATION"
|
|
445
|
+
}
|
|
430
446
|
export interface FocalPoint {
|
|
431
447
|
/** X-coordinate of the focal point. */
|
|
432
448
|
x?: number;
|
|
@@ -437,6 +453,12 @@ export interface FocalPoint {
|
|
|
437
453
|
/** crop by width */
|
|
438
454
|
width?: number | null;
|
|
439
455
|
}
|
|
456
|
+
export interface ImageContent {
|
|
457
|
+
/** Text detection */
|
|
458
|
+
text?: TextDetection;
|
|
459
|
+
/** Animation detection */
|
|
460
|
+
animation?: AnimationDetection;
|
|
461
|
+
}
|
|
440
462
|
export interface PhysicalProperties {
|
|
441
463
|
/** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
|
|
442
464
|
weight?: number | null;
|
|
@@ -677,6 +699,27 @@ export interface FreeTrialPeriod {
|
|
|
677
699
|
*/
|
|
678
700
|
interval?: number;
|
|
679
701
|
}
|
|
702
|
+
export interface BillingAdjustment {
|
|
703
|
+
/** The type of adjustment. */
|
|
704
|
+
type?: AdjustmentType;
|
|
705
|
+
/** Summary of the prorated adjustment amount. */
|
|
706
|
+
priceSummary?: BillingAdjustmentPriceSummary;
|
|
707
|
+
}
|
|
708
|
+
export declare enum AdjustmentType {
|
|
709
|
+
UNKNOWN_ADJUSTMENT_TYPE = "UNKNOWN_ADJUSTMENT_TYPE",
|
|
710
|
+
/** Adjustment increases the total amount due to changes like covering extra billing days. Typically results in an additional fee. */
|
|
711
|
+
EXTRA_CHARGE = "EXTRA_CHARGE",
|
|
712
|
+
/** Adjustment reduces the total amount due to changes like covering fewer billing days. Typically results in a credit or discount. */
|
|
713
|
+
CREDIT = "CREDIT"
|
|
714
|
+
}
|
|
715
|
+
export interface BillingAdjustmentPriceSummary {
|
|
716
|
+
/** Subtotal of adjustment, before tax. */
|
|
717
|
+
subtotal?: Price;
|
|
718
|
+
/** Tax on adjustment. */
|
|
719
|
+
tax?: Price;
|
|
720
|
+
/** Total price after tax. */
|
|
721
|
+
total?: Price;
|
|
722
|
+
}
|
|
680
723
|
export interface LocationAndQuantity {
|
|
681
724
|
/**
|
|
682
725
|
* Location id in the associated owner app.
|
|
@@ -1227,7 +1270,8 @@ export interface MerchantDiscountMerchantDiscountReasonOneOf {
|
|
|
1227
1270
|
}
|
|
1228
1271
|
export declare enum DiscountReason {
|
|
1229
1272
|
UNSPECIFIED = "UNSPECIFIED",
|
|
1230
|
-
EXCHANGED_ITEMS = "EXCHANGED_ITEMS"
|
|
1273
|
+
EXCHANGED_ITEMS = "EXCHANGED_ITEMS",
|
|
1274
|
+
BILLING_ADJUSTMENT = "BILLING_ADJUSTMENT"
|
|
1231
1275
|
}
|
|
1232
1276
|
export interface DiscountRule {
|
|
1233
1277
|
/**
|
|
@@ -3541,12 +3585,17 @@ interface FocalPointNonNullableFields {
|
|
|
3541
3585
|
x: number;
|
|
3542
3586
|
y: number;
|
|
3543
3587
|
}
|
|
3588
|
+
interface ImageContentNonNullableFields {
|
|
3589
|
+
text: TextDetection;
|
|
3590
|
+
animation: AnimationDetection;
|
|
3591
|
+
}
|
|
3544
3592
|
interface ImageNonNullableFields {
|
|
3545
3593
|
id: string;
|
|
3546
3594
|
url: string;
|
|
3547
3595
|
height: number;
|
|
3548
3596
|
width: number;
|
|
3549
3597
|
focalPoint?: FocalPointNonNullableFields;
|
|
3598
|
+
imageContent?: ImageContentNonNullableFields;
|
|
3550
3599
|
}
|
|
3551
3600
|
interface PhysicalPropertiesNonNullableFields {
|
|
3552
3601
|
shippable: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebhookIdentityType = exports.SortOrder = exports.ChannelType = exports.AttributionSource = exports.ActivityType = exports.LineItemQuantityChangeType = exports.OrderStatus = exports.FulfillmentStatus = exports.PaymentStatus = exports.NonDraftableReason = exports.DiscountType = exports.FileType = exports.RuleType = exports.PickupMethod = exports.WeightUnit = exports.EditingStatus = exports.DiscountReason = exports.AppliedDiscountDiscountType = exports.SourceType = exports.PickupDetailsPickupMethod = exports.VatType = exports.TaxableAddressType = exports.SubscriptionFrequency = exports.JurisdictionType = exports.PaymentOptionType = exports.ItemTypeItemType = exports.DescriptionLineType = void 0;
|
|
3
|
+
exports.WebhookIdentityType = exports.SortOrder = exports.ChannelType = exports.AttributionSource = exports.ActivityType = exports.LineItemQuantityChangeType = exports.OrderStatus = exports.FulfillmentStatus = exports.PaymentStatus = exports.NonDraftableReason = exports.DiscountType = exports.FileType = exports.RuleType = exports.PickupMethod = exports.WeightUnit = exports.EditingStatus = exports.DiscountReason = exports.AppliedDiscountDiscountType = exports.SourceType = exports.PickupDetailsPickupMethod = exports.VatType = exports.TaxableAddressType = exports.AdjustmentType = exports.SubscriptionFrequency = exports.JurisdictionType = exports.PaymentOptionType = exports.ItemTypeItemType = exports.AnimationDetection = exports.TextDetection = exports.DescriptionLineType = void 0;
|
|
4
4
|
var DescriptionLineType;
|
|
5
5
|
(function (DescriptionLineType) {
|
|
6
6
|
/** Unrecognized type. */
|
|
@@ -10,6 +10,24 @@ var DescriptionLineType;
|
|
|
10
10
|
/** Color type. */
|
|
11
11
|
DescriptionLineType["COLOR"] = "COLOR";
|
|
12
12
|
})(DescriptionLineType || (exports.DescriptionLineType = DescriptionLineType = {}));
|
|
13
|
+
var TextDetection;
|
|
14
|
+
(function (TextDetection) {
|
|
15
|
+
/** No detection was made */
|
|
16
|
+
TextDetection["UNKNOWN_TEXT_DETECTION"] = "UNKNOWN_TEXT_DETECTION";
|
|
17
|
+
/** The image contains text */
|
|
18
|
+
TextDetection["CONTAINS_TEXT"] = "CONTAINS_TEXT";
|
|
19
|
+
/** The image does not contain text */
|
|
20
|
+
TextDetection["NO_TEXT"] = "NO_TEXT";
|
|
21
|
+
})(TextDetection || (exports.TextDetection = TextDetection = {}));
|
|
22
|
+
var AnimationDetection;
|
|
23
|
+
(function (AnimationDetection) {
|
|
24
|
+
/** No detection was made */
|
|
25
|
+
AnimationDetection["UNKNOWN_ANIMATION_DETECTION"] = "UNKNOWN_ANIMATION_DETECTION";
|
|
26
|
+
/** The image contains animation */
|
|
27
|
+
AnimationDetection["CONTAINS_ANIMATION"] = "CONTAINS_ANIMATION";
|
|
28
|
+
/** The image does not contain animation */
|
|
29
|
+
AnimationDetection["NO_ANIMATION"] = "NO_ANIMATION";
|
|
30
|
+
})(AnimationDetection || (exports.AnimationDetection = AnimationDetection = {}));
|
|
13
31
|
var ItemTypeItemType;
|
|
14
32
|
(function (ItemTypeItemType) {
|
|
15
33
|
ItemTypeItemType["UNRECOGNISED"] = "UNRECOGNISED";
|
|
@@ -51,6 +69,14 @@ var SubscriptionFrequency;
|
|
|
51
69
|
SubscriptionFrequency["MONTH"] = "MONTH";
|
|
52
70
|
SubscriptionFrequency["YEAR"] = "YEAR";
|
|
53
71
|
})(SubscriptionFrequency || (exports.SubscriptionFrequency = SubscriptionFrequency = {}));
|
|
72
|
+
var AdjustmentType;
|
|
73
|
+
(function (AdjustmentType) {
|
|
74
|
+
AdjustmentType["UNKNOWN_ADJUSTMENT_TYPE"] = "UNKNOWN_ADJUSTMENT_TYPE";
|
|
75
|
+
/** Adjustment increases the total amount due to changes like covering extra billing days. Typically results in an additional fee. */
|
|
76
|
+
AdjustmentType["EXTRA_CHARGE"] = "EXTRA_CHARGE";
|
|
77
|
+
/** Adjustment reduces the total amount due to changes like covering fewer billing days. Typically results in a credit or discount. */
|
|
78
|
+
AdjustmentType["CREDIT"] = "CREDIT";
|
|
79
|
+
})(AdjustmentType || (exports.AdjustmentType = AdjustmentType = {}));
|
|
54
80
|
var TaxableAddressType;
|
|
55
81
|
(function (TaxableAddressType) {
|
|
56
82
|
TaxableAddressType["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
|
|
@@ -92,6 +118,7 @@ var DiscountReason;
|
|
|
92
118
|
(function (DiscountReason) {
|
|
93
119
|
DiscountReason["UNSPECIFIED"] = "UNSPECIFIED";
|
|
94
120
|
DiscountReason["EXCHANGED_ITEMS"] = "EXCHANGED_ITEMS";
|
|
121
|
+
DiscountReason["BILLING_ADJUSTMENT"] = "BILLING_ADJUSTMENT";
|
|
95
122
|
})(DiscountReason || (exports.DiscountReason = DiscountReason = {}));
|
|
96
123
|
var EditingStatus;
|
|
97
124
|
(function (EditingStatus) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-draft-order-draft-orders.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-draft-order-draft-orders.types.ts"],"names":[],"mappings":";;;AA6ZA,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,yBAAyB;IACzB,oDAA6B,CAAA;IAC7B,uBAAuB;IACvB,gDAAyB,CAAA;IACzB,kBAAkB;IAClB,sCAAe,CAAA;AACjB,CAAC,EAPW,mBAAmB,mCAAnB,mBAAmB,QAO9B;
|
|
1
|
+
{"version":3,"file":"ecom-v1-draft-order-draft-orders.types.js","sourceRoot":"","sources":["../../../src/ecom-v1-draft-order-draft-orders.types.ts"],"names":[],"mappings":";;;AA6ZA,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,yBAAyB;IACzB,oDAA6B,CAAA;IAC7B,uBAAuB;IACvB,gDAAyB,CAAA;IACzB,kBAAkB;IAClB,sCAAe,CAAA;AACjB,CAAC,EAPW,mBAAmB,mCAAnB,mBAAmB,QAO9B;AA0BD,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,4BAA4B;IAC5B,kEAAiD,CAAA;IACjD,8BAA8B;IAC9B,gDAA+B,CAAA;IAC/B,sCAAsC;IACtC,oCAAmB,CAAA;AACrB,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AAED,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC5B,4BAA4B;IAC5B,iFAA2D,CAAA;IAC3D,mCAAmC;IACnC,+DAAyC,CAAA;IACzC,2CAA2C;IAC3C,mDAA6B,CAAA;AAC/B,CAAC,EAPW,kBAAkB,kCAAlB,kBAAkB,QAO7B;AA+CD,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,iDAA6B,CAAA;IAC7B,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,uCAAmB,CAAA;AACrB,CAAC,EANW,gBAAgB,gCAAhB,gBAAgB,QAM3B;AAED,uDAAuD;AACvD,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC3B,wEAAwE;IACxE,gEAA2C,CAAA;IAC3C,sIAAsI;IACtI,kE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HW,SAAS,yBAAT,SAAS,QAGpB;AAgPD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
|
@@ -404,6 +404,22 @@ export declare enum DescriptionLineType {
|
|
|
404
404
|
/** Color type. */
|
|
405
405
|
COLOR = "COLOR"
|
|
406
406
|
}
|
|
407
|
+
export declare enum TextDetection {
|
|
408
|
+
/** No detection was made */
|
|
409
|
+
UNKNOWN_TEXT_DETECTION = "UNKNOWN_TEXT_DETECTION",
|
|
410
|
+
/** The image contains text */
|
|
411
|
+
CONTAINS_TEXT = "CONTAINS_TEXT",
|
|
412
|
+
/** The image does not contain text */
|
|
413
|
+
NO_TEXT = "NO_TEXT"
|
|
414
|
+
}
|
|
415
|
+
export declare enum AnimationDetection {
|
|
416
|
+
/** No detection was made */
|
|
417
|
+
UNKNOWN_ANIMATION_DETECTION = "UNKNOWN_ANIMATION_DETECTION",
|
|
418
|
+
/** The image contains animation */
|
|
419
|
+
CONTAINS_ANIMATION = "CONTAINS_ANIMATION",
|
|
420
|
+
/** The image does not contain animation */
|
|
421
|
+
NO_ANIMATION = "NO_ANIMATION"
|
|
422
|
+
}
|
|
407
423
|
export interface FocalPoint {
|
|
408
424
|
/** X-coordinate of the focal point. */
|
|
409
425
|
x?: number;
|
|
@@ -414,6 +430,12 @@ export interface FocalPoint {
|
|
|
414
430
|
/** crop by width */
|
|
415
431
|
width?: number | null;
|
|
416
432
|
}
|
|
433
|
+
export interface ImageContent {
|
|
434
|
+
/** Text detection */
|
|
435
|
+
text?: TextDetection;
|
|
436
|
+
/** Animation detection */
|
|
437
|
+
animation?: AnimationDetection;
|
|
438
|
+
}
|
|
417
439
|
export interface PhysicalProperties {
|
|
418
440
|
/** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
|
|
419
441
|
weight?: number | null;
|
|
@@ -654,6 +676,27 @@ export interface FreeTrialPeriod {
|
|
|
654
676
|
*/
|
|
655
677
|
interval?: number;
|
|
656
678
|
}
|
|
679
|
+
export interface BillingAdjustment {
|
|
680
|
+
/** The type of adjustment. */
|
|
681
|
+
type?: AdjustmentType;
|
|
682
|
+
/** Summary of the prorated adjustment amount. */
|
|
683
|
+
priceSummary?: BillingAdjustmentPriceSummary;
|
|
684
|
+
}
|
|
685
|
+
export declare enum AdjustmentType {
|
|
686
|
+
UNKNOWN_ADJUSTMENT_TYPE = "UNKNOWN_ADJUSTMENT_TYPE",
|
|
687
|
+
/** Adjustment increases the total amount due to changes like covering extra billing days. Typically results in an additional fee. */
|
|
688
|
+
EXTRA_CHARGE = "EXTRA_CHARGE",
|
|
689
|
+
/** Adjustment reduces the total amount due to changes like covering fewer billing days. Typically results in a credit or discount. */
|
|
690
|
+
CREDIT = "CREDIT"
|
|
691
|
+
}
|
|
692
|
+
export interface BillingAdjustmentPriceSummary {
|
|
693
|
+
/** Subtotal of adjustment, before tax. */
|
|
694
|
+
subtotal?: Price;
|
|
695
|
+
/** Tax on adjustment. */
|
|
696
|
+
tax?: Price;
|
|
697
|
+
/** Total price after tax. */
|
|
698
|
+
total?: Price;
|
|
699
|
+
}
|
|
657
700
|
export interface LocationAndQuantity {
|
|
658
701
|
/**
|
|
659
702
|
* Location id in the associated owner app.
|
|
@@ -1204,7 +1247,8 @@ export interface MerchantDiscountMerchantDiscountReasonOneOf {
|
|
|
1204
1247
|
}
|
|
1205
1248
|
export declare enum DiscountReason {
|
|
1206
1249
|
UNSPECIFIED = "UNSPECIFIED",
|
|
1207
|
-
EXCHANGED_ITEMS = "EXCHANGED_ITEMS"
|
|
1250
|
+
EXCHANGED_ITEMS = "EXCHANGED_ITEMS",
|
|
1251
|
+
BILLING_ADJUSTMENT = "BILLING_ADJUSTMENT"
|
|
1208
1252
|
}
|
|
1209
1253
|
export interface DiscountRule {
|
|
1210
1254
|
/**
|
|
@@ -23,7 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
26
|
+
exports.queryDraftOrders = exports.deleteDraftOrder = exports.createOrderFromDraft = exports.commitDraftOrder = exports.getOrderDraftabilityStatus = exports.getDraftOrder = exports.setBillingInfo = exports.setRecipientInfo = exports.setBuyerInfo = exports.setShippingInfo = exports.deleteCustomAdditionalFees = exports.createCustomAdditionalFees = exports.setAdditionalFees = exports.deleteCustomDiscounts = exports.createCustomDiscounts = exports.setDiscounts = exports.updateLineItems = exports.addLineItemsToDraftOrder = exports.createEmptyDraftOrder = exports.createDraftOrder = exports.WebhookIdentityType = exports.SortOrder = exports.ChannelType = exports.AttributionSource = exports.ActivityType = exports.LineItemQuantityChangeType = exports.OrderStatus = exports.FulfillmentStatus = exports.PaymentStatus = exports.NonDraftableReason = exports.DiscountType = exports.FileType = exports.RuleType = exports.PickupMethod = exports.WeightUnit = exports.EditingStatus = exports.DiscountReason = exports.AppliedDiscountDiscountType = exports.SourceType = exports.PickupDetailsPickupMethod = exports.VatType = exports.TaxableAddressType = exports.AdjustmentType = exports.SubscriptionFrequency = exports.JurisdictionType = exports.PaymentOptionType = exports.ItemTypeItemType = exports.AnimationDetection = exports.TextDetection = exports.DescriptionLineType = void 0;
|
|
27
|
+
exports.setBusinessLocation = exports.setTaxExemption = void 0;
|
|
27
28
|
const transform_error_1 = require("@wix/sdk-runtime/transform-error");
|
|
28
29
|
const query_builder_1 = require("@wix/sdk-runtime/query-builder");
|
|
29
30
|
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
@@ -44,6 +45,24 @@ var DescriptionLineType;
|
|
|
44
45
|
/** Color type. */
|
|
45
46
|
DescriptionLineType["COLOR"] = "COLOR";
|
|
46
47
|
})(DescriptionLineType || (exports.DescriptionLineType = DescriptionLineType = {}));
|
|
48
|
+
var TextDetection;
|
|
49
|
+
(function (TextDetection) {
|
|
50
|
+
/** No detection was made */
|
|
51
|
+
TextDetection["UNKNOWN_TEXT_DETECTION"] = "UNKNOWN_TEXT_DETECTION";
|
|
52
|
+
/** The image contains text */
|
|
53
|
+
TextDetection["CONTAINS_TEXT"] = "CONTAINS_TEXT";
|
|
54
|
+
/** The image does not contain text */
|
|
55
|
+
TextDetection["NO_TEXT"] = "NO_TEXT";
|
|
56
|
+
})(TextDetection || (exports.TextDetection = TextDetection = {}));
|
|
57
|
+
var AnimationDetection;
|
|
58
|
+
(function (AnimationDetection) {
|
|
59
|
+
/** No detection was made */
|
|
60
|
+
AnimationDetection["UNKNOWN_ANIMATION_DETECTION"] = "UNKNOWN_ANIMATION_DETECTION";
|
|
61
|
+
/** The image contains animation */
|
|
62
|
+
AnimationDetection["CONTAINS_ANIMATION"] = "CONTAINS_ANIMATION";
|
|
63
|
+
/** The image does not contain animation */
|
|
64
|
+
AnimationDetection["NO_ANIMATION"] = "NO_ANIMATION";
|
|
65
|
+
})(AnimationDetection || (exports.AnimationDetection = AnimationDetection = {}));
|
|
47
66
|
var ItemTypeItemType;
|
|
48
67
|
(function (ItemTypeItemType) {
|
|
49
68
|
ItemTypeItemType["UNRECOGNISED"] = "UNRECOGNISED";
|
|
@@ -85,6 +104,14 @@ var SubscriptionFrequency;
|
|
|
85
104
|
SubscriptionFrequency["MONTH"] = "MONTH";
|
|
86
105
|
SubscriptionFrequency["YEAR"] = "YEAR";
|
|
87
106
|
})(SubscriptionFrequency || (exports.SubscriptionFrequency = SubscriptionFrequency = {}));
|
|
107
|
+
var AdjustmentType;
|
|
108
|
+
(function (AdjustmentType) {
|
|
109
|
+
AdjustmentType["UNKNOWN_ADJUSTMENT_TYPE"] = "UNKNOWN_ADJUSTMENT_TYPE";
|
|
110
|
+
/** Adjustment increases the total amount due to changes like covering extra billing days. Typically results in an additional fee. */
|
|
111
|
+
AdjustmentType["EXTRA_CHARGE"] = "EXTRA_CHARGE";
|
|
112
|
+
/** Adjustment reduces the total amount due to changes like covering fewer billing days. Typically results in a credit or discount. */
|
|
113
|
+
AdjustmentType["CREDIT"] = "CREDIT";
|
|
114
|
+
})(AdjustmentType || (exports.AdjustmentType = AdjustmentType = {}));
|
|
88
115
|
var TaxableAddressType;
|
|
89
116
|
(function (TaxableAddressType) {
|
|
90
117
|
TaxableAddressType["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
|
|
@@ -126,6 +153,7 @@ var DiscountReason;
|
|
|
126
153
|
(function (DiscountReason) {
|
|
127
154
|
DiscountReason["UNSPECIFIED"] = "UNSPECIFIED";
|
|
128
155
|
DiscountReason["EXCHANGED_ITEMS"] = "EXCHANGED_ITEMS";
|
|
156
|
+
DiscountReason["BILLING_ADJUSTMENT"] = "BILLING_ADJUSTMENT";
|
|
129
157
|
})(DiscountReason || (exports.DiscountReason = DiscountReason = {}));
|
|
130
158
|
var EditingStatus;
|
|
131
159
|
(function (EditingStatus) {
|