@octokit/types 6.2.0 → 6.3.2

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 = "6.2.0";
5
+ const VERSION = "6.3.2";
6
6
 
7
7
  exports.VERSION = VERSION;
8
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- export const VERSION = "6.2.0";
1
+ export const VERSION = "6.3.2";
@@ -1 +1 @@
1
- export declare const VERSION = "6.2.0";
1
+ export declare const VERSION = "6.3.2";
@@ -272,7 +272,7 @@ export interface Endpoints {
272
272
  /**
273
273
  * @see https://docs.github.com/rest/reference/orgs#unblock-a-user-from-an-organization
274
274
  */
275
- "DELETE /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "delete", "giant-sentry-fist">;
275
+ "DELETE /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "delete">;
276
276
  /**
277
277
  * @see https://docs.github.com/v3/orgs/#remove-a-saml-sso-authorization-for-an-organization
278
278
  */
@@ -588,7 +588,7 @@ export interface Endpoints {
588
588
  /**
589
589
  * @see https://docs.github.com/rest/reference/users#unblock-a-user
590
590
  */
591
- "DELETE /user/blocks/{username}": Operation<"/user/blocks/{username}", "delete", "giant-sentry-fist">;
591
+ "DELETE /user/blocks/{username}": Operation<"/user/blocks/{username}", "delete">;
592
592
  /**
593
593
  * @see https://docs.github.com/rest/reference/users#delete-an-email-address-for-the-authenticated-user
594
594
  */
@@ -932,11 +932,11 @@ export interface Endpoints {
932
932
  /**
933
933
  * @see https://docs.github.com/rest/reference/orgs#list-users-blocked-by-an-organization
934
934
  */
935
- "GET /orgs/{org}/blocks": Operation<"/orgs/{org}/blocks", "get", "giant-sentry-fist">;
935
+ "GET /orgs/{org}/blocks": Operation<"/orgs/{org}/blocks", "get">;
936
936
  /**
937
937
  * @see https://docs.github.com/rest/reference/orgs#check-if-a-user-is-blocked-by-an-organization
938
938
  */
939
- "GET /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "get", "giant-sentry-fist">;
939
+ "GET /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "get">;
940
940
  /**
941
941
  * @see https://docs.github.com/v3/orgs/#list-saml-sso-authorizations-for-an-organization
942
942
  */
@@ -1767,11 +1767,11 @@ export interface Endpoints {
1767
1767
  */
1768
1768
  "GET /repositories": Operation<"/repositories", "get">;
1769
1769
  /**
1770
- * @see https://docs.github.com/rest/reference/enterprise-admin#list-provisioned-scim groups-for-an-enterprise
1770
+ * @see https://docs.github.com/rest/reference/enterprise-admin#list-provisioned-scim-groups-for-an-enterprise
1771
1771
  */
1772
1772
  "GET /scim/v2/enterprises/{enterprise}/Groups": Operation<"/scim/v2/enterprises/{enterprise}/Groups", "get">;
1773
1773
  /**
1774
- * @see https://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise group
1774
+ * @see https://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-group
1775
1775
  */
1776
1776
  "GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": Operation<"/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", "get">;
1777
1777
  /**
@@ -1893,11 +1893,11 @@ export interface Endpoints {
1893
1893
  /**
1894
1894
  * @see https://docs.github.com/rest/reference/users#list-users-blocked-by-the-authenticated-user
1895
1895
  */
1896
- "GET /user/blocks": Operation<"/user/blocks", "get", "giant-sentry-fist">;
1896
+ "GET /user/blocks": Operation<"/user/blocks", "get">;
1897
1897
  /**
1898
1898
  * @see https://docs.github.com/rest/reference/users#check-if-a-user-is-blocked-by-the-authenticated-user
1899
1899
  */
1900
- "GET /user/blocks/{username}": Operation<"/user/blocks/{username}", "get", "giant-sentry-fist">;
1900
+ "GET /user/blocks/{username}": Operation<"/user/blocks/{username}", "get">;
1901
1901
  /**
1902
1902
  * @see https://docs.github.com/rest/reference/users#list-email-addresses-for-the-authenticated-user
1903
1903
  */
@@ -2326,6 +2326,10 @@ export interface Endpoints {
2326
2326
  * @see https://docs.github.com/rest/reference/apps#check-a-token
2327
2327
  */
2328
2328
  "POST /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "post">;
2329
+ /**
2330
+ * @see https://docs.github.com/rest/reference/apps#create-a-scoped-access-token
2331
+ */
2332
+ "POST /applications/{client_id}/token/scoped": Operation<"/applications/{client_id}/token/scoped", "post">;
2329
2333
  /**
2330
2334
  * @see https://docs.github.com/rest/reference/apps#reset-an-authorization
2331
2335
  */
@@ -2813,7 +2817,7 @@ export interface Endpoints {
2813
2817
  /**
2814
2818
  * @see https://docs.github.com/rest/reference/orgs#block-a-user-from-an-organization
2815
2819
  */
2816
- "PUT /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "put", "giant-sentry-fist">;
2820
+ "PUT /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "put">;
2817
2821
  /**
2818
2822
  * @see https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-an-organization
2819
2823
  */
@@ -2981,7 +2985,7 @@ export interface Endpoints {
2981
2985
  /**
2982
2986
  * @see https://docs.github.com/rest/reference/users#block-a-user
2983
2987
  */
2984
- "PUT /user/blocks/{username}": Operation<"/user/blocks/{username}", "put", "giant-sentry-fist">;
2988
+ "PUT /user/blocks/{username}": Operation<"/user/blocks/{username}", "put">;
2985
2989
  /**
2986
2990
  * @see https://docs.github.com/rest/reference/users#follow-a-user
2987
2991
  */
package/dist-web/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const VERSION = "6.2.0";
1
+ const VERSION = "6.3.2";
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": "6.2.0",
4
+ "version": "6.3.2",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "dist-*/",
@@ -18,7 +18,7 @@
18
18
  ],
19
19
  "repository": "https://github.com/octokit/types.ts",
20
20
  "dependencies": {
21
- "@octokit/openapi-types": "^2.1.0",
21
+ "@octokit/openapi-types": "^2.3.1",
22
22
  "@types/node": ">= 8"
23
23
  },
24
24
  "devDependencies": {
@@ -33,6 +33,7 @@
33
33
  "npm-run-all": "^4.1.5",
34
34
  "openapi-typescript": "^2.3.1",
35
35
  "pascal-case": "^3.1.1",
36
+ "pika-plugin-merge-properties": "^1.0.6",
36
37
  "prettier": "^2.0.0",
37
38
  "semantic-release": "^17.0.0",
38
39
  "semantic-release-plugin-update-version-in-files": "^1.0.0",
@@ -46,6 +47,9 @@
46
47
  },
47
48
  "source": "dist-src/index.js",
48
49
  "types": "dist-types/index.d.ts",
50
+ "octokit": {
51
+ "openapi-version": "2.3.1"
52
+ },
49
53
  "main": "dist-node/index.js",
50
54
  "module": "dist-web/index.js"
51
55
  }