terse-types 0.0.42 → 0.0.45
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/dist/Configs.d.ts +5 -0
- package/dist/Configs.js +2 -1
- package/dist/FrontendRoutes.json +6 -5
- package/dist/FrontendRoutesBuilder.d.ts +2 -1
- package/dist/ToolsTypes.d.ts +20 -0
- package/dist/ToolsTypes.js +11 -0
- package/dist/TriggerPresenters.js +37 -7
- package/dist/Triggers.d.ts +247 -0
- package/dist/Triggers.js +25 -1
- package/dist/types.d.ts +459 -0
- package/dist/types.js +3 -0
- package/package.json +1 -1
- package/dist/ACL.d.ts +0 -375
- package/dist/ACL.js +0 -105
- package/dist/ACLPolicy.d.ts +0 -17
- package/dist/ACLPolicy.js +0 -18
- package/dist/OrganizationMetadata.d.ts +0 -6
- package/dist/OrganizationMetadata.js +0 -10
- package/dist/getConfigACLRules.d.ts +0 -10
- package/dist/getConfigACLRules.js +0 -0
package/dist/types.d.ts
CHANGED
|
@@ -256,6 +256,13 @@ export declare const deviceTokenExchangeResponseSchema: z.ZodObject<{
|
|
|
256
256
|
}, z.core.$strip>;
|
|
257
257
|
}, z.core.$strip>;
|
|
258
258
|
export type DeviceTokenExchangeResponse = z.infer<typeof deviceTokenExchangeResponseSchema>;
|
|
259
|
+
export declare const authModeResponseSchema: z.ZodObject<{
|
|
260
|
+
mode: z.ZodEnum<{
|
|
261
|
+
workos: "workos";
|
|
262
|
+
local: "local";
|
|
263
|
+
}>;
|
|
264
|
+
}, z.core.$strip>;
|
|
265
|
+
export type AuthModeResponse = z.infer<typeof authModeResponseSchema>;
|
|
259
266
|
export declare const identifyUserSchema: z.ZodObject<{
|
|
260
267
|
id: z.ZodString;
|
|
261
268
|
email: z.ZodString;
|
|
@@ -379,6 +386,7 @@ export declare const agentTriggerSchema: z.ZodObject<{
|
|
|
379
386
|
readonly PR_MERGED: "pull_request.merged";
|
|
380
387
|
readonly PR_CLOSED: "pull_request.closed";
|
|
381
388
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
389
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
382
390
|
}>>>;
|
|
383
391
|
}, z.core.$strip>, z.ZodObject<{
|
|
384
392
|
integrationId: z.ZodString;
|
|
@@ -623,6 +631,7 @@ export declare const agentOutputSchema: z.ZodObject<{
|
|
|
623
631
|
readonly PR_MERGED: "pull_request.merged";
|
|
624
632
|
readonly PR_CLOSED: "pull_request.closed";
|
|
625
633
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
634
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
626
635
|
}>>>;
|
|
627
636
|
}, z.core.$strip>, z.ZodObject<{
|
|
628
637
|
integrationId: z.ZodString;
|
|
@@ -868,6 +877,7 @@ export declare const transientAgentTriggerSchema: z.ZodObject<{
|
|
|
868
877
|
readonly PR_MERGED: "pull_request.merged";
|
|
869
878
|
readonly PR_CLOSED: "pull_request.closed";
|
|
870
879
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
880
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
871
881
|
}>>>;
|
|
872
882
|
}, z.core.$strip>, z.ZodObject<{
|
|
873
883
|
integrationId: z.ZodString;
|
|
@@ -1110,6 +1120,7 @@ export declare const transientAgentOutputSchema: z.ZodObject<{
|
|
|
1110
1120
|
readonly PR_MERGED: "pull_request.merged";
|
|
1111
1121
|
readonly PR_CLOSED: "pull_request.closed";
|
|
1112
1122
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
1123
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
1113
1124
|
}>>>;
|
|
1114
1125
|
}, z.core.$strip>, z.ZodObject<{
|
|
1115
1126
|
integrationId: z.ZodString;
|
|
@@ -1561,6 +1572,7 @@ export declare const agentSchema: z.ZodObject<{
|
|
|
1561
1572
|
readonly PR_MERGED: "pull_request.merged";
|
|
1562
1573
|
readonly PR_CLOSED: "pull_request.closed";
|
|
1563
1574
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
1575
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
1564
1576
|
}>>>;
|
|
1565
1577
|
}, z.core.$strip>, z.ZodObject<{
|
|
1566
1578
|
integrationId: z.ZodString;
|
|
@@ -1804,6 +1816,7 @@ export declare const agentSchema: z.ZodObject<{
|
|
|
1804
1816
|
readonly PR_MERGED: "pull_request.merged";
|
|
1805
1817
|
readonly PR_CLOSED: "pull_request.closed";
|
|
1806
1818
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
1819
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
1807
1820
|
}>>>;
|
|
1808
1821
|
}, z.core.$strip>, z.ZodObject<{
|
|
1809
1822
|
integrationId: z.ZodString;
|
|
@@ -2067,6 +2080,7 @@ export declare const agentUpdateSchema: z.ZodObject<{
|
|
|
2067
2080
|
readonly PR_MERGED: "pull_request.merged";
|
|
2068
2081
|
readonly PR_CLOSED: "pull_request.closed";
|
|
2069
2082
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
2083
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
2070
2084
|
}>>>;
|
|
2071
2085
|
}, z.core.$strip>, z.ZodObject<{
|
|
2072
2086
|
integrationId: z.ZodString;
|
|
@@ -2310,6 +2324,7 @@ export declare const agentUpdateSchema: z.ZodObject<{
|
|
|
2310
2324
|
readonly PR_MERGED: "pull_request.merged";
|
|
2311
2325
|
readonly PR_CLOSED: "pull_request.closed";
|
|
2312
2326
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
2327
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
2313
2328
|
}>>>;
|
|
2314
2329
|
}, z.core.$strip>, z.ZodObject<{
|
|
2315
2330
|
integrationId: z.ZodString;
|
|
@@ -2584,6 +2599,7 @@ export declare const agentsResponseSchema: z.ZodObject<{
|
|
|
2584
2599
|
readonly PR_MERGED: "pull_request.merged";
|
|
2585
2600
|
readonly PR_CLOSED: "pull_request.closed";
|
|
2586
2601
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
2602
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
2587
2603
|
}>>>;
|
|
2588
2604
|
}, z.core.$strip>, z.ZodObject<{
|
|
2589
2605
|
integrationId: z.ZodString;
|
|
@@ -2827,6 +2843,7 @@ export declare const agentsResponseSchema: z.ZodObject<{
|
|
|
2827
2843
|
readonly PR_MERGED: "pull_request.merged";
|
|
2828
2844
|
readonly PR_CLOSED: "pull_request.closed";
|
|
2829
2845
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
2846
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
2830
2847
|
}>>>;
|
|
2831
2848
|
}, z.core.$strip>, z.ZodObject<{
|
|
2832
2849
|
integrationId: z.ZodString;
|
|
@@ -3103,6 +3120,7 @@ export declare const recentAgentSchema: z.ZodObject<{
|
|
|
3103
3120
|
readonly PR_MERGED: "pull_request.merged";
|
|
3104
3121
|
readonly PR_CLOSED: "pull_request.closed";
|
|
3105
3122
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
3123
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
3106
3124
|
}>>>;
|
|
3107
3125
|
}, z.core.$strip>, z.ZodObject<{
|
|
3108
3126
|
integrationId: z.ZodString;
|
|
@@ -3346,6 +3364,7 @@ export declare const recentAgentSchema: z.ZodObject<{
|
|
|
3346
3364
|
readonly PR_MERGED: "pull_request.merged";
|
|
3347
3365
|
readonly PR_CLOSED: "pull_request.closed";
|
|
3348
3366
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
3367
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
3349
3368
|
}>>>;
|
|
3350
3369
|
}, z.core.$strip>, z.ZodObject<{
|
|
3351
3370
|
integrationId: z.ZodString;
|
|
@@ -4308,6 +4327,49 @@ export declare const sdkAgentRunNormalizedRequestSchema: z.ZodObject<{
|
|
|
4308
4327
|
}, z.core.$strip>>;
|
|
4309
4328
|
}, z.core.$strip>>;
|
|
4310
4329
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
4330
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4331
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
4332
|
+
username: z.ZodString;
|
|
4333
|
+
installationId: z.ZodNumber;
|
|
4334
|
+
repositoryName: z.ZodString;
|
|
4335
|
+
repository: z.ZodObject<{
|
|
4336
|
+
id: z.ZodNumber;
|
|
4337
|
+
name: z.ZodString;
|
|
4338
|
+
owner: z.ZodString;
|
|
4339
|
+
defaultBranch: z.ZodString;
|
|
4340
|
+
}, z.core.$strip>;
|
|
4341
|
+
sender: z.ZodObject<{
|
|
4342
|
+
login: z.ZodString;
|
|
4343
|
+
email: z.ZodOptional<z.ZodString>;
|
|
4344
|
+
}, z.core.$strip>;
|
|
4345
|
+
eventType: z.ZodLiteral<"issue_comment.created">;
|
|
4346
|
+
issue: z.ZodObject<{
|
|
4347
|
+
id: z.ZodNumber;
|
|
4348
|
+
number: z.ZodNumber;
|
|
4349
|
+
title: z.ZodString;
|
|
4350
|
+
body: z.ZodOptional<z.ZodString>;
|
|
4351
|
+
state: z.ZodEnum<{
|
|
4352
|
+
open: "open";
|
|
4353
|
+
closed: "closed";
|
|
4354
|
+
}>;
|
|
4355
|
+
url: z.ZodString;
|
|
4356
|
+
author: z.ZodObject<{
|
|
4357
|
+
login: z.ZodString;
|
|
4358
|
+
email: z.ZodOptional<z.ZodString>;
|
|
4359
|
+
}, z.core.$strip>;
|
|
4360
|
+
isPullRequest: z.ZodBoolean;
|
|
4361
|
+
}, z.core.$strip>;
|
|
4362
|
+
comment: z.ZodObject<{
|
|
4363
|
+
id: z.ZodNumber;
|
|
4364
|
+
body: z.ZodString;
|
|
4365
|
+
author: z.ZodObject<{
|
|
4366
|
+
login: z.ZodString;
|
|
4367
|
+
email: z.ZodOptional<z.ZodString>;
|
|
4368
|
+
}, z.core.$strip>;
|
|
4369
|
+
url: z.ZodString;
|
|
4370
|
+
createdAt: z.ZodString;
|
|
4371
|
+
updatedAt: z.ZodString;
|
|
4372
|
+
}, z.core.$strip>;
|
|
4311
4373
|
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
4312
4374
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GMAIL>;
|
|
4313
4375
|
eventType: z.ZodEnum<{
|
|
@@ -6356,6 +6418,49 @@ export declare const sdkAgentRunResponseBodySchema: z.ZodObject<{
|
|
|
6356
6418
|
}, z.core.$strip>>;
|
|
6357
6419
|
}, z.core.$strip>>;
|
|
6358
6420
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
6421
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6422
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
6423
|
+
username: z.ZodString;
|
|
6424
|
+
installationId: z.ZodNumber;
|
|
6425
|
+
repositoryName: z.ZodString;
|
|
6426
|
+
repository: z.ZodObject<{
|
|
6427
|
+
id: z.ZodNumber;
|
|
6428
|
+
name: z.ZodString;
|
|
6429
|
+
owner: z.ZodString;
|
|
6430
|
+
defaultBranch: z.ZodString;
|
|
6431
|
+
}, z.core.$strip>;
|
|
6432
|
+
sender: z.ZodObject<{
|
|
6433
|
+
login: z.ZodString;
|
|
6434
|
+
email: z.ZodOptional<z.ZodString>;
|
|
6435
|
+
}, z.core.$strip>;
|
|
6436
|
+
eventType: z.ZodLiteral<"issue_comment.created">;
|
|
6437
|
+
issue: z.ZodObject<{
|
|
6438
|
+
id: z.ZodNumber;
|
|
6439
|
+
number: z.ZodNumber;
|
|
6440
|
+
title: z.ZodString;
|
|
6441
|
+
body: z.ZodOptional<z.ZodString>;
|
|
6442
|
+
state: z.ZodEnum<{
|
|
6443
|
+
open: "open";
|
|
6444
|
+
closed: "closed";
|
|
6445
|
+
}>;
|
|
6446
|
+
url: z.ZodString;
|
|
6447
|
+
author: z.ZodObject<{
|
|
6448
|
+
login: z.ZodString;
|
|
6449
|
+
email: z.ZodOptional<z.ZodString>;
|
|
6450
|
+
}, z.core.$strip>;
|
|
6451
|
+
isPullRequest: z.ZodBoolean;
|
|
6452
|
+
}, z.core.$strip>;
|
|
6453
|
+
comment: z.ZodObject<{
|
|
6454
|
+
id: z.ZodNumber;
|
|
6455
|
+
body: z.ZodString;
|
|
6456
|
+
author: z.ZodObject<{
|
|
6457
|
+
login: z.ZodString;
|
|
6458
|
+
email: z.ZodOptional<z.ZodString>;
|
|
6459
|
+
}, z.core.$strip>;
|
|
6460
|
+
url: z.ZodString;
|
|
6461
|
+
createdAt: z.ZodString;
|
|
6462
|
+
updatedAt: z.ZodString;
|
|
6463
|
+
}, z.core.$strip>;
|
|
6359
6464
|
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
6360
6465
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GMAIL>;
|
|
6361
6466
|
eventType: z.ZodEnum<{
|
|
@@ -8380,6 +8485,7 @@ export declare const sdkDeployJobSchema: z.ZodObject<{
|
|
|
8380
8485
|
readonly PR_MERGED: "pull_request.merged";
|
|
8381
8486
|
readonly PR_CLOSED: "pull_request.closed";
|
|
8382
8487
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
8488
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
8383
8489
|
}>>>;
|
|
8384
8490
|
}, z.core.$strip>, z.ZodObject<{
|
|
8385
8491
|
integrationId: z.ZodLiteral<"system">;
|
|
@@ -8549,6 +8655,7 @@ export declare const sdkDeployRequestBodySchema: z.ZodObject<{
|
|
|
8549
8655
|
readonly PR_MERGED: "pull_request.merged";
|
|
8550
8656
|
readonly PR_CLOSED: "pull_request.closed";
|
|
8551
8657
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
8658
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
8552
8659
|
}>>>;
|
|
8553
8660
|
}, z.core.$strip>, z.ZodObject<{
|
|
8554
8661
|
integrationId: z.ZodLiteral<"system">;
|
|
@@ -8810,6 +8917,7 @@ export declare const sdkRunTriggerEventResponseSchema: z.ZodObject<{
|
|
|
8810
8917
|
readonly PR_MERGED: "pull_request.merged";
|
|
8811
8918
|
readonly PR_CLOSED: "pull_request.closed";
|
|
8812
8919
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
8920
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
8813
8921
|
}>, z.ZodEnum<{
|
|
8814
8922
|
readonly ISSUE_CREATED: "issue.created";
|
|
8815
8923
|
readonly ISSUE_UPDATED: "issue.updated";
|
|
@@ -9174,6 +9282,49 @@ export declare const sdkRunTriggerEventResponseSchema: z.ZodObject<{
|
|
|
9174
9282
|
}, z.core.$strip>>;
|
|
9175
9283
|
}, z.core.$strip>>;
|
|
9176
9284
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
9285
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9286
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
9287
|
+
username: z.ZodString;
|
|
9288
|
+
installationId: z.ZodNumber;
|
|
9289
|
+
repositoryName: z.ZodString;
|
|
9290
|
+
repository: z.ZodObject<{
|
|
9291
|
+
id: z.ZodNumber;
|
|
9292
|
+
name: z.ZodString;
|
|
9293
|
+
owner: z.ZodString;
|
|
9294
|
+
defaultBranch: z.ZodString;
|
|
9295
|
+
}, z.core.$strip>;
|
|
9296
|
+
sender: z.ZodObject<{
|
|
9297
|
+
login: z.ZodString;
|
|
9298
|
+
email: z.ZodOptional<z.ZodString>;
|
|
9299
|
+
}, z.core.$strip>;
|
|
9300
|
+
eventType: z.ZodLiteral<"issue_comment.created">;
|
|
9301
|
+
issue: z.ZodObject<{
|
|
9302
|
+
id: z.ZodNumber;
|
|
9303
|
+
number: z.ZodNumber;
|
|
9304
|
+
title: z.ZodString;
|
|
9305
|
+
body: z.ZodOptional<z.ZodString>;
|
|
9306
|
+
state: z.ZodEnum<{
|
|
9307
|
+
open: "open";
|
|
9308
|
+
closed: "closed";
|
|
9309
|
+
}>;
|
|
9310
|
+
url: z.ZodString;
|
|
9311
|
+
author: z.ZodObject<{
|
|
9312
|
+
login: z.ZodString;
|
|
9313
|
+
email: z.ZodOptional<z.ZodString>;
|
|
9314
|
+
}, z.core.$strip>;
|
|
9315
|
+
isPullRequest: z.ZodBoolean;
|
|
9316
|
+
}, z.core.$strip>;
|
|
9317
|
+
comment: z.ZodObject<{
|
|
9318
|
+
id: z.ZodNumber;
|
|
9319
|
+
body: z.ZodString;
|
|
9320
|
+
author: z.ZodObject<{
|
|
9321
|
+
login: z.ZodString;
|
|
9322
|
+
email: z.ZodOptional<z.ZodString>;
|
|
9323
|
+
}, z.core.$strip>;
|
|
9324
|
+
url: z.ZodString;
|
|
9325
|
+
createdAt: z.ZodString;
|
|
9326
|
+
updatedAt: z.ZodString;
|
|
9327
|
+
}, z.core.$strip>;
|
|
9177
9328
|
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
9178
9329
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GMAIL>;
|
|
9179
9330
|
eventType: z.ZodEnum<{
|
|
@@ -10929,6 +11080,7 @@ export declare const sdkSampleEventsRequestSchema: z.ZodObject<{
|
|
|
10929
11080
|
readonly PR_MERGED: "pull_request.merged";
|
|
10930
11081
|
readonly PR_CLOSED: "pull_request.closed";
|
|
10931
11082
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
11083
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
10932
11084
|
}>>>;
|
|
10933
11085
|
}, z.core.$strip>, z.ZodObject<{
|
|
10934
11086
|
integrationId: z.ZodString;
|
|
@@ -11144,6 +11296,7 @@ export declare const sdkSampleEventRefSchema: z.ZodObject<{
|
|
|
11144
11296
|
readonly PR_MERGED: "pull_request.merged";
|
|
11145
11297
|
readonly PR_CLOSED: "pull_request.closed";
|
|
11146
11298
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
11299
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
11147
11300
|
}>, z.ZodEnum<{
|
|
11148
11301
|
readonly ISSUE_CREATED: "issue.created";
|
|
11149
11302
|
readonly ISSUE_UPDATED: "issue.updated";
|
|
@@ -11508,6 +11661,49 @@ export declare const sdkSampleEventRefSchema: z.ZodObject<{
|
|
|
11508
11661
|
}, z.core.$strip>>;
|
|
11509
11662
|
}, z.core.$strip>>;
|
|
11510
11663
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
11664
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11665
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
11666
|
+
username: z.ZodString;
|
|
11667
|
+
installationId: z.ZodNumber;
|
|
11668
|
+
repositoryName: z.ZodString;
|
|
11669
|
+
repository: z.ZodObject<{
|
|
11670
|
+
id: z.ZodNumber;
|
|
11671
|
+
name: z.ZodString;
|
|
11672
|
+
owner: z.ZodString;
|
|
11673
|
+
defaultBranch: z.ZodString;
|
|
11674
|
+
}, z.core.$strip>;
|
|
11675
|
+
sender: z.ZodObject<{
|
|
11676
|
+
login: z.ZodString;
|
|
11677
|
+
email: z.ZodOptional<z.ZodString>;
|
|
11678
|
+
}, z.core.$strip>;
|
|
11679
|
+
eventType: z.ZodLiteral<"issue_comment.created">;
|
|
11680
|
+
issue: z.ZodObject<{
|
|
11681
|
+
id: z.ZodNumber;
|
|
11682
|
+
number: z.ZodNumber;
|
|
11683
|
+
title: z.ZodString;
|
|
11684
|
+
body: z.ZodOptional<z.ZodString>;
|
|
11685
|
+
state: z.ZodEnum<{
|
|
11686
|
+
open: "open";
|
|
11687
|
+
closed: "closed";
|
|
11688
|
+
}>;
|
|
11689
|
+
url: z.ZodString;
|
|
11690
|
+
author: z.ZodObject<{
|
|
11691
|
+
login: z.ZodString;
|
|
11692
|
+
email: z.ZodOptional<z.ZodString>;
|
|
11693
|
+
}, z.core.$strip>;
|
|
11694
|
+
isPullRequest: z.ZodBoolean;
|
|
11695
|
+
}, z.core.$strip>;
|
|
11696
|
+
comment: z.ZodObject<{
|
|
11697
|
+
id: z.ZodNumber;
|
|
11698
|
+
body: z.ZodString;
|
|
11699
|
+
author: z.ZodObject<{
|
|
11700
|
+
login: z.ZodString;
|
|
11701
|
+
email: z.ZodOptional<z.ZodString>;
|
|
11702
|
+
}, z.core.$strip>;
|
|
11703
|
+
url: z.ZodString;
|
|
11704
|
+
createdAt: z.ZodString;
|
|
11705
|
+
updatedAt: z.ZodString;
|
|
11706
|
+
}, z.core.$strip>;
|
|
11511
11707
|
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
11512
11708
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GMAIL>;
|
|
11513
11709
|
eventType: z.ZodEnum<{
|
|
@@ -13195,6 +13391,7 @@ export declare const sdkSampleEventsResponseSchema: z.ZodObject<{
|
|
|
13195
13391
|
readonly PR_MERGED: "pull_request.merged";
|
|
13196
13392
|
readonly PR_CLOSED: "pull_request.closed";
|
|
13197
13393
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
13394
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
13198
13395
|
}>, z.ZodEnum<{
|
|
13199
13396
|
readonly ISSUE_CREATED: "issue.created";
|
|
13200
13397
|
readonly ISSUE_UPDATED: "issue.updated";
|
|
@@ -13559,6 +13756,49 @@ export declare const sdkSampleEventsResponseSchema: z.ZodObject<{
|
|
|
13559
13756
|
}, z.core.$strip>>;
|
|
13560
13757
|
}, z.core.$strip>>;
|
|
13561
13758
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
13759
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13760
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
13761
|
+
username: z.ZodString;
|
|
13762
|
+
installationId: z.ZodNumber;
|
|
13763
|
+
repositoryName: z.ZodString;
|
|
13764
|
+
repository: z.ZodObject<{
|
|
13765
|
+
id: z.ZodNumber;
|
|
13766
|
+
name: z.ZodString;
|
|
13767
|
+
owner: z.ZodString;
|
|
13768
|
+
defaultBranch: z.ZodString;
|
|
13769
|
+
}, z.core.$strip>;
|
|
13770
|
+
sender: z.ZodObject<{
|
|
13771
|
+
login: z.ZodString;
|
|
13772
|
+
email: z.ZodOptional<z.ZodString>;
|
|
13773
|
+
}, z.core.$strip>;
|
|
13774
|
+
eventType: z.ZodLiteral<"issue_comment.created">;
|
|
13775
|
+
issue: z.ZodObject<{
|
|
13776
|
+
id: z.ZodNumber;
|
|
13777
|
+
number: z.ZodNumber;
|
|
13778
|
+
title: z.ZodString;
|
|
13779
|
+
body: z.ZodOptional<z.ZodString>;
|
|
13780
|
+
state: z.ZodEnum<{
|
|
13781
|
+
open: "open";
|
|
13782
|
+
closed: "closed";
|
|
13783
|
+
}>;
|
|
13784
|
+
url: z.ZodString;
|
|
13785
|
+
author: z.ZodObject<{
|
|
13786
|
+
login: z.ZodString;
|
|
13787
|
+
email: z.ZodOptional<z.ZodString>;
|
|
13788
|
+
}, z.core.$strip>;
|
|
13789
|
+
isPullRequest: z.ZodBoolean;
|
|
13790
|
+
}, z.core.$strip>;
|
|
13791
|
+
comment: z.ZodObject<{
|
|
13792
|
+
id: z.ZodNumber;
|
|
13793
|
+
body: z.ZodString;
|
|
13794
|
+
author: z.ZodObject<{
|
|
13795
|
+
login: z.ZodString;
|
|
13796
|
+
email: z.ZodOptional<z.ZodString>;
|
|
13797
|
+
}, z.core.$strip>;
|
|
13798
|
+
url: z.ZodString;
|
|
13799
|
+
createdAt: z.ZodString;
|
|
13800
|
+
updatedAt: z.ZodString;
|
|
13801
|
+
}, z.core.$strip>;
|
|
13562
13802
|
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
13563
13803
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GMAIL>;
|
|
13564
13804
|
eventType: z.ZodEnum<{
|
|
@@ -15250,6 +15490,7 @@ export declare const sdkHydrateSampleEventResponseSchema: z.ZodObject<{
|
|
|
15250
15490
|
readonly PR_MERGED: "pull_request.merged";
|
|
15251
15491
|
readonly PR_CLOSED: "pull_request.closed";
|
|
15252
15492
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
15493
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
15253
15494
|
}>, z.ZodEnum<{
|
|
15254
15495
|
readonly ISSUE_CREATED: "issue.created";
|
|
15255
15496
|
readonly ISSUE_UPDATED: "issue.updated";
|
|
@@ -15614,6 +15855,49 @@ export declare const sdkHydrateSampleEventResponseSchema: z.ZodObject<{
|
|
|
15614
15855
|
}, z.core.$strip>>;
|
|
15615
15856
|
}, z.core.$strip>>;
|
|
15616
15857
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
15858
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15859
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
15860
|
+
username: z.ZodString;
|
|
15861
|
+
installationId: z.ZodNumber;
|
|
15862
|
+
repositoryName: z.ZodString;
|
|
15863
|
+
repository: z.ZodObject<{
|
|
15864
|
+
id: z.ZodNumber;
|
|
15865
|
+
name: z.ZodString;
|
|
15866
|
+
owner: z.ZodString;
|
|
15867
|
+
defaultBranch: z.ZodString;
|
|
15868
|
+
}, z.core.$strip>;
|
|
15869
|
+
sender: z.ZodObject<{
|
|
15870
|
+
login: z.ZodString;
|
|
15871
|
+
email: z.ZodOptional<z.ZodString>;
|
|
15872
|
+
}, z.core.$strip>;
|
|
15873
|
+
eventType: z.ZodLiteral<"issue_comment.created">;
|
|
15874
|
+
issue: z.ZodObject<{
|
|
15875
|
+
id: z.ZodNumber;
|
|
15876
|
+
number: z.ZodNumber;
|
|
15877
|
+
title: z.ZodString;
|
|
15878
|
+
body: z.ZodOptional<z.ZodString>;
|
|
15879
|
+
state: z.ZodEnum<{
|
|
15880
|
+
open: "open";
|
|
15881
|
+
closed: "closed";
|
|
15882
|
+
}>;
|
|
15883
|
+
url: z.ZodString;
|
|
15884
|
+
author: z.ZodObject<{
|
|
15885
|
+
login: z.ZodString;
|
|
15886
|
+
email: z.ZodOptional<z.ZodString>;
|
|
15887
|
+
}, z.core.$strip>;
|
|
15888
|
+
isPullRequest: z.ZodBoolean;
|
|
15889
|
+
}, z.core.$strip>;
|
|
15890
|
+
comment: z.ZodObject<{
|
|
15891
|
+
id: z.ZodNumber;
|
|
15892
|
+
body: z.ZodString;
|
|
15893
|
+
author: z.ZodObject<{
|
|
15894
|
+
login: z.ZodString;
|
|
15895
|
+
email: z.ZodOptional<z.ZodString>;
|
|
15896
|
+
}, z.core.$strip>;
|
|
15897
|
+
url: z.ZodString;
|
|
15898
|
+
createdAt: z.ZodString;
|
|
15899
|
+
updatedAt: z.ZodString;
|
|
15900
|
+
}, z.core.$strip>;
|
|
15617
15901
|
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
15618
15902
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GMAIL>;
|
|
15619
15903
|
eventType: z.ZodEnum<{
|
|
@@ -17574,6 +17858,49 @@ export declare const triggerWithEventRequestSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
17574
17858
|
}, z.core.$strip>>;
|
|
17575
17859
|
}, z.core.$strip>>;
|
|
17576
17860
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
17861
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17862
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
17863
|
+
username: z.ZodString;
|
|
17864
|
+
installationId: z.ZodNumber;
|
|
17865
|
+
repositoryName: z.ZodString;
|
|
17866
|
+
repository: z.ZodObject<{
|
|
17867
|
+
id: z.ZodNumber;
|
|
17868
|
+
name: z.ZodString;
|
|
17869
|
+
owner: z.ZodString;
|
|
17870
|
+
defaultBranch: z.ZodString;
|
|
17871
|
+
}, z.core.$strip>;
|
|
17872
|
+
sender: z.ZodObject<{
|
|
17873
|
+
login: z.ZodString;
|
|
17874
|
+
email: z.ZodOptional<z.ZodString>;
|
|
17875
|
+
}, z.core.$strip>;
|
|
17876
|
+
eventType: z.ZodLiteral<"issue_comment.created">;
|
|
17877
|
+
issue: z.ZodObject<{
|
|
17878
|
+
id: z.ZodNumber;
|
|
17879
|
+
number: z.ZodNumber;
|
|
17880
|
+
title: z.ZodString;
|
|
17881
|
+
body: z.ZodOptional<z.ZodString>;
|
|
17882
|
+
state: z.ZodEnum<{
|
|
17883
|
+
open: "open";
|
|
17884
|
+
closed: "closed";
|
|
17885
|
+
}>;
|
|
17886
|
+
url: z.ZodString;
|
|
17887
|
+
author: z.ZodObject<{
|
|
17888
|
+
login: z.ZodString;
|
|
17889
|
+
email: z.ZodOptional<z.ZodString>;
|
|
17890
|
+
}, z.core.$strip>;
|
|
17891
|
+
isPullRequest: z.ZodBoolean;
|
|
17892
|
+
}, z.core.$strip>;
|
|
17893
|
+
comment: z.ZodObject<{
|
|
17894
|
+
id: z.ZodNumber;
|
|
17895
|
+
body: z.ZodString;
|
|
17896
|
+
author: z.ZodObject<{
|
|
17897
|
+
login: z.ZodString;
|
|
17898
|
+
email: z.ZodOptional<z.ZodString>;
|
|
17899
|
+
}, z.core.$strip>;
|
|
17900
|
+
url: z.ZodString;
|
|
17901
|
+
createdAt: z.ZodString;
|
|
17902
|
+
updatedAt: z.ZodString;
|
|
17903
|
+
}, z.core.$strip>;
|
|
17577
17904
|
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
17578
17905
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GMAIL>;
|
|
17579
17906
|
eventType: z.ZodEnum<{
|
|
@@ -19268,6 +19595,7 @@ export declare const webhookJobTriggerRequestSchema: z.ZodObject<{
|
|
|
19268
19595
|
readonly PR_MERGED: "pull_request.merged";
|
|
19269
19596
|
readonly PR_CLOSED: "pull_request.closed";
|
|
19270
19597
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
19598
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
19271
19599
|
}>, z.ZodEnum<{
|
|
19272
19600
|
readonly ISSUE_CREATED: "issue.created";
|
|
19273
19601
|
readonly ISSUE_UPDATED: "issue.updated";
|
|
@@ -19632,6 +19960,49 @@ export declare const webhookJobTriggerRequestSchema: z.ZodObject<{
|
|
|
19632
19960
|
}, z.core.$strip>>;
|
|
19633
19961
|
}, z.core.$strip>>;
|
|
19634
19962
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
19963
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19964
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
19965
|
+
username: z.ZodString;
|
|
19966
|
+
installationId: z.ZodNumber;
|
|
19967
|
+
repositoryName: z.ZodString;
|
|
19968
|
+
repository: z.ZodObject<{
|
|
19969
|
+
id: z.ZodNumber;
|
|
19970
|
+
name: z.ZodString;
|
|
19971
|
+
owner: z.ZodString;
|
|
19972
|
+
defaultBranch: z.ZodString;
|
|
19973
|
+
}, z.core.$strip>;
|
|
19974
|
+
sender: z.ZodObject<{
|
|
19975
|
+
login: z.ZodString;
|
|
19976
|
+
email: z.ZodOptional<z.ZodString>;
|
|
19977
|
+
}, z.core.$strip>;
|
|
19978
|
+
eventType: z.ZodLiteral<"issue_comment.created">;
|
|
19979
|
+
issue: z.ZodObject<{
|
|
19980
|
+
id: z.ZodNumber;
|
|
19981
|
+
number: z.ZodNumber;
|
|
19982
|
+
title: z.ZodString;
|
|
19983
|
+
body: z.ZodOptional<z.ZodString>;
|
|
19984
|
+
state: z.ZodEnum<{
|
|
19985
|
+
open: "open";
|
|
19986
|
+
closed: "closed";
|
|
19987
|
+
}>;
|
|
19988
|
+
url: z.ZodString;
|
|
19989
|
+
author: z.ZodObject<{
|
|
19990
|
+
login: z.ZodString;
|
|
19991
|
+
email: z.ZodOptional<z.ZodString>;
|
|
19992
|
+
}, z.core.$strip>;
|
|
19993
|
+
isPullRequest: z.ZodBoolean;
|
|
19994
|
+
}, z.core.$strip>;
|
|
19995
|
+
comment: z.ZodObject<{
|
|
19996
|
+
id: z.ZodNumber;
|
|
19997
|
+
body: z.ZodString;
|
|
19998
|
+
author: z.ZodObject<{
|
|
19999
|
+
login: z.ZodString;
|
|
20000
|
+
email: z.ZodOptional<z.ZodString>;
|
|
20001
|
+
}, z.core.$strip>;
|
|
20002
|
+
url: z.ZodString;
|
|
20003
|
+
createdAt: z.ZodString;
|
|
20004
|
+
updatedAt: z.ZodString;
|
|
20005
|
+
}, z.core.$strip>;
|
|
19635
20006
|
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
19636
20007
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GMAIL>;
|
|
19637
20008
|
eventType: z.ZodEnum<{
|
|
@@ -21396,6 +21767,7 @@ export declare const sdkListenForwardedEventSchema: z.ZodObject<{
|
|
|
21396
21767
|
readonly PR_MERGED: "pull_request.merged";
|
|
21397
21768
|
readonly PR_CLOSED: "pull_request.closed";
|
|
21398
21769
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
21770
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
21399
21771
|
}>, z.ZodEnum<{
|
|
21400
21772
|
readonly ISSUE_CREATED: "issue.created";
|
|
21401
21773
|
readonly ISSUE_UPDATED: "issue.updated";
|
|
@@ -21760,6 +22132,49 @@ export declare const sdkListenForwardedEventSchema: z.ZodObject<{
|
|
|
21760
22132
|
}, z.core.$strip>>;
|
|
21761
22133
|
}, z.core.$strip>>;
|
|
21762
22134
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
22135
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22136
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
22137
|
+
username: z.ZodString;
|
|
22138
|
+
installationId: z.ZodNumber;
|
|
22139
|
+
repositoryName: z.ZodString;
|
|
22140
|
+
repository: z.ZodObject<{
|
|
22141
|
+
id: z.ZodNumber;
|
|
22142
|
+
name: z.ZodString;
|
|
22143
|
+
owner: z.ZodString;
|
|
22144
|
+
defaultBranch: z.ZodString;
|
|
22145
|
+
}, z.core.$strip>;
|
|
22146
|
+
sender: z.ZodObject<{
|
|
22147
|
+
login: z.ZodString;
|
|
22148
|
+
email: z.ZodOptional<z.ZodString>;
|
|
22149
|
+
}, z.core.$strip>;
|
|
22150
|
+
eventType: z.ZodLiteral<"issue_comment.created">;
|
|
22151
|
+
issue: z.ZodObject<{
|
|
22152
|
+
id: z.ZodNumber;
|
|
22153
|
+
number: z.ZodNumber;
|
|
22154
|
+
title: z.ZodString;
|
|
22155
|
+
body: z.ZodOptional<z.ZodString>;
|
|
22156
|
+
state: z.ZodEnum<{
|
|
22157
|
+
open: "open";
|
|
22158
|
+
closed: "closed";
|
|
22159
|
+
}>;
|
|
22160
|
+
url: z.ZodString;
|
|
22161
|
+
author: z.ZodObject<{
|
|
22162
|
+
login: z.ZodString;
|
|
22163
|
+
email: z.ZodOptional<z.ZodString>;
|
|
22164
|
+
}, z.core.$strip>;
|
|
22165
|
+
isPullRequest: z.ZodBoolean;
|
|
22166
|
+
}, z.core.$strip>;
|
|
22167
|
+
comment: z.ZodObject<{
|
|
22168
|
+
id: z.ZodNumber;
|
|
22169
|
+
body: z.ZodString;
|
|
22170
|
+
author: z.ZodObject<{
|
|
22171
|
+
login: z.ZodString;
|
|
22172
|
+
email: z.ZodOptional<z.ZodString>;
|
|
22173
|
+
}, z.core.$strip>;
|
|
22174
|
+
url: z.ZodString;
|
|
22175
|
+
createdAt: z.ZodString;
|
|
22176
|
+
updatedAt: z.ZodString;
|
|
22177
|
+
}, z.core.$strip>;
|
|
21763
22178
|
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
21764
22179
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GMAIL>;
|
|
21765
22180
|
eventType: z.ZodEnum<{
|
|
@@ -23442,6 +23857,7 @@ export declare const sdkListenStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
23442
23857
|
readonly PR_MERGED: "pull_request.merged";
|
|
23443
23858
|
readonly PR_CLOSED: "pull_request.closed";
|
|
23444
23859
|
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
23860
|
+
readonly ISSUE_COMMENT_CREATED: "issue_comment.created";
|
|
23445
23861
|
}>, z.ZodEnum<{
|
|
23446
23862
|
readonly ISSUE_CREATED: "issue.created";
|
|
23447
23863
|
readonly ISSUE_UPDATED: "issue.updated";
|
|
@@ -23806,6 +24222,49 @@ export declare const sdkListenStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
23806
24222
|
}, z.core.$strip>>;
|
|
23807
24223
|
}, z.core.$strip>>;
|
|
23808
24224
|
eventType: z.ZodLiteral<"pull_request.merged">;
|
|
24225
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24226
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
|
|
24227
|
+
username: z.ZodString;
|
|
24228
|
+
installationId: z.ZodNumber;
|
|
24229
|
+
repositoryName: z.ZodString;
|
|
24230
|
+
repository: z.ZodObject<{
|
|
24231
|
+
id: z.ZodNumber;
|
|
24232
|
+
name: z.ZodString;
|
|
24233
|
+
owner: z.ZodString;
|
|
24234
|
+
defaultBranch: z.ZodString;
|
|
24235
|
+
}, z.core.$strip>;
|
|
24236
|
+
sender: z.ZodObject<{
|
|
24237
|
+
login: z.ZodString;
|
|
24238
|
+
email: z.ZodOptional<z.ZodString>;
|
|
24239
|
+
}, z.core.$strip>;
|
|
24240
|
+
eventType: z.ZodLiteral<"issue_comment.created">;
|
|
24241
|
+
issue: z.ZodObject<{
|
|
24242
|
+
id: z.ZodNumber;
|
|
24243
|
+
number: z.ZodNumber;
|
|
24244
|
+
title: z.ZodString;
|
|
24245
|
+
body: z.ZodOptional<z.ZodString>;
|
|
24246
|
+
state: z.ZodEnum<{
|
|
24247
|
+
open: "open";
|
|
24248
|
+
closed: "closed";
|
|
24249
|
+
}>;
|
|
24250
|
+
url: z.ZodString;
|
|
24251
|
+
author: z.ZodObject<{
|
|
24252
|
+
login: z.ZodString;
|
|
24253
|
+
email: z.ZodOptional<z.ZodString>;
|
|
24254
|
+
}, z.core.$strip>;
|
|
24255
|
+
isPullRequest: z.ZodBoolean;
|
|
24256
|
+
}, z.core.$strip>;
|
|
24257
|
+
comment: z.ZodObject<{
|
|
24258
|
+
id: z.ZodNumber;
|
|
24259
|
+
body: z.ZodString;
|
|
24260
|
+
author: z.ZodObject<{
|
|
24261
|
+
login: z.ZodString;
|
|
24262
|
+
email: z.ZodOptional<z.ZodString>;
|
|
24263
|
+
}, z.core.$strip>;
|
|
24264
|
+
url: z.ZodString;
|
|
24265
|
+
createdAt: z.ZodString;
|
|
24266
|
+
updatedAt: z.ZodString;
|
|
24267
|
+
}, z.core.$strip>;
|
|
23809
24268
|
}, z.core.$strip>], "eventType">, z.ZodObject<{
|
|
23810
24269
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GMAIL>;
|
|
23811
24270
|
eventType: z.ZodEnum<{
|