@epilot/pricing-client 3.34.0 → 3.35.0

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
@@ -380,6 +380,10 @@ declare namespace Components {
380
380
  * The unit amount value
381
381
  */
382
382
  unit_amount?: number;
383
+ /**
384
+ * The unit amount before any discount is applied
385
+ */
386
+ before_discount_unit_amount?: number;
383
387
  /**
384
388
  * The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places.
385
389
  */
@@ -416,10 +420,26 @@ declare namespace Components {
416
420
  * The net discount amount applied for each unit represented as a decimal string
417
421
  */
418
422
  unit_discount_amount_net_decimal?: string;
423
+ /**
424
+ * The discount amount applied to the tax
425
+ */
426
+ tax_discount_amount?: number;
427
+ /**
428
+ * The discount amount applied to the tax represented as a decimal string
429
+ */
430
+ tax_discount_amount_decimal?: string;
419
431
  /**
420
432
  * Total tax amount for this line item.
421
433
  */
422
434
  amount_tax?: number;
435
+ /**
436
+ * The tax amount before any discount is applied
437
+ */
438
+ before_discount_tax_amount?: number;
439
+ /**
440
+ * The tax amount before any discount is applied represented as a decimal string
441
+ */
442
+ before_discount_tax_amount_decimal?: string;
423
443
  currency?: /**
424
444
  * Three-letter ISO currency code, in lowercase. Must be a supported currency.
425
445
  * ISO 4217 CURRENCY CODES as specified in the documentation: https://www.iso.org/iso-4217-currency-codes.html
@@ -1309,6 +1329,10 @@ declare namespace Components {
1309
1329
  * The unit amount value
1310
1330
  */
1311
1331
  unit_amount?: number;
1332
+ /**
1333
+ * The unit amount before any discount is applied
1334
+ */
1335
+ before_discount_unit_amount?: number;
1312
1336
  /**
1313
1337
  * The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places.
1314
1338
  */
@@ -1345,10 +1369,26 @@ declare namespace Components {
1345
1369
  * The net discount amount applied for each unit represented as a decimal string
1346
1370
  */
1347
1371
  unit_discount_amount_net_decimal?: string;
1372
+ /**
1373
+ * The discount amount applied to the tax
1374
+ */
1375
+ tax_discount_amount?: number;
1376
+ /**
1377
+ * The discount amount applied to the tax represented as a decimal string
1378
+ */
1379
+ tax_discount_amount_decimal?: string;
1348
1380
  /**
1349
1381
  * Total tax amount for this line item.
1350
1382
  */
1351
1383
  amount_tax?: number;
1384
+ /**
1385
+ * The tax amount before any discount is applied
1386
+ */
1387
+ before_discount_tax_amount?: number;
1388
+ /**
1389
+ * The tax amount before any discount is applied represented as a decimal string
1390
+ */
1391
+ before_discount_tax_amount_decimal?: string;
1352
1392
  currency?: /**
1353
1393
  * Three-letter ISO currency code, in lowercase. Must be a supported currency.
1354
1394
  * ISO 4217 CURRENCY CODES as specified in the documentation: https://www.iso.org/iso-4217-currency-codes.html
@@ -2995,6 +3035,10 @@ declare namespace Components {
2995
3035
  * The unit amount value
2996
3036
  */
2997
3037
  unit_amount?: number;
3038
+ /**
3039
+ * The unit amount before any discount is applied
3040
+ */
3041
+ before_discount_unit_amount?: number;
2998
3042
  /**
2999
3043
  * The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places.
3000
3044
  */
@@ -3031,10 +3075,26 @@ declare namespace Components {
3031
3075
  * The net discount amount applied for each unit represented as a decimal string
3032
3076
  */
3033
3077
  unit_discount_amount_net_decimal?: string;
3078
+ /**
3079
+ * The discount amount applied to the tax
3080
+ */
3081
+ tax_discount_amount?: number;
3082
+ /**
3083
+ * The discount amount applied to the tax represented as a decimal string
3084
+ */
3085
+ tax_discount_amount_decimal?: string;
3034
3086
  /**
3035
3087
  * Total tax amount for this line item.
3036
3088
  */
3037
3089
  amount_tax?: number;
3090
+ /**
3091
+ * The tax amount before any discount is applied
3092
+ */
3093
+ before_discount_tax_amount?: number;
3094
+ /**
3095
+ * The tax amount before any discount is applied represented as a decimal string
3096
+ */
3097
+ before_discount_tax_amount_decimal?: string;
3038
3098
  currency?: /**
3039
3099
  * Three-letter ISO currency code, in lowercase. Must be a supported currency.
3040
3100
  * ISO 4217 CURRENCY CODES as specified in the documentation: https://www.iso.org/iso-4217-currency-codes.html
package/dist/openapi.json CHANGED
@@ -3833,6 +3833,11 @@
3833
3833
  "description": "The unit amount value",
3834
3834
  "readOnly": true
3835
3835
  },
3836
+ "before_discount_unit_amount": {
3837
+ "type": "integer",
3838
+ "description": "The unit amount before any discount is applied",
3839
+ "readOnly": true
3840
+ },
3836
3841
  "unit_amount_decimal": {
3837
3842
  "description": "The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places.",
3838
3843
  "type": "string",
@@ -3878,10 +3883,30 @@
3878
3883
  "description": "The net discount amount applied for each unit represented as a decimal string",
3879
3884
  "readOnly": true
3880
3885
  },
3886
+ "tax_discount_amount": {
3887
+ "type": "integer",
3888
+ "description": "The discount amount applied to the tax",
3889
+ "readOnly": true
3890
+ },
3891
+ "tax_discount_amount_decimal": {
3892
+ "type": "string",
3893
+ "description": "The discount amount applied to the tax represented as a decimal string",
3894
+ "readOnly": true
3895
+ },
3881
3896
  "amount_tax": {
3882
3897
  "type": "integer",
3883
3898
  "description": "Total tax amount for this line item."
3884
3899
  },
3900
+ "before_discount_tax_amount": {
3901
+ "type": "integer",
3902
+ "description": "The tax amount before any discount is applied",
3903
+ "readOnly": true
3904
+ },
3905
+ "before_discount_tax_amount_decimal": {
3906
+ "type": "string",
3907
+ "description": "The tax amount before any discount is applied represented as a decimal string",
3908
+ "readOnly": true
3909
+ },
3885
3910
  "currency": {
3886
3911
  "$ref": "#/components/schemas/Currency"
3887
3912
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.34.0",
3
+ "version": "3.35.0",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",