@wix/auto_sdk_ecom_subscription-contracts 1.0.145 → 1.0.146
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 +109 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +121 -1
- package/build/cjs/index.typings.js +62 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +121 -1
- package/build/cjs/meta.js +62 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +105 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +121 -1
- package/build/es/index.typings.mjs +58 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +121 -1
- package/build/es/meta.mjs +58 -0
- 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 +145 -1
- package/build/internal/cjs/meta.d.ts +145 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +145 -1
- package/build/internal/es/meta.d.mts +145 -1
- package/package.json +2 -2
|
@@ -1125,6 +1125,76 @@ interface ServiceProperties {
|
|
|
1125
1125
|
*/
|
|
1126
1126
|
numberOfParticipants?: number | null;
|
|
1127
1127
|
}
|
|
1128
|
+
/**
|
|
1129
|
+
* Record of the cross-border repricing of a single line item, shipping option or fee on a site whose catalog prices include tax:
|
|
1130
|
+
* the catalog price the merchant entered, the base region's tax removed from it per unit, and the rate used.
|
|
1131
|
+
*
|
|
1132
|
+
* This record describes how the price was reached, not the resulting amount. The repriced figures are on the line itself:
|
|
1133
|
+
* `price` and `taxInfo` on an order line item, and their counterparts on a shipping cost or a fee.
|
|
1134
|
+
* Written by the calculation that priced the line and carried unchanged onto orders, draft orders and subscription contracts.
|
|
1135
|
+
*/
|
|
1136
|
+
interface CrossBorderPriceAdjustment {
|
|
1137
|
+
/**
|
|
1138
|
+
* ID of the tax region whose tax is built into the catalog prices.
|
|
1139
|
+
* @format GUID
|
|
1140
|
+
*/
|
|
1141
|
+
baseTaxRegionId?: string;
|
|
1142
|
+
/**
|
|
1143
|
+
* ID of the tax region resolved for the destination. Absent when no region matched.
|
|
1144
|
+
* @format GUID
|
|
1145
|
+
*/
|
|
1146
|
+
destinationTaxRegionId?: string | null;
|
|
1147
|
+
/** Price per unit as entered by the merchant, with the base region's tax inside it. */
|
|
1148
|
+
catalogPrice?: Price;
|
|
1149
|
+
/** 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. */
|
|
1150
|
+
baseTaxAmount?: Price;
|
|
1151
|
+
/** Outcome of the repricing for this line. */
|
|
1152
|
+
status?: RepriceStatusWithLiterals;
|
|
1153
|
+
/** 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`. */
|
|
1154
|
+
baseRateSource?: BaseRateSourceWithLiterals;
|
|
1155
|
+
/**
|
|
1156
|
+
* 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.
|
|
1157
|
+
* @format DECIMAL_VALUE
|
|
1158
|
+
* @decimalValue options { gte:0, maxScale:6 }
|
|
1159
|
+
*/
|
|
1160
|
+
baseRate?: string | null;
|
|
1161
|
+
/** When the base region's rate was captured. Set only when `baseRateSource` is `AVALARA_PROBE`. */
|
|
1162
|
+
baseRateCapturedDate?: Date | null;
|
|
1163
|
+
/** Whether the destination's tax is included in the repriced amount. Reserved for per-region display; not populated. */
|
|
1164
|
+
destinationTaxIncluded?: boolean | null;
|
|
1165
|
+
}
|
|
1166
|
+
/** Outcome of the repricing for one line. */
|
|
1167
|
+
declare enum RepriceStatus {
|
|
1168
|
+
/** Base tax removed and the destination's tax applied. */
|
|
1169
|
+
APPLIED = "APPLIED",
|
|
1170
|
+
/** The caller asked for the line to be left at its price. Nothing was removed. */
|
|
1171
|
+
KEPT = "KEPT",
|
|
1172
|
+
/** 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`. */
|
|
1173
|
+
STRIP_ONLY = "STRIP_ONLY",
|
|
1174
|
+
/** The destination is the base region. Nothing was removed. */
|
|
1175
|
+
SAME_REGION = "SAME_REGION",
|
|
1176
|
+
/** 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. */
|
|
1177
|
+
SAME_COUNTRY = "SAME_COUNTRY",
|
|
1178
|
+
/** No tax region matched the destination. Base tax removed and no destination tax applied. */
|
|
1179
|
+
NO_DESTINATION_REGION = "NO_DESTINATION_REGION",
|
|
1180
|
+
/** The calculation didn't reprice this line, for example because the feature was off or a pass failed. Nothing was removed. */
|
|
1181
|
+
NOT_APPLICABLE = "NOT_APPLICABLE",
|
|
1182
|
+
/** The line's modifiers exceed its price at the destination's rate. Nothing was removed. */
|
|
1183
|
+
NOT_APPLICABLE_MODIFIERS = "NOT_APPLICABLE_MODIFIERS",
|
|
1184
|
+
/** A subscription line in a checkout whose currency differs from the site currency. Nothing was removed. */
|
|
1185
|
+
CONVERTED_CURRENCY_SUBSCRIPTION = "CONVERTED_CURRENCY_SUBSCRIPTION"
|
|
1186
|
+
}
|
|
1187
|
+
/** @enumType */
|
|
1188
|
+
type RepriceStatusWithLiterals = RepriceStatus | 'APPLIED' | 'KEPT' | 'STRIP_ONLY' | 'SAME_REGION' | 'SAME_COUNTRY' | 'NO_DESTINATION_REGION' | 'NOT_APPLICABLE' | 'NOT_APPLICABLE_MODIFIERS' | 'CONVERTED_CURRENCY_SUBSCRIPTION';
|
|
1189
|
+
/** Where the base region's rate came from. */
|
|
1190
|
+
declare enum BaseRateSource {
|
|
1191
|
+
/** The manual tax calculator computed the base tax for this calculation. */
|
|
1192
|
+
MANUAL_SPI = "MANUAL_SPI",
|
|
1193
|
+
/** The rate captured from Avalara by the embedded-rate probe. */
|
|
1194
|
+
AVALARA_PROBE = "AVALARA_PROBE"
|
|
1195
|
+
}
|
|
1196
|
+
/** @enumType */
|
|
1197
|
+
type BaseRateSourceWithLiterals = BaseRateSource | 'MANUAL_SPI' | 'AVALARA_PROBE';
|
|
1128
1198
|
/** Buyer information. */
|
|
1129
1199
|
interface BuyerInfo extends BuyerInfoIdOneOf {
|
|
1130
1200
|
/**
|
|
@@ -1568,6 +1638,56 @@ interface OrderTaxBreakdown {
|
|
|
1568
1638
|
/** The sum of all the tax from line items that calculated by the tax identifiers. */
|
|
1569
1639
|
aggregatedTaxAmount?: Price;
|
|
1570
1640
|
}
|
|
1641
|
+
/** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
|
|
1642
|
+
interface CrossBorderCalculation {
|
|
1643
|
+
/** Whether the calculation repriced the lines for the destination's tax. */
|
|
1644
|
+
applied?: boolean;
|
|
1645
|
+
/** Why the calculation didn't reprice the lines. Meaningful only when `applied` is `false`. */
|
|
1646
|
+
reason?: CrossBorderNotApplicableReasonWithLiterals;
|
|
1647
|
+
/** Mode the calculation ran in. `FULL` when the request set no mode. */
|
|
1648
|
+
mode?: CrossBorderRepricingModeWithLiterals;
|
|
1649
|
+
/**
|
|
1650
|
+
* Request ID of the calculation, for log correlation.
|
|
1651
|
+
* @maxLength 100
|
|
1652
|
+
*/
|
|
1653
|
+
requestId?: string | null;
|
|
1654
|
+
}
|
|
1655
|
+
/** Why a cross-border repricing calculation didn't reprice the lines. */
|
|
1656
|
+
declare enum CrossBorderNotApplicableReason {
|
|
1657
|
+
/** The repricing feature toggle is off. */
|
|
1658
|
+
FEATURE_DISABLED = "FEATURE_DISABLED",
|
|
1659
|
+
/** The site hasn't opted in to cross-border repricing. */
|
|
1660
|
+
NOT_OPTED_IN = "NOT_OPTED_IN",
|
|
1661
|
+
/** The site's prices no longer include tax. */
|
|
1662
|
+
TAX_INCLUSIVE_PRICING_OFF = "TAX_INCLUSIVE_PRICING_OFF",
|
|
1663
|
+
/** The base tax region doesn't exist on the site. */
|
|
1664
|
+
BASE_TAX_REGION_NOT_FOUND = "BASE_TAX_REGION_NOT_FOUND",
|
|
1665
|
+
/** The base region uses the manual calculator and has no tax mapping. */
|
|
1666
|
+
BASE_REGION_HAS_NO_MANUAL_MAPPING = "BASE_REGION_HAS_NO_MANUAL_MAPPING",
|
|
1667
|
+
/** No embedded rate is stored for one of the tax groups in the calculation. */
|
|
1668
|
+
EMBEDDED_RATE_MISSING = "EMBEDDED_RATE_MISSING",
|
|
1669
|
+
/** Removing the base tax or applying the destination's tax failed for a line item. */
|
|
1670
|
+
CROSS_BORDER_REPRICING_FAILED = "CROSS_BORDER_REPRICING_FAILED",
|
|
1671
|
+
/** The line items were repriced. Repricing the shipping option failed. */
|
|
1672
|
+
SHIPPING_REPRICING_FAILED = "SHIPPING_REPRICING_FAILED",
|
|
1673
|
+
/** The line items were repriced. Repricing the additional fees failed. */
|
|
1674
|
+
FEES_REPRICING_FAILED = "FEES_REPRICING_FAILED",
|
|
1675
|
+
/** The site's tax settings couldn't be read, so the calculation couldn't tell whether the site opted in. */
|
|
1676
|
+
SETTINGS_UNAVAILABLE = "SETTINGS_UNAVAILABLE"
|
|
1677
|
+
}
|
|
1678
|
+
/** @enumType */
|
|
1679
|
+
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';
|
|
1680
|
+
/** How a cross-border repricing calculation is asked to run. This is the requested mode; a line's outcome is `CrossBorderPriceAdjustment.RepriceStatus`. */
|
|
1681
|
+
declare enum CrossBorderRepricingMode {
|
|
1682
|
+
/** Nothing is repriced. */
|
|
1683
|
+
DISABLED = "DISABLED",
|
|
1684
|
+
/** Base tax removed and no destination tax applied. A line repriced this way has the outcome `CrossBorderPriceAdjustment.RepriceStatus.STRIP_ONLY`. */
|
|
1685
|
+
STRIP_ONLY = "STRIP_ONLY",
|
|
1686
|
+
/** Base tax removed and the destination's tax applied. A request that sets no mode runs this way. */
|
|
1687
|
+
FULL = "FULL"
|
|
1688
|
+
}
|
|
1689
|
+
/** @enumType */
|
|
1690
|
+
type CrossBorderRepricingModeWithLiterals = CrossBorderRepricingMode | 'DISABLED' | 'STRIP_ONLY' | 'FULL';
|
|
1571
1691
|
interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
|
|
1572
1692
|
/** Coupon applied by the customer. */
|
|
1573
1693
|
coupon?: Coupon;
|
|
@@ -3211,4 +3331,4 @@ declare const utils: {
|
|
|
3211
3331
|
query: _wix_sdk_types.QueryHelpers<SubscriptionContract, SubscriptionContractQuerySpec, SubscriptionContractQuery>;
|
|
3212
3332
|
};
|
|
3213
3333
|
|
|
3214
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, ActionInitiator, type ActionInitiatorWithLiterals, type ActivityAuthor, type ActivityAuthorValueOneOf, ActivityType, type ActivityTypeWithLiterals, type AdditionalFee, type AdditionalFeeDelta, type AdditionalFeeDeltaDeltaDetailsOneOf, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type AdditionalFeeSummary, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDelta, type AppliedDiscountDeltaDeltaDetailsOneOf, type AppliedDiscountDiscountSourceOneOf, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingSettings, type BulkActionMetadata, type BulkCreateSubscriptionContractsRequest, type BulkCreateSubscriptionContractsResponse, type BulkSubscriptionContractResult, type BulkUpdateSubscriptionContractsRequest, type BulkUpdateSubscriptionContractsResponse, type BuyerInfo, type BuyerInfoIdOneOf, type CatalogReference, type CatalogReferenceOptionsBeforeChange, ChangeType, type ChangeTypeWithLiterals, type ChangesAppliedActivity, type ChangesAppliedActivityTargetOneOf, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type Color, type CommitSubscriptionContractChangesRequest, type CommitSubscriptionContractChangesResponse, type CommonQueryWithEntityContext, type ContractChange, type ContractChangeChangeDetailsOneOf, ContractChangeType, type ContractChangeTypeWithLiterals, type ContractTarget, type Coupon, type CreateSubscriptionContractRequest, type CreateSubscriptionContractResponse, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomField, type CyclePriceOverride, type DecimalQuantity, type DecimalQuantityUnitOneOf, type DeliveryLogistics, type DeliveryLogisticsAddressOneOf, type DeliveryProfileIdBeforeChange, type DeliveryTimeSlot, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesBeforeChange, type DigitalFile, type DigitalFileBeforeChange, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, type DiscountSummary, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type FocalPoint, type FreeTrialPeriod, type FulfillerIdBeforeChange, type FullAddressContactDetails, type GetSubscriptionContractApplicationErrors, type GetSubscriptionContractRequest, type GetSubscriptionContractResponse, type IdentificationData, type IdentificationDataIdOneOf, type ImageBeforeChange, type InventoryAppIdBeforeChange, type ItemChangedDetails, type ItemCombination, type ItemCombinationLineItem, type ItemMetadata, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeBeforeChange, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemChanges, type LineItemCyclePriceOverrides, type LineItemDelta, type LineItemDeltaDeltaDetailsOneOf, type LineItemDiscount, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemSummary, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type MaskedSubscriptionContract, MeasurementUnit, type MeasurementUnitWithLiterals, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifierGroupsBeforeChange, type OrderLineItem, type OrderTaxBreakdown, type OrderTaxInfo, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PhysicalPropertiesBeforeChange, type PickupAddress, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceDescriptionBeforeChange, type PriceSummary, type PriceUndeterminedBeforeChange, type ProductName, type ProductNameBeforeChange, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type QuerySubscriptionContractsRequest, type QuerySubscriptionContractsResponse, type RestockLocation, type RestoreInfo, type RootCatalogItemIdBeforeChange, type ServiceProperties, type ShippingGroupIdBeforeChange, type ShippingInformation, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SpecificItemsCouponBehavior, type SpecificItemsCouponBehaviorWithLiterals, type StreetAddress, type SubscriptionCommitSettings, type SubscriptionContract, type SubscriptionContractActivity, type SubscriptionContractActivityContentOneOf, type SubscriptionContractActivityTargetOneOf, type SubscriptionContractCanceled, type SubscriptionContractChangesCommitted, type SubscriptionContractChargeUpcoming, type SubscriptionContractCommittedEnvelope, type SubscriptionContractCreatedEnvelope, type SubscriptionContractDeletedEnvelope, type SubscriptionContractDiffs, type SubscriptionContractExpired, type SubscriptionContractQuery, type SubscriptionContractQuerySpec, type SubscriptionContractSettings, type SubscriptionContractUpdatedEnvelope, type SubscriptionContractsQueryBuilder, type SubscriptionContractsQueryResult, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, SubscriptionSettingsProductPeriodAlignment, type SubscriptionSettingsProductPeriodAlignmentWithLiterals, type SubscriptionTitle, type TaxInfoBeforeChange, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateSubscriptionContractRequest, type UpdateSubscriptionContractResponse, type V1BillingSettings, type V1CyclePriceOverride, type V1FreeTrialPeriod, type V1SubscriptionDescription, type V1SubscriptionSettings, type V1SubscriptionTitle, V2SubscriptionFrequency, type V2SubscriptionFrequencyWithLiterals, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, getSubscriptionContract, onSubscriptionContractCommitted, onSubscriptionContractCreated, onSubscriptionContractDeleted, onSubscriptionContractUpdated, querySubscriptionContracts, typedQuerySubscriptionContracts, utils };
|
|
3334
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, ActionInitiator, type ActionInitiatorWithLiterals, type ActivityAuthor, type ActivityAuthorValueOneOf, ActivityType, type ActivityTypeWithLiterals, type AdditionalFee, type AdditionalFeeDelta, type AdditionalFeeDeltaDeltaDetailsOneOf, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type AdditionalFeeSummary, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDelta, type AppliedDiscountDeltaDeltaDetailsOneOf, type AppliedDiscountDiscountSourceOneOf, type BaseEventMetadata, BaseRateSource, type BaseRateSourceWithLiterals, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingSettings, type BulkActionMetadata, type BulkCreateSubscriptionContractsRequest, type BulkCreateSubscriptionContractsResponse, type BulkSubscriptionContractResult, type BulkUpdateSubscriptionContractsRequest, type BulkUpdateSubscriptionContractsResponse, type BuyerInfo, type BuyerInfoIdOneOf, type CatalogReference, type CatalogReferenceOptionsBeforeChange, ChangeType, type ChangeTypeWithLiterals, type ChangesAppliedActivity, type ChangesAppliedActivityTargetOneOf, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type Color, type CommitSubscriptionContractChangesRequest, type CommitSubscriptionContractChangesResponse, type CommonQueryWithEntityContext, type ContractChange, type ContractChangeChangeDetailsOneOf, ContractChangeType, type ContractChangeTypeWithLiterals, type ContractTarget, type Coupon, type CreateSubscriptionContractRequest, type CreateSubscriptionContractResponse, type CrossBorderCalculation, CrossBorderNotApplicableReason, type CrossBorderNotApplicableReasonWithLiterals, type CrossBorderPriceAdjustment, CrossBorderRepricingMode, type CrossBorderRepricingModeWithLiterals, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomField, type CyclePriceOverride, type DecimalQuantity, type DecimalQuantityUnitOneOf, type DeliveryLogistics, type DeliveryLogisticsAddressOneOf, type DeliveryProfileIdBeforeChange, type DeliveryTimeSlot, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesBeforeChange, type DigitalFile, type DigitalFileBeforeChange, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, type DiscountSummary, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type FocalPoint, type FreeTrialPeriod, type FulfillerIdBeforeChange, type FullAddressContactDetails, type GetSubscriptionContractApplicationErrors, type GetSubscriptionContractRequest, type GetSubscriptionContractResponse, type IdentificationData, type IdentificationDataIdOneOf, type ImageBeforeChange, type InventoryAppIdBeforeChange, type ItemChangedDetails, type ItemCombination, type ItemCombinationLineItem, type ItemMetadata, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeBeforeChange, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemChanges, type LineItemCyclePriceOverrides, type LineItemDelta, type LineItemDeltaDeltaDetailsOneOf, type LineItemDiscount, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemSummary, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type MaskedSubscriptionContract, MeasurementUnit, type MeasurementUnitWithLiterals, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifierGroupsBeforeChange, type OrderLineItem, type OrderTaxBreakdown, type OrderTaxInfo, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PhysicalPropertiesBeforeChange, type PickupAddress, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceDescriptionBeforeChange, type PriceSummary, type PriceUndeterminedBeforeChange, type ProductName, type ProductNameBeforeChange, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type QuerySubscriptionContractsRequest, type QuerySubscriptionContractsResponse, RepriceStatus, type RepriceStatusWithLiterals, type RestockLocation, type RestoreInfo, type RootCatalogItemIdBeforeChange, type ServiceProperties, type ShippingGroupIdBeforeChange, type ShippingInformation, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SpecificItemsCouponBehavior, type SpecificItemsCouponBehaviorWithLiterals, type StreetAddress, type SubscriptionCommitSettings, type SubscriptionContract, type SubscriptionContractActivity, type SubscriptionContractActivityContentOneOf, type SubscriptionContractActivityTargetOneOf, type SubscriptionContractCanceled, type SubscriptionContractChangesCommitted, type SubscriptionContractChargeUpcoming, type SubscriptionContractCommittedEnvelope, type SubscriptionContractCreatedEnvelope, type SubscriptionContractDeletedEnvelope, type SubscriptionContractDiffs, type SubscriptionContractExpired, type SubscriptionContractQuery, type SubscriptionContractQuerySpec, type SubscriptionContractSettings, type SubscriptionContractUpdatedEnvelope, type SubscriptionContractsQueryBuilder, type SubscriptionContractsQueryResult, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, SubscriptionSettingsProductPeriodAlignment, type SubscriptionSettingsProductPeriodAlignmentWithLiterals, type SubscriptionTitle, type TaxInfoBeforeChange, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateSubscriptionContractRequest, type UpdateSubscriptionContractResponse, type V1BillingSettings, type V1CyclePriceOverride, type V1FreeTrialPeriod, type V1SubscriptionDescription, type V1SubscriptionSettings, type V1SubscriptionTitle, V2SubscriptionFrequency, type V2SubscriptionFrequencyWithLiterals, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, getSubscriptionContract, onSubscriptionContractCommitted, onSubscriptionContractCreated, onSubscriptionContractDeleted, onSubscriptionContractUpdated, querySubscriptionContracts, typedQuerySubscriptionContracts, utils };
|
|
@@ -23,9 +23,18 @@ var TRANSFORM_PATHS_0 = [
|
|
|
23
23
|
},
|
|
24
24
|
{ path: "subscriptionContract.lineItems.serviceProperties.scheduledDate" },
|
|
25
25
|
{ path: "subscriptionContract.lineItems.serviceProperties.endDate" },
|
|
26
|
+
{
|
|
27
|
+
path: "subscriptionContract.lineItems.crossBorderAdjustment.baseRateCapturedDate"
|
|
28
|
+
},
|
|
26
29
|
{ path: "subscriptionContract.shippingInfo.logistics.deliverByDate" },
|
|
27
30
|
{ path: "subscriptionContract.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
28
31
|
{ path: "subscriptionContract.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
32
|
+
{
|
|
33
|
+
path: "subscriptionContract.shippingInfo.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
path: "subscriptionContract.additionalFees.crossBorderAdjustment.baseRateCapturedDate"
|
|
37
|
+
},
|
|
29
38
|
{ path: "subscriptionContract.activities.createdDate" }
|
|
30
39
|
];
|
|
31
40
|
var TRANSFORM_PATHS_1 = [
|
|
@@ -60,11 +69,20 @@ var TRANSFORM_PATHS_2 = [
|
|
|
60
69
|
},
|
|
61
70
|
{ path: "subscriptionContracts.lineItems.serviceProperties.scheduledDate" },
|
|
62
71
|
{ path: "subscriptionContracts.lineItems.serviceProperties.endDate" },
|
|
72
|
+
{
|
|
73
|
+
path: "subscriptionContracts.lineItems.crossBorderAdjustment.baseRateCapturedDate"
|
|
74
|
+
},
|
|
63
75
|
{ path: "subscriptionContracts.shippingInfo.logistics.deliverByDate" },
|
|
64
76
|
{
|
|
65
77
|
path: "subscriptionContracts.shippingInfo.logistics.deliveryTimeSlot.from"
|
|
66
78
|
},
|
|
67
79
|
{ path: "subscriptionContracts.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
80
|
+
{
|
|
81
|
+
path: "subscriptionContracts.shippingInfo.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
path: "subscriptionContracts.additionalFees.crossBorderAdjustment.baseRateCapturedDate"
|
|
85
|
+
},
|
|
68
86
|
{ path: "subscriptionContracts.activities.createdDate" }
|
|
69
87
|
];
|
|
70
88
|
var TRANSFORM_PATHS_3 = [
|
|
@@ -338,6 +356,23 @@ var MeasurementUnit = /* @__PURE__ */ ((MeasurementUnit2) => {
|
|
|
338
356
|
MeasurementUnit2["SQFT"] = "SQFT";
|
|
339
357
|
return MeasurementUnit2;
|
|
340
358
|
})(MeasurementUnit || {});
|
|
359
|
+
var RepriceStatus = /* @__PURE__ */ ((RepriceStatus2) => {
|
|
360
|
+
RepriceStatus2["APPLIED"] = "APPLIED";
|
|
361
|
+
RepriceStatus2["KEPT"] = "KEPT";
|
|
362
|
+
RepriceStatus2["STRIP_ONLY"] = "STRIP_ONLY";
|
|
363
|
+
RepriceStatus2["SAME_REGION"] = "SAME_REGION";
|
|
364
|
+
RepriceStatus2["SAME_COUNTRY"] = "SAME_COUNTRY";
|
|
365
|
+
RepriceStatus2["NO_DESTINATION_REGION"] = "NO_DESTINATION_REGION";
|
|
366
|
+
RepriceStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
367
|
+
RepriceStatus2["NOT_APPLICABLE_MODIFIERS"] = "NOT_APPLICABLE_MODIFIERS";
|
|
368
|
+
RepriceStatus2["CONVERTED_CURRENCY_SUBSCRIPTION"] = "CONVERTED_CURRENCY_SUBSCRIPTION";
|
|
369
|
+
return RepriceStatus2;
|
|
370
|
+
})(RepriceStatus || {});
|
|
371
|
+
var BaseRateSource = /* @__PURE__ */ ((BaseRateSource2) => {
|
|
372
|
+
BaseRateSource2["MANUAL_SPI"] = "MANUAL_SPI";
|
|
373
|
+
BaseRateSource2["AVALARA_PROBE"] = "AVALARA_PROBE";
|
|
374
|
+
return BaseRateSource2;
|
|
375
|
+
})(BaseRateSource || {});
|
|
341
376
|
var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
|
|
342
377
|
WeightUnit2["UNSPECIFIED_WEIGHT_UNIT"] = "UNSPECIFIED_WEIGHT_UNIT";
|
|
343
378
|
WeightUnit2["KG"] = "KG";
|
|
@@ -360,6 +395,25 @@ var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
|
360
395
|
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
361
396
|
return PickupMethod2;
|
|
362
397
|
})(PickupMethod || {});
|
|
398
|
+
var CrossBorderNotApplicableReason = /* @__PURE__ */ ((CrossBorderNotApplicableReason2) => {
|
|
399
|
+
CrossBorderNotApplicableReason2["FEATURE_DISABLED"] = "FEATURE_DISABLED";
|
|
400
|
+
CrossBorderNotApplicableReason2["NOT_OPTED_IN"] = "NOT_OPTED_IN";
|
|
401
|
+
CrossBorderNotApplicableReason2["TAX_INCLUSIVE_PRICING_OFF"] = "TAX_INCLUSIVE_PRICING_OFF";
|
|
402
|
+
CrossBorderNotApplicableReason2["BASE_TAX_REGION_NOT_FOUND"] = "BASE_TAX_REGION_NOT_FOUND";
|
|
403
|
+
CrossBorderNotApplicableReason2["BASE_REGION_HAS_NO_MANUAL_MAPPING"] = "BASE_REGION_HAS_NO_MANUAL_MAPPING";
|
|
404
|
+
CrossBorderNotApplicableReason2["EMBEDDED_RATE_MISSING"] = "EMBEDDED_RATE_MISSING";
|
|
405
|
+
CrossBorderNotApplicableReason2["CROSS_BORDER_REPRICING_FAILED"] = "CROSS_BORDER_REPRICING_FAILED";
|
|
406
|
+
CrossBorderNotApplicableReason2["SHIPPING_REPRICING_FAILED"] = "SHIPPING_REPRICING_FAILED";
|
|
407
|
+
CrossBorderNotApplicableReason2["FEES_REPRICING_FAILED"] = "FEES_REPRICING_FAILED";
|
|
408
|
+
CrossBorderNotApplicableReason2["SETTINGS_UNAVAILABLE"] = "SETTINGS_UNAVAILABLE";
|
|
409
|
+
return CrossBorderNotApplicableReason2;
|
|
410
|
+
})(CrossBorderNotApplicableReason || {});
|
|
411
|
+
var CrossBorderRepricingMode = /* @__PURE__ */ ((CrossBorderRepricingMode2) => {
|
|
412
|
+
CrossBorderRepricingMode2["DISABLED"] = "DISABLED";
|
|
413
|
+
CrossBorderRepricingMode2["STRIP_ONLY"] = "STRIP_ONLY";
|
|
414
|
+
CrossBorderRepricingMode2["FULL"] = "FULL";
|
|
415
|
+
return CrossBorderRepricingMode2;
|
|
416
|
+
})(CrossBorderRepricingMode || {});
|
|
363
417
|
var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
|
|
364
418
|
DiscountType2["GLOBAL"] = "GLOBAL";
|
|
365
419
|
DiscountType2["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
|
|
@@ -600,10 +654,13 @@ export {
|
|
|
600
654
|
ActivityType,
|
|
601
655
|
AdditionalFeeSource,
|
|
602
656
|
AdjustmentType,
|
|
657
|
+
BaseRateSource,
|
|
603
658
|
ChangeType,
|
|
604
659
|
ChannelType,
|
|
605
660
|
ChargeType,
|
|
606
661
|
ContractChangeType,
|
|
662
|
+
CrossBorderNotApplicableReason,
|
|
663
|
+
CrossBorderRepricingMode,
|
|
607
664
|
DescriptionLineType,
|
|
608
665
|
DimensionsUnit,
|
|
609
666
|
DiscountReason,
|
|
@@ -615,6 +672,7 @@ export {
|
|
|
615
672
|
PaymentOptionType,
|
|
616
673
|
PickupMethod,
|
|
617
674
|
ProductPeriodAlignment,
|
|
675
|
+
RepriceStatus,
|
|
618
676
|
SortOrder,
|
|
619
677
|
SpecificItemsCouponBehavior,
|
|
620
678
|
SubscriptionFrequency,
|