@octokit/types 9.1.4 → 9.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 = "9.1.4";
5
+ const VERSION = "9.2.0";
6
6
 
7
7
  exports.VERSION = VERSION;
8
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- export const VERSION = "9.1.4";
1
+ export const VERSION = "9.2.0";
@@ -1 +1 @@
1
- export declare const VERSION = "9.1.4";
1
+ export declare const VERSION = "9.2.0";
@@ -397,6 +397,10 @@ export interface Endpoints {
397
397
  * @see https://docs.github.com/rest/deployments/branch-policies#delete-deployment-branch-policy
398
398
  */
399
399
  "DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}", "delete">;
400
+ /**
401
+ * @see https://docs.github.com/rest/deployments/protection-rules#disable-deployment-protection-rule
402
+ */
403
+ "DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}", "delete">;
400
404
  /**
401
405
  * @see https://docs.github.com/rest/reference/git#delete-a-reference
402
406
  */
@@ -1679,6 +1683,18 @@ export interface Endpoints {
1679
1683
  * @see https://docs.github.com/rest/deployments/branch-policies#get-deployment-branch-policy
1680
1684
  */
1681
1685
  "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}", "get">;
1686
+ /**
1687
+ * @see https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules
1688
+ */
1689
+ "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules", "get">;
1690
+ /**
1691
+ * @see https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations
1692
+ */
1693
+ "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps", "get">;
1694
+ /**
1695
+ * @see https://docs.github.com/rest/deployments/protection-rules#get-a-deployment-protection-rule
1696
+ */
1697
+ "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}", "get">;
1682
1698
  /**
1683
1699
  * @see https://docs.github.com/rest/reference/activity#list-repository-events
1684
1700
  */
@@ -2895,6 +2911,10 @@ export interface Endpoints {
2895
2911
  * @see https://docs.github.com/rest/reference/actions#cancel-a-workflow-run
2896
2912
  */
2897
2913
  "POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/cancel", "post">;
2914
+ /**
2915
+ * @see https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run
2916
+ */
2917
+ "POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule", "post">;
2898
2918
  /**
2899
2919
  * @see https://docs.github.com/rest/reference/actions#review-pending-deployments-for-a-workflow-run
2900
2920
  */
@@ -2999,6 +3019,10 @@ export interface Endpoints {
2999
3019
  * @see https://docs.github.com/rest/deployments/branch-policies#create-deployment-branch-policy
3000
3020
  */
3001
3021
  "POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies", "post">;
3022
+ /**
3023
+ * @see https://docs.github.com/rest/deployments/deployment-protection-rules#create-a-deployment-protection-rule
3024
+ */
3025
+ "POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules", "post">;
3002
3026
  /**
3003
3027
  * @see https://docs.github.com/rest/reference/repos#create-a-fork
3004
3028
  */
@@ -3151,6 +3175,10 @@ export interface Endpoints {
3151
3175
  * @see https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory
3152
3176
  */
3153
3177
  "POST /repos/{owner}/{repo}/security-advisories": Operation<"/repos/{owner}/{repo}/security-advisories", "post">;
3178
+ /**
3179
+ * @see https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability
3180
+ */
3181
+ "POST /repos/{owner}/{repo}/security-advisories/reports": Operation<"/repos/{owner}/{repo}/security-advisories/reports", "post">;
3154
3182
  /**
3155
3183
  * @see https://docs.github.com/rest/commits/statuses#create-a-commit-status
3156
3184
  */
package/dist-web/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const VERSION = "9.1.4";
1
+ const VERSION = "9.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": "9.1.4",
4
+ "version": "9.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": "11.0.0"
13
+ "openapi-version": "11.1.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": "^17.0.0"
28
+ "@octokit/openapi-types": "^17.1.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@pika/pack": "^0.3.7",