@octokit/types 13.8.1 → 13.10.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.
package/dist-types/VERSION.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "13.
|
|
1
|
+
export declare const VERSION = "13.10.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
|
*/
|
|
@@ -203,6 +207,10 @@ export interface Endpoints {
|
|
|
203
207
|
* @see https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation
|
|
204
208
|
*/
|
|
205
209
|
"DELETE /orgs/{org}/invitations/{invitation_id}": Operation<"/orgs/{org}/invitations/{invitation_id}", "delete">;
|
|
210
|
+
/**
|
|
211
|
+
* @see https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization
|
|
212
|
+
*/
|
|
213
|
+
"DELETE /orgs/{org}/issue-types/{issue_type_id}": Operation<"/orgs/{org}/issue-types/{issue_type_id}", "delete">;
|
|
206
214
|
/**
|
|
207
215
|
* @see https://docs.github.com/rest/orgs/members#remove-an-organization-member
|
|
208
216
|
*/
|
|
@@ -271,6 +279,10 @@ export interface Endpoints {
|
|
|
271
279
|
* @see https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team
|
|
272
280
|
*/
|
|
273
281
|
"DELETE /orgs/{org}/security-managers/teams/{team_slug}": Operation<"/orgs/{org}/security-managers/teams/{team_slug}", "delete">;
|
|
282
|
+
/**
|
|
283
|
+
* @see https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization
|
|
284
|
+
*/
|
|
285
|
+
"DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}": Operation<"/orgs/{org}/settings/network-configurations/{network_configuration_id}", "delete">;
|
|
274
286
|
/**
|
|
275
287
|
* @see https://docs.github.com/rest/teams/teams#delete-a-team
|
|
276
288
|
*/
|
|
@@ -368,7 +380,7 @@ export interface Endpoints {
|
|
|
368
380
|
*/
|
|
369
381
|
"DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}": Operation<"/repos/{owner}/{repo}/autolinks/{autolink_id}", "delete">;
|
|
370
382
|
/**
|
|
371
|
-
* @see https://docs.github.com/rest/repos/repos#disable-
|
|
383
|
+
* @see https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates
|
|
372
384
|
*/
|
|
373
385
|
"DELETE /repos/{owner}/{repo}/automated-security-fixes": Operation<"/repos/{owner}/{repo}/automated-security-fixes", "delete">;
|
|
374
386
|
/**
|
|
@@ -940,6 +952,34 @@ export interface Endpoints {
|
|
|
940
952
|
* @see https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization
|
|
941
953
|
*/
|
|
942
954
|
"GET /orgs/{org}/actions/cache/usage-by-repository": Operation<"/orgs/{org}/actions/cache/usage-by-repository", "get">;
|
|
955
|
+
/**
|
|
956
|
+
* @see https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization
|
|
957
|
+
*/
|
|
958
|
+
"GET /orgs/{org}/actions/hosted-runners": Operation<"/orgs/{org}/actions/hosted-runners", "get">;
|
|
959
|
+
/**
|
|
960
|
+
* @see https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization
|
|
961
|
+
*/
|
|
962
|
+
"GET /orgs/{org}/actions/hosted-runners/images/github-owned": Operation<"/orgs/{org}/actions/hosted-runners/images/github-owned", "get">;
|
|
963
|
+
/**
|
|
964
|
+
* @see https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization
|
|
965
|
+
*/
|
|
966
|
+
"GET /orgs/{org}/actions/hosted-runners/images/partner": Operation<"/orgs/{org}/actions/hosted-runners/images/partner", "get">;
|
|
967
|
+
/**
|
|
968
|
+
* @see https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization
|
|
969
|
+
*/
|
|
970
|
+
"GET /orgs/{org}/actions/hosted-runners/limits": Operation<"/orgs/{org}/actions/hosted-runners/limits", "get">;
|
|
971
|
+
/**
|
|
972
|
+
* @see https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization
|
|
973
|
+
*/
|
|
974
|
+
"GET /orgs/{org}/actions/hosted-runners/machine-sizes": Operation<"/orgs/{org}/actions/hosted-runners/machine-sizes", "get">;
|
|
975
|
+
/**
|
|
976
|
+
* @see https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization
|
|
977
|
+
*/
|
|
978
|
+
"GET /orgs/{org}/actions/hosted-runners/platforms": Operation<"/orgs/{org}/actions/hosted-runners/platforms", "get">;
|
|
979
|
+
/**
|
|
980
|
+
* @see https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization
|
|
981
|
+
*/
|
|
982
|
+
"GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}": Operation<"/orgs/{org}/actions/hosted-runners/{hosted_runner_id}", "get">;
|
|
943
983
|
/**
|
|
944
984
|
* @see https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization
|
|
945
985
|
*/
|
|
@@ -968,6 +1008,10 @@ export interface Endpoints {
|
|
|
968
1008
|
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization
|
|
969
1009
|
*/
|
|
970
1010
|
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}", "get">;
|
|
1011
|
+
/**
|
|
1012
|
+
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization
|
|
1013
|
+
*/
|
|
1014
|
+
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners", "get">;
|
|
971
1015
|
/**
|
|
972
1016
|
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization
|
|
973
1017
|
*/
|
|
@@ -1196,6 +1240,10 @@ export interface Endpoints {
|
|
|
1196
1240
|
* @see https://docs.github.com/rest/orgs/members#list-organization-invitation-teams
|
|
1197
1241
|
*/
|
|
1198
1242
|
"GET /orgs/{org}/invitations/{invitation_id}/teams": Operation<"/orgs/{org}/invitations/{invitation_id}/teams", "get">;
|
|
1243
|
+
/**
|
|
1244
|
+
* @see https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization
|
|
1245
|
+
*/
|
|
1246
|
+
"GET /orgs/{org}/issue-types": Operation<"/orgs/{org}/issue-types", "get">;
|
|
1199
1247
|
/**
|
|
1200
1248
|
* @see https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user
|
|
1201
1249
|
*/
|
|
@@ -1348,6 +1396,14 @@ export interface Endpoints {
|
|
|
1348
1396
|
* @see https://docs.github.com/rest/orgs/rules#get-an-organization-repository-ruleset
|
|
1349
1397
|
*/
|
|
1350
1398
|
"GET /orgs/{org}/rulesets/{ruleset_id}": Operation<"/orgs/{org}/rulesets/{ruleset_id}", "get">;
|
|
1399
|
+
/**
|
|
1400
|
+
* @see https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history
|
|
1401
|
+
*/
|
|
1402
|
+
"GET /orgs/{org}/rulesets/{ruleset_id}/history": Operation<"/orgs/{org}/rulesets/{ruleset_id}/history", "get">;
|
|
1403
|
+
/**
|
|
1404
|
+
* @see https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version
|
|
1405
|
+
*/
|
|
1406
|
+
"GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}": Operation<"/orgs/{org}/rulesets/{ruleset_id}/history/{version_id}", "get">;
|
|
1351
1407
|
/**
|
|
1352
1408
|
* @see https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization
|
|
1353
1409
|
*/
|
|
@@ -1372,6 +1428,18 @@ export interface Endpoints {
|
|
|
1372
1428
|
* @see https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization
|
|
1373
1429
|
*/
|
|
1374
1430
|
"GET /orgs/{org}/settings/billing/shared-storage": Operation<"/orgs/{org}/settings/billing/shared-storage", "get">;
|
|
1431
|
+
/**
|
|
1432
|
+
* @see https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization
|
|
1433
|
+
*/
|
|
1434
|
+
"GET /orgs/{org}/settings/network-configurations": Operation<"/orgs/{org}/settings/network-configurations", "get">;
|
|
1435
|
+
/**
|
|
1436
|
+
* @see https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization
|
|
1437
|
+
*/
|
|
1438
|
+
"GET /orgs/{org}/settings/network-configurations/{network_configuration_id}": Operation<"/orgs/{org}/settings/network-configurations/{network_configuration_id}", "get">;
|
|
1439
|
+
/**
|
|
1440
|
+
* @see https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization
|
|
1441
|
+
*/
|
|
1442
|
+
"GET /orgs/{org}/settings/network-settings/{network_settings_id}": Operation<"/orgs/{org}/settings/network-settings/{network_settings_id}", "get">;
|
|
1375
1443
|
/**
|
|
1376
1444
|
* @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team
|
|
1377
1445
|
*/
|
|
@@ -1657,7 +1725,7 @@ export interface Endpoints {
|
|
|
1657
1725
|
*/
|
|
1658
1726
|
"GET /repos/{owner}/{repo}/autolinks/{autolink_id}": Operation<"/repos/{owner}/{repo}/autolinks/{autolink_id}", "get">;
|
|
1659
1727
|
/**
|
|
1660
|
-
* @see https://docs.github.com/rest/repos/repos#check-if-
|
|
1728
|
+
* @see https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository
|
|
1661
1729
|
*/
|
|
1662
1730
|
"GET /repos/{owner}/{repo}/automated-security-fixes": Operation<"/repos/{owner}/{repo}/automated-security-fixes", "get">;
|
|
1663
1731
|
/**
|
|
@@ -2305,6 +2373,14 @@ export interface Endpoints {
|
|
|
2305
2373
|
* @see https://docs.github.com/rest/repos/rules#get-a-repository-ruleset
|
|
2306
2374
|
*/
|
|
2307
2375
|
"GET /repos/{owner}/{repo}/rulesets/{ruleset_id}": Operation<"/repos/{owner}/{repo}/rulesets/{ruleset_id}", "get">;
|
|
2376
|
+
/**
|
|
2377
|
+
* @see https://docs.github.com/rest/repos/rules#get-repository-ruleset-history
|
|
2378
|
+
*/
|
|
2379
|
+
"GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history": Operation<"/repos/{owner}/{repo}/rulesets/{ruleset_id}/history", "get">;
|
|
2380
|
+
/**
|
|
2381
|
+
* @see https://docs.github.com/rest/repos/rules#get-repository-ruleset-version
|
|
2382
|
+
*/
|
|
2383
|
+
"GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}": Operation<"/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}", "get">;
|
|
2308
2384
|
/**
|
|
2309
2385
|
* @see https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository
|
|
2310
2386
|
*/
|
|
@@ -2853,6 +2929,10 @@ export interface Endpoints {
|
|
|
2853
2929
|
* @see https://docs.github.com/rest/orgs/orgs#update-an-organization
|
|
2854
2930
|
*/
|
|
2855
2931
|
"PATCH /orgs/{org}": Operation<"/orgs/{org}", "patch">;
|
|
2932
|
+
/**
|
|
2933
|
+
* @see https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization
|
|
2934
|
+
*/
|
|
2935
|
+
"PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}": Operation<"/orgs/{org}/actions/hosted-runners/{hosted_runner_id}", "patch">;
|
|
2856
2936
|
/**
|
|
2857
2937
|
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization
|
|
2858
2938
|
*/
|
|
@@ -2885,6 +2965,10 @@ export interface Endpoints {
|
|
|
2885
2965
|
* @see https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories
|
|
2886
2966
|
*/
|
|
2887
2967
|
"PATCH /orgs/{org}/properties/values": Operation<"/orgs/{org}/properties/values", "patch">;
|
|
2968
|
+
/**
|
|
2969
|
+
* @see https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization
|
|
2970
|
+
*/
|
|
2971
|
+
"PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}": Operation<"/orgs/{org}/settings/network-configurations/{network_configuration_id}", "patch">;
|
|
2888
2972
|
/**
|
|
2889
2973
|
* @see https://docs.github.com/rest/teams/teams#update-a-team
|
|
2890
2974
|
*/
|
|
@@ -3109,6 +3193,10 @@ export interface Endpoints {
|
|
|
3109
3193
|
* @see https://docs.github.com/rest/markdown/markdown#render-a-markdown-document-in-raw-mode
|
|
3110
3194
|
*/
|
|
3111
3195
|
"POST /markdown/raw": Operation<"/markdown/raw", "post">;
|
|
3196
|
+
/**
|
|
3197
|
+
* @see https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization
|
|
3198
|
+
*/
|
|
3199
|
+
"POST /orgs/{org}/actions/hosted-runners": Operation<"/orgs/{org}/actions/hosted-runners", "post">;
|
|
3112
3200
|
/**
|
|
3113
3201
|
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization
|
|
3114
3202
|
*/
|
|
@@ -3169,6 +3257,10 @@ export interface Endpoints {
|
|
|
3169
3257
|
* @see https://docs.github.com/rest/orgs/members#create-an-organization-invitation
|
|
3170
3258
|
*/
|
|
3171
3259
|
"POST /orgs/{org}/invitations": Operation<"/orgs/{org}/invitations", "post">;
|
|
3260
|
+
/**
|
|
3261
|
+
* @see https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization
|
|
3262
|
+
*/
|
|
3263
|
+
"POST /orgs/{org}/issue-types": Operation<"/orgs/{org}/issue-types", "post">;
|
|
3172
3264
|
/**
|
|
3173
3265
|
* @see https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user
|
|
3174
3266
|
*/
|
|
@@ -3217,6 +3309,10 @@ export interface Endpoints {
|
|
|
3217
3309
|
* @see https://docs.github.com/rest/orgs/rules#create-an-organization-repository-ruleset
|
|
3218
3310
|
*/
|
|
3219
3311
|
"POST /orgs/{org}/rulesets": Operation<"/orgs/{org}/rulesets", "post">;
|
|
3312
|
+
/**
|
|
3313
|
+
* @see https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization
|
|
3314
|
+
*/
|
|
3315
|
+
"POST /orgs/{org}/settings/network-configurations": Operation<"/orgs/{org}/settings/network-configurations", "post">;
|
|
3220
3316
|
/**
|
|
3221
3317
|
* @see https://docs.github.com/rest/teams/teams#create-a-team
|
|
3222
3318
|
*/
|
|
@@ -3825,6 +3921,10 @@ export interface Endpoints {
|
|
|
3825
3921
|
* @see https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization
|
|
3826
3922
|
*/
|
|
3827
3923
|
"PUT /orgs/{org}/interaction-limits": Operation<"/orgs/{org}/interaction-limits", "put">;
|
|
3924
|
+
/**
|
|
3925
|
+
* @see https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization
|
|
3926
|
+
*/
|
|
3927
|
+
"PUT /orgs/{org}/issue-types/{issue_type_id}": Operation<"/orgs/{org}/issue-types/{issue_type_id}", "put">;
|
|
3828
3928
|
/**
|
|
3829
3929
|
* @see https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user
|
|
3830
3930
|
*/
|
|
@@ -3910,7 +4010,7 @@ export interface Endpoints {
|
|
|
3910
4010
|
*/
|
|
3911
4011
|
"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable", "put">;
|
|
3912
4012
|
/**
|
|
3913
|
-
* @see https://docs.github.com/rest/repos/repos#enable-
|
|
4013
|
+
* @see https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates
|
|
3914
4014
|
*/
|
|
3915
4015
|
"PUT /repos/{owner}/{repo}/automated-security-fixes": Operation<"/repos/{owner}/{repo}/automated-security-fixes", "put">;
|
|
3916
4016
|
/**
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octokit/types",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.10.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.
|
|
10
|
+
"@octokit/openapi-types": "^24.2.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": "
|
|
35
|
+
"openapi-version": "18.2.0"
|
|
36
36
|
},
|
|
37
37
|
"files": [
|
|
38
38
|
"dist-types/**"
|