@octokit/types 4.1.1 → 4.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-node/index.js +1 -1
- package/dist-src/VERSION.js +1 -1
- package/dist-types/VERSION.d.ts +1 -1
- package/dist-types/generated/Endpoints.d.ts +143 -149
- package/dist-web/index.js +1 -1
- package/package.json +1 -1
package/dist-node/index.js
CHANGED
package/dist-src/VERSION.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "4.1.
|
|
1
|
+
export const VERSION = "4.1.5";
|
package/dist-types/VERSION.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "4.1.
|
|
1
|
+
export declare const VERSION = "4.1.5";
|
|
@@ -80,7 +80,7 @@ export interface Endpoints {
|
|
|
80
80
|
response: OctokitResponse<any>;
|
|
81
81
|
};
|
|
82
82
|
/**
|
|
83
|
-
* @see https://developer.github.com/v3/gists/comments/#delete-a-comment
|
|
83
|
+
* @see https://developer.github.com/v3/gists/comments/#delete-a-gist-comment
|
|
84
84
|
*/
|
|
85
85
|
"DELETE /gists/:gist_id/comments/:comment_id": {
|
|
86
86
|
parameters: GistsDeleteCommentEndpoint;
|
|
@@ -216,7 +216,7 @@ export interface Endpoints {
|
|
|
216
216
|
response: OctokitResponse<any>;
|
|
217
217
|
};
|
|
218
218
|
/**
|
|
219
|
-
* @see https://developer.github.com/v3/teams/#delete-team
|
|
219
|
+
* @see https://developer.github.com/v3/teams/#delete-a-team
|
|
220
220
|
*/
|
|
221
221
|
"DELETE /orgs/:org/teams/:team_slug": {
|
|
222
222
|
parameters: TeamsDeleteInOrgEndpoint;
|
|
@@ -232,7 +232,7 @@ export interface Endpoints {
|
|
|
232
232
|
response: OctokitResponse<any>;
|
|
233
233
|
};
|
|
234
234
|
/**
|
|
235
|
-
* @see https://developer.github.com/v3/teams/discussion_comments/#delete-a-comment
|
|
235
|
+
* @see https://developer.github.com/v3/teams/discussion_comments/#delete-a-discussion-comment
|
|
236
236
|
*/
|
|
237
237
|
"DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number": {
|
|
238
238
|
parameters: TeamsDeleteDiscussionCommentInOrgEndpoint;
|
|
@@ -256,15 +256,15 @@ export interface Endpoints {
|
|
|
256
256
|
response: OctokitResponse<any>;
|
|
257
257
|
};
|
|
258
258
|
/**
|
|
259
|
-
* @see https://developer.github.com/v3/teams/members/#remove-team-membership
|
|
259
|
+
* @see https://developer.github.com/v3/teams/members/#remove-team-membership-for-a-user
|
|
260
260
|
*/
|
|
261
261
|
"DELETE /orgs/:org/teams/:team_slug/memberships/:username": {
|
|
262
|
-
parameters:
|
|
263
|
-
request:
|
|
262
|
+
parameters: TeamsRemoveMembershipForUserInOrgEndpoint;
|
|
263
|
+
request: TeamsRemoveMembershipForUserInOrgRequestOptions;
|
|
264
264
|
response: OctokitResponse<any>;
|
|
265
265
|
};
|
|
266
266
|
/**
|
|
267
|
-
* @see https://developer.github.com/v3/teams/#remove-
|
|
267
|
+
* @see https://developer.github.com/v3/teams/#remove-a-project-from-a-team
|
|
268
268
|
*/
|
|
269
269
|
"DELETE /orgs/:org/teams/:team_slug/projects/:project_id": {
|
|
270
270
|
parameters: TeamsRemoveProjectInOrgEndpoint;
|
|
@@ -272,7 +272,7 @@ export interface Endpoints {
|
|
|
272
272
|
response: OctokitResponse<any>;
|
|
273
273
|
};
|
|
274
274
|
/**
|
|
275
|
-
* @see https://developer.github.com/v3/teams/#remove-
|
|
275
|
+
* @see https://developer.github.com/v3/teams/#remove-a-repository-from-a-team
|
|
276
276
|
*/
|
|
277
277
|
"DELETE /orgs/:org/teams/:team_slug/repos/:owner/:repo": {
|
|
278
278
|
parameters: TeamsRemoveRepoInOrgEndpoint;
|
|
@@ -576,7 +576,7 @@ export interface Endpoints {
|
|
|
576
576
|
response: OctokitResponse<any>;
|
|
577
577
|
};
|
|
578
578
|
/**
|
|
579
|
-
* @see https://developer.github.com/v3/issues/comments/#delete-
|
|
579
|
+
* @see https://developer.github.com/v3/issues/comments/#delete-an-issue-comment
|
|
580
580
|
*/
|
|
581
581
|
"DELETE /repos/:owner/:repo/issues/comments/:comment_id": {
|
|
582
582
|
parameters: IssuesDeleteCommentEndpoint;
|
|
@@ -960,7 +960,7 @@ export interface Endpoints {
|
|
|
960
960
|
response: OctokitResponse<GistsGetResponseData>;
|
|
961
961
|
};
|
|
962
962
|
/**
|
|
963
|
-
* @see https://developer.github.com/v3/gists/#get-a-
|
|
963
|
+
* @see https://developer.github.com/v3/gists/#get-a-gist-revision
|
|
964
964
|
*/
|
|
965
965
|
"GET /gists/:gist_id/:sha": {
|
|
966
966
|
parameters: GistsGetRevisionEndpoint;
|
|
@@ -968,7 +968,7 @@ export interface Endpoints {
|
|
|
968
968
|
response: OctokitResponse<GistsGetRevisionResponseData>;
|
|
969
969
|
};
|
|
970
970
|
/**
|
|
971
|
-
* @see https://developer.github.com/v3/gists/comments/#list-comments
|
|
971
|
+
* @see https://developer.github.com/v3/gists/comments/#list-gist-comments
|
|
972
972
|
*/
|
|
973
973
|
"GET /gists/:gist_id/comments": {
|
|
974
974
|
parameters: GistsListCommentsEndpoint;
|
|
@@ -976,7 +976,7 @@ export interface Endpoints {
|
|
|
976
976
|
response: OctokitResponse<GistsListCommentsResponseData>;
|
|
977
977
|
};
|
|
978
978
|
/**
|
|
979
|
-
* @see https://developer.github.com/v3/gists/comments/#get-a-
|
|
979
|
+
* @see https://developer.github.com/v3/gists/comments/#get-a-gist-comment
|
|
980
980
|
*/
|
|
981
981
|
"GET /gists/:gist_id/comments/:comment_id": {
|
|
982
982
|
parameters: GistsGetCommentEndpoint;
|
|
@@ -1360,7 +1360,7 @@ export interface Endpoints {
|
|
|
1360
1360
|
response: OctokitResponse<MigrationsListForOrgResponseData>;
|
|
1361
1361
|
};
|
|
1362
1362
|
/**
|
|
1363
|
-
* @see https://developer.github.com/v3/migrations/orgs/#get-
|
|
1363
|
+
* @see https://developer.github.com/v3/migrations/orgs/#get-an-organization-migration-status
|
|
1364
1364
|
*/
|
|
1365
1365
|
"GET /orgs/:org/migrations/:migration_id": {
|
|
1366
1366
|
parameters: MigrationsGetStatusForOrgEndpoint;
|
|
@@ -1424,7 +1424,7 @@ export interface Endpoints {
|
|
|
1424
1424
|
response: OctokitResponse<ReposListForOrgResponseData>;
|
|
1425
1425
|
};
|
|
1426
1426
|
/**
|
|
1427
|
-
* @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-
|
|
1427
|
+
* @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-an-organization
|
|
1428
1428
|
*/
|
|
1429
1429
|
"GET /orgs/:org/team-sync/groups": {
|
|
1430
1430
|
parameters: TeamsListIdPGroupsForOrgEndpoint;
|
|
@@ -1440,7 +1440,7 @@ export interface Endpoints {
|
|
|
1440
1440
|
response: OctokitResponse<TeamsListResponseData>;
|
|
1441
1441
|
};
|
|
1442
1442
|
/**
|
|
1443
|
-
* @see https://developer.github.com/v3/teams/#get-team-by-name
|
|
1443
|
+
* @see https://developer.github.com/v3/teams/#get-a-team-by-name
|
|
1444
1444
|
*/
|
|
1445
1445
|
"GET /orgs/:org/teams/:team_slug": {
|
|
1446
1446
|
parameters: TeamsGetByNameEndpoint;
|
|
@@ -1456,7 +1456,7 @@ export interface Endpoints {
|
|
|
1456
1456
|
response: OctokitResponse<TeamsListDiscussionsInOrgResponseData>;
|
|
1457
1457
|
};
|
|
1458
1458
|
/**
|
|
1459
|
-
* @see https://developer.github.com/v3/teams/discussions/#get-a-
|
|
1459
|
+
* @see https://developer.github.com/v3/teams/discussions/#get-a-discussion
|
|
1460
1460
|
*/
|
|
1461
1461
|
"GET /orgs/:org/teams/:team_slug/discussions/:discussion_number": {
|
|
1462
1462
|
parameters: TeamsGetDiscussionInOrgEndpoint;
|
|
@@ -1464,7 +1464,7 @@ export interface Endpoints {
|
|
|
1464
1464
|
response: OctokitResponse<TeamsGetDiscussionInOrgResponseData>;
|
|
1465
1465
|
};
|
|
1466
1466
|
/**
|
|
1467
|
-
* @see https://developer.github.com/v3/teams/discussion_comments/#list-comments
|
|
1467
|
+
* @see https://developer.github.com/v3/teams/discussion_comments/#list-discussion-comments
|
|
1468
1468
|
*/
|
|
1469
1469
|
"GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments": {
|
|
1470
1470
|
parameters: TeamsListDiscussionCommentsInOrgEndpoint;
|
|
@@ -1472,7 +1472,7 @@ export interface Endpoints {
|
|
|
1472
1472
|
response: OctokitResponse<TeamsListDiscussionCommentsInOrgResponseData>;
|
|
1473
1473
|
};
|
|
1474
1474
|
/**
|
|
1475
|
-
* @see https://developer.github.com/v3/teams/discussion_comments/#get-a-
|
|
1475
|
+
* @see https://developer.github.com/v3/teams/discussion_comments/#get-a-discussion-comment
|
|
1476
1476
|
*/
|
|
1477
1477
|
"GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number": {
|
|
1478
1478
|
parameters: TeamsGetDiscussionCommentInOrgEndpoint;
|
|
@@ -1512,12 +1512,12 @@ export interface Endpoints {
|
|
|
1512
1512
|
response: OctokitResponse<TeamsListMembersInOrgResponseData>;
|
|
1513
1513
|
};
|
|
1514
1514
|
/**
|
|
1515
|
-
* @see https://developer.github.com/v3/teams/members/#get-team-membership
|
|
1515
|
+
* @see https://developer.github.com/v3/teams/members/#get-team-membership-for-a-user
|
|
1516
1516
|
*/
|
|
1517
1517
|
"GET /orgs/:org/teams/:team_slug/memberships/:username": {
|
|
1518
|
-
parameters:
|
|
1519
|
-
request:
|
|
1520
|
-
response: OctokitResponse<
|
|
1518
|
+
parameters: TeamsGetMembershipForUserInOrgEndpoint;
|
|
1519
|
+
request: TeamsGetMembershipForUserInOrgRequestOptions;
|
|
1520
|
+
response: OctokitResponse<TeamsGetMembershipForUserInOrgResponseData>;
|
|
1521
1521
|
};
|
|
1522
1522
|
/**
|
|
1523
1523
|
* @see https://developer.github.com/v3/teams/#list-team-projects
|
|
@@ -1528,15 +1528,15 @@ export interface Endpoints {
|
|
|
1528
1528
|
response: OctokitResponse<TeamsListProjectsInOrgResponseData>;
|
|
1529
1529
|
};
|
|
1530
1530
|
/**
|
|
1531
|
-
* @see https://developer.github.com/v3/teams/#
|
|
1531
|
+
* @see https://developer.github.com/v3/teams/#check-team-permissions-for-a-project
|
|
1532
1532
|
*/
|
|
1533
1533
|
"GET /orgs/:org/teams/:team_slug/projects/:project_id": {
|
|
1534
|
-
parameters:
|
|
1535
|
-
request:
|
|
1536
|
-
response: OctokitResponse<
|
|
1534
|
+
parameters: TeamsCheckPermissionsForProjectInOrgEndpoint;
|
|
1535
|
+
request: TeamsCheckPermissionsForProjectInOrgRequestOptions;
|
|
1536
|
+
response: OctokitResponse<TeamsCheckPermissionsForProjectInOrgResponseData>;
|
|
1537
1537
|
};
|
|
1538
1538
|
/**
|
|
1539
|
-
* @see https://developer.github.com/v3/teams/#list-team-
|
|
1539
|
+
* @see https://developer.github.com/v3/teams/#list-team-repositories
|
|
1540
1540
|
*/
|
|
1541
1541
|
"GET /orgs/:org/teams/:team_slug/repos": {
|
|
1542
1542
|
parameters: TeamsListReposInOrgEndpoint;
|
|
@@ -1544,12 +1544,12 @@ export interface Endpoints {
|
|
|
1544
1544
|
response: OctokitResponse<TeamsListReposInOrgResponseData>;
|
|
1545
1545
|
};
|
|
1546
1546
|
/**
|
|
1547
|
-
* @see https://developer.github.com/v3/teams/#check-
|
|
1547
|
+
* @see https://developer.github.com/v3/teams/#check-team-permissions-for-a-repository
|
|
1548
1548
|
*/
|
|
1549
1549
|
"GET /orgs/:org/teams/:team_slug/repos/:owner/:repo": {
|
|
1550
|
-
parameters:
|
|
1551
|
-
request:
|
|
1552
|
-
response: OctokitResponse<
|
|
1550
|
+
parameters: TeamsCheckPermissionsForRepoInOrgEndpoint;
|
|
1551
|
+
request: TeamsCheckPermissionsForRepoInOrgRequestOptions;
|
|
1552
|
+
response: OctokitResponse<TeamsCheckPermissionsForRepoInOrgResponseData>;
|
|
1553
1553
|
};
|
|
1554
1554
|
/**
|
|
1555
1555
|
* @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team
|
|
@@ -1824,11 +1824,11 @@ export interface Endpoints {
|
|
|
1824
1824
|
response: OctokitResponse<IssuesListAssigneesResponseData>;
|
|
1825
1825
|
};
|
|
1826
1826
|
/**
|
|
1827
|
-
* @see https://developer.github.com/v3/issues/assignees/#check-
|
|
1827
|
+
* @see https://developer.github.com/v3/issues/assignees/#check-if-a-user-can-be-assigned
|
|
1828
1828
|
*/
|
|
1829
1829
|
"GET /repos/:owner/:repo/assignees/:assignee": {
|
|
1830
|
-
parameters:
|
|
1831
|
-
request:
|
|
1830
|
+
parameters: IssuesCheckUserCanBeAssignedEndpoint;
|
|
1831
|
+
request: IssuesCheckUserCanBeAssignedRequestOptions;
|
|
1832
1832
|
response: OctokitResponse<any>;
|
|
1833
1833
|
};
|
|
1834
1834
|
/**
|
|
@@ -2224,7 +2224,7 @@ export interface Endpoints {
|
|
|
2224
2224
|
response: OctokitResponse<GitListMatchingRefsResponseData>;
|
|
2225
2225
|
};
|
|
2226
2226
|
/**
|
|
2227
|
-
* @see https://developer.github.com/v3/git/refs/#get-a-
|
|
2227
|
+
* @see https://developer.github.com/v3/git/refs/#get-a-reference
|
|
2228
2228
|
*/
|
|
2229
2229
|
"GET /repos/:owner/:repo/git/ref/:ref": {
|
|
2230
2230
|
parameters: GitGetRefEndpoint;
|
|
@@ -2264,12 +2264,12 @@ export interface Endpoints {
|
|
|
2264
2264
|
response: OctokitResponse<ReposGetHookResponseData>;
|
|
2265
2265
|
};
|
|
2266
2266
|
/**
|
|
2267
|
-
* @see https://developer.github.com/v3/migrations/source_imports/#get-import-
|
|
2267
|
+
* @see https://developer.github.com/v3/migrations/source_imports/#get-an-import-status
|
|
2268
2268
|
*/
|
|
2269
2269
|
"GET /repos/:owner/:repo/import": {
|
|
2270
|
-
parameters:
|
|
2271
|
-
request:
|
|
2272
|
-
response: OctokitResponse<
|
|
2270
|
+
parameters: MigrationsGetImportStatusEndpoint;
|
|
2271
|
+
request: MigrationsGetImportStatusRequestOptions;
|
|
2272
|
+
response: OctokitResponse<MigrationsGetImportStatusResponseData>;
|
|
2273
2273
|
};
|
|
2274
2274
|
/**
|
|
2275
2275
|
* @see https://developer.github.com/v3/migrations/source_imports/#get-commit-authors
|
|
@@ -2328,7 +2328,7 @@ export interface Endpoints {
|
|
|
2328
2328
|
response: OctokitResponse<IssuesGetResponseData>;
|
|
2329
2329
|
};
|
|
2330
2330
|
/**
|
|
2331
|
-
* @see https://developer.github.com/v3/issues/comments/#list-comments
|
|
2331
|
+
* @see https://developer.github.com/v3/issues/comments/#list-issue-comments
|
|
2332
2332
|
*/
|
|
2333
2333
|
"GET /repos/:owner/:repo/issues/:issue_number/comments": {
|
|
2334
2334
|
parameters: IssuesListCommentsEndpoint;
|
|
@@ -2336,7 +2336,7 @@ export interface Endpoints {
|
|
|
2336
2336
|
response: OctokitResponse<IssuesListCommentsResponseData>;
|
|
2337
2337
|
};
|
|
2338
2338
|
/**
|
|
2339
|
-
* @see https://developer.github.com/v3/issues/events/#list-events
|
|
2339
|
+
* @see https://developer.github.com/v3/issues/events/#list-issue-events
|
|
2340
2340
|
*/
|
|
2341
2341
|
"GET /repos/:owner/:repo/issues/:issue_number/events": {
|
|
2342
2342
|
parameters: IssuesListEventsEndpoint;
|
|
@@ -2344,7 +2344,7 @@ export interface Endpoints {
|
|
|
2344
2344
|
response: OctokitResponse<IssuesListEventsResponseData>;
|
|
2345
2345
|
};
|
|
2346
2346
|
/**
|
|
2347
|
-
* @see https://developer.github.com/v3/issues/labels/#list-labels-
|
|
2347
|
+
* @see https://developer.github.com/v3/issues/labels/#list-labels-for-an-issue
|
|
2348
2348
|
*/
|
|
2349
2349
|
"GET /repos/:owner/:repo/issues/:issue_number/labels": {
|
|
2350
2350
|
parameters: IssuesListLabelsOnIssueEndpoint;
|
|
@@ -2360,7 +2360,7 @@ export interface Endpoints {
|
|
|
2360
2360
|
response: OctokitResponse<ReactionsListForIssueResponseData>;
|
|
2361
2361
|
};
|
|
2362
2362
|
/**
|
|
2363
|
-
* @see https://developer.github.com/v3/issues/timeline/#list-events-for-an-issue
|
|
2363
|
+
* @see https://developer.github.com/v3/issues/timeline/#list-timeline-events-for-an-issue
|
|
2364
2364
|
*/
|
|
2365
2365
|
"GET /repos/:owner/:repo/issues/:issue_number/timeline": {
|
|
2366
2366
|
parameters: IssuesListEventsForTimelineEndpoint;
|
|
@@ -2368,7 +2368,7 @@ export interface Endpoints {
|
|
|
2368
2368
|
response: OctokitResponse<IssuesListEventsForTimelineResponseData>;
|
|
2369
2369
|
};
|
|
2370
2370
|
/**
|
|
2371
|
-
* @see https://developer.github.com/v3/issues/comments/#list-comments-
|
|
2371
|
+
* @see https://developer.github.com/v3/issues/comments/#list-issue-comments-for-a-repository
|
|
2372
2372
|
*/
|
|
2373
2373
|
"GET /repos/:owner/:repo/issues/comments": {
|
|
2374
2374
|
parameters: IssuesListCommentsForRepoEndpoint;
|
|
@@ -2376,7 +2376,7 @@ export interface Endpoints {
|
|
|
2376
2376
|
response: OctokitResponse<IssuesListCommentsForRepoResponseData>;
|
|
2377
2377
|
};
|
|
2378
2378
|
/**
|
|
2379
|
-
* @see https://developer.github.com/v3/issues/comments/#get-
|
|
2379
|
+
* @see https://developer.github.com/v3/issues/comments/#get-an-issue-comment
|
|
2380
2380
|
*/
|
|
2381
2381
|
"GET /repos/:owner/:repo/issues/comments/:comment_id": {
|
|
2382
2382
|
parameters: IssuesGetCommentEndpoint;
|
|
@@ -2392,7 +2392,7 @@ export interface Endpoints {
|
|
|
2392
2392
|
response: OctokitResponse<ReactionsListForIssueCommentResponseData>;
|
|
2393
2393
|
};
|
|
2394
2394
|
/**
|
|
2395
|
-
* @see https://developer.github.com/v3/issues/events/#list-events-for-a-repository
|
|
2395
|
+
* @see https://developer.github.com/v3/issues/events/#list-issue-events-for-a-repository
|
|
2396
2396
|
*/
|
|
2397
2397
|
"GET /repos/:owner/:repo/issues/events": {
|
|
2398
2398
|
parameters: IssuesListEventsForRepoEndpoint;
|
|
@@ -2400,7 +2400,7 @@ export interface Endpoints {
|
|
|
2400
2400
|
response: OctokitResponse<IssuesListEventsForRepoResponseData>;
|
|
2401
2401
|
};
|
|
2402
2402
|
/**
|
|
2403
|
-
* @see https://developer.github.com/v3/issues/events/#get-
|
|
2403
|
+
* @see https://developer.github.com/v3/issues/events/#get-an-issue-event
|
|
2404
2404
|
*/
|
|
2405
2405
|
"GET /repos/:owner/:repo/issues/events/:event_id": {
|
|
2406
2406
|
parameters: IssuesGetEventEndpoint;
|
|
@@ -2424,7 +2424,7 @@ export interface Endpoints {
|
|
|
2424
2424
|
response: OctokitResponse<ReposGetDeployKeyResponseData>;
|
|
2425
2425
|
};
|
|
2426
2426
|
/**
|
|
2427
|
-
* @see https://developer.github.com/v3/issues/labels/#list-
|
|
2427
|
+
* @see https://developer.github.com/v3/issues/labels/#list-labels-for-a-repository
|
|
2428
2428
|
*/
|
|
2429
2429
|
"GET /repos/:owner/:repo/labels": {
|
|
2430
2430
|
parameters: IssuesListLabelsForRepoEndpoint;
|
|
@@ -2432,7 +2432,7 @@ export interface Endpoints {
|
|
|
2432
2432
|
response: OctokitResponse<IssuesListLabelsForRepoResponseData>;
|
|
2433
2433
|
};
|
|
2434
2434
|
/**
|
|
2435
|
-
* @see https://developer.github.com/v3/issues/labels/#get-a-
|
|
2435
|
+
* @see https://developer.github.com/v3/issues/labels/#get-a-label
|
|
2436
2436
|
*/
|
|
2437
2437
|
"GET /repos/:owner/:repo/labels/:name": {
|
|
2438
2438
|
parameters: IssuesGetLabelEndpoint;
|
|
@@ -2456,15 +2456,15 @@ export interface Endpoints {
|
|
|
2456
2456
|
response: OctokitResponse<LicensesGetForRepoResponseData>;
|
|
2457
2457
|
};
|
|
2458
2458
|
/**
|
|
2459
|
-
* @see https://developer.github.com/v3/issues/milestones/#list-milestones
|
|
2459
|
+
* @see https://developer.github.com/v3/issues/milestones/#list-milestones
|
|
2460
2460
|
*/
|
|
2461
2461
|
"GET /repos/:owner/:repo/milestones": {
|
|
2462
|
-
parameters:
|
|
2463
|
-
request:
|
|
2464
|
-
response: OctokitResponse<
|
|
2462
|
+
parameters: IssuesListMilestonesEndpoint;
|
|
2463
|
+
request: IssuesListMilestonesRequestOptions;
|
|
2464
|
+
response: OctokitResponse<IssuesListMilestonesResponseData>;
|
|
2465
2465
|
};
|
|
2466
2466
|
/**
|
|
2467
|
-
* @see https://developer.github.com/v3/issues/milestones/#get-a-
|
|
2467
|
+
* @see https://developer.github.com/v3/issues/milestones/#get-a-milestone
|
|
2468
2468
|
*/
|
|
2469
2469
|
"GET /repos/:owner/:repo/milestones/:milestone_number": {
|
|
2470
2470
|
parameters: IssuesGetMilestoneEndpoint;
|
|
@@ -2472,7 +2472,7 @@ export interface Endpoints {
|
|
|
2472
2472
|
response: OctokitResponse<IssuesGetMilestoneResponseData>;
|
|
2473
2473
|
};
|
|
2474
2474
|
/**
|
|
2475
|
-
* @see https://developer.github.com/v3/issues/labels/#
|
|
2475
|
+
* @see https://developer.github.com/v3/issues/labels/#list-labels-for-issues-in-a-milestone
|
|
2476
2476
|
*/
|
|
2477
2477
|
"GET /repos/:owner/:repo/milestones/:milestone_number/labels": {
|
|
2478
2478
|
parameters: IssuesListLabelsForMilestoneEndpoint;
|
|
@@ -3192,7 +3192,7 @@ export interface Endpoints {
|
|
|
3192
3192
|
response: OctokitResponse<MigrationsListForAuthenticatedUserResponseData>;
|
|
3193
3193
|
};
|
|
3194
3194
|
/**
|
|
3195
|
-
* @see https://developer.github.com/v3/migrations/users/#get-
|
|
3195
|
+
* @see https://developer.github.com/v3/migrations/users/#get-a-user-migration-status
|
|
3196
3196
|
*/
|
|
3197
3197
|
"GET /user/migrations/:migration_id": {
|
|
3198
3198
|
parameters: MigrationsGetStatusForAuthenticatedUserEndpoint;
|
|
@@ -3264,7 +3264,7 @@ export interface Endpoints {
|
|
|
3264
3264
|
response: OctokitResponse<ActivityListWatchedReposForAuthenticatedUserResponseData>;
|
|
3265
3265
|
};
|
|
3266
3266
|
/**
|
|
3267
|
-
* @see https://developer.github.com/v3/teams/#list-user
|
|
3267
|
+
* @see https://developer.github.com/v3/teams/#list-teams-for-the-authenticated-user
|
|
3268
3268
|
*/
|
|
3269
3269
|
"GET /user/teams": {
|
|
3270
3270
|
parameters: TeamsListForAuthenticatedUserEndpoint;
|
|
@@ -3456,7 +3456,7 @@ export interface Endpoints {
|
|
|
3456
3456
|
response: OctokitResponse<GistsUpdateResponseData>;
|
|
3457
3457
|
};
|
|
3458
3458
|
/**
|
|
3459
|
-
* @see https://developer.github.com/v3/gists/comments/#
|
|
3459
|
+
* @see https://developer.github.com/v3/gists/comments/#update-a-gist-comment
|
|
3460
3460
|
*/
|
|
3461
3461
|
"PATCH /gists/:gist_id/comments/:comment_id": {
|
|
3462
3462
|
parameters: GistsUpdateCommentEndpoint;
|
|
@@ -3488,7 +3488,7 @@ export interface Endpoints {
|
|
|
3488
3488
|
response: OctokitResponse<OrgsUpdateHookResponseData>;
|
|
3489
3489
|
};
|
|
3490
3490
|
/**
|
|
3491
|
-
* @see https://developer.github.com/v3/teams/#
|
|
3491
|
+
* @see https://developer.github.com/v3/teams/#update-a-team
|
|
3492
3492
|
*/
|
|
3493
3493
|
"PATCH /orgs/:org/teams/:team_slug": {
|
|
3494
3494
|
parameters: TeamsUpdateInOrgEndpoint;
|
|
@@ -3496,7 +3496,7 @@ export interface Endpoints {
|
|
|
3496
3496
|
response: OctokitResponse<TeamsUpdateInOrgResponseData>;
|
|
3497
3497
|
};
|
|
3498
3498
|
/**
|
|
3499
|
-
* @see https://developer.github.com/v3/teams/discussions/#
|
|
3499
|
+
* @see https://developer.github.com/v3/teams/discussions/#update-a-discussion
|
|
3500
3500
|
*/
|
|
3501
3501
|
"PATCH /orgs/:org/teams/:team_slug/discussions/:discussion_number": {
|
|
3502
3502
|
parameters: TeamsUpdateDiscussionInOrgEndpoint;
|
|
@@ -3504,7 +3504,7 @@ export interface Endpoints {
|
|
|
3504
3504
|
response: OctokitResponse<TeamsUpdateDiscussionInOrgResponseData>;
|
|
3505
3505
|
};
|
|
3506
3506
|
/**
|
|
3507
|
-
* @see https://developer.github.com/v3/teams/discussion_comments/#
|
|
3507
|
+
* @see https://developer.github.com/v3/teams/discussion_comments/#update-a-discussion-comment
|
|
3508
3508
|
*/
|
|
3509
3509
|
"PATCH /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number": {
|
|
3510
3510
|
parameters: TeamsUpdateDiscussionCommentInOrgEndpoint;
|
|
@@ -3608,7 +3608,7 @@ export interface Endpoints {
|
|
|
3608
3608
|
response: OctokitResponse<ReposUpdateHookResponseData>;
|
|
3609
3609
|
};
|
|
3610
3610
|
/**
|
|
3611
|
-
* @see https://developer.github.com/v3/migrations/source_imports/#update-
|
|
3611
|
+
* @see https://developer.github.com/v3/migrations/source_imports/#update-an-import
|
|
3612
3612
|
*/
|
|
3613
3613
|
"PATCH /repos/:owner/:repo/import": {
|
|
3614
3614
|
parameters: MigrationsUpdateImportEndpoint;
|
|
@@ -3624,7 +3624,7 @@ export interface Endpoints {
|
|
|
3624
3624
|
response: OctokitResponse<MigrationsMapCommitAuthorResponseData>;
|
|
3625
3625
|
};
|
|
3626
3626
|
/**
|
|
3627
|
-
* @see https://developer.github.com/v3/migrations/source_imports/#
|
|
3627
|
+
* @see https://developer.github.com/v3/migrations/source_imports/#update-git-lfs-preference
|
|
3628
3628
|
*/
|
|
3629
3629
|
"PATCH /repos/:owner/:repo/import/lfs": {
|
|
3630
3630
|
parameters: MigrationsSetLfsPreferenceEndpoint;
|
|
@@ -3648,7 +3648,7 @@ export interface Endpoints {
|
|
|
3648
3648
|
response: OctokitResponse<IssuesUpdateResponseData>;
|
|
3649
3649
|
};
|
|
3650
3650
|
/**
|
|
3651
|
-
* @see https://developer.github.com/v3/issues/comments/#
|
|
3651
|
+
* @see https://developer.github.com/v3/issues/comments/#update-an-issue-comment
|
|
3652
3652
|
*/
|
|
3653
3653
|
"PATCH /repos/:owner/:repo/issues/comments/:comment_id": {
|
|
3654
3654
|
parameters: IssuesUpdateCommentEndpoint;
|
|
@@ -3832,7 +3832,7 @@ export interface Endpoints {
|
|
|
3832
3832
|
response: OctokitResponse<GistsCreateResponseData>;
|
|
3833
3833
|
};
|
|
3834
3834
|
/**
|
|
3835
|
-
* @see https://developer.github.com/v3/gists/comments/#create-a-comment
|
|
3835
|
+
* @see https://developer.github.com/v3/gists/comments/#create-a-gist-comment
|
|
3836
3836
|
*/
|
|
3837
3837
|
"POST /gists/:gist_id/comments": {
|
|
3838
3838
|
parameters: GistsCreateCommentEndpoint;
|
|
@@ -3928,7 +3928,7 @@ export interface Endpoints {
|
|
|
3928
3928
|
response: OctokitResponse<ReposCreateInOrgResponseData>;
|
|
3929
3929
|
};
|
|
3930
3930
|
/**
|
|
3931
|
-
* @see https://developer.github.com/v3/teams/#create-team
|
|
3931
|
+
* @see https://developer.github.com/v3/teams/#create-a-team
|
|
3932
3932
|
*/
|
|
3933
3933
|
"POST /orgs/:org/teams": {
|
|
3934
3934
|
parameters: TeamsCreateEndpoint;
|
|
@@ -3944,7 +3944,7 @@ export interface Endpoints {
|
|
|
3944
3944
|
response: OctokitResponse<TeamsCreateDiscussionInOrgResponseData>;
|
|
3945
3945
|
};
|
|
3946
3946
|
/**
|
|
3947
|
-
* @see https://developer.github.com/v3/teams/discussion_comments/#create-a-comment
|
|
3947
|
+
* @see https://developer.github.com/v3/teams/discussion_comments/#create-a-discussion-comment
|
|
3948
3948
|
*/
|
|
3949
3949
|
"POST /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments": {
|
|
3950
3950
|
parameters: TeamsCreateDiscussionCommentInOrgEndpoint;
|
|
@@ -4232,7 +4232,7 @@ export interface Endpoints {
|
|
|
4232
4232
|
response: OctokitResponse<IssuesAddAssigneesResponseData>;
|
|
4233
4233
|
};
|
|
4234
4234
|
/**
|
|
4235
|
-
* @see https://developer.github.com/v3/issues/comments/#create-
|
|
4235
|
+
* @see https://developer.github.com/v3/issues/comments/#create-an-issue-comment
|
|
4236
4236
|
*/
|
|
4237
4237
|
"POST /repos/:owner/:repo/issues/:issue_number/comments": {
|
|
4238
4238
|
parameters: IssuesCreateCommentEndpoint;
|
|
@@ -4616,27 +4616,27 @@ export interface Endpoints {
|
|
|
4616
4616
|
response: OctokitResponse<any>;
|
|
4617
4617
|
};
|
|
4618
4618
|
/**
|
|
4619
|
-
* @see https://developer.github.com/v3/teams/members/#add-or-update-team-membership
|
|
4619
|
+
* @see https://developer.github.com/v3/teams/members/#add-or-update-team-membership-for-a-user
|
|
4620
4620
|
*/
|
|
4621
4621
|
"PUT /orgs/:org/teams/:team_slug/memberships/:username": {
|
|
4622
|
-
parameters:
|
|
4623
|
-
request:
|
|
4624
|
-
response: OctokitResponse<
|
|
4622
|
+
parameters: TeamsAddOrUpdateMembershipForUserInOrgEndpoint;
|
|
4623
|
+
request: TeamsAddOrUpdateMembershipForUserInOrgRequestOptions;
|
|
4624
|
+
response: OctokitResponse<TeamsAddOrUpdateMembershipForUserInOrgResponseData | TeamsAddOrUpdateMembershipForUserInOrgResponse422Data>;
|
|
4625
4625
|
};
|
|
4626
4626
|
/**
|
|
4627
|
-
* @see https://developer.github.com/v3/teams/#add-or-update-team-project
|
|
4627
|
+
* @see https://developer.github.com/v3/teams/#add-or-update-team-project-permissions
|
|
4628
4628
|
*/
|
|
4629
4629
|
"PUT /orgs/:org/teams/:team_slug/projects/:project_id": {
|
|
4630
|
-
parameters:
|
|
4631
|
-
request:
|
|
4632
|
-
response: OctokitResponse<
|
|
4630
|
+
parameters: TeamsAddOrUpdateProjectPermissionsInOrgEndpoint;
|
|
4631
|
+
request: TeamsAddOrUpdateProjectPermissionsInOrgRequestOptions;
|
|
4632
|
+
response: OctokitResponse<TeamsAddOrUpdateProjectPermissionsInOrgResponseData>;
|
|
4633
4633
|
};
|
|
4634
4634
|
/**
|
|
4635
|
-
* @see https://developer.github.com/v3/teams/#add-or-update-team-repository
|
|
4635
|
+
* @see https://developer.github.com/v3/teams/#add-or-update-team-repository-permissions
|
|
4636
4636
|
*/
|
|
4637
4637
|
"PUT /orgs/:org/teams/:team_slug/repos/:owner/:repo": {
|
|
4638
|
-
parameters:
|
|
4639
|
-
request:
|
|
4638
|
+
parameters: TeamsAddOrUpdateRepoPermissionsInOrgEndpoint;
|
|
4639
|
+
request: TeamsAddOrUpdateRepoPermissionsInOrgRequestOptions;
|
|
4640
4640
|
response: OctokitResponse<any>;
|
|
4641
4641
|
};
|
|
4642
4642
|
/**
|
|
@@ -4736,12 +4736,12 @@ export interface Endpoints {
|
|
|
4736
4736
|
response: OctokitResponse<InteractionsAddOrUpdateRestrictionsForRepoResponseData>;
|
|
4737
4737
|
};
|
|
4738
4738
|
/**
|
|
4739
|
-
* @see https://developer.github.com/v3/issues/labels/#
|
|
4739
|
+
* @see https://developer.github.com/v3/issues/labels/#set-labels-for-an-issue
|
|
4740
4740
|
*/
|
|
4741
4741
|
"PUT /repos/:owner/:repo/issues/:issue_number/labels": {
|
|
4742
|
-
parameters:
|
|
4743
|
-
request:
|
|
4744
|
-
response: OctokitResponse<
|
|
4742
|
+
parameters: IssuesSetLabelsEndpoint;
|
|
4743
|
+
request: IssuesSetLabelsRequestOptions;
|
|
4744
|
+
response: OctokitResponse<IssuesSetLabelsResponseData>;
|
|
4745
4745
|
};
|
|
4746
4746
|
/**
|
|
4747
4747
|
* @see https://developer.github.com/v3/issues/#lock-an-issue
|
|
@@ -5018,14 +5018,13 @@ export declare type AppsListInstallationsResponseData = {
|
|
|
5018
5018
|
target_id: number;
|
|
5019
5019
|
target_type: string;
|
|
5020
5020
|
permissions: {
|
|
5021
|
+
checks: string;
|
|
5021
5022
|
metadata: string;
|
|
5022
5023
|
contents: string;
|
|
5023
|
-
issues: string;
|
|
5024
|
-
single_file: string;
|
|
5025
5024
|
};
|
|
5026
5025
|
events: string[];
|
|
5027
5026
|
single_file_name: string;
|
|
5028
|
-
repository_selection:
|
|
5027
|
+
repository_selection: "all" | "selected";
|
|
5029
5028
|
}[];
|
|
5030
5029
|
declare type AppsGetInstallationEndpoint = {
|
|
5031
5030
|
installation_id: number;
|
|
@@ -5059,14 +5058,13 @@ export interface AppsGetInstallationResponseData {
|
|
|
5059
5058
|
target_id: number;
|
|
5060
5059
|
target_type: string;
|
|
5061
5060
|
permissions: {
|
|
5061
|
+
checks: string;
|
|
5062
5062
|
metadata: string;
|
|
5063
5063
|
contents: string;
|
|
5064
|
-
issues: string;
|
|
5065
|
-
single_file: string;
|
|
5066
5064
|
};
|
|
5067
5065
|
events: string[];
|
|
5068
5066
|
single_file_name: string;
|
|
5069
|
-
repository_selection:
|
|
5067
|
+
repository_selection: "all" | "selected";
|
|
5070
5068
|
}
|
|
5071
5069
|
declare type AppsDeleteInstallationEndpoint = {
|
|
5072
5070
|
installation_id: number;
|
|
@@ -5101,7 +5099,7 @@ export interface AppsCreateInstallationTokenResponseData {
|
|
|
5101
5099
|
issues: string;
|
|
5102
5100
|
contents: string;
|
|
5103
5101
|
};
|
|
5104
|
-
repository_selection:
|
|
5102
|
+
repository_selection: "all" | "selected";
|
|
5105
5103
|
repositories: {
|
|
5106
5104
|
id: number;
|
|
5107
5105
|
node_id: string;
|
|
@@ -8979,6 +8977,7 @@ export interface AppsGetOrgInstallationResponseData {
|
|
|
8979
8977
|
account: {
|
|
8980
8978
|
login: string;
|
|
8981
8979
|
id: number;
|
|
8980
|
+
node_id: string;
|
|
8982
8981
|
avatar_url: string;
|
|
8983
8982
|
gravatar_id: string;
|
|
8984
8983
|
url: string;
|
|
@@ -8995,7 +8994,7 @@ export interface AppsGetOrgInstallationResponseData {
|
|
|
8995
8994
|
type: string;
|
|
8996
8995
|
site_admin: boolean;
|
|
8997
8996
|
};
|
|
8998
|
-
repository_selection:
|
|
8997
|
+
repository_selection: "all" | "selected";
|
|
8999
8998
|
access_tokens_url: string;
|
|
9000
8999
|
repositories_url: string;
|
|
9001
9000
|
html_url: string;
|
|
@@ -9053,7 +9052,7 @@ export interface OrgsListInstallationsResponseData {
|
|
|
9053
9052
|
type: string;
|
|
9054
9053
|
site_admin: boolean;
|
|
9055
9054
|
};
|
|
9056
|
-
repository_selection:
|
|
9055
|
+
repository_selection: "all" | "selected";
|
|
9057
9056
|
access_tokens_url: string;
|
|
9058
9057
|
repositories_url: string;
|
|
9059
9058
|
html_url: string;
|
|
@@ -12005,23 +12004,23 @@ export declare type TeamsListMembersInOrgResponseData = {
|
|
|
12005
12004
|
type: string;
|
|
12006
12005
|
site_admin: boolean;
|
|
12007
12006
|
}[];
|
|
12008
|
-
declare type
|
|
12007
|
+
declare type TeamsGetMembershipForUserInOrgEndpoint = {
|
|
12009
12008
|
org: string;
|
|
12010
12009
|
team_slug: string;
|
|
12011
12010
|
username: string;
|
|
12012
12011
|
};
|
|
12013
|
-
declare type
|
|
12012
|
+
declare type TeamsGetMembershipForUserInOrgRequestOptions = {
|
|
12014
12013
|
method: "GET";
|
|
12015
12014
|
url: "/orgs/:org/teams/:team_slug/memberships/:username";
|
|
12016
12015
|
headers: RequestHeaders;
|
|
12017
12016
|
request: RequestRequestOptions;
|
|
12018
12017
|
};
|
|
12019
|
-
export interface
|
|
12018
|
+
export interface TeamsGetMembershipForUserInOrgResponseData {
|
|
12020
12019
|
url: string;
|
|
12021
12020
|
role: string;
|
|
12022
12021
|
state: string;
|
|
12023
12022
|
}
|
|
12024
|
-
declare type
|
|
12023
|
+
declare type TeamsAddOrUpdateMembershipForUserInOrgEndpoint = {
|
|
12025
12024
|
org: string;
|
|
12026
12025
|
team_slug: string;
|
|
12027
12026
|
username: string;
|
|
@@ -12032,18 +12031,18 @@ declare type TeamsAddOrUpdateMembershipInOrgEndpoint = {
|
|
|
12032
12031
|
*/
|
|
12033
12032
|
role?: "member" | "maintainer";
|
|
12034
12033
|
};
|
|
12035
|
-
declare type
|
|
12034
|
+
declare type TeamsAddOrUpdateMembershipForUserInOrgRequestOptions = {
|
|
12036
12035
|
method: "PUT";
|
|
12037
12036
|
url: "/orgs/:org/teams/:team_slug/memberships/:username";
|
|
12038
12037
|
headers: RequestHeaders;
|
|
12039
12038
|
request: RequestRequestOptions;
|
|
12040
12039
|
};
|
|
12041
|
-
export interface
|
|
12040
|
+
export interface TeamsAddOrUpdateMembershipForUserInOrgResponseData {
|
|
12042
12041
|
url: string;
|
|
12043
12042
|
role: string;
|
|
12044
12043
|
state: string;
|
|
12045
12044
|
}
|
|
12046
|
-
export interface
|
|
12045
|
+
export interface TeamsAddOrUpdateMembershipForUserInOrgResponse422Data {
|
|
12047
12046
|
message: string;
|
|
12048
12047
|
errors: {
|
|
12049
12048
|
code: string;
|
|
@@ -12051,12 +12050,12 @@ export interface TeamsAddOrUpdateMembershipInOrgResponse422Data {
|
|
|
12051
12050
|
resource: string;
|
|
12052
12051
|
}[];
|
|
12053
12052
|
}
|
|
12054
|
-
declare type
|
|
12053
|
+
declare type TeamsRemoveMembershipForUserInOrgEndpoint = {
|
|
12055
12054
|
org: string;
|
|
12056
12055
|
team_slug: string;
|
|
12057
12056
|
username: string;
|
|
12058
12057
|
};
|
|
12059
|
-
declare type
|
|
12058
|
+
declare type TeamsRemoveMembershipForUserInOrgRequestOptions = {
|
|
12060
12059
|
method: "DELETE";
|
|
12061
12060
|
url: "/orgs/:org/teams/:team_slug/memberships/:username";
|
|
12062
12061
|
headers: RequestHeaders;
|
|
@@ -12121,18 +12120,18 @@ export declare type TeamsListProjectsInOrgResponseData = {
|
|
|
12121
12120
|
admin: boolean;
|
|
12122
12121
|
};
|
|
12123
12122
|
}[];
|
|
12124
|
-
declare type
|
|
12123
|
+
declare type TeamsCheckPermissionsForProjectInOrgEndpoint = {
|
|
12125
12124
|
org: string;
|
|
12126
12125
|
team_slug: string;
|
|
12127
12126
|
project_id: number;
|
|
12128
12127
|
} & RequiredPreview<"inertia">;
|
|
12129
|
-
declare type
|
|
12128
|
+
declare type TeamsCheckPermissionsForProjectInOrgRequestOptions = {
|
|
12130
12129
|
method: "GET";
|
|
12131
12130
|
url: "/orgs/:org/teams/:team_slug/projects/:project_id";
|
|
12132
12131
|
headers: RequestHeaders;
|
|
12133
12132
|
request: RequestRequestOptions;
|
|
12134
12133
|
};
|
|
12135
|
-
export interface
|
|
12134
|
+
export interface TeamsCheckPermissionsForProjectInOrgResponseData {
|
|
12136
12135
|
owner_url: string;
|
|
12137
12136
|
url: string;
|
|
12138
12137
|
html_url: string;
|
|
@@ -12173,7 +12172,7 @@ export interface TeamsReviewProjectInOrgResponseData {
|
|
|
12173
12172
|
admin: boolean;
|
|
12174
12173
|
};
|
|
12175
12174
|
}
|
|
12176
|
-
declare type
|
|
12175
|
+
declare type TeamsAddOrUpdateProjectPermissionsInOrgEndpoint = {
|
|
12177
12176
|
org: string;
|
|
12178
12177
|
team_slug: string;
|
|
12179
12178
|
project_id: number;
|
|
@@ -12186,13 +12185,13 @@ declare type TeamsAddOrUpdateProjectInOrgEndpoint = {
|
|
|
12186
12185
|
*/
|
|
12187
12186
|
permission?: "read" | "write" | "admin";
|
|
12188
12187
|
} & RequiredPreview<"inertia">;
|
|
12189
|
-
declare type
|
|
12188
|
+
declare type TeamsAddOrUpdateProjectPermissionsInOrgRequestOptions = {
|
|
12190
12189
|
method: "PUT";
|
|
12191
12190
|
url: "/orgs/:org/teams/:team_slug/projects/:project_id";
|
|
12192
12191
|
headers: RequestHeaders;
|
|
12193
12192
|
request: RequestRequestOptions;
|
|
12194
12193
|
};
|
|
12195
|
-
export interface
|
|
12194
|
+
export interface TeamsAddOrUpdateProjectPermissionsInOrgResponseData {
|
|
12196
12195
|
message: string;
|
|
12197
12196
|
documentation_url: string;
|
|
12198
12197
|
}
|
|
@@ -12334,19 +12333,19 @@ export declare type TeamsListReposInOrgResponseData = {
|
|
|
12334
12333
|
node_id: string;
|
|
12335
12334
|
};
|
|
12336
12335
|
}[];
|
|
12337
|
-
declare type
|
|
12336
|
+
declare type TeamsCheckPermissionsForRepoInOrgEndpoint = {
|
|
12338
12337
|
org: string;
|
|
12339
12338
|
team_slug: string;
|
|
12340
12339
|
owner: string;
|
|
12341
12340
|
repo: string;
|
|
12342
12341
|
};
|
|
12343
|
-
declare type
|
|
12342
|
+
declare type TeamsCheckPermissionsForRepoInOrgRequestOptions = {
|
|
12344
12343
|
method: "GET";
|
|
12345
12344
|
url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo";
|
|
12346
12345
|
headers: RequestHeaders;
|
|
12347
12346
|
request: RequestRequestOptions;
|
|
12348
12347
|
};
|
|
12349
|
-
export interface
|
|
12348
|
+
export interface TeamsCheckPermissionsForRepoInOrgResponseData {
|
|
12350
12349
|
organization: {
|
|
12351
12350
|
login: string;
|
|
12352
12351
|
id: number;
|
|
@@ -12585,7 +12584,7 @@ export interface TeamsCheckManagesRepoInOrgResponseData {
|
|
|
12585
12584
|
admin: boolean;
|
|
12586
12585
|
};
|
|
12587
12586
|
}
|
|
12588
|
-
declare type
|
|
12587
|
+
declare type TeamsAddOrUpdateRepoPermissionsInOrgEndpoint = {
|
|
12589
12588
|
org: string;
|
|
12590
12589
|
team_slug: string;
|
|
12591
12590
|
owner: string;
|
|
@@ -12602,7 +12601,7 @@ declare type TeamsAddOrUpdateRepoInOrgEndpoint = {
|
|
|
12602
12601
|
*/
|
|
12603
12602
|
permission?: "pull" | "push" | "admin" | "maintain" | "triage";
|
|
12604
12603
|
};
|
|
12605
|
-
declare type
|
|
12604
|
+
declare type TeamsAddOrUpdateRepoPermissionsInOrgRequestOptions = {
|
|
12606
12605
|
method: "PUT";
|
|
12607
12606
|
url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo";
|
|
12608
12607
|
headers: RequestHeaders;
|
|
@@ -13046,7 +13045,7 @@ declare type ProjectsUpdateEndpoint = {
|
|
|
13046
13045
|
*/
|
|
13047
13046
|
state?: "open" | "closed";
|
|
13048
13047
|
/**
|
|
13049
|
-
* The permission level that determines whether all members of the project's organization can see and/or make changes to the project. Setting `organization_permission` is only available for organization projects. If an organization member belongs to a team with a higher level of access or is a collaborator with a higher level of access, their permission level is not lowered by `organization_permission`. For information on changing access for a team or collaborator, see [Add or update team project](https://developer.github.com/v3/teams/#add-or-update-team-project) or [Add user as a collaborator](https://developer.github.com/v3/projects/collaborators/#add-user-as-a-collaborator).
|
|
13048
|
+
* The permission level that determines whether all members of the project's organization can see and/or make changes to the project. Setting `organization_permission` is only available for organization projects. If an organization member belongs to a team with a higher level of access or is a collaborator with a higher level of access, their permission level is not lowered by `organization_permission`. For information on changing access for a team or collaborator, see [Add or update team project permissions](https://developer.github.com/v3/teams/#add-or-update-team-project-permissions) or [Add user as a collaborator](https://developer.github.com/v3/projects/collaborators/#add-user-as-a-collaborator).
|
|
13050
13049
|
*
|
|
13051
13050
|
* **Note:** Updating a project's `organization_permission` requires `admin` access to the project.
|
|
13052
13051
|
*
|
|
@@ -15273,12 +15272,12 @@ export declare type IssuesListAssigneesResponseData = {
|
|
|
15273
15272
|
type: string;
|
|
15274
15273
|
site_admin: boolean;
|
|
15275
15274
|
}[];
|
|
15276
|
-
declare type
|
|
15275
|
+
declare type IssuesCheckUserCanBeAssignedEndpoint = {
|
|
15277
15276
|
owner: string;
|
|
15278
15277
|
repo: string;
|
|
15279
15278
|
assignee: string;
|
|
15280
15279
|
};
|
|
15281
|
-
declare type
|
|
15280
|
+
declare type IssuesCheckUserCanBeAssignedRequestOptions = {
|
|
15282
15281
|
method: "GET";
|
|
15283
15282
|
url: "/repos/:owner/:repo/assignees/:assignee";
|
|
15284
15283
|
headers: RequestHeaders;
|
|
@@ -20849,6 +20848,7 @@ declare type GitGetCommitRequestOptions = {
|
|
|
20849
20848
|
};
|
|
20850
20849
|
export interface GitGetCommitResponseData {
|
|
20851
20850
|
sha: string;
|
|
20851
|
+
node_id: string;
|
|
20852
20852
|
url: string;
|
|
20853
20853
|
author: {
|
|
20854
20854
|
date: string;
|
|
@@ -21112,22 +21112,13 @@ export interface GitCreateTreeResponseData {
|
|
|
21112
21112
|
}[];
|
|
21113
21113
|
}
|
|
21114
21114
|
declare type GitGetTreeEndpoint = {
|
|
21115
|
-
/**
|
|
21116
|
-
* owner parameter
|
|
21117
|
-
*/
|
|
21118
21115
|
owner: string;
|
|
21119
|
-
/**
|
|
21120
|
-
* repo parameter
|
|
21121
|
-
*/
|
|
21122
21116
|
repo: string;
|
|
21123
|
-
/**
|
|
21124
|
-
* tree_sha parameter
|
|
21125
|
-
*/
|
|
21126
21117
|
tree_sha: string;
|
|
21127
21118
|
/**
|
|
21128
|
-
* recursive parameter
|
|
21119
|
+
* Setting this parameter to any value returns the objects or subtrees referenced by the tree specified in `:tree_sha`. For example, setting `recursive` to any of the following will enable returning objects or subtrees: `0`, `1`, `"true"`, and `"false"`. Omit this parameter to prevent recursively returning objects or subtrees.
|
|
21129
21120
|
*/
|
|
21130
|
-
recursive?:
|
|
21121
|
+
recursive?: string;
|
|
21131
21122
|
};
|
|
21132
21123
|
declare type GitGetTreeRequestOptions = {
|
|
21133
21124
|
method: "GET";
|
|
@@ -21402,17 +21393,17 @@ export interface MigrationsStartImportResponseData {
|
|
|
21402
21393
|
authors_url: string;
|
|
21403
21394
|
repository_url: string;
|
|
21404
21395
|
}
|
|
21405
|
-
declare type
|
|
21396
|
+
declare type MigrationsGetImportStatusEndpoint = {
|
|
21406
21397
|
owner: string;
|
|
21407
21398
|
repo: string;
|
|
21408
21399
|
};
|
|
21409
|
-
declare type
|
|
21400
|
+
declare type MigrationsGetImportStatusRequestOptions = {
|
|
21410
21401
|
method: "GET";
|
|
21411
21402
|
url: "/repos/:owner/:repo/import";
|
|
21412
21403
|
headers: RequestHeaders;
|
|
21413
21404
|
request: RequestRequestOptions;
|
|
21414
21405
|
};
|
|
21415
|
-
export interface
|
|
21406
|
+
export interface MigrationsGetImportStatusResponseData {
|
|
21416
21407
|
vcs: string;
|
|
21417
21408
|
use_lfs: string;
|
|
21418
21409
|
vcs_url: string;
|
|
@@ -21576,6 +21567,7 @@ export interface AppsGetRepoInstallationResponseData {
|
|
|
21576
21567
|
account: {
|
|
21577
21568
|
login: string;
|
|
21578
21569
|
id: number;
|
|
21570
|
+
node_id: string;
|
|
21579
21571
|
avatar_url: string;
|
|
21580
21572
|
gravatar_id: string;
|
|
21581
21573
|
url: string;
|
|
@@ -21592,7 +21584,7 @@ export interface AppsGetRepoInstallationResponseData {
|
|
|
21592
21584
|
type: string;
|
|
21593
21585
|
site_admin: boolean;
|
|
21594
21586
|
};
|
|
21595
|
-
repository_selection:
|
|
21587
|
+
repository_selection: "all" | "selected";
|
|
21596
21588
|
access_tokens_url: string;
|
|
21597
21589
|
repositories_url: string;
|
|
21598
21590
|
html_url: string;
|
|
@@ -23750,7 +23742,7 @@ export declare type IssuesAddLabelsResponseData = {
|
|
|
23750
23742
|
color: string;
|
|
23751
23743
|
default: boolean;
|
|
23752
23744
|
}[];
|
|
23753
|
-
declare type
|
|
23745
|
+
declare type IssuesSetLabelsEndpoint = {
|
|
23754
23746
|
owner: string;
|
|
23755
23747
|
repo: string;
|
|
23756
23748
|
issue_number: number;
|
|
@@ -23759,13 +23751,13 @@ declare type IssuesReplaceAllLabelsEndpoint = {
|
|
|
23759
23751
|
*/
|
|
23760
23752
|
labels?: string[];
|
|
23761
23753
|
};
|
|
23762
|
-
declare type
|
|
23754
|
+
declare type IssuesSetLabelsRequestOptions = {
|
|
23763
23755
|
method: "PUT";
|
|
23764
23756
|
url: "/repos/:owner/:repo/issues/:issue_number/labels";
|
|
23765
23757
|
headers: RequestHeaders;
|
|
23766
23758
|
request: RequestRequestOptions;
|
|
23767
23759
|
};
|
|
23768
|
-
export declare type
|
|
23760
|
+
export declare type IssuesSetLabelsResponseData = {
|
|
23769
23761
|
id: number;
|
|
23770
23762
|
node_id: string;
|
|
23771
23763
|
url: string;
|
|
@@ -24351,7 +24343,7 @@ export interface ReposMergeResponse404Data {
|
|
|
24351
24343
|
export interface ReposMergeResponse409Data {
|
|
24352
24344
|
message: string;
|
|
24353
24345
|
}
|
|
24354
|
-
declare type
|
|
24346
|
+
declare type IssuesListMilestonesEndpoint = {
|
|
24355
24347
|
owner: string;
|
|
24356
24348
|
repo: string;
|
|
24357
24349
|
/**
|
|
@@ -24375,13 +24367,13 @@ declare type IssuesListMilestonesForRepoEndpoint = {
|
|
|
24375
24367
|
*/
|
|
24376
24368
|
page?: number;
|
|
24377
24369
|
};
|
|
24378
|
-
declare type
|
|
24370
|
+
declare type IssuesListMilestonesRequestOptions = {
|
|
24379
24371
|
method: "GET";
|
|
24380
24372
|
url: "/repos/:owner/:repo/milestones";
|
|
24381
24373
|
headers: RequestHeaders;
|
|
24382
24374
|
request: RequestRequestOptions;
|
|
24383
24375
|
};
|
|
24384
|
-
export declare type
|
|
24376
|
+
export declare type IssuesListMilestonesResponseData = {
|
|
24385
24377
|
url: string;
|
|
24386
24378
|
html_url: string;
|
|
24387
24379
|
labels_url: string;
|
|
@@ -28460,8 +28452,6 @@ export declare type PullsListReviewsResponseData = {
|
|
|
28460
28452
|
site_admin: boolean;
|
|
28461
28453
|
};
|
|
28462
28454
|
body: string;
|
|
28463
|
-
submitted_at: string;
|
|
28464
|
-
commit_id: string;
|
|
28465
28455
|
state: string;
|
|
28466
28456
|
html_url: string;
|
|
28467
28457
|
pull_request_url: string;
|
|
@@ -28473,6 +28463,8 @@ export declare type PullsListReviewsResponseData = {
|
|
|
28473
28463
|
href: string;
|
|
28474
28464
|
};
|
|
28475
28465
|
};
|
|
28466
|
+
submitted_at: string;
|
|
28467
|
+
commit_id: string;
|
|
28476
28468
|
}[];
|
|
28477
28469
|
declare type PullsCreateReviewEndpoint = {
|
|
28478
28470
|
owner: string;
|
|
@@ -28525,7 +28517,6 @@ export interface PullsCreateReviewResponseData {
|
|
|
28525
28517
|
site_admin: boolean;
|
|
28526
28518
|
};
|
|
28527
28519
|
body: string;
|
|
28528
|
-
commit_id: string;
|
|
28529
28520
|
state: string;
|
|
28530
28521
|
html_url: string;
|
|
28531
28522
|
pull_request_url: string;
|
|
@@ -28537,6 +28528,8 @@ export interface PullsCreateReviewResponseData {
|
|
|
28537
28528
|
href: string;
|
|
28538
28529
|
};
|
|
28539
28530
|
};
|
|
28531
|
+
submitted_at: string;
|
|
28532
|
+
commit_id: string;
|
|
28540
28533
|
}
|
|
28541
28534
|
declare type PullsGetReviewEndpoint = {
|
|
28542
28535
|
owner: string;
|
|
@@ -28574,8 +28567,6 @@ export interface PullsGetReviewResponseData {
|
|
|
28574
28567
|
site_admin: boolean;
|
|
28575
28568
|
};
|
|
28576
28569
|
body: string;
|
|
28577
|
-
submitted_at: string;
|
|
28578
|
-
commit_id: string;
|
|
28579
28570
|
state: string;
|
|
28580
28571
|
html_url: string;
|
|
28581
28572
|
pull_request_url: string;
|
|
@@ -28587,6 +28578,8 @@ export interface PullsGetReviewResponseData {
|
|
|
28587
28578
|
href: string;
|
|
28588
28579
|
};
|
|
28589
28580
|
};
|
|
28581
|
+
submitted_at: string;
|
|
28582
|
+
commit_id: string;
|
|
28590
28583
|
}
|
|
28591
28584
|
declare type PullsDeletePendingReviewEndpoint = {
|
|
28592
28585
|
owner: string;
|
|
@@ -28624,7 +28617,6 @@ export interface PullsDeletePendingReviewResponseData {
|
|
|
28624
28617
|
site_admin: boolean;
|
|
28625
28618
|
};
|
|
28626
28619
|
body: string;
|
|
28627
|
-
commit_id: string;
|
|
28628
28620
|
state: string;
|
|
28629
28621
|
html_url: string;
|
|
28630
28622
|
pull_request_url: string;
|
|
@@ -28636,6 +28628,7 @@ export interface PullsDeletePendingReviewResponseData {
|
|
|
28636
28628
|
href: string;
|
|
28637
28629
|
};
|
|
28638
28630
|
};
|
|
28631
|
+
commit_id: string;
|
|
28639
28632
|
}
|
|
28640
28633
|
declare type PullsUpdateReviewEndpoint = {
|
|
28641
28634
|
owner: string;
|
|
@@ -28677,7 +28670,6 @@ export interface PullsUpdateReviewResponseData {
|
|
|
28677
28670
|
site_admin: boolean;
|
|
28678
28671
|
};
|
|
28679
28672
|
body: string;
|
|
28680
|
-
commit_id: string;
|
|
28681
28673
|
state: string;
|
|
28682
28674
|
html_url: string;
|
|
28683
28675
|
pull_request_url: string;
|
|
@@ -28689,6 +28681,8 @@ export interface PullsUpdateReviewResponseData {
|
|
|
28689
28681
|
href: string;
|
|
28690
28682
|
};
|
|
28691
28683
|
};
|
|
28684
|
+
submitted_at: string;
|
|
28685
|
+
commit_id: string;
|
|
28692
28686
|
}
|
|
28693
28687
|
declare type PullsGetCommentsForReviewEndpoint = {
|
|
28694
28688
|
owner: string;
|
|
@@ -28800,7 +28794,6 @@ export interface PullsDismissReviewResponseData {
|
|
|
28800
28794
|
site_admin: boolean;
|
|
28801
28795
|
};
|
|
28802
28796
|
body: string;
|
|
28803
|
-
commit_id: string;
|
|
28804
28797
|
state: string;
|
|
28805
28798
|
html_url: string;
|
|
28806
28799
|
pull_request_url: string;
|
|
@@ -28812,6 +28805,8 @@ export interface PullsDismissReviewResponseData {
|
|
|
28812
28805
|
href: string;
|
|
28813
28806
|
};
|
|
28814
28807
|
};
|
|
28808
|
+
submitted_at: string;
|
|
28809
|
+
commit_id: string;
|
|
28815
28810
|
}
|
|
28816
28811
|
declare type PullsSubmitReviewEndpoint = {
|
|
28817
28812
|
owner: string;
|
|
@@ -28857,8 +28852,6 @@ export interface PullsSubmitReviewResponseData {
|
|
|
28857
28852
|
site_admin: boolean;
|
|
28858
28853
|
};
|
|
28859
28854
|
body: string;
|
|
28860
|
-
submitted_at: string;
|
|
28861
|
-
commit_id: string;
|
|
28862
28855
|
state: string;
|
|
28863
28856
|
html_url: string;
|
|
28864
28857
|
pull_request_url: string;
|
|
@@ -28870,6 +28863,8 @@ export interface PullsSubmitReviewResponseData {
|
|
|
28870
28863
|
href: string;
|
|
28871
28864
|
};
|
|
28872
28865
|
};
|
|
28866
|
+
submitted_at: string;
|
|
28867
|
+
commit_id: string;
|
|
28873
28868
|
}
|
|
28874
28869
|
declare type PullsUpdateBranchEndpoint = {
|
|
28875
28870
|
owner: string;
|
|
@@ -33576,10 +33571,9 @@ export interface AppsListInstallationsForAuthenticatedUserResponseData {
|
|
|
33576
33571
|
target_id: number;
|
|
33577
33572
|
target_type: string;
|
|
33578
33573
|
permissions: {
|
|
33574
|
+
checks: string;
|
|
33579
33575
|
metadata: string;
|
|
33580
33576
|
contents: string;
|
|
33581
|
-
issues: string;
|
|
33582
|
-
single_file: string;
|
|
33583
33577
|
};
|
|
33584
33578
|
events: string[];
|
|
33585
33579
|
single_file_name: string;
|
|
@@ -36245,7 +36239,7 @@ export interface AppsGetUserInstallationResponseData {
|
|
|
36245
36239
|
type: string;
|
|
36246
36240
|
site_admin: boolean;
|
|
36247
36241
|
};
|
|
36248
|
-
repository_selection:
|
|
36242
|
+
repository_selection: "all" | "selected";
|
|
36249
36243
|
access_tokens_url: string;
|
|
36250
36244
|
repositories_url: string;
|
|
36251
36245
|
html_url: string;
|
package/dist-web/index.js
CHANGED