@kl1/contracts 1.1.74-uat → 1.1.75-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/contract.d.ts +91 -0
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +18 -0
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +9 -0
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +75 -2
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/validation.d.ts +1 -1
- package/dist/index.js +393 -371
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +393 -371
- package/dist/index.mjs.map +1 -1
- package/dist/src/channel/index.d.ts +652 -620
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +551 -4289
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +218 -200
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +134 -160
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/comment/index.d.ts +68 -68
- package/dist/src/comment/schema.d.ts +20 -20
- package/dist/src/contact/index.d.ts +79 -79
- package/dist/src/contact/schema.d.ts +12 -12
- package/dist/src/contact/validation.d.ts +49 -49
- package/dist/src/contract.d.ts +5733 -23901
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +48 -93
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +40 -40
- package/dist/src/dashboard/index.d.ts +231 -233
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +260 -217
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/dashboard/validation.d.ts +0 -26
- package/dist/src/dashboard/validation.d.ts.map +1 -1
- package/dist/src/facebook-feed/index.d.ts +122 -122
- package/dist/src/facebook-feed/schema.d.ts +14 -14
- package/dist/src/facebook-feed/validation.d.ts +11 -11
- package/dist/src/index.d.ts +0 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +101 -101
- package/dist/src/line/index.d.ts +106 -106
- package/dist/src/line/validation.d.ts +5 -5
- package/dist/src/mail/account-contract.d.ts +8 -8
- package/dist/src/mail/mail-contract.d.ts +5993 -28466
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-server-contract.d.ts +5 -5
- package/dist/src/mail/message-contract.d.ts +63 -6423
- package/dist/src/mail/message-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +1583 -17698
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/message-validation.schema.d.ts +4 -7
- package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/message.schema.d.ts +40 -762
- package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +376 -5668
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +486 -5817
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +101 -101
- package/dist/src/messenger/validation.d.ts +11 -11
- package/dist/src/public-api/index.d.ts +59 -59
- package/dist/src/public-api/schema.d.ts +12 -12
- package/dist/src/public-api/validation.d.ts +19 -19
- package/dist/src/role/index.d.ts +0 -125
- package/dist/src/role/index.d.ts.map +1 -1
- package/dist/src/snippet/index.d.ts +105 -105
- package/dist/src/snippet/schema.d.ts +40 -40
- package/dist/src/telephony-cdr/index.d.ts +54 -54
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/schema.d.ts +14 -14
- package/dist/src/ticket/index.d.ts +111 -111
- package/dist/src/ticket/schema.d.ts +21 -21
- package/dist/src/upload/schema.d.ts +3 -3
- package/dist/src/viber/index.d.ts +101 -101
- package/dist/src/webchat/index.d.ts +101 -101
- package/dist/src/workflow-rule/index.d.ts +26 -26
- package/package.json +1 -1
@@ -16,628 +16,94 @@ export declare const MessageSchema: z.ZodObject<{
|
|
16
16
|
date: z.ZodDate;
|
17
17
|
action: z.ZodString;
|
18
18
|
unseen: z.ZodBoolean;
|
19
|
-
sendAt: z.ZodDate;
|
20
|
-
starred: z.ZodBoolean;
|
21
19
|
seemsLikeNew: z.ZodBoolean;
|
22
20
|
from: z.ZodArray<z.ZodObject<{
|
23
21
|
id: z.ZodString;
|
24
22
|
createdAt: z.ZodDate;
|
25
23
|
updatedAt: z.ZodDate;
|
26
24
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
27
|
-
|
28
|
-
|
29
|
-
mailUserId: z.ZodString;
|
30
|
-
mailUser: z.ZodObject<{
|
31
|
-
id: z.ZodString;
|
32
|
-
createdAt: z.ZodDate;
|
33
|
-
updatedAt: z.ZodDate;
|
34
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
35
|
-
name: z.ZodString;
|
36
|
-
address: z.ZodString;
|
37
|
-
contactId: z.ZodString;
|
38
|
-
contact: z.ZodObject<{
|
39
|
-
id: z.ZodString;
|
40
|
-
createdAt: z.ZodDate;
|
41
|
-
updatedAt: z.ZodDate;
|
42
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
43
|
-
name: z.ZodString;
|
44
|
-
address: z.ZodNullable<z.ZodString>;
|
45
|
-
channel: z.ZodNullable<z.ZodString>;
|
46
|
-
notes: z.ZodNullable<z.ZodString>;
|
47
|
-
contactProfile: z.ZodNullable<z.ZodString>;
|
48
|
-
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
49
|
-
}, "strip", z.ZodTypeAny, {
|
50
|
-
id: string;
|
51
|
-
channel: string | null;
|
52
|
-
address: string | null;
|
53
|
-
name: string;
|
54
|
-
createdAt: Date;
|
55
|
-
updatedAt: Date;
|
56
|
-
deletedAt: Date | null;
|
57
|
-
notes: string | null;
|
58
|
-
contactProfile: string | null;
|
59
|
-
socialProfileUrl: string | null;
|
60
|
-
}, {
|
61
|
-
id: string;
|
62
|
-
channel: string | null;
|
63
|
-
address: string | null;
|
64
|
-
name: string;
|
65
|
-
createdAt: Date;
|
66
|
-
updatedAt: Date;
|
67
|
-
deletedAt: Date | null;
|
68
|
-
notes: string | null;
|
69
|
-
contactProfile: string | null;
|
70
|
-
socialProfileUrl: string | null;
|
71
|
-
}>;
|
72
|
-
isNewContact: z.ZodBoolean;
|
73
|
-
}, "strip", z.ZodTypeAny, {
|
74
|
-
id: string;
|
75
|
-
address: string;
|
76
|
-
name: string;
|
77
|
-
createdAt: Date;
|
78
|
-
updatedAt: Date;
|
79
|
-
deletedAt: Date | null;
|
80
|
-
contact: {
|
81
|
-
id: string;
|
82
|
-
channel: string | null;
|
83
|
-
address: string | null;
|
84
|
-
name: string;
|
85
|
-
createdAt: Date;
|
86
|
-
updatedAt: Date;
|
87
|
-
deletedAt: Date | null;
|
88
|
-
notes: string | null;
|
89
|
-
contactProfile: string | null;
|
90
|
-
socialProfileUrl: string | null;
|
91
|
-
};
|
92
|
-
contactId: string;
|
93
|
-
isNewContact: boolean;
|
94
|
-
}, {
|
95
|
-
id: string;
|
96
|
-
address: string;
|
97
|
-
name: string;
|
98
|
-
createdAt: Date;
|
99
|
-
updatedAt: Date;
|
100
|
-
deletedAt: Date | null;
|
101
|
-
contact: {
|
102
|
-
id: string;
|
103
|
-
channel: string | null;
|
104
|
-
address: string | null;
|
105
|
-
name: string;
|
106
|
-
createdAt: Date;
|
107
|
-
updatedAt: Date;
|
108
|
-
deletedAt: Date | null;
|
109
|
-
notes: string | null;
|
110
|
-
contactProfile: string | null;
|
111
|
-
socialProfileUrl: string | null;
|
112
|
-
};
|
113
|
-
contactId: string;
|
114
|
-
isNewContact: boolean;
|
115
|
-
}>;
|
25
|
+
name: z.ZodString;
|
26
|
+
address: z.ZodString;
|
116
27
|
}, "strip", z.ZodTypeAny, {
|
117
28
|
id: string;
|
29
|
+
address: string;
|
30
|
+
name: string;
|
118
31
|
createdAt: Date;
|
119
32
|
updatedAt: Date;
|
120
33
|
deletedAt: Date | null;
|
121
|
-
roomId: string;
|
122
|
-
messageId: string;
|
123
|
-
mailUserId: string;
|
124
|
-
mailUser: {
|
125
|
-
id: string;
|
126
|
-
address: string;
|
127
|
-
name: string;
|
128
|
-
createdAt: Date;
|
129
|
-
updatedAt: Date;
|
130
|
-
deletedAt: Date | null;
|
131
|
-
contact: {
|
132
|
-
id: string;
|
133
|
-
channel: string | null;
|
134
|
-
address: string | null;
|
135
|
-
name: string;
|
136
|
-
createdAt: Date;
|
137
|
-
updatedAt: Date;
|
138
|
-
deletedAt: Date | null;
|
139
|
-
notes: string | null;
|
140
|
-
contactProfile: string | null;
|
141
|
-
socialProfileUrl: string | null;
|
142
|
-
};
|
143
|
-
contactId: string;
|
144
|
-
isNewContact: boolean;
|
145
|
-
};
|
146
34
|
}, {
|
147
35
|
id: string;
|
36
|
+
address: string;
|
37
|
+
name: string;
|
148
38
|
createdAt: Date;
|
149
39
|
updatedAt: Date;
|
150
40
|
deletedAt: Date | null;
|
151
|
-
roomId: string;
|
152
|
-
messageId: string;
|
153
|
-
mailUserId: string;
|
154
|
-
mailUser: {
|
155
|
-
id: string;
|
156
|
-
address: string;
|
157
|
-
name: string;
|
158
|
-
createdAt: Date;
|
159
|
-
updatedAt: Date;
|
160
|
-
deletedAt: Date | null;
|
161
|
-
contact: {
|
162
|
-
id: string;
|
163
|
-
channel: string | null;
|
164
|
-
address: string | null;
|
165
|
-
name: string;
|
166
|
-
createdAt: Date;
|
167
|
-
updatedAt: Date;
|
168
|
-
deletedAt: Date | null;
|
169
|
-
notes: string | null;
|
170
|
-
contactProfile: string | null;
|
171
|
-
socialProfileUrl: string | null;
|
172
|
-
};
|
173
|
-
contactId: string;
|
174
|
-
isNewContact: boolean;
|
175
|
-
};
|
176
41
|
}>, "many">;
|
177
42
|
to: z.ZodArray<z.ZodObject<{
|
178
43
|
id: z.ZodString;
|
179
44
|
createdAt: z.ZodDate;
|
180
45
|
updatedAt: z.ZodDate;
|
181
46
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
182
|
-
|
183
|
-
|
184
|
-
mailUserId: z.ZodString;
|
185
|
-
mailUser: z.ZodObject<{
|
186
|
-
id: z.ZodString;
|
187
|
-
createdAt: z.ZodDate;
|
188
|
-
updatedAt: z.ZodDate;
|
189
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
190
|
-
name: z.ZodString;
|
191
|
-
address: z.ZodString;
|
192
|
-
contactId: z.ZodString;
|
193
|
-
contact: z.ZodObject<{
|
194
|
-
id: z.ZodString;
|
195
|
-
createdAt: z.ZodDate;
|
196
|
-
updatedAt: z.ZodDate;
|
197
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
198
|
-
name: z.ZodString;
|
199
|
-
address: z.ZodNullable<z.ZodString>;
|
200
|
-
channel: z.ZodNullable<z.ZodString>;
|
201
|
-
notes: z.ZodNullable<z.ZodString>;
|
202
|
-
contactProfile: z.ZodNullable<z.ZodString>;
|
203
|
-
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
204
|
-
}, "strip", z.ZodTypeAny, {
|
205
|
-
id: string;
|
206
|
-
channel: string | null;
|
207
|
-
address: string | null;
|
208
|
-
name: string;
|
209
|
-
createdAt: Date;
|
210
|
-
updatedAt: Date;
|
211
|
-
deletedAt: Date | null;
|
212
|
-
notes: string | null;
|
213
|
-
contactProfile: string | null;
|
214
|
-
socialProfileUrl: string | null;
|
215
|
-
}, {
|
216
|
-
id: string;
|
217
|
-
channel: string | null;
|
218
|
-
address: string | null;
|
219
|
-
name: string;
|
220
|
-
createdAt: Date;
|
221
|
-
updatedAt: Date;
|
222
|
-
deletedAt: Date | null;
|
223
|
-
notes: string | null;
|
224
|
-
contactProfile: string | null;
|
225
|
-
socialProfileUrl: string | null;
|
226
|
-
}>;
|
227
|
-
isNewContact: z.ZodBoolean;
|
228
|
-
}, "strip", z.ZodTypeAny, {
|
229
|
-
id: string;
|
230
|
-
address: string;
|
231
|
-
name: string;
|
232
|
-
createdAt: Date;
|
233
|
-
updatedAt: Date;
|
234
|
-
deletedAt: Date | null;
|
235
|
-
contact: {
|
236
|
-
id: string;
|
237
|
-
channel: string | null;
|
238
|
-
address: string | null;
|
239
|
-
name: string;
|
240
|
-
createdAt: Date;
|
241
|
-
updatedAt: Date;
|
242
|
-
deletedAt: Date | null;
|
243
|
-
notes: string | null;
|
244
|
-
contactProfile: string | null;
|
245
|
-
socialProfileUrl: string | null;
|
246
|
-
};
|
247
|
-
contactId: string;
|
248
|
-
isNewContact: boolean;
|
249
|
-
}, {
|
250
|
-
id: string;
|
251
|
-
address: string;
|
252
|
-
name: string;
|
253
|
-
createdAt: Date;
|
254
|
-
updatedAt: Date;
|
255
|
-
deletedAt: Date | null;
|
256
|
-
contact: {
|
257
|
-
id: string;
|
258
|
-
channel: string | null;
|
259
|
-
address: string | null;
|
260
|
-
name: string;
|
261
|
-
createdAt: Date;
|
262
|
-
updatedAt: Date;
|
263
|
-
deletedAt: Date | null;
|
264
|
-
notes: string | null;
|
265
|
-
contactProfile: string | null;
|
266
|
-
socialProfileUrl: string | null;
|
267
|
-
};
|
268
|
-
contactId: string;
|
269
|
-
isNewContact: boolean;
|
270
|
-
}>;
|
47
|
+
name: z.ZodString;
|
48
|
+
address: z.ZodString;
|
271
49
|
}, "strip", z.ZodTypeAny, {
|
272
50
|
id: string;
|
51
|
+
address: string;
|
52
|
+
name: string;
|
273
53
|
createdAt: Date;
|
274
54
|
updatedAt: Date;
|
275
55
|
deletedAt: Date | null;
|
276
|
-
roomId: string;
|
277
|
-
messageId: string;
|
278
|
-
mailUserId: string;
|
279
|
-
mailUser: {
|
280
|
-
id: string;
|
281
|
-
address: string;
|
282
|
-
name: string;
|
283
|
-
createdAt: Date;
|
284
|
-
updatedAt: Date;
|
285
|
-
deletedAt: Date | null;
|
286
|
-
contact: {
|
287
|
-
id: string;
|
288
|
-
channel: string | null;
|
289
|
-
address: string | null;
|
290
|
-
name: string;
|
291
|
-
createdAt: Date;
|
292
|
-
updatedAt: Date;
|
293
|
-
deletedAt: Date | null;
|
294
|
-
notes: string | null;
|
295
|
-
contactProfile: string | null;
|
296
|
-
socialProfileUrl: string | null;
|
297
|
-
};
|
298
|
-
contactId: string;
|
299
|
-
isNewContact: boolean;
|
300
|
-
};
|
301
56
|
}, {
|
302
57
|
id: string;
|
58
|
+
address: string;
|
59
|
+
name: string;
|
303
60
|
createdAt: Date;
|
304
61
|
updatedAt: Date;
|
305
62
|
deletedAt: Date | null;
|
306
|
-
roomId: string;
|
307
|
-
messageId: string;
|
308
|
-
mailUserId: string;
|
309
|
-
mailUser: {
|
310
|
-
id: string;
|
311
|
-
address: string;
|
312
|
-
name: string;
|
313
|
-
createdAt: Date;
|
314
|
-
updatedAt: Date;
|
315
|
-
deletedAt: Date | null;
|
316
|
-
contact: {
|
317
|
-
id: string;
|
318
|
-
channel: string | null;
|
319
|
-
address: string | null;
|
320
|
-
name: string;
|
321
|
-
createdAt: Date;
|
322
|
-
updatedAt: Date;
|
323
|
-
deletedAt: Date | null;
|
324
|
-
notes: string | null;
|
325
|
-
contactProfile: string | null;
|
326
|
-
socialProfileUrl: string | null;
|
327
|
-
};
|
328
|
-
contactId: string;
|
329
|
-
isNewContact: boolean;
|
330
|
-
};
|
331
63
|
}>, "many">;
|
332
64
|
cc: z.ZodArray<z.ZodObject<{
|
333
65
|
id: z.ZodString;
|
334
66
|
createdAt: z.ZodDate;
|
335
67
|
updatedAt: z.ZodDate;
|
336
68
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
337
|
-
|
338
|
-
|
339
|
-
mailUserId: z.ZodString;
|
340
|
-
mailUser: z.ZodObject<{
|
341
|
-
id: z.ZodString;
|
342
|
-
createdAt: z.ZodDate;
|
343
|
-
updatedAt: z.ZodDate;
|
344
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
345
|
-
name: z.ZodString;
|
346
|
-
address: z.ZodString;
|
347
|
-
contactId: z.ZodString;
|
348
|
-
contact: z.ZodObject<{
|
349
|
-
id: z.ZodString;
|
350
|
-
createdAt: z.ZodDate;
|
351
|
-
updatedAt: z.ZodDate;
|
352
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
353
|
-
name: z.ZodString;
|
354
|
-
address: z.ZodNullable<z.ZodString>;
|
355
|
-
channel: z.ZodNullable<z.ZodString>;
|
356
|
-
notes: z.ZodNullable<z.ZodString>;
|
357
|
-
contactProfile: z.ZodNullable<z.ZodString>;
|
358
|
-
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
359
|
-
}, "strip", z.ZodTypeAny, {
|
360
|
-
id: string;
|
361
|
-
channel: string | null;
|
362
|
-
address: string | null;
|
363
|
-
name: string;
|
364
|
-
createdAt: Date;
|
365
|
-
updatedAt: Date;
|
366
|
-
deletedAt: Date | null;
|
367
|
-
notes: string | null;
|
368
|
-
contactProfile: string | null;
|
369
|
-
socialProfileUrl: string | null;
|
370
|
-
}, {
|
371
|
-
id: string;
|
372
|
-
channel: string | null;
|
373
|
-
address: string | null;
|
374
|
-
name: string;
|
375
|
-
createdAt: Date;
|
376
|
-
updatedAt: Date;
|
377
|
-
deletedAt: Date | null;
|
378
|
-
notes: string | null;
|
379
|
-
contactProfile: string | null;
|
380
|
-
socialProfileUrl: string | null;
|
381
|
-
}>;
|
382
|
-
isNewContact: z.ZodBoolean;
|
383
|
-
}, "strip", z.ZodTypeAny, {
|
384
|
-
id: string;
|
385
|
-
address: string;
|
386
|
-
name: string;
|
387
|
-
createdAt: Date;
|
388
|
-
updatedAt: Date;
|
389
|
-
deletedAt: Date | null;
|
390
|
-
contact: {
|
391
|
-
id: string;
|
392
|
-
channel: string | null;
|
393
|
-
address: string | null;
|
394
|
-
name: string;
|
395
|
-
createdAt: Date;
|
396
|
-
updatedAt: Date;
|
397
|
-
deletedAt: Date | null;
|
398
|
-
notes: string | null;
|
399
|
-
contactProfile: string | null;
|
400
|
-
socialProfileUrl: string | null;
|
401
|
-
};
|
402
|
-
contactId: string;
|
403
|
-
isNewContact: boolean;
|
404
|
-
}, {
|
405
|
-
id: string;
|
406
|
-
address: string;
|
407
|
-
name: string;
|
408
|
-
createdAt: Date;
|
409
|
-
updatedAt: Date;
|
410
|
-
deletedAt: Date | null;
|
411
|
-
contact: {
|
412
|
-
id: string;
|
413
|
-
channel: string | null;
|
414
|
-
address: string | null;
|
415
|
-
name: string;
|
416
|
-
createdAt: Date;
|
417
|
-
updatedAt: Date;
|
418
|
-
deletedAt: Date | null;
|
419
|
-
notes: string | null;
|
420
|
-
contactProfile: string | null;
|
421
|
-
socialProfileUrl: string | null;
|
422
|
-
};
|
423
|
-
contactId: string;
|
424
|
-
isNewContact: boolean;
|
425
|
-
}>;
|
69
|
+
name: z.ZodString;
|
70
|
+
address: z.ZodString;
|
426
71
|
}, "strip", z.ZodTypeAny, {
|
427
72
|
id: string;
|
73
|
+
address: string;
|
74
|
+
name: string;
|
428
75
|
createdAt: Date;
|
429
76
|
updatedAt: Date;
|
430
77
|
deletedAt: Date | null;
|
431
|
-
roomId: string;
|
432
|
-
messageId: string;
|
433
|
-
mailUserId: string;
|
434
|
-
mailUser: {
|
435
|
-
id: string;
|
436
|
-
address: string;
|
437
|
-
name: string;
|
438
|
-
createdAt: Date;
|
439
|
-
updatedAt: Date;
|
440
|
-
deletedAt: Date | null;
|
441
|
-
contact: {
|
442
|
-
id: string;
|
443
|
-
channel: string | null;
|
444
|
-
address: string | null;
|
445
|
-
name: string;
|
446
|
-
createdAt: Date;
|
447
|
-
updatedAt: Date;
|
448
|
-
deletedAt: Date | null;
|
449
|
-
notes: string | null;
|
450
|
-
contactProfile: string | null;
|
451
|
-
socialProfileUrl: string | null;
|
452
|
-
};
|
453
|
-
contactId: string;
|
454
|
-
isNewContact: boolean;
|
455
|
-
};
|
456
78
|
}, {
|
457
79
|
id: string;
|
80
|
+
address: string;
|
81
|
+
name: string;
|
458
82
|
createdAt: Date;
|
459
83
|
updatedAt: Date;
|
460
84
|
deletedAt: Date | null;
|
461
|
-
roomId: string;
|
462
|
-
messageId: string;
|
463
|
-
mailUserId: string;
|
464
|
-
mailUser: {
|
465
|
-
id: string;
|
466
|
-
address: string;
|
467
|
-
name: string;
|
468
|
-
createdAt: Date;
|
469
|
-
updatedAt: Date;
|
470
|
-
deletedAt: Date | null;
|
471
|
-
contact: {
|
472
|
-
id: string;
|
473
|
-
channel: string | null;
|
474
|
-
address: string | null;
|
475
|
-
name: string;
|
476
|
-
createdAt: Date;
|
477
|
-
updatedAt: Date;
|
478
|
-
deletedAt: Date | null;
|
479
|
-
notes: string | null;
|
480
|
-
contactProfile: string | null;
|
481
|
-
socialProfileUrl: string | null;
|
482
|
-
};
|
483
|
-
contactId: string;
|
484
|
-
isNewContact: boolean;
|
485
|
-
};
|
486
85
|
}>, "many">;
|
487
86
|
bcc: z.ZodArray<z.ZodObject<{
|
488
87
|
id: z.ZodString;
|
489
88
|
createdAt: z.ZodDate;
|
490
89
|
updatedAt: z.ZodDate;
|
491
90
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
492
|
-
|
493
|
-
|
494
|
-
mailUserId: z.ZodString;
|
495
|
-
mailUser: z.ZodObject<{
|
496
|
-
id: z.ZodString;
|
497
|
-
createdAt: z.ZodDate;
|
498
|
-
updatedAt: z.ZodDate;
|
499
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
500
|
-
name: z.ZodString;
|
501
|
-
address: z.ZodString;
|
502
|
-
contactId: z.ZodString;
|
503
|
-
contact: z.ZodObject<{
|
504
|
-
id: z.ZodString;
|
505
|
-
createdAt: z.ZodDate;
|
506
|
-
updatedAt: z.ZodDate;
|
507
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
508
|
-
name: z.ZodString;
|
509
|
-
address: z.ZodNullable<z.ZodString>;
|
510
|
-
channel: z.ZodNullable<z.ZodString>;
|
511
|
-
notes: z.ZodNullable<z.ZodString>;
|
512
|
-
contactProfile: z.ZodNullable<z.ZodString>;
|
513
|
-
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
514
|
-
}, "strip", z.ZodTypeAny, {
|
515
|
-
id: string;
|
516
|
-
channel: string | null;
|
517
|
-
address: string | null;
|
518
|
-
name: string;
|
519
|
-
createdAt: Date;
|
520
|
-
updatedAt: Date;
|
521
|
-
deletedAt: Date | null;
|
522
|
-
notes: string | null;
|
523
|
-
contactProfile: string | null;
|
524
|
-
socialProfileUrl: string | null;
|
525
|
-
}, {
|
526
|
-
id: string;
|
527
|
-
channel: string | null;
|
528
|
-
address: string | null;
|
529
|
-
name: string;
|
530
|
-
createdAt: Date;
|
531
|
-
updatedAt: Date;
|
532
|
-
deletedAt: Date | null;
|
533
|
-
notes: string | null;
|
534
|
-
contactProfile: string | null;
|
535
|
-
socialProfileUrl: string | null;
|
536
|
-
}>;
|
537
|
-
isNewContact: z.ZodBoolean;
|
538
|
-
}, "strip", z.ZodTypeAny, {
|
539
|
-
id: string;
|
540
|
-
address: string;
|
541
|
-
name: string;
|
542
|
-
createdAt: Date;
|
543
|
-
updatedAt: Date;
|
544
|
-
deletedAt: Date | null;
|
545
|
-
contact: {
|
546
|
-
id: string;
|
547
|
-
channel: string | null;
|
548
|
-
address: string | null;
|
549
|
-
name: string;
|
550
|
-
createdAt: Date;
|
551
|
-
updatedAt: Date;
|
552
|
-
deletedAt: Date | null;
|
553
|
-
notes: string | null;
|
554
|
-
contactProfile: string | null;
|
555
|
-
socialProfileUrl: string | null;
|
556
|
-
};
|
557
|
-
contactId: string;
|
558
|
-
isNewContact: boolean;
|
559
|
-
}, {
|
560
|
-
id: string;
|
561
|
-
address: string;
|
562
|
-
name: string;
|
563
|
-
createdAt: Date;
|
564
|
-
updatedAt: Date;
|
565
|
-
deletedAt: Date | null;
|
566
|
-
contact: {
|
567
|
-
id: string;
|
568
|
-
channel: string | null;
|
569
|
-
address: string | null;
|
570
|
-
name: string;
|
571
|
-
createdAt: Date;
|
572
|
-
updatedAt: Date;
|
573
|
-
deletedAt: Date | null;
|
574
|
-
notes: string | null;
|
575
|
-
contactProfile: string | null;
|
576
|
-
socialProfileUrl: string | null;
|
577
|
-
};
|
578
|
-
contactId: string;
|
579
|
-
isNewContact: boolean;
|
580
|
-
}>;
|
91
|
+
name: z.ZodString;
|
92
|
+
address: z.ZodString;
|
581
93
|
}, "strip", z.ZodTypeAny, {
|
582
94
|
id: string;
|
95
|
+
address: string;
|
96
|
+
name: string;
|
583
97
|
createdAt: Date;
|
584
98
|
updatedAt: Date;
|
585
99
|
deletedAt: Date | null;
|
586
|
-
roomId: string;
|
587
|
-
messageId: string;
|
588
|
-
mailUserId: string;
|
589
|
-
mailUser: {
|
590
|
-
id: string;
|
591
|
-
address: string;
|
592
|
-
name: string;
|
593
|
-
createdAt: Date;
|
594
|
-
updatedAt: Date;
|
595
|
-
deletedAt: Date | null;
|
596
|
-
contact: {
|
597
|
-
id: string;
|
598
|
-
channel: string | null;
|
599
|
-
address: string | null;
|
600
|
-
name: string;
|
601
|
-
createdAt: Date;
|
602
|
-
updatedAt: Date;
|
603
|
-
deletedAt: Date | null;
|
604
|
-
notes: string | null;
|
605
|
-
contactProfile: string | null;
|
606
|
-
socialProfileUrl: string | null;
|
607
|
-
};
|
608
|
-
contactId: string;
|
609
|
-
isNewContact: boolean;
|
610
|
-
};
|
611
100
|
}, {
|
612
101
|
id: string;
|
102
|
+
address: string;
|
103
|
+
name: string;
|
613
104
|
createdAt: Date;
|
614
105
|
updatedAt: Date;
|
615
106
|
deletedAt: Date | null;
|
616
|
-
roomId: string;
|
617
|
-
messageId: string;
|
618
|
-
mailUserId: string;
|
619
|
-
mailUser: {
|
620
|
-
id: string;
|
621
|
-
address: string;
|
622
|
-
name: string;
|
623
|
-
createdAt: Date;
|
624
|
-
updatedAt: Date;
|
625
|
-
deletedAt: Date | null;
|
626
|
-
contact: {
|
627
|
-
id: string;
|
628
|
-
channel: string | null;
|
629
|
-
address: string | null;
|
630
|
-
name: string;
|
631
|
-
createdAt: Date;
|
632
|
-
updatedAt: Date;
|
633
|
-
deletedAt: Date | null;
|
634
|
-
notes: string | null;
|
635
|
-
contactProfile: string | null;
|
636
|
-
socialProfileUrl: string | null;
|
637
|
-
};
|
638
|
-
contactId: string;
|
639
|
-
isNewContact: boolean;
|
640
|
-
};
|
641
107
|
}>, "many">;
|
642
108
|
attachments: z.ZodArray<z.ZodObject<{
|
643
109
|
id: z.ZodString;
|
@@ -742,34 +208,11 @@ export declare const MessageSchema: z.ZodObject<{
|
|
742
208
|
roomId: string;
|
743
209
|
from: {
|
744
210
|
id: string;
|
211
|
+
address: string;
|
212
|
+
name: string;
|
745
213
|
createdAt: Date;
|
746
214
|
updatedAt: Date;
|
747
215
|
deletedAt: Date | null;
|
748
|
-
roomId: string;
|
749
|
-
messageId: string;
|
750
|
-
mailUserId: string;
|
751
|
-
mailUser: {
|
752
|
-
id: string;
|
753
|
-
address: string;
|
754
|
-
name: string;
|
755
|
-
createdAt: Date;
|
756
|
-
updatedAt: Date;
|
757
|
-
deletedAt: Date | null;
|
758
|
-
contact: {
|
759
|
-
id: string;
|
760
|
-
channel: string | null;
|
761
|
-
address: string | null;
|
762
|
-
name: string;
|
763
|
-
createdAt: Date;
|
764
|
-
updatedAt: Date;
|
765
|
-
deletedAt: Date | null;
|
766
|
-
notes: string | null;
|
767
|
-
contactProfile: string | null;
|
768
|
-
socialProfileUrl: string | null;
|
769
|
-
};
|
770
|
-
contactId: string;
|
771
|
-
isNewContact: boolean;
|
772
|
-
};
|
773
216
|
}[];
|
774
217
|
attachments: {
|
775
218
|
id: string;
|
@@ -798,98 +241,28 @@ export declare const MessageSchema: z.ZodObject<{
|
|
798
241
|
subject: string;
|
799
242
|
to: {
|
800
243
|
id: string;
|
244
|
+
address: string;
|
245
|
+
name: string;
|
801
246
|
createdAt: Date;
|
802
247
|
updatedAt: Date;
|
803
248
|
deletedAt: Date | null;
|
804
|
-
roomId: string;
|
805
|
-
messageId: string;
|
806
|
-
mailUserId: string;
|
807
|
-
mailUser: {
|
808
|
-
id: string;
|
809
|
-
address: string;
|
810
|
-
name: string;
|
811
|
-
createdAt: Date;
|
812
|
-
updatedAt: Date;
|
813
|
-
deletedAt: Date | null;
|
814
|
-
contact: {
|
815
|
-
id: string;
|
816
|
-
channel: string | null;
|
817
|
-
address: string | null;
|
818
|
-
name: string;
|
819
|
-
createdAt: Date;
|
820
|
-
updatedAt: Date;
|
821
|
-
deletedAt: Date | null;
|
822
|
-
notes: string | null;
|
823
|
-
contactProfile: string | null;
|
824
|
-
socialProfileUrl: string | null;
|
825
|
-
};
|
826
|
-
contactId: string;
|
827
|
-
isNewContact: boolean;
|
828
|
-
};
|
829
249
|
}[];
|
830
250
|
cc: {
|
831
251
|
id: string;
|
252
|
+
address: string;
|
253
|
+
name: string;
|
832
254
|
createdAt: Date;
|
833
255
|
updatedAt: Date;
|
834
256
|
deletedAt: Date | null;
|
835
|
-
roomId: string;
|
836
|
-
messageId: string;
|
837
|
-
mailUserId: string;
|
838
|
-
mailUser: {
|
839
|
-
id: string;
|
840
|
-
address: string;
|
841
|
-
name: string;
|
842
|
-
createdAt: Date;
|
843
|
-
updatedAt: Date;
|
844
|
-
deletedAt: Date | null;
|
845
|
-
contact: {
|
846
|
-
id: string;
|
847
|
-
channel: string | null;
|
848
|
-
address: string | null;
|
849
|
-
name: string;
|
850
|
-
createdAt: Date;
|
851
|
-
updatedAt: Date;
|
852
|
-
deletedAt: Date | null;
|
853
|
-
notes: string | null;
|
854
|
-
contactProfile: string | null;
|
855
|
-
socialProfileUrl: string | null;
|
856
|
-
};
|
857
|
-
contactId: string;
|
858
|
-
isNewContact: boolean;
|
859
|
-
};
|
860
257
|
}[];
|
861
258
|
bcc: {
|
862
259
|
id: string;
|
260
|
+
address: string;
|
261
|
+
name: string;
|
863
262
|
createdAt: Date;
|
864
263
|
updatedAt: Date;
|
865
264
|
deletedAt: Date | null;
|
866
|
-
roomId: string;
|
867
|
-
messageId: string;
|
868
|
-
mailUserId: string;
|
869
|
-
mailUser: {
|
870
|
-
id: string;
|
871
|
-
address: string;
|
872
|
-
name: string;
|
873
|
-
createdAt: Date;
|
874
|
-
updatedAt: Date;
|
875
|
-
deletedAt: Date | null;
|
876
|
-
contact: {
|
877
|
-
id: string;
|
878
|
-
channel: string | null;
|
879
|
-
address: string | null;
|
880
|
-
name: string;
|
881
|
-
createdAt: Date;
|
882
|
-
updatedAt: Date;
|
883
|
-
deletedAt: Date | null;
|
884
|
-
notes: string | null;
|
885
|
-
contactProfile: string | null;
|
886
|
-
socialProfileUrl: string | null;
|
887
|
-
};
|
888
|
-
contactId: string;
|
889
|
-
isNewContact: boolean;
|
890
|
-
};
|
891
265
|
}[];
|
892
|
-
sendAt: Date;
|
893
266
|
textPlain: string;
|
894
267
|
textHtml: string;
|
895
268
|
textId: string;
|
@@ -897,7 +270,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
897
270
|
emailEngineMessageId: string;
|
898
271
|
emailEngineReplyTo: string | null;
|
899
272
|
unseen: boolean;
|
900
|
-
starred: boolean;
|
901
273
|
seemsLikeNew: boolean;
|
902
274
|
}, {
|
903
275
|
id: string;
|
@@ -910,34 +282,11 @@ export declare const MessageSchema: z.ZodObject<{
|
|
910
282
|
roomId: string;
|
911
283
|
from: {
|
912
284
|
id: string;
|
285
|
+
address: string;
|
286
|
+
name: string;
|
913
287
|
createdAt: Date;
|
914
288
|
updatedAt: Date;
|
915
289
|
deletedAt: Date | null;
|
916
|
-
roomId: string;
|
917
|
-
messageId: string;
|
918
|
-
mailUserId: string;
|
919
|
-
mailUser: {
|
920
|
-
id: string;
|
921
|
-
address: string;
|
922
|
-
name: string;
|
923
|
-
createdAt: Date;
|
924
|
-
updatedAt: Date;
|
925
|
-
deletedAt: Date | null;
|
926
|
-
contact: {
|
927
|
-
id: string;
|
928
|
-
channel: string | null;
|
929
|
-
address: string | null;
|
930
|
-
name: string;
|
931
|
-
createdAt: Date;
|
932
|
-
updatedAt: Date;
|
933
|
-
deletedAt: Date | null;
|
934
|
-
notes: string | null;
|
935
|
-
contactProfile: string | null;
|
936
|
-
socialProfileUrl: string | null;
|
937
|
-
};
|
938
|
-
contactId: string;
|
939
|
-
isNewContact: boolean;
|
940
|
-
};
|
941
290
|
}[];
|
942
291
|
attachments: {
|
943
292
|
id: string;
|
@@ -966,98 +315,28 @@ export declare const MessageSchema: z.ZodObject<{
|
|
966
315
|
subject: string;
|
967
316
|
to: {
|
968
317
|
id: string;
|
318
|
+
address: string;
|
319
|
+
name: string;
|
969
320
|
createdAt: Date;
|
970
321
|
updatedAt: Date;
|
971
322
|
deletedAt: Date | null;
|
972
|
-
roomId: string;
|
973
|
-
messageId: string;
|
974
|
-
mailUserId: string;
|
975
|
-
mailUser: {
|
976
|
-
id: string;
|
977
|
-
address: string;
|
978
|
-
name: string;
|
979
|
-
createdAt: Date;
|
980
|
-
updatedAt: Date;
|
981
|
-
deletedAt: Date | null;
|
982
|
-
contact: {
|
983
|
-
id: string;
|
984
|
-
channel: string | null;
|
985
|
-
address: string | null;
|
986
|
-
name: string;
|
987
|
-
createdAt: Date;
|
988
|
-
updatedAt: Date;
|
989
|
-
deletedAt: Date | null;
|
990
|
-
notes: string | null;
|
991
|
-
contactProfile: string | null;
|
992
|
-
socialProfileUrl: string | null;
|
993
|
-
};
|
994
|
-
contactId: string;
|
995
|
-
isNewContact: boolean;
|
996
|
-
};
|
997
323
|
}[];
|
998
324
|
cc: {
|
999
325
|
id: string;
|
326
|
+
address: string;
|
327
|
+
name: string;
|
1000
328
|
createdAt: Date;
|
1001
329
|
updatedAt: Date;
|
1002
330
|
deletedAt: Date | null;
|
1003
|
-
roomId: string;
|
1004
|
-
messageId: string;
|
1005
|
-
mailUserId: string;
|
1006
|
-
mailUser: {
|
1007
|
-
id: string;
|
1008
|
-
address: string;
|
1009
|
-
name: string;
|
1010
|
-
createdAt: Date;
|
1011
|
-
updatedAt: Date;
|
1012
|
-
deletedAt: Date | null;
|
1013
|
-
contact: {
|
1014
|
-
id: string;
|
1015
|
-
channel: string | null;
|
1016
|
-
address: string | null;
|
1017
|
-
name: string;
|
1018
|
-
createdAt: Date;
|
1019
|
-
updatedAt: Date;
|
1020
|
-
deletedAt: Date | null;
|
1021
|
-
notes: string | null;
|
1022
|
-
contactProfile: string | null;
|
1023
|
-
socialProfileUrl: string | null;
|
1024
|
-
};
|
1025
|
-
contactId: string;
|
1026
|
-
isNewContact: boolean;
|
1027
|
-
};
|
1028
331
|
}[];
|
1029
332
|
bcc: {
|
1030
333
|
id: string;
|
334
|
+
address: string;
|
335
|
+
name: string;
|
1031
336
|
createdAt: Date;
|
1032
337
|
updatedAt: Date;
|
1033
338
|
deletedAt: Date | null;
|
1034
|
-
roomId: string;
|
1035
|
-
messageId: string;
|
1036
|
-
mailUserId: string;
|
1037
|
-
mailUser: {
|
1038
|
-
id: string;
|
1039
|
-
address: string;
|
1040
|
-
name: string;
|
1041
|
-
createdAt: Date;
|
1042
|
-
updatedAt: Date;
|
1043
|
-
deletedAt: Date | null;
|
1044
|
-
contact: {
|
1045
|
-
id: string;
|
1046
|
-
channel: string | null;
|
1047
|
-
address: string | null;
|
1048
|
-
name: string;
|
1049
|
-
createdAt: Date;
|
1050
|
-
updatedAt: Date;
|
1051
|
-
deletedAt: Date | null;
|
1052
|
-
notes: string | null;
|
1053
|
-
contactProfile: string | null;
|
1054
|
-
socialProfileUrl: string | null;
|
1055
|
-
};
|
1056
|
-
contactId: string;
|
1057
|
-
isNewContact: boolean;
|
1058
|
-
};
|
1059
339
|
}[];
|
1060
|
-
sendAt: Date;
|
1061
340
|
textPlain: string;
|
1062
341
|
textHtml: string;
|
1063
342
|
textId: string;
|
@@ -1065,7 +344,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
1065
344
|
emailEngineMessageId: string;
|
1066
345
|
emailEngineReplyTo: string | null;
|
1067
346
|
unseen: boolean;
|
1068
|
-
starred: boolean;
|
1069
347
|
seemsLikeNew: boolean;
|
1070
348
|
}>;
|
1071
349
|
//# sourceMappingURL=message.schema.d.ts.map
|