@wix/auto_sdk_ecom_draft-orders 1.0.191 → 1.0.193

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.
@@ -445,10 +445,7 @@ interface LineItemTaxInfo {
445
445
  * @maxSize 7
446
446
  */
447
447
  taxBreakdown?: LineItemTaxBreakdown[];
448
- /**
449
- * Amount of the line item price that was exempt from tax.
450
- * @internal
451
- */
448
+ /** Amount of the line item price that was exempt from tax. */
452
449
  exemptAmount?: Price;
453
450
  }
454
451
  /**
@@ -486,10 +483,7 @@ interface LineItemTaxBreakdown {
486
483
  nonTaxableAmount?: Price;
487
484
  /** Taxable amount of the line item price. */
488
485
  taxableAmount?: Price;
489
- /**
490
- * Amount of the line item price that was exempt from this authority.
491
- * @internal
492
- */
486
+ /** Amount of the line item price that was exempt from this authority. */
493
487
  exemptAmount?: Price;
494
488
  }
495
489
  /** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
@@ -653,6 +647,15 @@ interface OrderLineItem {
653
647
  * @readonly
654
648
  */
655
649
  priceBeforeDiscountsAndTax?: Price;
650
+ /**
651
+ * Catalog price of a single item, with modifiers, before any discounts.
652
+ * When the item is on sale in the catalog, this is the price before the sale.
653
+ *
654
+ * For the price after the sale but before other discounts, see `priceBeforeDiscounts`.
655
+ * @internal
656
+ * @readonly
657
+ */
658
+ fullPrice?: Price;
656
659
  /**
657
660
  * Total price after discounts, and before tax.
658
661
  * @readonly
@@ -1999,19 +2002,7 @@ declare enum DiscountValueType {
1999
2002
  * @documentationMaturity preview
2000
2003
  * @internal
2001
2004
  */
2002
- FIXED_AMOUNT = "FIXED_AMOUNT",
2003
- /**
2004
- * The discount sets the price it applies to a fixed amount.
2005
- * @documentationMaturity preview
2006
- * @internal
2007
- */
2008
- FIXED_PRICE = "FIXED_PRICE",
2009
- /**
2010
- * The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
2011
- * @documentationMaturity preview
2012
- * @internal
2013
- */
2014
- QUANTITY_BASED = "QUANTITY_BASED"
2005
+ FIXED_AMOUNT = "FIXED_AMOUNT"
2015
2006
  }
2016
2007
  /** @enumType */
2017
2008
  type DiscountValueTypeWithLiterals = DiscountValueType;
@@ -2419,8 +2410,7 @@ interface OrderTaxInfo {
2419
2410
  */
2420
2411
  taxExempt?: boolean | null;
2421
2412
  /**
2422
- * The total amount that was exempt from tax calculations.
2423
- * @internal
2413
+ * Total amount exempt from tax calculations.
2424
2414
  * @readonly
2425
2415
  */
2426
2416
  totalExempt?: Price;
@@ -2466,10 +2456,7 @@ interface OrderTaxBreakdown {
2466
2456
  * @internal
2467
2457
  */
2468
2458
  aggregatedTaxableAmount?: Price;
2469
- /**
2470
- * The aggregated exempt amount from all line items for tax identifiers.
2471
- * @internal
2472
- */
2459
+ /** Total amount exempt from this tax, summed across all line items. */
2473
2460
  aggregatedExemptAmount?: Price;
2474
2461
  }
2475
2462
  /** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
@@ -445,10 +445,7 @@ interface LineItemTaxInfo {
445
445
  * @maxSize 7
446
446
  */
447
447
  taxBreakdown?: LineItemTaxBreakdown[];
448
- /**
449
- * Amount of the line item price that was exempt from tax.
450
- * @internal
451
- */
448
+ /** Amount of the line item price that was exempt from tax. */
452
449
  exemptAmount?: Price;
453
450
  }
454
451
  /**
@@ -486,10 +483,7 @@ interface LineItemTaxBreakdown {
486
483
  nonTaxableAmount?: Price;
487
484
  /** Taxable amount of the line item price. */
488
485
  taxableAmount?: Price;
489
- /**
490
- * Amount of the line item price that was exempt from this authority.
491
- * @internal
492
- */
486
+ /** Amount of the line item price that was exempt from this authority. */
493
487
  exemptAmount?: Price;
494
488
  }
495
489
  /** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
@@ -653,6 +647,15 @@ interface OrderLineItem {
653
647
  * @readonly
654
648
  */
655
649
  priceBeforeDiscountsAndTax?: Price;
