Skip to content

Commit e4ad78d

Browse files
feat(api): update via SDK Studio
1 parent 171423f commit e4ad78d

File tree

3 files changed

+26
-16
lines changed

3 files changed

+26
-16
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: 14
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-d2dfee8d576aa73f6075e6da61228571cb2e844b969a06067e34e43eb7898554.yml
3-
openapi_spec_hash: 9981744bf9c27426cdf721f7b27cf093
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-aec3b879aa30638614c6217afbafcf737f37ac78ef3a51186dbf7b6fbf9e91ef.yml
3+
openapi_spec_hash: 0aba27c707612e35b4068b1d748dc379
44
config_hash: a085d1b39ddf0b26ee798501a9f47e20

src/resources/apps/deployments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export namespace DeploymentFollowResponse {
156156
/**
157157
* Time the log entry was produced.
158158
*/
159-
timestamp?: string;
159+
timestamp: string;
160160
}
161161
}
162162

src/resources/deployments.ts

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export namespace DeploymentFollowResponse {
173173
/**
174174
* Time the log entry was produced.
175175
*/
176-
timestamp?: string;
176+
timestamp: string;
177177
}
178178

179179
/**
@@ -193,7 +193,7 @@ export namespace DeploymentFollowResponse {
193193
/**
194194
* Time the state was reported.
195195
*/
196-
timestamp?: string;
196+
timestamp: string;
197197
}
198198

199199
export namespace DeploymentStateEvent {
@@ -250,44 +250,54 @@ export namespace DeploymentFollowResponse {
250250
/**
251251
* Unique identifier for the app version
252252
*/
253-
id?: string;
253+
id: string;
254254

255255
/**
256256
* Name of the application
257257
*/
258-
app_name?: string;
258+
app_name: string;
259259

260260
/**
261-
* Environment variables configured for this app version
261+
* Event type identifier (always "app_version_summary").
262262
*/
263-
env_vars?: Record<string, string>;
263+
event: 'app_version_summary';
264264

265265
/**
266-
* Event type identifier (always "app_version_summary").
266+
* Deployment region code
267267
*/
268-
event?: 'app_version_summary';
268+
region: string;
269269

270270
/**
271-
* Deployment region code
271+
* Time the state was reported.
272272
*/
273-
region?: string;
273+
timestamp: string;
274274

275275
/**
276276
* Version label for the application
277277
*/
278-
version?: string;
278+
version: string;
279+
280+
/**
281+
* Environment variables configured for this app version
282+
*/
283+
env_vars?: Record<string, string>;
279284
}
280285

281286
/**
282287
* An error event from the application.
283288
*/
284289
export interface ErrorEvent {
285-
error?: ErrorEvent.Error;
290+
error: ErrorEvent.Error;
286291

287292
/**
288293
* Event type identifier (always "error").
289294
*/
290-
event?: 'error';
295+
event: 'error';
296+
297+
/**
298+
* Time the error occurred.
299+
*/
300+
timestamp: string;
291301
}
292302

293303
export namespace ErrorEvent {

0 commit comments

Comments
 (0)