@octokit/types 16.0.0 → 17.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.
@@ -1 +1 @@
1
- export declare const VERSION = "16.0.0";
1
+ export declare const VERSION = "17.0.0";
@@ -128,6 +128,10 @@ export interface Endpoints {
128
128
  * @see https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription
129
129
  */
130
130
  "DELETE /notifications/threads/{thread_id}/subscription": Operation<"/notifications/threads/{thread_id}/subscription", "delete">;
131
+ /**
132
+ * @see https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization
133
+ */
134
+ "DELETE /organizations/{org}/settings/billing/budgets/{budget_id}": Operation<"/organizations/{org}/settings/billing/budgets/{budget_id}", "delete">;
131
135
  /**
132
136
  * @see https://docs.github.com/rest/orgs/orgs#delete-an-organization
133
137
  */
@@ -364,26 +368,10 @@ export interface Endpoints {
364
368
  * @see https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user
365
369
  */
366
370
  "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}": Operation<"/orgs/{org}/teams/{team_slug}/memberships/{username}", "delete">;
367
- /**
368
- * @see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team
369
- */
370
- "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}": Operation<"/orgs/{org}/teams/{team_slug}/projects/{project_id}", "delete">;
371
371
  /**
372
372
  * @see https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team
373
373
  */
374
374
  "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}": Operation<"/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", "delete">;
375
- /**
376
- * @see https://docs.github.com/rest/projects-classic/columns#delete-a-project-column
377
- */
378
- "DELETE /projects/columns/{column_id}": Operation<"/projects/columns/{column_id}", "delete">;
379
- /**
380
- * @see https://docs.github.com/rest/projects-classic/projects#delete-a-project
381
- */
382
- "DELETE /projects/{project_id}": Operation<"/projects/{project_id}", "delete">;
383
- /**
384
- * @see https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator
385
- */
386
- "DELETE /projects/{project_id}/collaborators/{username}": Operation<"/projects/{project_id}/collaborators/{username}", "delete">;
387
375
  /**
388
376
  * @see https://docs.github.com/rest/repos/repos#delete-a-repository
389
377
  */
@@ -676,10 +664,6 @@ export interface Endpoints {
676
664
  * @see https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy
677
665
  */
678
666
  "DELETE /teams/{team_id}/memberships/{username}": Operation<"/teams/{team_id}/memberships/{username}", "delete">;
679
- /**
680
- * @see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy
681
- */
682
- "DELETE /teams/{team_id}/projects/{project_id}": Operation<"/teams/{team_id}/projects/{project_id}", "delete">;
683
667
  /**
684
668
  * @see https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy
685
669
  */
@@ -856,6 +840,14 @@ export interface Endpoints {
856
840
  * @see https://docs.github.com/rest/emojis/emojis#get-emojis
857
841
  */
858
842
  "GET /emojis": ReadonlyOperation<"/emojis", "get">;
843
+ /**
844
+ * @see https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-enterprise
845
+ */
846
+ "GET /enterprises/{enterprise}/actions/cache/retention-limit": ReadonlyOperation<"/enterprises/{enterprise}/actions/cache/retention-limit", "get">;
847
+ /**
848
+ * @see https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-enterprise
849
+ */
850
+ "GET /enterprises/{enterprise}/actions/cache/storage-limit": ReadonlyOperation<"/enterprises/{enterprise}/actions/cache/storage-limit", "get">;
859
851
  /**
860
852
  * @see https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise
861
853
  */
@@ -1024,6 +1016,14 @@ export interface Endpoints {
1024
1016
  * @see https://docs.github.com/rest/orgs/orgs#list-organizations
1025
1017
  */
1026
1018
  "GET /organizations": ReadonlyOperation<"/organizations", "get">;
1019
+ /**
1020
+ * @see https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization
1021
+ */
1022
+ "GET /organizations/{org}/actions/cache/retention-limit": ReadonlyOperation<"/organizations/{org}/actions/cache/retention-limit", "get">;
1023
+ /**
1024
+ * @see https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization
1025
+ */
1026
+ "GET /organizations/{org}/actions/cache/storage-limit": ReadonlyOperation<"/organizations/{org}/actions/cache/storage-limit", "get">;
1027
1027
  /**
1028
1028
  * @see https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization
1029
1029
  */
@@ -1033,13 +1033,25 @@ export interface Endpoints {
1033
1033
  */
1034
1034
  "GET /organizations/{org}/org-properties/values": ReadonlyOperation<"/organizations/{org}/org-properties/values", "get">;
1035
1035
  /**
1036
- * @see https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization
1036
+ * @see https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization
1037
+ */
1038
+ "GET /organizations/{org}/settings/billing/budgets": ReadonlyOperation<"/organizations/{org}/settings/billing/budgets", "get">;
1039
+ /**
1040
+ * @see https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization
1041
+ */
1042
+ "GET /organizations/{org}/settings/billing/budgets/{budget_id}": ReadonlyOperation<"/organizations/{org}/settings/billing/budgets/{budget_id}", "get">;
1043
+ /**
1044
+ * @see https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization
1037
1045
  */
1038
1046
  "GET /organizations/{org}/settings/billing/premium_request/usage": ReadonlyOperation<"/organizations/{org}/settings/billing/premium_request/usage", "get">;
1039
1047
  /**
1040
- * @see https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization
1048
+ * @see https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization
1041
1049
  */
1042
1050
  "GET /organizations/{org}/settings/billing/usage": ReadonlyOperation<"/organizations/{org}/settings/billing/usage", "get">;
1051
+ /**
1052
+ * @see https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization
1053
+ */
1054
+ "GET /organizations/{org}/settings/billing/usage/summary": ReadonlyOperation<"/organizations/{org}/settings/billing/usage/summary", "get">;
1043
1055
  /**
1044
1056
  * @see https://docs.github.com/rest/codespaces/organizations#list-codespaces-for-the-organization
1045
1057
  * @deprecated "org_id" is now "org"
@@ -1205,6 +1217,10 @@ export interface Endpoints {
1205
1217
  * @see https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable
1206
1218
  */
1207
1219
  "GET /orgs/{org}/actions/variables/{name}/repositories": ReadonlyOperation<"/orgs/{org}/actions/variables/{name}/repositories", "get">;
1220
+ /**
1221
+ * @see https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records
1222
+ */
1223
+ "GET /orgs/{org}/artifacts/{subject_digest}/metadata/deployment-records": ReadonlyOperation<"/orgs/{org}/artifacts/{subject_digest}/metadata/deployment-records", "get">;
1208
1224
  /**
1209
1225
  * @see https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records
1210
1226
  */
@@ -1505,10 +1521,6 @@ export interface Endpoints {
1505
1521
  * @see https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization
1506
1522
  */
1507
1523
  "GET /orgs/{org}/private-registries/{secret_name}": ReadonlyOperation<"/orgs/{org}/private-registries/{secret_name}", "get">;
1508
- /**
1509
- * @see https://docs.github.com/rest/projects-classic/projects#list-organization-projects
1510
- */
1511
- "GET /orgs/{org}/projects": ReadonlyOperation<"/orgs/{org}/projects", "get">;
1512
1524
  /**
1513
1525
  * @see https://docs.github.com/rest/projects/projects#list-projects-for-organization
1514
1526
  */
@@ -1597,18 +1609,6 @@ export interface Endpoints {
1597
1609
  * @see https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams
1598
1610
  */
1599
1611
  "GET /orgs/{org}/security-managers": ReadonlyOperation<"/orgs/{org}/security-managers", "get">;
1600
- /**
1601
- * @see https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization
1602
- */
1603
- "GET /orgs/{org}/settings/billing/actions": ReadonlyOperation<"/orgs/{org}/settings/billing/actions", "get">;
1604
- /**
1605
- * @see https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization
1606
- */
1607
- "GET /orgs/{org}/settings/billing/packages": ReadonlyOperation<"/orgs/{org}/settings/billing/packages", "get">;
1608
- /**
1609
- * @see https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization
1610
- */
1611
- "GET /orgs/{org}/settings/billing/shared-storage": ReadonlyOperation<"/orgs/{org}/settings/billing/shared-storage", "get">;
1612
1612
  /**
1613
1613
  * @see https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization
1614
1614
  */
@@ -1677,14 +1677,6 @@ export interface Endpoints {
1677
1677
  * @see https://docs.github.com/rest/teams/members#get-team-membership-for-a-user
1678
1678
  */
1679
1679
  "GET /orgs/{org}/teams/{team_slug}/memberships/{username}": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/memberships/{username}", "get">;
1680
- /**
1681
- * @see https://docs.github.com/rest/teams/teams#list-team-projects
1682
- */
1683
- "GET /orgs/{org}/teams/{team_slug}/projects": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/projects", "get">;
1684
- /**
1685
- * @see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project
1686
- */
1687
- "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/projects/{project_id}", "get">;
1688
1680
  /**
1689
1681
  * @see https://docs.github.com/rest/teams/teams#list-team-repositories
1690
1682
  */
@@ -1697,22 +1689,6 @@ export interface Endpoints {
1697
1689
  * @see https://docs.github.com/rest/teams/teams#list-child-teams
1698
1690
  */
1699
1691
  "GET /orgs/{org}/teams/{team_slug}/teams": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/teams", "get">;
1700
- /**
1701
- * @see https://docs.github.com/rest/projects-classic/columns#get-a-project-column
1702
- */
1703
- "GET /projects/columns/{column_id}": ReadonlyOperation<"/projects/columns/{column_id}", "get">;
1704
- /**
1705
- * @see https://docs.github.com/rest/projects-classic/projects#get-a-project
1706
- */
1707
- "GET /projects/{project_id}": ReadonlyOperation<"/projects/{project_id}", "get">;
1708
- /**
1709
- * @see https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators
1710
- */
1711
- "GET /projects/{project_id}/collaborators": ReadonlyOperation<"/projects/{project_id}/collaborators", "get">;
1712
- /**
1713
- * @see https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user
1714
- */
1715
- "GET /projects/{project_id}/collaborators/{username}/permission": ReadonlyOperation<"/projects/{project_id}/collaborators/{username}/permission", "get">;
1716
1692
  /**
1717
1693
  * @see https://docs.github.com/rest/rate-limit/rate-limit#get-rate-limit-status-for-the-authenticated-user
1718
1694
  */
@@ -1733,6 +1709,14 @@ export interface Endpoints {
1733
1709
  * @see https://docs.github.com/rest/actions/artifacts#download-an-artifact
1734
1710
  */
1735
1711
  "GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}": ReadonlyOperation<"/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}", "get">;
1712
+ /**
1713
+ * @see https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository
1714
+ */
1715
+ "GET /repos/{owner}/{repo}/actions/cache/retention-limit": ReadonlyOperation<"/repos/{owner}/{repo}/actions/cache/retention-limit", "get">;
1716
+ /**
1717
+ * @see https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository
1718
+ */
1719
+ "GET /repos/{owner}/{repo}/actions/cache/storage-limit": ReadonlyOperation<"/repos/{owner}/{repo}/actions/cache/storage-limit", "get">;
1736
1720
  /**
1737
1721
  * @see https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository
1738
1722
  */
@@ -1898,7 +1882,7 @@ export interface Endpoints {
1898
1882
  */
1899
1883
  "GET /repos/{owner}/{repo}/assignees/{assignee}": ReadonlyOperation<"/repos/{owner}/{repo}/assignees/{assignee}", "get">;
1900
1884
  /**
1901
- * @see https://docs.github.com/rest/repos/repos#list-attestations
1885
+ * @see https://docs.github.com/rest/repos/attestations#list-attestations
1902
1886
  */
1903
1887
  "GET /repos/{owner}/{repo}/attestations/{subject_digest}": ReadonlyOperation<"/repos/{owner}/{repo}/attestations/{subject_digest}", "get">;
1904
1888
  /**
@@ -2458,10 +2442,6 @@ export interface Endpoints {
2458
2442
  * @see https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository
2459
2443
  */
2460
2444
  "GET /repos/{owner}/{repo}/private-vulnerability-reporting": ReadonlyOperation<"/repos/{owner}/{repo}/private-vulnerability-reporting", "get">;
2461
- /**
2462
- * @see https://docs.github.com/rest/projects-classic/projects#list-repository-projects
2463
- */
2464
- "GET /repos/{owner}/{repo}/projects": ReadonlyOperation<"/repos/{owner}/{repo}/projects", "get">;
2465
2445
  /**
2466
2446
  * @see https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository
2467
2447
  */
@@ -2758,14 +2738,6 @@ export interface Endpoints {
2758
2738
  * @see https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy
2759
2739
  */
2760
2740
  "GET /teams/{team_id}/memberships/{username}": ReadonlyOperation<"/teams/{team_id}/memberships/{username}", "get">;
2761
- /**
2762
- * @see https://docs.github.com/rest/teams/teams#list-team-projects-legacy
2763
- */
2764
- "GET /teams/{team_id}/projects": ReadonlyOperation<"/teams/{team_id}/projects", "get">;
2765
- /**
2766
- * @see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy
2767
- */
2768
- "GET /teams/{team_id}/projects/{project_id}": ReadonlyOperation<"/teams/{team_id}/projects/{project_id}", "get">;
2769
2741
  /**
2770
2742
  * @see https://docs.github.com/rest/teams/teams#list-team-repositories-legacy
2771
2743
  */
@@ -3050,10 +3022,6 @@ export interface Endpoints {
3050
3022
  * @see https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user
3051
3023
  */
3052
3024
  "GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}": ReadonlyOperation<"/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}", "get">;
3053
- /**
3054
- * @see https://docs.github.com/rest/projects-classic/projects#list-user-projects
3055
- */
3056
- "GET /users/{username}/projects": ReadonlyOperation<"/users/{username}/projects", "get">;
3057
3025
  /**
3058
3026
  * @see https://docs.github.com/rest/projects/projects#list-projects-for-user
3059
3027
  */
@@ -3091,25 +3059,17 @@ export interface Endpoints {
3091
3059
  */
3092
3060
  "GET /users/{username}/repos": ReadonlyOperation<"/users/{username}/repos", "get">;
3093
3061
  /**
3094
- * @see https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user
3095
- */
3096
- "GET /users/{username}/settings/billing/actions": ReadonlyOperation<"/users/{username}/settings/billing/actions", "get">;
3097
- /**
3098
- * @see https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user
3099
- */
3100
- "GET /users/{username}/settings/billing/packages": ReadonlyOperation<"/users/{username}/settings/billing/packages", "get">;
3101
- /**
3102
- * @see https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user
3062
+ * @see https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user
3103
3063
  */
3104
3064
  "GET /users/{username}/settings/billing/premium_request/usage": ReadonlyOperation<"/users/{username}/settings/billing/premium_request/usage", "get">;
3105
3065
  /**
3106
- * @see https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user
3066
+ * @see https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user
3107
3067
  */
3108
- "GET /users/{username}/settings/billing/shared-storage": ReadonlyOperation<"/users/{username}/settings/billing/shared-storage", "get">;
3068
+ "GET /users/{username}/settings/billing/usage": ReadonlyOperation<"/users/{username}/settings/billing/usage", "get">;
3109
3069
  /**
3110
- * @see https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user
3070
+ * @see https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user
3111
3071
  */
3112
- "GET /users/{username}/settings/billing/usage": ReadonlyOperation<"/users/{username}/settings/billing/usage", "get">;
3072
+ "GET /users/{username}/settings/billing/usage/summary": ReadonlyOperation<"/users/{username}/settings/billing/usage/summary", "get">;
3113
3073
  /**
3114
3074
  * @see https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user
3115
3075
  */
@@ -3170,6 +3130,10 @@ export interface Endpoints {
3170
3130
  * @see https://docs.github.com/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization
3171
3131
  */
3172
3132
  "PATCH /organizations/{org}/org-properties/values": Operation<"/organizations/{org}/org-properties/values", "patch">;
3133
+ /**
3134
+ * @see https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization
3135
+ */
3136
+ "PATCH /organizations/{org}/settings/billing/budgets/{budget_id}": Operation<"/organizations/{org}/settings/billing/budgets/{budget_id}", "patch">;
3173
3137
  /**
3174
3138
  * @see https://docs.github.com/rest/orgs/orgs#update-an-organization
3175
3139
  */
@@ -3238,14 +3202,6 @@ export interface Endpoints {
3238
3202
  * @see https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment
3239
3203
  */
3240
3204
  "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", "patch">;
3241
- /**
3242
- * @see https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column
3243
- */
3244
- "PATCH /projects/columns/{column_id}": Operation<"/projects/columns/{column_id}", "patch">;
3245
- /**
3246
- * @see https://docs.github.com/rest/projects-classic/projects#update-a-project
3247
- */
3248
- "PATCH /projects/{project_id}": Operation<"/projects/{project_id}", "patch">;
3249
3205
  /**
3250
3206
  * @see https://docs.github.com/rest/repos/repos#update-a-repository
3251
3207
  */
@@ -3502,6 +3458,14 @@ export interface Endpoints {
3502
3458
  * @see https://docs.github.com/rest/actions/variables#create-an-organization-variable
3503
3459
  */
3504
3460
  "POST /orgs/{org}/actions/variables": Operation<"/orgs/{org}/actions/variables", "post">;
3461
+ /**
3462
+ * @see https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record
3463
+ */
3464
+ "POST /orgs/{org}/artifacts/metadata/deployment-record": Operation<"/orgs/{org}/artifacts/metadata/deployment-record", "post">;
3465
+ /**
3466
+ * @see https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records
3467
+ */
3468
+ "POST /orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": Operation<"/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}", "post">;
3505
3469
  /**
3506
3470
  * @see https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record
3507
3471
  */
@@ -3595,9 +3559,13 @@ export interface Endpoints {
3595
3559
  */
3596
3560
  "POST /orgs/{org}/private-registries": Operation<"/orgs/{org}/private-registries", "post">;
3597
3561
  /**
3598
- * @see https://docs.github.com/rest/projects-classic/projects#create-an-organization-project
3562
+ * @see https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project
3599
3563
  */
3600
- "POST /orgs/{org}/projects": Operation<"/orgs/{org}/projects", "post">;
3564
+ "POST /orgs/{org}/projectsV2/{project_number}/drafts": Operation<"/orgs/{org}/projectsV2/{project_number}/drafts", "post">;
3565
+ /**
3566
+ * @see https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project
3567
+ */
3568
+ "POST /orgs/{org}/projectsV2/{project_number}/fields": Operation<"/orgs/{org}/projectsV2/{project_number}/fields", "post">;
3601
3569
  /**
3602
3570
  * @see https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project
3603
3571
  */
@@ -3638,10 +3606,6 @@ export interface Endpoints {
3638
3606
  * @see https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization
3639
3607
  */
3640
3608
  "POST /orgs/{org}/{security_product}/{enablement}": Operation<"/orgs/{org}/{security_product}/{enablement}", "post">;
3641
- /**
3642
- * @see https://docs.github.com/rest/projects-classic/columns#move-a-project-column
3643
- */
3644
- "POST /projects/columns/{column_id}/moves": Operation<"/projects/columns/{column_id}/moves", "post">;
3645
3609
  /**
3646
3610
  * @see https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run
3647
3611
  */
@@ -3699,7 +3663,7 @@ export interface Endpoints {
3699
3663
  */
3700
3664
  "POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", "post">;
3701
3665
  /**
3702
- * @see https://docs.github.com/rest/repos/repos#create-an-attestation
3666
+ * @see https://docs.github.com/rest/repos/attestations#create-an-attestation
3703
3667
  */
3704
3668
  "POST /repos/{owner}/{repo}/attestations": Operation<"/repos/{owner}/{repo}/attestations", "post">;
3705
3669
  /**
@@ -3914,10 +3878,6 @@ export interface Endpoints {
3914
3878
  * @see https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment
3915
3879
  */
3916
3880
  "POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel": Operation<"/repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel", "post">;
3917
- /**
3918
- * @see https://docs.github.com/rest/projects-classic/projects#create-a-repository-project
3919
- */
3920
- "POST /repos/{owner}/{repo}/projects": Operation<"/repos/{owner}/{repo}/projects", "post">;
3921
3881
  /**
3922
3882
  * @see https://docs.github.com/rest/pulls/pulls#create-a-pull-request
3923
3883
  */
@@ -4062,10 +4022,6 @@ export interface Endpoints {
4062
4022
  * @see https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user
4063
4023
  */
4064
4024
  "POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": Operation<"/user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore", "post">;
4065
- /**
4066
- * @see https://docs.github.com/rest/projects-classic/projects#create-a-user-project
4067
- */
4068
- "POST /user/projects": Operation<"/user/projects", "post">;
4069
4025
  /**
4070
4026
  * @see https://docs.github.com/rest/repos/repos#create-a-repository-for-the-authenticated-user
4071
4027
  */
@@ -4078,6 +4034,10 @@ export interface Endpoints {
4078
4034
  * @see https://docs.github.com/rest/users/ssh-signing-keys#create-a-ssh-signing-key-for-the-authenticated-user
4079
4035
  */
4080
4036
  "POST /user/ssh_signing_keys": Operation<"/user/ssh_signing_keys", "post">;
4037
+ /**
4038
+ * @see https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project
4039
+ */
4040
+ "POST /user/{user_id}/projectsV2/{project_number}/drafts": Operation<"/user/{user_id}/projectsV2/{project_number}/drafts", "post">;
4081
4041
  /**
4082
4042
  * @see https://docs.github.com/rest/users/attestations#list-attestations-by-bulk-subject-digests
4083
4043
  */
@@ -4094,6 +4054,10 @@ export interface Endpoints {
4094
4054
  * @see https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user
4095
4055
  */
4096
4056
  "POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": Operation<"/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore", "post">;
4057
+ /**
4058
+ * @see https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project
4059
+ */
4060
+ "POST /users/{username}/projectsV2/{project_number}/fields": Operation<"/users/{username}/projectsV2/{project_number}/fields", "post">;
4097
4061
  /**
4098
4062
  * @see https://docs.github.com/rest/projects/items#add-item-to-user-owned-project
4099
4063
  */
@@ -4106,6 +4070,14 @@ export interface Endpoints {
4106
4070
  * @see https://docs.github.com/rest/apps/apps#suspend-an-app-installation
4107
4071
  */
4108
4072
  "PUT /app/installations/{installation_id}/suspended": Operation<"/app/installations/{installation_id}/suspended", "put">;
4073
+ /**
4074
+ * @see https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-enterprise
4075
+ */
4076
+ "PUT /enterprises/{enterprise}/actions/cache/retention-limit": Operation<"/enterprises/{enterprise}/actions/cache/retention-limit", "put">;
4077
+ /**
4078
+ * @see https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-enterprise
4079
+ */
4080
+ "PUT /enterprises/{enterprise}/actions/cache/storage-limit": Operation<"/enterprises/{enterprise}/actions/cache/storage-limit", "put">;
4109
4081
  /**
4110
4082
  * @see https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise
4111
4083
  */
@@ -4130,6 +4102,14 @@ export interface Endpoints {
4130
4102
  * @see https://docs.github.com/rest/activity/notifications#set-a-thread-subscription
4131
4103
  */
4132
4104
  "PUT /notifications/threads/{thread_id}/subscription": Operation<"/notifications/threads/{thread_id}/subscription", "put">;
4105
+ /**
4106
+ * @see https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization
4107
+ */
4108
+ "PUT /organizations/{org}/actions/cache/retention-limit": Operation<"/organizations/{org}/actions/cache/retention-limit", "put">;
4109
+ /**
4110
+ * @see https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization
4111
+ */
4112
+ "PUT /organizations/{org}/actions/cache/storage-limit": Operation<"/organizations/{org}/actions/cache/storage-limit", "put">;
4133
4113
  /**
4134
4114
  * @see https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot
4135
4115
  */
@@ -4314,18 +4294,18 @@ export interface Endpoints {
4314
4294
  * @see https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user
4315
4295
  */
4316
4296
  "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}": Operation<"/orgs/{org}/teams/{team_slug}/memberships/{username}", "put">;
4317
- /**
4318
- * @see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions
4319
- */
4320
- "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}": Operation<"/orgs/{org}/teams/{team_slug}/projects/{project_id}", "put">;
4321
4297
  /**
4322
4298
  * @see https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions
4323
4299
  */
4324
4300
  "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}": Operation<"/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", "put">;
4325
4301
  /**
4326
- * @see https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator
4302
+ * @see https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository
4303
+ */
4304
+ "PUT /repos/{owner}/{repo}/actions/cache/retention-limit": Operation<"/repos/{owner}/{repo}/actions/cache/retention-limit", "put">;
4305
+ /**
4306
+ * @see https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository
4327
4307
  */
4328
- "PUT /projects/{project_id}/collaborators/{username}": Operation<"/projects/{project_id}/collaborators/{username}", "put">;
4308
+ "PUT /repos/{owner}/{repo}/actions/cache/storage-limit": Operation<"/repos/{owner}/{repo}/actions/cache/storage-limit", "put">;
4329
4309
  /**
4330
4310
  * @see https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository
4331
4311
  */
@@ -4498,10 +4478,6 @@ export interface Endpoints {
4498
4478
  * @see https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy
4499
4479
  */
4500
4480
  "PUT /teams/{team_id}/memberships/{username}": Operation<"/teams/{team_id}/memberships/{username}", "put">;
4501
- /**
4502
- * @see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy
4503
- */
4504
- "PUT /teams/{team_id}/projects/{project_id}": Operation<"/teams/{team_id}/projects/{project_id}", "put">;
4505
4481
  /**
4506
4482
  * @see https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy
4507
4483
  */
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@octokit/types",
3
- "version": "16.0.0",
3
+ "version": "17.0.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
7
7
  },
8
8
  "description": "Shared TypeScript definitions for Octokit projects",
9
9
  "dependencies": {
10
- "@octokit/openapi-types": "^27.0.0"
10
+ "@octokit/openapi-types": "^28.0.0"
11
11
  },
12
12
  "repository": "github:octokit/types.ts",
13
13
  "keywords": [
@@ -23,7 +23,7 @@
23
23
  "@octokit/tsconfig": "^4.0.0",
24
24
  "github-openapi-graphql-query": "^5.0.0",
25
25
  "handlebars": "^4.7.6",
26
- "npm-run-all2": "^8.0.0",
26
+ "npm-run-all2": "^9.0.0",
27
27
  "prettier": "^3.0.0",
28
28
  "semantic-release": "^25.0.0",
29
29
  "semantic-release-plugin-update-version-in-files": "^2.0.0",
@@ -32,7 +32,7 @@
32
32
  "typescript": "^5.0.0"
33
33
  },
34
34
  "octokit": {
35
- "openapi-version": "21.0.0"
35
+ "openapi-version": "22.0.0"
36
36
  },
37
37
  "files": [
38
38
  "dist-types/**"