@wix/ecom 1.0.693 → 1.0.700
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.
|
@@ -1228,7 +1228,7 @@ interface Order {
|
|
|
1228
1228
|
/** Billing address and contact details. */
|
|
1229
1229
|
billingInfo?: AddressWithContact$1;
|
|
1230
1230
|
/** Shipping info and selected shipping option details. */
|
|
1231
|
-
shippingInfo?:
|
|
1231
|
+
shippingInfo?: V1ShippingInformation;
|
|
1232
1232
|
/** [Buyer note](https://support.wix.com/en/article/wix-stores-viewing-buyer-notes) left by the customer. */
|
|
1233
1233
|
buyerNote?: string | null;
|
|
1234
1234
|
/**
|
|
@@ -1791,7 +1791,7 @@ declare enum VatType$1 {
|
|
|
1791
1791
|
/** CNPJ - for corporations */
|
|
1792
1792
|
CNPJ = "CNPJ"
|
|
1793
1793
|
}
|
|
1794
|
-
interface
|
|
1794
|
+
interface V1ShippingInformation {
|
|
1795
1795
|
/** App Def Id of external provider which was a source of shipping info */
|
|
1796
1796
|
carrierId?: string | null;
|
|
1797
1797
|
/** Unique code (or ID) of selected shipping option. For example, `"usps_std_overnight"``. */
|
|
@@ -2111,6 +2111,7 @@ interface OrderChange extends OrderChangeValueOneOf {
|
|
|
2111
2111
|
additionalFeeAdded?: ManagedAdditionalFee;
|
|
2112
2112
|
additionalFeeRemoved?: ManagedAdditionalFee;
|
|
2113
2113
|
totalPriceChanged?: TotalPriceChange;
|
|
2114
|
+
shippingInformationChanged?: ShippingInformationChange;
|
|
2114
2115
|
}
|
|
2115
2116
|
/** @oneof */
|
|
2116
2117
|
interface OrderChangeValueOneOf {
|
|
@@ -2122,6 +2123,7 @@ interface OrderChangeValueOneOf {
|
|
|
2122
2123
|
additionalFeeAdded?: ManagedAdditionalFee;
|
|
2123
2124
|
additionalFeeRemoved?: ManagedAdditionalFee;
|
|
2124
2125
|
totalPriceChanged?: TotalPriceChange;
|
|
2126
|
+
shippingInformationChanged?: ShippingInformationChange;
|
|
2125
2127
|
}
|
|
2126
2128
|
interface LineItemChanges {
|
|
2127
2129
|
/** Line item ID. */
|
|
@@ -2201,6 +2203,18 @@ interface TotalPriceChange {
|
|
|
2201
2203
|
/** Order’s total price after discounts and tax. After update */
|
|
2202
2204
|
newTotal?: Price;
|
|
2203
2205
|
}
|
|
2206
|
+
interface ShippingInformationChange {
|
|
2207
|
+
/** Order’s Shipping Information. Before update */
|
|
2208
|
+
originalShippingInfo?: ShippingInformation;
|
|
2209
|
+
/** Order’s Shipping Information. After update */
|
|
2210
|
+
newShippingInfo?: ShippingInformation;
|
|
2211
|
+
}
|
|
2212
|
+
interface ShippingInformation {
|
|
2213
|
+
/** Order’s shipping price. */
|
|
2214
|
+
total?: Price;
|
|
2215
|
+
/** Order’s shipping title. */
|
|
2216
|
+
shippingTitle?: string;
|
|
2217
|
+
}
|
|
2204
2218
|
/** Payment method is saved for order */
|
|
2205
2219
|
interface SavedPaymentMethod {
|
|
2206
2220
|
/** Payment method name */
|
|
@@ -2615,6 +2629,7 @@ type index_d$1_Price = Price;
|
|
|
2615
2629
|
type index_d$1_PriceDescription = PriceDescription;
|
|
2616
2630
|
type index_d$1_SavedPaymentMethod = SavedPaymentMethod;
|
|
2617
2631
|
type index_d$1_ShippingInformation = ShippingInformation;
|
|
2632
|
+
type index_d$1_ShippingInformationChange = ShippingInformationChange;
|
|
2618
2633
|
type index_d$1_ShippingPrice = ShippingPrice;
|
|
2619
2634
|
type index_d$1_ShippingRegion = ShippingRegion;
|
|
2620
2635
|
type index_d$1_SubscriptionInfo = SubscriptionInfo;
|
|
@@ -2623,8 +2638,9 @@ type index_d$1_Tags = Tags;
|
|
|
2623
2638
|
type index_d$1_TaxSummary = TaxSummary;
|
|
2624
2639
|
type index_d$1_TotalPriceChange = TotalPriceChange;
|
|
2625
2640
|
type index_d$1_TranslatedValue = TranslatedValue;
|
|
2641
|
+
type index_d$1_V1ShippingInformation = V1ShippingInformation;
|
|
2626
2642
|
declare namespace index_d$1 {
|
|
2627
|
-
export { type index_d$1_Activity as Activity, type index_d$1_ActivityContentOneOf as ActivityContentOneOf, index_d$1_ActivityType as ActivityType, type index_d$1_AdditionalFee as AdditionalFee, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type AddressWithContact$1 as AddressWithContact, type AppliedDiscount$1 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, index_d$1_AttributionSource as AttributionSource, type index_d$1_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type index_d$1_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type index_d$1_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type index_d$1_Balance as Balance, type index_d$1_BalanceSummary as BalanceSummary, type index_d$1_BuyerInfo as BuyerInfo, type index_d$1_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type CatalogReference$1 as CatalogReference, type index_d$1_ChannelInfo as ChannelInfo, index_d$1_ChannelType as ChannelType, type index_d$1_Color as Color, type Context$1 as Context, type Coupon$1 as Coupon, type index_d$1_CreatedBy as CreatedBy, type index_d$1_CreatedByStringOneOf as CreatedByStringOneOf, type index_d$1_CustomActivity as CustomActivity, type CustomField$1 as CustomField, type index_d$1_DeliveryLogistics as DeliveryLogistics, type index_d$1_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type index_d$1_DeliveryTimeSlot as DeliveryTimeSlot, type index_d$1_DescriptionLine as DescriptionLine, type index_d$1_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type index_d$1_DescriptionLineName as DescriptionLineName, index_d$1_DescriptionLineType as DescriptionLineType, type index_d$1_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type index_d$1_DigitalFile as DigitalFile, index_d$1_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type index_d$1_DraftOrderChangesApplied as DraftOrderChangesApplied, type ExtendedFields$1 as ExtendedFields, index_d$1_FulfillmentStatus as FulfillmentStatus, type index_d$1_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type index_d$1_GetPaymentSettingsEnvelope as GetPaymentSettingsEnvelope, type index_d$1_GetPaymentSettingsRequest as GetPaymentSettingsRequest, type index_d$1_GetPaymentSettingsResponse as GetPaymentSettingsResponse, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, JurisdictionType$1 as JurisdictionType, type index_d$1_LineItemAmount as LineItemAmount, type index_d$1_LineItemChanges as LineItemChanges, type index_d$1_LineItemDiscount as LineItemDiscount, type index_d$1_LineItemExchangeData as LineItemExchangeData, type index_d$1_LineItemPriceChange as LineItemPriceChange, type index_d$1_LineItemQuantityChange as LineItemQuantityChange, index_d$1_LineItemQuantityChangeType as LineItemQuantityChangeType, type index_d$1_LineItemTaxBreakdown as LineItemTaxBreakdown, type index_d$1_LineItemTaxInfo as LineItemTaxInfo, type index_d$1_LocationAndQuantity as LocationAndQuantity, type index_d$1_ManagedAdditionalFee as ManagedAdditionalFee, type index_d$1_ManagedDiscount as ManagedDiscount, type index_d$1_ManagedLineItem as ManagedLineItem, type index_d$1_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type index_d$1_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type index_d$1_NewExchangeOrderCreated as NewExchangeOrderCreated, type index_d$1_Order as Order, type index_d$1_OrderChange as OrderChange, type index_d$1_OrderChangeValueOneOf as OrderChangeValueOneOf, type index_d$1_OrderCreatedFromExchange as OrderCreatedFromExchange, type index_d$1_OrderLineItem as OrderLineItem, type index_d$1_OrderRefunded as OrderRefunded, index_d$1_OrderStatus as OrderStatus, type index_d$1_OrderTaxBreakdown as OrderTaxBreakdown, type index_d$1_OrderTaxInfo as OrderTaxInfo, index_d$1_PaymentOptionType as PaymentOptionType, type index_d$1_PaymentSettings as PaymentSettings, type index_d$1_PaymentSettingsSPIConfig as PaymentSettingsSPIConfig, index_d$1_PaymentStatus as PaymentStatus, type PhysicalProperties$1 as PhysicalProperties, type index_d$1_PickupAddress as PickupAddress, type index_d$1_PickupDetails as PickupDetails, index_d$1_PickupMethod as PickupMethod, type index_d$1_PlainTextValue as PlainTextValue, type index_d$1_Price as Price, type index_d$1_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type ProductName$1 as ProductName, type index_d$1_SavedPaymentMethod as SavedPaymentMethod, type index_d$1_ShippingInformation as ShippingInformation, type index_d$1_ShippingPrice as ShippingPrice, type index_d$1_ShippingRegion as ShippingRegion, type StreetAddress$1 as StreetAddress, SubscriptionFrequency$1 as SubscriptionFrequency, type index_d$1_SubscriptionInfo as SubscriptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type index_d$1_TagList as TagList, type index_d$1_Tags as Tags, type index_d$1_TaxSummary as TaxSummary, type index_d$1_TotalPriceChange as TotalPriceChange, type index_d$1_TranslatedValue as TranslatedValue, type VatId$1 as VatId, VatType$1 as VatType, WeightUnit$1 as WeightUnit, provideHandlers$1 as provideHandlers };
|
|
2643
|
+
export { type index_d$1_Activity as Activity, type index_d$1_ActivityContentOneOf as ActivityContentOneOf, index_d$1_ActivityType as ActivityType, type index_d$1_AdditionalFee as AdditionalFee, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type AddressWithContact$1 as AddressWithContact, type AppliedDiscount$1 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, index_d$1_AttributionSource as AttributionSource, type index_d$1_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type index_d$1_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type index_d$1_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type index_d$1_Balance as Balance, type index_d$1_BalanceSummary as BalanceSummary, type index_d$1_BuyerInfo as BuyerInfo, type index_d$1_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type CatalogReference$1 as CatalogReference, type index_d$1_ChannelInfo as ChannelInfo, index_d$1_ChannelType as ChannelType, type index_d$1_Color as Color, type Context$1 as Context, type Coupon$1 as Coupon, type index_d$1_CreatedBy as CreatedBy, type index_d$1_CreatedByStringOneOf as CreatedByStringOneOf, type index_d$1_CustomActivity as CustomActivity, type CustomField$1 as CustomField, type index_d$1_DeliveryLogistics as DeliveryLogistics, type index_d$1_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type index_d$1_DeliveryTimeSlot as DeliveryTimeSlot, type index_d$1_DescriptionLine as DescriptionLine, type index_d$1_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type index_d$1_DescriptionLineName as DescriptionLineName, index_d$1_DescriptionLineType as DescriptionLineType, type index_d$1_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type index_d$1_DigitalFile as DigitalFile, index_d$1_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type index_d$1_DraftOrderChangesApplied as DraftOrderChangesApplied, type ExtendedFields$1 as ExtendedFields, index_d$1_FulfillmentStatus as FulfillmentStatus, type index_d$1_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type index_d$1_GetPaymentSettingsEnvelope as GetPaymentSettingsEnvelope, type index_d$1_GetPaymentSettingsRequest as GetPaymentSettingsRequest, type index_d$1_GetPaymentSettingsResponse as GetPaymentSettingsResponse, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, JurisdictionType$1 as JurisdictionType, type index_d$1_LineItemAmount as LineItemAmount, type index_d$1_LineItemChanges as LineItemChanges, type index_d$1_LineItemDiscount as LineItemDiscount, type index_d$1_LineItemExchangeData as LineItemExchangeData, type index_d$1_LineItemPriceChange as LineItemPriceChange, type index_d$1_LineItemQuantityChange as LineItemQuantityChange, index_d$1_LineItemQuantityChangeType as LineItemQuantityChangeType, type index_d$1_LineItemTaxBreakdown as LineItemTaxBreakdown, type index_d$1_LineItemTaxInfo as LineItemTaxInfo, type index_d$1_LocationAndQuantity as LocationAndQuantity, type index_d$1_ManagedAdditionalFee as ManagedAdditionalFee, type index_d$1_ManagedDiscount as ManagedDiscount, type index_d$1_ManagedLineItem as ManagedLineItem, type index_d$1_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type index_d$1_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type index_d$1_NewExchangeOrderCreated as NewExchangeOrderCreated, type index_d$1_Order as Order, type index_d$1_OrderChange as OrderChange, type index_d$1_OrderChangeValueOneOf as OrderChangeValueOneOf, type index_d$1_OrderCreatedFromExchange as OrderCreatedFromExchange, type index_d$1_OrderLineItem as OrderLineItem, type index_d$1_OrderRefunded as OrderRefunded, index_d$1_OrderStatus as OrderStatus, type index_d$1_OrderTaxBreakdown as OrderTaxBreakdown, type index_d$1_OrderTaxInfo as OrderTaxInfo, index_d$1_PaymentOptionType as PaymentOptionType, type index_d$1_PaymentSettings as PaymentSettings, type index_d$1_PaymentSettingsSPIConfig as PaymentSettingsSPIConfig, index_d$1_PaymentStatus as PaymentStatus, type PhysicalProperties$1 as PhysicalProperties, type index_d$1_PickupAddress as PickupAddress, type index_d$1_PickupDetails as PickupDetails, index_d$1_PickupMethod as PickupMethod, type index_d$1_PlainTextValue as PlainTextValue, type index_d$1_Price as Price, type index_d$1_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type ProductName$1 as ProductName, type index_d$1_SavedPaymentMethod as SavedPaymentMethod, type index_d$1_ShippingInformation as ShippingInformation, type index_d$1_ShippingInformationChange as ShippingInformationChange, type index_d$1_ShippingPrice as ShippingPrice, type index_d$1_ShippingRegion as ShippingRegion, type StreetAddress$1 as StreetAddress, SubscriptionFrequency$1 as SubscriptionFrequency, type index_d$1_SubscriptionInfo as SubscriptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type index_d$1_TagList as TagList, type index_d$1_Tags as Tags, type index_d$1_TaxSummary as TaxSummary, type index_d$1_TotalPriceChange as TotalPriceChange, type index_d$1_TranslatedValue as TranslatedValue, type index_d$1_V1ShippingInformation as V1ShippingInformation, type VatId$1 as VatId, VatType$1 as VatType, WeightUnit$1 as WeightUnit, provideHandlers$1 as provideHandlers };
|
|
2628
2644
|
}
|
|
2629
2645
|
|
|
2630
2646
|
interface GetValidationViolationsRequest {
|