@epilot/pricing-client 3.36.2 → 3.36.4
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 +96 -6
- package/dist/openapi.json +49 -2
- package/package.json +2 -2
package/dist/openapi.d.ts
CHANGED
|
@@ -425,14 +425,34 @@ declare namespace Components {
|
|
|
425
425
|
* The unit amount value
|
|
426
426
|
*/
|
|
427
427
|
unit_amount?: number;
|
|
428
|
+
/**
|
|
429
|
+
* The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places.
|
|
430
|
+
*/
|
|
431
|
+
unit_amount_decimal?: string;
|
|
428
432
|
/**
|
|
429
433
|
* The unit amount before any discount is applied
|
|
430
434
|
*/
|
|
431
435
|
before_discount_unit_amount?: number;
|
|
432
436
|
/**
|
|
433
|
-
* The unit amount
|
|
437
|
+
* The unit amount before any discount is applied, represented as a decimal string with at most 12 decimal places.
|
|
434
438
|
*/
|
|
435
|
-
|
|
439
|
+
before_discount_unit_amount_decimal?: string;
|
|
440
|
+
/**
|
|
441
|
+
* The unit gross amount before any discount is applied
|
|
442
|
+
*/
|
|
443
|
+
before_discount_unit_amount_gross?: number;
|
|
444
|
+
/**
|
|
445
|
+
* The unit gross amount before any discount is applied, represented as a decimal string with at most 12 decimal places.
|
|
446
|
+
*/
|
|
447
|
+
before_discount_unit_amount_gross_decimal?: string;
|
|
448
|
+
/**
|
|
449
|
+
* The unit net amount before any discount is applied
|
|
450
|
+
*/
|
|
451
|
+
before_discount_unit_amount_net?: number;
|
|
452
|
+
/**
|
|
453
|
+
* The unit net amount before any discount is applied, represented as a decimal string with at most 12 decimal places.
|
|
454
|
+
*/
|
|
455
|
+
before_discount_unit_amount_net_decimal?: string;
|
|
436
456
|
/**
|
|
437
457
|
* The discount amount applied for each unit
|
|
438
458
|
*/
|
|
@@ -473,6 +493,14 @@ declare namespace Components {
|
|
|
473
493
|
* The discount amount applied to the tax represented as a decimal string
|
|
474
494
|
*/
|
|
475
495
|
tax_discount_amount_decimal?: string;
|
|
496
|
+
/**
|
|
497
|
+
* The net discount amount applied
|
|
498
|
+
*/
|
|
499
|
+
discount_amount_net?: number;
|
|
500
|
+
/**
|
|
501
|
+
* The net discount amount applied represented as a decimal string
|
|
502
|
+
*/
|
|
503
|
+
discount_amount_net_decimal?: string;
|
|
476
504
|
/**
|
|
477
505
|
* Total tax amount for this line item.
|
|
478
506
|
*/
|
|
@@ -1449,14 +1477,34 @@ declare namespace Components {
|
|
|
1449
1477
|
* The unit amount value
|
|
1450
1478
|
*/
|
|
1451
1479
|
unit_amount?: number;
|
|
1480
|
+
/**
|
|
1481
|
+
* The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places.
|
|
1482
|
+
*/
|
|
1483
|
+
unit_amount_decimal?: string;
|
|
1452
1484
|
/**
|
|
1453
1485
|
* The unit amount before any discount is applied
|
|
1454
1486
|
*/
|
|
1455
1487
|
before_discount_unit_amount?: number;
|
|
1456
1488
|
/**
|
|
1457
|
-
* The unit amount
|
|
1489
|
+
* The unit amount before any discount is applied, represented as a decimal string with at most 12 decimal places.
|
|
1458
1490
|
*/
|
|
1459
|
-
|
|
1491
|
+
before_discount_unit_amount_decimal?: string;
|
|
1492
|
+
/**
|
|
1493
|
+
* The unit gross amount before any discount is applied
|
|
1494
|
+
*/
|
|
1495
|
+
before_discount_unit_amount_gross?: number;
|
|
1496
|
+
/**
|
|
1497
|
+
* The unit gross amount before any discount is applied, represented as a decimal string with at most 12 decimal places.
|
|
1498
|
+
*/
|
|
1499
|
+
before_discount_unit_amount_gross_decimal?: string;
|
|
1500
|
+
/**
|
|
1501
|
+
* The unit net amount before any discount is applied
|
|
1502
|
+
*/
|
|
1503
|
+
before_discount_unit_amount_net?: number;
|
|
1504
|
+
/**
|
|
1505
|
+
* The unit net amount before any discount is applied, represented as a decimal string with at most 12 decimal places.
|
|
1506
|
+
*/
|
|
1507
|
+
before_discount_unit_amount_net_decimal?: string;
|
|
1460
1508
|
/**
|
|
1461
1509
|
* The discount amount applied for each unit
|
|
1462
1510
|
*/
|
|
@@ -1497,6 +1545,14 @@ declare namespace Components {
|
|
|
1497
1545
|
* The discount amount applied to the tax represented as a decimal string
|
|
1498
1546
|
*/
|
|
1499
1547
|
tax_discount_amount_decimal?: string;
|
|
1548
|
+
/**
|
|
1549
|
+
* The net discount amount applied
|
|
1550
|
+
*/
|
|
1551
|
+
discount_amount_net?: number;
|
|
1552
|
+
/**
|
|
1553
|
+
* The net discount amount applied represented as a decimal string
|
|
1554
|
+
*/
|
|
1555
|
+
discount_amount_net_decimal?: string;
|
|
1500
1556
|
/**
|
|
1501
1557
|
* Total tax amount for this line item.
|
|
1502
1558
|
*/
|
|
@@ -1769,6 +1825,12 @@ declare namespace Components {
|
|
|
1769
1825
|
* The ids of the price components that should be selected for the price calculation.
|
|
1770
1826
|
*/
|
|
1771
1827
|
selected_price_component_ids?: string[];
|
|
1828
|
+
/**
|
|
1829
|
+
* The map of coupon ids applicable to the price components
|
|
1830
|
+
*/
|
|
1831
|
+
price_component_coupon_ids?: {
|
|
1832
|
+
[name: string]: string[];
|
|
1833
|
+
};
|
|
1772
1834
|
_price?: /**
|
|
1773
1835
|
* The price entity schema for dynamic pricing
|
|
1774
1836
|
* example:
|
|
@@ -3293,14 +3355,34 @@ declare namespace Components {
|
|
|
3293
3355
|
* The unit amount value
|
|
3294
3356
|
*/
|
|
3295
3357
|
unit_amount?: number;
|
|
3358
|
+
/**
|
|
3359
|
+
* The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places.
|
|
3360
|
+
*/
|
|
3361
|
+
unit_amount_decimal?: string;
|
|
3296
3362
|
/**
|
|
3297
3363
|
* The unit amount before any discount is applied
|
|
3298
3364
|
*/
|
|
3299
3365
|
before_discount_unit_amount?: number;
|
|
3300
3366
|
/**
|
|
3301
|
-
* The unit amount
|
|
3367
|
+
* The unit amount before any discount is applied, represented as a decimal string with at most 12 decimal places.
|
|
3302
3368
|
*/
|
|
3303
|
-
|
|
3369
|
+
before_discount_unit_amount_decimal?: string;
|
|
3370
|
+
/**
|
|
3371
|
+
* The unit gross amount before any discount is applied
|
|
3372
|
+
*/
|
|
3373
|
+
before_discount_unit_amount_gross?: number;
|
|
3374
|
+
/**
|
|
3375
|
+
* The unit gross amount before any discount is applied, represented as a decimal string with at most 12 decimal places.
|
|
3376
|
+
*/
|
|
3377
|
+
before_discount_unit_amount_gross_decimal?: string;
|
|
3378
|
+
/**
|
|
3379
|
+
* The unit net amount before any discount is applied
|
|
3380
|
+
*/
|
|
3381
|
+
before_discount_unit_amount_net?: number;
|
|
3382
|
+
/**
|
|
3383
|
+
* The unit net amount before any discount is applied, represented as a decimal string with at most 12 decimal places.
|
|
3384
|
+
*/
|
|
3385
|
+
before_discount_unit_amount_net_decimal?: string;
|
|
3304
3386
|
/**
|
|
3305
3387
|
* The discount amount applied for each unit
|
|
3306
3388
|
*/
|
|
@@ -3341,6 +3423,14 @@ declare namespace Components {
|
|
|
3341
3423
|
* The discount amount applied to the tax represented as a decimal string
|
|
3342
3424
|
*/
|
|
3343
3425
|
tax_discount_amount_decimal?: string;
|
|
3426
|
+
/**
|
|
3427
|
+
* The net discount amount applied
|
|
3428
|
+
*/
|
|
3429
|
+
discount_amount_net?: number;
|
|
3430
|
+
/**
|
|
3431
|
+
* The net discount amount applied represented as a decimal string
|
|
3432
|
+
*/
|
|
3433
|
+
discount_amount_net_decimal?: string;
|
|
3344
3434
|
/**
|
|
3345
3435
|
* Total tax amount for this line item.
|
|
3346
3436
|
*/
|
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
|
}
|
|
@@ -3967,14 +3979,39 @@
|
|
|
3967
3979
|
"description": "The unit amount value",
|
|
3968
3980
|
"readOnly": true
|
|
3969
3981
|
},
|
|
3982
|
+
"unit_amount_decimal": {
|
|
3983
|
+
"description": "The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places.",
|
|
3984
|
+
"type": "string",
|
|
3985
|
+
"readOnly": true
|
|
3986
|
+
},
|
|
3970
3987
|
"before_discount_unit_amount": {
|
|
3971
3988
|
"type": "integer",
|
|
3972
3989
|
"description": "The unit amount before any discount is applied",
|
|
3973
3990
|
"readOnly": true
|
|
3974
3991
|
},
|
|
3975
|
-
"
|
|
3976
|
-
"
|
|
3992
|
+
"before_discount_unit_amount_decimal": {
|
|
3993
|
+
"type": "string",
|
|
3994
|
+
"description": "The unit amount before any discount is applied, represented as a decimal string with at most 12 decimal places.",
|
|
3995
|
+
"readOnly": true
|
|
3996
|
+
},
|
|
3997
|
+
"before_discount_unit_amount_gross": {
|
|
3998
|
+
"type": "integer",
|
|
3999
|
+
"description": "The unit gross amount before any discount is applied",
|
|
4000
|
+
"readOnly": true
|
|
4001
|
+
},
|
|
4002
|
+
"before_discount_unit_amount_gross_decimal": {
|
|
4003
|
+
"type": "string",
|
|
4004
|
+
"description": "The unit gross amount before any discount is applied, represented as a decimal string with at most 12 decimal places.",
|
|
4005
|
+
"readOnly": true
|
|
4006
|
+
},
|
|
4007
|
+
"before_discount_unit_amount_net": {
|
|
4008
|
+
"type": "integer",
|
|
4009
|
+
"description": "The unit net amount before any discount is applied",
|
|
4010
|
+
"readOnly": true
|
|
4011
|
+
},
|
|
4012
|
+
"before_discount_unit_amount_net_decimal": {
|
|
3977
4013
|
"type": "string",
|
|
4014
|
+
"description": "The unit net amount before any discount is applied, represented as a decimal string with at most 12 decimal places.",
|
|
3978
4015
|
"readOnly": true
|
|
3979
4016
|
},
|
|
3980
4017
|
"unit_discount_amount": {
|
|
@@ -4027,6 +4064,16 @@
|
|
|
4027
4064
|
"description": "The discount amount applied to the tax represented as a decimal string",
|
|
4028
4065
|
"readOnly": true
|
|
4029
4066
|
},
|
|
4067
|
+
"discount_amount_net": {
|
|
4068
|
+
"type": "integer",
|
|
4069
|
+
"description": "The net discount amount applied",
|
|
4070
|
+
"readOnly": true
|
|
4071
|
+
},
|
|
4072
|
+
"discount_amount_net_decimal": {
|
|
4073
|
+
"type": "string",
|
|
4074
|
+
"description": "The net discount amount applied represented as a decimal string",
|
|
4075
|
+
"readOnly": true
|
|
4076
|
+
},
|
|
4030
4077
|
"amount_tax": {
|
|
4031
4078
|
"type": "integer",
|
|
4032
4079
|
"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.
|
|
3
|
+
"version": "3.36.4",
|
|
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
|
+
}
|