@octokit/types 6.40.0 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const VERSION = "6.40.0";
5
+ const VERSION = "7.1.0";
6
6
 
7
7
  exports.VERSION = VERSION;
8
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- export const VERSION = "6.40.0";
1
+ export const VERSION = "7.1.0";
@@ -1 +1 @@
1
- export declare const VERSION = "6.40.0";
1
+ export declare const VERSION = "7.1.0";
@@ -65,10 +65,6 @@ export interface Endpoints {
65
65
  * @see https://docs.github.com/rest/reference/apps#unsuspend-an-app-installation
66
66
  */
67
67
  "DELETE /app/installations/{installation_id}/suspended": Operation<"/app/installations/{installation_id}/suspended", "delete">;
68
- /**
69
- * @see https://docs.github.com/rest/reference/oauth-authorizations#delete-a-grant
70
- */
71
- "DELETE /applications/grants/{grant_id}": Operation<"/applications/grants/{grant_id}", "delete">;
72
68
  /**
73
69
  * @see https://docs.github.com/rest/reference/apps#delete-an-app-authorization
74
70
  */
@@ -77,10 +73,6 @@ export interface Endpoints {
77
73
  * @see https://docs.github.com/rest/reference/apps#delete-an-app-token
78
74
  */
79
75
  "DELETE /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "delete">;
80
- /**
81
- * @see https://docs.github.com/rest/reference/oauth-authorizations#delete-an-authorization
82
- */
83
- "DELETE /authorizations/{authorization_id}": Operation<"/authorizations/{authorization_id}", "delete">;
84
76
  /**
85
77
  * @see https://docs.github.com/rest/reference/actions#disable-a-selected-organization-for-github-actions-in-an-enterprise
86
78
  */
@@ -229,6 +221,10 @@ export interface Endpoints {
229
221
  * @see https://docs.github.com/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user
230
222
  */
231
223
  "DELETE /orgs/{org}/public_members/{username}": Operation<"/orgs/{org}/public_members/{username}", "delete">;
224
+ /**
225
+ * @see https://docs.github.com/rest/reference/orgs#remove-a-security-manager-team
226
+ */
227
+ "DELETE /orgs/{org}/security-managers/teams/{team_slug}": Operation<"/orgs/{org}/security-managers/teams/{team_slug}", "delete">;
232
228
  /**
233
229
  * @see https://docs.github.com/rest/reference/teams#delete-a-team
234
230
  */
@@ -378,11 +374,11 @@ export interface Endpoints {
378
374
  */
379
375
  "DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/codespaces/secrets/{secret_name}", "delete">;
380
376
  /**
381
- * @see https://docs.github.com/rest/reference/repos#remove-a-repository-collaborator
377
+ * @see https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator
382
378
  */
383
379
  "DELETE /repos/{owner}/{repo}/collaborators/{username}": Operation<"/repos/{owner}/{repo}/collaborators/{username}", "delete">;
384
380
  /**
385
- * @see https://docs.github.com/rest/reference/repos#delete-a-commit-comment
381
+ * @see https://docs.github.com/rest/commits/comments#delete-a-commit-comment
386
382
  */
387
383
  "DELETE /repos/{owner}/{repo}/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/comments/{comment_id}", "delete">;
388
384
  /**
@@ -405,12 +401,16 @@ export interface Endpoints {
405
401
  * @see https://docs.github.com/rest/reference/repos#delete-an-environment
406
402
  */
407
403
  "DELETE /repos/{owner}/{repo}/environments/{environment_name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}", "delete">;
404
+ /**
405
+ * @see https://docs.github.com/rest/deployments/branch-policies#delete-deployment-branch-policy
406
+ */
407
+ "DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}", "delete">;
408
408
  /**
409
409
  * @see https://docs.github.com/rest/reference/git#delete-a-reference
410
410
  */
411
411
  "DELETE /repos/{owner}/{repo}/git/refs/{ref}": Operation<"/repos/{owner}/{repo}/git/refs/{ref}", "delete">;
412
412
  /**
413
- * @see https://docs.github.com/rest/reference/repos#delete-a-repository-webhook
413
+ * @see https://docs.github.com/rest/webhooks/repos#delete-a-repository-webhook
414
414
  */
415
415
  "DELETE /repos/{owner}/{repo}/hooks/{hook_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}", "delete">;
416
416
  /**
@@ -422,7 +422,7 @@ export interface Endpoints {
422
422
  */
423
423
  "DELETE /repos/{owner}/{repo}/interaction-limits": Operation<"/repos/{owner}/{repo}/interaction-limits", "delete">;
424
424
  /**
425
- * @see https://docs.github.com/rest/reference/repos#delete-a-repository-invitation
425
+ * @see https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation
426
426
  */
427
427
  "DELETE /repos/{owner}/{repo}/invitations/{invitation_id}": Operation<"/repos/{owner}/{repo}/invitations/{invitation_id}", "delete">;
428
428
  /**
@@ -470,7 +470,7 @@ export interface Endpoints {
470
470
  */
471
471
  "DELETE /repos/{owner}/{repo}/milestones/{milestone_number}": Operation<"/repos/{owner}/{repo}/milestones/{milestone_number}", "delete">;
472
472
  /**
473
- * @see https://docs.github.com/rest/reference/repos#delete-a-github-pages-site
473
+ * @see https://docs.github.com/rest/pages#delete-a-github-pages-site
474
474
  */
475
475
  "DELETE /repos/{owner}/{repo}/pages": Operation<"/repos/{owner}/{repo}/pages", "delete">;
476
476
  /**
@@ -614,7 +614,7 @@ export interface Endpoints {
614
614
  */
615
615
  "DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}": Operation<"/user/packages/{package_type}/{package_name}/versions/{package_version_id}", "delete">;
616
616
  /**
617
- * @see https://docs.github.com/rest/reference/repos#decline-a-repository-invitation
617
+ * @see https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation
618
618
  */
619
619
  "DELETE /user/repository_invitations/{invitation_id}": Operation<"/user/repository_invitations/{invitation_id}", "delete">;
620
620
  /**
@@ -657,26 +657,10 @@ export interface Endpoints {
657
657
  * @see https://docs.github.com/rest/reference/apps#get-an-installation-for-the-authenticated-app
658
658
  */
659
659
  "GET /app/installations/{installation_id}": Operation<"/app/installations/{installation_id}", "get">;
660
- /**
661
- * @see https://docs.github.com/rest/reference/oauth-authorizations#list-your-grants
662
- */
663
- "GET /applications/grants": Operation<"/applications/grants", "get">;
664
- /**
665
- * @see https://docs.github.com/rest/reference/oauth-authorizations#get-a-single-grant
666
- */
667
- "GET /applications/grants/{grant_id}": Operation<"/applications/grants/{grant_id}", "get">;
668
660
  /**
669
661
  * @see https://docs.github.com/rest/reference/apps/#get-an-app
670
662
  */
671
663
  "GET /apps/{app_slug}": Operation<"/apps/{app_slug}", "get">;
672
- /**
673
- * @see https://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations
674
- */
675
- "GET /authorizations": Operation<"/authorizations", "get">;
676
- /**
677
- * @see https://docs.github.com/rest/reference/oauth-authorizations#get-a-single-authorization
678
- */
679
- "GET /authorizations/{authorization_id}": Operation<"/authorizations/{authorization_id}", "get">;
680
664
  /**
681
665
  * @see https://docs.github.com/rest/reference/codes-of-conduct#get-all-codes-of-conduct
682
666
  */
@@ -749,6 +733,18 @@ export interface Endpoints {
749
733
  * @see https://docs.github.com/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise
750
734
  */
751
735
  "GET /enterprises/{enterprise}/audit-log": Operation<"/enterprises/{enterprise}/audit-log", "get">;
736
+ /**
737
+ * @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-an-enterprise
738
+ */
739
+ "GET /enterprises/{enterprise}/code-scanning/alerts": Operation<"/enterprises/{enterprise}/code-scanning/alerts", "get">;
740
+ /**
741
+ * @see https://docs.github.com/rest/reference/enterprise-admin#list-enterprise-consumed-licenses
742
+ */
743
+ "GET /enterprises/{enterprise}/consumed-licenses": Operation<"/enterprises/{enterprise}/consumed-licenses", "get">;
744
+ /**
745
+ * @see https://docs.github.com/rest/reference/enterprise-admin#get-a-license-sync-status
746
+ */
747
+ "GET /enterprises/{enterprise}/license-sync-status": Operation<"/enterprises/{enterprise}/license-sync-status", "get">;
752
748
  /**
753
749
  * @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-enterprise
754
750
  */
@@ -1150,6 +1146,10 @@ export interface Endpoints {
1150
1146
  * @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-organization
1151
1147
  */
1152
1148
  "GET /orgs/{org}/secret-scanning/alerts": Operation<"/orgs/{org}/secret-scanning/alerts", "get">;
1149
+ /**
1150
+ * @see https://docs.github.com/rest/reference/orgs#list-security-manager-teams
1151
+ */
1152
+ "GET /orgs/{org}/security-managers": Operation<"/orgs/{org}/security-managers", "get">;
1153
1153
  /**
1154
1154
  * @see https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-organization
1155
1155
  */
@@ -1556,23 +1556,23 @@ export interface Endpoints {
1556
1556
  */
1557
1557
  "GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/codespaces/secrets/{secret_name}", "get">;
1558
1558
  /**
1559
- * @see https://docs.github.com/rest/reference/repos#list-repository-collaborators
1559
+ * @see https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators
1560
1560
  */
1561
1561
  "GET /repos/{owner}/{repo}/collaborators": Operation<"/repos/{owner}/{repo}/collaborators", "get">;
1562
1562
  /**
1563
- * @see https://docs.github.com/rest/reference/repos#check-if-a-user-is-a-repository-collaborator
1563
+ * @see https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator
1564
1564
  */
1565
1565
  "GET /repos/{owner}/{repo}/collaborators/{username}": Operation<"/repos/{owner}/{repo}/collaborators/{username}", "get">;
1566
1566
  /**
1567
- * @see https://docs.github.com/rest/reference/repos#get-repository-permissions-for-a-user
1567
+ * @see https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user
1568
1568
  */
1569
1569
  "GET /repos/{owner}/{repo}/collaborators/{username}/permission": Operation<"/repos/{owner}/{repo}/collaborators/{username}/permission", "get">;
1570
1570
  /**
1571
- * @see https://docs.github.com/rest/reference/repos#list-commit-comments-for-a-repository
1571
+ * @see https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository
1572
1572
  */
1573
1573
  "GET /repos/{owner}/{repo}/comments": Operation<"/repos/{owner}/{repo}/comments", "get">;
1574
1574
  /**
1575
- * @see https://docs.github.com/rest/reference/repos#get-a-commit-comment
1575
+ * @see https://docs.github.com/rest/commits/comments#get-a-commit-comment
1576
1576
  */
1577
1577
  "GET /repos/{owner}/{repo}/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/comments/{comment_id}", "get">;
1578
1578
  /**
@@ -1580,23 +1580,23 @@ export interface Endpoints {
1580
1580
  */
1581
1581
  "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions": Operation<"/repos/{owner}/{repo}/comments/{comment_id}/reactions", "get">;
1582
1582
  /**
1583
- * @see https://docs.github.com/rest/reference/repos#list-commits
1583
+ * @see https://docs.github.com/rest/commits/commits#list-commits
1584
1584
  */
1585
1585
  "GET /repos/{owner}/{repo}/commits": Operation<"/repos/{owner}/{repo}/commits", "get">;
1586
1586
  /**
1587
- * @see https://docs.github.com/rest/reference/repos#list-branches-for-head-commit
1587
+ * @see https://docs.github.com/rest/commits/commits#list-branches-for-head-commit
1588
1588
  */
1589
1589
  "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", "get">;
1590
1590
  /**
1591
- * @see https://docs.github.com/rest/reference/repos#list-commit-comments
1591
+ * @see https://docs.github.com/rest/commits/comments#list-commit-comments
1592
1592
  */
1593
1593
  "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/comments", "get">;
1594
1594
  /**
1595
- * @see https://docs.github.com/rest/reference/repos#list-pull-requests-associated-with-a-commit
1595
+ * @see https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit
1596
1596
  */
1597
1597
  "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/pulls", "get">;
1598
1598
  /**
1599
- * @see https://docs.github.com/rest/reference/repos#get-a-commit
1599
+ * @see https://docs.github.com/rest/commits/commits#get-a-commit
1600
1600
  */
1601
1601
  "GET /repos/{owner}/{repo}/commits/{ref}": Operation<"/repos/{owner}/{repo}/commits/{ref}", "get">;
1602
1602
  /**
@@ -1608,19 +1608,19 @@ export interface Endpoints {
1608
1608
  */
1609
1609
  "GET /repos/{owner}/{repo}/commits/{ref}/check-suites": Operation<"/repos/{owner}/{repo}/commits/{ref}/check-suites", "get">;
1610
1610
  /**
1611
- * @see https://docs.github.com/rest/reference/repos#get-the-combined-status-for-a-specific-reference
1611
+ * @see https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference
1612
1612
  */
1613
1613
  "GET /repos/{owner}/{repo}/commits/{ref}/status": Operation<"/repos/{owner}/{repo}/commits/{ref}/status", "get">;
1614
1614
  /**
1615
- * @see https://docs.github.com/rest/reference/repos#list-commit-statuses-for-a-reference
1615
+ * @see https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference
1616
1616
  */
1617
1617
  "GET /repos/{owner}/{repo}/commits/{ref}/statuses": Operation<"/repos/{owner}/{repo}/commits/{ref}/statuses", "get">;
1618
1618
  /**
1619
- * @see https://docs.github.com/rest/reference/repos#get-community-profile-metrics
1619
+ * @see https://docs.github.com/rest/metrics/community#get-community-profile-metrics
1620
1620
  */
1621
1621
  "GET /repos/{owner}/{repo}/community/profile": Operation<"/repos/{owner}/{repo}/community/profile", "get">;
1622
1622
  /**
1623
- * @see https://docs.github.com/rest/reference/repos#compare-two-commits
1623
+ * @see https://docs.github.com/rest/commits/commits#compare-two-commits
1624
1624
  */
1625
1625
  "GET /repos/{owner}/{repo}/compare/{basehead}": Operation<"/repos/{owner}/{repo}/compare/{basehead}", "get">;
1626
1626
  /**
@@ -1668,13 +1668,21 @@ export interface Endpoints {
1668
1668
  */
1669
1669
  "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}": Operation<"/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", "get">;
1670
1670
  /**
1671
- * @see https://docs.github.com/rest/reference/repos#get-all-environments
1671
+ * @see https://docs.github.com/rest/deployments/environments#list-environments
1672
1672
  */
1673
1673
  "GET /repos/{owner}/{repo}/environments": Operation<"/repos/{owner}/{repo}/environments", "get">;
1674
1674
  /**
1675
1675
  * @see https://docs.github.com/rest/reference/repos#get-an-environment
1676
1676
  */
1677
1677
  "GET /repos/{owner}/{repo}/environments/{environment_name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}", "get">;
1678
+ /**
1679
+ * @see https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies
1680
+ */
1681
+ "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies", "get">;
1682
+ /**
1683
+ * @see https://docs.github.com/rest/deployments/branch-policies#get-deployment-branch-policy
1684
+ */
1685
+ "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}", "get">;
1678
1686
  /**
1679
1687
  * @see https://docs.github.com/rest/reference/activity#list-repository-events
1680
1688
  */
@@ -1708,23 +1716,23 @@ export interface Endpoints {
1708
1716
  */
1709
1717
  "GET /repos/{owner}/{repo}/git/trees/{tree_sha}": Operation<"/repos/{owner}/{repo}/git/trees/{tree_sha}", "get">;
1710
1718
  /**
1711
- * @see https://docs.github.com/rest/reference/repos#list-repository-webhooks
1719
+ * @see https://docs.github.com/rest/webhooks/repos#list-repository-webhooks
1712
1720
  */
1713
1721
  "GET /repos/{owner}/{repo}/hooks": Operation<"/repos/{owner}/{repo}/hooks", "get">;
1714
1722
  /**
1715
- * @see https://docs.github.com/rest/reference/repos#get-a-repository-webhook
1723
+ * @see https://docs.github.com/rest/webhooks/repos#get-a-repository-webhook
1716
1724
  */
1717
1725
  "GET /repos/{owner}/{repo}/hooks/{hook_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}", "get">;
1718
1726
  /**
1719
- * @see https://docs.github.com/rest/reference/repos#get-a-webhook-configuration-for-a-repository
1727
+ * @see https://docs.github.com/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository
1720
1728
  */
1721
1729
  "GET /repos/{owner}/{repo}/hooks/{hook_id}/config": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/config", "get">;
1722
1730
  /**
1723
- * @see https://docs.github.com/rest/reference/repos#list-deliveries-for-a-repository-webhook
1731
+ * @see https://docs.github.com/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook
1724
1732
  */
1725
1733
  "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries", "get">;
1726
1734
  /**
1727
- * @see https://docs.github.com/rest/reference/repos#get-a-delivery-for-a-repository-webhook
1735
+ * @see https://docs.github.com/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook
1728
1736
  */
1729
1737
  "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}", "get">;
1730
1738
  /**
@@ -1748,7 +1756,7 @@ export interface Endpoints {
1748
1756
  */
1749
1757
  "GET /repos/{owner}/{repo}/interaction-limits": Operation<"/repos/{owner}/{repo}/interaction-limits", "get">;
1750
1758
  /**
1751
- * @see https://docs.github.com/rest/reference/repos#list-repository-invitations
1759
+ * @see https://docs.github.com/rest/collaborators/invitations#list-repository-invitations
1752
1760
  */
1753
1761
  "GET /repos/{owner}/{repo}/invitations": Operation<"/repos/{owner}/{repo}/invitations", "get">;
1754
1762
  /**
@@ -1840,23 +1848,23 @@ export interface Endpoints {
1840
1848
  */
1841
1849
  "GET /repos/{owner}/{repo}/notifications": Operation<"/repos/{owner}/{repo}/notifications", "get">;
1842
1850
  /**
1843
- * @see https://docs.github.com/rest/reference/repos#get-a-github-pages-site
1851
+ * @see https://docs.github.com/rest/pages#get-a-github-pages-site
1844
1852
  */
1845
1853
  "GET /repos/{owner}/{repo}/pages": Operation<"/repos/{owner}/{repo}/pages", "get">;
1846
1854
  /**
1847
- * @see https://docs.github.com/rest/reference/repos#list-github-pages-builds
1855
+ * @see https://docs.github.com/rest/pages#list-github-pages-builds
1848
1856
  */
1849
1857
  "GET /repos/{owner}/{repo}/pages/builds": Operation<"/repos/{owner}/{repo}/pages/builds", "get">;
1850
1858
  /**
1851
- * @see https://docs.github.com/rest/reference/repos#get-latest-pages-build
1859
+ * @see https://docs.github.com/rest/pages#get-latest-pages-build
1852
1860
  */
1853
1861
  "GET /repos/{owner}/{repo}/pages/builds/latest": Operation<"/repos/{owner}/{repo}/pages/builds/latest", "get">;
1854
1862
  /**
1855
- * @see https://docs.github.com/rest/reference/repos#get-github-pages-build
1863
+ * @see https://docs.github.com/rest/pages#get-github-pages-build
1856
1864
  */
1857
1865
  "GET /repos/{owner}/{repo}/pages/builds/{build_id}": Operation<"/repos/{owner}/{repo}/pages/builds/{build_id}", "get">;
1858
1866
  /**
1859
- * @see https://docs.github.com/rest/reference/repos#get-a-dns-health-check-for-github-pages
1867
+ * @see https://docs.github.com/rest/pages#get-a-dns-health-check-for-github-pages
1860
1868
  */
1861
1869
  "GET /repos/{owner}/{repo}/pages/health": Operation<"/repos/{owner}/{repo}/pages/health", "get">;
1862
1870
  /**
@@ -1900,7 +1908,7 @@ export interface Endpoints {
1900
1908
  */
1901
1909
  "GET /repos/{owner}/{repo}/pulls/{pull_number}/merge": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/merge", "get">;
1902
1910
  /**
1903
- * @see https://docs.github.com/rest/reference/pulls#list-requested-reviewers-for-a-pull-request
1911
+ * @see https://docs.github.com/rest/reference/pulls#get-all-requested-reviewers-for-a-pull-request
1904
1912
  */
1905
1913
  "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", "get">;
1906
1914
  /**
@@ -1968,23 +1976,23 @@ export interface Endpoints {
1968
1976
  */
1969
1977
  "GET /repos/{owner}/{repo}/stargazers": Operation<"/repos/{owner}/{repo}/stargazers", "get">;
1970
1978
  /**
1971
- * @see https://docs.github.com/rest/reference/repos#get-the-weekly-commit-activity
1979
+ * @see https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity
1972
1980
  */
1973
1981
  "GET /repos/{owner}/{repo}/stats/code_frequency": Operation<"/repos/{owner}/{repo}/stats/code_frequency", "get">;
1974
1982
  /**
1975
- * @see https://docs.github.com/rest/reference/repos#get-the-last-year-of-commit-activity
1983
+ * @see https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity
1976
1984
  */
1977
1985
  "GET /repos/{owner}/{repo}/stats/commit_activity": Operation<"/repos/{owner}/{repo}/stats/commit_activity", "get">;
1978
1986
  /**
1979
- * @see https://docs.github.com/rest/reference/repos#get-all-contributor-commit-activity
1987
+ * @see https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity
1980
1988
  */
1981
1989
  "GET /repos/{owner}/{repo}/stats/contributors": Operation<"/repos/{owner}/{repo}/stats/contributors", "get">;
1982
1990
  /**
1983
- * @see https://docs.github.com/rest/reference/repos#get-the-weekly-commit-count
1991
+ * @see https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count
1984
1992
  */
1985
1993
  "GET /repos/{owner}/{repo}/stats/participation": Operation<"/repos/{owner}/{repo}/stats/participation", "get">;
1986
1994
  /**
1987
- * @see https://docs.github.com/rest/reference/repos#get-the-hourly-commit-count-for-each-day
1995
+ * @see https://docs.github.com/rest/statistics/repos#get-the-hourly-commit-count-for-each-day
1988
1996
  */
1989
1997
  "GET /repos/{owner}/{repo}/stats/punch_card": Operation<"/repos/{owner}/{repo}/stats/punch_card", "get">;
1990
1998
  /**
@@ -2016,19 +2024,19 @@ export interface Endpoints {
2016
2024
  */
2017
2025
  "GET /repos/{owner}/{repo}/topics": Operation<"/repos/{owner}/{repo}/topics", "get">;
2018
2026
  /**
2019
- * @see https://docs.github.com/rest/reference/repos#get-repository-clones
2027
+ * @see https://docs.github.com/rest/metrics/traffic#get-repository-clones
2020
2028
  */
2021
2029
  "GET /repos/{owner}/{repo}/traffic/clones": Operation<"/repos/{owner}/{repo}/traffic/clones", "get">;
2022
2030
  /**
2023
- * @see https://docs.github.com/rest/reference/repos#get-top-referral-paths
2031
+ * @see https://docs.github.com/rest/metrics/traffic#get-top-referral-paths
2024
2032
  */
2025
2033
  "GET /repos/{owner}/{repo}/traffic/popular/paths": Operation<"/repos/{owner}/{repo}/traffic/popular/paths", "get">;
2026
2034
  /**
2027
- * @see https://docs.github.com/rest/reference/repos#get-top-referral-sources
2035
+ * @see https://docs.github.com/rest/metrics/traffic#get-top-referral-sources
2028
2036
  */
2029
2037
  "GET /repos/{owner}/{repo}/traffic/popular/referrers": Operation<"/repos/{owner}/{repo}/traffic/popular/referrers", "get">;
2030
2038
  /**
2031
- * @see https://docs.github.com/rest/reference/repos#get-page-views
2039
+ * @see https://docs.github.com/rest/metrics/traffic#get-page-views
2032
2040
  */
2033
2041
  "GET /repos/{owner}/{repo}/traffic/views": Operation<"/repos/{owner}/{repo}/traffic/views", "get">;
2034
2042
  /**
@@ -2328,7 +2336,7 @@ export interface Endpoints {
2328
2336
  */
2329
2337
  "GET /user/repos": Operation<"/user/repos", "get">;
2330
2338
  /**
2331
- * @see https://docs.github.com/rest/reference/repos#list-repository-invitations-for-the-authenticated-user
2339
+ * @see https://docs.github.com/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user
2332
2340
  */
2333
2341
  "GET /user/repository_invitations": Operation<"/user/repository_invitations", "get">;
2334
2342
  /**
@@ -2467,10 +2475,6 @@ export interface Endpoints {
2467
2475
  * @see https://docs.github.com/rest/reference/apps#reset-a-token
2468
2476
  */
2469
2477
  "PATCH /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "patch">;
2470
- /**
2471
- * @see https://docs.github.com/rest/reference/oauth-authorizations#update-an-existing-authorization
2472
- */
2473
- "PATCH /authorizations/{authorization_id}": Operation<"/authorizations/{authorization_id}", "patch">;
2474
2478
  /**
2475
2479
  * @see https://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-enterprise
2476
2480
  */
@@ -2560,7 +2564,7 @@ export interface Endpoints {
2560
2564
  */
2561
2565
  "PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", "patch">;
2562
2566
  /**
2563
- * @see https://docs.github.com/rest/reference/repos#update-a-commit-comment
2567
+ * @see https://docs.github.com/rest/commits/comments#update-a-commit-comment
2564
2568
  */
2565
2569
  "PATCH /repos/{owner}/{repo}/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/comments/{comment_id}", "patch">;
2566
2570
  /**
@@ -2568,11 +2572,11 @@ export interface Endpoints {
2568
2572
  */
2569
2573
  "PATCH /repos/{owner}/{repo}/git/refs/{ref}": Operation<"/repos/{owner}/{repo}/git/refs/{ref}", "patch">;
2570
2574
  /**
2571
- * @see https://docs.github.com/rest/reference/repos#update-a-repository-webhook
2575
+ * @see https://docs.github.com/rest/webhooks/repos#update-a-repository-webhook
2572
2576
  */
2573
2577
  "PATCH /repos/{owner}/{repo}/hooks/{hook_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}", "patch">;
2574
2578
  /**
2575
- * @see https://docs.github.com/rest/reference/repos#update-a-webhook-configuration-for-a-repository
2579
+ * @see https://docs.github.com/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository
2576
2580
  */
2577
2581
  "PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/config", "patch">;
2578
2582
  /**
@@ -2588,7 +2592,7 @@ export interface Endpoints {
2588
2592
  */
2589
2593
  "PATCH /repos/{owner}/{repo}/import/lfs": Operation<"/repos/{owner}/{repo}/import/lfs", "patch">;
2590
2594
  /**
2591
- * @see https://docs.github.com/rest/reference/repos#update-a-repository-invitation
2595
+ * @see https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation
2592
2596
  */
2593
2597
  "PATCH /repos/{owner}/{repo}/invitations/{invitation_id}": Operation<"/repos/{owner}/{repo}/invitations/{invitation_id}", "patch">;
2594
2598
  /**
@@ -2672,7 +2676,7 @@ export interface Endpoints {
2672
2676
  */
2673
2677
  "PATCH /user/memberships/orgs/{org}": Operation<"/user/memberships/orgs/{org}", "patch">;
2674
2678
  /**
2675
- * @see https://docs.github.com/rest/reference/repos#accept-a-repository-invitation
2679
+ * @see https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation
2676
2680
  */
2677
2681
  "PATCH /user/repository_invitations/{invitation_id}": Operation<"/user/repository_invitations/{invitation_id}", "patch">;
2678
2682
  /**
@@ -2695,10 +2699,6 @@ export interface Endpoints {
2695
2699
  * @see https://docs.github.com/rest/reference/apps#create-a-scoped-access-token
2696
2700
  */
2697
2701
  "POST /applications/{client_id}/token/scoped": Operation<"/applications/{client_id}/token/scoped", "post">;
2698
- /**
2699
- * @see https://docs.github.com/rest/reference/oauth-authorizations#create-a-new-authorization
2700
- */
2701
- "POST /authorizations": Operation<"/authorizations", "post">;
2702
2702
  /**
2703
2703
  * @see https://docs.github.com/rest/reference/actions#create-self-hosted-runner-group-for-an-enterprise
2704
2704
  */
@@ -2928,7 +2928,7 @@ export interface Endpoints {
2928
2928
  */
2929
2929
  "POST /repos/{owner}/{repo}/comments/{comment_id}/reactions": Operation<"/repos/{owner}/{repo}/comments/{comment_id}/reactions", "post">;
2930
2930
  /**
2931
- * @see https://docs.github.com/rest/reference/repos#create-a-commit-comment
2931
+ * @see https://docs.github.com/rest/commits/comments#create-a-commit-comment
2932
2932
  */
2933
2933
  "POST /repos/{owner}/{repo}/commits/{commit_sha}/comments": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/comments", "post">;
2934
2934
  /**
@@ -2947,6 +2947,10 @@ export interface Endpoints {
2947
2947
  * @see https://docs.github.com/rest/reference/repos#create-a-repository-dispatch-event
2948
2948
  */
2949
2949
  "POST /repos/{owner}/{repo}/dispatches": Operation<"/repos/{owner}/{repo}/dispatches", "post">;
2950
+ /**
2951
+ * @see https://docs.github.com/rest/deployments/branch-policies#create-deployment-branch-policy
2952
+ */
2953
+ "POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies", "post">;
2950
2954
  /**
2951
2955
  * @see https://docs.github.com/rest/reference/repos#create-a-fork
2952
2956
  */
@@ -2972,19 +2976,19 @@ export interface Endpoints {
2972
2976
  */
2973
2977
  "POST /repos/{owner}/{repo}/git/trees": Operation<"/repos/{owner}/{repo}/git/trees", "post">;
2974
2978
  /**
2975
- * @see https://docs.github.com/rest/reference/repos#create-a-repository-webhook
2979
+ * @see https://docs.github.com/rest/webhooks/repos#create-a-repository-webhook
2976
2980
  */
2977
2981
  "POST /repos/{owner}/{repo}/hooks": Operation<"/repos/{owner}/{repo}/hooks", "post">;
2978
2982
  /**
2979
- * @see https://docs.github.com/rest/reference/repos#redeliver-a-delivery-for-a-repository-webhook
2983
+ * @see https://docs.github.com/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook
2980
2984
  */
2981
2985
  "POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts", "post">;
2982
2986
  /**
2983
- * @see https://docs.github.com/rest/reference/repos#ping-a-repository-webhook
2987
+ * @see https://docs.github.com/rest/webhooks/repos#ping-a-repository-webhook
2984
2988
  */
2985
2989
  "POST /repos/{owner}/{repo}/hooks/{hook_id}/pings": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/pings", "post">;
2986
2990
  /**
2987
- * @see https://docs.github.com/rest/reference/repos#test-the-push-repository-webhook
2991
+ * @see https://docs.github.com/rest/webhooks/repos#test-the-push-repository-webhook
2988
2992
  */
2989
2993
  "POST /repos/{owner}/{repo}/hooks/{hook_id}/tests": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/tests", "post">;
2990
2994
  /**
@@ -3032,13 +3036,17 @@ export interface Endpoints {
3032
3036
  */
3033
3037
  "POST /repos/{owner}/{repo}/milestones": Operation<"/repos/{owner}/{repo}/milestones", "post">;
3034
3038
  /**
3035
- * @see https://docs.github.com/rest/reference/repos#create-a-github-pages-site
3039
+ * @see https://docs.github.com/rest/pages#create-a-github-pages-site
3036
3040
  */
3037
3041
  "POST /repos/{owner}/{repo}/pages": Operation<"/repos/{owner}/{repo}/pages", "post">;
3038
3042
  /**
3039
- * @see https://docs.github.com/rest/reference/repos#request-a-github-pages-build
3043
+ * @see https://docs.github.com/rest/pages#request-a-github-pages-build
3040
3044
  */
3041
3045
  "POST /repos/{owner}/{repo}/pages/builds": Operation<"/repos/{owner}/{repo}/pages/builds", "post">;
3046
+ /**
3047
+ * @see https://docs.github.com/rest/pages#create-a-github-pages-deployment
3048
+ */
3049
+ "POST /repos/{owner}/{repo}/pages/deployment": Operation<"/repos/{owner}/{repo}/pages/deployment", "post">;
3042
3050
  /**
3043
3051
  * @see https://docs.github.com/rest/reference/projects#create-a-repository-project
3044
3052
  */
@@ -3088,7 +3096,7 @@ export interface Endpoints {
3088
3096
  */
3089
3097
  "POST /repos/{owner}/{repo}/releases/{release_id}/reactions": Operation<"/repos/{owner}/{repo}/releases/{release_id}/reactions", "post">;
3090
3098
  /**
3091
- * @see https://docs.github.com/rest/reference/repos#create-a-commit-status
3099
+ * @see https://docs.github.com/rest/commits/statuses#create-a-commit-status
3092
3100
  */
3093
3101
  "POST /repos/{owner}/{repo}/statuses/{sha}": Operation<"/repos/{owner}/{repo}/statuses/{sha}", "post">;
3094
3102
  /**
@@ -3195,14 +3203,6 @@ export interface Endpoints {
3195
3203
  * @see https://docs.github.com/rest/reference/apps#suspend-an-app-installation
3196
3204
  */
3197
3205
  "PUT /app/installations/{installation_id}/suspended": Operation<"/app/installations/{installation_id}/suspended", "put">;
3198
- /**
3199
- * @see https://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app
3200
- */
3201
- "PUT /authorizations/clients/{client_id}": Operation<"/authorizations/clients/{client_id}", "put">;
3202
- /**
3203
- * @see https://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint
3204
- */
3205
- "PUT /authorizations/clients/{client_id}/{fingerprint}": Operation<"/authorizations/clients/{client_id}/{fingerprint}", "put">;
3206
3206
  /**
3207
3207
  * @see https://docs.github.com/rest/reference/actions/oidc#set-actions-oidc-custom-issuer-policy-for-enterprise
3208
3208
  */
@@ -3347,6 +3347,10 @@ export interface Endpoints {
3347
3347
  * @see https://docs.github.com/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user
3348
3348
  */
3349
3349
  "PUT /orgs/{org}/public_members/{username}": Operation<"/orgs/{org}/public_members/{username}", "put">;
3350
+ /**
3351
+ * @see https://docs.github.com/rest/reference/orgs#add-a-security-manager-team
3352
+ */
3353
+ "PUT /orgs/{org}/security-managers/teams/{team_slug}": Operation<"/orgs/{org}/security-managers/teams/{team_slug}", "put">;
3350
3354
  /**
3351
3355
  * @see https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user
3352
3356
  */
@@ -3428,7 +3432,7 @@ export interface Endpoints {
3428
3432
  */
3429
3433
  "PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/codespaces/secrets/{secret_name}", "put">;
3430
3434
  /**
3431
- * @see https://docs.github.com/rest/reference/repos#add-a-repository-collaborator
3435
+ * @see https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator
3432
3436
  */
3433
3437
  "PUT /repos/{owner}/{repo}/collaborators/{username}": Operation<"/repos/{owner}/{repo}/collaborators/{username}", "put">;
3434
3438
  /**
@@ -3443,6 +3447,10 @@ export interface Endpoints {
3443
3447
  * @see https://docs.github.com/rest/reference/repos#create-or-update-an-environment
3444
3448
  */
3445
3449
  "PUT /repos/{owner}/{repo}/environments/{environment_name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}", "put">;
3450
+ /**
3451
+ * @see https://docs.github.com/rest/deployments/branch-policies#update-deployment-branch-policy
3452
+ */
3453
+ "PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}", "put">;
3446
3454
  /**
3447
3455
  * @see https://docs.github.com/rest/reference/migrations#start-an-import
3448
3456
  */
@@ -3468,7 +3476,7 @@ export interface Endpoints {
3468
3476
  */
3469
3477
  "PUT /repos/{owner}/{repo}/notifications": Operation<"/repos/{owner}/{repo}/notifications", "put">;
3470
3478
  /**
3471
- * @see https://docs.github.com/rest/reference/repos#update-information-about-a-github-pages-site
3479
+ * @see https://docs.github.com/rest/pages#update-information-about-a-github-pages-site
3472
3480
  */
3473
3481
  "PUT /repos/{owner}/{repo}/pages": Operation<"/repos/{owner}/{repo}/pages", "put">;
3474
3482
  /**
package/dist-web/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const VERSION = "6.40.0";
1
+ const VERSION = "7.1.0";
2
2
 
3
3
  export { VERSION };
4
4
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@octokit/types",
3
3
  "description": "Shared TypeScript definitions for Octokit projects",
4
- "version": "6.40.0",
4
+ "version": "7.1.0",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "dist-*/",
@@ -10,7 +10,7 @@
10
10
  "source": "dist-src/index.js",
11
11
  "types": "dist-types/index.d.ts",
12
12
  "octokit": {
13
- "openapi-version": "6.7.0"
13
+ "openapi-version": "7.2.0"
14
14
  },
15
15
  "main": "dist-node/index.js",
16
16
  "module": "dist-web/index.js",
@@ -25,7 +25,7 @@
25
25
  ],
26
26
  "repository": "github:octokit/types.ts",
27
27
  "dependencies": {
28
- "@octokit/openapi-types": "^12.10.0"
28
+ "@octokit/openapi-types": "^13.1.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@pika/pack": "^0.3.7",