@octokit/webhooks 6.0.1 → 6.2.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.
package/index.d.ts CHANGED
@@ -79,6 +79,7 @@ declare namespace Webhooks {
79
79
  description: string;
80
80
  privacy: string;
81
81
  url: string;
82
+ html_url: string;
82
83
  members_url: string;
83
84
  repositories_url: string;
84
85
  permission: string;
@@ -136,6 +137,7 @@ declare namespace Webhooks {
136
137
  description: string;
137
138
  privacy: string;
138
139
  url: string;
140
+ html_url: string;
139
141
  members_url: string;
140
142
  repositories_url: string;
141
143
  permission: string;
@@ -171,6 +173,7 @@ declare namespace Webhooks {
171
173
  type WebhookPayloadStatusBranchesItem = {
172
174
  name: string;
173
175
  commit: WebhookPayloadStatusBranchesItemCommit;
176
+ protected: boolean;
174
177
  };
175
178
  type WebhookPayloadStatusCommitCommitter = {
176
179
  login: string;
@@ -264,6 +267,32 @@ declare namespace Webhooks {
264
267
  repository: PayloadRepository;
265
268
  sender: WebhookPayloadStatusSender;
266
269
  };
270
+ type WebhookPayloadStarSender = {
271
+ login: string;
272
+ id: number;
273
+ node_id: string;
274
+ avatar_url: string;
275
+ gravatar_id: string;
276
+ url: string;
277
+ html_url: string;
278
+ followers_url: string;
279
+ following_url: string;
280
+ gists_url: string;
281
+ starred_url: string;
282
+ subscriptions_url: string;
283
+ organizations_url: string;
284
+ repos_url: string;
285
+ events_url: string;
286
+ received_events_url: string;
287
+ type: string;
288
+ site_admin: boolean;
289
+ };
290
+ type WebhookPayloadStar = {
291
+ action: string;
292
+ starred_at: string;
293
+ repository: PayloadRepository;
294
+ sender: WebhookPayloadStarSender;
295
+ };
267
296
  type WebhookPayloadSecurityAdvisorySecurityAdvisoryVulnerabilitiesItemFirstPatchedVersion = {
268
297
  identifier: string;
269
298
  };
@@ -306,7 +335,7 @@ declare namespace Webhooks {
306
335
  action: string;
307
336
  security_advisory: WebhookPayloadSecurityAdvisorySecurityAdvisory;
308
337
  };
309
- type WebhookPayloadRepositoryVulnerabilityAlertAlertDismisser = {
338
+ type WebhookPayloadRepositoryVulnerabilityAlertSender = {
310
339
  login: string;
311
340
  id: number;
312
341
  node_id: string;
@@ -333,13 +362,12 @@ declare namespace Webhooks {
333
362
  external_reference: string;
334
363
  external_identifier: string;
335
364
  fixed_in: string;
336
- dismisser: WebhookPayloadRepositoryVulnerabilityAlertAlertDismisser;
337
- dismiss_reason: string;
338
- dismissed_at: string;
339
365
  };
340
366
  type WebhookPayloadRepositoryVulnerabilityAlert = {
341
367
  action: string;
342
368
  alert: WebhookPayloadRepositoryVulnerabilityAlertAlert;
369
+ repository: PayloadRepository;
370
+ sender: WebhookPayloadRepositoryVulnerabilityAlertSender;
343
371
  };
344
372
  type WebhookPayloadRepositoryImportSender = {
345
373
  login: string;
@@ -472,6 +500,159 @@ declare namespace Webhooks {
472
500
  repository: PayloadRepository;
473
501
  sender: WebhookPayloadReleaseSender;
474
502
  };
503
+ type WebhookPayloadRegistryPackageSender = {
504
+ login: string;
505
+ id: number;
506
+ node_id: string;
507
+ avatar_url: string;
508
+ gravatar_id: string;
509
+ url: string;
510
+ html_url: string;
511
+ followers_url: string;
512
+ following_url: string;
513
+ gists_url: string;
514
+ starred_url: string;
515
+ subscriptions_url: string;
516
+ organizations_url: string;
517
+ repos_url: string;
518
+ events_url: string;
519
+ received_events_url: string;
520
+ type: string;
521
+ site_admin: boolean;
522
+ };
523
+ type WebhookPayloadRegistryPackageRegistryPackageRegistry = {
524
+ about_url: string;
525
+ name: string;
526
+ type: string;
527
+ url: string;
528
+ vendor: string;
529
+ };
530
+ type WebhookPayloadRegistryPackageRegistryPackagePackageVersionAuthor = {
531
+ login: string;
532
+ id: number;
533
+ node_id: string;
534
+ avatar_url: string;
535
+ gravatar_id: string;
536
+ url: string;
537
+ html_url: string;
538
+ followers_url: string;
539
+ following_url: string;
540
+ gists_url: string;
541
+ starred_url: string;
542
+ subscriptions_url: string;
543
+ organizations_url: string;
544
+ repos_url: string;
545
+ events_url: string;
546
+ received_events_url: string;
547
+ type: string;
548
+ site_admin: boolean;
549
+ };
550
+ type WebhookPayloadRegistryPackageRegistryPackagePackageVersionPackageFilesItem = {
551
+ download_url: string;
552
+ id: number;
553
+ name: string;
554
+ sha256: string;
555
+ sha1: string;
556
+ md5: string;
557
+ content_type: string;
558
+ state: string;
559
+ size: number;
560
+ created_at: string;
561
+ updated_at: string;
562
+ };
563
+ type WebhookPayloadRegistryPackageRegistryPackagePackageVersionReleaseAuthor = {
564
+ login: string;
565
+ id: number;
566
+ node_id: string;
567
+ avatar_url: string;
568
+ gravatar_id: string;
569
+ url: string;
570
+ html_url: string;
571
+ followers_url: string;
572
+ following_url: string;
573
+ gists_url: string;
574
+ starred_url: string;
575
+ subscriptions_url: string;
576
+ organizations_url: string;
577
+ repos_url: string;
578
+ events_url: string;
579
+ received_events_url: string;
580
+ type: string;
581
+ site_admin: boolean;
582
+ };
583
+ type WebhookPayloadRegistryPackageRegistryPackagePackageVersionRelease = {
584
+ url: string;
585
+ html_url: string;
586
+ id: number;
587
+ tag_name: string;
588
+ target_commitish: string;
589
+ name: string;
590
+ draft: boolean;
591
+ author: WebhookPayloadRegistryPackageRegistryPackagePackageVersionReleaseAuthor;
592
+ prerelease: boolean;
593
+ created_at: string;
594
+ published_at: string;
595
+ };
596
+ type WebhookPayloadRegistryPackageRegistryPackagePackageVersion = {
597
+ id: number;
598
+ version: string;
599
+ summary: string;
600
+ body: string;
601
+ body_html: string;
602
+ release: WebhookPayloadRegistryPackageRegistryPackagePackageVersionRelease;
603
+ manifest: string;
604
+ html_url: string;
605
+ tag_name: string;
606
+ target_commitish: string;
607
+ target_oid: string;
608
+ draft: boolean;
609
+ prerelease: boolean;
610
+ created_at: string;
611
+ updated_at: string;
612
+ metadata: Array<any>;
613
+ package_files: Array<
614
+ WebhookPayloadRegistryPackageRegistryPackagePackageVersionPackageFilesItem
615
+ >;
616
+ author: WebhookPayloadRegistryPackageRegistryPackagePackageVersionAuthor;
617
+ installation_command: string;
618
+ };
619
+ type WebhookPayloadRegistryPackageRegistryPackageOwner = {
620
+ login: string;
621
+ id: number;
622
+ node_id: string;
623
+ avatar_url: string;
624
+ gravatar_id: string;
625
+ url: string;
626
+ html_url: string;
627
+ followers_url: string;
628
+ following_url: string;
629
+ gists_url: string;
630
+ starred_url: string;
631
+ subscriptions_url: string;
632
+ organizations_url: string;
633
+ repos_url: string;
634
+ events_url: string;
635
+ received_events_url: string;
636
+ type: string;
637
+ site_admin: boolean;
638
+ };
639
+ type WebhookPayloadRegistryPackageRegistryPackage = {
640
+ id: number;
641
+ name: string;
642
+ package_type: string;
643
+ html_url: string;
644
+ created_at: string;
645
+ updated_at: string;
646
+ owner: WebhookPayloadRegistryPackageRegistryPackageOwner;
647
+ package_version: WebhookPayloadRegistryPackageRegistryPackagePackageVersion;
648
+ registry: WebhookPayloadRegistryPackageRegistryPackageRegistry;
649
+ };
650
+ type WebhookPayloadRegistryPackage = {
651
+ action: string;
652
+ registry_package: WebhookPayloadRegistryPackageRegistryPackage;
653
+ repository: PayloadRepository;
654
+ sender: WebhookPayloadRegistryPackageSender;
655
+ };
475
656
  type WebhookPayloadPushSender = {
476
657
  login: string;
477
658
  id: number;
@@ -587,8 +768,8 @@ declare namespace Webhooks {
587
768
  node_id: string;
588
769
  name: string;
589
770
  full_name: string;
590
- owner: WebhookPayloadPullRequestReviewCommentPullRequestBaseRepoOwner;
591
771
  private: boolean;
772
+ owner: WebhookPayloadPullRequestReviewCommentPullRequestBaseRepoOwner;
592
773
  html_url: string;
593
774
  description: null;
594
775
  fork: boolean;
@@ -640,7 +821,7 @@ declare namespace Webhooks {
640
821
  size: number;
641
822
  stargazers_count: number;
642
823
  watchers_count: number;
643
- language: null;
824
+ language: string;
644
825
  has_issues: boolean;
645
826
  has_projects: boolean;
646
827
  has_downloads: boolean;
@@ -649,6 +830,7 @@ declare namespace Webhooks {
649
830
  forks_count: number;
650
831
  mirror_url: null;
651
832
  archived: boolean;
833
+ disabled: boolean;
652
834
  open_issues_count: number;
653
835
  license: null;
654
836
  forks: number;
@@ -708,8 +890,8 @@ declare namespace Webhooks {
708
890
  node_id: string;
709
891
  name: string;
710
892
  full_name: string;
711
- owner: WebhookPayloadPullRequestReviewCommentPullRequestHeadRepoOwner;
712
893
  private: boolean;
894
+ owner: WebhookPayloadPullRequestReviewCommentPullRequestHeadRepoOwner;
713
895
  html_url: string;
714
896
  description: null;
715
897
  fork: boolean;
@@ -761,7 +943,7 @@ declare namespace Webhooks {
761
943
  size: number;
762
944
  stargazers_count: number;
763
945
  watchers_count: number;
764
- language: null;
946
+ language: string;
765
947
  has_issues: boolean;
766
948
  has_projects: boolean;
767
949
  has_downloads: boolean;
@@ -770,6 +952,7 @@ declare namespace Webhooks {
770
952
  forks_count: number;
771
953
  mirror_url: null;
772
954
  archived: boolean;
955
+ disabled: boolean;
773
956
  open_issues_count: number;
774
957
  license: null;
775
958
  forks: number;
@@ -993,8 +1176,8 @@ declare namespace Webhooks {
993
1176
  node_id: string;
994
1177
  name: string;
995
1178
  full_name: string;
996
- owner: WebhookPayloadPullRequestReviewPullRequestBaseRepoOwner;
997
1179
  private: boolean;
1180
+ owner: WebhookPayloadPullRequestReviewPullRequestBaseRepoOwner;
998
1181
  html_url: string;
999
1182
  description: null;
1000
1183
  fork: boolean;
@@ -1046,7 +1229,7 @@ declare namespace Webhooks {
1046
1229
  size: number;
1047
1230
  stargazers_count: number;
1048
1231
  watchers_count: number;
1049
- language: null;
1232
+ language: string;
1050
1233
  has_issues: boolean;
1051
1234
  has_projects: boolean;
1052
1235
  has_downloads: boolean;
@@ -1055,6 +1238,7 @@ declare namespace Webhooks {
1055
1238
  forks_count: number;
1056
1239
  mirror_url: null;
1057
1240
  archived: boolean;
1241
+ disabled: boolean;
1058
1242
  open_issues_count: number;
1059
1243
  license: null;
1060
1244
  forks: number;
@@ -1114,8 +1298,8 @@ declare namespace Webhooks {
1114
1298
  node_id: string;
1115
1299
  name: string;
1116
1300
  full_name: string;
1117
- owner: WebhookPayloadPullRequestReviewPullRequestHeadRepoOwner;
1118
1301
  private: boolean;
1302
+ owner: WebhookPayloadPullRequestReviewPullRequestHeadRepoOwner;
1119
1303
  html_url: string;
1120
1304
  description: null;
1121
1305
  fork: boolean;
@@ -1167,7 +1351,7 @@ declare namespace Webhooks {
1167
1351
  size: number;
1168
1352
  stargazers_count: number;
1169
1353
  watchers_count: number;
1170
- language: null;
1354
+ language: string;
1171
1355
  has_issues: boolean;
1172
1356
  has_projects: boolean;
1173
1357
  has_downloads: boolean;
@@ -1176,6 +1360,7 @@ declare namespace Webhooks {
1176
1360
  forks_count: number;
1177
1361
  mirror_url: null;
1178
1362
  archived: boolean;
1363
+ disabled: boolean;
1179
1364
  open_issues_count: number;
1180
1365
  license: null;
1181
1366
  forks: number;
@@ -1378,8 +1563,8 @@ declare namespace Webhooks {
1378
1563
  node_id: string;
1379
1564
  name: string;
1380
1565
  full_name: string;
1381
- owner: WebhookPayloadPullRequestPullRequestBaseRepoOwner;
1382
1566
  private: boolean;
1567
+ owner: WebhookPayloadPullRequestPullRequestBaseRepoOwner;
1383
1568
  html_url: string;
1384
1569
  description: null;
1385
1570
  fork: boolean;
@@ -1440,6 +1625,7 @@ declare namespace Webhooks {
1440
1625
  forks_count: number;
1441
1626
  mirror_url: null;
1442
1627
  archived: boolean;
1628
+ disabled: boolean;
1443
1629
  open_issues_count: number;
1444
1630
  license: null;
1445
1631
  forks: number;
@@ -1499,8 +1685,8 @@ declare namespace Webhooks {
1499
1685
  node_id: string;
1500
1686
  name: string;
1501
1687
  full_name: string;
1502
- owner: WebhookPayloadPullRequestPullRequestHeadRepoOwner;
1503
1688
  private: boolean;
1689
+ owner: WebhookPayloadPullRequestPullRequestHeadRepoOwner;
1504
1690
  html_url: string;
1505
1691
  description: null;
1506
1692
  fork: boolean;
@@ -1561,6 +1747,7 @@ declare namespace Webhooks {
1561
1747
  forks_count: number;
1562
1748
  mirror_url: null;
1563
1749
  archived: boolean;
1750
+ disabled: boolean;
1564
1751
  open_issues_count: number;
1565
1752
  license: null;
1566
1753
  forks: number;
@@ -1631,9 +1818,9 @@ declare namespace Webhooks {
1631
1818
  body: string;
1632
1819
  created_at: string;
1633
1820
  updated_at: string;
1634
- closed_at: string;
1821
+ closed_at: null;
1635
1822
  merged_at: null;
1636
- merge_commit_sha: string;
1823
+ merge_commit_sha: null;
1637
1824
  assignee: null;
1638
1825
  assignees: Array<any>;
1639
1826
  requested_reviewers: Array<any>;
@@ -1649,9 +1836,10 @@ declare namespace Webhooks {
1649
1836
  base: WebhookPayloadPullRequestPullRequestBase;
1650
1837
  _links: WebhookPayloadPullRequestPullRequestLinks;
1651
1838
  author_association: string;
1839
+ draft: boolean;
1652
1840
  merged: boolean;
1653
- mergeable: boolean;
1654
- rebaseable: boolean;
1841
+ mergeable: null;
1842
+ rebaseable: null;
1655
1843
  mergeable_state: string;
1656
1844
  merged_by: null;
1657
1845
  comments: number;
@@ -1838,6 +2026,7 @@ declare namespace Webhooks {
1838
2026
  id: number;
1839
2027
  node_id: string;
1840
2028
  note: string;
2029
+ archived: boolean;
1841
2030
  creator: WebhookPayloadProjectCardProjectCardCreator;
1842
2031
  created_at: string;
1843
2032
  updated_at: string;
@@ -2096,6 +2285,48 @@ declare namespace Webhooks {
2096
2285
  repository: PayloadRepository;
2097
2286
  sender: WebhookPayloadMilestoneSender;
2098
2287
  };
2288
+ type WebhookPayloadMetaSender = {
2289
+ login: string;
2290
+ id: number;
2291
+ node_id: string;
2292
+ avatar_url: string;
2293
+ gravatar_id: string;
2294
+ url: string;
2295
+ html_url: string;
2296
+ followers_url: string;
2297
+ following_url: string;
2298
+ gists_url: string;
2299
+ starred_url: string;
2300
+ subscriptions_url: string;
2301
+ organizations_url: string;
2302
+ repos_url: string;
2303
+ events_url: string;
2304
+ received_events_url: string;
2305
+ type: string;
2306
+ site_admin: boolean;
2307
+ };
2308
+ type WebhookPayloadMetaHookConfig = {
2309
+ content_type: string;
2310
+ insecure_ssl: string;
2311
+ url: string;
2312
+ };
2313
+ type WebhookPayloadMetaHook = {
2314
+ type: string;
2315
+ id: number;
2316
+ name: string;
2317
+ active: boolean;
2318
+ events: Array<string>;
2319
+ config: WebhookPayloadMetaHookConfig;
2320
+ updated_at: string;
2321
+ created_at: string;
2322
+ };
2323
+ type WebhookPayloadMeta = {
2324
+ action: string;
2325
+ hook_id: number;
2326
+ hook: WebhookPayloadMetaHook;
2327
+ repository: PayloadRepository;
2328
+ sender: WebhookPayloadMetaSender;
2329
+ };
2099
2330
  type WebhookPayloadMembershipOrganization = {
2100
2331
  login: string;
2101
2332
  id: number;
@@ -2118,6 +2349,7 @@ declare namespace Webhooks {
2118
2349
  description: string;
2119
2350
  privacy: string;
2120
2351
  url: string;
2352
+ html_url: string;
2121
2353
  members_url: string;
2122
2354
  repositories_url: string;
2123
2355
  permission: string;
@@ -2190,10 +2422,6 @@ declare namespace Webhooks {
2190
2422
  type: string;
2191
2423
  site_admin: boolean;
2192
2424
  };
2193
- type WebhookPayloadMemberChangesPermission = { from: string };
2194
- type WebhookPayloadMemberChanges = {
2195
- permission: WebhookPayloadMemberChangesPermission;
2196
- };
2197
2425
  type WebhookPayloadMemberMember = {
2198
2426
  login: string;
2199
2427
  id: number;
@@ -2217,7 +2445,6 @@ declare namespace Webhooks {
2217
2445
  type WebhookPayloadMember = {
2218
2446
  action: string;
2219
2447
  member: WebhookPayloadMemberMember;
2220
- changes: WebhookPayloadMemberChanges;
2221
2448
  repository: PayloadRepository;
2222
2449
  sender: WebhookPayloadMemberSender;
2223
2450
  };
@@ -2328,15 +2555,7 @@ declare namespace Webhooks {
2328
2555
  site_admin: boolean;
2329
2556
  };
2330
2557
  type WebhookPayloadIssuesChanges = {};
2331
- type WebhookPayloadIssuesIssueLabelsItem = {
2332
- id: number;
2333
- node_id: string;
2334
- url: string;
2335
- name: string;
2336
- color: string;
2337
- default: boolean;
2338
- };
2339
- type WebhookPayloadIssuesIssueUser = {
2558
+ type WebhookPayloadIssuesIssueMilestoneCreator = {
2340
2559
  login: string;
2341
2560
  id: number;
2342
2561
  node_id: string;
@@ -2356,39 +2575,25 @@ declare namespace Webhooks {
2356
2575
  type: string;
2357
2576
  site_admin: boolean;
2358
2577
  };
2359
- type WebhookPayloadIssuesIssue = {
2578
+ type WebhookPayloadIssuesIssueMilestone = {
2360
2579
  url: string;
2361
- repository_url: string;
2362
- labels_url: string;
2363
- comments_url: string;
2364
- events_url: string;
2365
2580
  html_url: string;
2581
+ labels_url: string;
2366
2582
  id: number;
2367
2583
  node_id: string;
2368
2584
  number: number;
2369
2585
  title: string;
2370
- user: WebhookPayloadIssuesIssueUser;
2371
- labels: Array<WebhookPayloadIssuesIssueLabelsItem>;
2586
+ description: string;
2587
+ creator: WebhookPayloadIssuesIssueMilestoneCreator;
2588
+ open_issues: number;
2589
+ closed_issues: number;
2372
2590
  state: string;
2373
- locked: boolean;
2374
- assignee: null;
2375
- assignees: Array<any>;
2376
- milestone: null;
2377
- comments: number;
2378
2591
  created_at: string;
2379
2592
  updated_at: string;
2380
- closed_at: null;
2381
- author_association: string;
2382
- body: string;
2383
- };
2384
- type WebhookPayloadIssues = {
2385
- action: string;
2386
- issue: WebhookPayloadIssuesIssue;
2387
- changes: WebhookPayloadIssuesChanges;
2388
- repository: PayloadRepository;
2389
- sender: WebhookPayloadIssuesSender;
2593
+ due_on: string;
2594
+ closed_at: string;
2390
2595
  };
2391
- type WebhookPayloadIssueCommentSender = {
2596
+ type WebhookPayloadIssuesIssueAssigneesItem = {
2392
2597
  login: string;
2393
2598
  id: number;
2394
2599
  node_id: string;
@@ -2408,7 +2613,7 @@ declare namespace Webhooks {
2408
2613
  type: string;
2409
2614
  site_admin: boolean;
2410
2615
  };
2411
- type WebhookPayloadIssueCommentCommentUser = {
2616
+ type WebhookPayloadIssuesIssueAssignee = {
2412
2617
  login: string;
2413
2618
  id: number;
2414
2619
  node_id: string;
@@ -2428,19 +2633,7 @@ declare namespace Webhooks {
2428
2633
  type: string;
2429
2634
  site_admin: boolean;
2430
2635
  };
2431
- type WebhookPayloadIssueCommentComment = {
2432
- url: string;
2433
- html_url: string;
2434
- issue_url: string;
2435
- id: number;
2436
- node_id: string;
2437
- user: WebhookPayloadIssueCommentCommentUser;
2438
- created_at: string;
2439
- updated_at: string;
2440
- author_association: string;
2441
- body: string;
2442
- };
2443
- type WebhookPayloadIssueCommentIssueLabelsItem = {
2636
+ type WebhookPayloadIssuesIssueLabelsItem = {
2444
2637
  id: number;
2445
2638
  node_id: string;
2446
2639
  url: string;
@@ -2448,7 +2641,7 @@ declare namespace Webhooks {
2448
2641
  color: string;
2449
2642
  default: boolean;
2450
2643
  };
2451
- type WebhookPayloadIssueCommentIssueUser = {
2644
+ type WebhookPayloadIssuesIssueUser = {
2452
2645
  login: string;
2453
2646
  id: number;
2454
2647
  node_id: string;
@@ -2468,7 +2661,7 @@ declare namespace Webhooks {
2468
2661
  type: string;
2469
2662
  site_admin: boolean;
2470
2663
  };
2471
- type WebhookPayloadIssueCommentIssue = {
2664
+ type WebhookPayloadIssuesIssue = {
2472
2665
  url: string;
2473
2666
  repository_url: string;
2474
2667
  labels_url: string;
@@ -2479,13 +2672,203 @@ declare namespace Webhooks {
2479
2672
  node_id: string;
2480
2673
  number: number;
2481
2674
  title: string;
2482
- user: WebhookPayloadIssueCommentIssueUser;
2675
+ user: WebhookPayloadIssuesIssueUser;
2676
+ labels: Array<WebhookPayloadIssuesIssueLabelsItem>;
2677
+ state: string;
2678
+ locked: boolean;
2679
+ assignee: WebhookPayloadIssuesIssueAssignee;
2680
+ assignees: Array<WebhookPayloadIssuesIssueAssigneesItem>;
2681
+ milestone: WebhookPayloadIssuesIssueMilestone;
2682
+ comments: number;
2683
+ created_at: string;
2684
+ updated_at: string;
2685
+ closed_at: null;
2686
+ author_association: string;
2687
+ body: string;
2688
+ };
2689
+ type WebhookPayloadIssues = {
2690
+ action: string;
2691
+ issue: WebhookPayloadIssuesIssue;
2692
+ changes: WebhookPayloadIssuesChanges;
2693
+ repository: PayloadRepository;
2694
+ sender: WebhookPayloadIssuesSender;
2695
+ };
2696
+ type WebhookPayloadIssueCommentSender = {
2697
+ login: string;
2698
+ id: number;
2699
+ node_id: string;
2700
+ avatar_url: string;
2701
+ gravatar_id: string;
2702
+ url: string;
2703
+ html_url: string;
2704
+ followers_url: string;
2705
+ following_url: string;
2706
+ gists_url: string;
2707
+ starred_url: string;
2708
+ subscriptions_url: string;
2709
+ organizations_url: string;
2710
+ repos_url: string;
2711
+ events_url: string;
2712
+ received_events_url: string;
2713
+ type: string;
2714
+ site_admin: boolean;
2715
+ };
2716
+ type WebhookPayloadIssueCommentCommentUser = {
2717
+ login: string;
2718
+ id: number;
2719
+ node_id: string;
2720
+ avatar_url: string;
2721
+ gravatar_id: string;
2722
+ url: string;
2723
+ html_url: string;
2724
+ followers_url: string;
2725
+ following_url: string;
2726
+ gists_url: string;
2727
+ starred_url: string;
2728
+ subscriptions_url: string;
2729
+ organizations_url: string;
2730
+ repos_url: string;
2731
+ events_url: string;
2732
+ received_events_url: string;
2733
+ type: string;
2734
+ site_admin: boolean;
2735
+ };
2736
+ type WebhookPayloadIssueCommentComment = {
2737
+ url: string;
2738
+ html_url: string;
2739
+ issue_url: string;
2740
+ id: number;
2741
+ node_id: string;
2742
+ user: WebhookPayloadIssueCommentCommentUser;
2743
+ created_at: string;
2744
+ updated_at: string;
2745
+ author_association: string;
2746
+ body: string;
2747
+ };
2748
+ type WebhookPayloadIssueCommentIssueMilestoneCreator = {
2749
+ login: string;
2750
+ id: number;
2751
+ node_id: string;
2752
+ avatar_url: string;
2753
+ gravatar_id: string;
2754
+ url: string;
2755
+ html_url: string;
2756
+ followers_url: string;
2757
+ following_url: string;
2758
+ gists_url: string;
2759
+ starred_url: string;
2760
+ subscriptions_url: string;
2761
+ organizations_url: string;
2762
+ repos_url: string;
2763
+ events_url: string;
2764
+ received_events_url: string;
2765
+ type: string;
2766
+ site_admin: boolean;
2767
+ };
2768
+ type WebhookPayloadIssueCommentIssueMilestone = {
2769
+ url: string;
2770
+ html_url: string;
2771
+ labels_url: string;
2772
+ id: number;
2773
+ node_id: string;
2774
+ number: number;
2775
+ title: string;
2776
+ description: string;
2777
+ creator: WebhookPayloadIssueCommentIssueMilestoneCreator;
2778
+ open_issues: number;
2779
+ closed_issues: number;
2780
+ state: string;
2781
+ created_at: string;
2782
+ updated_at: string;
2783
+ due_on: string;
2784
+ closed_at: string;
2785
+ };
2786
+ type WebhookPayloadIssueCommentIssueAssigneesItem = {
2787
+ login: string;
2788
+ id: number;
2789
+ node_id: string;
2790
+ avatar_url: string;
2791
+ gravatar_id: string;
2792
+ url: string;
2793
+ html_url: string;
2794
+ followers_url: string;
2795
+ following_url: string;
2796
+ gists_url: string;
2797
+ starred_url: string;
2798
+ subscriptions_url: string;
2799
+ organizations_url: string;
2800
+ repos_url: string;
2801
+ events_url: string;
2802
+ received_events_url: string;
2803
+ type: string;
2804
+ site_admin: boolean;
2805
+ };
2806
+ type WebhookPayloadIssueCommentIssueAssignee = {
2807
+ login: string;
2808
+ id: number;
2809
+ node_id: string;
2810
+ avatar_url: string;
2811
+ gravatar_id: string;
2812
+ url: string;
2813
+ html_url: string;
2814
+ followers_url: string;
2815
+ following_url: string;
2816
+ gists_url: string;
2817
+ starred_url: string;
2818
+ subscriptions_url: string;
2819
+ organizations_url: string;
2820
+ repos_url: string;
2821
+ events_url: string;
2822
+ received_events_url: string;
2823
+ type: string;
2824
+ site_admin: boolean;
2825
+ };
2826
+ type WebhookPayloadIssueCommentIssueLabelsItem = {
2827
+ id: number;
2828
+ node_id: string;
2829
+ url: string;
2830
+ name: string;
2831
+ color: string;
2832
+ default: boolean;
2833
+ };
2834
+ type WebhookPayloadIssueCommentIssueUser = {
2835
+ login: string;
2836
+ id: number;
2837
+ node_id: string;
2838
+ avatar_url: string;
2839
+ gravatar_id: string;
2840
+ url: string;
2841
+ html_url: string;
2842
+ followers_url: string;
2843
+ following_url: string;
2844
+ gists_url: string;
2845
+ starred_url: string;
2846
+ subscriptions_url: string;
2847
+ organizations_url: string;
2848
+ repos_url: string;
2849
+ events_url: string;
2850
+ received_events_url: string;
2851
+ type: string;
2852
+ site_admin: boolean;
2853
+ };
2854
+ type WebhookPayloadIssueCommentIssue = {
2855
+ url: string;
2856
+ repository_url: string;
2857
+ labels_url: string;
2858
+ comments_url: string;
2859
+ events_url: string;
2860
+ html_url: string;
2861
+ id: number;
2862
+ node_id: string;
2863
+ number: number;
2864
+ title: string;
2865
+ user: WebhookPayloadIssueCommentIssueUser;
2483
2866
  labels: Array<WebhookPayloadIssueCommentIssueLabelsItem>;
2484
2867
  state: string;
2485
2868
  locked: boolean;
2486
- assignee: null;
2487
- assignees: Array<any>;
2488
- milestone: null;
2869
+ assignee: WebhookPayloadIssueCommentIssueAssignee;
2870
+ assignees: Array<WebhookPayloadIssueCommentIssueAssigneesItem>;
2871
+ milestone: WebhookPayloadIssueCommentIssueMilestone;
2489
2872
  comments: number;
2490
2873
  created_at: string;
2491
2874
  updated_at: string;
@@ -2520,16 +2903,26 @@ declare namespace Webhooks {
2520
2903
  type: string;
2521
2904
  site_admin: boolean;
2522
2905
  };
2523
- type WebhookPayloadInstallationRepositoriesRepositoriesRemovedItem = {
2906
+ type WebhookPayloadInstallationRepositoriesRepositoriesAddedItem = {
2524
2907
  id: number;
2908
+ node_id: string;
2525
2909
  name: string;
2526
2910
  full_name: string;
2527
2911
  private: boolean;
2528
2912
  };
2529
2913
  type WebhookPayloadInstallationRepositoriesInstallationPermissions = {
2530
- metadata: string;
2531
- contents: string;
2914
+ administration: string;
2915
+ statuses: string;
2916
+ repository_projects: string;
2917
+ repository_hooks: string;
2918
+ pull_requests: string;
2919
+ pages: string;
2532
2920
  issues: string;
2921
+ deployments: string;
2922
+ contents: string;
2923
+ checks: string;
2924
+ metadata: string;
2925
+ vulnerability_alerts: string;
2533
2926
  };
2534
2927
  type WebhookPayloadInstallationRepositoriesInstallationAccount = {
2535
2928
  login: string;
@@ -2562,19 +2955,19 @@ declare namespace Webhooks {
2562
2955
  target_id: number;
2563
2956
  target_type: string;
2564
2957
  permissions: WebhookPayloadInstallationRepositoriesInstallationPermissions;
2565
- events: Array<string>;
2958
+ events: Array<any>;
2566
2959
  created_at: number;
2567
2960
  updated_at: number;
2568
- single_file_name: string;
2961
+ single_file_name: null;
2569
2962
  };
2570
2963
  type WebhookPayloadInstallationRepositories = {
2571
2964
  action: string;
2572
2965
  installation: WebhookPayloadInstallationRepositoriesInstallation;
2573
2966
  repository_selection: string;
2574
- repositories_added: Array<any>;
2575
- repositories_removed: Array<
2576
- WebhookPayloadInstallationRepositoriesRepositoriesRemovedItem
2967
+ repositories_added: Array<
2968
+ WebhookPayloadInstallationRepositoriesRepositoriesAddedItem
2577
2969
  >;
2970
+ repositories_removed: Array<any>;
2578
2971
  sender: WebhookPayloadInstallationRepositoriesSender;
2579
2972
  };
2580
2973
  type WebhookPayloadInstallationSender = {
@@ -2752,8 +3145,8 @@ declare namespace Webhooks {
2752
3145
  node_id: string;
2753
3146
  name: string;
2754
3147
  full_name: string;
2755
- owner: WebhookPayloadForkForkeeOwner;
2756
3148
  private: boolean;
3149
+ owner: WebhookPayloadForkForkeeOwner;
2757
3150
  html_url: string;
2758
3151
  description: null;
2759
3152
  fork: boolean;
@@ -2814,6 +3207,7 @@ declare namespace Webhooks {
2814
3207
  forks_count: number;
2815
3208
  mirror_url: null;
2816
3209
  archived: boolean;
3210
+ disabled: boolean;
2817
3211
  open_issues_count: number;
2818
3212
  license: null;
2819
3213
  forks: number;
@@ -2876,6 +3270,7 @@ declare namespace Webhooks {
2876
3270
  ref: string;
2877
3271
  task: string;
2878
3272
  payload: WebhookPayloadDeploymentStatusDeploymentPayload;
3273
+ original_environment: string;
2879
3274
  environment: string;
2880
3275
  description: null;
2881
3276
  creator: WebhookPayloadDeploymentStatusDeploymentCreator;
@@ -2911,6 +3306,7 @@ declare namespace Webhooks {
2911
3306
  state: string;
2912
3307
  creator: WebhookPayloadDeploymentStatusDeploymentStatusCreator;
2913
3308
  description: string;
3309
+ environment: string;
2914
3310
  target_url: string;
2915
3311
  created_at: string;
2916
3312
  updated_at: string;
@@ -2972,6 +3368,7 @@ declare namespace Webhooks {
2972
3368
  ref: string;
2973
3369
  task: string;
2974
3370
  payload: WebhookPayloadDeploymentDeploymentPayload;
3371
+ original_environment: string;
2975
3372
  environment: string;
2976
3373
  description: null;
2977
3374
  creator: WebhookPayloadDeploymentDeploymentCreator;
@@ -2985,6 +3382,41 @@ declare namespace Webhooks {
2985
3382
  repository: PayloadRepository;
2986
3383
  sender: WebhookPayloadDeploymentSender;
2987
3384
  };
3385
+ type WebhookPayloadDeployKeySender = {
3386
+ login: string;
3387
+ id: number;
3388
+ node_id: string;
3389
+ avatar_url: string;
3390
+ gravatar_id: string;
3391
+ url: string;
3392
+ html_url: string;
3393
+ followers_url: string;
3394
+ following_url: string;
3395
+ gists_url: string;
3396
+ starred_url: string;
3397
+ subscriptions_url: string;
3398
+ organizations_url: string;
3399
+ repos_url: string;
3400
+ events_url: string;
3401
+ received_events_url: string;
3402
+ type: string;
3403
+ site_admin: boolean;
3404
+ };
3405
+ type WebhookPayloadDeployKeyKey = {
3406
+ id: number;
3407
+ key: string;
3408
+ url: string;
3409
+ title: string;
3410
+ verified: boolean;
3411
+ created_at: string;
3412
+ read_only: boolean;
3413
+ };
3414
+ type WebhookPayloadDeployKey = {
3415
+ action: string;
3416
+ key: WebhookPayloadDeployKeyKey;
3417
+ repository: PayloadRepository;
3418
+ sender: WebhookPayloadDeployKeySender;
3419
+ };
2988
3420
  type WebhookPayloadDeleteSender = {
2989
3421
  login: string;
2990
3422
  id: number;
@@ -3138,7 +3570,6 @@ declare namespace Webhooks {
3138
3570
  repository: PayloadRepository;
3139
3571
  sender: WebhookPayloadCommitCommentSender;
3140
3572
  };
3141
- type WebhookPayloadCheckSuiteInstallation = { id: number };
3142
3573
  type WebhookPayloadCheckSuiteSender = {
3143
3574
  login: string;
3144
3575
  id: number;
@@ -3159,20 +3590,6 @@ declare namespace Webhooks {
3159
3590
  type: string;
3160
3591
  site_admin: boolean;
3161
3592
  };
3162
- type WebhookPayloadCheckSuiteOrganization = {
3163
- login: string;
3164
- id: number;
3165
- node_id: string;
3166
- url: string;
3167
- repos_url: string;
3168
- events_url: string;
3169
- hooks_url: string;
3170
- issues_url: string;
3171
- members_url: string;
3172
- public_members_url: string;
3173
- avatar_url: string;
3174
- description: string;
3175
- };
3176
3593
  type WebhookPayloadCheckSuiteCheckSuiteHeadCommitCommitter = {
3177
3594
  name: string;
3178
3595
  email: string;
@@ -3189,6 +3606,27 @@ declare namespace Webhooks {
3189
3606
  author: WebhookPayloadCheckSuiteCheckSuiteHeadCommitAuthor;
3190
3607
  committer: WebhookPayloadCheckSuiteCheckSuiteHeadCommitCommitter;
3191
3608
  };
3609
+ type WebhookPayloadCheckSuiteCheckSuiteAppPermissions = {
3610
+ administration: string;
3611
+ checks: string;
3612
+ contents: string;
3613
+ deployments: string;
3614
+ issues: string;
3615
+ members: string;
3616
+ metadata: string;
3617
+ organization_administration: string;
3618
+ organization_hooks: string;
3619
+ organization_plan: string;
3620
+ organization_projects: string;
3621
+ organization_user_blocking: string;
3622
+ pages: string;
3623
+ pull_requests: string;
3624
+ repository_hooks: string;
3625
+ repository_projects: string;
3626
+ statuses: string;
3627
+ team_discussions: string;
3628
+ vulnerability_alerts: string;
3629
+ };
3192
3630
  type WebhookPayloadCheckSuiteCheckSuiteAppOwner = {
3193
3631
  login: string;
3194
3632
  id: number;
@@ -3214,14 +3652,44 @@ declare namespace Webhooks {
3214
3652
  node_id: string;
3215
3653
  owner: WebhookPayloadCheckSuiteCheckSuiteAppOwner;
3216
3654
  name: string;
3217
- description: null;
3655
+ description: string;
3218
3656
  external_url: string;
3219
3657
  html_url: string;
3220
3658
  created_at: string;
3221
3659
  updated_at: string;
3660
+ permissions: WebhookPayloadCheckSuiteCheckSuiteAppPermissions;
3661
+ events: Array<any>;
3662
+ };
3663
+ type WebhookPayloadCheckSuiteCheckSuitePullRequestsItemBaseRepo = {
3664
+ id: number;
3665
+ url: string;
3666
+ name: string;
3667
+ };
3668
+ type WebhookPayloadCheckSuiteCheckSuitePullRequestsItemBase = {
3669
+ ref: string;
3670
+ sha: string;
3671
+ repo: WebhookPayloadCheckSuiteCheckSuitePullRequestsItemBaseRepo;
3672
+ };
3673
+ type WebhookPayloadCheckSuiteCheckSuitePullRequestsItemHeadRepo = {
3674
+ id: number;
3675
+ url: string;
3676
+ name: string;
3677
+ };
3678
+ type WebhookPayloadCheckSuiteCheckSuitePullRequestsItemHead = {
3679
+ ref: string;
3680
+ sha: string;
3681
+ repo: WebhookPayloadCheckSuiteCheckSuitePullRequestsItemHeadRepo;
3682
+ };
3683
+ type WebhookPayloadCheckSuiteCheckSuitePullRequestsItem = {
3684
+ url: string;
3685
+ id: number;
3686
+ number: number;
3687
+ head: WebhookPayloadCheckSuiteCheckSuitePullRequestsItemHead;
3688
+ base: WebhookPayloadCheckSuiteCheckSuitePullRequestsItemBase;
3222
3689
  };
3223
3690
  type WebhookPayloadCheckSuiteCheckSuite = {
3224
3691
  id: number;
3692
+ node_id: string;
3225
3693
  head_branch: string;
3226
3694
  head_sha: string;
3227
3695
  status: string;
@@ -3229,7 +3697,7 @@ declare namespace Webhooks {
3229
3697
  url: string;
3230
3698
  before: string;
3231
3699
  after: string;
3232
- pull_requests: Array<any>;
3700
+ pull_requests: Array<WebhookPayloadCheckSuiteCheckSuitePullRequestsItem>;
3233
3701
  app: WebhookPayloadCheckSuiteCheckSuiteApp;
3234
3702
  created_at: string;
3235
3703
  updated_at: string;
@@ -3241,11 +3709,8 @@ declare namespace Webhooks {
3241
3709
  action: string;
3242
3710
  check_suite: WebhookPayloadCheckSuiteCheckSuite;
3243
3711
  repository: PayloadRepository;
3244
- organization: WebhookPayloadCheckSuiteOrganization;
3245
3712
  sender: WebhookPayloadCheckSuiteSender;
3246
- installation: WebhookPayloadCheckSuiteInstallation;
3247
3713
  };
3248
- type WebhookPayloadCheckRunInstallation = { id: number };
3249
3714
  type WebhookPayloadCheckRunSender = {
3250
3715
  login: string;
3251
3716
  id: number;
@@ -3266,20 +3731,6 @@ declare namespace Webhooks {
3266
3731
  type: string;
3267
3732
  site_admin: boolean;
3268
3733
  };
3269
- type WebhookPayloadCheckRunOrganization = {
3270
- login: string;
3271
- id: number;
3272
- node_id: string;
3273
- url: string;
3274
- repos_url: string;
3275
- events_url: string;
3276
- hooks_url: string;
3277
- issues_url: string;
3278
- members_url: string;
3279
- public_members_url: string;
3280
- avatar_url: string;
3281
- description: string;
3282
- };
3283
3734
  type PayloadRepositoryOwner = {
3284
3735
  login: string;
3285
3736
  id: number;
@@ -3307,8 +3758,8 @@ declare namespace Webhooks {
3307
3758
  node_id: string;
3308
3759
  name: string;
3309
3760
  full_name: string;
3310
- owner: PayloadRepositoryOwner;
3311
3761
  private: boolean;
3762
+ owner: PayloadRepositoryOwner;
3312
3763
  html_url: string;
3313
3764
  description: null;
3314
3765
  fork: boolean;
@@ -3360,7 +3811,7 @@ declare namespace Webhooks {
3360
3811
  size: number;
3361
3812
  stargazers_count: number;
3362
3813
  watchers_count: number;
3363
- language: null;
3814
+ language: string | null;
3364
3815
  has_issues: boolean;
3365
3816
  has_projects: boolean;
3366
3817
  has_downloads: boolean;
@@ -3369,6 +3820,7 @@ declare namespace Webhooks {
3369
3820
  forks_count: number;
3370
3821
  mirror_url: null;
3371
3822
  archived: boolean;
3823
+ disabled?: boolean;
3372
3824
  open_issues_count: number;
3373
3825
  license: null;
3374
3826
  forks: number;
@@ -3379,6 +3831,54 @@ declare namespace Webhooks {
3379
3831
  master_branch?: string;
3380
3832
  permissions?: PayloadRepositoryPermissions;
3381
3833
  };
3834
+ type WebhookPayloadCheckRunCheckRunPullRequestsItemBaseRepo = {
3835
+ id: number;
3836
+ url: string;
3837
+ name: string;
3838
+ };
3839
+ type WebhookPayloadCheckRunCheckRunPullRequestsItemBase = {
3840
+ ref: string;
3841
+ sha: string;
3842
+ repo: WebhookPayloadCheckRunCheckRunPullRequestsItemBaseRepo;
3843
+ };
3844
+ type WebhookPayloadCheckRunCheckRunPullRequestsItemHeadRepo = {
3845
+ id: number;
3846
+ url: string;
3847
+ name: string;
3848
+ };
3849
+ type WebhookPayloadCheckRunCheckRunPullRequestsItemHead = {
3850
+ ref: string;
3851
+ sha: string;
3852
+ repo: WebhookPayloadCheckRunCheckRunPullRequestsItemHeadRepo;
3853
+ };
3854
+ type WebhookPayloadCheckRunCheckRunPullRequestsItem = {
3855
+ url: string;
3856
+ id: number;
3857
+ number: number;
3858
+ head: WebhookPayloadCheckRunCheckRunPullRequestsItemHead;
3859
+ base: WebhookPayloadCheckRunCheckRunPullRequestsItemBase;
3860
+ };
3861
+ type WebhookPayloadCheckRunCheckRunAppPermissions = {
3862
+ administration: string;
3863
+ checks: string;
3864
+ contents: string;
3865
+ deployments: string;
3866
+ issues: string;
3867
+ members: string;
3868
+ metadata: string;
3869
+ organization_administration: string;
3870
+ organization_hooks: string;
3871
+ organization_plan: string;
3872
+ organization_projects: string;
3873
+ organization_user_blocking: string;
3874
+ pages: string;
3875
+ pull_requests: string;
3876
+ repository_hooks: string;
3877
+ repository_projects: string;
3878
+ statuses: string;
3879
+ team_discussions: string;
3880
+ vulnerability_alerts: string;
3881
+ };
3382
3882
  type WebhookPayloadCheckRunCheckRunAppOwner = {
3383
3883
  login: string;
3384
3884
  id: number;
@@ -3404,11 +3904,34 @@ declare namespace Webhooks {
3404
3904
  node_id: string;
3405
3905
  owner: WebhookPayloadCheckRunCheckRunAppOwner;
3406
3906
  name: string;
3407
- description: null;
3907
+ description: string;
3408
3908
  external_url: string;
3409
3909
  html_url: string;
3410
3910
  created_at: string;
3411
3911
  updated_at: string;
3912
+ permissions: WebhookPayloadCheckRunCheckRunAppPermissions;
3913
+ events: Array<any>;
3914
+ };
3915
+ type WebhookPayloadCheckRunCheckRunCheckSuiteAppPermissions = {
3916
+ administration: string;
3917
+ checks: string;
3918
+ contents: string;
3919
+ deployments: string;
3920
+ issues: string;
3921
+ members: string;
3922
+ metadata: string;
3923
+ organization_administration: string;
3924
+ organization_hooks: string;
3925
+ organization_plan: string;
3926
+ organization_projects: string;
3927
+ organization_user_blocking: string;
3928
+ pages: string;
3929
+ pull_requests: string;
3930
+ repository_hooks: string;
3931
+ repository_projects: string;
3932
+ statuses: string;
3933
+ team_discussions: string;
3934
+ vulnerability_alerts: string;
3412
3935
  };
3413
3936
  type WebhookPayloadCheckRunCheckRunCheckSuiteAppOwner = {
3414
3937
  login: string;
@@ -3435,56 +3958,88 @@ declare namespace Webhooks {
3435
3958
  node_id: string;
3436
3959
  owner: WebhookPayloadCheckRunCheckRunCheckSuiteAppOwner;
3437
3960
  name: string;
3438
- description: null;
3961
+ description: string;
3439
3962
  external_url: string;
3440
3963
  html_url: string;
3441
3964
  created_at: string;
3442
3965
  updated_at: string;
3966
+ permissions: WebhookPayloadCheckRunCheckRunCheckSuiteAppPermissions;
3967
+ events: Array<any>;
3968
+ };
3969
+ type WebhookPayloadCheckRunCheckRunCheckSuitePullRequestsItemBaseRepo = {
3970
+ id: number;
3971
+ url: string;
3972
+ name: string;
3973
+ };
3974
+ type WebhookPayloadCheckRunCheckRunCheckSuitePullRequestsItemBase = {
3975
+ ref: string;
3976
+ sha: string;
3977
+ repo: WebhookPayloadCheckRunCheckRunCheckSuitePullRequestsItemBaseRepo;
3978
+ };
3979
+ type WebhookPayloadCheckRunCheckRunCheckSuitePullRequestsItemHeadRepo = {
3980
+ id: number;
3981
+ url: string;
3982
+ name: string;
3983
+ };
3984
+ type WebhookPayloadCheckRunCheckRunCheckSuitePullRequestsItemHead = {
3985
+ ref: string;
3986
+ sha: string;
3987
+ repo: WebhookPayloadCheckRunCheckRunCheckSuitePullRequestsItemHeadRepo;
3988
+ };
3989
+ type WebhookPayloadCheckRunCheckRunCheckSuitePullRequestsItem = {
3990
+ url: string;
3991
+ id: number;
3992
+ number: number;
3993
+ head: WebhookPayloadCheckRunCheckRunCheckSuitePullRequestsItemHead;
3994
+ base: WebhookPayloadCheckRunCheckRunCheckSuitePullRequestsItemBase;
3443
3995
  };
3444
3996
  type WebhookPayloadCheckRunCheckRunCheckSuite = {
3445
3997
  id: number;
3998
+ node_id: string;
3446
3999
  head_branch: string;
3447
4000
  head_sha: string;
3448
4001
  status: string;
3449
- conclusion: string;
4002
+ conclusion: null;
3450
4003
  url: string;
3451
4004
  before: string;
3452
4005
  after: string;
3453
- pull_requests: Array<any>;
4006
+ pull_requests: Array<
4007
+ WebhookPayloadCheckRunCheckRunCheckSuitePullRequestsItem
4008
+ >;
3454
4009
  app: WebhookPayloadCheckRunCheckRunCheckSuiteApp;
3455
4010
  created_at: string;
3456
4011
  updated_at: string;
3457
4012
  };
3458
4013
  type WebhookPayloadCheckRunCheckRunOutput = {
3459
- title: string;
3460
- summary: string;
3461
- text: string;
4014
+ title: null;
4015
+ summary: null;
4016
+ text: null;
3462
4017
  annotations_count: number;
3463
4018
  annotations_url: string;
3464
4019
  };
3465
4020
  type WebhookPayloadCheckRunCheckRun = {
3466
4021
  id: number;
4022
+ node_id: string;
3467
4023
  head_sha: string;
3468
4024
  external_id: string;
3469
4025
  url: string;
3470
4026
  html_url: string;
4027
+ details_url: string;
3471
4028
  status: string;
3472
- conclusion: string;
4029
+ conclusion: null;
3473
4030
  started_at: string;
3474
- completed_at: string;
4031
+ completed_at: null;
3475
4032
  output: WebhookPayloadCheckRunCheckRunOutput;
3476
4033
  name: string;
3477
4034
  check_suite: WebhookPayloadCheckRunCheckRunCheckSuite;
3478
4035
  app: WebhookPayloadCheckRunCheckRunApp;
3479
- pull_requests: Array<any>;
4036
+ pull_requests: Array<WebhookPayloadCheckRunCheckRunPullRequestsItem>;
3480
4037
  };
3481
4038
  type WebhookPayloadCheckRun = {
3482
4039
  action: string;
3483
4040
  check_run: WebhookPayloadCheckRunCheckRun;
3484
4041
  repository: PayloadRepository;
3485
- organization: WebhookPayloadCheckRunOrganization;
3486
4042
  sender: WebhookPayloadCheckRunSender;
3487
- installation: WebhookPayloadCheckRunInstallation;
3488
4043
  };
3489
4044
 
3490
4045
  interface WebhookEvent<T> {
@@ -3557,6 +4112,13 @@ declare class Webhooks {
3557
4112
  ) => Promise<void> | void
3558
4113
  ): void;
3559
4114
 
4115
+ public on(
4116
+ event: "deploy_key" | "deploy_key.created" | "deploy_key.deleted",
4117
+ callback: (
4118
+ event: Webhooks.WebhookEvent<Webhooks.WebhookPayloadDeployKey>
4119
+ ) => Promise<void> | void
4120
+ ): void;
4121
+
3560
4122
  public on(
3561
4123
  event: "deployment",
3562
4124
  callback: (
@@ -3637,6 +4199,7 @@ declare class Webhooks {
3637
4199
  | "issues.demilestoned"
3638
4200
  | "issues.edited"
3639
4201
  | "issues.labeled"
4202
+ | "issues.locked"
3640
4203
  | "issues.milestoned"
3641
4204
  | "issues.opened"
3642
4205
  | "issues.pinned"
@@ -3644,6 +4207,7 @@ declare class Webhooks {
3644
4207
  | "issues.transferred"
3645
4208
  | "issues.unassigned"
3646
4209
  | "issues.unlabeled"
4210
+ | "issues.unlocked"
3647
4211
  | "issues.unpinned",
3648
4212
  callback: (
3649
4213
  event: Webhooks.WebhookEvent<Webhooks.WebhookPayloadIssues>
@@ -3684,6 +4248,13 @@ declare class Webhooks {
3684
4248
  ) => Promise<void> | void
3685
4249
  ): void;
3686
4250
 
4251
+ public on(
4252
+ event: "meta" | "meta.deleted",
4253
+ callback: (
4254
+ event: Webhooks.WebhookEvent<Webhooks.WebhookPayloadMeta>
4255
+ ) => Promise<void> | void
4256
+ ): void;
4257
+
3687
4258
  public on(
3688
4259
  event:
3689
4260
  | "milestone"
@@ -3700,9 +4271,11 @@ declare class Webhooks {
3700
4271
  public on(
3701
4272
  event:
3702
4273
  | "organization"
4274
+ | "organization.deleted"
3703
4275
  | "organization.member_added"
3704
4276
  | "organization.member_invited"
3705
- | "organization.member_removed",
4277
+ | "organization.member_removed"
4278
+ | "organization.renamed",
3706
4279
  callback: (
3707
4280
  event: Webhooks.WebhookEvent<Webhooks.WebhookPayloadOrganization>
3708
4281
  ) => Promise<void> | void
@@ -3774,6 +4347,7 @@ declare class Webhooks {
3774
4347
  | "pull_request.closed"
3775
4348
  | "pull_request.edited"
3776
4349
  | "pull_request.labeled"
4350
+ | "pull_request.locked"
3777
4351
  | "pull_request.opened"
3778
4352
  | "pull_request.ready_for_review"
3779
4353
  | "pull_request.reopened"
@@ -3781,6 +4355,7 @@ declare class Webhooks {
3781
4355
  | "pull_request.review_requested"
3782
4356
  | "pull_request.unassigned"
3783
4357
  | "pull_request.unlabeled"
4358
+ | "pull_request.unlocked"
3784
4359
  | "pull_request.synchronize",
3785
4360
  callback: (
3786
4361
  event: Webhooks.WebhookEvent<Webhooks.WebhookPayloadPullRequest>
@@ -3819,7 +4394,24 @@ declare class Webhooks {
3819
4394
  ): void;
3820
4395
 
3821
4396
  public on(
3822
- event: "release" | "release.published",
4397
+ event:
4398
+ | "registry_package"
4399
+ | "registry_package.published"
4400
+ | "registry_package.updated",
4401
+ callback: (
4402
+ event: Webhooks.WebhookEvent<Webhooks.WebhookPayloadRegistryPackage>
4403
+ ) => Promise<void> | void
4404
+ ): void;
4405
+
4406
+ public on(
4407
+ event:
4408
+ | "release"
4409
+ | "release.created"
4410
+ | "release.deleted"
4411
+ | "release.edited"
4412
+ | "release.prereleased"
4413
+ | "release.published"
4414
+ | "release.unpublished",
3823
4415
  callback: (
3824
4416
  event: Webhooks.WebhookEvent<Webhooks.WebhookPayloadRelease>
3825
4417
  ) => Promise<void> | void
@@ -3831,8 +4423,11 @@ declare class Webhooks {
3831
4423
  | "repository.archived"
3832
4424
  | "repository.created"
3833
4425
  | "repository.deleted"
4426
+ | "repository.edited"
3834
4427
  | "repository.privatized"
3835
4428
  | "repository.publicized"
4429
+ | "repository.renamed"
4430
+ | "repository.transferred"
3836
4431
  | "repository.unarchived",
3837
4432
  callback: (
3838
4433
  event: Webhooks.WebhookEvent<Webhooks.WebhookPayloadRepository>
@@ -3870,6 +4465,13 @@ declare class Webhooks {
3870
4465
  ) => Promise<void> | void
3871
4466
  ): void;
3872
4467
 
4468
+ public on(
4469
+ event: "star" | "star.created" | "star.deleted",
4470
+ callback: (
4471
+ event: Webhooks.WebhookEvent<Webhooks.WebhookPayloadStar>
4472
+ ) => Promise<void> | void
4473
+ ): void;
4474
+
3873
4475
  public on(
3874
4476
  event: "status",
3875
4477
  callback: (