Skip to content

Commit

Permalink
chore: 🐝 Update SDK - Generate (#27)
Browse files Browse the repository at this point in the history
* ci: regenerated with OpenAPI Doc v2, Speakeasy CLI 1.300.1

* chore: update dependencies

---------

Co-authored-by: speakeasybot <[email protected]>
Co-authored-by: simplesagar <[email protected]>
  • Loading branch information
3 people authored Jun 8, 2024
1 parent 61c83c8 commit 090b876
Show file tree
Hide file tree
Showing 124 changed files with 2,887 additions and 7,508 deletions.
188 changes: 104 additions & 84 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
lockVersion: 2.0.0
id: 2fe44d60-fc18-427c-9720-9c02e2f88a2a
management:
docChecksum: 700c49a96a01de446dd935a8e9ea81f5
docChecksum: c3aa03f6b5c584eb3ac2a9150779231c
docVersion: v2
speakeasyVersion: internal
generationVersion: 2.250.12
releaseVersion: 5.0.0
configChecksum: 092ffedbf7f25132155ff38454c05819
speakeasyVersion: 1.300.1
generationVersion: 2.339.1
releaseVersion: 5.1.0
configChecksum: 68a8e0f506411dc3b00d53821307b383
repoURL: https://github.com/swissknife/circleci-node.git
repoSubDirectory: .
installationURL: https://github.com/swissknife/circleci-node
published: true
features:
typescript:
core: 3.4.6
globalSecurity: 2.82.2
globalServerURLs: 2.82.1
core: 3.4.9
deprecations: 2.81.1
globalSecurity: 2.82.5
globalServerURLs: 2.82.2
generatedFiles:
- src/sdk/context.ts
- src/sdk/project.ts
- src/sdk/insights.ts
- src/sdk/user.ts
- src/sdk/oidctokenmanagement.ts
- src/sdk/usage.ts
- src/sdk/policymanagement.ts
- src/sdk/pipeline.ts
- src/sdk/project.ts
- src/sdk/job.ts
- src/sdk/schedule.ts
- src/sdk/webhook.ts
Expand Down Expand Up @@ -58,18 +60,6 @@ generatedFiles:
- src/sdk/models/operations/getcontextrestrictions.ts
- src/sdk/models/operations/listcontexts.ts
- src/sdk/models/operations/listenvironmentvariablesfromcontext.ts
- src/sdk/models/operations/createcheckoutkey.ts
- src/sdk/models/operations/createenvvar.ts
- src/sdk/models/operations/createproject.ts
- src/sdk/models/operations/deletecheckoutkey.ts
- src/sdk/models/operations/deleteenvvar.ts
- src/sdk/models/operations/getcheckoutkey.ts
- src/sdk/models/operations/getenvvar.ts
- src/sdk/models/operations/getprojectbyslug.ts
- src/sdk/models/operations/getprojectsettings.ts
- src/sdk/models/operations/listcheckoutkeys.ts
- src/sdk/models/operations/listenvvars.ts
- src/sdk/models/operations/patchprojectsettings.ts
- src/sdk/models/operations/getallinsightsbranches.ts
- src/sdk/models/operations/getflakytests.ts
- src/sdk/models/operations/getjobtimeseries.ts
Expand All @@ -89,6 +79,8 @@ generatedFiles:
- src/sdk/models/operations/getprojectclaims.ts
- src/sdk/models/operations/patchorgclaims.ts
- src/sdk/models/operations/patchprojectclaims.ts
- src/sdk/models/operations/createusageexport.ts
- src/sdk/models/operations/getusageexport.ts
- src/sdk/models/operations/createpolicybundle.ts
- src/sdk/models/operations/getdecisionlog.ts
- src/sdk/models/operations/getdecisionlogpolicybundle.ts
Expand All @@ -107,6 +99,18 @@ generatedFiles:
- src/sdk/models/operations/listpipelinesforproject.ts
- src/sdk/models/operations/listworkflowsbypipelineid.ts
- src/sdk/models/operations/triggerpipeline.ts
- src/sdk/models/operations/createcheckoutkey.ts
- src/sdk/models/operations/createenvvar.ts
- src/sdk/models/operations/createproject.ts
- src/sdk/models/operations/deletecheckoutkey.ts
- src/sdk/models/operations/deleteenvvar.ts
- src/sdk/models/operations/getcheckoutkey.ts
- src/sdk/models/operations/getenvvar.ts
- src/sdk/models/operations/getprojectbyslug.ts
- src/sdk/models/operations/getprojectsettings.ts
- src/sdk/models/operations/listcheckoutkeys.ts
- src/sdk/models/operations/listenvvars.ts
- src/sdk/models/operations/patchprojectsettings.ts
- src/sdk/models/operations/canceljob.ts
- src/sdk/models/operations/getjobartifacts.ts
- src/sdk/models/operations/getjobdetails.ts
Expand All @@ -129,16 +133,18 @@ generatedFiles:
- src/sdk/models/shared/restrictioncreated.ts
- src/sdk/models/shared/restrictiondeleted.ts
- src/sdk/models/shared/contextprojectrestrictionslist.ts
- src/sdk/models/shared/projectsettings.ts
- src/sdk/models/shared/claimresponse.ts
- src/sdk/models/shared/patchclaimsrequest.ts
- src/sdk/models/shared/usageexportjob.ts
- src/sdk/models/shared/getusageexportjobstatus.ts
- src/sdk/models/shared/bundlediff.ts
- src/sdk/models/shared/bundlepayload.ts
- src/sdk/models/shared/decisionlog.ts
- src/sdk/models/shared/decision.ts
- src/sdk/models/shared/violation.ts
- src/sdk/models/shared/policy.ts
- src/sdk/models/shared/decisionsettings.ts
- src/sdk/models/shared/projectsettings.ts
- src/sdk/models/shared/security.ts
- src/sdk/models/shared/schemebasicauth.ts
- src/sdk/models/errors/index.ts
Expand Down Expand Up @@ -187,66 +193,8 @@ generatedFiles:
- docs/sdk/models/operations/items.md
- docs/sdk/models/operations/listenvironmentvariablesfromcontextresponsebody.md
- docs/sdk/models/operations/listenvironmentvariablesfromcontextresponse.md
- docs/sdk/models/operations/checkoutkeyinputtype.md
- docs/sdk/models/operations/createcheckoutkeycheckoutkeyinput.md
- docs/sdk/models/operations/createcheckoutkeyrequest.md
- docs/sdk/models/operations/createcheckoutkeyresponsebody.md
- docs/sdk/models/operations/checkoutkeytype.md
- docs/sdk/models/operations/createcheckoutkeycheckoutkey.md
- docs/sdk/models/operations/createcheckoutkeyresponse.md
- docs/sdk/models/operations/createenvvarenvironmentvariable.md
- docs/sdk/models/operations/createenvvarrequest.md
- docs/sdk/models/operations/createenvvarresponsebody.md
- docs/sdk/models/operations/createenvvarprojectenvironmentvariable.md
- docs/sdk/models/operations/createenvvarresponse.md
- docs/sdk/models/operations/createprojectrequest.md
- docs/sdk/models/operations/createprojectprojectresponse404responsebody.md
- docs/sdk/models/operations/createprojectresponsebody.md
- docs/sdk/models/operations/createprojectresponse.md
- docs/sdk/models/operations/deletecheckoutkeyrequest.md
- docs/sdk/models/operations/deletecheckoutkeyresponsebody.md
- docs/sdk/models/operations/deletecheckoutkeymessageresponse.md
- docs/sdk/models/operations/deletecheckoutkeyresponse.md
- docs/sdk/models/operations/deleteenvvarrequest.md
- docs/sdk/models/operations/deleteenvvarresponsebody.md
- docs/sdk/models/operations/deleteenvvarmessageresponse.md
- docs/sdk/models/operations/deleteenvvarresponse.md
- docs/sdk/models/operations/getcheckoutkeyrequest.md
- docs/sdk/models/operations/getcheckoutkeyresponsebody.md
- docs/sdk/models/operations/getcheckoutkeycheckoutkeytype.md
- docs/sdk/models/operations/getcheckoutkeycheckoutkey.md
- docs/sdk/models/operations/getcheckoutkeyresponse.md
- docs/sdk/models/operations/getenvvarrequest.md
- docs/sdk/models/operations/getenvvarresponsebody.md
- docs/sdk/models/operations/getenvvarenvironmentvariable.md
- docs/sdk/models/operations/getenvvarresponse.md
- docs/sdk/models/operations/getprojectbyslugrequest.md
- docs/sdk/models/operations/getprojectbyslugresponsebody.md
- docs/sdk/models/operations/provider.md
- docs/sdk/models/operations/vcsinfo.md
- docs/sdk/models/operations/getprojectbyslugproject.md
- docs/sdk/models/operations/getprojectbyslugresponse.md
- docs/sdk/models/operations/getprojectsettingsrequest.md
- docs/sdk/models/operations/getprojectsettingsresponsebody.md
- docs/sdk/models/operations/getprojectsettingsresponse.md
- docs/sdk/models/operations/digest.md
- docs/sdk/models/operations/listcheckoutkeysrequest.md
- docs/sdk/models/operations/listcheckoutkeysresponsebody.md
- docs/sdk/models/operations/listcheckoutkeyscheckoutkeytype.md
- docs/sdk/models/operations/checkoutkey.md
- docs/sdk/models/operations/listcheckoutkeyscheckoutkeylistresponse.md
- docs/sdk/models/operations/listcheckoutkeysresponse.md
- docs/sdk/models/operations/listenvvarsrequest.md
- docs/sdk/models/operations/listenvvarsresponsebody.md
- docs/sdk/models/operations/environmentvariable.md
- docs/sdk/models/operations/listenvvarsenvironmentvariablelistresponse.md
- docs/sdk/models/operations/listenvvarsresponse.md
- docs/sdk/models/operations/patchprojectsettingsrequest.md
- docs/sdk/models/operations/patchprojectsettingsprojectresponse422responsebody.md
- docs/sdk/models/operations/patchprojectsettingsprojectresponsebody.md
- docs/sdk/models/operations/patchprojectsettingsresponsebody.md
- docs/sdk/models/operations/patchprojectsettingsresponse.md
- docs/sdk/models/operations/getallinsightsbranchesrequest.md
- docs/sdk/models/operations/getallinsightsbranchesinsightsresponsebody.md
- docs/sdk/models/operations/getallinsightsbranchesresponsebody.md
- docs/sdk/models/operations/getallinsightsbranchesresponse.md
- docs/sdk/models/operations/getflakytestsrequest.md
Expand Down Expand Up @@ -355,6 +303,13 @@ generatedFiles:
- docs/sdk/models/operations/patchprojectclaimsrequest.md
- docs/sdk/models/operations/patchprojectclaimsresponsebody.md
- docs/sdk/models/operations/patchprojectclaimsresponse.md
- docs/sdk/models/operations/createusageexportrequestbody.md
- docs/sdk/models/operations/createusageexportrequest.md
- docs/sdk/models/operations/createusageexportresponsebody.md
- docs/sdk/models/operations/createusageexportresponse.md
- docs/sdk/models/operations/getusageexportrequest.md
- docs/sdk/models/operations/getusageexportresponsebody.md
- docs/sdk/models/operations/getusageexportresponse.md
- docs/sdk/models/operations/createpolicybundlerequest.md
- docs/sdk/models/operations/createpolicybundlepolicymanagementresponse413responsebody.md
- docs/sdk/models/operations/createpolicybundleresponsebody.md
Expand Down Expand Up @@ -474,6 +429,64 @@ generatedFiles:
- docs/sdk/models/operations/triggerpipelinestate.md
- docs/sdk/models/operations/triggerpipelinepipelinecreation.md
- docs/sdk/models/operations/triggerpipelineresponse.md
- docs/sdk/models/operations/checkoutkeyinputtype.md
- docs/sdk/models/operations/createcheckoutkeycheckoutkeyinput.md
- docs/sdk/models/operations/createcheckoutkeyrequest.md
- docs/sdk/models/operations/createcheckoutkeyresponsebody.md
- docs/sdk/models/operations/checkoutkeytype.md
- docs/sdk/models/operations/createcheckoutkeycheckoutkey.md
- docs/sdk/models/operations/createcheckoutkeyresponse.md
- docs/sdk/models/operations/createenvvarenvironmentvariable.md
- docs/sdk/models/operations/createenvvarrequest.md
- docs/sdk/models/operations/createenvvarresponsebody.md
- docs/sdk/models/operations/createenvvarprojectenvironmentvariable.md
- docs/sdk/models/operations/createenvvarresponse.md
- docs/sdk/models/operations/createprojectrequest.md
- docs/sdk/models/operations/createprojectprojectresponse404responsebody.md
- docs/sdk/models/operations/createprojectresponsebody.md
- docs/sdk/models/operations/createprojectresponse.md
- docs/sdk/models/operations/deletecheckoutkeyrequest.md
- docs/sdk/models/operations/deletecheckoutkeyresponsebody.md
- docs/sdk/models/operations/deletecheckoutkeymessageresponse.md
- docs/sdk/models/operations/deletecheckoutkeyresponse.md
- docs/sdk/models/operations/deleteenvvarrequest.md
- docs/sdk/models/operations/deleteenvvarresponsebody.md
- docs/sdk/models/operations/deleteenvvarmessageresponse.md
- docs/sdk/models/operations/deleteenvvarresponse.md
- docs/sdk/models/operations/getcheckoutkeyrequest.md
- docs/sdk/models/operations/getcheckoutkeyresponsebody.md
- docs/sdk/models/operations/getcheckoutkeycheckoutkeytype.md
- docs/sdk/models/operations/getcheckoutkeycheckoutkey.md
- docs/sdk/models/operations/getcheckoutkeyresponse.md
- docs/sdk/models/operations/getenvvarrequest.md
- docs/sdk/models/operations/getenvvarresponsebody.md
- docs/sdk/models/operations/getenvvarenvironmentvariable.md
- docs/sdk/models/operations/getenvvarresponse.md
- docs/sdk/models/operations/getprojectbyslugrequest.md
- docs/sdk/models/operations/getprojectbyslugresponsebody.md
- docs/sdk/models/operations/provider.md
- docs/sdk/models/operations/vcsinfo.md
- docs/sdk/models/operations/getprojectbyslugproject.md
- docs/sdk/models/operations/getprojectbyslugresponse.md
- docs/sdk/models/operations/getprojectsettingsrequest.md
- docs/sdk/models/operations/getprojectsettingsresponsebody.md
- docs/sdk/models/operations/getprojectsettingsresponse.md
- docs/sdk/models/operations/digest.md
- docs/sdk/models/operations/listcheckoutkeysrequest.md
- docs/sdk/models/operations/listcheckoutkeysresponsebody.md
- docs/sdk/models/operations/listcheckoutkeyscheckoutkeytype.md
- docs/sdk/models/operations/checkoutkey.md
- docs/sdk/models/operations/listcheckoutkeyscheckoutkeylistresponse.md
- docs/sdk/models/operations/listcheckoutkeysresponse.md
- docs/sdk/models/operations/listenvvarsrequest.md
- docs/sdk/models/operations/listenvvarsresponsebody.md
- docs/sdk/models/operations/environmentvariable.md
- docs/sdk/models/operations/listenvvarsenvironmentvariablelistresponse.md
- docs/sdk/models/operations/listenvvarsresponse.md
- docs/sdk/models/operations/patchprojectsettingsrequest.md
- docs/sdk/models/operations/patchprojectsettingsprojectresponsebody.md
- docs/sdk/models/operations/patchprojectsettingsresponsebody.md
- docs/sdk/models/operations/patchprojectsettingsresponse.md
- docs/sdk/models/operations/canceljobrequest.md
- docs/sdk/models/operations/canceljobresponsebody.md
- docs/sdk/models/operations/canceljobmessageresponse.md
Expand Down Expand Up @@ -594,14 +607,18 @@ generatedFiles:
- docs/sdk/models/operations/rerunworkflowworkflowresponsebody.md
- docs/sdk/models/operations/rerunworkflowresponsebody.md
- docs/sdk/models/operations/rerunworkflowresponse.md
- docs/sdk/models/shared/restrictiontype.md
- docs/sdk/models/shared/restrictioncreated.md
- docs/sdk/models/shared/restrictiondeleted.md
- docs/sdk/models/shared/contextprojectrestrictionslistrestrictiontype.md
- docs/sdk/models/shared/items.md
- docs/sdk/models/shared/contextprojectrestrictionslist.md
- docs/sdk/models/shared/advanced.md
- docs/sdk/models/shared/projectsettings.md
- docs/sdk/models/shared/claimresponse.md
- docs/sdk/models/shared/patchclaimsrequest.md
- docs/sdk/models/shared/usageexportjobstate.md
- docs/sdk/models/shared/usageexportjob.md
- docs/sdk/models/shared/state.md
- docs/sdk/models/shared/getusageexportjobstatus.md
- docs/sdk/models/shared/bundlediff.md
- docs/sdk/models/shared/bundlepayload.md
- docs/sdk/models/shared/vcs.md
Expand All @@ -611,16 +628,19 @@ generatedFiles:
- docs/sdk/models/shared/violation.md
- docs/sdk/models/shared/policy.md
- docs/sdk/models/shared/decisionsettings.md
- docs/sdk/models/shared/advanced.md
- docs/sdk/models/shared/projectsettings.md
- docs/sdk/models/shared/security.md
- docs/sdk/models/shared/schemebasicauth.md
- docs/sdks/circleci/README.md
- docs/sdks/context/README.md
- docs/sdks/project/README.md
- docs/sdks/insights/README.md
- docs/sdks/user/README.md
- docs/sdks/oidctokenmanagement/README.md
- docs/sdks/usage/README.md
- docs/sdks/policymanagement/README.md
- docs/sdks/pipeline/README.md
- docs/sdks/project/README.md
- docs/sdks/job/README.md
- docs/sdks/schedule/README.md
- docs/sdks/webhook/README.md
Expand Down
45 changes: 25 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function run() {
value: "some-secret-value",
},
contextId: "0407a4cd-7d9d-4359-a2ad-0a7c67c0ba96",
envVarName: "string",
envVarName: "POSTGRES_USER",
});

