orb-billing 6.10.0 → 6.12.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.
Files changed (47) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +1 -1
  3. package/resources/beta/beta.d.mts +114 -24
  4. package/resources/beta/beta.d.mts.map +1 -1
  5. package/resources/beta/beta.d.ts +114 -24
  6. package/resources/beta/beta.d.ts.map +1 -1
  7. package/resources/beta/beta.js.map +1 -1
  8. package/resources/beta/beta.mjs.map +1 -1
  9. package/resources/beta/external-plan-id.d.mts +114 -24
  10. package/resources/beta/external-plan-id.d.mts.map +1 -1
  11. package/resources/beta/external-plan-id.d.ts +114 -24
  12. package/resources/beta/external-plan-id.d.ts.map +1 -1
  13. package/resources/plans/plans.d.mts +57 -12
  14. package/resources/plans/plans.d.mts.map +1 -1
  15. package/resources/plans/plans.d.ts +57 -12
  16. package/resources/plans/plans.d.ts.map +1 -1
  17. package/resources/plans/plans.js.map +1 -1
  18. package/resources/plans/plans.mjs.map +1 -1
  19. package/resources/prices/prices.d.mts +265 -53
  20. package/resources/prices/prices.d.mts.map +1 -1
  21. package/resources/prices/prices.d.ts +265 -53
  22. package/resources/prices/prices.d.ts.map +1 -1
  23. package/resources/prices/prices.js.map +1 -1
  24. package/resources/prices/prices.mjs.map +1 -1
  25. package/resources/shared.d.mts +255 -51
  26. package/resources/shared.d.mts.map +1 -1
  27. package/resources/shared.d.ts +255 -51
  28. package/resources/shared.d.ts.map +1 -1
  29. package/resources/subscriptions.d.mts +409 -80
  30. package/resources/subscriptions.d.mts.map +1 -1
  31. package/resources/subscriptions.d.ts +409 -80
  32. package/resources/subscriptions.d.ts.map +1 -1
  33. package/resources/subscriptions.js +39 -6
  34. package/resources/subscriptions.js.map +1 -1
  35. package/resources/subscriptions.mjs +39 -6
  36. package/resources/subscriptions.mjs.map +1 -1
  37. package/src/resources/beta/beta.ts +114 -24
  38. package/src/resources/beta/external-plan-id.ts +114 -24
  39. package/src/resources/plans/plans.ts +57 -12
  40. package/src/resources/prices/prices.ts +265 -53
  41. package/src/resources/shared.ts +255 -51
  42. package/src/resources/subscriptions.ts +409 -80
  43. package/src/version.ts +1 -1
  44. package/version.d.mts +1 -1
  45. package/version.d.ts +1 -1
  46. package/version.js +1 -1
  47. package/version.mjs +1 -1
@@ -270,7 +270,8 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
270
270
  /**
271
271
  * License allocations to associate with this price. Each entry defines a
272
272
  * per-license credit pool granted each cadence. Requires license_type_id or
273
- * license_type_configuration to be set.
273
+ * license_type_configuration to be set. Usage prices draw down from these
274
+ * allocations only if they set the same license type.
274
275
  */
275
276
  license_allocations: Array<LicenseAllocationPrice.LicenseAllocation>;
276
277
 
@@ -351,7 +352,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
351
352
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
352
353
 
353
354
  /**
354
- * The ID of the license type to associate with this price.
355
+ * The ID of the license type to associate with this price. On a usage price this
356
+ * also marks the price as eligible to draw down from that license type's
357
+ * allocation; a usage price created without it is billed normally. Usage prices
358
+ * with a license type must use the `unit` model, and only draw down when their
359
+ * currency matches the allocation's.
355
360
  */
356
361
  license_type_id?: string | null;
357
362
 
@@ -476,7 +481,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
476
481
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
477
482
 
478
483
  /**
479
- * The ID of the license type to associate with this price.
484
+ * The ID of the license type to associate with this price. On a usage price this
485
+ * also marks the price as eligible to draw down from that license type's
486
+ * allocation; a usage price created without it is billed normally. Usage prices
487
+ * with a license type must use the `unit` model, and only draw down when their
488
+ * currency matches the allocation's.
480
489
  */
481
490
  license_type_id?: string | null;
482
491
 
@@ -631,7 +640,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
631
640
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
632
641
 
633
642
  /**
634
- * The ID of the license type to associate with this price.
643
+ * The ID of the license type to associate with this price. On a usage price this
644
+ * also marks the price as eligible to draw down from that license type's
645
+ * allocation; a usage price created without it is billed normally. Usage prices
646
+ * with a license type must use the `unit` model, and only draw down when their
647
+ * currency matches the allocation's.
635
648
  */
