@automate.ax/integration-contracts 0.55.0

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.
Files changed (136) hide show
  1. package/dist/airtable/api.d.ts +19 -0
  2. package/dist/airtable/api.js +44 -0
  3. package/dist/airtable/index.d.ts +353 -0
  4. package/dist/airtable/index.js +32 -0
  5. package/dist/airtable/schemas.d.ts +716 -0
  6. package/dist/airtable/schemas.js +184 -0
  7. package/dist/asana/api.d.ts +70 -0
  8. package/dist/asana/api.js +119 -0
  9. package/dist/asana/index.d.ts +384 -0
  10. package/dist/asana/index.js +38 -0
  11. package/dist/asana/schemas.d.ts +1060 -0
  12. package/dist/asana/schemas.js +512 -0
  13. package/dist/brevo/api.d.ts +31 -0
  14. package/dist/brevo/api.js +64 -0
  15. package/dist/brevo/index.d.ts +822 -0
  16. package/dist/brevo/index.js +51 -0
  17. package/dist/brevo/schemas.d.ts +1217 -0
  18. package/dist/brevo/schemas.js +332 -0
  19. package/dist/github/index.d.ts +37 -0
  20. package/dist/github/index.js +106 -0
  21. package/dist/github/schemas.d.ts +8014 -0
  22. package/dist/github/schemas.js +113 -0
  23. package/dist/gmail/gmail.d.ts +172 -0
  24. package/dist/gmail/gmail.js +405 -0
  25. package/dist/gmail/index.d.ts +262 -0
  26. package/dist/gmail/index.js +23 -0
  27. package/dist/gmail/schemas.d.ts +444 -0
  28. package/dist/gmail/schemas.js +242 -0
  29. package/dist/google-calendar/event-schemas.d.ts +117 -0
  30. package/dist/google-calendar/event-schemas.js +13 -0
  31. package/dist/google-calendar/google-calendar.d.ts +147 -0
  32. package/dist/google-calendar/google-calendar.js +583 -0
  33. package/dist/google-calendar/index.d.ts +365 -0
  34. package/dist/google-calendar/index.js +24 -0
  35. package/dist/google-calendar/schemas.d.ts +592 -0
  36. package/dist/google-calendar/schemas.js +379 -0
  37. package/dist/google-forms/event-schemas.d.ts +105 -0
  38. package/dist/google-forms/event-schemas.js +20 -0
  39. package/dist/google-forms/google-forms.d.ts +243 -0
  40. package/dist/google-forms/google-forms.js +581 -0
  41. package/dist/google-forms/index.d.ts +141 -0
  42. package/dist/google-forms/index.js +20 -0
  43. package/dist/google-forms/schemas.d.ts +618 -0
  44. package/dist/google-forms/schemas.js +383 -0
  45. package/dist/linear/api.d.ts +63 -0
  46. package/dist/linear/api.js +88 -0
  47. package/dist/linear/index.d.ts +1338 -0
  48. package/dist/linear/index.js +55 -0
  49. package/dist/linear/schemas.d.ts +1795 -0
  50. package/dist/linear/schemas.js +760 -0
  51. package/dist/outlook/graph.d.ts +34 -0
  52. package/dist/outlook/graph.js +98 -0
  53. package/dist/outlook/index.d.ts +115 -0
  54. package/dist/outlook/index.js +11 -0
  55. package/dist/outlook/schemas.d.ts +529 -0
  56. package/dist/outlook/schemas.js +312 -0
  57. package/dist/resend/index.d.ts +707 -0
  58. package/dist/resend/index.js +54 -0
  59. package/dist/resend/schemas.d.ts +1033 -0
  60. package/dist/resend/schemas.js +377 -0
  61. package/dist/slack/index.d.ts +151 -0
  62. package/dist/slack/index.js +22 -0
  63. package/dist/slack/schemas.d.ts +641 -0
  64. package/dist/slack/schemas.js +581 -0
  65. package/dist/teams/graph.d.ts +33 -0
  66. package/dist/teams/graph.js +95 -0
  67. package/dist/teams/index.d.ts +164 -0
  68. package/dist/teams/index.js +21 -0
  69. package/dist/teams/schemas.d.ts +675 -0
  70. package/dist/teams/schemas.js +365 -0
  71. package/dist/trello/api.d.ts +69 -0
  72. package/dist/trello/api.js +140 -0
  73. package/dist/trello/event-schemas.d.ts +1101 -0
  74. package/dist/trello/event-schemas.js +233 -0
  75. package/dist/trello/index.d.ts +721 -0
  76. package/dist/trello/index.js +35 -0
  77. package/dist/trello/schemas.d.ts +283 -0
  78. package/dist/trello/schemas.js +401 -0
  79. package/dist/triggers.d.ts +26 -0
  80. package/dist/triggers.js +33 -0
  81. package/dist/vercel/index.d.ts +1065 -0
  82. package/dist/vercel/index.js +114 -0
  83. package/dist/vercel/schemas.d.ts +1518 -0
  84. package/dist/vercel/schemas.js +335 -0
  85. package/dist/whatsapp/api.d.ts +62 -0
  86. package/dist/whatsapp/api.js +121 -0
  87. package/dist/whatsapp/index.d.ts +614 -0
  88. package/dist/whatsapp/index.js +35 -0
  89. package/dist/whatsapp/schemas.d.ts +926 -0
  90. package/dist/whatsapp/schemas.js +326 -0
  91. package/package.json +169 -0
  92. package/src/airtable/api.ts +66 -0
  93. package/src/airtable/index.ts +41 -0
  94. package/src/airtable/schemas.ts +231 -0
  95. package/src/asana/api.ts +171 -0
  96. package/src/asana/index.ts +49 -0
  97. package/src/asana/schemas.ts +655 -0
  98. package/src/brevo/api.ts +89 -0
  99. package/src/brevo/index.ts +66 -0
  100. package/src/brevo/schemas.ts +449 -0
  101. package/src/github/index.ts +217 -0
  102. package/src/github/schemas.ts +435 -0
  103. package/src/gmail/gmail.ts +577 -0
  104. package/src/gmail/index.ts +26 -0
  105. package/src/gmail/schemas.ts +327 -0
  106. package/src/google-calendar/event-schemas.ts +16 -0
  107. package/src/google-calendar/google-calendar.ts +727 -0
  108. package/src/google-calendar/index.ts +27 -0
  109. package/src/google-calendar/schemas.ts +529 -0
  110. package/src/google-forms/event-schemas.ts +26 -0
  111. package/src/google-forms/google-forms.ts +683 -0
  112. package/src/google-forms/index.ts +23 -0
  113. package/src/google-forms/schemas.ts +499 -0
  114. package/src/linear/api.ts +141 -0
  115. package/src/linear/index.ts +71 -0
  116. package/src/linear/schemas.ts +1060 -0
  117. package/src/outlook/graph.ts +132 -0
  118. package/src/outlook/index.ts +14 -0
  119. package/src/outlook/schemas.ts +388 -0
  120. package/src/resend/index.ts +70 -0
  121. package/src/resend/schemas.ts +462 -0
  122. package/src/slack/index.ts +29 -0
  123. package/src/slack/schemas.ts +737 -0
  124. package/src/teams/graph.ts +130 -0
  125. package/src/teams/index.ts +27 -0
  126. package/src/teams/schemas.ts +463 -0
  127. package/src/trello/api.ts +190 -0
  128. package/src/trello/event-schemas.ts +290 -0
  129. package/src/trello/index.ts +45 -0
  130. package/src/trello/schemas.ts +507 -0
  131. package/src/triggers.ts +68 -0
  132. package/src/vercel/index.ts +147 -0
  133. package/src/vercel/schemas.ts +594 -0
  134. package/src/whatsapp/api.ts +171 -0
  135. package/src/whatsapp/index.ts +46 -0
  136. package/src/whatsapp/schemas.ts +341 -0
