@kl1/contracts 1.0.31 → 1.0.32

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 (54) hide show
  1. package/dist/index.js +1649 -1714
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1647 -1712
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/app/index.d.ts +17 -0
  6. package/dist/src/app/index.d.ts.map +1 -0
  7. package/dist/src/channel/index.d.ts +20 -200
  8. package/dist/src/channel/index.d.ts.map +1 -1
  9. package/dist/src/channel/validation.d.ts +12 -6
  10. package/dist/src/channel/validation.d.ts.map +1 -1
  11. package/dist/src/chat/index.d.ts +32 -32
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +4 -4
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +45 -171
  16. package/dist/src/chat/validation.d.ts.map +1 -1
  17. package/dist/src/company/index.d.ts +5 -8
  18. package/dist/src/company/index.d.ts.map +1 -1
  19. package/dist/src/company/schema.d.ts +0 -137
  20. package/dist/src/company/schema.d.ts.map +1 -1
  21. package/dist/src/contact/index.d.ts +1103 -1103
  22. package/dist/src/contract.d.ts +1825 -2025
  23. package/dist/src/contract.d.ts.map +1 -1
  24. package/dist/src/dashboard/index.d.ts +7 -11
  25. package/dist/src/dashboard/index.d.ts.map +1 -1
  26. package/dist/src/dashboard/schema.d.ts +2 -127
  27. package/dist/src/dashboard/schema.d.ts.map +1 -1
  28. package/dist/src/index.d.ts +1 -3
  29. package/dist/src/index.d.ts.map +1 -1
  30. package/dist/src/mail/mail-contract.d.ts +42 -42
  31. package/dist/src/mail/mail-server.d.ts +216 -0
  32. package/dist/src/mail/mail-server.d.ts.map +1 -0
  33. package/dist/src/mail/room-contract.d.ts +42 -42
  34. package/dist/src/mail/schemas/room-validation.schema.d.ts +14 -14
  35. package/dist/src/mail/schemas/room.schema.d.ts +10 -10
  36. package/dist/src/messenger/index.d.ts +693 -1198
  37. package/dist/src/messenger/index.d.ts.map +1 -1
  38. package/dist/src/messenger/validation.d.ts +1 -108
  39. package/dist/src/messenger/validation.d.ts.map +1 -1
  40. package/dist/src/platform-contact/schema.d.ts +30 -0
  41. package/dist/src/platform-contact/schema.d.ts.map +1 -0
  42. package/dist/src/telephony-cdr/index.d.ts +458 -1
  43. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  44. package/dist/src/telephony-cdr/validation.d.ts +74 -0
  45. package/dist/src/telephony-cdr/validation.d.ts.map +1 -1
  46. package/dist/src/ticket/index.d.ts +342 -207
  47. package/dist/src/ticket/index.d.ts.map +1 -1
  48. package/dist/src/ticket/validation.d.ts +338 -168
  49. package/dist/src/ticket/validation.d.ts.map +1 -1
  50. package/dist/src/widget/index.d.ts +1 -72
  51. package/dist/src/widget/index.d.ts.map +1 -1
  52. package/dist/src/widget/validation.d.ts +0 -10
  53. package/dist/src/widget/validation.d.ts.map +1 -1
  54. package/package.json +1 -1