636
649
  license_type_id?: string | null;
637
650
 
@@ -779,7 +792,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
779
792
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
780
793
 
781
794
  /**
782
- * The ID of the license type to associate with this price.
795
+ * The ID of the license type to associate with this price. On a usage price this
796
+ * also marks the price as eligible to draw down from that license type's
797
+ * allocation; a usage price created without it is billed normally. Usage prices
798
+ * with a license type must use the `unit` model, and only draw down when their
799
+ * currency matches the allocation's.
783
800
  */
784
801
  license_type_id?: string | null;
785
802
 
@@ -948,7 +965,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
948
965
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
949
966
 
950
967
  /**
951
- * The ID of the license type to associate with this price.
968
+ * The ID of the license type to associate with this price. On a usage price this
969
+ * also marks the price as eligible to draw down from that license type's
970
+ * allocation; a usage price created without it is billed normally. Usage prices
971
+ * with a license type must use the `unit` model, and only draw down when their
972
+ * currency matches the allocation's.
952
973
  */
953
974
  license_type_id?: string | null;
954
975
 
@@ -1084,7 +1105,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
1084
1105
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
1085
1106
 
1086
1107
  /**
1087
- * The ID of the license type to associate with this price.
1108
+ * The ID of the license type to associate with this price. On a usage price this
1109
+ * also marks the price as eligible to draw down from that license type's
1110
+ * allocation; a usage price created without it is billed normally. Usage prices
1111
+ * with a license type must use the `unit` model, and only draw down when their
1112
+ * currency matches the allocation's.
1088
1113
  */
1089
1114
  license_type_id?: string | null;
1090
1115
 
@@ -1217,7 +1242,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
1217
1242
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
1218
1243
 
1219
1244
  /**
1220
- * The ID of the license type to associate with this price.
1245
+ * The ID of the license type to associate with this price. On a usage price this
1246
+ * also marks the price as eligible to draw down from that license type's
1247
+ * allocation; a usage price created without it is billed normally. Usage prices
1248
+ * with a license type must use the `unit` model, and only draw down when their
1249
+ * currency matches the allocation's.
1221
1250
  */
1222
1251
  license_type_id?: string | null;
1223
1252
 
@@ -1350,7 +1379,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
1350
1379
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
1351
1380
 
1352
1381
  /**
1353
- * The ID of the license type to associate with this price.
1382
+ * The ID of the license type to associate with this price. On a usage price this
1383
+ * also marks the price as eligible to draw down from that license type's
1384
+ * allocation; a usage price created without it is billed normally. Usage prices
1385
+ * with a license type must use the `unit` model, and only draw down when their
1386
+ * currency matches the allocation's.
1354
1387
  */
1355
1388
  license_type_id?: string | null;
1356
1389
 
@@ -1509,7 +1542,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
1509
1542
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
1510
1543
 
1511
1544
  /**
1512
- * The ID of the license type to associate with this price.
1545
+ * The ID of the license type to associate with this price. On a usage price this
1546
+ * also marks the price as eligible to draw down from that license type's
1547
+ * allocation; a usage price created without it is billed normally. Usage prices
1548
+ * with a license type must use the `unit` model, and only draw down when their
1549
+ * currency matches the allocation's.
1513
1550
  */
1514
1551
  license_type_id?: string | null;
1515
1552
 
@@ -1657,7 +1694,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
1657
1694
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
1658
1695
 
1659
1696
  /**
1660
- * The ID of the license type to associate with this price.
1697
+ * The ID of the license type to associate with this price. On a usage price this
1698
+ * also marks the price as eligible to draw down from that license type's
1699
+ * allocation; a usage price created without it is billed normally. Usage prices
1700
+ * with a license type must use the `unit` model, and only draw down when their
1701
+ * currency matches the allocation's.
1661
1702
  */
1662
1703
  license_type_id?: string | null;
1663
1704
 
@@ -1792,7 +1833,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
1792
1833
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
1793
1834
 
1794
1835
  /**
1795
- * The ID of the license type to associate with this price.
1836
+ * The ID of the license type to associate with this price. On a usage price this
1837
+ * also marks the price as eligible to draw down from that license type's
1838
+ * allocation; a usage price created without it is billed normally. Usage prices
1839
+ * with a license type must use the `unit` model, and only draw down when their
1840
+ * currency matches the allocation's.
1796
1841
  */
1797
1842
  license_type_id?: string | null;
1798
1843
 
