@octokit/types 13.10.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.10.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
  */
@@ -1076,6 +1080,14 @@ export interface Endpoints {
1076
1080
  * @see https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization
1077
1081
  */
1078
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">;
1079
1091
  /**
1080
1092
  * @see https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization
1081
1093
  */
@@ -1128,10 +1140,6 @@ export interface Endpoints {
1128
1140
  * @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization
1129
1141
  */
1130
1142
  "GET /orgs/{org}/copilot/metrics": Operation<"/orgs/{org}/copilot/metrics", "get">;
1131
- /**
1132
- * @see https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members
1133
- */
1134
- "GET /orgs/{org}/copilot/usage": Operation<"/orgs/{org}/copilot/usage", "get">;
1135
1143
  /**
1136
1144
  * @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization
1137
1145
  */
@@ -1444,10 +1452,6 @@ export interface Endpoints {
1444
1452
  * @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team
1445
1453
  */
1446
1454
  "GET /orgs/{org}/team/{team_slug}/copilot/metrics": Operation<"/orgs/{org}/team/{team_slug}/copilot/metrics", "get">;
1447
- /**
1448
- * @see https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team
1449
- */
1450
- "GET /orgs/{org}/team/{team_slug}/copilot/usage": Operation<"/orgs/{org}/team/{team_slug}/copilot/usage", "get">;
1451
1455
  /**
1452
1456
  * @see https://docs.github.com/rest/teams/teams#list-teams
1453
1457
  */
@@ -2941,6 +2945,10 @@ export interface Endpoints {
2941
2945
  * @see https://docs.github.com/rest/actions/variables#update-an-organization-variable
2942
2946
  */
2943
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">;
2944
2952
  /**
2945
2953
  * @see https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration
2946
2954
  */
@@ -3221,6 +3229,10 @@ export interface Endpoints {
3221
3229
  * @see https://docs.github.com/rest/actions/variables#create-an-organization-variable
3222
3230
  */
3223
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">;
3224
3236
  /**
3225
3237
  * @see https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration
3226
3238
  */
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@octokit/types",
3
- "version": "13.10.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.2.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.2.0"
35
+ "openapi-version": "19.0.0"
36
36
  },
37
37
  "files": [
38
38
  "dist-types/**"