@octokit/types 6.17.4 → 6.19.1

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.17.4";
5
+ const VERSION = "6.19.1";
6
6
 
7
7
  exports.VERSION = VERSION;
8
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- export const VERSION = "6.17.4";
1
+ export const VERSION = "6.19.1";
@@ -1 +1 @@
1
- export declare const VERSION = "6.17.4";
1
+ export declare const VERSION = "6.19.1";
@@ -561,6 +561,14 @@ export interface Endpoints {
561
561
  * @see https://docs.github.com/rest/reference/apps#get-a-webhook-configuration-for-an-app
562
562
  */
563
563
  "GET /app/hook/config": Operation<"/app/hook/config", "get">;
564
+ /**
565
+ * @see https://docs.github.com/rest/reference/apps#list-deliveries-for-an-app-webhook
566
+ */
567
+ "GET /app/hook/deliveries": Operation<"/app/hook/deliveries", "get">;
568
+ /**
569
+ * @see https://docs.github.com/rest/reference/apps#get-a-delivery-for-an-app-webhook
570
+ */
571
+ "GET /app/hook/deliveries/{delivery_id}": Operation<"/app/hook/deliveries/{delivery_id}", "get">;
564
572
  /**
565
573
  * @see https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app
566
574
  */
@@ -596,11 +604,11 @@ export interface Endpoints {
596
604
  /**
597
605
  * @see https://docs.github.com/rest/reference/codes-of-conduct#get-all-codes-of-conduct
598
606
  */
599
- "GET /codes_of_conduct": Operation<"/codes_of_conduct", "get", "scarlet-witch">;
607
+ "GET /codes_of_conduct": Operation<"/codes_of_conduct", "get">;
600
608
  /**
601
609
  * @see https://docs.github.com/rest/reference/codes-of-conduct#get-a-code-of-conduct
602
610
  */
603
- "GET /codes_of_conduct/{key}": Operation<"/codes_of_conduct/{key}", "get", "scarlet-witch">;
611
+ "GET /codes_of_conduct/{key}": Operation<"/codes_of_conduct/{key}", "get">;
604
612
  /**
605
613
  * @see https://docs.github.com/rest/reference/emojis#get-emojis
606
614
  */
@@ -881,6 +889,14 @@ export interface Endpoints {
881
889
  * @see https://docs.github.com/rest/reference/orgs#get-a-webhook-configuration-for-an-organization
882
890
  */
883
891
  "GET /orgs/{org}/hooks/{hook_id}/config": Operation<"/orgs/{org}/hooks/{hook_id}/config", "get">;
892
+ /**
893
+ * @see https://docs.github.com/rest/reference/orgs#list-deliveries-for-an-organization-webhook
894
+ */
895
+ "GET /orgs/{org}/hooks/{hook_id}/deliveries": Operation<"/orgs/{org}/hooks/{hook_id}/deliveries", "get">;
896
+ /**
897
+ * @see https://docs.github.com/rest/reference/orgs#get-a-webhook-delivery-for-an-organization-webhook
898
+ */
899
+ "GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}": Operation<"/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}", "get">;
884
900
  /**
885
901
  * @see https://docs.github.com/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app
886
902
  */
@@ -1438,6 +1454,14 @@ export interface Endpoints {
1438
1454
  * @see https://docs.github.com/rest/reference/repos#get-a-webhook-configuration-for-a-repository
1439
1455
  */
1440
1456
  "GET /repos/{owner}/{repo}/hooks/{hook_id}/config": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/config", "get">;
1457
+ /**
1458
+ * @see https://docs.github.com/rest/reference/repos#list-deliveries-for-a-repository-webhook
1459
+ */
1460
+ "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries", "get">;
1461
+ /**
1462
+ * @see https://docs.github.com/rest/reference/repos#get-a-delivery-for-a-repository-webhook
1463
+ */
1464
+ "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}", "get">;
1441
1465
  /**
1442
1466
  * @see https://docs.github.com/rest/reference/migrations#get-an-import-status
1443
1467
  */
@@ -2330,6 +2354,10 @@ export interface Endpoints {
2330
2354
  * @see https://docs.github.com/rest/reference/apps#create-a-github-app-from-a-manifest
2331
2355
  */
2332
2356
  "POST /app-manifests/{code}/conversions": Operation<"/app-manifests/{code}/conversions", "post">;
2357
+ /**
2358
+ * @see https://docs.github.com/rest/reference/apps#redeliver-a-delivery-for-an-app-webhook
2359
+ */
2360
+ "POST /app/hook/deliveries/{delivery_id}/attempts": Operation<"/app/hook/deliveries/{delivery_id}/attempts", "post">;
2333
2361
  /**
2334
2362
  * @see https://docs.github.com/rest/reference/apps/#create-an-installation-access-token-for-an-app
2335
2363
  */
@@ -2402,6 +2430,10 @@ export interface Endpoints {
2402
2430
  * @see https://docs.github.com/rest/reference/orgs#create-an-organization-webhook
2403
2431
  */
2404
2432
  "POST /orgs/{org}/hooks": Operation<"/orgs/{org}/hooks", "post">;
2433
+ /**
2434
+ * @see https://docs.github.com/rest/reference/orgs#redeliver-a-delivery-for-an-organization-webhook
2435
+ */
2436
+ "POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": Operation<"/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts", "post">;
2405
2437
  /**
2406
2438
  * @see https://docs.github.com/rest/reference/orgs#ping-an-organization-webhook
2407
2439
  */
@@ -2590,6 +2622,10 @@ export interface Endpoints {
2590
2622
  * @see https://docs.github.com/rest/reference/repos#create-a-repository-webhook
2591
2623
  */
2592
2624
  "POST /repos/{owner}/{repo}/hooks": Operation<"/repos/{owner}/{repo}/hooks", "post">;
2625
+ /**
2626
+ * @see https://docs.github.com/rest/reference/repos#redeliver-a-delivery-for-a-repository-webhook
2627
+ */
2628
+ "POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": Operation<"/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts", "post">;
2593
2629
  /**
2594
2630
  * @see https://docs.github.com/rest/reference/repos#ping-a-repository-webhook
2595
2631
  */
package/dist-web/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const VERSION = "6.17.4";
1
+ const VERSION = "6.19.1";
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.17.4",
4
+ "version": "6.19.1",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "dist-*/",
@@ -18,7 +18,7 @@
18
18
  ],
19
19
  "repository": "github:octokit/types.ts",
20
20
  "dependencies": {
21
- "@octokit/openapi-types": "^8.1.4"
21
+ "@octokit/openapi-types": "^9.0.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@pika/pack": "^0.5.0",
@@ -47,7 +47,7 @@
47
47
  "source": "dist-src/index.js",
48
48
  "types": "dist-types/index.d.ts",
49
49
  "octokit": {
50
- "openapi-version": "2.23.1"
50
+ "openapi-version": "3.0.0"
51
51
  },
52
52
  "main": "dist-node/index.js",
53
53
  "module": "dist-web/index.js"