@@ -2044,7 +2089,8 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
2044
2089
  /**
2045
2090
  * License allocations to associate with this price. Each entry defines a
2046
2091
  * per-license credit pool granted each cadence. Requires license_type_id or
2047
- * license_type_configuration to be set.
2092
+ * license_type_configuration to be set. Usage prices draw down from these
2093
+ * allocations only if they set the same license type.
2048
2094
  */
2049
2095
  license_allocations: Array<LicenseAllocationPrice.LicenseAllocation>;
2050
2096
 
@@ -2125,7 +2171,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
2125
2171
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
2126
2172
 
2127
2173
  /**
2128
- * The ID of the license type to associate with this price.
2174
+ * The ID of the license type to associate with this price. On a usage price this
2175
+ * also marks the price as eligible to draw down from that license type's
2176
+ * allocation; a usage price created without it is billed normally. Usage prices
2177
+ * with a license type must use the `unit` model, and only draw down when their
2178
+ * currency matches the allocation's.
2129
2179
  */
2130
2180
  license_type_id?: string | null;
2131
2181
 
@@ -2250,7 +2300,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
2250
2300
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
2251
2301
 
2252
2302
  /**
2253
- * The ID of the license type to associate with this price.
2303
+ * The ID of the license type to associate with this price. On a usage price this
2304
+ * also marks the price as eligible to draw down from that license type's
2305
+ * allocation; a usage price created without it is billed normally. Usage prices
2306
+ * with a license type must use the `unit` model, and only draw down when their
2307
+ * currency matches the allocation's.
2254
2308
  */
2255
2309
  license_type_id?: string | null;
2256
2310
 
@@ -2405,7 +2459,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
2405
2459
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
2406
2460
 
2407
2461
  /**
2408
- * The ID of the license type to associate with this price.
2462
+ * The ID of the license type to associate with this price. On a usage price this
2463
+ * also marks the price as eligible to draw down from that license type's
2464
+ * allocation; a usage price created without it is billed normally. Usage prices
2465
+ * with a license type must use the `unit` model, and only draw down when their
2466
+ * currency matches the allocation's.
2409
2467
  */
2410
2468
  license_type_id?: string | null;
2411
2469
 
@@ -2553,7 +2611,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
2553
2611
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
2554
2612
 
2555
2613
  /**
2556
- * The ID of the license type to associate with this price.
2614
+ * The ID of the license type to associate with this price. On a usage price this
2615
+ * also marks the price as eligible to draw down from that license type's
2616
+ * allocation; a usage price created without it is billed normally. Usage prices
2617
+ * with a license type must use the `unit` model, and only draw down when their
2618
+ * currency matches the allocation's.
2557
2619
  */
2558
2620
  license_type_id?: string | null;
2559
2621
 
@@ -2722,7 +2784,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
2722
2784
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
2723
2785
 
2724
2786
  /**
2725
- * The ID of the license type to associate with this price.
2787
+ * The ID of the license type to associate with this price. On a usage price this
2788
+ * also marks the price as eligible to draw down from that license type's
2789
+ * allocation; a usage price created without it is billed normally. Usage prices
2790
+ * with a license type must use the `unit` model, and only draw down when their
2791
+ * currency matches the allocation's.
2726
2792
  */
2727
2793
  license_type_id?: string | null;
2728
2794
 
@@ -2858,7 +2924,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
2858
2924
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
2859
2925
 
2860
2926
  /**
2861
- * The ID of the license type to associate with this price.
2927
+ * The ID of the license type to associate with this price. On a usage price this
2928
+ * also marks the price as eligible to draw down from that license type's
2929
+ * allocation; a usage price created without it is billed normally. Usage prices
2930
+ * with a license type must use the `unit` model, and only draw down when their
2931
+ * currency matches the allocation's.
2862
2932
  */
2863
2933
  license_type_id?: string | null;
2864
2934
 
@@ -2991,7 +3061,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
2991
3061
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
2992
3062
 
2993
3063
  /**
2994
- * The ID of the license type to associate with this price.
3064
+ * The ID of the license type to associate with this price. On a usage price this
3065
+ * also marks the price as eligible to draw down from that license type's
3066
+ * allocation; a usage price created without it is billed normally. Usage prices
3067
+ * with a license type must use the `unit` model, and only draw down when their
3068
+ * currency matches the allocation's.
2995
3069
  */
2996
3070
  license_type_id?: string | null;
2997
3071
 
@@ -3124,7 +3198,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
3124
3198
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
3125
3199
 
