@octokit/types 6.41.0 → 7.0.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.
- package/dist-node/index.js +1 -1
- package/dist-src/VERSION.js +1 -1
- package/dist-types/VERSION.d.ts +1 -1
- package/dist-types/generated/Endpoints.d.ts +94 -98
- package/dist-web/index.js +1 -1
- package/package.json +3 -3
package/dist-node/index.js
CHANGED
package/dist-src/VERSION.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "
|
|
1
|
+
export const VERSION = "7.0.0";
|
package/dist-types/VERSION.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "
|
|
1
|
+
export declare const VERSION = "7.0.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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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
|
*/
|
|
@@ -1154,6 +1138,10 @@ export interface Endpoints {
|
|
|
1154
1138
|
* @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-organization
|
|
1155
1139
|
*/
|
|
1156
1140
|
"GET /orgs/{org}/secret-scanning/alerts": Operation<"/orgs/{org}/secret-scanning/alerts", "get">;
|
|
1141
|
+
/**
|
|
1142
|
+
* @see https://docs.github.com/rest/reference/orgs#list-security-manager-teams
|
|
1143
|
+
*/
|
|
1144
|
+
"GET /orgs/{org}/security-managers": Operation<"/orgs/{org}/security-managers", "get">;
|
|
1157
1145
|
/**
|
|
1158
1146
|
* @see https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-organization
|
|
1159
1147
|
*/
|
|
@@ -1560,23 +1548,23 @@ export interface Endpoints {
|
|
|
1560
1548
|
*/
|
|
1561
1549
|
"GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/codespaces/secrets/{secret_name}", "get">;
|
|
1562
1550
|
/**
|
|
1563
|
-
* @see https://docs.github.com/rest/
|
|
1551
|
+
* @see https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators
|
|
1564
1552
|
*/
|
|
1565
1553
|
"GET /repos/{owner}/{repo}/collaborators": Operation<"/repos/{owner}/{repo}/collaborators", "get">;
|
|
1566
1554
|
/**
|
|
1567
|
-
* @see https://docs.github.com/rest/
|
|
1555
|
+
* @see https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator
|
|
1568
1556
|
*/
|
|
1569
1557
|
"GET /repos/{owner}/{repo}/collaborators/{username}": Operation<"/repos/{owner}/{repo}/collaborators/{username}", "get">;
|
|
1570
1558
|
/**
|
|
1571
|
-
* @see https://docs.github.com/rest/
|
|
1559
|
+
* @see https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user
|
|
1572
1560
|
*/
|
|
1573
1561
|
"GET /repos/{owner}/{repo}/collaborators/{username}/permission": Operation<"/repos/{owner}/{repo}/collaborators/{username}/permission", "get">;
|
|
1574
1562
|
/**
|
|
1575
|
-
* @see https://docs.github.com/rest/
|
|
1563
|
+
* @see https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository
|
|
1576
1564
|
*/
|
|
1577
1565
|
"GET /repos/{owner}/{repo}/comments": Operation<"/repos/{owner}/{repo}/comments", "get">;
|
|
1578
1566
|
/**
|
|
1579
|
-
* @see https://docs.github.com/rest/
|
|
1567
|
+
* @see https://docs.github.com/rest/commits/comments#get-a-commit-comment
|
|
1580
1568
|
*/
|
|
1581
1569
|
"GET /repos/{owner}/{repo}/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/comments/{comment_id}", "get">;
|
|
1582
1570
|
/**
|
|
@@ -1584,23 +1572,23 @@ export interface Endpoints {
|
|
|
1584
1572
|
*/
|
|
1585
1573
|
"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions": Operation<"/repos/{owner}/{repo}/comments/{comment_id}/reactions", "get">;
|
|
1586
1574
|
/**
|
|
1587
|
-
* @see https://docs.github.com/rest/
|
|
1575
|
+
* @see https://docs.github.com/rest/commits/commits#list-commits
|
|
1588
1576
|
*/
|
|
1589
1577
|
"GET /repos/{owner}/{repo}/commits": Operation<"/repos/{owner}/{repo}/commits", "get">;
|
|
1590
1578
|
/**
|
|
1591
|
-
* @see https://docs.github.com/rest/
|
|
1579
|
+
* @see https://docs.github.com/rest/commits/commits#list-branches-for-head-commit
|
|
1592
1580
|
*/
|
|
1593
1581
|
"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", "get">;
|
|
1594
1582
|
/**
|
|
1595
|
-
* @see https://docs.github.com/rest/
|
|
1583
|
+
* @see https://docs.github.com/rest/commits/comments#list-commit-comments
|
|
1596
1584
|
*/
|
|
1597
1585
|
"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/comments", "get">;
|
|
1598
1586
|
/**
|
|
1599
|
-
* @see https://docs.github.com/rest/
|
|
1587
|
+
* @see https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit
|
|
1600
1588
|
*/
|
|
1601
1589
|
"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/pulls", "get">;
|
|
1602
1590
|
/**
|
|
1603
|
-
* @see https://docs.github.com/rest/
|
|
1591
|
+
* @see https://docs.github.com/rest/commits/commits#get-a-commit
|
|
1604
1592
|
*/
|
|
1605
1593
|
"GET /repos/{owner}/{repo}/commits/{ref}": Operation<"/repos/{owner}/{repo}/commits/{ref}", "get">;
|
|
1606
1594
|
/**
|
|
@@ -1612,19 +1600,19 @@ export interface Endpoints {
|
|
|
1612
1600
|
*/
|
|
1613
1601
|
"GET /repos/{owner}/{repo}/commits/{ref}/check-suites": Operation<"/repos/{owner}/{repo}/commits/{ref}/check-suites", "get">;
|
|
1614
1602
|
/**
|
|
1615
|
-
* @see https://docs.github.com/rest/
|
|
1603
|
+
* @see https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference
|
|
1616
1604
|
*/
|
|
1617
1605
|
"GET /repos/{owner}/{repo}/commits/{ref}/status": Operation<"/repos/{owner}/{repo}/commits/{ref}/status", "get">;
|
|
1618
1606
|
/**
|
|
1619
|
-
* @see https://docs.github.com/rest/
|
|
1607
|
+
* @see https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference
|
|
1620
1608
|
*/
|
|
1621
1609
|
"GET /repos/{owner}/{repo}/commits/{ref}/statuses": Operation<"/repos/{owner}/{repo}/commits/{ref}/statuses", "get">;
|
|
1622
1610
|
/**
|
|
1623
|
-
* @see https://docs.github.com/rest/
|
|
1611
|
+
* @see https://docs.github.com/rest/metrics/community#get-community-profile-metrics
|
|
1624
1612
|
*/
|
|
1625
1613
|
"GET /repos/{owner}/{repo}/community/profile": Operation<"/repos/{owner}/{repo}/community/profile", "get">;
|
|
1626
1614
|
/**
|
|
1627
|
-
* @see https://docs.github.com/rest/
|
|
1615
|
+
* @see https://docs.github.com/rest/commits/commits#compare-two-commits
|
|
1628
1616
|
*/
|
|
1629
1617
|
"GET /repos/{owner}/{repo}/compare/{basehead}": Operation<"/repos/{owner}/{repo}/compare/{basehead}", "get">;
|
|
1630
1618
|
/**
|
|
@@ -1672,13 +1660,21 @@ export interface Endpoints {
|
|
|
1672
1660
|
*/
|
|
1673
1661
|
"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}": Operation<"/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", "get">;
|
|
1674
1662
|
/**
|
|
1675
|
-
* @see https://docs.github.com/rest/
|
|
1663
|
+
* @see https://docs.github.com/rest/deployments/environments#list-environments
|
|
1676
1664
|
*/
|
|
1677
1665
|
"GET /repos/{owner}/{repo}/environments": Operation<"/repos/{owner}/{repo}/environments", "get">;
|
|
1678
1666
|
/**
|
|
1679
1667
|
* @see https://docs.github.com/rest/reference/repos#get-an-environment
|
|
1680
1668
|
*/
|
|
1681
1669
|
"GET /repos/{owner}/{repo}/environments/{environment_name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}", "get">;
|
|
1670
|
+
/**
|
|
1671
|
+
* @see https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies
|
|
1672
|
+
*/
|
|
1673
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies", "get">;
|
|
1674
|
+
/**
|
|
1675
|
+
* @see https://docs.github.com/rest/deployments/branch-policies#get-deployment-branch-policy
|
|
1676
|
+
*/
|
|
1677
|
+
"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
1678
|
/**
|
|
1683
1679
|
* @see https://docs.github.com/rest/reference/activity#list-repository-events
|
|
1684
1680
|
*/
|
|
@@ -1712,23 +1708,23 @@ export interface Endpoints {
|
|
|
1712
1708
|
*/
|
|
1713
1709
|
"GET /repos/{owner}/{repo}/git/trees/{tree_sha}": Operation<"/repos/{owner}/{repo}/git/trees/{tree_sha}", "get">;
|
|
1714
1710
|
/**
|
|
1715
|
-
* @see https://docs.github.com/rest/
|
|
1711
|
+
* @see https://docs.github.com/rest/webhooks/repos#list-repository-webhooks
|
|
1716
1712
|
*/
|
|
1717
1713
|
"GET /repos/{owner}/{repo}/hooks": Operation<"/repos/{owner}/{repo}/hooks", "get">;
|
|
1718
1714
|
/**
|
|
1719
|
-
* @see https://docs.github.com/rest/
|
|
1715
|
+
* @see https://docs.github.com/rest/webhooks/repos#get-a-repository-webhook
|
|
1720
1716
|
*/
|
|
1721
1717
|
"GET /repos/{owner}/{repo}/hooks/{hook_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}", "get">;
|
|
1722
1718
|
/**
|
|
1723
|
-
* @see https://docs.github.com/rest/
|
|
1719
|
+
* @see https://docs.github.com/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository
|
|
1724
1720
|
*/
|
|
1725
1721
|
"GET /repos/{owner}/{repo}/hooks/{hook_id}/config": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/config", "get">;
|
|
1726
1722
|
/**
|
|
1727
|
-
* @see https://docs.github.com/rest/
|
|
1723
|
+
* @see https://docs.github.com/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook
|
|
1728
1724
|
*/
|
|
1729
1725
|
"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries", "get">;
|
|
1730
1726
|
/**
|
|
1731
|
-
* @see https://docs.github.com/rest/
|
|
1727
|
+
* @see https://docs.github.com/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook
|
|
1732
1728
|
*/
|
|
1733
1729
|
"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}", "get">;
|
|
1734
1730
|
/**
|
|
@@ -1752,7 +1748,7 @@ export interface Endpoints {
|
|
|
1752
1748
|
*/
|
|
1753
1749
|
"GET /repos/{owner}/{repo}/interaction-limits": Operation<"/repos/{owner}/{repo}/interaction-limits", "get">;
|
|
1754
1750
|
/**
|
|
1755
|
-
* @see https://docs.github.com/rest/
|
|
1751
|
+
* @see https://docs.github.com/rest/collaborators/invitations#list-repository-invitations
|
|
1756
1752
|
*/
|
|
1757
1753
|
"GET /repos/{owner}/{repo}/invitations": Operation<"/repos/{owner}/{repo}/invitations", "get">;
|
|
1758
1754
|
/**
|
|
@@ -1844,23 +1840,23 @@ export interface Endpoints {
|
|
|
1844
1840
|
*/
|
|
1845
1841
|
"GET /repos/{owner}/{repo}/notifications": Operation<"/repos/{owner}/{repo}/notifications", "get">;
|
|
1846
1842
|
/**
|
|
1847
|
-
* @see https://docs.github.com/rest/
|
|
1843
|
+
* @see https://docs.github.com/rest/pages#get-a-github-pages-site
|
|
1848
1844
|
*/
|
|
1849
1845
|
"GET /repos/{owner}/{repo}/pages": Operation<"/repos/{owner}/{repo}/pages", "get">;
|
|
1850
1846
|
/**
|
|
1851
|
-
* @see https://docs.github.com/rest/
|
|
1847
|
+
* @see https://docs.github.com/rest/pages#list-github-pages-builds
|
|
1852
1848
|
*/
|
|
1853
1849
|
"GET /repos/{owner}/{repo}/pages/builds": Operation<"/repos/{owner}/{repo}/pages/builds", "get">;
|
|
1854
1850
|
/**
|
|
1855
|
-
* @see https://docs.github.com/rest/
|
|
1851
|
+
* @see https://docs.github.com/rest/pages#get-latest-pages-build
|
|
1856
1852
|
*/
|
|
1857
1853
|
"GET /repos/{owner}/{repo}/pages/builds/latest": Operation<"/repos/{owner}/{repo}/pages/builds/latest", "get">;
|
|
1858
1854
|
/**
|
|
1859
|
-
* @see https://docs.github.com/rest/
|
|
1855
|
+
* @see https://docs.github.com/rest/pages#get-github-pages-build
|
|
1860
1856
|
*/
|
|
1861
1857
|
"GET /repos/{owner}/{repo}/pages/builds/{build_id}": Operation<"/repos/{owner}/{repo}/pages/builds/{build_id}", "get">;
|
|
1862
1858
|
/**
|
|
1863
|
-
* @see https://docs.github.com/rest/
|
|
1859
|
+
* @see https://docs.github.com/rest/pages#get-a-dns-health-check-for-github-pages
|
|
1864
1860
|
*/
|
|
1865
1861
|
"GET /repos/{owner}/{repo}/pages/health": Operation<"/repos/{owner}/{repo}/pages/health", "get">;
|
|
1866
1862
|
/**
|
|
@@ -1904,7 +1900,7 @@ export interface Endpoints {
|
|
|
1904
1900
|
*/
|
|
1905
1901
|
"GET /repos/{owner}/{repo}/pulls/{pull_number}/merge": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/merge", "get">;
|
|
1906
1902
|
/**
|
|
1907
|
-
* @see https://docs.github.com/rest/reference/pulls#
|
|
1903
|
+
* @see https://docs.github.com/rest/reference/pulls#get-all-requested-reviewers-for-a-pull-request
|
|
1908
1904
|
*/
|
|
1909
1905
|
"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", "get">;
|
|
1910
1906
|
/**
|
|
@@ -1972,23 +1968,23 @@ export interface Endpoints {
|
|
|
1972
1968
|
*/
|
|
1973
1969
|
"GET /repos/{owner}/{repo}/stargazers": Operation<"/repos/{owner}/{repo}/stargazers", "get">;
|
|
1974
1970
|
/**
|
|
1975
|
-
* @see https://docs.github.com/rest/
|
|
1971
|
+
* @see https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity
|
|
1976
1972
|
*/
|
|
1977
1973
|
"GET /repos/{owner}/{repo}/stats/code_frequency": Operation<"/repos/{owner}/{repo}/stats/code_frequency", "get">;
|
|
1978
1974
|
/**
|
|
1979
|
-
* @see https://docs.github.com/rest/
|
|
1975
|
+
* @see https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity
|
|
1980
1976
|
*/
|
|
1981
1977
|
"GET /repos/{owner}/{repo}/stats/commit_activity": Operation<"/repos/{owner}/{repo}/stats/commit_activity", "get">;
|
|
1982
1978
|
/**
|
|
1983
|
-
* @see https://docs.github.com/rest/
|
|
1979
|
+
* @see https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity
|
|
1984
1980
|
*/
|
|
1985
1981
|
"GET /repos/{owner}/{repo}/stats/contributors": Operation<"/repos/{owner}/{repo}/stats/contributors", "get">;
|
|
1986
1982
|
/**
|
|
1987
|
-
* @see https://docs.github.com/rest/
|
|
1983
|
+
* @see https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count
|
|
1988
1984
|
*/
|
|
1989
1985
|
"GET /repos/{owner}/{repo}/stats/participation": Operation<"/repos/{owner}/{repo}/stats/participation", "get">;
|
|
1990
1986
|
/**
|
|
1991
|
-
* @see https://docs.github.com/rest/
|
|
1987
|
+
* @see https://docs.github.com/rest/statistics/repos#get-the-hourly-commit-count-for-each-day
|
|
1992
1988
|
*/
|
|
1993
1989
|
"GET /repos/{owner}/{repo}/stats/punch_card": Operation<"/repos/{owner}/{repo}/stats/punch_card", "get">;
|
|
1994
1990
|
/**
|
|
@@ -2020,19 +2016,19 @@ export interface Endpoints {
|
|
|
2020
2016
|
*/
|
|
2021
2017
|
"GET /repos/{owner}/{repo}/topics": Operation<"/repos/{owner}/{repo}/topics", "get">;
|
|
2022
2018
|
/**
|
|
2023
|
-
* @see https://docs.github.com/rest/
|
|
2019
|
+
* @see https://docs.github.com/rest/metrics/traffic#get-repository-clones
|
|
2024
2020
|
*/
|
|
2025
2021
|
"GET /repos/{owner}/{repo}/traffic/clones": Operation<"/repos/{owner}/{repo}/traffic/clones", "get">;
|
|
2026
2022
|
/**
|
|
2027
|
-
* @see https://docs.github.com/rest/
|
|
2023
|
+
* @see https://docs.github.com/rest/metrics/traffic#get-top-referral-paths
|
|
2028
2024
|
*/
|
|
2029
2025
|
"GET /repos/{owner}/{repo}/traffic/popular/paths": Operation<"/repos/{owner}/{repo}/traffic/popular/paths", "get">;
|
|
2030
2026
|
/**
|
|
2031
|
-
* @see https://docs.github.com/rest/
|
|
2027
|
+
* @see https://docs.github.com/rest/metrics/traffic#get-top-referral-sources
|
|
2032
2028
|
*/
|
|
2033
2029
|
"GET /repos/{owner}/{repo}/traffic/popular/referrers": Operation<"/repos/{owner}/{repo}/traffic/popular/referrers", "get">;
|
|
2034
2030
|
/**
|
|
2035
|
-
* @see https://docs.github.com/rest/
|
|
2031
|
+
* @see https://docs.github.com/rest/metrics/traffic#get-page-views
|
|
2036
2032
|
*/
|
|
2037
2033
|
"GET /repos/{owner}/{repo}/traffic/views": Operation<"/repos/{owner}/{repo}/traffic/views", "get">;
|
|
2038
2034
|
/**
|
|
@@ -2332,7 +2328,7 @@ export interface Endpoints {
|
|
|
2332
2328
|
*/
|
|
2333
2329
|
"GET /user/repos": Operation<"/user/repos", "get">;
|
|
2334
2330
|
/**
|
|
2335
|
-
* @see https://docs.github.com/rest/
|
|
2331
|
+
* @see https://docs.github.com/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user
|
|
2336
2332
|
*/
|
|
2337
2333
|
"GET /user/repository_invitations": Operation<"/user/repository_invitations", "get">;
|
|
2338
2334
|
/**
|
|
@@ -2471,10 +2467,6 @@ export interface Endpoints {
|
|
|
2471
2467
|
* @see https://docs.github.com/rest/reference/apps#reset-a-token
|
|
2472
2468
|
*/
|
|
2473
2469
|
"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
2470
|
/**
|
|
2479
2471
|
* @see https://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-enterprise
|
|
2480
2472
|
*/
|
|
@@ -2564,7 +2556,7 @@ export interface Endpoints {
|
|
|
2564
2556
|
*/
|
|
2565
2557
|
"PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", "patch">;
|
|
2566
2558
|
/**
|
|
2567
|
-
* @see https://docs.github.com/rest/
|
|
2559
|
+
* @see https://docs.github.com/rest/commits/comments#update-a-commit-comment
|
|
2568
2560
|
*/
|
|
2569
2561
|
"PATCH /repos/{owner}/{repo}/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/comments/{comment_id}", "patch">;
|
|
2570
2562
|
/**
|
|
@@ -2572,11 +2564,11 @@ export interface Endpoints {
|
|
|
2572
2564
|
*/
|
|
2573
2565
|
"PATCH /repos/{owner}/{repo}/git/refs/{ref}": Operation<"/repos/{owner}/{repo}/git/refs/{ref}", "patch">;
|
|
2574
2566
|
/**
|
|
2575
|
-
* @see https://docs.github.com/rest/
|
|
2567
|
+
* @see https://docs.github.com/rest/webhooks/repos#update-a-repository-webhook
|
|
2576
2568
|
*/
|
|
2577
2569
|
"PATCH /repos/{owner}/{repo}/hooks/{hook_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}", "patch">;
|
|
2578
2570
|
/**
|
|
2579
|
-
* @see https://docs.github.com/rest/
|
|
2571
|
+
* @see https://docs.github.com/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository
|
|
2580
2572
|
*/
|
|
2581
2573
|
"PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/config", "patch">;
|
|
2582
2574
|
/**
|
|
@@ -2592,7 +2584,7 @@ export interface Endpoints {
|
|
|
2592
2584
|
*/
|
|
2593
2585
|
"PATCH /repos/{owner}/{repo}/import/lfs": Operation<"/repos/{owner}/{repo}/import/lfs", "patch">;
|
|
2594
2586
|
/**
|
|
2595
|
-
* @see https://docs.github.com/rest/
|
|
2587
|
+
* @see https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation
|
|
2596
2588
|
*/
|
|
2597
2589
|
"PATCH /repos/{owner}/{repo}/invitations/{invitation_id}": Operation<"/repos/{owner}/{repo}/invitations/{invitation_id}", "patch">;
|
|
2598
2590
|
/**
|
|
@@ -2676,7 +2668,7 @@ export interface Endpoints {
|
|
|
2676
2668
|
*/
|
|
2677
2669
|
"PATCH /user/memberships/orgs/{org}": Operation<"/user/memberships/orgs/{org}", "patch">;
|
|
2678
2670
|
/**
|
|
2679
|
-
* @see https://docs.github.com/rest/
|
|
2671
|
+
* @see https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation
|
|
2680
2672
|
*/
|
|
2681
2673
|
"PATCH /user/repository_invitations/{invitation_id}": Operation<"/user/repository_invitations/{invitation_id}", "patch">;
|
|
2682
2674
|
/**
|
|
@@ -2699,10 +2691,6 @@ export interface Endpoints {
|
|
|
2699
2691
|
* @see https://docs.github.com/rest/reference/apps#create-a-scoped-access-token
|
|
2700
2692
|
*/
|
|
2701
2693
|
"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
2694
|
/**
|
|
2707
2695
|
* @see https://docs.github.com/rest/reference/actions#create-self-hosted-runner-group-for-an-enterprise
|
|
2708
2696
|
*/
|
|
@@ -2932,7 +2920,7 @@ export interface Endpoints {
|
|
|
2932
2920
|
*/
|
|
2933
2921
|
"POST /repos/{owner}/{repo}/comments/{comment_id}/reactions": Operation<"/repos/{owner}/{repo}/comments/{comment_id}/reactions", "post">;
|
|
2934
2922
|
/**
|
|
2935
|
-
* @see https://docs.github.com/rest/
|
|
2923
|
+
* @see https://docs.github.com/rest/commits/comments#create-a-commit-comment
|
|
2936
2924
|
*/
|
|
2937
2925
|
"POST /repos/{owner}/{repo}/commits/{commit_sha}/comments": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/comments", "post">;
|
|
2938
2926
|
/**
|
|
@@ -2951,6 +2939,10 @@ export interface Endpoints {
|
|
|
2951
2939
|
* @see https://docs.github.com/rest/reference/repos#create-a-repository-dispatch-event
|
|
2952
2940
|
*/
|
|
2953
2941
|
"POST /repos/{owner}/{repo}/dispatches": Operation<"/repos/{owner}/{repo}/dispatches", "post">;
|
|
2942
|
+
/**
|
|
2943
|
+
* @see https://docs.github.com/rest/deployments/branch-policies#create-deployment-branch-policy
|
|
2944
|
+
*/
|
|
2945
|
+
"POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies", "post">;
|
|
2954
2946
|
/**
|
|
2955
2947
|
* @see https://docs.github.com/rest/reference/repos#create-a-fork
|
|
2956
2948
|
*/
|
|
@@ -2976,19 +2968,19 @@ export interface Endpoints {
|
|
|
2976
2968
|
*/
|
|
2977
2969
|
"POST /repos/{owner}/{repo}/git/trees": Operation<"/repos/{owner}/{repo}/git/trees", "post">;
|
|
2978
2970
|
/**
|
|
2979
|
-
* @see https://docs.github.com/rest/
|
|
2971
|
+
* @see https://docs.github.com/rest/webhooks/repos#create-a-repository-webhook
|
|
2980
2972
|
*/
|
|
2981
2973
|
"POST /repos/{owner}/{repo}/hooks": Operation<"/repos/{owner}/{repo}/hooks", "post">;
|
|
2982
2974
|
/**
|
|
2983
|
-
* @see https://docs.github.com/rest/
|
|
2975
|
+
* @see https://docs.github.com/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook
|
|
2984
2976
|
*/
|
|
2985
2977
|
"POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts", "post">;
|
|
2986
2978
|
/**
|
|
2987
|
-
* @see https://docs.github.com/rest/
|
|
2979
|
+
* @see https://docs.github.com/rest/webhooks/repos#ping-a-repository-webhook
|
|
2988
2980
|
*/
|
|
2989
2981
|
"POST /repos/{owner}/{repo}/hooks/{hook_id}/pings": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/pings", "post">;
|
|
2990
2982
|
/**
|
|
2991
|
-
* @see https://docs.github.com/rest/
|
|
2983
|
+
* @see https://docs.github.com/rest/webhooks/repos#test-the-push-repository-webhook
|
|
2992
2984
|
*/
|
|
2993
2985
|
"POST /repos/{owner}/{repo}/hooks/{hook_id}/tests": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/tests", "post">;
|
|
2994
2986
|
/**
|
|
@@ -3036,13 +3028,17 @@ export interface Endpoints {
|
|
|
3036
3028
|
*/
|
|
3037
3029
|
"POST /repos/{owner}/{repo}/milestones": Operation<"/repos/{owner}/{repo}/milestones", "post">;
|
|
3038
3030
|
/**
|
|
3039
|
-
* @see https://docs.github.com/rest/
|
|
3031
|
+
* @see https://docs.github.com/rest/pages#create-a-github-pages-site
|
|
3040
3032
|
*/
|
|
3041
3033
|
"POST /repos/{owner}/{repo}/pages": Operation<"/repos/{owner}/{repo}/pages", "post">;
|
|
3042
3034
|
/**
|
|
3043
|
-
* @see https://docs.github.com/rest/
|
|
3035
|
+
* @see https://docs.github.com/rest/pages#request-a-github-pages-build
|
|
3044
3036
|
*/
|
|
3045
3037
|
"POST /repos/{owner}/{repo}/pages/builds": Operation<"/repos/{owner}/{repo}/pages/builds", "post">;
|
|
3038
|
+
/**
|
|
3039
|
+
* @see https://docs.github.com/rest/pages#create-a-github-pages-deployment
|
|
3040
|
+
*/
|
|
3041
|
+
"POST /repos/{owner}/{repo}/pages/deployment": Operation<"/repos/{owner}/{repo}/pages/deployment", "post">;
|
|
3046
3042
|
/**
|
|
3047
3043
|
* @see https://docs.github.com/rest/reference/projects#create-a-repository-project
|
|
3048
3044
|
*/
|
|
@@ -3092,7 +3088,7 @@ export interface Endpoints {
|
|
|
3092
3088
|
*/
|
|
3093
3089
|
"POST /repos/{owner}/{repo}/releases/{release_id}/reactions": Operation<"/repos/{owner}/{repo}/releases/{release_id}/reactions", "post">;
|
|
3094
3090
|
/**
|
|
3095
|
-
* @see https://docs.github.com/rest/
|
|
3091
|
+
* @see https://docs.github.com/rest/commits/statuses#create-a-commit-status
|
|
3096
3092
|
*/
|
|
3097
3093
|
"POST /repos/{owner}/{repo}/statuses/{sha}": Operation<"/repos/{owner}/{repo}/statuses/{sha}", "post">;
|
|
3098
3094
|
/**
|
|
@@ -3199,14 +3195,6 @@ export interface Endpoints {
|
|
|
3199
3195
|
* @see https://docs.github.com/rest/reference/apps#suspend-an-app-installation
|
|
3200
3196
|
*/
|
|
3201
3197
|
"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
3198
|
/**
|
|
3211
3199
|
* @see https://docs.github.com/rest/reference/actions/oidc#set-actions-oidc-custom-issuer-policy-for-enterprise
|
|
3212
3200
|
*/
|
|
@@ -3351,6 +3339,10 @@ export interface Endpoints {
|
|
|
3351
3339
|
* @see https://docs.github.com/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user
|
|
3352
3340
|
*/
|
|
3353
3341
|
"PUT /orgs/{org}/public_members/{username}": Operation<"/orgs/{org}/public_members/{username}", "put">;
|
|
3342
|
+
/**
|
|
3343
|
+
* @see https://docs.github.com/rest/reference/orgs#add-a-security-manager-team
|
|
3344
|
+
*/
|
|
3345
|
+
"PUT /orgs/{org}/security-managers/teams/{team_slug}": Operation<"/orgs/{org}/security-managers/teams/{team_slug}", "put">;
|
|
3354
3346
|
/**
|
|
3355
3347
|
* @see https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user
|
|
3356
3348
|
*/
|
|
@@ -3432,7 +3424,7 @@ export interface Endpoints {
|
|
|
3432
3424
|
*/
|
|
3433
3425
|
"PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/codespaces/secrets/{secret_name}", "put">;
|
|
3434
3426
|
/**
|
|
3435
|
-
* @see https://docs.github.com/rest/
|
|
3427
|
+
* @see https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator
|
|
3436
3428
|
*/
|
|
3437
3429
|
"PUT /repos/{owner}/{repo}/collaborators/{username}": Operation<"/repos/{owner}/{repo}/collaborators/{username}", "put">;
|
|
3438
3430
|
/**
|
|
@@ -3447,6 +3439,10 @@ export interface Endpoints {
|
|
|
3447
3439
|
* @see https://docs.github.com/rest/reference/repos#create-or-update-an-environment
|
|
3448
3440
|
*/
|
|
3449
3441
|
"PUT /repos/{owner}/{repo}/environments/{environment_name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}", "put">;
|
|
3442
|
+
/**
|
|
3443
|
+
* @see https://docs.github.com/rest/deployments/branch-policies#update-deployment-branch-policy
|
|
3444
|
+
*/
|
|
3445
|
+
"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
3446
|
/**
|
|
3451
3447
|
* @see https://docs.github.com/rest/reference/migrations#start-an-import
|
|
3452
3448
|
*/
|
|
@@ -3472,7 +3468,7 @@ export interface Endpoints {
|
|
|
3472
3468
|
*/
|
|
3473
3469
|
"PUT /repos/{owner}/{repo}/notifications": Operation<"/repos/{owner}/{repo}/notifications", "put">;
|
|
3474
3470
|
/**
|
|
3475
|
-
* @see https://docs.github.com/rest/
|
|
3471
|
+
* @see https://docs.github.com/rest/pages#update-information-about-a-github-pages-site
|
|
3476
3472
|
*/
|
|
3477
3473
|
"PUT /repos/{owner}/{repo}/pages": Operation<"/repos/{owner}/{repo}/pages", "put">;
|
|
3478
3474
|
/**
|
package/dist-web/index.js
CHANGED
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": "
|
|
4
|
+
"version": "7.0.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": "
|
|
13
|
+
"openapi-version": "7.1.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": "^
|
|
28
|
+
"@octokit/openapi-types": "^13.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@pika/pack": "^0.3.7",
|