650
+ /**
651
+ * Catalog price of a single item, with modifiers, before any discounts.
652
+ * When the item is on sale in the catalog, this is the price before the sale.
653
+ *
654
+ * For the price after the sale but before other discounts, see `priceBeforeDiscounts`.
655
+ * @internal
656
+ * @readonly
657
+ */
658
+ fullPrice?: Price;
656
659
  /**
657
660
  * Total price after discounts, and before tax.
658
661
  * @readonly
@@ -2040,19 +2043,7 @@ declare enum DiscountValueType {
2040
2043
  * @documentationMaturity preview
2041
2044
  * @internal
2042
2045
  */
2043
- FIXED_AMOUNT = "FIXED_AMOUNT",
2044
- /**
2045
- * The discount sets the price it applies to a fixed amount.
2046
- * @documentationMaturity preview
2047
- * @internal
2048
- */
2049
- FIXED_PRICE = "FIXED_PRICE",
2050
- /**
2051
- * The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
2052
- * @documentationMaturity preview
2053
- * @internal
2054
- */
2055
- QUANTITY_BASED = "QUANTITY_BASED"
2046
+ FIXED_AMOUNT = "FIXED_AMOUNT"
2056
2047
  }
2057
2048
  /** @enumType */
2058
2049
  type DiscountValueTypeWithLiterals = DiscountValueType;
@@ -2460,8 +2451,7 @@ interface OrderTaxInfo {
2460
2451
  */
2461
2452
  taxExempt?: boolean | null;
2462
2453
  /**
2463
- * The total amount that was exempt from tax calculations.
2464
- * @internal
2454
+ * Total amount exempt from tax calculations.
2465
2455
  * @readonly
2466
2456
  */
2467
2457
  totalExempt?: Price;
@@ -2507,10 +2497,7 @@ interface OrderTaxBreakdown {
2507
2497
  * @internal
2508
2498
  */
2509
2499
  aggregatedTaxableAmount?: Price;
2510
- /**
2511
- * The aggregated exempt amount from all line items for tax identifiers.
2512
- * @internal
2513
- */
2500
+ /** Total amount exempt from this tax, summed across all line items. */
2514
2501
  aggregatedExemptAmount?: Price;
2515
2502
  }
2516
2503
  /** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
@@ -445,10 +445,7 @@ interface LineItemTaxInfo {
445
445
  * @maxSize 7
446
446
  */
447
447
  taxBreakdown?: LineItemTaxBreakdown[];
448
- /**
449
- * Amount of the line item price that was exempt from tax.
450
- * @internal
451
- */
448
+ /** Amount of the line item price that was exempt from tax. */
452
449
  exemptAmount?: Price;
453
450
  }
454
451
  /**
@@ -486,10 +483,7 @@ interface LineItemTaxBreakdown {
486
483
  nonTaxableAmount?: Price;
487
484
  /** Taxable amount of the line item price. */
488
485
  taxableAmount?: Price;
489
- /**
490
- * Amount of the line item price that was exempt from this authority.
491
- * @internal
492
- */
486
+ /** Amount of the line item price that was exempt from this authority. */
493
487
  exemptAmount?: Price;
494
488
  }
495
489
  /** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
@@ -653,6 +647,15 @@ interface OrderLineItem {
653
647
  * @readonly
654
648
  */
655
649
  priceBeforeDiscountsAndTax?: Price;
650
+ /**
651
+ * Catalog price of a single item, with modifiers, before any discounts.
652
+ * When the item is on sale in the catalog, this is the price before the sale.
653
+ *
654
+ * For the price after the sale but before other discounts, see `priceBeforeDiscounts`.
655
+ * @internal
656
+ * @readonly
657
+ */
658
+ fullPrice?: Price;
656
659
  /**
657
660
  * Total price after discounts, and before tax.
658
661
  * @readonly
@@ -1999,19 +2002,7 @@ declare enum DiscountValueType {
1999
2002
  * @documentationMaturity preview
2000
2003
  * @internal
2001
2004
  */
2002
- FIXED_AMOUNT = "FIXED_AMOUNT",
2003
- /**
2004
- * The discount sets the price it applies to a fixed amount.
2005
- * @documentationMaturity preview
2006
- * @internal
2007
- */
2008
- FIXED_PRICE = "FIXED_PRICE",
2009
- /**
2010
- * The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
2011
- * @documentationMaturity preview
2012
- * @internal
2013
- */
2014
- QUANTITY_BASED = "QUANTITY_BASED"
2005
+ FIXED_AMOUNT = "FIXED_AMOUNT"
2015
2006
  }
2016
2007
  /** @enumType */
2017
2008
  type DiscountValueTypeWithLiterals = DiscountValueType;
