Skip to content

Commit 90fa2a8

Browse files
feat(api): add accessToken field to runners response types
1 parent dd096dc commit 90fa2a8

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 193
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod/gitpod-4870c4a1239ec91e7208abe28cd87290284b739c343900f463830afea4689849.yml
3-
openapi_spec_hash: 210df8ac2d6594e968e9488a92264ba0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod/gitpod-9011dcb1591f4dec81232db8d8d4dff1962ff419990c80413a132166a98d5011.yml
3+
openapi_spec_hash: 569a080670e5f7cb2ce42739661cbb45
44
config_hash: 173a6e0a8069a38a997548c7f5f8a5e3

src/resources/runners/runners.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,11 @@ export interface UpdateWindow {
852852
export interface RunnerCreateResponse {
853853
runner: Runner;
854854

855+
/**
856+
* @deprecated deprecated, will be removed. Use exchange_token instead.
857+
*/
858+
accessToken?: string;
859+
855860
/**
856861
* exchange_token is a one-time use token that should be exchanged by the runner
857862
* for an access token, using the IdentityService.ExchangeToken rpc. The token
@@ -970,6 +975,11 @@ export interface RunnerCreateLogsTokenResponse {
970975
}
971976

972977
export interface RunnerCreateRunnerTokenResponse {
978+
/**
979+
* @deprecated deprecated, will be removed. Use exchange_token instead.
980+
*/
981+
accessToken?: string;
982+
973983
/**
974984
* exchange_token is a one-time use token that should be exchanged by the runner
975985
* for an access token, using the IdentityService.ExchangeToken rpc. The token

0 commit comments

Comments
 (0)