if (res.statusCode == 200) {
Expand Down Expand Up @@ -67,21 +67,6 @@ run();
* [listContexts](docs/sdks/context/README.md#listcontexts) - List contexts
* [listEnvironmentVariablesFromContext](docs/sdks/context/README.md#listenvironmentvariablesfromcontext) - List environment variables

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

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

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

* [getAllInsightsBranches](docs/sdks/insights/README.md#getallinsightsbranches) - Get all branches for a project
Expand Down Expand Up @@ -110,6 +95,11 @@ run();
* [patchOrgClaims](docs/sdks/oidctokenmanagement/README.md#patchorgclaims) - Patch org-level claims
* [patchProjectClaims](docs/sdks/oidctokenmanagement/README.md#patchprojectclaims) - Patch project-level claims

### [usage](docs/sdks/usage/README.md)

* [createUsageExport](docs/sdks/usage/README.md#createusageexport) - Create a usage export
* [getUsageExport](docs/sdks/usage/README.md#getusageexport) - Get a usage export

### [policyManagement](docs/sdks/policymanagement/README.md)

* [createPolicyBundle](docs/sdks/policymanagement/README.md#createpolicybundle) - Creates policy bundle for the context
Expand All @@ -134,6 +124,21 @@ run();
* [listWorkflowsByPipelineId](docs/sdks/pipeline/README.md#listworkflowsbypipelineid) - Get a pipeline's workflows
* [triggerPipeline](docs/sdks/pipeline/README.md#triggerpipeline) - Trigger a new pipeline

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

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

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

* [cancelJob](docs/sdks/job/README.md#canceljob) - Cancel job
Expand Down Expand Up @@ -200,7 +205,7 @@ async function run() {
value: "some-secret-value",
},
contextId: "0407a4cd-7d9d-4359-a2ad-0a7c67c0ba96",
envVarName: "string",
envVarName: "POSTGRES_USER",
});
} catch (err) {
if (err instanceof errors.SDKError) {
Expand Down Expand Up @@ -250,7 +255,7 @@ async function run() {
value: "some-secret-value",
},
contextId: "0407a4cd-7d9d-4359-a2ad-0a7c67c0ba96",
envVarName: "string",
envVarName: "POSTGRES_USER",
});

if (res.statusCode == 200) {
Expand Down Expand Up @@ -282,7 +287,7 @@ async function run() {
value: "some-secret-value",
},
contextId: "0407a4cd-7d9d-4359-a2ad-0a7c67c0ba96",
envVarName: "string",
envVarName: "POSTGRES_USER",
});

if (res.statusCode == 200) {
Expand Down Expand Up @@ -347,7 +352,7 @@ async function run() {
value: "some-secret-value",
},
contextId: "0407a4cd-7d9d-4359-a2ad-0a7c67c0ba96",
envVarName: "string",
envVarName: "POSTGRES_USER",
});

if (res.statusCode == 200) {
Expand Down
Loading

0 comments on commit 090b876

Please sign in to comment.