@@ -2419,8 +2410,7 @@ interface OrderTaxInfo {
2419
2410
  */
2420
2411
  taxExempt?: boolean | null;
2421
2412
  /**
2422
- * The total amount that was exempt from tax calculations.
2423
- * @internal
2413
+ * Total amount exempt from tax calculations.
2424
2414
  * @readonly
2425
2415
  */
2426
2416
  totalExempt?: Price;
@@ -2466,10 +2456,7 @@ interface OrderTaxBreakdown {
2466
2456
  * @internal
2467
2457
  */
2468
2458
  aggregatedTaxableAmount?: Price;
2469
- /**
2470
- * The aggregated exempt amount from all line items for tax identifiers.
2471
- * @internal
2472
- */
2459
+ /** Total amount exempt from this tax, summed across all line items. */
2473
2460
  aggregatedExemptAmount?: Price;
2474
2461
  }
2475
2462
  /** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
@@ -445,10 +445,7 @@ interface LineItemTaxInfo {
445
445
  * @maxSize 7
446
446
  */
447
447
  taxBreakdown?: LineItemTaxBreakdown[];
448
- /**
449
- * Amount of the line item price that was exempt from tax.
450
- * @internal
451
- */
448
+ /** Amount of the line item price that was exempt from tax. */
452
449
  exemptAmount?: Price;
453
450
  }
454
451
  /**
@@ -486,10 +483,7 @@ interface LineItemTaxBreakdown {
486
483
  nonTaxableAmount?: Price;
487
484
  /** Taxable amount of the line item price. */
488
485
  taxableAmount?: Price;
489
- /**
490
- * Amount of the line item price that was exempt from this authority.
491
- * @internal
492
- */
486
+ /** Amount of the line item price that was exempt from this authority. */
493
487
  exemptAmount?: Price;
494
488
  }
495
489
  /** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
@@ -653,6 +647,15 @@ interface OrderLineItem {
653
647
  * @readonly
654
648
  */
655
649
  priceBeforeDiscountsAndTax?: Price;
650
+ /**
651
+ * Catalog price of a single item, with modifiers, before any discounts.
652
+ * When the item is on sale in the catalog, this is the price before the sale.
653
+ *
654
+ * For the price after the sale but before other discounts, see `priceBeforeDiscounts`.
655
+ * @internal
656
+ * @readonly
657
+ */
658
+ fullPrice?: Price;
656
659
  /**
657
660
  * Total price after discounts, and before tax.
658
661
  * @readonly
@@ -2040,19 +2043,7 @@ declare enum DiscountValueType {
2040
2043
  * @documentationMaturity preview
2041
2044
  * @internal
2042
2045
  */
2043
- FIXED_AMOUNT = "FIXED_AMOUNT",
2044
- /**
2045
- * The discount sets the price it applies to a fixed amount.
2046
- * @documentationMaturity preview
2047
- * @internal
2048
- */
2049
- FIXED_PRICE = "FIXED_PRICE",
2050
- /**
2051
- * The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
2052
- * @documentationMaturity preview
2053
- * @internal
2054
- */
2055
- QUANTITY_BASED = "QUANTITY_BASED"
2046
+ FIXED_AMOUNT = "FIXED_AMOUNT"
2056
2047
  }
2057
2048
  /** @enumType */
2058
2049
  type DiscountValueTypeWithLiterals = DiscountValueType;
@@ -2460,8 +2451,7 @@ interface OrderTaxInfo {
2460
2451
  */
2461
2452
  taxExempt?: boolean | null;
2462
2453
  /**
2463
- * The total amount that was exempt from tax calculations.
2464
- * @internal
2454
+ * Total amount exempt from tax calculations.
2465
2455
  * @readonly
2466
2456
  */
2467
2457
  totalExempt?: Price;
@@ -2507,10 +2497,7 @@ interface OrderTaxBreakdown {
2507
2497
  * @internal
2508
2498
  */
2509
2499
  aggregatedTaxableAmount?: Price;
2510
- /**
2511
- * The aggregated exempt amount from all line items for tax identifiers.
2512
- * @internal
2513
- */
2500
+ /** Total amount exempt from this tax, summed across all line items. */
2514
2501
  aggregatedExemptAmount?: Price;
2515
2502
  }
2516
2503
  /** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_draft-orders",
3
- "version": "1.0.191",
3
+ "version": "1.0.193",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -29,8 +29,8 @@
29
29
  "service-plugins"
30
30
  ],
31
31
  "dependencies": {
32
- "@wix/sdk-runtime": "^1.0.24",
33
- "@wix/sdk-types": "^1.17.11"
32
+ "@wix/sdk-runtime": "^1.0.28",
33
+ "@wix/sdk-types": "^1.17.12"
34
34
  },
35
35
  "devDependencies": {
36
36
  "tsup": "^8.4.0",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.ecom.v1.draft_order"
51
51
  }
52
52
  },
53
- "falconPackageHash": "97137ce05b856a5420aa72563234a8a50d1768ae4bd7f0c5ae008830"
53
+ "falconPackageHash": "eb6c27097b70184dea168453c8bb191d34b903a930526f2326eb00af"
54
54
  }