Skip to content

Commit e416790

Browse files
feat(api): api update
1 parent c494aed commit e416790

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 126
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-9f1a41612765cb08d100b2c9e85080e93306e8d0942d535f16052c3eb18d9b8b.yml
3-
openapi_spec_hash: 6dd28f36adc7e7d6a9245585eaf9b9c1
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-931771ff4ab183044ee50ce43ea794ac0a15bfafbaf7df61ac0344af3ff08944.yml
3+
openapi_spec_hash: 71371804e373f662585284bf5d93cc62
44
config_hash: bcf82bddb691f6be773ac6cae8c03b9a

src/resources/alerts.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,13 +224,19 @@ export interface Alert {
224224
| 'credit_balance_dropped'
225225
| 'credit_balance_recovered'
226226
| 'usage_exceeded'
227-
| 'cost_exceeded';
227+
| 'cost_exceeded'
228+
| 'license_balance_threshold_reached';
228229

229230
/**
230231
* The current status of the alert. This field is only present for credit balance
231232
* alerts.
232233
*/
233234
balance_alert_status?: Array<Alert.BalanceAlertStatus> | null;
235+
236+
/**
237+
* Minified license type for alert serialization.
238+
*/
239+
license_type?: Alert.LicenseType | null;
234240
}
235241

236242
export namespace Alert {
@@ -273,6 +279,13 @@ export namespace Alert {
273279
*/
274280
threshold_value: number;
275281
}
282+
283+
/**
284+
* Minified license type for alert serialization.
285+
*/
286+
export interface LicenseType {
287+
id: string;
288+
}
276289
}
277290

278291
/**

0 commit comments

Comments
 (0)