@openmeter/client 1.0.0-beta-5a1510d62b46 → 1.0.0-beta-925631a8a221

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/README.md CHANGED
@@ -36,6 +36,7 @@ TypeSpec definitions and ships fully-typed request and response models.
36
36
  - [Defaults](#defaults)
37
37
  - [Internal Operations](#internal-operations)
38
38
  - [Internal Customers](#internal-customers)
39
+ - [Internal Subscriptions](#internal-subscriptions)
39
40
  - [Internal Apps](#internal-apps)
40
41
  - [Internal Invoices](#internal-invoices)
41
42
  - [Internal Charges](#internal-charges)
@@ -310,22 +311,19 @@ The full call path, HTTP route, and a short description are listed below.
310
311
 
311
312
  ### Subscriptions
312
313
 
313
- | Method | HTTP | Description |
314
- | -------------------------------------------- | ------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
315
- | `client.subscriptions.create` | `POST /openmeter/subscriptions` | Create subscription |
316
- | `client.subscriptions.list` | `GET /openmeter/subscriptions` | List subscriptions |
317
- | `client.subscriptions.get` | `GET /openmeter/subscriptions/{subscriptionId}` | Get subscription |
318
- | `client.subscriptions.cancel` | `POST /openmeter/subscriptions/{subscriptionId}/cancel` | Cancels the subscription. Will result in a scheduling conflict if there are other subscriptions scheduled to start after the cancelation time. |
319
- | `client.subscriptions.unscheduleCancelation` | `POST /openmeter/subscriptions/{subscriptionId}/unschedule-cancelation` | Unschedules the subscription cancelation. |
320
- | `client.subscriptions.unschedule` | `POST /openmeter/subscriptions/{subscriptionId}/unschedule` | Deletes a scheduled subscription that has not yet become active, removing it and resolving any scheduling conflict it was holding. This is distinct from canceling: cancel ends a running subscription, whereas unscheduling removes a not-yet-active one. Only scheduled subscriptions can be unscheduled; unscheduling an active or already-started subscription is rejected. |
321
- | `client.subscriptions.restore` | `POST /openmeter/subscriptions/{subscriptionId}/restore` | Restores the subscription by deleting any later-scheduled successor subscriptions and continuing this one indefinitely. This is the inverse of a future-dated change, which schedules a successor. Restore is not available when multi-subscription is enabled. |
322
- | `client.subscriptions.change` | `POST /openmeter/subscriptions/{subscriptionId}/change` | Closes a running subscription and starts a new one according to the specification. Can be used for upgrades, downgrades, and plan changes. |
323
- | `client.subscriptions.migrate` | `POST /openmeter/subscriptions/{subscriptionId}/migrate` | Migrates to a later version of the current plan. With starting_phase omitted and billing_anchor omitted or unchanged, migration amends the subscription in place: unchanged items retain their service periods and both response entries have the same ID. Existing addons must remain compatible with the target plan. Incompatible phase timelines or billing settings return an error. Providing starting_phase or a different billing_anchor explicitly requests replacement, which resets the phase timeline, may produce billing adjustments, and does not transfer addons. Custom subscriptions cannot be migrated. |
324
- | `client.subscriptions.edit` | `POST /openmeter/subscriptions/{subscriptionId}/edit` | Edits a running subscription by applying an ordered batch of customizations (adding or removing items, adding, removing, or stretching phases, or unscheduling a pending edit). The changes may take effect immediately or at the next billing cycle. Subscriptions that have add-ons cannot be edited. |
325
- | `client.subscriptions.createAddon` | `POST /openmeter/subscriptions/{subscriptionId}/addons` | Add add-on to a subscription. |
326
- | `client.subscriptions.listAddons` | `GET /openmeter/subscriptions/{subscriptionId}/addons` | List the add-ons of a subscription. |
327
- | `client.subscriptions.getAddon` | `GET /openmeter/subscriptions/{subscriptionId}/addons/{subscriptionAddonId}` | Get an add-on association for a subscription. |
328
- | `client.subscriptions.updateAddon` | `PATCH /openmeter/subscriptions/{subscriptionId}/addons/{subscriptionAddonId}` | Update a subscription add-on. Only the quantity is mutable; the timing controls when the new quantity takes effect. A new entry is appended to the add-on's timeline. |
314
+ | Method | HTTP | Description |
315
+ | -------------------------------------------- | ---------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
316
+ | `client.subscriptions.create` | `POST /openmeter/subscriptions` | Create subscription |
317
+ | `client.subscriptions.list` | `GET /openmeter/subscriptions` | List subscriptions |
318
+ | `client.subscriptions.get` | `GET /openmeter/subscriptions/{subscriptionId}` | Get subscription |
319
+ | `client.subscriptions.cancel` | `POST /openmeter/subscriptions/{subscriptionId}/cancel` | Cancels the subscription. Will result in a scheduling conflict if there are other subscriptions scheduled to start after the cancelation time. |
320
+ | `client.subscriptions.unscheduleCancelation` | `POST /openmeter/subscriptions/{subscriptionId}/unschedule-cancelation` | Unschedules the subscription cancelation. |
321
+ | `client.subscriptions.change` | `POST /openmeter/subscriptions/{subscriptionId}/change` | Closes a running subscription and starts a new one according to the specification. Can be used for upgrades, downgrades, and plan changes. |
322
+ | `client.subscriptions.migrate` | `POST /openmeter/subscriptions/{subscriptionId}/migrate` | Migrates to a later version of the current plan. With starting_phase omitted and billing_anchor omitted or unchanged, migration amends the subscription in place: unchanged items retain their service periods and both response entries have the same ID. Existing addons must remain compatible with the target plan. Incompatible phase timelines or billing settings return an error. Providing starting_phase or a different billing_anchor explicitly requests replacement, which resets the phase timeline, may produce billing adjustments, and does not transfer addons. Custom subscriptions cannot be migrated. |
323
+ | `client.subscriptions.edit` | `POST /openmeter/subscriptions/{subscriptionId}/edit` | Edits a running subscription by applying an ordered batch of customizations (adding or removing items, adding, removing, or stretching phases, or unscheduling a pending edit). The changes may take effect immediately or at the next billing cycle. Subscriptions that have add-ons cannot be edited. |
324
+ | `client.subscriptions.createAddon` | `POST /openmeter/subscriptions/{subscriptionId}/addons` | Add add-on to a subscription. |
325
+ | `client.subscriptions.listAddons` | `GET /openmeter/subscriptions/{subscriptionId}/addons` | List the add-ons of a subscription. |
326
+ | `client.subscriptions.getAddon` | `GET /openmeter/subscriptions/{subscriptionId}/addons/{subscriptionAddonId}` | Get an add-on association for a subscription. |
329
327
 
330
328
  ### Apps
331
329
 
@@ -429,6 +427,14 @@ they can change or be removed without notice or semver consideration.
429
427
  | `client.internal.customers.charges.list` | `GET /openmeter/customers/{customerId}/charges` | List customer charges. Returns the customer's charges that are represented as either flat fee or usage-based charges. |
430
428
  | `client.internal.customers.charges.create` | `POST /openmeter/customers/{customerId}/charges` | Create customer charge. |
431
429
 
430
+ ### Internal Subscriptions
431
+
432
+ | Method | HTTP | Description |
433
+ | ------------------------------------------- | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
434
+ | `client.internal.subscriptions.unschedule` | `POST /openmeter/subscriptions/{subscriptionId}/unschedule` | Deletes a scheduled subscription that has not yet become active, removing it and resolving any scheduling conflict it was holding. This is distinct from canceling: cancel ends a running subscription, whereas unscheduling removes a not-yet-active one. Only scheduled subscriptions can be unscheduled; unscheduling an active or already-started subscription is rejected. |
435
+ | `client.internal.subscriptions.restore` | `POST /openmeter/subscriptions/{subscriptionId}/restore` | Restores the subscription by deleting any later-scheduled successor subscriptions and continuing this one indefinitely. This is the inverse of a future-dated change, which schedules a successor. Restore is not available when multi-subscription is enabled. |
436
+ | `client.internal.subscriptions.updateAddon` | `PATCH /openmeter/subscriptions/{subscriptionId}/addons/{subscriptionAddonId}` | Update a subscription add-on. Only the quantity is mutable; the timing controls when the new quantity takes effect. A new entry is appended to the add-on's timeline. |
437
+
432
438
  ### Internal Apps
433
439
 
434
440
  | Method | HTTP | Description |
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.0-beta-5a1510d62b46";
1
+ export declare const SDK_VERSION = "1.0.0-beta-925631a8a221";
@@ -2,4 +2,4 @@
2
2
  // The committed value is a dev placeholder. The publish flow
3
3
  // (`make -C api/spec publish-aip-sdk`) stamps the real release version here
4
4
  // before `pnpm publish`, after `pnpm version` updates package.json.
5
- export const SDK_VERSION = '1.0.0-beta-5a1510d62b46';
5
+ export const SDK_VERSION = '1.0.0-beta-925631a8a221';
@@ -1,6 +1,7 @@
1
1
  import { type Client } from '../core.js';
2
2
  import { type RequestOptions } from '../lib/types.js';
3
3
  import type { VoidCreditGrantRequest, VoidCreditGrantResponse, ListCustomerChargesRequest, ListCustomerChargesResponse, CreateCustomerChargesRequest, CreateCustomerChargesResponse } from '../models/operations/customers.js';
4
+ import type { UnscheduleSubscriptionRequest, UnscheduleSubscriptionResponse, RestoreSubscriptionRequest, RestoreSubscriptionResponse, UpdateSubscriptionAddonRequest, UpdateSubscriptionAddonResponse } from '../models/operations/subscriptions.js';
4
5
  import type { ListAppsRequest, ListAppsResponse, UninstallAppRequest, UninstallAppResponse, UpdateAppRequest, UpdateAppResponse, ListAppCatalogRequest, ListAppCatalogResponse, GetAppCatalogItemRequest, GetAppCatalogItemResponse, InstallAppRequest, InstallAppResponse } from '../models/operations/apps.js';
5
6
  import type { ListInvoicesRequest, ListInvoicesResponse, GetInvoiceRequest, GetInvoiceResponse, UpdateInvoiceRequest, UpdateInvoiceResponse, DeleteInvoiceRequest, DeleteInvoiceResponse, AdvanceInvoiceRequest, AdvanceInvoiceResponse, ApproveInvoiceRequest, ApproveInvoiceResponse, RetryInvoiceRequest, RetryInvoiceResponse, SnapshotQuantitiesInvoiceRequest, SnapshotQuantitiesInvoiceResponse } from '../models/operations/invoices.js';
6
7
  import type { ListChargesRequest, ListChargesResponse } from '../models/operations/charges.js';
@@ -18,6 +19,8 @@ export declare class Internal {
18
19
  constructor(_client: Client);
19
20
  private _customers?;
20
21
  get customers(): InternalCustomers;
22
+ private _subscriptions?;
23
+ get subscriptions(): InternalSubscriptions;
21
24
  private _apps?;
22
25
  get apps(): InternalApps;
23
26
  private _invoices?;
@@ -101,6 +104,43 @@ export declare class InternalCustomersCharges {
101
104
  */
102
105
  create(request: CreateCustomerChargesRequest, options?: RequestOptions): Promise<CreateCustomerChargesResponse>;
103
106
  }
107
+ export declare class InternalSubscriptions {
108
+ private readonly _client;
109
+ constructor(_client: Client);
110
+ /**
111
+ * Unschedule subscription
112
+ *
113
+ * Deletes a scheduled subscription that has not yet become active, removing it and
114
+ * resolving any scheduling conflict it was holding. This is distinct from
115
+ * canceling: cancel ends a running subscription, whereas unscheduling removes a
116
+ * not-yet-active one. Only scheduled subscriptions can be unscheduled;
117
+ * unscheduling an active or already-started subscription is rejected.
118
+ *
119
+ * POST /openmeter/subscriptions/{subscriptionId}/unschedule
120
+ */
121
+ unschedule(request: UnscheduleSubscriptionRequest, options?: RequestOptions): Promise<UnscheduleSubscriptionResponse>;
122
+ /**
123
+ * Restore subscription
124
+ *
125
+ * Restores the subscription by deleting any later-scheduled successor
126
+ * subscriptions and continuing this one indefinitely. This is the inverse of a
127
+ * future-dated change, which schedules a successor. Restore is not available when
128
+ * multi-subscription is enabled.
129
+ *
130
+ * POST /openmeter/subscriptions/{subscriptionId}/restore
131
+ */
132
+ restore(request: RestoreSubscriptionRequest, options?: RequestOptions): Promise<RestoreSubscriptionResponse>;
133
+ /**
134
+ * Update subscription addon
135
+ *
136
+ * Update a subscription add-on. Only the quantity is mutable; the timing controls
137
+ * when the new quantity takes effect. A new entry is appended to the add-on's
138
+ * timeline.
139
+ *
140
+ * PATCH /openmeter/subscriptions/{subscriptionId}/addons/{subscriptionAddonId}
141
+ */
142
+ updateAddon(request: UpdateSubscriptionAddonRequest, options?: RequestOptions): Promise<UpdateSubscriptionAddonResponse>;
143
+ }
104
144
  export declare class InternalApps {
105
145
  private readonly _client;
106
146
  constructor(_client: Client);
@@ -2,6 +2,7 @@
2
2
  import { unwrap } from '../lib/types.js';
3
3
  import { paginatePages } from '../lib/paginate.js';
4
4
  import { voidCreditGrant, listCustomerCharges, createCustomerCharges, } from '../funcs/customers.js';
5
+ import { unscheduleSubscription, restoreSubscription, updateSubscriptionAddon, } from '../funcs/subscriptions.js';
5
6
  import { listApps, uninstallApp, updateApp, listAppCatalog, getAppCatalogItem, installApp, } from '../funcs/apps.js';
6
7
  import { listInvoices, getInvoice, updateInvoice, deleteInvoice, advanceInvoice, approveInvoice, retryInvoice, snapshotQuantitiesInvoice, } from '../funcs/invoices.js';
7
8
  import { listCharges } from '../funcs/charges.js';
@@ -22,6 +23,10 @@ export class Internal {
22
23
  get customers() {
23
24
  return (this._customers ??= new InternalCustomers(this._client));
24
25
  }
26
+ _subscriptions;
27
+ get subscriptions() {
28
+ return (this._subscriptions ??= new InternalSubscriptions(this._client));
29
+ }
25
30
  _apps;
26
31
  get apps() {
27
32
  return (this._apps ??= new InternalApps(this._client));
@@ -139,6 +144,51 @@ export class InternalCustomersCharges {
139
144
  return unwrap(await createCustomerCharges(this._client, request, options));
140
145
  }
141
146
  }
147
+ export class InternalSubscriptions {
148
+ _client;
149
+ constructor(_client) {
150
+ this._client = _client;
151
+ }
152
+ /**
153
+ * Unschedule subscription
154
+ *
155
+ * Deletes a scheduled subscription that has not yet become active, removing it and
156
+ * resolving any scheduling conflict it was holding. This is distinct from
157
+ * canceling: cancel ends a running subscription, whereas unscheduling removes a
158
+ * not-yet-active one. Only scheduled subscriptions can be unscheduled;
159
+ * unscheduling an active or already-started subscription is rejected.
160
+ *
161
+ * POST /openmeter/subscriptions/{subscriptionId}/unschedule
162
+ */
163
+ async unschedule(request, options) {
164
+ return unwrap(await unscheduleSubscription(this._client, request, options));
165
+ }
166
+ /**
167
+ * Restore subscription
168
+ *
169
+ * Restores the subscription by deleting any later-scheduled successor
170
+ * subscriptions and continuing this one indefinitely. This is the inverse of a
171
+ * future-dated change, which schedules a successor. Restore is not available when
172
+ * multi-subscription is enabled.
173
+ *
174
+ * POST /openmeter/subscriptions/{subscriptionId}/restore
175
+ */
176
+ async restore(request, options) {
177
+ return unwrap(await restoreSubscription(this._client, request, options));
178
+ }
179
+ /**
180
+ * Update subscription addon
181
+ *
182
+ * Update a subscription add-on. Only the quantity is mutable; the timing controls
183
+ * when the new quantity takes effect. A new entry is appended to the add-on's
184
+ * timeline.
185
+ *
186
+ * PATCH /openmeter/subscriptions/{subscriptionId}/addons/{subscriptionAddonId}
187
+ */
188
+ async updateAddon(request, options) {
189
+ return unwrap(await updateSubscriptionAddon(this._client, request, options));
190
+ }
191
+ }
142
192
  export class InternalApps {
143
193
  _client;
144
194
  constructor(_client) {
@@ -1,6 +1,6 @@
1
1
  import { type Client } from '../core.js';
2
2
  import { type RequestOptions } from '../lib/types.js';
3
- import type { CreateSubscriptionRequest, CreateSubscriptionResponse, ListSubscriptionsRequest, ListSubscriptionsResponse, GetSubscriptionRequest, GetSubscriptionResponse, CancelSubscriptionRequest, CancelSubscriptionResponse, UnscheduleCancelationRequest, UnscheduleCancelationResponse, UnscheduleSubscriptionRequest, UnscheduleSubscriptionResponse, RestoreSubscriptionRequest, RestoreSubscriptionResponse, ChangeSubscriptionRequest, ChangeSubscriptionResponse, MigrateSubscriptionRequest, MigrateSubscriptionResponse, EditSubscriptionRequest, EditSubscriptionResponse, CreateSubscriptionAddonRequest, CreateSubscriptionAddonResponse, ListSubscriptionAddonsRequest, ListSubscriptionAddonsResponse, GetSubscriptionAddonRequest, GetSubscriptionAddonResponse, UpdateSubscriptionAddonRequest, UpdateSubscriptionAddonResponse } from '../models/operations/subscriptions.js';
3
+ import type { CreateSubscriptionRequest, CreateSubscriptionResponse, ListSubscriptionsRequest, ListSubscriptionsResponse, GetSubscriptionRequest, GetSubscriptionResponse, CancelSubscriptionRequest, CancelSubscriptionResponse, UnscheduleCancelationRequest, UnscheduleCancelationResponse, ChangeSubscriptionRequest, ChangeSubscriptionResponse, MigrateSubscriptionRequest, MigrateSubscriptionResponse, EditSubscriptionRequest, EditSubscriptionResponse, CreateSubscriptionAddonRequest, CreateSubscriptionAddonResponse, ListSubscriptionAddonsRequest, ListSubscriptionAddonsResponse, GetSubscriptionAddonRequest, GetSubscriptionAddonResponse } from '../models/operations/subscriptions.js';
4
4
  import type { Subscription, SubscriptionAddon } from '../models/types.js';
5
5
  export declare class Subscriptions {
6
6
  private readonly _client;
@@ -48,29 +48,6 @@ export declare class Subscriptions {
48
48
  * POST /openmeter/subscriptions/{subscriptionId}/unschedule-cancelation
49
49
  */
50
50
  unscheduleCancelation(request: UnscheduleCancelationRequest, options?: RequestOptions): Promise<UnscheduleCancelationResponse>;
51
- /**
52
- * Unschedule subscription
53
- *
54
- * Deletes a scheduled subscription that has not yet become active, removing it and
55
- * resolving any scheduling conflict it was holding. This is distinct from
56
- * canceling: cancel ends a running subscription, whereas unscheduling removes a
57
- * not-yet-active one. Only scheduled subscriptions can be unscheduled;
58
- * unscheduling an active or already-started subscription is rejected.
59
- *
60
- * POST /openmeter/subscriptions/{subscriptionId}/unschedule
61
- */
62
- unschedule(request: UnscheduleSubscriptionRequest, options?: RequestOptions): Promise<UnscheduleSubscriptionResponse>;
63
- /**
64
- * Restore subscription
65
- *
66
- * Restores the subscription by deleting any later-scheduled successor
67
- * subscriptions and continuing this one indefinitely. This is the inverse of a
68
- * future-dated change, which schedules a successor. Restore is not available when
69
- * multi-subscription is enabled.
70
- *
71
- * POST /openmeter/subscriptions/{subscriptionId}/restore
72
- */
73
- restore(request: RestoreSubscriptionRequest, options?: RequestOptions): Promise<RestoreSubscriptionResponse>;
74
51
  /**
75
52
  * Change subscription
76
53
  *
@@ -140,14 +117,4 @@ export declare class Subscriptions {
140
117
  * GET /openmeter/subscriptions/{subscriptionId}/addons/{subscriptionAddonId}
141
118
  */
142
119
  getAddon(request: GetSubscriptionAddonRequest, options?: RequestOptions): Promise<GetSubscriptionAddonResponse>;
143
- /**
144
- * Update subscription addon
145
- *
146
- * Update a subscription add-on. Only the quantity is mutable; the timing controls
147
- * when the new quantity takes effect. A new entry is appended to the add-on's
148
- * timeline.
149
- *
150
- * PATCH /openmeter/subscriptions/{subscriptionId}/addons/{subscriptionAddonId}
151
- */
152
- updateAddon(request: UpdateSubscriptionAddonRequest, options?: RequestOptions): Promise<UpdateSubscriptionAddonResponse>;
153
120
  }
@@ -1,7 +1,7 @@
1
1
  // Code generated by @openmeter/typespec-typescript. DO NOT EDIT.
2
2
  import { unwrap } from '../lib/types.js';
3
3
  import { paginatePages } from '../lib/paginate.js';
4
- import { createSubscription, listSubscriptions, getSubscription, cancelSubscription, unscheduleCancelation, unscheduleSubscription, restoreSubscription, changeSubscription, migrateSubscription, editSubscription, createSubscriptionAddon, listSubscriptionAddons, getSubscriptionAddon, updateSubscriptionAddon, } from '../funcs/subscriptions.js';
4
+ import { createSubscription, listSubscriptions, getSubscription, cancelSubscription, unscheduleCancelation, changeSubscription, migrateSubscription, editSubscription, createSubscriptionAddon, listSubscriptionAddons, getSubscriptionAddon, } from '../funcs/subscriptions.js';
5
5
  export class Subscriptions {
6
6
  _client;
7
7
  constructor(_client) {
@@ -62,33 +62,6 @@ export class Subscriptions {
62
62
  async unscheduleCancelation(request, options) {
63
63
  return unwrap(await unscheduleCancelation(this._client, request, options));
64
64
  }
65
- /**
66
- * Unschedule subscription
67
- *
68
- * Deletes a scheduled subscription that has not yet become active, removing it and
69
- * resolving any scheduling conflict it was holding. This is distinct from
70
- * canceling: cancel ends a running subscription, whereas unscheduling removes a
71
- * not-yet-active one. Only scheduled subscriptions can be unscheduled;
72
- * unscheduling an active or already-started subscription is rejected.
73
- *
74
- * POST /openmeter/subscriptions/{subscriptionId}/unschedule
75
- */
76
- async unschedule(request, options) {
77
- return unwrap(await unscheduleSubscription(this._client, request, options));
78
- }
79
- /**
80
- * Restore subscription
81
- *
82
- * Restores the subscription by deleting any later-scheduled successor
83
- * subscriptions and continuing this one indefinitely. This is the inverse of a
84
- * future-dated change, which schedules a successor. Restore is not available when
85
- * multi-subscription is enabled.
86
- *
87
- * POST /openmeter/subscriptions/{subscriptionId}/restore
88
- */
89
- async restore(request, options) {
90
- return unwrap(await restoreSubscription(this._client, request, options));
91
- }
92
65
  /**
93
66
  * Change subscription
94
67
  *
@@ -172,16 +145,4 @@ export class Subscriptions {
172
145
  async getAddon(request, options) {
173
146
  return unwrap(await getSubscriptionAddon(this._client, request, options));
174
147
  }
175
- /**
176
- * Update subscription addon
177
- *
178
- * Update a subscription add-on. Only the quantity is mutable; the timing controls
179
- * when the new quantity takes effect. A new entry is appended to the add-on's
180
- * timeline.
181
- *
182
- * PATCH /openmeter/subscriptions/{subscriptionId}/addons/{subscriptionAddonId}
183
- */
184
- async updateAddon(request, options) {
185
- return unwrap(await updateSubscriptionAddon(this._client, request, options));
186
- }
187
148
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmeter/client",
3
- "version": "1.0.0-beta-5a1510d62b46",
3
+ "version": "1.0.0-beta-925631a8a221",
4
4
  "description": "Official TypeScript SDK for the OpenMeter API — usage metering and billing",
5
5
  "keywords": [
6
6
  "openmeter",