@octokit/types 2.3.1 → 2.5.1

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.
@@ -13,24 +13,28 @@ export interface Endpoints {
13
13
  AppsDeleteAuthorizationRequestOptions
14
14
  ];
15
15
  "DELETE /applications/:client_id/grants/:access_token": [
16
-
16
+ (
17
17
  | AppsRevokeGrantForApplicationEndpoint
18
- | OauthAuthorizationsRevokeGrantForApplicationEndpoint,
19
-
18
+ | OauthAuthorizationsRevokeGrantForApplicationEndpoint
19
+ ),
20
+ (
20
21
  | AppsRevokeGrantForApplicationRequestOptions
21
22
  | OauthAuthorizationsRevokeGrantForApplicationRequestOptions
23
+ )
22
24
  ];
23
25
  "DELETE /applications/:client_id/token": [
24
26
  AppsDeleteTokenEndpoint,
25
27
  AppsDeleteTokenRequestOptions
26
28
  ];
27
29
  "DELETE /applications/:client_id/tokens/:access_token": [
28
-
30
+ (
29
31
  | AppsRevokeAuthorizationForApplicationEndpoint
30
- | OauthAuthorizationsRevokeAuthorizationForApplicationEndpoint,
31
-
32
+ | OauthAuthorizationsRevokeAuthorizationForApplicationEndpoint
33
+ ),
34
+ (
32
35
  | AppsRevokeAuthorizationForApplicationRequestOptions
33
36
  | OauthAuthorizationsRevokeAuthorizationForApplicationRequestOptions
37
+ )
34
38
  ];
