@epilot/pricing-client 3.35.5 → 3.35.6
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 +43 -1
- package/dist/openapi.json +63 -1
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -2307,7 +2307,9 @@ declare namespace Components {
|
|
|
2307
2307
|
* example:
|
|
2308
2308
|
* {
|
|
2309
2309
|
* "is_recommended": true,
|
|
2310
|
-
* "recommended_label": "Best Value"
|
|
2310
|
+
* "recommended_label": "Best Value",
|
|
2311
|
+
* "recommended_color": "#00FF00",
|
|
2312
|
+
* "recommended_label_color": "#FFFFFF"
|
|
2311
2313
|
* }
|
|
2312
2314
|
*/
|
|
2313
2315
|
recommendation_settings?: {
|
|
@@ -2319,6 +2321,14 @@ declare namespace Components {
|
|
|
2319
2321
|
* Label to display when the product is recommended.
|
|
2320
2322
|
*/
|
|
2321
2323
|
recommended_label?: string;
|
|
2324
|
+
/**
|
|
2325
|
+
* Color to display when the product is recommended.
|
|
2326
|
+
*/
|
|
2327
|
+
recommended_color?: string;
|
|
2328
|
+
/**
|
|
2329
|
+
* Color of the recommended label.
|
|
2330
|
+
*/
|
|
2331
|
+
recommended_label_color?: string;
|
|
2322
2332
|
};
|
|
2323
2333
|
price: ExternalSimplePrice | ExternalCompositePrice;
|
|
2324
2334
|
}
|
|
@@ -2405,6 +2415,38 @@ declare namespace Components {
|
|
|
2405
2415
|
*/
|
|
2406
2416
|
type: "one_time" | "recurring";
|
|
2407
2417
|
billing_period?: BillingPeriod;
|
|
2418
|
+
/**
|
|
2419
|
+
* The billing period duration
|
|
2420
|
+
*/
|
|
2421
|
+
billing_duration_amount?: number;
|
|
2422
|
+
/**
|
|
2423
|
+
* The billing period duration unit
|
|
2424
|
+
*/
|
|
2425
|
+
billing_duration_unit?: "weeks" | "months" | "years";
|
|
2426
|
+
/**
|
|
2427
|
+
* The notice period duration
|
|
2428
|
+
*/
|
|
2429
|
+
notice_time_amount?: number;
|
|
2430
|
+
/**
|
|
2431
|
+
* The notice period duration unit
|
|
2432
|
+
*/
|
|
2433
|
+
notice_time_unit?: "weeks" | "months" | "years";
|
|
2434
|
+
/**
|
|
2435
|
+
* The termination period duration
|
|
2436
|
+
*/
|
|
2437
|
+
termination_time_amount?: number;
|
|
2438
|
+
/**
|
|
2439
|
+
* The termination period duration unit
|
|
2440
|
+
*/
|
|
2441
|
+
termination_time_unit?: "weeks" | "months" | "years";
|
|
2442
|
+
/**
|
|
2443
|
+
* The renewal period duration
|
|
2444
|
+
*/
|
|
2445
|
+
renewal_duration_amount?: number;
|
|
2446
|
+
/**
|
|
2447
|
+
* The renewal period duration unit
|
|
2448
|
+
*/
|
|
2449
|
+
renewal_duration_unit?: "weeks" | "months" | "years";
|
|
2408
2450
|
/**
|
|
2409
2451
|
* The unit gross amount value, as a string with all the decimal places.
|
|
2410
2452
|
* example:
|
package/dist/openapi.json
CHANGED
|
@@ -5377,11 +5377,21 @@
|
|
|
5377
5377
|
"recommended_label": {
|
|
5378
5378
|
"type": "string",
|
|
5379
5379
|
"description": "Label to display when the product is recommended."
|
|
5380
|
+
},
|
|
5381
|
+
"recommended_color": {
|
|
5382
|
+
"type": "string",
|
|
5383
|
+
"description": "Color to display when the product is recommended."
|
|
5384
|
+
},
|
|
5385
|
+
"recommended_label_color": {
|
|
5386
|
+
"type": "string",
|
|
5387
|
+
"description": "Color of the recommended label."
|
|
5380
5388
|
}
|
|
5381
5389
|
},
|
|
5382
5390
|
"example": {
|
|
5383
5391
|
"is_recommended": true,
|
|
5384
|
-
"recommended_label": "Best Value"
|
|
5392
|
+
"recommended_label": "Best Value",
|
|
5393
|
+
"recommended_color": "#00FF00",
|
|
5394
|
+
"recommended_label_color": "#FFFFFF"
|
|
5385
5395
|
}
|
|
5386
5396
|
},
|
|
5387
5397
|
"price": {
|
|
@@ -5523,6 +5533,58 @@
|
|
|
5523
5533
|
"$ref": "#/components/schemas/BillingPeriod",
|
|
5524
5534
|
"description": "The billing period of the price."
|
|
5525
5535
|
},
|
|
5536
|
+
"billing_duration_amount": {
|
|
5537
|
+
"description": "The billing period duration",
|
|
5538
|
+
"type": "number"
|
|
5539
|
+
},
|
|
5540
|
+
"billing_duration_unit": {
|
|
5541
|
+
"description": "The billing period duration unit",
|
|
5542
|
+
"type": "string",
|
|
5543
|
+
"enum": [
|
|
5544
|
+
"weeks",
|
|
5545
|
+
"months",
|
|
5546
|
+
"years"
|
|
5547
|
+
]
|
|
5548
|
+
},
|
|
5549
|
+
"notice_time_amount": {
|
|
5550
|
+
"description": "The notice period duration",
|
|
5551
|
+
"type": "number"
|
|
5552
|
+
},
|
|
5553
|
+
"notice_time_unit": {
|
|
5554
|
+
"description": "The notice period duration unit",
|
|
5555
|
+
"type": "string",
|
|
5556
|
+
"enum": [
|
|
5557
|
+
"weeks",
|
|
5558
|
+
"months",
|
|
5559
|
+
"years"
|
|
5560
|
+
]
|
|
5561
|
+
},
|
|
5562
|
+
"termination_time_amount": {
|
|
5563
|
+
"description": "The termination period duration",
|
|
5564
|
+
"type": "number"
|
|
5565
|
+
},
|
|
5566
|
+
"termination_time_unit": {
|
|
5567
|
+
"description": "The termination period duration unit",
|
|
5568
|
+
"type": "string",
|
|
5569
|
+
"enum": [
|
|
5570
|
+
"weeks",
|
|
5571
|
+
"months",
|
|
5572
|
+
"years"
|
|
5573
|
+
]
|
|
5574
|
+
},
|
|
5575
|
+
"renewal_duration_amount": {
|
|
5576
|
+
"description": "The renewal period duration",
|
|
5577
|
+
"type": "number"
|
|
5578
|
+
},
|
|
5579
|
+
"renewal_duration_unit": {
|
|
5580
|
+
"description": "The renewal period duration unit",
|
|
5581
|
+
"type": "string",
|
|
5582
|
+
"enum": [
|
|
5583
|
+
"weeks",
|
|
5584
|
+
"months",
|
|
5585
|
+
"years"
|
|
5586
|
+
]
|
|
5587
|
+
},
|
|
5526
5588
|
"unit_amount_gross_decimal": {
|
|
5527
5589
|
"type": "string",
|
|
5528
5590
|
"example": "1.19",
|