File tree 11 files changed +28
-28
lines changed
11 files changed +28
-28
lines changed Original file line number Diff line number Diff line change 1
1
configured_endpoints : 111
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-f6598ab5d6827f66b642201769e92590ea32af84ebbf24b18cc32b33dee5107e .yml
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-410f762771ac58738f3d165b19c5e2e9377ebbfa3f090f041e269142cfa2e7f4 .yml
Original file line number Diff line number Diff line change @@ -501,11 +501,11 @@ export interface ServiceStatus {
501
501
}
502
502
503
503
export interface ServiceCreateResponse {
504
- service ? : Service ;
504
+ service : Service ;
505
505
}
506
506
507
507
export interface ServiceRetrieveResponse {
508
- service ? : Service ;
508
+ service : Service ;
509
509
}
510
510
511
511
export type ServiceUpdateResponse = unknown ;
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ export class Executions extends APIResource {
108
108
}
109
109
110
110
export interface ExecutionRetrieveResponse {
111
- taskExecution ? : Shared . TaskExecution ;
111
+ taskExecution : Shared . TaskExecution ;
112
112
}
113
113
114
114
export type ExecutionStopResponse = unknown ;
Original file line number Diff line number Diff line change @@ -218,19 +218,19 @@ export class Tasks extends APIResource {
218
218
}
219
219
220
220
export interface TaskCreateResponse {
221
- task ? : Shared . Task ;
221
+ task : Shared . Task ;
222
222
}
223
223
224
224
export interface TaskRetrieveResponse {
225
- task ? : Shared . Task ;
225
+ task : Shared . Task ;
226
226
}
227
227
228
228
export type TaskUpdateResponse = unknown ;
229
229
230
230
export type TaskDeleteResponse = unknown ;
231
231
232
232
export interface TaskStartResponse {
233
- taskExecution ? : Shared . TaskExecution ;
233
+ taskExecution : Shared . TaskExecution ;
234
234
}
235
235
236
236
export interface TaskCreateParams {
Original file line number Diff line number Diff line change @@ -1509,14 +1509,14 @@ export interface EnvironmentCreateResponse {
1509
1509
/**
1510
1510
* +resource get environment
1511
1511
*/
1512
- environment ? : Environment ;
1512
+ environment : Environment ;
1513
1513
}
1514
1514
1515
1515
export interface EnvironmentRetrieveResponse {
1516
1516
/**
1517
1517
* +resource get environment
1518
1518
*/
1519
- environment ? : Environment ;
1519
+ environment : Environment ;
1520
1520
}
1521
1521
1522
1522
export type EnvironmentUpdateResponse = unknown ;
@@ -1527,14 +1527,14 @@ export interface EnvironmentCreateFromProjectResponse {
1527
1527
/**
1528
1528
* +resource get environment
1529
1529
*/
1530
- environment ? : Environment ;
1530
+ environment : Environment ;
1531
1531
}
1532
1532
1533
1533
export interface EnvironmentCreateLogsTokenResponse {
1534
1534
/**
1535
1535
* access_token is the token that can be used to access the logs of the environment
1536
1536
*/
1537
- accessToken ? : string ;
1537
+ accessToken : string ;
1538
1538
}
1539
1539
1540
1540
export type EnvironmentMarkActiveResponse = unknown ;
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export class HostAuthenticationTokens extends APIResource {
71
71
export type HostAuthenticationTokensTokensPage = TokensPage < HostAuthenticationToken > ;
72
72
73
73
export interface HostAuthenticationToken {
74
- id ? : string ;
74
+ id : string ;
75
75
76
76
/**
77
77
* A Timestamp represents a point in time independent of any time zone or local
@@ -180,11 +180,11 @@ export type HostAuthenticationTokenSource =
180
180
| 'HOST_AUTHENTICATION_TOKEN_SOURCE_PAT' ;
181
181
182
182
export interface HostAuthenticationTokenCreateResponse {
183
- token ? : HostAuthenticationToken ;
183
+ token : HostAuthenticationToken ;
184
184
}
185
185
186
186
export interface HostAuthenticationTokenRetrieveResponse {
187
- token ? : HostAuthenticationToken ;
187
+ token : HostAuthenticationToken ;
188
188
}
189
189
190
190
export type HostAuthenticationTokenUpdateResponse = unknown ;
Original file line number Diff line number Diff line change @@ -57,11 +57,11 @@ export interface RunnerPolicy {
57
57
export type RunnerRole = 'RUNNER_ROLE_UNSPECIFIED' | 'RUNNER_ROLE_ADMIN' | 'RUNNER_ROLE_USER' ;
58
58
59
59
export interface PolicyCreateResponse {
60
- policy ? : RunnerPolicy ;
60
+ policy : RunnerPolicy ;
61
61
}
62
62
63
63
export interface PolicyUpdateResponse {
64
- policy ? : RunnerPolicy ;
64
+ policy : RunnerPolicy ;
65
65
}
66
66
67
67
export type PolicyDeleteResponse = unknown ;
Original file line number Diff line number Diff line change @@ -550,6 +550,8 @@ export interface RunnerStatus {
550
550
}
551
551
552
552
export interface RunnerCreateResponse {
553
+ runner : Runner ;
554
+
553
555
/**
554
556
* deprecated, will be removed. Use exchange_token instead.
555
557
*/
@@ -561,12 +563,10 @@ export interface RunnerCreateResponse {
561
563
* expires after 24 hours.
562
564
*/
563
565
exchangeToken ?: string ;
564
-
565
- runner ?: Runner ;
566
566
}
567
567
568
568
export interface RunnerRetrieveResponse {
569
- runner ? : Runner ;
569
+ runner : Runner ;
570
570
}
571
571
572
572
export type RunnerUpdateResponse = unknown ;
Original file line number Diff line number Diff line change @@ -37,6 +37,12 @@ export interface EnvironmentClass {
37
37
*/
38
38
id : string ;
39
39
40
+ /**
41
+ * runner_id is the unique identifier of the runner the environment class belongs
42
+ * to
43
+ */
44
+ runnerId : string ;
45
+
40
46
/**
41
47
* configuration describes the configuration of the environment class
42
48
*/
@@ -57,12 +63,6 @@ export interface EnvironmentClass {
57
63
* environments.
58
64
*/
59
65
enabled ?: boolean ;
60
-
61
- /**
62
- * runner_id is the unique identifier of the runner the environment class belongs
63
- * to
64
- */
65
- runnerId ?: string ;
66
66
}
67
67
68
68
/**
@@ -146,7 +146,7 @@ export interface Task {
146
146
}
147
147
148
148
export interface TaskExecution {
149
- id ? : string ;
149
+ id : string ;
150
150
151
151
metadata ?: TaskExecutionMetadata ;
152
152
Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ export interface PersonalAccessToken {
379
379
export type PatDeleteResponse = unknown ;
380
380
381
381
export interface PatGetResponse {
382
- pat ? : PersonalAccessToken ;
382
+ pat : PersonalAccessToken ;
383
383
}
384
384
385
385
export interface PatListParams extends PersonalAccessTokensPageParams {
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ export interface User {
202
202
}
203
203
204
204
export interface UserGetAuthenticatedUserResponse {
205
- user ? : User ;
205
+ user : User ;
206
206
}
207
207
208
208
export type UserSetSuspendedResponse = unknown ;
You can’t perform that action at this time.
0 commit comments