@epilot/pricing-client 3.30.0 → 3.31.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 +140 -0
- package/dist/openapi.json +25 -0
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -80,6 +80,26 @@ declare namespace Components {
|
|
|
80
80
|
* Total of all items after (discounts and) taxes are applied, as a string with all the decimal places.
|
|
81
81
|
*/
|
|
82
82
|
amount_total_decimal?: string;
|
|
83
|
+
/**
|
|
84
|
+
* The discount amount.
|
|
85
|
+
*/
|
|
86
|
+
discount_amount?: number;
|
|
87
|
+
/**
|
|
88
|
+
* The discount amount as a string with all the decimal places.
|
|
89
|
+
*/
|
|
90
|
+
discount_amount_decimal?: string;
|
|
91
|
+
/**
|
|
92
|
+
* The discount percentage, if the applied coupon had a percentage type.
|
|
93
|
+
*/
|
|
94
|
+
discount_percentage?: number;
|
|
95
|
+
/**
|
|
96
|
+
* Total amount before discount is applied.
|
|
97
|
+
*/
|
|
98
|
+
before_discount_amount_total?: number;
|
|
99
|
+
/**
|
|
100
|
+
* Total amount before discount is applied as a string with all the decimal places.
|
|
101
|
+
*/
|
|
102
|
+
before_discount_amount_total_decimal?: string;
|
|
83
103
|
}
|
|
84
104
|
/**
|
|
85
105
|
* Availability check request payload
|
|
@@ -199,6 +219,26 @@ declare namespace Components {
|
|
|
199
219
|
* Total of all items after (discounts and) taxes are applied, as a string with all the decimal places.
|
|
200
220
|
*/
|
|
201
221
|
amount_total_decimal?: string;
|
|
222
|
+
/**
|
|
223
|
+
* The discount amount.
|
|
224
|
+
*/
|
|
225
|
+
discount_amount?: number;
|
|
226
|
+
/**
|
|
227
|
+
* The discount amount as a string with all the decimal places.
|
|
228
|
+
*/
|
|
229
|
+
discount_amount_decimal?: string;
|
|
230
|
+
/**
|
|
231
|
+
* The discount percentage, if the applied coupon had a percentage type.
|
|
232
|
+
*/
|
|
233
|
+
discount_percentage?: number;
|
|
234
|
+
/**
|
|
235
|
+
* Total amount before discount is applied.
|
|
236
|
+
*/
|
|
237
|
+
before_discount_amount_total?: number;
|
|
238
|
+
/**
|
|
239
|
+
* Total amount before discount is applied as a string with all the decimal places.
|
|
240
|
+
*/
|
|
241
|
+
before_discount_amount_total_decimal?: string;
|
|
202
242
|
/**
|
|
203
243
|
* price item id
|
|
204
244
|
*/
|
|
@@ -558,6 +598,26 @@ declare namespace Components {
|
|
|
558
598
|
* Total of all items after (discounts and) taxes are applied, as a string with all the decimal places.
|
|
559
599
|
*/
|
|
560
600
|
amount_total_decimal?: string;
|
|
601
|
+
/**
|
|
602
|
+
* The discount amount.
|
|
603
|
+
*/
|
|
604
|
+
discount_amount?: number;
|
|
605
|
+
/**
|
|
606
|
+
* The discount amount as a string with all the decimal places.
|
|
607
|
+
*/
|
|
608
|
+
discount_amount_decimal?: string;
|
|
609
|
+
/**
|
|
610
|
+
* The discount percentage, if the applied coupon had a percentage type.
|
|
611
|
+
*/
|
|
612
|
+
discount_percentage?: number;
|
|
613
|
+
/**
|
|
614
|
+
* Total amount before discount is applied.
|
|
615
|
+
*/
|
|
616
|
+
before_discount_amount_total?: number;
|
|
617
|
+
/**
|
|
618
|
+
* Total amount before discount is applied as a string with all the decimal places.
|
|
619
|
+
*/
|
|
620
|
+
before_discount_amount_total_decimal?: string;
|
|
561
621
|
/**
|
|
562
622
|
* The cart identifier
|
|
563
623
|
*/
|
|
@@ -854,6 +914,26 @@ declare namespace Components {
|
|
|
854
914
|
* Total of all items after (discounts and) taxes are applied, as a string with all the decimal places.
|
|
855
915
|
*/
|
|
856
916
|
amount_total_decimal?: string;
|
|
917
|
+
/**
|
|
918
|
+
* The discount amount.
|
|
919
|
+
*/
|
|
920
|
+
discount_amount?: number;
|
|
921
|
+
/**
|
|
922
|
+
* The discount amount as a string with all the decimal places.
|
|
923
|
+
*/
|
|
924
|
+
discount_amount_decimal?: string;
|
|
925
|
+
/**
|
|
926
|
+
* The discount percentage, if the applied coupon had a percentage type.
|
|
927
|
+
*/
|
|
928
|
+
discount_percentage?: number;
|
|
929
|
+
/**
|
|
930
|
+
* Total amount before discount is applied.
|
|
931
|
+
*/
|
|
932
|
+
before_discount_amount_total?: number;
|
|
933
|
+
/**
|
|
934
|
+
* Total amount before discount is applied as a string with all the decimal places.
|
|
935
|
+
*/
|
|
936
|
+
before_discount_amount_total_decimal?: string;
|
|
857
937
|
/**
|
|
858
938
|
* price item id
|
|
859
939
|
*/
|
|
@@ -2417,6 +2497,26 @@ declare namespace Components {
|
|
|
2417
2497
|
* Total of all items after (discounts and) taxes are applied, as a string with all the decimal places.
|
|
2418
2498
|
*/
|
|
2419
2499
|
amount_total_decimal?: string;
|
|
2500
|
+
/**
|
|
2501
|
+
* The discount amount.
|
|
2502
|
+
*/
|
|
2503
|
+
discount_amount?: number;
|
|
2504
|
+
/**
|
|
2505
|
+
* The discount amount as a string with all the decimal places.
|
|
2506
|
+
*/
|
|
2507
|
+
discount_amount_decimal?: string;
|
|
2508
|
+
/**
|
|
2509
|
+
* The discount percentage, if the applied coupon had a percentage type.
|
|
2510
|
+
*/
|
|
2511
|
+
discount_percentage?: number;
|
|
2512
|
+
/**
|
|
2513
|
+
* Total amount before discount is applied.
|
|
2514
|
+
*/
|
|
2515
|
+
before_discount_amount_total?: number;
|
|
2516
|
+
/**
|
|
2517
|
+
* Total amount before discount is applied as a string with all the decimal places.
|
|
2518
|
+
*/
|
|
2519
|
+
before_discount_amount_total_decimal?: string;
|
|
2420
2520
|
/**
|
|
2421
2521
|
* price item id
|
|
2422
2522
|
*/
|
|
@@ -3241,6 +3341,26 @@ declare namespace Components {
|
|
|
3241
3341
|
* Total of all items after (discounts and) taxes are applied, as a string with all the decimal places.
|
|
3242
3342
|
*/
|
|
3243
3343
|
amount_total_decimal: string;
|
|
3344
|
+
/**
|
|
3345
|
+
* The discount amount.
|
|
3346
|
+
*/
|
|
3347
|
+
discount_amount?: number;
|
|
3348
|
+
/**
|
|
3349
|
+
* The discount amount as a string with all the decimal places.
|
|
3350
|
+
*/
|
|
3351
|
+
discount_amount_decimal?: string;
|
|
3352
|
+
/**
|
|
3353
|
+
* The discount percentage, if the applied coupon had a percentage type.
|
|
3354
|
+
*/
|
|
3355
|
+
discount_percentage?: number;
|
|
3356
|
+
/**
|
|
3357
|
+
* Total amount before discount is applied.
|
|
3358
|
+
*/
|
|
3359
|
+
before_discount_amount_total?: number;
|
|
3360
|
+
/**
|
|
3361
|
+
* Total amount before discount is applied as a string with all the decimal places.
|
|
3362
|
+
*/
|
|
3363
|
+
before_discount_amount_total_decimal?: string;
|
|
3244
3364
|
/**
|
|
3245
3365
|
* The price type.
|
|
3246
3366
|
*/
|
|
@@ -3290,6 +3410,26 @@ declare namespace Components {
|
|
|
3290
3410
|
* Total of all items after (discounts and) taxes are applied, as a string with all the decimal places.
|
|
3291
3411
|
*/
|
|
3292
3412
|
amount_total_decimal: string;
|
|
3413
|
+
/**
|
|
3414
|
+
* The discount amount.
|
|
3415
|
+
*/
|
|
3416
|
+
discount_amount?: number;
|
|
3417
|
+
/**
|
|
3418
|
+
* The discount amount as a string with all the decimal places.
|
|
3419
|
+
*/
|
|
3420
|
+
discount_amount_decimal?: string;
|
|
3421
|
+
/**
|
|
3422
|
+
* The discount percentage, if the applied coupon had a percentage type.
|
|
3423
|
+
*/
|
|
3424
|
+
discount_percentage?: number;
|
|
3425
|
+
/**
|
|
3426
|
+
* Total amount before discount is applied.
|
|
3427
|
+
*/
|
|
3428
|
+
before_discount_amount_total?: number;
|
|
3429
|
+
/**
|
|
3430
|
+
* Total amount before discount is applied as a string with all the decimal places.
|
|
3431
|
+
*/
|
|
3432
|
+
before_discount_amount_total_decimal?: string;
|
|
3293
3433
|
/**
|
|
3294
3434
|
* The price type.
|
|
3295
3435
|
*/
|
package/dist/openapi.json
CHANGED
|
@@ -3934,6 +3934,31 @@
|
|
|
3934
3934
|
"amount_total_decimal": {
|
|
3935
3935
|
"type": "string",
|
|
3936
3936
|
"description": "Total of all items after (discounts and) taxes are applied, as a string with all the decimal places."
|
|
3937
|
+
},
|
|
3938
|
+
"discount_amount": {
|
|
3939
|
+
"type": "integer",
|
|
3940
|
+
"description": "The discount amount.",
|
|
3941
|
+
"readOnly": true
|
|
3942
|
+
},
|
|
3943
|
+
"discount_amount_decimal": {
|
|
3944
|
+
"type": "string",
|
|
3945
|
+
"description": "The discount amount as a string with all the decimal places.",
|
|
3946
|
+
"readOnly": true
|
|
3947
|
+
},
|
|
3948
|
+
"discount_percentage": {
|
|
3949
|
+
"type": "integer",
|
|
3950
|
+
"description": "The discount percentage, if the applied coupon had a percentage type.",
|
|
3951
|
+
"readOnly": true
|
|
3952
|
+
},
|
|
3953
|
+
"before_discount_amount_total": {
|
|
3954
|
+
"type": "integer",
|
|
3955
|
+
"description": "Total amount before discount is applied.",
|
|
3956
|
+
"readOnly": true
|
|
3957
|
+
},
|
|
3958
|
+
"before_discount_amount_total_decimal": {
|
|
3959
|
+
"type": "string",
|
|
3960
|
+
"description": "Total amount before discount is applied as a string with all the decimal places.",
|
|
3961
|
+
"readOnly": true
|
|
3937
3962
|
}
|
|
3938
3963
|
}
|
|
3939
3964
|
},
|