@epilot/pricing-client 3.47.9-alpha.0 → 3.47.9-alpha.2
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 +9 -9
- package/dist/openapi.json +11 -3
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -309,8 +309,8 @@ declare namespace Components {
|
|
|
309
309
|
_updated_at: string; // date-time
|
|
310
310
|
name: string | null;
|
|
311
311
|
description?: string | null;
|
|
312
|
-
type
|
|
313
|
-
category
|
|
312
|
+
type: "fixed" | "percentage";
|
|
313
|
+
category: "discount" | "cashback";
|
|
314
314
|
/**
|
|
315
315
|
* Use if type is set to percentage. The percentage to be discounted, represented as a whole integer.
|
|
316
316
|
*/
|
|
@@ -1449,7 +1449,7 @@ declare namespace Components {
|
|
|
1449
1449
|
/**
|
|
1450
1450
|
* The flag for prices that contain price components.
|
|
1451
1451
|
*/
|
|
1452
|
-
is_composite_price?:
|
|
1452
|
+
is_composite_price?: true;
|
|
1453
1453
|
/**
|
|
1454
1454
|
* The price creation date
|
|
1455
1455
|
*/
|
|
@@ -2328,8 +2328,8 @@ declare namespace Components {
|
|
|
2328
2328
|
_updated_at: string; // date-time
|
|
2329
2329
|
name: string | null;
|
|
2330
2330
|
description?: string | null;
|
|
2331
|
-
type
|
|
2332
|
-
category
|
|
2331
|
+
type: "fixed" | "percentage";
|
|
2332
|
+
category: "discount" | "cashback";
|
|
2333
2333
|
/**
|
|
2334
2334
|
* Use if type is set to percentage. The percentage to be discounted, represented as a whole integer.
|
|
2335
2335
|
*/
|
|
@@ -2508,8 +2508,8 @@ declare namespace Components {
|
|
|
2508
2508
|
_updated_at: string; // date-time
|
|
2509
2509
|
name: string | null;
|
|
2510
2510
|
description?: string | null;
|
|
2511
|
-
type
|
|
2512
|
-
category
|
|
2511
|
+
type: "fixed" | "percentage";
|
|
2512
|
+
category: "discount" | "cashback";
|
|
2513
2513
|
/**
|
|
2514
2514
|
* Use if type is set to percentage. The percentage to be discounted, represented as a whole integer.
|
|
2515
2515
|
*/
|
|
@@ -3442,7 +3442,7 @@ declare namespace Components {
|
|
|
3442
3442
|
/**
|
|
3443
3443
|
* The flag for prices that contain price components.
|
|
3444
3444
|
*/
|
|
3445
|
-
is_composite_price?:
|
|
3445
|
+
is_composite_price?: false;
|
|
3446
3446
|
/**
|
|
3447
3447
|
* Describes how to compute the price per period. Either `per_unit`, `tiered_graduated` or `tiered_volume`.
|
|
3448
3448
|
* - `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity
|
|
@@ -4395,7 +4395,7 @@ declare namespace Components {
|
|
|
4395
4395
|
/**
|
|
4396
4396
|
* The flag for prices that contain price components.
|
|
4397
4397
|
*/
|
|
4398
|
-
is_composite_price?:
|
|
4398
|
+
is_composite_price?: false;
|
|
4399
4399
|
/**
|
|
4400
4400
|
* Describes how to compute the price per period. Either `per_unit`, `tiered_graduated` or `tiered_volume`.
|
|
4401
4401
|
* - `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity
|
package/dist/openapi.json
CHANGED
|
@@ -2841,7 +2841,10 @@
|
|
|
2841
2841
|
},
|
|
2842
2842
|
"is_composite_price": {
|
|
2843
2843
|
"description": "The flag for prices that contain price components.",
|
|
2844
|
-
"type": "boolean"
|
|
2844
|
+
"type": "boolean",
|
|
2845
|
+
"enum": [
|
|
2846
|
+
false
|
|
2847
|
+
]
|
|
2845
2848
|
},
|
|
2846
2849
|
"pricing_model": {
|
|
2847
2850
|
"type": "string",
|
|
@@ -3071,7 +3074,10 @@
|
|
|
3071
3074
|
},
|
|
3072
3075
|
"is_composite_price": {
|
|
3073
3076
|
"description": "The flag for prices that contain price components.",
|
|
3074
|
-
"type": "boolean"
|
|
3077
|
+
"type": "boolean",
|
|
3078
|
+
"enum": [
|
|
3079
|
+
true
|
|
3080
|
+
]
|
|
3075
3081
|
},
|
|
3076
3082
|
"_created_at": {
|
|
3077
3083
|
"description": "The price creation date",
|
|
@@ -5976,7 +5982,9 @@
|
|
|
5976
5982
|
"_org",
|
|
5977
5983
|
"_schema",
|
|
5978
5984
|
"_created_at",
|
|
5979
|
-
"_updated_at"
|
|
5985
|
+
"_updated_at",
|
|
5986
|
+
"type",
|
|
5987
|
+
"category"
|
|
5980
5988
|
],
|
|
5981
5989
|
"properties": {
|
|
5982
5990
|
"_id": {
|