Skip to content

Commit

Permalink
chore: speakeasy sdk regeneration - Generate (#21)
Browse files Browse the repository at this point in the history
* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.19.6

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.19.6

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.19.7

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.19.7

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.20.0

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.20.0

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.20.1

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.20.2

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.21.3

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.21.4

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.22.1

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.22.2

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.23.1

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.25.1

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.26.2

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.26.4

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.26.5

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.27.0

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.27.0

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.29.0

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.29.1

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.29.2

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.30.0

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.30.1

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.31.1

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.32.0

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.33.2

* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.34.0

---------

Co-authored-by: speakeasybot <[email protected]>
  • Loading branch information
github-actions[bot] and speakeasybot authored May 18, 2023
1 parent a69c1bd commit 8354e84
Show file tree
Hide file tree
Showing 37 changed files with 4,580 additions and 2,346 deletions.
184 changes: 90 additions & 94 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,25 @@ yarn add <UNSET>

<!-- Start SDK Example Usage -->
```typescript
import {
AddEnvironmentVariableToContextRequest,
AddEnvironmentVariableToContextResponse
} from "circleci-v2-sdk/dist/sdk/models/operations";

import { AxiosError } from "axios";
import { Circleci } from "circleci-v2-sdk";
import { AddEnvironmentVariableToContextResponse } from "circleci-v2-sdk/dist/sdk/models/operations";

const sdk = new Circleci({
security: {
apiKeyHeader: "YOUR_API_KEY_HERE",
},
});

const req: AddEnvironmentVariableToContextRequest = {
sdk.context.addEnvironmentVariableToContext({
requestBody: {
value: "some-secret-value",
},
contextId: "89bd9d8d-69a6-474e-8f46-7cc8796ed151",
envVarName: "deserunt",
};

sdk.context.addEnvironmentVariableToContext(req).then((res: AddEnvironmentVariableToContextResponse | AxiosError) => {
// handle response
}).then((res: AddEnvironmentVariableToContextResponse) => {
if (res.statusCode == 200) {
// handle response
}
});
```
<!-- End SDK Example Usage -->
Expand All @@ -51,89 +47,89 @@ sdk.context.addEnvironmentVariableToContext(req).then((res: AddEnvironmentVariab
## Available Resources and Operations


### context

* `addEnvironmentVariableToContext` - Add or update an environment variable
* `createContext` - Create a new context
* `deleteContext` - Delete a context
* `deleteEnvironmentVariableFromContext` - Remove an environment variable
* `getContext` - Get a context
* `listContexts` - List contexts
* `listEnvironmentVariablesFromContext` - List environment variables

### insights

* `getAllInsightsBranches` - Get all branches for a project
* `getFlakyTests` - Get flaky tests for a project
* `getJobTimeseries` - Job timeseries data
* `getOrgSummaryData` - Get summary metrics with trends for the entire org, and for each project.
* `getProjectWorkflowJobMetrics` - Get summary metrics for a project workflow's jobs.
* `getProjectWorkflowMetrics` - Get summary metrics for a project's workflows
* `getProjectWorkflowRuns` - Get recent runs of a workflow
* `getProjectWorkflowTestMetrics` - Get test metrics for a project's workflows
* `getProjectWorkflowsPageData` - Get summary metrics and trends for a project across it's workflows and branches
* `getWorkflowSummary` - Get metrics and trends for workflows

### job

* `cancelJob` - Cancel job
* `getJobArtifacts` - Get a job's artifacts
* `getJobDetails` - Get job details
* `getTests` - Get test metadata

### pipeline

* `continuePipeline` - Continue a pipeline
* `getPipelineById` - Get a pipeline by ID
* `getPipelineByNumber` - Get a pipeline by pipeline number
* `getPipelineConfigById` - Get a pipeline's configuration
* `listMyPipelines` - Get your pipelines
* `listPipelines` - Get a list of pipelines
* `listPipelinesForProject` - Get all pipelines
* `listWorkflowsByPipelineId` - Get a pipeline's workflows
* `triggerPipeline` - Trigger a new pipeline

### project

* `createCheckoutKey` - Create a new checkout key
* `createEnvVar` - Create an environment variable
* `deleteCheckoutKey` - Delete a checkout key
* `deleteEnvVar` - Delete an environment variable
* `getCheckoutKey` - Get a checkout key
* `getEnvVar` - Get a masked environment variable
* `getProjectBySlug` - Get a project
* `listCheckoutKeys` - Get all checkout keys
* `listEnvVars` - List all environment variables

### schedule

* `createSchedule` - Create a schedule
* `deleteScheduleById` - Delete a schedule
* `getScheduleById` - Get a schedule
* `listSchedulesForProject` - Get all schedules
* `updateSchedule` - Update a schedule

### user

* `getCollaborations` - Collaborations
* `getCurrentUser` - User Information
* `getUser` - User Information

### webhook

* `createWebhook` - Create a webhook
* `deleteWebhook` - Delete a webhook
* `getWebhookById` - Get a webhook
* `getWebhooks` - List webhooks
* `updateWebhook` - Update a webhook

### workflow

* `approvePendingApprovalJobById` - Approve a job
* `cancelWorkflow` - Cancel a workflow
* `getWorkflowById` - Get a workflow
* `listWorkflowJobs` - Get a workflow's jobs
* `rerunWorkflow` - Rerun a workflow
### [context](docs/context/README.md)

* [addEnvironmentVariableToContext](docs/context/README.md#addenvironmentvariabletocontext) - Add or update an environment variable
* [createContext](docs/context/README.md#createcontext) - Create a new context
* [deleteContext](docs/context/README.md#deletecontext) - Delete a context
* [deleteEnvironmentVariableFromContext](docs/context/README.md#deleteenvironmentvariablefromcontext) - Remove an environment variable
* [getContext](docs/context/README.md#getcontext) - Get a context
* [listContexts](docs/context/README.md#listcontexts) - List contexts
* [listEnvironmentVariablesFromContext](docs/context/README.md#listenvironmentvariablesfromcontext) - List environment variables

### [insights](docs/insights/README.md)

* [getAllInsightsBranches](docs/insights/README.md#getallinsightsbranches) - Get all branches for a project
* [getFlakyTests](docs/insights/README.md#getflakytests) - Get flaky tests for a project
* [getJobTimeseries](docs/insights/README.md#getjobtimeseries) - Job timeseries data
* [getOrgSummaryData](docs/insights/README.md#getorgsummarydata) - Get summary metrics with trends for the entire org, and for each project.
* [getProjectWorkflowJobMetrics](docs/insights/README.md#getprojectworkflowjobmetrics) - Get summary metrics for a project workflow's jobs.
* [getProjectWorkflowMetrics](docs/insights/README.md#getprojectworkflowmetrics) - Get summary metrics for a project's workflows
* [getProjectWorkflowRuns](docs/insights/README.md#getprojectworkflowruns) - Get recent runs of a workflow
* [getProjectWorkflowTestMetrics](docs/insights/README.md#getprojectworkflowtestmetrics) - Get test metrics for a project's workflows
* [getProjectWorkflowsPageData](docs/insights/README.md#getprojectworkflowspagedata) - Get summary metrics and trends for a project across it's workflows and branches
* [getWorkflowSummary](docs/insights/README.md#getworkflowsummary) - Get metrics and trends for workflows

### [job](docs/job/README.md)

* [cancelJob](docs/job/README.md#canceljob) - Cancel job
* [getJobArtifacts](docs/job/README.md#getjobartifacts) - Get a job's artifacts
* [getJobDetails](docs/job/README.md#getjobdetails) - Get job details
* [getTests](docs/job/README.md#gettests) - Get test metadata

### [pipeline](docs/pipeline/README.md)

* [continuePipeline](docs/pipeline/README.md#continuepipeline) - Continue a pipeline
* [getPipelineById](docs/pipeline/README.md#getpipelinebyid) - Get a pipeline by ID
* [getPipelineByNumber](docs/pipeline/README.md#getpipelinebynumber) - Get a pipeline by pipeline number
* [getPipelineConfigById](docs/pipeline/README.md#getpipelineconfigbyid) - Get a pipeline's configuration
* [listMyPipelines](docs/pipeline/README.md#listmypipelines) - Get your pipelines
* [listPipelines](docs/pipeline/README.md#listpipelines) - Get a list of pipelines
* [listPipelinesForProject](docs/pipeline/README.md#listpipelinesforproject) - Get all pipelines
* [listWorkflowsByPipelineId](docs/pipeline/README.md#listworkflowsbypipelineid) - Get a pipeline's workflows
* [triggerPipeline](docs/pipeline/README.md#triggerpipeline) - Trigger a new pipeline

### [project](docs/project/README.md)

* [createCheckoutKey](docs/project/README.md#createcheckoutkey) - Create a new checkout key
* [createEnvVar](docs/project/README.md#createenvvar) - Create an environment variable
* [deleteCheckoutKey](docs/project/README.md#deletecheckoutkey) - Delete a checkout key
* [deleteEnvVar](docs/project/README.md#deleteenvvar) - Delete an environment variable
* [getCheckoutKey](docs/project/README.md#getcheckoutkey) - Get a checkout key
* [getEnvVar](docs/project/README.md#getenvvar) - Get a masked environment variable
* [getProjectBySlug](docs/project/README.md#getprojectbyslug) - Get a project
* [listCheckoutKeys](docs/project/README.md#listcheckoutkeys) - Get all checkout keys
* [listEnvVars](docs/project/README.md#listenvvars) - List all environment variables

### [schedule](docs/schedule/README.md)

* [createSchedule](docs/schedule/README.md#createschedule) - Create a schedule
* [deleteScheduleById](docs/schedule/README.md#deleteschedulebyid) - Delete a schedule
* [getScheduleById](docs/schedule/README.md#getschedulebyid) - Get a schedule
* [listSchedulesForProject](docs/schedule/README.md#listschedulesforproject) - Get all schedules
* [updateSchedule](docs/schedule/README.md#updateschedule) - Update a schedule

### [user](docs/user/README.md)

* [getCollaborations](docs/user/README.md#getcollaborations) - Collaborations
* [getCurrentUser](docs/user/README.md#getcurrentuser) - User Information
* [getUser](docs/user/README.md#getuser) - User Information

### [webhook](docs/webhook/README.md)

* [createWebhook](docs/webhook/README.md#createwebhook) - Create a webhook
* [deleteWebhook](docs/webhook/README.md#deletewebhook) - Delete a webhook
* [getWebhookById](docs/webhook/README.md#getwebhookbyid) - Get a webhook
* [getWebhooks](docs/webhook/README.md#getwebhooks) - List webhooks
* [updateWebhook](docs/webhook/README.md#updatewebhook) - Update a webhook

### [workflow](docs/workflow/README.md)

* [approvePendingApprovalJobById](docs/workflow/README.md#approvependingapprovaljobbyid) - Approve a job
* [cancelWorkflow](docs/workflow/README.md#cancelworkflow) - Cancel a workflow
* [getWorkflowById](docs/workflow/README.md#getworkflowbyid) - Get a workflow
* [listWorkflowJobs](docs/workflow/README.md#listworkflowjobs) - Get a workflow's jobs
* [rerunWorkflow](docs/workflow/README.md#rerunworkflow) - Rerun a workflow
<!-- End SDK Available Operations -->

### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)
Loading

0 comments on commit 8354e84

Please sign in to comment.