orb-billing 5.44.0 → 5.46.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.
- package/CHANGELOG.md +52 -0
- package/core.d.ts +1 -1
- package/core.d.ts.map +1 -1
- package/core.js +8 -17
- package/core.js.map +1 -1
- package/core.mjs +8 -17
- package/core.mjs.map +1 -1
- package/index.d.mts +91 -5
- package/index.d.ts +91 -5
- package/index.d.ts.map +1 -1
- package/index.js +90 -2
- package/index.js.map +1 -1
- package/index.mjs +91 -3
- package/index.mjs.map +1 -1
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +33 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- package/package.json +1 -1
- package/resources/alerts.d.ts +21 -0
- package/resources/alerts.d.ts.map +1 -1
- package/resources/alerts.js +6 -0
- package/resources/alerts.js.map +1 -1
- package/resources/alerts.mjs +6 -0
- package/resources/alerts.mjs.map +1 -1
- package/resources/beta/beta.d.ts +8293 -140
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/beta.js +5 -0
- package/resources/beta/beta.js.map +1 -1
- package/resources/beta/beta.mjs +5 -0
- package/resources/beta/beta.mjs.map +1 -1
- package/resources/beta/external-plan-id.d.ts +8293 -140
- package/resources/beta/external-plan-id.d.ts.map +1 -1
- package/resources/beta/external-plan-id.js +5 -0
- package/resources/beta/external-plan-id.js.map +1 -1
- package/resources/beta/external-plan-id.mjs +5 -0
- package/resources/beta/external-plan-id.mjs.map +1 -1
- package/resources/coupons/coupons.d.ts +3 -0
- package/resources/coupons/coupons.d.ts.map +1 -1
- package/resources/coupons/coupons.js +3 -0
- package/resources/coupons/coupons.js.map +1 -1
- package/resources/coupons/coupons.mjs +3 -0
- package/resources/coupons/coupons.mjs.map +1 -1
- package/resources/coupons/subscriptions.d.ts +3 -0
- package/resources/coupons/subscriptions.d.ts.map +1 -1
- package/resources/coupons/subscriptions.js +3 -0
- package/resources/coupons/subscriptions.js.map +1 -1
- package/resources/coupons/subscriptions.mjs +3 -0
- package/resources/coupons/subscriptions.mjs.map +1 -1
- package/resources/credit-blocks.d.ts +85 -1
- package/resources/credit-blocks.d.ts.map +1 -1
- package/resources/credit-blocks.js +22 -0
- package/resources/credit-blocks.js.map +1 -1
- package/resources/credit-blocks.mjs +22 -0
- package/resources/credit-blocks.mjs.map +1 -1
- package/resources/credit-notes.d.ts +4 -0
- package/resources/credit-notes.d.ts.map +1 -1
- package/resources/credit-notes.js +4 -0
- package/resources/credit-notes.js.map +1 -1
- package/resources/credit-notes.mjs +4 -0
- package/resources/credit-notes.mjs.map +1 -1
- package/resources/customers/balance-transactions.d.ts +16 -0
- package/resources/customers/balance-transactions.d.ts.map +1 -1
- package/resources/customers/balance-transactions.js +16 -0
- package/resources/customers/balance-transactions.js.map +1 -1
- package/resources/customers/balance-transactions.mjs +16 -0
- package/resources/customers/balance-transactions.mjs.map +1 -1
- package/resources/customers/costs.d.ts +16 -0
- package/resources/customers/costs.d.ts.map +1 -1
- package/resources/customers/costs.js +16 -0
- package/resources/customers/costs.js.map +1 -1
- package/resources/customers/costs.mjs +16 -0
- package/resources/customers/costs.mjs.map +1 -1
- package/resources/customers/credits/credits.d.ts +39 -0
- package/resources/customers/credits/credits.d.ts.map +1 -1
- package/resources/customers/credits/credits.js +3 -0
- package/resources/customers/credits/credits.js.map +1 -1
- package/resources/customers/credits/credits.mjs +3 -0
- package/resources/customers/credits/credits.mjs.map +1 -1
- package/resources/customers/credits/ledger.d.ts +31 -4
- package/resources/customers/credits/ledger.d.ts.map +1 -1
- package/resources/customers/credits/ledger.js +19 -2
- package/resources/customers/credits/ledger.js.map +1 -1
- package/resources/customers/credits/ledger.mjs +19 -2
- package/resources/customers/credits/ledger.mjs.map +1 -1
- package/resources/customers/credits/top-ups.d.ts +3 -0
- package/resources/customers/credits/top-ups.d.ts.map +1 -1
- package/resources/customers/credits/top-ups.js +3 -0
- package/resources/customers/credits/top-ups.js.map +1 -1
- package/resources/customers/credits/top-ups.mjs +3 -0
- package/resources/customers/credits/top-ups.mjs.map +1 -1
- package/resources/customers/customers.d.ts +57 -12
- package/resources/customers/customers.d.ts.map +1 -1
- package/resources/customers/customers.js +20 -3
- package/resources/customers/customers.js.map +1 -1
- package/resources/customers/customers.mjs +20 -3
- package/resources/customers/customers.mjs.map +1 -1
- package/resources/dimensional-price-groups/external-dimensional-price-group-id.d.ts +1 -1
- package/resources/dimensional-price-groups/external-dimensional-price-group-id.d.ts.map +1 -1
- package/resources/events/backfills.d.ts +5 -0
- package/resources/events/backfills.d.ts.map +1 -1
- package/resources/events/backfills.js +5 -0
- package/resources/events/backfills.js.map +1 -1
- package/resources/events/backfills.mjs +5 -0
- package/resources/events/backfills.mjs.map +1 -1
- package/resources/events/events.d.ts +5 -0
- package/resources/events/events.d.ts.map +1 -1
- package/resources/events/events.js +5 -0
- package/resources/events/events.js.map +1 -1
- package/resources/events/events.mjs +5 -0
- package/resources/events/events.mjs.map +1 -1
- package/resources/events/volume.d.ts +5 -0
- package/resources/events/volume.d.ts.map +1 -1
- package/resources/events/volume.js +5 -0
- package/resources/events/volume.js.map +1 -1
- package/resources/events/volume.mjs +5 -0
- package/resources/events/volume.mjs.map +1 -1
- package/resources/index.d.ts +4 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -1
- package/resources/index.mjs.map +1 -1
- package/resources/invoice-line-items.d.ts +6 -0
- package/resources/invoice-line-items.d.ts.map +1 -1
- package/resources/invoice-line-items.js +6 -0
- package/resources/invoice-line-items.js.map +1 -1
- package/resources/invoice-line-items.mjs +6 -0
- package/resources/invoice-line-items.mjs.map +1 -1
- package/resources/invoices.d.ts +443 -10
- package/resources/invoices.d.ts.map +1 -1
- package/resources/invoices.js +24 -9
- package/resources/invoices.js.map +1 -1
- package/resources/invoices.mjs +24 -9
- package/resources/invoices.mjs.map +1 -1
- package/resources/items.d.ts +6 -2
- package/resources/items.d.ts.map +1 -1
- package/resources/items.js +4 -0
- package/resources/items.js.map +1 -1
- package/resources/items.mjs +4 -0
- package/resources/items.mjs.map +1 -1
- package/resources/license-types.d.ts +113 -0
- package/resources/license-types.d.ts.map +1 -0
- package/resources/license-types.js +44 -0
- package/resources/license-types.js.map +1 -0
- package/resources/license-types.mjs +39 -0
- package/resources/license-types.mjs.map +1 -0
- package/resources/licenses/external-licenses.d.ts +114 -0
- package/resources/licenses/external-licenses.d.ts.map +1 -0
- package/resources/licenses/external-licenses.js +18 -0
- package/resources/licenses/external-licenses.js.map +1 -0
- package/resources/licenses/external-licenses.mjs +14 -0
- package/resources/licenses/external-licenses.mjs.map +1 -0
- package/resources/licenses/index.d.ts +4 -0
- package/resources/licenses/index.d.ts.map +1 -0
- package/resources/licenses/index.js +12 -0
- package/resources/licenses/index.js.map +1 -0
- package/resources/licenses/index.mjs +5 -0
- package/resources/licenses/index.mjs.map +1 -0
- package/resources/licenses/licenses.d.ts +133 -0
- package/resources/licenses/licenses.d.ts.map +1 -0
- package/resources/licenses/licenses.js +86 -0
- package/resources/licenses/licenses.js.map +1 -0
- package/resources/licenses/licenses.mjs +58 -0
- package/resources/licenses/licenses.mjs.map +1 -0
- package/resources/licenses/usage.d.ts +211 -0
- package/resources/licenses/usage.d.ts.map +1 -0
- package/resources/licenses/usage.js +25 -0
- package/resources/licenses/usage.js.map +1 -0
- package/resources/licenses/usage.mjs +21 -0
- package/resources/licenses/usage.mjs.map +1 -0
- package/resources/licenses.d.ts +2 -0
- package/resources/licenses.d.ts.map +1 -0
- package/resources/licenses.js +19 -0
- package/resources/licenses.js.map +1 -0
- package/resources/licenses.mjs +3 -0
- package/resources/licenses.mjs.map +1 -0
- package/resources/metrics.d.ts +7 -0
- package/resources/metrics.d.ts.map +1 -1
- package/resources/metrics.js +4 -0
- package/resources/metrics.js.map +1 -1
- package/resources/metrics.mjs +4 -0
- package/resources/metrics.mjs.map +1 -1
- package/resources/plans/external-plan-id.d.ts +5 -0
- package/resources/plans/external-plan-id.d.ts.map +1 -1
- package/resources/plans/external-plan-id.js +5 -0
- package/resources/plans/external-plan-id.js.map +1 -1
- package/resources/plans/external-plan-id.mjs +5 -0
- package/resources/plans/external-plan-id.mjs.map +1 -1
- package/resources/plans/migrations.d.ts +5 -0
- package/resources/plans/migrations.d.ts.map +1 -1
- package/resources/plans/migrations.js +5 -0
- package/resources/plans/migrations.js.map +1 -1
- package/resources/plans/migrations.mjs +5 -0
- package/resources/plans/migrations.mjs.map +1 -1
- package/resources/plans/plans.d.ts +4200 -121
- package/resources/plans/plans.d.ts.map +1 -1
- package/resources/plans/plans.js +5 -0
- package/resources/plans/plans.js.map +1 -1
- package/resources/plans/plans.mjs +5 -0
- package/resources/plans/plans.mjs.map +1 -1
- package/resources/prices/external-price-id.d.ts +9 -0
- package/resources/prices/external-price-id.d.ts.map +1 -1
- package/resources/prices/external-price-id.js +9 -0
- package/resources/prices/external-price-id.js.map +1 -1
- package/resources/prices/external-price-id.mjs +9 -0
- package/resources/prices/external-price-id.mjs.map +1 -1
- package/resources/prices/prices.d.ts +198 -0
- package/resources/prices/prices.d.ts.map +1 -1
- package/resources/prices/prices.js +9 -0
- package/resources/prices/prices.js.map +1 -1
- package/resources/prices/prices.mjs +9 -0
- package/resources/prices/prices.mjs.map +1 -1
- package/resources/shared.d.ts +1040 -6
- package/resources/shared.d.ts.map +1 -1
- package/resources/shared.js.map +1 -1
- package/resources/shared.mjs.map +1 -1
- package/resources/subscriptions.d.ts +262 -0
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs.map +1 -1
- package/src/core.ts +10 -21
- package/src/index.ts +151 -5
- package/src/internal/utils/query.ts +7 -0
- package/src/resources/alerts.ts +24 -0
- package/src/resources/beta/beta.ts +9945 -194
- package/src/resources/beta/external-plan-id.ts +9945 -194
- package/src/resources/coupons/coupons.ts +3 -0
- package/src/resources/coupons/subscriptions.ts +3 -0
- package/src/resources/credit-blocks.ts +110 -1
- package/src/resources/credit-notes.ts +4 -0
- package/src/resources/customers/balance-transactions.ts +16 -0
- package/src/resources/customers/costs.ts +16 -0
- package/src/resources/customers/credits/credits.ts +45 -0
- package/src/resources/customers/credits/ledger.ts +33 -4
- package/src/resources/customers/credits/top-ups.ts +3 -0
- package/src/resources/customers/customers.ts +89 -12
- package/src/resources/dimensional-price-groups/external-dimensional-price-group-id.ts +1 -1
- package/src/resources/events/backfills.ts +5 -0
- package/src/resources/events/events.ts +5 -0
- package/src/resources/events/volume.ts +5 -0
- package/src/resources/index.ts +30 -1
- package/src/resources/invoice-line-items.ts +6 -0
- package/src/resources/invoices.ts +541 -10
- package/src/resources/items.ts +8 -2
- package/src/resources/license-types.ts +163 -0
- package/src/resources/licenses/external-licenses.ts +147 -0
- package/src/resources/licenses/index.ts +27 -0
- package/src/resources/licenses/licenses.ts +248 -0
- package/src/resources/licenses/usage.ts +280 -0
- package/src/resources/licenses.ts +3 -0
- package/src/resources/metrics.ts +6 -0
- package/src/resources/plans/external-plan-id.ts +5 -0
- package/src/resources/plans/migrations.ts +5 -0
- package/src/resources/plans/plans.ts +5004 -126
- package/src/resources/prices/external-price-id.ts +9 -0
- package/src/resources/prices/prices.ts +237 -0
- package/src/resources/shared.ts +1213 -0
- package/src/resources/subscriptions.ts +311 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -4,6 +4,15 @@ import { APIResource } from '../../resource';
|
|
|
4
4
|
import * as Core from '../../core';
|
|
5
5
|
import * as Shared from '../shared';
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* The Price resource represents a price that can be billed on a subscription, resulting in a charge on an invoice in
|
|
9
|
+
* the form of an invoice line item. Prices take a quantity and determine an amount to bill.
|
|
10
|
+
*
|
|
11
|
+
* Orb supports a few different pricing models out of the box. Each of these models is serialized differently in a
|
|
12
|
+
* given Price object. The model_type field determines the key for the configuration object that is present.
|
|
13
|
+
*
|
|
14
|
+
* For more on the types of prices, see [the core concepts documentation](/core-concepts#plan-and-price)
|
|
15
|
+
*/
|
|
7
16
|
export class ExternalPriceID extends APIResource {
|
|
8
17
|
/**
|
|
9
18
|
* This endpoint allows you to update the `metadata` property on a price. If you
|
|
@@ -10,6 +10,15 @@ import * as ExternalPriceIDAPI from './external-price-id';
|
|
|
10
10
|
import { ExternalPriceID, ExternalPriceIDUpdateParams } from './external-price-id';
|
|
11
11
|
import { type PageParams } from '../../pagination';
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* The Price resource represents a price that can be billed on a subscription, resulting in a charge on an invoice in
|
|
15
|
+
* the form of an invoice line item. Prices take a quantity and determine an amount to bill.
|
|
16
|
+
*
|
|
17
|
+
* Orb supports a few different pricing models out of the box. Each of these models is serialized differently in a
|
|
18
|
+
* given Price object. The model_type field determines the key for the configuration object that is present.
|
|
19
|
+
*
|
|
20
|
+
* For more on the types of prices, see [the core concepts documentation](/core-concepts#plan-and-price)
|
|
21
|
+
*/
|
|
13
22
|
export class Prices extends APIResource {
|
|
14
23
|
externalPriceId: ExternalPriceIDAPI.ExternalPriceID = new ExternalPriceIDAPI.ExternalPriceID(this._client);
|
|
15
24
|
|
|
@@ -373,6 +382,11 @@ export declare namespace PriceCreateParams {
|
|
|
373
382
|
*/
|
|
374
383
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
375
384
|
|
|
385
|
+
/**
|
|
386
|
+
* The ID of the license type to associate with this price.
|
|
387
|
+
*/
|
|
388
|
+
license_type_id?: string | null;
|
|
389
|
+
|
|
376
390
|
/**
|
|
377
391
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
378
392
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -467,6 +481,11 @@ export declare namespace PriceCreateParams {
|
|
|
467
481
|
*/
|
|
468
482
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
469
483
|
|
|
484
|
+
/**
|
|
485
|
+
* The ID of the license type to associate with this price.
|
|
486
|
+
*/
|
|
487
|
+
license_type_id?: string | null;
|
|
488
|
+
|
|
470
489
|
/**
|
|
471
490
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
472
491
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -561,6 +580,11 @@ export declare namespace PriceCreateParams {
|
|
|
561
580
|
*/
|
|
562
581
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
563
582
|
|
|
583
|
+
/**
|
|
584
|
+
* The ID of the license type to associate with this price.
|
|
585
|
+
*/
|
|
586
|
+
license_type_id?: string | null;
|
|
587
|
+
|
|
564
588
|
/**
|
|
565
589
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
566
590
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -655,6 +679,11 @@ export declare namespace PriceCreateParams {
|
|
|
655
679
|
*/
|
|
656
680
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
657
681
|
|
|
682
|
+
/**
|
|
683
|
+
* The ID of the license type to associate with this price.
|
|
684
|
+
*/
|
|
685
|
+
license_type_id?: string | null;
|
|
686
|
+
|
|
658
687
|
/**
|
|
659
688
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
660
689
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -798,6 +827,11 @@ export declare namespace PriceCreateParams {
|
|
|
798
827
|
*/
|
|
799
828
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
800
829
|
|
|
830
|
+
/**
|
|
831
|
+
* The ID of the license type to associate with this price.
|
|
832
|
+
*/
|
|
833
|
+
license_type_id?: string | null;
|
|
834
|
+
|
|
801
835
|
/**
|
|
802
836
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
803
837
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -892,6 +926,11 @@ export declare namespace PriceCreateParams {
|
|
|
892
926
|
*/
|
|
893
927
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
894
928
|
|
|
929
|
+
/**
|
|
930
|
+
* The ID of the license type to associate with this price.
|
|
931
|
+
*/
|
|
932
|
+
license_type_id?: string | null;
|
|
933
|
+
|
|
895
934
|
/**
|
|
896
935
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
897
936
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -986,6 +1025,11 @@ export declare namespace PriceCreateParams {
|
|
|
986
1025
|
*/
|
|
987
1026
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
988
1027
|
|
|
1028
|
+
/**
|
|
1029
|
+
* The ID of the license type to associate with this price.
|
|
1030
|
+
*/
|
|
1031
|
+
license_type_id?: string | null;
|
|
1032
|
+
|
|
989
1033
|
/**
|
|
990
1034
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
991
1035
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -1112,6 +1156,11 @@ export declare namespace PriceCreateParams {
|
|
|
1112
1156
|
*/
|
|
1113
1157
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
1114
1158
|
|
|
1159
|
+
/**
|
|
1160
|
+
* The ID of the license type to associate with this price.
|
|
1161
|
+
*/
|
|
1162
|
+
license_type_id?: string | null;
|
|
1163
|
+
|
|
1115
1164
|
/**
|
|
1116
1165
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
1117
1166
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -1237,6 +1286,11 @@ export declare namespace PriceCreateParams {
|
|
|
1237
1286
|
*/
|
|
1238
1287
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
1239
1288
|
|
|
1289
|
+
/**
|
|
1290
|
+
* The ID of the license type to associate with this price.
|
|
1291
|
+
*/
|
|
1292
|
+
license_type_id?: string | null;
|
|
1293
|
+
|
|
1240
1294
|
/**
|
|
1241
1295
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
1242
1296
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -1370,6 +1424,11 @@ export declare namespace PriceCreateParams {
|
|
|
1370
1424
|
*/
|
|
1371
1425
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
1372
1426
|
|
|
1427
|
+
/**
|
|
1428
|
+
* The ID of the license type to associate with this price.
|
|
1429
|
+
*/
|
|
1430
|
+
license_type_id?: string | null;
|
|
1431
|
+
|
|
1373
1432
|
/**
|
|
1374
1433
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
1375
1434
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -1496,6 +1555,11 @@ export declare namespace PriceCreateParams {
|
|
|
1496
1555
|
*/
|
|
1497
1556
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
1498
1557
|
|
|
1558
|
+
/**
|
|
1559
|
+
* The ID of the license type to associate with this price.
|
|
1560
|
+
*/
|
|
1561
|
+
license_type_id?: string | null;
|
|
1562
|
+
|
|
1499
1563
|
/**
|
|
1500
1564
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
1501
1565
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -1618,6 +1682,11 @@ export declare namespace PriceCreateParams {
|
|
|
1618
1682
|
*/
|
|
1619
1683
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
1620
1684
|
|
|
1685
|
+
/**
|
|
1686
|
+
* The ID of the license type to associate with this price.
|
|
1687
|
+
*/
|
|
1688
|
+
license_type_id?: string | null;
|
|
1689
|
+
|
|
1621
1690
|
/**
|
|
1622
1691
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
1623
1692
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -1725,6 +1794,11 @@ export declare namespace PriceCreateParams {
|
|
|
1725
1794
|
*/
|
|
1726
1795
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
1727
1796
|
|
|
1797
|
+
/**
|
|
1798
|
+
* The ID of the license type to associate with this price.
|
|
1799
|
+
*/
|
|
1800
|
+
license_type_id?: string | null;
|
|
1801
|
+
|
|
1728
1802
|
/**
|
|
1729
1803
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
1730
1804
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -1836,6 +1910,11 @@ export declare namespace PriceCreateParams {
|
|
|
1836
1910
|
*/
|
|
1837
1911
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
1838
1912
|
|
|
1913
|
+
/**
|
|
1914
|
+
* The ID of the license type to associate with this price.
|
|
1915
|
+
*/
|
|
1916
|
+
license_type_id?: string | null;
|
|
1917
|
+
|
|
1839
1918
|
/**
|
|
1840
1919
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
1841
1920
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -1930,6 +2009,11 @@ export declare namespace PriceCreateParams {
|
|
|
1930
2009
|
*/
|
|
1931
2010
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
1932
2011
|
|
|
2012
|
+
/**
|
|
2013
|
+
* The ID of the license type to associate with this price.
|
|
2014
|
+
*/
|
|
2015
|
+
license_type_id?: string | null;
|
|
2016
|
+
|
|
1933
2017
|
/**
|
|
1934
2018
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
1935
2019
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -2054,6 +2138,11 @@ export declare namespace PriceCreateParams {
|
|
|
2054
2138
|
*/
|
|
2055
2139
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
2056
2140
|
|
|
2141
|
+
/**
|
|
2142
|
+
* The ID of the license type to associate with this price.
|
|
2143
|
+
*/
|
|
2144
|
+
license_type_id?: string | null;
|
|
2145
|
+
|
|
2057
2146
|
/**
|
|
2058
2147
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
2059
2148
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -2160,6 +2249,11 @@ export declare namespace PriceCreateParams {
|
|
|
2160
2249
|
*/
|
|
2161
2250
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
2162
2251
|
|
|
2252
|
+
/**
|
|
2253
|
+
* The ID of the license type to associate with this price.
|
|
2254
|
+
*/
|
|
2255
|
+
license_type_id?: string | null;
|
|
2256
|
+
|
|
2163
2257
|
/**
|
|
2164
2258
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
2165
2259
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -2276,6 +2370,11 @@ export declare namespace PriceCreateParams {
|
|
|
2276
2370
|
*/
|
|
2277
2371
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
2278
2372
|
|
|
2373
|
+
/**
|
|
2374
|
+
* The ID of the license type to associate with this price.
|
|
2375
|
+
*/
|
|
2376
|
+
license_type_id?: string | null;
|
|
2377
|
+
|
|
2279
2378
|
/**
|
|
2280
2379
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
2281
2380
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -2399,6 +2498,11 @@ export declare namespace PriceCreateParams {
|
|
|
2399
2498
|
*/
|
|
2400
2499
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
2401
2500
|
|
|
2501
|
+
/**
|
|
2502
|
+
* The ID of the license type to associate with this price.
|
|
2503
|
+
*/
|
|
2504
|
+
license_type_id?: string | null;
|
|
2505
|
+
|
|
2402
2506
|
/**
|
|
2403
2507
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
2404
2508
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -2515,6 +2619,11 @@ export declare namespace PriceCreateParams {
|
|
|
2515
2619
|
*/
|
|
2516
2620
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
2517
2621
|
|
|
2622
|
+
/**
|
|
2623
|
+
* The ID of the license type to associate with this price.
|
|
2624
|
+
*/
|
|
2625
|
+
license_type_id?: string | null;
|
|
2626
|
+
|
|
2518
2627
|
/**
|
|
2519
2628
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
2520
2629
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -2671,6 +2780,11 @@ export declare namespace PriceCreateParams {
|
|
|
2671
2780
|
*/
|
|
2672
2781
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
2673
2782
|
|
|
2783
|
+
/**
|
|
2784
|
+
* The ID of the license type to associate with this price.
|
|
2785
|
+
*/
|
|
2786
|
+
license_type_id?: string | null;
|
|
2787
|
+
|
|
2674
2788
|
/**
|
|
2675
2789
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
2676
2790
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -2792,6 +2906,11 @@ export declare namespace PriceCreateParams {
|
|
|
2792
2906
|
*/
|
|
2793
2907
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
2794
2908
|
|
|
2909
|
+
/**
|
|
2910
|
+
* The ID of the license type to associate with this price.
|
|
2911
|
+
*/
|
|
2912
|
+
license_type_id?: string | null;
|
|
2913
|
+
|
|
2795
2914
|
/**
|
|
2796
2915
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
2797
2916
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -2925,6 +3044,11 @@ export declare namespace PriceCreateParams {
|
|
|
2925
3044
|
*/
|
|
2926
3045
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
2927
3046
|
|
|
3047
|
+
/**
|
|
3048
|
+
* The ID of the license type to associate with this price.
|
|
3049
|
+
*/
|
|
3050
|
+
license_type_id?: string | null;
|
|
3051
|
+
|
|
2928
3052
|
/**
|
|
2929
3053
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
2930
3054
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3053,6 +3177,11 @@ export declare namespace PriceCreateParams {
|
|
|
3053
3177
|
*/
|
|
3054
3178
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
3055
3179
|
|
|
3180
|
+
/**
|
|
3181
|
+
* The ID of the license type to associate with this price.
|
|
3182
|
+
*/
|
|
3183
|
+
license_type_id?: string | null;
|
|
3184
|
+
|
|
3056
3185
|
/**
|
|
3057
3186
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3058
3187
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3180,6 +3309,11 @@ export declare namespace PriceCreateParams {
|
|
|
3180
3309
|
*/
|
|
3181
3310
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
3182
3311
|
|
|
3312
|
+
/**
|
|
3313
|
+
* The ID of the license type to associate with this price.
|
|
3314
|
+
*/
|
|
3315
|
+
license_type_id?: string | null;
|
|
3316
|
+
|
|
3183
3317
|
/**
|
|
3184
3318
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3185
3319
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3208,6 +3342,11 @@ export declare namespace PriceCreateParams {
|
|
|
3208
3342
|
*/
|
|
3209
3343
|
unit_price: string;
|
|
3210
3344
|
|
|
3345
|
+
/**
|
|
3346
|
+
* The property used to group this price
|
|
3347
|
+
*/
|
|
3348
|
+
grouping_key?: string | null;
|
|
3349
|
+
|
|
3211
3350
|
/**
|
|
3212
3351
|
* If true, the unit price will be prorated to the billing period
|
|
3213
3352
|
*/
|
|
@@ -3319,6 +3458,11 @@ export declare namespace PriceCreateParams {
|
|
|
3319
3458
|
*/
|
|
3320
3459
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
3321
3460
|
|
|
3461
|
+
/**
|
|
3462
|
+
* The ID of the license type to associate with this price.
|
|
3463
|
+
*/
|
|
3464
|
+
license_type_id?: string | null;
|
|
3465
|
+
|
|
3322
3466
|
/**
|
|
3323
3467
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3324
3468
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3459,6 +3603,11 @@ export declare namespace PriceCreateParams {
|
|
|
3459
3603
|
*/
|
|
3460
3604
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
3461
3605
|
|
|
3606
|
+
/**
|
|
3607
|
+
* The ID of the license type to associate with this price.
|
|
3608
|
+
*/
|
|
3609
|
+
license_type_id?: string | null;
|
|
3610
|
+
|
|
3462
3611
|
/**
|
|
3463
3612
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3464
3613
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3589,6 +3738,11 @@ export declare namespace PriceCreateParams {
|
|
|
3589
3738
|
*/
|
|
3590
3739
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
3591
3740
|
|
|
3741
|
+
/**
|
|
3742
|
+
* The ID of the license type to associate with this price.
|
|
3743
|
+
*/
|
|
3744
|
+
license_type_id?: string | null;
|
|
3745
|
+
|
|
3592
3746
|
/**
|
|
3593
3747
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3594
3748
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3710,6 +3864,11 @@ export declare namespace PriceCreateParams {
|
|
|
3710
3864
|
*/
|
|
3711
3865
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
3712
3866
|
|
|
3867
|
+
/**
|
|
3868
|
+
* The ID of the license type to associate with this price.
|
|
3869
|
+
*/
|
|
3870
|
+
license_type_id?: string | null;
|
|
3871
|
+
|
|
3713
3872
|
/**
|
|
3714
3873
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3715
3874
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3821,6 +3980,11 @@ export declare namespace PriceCreateParams {
|
|
|
3821
3980
|
*/
|
|
3822
3981
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
3823
3982
|
|
|
3983
|
+
/**
|
|
3984
|
+
* The ID of the license type to associate with this price.
|
|
3985
|
+
*/
|
|
3986
|
+
license_type_id?: string | null;
|
|
3987
|
+
|
|
3824
3988
|
/**
|
|
3825
3989
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3826
3990
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3927,6 +4091,11 @@ export declare namespace PriceCreateParams {
|
|
|
3927
4091
|
*/
|
|
3928
4092
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
3929
4093
|
|
|
4094
|
+
/**
|
|
4095
|
+
* The ID of the license type to associate with this price.
|
|
4096
|
+
*/
|
|
4097
|
+
license_type_id?: string | null;
|
|
4098
|
+
|
|
3930
4099
|
/**
|
|
3931
4100
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3932
4101
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4006,6 +4175,12 @@ export interface PriceEvaluateParams {
|
|
|
4006
4175
|
* to group the underlying billable metric
|
|
4007
4176
|
*/
|
|
4008
4177
|
grouping_keys?: Array<string>;
|
|
4178
|
+
|
|
4179
|
+
/**
|
|
4180
|
+
* Optional overrides for parameterized billable metric parameters. If the metric
|
|
4181
|
+
* has parameter definitions and no overrides are provided, defaults will be used.
|
|
4182
|
+
*/
|
|
4183
|
+
metric_parameter_overrides?: { [key: string]: unknown } | null;
|
|
4009
4184
|
}
|
|
4010
4185
|
|
|
4011
4186
|
export interface PriceEvaluateMultipleParams {
|
|
@@ -4056,6 +4231,12 @@ export namespace PriceEvaluateMultipleParams {
|
|
|
4056
4231
|
*/
|
|
4057
4232
|
grouping_keys?: Array<string>;
|
|
4058
4233
|
|
|
4234
|
+
/**
|
|
4235
|
+
* Optional overrides for parameterized billable metric parameters. If the metric
|
|
4236
|
+
* has parameter definitions and no overrides are provided, defaults will be used.
|
|
4237
|
+
*/
|
|
4238
|
+
metric_parameter_overrides?: { [key: string]: unknown } | null;
|
|
4239
|
+
|
|
4059
4240
|
/**
|
|
4060
4241
|
* New floating price request body params.
|
|
4061
4242
|
*/
|
|
@@ -4186,6 +4367,11 @@ export namespace PriceEvaluateMultipleParams {
|
|
|
4186
4367
|
*/
|
|
4187
4368
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
4188
4369
|
|
|
4370
|
+
/**
|
|
4371
|
+
* The ID of the license type to associate with this price.
|
|
4372
|
+
*/
|
|
4373
|
+
license_type_id?: string | null;
|
|
4374
|
+
|
|
4189
4375
|
/**
|
|
4190
4376
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4191
4377
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4329,6 +4515,11 @@ export namespace PriceEvaluateMultipleParams {
|
|
|
4329
4515
|
*/
|
|
4330
4516
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
4331
4517
|
|
|
4518
|
+
/**
|
|
4519
|
+
* The ID of the license type to associate with this price.
|
|
4520
|
+
*/
|
|
4521
|
+
license_type_id?: string | null;
|
|
4522
|
+
|
|
4332
4523
|
/**
|
|
4333
4524
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4334
4525
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4450,6 +4641,11 @@ export namespace PriceEvaluateMultipleParams {
|
|
|
4450
4641
|
*/
|
|
4451
4642
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
4452
4643
|
|
|
4644
|
+
/**
|
|
4645
|
+
* The ID of the license type to associate with this price.
|
|
4646
|
+
*/
|
|
4647
|
+
license_type_id?: string | null;
|
|
4648
|
+
|
|
4453
4649
|
/**
|
|
4454
4650
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4455
4651
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4571,6 +4767,11 @@ export namespace PriceEvaluateMultipleParams {
|
|
|
4571
4767
|
*/
|
|
4572
4768
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
4573
4769
|
|
|
4770
|
+
/**
|
|
4771
|
+
* The ID of the license type to associate with this price.
|
|
4772
|
+
*/
|
|
4773
|
+
license_type_id?: string | null;
|
|
4774
|
+
|
|
4574
4775
|
/**
|
|
4575
4776
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4576
4777
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4677,6 +4878,11 @@ export namespace PriceEvaluateMultipleParams {
|
|
|
4677
4878
|
*/
|
|
4678
4879
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
4679
4880
|
|
|
4881
|
+
/**
|
|
4882
|
+
* The ID of the license type to associate with this price.
|
|
4883
|
+
*/
|
|
4884
|
+
license_type_id?: string | null;
|
|
4885
|
+
|
|
4680
4886
|
/**
|
|
4681
4887
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4682
4888
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4796,6 +5002,12 @@ export namespace PriceEvaluatePreviewEventsParams {
|
|
|
4796
5002
|
*/
|
|
4797
5003
|
grouping_keys?: Array<string>;
|
|
4798
5004
|
|
|
5005
|
+
/**
|
|
5006
|
+
* Optional overrides for parameterized billable metric parameters. If the metric
|
|
5007
|
+
* has parameter definitions and no overrides are provided, defaults will be used.
|
|
5008
|
+
*/
|
|
5009
|
+
metric_parameter_overrides?: { [key: string]: unknown } | null;
|
|
5010
|
+
|
|
4799
5011
|
/**
|
|
4800
5012
|
* New floating price request body params.
|
|
4801
5013
|
*/
|
|
@@ -4926,6 +5138,11 @@ export namespace PriceEvaluatePreviewEventsParams {
|
|
|
4926
5138
|
*/
|
|
4927
5139
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
4928
5140
|
|
|
5141
|
+
/**
|
|
5142
|
+
* The ID of the license type to associate with this price.
|
|
5143
|
+
*/
|
|
5144
|
+
license_type_id?: string | null;
|
|
5145
|
+
|
|
4929
5146
|
/**
|
|
4930
5147
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4931
5148
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -5069,6 +5286,11 @@ export namespace PriceEvaluatePreviewEventsParams {
|
|
|
5069
5286
|
*/
|
|
5070
5287
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
5071
5288
|
|
|
5289
|
+
/**
|
|
5290
|
+
* The ID of the license type to associate with this price.
|
|
5291
|
+
*/
|
|
5292
|
+
license_type_id?: string | null;
|
|
5293
|
+
|
|
5072
5294
|
/**
|
|
5073
5295
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
5074
5296
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -5190,6 +5412,11 @@ export namespace PriceEvaluatePreviewEventsParams {
|
|
|
5190
5412
|
*/
|
|
5191
5413
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
5192
5414
|
|
|
5415
|
+
/**
|
|
5416
|
+
* The ID of the license type to associate with this price.
|
|
5417
|
+
*/
|
|
5418
|
+
license_type_id?: string | null;
|
|
5419
|
+
|
|
5193
5420
|
/**
|
|
5194
5421
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
5195
5422
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -5311,6 +5538,11 @@ export namespace PriceEvaluatePreviewEventsParams {
|
|
|
5311
5538
|
*/
|
|
5312
5539
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
5313
5540
|
|
|
5541
|
+
/**
|
|
5542
|
+
* The ID of the license type to associate with this price.
|
|
5543
|
+
*/
|
|
5544
|
+
license_type_id?: string | null;
|
|
5545
|
+
|
|
5314
5546
|
/**
|
|
5315
5547
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
5316
5548
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -5417,6 +5649,11 @@ export namespace PriceEvaluatePreviewEventsParams {
|
|
|
5417
5649
|
*/
|
|
5418
5650
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
5419
5651
|
|
|
5652
|
+
/**
|
|
5653
|
+
* The ID of the license type to associate with this price.
|
|
5654
|
+
*/
|
|
5655
|
+
license_type_id?: string | null;
|
|
5656
|
+
|
|
5420
5657
|
/**
|
|
5421
5658
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
5422
5659
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|