3126
3200
  /**
3127
- * The ID of the license type to associate with this price.
3201
+ * The ID of the license type to associate with this price. On a usage price this
3202
+ * also marks the price as eligible to draw down from that license type's
3203
+ * allocation; a usage price created without it is billed normally. Usage prices
3204
+ * with a license type must use the `unit` model, and only draw down when their
3205
+ * currency matches the allocation's.
3128
3206
  */
3129
3207
  license_type_id?: string | null;
3130
3208
 
@@ -3283,7 +3361,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
3283
3361
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
3284
3362
 
3285
3363
  /**
3286
- * The ID of the license type to associate with this price.
3364
+ * The ID of the license type to associate with this price. On a usage price this
3365
+ * also marks the price as eligible to draw down from that license type's
3366
+ * allocation; a usage price created without it is billed normally. Usage prices
3367
+ * with a license type must use the `unit` model, and only draw down when their
3368
+ * currency matches the allocation's.
3287
3369
  */
3288
3370
  license_type_id?: string | null;
3289
3371
 
@@ -3431,7 +3513,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
3431
3513
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
3432
3514
 
3433
3515
  /**
3434
- * The ID of the license type to associate with this price.
3516
+ * The ID of the license type to associate with this price. On a usage price this
3517
+ * also marks the price as eligible to draw down from that license type's
3518
+ * allocation; a usage price created without it is billed normally. Usage prices
3519
+ * with a license type must use the `unit` model, and only draw down when their
3520
+ * currency matches the allocation's.
3435
3521
  */
3436
3522
  license_type_id?: string | null;
3437
3523
 
