@octokit/types 6.41.0 → 7.1.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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const VERSION = "6.41.0";
5
+ const VERSION = "7.1.1";
6
6
 
7
7
  exports.VERSION = VERSION;
8
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- export const VERSION = "6.41.0";
1
+ export const VERSION = "7.1.1";
@@ -1 +1 @@
1
- export declare const VERSION = "6.41.0";
1
+ export declare const VERSION = "7.1.1";
@@ -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
  */
@@ -753,6 +737,14 @@ export interface Endpoints {
753
737
  * @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-an-enterprise
754
738
  */
755
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">;
756
748
  /**
757
749
  * @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-enterprise
758
750
  */
@@ -1154,6 +1146,10 @@ export interface Endpoints {
1154
1146
  * @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-organization
1155
1147
  */
1156
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">;
1157
1153
  /**
1158
1154
  * @see https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-organization
1159
1155
  */
@@ -1560,23 +1556,23 @@ export interface Endpoints {
1560
1556
  */
1561
1557
  "GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/codespaces/secrets/{secret_name}", "get">;
1562
1558
  /**
1563
- * @see https://docs.github.com/rest/reference/repos#list-repository-collaborators
1559
+ * @see https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators
1564
1560
  */
1565
1561
  "GET /repos/{owner}/{repo}/collaborators": Operation<"/repos/{owner}/{repo}/collaborators", "get">;
1566
1562
  /**
1567
- * @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
1568
1564
  */
1569
1565
  "GET /repos/{owner}/{repo}/collaborators/{username}": Operation<"/repos/{owner}/{repo}/collaborators/{username}", "get">;
1570
1566
  /**
1571
- * @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
1572
1568
  */
1573
1569
  "GET /repos/{owner}/{repo}/collaborators/{username}/permission": Operation<"/repos/{owner}/{repo}/collaborators/{username}/permission", "get">;
1574
1570
  /**
1575
- * @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
1576
1572
  */
1577
1573
  "GET /repos/{owner}/{repo}/comments": Operation<"/repos/{owner}/{repo}/comments", "get">;
1578
1574
  /**
1579
- * @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
1580
1576
  */
1581
1577
  "GET /repos/{owner}/{repo}/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/comments/{comment_id}", "get">;
1582
1578
  /**
@@ -1584,23 +1580,23 @@ export interface Endpoints {
1584
1580
  */
1585
1581
  "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions": Operation<"/repos/{owner}/{repo}/comments/{comment_id}/reactions", "get">;
1586
1582
  /**
1587
- * @see https://docs.github.com/rest/reference/repos#list-commits
1583
+ * @see https://docs.github.com/rest/commits/commits#list-commits
1588
1584
  */
1589
1585
  "GET /repos/{owner}/{repo}/commits": Operation<"/repos/{owner}/{repo}/commits", "get">;
1590
1586
  /**
1591
- * @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
1592
1588
  */
1593
1589
  "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", "get">;
1594
1590
  /**
1595
- * @see https://docs.github.com/rest/reference/repos#list-commit-comments
1591
+ * @see https://docs.github.com/rest/commits/comments#list-commit-comments
1596
1592
  */
1597
1593
  "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/comments", "get">;
1598
1594
  /**
1599
- * @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
1600
1596
  */
1601
1597
  "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/pulls", "get">;
1602
1598
  /**
1603
- * @see https://docs.github.com/rest/reference/repos#get-a-commit
1599
+ * @see https://docs.github.com/rest/commits/commits#get-a-commit
1604
1600
  */
1605
1601
  "GET /repos/{owner}/{repo}/commits/{ref}": Operation<"/repos/{owner}/{repo}/commits/{ref}", "get">;
1606
1602
  /**
@@ -1612,19 +1608,19 @@ export interface Endpoints {
1612
1608
  */
1613
1609
  "GET /repos/{owner}/{repo}/commits/{ref}/check-suites": Operation<"/repos/{owner}/{repo}/commits/{ref}/check-suites", "get">;
1614
1610
  /**
1615
- * @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
1616
1612
  */
1617
1613
  "GET /repos/{owner}/{repo}/commits/{ref}/status": Operation<"/repos/{owner}/{repo}/commits/{ref}/status", "get">;
1618
1614
  /**
1619
- * @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
1620
1616
  */
1621
1617
  "GET /repos/{owner}/{repo}/commits/{ref}/statuses": Operation<"/repos/{owner}/{repo}/commits/{ref}/statuses", "get">;
1622
1618
  /**
1623
- * @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
1624
1620
  */
1625
1621
  "GET /repos/{owner}/{repo}/community/profile": Operation<"/repos/{owner}/{repo}/community/profile", "get">;
1626
1622
  /**
1627
- * @see https://docs.github.com/rest/reference/repos#compare-two-commits
1623
+ * @see https://docs.github.com/rest/commits/commits#compare-two-commits
1628
1624
  */
1629
1625
  "GET /repos/{owner}/{repo}/compare/{basehead}": Operation<"/repos/{owner}/{repo}/compare/{basehead}", "get">;
1630
1626
  /**
@@ -1672,13 +1668,21 @@ export interface Endpoints {
1672
1668
  */
1673
1669
  "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}": Operation<"/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", "get">;
1674
1670
  /**
1675
- * @see https://docs.github.com/rest/reference/repos#get-all-environments
1671
+ * @see https://docs.github.com/rest/deployments/environments#list-environments
1676
1672
  */
1677
1673
  "GET /repos/{owner}/{repo}/environments": Operation<"/repos/{owner}/{repo}/environments", "get">;
1678
1674
  /**
1679
1675
  * @see https://docs.github.com/rest/reference/repos#get-an-environment
1680
1676
  */
1681
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">;
1682
1686
  /**
1683
1687
  * @see https://docs.github.com/rest/reference/activity#list-repository-events
1684
1688
  */
@@ -1712,23 +1716,23 @@ export interface Endpoints {
1712
1716
  */
1713
1717
  "GET /repos/{owner}/{repo}/git/trees/{tree_sha}": Operation<"/repos/{owner}/{repo}/git/trees/{tree_sha}", "get">;
1714
1718
  /**
1715
- * @see https://docs.github.com/rest/reference/repos#list-repository-webhooks
1719
+ * @see https://docs.github.com/rest/webhooks/repos#list-repository-webhooks
1716
1720
  */
1717
1721
  "GET /repos/{owner}/{repo}/hooks": Operation<"/repos/{owner}/{repo}/hooks", "get">;
1718
1722
  /**
1719
- * @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
1720
1724
  */
1721
1725
  "GET /repos/{owner}/{repo}/hooks/{hook_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}", "get">;
1722
1726
  /**
1723
- * @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
1724
1728
  */
1725
1729
  "GET /repos/{owner}/{repo}/hooks/{hook_id}/config": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/config", "get">;
1726
1730
  /**
1727
- * @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
1728
1732
  */
1729
1733
  "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries", "get">;
1730
1734
  /**
1731
- * @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
1732
1736
  */
1733
1737
  "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}", "get">;
1734
1738
  /**
@@ -1752,7 +1756,7 @@ export interface Endpoints {
1752
1756
  */
1753
1757
  "GET /repos/{owner}/{repo}/interaction-limits": Operation<"/repos/{owner}/{repo}/interaction-limits", "get">;
1754
1758
  /**
1755
- * @see https://docs.github.com/rest/reference/repos#list-repository-invitations
1759
+ * @see https://docs.github.com/rest/collaborators/invitations#list-repository-invitations
1756
1760
  */
1757
1761
  "GET /repos/{owner}/{repo}/invitations": Operation<"/repos/{owner}/{repo}/invitations", "get">;
1758
1762
  /**
@@ -1844,23 +1848,23 @@ export interface Endpoints {
1844
1848
  */
1845
1849
  "GET /repos/{owner}/{repo}/notifications": Operation<"/repos/{owner}/{repo}/notifications", "get">;
1846
1850
  /**
1847
- * @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
1848
1852
  */
1849
1853
  "GET /repos/{owner}/{repo}/pages": Operation<"/repos/{owner}/{repo}/pages", "get">;
1850
1854
  /**
1851
- * @see https://docs.github.com/rest/reference/repos#list-github-pages-builds
1855
+ * @see https://docs.github.com/rest/pages#list-github-pages-builds
1852
1856
  */
1853
1857
  "GET /repos/{owner}/{repo}/pages/builds": Operation<"/repos/{owner}/{repo}/pages/builds", "get">;
1854
1858
  /**
1855
- * @see https://docs.github.com/rest/reference/repos#get-latest-pages-build
1859
+ * @see https://docs.github.com/rest/pages#get-latest-pages-build
1856
1860
  */
1857
1861
  "GET /repos/{owner}/{repo}/pages/builds/latest": Operation<"/repos/{owner}/{repo}/pages/builds/latest", "get">;
1858
1862
  /**
1859
- * @see https://docs.github.com/rest/reference/repos#get-github-pages-build
1863
+ * @see https://docs.github.com/rest/pages#get-github-pages-build
1860
1864
  */
1861
1865
  "GET /repos/{owner}/{repo}/pages/builds/{build_id}": Operation<"/repos/{owner}/{repo}/pages/builds/{build_id}", "get">;
1862
1866
  /**
1863
- * @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
1864
1868
  */
1865
1869
  "GET /repos/{owner}/{repo}/pages/health": Operation<"/repos/{owner}/{repo}/pages/health", "get">;
1866
1870
  /**
@@ -1904,7 +1908,7 @@ export interface Endpoints {
1904
1908
  */
1905
1909
  "GET /repos/{owner}/{repo}/pulls/{pull_number}/merge": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/merge", "get">;
1906
1910
  /**
1907
- * @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
1908
1912
  */
1909
1913
  "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", "get">;
1910
1914
  /**
@@ -1972,23 +1976,23 @@ export interface Endpoints {
1972
1976
  */
1973
1977
  "GET /repos/{owner}/{repo}/stargazers": Operation<"/repos/{owner}/{repo}/stargazers", "get">;
1974
1978
  /**
1975
- * @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
1976
1980
  */
1977
1981
  "GET /repos/{owner}/{repo}/stats/code_frequency": Operation<"/repos/{owner}/{repo}/stats/code_frequency", "get">;
1978
1982
  /**
1979
- * @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
1980
1984
  */
1981
1985
  "GET /repos/{owner}/{repo}/stats/commit_activity": Operation<"/repos/{owner}/{repo}/stats/commit_activity", "get">;
1982
1986
  /**
1983
- * @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
1984
1988
  */
1985
1989
  "GET /repos/{owner}/{repo}/stats/contributors": Operation<"/repos/{owner}/{repo}/stats/contributors", "get">;
1986
1990
  /**
1987
- * @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
1988
1992
  */
1989
1993
  "GET /repos/{owner}/{repo}/stats/participation": Operation<"/repos/{owner}/{repo}/stats/participation", "get">;
1990
1994
  /**
1991
- * @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
1992
1996
  */
1993
1997
  "GET /repos/{owner}/{repo}/stats/punch_card": Operation<"/repos/{owner}/{repo}/stats/punch_card", "get">;
1994
1998
  /**
@@ -2020,19 +2024,19 @@ export interface Endpoints {
2020
2024
  */
2021
2025
  "GET /repos/{owner}/{repo}/topics": Operation<"/repos/{owner}/{repo}/topics", "get">;
2022
2026
  /**
2023
- * @see https://docs.github.com/rest/reference/repos#get-repository-clones
2027
+ * @see https://docs.github.com/rest/metrics/traffic#get-repository-clones
2024
2028
  */
2025
2029
  "GET /repos/{owner}/{repo}/traffic/clones": Operation<"/repos/{owner}/{repo}/traffic/clones", "get">;
2026
2030
  /**
2027
- * @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
2028
2032
  */
2029
2033
  "GET /repos/{owner}/{repo}/traffic/popular/paths": Operation<"/repos/{owner}/{repo}/traffic/popular/paths", "get">;
2030
2034
  /**
2031
- * @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
2032
2036
  */
2033
2037
  "GET /repos/{owner}/{repo}/traffic/popular/referrers": Operation<"/repos/{owner}/{repo}/traffic/popular/referrers", "get">;
2034
2038
  /**
2035
- * @see https://docs.github.com/rest/reference/repos#get-page-views
2039
+ * @see https://docs.github.com/rest/metrics/traffic#get-page-views
2036
2040
  */
2037
2041
  "GET /repos/{owner}/{repo}/traffic/views": Operation<"/repos/{owner}/{repo}/traffic/views", "get">;
2038
2042
  /**
@@ -2332,7 +2336,7 @@ export interface Endpoints {
2332
2336
  */
2333
2337
  "GET /user/repos": Operation<"/user/repos", "get">;
2334
2338
  /**
2335
- * @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
2336
2340
  */
2337
2341
  "GET /user/repository_invitations": Operation<"/user/repository_invitations", "get">;
2338
2342
  /**
@@ -2471,10 +2475,6 @@ export interface Endpoints {
2471
2475
  * @see https://docs.github.com/rest/reference/apps#reset-a-token
2472
2476
  */
2473
2477
  "PATCH /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "patch">;
2474
- /**
2475
- * @see https://docs.github.com/rest/reference/oauth-authorizations#update-an-existing-authorization
2476
- */
2477
- "PATCH /authorizations/{authorization_id}": Operation<"/authorizations/{authorization_id}", "patch">;
2478
2478
  /**
2479
2479
  * @see https://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-enterprise
2480
2480
  */
@@ -2564,7 +2564,7 @@ export interface Endpoints {
2564
2564
  */
2565
2565
  "PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", "patch">;
2566
2566
  /**
2567
- * @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
2568
2568
  */
2569
2569
  "PATCH /repos/{owner}/{repo}/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/comments/{comment_id}", "patch">;
2570
2570
  /**
@@ -2572,11 +2572,11 @@ export interface Endpoints {
2572
2572
  */
2573
2573
  "PATCH /repos/{owner}/{repo}/git/refs/{ref}": Operation<"/repos/{owner}/{repo}/git/refs/{ref}", "patch">;
2574
2574
  /**
2575
- * @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
2576
2576
  */
2577
2577
  "PATCH /repos/{owner}/{repo}/hooks/{hook_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}", "patch">;
2578
2578
  /**
2579
- * @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
2580
2580
  */
2581
2581
  "PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/config", "patch">;
2582
2582
  /**
@@ -2592,7 +2592,7 @@ export interface Endpoints {
2592
2592
  */
2593
2593
  "PATCH /repos/{owner}/{repo}/import/lfs": Operation<"/repos/{owner}/{repo}/import/lfs", "patch">;
2594
2594
  /**
2595
- * @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
2596
2596
  */
2597
2597
  "PATCH /repos/{owner}/{repo}/invitations/{invitation_id}": Operation<"/repos/{owner}/{repo}/invitations/{invitation_id}", "patch">;
2598
2598
  /**
@@ -2676,7 +2676,7 @@ export interface Endpoints {
2676
2676
  */
2677
2677
  "PATCH /user/memberships/orgs/{org}": Operation<"/user/memberships/orgs/{org}", "patch">;
2678
2678
  /**
2679
- * @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
2680
2680
  */
2681
2681
  "PATCH /user/repository_invitations/{invitation_id}": Operation<"/user/repository_invitations/{invitation_id}", "patch">;
2682
2682
  /**
@@ -2699,10 +2699,6 @@ export interface Endpoints {
2699
2699
  * @see https://docs.github.com/rest/reference/apps#create-a-scoped-access-token
2700
2700
  */
2701
2701
  "POST /applications/{client_id}/token/scoped": Operation<"/applications/{client_id}/token/scoped", "post">;
2702
- /**
2703
- * @see https://docs.github.com/rest/reference/oauth-authorizations#create-a-new-authorization
2704
- */
2705
- "POST /authorizations": Operation<"/authorizations", "post">;
2706
2702
  /**
2707
2703
  * @see https://docs.github.com/rest/reference/actions#create-self-hosted-runner-group-for-an-enterprise
2708
2704
  */
@@ -2932,7 +2928,7 @@ export interface Endpoints {
2932
2928
  */
2933
2929
  "POST /repos/{owner}/{repo}/comments/{comment_id}/reactions": Operation<"/repos/{owner}/{repo}/comments/{comment_id}/reactions", "post">;
2934
2930
  /**
2935
- * @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
2936
2932
  */
2937
2933
  "POST /repos/{owner}/{repo}/commits/{commit_sha}/comments": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/comments", "post">;
2938
2934
  /**
@@ -2951,6 +2947,10 @@ export interface Endpoints {
2951
2947
  * @see https://docs.github.com/rest/reference/repos#create-a-repository-dispatch-event
2952
2948
  */
2953
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">;
2954
2954
  /**
2955
2955
  * @see https://docs.github.com/rest/reference/repos#create-a-fork
2956
2956
  */
@@ -2976,19 +2976,19 @@ export interface Endpoints {
2976
2976
  */
2977
2977
  "POST /repos/{owner}/{repo}/git/trees": Operation<"/repos/{owner}/{repo}/git/trees", "post">;
2978
2978
  /**
2979
- * @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
2980
2980
  */
2981
2981
  "POST /repos/{owner}/{repo}/hooks": Operation<"/repos/{owner}/{repo}/hooks", "post">;
2982
2982
  /**
2983
- * @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
2984
2984
  */
2985
2985
  "POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts", "post">;
2986
2986
  /**
2987
- * @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
2988
2988
  */
2989
2989
  "POST /repos/{owner}/{repo}/hooks/{hook_id}/pings": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/pings", "post">;
2990
2990
  /**
2991
- * @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
2992
2992
  */
2993
2993
  "POST /repos/{owner}/{repo}/hooks/{hook_id}/tests": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/tests", "post">;
2994
2994
  /**
@@ -3036,13 +3036,17 @@ export interface Endpoints {
3036
3036
  */
3037
3037
  "POST /repos/{owner}/{repo}/milestones": Operation<"/repos/{owner}/{repo}/milestones", "post">;
3038
3038
  /**
3039
- * @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
3040
3040
  */
3041
3041
  "POST /repos/{owner}/{repo}/pages": Operation<"/repos/{owner}/{repo}/pages", "post">;
3042
3042
  /**
3043
- * @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
3044
3044
  */
3045
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">;
3046
3050
  /**
3047
3051
  * @see https://docs.github.com/rest/reference/projects#create-a-repository-project
3048
3052
  */
@@ -3092,7 +3096,7 @@ export interface Endpoints {
3092
3096
  */
3093
3097
  "POST /repos/{owner}/{repo}/releases/{release_id}/reactions": Operation<"/repos/{owner}/{repo}/releases/{release_id}/reactions", "post">;
3094
3098
  /**
3095
- * @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
3096
3100
  */
3097
3101
  "POST /repos/{owner}/{repo}/statuses/{sha}": Operation<"/repos/{owner}/{repo}/statuses/{sha}", "post">;
3098
3102
  /**
@@ -3199,14 +3203,6 @@ export interface Endpoints {
3199
3203
  * @see https://docs.github.com/rest/reference/apps#suspend-an-app-installation
3200
3204
  */
3201
3205
  "PUT /app/installations/{installation_id}/suspended": Operation<"/app/installations/{installation_id}/suspended", "put">;
3202
- /**
3203
- * @see https://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app
3204
- */
3205
- "PUT /authorizations/clients/{client_id}": Operation<"/authorizations/clients/{client_id}", "put">;
3206
- /**
3207
- * @see https://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint
3208
- */
3209
- "PUT /authorizations/clients/{client_id}/{fingerprint}": Operation<"/authorizations/clients/{client_id}/{fingerprint}", "put">;
3210
3206
  /**
3211
3207
  * @see https://docs.github.com/rest/reference/actions/oidc#set-actions-oidc-custom-issuer-policy-for-enterprise
3212
3208
  */
@@ -3351,6 +3347,10 @@ export interface Endpoints {
3351
3347
  * @see https://docs.github.com/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user
3352
3348
  */
3353
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">;
3354
3354
  /**
3355
3355
  * @see https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user
3356
3356
  */
@@ -3432,7 +3432,7 @@ export interface Endpoints {
3432
3432
  */
3433
3433
  "PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/codespaces/secrets/{secret_name}", "put">;
3434
3434
  /**
3435
- * @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
3436
3436
  */
3437
3437
  "PUT /repos/{owner}/{repo}/collaborators/{username}": Operation<"/repos/{owner}/{repo}/collaborators/{username}", "put">;
3438
3438
  /**
@@ -3447,6 +3447,10 @@ export interface Endpoints {
3447
3447
  * @see https://docs.github.com/rest/reference/repos#create-or-update-an-environment
3448
3448
  */
3449
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">;
3450
3454
  /**
3451
3455
  * @see https://docs.github.com/rest/reference/migrations#start-an-import
3452
3456
  */
@@ -3472,7 +3476,7 @@ export interface Endpoints {
3472
3476
  */
3473
3477
  "PUT /repos/{owner}/{repo}/notifications": Operation<"/repos/{owner}/{repo}/notifications", "put">;
3474
3478
  /**
3475
- * @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
3476
3480
  */
3477
3481
  "PUT /repos/{owner}/{repo}/pages": Operation<"/repos/{owner}/{repo}/pages", "put">;
3478
3482
  /**
package/dist-web/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const VERSION = "6.41.0";
1
+ const VERSION = "7.1.1";
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.41.0",
4
+ "version": "7.1.1",
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.8.0"
13
+ "openapi-version": "7.5.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.11.0"
28
+ "@octokit/openapi-types": "^13.4.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@pika/pack": "^0.3.7",