@octokit/types 7.0.0 → 7.2.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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const VERSION = "7.0.0";
5
+ const VERSION = "7.2.0";
6
6
 
7
7
  exports.VERSION = VERSION;
8
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- export const VERSION = "7.0.0";
1
+ export const VERSION = "7.2.0";
@@ -1 +1 @@
1
- export declare const VERSION = "7.0.0";
1
+ export declare const VERSION = "7.2.0";
@@ -617,6 +617,10 @@ export interface Endpoints {
617
617
  * @see https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation
618
618
  */
619
619
  "DELETE /user/repository_invitations/{invitation_id}": Operation<"/user/repository_invitations/{invitation_id}", "delete">;
620
+ /**
621
+ * @see https://docs.github.com/rest/reference/users#delete-a-ssh-signing-key-for-the-authenticated-user
622
+ */
623
+ "DELETE /user/ssh_signing_keys/{ssh_signing_key_id}": Operation<"/user/ssh_signing_keys/{ssh_signing_key_id}", "delete">;
620
624
  /**
621
625
  * @see https://docs.github.com/rest/reference/activity#unstar-a-repository-for-the-authenticated-user
622
626
  */
@@ -737,6 +741,14 @@ export interface Endpoints {
737
741
  * @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-an-enterprise
738
742
  */
739
743
  "GET /enterprises/{enterprise}/code-scanning/alerts": Operation<"/enterprises/{enterprise}/code-scanning/alerts", "get">;
744
+ /**
745
+ * @see https://docs.github.com/rest/reference/enterprise-admin#list-enterprise-consumed-licenses
746
+ */
747
+ "GET /enterprises/{enterprise}/consumed-licenses": Operation<"/enterprises/{enterprise}/consumed-licenses", "get">;
748
+ /**
749
+ * @see https://docs.github.com/rest/reference/enterprise-admin#get-a-license-sync-status
750
+ */
751
+ "GET /enterprises/{enterprise}/license-sync-status": Operation<"/enterprises/{enterprise}/license-sync-status", "get">;
740
752
  /**
741
753
  * @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-enterprise
742
754
  */
@@ -2331,6 +2343,14 @@ export interface Endpoints {
2331
2343
  * @see https://docs.github.com/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user
2332
2344
  */
2333
2345
  "GET /user/repository_invitations": Operation<"/user/repository_invitations", "get">;
2346
+ /**
2347
+ * @see https://docs.github.com/rest/reference/users#list-public-ssh-signing-keys-for-the-authenticated-user
2348
+ */
2349
+ "GET /user/ssh_signing_keys": Operation<"/user/ssh_signing_keys", "get">;
2350
+ /**
2351
+ * @see https://docs.github.com/rest/reference/users#get-a-ssh-signing-key-for-the-authenticated-user
2352
+ */
2353
+ "GET /user/ssh_signing_keys/{ssh_signing_key_id}": Operation<"/user/ssh_signing_keys/{ssh_signing_key_id}", "get">;
2334
2354
  /**
2335
2355
  * @see https://docs.github.com/rest/reference/activity#list-repositories-starred-by-the-authenticated-user
2336
2356
  */
@@ -2447,6 +2467,10 @@ export interface Endpoints {
2447
2467
  * @see https://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-a-user
2448
2468
  */
2449
2469
  "GET /users/{username}/settings/billing/shared-storage": Operation<"/users/{username}/settings/billing/shared-storage", "get">;
2470
+ /**
2471
+ * @see https://docs.github.com/rest/reference/users#list-ssh-signing-keys-for-a-user
2472
+ */
2473
+ "GET /users/{username}/ssh_signing_keys": Operation<"/users/{username}/ssh_signing_keys", "get">;
2450
2474
  /**
2451
2475
  * @see https://docs.github.com/rest/reference/activity#list-repositories-starred-by-a-user
2452
2476
  */
@@ -2803,6 +2827,10 @@ export interface Endpoints {
2803
2827
  * @see https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion
2804
2828
  */
2805
2829
  "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", "post">;
2830
+ /**
2831
+ * @see https://docs.github.com/rest/reference/orgs#enable-or-disable-security-product-on-all-org-repos
2832
+ */
2833
+ "POST /orgs/{org}/{security_product}/{enablement}": Operation<"/orgs/{org}/{security_product}/{enablement}", "post">;
2806
2834
  /**
2807
2835
  * @see https://docs.github.com/rest/reference/projects#move-a-project-card
2808
2836
  */
@@ -3179,6 +3207,10 @@ export interface Endpoints {
3179
3207
  * @see https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user
3180
3208
  */
3181
3209
  "POST /user/repos": Operation<"/user/repos", "post">;
3210
+ /**
3211
+ * @see https://docs.github.com/rest/reference/users#create-an-ssh-signing-key-for-the-authenticated-user
3212
+ */
3213
+ "POST /user/ssh_signing_keys": Operation<"/user/ssh_signing_keys", "post">;
3182
3214
  /**
3183
3215
  * @see https://docs.github.com/rest/reference/packages#restore-a-package-for-a-user
3184
3216
  */
package/dist-web/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const VERSION = "7.0.0";
1
+ const VERSION = "7.2.0";
2
2
 
3
3
  export { VERSION };
4
4
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@octokit/types",
3
3
  "description": "Shared TypeScript definitions for Octokit projects",
4
- "version": "7.0.0",
4
+ "version": "7.2.0",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "dist-*/",
@@ -10,7 +10,7 @@
10
10
  "source": "dist-src/index.js",
11
11
  "types": "dist-types/index.d.ts",
12
12
  "octokit": {
13
- "openapi-version": "7.1.0"
13
+ "openapi-version": "7.7.0"
14
14
  },
15
15
  "main": "dist-node/index.js",
16
16
  "module": "dist-web/index.js",
@@ -25,7 +25,7 @@
25
25
  ],
26
26
  "repository": "github:octokit/types.ts",
27
27
  "dependencies": {
28
- "@octokit/openapi-types": "^13.0.0"
28
+ "@octokit/openapi-types": "^13.6.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@pika/pack": "^0.3.7",