terse-types 0.0.24 → 0.0.25

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
@@ -5456,6 +5456,19 @@ export declare const projectDetailResponseSchema: z.ZodObject<{
5456
5456
  }, z.core.$strip>>;
5457
5457
  }, z.core.$strip>;
5458
5458
  export type ProjectDetailResponse = z.infer<typeof projectDetailResponseSchema>;
5459
+ /**
5460
+ * Rotation responses for self-hosted project credentials. Both endpoints
5461
+ * regenerate the underlying secret immediately (replacing the old value) and
5462
+ * return the freshly generated material exactly once.
5463
+ */
5464
+ export declare const projectRotateSigningSecretResponseSchema: z.ZodObject<{
5465
+ signingSecret: z.ZodString;
5466
+ }, z.core.$strip>;
5467
+ export type ProjectRotateSigningSecretResponse = z.infer<typeof projectRotateSigningSecretResponseSchema>;
5468
+ export declare const projectRotateApiKeyResponseSchema: z.ZodObject<{
5469
+ projectApiKey: z.ZodString;
5470
+ }, z.core.$strip>;
5471
+ export type ProjectRotateApiKeyResponse = z.infer<typeof projectRotateApiKeyResponseSchema>;
5459
5472
  export declare const terseProjectConfigSchema: z.ZodObject<{
5460
5473
  projectId: z.ZodString;
5461
5474
  name: z.ZodString;
@@ -8155,7 +8168,15 @@ export declare const sdkSampleEventsResponseSchema: z.ZodObject<{
8155
8168
  }, z.core.$strip>;
8156
8169
  export type SdkSampleEventsResponse = z.infer<typeof sdkSampleEventsResponseSchema>;
8157
8170
  export declare const sdkHydrateSampleEventRequestSchema: z.ZodObject<{
8158
- entityType: z.ZodString;
8171
+ entityType: z.ZodEnum<{
8172
+ run_history_raw_event: "run_history_raw_event";
8173
+ slack_message_event: "slack_message_event";
8174
+ github_event: "github_event";
8175
+ linear_event: "linear_event";
8176
+ gmail_event: "gmail_event";
8177
+ workos_event: "workos_event";
8178
+ webmonitor_event: "webmonitor_event";
8179
+ }>;
8159
8180
  entityId: z.ZodString;
8160
8181
  }, z.core.$strip>;
8161
8182
  export type SdkHydrateSampleEventRequest = z.infer<typeof sdkHydrateSampleEventRequestSchema>;
@@ -10336,6 +10357,11 @@ export declare const projectDeployUserSchema: z.ZodObject<{
10336
10357
  avatarUrl: z.ZodNullable<z.ZodString>;
10337
10358
  }, z.core.$strip>;
10338
10359
  export type ProjectDeployUser = z.infer<typeof projectDeployUserSchema>;
10360
+ export declare const projectDeployJobsDeltaSchema: z.ZodObject<{
10361
+ added: z.ZodNumber;
10362
+ removed: z.ZodNumber;
10363
+ }, z.core.$strip>;
10364
+ export type ProjectDeployJobsDelta = z.infer<typeof projectDeployJobsDeltaSchema>;
10339
10365
  export declare const projectDeploySchema: z.ZodObject<{
10340
10366
  id: z.ZodString;
10341
10367
  status: z.ZodEnum<{
@@ -10352,6 +10378,12 @@ export declare const projectDeploySchema: z.ZodObject<{
10352
10378
  email: z.ZodNullable<z.ZodString>;
10353
10379
  avatarUrl: z.ZodNullable<z.ZodString>;
10354
10380
  }, z.core.$strip>>;
10381
+ durationMs: z.ZodNullable<z.ZodNumber>;
10382
+ failureReason: z.ZodNullable<z.ZodString>;
10383
+ jobsDelta: z.ZodNullable<z.ZodObject<{
10384
+ added: z.ZodNumber;
10385
+ removed: z.ZodNumber;
10386
+ }, z.core.$strip>>;
10355
10387
  }, z.core.$strip>;
10356
10388
  export type ProjectDeploy = z.infer<typeof projectDeploySchema>;
10357
10389
  export declare const projectDeploysResponseSchema: z.ZodObject<{
@@ -10372,6 +10404,12 @@ export declare const projectDeploysResponseSchema: z.ZodObject<{
10372
10404
  email: z.ZodNullable<z.ZodString>;
10373
10405
  avatarUrl: z.ZodNullable<z.ZodString>;
10374
10406
  }, z.core.$strip>>;
10407
+ durationMs: z.ZodNullable<z.ZodNumber>;
10408
+ failureReason: z.ZodNullable<z.ZodString>;
10409
+ jobsDelta: z.ZodNullable<z.ZodObject<{
10410
+ added: z.ZodNumber;
10411
+ removed: z.ZodNumber;
10412
+ }, z.core.$strip>>;
10375
10413
  }, z.core.$strip>>;
10376
10414
  }, z.core.$strip>;
10377
10415
  export type ProjectDeploysResponse = z.infer<typeof projectDeploysResponseSchema>;
@@ -10386,3 +10424,1464 @@ export declare const projectSourceFilesResponseSchema: z.ZodObject<{
10386
10424
  }, z.core.$strip>>;
10387
10425
  }, z.core.$strip>;
10388
10426
  export type ProjectSourceFilesResponse = z.infer<typeof projectSourceFilesResponseSchema>;
