@epilot/pricing-client 3.35.4 → 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 +47 -1
- package/dist/openapi.json +67 -1
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -2072,6 +2072,10 @@ declare namespace Components {
|
|
|
2072
2072
|
};
|
|
2073
2073
|
};
|
|
2074
2074
|
};
|
|
2075
|
+
/**
|
|
2076
|
+
* The name of the composite price.
|
|
2077
|
+
*/
|
|
2078
|
+
name?: string;
|
|
2075
2079
|
is_composite_price: true;
|
|
2076
2080
|
price_components: ExternalSimplePrice[];
|
|
2077
2081
|
total_details: /* Details of the total price including shipping and tax amounts. */ ExternalPriceTotalDetails;
|
|
@@ -2303,7 +2307,9 @@ declare namespace Components {
|
|
|
2303
2307
|
* example:
|
|
2304
2308
|
* {
|
|
2305
2309
|
* "is_recommended": true,
|
|
2306
|
-
* "recommended_label": "Best Value"
|
|
2310
|
+
* "recommended_label": "Best Value",
|
|
2311
|
+
* "recommended_color": "#00FF00",
|
|
2312
|
+
* "recommended_label_color": "#FFFFFF"
|
|
2307
2313
|
* }
|
|
2308
2314
|
*/
|
|
2309
2315
|
recommendation_settings?: {
|
|
@@ -2315,6 +2321,14 @@ declare namespace Components {
|
|
|
2315
2321
|
* Label to display when the product is recommended.
|
|
2316
2322
|
*/
|
|
2317
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;
|
|
2318
2332
|
};
|
|
2319
2333
|
price: ExternalSimplePrice | ExternalCompositePrice;
|
|
2320
2334
|
}
|
|
@@ -2401,6 +2415,38 @@ declare namespace Components {
|
|
|
2401
2415
|
*/
|
|
2402
2416
|
type: "one_time" | "recurring";
|
|
2403
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";
|
|
2404
2450
|
/**
|
|
2405
2451
|
* The unit gross amount value, as a string with all the decimal places.
|
|
2406
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",
|
|
@@ -5607,6 +5669,10 @@
|
|
|
5607
5669
|
{
|
|
5608
5670
|
"type": "object",
|
|
5609
5671
|
"properties": {
|
|
5672
|
+
"name": {
|
|
5673
|
+
"type": "string",
|
|
5674
|
+
"description": "The name of the composite price."
|
|
5675
|
+
},
|
|
5610
5676
|
"is_composite_price": {
|
|
5611
5677
|
"type": "boolean",
|
|
5612
5678
|
"enum": [
|