@wix/auto_sdk_ecom_draft-orders 1.0.186 → 1.0.188
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/index.d.ts +1 -1
- package/build/cjs/index.js +164 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +157 -8
- package/build/cjs/index.typings.js +128 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +157 -8
- package/build/cjs/meta.js +128 -4
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +160 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +157 -8
- package/build/es/index.typings.mjs +124 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +157 -8
- package/build/es/meta.mjs +124 -4
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.typings.d.ts +188 -8
- package/build/internal/cjs/meta.d.ts +188 -8
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +188 -8
- package/build/internal/es/meta.d.mts +188 -8
- package/package.json +2 -2
|
@@ -747,10 +747,16 @@ interface DigitalFile {
|
|
|
747
747
|
interface SubscriptionInfo {
|
|
748
748
|
/**
|
|
749
749
|
* Subscription ID.
|
|
750
|
+
*
|
|
751
|
+
* For a subscription bought through Wix eCommerce, this is the ID of the subscription contract the order was created from.
|
|
752
|
+
* To retrieve the subscription contract, call [Get Subscription Contract](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/payments/subscriptions/subscription-contracts/get-subscription-contract).
|
|
750
753
|
* @format GUID
|
|
751
754
|
*/
|
|
752
755
|
_id?: string | null;
|
|
753
|
-
/**
|
|
756
|
+
/**
|
|
757
|
+
* Billing cycle the order is for. For example, `3` for the third billing cycle of a subscription.
|
|
758
|
+
* When a subscription starts with a free trial, the order created at checkout is for cycle `0`.
|
|
759
|
+
*/
|
|
754
760
|
cycleNumber?: number;
|
|
755
761
|
/**
|
|
756
762
|
* Subscription option title. For example, `"Monthly coffee Subscription"`.
|
|
@@ -805,7 +811,7 @@ interface SubscriptionDescription {
|
|
|
805
811
|
translated?: string | null;
|
|
806
812
|
}
|
|
807
813
|
interface SubscriptionSettings {
|
|
808
|
-
/** Frequency of
|
|
814
|
+
/** Frequency unit of the billing cycle. */
|
|
809
815
|
frequency?: SubscriptionFrequencyWithLiterals;
|
|
810
816
|
/**
|
|
811
817
|
* Number of frequency units in a billing cycle. For example, frequency `MONTH` with interval `3` means billing every 3 months.
|
|
@@ -813,16 +819,20 @@ interface SubscriptionSettings {
|
|
|
813
819
|
* @max 3650
|
|
814
820
|
*/
|
|
815
821
|
interval?: number | null;
|
|
816
|
-
/** Whether subscription
|
|
822
|
+
/** Whether the subscription renews automatically at the end of each billing cycle. */
|
|
817
823
|
autoRenewal?: boolean;
|
|
818
824
|
/**
|
|
819
|
-
* Number of billing cycles before subscription ends. Ignored
|
|
825
|
+
* Number of billing cycles before the subscription ends. Ignored when `autoRenewal` is `true`.
|
|
820
826
|
* @min 1
|
|
821
827
|
*/
|
|
822
828
|
billingCycles?: number | null;
|
|
823
|
-
/** Whether
|
|
829
|
+
/** Whether the buyer can cancel the subscription. */
|
|
824
830
|
enableCustomerCancellation?: boolean;
|
|
825
|
-
/**
|
|
831
|
+
/**
|
|
832
|
+
* Free trial period before the first billing cycle starts.
|
|
833
|
+
*
|
|
834
|
+
* Returned only when the subscription has a free trial.
|
|
835
|
+
*/
|
|
826
836
|
freeTrialPeriod?: FreeTrialPeriod;
|
|
827
837
|
}
|
|
828
838
|
/** Frequency unit of recurring payment */
|
|
@@ -836,7 +846,7 @@ declare enum SubscriptionFrequency {
|
|
|
836
846
|
/** @enumType */
|
|
837
847
|
type SubscriptionFrequencyWithLiterals = SubscriptionFrequency | 'UNDEFINED' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR';
|
|
838
848
|
interface FreeTrialPeriod {
|
|
839
|
-
/** Frequency of
|
|
849
|
+
/** Frequency unit of the free trial period. */
|
|
840
850
|
frequency?: SubscriptionFrequencyWithLiterals;
|
|
841
851
|
/**
|
|
842
852
|
* Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial.
|
|
@@ -1042,6 +1052,76 @@ interface ServiceProperties {
|
|
|
1042
1052
|
*/
|
|
1043
1053
|
numberOfParticipants?: number | null;
|
|
1044
1054
|
}
|
|
1055
|
+
/**
|
|
1056
|
+
* Record of the cross-border repricing of a single line item, shipping option or fee on a site whose catalog prices include tax:
|
|
1057
|
+
* the catalog price the merchant entered, the base region's tax removed from it per unit, and the rate used.
|
|
1058
|
+
*
|
|
1059
|
+
* This record describes how the price was reached, not the resulting amount. The repriced figures are on the line itself:
|
|
1060
|
+
* `price` and `taxInfo` on an order line item, and their counterparts on a shipping cost or a fee.
|
|
1061
|
+
* Written by the calculation that priced the line and carried unchanged onto orders, draft orders and subscription contracts.
|
|
1062
|
+
*/
|
|
1063
|
+
interface CrossBorderPriceAdjustment {
|
|
1064
|
+
/**
|
|
1065
|
+
* ID of the tax region whose tax is built into the catalog prices.
|
|
1066
|
+
* @format GUID
|
|
1067
|
+
*/
|
|
1068
|
+
baseTaxRegionId?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* ID of the tax region resolved for the destination. Absent when no region matched.
|
|
1071
|
+
* @format GUID
|
|
1072
|
+
*/
|
|
1073
|
+
destinationTaxRegionId?: string | null;
|
|
1074
|
+
/** Price per unit as entered by the merchant, with the base region's tax inside it. */
|
|
1075
|
+
catalogPrice?: Price;
|
|
1076
|
+
/** Base region's tax removed per unit. Zero when `status` is `KEPT`, `SAME_REGION`, `SAME_COUNTRY`, `NOT_APPLICABLE`, `NOT_APPLICABLE_MODIFIERS` or `CONVERTED_CURRENCY_SUBSCRIPTION`, where nothing was removed. */
|
|
1077
|
+
baseTaxAmount?: Price;
|
|
1078
|
+
/** Outcome of the repricing for this line. */
|
|
1079
|
+
status?: RepriceStatusWithLiterals;
|
|
1080
|
+
/** Where the base region's rate came from. Meaningful only when a rate was applied, that is when `status` is `APPLIED`, `STRIP_ONLY` or `NO_DESTINATION_REGION`. */
|
|
1081
|
+
baseRateSource?: BaseRateSourceWithLiterals;
|
|
1082
|
+
/**
|
|
1083
|
+
* Base region's rate used to remove the tax, as a decimal numeral between 0 and 1. For example, `"0.22"`. Absent when no rate was applied.
|
|
1084
|
+
* @format DECIMAL_VALUE
|
|
1085
|
+
* @decimalValue options { gte:0, maxScale:6 }
|
|
1086
|
+
*/
|
|
1087
|
+
baseRate?: string | null;
|
|
1088
|
+
/** When the base region's rate was captured. Set only when `baseRateSource` is `AVALARA_PROBE`. */
|
|
1089
|
+
baseRateCapturedDate?: Date | null;
|
|
1090
|
+
/** Whether the destination's tax is included in the repriced amount. Reserved for per-region display; not populated. */
|
|
1091
|
+
destinationTaxIncluded?: boolean | null;
|
|
1092
|
+
}
|
|
1093
|
+
/** Outcome of the repricing for one line. */
|
|
1094
|
+
declare enum RepriceStatus {
|
|
1095
|
+
/** Base tax removed and the destination's tax applied. */
|
|
1096
|
+
APPLIED = "APPLIED",
|
|
1097
|
+
/** The caller asked for the line to be left at its price. Nothing was removed. */
|
|
1098
|
+
KEPT = "KEPT",
|
|
1099
|
+
/** Base tax removed and no destination tax applied, as in a tax-exempt calculation. This is the outcome; the mode that asks for it is `CrossBorderRepricingMode.STRIP_ONLY`. */
|
|
1100
|
+
STRIP_ONLY = "STRIP_ONLY",
|
|
1101
|
+
/** The destination is the base region. Nothing was removed. */
|
|
1102
|
+
SAME_REGION = "SAME_REGION",
|
|
1103
|
+
/** The destination is in the base region's country, outside the US and Canada, so the catalog price already carries the destination's tax. Nothing was removed. */
|
|
1104
|
+
SAME_COUNTRY = "SAME_COUNTRY",
|
|
1105
|
+
/** No tax region matched the destination. Base tax removed and no destination tax applied. */
|
|
1106
|
+
NO_DESTINATION_REGION = "NO_DESTINATION_REGION",
|
|
1107
|
+
/** The calculation didn't reprice this line, for example because the feature was off or a pass failed. Nothing was removed. */
|
|
1108
|
+
NOT_APPLICABLE = "NOT_APPLICABLE",
|
|
1109
|
+
/** The line's modifiers exceed its price at the destination's rate. Nothing was removed. */
|
|
1110
|
+
NOT_APPLICABLE_MODIFIERS = "NOT_APPLICABLE_MODIFIERS",
|
|
1111
|
+
/** A subscription line in a checkout whose currency differs from the site currency. Nothing was removed. */
|
|
1112
|
+
CONVERTED_CURRENCY_SUBSCRIPTION = "CONVERTED_CURRENCY_SUBSCRIPTION"
|
|
1113
|
+
}
|
|
1114
|
+
/** @enumType */
|
|
1115
|
+
type RepriceStatusWithLiterals = RepriceStatus | 'APPLIED' | 'KEPT' | 'STRIP_ONLY' | 'SAME_REGION' | 'SAME_COUNTRY' | 'NO_DESTINATION_REGION' | 'NOT_APPLICABLE' | 'NOT_APPLICABLE_MODIFIERS' | 'CONVERTED_CURRENCY_SUBSCRIPTION';
|
|
1116
|
+
/** Where the base region's rate came from. */
|
|
1117
|
+
declare enum BaseRateSource {
|
|
1118
|
+
/** The manual tax calculator computed the base tax for this calculation. */
|
|
1119
|
+
MANUAL_SPI = "MANUAL_SPI",
|
|
1120
|
+
/** The rate captured from Avalara by the embedded-rate probe. */
|
|
1121
|
+
AVALARA_PROBE = "AVALARA_PROBE"
|
|
1122
|
+
}
|
|
1123
|
+
/** @enumType */
|
|
1124
|
+
type BaseRateSourceWithLiterals = BaseRateSource | 'MANUAL_SPI' | 'AVALARA_PROBE';
|
|
1045
1125
|
interface ItemChangedDetails {
|
|
1046
1126
|
/**
|
|
1047
1127
|
* Line item quantity before change.
|
|
@@ -1935,6 +2015,56 @@ interface OrderTaxBreakdown {
|
|
|
1935
2015
|
/** The sum of all the tax from line items that calculated by the tax identifiers. */
|
|
1936
2016
|
aggregatedTaxAmount?: Price;
|
|
1937
2017
|
}
|
|
2018
|
+
/** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
|
|
2019
|
+
interface CrossBorderCalculation {
|
|
2020
|
+
/** Whether the calculation repriced the lines for the destination's tax. */
|
|
2021
|
+
applied?: boolean;
|
|
2022
|
+
/** Why the calculation didn't reprice the lines. Meaningful only when `applied` is `false`. */
|
|
2023
|
+
reason?: CrossBorderNotApplicableReasonWithLiterals;
|
|
2024
|
+
/** Mode the calculation ran in. `FULL` when the request set no mode. */
|
|
2025
|
+
mode?: CrossBorderRepricingModeWithLiterals;
|
|
2026
|
+
/**
|
|
2027
|
+
* Request ID of the calculation, for log correlation.
|
|
2028
|
+
* @maxLength 100
|
|
2029
|
+
*/
|
|
2030
|
+
requestId?: string | null;
|
|
2031
|
+
}
|
|
2032
|
+
/** Why a cross-border repricing calculation didn't reprice the lines. */
|
|
2033
|
+
declare enum CrossBorderNotApplicableReason {
|
|
2034
|
+
/** The repricing feature toggle is off. */
|
|
2035
|
+
FEATURE_DISABLED = "FEATURE_DISABLED",
|
|
2036
|
+
/** The site hasn't opted in to cross-border repricing. */
|
|
2037
|
+
NOT_OPTED_IN = "NOT_OPTED_IN",
|
|
2038
|
+
/** The site's prices no longer include tax. */
|
|
2039
|
+
TAX_INCLUSIVE_PRICING_OFF = "TAX_INCLUSIVE_PRICING_OFF",
|
|
2040
|
+
/** The base tax region doesn't exist on the site. */
|
|
2041
|
+
BASE_TAX_REGION_NOT_FOUND = "BASE_TAX_REGION_NOT_FOUND",
|
|
2042
|
+
/** The base region uses the manual calculator and has no tax mapping. */
|
|
2043
|
+
BASE_REGION_HAS_NO_MANUAL_MAPPING = "BASE_REGION_HAS_NO_MANUAL_MAPPING",
|
|
2044
|
+
/** No embedded rate is stored for one of the tax groups in the calculation. */
|
|
2045
|
+
EMBEDDED_RATE_MISSING = "EMBEDDED_RATE_MISSING",
|
|
2046
|
+
/** Removing the base tax or applying the destination's tax failed for a line item. */
|
|
2047
|
+
CROSS_BORDER_REPRICING_FAILED = "CROSS_BORDER_REPRICING_FAILED",
|
|
2048
|
+
/** The line items were repriced. Repricing the shipping option failed. */
|
|
2049
|
+
SHIPPING_REPRICING_FAILED = "SHIPPING_REPRICING_FAILED",
|
|
2050
|
+
/** The line items were repriced. Repricing the additional fees failed. */
|
|
2051
|
+
FEES_REPRICING_FAILED = "FEES_REPRICING_FAILED",
|
|
2052
|
+
/** The site's tax settings couldn't be read, so the calculation couldn't tell whether the site opted in. */
|
|
2053
|
+
SETTINGS_UNAVAILABLE = "SETTINGS_UNAVAILABLE"
|
|
2054
|
+
}
|
|
2055
|
+
/** @enumType */
|
|
2056
|
+
type CrossBorderNotApplicableReasonWithLiterals = CrossBorderNotApplicableReason | 'FEATURE_DISABLED' | 'NOT_OPTED_IN' | 'TAX_INCLUSIVE_PRICING_OFF' | 'BASE_TAX_REGION_NOT_FOUND' | 'BASE_REGION_HAS_NO_MANUAL_MAPPING' | 'EMBEDDED_RATE_MISSING' | 'CROSS_BORDER_REPRICING_FAILED' | 'SHIPPING_REPRICING_FAILED' | 'FEES_REPRICING_FAILED' | 'SETTINGS_UNAVAILABLE';
|
|
2057
|
+
/** How a cross-border repricing calculation is asked to run. This is the requested mode; a line's outcome is `CrossBorderPriceAdjustment.RepriceStatus`. */
|
|
2058
|
+
declare enum CrossBorderRepricingMode {
|
|
2059
|
+
/** Nothing is repriced. */
|
|
2060
|
+
DISABLED = "DISABLED",
|
|
2061
|
+
/** Base tax removed and no destination tax applied. A line repriced this way has the outcome `CrossBorderPriceAdjustment.RepriceStatus.STRIP_ONLY`. */
|
|
2062
|
+
STRIP_ONLY = "STRIP_ONLY",
|
|
2063
|
+
/** Base tax removed and the destination's tax applied. A request that sets no mode runs this way. */
|
|
2064
|
+
FULL = "FULL"
|
|
2065
|
+
}
|
|
2066
|
+
/** @enumType */
|
|
2067
|
+
type CrossBorderRepricingModeWithLiterals = CrossBorderRepricingMode | 'DISABLED' | 'STRIP_ONLY' | 'FULL';
|
|
1938
2068
|
interface BuyerDetails extends BuyerDetailsChangeTypeOneOf {
|
|
1939
2069
|
/** Indicates that buyer information was added during draft. */
|
|
1940
2070
|
added?: boolean;
|
|
@@ -3358,6 +3488,25 @@ interface CurrencyConversionDetails {
|
|
|
3358
3488
|
*/
|
|
3359
3489
|
conversionRate?: string | null;
|
|
3360
3490
|
}
|
|
3491
|
+
/** Cross-border repricing marker of an order, one per order, set once by the calculation that placed it. Every later edit reads it to keep repricing the order at the same base region. The per-line record is `CrossBorderPriceAdjustment`; the outcome of the last calculation is `OrderTaxInfo.crossBorderCalculation`. */
|
|
3492
|
+
interface CrossBorderRepricing {
|
|
3493
|
+
/**
|
|
3494
|
+
* Whether cross-border repricing is in force for this order: `true` when the placing calculation repriced the lines for the destination's tax, so every later edit keeps repricing them. `false` when that calculation answered not applicable or failed; such an order keeps its prices when edited. Unlike `taxInfo.crossBorderCalculation.applied`, which describes the last calculation and changes on edit, this never changes after creation.
|
|
3495
|
+
*
|
|
3496
|
+
* Default: `false`
|
|
3497
|
+
*/
|
|
3498
|
+
enabled?: boolean;
|
|
3499
|
+
/**
|
|
3500
|
+
* ID of the tax region whose tax is built into the catalog prices, as used for this order.
|
|
3501
|
+
* @format GUID
|
|
3502
|
+
*/
|
|
3503
|
+
baseTaxRegionId?: string | null;
|
|
3504
|
+
/**
|
|
3505
|
+
* ID of the base region's tax calculator when the order was placed.
|
|
3506
|
+
* @format GUID
|
|
3507
|
+
*/
|
|
3508
|
+
baseCalculatorId?: string | null;
|
|
3509
|
+
}
|
|
3361
3510
|
declare enum V1OrderStatus {
|
|
3362
3511
|
/** Order created, but not yet approved or canceled. */
|
|
3363
3512
|
INITIALIZED = "INITIALIZED",
|
|
@@ -6432,4 +6581,4 @@ interface SetBusinessLocationOptions {
|
|
|
6432
6581
|
businessLocation?: Location;
|
|
6433
6582
|
}
|
|
6434
6583
|
|
|
6435
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type Activity, type ActivityContentOneOf, ActivityType, type ActivityTypeWithLiterals, type AddLineItemsToDraftOrderApplicationErrors, type AddLineItemsToDraftOrderOptions, type AddLineItemsToDraftOrderRequest, type AddLineItemsToDraftOrderResponse, type AdditionalFee, type AdditionalFeeDetails, type AdditionalFeeOption, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, AttributionSource, type AttributionSourceWithLiterals, type AuthorizedPaymentCaptured, type AuthorizedPaymentCreated, type AuthorizedPaymentVoided, type Balance, type BalanceSummary, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingChangedDetails, type BillingDetails, type BillingDetailsChangeTypeOneOf, type BillingSettings, type BusinessLocationChangedDetails, type BusinessLocationDetails, type BusinessLocationDetailsChangeTypeOneOf, type BuyerChangedDetails, type BuyerDetails, type BuyerDetailsChangeTypeOneOf, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedDraftOrder, CalculationBehavior, type CalculationBehaviorWithLiterals, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CarrierError, type CarrierErrors, type CashRounding, type CatalogReference, type CatalogReferenceLineItem, type ChangeDraftOrderCurrencyApplicationErrors, type ChangeDraftOrderCurrencyRequest, type ChangeDraftOrderCurrencyResponse, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type ChargebackCreated, type ChargebackReversed, type Color, type CommitDraftOrderApplicationErrors, type CommitDraftOrderOptions, type CommitDraftOrderRequest, type CommitDraftOrderResponse, type CommonQueryWithEntityContext, type Coupon, type CreateCustomAdditionalFeesApplicationErrors, type CreateCustomAdditionalFeesOptions, type CreateCustomAdditionalFeesRequest, type CreateCustomAdditionalFeesResponse, type CreateCustomDiscountsApplicationErrors, type CreateCustomDiscountsOptions, type CreateCustomDiscountsRequest, type CreateCustomDiscountsResponse, type CreateDraftOrderApplicationErrors, type CreateDraftOrderOptions, type CreateDraftOrderOptionsSourceOneOf, type CreateDraftOrderRequest, type CreateDraftOrderRequestSourceOneOf, type CreateDraftOrderResponse, type CreateEmptyDraftOrderApplicationErrors, type CreateEmptyDraftOrderRequest, type CreateEmptyDraftOrderResponse, type CreateOrderFromDraftApplicationErrors, type CreateOrderFromDraftOptions, type CreateOrderFromDraftRequest, type CreateOrderFromDraftResponse, type CreatedBy, type CreatedByStringOneOf, type CreditCardDetails, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomActivity, type CustomAllowedActions, type CustomField, type CustomLineItem, type CyclePriceOverride, type DecimalQuantity, type DecimalQuantityOverride, type DecimalQuantityUnitOneOf, type DeleteCustomAdditionalFeesApplicationErrors, type DeleteCustomAdditionalFeesRequest, type DeleteCustomAdditionalFeesResponse, type DeleteCustomDiscountsApplicationErrors, type DeleteCustomDiscountsRequest, type DeleteCustomDiscountsResponse, type DeleteDraftOrderApplicationErrors, type DeleteDraftOrderRequest, type DeleteDraftOrderResponse, type DeliveryLogistics, type DeliveryTimeSlot, type DepositDetails, type DepositDetailsDepositOneOf, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesOverride, type Details, type DetailsKindOneOf, type DigitalFile, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountDetails, type DiscountOption, type DiscountOptionDiscountAmountOneOf, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DraftOrder, type DraftOrderChangesApplied, type DraftOrderCommitSettings, type DraftOrderCreatedEnvelope, type DraftOrderDeletedEnvelope, type DraftOrderInput, type DraftOrderQuery, type DraftOrderQuerySpec, type DraftOrderUpdatedEnvelope, type DraftOrdersQueryBuilder, type DraftOrdersQueryResult, EditingStatus, type EditingStatusWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReceipt, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FormIdentifier, type FormInfo, type FreeTrialPeriod, FulfillmentStatus, type FulfillmentStatusWithLiterals, type FulfillmentStatusesAggregate, type FullAddressContactDetails, type GetDraftOrderApplicationErrors, type GetDraftOrderRequest, type GetDraftOrderResponse, type GetOrderDraftabilityStatusRequest, type GetOrderDraftabilityStatusResponse, type GiftCardPaymentRefund, type IdAndApplied, type IdentificationData, type IdentificationDataIdOneOf, type InventoryUpdate, type ItemChangedDetails, type ItemChangedImplicitlyDetails, type ItemCombination, type ItemCombinationLineItem, type ItemDetails, type ItemDetailsChangeTypeOneOf, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemAmount, type LineItemChangeDetails, type LineItemChanges, type LineItemDescriptionLineChange, type LineItemDiscount, type LineItemExchangeData, type LineItemModifiersChange, type LineItemPriceChange, type LineItemProductNameChange, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, MeasurementUnit, type MeasurementUnitWithLiterals, type MembershipPaymentRefund, type MerchantComment, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifiersGroupsOverride, type NewExchangeOrderCreated, NonDraftableReason, type NonDraftableReasonWithLiterals, type Order, OrderActionType, type OrderActionTypeWithLiterals, OrderActivityTypeEnumActivityType, type OrderActivityTypeEnumActivityTypeWithLiterals, type OrderChange, type OrderChangeValueOneOf, type OrderCreateNotifications, type OrderCreateSettings, type OrderCreateSettingsEditableByOneOf, type OrderCreatedFromExchange, type OrderLineItem, type OrderRefunded, type OrderSettings, type OrderSettingsAllowedActionsOneOf, type OrderSettingsEditableByOneOf, OrderStatus, type OrderStatusWithLiterals, type OrderTaxBreakdown, type OrderTaxInfo, type OwnerApps, type PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf, type PaymentOptionOverride, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentPending, type PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed, type PaymentRefunded, PaymentStatus, type PaymentStatusWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupDetailsPickupMethod, type PickupDetailsPickupMethodWithLiterals, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type QueryDraftOrdersRequest, type QueryDraftOrdersResponse, type ReceiptCreated, type ReceiptCreatedReceiptInfoOneOf, type ReceiptSent, type ReceiptSentReceiptInfoOneOf, type RecipientInfoChangedDetails, type RecipientInfoDetails, type RecipientInfoDetailsChangeTypeOneOf, type RefundInitiated, type RefundedAsStoreCredit, type RefundedPayment, type RefundedPaymentKindOneOf, type RegularPayment, type RegularPaymentPaymentMethodDetailsOneOf, type RegularPaymentRefund, type RestockLocation, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type SavedPaymentMethod, type SecuredMedia, type ServiceProperties, type SetAdditionalFeesApplicationErrors, type SetAdditionalFeesRequest, type SetAdditionalFeesResponse, type SetBillingInfoApplicationErrors, type SetBillingInfoOptions, type SetBillingInfoRequest, type SetBillingInfoResponse, type SetBusinessLocationApplicationErrors, type SetBusinessLocationOptions, type SetBusinessLocationRequest, type SetBusinessLocationResponse, type SetBuyerInfoApplicationErrors, type SetBuyerInfoOptions, type SetBuyerInfoRequest, type SetBuyerInfoResponse, type SetDepositApplicationErrors, type SetDepositOptions, type SetDepositRequest, type SetDepositResponse, type SetDiscountsApplicationErrors, type SetDiscountsRequest, type SetDiscountsResponse, type SetRecipientInfoApplicationErrors, type SetRecipientInfoOptions, type SetRecipientInfoRequest, type SetRecipientInfoResponse, type SetShippingInfoApplicationErrors, type SetShippingInfoOptions, type SetShippingInfoRequest, type SetShippingInfoResponse, type SetTaxExemptionApplicationErrors, type SetTaxExemptionOptions, type SetTaxExemptionRequest, type SetTaxExemptionResponse, type ShippingChangedDetails, type ShippingDetails, type ShippingDetailsChangeTypeOneOf, type ShippingInformation, type ShippingInformationChange, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SourceType, type SourceTypeWithLiterals, SpecificItemsCouponBehavior, type SpecificItemsCouponBehaviorWithLiterals, type StreetAddress, SubscriptionActivation, type SubscriptionActivationWithLiterals, type SubscriptionCyclePricesOverride, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, type SubscriptionTitle, type SystemError, type TagList, type Tags, type TaxDetails, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsOptions, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type UpdateShippingInfoRequest, type UpdateShippingInfoResponse, type V1BalanceSummary, type V1CreatedBy, type V1CreatedByStringOneOf, type V1CyclePriceOverride, type V1DeliveryLogistics, type V1DeliveryLogisticsAddressOneOf, type V1DeliveryTimeSlot, V1OrderStatus, type V1OrderStatusWithLiterals, type V1PickupDetails, type V1ShippingInformation, type V1ShippingPrice, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, type WixReceipt, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, typedQueryDraftOrders, updateExtendedFields, updateLineItems, utils };
|
|
6584
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type Activity, type ActivityContentOneOf, ActivityType, type ActivityTypeWithLiterals, type AddLineItemsToDraftOrderApplicationErrors, type AddLineItemsToDraftOrderOptions, type AddLineItemsToDraftOrderRequest, type AddLineItemsToDraftOrderResponse, type AdditionalFee, type AdditionalFeeDetails, type AdditionalFeeOption, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, AttributionSource, type AttributionSourceWithLiterals, type AuthorizedPaymentCaptured, type AuthorizedPaymentCreated, type AuthorizedPaymentVoided, type Balance, type BalanceSummary, type BaseEventMetadata, BaseRateSource, type BaseRateSourceWithLiterals, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingChangedDetails, type BillingDetails, type BillingDetailsChangeTypeOneOf, type BillingSettings, type BusinessLocationChangedDetails, type BusinessLocationDetails, type BusinessLocationDetailsChangeTypeOneOf, type BuyerChangedDetails, type BuyerDetails, type BuyerDetailsChangeTypeOneOf, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedDraftOrder, CalculationBehavior, type CalculationBehaviorWithLiterals, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CarrierError, type CarrierErrors, type CashRounding, type CatalogReference, type CatalogReferenceLineItem, type ChangeDraftOrderCurrencyApplicationErrors, type ChangeDraftOrderCurrencyRequest, type ChangeDraftOrderCurrencyResponse, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type ChargebackCreated, type ChargebackReversed, type Color, type CommitDraftOrderApplicationErrors, type CommitDraftOrderOptions, type CommitDraftOrderRequest, type CommitDraftOrderResponse, type CommonQueryWithEntityContext, type Coupon, type CreateCustomAdditionalFeesApplicationErrors, type CreateCustomAdditionalFeesOptions, type CreateCustomAdditionalFeesRequest, type CreateCustomAdditionalFeesResponse, type CreateCustomDiscountsApplicationErrors, type CreateCustomDiscountsOptions, type CreateCustomDiscountsRequest, type CreateCustomDiscountsResponse, type CreateDraftOrderApplicationErrors, type CreateDraftOrderOptions, type CreateDraftOrderOptionsSourceOneOf, type CreateDraftOrderRequest, type CreateDraftOrderRequestSourceOneOf, type CreateDraftOrderResponse, type CreateEmptyDraftOrderApplicationErrors, type CreateEmptyDraftOrderRequest, type CreateEmptyDraftOrderResponse, type CreateOrderFromDraftApplicationErrors, type CreateOrderFromDraftOptions, type CreateOrderFromDraftRequest, type CreateOrderFromDraftResponse, type CreatedBy, type CreatedByStringOneOf, type CreditCardDetails, type CrossBorderCalculation, CrossBorderNotApplicableReason, type CrossBorderNotApplicableReasonWithLiterals, type CrossBorderPriceAdjustment, type CrossBorderRepricing, CrossBorderRepricingMode, type CrossBorderRepricingModeWithLiterals, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomActivity, type CustomAllowedActions, type CustomField, type CustomLineItem, type CyclePriceOverride, type DecimalQuantity, type DecimalQuantityOverride, type DecimalQuantityUnitOneOf, type DeleteCustomAdditionalFeesApplicationErrors, type DeleteCustomAdditionalFeesRequest, type DeleteCustomAdditionalFeesResponse, type DeleteCustomDiscountsApplicationErrors, type DeleteCustomDiscountsRequest, type DeleteCustomDiscountsResponse, type DeleteDraftOrderApplicationErrors, type DeleteDraftOrderRequest, type DeleteDraftOrderResponse, type DeliveryLogistics, type DeliveryTimeSlot, type DepositDetails, type DepositDetailsDepositOneOf, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesOverride, type Details, type DetailsKindOneOf, type DigitalFile, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountDetails, type DiscountOption, type DiscountOptionDiscountAmountOneOf, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DraftOrder, type DraftOrderChangesApplied, type DraftOrderCommitSettings, type DraftOrderCreatedEnvelope, type DraftOrderDeletedEnvelope, type DraftOrderInput, type DraftOrderQuery, type DraftOrderQuerySpec, type DraftOrderUpdatedEnvelope, type DraftOrdersQueryBuilder, type DraftOrdersQueryResult, EditingStatus, type EditingStatusWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReceipt, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FormIdentifier, type FormInfo, type FreeTrialPeriod, FulfillmentStatus, type FulfillmentStatusWithLiterals, type FulfillmentStatusesAggregate, type FullAddressContactDetails, type GetDraftOrderApplicationErrors, type GetDraftOrderRequest, type GetDraftOrderResponse, type GetOrderDraftabilityStatusRequest, type GetOrderDraftabilityStatusResponse, type GiftCardPaymentRefund, type IdAndApplied, type IdentificationData, type IdentificationDataIdOneOf, type InventoryUpdate, type ItemChangedDetails, type ItemChangedImplicitlyDetails, type ItemCombination, type ItemCombinationLineItem, type ItemDetails, type ItemDetailsChangeTypeOneOf, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemAmount, type LineItemChangeDetails, type LineItemChanges, type LineItemDescriptionLineChange, type LineItemDiscount, type LineItemExchangeData, type LineItemModifiersChange, type LineItemPriceChange, type LineItemProductNameChange, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, MeasurementUnit, type MeasurementUnitWithLiterals, type MembershipPaymentRefund, type MerchantComment, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifiersGroupsOverride, type NewExchangeOrderCreated, NonDraftableReason, type NonDraftableReasonWithLiterals, type Order, OrderActionType, type OrderActionTypeWithLiterals, OrderActivityTypeEnumActivityType, type OrderActivityTypeEnumActivityTypeWithLiterals, type OrderChange, type OrderChangeValueOneOf, type OrderCreateNotifications, type OrderCreateSettings, type OrderCreateSettingsEditableByOneOf, type OrderCreatedFromExchange, type OrderLineItem, type OrderRefunded, type OrderSettings, type OrderSettingsAllowedActionsOneOf, type OrderSettingsEditableByOneOf, OrderStatus, type OrderStatusWithLiterals, type OrderTaxBreakdown, type OrderTaxInfo, type OwnerApps, type PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf, type PaymentOptionOverride, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentPending, type PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed, type PaymentRefunded, PaymentStatus, type PaymentStatusWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupDetailsPickupMethod, type PickupDetailsPickupMethodWithLiterals, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type QueryDraftOrdersRequest, type QueryDraftOrdersResponse, type ReceiptCreated, type ReceiptCreatedReceiptInfoOneOf, type ReceiptSent, type ReceiptSentReceiptInfoOneOf, type RecipientInfoChangedDetails, type RecipientInfoDetails, type RecipientInfoDetailsChangeTypeOneOf, type RefundInitiated, type RefundedAsStoreCredit, type RefundedPayment, type RefundedPaymentKindOneOf, type RegularPayment, type RegularPaymentPaymentMethodDetailsOneOf, type RegularPaymentRefund, RepriceStatus, type RepriceStatusWithLiterals, type RestockLocation, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type SavedPaymentMethod, type SecuredMedia, type ServiceProperties, type SetAdditionalFeesApplicationErrors, type SetAdditionalFeesRequest, type SetAdditionalFeesResponse, type SetBillingInfoApplicationErrors, type SetBillingInfoOptions, type SetBillingInfoRequest, type SetBillingInfoResponse, type SetBusinessLocationApplicationErrors, type SetBusinessLocationOptions, type SetBusinessLocationRequest, type SetBusinessLocationResponse, type SetBuyerInfoApplicationErrors, type SetBuyerInfoOptions, type SetBuyerInfoRequest, type SetBuyerInfoResponse, type SetDepositApplicationErrors, type SetDepositOptions, type SetDepositRequest, type SetDepositResponse, type SetDiscountsApplicationErrors, type SetDiscountsRequest, type SetDiscountsResponse, type SetRecipientInfoApplicationErrors, type SetRecipientInfoOptions, type SetRecipientInfoRequest, type SetRecipientInfoResponse, type SetShippingInfoApplicationErrors, type SetShippingInfoOptions, type SetShippingInfoRequest, type SetShippingInfoResponse, type SetTaxExemptionApplicationErrors, type SetTaxExemptionOptions, type SetTaxExemptionRequest, type SetTaxExemptionResponse, type ShippingChangedDetails, type ShippingDetails, type ShippingDetailsChangeTypeOneOf, type ShippingInformation, type ShippingInformationChange, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SourceType, type SourceTypeWithLiterals, SpecificItemsCouponBehavior, type SpecificItemsCouponBehaviorWithLiterals, type StreetAddress, SubscriptionActivation, type SubscriptionActivationWithLiterals, type SubscriptionCyclePricesOverride, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, type SubscriptionTitle, type SystemError, type TagList, type Tags, type TaxDetails, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsOptions, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type UpdateShippingInfoRequest, type UpdateShippingInfoResponse, type V1BalanceSummary, type V1CreatedBy, type V1CreatedByStringOneOf, type V1CyclePriceOverride, type V1DeliveryLogistics, type V1DeliveryLogisticsAddressOneOf, type V1DeliveryTimeSlot, V1OrderStatus, type V1OrderStatusWithLiterals, type V1PickupDetails, type V1ShippingInformation, type V1ShippingPrice, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, type WixReceipt, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, typedQueryDraftOrders, updateExtendedFields, updateLineItems, utils };
|
|
@@ -25,9 +25,12 @@ __export(index_typings_exports, {
|
|
|
25
25
|
AdjustmentType: () => AdjustmentType,
|
|
26
26
|
AppliedDiscountDiscountType: () => AppliedDiscountDiscountType,
|
|
27
27
|
AttributionSource: () => AttributionSource,
|
|
28
|
+
BaseRateSource: () => BaseRateSource,
|
|
28
29
|
CalculationBehavior: () => CalculationBehavior,
|
|
29
30
|
ChannelType: () => ChannelType,
|
|
30
31
|
ChargeType: () => ChargeType,
|
|
32
|
+
CrossBorderNotApplicableReason: () => CrossBorderNotApplicableReason,
|
|
33
|
+
CrossBorderRepricingMode: () => CrossBorderRepricingMode,
|
|
31
34
|
DescriptionLineType: () => DescriptionLineType,
|
|
32
35
|
DimensionsUnit: () => DimensionsUnit,
|
|
33
36
|
DiscountReason: () => DiscountReason,
|
|
@@ -48,6 +51,7 @@ __export(index_typings_exports, {
|
|
|
48
51
|
PickupDetailsPickupMethod: () => PickupDetailsPickupMethod,
|
|
49
52
|
PickupMethod: () => PickupMethod,
|
|
50
53
|
ProductPeriodAlignment: () => ProductPeriodAlignment,
|
|
54
|
+
RepriceStatus: () => RepriceStatus,
|
|
51
55
|
RuleType: () => RuleType,
|
|
52
56
|
SortOrder: () => SortOrder,
|
|
53
57
|
SourceType: () => SourceType,
|
|
@@ -108,7 +112,10 @@ var TRANSFORM_PATHS_0 = [
|
|
|
108
112
|
{ path: "draftOrder.customLineItems.subscriptionSettings.startDate" },
|
|
109
113
|
{ path: "draftOrder.shippingInfo.logistics.deliverByDate" },
|
|
110
114
|
{ path: "draftOrder.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
111
|
-
{ path: "draftOrder.shippingInfo.logistics.deliveryTimeSlot.to" }
|
|
115
|
+
{ path: "draftOrder.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
116
|
+
{
|
|
117
|
+
path: "draftOrder.shippingInfo.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
118
|
+
}
|
|
112
119
|
];
|
|
113
120
|
var TRANSFORM_PATHS_1 = [
|
|
114
121
|
{ path: "draftOrder.customLineItems.media.focalPoint.x" },
|
|
@@ -149,6 +156,9 @@ var TRANSFORM_PATHS_2 = [
|
|
|
149
156
|
{
|
|
150
157
|
path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
|
|
151
158
|
},
|
|
159
|
+
{
|
|
160
|
+
path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.crossBorderAdjustment.baseRateCapturedDate"
|
|
161
|
+
},
|
|
152
162
|
{
|
|
153
163
|
path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
|
|
154
164
|
},
|
|
@@ -158,6 +168,9 @@ var TRANSFORM_PATHS_2 = [
|
|
|
158
168
|
{
|
|
159
169
|
path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to"
|
|
160
170
|
},
|
|
171
|
+
{
|
|
172
|
+
path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
173
|
+
},
|
|
161
174
|
{
|
|
162
175
|
path: "calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate"
|
|
163
176
|
},
|
|
@@ -167,6 +180,12 @@ var TRANSFORM_PATHS_2 = [
|
|
|
167
180
|
{
|
|
168
181
|
path: "calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to"
|
|
169
182
|
},
|
|
183
|
+
{
|
|
184
|
+
path: "calculatedDraftOrder.draftOrder.shippingInfo.shippingInfo.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
path: "calculatedDraftOrder.draftOrder.additionalFees.additionalFee.crossBorderAdjustment.baseRateCapturedDate"
|
|
188
|
+
},
|
|
170
189
|
{
|
|
171
190
|
path: "calculatedDraftOrder.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
172
191
|
},
|
|
@@ -261,7 +280,8 @@ var TRANSFORM_PATHS_6 = [
|
|
|
261
280
|
var TRANSFORM_PATHS_7 = [
|
|
262
281
|
{ path: "shippingInfo.logistics.deliverByDate" },
|
|
263
282
|
{ path: "shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
264
|
-
{ path: "shippingInfo.logistics.deliveryTimeSlot.to" }
|
|
283
|
+
{ path: "shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
284
|
+
{ path: "shippingInfo.cost.crossBorderAdjustment.baseRateCapturedDate" }
|
|
265
285
|
];
|
|
266
286
|
var TRANSFORM_PATHS_8 = [
|
|
267
287
|
{
|
|
@@ -293,6 +313,9 @@ var TRANSFORM_PATHS_11 = [
|
|
|
293
313
|
path: "committedDraftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
|
|
294
314
|
},
|
|
295
315
|
{ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.endDate" },
|
|
316
|
+
{
|
|
317
|
+
path: "committedDraftOrder.lineItems.lineItem.crossBorderAdjustment.baseRateCapturedDate"
|
|
318
|
+
},
|
|
296
319
|
{
|
|
297
320
|
path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
|
|
298
321
|
},
|
|
@@ -302,6 +325,9 @@ var TRANSFORM_PATHS_11 = [
|
|
|
302
325
|
{
|
|
303
326
|
path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to"
|
|
304
327
|
},
|
|
328
|
+
{
|
|
329
|
+
path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
330
|
+
},
|
|
305
331
|
{
|
|
306
332
|
path: "committedDraftOrder.shippingInfo.shippingInfo.logistics.deliverByDate"
|
|
307
333
|
},
|
|
@@ -311,6 +337,12 @@ var TRANSFORM_PATHS_11 = [
|
|
|
311
337
|
{
|
|
312
338
|
path: "committedDraftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to"
|
|
313
339
|
},
|
|
340
|
+
{
|
|
341
|
+
path: "committedDraftOrder.shippingInfo.shippingInfo.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
path: "committedDraftOrder.additionalFees.additionalFee.crossBorderAdjustment.baseRateCapturedDate"
|
|
345
|
+
},
|
|
314
346
|
{ path: "orderAfterCommit.createdDate" },
|
|
315
347
|
{ path: "orderAfterCommit.updatedDate" },
|
|
316
348
|
{ path: "orderAfterCommit.purchasedDate" },
|
|
@@ -321,10 +353,19 @@ var TRANSFORM_PATHS_11 = [
|
|
|
321
353
|
},
|
|
322
354
|
{ path: "orderAfterCommit.lineItems.serviceProperties.scheduledDate" },
|
|
323
355
|
{ path: "orderAfterCommit.lineItems.serviceProperties.endDate" },
|
|
356
|
+
{
|
|
357
|
+
path: "orderAfterCommit.lineItems.crossBorderAdjustment.baseRateCapturedDate"
|
|
358
|
+
},
|
|
324
359
|
{ path: "orderAfterCommit.shippingInfo.logistics.deliverByDate" },
|
|
325
360
|
{ path: "orderAfterCommit.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
326
361
|
{ path: "orderAfterCommit.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
327
|
-
{
|
|
362
|
+
{
|
|
363
|
+
path: "orderAfterCommit.shippingInfo.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
364
|
+
},
|
|
365
|
+
{ path: "orderAfterCommit.activities.createdDate" },
|
|
366
|
+
{
|
|
367
|
+
path: "orderAfterCommit.additionalFees.crossBorderAdjustment.baseRateCapturedDate"
|
|
368
|
+
}
|
|
328
369
|
];
|
|
329
370
|
var TRANSFORM_PATHS_12 = [
|
|
330
371
|
{ path: "committedDraftOrder.lineItems.lineItem.image.focalPoint.x" },
|
|
@@ -412,6 +453,9 @@ var TRANSFORM_PATHS_13 = [
|
|
|
412
453
|
path: "committedDraftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
|
|
413
454
|
},
|
|
414
455
|
{ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.endDate" },
|
|
456
|
+
{
|
|
457
|
+
path: "committedDraftOrder.lineItems.lineItem.crossBorderAdjustment.baseRateCapturedDate"
|
|
458
|
+
},
|
|
415
459
|
{
|
|
416
460
|
path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
|
|
417
461
|
},
|
|
@@ -421,6 +465,9 @@ var TRANSFORM_PATHS_13 = [
|
|
|
421
465
|
{
|
|
422
466
|
path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to"
|
|
423
467
|
},
|
|
468
|
+
{
|
|
469
|
+
path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
470
|
+
},
|
|
424
471
|
{
|
|
425
472
|
path: "committedDraftOrder.shippingInfo.shippingInfo.logistics.deliverByDate"
|
|
426
473
|
},
|
|
@@ -430,6 +477,12 @@ var TRANSFORM_PATHS_13 = [
|
|
|
430
477
|
{
|
|
431
478
|
path: "committedDraftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to"
|
|
432
479
|
},
|
|
480
|
+
{
|
|
481
|
+
path: "committedDraftOrder.shippingInfo.shippingInfo.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
path: "committedDraftOrder.additionalFees.additionalFee.crossBorderAdjustment.baseRateCapturedDate"
|
|
485
|
+
},
|
|
433
486
|
{ path: "createdOrder.createdDate" },
|
|
434
487
|
{ path: "createdOrder.updatedDate" },
|
|
435
488
|
{ path: "createdOrder.purchasedDate" },
|
|
@@ -440,10 +493,17 @@ var TRANSFORM_PATHS_13 = [
|
|
|
440
493
|
},
|
|
441
494
|
{ path: "createdOrder.lineItems.serviceProperties.scheduledDate" },
|
|
442
495
|
{ path: "createdOrder.lineItems.serviceProperties.endDate" },
|
|
496
|
+
{ path: "createdOrder.lineItems.crossBorderAdjustment.baseRateCapturedDate" },
|
|
443
497
|
{ path: "createdOrder.shippingInfo.logistics.deliverByDate" },
|
|
444
498
|
{ path: "createdOrder.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
445
499
|
{ path: "createdOrder.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
446
|
-
{
|
|
500
|
+
{
|
|
501
|
+
path: "createdOrder.shippingInfo.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
502
|
+
},
|
|
503
|
+
{ path: "createdOrder.activities.createdDate" },
|
|
504
|
+
{
|
|
505
|
+
path: "createdOrder.additionalFees.crossBorderAdjustment.baseRateCapturedDate"
|
|
506
|
+
}
|
|
447
507
|
];
|
|
448
508
|
var TRANSFORM_PATHS_14 = [
|
|
449
509
|
{ path: "committedDraftOrder.lineItems.lineItem.image.focalPoint.x" },
|
|
@@ -533,6 +593,9 @@ var TRANSFORM_PATHS_16 = [
|
|
|
533
593
|
},
|
|
534
594
|
{ path: "draftOrders.lineItems.lineItem.serviceProperties.scheduledDate" },
|
|
535
595
|
{ path: "draftOrders.lineItems.lineItem.serviceProperties.endDate" },
|
|
596
|
+
{
|
|
597
|
+
path: "draftOrders.lineItems.lineItem.crossBorderAdjustment.baseRateCapturedDate"
|
|
598
|
+
},
|
|
536
599
|
{
|
|
537
600
|
path: "draftOrders.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
|
|
538
601
|
},
|
|
@@ -542,12 +605,21 @@ var TRANSFORM_PATHS_16 = [
|
|
|
542
605
|
{
|
|
543
606
|
path: "draftOrders.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to"
|
|
544
607
|
},
|
|
608
|
+
{
|
|
609
|
+
path: "draftOrders.shippingInfo.changedDetails.shippingInfoBeforeChange.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
610
|
+
},
|
|
545
611
|
{ path: "draftOrders.shippingInfo.shippingInfo.logistics.deliverByDate" },
|
|
546
612
|
{
|
|
547
613
|
path: "draftOrders.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from"
|
|
548
614
|
},
|
|
549
615
|
{
|
|
550
616
|
path: "draftOrders.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
path: "draftOrders.shippingInfo.shippingInfo.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
path: "draftOrders.additionalFees.additionalFee.crossBorderAdjustment.baseRateCapturedDate"
|
|
551
623
|
}
|
|
552
624
|
];
|
|
553
625
|
var TRANSFORM_PATHS_17 = [
|
|
@@ -607,6 +679,9 @@ var TRANSFORM_PATHS_18 = [
|
|
|
607
679
|
},
|
|
608
680
|
{ path: "draftOrder.lineItems.lineItem.serviceProperties.scheduledDate" },
|
|
609
681
|
{ path: "draftOrder.lineItems.lineItem.serviceProperties.endDate" },
|
|
682
|
+
{
|
|
683
|
+
path: "draftOrder.lineItems.lineItem.crossBorderAdjustment.baseRateCapturedDate"
|
|
684
|
+
},
|
|
610
685
|
{
|
|
611
686
|
path: "draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
|
|
612
687
|
},
|
|
@@ -616,12 +691,21 @@ var TRANSFORM_PATHS_18 = [
|
|
|
616
691
|
{
|
|
617
692
|
path: "draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliveryTimeSlot.to"
|
|
618
693
|
},
|
|
694
|
+
{
|
|
695
|
+
path: "draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
696
|
+
},
|
|
619
697
|
{ path: "draftOrder.shippingInfo.shippingInfo.logistics.deliverByDate" },
|
|
620
698
|
{
|
|
621
699
|
path: "draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.from"
|
|
622
700
|
},
|
|
623
701
|
{
|
|
624
702
|
path: "draftOrder.shippingInfo.shippingInfo.logistics.deliveryTimeSlot.to"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
path: "draftOrder.shippingInfo.shippingInfo.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
path: "draftOrder.additionalFees.additionalFee.crossBorderAdjustment.baseRateCapturedDate"
|
|
625
709
|
}
|
|
626
710
|
];
|
|
627
711
|
var TRANSFORM_PATHS_19 = [
|
|
@@ -1791,6 +1875,23 @@ var MeasurementUnit = /* @__PURE__ */ ((MeasurementUnit2) => {
|
|
|
1791
1875
|
MeasurementUnit2["SQFT"] = "SQFT";
|
|
1792
1876
|
return MeasurementUnit2;
|
|
1793
1877
|
})(MeasurementUnit || {});
|
|
1878
|
+
var RepriceStatus = /* @__PURE__ */ ((RepriceStatus2) => {
|
|
1879
|
+
RepriceStatus2["APPLIED"] = "APPLIED";
|
|
1880
|
+
RepriceStatus2["KEPT"] = "KEPT";
|
|
1881
|
+
RepriceStatus2["STRIP_ONLY"] = "STRIP_ONLY";
|
|
1882
|
+
RepriceStatus2["SAME_REGION"] = "SAME_REGION";
|
|
1883
|
+
RepriceStatus2["SAME_COUNTRY"] = "SAME_COUNTRY";
|
|
1884
|
+
RepriceStatus2["NO_DESTINATION_REGION"] = "NO_DESTINATION_REGION";
|
|
1885
|
+
RepriceStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
1886
|
+
RepriceStatus2["NOT_APPLICABLE_MODIFIERS"] = "NOT_APPLICABLE_MODIFIERS";
|
|
1887
|
+
RepriceStatus2["CONVERTED_CURRENCY_SUBSCRIPTION"] = "CONVERTED_CURRENCY_SUBSCRIPTION";
|
|
1888
|
+
return RepriceStatus2;
|
|
1889
|
+
})(RepriceStatus || {});
|
|
1890
|
+
var BaseRateSource = /* @__PURE__ */ ((BaseRateSource2) => {
|
|
1891
|
+
BaseRateSource2["MANUAL_SPI"] = "MANUAL_SPI";
|
|
1892
|
+
BaseRateSource2["AVALARA_PROBE"] = "AVALARA_PROBE";
|
|
1893
|
+
return BaseRateSource2;
|
|
1894
|
+
})(BaseRateSource || {});
|
|
1794
1895
|
var VatType = /* @__PURE__ */ ((VatType2) => {
|
|
1795
1896
|
VatType2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
1796
1897
|
VatType2["CPF"] = "CPF";
|
|
@@ -1839,6 +1940,25 @@ var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
|
|
|
1839
1940
|
WeightUnit2["LB"] = "LB";
|
|
1840
1941
|
return WeightUnit2;
|
|
1841
1942
|
})(WeightUnit || {});
|
|
1943
|
+
var CrossBorderNotApplicableReason = /* @__PURE__ */ ((CrossBorderNotApplicableReason2) => {
|
|
1944
|
+
CrossBorderNotApplicableReason2["FEATURE_DISABLED"] = "FEATURE_DISABLED";
|
|
1945
|
+
CrossBorderNotApplicableReason2["NOT_OPTED_IN"] = "NOT_OPTED_IN";
|
|
1946
|
+
CrossBorderNotApplicableReason2["TAX_INCLUSIVE_PRICING_OFF"] = "TAX_INCLUSIVE_PRICING_OFF";
|
|
1947
|
+
CrossBorderNotApplicableReason2["BASE_TAX_REGION_NOT_FOUND"] = "BASE_TAX_REGION_NOT_FOUND";
|
|
1948
|
+
CrossBorderNotApplicableReason2["BASE_REGION_HAS_NO_MANUAL_MAPPING"] = "BASE_REGION_HAS_NO_MANUAL_MAPPING";
|
|
1949
|
+
CrossBorderNotApplicableReason2["EMBEDDED_RATE_MISSING"] = "EMBEDDED_RATE_MISSING";
|
|
1950
|
+
CrossBorderNotApplicableReason2["CROSS_BORDER_REPRICING_FAILED"] = "CROSS_BORDER_REPRICING_FAILED";
|
|
1951
|
+
CrossBorderNotApplicableReason2["SHIPPING_REPRICING_FAILED"] = "SHIPPING_REPRICING_FAILED";
|
|
1952
|
+
CrossBorderNotApplicableReason2["FEES_REPRICING_FAILED"] = "FEES_REPRICING_FAILED";
|
|
1953
|
+
CrossBorderNotApplicableReason2["SETTINGS_UNAVAILABLE"] = "SETTINGS_UNAVAILABLE";
|
|
1954
|
+
return CrossBorderNotApplicableReason2;
|
|
1955
|
+
})(CrossBorderNotApplicableReason || {});
|
|
1956
|
+
var CrossBorderRepricingMode = /* @__PURE__ */ ((CrossBorderRepricingMode2) => {
|
|
1957
|
+
CrossBorderRepricingMode2["DISABLED"] = "DISABLED";
|
|
1958
|
+
CrossBorderRepricingMode2["STRIP_ONLY"] = "STRIP_ONLY";
|
|
1959
|
+
CrossBorderRepricingMode2["FULL"] = "FULL";
|
|
1960
|
+
return CrossBorderRepricingMode2;
|
|
1961
|
+
})(CrossBorderRepricingMode || {});
|
|
1842
1962
|
var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
1843
1963
|
ChargeType2["PASS_ON"] = "PASS_ON";
|
|
1844
1964
|
ChargeType2["ABSORBED"] = "ABSORBED";
|
|
@@ -3184,9 +3304,12 @@ async function setBusinessLocation2(draftOrderId, options) {
|
|
|
3184
3304
|
AdjustmentType,
|
|
3185
3305
|
AppliedDiscountDiscountType,
|
|
3186
3306
|
AttributionSource,
|
|
3307
|
+
BaseRateSource,
|
|
3187
3308
|
CalculationBehavior,
|
|
3188
3309
|
ChannelType,
|
|
3189
3310
|
ChargeType,
|
|
3311
|
+
CrossBorderNotApplicableReason,
|
|
3312
|
+
CrossBorderRepricingMode,
|
|
3190
3313
|
DescriptionLineType,
|
|
3191
3314
|
DimensionsUnit,
|
|
3192
3315
|
DiscountReason,
|
|
@@ -3207,6 +3330,7 @@ async function setBusinessLocation2(draftOrderId, options) {
|
|
|
3207
3330
|
PickupDetailsPickupMethod,
|
|
3208
3331
|
PickupMethod,
|
|
3209
3332
|
ProductPeriodAlignment,
|
|
3333
|
+
RepriceStatus,
|
|
3210
3334
|
RuleType,
|
|
3211
3335
|
SortOrder,
|
|
3212
3336
|
SourceType,
|