35
39
  "DELETE /applications/grants/:grant_id": [
36
40
  OauthAuthorizationsDeleteGrantEndpoint,
@@ -258,8 +262,8 @@ export interface Endpoints {
258
262
  IssuesRemoveAssigneesRequestOptions
259
263
  ];
260
264
  "DELETE /repos/:owner/:repo/issues/:issue_number/labels": [
261
- IssuesRemoveLabelsEndpoint,
262
- IssuesRemoveLabelsRequestOptions
265
+ IssuesRemoveAllLabelsEndpoint | IssuesRemoveLabelsEndpoint,
266
+ IssuesRemoveAllLabelsRequestOptions | IssuesRemoveLabelsRequestOptions
263
267
  ];
264
268
  "DELETE /repos/:owner/:repo/issues/:issue_number/labels/:name": [
265
269
  IssuesRemoveLabelEndpoint,
@@ -339,17 +343,20 @@ export interface Endpoints {
339
343
  ];
340
344
  "DELETE /teams/:team_id/discussions/:discussion_number": [
341
345
  TeamsDeleteDiscussionLegacyEndpoint | TeamsDeleteDiscussionEndpoint,
342
-
346
+ (
343
347
  | TeamsDeleteDiscussionLegacyRequestOptions
344
348
  | TeamsDeleteDiscussionRequestOptions
349
+ )
345
350
  ];
346
351
  "DELETE /teams/:team_id/discussions/:discussion_number/comments/:comment_number": [
347
-
352
+ (
348
353
  | TeamsDeleteDiscussionCommentLegacyEndpoint
349
- | TeamsDeleteDiscussionCommentEndpoint,
350
-
354
+ | TeamsDeleteDiscussionCommentEndpoint
355
+ ),
356
+ (
351
357
  | TeamsDeleteDiscussionCommentLegacyRequestOptions
352
358
  | TeamsDeleteDiscussionCommentRequestOptions
359
+ )
353
360
  ];
354
361
  "DELETE /teams/:team_id/members/:username": [
355
362
  TeamsRemoveMemberLegacyEndpoint | TeamsRemoveMemberEndpoint,
@@ -357,9 +364,10 @@ export interface Endpoints {
357
364
  ];
358
365
  "DELETE /teams/:team_id/memberships/:username": [
359
366
  TeamsRemoveMembershipLegacyEndpoint | TeamsRemoveMembershipEndpoint,
360
-
367
+ (
361
368
  | TeamsRemoveMembershipLegacyRequestOptions
362
369
  | TeamsRemoveMembershipRequestOptions
370
+ )
363
371
  ];
364
372
  "DELETE /teams/:team_id/projects/:project_id": [
365
373
  TeamsRemoveProjectLegacyEndpoint | TeamsRemoveProjectEndpoint,
@@ -406,8 +414,11 @@ export interface Endpoints {
406
414
  ReposDeclineInvitationRequestOptions
407
415
  ];
408
416
  "DELETE /user/starred/:owner/:repo": [
409
- ActivityUnstarRepoEndpoint,
410
- ActivityUnstarRepoRequestOptions
417
+ ActivityUnstarRepoForAuthenticatedUserEndpoint | ActivityUnstarRepoEndpoint,
418
+ (
419
+ | ActivityUnstarRepoForAuthenticatedUserRequestOptions
420
+ | ActivityUnstarRepoRequestOptions
421
+ )
411
422
  ];
412
423
  "DELETE /user/subscriptions/:owner/:repo": [
413
424
  ActivityStopWatchingRepoLegacyEndpoint,
@@ -426,12 +437,14 @@ export interface Endpoints {
426
437
  AppsGetInstallationRequestOptions
427
438
  ];
428
439
  "GET /applications/:client_id/tokens/:access_token": [
429
-
440
+ (
430
441
  | AppsCheckAuthorizationEndpoint
431
- | OauthAuthorizationsCheckAuthorizationEndpoint,
432
-
442
+ | OauthAuthorizationsCheckAuthorizationEndpoint
443
+ ),
444
+ (
433
445
  | AppsCheckAuthorizationRequestOptions
434
446
  | OauthAuthorizationsCheckAuthorizationRequestOptions
447
+ )
435
448
  ];
436
449
  "GET /applications/grants": [
437
450
  OauthAuthorizationsListGrantsEndpoint,
@@ -451,8 +464,14 @@ export interface Endpoints {
451
464
  OauthAuthorizationsGetAuthorizationRequestOptions
452
465
  ];
453
466
  "GET /codes_of_conduct": [
454
- CodesOfConductListConductCodesEndpoint,
455
- CodesOfConductListConductCodesRequestOptions
467
+ (
468
+ | CodesOfConductGetAllCodesOfConductEndpoint
469
+ | CodesOfConductListConductCodesEndpoint
470
+ ),
471
+ (
472
+ | CodesOfConductGetAllCodesOfConductRequestOptions
473
+ | CodesOfConductListConductCodesRequestOptions
474
+ )
456
475
  ];
457
476
  "GET /codes_of_conduct/:key": [
458
477
  CodesOfConductGetConductCodeEndpoint,
@@ -463,7 +482,10 @@ export interface Endpoints {
463
482
  ActivityListPublicEventsEndpoint,
464
483
  ActivityListPublicEventsRequestOptions
465
484
  ];
466
- "GET /feeds": [ActivityListFeedsEndpoint, ActivityListFeedsRequestOptions];
485
+ "GET /feeds": [
486
+ ActivityGetFeedsEndpoint | ActivityListFeedsEndpoint,
487
+ ActivityGetFeedsRequestOptions | ActivityListFeedsRequestOptions
488
+ ];
467
489
  "GET /gists": [GistsListEndpoint, GistsListRequestOptions];
468
490
  "GET /gists/:gist_id": [GistsGetEndpoint, GistsGetRequestOptions];
469
491
  "GET /gists/:gist_id/:sha": [
@@ -530,28 +552,49 @@ export interface Endpoints {
530
552
  ];
531
553
  "GET /licenses/:license": [LicensesGetEndpoint, LicensesGetRequestOptions];
532
554
  "GET /marketplace_listing/accounts/:account_id": [
533
- AppsCheckAccountIsAssociatedWithAnyEndpoint,
534
- AppsCheckAccountIsAssociatedWithAnyRequestOptions
555
+ (
556
+ | AppsGetSubscriptionPlanForAccountEndpoint
557
+ | AppsCheckAccountIsAssociatedWithAnyEndpoint
558
+ ),
559
+ (
560
+ | AppsGetSubscriptionPlanForAccountRequestOptions
561
+ | AppsCheckAccountIsAssociatedWithAnyRequestOptions
562
+ )
535
563
  ];
536
564
  "GET /marketplace_listing/plans": [
537
565
  AppsListPlansEndpoint,
538
566
  AppsListPlansRequestOptions
539
567
  ];
540
568
  "GET /marketplace_listing/plans/:plan_id/accounts": [
541
- AppsListAccountsUserOrOrgOnPlanEndpoint,
542
- AppsListAccountsUserOrOrgOnPlanRequestOptions
569
+ AppsListAccountsForPlanEndpoint | AppsListAccountsUserOrOrgOnPlanEndpoint,
570
+ (
571
+ | AppsListAccountsForPlanRequestOptions
572
+ | AppsListAccountsUserOrOrgOnPlanRequestOptions
573
+ )
543
574
  ];
544
575
  "GET /marketplace_listing/stubbed/accounts/:account_id": [
545
- AppsCheckAccountIsAssociatedWithAnyStubbedEndpoint,
546
- AppsCheckAccountIsAssociatedWithAnyStubbedRequestOptions
576
+ (
577
+ | AppsGetSubscriptionPlanForAccountStubbedEndpoint
578
+ | AppsCheckAccountIsAssociatedWithAnyStubbedEndpoint
579
+ ),
580
+ (
581
+ | AppsGetSubscriptionPlanForAccountStubbedRequestOptions
582
+ | AppsCheckAccountIsAssociatedWithAnyStubbedRequestOptions
583
+ )
547
584
  ];
548
585
  "GET /marketplace_listing/stubbed/plans": [
549
586
  AppsListPlansStubbedEndpoint,
550
587
  AppsListPlansStubbedRequestOptions
551
588
  ];
552
589
  "GET /marketplace_listing/stubbed/plans/:plan_id/accounts": [
553
- AppsListAccountsUserOrOrgOnPlanStubbedEndpoint,
554
- AppsListAccountsUserOrOrgOnPlanStubbedRequestOptions
590
+ (
591
+ | AppsListAccountsForPlanStubbedEndpoint
592
+ | AppsListAccountsUserOrOrgOnPlanStubbedEndpoint
593
+ ),
594
+ (
595
+ | AppsListAccountsForPlanStubbedRequestOptions
596
+ | AppsListAccountsUserOrOrgOnPlanStubbedRequestOptions
597
+ )
555
598
  ];
556
599
  "GET /meta": [MetaGetEndpoint, MetaGetRequestOptions];
557
600
  "GET /networks/:owner/:repo/events": [
@@ -559,16 +602,22 @@ export interface Endpoints {
559
602
  ActivityListPublicEventsForRepoNetworkRequestOptions
560
603
  ];
561
604
  "GET /notifications": [
562
- ActivityListNotificationsEndpoint,
563
- ActivityListNotificationsRequestOptions
605
+ (
606
+ | ActivityListNotificationsForAuthenticatedUserEndpoint
607
+ | ActivityListNotificationsEndpoint
608
+ ),
609
+ (
610
+ | ActivityListNotificationsForAuthenticatedUserRequestOptions
611
+ | ActivityListNotificationsRequestOptions
612
+ )
564
613
  ];
565
614
  "GET /notifications/threads/:thread_id": [
566
615
  ActivityGetThreadEndpoint,
567
616
  ActivityGetThreadRequestOptions
568
617
  ];
569
618
  "GET /notifications/threads/:thread_id/subscription": [
570
- ActivityGetThreadSubscriptionEndpoint,
571
- ActivityGetThreadSubscriptionRequestOptions
619
+ ActivityGetThreadSubscriptionForAuthenticatedUserEndpoint,
620
+ ActivityGetThreadSubscriptionForAuthenticatedUserRequestOptions
572
621
  ];
573
622
  "GET /organizations": [OrgsListEndpoint, OrgsListRequestOptions];
574
623
  "GET /orgs/:org": [OrgsGetEndpoint, OrgsGetRequestOptions];
@@ -585,8 +634,14 @@ export interface Endpoints {
585
634
  OrgsListCredentialAuthorizationsRequestOptions
586
635
  ];
587
636
  "GET /orgs/:org/events": [
588
- ActivityListPublicEventsForOrgEndpoint,
589
- ActivityListPublicEventsForOrgRequestOptions
637
+ (
638
+ | ActivityListPublicOrgEventsEndpoint
639
+ | ActivityListPublicEventsForOrgEndpoint
640
+ ),
641
+ (
642
+ | ActivityListPublicOrgEventsRequestOptions
643
+ | ActivityListPublicEventsForOrgRequestOptions
644
+ )
590
645
  ];
591
646
  "GET /orgs/:org/hooks": [OrgsListHooksEndpoint, OrgsListHooksRequestOptions];
592
647
  "GET /orgs/:org/hooks/:hook_id": [
@@ -638,12 +693,14 @@ export interface Endpoints {
638
693
  MigrationsGetStatusForOrgRequestOptions
639
694
  ];
640
695
  "GET /orgs/:org/migrations/:migration_id/archive": [
641
-
696
+ (
642
697
  | MigrationsDownloadArchiveForOrgEndpoint
643
- | MigrationsGetArchiveForOrgEndpoint,
644
-
698
+ | MigrationsGetArchiveForOrgEndpoint
699
+ ),
700
+ (
645
701
  | MigrationsDownloadArchiveForOrgRequestOptions
646
702
  | MigrationsGetArchiveForOrgRequestOptions
703
+ )
647
704
  ];
648
705
  "GET /orgs/:org/migrations/:migration_id/repositories": [
649
706
  MigrationsListReposForOrgEndpoint,
@@ -890,32 +947,38 @@ export interface Endpoints {
890
947
  ReposGetProtectedBranchRestrictionsRequestOptions
891
948
  ];
892
949
  "GET /repos/:owner/:repo/branches/:branch/protection/restrictions/apps": [
893
-
950
+ (
894
951
  | ReposGetAppsWithAccessToProtectedBranchEndpoint
895
- | ReposListAppsWithAccessToProtectedBranchEndpoint,
896
-
952
+ | ReposListAppsWithAccessToProtectedBranchEndpoint
953
+ ),
954
+ (
897
955
  | ReposGetAppsWithAccessToProtectedBranchRequestOptions
898
956
  | ReposListAppsWithAccessToProtectedBranchRequestOptions
957
+ )
899
958
  ];
900
959
  "GET /repos/:owner/:repo/branches/:branch/protection/restrictions/teams": [
901
-
960
+ (
902
961
  | ReposGetTeamsWithAccessToProtectedBranchEndpoint
903
962
  | ReposListProtectedBranchTeamRestrictionsEndpoint
904
- | ReposListTeamsWithAccessToProtectedBranchEndpoint,
905
-
963
+ | ReposListTeamsWithAccessToProtectedBranchEndpoint
964
+ ),
965
+ (
906
966
  | ReposGetTeamsWithAccessToProtectedBranchRequestOptions
907
967
  | ReposListProtectedBranchTeamRestrictionsRequestOptions
908
968
  | ReposListTeamsWithAccessToProtectedBranchRequestOptions
969
+ )
909
970
  ];
910
971
  "GET /repos/:owner/:repo/branches/:branch/protection/restrictions/users": [
911
-
972
+ (
912
973
  | ReposGetUsersWithAccessToProtectedBranchEndpoint
913
974
  | ReposListProtectedBranchUserRestrictionsEndpoint
914
- | ReposListUsersWithAccessToProtectedBranchEndpoint,
915
-
975
+ | ReposListUsersWithAccessToProtectedBranchEndpoint
976
+ ),
977
+ (
916
978
  | ReposGetUsersWithAccessToProtectedBranchRequestOptions
917
979
  | ReposListProtectedBranchUserRestrictionsRequestOptions
918
980
  | ReposListUsersWithAccessToProtectedBranchRequestOptions
981
+ )
919
982
  ];
920
983
  "GET /repos/:owner/:repo/check-runs/:check_run_id": [
921
984
  ChecksGetEndpoint,
@@ -1091,9 +1154,10 @@ export interface Endpoints {
1091
1154
  ];
1092
1155
  "GET /repos/:owner/:repo/installation": [
1093
1156
  AppsGetRepoInstallationEndpoint | AppsFindRepoInstallationEndpoint,
1094
-
1157
+ (
1095
1158
  | AppsGetRepoInstallationRequestOptions
1096
1159
  | AppsFindRepoInstallationRequestOptions
1160
+ )
1097
1161
  ];
1098
1162
  "GET /repos/:owner/:repo/interaction-limits": [
1099
1163
  InteractionsGetRestrictionsForRepoEndpoint,
@@ -1188,8 +1252,14 @@ export interface Endpoints {
1188
1252
  IssuesListLabelsForMilestoneRequestOptions
1189
1253
  ];
1190
1254
  "GET /repos/:owner/:repo/notifications": [
1191
- ActivityListNotificationsForRepoEndpoint,
1192
- ActivityListNotificationsForRepoRequestOptions
1255
+ (
1256
+ | ActivityListRepoNotificationsForAuthenticatedUserEndpoint
1257
+ | ActivityListNotificationsForRepoEndpoint
1258
+ ),
1259
+ (
1260
+ | ActivityListRepoNotificationsForAuthenticatedUserRequestOptions
1261
+ | ActivityListNotificationsForRepoRequestOptions
1262
+ )
1193
1263
  ];
1194
1264
  "GET /repos/:owner/:repo/pages": [
1195
1265
  ReposGetPagesEndpoint,
@@ -1329,8 +1399,8 @@ export interface Endpoints {
1329
1399
  ReposListTeamsRequestOptions
1330
1400
  ];
1331
1401
  "GET /repos/:owner/:repo/topics": [
1332
- ReposListTopicsEndpoint,
1333
- ReposListTopicsRequestOptions
1402
+ ReposGetAllTopicsEndpoint | ReposListTopicsEndpoint,
1403
+ ReposGetAllTopicsRequestOptions | ReposListTopicsRequestOptions
1334
1404
  ];
1335
1405
  "GET /repos/:owner/:repo/traffic/clones": [
1336
1406
  ReposGetClonesEndpoint,
@@ -1377,51 +1447,61 @@ export interface Endpoints {
1377
1447
  ];
1378
1448
  "GET /teams/:team_id/discussions": [
1379
1449
  TeamsListDiscussionsLegacyEndpoint | TeamsListDiscussionsEndpoint,
1380
-
1450
+ (
1381
1451
  | TeamsListDiscussionsLegacyRequestOptions
1382
1452
  | TeamsListDiscussionsRequestOptions
1453
+ )
1383
1454
  ];
1384
1455
  "GET /teams/:team_id/discussions/:discussion_number": [
1385
1456
  TeamsGetDiscussionLegacyEndpoint | TeamsGetDiscussionEndpoint,
1386
1457
  TeamsGetDiscussionLegacyRequestOptions | TeamsGetDiscussionRequestOptions
1387
1458
  ];
1388
1459
  "GET /teams/:team_id/discussions/:discussion_number/comments": [
1389
-
1460
+ (
1390
1461
  | TeamsListDiscussionCommentsLegacyEndpoint
1391
- | TeamsListDiscussionCommentsEndpoint,
1392
-
1462
+ | TeamsListDiscussionCommentsEndpoint
1463
+ ),
1464
+ (
1393
1465
  | TeamsListDiscussionCommentsLegacyRequestOptions
1394
1466
  | TeamsListDiscussionCommentsRequestOptions
1467
+ )
1395
1468
  ];
1396
1469
  "GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number": [
1397
1470
  TeamsGetDiscussionCommentLegacyEndpoint | TeamsGetDiscussionCommentEndpoint,
1398
-
1471
+ (
1399
1472
  | TeamsGetDiscussionCommentLegacyRequestOptions
1400
1473
  | TeamsGetDiscussionCommentRequestOptions
1474
+ )
1401
1475
  ];
1402
1476
  "GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions": [
1403
-
1477
+ (
1404
1478
  | ReactionsListForTeamDiscussionCommentLegacyEndpoint
1405
- | ReactionsListForTeamDiscussionCommentEndpoint,
1406
-
1479
+ | ReactionsListForTeamDiscussionCommentEndpoint
1480
+ ),
1481
+ (
1407
1482
  | ReactionsListForTeamDiscussionCommentLegacyRequestOptions
1408
1483
  | ReactionsListForTeamDiscussionCommentRequestOptions
1484
+ )
1409
1485
  ];
1410
1486
  "GET /teams/:team_id/discussions/:discussion_number/reactions": [
1411
-
1487
+ (
1412
1488
  | ReactionsListForTeamDiscussionLegacyEndpoint
1413
- | ReactionsListForTeamDiscussionEndpoint,
1414
-
1489
+ | ReactionsListForTeamDiscussionEndpoint
1490
+ ),
1491
+ (
1415
1492
  | ReactionsListForTeamDiscussionLegacyRequestOptions
1416
1493
  | ReactionsListForTeamDiscussionRequestOptions
1494
+ )
1417
1495
  ];
1418
1496
  "GET /teams/:team_id/invitations": [
1419
-
1497
+ (
1420
1498
  | TeamsListPendingInvitationsLegacyEndpoint
1421
- | TeamsListPendingInvitationsEndpoint,
1422
-
1499
+ | TeamsListPendingInvitationsEndpoint
1500
+ ),
1501
+ (
1423
1502
  | TeamsListPendingInvitationsLegacyRequestOptions
1424
1503
  | TeamsListPendingInvitationsRequestOptions
1504
+ )
1425
1505
  ];
1426
1506
  "GET /teams/:team_id/members": [
1427
1507
  TeamsListMembersLegacyEndpoint | TeamsListMembersEndpoint,
@@ -1449,15 +1529,17 @@ export interface Endpoints {
1449
1529
  ];
1450
1530
  "GET /teams/:team_id/repos/:owner/:repo": [
1451
1531
  TeamsCheckManagesRepoLegacyEndpoint | TeamsCheckManagesRepoEndpoint,
1452
-
1532
+ (
1453
1533
  | TeamsCheckManagesRepoLegacyRequestOptions
1454
1534
  | TeamsCheckManagesRepoRequestOptions
1535
+ )
1455
1536
  ];
1456
1537
  "GET /teams/:team_id/team-sync/group-mappings": [
1457
1538
  TeamsListIdPGroupsForLegacyEndpoint | TeamsListIdPGroupsForEndpoint,
1458
-
1539
+ (
1459
1540
  | TeamsListIdPGroupsForLegacyRequestOptions
1460
1541
  | TeamsListIdPGroupsForRequestOptions
1542
+ )
1461
1543
  ];
1462
1544
  "GET /teams/:team_id/teams": [
1463
1545
  TeamsListChildLegacyEndpoint | TeamsListChildEndpoint,
@@ -1485,8 +1567,14 @@ export interface Endpoints {
1485
1567
  UsersListFollowersForAuthenticatedUserRequestOptions
1486
1568
  ];
1487
1569
  "GET /user/following": [
1488
- UsersListFollowingForAuthenticatedUserEndpoint,
1489
- UsersListFollowingForAuthenticatedUserRequestOptions
1570
+ (
1571
+ | UsersListFollowedByAuthenticatedEndpoint
1572
+ | UsersListFollowingForAuthenticatedUserEndpoint
1573
+ ),
1574
+ (
1575
+ | UsersListFollowedByAuthenticatedRequestOptions
1576
+ | UsersListFollowingForAuthenticatedUserRequestOptions
1577
+ )
1490
1578
  ];
1491
1579
  "GET /user/following/:username": [
1492
1580
  UsersCheckFollowingEndpoint,
@@ -1521,12 +1609,24 @@ export interface Endpoints {
1521
1609
  UsersGetPublicKeyRequestOptions
1522
1610
  ];
1523
1611
  "GET /user/marketplace_purchases": [
1524
- AppsListMarketplacePurchasesForAuthenticatedUserEndpoint,
1525
- AppsListMarketplacePurchasesForAuthenticatedUserRequestOptions
1612
+ (
1613
+ | AppsListSubscriptionsForAuthenticatedUserEndpoint
1614
+ | AppsListMarketplacePurchasesForAuthenticatedUserEndpoint
1615
+ ),
1616
+ (
1617
+ | AppsListSubscriptionsForAuthenticatedUserRequestOptions
1618
+ | AppsListMarketplacePurchasesForAuthenticatedUserRequestOptions
1619
+ )
1526
1620
  ];
1527
1621
  "GET /user/marketplace_purchases/stubbed": [
1528
- AppsListMarketplacePurchasesForAuthenticatedUserStubbedEndpoint,
1529
- AppsListMarketplacePurchasesForAuthenticatedUserStubbedRequestOptions
1622
+ (
1623
+ | AppsListSubscriptionsForAuthenticatedUserStubbedEndpoint
1624
+ | AppsListMarketplacePurchasesForAuthenticatedUserStubbedEndpoint
1625
+ ),
1626
+ (
1627
+ | AppsListSubscriptionsForAuthenticatedUserStubbedRequestOptions
1628
+ | AppsListMarketplacePurchasesForAuthenticatedUserStubbedRequestOptions
1629
+ )
1530
1630
  ];
1531
1631
  "GET /user/memberships/orgs": [
1532
1632
  OrgsListMembershipsEndpoint,
@@ -1556,7 +1656,10 @@ export interface Endpoints {
1556
1656
  UsersListPublicEmailsEndpoint,
1557
1657
  UsersListPublicEmailsRequestOptions
1558
1658
  ];
1559
- "GET /user/repos": [ReposListEndpoint, ReposListRequestOptions];
1659
+ "GET /user/repos": [
1660
+ ReposListForAuthenticatedUserEndpoint | ReposListEndpoint,
1661
+ ReposListForAuthenticatedUserRequestOptions | ReposListRequestOptions
1662
+ ];
1560
1663
  "GET /user/repository_invitations": [
1561
1664
  ReposListInvitationsForAuthenticatedUserEndpoint,
1562
1665
  ReposListInvitationsForAuthenticatedUserRequestOptions
@@ -1566,8 +1669,14 @@ export interface Endpoints {
1566
1669
  ActivityListReposStarredByAuthenticatedUserRequestOptions
1567
1670
  ];
1568
1671
  "GET /user/starred/:owner/:repo": [
1569
- ActivityCheckStarringRepoEndpoint,
1570
- ActivityCheckStarringRepoRequestOptions
1672
+ (
1673
+ | ActivityCheckRepoIsStarredByAuthenticatedUserEndpoint
1674
+ | ActivityCheckStarringRepoEndpoint
1675
+ ),
1676
+ (
1677
+ | ActivityCheckRepoIsStarredByAuthenticatedUserRequestOptions
1678
+ | ActivityCheckStarringRepoRequestOptions
1679
+ )
1571
1680
  ];
1572
1681
  "GET /user/subscriptions": [
1573
1682
  ActivityListWatchedReposForAuthenticatedUserEndpoint,
@@ -1587,12 +1696,24 @@ export interface Endpoints {
1587
1696
  UsersGetByUsernameRequestOptions
1588
1697
  ];
1589
1698
  "GET /users/:username/events": [
1590
- ActivityListEventsForUserEndpoint,
1591
- ActivityListEventsForUserRequestOptions
1699
+ (
1700
+ | ActivityListEventsForAuthenticatedUserEndpoint
1701
+ | ActivityListEventsForUserEndpoint
1702
+ ),
1703
+ (
1704
+ | ActivityListEventsForAuthenticatedUserRequestOptions
1705
+ | ActivityListEventsForUserRequestOptions
1706
+ )
1592
1707
  ];
1593
1708
  "GET /users/:username/events/orgs/:org": [
1594
- ActivityListEventsForOrgEndpoint,
1595
- ActivityListEventsForOrgRequestOptions
1709
+ (
1710
+ | ActivityListOrgEventsForAuthenticatedUserEndpoint
1711
+ | ActivityListEventsForOrgEndpoint
1712
+ ),
1713
+ (
1714
+ | ActivityListOrgEventsForAuthenticatedUserRequestOptions
1715
+ | ActivityListEventsForOrgRequestOptions
1716
+ )
1596
1717
  ];
1597
1718
  "GET /users/:username/events/public": [
1598
1719
  ActivityListPublicEventsForUserEndpoint,
@@ -1611,8 +1732,8 @@ export interface Endpoints {
1611
1732
  UsersCheckFollowingForUserRequestOptions
1612
1733
  ];
1613
1734
  "GET /users/:username/gists": [
1614
- GistsListPublicForUserEndpoint,
1615
- GistsListPublicForUserRequestOptions
1735
+ GistsListForUserEndpoint | GistsListPublicForUserEndpoint,
1736
+ GistsListForUserRequestOptions | GistsListPublicForUserRequestOptions
1616
1737
  ];
1617
1738
  "GET /users/:username/gpg_keys": [
1618
1739
  UsersListGpgKeysForUserEndpoint,
@@ -1624,9 +1745,10 @@ export interface Endpoints {
1624
1745
  ];
1625
1746
  "GET /users/:username/installation": [
1626
1747
  AppsGetUserInstallationEndpoint | AppsFindUserInstallationEndpoint,
1627
-
1748
+ (
1628
1749
  | AppsGetUserInstallationRequestOptions
1629
1750
  | AppsFindUserInstallationRequestOptions
1751
+ )
1630
1752
  ];
1631
1753
  "GET /users/:username/keys": [
1632
1754
  UsersListPublicKeysForUserEndpoint,
@@ -1797,25 +1919,30 @@ export interface Endpoints {
1797
1919
  ];
1798
1920
  "PATCH /teams/:team_id/discussions/:discussion_number": [
1799
1921
  TeamsUpdateDiscussionLegacyEndpoint | TeamsUpdateDiscussionEndpoint,
1800
-
1922
+ (
1801
1923
  | TeamsUpdateDiscussionLegacyRequestOptions
1802
1924
  | TeamsUpdateDiscussionRequestOptions
1925
+ )
1803
1926
  ];
1804
1927
  "PATCH /teams/:team_id/discussions/:discussion_number/comments/:comment_number": [
1805
-
1928
+ (
1806
1929
  | TeamsUpdateDiscussionCommentLegacyEndpoint
1807
- | TeamsUpdateDiscussionCommentEndpoint,
1808
-
1930
+ | TeamsUpdateDiscussionCommentEndpoint
1931
+ ),
1932
+ (
1809
1933
  | TeamsUpdateDiscussionCommentLegacyRequestOptions
1810
1934
  | TeamsUpdateDiscussionCommentRequestOptions
1935
+ )
1811
1936
  ];
1812
1937
  "PATCH /teams/:team_id/team-sync/group-mappings": [
1813
-
1938
+ (
1814
1939
  | TeamsCreateOrUpdateIdPGroupConnectionsLegacyEndpoint
1815
- | TeamsCreateOrUpdateIdPGroupConnectionsEndpoint,
1816
-
1940
+ | TeamsCreateOrUpdateIdPGroupConnectionsEndpoint
1941
+ ),
1942
+ (
1817
1943
  | TeamsCreateOrUpdateIdPGroupConnectionsLegacyRequestOptions
1818
1944
  | TeamsCreateOrUpdateIdPGroupConnectionsRequestOptions
1945
+ )
1819
1946
  ];
1820
1947
  "PATCH /user": [
1821
1948
  UsersUpdateAuthenticatedEndpoint,
@@ -1846,12 +1973,14 @@ export interface Endpoints {
1846
1973
  AppsCheckTokenRequestOptions
1847
1974
  ];
1848
1975
  "POST /applications/:client_id/tokens/:access_token": [
1849
-
1976
+ (
1850
1977
  | AppsResetAuthorizationEndpoint
1851
- | OauthAuthorizationsResetAuthorizationEndpoint,
1852
-
1978
+ | OauthAuthorizationsResetAuthorizationEndpoint
1979
+ ),
1980
+ (
1853
1981
  | AppsResetAuthorizationRequestOptions
1854
1982
  | OauthAuthorizationsResetAuthorizationRequestOptions
1983
+ )
1855
1984
  ];
1856
1985
  "POST /authorizations": [
1857
1986
  OauthAuthorizationsCreateAuthorizationEndpoint,
@@ -2135,39 +2264,47 @@ export interface Endpoints {
2135
2264
  ];
2136
2265
  "POST /scim/v2/organizations/:org/Users": [
2137
2266
  ScimProvisionAndInviteUsersEndpoint | ScimProvisionInviteUsersEndpoint,
2138
-
2267
+ (
2139
2268
  | ScimProvisionAndInviteUsersRequestOptions
2140
2269
  | ScimProvisionInviteUsersRequestOptions
2270
+ )
2141
2271
  ];
2142
2272
  "POST /teams/:team_id/discussions": [
2143
2273
  TeamsCreateDiscussionLegacyEndpoint | TeamsCreateDiscussionEndpoint,
2144
-
2274
+ (
2145
2275
  | TeamsCreateDiscussionLegacyRequestOptions
2146
2276
  | TeamsCreateDiscussionRequestOptions
2277
+ )
2147
2278
  ];
2148
2279
  "POST /teams/:team_id/discussions/:discussion_number/comments": [
2149
-
2280
+ (
2150
2281
  | TeamsCreateDiscussionCommentLegacyEndpoint
2151
- | TeamsCreateDiscussionCommentEndpoint,
2152
-
2282
+ | TeamsCreateDiscussionCommentEndpoint
2283
+ ),
2284
+ (
2153
2285
  | TeamsCreateDiscussionCommentLegacyRequestOptions
2154
2286
  | TeamsCreateDiscussionCommentRequestOptions
2287
+ )
2155
2288
  ];
2156
2289
  "POST /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions": [
2157
-
2290
+ (
2158
2291
  | ReactionsCreateForTeamDiscussionCommentLegacyEndpoint
2159
- | ReactionsCreateForTeamDiscussionCommentEndpoint,
2160
-
2292
+ | ReactionsCreateForTeamDiscussionCommentEndpoint
2293
+ ),
2294
+ (
2161
2295
  | ReactionsCreateForTeamDiscussionCommentLegacyRequestOptions
2162
2296
  | ReactionsCreateForTeamDiscussionCommentRequestOptions
2297
+ )
2163
2298
  ];
2164
2299
  "POST /teams/:team_id/discussions/:discussion_number/reactions": [
2165
-
2300
+ (
2166
2301
  | ReactionsCreateForTeamDiscussionLegacyEndpoint
2167
- | ReactionsCreateForTeamDiscussionEndpoint,
2168
-
2302
+ | ReactionsCreateForTeamDiscussionEndpoint
2303
+ ),
2304
+ (
2169
2305
  | ReactionsCreateForTeamDiscussionLegacyRequestOptions
2170
2306
  | ReactionsCreateForTeamDiscussionRequestOptions
2307
+ )
2171
2308
  ];
2172
2309
  "POST /user/emails": [UsersAddEmailsEndpoint, UsersAddEmailsRequestOptions];
2173
2310
  "POST /user/gpg_keys": [
@@ -2199,17 +2336,27 @@ export interface Endpoints {
2199
2336
  OauthAuthorizationsGetOrCreateAuthorizationForAppRequestOptions
2200
2337
  ];
2201
2338
  "PUT /authorizations/clients/:client_id/:fingerprint": [
2202
-
2339
+ (
2203
2340
  | OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintEndpoint
2204
- | OauthAuthorizationsGetOrCreateAuthorizationForAppFingerprintEndpoint,
2205
-
2341
+ | OauthAuthorizationsGetOrCreateAuthorizationForAppFingerprintEndpoint
2342
+ ),
2343
+ (
2206
2344
  | OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRequestOptions
2207
2345
  | OauthAuthorizationsGetOrCreateAuthorizationForAppFingerprintRequestOptions
2346
+ )
2208
2347
  ];
2209
2348
  "PUT /gists/:gist_id/star": [GistsStarEndpoint, GistsStarRequestOptions];
2210
2349
  "PUT /notifications": [
2211
- ActivityMarkAsReadEndpoint,
2212
- ActivityMarkAsReadRequestOptions
2350
+ (
2351
+ | ActivityMarkNotificationsAsReadEndpoint
2352
+ | ActivityMarkAsReadEndpoint
2353
+ | ActivityGetThreadSubscriptionEndpoint
2354
+ ),
2355
+ (
2356
+ | ActivityMarkNotificationsAsReadRequestOptions
2357
+ | ActivityMarkAsReadRequestOptions
2358
+ | ActivityGetThreadSubscriptionRequestOptions
2359
+ )
2213
2360
  ];
2214
2361
  "PUT /notifications/threads/:thread_id/subscription": [
2215
2362
  ActivitySetThreadSubscriptionEndpoint,
@@ -2284,14 +2431,16 @@ export interface Endpoints {
2284
2431
  ReposAddCollaboratorRequestOptions
2285
2432
  ];
2286
2433
  "PUT /repos/:owner/:repo/contents/:path": [
2287
-
2434
+ (
2288
2435
  | ReposCreateOrUpdateFileEndpoint
2289
2436
  | ReposCreateFileEndpoint
2290
- | ReposUpdateFileEndpoint,
2291
-
2437
+ | ReposUpdateFileEndpoint
2438
+ ),
2439
+ (
2292
2440
  | ReposCreateOrUpdateFileRequestOptions
2293
2441
  | ReposCreateFileRequestOptions
2294
2442
  | ReposUpdateFileRequestOptions
2443
+ )
2295
2444
  ];
2296
2445
  "PUT /repos/:owner/:repo/import": [
2297
2446
  MigrationsStartImportEndpoint,
@@ -2302,16 +2451,22 @@ export interface Endpoints {
2302
2451
  InteractionsAddOrUpdateRestrictionsForRepoRequestOptions
2303
2452
  ];
2304
2453
  "PUT /repos/:owner/:repo/issues/:issue_number/labels": [
2305
- IssuesReplaceLabelsEndpoint,
2306
- IssuesReplaceLabelsRequestOptions
2454
+ IssuesReplaceAllLabelsEndpoint | IssuesReplaceLabelsEndpoint,
2455
+ IssuesReplaceAllLabelsRequestOptions | IssuesReplaceLabelsRequestOptions
2307
2456
  ];
2308
2457
  "PUT /repos/:owner/:repo/issues/:issue_number/lock": [
2309
2458
  IssuesLockEndpoint,
2310
2459
  IssuesLockRequestOptions
2311
2460
  ];
2312
2461
  "PUT /repos/:owner/:repo/notifications": [
2313
- ActivityMarkNotificationsAsReadForRepoEndpoint,
2314
- ActivityMarkNotificationsAsReadForRepoRequestOptions
2462
+ (
2463
+ | ActivityMarkRepoNotificationsAsReadEndpoint
2464
+ | ActivityMarkNotificationsAsReadForRepoEndpoint
2465
+ ),
2466
+ (
2467
+ | ActivityMarkRepoNotificationsAsReadRequestOptions
2468
+ | ActivityMarkNotificationsAsReadForRepoRequestOptions
2469
+ )
2315
2470
  ];
2316
2471
  "PUT /repos/:owner/:repo/pages": [
2317
2472
  ReposUpdateInformationAboutPagesSiteEndpoint,
@@ -2338,44 +2493,50 @@ export interface Endpoints {
2338
2493
  ActivitySetRepoSubscriptionRequestOptions
2339
2494
  ];
2340
2495
  "PUT /repos/:owner/:repo/topics": [
2341
- ReposReplaceTopicsEndpoint,
2342
- ReposReplaceTopicsRequestOptions
2496
+ ReposReplaceAllTopicsEndpoint | ReposReplaceTopicsEndpoint,
2497
+ ReposReplaceAllTopicsRequestOptions | ReposReplaceTopicsRequestOptions
2343
2498
  ];
2344
2499
  "PUT /repos/:owner/:repo/vulnerability-alerts": [
2345
2500
  ReposEnableVulnerabilityAlertsEndpoint,
2346
2501
  ReposEnableVulnerabilityAlertsRequestOptions
2347
2502
  ];
2348
2503
  "PUT /scim/v2/organizations/:org/Users/:scim_user_id": [
2349
-
2504
+ (
2350
2505
  | ScimReplaceProvisionedUserInformationEndpoint
2351
- | ScimUpdateProvisionedOrgMembershipEndpoint,
2352
-
2506
+ | ScimUpdateProvisionedOrgMembershipEndpoint
2507
+ ),
2508
+ (
2353
2509
  | ScimReplaceProvisionedUserInformationRequestOptions
2354
2510
  | ScimUpdateProvisionedOrgMembershipRequestOptions
2511
+ )
2355
2512
  ];
2356
2513
  "PUT /teams/:team_id/members/:username": [
2357
2514
  TeamsAddMemberLegacyEndpoint | TeamsAddMemberEndpoint,
2358
2515
  TeamsAddMemberLegacyRequestOptions | TeamsAddMemberRequestOptions
2359
2516
  ];
2360
2517
  "PUT /teams/:team_id/memberships/:username": [
2361
-
2518
+ (
2362
2519
  | TeamsAddOrUpdateMembershipLegacyEndpoint
2363
- | TeamsAddOrUpdateMembershipEndpoint,
2364
-
2520
+ | TeamsAddOrUpdateMembershipEndpoint
2521
+ ),
2522
+ (
2365
2523
  | TeamsAddOrUpdateMembershipLegacyRequestOptions
2366
2524
  | TeamsAddOrUpdateMembershipRequestOptions
2525
+ )
2367
2526
  ];
2368
2527
  "PUT /teams/:team_id/projects/:project_id": [
2369
2528
  TeamsAddOrUpdateProjectLegacyEndpoint | TeamsAddOrUpdateProjectEndpoint,
2370
-
2529
+ (
2371
2530
  | TeamsAddOrUpdateProjectLegacyRequestOptions
2372
2531
  | TeamsAddOrUpdateProjectRequestOptions
2532
+ )
2373
2533
  ];
2374
2534
  "PUT /teams/:team_id/repos/:owner/:repo": [
2375
2535
  TeamsAddOrUpdateRepoLegacyEndpoint | TeamsAddOrUpdateRepoEndpoint,
2376
-
2536
+ (
2377
2537
  | TeamsAddOrUpdateRepoLegacyRequestOptions
2378
2538
  | TeamsAddOrUpdateRepoRequestOptions
2539
+ )
2379
2540
  ];
2380
2541
  "PUT /user/blocks/:username": [UsersBlockEndpoint, UsersBlockRequestOptions];
2381
2542
  "PUT /user/following/:username": [
@@ -2387,8 +2548,11 @@ export interface Endpoints {
2387
2548
  AppsAddRepoToInstallationRequestOptions
2388
2549
  ];
2389
2550
  "PUT /user/starred/:owner/:repo": [
2390
- ActivityStarRepoEndpoint,
2391
- ActivityStarRepoRequestOptions
2551
+ ActivityStarRepoForAuthenticatedUserEndpoint | ActivityStarRepoEndpoint,
2552
+ (
2553
+ | ActivityStarRepoForAuthenticatedUserRequestOptions
2554
+ | ActivityStarRepoRequestOptions
2555
+ )
2392
2556
  ];
2393
2557
  "PUT /user/subscriptions/:owner/:repo": [
2394
2558
  ActivityWatchRepoLegacyEndpoint,
@@ -2923,6 +3087,13 @@ type OauthAuthorizationsDeleteAuthorizationRequestOptions = {
2923
3087
  headers: RequestHeaders;
2924
3088
  request: RequestRequestOptions;
2925
3089
  };
3090
+ type CodesOfConductGetAllCodesOfConductEndpoint = {};
3091
+ type CodesOfConductGetAllCodesOfConductRequestOptions = {
3092
+ method: "GET";
3093
+ url: Url;
3094
+ headers: RequestHeaders;
3095
+ request: RequestRequestOptions;
3096
+ };
2926
3097
  type CodesOfConductListConductCodesEndpoint = {};
2927
3098
  type CodesOfConductListConductCodesRequestOptions = {
2928
3099
  method: "GET";
@@ -2985,6 +3156,13 @@ type ActivityListPublicEventsRequestOptions = {
2985
3156
  headers: RequestHeaders;
2986
3157
  request: RequestRequestOptions;
2987
3158
  };
3159
+ type ActivityGetFeedsEndpoint = {};
3160
+ type ActivityGetFeedsRequestOptions = {
3161
+ method: "GET";
3162
+ url: Url;
3163
+ headers: RequestHeaders;
3164
+ request: RequestRequestOptions;
3165
+ };
2988
3166
  type ActivityListFeedsEndpoint = {};
2989
3167
  type ActivityListFeedsRequestOptions = {
2990
3168
  method: "GET";
@@ -3543,6 +3721,18 @@ type MarkdownRenderRawRequestOptions = {
3543
3721
  headers: RequestHeaders;
3544
3722
  request: RequestRequestOptions;
3545
3723
  };
3724
+ type AppsGetSubscriptionPlanForAccountEndpoint = {
3725
+ /**
3726
+ * account_id parameter
3727
+ */
3728
+ account_id: number;
3729
+ };
3730
+ type AppsGetSubscriptionPlanForAccountRequestOptions = {
3731
+ method: "GET";
3732
+ url: Url;
3733
+ headers: RequestHeaders;
3734
+ request: RequestRequestOptions;
3735
+ };
3546
3736
  type AppsCheckAccountIsAssociatedWithAnyEndpoint = {
3547
3737
  /**
3548
3738
  * account_id parameter
@@ -3571,6 +3761,34 @@ type AppsListPlansRequestOptions = {
3571
3761
  headers: RequestHeaders;
3572
3762
  request: RequestRequestOptions;
3573
3763
  };
3764
+ type AppsListAccountsForPlanEndpoint = {
3765
+ /**
3766
+ * plan_id parameter
3767
+ */
3768
+ plan_id: number;
3769
+ /**
3770
+ * Sorts the GitHub accounts by the date they were created or last updated. Can be one of `created` or `updated`.
3771
+ */
3772
+ sort?: "created" | "updated";
3773
+ /**
3774
+ * To return the oldest accounts first, set to `asc`. Can be one of `asc` or `desc`. Ignored without the `sort` parameter.
3775
+ */
3776
+ direction?: "asc" | "desc";
3777
+ /**
3778
+ * Results per page (max 100)
3779
+ */
3780
+ per_page?: number;
3781
+ /**
3782
+ * Page number of the results to fetch.
3783
+ */
3784
+ page?: number;
3785
+ };
3786
+ type AppsListAccountsForPlanRequestOptions = {
3787
+ method: "GET";
3788
+ url: Url;
3789
+ headers: RequestHeaders;
3790
+ request: RequestRequestOptions;
3791
+ };
3574
3792
  type AppsListAccountsUserOrOrgOnPlanEndpoint = {
3575
3793
  /**
3576
3794
  * plan_id parameter
@@ -3599,6 +3817,18 @@ type AppsListAccountsUserOrOrgOnPlanRequestOptions = {
3599
3817
  headers: RequestHeaders;
3600
3818
  request: RequestRequestOptions;
3601
3819
  };
3820
+ type AppsGetSubscriptionPlanForAccountStubbedEndpoint = {
3821
+ /**
3822
+ * account_id parameter
3823
+ */
3824
+ account_id: number;
3825
+ };
3826
+ type AppsGetSubscriptionPlanForAccountStubbedRequestOptions = {
3827
+ method: "GET";
3828
+ url: Url;
3829
+ headers: RequestHeaders;
3830
+ request: RequestRequestOptions;
3831
+ };
3602
3832
  type AppsCheckAccountIsAssociatedWithAnyStubbedEndpoint = {
3603
3833
  /**
3604
3834
  * account_id parameter
@@ -3627,6 +3857,34 @@ type AppsListPlansStubbedRequestOptions = {
3627
3857
  headers: RequestHeaders;
3628
3858
  request: RequestRequestOptions;
3629
3859
  };
3860
+ type AppsListAccountsForPlanStubbedEndpoint = {
3861
+ /**
3862
+ * plan_id parameter
3863
+ */
3864
+ plan_id: number;
3865
+ /**
3866
+ * Sorts the GitHub accounts by the date they were created or last updated. Can be one of `created` or `updated`.
3867
+ */
3868
+ sort?: "created" | "updated";
3869
+ /**
3870
+ * To return the oldest accounts first, set to `asc`. Can be one of `asc` or `desc`. Ignored without the `sort` parameter.
3871
+ */
3872
+ direction?: "asc" | "desc";
3873
+ /**
3874
+ * Results per page (max 100)
3875
+ */
3876
+ per_page?: number;
3877
+ /**
3878
+ * Page number of the results to fetch.
3879
+ */
3880
+ page?: number;
3881
+ };
3882
+ type AppsListAccountsForPlanStubbedRequestOptions = {
3883
+ method: "GET";
3884
+ url: Url;
3885
+ headers: RequestHeaders;
3886
+ request: RequestRequestOptions;
3887
+ };
3630
3888
  type AppsListAccountsUserOrOrgOnPlanStubbedEndpoint = {
3631
3889
  /**
3632
3890
  * plan_id parameter
@@ -3686,6 +3944,38 @@ type ActivityListPublicEventsForRepoNetworkRequestOptions = {
3686
3944
  headers: RequestHeaders;
3687
3945
  request: RequestRequestOptions;
3688
3946
  };
3947
+ type ActivityListNotificationsForAuthenticatedUserEndpoint = {
3948
+ /**
3949
+ * If `true`, show notifications marked as read.
3950
+ */
3951
+ all?: boolean;
3952
+ /**
3953
+ * If `true`, only shows notifications in which the user is directly participating or mentioned.
3954
+ */
3955
+ participating?: boolean;
3956
+ /**
3957
+ * Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
3958
+ */
3959
+ since?: string;
3960
+ /**
3961
+ * Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
3962
+ */
3963
+ before?: string;
3964
+ /**
3965
+ * Results per page (max 100)
3966
+ */
3967
+ per_page?: number;
3968
+ /**
3969
+ * Page number of the results to fetch.
3970
+ */
3971
+ page?: number;
3972
+ };
3973
+ type ActivityListNotificationsForAuthenticatedUserRequestOptions = {
3974
+ method: "GET";
3975
+ url: Url;
3976
+ headers: RequestHeaders;
3977
+ request: RequestRequestOptions;
3978
+ };
3689
3979
  type ActivityListNotificationsEndpoint = {
3690
3980
  /**
3691
3981
  * If `true`, show notifications marked as read.
@@ -3718,9 +4008,21 @@ type ActivityListNotificationsRequestOptions = {
3718
4008
  headers: RequestHeaders;
3719
4009
  request: RequestRequestOptions;
3720
4010
  };
4011
+ type ActivityMarkNotificationsAsReadEndpoint = {
4012
+ /**
4013
+ * Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp.
4014
+ */
4015
+ last_read_at?: string;
4016
+ };
4017
+ type ActivityMarkNotificationsAsReadRequestOptions = {
4018
+ method: "PUT";
4019
+ url: Url;
4020
+ headers: RequestHeaders;
4021
+ request: RequestRequestOptions;
4022
+ };
3721
4023
  type ActivityMarkAsReadEndpoint = {
3722
4024
  /**
3723
- * Describes the last point that notifications were checked. Anything updated since this time will not be updated. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp.
4025
+ * Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp.
3724
4026
  */
3725
4027
  last_read_at?: string;
3726
4028
  };
@@ -3730,6 +4032,18 @@ type ActivityMarkAsReadRequestOptions = {
3730
4032
  headers: RequestHeaders;
3731
4033
  request: RequestRequestOptions;
3732
4034
  };
4035
+ type ActivityGetThreadSubscriptionEndpoint = {
4036
+ /**
4037
+ * Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp.
4038
+ */
4039
+ last_read_at?: string;
4040
+ };
4041
+ type ActivityGetThreadSubscriptionRequestOptions = {
4042
+ method: "PUT";
4043
+ url: Url;
4044
+ headers: RequestHeaders;
4045
+ request: RequestRequestOptions;
4046
+ };
3733
4047
  type ActivityGetThreadEndpoint = {
3734
4048
  /**
3735
4049
  * thread_id parameter
@@ -3754,13 +4068,13 @@ type ActivityMarkThreadAsReadRequestOptions = {
3754
4068
  headers: RequestHeaders;
3755
4069
  request: RequestRequestOptions;
3756
4070
  };
3757
- type ActivityGetThreadSubscriptionEndpoint = {
4071
+ type ActivityGetThreadSubscriptionForAuthenticatedUserEndpoint = {
3758
4072
  /**
3759
4073
  * thread_id parameter
3760
4074
  */
3761
4075
  thread_id: number;
3762
4076
  };
3763
- type ActivityGetThreadSubscriptionRequestOptions = {
4077
+ type ActivityGetThreadSubscriptionForAuthenticatedUserRequestOptions = {
3764
4078
  method: "GET";
3765
4079
  url: Url;
3766
4080
  headers: RequestHeaders;
@@ -4003,6 +4317,26 @@ type OrgsRemoveCredentialAuthorizationRequestOptions = {
4003
4317
  headers: RequestHeaders;
4004
4318
  request: RequestRequestOptions;
4005
4319
  };
4320
+ type ActivityListPublicOrgEventsEndpoint = {
4321
+ /**
4322
+ * org parameter
4323
+ */
4324
+ org: string;
4325
+ /**
4326
+ * Results per page (max 100)
4327
+ */
4328
+ per_page?: number;
4329
+ /**
4330
+ * Page number of the results to fetch.
4331
+ */
4332
+ page?: number;
4333
+ };
4334
+ type ActivityListPublicOrgEventsRequestOptions = {
4335
+ method: "GET";
4336
+ url: Url;
4337
+ headers: RequestHeaders;
4338
+ request: RequestRequestOptions;
4339
+ };
4006
4340
  type ActivityListPublicEventsForOrgEndpoint = {
4007
4341
  /**
4008
4342
  * org parameter
@@ -6058,7 +6392,7 @@ type ProjectsCreateCardEndpoint = {
6058
6392
  */
6059
6393
  note?: string;
6060
6394
  /**
6061
- * The issue or pull request id you want to associate with this card. You can use the [List issues for a repository](https://developer.github.com/v3/issues/#list-issues-for-a-repository) and [List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests) endpoints to find this id.
6395
+ * The issue or pull request id you want to associate with this card. You can use the [List repository issues](https://developer.github.com/v3/issues/#list-repository-issues) and [List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests) endpoints to find this id.
6062
6396
  * **Note:** Depending on whether you use the issue id or pull request id, you will need to specify `Issue` or `PullRequest` as the `content_type`.
6063
6397
  */
6064
6398
  content_id?: number;
@@ -6784,6 +7118,12 @@ type ActionsListJobsForWorkflowRunEndpoint = {
6784
7118
  * run_id parameter
6785
7119
  */
6786
7120
  run_id: number;
7121
+ /**
7122
+ * Filters jobs by their `completed_at` timestamp. Can be one of:
7123
+ * \* `latest`: Returns jobs from the most recent execution of the workflow run.
7124
+ * \* `all`: Returns all jobs for a workflow run, including from old executions of the workflow run.
7125
+ */
7126
+ filter?: "latest" | "all";
6787
7127
  /**
6788
7128
  * Results per page (max 100)
6789
7129
  */
@@ -8045,7 +8385,7 @@ type ChecksCreateEndpoint = {
8045
8385
  */
8046
8386
  head_sha: string;
8047
8387
  /**
8048
- * The URL of the integrator's site that has the full details of the check.
8388
+ * The URL of the integrator's site that has the full details of the check. If the integrator does not provide this, then the homepage of the GitHub app is used.
8049
8389
  */
8050
8390
  details_url?: string;
8051
8391
  /**
@@ -11034,6 +11374,30 @@ type IssuesAddLabelsRequestOptions = {
11034
11374
  headers: RequestHeaders;
11035
11375
  request: RequestRequestOptions;
11036
11376
  };
11377
+ type IssuesReplaceAllLabelsEndpoint = {
11378
+ /**
11379
+ * owner parameter
11380
+ */
11381
+ owner: string;
11382
+ /**
11383
+ * repo parameter
11384
+ */
11385
+ repo: string;
11386
+ /**
11387
+ * issue_number parameter
11388
+ */
11389
+ issue_number: number;
11390
+ /**
11391
+ * The names of the labels to add to the issue. You can pass an empty array to remove all labels. **Note:** Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key.
11392
+ */
11393
+ labels?: string[];
11394
+ };
11395
+ type IssuesReplaceAllLabelsRequestOptions = {
11396
+ method: "PUT";
11397
+ url: Url;
11398
+ headers: RequestHeaders;
11399
+ request: RequestRequestOptions;
11400
+ };
11037
11401
  type IssuesReplaceLabelsEndpoint = {
11038
11402
  /**
11039
11403
  * owner parameter
@@ -11058,6 +11422,26 @@ type IssuesReplaceLabelsRequestOptions = {
11058
11422
  headers: RequestHeaders;
11059
11423
  request: RequestRequestOptions;
11060
11424
  };
11425
+ type IssuesRemoveAllLabelsEndpoint = {
11426
+ /**
11427
+ * owner parameter
11428
+ */
11429
+ owner: string;
11430
+ /**
11431
+ * repo parameter
11432
+ */
11433
+ repo: string;
11434
+ /**
11435
+ * issue_number parameter
11436
+ */
11437
+ issue_number: number;
11438
+ };
11439
+ type IssuesRemoveAllLabelsRequestOptions = {
11440
+ method: "DELETE";
11441
+ url: Url;
11442
+ headers: RequestHeaders;
11443
+ request: RequestRequestOptions;
11444
+ };
11061
11445
  type IssuesRemoveLabelsEndpoint = {
11062
11446
  /**
11063
11447
  * owner parameter
@@ -11724,7 +12108,47 @@ type IssuesListLabelsForMilestoneRequestOptions = {
11724
12108
  headers: RequestHeaders;
11725
12109
  request: RequestRequestOptions;
11726
12110
  };
11727
- type ActivityListNotificationsForRepoEndpoint = {
12111
+ type ActivityListRepoNotificationsForAuthenticatedUserEndpoint = {
12112
+ /**
12113
+ * owner parameter
12114
+ */
12115
+ owner: string;
12116
+ /**
12117
+ * repo parameter
12118
+ */
12119
+ repo: string;
12120
+ /**
12121
+ * If `true`, show notifications marked as read.
12122
+ */
12123
+ all?: boolean;
12124
+ /**
12125
+ * If `true`, only shows notifications in which the user is directly participating or mentioned.
12126
+ */
12127
+ participating?: boolean;
12128
+ /**
12129
+ * Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
12130
+ */
12131
+ since?: string;
12132
+ /**
12133
+ * Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
12134
+ */
12135
+ before?: string;
12136
+ /**
12137
+ * Results per page (max 100)
12138
+ */
12139
+ per_page?: number;
12140
+ /**
12141
+ * Page number of the results to fetch.
12142
+ */
12143
+ page?: number;
12144
+ };
12145
+ type ActivityListRepoNotificationsForAuthenticatedUserRequestOptions = {
12146
+ method: "GET";
12147
+ url: Url;
12148
+ headers: RequestHeaders;
12149
+ request: RequestRequestOptions;
12150
+ };
12151
+ type ActivityListNotificationsForRepoEndpoint = {
11728
12152
  /**
11729
12153
  * owner parameter
11730
12154
  */
@@ -11764,6 +12188,26 @@ type ActivityListNotificationsForRepoRequestOptions = {
11764
12188
  headers: RequestHeaders;
11765
12189
  request: RequestRequestOptions;
11766
12190
  };
12191
+ type ActivityMarkRepoNotificationsAsReadEndpoint = {
12192
+ /**
12193
+ * owner parameter
12194
+ */
12195
+ owner: string;
12196
+ /**
12197
+ * repo parameter
12198
+ */
12199
+ repo: string;
12200
+ /**
12201
+ * Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp.
12202
+ */
12203
+ last_read_at?: string;
12204
+ };
12205
+ type ActivityMarkRepoNotificationsAsReadRequestOptions = {
12206
+ method: "PUT";
12207
+ url: Url;
12208
+ headers: RequestHeaders;
12209
+ request: RequestRequestOptions;
12210
+ };
11767
12211
  type ActivityMarkNotificationsAsReadForRepoEndpoint = {
11768
12212
  /**
11769
12213
  * owner parameter
@@ -11774,7 +12218,7 @@ type ActivityMarkNotificationsAsReadForRepoEndpoint = {
11774
12218
  */
11775
12219
  repo: string;
11776
12220
  /**
11777
- * Describes the last point that notifications were checked. Anything updated since this time will not be updated. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp.
12221
+ * Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp.
11778
12222
  */
11779
12223
  last_read_at?: string;
11780
12224
  };
@@ -13558,6 +14002,22 @@ type ReposListTeamsRequestOptions = {
13558
14002
  headers: RequestHeaders;
13559
14003
  request: RequestRequestOptions;
13560
14004
  };
14005
+ type ReposGetAllTopicsEndpoint = {
14006
+ /**
14007
+ * owner parameter
14008
+ */
14009
+ owner: string;
14010
+ /**
14011
+ * repo parameter
14012
+ */
14013
+ repo: string;
14014
+ };
14015
+ type ReposGetAllTopicsRequestOptions = {
14016
+ method: "GET";
14017
+ url: Url;
14018
+ headers: RequestHeaders;
14019
+ request: RequestRequestOptions;
14020
+ };
13561
14021
  type ReposListTopicsEndpoint = {
13562
14022
  /**
13563
14023
  * owner parameter
@@ -13574,6 +14034,26 @@ type ReposListTopicsRequestOptions = {
13574
14034
  headers: RequestHeaders;
13575
14035
  request: RequestRequestOptions;
13576
14036
  };
14037
+ type ReposReplaceAllTopicsEndpoint = {
14038
+ /**
14039
+ * owner parameter
14040
+ */
14041
+ owner: string;
14042
+ /**
14043
+ * repo parameter
14044
+ */
14045
+ repo: string;
14046
+ /**
14047
+ * An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` cannot contain uppercase letters.
14048
+ */
14049
+ names: string[];
14050
+ };
14051
+ type ReposReplaceAllTopicsRequestOptions = {
14052
+ method: "PUT";
14053
+ url: Url;
14054
+ headers: RequestHeaders;
14055
+ request: RequestRequestOptions;
14056
+ };
13577
14057
  type ReposReplaceTopicsEndpoint = {
13578
14058
  /**
13579
14059
  * owner parameter
@@ -15882,6 +16362,22 @@ type UsersListFollowersForAuthenticatedUserRequestOptions = {
15882
16362
  headers: RequestHeaders;
15883
16363
  request: RequestRequestOptions;
15884
16364
  };
16365
+ type UsersListFollowedByAuthenticatedEndpoint = {
16366
+ /**
16367
+ * Results per page (max 100)
16368
+ */
16369
+ per_page?: number;
16370
+ /**
16371
+ * Page number of the results to fetch.
16372
+ */
16373
+ page?: number;
16374
+ };
16375
+ type UsersListFollowedByAuthenticatedRequestOptions = {
16376
+ method: "GET";
16377
+ url: Url;
16378
+ headers: RequestHeaders;
16379
+ request: RequestRequestOptions;
16380
+ };
15885
16381
  type UsersListFollowingForAuthenticatedUserEndpoint = {
15886
16382
  /**
15887
16383
  * Results per page (max 100)
@@ -16155,6 +16651,22 @@ type UsersDeletePublicKeyRequestOptions = {
16155
16651
  headers: RequestHeaders;
16156
16652
  request: RequestRequestOptions;
16157
16653
  };
16654
+ type AppsListSubscriptionsForAuthenticatedUserEndpoint = {
16655
+ /**
16656
+ * Results per page (max 100)
16657
+ */
16658
+ per_page?: number;
16659
+ /**
16660
+ * Page number of the results to fetch.
16661
+ */
16662
+ page?: number;
16663
+ };
16664
+ type AppsListSubscriptionsForAuthenticatedUserRequestOptions = {
16665
+ method: "GET";
16666
+ url: Url;
16667
+ headers: RequestHeaders;
16668
+ request: RequestRequestOptions;
16669
+ };
16158
16670
  type AppsListMarketplacePurchasesForAuthenticatedUserEndpoint = {
16159
16671
  /**
16160
16672
  * Results per page (max 100)
@@ -16171,6 +16683,22 @@ type AppsListMarketplacePurchasesForAuthenticatedUserRequestOptions = {
16171
16683
  headers: RequestHeaders;
16172
16684
  request: RequestRequestOptions;
16173
16685
  };
16686
+ type AppsListSubscriptionsForAuthenticatedUserStubbedEndpoint = {
16687
+ /**
16688
+ * Results per page (max 100)
16689
+ */
16690
+ per_page?: number;
16691
+ /**
16692
+ * Page number of the results to fetch.
16693
+ */
16694
+ page?: number;
16695
+ };
16696
+ type AppsListSubscriptionsForAuthenticatedUserStubbedRequestOptions = {
16697
+ method: "GET";
16698
+ url: Url;
16699
+ headers: RequestHeaders;
16700
+ request: RequestRequestOptions;
16701
+ };
16174
16702
  type AppsListMarketplacePurchasesForAuthenticatedUserStubbedEndpoint = {
16175
16703
  /**
16176
16704
  * Results per page (max 100)
@@ -16371,6 +16899,47 @@ type UsersListPublicEmailsRequestOptions = {
16371
16899
  headers: RequestHeaders;
16372
16900
  request: RequestRequestOptions;
16373
16901
  };
16902
+ type ReposListForAuthenticatedUserEndpoint = {
16903
+ /**
16904
+ * Can be one of `all`, `public`, or `private`.
16905
+ */
16906
+ visibility?: "all" | "public" | "private";
16907
+ /**
16908
+ * Comma-separated list of values. Can include:
16909
+ * \* `owner`: Repositories that are owned by the authenticated user.
16910
+ * \* `collaborator`: Repositories that the user has been added to as a collaborator.
16911
+ * \* `organization_member`: Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on.
16912
+ */
16913
+ affiliation?: string;
16914
+ /**
16915
+ * Can be one of `all`, `owner`, `public`, `private`, `member`. Default: `all`
16916
+ *
16917
+ * Will cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.
16918
+ */
16919
+ type?: "all" | "owner" | "public" | "private" | "member";
16920
+ /**
16921
+ * Can be one of `created`, `updated`, `pushed`, `full_name`.
16922
+ */
16923
+ sort?: "created" | "updated" | "pushed" | "full_name";
16924
+ /**
16925
+ * Can be one of `asc` or `desc`. Default: `asc` when using `full_name`, otherwise `desc`
16926
+ */
16927
+ direction?: "asc" | "desc";
16928
+ /**
16929
+ * Results per page (max 100)
16930
+ */
16931
+ per_page?: number;
16932
+ /**
16933
+ * Page number of the results to fetch.
16934
+ */
16935
+ page?: number;
16936
+ };
16937
+ type ReposListForAuthenticatedUserRequestOptions = {
16938
+ method: "GET";
16939
+ url: Url;
16940
+ headers: RequestHeaders;
16941
+ request: RequestRequestOptions;
16942
+ };
16374
16943
  type ReposListEndpoint = {
16375
16944
  /**
16376
16945
  * Can be one of `all`, `public`, or `private`.
@@ -16430,7 +16999,7 @@ type ReposCreateForAuthenticatedUserEndpoint = {
16430
16999
  */
16431
17000
  private?: boolean;
16432
17001
  /**
16433
- * Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see "[Creating an internal repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)" in the GitHub Help documentation.
17002
+ * Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see "[Creating an internal repository](https://help.github.com/github/creating-cloning-and-archiving-repositories/creating-an-internal-repository)" in the GitHub Help documentation.
16434
17003
  * The `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.
16435
17004
  */
16436
17005
  visibility?: "public" | "private" | "visibility" | "internal";
@@ -16553,6 +17122,22 @@ type ActivityListReposStarredByAuthenticatedUserRequestOptions = {
16553
17122
  headers: RequestHeaders;
16554
17123
  request: RequestRequestOptions;
16555
17124
  };
17125
+ type ActivityCheckRepoIsStarredByAuthenticatedUserEndpoint = {
17126
+ /**
17127
+ * owner parameter
17128
+ */
17129
+ owner: string;
17130
+ /**
17131
+ * repo parameter
17132
+ */
17133
+ repo: string;
17134
+ };
17135
+ type ActivityCheckRepoIsStarredByAuthenticatedUserRequestOptions = {
17136
+ method: "GET";
17137
+ url: Url;
17138
+ headers: RequestHeaders;
17139
+ request: RequestRequestOptions;
17140
+ };
16556
17141
  type ActivityCheckStarringRepoEndpoint = {
16557
17142
  /**
16558
17143
  * owner parameter
@@ -16569,6 +17154,22 @@ type ActivityCheckStarringRepoRequestOptions = {
16569
17154
  headers: RequestHeaders;
16570
17155
  request: RequestRequestOptions;
16571
17156
  };
17157
+ type ActivityStarRepoForAuthenticatedUserEndpoint = {
17158
+ /**
17159
+ * owner parameter
17160
+ */
17161
+ owner: string;
17162
+ /**
17163
+ * repo parameter
17164
+ */
17165
+ repo: string;
17166
+ };
17167
+ type ActivityStarRepoForAuthenticatedUserRequestOptions = {
17168
+ method: "PUT";
17169
+ url: Url;
17170
+ headers: RequestHeaders;
17171
+ request: RequestRequestOptions;
17172
+ };
16572
17173
  type ActivityStarRepoEndpoint = {
16573
17174
  /**
16574
17175
  * owner parameter
@@ -16585,6 +17186,22 @@ type ActivityStarRepoRequestOptions = {
16585
17186
  headers: RequestHeaders;
16586
17187
  request: RequestRequestOptions;
16587
17188
  };
17189
+ type ActivityUnstarRepoForAuthenticatedUserEndpoint = {
17190
+ /**
17191
+ * owner parameter
17192
+ */
17193
+ owner: string;
17194
+ /**
17195
+ * repo parameter
17196
+ */
17197
+ repo: string;
17198
+ };
17199
+ type ActivityUnstarRepoForAuthenticatedUserRequestOptions = {
17200
+ method: "DELETE";
17201
+ url: Url;
17202
+ headers: RequestHeaders;
17203
+ request: RequestRequestOptions;
17204
+ };
16588
17205
  type ActivityUnstarRepoEndpoint = {
16589
17206
  /**
16590
17207
  * owner parameter
@@ -16733,6 +17350,26 @@ type UsersGetByUsernameRequestOptions = {
16733
17350
  headers: RequestHeaders;
16734
17351
  request: RequestRequestOptions;
16735
17352
  };
17353
+ type ActivityListEventsForAuthenticatedUserEndpoint = {
17354
+ /**
17355
+ * username parameter
17356
+ */
17357
+ username: string;
17358
+ /**
17359
+ * Results per page (max 100)
17360
+ */
17361
+ per_page?: number;
17362
+ /**
17363
+ * Page number of the results to fetch.
17364
+ */
17365
+ page?: number;
17366
+ };
17367
+ type ActivityListEventsForAuthenticatedUserRequestOptions = {
17368
+ method: "GET";
17369
+ url: Url;
17370
+ headers: RequestHeaders;
17371
+ request: RequestRequestOptions;
17372
+ };
16736
17373
  type ActivityListEventsForUserEndpoint = {
16737
17374
  /**
16738
17375
  * username parameter
@@ -16753,6 +17390,30 @@ type ActivityListEventsForUserRequestOptions = {
16753
17390
  headers: RequestHeaders;
16754
17391
  request: RequestRequestOptions;
16755
17392
  };
17393
+ type ActivityListOrgEventsForAuthenticatedUserEndpoint = {
17394
+ /**
17395
+ * username parameter
17396
+ */
17397
+ username: string;
17398
+ /**
17399
+ * org parameter
17400
+ */
17401
+ org: string;
17402
+ /**
17403
+ * Results per page (max 100)
17404
+ */
17405
+ per_page?: number;
17406
+ /**
17407
+ * Page number of the results to fetch.
17408
+ */
17409
+ page?: number;
17410
+ };
17411
+ type ActivityListOrgEventsForAuthenticatedUserRequestOptions = {
17412
+ method: "GET";
17413
+ url: Url;
17414
+ headers: RequestHeaders;
17415
+ request: RequestRequestOptions;
17416
+ };
16756
17417
  type ActivityListEventsForOrgEndpoint = {
16757
17418
  /**
16758
17419
  * username parameter
@@ -16853,6 +17514,30 @@ type UsersCheckFollowingForUserRequestOptions = {
16853
17514
  headers: RequestHeaders;
16854
17515
  request: RequestRequestOptions;
16855
17516
  };
17517
+ type GistsListForUserEndpoint = {
17518
+ /**
17519
+ * username parameter
17520
+ */
17521
+ username: string;
17522
+ /**
17523
+ * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned.
17524
+ */
17525
+ since?: string;
17526
+ /**
17527
+ * Results per page (max 100)
17528
+ */
17529
+ per_page?: number;
17530
+ /**
17531
+ * Page number of the results to fetch.
17532
+ */
17533
+ page?: number;
17534
+ };
17535
+ type GistsListForUserRequestOptions = {
17536
+ method: "GET";
17537
+ url: Url;
17538
+ headers: RequestHeaders;
17539
+ request: RequestRequestOptions;
17540
+ };
16856
17541
  type GistsListPublicForUserEndpoint = {
16857
17542
  /**
16858
17543
  * username parameter