terse-types 0.0.24 → 0.0.26

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/types.d.ts CHANGED
@@ -346,7 +346,11 @@ export declare const agentTriggerSchema: z.ZodObject<{
346
346
  }, z.core.$strip>, z.ZodObject<{
347
347
  integrationId: z.ZodLiteral<"system">;
348
348
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
349
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
349
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
350
+ }, z.core.$strip>, z.ZodObject<{
351
+ integrationId: z.ZodLiteral<"system">;
352
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
353
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
350
354
  }, z.core.$strip>, z.ZodObject<{
351
355
  integrationId: z.ZodString;
352
356
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -514,7 +518,11 @@ export declare const agentOutputSchema: z.ZodObject<{
514
518
  }, z.core.$strip>, z.ZodObject<{
515
519
  integrationId: z.ZodLiteral<"system">;
516
520
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
517
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
521
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
522
+ }, z.core.$strip>, z.ZodObject<{
523
+ integrationId: z.ZodLiteral<"system">;
524
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
525
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
518
526
  }, z.core.$strip>, z.ZodObject<{
519
527
  integrationId: z.ZodString;
520
528
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -683,7 +691,11 @@ export declare const transientAgentTriggerSchema: z.ZodObject<{
683
691
  }, z.core.$strip>, z.ZodObject<{
684
692
  integrationId: z.ZodLiteral<"system">;
685
693
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
686
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
694
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
695
+ }, z.core.$strip>, z.ZodObject<{
696
+ integrationId: z.ZodLiteral<"system">;
697
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
698
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
687
699
  }, z.core.$strip>, z.ZodObject<{
688
700
  integrationId: z.ZodString;
689
701
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -849,7 +861,11 @@ export declare const transientAgentOutputSchema: z.ZodObject<{
849
861
  }, z.core.$strip>, z.ZodObject<{
850
862
  integrationId: z.ZodLiteral<"system">;
851
863
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
852
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
864
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
865
+ }, z.core.$strip>, z.ZodObject<{
866
+ integrationId: z.ZodLiteral<"system">;
867
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
868
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
853
869
  }, z.core.$strip>, z.ZodObject<{
854
870
  integrationId: z.ZodString;
855
871
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -1224,7 +1240,11 @@ export declare const agentSchema: z.ZodObject<{
1224
1240
  }, z.core.$strip>, z.ZodObject<{
1225
1241
  integrationId: z.ZodLiteral<"system">;
1226
1242
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
1227
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
1243
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
1244
+ }, z.core.$strip>, z.ZodObject<{
1245
+ integrationId: z.ZodLiteral<"system">;
1246
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
1247
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
1228
1248
  }, z.core.$strip>, z.ZodObject<{
1229
1249
  integrationId: z.ZodString;
1230
1250
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -1391,7 +1411,11 @@ export declare const agentSchema: z.ZodObject<{
1391
1411
  }, z.core.$strip>, z.ZodObject<{
1392
1412
  integrationId: z.ZodLiteral<"system">;
1393
1413
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
1394
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
1414
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
1415
+ }, z.core.$strip>, z.ZodObject<{
1416
+ integrationId: z.ZodLiteral<"system">;
1417
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
1418
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
1395
1419
  }, z.core.$strip>, z.ZodObject<{
1396
1420
  integrationId: z.ZodString;
1397
1421
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -1582,7 +1606,11 @@ export declare const agentUpdateSchema: z.ZodObject<{
1582
1606
  }, z.core.$strip>, z.ZodObject<{
1583
1607
  integrationId: z.ZodLiteral<"system">;
1584
1608
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
1585
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
1609
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
1610
+ }, z.core.$strip>, z.ZodObject<{
1611
+ integrationId: z.ZodLiteral<"system">;
1612
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
1613
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
1586
1614
  }, z.core.$strip>, z.ZodObject<{
1587
1615
  integrationId: z.ZodString;
1588
1616
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -1749,7 +1777,11 @@ export declare const agentUpdateSchema: z.ZodObject<{
1749
1777
  }, z.core.$strip>, z.ZodObject<{
1750
1778
  integrationId: z.ZodLiteral<"system">;
1751
1779
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
1752
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
1780
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
1781
+ }, z.core.$strip>, z.ZodObject<{
1782
+ integrationId: z.ZodLiteral<"system">;
1783
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
1784
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
1753
1785
  }, z.core.$strip>, z.ZodObject<{
1754
1786
  integrationId: z.ZodString;
1755
1787
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -1943,7 +1975,11 @@ export declare const agentCreateSchema: z.ZodObject<{
1943
1975
  }, z.core.$strip>, z.ZodObject<{
1944
1976
  integrationId: z.ZodLiteral<"system">;
1945
1977
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
1946
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
1978
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
1979
+ }, z.core.$strip>, z.ZodObject<{
1980
+ integrationId: z.ZodLiteral<"system">;
1981
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
1982
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
1947
1983
  }, z.core.$strip>, z.ZodObject<{
1948
1984
  integrationId: z.ZodString;
1949
1985
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -2110,7 +2146,11 @@ export declare const agentCreateSchema: z.ZodObject<{
2110
2146
  }, z.core.$strip>, z.ZodObject<{
2111
2147
  integrationId: z.ZodLiteral<"system">;
2112
2148
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
2113
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
2149
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
2150
+ }, z.core.$strip>, z.ZodObject<{
2151
+ integrationId: z.ZodLiteral<"system">;
2152
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
2153
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
2114
2154
  }, z.core.$strip>, z.ZodObject<{
2115
2155
  integrationId: z.ZodString;
2116
2156
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -2300,7 +2340,11 @@ export declare const agentDraftSchema: z.ZodObject<{
2300
2340
  }, z.core.$strip>, z.ZodObject<{
2301
2341
  integrationId: z.ZodLiteral<"system">;
2302
2342
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
2303
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
2343
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
2344
+ }, z.core.$strip>, z.ZodObject<{
2345
+ integrationId: z.ZodLiteral<"system">;
2346
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
2347
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
2304
2348
  }, z.core.$strip>, z.ZodObject<{
2305
2349
  integrationId: z.ZodString;
2306
2350
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -2467,7 +2511,11 @@ export declare const agentDraftSchema: z.ZodObject<{
2467
2511
  }, z.core.$strip>, z.ZodObject<{
2468
2512
  integrationId: z.ZodLiteral<"system">;
2469
2513
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
2470
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
2514
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
2515
+ }, z.core.$strip>, z.ZodObject<{
2516
+ integrationId: z.ZodLiteral<"system">;
2517
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
2518
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
2471
2519
  }, z.core.$strip>, z.ZodObject<{
2472
2520
  integrationId: z.ZodString;
2473
2521
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -2663,7 +2711,11 @@ export declare const agentsResponseSchema: z.ZodObject<{
2663
2711
  }, z.core.$strip>, z.ZodObject<{
2664
2712
  integrationId: z.ZodLiteral<"system">;
2665
2713
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
2666
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
2714
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
2715
+ }, z.core.$strip>, z.ZodObject<{
2716
+ integrationId: z.ZodLiteral<"system">;
2717
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
2718
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
2667
2719
  }, z.core.$strip>, z.ZodObject<{
2668
2720
  integrationId: z.ZodString;
2669
2721
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -2830,7 +2882,11 @@ export declare const agentsResponseSchema: z.ZodObject<{
2830
2882
  }, z.core.$strip>, z.ZodObject<{
2831
2883
  integrationId: z.ZodLiteral<"system">;
2832
2884
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
2833
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
2885
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
2886
+ }, z.core.$strip>, z.ZodObject<{
2887
+ integrationId: z.ZodLiteral<"system">;
2888
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
2889
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
2834
2890
  }, z.core.$strip>, z.ZodObject<{
2835
2891
  integrationId: z.ZodString;
2836
2892
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -3034,7 +3090,11 @@ export declare const recentAgentSchema: z.ZodObject<{
3034
3090
  }, z.core.$strip>, z.ZodObject<{
3035
3091
  integrationId: z.ZodLiteral<"system">;
3036
3092
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
3037
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
3093
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
3094
+ }, z.core.$strip>, z.ZodObject<{
3095
+ integrationId: z.ZodLiteral<"system">;
3096
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
3097
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
3038
3098
  }, z.core.$strip>, z.ZodObject<{
3039
3099
  integrationId: z.ZodString;
3040
3100
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -3201,7 +3261,11 @@ export declare const recentAgentSchema: z.ZodObject<{
3201
3261
  }, z.core.$strip>, z.ZodObject<{
3202
3262
  integrationId: z.ZodLiteral<"system">;
3203
3263
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
3204
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
3264
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
3265
+ }, z.core.$strip>, z.ZodObject<{
3266
+ integrationId: z.ZodLiteral<"system">;
3267
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
3268
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
3205
3269
  }, z.core.$strip>, z.ZodObject<{
3206
3270
  integrationId: z.ZodString;
3207
3271
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -3724,7 +3788,11 @@ export declare const sdkAgentRunRequestBodySchema: z.ZodObject<{
3724
3788
  }, z.core.$strip>, z.ZodObject<{
3725
3789
  integrationId: z.ZodLiteral<"system">;
3726
3790
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
3727
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
3791
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
3792
+ }, z.core.$strip>, z.ZodObject<{
3793
+ integrationId: z.ZodLiteral<"system">;
3794
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
3795
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
3728
3796
  }, z.core.$strip>, z.ZodObject<{
3729
3797
  integrationId: z.ZodString;
3730
3798
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -4490,7 +4558,11 @@ export declare const sdkAgentRunNormalizedRequestSchema: z.ZodObject<{
4490
4558
  }, z.core.$strip>, z.ZodObject<{
4491
4559
  integrationId: z.ZodLiteral<"system">;
4492
4560
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
4493
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
4561
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
4562
+ }, z.core.$strip>, z.ZodObject<{
4563
+ integrationId: z.ZodLiteral<"system">;
4564
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
4565
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
4494
4566
  }, z.core.$strip>, z.ZodObject<{
4495
4567
  integrationId: z.ZodString;
4496
4568
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -5254,7 +5326,11 @@ export declare const sdkAgentRunResponseBodySchema: z.ZodObject<{
5254
5326
  }, z.core.$strip>, z.ZodObject<{
5255
5327
  integrationId: z.ZodLiteral<"system">;
5256
5328
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
5257
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
5329
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
5330
+ }, z.core.$strip>, z.ZodObject<{
5331
+ integrationId: z.ZodLiteral<"system">;
5332
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
5333
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
5258
5334
  }, z.core.$strip>, z.ZodObject<{
5259
5335
  integrationId: z.ZodString;
5260
5336
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -5456,6 +5532,19 @@ export declare const projectDetailResponseSchema: z.ZodObject<{
5456
5532
  }, z.core.$strip>>;
5457
5533
  }, z.core.$strip>;
5458
5534
  export type ProjectDetailResponse = z.infer<typeof projectDetailResponseSchema>;
5535
+ /**
5536
+ * Rotation responses for self-hosted project credentials. Both endpoints
5537
+ * regenerate the underlying secret immediately (replacing the old value) and
5538
+ * return the freshly generated material exactly once.
5539
+ */
5540
+ export declare const projectRotateSigningSecretResponseSchema: z.ZodObject<{
5541
+ signingSecret: z.ZodString;
5542
+ }, z.core.$strip>;
5543
+ export type ProjectRotateSigningSecretResponse = z.infer<typeof projectRotateSigningSecretResponseSchema>;
5544
+ export declare const projectRotateApiKeyResponseSchema: z.ZodObject<{
5545
+ projectApiKey: z.ZodString;
5546
+ }, z.core.$strip>;
5547
+ export type ProjectRotateApiKeyResponse = z.infer<typeof projectRotateApiKeyResponseSchema>;
5459
5548
  export declare const terseProjectConfigSchema: z.ZodObject<{
5460
5549
  projectId: z.ZodString;
5461
5550
  name: z.ZodString;
@@ -6612,7 +6701,11 @@ export declare const sdkSampleEventsRequestSchema: z.ZodObject<{
6612
6701
  }, z.core.$strip>, z.ZodObject<{
6613
6702
  integrationId: z.ZodLiteral<"system">;
6614
6703
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
6615
- configType: z.ZodLiteral<import("./Configs.js").ConfigType.TERSE>;
6704
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEB>;
6705
+ }, z.core.$strip>, z.ZodObject<{
6706
+ integrationId: z.ZodLiteral<"system">;
6707
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.TERSE>;
6708
+ configType: z.ZodLiteral<import("./Configs.js").ConfigType.IMAGE_EDIT>;
6616
6709
  }, z.core.$strip>, z.ZodObject<{
6617
6710
  integrationId: z.ZodString;
6618
6711
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
@@ -8155,7 +8248,15 @@ export declare const sdkSampleEventsResponseSchema: z.ZodObject<{
8155
8248
  }, z.core.$strip>;
8156
8249
  export type SdkSampleEventsResponse = z.infer<typeof sdkSampleEventsResponseSchema>;
8157
8250
  export declare const sdkHydrateSampleEventRequestSchema: z.ZodObject<{
8158
- entityType: z.ZodString;
8251
+ entityType: z.ZodEnum<{
8252
+ run_history_raw_event: "run_history_raw_event";
8253
+ slack_message_event: "slack_message_event";
8254
+ github_event: "github_event";
8255
+ linear_event: "linear_event";
8256
+ gmail_event: "gmail_event";
8257
+ workos_event: "workos_event";
8258
+ webmonitor_event: "webmonitor_event";
8259
+ }>;
8159
8260
  entityId: z.ZodString;
8160
8261
  }, z.core.$strip>;
8161
8262
  export type SdkHydrateSampleEventRequest = z.infer<typeof sdkHydrateSampleEventRequestSchema>;
@@ -10336,6 +10437,11 @@ export declare const projectDeployUserSchema: z.ZodObject<{
10336
10437
  avatarUrl: z.ZodNullable<z.ZodString>;
10337
10438
  }, z.core.$strip>;
10338
10439
  export type ProjectDeployUser = z.infer<typeof projectDeployUserSchema>;
10440
+ export declare const projectDeployJobsDeltaSchema: z.ZodObject<{
10441
+ added: z.ZodNumber;
10442
+ removed: z.ZodNumber;
10443
+ }, z.core.$strip>;
10444
+ export type ProjectDeployJobsDelta = z.infer<typeof projectDeployJobsDeltaSchema>;
10339
10445
  export declare const projectDeploySchema: z.ZodObject<{
10340
10446
  id: z.ZodString;
10341
10447
  status: z.ZodEnum<{
@@ -10352,6 +10458,12 @@ export declare const projectDeploySchema: z.ZodObject<{
10352
10458
  email: z.ZodNullable<z.ZodString>;
10353
10459
  avatarUrl: z.ZodNullable<z.ZodString>;
10354
10460
  }, z.core.$strip>>;
10461
+ durationMs: z.ZodNullable<z.ZodNumber>;
10462
+ failureReason: z.ZodNullable<z.ZodString>;
10463
+ jobsDelta: z.ZodNullable<z.ZodObject<{
10464
+ added: z.ZodNumber;
10465
+ removed: z.ZodNumber;
10466
+ }, z.core.$strip>>;
10355
10467
  }, z.core.$strip>;
10356
10468
  export type ProjectDeploy = z.infer<typeof projectDeploySchema>;
10357
10469
  export declare const projectDeploysResponseSchema: z.ZodObject<{
@@ -10372,6 +10484,12 @@ export declare const projectDeploysResponseSchema: z.ZodObject<{
10372
10484
  email: z.ZodNullable<z.ZodString>;
10373
10485
  avatarUrl: z.ZodNullable<z.ZodString>;
10374
10486
  }, z.core.$strip>>;
10487
+ durationMs: z.ZodNullable<z.ZodNumber>;
10488
+ failureReason: z.ZodNullable<z.ZodString>;
10489
+ jobsDelta: z.ZodNullable<z.ZodObject<{
10490
+ added: z.ZodNumber;
10491
+ removed: z.ZodNumber;
10492
+ }, z.core.$strip>>;
10375
10493
  }, z.core.$strip>>;
10376
10494
  }, z.core.$strip>;
10377
10495
  export type ProjectDeploysResponse = z.infer<typeof projectDeploysResponseSchema>;
@@ -10386,3 +10504,1464 @@ export declare const projectSourceFilesResponseSchema: z.ZodObject<{
10386
10504
  }, z.core.$strip>>;
10387
10505
  }, z.core.$strip>;
10388
10506
  export type ProjectSourceFilesResponse = z.infer<typeof projectSourceFilesResponseSchema>;
10507
+ export declare const sdkListenQuerySchema: z.ZodObject<{
10508
+ jobName: z.ZodString;
10509
+ projectId: z.ZodString;
10510
+ }, z.core.$strip>;
10511
+ export type SdkListenQuery = z.infer<typeof sdkListenQuerySchema>;
10512
+ export declare const sdkListenStartedSchema: z.ZodObject<{
10513
+ type: z.ZodLiteral<"listen_started">;
10514
+ listenerId: z.ZodString;
10515
+ organizationId: z.ZodString;
10516
+ projectId: z.ZodString;
10517
+ jobName: z.ZodString;
10518
+ }, z.core.$strip>;
10519
+ export declare const sdkListenForwardedEventSchema: z.ZodObject<{
10520
+ type: z.ZodLiteral<"forwarded_event">;
10521
+ agentId: z.ZodString;
10522
+ agentName: z.ZodString;
10523
+ projectId: z.ZodNullable<z.ZodString>;
10524
+ event: z.ZodObject<{
10525
+ integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
10526
+ eventType: z.ZodUnion<readonly [z.ZodEnum<{
10527
+ readonly MESSAGE: "message";
10528
+ readonly APP_MENTION: "app_mention";
10529
+ readonly REACTION_ADDED: "reaction_added";
10530
+ }>, z.ZodEnum<{
10531
+ readonly PUSH: "push";
10532
+ readonly PR_OPENED: "pull_request.opened";
10533
+ readonly PR_MERGED: "pull_request.merged";
10534
+ readonly PR_CLOSED: "pull_request.closed";
10535
+ readonly PR_SYNCHRONIZE: "pull_request.synchronize";
10536
+ }>, z.ZodEnum<{
10537
+ readonly ISSUE_CREATED: "issue.created";
10538
+ readonly ISSUE_UPDATED: "issue.updated";
10539
+ readonly COMMENT_CREATED: "comment.created";
10540
+ }>, z.ZodEnum<{
10541
+ readonly EMAIL_RECEIVED: "email.received";
10542
+ }>, z.ZodEnum<{
10543
+ readonly USER_CREATED: "user.created";
10544
+ readonly USER_UPDATED: "user.updated";
10545
+ readonly USER_DELETED: "user.deleted";
10546
+ readonly ORGANIZATION_CREATED: "organization.created";
10547
+ readonly ORGANIZATION_MEMBERSHIP_CREATED: "organization_membership.created";
10548
+ readonly ORGANIZATION_MEMBERSHIP_UPDATED: "organization_membership.updated";
10549
+ readonly ORGANIZATION_MEMBERSHIP_DELETED: "organization_membership.deleted";
10550
+ readonly INVITATION_CREATED: "invitation.created";
10551
+ readonly INVITATION_ACCEPTED: "invitation.accepted";
10552
+ readonly INVITATION_RESENT: "invitation.resent";
10553
+ readonly INVITATION_REVOKED: "invitation.revoked";
10554
+ }>, z.ZodLiteral<"webhook">, z.ZodLiteral<"cron">, z.ZodLiteral<"webmonitor">, z.ZodLiteral<"manual_sample">]>;
10555
+ formattedContent: z.ZodString;
10556
+ debugLog: z.ZodString;
10557
+ display: z.ZodOptional<z.ZodObject<{
10558
+ title: z.ZodString;
10559
+ subtitle: z.ZodString;
10560
+ }, z.core.$strip>>;
10561
+ data: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
10562
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
10563
+ channelId: z.ZodString;
10564
+ channelName: z.ZodNullable<z.ZodString>;
10565
+ userId: z.ZodString;
10566
+ userName: z.ZodNullable<z.ZodString>;
10567
+ text: z.ZodString;
10568
+ timestamp: z.ZodString;
10569
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10570
+ threadTimestamp: z.ZodNullable<z.ZodString>;
10571
+ teamId: z.ZodString;
10572
+ permalink: z.ZodNullable<z.ZodString>;
10573
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
10574
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10575
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10576
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10577
+ eventType: z.ZodLiteral<"message">;
10578
+ }, z.core.$strip>, z.ZodObject<{
10579
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
10580
+ channelId: z.ZodString;
10581
+ channelName: z.ZodNullable<z.ZodString>;
10582
+ userId: z.ZodString;
10583
+ userName: z.ZodNullable<z.ZodString>;
10584
+ text: z.ZodString;
10585
+ timestamp: z.ZodString;
10586
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10587
+ threadTimestamp: z.ZodNullable<z.ZodString>;
10588
+ teamId: z.ZodString;
10589
+ permalink: z.ZodNullable<z.ZodString>;
10590
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
10591
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10592
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10593
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10594
+ eventType: z.ZodLiteral<"app_mention">;
10595
+ }, z.core.$strip>, z.ZodObject<{
10596
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
10597
+ channelId: z.ZodString;
10598
+ channelName: z.ZodNullable<z.ZodString>;
10599
+ userId: z.ZodString;
10600
+ userName: z.ZodNullable<z.ZodString>;
10601
+ text: z.ZodString;
10602
+ timestamp: z.ZodString;
10603
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10604
+ threadTimestamp: z.ZodNullable<z.ZodString>;
10605
+ teamId: z.ZodString;
10606
+ permalink: z.ZodNullable<z.ZodString>;
10607
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
10608
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10609
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10610
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10611
+ eventType: z.ZodLiteral<"reaction_added">;
10612
+ reaction: z.ZodString;
10613
+ itemType: z.ZodNullable<z.ZodString>;
10614
+ itemUserId: z.ZodNullable<z.ZodString>;
10615
+ itemChannelId: z.ZodNullable<z.ZodString>;
10616
+ itemTimestamp: z.ZodNullable<z.ZodString>;
10617
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
10618
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
10619
+ username: z.ZodString;
10620
+ installationId: z.ZodNumber;
10621
+ repositoryName: z.ZodString;
10622
+ repository: z.ZodObject<{
10623
+ id: z.ZodNumber;
10624
+ name: z.ZodString;
10625
+ owner: z.ZodString;
10626
+ defaultBranch: z.ZodString;
10627
+ }, z.core.$strip>;
10628
+ sender: z.ZodObject<{
10629
+ login: z.ZodString;
10630
+ email: z.ZodOptional<z.ZodString>;
10631
+ }, z.core.$strip>;
10632
+ eventType: z.ZodLiteral<"push">;
10633
+ branch: z.ZodString;
10634
+ commits: z.ZodArray<z.ZodObject<{
10635
+ sha: z.ZodString;
10636
+ message: z.ZodOptional<z.ZodString>;
10637
+ name: z.ZodString;
10638
+ fileDiffs: z.ZodArray<z.ZodObject<{
10639
+ filename: z.ZodString;
10640
+ diff: z.ZodString;
10641
+ }, z.core.$strip>>;
10642
+ }, z.core.$strip>>;
10643
+ pullRequest: z.ZodOptional<z.ZodUndefined>;
10644
+ }, z.core.$strip>, z.ZodObject<{
10645
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
10646
+ username: z.ZodString;
10647
+ installationId: z.ZodNumber;
10648
+ repositoryName: z.ZodString;
10649
+ repository: z.ZodObject<{
10650
+ id: z.ZodNumber;
10651
+ name: z.ZodString;
10652
+ owner: z.ZodString;
10653
+ defaultBranch: z.ZodString;
10654
+ }, z.core.$strip>;
10655
+ sender: z.ZodObject<{
10656
+ login: z.ZodString;
10657
+ email: z.ZodOptional<z.ZodString>;
10658
+ }, z.core.$strip>;
10659
+ pullRequest: z.ZodObject<{
10660
+ id: z.ZodString;
10661
+ number: z.ZodNumber;
10662
+ title: z.ZodString;
10663
+ body: z.ZodOptional<z.ZodString>;
10664
+ state: z.ZodEnum<{
10665
+ open: "open";
10666
+ closed: "closed";
10667
+ }>;
10668
+ merged: z.ZodBoolean;
10669
+ head: z.ZodObject<{
10670
+ ref: z.ZodString;
10671
+ sha: z.ZodString;
10672
+ }, z.core.$strip>;
10673
+ base: z.ZodObject<{
10674
+ ref: z.ZodString;
10675
+ sha: z.ZodString;
10676
+ }, z.core.$strip>;
10677
+ user: z.ZodObject<{
10678
+ login: z.ZodString;
10679
+ email: z.ZodOptional<z.ZodString>;
10680
+ }, z.core.$strip>;
10681
+ author: z.ZodOptional<z.ZodObject<{
10682
+ login: z.ZodString;
10683
+ email: z.ZodOptional<z.ZodString>;
10684
+ }, z.core.$strip>>;
10685
+ url: z.ZodOptional<z.ZodString>;
10686
+ }, z.core.$strip>;
10687
+ branch: z.ZodOptional<z.ZodString>;
10688
+ commits: z.ZodArray<z.ZodObject<{
10689
+ sha: z.ZodString;
10690
+ message: z.ZodOptional<z.ZodString>;
10691
+ name: z.ZodString;
10692
+ fileDiffs: z.ZodArray<z.ZodObject<{
10693
+ filename: z.ZodString;
10694
+ diff: z.ZodString;
10695
+ }, z.core.$strip>>;
10696
+ }, z.core.$strip>>;
10697
+ eventType: z.ZodLiteral<"pull_request.opened">;
10698
+ }, z.core.$strip>, z.ZodObject<{
10699
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
10700
+ username: z.ZodString;
10701
+ installationId: z.ZodNumber;
10702
+ repositoryName: z.ZodString;
10703
+ repository: z.ZodObject<{
10704
+ id: z.ZodNumber;
10705
+ name: z.ZodString;
10706
+ owner: z.ZodString;
10707
+ defaultBranch: z.ZodString;
10708
+ }, z.core.$strip>;
10709
+ sender: z.ZodObject<{
10710
+ login: z.ZodString;
10711
+ email: z.ZodOptional<z.ZodString>;
10712
+ }, z.core.$strip>;
10713
+ pullRequest: z.ZodObject<{
10714
+ id: z.ZodString;
10715
+ number: z.ZodNumber;
10716
+ title: z.ZodString;
10717
+ body: z.ZodOptional<z.ZodString>;
10718
+ state: z.ZodEnum<{
10719
+ open: "open";
10720
+ closed: "closed";
10721
+ }>;
10722
+ merged: z.ZodBoolean;
10723
+ head: z.ZodObject<{
10724
+ ref: z.ZodString;
10725
+ sha: z.ZodString;
10726
+ }, z.core.$strip>;
10727
+ base: z.ZodObject<{
10728
+ ref: z.ZodString;
10729
+ sha: z.ZodString;
10730
+ }, z.core.$strip>;
10731
+ user: z.ZodObject<{
10732
+ login: z.ZodString;
10733
+ email: z.ZodOptional<z.ZodString>;
10734
+ }, z.core.$strip>;
10735
+ author: z.ZodOptional<z.ZodObject<{
10736
+ login: z.ZodString;
10737
+ email: z.ZodOptional<z.ZodString>;
10738
+ }, z.core.$strip>>;
10739
+ url: z.ZodOptional<z.ZodString>;
10740
+ }, z.core.$strip>;
10741
+ branch: z.ZodOptional<z.ZodString>;
10742
+ commits: z.ZodArray<z.ZodObject<{
10743
+ sha: z.ZodString;
10744
+ message: z.ZodOptional<z.ZodString>;
10745
+ name: z.ZodString;
10746
+ fileDiffs: z.ZodArray<z.ZodObject<{
10747
+ filename: z.ZodString;
10748
+ diff: z.ZodString;
10749
+ }, z.core.$strip>>;
10750
+ }, z.core.$strip>>;
10751
+ eventType: z.ZodLiteral<"pull_request.synchronize">;
10752
+ }, z.core.$strip>, z.ZodObject<{
10753
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
10754
+ username: z.ZodString;
10755
+ installationId: z.ZodNumber;
10756
+ repositoryName: z.ZodString;
10757
+ repository: z.ZodObject<{
10758
+ id: z.ZodNumber;
10759
+ name: z.ZodString;
10760
+ owner: z.ZodString;
10761
+ defaultBranch: z.ZodString;
10762
+ }, z.core.$strip>;
10763
+ sender: z.ZodObject<{
10764
+ login: z.ZodString;
10765
+ email: z.ZodOptional<z.ZodString>;
10766
+ }, z.core.$strip>;
10767
+ pullRequest: z.ZodObject<{
10768
+ id: z.ZodString;
10769
+ number: z.ZodNumber;
10770
+ title: z.ZodString;
10771
+ body: z.ZodOptional<z.ZodString>;
10772
+ state: z.ZodEnum<{
10773
+ open: "open";
10774
+ closed: "closed";
10775
+ }>;
10776
+ merged: z.ZodBoolean;
10777
+ head: z.ZodObject<{
10778
+ ref: z.ZodString;
10779
+ sha: z.ZodString;
10780
+ }, z.core.$strip>;
10781
+ base: z.ZodObject<{
10782
+ ref: z.ZodString;
10783
+ sha: z.ZodString;
10784
+ }, z.core.$strip>;
10785
+ user: z.ZodObject<{
10786
+ login: z.ZodString;
10787
+ email: z.ZodOptional<z.ZodString>;
10788
+ }, z.core.$strip>;
10789
+ author: z.ZodOptional<z.ZodObject<{
10790
+ login: z.ZodString;
10791
+ email: z.ZodOptional<z.ZodString>;
10792
+ }, z.core.$strip>>;
10793
+ url: z.ZodOptional<z.ZodString>;
10794
+ }, z.core.$strip>;
10795
+ branch: z.ZodOptional<z.ZodString>;
10796
+ commits: z.ZodArray<z.ZodObject<{
10797
+ sha: z.ZodString;
10798
+ message: z.ZodOptional<z.ZodString>;
10799
+ name: z.ZodString;
10800
+ fileDiffs: z.ZodArray<z.ZodObject<{
10801
+ filename: z.ZodString;
10802
+ diff: z.ZodString;
10803
+ }, z.core.$strip>>;
10804
+ }, z.core.$strip>>;
10805
+ eventType: z.ZodLiteral<"pull_request.closed">;
10806
+ }, z.core.$strip>, z.ZodObject<{
10807
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
10808
+ username: z.ZodString;
10809
+ installationId: z.ZodNumber;
10810
+ repositoryName: z.ZodString;
10811
+ repository: z.ZodObject<{
10812
+ id: z.ZodNumber;
10813
+ name: z.ZodString;
10814
+ owner: z.ZodString;
10815
+ defaultBranch: z.ZodString;
10816
+ }, z.core.$strip>;
10817
+ sender: z.ZodObject<{
10818
+ login: z.ZodString;
10819
+ email: z.ZodOptional<z.ZodString>;
10820
+ }, z.core.$strip>;
10821
+ pullRequest: z.ZodObject<{
10822
+ id: z.ZodString;
10823
+ number: z.ZodNumber;
10824
+ title: z.ZodString;
10825
+ body: z.ZodOptional<z.ZodString>;
10826
+ state: z.ZodEnum<{
10827
+ open: "open";
10828
+ closed: "closed";
10829
+ }>;
10830
+ merged: z.ZodBoolean;
10831
+ head: z.ZodObject<{
10832
+ ref: z.ZodString;
10833
+ sha: z.ZodString;
10834
+ }, z.core.$strip>;
10835
+ base: z.ZodObject<{
10836
+ ref: z.ZodString;
10837
+ sha: z.ZodString;
10838
+ }, z.core.$strip>;
10839
+ user: z.ZodObject<{
10840
+ login: z.ZodString;
10841
+ email: z.ZodOptional<z.ZodString>;
10842
+ }, z.core.$strip>;
10843
+ author: z.ZodOptional<z.ZodObject<{
10844
+ login: z.ZodString;
10845
+ email: z.ZodOptional<z.ZodString>;
10846
+ }, z.core.$strip>>;
10847
+ url: z.ZodOptional<z.ZodString>;
10848
+ }, z.core.$strip>;
10849
+ branch: z.ZodOptional<z.ZodString>;
10850
+ commits: z.ZodArray<z.ZodObject<{
10851
+ sha: z.ZodString;
10852
+ message: z.ZodOptional<z.ZodString>;
10853
+ name: z.ZodString;
10854
+ fileDiffs: z.ZodArray<z.ZodObject<{
10855
+ filename: z.ZodString;
10856
+ diff: z.ZodString;
10857
+ }, z.core.$strip>>;
10858
+ }, z.core.$strip>>;
10859
+ eventType: z.ZodLiteral<"pull_request.merged">;
10860
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
10861
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GMAIL>;
10862
+ eventType: z.ZodEnum<{
10863
+ readonly EMAIL_RECEIVED: "email.received";
10864
+ }>;
10865
+ id: z.ZodString;
10866
+ threadId: z.ZodString;
10867
+ subject: z.ZodString;
10868
+ from: z.ZodString;
10869
+ to: z.ZodString;
10870
+ date: z.ZodString;
10871
+ internalDate: z.ZodString;
10872
+ messageId: z.ZodString;
10873
+ body: z.ZodString;
10874
+ snippet: z.ZodString;
10875
+ labelIds: z.ZodArray<z.ZodString>;
10876
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
10877
+ attachmentId: z.ZodString;
10878
+ filename: z.ZodString;
10879
+ mimeType: z.ZodString;
10880
+ contentId: z.ZodOptional<z.ZodString>;
10881
+ isInline: z.ZodBoolean;
10882
+ }, z.core.$strip>>>;
10883
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
10884
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
10885
+ actor: z.ZodObject<{
10886
+ id: z.ZodString;
10887
+ name: z.ZodString;
10888
+ email: z.ZodString;
10889
+ url: z.ZodString;
10890
+ type: z.ZodString;
10891
+ }, z.core.$strip>;
10892
+ createdAt: z.ZodString;
10893
+ url: z.ZodOptional<z.ZodString>;
10894
+ organizationId: z.ZodString;
10895
+ webhookTimestamp: z.ZodNumber;
10896
+ webhookId: z.ZodString;
10897
+ eventType: z.ZodLiteral<"issue.created">;
10898
+ action: z.ZodLiteral<"create">;
10899
+ type: z.ZodLiteral<"Issue">;
10900
+ data: z.ZodObject<{
10901
+ id: z.ZodString;
10902
+ createdAt: z.ZodString;
10903
+ updatedAt: z.ZodString;
10904
+ number: z.ZodNumber;
10905
+ title: z.ZodString;
10906
+ priority: z.ZodNumber;
10907
+ sortOrder: z.ZodNumber;
10908
+ prioritySortOrder: z.ZodNumber;
10909
+ slaType: z.ZodString;
10910
+ addedToTeamAt: z.ZodString;
10911
+ trashed: z.ZodBoolean;
10912
+ labelIds: z.ZodArray<z.ZodString>;
10913
+ teamId: z.ZodString;
10914
+ previousIdentifiers: z.ZodArray<z.ZodString>;
10915
+ stateId: z.ZodString;
10916
+ reactionData: z.ZodArray<z.ZodAny>;
10917
+ priorityLabel: z.ZodString;
10918
+ botActor: z.ZodOptional<z.ZodString>;
10919
+ identifier: z.ZodString;
10920
+ url: z.ZodString;
10921
+ subscriberIds: z.ZodArray<z.ZodString>;
10922
+ state: z.ZodObject<{
10923
+ id: z.ZodString;
10924
+ color: z.ZodString;
10925
+ name: z.ZodString;
10926
+ type: z.ZodString;
10927
+ }, z.core.$strip>;
10928
+ team: z.ZodObject<{
10929
+ id: z.ZodString;
10930
+ key: z.ZodString;
10931
+ name: z.ZodString;
10932
+ }, z.core.$strip>;
10933
+ labels: z.ZodArray<z.ZodAny>;
10934
+ description: z.ZodOptional<z.ZodString>;
10935
+ descriptionData: z.ZodOptional<z.ZodString>;
10936
+ assignee: z.ZodOptional<z.ZodObject<{
10937
+ id: z.ZodString;
10938
+ name: z.ZodString;
10939
+ }, z.core.$strip>>;
10940
+ projectId: z.ZodOptional<z.ZodString>;
10941
+ }, z.core.$strip>;
10942
+ }, z.core.$strip>, z.ZodObject<{
10943
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
10944
+ actor: z.ZodObject<{
10945
+ id: z.ZodString;
10946
+ name: z.ZodString;
10947
+ email: z.ZodString;
10948
+ url: z.ZodString;
10949
+ type: z.ZodString;
10950
+ }, z.core.$strip>;
10951
+ createdAt: z.ZodString;
10952
+ url: z.ZodOptional<z.ZodString>;
10953
+ organizationId: z.ZodString;
10954
+ webhookTimestamp: z.ZodNumber;
10955
+ webhookId: z.ZodString;
10956
+ eventType: z.ZodLiteral<"issue.updated">;
10957
+ action: z.ZodLiteral<"update">;
10958
+ type: z.ZodLiteral<"Issue">;
10959
+ data: z.ZodObject<{
10960
+ id: z.ZodString;
10961
+ createdAt: z.ZodString;
10962
+ updatedAt: z.ZodString;
10963
+ number: z.ZodNumber;
10964
+ title: z.ZodString;
10965
+ priority: z.ZodNumber;
10966
+ sortOrder: z.ZodNumber;
10967
+ prioritySortOrder: z.ZodNumber;
10968
+ slaType: z.ZodString;
10969
+ addedToTeamAt: z.ZodString;
10970
+ trashed: z.ZodBoolean;
10971
+ labelIds: z.ZodArray<z.ZodString>;
10972
+ teamId: z.ZodString;
10973
+ previousIdentifiers: z.ZodArray<z.ZodString>;
10974
+ stateId: z.ZodString;
10975
+ reactionData: z.ZodArray<z.ZodAny>;
10976
+ priorityLabel: z.ZodString;
10977
+ botActor: z.ZodOptional<z.ZodString>;
10978
+ identifier: z.ZodString;
10979
+ url: z.ZodString;
10980
+ subscriberIds: z.ZodArray<z.ZodString>;
10981
+ state: z.ZodObject<{
10982
+ id: z.ZodString;
10983
+ color: z.ZodString;
10984
+ name: z.ZodString;
10985
+ type: z.ZodString;
10986
+ }, z.core.$strip>;
10987
+ team: z.ZodObject<{
10988
+ id: z.ZodString;
10989
+ key: z.ZodString;
10990
+ name: z.ZodString;
10991
+ }, z.core.$strip>;
10992
+ labels: z.ZodArray<z.ZodAny>;
10993
+ description: z.ZodOptional<z.ZodString>;
10994
+ descriptionData: z.ZodOptional<z.ZodString>;
10995
+ assignee: z.ZodOptional<z.ZodObject<{
10996
+ id: z.ZodString;
10997
+ name: z.ZodString;
10998
+ }, z.core.$strip>>;
10999
+ projectId: z.ZodOptional<z.ZodString>;
11000
+ }, z.core.$strip>;
11001
+ }, z.core.$strip>, z.ZodObject<{
11002
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
11003
+ actor: z.ZodObject<{
11004
+ id: z.ZodString;
11005
+ name: z.ZodString;
11006
+ email: z.ZodString;
11007
+ url: z.ZodString;
11008
+ type: z.ZodString;
11009
+ }, z.core.$strip>;
11010
+ createdAt: z.ZodString;
11011
+ url: z.ZodOptional<z.ZodString>;
11012
+ organizationId: z.ZodString;
11013
+ webhookTimestamp: z.ZodNumber;
11014
+ webhookId: z.ZodString;
11015
+ eventType: z.ZodLiteral<"comment.created">;
11016
+ action: z.ZodLiteral<"create">;
11017
+ type: z.ZodLiteral<"Comment">;
11018
+ data: z.ZodObject<{
11019
+ id: z.ZodString;
11020
+ body: z.ZodOptional<z.ZodString>;
11021
+ issueId: z.ZodOptional<z.ZodString>;
11022
+ }, z.core.$loose>;
11023
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
11024
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11025
+ eventId: z.ZodString;
11026
+ createdAt: z.ZodString;
11027
+ eventType: z.ZodLiteral<"user.created">;
11028
+ user: z.ZodObject<{
11029
+ id: z.ZodString;
11030
+ email: z.ZodString;
11031
+ firstName: z.ZodOptional<z.ZodString>;
11032
+ lastName: z.ZodOptional<z.ZodString>;
11033
+ emailVerified: z.ZodBoolean;
11034
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11035
+ }, z.core.$strip>;
11036
+ }, z.core.$strip>, z.ZodObject<{
11037
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11038
+ eventId: z.ZodString;
11039
+ createdAt: z.ZodString;
11040
+ eventType: z.ZodLiteral<"user.updated">;
11041
+ user: z.ZodObject<{
11042
+ id: z.ZodString;
11043
+ email: z.ZodString;
11044
+ firstName: z.ZodOptional<z.ZodString>;
11045
+ lastName: z.ZodOptional<z.ZodString>;
11046
+ emailVerified: z.ZodBoolean;
11047
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11048
+ }, z.core.$strip>;
11049
+ }, z.core.$strip>, z.ZodObject<{
11050
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11051
+ eventId: z.ZodString;
11052
+ createdAt: z.ZodString;
11053
+ eventType: z.ZodLiteral<"user.deleted">;
11054
+ user: z.ZodObject<{
11055
+ id: z.ZodString;
11056
+ email: z.ZodString;
11057
+ firstName: z.ZodOptional<z.ZodString>;
11058
+ lastName: z.ZodOptional<z.ZodString>;
11059
+ emailVerified: z.ZodBoolean;
11060
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11061
+ }, z.core.$strip>;
11062
+ }, z.core.$strip>, z.ZodObject<{
11063
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11064
+ eventId: z.ZodString;
11065
+ createdAt: z.ZodString;
11066
+ eventType: z.ZodLiteral<"organization_membership.created">;
11067
+ membership: z.ZodObject<{
11068
+ id: z.ZodString;
11069
+ userId: z.ZodString;
11070
+ organizationId: z.ZodString;
11071
+ role: z.ZodObject<{
11072
+ slug: z.ZodString;
11073
+ }, z.core.$strip>;
11074
+ status: z.ZodString;
11075
+ }, z.core.$strip>;
11076
+ }, z.core.$strip>, z.ZodObject<{
11077
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11078
+ eventId: z.ZodString;
11079
+ createdAt: z.ZodString;
11080
+ eventType: z.ZodLiteral<"organization_membership.updated">;
11081
+ membership: z.ZodObject<{
11082
+ id: z.ZodString;
11083
+ userId: z.ZodString;
11084
+ organizationId: z.ZodString;
11085
+ role: z.ZodObject<{
11086
+ slug: z.ZodString;
11087
+ }, z.core.$strip>;
11088
+ status: z.ZodString;
11089
+ }, z.core.$strip>;
11090
+ }, z.core.$strip>, z.ZodObject<{
11091
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11092
+ eventId: z.ZodString;
11093
+ createdAt: z.ZodString;
11094
+ eventType: z.ZodLiteral<"organization_membership.deleted">;
11095
+ membership: z.ZodObject<{
11096
+ id: z.ZodString;
11097
+ userId: z.ZodString;
11098
+ organizationId: z.ZodString;
11099
+ role: z.ZodObject<{
11100
+ slug: z.ZodString;
11101
+ }, z.core.$strip>;
11102
+ status: z.ZodString;
11103
+ }, z.core.$strip>;
11104
+ }, z.core.$strip>, z.ZodObject<{
11105
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11106
+ eventId: z.ZodString;
11107
+ createdAt: z.ZodString;
11108
+ eventType: z.ZodLiteral<"invitation.created">;
11109
+ invitation: z.ZodObject<{
11110
+ id: z.ZodString;
11111
+ email: z.ZodString;
11112
+ organizationId: z.ZodString;
11113
+ inviterEmail: z.ZodOptional<z.ZodString>;
11114
+ state: z.ZodString;
11115
+ acceptedAt: z.ZodOptional<z.ZodString>;
11116
+ }, z.core.$strip>;
11117
+ user: z.ZodOptional<z.ZodObject<{
11118
+ id: z.ZodString;
11119
+ email: z.ZodString;
11120
+ firstName: z.ZodOptional<z.ZodString>;
11121
+ lastName: z.ZodOptional<z.ZodString>;
11122
+ emailVerified: z.ZodBoolean;
11123
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11124
+ }, z.core.$strip>>;
11125
+ }, z.core.$strip>, z.ZodObject<{
11126
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11127
+ eventId: z.ZodString;
11128
+ createdAt: z.ZodString;
11129
+ eventType: z.ZodLiteral<"invitation.accepted">;
11130
+ invitation: z.ZodObject<{
11131
+ id: z.ZodString;
11132
+ email: z.ZodString;
11133
+ organizationId: z.ZodString;
11134
+ inviterEmail: z.ZodOptional<z.ZodString>;
11135
+ state: z.ZodString;
11136
+ acceptedAt: z.ZodOptional<z.ZodString>;
11137
+ }, z.core.$strip>;
11138
+ user: z.ZodOptional<z.ZodObject<{
11139
+ id: z.ZodString;
11140
+ email: z.ZodString;
11141
+ firstName: z.ZodOptional<z.ZodString>;
11142
+ lastName: z.ZodOptional<z.ZodString>;
11143
+ emailVerified: z.ZodBoolean;
11144
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11145
+ }, z.core.$strip>>;
11146
+ }, z.core.$strip>, z.ZodObject<{
11147
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11148
+ eventId: z.ZodString;
11149
+ createdAt: z.ZodString;
11150
+ eventType: z.ZodLiteral<"invitation.resent">;
11151
+ invitation: z.ZodObject<{
11152
+ id: z.ZodString;
11153
+ email: z.ZodString;
11154
+ organizationId: z.ZodString;
11155
+ inviterEmail: z.ZodOptional<z.ZodString>;
11156
+ state: z.ZodString;
11157
+ acceptedAt: z.ZodOptional<z.ZodString>;
11158
+ }, z.core.$strip>;
11159
+ user: z.ZodOptional<z.ZodObject<{
11160
+ id: z.ZodString;
11161
+ email: z.ZodString;
11162
+ firstName: z.ZodOptional<z.ZodString>;
11163
+ lastName: z.ZodOptional<z.ZodString>;
11164
+ emailVerified: z.ZodBoolean;
11165
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11166
+ }, z.core.$strip>>;
11167
+ }, z.core.$strip>, z.ZodObject<{
11168
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11169
+ eventId: z.ZodString;
11170
+ createdAt: z.ZodString;
11171
+ eventType: z.ZodLiteral<"invitation.revoked">;
11172
+ invitation: z.ZodObject<{
11173
+ id: z.ZodString;
11174
+ email: z.ZodString;
11175
+ organizationId: z.ZodString;
11176
+ inviterEmail: z.ZodOptional<z.ZodString>;
11177
+ state: z.ZodString;
11178
+ acceptedAt: z.ZodOptional<z.ZodString>;
11179
+ }, z.core.$strip>;
11180
+ user: z.ZodOptional<z.ZodObject<{
11181
+ id: z.ZodString;
11182
+ email: z.ZodString;
11183
+ firstName: z.ZodOptional<z.ZodString>;
11184
+ lastName: z.ZodOptional<z.ZodString>;
11185
+ emailVerified: z.ZodBoolean;
11186
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11187
+ }, z.core.$strip>>;
11188
+ }, z.core.$strip>, z.ZodObject<{
11189
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11190
+ eventId: z.ZodString;
11191
+ createdAt: z.ZodString;
11192
+ eventType: z.ZodLiteral<"organization.created">;
11193
+ organization: z.ZodObject<{
11194
+ id: z.ZodString;
11195
+ name: z.ZodString;
11196
+ }, z.core.$strip>;
11197
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
11198
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
11199
+ eventType: z.ZodLiteral<"webhook">;
11200
+ body: z.ZodUnknown;
11201
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
11202
+ method: z.ZodString;
11203
+ }, z.core.$strip>, z.ZodObject<{
11204
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.CRON_JOB>;
11205
+ eventType: z.ZodLiteral<"cron">;
11206
+ inputId: z.ZodString;
11207
+ isManualTrigger: z.ZodOptional<z.ZodBoolean>;
11208
+ manualContext: z.ZodOptional<z.ZodString>;
11209
+ }, z.core.$strip>, z.ZodObject<{
11210
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
11211
+ eventType: z.ZodLiteral<"webmonitor">;
11212
+ inputId: z.ZodString;
11213
+ query: z.ZodString;
11214
+ frequency: z.ZodObject<{
11215
+ number: z.ZodNumber;
11216
+ unit: z.ZodEnum<{
11217
+ hour: "hour";
11218
+ day: "day";
11219
+ week: "week";
11220
+ }>;
11221
+ }, z.core.$strip>;
11222
+ monitorId: z.ZodString;
11223
+ eventGroupId: z.ZodString;
11224
+ metadata: z.ZodRecord<z.ZodString, z.ZodString>;
11225
+ outputType: z.ZodEnum<{
11226
+ json: "json";
11227
+ text: "text";
11228
+ }>;
11229
+ rawPayload: z.ZodOptional<z.ZodString>;
11230
+ payload: z.ZodUnknown;
11231
+ eventDate: z.ZodString;
11232
+ sourceUrls: z.ZodArray<z.ZodString>;
11233
+ }, z.core.$strip>, z.ZodObject<{
11234
+ integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
11235
+ eventType: z.ZodLiteral<"manual_sample">;
11236
+ }, z.core.$strip>]>;
11237
+ }, z.core.$strip>;
11238
+ }, z.core.$strip>;
11239
+ export declare const sdkListenStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
11240
+ type: z.ZodLiteral<"listen_started">;
11241
+ listenerId: z.ZodString;
11242
+ organizationId: z.ZodString;
11243
+ projectId: z.ZodString;
11244
+ jobName: z.ZodString;
11245
+ }, z.core.$strip>, z.ZodObject<{
11246
+ type: z.ZodLiteral<"forwarded_event">;
11247
+ agentId: z.ZodString;
11248
+ agentName: z.ZodString;
11249
+ projectId: z.ZodNullable<z.ZodString>;
11250
+ event: z.ZodObject<{
11251
+ integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
11252
+ eventType: z.ZodUnion<readonly [z.ZodEnum<{
11253
+ readonly MESSAGE: "message";
11254
+ readonly APP_MENTION: "app_mention";
11255
+ readonly REACTION_ADDED: "reaction_added";
11256
+ }>, z.ZodEnum<{
11257
+ readonly PUSH: "push";
11258
+ readonly PR_OPENED: "pull_request.opened";
11259
+ readonly PR_MERGED: "pull_request.merged";
11260
+ readonly PR_CLOSED: "pull_request.closed";
11261
+ readonly PR_SYNCHRONIZE: "pull_request.synchronize";
11262
+ }>, z.ZodEnum<{
11263
+ readonly ISSUE_CREATED: "issue.created";
11264
+ readonly ISSUE_UPDATED: "issue.updated";
11265
+ readonly COMMENT_CREATED: "comment.created";
11266
+ }>, z.ZodEnum<{
11267
+ readonly EMAIL_RECEIVED: "email.received";
11268
+ }>, z.ZodEnum<{
11269
+ readonly USER_CREATED: "user.created";
11270
+ readonly USER_UPDATED: "user.updated";
11271
+ readonly USER_DELETED: "user.deleted";
11272
+ readonly ORGANIZATION_CREATED: "organization.created";
11273
+ readonly ORGANIZATION_MEMBERSHIP_CREATED: "organization_membership.created";
11274
+ readonly ORGANIZATION_MEMBERSHIP_UPDATED: "organization_membership.updated";
11275
+ readonly ORGANIZATION_MEMBERSHIP_DELETED: "organization_membership.deleted";
11276
+ readonly INVITATION_CREATED: "invitation.created";
11277
+ readonly INVITATION_ACCEPTED: "invitation.accepted";
11278
+ readonly INVITATION_RESENT: "invitation.resent";
11279
+ readonly INVITATION_REVOKED: "invitation.revoked";
11280
+ }>, z.ZodLiteral<"webhook">, z.ZodLiteral<"cron">, z.ZodLiteral<"webmonitor">, z.ZodLiteral<"manual_sample">]>;
11281
+ formattedContent: z.ZodString;
11282
+ debugLog: z.ZodString;
11283
+ display: z.ZodOptional<z.ZodObject<{
11284
+ title: z.ZodString;
11285
+ subtitle: z.ZodString;
11286
+ }, z.core.$strip>>;
11287
+ data: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
11288
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
11289
+ channelId: z.ZodString;
11290
+ channelName: z.ZodNullable<z.ZodString>;
11291
+ userId: z.ZodString;
11292
+ userName: z.ZodNullable<z.ZodString>;
11293
+ text: z.ZodString;
11294
+ timestamp: z.ZodString;
11295
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11296
+ threadTimestamp: z.ZodNullable<z.ZodString>;
11297
+ teamId: z.ZodString;
11298
+ permalink: z.ZodNullable<z.ZodString>;
11299
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
11300
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
11301
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
11302
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
11303
+ eventType: z.ZodLiteral<"message">;
11304
+ }, z.core.$strip>, z.ZodObject<{
11305
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
11306
+ channelId: z.ZodString;
11307
+ channelName: z.ZodNullable<z.ZodString>;
11308
+ userId: z.ZodString;
11309
+ userName: z.ZodNullable<z.ZodString>;
11310
+ text: z.ZodString;
11311
+ timestamp: z.ZodString;
11312
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11313
+ threadTimestamp: z.ZodNullable<z.ZodString>;
11314
+ teamId: z.ZodString;
11315
+ permalink: z.ZodNullable<z.ZodString>;
11316
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
11317
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
11318
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
11319
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
11320
+ eventType: z.ZodLiteral<"app_mention">;
11321
+ }, z.core.$strip>, z.ZodObject<{
11322
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
11323
+ channelId: z.ZodString;
11324
+ channelName: z.ZodNullable<z.ZodString>;
11325
+ userId: z.ZodString;
11326
+ userName: z.ZodNullable<z.ZodString>;
11327
+ text: z.ZodString;
11328
+ timestamp: z.ZodString;
11329
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11330
+ threadTimestamp: z.ZodNullable<z.ZodString>;
11331
+ teamId: z.ZodString;
11332
+ permalink: z.ZodNullable<z.ZodString>;
11333
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
11334
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
11335
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
11336
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
11337
+ eventType: z.ZodLiteral<"reaction_added">;
11338
+ reaction: z.ZodString;
11339
+ itemType: z.ZodNullable<z.ZodString>;
11340
+ itemUserId: z.ZodNullable<z.ZodString>;
11341
+ itemChannelId: z.ZodNullable<z.ZodString>;
11342
+ itemTimestamp: z.ZodNullable<z.ZodString>;
11343
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
11344
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
11345
+ username: z.ZodString;
11346
+ installationId: z.ZodNumber;
11347
+ repositoryName: z.ZodString;
11348
+ repository: z.ZodObject<{
11349
+ id: z.ZodNumber;
11350
+ name: z.ZodString;
11351
+ owner: z.ZodString;
11352
+ defaultBranch: z.ZodString;
11353
+ }, z.core.$strip>;
11354
+ sender: z.ZodObject<{
11355
+ login: z.ZodString;
11356
+ email: z.ZodOptional<z.ZodString>;
11357
+ }, z.core.$strip>;
11358
+ eventType: z.ZodLiteral<"push">;
11359
+ branch: z.ZodString;
11360
+ commits: z.ZodArray<z.ZodObject<{
11361
+ sha: z.ZodString;
11362
+ message: z.ZodOptional<z.ZodString>;
11363
+ name: z.ZodString;
11364
+ fileDiffs: z.ZodArray<z.ZodObject<{
11365
+ filename: z.ZodString;
11366
+ diff: z.ZodString;
11367
+ }, z.core.$strip>>;
11368
+ }, z.core.$strip>>;
11369
+ pullRequest: z.ZodOptional<z.ZodUndefined>;
11370
+ }, z.core.$strip>, z.ZodObject<{
11371
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
11372
+ username: z.ZodString;
11373
+ installationId: z.ZodNumber;
11374
+ repositoryName: z.ZodString;
11375
+ repository: z.ZodObject<{
11376
+ id: z.ZodNumber;
11377
+ name: z.ZodString;
11378
+ owner: z.ZodString;
11379
+ defaultBranch: z.ZodString;
11380
+ }, z.core.$strip>;
11381
+ sender: z.ZodObject<{
11382
+ login: z.ZodString;
11383
+ email: z.ZodOptional<z.ZodString>;
11384
+ }, z.core.$strip>;
11385
+ pullRequest: z.ZodObject<{
11386
+ id: z.ZodString;
11387
+ number: z.ZodNumber;
11388
+ title: z.ZodString;
11389
+ body: z.ZodOptional<z.ZodString>;
11390
+ state: z.ZodEnum<{
11391
+ open: "open";
11392
+ closed: "closed";
11393
+ }>;
11394
+ merged: z.ZodBoolean;
11395
+ head: z.ZodObject<{
11396
+ ref: z.ZodString;
11397
+ sha: z.ZodString;
11398
+ }, z.core.$strip>;
11399
+ base: z.ZodObject<{
11400
+ ref: z.ZodString;
11401
+ sha: z.ZodString;
11402
+ }, z.core.$strip>;
11403
+ user: z.ZodObject<{
11404
+ login: z.ZodString;
11405
+ email: z.ZodOptional<z.ZodString>;
11406
+ }, z.core.$strip>;
11407
+ author: z.ZodOptional<z.ZodObject<{
11408
+ login: z.ZodString;
11409
+ email: z.ZodOptional<z.ZodString>;
11410
+ }, z.core.$strip>>;
11411
+ url: z.ZodOptional<z.ZodString>;
11412
+ }, z.core.$strip>;
11413
+ branch: z.ZodOptional<z.ZodString>;
11414
+ commits: z.ZodArray<z.ZodObject<{
11415
+ sha: z.ZodString;
11416
+ message: z.ZodOptional<z.ZodString>;
11417
+ name: z.ZodString;
11418
+ fileDiffs: z.ZodArray<z.ZodObject<{
11419
+ filename: z.ZodString;
11420
+ diff: z.ZodString;
11421
+ }, z.core.$strip>>;
11422
+ }, z.core.$strip>>;
11423
+ eventType: z.ZodLiteral<"pull_request.opened">;
11424
+ }, z.core.$strip>, z.ZodObject<{
11425
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
11426
+ username: z.ZodString;
11427
+ installationId: z.ZodNumber;
11428
+ repositoryName: z.ZodString;
11429
+ repository: z.ZodObject<{
11430
+ id: z.ZodNumber;
11431
+ name: z.ZodString;
11432
+ owner: z.ZodString;
11433
+ defaultBranch: z.ZodString;
11434
+ }, z.core.$strip>;
11435
+ sender: z.ZodObject<{
11436
+ login: z.ZodString;
11437
+ email: z.ZodOptional<z.ZodString>;
11438
+ }, z.core.$strip>;
11439
+ pullRequest: z.ZodObject<{
11440
+ id: z.ZodString;
11441
+ number: z.ZodNumber;
11442
+ title: z.ZodString;
11443
+ body: z.ZodOptional<z.ZodString>;
11444
+ state: z.ZodEnum<{
11445
+ open: "open";
11446
+ closed: "closed";
11447
+ }>;
11448
+ merged: z.ZodBoolean;
11449
+ head: z.ZodObject<{
11450
+ ref: z.ZodString;
11451
+ sha: z.ZodString;
11452
+ }, z.core.$strip>;
11453
+ base: z.ZodObject<{
11454
+ ref: z.ZodString;
11455
+ sha: z.ZodString;
11456
+ }, z.core.$strip>;
11457
+ user: z.ZodObject<{
11458
+ login: z.ZodString;
11459
+ email: z.ZodOptional<z.ZodString>;
11460
+ }, z.core.$strip>;
11461
+ author: z.ZodOptional<z.ZodObject<{
11462
+ login: z.ZodString;
11463
+ email: z.ZodOptional<z.ZodString>;
11464
+ }, z.core.$strip>>;
11465
+ url: z.ZodOptional<z.ZodString>;
11466
+ }, z.core.$strip>;
11467
+ branch: z.ZodOptional<z.ZodString>;
11468
+ commits: z.ZodArray<z.ZodObject<{
11469
+ sha: z.ZodString;
11470
+ message: z.ZodOptional<z.ZodString>;
11471
+ name: z.ZodString;
11472
+ fileDiffs: z.ZodArray<z.ZodObject<{
11473
+ filename: z.ZodString;
11474
+ diff: z.ZodString;
11475
+ }, z.core.$strip>>;
11476
+ }, z.core.$strip>>;
11477
+ eventType: z.ZodLiteral<"pull_request.synchronize">;
11478
+ }, z.core.$strip>, z.ZodObject<{
11479
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
11480
+ username: z.ZodString;
11481
+ installationId: z.ZodNumber;
11482
+ repositoryName: z.ZodString;
11483
+ repository: z.ZodObject<{
11484
+ id: z.ZodNumber;
11485
+ name: z.ZodString;
11486
+ owner: z.ZodString;
11487
+ defaultBranch: z.ZodString;
11488
+ }, z.core.$strip>;
11489
+ sender: z.ZodObject<{
11490
+ login: z.ZodString;
11491
+ email: z.ZodOptional<z.ZodString>;
11492
+ }, z.core.$strip>;
11493
+ pullRequest: z.ZodObject<{
11494
+ id: z.ZodString;
11495
+ number: z.ZodNumber;
11496
+ title: z.ZodString;
11497
+ body: z.ZodOptional<z.ZodString>;
11498
+ state: z.ZodEnum<{
11499
+ open: "open";
11500
+ closed: "closed";
11501
+ }>;
11502
+ merged: z.ZodBoolean;
11503
+ head: z.ZodObject<{
11504
+ ref: z.ZodString;
11505
+ sha: z.ZodString;
11506
+ }, z.core.$strip>;
11507
+ base: z.ZodObject<{
11508
+ ref: z.ZodString;
11509
+ sha: z.ZodString;
11510
+ }, z.core.$strip>;
11511
+ user: z.ZodObject<{
11512
+ login: z.ZodString;
11513
+ email: z.ZodOptional<z.ZodString>;
11514
+ }, z.core.$strip>;
11515
+ author: z.ZodOptional<z.ZodObject<{
11516
+ login: z.ZodString;
11517
+ email: z.ZodOptional<z.ZodString>;
11518
+ }, z.core.$strip>>;
11519
+ url: z.ZodOptional<z.ZodString>;
11520
+ }, z.core.$strip>;
11521
+ branch: z.ZodOptional<z.ZodString>;
11522
+ commits: z.ZodArray<z.ZodObject<{
11523
+ sha: z.ZodString;
11524
+ message: z.ZodOptional<z.ZodString>;
11525
+ name: z.ZodString;
11526
+ fileDiffs: z.ZodArray<z.ZodObject<{
11527
+ filename: z.ZodString;
11528
+ diff: z.ZodString;
11529
+ }, z.core.$strip>>;
11530
+ }, z.core.$strip>>;
11531
+ eventType: z.ZodLiteral<"pull_request.closed">;
11532
+ }, z.core.$strip>, z.ZodObject<{
11533
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
11534
+ username: z.ZodString;
11535
+ installationId: z.ZodNumber;
11536
+ repositoryName: z.ZodString;
11537
+ repository: z.ZodObject<{
11538
+ id: z.ZodNumber;
11539
+ name: z.ZodString;
11540
+ owner: z.ZodString;
11541
+ defaultBranch: z.ZodString;
11542
+ }, z.core.$strip>;
11543
+ sender: z.ZodObject<{
11544
+ login: z.ZodString;
11545
+ email: z.ZodOptional<z.ZodString>;
11546
+ }, z.core.$strip>;
11547
+ pullRequest: z.ZodObject<{
11548
+ id: z.ZodString;
11549
+ number: z.ZodNumber;
11550
+ title: z.ZodString;
11551
+ body: z.ZodOptional<z.ZodString>;
11552
+ state: z.ZodEnum<{
11553
+ open: "open";
11554
+ closed: "closed";
11555
+ }>;
11556
+ merged: z.ZodBoolean;
11557
+ head: z.ZodObject<{
11558
+ ref: z.ZodString;
11559
+ sha: z.ZodString;
11560
+ }, z.core.$strip>;
11561
+ base: z.ZodObject<{
11562
+ ref: z.ZodString;
11563
+ sha: z.ZodString;
11564
+ }, z.core.$strip>;
11565
+ user: z.ZodObject<{
11566
+ login: z.ZodString;
11567
+ email: z.ZodOptional<z.ZodString>;
11568
+ }, z.core.$strip>;
11569
+ author: z.ZodOptional<z.ZodObject<{
11570
+ login: z.ZodString;
11571
+ email: z.ZodOptional<z.ZodString>;
11572
+ }, z.core.$strip>>;
11573
+ url: z.ZodOptional<z.ZodString>;
11574
+ }, z.core.$strip>;
11575
+ branch: z.ZodOptional<z.ZodString>;
11576
+ commits: z.ZodArray<z.ZodObject<{
11577
+ sha: z.ZodString;
11578
+ message: z.ZodOptional<z.ZodString>;
11579
+ name: z.ZodString;
11580
+ fileDiffs: z.ZodArray<z.ZodObject<{
11581
+ filename: z.ZodString;
11582
+ diff: z.ZodString;
11583
+ }, z.core.$strip>>;
11584
+ }, z.core.$strip>>;
11585
+ eventType: z.ZodLiteral<"pull_request.merged">;
11586
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
11587
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GMAIL>;
11588
+ eventType: z.ZodEnum<{
11589
+ readonly EMAIL_RECEIVED: "email.received";
11590
+ }>;
11591
+ id: z.ZodString;
11592
+ threadId: z.ZodString;
11593
+ subject: z.ZodString;
11594
+ from: z.ZodString;
11595
+ to: z.ZodString;
11596
+ date: z.ZodString;
11597
+ internalDate: z.ZodString;
11598
+ messageId: z.ZodString;
11599
+ body: z.ZodString;
11600
+ snippet: z.ZodString;
11601
+ labelIds: z.ZodArray<z.ZodString>;
11602
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
11603
+ attachmentId: z.ZodString;
11604
+ filename: z.ZodString;
11605
+ mimeType: z.ZodString;
11606
+ contentId: z.ZodOptional<z.ZodString>;
11607
+ isInline: z.ZodBoolean;
11608
+ }, z.core.$strip>>>;
11609
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
11610
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
11611
+ actor: z.ZodObject<{
11612
+ id: z.ZodString;
11613
+ name: z.ZodString;
11614
+ email: z.ZodString;
11615
+ url: z.ZodString;
11616
+ type: z.ZodString;
11617
+ }, z.core.$strip>;
11618
+ createdAt: z.ZodString;
11619
+ url: z.ZodOptional<z.ZodString>;
11620
+ organizationId: z.ZodString;
11621
+ webhookTimestamp: z.ZodNumber;
11622
+ webhookId: z.ZodString;
11623
+ eventType: z.ZodLiteral<"issue.created">;
11624
+ action: z.ZodLiteral<"create">;
11625
+ type: z.ZodLiteral<"Issue">;
11626
+ data: z.ZodObject<{
11627
+ id: z.ZodString;
11628
+ createdAt: z.ZodString;
11629
+ updatedAt: z.ZodString;
11630
+ number: z.ZodNumber;
11631
+ title: z.ZodString;
11632
+ priority: z.ZodNumber;
11633
+ sortOrder: z.ZodNumber;
11634
+ prioritySortOrder: z.ZodNumber;
11635
+ slaType: z.ZodString;
11636
+ addedToTeamAt: z.ZodString;
11637
+ trashed: z.ZodBoolean;
11638
+ labelIds: z.ZodArray<z.ZodString>;
11639
+ teamId: z.ZodString;
11640
+ previousIdentifiers: z.ZodArray<z.ZodString>;
11641
+ stateId: z.ZodString;
11642
+ reactionData: z.ZodArray<z.ZodAny>;
11643
+ priorityLabel: z.ZodString;
11644
+ botActor: z.ZodOptional<z.ZodString>;
11645
+ identifier: z.ZodString;
11646
+ url: z.ZodString;
11647
+ subscriberIds: z.ZodArray<z.ZodString>;
11648
+ state: z.ZodObject<{
11649
+ id: z.ZodString;
11650
+ color: z.ZodString;
11651
+ name: z.ZodString;
11652
+ type: z.ZodString;
11653
+ }, z.core.$strip>;
11654
+ team: z.ZodObject<{
11655
+ id: z.ZodString;
11656
+ key: z.ZodString;
11657
+ name: z.ZodString;
11658
+ }, z.core.$strip>;
11659
+ labels: z.ZodArray<z.ZodAny>;
11660
+ description: z.ZodOptional<z.ZodString>;
11661
+ descriptionData: z.ZodOptional<z.ZodString>;
11662
+ assignee: z.ZodOptional<z.ZodObject<{
11663
+ id: z.ZodString;
11664
+ name: z.ZodString;
11665
+ }, z.core.$strip>>;
11666
+ projectId: z.ZodOptional<z.ZodString>;
11667
+ }, z.core.$strip>;
11668
+ }, z.core.$strip>, z.ZodObject<{
11669
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
11670
+ actor: z.ZodObject<{
11671
+ id: z.ZodString;
11672
+ name: z.ZodString;
11673
+ email: z.ZodString;
11674
+ url: z.ZodString;
11675
+ type: z.ZodString;
11676
+ }, z.core.$strip>;
11677
+ createdAt: z.ZodString;
11678
+ url: z.ZodOptional<z.ZodString>;
11679
+ organizationId: z.ZodString;
11680
+ webhookTimestamp: z.ZodNumber;
11681
+ webhookId: z.ZodString;
11682
+ eventType: z.ZodLiteral<"issue.updated">;
11683
+ action: z.ZodLiteral<"update">;
11684
+ type: z.ZodLiteral<"Issue">;
11685
+ data: z.ZodObject<{
11686
+ id: z.ZodString;
11687
+ createdAt: z.ZodString;
11688
+ updatedAt: z.ZodString;
11689
+ number: z.ZodNumber;
11690
+ title: z.ZodString;
11691
+ priority: z.ZodNumber;
11692
+ sortOrder: z.ZodNumber;
11693
+ prioritySortOrder: z.ZodNumber;
11694
+ slaType: z.ZodString;
11695
+ addedToTeamAt: z.ZodString;
11696
+ trashed: z.ZodBoolean;
11697
+ labelIds: z.ZodArray<z.ZodString>;
11698
+ teamId: z.ZodString;
11699
+ previousIdentifiers: z.ZodArray<z.ZodString>;
11700
+ stateId: z.ZodString;
11701
+ reactionData: z.ZodArray<z.ZodAny>;
11702
+ priorityLabel: z.ZodString;
11703
+ botActor: z.ZodOptional<z.ZodString>;
11704
+ identifier: z.ZodString;
11705
+ url: z.ZodString;
11706
+ subscriberIds: z.ZodArray<z.ZodString>;
11707
+ state: z.ZodObject<{
11708
+ id: z.ZodString;
11709
+ color: z.ZodString;
11710
+ name: z.ZodString;
11711
+ type: z.ZodString;
11712
+ }, z.core.$strip>;
11713
+ team: z.ZodObject<{
11714
+ id: z.ZodString;
11715
+ key: z.ZodString;
11716
+ name: z.ZodString;
11717
+ }, z.core.$strip>;
11718
+ labels: z.ZodArray<z.ZodAny>;
11719
+ description: z.ZodOptional<z.ZodString>;
11720
+ descriptionData: z.ZodOptional<z.ZodString>;
11721
+ assignee: z.ZodOptional<z.ZodObject<{
11722
+ id: z.ZodString;
11723
+ name: z.ZodString;
11724
+ }, z.core.$strip>>;
11725
+ projectId: z.ZodOptional<z.ZodString>;
11726
+ }, z.core.$strip>;
11727
+ }, z.core.$strip>, z.ZodObject<{
11728
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
11729
+ actor: z.ZodObject<{
11730
+ id: z.ZodString;
11731
+ name: z.ZodString;
11732
+ email: z.ZodString;
11733
+ url: z.ZodString;
11734
+ type: z.ZodString;
11735
+ }, z.core.$strip>;
11736
+ createdAt: z.ZodString;
11737
+ url: z.ZodOptional<z.ZodString>;
11738
+ organizationId: z.ZodString;
11739
+ webhookTimestamp: z.ZodNumber;
11740
+ webhookId: z.ZodString;
11741
+ eventType: z.ZodLiteral<"comment.created">;
11742
+ action: z.ZodLiteral<"create">;
11743
+ type: z.ZodLiteral<"Comment">;
11744
+ data: z.ZodObject<{
11745
+ id: z.ZodString;
11746
+ body: z.ZodOptional<z.ZodString>;
11747
+ issueId: z.ZodOptional<z.ZodString>;
11748
+ }, z.core.$loose>;
11749
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
11750
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11751
+ eventId: z.ZodString;
11752
+ createdAt: z.ZodString;
11753
+ eventType: z.ZodLiteral<"user.created">;
11754
+ user: z.ZodObject<{
11755
+ id: z.ZodString;
11756
+ email: z.ZodString;
11757
+ firstName: z.ZodOptional<z.ZodString>;
11758
+ lastName: z.ZodOptional<z.ZodString>;
11759
+ emailVerified: z.ZodBoolean;
11760
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11761
+ }, z.core.$strip>;
11762
+ }, z.core.$strip>, z.ZodObject<{
11763
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11764
+ eventId: z.ZodString;
11765
+ createdAt: z.ZodString;
11766
+ eventType: z.ZodLiteral<"user.updated">;
11767
+ user: z.ZodObject<{
11768
+ id: z.ZodString;
11769
+ email: z.ZodString;
11770
+ firstName: z.ZodOptional<z.ZodString>;
11771
+ lastName: z.ZodOptional<z.ZodString>;
11772
+ emailVerified: z.ZodBoolean;
11773
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11774
+ }, z.core.$strip>;
11775
+ }, z.core.$strip>, z.ZodObject<{
11776
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11777
+ eventId: z.ZodString;
11778
+ createdAt: z.ZodString;
11779
+ eventType: z.ZodLiteral<"user.deleted">;
11780
+ user: z.ZodObject<{
11781
+ id: z.ZodString;
11782
+ email: z.ZodString;
11783
+ firstName: z.ZodOptional<z.ZodString>;
11784
+ lastName: z.ZodOptional<z.ZodString>;
11785
+ emailVerified: z.ZodBoolean;
11786
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11787
+ }, z.core.$strip>;
11788
+ }, z.core.$strip>, z.ZodObject<{
11789
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11790
+ eventId: z.ZodString;
11791
+ createdAt: z.ZodString;
11792
+ eventType: z.ZodLiteral<"organization_membership.created">;
11793
+ membership: z.ZodObject<{
11794
+ id: z.ZodString;
11795
+ userId: z.ZodString;
11796
+ organizationId: z.ZodString;
11797
+ role: z.ZodObject<{
11798
+ slug: z.ZodString;
11799
+ }, z.core.$strip>;
11800
+ status: z.ZodString;
11801
+ }, z.core.$strip>;
11802
+ }, z.core.$strip>, z.ZodObject<{
11803
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11804
+ eventId: z.ZodString;
11805
+ createdAt: z.ZodString;
11806
+ eventType: z.ZodLiteral<"organization_membership.updated">;
11807
+ membership: z.ZodObject<{
11808
+ id: z.ZodString;
11809
+ userId: z.ZodString;
11810
+ organizationId: z.ZodString;
11811
+ role: z.ZodObject<{
11812
+ slug: z.ZodString;
11813
+ }, z.core.$strip>;
11814
+ status: z.ZodString;
11815
+ }, z.core.$strip>;
11816
+ }, z.core.$strip>, z.ZodObject<{
11817
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11818
+ eventId: z.ZodString;
11819
+ createdAt: z.ZodString;
11820
+ eventType: z.ZodLiteral<"organization_membership.deleted">;
11821
+ membership: z.ZodObject<{
11822
+ id: z.ZodString;
11823
+ userId: z.ZodString;
11824
+ organizationId: z.ZodString;
11825
+ role: z.ZodObject<{
11826
+ slug: z.ZodString;
11827
+ }, z.core.$strip>;
11828
+ status: z.ZodString;
11829
+ }, z.core.$strip>;
11830
+ }, z.core.$strip>, z.ZodObject<{
11831
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11832
+ eventId: z.ZodString;
11833
+ createdAt: z.ZodString;
11834
+ eventType: z.ZodLiteral<"invitation.created">;
11835
+ invitation: z.ZodObject<{
11836
+ id: z.ZodString;
11837
+ email: z.ZodString;
11838
+ organizationId: z.ZodString;
11839
+ inviterEmail: z.ZodOptional<z.ZodString>;
11840
+ state: z.ZodString;
11841
+ acceptedAt: z.ZodOptional<z.ZodString>;
11842
+ }, z.core.$strip>;
11843
+ user: z.ZodOptional<z.ZodObject<{
11844
+ id: z.ZodString;
11845
+ email: z.ZodString;
11846
+ firstName: z.ZodOptional<z.ZodString>;
11847
+ lastName: z.ZodOptional<z.ZodString>;
11848
+ emailVerified: z.ZodBoolean;
11849
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11850
+ }, z.core.$strip>>;
11851
+ }, z.core.$strip>, z.ZodObject<{
11852
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11853
+ eventId: z.ZodString;
11854
+ createdAt: z.ZodString;
11855
+ eventType: z.ZodLiteral<"invitation.accepted">;
11856
+ invitation: z.ZodObject<{
11857
+ id: z.ZodString;
11858
+ email: z.ZodString;
11859
+ organizationId: z.ZodString;
11860
+ inviterEmail: z.ZodOptional<z.ZodString>;
11861
+ state: z.ZodString;
11862
+ acceptedAt: z.ZodOptional<z.ZodString>;
11863
+ }, z.core.$strip>;
11864
+ user: z.ZodOptional<z.ZodObject<{
11865
+ id: z.ZodString;
11866
+ email: z.ZodString;
11867
+ firstName: z.ZodOptional<z.ZodString>;
11868
+ lastName: z.ZodOptional<z.ZodString>;
11869
+ emailVerified: z.ZodBoolean;
11870
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11871
+ }, z.core.$strip>>;
11872
+ }, z.core.$strip>, z.ZodObject<{
11873
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11874
+ eventId: z.ZodString;
11875
+ createdAt: z.ZodString;
11876
+ eventType: z.ZodLiteral<"invitation.resent">;
11877
+ invitation: z.ZodObject<{
11878
+ id: z.ZodString;
11879
+ email: z.ZodString;
11880
+ organizationId: z.ZodString;
11881
+ inviterEmail: z.ZodOptional<z.ZodString>;
11882
+ state: z.ZodString;
11883
+ acceptedAt: z.ZodOptional<z.ZodString>;
11884
+ }, z.core.$strip>;
11885
+ user: z.ZodOptional<z.ZodObject<{
11886
+ id: z.ZodString;
11887
+ email: z.ZodString;
11888
+ firstName: z.ZodOptional<z.ZodString>;
11889
+ lastName: z.ZodOptional<z.ZodString>;
11890
+ emailVerified: z.ZodBoolean;
11891
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11892
+ }, z.core.$strip>>;
11893
+ }, z.core.$strip>, z.ZodObject<{
11894
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11895
+ eventId: z.ZodString;
11896
+ createdAt: z.ZodString;
11897
+ eventType: z.ZodLiteral<"invitation.revoked">;
11898
+ invitation: z.ZodObject<{
11899
+ id: z.ZodString;
11900
+ email: z.ZodString;
11901
+ organizationId: z.ZodString;
11902
+ inviterEmail: z.ZodOptional<z.ZodString>;
11903
+ state: z.ZodString;
11904
+ acceptedAt: z.ZodOptional<z.ZodString>;
11905
+ }, z.core.$strip>;
11906
+ user: z.ZodOptional<z.ZodObject<{
11907
+ id: z.ZodString;
11908
+ email: z.ZodString;
11909
+ firstName: z.ZodOptional<z.ZodString>;
11910
+ lastName: z.ZodOptional<z.ZodString>;
11911
+ emailVerified: z.ZodBoolean;
11912
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11913
+ }, z.core.$strip>>;
11914
+ }, z.core.$strip>, z.ZodObject<{
11915
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11916
+ eventId: z.ZodString;
11917
+ createdAt: z.ZodString;
11918
+ eventType: z.ZodLiteral<"organization.created">;
11919
+ organization: z.ZodObject<{
11920
+ id: z.ZodString;
11921
+ name: z.ZodString;
11922
+ }, z.core.$strip>;
11923
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
11924
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
11925
+ eventType: z.ZodLiteral<"webhook">;
11926
+ body: z.ZodUnknown;
11927
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
11928
+ method: z.ZodString;
11929
+ }, z.core.$strip>, z.ZodObject<{
11930
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.CRON_JOB>;
11931
+ eventType: z.ZodLiteral<"cron">;
11932
+ inputId: z.ZodString;
11933
+ isManualTrigger: z.ZodOptional<z.ZodBoolean>;
11934
+ manualContext: z.ZodOptional<z.ZodString>;
11935
+ }, z.core.$strip>, z.ZodObject<{
11936
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
11937
+ eventType: z.ZodLiteral<"webmonitor">;
11938
+ inputId: z.ZodString;
11939
+ query: z.ZodString;
11940
+ frequency: z.ZodObject<{
11941
+ number: z.ZodNumber;
11942
+ unit: z.ZodEnum<{
11943
+ hour: "hour";
11944
+ day: "day";
11945
+ week: "week";
11946
+ }>;
11947
+ }, z.core.$strip>;
11948
+ monitorId: z.ZodString;
11949
+ eventGroupId: z.ZodString;
11950
+ metadata: z.ZodRecord<z.ZodString, z.ZodString>;
11951
+ outputType: z.ZodEnum<{
11952
+ json: "json";
11953
+ text: "text";
11954
+ }>;
11955
+ rawPayload: z.ZodOptional<z.ZodString>;
11956
+ payload: z.ZodUnknown;
11957
+ eventDate: z.ZodString;
11958
+ sourceUrls: z.ZodArray<z.ZodString>;
11959
+ }, z.core.$strip>, z.ZodObject<{
11960
+ integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
11961
+ eventType: z.ZodLiteral<"manual_sample">;
11962
+ }, z.core.$strip>]>;
11963
+ }, z.core.$strip>;
11964
+ }, z.core.$strip>], "type">;
11965
+ export type SdkListenStreamEvent = z.infer<typeof sdkListenStreamEventSchema>;
11966
+ export type SdkListenStartedEvent = z.infer<typeof sdkListenStartedSchema>;
11967
+ export type SdkListenForwardedEvent = z.infer<typeof sdkListenForwardedEventSchema>;