@wix/auto_sdk_ecom_subscription-contracts 1.0.145 → 1.0.147
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 +190 -56
- package/build/cjs/index.typings.js +62 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +190 -56
- 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 +190 -56
- package/build/es/index.typings.mjs +58 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +190 -56
- 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 +218 -60
- package/build/internal/cjs/meta.d.ts +218 -60
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +218 -60
- package/build/internal/es/meta.d.mts +218 -60
- package/package.json +2 -2
|
@@ -6,7 +6,7 @@ import { QuerySpec, Query, NonNullablePaths } from '@wix/sdk-types';
|
|
|
6
6
|
*
|
|
7
7
|
* A subscription contract is created when a buyer checks out with a subscription item. Each billing cycle, an order is created from the contract's current content. The order's `lineItems.subscriptionInfo.id` holds the contract ID, and `lineItems.subscriptionInfo.cycleNumber` holds the billing cycle the order is for.
|
|
8
8
|
*
|
|
9
|
-
* To change a subscription contract, create a draft subscription contract, edit it, and commit it.
|
|
9
|
+
* To change a subscription contract, create a [draft subscription contract](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/payments/subscriptions/draft-subscription-contracts/introduction), edit it, and commit it.
|
|
10
10
|
*/
|
|
11
11
|
interface SubscriptionContract {
|
|
12
12
|
/**
|
|
@@ -190,9 +190,13 @@ interface V1SubscriptionSettings {
|
|
|
190
190
|
}
|
|
191
191
|
declare enum SubscriptionFrequency {
|
|
192
192
|
UNDEFINED = "UNDEFINED",
|
|
193
|
+
/** Day. */
|
|
193
194
|
DAY = "DAY",
|
|
195
|
+
/** Week. */
|
|
194
196
|
WEEK = "WEEK",
|
|
197
|
+
/** Month. */
|
|
195
198
|
MONTH = "MONTH",
|
|
199
|
+
/** Year. */
|
|
196
200
|
YEAR = "YEAR"
|
|
197
201
|
}
|
|
198
202
|
/** @enumType */
|
|
@@ -757,10 +761,16 @@ interface DigitalFile {
|
|
|
757
761
|
interface SubscriptionInfo {
|
|
758
762
|
/**
|
|
759
763
|
* Subscription ID.
|
|
764
|
+
*
|
|
765
|
+
* For a subscription bought through Wix eCommerce, this is the ID of the subscription contract the order was created from.
|
|
766
|
+
* 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).
|
|
760
767
|
* @format GUID
|
|
761
768
|
*/
|
|
762
769
|
_id?: string | null;
|
|
763
|
-
/**
|
|
770
|
+
/**
|
|
771
|
+
* Billing cycle the order is for. For example, `3` for the third billing cycle of a subscription.
|
|
772
|
+
* When a subscription starts with a free trial, the order created at checkout is for cycle `0`.
|
|
773
|
+
*/
|
|
764
774
|
cycleNumber?: number;
|
|
765
775
|
/**
|
|
766
776
|
* Subscription option title. For example, `"Monthly coffee Subscription"`.
|
|
@@ -815,7 +825,7 @@ interface SubscriptionDescription {
|
|
|
815
825
|
translated?: string | null;
|
|
816
826
|
}
|
|
817
827
|
interface SubscriptionSettings {
|
|
818
|
-
/** Frequency of
|
|
828
|
+
/** Frequency unit of the billing cycle. */
|
|
819
829
|
frequency?: V2SubscriptionFrequencyWithLiterals;
|
|
820
830
|
/**
|
|
821
831
|
* Number of frequency units in a billing cycle. For example, frequency `MONTH` with interval `3` means billing every 3 months.
|
|
@@ -823,16 +833,20 @@ interface SubscriptionSettings {
|
|
|
823
833
|
* @max 3650
|
|
824
834
|
*/
|
|
825
835
|
interval?: number | null;
|
|
826
|
-
/** Whether subscription
|
|
836
|
+
/** Whether the subscription renews automatically at the end of each billing cycle. */
|
|
827
837
|
autoRenewal?: boolean;
|
|
828
838
|
/**
|
|
829
|
-
* Number of billing cycles before subscription ends. Ignored
|
|
839
|
+
* Number of billing cycles before the subscription ends. Ignored when `autoRenewal` is `true`.
|
|
830
840
|
* @min 1
|
|
831
841
|
*/
|
|
832
842
|
billingCycles?: number | null;
|
|
833
|
-
/** Whether
|
|
843
|
+
/** Whether the buyer can cancel the subscription. */
|
|
834
844
|
enableCustomerCancellation?: boolean;
|
|
835
|
-
/**
|
|
845
|
+
/**
|
|
846
|
+
* Free trial period before the first billing cycle starts.
|
|
847
|
+
*
|
|
848
|
+
* Returned only when the subscription has a free trial.
|
|
849
|
+
*/
|
|
836
850
|
freeTrialPeriod?: FreeTrialPeriod;
|
|
837
851
|
}
|
|
838
852
|
/** Frequency unit of recurring payment */
|
|
@@ -846,7 +860,7 @@ declare enum V2SubscriptionFrequency {
|
|
|
846
860
|
/** @enumType */
|
|
847
861
|
type V2SubscriptionFrequencyWithLiterals = V2SubscriptionFrequency | 'UNDEFINED' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR';
|
|
848
862
|
interface FreeTrialPeriod {
|
|
849
|
-
/** Frequency of
|
|
863
|
+
/** Frequency unit of the free trial period. */
|
|
850
864
|
frequency?: V2SubscriptionFrequencyWithLiterals;
|
|
851
865
|
/**
|
|
852
866
|
* Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial.
|
|
@@ -1125,6 +1139,76 @@ interface ServiceProperties {
|
|
|
1125
1139
|
*/
|
|
1126
1140
|
numberOfParticipants?: number | null;
|
|
1127
1141
|
}
|
|
1142
|
+
/**
|
|
1143
|
+
* Record of the cross-border repricing of a single line item, shipping option or fee on a site whose catalog prices include tax:
|
|
1144
|
+
* the catalog price the merchant entered, the base region's tax removed from it per unit, and the rate used.
|
|
1145
|
+
*
|
|
1146
|
+
* This record describes how the price was reached, not the resulting amount. The repriced figures are on the line itself:
|
|
1147
|
+
* `price` and `taxInfo` on an order line item, and their counterparts on a shipping cost or a fee.
|
|
1148
|
+
* Written by the calculation that priced the line and carried unchanged onto orders, draft orders and subscription contracts.
|
|
1149
|
+
*/
|
|
1150
|
+
interface CrossBorderPriceAdjustment {
|
|
1151
|
+
/**
|
|
1152
|
+
* ID of the tax region whose tax is built into the catalog prices.
|
|
1153
|
+
* @format GUID
|
|
1154
|
+
*/
|
|
1155
|
+
baseTaxRegionId?: string;
|
|
1156
|
+
/**
|
|
1157
|
+
* ID of the tax region resolved for the destination. Absent when no region matched.
|
|
1158
|
+
* @format GUID
|
|
1159
|
+
*/
|
|
1160
|
+
destinationTaxRegionId?: string | null;
|
|
1161
|
+
/** Price per unit as entered by the merchant, with the base region's tax inside it. */
|
|
1162
|
+
catalogPrice?: Price;
|
|
1163
|
+
/** 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. */
|
|
1164
|
+
baseTaxAmount?: Price;
|
|
1165
|
+
/** Outcome of the repricing for this line. */
|
|
1166
|
+
status?: RepriceStatusWithLiterals;
|
|
1167
|
+
/** 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`. */
|
|
1168
|
+
baseRateSource?: BaseRateSourceWithLiterals;
|
|
1169
|
+
/**
|
|
1170
|
+
* 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.
|
|
1171
|
+
* @format DECIMAL_VALUE
|
|
1172
|
+
* @decimalValue options { gte:0, maxScale:6 }
|
|
1173
|
+
*/
|
|
1174
|
+
baseRate?: string | null;
|
|
1175
|
+
/** When the base region's rate was captured. Set only when `baseRateSource` is `AVALARA_PROBE`. */
|
|
1176
|
+
baseRateCapturedDate?: Date | null;
|
|
1177
|
+
/** Whether the destination's tax is included in the repriced amount. Reserved for per-region display; not populated. */
|
|
1178
|
+
destinationTaxIncluded?: boolean | null;
|
|
1179
|
+
}
|
|
1180
|
+
/** Outcome of the repricing for one line. */
|
|
1181
|
+
declare enum RepriceStatus {
|
|
1182
|
+
/** Base tax removed and the destination's tax applied. */
|
|
1183
|
+
APPLIED = "APPLIED",
|
|
1184
|
+
/** The caller asked for the line to be left at its price. Nothing was removed. */
|
|
1185
|
+
KEPT = "KEPT",
|
|
1186
|
+
/** 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`. */
|
|
1187
|
+
STRIP_ONLY = "STRIP_ONLY",
|
|
1188
|
+
/** The destination is the base region. Nothing was removed. */
|
|
1189
|
+
SAME_REGION = "SAME_REGION",
|
|
1190
|
+
/** 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. */
|
|
1191
|
+
SAME_COUNTRY = "SAME_COUNTRY",
|
|
1192
|
+
/** No tax region matched the destination. Base tax removed and no destination tax applied. */
|
|
1193
|
+
NO_DESTINATION_REGION = "NO_DESTINATION_REGION",
|
|
1194
|
+
/** The calculation didn't reprice this line, for example because the feature was off or a pass failed. Nothing was removed. */
|
|
1195
|
+
NOT_APPLICABLE = "NOT_APPLICABLE",
|
|
1196
|
+
/** The line's modifiers exceed its price at the destination's rate. Nothing was removed. */
|
|
1197
|
+
NOT_APPLICABLE_MODIFIERS = "NOT_APPLICABLE_MODIFIERS",
|
|
1198
|
+
/** A subscription line in a checkout whose currency differs from the site currency. Nothing was removed. */
|
|
1199
|
+
CONVERTED_CURRENCY_SUBSCRIPTION = "CONVERTED_CURRENCY_SUBSCRIPTION"
|
|
1200
|
+
}
|
|
1201
|
+
/** @enumType */
|
|
1202
|
+
type RepriceStatusWithLiterals = RepriceStatus | 'APPLIED' | 'KEPT' | 'STRIP_ONLY' | 'SAME_REGION' | 'SAME_COUNTRY' | 'NO_DESTINATION_REGION' | 'NOT_APPLICABLE' | 'NOT_APPLICABLE_MODIFIERS' | 'CONVERTED_CURRENCY_SUBSCRIPTION';
|
|
1203
|
+
/** Where the base region's rate came from. */
|
|
1204
|
+
declare enum BaseRateSource {
|
|
1205
|
+
/** The manual tax calculator computed the base tax for this calculation. */
|
|
1206
|
+
MANUAL_SPI = "MANUAL_SPI",
|
|
1207
|
+
/** The rate captured from Avalara by the embedded-rate probe. */
|
|
1208
|
+
AVALARA_PROBE = "AVALARA_PROBE"
|
|
1209
|
+
}
|
|
1210
|
+
/** @enumType */
|
|
1211
|
+
type BaseRateSourceWithLiterals = BaseRateSource | 'MANUAL_SPI' | 'AVALARA_PROBE';
|
|
1128
1212
|
/** Buyer information. */
|
|
1129
1213
|
interface BuyerInfo extends BuyerInfoIdOneOf {
|
|
1130
1214
|
/**
|
|
@@ -1568,6 +1652,56 @@ interface OrderTaxBreakdown {
|
|
|
1568
1652
|
/** The sum of all the tax from line items that calculated by the tax identifiers. */
|
|
1569
1653
|
aggregatedTaxAmount?: Price;
|
|
1570
1654
|
}
|
|
1655
|
+
/** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
|
|
1656
|
+
interface CrossBorderCalculation {
|
|
1657
|
+
/** Whether the calculation repriced the lines for the destination's tax. */
|
|
1658
|
+
applied?: boolean;
|
|
1659
|
+
/** Why the calculation didn't reprice the lines. Meaningful only when `applied` is `false`. */
|
|
1660
|
+
reason?: CrossBorderNotApplicableReasonWithLiterals;
|
|
1661
|
+
/** Mode the calculation ran in. `FULL` when the request set no mode. */
|
|
1662
|
+
mode?: CrossBorderRepricingModeWithLiterals;
|
|
1663
|
+
/**
|
|
1664
|
+
* Request ID of the calculation, for log correlation.
|
|
1665
|
+
* @maxLength 100
|
|
1666
|
+
*/
|
|
1667
|
+
requestId?: string | null;
|
|
1668
|
+
}
|
|
1669
|
+
/** Why a cross-border repricing calculation didn't reprice the lines. */
|
|
1670
|
+
declare enum CrossBorderNotApplicableReason {
|
|
1671
|
+
/** The repricing feature toggle is off. */
|
|
1672
|
+
FEATURE_DISABLED = "FEATURE_DISABLED",
|
|
1673
|
+
/** The site hasn't opted in to cross-border repricing. */
|
|
1674
|
+
NOT_OPTED_IN = "NOT_OPTED_IN",
|
|
1675
|
+
/** The site's prices no longer include tax. */
|
|
1676
|
+
TAX_INCLUSIVE_PRICING_OFF = "TAX_INCLUSIVE_PRICING_OFF",
|
|
1677
|
+
/** The base tax region doesn't exist on the site. */
|
|
1678
|
+
BASE_TAX_REGION_NOT_FOUND = "BASE_TAX_REGION_NOT_FOUND",
|
|
1679
|
+
/** The base region uses the manual calculator and has no tax mapping. */
|
|
1680
|
+
BASE_REGION_HAS_NO_MANUAL_MAPPING = "BASE_REGION_HAS_NO_MANUAL_MAPPING",
|
|
1681
|
+
/** No embedded rate is stored for one of the tax groups in the calculation. */
|
|
1682
|
+
EMBEDDED_RATE_MISSING = "EMBEDDED_RATE_MISSING",
|
|
1683
|
+
/** Removing the base tax or applying the destination's tax failed for a line item. */
|
|
1684
|
+
CROSS_BORDER_REPRICING_FAILED = "CROSS_BORDER_REPRICING_FAILED",
|
|
1685
|
+
/** The line items were repriced. Repricing the shipping option failed. */
|
|
1686
|
+
SHIPPING_REPRICING_FAILED = "SHIPPING_REPRICING_FAILED",
|
|
1687
|
+
/** The line items were repriced. Repricing the additional fees failed. */
|
|
1688
|
+
FEES_REPRICING_FAILED = "FEES_REPRICING_FAILED",
|
|
1689
|
+
/** The site's tax settings couldn't be read, so the calculation couldn't tell whether the site opted in. */
|
|
1690
|
+
SETTINGS_UNAVAILABLE = "SETTINGS_UNAVAILABLE"
|
|
1691
|
+
}
|
|
1692
|
+
/** @enumType */
|
|
1693
|
+
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';
|
|
1694
|
+
/** How a cross-border repricing calculation is asked to run. This is the requested mode; a line's outcome is `CrossBorderPriceAdjustment.RepriceStatus`. */
|
|
1695
|
+
declare enum CrossBorderRepricingMode {
|
|
1696
|
+
/** Nothing is repriced. */
|
|
1697
|
+
DISABLED = "DISABLED",
|
|
1698
|
+
/** Base tax removed and no destination tax applied. A line repriced this way has the outcome `CrossBorderPriceAdjustment.RepriceStatus.STRIP_ONLY`. */
|
|
1699
|
+
STRIP_ONLY = "STRIP_ONLY",
|
|
1700
|
+
/** Base tax removed and the destination's tax applied. A request that sets no mode runs this way. */
|
|
1701
|
+
FULL = "FULL"
|
|
1702
|
+
}
|
|
1703
|
+
/** @enumType */
|
|
1704
|
+
type CrossBorderRepricingModeWithLiterals = CrossBorderRepricingMode | 'DISABLED' | 'STRIP_ONLY' | 'FULL';
|
|
1571
1705
|
interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
|
|
1572
1706
|
/** Coupon applied by the customer. */
|
|
1573
1707
|
coupon?: Coupon;
|
|
@@ -2214,7 +2348,7 @@ interface SubscriptionContractChangesCommitted {
|
|
|
2214
2348
|
* @maxLength 200
|
|
2215
2349
|
*/
|
|
2216
2350
|
reason?: string | null;
|
|
2217
|
-
/** Price summary of the contract after the commit. */
|
|
2351
|
+
/** Price summary of the subscription contract after the commit. Same as `changes.priceSummary`. */
|
|
2218
2352
|
priceSummary?: PriceSummary;
|
|
2219
2353
|
}
|
|
2220
2354
|
interface SubscriptionContractDiffs {
|
|
@@ -2241,7 +2375,7 @@ interface SubscriptionContractDiffs {
|
|
|
2241
2375
|
additionalFees?: AdditionalFeeDelta[];
|
|
2242
2376
|
/** Price summary after the changes. Replaces the subscription contract's previous price summary. */
|
|
2243
2377
|
priceSummary?: PriceSummary;
|
|
2244
|
-
/** Tax information after the changes.
|
|
2378
|
+
/** Tax information after the changes. */
|
|
2245
2379
|
taxInfo?: OrderTaxInfo;
|
|
2246
2380
|
/** Shipping information after the changes. Replaces the subscription contract's previous shipping information. */
|
|
2247
2381
|
shippingInfo?: ShippingInformation;
|
|
@@ -2264,104 +2398,104 @@ interface LineItemDeltaDeltaDetailsOneOf {
|
|
|
2264
2398
|
/** Values the line item had before the change. */
|
|
2265
2399
|
changed?: ItemChangedDetails;
|
|
2266
2400
|
}
|
|
2267
|
-
/**
|
|
2401
|
+
/** Catalog reference options before the change. */
|
|
2268
2402
|
interface CatalogReferenceOptionsBeforeChange {
|
|
2269
|
-
/**
|
|
2403
|
+
/** Catalog reference options. Absent when the line item had no options. */
|
|
2270
2404
|
options?: Record<string, any> | null;
|
|
2271
2405
|
}
|
|
2272
|
-
/**
|
|
2406
|
+
/** Product name before the change. */
|
|
2273
2407
|
interface ProductNameBeforeChange {
|
|
2274
|
-
/**
|
|
2408
|
+
/** Product name. Absent when the line item had no product name. */
|
|
2275
2409
|
productName?: ProductName;
|
|
2276
2410
|
}
|
|
2277
|
-
/**
|
|
2411
|
+
/** Description lines before the change. */
|
|
2278
2412
|
interface DescriptionLinesBeforeChange {
|
|
2279
2413
|
/**
|
|
2280
|
-
*
|
|
2414
|
+
* Description lines. Empty when the line item had no description lines.
|
|
2281
2415
|
* @maxSize 20
|
|
2282
2416
|
*/
|
|
2283
2417
|
descriptionLines?: DescriptionLine[];
|
|
2284
2418
|
}
|
|
2285
|
-
/**
|
|
2419
|
+
/** Image before the change. */
|
|
2286
2420
|
interface ImageBeforeChange {
|
|
2287
|
-
/**
|
|
2421
|
+
/** Image. Absent when the line item had no image. */
|
|
2288
2422
|
image?: string;
|
|
2289
2423
|
}
|
|
2290
|
-
/**
|
|
2424
|
+
/** Physical properties before the change. */
|
|
2291
2425
|
interface PhysicalPropertiesBeforeChange {
|
|
2292
|
-
/**
|
|
2426
|
+
/** Physical properties. Absent when the line item had no physical properties. */
|
|
2293
2427
|
physicalProperties?: PhysicalProperties;
|
|
2294
2428
|
}
|
|
2295
|
-
/**
|
|
2429
|
+
/** Item type before the change. */
|
|
2296
2430
|
interface ItemTypeBeforeChange {
|
|
2297
|
-
/**
|
|
2431
|
+
/** Item type. Absent when the line item had no item type. */
|
|
2298
2432
|
itemType?: ItemType;
|
|
2299
2433
|
}
|
|
2300
|
-
/**
|
|
2434
|
+
/** Fulfiller ID before the change. */
|
|
2301
2435
|
interface FulfillerIdBeforeChange {
|
|
2302
2436
|
/**
|
|
2303
|
-
*
|
|
2437
|
+
* Fulfiller ID. Absent when the line item had no fulfiller.
|
|
2304
2438
|
* @format GUID
|
|
2305
2439
|
*/
|
|
2306
2440
|
fulfillerId?: string | null;
|
|
2307
2441
|
}
|
|
2308
|
-
/**
|
|
2442
|
+
/** Digital file before the change. */
|
|
2309
2443
|
interface DigitalFileBeforeChange {
|
|
2310
|
-
/**
|
|
2444
|
+
/** Digital file. Absent when the line item had no digital file. */
|
|
2311
2445
|
digitalFile?: DigitalFile;
|
|
2312
2446
|
}
|
|
2313
|
-
/**
|
|
2447
|
+
/** Price description before the change. */
|
|
2314
2448
|
interface PriceDescriptionBeforeChange {
|
|
2315
|
-
/**
|
|
2449
|
+
/** Price description. Absent when the line item had no price description. */
|
|
2316
2450
|
priceDescription?: PriceDescription;
|
|
2317
2451
|
}
|
|
2318
|
-
/**
|
|
2452
|
+
/** Delivery profile ID before the change. */
|
|
2319
2453
|
interface DeliveryProfileIdBeforeChange {
|
|
2320
2454
|
/**
|
|
2321
|
-
*
|
|
2455
|
+
* Delivery profile ID. Absent when the line item had no delivery profile.
|
|
2322
2456
|
* @format GUID
|
|
2323
2457
|
*/
|
|
2324
2458
|
deliveryProfileId?: string | null;
|
|
2325
2459
|
}
|
|
2326
|
-
/**
|
|
2460
|
+
/** Shipping group ID before the change. */
|
|
2327
2461
|
interface ShippingGroupIdBeforeChange {
|
|
2328
2462
|
/**
|
|
2329
|
-
*
|
|
2463
|
+
* Shipping group ID. Absent when the line item had no shipping group.
|
|
2330
2464
|
* @format GUID
|
|
2331
2465
|
*/
|
|
2332
2466
|
shippingGroupId?: string | null;
|
|
2333
2467
|
}
|
|
2334
|
-
/**
|
|
2468
|
+
/** Tax info before the change. */
|
|
2335
2469
|
interface TaxInfoBeforeChange {
|
|
2336
|
-
/**
|
|
2470
|
+
/** Tax info. Absent when the line item had no tax info. */
|
|
2337
2471
|
taxInfo?: LineItemTaxInfo;
|
|
2338
2472
|
}
|
|
2339
|
-
/**
|
|
2473
|
+
/** Inventory app ID before the change. */
|
|
2340
2474
|
interface InventoryAppIdBeforeChange {
|
|
2341
2475
|
/**
|
|
2342
|
-
*
|
|
2476
|
+
* Inventory app ID. Absent when the line item had no inventory app.
|
|
2343
2477
|
* @format GUID
|
|
2344
2478
|
*/
|
|
2345
2479
|
inventoryAppId?: string | null;
|
|
2346
2480
|
}
|
|
2347
|
-
/**
|
|
2481
|
+
/** Root catalog item ID before the change. */
|
|
2348
2482
|
interface RootCatalogItemIdBeforeChange {
|
|
2349
2483
|
/**
|
|
2350
|
-
*
|
|
2484
|
+
* Root catalog item ID. Absent when the line item had no root catalog item.
|
|
2351
2485
|
* @minLength 1
|
|
2352
2486
|
* @maxLength 36
|
|
2353
2487
|
*/
|
|
2354
2488
|
rootCatalogItemId?: string | null;
|
|
2355
2489
|
}
|
|
2356
|
-
/**
|
|
2490
|
+
/** Modifier groups before the change. */
|
|
2357
2491
|
interface ModifierGroupsBeforeChange {
|
|
2358
2492
|
/**
|
|
2359
|
-
*
|
|
2493
|
+
* Modifier groups. Empty when the line item had no modifier groups.
|
|
2360
2494
|
* @maxSize 10
|
|
2361
2495
|
*/
|
|
2362
2496
|
modifierGroups?: ModifierGroup[];
|
|
2363
2497
|
}
|
|
2364
|
-
/**
|
|
2498
|
+
/** Price undetermined flag before the change. */
|
|
2365
2499
|
interface PriceUndeterminedBeforeChange {
|
|
2366
2500
|
/** Whether the price of the line item was undetermined. */
|
|
2367
2501
|
priceUndetermined?: boolean;
|
|
@@ -2381,36 +2515,36 @@ declare enum ChangeType {
|
|
|
2381
2515
|
type ChangeTypeWithLiterals = ChangeType | 'UNKNOWN_CHANGE_TYPE' | 'ADDED' | 'CHANGED' | 'REMOVED';
|
|
2382
2516
|
interface ItemChangedDetails {
|
|
2383
2517
|
/**
|
|
2384
|
-
*
|
|
2518
|
+
* Quantity before the change. Set only when the quantity changed.
|
|
2385
2519
|
* @min 1
|
|
2386
2520
|
* @max 1000000
|
|
2387
2521
|
*/
|
|
2388
2522
|
quantityBeforeChange?: number | null;
|
|
2389
|
-
/**
|
|
2523
|
+
/** Price before the change. Set only when the price changed. */
|
|
2390
2524
|
priceBeforeChange?: Price;
|
|
2391
|
-
/**
|
|
2525
|
+
/** Catalog reference options before the change. Set only when the catalog reference options changed. */
|
|
2392
2526
|
catalogReferenceOptionsBeforeChange?: CatalogReferenceOptionsBeforeChange;
|
|
2393
|
-
/**
|
|
2527
|
+
/** Product name before the change. Set only when the product name changed. */
|
|
2394
2528
|
productNameBeforeChange?: ProductNameBeforeChange;
|
|
2395
|
-
/**
|
|
2529
|
+
/** Description lines before the change. Set only when the description lines changed. */
|
|
2396
2530
|
descriptionLinesBeforeChange?: DescriptionLinesBeforeChange;
|
|
2397
|
-
/**
|
|
2531
|
+
/** Image before the change. Set only when the image changed. */
|
|
2398
2532
|
imageBeforeChange?: ImageBeforeChange;
|
|
2399
|
-
/**
|
|
2533
|
+
/** Physical properties before the change. Set only when the physical properties changed. */
|
|
2400
2534
|
physicalPropertiesBeforeChange?: PhysicalPropertiesBeforeChange;
|
|
2401
|
-
/**
|
|
2535
|
+
/** Item type before the change. Set only when the item type changed. */
|
|
2402
2536
|
itemTypeBeforeChange?: ItemTypeBeforeChange;
|
|
2403
|
-
/**
|
|
2537
|
+
/** Fulfiller ID before the change. Set only when the fulfiller ID changed. */
|
|
2404
2538
|
fulfillerIdBeforeChange?: FulfillerIdBeforeChange;
|
|
2405
|
-
/**
|
|
2539
|
+
/** Digital file before the change. Set only when the digital file changed. */
|
|
2406
2540
|
digitalFileBeforeChange?: DigitalFileBeforeChange;
|
|
2407
|
-
/**
|
|
2541
|
+
/** Price description before the change. Set only when the price description changed. */
|
|
2408
2542
|
priceDescriptionBeforeChange?: PriceDescriptionBeforeChange;
|
|
2409
|
-
/**
|
|
2543
|
+
/** Tax info before the change. Set only when the line item's tax group changed. */
|
|
2410
2544
|
taxInfoBeforeChange?: TaxInfoBeforeChange;
|
|
2411
|
-
/**
|
|
2545
|
+
/** Modifier groups before the change. Set only when the modifier groups changed. */
|
|
2412
2546
|
modifierGroupsBeforeChange?: ModifierGroupsBeforeChange;
|
|
2413
|
-
/**
|
|
2547
|
+
/** Price undetermined flag before the change. Set only when the price undetermined flag changed. */
|
|
2414
2548
|
priceUndeterminedBeforeChange?: PriceUndeterminedBeforeChange;
|
|
2415
2549
|
}
|
|
2416
2550
|
interface AppliedDiscountDelta extends AppliedDiscountDeltaDeltaDetailsOneOf {
|
|
@@ -3211,4 +3345,4 @@ declare const utils: {
|
|
|
3211
3345
|
query: _wix_sdk_types.QueryHelpers<SubscriptionContract, SubscriptionContractQuerySpec, SubscriptionContractQuery>;
|
|
3212
3346
|
};
|
|
3213
3347
|
|
|
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 };
|
|
3348
|
+
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 };
|
|
@@ -24,10 +24,13 @@ __export(index_typings_exports, {
|
|
|
24
24
|
ActivityType: () => ActivityType,
|
|
25
25
|
AdditionalFeeSource: () => AdditionalFeeSource,
|
|
26
26
|
AdjustmentType: () => AdjustmentType,
|
|
27
|
+
BaseRateSource: () => BaseRateSource,
|
|
27
28
|
ChangeType: () => ChangeType,
|
|
28
29
|
ChannelType: () => ChannelType,
|
|
29
30
|
ChargeType: () => ChargeType,
|
|
30
31
|
ContractChangeType: () => ContractChangeType,
|
|
32
|
+
CrossBorderNotApplicableReason: () => CrossBorderNotApplicableReason,
|
|
33
|
+
CrossBorderRepricingMode: () => CrossBorderRepricingMode,
|
|
31
34
|
DescriptionLineType: () => DescriptionLineType,
|
|
32
35
|
DimensionsUnit: () => DimensionsUnit,
|
|
33
36
|
DiscountReason: () => DiscountReason,
|
|
@@ -39,6 +42,7 @@ __export(index_typings_exports, {
|
|
|
39
42
|
PaymentOptionType: () => PaymentOptionType,
|
|
40
43
|
PickupMethod: () => PickupMethod,
|
|
41
44
|
ProductPeriodAlignment: () => ProductPeriodAlignment,
|
|
45
|
+
RepriceStatus: () => RepriceStatus,
|
|
42
46
|
SortOrder: () => SortOrder,
|
|
43
47
|
SpecificItemsCouponBehavior: () => SpecificItemsCouponBehavior,
|
|
44
48
|
SubscriptionFrequency: () => SubscriptionFrequency,
|
|
@@ -77,9 +81,18 @@ var TRANSFORM_PATHS_0 = [
|
|
|
77
81
|
},
|
|
78
82
|
{ path: "subscriptionContract.lineItems.serviceProperties.scheduledDate" },
|
|
79
83
|
{ path: "subscriptionContract.lineItems.serviceProperties.endDate" },
|
|
84
|
+
{
|
|
85
|
+
path: "subscriptionContract.lineItems.crossBorderAdjustment.baseRateCapturedDate"
|
|
86
|
+
},
|
|
80
87
|
{ path: "subscriptionContract.shippingInfo.logistics.deliverByDate" },
|
|
81
88
|
{ path: "subscriptionContract.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
82
89
|
{ path: "subscriptionContract.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
90
|
+
{
|
|
91
|
+
path: "subscriptionContract.shippingInfo.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
path: "subscriptionContract.additionalFees.crossBorderAdjustment.baseRateCapturedDate"
|
|
95
|
+
},
|
|
83
96
|
{ path: "subscriptionContract.activities.createdDate" }
|
|
84
97
|
];
|
|
85
98
|
var TRANSFORM_PATHS_1 = [
|
|
@@ -114,11 +127,20 @@ var TRANSFORM_PATHS_2 = [
|
|
|
114
127
|
},
|
|
115
128
|
{ path: "subscriptionContracts.lineItems.serviceProperties.scheduledDate" },
|
|
116
129
|
{ path: "subscriptionContracts.lineItems.serviceProperties.endDate" },
|
|
130
|
+
{
|
|
131
|
+
path: "subscriptionContracts.lineItems.crossBorderAdjustment.baseRateCapturedDate"
|
|
132
|
+
},
|
|
117
133
|
{ path: "subscriptionContracts.shippingInfo.logistics.deliverByDate" },
|
|
118
134
|
{
|
|
119
135
|
path: "subscriptionContracts.shippingInfo.logistics.deliveryTimeSlot.from"
|
|
120
136
|
},
|
|
121
137
|
{ path: "subscriptionContracts.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
138
|
+
{
|
|
139
|
+
path: "subscriptionContracts.shippingInfo.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
path: "subscriptionContracts.additionalFees.crossBorderAdjustment.baseRateCapturedDate"
|
|
143
|
+
},
|
|
122
144
|
{ path: "subscriptionContracts.activities.createdDate" }
|
|
123
145
|
];
|
|
124
146
|
var TRANSFORM_PATHS_3 = [
|
|
@@ -392,6 +414,23 @@ var MeasurementUnit = /* @__PURE__ */ ((MeasurementUnit2) => {
|
|
|
392
414
|
MeasurementUnit2["SQFT"] = "SQFT";
|
|
393
415
|
return MeasurementUnit2;
|
|
394
416
|
})(MeasurementUnit || {});
|
|
417
|
+
var RepriceStatus = /* @__PURE__ */ ((RepriceStatus2) => {
|
|
418
|
+
RepriceStatus2["APPLIED"] = "APPLIED";
|
|
419
|
+
RepriceStatus2["KEPT"] = "KEPT";
|
|
420
|
+
RepriceStatus2["STRIP_ONLY"] = "STRIP_ONLY";
|
|
421
|
+
RepriceStatus2["SAME_REGION"] = "SAME_REGION";
|
|
422
|
+
RepriceStatus2["SAME_COUNTRY"] = "SAME_COUNTRY";
|
|
423
|
+
RepriceStatus2["NO_DESTINATION_REGION"] = "NO_DESTINATION_REGION";
|
|
424
|
+
RepriceStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
425
|
+
RepriceStatus2["NOT_APPLICABLE_MODIFIERS"] = "NOT_APPLICABLE_MODIFIERS";
|
|
426
|
+
RepriceStatus2["CONVERTED_CURRENCY_SUBSCRIPTION"] = "CONVERTED_CURRENCY_SUBSCRIPTION";
|
|
427
|
+
return RepriceStatus2;
|
|
428
|
+
})(RepriceStatus || {});
|
|
429
|
+
var BaseRateSource = /* @__PURE__ */ ((BaseRateSource2) => {
|
|
430
|
+
BaseRateSource2["MANUAL_SPI"] = "MANUAL_SPI";
|
|
431
|
+
BaseRateSource2["AVALARA_PROBE"] = "AVALARA_PROBE";
|
|
432
|
+
return BaseRateSource2;
|
|
433
|
+
})(BaseRateSource || {});
|
|
395
434
|
var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
|
|
396
435
|
WeightUnit2["UNSPECIFIED_WEIGHT_UNIT"] = "UNSPECIFIED_WEIGHT_UNIT";
|
|
397
436
|
WeightUnit2["KG"] = "KG";
|
|
@@ -414,6 +453,25 @@ var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
|
414
453
|
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
415
454
|
return PickupMethod2;
|
|
416
455
|
})(PickupMethod || {});
|
|
456
|
+
var CrossBorderNotApplicableReason = /* @__PURE__ */ ((CrossBorderNotApplicableReason2) => {
|
|
457
|
+
CrossBorderNotApplicableReason2["FEATURE_DISABLED"] = "FEATURE_DISABLED";
|
|
458
|
+
CrossBorderNotApplicableReason2["NOT_OPTED_IN"] = "NOT_OPTED_IN";
|
|
459
|
+
CrossBorderNotApplicableReason2["TAX_INCLUSIVE_PRICING_OFF"] = "TAX_INCLUSIVE_PRICING_OFF";
|
|
460
|
+
CrossBorderNotApplicableReason2["BASE_TAX_REGION_NOT_FOUND"] = "BASE_TAX_REGION_NOT_FOUND";
|
|
461
|
+
CrossBorderNotApplicableReason2["BASE_REGION_HAS_NO_MANUAL_MAPPING"] = "BASE_REGION_HAS_NO_MANUAL_MAPPING";
|
|
462
|
+
CrossBorderNotApplicableReason2["EMBEDDED_RATE_MISSING"] = "EMBEDDED_RATE_MISSING";
|
|
463
|
+
CrossBorderNotApplicableReason2["CROSS_BORDER_REPRICING_FAILED"] = "CROSS_BORDER_REPRICING_FAILED";
|
|
464
|
+
CrossBorderNotApplicableReason2["SHIPPING_REPRICING_FAILED"] = "SHIPPING_REPRICING_FAILED";
|
|
465
|
+
CrossBorderNotApplicableReason2["FEES_REPRICING_FAILED"] = "FEES_REPRICING_FAILED";
|
|
466
|
+
CrossBorderNotApplicableReason2["SETTINGS_UNAVAILABLE"] = "SETTINGS_UNAVAILABLE";
|
|
467
|
+
return CrossBorderNotApplicableReason2;
|
|
468
|
+
})(CrossBorderNotApplicableReason || {});
|
|
469
|
+
var CrossBorderRepricingMode = /* @__PURE__ */ ((CrossBorderRepricingMode2) => {
|
|
470
|
+
CrossBorderRepricingMode2["DISABLED"] = "DISABLED";
|
|
471
|
+
CrossBorderRepricingMode2["STRIP_ONLY"] = "STRIP_ONLY";
|
|
472
|
+
CrossBorderRepricingMode2["FULL"] = "FULL";
|
|
473
|
+
return CrossBorderRepricingMode2;
|
|
474
|
+
})(CrossBorderRepricingMode || {});
|
|
417
475
|
var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
|
|
418
476
|
DiscountType2["GLOBAL"] = "GLOBAL";
|
|
419
477
|
DiscountType2["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
|
|
@@ -655,10 +713,13 @@ var utils = {
|
|
|
655
713
|
ActivityType,
|
|
656
714
|
AdditionalFeeSource,
|
|
657
715
|
AdjustmentType,
|
|
716
|
+
BaseRateSource,
|
|
658
717
|
ChangeType,
|
|
659
718
|
ChannelType,
|
|
660
719
|
ChargeType,
|
|
661
720
|
ContractChangeType,
|
|
721
|
+
CrossBorderNotApplicableReason,
|
|
722
|
+
CrossBorderRepricingMode,
|
|
662
723
|
DescriptionLineType,
|
|
663
724
|
DimensionsUnit,
|
|
664
725
|
DiscountReason,
|
|
@@ -670,6 +731,7 @@ var utils = {
|
|
|
670
731
|
PaymentOptionType,
|
|
671
732
|
PickupMethod,
|
|
672
733
|
ProductPeriodAlignment,
|
|
734
|
+
RepriceStatus,
|
|
673
735
|
SortOrder,
|
|
674
736
|
SpecificItemsCouponBehavior,
|
|
675
737
|
SubscriptionFrequency,
|