@octokit/types 13.9.0 → 14.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 = "13.9.0";
1
+ export declare const VERSION = "14.0.0";
@@ -159,6 +159,10 @@ export interface Endpoints {
159
159
  * @see https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization
160
160
  */
161
161
  "DELETE /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "delete">;
162
+ /**
163
+ * @see https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization
164
+ */
165
+ "DELETE /orgs/{org}/campaigns/{campaign_number}": Operation<"/orgs/{org}/campaigns/{campaign_number}", "delete">;
162
166
  /**
163
167
  * @see https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories
164
168
  */
@@ -207,6 +211,10 @@ export interface Endpoints {
207
211
  * @see https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation
208
212
  */
209
213
  "DELETE /orgs/{org}/invitations/{invitation_id}": Operation<"/orgs/{org}/invitations/{invitation_id}", "delete">;
214
+ /**
215
+ * @see https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization
216
+ */
217
+ "DELETE /orgs/{org}/issue-types/{issue_type_id}": Operation<"/orgs/{org}/issue-types/{issue_type_id}", "delete">;
210
218
  /**
211
219
  * @see https://docs.github.com/rest/orgs/members#remove-an-organization-member
212
220
  */
@@ -1072,6 +1080,14 @@ export interface Endpoints {
1072
1080
  * @see https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization
1073
1081
  */
1074
1082
  "GET /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "get">;
1083
+ /**
1084
+ * @see https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization
1085
+ */
1086
+ "GET /orgs/{org}/campaigns": Operation<"/orgs/{org}/campaigns", "get">;
1087
+ /**
1088
+ * @see https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization
1089
+ */
1090
+ "GET /orgs/{org}/campaigns/{campaign_number}": Operation<"/orgs/{org}/campaigns/{campaign_number}", "get">;
1075
1091
  /**
1076
1092
  * @see https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization
1077
1093
  */
@@ -1124,10 +1140,6 @@ export interface Endpoints {
1124
1140
  * @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization
1125
1141
  */
1126
1142
  "GET /orgs/{org}/copilot/metrics": Operation<"/orgs/{org}/copilot/metrics", "get">;
1127
- /**
1128
- * @see https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members
1129
- */
1130
- "GET /orgs/{org}/copilot/usage": Operation<"/orgs/{org}/copilot/usage", "get">;
1131
1143
  /**
1132
1144
  * @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization
1133
1145
  */
@@ -1236,6 +1248,10 @@ export interface Endpoints {
1236
1248
  * @see https://docs.github.com/rest/orgs/members#list-organization-invitation-teams
1237
1249
  */
1238
1250
  "GET /orgs/{org}/invitations/{invitation_id}/teams": Operation<"/orgs/{org}/invitations/{invitation_id}/teams", "get">;
1251
+ /**
1252
+ * @see https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization
1253
+ */
1254
+ "GET /orgs/{org}/issue-types": Operation<"/orgs/{org}/issue-types", "get">;
1239
1255
  /**
1240
1256
  * @see https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user
1241
1257
  */
@@ -1436,10 +1452,6 @@ export interface Endpoints {
1436
1452
  * @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team
1437
1453
  */
1438
1454
  "GET /orgs/{org}/team/{team_slug}/copilot/metrics": Operation<"/orgs/{org}/team/{team_slug}/copilot/metrics", "get">;
1439
- /**
1440
- * @see https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team
1441
- */
1442
- "GET /orgs/{org}/team/{team_slug}/copilot/usage": Operation<"/orgs/{org}/team/{team_slug}/copilot/usage", "get">;
1443
1455
  /**
1444
1456
  * @see https://docs.github.com/rest/teams/teams#list-teams
1445
1457
  */
@@ -2933,6 +2945,10 @@ export interface Endpoints {
2933
2945
  * @see https://docs.github.com/rest/actions/variables#update-an-organization-variable
2934
2946
  */
2935
2947
  "PATCH /orgs/{org}/actions/variables/{name}": Operation<"/orgs/{org}/actions/variables/{name}", "patch">;
2948
+ /**
2949
+ * @see https://docs.github.com/rest/campaigns/campaigns#update-a-campaign
2950
+ */
2951
+ "PATCH /orgs/{org}/campaigns/{campaign_number}": Operation<"/orgs/{org}/campaigns/{campaign_number}", "patch">;
2936
2952
  /**
2937
2953
  * @see https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration
2938
2954
  */
@@ -3213,6 +3229,10 @@ export interface Endpoints {
3213
3229
  * @see https://docs.github.com/rest/actions/variables#create-an-organization-variable
3214
3230
  */
3215
3231
  "POST /orgs/{org}/actions/variables": Operation<"/orgs/{org}/actions/variables", "post">;
3232
+ /**
3233
+ * @see https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization
3234
+ */
3235
+ "POST /orgs/{org}/campaigns": Operation<"/orgs/{org}/campaigns", "post">;
3216
3236
  /**
3217
3237
  * @see https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration
3218
3238
  */
@@ -3249,6 +3269,10 @@ export interface Endpoints {
3249
3269
  * @see https://docs.github.com/rest/orgs/members#create-an-organization-invitation
3250
3270
  */
3251
3271
  "POST /orgs/{org}/invitations": Operation<"/orgs/{org}/invitations", "post">;
3272
+ /**
3273
+ * @see https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization
3274
+ */
3275
+ "POST /orgs/{org}/issue-types": Operation<"/orgs/{org}/issue-types", "post">;
3252
3276
  /**
3253
3277
  * @see https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user
3254
3278
  */
@@ -3909,6 +3933,10 @@ export interface Endpoints {
3909
3933
  * @see https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization
3910
3934
  */
3911
3935
  "PUT /orgs/{org}/interaction-limits": Operation<"/orgs/{org}/interaction-limits", "put">;
3936
+ /**
3937
+ * @see https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization
3938
+ */
3939
+ "PUT /orgs/{org}/issue-types/{issue_type_id}": Operation<"/orgs/{org}/issue-types/{issue_type_id}", "put">;
3912
3940
  /**
3913
3941
  * @see https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user
3914
3942
  */
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@octokit/types",
3
- "version": "13.9.0",
3
+ "version": "14.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": "^24.1.0"
10
+ "@octokit/openapi-types": "^25.0.0"
11
11
  },
12
12
  "repository": "github:octokit/types.ts",
13
13
  "keywords": [
@@ -32,7 +32,7 @@
32
32
  "typescript": "^5.0.0"
33
33
  },
34
34
  "octokit": {
35
- "openapi-version": "18.1.0"
35
+ "openapi-version": "19.0.0"
36
36
  },
37
37
  "files": [
38
38
  "dist-types/**"