Skip to content

Commit d327be9

Browse files
committed
build: generate types
1 parent 1efd645 commit d327be9

File tree

14 files changed

+3504
-1546
lines changed

14 files changed

+3504
-1546
lines changed

packages/openapi-webhooks-types-ghec/types.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3431,7 +3431,7 @@ export interface components {
34313431
/** Check Run Completed Event */
34323432
"webhook-check-run-completed": {
34333433
/** @enum {string} */
3434-
action?: "completed";
3434+
action: "completed";
34353435
check_run: components["schemas"]["check-run-with-simple-check-suite"];
34363436
installation?: components["schemas"]["simple-installation"];
34373437
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -3784,7 +3784,7 @@ export interface components {
37843784
/** Check Run Created Event */
37853785
"webhook-check-run-created": {
37863786
/** @enum {string} */
3787-
action?: "created";
3787+
action: "created";
37883788
check_run: components["schemas"]["check-run-with-simple-check-suite"];
37893789
installation?: components["schemas"]["simple-installation"];
37903790
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -3809,7 +3809,7 @@ export interface components {
38093809
/** Check Run Re-Requested Event */
38103810
"webhook-check-run-rerequested": {
38113811
/** @enum {string} */
3812-
action?: "rerequested";
3812+
action: "rerequested";
38133813
check_run: components["schemas"]["check-run-with-simple-check-suite"];
38143814
installation?: components["schemas"]["simple-installation"];
38153815
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -6500,7 +6500,7 @@ export interface components {
65006500
/** deployment protection rule requested event */
65016501
"webhook-deployment-protection-rule-requested": {
65026502
/** @enum {string} */
6503-
action?: "requested";
6503+
action: "requested";
65046504
/** @description The name of the environment that has the deployment protection rule. */
65056505
environment?: string;
65066506
/** @description The event that triggered the deployment protection rule. */
@@ -6512,10 +6512,10 @@ export interface components {
65126512
deployment_callback_url?: string;
65136513
deployment?: components["schemas"]["deployment"];
65146514
pull_requests?: components["schemas"]["pull-request"][];
6515-
repository?: components["schemas"]["repository-webhooks"];
6515+
repository: components["schemas"]["repository-webhooks"];
65166516
organization?: components["schemas"]["organization-simple-webhooks"];
65176517
installation?: components["schemas"]["simple-installation"];
6518-
sender?: components["schemas"]["simple-user-webhooks"];
6518+
sender: components["schemas"]["simple-user-webhooks"];
65196519
};
65206520
/**
65216521
* Deployment
@@ -61539,7 +61539,7 @@ export interface components {
6153961539
/** Secret Scanning Alert Location Created Event */
6154061540
"webhook-secret-scanning-alert-location-created": {
6154161541
/** @enum {string} */
61542-
action?: "created";
61542+
action: "created";
6154361543
alert: components["schemas"]["secret-scanning-alert-webhook"];
6154461544
installation?: components["schemas"]["simple-installation"];
6154561545
location: components["schemas"]["secret-scanning-location"];

packages/openapi-webhooks-types-ghes-3.10/types.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3210,7 +3210,7 @@ export interface components {
32103210
/** Check Run Completed Event */
32113211
"webhook-check-run-completed": {
32123212
/** @enum {string} */
3213-
action?: "completed";
3213+
action: "completed";
32143214
check_run: components["schemas"]["check-run-with-simple-check-suite"];
32153215
installation?: components["schemas"]["simple-installation"];
32163216
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -3563,7 +3563,7 @@ export interface components {
35633563
/** Check Run Created Event */
35643564
"webhook-check-run-created": {
35653565
/** @enum {string} */
3566-
action?: "created";
3566+
action: "created";
35673567
check_run: components["schemas"]["check-run-with-simple-check-suite"];
35683568
installation?: components["schemas"]["simple-installation"];
35693569
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -3588,7 +3588,7 @@ export interface components {
35883588
/** Check Run Re-Requested Event */
35893589
"webhook-check-run-rerequested": {
35903590
/** @enum {string} */
3591-
action?: "rerequested";
3591+
action: "rerequested";
35923592
check_run: components["schemas"]["check-run-with-simple-check-suite"];
35933593
installation?: components["schemas"]["simple-installation"];
35943594
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -6179,7 +6179,7 @@ export interface components {
61796179
/** deployment protection rule requested event */
61806180
"webhook-deployment-protection-rule-requested": {
61816181
/** @enum {string} */
6182-
action?: "requested";
6182+
action: "requested";
61836183
/** @description The name of the environment that has the deployment protection rule. */
61846184
environment?: string;
61856185
/** @description The event that triggered the deployment protection rule. */
@@ -6191,10 +6191,10 @@ export interface components {
61916191
deployment_callback_url?: string;
61926192
deployment?: components["schemas"]["deployment"];
61936193
pull_requests?: components["schemas"]["pull-request"][];
6194-
repository?: components["schemas"]["repository-webhooks"];
6194+
repository: components["schemas"]["repository-webhooks"];
61956195
organization?: components["schemas"]["organization-simple-webhooks"];
61966196
installation?: components["schemas"]["simple-installation"];
6197-
sender?: components["schemas"]["simple-user-webhooks"];
6197+
sender: components["schemas"]["simple-user-webhooks"];
61986198
};
61996199
/**
62006200
* Deployment
@@ -57394,7 +57394,7 @@ export interface components {
5739457394
/** Secret Scanning Alert Location Created Event */
5739557395
"webhook-secret-scanning-alert-location-created": {
5739657396
/** @enum {string} */
57397-
action?: "created";
57397+
action: "created";
5739857398
alert: components["schemas"]["secret-scanning-alert-webhook"];
5739957399
installation?: components["schemas"]["simple-installation"];
5740057400
location: components["schemas"]["secret-scanning-location"];

packages/openapi-webhooks-types-ghes-3.11/types.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3285,7 +3285,7 @@ export interface components {
32853285
/** Check Run Completed Event */
32863286
"webhook-check-run-completed": {
32873287
/** @enum {string} */
3288-
action?: "completed";
3288+
action: "completed";
32893289
check_run: components["schemas"]["check-run-with-simple-check-suite"];
32903290
installation?: components["schemas"]["simple-installation"];
32913291
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -3638,7 +3638,7 @@ export interface components {
36383638
/** Check Run Created Event */
36393639
"webhook-check-run-created": {
36403640
/** @enum {string} */
3641-
action?: "created";
3641+
action: "created";
36423642
check_run: components["schemas"]["check-run-with-simple-check-suite"];
36433643
installation?: components["schemas"]["simple-installation"];
36443644
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -3663,7 +3663,7 @@ export interface components {
36633663
/** Check Run Re-Requested Event */
36643664
"webhook-check-run-rerequested": {
36653665
/** @enum {string} */
3666-
action?: "rerequested";
3666+
action: "rerequested";
36673667
check_run: components["schemas"]["check-run-with-simple-check-suite"];
36683668
installation?: components["schemas"]["simple-installation"];
36693669
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -6254,7 +6254,7 @@ export interface components {
62546254
/** deployment protection rule requested event */
62556255
"webhook-deployment-protection-rule-requested": {
62566256
/** @enum {string} */
6257-
action?: "requested";
6257+
action: "requested";
62586258
/** @description The name of the environment that has the deployment protection rule. */
62596259
environment?: string;
62606260
/** @description The event that triggered the deployment protection rule. */
@@ -6266,10 +6266,10 @@ export interface components {
62666266
deployment_callback_url?: string;
62676267
deployment?: components["schemas"]["deployment"];
62686268
pull_requests?: components["schemas"]["pull-request"][];
6269-
repository?: components["schemas"]["repository-webhooks"];
6269+
repository: components["schemas"]["repository-webhooks"];
62706270
organization?: components["schemas"]["organization-simple-webhooks"];
62716271
installation?: components["schemas"]["simple-installation"];
6272-
sender?: components["schemas"]["simple-user-webhooks"];
6272+
sender: components["schemas"]["simple-user-webhooks"];
62736273
};
62746274
/**
62756275
* Deployment
@@ -57931,7 +57931,7 @@ export interface components {
5793157931
/** Secret Scanning Alert Location Created Event */
5793257932
"webhook-secret-scanning-alert-location-created": {
5793357933
/** @enum {string} */
57934-
action?: "created";
57934+
action: "created";
5793557935
alert: components["schemas"]["secret-scanning-alert-webhook"];
5793657936
installation?: components["schemas"]["simple-installation"];
5793757937
location: components["schemas"]["secret-scanning-location"];

packages/openapi-webhooks-types-ghes-3.8/types.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3060,7 +3060,7 @@ export interface components {
30603060
/** Check Run Completed Event */
30613061
"webhook-check-run-completed": {
30623062
/** @enum {string} */
3063-
action?: "completed";
3063+
action: "completed";
30643064
check_run: components["schemas"]["check-run-with-simple-check-suite"];
30653065
installation?: components["schemas"]["simple-installation"];
30663066
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -3390,7 +3390,7 @@ export interface components {
33903390
/** Check Run Created Event */
33913391
"webhook-check-run-created": {
33923392
/** @enum {string} */
3393-
action?: "created";
3393+
action: "created";
33943394
check_run: components["schemas"]["check-run-with-simple-check-suite"];
33953395
installation?: components["schemas"]["simple-installation"];
33963396
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -3415,7 +3415,7 @@ export interface components {
34153415
/** Check Run Re-Requested Event */
34163416
"webhook-check-run-rerequested": {
34173417
/** @enum {string} */
3418-
action?: "rerequested";
3418+
action: "rerequested";
34193419
check_run: components["schemas"]["check-run-with-simple-check-suite"];
34203420
installation?: components["schemas"]["simple-installation"];
34213421
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -56908,7 +56908,7 @@ export interface components {
5690856908
/** Secret Scanning Alert Location Created Event */
5690956909
"webhook-secret-scanning-alert-location-created": {
5691056910
/** @enum {string} */
56911-
action?: "created";
56911+
action: "created";
5691256912
alert: components["schemas"]["secret-scanning-alert-webhook"];
5691356913
installation?: components["schemas"]["simple-installation"];
5691456914
location: components["schemas"]["secret-scanning-location"];

packages/openapi-webhooks-types-ghes-3.9/types.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3151,7 +3151,7 @@ export interface components {
31513151
/** Check Run Completed Event */
31523152
"webhook-check-run-completed": {
31533153
/** @enum {string} */
3154-
action?: "completed";
3154+
action: "completed";
31553155
check_run: components["schemas"]["check-run-with-simple-check-suite"];
31563156
installation?: components["schemas"]["simple-installation"];
31573157
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -3496,7 +3496,7 @@ export interface components {
34963496
/** Check Run Created Event */
34973497
"webhook-check-run-created": {
34983498
/** @enum {string} */
3499-
action?: "created";
3499+
action: "created";
35003500
check_run: components["schemas"]["check-run-with-simple-check-suite"];
35013501
installation?: components["schemas"]["simple-installation"];
35023502
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -3521,7 +3521,7 @@ export interface components {
35213521
/** Check Run Re-Requested Event */
35223522
"webhook-check-run-rerequested": {
35233523
/** @enum {string} */
3524-
action?: "rerequested";
3524+
action: "rerequested";
35253525
check_run: components["schemas"]["check-run-with-simple-check-suite"];
35263526
installation?: components["schemas"]["simple-installation"];
35273527
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -57132,7 +57132,7 @@ export interface components {
5713257132
/** Secret Scanning Alert Location Created Event */
5713357133
"webhook-secret-scanning-alert-location-created": {
5713457134
/** @enum {string} */
57135-
action?: "created";
57135+
action: "created";
5713657136
alert: components["schemas"]["secret-scanning-alert-webhook"];
5713757137
installation?: components["schemas"]["simple-installation"];
5713857138
location: components["schemas"]["secret-scanning-location"];

packages/openapi-webhooks-types-github.ae/types.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2892,7 +2892,7 @@ export interface components {
28922892
/** Check Run Completed Event */
28932893
"webhook-check-run-completed": {
28942894
/** @enum {string} */
2895-
action?: "completed";
2895+
action: "completed";
28962896
check_run: components["schemas"]["check-run-with-simple-check-suite"];
28972897
installation?: components["schemas"]["simple-installation"];
28982898
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -3245,7 +3245,7 @@ export interface components {
32453245
/** Check Run Created Event */
32463246
"webhook-check-run-created": {
32473247
/** @enum {string} */
3248-
action?: "created";
3248+
action: "created";
32493249
check_run: components["schemas"]["check-run-with-simple-check-suite"];
32503250
installation?: components["schemas"]["simple-installation"];
32513251
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -3270,7 +3270,7 @@ export interface components {
32703270
/** Check Run Re-Requested Event */
32713271
"webhook-check-run-rerequested": {
32723272
/** @enum {string} */
3273-
action?: "rerequested";
3273+
action: "rerequested";
32743274
check_run: components["schemas"]["check-run-with-simple-check-suite"];
32753275
installation?: components["schemas"]["simple-installation"];
32763276
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -5883,7 +5883,7 @@ export interface components {
58835883
/** deployment protection rule requested event */
58845884
"webhook-deployment-protection-rule-requested": {
58855885
/** @enum {string} */
5886-
action?: "requested";
5886+
action: "requested";
58875887
/** @description The name of the environment that has the deployment protection rule. */
58885888
environment?: string;
58895889
/** @description The event that triggered the deployment protection rule. */
@@ -5895,10 +5895,10 @@ export interface components {
58955895
deployment_callback_url?: string;
58965896
deployment?: components["schemas"]["deployment"];
58975897
pull_requests?: components["schemas"]["pull-request"][];
5898-
repository?: components["schemas"]["repository-webhooks"];
5898+
repository: components["schemas"]["repository-webhooks"];
58995899
organization?: components["schemas"]["organization-simple-webhooks"];
59005900
installation?: components["schemas"]["simple-installation"];
5901-
sender?: components["schemas"]["simple-user-webhooks"];
5901+
sender: components["schemas"]["simple-user-webhooks"];
59025902
};
59035903
/**
59045904
* Deployment
@@ -56433,7 +56433,7 @@ export interface components {
5643356433
/** Secret Scanning Alert Location Created Event */
5643456434
"webhook-secret-scanning-alert-location-created": {
5643556435
/** @enum {string} */
56436-
action?: "created";
56436+
action: "created";
5643756437
alert: components["schemas"]["secret-scanning-alert-webhook"];
5643856438
installation?: components["schemas"]["simple-installation"];
5643956439
location: components["schemas"]["secret-scanning-location"];

packages/openapi-webhooks-types/types.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3382,7 +3382,7 @@ export interface components {
33823382
/** Check Run Completed Event */
33833383
"webhook-check-run-completed": {
33843384
/** @enum {string} */
3385-
action?: "completed";
3385+
action: "completed";
33863386
check_run: components["schemas"]["check-run-with-simple-check-suite"];
33873387
installation?: components["schemas"]["simple-installation"];
33883388
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -3735,7 +3735,7 @@ export interface components {
37353735
/** Check Run Created Event */
37363736
"webhook-check-run-created": {
37373737
/** @enum {string} */
3738-
action?: "created";
3738+
action: "created";
37393739
check_run: components["schemas"]["check-run-with-simple-check-suite"];
37403740
installation?: components["schemas"]["simple-installation"];
37413741
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -3760,7 +3760,7 @@ export interface components {
37603760
/** Check Run Re-Requested Event */
37613761
"webhook-check-run-rerequested": {
37623762
/** @enum {string} */
3763-
action?: "rerequested";
3763+
action: "rerequested";
37643764
check_run: components["schemas"]["check-run-with-simple-check-suite"];
37653765
installation?: components["schemas"]["simple-installation"];
37663766
organization?: components["schemas"]["organization-simple-webhooks"];
@@ -6425,7 +6425,7 @@ export interface components {
64256425
/** deployment protection rule requested event */
64266426
"webhook-deployment-protection-rule-requested": {
64276427
/** @enum {string} */
6428-
action?: "requested";
6428+
action: "requested";
64296429
/** @description The name of the environment that has the deployment protection rule. */
64306430
environment?: string;
64316431
/** @description The event that triggered the deployment protection rule. */
@@ -6437,10 +6437,10 @@ export interface components {
64376437
deployment_callback_url?: string;
64386438
deployment?: components["schemas"]["deployment"];
64396439
pull_requests?: components["schemas"]["pull-request"][];
6440-
repository?: components["schemas"]["repository-webhooks"];
6440+
repository: components["schemas"]["repository-webhooks"];
64416441
organization?: components["schemas"]["organization-simple-webhooks"];
64426442
installation?: components["schemas"]["simple-installation"];
6443-
sender?: components["schemas"]["simple-user-webhooks"];
6443+
sender: components["schemas"]["simple-user-webhooks"];
64446444
};
64456445
/**
64466446
* Deployment
@@ -61307,7 +61307,7 @@ export interface components {
6130761307
/** Secret Scanning Alert Location Created Event */
6130861308
"webhook-secret-scanning-alert-location-created": {
6130961309
/** @enum {string} */
61310-
action?: "created";
61310+
action: "created";
6131161311
alert: components["schemas"]["secret-scanning-alert-webhook"];
6131261312
installation?: components["schemas"]["simple-installation"];
6131361313
location: components["schemas"]["secret-scanning-location"];

0 commit comments

Comments
 (0)