@octokit/types 13.8.1 → 13.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- export declare const VERSION = "13.8.1";
1
+ export declare const VERSION = "13.9.0";
@@ -107,6 +107,10 @@ export interface Endpoints {
107
107
  * @see https://docs.github.com/rest/orgs/orgs#delete-an-organization
108
108
  */
109
109
  "DELETE /orgs/{org}": Operation<"/orgs/{org}", "delete">;
110
+ /**
111
+ * @see https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization
112
+ */
113
+ "DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}": Operation<"/orgs/{org}/actions/hosted-runners/{hosted_runner_id}", "delete">;
110
114
  /**
111
115
  * @see https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization
112
116
  */
@@ -271,6 +275,10 @@ export interface Endpoints {
271
275
  * @see https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team
272
276
  */
273
277
  "DELETE /orgs/{org}/security-managers/teams/{team_slug}": Operation<"/orgs/{org}/security-managers/teams/{team_slug}", "delete">;
278
+ /**
279
+ * @see https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization
280
+ */
281
+ "DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}": Operation<"/orgs/{org}/settings/network-configurations/{network_configuration_id}", "delete">;
274
282
  /**
275
283
  * @see https://docs.github.com/rest/teams/teams#delete-a-team
276
284
  */
@@ -368,7 +376,7 @@ export interface Endpoints {
368
376
  */
369
377
  "DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}": Operation<"/repos/{owner}/{repo}/autolinks/{autolink_id}", "delete">;
370
378
  /**
371
- * @see https://docs.github.com/rest/repos/repos#disable-automated-security-fixes
379
+ * @see https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates
372
380
  */
373
381
  "DELETE /repos/{owner}/{repo}/automated-security-fixes": Operation<"/repos/{owner}/{repo}/automated-security-fixes", "delete">;
374
382
  /**
@@ -940,6 +948,34 @@ export interface Endpoints {
940
948
  * @see https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization
941
949
  */
942
950
  "GET /orgs/{org}/actions/cache/usage-by-repository": Operation<"/orgs/{org}/actions/cache/usage-by-repository", "get">;
951
+ /**
952
+ * @see https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization
953
+ */
954
+ "GET /orgs/{org}/actions/hosted-runners": Operation<"/orgs/{org}/actions/hosted-runners", "get">;
955
+ /**
956
+ * @see https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization
957
+ */
958
+ "GET /orgs/{org}/actions/hosted-runners/images/github-owned": Operation<"/orgs/{org}/actions/hosted-runners/images/github-owned", "get">;
959
+ /**
960
+ * @see https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization
961
+ */
962
+ "GET /orgs/{org}/actions/hosted-runners/images/partner": Operation<"/orgs/{org}/actions/hosted-runners/images/partner", "get">;
963
+ /**
964
+ * @see https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization
965
+ */
966
+ "GET /orgs/{org}/actions/hosted-runners/limits": Operation<"/orgs/{org}/actions/hosted-runners/limits", "get">;
967
+ /**
968
+ * @see https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization
969
+ */
970
+ "GET /orgs/{org}/actions/hosted-runners/machine-sizes": Operation<"/orgs/{org}/actions/hosted-runners/machine-sizes", "get">;
971
+ /**
972
+ * @see https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization
973
+ */
974
+ "GET /orgs/{org}/actions/hosted-runners/platforms": Operation<"/orgs/{org}/actions/hosted-runners/platforms", "get">;
975
+ /**
976
+ * @see https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization
977
+ */
978
+ "GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}": Operation<"/orgs/{org}/actions/hosted-runners/{hosted_runner_id}", "get">;
943
979
  /**
944
980
  * @see https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization
945
981
  */
@@ -968,6 +1004,10 @@ export interface Endpoints {
968
1004
  * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization
969
1005
  */
970
1006
  "GET /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}", "get">;
1007
+ /**
1008
+ * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization
1009
+ */
1010
+ "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners", "get">;
971
1011
  /**
972
1012
  * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization
973
1013
  */
@@ -1348,6 +1388,14 @@ export interface Endpoints {
1348
1388
  * @see https://docs.github.com/rest/orgs/rules#get-an-organization-repository-ruleset
1349
1389
  */
1350
1390
  "GET /orgs/{org}/rulesets/{ruleset_id}": Operation<"/orgs/{org}/rulesets/{ruleset_id}", "get">;
1391
+ /**
1392
+ * @see https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history
1393
+ */
1394
+ "GET /orgs/{org}/rulesets/{ruleset_id}/history": Operation<"/orgs/{org}/rulesets/{ruleset_id}/history", "get">;
1395
+ /**
1396
+ * @see https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version
1397
+ */
1398
+ "GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}": Operation<"/orgs/{org}/rulesets/{ruleset_id}/history/{version_id}", "get">;
1351
1399
  /**
1352
1400
  * @see https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization
1353
1401
  */
@@ -1372,6 +1420,18 @@ export interface Endpoints {
1372
1420
  * @see https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization
1373
1421
  */
1374
1422
  "GET /orgs/{org}/settings/billing/shared-storage": Operation<"/orgs/{org}/settings/billing/shared-storage", "get">;
1423
+ /**
1424
+ * @see https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization
1425
+ */
1426
+ "GET /orgs/{org}/settings/network-configurations": Operation<"/orgs/{org}/settings/network-configurations", "get">;
1427
+ /**
1428
+ * @see https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization
1429
+ */
1430
+ "GET /orgs/{org}/settings/network-configurations/{network_configuration_id}": Operation<"/orgs/{org}/settings/network-configurations/{network_configuration_id}", "get">;
1431
+ /**
1432
+ * @see https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization
1433
+ */
1434
+ "GET /orgs/{org}/settings/network-settings/{network_settings_id}": Operation<"/orgs/{org}/settings/network-settings/{network_settings_id}", "get">;
1375
1435
  /**
1376
1436
  * @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team
1377
1437
  */
@@ -1657,7 +1717,7 @@ export interface Endpoints {
1657
1717
  */
1658
1718
  "GET /repos/{owner}/{repo}/autolinks/{autolink_id}": Operation<"/repos/{owner}/{repo}/autolinks/{autolink_id}", "get">;
1659
1719
  /**
1660
- * @see https://docs.github.com/rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository
1720
+ * @see https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository
1661
1721
  */
1662
1722
  "GET /repos/{owner}/{repo}/automated-security-fixes": Operation<"/repos/{owner}/{repo}/automated-security-fixes", "get">;
1663
1723
  /**
@@ -2305,6 +2365,14 @@ export interface Endpoints {
2305
2365
  * @see https://docs.github.com/rest/repos/rules#get-a-repository-ruleset
2306
2366
  */
2307
2367
  "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}": Operation<"/repos/{owner}/{repo}/rulesets/{ruleset_id}", "get">;
2368
+ /**
2369
+ * @see https://docs.github.com/rest/repos/rules#get-repository-ruleset-history
2370
+ */
2371
+ "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history": Operation<"/repos/{owner}/{repo}/rulesets/{ruleset_id}/history", "get">;
2372
+ /**
2373
+ * @see https://docs.github.com/rest/repos/rules#get-repository-ruleset-version
2374
+ */
2375
+ "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}": Operation<"/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}", "get">;
2308
2376
  /**
2309
2377
  * @see https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository
2310
2378
  */
@@ -2853,6 +2921,10 @@ export interface Endpoints {
2853
2921
  * @see https://docs.github.com/rest/orgs/orgs#update-an-organization
2854
2922
  */
2855
2923
  "PATCH /orgs/{org}": Operation<"/orgs/{org}", "patch">;
2924
+ /**
2925
+ * @see https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization
2926
+ */
2927
+ "PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}": Operation<"/orgs/{org}/actions/hosted-runners/{hosted_runner_id}", "patch">;
2856
2928
  /**
2857
2929
  * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization
2858
2930
  */
@@ -2885,6 +2957,10 @@ export interface Endpoints {
2885
2957
  * @see https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories
2886
2958
  */
2887
2959
  "PATCH /orgs/{org}/properties/values": Operation<"/orgs/{org}/properties/values", "patch">;
2960
+ /**
2961
+ * @see https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization
2962
+ */
2963
+ "PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}": Operation<"/orgs/{org}/settings/network-configurations/{network_configuration_id}", "patch">;
2888
2964
  /**
2889
2965
  * @see https://docs.github.com/rest/teams/teams#update-a-team
2890
2966
  */
@@ -3109,6 +3185,10 @@ export interface Endpoints {
3109
3185
  * @see https://docs.github.com/rest/markdown/markdown#render-a-markdown-document-in-raw-mode
3110
3186
  */
3111
3187
  "POST /markdown/raw": Operation<"/markdown/raw", "post">;
3188
+ /**
3189
+ * @see https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization
3190
+ */
3191
+ "POST /orgs/{org}/actions/hosted-runners": Operation<"/orgs/{org}/actions/hosted-runners", "post">;
3112
3192
  /**
3113
3193
  * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization
3114
3194
  */
@@ -3217,6 +3297,10 @@ export interface Endpoints {
3217
3297
  * @see https://docs.github.com/rest/orgs/rules#create-an-organization-repository-ruleset
3218
3298
  */
3219
3299
  "POST /orgs/{org}/rulesets": Operation<"/orgs/{org}/rulesets", "post">;
3300
+ /**
3301
+ * @see https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization
3302
+ */
3303
+ "POST /orgs/{org}/settings/network-configurations": Operation<"/orgs/{org}/settings/network-configurations", "post">;
3220
3304
  /**
3221
3305
  * @see https://docs.github.com/rest/teams/teams#create-a-team
3222
3306
  */
@@ -3910,7 +3994,7 @@ export interface Endpoints {
3910
3994
  */
3911
3995
  "PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable", "put">;
3912
3996
  /**
3913
- * @see https://docs.github.com/rest/repos/repos#enable-automated-security-fixes
3997
+ * @see https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates
3914
3998
  */
3915
3999
  "PUT /repos/{owner}/{repo}/automated-security-fixes": Operation<"/repos/{owner}/{repo}/automated-security-fixes", "put">;
3916
4000
  /**
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@octokit/types",
3
- "version": "13.8.1",
3
+ "version": "13.9.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
7
7
  },
8
8
  "description": "Shared TypeScript definitions for Octokit projects",
9
9
  "dependencies": {
10
- "@octokit/openapi-types": "^24.0.0"
10
+ "@octokit/openapi-types": "^24.1.0"
11
11
  },
12
12
  "repository": "github:octokit/types.ts",
13
13
  "keywords": [
@@ -32,7 +32,7 @@
32
32
  "typescript": "^5.0.0"
33
33
  },
34
34
  "octokit": {
35
- "openapi-version": "17.1.1"
35
+ "openapi-version": "18.1.0"
36
36
  },
37
37
  "files": [
38
38
  "dist-types/**"