File tree Expand file tree Collapse file tree 6 files changed +30
-3
lines changed
Expand file tree Collapse file tree 6 files changed +30
-3
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 160
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-cad9422301ea573f7fdbcf5047e421a0a6e963468a9d8f464e47ed1800a8fc75 .yml
3- openapi_spec_hash : b2e5072d4659a5c4fb5d2e8916388af9
4- config_hash : d3267594264bfb76d2ee7e881d5f8a5a
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-47577991d03c0dab9d0f219bd3f6cf8cb3ea386a919a10c949318091aca5b10f .yml
3+ openapi_spec_hash : ad236fd154210c60d9aca150a3fd51bc
4+ config_hash : f36d04c8359fe8baec226396a18b309e
Original file line number Diff line number Diff line change 1515- <code ><a href =" ./src/resources/shared.ts " >ResourceType</a ></code >
1616- <code ><a href =" ./src/resources/shared.ts " >RunsOn</a ></code >
1717- <code ><a href =" ./src/resources/shared.ts " >SecretRef</a ></code >
18+ - <code ><a href =" ./src/resources/shared.ts " >State</a ></code >
1819- <code ><a href =" ./src/resources/shared.ts " >Subject</a ></code >
1920- <code ><a href =" ./src/resources/shared.ts " >Task</a ></code >
2021- <code ><a href =" ./src/resources/shared.ts " >TaskExecution</a ></code >
Original file line number Diff line number Diff line change @@ -1552,6 +1552,7 @@ export declare namespace Gitpod {
15521552 export type ResourceType = API . ResourceType ;
15531553 export type RunsOn = API . RunsOn ;
15541554 export type SecretRef = API . SecretRef ;
1555+ export type State = API . State ;
15551556 export type Subject = API . Subject ;
15561557 export type Task = API . Task ;
15571558 export type TaskExecution = API . TaskExecution ;
Original file line number Diff line number Diff line change @@ -415,6 +415,11 @@ export namespace AgentCodeContext {
415415 */
416416 author ?: string ;
417417
418+ /**
419+ * Whether this is a draft pull request
420+ */
421+ draft ?: boolean ;
422+
418423 /**
419424 * Source branch name (the branch being merged from)
420425 */
@@ -425,6 +430,11 @@ export namespace AgentCodeContext {
425430 */
426431 repository ?: PullRequest . Repository ;
427432
433+ /**
434+ * Current state of the pull request
435+ */
436+ state ?: Shared . State ;
437+
428438 /**
429439 * Pull request title
430440 */
Original file line number Diff line number Diff line change @@ -918,6 +918,11 @@ export namespace RunnerParseContextURLResponse {
918918 */
919919 author ?: string ;
920920
921+ /**
922+ * Whether this is a draft pull request
923+ */
924+ draft ?: boolean ;
925+
921926 /**
922927 * Source branch name (the branch being merged from)
923928 */
@@ -928,6 +933,11 @@ export namespace RunnerParseContextURLResponse {
928933 */
929934 repository ?: PullRequest . Repository ;
930935
936+ /**
937+ * Current state of the pull request
938+ */
939+ state ?: Shared . State ;
940+
931941 /**
932942 * Pull request title
933943 */
Original file line number Diff line number Diff line change @@ -255,6 +255,11 @@ export interface SecretRef {
255255 id ?: string ;
256256}
257257
258+ /**
259+ * Current state of the pull request
260+ */
261+ export type State = 'STATE_UNSPECIFIED' | 'STATE_OPEN' | 'STATE_CLOSED' | 'STATE_MERGED' ;
262+
258263export interface Subject {
259264 /**
260265 * id is the UUID of the subject
You can’t perform that action at this time.
0 commit comments