orb-billing 1.28.1 → 1.30.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 +32 -0
- package/package.json +27 -23
- package/resources/customers/credits/ledger.d.ts +142 -66
- package/resources/customers/credits/ledger.d.ts.map +1 -1
- package/resources/customers/credits/ledger.js.map +1 -1
- package/resources/customers/credits/ledger.mjs.map +1 -1
- package/resources/customers/customers.d.ts +13 -5
- package/resources/customers/customers.d.ts.map +1 -1
- package/resources/customers/customers.js.map +1 -1
- package/resources/customers/customers.mjs.map +1 -1
- package/resources/invoices.d.ts +46 -4
- package/resources/invoices.d.ts.map +1 -1
- package/resources/invoices.js.map +1 -1
- package/resources/invoices.mjs.map +1 -1
- package/resources/metrics.d.ts +15 -7
- package/resources/metrics.d.ts.map +1 -1
- package/resources/metrics.js.map +1 -1
- package/resources/metrics.mjs.map +1 -1
- package/resources/plans/external-plan-id.d.ts +3 -1
- package/resources/plans/external-plan-id.d.ts.map +1 -1
- package/resources/plans/external-plan-id.js.map +1 -1
- package/resources/plans/external-plan-id.mjs.map +1 -1
- package/resources/plans/plans.d.ts +10 -4
- 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/subscriptions.d.ts +7 -3
- 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/customers/credits/ledger.ts +142 -66
- package/src/resources/customers/customers.ts +13 -5
- package/src/resources/invoices.ts +54 -4
- package/src/resources/metrics.ts +15 -7
- package/src/resources/plans/external-plan-id.ts +3 -1
- package/src/resources/plans/plans.ts +10 -4
- package/src/resources/subscriptions.ts +7 -3
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -136,8 +136,10 @@ export interface Plan {
|
|
|
136
136
|
maximum_amount: string | null;
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
|
-
* User specified key-value pairs. If not
|
|
140
|
-
* dictionary.
|
|
139
|
+
* User specified key-value pairs for the resource. If not present, this defaults
|
|
140
|
+
* to an empty dictionary. Individual keys can be removed by setting the value to
|
|
141
|
+
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
142
|
+
* `null`.
|
|
141
143
|
*/
|
|
142
144
|
metadata: Record<string, string>;
|
|
143
145
|
|
|
@@ -321,7 +323,9 @@ export interface PlanCreateParams {
|
|
|
321
323
|
external_plan_id?: string | null;
|
|
322
324
|
|
|
323
325
|
/**
|
|
324
|
-
* User-specified key/value pairs for the resource.
|
|
326
|
+
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
327
|
+
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
328
|
+
* by setting `metadata` to `null`.
|
|
325
329
|
*/
|
|
326
330
|
metadata?: Record<string, string | null> | null;
|
|
327
331
|
|
|
@@ -1135,7 +1139,9 @@ export interface PlanUpdateParams {
|
|
|
1135
1139
|
external_plan_id?: string | null;
|
|
1136
1140
|
|
|
1137
1141
|
/**
|
|
1138
|
-
* User-specified key/value pairs for the resource.
|
|
1142
|
+
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
1143
|
+
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
1144
|
+
* by setting `metadata` to `null`.
|
|
1139
1145
|
*/
|
|
1140
1146
|
metadata?: Record<string, string | null> | null;
|
|
1141
1147
|
}
|
|
@@ -1127,8 +1127,10 @@ export interface Subscription {
|
|
|
1127
1127
|
maximum_intervals: Array<Subscription.MaximumInterval>;
|
|
1128
1128
|
|
|
1129
1129
|
/**
|
|
1130
|
-
* User specified key-value pairs. If not
|
|
1131
|
-
* dictionary.
|
|
1130
|
+
* User specified key-value pairs for the resource. If not present, this defaults
|
|
1131
|
+
* to an empty dictionary. Individual keys can be removed by setting the value to
|
|
1132
|
+
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
1133
|
+
* `null`.
|
|
1132
1134
|
*/
|
|
1133
1135
|
metadata: Record<string, string>;
|
|
1134
1136
|
|
|
@@ -2091,7 +2093,9 @@ export interface SubscriptionCreateParams {
|
|
|
2091
2093
|
invoicing_threshold?: string | null;
|
|
2092
2094
|
|
|
2093
2095
|
/**
|
|
2094
|
-
* User-specified key/value pairs for the resource.
|
|
2096
|
+
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
2097
|
+
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
2098
|
+
* by setting `metadata` to `null`.
|
|
2095
2099
|
*/
|
|
2096
2100
|
metadata?: Record<string, string | null> | null;
|
|
2097
2101
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.30.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.30.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.30.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|