@octokit/types 6.34.0 → 6.35.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-node/index.js +1 -1
- package/dist-src/VERSION.js +1 -1
- package/dist-types/VERSION.d.ts +1 -1
- package/dist-types/generated/Endpoints.d.ts +396 -44
- package/dist-web/index.js +1 -1
- package/package.json +4 -4
package/dist-node/index.js
CHANGED
package/dist-src/VERSION.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "6.
|
|
1
|
+
export const VERSION = "6.35.0";
|
package/dist-types/VERSION.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "6.
|
|
1
|
+
export declare const VERSION = "6.35.0";
|
|
@@ -82,25 +82,33 @@ export interface Endpoints {
|
|
|
82
82
|
*/
|
|
83
83
|
"DELETE /authorizations/{authorization_id}": Operation<"/authorizations/{authorization_id}", "delete">;
|
|
84
84
|
/**
|
|
85
|
-
* @see https://docs.github.com/rest/reference/
|
|
85
|
+
* @see https://docs.github.com/rest/reference/actions#disable-a-selected-organization-for-github-actions-in-an-enterprise
|
|
86
86
|
*/
|
|
87
87
|
"DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}": Operation<"/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", "delete">;
|
|
88
88
|
/**
|
|
89
|
-
* @see https://docs.github.com/rest/reference/
|
|
89
|
+
* @see https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-enterprise
|
|
90
90
|
*/
|
|
91
91
|
"DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", "delete">;
|
|
92
92
|
/**
|
|
93
|
-
* @see https://docs.github.com/rest/reference/
|
|
93
|
+
* @see https://docs.github.com/rest/reference/actions#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise
|
|
94
94
|
*/
|
|
95
95
|
"DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", "delete">;
|
|
96
96
|
/**
|
|
97
|
-
* @see https://docs.github.com/rest/reference/
|
|
97
|
+
* @see https://docs.github.com/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-enterprise
|
|
98
98
|
*/
|
|
99
99
|
"DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", "delete">;
|
|
100
100
|
/**
|
|
101
|
-
* @see https://docs.github.com/rest/reference/
|
|
101
|
+
* @see https://docs.github.com/rest/reference/actions#delete-self-hosted-runner-from-an-enterprise
|
|
102
102
|
*/
|
|
103
103
|
"DELETE /enterprises/{enterprise}/actions/runners/{runner_id}": Operation<"/enterprises/{enterprise}/actions/runners/{runner_id}", "delete">;
|
|
104
|
+
/**
|
|
105
|
+
* @see https://docs.github.com/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise
|
|
106
|
+
*/
|
|
107
|
+
"DELETE /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation<"/enterprises/{enterprise}/actions/runners/{runner_id}/labels", "delete">;
|
|
108
|
+
/**
|
|
109
|
+
* @see https://docs.github.com/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise
|
|
110
|
+
*/
|
|
111
|
+
"DELETE /enterprises/{enterprise}/actions/runners/{runner_id}/labels/{name}": Operation<"/enterprises/{enterprise}/actions/runners/{runner_id}/labels/{name}", "delete">;
|
|
104
112
|
/**
|
|
105
113
|
* @see https://docs.github.com/rest/reference/gists#delete-a-gist
|
|
106
114
|
*/
|
|
@@ -141,6 +149,14 @@ export interface Endpoints {
|
|
|
141
149
|
* @see https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization
|
|
142
150
|
*/
|
|
143
151
|
"DELETE /orgs/{org}/actions/runners/{runner_id}": Operation<"/orgs/{org}/actions/runners/{runner_id}", "delete">;
|
|
152
|
+
/**
|
|
153
|
+
* @see https://docs.github.com/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization
|
|
154
|
+
*/
|
|
155
|
+
"DELETE /orgs/{org}/actions/runners/{runner_id}/labels": Operation<"/orgs/{org}/actions/runners/{runner_id}/labels", "delete">;
|
|
156
|
+
/**
|
|
157
|
+
* @see https://docs.github.com/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization
|
|
158
|
+
*/
|
|
159
|
+
"DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}": Operation<"/orgs/{org}/actions/runners/{runner_id}/labels/{name}", "delete">;
|
|
144
160
|
/**
|
|
145
161
|
* @see https://docs.github.com/rest/reference/actions#delete-an-organization-secret
|
|
146
162
|
*/
|
|
@@ -157,6 +173,14 @@ export interface Endpoints {
|
|
|
157
173
|
* @see https://docs.github.com/rest/reference/orgs#remove-a-saml-sso-authorization-for-an-organization
|
|
158
174
|
*/
|
|
159
175
|
"DELETE /orgs/{org}/credential-authorizations/{credential_id}": Operation<"/orgs/{org}/credential-authorizations/{credential_id}", "delete">;
|
|
176
|
+
/**
|
|
177
|
+
* @see https://docs.github.com/rest/reference/dependabot#delete-an-organization-secret
|
|
178
|
+
*/
|
|
179
|
+
"DELETE /orgs/{org}/dependabot/secrets/{secret_name}": Operation<"/orgs/{org}/dependabot/secrets/{secret_name}", "delete">;
|
|
180
|
+
/**
|
|
181
|
+
* @see https://docs.github.com/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret
|
|
182
|
+
*/
|
|
183
|
+
"DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}", "delete">;
|
|
160
184
|
/**
|
|
161
185
|
* @see https://docs.github.com/rest/reference/orgs#delete-an-organization-webhook
|
|
162
186
|
*/
|
|
@@ -221,6 +245,10 @@ export interface Endpoints {
|
|
|
221
245
|
* @see https://docs.github.com/rest/reference/reactions#delete-team-discussion-reaction
|
|
222
246
|
*/
|
|
223
247
|
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", "delete">;
|
|
248
|
+
/**
|
|
249
|
+
* @see https://docs.github.com/rest/reference/teams#unlink-external-idp-group-team-connection
|
|
250
|
+
*/
|
|
251
|
+
"DELETE /orgs/{org}/teams/{team_slug}/external-groups": Operation<"/orgs/{org}/teams/{team_slug}/external-groups", "delete">;
|
|
224
252
|
/**
|
|
225
253
|
* @see https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user
|
|
226
254
|
*/
|
|
@@ -249,10 +277,6 @@ export interface Endpoints {
|
|
|
249
277
|
* @see https://docs.github.com/rest/reference/projects#remove-project-collaborator
|
|
250
278
|
*/
|
|
251
279
|
"DELETE /projects/{project_id}/collaborators/{username}": Operation<"/projects/{project_id}/collaborators/{username}", "delete">;
|
|
252
|
-
/**
|
|
253
|
-
* @see https://docs.github.com/rest/reference/reactions/#delete-a-reaction-legacy
|
|
254
|
-
*/
|
|
255
|
-
"DELETE /reactions/{reaction_id}": Operation<"/reactions/{reaction_id}", "delete">;
|
|
256
280
|
/**
|
|
257
281
|
* @see https://docs.github.com/rest/reference/repos#delete-a-repository
|
|
258
282
|
*/
|
|
@@ -265,6 +289,14 @@ export interface Endpoints {
|
|
|
265
289
|
* @see https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository
|
|
266
290
|
*/
|
|
267
291
|
"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}": Operation<"/repos/{owner}/{repo}/actions/runners/{runner_id}", "delete">;
|
|
292
|
+
/**
|
|
293
|
+
* @see https://docs.github.com/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository
|
|
294
|
+
*/
|
|
295
|
+
"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels": Operation<"/repos/{owner}/{repo}/actions/runners/{runner_id}/labels", "delete">;
|
|
296
|
+
/**
|
|
297
|
+
* @see https://docs.github.com/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository
|
|
298
|
+
*/
|
|
299
|
+
"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}": Operation<"/repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}", "delete">;
|
|
268
300
|
/**
|
|
269
301
|
* @see https://docs.github.com/rest/reference/actions#delete-a-workflow-run
|
|
270
302
|
*/
|
|
@@ -329,6 +361,10 @@ export interface Endpoints {
|
|
|
329
361
|
* @see https://docs.github.com/rest/reference/code-scanning#delete-a-code-scanning-analysis-from-a-repository
|
|
330
362
|
*/
|
|
331
363
|
"DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}": Operation<"/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}", "delete">;
|
|
364
|
+
/**
|
|
365
|
+
* @see https://docs.github.com/rest/reference/codespaces#delete-a-repository-secret
|
|
366
|
+
*/
|
|
367
|
+
"DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/codespaces/secrets/{secret_name}", "delete">;
|
|
332
368
|
/**
|
|
333
369
|
* @see https://docs.github.com/rest/reference/repos#remove-a-repository-collaborator
|
|
334
370
|
*/
|
|
@@ -345,6 +381,10 @@ export interface Endpoints {
|
|
|
345
381
|
* @see https://docs.github.com/rest/reference/repos#delete-a-file
|
|
346
382
|
*/
|
|
347
383
|
"DELETE /repos/{owner}/{repo}/contents/{path}": Operation<"/repos/{owner}/{repo}/contents/{path}", "delete">;
|
|
384
|
+
/**
|
|
385
|
+
* @see https://docs.github.com/rest/reference/dependabot#delete-a-repository-secret
|
|
386
|
+
*/
|
|
387
|
+
"DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/dependabot/secrets/{secret_name}", "delete">;
|
|
348
388
|
/**
|
|
349
389
|
* @see https://docs.github.com/rest/reference/repos#delete-a-deployment
|
|
350
390
|
*/
|
|
@@ -445,10 +485,18 @@ export interface Endpoints {
|
|
|
445
485
|
* @see https://docs.github.com/rest/reference/repos#delete-a-release
|
|
446
486
|
*/
|
|
447
487
|
"DELETE /repos/{owner}/{repo}/releases/{release_id}": Operation<"/repos/{owner}/{repo}/releases/{release_id}", "delete">;
|
|
488
|
+
/**
|
|
489
|
+
* @see https://docs.github.com/rest/reference/reactions/#delete-a-release-reaction
|
|
490
|
+
*/
|
|
491
|
+
"DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}": Operation<"/repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}", "delete">;
|
|
448
492
|
/**
|
|
449
493
|
* @see https://docs.github.com/rest/reference/activity#delete-a-repository-subscription
|
|
450
494
|
*/
|
|
451
495
|
"DELETE /repos/{owner}/{repo}/subscription": Operation<"/repos/{owner}/{repo}/subscription", "delete">;
|
|
496
|
+
/**
|
|
497
|
+
* @see https://docs.github.com/rest/reference/repos#delete-tag-protection-state-for-a-repository
|
|
498
|
+
*/
|
|
499
|
+
"DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}": Operation<"/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", "delete">;
|
|
452
500
|
/**
|
|
453
501
|
* @see https://docs.github.com/rest/reference/repos#disable-vulnerability-alerts
|
|
454
502
|
*/
|
|
@@ -501,6 +549,18 @@ export interface Endpoints {
|
|
|
501
549
|
* @see https://docs.github.com/rest/reference/users#unblock-a-user
|
|
502
550
|
*/
|
|
503
551
|
"DELETE /user/blocks/{username}": Operation<"/user/blocks/{username}", "delete">;
|
|
552
|
+
/**
|
|
553
|
+
* @see https://docs.github.com/rest/reference/codespaces#delete-a-secret-for-the-authenticated-user
|
|
554
|
+
*/
|
|
555
|
+
"DELETE /user/codespaces/secrets/{secret_name}": Operation<"/user/codespaces/secrets/{secret_name}", "delete">;
|
|
556
|
+
/**
|
|
557
|
+
* @see https://docs.github.com/rest/reference/codespaces#remove-a-selected-repository-from-a-user-secret
|
|
558
|
+
*/
|
|
559
|
+
"DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation<"/user/codespaces/secrets/{secret_name}/repositories/{repository_id}", "delete">;
|
|
560
|
+
/**
|
|
561
|
+
* @see https://docs.github.com/rest/reference/codespaces#delete-a-codespace-for-the-authenticated-user
|
|
562
|
+
*/
|
|
563
|
+
"DELETE /user/codespaces/{codespace_name}": Operation<"/user/codespaces/{codespace_name}", "delete">;
|
|
504
564
|
/**
|
|
505
565
|
* @see https://docs.github.com/rest/reference/users#delete-an-email-address-for-the-authenticated-user
|
|
506
566
|
*/
|
|
@@ -618,53 +678,77 @@ export interface Endpoints {
|
|
|
618
678
|
*/
|
|
619
679
|
"GET /emojis": Operation<"/emojis", "get">;
|
|
620
680
|
/**
|
|
621
|
-
* @see https://docs.github.com/rest/reference/enterprise-admin#get-github-
|
|
681
|
+
* @see https://docs.github.com/rest/reference/enterprise-admin#get-github-enterprise-server-statistics
|
|
682
|
+
*/
|
|
683
|
+
"GET /enterprise-installation/{enterprise_or_org}/server-statistics": Operation<"/enterprise-installation/{enterprise_or_org}/server-statistics", "get">;
|
|
684
|
+
/**
|
|
685
|
+
* @see https://docs.github.com/rest/reference/actions#get-github-actions-cache-usage-for-an-enterprise
|
|
686
|
+
*/
|
|
687
|
+
"GET /enterprises/{enterprise}/actions/cache/usage": Operation<"/enterprises/{enterprise}/actions/cache/usage", "get">;
|
|
688
|
+
/**
|
|
689
|
+
* @see https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-an-enterprise
|
|
622
690
|
*/
|
|
623
691
|
"GET /enterprises/{enterprise}/actions/permissions": Operation<"/enterprises/{enterprise}/actions/permissions", "get">;
|
|
624
692
|
/**
|
|
625
|
-
* @see https://docs.github.com/rest/reference/
|
|
693
|
+
* @see https://docs.github.com/rest/reference/actions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise
|
|
626
694
|
*/
|
|
627
695
|
"GET /enterprises/{enterprise}/actions/permissions/organizations": Operation<"/enterprises/{enterprise}/actions/permissions/organizations", "get">;
|
|
628
696
|
/**
|
|
629
|
-
* @see https://docs.github.com/rest/reference/
|
|
697
|
+
* @see https://docs.github.com/rest/reference/actions#get-allowed-actions-for-an-enterprise
|
|
630
698
|
*/
|
|
631
699
|
"GET /enterprises/{enterprise}/actions/permissions/selected-actions": Operation<"/enterprises/{enterprise}/actions/permissions/selected-actions", "get">;
|
|
632
700
|
/**
|
|
633
|
-
* @see https://docs.github.com/rest/reference/
|
|
701
|
+
* @see https://docs.github.com/rest/reference/actions#get-default-workflow-permissions-for-an-enterprise
|
|
702
|
+
*/
|
|
703
|
+
"GET /enterprises/{enterprise}/actions/permissions/workflow": Operation<"/enterprises/{enterprise}/actions/permissions/workflow", "get">;
|
|
704
|
+
/**
|
|
705
|
+
* @see https://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-for-an-enterprise
|
|
634
706
|
*/
|
|
635
707
|
"GET /enterprises/{enterprise}/actions/runner-groups": Operation<"/enterprises/{enterprise}/actions/runner-groups", "get">;
|
|
636
708
|
/**
|
|
637
|
-
* @see https://docs.github.com/rest/reference/
|
|
709
|
+
* @see https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-group-for-an-enterprise
|
|
638
710
|
*/
|
|
639
711
|
"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", "get">;
|
|
640
712
|
/**
|
|
641
|
-
* @see https://docs.github.com/rest/reference/
|
|
713
|
+
* @see https://docs.github.com/rest/reference/actions#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise
|
|
642
714
|
*/
|
|
643
715
|
"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", "get">;
|
|
644
716
|
/**
|
|
645
|
-
* @see https://docs.github.com/rest/reference/
|
|
717
|
+
* @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-enterprise
|
|
646
718
|
*/
|
|
647
719
|
"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", "get">;
|
|
648
720
|
/**
|
|
649
|
-
* @see https://docs.github.com/rest/reference/
|
|
721
|
+
* @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-an-enterprise
|
|
650
722
|
*/
|
|
651
723
|
"GET /enterprises/{enterprise}/actions/runners": Operation<"/enterprises/{enterprise}/actions/runners", "get">;
|
|
652
724
|
/**
|
|
653
|
-
* @see https://docs.github.com/rest/reference/
|
|
725
|
+
* @see https://docs.github.com/rest/reference/actions#list-runner-applications-for-an-enterprise
|
|
654
726
|
*/
|
|
655
727
|
"GET /enterprises/{enterprise}/actions/runners/downloads": Operation<"/enterprises/{enterprise}/actions/runners/downloads", "get">;
|
|
656
728
|
/**
|
|
657
|
-
* @see https://docs.github.com/rest/reference/
|
|
729
|
+
* @see https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-an-enterprise
|
|
658
730
|
*/
|
|
659
731
|
"GET /enterprises/{enterprise}/actions/runners/{runner_id}": Operation<"/enterprises/{enterprise}/actions/runners/{runner_id}", "get">;
|
|
732
|
+
/**
|
|
733
|
+
* @see https://docs.github.com/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-an-enterprise
|
|
734
|
+
*/
|
|
735
|
+
"GET /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation<"/enterprises/{enterprise}/actions/runners/{runner_id}/labels", "get">;
|
|
660
736
|
/**
|
|
661
737
|
* @see https://docs.github.com/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise
|
|
662
738
|
*/
|
|
663
739
|
"GET /enterprises/{enterprise}/audit-log": Operation<"/enterprises/{enterprise}/audit-log", "get">;
|
|
740
|
+
/**
|
|
741
|
+
* @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-enterprise
|
|
742
|
+
*/
|
|
743
|
+
"GET /enterprises/{enterprise}/secret-scanning/alerts": Operation<"/enterprises/{enterprise}/secret-scanning/alerts", "get">;
|
|
664
744
|
/**
|
|
665
745
|
* @see https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-enterprise
|
|
666
746
|
*/
|
|
667
747
|
"GET /enterprises/{enterprise}/settings/billing/actions": Operation<"/enterprises/{enterprise}/settings/billing/actions", "get">;
|
|
748
|
+
/**
|
|
749
|
+
* @see https://docs.github.com/rest/reference/billing#export-advanced-security-active-committers-data-for-enterprise
|
|
750
|
+
*/
|
|
751
|
+
"GET /enterprises/{enterprise}/settings/billing/advanced-security": Operation<"/enterprises/{enterprise}/settings/billing/advanced-security", "get">;
|
|
668
752
|
/**
|
|
669
753
|
* @see https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-an-enterprise
|
|
670
754
|
*/
|
|
@@ -797,10 +881,22 @@ export interface Endpoints {
|
|
|
797
881
|
* @see https://docs.github.com/rest/reference/orgs#list-organizations
|
|
798
882
|
*/
|
|
799
883
|
"GET /organizations": Operation<"/organizations", "get">;
|
|
884
|
+
/**
|
|
885
|
+
* @see https://docs.github.com/rest/reference/orgs#list-custom-repository-roles-in-an-organization
|
|
886
|
+
*/
|
|
887
|
+
"GET /organizations/{organization_id}/custom_roles": Operation<"/organizations/{organization_id}/custom_roles", "get">;
|
|
800
888
|
/**
|
|
801
889
|
* @see https://docs.github.com/rest/reference/orgs#get-an-organization
|
|
802
890
|
*/
|
|
803
891
|
"GET /orgs/{org}": Operation<"/orgs/{org}", "get">;
|
|
892
|
+
/**
|
|
893
|
+
* @see https://docs.github.com/rest/reference/actions#get-github-actions-cache-usage-for-an-organization
|
|
894
|
+
*/
|
|
895
|
+
"GET /orgs/{org}/actions/cache/usage": Operation<"/orgs/{org}/actions/cache/usage", "get">;
|
|
896
|
+
/**
|
|
897
|
+
* @see https://docs.github.com/rest/reference/actions#list-repositories-with-github-actions-cache-usage-for-an-organization
|
|
898
|
+
*/
|
|
899
|
+
"GET /orgs/{org}/actions/cache/usage-by-repository": Operation<"/orgs/{org}/actions/cache/usage-by-repository", "get">;
|
|
804
900
|
/**
|
|
805
901
|
* @see https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-an-organization
|
|
806
902
|
*/
|
|
@@ -813,6 +909,10 @@ export interface Endpoints {
|
|
|
813
909
|
* @see https://docs.github.com/rest/reference/actions#get-allowed-actions-for-an-organization
|
|
814
910
|
*/
|
|
815
911
|
"GET /orgs/{org}/actions/permissions/selected-actions": Operation<"/orgs/{org}/actions/permissions/selected-actions", "get">;
|
|
912
|
+
/**
|
|
913
|
+
* @see https://docs.github.com/rest/reference/actions#get-default-workflow-permissions
|
|
914
|
+
*/
|
|
915
|
+
"GET /orgs/{org}/actions/permissions/workflow": Operation<"/orgs/{org}/actions/permissions/workflow", "get">;
|
|
816
916
|
/**
|
|
817
917
|
* @see https://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization
|
|
818
918
|
*/
|
|
@@ -841,6 +941,10 @@ export interface Endpoints {
|
|
|
841
941
|
* @see https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-an-organization
|
|
842
942
|
*/
|
|
843
943
|
"GET /orgs/{org}/actions/runners/{runner_id}": Operation<"/orgs/{org}/actions/runners/{runner_id}", "get">;
|
|
944
|
+
/**
|
|
945
|
+
* @see https://docs.github.com/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-an-organization
|
|
946
|
+
*/
|
|
947
|
+
"GET /orgs/{org}/actions/runners/{runner_id}/labels": Operation<"/orgs/{org}/actions/runners/{runner_id}/labels", "get">;
|
|
844
948
|
/**
|
|
845
949
|
* @see https://docs.github.com/rest/reference/actions#list-organization-secrets
|
|
846
950
|
*/
|
|
@@ -869,14 +973,42 @@ export interface Endpoints {
|
|
|
869
973
|
* @see https://docs.github.com/rest/reference/orgs#check-if-a-user-is-blocked-by-an-organization
|
|
870
974
|
*/
|
|
871
975
|
"GET /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "get">;
|
|
976
|
+
/**
|
|
977
|
+
* @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-by-organization
|
|
978
|
+
*/
|
|
979
|
+
"GET /orgs/{org}/code-scanning/alerts": Operation<"/orgs/{org}/code-scanning/alerts", "get">;
|
|
872
980
|
/**
|
|
873
981
|
* @see https://docs.github.com/rest/reference/orgs#list-saml-sso-authorizations-for-an-organization
|
|
874
982
|
*/
|
|
875
983
|
"GET /orgs/{org}/credential-authorizations": Operation<"/orgs/{org}/credential-authorizations", "get">;
|
|
984
|
+
/**
|
|
985
|
+
* @see https://docs.github.com/rest/reference/dependabot#list-organization-secrets
|
|
986
|
+
*/
|
|
987
|
+
"GET /orgs/{org}/dependabot/secrets": Operation<"/orgs/{org}/dependabot/secrets", "get">;
|
|
988
|
+
/**
|
|
989
|
+
* @see https://docs.github.com/rest/reference/dependabot#get-an-organization-public-key
|
|
990
|
+
*/
|
|
991
|
+
"GET /orgs/{org}/dependabot/secrets/public-key": Operation<"/orgs/{org}/dependabot/secrets/public-key", "get">;
|
|
992
|
+
/**
|
|
993
|
+
* @see https://docs.github.com/rest/reference/dependabot#get-an-organization-secret
|
|
994
|
+
*/
|
|
995
|
+
"GET /orgs/{org}/dependabot/secrets/{secret_name}": Operation<"/orgs/{org}/dependabot/secrets/{secret_name}", "get">;
|
|
996
|
+
/**
|
|
997
|
+
* @see https://docs.github.com/rest/reference/dependabot#list-selected-repositories-for-an-organization-secret
|
|
998
|
+
*/
|
|
999
|
+
"GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories": Operation<"/orgs/{org}/dependabot/secrets/{secret_name}/repositories", "get">;
|
|
876
1000
|
/**
|
|
877
1001
|
* @see https://docs.github.com/rest/reference/activity#list-public-organization-events
|
|
878
1002
|
*/
|
|
879
1003
|
"GET /orgs/{org}/events": Operation<"/orgs/{org}/events", "get">;
|
|
1004
|
+
/**
|
|
1005
|
+
* @see https://docs.github.com/rest/reference/teams#external-idp-group-info-for-an-organization
|
|
1006
|
+
*/
|
|
1007
|
+
"GET /orgs/{org}/external-group/{group_id}": Operation<"/orgs/{org}/external-group/{group_id}", "get">;
|
|
1008
|
+
/**
|
|
1009
|
+
* @see https://docs.github.com/rest/reference/teams#list-external-idp-groups-for-an-organization
|
|
1010
|
+
*/
|
|
1011
|
+
"GET /orgs/{org}/external-groups": Operation<"/orgs/{org}/external-groups", "get">;
|
|
880
1012
|
/**
|
|
881
1013
|
* @see https://docs.github.com/rest/reference/orgs#list-failed-organization-invitations
|
|
882
1014
|
*/
|
|
@@ -990,13 +1122,17 @@ export interface Endpoints {
|
|
|
990
1122
|
*/
|
|
991
1123
|
"GET /orgs/{org}/repos": Operation<"/orgs/{org}/repos", "get">;
|
|
992
1124
|
/**
|
|
993
|
-
* @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-
|
|
1125
|
+
* @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-organization
|
|
994
1126
|
*/
|
|
995
1127
|
"GET /orgs/{org}/secret-scanning/alerts": Operation<"/orgs/{org}/secret-scanning/alerts", "get">;
|
|
996
1128
|
/**
|
|
997
1129
|
* @see https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-organization
|
|
998
1130
|
*/
|
|
999
1131
|
"GET /orgs/{org}/settings/billing/actions": Operation<"/orgs/{org}/settings/billing/actions", "get">;
|
|
1132
|
+
/**
|
|
1133
|
+
* @see https://docs.github.com/rest/reference/billing#get-github-advanced-security-active-committers-for-an-organization
|
|
1134
|
+
*/
|
|
1135
|
+
"GET /orgs/{org}/settings/billing/advanced-security": Operation<"/orgs/{org}/settings/billing/advanced-security", "get">;
|
|
1000
1136
|
/**
|
|
1001
1137
|
* @see https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-an-organization
|
|
1002
1138
|
*/
|
|
@@ -1041,6 +1177,10 @@ export interface Endpoints {
|
|
|
1041
1177
|
* @see https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion
|
|
1042
1178
|
*/
|
|
1043
1179
|
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", "get">;
|
|
1180
|
+
/**
|
|
1181
|
+
* @see https://docs.github.com/rest/reference/teams#list-external-idp-group-team-connection
|
|
1182
|
+
*/
|
|
1183
|
+
"GET /orgs/{org}/teams/{team_slug}/external-groups": Operation<"/orgs/{org}/teams/{team_slug}/external-groups", "get">;
|
|
1044
1184
|
/**
|
|
1045
1185
|
* @see https://docs.github.com/rest/reference/teams#list-pending-team-invitations
|
|
1046
1186
|
*/
|
|
@@ -1125,6 +1265,10 @@ export interface Endpoints {
|
|
|
1125
1265
|
* @see https://docs.github.com/rest/reference/actions#download-an-artifact
|
|
1126
1266
|
*/
|
|
1127
1267
|
"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}": Operation<"/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}", "get">;
|
|
1268
|
+
/**
|
|
1269
|
+
* @see https://docs.github.com/rest/reference/actions#get-github-actions-cache-usage-for-a-repository
|
|
1270
|
+
*/
|
|
1271
|
+
"GET /repos/{owner}/{repo}/actions/cache/usage": Operation<"/repos/{owner}/{repo}/actions/cache/usage", "get">;
|
|
1128
1272
|
/**
|
|
1129
1273
|
* @see https://docs.github.com/rest/reference/actions#get-a-job-for-a-workflow-run
|
|
1130
1274
|
*/
|
|
@@ -1137,10 +1281,18 @@ export interface Endpoints {
|
|
|
1137
1281
|
* @see https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-a-repository
|
|
1138
1282
|
*/
|
|
1139
1283
|
"GET /repos/{owner}/{repo}/actions/permissions": Operation<"/repos/{owner}/{repo}/actions/permissions", "get">;
|
|
1284
|
+
/**
|
|
1285
|
+
* @see https://docs.github.com/rest/reference/actions#get-workflow-access-level-to-a-repository
|
|
1286
|
+
*/
|
|
1287
|
+
"GET /repos/{owner}/{repo}/actions/permissions/access": Operation<"/repos/{owner}/{repo}/actions/permissions/access", "get">;
|
|
1140
1288
|
/**
|
|
1141
1289
|
* @see https://docs.github.com/rest/reference/actions#get-allowed-actions-for-a-repository
|
|
1142
1290
|
*/
|
|
1143
1291
|
"GET /repos/{owner}/{repo}/actions/permissions/selected-actions": Operation<"/repos/{owner}/{repo}/actions/permissions/selected-actions", "get">;
|
|
1292
|
+
/**
|
|
1293
|
+
* @see https://docs.github.com/rest/reference/actions#get-default-workflow-permissions-for-a-repository
|
|
1294
|
+
*/
|
|
1295
|
+
"GET /repos/{owner}/{repo}/actions/permissions/workflow": Operation<"/repos/{owner}/{repo}/actions/permissions/workflow", "get">;
|
|
1144
1296
|
/**
|
|
1145
1297
|
* @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-a-repository
|
|
1146
1298
|
*/
|
|
@@ -1153,6 +1305,10 @@ export interface Endpoints {
|
|
|
1153
1305
|
* @see https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-a-repository
|
|
1154
1306
|
*/
|
|
1155
1307
|
"GET /repos/{owner}/{repo}/actions/runners/{runner_id}": Operation<"/repos/{owner}/{repo}/actions/runners/{runner_id}", "get">;
|
|
1308
|
+
/**
|
|
1309
|
+
* @see https://docs.github.com/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-a-repository
|
|
1310
|
+
*/
|
|
1311
|
+
"GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels": Operation<"/repos/{owner}/{repo}/actions/runners/{runner_id}/labels", "get">;
|
|
1156
1312
|
/**
|
|
1157
1313
|
* @see https://docs.github.com/rest/reference/actions#list-workflow-runs-for-a-repository
|
|
1158
1314
|
*/
|
|
@@ -1334,6 +1490,34 @@ export interface Endpoints {
|
|
|
1334
1490
|
* @see https://docs.github.com/rest/reference/code-scanning#list-recent-code-scanning-analyses-for-a-repository
|
|
1335
1491
|
*/
|
|
1336
1492
|
"GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}": Operation<"/repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}", "get">;
|
|
1493
|
+
/**
|
|
1494
|
+
* @see https://docs.github.com/rest/reference/repos#list-codeowners-errors
|
|
1495
|
+
*/
|
|
1496
|
+
"GET /repos/{owner}/{repo}/codeowners/errors": Operation<"/repos/{owner}/{repo}/codeowners/errors", "get">;
|
|
1497
|
+
/**
|
|
1498
|
+
* @see https://docs.github.com/rest/reference/codespaces#list-codespaces-in-a-repository-for-the-authenticated-user
|
|
1499
|
+
*/
|
|
1500
|
+
"GET /repos/{owner}/{repo}/codespaces": Operation<"/repos/{owner}/{repo}/codespaces", "get">;
|
|
1501
|
+
/**
|
|
1502
|
+
* @see https://docs.github.com/rest/reference/codespaces#list-devcontainers-in-a-repository-for-the-authenticated-user
|
|
1503
|
+
*/
|
|
1504
|
+
"GET /repos/{owner}/{repo}/codespaces/devcontainers": Operation<"/repos/{owner}/{repo}/codespaces/devcontainers", "get">;
|
|
1505
|
+
/**
|
|
1506
|
+
* @see https://docs.github.com/rest/reference/codespaces#list-available-machine-types-for-a-repository
|
|
1507
|
+
*/
|
|
1508
|
+
"GET /repos/{owner}/{repo}/codespaces/machines": Operation<"/repos/{owner}/{repo}/codespaces/machines", "get">;
|
|
1509
|
+
/**
|
|
1510
|
+
* @see https://docs.github.com/rest/reference/codespaces#list-repository-secrets
|
|
1511
|
+
*/
|
|
1512
|
+
"GET /repos/{owner}/{repo}/codespaces/secrets": Operation<"/repos/{owner}/{repo}/codespaces/secrets", "get">;
|
|
1513
|
+
/**
|
|
1514
|
+
* @see https://docs.github.com/rest/reference/codespaces#get-a-repository-public-key
|
|
1515
|
+
*/
|
|
1516
|
+
"GET /repos/{owner}/{repo}/codespaces/secrets/public-key": Operation<"/repos/{owner}/{repo}/codespaces/secrets/public-key", "get">;
|
|
1517
|
+
/**
|
|
1518
|
+
* @see https://docs.github.com/rest/reference/codespaces#get-a-repository-secret
|
|
1519
|
+
*/
|
|
1520
|
+
"GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/codespaces/secrets/{secret_name}", "get">;
|
|
1337
1521
|
/**
|
|
1338
1522
|
* @see https://docs.github.com/rest/reference/repos#list-repository-collaborators
|
|
1339
1523
|
*/
|
|
@@ -1418,6 +1602,22 @@ export interface Endpoints {
|
|
|
1418
1602
|
* @see https://docs.github.com/rest/reference/repos#list-repository-contributors
|
|
1419
1603
|
*/
|
|
1420
1604
|
"GET /repos/{owner}/{repo}/contributors": Operation<"/repos/{owner}/{repo}/contributors", "get">;
|
|
1605
|
+
/**
|
|
1606
|
+
* @see https://docs.github.com/rest/reference/dependabot#list-repository-secrets
|
|
1607
|
+
*/
|
|
1608
|
+
"GET /repos/{owner}/{repo}/dependabot/secrets": Operation<"/repos/{owner}/{repo}/dependabot/secrets", "get">;
|
|
1609
|
+
/**
|
|
1610
|
+
* @see https://docs.github.com/rest/reference/dependabot#get-a-repository-public-key
|
|
1611
|
+
*/
|
|
1612
|
+
"GET /repos/{owner}/{repo}/dependabot/secrets/public-key": Operation<"/repos/{owner}/{repo}/dependabot/secrets/public-key", "get">;
|
|
1613
|
+
/**
|
|
1614
|
+
* @see https://docs.github.com/rest/reference/dependabot#get-a-repository-secret
|
|
1615
|
+
*/
|
|
1616
|
+
"GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/dependabot/secrets/{secret_name}", "get">;
|
|
1617
|
+
/**
|
|
1618
|
+
* @see https://docs.github.com/rest/reference/dependency-graph#get-a-diff-of-the-dependencies-between-commits
|
|
1619
|
+
*/
|
|
1620
|
+
"GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}": Operation<"/repos/{owner}/{repo}/dependency-graph/compare/{basehead}", "get">;
|
|
1421
1621
|
/**
|
|
1422
1622
|
* @see https://docs.github.com/rest/reference/repos#list-deployments
|
|
1423
1623
|
*/
|
|
@@ -1714,6 +1914,10 @@ export interface Endpoints {
|
|
|
1714
1914
|
* @see https://docs.github.com/rest/reference/repos#list-release-assets
|
|
1715
1915
|
*/
|
|
1716
1916
|
"GET /repos/{owner}/{repo}/releases/{release_id}/assets": Operation<"/repos/{owner}/{repo}/releases/{release_id}/assets", "get">;
|
|
1917
|
+
/**
|
|
1918
|
+
* @see https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-release
|
|
1919
|
+
*/
|
|
1920
|
+
"GET /repos/{owner}/{repo}/releases/{release_id}/reactions": Operation<"/repos/{owner}/{repo}/releases/{release_id}/reactions", "get">;
|
|
1717
1921
|
/**
|
|
1718
1922
|
* @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-a-repository
|
|
1719
1923
|
*/
|
|
@@ -1722,6 +1926,10 @@ export interface Endpoints {
|
|
|
1722
1926
|
* @see https://docs.github.com/rest/reference/secret-scanning#get-a-secret-scanning-alert
|
|
1723
1927
|
*/
|
|
1724
1928
|
"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", "get">;
|
|
1929
|
+
/**
|
|
1930
|
+
* @see https://docs.github.com/rest/reference/secret-scanning#list-locations-for-a-secret-scanning-alert
|
|
1931
|
+
*/
|
|
1932
|
+
"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations": Operation<"/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations", "get">;
|
|
1725
1933
|
/**
|
|
1726
1934
|
* @see https://docs.github.com/rest/reference/activity#list-stargazers
|
|
1727
1935
|
*/
|
|
@@ -1758,6 +1966,10 @@ export interface Endpoints {
|
|
|
1758
1966
|
* @see https://docs.github.com/rest/reference/repos#list-repository-tags
|
|
1759
1967
|
*/
|
|
1760
1968
|
"GET /repos/{owner}/{repo}/tags": Operation<"/repos/{owner}/{repo}/tags", "get">;
|
|
1969
|
+
/**
|
|
1970
|
+
* @see https://docs.github.com/rest/reference/repos#list-tag-protection-state-of-a-repository
|
|
1971
|
+
*/
|
|
1972
|
+
"GET /repos/{owner}/{repo}/tags/protection": Operation<"/repos/{owner}/{repo}/tags/protection", "get">;
|
|
1761
1973
|
/**
|
|
1762
1974
|
* @see https://docs.github.com/rest/reference/repos#download-a-repository-archive
|
|
1763
1975
|
*/
|
|
@@ -1769,7 +1981,7 @@ export interface Endpoints {
|
|
|
1769
1981
|
/**
|
|
1770
1982
|
* @see https://docs.github.com/rest/reference/repos#get-all-repository-topics
|
|
1771
1983
|
*/
|
|
1772
|
-
"GET /repos/{owner}/{repo}/topics": Operation<"/repos/{owner}/{repo}/topics", "get"
|
|
1984
|
+
"GET /repos/{owner}/{repo}/topics": Operation<"/repos/{owner}/{repo}/topics", "get">;
|
|
1773
1985
|
/**
|
|
1774
1986
|
* @see https://docs.github.com/rest/reference/repos#get-repository-clones
|
|
1775
1987
|
*/
|
|
@@ -1857,7 +2069,7 @@ export interface Endpoints {
|
|
|
1857
2069
|
/**
|
|
1858
2070
|
* @see https://docs.github.com/rest/reference/search#search-topics
|
|
1859
2071
|
*/
|
|
1860
|
-
"GET /search/topics": Operation<"/search/topics", "get"
|
|
2072
|
+
"GET /search/topics": Operation<"/search/topics", "get">;
|
|
1861
2073
|
/**
|
|
1862
2074
|
* @see https://docs.github.com/rest/reference/search#search-users
|
|
1863
2075
|
*/
|
|
@@ -1942,6 +2154,38 @@ export interface Endpoints {
|
|
|
1942
2154
|
* @see https://docs.github.com/rest/reference/users#check-if-a-user-is-blocked-by-the-authenticated-user
|
|
1943
2155
|
*/
|
|
1944
2156
|
"GET /user/blocks/{username}": Operation<"/user/blocks/{username}", "get">;
|
|
2157
|
+
/**
|
|
2158
|
+
* @see https://docs.github.com/rest/reference/codespaces#list-codespaces-for-the-authenticated-user
|
|
2159
|
+
*/
|
|
2160
|
+
"GET /user/codespaces": Operation<"/user/codespaces", "get">;
|
|
2161
|
+
/**
|
|
2162
|
+
* @see https://docs.github.com/rest/reference/codespaces#list-secrets-for-the-authenticated-user
|
|
2163
|
+
*/
|
|
2164
|
+
"GET /user/codespaces/secrets": Operation<"/user/codespaces/secrets", "get">;
|
|
2165
|
+
/**
|
|
2166
|
+
* @see https://docs.github.com/rest/reference/codespaces#get-public-key-for-the-authenticated-user
|
|
2167
|
+
*/
|
|
2168
|
+
"GET /user/codespaces/secrets/public-key": Operation<"/user/codespaces/secrets/public-key", "get">;
|
|
2169
|
+
/**
|
|
2170
|
+
* @see https://docs.github.com/rest/reference/codespaces#get-a-secret-for-the-authenticated-user
|
|
2171
|
+
*/
|
|
2172
|
+
"GET /user/codespaces/secrets/{secret_name}": Operation<"/user/codespaces/secrets/{secret_name}", "get">;
|
|
2173
|
+
/**
|
|
2174
|
+
* @see https://docs.github.com/rest/reference/codespaces#list-selected-repositories-for-a-user-secret
|
|
2175
|
+
*/
|
|
2176
|
+
"GET /user/codespaces/secrets/{secret_name}/repositories": Operation<"/user/codespaces/secrets/{secret_name}/repositories", "get">;
|
|
2177
|
+
/**
|
|
2178
|
+
* @see https://docs.github.com/rest/reference/codespaces#get-a-codespace-for-the-authenticated-user
|
|
2179
|
+
*/
|
|
2180
|
+
"GET /user/codespaces/{codespace_name}": Operation<"/user/codespaces/{codespace_name}", "get">;
|
|
2181
|
+
/**
|
|
2182
|
+
* @see
|
|
2183
|
+
*/
|
|
2184
|
+
"GET /user/codespaces/{codespace_name}/exports/{export_id}": Operation<"/user/codespaces/{codespace_name}/exports/{export_id}", "get">;
|
|
2185
|
+
/**
|
|
2186
|
+
* @see https://docs.github.com/rest/reference/codespaces#list-machine-types-for-a-codespace
|
|
2187
|
+
*/
|
|
2188
|
+
"GET /user/codespaces/{codespace_name}/machines": Operation<"/user/codespaces/{codespace_name}/machines", "get">;
|
|
1945
2189
|
/**
|
|
1946
2190
|
* @see https://docs.github.com/rest/reference/users#list-email-addresses-for-the-authenticated-user
|
|
1947
2191
|
*/
|
|
@@ -2195,7 +2439,7 @@ export interface Endpoints {
|
|
|
2195
2439
|
*/
|
|
2196
2440
|
"PATCH /authorizations/{authorization_id}": Operation<"/authorizations/{authorization_id}", "patch">;
|
|
2197
2441
|
/**
|
|
2198
|
-
* @see https://docs.github.com/rest/reference/
|
|
2442
|
+
* @see https://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-enterprise
|
|
2199
2443
|
*/
|
|
2200
2444
|
"PATCH /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", "patch">;
|
|
2201
2445
|
/**
|
|
@@ -2238,6 +2482,10 @@ export interface Endpoints {
|
|
|
2238
2482
|
* @see https://docs.github.com/rest/reference/teams#update-a-discussion-comment
|
|
2239
2483
|
*/
|
|
2240
2484
|
"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", "patch">;
|
|
2485
|
+
/**
|
|
2486
|
+
* @see https://docs.github.com/rest/reference/teams#link-external-idp-group-team-connection
|
|
2487
|
+
*/
|
|
2488
|
+
"PATCH /orgs/{org}/teams/{team_slug}/external-groups": Operation<"/orgs/{org}/teams/{team_slug}/external-groups", "patch">;
|
|
2241
2489
|
/**
|
|
2242
2490
|
* @see https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections
|
|
2243
2491
|
*/
|
|
@@ -2263,7 +2511,7 @@ export interface Endpoints {
|
|
|
2263
2511
|
*/
|
|
2264
2512
|
"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", "patch">;
|
|
2265
2513
|
/**
|
|
2266
|
-
* @see https://docs.github.com/rest/reference/repos#update-status-check-
|
|
2514
|
+
* @see https://docs.github.com/rest/reference/repos#update-status-check-protection
|
|
2267
2515
|
*/
|
|
2268
2516
|
"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", "patch">;
|
|
2269
2517
|
/**
|
|
@@ -2378,6 +2626,10 @@ export interface Endpoints {
|
|
|
2378
2626
|
* @see https://docs.github.com/rest/reference/users/#update-the-authenticated-user
|
|
2379
2627
|
*/
|
|
2380
2628
|
"PATCH /user": Operation<"/user", "patch">;
|
|
2629
|
+
/**
|
|
2630
|
+
* @see https://docs.github.com/rest/reference/codespaces#update-a-codespace-for-the-authenticated-user
|
|
2631
|
+
*/
|
|
2632
|
+
"PATCH /user/codespaces/{codespace_name}": Operation<"/user/codespaces/{codespace_name}", "patch">;
|
|
2381
2633
|
/**
|
|
2382
2634
|
* @see https://docs.github.com/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user
|
|
2383
2635
|
*/
|
|
@@ -2415,21 +2667,21 @@ export interface Endpoints {
|
|
|
2415
2667
|
*/
|
|
2416
2668
|
"POST /authorizations": Operation<"/authorizations", "post">;
|
|
2417
2669
|
/**
|
|
2418
|
-
* @see https://docs.github.com/rest/reference/
|
|
2419
|
-
*/
|
|
2420
|
-
"POST /content_references/{content_reference_id}/attachments": Operation<"/content_references/{content_reference_id}/attachments", "post", "corsair">;
|
|
2421
|
-
/**
|
|
2422
|
-
* @see https://docs.github.com/rest/reference/enterprise-admin#create-self-hosted-runner-group-for-an-enterprise
|
|
2670
|
+
* @see https://docs.github.com/rest/reference/actions#create-self-hosted-runner-group-for-an-enterprise
|
|
2423
2671
|
*/
|
|
2424
2672
|
"POST /enterprises/{enterprise}/actions/runner-groups": Operation<"/enterprises/{enterprise}/actions/runner-groups", "post">;
|
|
2425
2673
|
/**
|
|
2426
|
-
* @see https://docs.github.com/rest/reference/
|
|
2674
|
+
* @see https://docs.github.com/rest/reference/actions#create-a-registration-token-for-an-enterprise
|
|
2427
2675
|
*/
|
|
2428
2676
|
"POST /enterprises/{enterprise}/actions/runners/registration-token": Operation<"/enterprises/{enterprise}/actions/runners/registration-token", "post">;
|
|
2429
2677
|
/**
|
|
2430
|
-
* @see https://docs.github.com/rest/reference/
|
|
2678
|
+
* @see https://docs.github.com/rest/reference/actions#create-a-remove-token-for-an-enterprise
|
|
2431
2679
|
*/
|
|
2432
2680
|
"POST /enterprises/{enterprise}/actions/runners/remove-token": Operation<"/enterprises/{enterprise}/actions/runners/remove-token", "post">;
|
|
2681
|
+
/**
|
|
2682
|
+
* @see https://docs.github.com/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise
|
|
2683
|
+
*/
|
|
2684
|
+
"POST /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation<"/enterprises/{enterprise}/actions/runners/{runner_id}/labels", "post">;
|
|
2433
2685
|
/**
|
|
2434
2686
|
* @see https://docs.github.com/rest/reference/gists#create-a-gist
|
|
2435
2687
|
*/
|
|
@@ -2462,6 +2714,10 @@ export interface Endpoints {
|
|
|
2462
2714
|
* @see https://docs.github.com/rest/reference/actions#create-a-remove-token-for-an-organization
|
|
2463
2715
|
*/
|
|
2464
2716
|
"POST /orgs/{org}/actions/runners/remove-token": Operation<"/orgs/{org}/actions/runners/remove-token", "post">;
|
|
2717
|
+
/**
|
|
2718
|
+
* @see https://docs.github.com/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-an-organization
|
|
2719
|
+
*/
|
|
2720
|
+
"POST /orgs/{org}/actions/runners/{runner_id}/labels": Operation<"/orgs/{org}/actions/runners/{runner_id}/labels", "post">;
|
|
2465
2721
|
/**
|
|
2466
2722
|
* @see https://docs.github.com/rest/reference/orgs#create-an-organization-webhook
|
|
2467
2723
|
*/
|
|
@@ -2534,6 +2790,10 @@ export interface Endpoints {
|
|
|
2534
2790
|
* @see https://docs.github.com/rest/reference/projects#create-a-project-column
|
|
2535
2791
|
*/
|
|
2536
2792
|
"POST /projects/{project_id}/columns": Operation<"/projects/{project_id}/columns", "post">;
|
|
2793
|
+
/**
|
|
2794
|
+
* @see https://docs.github.com/rest/reference/actions#re-run-job-for-workflow-run
|
|
2795
|
+
*/
|
|
2796
|
+
"POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun": Operation<"/repos/{owner}/{repo}/actions/jobs/{job_id}/rerun", "post">;
|
|
2537
2797
|
/**
|
|
2538
2798
|
* @see https://docs.github.com/rest/reference/actions#create-a-registration-token-for-a-repository
|
|
2539
2799
|
*/
|
|
@@ -2542,6 +2802,10 @@ export interface Endpoints {
|
|
|
2542
2802
|
* @see https://docs.github.com/rest/reference/actions#create-a-remove-token-for-a-repository
|
|
2543
2803
|
*/
|
|
2544
2804
|
"POST /repos/{owner}/{repo}/actions/runners/remove-token": Operation<"/repos/{owner}/{repo}/actions/runners/remove-token", "post">;
|
|
2805
|
+
/**
|
|
2806
|
+
* @see https://docs.github.com/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-a-repository
|
|
2807
|
+
*/
|
|
2808
|
+
"POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels": Operation<"/repos/{owner}/{repo}/actions/runners/{runner_id}/labels", "post">;
|
|
2545
2809
|
/**
|
|
2546
2810
|
* @see https://docs.github.com/rest/reference/actions#approve-a-workflow-run-for-a-fork-pull-request
|
|
2547
2811
|
*/
|
|
@@ -2558,6 +2822,10 @@ export interface Endpoints {
|
|
|
2558
2822
|
* @see https://docs.github.com/rest/reference/actions#re-run-a-workflow
|
|
2559
2823
|
*/
|
|
2560
2824
|
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/rerun", "post">;
|
|
2825
|
+
/**
|
|
2826
|
+
* @see https://docs.github.com/rest/reference/actions#re-run-workflow-failed-jobs
|
|
2827
|
+
*/
|
|
2828
|
+
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs", "post">;
|
|
2561
2829
|
/**
|
|
2562
2830
|
* @see https://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event
|
|
2563
2831
|
*/
|
|
@@ -2614,6 +2882,10 @@ export interface Endpoints {
|
|
|
2614
2882
|
* @see https://docs.github.com/rest/reference/code-scanning#upload-a-sarif-file
|
|
2615
2883
|
*/
|
|
2616
2884
|
"POST /repos/{owner}/{repo}/code-scanning/sarifs": Operation<"/repos/{owner}/{repo}/code-scanning/sarifs", "post">;
|
|
2885
|
+
/**
|
|
2886
|
+
* @see https://docs.github.com/rest/reference/codespaces#create-a-codespace-in-a-repository
|
|
2887
|
+
*/
|
|
2888
|
+
"POST /repos/{owner}/{repo}/codespaces": Operation<"/repos/{owner}/{repo}/codespaces", "post">;
|
|
2617
2889
|
/**
|
|
2618
2890
|
* @see https://docs.github.com/rest/reference/reactions#create-reaction-for-a-commit-comment
|
|
2619
2891
|
*/
|
|
@@ -2622,10 +2894,6 @@ export interface Endpoints {
|
|
|
2622
2894
|
* @see https://docs.github.com/rest/reference/repos#create-a-commit-comment
|
|
2623
2895
|
*/
|
|
2624
2896
|
"POST /repos/{owner}/{repo}/commits/{commit_sha}/comments": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/comments", "post">;
|
|
2625
|
-
/**
|
|
2626
|
-
* @see https://docs.github.com/rest/reference/apps#create-a-content-attachment
|
|
2627
|
-
*/
|
|
2628
|
-
"POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments": Operation<"/repos/{owner}/{repo}/content_references/{content_reference_id}/attachments", "post", "corsair">;
|
|
2629
2897
|
/**
|
|
2630
2898
|
* @see https://docs.github.com/rest/reference/repos#create-a-deployment
|
|
2631
2899
|
*/
|
|
@@ -2742,6 +3010,10 @@ export interface Endpoints {
|
|
|
2742
3010
|
* @see https://docs.github.com/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment
|
|
2743
3011
|
*/
|
|
2744
3012
|
"POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions": Operation<"/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", "post">;
|
|
3013
|
+
/**
|
|
3014
|
+
* @see https://docs.github.com/rest/reference/codespaces#create-a-codespace-from-a-pull-request
|
|
3015
|
+
*/
|
|
3016
|
+
"POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/codespaces", "post">;
|
|
2745
3017
|
/**
|
|
2746
3018
|
* @see https://docs.github.com/rest/reference/pulls#create-a-review-comment-for-a-pull-request
|
|
2747
3019
|
*/
|
|
@@ -2778,6 +3050,10 @@ export interface Endpoints {
|
|
|
2778
3050
|
* @see https://docs.github.com/rest/reference/repos#create-a-commit-status
|
|
2779
3051
|
*/
|
|
2780
3052
|
"POST /repos/{owner}/{repo}/statuses/{sha}": Operation<"/repos/{owner}/{repo}/statuses/{sha}", "post">;
|
|
3053
|
+
/**
|
|
3054
|
+
* @see https://docs.github.com/rest/reference/repos#create-tag-protection-state-for-a-repository
|
|
3055
|
+
*/
|
|
3056
|
+
"POST /repos/{owner}/{repo}/tags/protection": Operation<"/repos/{owner}/{repo}/tags/protection", "post">;
|
|
2781
3057
|
/**
|
|
2782
3058
|
* @see https://docs.github.com/rest/reference/repos#transfer-a-repository
|
|
2783
3059
|
*/
|
|
@@ -2814,6 +3090,22 @@ export interface Endpoints {
|
|
|
2814
3090
|
* @see https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-team-discussion-legacy
|
|
2815
3091
|
*/
|
|
2816
3092
|
"POST /teams/{team_id}/discussions/{discussion_number}/reactions": Operation<"/teams/{team_id}/discussions/{discussion_number}/reactions", "post">;
|
|
3093
|
+
/**
|
|
3094
|
+
* @see https://docs.github.com/rest/reference/codespaces#create-a-codespace-for-the-authenticated-user
|
|
3095
|
+
*/
|
|
3096
|
+
"POST /user/codespaces": Operation<"/user/codespaces", "post">;
|
|
3097
|
+
/**
|
|
3098
|
+
* @see
|
|
3099
|
+
*/
|
|
3100
|
+
"POST /user/codespaces/{codespace_name}/exports": Operation<"/user/codespaces/{codespace_name}/exports", "post">;
|
|
3101
|
+
/**
|
|
3102
|
+
* @see https://docs.github.com/rest/reference/codespaces#start-a-codespace-for-the-authenticated-user
|
|
3103
|
+
*/
|
|
3104
|
+
"POST /user/codespaces/{codespace_name}/start": Operation<"/user/codespaces/{codespace_name}/start", "post">;
|
|
3105
|
+
/**
|
|
3106
|
+
* @see https://docs.github.com/rest/reference/codespaces#stop-a-codespace-for-the-authenticated-user
|
|
3107
|
+
*/
|
|
3108
|
+
"POST /user/codespaces/{codespace_name}/stop": Operation<"/user/codespaces/{codespace_name}/stop", "post">;
|
|
2817
3109
|
/**
|
|
2818
3110
|
* @see https://docs.github.com/rest/reference/users#add-an-email-address-for-the-authenticated-user
|
|
2819
3111
|
*/
|
|
@@ -2871,37 +3163,45 @@ export interface Endpoints {
|
|
|
2871
3163
|
*/
|
|
2872
3164
|
"PUT /authorizations/clients/{client_id}/{fingerprint}": Operation<"/authorizations/clients/{client_id}/{fingerprint}", "put">;
|
|
2873
3165
|
/**
|
|
2874
|
-
* @see https://docs.github.com/rest/reference/
|
|
3166
|
+
* @see https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-an-enterprise
|
|
2875
3167
|
*/
|
|
2876
3168
|
"PUT /enterprises/{enterprise}/actions/permissions": Operation<"/enterprises/{enterprise}/actions/permissions", "put">;
|
|
2877
3169
|
/**
|
|
2878
|
-
* @see https://docs.github.com/rest/reference/
|
|
3170
|
+
* @see https://docs.github.com/rest/reference/actions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise
|
|
2879
3171
|
*/
|
|
2880
3172
|
"PUT /enterprises/{enterprise}/actions/permissions/organizations": Operation<"/enterprises/{enterprise}/actions/permissions/organizations", "put">;
|
|
2881
3173
|
/**
|
|
2882
|
-
* @see https://docs.github.com/rest/reference/
|
|
3174
|
+
* @see https://docs.github.com/rest/reference/actions#enable-a-selected-organization-for-github-actions-in-an-enterprise
|
|
2883
3175
|
*/
|
|
2884
3176
|
"PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}": Operation<"/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", "put">;
|
|
2885
3177
|
/**
|
|
2886
|
-
* @see https://docs.github.com/rest/reference/
|
|
3178
|
+
* @see https://docs.github.com/rest/reference/actions#set-allowed-actions-for-an-enterprise
|
|
2887
3179
|
*/
|
|
2888
3180
|
"PUT /enterprises/{enterprise}/actions/permissions/selected-actions": Operation<"/enterprises/{enterprise}/actions/permissions/selected-actions", "put">;
|
|
2889
3181
|
/**
|
|
2890
|
-
* @see https://docs.github.com/rest/reference/
|
|
3182
|
+
* @see https://docs.github.com/rest/reference/actions#set-default-workflow-permissions-for-an-enterprise
|
|
3183
|
+
*/
|
|
3184
|
+
"PUT /enterprises/{enterprise}/actions/permissions/workflow": Operation<"/enterprises/{enterprise}/actions/permissions/workflow", "put">;
|
|
3185
|
+
/**
|
|
3186
|
+
* @see https://docs.github.com/rest/reference/actions#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise
|
|
2891
3187
|
*/
|
|
2892
3188
|
"PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", "put">;
|
|
2893
3189
|
/**
|
|
2894
|
-
* @see https://docs.github.com/rest/reference/
|
|
3190
|
+
* @see https://docs.github.com/rest/reference/actions#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise
|
|
2895
3191
|
*/
|
|
2896
3192
|
"PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", "put">;
|
|
2897
3193
|
/**
|
|
2898
|
-
* @see https://docs.github.com/rest/reference/
|
|
3194
|
+
* @see https://docs.github.com/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-enterprise
|
|
2899
3195
|
*/
|
|
2900
3196
|
"PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", "put">;
|
|
2901
3197
|
/**
|
|
2902
|
-
* @see https://docs.github.com/rest/reference/
|
|
3198
|
+
* @see https://docs.github.com/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-enterprise
|
|
2903
3199
|
*/
|
|
2904
3200
|
"PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", "put">;
|
|
3201
|
+
/**
|
|
3202
|
+
* @see https://docs.github.com/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise
|
|
3203
|
+
*/
|
|
3204
|
+
"PUT /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation<"/enterprises/{enterprise}/actions/runners/{runner_id}/labels", "put">;
|
|
2905
3205
|
/**
|
|
2906
3206
|
* @see https://docs.github.com/rest/reference/gists#star-a-gist
|
|
2907
3207
|
*/
|
|
@@ -2930,6 +3230,10 @@ export interface Endpoints {
|
|
|
2930
3230
|
* @see https://docs.github.com/rest/reference/actions#set-allowed-actions-for-an-organization
|
|
2931
3231
|
*/
|
|
2932
3232
|
"PUT /orgs/{org}/actions/permissions/selected-actions": Operation<"/orgs/{org}/actions/permissions/selected-actions", "put">;
|
|
3233
|
+
/**
|
|
3234
|
+
* @see https://docs.github.com/rest/reference/actions#set-default-workflow-permissions
|
|
3235
|
+
*/
|
|
3236
|
+
"PUT /orgs/{org}/actions/permissions/workflow": Operation<"/orgs/{org}/actions/permissions/workflow", "put">;
|
|
2933
3237
|
/**
|
|
2934
3238
|
* @see https://docs.github.com/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization
|
|
2935
3239
|
*/
|
|
@@ -2946,6 +3250,10 @@ export interface Endpoints {
|
|
|
2946
3250
|
* @see https://docs.github.com/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization
|
|
2947
3251
|
*/
|
|
2948
3252
|
"PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", "put">;
|
|
3253
|
+
/**
|
|
3254
|
+
* @see https://docs.github.com/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-an-organization
|
|
3255
|
+
*/
|
|
3256
|
+
"PUT /orgs/{org}/actions/runners/{runner_id}/labels": Operation<"/orgs/{org}/actions/runners/{runner_id}/labels", "put">;
|
|
2949
3257
|
/**
|
|
2950
3258
|
* @see https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret
|
|
2951
3259
|
*/
|
|
@@ -2962,6 +3270,18 @@ export interface Endpoints {
|
|
|
2962
3270
|
* @see https://docs.github.com/rest/reference/orgs#block-a-user-from-an-organization
|
|
2963
3271
|
*/
|
|
2964
3272
|
"PUT /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "put">;
|
|
3273
|
+
/**
|
|
3274
|
+
* @see https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret
|
|
3275
|
+
*/
|
|
3276
|
+
"PUT /orgs/{org}/dependabot/secrets/{secret_name}": Operation<"/orgs/{org}/dependabot/secrets/{secret_name}", "put">;
|
|
3277
|
+
/**
|
|
3278
|
+
* @see https://docs.github.com/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret
|
|
3279
|
+
*/
|
|
3280
|
+
"PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories": Operation<"/orgs/{org}/dependabot/secrets/{secret_name}/repositories", "put">;
|
|
3281
|
+
/**
|
|
3282
|
+
* @see https://docs.github.com/rest/reference/dependabot#add-selected-repository-to-an-organization-secret
|
|
3283
|
+
*/
|
|
3284
|
+
"PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}", "put">;
|
|
2965
3285
|
/**
|
|
2966
3286
|
* @see https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-an-organization
|
|
2967
3287
|
*/
|
|
@@ -2998,10 +3318,22 @@ export interface Endpoints {
|
|
|
2998
3318
|
* @see https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-a-repository
|
|
2999
3319
|
*/
|
|
3000
3320
|
"PUT /repos/{owner}/{repo}/actions/permissions": Operation<"/repos/{owner}/{repo}/actions/permissions", "put">;
|
|
3321
|
+
/**
|
|
3322
|
+
* @see https://docs.github.com/rest/reference/actions#set-workflow-access-to-a-repository
|
|
3323
|
+
*/
|
|
3324
|
+
"PUT /repos/{owner}/{repo}/actions/permissions/access": Operation<"/repos/{owner}/{repo}/actions/permissions/access", "put">;
|
|
3001
3325
|
/**
|
|
3002
3326
|
* @see https://docs.github.com/rest/reference/actions#set-allowed-actions-for-a-repository
|
|
3003
3327
|
*/
|
|
3004
3328
|
"PUT /repos/{owner}/{repo}/actions/permissions/selected-actions": Operation<"/repos/{owner}/{repo}/actions/permissions/selected-actions", "put">;
|
|
3329
|
+
/**
|
|
3330
|
+
* @see https://docs.github.com/rest/reference/actions#set-default-workflow-permissions-for-a-repository
|
|
3331
|
+
*/
|
|
3332
|
+
"PUT /repos/{owner}/{repo}/actions/permissions/workflow": Operation<"/repos/{owner}/{repo}/actions/permissions/workflow", "put">;
|
|
3333
|
+
/**
|
|
3334
|
+
* @see https://docs.github.com/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-a-repository
|
|
3335
|
+
*/
|
|
3336
|
+
"PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels": Operation<"/repos/{owner}/{repo}/actions/runners/{runner_id}/labels", "put">;
|
|
3005
3337
|
/**
|
|
3006
3338
|
* @see https://docs.github.com/rest/reference/actions#create-or-update-a-repository-secret
|
|
3007
3339
|
*/
|
|
@@ -3038,6 +3370,10 @@ export interface Endpoints {
|
|
|
3038
3370
|
* @see https://docs.github.com/rest/reference/repos#set-user-access-restrictions
|
|
3039
3371
|
*/
|
|
3040
3372
|
"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", "put">;
|
|
3373
|
+
/**
|
|
3374
|
+
* @see https://docs.github.com/rest/reference/codespaces#create-or-update-a-repository-secret
|
|
3375
|
+
*/
|
|
3376
|
+
"PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/codespaces/secrets/{secret_name}", "put">;
|
|
3041
3377
|
/**
|
|
3042
3378
|
* @see https://docs.github.com/rest/reference/repos#add-a-repository-collaborator
|
|
3043
3379
|
*/
|
|
@@ -3046,6 +3382,10 @@ export interface Endpoints {
|
|
|
3046
3382
|
* @see https://docs.github.com/rest/reference/repos#create-or-update-file-contents
|
|
3047
3383
|
*/
|
|
3048
3384
|
"PUT /repos/{owner}/{repo}/contents/{path}": Operation<"/repos/{owner}/{repo}/contents/{path}", "put">;
|
|
3385
|
+
/**
|
|
3386
|
+
* @see https://docs.github.com/rest/reference/dependabot#create-or-update-a-repository-secret
|
|
3387
|
+
*/
|
|
3388
|
+
"PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/dependabot/secrets/{secret_name}", "put">;
|
|
3049
3389
|
/**
|
|
3050
3390
|
* @see https://docs.github.com/rest/reference/repos#create-or-update-an-environment
|
|
3051
3391
|
*/
|
|
@@ -3101,7 +3441,7 @@ export interface Endpoints {
|
|
|
3101
3441
|
/**
|
|
3102
3442
|
* @see https://docs.github.com/rest/reference/repos#replace-all-repository-topics
|
|
3103
3443
|
*/
|
|
3104
|
-
"PUT /repos/{owner}/{repo}/topics": Operation<"/repos/{owner}/{repo}/topics", "put"
|
|
3444
|
+
"PUT /repos/{owner}/{repo}/topics": Operation<"/repos/{owner}/{repo}/topics", "put">;
|
|
3105
3445
|
/**
|
|
3106
3446
|
* @see https://docs.github.com/rest/reference/repos#enable-vulnerability-alerts
|
|
3107
3447
|
*/
|
|
@@ -3142,6 +3482,18 @@ export interface Endpoints {
|
|
|
3142
3482
|
* @see https://docs.github.com/rest/reference/users#block-a-user
|
|
3143
3483
|
*/
|
|
3144
3484
|
"PUT /user/blocks/{username}": Operation<"/user/blocks/{username}", "put">;
|
|
3485
|
+
/**
|
|
3486
|
+
* @see https://docs.github.com/rest/reference/codespaces#create-or-update-a-secret-for-the-authenticated-user
|
|
3487
|
+
*/
|
|
3488
|
+
"PUT /user/codespaces/secrets/{secret_name}": Operation<"/user/codespaces/secrets/{secret_name}", "put">;
|
|
3489
|
+
/**
|
|
3490
|
+
* @see https://docs.github.com/rest/reference/codespaces#set-selected-repositories-for-a-user-secret
|
|
3491
|
+
*/
|
|
3492
|
+
"PUT /user/codespaces/secrets/{secret_name}/repositories": Operation<"/user/codespaces/secrets/{secret_name}/repositories", "put">;
|
|
3493
|
+
/**
|
|
3494
|
+
* @see https://docs.github.com/rest/reference/codespaces#add-a-selected-repository-to-a-user-secret
|
|
3495
|
+
*/
|
|
3496
|
+
"PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation<"/user/codespaces/secrets/{secret_name}/repositories/{repository_id}", "put">;
|
|
3145
3497
|
/**
|
|
3146
3498
|
* @see https://docs.github.com/rest/reference/users#follow-a-user
|
|
3147
3499
|
*/
|
package/dist-web/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octokit/types",
|
|
3
3
|
"description": "Shared TypeScript definitions for Octokit projects",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.35.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist-*/",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
],
|
|
19
19
|
"repository": "github:octokit/types.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@octokit/openapi-types": "^
|
|
21
|
+
"@octokit/openapi-types": "^12.1.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@pika/pack": "^0.5.0",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@pika/plugin-build-web": "^0.9.0",
|
|
27
27
|
"@pika/plugin-ts-standard-pkg": "^0.9.0",
|
|
28
28
|
"@types/node": ">= 8",
|
|
29
|
-
"github-openapi-graphql-query": "^1.0.
|
|
29
|
+
"github-openapi-graphql-query": "^1.0.11",
|
|
30
30
|
"handlebars": "^4.7.6",
|
|
31
31
|
"json-schema-to-typescript": "^10.0.0",
|
|
32
32
|
"lodash.set": "^4.3.2",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"source": "dist-src/index.js",
|
|
48
48
|
"types": "dist-types/index.d.ts",
|
|
49
49
|
"octokit": {
|
|
50
|
-
"openapi-version": "5.
|
|
50
|
+
"openapi-version": "5.12.0"
|
|
51
51
|
},
|
|
52
52
|
"main": "dist-node/index.js",
|
|
53
53
|
"module": "dist-web/index.js"
|