@@ -3566,7 +3652,11 @@ export namespace ExternalPlanIDCreatePlanVersionParams {
3566
3652
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
3567
3653
 
3568
3654
  /**
3569
- * The ID of the license type to associate with this price.
3655
+ * The ID of the license type to associate with this price. On a usage price this
3656
+ * also marks the price as eligible to draw down from that license type's
3657
+ * allocation; a usage price created without it is billed normally. Usage prices
3658
+ * with a license type must use the `unit` model, and only draw down when their
3659
+ * currency matches the allocation's.
3570
3660
  */
3571
3661
  license_type_id?: string | null;
3572
3662
 
@@ -500,7 +500,8 @@ export namespace PlanCreateParams {
500
500
  /**
501
501
  * License allocations to associate with this price. Each entry defines a
502
502
  * per-license credit pool granted each cadence. Requires license_type_id or
503
- * license_type_configuration to be set.
503
+ * license_type_configuration to be set. Usage prices draw down from these
504
+ * allocations only if they set the same license type.
504
505
  */
505
506
  license_allocations: Array<LicenseAllocationPrice.LicenseAllocation>;
506
507
 
@@ -581,7 +582,11 @@ export namespace PlanCreateParams {
581
582
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
582
583
 
583
584
  /**
584
- * The ID of the license type to associate with this price.
585
+ * The ID of the license type to associate with this price. On a usage price this
586
+ * also marks the price as eligible to draw down from that license type's
587
+ * allocation; a usage price created without it is billed normally. Usage prices
588
+ * with a license type must use the `unit` model, and only draw down when their
589
+ * currency matches the allocation's.
585
590
  */
586
591
  license_type_id?: string | null;
587
592
 
@@ -706,7 +711,11 @@ export namespace PlanCreateParams {
706
711
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
707
712
 
708
713
  /**
709
- * The ID of the license type to associate with this price.
714
+ * The ID of the license type to associate with this price. On a usage price this
715
+ * also marks the price as eligible to draw down from that license type's
716
+ * allocation; a usage price created without it is billed normally. Usage prices
717
+ * with a license type must use the `unit` model, and only draw down when their
718
+ * currency matches the allocation's.
710
719
  */
711
720
  license_type_id?: string | null;
712
721
 
@@ -861,7 +870,11 @@ export namespace PlanCreateParams {
861
870
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
862
871
 
863
872
  /**
864
- * The ID of the license type to associate with this price.
873
+ * The ID of the license type to associate with this price. On a usage price this
874
+ * also marks the price as eligible to draw down from that license type's
875
+ * allocation; a usage price created without it is billed normally. Usage prices
876
+ * with a license type must use the `unit` model, and only draw down when their
877
+ * currency matches the allocation's.
865
878
  */
866
879
  license_type_id?: string | null;
867
880
 
@@ -1009,7 +1022,11 @@ export namespace PlanCreateParams {
1009
1022
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
1010
1023
 
1011
1024
  /**
1012
- * The ID of the license type to associate with this price.
1025
+ * The ID of the license type to associate with this price. On a usage price this
1026
+ * also marks the price as eligible to draw down from that license type's
1027
+ * allocation; a usage price created without it is billed normally. Usage prices
1028
+ * with a license type must use the `unit` model, and only draw down when their
1029
+ * currency matches the allocation's.
1013
1030
  */
1014
1031
  license_type_id?: string | null;
1015
1032
 
@@ -1178,7 +1195,11 @@ export namespace PlanCreateParams {
1178
1195
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
1179
1196
 
1180
1197
  /**
1181
- * The ID of the license type to associate with this price.
1198
+ * The ID of the license type to associate with this price. On a usage price this
1199
+ * also marks the price as eligible to draw down from that license type's
1200
+ * allocation; a usage price created without it is billed normally. Usage prices
1201
+ * with a license type must use the `unit` model, and only draw down when their
1202
+ * currency matches the allocation's.
1182
1203
  */
1183
1204
  license_type_id?: string | null;
1184
1205
 
@@ -1314,7 +1335,11 @@ export namespace PlanCreateParams {
1314
1335
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
1315
1336
 
1316
1337
  /**
1317
- * The ID of the license type to associate with this price.
1338
+ * The ID of the license type to associate with this price. On a usage price this
1339
+ * also marks the price as eligible to draw down from that license type's
1340
+ * allocation; a usage price created without it is billed normally. Usage prices
1341
+ * with a license type must use the `unit` model, and only draw down when their
1342
+ * currency matches the allocation's.
1318
1343
  */
1319
1344
  license_type_id?: string | null;
1320
1345
 
@@ -1447,7 +1472,11 @@ export namespace PlanCreateParams {
1447
1472
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
1448
1473
 
1449
1474
  /**
1450
- * The ID of the license type to associate with this price.
1475
+ * The ID of the license type to associate with this price. On a usage price this
1476
+ * also marks the price as eligible to draw down from that license type's
1477
+ * allocation; a usage price created without it is billed normally. Usage prices
1478
+ * with a license type must use the `unit` model, and only draw down when their
1479
+ * currency matches the allocation's.
1451
1480
  */
1452
1481
  license_type_id?: string | null;
1453
1482
 
@@ -1580,7 +1609,11 @@ export namespace PlanCreateParams {
1580
1609
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
1581
1610
 
1582
1611
  /**
1583
- * The ID of the license type to associate with this price.
1612
+ * The ID of the license type to associate with this price. On a usage price this
1613
+ * also marks the price as eligible to draw down from that license type's
1614
+ * allocation; a usage price created without it is billed normally. Usage prices
1615
+ * with a license type must use the `unit` model, and only draw down when their
1616
+ * currency matches the allocation's.
1584
1617
  */
1585
1618
  license_type_id?: string | null;
1586
1619
 
@@ -1739,7 +1772,11 @@ export namespace PlanCreateParams {
1739
1772
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
1740
1773
 
1741
1774
  /**
1742
- * The ID of the license type to associate with this price.
1775
+ * The ID of the license type to associate with this price. On a usage price this
1776
+ * also marks the price as eligible to draw down from that license type's
1777
+ * allocation; a usage price created without it is billed normally. Usage prices
1778
+ * with a license type must use the `unit` model, and only draw down when their
1779
+ * currency matches the allocation's.
1743
1780
  */
1744
1781
  license_type_id?: string | null;
1745
1782
 
@@ -1887,7 +1924,11 @@ export namespace PlanCreateParams {
1887
1924
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
1888
1925
 
1889
1926
  /**
1890
- * The ID of the license type to associate with this price.
1927
+ * The ID of the license type to associate with this price. On a usage price this
1928
+ * also marks the price as eligible to draw down from that license type's
1929
+ * allocation; a usage price created without it is billed normally. Usage prices
1930
+ * with a license type must use the `unit` model, and only draw down when their
1931
+ * currency matches the allocation's.
1891
1932
  */
1892
1933
  license_type_id?: string | null;
1893
1934
 
@@ -2022,7 +2063,11 @@ export namespace PlanCreateParams {
2022
2063
  invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
2023
2064
 
2024
2065
  /**
2025
- * The ID of the license type to associate with this price.
2066
+ * The ID of the license type to associate with this price. On a usage price this
2067
+ * also marks the price as eligible to draw down from that license type's
2068
+ * allocation; a usage price created without it is billed normally. Usage prices
2069
+ * with a license type must use the `unit` model, and only draw down when their
2070
+ * currency matches the allocation's.
2026
2071
  */
2027
2072
  license_type_id?: string | null;
2028
2073