@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.
@@ -6,7 +6,7 @@ import '@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 */
@@ -780,10 +784,16 @@ interface DigitalFile {
780
784
  interface SubscriptionInfo {
781
785
  /**
782
786
  * Subscription ID.
787
+ *
788
+ * For a subscription bought through Wix eCommerce, this is the ID of the subscription contract the order was created from.
789
+ * 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).
783
790
  * @format GUID
784
791
  */
785
792
  id?: string | null;
786
- /** Subscription cycle. For example, if this order is for the 3rd cycle of a subscription, value will be `3`. */
793
+ /**
794
+ * Billing cycle the order is for. For example, `3` for the third billing cycle of a subscription.
795
+ * When a subscription starts with a free trial, the order created at checkout is for cycle `0`.
796
+ */
787
797
  cycleNumber?: number;
788
798
  /**
789
799
  * Subscription option title. For example, `"Monthly coffee Subscription"`.
@@ -838,7 +848,7 @@ interface SubscriptionDescription {
838
848
  translated?: string | null;
839
849
  }
840
850
  interface SubscriptionSettings {
841
- /** Frequency of recurring payment. */
851
+ /** Frequency unit of the billing cycle. */
842
852
  frequency?: V2SubscriptionFrequencyWithLiterals;
843
853
  /**
844
854
  * Number of frequency units in a billing cycle. For example, frequency `MONTH` with interval `3` means billing every 3 months.
@@ -846,16 +856,20 @@ interface SubscriptionSettings {
846
856
  * @max 3650
847
857
  */
848
858
  interval?: number | null;
849
- /** Whether subscription is renewed automatically at the end of each period. */
859
+ /** Whether the subscription renews automatically at the end of each billing cycle. */
850
860
  autoRenewal?: boolean;
851
861
  /**
852
- * Number of billing cycles before subscription ends. Ignored if `autoRenewal: true`.
862
+ * Number of billing cycles before the subscription ends. Ignored when `autoRenewal` is `true`.
853
863
  * @min 1
854
864
  */
855
865
  billingCycles?: number | null;
856
- /** Whether to allow the customer to cancel the subscription. */
866
+ /** Whether the buyer can cancel the subscription. */
857
867
  enableCustomerCancellation?: boolean;
858
- /** Period until first cycle starts. If None => no free trial */
868
+ /**
869
+ * Free trial period before the first billing cycle starts.
870
+ *
871
+ * Returned only when the subscription has a free trial.
872
+ */
859
873
  freeTrialPeriod?: FreeTrialPeriod;
860
874
  }
861
875
  /** Frequency unit of recurring payment */
@@ -869,7 +883,7 @@ declare enum V2SubscriptionFrequency {
869
883
  /** @enumType */
870
884
  type V2SubscriptionFrequencyWithLiterals = V2SubscriptionFrequency | 'UNDEFINED' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR';
871
885
  interface FreeTrialPeriod {
872
- /** Frequency of period. Values: DAY, WEEK, MONTH, YEAR */
886
+ /** Frequency unit of the free trial period. */
873
887
  frequency?: V2SubscriptionFrequencyWithLiterals;
874
888
  /**
875
889
  * Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial.
@@ -1148,6 +1162,76 @@ interface ServiceProperties {
1148
1162
  */
1149
1163
  numberOfParticipants?: number | null;
1150
1164
  }
1165
+ /**
1166
+ * Record of the cross-border repricing of a single line item, shipping option or fee on a site whose catalog prices include tax:
1167
+ * the catalog price the merchant entered, the base region's tax removed from it per unit, and the rate used.
1168
+ *
1169
+ * This record describes how the price was reached, not the resulting amount. The repriced figures are on the line itself:
1170
+ * `price` and `taxInfo` on an order line item, and their counterparts on a shipping cost or a fee.
1171
+ * Written by the calculation that priced the line and carried unchanged onto orders, draft orders and subscription contracts.
1172
+ */
1173
+ interface CrossBorderPriceAdjustment {
1174
+ /**
1175
+ * ID of the tax region whose tax is built into the catalog prices.
1176
+ * @format GUID
1177
+ */
1178
+ baseTaxRegionId?: string;
1179
+ /**
1180
+ * ID of the tax region resolved for the destination. Absent when no region matched.
1181
+ * @format GUID
1182
+ */
1183
+ destinationTaxRegionId?: string | null;
1184
+ /** Price per unit as entered by the merchant, with the base region's tax inside it. */
1185
+ catalogPrice?: Price;
1186
+ /** 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. */
1187
+ baseTaxAmount?: Price;
1188
+ /** Outcome of the repricing for this line. */
1189
+ status?: RepriceStatusWithLiterals;
1190
+ /** 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`. */
1191
+ baseRateSource?: BaseRateSourceWithLiterals;
1192
+ /**
1193
+ * 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.
1194
+ * @format DECIMAL_VALUE
1195
+ * @decimalValue options { gte:0, maxScale:6 }
1196
+ */
1197
+ baseRate?: string | null;
1198
+ /** When the base region's rate was captured. Set only when `baseRateSource` is `AVALARA_PROBE`. */
1199
+ baseRateCapturedDate?: Date | null;
1200
+ /** Whether the destination's tax is included in the repriced amount. Reserved for per-region display; not populated. */
1201
+ destinationTaxIncluded?: boolean | null;
1202
+ }
1203
+ /** Outcome of the repricing for one line. */
1204
+ declare enum RepriceStatus {
1205
+ /** Base tax removed and the destination's tax applied. */
1206
+ APPLIED = "APPLIED",
1207
+ /** The caller asked for the line to be left at its price. Nothing was removed. */
1208
+ KEPT = "KEPT",
1209
+ /** 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`. */
1210
+ STRIP_ONLY = "STRIP_ONLY",
1211
+ /** The destination is the base region. Nothing was removed. */
1212
+ SAME_REGION = "SAME_REGION",
1213
+ /** 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. */
1214
+ SAME_COUNTRY = "SAME_COUNTRY",
1215
+ /** No tax region matched the destination. Base tax removed and no destination tax applied. */
1216
+ NO_DESTINATION_REGION = "NO_DESTINATION_REGION",
1217
+ /** The calculation didn't reprice this line, for example because the feature was off or a pass failed. Nothing was removed. */
1218
+ NOT_APPLICABLE = "NOT_APPLICABLE",
1219
+ /** The line's modifiers exceed its price at the destination's rate. Nothing was removed. */
1220
+ NOT_APPLICABLE_MODIFIERS = "NOT_APPLICABLE_MODIFIERS",
1221
+ /** A subscription line in a checkout whose currency differs from the site currency. Nothing was removed. */
1222
+ CONVERTED_CURRENCY_SUBSCRIPTION = "CONVERTED_CURRENCY_SUBSCRIPTION"
1223
+ }
1224
+ /** @enumType */
1225
+ type RepriceStatusWithLiterals = RepriceStatus | 'APPLIED' | 'KEPT' | 'STRIP_ONLY' | 'SAME_REGION' | 'SAME_COUNTRY' | 'NO_DESTINATION_REGION' | 'NOT_APPLICABLE' | 'NOT_APPLICABLE_MODIFIERS' | 'CONVERTED_CURRENCY_SUBSCRIPTION';
1226
+ /** Where the base region's rate came from. */
1227
+ declare enum BaseRateSource {
1228
+ /** The manual tax calculator computed the base tax for this calculation. */
1229
+ MANUAL_SPI = "MANUAL_SPI",
1230
+ /** The rate captured from Avalara by the embedded-rate probe. */
1231
+ AVALARA_PROBE = "AVALARA_PROBE"
1232
+ }
1233
+ /** @enumType */
1234
+ type BaseRateSourceWithLiterals = BaseRateSource | 'MANUAL_SPI' | 'AVALARA_PROBE';
1151
1235
  /** Buyer information. */
1152
1236
  interface BuyerInfo extends BuyerInfoIdOneOf {
1153
1237
  /**
@@ -1591,6 +1675,56 @@ interface OrderTaxBreakdown {
1591
1675
  /** The sum of all the tax from line items that calculated by the tax identifiers. */
1592
1676
  aggregatedTaxAmount?: Price;
1593
1677
  }
1678
+ /** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
1679
+ interface CrossBorderCalculation {
1680
+ /** Whether the calculation repriced the lines for the destination's tax. */
1681
+ applied?: boolean;
1682
+ /** Why the calculation didn't reprice the lines. Meaningful only when `applied` is `false`. */
1683
+ reason?: CrossBorderNotApplicableReasonWithLiterals;
1684
+ /** Mode the calculation ran in. `FULL` when the request set no mode. */
1685
+ mode?: CrossBorderRepricingModeWithLiterals;
1686
+ /**
1687
+ * Request ID of the calculation, for log correlation.
1688
+ * @maxLength 100
1689
+ */
1690
+ requestId?: string | null;
1691
+ }
1692
+ /** Why a cross-border repricing calculation didn't reprice the lines. */
1693
+ declare enum CrossBorderNotApplicableReason {
1694
+ /** The repricing feature toggle is off. */
1695
+ FEATURE_DISABLED = "FEATURE_DISABLED",
1696
+ /** The site hasn't opted in to cross-border repricing. */
1697
+ NOT_OPTED_IN = "NOT_OPTED_IN",
1698
+ /** The site's prices no longer include tax. */
1699
+ TAX_INCLUSIVE_PRICING_OFF = "TAX_INCLUSIVE_PRICING_OFF",
1700
+ /** The base tax region doesn't exist on the site. */
1701
+ BASE_TAX_REGION_NOT_FOUND = "BASE_TAX_REGION_NOT_FOUND",
1702
+ /** The base region uses the manual calculator and has no tax mapping. */
1703
+ BASE_REGION_HAS_NO_MANUAL_MAPPING = "BASE_REGION_HAS_NO_MANUAL_MAPPING",
1704
+ /** No embedded rate is stored for one of the tax groups in the calculation. */
1705
+ EMBEDDED_RATE_MISSING = "EMBEDDED_RATE_MISSING",
1706
+ /** Removing the base tax or applying the destination's tax failed for a line item. */
1707
+ CROSS_BORDER_REPRICING_FAILED = "CROSS_BORDER_REPRICING_FAILED",
1708
+ /** The line items were repriced. Repricing the shipping option failed. */
1709
+ SHIPPING_REPRICING_FAILED = "SHIPPING_REPRICING_FAILED",
1710
+ /** The line items were repriced. Repricing the additional fees failed. */
1711
+ FEES_REPRICING_FAILED = "FEES_REPRICING_FAILED",
1712
+ /** The site's tax settings couldn't be read, so the calculation couldn't tell whether the site opted in. */
1713
+ SETTINGS_UNAVAILABLE = "SETTINGS_UNAVAILABLE"
1714
+ }
1715
+ /** @enumType */
1716
+ 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';
1717
+ /** How a cross-border repricing calculation is asked to run. This is the requested mode; a line's outcome is `CrossBorderPriceAdjustment.RepriceStatus`. */
1718
+ declare enum CrossBorderRepricingMode {
1719
+ /** Nothing is repriced. */
1720
+ DISABLED = "DISABLED",
1721
+ /** Base tax removed and no destination tax applied. A line repriced this way has the outcome `CrossBorderPriceAdjustment.RepriceStatus.STRIP_ONLY`. */
1722
+ STRIP_ONLY = "STRIP_ONLY",
1723
+ /** Base tax removed and the destination's tax applied. A request that sets no mode runs this way. */
1724
+ FULL = "FULL"
1725
+ }
1726
+ /** @enumType */
1727
+ type CrossBorderRepricingModeWithLiterals = CrossBorderRepricingMode | 'DISABLED' | 'STRIP_ONLY' | 'FULL';
1594
1728
  interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
1595
1729
  /** Coupon applied by the customer. */
1596
1730
  coupon?: Coupon;
@@ -2237,7 +2371,7 @@ interface SubscriptionContractChangesCommitted {
2237
2371
  * @maxLength 200
2238
2372
  */
2239
2373
  reason?: string | null;
2240
- /** Price summary of the contract after the commit. */
2374
+ /** Price summary of the subscription contract after the commit. Same as `changes.priceSummary`. */
2241
2375
  priceSummary?: PriceSummary;
2242
2376
  }
2243
2377
  interface SubscriptionContractDiffs {
@@ -2264,7 +2398,7 @@ interface SubscriptionContractDiffs {
2264
2398
  additionalFees?: AdditionalFeeDelta[];
2265
2399
  /** Price summary after the changes. Replaces the subscription contract's previous price summary. */
2266
2400
  priceSummary?: PriceSummary;
2267
- /** Tax information after the changes. Replaces the subscription contract's previous tax information. */
2401
+ /** Tax information after the changes. */
2268
2402
  taxInfo?: OrderTaxInfo;
2269
2403
  /** Shipping information after the changes. Replaces the subscription contract's previous shipping information. */
2270
2404
  shippingInfo?: ShippingInformation;
@@ -2320,104 +2454,104 @@ interface CommonImage {
2320
2454
  */
2321
2455
  filename?: string | null;
2322
2456
  }
2323
- /** The catalog reference options before the change. */
2457
+ /** Catalog reference options before the change. */
2324
2458
  interface CatalogReferenceOptionsBeforeChange {
2325
- /** The catalog reference options. Absent when the line item had no options. */
2459
+ /** Catalog reference options. Absent when the line item had no options. */
2326
2460
  options?: Record<string, any> | null;
2327
2461
  }
2328
- /** The product name before the change. */
2462
+ /** Product name before the change. */
2329
2463
  interface ProductNameBeforeChange {
2330
- /** The product name. Absent when the line item had no product name. */
2464
+ /** Product name. Absent when the line item had no product name. */
2331
2465
  productName?: ProductName;
2332
2466
  }
2333
- /** The description lines before the change. */
2467
+ /** Description lines before the change. */
2334
2468
  interface DescriptionLinesBeforeChange {
2335
2469
  /**
2336
- * The description lines. Empty when the line item had no description lines.
2470
+ * Description lines. Empty when the line item had no description lines.
2337
2471
  * @maxSize 20
2338
2472
  */
2339
2473
  descriptionLines?: DescriptionLine[];
2340
2474
  }
2341
- /** The image before the change. */
2475
+ /** Image before the change. */
2342
2476
  interface ImageBeforeChange {
2343
- /** The image. Absent when the line item had no image. */
2477
+ /** Image. Absent when the line item had no image. */
2344
2478
  image?: CommonImage;
2345
2479
  }
2346
- /** The physical properties before the change. */
2480
+ /** Physical properties before the change. */
2347
2481
  interface PhysicalPropertiesBeforeChange {
2348
- /** The physical properties. Absent when the line item had no physical properties. */
2482
+ /** Physical properties. Absent when the line item had no physical properties. */
2349
2483
  physicalProperties?: PhysicalProperties;
2350
2484
  }
2351
- /** The item type before the change. */
2485
+ /** Item type before the change. */
2352
2486
  interface ItemTypeBeforeChange {
2353
- /** The item type. Absent when the line item had no item type. */
2487
+ /** Item type. Absent when the line item had no item type. */
2354
2488
  itemType?: ItemType;
2355
2489
  }
2356
- /** The fulfiller ID before the change. */
2490
+ /** Fulfiller ID before the change. */
2357
2491
  interface FulfillerIdBeforeChange {
2358
2492
  /**
2359
- * The fulfiller ID. Absent when the line item had no fulfiller.
2493
+ * Fulfiller ID. Absent when the line item had no fulfiller.
2360
2494
  * @format GUID
2361
2495
  */
2362
2496
  fulfillerId?: string | null;
2363
2497
  }
2364
- /** The digital file before the change. */
2498
+ /** Digital file before the change. */
2365
2499
  interface DigitalFileBeforeChange {
2366
- /** The digital file. Absent when the line item had no digital file. */
2500
+ /** Digital file. Absent when the line item had no digital file. */
2367
2501
  digitalFile?: DigitalFile;
2368
2502
  }
2369
- /** The price description before the change. */
2503
+ /** Price description before the change. */
2370
2504
  interface PriceDescriptionBeforeChange {
2371
- /** The price description. Absent when the line item had no price description. */
2505
+ /** Price description. Absent when the line item had no price description. */
2372
2506
  priceDescription?: PriceDescription;
2373
2507
  }
2374
- /** The delivery profile ID before the change. */
2508
+ /** Delivery profile ID before the change. */
2375
2509
  interface DeliveryProfileIdBeforeChange {
2376
2510
  /**
2377
- * The delivery profile ID. Absent when the line item had no delivery profile.
2511
+ * Delivery profile ID. Absent when the line item had no delivery profile.
2378
2512
  * @format GUID
2379
2513
  */
2380
2514
  deliveryProfileId?: string | null;
2381
2515
  }
2382
- /** The shipping group ID before the change. */
2516
+ /** Shipping group ID before the change. */
2383
2517
  interface ShippingGroupIdBeforeChange {
2384
2518
  /**
2385
- * The shipping group ID. Absent when the line item had no shipping group.
2519
+ * Shipping group ID. Absent when the line item had no shipping group.
2386
2520
  * @format GUID
2387
2521
  */
2388
2522
  shippingGroupId?: string | null;
2389
2523
  }
2390
- /** The tax info before the change. */
2524
+ /** Tax info before the change. */
2391
2525
  interface TaxInfoBeforeChange {
2392
- /** The tax info. Absent when the line item had no tax info. */
2526
+ /** Tax info. Absent when the line item had no tax info. */
2393
2527
  taxInfo?: LineItemTaxInfo;
2394
2528
  }
2395
- /** The inventory app ID before the change. */
2529
+ /** Inventory app ID before the change. */
2396
2530
  interface InventoryAppIdBeforeChange {
2397
2531
  /**
2398
- * The inventory app ID. Absent when the line item had no inventory app.
2532
+ * Inventory app ID. Absent when the line item had no inventory app.
2399
2533
  * @format GUID
2400
2534
  */
2401
2535
  inventoryAppId?: string | null;
2402
2536
  }
2403
- /** The root catalog item ID before the change. */
2537
+ /** Root catalog item ID before the change. */
2404
2538
  interface RootCatalogItemIdBeforeChange {
2405
2539
  /**
2406
- * The root catalog item ID. Absent when the line item had no root catalog item.
2540
+ * Root catalog item ID. Absent when the line item had no root catalog item.
2407
2541
  * @minLength 1
2408
2542
  * @maxLength 36
2409
2543
  */
2410
2544
  rootCatalogItemId?: string | null;
2411
2545
  }
2412
- /** The modifier groups before the change. */
2546
+ /** Modifier groups before the change. */
2413
2547
  interface ModifierGroupsBeforeChange {
2414
2548
  /**
2415
- * The modifier groups. Empty when the line item had no modifier groups.
2549
+ * Modifier groups. Empty when the line item had no modifier groups.
2416
2550
  * @maxSize 10
2417
2551
  */
2418
2552
  modifierGroups?: ModifierGroup[];
2419
2553
  }
2420
- /** The price undetermined flag before the change. */
2554
+ /** Price undetermined flag before the change. */
2421
2555
  interface PriceUndeterminedBeforeChange {
2422
2556
  /** Whether the price of the line item was undetermined. */
2423
2557
  priceUndetermined?: boolean;
@@ -2437,36 +2571,36 @@ declare enum ChangeType {
2437
2571
  type ChangeTypeWithLiterals = ChangeType | 'UNKNOWN_CHANGE_TYPE' | 'ADDED' | 'CHANGED' | 'REMOVED';
2438
2572
  interface ItemChangedDetails {
2439
2573
  /**
2440
- * The quantity before the change. Set only when the quantity changed.
2574
+ * Quantity before the change. Set only when the quantity changed.
2441
2575
  * @min 1
2442
2576
  * @max 1000000
2443
2577
  */
2444
2578
  quantityBeforeChange?: number | null;
2445
- /** The price before the change. Set only when the price changed. */
2579
+ /** Price before the change. Set only when the price changed. */
2446
2580
  priceBeforeChange?: Price;
2447
- /** The catalog reference options before the change. Set only when the catalog reference options changed. */
2581
+ /** Catalog reference options before the change. Set only when the catalog reference options changed. */
2448
2582
  catalogReferenceOptionsBeforeChange?: CatalogReferenceOptionsBeforeChange;
2449
- /** The product name before the change. Set only when the product name changed. */
2583
+ /** Product name before the change. Set only when the product name changed. */
2450
2584
  productNameBeforeChange?: ProductNameBeforeChange;
2451
- /** The description lines before the change. Set only when the description lines changed. */
2585
+ /** Description lines before the change. Set only when the description lines changed. */
2452
2586
  descriptionLinesBeforeChange?: DescriptionLinesBeforeChange;
2453
- /** The image before the change. Set only when the image changed. */
2587
+ /** Image before the change. Set only when the image changed. */
2454
2588
  imageBeforeChange?: ImageBeforeChange;
2455
- /** The physical properties before the change. Set only when the physical properties changed. */
2589
+ /** Physical properties before the change. Set only when the physical properties changed. */
2456
2590
  physicalPropertiesBeforeChange?: PhysicalPropertiesBeforeChange;
2457
- /** The item type before the change. Set only when the item type changed. */
2591
+ /** Item type before the change. Set only when the item type changed. */
2458
2592
  itemTypeBeforeChange?: ItemTypeBeforeChange;
2459
- /** The fulfiller ID before the change. Set only when the fulfiller ID changed. */
2593
+ /** Fulfiller ID before the change. Set only when the fulfiller ID changed. */
2460
2594
  fulfillerIdBeforeChange?: FulfillerIdBeforeChange;
2461
- /** The digital file before the change. Set only when the digital file changed. */
2595
+ /** Digital file before the change. Set only when the digital file changed. */
2462
2596
  digitalFileBeforeChange?: DigitalFileBeforeChange;
2463
- /** The price description before the change. Set only when the price description changed. */
2597
+ /** Price description before the change. Set only when the price description changed. */
2464
2598
  priceDescriptionBeforeChange?: PriceDescriptionBeforeChange;
2465
- /** The tax info before the change. Set only when the line item's tax group changed because its catalog options changed. */
2599
+ /** Tax info before the change. Set only when the line item's tax group changed. */
2466
2600
  taxInfoBeforeChange?: TaxInfoBeforeChange;
2467
- /** The modifier groups before the change. Set only when the modifier groups changed. */
2601
+ /** Modifier groups before the change. Set only when the modifier groups changed. */
2468
2602
  modifierGroupsBeforeChange?: ModifierGroupsBeforeChange;
2469
- /** The price undetermined flag before the change. Set only when the price undetermined flag changed. */
2603
+ /** Price undetermined flag before the change. Set only when the price undetermined flag changed. */
2470
2604
  priceUndeterminedBeforeChange?: PriceUndeterminedBeforeChange;
2471
2605
  }
2472
2606
  interface AppliedDiscountDelta extends AppliedDiscountDeltaDeltaDetailsOneOf {
@@ -2961,4 +3095,4 @@ declare function getSubscriptionContract(): __PublicMethodMetaInfo<'GET', {
2961
3095
  }, GetSubscriptionContractRequest$1, GetSubscriptionContractRequest, GetSubscriptionContractResponse$1, GetSubscriptionContractResponse>;
2962
3096
  declare function querySubscriptionContracts(): __PublicMethodMetaInfo<'GET', {}, QuerySubscriptionContractsRequest$1, QuerySubscriptionContractsRequest, QuerySubscriptionContractsResponse$1, QuerySubscriptionContractsResponse>;
2963
3097
 
2964
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, ActionInitiator as ActionInitiatorOriginal, type ActionInitiatorWithLiterals as ActionInitiatorWithLiteralsOriginal, type ActivityAuthor as ActivityAuthorOriginal, type ActivityAuthorValueOneOf as ActivityAuthorValueOneOfOriginal, ActivityType as ActivityTypeOriginal, type ActivityTypeWithLiterals as ActivityTypeWithLiteralsOriginal, type AdditionalFeeDeltaDeltaDetailsOneOf as AdditionalFeeDeltaDeltaDetailsOneOfOriginal, type AdditionalFeeDelta as AdditionalFeeDeltaOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AdditionalFeeSummary as AdditionalFeeSummaryOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, AdjustmentType as AdjustmentTypeOriginal, type AdjustmentTypeWithLiterals as AdjustmentTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDeltaDeltaDetailsOneOf as AppliedDiscountDeltaDeltaDetailsOneOfOriginal, type AppliedDiscountDelta as AppliedDiscountDeltaOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, type AppliedDiscount as AppliedDiscountOriginal, type BillingAdjustment as BillingAdjustmentOriginal, type BillingAdjustmentPriceSummary as BillingAdjustmentPriceSummaryOriginal, type BillingSettings as BillingSettingsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateSubscriptionContractsRequest as BulkCreateSubscriptionContractsRequestOriginal, type BulkCreateSubscriptionContractsResponse as BulkCreateSubscriptionContractsResponseOriginal, type BulkSubscriptionContractResult as BulkSubscriptionContractResultOriginal, type BulkUpdateSubscriptionContractsRequest as BulkUpdateSubscriptionContractsRequestOriginal, type BulkUpdateSubscriptionContractsResponse as BulkUpdateSubscriptionContractsResponseOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, type CatalogReferenceOptionsBeforeChange as CatalogReferenceOptionsBeforeChangeOriginal, type CatalogReference as CatalogReferenceOriginal, ChangeType as ChangeTypeOriginal, type ChangeTypeWithLiterals as ChangeTypeWithLiteralsOriginal, type ChangesAppliedActivity as ChangesAppliedActivityOriginal, type ChangesAppliedActivityTargetOneOf as ChangesAppliedActivityTargetOneOfOriginal, type ChannelInfo as ChannelInfoOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, type Color as ColorOriginal, type CommitSubscriptionContractChangesRequest as CommitSubscriptionContractChangesRequestOriginal, type CommitSubscriptionContractChangesResponse as CommitSubscriptionContractChangesResponseOriginal, type CommonImage as CommonImageOriginal, type ContractChangeChangeDetailsOneOf as ContractChangeChangeDetailsOneOfOriginal, type ContractChange as ContractChangeOriginal, ContractChangeType as ContractChangeTypeOriginal, type ContractChangeTypeWithLiterals as ContractChangeTypeWithLiteralsOriginal, type ContractTarget as ContractTargetOriginal, type Coupon as CouponOriginal, type CreateSubscriptionContractRequest as CreateSubscriptionContractRequestOriginal, type CreateSubscriptionContractResponse as CreateSubscriptionContractResponseOriginal, type CurrencyConversionDetails as CurrencyConversionDetailsOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomField as CustomFieldOriginal, type CyclePriceOverride as CyclePriceOverrideOriginal, type DecimalQuantity as DecimalQuantityOriginal, type DecimalQuantityUnitOneOf as DecimalQuantityUnitOneOfOriginal, type DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOfOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryProfileIdBeforeChange as DeliveryProfileIdBeforeChangeOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type DescriptionLinesBeforeChange as DescriptionLinesBeforeChangeOriginal, type DigitalFileBeforeChange as DigitalFileBeforeChangeOriginal, type DigitalFile as DigitalFileOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, DiscountReason as DiscountReasonOriginal, type DiscountReasonWithLiterals as DiscountReasonWithLiteralsOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, type DiscountSummary as DiscountSummaryOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FocalPoint as FocalPointOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FulfillerIdBeforeChange as FulfillerIdBeforeChangeOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetSubscriptionContractApplicationErrors as GetSubscriptionContractApplicationErrorsOriginal, type GetSubscriptionContractRequest as GetSubscriptionContractRequestOriginal, type GetSubscriptionContractResponse as GetSubscriptionContractResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageBeforeChange as ImageBeforeChangeOriginal, type Image as ImageOriginal, type InventoryAppIdBeforeChange as InventoryAppIdBeforeChangeOriginal, type ItemChangedDetails as ItemChangedDetailsOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemMetadata as ItemMetadataOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeBeforeChange as ItemTypeBeforeChangeOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, type ItemType as ItemTypeOriginal, ItemTypePreset as ItemTypePresetOriginal, type ItemTypePresetWithLiterals as ItemTypePresetWithLiteralsOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LineItemChanges as LineItemChangesOriginal, type LineItemCyclePriceOverrides as LineItemCyclePriceOverridesOriginal, type LineItemDeltaDeltaDetailsOneOf as LineItemDeltaDeltaDetailsOneOfOriginal, type LineItemDelta as LineItemDeltaOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItemQuantityChange as LineItemQuantityChangeOriginal, LineItemQuantityChangeType as LineItemQuantityChangeTypeOriginal, type LineItemQuantityChangeTypeWithLiterals as LineItemQuantityChangeTypeWithLiteralsOriginal, type LineItemSummary as LineItemSummaryOriginal, type LineItemTaxBreakdown as LineItemTaxBreakdownOriginal, type LineItemTaxInfo as LineItemTaxInfoOriginal, type LocationAndQuantity as LocationAndQuantityOriginal, type Location as LocationOriginal, type MaskedSubscriptionContract as MaskedSubscriptionContractOriginal, MeasurementUnit as MeasurementUnitOriginal, type MeasurementUnitWithLiterals as MeasurementUnitWithLiteralsOriginal, type MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOfOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type ModifierGroupsBeforeChange as ModifierGroupsBeforeChangeOriginal, type OrderLineItem as OrderLineItemOriginal, type OrderTaxBreakdown as OrderTaxBreakdownOriginal, type OrderTaxInfo as OrderTaxInfoOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalPropertiesBeforeChange as PhysicalPropertiesBeforeChangeOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupAddress as PickupAddressOriginal, type PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, type PlatformFee as PlatformFeeOriginal, type PlatformFeeSummary as PlatformFeeSummaryOriginal, type PriceDescriptionBeforeChange as PriceDescriptionBeforeChangeOriginal, type PriceDescription as PriceDescriptionOriginal, type Price as PriceOriginal, type PriceSummary as PriceSummaryOriginal, type PriceUndeterminedBeforeChange as PriceUndeterminedBeforeChangeOriginal, type ProductNameBeforeChange as ProductNameBeforeChangeOriginal, type ProductName as ProductNameOriginal, ProductPeriodAlignment as ProductPeriodAlignmentOriginal, type ProductPeriodAlignmentWithLiterals as ProductPeriodAlignmentWithLiteralsOriginal, type QuerySubscriptionContractsRequest as QuerySubscriptionContractsRequestOriginal, type QuerySubscriptionContractsResponse as QuerySubscriptionContractsResponseOriginal, type RestockLocation as RestockLocationOriginal, type RestoreInfo as RestoreInfoOriginal, type RootCatalogItemIdBeforeChange as RootCatalogItemIdBeforeChangeOriginal, type ServiceProperties as ServicePropertiesOriginal, type ShippingGroupIdBeforeChange as ShippingGroupIdBeforeChangeOriginal, type ShippingInformation as ShippingInformationOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, SpecificItemsCouponBehavior as SpecificItemsCouponBehaviorOriginal, type SpecificItemsCouponBehaviorWithLiterals as SpecificItemsCouponBehaviorWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type SubscriptionCommitSettings as SubscriptionCommitSettingsOriginal, type SubscriptionContractActivityContentOneOf as SubscriptionContractActivityContentOneOfOriginal, type SubscriptionContractActivity as SubscriptionContractActivityOriginal, type SubscriptionContractActivityTargetOneOf as SubscriptionContractActivityTargetOneOfOriginal, type SubscriptionContractCanceled as SubscriptionContractCanceledOriginal, type SubscriptionContractChangesCommitted as SubscriptionContractChangesCommittedOriginal, type SubscriptionContractChargeUpcoming as SubscriptionContractChargeUpcomingOriginal, type SubscriptionContractDiffs as SubscriptionContractDiffsOriginal, type SubscriptionContractExpired as SubscriptionContractExpiredOriginal, type SubscriptionContract as SubscriptionContractOriginal, type SubscriptionContractSettings as SubscriptionContractSettingsOriginal, type SubscriptionDescription as SubscriptionDescriptionOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionInfo as SubscriptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SubscriptionSettingsProductPeriodAlignment as SubscriptionSettingsProductPeriodAlignmentOriginal, type SubscriptionSettingsProductPeriodAlignmentWithLiterals as SubscriptionSettingsProductPeriodAlignmentWithLiteralsOriginal, type SubscriptionTitle as SubscriptionTitleOriginal, type TaxInfoBeforeChange as TaxInfoBeforeChangeOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type TotalPriceChange as TotalPriceChangeOriginal, type TranslatableString as TranslatableStringOriginal, type TranslatedValue as TranslatedValueOriginal, type UpdateSubscriptionContractRequest as UpdateSubscriptionContractRequestOriginal, type UpdateSubscriptionContractResponse as UpdateSubscriptionContractResponseOriginal, type V1BillingSettings as V1BillingSettingsOriginal, type V1CyclePriceOverride as V1CyclePriceOverrideOriginal, type V1FreeTrialPeriod as V1FreeTrialPeriodOriginal, type V1SubscriptionDescription as V1SubscriptionDescriptionOriginal, type V1SubscriptionSettings as V1SubscriptionSettingsOriginal, type V1SubscriptionTitle as V1SubscriptionTitleOriginal, V2SubscriptionFrequency as V2SubscriptionFrequencyOriginal, type V2SubscriptionFrequencyWithLiterals as V2SubscriptionFrequencyWithLiteralsOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, getSubscriptionContract, querySubscriptionContracts };
3098
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, ActionInitiator as ActionInitiatorOriginal, type ActionInitiatorWithLiterals as ActionInitiatorWithLiteralsOriginal, type ActivityAuthor as ActivityAuthorOriginal, type ActivityAuthorValueOneOf as ActivityAuthorValueOneOfOriginal, ActivityType as ActivityTypeOriginal, type ActivityTypeWithLiterals as ActivityTypeWithLiteralsOriginal, type AdditionalFeeDeltaDeltaDetailsOneOf as AdditionalFeeDeltaDeltaDetailsOneOfOriginal, type AdditionalFeeDelta as AdditionalFeeDeltaOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AdditionalFeeSummary as AdditionalFeeSummaryOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, AdjustmentType as AdjustmentTypeOriginal, type AdjustmentTypeWithLiterals as AdjustmentTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDeltaDeltaDetailsOneOf as AppliedDiscountDeltaDeltaDetailsOneOfOriginal, type AppliedDiscountDelta as AppliedDiscountDeltaOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, type AppliedDiscount as AppliedDiscountOriginal, BaseRateSource as BaseRateSourceOriginal, type BaseRateSourceWithLiterals as BaseRateSourceWithLiteralsOriginal, type BillingAdjustment as BillingAdjustmentOriginal, type BillingAdjustmentPriceSummary as BillingAdjustmentPriceSummaryOriginal, type BillingSettings as BillingSettingsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateSubscriptionContractsRequest as BulkCreateSubscriptionContractsRequestOriginal, type BulkCreateSubscriptionContractsResponse as BulkCreateSubscriptionContractsResponseOriginal, type BulkSubscriptionContractResult as BulkSubscriptionContractResultOriginal, type BulkUpdateSubscriptionContractsRequest as BulkUpdateSubscriptionContractsRequestOriginal, type BulkUpdateSubscriptionContractsResponse as BulkUpdateSubscriptionContractsResponseOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, type CatalogReferenceOptionsBeforeChange as CatalogReferenceOptionsBeforeChangeOriginal, type CatalogReference as CatalogReferenceOriginal, ChangeType as ChangeTypeOriginal, type ChangeTypeWithLiterals as ChangeTypeWithLiteralsOriginal, type ChangesAppliedActivity as ChangesAppliedActivityOriginal, type ChangesAppliedActivityTargetOneOf as ChangesAppliedActivityTargetOneOfOriginal, type ChannelInfo as ChannelInfoOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, type Color as ColorOriginal, type CommitSubscriptionContractChangesRequest as CommitSubscriptionContractChangesRequestOriginal, type CommitSubscriptionContractChangesResponse as CommitSubscriptionContractChangesResponseOriginal, type CommonImage as CommonImageOriginal, type ContractChangeChangeDetailsOneOf as ContractChangeChangeDetailsOneOfOriginal, type ContractChange as ContractChangeOriginal, ContractChangeType as ContractChangeTypeOriginal, type ContractChangeTypeWithLiterals as ContractChangeTypeWithLiteralsOriginal, type ContractTarget as ContractTargetOriginal, type Coupon as CouponOriginal, type CreateSubscriptionContractRequest as CreateSubscriptionContractRequestOriginal, type CreateSubscriptionContractResponse as CreateSubscriptionContractResponseOriginal, type CrossBorderCalculation as CrossBorderCalculationOriginal, CrossBorderNotApplicableReason as CrossBorderNotApplicableReasonOriginal, type CrossBorderNotApplicableReasonWithLiterals as CrossBorderNotApplicableReasonWithLiteralsOriginal, type CrossBorderPriceAdjustment as CrossBorderPriceAdjustmentOriginal, CrossBorderRepricingMode as CrossBorderRepricingModeOriginal, type CrossBorderRepricingModeWithLiterals as CrossBorderRepricingModeWithLiteralsOriginal, type CurrencyConversionDetails as CurrencyConversionDetailsOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomField as CustomFieldOriginal, type CyclePriceOverride as CyclePriceOverrideOriginal, type DecimalQuantity as DecimalQuantityOriginal, type DecimalQuantityUnitOneOf as DecimalQuantityUnitOneOfOriginal, type DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOfOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryProfileIdBeforeChange as DeliveryProfileIdBeforeChangeOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type DescriptionLinesBeforeChange as DescriptionLinesBeforeChangeOriginal, type DigitalFileBeforeChange as DigitalFileBeforeChangeOriginal, type DigitalFile as DigitalFileOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, DiscountReason as DiscountReasonOriginal, type DiscountReasonWithLiterals as DiscountReasonWithLiteralsOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, type DiscountSummary as DiscountSummaryOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FocalPoint as FocalPointOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FulfillerIdBeforeChange as FulfillerIdBeforeChangeOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetSubscriptionContractApplicationErrors as GetSubscriptionContractApplicationErrorsOriginal, type GetSubscriptionContractRequest as GetSubscriptionContractRequestOriginal, type GetSubscriptionContractResponse as GetSubscriptionContractResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageBeforeChange as ImageBeforeChangeOriginal, type Image as ImageOriginal, type InventoryAppIdBeforeChange as InventoryAppIdBeforeChangeOriginal, type ItemChangedDetails as ItemChangedDetailsOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemMetadata as ItemMetadataOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeBeforeChange as ItemTypeBeforeChangeOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, type ItemType as ItemTypeOriginal, ItemTypePreset as ItemTypePresetOriginal, type ItemTypePresetWithLiterals as ItemTypePresetWithLiteralsOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LineItemChanges as LineItemChangesOriginal, type LineItemCyclePriceOverrides as LineItemCyclePriceOverridesOriginal, type LineItemDeltaDeltaDetailsOneOf as LineItemDeltaDeltaDetailsOneOfOriginal, type LineItemDelta as LineItemDeltaOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItemQuantityChange as LineItemQuantityChangeOriginal, LineItemQuantityChangeType as LineItemQuantityChangeTypeOriginal, type LineItemQuantityChangeTypeWithLiterals as LineItemQuantityChangeTypeWithLiteralsOriginal, type LineItemSummary as LineItemSummaryOriginal, type LineItemTaxBreakdown as LineItemTaxBreakdownOriginal, type LineItemTaxInfo as LineItemTaxInfoOriginal, type LocationAndQuantity as LocationAndQuantityOriginal, type Location as LocationOriginal, type MaskedSubscriptionContract as MaskedSubscriptionContractOriginal, MeasurementUnit as MeasurementUnitOriginal, type MeasurementUnitWithLiterals as MeasurementUnitWithLiteralsOriginal, type MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOfOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type ModifierGroupsBeforeChange as ModifierGroupsBeforeChangeOriginal, type OrderLineItem as OrderLineItemOriginal, type OrderTaxBreakdown as OrderTaxBreakdownOriginal, type OrderTaxInfo as OrderTaxInfoOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalPropertiesBeforeChange as PhysicalPropertiesBeforeChangeOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupAddress as PickupAddressOriginal, type PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, type PlatformFee as PlatformFeeOriginal, type PlatformFeeSummary as PlatformFeeSummaryOriginal, type PriceDescriptionBeforeChange as PriceDescriptionBeforeChangeOriginal, type PriceDescription as PriceDescriptionOriginal, type Price as PriceOriginal, type PriceSummary as PriceSummaryOriginal, type PriceUndeterminedBeforeChange as PriceUndeterminedBeforeChangeOriginal, type ProductNameBeforeChange as ProductNameBeforeChangeOriginal, type ProductName as ProductNameOriginal, ProductPeriodAlignment as ProductPeriodAlignmentOriginal, type ProductPeriodAlignmentWithLiterals as ProductPeriodAlignmentWithLiteralsOriginal, type QuerySubscriptionContractsRequest as QuerySubscriptionContractsRequestOriginal, type QuerySubscriptionContractsResponse as QuerySubscriptionContractsResponseOriginal, RepriceStatus as RepriceStatusOriginal, type RepriceStatusWithLiterals as RepriceStatusWithLiteralsOriginal, type RestockLocation as RestockLocationOriginal, type RestoreInfo as RestoreInfoOriginal, type RootCatalogItemIdBeforeChange as RootCatalogItemIdBeforeChangeOriginal, type ServiceProperties as ServicePropertiesOriginal, type ShippingGroupIdBeforeChange as ShippingGroupIdBeforeChangeOriginal, type ShippingInformation as ShippingInformationOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, SpecificItemsCouponBehavior as SpecificItemsCouponBehaviorOriginal, type SpecificItemsCouponBehaviorWithLiterals as SpecificItemsCouponBehaviorWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type SubscriptionCommitSettings as SubscriptionCommitSettingsOriginal, type SubscriptionContractActivityContentOneOf as SubscriptionContractActivityContentOneOfOriginal, type SubscriptionContractActivity as SubscriptionContractActivityOriginal, type SubscriptionContractActivityTargetOneOf as SubscriptionContractActivityTargetOneOfOriginal, type SubscriptionContractCanceled as SubscriptionContractCanceledOriginal, type SubscriptionContractChangesCommitted as SubscriptionContractChangesCommittedOriginal, type SubscriptionContractChargeUpcoming as SubscriptionContractChargeUpcomingOriginal, type SubscriptionContractDiffs as SubscriptionContractDiffsOriginal, type SubscriptionContractExpired as SubscriptionContractExpiredOriginal, type SubscriptionContract as SubscriptionContractOriginal, type SubscriptionContractSettings as SubscriptionContractSettingsOriginal, type SubscriptionDescription as SubscriptionDescriptionOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionInfo as SubscriptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SubscriptionSettingsProductPeriodAlignment as SubscriptionSettingsProductPeriodAlignmentOriginal, type SubscriptionSettingsProductPeriodAlignmentWithLiterals as SubscriptionSettingsProductPeriodAlignmentWithLiteralsOriginal, type SubscriptionTitle as SubscriptionTitleOriginal, type TaxInfoBeforeChange as TaxInfoBeforeChangeOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type TotalPriceChange as TotalPriceChangeOriginal, type TranslatableString as TranslatableStringOriginal, type TranslatedValue as TranslatedValueOriginal, type UpdateSubscriptionContractRequest as UpdateSubscriptionContractRequestOriginal, type UpdateSubscriptionContractResponse as UpdateSubscriptionContractResponseOriginal, type V1BillingSettings as V1BillingSettingsOriginal, type V1CyclePriceOverride as V1CyclePriceOverrideOriginal, type V1FreeTrialPeriod as V1FreeTrialPeriodOriginal, type V1SubscriptionDescription as V1SubscriptionDescriptionOriginal, type V1SubscriptionSettings as V1SubscriptionSettingsOriginal, type V1SubscriptionTitle as V1SubscriptionTitleOriginal, V2SubscriptionFrequency as V2SubscriptionFrequencyOriginal, type V2SubscriptionFrequencyWithLiterals as V2SubscriptionFrequencyWithLiteralsOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, getSubscriptionContract, querySubscriptionContracts };
package/build/cjs/meta.js CHANGED
@@ -24,10 +24,13 @@ __export(meta_exports, {
24
24
  ActivityTypeOriginal: () => ActivityType,
25
25
  AdditionalFeeSourceOriginal: () => AdditionalFeeSource,
26
26
  AdjustmentTypeOriginal: () => AdjustmentType,
27
+ BaseRateSourceOriginal: () => BaseRateSource,
27
28
  ChangeTypeOriginal: () => ChangeType,
28
29
  ChannelTypeOriginal: () => ChannelType,
29
30
  ChargeTypeOriginal: () => ChargeType,
30
31
  ContractChangeTypeOriginal: () => ContractChangeType,
32
+ CrossBorderNotApplicableReasonOriginal: () => CrossBorderNotApplicableReason,
33
+ CrossBorderRepricingModeOriginal: () => CrossBorderRepricingMode,
31
34
  DescriptionLineTypeOriginal: () => DescriptionLineType,
32
35
  DimensionsUnitOriginal: () => DimensionsUnit,
33
36
  DiscountReasonOriginal: () => DiscountReason,
@@ -39,6 +42,7 @@ __export(meta_exports, {
39
42
  PaymentOptionTypeOriginal: () => PaymentOptionType,
40
43
  PickupMethodOriginal: () => PickupMethod,
41
44
  ProductPeriodAlignmentOriginal: () => ProductPeriodAlignment,
45
+ RepriceStatusOriginal: () => RepriceStatus,
42
46
  SortOrderOriginal: () => SortOrder,
43
47
  SpecificItemsCouponBehaviorOriginal: () => SpecificItemsCouponBehavior,
44
48
  SubscriptionFrequencyOriginal: () => SubscriptionFrequency,
@@ -70,9 +74,18 @@ var TRANSFORM_PATHS_0 = [
70
74
  },
71
75
  { path: "subscriptionContract.lineItems.serviceProperties.scheduledDate" },
72
76
  { path: "subscriptionContract.lineItems.serviceProperties.endDate" },
77
+ {
78
+ path: "subscriptionContract.lineItems.crossBorderAdjustment.baseRateCapturedDate"
79
+ },
73
80
  { path: "subscriptionContract.shippingInfo.logistics.deliverByDate" },
74
81
  { path: "subscriptionContract.shippingInfo.logistics.deliveryTimeSlot.from" },
75
82
  { path: "subscriptionContract.shippingInfo.logistics.deliveryTimeSlot.to" },
83
+ {
84
+ path: "subscriptionContract.shippingInfo.cost.crossBorderAdjustment.baseRateCapturedDate"
85
+ },
86
+ {
87
+ path: "subscriptionContract.additionalFees.crossBorderAdjustment.baseRateCapturedDate"
88
+ },
76
89
  { path: "subscriptionContract.activities.createdDate" }
77
90
  ];
78
91
  var TRANSFORM_PATHS_1 = [
@@ -107,11 +120,20 @@ var TRANSFORM_PATHS_2 = [
107
120
  },
108
121
  { path: "subscriptionContracts.lineItems.serviceProperties.scheduledDate" },
109
122
  { path: "subscriptionContracts.lineItems.serviceProperties.endDate" },
123
+ {
124
+ path: "subscriptionContracts.lineItems.crossBorderAdjustment.baseRateCapturedDate"
125
+ },
110
126
  { path: "subscriptionContracts.shippingInfo.logistics.deliverByDate" },
111
127
  {
112
128
  path: "subscriptionContracts.shippingInfo.logistics.deliveryTimeSlot.from"
113
129
  },
114
130
  { path: "subscriptionContracts.shippingInfo.logistics.deliveryTimeSlot.to" },
131
+ {
132
+ path: "subscriptionContracts.shippingInfo.cost.crossBorderAdjustment.baseRateCapturedDate"
133
+ },
134
+ {
135
+ path: "subscriptionContracts.additionalFees.crossBorderAdjustment.baseRateCapturedDate"
136
+ },
115
137
  { path: "subscriptionContracts.activities.createdDate" }
116
138
  ];
117
139
  var TRANSFORM_PATHS_3 = [
@@ -361,6 +383,23 @@ var MeasurementUnit = /* @__PURE__ */ ((MeasurementUnit2) => {
361
383
  MeasurementUnit2["SQFT"] = "SQFT";
362
384
  return MeasurementUnit2;
363
385
  })(MeasurementUnit || {});
386
+ var RepriceStatus = /* @__PURE__ */ ((RepriceStatus2) => {
387
+ RepriceStatus2["APPLIED"] = "APPLIED";
388
+ RepriceStatus2["KEPT"] = "KEPT";
389
+ RepriceStatus2["STRIP_ONLY"] = "STRIP_ONLY";
390
+ RepriceStatus2["SAME_REGION"] = "SAME_REGION";
391
+ RepriceStatus2["SAME_COUNTRY"] = "SAME_COUNTRY";
392
+ RepriceStatus2["NO_DESTINATION_REGION"] = "NO_DESTINATION_REGION";
393
+ RepriceStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
394
+ RepriceStatus2["NOT_APPLICABLE_MODIFIERS"] = "NOT_APPLICABLE_MODIFIERS";
395
+ RepriceStatus2["CONVERTED_CURRENCY_SUBSCRIPTION"] = "CONVERTED_CURRENCY_SUBSCRIPTION";
396
+ return RepriceStatus2;
397
+ })(RepriceStatus || {});
398
+ var BaseRateSource = /* @__PURE__ */ ((BaseRateSource2) => {
399
+ BaseRateSource2["MANUAL_SPI"] = "MANUAL_SPI";
400
+ BaseRateSource2["AVALARA_PROBE"] = "AVALARA_PROBE";
401
+ return BaseRateSource2;
402
+ })(BaseRateSource || {});
364
403
  var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
365
404
  WeightUnit2["UNSPECIFIED_WEIGHT_UNIT"] = "UNSPECIFIED_WEIGHT_UNIT";
366
405
  WeightUnit2["KG"] = "KG";
@@ -383,6 +422,25 @@ var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
383
422
  PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
384
423
  return PickupMethod2;
385
424
  })(PickupMethod || {});
425
+ var CrossBorderNotApplicableReason = /* @__PURE__ */ ((CrossBorderNotApplicableReason2) => {
426
+ CrossBorderNotApplicableReason2["FEATURE_DISABLED"] = "FEATURE_DISABLED";
427
+ CrossBorderNotApplicableReason2["NOT_OPTED_IN"] = "NOT_OPTED_IN";
428
+ CrossBorderNotApplicableReason2["TAX_INCLUSIVE_PRICING_OFF"] = "TAX_INCLUSIVE_PRICING_OFF";
429
+ CrossBorderNotApplicableReason2["BASE_TAX_REGION_NOT_FOUND"] = "BASE_TAX_REGION_NOT_FOUND";
430
+ CrossBorderNotApplicableReason2["BASE_REGION_HAS_NO_MANUAL_MAPPING"] = "BASE_REGION_HAS_NO_MANUAL_MAPPING";
431
+ CrossBorderNotApplicableReason2["EMBEDDED_RATE_MISSING"] = "EMBEDDED_RATE_MISSING";
432
+ CrossBorderNotApplicableReason2["CROSS_BORDER_REPRICING_FAILED"] = "CROSS_BORDER_REPRICING_FAILED";
433
+ CrossBorderNotApplicableReason2["SHIPPING_REPRICING_FAILED"] = "SHIPPING_REPRICING_FAILED";
434
+ CrossBorderNotApplicableReason2["FEES_REPRICING_FAILED"] = "FEES_REPRICING_FAILED";
435
+ CrossBorderNotApplicableReason2["SETTINGS_UNAVAILABLE"] = "SETTINGS_UNAVAILABLE";
436
+ return CrossBorderNotApplicableReason2;
437
+ })(CrossBorderNotApplicableReason || {});
438
+ var CrossBorderRepricingMode = /* @__PURE__ */ ((CrossBorderRepricingMode2) => {
439
+ CrossBorderRepricingMode2["DISABLED"] = "DISABLED";
440
+ CrossBorderRepricingMode2["STRIP_ONLY"] = "STRIP_ONLY";
441
+ CrossBorderRepricingMode2["FULL"] = "FULL";
442
+ return CrossBorderRepricingMode2;
443
+ })(CrossBorderRepricingMode || {});
386
444
  var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
387
445
  DiscountType2["GLOBAL"] = "GLOBAL";
388
446
  DiscountType2["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
@@ -533,10 +591,13 @@ function querySubscriptionContracts2() {
533
591
  ActivityTypeOriginal,
534
592
  AdditionalFeeSourceOriginal,
535
593
  AdjustmentTypeOriginal,
594
+ BaseRateSourceOriginal,
536
595
  ChangeTypeOriginal,
537
596
  ChannelTypeOriginal,
538
597
  ChargeTypeOriginal,
539
598
  ContractChangeTypeOriginal,
599
+ CrossBorderNotApplicableReasonOriginal,
600
+ CrossBorderRepricingModeOriginal,
540
601
  DescriptionLineTypeOriginal,
541
602
  DimensionsUnitOriginal,
542
603
  DiscountReasonOriginal,
@@ -548,6 +609,7 @@ function querySubscriptionContracts2() {
548
609
  PaymentOptionTypeOriginal,
549
610
  PickupMethodOriginal,
550
611
  ProductPeriodAlignmentOriginal,
612
+ RepriceStatusOriginal,
551
613
  SortOrderOriginal,
552
614
  SpecificItemsCouponBehaviorOriginal,
553
615
  SubscriptionFrequencyOriginal,