File tree Expand file tree Collapse file tree 11 files changed +28
-28
lines changed
Expand file tree Collapse file tree 11 files changed +28
-28
lines changed Original file line number Diff line number Diff line change 11configured_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 {
501501}
502502
503503export interface ServiceCreateResponse {
504- service ? : Service ;
504+ service : Service ;
505505}
506506
507507export interface ServiceRetrieveResponse {
508- service ? : Service ;
508+ service : Service ;
509509}
510510
511511export type ServiceUpdateResponse = unknown ;
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ export class Executions extends APIResource {
108108}
109109
110110export interface ExecutionRetrieveResponse {
111- taskExecution ? : Shared . TaskExecution ;
111+ taskExecution : Shared . TaskExecution ;
112112}
113113
114114export type ExecutionStopResponse = unknown ;
Original file line number Diff line number Diff line change @@ -218,19 +218,19 @@ export class Tasks extends APIResource {
218218}
219219
220220export interface TaskCreateResponse {
221- task ? : Shared . Task ;
221+ task : Shared . Task ;
222222}
223223
224224export interface TaskRetrieveResponse {
225- task ? : Shared . Task ;
225+ task : Shared . Task ;
226226}
227227
228228export type TaskUpdateResponse = unknown ;
229229
230230export type TaskDeleteResponse = unknown ;
231231
232232export interface TaskStartResponse {
233- taskExecution ? : Shared . TaskExecution ;
233+ taskExecution : Shared . TaskExecution ;
234234}
235235
236236export interface TaskCreateParams {
Original file line number Diff line number Diff line change @@ -1509,14 +1509,14 @@ export interface EnvironmentCreateResponse {
15091509 /**
15101510 * +resource get environment
15111511 */
1512- environment ? : Environment ;
1512+ environment : Environment ;
15131513}
15141514
15151515export interface EnvironmentRetrieveResponse {
15161516 /**
15171517 * +resource get environment
15181518 */
1519- environment ? : Environment ;
1519+ environment : Environment ;
15201520}
15211521
15221522export type EnvironmentUpdateResponse = unknown ;
@@ -1527,14 +1527,14 @@ export interface EnvironmentCreateFromProjectResponse {
15271527 /**
15281528 * +resource get environment
15291529 */
1530- environment ? : Environment ;
1530+ environment : Environment ;
15311531}
15321532
15331533export interface EnvironmentCreateLogsTokenResponse {
15341534 /**
15351535 * access_token is the token that can be used to access the logs of the environment
15361536 */
1537- accessToken ? : string ;
1537+ accessToken : string ;
15381538}
15391539
15401540export type EnvironmentMarkActiveResponse = unknown ;
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export class HostAuthenticationTokens extends APIResource {
7171export type HostAuthenticationTokensTokensPage = TokensPage < HostAuthenticationToken > ;
7272
7373export interface HostAuthenticationToken {
74- id ? : string ;
74+ id : string ;
7575
7676 /**
7777 * A Timestamp represents a point in time independent of any time zone or local
@@ -180,11 +180,11 @@ export type HostAuthenticationTokenSource =
180180 | 'HOST_AUTHENTICATION_TOKEN_SOURCE_PAT' ;
181181
182182export interface HostAuthenticationTokenCreateResponse {
183- token ? : HostAuthenticationToken ;
183+ token : HostAuthenticationToken ;
184184}
185185
186186export interface HostAuthenticationTokenRetrieveResponse {
187- token ? : HostAuthenticationToken ;
187+ token : HostAuthenticationToken ;
188188}
189189
190190export type HostAuthenticationTokenUpdateResponse = unknown ;
Original file line number Diff line number Diff line change @@ -57,11 +57,11 @@ export interface RunnerPolicy {
5757export type RunnerRole = 'RUNNER_ROLE_UNSPECIFIED' | 'RUNNER_ROLE_ADMIN' | 'RUNNER_ROLE_USER' ;
5858
5959export interface PolicyCreateResponse {
60- policy ? : RunnerPolicy ;
60+ policy : RunnerPolicy ;
6161}
6262
6363export interface PolicyUpdateResponse {
64- policy ? : RunnerPolicy ;
64+ policy : RunnerPolicy ;
6565}
6666
6767export type PolicyDeleteResponse = unknown ;
Original file line number Diff line number Diff line change @@ -550,6 +550,8 @@ export interface RunnerStatus {
550550}
551551
552552export interface RunnerCreateResponse {
553+ runner : Runner ;
554+
553555 /**
554556 * deprecated, will be removed. Use exchange_token instead.
555557 */
@@ -561,12 +563,10 @@ export interface RunnerCreateResponse {
561563 * expires after 24 hours.
562564 */
563565 exchangeToken ?: string ;
564-
565- runner ?: Runner ;
566566}
567567
568568export interface RunnerRetrieveResponse {
569- runner ? : Runner ;
569+ runner : Runner ;
570570}
571571
572572export type RunnerUpdateResponse = unknown ;
Original file line number Diff line number Diff line change @@ -37,6 +37,12 @@ export interface EnvironmentClass {
3737 */
3838 id : string ;
3939
40+ /**
41+ * runner_id is the unique identifier of the runner the environment class belongs
42+ * to
43+ */
44+ runnerId : string ;
45+
4046 /**
4147 * configuration describes the configuration of the environment class
4248 */
@@ -57,12 +63,6 @@ export interface EnvironmentClass {
5763 * environments.
5864 */
5965 enabled ?: boolean ;
60-
61- /**
62- * runner_id is the unique identifier of the runner the environment class belongs
63- * to
64- */
65- runnerId ?: string ;
6666}
6767
6868/**
@@ -146,7 +146,7 @@ export interface Task {
146146}
147147
148148export interface TaskExecution {
149- id ? : string ;
149+ id : string ;
150150
151151 metadata ?: TaskExecutionMetadata ;
152152
Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ export interface PersonalAccessToken {
379379export type PatDeleteResponse = unknown ;
380380
381381export interface PatGetResponse {
382- pat ? : PersonalAccessToken ;
382+ pat : PersonalAccessToken ;
383383}
384384
385385export interface PatListParams extends PersonalAccessTokensPageParams {
You can’t perform that action at this time.
0 commit comments