terse-types 0.0.20 → 0.0.22

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
@@ -3744,6 +3744,7 @@ export declare const sdkAgentRunRequestBodySchema: z.ZodObject<{
3744
3744
  requireApproval: z.ZodOptional<z.ZodBoolean>;
3745
3745
  }, z.core.$strip>>;
3746
3746
  toolApprovals: z.ZodOptional<z.ZodArray<z.ZodString>>;
3747
+ outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3747
3748
  }, z.core.$strip>;
3748
3749
  export type SdkAgentRunRequestBody = z.infer<typeof sdkAgentRunRequestBodySchema>;
3749
3750
  export declare const sdkAgentRunResponseContractSchema: z.ZodObject<{
@@ -6670,6 +6671,2211 @@ export declare const sdkSampleEventsRequestSchema: z.ZodObject<{
6670
6671
  }, z.core.$strip>>;
6671
6672
  }, z.core.$strip>;
6672
6673
  export type SdkSampleEventsRequest = z.infer<typeof sdkSampleEventsRequestSchema>;
6674
+ export declare const hydratorTypeEnum: z.ZodEnum<{
6675
+ run_history_raw_event: "run_history_raw_event";
6676
+ slack_message_event: "slack_message_event";
6677
+ github_event: "github_event";
6678
+ linear_event: "linear_event";
6679
+ gmail_event: "gmail_event";
6680
+ workos_event: "workos_event";
6681
+ webmonitor_event: "webmonitor_event";
6682
+ }>;
6683
+ export type HydratorType = z.infer<typeof hydratorTypeEnum>;
6684
+ export declare const identifiableSchema: z.ZodObject<{
6685
+ entityType: z.ZodEnum<{
6686
+ run_history_raw_event: "run_history_raw_event";
6687
+ slack_message_event: "slack_message_event";
6688
+ github_event: "github_event";
6689
+ linear_event: "linear_event";
6690
+ gmail_event: "gmail_event";
6691
+ workos_event: "workos_event";
6692
+ webmonitor_event: "webmonitor_event";
6693
+ }>;
6694
+ entityId: z.ZodString;
6695
+ }, z.core.$strip>;
6696
+ export type Identifiable = z.infer<typeof identifiableSchema>;
6697
+ export declare const sdkSampleEventRefSchema: z.ZodObject<{
6698
+ entity: z.ZodObject<{
6699
+ entityType: z.ZodEnum<{
6700
+ run_history_raw_event: "run_history_raw_event";
6701
+ slack_message_event: "slack_message_event";
6702
+ github_event: "github_event";
6703
+ linear_event: "linear_event";
6704
+ gmail_event: "gmail_event";
6705
+ workos_event: "workos_event";
6706
+ webmonitor_event: "webmonitor_event";
6707
+ }>;
6708
+ entityId: z.ZodString;
6709
+ }, z.core.$strip>;
6710
+ serializedEvent: z.ZodObject<{
6711
+ integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
6712
+ eventType: z.ZodUnion<readonly [z.ZodEnum<{
6713
+ readonly MESSAGE: "message";
6714
+ readonly APP_MENTION: "app_mention";
6715
+ readonly REACTION_ADDED: "reaction_added";
6716
+ }>, z.ZodEnum<{
6717
+ readonly PUSH: "push";
6718
+ readonly PR_OPENED: "pull_request.opened";
6719
+ readonly PR_MERGED: "pull_request.merged";
6720
+ readonly PR_CLOSED: "pull_request.closed";
6721
+ readonly PR_SYNCHRONIZE: "pull_request.synchronize";
6722
+ }>, z.ZodEnum<{
6723
+ readonly ISSUE_CREATED: "issue.created";
6724
+ readonly ISSUE_UPDATED: "issue.updated";
6725
+ readonly COMMENT_CREATED: "comment.created";
6726
+ }>, z.ZodEnum<{
6727
+ readonly EMAIL_RECEIVED: "email.received";
6728
+ }>, z.ZodEnum<{
6729
+ readonly USER_CREATED: "user.created";
6730
+ readonly USER_UPDATED: "user.updated";
6731
+ readonly USER_DELETED: "user.deleted";
6732
+ readonly ORGANIZATION_CREATED: "organization.created";
6733
+ readonly ORGANIZATION_MEMBERSHIP_CREATED: "organization_membership.created";
6734
+ readonly ORGANIZATION_MEMBERSHIP_UPDATED: "organization_membership.updated";
6735
+ readonly ORGANIZATION_MEMBERSHIP_DELETED: "organization_membership.deleted";
6736
+ readonly INVITATION_CREATED: "invitation.created";
6737
+ readonly INVITATION_ACCEPTED: "invitation.accepted";
6738
+ readonly INVITATION_RESENT: "invitation.resent";
6739
+ readonly INVITATION_REVOKED: "invitation.revoked";
6740
+ }>, z.ZodLiteral<"webhook">, z.ZodLiteral<"cron">, z.ZodLiteral<"webmonitor">, z.ZodLiteral<"manual_sample">]>;
6741
+ formattedContent: z.ZodString;
6742
+ debugLog: z.ZodString;
6743
+ display: z.ZodOptional<z.ZodObject<{
6744
+ title: z.ZodString;
6745
+ subtitle: z.ZodString;
6746
+ }, z.core.$strip>>;
6747
+ data: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
6748
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
6749
+ channelId: z.ZodString;
6750
+ channelName: z.ZodNullable<z.ZodString>;
6751
+ userId: z.ZodString;
6752
+ userName: z.ZodNullable<z.ZodString>;
6753
+ text: z.ZodString;
6754
+ timestamp: z.ZodString;
6755
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6756
+ threadTimestamp: z.ZodNullable<z.ZodString>;
6757
+ teamId: z.ZodString;
6758
+ permalink: z.ZodNullable<z.ZodString>;
6759
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
6760
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
6761
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
6762
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
6763
+ eventType: z.ZodLiteral<"message">;
6764
+ }, z.core.$strip>, z.ZodObject<{
6765
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
6766
+ channelId: z.ZodString;
6767
+ channelName: z.ZodNullable<z.ZodString>;
6768
+ userId: z.ZodString;
6769
+ userName: z.ZodNullable<z.ZodString>;
6770
+ text: z.ZodString;
6771
+ timestamp: z.ZodString;
6772
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6773
+ threadTimestamp: z.ZodNullable<z.ZodString>;
6774
+ teamId: z.ZodString;
6775
+ permalink: z.ZodNullable<z.ZodString>;
6776
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
6777
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
6778
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
6779
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
6780
+ eventType: z.ZodLiteral<"app_mention">;
6781
+ }, z.core.$strip>, z.ZodObject<{
6782
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
6783
+ channelId: z.ZodString;
6784
+ channelName: z.ZodNullable<z.ZodString>;
6785
+ userId: z.ZodString;
6786
+ userName: z.ZodNullable<z.ZodString>;
6787
+ text: z.ZodString;
6788
+ timestamp: z.ZodString;
6789
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6790
+ threadTimestamp: z.ZodNullable<z.ZodString>;
6791
+ teamId: z.ZodString;
6792
+ permalink: z.ZodNullable<z.ZodString>;
6793
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
6794
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
6795
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
6796
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
6797
+ eventType: z.ZodLiteral<"reaction_added">;
6798
+ reaction: z.ZodString;
6799
+ itemType: z.ZodNullable<z.ZodString>;
6800
+ itemUserId: z.ZodNullable<z.ZodString>;
6801
+ itemChannelId: z.ZodNullable<z.ZodString>;
6802
+ itemTimestamp: z.ZodNullable<z.ZodString>;
6803
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
6804
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
6805
+ username: z.ZodString;
6806
+ installationId: z.ZodNumber;
6807
+ repositoryName: z.ZodString;
6808
+ repository: z.ZodObject<{
6809
+ id: z.ZodNumber;
6810
+ name: z.ZodString;
6811
+ owner: z.ZodString;
6812
+ defaultBranch: z.ZodString;
6813
+ }, z.core.$strip>;
6814
+ sender: z.ZodObject<{
6815
+ login: z.ZodString;
6816
+ email: z.ZodOptional<z.ZodString>;
6817
+ }, z.core.$strip>;
6818
+ eventType: z.ZodLiteral<"push">;
6819
+ branch: z.ZodString;
6820
+ commits: z.ZodArray<z.ZodObject<{
6821
+ sha: z.ZodString;
6822
+ message: z.ZodOptional<z.ZodString>;
6823
+ name: z.ZodString;
6824
+ fileDiffs: z.ZodArray<z.ZodObject<{
6825
+ filename: z.ZodString;
6826
+ diff: z.ZodString;
6827
+ }, z.core.$strip>>;
6828
+ }, z.core.$strip>>;
6829
+ pullRequest: z.ZodOptional<z.ZodUndefined>;
6830
+ }, z.core.$strip>, z.ZodObject<{
6831
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
6832
+ username: z.ZodString;
6833
+ installationId: z.ZodNumber;
6834
+ repositoryName: z.ZodString;
6835
+ repository: z.ZodObject<{
6836
+ id: z.ZodNumber;
6837
+ name: z.ZodString;
6838
+ owner: z.ZodString;
6839
+ defaultBranch: z.ZodString;
6840
+ }, z.core.$strip>;
6841
+ sender: z.ZodObject<{
6842
+ login: z.ZodString;
6843
+ email: z.ZodOptional<z.ZodString>;
6844
+ }, z.core.$strip>;
6845
+ pullRequest: z.ZodObject<{
6846
+ id: z.ZodString;
6847
+ number: z.ZodNumber;
6848
+ title: z.ZodString;
6849
+ body: z.ZodOptional<z.ZodString>;
6850
+ state: z.ZodEnum<{
6851
+ open: "open";
6852
+ closed: "closed";
6853
+ }>;
6854
+ merged: z.ZodBoolean;
6855
+ head: z.ZodObject<{
6856
+ ref: z.ZodString;
6857
+ sha: z.ZodString;
6858
+ }, z.core.$strip>;
6859
+ base: z.ZodObject<{
6860
+ ref: z.ZodString;
6861
+ sha: z.ZodString;
6862
+ }, z.core.$strip>;
6863
+ user: z.ZodObject<{
6864
+ login: z.ZodString;
6865
+ email: z.ZodOptional<z.ZodString>;
6866
+ }, z.core.$strip>;
6867
+ author: z.ZodOptional<z.ZodObject<{
6868
+ login: z.ZodString;
6869
+ email: z.ZodOptional<z.ZodString>;
6870
+ }, z.core.$strip>>;
6871
+ url: z.ZodOptional<z.ZodString>;
6872
+ }, z.core.$strip>;
6873
+ branch: z.ZodOptional<z.ZodString>;
6874
+ commits: z.ZodArray<z.ZodObject<{
6875
+ sha: z.ZodString;
6876
+ message: z.ZodOptional<z.ZodString>;
6877
+ name: z.ZodString;
6878
+ fileDiffs: z.ZodArray<z.ZodObject<{
6879
+ filename: z.ZodString;
6880
+ diff: z.ZodString;
6881
+ }, z.core.$strip>>;
6882
+ }, z.core.$strip>>;
6883
+ eventType: z.ZodLiteral<"pull_request.opened">;
6884
+ }, z.core.$strip>, z.ZodObject<{
6885
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
6886
+ username: z.ZodString;
6887
+ installationId: z.ZodNumber;
6888
+ repositoryName: z.ZodString;
6889
+ repository: z.ZodObject<{
6890
+ id: z.ZodNumber;
6891
+ name: z.ZodString;
6892
+ owner: z.ZodString;
6893
+ defaultBranch: z.ZodString;
6894
+ }, z.core.$strip>;
6895
+ sender: z.ZodObject<{
6896
+ login: z.ZodString;
6897
+ email: z.ZodOptional<z.ZodString>;
6898
+ }, z.core.$strip>;
6899
+ pullRequest: z.ZodObject<{
6900
+ id: z.ZodString;
6901
+ number: z.ZodNumber;
6902
+ title: z.ZodString;
6903
+ body: z.ZodOptional<z.ZodString>;
6904
+ state: z.ZodEnum<{
6905
+ open: "open";
6906
+ closed: "closed";
6907
+ }>;
6908
+ merged: z.ZodBoolean;
6909
+ head: z.ZodObject<{
6910
+ ref: z.ZodString;
6911
+ sha: z.ZodString;
6912
+ }, z.core.$strip>;
6913
+ base: z.ZodObject<{
6914
+ ref: z.ZodString;
6915
+ sha: z.ZodString;
6916
+ }, z.core.$strip>;
6917
+ user: z.ZodObject<{
6918
+ login: z.ZodString;
6919
+ email: z.ZodOptional<z.ZodString>;
6920
+ }, z.core.$strip>;
6921
+ author: z.ZodOptional<z.ZodObject<{
6922
+ login: z.ZodString;
6923
+ email: z.ZodOptional<z.ZodString>;
6924
+ }, z.core.$strip>>;
6925
+ url: z.ZodOptional<z.ZodString>;
6926
+ }, z.core.$strip>;
6927
+ branch: z.ZodOptional<z.ZodString>;
6928
+ commits: z.ZodArray<z.ZodObject<{
6929
+ sha: z.ZodString;
6930
+ message: z.ZodOptional<z.ZodString>;
6931
+ name: z.ZodString;
6932
+ fileDiffs: z.ZodArray<z.ZodObject<{
6933
+ filename: z.ZodString;
6934
+ diff: z.ZodString;
6935
+ }, z.core.$strip>>;
6936
+ }, z.core.$strip>>;
6937
+ eventType: z.ZodLiteral<"pull_request.synchronize">;
6938
+ }, z.core.$strip>, z.ZodObject<{
6939
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
6940
+ username: z.ZodString;
6941
+ installationId: z.ZodNumber;
6942
+ repositoryName: z.ZodString;
6943
+ repository: z.ZodObject<{
6944
+ id: z.ZodNumber;
6945
+ name: z.ZodString;
6946
+ owner: z.ZodString;
6947
+ defaultBranch: z.ZodString;
6948
+ }, z.core.$strip>;
6949
+ sender: z.ZodObject<{
6950
+ login: z.ZodString;
6951
+ email: z.ZodOptional<z.ZodString>;
6952
+ }, z.core.$strip>;
6953
+ pullRequest: z.ZodObject<{
6954
+ id: z.ZodString;
6955
+ number: z.ZodNumber;
6956
+ title: z.ZodString;
6957
+ body: z.ZodOptional<z.ZodString>;
6958
+ state: z.ZodEnum<{
6959
+ open: "open";
6960
+ closed: "closed";
6961
+ }>;
6962
+ merged: z.ZodBoolean;
6963
+ head: z.ZodObject<{
6964
+ ref: z.ZodString;
6965
+ sha: z.ZodString;
6966
+ }, z.core.$strip>;
6967
+ base: z.ZodObject<{
6968
+ ref: z.ZodString;
6969
+ sha: z.ZodString;
6970
+ }, z.core.$strip>;
6971
+ user: z.ZodObject<{
6972
+ login: z.ZodString;
6973
+ email: z.ZodOptional<z.ZodString>;
6974
+ }, z.core.$strip>;
6975
+ author: z.ZodOptional<z.ZodObject<{
6976
+ login: z.ZodString;
6977
+ email: z.ZodOptional<z.ZodString>;
6978
+ }, z.core.$strip>>;
6979
+ url: z.ZodOptional<z.ZodString>;
6980
+ }, z.core.$strip>;
6981
+ branch: z.ZodOptional<z.ZodString>;
6982
+ commits: z.ZodArray<z.ZodObject<{
6983
+ sha: z.ZodString;
6984
+ message: z.ZodOptional<z.ZodString>;
6985
+ name: z.ZodString;
6986
+ fileDiffs: z.ZodArray<z.ZodObject<{
6987
+ filename: z.ZodString;
6988
+ diff: z.ZodString;
6989
+ }, z.core.$strip>>;
6990
+ }, z.core.$strip>>;
6991
+ eventType: z.ZodLiteral<"pull_request.closed">;
6992
+ }, z.core.$strip>, z.ZodObject<{
6993
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
6994
+ username: z.ZodString;
6995
+ installationId: z.ZodNumber;
6996
+ repositoryName: z.ZodString;
6997
+ repository: z.ZodObject<{
6998
+ id: z.ZodNumber;
6999
+ name: z.ZodString;
7000
+ owner: z.ZodString;
7001
+ defaultBranch: z.ZodString;
7002
+ }, z.core.$strip>;
7003
+ sender: z.ZodObject<{
7004
+ login: z.ZodString;
7005
+ email: z.ZodOptional<z.ZodString>;
7006
+ }, z.core.$strip>;
7007
+ pullRequest: z.ZodObject<{
7008
+ id: z.ZodString;
7009
+ number: z.ZodNumber;
7010
+ title: z.ZodString;
7011
+ body: z.ZodOptional<z.ZodString>;
7012
+ state: z.ZodEnum<{
7013
+ open: "open";
7014
+ closed: "closed";
7015
+ }>;
7016
+ merged: z.ZodBoolean;
7017
+ head: z.ZodObject<{
7018
+ ref: z.ZodString;
7019
+ sha: z.ZodString;
7020
+ }, z.core.$strip>;
7021
+ base: z.ZodObject<{
7022
+ ref: z.ZodString;
7023
+ sha: z.ZodString;
7024
+ }, z.core.$strip>;
7025
+ user: z.ZodObject<{
7026
+ login: z.ZodString;
7027
+ email: z.ZodOptional<z.ZodString>;
7028
+ }, z.core.$strip>;
7029
+ author: z.ZodOptional<z.ZodObject<{
7030
+ login: z.ZodString;
7031
+ email: z.ZodOptional<z.ZodString>;
7032
+ }, z.core.$strip>>;
7033
+ url: z.ZodOptional<z.ZodString>;
7034
+ }, z.core.$strip>;
7035
+ branch: z.ZodOptional<z.ZodString>;
7036
+ commits: z.ZodArray<z.ZodObject<{
7037
+ sha: z.ZodString;
7038
+ message: z.ZodOptional<z.ZodString>;
7039
+ name: z.ZodString;
7040
+ fileDiffs: z.ZodArray<z.ZodObject<{
7041
+ filename: z.ZodString;
7042
+ diff: z.ZodString;
7043
+ }, z.core.$strip>>;
7044
+ }, z.core.$strip>>;
7045
+ eventType: z.ZodLiteral<"pull_request.merged">;
7046
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
7047
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GMAIL>;
7048
+ eventType: z.ZodEnum<{
7049
+ readonly EMAIL_RECEIVED: "email.received";
7050
+ }>;
7051
+ id: z.ZodString;
7052
+ threadId: z.ZodString;
7053
+ subject: z.ZodString;
7054
+ from: z.ZodString;
7055
+ to: z.ZodString;
7056
+ date: z.ZodString;
7057
+ internalDate: z.ZodString;
7058
+ messageId: z.ZodString;
7059
+ body: z.ZodString;
7060
+ snippet: z.ZodString;
7061
+ labelIds: z.ZodArray<z.ZodString>;
7062
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
7063
+ attachmentId: z.ZodString;
7064
+ filename: z.ZodString;
7065
+ mimeType: z.ZodString;
7066
+ contentId: z.ZodOptional<z.ZodString>;
7067
+ isInline: z.ZodBoolean;
7068
+ }, z.core.$strip>>>;
7069
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
7070
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
7071
+ actor: z.ZodObject<{
7072
+ id: z.ZodString;
7073
+ name: z.ZodString;
7074
+ email: z.ZodString;
7075
+ url: z.ZodString;
7076
+ type: z.ZodString;
7077
+ }, z.core.$strip>;
7078
+ createdAt: z.ZodString;
7079
+ url: z.ZodOptional<z.ZodString>;
7080
+ organizationId: z.ZodString;
7081
+ webhookTimestamp: z.ZodNumber;
7082
+ webhookId: z.ZodString;
7083
+ eventType: z.ZodLiteral<"issue.created">;
7084
+ action: z.ZodLiteral<"create">;
7085
+ type: z.ZodLiteral<"Issue">;
7086
+ data: z.ZodObject<{
7087
+ id: z.ZodString;
7088
+ createdAt: z.ZodString;
7089
+ updatedAt: z.ZodString;
7090
+ number: z.ZodNumber;
7091
+ title: z.ZodString;
7092
+ priority: z.ZodNumber;
7093
+ sortOrder: z.ZodNumber;
7094
+ prioritySortOrder: z.ZodNumber;
7095
+ slaType: z.ZodString;
7096
+ addedToTeamAt: z.ZodString;
7097
+ trashed: z.ZodBoolean;
7098
+ labelIds: z.ZodArray<z.ZodString>;
7099
+ teamId: z.ZodString;
7100
+ previousIdentifiers: z.ZodArray<z.ZodString>;
7101
+ stateId: z.ZodString;
7102
+ reactionData: z.ZodArray<z.ZodAny>;
7103
+ priorityLabel: z.ZodString;
7104
+ botActor: z.ZodOptional<z.ZodString>;
7105
+ identifier: z.ZodString;
7106
+ url: z.ZodString;
7107
+ subscriberIds: z.ZodArray<z.ZodString>;
7108
+ state: z.ZodObject<{
7109
+ id: z.ZodString;
7110
+ color: z.ZodString;
7111
+ name: z.ZodString;
7112
+ type: z.ZodString;
7113
+ }, z.core.$strip>;
7114
+ team: z.ZodObject<{
7115
+ id: z.ZodString;
7116
+ key: z.ZodString;
7117
+ name: z.ZodString;
7118
+ }, z.core.$strip>;
7119
+ labels: z.ZodArray<z.ZodAny>;
7120
+ description: z.ZodOptional<z.ZodString>;
7121
+ descriptionData: z.ZodOptional<z.ZodString>;
7122
+ assignee: z.ZodOptional<z.ZodObject<{
7123
+ id: z.ZodString;
7124
+ name: z.ZodString;
7125
+ }, z.core.$strip>>;
7126
+ projectId: z.ZodOptional<z.ZodString>;
7127
+ }, z.core.$strip>;
7128
+ }, z.core.$strip>, z.ZodObject<{
7129
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
7130
+ actor: z.ZodObject<{
7131
+ id: z.ZodString;
7132
+ name: z.ZodString;
7133
+ email: z.ZodString;
7134
+ url: z.ZodString;
7135
+ type: z.ZodString;
7136
+ }, z.core.$strip>;
7137
+ createdAt: z.ZodString;
7138
+ url: z.ZodOptional<z.ZodString>;
7139
+ organizationId: z.ZodString;
7140
+ webhookTimestamp: z.ZodNumber;
7141
+ webhookId: z.ZodString;
7142
+ eventType: z.ZodLiteral<"issue.updated">;
7143
+ action: z.ZodLiteral<"update">;
7144
+ type: z.ZodLiteral<"Issue">;
7145
+ data: z.ZodObject<{
7146
+ id: z.ZodString;
7147
+ createdAt: z.ZodString;
7148
+ updatedAt: z.ZodString;
7149
+ number: z.ZodNumber;
7150
+ title: z.ZodString;
7151
+ priority: z.ZodNumber;
7152
+ sortOrder: z.ZodNumber;
7153
+ prioritySortOrder: z.ZodNumber;
7154
+ slaType: z.ZodString;
7155
+ addedToTeamAt: z.ZodString;
7156
+ trashed: z.ZodBoolean;
7157
+ labelIds: z.ZodArray<z.ZodString>;
7158
+ teamId: z.ZodString;
7159
+ previousIdentifiers: z.ZodArray<z.ZodString>;
7160
+ stateId: z.ZodString;
7161
+ reactionData: z.ZodArray<z.ZodAny>;
7162
+ priorityLabel: z.ZodString;
7163
+ botActor: z.ZodOptional<z.ZodString>;
7164
+ identifier: z.ZodString;
7165
+ url: z.ZodString;
7166
+ subscriberIds: z.ZodArray<z.ZodString>;
7167
+ state: z.ZodObject<{
7168
+ id: z.ZodString;
7169
+ color: z.ZodString;
7170
+ name: z.ZodString;
7171
+ type: z.ZodString;
7172
+ }, z.core.$strip>;
7173
+ team: z.ZodObject<{
7174
+ id: z.ZodString;
7175
+ key: z.ZodString;
7176
+ name: z.ZodString;
7177
+ }, z.core.$strip>;
7178
+ labels: z.ZodArray<z.ZodAny>;
7179
+ description: z.ZodOptional<z.ZodString>;
7180
+ descriptionData: z.ZodOptional<z.ZodString>;
7181
+ assignee: z.ZodOptional<z.ZodObject<{
7182
+ id: z.ZodString;
7183
+ name: z.ZodString;
7184
+ }, z.core.$strip>>;
7185
+ projectId: z.ZodOptional<z.ZodString>;
7186
+ }, z.core.$strip>;
7187
+ }, z.core.$strip>, z.ZodObject<{
7188
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
7189
+ actor: z.ZodObject<{
7190
+ id: z.ZodString;
7191
+ name: z.ZodString;
7192
+ email: z.ZodString;
7193
+ url: z.ZodString;
7194
+ type: z.ZodString;
7195
+ }, z.core.$strip>;
7196
+ createdAt: z.ZodString;
7197
+ url: z.ZodOptional<z.ZodString>;
7198
+ organizationId: z.ZodString;
7199
+ webhookTimestamp: z.ZodNumber;
7200
+ webhookId: z.ZodString;
7201
+ eventType: z.ZodLiteral<"comment.created">;
7202
+ action: z.ZodLiteral<"create">;
7203
+ type: z.ZodLiteral<"Comment">;
7204
+ data: z.ZodObject<{
7205
+ id: z.ZodString;
7206
+ body: z.ZodOptional<z.ZodString>;
7207
+ issueId: z.ZodOptional<z.ZodString>;
7208
+ }, z.core.$loose>;
7209
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
7210
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
7211
+ eventId: z.ZodString;
7212
+ createdAt: z.ZodString;
7213
+ eventType: z.ZodLiteral<"user.created">;
7214
+ user: z.ZodObject<{
7215
+ id: z.ZodString;
7216
+ email: z.ZodString;
7217
+ firstName: z.ZodOptional<z.ZodString>;
7218
+ lastName: z.ZodOptional<z.ZodString>;
7219
+ emailVerified: z.ZodBoolean;
7220
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
7221
+ }, z.core.$strip>;
7222
+ }, z.core.$strip>, z.ZodObject<{
7223
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
7224
+ eventId: z.ZodString;
7225
+ createdAt: z.ZodString;
7226
+ eventType: z.ZodLiteral<"user.updated">;
7227
+ user: z.ZodObject<{
7228
+ id: z.ZodString;
7229
+ email: z.ZodString;
7230
+ firstName: z.ZodOptional<z.ZodString>;
7231
+ lastName: z.ZodOptional<z.ZodString>;
7232
+ emailVerified: z.ZodBoolean;
7233
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
7234
+ }, z.core.$strip>;
7235
+ }, z.core.$strip>, z.ZodObject<{
7236
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
7237
+ eventId: z.ZodString;
7238
+ createdAt: z.ZodString;
7239
+ eventType: z.ZodLiteral<"user.deleted">;
7240
+ user: z.ZodObject<{
7241
+ id: z.ZodString;
7242
+ email: z.ZodString;
7243
+ firstName: z.ZodOptional<z.ZodString>;
7244
+ lastName: z.ZodOptional<z.ZodString>;
7245
+ emailVerified: z.ZodBoolean;
7246
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
7247
+ }, z.core.$strip>;
7248
+ }, z.core.$strip>, z.ZodObject<{
7249
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
7250
+ eventId: z.ZodString;
7251
+ createdAt: z.ZodString;
7252
+ eventType: z.ZodLiteral<"organization_membership.created">;
7253
+ membership: z.ZodObject<{
7254
+ id: z.ZodString;
7255
+ userId: z.ZodString;
7256
+ organizationId: z.ZodString;
7257
+ role: z.ZodObject<{
7258
+ slug: z.ZodString;
7259
+ }, z.core.$strip>;
7260
+ status: z.ZodString;
7261
+ }, z.core.$strip>;
7262
+ }, z.core.$strip>, z.ZodObject<{
7263
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
7264
+ eventId: z.ZodString;
7265
+ createdAt: z.ZodString;
7266
+ eventType: z.ZodLiteral<"organization_membership.updated">;
7267
+ membership: z.ZodObject<{
7268
+ id: z.ZodString;
7269
+ userId: z.ZodString;
7270
+ organizationId: z.ZodString;
7271
+ role: z.ZodObject<{
7272
+ slug: z.ZodString;
7273
+ }, z.core.$strip>;
7274
+ status: z.ZodString;
7275
+ }, z.core.$strip>;
7276
+ }, z.core.$strip>, z.ZodObject<{
7277
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
7278
+ eventId: z.ZodString;
7279
+ createdAt: z.ZodString;
7280
+ eventType: z.ZodLiteral<"organization_membership.deleted">;
7281
+ membership: z.ZodObject<{
7282
+ id: z.ZodString;
7283
+ userId: z.ZodString;
7284
+ organizationId: z.ZodString;
7285
+ role: z.ZodObject<{
7286
+ slug: z.ZodString;
7287
+ }, z.core.$strip>;
7288
+ status: z.ZodString;
7289
+ }, z.core.$strip>;
7290
+ }, z.core.$strip>, z.ZodObject<{
7291
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
7292
+ eventId: z.ZodString;
7293
+ createdAt: z.ZodString;
7294
+ eventType: z.ZodLiteral<"invitation.created">;
7295
+ invitation: z.ZodObject<{
7296
+ id: z.ZodString;
7297
+ email: z.ZodString;
7298
+ organizationId: z.ZodString;
7299
+ inviterEmail: z.ZodOptional<z.ZodString>;
7300
+ state: z.ZodString;
7301
+ acceptedAt: z.ZodOptional<z.ZodString>;
7302
+ }, z.core.$strip>;
7303
+ user: z.ZodOptional<z.ZodObject<{
7304
+ id: z.ZodString;
7305
+ email: z.ZodString;
7306
+ firstName: z.ZodOptional<z.ZodString>;
7307
+ lastName: z.ZodOptional<z.ZodString>;
7308
+ emailVerified: z.ZodBoolean;
7309
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
7310
+ }, z.core.$strip>>;
7311
+ }, z.core.$strip>, z.ZodObject<{
7312
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
7313
+ eventId: z.ZodString;
7314
+ createdAt: z.ZodString;
7315
+ eventType: z.ZodLiteral<"invitation.accepted">;
7316
+ invitation: z.ZodObject<{
7317
+ id: z.ZodString;
7318
+ email: z.ZodString;
7319
+ organizationId: z.ZodString;
7320
+ inviterEmail: z.ZodOptional<z.ZodString>;
7321
+ state: z.ZodString;
7322
+ acceptedAt: z.ZodOptional<z.ZodString>;
7323
+ }, z.core.$strip>;
7324
+ user: z.ZodOptional<z.ZodObject<{
7325
+ id: z.ZodString;
7326
+ email: z.ZodString;
7327
+ firstName: z.ZodOptional<z.ZodString>;
7328
+ lastName: z.ZodOptional<z.ZodString>;
7329
+ emailVerified: z.ZodBoolean;
7330
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
7331
+ }, z.core.$strip>>;
7332
+ }, z.core.$strip>, z.ZodObject<{
7333
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
7334
+ eventId: z.ZodString;
7335
+ createdAt: z.ZodString;
7336
+ eventType: z.ZodLiteral<"invitation.resent">;
7337
+ invitation: z.ZodObject<{
7338
+ id: z.ZodString;
7339
+ email: z.ZodString;
7340
+ organizationId: z.ZodString;
7341
+ inviterEmail: z.ZodOptional<z.ZodString>;
7342
+ state: z.ZodString;
7343
+ acceptedAt: z.ZodOptional<z.ZodString>;
7344
+ }, z.core.$strip>;
7345
+ user: z.ZodOptional<z.ZodObject<{
7346
+ id: z.ZodString;
7347
+ email: z.ZodString;
7348
+ firstName: z.ZodOptional<z.ZodString>;
7349
+ lastName: z.ZodOptional<z.ZodString>;
7350
+ emailVerified: z.ZodBoolean;
7351
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
7352
+ }, z.core.$strip>>;
7353
+ }, z.core.$strip>, z.ZodObject<{
7354
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
7355
+ eventId: z.ZodString;
7356
+ createdAt: z.ZodString;
7357
+ eventType: z.ZodLiteral<"invitation.revoked">;
7358
+ invitation: z.ZodObject<{
7359
+ id: z.ZodString;
7360
+ email: z.ZodString;
7361
+ organizationId: z.ZodString;
7362
+ inviterEmail: z.ZodOptional<z.ZodString>;
7363
+ state: z.ZodString;
7364
+ acceptedAt: z.ZodOptional<z.ZodString>;
7365
+ }, z.core.$strip>;
7366
+ user: z.ZodOptional<z.ZodObject<{
7367
+ id: z.ZodString;
7368
+ email: z.ZodString;
7369
+ firstName: z.ZodOptional<z.ZodString>;
7370
+ lastName: z.ZodOptional<z.ZodString>;
7371
+ emailVerified: z.ZodBoolean;
7372
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
7373
+ }, z.core.$strip>>;
7374
+ }, z.core.$strip>, z.ZodObject<{
7375
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
7376
+ eventId: z.ZodString;
7377
+ createdAt: z.ZodString;
7378
+ eventType: z.ZodLiteral<"organization.created">;
7379
+ organization: z.ZodObject<{
7380
+ id: z.ZodString;
7381
+ name: z.ZodString;
7382
+ }, z.core.$strip>;
7383
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
7384
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
7385
+ eventType: z.ZodLiteral<"webhook">;
7386
+ body: z.ZodUnknown;
7387
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
7388
+ method: z.ZodString;
7389
+ }, z.core.$strip>, z.ZodObject<{
7390
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.CRON_JOB>;
7391
+ eventType: z.ZodLiteral<"cron">;
7392
+ inputId: z.ZodString;
7393
+ isManualTrigger: z.ZodOptional<z.ZodBoolean>;
7394
+ manualContext: z.ZodOptional<z.ZodString>;
7395
+ }, z.core.$strip>, z.ZodObject<{
7396
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
7397
+ eventType: z.ZodLiteral<"webmonitor">;
7398
+ inputId: z.ZodString;
7399
+ query: z.ZodString;
7400
+ frequency: z.ZodObject<{
7401
+ number: z.ZodNumber;
7402
+ unit: z.ZodEnum<{
7403
+ hour: "hour";
7404
+ day: "day";
7405
+ week: "week";
7406
+ }>;
7407
+ }, z.core.$strip>;
7408
+ monitorId: z.ZodString;
7409
+ eventGroupId: z.ZodString;
7410
+ metadata: z.ZodRecord<z.ZodString, z.ZodString>;
7411
+ outputType: z.ZodEnum<{
7412
+ json: "json";
7413
+ text: "text";
7414
+ }>;
7415
+ rawPayload: z.ZodOptional<z.ZodString>;
7416
+ payload: z.ZodUnknown;
7417
+ eventDate: z.ZodString;
7418
+ sourceUrls: z.ZodArray<z.ZodString>;
7419
+ }, z.core.$strip>, z.ZodObject<{
7420
+ integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
7421
+ eventType: z.ZodLiteral<"manual_sample">;
7422
+ }, z.core.$strip>]>;
7423
+ }, z.core.$strip>;
7424
+ }, z.core.$strip>;
7425
+ export type SdkSampleEventRef = z.infer<typeof sdkSampleEventRefSchema>;
7426
+ export declare const sdkSampleEventsResponseSchema: z.ZodObject<{
7427
+ events: z.ZodArray<z.ZodObject<{
7428
+ entity: z.ZodObject<{
7429
+ entityType: z.ZodEnum<{
7430
+ run_history_raw_event: "run_history_raw_event";
7431
+ slack_message_event: "slack_message_event";
7432
+ github_event: "github_event";
7433
+ linear_event: "linear_event";
7434
+ gmail_event: "gmail_event";
7435
+ workos_event: "workos_event";
7436
+ webmonitor_event: "webmonitor_event";
7437
+ }>;
7438
+ entityId: z.ZodString;
7439
+ }, z.core.$strip>;
7440
+ serializedEvent: z.ZodObject<{
7441
+ integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
7442
+ eventType: z.ZodUnion<readonly [z.ZodEnum<{
7443
+ readonly MESSAGE: "message";
7444
+ readonly APP_MENTION: "app_mention";
7445
+ readonly REACTION_ADDED: "reaction_added";
7446
+ }>, z.ZodEnum<{
7447
+ readonly PUSH: "push";
7448
+ readonly PR_OPENED: "pull_request.opened";
7449
+ readonly PR_MERGED: "pull_request.merged";
7450
+ readonly PR_CLOSED: "pull_request.closed";
7451
+ readonly PR_SYNCHRONIZE: "pull_request.synchronize";
7452
+ }>, z.ZodEnum<{
7453
+ readonly ISSUE_CREATED: "issue.created";
7454
+ readonly ISSUE_UPDATED: "issue.updated";
7455
+ readonly COMMENT_CREATED: "comment.created";
7456
+ }>, z.ZodEnum<{
7457
+ readonly EMAIL_RECEIVED: "email.received";
7458
+ }>, z.ZodEnum<{
7459
+ readonly USER_CREATED: "user.created";
7460
+ readonly USER_UPDATED: "user.updated";
7461
+ readonly USER_DELETED: "user.deleted";
7462
+ readonly ORGANIZATION_CREATED: "organization.created";
7463
+ readonly ORGANIZATION_MEMBERSHIP_CREATED: "organization_membership.created";
7464
+ readonly ORGANIZATION_MEMBERSHIP_UPDATED: "organization_membership.updated";
7465
+ readonly ORGANIZATION_MEMBERSHIP_DELETED: "organization_membership.deleted";
7466
+ readonly INVITATION_CREATED: "invitation.created";
7467
+ readonly INVITATION_ACCEPTED: "invitation.accepted";
7468
+ readonly INVITATION_RESENT: "invitation.resent";
7469
+ readonly INVITATION_REVOKED: "invitation.revoked";
7470
+ }>, z.ZodLiteral<"webhook">, z.ZodLiteral<"cron">, z.ZodLiteral<"webmonitor">, z.ZodLiteral<"manual_sample">]>;
7471
+ formattedContent: z.ZodString;
7472
+ debugLog: z.ZodString;
7473
+ display: z.ZodOptional<z.ZodObject<{
7474
+ title: z.ZodString;
7475
+ subtitle: z.ZodString;
7476
+ }, z.core.$strip>>;
7477
+ data: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
7478
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
7479
+ channelId: z.ZodString;
7480
+ channelName: z.ZodNullable<z.ZodString>;
7481
+ userId: z.ZodString;
7482
+ userName: z.ZodNullable<z.ZodString>;
7483
+ text: z.ZodString;
7484
+ timestamp: z.ZodString;
7485
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7486
+ threadTimestamp: z.ZodNullable<z.ZodString>;
7487
+ teamId: z.ZodString;
7488
+ permalink: z.ZodNullable<z.ZodString>;
7489
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
7490
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
7491
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
7492
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
7493
+ eventType: z.ZodLiteral<"message">;
7494
+ }, z.core.$strip>, z.ZodObject<{
7495
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
7496
+ channelId: z.ZodString;
7497
+ channelName: z.ZodNullable<z.ZodString>;
7498
+ userId: z.ZodString;
7499
+ userName: z.ZodNullable<z.ZodString>;
7500
+ text: z.ZodString;
7501
+ timestamp: z.ZodString;
7502
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7503
+ threadTimestamp: z.ZodNullable<z.ZodString>;
7504
+ teamId: z.ZodString;
7505
+ permalink: z.ZodNullable<z.ZodString>;
7506
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
7507
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
7508
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
7509
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
7510
+ eventType: z.ZodLiteral<"app_mention">;
7511
+ }, z.core.$strip>, z.ZodObject<{
7512
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
7513
+ channelId: z.ZodString;
7514
+ channelName: z.ZodNullable<z.ZodString>;
7515
+ userId: z.ZodString;
7516
+ userName: z.ZodNullable<z.ZodString>;
7517
+ text: z.ZodString;
7518
+ timestamp: z.ZodString;
7519
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7520
+ threadTimestamp: z.ZodNullable<z.ZodString>;
7521
+ teamId: z.ZodString;
7522
+ permalink: z.ZodNullable<z.ZodString>;
7523
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
7524
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
7525
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
7526
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
7527
+ eventType: z.ZodLiteral<"reaction_added">;
7528
+ reaction: z.ZodString;
7529
+ itemType: z.ZodNullable<z.ZodString>;
7530
+ itemUserId: z.ZodNullable<z.ZodString>;
7531
+ itemChannelId: z.ZodNullable<z.ZodString>;
7532
+ itemTimestamp: z.ZodNullable<z.ZodString>;
7533
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
7534
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
7535
+ username: z.ZodString;
7536
+ installationId: z.ZodNumber;
7537
+ repositoryName: z.ZodString;
7538
+ repository: z.ZodObject<{
7539
+ id: z.ZodNumber;
7540
+ name: z.ZodString;
7541
+ owner: z.ZodString;
7542
+ defaultBranch: z.ZodString;
7543
+ }, z.core.$strip>;
7544
+ sender: z.ZodObject<{
7545
+ login: z.ZodString;
7546
+ email: z.ZodOptional<z.ZodString>;
7547
+ }, z.core.$strip>;
7548
+ eventType: z.ZodLiteral<"push">;
7549
+ branch: z.ZodString;
7550
+ commits: z.ZodArray<z.ZodObject<{
7551
+ sha: z.ZodString;
7552
+ message: z.ZodOptional<z.ZodString>;
7553
+ name: z.ZodString;
7554
+ fileDiffs: z.ZodArray<z.ZodObject<{
7555
+ filename: z.ZodString;
7556
+ diff: z.ZodString;
7557
+ }, z.core.$strip>>;
7558
+ }, z.core.$strip>>;
7559
+ pullRequest: z.ZodOptional<z.ZodUndefined>;
7560
+ }, z.core.$strip>, z.ZodObject<{
7561
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
7562
+ username: z.ZodString;
7563
+ installationId: z.ZodNumber;
7564
+ repositoryName: z.ZodString;
7565
+ repository: z.ZodObject<{
7566
+ id: z.ZodNumber;
7567
+ name: z.ZodString;
7568
+ owner: z.ZodString;
7569
+ defaultBranch: z.ZodString;
7570
+ }, z.core.$strip>;
7571
+ sender: z.ZodObject<{
7572
+ login: z.ZodString;
7573
+ email: z.ZodOptional<z.ZodString>;
7574
+ }, z.core.$strip>;
7575
+ pullRequest: z.ZodObject<{
7576
+ id: z.ZodString;
7577
+ number: z.ZodNumber;
7578
+ title: z.ZodString;
7579
+ body: z.ZodOptional<z.ZodString>;
7580
+ state: z.ZodEnum<{
7581
+ open: "open";
7582
+ closed: "closed";
7583
+ }>;
7584
+ merged: z.ZodBoolean;
7585
+ head: z.ZodObject<{
7586
+ ref: z.ZodString;
7587
+ sha: z.ZodString;
7588
+ }, z.core.$strip>;
7589
+ base: z.ZodObject<{
7590
+ ref: z.ZodString;
7591
+ sha: z.ZodString;
7592
+ }, z.core.$strip>;
7593
+ user: z.ZodObject<{
7594
+ login: z.ZodString;
7595
+ email: z.ZodOptional<z.ZodString>;
7596
+ }, z.core.$strip>;
7597
+ author: z.ZodOptional<z.ZodObject<{
7598
+ login: z.ZodString;
7599
+ email: z.ZodOptional<z.ZodString>;
7600
+ }, z.core.$strip>>;
7601
+ url: z.ZodOptional<z.ZodString>;
7602
+ }, z.core.$strip>;
7603
+ branch: z.ZodOptional<z.ZodString>;
7604
+ commits: z.ZodArray<z.ZodObject<{
7605
+ sha: z.ZodString;
7606
+ message: z.ZodOptional<z.ZodString>;
7607
+ name: z.ZodString;
7608
+ fileDiffs: z.ZodArray<z.ZodObject<{
7609
+ filename: z.ZodString;
7610
+ diff: z.ZodString;
7611
+ }, z.core.$strip>>;
7612
+ }, z.core.$strip>>;
7613
+ eventType: z.ZodLiteral<"pull_request.opened">;
7614
+ }, z.core.$strip>, z.ZodObject<{
7615
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
7616
+ username: z.ZodString;
7617
+ installationId: z.ZodNumber;
7618
+ repositoryName: z.ZodString;
7619
+ repository: z.ZodObject<{
7620
+ id: z.ZodNumber;
7621
+ name: z.ZodString;
7622
+ owner: z.ZodString;
7623
+ defaultBranch: z.ZodString;
7624
+ }, z.core.$strip>;
7625
+ sender: z.ZodObject<{
7626
+ login: z.ZodString;
7627
+ email: z.ZodOptional<z.ZodString>;
7628
+ }, z.core.$strip>;
7629
+ pullRequest: z.ZodObject<{
7630
+ id: z.ZodString;
7631
+ number: z.ZodNumber;
7632
+ title: z.ZodString;
7633
+ body: z.ZodOptional<z.ZodString>;
7634
+ state: z.ZodEnum<{
7635
+ open: "open";
7636
+ closed: "closed";
7637
+ }>;
7638
+ merged: z.ZodBoolean;
7639
+ head: z.ZodObject<{
7640
+ ref: z.ZodString;
7641
+ sha: z.ZodString;
7642
+ }, z.core.$strip>;
7643
+ base: z.ZodObject<{
7644
+ ref: z.ZodString;
7645
+ sha: z.ZodString;
7646
+ }, z.core.$strip>;
7647
+ user: z.ZodObject<{
7648
+ login: z.ZodString;
7649
+ email: z.ZodOptional<z.ZodString>;
7650
+ }, z.core.$strip>;
7651
+ author: z.ZodOptional<z.ZodObject<{
7652
+ login: z.ZodString;
7653
+ email: z.ZodOptional<z.ZodString>;
7654
+ }, z.core.$strip>>;
7655
+ url: z.ZodOptional<z.ZodString>;
7656
+ }, z.core.$strip>;
7657
+ branch: z.ZodOptional<z.ZodString>;
7658
+ commits: z.ZodArray<z.ZodObject<{
7659
+ sha: z.ZodString;
7660
+ message: z.ZodOptional<z.ZodString>;
7661
+ name: z.ZodString;
7662
+ fileDiffs: z.ZodArray<z.ZodObject<{
7663
+ filename: z.ZodString;
7664
+ diff: z.ZodString;
7665
+ }, z.core.$strip>>;
7666
+ }, z.core.$strip>>;
7667
+ eventType: z.ZodLiteral<"pull_request.synchronize">;
7668
+ }, z.core.$strip>, z.ZodObject<{
7669
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
7670
+ username: z.ZodString;
7671
+ installationId: z.ZodNumber;
7672
+ repositoryName: z.ZodString;
7673
+ repository: z.ZodObject<{
7674
+ id: z.ZodNumber;
7675
+ name: z.ZodString;
7676
+ owner: z.ZodString;
7677
+ defaultBranch: z.ZodString;
7678
+ }, z.core.$strip>;
7679
+ sender: z.ZodObject<{
7680
+ login: z.ZodString;
7681
+ email: z.ZodOptional<z.ZodString>;
7682
+ }, z.core.$strip>;
7683
+ pullRequest: z.ZodObject<{
7684
+ id: z.ZodString;
7685
+ number: z.ZodNumber;
7686
+ title: z.ZodString;
7687
+ body: z.ZodOptional<z.ZodString>;
7688
+ state: z.ZodEnum<{
7689
+ open: "open";
7690
+ closed: "closed";
7691
+ }>;
7692
+ merged: z.ZodBoolean;
7693
+ head: z.ZodObject<{
7694
+ ref: z.ZodString;
7695
+ sha: z.ZodString;
7696
+ }, z.core.$strip>;
7697
+ base: z.ZodObject<{
7698
+ ref: z.ZodString;
7699
+ sha: z.ZodString;
7700
+ }, z.core.$strip>;
7701
+ user: z.ZodObject<{
7702
+ login: z.ZodString;
7703
+ email: z.ZodOptional<z.ZodString>;
7704
+ }, z.core.$strip>;
7705
+ author: z.ZodOptional<z.ZodObject<{
7706
+ login: z.ZodString;
7707
+ email: z.ZodOptional<z.ZodString>;
7708
+ }, z.core.$strip>>;
7709
+ url: z.ZodOptional<z.ZodString>;
7710
+ }, z.core.$strip>;
7711
+ branch: z.ZodOptional<z.ZodString>;
7712
+ commits: z.ZodArray<z.ZodObject<{
7713
+ sha: z.ZodString;
7714
+ message: z.ZodOptional<z.ZodString>;
7715
+ name: z.ZodString;
7716
+ fileDiffs: z.ZodArray<z.ZodObject<{
7717
+ filename: z.ZodString;
7718
+ diff: z.ZodString;
7719
+ }, z.core.$strip>>;
7720
+ }, z.core.$strip>>;
7721
+ eventType: z.ZodLiteral<"pull_request.closed">;
7722
+ }, z.core.$strip>, z.ZodObject<{
7723
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
7724
+ username: z.ZodString;
7725
+ installationId: z.ZodNumber;
7726
+ repositoryName: z.ZodString;
7727
+ repository: z.ZodObject<{
7728
+ id: z.ZodNumber;
7729
+ name: z.ZodString;
7730
+ owner: z.ZodString;
7731
+ defaultBranch: z.ZodString;
7732
+ }, z.core.$strip>;
7733
+ sender: z.ZodObject<{
7734
+ login: z.ZodString;
7735
+ email: z.ZodOptional<z.ZodString>;
7736
+ }, z.core.$strip>;
7737
+ pullRequest: z.ZodObject<{
7738
+ id: z.ZodString;
7739
+ number: z.ZodNumber;
7740
+ title: z.ZodString;
7741
+ body: z.ZodOptional<z.ZodString>;
7742
+ state: z.ZodEnum<{
7743
+ open: "open";
7744
+ closed: "closed";
7745
+ }>;
7746
+ merged: z.ZodBoolean;
7747
+ head: z.ZodObject<{
7748
+ ref: z.ZodString;
7749
+ sha: z.ZodString;
7750
+ }, z.core.$strip>;
7751
+ base: z.ZodObject<{
7752
+ ref: z.ZodString;
7753
+ sha: z.ZodString;
7754
+ }, z.core.$strip>;
7755
+ user: z.ZodObject<{
7756
+ login: z.ZodString;
7757
+ email: z.ZodOptional<z.ZodString>;
7758
+ }, z.core.$strip>;
7759
+ author: z.ZodOptional<z.ZodObject<{
7760
+ login: z.ZodString;
7761
+ email: z.ZodOptional<z.ZodString>;
7762
+ }, z.core.$strip>>;
7763
+ url: z.ZodOptional<z.ZodString>;
7764
+ }, z.core.$strip>;
7765
+ branch: z.ZodOptional<z.ZodString>;
7766
+ commits: z.ZodArray<z.ZodObject<{
7767
+ sha: z.ZodString;
7768
+ message: z.ZodOptional<z.ZodString>;
7769
+ name: z.ZodString;
7770
+ fileDiffs: z.ZodArray<z.ZodObject<{
7771
+ filename: z.ZodString;
7772
+ diff: z.ZodString;
7773
+ }, z.core.$strip>>;
7774
+ }, z.core.$strip>>;
7775
+ eventType: z.ZodLiteral<"pull_request.merged">;
7776
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
7777
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GMAIL>;
7778
+ eventType: z.ZodEnum<{
7779
+ readonly EMAIL_RECEIVED: "email.received";
7780
+ }>;
7781
+ id: z.ZodString;
7782
+ threadId: z.ZodString;
7783
+ subject: z.ZodString;
7784
+ from: z.ZodString;
7785
+ to: z.ZodString;
7786
+ date: z.ZodString;
7787
+ internalDate: z.ZodString;
7788
+ messageId: z.ZodString;
7789
+ body: z.ZodString;
7790
+ snippet: z.ZodString;
7791
+ labelIds: z.ZodArray<z.ZodString>;
7792
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
7793
+ attachmentId: z.ZodString;
7794
+ filename: z.ZodString;
7795
+ mimeType: z.ZodString;
7796
+ contentId: z.ZodOptional<z.ZodString>;
7797
+ isInline: z.ZodBoolean;
7798
+ }, z.core.$strip>>>;
7799
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
7800
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
7801
+ actor: z.ZodObject<{
7802
+ id: z.ZodString;
7803
+ name: z.ZodString;
7804
+ email: z.ZodString;
7805
+ url: z.ZodString;
7806
+ type: z.ZodString;
7807
+ }, z.core.$strip>;
7808
+ createdAt: z.ZodString;
7809
+ url: z.ZodOptional<z.ZodString>;
7810
+ organizationId: z.ZodString;
7811
+ webhookTimestamp: z.ZodNumber;
7812
+ webhookId: z.ZodString;
7813
+ eventType: z.ZodLiteral<"issue.created">;
7814
+ action: z.ZodLiteral<"create">;
7815
+ type: z.ZodLiteral<"Issue">;
7816
+ data: z.ZodObject<{
7817
+ id: z.ZodString;
7818
+ createdAt: z.ZodString;
7819
+ updatedAt: z.ZodString;
7820
+ number: z.ZodNumber;
7821
+ title: z.ZodString;
7822
+ priority: z.ZodNumber;
7823
+ sortOrder: z.ZodNumber;
7824
+ prioritySortOrder: z.ZodNumber;
7825
+ slaType: z.ZodString;
7826
+ addedToTeamAt: z.ZodString;
7827
+ trashed: z.ZodBoolean;
7828
+ labelIds: z.ZodArray<z.ZodString>;
7829
+ teamId: z.ZodString;
7830
+ previousIdentifiers: z.ZodArray<z.ZodString>;
7831
+ stateId: z.ZodString;
7832
+ reactionData: z.ZodArray<z.ZodAny>;
7833
+ priorityLabel: z.ZodString;
7834
+ botActor: z.ZodOptional<z.ZodString>;
7835
+ identifier: z.ZodString;
7836
+ url: z.ZodString;
7837
+ subscriberIds: z.ZodArray<z.ZodString>;
7838
+ state: z.ZodObject<{
7839
+ id: z.ZodString;
7840
+ color: z.ZodString;
7841
+ name: z.ZodString;
7842
+ type: z.ZodString;
7843
+ }, z.core.$strip>;
7844
+ team: z.ZodObject<{
7845
+ id: z.ZodString;
7846
+ key: z.ZodString;
7847
+ name: z.ZodString;
7848
+ }, z.core.$strip>;
7849
+ labels: z.ZodArray<z.ZodAny>;
7850
+ description: z.ZodOptional<z.ZodString>;
7851
+ descriptionData: z.ZodOptional<z.ZodString>;
7852
+ assignee: z.ZodOptional<z.ZodObject<{
7853
+ id: z.ZodString;
7854
+ name: z.ZodString;
7855
+ }, z.core.$strip>>;
7856
+ projectId: z.ZodOptional<z.ZodString>;
7857
+ }, z.core.$strip>;
7858
+ }, z.core.$strip>, z.ZodObject<{
7859
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
7860
+ actor: z.ZodObject<{
7861
+ id: z.ZodString;
7862
+ name: z.ZodString;
7863
+ email: z.ZodString;
7864
+ url: z.ZodString;
7865
+ type: z.ZodString;
7866
+ }, z.core.$strip>;
7867
+ createdAt: z.ZodString;
7868
+ url: z.ZodOptional<z.ZodString>;
7869
+ organizationId: z.ZodString;
7870
+ webhookTimestamp: z.ZodNumber;
7871
+ webhookId: z.ZodString;
7872
+ eventType: z.ZodLiteral<"issue.updated">;
7873
+ action: z.ZodLiteral<"update">;
7874
+ type: z.ZodLiteral<"Issue">;
7875
+ data: z.ZodObject<{
7876
+ id: z.ZodString;
7877
+ createdAt: z.ZodString;
7878
+ updatedAt: z.ZodString;
7879
+ number: z.ZodNumber;
7880
+ title: z.ZodString;
7881
+ priority: z.ZodNumber;
7882
+ sortOrder: z.ZodNumber;
7883
+ prioritySortOrder: z.ZodNumber;
7884
+ slaType: z.ZodString;
7885
+ addedToTeamAt: z.ZodString;
7886
+ trashed: z.ZodBoolean;
7887
+ labelIds: z.ZodArray<z.ZodString>;
7888
+ teamId: z.ZodString;
7889
+ previousIdentifiers: z.ZodArray<z.ZodString>;
7890
+ stateId: z.ZodString;
7891
+ reactionData: z.ZodArray<z.ZodAny>;
7892
+ priorityLabel: z.ZodString;
7893
+ botActor: z.ZodOptional<z.ZodString>;
7894
+ identifier: z.ZodString;
7895
+ url: z.ZodString;
7896
+ subscriberIds: z.ZodArray<z.ZodString>;
7897
+ state: z.ZodObject<{
7898
+ id: z.ZodString;
7899
+ color: z.ZodString;
7900
+ name: z.ZodString;
7901
+ type: z.ZodString;
7902
+ }, z.core.$strip>;
7903
+ team: z.ZodObject<{
7904
+ id: z.ZodString;
7905
+ key: z.ZodString;
7906
+ name: z.ZodString;
7907
+ }, z.core.$strip>;
7908
+ labels: z.ZodArray<z.ZodAny>;
7909
+ description: z.ZodOptional<z.ZodString>;
7910
+ descriptionData: z.ZodOptional<z.ZodString>;
7911
+ assignee: z.ZodOptional<z.ZodObject<{
7912
+ id: z.ZodString;
7913
+ name: z.ZodString;
7914
+ }, z.core.$strip>>;
7915
+ projectId: z.ZodOptional<z.ZodString>;
7916
+ }, z.core.$strip>;
7917
+ }, z.core.$strip>, z.ZodObject<{
7918
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
7919
+ actor: z.ZodObject<{
7920
+ id: z.ZodString;
7921
+ name: z.ZodString;
7922
+ email: z.ZodString;
7923
+ url: z.ZodString;
7924
+ type: z.ZodString;
7925
+ }, z.core.$strip>;
7926
+ createdAt: z.ZodString;
7927
+ url: z.ZodOptional<z.ZodString>;
7928
+ organizationId: z.ZodString;
7929
+ webhookTimestamp: z.ZodNumber;
7930
+ webhookId: z.ZodString;
7931
+ eventType: z.ZodLiteral<"comment.created">;
7932
+ action: z.ZodLiteral<"create">;
7933
+ type: z.ZodLiteral<"Comment">;
7934
+ data: z.ZodObject<{
7935
+ id: z.ZodString;
7936
+ body: z.ZodOptional<z.ZodString>;
7937
+ issueId: z.ZodOptional<z.ZodString>;
7938
+ }, z.core.$loose>;
7939
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
7940
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
7941
+ eventId: z.ZodString;
7942
+ createdAt: z.ZodString;
7943
+ eventType: z.ZodLiteral<"user.created">;
7944
+ user: z.ZodObject<{
7945
+ id: z.ZodString;
7946
+ email: z.ZodString;
7947
+ firstName: z.ZodOptional<z.ZodString>;
7948
+ lastName: z.ZodOptional<z.ZodString>;
7949
+ emailVerified: z.ZodBoolean;
7950
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
7951
+ }, z.core.$strip>;
7952
+ }, z.core.$strip>, z.ZodObject<{
7953
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
7954
+ eventId: z.ZodString;
7955
+ createdAt: z.ZodString;
7956
+ eventType: z.ZodLiteral<"user.updated">;
7957
+ user: z.ZodObject<{
7958
+ id: z.ZodString;
7959
+ email: z.ZodString;
7960
+ firstName: z.ZodOptional<z.ZodString>;
7961
+ lastName: z.ZodOptional<z.ZodString>;
7962
+ emailVerified: z.ZodBoolean;
7963
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
7964
+ }, z.core.$strip>;
7965
+ }, z.core.$strip>, z.ZodObject<{
7966
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
7967
+ eventId: z.ZodString;
7968
+ createdAt: z.ZodString;
7969
+ eventType: z.ZodLiteral<"user.deleted">;
7970
+ user: z.ZodObject<{
7971
+ id: z.ZodString;
7972
+ email: z.ZodString;
7973
+ firstName: z.ZodOptional<z.ZodString>;
7974
+ lastName: z.ZodOptional<z.ZodString>;
7975
+ emailVerified: z.ZodBoolean;
7976
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
7977
+ }, z.core.$strip>;
7978
+ }, z.core.$strip>, z.ZodObject<{
7979
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
7980
+ eventId: z.ZodString;
7981
+ createdAt: z.ZodString;
7982
+ eventType: z.ZodLiteral<"organization_membership.created">;
7983
+ membership: z.ZodObject<{
7984
+ id: z.ZodString;
7985
+ userId: z.ZodString;
7986
+ organizationId: z.ZodString;
7987
+ role: z.ZodObject<{
7988
+ slug: z.ZodString;
7989
+ }, z.core.$strip>;
7990
+ status: z.ZodString;
7991
+ }, z.core.$strip>;
7992
+ }, z.core.$strip>, z.ZodObject<{
7993
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
7994
+ eventId: z.ZodString;
7995
+ createdAt: z.ZodString;
7996
+ eventType: z.ZodLiteral<"organization_membership.updated">;
7997
+ membership: z.ZodObject<{
7998
+ id: z.ZodString;
7999
+ userId: z.ZodString;
8000
+ organizationId: z.ZodString;
8001
+ role: z.ZodObject<{
8002
+ slug: z.ZodString;
8003
+ }, z.core.$strip>;
8004
+ status: z.ZodString;
8005
+ }, z.core.$strip>;
8006
+ }, z.core.$strip>, z.ZodObject<{
8007
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
8008
+ eventId: z.ZodString;
8009
+ createdAt: z.ZodString;
8010
+ eventType: z.ZodLiteral<"organization_membership.deleted">;
8011
+ membership: z.ZodObject<{
8012
+ id: z.ZodString;
8013
+ userId: z.ZodString;
8014
+ organizationId: z.ZodString;
8015
+ role: z.ZodObject<{
8016
+ slug: z.ZodString;
8017
+ }, z.core.$strip>;
8018
+ status: z.ZodString;
8019
+ }, z.core.$strip>;
8020
+ }, z.core.$strip>, z.ZodObject<{
8021
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
8022
+ eventId: z.ZodString;
8023
+ createdAt: z.ZodString;
8024
+ eventType: z.ZodLiteral<"invitation.created">;
8025
+ invitation: z.ZodObject<{
8026
+ id: z.ZodString;
8027
+ email: z.ZodString;
8028
+ organizationId: z.ZodString;
8029
+ inviterEmail: z.ZodOptional<z.ZodString>;
8030
+ state: z.ZodString;
8031
+ acceptedAt: z.ZodOptional<z.ZodString>;
8032
+ }, z.core.$strip>;
8033
+ user: z.ZodOptional<z.ZodObject<{
8034
+ id: z.ZodString;
8035
+ email: z.ZodString;
8036
+ firstName: z.ZodOptional<z.ZodString>;
8037
+ lastName: z.ZodOptional<z.ZodString>;
8038
+ emailVerified: z.ZodBoolean;
8039
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
8040
+ }, z.core.$strip>>;
8041
+ }, z.core.$strip>, z.ZodObject<{
8042
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
8043
+ eventId: z.ZodString;
8044
+ createdAt: z.ZodString;
8045
+ eventType: z.ZodLiteral<"invitation.accepted">;
8046
+ invitation: z.ZodObject<{
8047
+ id: z.ZodString;
8048
+ email: z.ZodString;
8049
+ organizationId: z.ZodString;
8050
+ inviterEmail: z.ZodOptional<z.ZodString>;
8051
+ state: z.ZodString;
8052
+ acceptedAt: z.ZodOptional<z.ZodString>;
8053
+ }, z.core.$strip>;
8054
+ user: z.ZodOptional<z.ZodObject<{
8055
+ id: z.ZodString;
8056
+ email: z.ZodString;
8057
+ firstName: z.ZodOptional<z.ZodString>;
8058
+ lastName: z.ZodOptional<z.ZodString>;
8059
+ emailVerified: z.ZodBoolean;
8060
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
8061
+ }, z.core.$strip>>;
8062
+ }, z.core.$strip>, z.ZodObject<{
8063
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
8064
+ eventId: z.ZodString;
8065
+ createdAt: z.ZodString;
8066
+ eventType: z.ZodLiteral<"invitation.resent">;
8067
+ invitation: z.ZodObject<{
8068
+ id: z.ZodString;
8069
+ email: z.ZodString;
8070
+ organizationId: z.ZodString;
8071
+ inviterEmail: z.ZodOptional<z.ZodString>;
8072
+ state: z.ZodString;
8073
+ acceptedAt: z.ZodOptional<z.ZodString>;
8074
+ }, z.core.$strip>;
8075
+ user: z.ZodOptional<z.ZodObject<{
8076
+ id: z.ZodString;
8077
+ email: z.ZodString;
8078
+ firstName: z.ZodOptional<z.ZodString>;
8079
+ lastName: z.ZodOptional<z.ZodString>;
8080
+ emailVerified: z.ZodBoolean;
8081
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
8082
+ }, z.core.$strip>>;
8083
+ }, z.core.$strip>, z.ZodObject<{
8084
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
8085
+ eventId: z.ZodString;
8086
+ createdAt: z.ZodString;
8087
+ eventType: z.ZodLiteral<"invitation.revoked">;
8088
+ invitation: z.ZodObject<{
8089
+ id: z.ZodString;
8090
+ email: z.ZodString;
8091
+ organizationId: z.ZodString;
8092
+ inviterEmail: z.ZodOptional<z.ZodString>;
8093
+ state: z.ZodString;
8094
+ acceptedAt: z.ZodOptional<z.ZodString>;
8095
+ }, z.core.$strip>;
8096
+ user: z.ZodOptional<z.ZodObject<{
8097
+ id: z.ZodString;
8098
+ email: z.ZodString;
8099
+ firstName: z.ZodOptional<z.ZodString>;
8100
+ lastName: z.ZodOptional<z.ZodString>;
8101
+ emailVerified: z.ZodBoolean;
8102
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
8103
+ }, z.core.$strip>>;
8104
+ }, z.core.$strip>, z.ZodObject<{
8105
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
8106
+ eventId: z.ZodString;
8107
+ createdAt: z.ZodString;
8108
+ eventType: z.ZodLiteral<"organization.created">;
8109
+ organization: z.ZodObject<{
8110
+ id: z.ZodString;
8111
+ name: z.ZodString;
8112
+ }, z.core.$strip>;
8113
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
8114
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
8115
+ eventType: z.ZodLiteral<"webhook">;
8116
+ body: z.ZodUnknown;
8117
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
8118
+ method: z.ZodString;
8119
+ }, z.core.$strip>, z.ZodObject<{
8120
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.CRON_JOB>;
8121
+ eventType: z.ZodLiteral<"cron">;
8122
+ inputId: z.ZodString;
8123
+ isManualTrigger: z.ZodOptional<z.ZodBoolean>;
8124
+ manualContext: z.ZodOptional<z.ZodString>;
8125
+ }, z.core.$strip>, z.ZodObject<{
8126
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
8127
+ eventType: z.ZodLiteral<"webmonitor">;
8128
+ inputId: z.ZodString;
8129
+ query: z.ZodString;
8130
+ frequency: z.ZodObject<{
8131
+ number: z.ZodNumber;
8132
+ unit: z.ZodEnum<{
8133
+ hour: "hour";
8134
+ day: "day";
8135
+ week: "week";
8136
+ }>;
8137
+ }, z.core.$strip>;
8138
+ monitorId: z.ZodString;
8139
+ eventGroupId: z.ZodString;
8140
+ metadata: z.ZodRecord<z.ZodString, z.ZodString>;
8141
+ outputType: z.ZodEnum<{
8142
+ json: "json";
8143
+ text: "text";
8144
+ }>;
8145
+ rawPayload: z.ZodOptional<z.ZodString>;
8146
+ payload: z.ZodUnknown;
8147
+ eventDate: z.ZodString;
8148
+ sourceUrls: z.ZodArray<z.ZodString>;
8149
+ }, z.core.$strip>, z.ZodObject<{
8150
+ integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
8151
+ eventType: z.ZodLiteral<"manual_sample">;
8152
+ }, z.core.$strip>]>;
8153
+ }, z.core.$strip>;
8154
+ }, z.core.$strip>>;
8155
+ }, z.core.$strip>;
8156
+ export type SdkSampleEventsResponse = z.infer<typeof sdkSampleEventsResponseSchema>;
8157
+ export declare const sdkHydrateSampleEventRequestSchema: z.ZodObject<{
8158
+ entityType: z.ZodString;
8159
+ entityId: z.ZodString;
8160
+ }, z.core.$strip>;
8161
+ export type SdkHydrateSampleEventRequest = z.infer<typeof sdkHydrateSampleEventRequestSchema>;
8162
+ export declare const sdkHydrateSampleEventResponseSchema: z.ZodObject<{
8163
+ event: z.ZodObject<{
8164
+ integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
8165
+ eventType: z.ZodUnion<readonly [z.ZodEnum<{
8166
+ readonly MESSAGE: "message";
8167
+ readonly APP_MENTION: "app_mention";
8168
+ readonly REACTION_ADDED: "reaction_added";
8169
+ }>, z.ZodEnum<{
8170
+ readonly PUSH: "push";
8171
+ readonly PR_OPENED: "pull_request.opened";
8172
+ readonly PR_MERGED: "pull_request.merged";
8173
+ readonly PR_CLOSED: "pull_request.closed";
8174
+ readonly PR_SYNCHRONIZE: "pull_request.synchronize";
8175
+ }>, z.ZodEnum<{
8176
+ readonly ISSUE_CREATED: "issue.created";
8177
+ readonly ISSUE_UPDATED: "issue.updated";
8178
+ readonly COMMENT_CREATED: "comment.created";
8179
+ }>, z.ZodEnum<{
8180
+ readonly EMAIL_RECEIVED: "email.received";
8181
+ }>, z.ZodEnum<{
8182
+ readonly USER_CREATED: "user.created";
8183
+ readonly USER_UPDATED: "user.updated";
8184
+ readonly USER_DELETED: "user.deleted";
8185
+ readonly ORGANIZATION_CREATED: "organization.created";
8186
+ readonly ORGANIZATION_MEMBERSHIP_CREATED: "organization_membership.created";
8187
+ readonly ORGANIZATION_MEMBERSHIP_UPDATED: "organization_membership.updated";
8188
+ readonly ORGANIZATION_MEMBERSHIP_DELETED: "organization_membership.deleted";
8189
+ readonly INVITATION_CREATED: "invitation.created";
8190
+ readonly INVITATION_ACCEPTED: "invitation.accepted";
8191
+ readonly INVITATION_RESENT: "invitation.resent";
8192
+ readonly INVITATION_REVOKED: "invitation.revoked";
8193
+ }>, z.ZodLiteral<"webhook">, z.ZodLiteral<"cron">, z.ZodLiteral<"webmonitor">, z.ZodLiteral<"manual_sample">]>;
8194
+ formattedContent: z.ZodString;
8195
+ debugLog: z.ZodString;
8196
+ display: z.ZodOptional<z.ZodObject<{
8197
+ title: z.ZodString;
8198
+ subtitle: z.ZodString;
8199
+ }, z.core.$strip>>;
8200
+ data: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
8201
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
8202
+ channelId: z.ZodString;
8203
+ channelName: z.ZodNullable<z.ZodString>;
8204
+ userId: z.ZodString;
8205
+ userName: z.ZodNullable<z.ZodString>;
8206
+ text: z.ZodString;
8207
+ timestamp: z.ZodString;
8208
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8209
+ threadTimestamp: z.ZodNullable<z.ZodString>;
8210
+ teamId: z.ZodString;
8211
+ permalink: z.ZodNullable<z.ZodString>;
8212
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
8213
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
8214
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
8215
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
8216
+ eventType: z.ZodLiteral<"message">;
8217
+ }, z.core.$strip>, z.ZodObject<{
8218
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
8219
+ channelId: z.ZodString;
8220
+ channelName: z.ZodNullable<z.ZodString>;
8221
+ userId: z.ZodString;
8222
+ userName: z.ZodNullable<z.ZodString>;
8223
+ text: z.ZodString;
8224
+ timestamp: z.ZodString;
8225
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8226
+ threadTimestamp: z.ZodNullable<z.ZodString>;
8227
+ teamId: z.ZodString;
8228
+ permalink: z.ZodNullable<z.ZodString>;
8229
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
8230
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
8231
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
8232
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
8233
+ eventType: z.ZodLiteral<"app_mention">;
8234
+ }, z.core.$strip>, z.ZodObject<{
8235
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;
8236
+ channelId: z.ZodString;
8237
+ channelName: z.ZodNullable<z.ZodString>;
8238
+ userId: z.ZodString;
8239
+ userName: z.ZodNullable<z.ZodString>;
8240
+ text: z.ZodString;
8241
+ timestamp: z.ZodString;
8242
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8243
+ threadTimestamp: z.ZodNullable<z.ZodString>;
8244
+ teamId: z.ZodString;
8245
+ permalink: z.ZodNullable<z.ZodString>;
8246
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
8247
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
8248
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
8249
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
8250
+ eventType: z.ZodLiteral<"reaction_added">;
8251
+ reaction: z.ZodString;
8252
+ itemType: z.ZodNullable<z.ZodString>;
8253
+ itemUserId: z.ZodNullable<z.ZodString>;
8254
+ itemChannelId: z.ZodNullable<z.ZodString>;
8255
+ itemTimestamp: z.ZodNullable<z.ZodString>;
8256
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
8257
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
8258
+ username: z.ZodString;
8259
+ installationId: z.ZodNumber;
8260
+ repositoryName: z.ZodString;
8261
+ repository: z.ZodObject<{
8262
+ id: z.ZodNumber;
8263
+ name: z.ZodString;
8264
+ owner: z.ZodString;
8265
+ defaultBranch: z.ZodString;
8266
+ }, z.core.$strip>;
8267
+ sender: z.ZodObject<{
8268
+ login: z.ZodString;
8269
+ email: z.ZodOptional<z.ZodString>;
8270
+ }, z.core.$strip>;
8271
+ eventType: z.ZodLiteral<"push">;
8272
+ branch: z.ZodString;
8273
+ commits: z.ZodArray<z.ZodObject<{
8274
+ sha: z.ZodString;
8275
+ message: z.ZodOptional<z.ZodString>;
8276
+ name: z.ZodString;
8277
+ fileDiffs: z.ZodArray<z.ZodObject<{
8278
+ filename: z.ZodString;
8279
+ diff: z.ZodString;
8280
+ }, z.core.$strip>>;
8281
+ }, z.core.$strip>>;
8282
+ pullRequest: z.ZodOptional<z.ZodUndefined>;
8283
+ }, z.core.$strip>, z.ZodObject<{
8284
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
8285
+ username: z.ZodString;
8286
+ installationId: z.ZodNumber;
8287
+ repositoryName: z.ZodString;
8288
+ repository: z.ZodObject<{
8289
+ id: z.ZodNumber;
8290
+ name: z.ZodString;
8291
+ owner: z.ZodString;
8292
+ defaultBranch: z.ZodString;
8293
+ }, z.core.$strip>;
8294
+ sender: z.ZodObject<{
8295
+ login: z.ZodString;
8296
+ email: z.ZodOptional<z.ZodString>;
8297
+ }, z.core.$strip>;
8298
+ pullRequest: z.ZodObject<{
8299
+ id: z.ZodString;
8300
+ number: z.ZodNumber;
8301
+ title: z.ZodString;
8302
+ body: z.ZodOptional<z.ZodString>;
8303
+ state: z.ZodEnum<{
8304
+ open: "open";
8305
+ closed: "closed";
8306
+ }>;
8307
+ merged: z.ZodBoolean;
8308
+ head: z.ZodObject<{
8309
+ ref: z.ZodString;
8310
+ sha: z.ZodString;
8311
+ }, z.core.$strip>;
8312
+ base: z.ZodObject<{
8313
+ ref: z.ZodString;
8314
+ sha: z.ZodString;
8315
+ }, z.core.$strip>;
8316
+ user: z.ZodObject<{
8317
+ login: z.ZodString;
8318
+ email: z.ZodOptional<z.ZodString>;
8319
+ }, z.core.$strip>;
8320
+ author: z.ZodOptional<z.ZodObject<{
8321
+ login: z.ZodString;
8322
+ email: z.ZodOptional<z.ZodString>;
8323
+ }, z.core.$strip>>;
8324
+ url: z.ZodOptional<z.ZodString>;
8325
+ }, z.core.$strip>;
8326
+ branch: z.ZodOptional<z.ZodString>;
8327
+ commits: z.ZodArray<z.ZodObject<{
8328
+ sha: z.ZodString;
8329
+ message: z.ZodOptional<z.ZodString>;
8330
+ name: z.ZodString;
8331
+ fileDiffs: z.ZodArray<z.ZodObject<{
8332
+ filename: z.ZodString;
8333
+ diff: z.ZodString;
8334
+ }, z.core.$strip>>;
8335
+ }, z.core.$strip>>;
8336
+ eventType: z.ZodLiteral<"pull_request.opened">;
8337
+ }, z.core.$strip>, z.ZodObject<{
8338
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
8339
+ username: z.ZodString;
8340
+ installationId: z.ZodNumber;
8341
+ repositoryName: z.ZodString;
8342
+ repository: z.ZodObject<{
8343
+ id: z.ZodNumber;
8344
+ name: z.ZodString;
8345
+ owner: z.ZodString;
8346
+ defaultBranch: z.ZodString;
8347
+ }, z.core.$strip>;
8348
+ sender: z.ZodObject<{
8349
+ login: z.ZodString;
8350
+ email: z.ZodOptional<z.ZodString>;
8351
+ }, z.core.$strip>;
8352
+ pullRequest: z.ZodObject<{
8353
+ id: z.ZodString;
8354
+ number: z.ZodNumber;
8355
+ title: z.ZodString;
8356
+ body: z.ZodOptional<z.ZodString>;
8357
+ state: z.ZodEnum<{
8358
+ open: "open";
8359
+ closed: "closed";
8360
+ }>;
8361
+ merged: z.ZodBoolean;
8362
+ head: z.ZodObject<{
8363
+ ref: z.ZodString;
8364
+ sha: z.ZodString;
8365
+ }, z.core.$strip>;
8366
+ base: z.ZodObject<{
8367
+ ref: z.ZodString;
8368
+ sha: z.ZodString;
8369
+ }, z.core.$strip>;
8370
+ user: z.ZodObject<{
8371
+ login: z.ZodString;
8372
+ email: z.ZodOptional<z.ZodString>;
8373
+ }, z.core.$strip>;
8374
+ author: z.ZodOptional<z.ZodObject<{
8375
+ login: z.ZodString;
8376
+ email: z.ZodOptional<z.ZodString>;
8377
+ }, z.core.$strip>>;
8378
+ url: z.ZodOptional<z.ZodString>;
8379
+ }, z.core.$strip>;
8380
+ branch: z.ZodOptional<z.ZodString>;
8381
+ commits: z.ZodArray<z.ZodObject<{
8382
+ sha: z.ZodString;
8383
+ message: z.ZodOptional<z.ZodString>;
8384
+ name: z.ZodString;
8385
+ fileDiffs: z.ZodArray<z.ZodObject<{
8386
+ filename: z.ZodString;
8387
+ diff: z.ZodString;
8388
+ }, z.core.$strip>>;
8389
+ }, z.core.$strip>>;
8390
+ eventType: z.ZodLiteral<"pull_request.synchronize">;
8391
+ }, z.core.$strip>, z.ZodObject<{
8392
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
8393
+ username: z.ZodString;
8394
+ installationId: z.ZodNumber;
8395
+ repositoryName: z.ZodString;
8396
+ repository: z.ZodObject<{
8397
+ id: z.ZodNumber;
8398
+ name: z.ZodString;
8399
+ owner: z.ZodString;
8400
+ defaultBranch: z.ZodString;
8401
+ }, z.core.$strip>;
8402
+ sender: z.ZodObject<{
8403
+ login: z.ZodString;
8404
+ email: z.ZodOptional<z.ZodString>;
8405
+ }, z.core.$strip>;
8406
+ pullRequest: z.ZodObject<{
8407
+ id: z.ZodString;
8408
+ number: z.ZodNumber;
8409
+ title: z.ZodString;
8410
+ body: z.ZodOptional<z.ZodString>;
8411
+ state: z.ZodEnum<{
8412
+ open: "open";
8413
+ closed: "closed";
8414
+ }>;
8415
+ merged: z.ZodBoolean;
8416
+ head: z.ZodObject<{
8417
+ ref: z.ZodString;
8418
+ sha: z.ZodString;
8419
+ }, z.core.$strip>;
8420
+ base: z.ZodObject<{
8421
+ ref: z.ZodString;
8422
+ sha: z.ZodString;
8423
+ }, z.core.$strip>;
8424
+ user: z.ZodObject<{
8425
+ login: z.ZodString;
8426
+ email: z.ZodOptional<z.ZodString>;
8427
+ }, z.core.$strip>;
8428
+ author: z.ZodOptional<z.ZodObject<{
8429
+ login: z.ZodString;
8430
+ email: z.ZodOptional<z.ZodString>;
8431
+ }, z.core.$strip>>;
8432
+ url: z.ZodOptional<z.ZodString>;
8433
+ }, z.core.$strip>;
8434
+ branch: z.ZodOptional<z.ZodString>;
8435
+ commits: z.ZodArray<z.ZodObject<{
8436
+ sha: z.ZodString;
8437
+ message: z.ZodOptional<z.ZodString>;
8438
+ name: z.ZodString;
8439
+ fileDiffs: z.ZodArray<z.ZodObject<{
8440
+ filename: z.ZodString;
8441
+ diff: z.ZodString;
8442
+ }, z.core.$strip>>;
8443
+ }, z.core.$strip>>;
8444
+ eventType: z.ZodLiteral<"pull_request.closed">;
8445
+ }, z.core.$strip>, z.ZodObject<{
8446
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GITHUB>;
8447
+ username: z.ZodString;
8448
+ installationId: z.ZodNumber;
8449
+ repositoryName: z.ZodString;
8450
+ repository: z.ZodObject<{
8451
+ id: z.ZodNumber;
8452
+ name: z.ZodString;
8453
+ owner: z.ZodString;
8454
+ defaultBranch: z.ZodString;
8455
+ }, z.core.$strip>;
8456
+ sender: z.ZodObject<{
8457
+ login: z.ZodString;
8458
+ email: z.ZodOptional<z.ZodString>;
8459
+ }, z.core.$strip>;
8460
+ pullRequest: z.ZodObject<{
8461
+ id: z.ZodString;
8462
+ number: z.ZodNumber;
8463
+ title: z.ZodString;
8464
+ body: z.ZodOptional<z.ZodString>;
8465
+ state: z.ZodEnum<{
8466
+ open: "open";
8467
+ closed: "closed";
8468
+ }>;
8469
+ merged: z.ZodBoolean;
8470
+ head: z.ZodObject<{
8471
+ ref: z.ZodString;
8472
+ sha: z.ZodString;
8473
+ }, z.core.$strip>;
8474
+ base: z.ZodObject<{
8475
+ ref: z.ZodString;
8476
+ sha: z.ZodString;
8477
+ }, z.core.$strip>;
8478
+ user: z.ZodObject<{
8479
+ login: z.ZodString;
8480
+ email: z.ZodOptional<z.ZodString>;
8481
+ }, z.core.$strip>;
8482
+ author: z.ZodOptional<z.ZodObject<{
8483
+ login: z.ZodString;
8484
+ email: z.ZodOptional<z.ZodString>;
8485
+ }, z.core.$strip>>;
8486
+ url: z.ZodOptional<z.ZodString>;
8487
+ }, z.core.$strip>;
8488
+ branch: z.ZodOptional<z.ZodString>;
8489
+ commits: z.ZodArray<z.ZodObject<{
8490
+ sha: z.ZodString;
8491
+ message: z.ZodOptional<z.ZodString>;
8492
+ name: z.ZodString;
8493
+ fileDiffs: z.ZodArray<z.ZodObject<{
8494
+ filename: z.ZodString;
8495
+ diff: z.ZodString;
8496
+ }, z.core.$strip>>;
8497
+ }, z.core.$strip>>;
8498
+ eventType: z.ZodLiteral<"pull_request.merged">;
8499
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
8500
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.GMAIL>;
8501
+ eventType: z.ZodEnum<{
8502
+ readonly EMAIL_RECEIVED: "email.received";
8503
+ }>;
8504
+ id: z.ZodString;
8505
+ threadId: z.ZodString;
8506
+ subject: z.ZodString;
8507
+ from: z.ZodString;
8508
+ to: z.ZodString;
8509
+ date: z.ZodString;
8510
+ internalDate: z.ZodString;
8511
+ messageId: z.ZodString;
8512
+ body: z.ZodString;
8513
+ snippet: z.ZodString;
8514
+ labelIds: z.ZodArray<z.ZodString>;
8515
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
8516
+ attachmentId: z.ZodString;
8517
+ filename: z.ZodString;
8518
+ mimeType: z.ZodString;
8519
+ contentId: z.ZodOptional<z.ZodString>;
8520
+ isInline: z.ZodBoolean;
8521
+ }, z.core.$strip>>>;
8522
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
8523
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
8524
+ actor: z.ZodObject<{
8525
+ id: z.ZodString;
8526
+ name: z.ZodString;
8527
+ email: z.ZodString;
8528
+ url: z.ZodString;
8529
+ type: z.ZodString;
8530
+ }, z.core.$strip>;
8531
+ createdAt: z.ZodString;
8532
+ url: z.ZodOptional<z.ZodString>;
8533
+ organizationId: z.ZodString;
8534
+ webhookTimestamp: z.ZodNumber;
8535
+ webhookId: z.ZodString;
8536
+ eventType: z.ZodLiteral<"issue.created">;
8537
+ action: z.ZodLiteral<"create">;
8538
+ type: z.ZodLiteral<"Issue">;
8539
+ data: z.ZodObject<{
8540
+ id: z.ZodString;
8541
+ createdAt: z.ZodString;
8542
+ updatedAt: z.ZodString;
8543
+ number: z.ZodNumber;
8544
+ title: z.ZodString;
8545
+ priority: z.ZodNumber;
8546
+ sortOrder: z.ZodNumber;
8547
+ prioritySortOrder: z.ZodNumber;
8548
+ slaType: z.ZodString;
8549
+ addedToTeamAt: z.ZodString;
8550
+ trashed: z.ZodBoolean;
8551
+ labelIds: z.ZodArray<z.ZodString>;
8552
+ teamId: z.ZodString;
8553
+ previousIdentifiers: z.ZodArray<z.ZodString>;
8554
+ stateId: z.ZodString;
8555
+ reactionData: z.ZodArray<z.ZodAny>;
8556
+ priorityLabel: z.ZodString;
8557
+ botActor: z.ZodOptional<z.ZodString>;
8558
+ identifier: z.ZodString;
8559
+ url: z.ZodString;
8560
+ subscriberIds: z.ZodArray<z.ZodString>;
8561
+ state: z.ZodObject<{
8562
+ id: z.ZodString;
8563
+ color: z.ZodString;
8564
+ name: z.ZodString;
8565
+ type: z.ZodString;
8566
+ }, z.core.$strip>;
8567
+ team: z.ZodObject<{
8568
+ id: z.ZodString;
8569
+ key: z.ZodString;
8570
+ name: z.ZodString;
8571
+ }, z.core.$strip>;
8572
+ labels: z.ZodArray<z.ZodAny>;
8573
+ description: z.ZodOptional<z.ZodString>;
8574
+ descriptionData: z.ZodOptional<z.ZodString>;
8575
+ assignee: z.ZodOptional<z.ZodObject<{
8576
+ id: z.ZodString;
8577
+ name: z.ZodString;
8578
+ }, z.core.$strip>>;
8579
+ projectId: z.ZodOptional<z.ZodString>;
8580
+ }, z.core.$strip>;
8581
+ }, z.core.$strip>, z.ZodObject<{
8582
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
8583
+ actor: z.ZodObject<{
8584
+ id: z.ZodString;
8585
+ name: z.ZodString;
8586
+ email: z.ZodString;
8587
+ url: z.ZodString;
8588
+ type: z.ZodString;
8589
+ }, z.core.$strip>;
8590
+ createdAt: z.ZodString;
8591
+ url: z.ZodOptional<z.ZodString>;
8592
+ organizationId: z.ZodString;
8593
+ webhookTimestamp: z.ZodNumber;
8594
+ webhookId: z.ZodString;
8595
+ eventType: z.ZodLiteral<"issue.updated">;
8596
+ action: z.ZodLiteral<"update">;
8597
+ type: z.ZodLiteral<"Issue">;
8598
+ data: z.ZodObject<{
8599
+ id: z.ZodString;
8600
+ createdAt: z.ZodString;
8601
+ updatedAt: z.ZodString;
8602
+ number: z.ZodNumber;
8603
+ title: z.ZodString;
8604
+ priority: z.ZodNumber;
8605
+ sortOrder: z.ZodNumber;
8606
+ prioritySortOrder: z.ZodNumber;
8607
+ slaType: z.ZodString;
8608
+ addedToTeamAt: z.ZodString;
8609
+ trashed: z.ZodBoolean;
8610
+ labelIds: z.ZodArray<z.ZodString>;
8611
+ teamId: z.ZodString;
8612
+ previousIdentifiers: z.ZodArray<z.ZodString>;
8613
+ stateId: z.ZodString;
8614
+ reactionData: z.ZodArray<z.ZodAny>;
8615
+ priorityLabel: z.ZodString;
8616
+ botActor: z.ZodOptional<z.ZodString>;
8617
+ identifier: z.ZodString;
8618
+ url: z.ZodString;
8619
+ subscriberIds: z.ZodArray<z.ZodString>;
8620
+ state: z.ZodObject<{
8621
+ id: z.ZodString;
8622
+ color: z.ZodString;
8623
+ name: z.ZodString;
8624
+ type: z.ZodString;
8625
+ }, z.core.$strip>;
8626
+ team: z.ZodObject<{
8627
+ id: z.ZodString;
8628
+ key: z.ZodString;
8629
+ name: z.ZodString;
8630
+ }, z.core.$strip>;
8631
+ labels: z.ZodArray<z.ZodAny>;
8632
+ description: z.ZodOptional<z.ZodString>;
8633
+ descriptionData: z.ZodOptional<z.ZodString>;
8634
+ assignee: z.ZodOptional<z.ZodObject<{
8635
+ id: z.ZodString;
8636
+ name: z.ZodString;
8637
+ }, z.core.$strip>>;
8638
+ projectId: z.ZodOptional<z.ZodString>;
8639
+ }, z.core.$strip>;
8640
+ }, z.core.$strip>, z.ZodObject<{
8641
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.LINEAR>;
8642
+ actor: z.ZodObject<{
8643
+ id: z.ZodString;
8644
+ name: z.ZodString;
8645
+ email: z.ZodString;
8646
+ url: z.ZodString;
8647
+ type: z.ZodString;
8648
+ }, z.core.$strip>;
8649
+ createdAt: z.ZodString;
8650
+ url: z.ZodOptional<z.ZodString>;
8651
+ organizationId: z.ZodString;
8652
+ webhookTimestamp: z.ZodNumber;
8653
+ webhookId: z.ZodString;
8654
+ eventType: z.ZodLiteral<"comment.created">;
8655
+ action: z.ZodLiteral<"create">;
8656
+ type: z.ZodLiteral<"Comment">;
8657
+ data: z.ZodObject<{
8658
+ id: z.ZodString;
8659
+ body: z.ZodOptional<z.ZodString>;
8660
+ issueId: z.ZodOptional<z.ZodString>;
8661
+ }, z.core.$loose>;
8662
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
8663
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
8664
+ eventId: z.ZodString;
8665
+ createdAt: z.ZodString;
8666
+ eventType: z.ZodLiteral<"user.created">;
8667
+ user: z.ZodObject<{
8668
+ id: z.ZodString;
8669
+ email: z.ZodString;
8670
+ firstName: z.ZodOptional<z.ZodString>;
8671
+ lastName: z.ZodOptional<z.ZodString>;
8672
+ emailVerified: z.ZodBoolean;
8673
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
8674
+ }, z.core.$strip>;
8675
+ }, z.core.$strip>, z.ZodObject<{
8676
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
8677
+ eventId: z.ZodString;
8678
+ createdAt: z.ZodString;
8679
+ eventType: z.ZodLiteral<"user.updated">;
8680
+ user: z.ZodObject<{
8681
+ id: z.ZodString;
8682
+ email: z.ZodString;
8683
+ firstName: z.ZodOptional<z.ZodString>;
8684
+ lastName: z.ZodOptional<z.ZodString>;
8685
+ emailVerified: z.ZodBoolean;
8686
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
8687
+ }, z.core.$strip>;
8688
+ }, z.core.$strip>, z.ZodObject<{
8689
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
8690
+ eventId: z.ZodString;
8691
+ createdAt: z.ZodString;
8692
+ eventType: z.ZodLiteral<"user.deleted">;
8693
+ user: z.ZodObject<{
8694
+ id: z.ZodString;
8695
+ email: z.ZodString;
8696
+ firstName: z.ZodOptional<z.ZodString>;
8697
+ lastName: z.ZodOptional<z.ZodString>;
8698
+ emailVerified: z.ZodBoolean;
8699
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
8700
+ }, z.core.$strip>;
8701
+ }, z.core.$strip>, z.ZodObject<{
8702
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
8703
+ eventId: z.ZodString;
8704
+ createdAt: z.ZodString;
8705
+ eventType: z.ZodLiteral<"organization_membership.created">;
8706
+ membership: z.ZodObject<{
8707
+ id: z.ZodString;
8708
+ userId: z.ZodString;
8709
+ organizationId: z.ZodString;
8710
+ role: z.ZodObject<{
8711
+ slug: z.ZodString;
8712
+ }, z.core.$strip>;
8713
+ status: z.ZodString;
8714
+ }, z.core.$strip>;
8715
+ }, z.core.$strip>, z.ZodObject<{
8716
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
8717
+ eventId: z.ZodString;
8718
+ createdAt: z.ZodString;
8719
+ eventType: z.ZodLiteral<"organization_membership.updated">;
8720
+ membership: z.ZodObject<{
8721
+ id: z.ZodString;
8722
+ userId: z.ZodString;
8723
+ organizationId: z.ZodString;
8724
+ role: z.ZodObject<{
8725
+ slug: z.ZodString;
8726
+ }, z.core.$strip>;
8727
+ status: z.ZodString;
8728
+ }, z.core.$strip>;
8729
+ }, z.core.$strip>, z.ZodObject<{
8730
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
8731
+ eventId: z.ZodString;
8732
+ createdAt: z.ZodString;
8733
+ eventType: z.ZodLiteral<"organization_membership.deleted">;
8734
+ membership: z.ZodObject<{
8735
+ id: z.ZodString;
8736
+ userId: z.ZodString;
8737
+ organizationId: z.ZodString;
8738
+ role: z.ZodObject<{
8739
+ slug: z.ZodString;
8740
+ }, z.core.$strip>;
8741
+ status: z.ZodString;
8742
+ }, z.core.$strip>;
8743
+ }, z.core.$strip>, z.ZodObject<{
8744
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
8745
+ eventId: z.ZodString;
8746
+ createdAt: z.ZodString;
8747
+ eventType: z.ZodLiteral<"invitation.created">;
8748
+ invitation: z.ZodObject<{
8749
+ id: z.ZodString;
8750
+ email: z.ZodString;
8751
+ organizationId: z.ZodString;
8752
+ inviterEmail: z.ZodOptional<z.ZodString>;
8753
+ state: z.ZodString;
8754
+ acceptedAt: z.ZodOptional<z.ZodString>;
8755
+ }, z.core.$strip>;
8756
+ user: z.ZodOptional<z.ZodObject<{
8757
+ id: z.ZodString;
8758
+ email: z.ZodString;
8759
+ firstName: z.ZodOptional<z.ZodString>;
8760
+ lastName: z.ZodOptional<z.ZodString>;
8761
+ emailVerified: z.ZodBoolean;
8762
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
8763
+ }, z.core.$strip>>;
8764
+ }, z.core.$strip>, z.ZodObject<{
8765
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
8766
+ eventId: z.ZodString;
8767
+ createdAt: z.ZodString;
8768
+ eventType: z.ZodLiteral<"invitation.accepted">;
8769
+ invitation: z.ZodObject<{
8770
+ id: z.ZodString;
8771
+ email: z.ZodString;
8772
+ organizationId: z.ZodString;
8773
+ inviterEmail: z.ZodOptional<z.ZodString>;
8774
+ state: z.ZodString;
8775
+ acceptedAt: z.ZodOptional<z.ZodString>;
8776
+ }, z.core.$strip>;
8777
+ user: z.ZodOptional<z.ZodObject<{
8778
+ id: z.ZodString;
8779
+ email: z.ZodString;
8780
+ firstName: z.ZodOptional<z.ZodString>;
8781
+ lastName: z.ZodOptional<z.ZodString>;
8782
+ emailVerified: z.ZodBoolean;
8783
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
8784
+ }, z.core.$strip>>;
8785
+ }, z.core.$strip>, z.ZodObject<{
8786
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
8787
+ eventId: z.ZodString;
8788
+ createdAt: z.ZodString;
8789
+ eventType: z.ZodLiteral<"invitation.resent">;
8790
+ invitation: z.ZodObject<{
8791
+ id: z.ZodString;
8792
+ email: z.ZodString;
8793
+ organizationId: z.ZodString;
8794
+ inviterEmail: z.ZodOptional<z.ZodString>;
8795
+ state: z.ZodString;
8796
+ acceptedAt: z.ZodOptional<z.ZodString>;
8797
+ }, z.core.$strip>;
8798
+ user: z.ZodOptional<z.ZodObject<{
8799
+ id: z.ZodString;
8800
+ email: z.ZodString;
8801
+ firstName: z.ZodOptional<z.ZodString>;
8802
+ lastName: z.ZodOptional<z.ZodString>;
8803
+ emailVerified: z.ZodBoolean;
8804
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
8805
+ }, z.core.$strip>>;
8806
+ }, z.core.$strip>, z.ZodObject<{
8807
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
8808
+ eventId: z.ZodString;
8809
+ createdAt: z.ZodString;
8810
+ eventType: z.ZodLiteral<"invitation.revoked">;
8811
+ invitation: z.ZodObject<{
8812
+ id: z.ZodString;
8813
+ email: z.ZodString;
8814
+ organizationId: z.ZodString;
8815
+ inviterEmail: z.ZodOptional<z.ZodString>;
8816
+ state: z.ZodString;
8817
+ acceptedAt: z.ZodOptional<z.ZodString>;
8818
+ }, z.core.$strip>;
8819
+ user: z.ZodOptional<z.ZodObject<{
8820
+ id: z.ZodString;
8821
+ email: z.ZodString;
8822
+ firstName: z.ZodOptional<z.ZodString>;
8823
+ lastName: z.ZodOptional<z.ZodString>;
8824
+ emailVerified: z.ZodBoolean;
8825
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
8826
+ }, z.core.$strip>>;
8827
+ }, z.core.$strip>, z.ZodObject<{
8828
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WORKOS>;
8829
+ eventId: z.ZodString;
8830
+ createdAt: z.ZodString;
8831
+ eventType: z.ZodLiteral<"organization.created">;
8832
+ organization: z.ZodObject<{
8833
+ id: z.ZodString;
8834
+ name: z.ZodString;
8835
+ }, z.core.$strip>;
8836
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
8837
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
8838
+ eventType: z.ZodLiteral<"webhook">;
8839
+ body: z.ZodUnknown;
8840
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
8841
+ method: z.ZodString;
8842
+ }, z.core.$strip>, z.ZodObject<{
8843
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.CRON_JOB>;
8844
+ eventType: z.ZodLiteral<"cron">;
8845
+ inputId: z.ZodString;
8846
+ isManualTrigger: z.ZodOptional<z.ZodBoolean>;
8847
+ manualContext: z.ZodOptional<z.ZodString>;
8848
+ }, z.core.$strip>, z.ZodObject<{
8849
+ integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
8850
+ eventType: z.ZodLiteral<"webmonitor">;
8851
+ inputId: z.ZodString;
8852
+ query: z.ZodString;
8853
+ frequency: z.ZodObject<{
8854
+ number: z.ZodNumber;
8855
+ unit: z.ZodEnum<{
8856
+ hour: "hour";
8857
+ day: "day";
8858
+ week: "week";
8859
+ }>;
8860
+ }, z.core.$strip>;
8861
+ monitorId: z.ZodString;
8862
+ eventGroupId: z.ZodString;
8863
+ metadata: z.ZodRecord<z.ZodString, z.ZodString>;
8864
+ outputType: z.ZodEnum<{
8865
+ json: "json";
8866
+ text: "text";
8867
+ }>;
8868
+ rawPayload: z.ZodOptional<z.ZodString>;
8869
+ payload: z.ZodUnknown;
8870
+ eventDate: z.ZodString;
8871
+ sourceUrls: z.ZodArray<z.ZodString>;
8872
+ }, z.core.$strip>, z.ZodObject<{
8873
+ integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
8874
+ eventType: z.ZodLiteral<"manual_sample">;
8875
+ }, z.core.$strip>]>;
8876
+ }, z.core.$strip>;
8877
+ }, z.core.$strip>;
8878
+ export type SdkHydrateSampleEventResponse = z.infer<typeof sdkHydrateSampleEventResponseSchema>;
6673
8879
  export declare const triggerWithEventRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
6674
8880
  event: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
6675
8881
  integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.SLACK>;