-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: speakeasy sdk regeneration - Generate (#22)
* ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.35.0 * ci: regenerated with OpenAPI Doc v2, Speakeay CLI 1.40.2 --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: Roopak Venkatakrishnan <[email protected]>
- Loading branch information
1 parent
46f6ac9
commit 2de5896
Showing
114 changed files
with
22,369 additions
and
12,810 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
dist/ | ||
node_modules/ | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,187 @@ | ||
# oidcTokenManagement | ||
|
||
## Overview | ||
|
||
Endpoints related to manage oidc identity tokens | ||
|
||
### Available Operations | ||
|
||
* [deleteOrgClaims](#deleteorgclaims) - Delete org-level claims | ||
* [deleteProjectClaims](#deleteprojectclaims) - Delete project-level claims | ||
* [getOrgClaims](#getorgclaims) - Get org-level claims | ||
* [getProjectClaims](#getprojectclaims) - Get project-level claims | ||
* [patchOrgClaims](#patchorgclaims) - Patch org-level claims | ||
* [patchProjectClaims](#patchprojectclaims) - Patch project-level claims | ||
|
||
## deleteOrgClaims | ||
|
||
Deletes org-level custom claims of OIDC identity tokens | ||
|
||
### Example Usage | ||
|
||
```typescript | ||
import { Circleci } from "circleci-v2-sdk"; | ||
import { DeleteOrgClaimsResponse } from "circleci-v2-sdk/dist/sdk/models/operations"; | ||
|
||
const sdk = new Circleci({ | ||
security: { | ||
apiKeyHeader: "YOUR_API_KEY_HERE", | ||
}, | ||
}); | ||
|
||
sdk.oidcTokenManagement.deleteOrgClaims({ | ||
claims: "praesentium", | ||
orgID: "921cddc6-9260-41fb-976b-0d5f0d30c5fb", | ||
}).then((res: DeleteOrgClaimsResponse) => { | ||
if (res.statusCode == 200) { | ||
// handle response | ||
} | ||
}); | ||
``` | ||
|
||
## deleteProjectClaims | ||
|
||
Deletes project-level custom claims of OIDC identity tokens | ||
|
||
### Example Usage | ||
|
||
```typescript | ||
import { Circleci } from "circleci-v2-sdk"; | ||
import { DeleteProjectClaimsResponse } from "circleci-v2-sdk/dist/sdk/models/operations"; | ||
|
||
const sdk = new Circleci({ | ||
security: { | ||
apiKeyHeader: "YOUR_API_KEY_HERE", | ||
}, | ||
}); | ||
|
||
sdk.oidcTokenManagement.deleteProjectClaims({ | ||
claims: "nobis", | ||
orgID: "25870532-02c7-43d5-be9b-90c28909b3fe", | ||
projectID: "49a8d9cb-f486-4333-a3f9-b77f3a410067", | ||
}).then((res: DeleteProjectClaimsResponse) => { | ||
if (res.statusCode == 200) { | ||
// handle response | ||
} | ||
}); | ||
``` | ||
|
||
## getOrgClaims | ||
|
||
Fetches org-level custom claims of OIDC identity tokens | ||
|
||
### Example Usage | ||
|
||
```typescript | ||
import { Circleci } from "circleci-v2-sdk"; | ||
import { GetOrgClaimsResponse } from "circleci-v2-sdk/dist/sdk/models/operations"; | ||
|
||
const sdk = new Circleci({ | ||
security: { | ||
apiKeyHeader: "YOUR_API_KEY_HERE", | ||
}, | ||
}); | ||
|
||
sdk.oidcTokenManagement.getOrgClaims({ | ||
orgID: "4ebf6928-0d1b-4a77-a89e-bf737ae4203c", | ||
}).then((res: GetOrgClaimsResponse) => { | ||
if (res.statusCode == 200) { | ||
// handle response | ||
} | ||
}); | ||
``` | ||
|
||
## getProjectClaims | ||
|
||
Fetches project-level custom claims of OIDC identity tokens | ||
|
||
### Example Usage | ||
|
||
```typescript | ||
import { Circleci } from "circleci-v2-sdk"; | ||
import { GetProjectClaimsResponse } from "circleci-v2-sdk/dist/sdk/models/operations"; | ||
|
||
const sdk = new Circleci({ | ||
security: { | ||
apiKeyHeader: "YOUR_API_KEY_HERE", | ||
}, | ||
}); | ||
|
||
sdk.oidcTokenManagement.getProjectClaims({ | ||
orgID: "e5e6a95d-8a0d-4446-8e2a-f7a73cf3be45", | ||
projectID: "3f870b32-6b5a-4734-a9cd-b1a8422bb679", | ||
}).then((res: GetProjectClaimsResponse) => { | ||
if (res.statusCode == 200) { | ||
// handle response | ||
} | ||
}); | ||
``` | ||
|
||
## patchOrgClaims | ||
|
||
Creates/Updates org-level custom claims of OIDC identity tokens | ||
|
||
### Example Usage | ||
|
||
```typescript | ||
import { Circleci } from "circleci-v2-sdk"; | ||
import { PatchOrgClaimsResponse } from "circleci-v2-sdk/dist/sdk/models/operations"; | ||
|
||
const sdk = new Circleci({ | ||
security: { | ||
apiKeyHeader: "YOUR_API_KEY_HERE", | ||
}, | ||
}); | ||
|
||
sdk.oidcTokenManagement.patchOrgClaims({ | ||
patchClaimsRequest: { | ||
audience: [ | ||
"qui", | ||
"neque", | ||
"fugit", | ||
"magni", | ||
], | ||
ttl: "odio", | ||
}, | ||
orgID: "15bf0cbb-1e31-4b8b-90f3-443a1108e0ad", | ||
}).then((res: PatchOrgClaimsResponse) => { | ||
if (res.statusCode == 200) { | ||
// handle response | ||
} | ||
}); | ||
``` | ||
|
||
## patchProjectClaims | ||
|
||
Creates/Updates project-level custom claims of OIDC identity tokens | ||
|
||
### Example Usage | ||
|
||
```typescript | ||
import { Circleci } from "circleci-v2-sdk"; | ||
import { PatchProjectClaimsResponse } from "circleci-v2-sdk/dist/sdk/models/operations"; | ||
|
||
const sdk = new Circleci({ | ||
security: { | ||
apiKeyHeader: "YOUR_API_KEY_HERE", | ||
}, | ||
}); | ||
|
||
sdk.oidcTokenManagement.patchProjectClaims({ | ||
patchClaimsRequest: { | ||
audience: [ | ||
"doloribus", | ||
"ut", | ||
"facilis", | ||
"cupiditate", | ||
], | ||
ttl: "qui", | ||
}, | ||
orgID: "1879fce9-53f7-43ef-bfbc-7abd74dd39c0", | ||
projectID: "f5d2cff7-c70a-4456-a6d4-36813f16d9f5", | ||
}).then((res: PatchProjectClaimsResponse) => { | ||
if (res.statusCode == 200) { | ||
// handle response | ||
} | ||
}); | ||
``` |
Oops, something went wrong.