@octokit/types 12.0.1 → 12.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.
@@ -1 +1 @@
1
- export declare const VERSION = "12.0.1";
1
+ export declare const VERSION = "12.1.1";
@@ -200,6 +200,10 @@ export interface Endpoints {
200
200
  * @see https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization
201
201
  */
202
202
  "DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}": Operation<"/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}", "delete">;
203
+ /**
204
+ * @see https://docs.github.com/rest/orgs/properties#remove-a-custom-property-for-an-organization
205
+ */
206
+ "DELETE /orgs/{org}/properties/schema/{custom_property_name}": Operation<"/orgs/{org}/properties/schema/{custom_property_name}", "delete">;
203
207
  /**
204
208
  * @see https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user
205
209
  */
@@ -401,7 +405,7 @@ export interface Endpoints {
401
405
  */
402
406
  "DELETE /repos/{owner}/{repo}/git/refs/{ref}": Operation<"/repos/{owner}/{repo}/git/refs/{ref}", "delete">;
403
407
  /**
404
- * @see https://docs.github.com/rest/webhooks/repos#delete-a-repository-webhook
408
+ * @see https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook
405
409
  */
406
410
  "DELETE /repos/{owner}/{repo}/hooks/{hook_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}", "delete">;
407
411
  /**
@@ -1109,6 +1113,18 @@ export interface Endpoints {
1109
1113
  * @see https://docs.github.com/rest/projects/projects#list-organization-projects
1110
1114
  */
1111
1115
  "GET /orgs/{org}/projects": Operation<"/orgs/{org}/projects", "get">;
1116
+ /**
1117
+ * @see https://docs.github.com/rest/orgs/properties#get-all-custom-properties-for-an-organization
1118
+ */
1119
+ "GET /orgs/{org}/properties/schema": Operation<"/orgs/{org}/properties/schema", "get">;
1120
+ /**
1121
+ * @see https://docs.github.com/rest/orgs/properties#get-a-custom-property-for-an-organization
1122
+ */
1123
+ "GET /orgs/{org}/properties/schema/{custom_property_name}": Operation<"/orgs/{org}/properties/schema/{custom_property_name}", "get">;
1124
+ /**
1125
+ * @see https://docs.github.com/rest/orgs/properties#list-custom-property-values-for-organization-repositories
1126
+ */
1127
+ "GET /orgs/{org}/properties/values": Operation<"/orgs/{org}/properties/values", "get">;
1112
1128
  /**
1113
1129
  * @see https://docs.github.com/rest/orgs/members#list-public-organization-members
1114
1130
  */
@@ -1125,6 +1141,14 @@ export interface Endpoints {
1125
1141
  * @see https://docs.github.com/rest/orgs/rules#get-all-organization-repository-rulesets
1126
1142
  */
1127
1143
  "GET /orgs/{org}/rulesets": Operation<"/orgs/{org}/rulesets", "get">;
1144
+ /**
1145
+ * @see https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites
1146
+ */
1147
+ "GET /orgs/{org}/rulesets/rule-suites": Operation<"/orgs/{org}/rulesets/rule-suites", "get">;
1148
+ /**
1149
+ * @see https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite
1150
+ */
1151
+ "GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}": Operation<"/orgs/{org}/rulesets/rule-suites/{rule_suite_id}", "get">;
1128
1152
  /**
1129
1153
  * @see https://docs.github.com/rest/orgs/rules#get-an-organization-repository-ruleset
1130
1154
  */
@@ -1554,6 +1578,10 @@ export interface Endpoints {
1554
1578
  * @see https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace
1555
1579
  */
1556
1580
  "GET /repos/{owner}/{repo}/codespaces/new": Operation<"/repos/{owner}/{repo}/codespaces/new", "get">;
1581
+ /**
1582
+ * @see https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user
1583
+ */
1584
+ "GET /repos/{owner}/{repo}/codespaces/permissions_check": Operation<"/repos/{owner}/{repo}/codespaces/permissions_check", "get">;
1557
1585
  /**
1558
1586
  * @see https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets
1559
1587
  */
@@ -1751,23 +1779,23 @@ export interface Endpoints {
1751
1779
  */
1752
1780
  "GET /repos/{owner}/{repo}/git/trees/{tree_sha}": Operation<"/repos/{owner}/{repo}/git/trees/{tree_sha}", "get">;
1753
1781
  /**
1754
- * @see https://docs.github.com/rest/webhooks/repos#list-repository-webhooks
1782
+ * @see https://docs.github.com/rest/repos/webhooks#list-repository-webhooks
1755
1783
  */
1756
1784
  "GET /repos/{owner}/{repo}/hooks": Operation<"/repos/{owner}/{repo}/hooks", "get">;
1757
1785
  /**
1758
- * @see https://docs.github.com/rest/webhooks/repos#get-a-repository-webhook
1786
+ * @see https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook
1759
1787
  */
1760
1788
  "GET /repos/{owner}/{repo}/hooks/{hook_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}", "get">;
1761
1789
  /**
1762
- * @see https://docs.github.com/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository
1790
+ * @see https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository
1763
1791
  */
1764
1792
  "GET /repos/{owner}/{repo}/hooks/{hook_id}/config": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/config", "get">;
1765
1793
  /**
1766
- * @see https://docs.github.com/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook
1794
+ * @see https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook
1767
1795
  */
1768
1796
  "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries", "get">;
1769
1797
  /**
1770
- * @see https://docs.github.com/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook
1798
+ * @see https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook
1771
1799
  */
1772
1800
  "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}", "get">;
1773
1801
  /**
@@ -1910,6 +1938,10 @@ export interface Endpoints {
1910
1938
  * @see https://docs.github.com/rest/projects/projects#list-repository-projects
1911
1939
  */
1912
1940
  "GET /repos/{owner}/{repo}/projects": Operation<"/repos/{owner}/{repo}/projects", "get">;
1941
+ /**
1942
+ * @see https://docs.github.com/rest/repos/properties#get-all-custom-property-values-for-a-repository
1943
+ */
1944
+ "GET /repos/{owner}/{repo}/properties/values": Operation<"/repos/{owner}/{repo}/properties/values", "get">;
1913
1945
  /**
1914
1946
  * @see https://docs.github.com/rest/pulls/pulls#list-pull-requests
1915
1947
  */
@@ -2006,6 +2038,14 @@ export interface Endpoints {
2006
2038
  * @see https://docs.github.com/rest/repos/rules#get-all-repository-rulesets
2007
2039
  */
2008
2040
  "GET /repos/{owner}/{repo}/rulesets": Operation<"/repos/{owner}/{repo}/rulesets", "get">;
2041
+ /**
2042
+ * @see https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites
2043
+ */
2044
+ "GET /repos/{owner}/{repo}/rulesets/rule-suites": Operation<"/repos/{owner}/{repo}/rulesets/rule-suites", "get">;
2045
+ /**
2046
+ * @see https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite
2047
+ */
2048
+ "GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}": Operation<"/repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}", "get">;
2009
2049
  /**
2010
2050
  * @see https://docs.github.com/rest/repos/rules#get-a-repository-ruleset
2011
2051
  */
@@ -2574,6 +2614,14 @@ export interface Endpoints {
2574
2614
  * @see https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization
2575
2615
  */
2576
2616
  "PATCH /orgs/{org}/hooks/{hook_id}/config": Operation<"/orgs/{org}/hooks/{hook_id}/config", "patch">;
2617
+ /**
2618
+ * @see https://docs.github.com/rest/orgs/properties#create-or-update-custom-properties-for-an-organization
2619
+ */
2620
+ "PATCH /orgs/{org}/properties/schema": Operation<"/orgs/{org}/properties/schema", "patch">;
2621
+ /**
2622
+ * @see https://docs.github.com/rest/orgs/properties#create-or-update-custom-property-values-for-organization-repositories
2623
+ */
2624
+ "PATCH /orgs/{org}/properties/values": Operation<"/orgs/{org}/properties/values", "patch">;
2577
2625
  /**
2578
2626
  * @see https://docs.github.com/rest/teams/teams#update-a-team
2579
2627
  */
@@ -2643,11 +2691,11 @@ export interface Endpoints {
2643
2691
  */
2644
2692
  "PATCH /repos/{owner}/{repo}/git/refs/{ref}": Operation<"/repos/{owner}/{repo}/git/refs/{ref}", "patch">;
2645
2693
  /**
2646
- * @see https://docs.github.com/rest/webhooks/repos#update-a-repository-webhook
2694
+ * @see https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook
2647
2695
  */
2648
2696
  "PATCH /repos/{owner}/{repo}/hooks/{hook_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}", "patch">;
2649
2697
  /**
2650
- * @see https://docs.github.com/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository
2698
+ * @see https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository
2651
2699
  */
2652
2700
  "PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/config", "patch">;
2653
2701
  /**
@@ -2946,6 +2994,10 @@ export interface Endpoints {
2946
2994
  * @see https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run
2947
2995
  */
2948
2996
  "POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule", "post">;
2997
+ /**
2998
+ * @see https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run
2999
+ */
3000
+ "POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel", "post">;
2949
3001
  /**
2950
3002
  * @see https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run
2951
3003
  */
@@ -3079,19 +3131,19 @@ export interface Endpoints {
3079
3131
  */
3080
3132
  "POST /repos/{owner}/{repo}/git/trees": Operation<"/repos/{owner}/{repo}/git/trees", "post">;
3081
3133
  /**
3082
- * @see https://docs.github.com/rest/webhooks/repos#create-a-repository-webhook
3134
+ * @see https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook
3083
3135
  */
3084
3136
  "POST /repos/{owner}/{repo}/hooks": Operation<"/repos/{owner}/{repo}/hooks", "post">;
3085
3137
  /**
3086
- * @see https://docs.github.com/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook
3138
+ * @see https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook
3087
3139
  */
3088
3140
  "POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts", "post">;
3089
3141
  /**
3090
- * @see https://docs.github.com/rest/webhooks/repos#ping-a-repository-webhook
3142
+ * @see https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook
3091
3143
  */
3092
3144
  "POST /repos/{owner}/{repo}/hooks/{hook_id}/pings": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/pings", "post">;
3093
3145
  /**
3094
- * @see https://docs.github.com/rest/webhooks/repos#test-the-push-repository-webhook
3146
+ * @see https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook
3095
3147
  */
3096
3148
  "POST /repos/{owner}/{repo}/hooks/{hook_id}/tests": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/tests", "post">;
3097
3149
  /**
@@ -3430,6 +3482,10 @@ export interface Endpoints {
3430
3482
  * @see https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator
3431
3483
  */
3432
3484
  "PUT /orgs/{org}/outside_collaborators/{username}": Operation<"/orgs/{org}/outside_collaborators/{username}", "put">;
3485
+ /**
3486
+ * @see https://docs.github.com/rest/orgs/properties#create-or-update-a-custom-property-for-an-organization
3487
+ */
3488
+ "PUT /orgs/{org}/properties/schema/{custom_property_name}": Operation<"/orgs/{org}/properties/schema/{custom_property_name}", "put">;
3433
3489
  /**
3434
3490
  * @see https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user
3435
3491
  */
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@octokit/types",
3
- "version": "12.0.1",
3
+ "version": "12.1.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
7
  "description": "Shared TypeScript definitions for Octokit projects",
8
8
  "dependencies": {
9
- "@octokit/openapi-types": "^19.0.1"
9
+ "@octokit/openapi-types": "^19.0.2"
10
10
  },
11
11
  "repository": "github:octokit/types.ts",
12
12
  "keywords": [
@@ -36,7 +36,7 @@
36
36
  "typescript": "^5.0.0"
37
37
  },
38
38
  "octokit": {
39
- "openapi-version": "13.0.0"
39
+ "openapi-version": "13.2.0"
40
40
  },
41
41
  "files": [
42
42
  "dist-types/**"