From 0d3e429be4a81f869df713a5938ef512afb9be9a Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 15 Feb 2024 00:02:48 +0000 Subject: [PATCH] daily update 20240215T000248 --- client/services/InsightsService.ts | 15 ++++++++++++++- client/services/PipelineService.ts | 2 +- swagger.json | 25 +++++++++++++++++++++++-- 3 files changed, 38 insertions(+), 4 deletions(-) diff --git a/client/services/InsightsService.ts b/client/services/InsightsService.ts index c325fda..e0ad40d 100644 --- a/client/services/InsightsService.ts +++ b/client/services/InsightsService.ts @@ -520,7 +520,20 @@ export class InsightsService { * The name of a workflow. If not passed we will scope the API call to the project. */ workflowName?: string; - }): CancelablePromise { + }): CancelablePromise<{ + /** + * A list of all the branches for a given project. + */ + branches: Array; + /** + * The unique ID of the organization + */ + org_id: any; + /** + * The unique ID of the project + */ + project_id: any; + }> { return __request(OpenAPI, { method: "GET", url: "/insights/{project-slug}/branches", diff --git a/client/services/PipelineService.ts b/client/services/PipelineService.ts index ca00d5b..84031f4 100644 --- a/client/services/PipelineService.ts +++ b/client/services/PipelineService.ts @@ -165,7 +165,7 @@ export class PipelineService { } /** * Continue a pipeline - * Continue a pipeline from the setup phase. + * Continue a pipeline from the setup phase. For information on using pipeline parameters with dynamic configuration, see the [Pipeline values and parameters](https://circleci.com/docs/pipeline-variables/#pipeline-parameters-and-dynamic-configuration) docs. * @returns any A confirmation message. * @throws ApiError */ diff --git a/swagger.json b/swagger.json index 16ab897..6bf61d6 100644 --- a/swagger.json +++ b/swagger.json @@ -2869,7 +2869,28 @@ "200": { "content": { "application/json": { - "schema": {} + "schema": { + "description": "Project branches response.", + "properties": { + "branches": { + "description": "A list of all the branches for a given project.", + "items": { + "description": "The VCS branch of a workflow's trigger.", + "example": "main", + "type": "string" + }, + "type": "array" + }, + "org_id": { + "description": "The unique ID of the organization" + }, + "project_id": { + "description": "The unique ID of the project" + } + }, + "required": ["org_id", "project_id", "branches"], + "type": "object" + } } }, "description": "A list of branches for a project" @@ -5578,7 +5599,7 @@ }, "/pipeline/continue": { "post": { - "description": "Continue a pipeline from the setup phase.", + "description": "Continue a pipeline from the setup phase. For information on using pipeline parameters with dynamic configuration, see the [Pipeline values and parameters](https://circleci.com/docs/pipeline-variables/#pipeline-parameters-and-dynamic-configuration) docs.", "operationId": "continuePipeline", "requestBody": { "content": {