@@ -0,0 +1,675 @@
1
+ import { z } from "zod";
2
+ export declare const TEAMS_TEAM_SCHEMA: z.ZodObject<{
3
+ isArchived: z.ZodPrefault<z.ZodBoolean>;
4
+ classification: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
5
+ description: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
6
+ displayName: z.ZodString;
7
+ teamId: z.ZodString;
8
+ specialization: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
9
+ visibility: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
10
+ public: "public";
11
+ private: "private";
12
+ hiddenMembership: "hiddenMembership";
13
+ unknownFutureValue: "unknownFutureValue";
14
+ }>>>, z.ZodTransform<"public" | "private" | "hiddenMembership" | "unknownFutureValue" | undefined, "public" | "private" | "hiddenMembership" | "unknownFutureValue" | null | undefined>>;
15
+ webUrl: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
16
+ }, z.core.$strip>;
17
+ export declare const GRAPH_TEAM_SCHEMA: z.ZodPipe<z.ZodObject<{
18
+ classification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ displayName: z.ZodString;
21
+ id: z.ZodString;
22
+ isArchived: z.ZodOptional<z.ZodBoolean>;
23
+ specialization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ visibility: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
25
+ public: "public";
26
+ private: "private";
27
+ hiddenMembership: "hiddenMembership";
28
+ unknownFutureValue: "unknownFutureValue";
29
+ }>>>;
30
+ webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$loose>, z.ZodTransform<{
32
+ isArchived: boolean;
33
+ classification: string | undefined;
34
+ description: string | undefined;
35
+ displayName: string;
36
+ teamId: string;
37
+ specialization: string | undefined;
38
+ visibility: "public" | "private" | "hiddenMembership" | "unknownFutureValue" | undefined;
39
+ webUrl: string | undefined;
40
+ }, {
41
+ [x: string]: unknown;
42
+ displayName: string;
43
+ id: string;
44
+ classification?: string | null | undefined;
45
+ description?: string | null | undefined;
46
+ isArchived?: boolean | undefined;
47
+ specialization?: string | null | undefined;
48
+ visibility?: "public" | "private" | "hiddenMembership" | "unknownFutureValue" | null | undefined;
49
+ webUrl?: string | null | undefined;
50
+ }>>;
51
+ export declare const TEAMS_CHANNEL_SCHEMA: z.ZodObject<{
52
+ createdAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
53
+ description: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
54
+ displayName: z.ZodString;
55
+ email: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
56
+ channelId: z.ZodString;
57
+ isArchived: z.ZodPrefault<z.ZodBoolean>;
58
+ membershipType: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
59
+ private: "private";
60
+ shared: "shared";
61
+ unknownFutureValue: "unknownFutureValue";
62
+ standard: "standard";
63
+ }>>>, z.ZodTransform<"private" | "shared" | "unknownFutureValue" | "standard" | undefined, "private" | "shared" | "unknownFutureValue" | "standard" | null | undefined>>;
64
+ webUrl: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
65
+ }, z.core.$strip>;
66
+ export declare const GRAPH_CHANNEL_SCHEMA: z.ZodPipe<z.ZodObject<{
67
+ createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ displayName: z.ZodString;
70
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ id: z.ZodString;
72
+ isArchived: z.ZodOptional<z.ZodBoolean>;
73
+ membershipType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
74
+ private: "private";
75
+ shared: "shared";
76
+ unknownFutureValue: "unknownFutureValue";
77
+ standard: "standard";
78
+ }>>>;
79
+ webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
+ }, z.core.$loose>, z.ZodTransform<{
81
+ createdAt: Date | undefined;
82
+ description: string | undefined;
83
+ displayName: string;
84
+ email: string | undefined;
85
+ channelId: string;
86
+ isArchived: boolean;
87
+ membershipType: "private" | "shared" | "unknownFutureValue" | "standard" | undefined;
88
+ webUrl: string | undefined;
89
+ }, {
90
+ [x: string]: unknown;
91
+ displayName: string;
92
+ id: string;
93
+ createdDateTime?: string | null | undefined;
94
+ description?: string | null | undefined;
95
+ email?: string | null | undefined;
96
+ isArchived?: boolean | undefined;
97
+ membershipType?: "private" | "shared" | "unknownFutureValue" | "standard" | null | undefined;
98
+ webUrl?: string | null | undefined;
99
+ }>>;
100
+ export declare const TEAMS_MEMBER_SCHEMA: z.ZodObject<{
101
+ displayName: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
102
+ email: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
103
+ memberId: z.ZodString;
104
+ roles: z.ZodPrefault<z.ZodArray<z.ZodString>>;
105
+ tenantId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
106
+ userId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
107
+ visibleHistoryStartAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
108
+ }, z.core.$strip>;
109
+ export declare const GRAPH_MEMBER_SCHEMA: z.ZodPipe<z.ZodObject<{
110
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
111
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
112
+ id: z.ZodString;
113
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
114
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
115
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
116
+ visibleHistoryStartDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117
+ }, z.core.$loose>, z.ZodTransform<{
118
+ displayName: string | undefined;
119
+ email: string | undefined;
120
+ memberId: string;
121
+ roles: string[];
122
+ tenantId: string | undefined;
123
+ userId: string | undefined;
124
+ visibleHistoryStartAt: Date | undefined;
125
+ }, {
126
+ [x: string]: unknown;
127
+ id: string;
128
+ displayName?: string | null | undefined;
129
+ email?: string | null | undefined;
130
+ roles?: string[] | undefined;
131
+ tenantId?: string | null | undefined;
132
+ userId?: string | null | undefined;
133
+ visibleHistoryStartDateTime?: string | null | undefined;
134
+ }>>;
135
+ export declare const TEAMS_CHAT_SCHEMA: z.ZodObject<{
136
+ chatType: z.ZodEnum<{
137
+ group: "group";
138
+ unknownFutureValue: "unknownFutureValue";
139
+ oneOnOne: "oneOnOne";
140
+ meeting: "meeting";
141
+ }>;
142
+ createdAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
143
+ chatId: z.ZodString;
144
+ updatedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
145
+ tenantId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
146
+ topic: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
147
+ webUrl: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
148
+ }, z.core.$strip>;
149
+ export declare const GRAPH_CHAT_SCHEMA: z.ZodPipe<z.ZodObject<{
150
+ chatType: z.ZodEnum<{
151
+ group: "group";
152
+ unknownFutureValue: "unknownFutureValue";
153
+ oneOnOne: "oneOnOne";
154
+ meeting: "meeting";
155
+ }>;
156
+ createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
157
+ id: z.ZodString;
158
+ lastUpdatedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
159
+ tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
160
+ topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
161
+ webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
162
+ }, z.core.$loose>, z.ZodTransform<{
163
+ chatType: "group" | "unknownFutureValue" | "oneOnOne" | "meeting";
164
+ createdAt: Date | undefined;
165
+ chatId: string;
166
+ updatedAt: Date | undefined;
167
+ tenantId: string | undefined;
168
+ topic: string | undefined;
169
+ webUrl: string | undefined;
170
+ }, {
171
+ [x: string]: unknown;
172
+ chatType: "group" | "unknownFutureValue" | "oneOnOne" | "meeting";
173
+ id: string;
174
+ createdDateTime?: string | null | undefined;
175
+ lastUpdatedDateTime?: string | null | undefined;
176
+ tenantId?: string | null | undefined;
177
+ topic?: string | null | undefined;
178
+ webUrl?: string | null | undefined;
179
+ }>>;
180
+ export declare const TEAMS_MESSAGE_BODY_SCHEMA: z.ZodObject<{
181
+ content: z.ZodString;
182
+ contentType: z.ZodEnum<{
183
+ text: "text";
184
+ html: "html";
185
+ }>;
186
+ }, z.core.$strip>;
187
+ export declare const TEAMS_CHAT_MESSAGE_SCHEMA: z.ZodObject<{
188
+ attachments: z.ZodPrefault<z.ZodArray<z.ZodObject<{
189
+ attachmentId: z.ZodString;
190
+ content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
191
+ contentType: z.ZodString;
192
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
193
+ contentUrl: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
194
+ }, z.core.$strip>>>;
195
+ body: z.ZodObject<{
196
+ content: z.ZodString;
197
+ contentType: z.ZodEnum<{
198
+ text: "text";
199
+ html: "html";
200
+ }>;
201
+ }, z.core.$strip>;
202
+ createdAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
203
+ deletedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
204
+ etag: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
205
+ from: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
206
+ applicationId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
207
+ deviceId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
208
+ displayName: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
209
+ userId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
210
+ }, z.core.$strip>>>, z.ZodTransform<{
211
+ applicationId: string | undefined;
212
+ deviceId: string | undefined;
213
+ displayName: string | undefined;
214
+ userId: string | undefined;
215
+ } | undefined, {
216
+ applicationId: string | undefined;
217
+ deviceId: string | undefined;
218
+ displayName: string | undefined;
219
+ userId: string | undefined;
220
+ } | null | undefined>>;
221
+ importance: z.ZodPrefault<z.ZodEnum<{
222
+ high: "high";
223
+ normal: "normal";
224
+ unknownFutureValue: "unknownFutureValue";
225
+ urgent: "urgent";
226
+ }>>;
227
+ locale: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
228
+ messageId: z.ZodString;
229
+ messageType: z.ZodString;
230
+ mentions: z.ZodPrefault<z.ZodArray<z.ZodObject<{
231
+ mentionId: z.ZodNumber;
232
+ mentionText: z.ZodString;
233
+ mentioned: z.ZodObject<{
234
+ applicationId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
235
+ deviceId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
236
+ displayName: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
237
+ userId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
238
+ }, z.core.$strip>;
239
+ }, z.core.$strip>>>;
240
+ reactions: z.ZodPrefault<z.ZodArray<z.ZodObject<{
241
+ reactionType: z.ZodString;
242
+ createdAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
243
+ user: z.ZodObject<{
244
+ applicationId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
245
+ deviceId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
246
+ displayName: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
247
+ userId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
248
+ }, z.core.$strip>;
249
+ }, z.core.$strip>>>;
250
+ replyToId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
251
+ subject: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
252
+ summary: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
253
+ updatedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
254
+ webUrl: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
255
+ }, z.core.$strip>;
256
+ export declare const GRAPH_CHAT_MESSAGE_SCHEMA: z.ZodPipe<z.ZodObject<{
257
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
258
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
+ contentType: z.ZodString;
260
+ contentUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
261
+ id: z.ZodString;
262
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
263
+ }, z.core.$loose>>>;
264
+ body: z.ZodObject<{
265
+ content: z.ZodString;
266
+ contentType: z.ZodEnum<{
267
+ text: "text";
268
+ html: "html";
269
+ }>;
270
+ }, z.core.$strip>;
271
+ createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
272
+ deletedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
273
+ etag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
274
+ from: z.ZodOptional<z.ZodNullable<z.ZodObject<{
275
+ application: z.ZodOptional<z.ZodObject<{
276
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
277
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
278
+ }, z.core.$loose>>;
279
+ device: z.ZodOptional<z.ZodObject<{
280
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
281
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
282
+ }, z.core.$loose>>;
283
+ user: z.ZodOptional<z.ZodObject<{
284
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
285
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
286
+ }, z.core.$loose>>;
287
+ }, z.core.$loose>>>;
288
+ id: z.ZodString;
289
+ importance: z.ZodOptional<z.ZodEnum<{
290
+ high: "high";
291
+ normal: "normal";
292
+ unknownFutureValue: "unknownFutureValue";
293
+ urgent: "urgent";
294
+ }>>;
295
+ lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
296
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
297
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
298
+ id: z.ZodNumber;
299
+ mentionText: z.ZodString;
300
+ mentioned: z.ZodObject<{
301
+ application: z.ZodOptional<z.ZodObject<{
302
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
303
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
304
+ }, z.core.$loose>>;
305
+ device: z.ZodOptional<z.ZodObject<{
306
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
307
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
308
+ }, z.core.$loose>>;
309
+ user: z.ZodOptional<z.ZodObject<{
310
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
311
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
312
+ }, z.core.$loose>>;
313
+ }, z.core.$loose>;
314
+ }, z.core.$loose>>>;
315
+ messageType: z.ZodString;
316
+ reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
317
+ createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
318
+ reactionType: z.ZodString;
319
+ user: z.ZodObject<{
320
+ application: z.ZodOptional<z.ZodObject<{
321
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
322
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
323
+ }, z.core.$loose>>;
324
+ device: z.ZodOptional<z.ZodObject<{
325
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
326
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
327
+ }, z.core.$loose>>;
328
+ user: z.ZodOptional<z.ZodObject<{
329
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
330
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
331
+ }, z.core.$loose>>;
332
+ }, z.core.$loose>;
333
+ }, z.core.$loose>>>;
334
+ replyToId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
335
+ subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
336
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
337
+ webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
338
+ }, z.core.$loose>, z.ZodTransform<{
339
+ attachments: {
340
+ attachmentId: string;
341
+ content: string | undefined;
342
+ contentType: string;
343
+ name: string | undefined;
344
+ contentUrl: string | undefined;
345
+ }[];
346
+ body: {
347
+ content: string;
348
+ contentType: "text" | "html";
349
+ };
350
+ createdAt: Date | undefined;
351
+ deletedAt: Date | undefined;
352
+ etag: string | undefined;
353
+ from: {
354
+ applicationId: string | undefined;
355
+ deviceId: string | undefined;
356
+ displayName: string | undefined;
357
+ userId: string | undefined;
358
+ } | undefined;
359
+ importance: "high" | "normal" | "unknownFutureValue" | "urgent";
360
+ locale: string | undefined;
361
+ messageId: string;
362
+ messageType: string;
363
+ mentions: {
364
+ mentionId: number;
365
+ mentionText: string;
366
+ mentioned: {
367
+ applicationId: string | undefined;
368
+ deviceId: string | undefined;
369
+ displayName: string | undefined;
370
+ userId: string | undefined;
371
+ };
372
+ }[];
373
+ reactions: {
374
+ reactionType: string;
375
+ createdAt: Date | undefined;
376
+ user: {
377
+ applicationId: string | undefined;
378
+ deviceId: string | undefined;
379
+ displayName: string | undefined;
380
+ userId: string | undefined;
381
+ };
382
+ }[];
383
+ replyToId: string | undefined;
384
+ subject: string | undefined;
385
+ summary: string | undefined;
386
+ updatedAt: Date | undefined;
387
+ webUrl: string | undefined;
388
+ }, {
389
+ [x: string]: unknown;
390
+ body: {
391
+ content: string;
392
+ contentType: "text" | "html";
393
+ };
394
+ id: string;
395
+ messageType: string;
396
+ attachments?: {
397
+ [x: string]: unknown;
398
+ contentType: string;
399
+ id: string;
400
+ content?: string | null | undefined;
401
+ contentUrl?: string | null | undefined;
402
+ name?: string | null | undefined;
403
+ }[] | undefined;
404
+ createdDateTime?: string | null | undefined;
405
+ deletedDateTime?: string | null | undefined;
406
+ etag?: string | null | undefined;
407
+ from?: {
408
+ [x: string]: unknown;
409
+ application?: {
410
+ [x: string]: unknown;
411
+ id?: string | null | undefined;
412
+ displayName?: string | null | undefined;
413
+ } | undefined;
414
+ device?: {
415
+ [x: string]: unknown;
416
+ id?: string | null | undefined;
417
+ displayName?: string | null | undefined;
418
+ } | undefined;
419
+ user?: {
420
+ [x: string]: unknown;
421
+ id?: string | null | undefined;
422
+ displayName?: string | null | undefined;
423
+ } | undefined;
424
+ } | null | undefined;
425
+ importance?: "high" | "normal" | "unknownFutureValue" | "urgent" | undefined;
426
+ lastModifiedDateTime?: string | null | undefined;
427
+ locale?: string | null | undefined;
428
+ mentions?: {
429
+ [x: string]: unknown;
430
+ id: number;
431
+ mentionText: string;
432
+ mentioned: {
433
+ [x: string]: unknown;
434
+ application?: {
435
+ [x: string]: unknown;
436
+ id?: string | null | undefined;
437
+ displayName?: string | null | undefined;
438
+ } | undefined;
439
+ device?: {
440
+ [x: string]: unknown;
441
+ id?: string | null | undefined;
442
+ displayName?: string | null | undefined;
443
+ } | undefined;
444
+ user?: {
445
+ [x: string]: unknown;
446
+ id?: string | null | undefined;
447
+ displayName?: string | null | undefined;
448
+ } | undefined;
449
+ };
450
+ }[] | undefined;
451
+ reactions?: {
452
+ [x: string]: unknown;
453
+ reactionType: string;
454
+ user: {
455
+ [x: string]: unknown;
456
+ application?: {
457
+ [x: string]: unknown;
458
+ id?: string | null | undefined;
459
+ displayName?: string | null | undefined;
460
+ } | undefined;
461
+ device?: {
462
+ [x: string]: unknown;
463
+ id?: string | null | undefined;
464
+ displayName?: string | null | undefined;
465
+ } | undefined;
466
+ user?: {
467
+ [x: string]: unknown;
468
+ id?: string | null | undefined;
469
+ displayName?: string | null | undefined;
470
+ } | undefined;
471
+ };
472
+ createdDateTime?: string | null | undefined;
473
+ }[] | undefined;
474
+ replyToId?: string | null | undefined;
475
+ subject?: string | null | undefined;
476
+ summary?: string | null | undefined;
477
+ webUrl?: string | null | undefined;
478
+ }>>;
479
+ /**
480
+ * Normalizes an untrusted Microsoft Graph chat-message payload.
481
+ *
482
+ * @param payload - Provider chat-message payload.
483
+ */
484
+ export declare function normalizeTeamsChatMessage(payload: unknown): {
485
+ attachments: {
486
+ attachmentId: string;
487
+ content: string | undefined;
488
+ contentType: string;
489
+ name: string | undefined;
490
+ contentUrl: string | undefined;
491
+ }[];
492
+ body: {
493
+ content: string;
494
+ contentType: "text" | "html";
495
+ };
496
+ createdAt: Date | undefined;
497
+ deletedAt: Date | undefined;
498
+ etag: string | undefined;
499
+ from: {
500
+ applicationId: string | undefined;
501
+ deviceId: string | undefined;
502
+ displayName: string | undefined;
503
+ userId: string | undefined;
504
+ } | undefined;
505
+ importance: "high" | "normal" | "unknownFutureValue" | "urgent";
506
+ locale: string | undefined;
507
+ messageId: string;
508
+ messageType: string;
509
+ mentions: {
510
+ mentionId: number;
511
+ mentionText: string;
512
+ mentioned: {
513
+ applicationId: string | undefined;
514
+ deviceId: string | undefined;
515
+ displayName: string | undefined;
516
+ userId: string | undefined;
517
+ };
518
+ }[];
519
+ reactions: {
520
+ reactionType: string;
521
+ createdAt: Date | undefined;
522
+ user: {
523
+ applicationId: string | undefined;
524
+ deviceId: string | undefined;
525
+ displayName: string | undefined;
526
+ userId: string | undefined;
527
+ };
528
+ }[];
529
+ replyToId: string | undefined;
530
+ subject: string | undefined;
531
+ summary: string | undefined;
532
+ updatedAt: Date | undefined;
533
+ webUrl: string | undefined;
534
+ };
535
+ export declare const TEAMS_CHANNEL_MESSAGE_POSTED_EVENT_SCHEMA: z.ZodObject<{
536
+ attachments: z.ZodPrefault<z.ZodArray<z.ZodObject<{
537
+ attachmentId: z.ZodString;
538
+ content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
539
+ contentType: z.ZodString;
540
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
541
+ contentUrl: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
542
+ }, z.core.$strip>>>;
543
+ body: z.ZodObject<{
544
+ content: z.ZodString;
545
+ contentType: z.ZodEnum<{
546
+ text: "text";
547
+ html: "html";
548
+ }>;
549
+ }, z.core.$strip>;
550
+ createdAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
551
+ deletedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
552
+ etag: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
553
+ from: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
554
+ applicationId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
555
+ deviceId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
556
+ displayName: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
557
+ userId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
558
+ }, z.core.$strip>>>, z.ZodTransform<{
559
+ applicationId: string | undefined;
560
+ deviceId: string | undefined;
561
+ displayName: string | undefined;
562
+ userId: string | undefined;
563
+ } | undefined, {
564
+ applicationId: string | undefined;
565
+ deviceId: string | undefined;
566
+ displayName: string | undefined;
567
+ userId: string | undefined;
568
+ } | null | undefined>>;
569
+ importance: z.ZodPrefault<z.ZodEnum<{
570
+ high: "high";
571
+ normal: "normal";
572
+ unknownFutureValue: "unknownFutureValue";
573
+ urgent: "urgent";
574
+ }>>;
575
+ locale: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
576
+ messageId: z.ZodString;
577
+ messageType: z.ZodString;
578
+ mentions: z.ZodPrefault<z.ZodArray<z.ZodObject<{
579
+ mentionId: z.ZodNumber;
580
+ mentionText: z.ZodString;
581
+ mentioned: z.ZodObject<{
582
+ applicationId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
583
+ deviceId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
584
+ displayName: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
585
+ userId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
586
+ }, z.core.$strip>;
587
+ }, z.core.$strip>>>;
588
+ reactions: z.ZodPrefault<z.ZodArray<z.ZodObject<{
589
+ reactionType: z.ZodString;
590
+ createdAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
591
+ user: z.ZodObject<{
592
+ applicationId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
593
+ deviceId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
594
+ displayName: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
595
+ userId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
596
+ }, z.core.$strip>;
597
+ }, z.core.$strip>>>;
598
+ replyToId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
599
+ subject: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
600
+ summary: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
601
+ updatedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
602
+ webUrl: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
603
+ channelId: z.ZodString;
604
+ teamId: z.ZodString;
605
+ }, z.core.$strip>;
606
+ export declare const TEAMS_CHAT_MESSAGE_POSTED_EVENT_SCHEMA: z.ZodObject<{
607
+ attachments: z.ZodPrefault<z.ZodArray<z.ZodObject<{
608
+ attachmentId: z.ZodString;
609
+ content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
610
+ contentType: z.ZodString;
611
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
612
+ contentUrl: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
613
+ }, z.core.$strip>>>;
614
+ body: z.ZodObject<{
615
+ content: z.ZodString;
616
+ contentType: z.ZodEnum<{
617
+ text: "text";
618
+ html: "html";
619
+ }>;
620
+ }, z.core.$strip>;
621
+ createdAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
622
+ deletedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
623
+ etag: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
624
+ from: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
625
+ applicationId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
626
+ deviceId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
627
+ displayName: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
628
+ userId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
629
+ }, z.core.$strip>>>, z.ZodTransform<{
630
+ applicationId: string | undefined;
631
+ deviceId: string | undefined;
632
+ displayName: string | undefined;
633
+ userId: string | undefined;
634
+ } | undefined, {
635
+ applicationId: string | undefined;
636
+ deviceId: string | undefined;
637
+ displayName: string | undefined;
638
+ userId: string | undefined;
639
+ } | null | undefined>>;
640
+ importance: z.ZodPrefault<z.ZodEnum<{
641
+ high: "high";
642
+ normal: "normal";
643
+ unknownFutureValue: "unknownFutureValue";
644
+ urgent: "urgent";
645
+ }>>;
646
+ locale: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
647
+ messageId: z.ZodString;
648
+ messageType: z.ZodString;
649
+ mentions: z.ZodPrefault<z.ZodArray<z.ZodObject<{
650
+ mentionId: z.ZodNumber;
651
+ mentionText: z.ZodString;
652
+ mentioned: z.ZodObject<{
653
+ applicationId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
654
+ deviceId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
655
+ displayName: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
656
+ userId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
657
+ }, z.core.$strip>;
658
+ }, z.core.$strip>>>;
659
+ reactions: z.ZodPrefault<z.ZodArray<z.ZodObject<{
660
+ reactionType: z.ZodString;
661
+ createdAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
662
+ user: z.ZodObject<{
663
+ applicationId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
664
+ deviceId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
665
+ displayName: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
666
+ userId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
667
+ }, z.core.$strip>;
668
+ }, z.core.$strip>>>;
669
+ replyToId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
670
+ subject: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
671
+ summary: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
672
+ updatedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
673
+ webUrl: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
674
+ chatId: z.ZodString;
675
+ }, z.core.$strip>;