@octokit/types 5.2.1 → 5.5.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/AuthInterface.js +1 -0
- package/dist-src/EndpointDefaults.js +1 -0
- package/dist-src/EndpointInterface.js +1 -0
- package/dist-src/EndpointOptions.js +1 -0
- package/dist-src/Fetch.js +1 -0
- package/dist-src/GetResponseTypeFromEndpointMethod.js +1 -0
- package/dist-src/OctokitResponse.js +1 -0
- package/dist-src/RequestError.js +1 -0
- package/dist-src/RequestHeaders.js +1 -0
- package/dist-src/RequestInterface.js +1 -0
- package/dist-src/RequestMethod.js +1 -0
- package/dist-src/RequestOptions.js +1 -0
- package/dist-src/RequestParameters.js +1 -0
- package/dist-src/RequestRequestOptions.js +1 -0
- package/dist-src/ResponseHeaders.js +1 -0
- package/dist-src/Route.js +1 -0
- package/dist-src/Signal.js +1 -0
- package/dist-src/StrategyInterface.js +1 -0
- package/dist-src/Url.js +1 -0
- package/dist-src/VERSION.js +1 -1
- package/dist-src/generated/Endpoints.js +1 -0
- package/dist-src/index.js +1 -0
- package/dist-types/RequestError.d.ts +11 -0
- package/dist-types/VERSION.d.ts +1 -1
- package/dist-types/generated/Endpoints.d.ts +2133 -480
- package/dist-types/index.d.ts +1 -0
- package/dist-web/index.js +1 -1
- package/package.json +3 -3
|
@@ -72,6 +72,38 @@ export interface Endpoints {
|
|
|
72
72
|
request: OauthAuthorizationsDeleteAuthorizationRequestOptions;
|
|
73
73
|
response: OctokitResponse<any>;
|
|
74
74
|
};
|
|
75
|
+
/**
|
|
76
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#delete-a-self-hosted-runner-group-from-an-enterprise
|
|
77
|
+
*/
|
|
78
|
+
"DELETE /enterprises/:enterprise/actions/runner-groups/:runner_group_id": {
|
|
79
|
+
parameters: EnterpriseAdminDeleteSelfHostedRunnerGroupFromEnterpriseEndpoint;
|
|
80
|
+
request: EnterpriseAdminDeleteSelfHostedRunnerGroupFromEnterpriseRequestOptions;
|
|
81
|
+
response: OctokitResponse<any>;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise
|
|
85
|
+
*/
|
|
86
|
+
"DELETE /enterprises/:enterprise/actions/runner-groups/:runner_group_id/organizations/:org_id": {
|
|
87
|
+
parameters: EnterpriseAdminRemoveOrgAccessToSelfHostedRunnerGroupInEnterpriseEndpoint;
|
|
88
|
+
request: EnterpriseAdminRemoveOrgAccessToSelfHostedRunnerGroupInEnterpriseRequestOptions;
|
|
89
|
+
response: OctokitResponse<any>;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#remove-a-self-hosted-runner-from-a-group-for-an-enterprise
|
|
93
|
+
*/
|
|
94
|
+
"DELETE /enterprises/:enterprise/actions/runner-groups/:runner_group_id/runners/:runner_id": {
|
|
95
|
+
parameters: EnterpriseAdminRemoveSelfHostedRunnerFromGroupForEnterpriseEndpoint;
|
|
96
|
+
request: EnterpriseAdminRemoveSelfHostedRunnerFromGroupForEnterpriseRequestOptions;
|
|
97
|
+
response: OctokitResponse<any>;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#delete-self-hosted-runner-from-an-enterprise
|
|
101
|
+
*/
|
|
102
|
+
"DELETE /enterprises/:enterprise/actions/runners/:runner_id": {
|
|
103
|
+
parameters: EnterpriseAdminDeleteSelfHostedRunnerFromEnterpriseEndpoint;
|
|
104
|
+
request: EnterpriseAdminDeleteSelfHostedRunnerFromEnterpriseRequestOptions;
|
|
105
|
+
response: OctokitResponse<any>;
|
|
106
|
+
};
|
|
75
107
|
/**
|
|
76
108
|
* @see https://developer.github.com/v3/gists/#delete-a-gist
|
|
77
109
|
*/
|
|
@@ -112,6 +144,30 @@ export interface Endpoints {
|
|
|
112
144
|
request: ActivityDeleteThreadSubscriptionRequestOptions;
|
|
113
145
|
response: OctokitResponse<any>;
|
|
114
146
|
};
|
|
147
|
+
/**
|
|
148
|
+
* @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#delete-a-self-hosted-runner-group-from-an-organization
|
|
149
|
+
*/
|
|
150
|
+
"DELETE /orgs/:org/actions/runner-groups/:runner_group_id": {
|
|
151
|
+
parameters: ActionsDeleteSelfHostedRunnerGroupFromOrgEndpoint;
|
|
152
|
+
request: ActionsDeleteSelfHostedRunnerGroupFromOrgRequestOptions;
|
|
153
|
+
response: OctokitResponse<any>;
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization
|
|
157
|
+
*/
|
|
158
|
+
"DELETE /orgs/:org/actions/runner-groups/:runner_group_id/repositories/:repository_id": {
|
|
159
|
+
parameters: ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgEndpoint;
|
|
160
|
+
request: ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgRequestOptions;
|
|
161
|
+
response: OctokitResponse<any>;
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#remove-a-self-hosted-runner-from-a-group-for-an-organization
|
|
165
|
+
*/
|
|
166
|
+
"DELETE /orgs/:org/actions/runner-groups/:runner_group_id/runners/:runner_id": {
|
|
167
|
+
parameters: ActionsRemoveSelfHostedRunnerFromGroupForOrgEndpoint;
|
|
168
|
+
request: ActionsRemoveSelfHostedRunnerFromGroupForOrgRequestOptions;
|
|
169
|
+
response: OctokitResponse<any>;
|
|
170
|
+
};
|
|
115
171
|
/**
|
|
116
172
|
* @see https://developer.github.com/v3/actions/self-hosted-runners/#delete-a-self-hosted-runner-from-an-organization
|
|
117
173
|
*/
|
|
@@ -945,28 +1001,111 @@ export interface Endpoints {
|
|
|
945
1001
|
response: OctokitResponse<any>;
|
|
946
1002
|
};
|
|
947
1003
|
/**
|
|
948
|
-
* @see https://developer.github.com/v3/
|
|
1004
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#list-self-hosted-runner-groups-for-an-enterprise
|
|
1005
|
+
*/
|
|
1006
|
+
"GET /enterprises/:enterprise/actions/runner-groups": {
|
|
1007
|
+
parameters: EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseEndpoint;
|
|
1008
|
+
request: EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseRequestOptions;
|
|
1009
|
+
response: OctokitResponse<EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseResponseData>;
|
|
1010
|
+
};
|
|
1011
|
+
/**
|
|
1012
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#get-a-self-hosted-runner-group-for-an-enterprise
|
|
1013
|
+
*/
|
|
1014
|
+
"GET /enterprises/:enterprise/actions/runner-groups/:runner_group_id": {
|
|
1015
|
+
parameters: EnterpriseAdminGetSelfHostedRunnerGroupForEnterpriseEndpoint;
|
|
1016
|
+
request: EnterpriseAdminGetSelfHostedRunnerGroupForEnterpriseRequestOptions;
|
|
1017
|
+
response: OctokitResponse<EnterpriseAdminGetSelfHostedRunnerGroupForEnterpriseResponseData>;
|
|
1018
|
+
};
|
|
1019
|
+
/**
|
|
1020
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise
|
|
1021
|
+
*/
|
|
1022
|
+
"GET /enterprises/:enterprise/actions/runner-groups/:runner_group_id/organizations": {
|
|
1023
|
+
parameters: EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseEndpoint;
|
|
1024
|
+
request: EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseRequestOptions;
|
|
1025
|
+
response: OctokitResponse<EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseResponseData>;
|
|
1026
|
+
};
|
|
1027
|
+
/**
|
|
1028
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#list-self-hosted-runners-in-a-group-for-an-enterprise
|
|
1029
|
+
*/
|
|
1030
|
+
"GET /enterprises/:enterprise/actions/runner-groups/:runner_group_id/runners": {
|
|
1031
|
+
parameters: EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseEndpoint;
|
|
1032
|
+
request: EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseRequestOptions;
|
|
1033
|
+
response: OctokitResponse<EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseResponseData>;
|
|
1034
|
+
};
|
|
1035
|
+
/**
|
|
1036
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#list-self-hosted-runners-for-an-enterprise
|
|
1037
|
+
*/
|
|
1038
|
+
"GET /enterprises/:enterprise/actions/runners": {
|
|
1039
|
+
parameters: EnterpriseAdminListSelfHostedRunnersForEnterpriseEndpoint;
|
|
1040
|
+
request: EnterpriseAdminListSelfHostedRunnersForEnterpriseRequestOptions;
|
|
1041
|
+
response: OctokitResponse<EnterpriseAdminListSelfHostedRunnersForEnterpriseResponseData>;
|
|
1042
|
+
};
|
|
1043
|
+
/**
|
|
1044
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#get-a-self-hosted-runner-for-an-enterprise
|
|
1045
|
+
*/
|
|
1046
|
+
"GET /enterprises/:enterprise/actions/runners/:runner_id": {
|
|
1047
|
+
parameters: EnterpriseAdminGetSelfHostedRunnerForEnterpriseEndpoint;
|
|
1048
|
+
request: EnterpriseAdminGetSelfHostedRunnerForEnterpriseRequestOptions;
|
|
1049
|
+
response: OctokitResponse<EnterpriseAdminGetSelfHostedRunnerForEnterpriseResponseData>;
|
|
1050
|
+
};
|
|
1051
|
+
/**
|
|
1052
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#list-runner-applications-for-an-enterprise
|
|
1053
|
+
*/
|
|
1054
|
+
"GET /enterprises/:enterprise/actions/runners/downloads": {
|
|
1055
|
+
parameters: EnterpriseAdminListRunnerApplicationsForEnterpriseEndpoint;
|
|
1056
|
+
request: EnterpriseAdminListRunnerApplicationsForEnterpriseRequestOptions;
|
|
1057
|
+
response: OctokitResponse<EnterpriseAdminListRunnerApplicationsForEnterpriseResponseData>;
|
|
1058
|
+
};
|
|
1059
|
+
/**
|
|
1060
|
+
* @see https://developer.github.com/v3/enterprise-admin/billing/#get-github-actions-billing-for-an-enterprise
|
|
1061
|
+
*/
|
|
1062
|
+
"GET /enterprises/:enterprise/settings/billing/actions": {
|
|
1063
|
+
parameters: EnterpriseAdminGetGithubActionsBillingGheEndpoint;
|
|
1064
|
+
request: EnterpriseAdminGetGithubActionsBillingGheRequestOptions;
|
|
1065
|
+
response: OctokitResponse<EnterpriseAdminGetGithubActionsBillingGheResponseData>;
|
|
1066
|
+
};
|
|
1067
|
+
/**
|
|
1068
|
+
* @see https://developer.github.com/v3/enterprise-admin/billing/#get-github-packages-billing-for-an-enterprise
|
|
1069
|
+
*/
|
|
1070
|
+
"GET /enterprises/:enterprise/settings/billing/packages": {
|
|
1071
|
+
parameters: EnterpriseAdminGetGithubPackagesBillingGheEndpoint;
|
|
1072
|
+
request: EnterpriseAdminGetGithubPackagesBillingGheRequestOptions;
|
|
1073
|
+
response: OctokitResponse<EnterpriseAdminGetGithubPackagesBillingGheResponseData>;
|
|
1074
|
+
};
|
|
1075
|
+
/**
|
|
1076
|
+
* @see https://developer.github.com/v3/enterprise-admin/billing/#get-shared-storage-billing-for-an-enterprise
|
|
1077
|
+
*/
|
|
1078
|
+
"GET /enterprises/:enterprise/settings/billing/shared-storage": {
|
|
1079
|
+
parameters: EnterpriseAdminGetSharedStorageBillingGheEndpoint;
|
|
1080
|
+
request: EnterpriseAdminGetSharedStorageBillingGheRequestOptions;
|
|
1081
|
+
response: OctokitResponse<EnterpriseAdminGetSharedStorageBillingGheResponseData>;
|
|
1082
|
+
};
|
|
1083
|
+
/**
|
|
1084
|
+
* @see https://developer.github.com/v3/enterprise-admin/billing/#get-github-actions-billing-for-an-enterprise
|
|
1085
|
+
* @deprecated "enterprise_id" is deprecated, use "enterprise" instead
|
|
949
1086
|
*/
|
|
950
1087
|
"GET /enterprises/:enterprise_id/settings/billing/actions": {
|
|
951
|
-
parameters:
|
|
952
|
-
request:
|
|
953
|
-
response: OctokitResponse<
|
|
1088
|
+
parameters: EnterpriseAdminGetGithubActionsBillingGheDeprecatedEnterpriseIdEndpoint;
|
|
1089
|
+
request: EnterpriseAdminGetGithubActionsBillingGheRequestOptions;
|
|
1090
|
+
response: OctokitResponse<EnterpriseAdminGetGithubActionsBillingGheResponseData>;
|
|
954
1091
|
};
|
|
955
1092
|
/**
|
|
956
|
-
* @see https://developer.github.com/v3/billing/#get-github-packages-billing-for-an-enterprise
|
|
1093
|
+
* @see https://developer.github.com/v3/enterprise-admin/billing/#get-github-packages-billing-for-an-enterprise
|
|
1094
|
+
* @deprecated "enterprise_id" is deprecated, use "enterprise" instead
|
|
957
1095
|
*/
|
|
958
1096
|
"GET /enterprises/:enterprise_id/settings/billing/packages": {
|
|
959
|
-
parameters:
|
|
960
|
-
request:
|
|
961
|
-
response: OctokitResponse<
|
|
1097
|
+
parameters: EnterpriseAdminGetGithubPackagesBillingGheDeprecatedEnterpriseIdEndpoint;
|
|
1098
|
+
request: EnterpriseAdminGetGithubPackagesBillingGheRequestOptions;
|
|
1099
|
+
response: OctokitResponse<EnterpriseAdminGetGithubPackagesBillingGheResponseData>;
|
|
962
1100
|
};
|
|
963
1101
|
/**
|
|
964
|
-
* @see https://developer.github.com/v3/billing/#get-shared-storage-billing-for-an-enterprise
|
|
1102
|
+
* @see https://developer.github.com/v3/enterprise-admin/billing/#get-shared-storage-billing-for-an-enterprise
|
|
1103
|
+
* @deprecated "enterprise_id" is deprecated, use "enterprise" instead
|
|
965
1104
|
*/
|
|
966
1105
|
"GET /enterprises/:enterprise_id/settings/billing/shared-storage": {
|
|
967
|
-
parameters:
|
|
968
|
-
request:
|
|
969
|
-
response: OctokitResponse<
|
|
1106
|
+
parameters: EnterpriseAdminGetSharedStorageBillingGheDeprecatedEnterpriseIdEndpoint;
|
|
1107
|
+
request: EnterpriseAdminGetSharedStorageBillingGheRequestOptions;
|
|
1108
|
+
response: OctokitResponse<EnterpriseAdminGetSharedStorageBillingGheResponseData>;
|
|
970
1109
|
};
|
|
971
1110
|
/**
|
|
972
1111
|
* @see https://developer.github.com/v3/activity/events/#list-public-events
|
|
@@ -1216,6 +1355,38 @@ export interface Endpoints {
|
|
|
1216
1355
|
request: OrgsGetRequestOptions;
|
|
1217
1356
|
response: OctokitResponse<OrgsGetResponseData>;
|
|
1218
1357
|
};
|
|
1358
|
+
/**
|
|
1359
|
+
* @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#list-self-hosted-runner-groups-for-an-organization
|
|
1360
|
+
*/
|
|
1361
|
+
"GET /orgs/:org/actions/runner-groups": {
|
|
1362
|
+
parameters: ActionsListSelfHostedRunnerGroupsForOrgEndpoint;
|
|
1363
|
+
request: ActionsListSelfHostedRunnerGroupsForOrgRequestOptions;
|
|
1364
|
+
response: OctokitResponse<ActionsListSelfHostedRunnerGroupsForOrgResponseData>;
|
|
1365
|
+
};
|
|
1366
|
+
/**
|
|
1367
|
+
* @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#get-a-self-hosted-runner-group-for-an-organization
|
|
1368
|
+
*/
|
|
1369
|
+
"GET /orgs/:org/actions/runner-groups/:runner_group_id": {
|
|
1370
|
+
parameters: ActionsGetSelfHostedRunnerGroupForOrgEndpoint;
|
|
1371
|
+
request: ActionsGetSelfHostedRunnerGroupForOrgRequestOptions;
|
|
1372
|
+
response: OctokitResponse<ActionsGetSelfHostedRunnerGroupForOrgResponseData>;
|
|
1373
|
+
};
|
|
1374
|
+
/**
|
|
1375
|
+
* @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#list-repository-access-to-a-self-hosted-runner-group-in-an-organization
|
|
1376
|
+
*/
|
|
1377
|
+
"GET /orgs/:org/actions/runner-groups/:runner_group_id/repositories": {
|
|
1378
|
+
parameters: ActionsListRepoAccessToSelfHostedRunnerGroupInOrgEndpoint;
|
|
1379
|
+
request: ActionsListRepoAccessToSelfHostedRunnerGroupInOrgRequestOptions;
|
|
1380
|
+
response: OctokitResponse<ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponseData>;
|
|
1381
|
+
};
|
|
1382
|
+
/**
|
|
1383
|
+
* @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#list-self-hosted-runners-in-a-group-for-an-organization
|
|
1384
|
+
*/
|
|
1385
|
+
"GET /orgs/:org/actions/runner-groups/:runner_group_id/runners": {
|
|
1386
|
+
parameters: ActionsListSelfHostedRunnersInGroupForOrgEndpoint;
|
|
1387
|
+
request: ActionsListSelfHostedRunnersInGroupForOrgRequestOptions;
|
|
1388
|
+
response: OctokitResponse<ActionsListSelfHostedRunnersInGroupForOrgResponseData>;
|
|
1389
|
+
};
|
|
1219
1390
|
/**
|
|
1220
1391
|
* @see https://developer.github.com/v3/actions/self-hosted-runners/#list-self-hosted-runners-for-an-organization
|
|
1221
1392
|
*/
|
|
@@ -2034,12 +2205,29 @@ export interface Endpoints {
|
|
|
2034
2205
|
};
|
|
2035
2206
|
/**
|
|
2036
2207
|
* @see https://developer.github.com/v3/code-scanning/#get-a-code-scanning-alert
|
|
2208
|
+
* @deprecated "alert_id" is deprecated, use "alert_number" instead
|
|
2037
2209
|
*/
|
|
2038
2210
|
"GET /repos/:owner/:repo/code-scanning/alerts/:alert_id": {
|
|
2211
|
+
parameters: CodeScanningGetAlertDeprecatedAlertIdEndpoint;
|
|
2212
|
+
request: CodeScanningGetAlertRequestOptions;
|
|
2213
|
+
response: OctokitResponse<CodeScanningGetAlertResponseData>;
|
|
2214
|
+
};
|
|
2215
|
+
/**
|
|
2216
|
+
* @see https://developer.github.com/v3/code-scanning/#get-a-code-scanning-alert
|
|
2217
|
+
*/
|
|
2218
|
+
"GET /repos/:owner/:repo/code-scanning/alerts/:alert_number": {
|
|
2039
2219
|
parameters: CodeScanningGetAlertEndpoint;
|
|
2040
2220
|
request: CodeScanningGetAlertRequestOptions;
|
|
2041
2221
|
response: OctokitResponse<CodeScanningGetAlertResponseData>;
|
|
2042
2222
|
};
|
|
2223
|
+
/**
|
|
2224
|
+
* @see https://developer.github.com/v3/code-scanning/#list-recent-analyses
|
|
2225
|
+
*/
|
|
2226
|
+
"GET /repos/:owner/:repo/code-scanning/analyses": {
|
|
2227
|
+
parameters: CodeScanningListRecentAnalysesEndpoint;
|
|
2228
|
+
request: CodeScanningListRecentAnalysesRequestOptions;
|
|
2229
|
+
response: OctokitResponse<CodeScanningListRecentAnalysesResponseData>;
|
|
2230
|
+
};
|
|
2043
2231
|
/**
|
|
2044
2232
|
* @see https://developer.github.com/v3/repos/collaborators/#list-repository-collaborators
|
|
2045
2233
|
*/
|
|
@@ -3552,6 +3740,14 @@ export interface Endpoints {
|
|
|
3552
3740
|
request: OauthAuthorizationsUpdateAuthorizationRequestOptions;
|
|
3553
3741
|
response: OctokitResponse<OauthAuthorizationsUpdateAuthorizationResponseData>;
|
|
3554
3742
|
};
|
|
3743
|
+
/**
|
|
3744
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#update-a-self-hosted-runner-group-for-an-enterprise
|
|
3745
|
+
*/
|
|
3746
|
+
"PATCH /enterprises/:enterprise/actions/runner-groups/:runner_group_id": {
|
|
3747
|
+
parameters: EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseEndpoint;
|
|
3748
|
+
request: EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseRequestOptions;
|
|
3749
|
+
response: OctokitResponse<EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseResponseData>;
|
|
3750
|
+
};
|
|
3555
3751
|
/**
|
|
3556
3752
|
* @see https://developer.github.com/v3/gists/#update-a-gist
|
|
3557
3753
|
*/
|
|
@@ -3584,6 +3780,14 @@ export interface Endpoints {
|
|
|
3584
3780
|
request: OrgsUpdateRequestOptions;
|
|
3585
3781
|
response: OctokitResponse<OrgsUpdateResponseData>;
|
|
3586
3782
|
};
|
|
3783
|
+
/**
|
|
3784
|
+
* @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#update-a-self-hosted-runner-group-for-an-organization
|
|
3785
|
+
*/
|
|
3786
|
+
"PATCH /orgs/:org/actions/runner-groups/:runner_group_id": {
|
|
3787
|
+
parameters: ActionsUpdateSelfHostedRunnerGroupForOrgEndpoint;
|
|
3788
|
+
request: ActionsUpdateSelfHostedRunnerGroupForOrgRequestOptions;
|
|
3789
|
+
response: OctokitResponse<ActionsUpdateSelfHostedRunnerGroupForOrgResponseData>;
|
|
3790
|
+
};
|
|
3587
3791
|
/**
|
|
3588
3792
|
* @see https://developer.github.com/v3/orgs/hooks/#update-an-organization-webhook
|
|
3589
3793
|
*/
|
|
@@ -3688,6 +3892,14 @@ export interface Endpoints {
|
|
|
3688
3892
|
request: ChecksSetSuitesPreferencesRequestOptions;
|
|
3689
3893
|
response: OctokitResponse<ChecksSetSuitesPreferencesResponseData>;
|
|
3690
3894
|
};
|
|
3895
|
+
/**
|
|
3896
|
+
* @see https://developer.github.com/v3/code-scanning/#upload-a-code-scanning-alert
|
|
3897
|
+
*/
|
|
3898
|
+
"PATCH /repos/:owner/:repo/code-scanning/alerts/:alert_number": {
|
|
3899
|
+
parameters: CodeScanningUpdateAlertEndpoint;
|
|
3900
|
+
request: CodeScanningUpdateAlertRequestOptions;
|
|
3901
|
+
response: OctokitResponse<CodeScanningUpdateAlertResponseData>;
|
|
3902
|
+
};
|
|
3691
3903
|
/**
|
|
3692
3904
|
* @see https://developer.github.com/v3/repos/comments/#update-a-commit-comment
|
|
3693
3905
|
*/
|
|
@@ -3944,6 +4156,30 @@ export interface Endpoints {
|
|
|
3944
4156
|
request: AppsCreateContentAttachmentRequestOptions;
|
|
3945
4157
|
response: OctokitResponse<AppsCreateContentAttachmentResponseData>;
|
|
3946
4158
|
};
|
|
4159
|
+
/**
|
|
4160
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#create-self-hosted-runner-group-for-an-enterprise
|
|
4161
|
+
*/
|
|
4162
|
+
"POST /enterprises/:enterprise/actions/runner-groups": {
|
|
4163
|
+
parameters: EnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseEndpoint;
|
|
4164
|
+
request: EnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseRequestOptions;
|
|
4165
|
+
response: OctokitResponse<EnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseResponseData>;
|
|
4166
|
+
};
|
|
4167
|
+
/**
|
|
4168
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#create-a-registration-token-for-an-enterprise
|
|
4169
|
+
*/
|
|
4170
|
+
"POST /enterprises/:enterprise/actions/runners/registration-token": {
|
|
4171
|
+
parameters: EnterpriseAdminCreateRegistrationTokenForEnterpriseEndpoint;
|
|
4172
|
+
request: EnterpriseAdminCreateRegistrationTokenForEnterpriseRequestOptions;
|
|
4173
|
+
response: OctokitResponse<EnterpriseAdminCreateRegistrationTokenForEnterpriseResponseData>;
|
|
4174
|
+
};
|
|
4175
|
+
/**
|
|
4176
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#create-a-remove-token-for-an-enterprise
|
|
4177
|
+
*/
|
|
4178
|
+
"POST /enterprises/:enterprise/actions/runners/remove-token": {
|
|
4179
|
+
parameters: EnterpriseAdminCreateRemoveTokenForEnterpriseEndpoint;
|
|
4180
|
+
request: EnterpriseAdminCreateRemoveTokenForEnterpriseRequestOptions;
|
|
4181
|
+
response: OctokitResponse<EnterpriseAdminCreateRemoveTokenForEnterpriseResponseData>;
|
|
4182
|
+
};
|
|
3947
4183
|
/**
|
|
3948
4184
|
* @see https://developer.github.com/v3/gists/#create-a-gist
|
|
3949
4185
|
*/
|
|
@@ -3984,6 +4220,14 @@ export interface Endpoints {
|
|
|
3984
4220
|
request: MarkdownRenderRawRequestOptions;
|
|
3985
4221
|
response: OctokitResponse<any>;
|
|
3986
4222
|
};
|
|
4223
|
+
/**
|
|
4224
|
+
* @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#create-a-self-hosted-runner-group-for-an-organization
|
|
4225
|
+
*/
|
|
4226
|
+
"POST /orgs/:org/actions/runner-groups": {
|
|
4227
|
+
parameters: ActionsCreateSelfHostedRunnerGroupForOrgEndpoint;
|
|
4228
|
+
request: ActionsCreateSelfHostedRunnerGroupForOrgRequestOptions;
|
|
4229
|
+
response: OctokitResponse<ActionsCreateSelfHostedRunnerGroupForOrgResponseData>;
|
|
4230
|
+
};
|
|
3987
4231
|
/**
|
|
3988
4232
|
* @see https://developer.github.com/v3/actions/self-hosted-runners/#create-a-registration-token-for-an-organization
|
|
3989
4233
|
*/
|
|
@@ -4232,6 +4476,14 @@ export interface Endpoints {
|
|
|
4232
4476
|
request: ChecksRerequestSuiteRequestOptions;
|
|
4233
4477
|
response: OctokitResponse<any>;
|
|
4234
4478
|
};
|
|
4479
|
+
/**
|
|
4480
|
+
* @see https://developer.github.com/v3/code-scanning/#upload-a-sarif-analysis
|
|
4481
|
+
*/
|
|
4482
|
+
"POST /repos/:owner/:repo/code-scanning/sarifs": {
|
|
4483
|
+
parameters: CodeScanningUploadSarifEndpoint;
|
|
4484
|
+
request: CodeScanningUploadSarifRequestOptions;
|
|
4485
|
+
response: OctokitResponse<any>;
|
|
4486
|
+
};
|
|
4235
4487
|
/**
|
|
4236
4488
|
* @see https://developer.github.com/v3/reactions/#create-reaction-for-a-commit-comment
|
|
4237
4489
|
*/
|
|
@@ -4672,6 +4924,38 @@ export interface Endpoints {
|
|
|
4672
4924
|
request: OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRequestOptions;
|
|
4673
4925
|
response: OctokitResponse<OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintResponseData | OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintResponse201Data>;
|
|
4674
4926
|
};
|
|
4927
|
+
/**
|
|
4928
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise
|
|
4929
|
+
*/
|
|
4930
|
+
"PUT /enterprises/:enterprise/actions/runner-groups/:runner_group_id/organizations": {
|
|
4931
|
+
parameters: EnterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterpriseEndpoint;
|
|
4932
|
+
request: EnterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterpriseRequestOptions;
|
|
4933
|
+
response: OctokitResponse<any>;
|
|
4934
|
+
};
|
|
4935
|
+
/**
|
|
4936
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise
|
|
4937
|
+
*/
|
|
4938
|
+
"PUT /enterprises/:enterprise/actions/runner-groups/:runner_group_id/organizations/:org_id": {
|
|
4939
|
+
parameters: EnterpriseAdminAddOrgAccessToSelfHostedRunnerGroupInEnterpriseEndpoint;
|
|
4940
|
+
request: EnterpriseAdminAddOrgAccessToSelfHostedRunnerGroupInEnterpriseRequestOptions;
|
|
4941
|
+
response: OctokitResponse<any>;
|
|
4942
|
+
};
|
|
4943
|
+
/**
|
|
4944
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#set-self-hosted-runners-in-a-group-for-an-enterprise
|
|
4945
|
+
*/
|
|
4946
|
+
"PUT /enterprises/:enterprise/actions/runner-groups/:runner_group_id/runners": {
|
|
4947
|
+
parameters: EnterpriseAdminSetSelfHostedInGroupForEnterpriseEndpoint;
|
|
4948
|
+
request: EnterpriseAdminSetSelfHostedInGroupForEnterpriseRequestOptions;
|
|
4949
|
+
response: OctokitResponse<any>;
|
|
4950
|
+
};
|
|
4951
|
+
/**
|
|
4952
|
+
* @see https://developer.github.com/v3/enterprise-admin/actions/#add-a-self-hosted-runner-to-a-group-for-an-enterprise
|
|
4953
|
+
*/
|
|
4954
|
+
"PUT /enterprises/:enterprise/actions/runner-groups/:runner_group_id/runners/:runner_id": {
|
|
4955
|
+
parameters: EnterpriseAdminAddSelfHostedRunnerToRunnerGroupForEnterpriseEndpoint;
|
|
4956
|
+
request: EnterpriseAdminAddSelfHostedRunnerToRunnerGroupForEnterpriseRequestOptions;
|
|
4957
|
+
response: OctokitResponse<any>;
|
|
4958
|
+
};
|
|
4675
4959
|
/**
|
|
4676
4960
|
* @see https://developer.github.com/v3/gists/#star-a-gist
|
|
4677
4961
|
*/
|
|
@@ -4696,6 +4980,38 @@ export interface Endpoints {
|
|
|
4696
4980
|
request: ActivitySetThreadSubscriptionRequestOptions;
|
|
4697
4981
|
response: OctokitResponse<ActivitySetThreadSubscriptionResponseData>;
|
|
4698
4982
|
};
|
|
4983
|
+
/**
|
|
4984
|
+
* @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#set-repository-access-to-a-self-hosted-runner-group-in-an-organization
|
|
4985
|
+
*/
|
|
4986
|
+
"PUT /orgs/:org/actions/runner-groups/:runner_group_id/repositories": {
|
|
4987
|
+
parameters: ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgEndpoint;
|
|
4988
|
+
request: ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequestOptions;
|
|
4989
|
+
response: OctokitResponse<any>;
|
|
4990
|
+
};
|
|
4991
|
+
/**
|
|
4992
|
+
* @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization
|
|
4993
|
+
*/
|
|
4994
|
+
"PUT /orgs/:org/actions/runner-groups/:runner_group_id/repositories/:repository_id": {
|
|
4995
|
+
parameters: ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgEndpoint;
|
|
4996
|
+
request: ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgRequestOptions;
|
|
4997
|
+
response: OctokitResponse<any>;
|
|
4998
|
+
};
|
|
4999
|
+
/**
|
|
5000
|
+
* @see https://developer.github.com/v3/actions/sef-hosted-runner-groups/#set-self-hosted-runners-in-a-group-for-an-organization
|
|
5001
|
+
*/
|
|
5002
|
+
"PUT /orgs/:org/actions/runner-groups/:runner_group_id/runners": {
|
|
5003
|
+
parameters: ActionsSetSelfHostedRunnersInGroupForOrgEndpoint;
|
|
5004
|
+
request: ActionsSetSelfHostedRunnersInGroupForOrgRequestOptions;
|
|
5005
|
+
response: OctokitResponse<any>;
|
|
5006
|
+
};
|
|
5007
|
+
/**
|
|
5008
|
+
* @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#add-a-self-hosted-runner-to-a-group-for-an-organization
|
|
5009
|
+
*/
|
|
5010
|
+
"PUT /orgs/:org/actions/runner-groups/:runner_group_id/runners/:runner_id": {
|
|
5011
|
+
parameters: ActionsAddSelfHostedRunnerToGroupForOrgEndpoint;
|
|
5012
|
+
request: ActionsAddSelfHostedRunnerToGroupForOrgRequestOptions;
|
|
5013
|
+
response: OctokitResponse<any>;
|
|
5014
|
+
};
|
|
4699
5015
|
/**
|
|
4700
5016
|
* @see https://developer.github.com/v3/actions/secrets/#create-or-update-an-organization-secret
|
|
4701
5017
|
*/
|
|
@@ -5057,6 +5373,20 @@ export interface Endpoints {
|
|
|
5057
5373
|
response: OctokitResponse<any>;
|
|
5058
5374
|
};
|
|
5059
5375
|
}
|
|
5376
|
+
declare type ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgEndpoint = {
|
|
5377
|
+
org: string;
|
|
5378
|
+
/**
|
|
5379
|
+
* Unique identifier of the self-hosted runner group.
|
|
5380
|
+
*/
|
|
5381
|
+
runner_group_id: number;
|
|
5382
|
+
repository_id: number;
|
|
5383
|
+
};
|
|
5384
|
+
declare type ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgRequestOptions = {
|
|
5385
|
+
method: "PUT";
|
|
5386
|
+
url: "/orgs/:org/actions/runner-groups/:runner_group_id/repositories/:repository_id";
|
|
5387
|
+
headers: RequestHeaders;
|
|
5388
|
+
request: RequestRequestOptions;
|
|
5389
|
+
};
|
|
5060
5390
|
declare type ActionsAddSelectedRepoToOrgSecretEndpoint = {
|
|
5061
5391
|
org: string;
|
|
5062
5392
|
secret_name: string;
|
|
@@ -5068,6 +5398,23 @@ declare type ActionsAddSelectedRepoToOrgSecretRequestOptions = {
|
|
|
5068
5398
|
headers: RequestHeaders;
|
|
5069
5399
|
request: RequestRequestOptions;
|
|
5070
5400
|
};
|
|
5401
|
+
declare type ActionsAddSelfHostedRunnerToGroupForOrgEndpoint = {
|
|
5402
|
+
org: string;
|
|
5403
|
+
/**
|
|
5404
|
+
* Unique identifier of the self-hosted runner group.
|
|
5405
|
+
*/
|
|
5406
|
+
runner_group_id: number;
|
|
5407
|
+
/**
|
|
5408
|
+
* Unique identifier of the self-hosted runner.
|
|
5409
|
+
*/
|
|
5410
|
+
runner_id: number;
|
|
5411
|
+
};
|
|
5412
|
+
declare type ActionsAddSelfHostedRunnerToGroupForOrgRequestOptions = {
|
|
5413
|
+
method: "PUT";
|
|
5414
|
+
url: "/orgs/:org/actions/runner-groups/:runner_group_id/runners/:runner_id";
|
|
5415
|
+
headers: RequestHeaders;
|
|
5416
|
+
request: RequestRequestOptions;
|
|
5417
|
+
};
|
|
5071
5418
|
declare type ActionsCancelWorkflowRunEndpoint = {
|
|
5072
5419
|
owner: string;
|
|
5073
5420
|
repo: string;
|
|
@@ -5181,6 +5528,40 @@ export interface ActionsCreateRemoveTokenForRepoResponseData {
|
|
|
5181
5528
|
token: string;
|
|
5182
5529
|
expires_at: string;
|
|
5183
5530
|
}
|
|
5531
|
+
declare type ActionsCreateSelfHostedRunnerGroupForOrgEndpoint = {
|
|
5532
|
+
org: string;
|
|
5533
|
+
/**
|
|
5534
|
+
* Name of the runner group.
|
|
5535
|
+
*/
|
|
5536
|
+
name: string;
|
|
5537
|
+
/**
|
|
5538
|
+
* Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories. Can be one of: `all`, `selected`, or `private`.
|
|
5539
|
+
*/
|
|
5540
|
+
visibility?: "selected" | "all" | "private";
|
|
5541
|
+
/**
|
|
5542
|
+
* List of repository IDs that can access the runner group.
|
|
5543
|
+
*/
|
|
5544
|
+
selected_repository_ids?: number[];
|
|
5545
|
+
/**
|
|
5546
|
+
* List of runner IDs to add to the runner group.
|
|
5547
|
+
*/
|
|
5548
|
+
runners?: number[];
|
|
5549
|
+
};
|
|
5550
|
+
declare type ActionsCreateSelfHostedRunnerGroupForOrgRequestOptions = {
|
|
5551
|
+
method: "POST";
|
|
5552
|
+
url: "/orgs/:org/actions/runner-groups";
|
|
5553
|
+
headers: RequestHeaders;
|
|
5554
|
+
request: RequestRequestOptions;
|
|
5555
|
+
};
|
|
5556
|
+
export interface ActionsCreateSelfHostedRunnerGroupForOrgResponseData {
|
|
5557
|
+
id: number;
|
|
5558
|
+
name: string;
|
|
5559
|
+
visibility: string;
|
|
5560
|
+
default: boolean;
|
|
5561
|
+
selected_repositories_url: string;
|
|
5562
|
+
runners_url: string;
|
|
5563
|
+
inherited: boolean;
|
|
5564
|
+
}
|
|
5184
5565
|
declare type ActionsCreateWorkflowDispatchEndpoint = {
|
|
5185
5566
|
owner: string;
|
|
5186
5567
|
repo: string;
|
|
@@ -5234,6 +5615,9 @@ declare type ActionsDeleteRepoSecretRequestOptions = {
|
|
|
5234
5615
|
};
|
|
5235
5616
|
declare type ActionsDeleteSelfHostedRunnerFromOrgEndpoint = {
|
|
5236
5617
|
org: string;
|
|
5618
|
+
/**
|
|
5619
|
+
* Unique identifier of the self-hosted runner.
|
|
5620
|
+
*/
|
|
5237
5621
|
runner_id: number;
|
|
5238
5622
|
};
|
|
5239
5623
|
declare type ActionsDeleteSelfHostedRunnerFromOrgRequestOptions = {
|
|
@@ -5245,6 +5629,9 @@ declare type ActionsDeleteSelfHostedRunnerFromOrgRequestOptions = {
|
|
|
5245
5629
|
declare type ActionsDeleteSelfHostedRunnerFromRepoEndpoint = {
|
|
5246
5630
|
owner: string;
|
|
5247
5631
|
repo: string;
|
|
5632
|
+
/**
|
|
5633
|
+
* Unique identifier of the self-hosted runner.
|
|
5634
|
+
*/
|
|
5248
5635
|
runner_id: number;
|
|
5249
5636
|
};
|
|
5250
5637
|
declare type ActionsDeleteSelfHostedRunnerFromRepoRequestOptions = {
|
|
@@ -5253,6 +5640,19 @@ declare type ActionsDeleteSelfHostedRunnerFromRepoRequestOptions = {
|
|
|
5253
5640
|
headers: RequestHeaders;
|
|
5254
5641
|
request: RequestRequestOptions;
|
|
5255
5642
|
};
|
|
5643
|
+
declare type ActionsDeleteSelfHostedRunnerGroupFromOrgEndpoint = {
|
|
5644
|
+
org: string;
|
|
5645
|
+
/**
|
|
5646
|
+
* Unique identifier of the self-hosted runner group.
|
|
5647
|
+
*/
|
|
5648
|
+
runner_group_id: number;
|
|
5649
|
+
};
|
|
5650
|
+
declare type ActionsDeleteSelfHostedRunnerGroupFromOrgRequestOptions = {
|
|
5651
|
+
method: "DELETE";
|
|
5652
|
+
url: "/orgs/:org/actions/runner-groups/:runner_group_id";
|
|
5653
|
+
headers: RequestHeaders;
|
|
5654
|
+
request: RequestRequestOptions;
|
|
5655
|
+
};
|
|
5256
5656
|
declare type ActionsDeleteWorkflowRunEndpoint = {
|
|
5257
5657
|
owner: string;
|
|
5258
5658
|
repo: string;
|
|
@@ -5427,6 +5827,9 @@ export interface ActionsGetRepoSecretResponseData {
|
|
|
5427
5827
|
}
|
|
5428
5828
|
declare type ActionsGetSelfHostedRunnerForOrgEndpoint = {
|
|
5429
5829
|
org: string;
|
|
5830
|
+
/**
|
|
5831
|
+
* Unique identifier of the self-hosted runner.
|
|
5832
|
+
*/
|
|
5430
5833
|
runner_id: number;
|
|
5431
5834
|
};
|
|
5432
5835
|
declare type ActionsGetSelfHostedRunnerForOrgRequestOptions = {
|
|
@@ -5441,10 +5844,27 @@ export interface ActionsGetSelfHostedRunnerForOrgResponseData {
|
|
|
5441
5844
|
os: string;
|
|
5442
5845
|
status: string;
|
|
5443
5846
|
busy: boolean;
|
|
5847
|
+
labels: {
|
|
5848
|
+
/**
|
|
5849
|
+
* Unique identifier of the label.
|
|
5850
|
+
*/
|
|
5851
|
+
id: number;
|
|
5852
|
+
/**
|
|
5853
|
+
* Name of the label.
|
|
5854
|
+
*/
|
|
5855
|
+
name: string;
|
|
5856
|
+
/**
|
|
5857
|
+
* The type of label. Read-only labels are applied automatically when the runner is configured.
|
|
5858
|
+
*/
|
|
5859
|
+
type: "read-only" | "custom";
|
|
5860
|
+
}[];
|
|
5444
5861
|
}
|
|
5445
5862
|
declare type ActionsGetSelfHostedRunnerForRepoEndpoint = {
|
|
5446
5863
|
owner: string;
|
|
5447
5864
|
repo: string;
|
|
5865
|
+
/**
|
|
5866
|
+
* Unique identifier of the self-hosted runner.
|
|
5867
|
+
*/
|
|
5448
5868
|
runner_id: number;
|
|
5449
5869
|
};
|
|
5450
5870
|
declare type ActionsGetSelfHostedRunnerForRepoRequestOptions = {
|
|
@@ -5459,6 +5879,42 @@ export interface ActionsGetSelfHostedRunnerForRepoResponseData {
|
|
|
5459
5879
|
os: string;
|
|
5460
5880
|
status: string;
|
|
5461
5881
|
busy: boolean;
|
|
5882
|
+
labels: {
|
|
5883
|
+
/**
|
|
5884
|
+
* Unique identifier of the label.
|
|
5885
|
+
*/
|
|
5886
|
+
id: number;
|
|
5887
|
+
/**
|
|
5888
|
+
* Name of the label.
|
|
5889
|
+
*/
|
|
5890
|
+
name: string;
|
|
5891
|
+
/**
|
|
5892
|
+
* The type of label. Read-only labels are applied automatically when the runner is configured.
|
|
5893
|
+
*/
|
|
5894
|
+
type: "read-only" | "custom";
|
|
5895
|
+
}[];
|
|
5896
|
+
}
|
|
5897
|
+
declare type ActionsGetSelfHostedRunnerGroupForOrgEndpoint = {
|
|
5898
|
+
org: string;
|
|
5899
|
+
/**
|
|
5900
|
+
* Unique identifier of the self-hosted runner group.
|
|
5901
|
+
*/
|
|
5902
|
+
runner_group_id: number;
|
|
5903
|
+
};
|
|
5904
|
+
declare type ActionsGetSelfHostedRunnerGroupForOrgRequestOptions = {
|
|
5905
|
+
method: "GET";
|
|
5906
|
+
url: "/orgs/:org/actions/runner-groups/:runner_group_id";
|
|
5907
|
+
headers: RequestHeaders;
|
|
5908
|
+
request: RequestRequestOptions;
|
|
5909
|
+
};
|
|
5910
|
+
export interface ActionsGetSelfHostedRunnerGroupForOrgResponseData {
|
|
5911
|
+
id: number;
|
|
5912
|
+
name: string;
|
|
5913
|
+
visibility: string;
|
|
5914
|
+
default: boolean;
|
|
5915
|
+
selected_repositories_url: string;
|
|
5916
|
+
runners_url: string;
|
|
5917
|
+
inherited: boolean;
|
|
5462
5918
|
}
|
|
5463
5919
|
declare type ActionsGetWorkflowEndpoint = {
|
|
5464
5920
|
owner: string;
|
|
@@ -5828,107 +6284,20 @@ export interface ActionsListOrgSecretsResponseData {
|
|
|
5828
6284
|
selected_repositories_url: string;
|
|
5829
6285
|
}[];
|
|
5830
6286
|
}
|
|
5831
|
-
declare type
|
|
5832
|
-
|
|
5833
|
-
repo: string;
|
|
5834
|
-
/**
|
|
5835
|
-
* Results per page (max 100)
|
|
5836
|
-
*/
|
|
5837
|
-
per_page?: number;
|
|
5838
|
-
/**
|
|
5839
|
-
* Page number of the results to fetch.
|
|
5840
|
-
*/
|
|
5841
|
-
page?: number;
|
|
5842
|
-
};
|
|
5843
|
-
declare type ActionsListRepoSecretsRequestOptions = {
|
|
5844
|
-
method: "GET";
|
|
5845
|
-
url: "/repos/:owner/:repo/actions/secrets";
|
|
5846
|
-
headers: RequestHeaders;
|
|
5847
|
-
request: RequestRequestOptions;
|
|
5848
|
-
};
|
|
5849
|
-
export interface ActionsListRepoSecretsResponseData {
|
|
5850
|
-
total_count: number;
|
|
5851
|
-
secrets: {
|
|
5852
|
-
name: string;
|
|
5853
|
-
created_at: string;
|
|
5854
|
-
updated_at: string;
|
|
5855
|
-
}[];
|
|
5856
|
-
}
|
|
5857
|
-
declare type ActionsListRepoWorkflowsEndpoint = {
|
|
5858
|
-
owner: string;
|
|
5859
|
-
repo: string;
|
|
5860
|
-
/**
|
|
5861
|
-
* Results per page (max 100)
|
|
5862
|
-
*/
|
|
5863
|
-
per_page?: number;
|
|
6287
|
+
declare type ActionsListRepoAccessToSelfHostedRunnerGroupInOrgEndpoint = {
|
|
6288
|
+
org: string;
|
|
5864
6289
|
/**
|
|
5865
|
-
*
|
|
6290
|
+
* Unique identifier of the self-hosted runner group.
|
|
5866
6291
|
*/
|
|
5867
|
-
|
|
5868
|
-
};
|
|
5869
|
-
declare type ActionsListRepoWorkflowsRequestOptions = {
|
|
5870
|
-
method: "GET";
|
|
5871
|
-
url: "/repos/:owner/:repo/actions/workflows";
|
|
5872
|
-
headers: RequestHeaders;
|
|
5873
|
-
request: RequestRequestOptions;
|
|
5874
|
-
};
|
|
5875
|
-
export interface ActionsListRepoWorkflowsResponseData {
|
|
5876
|
-
total_count: number;
|
|
5877
|
-
workflows: {
|
|
5878
|
-
id: number;
|
|
5879
|
-
node_id: string;
|
|
5880
|
-
name: string;
|
|
5881
|
-
path: string;
|
|
5882
|
-
state: string;
|
|
5883
|
-
created_at: string;
|
|
5884
|
-
updated_at: string;
|
|
5885
|
-
url: string;
|
|
5886
|
-
html_url: string;
|
|
5887
|
-
badge_url: string;
|
|
5888
|
-
}[];
|
|
5889
|
-
}
|
|
5890
|
-
declare type ActionsListRunnerApplicationsForOrgEndpoint = {
|
|
5891
|
-
org: string;
|
|
5892
|
-
};
|
|
5893
|
-
declare type ActionsListRunnerApplicationsForOrgRequestOptions = {
|
|
5894
|
-
method: "GET";
|
|
5895
|
-
url: "/orgs/:org/actions/runners/downloads";
|
|
5896
|
-
headers: RequestHeaders;
|
|
5897
|
-
request: RequestRequestOptions;
|
|
5898
|
-
};
|
|
5899
|
-
export declare type ActionsListRunnerApplicationsForOrgResponseData = {
|
|
5900
|
-
os: string;
|
|
5901
|
-
architecture: string;
|
|
5902
|
-
download_url: string;
|
|
5903
|
-
filename: string;
|
|
5904
|
-
}[];
|
|
5905
|
-
declare type ActionsListRunnerApplicationsForRepoEndpoint = {
|
|
5906
|
-
owner: string;
|
|
5907
|
-
repo: string;
|
|
5908
|
-
};
|
|
5909
|
-
declare type ActionsListRunnerApplicationsForRepoRequestOptions = {
|
|
5910
|
-
method: "GET";
|
|
5911
|
-
url: "/repos/:owner/:repo/actions/runners/downloads";
|
|
5912
|
-
headers: RequestHeaders;
|
|
5913
|
-
request: RequestRequestOptions;
|
|
5914
|
-
};
|
|
5915
|
-
export declare type ActionsListRunnerApplicationsForRepoResponseData = {
|
|
5916
|
-
os: string;
|
|
5917
|
-
architecture: string;
|
|
5918
|
-
download_url: string;
|
|
5919
|
-
filename: string;
|
|
5920
|
-
}[];
|
|
5921
|
-
declare type ActionsListSelectedReposForOrgSecretEndpoint = {
|
|
5922
|
-
org: string;
|
|
5923
|
-
secret_name: string;
|
|
6292
|
+
runner_group_id: number;
|
|
5924
6293
|
};
|
|
5925
|
-
declare type
|
|
6294
|
+
declare type ActionsListRepoAccessToSelfHostedRunnerGroupInOrgRequestOptions = {
|
|
5926
6295
|
method: "GET";
|
|
5927
|
-
url: "/orgs/:org/actions/
|
|
6296
|
+
url: "/orgs/:org/actions/runner-groups/:runner_group_id/repositories";
|
|
5928
6297
|
headers: RequestHeaders;
|
|
5929
6298
|
request: RequestRequestOptions;
|
|
5930
6299
|
};
|
|
5931
|
-
export interface
|
|
6300
|
+
export interface ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponseData {
|
|
5932
6301
|
total_count: number;
|
|
5933
6302
|
repositories: {
|
|
5934
6303
|
id: number;
|
|
@@ -5997,6 +6366,246 @@ export interface ActionsListSelectedReposForOrgSecretResponseData {
|
|
|
5997
6366
|
tags_url: string;
|
|
5998
6367
|
teams_url: string;
|
|
5999
6368
|
trees_url: string;
|
|
6369
|
+
clone_url: string;
|
|
6370
|
+
mirror_url: string;
|
|
6371
|
+
hooks_url: string;
|
|
6372
|
+
svn_url: string;
|
|
6373
|
+
homepage: string;
|
|
6374
|
+
language: string;
|
|
6375
|
+
forks_count: number;
|
|
6376
|
+
stargazers_count: number;
|
|
6377
|
+
watchers_count: number;
|
|
6378
|
+
size: number;
|
|
6379
|
+
default_branch: string;
|
|
6380
|
+
open_issues_count: number;
|
|
6381
|
+
is_template: boolean;
|
|
6382
|
+
topics: string[];
|
|
6383
|
+
has_issues: boolean;
|
|
6384
|
+
has_projects: boolean;
|
|
6385
|
+
has_wiki: boolean;
|
|
6386
|
+
has_pages: boolean;
|
|
6387
|
+
has_downloads: boolean;
|
|
6388
|
+
archived: boolean;
|
|
6389
|
+
disabled: boolean;
|
|
6390
|
+
visibility: string;
|
|
6391
|
+
pushed_at: string;
|
|
6392
|
+
created_at: string;
|
|
6393
|
+
updated_at: string;
|
|
6394
|
+
permissions: {
|
|
6395
|
+
admin: boolean;
|
|
6396
|
+
push: boolean;
|
|
6397
|
+
pull: boolean;
|
|
6398
|
+
};
|
|
6399
|
+
allow_rebase_merge: boolean;
|
|
6400
|
+
template_repository: {
|
|
6401
|
+
[k: string]: unknown;
|
|
6402
|
+
};
|
|
6403
|
+
temp_clone_token: string;
|
|
6404
|
+
allow_squash_merge: boolean;
|
|
6405
|
+
delete_branch_on_merge: boolean;
|
|
6406
|
+
allow_merge_commit: boolean;
|
|
6407
|
+
subscribers_count: number;
|
|
6408
|
+
network_count: number;
|
|
6409
|
+
}[];
|
|
6410
|
+
}
|
|
6411
|
+
declare type ActionsListRepoSecretsEndpoint = {
|
|
6412
|
+
owner: string;
|
|
6413
|
+
repo: string;
|
|
6414
|
+
/**
|
|
6415
|
+
* Results per page (max 100)
|
|
6416
|
+
*/
|
|
6417
|
+
per_page?: number;
|
|
6418
|
+
/**
|
|
6419
|
+
* Page number of the results to fetch.
|
|
6420
|
+
*/
|
|
6421
|
+
page?: number;
|
|
6422
|
+
};
|
|
6423
|
+
declare type ActionsListRepoSecretsRequestOptions = {
|
|
6424
|
+
method: "GET";
|
|
6425
|
+
url: "/repos/:owner/:repo/actions/secrets";
|
|
6426
|
+
headers: RequestHeaders;
|
|
6427
|
+
request: RequestRequestOptions;
|
|
6428
|
+
};
|
|
6429
|
+
export interface ActionsListRepoSecretsResponseData {
|
|
6430
|
+
total_count: number;
|
|
6431
|
+
secrets: {
|
|
6432
|
+
name: string;
|
|
6433
|
+
created_at: string;
|
|
6434
|
+
updated_at: string;
|
|
6435
|
+
}[];
|
|
6436
|
+
}
|
|
6437
|
+
declare type ActionsListRepoWorkflowsEndpoint = {
|
|
6438
|
+
owner: string;
|
|
6439
|
+
repo: string;
|
|
6440
|
+
/**
|
|
6441
|
+
* Results per page (max 100)
|
|
6442
|
+
*/
|
|
6443
|
+
per_page?: number;
|
|
6444
|
+
/**
|
|
6445
|
+
* Page number of the results to fetch.
|
|
6446
|
+
*/
|
|
6447
|
+
page?: number;
|
|
6448
|
+
};
|
|
6449
|
+
declare type ActionsListRepoWorkflowsRequestOptions = {
|
|
6450
|
+
method: "GET";
|
|
6451
|
+
url: "/repos/:owner/:repo/actions/workflows";
|
|
6452
|
+
headers: RequestHeaders;
|
|
6453
|
+
request: RequestRequestOptions;
|
|
6454
|
+
};
|
|
6455
|
+
export interface ActionsListRepoWorkflowsResponseData {
|
|
6456
|
+
total_count: number;
|
|
6457
|
+
workflows: {
|
|
6458
|
+
id: number;
|
|
6459
|
+
node_id: string;
|
|
6460
|
+
name: string;
|
|
6461
|
+
path: string;
|
|
6462
|
+
state: string;
|
|
6463
|
+
created_at: string;
|
|
6464
|
+
updated_at: string;
|
|
6465
|
+
url: string;
|
|
6466
|
+
html_url: string;
|
|
6467
|
+
badge_url: string;
|
|
6468
|
+
}[];
|
|
6469
|
+
}
|
|
6470
|
+
declare type ActionsListRunnerApplicationsForOrgEndpoint = {
|
|
6471
|
+
org: string;
|
|
6472
|
+
};
|
|
6473
|
+
declare type ActionsListRunnerApplicationsForOrgRequestOptions = {
|
|
6474
|
+
method: "GET";
|
|
6475
|
+
url: "/orgs/:org/actions/runners/downloads";
|
|
6476
|
+
headers: RequestHeaders;
|
|
6477
|
+
request: RequestRequestOptions;
|
|
6478
|
+
};
|
|
6479
|
+
export declare type ActionsListRunnerApplicationsForOrgResponseData = {
|
|
6480
|
+
os: string;
|
|
6481
|
+
architecture: string;
|
|
6482
|
+
download_url: string;
|
|
6483
|
+
filename: string;
|
|
6484
|
+
}[];
|
|
6485
|
+
declare type ActionsListRunnerApplicationsForRepoEndpoint = {
|
|
6486
|
+
owner: string;
|
|
6487
|
+
repo: string;
|
|
6488
|
+
};
|
|
6489
|
+
declare type ActionsListRunnerApplicationsForRepoRequestOptions = {
|
|
6490
|
+
method: "GET";
|
|
6491
|
+
url: "/repos/:owner/:repo/actions/runners/downloads";
|
|
6492
|
+
headers: RequestHeaders;
|
|
6493
|
+
request: RequestRequestOptions;
|
|
6494
|
+
};
|
|
6495
|
+
export declare type ActionsListRunnerApplicationsForRepoResponseData = {
|
|
6496
|
+
os: string;
|
|
6497
|
+
architecture: string;
|
|
6498
|
+
download_url: string;
|
|
6499
|
+
filename: string;
|
|
6500
|
+
}[];
|
|
6501
|
+
declare type ActionsListSelectedReposForOrgSecretEndpoint = {
|
|
6502
|
+
org: string;
|
|
6503
|
+
secret_name: string;
|
|
6504
|
+
};
|
|
6505
|
+
declare type ActionsListSelectedReposForOrgSecretRequestOptions = {
|
|
6506
|
+
method: "GET";
|
|
6507
|
+
url: "/orgs/:org/actions/secrets/:secret_name/repositories";
|
|
6508
|
+
headers: RequestHeaders;
|
|
6509
|
+
request: RequestRequestOptions;
|
|
6510
|
+
};
|
|
6511
|
+
export interface ActionsListSelectedReposForOrgSecretResponseData {
|
|
6512
|
+
total_count: number;
|
|
6513
|
+
repositories: {
|
|
6514
|
+
id: number;
|
|
6515
|
+
node_id: string;
|
|
6516
|
+
name: string;
|
|
6517
|
+
full_name: string;
|
|
6518
|
+
owner: {
|
|
6519
|
+
login: string;
|
|
6520
|
+
id: number;
|
|
6521
|
+
node_id: string;
|
|
6522
|
+
avatar_url: string;
|
|
6523
|
+
gravatar_id: string;
|
|
6524
|
+
url: string;
|
|
6525
|
+
html_url: string;
|
|
6526
|
+
followers_url: string;
|
|
6527
|
+
following_url: string;
|
|
6528
|
+
gists_url: string;
|
|
6529
|
+
starred_url: string;
|
|
6530
|
+
subscriptions_url: string;
|
|
6531
|
+
organizations_url: string;
|
|
6532
|
+
repos_url: string;
|
|
6533
|
+
events_url: string;
|
|
6534
|
+
received_events_url: string;
|
|
6535
|
+
type: string;
|
|
6536
|
+
site_admin: boolean;
|
|
6537
|
+
};
|
|
6538
|
+
private: boolean;
|
|
6539
|
+
html_url: string;
|
|
6540
|
+
description: string;
|
|
6541
|
+
fork: boolean;
|
|
6542
|
+
url: string;
|
|
6543
|
+
archive_url: string;
|
|
6544
|
+
assignees_url: string;
|
|
6545
|
+
blobs_url: string;
|
|
6546
|
+
branches_url: string;
|
|
6547
|
+
collaborators_url: string;
|
|
6548
|
+
comments_url: string;
|
|
6549
|
+
commits_url: string;
|
|
6550
|
+
compare_url: string;
|
|
6551
|
+
contents_url: string;
|
|
6552
|
+
contributors_url: string;
|
|
6553
|
+
deployments_url: string;
|
|
6554
|
+
downloads_url: string;
|
|
6555
|
+
events_url: string;
|
|
6556
|
+
forks_url: string;
|
|
6557
|
+
git_commits_url: string;
|
|
6558
|
+
git_refs_url: string;
|
|
6559
|
+
git_tags_url: string;
|
|
6560
|
+
git_url: string;
|
|
6561
|
+
issue_comment_url: string;
|
|
6562
|
+
issue_events_url: string;
|
|
6563
|
+
issues_url: string;
|
|
6564
|
+
keys_url: string;
|
|
6565
|
+
labels_url: string;
|
|
6566
|
+
languages_url: string;
|
|
6567
|
+
merges_url: string;
|
|
6568
|
+
milestones_url: string;
|
|
6569
|
+
notifications_url: string;
|
|
6570
|
+
pulls_url: string;
|
|
6571
|
+
releases_url: string;
|
|
6572
|
+
ssh_url: string;
|
|
6573
|
+
stargazers_url: string;
|
|
6574
|
+
statuses_url: string;
|
|
6575
|
+
subscribers_url: string;
|
|
6576
|
+
subscription_url: string;
|
|
6577
|
+
tags_url: string;
|
|
6578
|
+
teams_url: string;
|
|
6579
|
+
trees_url: string;
|
|
6580
|
+
}[];
|
|
6581
|
+
}
|
|
6582
|
+
declare type ActionsListSelfHostedRunnerGroupsForOrgEndpoint = {
|
|
6583
|
+
org: string;
|
|
6584
|
+
/**
|
|
6585
|
+
* Results per page (max 100)
|
|
6586
|
+
*/
|
|
6587
|
+
per_page?: number;
|
|
6588
|
+
/**
|
|
6589
|
+
* Page number of the results to fetch.
|
|
6590
|
+
*/
|
|
6591
|
+
page?: number;
|
|
6592
|
+
};
|
|
6593
|
+
declare type ActionsListSelfHostedRunnerGroupsForOrgRequestOptions = {
|
|
6594
|
+
method: "GET";
|
|
6595
|
+
url: "/orgs/:org/actions/runner-groups";
|
|
6596
|
+
headers: RequestHeaders;
|
|
6597
|
+
request: RequestRequestOptions;
|
|
6598
|
+
};
|
|
6599
|
+
export interface ActionsListSelfHostedRunnerGroupsForOrgResponseData {
|
|
6600
|
+
total_count: number;
|
|
6601
|
+
runner_groups: {
|
|
6602
|
+
id: number;
|
|
6603
|
+
name: string;
|
|
6604
|
+
visibility: string;
|
|
6605
|
+
default: boolean;
|
|
6606
|
+
selected_repositories_url: string;
|
|
6607
|
+
runners_url: string;
|
|
6608
|
+
inherited: boolean;
|
|
6000
6609
|
}[];
|
|
6001
6610
|
}
|
|
6002
6611
|
declare type ActionsListSelfHostedRunnersForOrgEndpoint = {
|
|
@@ -6024,6 +6633,20 @@ export interface ActionsListSelfHostedRunnersForOrgResponseData {
|
|
|
6024
6633
|
os: string;
|
|
6025
6634
|
status: string;
|
|
6026
6635
|
busy: boolean;
|
|
6636
|
+
labels: {
|
|
6637
|
+
/**
|
|
6638
|
+
* Unique identifier of the label.
|
|
6639
|
+
*/
|
|
6640
|
+
id: number;
|
|
6641
|
+
/**
|
|
6642
|
+
* Name of the label.
|
|
6643
|
+
*/
|
|
6644
|
+
name: string;
|
|
6645
|
+
/**
|
|
6646
|
+
* The type of label. Read-only labels are applied automatically when the runner is configured.
|
|
6647
|
+
*/
|
|
6648
|
+
type: "read-only" | "custom";
|
|
6649
|
+
}[];
|
|
6027
6650
|
}[];
|
|
6028
6651
|
}
|
|
6029
6652
|
declare type ActionsListSelfHostedRunnersForRepoEndpoint = {
|
|
@@ -6052,6 +6675,65 @@ export interface ActionsListSelfHostedRunnersForRepoResponseData {
|
|
|
6052
6675
|
os: string;
|
|
6053
6676
|
status: string;
|
|
6054
6677
|
busy: boolean;
|
|
6678
|
+
labels: {
|
|
6679
|
+
/**
|
|
6680
|
+
* Unique identifier of the label.
|
|
6681
|
+
*/
|
|
6682
|
+
id: number;
|
|
6683
|
+
/**
|
|
6684
|
+
* Name of the label.
|
|
6685
|
+
*/
|
|
6686
|
+
name: string;
|
|
6687
|
+
/**
|
|
6688
|
+
* The type of label. Read-only labels are applied automatically when the runner is configured.
|
|
6689
|
+
*/
|
|
6690
|
+
type: "read-only" | "custom";
|
|
6691
|
+
}[];
|
|
6692
|
+
}[];
|
|
6693
|
+
}
|
|
6694
|
+
declare type ActionsListSelfHostedRunnersInGroupForOrgEndpoint = {
|
|
6695
|
+
org: string;
|
|
6696
|
+
/**
|
|
6697
|
+
* Unique identifier of the self-hosted runner group.
|
|
6698
|
+
*/
|
|
6699
|
+
runner_group_id: number;
|
|
6700
|
+
/**
|
|
6701
|
+
* Results per page (max 100)
|
|
6702
|
+
*/
|
|
6703
|
+
per_page?: number;
|
|
6704
|
+
/**
|
|
6705
|
+
* Page number of the results to fetch.
|
|
6706
|
+
*/
|
|
6707
|
+
page?: number;
|
|
6708
|
+
};
|
|
6709
|
+
declare type ActionsListSelfHostedRunnersInGroupForOrgRequestOptions = {
|
|
6710
|
+
method: "GET";
|
|
6711
|
+
url: "/orgs/:org/actions/runner-groups/:runner_group_id/runners";
|
|
6712
|
+
headers: RequestHeaders;
|
|
6713
|
+
request: RequestRequestOptions;
|
|
6714
|
+
};
|
|
6715
|
+
export interface ActionsListSelfHostedRunnersInGroupForOrgResponseData {
|
|
6716
|
+
total_count: number;
|
|
6717
|
+
runners: {
|
|
6718
|
+
id: number;
|
|
6719
|
+
name: string;
|
|
6720
|
+
os: string;
|
|
6721
|
+
status: string;
|
|
6722
|
+
busy: boolean;
|
|
6723
|
+
labels: {
|
|
6724
|
+
/**
|
|
6725
|
+
* Unique identifier of the label.
|
|
6726
|
+
*/
|
|
6727
|
+
id: number;
|
|
6728
|
+
/**
|
|
6729
|
+
* Name of the label.
|
|
6730
|
+
*/
|
|
6731
|
+
name: string;
|
|
6732
|
+
/**
|
|
6733
|
+
* The type of label. Read-only labels are applied automatically when the runner is configured.
|
|
6734
|
+
*/
|
|
6735
|
+
type: "read-only" | "custom";
|
|
6736
|
+
}[];
|
|
6055
6737
|
}[];
|
|
6056
6738
|
}
|
|
6057
6739
|
declare type ActionsListWorkflowRunArtifactsEndpoint = {
|
|
@@ -6517,6 +7199,20 @@ declare type ActionsReRunWorkflowRequestOptions = {
|
|
|
6517
7199
|
headers: RequestHeaders;
|
|
6518
7200
|
request: RequestRequestOptions;
|
|
6519
7201
|
};
|
|
7202
|
+
declare type ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgEndpoint = {
|
|
7203
|
+
org: string;
|
|
7204
|
+
/**
|
|
7205
|
+
* Unique identifier of the self-hosted runner group.
|
|
7206
|
+
*/
|
|
7207
|
+
runner_group_id: number;
|
|
7208
|
+
repository_id: number;
|
|
7209
|
+
};
|
|
7210
|
+
declare type ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgRequestOptions = {
|
|
7211
|
+
method: "DELETE";
|
|
7212
|
+
url: "/orgs/:org/actions/runner-groups/:runner_group_id/repositories/:repository_id";
|
|
7213
|
+
headers: RequestHeaders;
|
|
7214
|
+
request: RequestRequestOptions;
|
|
7215
|
+
};
|
|
6520
7216
|
declare type ActionsRemoveSelectedRepoFromOrgSecretEndpoint = {
|
|
6521
7217
|
org: string;
|
|
6522
7218
|
secret_name: string;
|
|
@@ -6528,6 +7224,40 @@ declare type ActionsRemoveSelectedRepoFromOrgSecretRequestOptions = {
|
|
|
6528
7224
|
headers: RequestHeaders;
|
|
6529
7225
|
request: RequestRequestOptions;
|
|
6530
7226
|
};
|
|
7227
|
+
declare type ActionsRemoveSelfHostedRunnerFromGroupForOrgEndpoint = {
|
|
7228
|
+
org: string;
|
|
7229
|
+
/**
|
|
7230
|
+
* Unique identifier of the self-hosted runner group.
|
|
7231
|
+
*/
|
|
7232
|
+
runner_group_id: number;
|
|
7233
|
+
/**
|
|
7234
|
+
* Unique identifier of the self-hosted runner.
|
|
7235
|
+
*/
|
|
7236
|
+
runner_id: number;
|
|
7237
|
+
};
|
|
7238
|
+
declare type ActionsRemoveSelfHostedRunnerFromGroupForOrgRequestOptions = {
|
|
7239
|
+
method: "DELETE";
|
|
7240
|
+
url: "/orgs/:org/actions/runner-groups/:runner_group_id/runners/:runner_id";
|
|
7241
|
+
headers: RequestHeaders;
|
|
7242
|
+
request: RequestRequestOptions;
|
|
7243
|
+
};
|
|
7244
|
+
declare type ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgEndpoint = {
|
|
7245
|
+
org: string;
|
|
7246
|
+
/**
|
|
7247
|
+
* Unique identifier of the self-hosted runner group.
|
|
7248
|
+
*/
|
|
7249
|
+
runner_group_id: number;
|
|
7250
|
+
/**
|
|
7251
|
+
* List of repository IDs that can access the runner group.
|
|
7252
|
+
*/
|
|
7253
|
+
selected_repository_ids: number[];
|
|
7254
|
+
};
|
|
7255
|
+
declare type ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequestOptions = {
|
|
7256
|
+
method: "PUT";
|
|
7257
|
+
url: "/orgs/:org/actions/runner-groups/:runner_group_id/repositories";
|
|
7258
|
+
headers: RequestHeaders;
|
|
7259
|
+
request: RequestRequestOptions;
|
|
7260
|
+
};
|
|
6531
7261
|
declare type ActionsSetSelectedReposForOrgSecretEndpoint = {
|
|
6532
7262
|
org: string;
|
|
6533
7263
|
secret_name: string;
|
|
@@ -6542,6 +7272,53 @@ declare type ActionsSetSelectedReposForOrgSecretRequestOptions = {
|
|
|
6542
7272
|
headers: RequestHeaders;
|
|
6543
7273
|
request: RequestRequestOptions;
|
|
6544
7274
|
};
|
|
7275
|
+
declare type ActionsSetSelfHostedRunnersInGroupForOrgEndpoint = {
|
|
7276
|
+
org: string;
|
|
7277
|
+
/**
|
|
7278
|
+
* Unique identifier of the self-hosted runner group.
|
|
7279
|
+
*/
|
|
7280
|
+
runner_group_id: number;
|
|
7281
|
+
/**
|
|
7282
|
+
* List of runner IDs to add to the runner group.
|
|
7283
|
+
*/
|
|
7284
|
+
runners: number[];
|
|
7285
|
+
};
|
|
7286
|
+
declare type ActionsSetSelfHostedRunnersInGroupForOrgRequestOptions = {
|
|
7287
|
+
method: "PUT";
|
|
7288
|
+
url: "/orgs/:org/actions/runner-groups/:runner_group_id/runners";
|
|
7289
|
+
headers: RequestHeaders;
|
|
7290
|
+
request: RequestRequestOptions;
|
|
7291
|
+
};
|
|
7292
|
+
declare type ActionsUpdateSelfHostedRunnerGroupForOrgEndpoint = {
|
|
7293
|
+
org: string;
|
|
7294
|
+
/**
|
|
7295
|
+
* Unique identifier of the self-hosted runner group.
|
|
7296
|
+
*/
|
|
7297
|
+
runner_group_id: number;
|
|
7298
|
+
/**
|
|
7299
|
+
* Name of the runner group.
|
|
7300
|
+
*/
|
|
7301
|
+
name?: string;
|
|
7302
|
+
/**
|
|
7303
|
+
* Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. Can be one of: `all`, `selected`, or `private`.
|
|
7304
|
+
*/
|
|
7305
|
+
visibility?: "selected" | "all" | "private";
|
|
7306
|
+
};
|
|
7307
|
+
declare type ActionsUpdateSelfHostedRunnerGroupForOrgRequestOptions = {
|
|
7308
|
+
method: "PATCH";
|
|
7309
|
+
url: "/orgs/:org/actions/runner-groups/:runner_group_id";
|
|
7310
|
+
headers: RequestHeaders;
|
|
7311
|
+
request: RequestRequestOptions;
|
|
7312
|
+
};
|
|
7313
|
+
export interface ActionsUpdateSelfHostedRunnerGroupForOrgResponseData {
|
|
7314
|
+
id: number;
|
|
7315
|
+
name: string;
|
|
7316
|
+
visibility: string;
|
|
7317
|
+
default: boolean;
|
|
7318
|
+
selected_repositories_url: string;
|
|
7319
|
+
runners_url: string;
|
|
7320
|
+
inherited: boolean;
|
|
7321
|
+
}
|
|
6545
7322
|
declare type ActivityCheckRepoIsStarredByAuthenticatedUserEndpoint = {
|
|
6546
7323
|
owner: string;
|
|
6547
7324
|
repo: string;
|
|
@@ -8081,7 +8858,7 @@ declare type ActivityUnstarRepoForAuthenticatedUserRequestOptions = {
|
|
|
8081
8858
|
declare type AppsAddRepoToInstallationEndpoint = {
|
|
8082
8859
|
installation_id: number;
|
|
8083
8860
|
repository_id: number;
|
|
8084
|
-
}
|
|
8861
|
+
};
|
|
8085
8862
|
declare type AppsAddRepoToInstallationRequestOptions = {
|
|
8086
8863
|
method: "PUT";
|
|
8087
8864
|
url: "/user/installations/:installation_id/repositories/:repository_id";
|
|
@@ -8262,7 +9039,7 @@ declare type AppsCreateInstallationAccessTokenEndpoint = {
|
|
|
8262
9039
|
* The permissions granted to the access token. The permissions object includes the permission names and their access type. For a complete list of permissions and allowable values, see "[GitHub App permissions](https://developer.github.com/apps/building-github-apps/creating-github-apps-using-url-parameters/#github-app-permissions)."
|
|
8263
9040
|
*/
|
|
8264
9041
|
permissions?: AppsCreateInstallationAccessTokenParamsPermissions;
|
|
8265
|
-
}
|
|
9042
|
+
};
|
|
8266
9043
|
declare type AppsCreateInstallationAccessTokenRequestOptions = {
|
|
8267
9044
|
method: "POST";
|
|
8268
9045
|
url: "/app/installations/:installation_id/access_tokens";
|
|
@@ -8401,7 +9178,7 @@ declare type AppsDeleteAuthorizationRequestOptions = {
|
|
|
8401
9178
|
};
|
|
8402
9179
|
declare type AppsDeleteInstallationEndpoint = {
|
|
8403
9180
|
installation_id: number;
|
|
8404
|
-
}
|
|
9181
|
+
};
|
|
8405
9182
|
declare type AppsDeleteInstallationRequestOptions = {
|
|
8406
9183
|
method: "DELETE";
|
|
8407
9184
|
url: "/app/installations/:installation_id";
|
|
@@ -8421,7 +9198,7 @@ declare type AppsDeleteTokenRequestOptions = {
|
|
|
8421
9198
|
headers: RequestHeaders;
|
|
8422
9199
|
request: RequestRequestOptions;
|
|
8423
9200
|
};
|
|
8424
|
-
declare type AppsGetAuthenticatedEndpoint = {}
|
|
9201
|
+
declare type AppsGetAuthenticatedEndpoint = {};
|
|
8425
9202
|
declare type AppsGetAuthenticatedRequestOptions = {
|
|
8426
9203
|
method: "GET";
|
|
8427
9204
|
url: "/app";
|
|
@@ -8463,7 +9240,7 @@ export interface AppsGetAuthenticatedResponseData {
|
|
|
8463
9240
|
}
|
|
8464
9241
|
declare type AppsGetBySlugEndpoint = {
|
|
8465
9242
|
app_slug: string;
|
|
8466
|
-
}
|
|
9243
|
+
};
|
|
8467
9244
|
declare type AppsGetBySlugRequestOptions = {
|
|
8468
9245
|
method: "GET";
|
|
8469
9246
|
url: "/apps/:app_slug";
|
|
@@ -8504,7 +9281,7 @@ export interface AppsGetBySlugResponseData {
|
|
|
8504
9281
|
}
|
|
8505
9282
|
declare type AppsGetInstallationEndpoint = {
|
|
8506
9283
|
installation_id: number;
|
|
8507
|
-
}
|
|
9284
|
+
};
|
|
8508
9285
|
declare type AppsGetInstallationRequestOptions = {
|
|
8509
9286
|
method: "GET";
|
|
8510
9287
|
url: "/app/installations/:installation_id";
|
|
@@ -8544,7 +9321,7 @@ export interface AppsGetInstallationResponseData {
|
|
|
8544
9321
|
}
|
|
8545
9322
|
declare type AppsGetOrgInstallationEndpoint = {
|
|
8546
9323
|
org: string;
|
|
8547
|
-
}
|
|
9324
|
+
};
|
|
8548
9325
|
declare type AppsGetOrgInstallationRequestOptions = {
|
|
8549
9326
|
method: "GET";
|
|
8550
9327
|
url: "/orgs/:org/installation";
|
|
@@ -8593,7 +9370,7 @@ export interface AppsGetOrgInstallationResponseData {
|
|
|
8593
9370
|
declare type AppsGetRepoInstallationEndpoint = {
|
|
8594
9371
|
owner: string;
|
|
8595
9372
|
repo: string;
|
|
8596
|
-
}
|
|
9373
|
+
};
|
|
8597
9374
|
declare type AppsGetRepoInstallationRequestOptions = {
|
|
8598
9375
|
method: "GET";
|
|
8599
9376
|
url: "/repos/:owner/:repo/installation";
|
|
@@ -8761,7 +9538,7 @@ export interface AppsGetSubscriptionPlanForAccountStubbedResponseData {
|
|
|
8761
9538
|
}
|
|
8762
9539
|
declare type AppsGetUserInstallationEndpoint = {
|
|
8763
9540
|
username: string;
|
|
8764
|
-
}
|
|
9541
|
+
};
|
|
8765
9542
|
declare type AppsGetUserInstallationRequestOptions = {
|
|
8766
9543
|
method: "GET";
|
|
8767
9544
|
url: "/users/:username/installation";
|
|
@@ -8969,7 +9746,7 @@ declare type AppsListInstallationReposForAuthenticatedUserEndpoint = {
|
|
|
8969
9746
|
* Page number of the results to fetch.
|
|
8970
9747
|
*/
|
|
8971
9748
|
page?: number;
|
|
8972
|
-
}
|
|
9749
|
+
};
|
|
8973
9750
|
declare type AppsListInstallationReposForAuthenticatedUserRequestOptions = {
|
|
8974
9751
|
method: "GET";
|
|
8975
9752
|
url: "/user/installations/:installation_id/repositories";
|
|
@@ -9096,7 +9873,7 @@ declare type AppsListInstallationsEndpoint = {
|
|
|
9096
9873
|
* Page number of the results to fetch.
|
|
9097
9874
|
*/
|
|
9098
9875
|
page?: number;
|
|
9099
|
-
}
|
|
9876
|
+
};
|
|
9100
9877
|
declare type AppsListInstallationsRequestOptions = {
|
|
9101
9878
|
method: "GET";
|
|
9102
9879
|
url: "/app/installations";
|
|
@@ -9143,7 +9920,7 @@ declare type AppsListInstallationsForAuthenticatedUserEndpoint = {
|
|
|
9143
9920
|
* Page number of the results to fetch.
|
|
9144
9921
|
*/
|
|
9145
9922
|
page?: number;
|
|
9146
|
-
}
|
|
9923
|
+
};
|
|
9147
9924
|
declare type AppsListInstallationsForAuthenticatedUserRequestOptions = {
|
|
9148
9925
|
method: "GET";
|
|
9149
9926
|
url: "/user/installations";
|
|
@@ -9265,7 +10042,7 @@ declare type AppsListReposAccessibleToInstallationEndpoint = {
|
|
|
9265
10042
|
* Page number of the results to fetch.
|
|
9266
10043
|
*/
|
|
9267
10044
|
page?: number;
|
|
9268
|
-
}
|
|
10045
|
+
};
|
|
9269
10046
|
declare type AppsListReposAccessibleToInstallationRequestOptions = {
|
|
9270
10047
|
method: "GET";
|
|
9271
10048
|
url: "/installation/repositories";
|
|
@@ -9475,7 +10252,7 @@ export declare type AppsListSubscriptionsForAuthenticatedUserStubbedResponseData
|
|
|
9475
10252
|
declare type AppsRemoveRepoFromInstallationEndpoint = {
|
|
9476
10253
|
installation_id: number;
|
|
9477
10254
|
repository_id: number;
|
|
9478
|
-
}
|
|
10255
|
+
};
|
|
9479
10256
|
declare type AppsRemoveRepoFromInstallationRequestOptions = {
|
|
9480
10257
|
method: "DELETE";
|
|
9481
10258
|
url: "/user/installations/:installation_id/repositories/:repository_id";
|
|
@@ -9626,46 +10403,6 @@ declare type AppsUnsuspendInstallationRequestOptions = {
|
|
|
9626
10403
|
headers: RequestHeaders;
|
|
9627
10404
|
request: RequestRequestOptions;
|
|
9628
10405
|
};
|
|
9629
|
-
declare type BillingGetGithubActionsBillingGheEndpoint = {
|
|
9630
|
-
/**
|
|
9631
|
-
* Unique identifier of the GitHub Enterprise Cloud instance.
|
|
9632
|
-
*/
|
|
9633
|
-
enterprise_id: number;
|
|
9634
|
-
};
|
|
9635
|
-
declare type BillingGetGithubActionsBillingGheRequestOptions = {
|
|
9636
|
-
method: "GET";
|
|
9637
|
-
url: "/enterprises/:enterprise_id/settings/billing/actions";
|
|
9638
|
-
headers: RequestHeaders;
|
|
9639
|
-
request: RequestRequestOptions;
|
|
9640
|
-
};
|
|
9641
|
-
export interface BillingGetGithubActionsBillingGheResponseData {
|
|
9642
|
-
/**
|
|
9643
|
-
* The sum of the free and paid GitHub Actions minutes used.
|
|
9644
|
-
*/
|
|
9645
|
-
total_minutes_used: number;
|
|
9646
|
-
/**
|
|
9647
|
-
* The total paid GitHub Actions minutes used.
|
|
9648
|
-
*/
|
|
9649
|
-
total_paid_minutes_used: number;
|
|
9650
|
-
/**
|
|
9651
|
-
* The amount of free GitHub Actions minutes available.
|
|
9652
|
-
*/
|
|
9653
|
-
included_minutes: number;
|
|
9654
|
-
minutes_used_breakdown: {
|
|
9655
|
-
/**
|
|
9656
|
-
* Total minutes used on Ubuntu runner machines.
|
|
9657
|
-
*/
|
|
9658
|
-
UBUNTU: number;
|
|
9659
|
-
/**
|
|
9660
|
-
* Total minutes used on macOS runner machines.
|
|
9661
|
-
*/
|
|
9662
|
-
MACOS: number;
|
|
9663
|
-
/**
|
|
9664
|
-
* Total minutes used on Windows runner machines.
|
|
9665
|
-
*/
|
|
9666
|
-
WINDOWS: number;
|
|
9667
|
-
};
|
|
9668
|
-
}
|
|
9669
10406
|
declare type BillingGetGithubActionsBillingOrgEndpoint = {
|
|
9670
10407
|
org: string;
|
|
9671
10408
|
};
|
|
@@ -9740,32 +10477,6 @@ export interface BillingGetGithubActionsBillingUserResponseData {
|
|
|
9740
10477
|
WINDOWS: number;
|
|
9741
10478
|
};
|
|
9742
10479
|
}
|
|
9743
|
-
declare type BillingGetGithubPackagesBillingGheEndpoint = {
|
|
9744
|
-
/**
|
|
9745
|
-
* Unique identifier of the GitHub Enterprise Cloud instance.
|
|
9746
|
-
*/
|
|
9747
|
-
enterprise_id: number;
|
|
9748
|
-
};
|
|
9749
|
-
declare type BillingGetGithubPackagesBillingGheRequestOptions = {
|
|
9750
|
-
method: "GET";
|
|
9751
|
-
url: "/enterprises/:enterprise_id/settings/billing/packages";
|
|
9752
|
-
headers: RequestHeaders;
|
|
9753
|
-
request: RequestRequestOptions;
|
|
9754
|
-
};
|
|
9755
|
-
export interface BillingGetGithubPackagesBillingGheResponseData {
|
|
9756
|
-
/**
|
|
9757
|
-
* Sum of the free and paid storage space (GB) for GitHuub Packages.
|
|
9758
|
-
*/
|
|
9759
|
-
total_gigabytes_bandwidth_used: number;
|
|
9760
|
-
/**
|
|
9761
|
-
* Total paid storage space (GB) for GitHuub Packages.
|
|
9762
|
-
*/
|
|
9763
|
-
total_paid_gigabytes_bandwidth_used: number;
|
|
9764
|
-
/**
|
|
9765
|
-
* Free storage space (GB) for GitHub Packages.
|
|
9766
|
-
*/
|
|
9767
|
-
included_gigabytes_bandwidth: number;
|
|
9768
|
-
}
|
|
9769
10480
|
declare type BillingGetGithubPackagesBillingOrgEndpoint = {
|
|
9770
10481
|
org: string;
|
|
9771
10482
|
};
|
|
@@ -9812,32 +10523,6 @@ export interface BillingGetGithubPackagesBillingUserResponseData {
|
|
|
9812
10523
|
*/
|
|
9813
10524
|
included_gigabytes_bandwidth: number;
|
|
9814
10525
|
}
|
|
9815
|
-
declare type BillingGetSharedStorageBillingGheEndpoint = {
|
|
9816
|
-
/**
|
|
9817
|
-
* Unique identifier of the GitHub Enterprise Cloud instance.
|
|
9818
|
-
*/
|
|
9819
|
-
enterprise_id: number;
|
|
9820
|
-
};
|
|
9821
|
-
declare type BillingGetSharedStorageBillingGheRequestOptions = {
|
|
9822
|
-
method: "GET";
|
|
9823
|
-
url: "/enterprises/:enterprise_id/settings/billing/shared-storage";
|
|
9824
|
-
headers: RequestHeaders;
|
|
9825
|
-
request: RequestRequestOptions;
|
|
9826
|
-
};
|
|
9827
|
-
export interface BillingGetSharedStorageBillingGheResponseData {
|
|
9828
|
-
/**
|
|
9829
|
-
* Numbers of days left in billing cycle.
|
|
9830
|
-
*/
|
|
9831
|
-
days_left_in_billing_cycle: number;
|
|
9832
|
-
/**
|
|
9833
|
-
* Estimated storage space (GB) used in billing cycle.
|
|
9834
|
-
*/
|
|
9835
|
-
estimated_paid_storage_for_month: number;
|
|
9836
|
-
/**
|
|
9837
|
-
* Estimated sum of free and paid storage space (GB) used in billing cycle.
|
|
9838
|
-
*/
|
|
9839
|
-
estimated_storage_for_month: number;
|
|
9840
|
-
}
|
|
9841
10526
|
declare type BillingGetSharedStorageBillingOrgEndpoint = {
|
|
9842
10527
|
org: string;
|
|
9843
10528
|
};
|
|
@@ -11142,35 +11827,111 @@ export interface ChecksUpdateResponseData {
|
|
|
11142
11827
|
declare type CodeScanningGetAlertEndpoint = {
|
|
11143
11828
|
owner: string;
|
|
11144
11829
|
repo: string;
|
|
11145
|
-
|
|
11830
|
+
/**
|
|
11831
|
+
* The code scanning alert number.
|
|
11832
|
+
*/
|
|
11833
|
+
alert_number?: number;
|
|
11146
11834
|
};
|
|
11147
11835
|
declare type CodeScanningGetAlertRequestOptions = {
|
|
11148
11836
|
method: "GET";
|
|
11149
|
-
url: "/repos/:owner/:repo/code-scanning/alerts/:
|
|
11837
|
+
url: "/repos/:owner/:repo/code-scanning/alerts/:alert_number";
|
|
11150
11838
|
headers: RequestHeaders;
|
|
11151
11839
|
request: RequestRequestOptions;
|
|
11152
11840
|
};
|
|
11153
11841
|
export interface CodeScanningGetAlertResponseData {
|
|
11154
|
-
|
|
11155
|
-
|
|
11156
|
-
|
|
11157
|
-
|
|
11842
|
+
/**
|
|
11843
|
+
* The code scanning alert number.
|
|
11844
|
+
*/
|
|
11845
|
+
number: number;
|
|
11846
|
+
/**
|
|
11847
|
+
* The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
|
|
11848
|
+
*/
|
|
11158
11849
|
created_at: string;
|
|
11159
|
-
|
|
11160
|
-
|
|
11161
|
-
|
|
11850
|
+
/**
|
|
11851
|
+
* The REST API URL of the alert resource.
|
|
11852
|
+
*/
|
|
11162
11853
|
url: string;
|
|
11854
|
+
/**
|
|
11855
|
+
* The GitHub URL of the alert resource.
|
|
11856
|
+
*/
|
|
11163
11857
|
html_url: string;
|
|
11858
|
+
instances: unknown[];
|
|
11859
|
+
/**
|
|
11860
|
+
* State of a code scanning alert.
|
|
11861
|
+
*/
|
|
11862
|
+
state: "open" | "dismissed" | "fixed";
|
|
11863
|
+
dismissed_by: {
|
|
11864
|
+
login?: string;
|
|
11865
|
+
id?: number;
|
|
11866
|
+
node_id?: string;
|
|
11867
|
+
avatar_url?: string;
|
|
11868
|
+
gravatar_id?: string;
|
|
11869
|
+
url?: string;
|
|
11870
|
+
html_url?: string;
|
|
11871
|
+
followers_url?: string;
|
|
11872
|
+
following_url?: string;
|
|
11873
|
+
gists_url?: string;
|
|
11874
|
+
starred_url?: string;
|
|
11875
|
+
subscriptions_url?: string;
|
|
11876
|
+
organizations_url?: string;
|
|
11877
|
+
repos_url?: string;
|
|
11878
|
+
events_url?: string;
|
|
11879
|
+
received_events_url?: string;
|
|
11880
|
+
type?: string;
|
|
11881
|
+
site_admin?: boolean;
|
|
11882
|
+
[k: string]: unknown;
|
|
11883
|
+
} | null;
|
|
11884
|
+
/**
|
|
11885
|
+
* The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
|
|
11886
|
+
*/
|
|
11887
|
+
dismissed_at: string;
|
|
11888
|
+
/**
|
|
11889
|
+
* **Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.
|
|
11890
|
+
*/
|
|
11891
|
+
dismissed_reason: ("false positive" | "won't fix" | "used in tests") | null;
|
|
11892
|
+
rule: {
|
|
11893
|
+
/**
|
|
11894
|
+
* A unique identifier for the rule used to detect the alert.
|
|
11895
|
+
*/
|
|
11896
|
+
id: string;
|
|
11897
|
+
/**
|
|
11898
|
+
* The severity of the alert.
|
|
11899
|
+
*/
|
|
11900
|
+
severity: "none" | "note" | "warning" | "error";
|
|
11901
|
+
/**
|
|
11902
|
+
* A short description of the rule used to detect the alert.
|
|
11903
|
+
*/
|
|
11904
|
+
description: string;
|
|
11905
|
+
};
|
|
11906
|
+
tool: {
|
|
11907
|
+
/**
|
|
11908
|
+
* The name of the tool used to generate the code scanning analysis alert.
|
|
11909
|
+
*/
|
|
11910
|
+
name: string;
|
|
11911
|
+
/**
|
|
11912
|
+
* The version of the tool used to detect the alert.
|
|
11913
|
+
*/
|
|
11914
|
+
version: string;
|
|
11915
|
+
};
|
|
11164
11916
|
}
|
|
11917
|
+
declare type CodeScanningGetAlertDeprecatedAlertIdEndpoint = {
|
|
11918
|
+
owner: string;
|
|
11919
|
+
repo: string;
|
|
11920
|
+
/**
|
|
11921
|
+
* The code scanning alert number.
|
|
11922
|
+
* @deprecated "alert_id" is deprecated. Use "alert_number" instead
|
|
11923
|
+
*/
|
|
11924
|
+
alert_id?: number;
|
|
11925
|
+
};
|
|
11165
11926
|
declare type CodeScanningListAlertsForRepoEndpoint = {
|
|
11166
11927
|
owner: string;
|
|
11167
11928
|
repo: string;
|
|
11168
11929
|
/**
|
|
11169
|
-
* Set to `
|
|
11930
|
+
* Set to `open`, `fixed`, or `dismissed` to list code scanning alerts in a specific state.
|
|
11170
11931
|
*/
|
|
11171
|
-
state?:
|
|
11932
|
+
state?: "open" | "dismissed" | "fixed";
|
|
11172
11933
|
/**
|
|
11173
|
-
*
|
|
11934
|
+
* Set a full Git reference to list alerts for a specific branch. The `ref` must be formatted as `refs/heads/<branch name>`.
|
|
11174
11935
|
*/
|
|
11175
11936
|
ref?: string;
|
|
11176
11937
|
};
|
|
@@ -11181,17 +11942,258 @@ declare type CodeScanningListAlertsForRepoRequestOptions = {
|
|
|
11181
11942
|
request: RequestRequestOptions;
|
|
11182
11943
|
};
|
|
11183
11944
|
export declare type CodeScanningListAlertsForRepoResponseData = {
|
|
11184
|
-
|
|
11185
|
-
|
|
11186
|
-
|
|
11187
|
-
|
|
11945
|
+
/**
|
|
11946
|
+
* The code scanning alert number.
|
|
11947
|
+
*/
|
|
11948
|
+
number: number;
|
|
11949
|
+
/**
|
|
11950
|
+
* The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
|
|
11951
|
+
*/
|
|
11188
11952
|
created_at: string;
|
|
11189
|
-
|
|
11190
|
-
|
|
11191
|
-
|
|
11953
|
+
/**
|
|
11954
|
+
* The REST API URL of the alert resource.
|
|
11955
|
+
*/
|
|
11192
11956
|
url: string;
|
|
11957
|
+
/**
|
|
11958
|
+
* The GitHub URL of the alert resource.
|
|
11959
|
+
*/
|
|
11193
11960
|
html_url: string;
|
|
11961
|
+
/**
|
|
11962
|
+
* State of a code scanning alert.
|
|
11963
|
+
*/
|
|
11964
|
+
state: "open" | "dismissed" | "fixed";
|
|
11965
|
+
dismissed_by: {
|
|
11966
|
+
login?: string;
|
|
11967
|
+
id?: number;
|
|
11968
|
+
node_id?: string;
|
|
11969
|
+
avatar_url?: string;
|
|
11970
|
+
gravatar_id?: string;
|
|
11971
|
+
url?: string;
|
|
11972
|
+
html_url?: string;
|
|
11973
|
+
followers_url?: string;
|
|
11974
|
+
following_url?: string;
|
|
11975
|
+
gists_url?: string;
|
|
11976
|
+
starred_url?: string;
|
|
11977
|
+
subscriptions_url?: string;
|
|
11978
|
+
organizations_url?: string;
|
|
11979
|
+
repos_url?: string;
|
|
11980
|
+
events_url?: string;
|
|
11981
|
+
received_events_url?: string;
|
|
11982
|
+
type?: string;
|
|
11983
|
+
site_admin?: boolean;
|
|
11984
|
+
[k: string]: unknown;
|
|
11985
|
+
} | null;
|
|
11986
|
+
/**
|
|
11987
|
+
* The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
|
|
11988
|
+
*/
|
|
11989
|
+
dismissed_at: string;
|
|
11990
|
+
/**
|
|
11991
|
+
* **Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.
|
|
11992
|
+
*/
|
|
11993
|
+
dismissed_reason: ("false positive" | "won't fix" | "used in tests") | null;
|
|
11994
|
+
rule: {
|
|
11995
|
+
/**
|
|
11996
|
+
* A unique identifier for the rule used to detect the alert.
|
|
11997
|
+
*/
|
|
11998
|
+
id: string;
|
|
11999
|
+
/**
|
|
12000
|
+
* The severity of the alert.
|
|
12001
|
+
*/
|
|
12002
|
+
severity: "none" | "note" | "warning" | "error";
|
|
12003
|
+
/**
|
|
12004
|
+
* A short description of the rule used to detect the alert.
|
|
12005
|
+
*/
|
|
12006
|
+
description: string;
|
|
12007
|
+
};
|
|
12008
|
+
tool: {
|
|
12009
|
+
/**
|
|
12010
|
+
* The name of the tool used to generate the code scanning analysis alert.
|
|
12011
|
+
*/
|
|
12012
|
+
name: string;
|
|
12013
|
+
/**
|
|
12014
|
+
* The version of the tool used to detect the alert.
|
|
12015
|
+
*/
|
|
12016
|
+
version: string;
|
|
12017
|
+
};
|
|
11194
12018
|
}[];
|
|
12019
|
+
declare type CodeScanningListRecentAnalysesEndpoint = {
|
|
12020
|
+
owner: string;
|
|
12021
|
+
repo: string;
|
|
12022
|
+
/**
|
|
12023
|
+
* Set a full Git reference to list alerts for a specific branch. The `ref` must be formatted as `refs/heads/<branch name>`.
|
|
12024
|
+
*/
|
|
12025
|
+
ref?: string;
|
|
12026
|
+
/**
|
|
12027
|
+
* Set a single code scanning tool name to filter alerts by tool.
|
|
12028
|
+
*/
|
|
12029
|
+
tool_name?: string;
|
|
12030
|
+
};
|
|
12031
|
+
declare type CodeScanningListRecentAnalysesRequestOptions = {
|
|
12032
|
+
method: "GET";
|
|
12033
|
+
url: "/repos/:owner/:repo/code-scanning/analyses";
|
|
12034
|
+
headers: RequestHeaders;
|
|
12035
|
+
request: RequestRequestOptions;
|
|
12036
|
+
};
|
|
12037
|
+
export declare type CodeScanningListRecentAnalysesResponseData = {
|
|
12038
|
+
/**
|
|
12039
|
+
* The commit SHA of the code scanning analysis file.
|
|
12040
|
+
*/
|
|
12041
|
+
commit_sha: string;
|
|
12042
|
+
/**
|
|
12043
|
+
* The full Git reference of the code scanning analysis file, formatted as `refs/heads/<branch name>`.
|
|
12044
|
+
*/
|
|
12045
|
+
ref: string;
|
|
12046
|
+
/**
|
|
12047
|
+
* Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.
|
|
12048
|
+
*/
|
|
12049
|
+
analysis_key: string;
|
|
12050
|
+
/**
|
|
12051
|
+
* The time that the analysis was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
|
|
12052
|
+
*/
|
|
12053
|
+
created_at: string;
|
|
12054
|
+
/**
|
|
12055
|
+
* The name of the tool used to generate the code scanning analysis alert.
|
|
12056
|
+
*/
|
|
12057
|
+
tool_name: string;
|
|
12058
|
+
error: string;
|
|
12059
|
+
/**
|
|
12060
|
+
* Identifies the variable values associated with the environment in which this analysis was performed.
|
|
12061
|
+
*/
|
|
12062
|
+
environment: string;
|
|
12063
|
+
}[];
|
|
12064
|
+
declare type CodeScanningUpdateAlertEndpoint = {
|
|
12065
|
+
owner: string;
|
|
12066
|
+
repo: string;
|
|
12067
|
+
/**
|
|
12068
|
+
* The code scanning alert number.
|
|
12069
|
+
*/
|
|
12070
|
+
alert_number?: number;
|
|
12071
|
+
/**
|
|
12072
|
+
* Sets the state of the code scanning alert. Can be one of `open` or `dismissed`. You must provide `dismissed_reason` when you set the state to `dismissed`.
|
|
12073
|
+
*/
|
|
12074
|
+
state: "open" | "dismissed";
|
|
12075
|
+
/**
|
|
12076
|
+
* **Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.
|
|
12077
|
+
*/
|
|
12078
|
+
dismissed_reason?: string | null;
|
|
12079
|
+
};
|
|
12080
|
+
declare type CodeScanningUpdateAlertRequestOptions = {
|
|
12081
|
+
method: "PATCH";
|
|
12082
|
+
url: "/repos/:owner/:repo/code-scanning/alerts/:alert_number";
|
|
12083
|
+
headers: RequestHeaders;
|
|
12084
|
+
request: RequestRequestOptions;
|
|
12085
|
+
};
|
|
12086
|
+
export interface CodeScanningUpdateAlertResponseData {
|
|
12087
|
+
/**
|
|
12088
|
+
* The code scanning alert number.
|
|
12089
|
+
*/
|
|
12090
|
+
number: number;
|
|
12091
|
+
/**
|
|
12092
|
+
* The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
|
|
12093
|
+
*/
|
|
12094
|
+
created_at: string;
|
|
12095
|
+
/**
|
|
12096
|
+
* The REST API URL of the alert resource.
|
|
12097
|
+
*/
|
|
12098
|
+
url: string;
|
|
12099
|
+
/**
|
|
12100
|
+
* The GitHub URL of the alert resource.
|
|
12101
|
+
*/
|
|
12102
|
+
html_url: string;
|
|
12103
|
+
instances: unknown[];
|
|
12104
|
+
/**
|
|
12105
|
+
* State of a code scanning alert.
|
|
12106
|
+
*/
|
|
12107
|
+
state: "open" | "dismissed" | "fixed";
|
|
12108
|
+
dismissed_by: {
|
|
12109
|
+
login?: string;
|
|
12110
|
+
id?: number;
|
|
12111
|
+
node_id?: string;
|
|
12112
|
+
avatar_url?: string;
|
|
12113
|
+
gravatar_id?: string;
|
|
12114
|
+
url?: string;
|
|
12115
|
+
html_url?: string;
|
|
12116
|
+
followers_url?: string;
|
|
12117
|
+
following_url?: string;
|
|
12118
|
+
gists_url?: string;
|
|
12119
|
+
starred_url?: string;
|
|
12120
|
+
subscriptions_url?: string;
|
|
12121
|
+
organizations_url?: string;
|
|
12122
|
+
repos_url?: string;
|
|
12123
|
+
events_url?: string;
|
|
12124
|
+
received_events_url?: string;
|
|
12125
|
+
type?: string;
|
|
12126
|
+
site_admin?: boolean;
|
|
12127
|
+
[k: string]: unknown;
|
|
12128
|
+
} | null;
|
|
12129
|
+
/**
|
|
12130
|
+
* The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
|
|
12131
|
+
*/
|
|
12132
|
+
dismissed_at: string;
|
|
12133
|
+
/**
|
|
12134
|
+
* **Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.
|
|
12135
|
+
*/
|
|
12136
|
+
dismissed_reason: ("false positive" | "won't fix" | "used in tests") | null;
|
|
12137
|
+
rule: {
|
|
12138
|
+
/**
|
|
12139
|
+
* A unique identifier for the rule used to detect the alert.
|
|
12140
|
+
*/
|
|
12141
|
+
id: string;
|
|
12142
|
+
/**
|
|
12143
|
+
* The severity of the alert.
|
|
12144
|
+
*/
|
|
12145
|
+
severity: "none" | "note" | "warning" | "error";
|
|
12146
|
+
/**
|
|
12147
|
+
* A short description of the rule used to detect the alert.
|
|
12148
|
+
*/
|
|
12149
|
+
description: string;
|
|
12150
|
+
};
|
|
12151
|
+
tool: {
|
|
12152
|
+
/**
|
|
12153
|
+
* The name of the tool used to generate the code scanning analysis alert.
|
|
12154
|
+
*/
|
|
12155
|
+
name: string;
|
|
12156
|
+
/**
|
|
12157
|
+
* The version of the tool used to detect the alert.
|
|
12158
|
+
*/
|
|
12159
|
+
version: string;
|
|
12160
|
+
};
|
|
12161
|
+
}
|
|
12162
|
+
declare type CodeScanningUploadSarifEndpoint = {
|
|
12163
|
+
owner: string;
|
|
12164
|
+
repo: string;
|
|
12165
|
+
/**
|
|
12166
|
+
* The commit SHA of the code scanning analysis file.
|
|
12167
|
+
*/
|
|
12168
|
+
commit_sha: string;
|
|
12169
|
+
/**
|
|
12170
|
+
* The full Git reference of the code scanning analysis file, formatted as `refs/heads/<branch name>`.
|
|
12171
|
+
*/
|
|
12172
|
+
ref: string;
|
|
12173
|
+
/**
|
|
12174
|
+
* A Base64 string representing the SARIF file to upload. You must first compress your SARIF file using [`gzip`](http://www.gnu.org/software/gzip/manual/gzip.html) and then translate the contents of the file into a Base64 encoding string.
|
|
12175
|
+
*/
|
|
12176
|
+
sarif: string;
|
|
12177
|
+
/**
|
|
12178
|
+
* The base directory used in the analysis, as it appears in the SARIF file.
|
|
12179
|
+
* This property is used to convert file paths from absolute to relative, so that alerts can be mapped to their correct location in the repository.
|
|
12180
|
+
*/
|
|
12181
|
+
checkout_uri?: string;
|
|
12182
|
+
/**
|
|
12183
|
+
* The time that the analysis run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
|
|
12184
|
+
*/
|
|
12185
|
+
started_at?: string;
|
|
12186
|
+
/**
|
|
12187
|
+
* The name of the tool used to generate the code scanning analysis alert.
|
|
12188
|
+
*/
|
|
12189
|
+
tool_name: string;
|
|
12190
|
+
};
|
|
12191
|
+
declare type CodeScanningUploadSarifRequestOptions = {
|
|
12192
|
+
method: "POST";
|
|
12193
|
+
url: "/repos/:owner/:repo/code-scanning/sarifs";
|
|
12194
|
+
headers: RequestHeaders;
|
|
12195
|
+
request: RequestRequestOptions;
|
|
12196
|
+
};
|
|
11195
12197
|
declare type CodesOfConductGetAllCodesOfConductEndpoint = {} & RequiredPreview<"scarlet-witch">;
|
|
11196
12198
|
declare type CodesOfConductGetAllCodesOfConductRequestOptions = {
|
|
11197
12199
|
method: "GET";
|
|
@@ -11242,7 +12244,118 @@ declare type EmojisGetRequestOptions = {
|
|
|
11242
12244
|
headers: RequestHeaders;
|
|
11243
12245
|
request: RequestRequestOptions;
|
|
11244
12246
|
};
|
|
12247
|
+
declare type EnterpriseAdminAddOrgAccessToSelfHostedRunnerGroupInEnterpriseEndpoint = {
|
|
12248
|
+
/**
|
|
12249
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12250
|
+
*/
|
|
12251
|
+
enterprise: string;
|
|
12252
|
+
/**
|
|
12253
|
+
* Unique identifier of the self-hosted runner group.
|
|
12254
|
+
*/
|
|
12255
|
+
runner_group_id: number;
|
|
12256
|
+
/**
|
|
12257
|
+
* Unique identifier of an organization.
|
|
12258
|
+
*/
|
|
12259
|
+
org_id: number;
|
|
12260
|
+
};
|
|
12261
|
+
declare type EnterpriseAdminAddOrgAccessToSelfHostedRunnerGroupInEnterpriseRequestOptions = {
|
|
12262
|
+
method: "PUT";
|
|
12263
|
+
url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id/organizations/:org_id";
|
|
12264
|
+
headers: RequestHeaders;
|
|
12265
|
+
request: RequestRequestOptions;
|
|
12266
|
+
};
|
|
12267
|
+
declare type EnterpriseAdminAddSelfHostedRunnerToRunnerGroupForEnterpriseEndpoint = {
|
|
12268
|
+
/**
|
|
12269
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12270
|
+
*/
|
|
12271
|
+
enterprise: string;
|
|
12272
|
+
/**
|
|
12273
|
+
* Unique identifier of the self-hosted runner group.
|
|
12274
|
+
*/
|
|
12275
|
+
runner_group_id: number;
|
|
12276
|
+
/**
|
|
12277
|
+
* Unique identifier of the self-hosted runner.
|
|
12278
|
+
*/
|
|
12279
|
+
runner_id: number;
|
|
12280
|
+
};
|
|
12281
|
+
declare type EnterpriseAdminAddSelfHostedRunnerToRunnerGroupForEnterpriseRequestOptions = {
|
|
12282
|
+
method: "PUT";
|
|
12283
|
+
url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id/runners/:runner_id";
|
|
12284
|
+
headers: RequestHeaders;
|
|
12285
|
+
request: RequestRequestOptions;
|
|
12286
|
+
};
|
|
12287
|
+
declare type EnterpriseAdminCreateRegistrationTokenForEnterpriseEndpoint = {
|
|
12288
|
+
/**
|
|
12289
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12290
|
+
*/
|
|
12291
|
+
enterprise: string;
|
|
12292
|
+
};
|
|
12293
|
+
declare type EnterpriseAdminCreateRegistrationTokenForEnterpriseRequestOptions = {
|
|
12294
|
+
method: "POST";
|
|
12295
|
+
url: "/enterprises/:enterprise/actions/runners/registration-token";
|
|
12296
|
+
headers: RequestHeaders;
|
|
12297
|
+
request: RequestRequestOptions;
|
|
12298
|
+
};
|
|
12299
|
+
export interface EnterpriseAdminCreateRegistrationTokenForEnterpriseResponseData {
|
|
12300
|
+
token: string;
|
|
12301
|
+
expires_at: string;
|
|
12302
|
+
}
|
|
12303
|
+
declare type EnterpriseAdminCreateRemoveTokenForEnterpriseEndpoint = {
|
|
12304
|
+
/**
|
|
12305
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12306
|
+
*/
|
|
12307
|
+
enterprise: string;
|
|
12308
|
+
};
|
|
12309
|
+
declare type EnterpriseAdminCreateRemoveTokenForEnterpriseRequestOptions = {
|
|
12310
|
+
method: "POST";
|
|
12311
|
+
url: "/enterprises/:enterprise/actions/runners/remove-token";
|
|
12312
|
+
headers: RequestHeaders;
|
|
12313
|
+
request: RequestRequestOptions;
|
|
12314
|
+
};
|
|
12315
|
+
export interface EnterpriseAdminCreateRemoveTokenForEnterpriseResponseData {
|
|
12316
|
+
token: string;
|
|
12317
|
+
expires_at: string;
|
|
12318
|
+
}
|
|
12319
|
+
declare type EnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseEndpoint = {
|
|
12320
|
+
/**
|
|
12321
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12322
|
+
*/
|
|
12323
|
+
enterprise: string;
|
|
12324
|
+
/**
|
|
12325
|
+
* Name of the runner group.
|
|
12326
|
+
*/
|
|
12327
|
+
name: string;
|
|
12328
|
+
/**
|
|
12329
|
+
* Visibility of a runner group. You can select all organizations or select individual organization. Can be one of: `all` or `selected`
|
|
12330
|
+
*/
|
|
12331
|
+
visibility?: "selected" | "all";
|
|
12332
|
+
/**
|
|
12333
|
+
* List of organization IDs that can access the runner group.
|
|
12334
|
+
*/
|
|
12335
|
+
selected_organization_ids?: number[];
|
|
12336
|
+
/**
|
|
12337
|
+
* List of runner IDs to add to the runner group.
|
|
12338
|
+
*/
|
|
12339
|
+
runners?: number[];
|
|
12340
|
+
};
|
|
12341
|
+
declare type EnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseRequestOptions = {
|
|
12342
|
+
method: "POST";
|
|
12343
|
+
url: "/enterprises/:enterprise/actions/runner-groups";
|
|
12344
|
+
headers: RequestHeaders;
|
|
12345
|
+
request: RequestRequestOptions;
|
|
12346
|
+
};
|
|
12347
|
+
export interface EnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseResponseData {
|
|
12348
|
+
id: number;
|
|
12349
|
+
name: string;
|
|
12350
|
+
visibility: string;
|
|
12351
|
+
default: boolean;
|
|
12352
|
+
selected_organizations_url: string;
|
|
12353
|
+
runners_url: string;
|
|
12354
|
+
}
|
|
11245
12355
|
declare type EnterpriseAdminDeleteScimGroupFromEnterpriseEndpoint = {
|
|
12356
|
+
/**
|
|
12357
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12358
|
+
*/
|
|
11246
12359
|
enterprise: string;
|
|
11247
12360
|
/**
|
|
11248
12361
|
* Identifier generated by the GitHub SCIM endpoint.
|
|
@@ -11255,7 +12368,42 @@ declare type EnterpriseAdminDeleteScimGroupFromEnterpriseRequestOptions = {
|
|
|
11255
12368
|
headers: RequestHeaders;
|
|
11256
12369
|
request: RequestRequestOptions;
|
|
11257
12370
|
};
|
|
12371
|
+
declare type EnterpriseAdminDeleteSelfHostedRunnerFromEnterpriseEndpoint = {
|
|
12372
|
+
/**
|
|
12373
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12374
|
+
*/
|
|
12375
|
+
enterprise: string;
|
|
12376
|
+
/**
|
|
12377
|
+
* Unique identifier of the self-hosted runner.
|
|
12378
|
+
*/
|
|
12379
|
+
runner_id: number;
|
|
12380
|
+
};
|
|
12381
|
+
declare type EnterpriseAdminDeleteSelfHostedRunnerFromEnterpriseRequestOptions = {
|
|
12382
|
+
method: "DELETE";
|
|
12383
|
+
url: "/enterprises/:enterprise/actions/runners/:runner_id";
|
|
12384
|
+
headers: RequestHeaders;
|
|
12385
|
+
request: RequestRequestOptions;
|
|
12386
|
+
};
|
|
12387
|
+
declare type EnterpriseAdminDeleteSelfHostedRunnerGroupFromEnterpriseEndpoint = {
|
|
12388
|
+
/**
|
|
12389
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12390
|
+
*/
|
|
12391
|
+
enterprise: string;
|
|
12392
|
+
/**
|
|
12393
|
+
* Unique identifier of the self-hosted runner group.
|
|
12394
|
+
*/
|
|
12395
|
+
runner_group_id: number;
|
|
12396
|
+
};
|
|
12397
|
+
declare type EnterpriseAdminDeleteSelfHostedRunnerGroupFromEnterpriseRequestOptions = {
|
|
12398
|
+
method: "DELETE";
|
|
12399
|
+
url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id";
|
|
12400
|
+
headers: RequestHeaders;
|
|
12401
|
+
request: RequestRequestOptions;
|
|
12402
|
+
};
|
|
11258
12403
|
declare type EnterpriseAdminDeleteUserFromEnterpriseEndpoint = {
|
|
12404
|
+
/**
|
|
12405
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12406
|
+
*/
|
|
11259
12407
|
enterprise: string;
|
|
11260
12408
|
/**
|
|
11261
12409
|
* Identifier generated by the GitHub SCIM endpoint.
|
|
@@ -11268,7 +12416,90 @@ declare type EnterpriseAdminDeleteUserFromEnterpriseRequestOptions = {
|
|
|
11268
12416
|
headers: RequestHeaders;
|
|
11269
12417
|
request: RequestRequestOptions;
|
|
11270
12418
|
};
|
|
12419
|
+
declare type EnterpriseAdminGetGithubActionsBillingGheEndpoint = {
|
|
12420
|
+
/**
|
|
12421
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12422
|
+
*/
|
|
12423
|
+
enterprise: string;
|
|
12424
|
+
};
|
|
12425
|
+
declare type EnterpriseAdminGetGithubActionsBillingGheRequestOptions = {
|
|
12426
|
+
method: "GET";
|
|
12427
|
+
url: "/enterprises/:enterprise/settings/billing/actions";
|
|
12428
|
+
headers: RequestHeaders;
|
|
12429
|
+
request: RequestRequestOptions;
|
|
12430
|
+
};
|
|
12431
|
+
export interface EnterpriseAdminGetGithubActionsBillingGheResponseData {
|
|
12432
|
+
/**
|
|
12433
|
+
* The sum of the free and paid GitHub Actions minutes used.
|
|
12434
|
+
*/
|
|
12435
|
+
total_minutes_used: number;
|
|
12436
|
+
/**
|
|
12437
|
+
* The total paid GitHub Actions minutes used.
|
|
12438
|
+
*/
|
|
12439
|
+
total_paid_minutes_used: number;
|
|
12440
|
+
/**
|
|
12441
|
+
* The amount of free GitHub Actions minutes available.
|
|
12442
|
+
*/
|
|
12443
|
+
included_minutes: number;
|
|
12444
|
+
minutes_used_breakdown: {
|
|
12445
|
+
/**
|
|
12446
|
+
* Total minutes used on Ubuntu runner machines.
|
|
12447
|
+
*/
|
|
12448
|
+
UBUNTU: number;
|
|
12449
|
+
/**
|
|
12450
|
+
* Total minutes used on macOS runner machines.
|
|
12451
|
+
*/
|
|
12452
|
+
MACOS: number;
|
|
12453
|
+
/**
|
|
12454
|
+
* Total minutes used on Windows runner machines.
|
|
12455
|
+
*/
|
|
12456
|
+
WINDOWS: number;
|
|
12457
|
+
};
|
|
12458
|
+
}
|
|
12459
|
+
declare type EnterpriseAdminGetGithubActionsBillingGheDeprecatedEnterpriseIdEndpoint = {
|
|
12460
|
+
/**
|
|
12461
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12462
|
+
* @deprecated "enterprise_id" is deprecated. Use "enterprise" instead
|
|
12463
|
+
*/
|
|
12464
|
+
enterprise_id?: string;
|
|
12465
|
+
};
|
|
12466
|
+
declare type EnterpriseAdminGetGithubPackagesBillingGheEndpoint = {
|
|
12467
|
+
/**
|
|
12468
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12469
|
+
*/
|
|
12470
|
+
enterprise: string;
|
|
12471
|
+
};
|
|
12472
|
+
declare type EnterpriseAdminGetGithubPackagesBillingGheRequestOptions = {
|
|
12473
|
+
method: "GET";
|
|
12474
|
+
url: "/enterprises/:enterprise/settings/billing/packages";
|
|
12475
|
+
headers: RequestHeaders;
|
|
12476
|
+
request: RequestRequestOptions;
|
|
12477
|
+
};
|
|
12478
|
+
export interface EnterpriseAdminGetGithubPackagesBillingGheResponseData {
|
|
12479
|
+
/**
|
|
12480
|
+
* Sum of the free and paid storage space (GB) for GitHuub Packages.
|
|
12481
|
+
*/
|
|
12482
|
+
total_gigabytes_bandwidth_used: number;
|
|
12483
|
+
/**
|
|
12484
|
+
* Total paid storage space (GB) for GitHuub Packages.
|
|
12485
|
+
*/
|
|
12486
|
+
total_paid_gigabytes_bandwidth_used: number;
|
|
12487
|
+
/**
|
|
12488
|
+
* Free storage space (GB) for GitHub Packages.
|
|
12489
|
+
*/
|
|
12490
|
+
included_gigabytes_bandwidth: number;
|
|
12491
|
+
}
|
|
12492
|
+
declare type EnterpriseAdminGetGithubPackagesBillingGheDeprecatedEnterpriseIdEndpoint = {
|
|
12493
|
+
/**
|
|
12494
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12495
|
+
* @deprecated "enterprise_id" is deprecated. Use "enterprise" instead
|
|
12496
|
+
*/
|
|
12497
|
+
enterprise_id?: string;
|
|
12498
|
+
};
|
|
11271
12499
|
declare type EnterpriseAdminGetProvisioningInformationForEnterpriseGroupEndpoint = {
|
|
12500
|
+
/**
|
|
12501
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12502
|
+
*/
|
|
11272
12503
|
enterprise: string;
|
|
11273
12504
|
/**
|
|
11274
12505
|
* Identifier generated by the GitHub SCIM endpoint.
|
|
@@ -11299,6 +12530,9 @@ export interface EnterpriseAdminGetProvisioningInformationForEnterpriseGroupResp
|
|
|
11299
12530
|
};
|
|
11300
12531
|
}
|
|
11301
12532
|
declare type EnterpriseAdminGetProvisioningInformationForEnterpriseUserEndpoint = {
|
|
12533
|
+
/**
|
|
12534
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12535
|
+
*/
|
|
11302
12536
|
enterprise: string;
|
|
11303
12537
|
/**
|
|
11304
12538
|
* Identifier generated by the GitHub SCIM endpoint.
|
|
@@ -11336,181 +12570,652 @@ export interface EnterpriseAdminGetProvisioningInformationForEnterpriseUserRespo
|
|
|
11336
12570
|
location: string;
|
|
11337
12571
|
};
|
|
11338
12572
|
}
|
|
11339
|
-
declare type
|
|
11340
|
-
|
|
12573
|
+
declare type EnterpriseAdminGetSelfHostedRunnerForEnterpriseEndpoint = {
|
|
12574
|
+
/**
|
|
12575
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12576
|
+
*/
|
|
12577
|
+
enterprise: string;
|
|
12578
|
+
/**
|
|
12579
|
+
* Unique identifier of the self-hosted runner.
|
|
12580
|
+
*/
|
|
12581
|
+
runner_id: number;
|
|
12582
|
+
};
|
|
12583
|
+
declare type EnterpriseAdminGetSelfHostedRunnerForEnterpriseRequestOptions = {
|
|
12584
|
+
method: "GET";
|
|
12585
|
+
url: "/enterprises/:enterprise/actions/runners/:runner_id";
|
|
12586
|
+
headers: RequestHeaders;
|
|
12587
|
+
request: RequestRequestOptions;
|
|
12588
|
+
};
|
|
12589
|
+
export interface EnterpriseAdminGetSelfHostedRunnerForEnterpriseResponseData {
|
|
12590
|
+
id: number;
|
|
12591
|
+
name: string;
|
|
12592
|
+
os: string;
|
|
12593
|
+
status: string;
|
|
12594
|
+
busy: boolean;
|
|
12595
|
+
labels: {
|
|
12596
|
+
/**
|
|
12597
|
+
* Unique identifier of the label.
|
|
12598
|
+
*/
|
|
12599
|
+
id: number;
|
|
12600
|
+
/**
|
|
12601
|
+
* Name of the label.
|
|
12602
|
+
*/
|
|
12603
|
+
name: string;
|
|
12604
|
+
/**
|
|
12605
|
+
* The type of label. Read-only labels are applied automatically when the runner is configured.
|
|
12606
|
+
*/
|
|
12607
|
+
type: "read-only" | "custom";
|
|
12608
|
+
}[];
|
|
12609
|
+
}
|
|
12610
|
+
declare type EnterpriseAdminGetSelfHostedRunnerGroupForEnterpriseEndpoint = {
|
|
12611
|
+
/**
|
|
12612
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12613
|
+
*/
|
|
12614
|
+
enterprise: string;
|
|
12615
|
+
/**
|
|
12616
|
+
* Unique identifier of the self-hosted runner group.
|
|
12617
|
+
*/
|
|
12618
|
+
runner_group_id: number;
|
|
12619
|
+
};
|
|
12620
|
+
declare type EnterpriseAdminGetSelfHostedRunnerGroupForEnterpriseRequestOptions = {
|
|
12621
|
+
method: "GET";
|
|
12622
|
+
url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id";
|
|
12623
|
+
headers: RequestHeaders;
|
|
12624
|
+
request: RequestRequestOptions;
|
|
12625
|
+
};
|
|
12626
|
+
export interface EnterpriseAdminGetSelfHostedRunnerGroupForEnterpriseResponseData {
|
|
12627
|
+
id: number;
|
|
12628
|
+
name: string;
|
|
12629
|
+
visibility: string;
|
|
12630
|
+
default: boolean;
|
|
12631
|
+
selected_organizations_url: string;
|
|
12632
|
+
runners_url: string;
|
|
12633
|
+
}
|
|
12634
|
+
declare type EnterpriseAdminGetSharedStorageBillingGheEndpoint = {
|
|
12635
|
+
/**
|
|
12636
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12637
|
+
*/
|
|
12638
|
+
enterprise: string;
|
|
12639
|
+
};
|
|
12640
|
+
declare type EnterpriseAdminGetSharedStorageBillingGheRequestOptions = {
|
|
12641
|
+
method: "GET";
|
|
12642
|
+
url: "/enterprises/:enterprise/settings/billing/shared-storage";
|
|
12643
|
+
headers: RequestHeaders;
|
|
12644
|
+
request: RequestRequestOptions;
|
|
12645
|
+
};
|
|
12646
|
+
export interface EnterpriseAdminGetSharedStorageBillingGheResponseData {
|
|
12647
|
+
/**
|
|
12648
|
+
* Numbers of days left in billing cycle.
|
|
12649
|
+
*/
|
|
12650
|
+
days_left_in_billing_cycle: number;
|
|
12651
|
+
/**
|
|
12652
|
+
* Estimated storage space (GB) used in billing cycle.
|
|
12653
|
+
*/
|
|
12654
|
+
estimated_paid_storage_for_month: number;
|
|
12655
|
+
/**
|
|
12656
|
+
* Estimated sum of free and paid storage space (GB) used in billing cycle.
|
|
12657
|
+
*/
|
|
12658
|
+
estimated_storage_for_month: number;
|
|
12659
|
+
}
|
|
12660
|
+
declare type EnterpriseAdminGetSharedStorageBillingGheDeprecatedEnterpriseIdEndpoint = {
|
|
12661
|
+
/**
|
|
12662
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12663
|
+
* @deprecated "enterprise_id" is deprecated. Use "enterprise" instead
|
|
12664
|
+
*/
|
|
12665
|
+
enterprise_id?: string;
|
|
12666
|
+
};
|
|
12667
|
+
declare type EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseEndpoint = {
|
|
12668
|
+
/**
|
|
12669
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12670
|
+
*/
|
|
12671
|
+
enterprise: string;
|
|
12672
|
+
/**
|
|
12673
|
+
* Unique identifier of the self-hosted runner group.
|
|
12674
|
+
*/
|
|
12675
|
+
runner_group_id: number;
|
|
12676
|
+
/**
|
|
12677
|
+
* Results per page (max 100)
|
|
12678
|
+
*/
|
|
12679
|
+
per_page?: number;
|
|
12680
|
+
/**
|
|
12681
|
+
* Page number of the results to fetch.
|
|
12682
|
+
*/
|
|
12683
|
+
page?: number;
|
|
12684
|
+
};
|
|
12685
|
+
declare type EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseRequestOptions = {
|
|
12686
|
+
method: "GET";
|
|
12687
|
+
url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id/organizations";
|
|
12688
|
+
headers: RequestHeaders;
|
|
12689
|
+
request: RequestRequestOptions;
|
|
12690
|
+
};
|
|
12691
|
+
export interface EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseResponseData {
|
|
12692
|
+
total_count: number;
|
|
12693
|
+
organizations: {
|
|
12694
|
+
login: string;
|
|
12695
|
+
id: number;
|
|
12696
|
+
node_id: string;
|
|
12697
|
+
url: string;
|
|
12698
|
+
repos_url: string;
|
|
12699
|
+
events_url: string;
|
|
12700
|
+
hooks_url: string;
|
|
12701
|
+
issues_url: string;
|
|
12702
|
+
members_url: string;
|
|
12703
|
+
public_members_url: string;
|
|
12704
|
+
avatar_url: string;
|
|
12705
|
+
description: string;
|
|
12706
|
+
}[];
|
|
12707
|
+
}
|
|
12708
|
+
declare type EnterpriseAdminListProvisionedGroupsEnterpriseEndpoint = {
|
|
12709
|
+
/**
|
|
12710
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12711
|
+
*/
|
|
12712
|
+
enterprise: string;
|
|
12713
|
+
/**
|
|
12714
|
+
* Used for pagination: the index of the first result to return.
|
|
12715
|
+
*/
|
|
12716
|
+
startIndex?: number;
|
|
12717
|
+
/**
|
|
12718
|
+
* Used for pagination: the number of results to return.
|
|
12719
|
+
*/
|
|
12720
|
+
count?: number;
|
|
12721
|
+
};
|
|
12722
|
+
declare type EnterpriseAdminListProvisionedGroupsEnterpriseRequestOptions = {
|
|
12723
|
+
method: "GET";
|
|
12724
|
+
url: "/scim/v2/enterprises/:enterprise/Groups";
|
|
12725
|
+
headers: RequestHeaders;
|
|
12726
|
+
request: RequestRequestOptions;
|
|
12727
|
+
};
|
|
12728
|
+
export interface EnterpriseAdminListProvisionedGroupsEnterpriseResponseData {
|
|
12729
|
+
schemas: string[];
|
|
12730
|
+
totalResults: number;
|
|
12731
|
+
itemsPerPage: number;
|
|
12732
|
+
startIndex: number;
|
|
12733
|
+
Resources: {
|
|
12734
|
+
schemas: string[];
|
|
12735
|
+
id: string;
|
|
12736
|
+
externalId: string;
|
|
12737
|
+
displayName: string;
|
|
12738
|
+
members: {
|
|
12739
|
+
value: string;
|
|
12740
|
+
$ref: string;
|
|
12741
|
+
display: string;
|
|
12742
|
+
}[];
|
|
12743
|
+
meta: {
|
|
12744
|
+
resourceType: string;
|
|
12745
|
+
created: string;
|
|
12746
|
+
lastModified: string;
|
|
12747
|
+
location: string;
|
|
12748
|
+
};
|
|
12749
|
+
}[];
|
|
12750
|
+
}
|
|
12751
|
+
declare type EnterpriseAdminListProvisionedIdentitiesEnterpriseEndpoint = {
|
|
12752
|
+
/**
|
|
12753
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12754
|
+
*/
|
|
12755
|
+
enterprise: string;
|
|
12756
|
+
/**
|
|
12757
|
+
* Used for pagination: the index of the first result to return.
|
|
12758
|
+
*/
|
|
12759
|
+
startIndex?: number;
|
|
12760
|
+
/**
|
|
12761
|
+
* Used for pagination: the number of results to return.
|
|
12762
|
+
*/
|
|
12763
|
+
count?: number;
|
|
12764
|
+
};
|
|
12765
|
+
declare type EnterpriseAdminListProvisionedIdentitiesEnterpriseRequestOptions = {
|
|
12766
|
+
method: "GET";
|
|
12767
|
+
url: "/scim/v2/enterprises/:enterprise/Users";
|
|
12768
|
+
headers: RequestHeaders;
|
|
12769
|
+
request: RequestRequestOptions;
|
|
12770
|
+
};
|
|
12771
|
+
export interface EnterpriseAdminListProvisionedIdentitiesEnterpriseResponseData {
|
|
12772
|
+
schemas: string[];
|
|
12773
|
+
totalResults: number;
|
|
12774
|
+
itemsPerPage: number;
|
|
12775
|
+
startIndex: number;
|
|
12776
|
+
Resources: {
|
|
12777
|
+
schemas: string[];
|
|
12778
|
+
id: string;
|
|
12779
|
+
externalId: string;
|
|
12780
|
+
userName: string;
|
|
12781
|
+
name: {
|
|
12782
|
+
givenName: string;
|
|
12783
|
+
familyName: string;
|
|
12784
|
+
};
|
|
12785
|
+
emails: {
|
|
12786
|
+
value: string;
|
|
12787
|
+
primary: boolean;
|
|
12788
|
+
type: string;
|
|
12789
|
+
}[];
|
|
12790
|
+
groups: {
|
|
12791
|
+
value: string;
|
|
12792
|
+
}[];
|
|
12793
|
+
active: boolean;
|
|
12794
|
+
meta: {
|
|
12795
|
+
resourceType: string;
|
|
12796
|
+
created: string;
|
|
12797
|
+
lastModified: string;
|
|
12798
|
+
location: string;
|
|
12799
|
+
};
|
|
12800
|
+
}[];
|
|
12801
|
+
}
|
|
12802
|
+
declare type EnterpriseAdminListRunnerApplicationsForEnterpriseEndpoint = {
|
|
12803
|
+
/**
|
|
12804
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12805
|
+
*/
|
|
12806
|
+
enterprise: string;
|
|
12807
|
+
};
|
|
12808
|
+
declare type EnterpriseAdminListRunnerApplicationsForEnterpriseRequestOptions = {
|
|
12809
|
+
method: "GET";
|
|
12810
|
+
url: "/enterprises/:enterprise/actions/runners/downloads";
|
|
12811
|
+
headers: RequestHeaders;
|
|
12812
|
+
request: RequestRequestOptions;
|
|
12813
|
+
};
|
|
12814
|
+
export declare type EnterpriseAdminListRunnerApplicationsForEnterpriseResponseData = {
|
|
12815
|
+
os: string;
|
|
12816
|
+
architecture: string;
|
|
12817
|
+
download_url: string;
|
|
12818
|
+
filename: string;
|
|
12819
|
+
}[];
|
|
12820
|
+
declare type EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseEndpoint = {
|
|
12821
|
+
/**
|
|
12822
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12823
|
+
*/
|
|
12824
|
+
enterprise: string;
|
|
12825
|
+
/**
|
|
12826
|
+
* Results per page (max 100)
|
|
12827
|
+
*/
|
|
12828
|
+
per_page?: number;
|
|
12829
|
+
/**
|
|
12830
|
+
* Page number of the results to fetch.
|
|
12831
|
+
*/
|
|
12832
|
+
page?: number;
|
|
12833
|
+
};
|
|
12834
|
+
declare type EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseRequestOptions = {
|
|
12835
|
+
method: "GET";
|
|
12836
|
+
url: "/enterprises/:enterprise/actions/runner-groups";
|
|
12837
|
+
headers: RequestHeaders;
|
|
12838
|
+
request: RequestRequestOptions;
|
|
12839
|
+
};
|
|
12840
|
+
export interface EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseResponseData {
|
|
12841
|
+
total_count: number;
|
|
12842
|
+
runner_groups: {
|
|
12843
|
+
id: number;
|
|
12844
|
+
name: string;
|
|
12845
|
+
visibility: string;
|
|
12846
|
+
default: boolean;
|
|
12847
|
+
selected_organizations_url: string;
|
|
12848
|
+
runners_url: string;
|
|
12849
|
+
}[];
|
|
12850
|
+
}
|
|
12851
|
+
declare type EnterpriseAdminListSelfHostedRunnersForEnterpriseEndpoint = {
|
|
12852
|
+
/**
|
|
12853
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12854
|
+
*/
|
|
12855
|
+
enterprise: string;
|
|
12856
|
+
/**
|
|
12857
|
+
* Results per page (max 100)
|
|
12858
|
+
*/
|
|
12859
|
+
per_page?: number;
|
|
12860
|
+
/**
|
|
12861
|
+
* Page number of the results to fetch.
|
|
12862
|
+
*/
|
|
12863
|
+
page?: number;
|
|
12864
|
+
};
|
|
12865
|
+
declare type EnterpriseAdminListSelfHostedRunnersForEnterpriseRequestOptions = {
|
|
12866
|
+
method: "GET";
|
|
12867
|
+
url: "/enterprises/:enterprise/actions/runners";
|
|
12868
|
+
headers: RequestHeaders;
|
|
12869
|
+
request: RequestRequestOptions;
|
|
12870
|
+
};
|
|
12871
|
+
export interface EnterpriseAdminListSelfHostedRunnersForEnterpriseResponseData {
|
|
12872
|
+
total_count: number;
|
|
12873
|
+
runners: {
|
|
12874
|
+
id: number;
|
|
12875
|
+
name: string;
|
|
12876
|
+
os: string;
|
|
12877
|
+
status: string;
|
|
12878
|
+
busy: boolean;
|
|
12879
|
+
labels: {
|
|
12880
|
+
/**
|
|
12881
|
+
* Unique identifier of the label.
|
|
12882
|
+
*/
|
|
12883
|
+
id: number;
|
|
12884
|
+
/**
|
|
12885
|
+
* Name of the label.
|
|
12886
|
+
*/
|
|
12887
|
+
name: string;
|
|
12888
|
+
/**
|
|
12889
|
+
* The type of label. Read-only labels are applied automatically when the runner is configured.
|
|
12890
|
+
*/
|
|
12891
|
+
type: "read-only" | "custom";
|
|
12892
|
+
}[];
|
|
12893
|
+
}[];
|
|
12894
|
+
}
|
|
12895
|
+
declare type EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseEndpoint = {
|
|
12896
|
+
/**
|
|
12897
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12898
|
+
*/
|
|
12899
|
+
enterprise: string;
|
|
12900
|
+
/**
|
|
12901
|
+
* Unique identifier of the self-hosted runner group.
|
|
12902
|
+
*/
|
|
12903
|
+
runner_group_id: number;
|
|
12904
|
+
/**
|
|
12905
|
+
* Results per page (max 100)
|
|
12906
|
+
*/
|
|
12907
|
+
per_page?: number;
|
|
12908
|
+
/**
|
|
12909
|
+
* Page number of the results to fetch.
|
|
12910
|
+
*/
|
|
12911
|
+
page?: number;
|
|
12912
|
+
};
|
|
12913
|
+
declare type EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseRequestOptions = {
|
|
12914
|
+
method: "GET";
|
|
12915
|
+
url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id/runners";
|
|
12916
|
+
headers: RequestHeaders;
|
|
12917
|
+
request: RequestRequestOptions;
|
|
12918
|
+
};
|
|
12919
|
+
export interface EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseResponseData {
|
|
12920
|
+
total_count: number;
|
|
12921
|
+
runners: {
|
|
12922
|
+
id: number;
|
|
12923
|
+
name: string;
|
|
12924
|
+
os: string;
|
|
12925
|
+
status: string;
|
|
12926
|
+
busy: boolean;
|
|
12927
|
+
labels: {
|
|
12928
|
+
/**
|
|
12929
|
+
* Unique identifier of the label.
|
|
12930
|
+
*/
|
|
12931
|
+
id: number;
|
|
12932
|
+
/**
|
|
12933
|
+
* Name of the label.
|
|
12934
|
+
*/
|
|
12935
|
+
name: string;
|
|
12936
|
+
/**
|
|
12937
|
+
* The type of label. Read-only labels are applied automatically when the runner is configured.
|
|
12938
|
+
*/
|
|
12939
|
+
type: "read-only" | "custom";
|
|
12940
|
+
}[];
|
|
12941
|
+
}[];
|
|
12942
|
+
}
|
|
12943
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseGroupEndpoint = {
|
|
12944
|
+
/**
|
|
12945
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12946
|
+
*/
|
|
12947
|
+
enterprise: string;
|
|
12948
|
+
/**
|
|
12949
|
+
* The SCIM schema URIs.
|
|
12950
|
+
*/
|
|
12951
|
+
schemas: string[];
|
|
12952
|
+
/**
|
|
12953
|
+
* The name of the SCIM group. This must match the GitHub organization that the group maps to.
|
|
12954
|
+
*/
|
|
12955
|
+
displayName: string;
|
|
12956
|
+
members?: EnterpriseAdminProvisionAndInviteEnterpriseGroupParamsMembers[];
|
|
12957
|
+
};
|
|
12958
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseGroupRequestOptions = {
|
|
12959
|
+
method: "POST";
|
|
12960
|
+
url: "/scim/v2/enterprises/:enterprise/Groups";
|
|
12961
|
+
headers: RequestHeaders;
|
|
12962
|
+
request: RequestRequestOptions;
|
|
12963
|
+
};
|
|
12964
|
+
export interface EnterpriseAdminProvisionAndInviteEnterpriseGroupResponseData {
|
|
12965
|
+
schemas: string[];
|
|
12966
|
+
id: string;
|
|
12967
|
+
externalId: string;
|
|
12968
|
+
displayName: string;
|
|
12969
|
+
members: {
|
|
12970
|
+
value: string;
|
|
12971
|
+
$ref: string;
|
|
12972
|
+
display: string;
|
|
12973
|
+
}[];
|
|
12974
|
+
meta: {
|
|
12975
|
+
resourceType: string;
|
|
12976
|
+
created: string;
|
|
12977
|
+
lastModified: string;
|
|
12978
|
+
location: string;
|
|
12979
|
+
};
|
|
12980
|
+
}
|
|
12981
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseUserEndpoint = {
|
|
12982
|
+
/**
|
|
12983
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
12984
|
+
*/
|
|
12985
|
+
enterprise: string;
|
|
12986
|
+
/**
|
|
12987
|
+
* The SCIM schema URIs.
|
|
12988
|
+
*/
|
|
12989
|
+
schemas: string[];
|
|
12990
|
+
/**
|
|
12991
|
+
* The username for the user.
|
|
12992
|
+
*/
|
|
12993
|
+
userName: string;
|
|
12994
|
+
name: EnterpriseAdminProvisionAndInviteEnterpriseUserParamsName;
|
|
12995
|
+
/**
|
|
12996
|
+
* List of user emails.
|
|
12997
|
+
*/
|
|
12998
|
+
emails: EnterpriseAdminProvisionAndInviteEnterpriseUserParamsEmails[];
|
|
12999
|
+
/**
|
|
13000
|
+
* List of SCIM group IDs the user is a member of.
|
|
13001
|
+
*/
|
|
13002
|
+
groups?: EnterpriseAdminProvisionAndInviteEnterpriseUserParamsGroups[];
|
|
13003
|
+
};
|
|
13004
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseUserRequestOptions = {
|
|
13005
|
+
method: "POST";
|
|
13006
|
+
url: "/scim/v2/enterprises/:enterprise/Users";
|
|
13007
|
+
headers: RequestHeaders;
|
|
13008
|
+
request: RequestRequestOptions;
|
|
13009
|
+
};
|
|
13010
|
+
export interface EnterpriseAdminProvisionAndInviteEnterpriseUserResponseData {
|
|
13011
|
+
schemas: string[];
|
|
13012
|
+
id: string;
|
|
13013
|
+
externalId: string;
|
|
13014
|
+
userName: string;
|
|
13015
|
+
name: {
|
|
13016
|
+
givenName: string;
|
|
13017
|
+
familyName: string;
|
|
13018
|
+
};
|
|
13019
|
+
emails: {
|
|
13020
|
+
value: string;
|
|
13021
|
+
type: string;
|
|
13022
|
+
primary: boolean;
|
|
13023
|
+
}[];
|
|
13024
|
+
groups: {
|
|
13025
|
+
value: string;
|
|
13026
|
+
}[];
|
|
13027
|
+
active: boolean;
|
|
13028
|
+
meta: {
|
|
13029
|
+
resourceType: string;
|
|
13030
|
+
created: string;
|
|
13031
|
+
lastModified: string;
|
|
13032
|
+
location: string;
|
|
13033
|
+
};
|
|
13034
|
+
}
|
|
13035
|
+
declare type EnterpriseAdminRemoveOrgAccessToSelfHostedRunnerGroupInEnterpriseEndpoint = {
|
|
13036
|
+
/**
|
|
13037
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
13038
|
+
*/
|
|
13039
|
+
enterprise: string;
|
|
13040
|
+
/**
|
|
13041
|
+
* Unique identifier of the self-hosted runner group.
|
|
13042
|
+
*/
|
|
13043
|
+
runner_group_id: number;
|
|
13044
|
+
/**
|
|
13045
|
+
* Unique identifier of an organization.
|
|
13046
|
+
*/
|
|
13047
|
+
org_id: number;
|
|
13048
|
+
};
|
|
13049
|
+
declare type EnterpriseAdminRemoveOrgAccessToSelfHostedRunnerGroupInEnterpriseRequestOptions = {
|
|
13050
|
+
method: "DELETE";
|
|
13051
|
+
url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id/organizations/:org_id";
|
|
13052
|
+
headers: RequestHeaders;
|
|
13053
|
+
request: RequestRequestOptions;
|
|
13054
|
+
};
|
|
13055
|
+
declare type EnterpriseAdminRemoveSelfHostedRunnerFromGroupForEnterpriseEndpoint = {
|
|
13056
|
+
/**
|
|
13057
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
13058
|
+
*/
|
|
13059
|
+
enterprise: string;
|
|
13060
|
+
/**
|
|
13061
|
+
* Unique identifier of the self-hosted runner group.
|
|
13062
|
+
*/
|
|
13063
|
+
runner_group_id: number;
|
|
13064
|
+
/**
|
|
13065
|
+
* Unique identifier of the self-hosted runner.
|
|
13066
|
+
*/
|
|
13067
|
+
runner_id: number;
|
|
13068
|
+
};
|
|
13069
|
+
declare type EnterpriseAdminRemoveSelfHostedRunnerFromGroupForEnterpriseRequestOptions = {
|
|
13070
|
+
method: "DELETE";
|
|
13071
|
+
url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id/runners/:runner_id";
|
|
13072
|
+
headers: RequestHeaders;
|
|
13073
|
+
request: RequestRequestOptions;
|
|
13074
|
+
};
|
|
13075
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseGroupEndpoint = {
|
|
13076
|
+
/**
|
|
13077
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
13078
|
+
*/
|
|
13079
|
+
enterprise: string;
|
|
13080
|
+
/**
|
|
13081
|
+
* Identifier generated by the GitHub SCIM endpoint.
|
|
13082
|
+
*/
|
|
13083
|
+
scim_group_id: string;
|
|
13084
|
+
/**
|
|
13085
|
+
* The SCIM schema URIs.
|
|
13086
|
+
*/
|
|
13087
|
+
schemas: string[];
|
|
13088
|
+
/**
|
|
13089
|
+
* The name of the SCIM group. This must match the GitHub organization that the group maps to.
|
|
13090
|
+
*/
|
|
13091
|
+
displayName: string;
|
|
13092
|
+
members?: EnterpriseAdminSetInformationForProvisionedEnterpriseGroupParamsMembers[];
|
|
13093
|
+
};
|
|
13094
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseGroupRequestOptions = {
|
|
13095
|
+
method: "PUT";
|
|
13096
|
+
url: "/scim/v2/enterprises/:enterprise/Groups/:scim_group_id";
|
|
13097
|
+
headers: RequestHeaders;
|
|
13098
|
+
request: RequestRequestOptions;
|
|
13099
|
+
};
|
|
13100
|
+
export interface EnterpriseAdminSetInformationForProvisionedEnterpriseGroupResponseData {
|
|
13101
|
+
schemas: string[];
|
|
13102
|
+
id: string;
|
|
13103
|
+
externalId: string;
|
|
13104
|
+
displayName: string;
|
|
13105
|
+
members: {
|
|
13106
|
+
value: string;
|
|
13107
|
+
$ref: string;
|
|
13108
|
+
display: string;
|
|
13109
|
+
}[];
|
|
13110
|
+
meta: {
|
|
13111
|
+
resourceType: string;
|
|
13112
|
+
created: string;
|
|
13113
|
+
lastModified: string;
|
|
13114
|
+
location: string;
|
|
13115
|
+
};
|
|
13116
|
+
}
|
|
13117
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseUserEndpoint = {
|
|
13118
|
+
/**
|
|
13119
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
13120
|
+
*/
|
|
13121
|
+
enterprise: string;
|
|
13122
|
+
/**
|
|
13123
|
+
* Identifier generated by the GitHub SCIM endpoint.
|
|
13124
|
+
*/
|
|
13125
|
+
scim_user_id: string;
|
|
13126
|
+
/**
|
|
13127
|
+
* The SCIM schema URIs.
|
|
13128
|
+
*/
|
|
13129
|
+
schemas: string[];
|
|
13130
|
+
/**
|
|
13131
|
+
* The username for the user.
|
|
13132
|
+
*/
|
|
13133
|
+
userName: string;
|
|
13134
|
+
name: EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsName;
|
|
13135
|
+
/**
|
|
13136
|
+
* List of user emails.
|
|
13137
|
+
*/
|
|
13138
|
+
emails: EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsEmails[];
|
|
13139
|
+
/**
|
|
13140
|
+
* List of SCIM group IDs the user is a member of.
|
|
13141
|
+
*/
|
|
13142
|
+
groups?: EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsGroups[];
|
|
13143
|
+
};
|
|
13144
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseUserRequestOptions = {
|
|
13145
|
+
method: "PUT";
|
|
13146
|
+
url: "/scim/v2/enterprises/:enterprise/Users/:scim_user_id";
|
|
13147
|
+
headers: RequestHeaders;
|
|
13148
|
+
request: RequestRequestOptions;
|
|
13149
|
+
};
|
|
13150
|
+
export interface EnterpriseAdminSetInformationForProvisionedEnterpriseUserResponseData {
|
|
13151
|
+
schemas: string[];
|
|
13152
|
+
id: string;
|
|
13153
|
+
externalId: string;
|
|
13154
|
+
userName: string;
|
|
13155
|
+
name: {
|
|
13156
|
+
givenName: string;
|
|
13157
|
+
familyName: string;
|
|
13158
|
+
};
|
|
13159
|
+
emails: {
|
|
13160
|
+
value: string;
|
|
13161
|
+
type: string;
|
|
13162
|
+
primary: boolean;
|
|
13163
|
+
}[];
|
|
13164
|
+
groups: {
|
|
13165
|
+
value: string;
|
|
13166
|
+
}[];
|
|
13167
|
+
active: boolean;
|
|
13168
|
+
meta: {
|
|
13169
|
+
resourceType: string;
|
|
13170
|
+
created: string;
|
|
13171
|
+
lastModified: string;
|
|
13172
|
+
location: string;
|
|
13173
|
+
};
|
|
13174
|
+
}
|
|
13175
|
+
declare type EnterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterpriseEndpoint = {
|
|
11341
13176
|
/**
|
|
11342
|
-
*
|
|
13177
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
11343
13178
|
*/
|
|
11344
|
-
startIndex?: number;
|
|
11345
|
-
/**
|
|
11346
|
-
* Used for pagination: the number of results to return.
|
|
11347
|
-
*/
|
|
11348
|
-
count?: number;
|
|
11349
|
-
};
|
|
11350
|
-
declare type EnterpriseAdminListProvisionedGroupsEnterpriseRequestOptions = {
|
|
11351
|
-
method: "GET";
|
|
11352
|
-
url: "/scim/v2/enterprises/:enterprise/Groups";
|
|
11353
|
-
headers: RequestHeaders;
|
|
11354
|
-
request: RequestRequestOptions;
|
|
11355
|
-
};
|
|
11356
|
-
export interface EnterpriseAdminListProvisionedGroupsEnterpriseResponseData {
|
|
11357
|
-
schemas: string[];
|
|
11358
|
-
totalResults: number;
|
|
11359
|
-
itemsPerPage: number;
|
|
11360
|
-
startIndex: number;
|
|
11361
|
-
Resources: {
|
|
11362
|
-
schemas: string[];
|
|
11363
|
-
id: string;
|
|
11364
|
-
externalId: string;
|
|
11365
|
-
displayName: string;
|
|
11366
|
-
members: {
|
|
11367
|
-
value: string;
|
|
11368
|
-
$ref: string;
|
|
11369
|
-
display: string;
|
|
11370
|
-
}[];
|
|
11371
|
-
meta: {
|
|
11372
|
-
resourceType: string;
|
|
11373
|
-
created: string;
|
|
11374
|
-
lastModified: string;
|
|
11375
|
-
location: string;
|
|
11376
|
-
};
|
|
11377
|
-
}[];
|
|
11378
|
-
}
|
|
11379
|
-
declare type EnterpriseAdminListProvisionedIdentitiesEnterpriseEndpoint = {
|
|
11380
13179
|
enterprise: string;
|
|
11381
13180
|
/**
|
|
11382
|
-
*
|
|
13181
|
+
* Unique identifier of the self-hosted runner group.
|
|
11383
13182
|
*/
|
|
11384
|
-
|
|
13183
|
+
runner_group_id: number;
|
|
11385
13184
|
/**
|
|
11386
|
-
*
|
|
13185
|
+
* List of organization IDs that can access the runner group.
|
|
11387
13186
|
*/
|
|
11388
|
-
|
|
13187
|
+
selected_organization_ids: number[];
|
|
11389
13188
|
};
|
|
11390
|
-
declare type
|
|
11391
|
-
method: "
|
|
11392
|
-
url: "/
|
|
13189
|
+
declare type EnterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterpriseRequestOptions = {
|
|
13190
|
+
method: "PUT";
|
|
13191
|
+
url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id/organizations";
|
|
11393
13192
|
headers: RequestHeaders;
|
|
11394
13193
|
request: RequestRequestOptions;
|
|
11395
13194
|
};
|
|
11396
|
-
|
|
11397
|
-
schemas: string[];
|
|
11398
|
-
totalResults: number;
|
|
11399
|
-
itemsPerPage: number;
|
|
11400
|
-
startIndex: number;
|
|
11401
|
-
Resources: {
|
|
11402
|
-
schemas: string[];
|
|
11403
|
-
id: string;
|
|
11404
|
-
externalId: string;
|
|
11405
|
-
userName: string;
|
|
11406
|
-
name: {
|
|
11407
|
-
givenName: string;
|
|
11408
|
-
familyName: string;
|
|
11409
|
-
};
|
|
11410
|
-
emails: {
|
|
11411
|
-
value: string;
|
|
11412
|
-
primary: boolean;
|
|
11413
|
-
type: string;
|
|
11414
|
-
}[];
|
|
11415
|
-
groups: {
|
|
11416
|
-
value: string;
|
|
11417
|
-
}[];
|
|
11418
|
-
active: boolean;
|
|
11419
|
-
meta: {
|
|
11420
|
-
resourceType: string;
|
|
11421
|
-
created: string;
|
|
11422
|
-
lastModified: string;
|
|
11423
|
-
location: string;
|
|
11424
|
-
};
|
|
11425
|
-
}[];
|
|
11426
|
-
}
|
|
11427
|
-
declare type EnterpriseAdminProvisionAndInviteEnterpriseGroupEndpoint = {
|
|
11428
|
-
enterprise: string;
|
|
11429
|
-
/**
|
|
11430
|
-
* The SCIM schema URIs.
|
|
11431
|
-
*/
|
|
11432
|
-
schemas: string[];
|
|
13195
|
+
declare type EnterpriseAdminSetSelfHostedInGroupForEnterpriseEndpoint = {
|
|
11433
13196
|
/**
|
|
11434
|
-
* The
|
|
13197
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
11435
13198
|
*/
|
|
11436
|
-
displayName: string;
|
|
11437
|
-
members?: EnterpriseAdminProvisionAndInviteEnterpriseGroupParamsMembers[];
|
|
11438
|
-
};
|
|
11439
|
-
declare type EnterpriseAdminProvisionAndInviteEnterpriseGroupRequestOptions = {
|
|
11440
|
-
method: "POST";
|
|
11441
|
-
url: "/scim/v2/enterprises/:enterprise/Groups";
|
|
11442
|
-
headers: RequestHeaders;
|
|
11443
|
-
request: RequestRequestOptions;
|
|
11444
|
-
};
|
|
11445
|
-
export interface EnterpriseAdminProvisionAndInviteEnterpriseGroupResponseData {
|
|
11446
|
-
schemas: string[];
|
|
11447
|
-
id: string;
|
|
11448
|
-
externalId: string;
|
|
11449
|
-
displayName: string;
|
|
11450
|
-
members: {
|
|
11451
|
-
value: string;
|
|
11452
|
-
$ref: string;
|
|
11453
|
-
display: string;
|
|
11454
|
-
}[];
|
|
11455
|
-
meta: {
|
|
11456
|
-
resourceType: string;
|
|
11457
|
-
created: string;
|
|
11458
|
-
lastModified: string;
|
|
11459
|
-
location: string;
|
|
11460
|
-
};
|
|
11461
|
-
}
|
|
11462
|
-
declare type EnterpriseAdminProvisionAndInviteEnterpriseUserEndpoint = {
|
|
11463
13199
|
enterprise: string;
|
|
11464
13200
|
/**
|
|
11465
|
-
*
|
|
11466
|
-
*/
|
|
11467
|
-
schemas: string[];
|
|
11468
|
-
/**
|
|
11469
|
-
* The username for the user.
|
|
11470
|
-
*/
|
|
11471
|
-
userName: string;
|
|
11472
|
-
name: EnterpriseAdminProvisionAndInviteEnterpriseUserParamsName;
|
|
11473
|
-
/**
|
|
11474
|
-
* List of user emails.
|
|
13201
|
+
* Unique identifier of the self-hosted runner group.
|
|
11475
13202
|
*/
|
|
11476
|
-
|
|
13203
|
+
runner_group_id: number;
|
|
11477
13204
|
/**
|
|
11478
|
-
* List of
|
|
13205
|
+
* List of runner IDs to add to the runner group.
|
|
11479
13206
|
*/
|
|
11480
|
-
|
|
13207
|
+
runners: number[];
|
|
11481
13208
|
};
|
|
11482
|
-
declare type
|
|
11483
|
-
method: "
|
|
11484
|
-
url: "/
|
|
13209
|
+
declare type EnterpriseAdminSetSelfHostedInGroupForEnterpriseRequestOptions = {
|
|
13210
|
+
method: "PUT";
|
|
13211
|
+
url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id/runners";
|
|
11485
13212
|
headers: RequestHeaders;
|
|
11486
13213
|
request: RequestRequestOptions;
|
|
11487
13214
|
};
|
|
11488
|
-
|
|
11489
|
-
|
|
11490
|
-
|
|
11491
|
-
|
|
11492
|
-
userName: string;
|
|
11493
|
-
name: {
|
|
11494
|
-
givenName: string;
|
|
11495
|
-
familyName: string;
|
|
11496
|
-
};
|
|
11497
|
-
emails: {
|
|
11498
|
-
value: string;
|
|
11499
|
-
type: string;
|
|
11500
|
-
primary: boolean;
|
|
11501
|
-
}[];
|
|
11502
|
-
groups: {
|
|
11503
|
-
value: string;
|
|
11504
|
-
}[];
|
|
11505
|
-
active: boolean;
|
|
11506
|
-
meta: {
|
|
11507
|
-
resourceType: string;
|
|
11508
|
-
created: string;
|
|
11509
|
-
lastModified: string;
|
|
11510
|
-
location: string;
|
|
11511
|
-
};
|
|
11512
|
-
}
|
|
11513
|
-
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseGroupEndpoint = {
|
|
13215
|
+
declare type EnterpriseAdminUpdateAttributeForEnterpriseGroupEndpoint = {
|
|
13216
|
+
/**
|
|
13217
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
13218
|
+
*/
|
|
11514
13219
|
enterprise: string;
|
|
11515
13220
|
/**
|
|
11516
13221
|
* Identifier generated by the GitHub SCIM endpoint.
|
|
@@ -11521,18 +13226,17 @@ declare type EnterpriseAdminSetInformationForProvisionedEnterpriseGroupEndpoint
|
|
|
11521
13226
|
*/
|
|
11522
13227
|
schemas: string[];
|
|
11523
13228
|
/**
|
|
11524
|
-
*
|
|
13229
|
+
* Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2).
|
|
11525
13230
|
*/
|
|
11526
|
-
|
|
11527
|
-
members?: EnterpriseAdminSetInformationForProvisionedEnterpriseGroupParamsMembers[];
|
|
13231
|
+
Operations: EnterpriseAdminUpdateAttributeForEnterpriseGroupParamsOperations[];
|
|
11528
13232
|
};
|
|
11529
|
-
declare type
|
|
11530
|
-
method: "
|
|
13233
|
+
declare type EnterpriseAdminUpdateAttributeForEnterpriseGroupRequestOptions = {
|
|
13234
|
+
method: "PATCH";
|
|
11531
13235
|
url: "/scim/v2/enterprises/:enterprise/Groups/:scim_group_id";
|
|
11532
13236
|
headers: RequestHeaders;
|
|
11533
13237
|
request: RequestRequestOptions;
|
|
11534
13238
|
};
|
|
11535
|
-
export interface
|
|
13239
|
+
export interface EnterpriseAdminUpdateAttributeForEnterpriseGroupResponseData {
|
|
11536
13240
|
schemas: string[];
|
|
11537
13241
|
id: string;
|
|
11538
13242
|
externalId: string;
|
|
@@ -11549,7 +13253,10 @@ export interface EnterpriseAdminSetInformationForProvisionedEnterpriseGroupRespo
|
|
|
11549
13253
|
location: string;
|
|
11550
13254
|
};
|
|
11551
13255
|
}
|
|
11552
|
-
declare type
|
|
13256
|
+
declare type EnterpriseAdminUpdateAttributeForEnterpriseUserEndpoint = {
|
|
13257
|
+
/**
|
|
13258
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
13259
|
+
*/
|
|
11553
13260
|
enterprise: string;
|
|
11554
13261
|
/**
|
|
11555
13262
|
* Identifier generated by the GitHub SCIM endpoint.
|
|
@@ -11560,26 +13267,17 @@ declare type EnterpriseAdminSetInformationForProvisionedEnterpriseUserEndpoint =
|
|
|
11560
13267
|
*/
|
|
11561
13268
|
schemas: string[];
|
|
11562
13269
|
/**
|
|
11563
|
-
*
|
|
11564
|
-
*/
|
|
11565
|
-
userName: string;
|
|
11566
|
-
name: EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsName;
|
|
11567
|
-
/**
|
|
11568
|
-
* List of user emails.
|
|
11569
|
-
*/
|
|
11570
|
-
emails: EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsEmails[];
|
|
11571
|
-
/**
|
|
11572
|
-
* List of SCIM group IDs the user is a member of.
|
|
13270
|
+
* Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2).
|
|
11573
13271
|
*/
|
|
11574
|
-
|
|
13272
|
+
Operations: EnterpriseAdminUpdateAttributeForEnterpriseUserParamsOperations[];
|
|
11575
13273
|
};
|
|
11576
|
-
declare type
|
|
11577
|
-
method: "
|
|
13274
|
+
declare type EnterpriseAdminUpdateAttributeForEnterpriseUserRequestOptions = {
|
|
13275
|
+
method: "PATCH";
|
|
11578
13276
|
url: "/scim/v2/enterprises/:enterprise/Users/:scim_user_id";
|
|
11579
13277
|
headers: RequestHeaders;
|
|
11580
13278
|
request: RequestRequestOptions;
|
|
11581
13279
|
};
|
|
11582
|
-
export interface
|
|
13280
|
+
export interface EnterpriseAdminUpdateAttributeForEnterpriseUserResponseData {
|
|
11583
13281
|
schemas: string[];
|
|
11584
13282
|
id: string;
|
|
11585
13283
|
externalId: string;
|
|
@@ -11604,89 +13302,37 @@ export interface EnterpriseAdminSetInformationForProvisionedEnterpriseUserRespon
|
|
|
11604
13302
|
location: string;
|
|
11605
13303
|
};
|
|
11606
13304
|
}
|
|
11607
|
-
declare type
|
|
11608
|
-
enterprise: string;
|
|
13305
|
+
declare type EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseEndpoint = {
|
|
11609
13306
|
/**
|
|
11610
|
-
*
|
|
13307
|
+
* The slug version of the enterprise name. You can also substitute this value with the enterprise id.
|
|
11611
13308
|
*/
|
|
11612
|
-
scim_group_id: string;
|
|
11613
|
-
/**
|
|
11614
|
-
* The SCIM schema URIs.
|
|
11615
|
-
*/
|
|
11616
|
-
schemas: string[];
|
|
11617
|
-
/**
|
|
11618
|
-
* Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2).
|
|
11619
|
-
*/
|
|
11620
|
-
Operations: EnterpriseAdminUpdateAttributeForEnterpriseGroupParamsOperations[];
|
|
11621
|
-
};
|
|
11622
|
-
declare type EnterpriseAdminUpdateAttributeForEnterpriseGroupRequestOptions = {
|
|
11623
|
-
method: "PATCH";
|
|
11624
|
-
url: "/scim/v2/enterprises/:enterprise/Groups/:scim_group_id";
|
|
11625
|
-
headers: RequestHeaders;
|
|
11626
|
-
request: RequestRequestOptions;
|
|
11627
|
-
};
|
|
11628
|
-
export interface EnterpriseAdminUpdateAttributeForEnterpriseGroupResponseData {
|
|
11629
|
-
schemas: string[];
|
|
11630
|
-
id: string;
|
|
11631
|
-
externalId: string;
|
|
11632
|
-
displayName: string;
|
|
11633
|
-
members: {
|
|
11634
|
-
value: string;
|
|
11635
|
-
$ref: string;
|
|
11636
|
-
display: string;
|
|
11637
|
-
}[];
|
|
11638
|
-
meta: {
|
|
11639
|
-
resourceType: string;
|
|
11640
|
-
created: string;
|
|
11641
|
-
lastModified: string;
|
|
11642
|
-
location: string;
|
|
11643
|
-
};
|
|
11644
|
-
}
|
|
11645
|
-
declare type EnterpriseAdminUpdateAttributeForEnterpriseUserEndpoint = {
|
|
11646
13309
|
enterprise: string;
|
|
11647
13310
|
/**
|
|
11648
|
-
*
|
|
13311
|
+
* Unique identifier of the self-hosted runner group.
|
|
11649
13312
|
*/
|
|
11650
|
-
|
|
13313
|
+
runner_group_id: number;
|
|
11651
13314
|
/**
|
|
11652
|
-
*
|
|
13315
|
+
* Name of the runner group.
|
|
11653
13316
|
*/
|
|
11654
|
-
|
|
13317
|
+
name?: string;
|
|
11655
13318
|
/**
|
|
11656
|
-
*
|
|
13319
|
+
* Visibility of a runner group. You can select all organizations or select individual organizations. Can be one of: `all` or `selected`
|
|
11657
13320
|
*/
|
|
11658
|
-
|
|
13321
|
+
visibility?: "selected" | "all";
|
|
11659
13322
|
};
|
|
11660
|
-
declare type
|
|
13323
|
+
declare type EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseRequestOptions = {
|
|
11661
13324
|
method: "PATCH";
|
|
11662
|
-
url: "/
|
|
13325
|
+
url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id";
|
|
11663
13326
|
headers: RequestHeaders;
|
|
11664
13327
|
request: RequestRequestOptions;
|
|
11665
13328
|
};
|
|
11666
|
-
export interface
|
|
11667
|
-
|
|
11668
|
-
|
|
11669
|
-
|
|
11670
|
-
|
|
11671
|
-
|
|
11672
|
-
|
|
11673
|
-
familyName: string;
|
|
11674
|
-
};
|
|
11675
|
-
emails: {
|
|
11676
|
-
value: string;
|
|
11677
|
-
type: string;
|
|
11678
|
-
primary: boolean;
|
|
11679
|
-
}[];
|
|
11680
|
-
groups: {
|
|
11681
|
-
value: string;
|
|
11682
|
-
}[];
|
|
11683
|
-
active: boolean;
|
|
11684
|
-
meta: {
|
|
11685
|
-
resourceType: string;
|
|
11686
|
-
created: string;
|
|
11687
|
-
lastModified: string;
|
|
11688
|
-
location: string;
|
|
11689
|
-
};
|
|
13329
|
+
export interface EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseResponseData {
|
|
13330
|
+
id: number;
|
|
13331
|
+
name: string;
|
|
13332
|
+
visibility: string;
|
|
13333
|
+
default: boolean;
|
|
13334
|
+
selected_organizations_url: string;
|
|
13335
|
+
runners_url: string;
|
|
11690
13336
|
}
|
|
11691
13337
|
declare type GistsCheckIsStarredEndpoint = {
|
|
11692
13338
|
gist_id: string;
|
|
@@ -18779,7 +20425,7 @@ declare type OrgsListAppInstallationsEndpoint = {
|
|
|
18779
20425
|
* Page number of the results to fetch.
|
|
18780
20426
|
*/
|
|
18781
20427
|
page?: number;
|
|
18782
|
-
}
|
|
20428
|
+
};
|
|
18783
20429
|
declare type OrgsListAppInstallationsRequestOptions = {
|
|
18784
20430
|
method: "GET";
|
|
18785
20431
|
url: "/orgs/:org/installations";
|
|
@@ -26631,7 +28277,10 @@ export interface ReposCreateOrUpdateFileContentsResponse201Data {
|
|
|
26631
28277
|
declare type ReposCreatePagesSiteEndpoint = {
|
|
26632
28278
|
owner: string;
|
|
26633
28279
|
repo: string;
|
|
26634
|
-
|
|
28280
|
+
/**
|
|
28281
|
+
* The source branch and directory used to publish your Pages site.
|
|
28282
|
+
*/
|
|
28283
|
+
source: ReposCreatePagesSiteParamsSource;
|
|
26635
28284
|
} & RequiredPreview<"switcheroo">;
|
|
26636
28285
|
declare type ReposCreatePagesSiteRequestOptions = {
|
|
26637
28286
|
method: "POST";
|
|
@@ -32597,9 +34246,9 @@ declare type ReposUpdateInformationAboutPagesSiteEndpoint = {
|
|
|
32597
34246
|
*/
|
|
32598
34247
|
cname?: string;
|
|
32599
34248
|
/**
|
|
32600
|
-
* Update the source for the repository. Must include the branch name
|
|
34249
|
+
* Update the source for the repository. Must include the branch name and path.
|
|
32601
34250
|
*/
|
|
32602
|
-
source
|
|
34251
|
+
source: ReposUpdateInformationAboutPagesSiteParamsSource;
|
|
32603
34252
|
};
|
|
32604
34253
|
declare type ReposUpdateInformationAboutPagesSiteRequestOptions = {
|
|
32605
34254
|
method: "PUT";
|
|
@@ -38104,8 +39753,8 @@ declare type ReposCreateOrUpdateFileContentsParamsAuthor = {
|
|
|
38104
39753
|
email: string;
|
|
38105
39754
|
};
|
|
38106
39755
|
declare type ReposCreatePagesSiteParamsSource = {
|
|
38107
|
-
branch
|
|
38108
|
-
path?:
|
|
39756
|
+
branch: string;
|
|
39757
|
+
path?: "/" | "/docs";
|
|
38109
39758
|
};
|
|
38110
39759
|
declare type ReposCreateWebhookParamsConfig = {
|
|
38111
39760
|
url: string;
|
|
@@ -38140,6 +39789,10 @@ declare type ReposUpdateBranchProtectionParamsRestrictions = {
|
|
|
38140
39789
|
teams: string[];
|
|
38141
39790
|
apps?: string[];
|
|
38142
39791
|
};
|
|
39792
|
+
declare type ReposUpdateInformationAboutPagesSiteParamsSource = {
|
|
39793
|
+
branch: string;
|
|
39794
|
+
path: "/" | "/docs";
|
|
39795
|
+
};
|
|
38143
39796
|
declare type ReposUpdatePullRequestReviewProtectionParamsDismissalRestrictions = {
|
|
38144
39797
|
users?: string[];
|
|
38145
39798
|
teams?: string[];
|