@octokit/types 12.0.1 → 12.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- export declare const VERSION = "12.0.1";
1
+ export declare const VERSION = "12.1.0";
@@ -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
  */
@@ -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
  */
@@ -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
  */
@@ -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
  */
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "@octokit/types",
3
- "version": "12.0.1",
3
+ "version": "12.1.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -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.1.0"
40
40
  },
41
41
  "files": [
42
42
  "dist-types/**"