@octokit/types 2.5.0 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octokit/types",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,12 +35,12 @@
35
35
  "lodash.set": "^4.3.2",
36
36
  "npm-run-all": "^4.1.5",
37
37
  "pascal-case": "^3.1.1",
38
- "prettier": "^1.18.2",
38
+ "prettier": "^2.0.0",
39
39
  "semantic-release": "^17.0.0",
40
40
  "semantic-release-plugin-update-version-in-files": "^1.0.0",
41
41
  "sort-keys": "^4.0.0",
42
42
  "string-to-jsdoc-comment": "^1.0.0",
43
- "typedoc": "^0.16.0",
43
+ "typedoc": "^0.17.0",
44
44
  "typescript": "^3.6.4"
45
45
  },
46
46
  "release": {
package/src/VERSION.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = "2.5.0";
1
+ export const VERSION = "2.5.1";
@@ -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,
@@ -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,12 +464,14 @@ export interface Endpoints {
451
464
  OauthAuthorizationsGetAuthorizationRequestOptions
452
465
  ];
453
466
  "GET /codes_of_conduct": [
454
-
467
+ (
455
468
  | CodesOfConductGetAllCodesOfConductEndpoint
456
- | CodesOfConductListConductCodesEndpoint,
457
-
469
+ | CodesOfConductListConductCodesEndpoint
470
+ ),
471
+ (
458
472
  | CodesOfConductGetAllCodesOfConductRequestOptions
459
473
  | CodesOfConductListConductCodesRequestOptions
474
+ )
460
475
  ];
461
476
  "GET /codes_of_conduct/:key": [
462
477
  CodesOfConductGetConductCodeEndpoint,
@@ -467,7 +482,10 @@ export interface Endpoints {
467
482
  ActivityListPublicEventsEndpoint,
468
483
  ActivityListPublicEventsRequestOptions
469
484
  ];
470
- "GET /feeds": [ActivityListFeedsEndpoint, ActivityListFeedsRequestOptions];
485
+ "GET /feeds": [
486
+ ActivityGetFeedsEndpoint | ActivityListFeedsEndpoint,
487
+ ActivityGetFeedsRequestOptions | ActivityListFeedsRequestOptions
488
+ ];
471
489
  "GET /gists": [GistsListEndpoint, GistsListRequestOptions];
472
490
  "GET /gists/:gist_id": [GistsGetEndpoint, GistsGetRequestOptions];
473
491
  "GET /gists/:gist_id/:sha": [
@@ -534,12 +552,14 @@ export interface Endpoints {
534
552
  ];
535
553
  "GET /licenses/:license": [LicensesGetEndpoint, LicensesGetRequestOptions];
536
554
  "GET /marketplace_listing/accounts/:account_id": [
537
-
555
+ (
538
556
  | AppsGetSubscriptionPlanForAccountEndpoint
539
- | AppsCheckAccountIsAssociatedWithAnyEndpoint,
540
-
557
+ | AppsCheckAccountIsAssociatedWithAnyEndpoint
558
+ ),
559
+ (
541
560
  | AppsGetSubscriptionPlanForAccountRequestOptions
542
561
  | AppsCheckAccountIsAssociatedWithAnyRequestOptions
562
+ )
543
563
  ];
544
564
  "GET /marketplace_listing/plans": [
545
565
  AppsListPlansEndpoint,
@@ -547,29 +567,34 @@ export interface Endpoints {
547
567
  ];
548
568
  "GET /marketplace_listing/plans/:plan_id/accounts": [
549
569
  AppsListAccountsForPlanEndpoint | AppsListAccountsUserOrOrgOnPlanEndpoint,
550
-
570
+ (
551
571
  | AppsListAccountsForPlanRequestOptions
552
572
  | AppsListAccountsUserOrOrgOnPlanRequestOptions
573
+ )
553
574
  ];
554
575
  "GET /marketplace_listing/stubbed/accounts/:account_id": [
555
-
576
+ (
556
577
  | AppsGetSubscriptionPlanForAccountStubbedEndpoint
557
- | AppsCheckAccountIsAssociatedWithAnyStubbedEndpoint,
558
-
578
+ | AppsCheckAccountIsAssociatedWithAnyStubbedEndpoint
579
+ ),
580
+ (
559
581
  | AppsGetSubscriptionPlanForAccountStubbedRequestOptions
560
582
  | AppsCheckAccountIsAssociatedWithAnyStubbedRequestOptions
583
+ )
561
584
  ];
562
585
  "GET /marketplace_listing/stubbed/plans": [
563
586
  AppsListPlansStubbedEndpoint,
564
587
  AppsListPlansStubbedRequestOptions
565
588
  ];
566
589
  "GET /marketplace_listing/stubbed/plans/:plan_id/accounts": [
567
-
590
+ (
568
591
  | AppsListAccountsForPlanStubbedEndpoint
569
- | AppsListAccountsUserOrOrgOnPlanStubbedEndpoint,
570
-
592
+ | AppsListAccountsUserOrOrgOnPlanStubbedEndpoint
593
+ ),
594
+ (
571
595
  | AppsListAccountsForPlanStubbedRequestOptions
572
596
  | AppsListAccountsUserOrOrgOnPlanStubbedRequestOptions
597
+ )
573
598
  ];
574
599
  "GET /meta": [MetaGetEndpoint, MetaGetRequestOptions];
575
600
  "GET /networks/:owner/:repo/events": [
@@ -577,16 +602,22 @@ export interface Endpoints {
577
602
  ActivityListPublicEventsForRepoNetworkRequestOptions
578
603
  ];
579
604
  "GET /notifications": [
580
- ActivityListNotificationsEndpoint,
581
- ActivityListNotificationsRequestOptions
605
+ (
606
+ | ActivityListNotificationsForAuthenticatedUserEndpoint
607
+ | ActivityListNotificationsEndpoint
608
+ ),
609
+ (
610
+ | ActivityListNotificationsForAuthenticatedUserRequestOptions
611
+ | ActivityListNotificationsRequestOptions
612
+ )
582
613
  ];
583
614
  "GET /notifications/threads/:thread_id": [
584
615
  ActivityGetThreadEndpoint,
585
616
  ActivityGetThreadRequestOptions
586
617
  ];
587
618
  "GET /notifications/threads/:thread_id/subscription": [
588
- ActivityGetThreadSubscriptionEndpoint,
589
- ActivityGetThreadSubscriptionRequestOptions
619
+ ActivityGetThreadSubscriptionForAuthenticatedUserEndpoint,
620
+ ActivityGetThreadSubscriptionForAuthenticatedUserRequestOptions
590
621
  ];
591
622
  "GET /organizations": [OrgsListEndpoint, OrgsListRequestOptions];
592
623
  "GET /orgs/:org": [OrgsGetEndpoint, OrgsGetRequestOptions];
@@ -603,8 +634,14 @@ export interface Endpoints {
603
634
  OrgsListCredentialAuthorizationsRequestOptions
604
635
  ];
605
636
  "GET /orgs/:org/events": [
606
- ActivityListPublicEventsForOrgEndpoint,
607
- ActivityListPublicEventsForOrgRequestOptions
637
+ (
638
+ | ActivityListPublicOrgEventsEndpoint
639
+ | ActivityListPublicEventsForOrgEndpoint
640
+ ),
641
+ (
642
+ | ActivityListPublicOrgEventsRequestOptions
643
+ | ActivityListPublicEventsForOrgRequestOptions
644
+ )
608
645
  ];
609
646
  "GET /orgs/:org/hooks": [OrgsListHooksEndpoint, OrgsListHooksRequestOptions];
610
647
  "GET /orgs/:org/hooks/:hook_id": [
@@ -656,12 +693,14 @@ export interface Endpoints {
656
693
  MigrationsGetStatusForOrgRequestOptions
657
694
  ];
658
695
  "GET /orgs/:org/migrations/:migration_id/archive": [
659
-
696
+ (
660
697
  | MigrationsDownloadArchiveForOrgEndpoint
661
- | MigrationsGetArchiveForOrgEndpoint,
662
-
698
+ | MigrationsGetArchiveForOrgEndpoint
699
+ ),
700
+ (
663
701
  | MigrationsDownloadArchiveForOrgRequestOptions
664
702
  | MigrationsGetArchiveForOrgRequestOptions
703
+ )
665
704
  ];
666
705
  "GET /orgs/:org/migrations/:migration_id/repositories": [
667
706
  MigrationsListReposForOrgEndpoint,
@@ -908,32 +947,38 @@ export interface Endpoints {
908
947
  ReposGetProtectedBranchRestrictionsRequestOptions
909
948
  ];
910
949
  "GET /repos/:owner/:repo/branches/:branch/protection/restrictions/apps": [
911
-
950
+ (
912
951
  | ReposGetAppsWithAccessToProtectedBranchEndpoint
913
- | ReposListAppsWithAccessToProtectedBranchEndpoint,
914
-
952
+ | ReposListAppsWithAccessToProtectedBranchEndpoint
953
+ ),
954
+ (
915
955
  | ReposGetAppsWithAccessToProtectedBranchRequestOptions
916
956
  | ReposListAppsWithAccessToProtectedBranchRequestOptions
957
+ )
917
958
  ];
918
959
  "GET /repos/:owner/:repo/branches/:branch/protection/restrictions/teams": [
919
-
960
+ (
920
961
  | ReposGetTeamsWithAccessToProtectedBranchEndpoint
921
962
  | ReposListProtectedBranchTeamRestrictionsEndpoint
922
- | ReposListTeamsWithAccessToProtectedBranchEndpoint,
923
-
963
+ | ReposListTeamsWithAccessToProtectedBranchEndpoint
964
+ ),
965
+ (
924
966
  | ReposGetTeamsWithAccessToProtectedBranchRequestOptions
925
967
  | ReposListProtectedBranchTeamRestrictionsRequestOptions
926
968
  | ReposListTeamsWithAccessToProtectedBranchRequestOptions
969
+ )
927
970
  ];
928
971
  "GET /repos/:owner/:repo/branches/:branch/protection/restrictions/users": [
929
-
972
+ (
930
973
  | ReposGetUsersWithAccessToProtectedBranchEndpoint
931
974
  | ReposListProtectedBranchUserRestrictionsEndpoint
932
- | ReposListUsersWithAccessToProtectedBranchEndpoint,
933
-
975
+ | ReposListUsersWithAccessToProtectedBranchEndpoint
976
+ ),
977
+ (
934
978
  | ReposGetUsersWithAccessToProtectedBranchRequestOptions
935
979
  | ReposListProtectedBranchUserRestrictionsRequestOptions
936
980
  | ReposListUsersWithAccessToProtectedBranchRequestOptions
981
+ )
937
982
  ];
938
983
  "GET /repos/:owner/:repo/check-runs/:check_run_id": [
939
984
  ChecksGetEndpoint,
@@ -1109,9 +1154,10 @@ export interface Endpoints {
1109
1154
  ];
1110
1155
  "GET /repos/:owner/:repo/installation": [
1111
1156
  AppsGetRepoInstallationEndpoint | AppsFindRepoInstallationEndpoint,
1112
-
1157
+ (
1113
1158
  | AppsGetRepoInstallationRequestOptions
1114
1159
  | AppsFindRepoInstallationRequestOptions
1160
+ )
1115
1161
  ];
1116
1162
  "GET /repos/:owner/:repo/interaction-limits": [
1117
1163
  InteractionsGetRestrictionsForRepoEndpoint,
@@ -1206,8 +1252,14 @@ export interface Endpoints {
1206
1252
  IssuesListLabelsForMilestoneRequestOptions
1207
1253
  ];
1208
1254
  "GET /repos/:owner/:repo/notifications": [
1209
- ActivityListNotificationsForRepoEndpoint,
1210
- ActivityListNotificationsForRepoRequestOptions
1255
+ (
1256
+ | ActivityListRepoNotificationsForAuthenticatedUserEndpoint
1257
+ | ActivityListNotificationsForRepoEndpoint
1258
+ ),
1259
+ (
1260
+ | ActivityListRepoNotificationsForAuthenticatedUserRequestOptions
1261
+ | ActivityListNotificationsForRepoRequestOptions
1262
+ )
1211
1263
  ];
1212
1264
  "GET /repos/:owner/:repo/pages": [
1213
1265
  ReposGetPagesEndpoint,
@@ -1395,51 +1447,61 @@ export interface Endpoints {
1395
1447
  ];
1396
1448
  "GET /teams/:team_id/discussions": [
1397
1449
  TeamsListDiscussionsLegacyEndpoint | TeamsListDiscussionsEndpoint,
1398
-
1450
+ (
1399
1451
  | TeamsListDiscussionsLegacyRequestOptions
1400
1452
  | TeamsListDiscussionsRequestOptions
1453
+ )
1401
1454
  ];
1402
1455
  "GET /teams/:team_id/discussions/:discussion_number": [
1403
1456
  TeamsGetDiscussionLegacyEndpoint | TeamsGetDiscussionEndpoint,
1404
1457
  TeamsGetDiscussionLegacyRequestOptions | TeamsGetDiscussionRequestOptions
1405
1458
  ];
1406
1459
  "GET /teams/:team_id/discussions/:discussion_number/comments": [
1407
-
1460
+ (
1408
1461
  | TeamsListDiscussionCommentsLegacyEndpoint
1409
- | TeamsListDiscussionCommentsEndpoint,
1410
-
1462
+ | TeamsListDiscussionCommentsEndpoint
1463
+ ),
1464
+ (
1411
1465
  | TeamsListDiscussionCommentsLegacyRequestOptions
1412
1466
  | TeamsListDiscussionCommentsRequestOptions
1467
+ )
1413
1468
  ];
1414
1469
  "GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number": [
1415
1470
  TeamsGetDiscussionCommentLegacyEndpoint | TeamsGetDiscussionCommentEndpoint,
1416
-
1471
+ (
1417
1472
  | TeamsGetDiscussionCommentLegacyRequestOptions
1418
1473
  | TeamsGetDiscussionCommentRequestOptions
1474
+ )
1419
1475
  ];
1420
1476
  "GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions": [
1421
-
1477
+ (
1422
1478
  | ReactionsListForTeamDiscussionCommentLegacyEndpoint
1423
- | ReactionsListForTeamDiscussionCommentEndpoint,
1424
-
1479
+ | ReactionsListForTeamDiscussionCommentEndpoint
1480
+ ),
1481
+ (
1425
1482
  | ReactionsListForTeamDiscussionCommentLegacyRequestOptions
1426
1483
  | ReactionsListForTeamDiscussionCommentRequestOptions
1484
+ )
1427
1485
  ];
1428
1486
  "GET /teams/:team_id/discussions/:discussion_number/reactions": [
1429
-
1487
+ (
1430
1488
  | ReactionsListForTeamDiscussionLegacyEndpoint
1431
- | ReactionsListForTeamDiscussionEndpoint,
1432
-
1489
+ | ReactionsListForTeamDiscussionEndpoint
1490
+ ),
1491
+ (
1433
1492
  | ReactionsListForTeamDiscussionLegacyRequestOptions
1434
1493
  | ReactionsListForTeamDiscussionRequestOptions
1494
+ )
1435
1495
  ];
1436
1496
  "GET /teams/:team_id/invitations": [
1437
-
1497
+ (
1438
1498
  | TeamsListPendingInvitationsLegacyEndpoint
1439
- | TeamsListPendingInvitationsEndpoint,
1440
-
1499
+ | TeamsListPendingInvitationsEndpoint
1500
+ ),
1501
+ (
1441
1502
  | TeamsListPendingInvitationsLegacyRequestOptions
1442
1503
  | TeamsListPendingInvitationsRequestOptions
1504
+ )
1443
1505
  ];
1444
1506
  "GET /teams/:team_id/members": [
1445
1507
  TeamsListMembersLegacyEndpoint | TeamsListMembersEndpoint,
@@ -1467,15 +1529,17 @@ export interface Endpoints {
1467
1529
  ];
1468
1530
  "GET /teams/:team_id/repos/:owner/:repo": [
1469
1531
  TeamsCheckManagesRepoLegacyEndpoint | TeamsCheckManagesRepoEndpoint,
1470
-
1532
+ (
1471
1533
  | TeamsCheckManagesRepoLegacyRequestOptions
1472
1534
  | TeamsCheckManagesRepoRequestOptions
1535
+ )
1473
1536
  ];
1474
1537
  "GET /teams/:team_id/team-sync/group-mappings": [
1475
1538
  TeamsListIdPGroupsForLegacyEndpoint | TeamsListIdPGroupsForEndpoint,
1476
-
1539
+ (
1477
1540
  | TeamsListIdPGroupsForLegacyRequestOptions
1478
1541
  | TeamsListIdPGroupsForRequestOptions
1542
+ )
1479
1543
  ];
1480
1544
  "GET /teams/:team_id/teams": [
1481
1545
  TeamsListChildLegacyEndpoint | TeamsListChildEndpoint,
@@ -1503,12 +1567,14 @@ export interface Endpoints {
1503
1567
  UsersListFollowersForAuthenticatedUserRequestOptions
1504
1568
  ];
1505
1569
  "GET /user/following": [
1506
-
1570
+ (
1507
1571
  | UsersListFollowedByAuthenticatedEndpoint
1508
- | UsersListFollowingForAuthenticatedUserEndpoint,
1509
-
1572
+ | UsersListFollowingForAuthenticatedUserEndpoint
1573
+ ),
1574
+ (
1510
1575
  | UsersListFollowedByAuthenticatedRequestOptions
1511
1576
  | UsersListFollowingForAuthenticatedUserRequestOptions
1577
+ )
1512
1578
  ];
1513
1579
  "GET /user/following/:username": [
1514
1580
  UsersCheckFollowingEndpoint,
@@ -1543,20 +1609,24 @@ export interface Endpoints {
1543
1609
  UsersGetPublicKeyRequestOptions
1544
1610
  ];
1545
1611
  "GET /user/marketplace_purchases": [
1546
-
1612
+ (
1547
1613
  | AppsListSubscriptionsForAuthenticatedUserEndpoint
1548
- | AppsListMarketplacePurchasesForAuthenticatedUserEndpoint,
1549
-
1614
+ | AppsListMarketplacePurchasesForAuthenticatedUserEndpoint
1615
+ ),
1616
+ (
1550
1617
  | AppsListSubscriptionsForAuthenticatedUserRequestOptions
1551
1618
  | AppsListMarketplacePurchasesForAuthenticatedUserRequestOptions
1619
+ )
1552
1620
  ];
1553
1621
  "GET /user/marketplace_purchases/stubbed": [
1554
-
1622
+ (
1555
1623
  | AppsListSubscriptionsForAuthenticatedUserStubbedEndpoint
1556
- | AppsListMarketplacePurchasesForAuthenticatedUserStubbedEndpoint,
1557
-
1624
+ | AppsListMarketplacePurchasesForAuthenticatedUserStubbedEndpoint
1625
+ ),
1626
+ (
1558
1627
  | AppsListSubscriptionsForAuthenticatedUserStubbedRequestOptions
1559
1628
  | AppsListMarketplacePurchasesForAuthenticatedUserStubbedRequestOptions
1629
+ )
1560
1630
  ];
1561
1631
  "GET /user/memberships/orgs": [
1562
1632
  OrgsListMembershipsEndpoint,
@@ -1599,8 +1669,14 @@ export interface Endpoints {
1599
1669
  ActivityListReposStarredByAuthenticatedUserRequestOptions
1600
1670
  ];
1601
1671
  "GET /user/starred/:owner/:repo": [
1602
- ActivityCheckStarringRepoEndpoint,
1603
- ActivityCheckStarringRepoRequestOptions
1672
+ (
1673
+ | ActivityCheckRepoIsStarredByAuthenticatedUserEndpoint
1674
+ | ActivityCheckStarringRepoEndpoint
1675
+ ),
1676
+ (
1677
+ | ActivityCheckRepoIsStarredByAuthenticatedUserRequestOptions
1678
+ | ActivityCheckStarringRepoRequestOptions
1679
+ )
1604
1680
  ];
1605
1681
  "GET /user/subscriptions": [
1606
1682
  ActivityListWatchedReposForAuthenticatedUserEndpoint,
@@ -1620,12 +1696,24 @@ export interface Endpoints {
1620
1696
  UsersGetByUsernameRequestOptions
1621
1697
  ];
1622
1698
  "GET /users/:username/events": [
1623
- ActivityListEventsForUserEndpoint,
1624
- ActivityListEventsForUserRequestOptions
1699
+ (
1700
+ | ActivityListEventsForAuthenticatedUserEndpoint
1701
+ | ActivityListEventsForUserEndpoint
1702
+ ),
1703
+ (
1704
+ | ActivityListEventsForAuthenticatedUserRequestOptions
1705
+ | ActivityListEventsForUserRequestOptions
1706
+ )
1625
1707
  ];
1626
1708
  "GET /users/:username/events/orgs/:org": [
1627
- ActivityListEventsForOrgEndpoint,
1628
- ActivityListEventsForOrgRequestOptions
1709
+ (
1710
+ | ActivityListOrgEventsForAuthenticatedUserEndpoint
1711
+ | ActivityListEventsForOrgEndpoint
1712
+ ),
1713
+ (
1714
+ | ActivityListOrgEventsForAuthenticatedUserRequestOptions
1715
+ | ActivityListEventsForOrgRequestOptions
1716
+ )
1629
1717
  ];
1630
1718
  "GET /users/:username/events/public": [
1631
1719
  ActivityListPublicEventsForUserEndpoint,
@@ -1657,9 +1745,10 @@ export interface Endpoints {
1657
1745
  ];
1658
1746
  "GET /users/:username/installation": [
1659
1747
  AppsGetUserInstallationEndpoint | AppsFindUserInstallationEndpoint,
1660
-
1748
+ (
1661
1749
  | AppsGetUserInstallationRequestOptions
1662
1750
  | AppsFindUserInstallationRequestOptions
1751
+ )
1663
1752
  ];
1664
1753
  "GET /users/:username/keys": [
1665
1754
  UsersListPublicKeysForUserEndpoint,
@@ -1830,25 +1919,30 @@ export interface Endpoints {
1830
1919
  ];
1831
1920
  "PATCH /teams/:team_id/discussions/:discussion_number": [
1832
1921
  TeamsUpdateDiscussionLegacyEndpoint | TeamsUpdateDiscussionEndpoint,
1833
-
1922
+ (
1834
1923
  | TeamsUpdateDiscussionLegacyRequestOptions
1835
1924
  | TeamsUpdateDiscussionRequestOptions
1925
+ )
1836
1926
  ];
1837
1927
  "PATCH /teams/:team_id/discussions/:discussion_number/comments/:comment_number": [
1838
-
1928
+ (
1839
1929
  | TeamsUpdateDiscussionCommentLegacyEndpoint
1840
- | TeamsUpdateDiscussionCommentEndpoint,
1841
-
1930
+ | TeamsUpdateDiscussionCommentEndpoint
1931
+ ),
1932
+ (
1842
1933
  | TeamsUpdateDiscussionCommentLegacyRequestOptions
1843
1934
  | TeamsUpdateDiscussionCommentRequestOptions
1935
+ )
1844
1936
  ];
1845
1937
  "PATCH /teams/:team_id/team-sync/group-mappings": [
1846
-
1938
+ (
1847
1939
  | TeamsCreateOrUpdateIdPGroupConnectionsLegacyEndpoint
1848
- | TeamsCreateOrUpdateIdPGroupConnectionsEndpoint,
1849
-
1940
+ | TeamsCreateOrUpdateIdPGroupConnectionsEndpoint
1941
+ ),
1942
+ (
1850
1943
  | TeamsCreateOrUpdateIdPGroupConnectionsLegacyRequestOptions
1851
1944
  | TeamsCreateOrUpdateIdPGroupConnectionsRequestOptions
1945
+ )
1852
1946
  ];
1853
1947
  "PATCH /user": [
1854
1948
  UsersUpdateAuthenticatedEndpoint,
@@ -1879,12 +1973,14 @@ export interface Endpoints {
1879
1973
  AppsCheckTokenRequestOptions
1880
1974
  ];
1881
1975
  "POST /applications/:client_id/tokens/:access_token": [
1882
-
1976
+ (
1883
1977
  | AppsResetAuthorizationEndpoint
1884
- | OauthAuthorizationsResetAuthorizationEndpoint,
1885
-
1978
+ | OauthAuthorizationsResetAuthorizationEndpoint
1979
+ ),
1980
+ (
1886
1981
  | AppsResetAuthorizationRequestOptions
1887
1982
  | OauthAuthorizationsResetAuthorizationRequestOptions
1983
+ )
1888
1984
  ];
1889
1985
  "POST /authorizations": [
1890
1986
  OauthAuthorizationsCreateAuthorizationEndpoint,
@@ -2168,39 +2264,47 @@ export interface Endpoints {
2168
2264
  ];
2169
2265
  "POST /scim/v2/organizations/:org/Users": [
2170
2266
  ScimProvisionAndInviteUsersEndpoint | ScimProvisionInviteUsersEndpoint,
2171
-
2267
+ (
2172
2268
  | ScimProvisionAndInviteUsersRequestOptions
2173
2269
  | ScimProvisionInviteUsersRequestOptions
2270
+ )
2174
2271
  ];
2175
2272
  "POST /teams/:team_id/discussions": [
2176
2273
  TeamsCreateDiscussionLegacyEndpoint | TeamsCreateDiscussionEndpoint,
2177
-
2274
+ (
2178
2275
  | TeamsCreateDiscussionLegacyRequestOptions
2179
2276
  | TeamsCreateDiscussionRequestOptions
2277
+ )
2180
2278
  ];
2181
2279
  "POST /teams/:team_id/discussions/:discussion_number/comments": [
2182
-
2280
+ (
2183
2281
  | TeamsCreateDiscussionCommentLegacyEndpoint
2184
- | TeamsCreateDiscussionCommentEndpoint,
2185
-
2282
+ | TeamsCreateDiscussionCommentEndpoint
2283
+ ),
2284
+ (
2186
2285
  | TeamsCreateDiscussionCommentLegacyRequestOptions
2187
2286
  | TeamsCreateDiscussionCommentRequestOptions
2287
+ )
2188
2288
  ];
2189
2289
  "POST /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions": [
2190
-
2290
+ (
2191
2291
  | ReactionsCreateForTeamDiscussionCommentLegacyEndpoint
2192
- | ReactionsCreateForTeamDiscussionCommentEndpoint,
2193
-
2292
+ | ReactionsCreateForTeamDiscussionCommentEndpoint
2293
+ ),
2294
+ (
2194
2295
  | ReactionsCreateForTeamDiscussionCommentLegacyRequestOptions
2195
2296
  | ReactionsCreateForTeamDiscussionCommentRequestOptions
2297
+ )
2196
2298
  ];
2197
2299
  "POST /teams/:team_id/discussions/:discussion_number/reactions": [
2198
-
2300
+ (
2199
2301
  | ReactionsCreateForTeamDiscussionLegacyEndpoint
2200
- | ReactionsCreateForTeamDiscussionEndpoint,
2201
-
2302
+ | ReactionsCreateForTeamDiscussionEndpoint
2303
+ ),
2304
+ (
2202
2305
  | ReactionsCreateForTeamDiscussionLegacyRequestOptions
2203
2306
  | ReactionsCreateForTeamDiscussionRequestOptions
2307
+ )
2204
2308
  ];
2205
2309
  "POST /user/emails": [UsersAddEmailsEndpoint, UsersAddEmailsRequestOptions];
2206
2310
  "POST /user/gpg_keys": [
@@ -2232,17 +2336,27 @@ export interface Endpoints {
2232
2336
  OauthAuthorizationsGetOrCreateAuthorizationForAppRequestOptions
2233
2337
  ];
2234
2338
  "PUT /authorizations/clients/:client_id/:fingerprint": [
2235
-
2339
+ (
2236
2340
  | OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintEndpoint
2237
- | OauthAuthorizationsGetOrCreateAuthorizationForAppFingerprintEndpoint,
2238
-
2341
+ | OauthAuthorizationsGetOrCreateAuthorizationForAppFingerprintEndpoint
2342
+ ),
2343
+ (
2239
2344
  | OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRequestOptions
2240
2345
  | OauthAuthorizationsGetOrCreateAuthorizationForAppFingerprintRequestOptions
2346
+ )
2241
2347
  ];
2242
2348
  "PUT /gists/:gist_id/star": [GistsStarEndpoint, GistsStarRequestOptions];
2243
2349
  "PUT /notifications": [
2244
- ActivityMarkAsReadEndpoint,
2245
- ActivityMarkAsReadRequestOptions
2350
+ (
2351
+ | ActivityMarkNotificationsAsReadEndpoint
2352
+ | ActivityMarkAsReadEndpoint
2353
+ | ActivityGetThreadSubscriptionEndpoint
2354
+ ),
2355
+ (
2356
+ | ActivityMarkNotificationsAsReadRequestOptions
2357
+ | ActivityMarkAsReadRequestOptions
2358
+ | ActivityGetThreadSubscriptionRequestOptions
2359
+ )
2246
2360
  ];
2247
2361
  "PUT /notifications/threads/:thread_id/subscription": [
2248
2362
  ActivitySetThreadSubscriptionEndpoint,
@@ -2317,14 +2431,16 @@ export interface Endpoints {
2317
2431
  ReposAddCollaboratorRequestOptions
2318
2432
  ];
2319
2433
  "PUT /repos/:owner/:repo/contents/:path": [
2320
-
2434
+ (
2321
2435
  | ReposCreateOrUpdateFileEndpoint
2322
2436
  | ReposCreateFileEndpoint
2323
- | ReposUpdateFileEndpoint,
2324
-
2437
+ | ReposUpdateFileEndpoint
2438
+ ),
2439
+ (
2325
2440
  | ReposCreateOrUpdateFileRequestOptions
2326
2441
  | ReposCreateFileRequestOptions
2327
2442
  | ReposUpdateFileRequestOptions
2443
+ )
2328
2444
  ];
2329
2445
  "PUT /repos/:owner/:repo/import": [
2330
2446
  MigrationsStartImportEndpoint,
@@ -2343,8 +2459,14 @@ export interface Endpoints {
2343
2459
  IssuesLockRequestOptions
2344
2460
  ];
2345
2461
  "PUT /repos/:owner/:repo/notifications": [
2346
- ActivityMarkNotificationsAsReadForRepoEndpoint,
2347
- ActivityMarkNotificationsAsReadForRepoRequestOptions
2462
+ (
2463
+ | ActivityMarkRepoNotificationsAsReadEndpoint
2464
+ | ActivityMarkNotificationsAsReadForRepoEndpoint
2465
+ ),
2466
+ (
2467
+ | ActivityMarkRepoNotificationsAsReadRequestOptions
2468
+ | ActivityMarkNotificationsAsReadForRepoRequestOptions
2469
+ )
2348
2470
  ];
2349
2471
  "PUT /repos/:owner/:repo/pages": [
2350
2472
  ReposUpdateInformationAboutPagesSiteEndpoint,
@@ -2379,36 +2501,42 @@ export interface Endpoints {
2379
2501
  ReposEnableVulnerabilityAlertsRequestOptions
2380
2502
  ];
2381
2503
  "PUT /scim/v2/organizations/:org/Users/:scim_user_id": [
2382
-
2504
+ (
2383
2505
  | ScimReplaceProvisionedUserInformationEndpoint
2384
- | ScimUpdateProvisionedOrgMembershipEndpoint,
2385
-
2506
+ | ScimUpdateProvisionedOrgMembershipEndpoint
2507
+ ),
2508
+ (
2386
2509
  | ScimReplaceProvisionedUserInformationRequestOptions
2387
2510
  | ScimUpdateProvisionedOrgMembershipRequestOptions
2511
+ )
2388
2512
  ];
2389
2513
  "PUT /teams/:team_id/members/:username": [
2390
2514
  TeamsAddMemberLegacyEndpoint | TeamsAddMemberEndpoint,
2391
2515
  TeamsAddMemberLegacyRequestOptions | TeamsAddMemberRequestOptions
2392
2516
  ];
2393
2517
  "PUT /teams/:team_id/memberships/:username": [
2394
-
2518
+ (
2395
2519
  | TeamsAddOrUpdateMembershipLegacyEndpoint
2396
- | TeamsAddOrUpdateMembershipEndpoint,
2397
-
2520
+ | TeamsAddOrUpdateMembershipEndpoint
2521
+ ),
2522
+ (
2398
2523
  | TeamsAddOrUpdateMembershipLegacyRequestOptions
2399
2524
  | TeamsAddOrUpdateMembershipRequestOptions
2525
+ )
2400
2526
  ];
2401
2527
  "PUT /teams/:team_id/projects/:project_id": [
2402
2528
  TeamsAddOrUpdateProjectLegacyEndpoint | TeamsAddOrUpdateProjectEndpoint,
2403
-
2529
+ (
2404
2530
  | TeamsAddOrUpdateProjectLegacyRequestOptions
2405
2531
  | TeamsAddOrUpdateProjectRequestOptions
2532
+ )
2406
2533
  ];
2407
2534
  "PUT /teams/:team_id/repos/:owner/:repo": [
2408
2535
  TeamsAddOrUpdateRepoLegacyEndpoint | TeamsAddOrUpdateRepoEndpoint,
2409
-
2536
+ (
2410
2537
  | TeamsAddOrUpdateRepoLegacyRequestOptions
2411
2538
  | TeamsAddOrUpdateRepoRequestOptions
2539
+ )
2412
2540
  ];
2413
2541
  "PUT /user/blocks/:username": [UsersBlockEndpoint, UsersBlockRequestOptions];
2414
2542
  "PUT /user/following/:username": [
@@ -2420,8 +2548,11 @@ export interface Endpoints {
2420
2548
  AppsAddRepoToInstallationRequestOptions
2421
2549
  ];
2422
2550
  "PUT /user/starred/:owner/:repo": [
2423
- ActivityStarRepoEndpoint,
2424
- ActivityStarRepoRequestOptions
2551
+ ActivityStarRepoForAuthenticatedUserEndpoint | ActivityStarRepoEndpoint,
2552
+ (
2553
+ | ActivityStarRepoForAuthenticatedUserRequestOptions
2554
+ | ActivityStarRepoRequestOptions
2555
+ )
2425
2556
  ];
2426
2557
  "PUT /user/subscriptions/:owner/:repo": [
2427
2558
  ActivityWatchRepoLegacyEndpoint,
@@ -3025,6 +3156,13 @@ type ActivityListPublicEventsRequestOptions = {
3025
3156
  headers: RequestHeaders;
3026
3157
  request: RequestRequestOptions;
3027
3158
  };
3159
+ type ActivityGetFeedsEndpoint = {};
3160
+ type ActivityGetFeedsRequestOptions = {
3161
+ method: "GET";
3162
+ url: Url;
3163
+ headers: RequestHeaders;
3164
+ request: RequestRequestOptions;
3165
+ };
3028
3166
  type ActivityListFeedsEndpoint = {};
3029
3167
  type ActivityListFeedsRequestOptions = {
3030
3168
  method: "GET";
@@ -3806,6 +3944,38 @@ type ActivityListPublicEventsForRepoNetworkRequestOptions = {
3806
3944
  headers: RequestHeaders;
3807
3945
  request: RequestRequestOptions;
3808
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
+ };
3809
3979
  type ActivityListNotificationsEndpoint = {
3810
3980
  /**
3811
3981
  * If `true`, show notifications marked as read.
@@ -3838,9 +4008,21 @@ type ActivityListNotificationsRequestOptions = {
3838
4008
  headers: RequestHeaders;
3839
4009
  request: RequestRequestOptions;
3840
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
+ };
3841
4023
  type ActivityMarkAsReadEndpoint = {
3842
4024
  /**
3843
- * 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.
3844
4026
  */
3845
4027
  last_read_at?: string;
3846
4028
  };
@@ -3850,6 +4032,18 @@ type ActivityMarkAsReadRequestOptions = {
3850
4032
  headers: RequestHeaders;
3851
4033
  request: RequestRequestOptions;
3852
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
+ };
3853
4047
  type ActivityGetThreadEndpoint = {
3854
4048
  /**
3855
4049
  * thread_id parameter
@@ -3874,13 +4068,13 @@ type ActivityMarkThreadAsReadRequestOptions = {
3874
4068
  headers: RequestHeaders;
3875
4069
  request: RequestRequestOptions;
3876
4070
  };
3877
- type ActivityGetThreadSubscriptionEndpoint = {
4071
+ type ActivityGetThreadSubscriptionForAuthenticatedUserEndpoint = {
3878
4072
  /**
3879
4073
  * thread_id parameter
3880
4074
  */
3881
4075
  thread_id: number;
3882
4076
  };
3883
- type ActivityGetThreadSubscriptionRequestOptions = {
4077
+ type ActivityGetThreadSubscriptionForAuthenticatedUserRequestOptions = {
3884
4078
  method: "GET";
3885
4079
  url: Url;
3886
4080
  headers: RequestHeaders;
@@ -4123,6 +4317,26 @@ type OrgsRemoveCredentialAuthorizationRequestOptions = {
4123
4317
  headers: RequestHeaders;
4124
4318
  request: RequestRequestOptions;
4125
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
+ };
4126
4340
  type ActivityListPublicEventsForOrgEndpoint = {
4127
4341
  /**
4128
4342
  * org parameter
@@ -11894,6 +12108,46 @@ type IssuesListLabelsForMilestoneRequestOptions = {
11894
12108
  headers: RequestHeaders;
11895
12109
  request: RequestRequestOptions;
11896
12110
  };
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
+ };
11897
12151
  type ActivityListNotificationsForRepoEndpoint = {
11898
12152
  /**
11899
12153
  * owner parameter
@@ -11934,6 +12188,26 @@ type ActivityListNotificationsForRepoRequestOptions = {
11934
12188
  headers: RequestHeaders;
11935
12189
  request: RequestRequestOptions;
11936
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
+ };
11937
12211
  type ActivityMarkNotificationsAsReadForRepoEndpoint = {
11938
12212
  /**
11939
12213
  * owner parameter
@@ -11944,7 +12218,7 @@ type ActivityMarkNotificationsAsReadForRepoEndpoint = {
11944
12218
  */
11945
12219
  repo: string;
11946
12220
  /**
11947
- * 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.
11948
12222
  */
11949
12223
  last_read_at?: string;
11950
12224
  };
@@ -16848,6 +17122,22 @@ type ActivityListReposStarredByAuthenticatedUserRequestOptions = {
16848
17122
  headers: RequestHeaders;
16849
17123
  request: RequestRequestOptions;
16850
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
+ };
16851
17141
  type ActivityCheckStarringRepoEndpoint = {
16852
17142
  /**
16853
17143
  * owner parameter
@@ -16864,6 +17154,22 @@ type ActivityCheckStarringRepoRequestOptions = {
16864
17154
  headers: RequestHeaders;
16865
17155
  request: RequestRequestOptions;
16866
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
+ };
16867
17173
  type ActivityStarRepoEndpoint = {
16868
17174
  /**
16869
17175
  * owner parameter
@@ -16880,6 +17186,22 @@ type ActivityStarRepoRequestOptions = {
16880
17186
  headers: RequestHeaders;
16881
17187
  request: RequestRequestOptions;
16882
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
+ };
16883
17205
  type ActivityUnstarRepoEndpoint = {
16884
17206
  /**
16885
17207
  * owner parameter
@@ -17028,6 +17350,26 @@ type UsersGetByUsernameRequestOptions = {
17028
17350
  headers: RequestHeaders;
17029
17351
  request: RequestRequestOptions;
17030
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
+ };
17031
17373
  type ActivityListEventsForUserEndpoint = {
17032
17374
  /**
17033
17375
  * username parameter
@@ -17048,6 +17390,30 @@ type ActivityListEventsForUserRequestOptions = {
17048
17390
  headers: RequestHeaders;
17049
17391
  request: RequestRequestOptions;
17050
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
+ };
17051
17417
  type ActivityListEventsForOrgEndpoint = {
17052
17418
  /**
17053
17419
  * username parameter