@epilot/pricing-client 3.35.5 → 3.35.7

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 CHANGED
@@ -89,6 +89,14 @@ declare namespace Components {
89
89
  * The discount amount as a string with all the decimal places.
90
90
  */
91
91
  discount_amount_decimal?: string;
92
+ /**
93
+ * The bonus amount.
94
+ */
95
+ bonus_amount?: number;
96
+ /**
97
+ * The bonus amount as a string with all the decimal places.
98
+ */
99
+ bonus_amount_decimal?: string;
92
100
  /**
93
101
  * The discount percentage, if the applied coupon had a percentage type.
94
102
  */
@@ -228,6 +236,14 @@ declare namespace Components {
228
236
  * The discount amount as a string with all the decimal places.
229
237
  */
230
238
  discount_amount_decimal?: string;
239
+ /**
240
+ * The bonus amount.
241
+ */
242
+ bonus_amount?: number;
243
+ /**
244
+ * The bonus amount as a string with all the decimal places.
245
+ */
246
+ bonus_amount_decimal?: string;
231
247
  /**
232
248
  * The discount percentage, if the applied coupon had a percentage type.
233
249
  */
@@ -867,6 +883,14 @@ declare namespace Components {
867
883
  * The discount amount as a string with all the decimal places.
868
884
  */
869
885
  discount_amount_decimal?: string;
886
+ /**
887
+ * The bonus amount.
888
+ */
889
+ bonus_amount?: number;
890
+ /**
891
+ * The bonus amount as a string with all the decimal places.
892
+ */
893
+ bonus_amount_decimal?: string;
870
894
  /**
871
895
  * The discount percentage, if the applied coupon had a percentage type.
872
896
  */
@@ -1183,6 +1207,14 @@ declare namespace Components {
1183
1207
  * The discount amount as a string with all the decimal places.
1184
1208
  */
1185
1209
  discount_amount_decimal?: string;
1210
+ /**
1211
+ * The bonus amount.
1212
+ */
1213
+ bonus_amount?: number;
1214
+ /**
1215
+ * The bonus amount as a string with all the decimal places.
1216
+ */
1217
+ bonus_amount_decimal?: string;
1186
1218
  /**
1187
1219
  * The discount percentage, if the applied coupon had a percentage type.
1188
1220
  */
@@ -2307,7 +2339,9 @@ declare namespace Components {
2307
2339
  * example:
2308
2340
  * {
2309
2341
  * "is_recommended": true,
2310
- * "recommended_label": "Best Value"
2342
+ * "recommended_label": "Best Value",
2343
+ * "recommended_color": "#00FF00",
2344
+ * "recommended_label_color": "#FFFFFF"
2311
2345
  * }
2312
2346
  */
2313
2347
  recommendation_settings?: {
@@ -2319,6 +2353,14 @@ declare namespace Components {
2319
2353
  * Label to display when the product is recommended.
2320
2354
  */
2321
2355
  recommended_label?: string;
2356
+ /**
2357
+ * Color to display when the product is recommended.
2358
+ */
2359
+ recommended_color?: string;
2360
+ /**
2361
+ * Color of the recommended label.
2362
+ */
2363
+ recommended_label_color?: string;
2322
2364
  };
2323
2365
  price: ExternalSimplePrice | ExternalCompositePrice;
2324
2366
  }
@@ -2405,6 +2447,38 @@ declare namespace Components {
2405
2447
  */
2406
2448
  type: "one_time" | "recurring";
2407
2449
  billing_period?: BillingPeriod;
2450
+ /**
2451
+ * The billing period duration
2452
+ */
2453
+ billing_duration_amount?: number;
2454
+ /**
2455
+ * The billing period duration unit
2456
+ */
2457
+ billing_duration_unit?: "weeks" | "months" | "years";
2458
+ /**
2459
+ * The notice period duration
2460
+ */
2461
+ notice_time_amount?: number;
2462
+ /**
2463
+ * The notice period duration unit
2464
+ */
2465
+ notice_time_unit?: "weeks" | "months" | "years";
2466
+ /**
2467
+ * The termination period duration
2468
+ */
2469
+ termination_time_amount?: number;
2470
+ /**
2471
+ * The termination period duration unit
2472
+ */
2473
+ termination_time_unit?: "weeks" | "months" | "years";
2474
+ /**
2475
+ * The renewal period duration
2476
+ */
2477
+ renewal_duration_amount?: number;
2478
+ /**
2479
+ * The renewal period duration unit
2480
+ */
2481
+ renewal_duration_unit?: "weeks" | "months" | "years";
2408
2482
  /**
2409
2483
  * The unit gross amount value, as a string with all the decimal places.
2410
2484
  * example:
@@ -3307,6 +3381,14 @@ declare namespace Components {
3307
3381
  * The discount amount as a string with all the decimal places.
3308
3382
  */
3309
3383
  discount_amount_decimal?: string;
3384
+ /**
3385
+ * The bonus amount.
3386
+ */
3387
+ bonus_amount?: number;
3388
+ /**
3389
+ * The bonus amount as a string with all the decimal places.
3390
+ */
3391
+ bonus_amount_decimal?: string;
3310
3392
  /**
3311
3393
  * The discount percentage, if the applied coupon had a percentage type.
3312
3394
  */
@@ -4274,6 +4356,14 @@ declare namespace Components {
4274
4356
  * The discount amount as a string with all the decimal places.
4275
4357
  */
4276
4358
  discount_amount_decimal?: string;
4359
+ /**
4360
+ * The bonus amount.
4361
+ */
4362
+ bonus_amount?: number;
4363
+ /**
4364
+ * The bonus amount as a string with all the decimal places.
4365
+ */
4366
+ bonus_amount_decimal?: string;
4277
4367
  /**
4278
4368
  * The discount percentage, if the applied coupon had a percentage type.
4279
4369
  */
@@ -4343,6 +4433,14 @@ declare namespace Components {
4343
4433
  * The discount amount as a string with all the decimal places.
4344
4434
  */
4345
4435
  discount_amount_decimal?: string;
4436
+ /**
4437
+ * The bonus amount.
4438
+ */
4439
+ bonus_amount?: number;
4440
+ /**
4441
+ * The bonus amount as a string with all the decimal places.
4442
+ */
4443
+ bonus_amount_decimal?: string;
4346
4444
  /**
4347
4445
  * The discount percentage, if the applied coupon had a percentage type.
4348
4446
  */
package/dist/openapi.json CHANGED
@@ -4059,6 +4059,16 @@
4059
4059
  "description": "The discount amount as a string with all the decimal places.",
4060
4060
  "readOnly": true
4061
4061
  },
4062
+ "bonus_amount": {
4063
+ "type": "integer",
4064
+ "description": "The bonus amount.",
4065
+ "readOnly": true
4066
+ },
4067
+ "bonus_amount_decimal": {
4068
+ "type": "string",
4069
+ "description": "The bonus amount as a string with all the decimal places.",
4070
+ "readOnly": true
4071
+ },
4062
4072
  "discount_percentage": {
4063
4073
  "type": "integer",
4064
4074
  "description": "The discount percentage, if the applied coupon had a percentage type.",
@@ -5377,11 +5387,21 @@
5377
5387
  "recommended_label": {
5378
5388
  "type": "string",
5379
5389
  "description": "Label to display when the product is recommended."
5390
+ },
5391
+ "recommended_color": {
5392
+ "type": "string",
5393
+ "description": "Color to display when the product is recommended."
5394
+ },
5395
+ "recommended_label_color": {
5396
+ "type": "string",
5397
+ "description": "Color of the recommended label."
5380
5398
  }
5381
5399
  },
5382
5400
  "example": {
5383
5401
  "is_recommended": true,
5384
- "recommended_label": "Best Value"
5402
+ "recommended_label": "Best Value",
5403
+ "recommended_color": "#00FF00",
5404
+ "recommended_label_color": "#FFFFFF"
5385
5405
  }
5386
5406
  },
5387
5407
  "price": {
@@ -5523,6 +5543,58 @@
5523
5543
  "$ref": "#/components/schemas/BillingPeriod",
5524
5544
  "description": "The billing period of the price."
5525
5545
  },
5546
+ "billing_duration_amount": {
5547
+ "description": "The billing period duration",
5548
+ "type": "number"
5549
+ },
5550
+ "billing_duration_unit": {
5551
+ "description": "The billing period duration unit",
5552
+ "type": "string",
5553
+ "enum": [
5554
+ "weeks",
5555
+ "months",
5556
+ "years"
5557
+ ]
5558
+ },
5559
+ "notice_time_amount": {
5560
+ "description": "The notice period duration",
5561
+ "type": "number"
5562
+ },
5563
+ "notice_time_unit": {
5564
+ "description": "The notice period duration unit",
5565
+ "type": "string",
5566
+ "enum": [
5567
+ "weeks",
5568
+ "months",
5569
+ "years"
5570
+ ]
5571
+ },
5572
+ "termination_time_amount": {
5573
+ "description": "The termination period duration",
5574
+ "type": "number"
5575
+ },
5576
+ "termination_time_unit": {
5577
+ "description": "The termination period duration unit",
5578
+ "type": "string",
5579
+ "enum": [
5580
+ "weeks",
5581
+ "months",
5582
+ "years"
5583
+ ]
5584
+ },
5585
+ "renewal_duration_amount": {
5586
+ "description": "The renewal period duration",
5587
+ "type": "number"
5588
+ },
5589
+ "renewal_duration_unit": {
5590
+ "description": "The renewal period duration unit",
5591
+ "type": "string",
5592
+ "enum": [
5593
+ "weeks",
5594
+ "months",
5595
+ "years"
5596
+ ]
5597
+ },
5526
5598
  "unit_amount_gross_decimal": {
5527
5599
  "type": "string",
5528
5600
  "example": "1.19",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.35.5",
3
+ "version": "3.35.7",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",