@octokit/types 18.0.0 → 19.0.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 = "
|
|
1
|
+
export declare const VERSION = "19.0.0";
|
|
@@ -100,18 +100,6 @@ export interface Endpoints {
|
|
|
100
100
|
* @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy
|
|
101
101
|
*/
|
|
102
102
|
"DELETE /enterprises/{enterprise}/copilot/policies/coding_agent/organizations": Operation<"/enterprises/{enterprise}/copilot/policies/coding_agent/organizations", "delete">;
|
|
103
|
-
/**
|
|
104
|
-
* @see https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership
|
|
105
|
-
*/
|
|
106
|
-
"DELETE /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": Operation<"/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}", "delete">;
|
|
107
|
-
/**
|
|
108
|
-
* @see https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment
|
|
109
|
-
*/
|
|
110
|
-
"DELETE /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": Operation<"/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}", "delete">;
|
|
111
|
-
/**
|
|
112
|
-
* @see https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team
|
|
113
|
-
*/
|
|
114
|
-
"DELETE /enterprises/{enterprise}/teams/{team_slug}": Operation<"/enterprises/{enterprise}/teams/{team_slug}", "delete">;
|
|
115
103
|
/**
|
|
116
104
|
* @see https://docs.github.com/rest/gists/gists#delete-a-gist
|
|
117
105
|
*/
|
|
@@ -168,6 +156,10 @@ export interface Endpoints {
|
|
|
168
156
|
* @see https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization
|
|
169
157
|
*/
|
|
170
158
|
"DELETE /orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}": Operation<"/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", "delete">;
|
|
159
|
+
/**
|
|
160
|
+
* @see https://docs.github.com/rest/actions/policies#delete-an-organization-actions-policy
|
|
161
|
+
*/
|
|
162
|
+
"DELETE /orgs/{org}/actions/policies/{policy_id}": Operation<"/orgs/{org}/actions/policies/{policy_id}", "delete">;
|
|
171
163
|
/**
|
|
172
164
|
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization
|
|
173
165
|
*/
|
|
@@ -368,6 +360,10 @@ export interface Endpoints {
|
|
|
368
360
|
* @see https://docs.github.com/rest/projects/items#delete-project-item-for-organization
|
|
369
361
|
*/
|
|
370
362
|
"DELETE /orgs/{org}/projectsV2/{project_number}/items/{item_id}": Operation<"/orgs/{org}/projectsV2/{project_number}/items/{item_id}", "delete">;
|
|
363
|
+
/**
|
|
364
|
+
* @see https://docs.github.com/rest/orgs/custom-properties#remove-all-external-custom-property-values-for-a-property-across-all-organization-repositories
|
|
365
|
+
*/
|
|
366
|
+
"DELETE /orgs/{org}/properties/installations/values/{property_name}": Operation<"/orgs/{org}/properties/installations/values/{property_name}", "delete">;
|
|
371
367
|
/**
|
|
372
368
|
* @see https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization
|
|
373
369
|
*/
|
|
@@ -424,6 +420,10 @@ export interface Endpoints {
|
|
|
424
420
|
* @see https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key
|
|
425
421
|
*/
|
|
426
422
|
"DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}": Operation<"/repos/{owner}/{repo}/actions/caches", "delete">;
|
|
423
|
+
/**
|
|
424
|
+
* @see https://docs.github.com/rest/actions/policies#delete-a-repository-actions-policy
|
|
425
|
+
*/
|
|
426
|
+
"DELETE /repos/{owner}/{repo}/actions/policies/{policy_id}": Operation<"/repos/{owner}/{repo}/actions/policies/{policy_id}", "delete">;
|
|
427
427
|
/**
|
|
428
428
|
* @see https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository
|
|
429
429
|
*/
|
|
@@ -632,6 +632,10 @@ export interface Endpoints {
|
|
|
632
632
|
* @see https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction
|
|
633
633
|
*/
|
|
634
634
|
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", "delete">;
|
|
635
|
+
/**
|
|
636
|
+
* @see https://docs.github.com/rest/issues/issues#remove-a-related-issue
|
|
637
|
+
*/
|
|
638
|
+
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/relates_to/{issue_id}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/relates_to/{issue_id}", "delete">;
|
|
635
639
|
/**
|
|
636
640
|
* @see https://docs.github.com/rest/issues/sub-issues#remove-sub-issue
|
|
637
641
|
*/
|
|
@@ -869,7 +873,7 @@ export interface Endpoints {
|
|
|
869
873
|
*/
|
|
870
874
|
"GET /app/installation-requests": ReadonlyOperation<"/app/installation-requests", "get">;
|
|
871
875
|
/**
|
|
872
|
-
* @see https://docs.github.com/
|
|
876
|
+
* @see https://docs.github.com/rest/apps/apps#list-installations-for-the-authenticated-app
|
|
873
877
|
*/
|
|
874
878
|
"GET /app/installations": ReadonlyOperation<"/app/installations", "get">;
|
|
875
879
|
/**
|
|
@@ -881,27 +885,27 @@ export interface Endpoints {
|
|
|
881
885
|
*/
|
|
882
886
|
"GET /apps/{app_slug}": ReadonlyOperation<"/apps/{app_slug}", "get">;
|
|
883
887
|
/**
|
|
884
|
-
* @see https://docs.github.com/rest/classroom/classroom#
|
|
888
|
+
* @see https://docs.github.com/rest/classroom/classroom#closed---get-an-assignment
|
|
885
889
|
*/
|
|
886
890
|
"GET /assignments/{assignment_id}": ReadonlyOperation<"/assignments/{assignment_id}", "get">;
|
|
887
891
|
/**
|
|
888
|
-
* @see https://docs.github.com/rest/classroom/classroom#
|
|
892
|
+
* @see https://docs.github.com/rest/classroom/classroom#closed---list-accepted-assignments-for-an-assignment
|
|
889
893
|
*/
|
|
890
894
|
"GET /assignments/{assignment_id}/accepted_assignments": ReadonlyOperation<"/assignments/{assignment_id}/accepted_assignments", "get">;
|
|
891
895
|
/**
|
|
892
|
-
* @see https://docs.github.com/rest/classroom/classroom#
|
|
896
|
+
* @see https://docs.github.com/rest/classroom/classroom#closed---get-assignment-grades
|
|
893
897
|
*/
|
|
894
898
|
"GET /assignments/{assignment_id}/grades": ReadonlyOperation<"/assignments/{assignment_id}/grades", "get">;
|
|
895
899
|
/**
|
|
896
|
-
* @see https://docs.github.com/rest/classroom/classroom#
|
|
900
|
+
* @see https://docs.github.com/rest/classroom/classroom#closed---list-classrooms
|
|
897
901
|
*/
|
|
898
902
|
"GET /classrooms": ReadonlyOperation<"/classrooms", "get">;
|
|
899
903
|
/**
|
|
900
|
-
* @see https://docs.github.com/rest/classroom/classroom#
|
|
904
|
+
* @see https://docs.github.com/rest/classroom/classroom#closed---get-a-classroom
|
|
901
905
|
*/
|
|
902
906
|
"GET /classrooms/{classroom_id}": ReadonlyOperation<"/classrooms/{classroom_id}", "get">;
|
|
903
907
|
/**
|
|
904
|
-
* @see https://docs.github.com/rest/classroom/classroom#
|
|
908
|
+
* @see https://docs.github.com/rest/classroom/classroom#closed---list-assignments-for-a-classroom
|
|
905
909
|
*/
|
|
906
910
|
"GET /classrooms/{classroom_id}/assignments": ReadonlyOperation<"/classrooms/{classroom_id}/assignments", "get">;
|
|
907
911
|
/**
|
|
@@ -976,30 +980,6 @@ export interface Endpoints {
|
|
|
976
980
|
* @see https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise
|
|
977
981
|
*/
|
|
978
982
|
"GET /enterprises/{enterprise}/dependabot/repository-access": ReadonlyOperation<"/enterprises/{enterprise}/dependabot/repository-access", "get">;
|
|
979
|
-
/**
|
|
980
|
-
* @see https://docs.github.com/rest/enterprise-teams/enterprise-teams#list-enterprise-teams
|
|
981
|
-
*/
|
|
982
|
-
"GET /enterprises/{enterprise}/teams": ReadonlyOperation<"/enterprises/{enterprise}/teams", "get">;
|
|
983
|
-
/**
|
|
984
|
-
* @see https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team
|
|
985
|
-
*/
|
|
986
|
-
"GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships": ReadonlyOperation<"/enterprises/{enterprise}/teams/{enterprise-team}/memberships", "get">;
|
|
987
|
-
/**
|
|
988
|
-
* @see https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership
|
|
989
|
-
*/
|
|
990
|
-
"GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": ReadonlyOperation<"/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}", "get">;
|
|
991
|
-
/**
|
|
992
|
-
* @see https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments
|
|
993
|
-
*/
|
|
994
|
-
"GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations": ReadonlyOperation<"/enterprises/{enterprise}/teams/{enterprise-team}/organizations", "get">;
|
|
995
|
-
/**
|
|
996
|
-
* @see https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment
|
|
997
|
-
*/
|
|
998
|
-
"GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": ReadonlyOperation<"/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}", "get">;
|
|
999
|
-
/**
|
|
1000
|
-
* @see https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team
|
|
1001
|
-
*/
|
|
1002
|
-
"GET /enterprises/{enterprise}/teams/{team_slug}": ReadonlyOperation<"/enterprises/{enterprise}/teams/{team_slug}", "get">;
|
|
1003
983
|
/**
|
|
1004
984
|
* @see https://docs.github.com/rest/activity/events#list-public-events
|
|
1005
985
|
*/
|
|
@@ -1261,6 +1241,14 @@ export interface Endpoints {
|
|
|
1261
1241
|
* @see https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization
|
|
1262
1242
|
*/
|
|
1263
1243
|
"GET /orgs/{org}/actions/permissions/workflow": ReadonlyOperation<"/orgs/{org}/actions/permissions/workflow", "get">;
|
|
1244
|
+
/**
|
|
1245
|
+
* @see https://docs.github.com/rest/actions/policies#list-organization-actions-policies
|
|
1246
|
+
*/
|
|
1247
|
+
"GET /orgs/{org}/actions/policies": ReadonlyOperation<"/orgs/{org}/actions/policies", "get">;
|
|
1248
|
+
/**
|
|
1249
|
+
* @see https://docs.github.com/rest/actions/policies#get-an-organization-actions-policy
|
|
1250
|
+
*/
|
|
1251
|
+
"GET /orgs/{org}/actions/policies/{policy_id}": ReadonlyOperation<"/orgs/{org}/actions/policies/{policy_id}", "get">;
|
|
1264
1252
|
/**
|
|
1265
1253
|
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization
|
|
1266
1254
|
*/
|
|
@@ -1285,6 +1273,10 @@ export interface Endpoints {
|
|
|
1285
1273
|
* @see https://docs.github.com/rest/actions/self-hosted-runners#list-self-hosted-runners-for-an-organization
|
|
1286
1274
|
*/
|
|
1287
1275
|
"GET /orgs/{org}/actions/runners": ReadonlyOperation<"/orgs/{org}/actions/runners", "get">;
|
|
1276
|
+
/**
|
|
1277
|
+
* @see https://docs.github.com/rest/actions/self-hosted-runners#get-runner-version-end-of-life-schedule-for-an-organization
|
|
1278
|
+
*/
|
|
1279
|
+
"GET /orgs/{org}/actions/runners/deprecations/{version}": ReadonlyOperation<"/orgs/{org}/actions/runners/deprecations/{version}", "get">;
|
|
1288
1280
|
/**
|
|
1289
1281
|
* @see https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization
|
|
1290
1282
|
*/
|
|
@@ -1389,6 +1381,10 @@ export interface Endpoints {
|
|
|
1389
1381
|
* @see https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization
|
|
1390
1382
|
*/
|
|
1391
1383
|
"GET /orgs/{org}/campaigns/{campaign_number}": ReadonlyOperation<"/orgs/{org}/campaigns/{campaign_number}", "get">;
|
|
1384
|
+
/**
|
|
1385
|
+
* @see https://docs.github.com/rest/code-scanning/code-scanning#get-the-ai-scan-setting-for-an-organization
|
|
1386
|
+
*/
|
|
1387
|
+
"GET /orgs/{org}/code-scanning/ai-scan": ReadonlyOperation<"/orgs/{org}/code-scanning/ai-scan", "get">;
|
|
1392
1388
|
/**
|
|
1393
1389
|
* @see https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization
|
|
1394
1390
|
*/
|
|
@@ -1753,6 +1749,14 @@ export interface Endpoints {
|
|
|
1753
1749
|
* @see https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view
|
|
1754
1750
|
*/
|
|
1755
1751
|
"GET /orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": ReadonlyOperation<"/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items", "get">;
|
|
1752
|
+
/**
|
|
1753
|
+
* @see https://docs.github.com/rest/orgs/custom-properties#get-registered-app-installations-for-external-custom-properties
|
|
1754
|
+
*/
|
|
1755
|
+
"GET /orgs/{org}/properties/installations": ReadonlyOperation<"/orgs/{org}/properties/installations", "get">;
|
|
1756
|
+
/**
|
|
1757
|
+
* @see https://docs.github.com/rest/orgs/custom-properties#get-all-external-custom-properties-for-a-github-app-installation-in-an-organization
|
|
1758
|
+
*/
|
|
1759
|
+
"GET /orgs/{org}/properties/installations/schema": ReadonlyOperation<"/orgs/{org}/properties/installations/schema", "get">;
|
|
1756
1760
|
/**
|
|
1757
1761
|
* @see https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization
|
|
1758
1762
|
*/
|
|
@@ -1925,6 +1929,10 @@ export interface Endpoints {
|
|
|
1925
1929
|
* @see https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run
|
|
1926
1930
|
*/
|
|
1927
1931
|
"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs": ReadonlyOperation<"/repos/{owner}/{repo}/actions/jobs/{job_id}/logs", "get">;
|
|
1932
|
+
/**
|
|
1933
|
+
* @see https://docs.github.com/rest/actions/workflow-jobs#download-step-logs-for-a-workflow-run-job
|
|
1934
|
+
*/
|
|
1935
|
+
"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/steps/{step_number}/logs": ReadonlyOperation<"/repos/{owner}/{repo}/actions/jobs/{job_id}/steps/{step_number}/logs", "get">;
|
|
1928
1936
|
/**
|
|
1929
1937
|
* @see https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository
|
|
1930
1938
|
*/
|
|
@@ -1965,10 +1973,22 @@ export interface Endpoints {
|
|
|
1965
1973
|
* @see https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository
|
|
1966
1974
|
*/
|
|
1967
1975
|
"GET /repos/{owner}/{repo}/actions/permissions/workflow": ReadonlyOperation<"/repos/{owner}/{repo}/actions/permissions/workflow", "get">;
|
|
1976
|
+
/**
|
|
1977
|
+
* @see https://docs.github.com/rest/actions/policies#list-repository-actions-policies
|
|
1978
|
+
*/
|
|
1979
|
+
"GET /repos/{owner}/{repo}/actions/policies": ReadonlyOperation<"/repos/{owner}/{repo}/actions/policies", "get">;
|
|
1980
|
+
/**
|
|
1981
|
+
* @see https://docs.github.com/rest/actions/policies#get-a-repository-actions-policy
|
|
1982
|
+
*/
|
|
1983
|
+
"GET /repos/{owner}/{repo}/actions/policies/{policy_id}": ReadonlyOperation<"/repos/{owner}/{repo}/actions/policies/{policy_id}", "get">;
|
|
1968
1984
|
/**
|
|
1969
1985
|
* @see https://docs.github.com/rest/actions/self-hosted-runners#list-self-hosted-runners-for-a-repository
|
|
1970
1986
|
*/
|
|
1971
1987
|
"GET /repos/{owner}/{repo}/actions/runners": ReadonlyOperation<"/repos/{owner}/{repo}/actions/runners", "get">;
|
|
1988
|
+
/**
|
|
1989
|
+
* @see https://docs.github.com/rest/actions/self-hosted-runners#get-runner-version-end-of-life-schedule-for-a-repository
|
|
1990
|
+
*/
|
|
1991
|
+
"GET /repos/{owner}/{repo}/actions/runners/deprecations/{version}": ReadonlyOperation<"/repos/{owner}/{repo}/actions/runners/deprecations/{version}", "get">;
|
|
1972
1992
|
/**
|
|
1973
1993
|
* @see https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository
|
|
1974
1994
|
*/
|
|
@@ -2197,6 +2217,10 @@ export interface Endpoints {
|
|
|
2197
2217
|
* @see https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration
|
|
2198
2218
|
*/
|
|
2199
2219
|
"GET /repos/{owner}/{repo}/code-quality/setup": ReadonlyOperation<"/repos/{owner}/{repo}/code-quality/setup", "get">;
|
|
2220
|
+
/**
|
|
2221
|
+
* @see https://docs.github.com/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository
|
|
2222
|
+
*/
|
|
2223
|
+
"GET /repos/{owner}/{repo}/code-scanning/ai-scan": ReadonlyOperation<"/repos/{owner}/{repo}/code-scanning/ai-scan", "get">;
|
|
2200
2224
|
/**
|
|
2201
2225
|
* @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository
|
|
2202
2226
|
*/
|
|
@@ -2634,6 +2658,10 @@ export interface Endpoints {
|
|
|
2634
2658
|
* @see https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue
|
|
2635
2659
|
*/
|
|
2636
2660
|
"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions": ReadonlyOperation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions", "get">;
|
|
2661
|
+
/**
|
|
2662
|
+
* @see https://docs.github.com/rest/issues/issues#list-issues-related-to-an-issue
|
|
2663
|
+
*/
|
|
2664
|
+
"GET /repos/{owner}/{repo}/issues/{issue_number}/relates_to": ReadonlyOperation<"/repos/{owner}/{repo}/issues/{issue_number}/relates_to", "get">;
|
|
2637
2665
|
/**
|
|
2638
2666
|
* @see https://docs.github.com/rest/issues/sub-issues#list-sub-issues
|
|
2639
2667
|
*/
|
|
@@ -2882,6 +2910,10 @@ export interface Endpoints {
|
|
|
2882
2910
|
* @see https://docs.github.com/rest/activity/starring#get-stargazer-count
|
|
2883
2911
|
*/
|
|
2884
2912
|
"GET /repos/{owner}/{repo}/stargazers/count": ReadonlyOperation<"/repos/{owner}/{repo}/stargazers/count", "get">;
|
|
2913
|
+
/**
|
|
2914
|
+
* @see https://docs.github.com/rest/activity/starring#get-repository-star-history
|
|
2915
|
+
*/
|
|
2916
|
+
"GET /repos/{owner}/{repo}/stargazers/history": ReadonlyOperation<"/repos/{owner}/{repo}/stargazers/history", "get">;
|
|
2885
2917
|
/**
|
|
2886
2918
|
* @see https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity
|
|
2887
2919
|
*/
|
|
@@ -3402,10 +3434,6 @@ export interface Endpoints {
|
|
|
3402
3434
|
* @see https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise
|
|
3403
3435
|
*/
|
|
3404
3436
|
"PATCH /enterprises/{enterprise}/dependabot/repository-access": Operation<"/enterprises/{enterprise}/dependabot/repository-access", "patch">;
|
|
3405
|
-
/**
|
|
3406
|
-
* @see https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team
|
|
3407
|
-
*/
|
|
3408
|
-
"PATCH /enterprises/{enterprise}/teams/{team_slug}": Operation<"/enterprises/{enterprise}/teams/{team_slug}", "patch">;
|
|
3409
3437
|
/**
|
|
3410
3438
|
* @see https://docs.github.com/rest/reference/gists/#update-a-gist
|
|
3411
3439
|
*/
|
|
@@ -3446,6 +3474,10 @@ export interface Endpoints {
|
|
|
3446
3474
|
* @see https://docs.github.com/rest/campaigns/campaigns#update-a-campaign
|
|
3447
3475
|
*/
|
|
3448
3476
|
"PATCH /orgs/{org}/campaigns/{campaign_number}": Operation<"/orgs/{org}/campaigns/{campaign_number}", "patch">;
|
|
3477
|
+
/**
|
|
3478
|
+
* @see https://docs.github.com/rest/code-scanning/code-scanning#update-the-ai-scan-setting-for-an-organization
|
|
3479
|
+
*/
|
|
3480
|
+
"PATCH /orgs/{org}/code-scanning/ai-scan": Operation<"/orgs/{org}/code-scanning/ai-scan", "patch">;
|
|
3449
3481
|
/**
|
|
3450
3482
|
* @see https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration
|
|
3451
3483
|
*/
|
|
@@ -3478,6 +3510,14 @@ export interface Endpoints {
|
|
|
3478
3510
|
* @see https://docs.github.com/rest/projects/items#update-project-item-for-organization
|
|
3479
3511
|
*/
|
|
3480
3512
|
"PATCH /orgs/{org}/projectsV2/{project_number}/items/{item_id}": Operation<"/orgs/{org}/projectsV2/{project_number}/items/{item_id}", "patch">;
|
|
3513
|
+
/**
|
|
3514
|
+
* @see https://docs.github.com/rest/orgs/custom-properties#create-or-update-external-custom-property-values-for-organization-repositories
|
|
3515
|
+
*/
|
|
3516
|
+
"PATCH /orgs/{org}/properties/installations/values": Operation<"/orgs/{org}/properties/installations/values", "patch">;
|
|
3517
|
+
/**
|
|
3518
|
+
* @see https://docs.github.com/rest/orgs/custom-properties#create-or-update-external-custom-property-values-for-a-property-across-organization-repositories
|
|
3519
|
+
*/
|
|
3520
|
+
"PATCH /orgs/{org}/properties/installations/values/{property_name}": Operation<"/orgs/{org}/properties/installations/values/{property_name}", "patch">;
|
|
3481
3521
|
/**
|
|
3482
3522
|
* @see https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization
|
|
3483
3523
|
*/
|
|
@@ -3534,6 +3574,10 @@ export interface Endpoints {
|
|
|
3534
3574
|
* @see https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration
|
|
3535
3575
|
*/
|
|
3536
3576
|
"PATCH /repos/{owner}/{repo}/code-quality/setup": Operation<"/repos/{owner}/{repo}/code-quality/setup", "patch">;
|
|
3577
|
+
/**
|
|
3578
|
+
* @see https://docs.github.com/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository
|
|
3579
|
+
*/
|
|
3580
|
+
"PATCH /repos/{owner}/{repo}/code-scanning/ai-scan": Operation<"/repos/{owner}/{repo}/code-scanning/ai-scan", "patch">;
|
|
3537
3581
|
/**
|
|
3538
3582
|
* @see https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert
|
|
3539
3583
|
*/
|
|
@@ -3710,26 +3754,6 @@ export interface Endpoints {
|
|
|
3710
3754
|
* @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy
|
|
3711
3755
|
*/
|
|
3712
3756
|
"POST /enterprises/{enterprise}/copilot/policies/coding_agent/organizations": Operation<"/enterprises/{enterprise}/copilot/policies/coding_agent/organizations", "post">;
|
|
3713
|
-
/**
|
|
3714
|
-
* @see https://docs.github.com/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team
|
|
3715
|
-
*/
|
|
3716
|
-
"POST /enterprises/{enterprise}/teams": Operation<"/enterprises/{enterprise}/teams", "post">;
|
|
3717
|
-
/**
|
|
3718
|
-
* @see https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members
|
|
3719
|
-
*/
|
|
3720
|
-
"POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/add": Operation<"/enterprises/{enterprise}/teams/{enterprise-team}/memberships/add", "post">;
|
|
3721
|
-
/**
|
|
3722
|
-
* @see https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members
|
|
3723
|
-
*/
|
|
3724
|
-
"POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove": Operation<"/enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove", "post">;
|
|
3725
|
-
/**
|
|
3726
|
-
* @see https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments
|
|
3727
|
-
*/
|
|
3728
|
-
"POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": Operation<"/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add", "post">;
|
|
3729
|
-
/**
|
|
3730
|
-
* @see https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments
|
|
3731
|
-
*/
|
|
3732
|
-
"POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": Operation<"/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove", "post">;
|
|
3733
3757
|
/**
|
|
3734
3758
|
* @see https://docs.github.com/rest/gists/gists#create-a-gist
|
|
3735
3759
|
*/
|
|
@@ -3762,6 +3786,10 @@ export interface Endpoints {
|
|
|
3762
3786
|
* @see https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization
|
|
3763
3787
|
*/
|
|
3764
3788
|
"POST /orgs/{org}/actions/oidc/customization/properties/repo": Operation<"/orgs/{org}/actions/oidc/customization/properties/repo", "post">;
|
|
3789
|
+
/**
|
|
3790
|
+
* @see https://docs.github.com/rest/actions/policies#create-an-organization-actions-policy
|
|
3791
|
+
*/
|
|
3792
|
+
"POST /orgs/{org}/actions/policies": Operation<"/orgs/{org}/actions/policies", "post">;
|
|
3765
3793
|
/**
|
|
3766
3794
|
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization
|
|
3767
3795
|
*/
|
|
@@ -3926,6 +3954,10 @@ export interface Endpoints {
|
|
|
3926
3954
|
* @see https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project
|
|
3927
3955
|
*/
|
|
3928
3956
|
"POST /orgs/{org}/projectsV2/{project_number}/views": Operation<"/orgs/{org}/projectsV2/{project_number}/views", "post">;
|
|
3957
|
+
/**
|
|
3958
|
+
* @see https://docs.github.com/rest/orgs/custom-properties#register-an-app-installation-for-external-custom-properties
|
|
3959
|
+
*/
|
|
3960
|
+
"POST /orgs/{org}/properties/installations": Operation<"/orgs/{org}/properties/installations", "post">;
|
|
3929
3961
|
/**
|
|
3930
3962
|
* @see https://docs.github.com/rest/repos/repos#create-an-organization-repository
|
|
3931
3963
|
*/
|
|
@@ -3954,6 +3986,10 @@ export interface Endpoints {
|
|
|
3954
3986
|
* @see https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run
|
|
3955
3987
|
*/
|
|
3956
3988
|
"POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun": Operation<"/repos/{owner}/{repo}/actions/jobs/{job_id}/rerun", "post">;
|
|
3989
|
+
/**
|
|
3990
|
+
* @see https://docs.github.com/rest/actions/policies#create-a-repository-actions-policy
|
|
3991
|
+
*/
|
|
3992
|
+
"POST /repos/{owner}/{repo}/actions/policies": Operation<"/repos/{owner}/{repo}/actions/policies", "post">;
|
|
3957
3993
|
/**
|
|
3958
3994
|
* @see https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository
|
|
3959
3995
|
*/
|
|
@@ -4190,6 +4226,10 @@ export interface Endpoints {
|
|
|
4190
4226
|
* @see https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue
|
|
4191
4227
|
*/
|
|
4192
4228
|
"POST /repos/{owner}/{repo}/issues/{issue_number}/reactions": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions", "post">;
|
|
4229
|
+
/**
|
|
4230
|
+
* @see https://docs.github.com/rest/issues/issues#add-a-related-issue
|
|
4231
|
+
*/
|
|
4232
|
+
"POST /repos/{owner}/{repo}/issues/{issue_number}/relates_to": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/relates_to", "post">;
|
|
4193
4233
|
/**
|
|
4194
4234
|
* @see https://docs.github.com/rest/issues/sub-issues#add-sub-issue
|
|
4195
4235
|
*/
|
|
@@ -4262,6 +4302,10 @@ export interface Endpoints {
|
|
|
4262
4302
|
* @see https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request
|
|
4263
4303
|
*/
|
|
4264
4304
|
"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", "post">;
|
|
4305
|
+
/**
|
|
4306
|
+
* @see https://docs.github.com/rest/pulls/review-requests#rerequest-reviewers-for-a-pull-request
|
|
4307
|
+
*/
|
|
4308
|
+
"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers/rerequest": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers/rerequest", "post">;
|
|
4265
4309
|
/**
|
|
4266
4310
|
* @see https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request
|
|
4267
4311
|
*/
|
|
@@ -4462,14 +4506,6 @@ export interface Endpoints {
|
|
|
4462
4506
|
* @see https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise
|
|
4463
4507
|
*/
|
|
4464
4508
|
"PUT /enterprises/{enterprise}/dependabot/repository-access/default-level": Operation<"/enterprises/{enterprise}/dependabot/repository-access/default-level", "put">;
|
|
4465
|
-
/**
|
|
4466
|
-
* @see https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member
|
|
4467
|
-
*/
|
|
4468
|
-
"PUT /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": Operation<"/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}", "put">;
|
|
4469
|
-
/**
|
|
4470
|
-
* @see https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment
|
|
4471
|
-
*/
|
|
4472
|
-
"PUT /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": Operation<"/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}", "put">;
|
|
4473
4509
|
/**
|
|
4474
4510
|
* @see https://docs.github.com/rest/gists/gists#star-a-gist
|
|
4475
4511
|
*/
|
|
@@ -4538,6 +4574,10 @@ export interface Endpoints {
|
|
|
4538
4574
|
* @see https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization
|
|
4539
4575
|
*/
|
|
4540
4576
|
"PUT /orgs/{org}/actions/permissions/workflow": Operation<"/orgs/{org}/actions/permissions/workflow", "put">;
|
|
4577
|
+
/**
|
|
4578
|
+
* @see https://docs.github.com/rest/actions/policies#update-an-organization-actions-policy
|
|
4579
|
+
*/
|
|
4580
|
+
"PUT /orgs/{org}/actions/policies/{policy_id}": Operation<"/orgs/{org}/actions/policies/{policy_id}", "put">;
|
|
4541
4581
|
/**
|
|
4542
4582
|
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization
|
|
4543
4583
|
*/
|
|
@@ -4766,6 +4806,10 @@ export interface Endpoints {
|
|
|
4766
4806
|
* @see https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository
|
|
4767
4807
|
*/
|
|
4768
4808
|
"PUT /repos/{owner}/{repo}/actions/permissions/workflow": Operation<"/repos/{owner}/{repo}/actions/permissions/workflow", "put">;
|
|
4809
|
+
/**
|
|
4810
|
+
* @see https://docs.github.com/rest/actions/policies#update-a-repository-actions-policy
|
|
4811
|
+
*/
|
|
4812
|
+
"PUT /repos/{owner}/{repo}/actions/policies/{policy_id}": Operation<"/repos/{owner}/{repo}/actions/policies/{policy_id}", "put">;
|
|
4769
4813
|
/**
|
|
4770
4814
|
* @see https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository
|
|
4771
4815
|
*/
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octokit/types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "19.0.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": "^
|
|
10
|
+
"@octokit/openapi-types": "^30.0.0"
|
|
11
11
|
},
|
|
12
12
|
"repository": "github:octokit/types.ts",
|
|
13
13
|
"keywords": [
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"typescript": "^5.0.0"
|
|
32
32
|
},
|
|
33
33
|
"octokit": {
|
|
34
|
-
"openapi-version": "
|
|
34
|
+
"openapi-version": "24.0.0"
|
|
35
35
|
},
|
|
36
36
|
"files": [
|
|
37
37
|
"dist-types/**"
|