@epilot/pricing-client 3.36.2 → 3.36.3

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/dist/openapi.d.ts CHANGED
@@ -473,6 +473,14 @@ declare namespace Components {
473
473
  * The discount amount applied to the tax represented as a decimal string
474
474
  */
475
475
  tax_discount_amount_decimal?: string;
476
+ /**
477
+ * The net discount amount applied
478
+ */
479
+ discount_amount_net?: number;
480
+ /**
481
+ * The net discount amount applied represented as a decimal string
482
+ */
483
+ discount_amount_net_decimal?: string;
476
484
  /**
477
485
  * Total tax amount for this line item.
478
486
  */
@@ -1497,6 +1505,14 @@ declare namespace Components {
1497
1505
  * The discount amount applied to the tax represented as a decimal string
1498
1506
  */
1499
1507
  tax_discount_amount_decimal?: string;
1508
+ /**
1509
+ * The net discount amount applied
1510
+ */
1511
+ discount_amount_net?: number;
1512
+ /**
1513
+ * The net discount amount applied represented as a decimal string
1514
+ */
1515
+ discount_amount_net_decimal?: string;
1500
1516
  /**
1501
1517
  * Total tax amount for this line item.
1502
1518
  */
@@ -1769,6 +1785,12 @@ declare namespace Components {
1769
1785
  * The ids of the price components that should be selected for the price calculation.
1770
1786
  */
1771
1787
  selected_price_component_ids?: string[];
1788
+ /**
1789
+ * The map of coupon ids applicable to the price components
1790
+ */
1791
+ price_component_coupon_ids?: {
1792
+ [name: string]: string[];
1793
+ };
1772
1794
  _price?: /**
1773
1795
  * The price entity schema for dynamic pricing
1774
1796
  * example:
@@ -3341,6 +3363,14 @@ declare namespace Components {
3341
3363
  * The discount amount applied to the tax represented as a decimal string
3342
3364
  */
3343
3365
  tax_discount_amount_decimal?: string;
3366
+ /**
3367
+ * The net discount amount applied
3368
+ */
3369
+ discount_amount_net?: number;
3370
+ /**
3371
+ * The net discount amount applied represented as a decimal string
3372
+ */
3373
+ discount_amount_net_decimal?: string;
3344
3374
  /**
3345
3375
  * Total tax amount for this line item.
3346
3376
  */
package/dist/openapi.json CHANGED
@@ -3665,6 +3665,18 @@
3665
3665
  "description": "The id of the price component"
3666
3666
  }
3667
3667
  },
3668
+ "price_component_coupon_ids": {
3669
+ "type": "object",
3670
+ "description": "The map of coupon ids applicable to the price components",
3671
+ "readOnly": true,
3672
+ "additionalProperties": {
3673
+ "type": "array",
3674
+ "items": {
3675
+ "type": "string",
3676
+ "description": "The id of the coupon"
3677
+ }
3678
+ }
3679
+ },
3668
3680
  "_price": {
3669
3681
  "$ref": "#/components/schemas/CompositePrice"
3670
3682
  }
@@ -4027,6 +4039,16 @@
4027
4039
  "description": "The discount amount applied to the tax represented as a decimal string",
4028
4040
  "readOnly": true
4029
4041
  },
4042
+ "discount_amount_net": {
4043
+ "type": "integer",
4044
+ "description": "The net discount amount applied",
4045
+ "readOnly": true
4046
+ },
4047
+ "discount_amount_net_decimal": {
4048
+ "type": "string",
4049
+ "description": "The net discount amount applied represented as a decimal string",
4050
+ "readOnly": true
4051
+ },
4030
4052
  "amount_tax": {
4031
4053
  "type": "integer",
4032
4054
  "description": "Total tax amount for this line item."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.36.2",
3
+ "version": "3.36.3",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -72,4 +72,4 @@
72
72
  "webpack-cli": "^4.4.0"
73
73
  },
74
74
  "gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
75
- }
75
+ }