orb-billing 4.52.0 → 4.53.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 +13 -0
- package/package.json +1 -1
- package/resources/invoices.d.ts +1 -1
- package/resources/plans/plans.d.ts +7 -7
- package/resources/plans/plans.d.ts.map +1 -1
- package/resources/prices/prices.d.ts +19 -19
- package/resources/prices/prices.d.ts.map +1 -1
- package/resources/subscriptions.d.ts +7 -7
- package/resources/subscriptions.d.ts.map +1 -1
- package/src/resources/invoices.ts +1 -1
- package/src/resources/plans/plans.ts +7 -7
- package/src/resources/prices/prices.ts +19 -19
- package/src/resources/subscriptions.ts +7 -7
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -2284,7 +2284,7 @@ export interface InvoiceIssueParams {
|
|
|
2284
2284
|
/**
|
|
2285
2285
|
* If true, the invoice will be issued synchronously. If false, the invoice will be
|
|
2286
2286
|
* issued asynchronously. The synchronous option is only available for invoices
|
|
2287
|
-
*
|
|
2287
|
+
* that have no usage fees. If the invoice is configured to sync to an external
|
|
2288
2288
|
* provider, a successful response from this endpoint guarantees the invoice is
|
|
2289
2289
|
* present in the provider.
|
|
2290
2290
|
*/
|
|
@@ -497,7 +497,7 @@ export interface PlanCreateParams {
|
|
|
497
497
|
| PlanCreateParams.NewPlanMatrixWithDisplayNamePrice
|
|
498
498
|
| PlanCreateParams.NewPlanBulkWithProrationPrice
|
|
499
499
|
| PlanCreateParams.NewPlanGroupedTieredPackagePrice
|
|
500
|
-
| PlanCreateParams.
|
|
500
|
+
| PlanCreateParams.NewPlanMaxGroupTieredPackagePrice
|
|
501
501
|
>;
|
|
502
502
|
|
|
503
503
|
/**
|
|
@@ -3073,7 +3073,7 @@ export namespace PlanCreateParams {
|
|
|
3073
3073
|
}
|
|
3074
3074
|
}
|
|
3075
3075
|
|
|
3076
|
-
export interface
|
|
3076
|
+
export interface NewPlanMaxGroupTieredPackagePrice {
|
|
3077
3077
|
/**
|
|
3078
3078
|
* The cadence to bill for this price on.
|
|
3079
3079
|
*/
|
|
@@ -3084,9 +3084,9 @@ export namespace PlanCreateParams {
|
|
|
3084
3084
|
*/
|
|
3085
3085
|
item_id: string;
|
|
3086
3086
|
|
|
3087
|
-
|
|
3087
|
+
max_group_tiered_package_config: Record<string, unknown>;
|
|
3088
3088
|
|
|
3089
|
-
model_type: '
|
|
3089
|
+
model_type: 'max_group_tiered_package';
|
|
3090
3090
|
|
|
3091
3091
|
/**
|
|
3092
3092
|
* The name of the price.
|
|
@@ -3109,7 +3109,7 @@ export namespace PlanCreateParams {
|
|
|
3109
3109
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
3110
3110
|
* months.
|
|
3111
3111
|
*/
|
|
3112
|
-
billing_cycle_configuration?:
|
|
3112
|
+
billing_cycle_configuration?: NewPlanMaxGroupTieredPackagePrice.BillingCycleConfiguration | null;
|
|
3113
3113
|
|
|
3114
3114
|
/**
|
|
3115
3115
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -3142,7 +3142,7 @@ export namespace PlanCreateParams {
|
|
|
3142
3142
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3143
3143
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
3144
3144
|
*/
|
|
3145
|
-
invoicing_cycle_configuration?:
|
|
3145
|
+
invoicing_cycle_configuration?: NewPlanMaxGroupTieredPackagePrice.InvoicingCycleConfiguration | null;
|
|
3146
3146
|
|
|
3147
3147
|
/**
|
|
3148
3148
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -3152,7 +3152,7 @@ export namespace PlanCreateParams {
|
|
|
3152
3152
|
metadata?: Record<string, string | null> | null;
|
|
3153
3153
|
}
|
|
3154
3154
|
|
|
3155
|
-
export namespace
|
|
3155
|
+
export namespace NewPlanMaxGroupTieredPackagePrice {
|
|
3156
3156
|
/**
|
|
3157
3157
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
3158
3158
|
* months.
|
|
@@ -147,7 +147,7 @@ export type Price =
|
|
|
147
147
|
| Price.MatrixWithDisplayNamePrice
|
|
148
148
|
| Price.BulkWithProrationPrice
|
|
149
149
|
| Price.GroupedTieredPackagePrice
|
|
150
|
-
| Price.
|
|
150
|
+
| Price.MaxGroupTieredPackagePrice;
|
|
151
151
|
|
|
152
152
|
export namespace Price {
|
|
153
153
|
export interface UnitPrice {
|
|
@@ -2999,12 +2999,12 @@ export namespace Price {
|
|
|
2999
2999
|
}
|
|
3000
3000
|
}
|
|
3001
3001
|
|
|
3002
|
-
export interface
|
|
3002
|
+
export interface MaxGroupTieredPackagePrice {
|
|
3003
3003
|
id: string;
|
|
3004
3004
|
|
|
3005
|
-
billable_metric:
|
|
3005
|
+
billable_metric: MaxGroupTieredPackagePrice.BillableMetric | null;
|
|
3006
3006
|
|
|
3007
|
-
billing_cycle_configuration:
|
|
3007
|
+
billing_cycle_configuration: MaxGroupTieredPackagePrice.BillingCycleConfiguration;
|
|
3008
3008
|
|
|
3009
3009
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
3010
3010
|
|
|
@@ -3012,7 +3012,7 @@ export namespace Price {
|
|
|
3012
3012
|
|
|
3013
3013
|
created_at: string;
|
|
3014
3014
|
|
|
3015
|
-
credit_allocation:
|
|
3015
|
+
credit_allocation: MaxGroupTieredPackagePrice.CreditAllocation | null;
|
|
3016
3016
|
|
|
3017
3017
|
currency: string;
|
|
3018
3018
|
|
|
@@ -3022,13 +3022,13 @@ export namespace Price {
|
|
|
3022
3022
|
|
|
3023
3023
|
fixed_price_quantity: number | null;
|
|
3024
3024
|
|
|
3025
|
-
invoicing_cycle_configuration:
|
|
3025
|
+
invoicing_cycle_configuration: MaxGroupTieredPackagePrice.InvoicingCycleConfiguration | null;
|
|
3026
3026
|
|
|
3027
|
-
item:
|
|
3027
|
+
item: MaxGroupTieredPackagePrice.Item;
|
|
3028
3028
|
|
|
3029
|
-
|
|
3029
|
+
max_group_tiered_package_config: Record<string, unknown>;
|
|
3030
3030
|
|
|
3031
|
-
maximum:
|
|
3031
|
+
maximum: MaxGroupTieredPackagePrice.Maximum | null;
|
|
3032
3032
|
|
|
3033
3033
|
maximum_amount: string | null;
|
|
3034
3034
|
|
|
@@ -3040,11 +3040,11 @@ export namespace Price {
|
|
|
3040
3040
|
*/
|
|
3041
3041
|
metadata: Record<string, string>;
|
|
3042
3042
|
|
|
3043
|
-
minimum:
|
|
3043
|
+
minimum: MaxGroupTieredPackagePrice.Minimum | null;
|
|
3044
3044
|
|
|
3045
3045
|
minimum_amount: string | null;
|
|
3046
3046
|
|
|
3047
|
-
model_type: '
|
|
3047
|
+
model_type: 'max_group_tiered_package';
|
|
3048
3048
|
|
|
3049
3049
|
name: string;
|
|
3050
3050
|
|
|
@@ -3053,7 +3053,7 @@ export namespace Price {
|
|
|
3053
3053
|
price_type: 'usage_price' | 'fixed_price';
|
|
3054
3054
|
}
|
|
3055
3055
|
|
|
3056
|
-
export namespace
|
|
3056
|
+
export namespace MaxGroupTieredPackagePrice {
|
|
3057
3057
|
export interface BillableMetric {
|
|
3058
3058
|
id: string;
|
|
3059
3059
|
}
|
|
@@ -3127,7 +3127,7 @@ export type PriceCreateParams =
|
|
|
3127
3127
|
| PriceCreateParams.NewFloatingThresholdTotalAmountPrice
|
|
3128
3128
|
| PriceCreateParams.NewFloatingTieredPackagePrice
|
|
3129
3129
|
| PriceCreateParams.NewFloatingGroupedTieredPrice
|
|
3130
|
-
| PriceCreateParams.
|
|
3130
|
+
| PriceCreateParams.NewFloatingMaxGroupTieredPackagePrice
|
|
3131
3131
|
| PriceCreateParams.NewFloatingTieredWithMinimumPrice
|
|
3132
3132
|
| PriceCreateParams.NewFloatingPackageWithAllocationPrice
|
|
3133
3133
|
| PriceCreateParams.NewFloatingTieredPackageWithMinimumPrice
|
|
@@ -4695,7 +4695,7 @@ export declare namespace PriceCreateParams {
|
|
|
4695
4695
|
}
|
|
4696
4696
|
}
|
|
4697
4697
|
|
|
4698
|
-
export interface
|
|
4698
|
+
export interface NewFloatingMaxGroupTieredPackagePrice {
|
|
4699
4699
|
/**
|
|
4700
4700
|
* The cadence to bill for this price on.
|
|
4701
4701
|
*/
|
|
@@ -4711,9 +4711,9 @@ export declare namespace PriceCreateParams {
|
|
|
4711
4711
|
*/
|
|
4712
4712
|
item_id: string;
|
|
4713
4713
|
|
|
4714
|
-
|
|
4714
|
+
max_group_tiered_package_config: Record<string, unknown>;
|
|
4715
4715
|
|
|
4716
|
-
model_type: '
|
|
4716
|
+
model_type: 'max_group_tiered_package';
|
|
4717
4717
|
|
|
4718
4718
|
/**
|
|
4719
4719
|
* The name of the price.
|
|
@@ -4736,7 +4736,7 @@ export declare namespace PriceCreateParams {
|
|
|
4736
4736
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
4737
4737
|
* months.
|
|
4738
4738
|
*/
|
|
4739
|
-
billing_cycle_configuration?: PriceCreateParams.
|
|
4739
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingMaxGroupTieredPackagePrice.BillingCycleConfiguration | null;
|
|
4740
4740
|
|
|
4741
4741
|
/**
|
|
4742
4742
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -4763,7 +4763,7 @@ export declare namespace PriceCreateParams {
|
|
|
4763
4763
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4764
4764
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
4765
4765
|
*/
|
|
4766
|
-
invoicing_cycle_configuration?: PriceCreateParams.
|
|
4766
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingMaxGroupTieredPackagePrice.InvoicingCycleConfiguration | null;
|
|
4767
4767
|
|
|
4768
4768
|
/**
|
|
4769
4769
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -4773,7 +4773,7 @@ export declare namespace PriceCreateParams {
|
|
|
4773
4773
|
metadata?: Record<string, string | null> | null;
|
|
4774
4774
|
}
|
|
4775
4775
|
|
|
4776
|
-
export namespace
|
|
4776
|
+
export namespace NewFloatingMaxGroupTieredPackagePrice {
|
|
4777
4777
|
/**
|
|
4778
4778
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
4779
4779
|
* months.
|
|
@@ -13351,7 +13351,7 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
13351
13351
|
| Add.NewFloatingThresholdTotalAmountPrice
|
|
13352
13352
|
| Add.NewFloatingTieredPackagePrice
|
|
13353
13353
|
| Add.NewFloatingGroupedTieredPrice
|
|
13354
|
-
| Add.
|
|
13354
|
+
| Add.NewFloatingMaxGroupTieredPackagePrice
|
|
13355
13355
|
| Add.NewFloatingTieredWithMinimumPrice
|
|
13356
13356
|
| Add.NewFloatingPackageWithAllocationPrice
|
|
13357
13357
|
| Add.NewFloatingTieredPackageWithMinimumPrice
|
|
@@ -14994,7 +14994,7 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
14994
14994
|
}
|
|
14995
14995
|
}
|
|
14996
14996
|
|
|
14997
|
-
export interface
|
|
14997
|
+
export interface NewFloatingMaxGroupTieredPackagePrice {
|
|
14998
14998
|
/**
|
|
14999
14999
|
* The cadence to bill for this price on.
|
|
15000
15000
|
*/
|
|
@@ -15010,9 +15010,9 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
15010
15010
|
*/
|
|
15011
15011
|
item_id: string;
|
|
15012
15012
|
|
|
15013
|
-
|
|
15013
|
+
max_group_tiered_package_config: Record<string, unknown>;
|
|
15014
15014
|
|
|
15015
|
-
model_type: '
|
|
15015
|
+
model_type: 'max_group_tiered_package';
|
|
15016
15016
|
|
|
15017
15017
|
/**
|
|
15018
15018
|
* The name of the price.
|
|
@@ -15035,7 +15035,7 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
15035
15035
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
15036
15036
|
* months.
|
|
15037
15037
|
*/
|
|
15038
|
-
billing_cycle_configuration?:
|
|
15038
|
+
billing_cycle_configuration?: NewFloatingMaxGroupTieredPackagePrice.BillingCycleConfiguration | null;
|
|
15039
15039
|
|
|
15040
15040
|
/**
|
|
15041
15041
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -15062,7 +15062,7 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
15062
15062
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
15063
15063
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
15064
15064
|
*/
|
|
15065
|
-
invoicing_cycle_configuration?:
|
|
15065
|
+
invoicing_cycle_configuration?: NewFloatingMaxGroupTieredPackagePrice.InvoicingCycleConfiguration | null;
|
|
15066
15066
|
|
|
15067
15067
|
/**
|
|
15068
15068
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -15072,7 +15072,7 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
15072
15072
|
metadata?: Record<string, string | null> | null;
|
|
15073
15073
|
}
|
|
15074
15074
|
|
|
15075
|
-
export namespace
|
|
15075
|
+
export namespace NewFloatingMaxGroupTieredPackagePrice {
|
|
15076
15076
|
/**
|
|
15077
15077
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
15078
15078
|
* months.
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.53.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.53.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.53.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|