@@ -1,26 +1,22 @@
1
- import z from 'zod';
2
- import { GetFacebookPagesQuerySchema, GetFacebookPagesSchema } from './validation';
3
- export type GetFacebookPagesResponse = z.infer<typeof GetFacebookPagesSchema>;
4
- export type GetFacebookPagesQuery = z.infer<typeof GetFacebookPagesQuerySchema>;
5
1
  export declare const messengerContract: {
6
2
  sendMessage: {
7
- body: z.ZodObject<{
8
- room: z.ZodObject<{
9
- id: z.ZodString;
10
- lastMessage: z.ZodOptional<z.ZodString>;
11
- handleTime: z.ZodOptional<z.ZodNumber>;
12
- isLatest: z.ZodBoolean;
13
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
14
- platformContact: z.ZodObject<{
15
- channelId: z.ZodString;
16
- socialPlatformId: z.ZodNullable<z.ZodString>;
17
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
18
- metadata: z.ZodObject<{
19
- id: z.ZodString;
20
- name: z.ZodString;
21
- picture: z.ZodOptional<z.ZodString>;
22
- additionalCredentials: z.ZodAny;
23
- }, "strip", z.ZodTypeAny, {
3
+ body: import("zod").ZodObject<{
4
+ room: import("zod").ZodObject<{
5
+ id: import("zod").ZodString;
6
+ lastMessage: import("zod").ZodOptional<import("zod").ZodString>;
7
+ handleTime: import("zod").ZodOptional<import("zod").ZodNumber>;
8
+ isLatest: import("zod").ZodBoolean;
9
+ direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
10
+ platformContact: import("zod").ZodObject<{
11
+ channelId: import("zod").ZodString;
12
+ socialPlatformId: import("zod").ZodNullable<import("zod").ZodString>;
13
+ type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
14
+ metadata: import("zod").ZodObject<{
15
+ id: import("zod").ZodString;
16
+ name: import("zod").ZodString;
17
+ picture: import("zod").ZodOptional<import("zod").ZodString>;
18
+ additionalCredentials: import("zod").ZodAny;
19
+ }, "strip", import("zod").ZodTypeAny, {
24
20
  id: string;
25
21
  name: string;
26
22
  picture?: string | undefined;
@@ -31,14 +27,14 @@ export declare const messengerContract: {
31
27
  picture?: string | undefined;
32
28
  additionalCredentials?: any;
33
29
  }>;
34
- contact: z.ZodObject<{
35
- name: z.ZodString;
36
- address: z.ZodNullable<z.ZodString>;
37
- channel: z.ZodNullable<z.ZodString>;
38
- notes: z.ZodNullable<z.ZodString>;
39
- contactProfile: z.ZodNullable<z.ZodString>;
40
- socialProfileUrl: z.ZodNullable<z.ZodString>;
41
- }, "strip", z.ZodTypeAny, {
30
+ contact: import("zod").ZodObject<{
31
+ name: import("zod").ZodString;
32
+ address: import("zod").ZodNullable<import("zod").ZodString>;
33
+ channel: import("zod").ZodNullable<import("zod").ZodString>;
34
+ notes: import("zod").ZodNullable<import("zod").ZodString>;
35
+ contactProfile: import("zod").ZodNullable<import("zod").ZodString>;
36
+ socialProfileUrl: import("zod").ZodNullable<import("zod").ZodString>;
37
+ }, "strip", import("zod").ZodTypeAny, {
42
38
  channel: string | null;
43
39
  address: string | null;
44
40
  name: string;
@@ -53,7 +49,7 @@ export declare const messengerContract: {
53
49
  contactProfile: string | null;
54
50
  socialProfileUrl: string | null;
55
51
  }>;
56
- }, "strip", z.ZodTypeAny, {
52
+ }, "strip", import("zod").ZodTypeAny, {
57
53
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
58
54
  metadata: {
59
55
  id: string;
@@ -90,12 +86,12 @@ export declare const messengerContract: {
90
86
  channelId: string;
91
87
  socialPlatformId: string | null;
92
88
  }>;
93
- actor: z.ZodNullable<z.ZodObject<{
94
- name: z.ZodString;
95
- email: z.ZodString;
96
- address: z.ZodNullable<z.ZodString>;
97
- phone: z.ZodNullable<z.ZodString>;
98
- }, "strip", z.ZodTypeAny, {
89
+ actor: import("zod").ZodNullable<import("zod").ZodObject<{
90
+ name: import("zod").ZodString;
91
+ email: import("zod").ZodString;
92
+ address: import("zod").ZodNullable<import("zod").ZodString>;
93
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
94
+ }, "strip", import("zod").ZodTypeAny, {
99
95
  address: string | null;
100
96
  name: string;
101
97
  email: string;
@@ -106,15 +102,15 @@ export declare const messengerContract: {
106
102
  email: string;
107
103
  phone: string | null;
108
104
  }>>;
109
- channel: z.ZodObject<{
110
- name: z.ZodString;
111
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
112
- metadata: z.ZodObject<{
113
- id: z.ZodString;
114
- name: z.ZodString;
115
- accessToken: z.ZodString;
116
- additionalCredentials: z.ZodOptional<z.ZodAny>;
117
- }, "strip", z.ZodTypeAny, {
105
+ channel: import("zod").ZodObject<{
106
+ name: import("zod").ZodString;
107
+ type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
108
+ metadata: import("zod").ZodObject<{
109
+ id: import("zod").ZodString;
110
+ name: import("zod").ZodString;
111
+ accessToken: import("zod").ZodString;
112
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
113
+ }, "strip", import("zod").ZodTypeAny, {
118
114
  id: string;
119
115
  name: string;
120
116
  accessToken: string;
@@ -125,31 +121,13 @@ export declare const messengerContract: {
125
121
  accessToken: string;
126
122
  additionalCredentials?: any;
127
123
  }>;
128
- platformId: z.ZodString;
129
- brandName: z.ZodString;
130
- status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
131
- connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
132
- connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
133
- actor: z.ZodObject<{
134
- id: z.ZodString;
135
- name: z.ZodString;
136
- email: z.ZodString;
137
- address: z.ZodNullable<z.ZodString>;
138
- phone: z.ZodNullable<z.ZodString>;
139
- }, "strip", z.ZodTypeAny, {
140
- id: string;
141
- address: string | null;
142
- name: string;
143
- email: string;
144
- phone: string | null;
145
- }, {
146
- id: string;
147
- address: string | null;
148
- name: string;
149
- email: string;
150
- phone: string | null;
151
- }>;
152
- }, "strip", z.ZodTypeAny, {
124
+ brandName: import("zod").ZodString;
125
+ platformId: import("zod").ZodString;
126
+ status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
127
+ isReloginRequired: import("zod").ZodBoolean;
128
+ connectedUserName: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
129
+ connectedUserId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
130
+ }, "strip", import("zod").ZodTypeAny, {
153
131
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
154
132
  name: string;
155
133
  metadata: {
@@ -161,13 +139,7 @@ export declare const messengerContract: {
161
139
  status: boolean;
162
140
  brandName: string;
163
141
  platformId: string;
164
- actor: {
165
- id: string;
166
- address: string | null;
167
- name: string;
168
- email: string;
169
- phone: string | null;
170
- };
142
+ isReloginRequired: boolean;
171
143
  connectedUserName?: string | null | undefined;
172
144
  connectedUserId?: string | null | undefined;
173
145
  }, {
@@ -182,17 +154,11 @@ export declare const messengerContract: {
182
154
  status: boolean;
183
155
  brandName: string;
184
156
  platformId: string;
185
- actor: {
186
- id: string;
187
- address: string | null;
188
- name: string;
189
- email: string;
190
- phone: string | null;
191
- };
157
+ isReloginRequired: boolean;
192
158
  connectedUserName?: string | null | undefined;
193
159
  connectedUserId?: string | null | undefined;
194
160
  }>;
195
- }, "strip", z.ZodTypeAny, {
161
+ }, "strip", import("zod").ZodTypeAny, {
196
162
  id: string;
197
163
  channel: {
198
164
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -206,13 +172,7 @@ export declare const messengerContract: {
206
172
  status: boolean;
207
173
  brandName: string;
208
174
  platformId: string;
209
- actor: {
210
- id: string;
211
- address: string | null;
212
- name: string;
213
- email: string;
214
- phone: string | null;
215
- };
175
+ isReloginRequired: boolean;
216
176
  connectedUserName?: string | null | undefined;
217
177
  connectedUserId?: string | null | undefined;
218
178
  };
@@ -259,13 +219,7 @@ export declare const messengerContract: {
259
219
  status: boolean;
260
220
  brandName: string;
261
221
  platformId: string;
262
- actor: {
263
- id: string;
264
- address: string | null;
265
- name: string;
266
- email: string;
267
- phone: string | null;
268
- };
222
+ isReloginRequired: boolean;
269
223
  connectedUserName?: string | null | undefined;
270
224
  connectedUserId?: string | null | undefined;
271
225
  };
@@ -299,30 +253,30 @@ export declare const messengerContract: {
299
253
  lastMessage?: string | undefined;
300
254
  handleTime?: number | undefined;
301
255
  }>;
302
- message: z.ZodObject<{
303
- message: z.ZodOptional<z.ZodString>;
304
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
305
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
306
- readAt: z.ZodOptional<z.ZodDate>;
307
- metadata: z.ZodOptional<z.ZodAny>;
308
- platformId: z.ZodOptional<z.ZodString>;
309
- platformMessageId: z.ZodOptional<z.ZodString>;
310
- replyPlatformMessageId: z.ZodOptional<z.ZodString>;
311
- template: z.ZodOptional<z.ZodAny>;
312
- locale: z.ZodOptional<z.ZodEnum<["mm", "en", "th", ""]>>;
313
- url: z.ZodOptional<z.ZodString>;
314
- previewUrl: z.ZodOptional<z.ZodString>;
315
- imageSetId: z.ZodOptional<z.ZodString>;
316
- upload: z.ZodOptional<z.ZodObject<{
317
- id: z.ZodString;
318
- createdAt: z.ZodDate;
319
- updatedAt: z.ZodDate;
320
- deletedAt: z.ZodNullable<z.ZodDate>;
321
- bucketName: z.ZodString;
322
- fileName: z.ZodString;
323
- fileSize: z.ZodNumber;
324
- fileKey: z.ZodString;
325
- }, "strip", z.ZodTypeAny, {
256
+ message: import("zod").ZodObject<{
257
+ message: import("zod").ZodOptional<import("zod").ZodString>;
258
+ direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
259
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
260
+ readAt: import("zod").ZodOptional<import("zod").ZodDate>;
261
+ metadata: import("zod").ZodOptional<import("zod").ZodAny>;
262
+ platformId: import("zod").ZodOptional<import("zod").ZodString>;
263
+ platformMessageId: import("zod").ZodOptional<import("zod").ZodString>;
264
+ replyPlatformMessageId: import("zod").ZodOptional<import("zod").ZodString>;
265
+ template: import("zod").ZodOptional<import("zod").ZodAny>;
266
+ locale: import("zod").ZodOptional<import("zod").ZodEnum<["mm", "en", "th", ""]>>;
267
+ url: import("zod").ZodOptional<import("zod").ZodString>;
268
+ previewUrl: import("zod").ZodOptional<import("zod").ZodString>;
269
+ imageSetId: import("zod").ZodOptional<import("zod").ZodString>;
270
+ upload: import("zod").ZodOptional<import("zod").ZodObject<{
271
+ id: import("zod").ZodString;
272
+ createdAt: import("zod").ZodDate;
273
+ updatedAt: import("zod").ZodDate;
274
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
275
+ bucketName: import("zod").ZodString;
276
+ fileName: import("zod").ZodString;
277
+ fileSize: import("zod").ZodNumber;
278
+ fileKey: import("zod").ZodString;
279
+ }, "strip", import("zod").ZodTypeAny, {
326
280
  id: string;
327
281
  createdAt: Date;
328
282
  updatedAt: Date;
@@ -341,12 +295,12 @@ export declare const messengerContract: {
341
295
  bucketName: string;
342
296
  fileSize: number;
343
297
  }>>;
344
- sender: z.ZodObject<{
345
- name: z.ZodString;
346
- email: z.ZodString;
347
- address: z.ZodNullable<z.ZodString>;
348
- phone: z.ZodNullable<z.ZodString>;
349
- }, "strip", z.ZodTypeAny, {
298
+ sender: import("zod").ZodObject<{
299
+ name: import("zod").ZodString;
300
+ email: import("zod").ZodString;
301
+ address: import("zod").ZodNullable<import("zod").ZodString>;
302
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
303
+ }, "strip", import("zod").ZodTypeAny, {
350
304
  address: string | null;
351
305
  name: string;
352
306
  email: string;
@@ -357,8 +311,8 @@ export declare const messengerContract: {
357
311
  email: string;
358
312
  phone: string | null;
359
313
  }>;
360
- }, "strip", z.ZodTypeAny, {
361
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
314
+ }, "strip", import("zod").ZodTypeAny, {
315
+ type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
362
316
  direction: "incoming" | "outgoing" | "system";
363
317
  sender: {
364
318
  address: string | null;
@@ -388,7 +342,7 @@ export declare const messengerContract: {
388
342
  fileSize: number;
389
343
  } | undefined;
390
344
  }, {
391
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
345
+ type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
392
346
  direction: "incoming" | "outgoing" | "system";
393
347
  sender: {
394
348
  address: string | null;
@@ -418,9 +372,9 @@ export declare const messengerContract: {
418
372
  fileSize: number;
419
373
  } | undefined;
420
374
  }>;
421
- }, "strip", z.ZodTypeAny, {
375
+ }, "strip", import("zod").ZodTypeAny, {
422
376
  message: {
423
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
377
+ type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
424
378
  direction: "incoming" | "outgoing" | "system";
425
379
  sender: {
426
380
  address: string | null;
@@ -464,13 +418,7 @@ export declare const messengerContract: {
464
418
  status: boolean;
465
419
  brandName: string;
466
420
  platformId: string;
467
- actor: {
468
- id: string;
469
- address: string | null;
470
- name: string;
471
- email: string;
472
- phone: string | null;
473
- };
421
+ isReloginRequired: boolean;
474
422
  connectedUserName?: string | null | undefined;
475
423
  connectedUserId?: string | null | undefined;
476
424
  };
@@ -506,7 +454,7 @@ export declare const messengerContract: {
506
454
  };
507
455
  }, {
508
456
  message: {
509
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
457
+ type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
510
458
  direction: "incoming" | "outgoing" | "system";
511
459
  sender: {
512
460
  address: string | null;
@@ -550,13 +498,7 @@ export declare const messengerContract: {
550
498
  status: boolean;
551
499
  brandName: string;
552
500
  platformId: string;
553
- actor: {
554
- id: string;
555
- address: string | null;
556
- name: string;
557
- email: string;
558
- phone: string | null;
559
- };
501
+ isReloginRequired: boolean;
560
502
  connectedUserName?: string | null | undefined;
561
503
  connectedUserId?: string | null | undefined;
562
504
  };
@@ -593,53 +535,53 @@ export declare const messengerContract: {
593
535
  }>;
594
536
  method: "POST";
595
537
  responses: {
596
- 200: z.ZodObject<{
597
- requestId: z.ZodString;
598
- data: z.ZodObject<{
599
- id: z.ZodString;
600
- createdAt: z.ZodDate;
601
- updatedAt: z.ZodDate;
602
- deletedAt: z.ZodNullable<z.ZodDate>;
603
- message: z.ZodString;
604
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
605
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
606
- readAt: z.ZodDate;
607
- metadata: z.ZodAny;
608
- platformId: z.ZodString;
609
- platformMessageId: z.ZodString;
610
- replyPlatformMessageId: z.ZodString;
611
- template: z.ZodAny;
612
- locale: z.ZodEnum<["mm", "en", "th", ""]>;
613
- url: z.ZodString;
614
- previewUrl: z.ZodString;
615
- imageSetId: z.ZodString;
616
- room: z.ZodObject<{
617
- id: z.ZodString;
618
- createdAt: z.ZodDate;
619
- updatedAt: z.ZodDate;
620
- deletedAt: z.ZodNullable<z.ZodDate>;
621
- lastMessage: z.ZodString;
622
- handleTime: z.ZodNumber;
623
- closeAt: z.ZodDate;
624
- unreadCount: z.ZodNumber;
625
- firstResponseAt: z.ZodDate;
626
- firstResponseTime: z.ZodNumber;
627
- isLatest: z.ZodBoolean;
628
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
629
- platformContact: z.ZodObject<{
630
- id: z.ZodString;
631
- createdAt: z.ZodDate;
632
- updatedAt: z.ZodDate;
633
- deletedAt: z.ZodNullable<z.ZodDate>;
634
- channelId: z.ZodString;
635
- socialPlatformId: z.ZodString;
636
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
637
- metadata: z.ZodObject<{
638
- id: z.ZodString;
639
- name: z.ZodString;
640
- picture: z.ZodOptional<z.ZodString>;
641
- additionalCredentials: z.ZodAny;
642
- }, "strip", z.ZodTypeAny, {
538
+ 200: import("zod").ZodObject<{
539
+ requestId: import("zod").ZodString;
540
+ data: import("zod").ZodObject<{
541
+ id: import("zod").ZodString;
542
+ createdAt: import("zod").ZodDate;
543
+ updatedAt: import("zod").ZodDate;
544
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
545
+ message: import("zod").ZodString;
546
+ direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
547
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
548
+ readAt: import("zod").ZodDate;
549
+ metadata: import("zod").ZodAny;
550
+ platformId: import("zod").ZodString;
551
+ platformMessageId: import("zod").ZodString;
552
+ replyPlatformMessageId: import("zod").ZodString;
553
+ template: import("zod").ZodAny;
554
+ locale: import("zod").ZodEnum<["mm", "en", "th", ""]>;
555
+ url: import("zod").ZodString;
556
+ previewUrl: import("zod").ZodString;
557
+ imageSetId: import("zod").ZodString;
558
+ room: import("zod").ZodObject<{
559
+ id: import("zod").ZodString;
560
+ createdAt: import("zod").ZodDate;
561
+ updatedAt: import("zod").ZodDate;
562
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
563
+ lastMessage: import("zod").ZodString;
564
+ handleTime: import("zod").ZodNumber;
565
+ closeAt: import("zod").ZodDate;
566
+ unreadCount: import("zod").ZodNumber;
567
+ firstResponseAt: import("zod").ZodDate;
568
+ firstResponseTime: import("zod").ZodNumber;
569
+ isLatest: import("zod").ZodBoolean;
570
+ direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
571
+ platformContact: import("zod").ZodObject<{
572
+ id: import("zod").ZodString;
573
+ createdAt: import("zod").ZodDate;
574
+ updatedAt: import("zod").ZodDate;
575
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
576
+ channelId: import("zod").ZodString;
577
+ socialPlatformId: import("zod").ZodString;
578
+ type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
579
+ metadata: import("zod").ZodObject<{
580
+ id: import("zod").ZodString;
581
+ name: import("zod").ZodString;
582
+ picture: import("zod").ZodOptional<import("zod").ZodString>;
583
+ additionalCredentials: import("zod").ZodAny;
584
+ }, "strip", import("zod").ZodTypeAny, {
643
585
  id: string;
644
586
  name: string;
645
587
  picture?: string | undefined;
@@ -650,24 +592,24 @@ export declare const messengerContract: {
650
592
  picture?: string | undefined;
651
593
  additionalCredentials?: any;
652
594
  }>;
653
- contact: z.ZodObject<{
654
- id: z.ZodString;
655
- createdAt: z.ZodDate;
656
- updatedAt: z.ZodDate;
657
- deletedAt: z.ZodNullable<z.ZodDate>;
658
- name: z.ZodString;
659
- address: z.ZodNullable<z.ZodString>;
660
- channel: z.ZodNullable<z.ZodString>;
661
- notes: z.ZodNullable<z.ZodString>;
662
- contactProfile: z.ZodNullable<z.ZodString>;
663
- socialProfileUrl: z.ZodNullable<z.ZodString>;
664
- tags: z.ZodArray<z.ZodObject<{
665
- id: z.ZodString;
666
- createdAt: z.ZodDate;
667
- updatedAt: z.ZodDate;
668
- deletedAt: z.ZodNullable<z.ZodDate>;
669
- name: z.ZodString;
670
- }, "strip", z.ZodTypeAny, {
595
+ contact: import("zod").ZodObject<{
596
+ id: import("zod").ZodString;
597
+ createdAt: import("zod").ZodDate;
598
+ updatedAt: import("zod").ZodDate;
599
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
600
+ name: import("zod").ZodString;
601
+ address: import("zod").ZodNullable<import("zod").ZodString>;
602
+ channel: import("zod").ZodNullable<import("zod").ZodString>;
603
+ notes: import("zod").ZodNullable<import("zod").ZodString>;
604
+ contactProfile: import("zod").ZodNullable<import("zod").ZodString>;
605
+ socialProfileUrl: import("zod").ZodNullable<import("zod").ZodString>;
606
+ tags: import("zod").ZodArray<import("zod").ZodObject<{
607
+ id: import("zod").ZodString;
608
+ createdAt: import("zod").ZodDate;
609
+ updatedAt: import("zod").ZodDate;
610
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
611
+ name: import("zod").ZodString;
612
+ }, "strip", import("zod").ZodTypeAny, {
671
613
  id: string;
672
614
  name: string;
673
615
  createdAt: Date;
@@ -680,44 +622,44 @@ export declare const messengerContract: {
680
622
  updatedAt: Date;
681
623
  deletedAt: Date | null;
682
624
  }>, "many">;
683
- company: z.ZodNullable<z.ZodObject<Omit<{
684
- id: z.ZodString;
685
- createdAt: z.ZodDate;
686
- updatedAt: z.ZodDate;
687
- deletedAt: z.ZodNullable<z.ZodDate>;
688
- name: z.ZodOptional<z.ZodString>;
689
- phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
690
- address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
691
- industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
692
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
693
- id: z.ZodString;
694
- createdAt: z.ZodDate;
695
- updatedAt: z.ZodDate;
696
- deletedAt: z.ZodNullable<z.ZodDate>;
697
- textValue: z.ZodNullable<z.ZodString>;
698
- booleanValue: z.ZodNullable<z.ZodBoolean>;
699
- numberValue: z.ZodNullable<z.ZodNumber>;
700
- dateValue: z.ZodNullable<z.ZodDate>;
701
- attribute: z.ZodObject<Omit<{
702
- id: z.ZodString;
703
- createdAt: z.ZodDate;
704
- updatedAt: z.ZodDate;
705
- deletedAt: z.ZodNullable<z.ZodDate>;
706
- systemName: z.ZodString;
707
- displayName: z.ZodString;
708
- type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
709
- position: z.ZodNumber;
710
- isDefault: z.ZodBoolean;
711
- isArchived: z.ZodBoolean;
712
- isRequired: z.ZodBoolean;
713
- isUnique: z.ZodBoolean;
714
- options: z.ZodArray<z.ZodObject<{
715
- position: z.ZodNumber;
716
- value: z.ZodString;
717
- label: z.ZodString;
718
- isDefault: z.ZodBoolean;
719
- id: z.ZodString;
720
- }, "strip", z.ZodTypeAny, {
625
+ company: import("zod").ZodNullable<import("zod").ZodObject<Omit<{
626
+ id: import("zod").ZodString;
627
+ createdAt: import("zod").ZodDate;
628
+ updatedAt: import("zod").ZodDate;
629
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
630
+ name: import("zod").ZodOptional<import("zod").ZodString>;
631
+ phone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
632
+ address: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
633
+ industry: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
634
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
635
+ id: import("zod").ZodString;
636
+ createdAt: import("zod").ZodDate;
637
+ updatedAt: import("zod").ZodDate;
638
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
639
+ textValue: import("zod").ZodNullable<import("zod").ZodString>;
640
+ booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
641
+ numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
642
+ dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
643
+ attribute: import("zod").ZodObject<Omit<{
644
+ id: import("zod").ZodString;
645
+ createdAt: import("zod").ZodDate;
646
+ updatedAt: import("zod").ZodDate;
647
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
648
+ systemName: import("zod").ZodString;
649
+ displayName: import("zod").ZodString;
650
+ type: import("zod").ZodUnion<[import("zod").ZodLiteral<"text">, import("zod").ZodLiteral<"textarea">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"select">, import("zod").ZodLiteral<"link">, import("zod").ZodLiteral<"attachment">]>;
651
+ position: import("zod").ZodNumber;
652
+ isDefault: import("zod").ZodBoolean;
653
+ isArchived: import("zod").ZodBoolean;
654
+ isRequired: import("zod").ZodBoolean;
655
+ isUnique: import("zod").ZodBoolean;
656
+ options: import("zod").ZodArray<import("zod").ZodObject<{
657
+ position: import("zod").ZodNumber;
658
+ value: import("zod").ZodString;
659
+ label: import("zod").ZodString;
660
+ isDefault: import("zod").ZodBoolean;
661
+ id: import("zod").ZodString;
662
+ }, "strip", import("zod").ZodTypeAny, {
721
663
  id: string;
722
664
  position: number;
723
665
  value: string;
@@ -730,14 +672,14 @@ export declare const messengerContract: {
730
672
  label: string;
731
673
  isDefault: boolean;
732
674
  }>, "many">;
733
- group: z.ZodObject<{
734
- id: z.ZodString;
735
- createdAt: z.ZodDate;
736
- updatedAt: z.ZodDate;
737
- deletedAt: z.ZodNullable<z.ZodDate>;
738
- systemName: z.ZodString;
739
- displayName: z.ZodString;
740
- }, "strip", z.ZodTypeAny, {
675
+ group: import("zod").ZodObject<{
676
+ id: import("zod").ZodString;
677
+ createdAt: import("zod").ZodDate;
678
+ updatedAt: import("zod").ZodDate;
679
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
680
+ systemName: import("zod").ZodString;
681
+ displayName: import("zod").ZodString;
682
+ }, "strip", import("zod").ZodTypeAny, {
741
683
  id: string;
742
684
  createdAt: Date;
743
685
  updatedAt: Date;
@@ -752,7 +694,7 @@ export declare const messengerContract: {
752
694
  systemName: string;
753
695
  displayName: string;
754
696
  }>;
755
- }, "options" | "group">, "strip", z.ZodTypeAny, {
697
+ }, "options" | "group">, "strip", import("zod").ZodTypeAny, {
756
698
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
757
699
  id: string;
758
700
  position: number;
@@ -779,7 +721,7 @@ export declare const messengerContract: {
779
721
  isRequired: boolean;
780
722
  isUnique: boolean;
781
723
  }>;
782
- }, "strip", z.ZodTypeAny, {
724
+ }, "strip", import("zod").ZodTypeAny, {
783
725
  id: string;
784
726
  createdAt: Date;
785
727
  updatedAt: Date;
@@ -826,7 +768,7 @@ export declare const messengerContract: {
826
768
  numberValue: number | null;
827
769
  dateValue: Date | null;
828
770
  }>, "many">>;
829
- }, "customFields">, "strip", z.ZodTypeAny, {
771
+ }, "customFields">, "strip", import("zod").ZodTypeAny, {
830
772
  id: string;
831
773
  createdAt: Date;
832
774
  updatedAt: Date;
@@ -845,35 +787,35 @@ export declare const messengerContract: {
845
787
  phone?: string | null | undefined;
846
788
  industry?: string | null | undefined;
847
789
  }>>;
848
- customFields: z.ZodArray<z.ZodObject<{
849
- id: z.ZodString;
850
- createdAt: z.ZodDate;
851
- updatedAt: z.ZodDate;
852
- deletedAt: z.ZodNullable<z.ZodDate>;
853
- textValue: z.ZodNullable<z.ZodString>;
854
- booleanValue: z.ZodNullable<z.ZodBoolean>;
855
- numberValue: z.ZodNullable<z.ZodNumber>;
856
- dateValue: z.ZodNullable<z.ZodDate>;
857
- attribute: z.ZodObject<Omit<{
858
- id: z.ZodString;
859
- createdAt: z.ZodDate;
860
- updatedAt: z.ZodDate;
861
- deletedAt: z.ZodNullable<z.ZodDate>;
862
- systemName: z.ZodString;
863
- displayName: z.ZodString;
864
- type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
865
- position: z.ZodNumber;
866
- isDefault: z.ZodBoolean;
867
- isArchived: z.ZodBoolean;
868
- isRequired: z.ZodBoolean;
869
- isUnique: z.ZodBoolean;
870
- options: z.ZodArray<z.ZodObject<{
871
- position: z.ZodNumber;
872
- value: z.ZodString;
873
- label: z.ZodString;
874
- isDefault: z.ZodBoolean;
875
- id: z.ZodString;
876
- }, "strip", z.ZodTypeAny, {
790
+ customFields: import("zod").ZodArray<import("zod").ZodObject<{
791
+ id: import("zod").ZodString;
792
+ createdAt: import("zod").ZodDate;
793
+ updatedAt: import("zod").ZodDate;
794
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
795
+ textValue: import("zod").ZodNullable<import("zod").ZodString>;
796
+ booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
797
+ numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
798
+ dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
799
+ attribute: import("zod").ZodObject<Omit<{
800
+ id: import("zod").ZodString;
801
+ createdAt: import("zod").ZodDate;
802
+ updatedAt: import("zod").ZodDate;
803
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
804
+ systemName: import("zod").ZodString;
805
+ displayName: import("zod").ZodString;
806
+ type: import("zod").ZodUnion<[import("zod").ZodLiteral<"text">, import("zod").ZodLiteral<"textarea">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"select">, import("zod").ZodLiteral<"link">, import("zod").ZodLiteral<"attachment">]>;
807
+ position: import("zod").ZodNumber;
808
+ isDefault: import("zod").ZodBoolean;
809
+ isArchived: import("zod").ZodBoolean;
810
+ isRequired: import("zod").ZodBoolean;
811
+ isUnique: import("zod").ZodBoolean;
812
+ options: import("zod").ZodArray<import("zod").ZodObject<{
813
+ position: import("zod").ZodNumber;
814
+ value: import("zod").ZodString;
815
+ label: import("zod").ZodString;
816
+ isDefault: import("zod").ZodBoolean;
817
+ id: import("zod").ZodString;
818
+ }, "strip", import("zod").ZodTypeAny, {
877
819
  id: string;
878
820
  position: number;
879
821
  value: string;
@@ -886,14 +828,14 @@ export declare const messengerContract: {
886
828
  label: string;
887
829
  isDefault: boolean;
888
830
  }>, "many">;
889
- group: z.ZodObject<{
890
- id: z.ZodString;
891
- createdAt: z.ZodDate;
892
- updatedAt: z.ZodDate;
893
- deletedAt: z.ZodNullable<z.ZodDate>;
894
- systemName: z.ZodString;
895
- displayName: z.ZodString;
896
- }, "strip", z.ZodTypeAny, {
831
+ group: import("zod").ZodObject<{
832
+ id: import("zod").ZodString;
833
+ createdAt: import("zod").ZodDate;
834
+ updatedAt: import("zod").ZodDate;
835
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
836
+ systemName: import("zod").ZodString;
837
+ displayName: import("zod").ZodString;
838
+ }, "strip", import("zod").ZodTypeAny, {
897
839
  id: string;
898
840
  createdAt: Date;
899
841
  updatedAt: Date;
@@ -908,7 +850,7 @@ export declare const messengerContract: {
908
850
  systemName: string;
909
851
  displayName: string;
910
852
  }>;
911
- }, "options" | "group">, "strip", z.ZodTypeAny, {
853
+ }, "options" | "group">, "strip", import("zod").ZodTypeAny, {
912
854
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
913
855
  id: string;
914
856
  position: number;
@@ -935,22 +877,22 @@ export declare const messengerContract: {
935
877
  isRequired: boolean;
936
878
  isUnique: boolean;
937
879
  }>;
938
- uploads: z.ZodArray<z.ZodObject<{
939
- id: z.ZodString;
940
- createdAt: z.ZodDate;
941
- updatedAt: z.ZodDate;
942
- deletedAt: z.ZodNullable<z.ZodDate>;
943
- customFieldId: z.ZodString;
944
- upload: z.ZodObject<{
945
- id: z.ZodString;
946
- createdAt: z.ZodDate;
947
- updatedAt: z.ZodDate;
948
- deletedAt: z.ZodNullable<z.ZodDate>;
949
- bucketName: z.ZodString;
950
- fileName: z.ZodString;
951
- fileSize: z.ZodNumber;
952
- fileKey: z.ZodString;
953
- }, "strip", z.ZodTypeAny, {
880
+ uploads: import("zod").ZodArray<import("zod").ZodObject<{
881
+ id: import("zod").ZodString;
882
+ createdAt: import("zod").ZodDate;
883
+ updatedAt: import("zod").ZodDate;
884
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
885
+ customFieldId: import("zod").ZodString;
886
+ upload: import("zod").ZodObject<{
887
+ id: import("zod").ZodString;
888
+ createdAt: import("zod").ZodDate;
889
+ updatedAt: import("zod").ZodDate;
890
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
891
+ bucketName: import("zod").ZodString;
892
+ fileName: import("zod").ZodString;
893
+ fileSize: import("zod").ZodNumber;
894
+ fileKey: import("zod").ZodString;
895
+ }, "strip", import("zod").ZodTypeAny, {
954
896
  id: string;
955
897
  createdAt: Date;
956
898
  updatedAt: Date;
@@ -969,7 +911,7 @@ export declare const messengerContract: {
969
911
  bucketName: string;
970
912
  fileSize: number;
971
913
  }>;
972
- }, "strip", z.ZodTypeAny, {
914
+ }, "strip", import("zod").ZodTypeAny, {
973
915
  id: string;
974
916
  createdAt: Date;
975
917
  updatedAt: Date;
@@ -1002,7 +944,7 @@ export declare const messengerContract: {
1002
944
  fileSize: number;
1003
945
  };
1004
946
  }>, "many">;
1005
- }, "strip", z.ZodTypeAny, {
947
+ }, "strip", import("zod").ZodTypeAny, {
1006
948
  id: string;
1007
949
  createdAt: Date;
1008
950
  updatedAt: Date;
@@ -1083,14 +1025,14 @@ export declare const messengerContract: {
1083
1025
  };
1084
1026
  }[];
1085
1027
  }>, "many">;
1086
- contactEmails: z.ZodArray<z.ZodObject<{
1087
- id: z.ZodString;
1088
- createdAt: z.ZodDate;
1089
- updatedAt: z.ZodDate;
1090
- deletedAt: z.ZodNullable<z.ZodDate>;
1091
- email: z.ZodString;
1092
- isPrimary: z.ZodBoolean;
1093
- }, "strip", z.ZodTypeAny, {
1028
+ contactEmails: import("zod").ZodArray<import("zod").ZodObject<{
1029
+ id: import("zod").ZodString;
1030
+ createdAt: import("zod").ZodDate;
1031
+ updatedAt: import("zod").ZodDate;
1032
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1033
+ email: import("zod").ZodString;
1034
+ isPrimary: import("zod").ZodBoolean;
1035
+ }, "strip", import("zod").ZodTypeAny, {
1094
1036
  id: string;
1095
1037
  isPrimary: boolean;
1096
1038
  email: string;
@@ -1105,14 +1047,14 @@ export declare const messengerContract: {
1105
1047
  updatedAt: Date;
1106
1048
  deletedAt: Date | null;
1107
1049
  }>, "many">;
1108
- contactPhones: z.ZodArray<z.ZodObject<{
1109
- id: z.ZodString;
1110
- createdAt: z.ZodDate;
1111
- updatedAt: z.ZodDate;
1112
- deletedAt: z.ZodNullable<z.ZodDate>;
1113
- phone: z.ZodString;
1114
- isPrimary: z.ZodBoolean;
1115
- }, "strip", z.ZodTypeAny, {
1050
+ contactPhones: import("zod").ZodArray<import("zod").ZodObject<{
1051
+ id: import("zod").ZodString;
1052
+ createdAt: import("zod").ZodDate;
1053
+ updatedAt: import("zod").ZodDate;
1054
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1055
+ phone: import("zod").ZodString;
1056
+ isPrimary: import("zod").ZodBoolean;
1057
+ }, "strip", import("zod").ZodTypeAny, {
1116
1058
  id: string;
1117
1059
  isPrimary: boolean;
1118
1060
  createdAt: Date;
@@ -1127,21 +1069,21 @@ export declare const messengerContract: {
1127
1069
  deletedAt: Date | null;
1128
1070
  phone: string;
1129
1071
  }>, "many">;
1130
- activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1131
- id: z.ZodString;
1132
- createdAt: z.ZodDate;
1133
- updatedAt: z.ZodDate;
1134
- deletedAt: z.ZodNullable<z.ZodDate>;
1135
- entityId: z.ZodString;
1136
- description: z.ZodString;
1137
- entityType: z.ZodObject<{
1138
- id: z.ZodString;
1139
- createdAt: z.ZodDate;
1140
- updatedAt: z.ZodDate;
1141
- deletedAt: z.ZodNullable<z.ZodDate>;
1142
- entity: z.ZodString;
1143
- description: z.ZodNullable<z.ZodString>;
1144
- }, "strip", z.ZodTypeAny, {
1072
+ activityLogs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1073
+ id: import("zod").ZodString;
1074
+ createdAt: import("zod").ZodDate;
1075
+ updatedAt: import("zod").ZodDate;
1076
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1077
+ entityId: import("zod").ZodString;
1078
+ description: import("zod").ZodString;
1079
+ entityType: import("zod").ZodObject<{
1080
+ id: import("zod").ZodString;
1081
+ createdAt: import("zod").ZodDate;
1082
+ updatedAt: import("zod").ZodDate;
1083
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1084
+ entity: import("zod").ZodString;
1085
+ description: import("zod").ZodNullable<import("zod").ZodString>;
1086
+ }, "strip", import("zod").ZodTypeAny, {
1145
1087
  id: string;
1146
1088
  description: string | null;
1147
1089
  createdAt: Date;
@@ -1156,7 +1098,7 @@ export declare const messengerContract: {
1156
1098
  deletedAt: Date | null;
1157
1099
  entity: string;
1158
1100
  }>;
1159
- }, "strip", z.ZodTypeAny, {
1101
+ }, "strip", import("zod").ZodTypeAny, {
1160
1102
  id: string;
1161
1103
  description: string;
1162
1104
  createdAt: Date;
@@ -1187,7 +1129,7 @@ export declare const messengerContract: {
1187
1129
  entity: string;
1188
1130
  };
1189
1131
  }>, "many">>;
1190
- }, "strip", z.ZodTypeAny, {
1132
+ }, "strip", import("zod").ZodTypeAny, {
1191
1133
  id: string;
1192
1134
  channel: string | null;
1193
1135
  address: string | null;
@@ -1390,7 +1332,7 @@ export declare const messengerContract: {
1390
1332
  };
1391
1333
  }[] | undefined;
1392
1334
  }>;
1393
- }, "strip", z.ZodTypeAny, {
1335
+ }, "strip", import("zod").ZodTypeAny, {
1394
1336
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
1395
1337
  id: string;
1396
1338
  metadata: {
@@ -1623,35 +1565,35 @@ export declare const messengerContract: {
1623
1565
  channelId: string;
1624
1566
  socialPlatformId: string;
1625
1567
  }>;
1626
- actor: z.ZodObject<{
1627
- id: z.ZodString;
1628
- createdAt: z.ZodDate;
1629
- updatedAt: z.ZodDate;
1630
- deletedAt: z.ZodNullable<z.ZodDate>;
1631
- name: z.ZodString;
1632
- email: z.ZodString;
1633
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1634
- password: z.ZodString;
1635
- address: z.ZodNullable<z.ZodString>;
1636
- phone: z.ZodNullable<z.ZodString>;
1637
- notificationCount: z.ZodNullable<z.ZodNumber>;
1638
- roles: z.ZodArray<z.ZodObject<{
1639
- id: z.ZodString;
1640
- createdAt: z.ZodDate;
1641
- updatedAt: z.ZodDate;
1642
- deletedAt: z.ZodNullable<z.ZodDate>;
1643
- systemName: z.ZodString;
1644
- displayName: z.ZodString;
1645
- description: z.ZodNullable<z.ZodString>;
1646
- permissions: z.ZodArray<z.ZodObject<{
1647
- id: z.ZodString;
1648
- createdAt: z.ZodDate;
1649
- updatedAt: z.ZodDate;
1650
- deletedAt: z.ZodNullable<z.ZodDate>;
1651
- systemName: z.ZodString;
1652
- displayName: z.ZodString;
1653
- description: z.ZodNullable<z.ZodString>;
1654
- }, "strip", z.ZodTypeAny, {
1568
+ actor: import("zod").ZodObject<{
1569
+ id: import("zod").ZodString;
1570
+ createdAt: import("zod").ZodDate;
1571
+ updatedAt: import("zod").ZodDate;
1572
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1573
+ name: import("zod").ZodString;
1574
+ email: import("zod").ZodString;
1575
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1576
+ password: import("zod").ZodString;
1577
+ address: import("zod").ZodNullable<import("zod").ZodString>;
1578
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
1579
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
1580
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
1581
+ id: import("zod").ZodString;
1582
+ createdAt: import("zod").ZodDate;
1583
+ updatedAt: import("zod").ZodDate;
1584
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1585
+ systemName: import("zod").ZodString;
1586
+ displayName: import("zod").ZodString;
1587
+ description: import("zod").ZodNullable<import("zod").ZodString>;
1588
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
1589
+ id: import("zod").ZodString;
1590
+ createdAt: import("zod").ZodDate;
1591
+ updatedAt: import("zod").ZodDate;
1592
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1593
+ systemName: import("zod").ZodString;
1594
+ displayName: import("zod").ZodString;
1595
+ description: import("zod").ZodNullable<import("zod").ZodString>;
1596
+ }, "strip", import("zod").ZodTypeAny, {
1655
1597
  id: string;
1656
1598
  description: string | null;
1657
1599
  createdAt: Date;
@@ -1668,7 +1610,7 @@ export declare const messengerContract: {
1668
1610
  systemName: string;
1669
1611
  displayName: string;
1670
1612
  }>, "many">;
1671
- }, "strip", z.ZodTypeAny, {
1613
+ }, "strip", import("zod").ZodTypeAny, {
1672
1614
  id: string;
1673
1615
  description: string | null;
1674
1616
  createdAt: Date;
@@ -1703,18 +1645,18 @@ export declare const messengerContract: {
1703
1645
  displayName: string;
1704
1646
  }[];
1705
1647
  }>, "many">;
1706
- extension: z.ZodOptional<z.ZodObject<{
1707
- id: z.ZodString;
1708
- createdAt: z.ZodDate;
1709
- updatedAt: z.ZodDate;
1710
- deletedAt: z.ZodNullable<z.ZodDate>;
1711
- userId: z.ZodNullable<z.ZodString>;
1712
- sipServerUrl: z.ZodString;
1713
- sipUserName: z.ZodString;
1714
- extensionId: z.ZodNumber;
1715
- extensionName: z.ZodString;
1716
- telephonySignature: z.ZodNullable<z.ZodString>;
1717
- }, "strip", z.ZodTypeAny, {
1648
+ extension: import("zod").ZodOptional<import("zod").ZodObject<{
1649
+ id: import("zod").ZodString;
1650
+ createdAt: import("zod").ZodDate;
1651
+ updatedAt: import("zod").ZodDate;
1652
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1653
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
1654
+ sipServerUrl: import("zod").ZodString;
1655
+ sipUserName: import("zod").ZodString;
1656
+ extensionId: import("zod").ZodNumber;
1657
+ extensionName: import("zod").ZodString;
1658
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
1659
+ }, "strip", import("zod").ZodTypeAny, {
1718
1660
  id: string;
1719
1661
  createdAt: Date;
1720
1662
  updatedAt: Date;
@@ -1737,7 +1679,7 @@ export declare const messengerContract: {
1737
1679
  extensionName: string;
1738
1680
  telephonySignature: string | null;
1739
1681
  }>>;
1740
- }, "strip", z.ZodTypeAny, {
1682
+ }, "strip", import("zod").ZodTypeAny, {
1741
1683
  id: string;
1742
1684
  address: string | null;
1743
1685
  name: string;
@@ -1822,35 +1764,35 @@ export declare const messengerContract: {
1822
1764
  telephonySignature: string | null;
1823
1765
  } | undefined;
1824
1766
  }>;
1825
- assignee: z.ZodObject<{
1826
- id: z.ZodString;
1827
- createdAt: z.ZodDate;
1828
- updatedAt: z.ZodDate;
1829
- deletedAt: z.ZodNullable<z.ZodDate>;
1830
- name: z.ZodString;
1831
- email: z.ZodString;
1832
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1833
- password: z.ZodString;
1834
- address: z.ZodNullable<z.ZodString>;
1835
- phone: z.ZodNullable<z.ZodString>;
1836
- notificationCount: z.ZodNullable<z.ZodNumber>;
1837
- roles: z.ZodArray<z.ZodObject<{
1838
- id: z.ZodString;
1839
- createdAt: z.ZodDate;
1840
- updatedAt: z.ZodDate;
1841
- deletedAt: z.ZodNullable<z.ZodDate>;
1842
- systemName: z.ZodString;
1843
- displayName: z.ZodString;
1844
- description: z.ZodNullable<z.ZodString>;
1845
- permissions: z.ZodArray<z.ZodObject<{
1846
- id: z.ZodString;
1847
- createdAt: z.ZodDate;
1848
- updatedAt: z.ZodDate;
1849
- deletedAt: z.ZodNullable<z.ZodDate>;
1850
- systemName: z.ZodString;
1851
- displayName: z.ZodString;
1852
- description: z.ZodNullable<z.ZodString>;
1853
- }, "strip", z.ZodTypeAny, {
1767
+ assignee: import("zod").ZodObject<{
1768
+ id: import("zod").ZodString;
1769
+ createdAt: import("zod").ZodDate;
1770
+ updatedAt: import("zod").ZodDate;
1771
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1772
+ name: import("zod").ZodString;
1773
+ email: import("zod").ZodString;
1774
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1775
+ password: import("zod").ZodString;
1776
+ address: import("zod").ZodNullable<import("zod").ZodString>;
1777
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
1778
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
1779
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
1780
+ id: import("zod").ZodString;
1781
+ createdAt: import("zod").ZodDate;
1782
+ updatedAt: import("zod").ZodDate;
1783
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1784
+ systemName: import("zod").ZodString;
1785
+ displayName: import("zod").ZodString;
1786
+ description: import("zod").ZodNullable<import("zod").ZodString>;
1787
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
1788
+ id: import("zod").ZodString;
1789
+ createdAt: import("zod").ZodDate;
1790
+ updatedAt: import("zod").ZodDate;
1791
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1792
+ systemName: import("zod").ZodString;
1793
+ displayName: import("zod").ZodString;
1794
+ description: import("zod").ZodNullable<import("zod").ZodString>;
1795
+ }, "strip", import("zod").ZodTypeAny, {
1854
1796
  id: string;
1855
1797
  description: string | null;
1856
1798
  createdAt: Date;
@@ -1867,7 +1809,7 @@ export declare const messengerContract: {
1867
1809
  systemName: string;
1868
1810
  displayName: string;
1869
1811
  }>, "many">;
1870
- }, "strip", z.ZodTypeAny, {
1812
+ }, "strip", import("zod").ZodTypeAny, {
1871
1813
  id: string;
1872
1814
  description: string | null;
1873
1815
  createdAt: Date;
@@ -1902,18 +1844,18 @@ export declare const messengerContract: {
1902
1844
  displayName: string;
1903
1845
  }[];
1904
1846
  }>, "many">;
1905
- extension: z.ZodOptional<z.ZodObject<{
1906
- id: z.ZodString;
1907
- createdAt: z.ZodDate;
1908
- updatedAt: z.ZodDate;
1909
- deletedAt: z.ZodNullable<z.ZodDate>;
1910
- userId: z.ZodNullable<z.ZodString>;
1911
- sipServerUrl: z.ZodString;
1912
- sipUserName: z.ZodString;
1913
- extensionId: z.ZodNumber;
1914
- extensionName: z.ZodString;
1915
- telephonySignature: z.ZodNullable<z.ZodString>;
1916
- }, "strip", z.ZodTypeAny, {
1847
+ extension: import("zod").ZodOptional<import("zod").ZodObject<{
1848
+ id: import("zod").ZodString;
1849
+ createdAt: import("zod").ZodDate;
1850
+ updatedAt: import("zod").ZodDate;
1851
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1852
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
1853
+ sipServerUrl: import("zod").ZodString;
1854
+ sipUserName: import("zod").ZodString;
1855
+ extensionId: import("zod").ZodNumber;
1856
+ extensionName: import("zod").ZodString;
1857
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
1858
+ }, "strip", import("zod").ZodTypeAny, {
1917
1859
  id: string;
1918
1860
  createdAt: Date;
1919
1861
  updatedAt: Date;
@@ -1936,7 +1878,7 @@ export declare const messengerContract: {
1936
1878
  extensionName: string;
1937
1879
  telephonySignature: string | null;
1938
1880
  }>>;
1939
- }, "strip", z.ZodTypeAny, {
1881
+ }, "strip", import("zod").ZodTypeAny, {
1940
1882
  id: string;
1941
1883
  address: string | null;
1942
1884
  name: string;
@@ -2021,19 +1963,19 @@ export declare const messengerContract: {
2021
1963
  telephonySignature: string | null;
2022
1964
  } | undefined;
2023
1965
  }>;
2024
- channel: z.ZodOptional<z.ZodObject<{
2025
- id: z.ZodOptional<z.ZodString>;
2026
- createdAt: z.ZodOptional<z.ZodDate>;
2027
- updatedAt: z.ZodOptional<z.ZodDate>;
2028
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2029
- name: z.ZodOptional<z.ZodString>;
2030
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
2031
- metadata: z.ZodOptional<z.ZodObject<{
2032
- id: z.ZodString;
2033
- name: z.ZodString;
2034
- accessToken: z.ZodString;
2035
- additionalCredentials: z.ZodOptional<z.ZodAny>;
2036
- }, "strip", z.ZodTypeAny, {
1966
+ channel: import("zod").ZodOptional<import("zod").ZodObject<{
1967
+ id: import("zod").ZodOptional<import("zod").ZodString>;
1968
+ createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
1969
+ updatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
1970
+ deletedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1971
+ name: import("zod").ZodOptional<import("zod").ZodString>;
1972
+ type: import("zod").ZodOptional<import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
1973
+ metadata: import("zod").ZodOptional<import("zod").ZodObject<{
1974
+ id: import("zod").ZodString;
1975
+ name: import("zod").ZodString;
1976
+ accessToken: import("zod").ZodString;
1977
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
1978
+ }, "strip", import("zod").ZodTypeAny, {
2037
1979
  id: string;
2038
1980
  name: string;
2039
1981
  accessToken: string;
@@ -2044,41 +1986,41 @@ export declare const messengerContract: {
2044
1986
  accessToken: string;
2045
1987
  additionalCredentials?: any;
2046
1988
  }>>;
2047
- brandName: z.ZodOptional<z.ZodString>;
2048
- platformId: z.ZodOptional<z.ZodString>;
2049
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
2050
- isReloginRequired: z.ZodOptional<z.ZodBoolean>;
2051
- connectedUserName: z.ZodOptional<z.ZodString>;
2052
- connectedUserId: z.ZodOptional<z.ZodString>;
2053
- actor: z.ZodOptional<z.ZodObject<{
2054
- id: z.ZodString;
2055
- createdAt: z.ZodDate;
2056
- updatedAt: z.ZodDate;
2057
- deletedAt: z.ZodNullable<z.ZodDate>;
2058
- name: z.ZodString;
2059
- email: z.ZodString;
2060
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
2061
- password: z.ZodString;
2062
- address: z.ZodNullable<z.ZodString>;
2063
- phone: z.ZodNullable<z.ZodString>;
2064
- notificationCount: z.ZodNullable<z.ZodNumber>;
2065
- roles: z.ZodArray<z.ZodObject<{
2066
- id: z.ZodString;
2067
- createdAt: z.ZodDate;
2068
- updatedAt: z.ZodDate;
2069
- deletedAt: z.ZodNullable<z.ZodDate>;
2070
- systemName: z.ZodString;
2071
- displayName: z.ZodString;
2072
- description: z.ZodNullable<z.ZodString>;
2073
- permissions: z.ZodArray<z.ZodObject<{
2074
- id: z.ZodString;
2075
- createdAt: z.ZodDate;
2076
- updatedAt: z.ZodDate;
2077
- deletedAt: z.ZodNullable<z.ZodDate>;
2078
- systemName: z.ZodString;
2079
- displayName: z.ZodString;
2080
- description: z.ZodNullable<z.ZodString>;
2081
- }, "strip", z.ZodTypeAny, {
1989
+ brandName: import("zod").ZodOptional<import("zod").ZodString>;
1990
+ platformId: import("zod").ZodOptional<import("zod").ZodString>;
1991
+ status: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>>;
1992
+ isReloginRequired: import("zod").ZodOptional<import("zod").ZodBoolean>;
1993
+ connectedUserName: import("zod").ZodOptional<import("zod").ZodString>;
1994
+ connectedUserId: import("zod").ZodOptional<import("zod").ZodString>;
1995
+ actor: import("zod").ZodOptional<import("zod").ZodObject<{
1996
+ id: import("zod").ZodString;
1997
+ createdAt: import("zod").ZodDate;
1998
+ updatedAt: import("zod").ZodDate;
1999
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2000
+ name: import("zod").ZodString;
2001
+ email: import("zod").ZodString;
2002
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2003
+ password: import("zod").ZodString;
2004
+ address: import("zod").ZodNullable<import("zod").ZodString>;
2005
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
2006
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
2007
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
2008
+ id: import("zod").ZodString;
2009
+ createdAt: import("zod").ZodDate;
2010
+ updatedAt: import("zod").ZodDate;
2011
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2012
+ systemName: import("zod").ZodString;
2013
+ displayName: import("zod").ZodString;
2014
+ description: import("zod").ZodNullable<import("zod").ZodString>;
2015
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
2016
+ id: import("zod").ZodString;
2017
+ createdAt: import("zod").ZodDate;
2018
+ updatedAt: import("zod").ZodDate;
2019
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2020
+ systemName: import("zod").ZodString;
2021
+ displayName: import("zod").ZodString;
2022
+ description: import("zod").ZodNullable<import("zod").ZodString>;
2023
+ }, "strip", import("zod").ZodTypeAny, {
2082
2024
  id: string;
2083
2025
  description: string | null;
2084
2026
  createdAt: Date;
@@ -2095,7 +2037,7 @@ export declare const messengerContract: {
2095
2037
  systemName: string;
2096
2038
  displayName: string;
2097
2039
  }>, "many">;
2098
- }, "strip", z.ZodTypeAny, {
2040
+ }, "strip", import("zod").ZodTypeAny, {
2099
2041
  id: string;
2100
2042
  description: string | null;
2101
2043
  createdAt: Date;
@@ -2130,18 +2072,18 @@ export declare const messengerContract: {
2130
2072
  displayName: string;
2131
2073
  }[];
2132
2074
  }>, "many">;
2133
- extension: z.ZodOptional<z.ZodObject<{
2134
- id: z.ZodString;
2135
- createdAt: z.ZodDate;
2136
- updatedAt: z.ZodDate;
2137
- deletedAt: z.ZodNullable<z.ZodDate>;
2138
- userId: z.ZodNullable<z.ZodString>;
2139
- sipServerUrl: z.ZodString;
2140
- sipUserName: z.ZodString;
2141
- extensionId: z.ZodNumber;
2142
- extensionName: z.ZodString;
2143
- telephonySignature: z.ZodNullable<z.ZodString>;
2144
- }, "strip", z.ZodTypeAny, {
2075
+ extension: import("zod").ZodOptional<import("zod").ZodObject<{
2076
+ id: import("zod").ZodString;
2077
+ createdAt: import("zod").ZodDate;
2078
+ updatedAt: import("zod").ZodDate;
2079
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2080
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
2081
+ sipServerUrl: import("zod").ZodString;
2082
+ sipUserName: import("zod").ZodString;
2083
+ extensionId: import("zod").ZodNumber;
2084
+ extensionName: import("zod").ZodString;
2085
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
2086
+ }, "strip", import("zod").ZodTypeAny, {
2145
2087
  id: string;
2146
2088
  createdAt: Date;
2147
2089
  updatedAt: Date;
@@ -2164,7 +2106,7 @@ export declare const messengerContract: {
2164
2106
  extensionName: string;
2165
2107
  telephonySignature: string | null;
2166
2108
  }>>;
2167
- }, "strip", z.ZodTypeAny, {
2109
+ }, "strip", import("zod").ZodTypeAny, {
2168
2110
  id: string;
2169
2111
  address: string | null;
2170
2112
  name: string;
@@ -2249,7 +2191,7 @@ export declare const messengerContract: {
2249
2191
  telephonySignature: string | null;
2250
2192
  } | undefined;
2251
2193
  }>>;
2252
- }, "strip", z.ZodTypeAny, {
2194
+ }, "strip", import("zod").ZodTypeAny, {
2253
2195
  id?: string | undefined;
2254
2196
  createdAt?: Date | undefined;
2255
2197
  updatedAt?: Date | undefined;
@@ -2374,39 +2316,39 @@ export declare const messengerContract: {
2374
2316
  } | undefined;
2375
2317
  } | undefined;
2376
2318
  }>>;
2377
- cxlog: z.ZodObject<{
2378
- id: z.ZodString;
2379
- createdAt: z.ZodDate;
2380
- updatedAt: z.ZodDate;
2381
- deletedAt: z.ZodNullable<z.ZodDate>;
2382
- caseId: z.ZodNumber;
2383
- entityId: z.ZodString;
2384
- entityName: z.ZodString;
2385
- contactId: z.ZodNullable<z.ZodString>;
2386
- channel: z.ZodNullable<z.ZodString>;
2387
- queueId: z.ZodNullable<z.ZodString>;
2388
- agentId: z.ZodNullable<z.ZodString>;
2389
- direction: z.ZodNullable<z.ZodString>;
2390
- startedDate: z.ZodNullable<z.ZodDate>;
2391
- handledTime: z.ZodNullable<z.ZodNumber>;
2392
- firstResponseTime: z.ZodNullable<z.ZodNumber>;
2393
- disposition: z.ZodNullable<z.ZodString>;
2394
- wrapUpForm: z.ZodNullable<z.ZodObject<{
2395
- id: z.ZodString;
2396
- createdAt: z.ZodDate;
2397
- updatedAt: z.ZodDate;
2398
- deletedAt: z.ZodNullable<z.ZodDate>;
2399
- note: z.ZodNullable<z.ZodString>;
2400
- disposition: z.ZodNullable<z.ZodString>;
2401
- callFrom: z.ZodNullable<z.ZodString>;
2402
- callTo: z.ZodNullable<z.ZodString>;
2403
- tags: z.ZodArray<z.ZodObject<{
2404
- id: z.ZodString;
2405
- createdAt: z.ZodDate;
2406
- updatedAt: z.ZodDate;
2407
- deletedAt: z.ZodNullable<z.ZodDate>;
2408
- name: z.ZodString;
2409
- }, "strip", z.ZodTypeAny, {
2319
+ cxlog: import("zod").ZodObject<{
2320
+ id: import("zod").ZodString;
2321
+ createdAt: import("zod").ZodDate;
2322
+ updatedAt: import("zod").ZodDate;
2323
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2324
+ caseId: import("zod").ZodNumber;
2325
+ entityId: import("zod").ZodString;
2326
+ entityName: import("zod").ZodString;
2327
+ contactId: import("zod").ZodNullable<import("zod").ZodString>;
2328
+ channel: import("zod").ZodNullable<import("zod").ZodString>;
2329
+ queueId: import("zod").ZodNullable<import("zod").ZodString>;
2330
+ agentId: import("zod").ZodNullable<import("zod").ZodString>;
2331
+ direction: import("zod").ZodNullable<import("zod").ZodString>;
2332
+ startedDate: import("zod").ZodNullable<import("zod").ZodDate>;
2333
+ handledTime: import("zod").ZodNullable<import("zod").ZodNumber>;
2334
+ firstResponseTime: import("zod").ZodNullable<import("zod").ZodNumber>;
2335
+ disposition: import("zod").ZodNullable<import("zod").ZodString>;
2336
+ wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<{
2337
+ id: import("zod").ZodString;
2338
+ createdAt: import("zod").ZodDate;
2339
+ updatedAt: import("zod").ZodDate;
2340
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2341
+ note: import("zod").ZodNullable<import("zod").ZodString>;
2342
+ disposition: import("zod").ZodNullable<import("zod").ZodString>;
2343
+ callFrom: import("zod").ZodNullable<import("zod").ZodString>;
2344
+ callTo: import("zod").ZodNullable<import("zod").ZodString>;
2345
+ tags: import("zod").ZodArray<import("zod").ZodObject<{
2346
+ id: import("zod").ZodString;
2347
+ createdAt: import("zod").ZodDate;
2348
+ updatedAt: import("zod").ZodDate;
2349
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2350
+ name: import("zod").ZodString;
2351
+ }, "strip", import("zod").ZodTypeAny, {
2410
2352
  id: string;
2411
2353
  name: string;
2412
2354
  createdAt: Date;
@@ -2419,7 +2361,7 @@ export declare const messengerContract: {
2419
2361
  updatedAt: Date;
2420
2362
  deletedAt: Date | null;
2421
2363
  }>, "many">;
2422
- }, "strip", z.ZodTypeAny, {
2364
+ }, "strip", import("zod").ZodTypeAny, {
2423
2365
  id: string;
2424
2366
  disposition: string | null;
2425
2367
  createdAt: Date;
@@ -2452,7 +2394,7 @@ export declare const messengerContract: {
2452
2394
  callTo: string | null;
2453
2395
  note: string | null;
2454
2396
  }>>;
2455
- }, "strip", z.ZodTypeAny, {
2397
+ }, "strip", import("zod").ZodTypeAny, {
2456
2398
  id: string;
2457
2399
  channel: string | null;
2458
2400
  disposition: string | null;
@@ -2521,7 +2463,7 @@ export declare const messengerContract: {
2521
2463
  note: string | null;
2522
2464
  } | null;
2523
2465
  }>;
2524
- }, "strip", z.ZodTypeAny, {
2466
+ }, "strip", import("zod").ZodTypeAny, {
2525
2467
  id: string;
2526
2468
  direction: "incoming" | "outgoing" | "system";
2527
2469
  createdAt: Date;
@@ -3150,16 +3092,16 @@ export declare const messengerContract: {
3150
3092
  } | undefined;
3151
3093
  } | undefined;
3152
3094
  }>;
3153
- upload: z.ZodObject<{
3154
- id: z.ZodString;
3155
- createdAt: z.ZodDate;
3156
- updatedAt: z.ZodDate;
3157
- deletedAt: z.ZodNullable<z.ZodDate>;
3158
- bucketName: z.ZodString;
3159
- fileName: z.ZodString;
3160
- fileSize: z.ZodNumber;
3161
- fileKey: z.ZodString;
3162
- }, "strip", z.ZodTypeAny, {
3095
+ upload: import("zod").ZodObject<{
3096
+ id: import("zod").ZodString;
3097
+ createdAt: import("zod").ZodDate;
3098
+ updatedAt: import("zod").ZodDate;
3099
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3100
+ bucketName: import("zod").ZodString;
3101
+ fileName: import("zod").ZodString;
3102
+ fileSize: import("zod").ZodNumber;
3103
+ fileKey: import("zod").ZodString;
3104
+ }, "strip", import("zod").ZodTypeAny, {
3163
3105
  id: string;
3164
3106
  createdAt: Date;
3165
3107
  updatedAt: Date;
@@ -3178,35 +3120,35 @@ export declare const messengerContract: {
3178
3120
  bucketName: string;
3179
3121
  fileSize: number;
3180
3122
  }>;
3181
- actor: z.ZodObject<{
3182
- id: z.ZodString;
3183
- createdAt: z.ZodDate;
3184
- updatedAt: z.ZodDate;
3185
- deletedAt: z.ZodNullable<z.ZodDate>;
3186
- name: z.ZodString;
3187
- email: z.ZodString;
3188
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
3189
- password: z.ZodString;
3190
- address: z.ZodNullable<z.ZodString>;
3191
- phone: z.ZodNullable<z.ZodString>;
3192
- notificationCount: z.ZodNullable<z.ZodNumber>;
3193
- roles: z.ZodArray<z.ZodObject<{
3194
- id: z.ZodString;
3195
- createdAt: z.ZodDate;
3196
- updatedAt: z.ZodDate;
3197
- deletedAt: z.ZodNullable<z.ZodDate>;
3198
- systemName: z.ZodString;
3199
- displayName: z.ZodString;
3200
- description: z.ZodNullable<z.ZodString>;
3201
- permissions: z.ZodArray<z.ZodObject<{
3202
- id: z.ZodString;
3203
- createdAt: z.ZodDate;
3204
- updatedAt: z.ZodDate;
3205
- deletedAt: z.ZodNullable<z.ZodDate>;
3206
- systemName: z.ZodString;
3207
- displayName: z.ZodString;
3208
- description: z.ZodNullable<z.ZodString>;
3209
- }, "strip", z.ZodTypeAny, {
3123
+ actor: import("zod").ZodObject<{
3124
+ id: import("zod").ZodString;
3125
+ createdAt: import("zod").ZodDate;
3126
+ updatedAt: import("zod").ZodDate;
3127
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3128
+ name: import("zod").ZodString;
3129
+ email: import("zod").ZodString;
3130
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3131
+ password: import("zod").ZodString;
3132
+ address: import("zod").ZodNullable<import("zod").ZodString>;
3133
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
3134
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
3135
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
3136
+ id: import("zod").ZodString;
3137
+ createdAt: import("zod").ZodDate;
3138
+ updatedAt: import("zod").ZodDate;
3139
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3140
+ systemName: import("zod").ZodString;
3141
+ displayName: import("zod").ZodString;
3142
+ description: import("zod").ZodNullable<import("zod").ZodString>;
3143
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
3144
+ id: import("zod").ZodString;
3145
+ createdAt: import("zod").ZodDate;
3146
+ updatedAt: import("zod").ZodDate;
3147
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3148
+ systemName: import("zod").ZodString;
3149
+ displayName: import("zod").ZodString;
3150
+ description: import("zod").ZodNullable<import("zod").ZodString>;
3151
+ }, "strip", import("zod").ZodTypeAny, {
3210
3152
  id: string;
3211
3153
  description: string | null;
3212
3154
  createdAt: Date;
@@ -3223,7 +3165,7 @@ export declare const messengerContract: {
3223
3165
  systemName: string;
3224
3166
  displayName: string;
3225
3167
  }>, "many">;
3226
- }, "strip", z.ZodTypeAny, {
3168
+ }, "strip", import("zod").ZodTypeAny, {
3227
3169
  id: string;
3228
3170
  description: string | null;
3229
3171
  createdAt: Date;
@@ -3258,18 +3200,18 @@ export declare const messengerContract: {
3258
3200
  displayName: string;
3259
3201
  }[];
3260
3202
  }>, "many">;
3261
- extension: z.ZodOptional<z.ZodObject<{
3262
- id: z.ZodString;
3263
- createdAt: z.ZodDate;
3264
- updatedAt: z.ZodDate;
3265
- deletedAt: z.ZodNullable<z.ZodDate>;
3266
- userId: z.ZodNullable<z.ZodString>;
3267
- sipServerUrl: z.ZodString;
3268
- sipUserName: z.ZodString;
3269
- extensionId: z.ZodNumber;
3270
- extensionName: z.ZodString;
3271
- telephonySignature: z.ZodNullable<z.ZodString>;
3272
- }, "strip", z.ZodTypeAny, {
3203
+ extension: import("zod").ZodOptional<import("zod").ZodObject<{
3204
+ id: import("zod").ZodString;
3205
+ createdAt: import("zod").ZodDate;
3206
+ updatedAt: import("zod").ZodDate;
3207
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3208
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
3209
+ sipServerUrl: import("zod").ZodString;
3210
+ sipUserName: import("zod").ZodString;
3211
+ extensionId: import("zod").ZodNumber;
3212
+ extensionName: import("zod").ZodString;
3213
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
3214
+ }, "strip", import("zod").ZodTypeAny, {
3273
3215
  id: string;
3274
3216
  createdAt: Date;
3275
3217
  updatedAt: Date;
@@ -3292,7 +3234,7 @@ export declare const messengerContract: {
3292
3234
  extensionName: string;
3293
3235
  telephonySignature: string | null;
3294
3236
  }>>;
3295
- }, "strip", z.ZodTypeAny, {
3237
+ }, "strip", import("zod").ZodTypeAny, {
3296
3238
  id: string;
3297
3239
  address: string | null;
3298
3240
  name: string;
@@ -3377,35 +3319,35 @@ export declare const messengerContract: {
3377
3319
  telephonySignature: string | null;
3378
3320
  } | undefined;
3379
3321
  }>;
3380
- assignee: z.ZodObject<{
3381
- id: z.ZodString;
3382
- createdAt: z.ZodDate;
3383
- updatedAt: z.ZodDate;
3384
- deletedAt: z.ZodNullable<z.ZodDate>;
3385
- name: z.ZodString;
3386
- email: z.ZodString;
3387
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
3388
- password: z.ZodString;
3389
- address: z.ZodNullable<z.ZodString>;
3390
- phone: z.ZodNullable<z.ZodString>;
3391
- notificationCount: z.ZodNullable<z.ZodNumber>;
3392
- roles: z.ZodArray<z.ZodObject<{
3393
- id: z.ZodString;
3394
- createdAt: z.ZodDate;
3395
- updatedAt: z.ZodDate;
3396
- deletedAt: z.ZodNullable<z.ZodDate>;
3397
- systemName: z.ZodString;
3398
- displayName: z.ZodString;
3399
- description: z.ZodNullable<z.ZodString>;
3400
- permissions: z.ZodArray<z.ZodObject<{
3401
- id: z.ZodString;
3402
- createdAt: z.ZodDate;
3403
- updatedAt: z.ZodDate;
3404
- deletedAt: z.ZodNullable<z.ZodDate>;
3405
- systemName: z.ZodString;
3406
- displayName: z.ZodString;
3407
- description: z.ZodNullable<z.ZodString>;
3408
- }, "strip", z.ZodTypeAny, {
3322
+ assignee: import("zod").ZodObject<{
3323
+ id: import("zod").ZodString;
3324
+ createdAt: import("zod").ZodDate;
3325
+ updatedAt: import("zod").ZodDate;
3326
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3327
+ name: import("zod").ZodString;
3328
+ email: import("zod").ZodString;
3329
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3330
+ password: import("zod").ZodString;
3331
+ address: import("zod").ZodNullable<import("zod").ZodString>;
3332
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
3333
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
3334
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
3335
+ id: import("zod").ZodString;
3336
+ createdAt: import("zod").ZodDate;
3337
+ updatedAt: import("zod").ZodDate;
3338
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3339
+ systemName: import("zod").ZodString;
3340
+ displayName: import("zod").ZodString;
3341
+ description: import("zod").ZodNullable<import("zod").ZodString>;
3342
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
3343
+ id: import("zod").ZodString;
3344
+ createdAt: import("zod").ZodDate;
3345
+ updatedAt: import("zod").ZodDate;
3346
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3347
+ systemName: import("zod").ZodString;
3348
+ displayName: import("zod").ZodString;
3349
+ description: import("zod").ZodNullable<import("zod").ZodString>;
3350
+ }, "strip", import("zod").ZodTypeAny, {
3409
3351
  id: string;
3410
3352
  description: string | null;
3411
3353
  createdAt: Date;
@@ -3422,7 +3364,7 @@ export declare const messengerContract: {
3422
3364
  systemName: string;
3423
3365
  displayName: string;
3424
3366
  }>, "many">;
3425
- }, "strip", z.ZodTypeAny, {
3367
+ }, "strip", import("zod").ZodTypeAny, {
3426
3368
  id: string;
3427
3369
  description: string | null;
3428
3370
  createdAt: Date;
@@ -3457,18 +3399,18 @@ export declare const messengerContract: {
3457
3399
  displayName: string;
3458
3400
  }[];
3459
3401
  }>, "many">;
3460
- extension: z.ZodOptional<z.ZodObject<{
3461
- id: z.ZodString;
3462
- createdAt: z.ZodDate;
3463
- updatedAt: z.ZodDate;
3464
- deletedAt: z.ZodNullable<z.ZodDate>;
3465
- userId: z.ZodNullable<z.ZodString>;
3466
- sipServerUrl: z.ZodString;
3467
- sipUserName: z.ZodString;
3468
- extensionId: z.ZodNumber;
3469
- extensionName: z.ZodString;
3470
- telephonySignature: z.ZodNullable<z.ZodString>;
3471
- }, "strip", z.ZodTypeAny, {
3402
+ extension: import("zod").ZodOptional<import("zod").ZodObject<{
3403
+ id: import("zod").ZodString;
3404
+ createdAt: import("zod").ZodDate;
3405
+ updatedAt: import("zod").ZodDate;
3406
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3407
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
3408
+ sipServerUrl: import("zod").ZodString;
3409
+ sipUserName: import("zod").ZodString;
3410
+ extensionId: import("zod").ZodNumber;
3411
+ extensionName: import("zod").ZodString;
3412
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
3413
+ }, "strip", import("zod").ZodTypeAny, {
3472
3414
  id: string;
3473
3415
  createdAt: Date;
3474
3416
  updatedAt: Date;
@@ -3491,7 +3433,7 @@ export declare const messengerContract: {
3491
3433
  extensionName: string;
3492
3434
  telephonySignature: string | null;
3493
3435
  }>>;
3494
- }, "strip", z.ZodTypeAny, {
3436
+ }, "strip", import("zod").ZodTypeAny, {
3495
3437
  id: string;
3496
3438
  address: string | null;
3497
3439
  name: string;
@@ -3576,35 +3518,35 @@ export declare const messengerContract: {
3576
3518
  telephonySignature: string | null;
3577
3519
  } | undefined;
3578
3520
  }>;
3579
- sender: z.ZodObject<{
3580
- id: z.ZodString;
3581
- createdAt: z.ZodDate;
3582
- updatedAt: z.ZodDate;
3583
- deletedAt: z.ZodNullable<z.ZodDate>;
3584
- name: z.ZodString;
3585
- email: z.ZodString;
3586
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
3587
- password: z.ZodString;
3588
- address: z.ZodNullable<z.ZodString>;
3589
- phone: z.ZodNullable<z.ZodString>;
3590
- notificationCount: z.ZodNullable<z.ZodNumber>;
3591
- roles: z.ZodArray<z.ZodObject<{
3592
- id: z.ZodString;
3593
- createdAt: z.ZodDate;
3594
- updatedAt: z.ZodDate;
3595
- deletedAt: z.ZodNullable<z.ZodDate>;
3596
- systemName: z.ZodString;
3597
- displayName: z.ZodString;
3598
- description: z.ZodNullable<z.ZodString>;
3599
- permissions: z.ZodArray<z.ZodObject<{
3600
- id: z.ZodString;
3601
- createdAt: z.ZodDate;
3602
- updatedAt: z.ZodDate;
3603
- deletedAt: z.ZodNullable<z.ZodDate>;
3604
- systemName: z.ZodString;
3605
- displayName: z.ZodString;
3606
- description: z.ZodNullable<z.ZodString>;
3607
- }, "strip", z.ZodTypeAny, {
3521
+ sender: import("zod").ZodObject<{
3522
+ id: import("zod").ZodString;
3523
+ createdAt: import("zod").ZodDate;
3524
+ updatedAt: import("zod").ZodDate;
3525
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3526
+ name: import("zod").ZodString;
3527
+ email: import("zod").ZodString;
3528
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3529
+ password: import("zod").ZodString;
3530
+ address: import("zod").ZodNullable<import("zod").ZodString>;
3531
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
3532
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
3533
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
3534
+ id: import("zod").ZodString;
3535
+ createdAt: import("zod").ZodDate;
3536
+ updatedAt: import("zod").ZodDate;
3537
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3538
+ systemName: import("zod").ZodString;
3539
+ displayName: import("zod").ZodString;
3540
+ description: import("zod").ZodNullable<import("zod").ZodString>;
3541
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
3542
+ id: import("zod").ZodString;
3543
+ createdAt: import("zod").ZodDate;
3544
+ updatedAt: import("zod").ZodDate;
3545
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3546
+ systemName: import("zod").ZodString;
3547
+ displayName: import("zod").ZodString;
3548
+ description: import("zod").ZodNullable<import("zod").ZodString>;
3549
+ }, "strip", import("zod").ZodTypeAny, {
3608
3550
  id: string;
3609
3551
  description: string | null;
3610
3552
  createdAt: Date;
@@ -3621,7 +3563,7 @@ export declare const messengerContract: {
3621
3563
  systemName: string;
3622
3564
  displayName: string;
3623
3565
  }>, "many">;
3624
- }, "strip", z.ZodTypeAny, {
3566
+ }, "strip", import("zod").ZodTypeAny, {
3625
3567
  id: string;
3626
3568
  description: string | null;
3627
3569
  createdAt: Date;
@@ -3656,18 +3598,18 @@ export declare const messengerContract: {
3656
3598
  displayName: string;
3657
3599
  }[];
3658
3600
  }>, "many">;
3659
- extension: z.ZodOptional<z.ZodObject<{
3660
- id: z.ZodString;
3661
- createdAt: z.ZodDate;
3662
- updatedAt: z.ZodDate;
3663
- deletedAt: z.ZodNullable<z.ZodDate>;
3664
- userId: z.ZodNullable<z.ZodString>;
3665
- sipServerUrl: z.ZodString;
3666
- sipUserName: z.ZodString;
3667
- extensionId: z.ZodNumber;
3668
- extensionName: z.ZodString;
3669
- telephonySignature: z.ZodNullable<z.ZodString>;
3670
- }, "strip", z.ZodTypeAny, {
3601
+ extension: import("zod").ZodOptional<import("zod").ZodObject<{
3602
+ id: import("zod").ZodString;
3603
+ createdAt: import("zod").ZodDate;
3604
+ updatedAt: import("zod").ZodDate;
3605
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3606
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
3607
+ sipServerUrl: import("zod").ZodString;
3608
+ sipUserName: import("zod").ZodString;
3609
+ extensionId: import("zod").ZodNumber;
3610
+ extensionName: import("zod").ZodString;
3611
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
3612
+ }, "strip", import("zod").ZodTypeAny, {
3671
3613
  id: string;
3672
3614
  createdAt: Date;
3673
3615
  updatedAt: Date;
@@ -3690,7 +3632,7 @@ export declare const messengerContract: {
3690
3632
  extensionName: string;
3691
3633
  telephonySignature: string | null;
3692
3634
  }>>;
3693
- }, "strip", z.ZodTypeAny, {
3635
+ }, "strip", import("zod").ZodTypeAny, {
3694
3636
  id: string;
3695
3637
  address: string | null;
3696
3638
  name: string;
@@ -3775,8 +3717,8 @@ export declare const messengerContract: {
3775
3717
  telephonySignature: string | null;
3776
3718
  } | undefined;
3777
3719
  }>;
3778
- }, "strip", z.ZodTypeAny, {
3779
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
3720
+ }, "strip", import("zod").ZodTypeAny, {
3721
+ type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
3780
3722
  message: string;
3781
3723
  id: string;
3782
3724
  url: string;
@@ -4248,7 +4190,7 @@ export declare const messengerContract: {
4248
4190
  metadata?: any;
4249
4191
  template?: any;
4250
4192
  }, {
4251
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
4193
+ type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
4252
4194
  message: string;
4253
4195
  id: string;
4254
4196
  url: string;
@@ -4720,9 +4662,9 @@ export declare const messengerContract: {
4720
4662
  metadata?: any;
4721
4663
  template?: any;
4722
4664
  }>;
4723
- }, "strip", z.ZodTypeAny, {
4665
+ }, "strip", import("zod").ZodTypeAny, {
4724
4666
  data: {
4725
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
4667
+ type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
4726
4668
  message: string;
4727
4669
  id: string;
4728
4670
  url: string;
@@ -5197,7 +5139,7 @@ export declare const messengerContract: {
5197
5139
  requestId: string;
5198
5140
  }, {
5199
5141
  data: {
5200
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
5142
+ type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
5201
5143
  message: string;
5202
5144
  id: string;
5203
5145
  url: string;
@@ -5671,10 +5613,10 @@ export declare const messengerContract: {
5671
5613
  };
5672
5614
  requestId: string;
5673
5615
  }>;
5674
- 500: z.ZodObject<{
5675
- message: z.ZodString;
5676
- error: z.ZodAny;
5677
- }, "strip", z.ZodTypeAny, {
5616
+ 500: import("zod").ZodObject<{
5617
+ message: import("zod").ZodString;
5618
+ error: import("zod").ZodAny;
5619
+ }, "strip", import("zod").ZodTypeAny, {
5678
5620
  message: string;
5679
5621
  error?: any;
5680
5622
  }, {
@@ -5685,15 +5627,15 @@ export declare const messengerContract: {
5685
5627
  path: "/message";
5686
5628
  };
5687
5629
  connectToService: {
5688
- body: z.ZodObject<{
5689
- name: z.ZodOptional<z.ZodString>;
5690
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
5691
- metadata: z.ZodOptional<z.ZodObject<{
5692
- id: z.ZodString;
5693
- name: z.ZodString;
5694
- accessToken: z.ZodString;
5695
- additionalCredentials: z.ZodOptional<z.ZodAny>;
5696
- }, "strip", z.ZodTypeAny, {
5630
+ body: import("zod").ZodObject<{
5631
+ name: import("zod").ZodString;
5632
+ type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
5633
+ metadata: import("zod").ZodObject<{
5634
+ id: import("zod").ZodString;
5635
+ name: import("zod").ZodString;
5636
+ accessToken: import("zod").ZodString;
5637
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
5638
+ }, "strip", import("zod").ZodTypeAny, {
5697
5639
  id: string;
5698
5640
  name: string;
5699
5641
  accessToken: string;
@@ -5703,336 +5645,57 @@ export declare const messengerContract: {
5703
5645
  name: string;
5704
5646
  accessToken: string;
5705
5647
  additionalCredentials?: any;
5706
- }>>;
5707
- platformId: z.ZodOptional<z.ZodString>;
5708
- brandName: z.ZodOptional<z.ZodString>;
5709
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
5710
- connectedUserName: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
5711
- connectedUserId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
5712
- actor: z.ZodOptional<z.ZodObject<{
5713
- id: z.ZodString;
5714
- name: z.ZodString;
5715
- email: z.ZodString;
5716
- address: z.ZodNullable<z.ZodString>;
5717
- phone: z.ZodNullable<z.ZodString>;
5718
- }, "strip", z.ZodTypeAny, {
5719
- id: string;
5720
- address: string | null;
5721
- name: string;
5722
- email: string;
5723
- phone: string | null;
5724
- }, {
5725
- id: string;
5726
- address: string | null;
5727
- name: string;
5728
- email: string;
5729
- phone: string | null;
5730
- }>>;
5731
- }, "strip", z.ZodTypeAny, {
5732
- name?: string | undefined;
5733
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5734
- metadata?: {
5735
- id: string;
5736
- name: string;
5737
- accessToken: string;
5738
- additionalCredentials?: any;
5739
- } | undefined;
5740
- platformId?: string | undefined;
5741
- brandName?: string | undefined;
5742
- status?: boolean | undefined;
5743
- connectedUserName?: string | null | undefined;
5744
- connectedUserId?: string | null | undefined;
5745
- actor?: {
5746
- id: string;
5747
- address: string | null;
5748
- name: string;
5749
- email: string;
5750
- phone: string | null;
5751
- } | undefined;
5752
- }, {
5753
- name?: string | undefined;
5754
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5755
- metadata?: {
5756
- id: string;
5757
- name: string;
5758
- accessToken: string;
5759
- additionalCredentials?: any;
5760
- } | undefined;
5761
- platformId?: string | undefined;
5762
- brandName?: string | undefined;
5763
- status?: boolean | undefined;
5764
- connectedUserName?: string | null | undefined;
5765
- connectedUserId?: string | null | undefined;
5766
- actor?: {
5767
- id: string;
5768
- address: string | null;
5769
- name: string;
5770
- email: string;
5771
- phone: string | null;
5772
- } | undefined;
5773
- }>;
5774
- method: "POST";
5775
- responses: {
5776
- 200: z.ZodObject<{
5777
- requestId: z.ZodString;
5778
- data: z.ZodObject<{
5779
- name: z.ZodString;
5780
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
5781
- metadata: z.ZodObject<{
5782
- id: z.ZodString;
5783
- name: z.ZodString;
5784
- accessToken: z.ZodString;
5785
- additionalCredentials: z.ZodOptional<z.ZodAny>;
5786
- }, "strip", z.ZodTypeAny, {
5787
- id: string;
5788
- name: string;
5789
- accessToken: string;
5790
- additionalCredentials?: any;
5791
- }, {
5792
- id: string;
5793
- name: string;
5794
- accessToken: string;
5795
- additionalCredentials?: any;
5796
- }>;
5797
- platformId: z.ZodString;
5798
- brandName: z.ZodString;
5799
- status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
5800
- connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5801
- connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5802
- actor: z.ZodObject<{
5803
- id: z.ZodString;
5804
- name: z.ZodString;
5805
- email: z.ZodString;
5806
- address: z.ZodNullable<z.ZodString>;
5807
- phone: z.ZodNullable<z.ZodString>;
5808
- }, "strip", z.ZodTypeAny, {
5809
- id: string;
5810
- address: string | null;
5811
- name: string;
5812
- email: string;
5813
- phone: string | null;
5814
- }, {
5815
- id: string;
5816
- address: string | null;
5817
- name: string;
5818
- email: string;
5819
- phone: string | null;
5820
- }>;
5821
- }, "strip", z.ZodTypeAny, {
5822
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5823
- name: string;
5824
- metadata: {
5825
- id: string;
5826
- name: string;
5827
- accessToken: string;
5828
- additionalCredentials?: any;
5829
- };
5830
- status: boolean;
5831
- brandName: string;
5832
- platformId: string;
5833
- actor: {
5834
- id: string;
5835
- address: string | null;
5836
- name: string;
5837
- email: string;
5838
- phone: string | null;
5839
- };
5840
- connectedUserName?: string | null | undefined;
5841
- connectedUserId?: string | null | undefined;
5842
- }, {
5843
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5844
- name: string;
5845
- metadata: {
5846
- id: string;
5847
- name: string;
5848
- accessToken: string;
5849
- additionalCredentials?: any;
5850
- };
5851
- status: boolean;
5852
- brandName: string;
5853
- platformId: string;
5854
- actor: {
5855
- id: string;
5856
- address: string | null;
5857
- name: string;
5858
- email: string;
5859
- phone: string | null;
5860
- };
5861
- connectedUserName?: string | null | undefined;
5862
- connectedUserId?: string | null | undefined;
5863
- }>;
5864
- }, "strip", z.ZodTypeAny, {
5865
- data: {
5866
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5867
- name: string;
5868
- metadata: {
5869
- id: string;
5870
- name: string;
5871
- accessToken: string;
5872
- additionalCredentials?: any;
5873
- };
5874
- status: boolean;
5875
- brandName: string;
5876
- platformId: string;
5877
- actor: {
5878
- id: string;
5879
- address: string | null;
5880
- name: string;
5881
- email: string;
5882
- phone: string | null;
5883
- };
5884
- connectedUserName?: string | null | undefined;
5885
- connectedUserId?: string | null | undefined;
5886
- };
5887
- requestId: string;
5888
- }, {
5889
- data: {
5890
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5891
- name: string;
5892
- metadata: {
5893
- id: string;
5894
- name: string;
5895
- accessToken: string;
5896
- additionalCredentials?: any;
5897
- };
5898
- status: boolean;
5899
- brandName: string;
5900
- platformId: string;
5901
- actor: {
5902
- id: string;
5903
- address: string | null;
5904
- name: string;
5905
- email: string;
5906
- phone: string | null;
5907
- };
5908
- connectedUserName?: string | null | undefined;
5909
- connectedUserId?: string | null | undefined;
5910
- };
5911
- requestId: string;
5912
- }>;
5913
- 500: z.ZodObject<{
5914
- message: z.ZodString;
5915
- error: z.ZodAny;
5916
- }, "strip", z.ZodTypeAny, {
5917
- message: string;
5918
- error?: any;
5919
- }, {
5920
- message: string;
5921
- error?: any;
5922
5648
  }>;
5923
- 400: z.ZodObject<{
5924
- message: z.ZodString;
5925
- error: z.ZodAny;
5926
- }, "strip", z.ZodTypeAny, {
5927
- message: string;
5928
- error?: any;
5929
- }, {
5930
- message: string;
5931
- error?: any;
5932
- }>;
5933
- };
5934
- path: "/connect";
5935
- };
5936
- disconnectToService: {
5937
- body: z.ZodObject<{
5938
- name: z.ZodOptional<z.ZodString>;
5939
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
5940
- metadata: z.ZodOptional<z.ZodObject<{
5941
- id: z.ZodString;
5942
- name: z.ZodString;
5943
- accessToken: z.ZodString;
5944
- additionalCredentials: z.ZodOptional<z.ZodAny>;
5945
- }, "strip", z.ZodTypeAny, {
5946
- id: string;
5947
- name: string;
5948
- accessToken: string;
5949
- additionalCredentials?: any;
5950
- }, {
5649
+ brandName: import("zod").ZodString;
5650
+ platformId: import("zod").ZodString;
5651
+ status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
5652
+ isReloginRequired: import("zod").ZodBoolean;
5653
+ connectedUserName: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
5654
+ connectedUserId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
5655
+ }, "strip", import("zod").ZodTypeAny, {
5656
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5657
+ name: string;
5658
+ metadata: {
5951
5659
  id: string;
5952
5660
  name: string;
5953
5661
  accessToken: string;
5954
5662
  additionalCredentials?: any;
5955
- }>>;
5956
- platformId: z.ZodOptional<z.ZodString>;
5957
- brandName: z.ZodOptional<z.ZodString>;
5958
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
5959
- connectedUserName: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
5960
- connectedUserId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
5961
- actor: z.ZodOptional<z.ZodObject<{
5962
- id: z.ZodString;
5963
- name: z.ZodString;
5964
- email: z.ZodString;
5965
- address: z.ZodNullable<z.ZodString>;
5966
- phone: z.ZodNullable<z.ZodString>;
5967
- }, "strip", z.ZodTypeAny, {
5968
- id: string;
5969
- address: string | null;
5970
- name: string;
5971
- email: string;
5972
- phone: string | null;
5973
- }, {
5974
- id: string;
5975
- address: string | null;
5976
- name: string;
5977
- email: string;
5978
- phone: string | null;
5979
- }>>;
5980
- }, "strip", z.ZodTypeAny, {
5981
- name?: string | undefined;
5982
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5983
- metadata?: {
5984
- id: string;
5985
- name: string;
5986
- accessToken: string;
5987
- additionalCredentials?: any;
5988
- } | undefined;
5989
- platformId?: string | undefined;
5990
- brandName?: string | undefined;
5991
- status?: boolean | undefined;
5663
+ };
5664
+ status: boolean;
5665
+ brandName: string;
5666
+ platformId: string;
5667
+ isReloginRequired: boolean;
5992
5668
  connectedUserName?: string | null | undefined;
5993
5669
  connectedUserId?: string | null | undefined;
5994
- actor?: {
5995
- id: string;
5996
- address: string | null;
5997
- name: string;
5998
- email: string;
5999
- phone: string | null;
6000
- } | undefined;
6001
5670
  }, {
6002
- name?: string | undefined;
6003
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
6004
- metadata?: {
5671
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5672
+ name: string;
5673
+ metadata: {
6005
5674
  id: string;
6006
5675
  name: string;
6007
5676
  accessToken: string;
6008
5677
  additionalCredentials?: any;
6009
- } | undefined;
6010
- platformId?: string | undefined;
6011
- brandName?: string | undefined;
6012
- status?: boolean | undefined;
5678
+ };
5679
+ status: boolean;
5680
+ brandName: string;
5681
+ platformId: string;
5682
+ isReloginRequired: boolean;
6013
5683
  connectedUserName?: string | null | undefined;
6014
5684
  connectedUserId?: string | null | undefined;
6015
- actor?: {
6016
- id: string;
6017
- address: string | null;
6018
- name: string;
6019
- email: string;
6020
- phone: string | null;
6021
- } | undefined;
6022
5685
  }>;
6023
5686
  method: "POST";
6024
5687
  responses: {
6025
- 200: z.ZodObject<{
6026
- requestId: z.ZodString;
6027
- data: z.ZodObject<{
6028
- name: z.ZodString;
6029
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
6030
- metadata: z.ZodObject<{
6031
- id: z.ZodString;
6032
- name: z.ZodString;
6033
- accessToken: z.ZodString;
6034
- additionalCredentials: z.ZodOptional<z.ZodAny>;
6035
- }, "strip", z.ZodTypeAny, {
5688
+ 200: import("zod").ZodObject<{
5689
+ requestId: import("zod").ZodString;
5690
+ data: import("zod").ZodObject<{
5691
+ name: import("zod").ZodString;
5692
+ type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
5693
+ metadata: import("zod").ZodObject<{
5694
+ id: import("zod").ZodString;
5695
+ name: import("zod").ZodString;
5696
+ accessToken: import("zod").ZodString;
5697
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
5698
+ }, "strip", import("zod").ZodTypeAny, {
6036
5699
  id: string;
6037
5700
  name: string;
6038
5701
  accessToken: string;
@@ -6043,31 +5706,13 @@ export declare const messengerContract: {
6043
5706
  accessToken: string;
6044
5707
  additionalCredentials?: any;
6045
5708
  }>;
6046
- platformId: z.ZodString;
6047
- brandName: z.ZodString;
6048
- status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
6049
- connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6050
- connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6051
- actor: z.ZodObject<{
6052
- id: z.ZodString;
6053
- name: z.ZodString;
6054
- email: z.ZodString;
6055
- address: z.ZodNullable<z.ZodString>;
6056
- phone: z.ZodNullable<z.ZodString>;
6057
- }, "strip", z.ZodTypeAny, {
6058
- id: string;
6059
- address: string | null;
6060
- name: string;
6061
- email: string;
6062
- phone: string | null;
6063
- }, {
6064
- id: string;
6065
- address: string | null;
6066
- name: string;
6067
- email: string;
6068
- phone: string | null;
6069
- }>;
6070
- }, "strip", z.ZodTypeAny, {
5709
+ brandName: import("zod").ZodString;
5710
+ platformId: import("zod").ZodString;
5711
+ status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
5712
+ isReloginRequired: import("zod").ZodBoolean;
5713
+ connectedUserName: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
5714
+ connectedUserId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
5715
+ }, "strip", import("zod").ZodTypeAny, {
6071
5716
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
6072
5717
  name: string;
6073
5718
  metadata: {
@@ -6079,13 +5724,7 @@ export declare const messengerContract: {
6079
5724
  status: boolean;
6080
5725
  brandName: string;
6081
5726
  platformId: string;
6082
- actor: {
6083
- id: string;
6084
- address: string | null;
6085
- name: string;
6086
- email: string;
6087
- phone: string | null;
6088
- };
5727
+ isReloginRequired: boolean;
6089
5728
  connectedUserName?: string | null | undefined;
6090
5729
  connectedUserId?: string | null | undefined;
6091
5730
  }, {
@@ -6100,17 +5739,11 @@ export declare const messengerContract: {
6100
5739
  status: boolean;
6101
5740
  brandName: string;
6102
5741
  platformId: string;
6103
- actor: {
6104
- id: string;
6105
- address: string | null;
6106
- name: string;
6107
- email: string;
6108
- phone: string | null;
6109
- };
5742
+ isReloginRequired: boolean;
6110
5743
  connectedUserName?: string | null | undefined;
6111
5744
  connectedUserId?: string | null | undefined;
6112
5745
  }>;
6113
- }, "strip", z.ZodTypeAny, {
5746
+ }, "strip", import("zod").ZodTypeAny, {
6114
5747
  data: {
6115
5748
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
6116
5749
  name: string;
@@ -6123,13 +5756,7 @@ export declare const messengerContract: {
6123
5756
  status: boolean;
6124
5757
  brandName: string;
6125
5758
  platformId: string;
6126
- actor: {
6127
- id: string;
6128
- address: string | null;
6129
- name: string;
6130
- email: string;
6131
- phone: string | null;
6132
- };
5759
+ isReloginRequired: boolean;
6133
5760
  connectedUserName?: string | null | undefined;
6134
5761
  connectedUserId?: string | null | undefined;
6135
5762
  };
@@ -6147,158 +5774,26 @@ export declare const messengerContract: {
6147
5774
  status: boolean;
6148
5775
  brandName: string;
6149
5776
  platformId: string;
6150
- actor: {
6151
- id: string;
6152
- address: string | null;
6153
- name: string;
6154
- email: string;
6155
- phone: string | null;
6156
- };
5777
+ isReloginRequired: boolean;
6157
5778
  connectedUserName?: string | null | undefined;
6158
5779
  connectedUserId?: string | null | undefined;
6159
5780
  };
6160
5781
  requestId: string;
6161
5782
  }>;
6162
- 500: z.ZodObject<{
6163
- message: z.ZodString;
6164
- error: z.ZodAny;
6165
- }, "strip", z.ZodTypeAny, {
5783
+ 500: import("zod").ZodObject<{
5784
+ message: import("zod").ZodString;
5785
+ error: import("zod").ZodAny;
5786
+ }, "strip", import("zod").ZodTypeAny, {
6166
5787
  message: string;
6167
5788
  error?: any;
6168
5789
  }, {
6169
5790
  message: string;
6170
5791
  error?: any;
6171
5792
  }>;
6172
- 400: z.ZodObject<{
6173
- message: z.ZodString;
6174
- error: z.ZodAny;
6175
- }, "strip", z.ZodTypeAny, {
6176
- message: string;
6177
- error?: any;
6178
- }, {
6179
- message: string;
6180
- error?: any;
6181
- }>;
6182
- };
6183
- path: "/disconnect";
6184
- };
6185
- getFacebookPages: {
6186
- method: "GET";
6187
- query: z.ZodObject<{
6188
- accessToken: z.ZodString;
6189
- userId: z.ZodString;
6190
- }, "strip", z.ZodTypeAny, {
6191
- userId: string;
6192
- accessToken: string;
6193
- }, {
6194
- userId: string;
6195
- accessToken: string;
6196
- }>;
6197
- responses: {
6198
- 200: z.ZodObject<{
6199
- requestId: z.ZodString;
6200
- data: z.ZodArray<z.ZodObject<{
6201
- access_token: z.ZodString;
6202
- category: z.ZodString;
6203
- category_list: z.ZodArray<z.ZodObject<{
6204
- id: z.ZodString;
6205
- name: z.ZodString;
6206
- }, "strip", z.ZodTypeAny, {
6207
- id: string;
6208
- name: string;
6209
- }, {
6210
- id: string;
6211
- name: string;
6212
- }>, "many">;
6213
- id: z.ZodString;
6214
- name: z.ZodString;
6215
- tasks: z.ZodArray<z.ZodString, "many">;
6216
- }, "strip", z.ZodTypeAny, {
6217
- id: string;
6218
- name: string;
6219
- category: string;
6220
- access_token: string;
6221
- category_list: {
6222
- id: string;
6223
- name: string;
6224
- }[];
6225
- tasks: string[];
6226
- }, {
6227
- id: string;
6228
- name: string;
6229
- category: string;
6230
- access_token: string;
6231
- category_list: {
6232
- id: string;
6233
- name: string;
6234
- }[];
6235
- tasks: string[];
6236
- }>, "many">;
6237
- paging: z.ZodOptional<z.ZodObject<{
6238
- cursors: z.ZodObject<{
6239
- before: z.ZodOptional<z.ZodString>;
6240
- after: z.ZodOptional<z.ZodString>;
6241
- }, "strip", z.ZodTypeAny, {
6242
- before?: string | undefined;
6243
- after?: string | undefined;
6244
- }, {
6245
- before?: string | undefined;
6246
- after?: string | undefined;
6247
- }>;
6248
- }, "strip", z.ZodTypeAny, {
6249
- cursors: {
6250
- before?: string | undefined;
6251
- after?: string | undefined;
6252
- };
6253
- }, {
6254
- cursors: {
6255
- before?: string | undefined;
6256
- after?: string | undefined;
6257
- };
6258
- }>>;
6259
- }, "strip", z.ZodTypeAny, {
6260
- data: {
6261
- id: string;
6262
- name: string;
6263
- category: string;
6264
- access_token: string;
6265
- category_list: {
6266
- id: string;
6267
- name: string;
6268
- }[];
6269
- tasks: string[];
6270
- }[];
6271
- requestId: string;
6272
- paging?: {
6273
- cursors: {
6274
- before?: string | undefined;
6275
- after?: string | undefined;
6276
- };
6277
- } | undefined;
6278
- }, {
6279
- data: {
6280
- id: string;
6281
- name: string;
6282
- category: string;
6283
- access_token: string;
6284
- category_list: {
6285
- id: string;
6286
- name: string;
6287
- }[];
6288
- tasks: string[];
6289
- }[];
6290
- requestId: string;
6291
- paging?: {
6292
- cursors: {
6293
- before?: string | undefined;
6294
- after?: string | undefined;
6295
- };
6296
- } | undefined;
6297
- }>;
6298
- 500: z.ZodObject<{
6299
- message: z.ZodString;
6300
- error: z.ZodAny;
6301
- }, "strip", z.ZodTypeAny, {
5793
+ 400: import("zod").ZodObject<{
5794
+ message: import("zod").ZodString;
5795
+ error: import("zod").ZodAny;
5796
+ }, "strip", import("zod").ZodTypeAny, {
6302
5797
  message: string;
6303
5798
  error?: any;
6304
5799
  }, {
@@ -6306,7 +5801,7 @@ export declare const messengerContract: {
6306
5801
  error?: any;
6307
5802
  }>;
6308
5803
  };
6309
- path: "/pages";
5804
+ path: "/connect";
6310
5805
  };
6311
5806
  };
6312
5807
  //# sourceMappingURL=index.d.ts.map