10427
+ export declare const sdkListenQuerySchema: z.ZodObject<{
10428
+ jobName: z.ZodString;
10429
+ projectId: z.ZodString;
10430
+ }, z.core.$strip>;
10431
+ export type SdkListenQuery = z.infer<typeof sdkListenQuerySchema>;
10432
+ export declare const sdkListenStartedSchema: z.ZodObject<{
10433
+ type: z.ZodLiteral<"listen_started">;
10434
+ listenerId: z.ZodString;
10435
+ organizationId: z.ZodString;
10436
+ projectId: z.ZodString;
10437
+ jobName: z.ZodString;
10438
+ }, z.core.$strip>;
10439
+ export declare const sdkListenForwardedEventSchema: z.ZodObject<{
10440
+ type: z.ZodLiteral<"forwarded_event">;
10441
+ agentId: z.ZodString;
10442
+ agentName: z.ZodString;
10443
+ projectId: z.ZodNullable<z.ZodString>;
10444
+ event: z.ZodObject<{
10445
+ integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
10446
+ eventType: z.ZodUnion<readonly [z.ZodEnum<{
10447
+ readonly MESSAGE: "message";
10448
+ readonly APP_MENTION: "app_mention";
10449
+ readonly REACTION_ADDED: "reaction_added";
10450
+ }>, z.ZodEnum<{
10451
+ readonly PUSH: "push";
10452
+ readonly PR_OPENED: "pull_request.opened";
10453
+ readonly PR_MERGED: "pull_request.merged";
10454
+ readonly PR_CLOSED: "pull_request.closed";
10455
+ readonly PR_SYNCHRONIZE: "pull_request.synchronize";
10456
+ }>, z.ZodEnum<{
10457
+ readonly ISSUE_CREATED: "issue.created";
10458
+ readonly ISSUE_UPDATED: "issue.updated";
10459
+ readonly COMMENT_CREATED: "comment.created";
10460
+ }>, z.ZodEnum<{
10461
+ readonly EMAIL_RECEIVED: "email.received";
10462
+ }>, z.ZodEnum<{
10463
+ readonly USER_CREATED: "user.created";
10464
+ readonly USER_UPDATED: "user.updated";
10465
+ readonly USER_DELETED: "user.deleted";
10466
+ readonly ORGANIZATION_CREATED: "organization.created";
10467
+ readonly ORGANIZATION_MEMBERSHIP_CREATED: "organization_membership.created";
10468
+ readonly ORGANIZATION_MEMBERSHIP_UPDATED: "organization_membership.updated";
10469
+ readonly ORGANIZATION_MEMBERSHIP_DELETED: "organization_membership.deleted";
10470
+ readonly INVITATION_CREATED: "invitation.created";
10471
+ readonly INVITATION_ACCEPTED: "invitation.accepted";
10472
+ readonly INVITATION_RESENT: "invitation.resent";
10473
+ readonly INVITATION_REVOKED: "invitation.revoked";
10474
+ }>, z.ZodLiteral<"webhook">, z.ZodLiteral<"cron">, z.ZodLiteral<"webmonitor">, z.ZodLiteral<"manual_sample">]>;
10475
+ formattedContent: z.ZodString;
10476
+ debugLog: z.ZodString;
10477
+ display: z.ZodOptional<z.ZodObject<{
10478
+ title: z.ZodString;
10479
+ subtitle: z.ZodString;
10480
+ }, z.core.$strip>>;
10481
+ data: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
10482
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
10483
+ channelId: z.ZodString;
10484
+ channelName: z.ZodNullable<z.ZodString>;
10485
+ userId: z.ZodString;
10486
+ userName: z.ZodNullable<z.ZodString>;
10487
+ text: z.ZodString;
10488
+ timestamp: z.ZodString;
10489
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10490
+ threadTimestamp: z.ZodNullable<z.ZodString>;
10491
+ teamId: z.ZodString;
10492
+ permalink: z.ZodNullable<z.ZodString>;
10493
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
10494
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10495
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10496
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10497
+ eventType: z.ZodLiteral<"message">;
10498
+ }, z.core.$strip>, z.ZodObject<{
10499
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
10500
+ channelId: z.ZodString;
10501
+ channelName: z.ZodNullable<z.ZodString>;
10502
+ userId: z.ZodString;
10503
+ userName: z.ZodNullable<z.ZodString>;
10504
+ text: z.ZodString;
10505
+ timestamp: z.ZodString;
10506
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10507
+ threadTimestamp: z.ZodNullable<z.ZodString>;
10508
+ teamId: z.ZodString;
10509
+ permalink: z.ZodNullable<z.ZodString>;
10510
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
10511
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10512
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10513
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10514
+ eventType: z.ZodLiteral<"app_mention">;
10515
+ }, z.core.$strip>, z.ZodObject<{
10516
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
10517
+ channelId: z.ZodString;
10518
+ channelName: z.ZodNullable<z.ZodString>;
10519
+ userId: z.ZodString;
10520
+ userName: z.ZodNullable<z.ZodString>;
10521
+ text: z.ZodString;
10522
+ timestamp: z.ZodString;
10523
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10524
+ threadTimestamp: z.ZodNullable<z.ZodString>;
10525
+ teamId: z.ZodString;
10526
+ permalink: z.ZodNullable<z.ZodString>;
10527
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
10528
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10529
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10530
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
10531
+ eventType: z.ZodLiteral<"reaction_added">;
10532
+ reaction: z.ZodString;
10533
+ itemType: z.ZodNullable<z.ZodString>;
10534
+ itemUserId: z.ZodNullable<z.ZodString>;
10535
+ itemChannelId: z.ZodNullable<z.ZodString>;
10536
+ itemTimestamp: z.ZodNullable<z.ZodString>;
10537
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
10538
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
10539
+ username: z.ZodString;
10540
+ installationId: z.ZodNumber;
10541
+ repositoryName: z.ZodString;
10542
+ repository: z.ZodObject<{
10543
+ id: z.ZodNumber;
10544
+ name: z.ZodString;
10545
+ owner: z.ZodString;
10546
+ defaultBranch: z.ZodString;
10547
+ }, z.core.$strip>;
10548
+ sender: z.ZodObject<{
10549
+ login: z.ZodString;
10550
+ email: z.ZodOptional<z.ZodString>;
10551
+ }, z.core.$strip>;
10552
+ eventType: z.ZodLiteral<"push">;
10553
+ branch: z.ZodString;
10554
+ commits: z.ZodArray<z.ZodObject<{
10555
+ sha: z.ZodString;
10556
+ message: z.ZodOptional<z.ZodString>;
10557
+ name: z.ZodString;
10558
+ fileDiffs: z.ZodArray<z.ZodObject<{
10559
+ filename: z.ZodString;
10560
+ diff: z.ZodString;
10561
+ }, z.core.$strip>>;
10562
+ }, z.core.$strip>>;
10563
+ pullRequest: z.ZodOptional<z.ZodUndefined>;
10564
+ }, z.core.$strip>, z.ZodObject<{
10565
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
10566
+ username: z.ZodString;
10567
+ installationId: z.ZodNumber;
10568
+ repositoryName: z.ZodString;
10569
+ repository: z.ZodObject<{
10570
+ id: z.ZodNumber;
10571
+ name: z.ZodString;
10572
+ owner: z.ZodString;
10573
+ defaultBranch: z.ZodString;
10574
+ }, z.core.$strip>;
10575
+ sender: z.ZodObject<{
10576
+ login: z.ZodString;
10577
+ email: z.ZodOptional<z.ZodString>;
10578
+ }, z.core.$strip>;
10579
+ pullRequest: z.ZodObject<{
10580
+ id: z.ZodString;
10581
+ number: z.ZodNumber;
10582
+ title: z.ZodString;
10583
+ body: z.ZodOptional<z.ZodString>;
10584
+ state: z.ZodEnum<{
10585
+ open: "open";
10586
+ closed: "closed";
10587
+ }>;
10588
+ merged: z.ZodBoolean;
10589
+ head: z.ZodObject<{
10590
+ ref: z.ZodString;
10591
+ sha: z.ZodString;
10592
+ }, z.core.$strip>;
10593
+ base: z.ZodObject<{
10594
+ ref: z.ZodString;
10595
+ sha: z.ZodString;
10596
+ }, z.core.$strip>;
10597
+ user: z.ZodObject<{
10598
+ login: z.ZodString;
10599
+ email: z.ZodOptional<z.ZodString>;
10600
+ }, z.core.$strip>;
10601
+ author: z.ZodOptional<z.ZodObject<{
10602
+ login: z.ZodString;
10603
+ email: z.ZodOptional<z.ZodString>;
10604
+ }, z.core.$strip>>;
10605
+ url: z.ZodOptional<z.ZodString>;
10606
+ }, z.core.$strip>;
10607
+ branch: z.ZodOptional<z.ZodString>;
10608
+ commits: z.ZodArray<z.ZodObject<{
10609
+ sha: z.ZodString;
10610
+ message: z.ZodOptional<z.ZodString>;
10611
+ name: z.ZodString;
10612
+ fileDiffs: z.ZodArray<z.ZodObject<{
10613
+ filename: z.ZodString;
10614
+ diff: z.ZodString;
10615
+ }, z.core.$strip>>;
10616
+ }, z.core.$strip>>;
10617
+ eventType: z.ZodLiteral<"pull_request.opened">;
10618
+ }, z.core.$strip>, z.ZodObject<{
10619
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
10620
+ username: z.ZodString;
10621
+ installationId: z.ZodNumber;
10622
+ repositoryName: z.ZodString;
10623
+ repository: z.ZodObject<{
10624
+ id: z.ZodNumber;
10625
+ name: z.ZodString;
10626
+ owner: z.ZodString;
10627
+ defaultBranch: z.ZodString;
10628
+ }, z.core.$strip>;
10629
+ sender: z.ZodObject<{
10630
+ login: z.ZodString;
10631
+ email: z.ZodOptional<z.ZodString>;
10632
+ }, z.core.$strip>;
10633
+ pullRequest: z.ZodObject<{
10634
+ id: z.ZodString;
10635
+ number: z.ZodNumber;
10636
+ title: z.ZodString;
10637
+ body: z.ZodOptional<z.ZodString>;
10638
+ state: z.ZodEnum<{
10639
+ open: "open";
10640
+ closed: "closed";
10641
+ }>;
10642
+ merged: z.ZodBoolean;
10643
+ head: z.ZodObject<{
10644
+ ref: z.ZodString;
10645
+ sha: z.ZodString;
10646
+ }, z.core.$strip>;
10647
+ base: z.ZodObject<{
10648
+ ref: z.ZodString;
10649
+ sha: z.ZodString;
10650
+ }, z.core.$strip>;
10651
+ user: z.ZodObject<{
10652
+ login: z.ZodString;
10653
+ email: z.ZodOptional<z.ZodString>;
10654
+ }, z.core.$strip>;
10655
+ author: z.ZodOptional<z.ZodObject<{
10656
+ login: z.ZodString;
10657
+ email: z.ZodOptional<z.ZodString>;
10658
+ }, z.core.$strip>>;
10659
+ url: z.ZodOptional<z.ZodString>;
10660
+ }, z.core.$strip>;
10661
+ branch: z.ZodOptional<z.ZodString>;
10662
+ commits: z.ZodArray<z.ZodObject<{
10663
+ sha: z.ZodString;
10664
+ message: z.ZodOptional<z.ZodString>;
10665
+ name: z.ZodString;
10666
+ fileDiffs: z.ZodArray<z.ZodObject<{
10667
+ filename: z.ZodString;
10668
+ diff: z.ZodString;
10669
+ }, z.core.$strip>>;
10670
+ }, z.core.$strip>>;
10671
+ eventType: z.ZodLiteral<"pull_request.synchronize">;
10672
+ }, z.core.$strip>, z.ZodObject<{
10673
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
10674
+ username: z.ZodString;
10675
+ installationId: z.ZodNumber;
10676
+ repositoryName: z.ZodString;
10677
+ repository: z.ZodObject<{
10678
+ id: z.ZodNumber;
10679
+ name: z.ZodString;
10680
+ owner: z.ZodString;
10681
+ defaultBranch: z.ZodString;
10682
+ }, z.core.$strip>;
10683
+ sender: z.ZodObject<{
10684
+ login: z.ZodString;
10685
+ email: z.ZodOptional<z.ZodString>;
10686
+ }, z.core.$strip>;
10687
+ pullRequest: z.ZodObject<{
10688
+ id: z.ZodString;
10689
+ number: z.ZodNumber;
10690
+ title: z.ZodString;
10691
+ body: z.ZodOptional<z.ZodString>;
10692
+ state: z.ZodEnum<{
10693
+ open: "open";
10694
+ closed: "closed";
10695
+ }>;
10696
+ merged: z.ZodBoolean;
10697
+ head: z.ZodObject<{
10698
+ ref: z.ZodString;
10699
+ sha: z.ZodString;
10700
+ }, z.core.$strip>;
10701
+ base: z.ZodObject<{
10702
+ ref: z.ZodString;
10703
+ sha: z.ZodString;
10704
+ }, z.core.$strip>;
10705
+ user: z.ZodObject<{
10706
+ login: z.ZodString;
10707
+ email: z.ZodOptional<z.ZodString>;
10708
+ }, z.core.$strip>;
10709
+ author: z.ZodOptional<z.ZodObject<{
10710
+ login: z.ZodString;
10711
+ email: z.ZodOptional<z.ZodString>;
10712
+ }, z.core.$strip>>;
10713
+ url: z.ZodOptional<z.ZodString>;
10714
+ }, z.core.$strip>;
10715
+ branch: z.ZodOptional<z.ZodString>;
10716
+ commits: z.ZodArray<z.ZodObject<{
10717
+ sha: z.ZodString;
10718
+ message: z.ZodOptional<z.ZodString>;
10719
+ name: z.ZodString;
10720
+ fileDiffs: z.ZodArray<z.ZodObject<{
10721
+ filename: z.ZodString;
10722
+ diff: z.ZodString;
10723
+ }, z.core.$strip>>;
10724
+ }, z.core.$strip>>;
10725
+ eventType: z.ZodLiteral<"pull_request.closed">;
10726
+ }, z.core.$strip>, z.ZodObject<{
10727
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
10728
+ username: z.ZodString;
10729
+ installationId: z.ZodNumber;
10730
+ repositoryName: z.ZodString;
10731
+ repository: z.ZodObject<{
10732
+ id: z.ZodNumber;
10733
+ name: z.ZodString;
10734
+ owner: z.ZodString;
10735
+ defaultBranch: z.ZodString;
10736
+ }, z.core.$strip>;
10737
+ sender: z.ZodObject<{
10738
+ login: z.ZodString;
10739
+ email: z.ZodOptional<z.ZodString>;
10740
+ }, z.core.$strip>;
10741
+ pullRequest: z.ZodObject<{
10742
+ id: z.ZodString;
10743
+ number: z.ZodNumber;
10744
+ title: z.ZodString;
10745
+ body: z.ZodOptional<z.ZodString>;
10746
+ state: z.ZodEnum<{
10747
+ open: "open";
10748
+ closed: "closed";
10749
+ }>;
10750
+ merged: z.ZodBoolean;
10751
+ head: z.ZodObject<{
10752
+ ref: z.ZodString;
10753
+ sha: z.ZodString;
10754
+ }, z.core.$strip>;
10755
+ base: z.ZodObject<{
10756
+ ref: z.ZodString;
10757
+ sha: z.ZodString;
10758
+ }, z.core.$strip>;
10759
+ user: z.ZodObject<{
10760
+ login: z.ZodString;
10761
+ email: z.ZodOptional<z.ZodString>;
10762
+ }, z.core.$strip>;
10763
+ author: z.ZodOptional<z.ZodObject<{
10764
+ login: z.ZodString;
10765
+ email: z.ZodOptional<z.ZodString>;
10766
+ }, z.core.$strip>>;
10767
+ url: z.ZodOptional<z.ZodString>;
10768
+ }, z.core.$strip>;
10769
+ branch: z.ZodOptional<z.ZodString>;
10770
+ commits: z.ZodArray<z.ZodObject<{
10771
+ sha: z.ZodString;
10772
+ message: z.ZodOptional<z.ZodString>;
10773
+ name: z.ZodString;
10774
+ fileDiffs: z.ZodArray<z.ZodObject<{
10775
+ filename: z.ZodString;
10776
+ diff: z.ZodString;
10777
+ }, z.core.$strip>>;
10778
+ }, z.core.$strip>>;
10779
+ eventType: z.ZodLiteral<"pull_request.merged">;
10780
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
10781
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GMAIL>;
10782
+ eventType: z.ZodEnum<{
10783
+ readonly EMAIL_RECEIVED: "email.received";
10784
+ }>;
10785
+ id: z.ZodString;
10786
+ threadId: z.ZodString;
10787
+ subject: z.ZodString;
10788
+ from: z.ZodString;
10789
+ to: z.ZodString;
10790
+ date: z.ZodString;
10791
+ internalDate: z.ZodString;
10792
+ messageId: z.ZodString;
10793
+ body: z.ZodString;
10794
+ snippet: z.ZodString;
10795
+ labelIds: z.ZodArray<z.ZodString>;
10796
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
10797
+ attachmentId: z.ZodString;
10798
+ filename: z.ZodString;
10799
+ mimeType: z.ZodString;
10800
+ contentId: z.ZodOptional<z.ZodString>;
10801
+ isInline: z.ZodBoolean;
10802
+ }, z.core.$strip>>>;
10803
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
10804
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
10805
+ actor: z.ZodObject<{
10806
+ id: z.ZodString;
10807
+ name: z.ZodString;
10808
+ email: z.ZodString;
10809
+ url: z.ZodString;
10810
+ type: z.ZodString;
10811
+ }, z.core.$strip>;
10812
+ createdAt: z.ZodString;
10813
+ url: z.ZodOptional<z.ZodString>;
10814
+ organizationId: z.ZodString;
10815
+ webhookTimestamp: z.ZodNumber;
10816
+ webhookId: z.ZodString;
10817
+ eventType: z.ZodLiteral<"issue.created">;
10818
+ action: z.ZodLiteral<"create">;
10819
+ type: z.ZodLiteral<"Issue">;
10820
+ data: z.ZodObject<{
10821
+ id: z.ZodString;
10822
+ createdAt: z.ZodString;
10823
+ updatedAt: z.ZodString;
10824
+ number: z.ZodNumber;
10825
+ title: z.ZodString;
10826
+ priority: z.ZodNumber;
10827
+ sortOrder: z.ZodNumber;
10828
+ prioritySortOrder: z.ZodNumber;
10829
+ slaType: z.ZodString;
10830
+ addedToTeamAt: z.ZodString;
10831
+ trashed: z.ZodBoolean;
10832
+ labelIds: z.ZodArray<z.ZodString>;
10833
+ teamId: z.ZodString;
10834
+ previousIdentifiers: z.ZodArray<z.ZodString>;
10835
+ stateId: z.ZodString;
10836
+ reactionData: z.ZodArray<z.ZodAny>;
10837
+ priorityLabel: z.ZodString;
10838
+ botActor: z.ZodOptional<z.ZodString>;
10839
+ identifier: z.ZodString;
10840
+ url: z.ZodString;
10841
+ subscriberIds: z.ZodArray<z.ZodString>;
10842
+ state: z.ZodObject<{
10843
+ id: z.ZodString;
10844
+ color: z.ZodString;
10845
+ name: z.ZodString;
10846
+ type: z.ZodString;
10847
+ }, z.core.$strip>;
10848
+ team: z.ZodObject<{
10849
+ id: z.ZodString;
10850
+ key: z.ZodString;
10851
+ name: z.ZodString;
10852
+ }, z.core.$strip>;
10853
+ labels: z.ZodArray<z.ZodAny>;
10854
+ description: z.ZodOptional<z.ZodString>;
10855
+ descriptionData: z.ZodOptional<z.ZodString>;
10856
+ assignee: z.ZodOptional<z.ZodObject<{
10857
+ id: z.ZodString;
10858
+ name: z.ZodString;
10859
+ }, z.core.$strip>>;
10860
+ projectId: z.ZodOptional<z.ZodString>;
10861
+ }, z.core.$strip>;
10862
+ }, z.core.$strip>, z.ZodObject<{
10863
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
10864
+ actor: z.ZodObject<{
10865
+ id: z.ZodString;
10866
+ name: z.ZodString;
10867
+ email: z.ZodString;
10868
+ url: z.ZodString;
10869
+ type: z.ZodString;
10870
+ }, z.core.$strip>;
10871
+ createdAt: z.ZodString;
10872
+ url: z.ZodOptional<z.ZodString>;
10873
+ organizationId: z.ZodString;
10874
+ webhookTimestamp: z.ZodNumber;
10875
+ webhookId: z.ZodString;
10876
+ eventType: z.ZodLiteral<"issue.updated">;
10877
+ action: z.ZodLiteral<"update">;
10878
+ type: z.ZodLiteral<"Issue">;
10879
+ data: z.ZodObject<{
10880
+ id: z.ZodString;
10881
+ createdAt: z.ZodString;
10882
+ updatedAt: z.ZodString;
10883
+ number: z.ZodNumber;
10884
+ title: z.ZodString;
10885
+ priority: z.ZodNumber;
10886
+ sortOrder: z.ZodNumber;
10887
+ prioritySortOrder: z.ZodNumber;
10888
+ slaType: z.ZodString;
10889
+ addedToTeamAt: z.ZodString;
10890
+ trashed: z.ZodBoolean;
10891
+ labelIds: z.ZodArray<z.ZodString>;
10892
+ teamId: z.ZodString;
10893
+ previousIdentifiers: z.ZodArray<z.ZodString>;
10894
+ stateId: z.ZodString;
10895
+ reactionData: z.ZodArray<z.ZodAny>;
10896
+ priorityLabel: z.ZodString;
10897
+ botActor: z.ZodOptional<z.ZodString>;
10898
+ identifier: z.ZodString;
10899
+ url: z.ZodString;
10900
+ subscriberIds: z.ZodArray<z.ZodString>;
10901
+ state: z.ZodObject<{
10902
+ id: z.ZodString;
10903
+ color: z.ZodString;
10904
+ name: z.ZodString;
10905
+ type: z.ZodString;
10906
+ }, z.core.$strip>;
10907
+ team: z.ZodObject<{
10908
+ id: z.ZodString;
10909
+ key: z.ZodString;
10910
+ name: z.ZodString;
10911
+ }, z.core.$strip>;
10912
+ labels: z.ZodArray<z.ZodAny>;
10913
+ description: z.ZodOptional<z.ZodString>;
10914
+ descriptionData: z.ZodOptional<z.ZodString>;
10915
+ assignee: z.ZodOptional<z.ZodObject<{
10916
+ id: z.ZodString;
10917
+ name: z.ZodString;
10918
+ }, z.core.$strip>>;
10919
+ projectId: z.ZodOptional<z.ZodString>;
10920
+ }, z.core.$strip>;
10921
+ }, z.core.$strip>, z.ZodObject<{
10922
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
10923
+ actor: z.ZodObject<{
10924
+ id: z.ZodString;
10925
+ name: z.ZodString;
10926
+ email: z.ZodString;
10927
+ url: z.ZodString;
10928
+ type: z.ZodString;
10929
+ }, z.core.$strip>;
10930
+ createdAt: z.ZodString;
10931
+ url: z.ZodOptional<z.ZodString>;
10932
+ organizationId: z.ZodString;
10933
+ webhookTimestamp: z.ZodNumber;
10934
+ webhookId: z.ZodString;
10935
+ eventType: z.ZodLiteral<"comment.created">;
10936
+ action: z.ZodLiteral<"create">;
10937
+ type: z.ZodLiteral<"Comment">;
10938
+ data: z.ZodObject<{
10939
+ id: z.ZodString;
10940
+ body: z.ZodOptional<z.ZodString>;
10941
+ issueId: z.ZodOptional<z.ZodString>;
10942
+ }, z.core.$loose>;
10943
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
10944
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
10945
+ eventId: z.ZodString;
10946
+ createdAt: z.ZodString;
10947
+ eventType: z.ZodLiteral<"user.created">;
10948
+ user: z.ZodObject<{
10949
+ id: z.ZodString;
10950
+ email: z.ZodString;
10951
+ firstName: z.ZodOptional<z.ZodString>;
10952
+ lastName: z.ZodOptional<z.ZodString>;
10953
+ emailVerified: z.ZodBoolean;
10954
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
10955
+ }, z.core.$strip>;
10956
+ }, z.core.$strip>, z.ZodObject<{
10957
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
10958
+ eventId: z.ZodString;
10959
+ createdAt: z.ZodString;
10960
+ eventType: z.ZodLiteral<"user.updated">;
10961
+ user: z.ZodObject<{
10962
+ id: z.ZodString;
10963
+ email: z.ZodString;
10964
+ firstName: z.ZodOptional<z.ZodString>;
10965
+ lastName: z.ZodOptional<z.ZodString>;
10966
+ emailVerified: z.ZodBoolean;
10967
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
10968
+ }, z.core.$strip>;
10969
+ }, z.core.$strip>, z.ZodObject<{
10970
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
10971
+ eventId: z.ZodString;
10972
+ createdAt: z.ZodString;
10973
+ eventType: z.ZodLiteral<"user.deleted">;
10974
+ user: z.ZodObject<{
10975
+ id: z.ZodString;
10976
+ email: z.ZodString;
10977
+ firstName: z.ZodOptional<z.ZodString>;
10978
+ lastName: z.ZodOptional<z.ZodString>;
10979
+ emailVerified: z.ZodBoolean;
10980
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
10981
+ }, z.core.$strip>;
10982
+ }, z.core.$strip>, z.ZodObject<{
10983
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
10984
+ eventId: z.ZodString;
10985
+ createdAt: z.ZodString;
10986
+ eventType: z.ZodLiteral<"organization_membership.created">;
10987
+ membership: z.ZodObject<{
10988
+ id: z.ZodString;
10989
+ userId: z.ZodString;
10990
+ organizationId: z.ZodString;
10991
+ role: z.ZodObject<{
10992
+ slug: z.ZodString;
10993
+ }, z.core.$strip>;
10994
+ status: z.ZodString;
10995
+ }, z.core.$strip>;
10996
+ }, z.core.$strip>, z.ZodObject<{
10997
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
10998
+ eventId: z.ZodString;
10999
+ createdAt: z.ZodString;
11000
+ eventType: z.ZodLiteral<"organization_membership.updated">;
11001
+ membership: z.ZodObject<{
11002
+ id: z.ZodString;
11003
+ userId: z.ZodString;
11004
+ organizationId: z.ZodString;
11005
+ role: z.ZodObject<{
11006
+ slug: z.ZodString;
11007
+ }, z.core.$strip>;
11008
+ status: z.ZodString;
11009
+ }, z.core.$strip>;
11010
+ }, z.core.$strip>, z.ZodObject<{
11011
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11012
+ eventId: z.ZodString;
11013
+ createdAt: z.ZodString;
11014
+ eventType: z.ZodLiteral<"organization_membership.deleted">;
11015
+ membership: z.ZodObject<{
11016
+ id: z.ZodString;
11017
+ userId: z.ZodString;
11018
+ organizationId: z.ZodString;
11019
+ role: z.ZodObject<{
11020
+ slug: z.ZodString;
11021
+ }, z.core.$strip>;
11022
+ status: z.ZodString;
11023
+ }, z.core.$strip>;
11024
+ }, z.core.$strip>, z.ZodObject<{
11025
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11026
+ eventId: z.ZodString;
11027
+ createdAt: z.ZodString;
11028
+ eventType: z.ZodLiteral<"invitation.created">;
11029
+ invitation: z.ZodObject<{
11030
+ id: z.ZodString;
11031
+ email: z.ZodString;
11032
+ organizationId: z.ZodString;
11033
+ inviterEmail: z.ZodOptional<z.ZodString>;
11034
+ state: z.ZodString;
11035
+ acceptedAt: z.ZodOptional<z.ZodString>;
11036
+ }, z.core.$strip>;
11037
+ user: z.ZodOptional<z.ZodObject<{
11038
+ id: z.ZodString;
11039
+ email: z.ZodString;
11040
+ firstName: z.ZodOptional<z.ZodString>;
11041
+ lastName: z.ZodOptional<z.ZodString>;
11042
+ emailVerified: z.ZodBoolean;
11043
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11044
+ }, z.core.$strip>>;
11045
+ }, z.core.$strip>, z.ZodObject<{
11046
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11047
+ eventId: z.ZodString;
11048
+ createdAt: z.ZodString;
11049
+ eventType: z.ZodLiteral<"invitation.accepted">;
11050
+ invitation: z.ZodObject<{
11051
+ id: z.ZodString;
11052
+ email: z.ZodString;
11053
+ organizationId: z.ZodString;
11054
+ inviterEmail: z.ZodOptional<z.ZodString>;
11055
+ state: z.ZodString;
11056
+ acceptedAt: z.ZodOptional<z.ZodString>;
11057
+ }, z.core.$strip>;
11058
+ user: z.ZodOptional<z.ZodObject<{
11059
+ id: z.ZodString;
11060
+ email: z.ZodString;
11061
+ firstName: z.ZodOptional<z.ZodString>;
11062
+ lastName: z.ZodOptional<z.ZodString>;
11063
+ emailVerified: z.ZodBoolean;
11064
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11065
+ }, z.core.$strip>>;
11066
+ }, z.core.$strip>, z.ZodObject<{
11067
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11068
+ eventId: z.ZodString;
11069
+ createdAt: z.ZodString;
11070
+ eventType: z.ZodLiteral<"invitation.resent">;
11071
+ invitation: z.ZodObject<{
11072
+ id: z.ZodString;
11073
+ email: z.ZodString;
11074
+ organizationId: z.ZodString;
11075
+ inviterEmail: z.ZodOptional<z.ZodString>;
11076
+ state: z.ZodString;
11077
+ acceptedAt: z.ZodOptional<z.ZodString>;
11078
+ }, z.core.$strip>;
11079
+ user: z.ZodOptional<z.ZodObject<{
11080
+ id: z.ZodString;
11081
+ email: z.ZodString;
11082
+ firstName: z.ZodOptional<z.ZodString>;
11083
+ lastName: z.ZodOptional<z.ZodString>;
11084
+ emailVerified: z.ZodBoolean;
11085
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11086
+ }, z.core.$strip>>;
11087
+ }, z.core.$strip>, z.ZodObject<{
11088
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11089
+ eventId: z.ZodString;
11090
+ createdAt: z.ZodString;
11091
+ eventType: z.ZodLiteral<"invitation.revoked">;
11092
+ invitation: z.ZodObject<{
11093
+ id: z.ZodString;
11094
+ email: z.ZodString;
11095
+ organizationId: z.ZodString;
11096
+ inviterEmail: z.ZodOptional<z.ZodString>;
11097
+ state: z.ZodString;
11098
+ acceptedAt: z.ZodOptional<z.ZodString>;
11099
+ }, z.core.$strip>;
11100
+ user: z.ZodOptional<z.ZodObject<{
11101
+ id: z.ZodString;
11102
+ email: z.ZodString;
11103
+ firstName: z.ZodOptional<z.ZodString>;
11104
+ lastName: z.ZodOptional<z.ZodString>;
11105
+ emailVerified: z.ZodBoolean;
11106
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11107
+ }, z.core.$strip>>;
11108
+ }, z.core.$strip>, z.ZodObject<{
11109
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11110
+ eventId: z.ZodString;
11111
+ createdAt: z.ZodString;
11112
+ eventType: z.ZodLiteral<"organization.created">;
11113
+ organization: z.ZodObject<{
11114
+ id: z.ZodString;
11115
+ name: z.ZodString;
11116
+ }, z.core.$strip>;
11117
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
11118
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
11119
+ eventType: z.ZodLiteral<"webhook">;
11120
+ body: z.ZodUnknown;
11121
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
11122
+ method: z.ZodString;
11123
+ }, z.core.$strip>, z.ZodObject<{
11124
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.CRON_JOB>;
11125
+ eventType: z.ZodLiteral<"cron">;
11126
+ inputId: z.ZodString;
11127
+ isManualTrigger: z.ZodOptional<z.ZodBoolean>;
11128
+ manualContext: z.ZodOptional<z.ZodString>;
11129
+ }, z.core.$strip>, z.ZodObject<{
11130
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
11131
+ eventType: z.ZodLiteral<"webmonitor">;
11132
+ inputId: z.ZodString;
11133
+ query: z.ZodString;
11134
+ frequency: z.ZodObject<{
11135
+ number: z.ZodNumber;
11136
+ unit: z.ZodEnum<{
11137
+ hour: "hour";
11138
+ day: "day";
11139
+ week: "week";
11140
+ }>;
11141
+ }, z.core.$strip>;
11142
+ monitorId: z.ZodString;
11143
+ eventGroupId: z.ZodString;
11144
+ metadata: z.ZodRecord<z.ZodString, z.ZodString>;
11145
+ outputType: z.ZodEnum<{
11146
+ json: "json";
11147
+ text: "text";
11148
+ }>;
11149
+ rawPayload: z.ZodOptional<z.ZodString>;
11150
+ payload: z.ZodUnknown;
11151
+ eventDate: z.ZodString;
11152
+ sourceUrls: z.ZodArray<z.ZodString>;
11153
+ }, z.core.$strip>, z.ZodObject<{
11154
+ integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
11155
+ eventType: z.ZodLiteral<"manual_sample">;
11156
+ }, z.core.$strip>]>;
11157
+ }, z.core.$strip>;
11158
+ }, z.core.$strip>;
11159
+ export declare const sdkListenStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
11160
+ type: z.ZodLiteral<"listen_started">;
11161
+ listenerId: z.ZodString;
11162
+ organizationId: z.ZodString;
11163
+ projectId: z.ZodString;
11164
+ jobName: z.ZodString;
11165
+ }, z.core.$strip>, z.ZodObject<{
11166
+ type: z.ZodLiteral<"forwarded_event">;
11167
+ agentId: z.ZodString;
11168
+ agentName: z.ZodString;
11169
+ projectId: z.ZodNullable<z.ZodString>;
11170
+ event: z.ZodObject<{
11171
+ integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
11172
+ eventType: z.ZodUnion<readonly [z.ZodEnum<{
11173
+ readonly MESSAGE: "message";
11174
+ readonly APP_MENTION: "app_mention";
11175
+ readonly REACTION_ADDED: "reaction_added";
11176
+ }>, z.ZodEnum<{
11177
+ readonly PUSH: "push";
11178
+ readonly PR_OPENED: "pull_request.opened";
11179
+ readonly PR_MERGED: "pull_request.merged";
11180
+ readonly PR_CLOSED: "pull_request.closed";
11181
+ readonly PR_SYNCHRONIZE: "pull_request.synchronize";
11182
+ }>, z.ZodEnum<{
11183
+ readonly ISSUE_CREATED: "issue.created";
11184
+ readonly ISSUE_UPDATED: "issue.updated";
11185
+ readonly COMMENT_CREATED: "comment.created";
11186
+ }>, z.ZodEnum<{
11187
+ readonly EMAIL_RECEIVED: "email.received";
11188
+ }>, z.ZodEnum<{
11189
+ readonly USER_CREATED: "user.created";
11190
+ readonly USER_UPDATED: "user.updated";
11191
+ readonly USER_DELETED: "user.deleted";
11192
+ readonly ORGANIZATION_CREATED: "organization.created";
11193
+ readonly ORGANIZATION_MEMBERSHIP_CREATED: "organization_membership.created";
11194
+ readonly ORGANIZATION_MEMBERSHIP_UPDATED: "organization_membership.updated";
11195
+ readonly ORGANIZATION_MEMBERSHIP_DELETED: "organization_membership.deleted";
11196
+ readonly INVITATION_CREATED: "invitation.created";
11197
+ readonly INVITATION_ACCEPTED: "invitation.accepted";
11198
+ readonly INVITATION_RESENT: "invitation.resent";
11199
+ readonly INVITATION_REVOKED: "invitation.revoked";
11200
+ }>, z.ZodLiteral<"webhook">, z.ZodLiteral<"cron">, z.ZodLiteral<"webmonitor">, z.ZodLiteral<"manual_sample">]>;
11201
+ formattedContent: z.ZodString;
11202
+ debugLog: z.ZodString;
11203
+ display: z.ZodOptional<z.ZodObject<{
11204
+ title: z.ZodString;
11205
+ subtitle: z.ZodString;
11206
+ }, z.core.$strip>>;
11207
+ data: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
11208
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
11209
+ channelId: z.ZodString;
11210
+ channelName: z.ZodNullable<z.ZodString>;
11211
+ userId: z.ZodString;
11212
+ userName: z.ZodNullable<z.ZodString>;
11213
+ text: z.ZodString;
11214
+ timestamp: z.ZodString;
11215
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11216
+ threadTimestamp: z.ZodNullable<z.ZodString>;
11217
+ teamId: z.ZodString;
11218
+ permalink: z.ZodNullable<z.ZodString>;
11219
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
11220
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
11221
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
11222
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
11223
+ eventType: z.ZodLiteral<"message">;
11224
+ }, z.core.$strip>, z.ZodObject<{
11225
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
11226
+ channelId: z.ZodString;
11227
+ channelName: z.ZodNullable<z.ZodString>;
11228
+ userId: z.ZodString;
11229
+ userName: z.ZodNullable<z.ZodString>;
11230
+ text: z.ZodString;
11231
+ timestamp: z.ZodString;
11232
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11233
+ threadTimestamp: z.ZodNullable<z.ZodString>;
11234
+ teamId: z.ZodString;
11235
+ permalink: z.ZodNullable<z.ZodString>;
11236
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
11237
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
11238
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
11239
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
11240
+ eventType: z.ZodLiteral<"app_mention">;
11241
+ }, z.core.$strip>, z.ZodObject<{
11242
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
11243
+ channelId: z.ZodString;
11244
+ channelName: z.ZodNullable<z.ZodString>;
11245
+ userId: z.ZodString;
11246
+ userName: z.ZodNullable<z.ZodString>;
11247
+ text: z.ZodString;
11248
+ timestamp: z.ZodString;
11249
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11250
+ threadTimestamp: z.ZodNullable<z.ZodString>;
11251
+ teamId: z.ZodString;
11252
+ permalink: z.ZodNullable<z.ZodString>;
11253
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
11254
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
11255
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
11256
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
11257
+ eventType: z.ZodLiteral<"reaction_added">;
11258
+ reaction: z.ZodString;
11259
+ itemType: z.ZodNullable<z.ZodString>;
11260
+ itemUserId: z.ZodNullable<z.ZodString>;
11261
+ itemChannelId: z.ZodNullable<z.ZodString>;
11262
+ itemTimestamp: z.ZodNullable<z.ZodString>;
11263
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
11264
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
11265
+ username: z.ZodString;
11266
+ installationId: z.ZodNumber;
11267
+ repositoryName: z.ZodString;
11268
+ repository: z.ZodObject<{
11269
+ id: z.ZodNumber;
11270
+ name: z.ZodString;
11271
+ owner: z.ZodString;
11272
+ defaultBranch: z.ZodString;
11273
+ }, z.core.$strip>;
11274
+ sender: z.ZodObject<{
11275
+ login: z.ZodString;
11276
+ email: z.ZodOptional<z.ZodString>;
11277
+ }, z.core.$strip>;
11278
+ eventType: z.ZodLiteral<"push">;
11279
+ branch: z.ZodString;
11280
+ commits: z.ZodArray<z.ZodObject<{
11281
+ sha: z.ZodString;
11282
+ message: z.ZodOptional<z.ZodString>;
11283
+ name: z.ZodString;
11284
+ fileDiffs: z.ZodArray<z.ZodObject<{
11285
+ filename: z.ZodString;
11286
+ diff: z.ZodString;
11287
+ }, z.core.$strip>>;
11288
+ }, z.core.$strip>>;
11289
+ pullRequest: z.ZodOptional<z.ZodUndefined>;
11290
+ }, z.core.$strip>, z.ZodObject<{
11291
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
11292
+ username: z.ZodString;
11293
+ installationId: z.ZodNumber;
11294
+ repositoryName: z.ZodString;
11295
+ repository: z.ZodObject<{
11296
+ id: z.ZodNumber;
11297
+ name: z.ZodString;
11298
+ owner: z.ZodString;
11299
+ defaultBranch: z.ZodString;
11300
+ }, z.core.$strip>;
11301
+ sender: z.ZodObject<{
11302
+ login: z.ZodString;
11303
+ email: z.ZodOptional<z.ZodString>;
11304
+ }, z.core.$strip>;
11305
+ pullRequest: z.ZodObject<{
11306
+ id: z.ZodString;
11307
+ number: z.ZodNumber;
11308
+ title: z.ZodString;
11309
+ body: z.ZodOptional<z.ZodString>;
11310
+ state: z.ZodEnum<{
11311
+ open: "open";
11312
+ closed: "closed";
11313
+ }>;
11314
+ merged: z.ZodBoolean;
11315
+ head: z.ZodObject<{
11316
+ ref: z.ZodString;
11317
+ sha: z.ZodString;
11318
+ }, z.core.$strip>;
11319
+ base: z.ZodObject<{
11320
+ ref: z.ZodString;
11321
+ sha: z.ZodString;
11322
+ }, z.core.$strip>;
11323
+ user: z.ZodObject<{
11324
+ login: z.ZodString;
11325
+ email: z.ZodOptional<z.ZodString>;
11326
+ }, z.core.$strip>;
11327
+ author: z.ZodOptional<z.ZodObject<{
11328
+ login: z.ZodString;
11329
+ email: z.ZodOptional<z.ZodString>;
11330
+ }, z.core.$strip>>;
11331
+ url: z.ZodOptional<z.ZodString>;
11332
+ }, z.core.$strip>;
11333
+ branch: z.ZodOptional<z.ZodString>;
11334
+ commits: z.ZodArray<z.ZodObject<{
11335
+ sha: z.ZodString;
11336
+ message: z.ZodOptional<z.ZodString>;
11337
+ name: z.ZodString;
11338
+ fileDiffs: z.ZodArray<z.ZodObject<{
11339
+ filename: z.ZodString;
11340
+ diff: z.ZodString;
11341
+ }, z.core.$strip>>;
11342
+ }, z.core.$strip>>;
11343
+ eventType: z.ZodLiteral<"pull_request.opened">;
11344
+ }, z.core.$strip>, z.ZodObject<{
11345
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
11346
+ username: z.ZodString;
11347
+ installationId: z.ZodNumber;
11348
+ repositoryName: z.ZodString;
11349
+ repository: z.ZodObject<{
11350
+ id: z.ZodNumber;
11351
+ name: z.ZodString;
11352
+ owner: z.ZodString;
11353
+ defaultBranch: z.ZodString;
11354
+ }, z.core.$strip>;
11355
+ sender: z.ZodObject<{
11356
+ login: z.ZodString;
11357
+ email: z.ZodOptional<z.ZodString>;
11358
+ }, z.core.$strip>;
11359
+ pullRequest: z.ZodObject<{
11360
+ id: z.ZodString;
11361
+ number: z.ZodNumber;
11362
+ title: z.ZodString;
11363
+ body: z.ZodOptional<z.ZodString>;
11364
+ state: z.ZodEnum<{
11365
+ open: "open";
11366
+ closed: "closed";
11367
+ }>;
11368
+ merged: z.ZodBoolean;
11369
+ head: z.ZodObject<{
11370
+ ref: z.ZodString;
11371
+ sha: z.ZodString;
11372
+ }, z.core.$strip>;
11373
+ base: z.ZodObject<{
11374
+ ref: z.ZodString;
11375
+ sha: z.ZodString;
11376
+ }, z.core.$strip>;
11377
+ user: z.ZodObject<{
11378
+ login: z.ZodString;
11379
+ email: z.ZodOptional<z.ZodString>;
11380
+ }, z.core.$strip>;
11381
+ author: z.ZodOptional<z.ZodObject<{
11382
+ login: z.ZodString;
11383
+ email: z.ZodOptional<z.ZodString>;
11384
+ }, z.core.$strip>>;
11385
+ url: z.ZodOptional<z.ZodString>;
11386
+ }, z.core.$strip>;
11387
+ branch: z.ZodOptional<z.ZodString>;
11388
+ commits: z.ZodArray<z.ZodObject<{
11389
+ sha: z.ZodString;
11390
+ message: z.ZodOptional<z.ZodString>;
11391
+ name: z.ZodString;
11392
+ fileDiffs: z.ZodArray<z.ZodObject<{
11393
+ filename: z.ZodString;
11394
+ diff: z.ZodString;
11395
+ }, z.core.$strip>>;
11396
+ }, z.core.$strip>>;
11397
+ eventType: z.ZodLiteral<"pull_request.synchronize">;
11398
+ }, z.core.$strip>, z.ZodObject<{
11399
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
11400
+ username: z.ZodString;
11401
+ installationId: z.ZodNumber;
11402
+ repositoryName: z.ZodString;
11403
+ repository: z.ZodObject<{
11404
+ id: z.ZodNumber;
11405
+ name: z.ZodString;
11406
+ owner: z.ZodString;
11407
+ defaultBranch: z.ZodString;
11408
+ }, z.core.$strip>;
11409
+ sender: z.ZodObject<{
11410
+ login: z.ZodString;
11411
+ email: z.ZodOptional<z.ZodString>;
11412
+ }, z.core.$strip>;
11413
+ pullRequest: z.ZodObject<{
11414
+ id: z.ZodString;
11415
+ number: z.ZodNumber;
11416
+ title: z.ZodString;
11417
+ body: z.ZodOptional<z.ZodString>;
11418
+ state: z.ZodEnum<{
11419
+ open: "open";
11420
+ closed: "closed";
11421
+ }>;
11422
+ merged: z.ZodBoolean;
11423
+ head: z.ZodObject<{
11424
+ ref: z.ZodString;
11425
+ sha: z.ZodString;
11426
+ }, z.core.$strip>;
11427
+ base: z.ZodObject<{
11428
+ ref: z.ZodString;
11429
+ sha: z.ZodString;
11430
+ }, z.core.$strip>;
11431
+ user: z.ZodObject<{
11432
+ login: z.ZodString;
11433
+ email: z.ZodOptional<z.ZodString>;
11434
+ }, z.core.$strip>;
11435
+ author: z.ZodOptional<z.ZodObject<{
11436
+ login: z.ZodString;
11437
+ email: z.ZodOptional<z.ZodString>;
11438
+ }, z.core.$strip>>;
11439
+ url: z.ZodOptional<z.ZodString>;
11440
+ }, z.core.$strip>;
11441
+ branch: z.ZodOptional<z.ZodString>;
11442
+ commits: z.ZodArray<z.ZodObject<{
11443
+ sha: z.ZodString;
11444
+ message: z.ZodOptional<z.ZodString>;
11445
+ name: z.ZodString;
11446
+ fileDiffs: z.ZodArray<z.ZodObject<{
11447
+ filename: z.ZodString;
11448
+ diff: z.ZodString;
11449
+ }, z.core.$strip>>;
11450
+ }, z.core.$strip>>;
11451
+ eventType: z.ZodLiteral<"pull_request.closed">;
11452
+ }, z.core.$strip>, z.ZodObject<{
11453
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
11454
+ username: z.ZodString;
11455
+ installationId: z.ZodNumber;
11456
+ repositoryName: z.ZodString;
11457
+ repository: z.ZodObject<{
11458
+ id: z.ZodNumber;
11459
+ name: z.ZodString;
11460
+ owner: z.ZodString;
11461
+ defaultBranch: z.ZodString;
11462
+ }, z.core.$strip>;
11463
+ sender: z.ZodObject<{
11464
+ login: z.ZodString;
11465
+ email: z.ZodOptional<z.ZodString>;
11466
+ }, z.core.$strip>;
11467
+ pullRequest: z.ZodObject<{
11468
+ id: z.ZodString;
11469
+ number: z.ZodNumber;
11470
+ title: z.ZodString;
11471
+ body: z.ZodOptional<z.ZodString>;
11472
+ state: z.ZodEnum<{
11473
+ open: "open";
11474
+ closed: "closed";
11475
+ }>;
11476
+ merged: z.ZodBoolean;
11477
+ head: z.ZodObject<{
11478
+ ref: z.ZodString;
11479
+ sha: z.ZodString;
11480
+ }, z.core.$strip>;
11481
+ base: z.ZodObject<{
11482
+ ref: z.ZodString;
11483
+ sha: z.ZodString;
11484
+ }, z.core.$strip>;
11485
+ user: z.ZodObject<{
11486
+ login: z.ZodString;
11487
+ email: z.ZodOptional<z.ZodString>;
11488
+ }, z.core.$strip>;
11489
+ author: z.ZodOptional<z.ZodObject<{
11490
+ login: z.ZodString;
11491
+ email: z.ZodOptional<z.ZodString>;
11492
+ }, z.core.$strip>>;
11493
+ url: z.ZodOptional<z.ZodString>;
11494
+ }, z.core.$strip>;
11495
+ branch: z.ZodOptional<z.ZodString>;
11496
+ commits: z.ZodArray<z.ZodObject<{
11497
+ sha: z.ZodString;
11498
+ message: z.ZodOptional<z.ZodString>;
11499
+ name: z.ZodString;
11500
+ fileDiffs: z.ZodArray<z.ZodObject<{
11501
+ filename: z.ZodString;
11502
+ diff: z.ZodString;
11503
+ }, z.core.$strip>>;
11504
+ }, z.core.$strip>>;
11505
+ eventType: z.ZodLiteral<"pull_request.merged">;
11506
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
11507
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GMAIL>;
11508
+ eventType: z.ZodEnum<{
11509
+ readonly EMAIL_RECEIVED: "email.received";
11510
+ }>;
11511
+ id: z.ZodString;
11512
+ threadId: z.ZodString;
11513
+ subject: z.ZodString;
11514
+ from: z.ZodString;
11515
+ to: z.ZodString;
11516
+ date: z.ZodString;
11517
+ internalDate: z.ZodString;
11518
+ messageId: z.ZodString;
11519
+ body: z.ZodString;
11520
+ snippet: z.ZodString;
11521
+ labelIds: z.ZodArray<z.ZodString>;
11522
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
11523
+ attachmentId: z.ZodString;
11524
+ filename: z.ZodString;
11525
+ mimeType: z.ZodString;
11526
+ contentId: z.ZodOptional<z.ZodString>;
11527
+ isInline: z.ZodBoolean;
11528
+ }, z.core.$strip>>>;
11529
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
11530
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
11531
+ actor: z.ZodObject<{
11532
+ id: z.ZodString;
11533
+ name: z.ZodString;
11534
+ email: z.ZodString;
11535
+ url: z.ZodString;
11536
+ type: z.ZodString;
11537
+ }, z.core.$strip>;
11538
+ createdAt: z.ZodString;
11539
+ url: z.ZodOptional<z.ZodString>;
11540
+ organizationId: z.ZodString;
11541
+ webhookTimestamp: z.ZodNumber;
11542
+ webhookId: z.ZodString;
11543
+ eventType: z.ZodLiteral<"issue.created">;
11544
+ action: z.ZodLiteral<"create">;
11545
+ type: z.ZodLiteral<"Issue">;
11546
+ data: z.ZodObject<{
11547
+ id: z.ZodString;
11548
+ createdAt: z.ZodString;
11549
+ updatedAt: z.ZodString;
11550
+ number: z.ZodNumber;
11551
+ title: z.ZodString;
11552
+ priority: z.ZodNumber;
11553
+ sortOrder: z.ZodNumber;
11554
+ prioritySortOrder: z.ZodNumber;
11555
+ slaType: z.ZodString;
11556
+ addedToTeamAt: z.ZodString;
11557
+ trashed: z.ZodBoolean;
11558
+ labelIds: z.ZodArray<z.ZodString>;
11559
+ teamId: z.ZodString;
11560
+ previousIdentifiers: z.ZodArray<z.ZodString>;
11561
+ stateId: z.ZodString;
11562
+ reactionData: z.ZodArray<z.ZodAny>;
11563
+ priorityLabel: z.ZodString;
11564
+ botActor: z.ZodOptional<z.ZodString>;
11565
+ identifier: z.ZodString;
11566
+ url: z.ZodString;
11567
+ subscriberIds: z.ZodArray<z.ZodString>;
11568
+ state: z.ZodObject<{
11569
+ id: z.ZodString;
11570
+ color: z.ZodString;
11571
+ name: z.ZodString;
11572
+ type: z.ZodString;
11573
+ }, z.core.$strip>;
11574
+ team: z.ZodObject<{
11575
+ id: z.ZodString;
11576
+ key: z.ZodString;
11577
+ name: z.ZodString;
11578
+ }, z.core.$strip>;
11579
+ labels: z.ZodArray<z.ZodAny>;
11580
+ description: z.ZodOptional<z.ZodString>;
11581
+ descriptionData: z.ZodOptional<z.ZodString>;
11582
+ assignee: z.ZodOptional<z.ZodObject<{
11583
+ id: z.ZodString;
11584
+ name: z.ZodString;
11585
+ }, z.core.$strip>>;
11586
+ projectId: z.ZodOptional<z.ZodString>;
11587
+ }, z.core.$strip>;
11588
+ }, z.core.$strip>, z.ZodObject<{
11589
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
11590
+ actor: z.ZodObject<{
11591
+ id: z.ZodString;
11592
+ name: z.ZodString;
11593
+ email: z.ZodString;
11594
+ url: z.ZodString;
11595
+ type: z.ZodString;
11596
+ }, z.core.$strip>;
11597
+ createdAt: z.ZodString;
11598
+ url: z.ZodOptional<z.ZodString>;
11599
+ organizationId: z.ZodString;
11600
+ webhookTimestamp: z.ZodNumber;
11601
+ webhookId: z.ZodString;
11602
+ eventType: z.ZodLiteral<"issue.updated">;
11603
+ action: z.ZodLiteral<"update">;
11604
+ type: z.ZodLiteral<"Issue">;
11605
+ data: z.ZodObject<{
11606
+ id: z.ZodString;
11607
+ createdAt: z.ZodString;
11608
+ updatedAt: z.ZodString;
11609
+ number: z.ZodNumber;
11610
+ title: z.ZodString;
11611
+ priority: z.ZodNumber;
11612
+ sortOrder: z.ZodNumber;
11613
+ prioritySortOrder: z.ZodNumber;
11614
+ slaType: z.ZodString;
11615
+ addedToTeamAt: z.ZodString;
11616
+ trashed: z.ZodBoolean;
11617
+ labelIds: z.ZodArray<z.ZodString>;
11618
+ teamId: z.ZodString;
11619
+ previousIdentifiers: z.ZodArray<z.ZodString>;
11620
+ stateId: z.ZodString;
11621
+ reactionData: z.ZodArray<z.ZodAny>;
11622
+ priorityLabel: z.ZodString;
11623
+ botActor: z.ZodOptional<z.ZodString>;
11624
+ identifier: z.ZodString;
11625
+ url: z.ZodString;
11626
+ subscriberIds: z.ZodArray<z.ZodString>;
11627
+ state: z.ZodObject<{
11628
+ id: z.ZodString;
11629
+ color: z.ZodString;
11630
+ name: z.ZodString;
11631
+ type: z.ZodString;
11632
+ }, z.core.$strip>;
11633
+ team: z.ZodObject<{
11634
+ id: z.ZodString;
11635
+ key: z.ZodString;
11636
+ name: z.ZodString;
11637
+ }, z.core.$strip>;
11638
+ labels: z.ZodArray<z.ZodAny>;
11639
+ description: z.ZodOptional<z.ZodString>;
11640
+ descriptionData: z.ZodOptional<z.ZodString>;
11641
+ assignee: z.ZodOptional<z.ZodObject<{
11642
+ id: z.ZodString;
11643
+ name: z.ZodString;
11644
+ }, z.core.$strip>>;
11645
+ projectId: z.ZodOptional<z.ZodString>;
11646
+ }, z.core.$strip>;
11647
+ }, z.core.$strip>, z.ZodObject<{
11648
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
11649
+ actor: z.ZodObject<{
11650
+ id: z.ZodString;
11651
+ name: z.ZodString;
11652
+ email: z.ZodString;
11653
+ url: z.ZodString;
11654
+ type: z.ZodString;
11655
+ }, z.core.$strip>;
11656
+ createdAt: z.ZodString;
11657
+ url: z.ZodOptional<z.ZodString>;
11658
+ organizationId: z.ZodString;
11659
+ webhookTimestamp: z.ZodNumber;
11660
+ webhookId: z.ZodString;
11661
+ eventType: z.ZodLiteral<"comment.created">;
11662
+ action: z.ZodLiteral<"create">;
11663
+ type: z.ZodLiteral<"Comment">;
11664
+ data: z.ZodObject<{
11665
+ id: z.ZodString;
11666
+ body: z.ZodOptional<z.ZodString>;
11667
+ issueId: z.ZodOptional<z.ZodString>;
11668
+ }, z.core.$loose>;
11669
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
11670
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11671
+ eventId: z.ZodString;
11672
+ createdAt: z.ZodString;
11673
+ eventType: z.ZodLiteral<"user.created">;
11674
+ user: z.ZodObject<{
11675
+ id: z.ZodString;
11676
+ email: z.ZodString;
11677
+ firstName: z.ZodOptional<z.ZodString>;
11678
+ lastName: z.ZodOptional<z.ZodString>;
11679
+ emailVerified: z.ZodBoolean;
11680
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11681
+ }, z.core.$strip>;
11682
+ }, z.core.$strip>, z.ZodObject<{
11683
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11684
+ eventId: z.ZodString;
11685
+ createdAt: z.ZodString;
11686
+ eventType: z.ZodLiteral<"user.updated">;
11687
+ user: z.ZodObject<{
11688
+ id: z.ZodString;
11689
+ email: z.ZodString;
11690
+ firstName: z.ZodOptional<z.ZodString>;
11691
+ lastName: z.ZodOptional<z.ZodString>;
11692
+ emailVerified: z.ZodBoolean;
11693
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11694
+ }, z.core.$strip>;
11695
+ }, z.core.$strip>, z.ZodObject<{
11696
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11697
+ eventId: z.ZodString;
11698
+ createdAt: z.ZodString;
11699
+ eventType: z.ZodLiteral<"user.deleted">;
11700
+ user: z.ZodObject<{
11701
+ id: z.ZodString;
11702
+ email: z.ZodString;
11703
+ firstName: z.ZodOptional<z.ZodString>;
11704
+ lastName: z.ZodOptional<z.ZodString>;
11705
+ emailVerified: z.ZodBoolean;
11706
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11707
+ }, z.core.$strip>;
11708
+ }, z.core.$strip>, z.ZodObject<{
11709
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11710
+ eventId: z.ZodString;
11711
+ createdAt: z.ZodString;
11712
+ eventType: z.ZodLiteral<"organization_membership.created">;
11713
+ membership: z.ZodObject<{
11714
+ id: z.ZodString;
11715
+ userId: z.ZodString;
11716
+ organizationId: z.ZodString;
11717
+ role: z.ZodObject<{
11718
+ slug: z.ZodString;
11719
+ }, z.core.$strip>;
11720
+ status: z.ZodString;
11721
+ }, z.core.$strip>;
11722
+ }, z.core.$strip>, z.ZodObject<{
11723
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11724
+ eventId: z.ZodString;
11725
+ createdAt: z.ZodString;
11726
+ eventType: z.ZodLiteral<"organization_membership.updated">;
11727
+ membership: z.ZodObject<{
11728
+ id: z.ZodString;
11729
+ userId: z.ZodString;
11730
+ organizationId: z.ZodString;
11731
+ role: z.ZodObject<{
11732
+ slug: z.ZodString;
11733
+ }, z.core.$strip>;
11734
+ status: z.ZodString;
11735
+ }, z.core.$strip>;
11736
+ }, z.core.$strip>, z.ZodObject<{
11737
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11738
+ eventId: z.ZodString;
11739
+ createdAt: z.ZodString;
11740
+ eventType: z.ZodLiteral<"organization_membership.deleted">;
11741
+ membership: z.ZodObject<{
11742
+ id: z.ZodString;
11743
+ userId: z.ZodString;
11744
+ organizationId: z.ZodString;
11745
+ role: z.ZodObject<{
11746
+ slug: z.ZodString;
11747
+ }, z.core.$strip>;
11748
+ status: z.ZodString;
11749
+ }, z.core.$strip>;
11750
+ }, z.core.$strip>, z.ZodObject<{
11751
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11752
+ eventId: z.ZodString;
11753
+ createdAt: z.ZodString;
11754
+ eventType: z.ZodLiteral<"invitation.created">;
11755
+ invitation: z.ZodObject<{
11756
+ id: z.ZodString;
11757
+ email: z.ZodString;
11758
+ organizationId: z.ZodString;
11759
+ inviterEmail: z.ZodOptional<z.ZodString>;
11760
+ state: z.ZodString;
11761
+ acceptedAt: z.ZodOptional<z.ZodString>;
11762
+ }, z.core.$strip>;
11763
+ user: z.ZodOptional<z.ZodObject<{
11764
+ id: z.ZodString;
11765
+ email: z.ZodString;
11766
+ firstName: z.ZodOptional<z.ZodString>;
11767
+ lastName: z.ZodOptional<z.ZodString>;
11768
+ emailVerified: z.ZodBoolean;
11769
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11770
+ }, z.core.$strip>>;
11771
+ }, z.core.$strip>, z.ZodObject<{
11772
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11773
+ eventId: z.ZodString;
11774
+ createdAt: z.ZodString;
11775
+ eventType: z.ZodLiteral<"invitation.accepted">;
11776
+ invitation: z.ZodObject<{
11777
+ id: z.ZodString;
11778
+ email: z.ZodString;
11779
+ organizationId: z.ZodString;
11780
+ inviterEmail: z.ZodOptional<z.ZodString>;
11781
+ state: z.ZodString;
11782
+ acceptedAt: z.ZodOptional<z.ZodString>;
11783
+ }, z.core.$strip>;
11784
+ user: z.ZodOptional<z.ZodObject<{
11785
+ id: z.ZodString;
11786
+ email: z.ZodString;
11787
+ firstName: z.ZodOptional<z.ZodString>;
11788
+ lastName: z.ZodOptional<z.ZodString>;
11789
+ emailVerified: z.ZodBoolean;
11790
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11791
+ }, z.core.$strip>>;
11792
+ }, z.core.$strip>, z.ZodObject<{
11793
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11794
+ eventId: z.ZodString;
11795
+ createdAt: z.ZodString;
11796
+ eventType: z.ZodLiteral<"invitation.resent">;
11797
+ invitation: z.ZodObject<{
11798
+ id: z.ZodString;
11799
+ email: z.ZodString;
11800
+ organizationId: z.ZodString;
11801
+ inviterEmail: z.ZodOptional<z.ZodString>;
11802
+ state: z.ZodString;
11803
+ acceptedAt: z.ZodOptional<z.ZodString>;
11804
+ }, z.core.$strip>;
11805
+ user: z.ZodOptional<z.ZodObject<{
11806
+ id: z.ZodString;
11807
+ email: z.ZodString;
11808
+ firstName: z.ZodOptional<z.ZodString>;
11809
+ lastName: z.ZodOptional<z.ZodString>;
11810
+ emailVerified: z.ZodBoolean;
11811
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11812
+ }, z.core.$strip>>;
11813
+ }, z.core.$strip>, z.ZodObject<{
11814
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11815
+ eventId: z.ZodString;
11816
+ createdAt: z.ZodString;
11817
+ eventType: z.ZodLiteral<"invitation.revoked">;
11818
+ invitation: z.ZodObject<{
11819
+ id: z.ZodString;
11820
+ email: z.ZodString;
11821
+ organizationId: z.ZodString;
11822
+ inviterEmail: z.ZodOptional<z.ZodString>;
11823
+ state: z.ZodString;
11824
+ acceptedAt: z.ZodOptional<z.ZodString>;
11825
+ }, z.core.$strip>;
11826
+ user: z.ZodOptional<z.ZodObject<{
11827
+ id: z.ZodString;
11828
+ email: z.ZodString;
11829
+ firstName: z.ZodOptional<z.ZodString>;
11830
+ lastName: z.ZodOptional<z.ZodString>;
11831
+ emailVerified: z.ZodBoolean;
11832
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
11833
+ }, z.core.$strip>>;
11834
+ }, z.core.$strip>, z.ZodObject<{
11835
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
11836
+ eventId: z.ZodString;
11837
+ createdAt: z.ZodString;
11838
+ eventType: z.ZodLiteral<"organization.created">;
11839
+ organization: z.ZodObject<{
11840
+ id: z.ZodString;
11841
+ name: z.ZodString;
11842
+ }, z.core.$strip>;
11843
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
11844
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
11845
+ eventType: z.ZodLiteral<"webhook">;
11846
+ body: z.ZodUnknown;
11847
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
11848
+ method: z.ZodString;
11849
+ }, z.core.$strip>, z.ZodObject<{
11850
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.CRON_JOB>;
11851
+ eventType: z.ZodLiteral<"cron">;
11852
+ inputId: z.ZodString;
11853
+ isManualTrigger: z.ZodOptional<z.ZodBoolean>;
11854
+ manualContext: z.ZodOptional<z.ZodString>;
11855
+ }, z.core.$strip>, z.ZodObject<{
11856
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
11857
+ eventType: z.ZodLiteral<"webmonitor">;
11858
+ inputId: z.ZodString;
11859
+ query: z.ZodString;
11860
+ frequency: z.ZodObject<{
11861
+ number: z.ZodNumber;
11862
+ unit: z.ZodEnum<{
11863
+ hour: "hour";
11864
+ day: "day";
11865
+ week: "week";
11866
+ }>;
11867
+ }, z.core.$strip>;
11868
+ monitorId: z.ZodString;
11869
+ eventGroupId: z.ZodString;
11870
+ metadata: z.ZodRecord<z.ZodString, z.ZodString>;
11871
+ outputType: z.ZodEnum<{
11872
+ json: "json";
11873
+ text: "text";
11874
+ }>;
11875
+ rawPayload: z.ZodOptional<z.ZodString>;
11876
+ payload: z.ZodUnknown;
11877
+ eventDate: z.ZodString;
11878
+ sourceUrls: z.ZodArray<z.ZodString>;
11879
+ }, z.core.$strip>, z.ZodObject<{
11880
+ integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
11881
+ eventType: z.ZodLiteral<"manual_sample">;
11882
+ }, z.core.$strip>]>;
11883
+ }, z.core.$strip>;
11884
+ }, z.core.$strip>], "type">;
11885
+ export type SdkListenStreamEvent = z.infer<typeof sdkListenStreamEventSchema>;
11886
+ export type SdkListenStartedEvent = z.infer<typeof sdkListenStartedSchema>;
11887
+ export type SdkListenForwardedEvent = z.infer<typeof sdkListenForwardedEventSchema>;