Skip to content

Commit

Permalink
feat: add new Enterprise licenses APIs (`GET /enterprises/{enterprise…
Browse files Browse the repository at this point in the history
…}/consumed-licenses`, `GET /enterprises/{enterprise}/license-sync-status`) (#439)

WIP octokit/openapi updated
  • Loading branch information
octokitbot committed Aug 16, 2022
1 parent 359fe75 commit a61bd54
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -6,7 +6,7 @@
},
"description": "Shared TypeScript definitions for Octokit projects",
"dependencies": {
"@octokit/openapi-types": "^13.0.1"
"@octokit/openapi-types": "^13.1.0"
},
"scripts": {
"build": "pika-pack build",
Expand Down Expand Up @@ -96,7 +96,7 @@
]
},
"octokit": {
"openapi-version": "7.1.0"
"openapi-version": "7.2.0"
},
"renovate": {
"extends": [
Expand Down
22 changes: 22 additions & 0 deletions scripts/update-endpoints/generated/endpoints.json
Expand Up @@ -5105,6 +5105,18 @@
"previews": [],
"renamed": null
},
{
"method": "GET",
"url": "/enterprises/{enterprise}/consumed-licenses",
"documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#list-enterprise-consumed-licenses",
"parameters": [
{ "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" },
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" },
{ "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }
],
"previews": [],
"renamed": null
},
{
"method": "GET",
"url": "/enterprises/{enterprise}/actions/permissions",
Expand All @@ -5115,6 +5127,16 @@
"previews": [],
"renamed": null
},
{
"method": "GET",
"url": "/enterprises/{enterprise}/license-sync-status",
"documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#get-a-license-sync-status",
"parameters": [
{ "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }
],
"previews": [],
"renamed": null
},
{
"method": "GET",
"url": "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}",
Expand Down
14 changes: 14 additions & 0 deletions src/generated/Endpoints.ts
Expand Up @@ -1247,6 +1247,20 @@ export interface Endpoints {
"/enterprises/{enterprise}/code-scanning/alerts",
"get"
>;
/**
* @see https://docs.github.com/rest/reference/enterprise-admin#list-enterprise-consumed-licenses
*/
"GET /enterprises/{enterprise}/consumed-licenses": Operation<
"/enterprises/{enterprise}/consumed-licenses",
"get"
>;
/**
* @see https://docs.github.com/rest/reference/enterprise-admin#get-a-license-sync-status
*/
"GET /enterprises/{enterprise}/license-sync-status": Operation<
"/enterprises/{enterprise}/license-sync-status",
"get"
>;
/**
* @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-enterprise
*/
Expand Down

0 comments on commit a61bd54

Please sign in to comment.