orb-billing 4.2.0 → 4.4.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 +16 -0
- package/package.json +1 -1
- package/resources/plans/plans.d.ts +109 -1
- package/resources/plans/plans.d.ts.map +1 -1
- package/resources/plans/plans.js.map +1 -1
- package/resources/plans/plans.mjs.map +1 -1
- package/resources/prices/prices.d.ts +246 -2
- package/resources/prices/prices.d.ts.map +1 -1
- package/resources/prices/prices.js.map +1 -1
- package/resources/prices/prices.mjs.map +1 -1
- package/resources/subscriptions.d.ts +107 -1
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs.map +1 -1
- package/src/resources/plans/plans.ts +136 -0
- package/src/resources/prices/prices.ts +342 -2
- package/src/resources/subscriptions.ts +134 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -370,7 +370,9 @@ export type Price =
|
|
|
370
370
|
| Price.UnitWithPercentPrice
|
|
371
371
|
| Price.MatrixWithAllocationPrice
|
|
372
372
|
| Price.TieredWithProrationPrice
|
|
373
|
-
| Price.UnitWithProrationPrice
|
|
373
|
+
| Price.UnitWithProrationPrice
|
|
374
|
+
| Price.GroupedAllocationPrice
|
|
375
|
+
| Price.BulkWithProrationPrice;
|
|
374
376
|
|
|
375
377
|
export namespace Price {
|
|
376
378
|
export interface UnitPrice {
|
|
@@ -2417,6 +2419,210 @@ export namespace Price {
|
|
|
2417
2419
|
minimum_amount: string;
|
|
2418
2420
|
}
|
|
2419
2421
|
}
|
|
2422
|
+
|
|
2423
|
+
export interface GroupedAllocationPrice {
|
|
2424
|
+
id: string;
|
|
2425
|
+
|
|
2426
|
+
billable_metric: GroupedAllocationPrice.BillableMetric | null;
|
|
2427
|
+
|
|
2428
|
+
billing_cycle_configuration: GroupedAllocationPrice.BillingCycleConfiguration | null;
|
|
2429
|
+
|
|
2430
|
+
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
2431
|
+
|
|
2432
|
+
conversion_rate: number | null;
|
|
2433
|
+
|
|
2434
|
+
created_at: string;
|
|
2435
|
+
|
|
2436
|
+
credit_allocation: GroupedAllocationPrice.CreditAllocation | null;
|
|
2437
|
+
|
|
2438
|
+
currency: string;
|
|
2439
|
+
|
|
2440
|
+
discount: Shared.Discount | null;
|
|
2441
|
+
|
|
2442
|
+
external_price_id: string | null;
|
|
2443
|
+
|
|
2444
|
+
fixed_price_quantity: number | null;
|
|
2445
|
+
|
|
2446
|
+
grouped_allocation_config: Record<string, unknown>;
|
|
2447
|
+
|
|
2448
|
+
item: GroupedAllocationPrice.Item;
|
|
2449
|
+
|
|
2450
|
+
maximum: GroupedAllocationPrice.Maximum | null;
|
|
2451
|
+
|
|
2452
|
+
maximum_amount: string | null;
|
|
2453
|
+
|
|
2454
|
+
/**
|
|
2455
|
+
* User specified key-value pairs for the resource. If not present, this defaults
|
|
2456
|
+
* to an empty dictionary. Individual keys can be removed by setting the value to
|
|
2457
|
+
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
2458
|
+
* `null`.
|
|
2459
|
+
*/
|
|
2460
|
+
metadata: Record<string, string>;
|
|
2461
|
+
|
|
2462
|
+
minimum: GroupedAllocationPrice.Minimum | null;
|
|
2463
|
+
|
|
2464
|
+
minimum_amount: string | null;
|
|
2465
|
+
|
|
2466
|
+
model_type: 'grouped_allocation';
|
|
2467
|
+
|
|
2468
|
+
name: string;
|
|
2469
|
+
|
|
2470
|
+
plan_phase_order: number | null;
|
|
2471
|
+
|
|
2472
|
+
price_type: 'usage_price' | 'fixed_price';
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2475
|
+
export namespace GroupedAllocationPrice {
|
|
2476
|
+
export interface BillableMetric {
|
|
2477
|
+
id: string;
|
|
2478
|
+
}
|
|
2479
|
+
|
|
2480
|
+
export interface BillingCycleConfiguration {
|
|
2481
|
+
duration: number;
|
|
2482
|
+
|
|
2483
|
+
duration_unit: 'day' | 'month';
|
|
2484
|
+
}
|
|
2485
|
+
|
|
2486
|
+
export interface CreditAllocation {
|
|
2487
|
+
allows_rollover: boolean;
|
|
2488
|
+
|
|
2489
|
+
currency: string;
|
|
2490
|
+
}
|
|
2491
|
+
|
|
2492
|
+
export interface Item {
|
|
2493
|
+
id: string;
|
|
2494
|
+
|
|
2495
|
+
name: string;
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2498
|
+
export interface Maximum {
|
|
2499
|
+
/**
|
|
2500
|
+
* List of price_ids that this maximum amount applies to. For plan/plan phase
|
|
2501
|
+
* maximums, this can be a subset of prices.
|
|
2502
|
+
*/
|
|
2503
|
+
applies_to_price_ids: Array<string>;
|
|
2504
|
+
|
|
2505
|
+
/**
|
|
2506
|
+
* Maximum amount applied
|
|
2507
|
+
*/
|
|
2508
|
+
maximum_amount: string;
|
|
2509
|
+
}
|
|
2510
|
+
|
|
2511
|
+
export interface Minimum {
|
|
2512
|
+
/**
|
|
2513
|
+
* List of price_ids that this minimum amount applies to. For plan/plan phase
|
|
2514
|
+
* minimums, this can be a subset of prices.
|
|
2515
|
+
*/
|
|
2516
|
+
applies_to_price_ids: Array<string>;
|
|
2517
|
+
|
|
2518
|
+
/**
|
|
2519
|
+
* Minimum amount applied
|
|
2520
|
+
*/
|
|
2521
|
+
minimum_amount: string;
|
|
2522
|
+
}
|
|
2523
|
+
}
|
|
2524
|
+
|
|
2525
|
+
export interface BulkWithProrationPrice {
|
|
2526
|
+
id: string;
|
|
2527
|
+
|
|
2528
|
+
billable_metric: BulkWithProrationPrice.BillableMetric | null;
|
|
2529
|
+
|
|
2530
|
+
billing_cycle_configuration: BulkWithProrationPrice.BillingCycleConfiguration | null;
|
|
2531
|
+
|
|
2532
|
+
bulk_with_proration_config: Record<string, unknown>;
|
|
2533
|
+
|
|
2534
|
+
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
2535
|
+
|
|
2536
|
+
conversion_rate: number | null;
|
|
2537
|
+
|
|
2538
|
+
created_at: string;
|
|
2539
|
+
|
|
2540
|
+
credit_allocation: BulkWithProrationPrice.CreditAllocation | null;
|
|
2541
|
+
|
|
2542
|
+
currency: string;
|
|
2543
|
+
|
|
2544
|
+
discount: Shared.Discount | null;
|
|
2545
|
+
|
|
2546
|
+
external_price_id: string | null;
|
|
2547
|
+
|
|
2548
|
+
fixed_price_quantity: number | null;
|
|
2549
|
+
|
|
2550
|
+
item: BulkWithProrationPrice.Item;
|
|
2551
|
+
|
|
2552
|
+
maximum: BulkWithProrationPrice.Maximum | null;
|
|
2553
|
+
|
|
2554
|
+
maximum_amount: string | null;
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* User specified key-value pairs for the resource. If not present, this defaults
|
|
2558
|
+
* to an empty dictionary. Individual keys can be removed by setting the value to
|
|
2559
|
+
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
2560
|
+
* `null`.
|
|
2561
|
+
*/
|
|
2562
|
+
metadata: Record<string, string>;
|
|
2563
|
+
|
|
2564
|
+
minimum: BulkWithProrationPrice.Minimum | null;
|
|
2565
|
+
|
|
2566
|
+
minimum_amount: string | null;
|
|
2567
|
+
|
|
2568
|
+
model_type: 'bulk_with_proration';
|
|
2569
|
+
|
|
2570
|
+
name: string;
|
|
2571
|
+
|
|
2572
|
+
plan_phase_order: number | null;
|
|
2573
|
+
|
|
2574
|
+
price_type: 'usage_price' | 'fixed_price';
|
|
2575
|
+
}
|
|
2576
|
+
|
|
2577
|
+
export namespace BulkWithProrationPrice {
|
|
2578
|
+
export interface BillableMetric {
|
|
2579
|
+
id: string;
|
|
2580
|
+
}
|
|
2581
|
+
|
|
2582
|
+
export interface BillingCycleConfiguration {
|
|
2583
|
+
duration: number;
|
|
2584
|
+
|
|
2585
|
+
duration_unit: 'day' | 'month';
|
|
2586
|
+
}
|
|
2587
|
+
|
|
2588
|
+
export interface CreditAllocation {
|
|
2589
|
+
allows_rollover: boolean;
|
|
2590
|
+
|
|
2591
|
+
currency: string;
|
|
2592
|
+
}
|
|
2593
|
+
|
|
2594
|
+
export interface Item {
|
|
2595
|
+
id: string;
|
|
2596
|
+
|
|
2597
|
+
name: string;
|
|
2598
|
+
}
|
|
2599
|
+
|
|
2600
|
+
export interface Maximum {
|
|
2601
|
+
/**
|
|
2602
|
+
* List of price_ids that this maximum amount applies to. For plan/plan phase
|
|
2603
|
+
* maximums, this can be a subset of prices.
|
|
2604
|
+
*/
|
|
2605
|
+
applies_to_price_ids: Array<string>;
|
|
2606
|
+
|
|
2607
|
+
/**
|
|
2608
|
+
* Maximum amount applied
|
|
2609
|
+
*/
|
|
2610
|
+
maximum_amount: string;
|
|
2611
|
+
}
|
|
2612
|
+
|
|
2613
|
+
export interface Minimum {
|
|
2614
|
+
/**
|
|
2615
|
+
* List of price_ids that this minimum amount applies to. For plan/plan phase
|
|
2616
|
+
* minimums, this can be a subset of prices.
|
|
2617
|
+
*/
|
|
2618
|
+
applies_to_price_ids: Array<string>;
|
|
2619
|
+
|
|
2620
|
+
/**
|
|
2621
|
+
* Minimum amount applied
|
|
2622
|
+
*/
|
|
2623
|
+
minimum_amount: string;
|
|
2624
|
+
}
|
|
2625
|
+
}
|
|
2420
2626
|
}
|
|
2421
2627
|
|
|
2422
2628
|
export interface PriceEvaluateResponse {
|
|
@@ -2441,7 +2647,9 @@ export type PriceCreateParams =
|
|
|
2441
2647
|
| PriceCreateParams.NewFloatingTieredPackageWithMinimumPrice
|
|
2442
2648
|
| PriceCreateParams.NewFloatingUnitWithPercentPrice
|
|
2443
2649
|
| PriceCreateParams.NewFloatingTieredWithProrationPrice
|
|
2444
|
-
| PriceCreateParams.NewFloatingUnitWithProrationPrice
|
|
2650
|
+
| PriceCreateParams.NewFloatingUnitWithProrationPrice
|
|
2651
|
+
| PriceCreateParams.NewFloatingGroupedAllocationPrice
|
|
2652
|
+
| PriceCreateParams.NewFloatingBulkWithProrationPrice;
|
|
2445
2653
|
|
|
2446
2654
|
export namespace PriceCreateParams {
|
|
2447
2655
|
export interface NewFloatingUnitPrice {
|
|
@@ -3858,6 +4066,138 @@ export namespace PriceCreateParams {
|
|
|
3858
4066
|
*/
|
|
3859
4067
|
metadata?: Record<string, string | null> | null;
|
|
3860
4068
|
}
|
|
4069
|
+
|
|
4070
|
+
export interface NewFloatingGroupedAllocationPrice {
|
|
4071
|
+
/**
|
|
4072
|
+
* The cadence to bill for this price on.
|
|
4073
|
+
*/
|
|
4074
|
+
cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
|
|
4075
|
+
|
|
4076
|
+
/**
|
|
4077
|
+
* An ISO 4217 currency string for which this price is billed in.
|
|
4078
|
+
*/
|
|
4079
|
+
currency: string;
|
|
4080
|
+
|
|
4081
|
+
grouped_allocation_config: Record<string, unknown>;
|
|
4082
|
+
|
|
4083
|
+
/**
|
|
4084
|
+
* The id of the item the plan will be associated with.
|
|
4085
|
+
*/
|
|
4086
|
+
item_id: string;
|
|
4087
|
+
|
|
4088
|
+
model_type: 'grouped_allocation';
|
|
4089
|
+
|
|
4090
|
+
/**
|
|
4091
|
+
* The name of the price.
|
|
4092
|
+
*/
|
|
4093
|
+
name: string;
|
|
4094
|
+
|
|
4095
|
+
/**
|
|
4096
|
+
* The id of the billable metric for the price. Only needed if the price is
|
|
4097
|
+
* usage-based.
|
|
4098
|
+
*/
|
|
4099
|
+
billable_metric_id?: string | null;
|
|
4100
|
+
|
|
4101
|
+
/**
|
|
4102
|
+
* If the Price represents a fixed cost, the price will be billed in-advance if
|
|
4103
|
+
* this is true, and in-arrears if this is false.
|
|
4104
|
+
*/
|
|
4105
|
+
billed_in_advance?: boolean | null;
|
|
4106
|
+
|
|
4107
|
+
/**
|
|
4108
|
+
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
4109
|
+
*/
|
|
4110
|
+
conversion_rate?: number | null;
|
|
4111
|
+
|
|
4112
|
+
/**
|
|
4113
|
+
* An alias for the price.
|
|
4114
|
+
*/
|
|
4115
|
+
external_price_id?: string | null;
|
|
4116
|
+
|
|
4117
|
+
/**
|
|
4118
|
+
* If the Price represents a fixed cost, this represents the quantity of units
|
|
4119
|
+
* applied.
|
|
4120
|
+
*/
|
|
4121
|
+
fixed_price_quantity?: number | null;
|
|
4122
|
+
|
|
4123
|
+
/**
|
|
4124
|
+
* The property used to group this price on an invoice
|
|
4125
|
+
*/
|
|
4126
|
+
invoice_grouping_key?: string | null;
|
|
4127
|
+
|
|
4128
|
+
/**
|
|
4129
|
+
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4130
|
+
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
4131
|
+
* by setting `metadata` to `null`.
|
|
4132
|
+
*/
|
|
4133
|
+
metadata?: Record<string, string | null> | null;
|
|
4134
|
+
}
|
|
4135
|
+
|
|
4136
|
+
export interface NewFloatingBulkWithProrationPrice {
|
|
4137
|
+
bulk_with_proration_config: Record<string, unknown>;
|
|
4138
|
+
|
|
4139
|
+
/**
|
|
4140
|
+
* The cadence to bill for this price on.
|
|
4141
|
+
*/
|
|
4142
|
+
cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
|
|
4143
|
+
|
|
4144
|
+
/**
|
|
4145
|
+
* An ISO 4217 currency string for which this price is billed in.
|
|
4146
|
+
*/
|
|
4147
|
+
currency: string;
|
|
4148
|
+
|
|
4149
|
+
/**
|
|
4150
|
+
* The id of the item the plan will be associated with.
|
|
4151
|
+
*/
|
|
4152
|
+
item_id: string;
|
|
4153
|
+
|
|
4154
|
+
model_type: 'bulk_with_proration';
|
|
4155
|
+
|
|
4156
|
+
/**
|
|
4157
|
+
* The name of the price.
|
|
4158
|
+
*/
|
|
4159
|
+
name: string;
|
|
4160
|
+
|
|
4161
|
+
/**
|
|
4162
|
+
* The id of the billable metric for the price. Only needed if the price is
|
|
4163
|
+
* usage-based.
|
|
4164
|
+
*/
|
|
4165
|
+
billable_metric_id?: string | null;
|
|
4166
|
+
|
|
4167
|
+
/**
|
|
4168
|
+
* If the Price represents a fixed cost, the price will be billed in-advance if
|
|
4169
|
+
* this is true, and in-arrears if this is false.
|
|
4170
|
+
*/
|
|
4171
|
+
billed_in_advance?: boolean | null;
|
|
4172
|
+
|
|
4173
|
+
/**
|
|
4174
|
+
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
4175
|
+
*/
|
|
4176
|
+
conversion_rate?: number | null;
|
|
4177
|
+
|
|
4178
|
+
/**
|
|
4179
|
+
* An alias for the price.
|
|
4180
|
+
*/
|
|
4181
|
+
external_price_id?: string | null;
|
|
4182
|
+
|
|
4183
|
+
/**
|
|
4184
|
+
* If the Price represents a fixed cost, this represents the quantity of units
|
|
4185
|
+
* applied.
|
|
4186
|
+
*/
|
|
4187
|
+
fixed_price_quantity?: number | null;
|
|
4188
|
+
|
|
4189
|
+
/**
|
|
4190
|
+
* The property used to group this price on an invoice
|
|
4191
|
+
*/
|
|
4192
|
+
invoice_grouping_key?: string | null;
|
|
4193
|
+
|
|
4194
|
+
/**
|
|
4195
|
+
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4196
|
+
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
4197
|
+
* by setting `metadata` to `null`.
|
|
4198
|
+
*/
|
|
4199
|
+
metadata?: Record<string, string | null> | null;
|
|
4200
|
+
}
|
|
3861
4201
|
}
|
|
3862
4202
|
|
|
3863
4203
|
export interface PriceUpdateParams {
|
|
@@ -3671,6 +3671,8 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
3671
3671
|
| Add.NewFloatingUnitWithPercentPrice
|
|
3672
3672
|
| Add.NewFloatingTieredWithProrationPrice
|
|
3673
3673
|
| Add.NewFloatingUnitWithProrationPrice
|
|
3674
|
+
| Add.NewFloatingGroupedAllocationPrice
|
|
3675
|
+
| Add.NewFloatingBulkWithProrationPrice
|
|
3674
3676
|
| null;
|
|
3675
3677
|
|
|
3676
3678
|
/**
|
|
@@ -5162,6 +5164,138 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
5162
5164
|
*/
|
|
5163
5165
|
metadata?: Record<string, string | null> | null;
|
|
5164
5166
|
}
|
|
5167
|
+
|
|
5168
|
+
export interface NewFloatingGroupedAllocationPrice {
|
|
5169
|
+
/**
|
|
5170
|
+
* The cadence to bill for this price on.
|
|
5171
|
+
*/
|
|
5172
|
+
cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
|
|
5173
|
+
|
|
5174
|
+
/**
|
|
5175
|
+
* An ISO 4217 currency string for which this price is billed in.
|
|
5176
|
+
*/
|
|
5177
|
+
currency: string;
|
|
5178
|
+
|
|
5179
|
+
grouped_allocation_config: Record<string, unknown>;
|
|
5180
|
+
|
|
5181
|
+
/**
|
|
5182
|
+
* The id of the item the plan will be associated with.
|
|
5183
|
+
*/
|
|
5184
|
+
item_id: string;
|
|
5185
|
+
|
|
5186
|
+
model_type: 'grouped_allocation';
|
|
5187
|
+
|
|
5188
|
+
/**
|
|
5189
|
+
* The name of the price.
|
|
5190
|
+
*/
|
|
5191
|
+
name: string;
|
|
5192
|
+
|
|
5193
|
+
/**
|
|
5194
|
+
* The id of the billable metric for the price. Only needed if the price is
|
|
5195
|
+
* usage-based.
|
|
5196
|
+
*/
|
|
5197
|
+
billable_metric_id?: string | null;
|
|
5198
|
+
|
|
5199
|
+
/**
|
|
5200
|
+
* If the Price represents a fixed cost, the price will be billed in-advance if
|
|
5201
|
+
* this is true, and in-arrears if this is false.
|
|
5202
|
+
*/
|
|
5203
|
+
billed_in_advance?: boolean | null;
|
|
5204
|
+
|
|
5205
|
+
/**
|
|
5206
|
+
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
5207
|
+
*/
|
|
5208
|
+
conversion_rate?: number | null;
|
|
5209
|
+
|
|
5210
|
+
/**
|
|
5211
|
+
* An alias for the price.
|
|
5212
|
+
*/
|
|
5213
|
+
external_price_id?: string | null;
|
|
5214
|
+
|
|
5215
|
+
/**
|
|
5216
|
+
* If the Price represents a fixed cost, this represents the quantity of units
|
|
5217
|
+
* applied.
|
|
5218
|
+
*/
|
|
5219
|
+
fixed_price_quantity?: number | null;
|
|
5220
|
+
|
|
5221
|
+
/**
|
|
5222
|
+
* The property used to group this price on an invoice
|
|
5223
|
+
*/
|
|
5224
|
+
invoice_grouping_key?: string | null;
|
|
5225
|
+
|
|
5226
|
+
/**
|
|
5227
|
+
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
5228
|
+
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
5229
|
+
* by setting `metadata` to `null`.
|
|
5230
|
+
*/
|
|
5231
|
+
metadata?: Record<string, string | null> | null;
|
|
5232
|
+
}
|
|
5233
|
+
|
|
5234
|
+
export interface NewFloatingBulkWithProrationPrice {
|
|
5235
|
+
bulk_with_proration_config: Record<string, unknown>;
|
|
5236
|
+
|
|
5237
|
+
/**
|
|
5238
|
+
* The cadence to bill for this price on.
|
|
5239
|
+
*/
|
|
5240
|
+
cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
|
|
5241
|
+
|
|
5242
|
+
/**
|
|
5243
|
+
* An ISO 4217 currency string for which this price is billed in.
|
|
5244
|
+
*/
|
|
5245
|
+
currency: string;
|
|
5246
|
+
|
|
5247
|
+
/**
|
|
5248
|
+
* The id of the item the plan will be associated with.
|
|
5249
|
+
*/
|
|
5250
|
+
item_id: string;
|
|
5251
|
+
|
|
5252
|
+
model_type: 'bulk_with_proration';
|
|
5253
|
+
|
|
5254
|
+
/**
|
|
5255
|
+
* The name of the price.
|
|
5256
|
+
*/
|
|
5257
|
+
name: string;
|
|
5258
|
+
|
|
5259
|
+
/**
|
|
5260
|
+
* The id of the billable metric for the price. Only needed if the price is
|
|
5261
|
+
* usage-based.
|
|
5262
|
+
*/
|
|
5263
|
+
billable_metric_id?: string | null;
|
|
5264
|
+
|
|
5265
|
+
/**
|
|
5266
|
+
* If the Price represents a fixed cost, the price will be billed in-advance if
|
|
5267
|
+
* this is true, and in-arrears if this is false.
|
|
5268
|
+
*/
|
|
5269
|
+
billed_in_advance?: boolean | null;
|
|
5270
|
+
|
|
5271
|
+
/**
|
|
5272
|
+
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
5273
|
+
*/
|
|
5274
|
+
conversion_rate?: number | null;
|
|
5275
|
+
|
|
5276
|
+
/**
|
|
5277
|
+
* An alias for the price.
|
|
5278
|
+
*/
|
|
5279
|
+
external_price_id?: string | null;
|
|
5280
|
+
|
|
5281
|
+
/**
|
|
5282
|
+
* If the Price represents a fixed cost, this represents the quantity of units
|
|
5283
|
+
* applied.
|
|
5284
|
+
*/
|
|
5285
|
+
fixed_price_quantity?: number | null;
|
|
5286
|
+
|
|
5287
|
+
/**
|
|
5288
|
+
* The property used to group this price on an invoice
|
|
5289
|
+
*/
|
|
5290
|
+
invoice_grouping_key?: string | null;
|
|
5291
|
+
|
|
5292
|
+
/**
|
|
5293
|
+
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
5294
|
+
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
5295
|
+
* by setting `metadata` to `null`.
|
|
5296
|
+
*/
|
|
5297
|
+
metadata?: Record<string, string | null> | null;
|
|
5298
|
+
}
|
|
5165
5299
|
}
|
|
5166
5300
|
|
|
5167
5301
|
export interface AddAdjustment {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.4.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.4.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.4.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|