@kl1/contracts 1.0.30 → 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 -1713
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1647 -1711
  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 +57 -168
  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 +1835 -2012
  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 +703 -1185
  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,30 +121,13 @@ export declare const messengerContract: {
125
121
  accessToken: string;
126
122
  additionalCredentials?: any;
127
123
  }>;
128
- platformId: z.ZodString;
129
- status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
130
- connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
131
- connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
132
- actor: z.ZodObject<{
133
- id: z.ZodString;
134
- name: z.ZodString;
135
- email: z.ZodString;
136
- address: z.ZodNullable<z.ZodString>;
137
- phone: z.ZodNullable<z.ZodString>;
138
- }, "strip", z.ZodTypeAny, {
139
- id: string;
140
- address: string | null;
141
- name: string;
142
- email: string;
143
- phone: string | null;
144
- }, {
145
- id: string;
146
- address: string | null;
147
- name: string;
148
- email: string;
149
- phone: string | null;
150
- }>;
151
- }, "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, {
152
131
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
153
132
  name: string;
154
133
  metadata: {
@@ -158,14 +137,9 @@ export declare const messengerContract: {
158
137
  additionalCredentials?: any;
159
138
  };
160
139
  status: boolean;
140
+ brandName: string;
161
141
  platformId: string;
162
- actor: {
163
- id: string;
164
- address: string | null;
165
- name: string;
166
- email: string;
167
- phone: string | null;
168
- };
142
+ isReloginRequired: boolean;
169
143
  connectedUserName?: string | null | undefined;
170
144
  connectedUserId?: string | null | undefined;
171
145
  }, {
@@ -178,18 +152,13 @@ export declare const messengerContract: {
178
152
  additionalCredentials?: any;
179
153
  };
180
154
  status: boolean;
155
+ brandName: string;
181
156
  platformId: string;
182
- actor: {
183
- id: string;
184
- address: string | null;
185
- name: string;
186
- email: string;
187
- phone: string | null;
188
- };
157
+ isReloginRequired: boolean;
189
158
  connectedUserName?: string | null | undefined;
190
159
  connectedUserId?: string | null | undefined;
191
160
  }>;
192
- }, "strip", z.ZodTypeAny, {
161
+ }, "strip", import("zod").ZodTypeAny, {
193
162
  id: string;
194
163
  channel: {
195
164
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -201,14 +170,9 @@ export declare const messengerContract: {
201
170
  additionalCredentials?: any;
202
171
  };
203
172
  status: boolean;
173
+ brandName: string;
204
174
  platformId: string;
205
- actor: {
206
- id: string;
207
- address: string | null;
208
- name: string;
209
- email: string;
210
- phone: string | null;
211
- };
175
+ isReloginRequired: boolean;
212
176
  connectedUserName?: string | null | undefined;
213
177
  connectedUserId?: string | null | undefined;
214
178
  };
@@ -253,14 +217,9 @@ export declare const messengerContract: {
253
217
  additionalCredentials?: any;
254
218
  };
255
219
  status: boolean;
220
+ brandName: string;
256
221
  platformId: string;
257
- actor: {
258
- id: string;
259
- address: string | null;
260
- name: string;
261
- email: string;
262
- phone: string | null;
263
- };
222
+ isReloginRequired: boolean;
264
223
  connectedUserName?: string | null | undefined;
265
224
  connectedUserId?: string | null | undefined;
266
225
  };
@@ -294,30 +253,30 @@ export declare const messengerContract: {
294
253
  lastMessage?: string | undefined;
295
254
  handleTime?: number | undefined;
296
255
  }>;
297
- message: z.ZodObject<{
298
- message: z.ZodOptional<z.ZodString>;
299
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
300
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
301
- readAt: z.ZodOptional<z.ZodDate>;
302
- metadata: z.ZodOptional<z.ZodAny>;
303
- platformId: z.ZodOptional<z.ZodString>;
304
- platformMessageId: z.ZodOptional<z.ZodString>;
305
- replyPlatformMessageId: z.ZodOptional<z.ZodString>;
306
- template: z.ZodOptional<z.ZodAny>;
307
- locale: z.ZodOptional<z.ZodEnum<["mm", "en", "th", ""]>>;
308
- url: z.ZodOptional<z.ZodString>;
309
- previewUrl: z.ZodOptional<z.ZodString>;
310
- imageSetId: z.ZodOptional<z.ZodString>;
311
- upload: z.ZodOptional<z.ZodObject<{
312
- id: z.ZodString;
313
- createdAt: z.ZodDate;
314
- updatedAt: z.ZodDate;
315
- deletedAt: z.ZodNullable<z.ZodDate>;
316
- bucketName: z.ZodString;
317
- fileName: z.ZodString;
318
- fileSize: z.ZodNumber;
319
- fileKey: z.ZodString;
320
- }, "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, {
321
280
  id: string;
322
281
  createdAt: Date;
323
282
  updatedAt: Date;
@@ -336,12 +295,12 @@ export declare const messengerContract: {
336
295
  bucketName: string;
337
296
  fileSize: number;
338
297
  }>>;
339
- sender: z.ZodObject<{
340
- name: z.ZodString;
341
- email: z.ZodString;
342
- address: z.ZodNullable<z.ZodString>;
343
- phone: z.ZodNullable<z.ZodString>;
344
- }, "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, {
345
304
  address: string | null;
346
305
  name: string;
347
306
  email: string;
@@ -352,8 +311,8 @@ export declare const messengerContract: {
352
311
  email: string;
353
312
  phone: string | null;
354
313
  }>;
355
- }, "strip", z.ZodTypeAny, {
356
- 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";
357
316
  direction: "incoming" | "outgoing" | "system";
358
317
  sender: {
359
318
  address: string | null;
@@ -383,7 +342,7 @@ export declare const messengerContract: {
383
342
  fileSize: number;
384
343
  } | undefined;
385
344
  }, {
386
- 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";
387
346
  direction: "incoming" | "outgoing" | "system";
388
347
  sender: {
389
348
  address: string | null;
@@ -413,9 +372,9 @@ export declare const messengerContract: {
413
372
  fileSize: number;
414
373
  } | undefined;
415
374
  }>;
416
- }, "strip", z.ZodTypeAny, {
375
+ }, "strip", import("zod").ZodTypeAny, {
417
376
  message: {
418
- 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";
419
378
  direction: "incoming" | "outgoing" | "system";
420
379
  sender: {
421
380
  address: string | null;
@@ -457,14 +416,9 @@ export declare const messengerContract: {
457
416
  additionalCredentials?: any;
458
417
  };
459
418
  status: boolean;
419
+ brandName: string;
460
420
  platformId: string;
461
- actor: {
462
- id: string;
463
- address: string | null;
464
- name: string;
465
- email: string;
466
- phone: string | null;
467
- };
421
+ isReloginRequired: boolean;
468
422
  connectedUserName?: string | null | undefined;
469
423
  connectedUserId?: string | null | undefined;
470
424
  };
@@ -500,7 +454,7 @@ export declare const messengerContract: {
500
454
  };
501
455
  }, {
502
456
  message: {
503
- 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";
504
458
  direction: "incoming" | "outgoing" | "system";
505
459
  sender: {
506
460
  address: string | null;
@@ -542,14 +496,9 @@ export declare const messengerContract: {
542
496
  additionalCredentials?: any;
543
497
  };
544
498
  status: boolean;
499
+ brandName: string;
545
500
  platformId: string;
546
- actor: {
547
- id: string;
548
- address: string | null;
549
- name: string;
550
- email: string;
551
- phone: string | null;
552
- };
501
+ isReloginRequired: boolean;
553
502
  connectedUserName?: string | null | undefined;
554
503
  connectedUserId?: string | null | undefined;
555
504
  };
@@ -586,53 +535,53 @@ export declare const messengerContract: {
586
535
  }>;
587
536
  method: "POST";
588
537
  responses: {
589
- 200: z.ZodObject<{
590
- requestId: z.ZodString;
591
- data: z.ZodObject<{
592
- id: z.ZodString;
593
- createdAt: z.ZodDate;
594
- updatedAt: z.ZodDate;
595
- deletedAt: z.ZodNullable<z.ZodDate>;
596
- message: z.ZodString;
597
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
598
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
599
- readAt: z.ZodDate;
600
- metadata: z.ZodAny;
601
- platformId: z.ZodString;
602
- platformMessageId: z.ZodString;
603
- replyPlatformMessageId: z.ZodString;
604
- template: z.ZodAny;
605
- locale: z.ZodEnum<["mm", "en", "th", ""]>;
606
- url: z.ZodString;
607
- previewUrl: z.ZodString;
608
- imageSetId: z.ZodString;
609
- room: z.ZodObject<{
610
- id: z.ZodString;
611
- createdAt: z.ZodDate;
612
- updatedAt: z.ZodDate;
613
- deletedAt: z.ZodNullable<z.ZodDate>;
614
- lastMessage: z.ZodString;
615
- handleTime: z.ZodNumber;
616
- closeAt: z.ZodDate;
617
- unreadCount: z.ZodNumber;
618
- firstResponseAt: z.ZodDate;
619
- firstResponseTime: z.ZodNumber;
620
- isLatest: z.ZodBoolean;
621
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
622
- platformContact: z.ZodObject<{
623
- id: z.ZodString;
624
- createdAt: z.ZodDate;
625
- updatedAt: z.ZodDate;
626
- deletedAt: z.ZodNullable<z.ZodDate>;
627
- channelId: z.ZodString;
628
- socialPlatformId: z.ZodString;
629
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
630
- metadata: z.ZodObject<{
631
- id: z.ZodString;
632
- name: z.ZodString;
633
- picture: z.ZodOptional<z.ZodString>;
634
- additionalCredentials: z.ZodAny;
635
- }, "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, {
636
585
  id: string;
637
586
  name: string;
638
587
  picture?: string | undefined;
@@ -643,24 +592,24 @@ export declare const messengerContract: {
643
592
  picture?: string | undefined;
644
593
  additionalCredentials?: any;
645
594
  }>;
646
- contact: z.ZodObject<{
647
- id: z.ZodString;
648
- createdAt: z.ZodDate;
649
- updatedAt: z.ZodDate;
650
- deletedAt: z.ZodNullable<z.ZodDate>;
651
- name: z.ZodString;
652
- address: z.ZodNullable<z.ZodString>;
653
- channel: z.ZodNullable<z.ZodString>;
654
- notes: z.ZodNullable<z.ZodString>;
655
- contactProfile: z.ZodNullable<z.ZodString>;
656
- socialProfileUrl: z.ZodNullable<z.ZodString>;
657
- tags: z.ZodArray<z.ZodObject<{
658
- id: z.ZodString;
659
- createdAt: z.ZodDate;
660
- updatedAt: z.ZodDate;
661
- deletedAt: z.ZodNullable<z.ZodDate>;
662
- name: z.ZodString;
663
- }, "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, {
664
613
  id: string;
665
614
  name: string;
666
615
  createdAt: Date;
@@ -673,44 +622,44 @@ export declare const messengerContract: {
673
622
  updatedAt: Date;
674
623
  deletedAt: Date | null;
675
624
  }>, "many">;
676
- company: z.ZodNullable<z.ZodObject<Omit<{
677
- id: z.ZodString;
678
- createdAt: z.ZodDate;
679
- updatedAt: z.ZodDate;
680
- deletedAt: z.ZodNullable<z.ZodDate>;
681
- name: z.ZodOptional<z.ZodString>;
682
- phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
683
- address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
684
- industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
685
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
686
- id: z.ZodString;
687
- createdAt: z.ZodDate;
688
- updatedAt: z.ZodDate;
689
- deletedAt: z.ZodNullable<z.ZodDate>;
690
- textValue: z.ZodNullable<z.ZodString>;
691
- booleanValue: z.ZodNullable<z.ZodBoolean>;
692
- numberValue: z.ZodNullable<z.ZodNumber>;
693
- dateValue: z.ZodNullable<z.ZodDate>;
694
- attribute: z.ZodObject<Omit<{
695
- id: z.ZodString;
696
- createdAt: z.ZodDate;
697
- updatedAt: z.ZodDate;
698
- deletedAt: z.ZodNullable<z.ZodDate>;
699
- systemName: z.ZodString;
700
- displayName: z.ZodString;
701
- type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
702
- position: z.ZodNumber;
703
- isDefault: z.ZodBoolean;
704
- isArchived: z.ZodBoolean;
705
- isRequired: z.ZodBoolean;
706
- isUnique: z.ZodBoolean;
707
- options: z.ZodArray<z.ZodObject<{
708
- position: z.ZodNumber;
709
- value: z.ZodString;
710
- label: z.ZodString;
711
- isDefault: z.ZodBoolean;
712
- id: z.ZodString;
713
- }, "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, {
714
663
  id: string;
715
664
  position: number;
716
665
  value: string;
@@ -723,14 +672,14 @@ export declare const messengerContract: {
723
672
  label: string;
724
673
  isDefault: boolean;
725
674
  }>, "many">;
726
- group: z.ZodObject<{
727
- id: z.ZodString;
728
- createdAt: z.ZodDate;
729
- updatedAt: z.ZodDate;
730
- deletedAt: z.ZodNullable<z.ZodDate>;
731
- systemName: z.ZodString;
732
- displayName: z.ZodString;
733
- }, "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, {
734
683
  id: string;
735
684
  createdAt: Date;
736
685
  updatedAt: Date;
@@ -745,7 +694,7 @@ export declare const messengerContract: {
745
694
  systemName: string;
746
695
  displayName: string;
747
696
  }>;
748
- }, "options" | "group">, "strip", z.ZodTypeAny, {
697
+ }, "options" | "group">, "strip", import("zod").ZodTypeAny, {
749
698
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
750
699
  id: string;
751
700
  position: number;
@@ -772,7 +721,7 @@ export declare const messengerContract: {
772
721
  isRequired: boolean;
773
722
  isUnique: boolean;
774
723
  }>;
775
- }, "strip", z.ZodTypeAny, {
724
+ }, "strip", import("zod").ZodTypeAny, {
776
725
  id: string;
777
726
  createdAt: Date;
778
727
  updatedAt: Date;
@@ -819,7 +768,7 @@ export declare const messengerContract: {
819
768
  numberValue: number | null;
820
769
  dateValue: Date | null;
821
770
  }>, "many">>;
822
- }, "customFields">, "strip", z.ZodTypeAny, {
771
+ }, "customFields">, "strip", import("zod").ZodTypeAny, {
823
772
  id: string;
824
773
  createdAt: Date;
825
774
  updatedAt: Date;
@@ -838,35 +787,35 @@ export declare const messengerContract: {
838
787
  phone?: string | null | undefined;
839
788
  industry?: string | null | undefined;
840
789
  }>>;
841
- customFields: z.ZodArray<z.ZodObject<{
842
- id: z.ZodString;
843
- createdAt: z.ZodDate;
844
- updatedAt: z.ZodDate;
845
- deletedAt: z.ZodNullable<z.ZodDate>;
846
- textValue: z.ZodNullable<z.ZodString>;
847
- booleanValue: z.ZodNullable<z.ZodBoolean>;
848
- numberValue: z.ZodNullable<z.ZodNumber>;
849
- dateValue: z.ZodNullable<z.ZodDate>;
850
- attribute: z.ZodObject<Omit<{
851
- id: z.ZodString;
852
- createdAt: z.ZodDate;
853
- updatedAt: z.ZodDate;
854
- deletedAt: z.ZodNullable<z.ZodDate>;
855
- systemName: z.ZodString;
856
- displayName: z.ZodString;
857
- type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
858
- position: z.ZodNumber;
859
- isDefault: z.ZodBoolean;
860
- isArchived: z.ZodBoolean;
861
- isRequired: z.ZodBoolean;
862
- isUnique: z.ZodBoolean;
863
- options: z.ZodArray<z.ZodObject<{
864
- position: z.ZodNumber;
865
- value: z.ZodString;
866
- label: z.ZodString;
867
- isDefault: z.ZodBoolean;
868
- id: z.ZodString;
869
- }, "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, {
870
819
  id: string;
871
820
  position: number;
872
821
  value: string;
@@ -879,14 +828,14 @@ export declare const messengerContract: {
879
828
  label: string;
880
829
  isDefault: boolean;
881
830
  }>, "many">;
882
- group: z.ZodObject<{
883
- id: z.ZodString;
884
- createdAt: z.ZodDate;
885
- updatedAt: z.ZodDate;
886
- deletedAt: z.ZodNullable<z.ZodDate>;
887
- systemName: z.ZodString;
888
- displayName: z.ZodString;
889
- }, "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, {
890
839
  id: string;
891
840
  createdAt: Date;
892
841
  updatedAt: Date;
@@ -901,7 +850,7 @@ export declare const messengerContract: {
901
850
  systemName: string;
902
851
  displayName: string;
903
852
  }>;
904
- }, "options" | "group">, "strip", z.ZodTypeAny, {
853
+ }, "options" | "group">, "strip", import("zod").ZodTypeAny, {
905
854
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
906
855
  id: string;
907
856
  position: number;
@@ -928,22 +877,22 @@ export declare const messengerContract: {
928
877
  isRequired: boolean;
929
878
  isUnique: boolean;
930
879
  }>;
931
- uploads: z.ZodArray<z.ZodObject<{
932
- id: z.ZodString;
933
- createdAt: z.ZodDate;
934
- updatedAt: z.ZodDate;
935
- deletedAt: z.ZodNullable<z.ZodDate>;
936
- customFieldId: z.ZodString;
937
- upload: z.ZodObject<{
938
- id: z.ZodString;
939
- createdAt: z.ZodDate;
940
- updatedAt: z.ZodDate;
941
- deletedAt: z.ZodNullable<z.ZodDate>;
942
- bucketName: z.ZodString;
943
- fileName: z.ZodString;
944
- fileSize: z.ZodNumber;
945
- fileKey: z.ZodString;
946
- }, "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, {
947
896
  id: string;
948
897
  createdAt: Date;
949
898
  updatedAt: Date;
@@ -962,7 +911,7 @@ export declare const messengerContract: {
962
911
  bucketName: string;
963
912
  fileSize: number;
964
913
  }>;
965
- }, "strip", z.ZodTypeAny, {
914
+ }, "strip", import("zod").ZodTypeAny, {
966
915
  id: string;
967
916
  createdAt: Date;
968
917
  updatedAt: Date;
@@ -995,7 +944,7 @@ export declare const messengerContract: {
995
944
  fileSize: number;
996
945
  };
997
946
  }>, "many">;
998
- }, "strip", z.ZodTypeAny, {
947
+ }, "strip", import("zod").ZodTypeAny, {
999
948
  id: string;
1000
949
  createdAt: Date;
1001
950
  updatedAt: Date;
@@ -1076,14 +1025,14 @@ export declare const messengerContract: {
1076
1025
  };
1077
1026
  }[];
1078
1027
  }>, "many">;
1079
- contactEmails: z.ZodArray<z.ZodObject<{
1080
- id: z.ZodString;
1081
- createdAt: z.ZodDate;
1082
- updatedAt: z.ZodDate;
1083
- deletedAt: z.ZodNullable<z.ZodDate>;
1084
- email: z.ZodString;
1085
- isPrimary: z.ZodBoolean;
1086
- }, "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, {
1087
1036
  id: string;
1088
1037
  isPrimary: boolean;
1089
1038
  email: string;
@@ -1098,14 +1047,14 @@ export declare const messengerContract: {
1098
1047
  updatedAt: Date;
1099
1048
  deletedAt: Date | null;
1100
1049
  }>, "many">;
1101
- contactPhones: z.ZodArray<z.ZodObject<{
1102
- id: z.ZodString;
1103
- createdAt: z.ZodDate;
1104
- updatedAt: z.ZodDate;
1105
- deletedAt: z.ZodNullable<z.ZodDate>;
1106
- phone: z.ZodString;
1107
- isPrimary: z.ZodBoolean;
1108
- }, "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, {
1109
1058
  id: string;
1110
1059
  isPrimary: boolean;
1111
1060
  createdAt: Date;
@@ -1120,21 +1069,21 @@ export declare const messengerContract: {
1120
1069
  deletedAt: Date | null;
1121
1070
  phone: string;
1122
1071
  }>, "many">;
1123
- activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1124
- id: z.ZodString;
1125
- createdAt: z.ZodDate;
1126
- updatedAt: z.ZodDate;
1127
- deletedAt: z.ZodNullable<z.ZodDate>;
1128
- entityId: z.ZodString;
1129
- description: z.ZodString;
1130
- entityType: z.ZodObject<{
1131
- id: z.ZodString;
1132
- createdAt: z.ZodDate;
1133
- updatedAt: z.ZodDate;
1134
- deletedAt: z.ZodNullable<z.ZodDate>;
1135
- entity: z.ZodString;
1136
- description: z.ZodNullable<z.ZodString>;
1137
- }, "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, {
1138
1087
  id: string;
1139
1088
  description: string | null;
1140
1089
  createdAt: Date;
@@ -1149,7 +1098,7 @@ export declare const messengerContract: {
1149
1098
  deletedAt: Date | null;
1150
1099
  entity: string;
1151
1100
  }>;
1152
- }, "strip", z.ZodTypeAny, {
1101
+ }, "strip", import("zod").ZodTypeAny, {
1153
1102
  id: string;
1154
1103
  description: string;
1155
1104
  createdAt: Date;
@@ -1180,7 +1129,7 @@ export declare const messengerContract: {
1180
1129
  entity: string;
1181
1130
  };
1182
1131
  }>, "many">>;
1183
- }, "strip", z.ZodTypeAny, {
1132
+ }, "strip", import("zod").ZodTypeAny, {
1184
1133
  id: string;
1185
1134
  channel: string | null;
1186
1135
  address: string | null;
@@ -1383,7 +1332,7 @@ export declare const messengerContract: {
1383
1332
  };
1384
1333
  }[] | undefined;
1385
1334
  }>;
1386
- }, "strip", z.ZodTypeAny, {
1335
+ }, "strip", import("zod").ZodTypeAny, {
1387
1336
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
1388
1337
  id: string;
1389
1338
  metadata: {
@@ -1616,35 +1565,35 @@ export declare const messengerContract: {
1616
1565
  channelId: string;
1617
1566
  socialPlatformId: string;
1618
1567
  }>;
1619
- actor: z.ZodObject<{
1620
- id: z.ZodString;
1621
- createdAt: z.ZodDate;
1622
- updatedAt: z.ZodDate;
1623
- deletedAt: z.ZodNullable<z.ZodDate>;
1624
- name: z.ZodString;
1625
- email: z.ZodString;
1626
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1627
- password: z.ZodString;
1628
- address: z.ZodNullable<z.ZodString>;
1629
- phone: z.ZodNullable<z.ZodString>;
1630
- notificationCount: z.ZodNullable<z.ZodNumber>;
1631
- roles: z.ZodArray<z.ZodObject<{
1632
- id: z.ZodString;
1633
- createdAt: z.ZodDate;
1634
- updatedAt: z.ZodDate;
1635
- deletedAt: z.ZodNullable<z.ZodDate>;
1636
- systemName: z.ZodString;
1637
- displayName: z.ZodString;
1638
- description: z.ZodNullable<z.ZodString>;
1639
- permissions: z.ZodArray<z.ZodObject<{
1640
- id: z.ZodString;
1641
- createdAt: z.ZodDate;
1642
- updatedAt: z.ZodDate;
1643
- deletedAt: z.ZodNullable<z.ZodDate>;
1644
- systemName: z.ZodString;
1645
- displayName: z.ZodString;
1646
- description: z.ZodNullable<z.ZodString>;
1647
- }, "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, {
1648
1597
  id: string;
1649
1598
  description: string | null;
1650
1599
  createdAt: Date;
@@ -1661,7 +1610,7 @@ export declare const messengerContract: {
1661
1610
  systemName: string;
1662
1611
  displayName: string;
1663
1612
  }>, "many">;
1664
- }, "strip", z.ZodTypeAny, {
1613
+ }, "strip", import("zod").ZodTypeAny, {
1665
1614
  id: string;
1666
1615
  description: string | null;
1667
1616
  createdAt: Date;
@@ -1696,18 +1645,18 @@ export declare const messengerContract: {
1696
1645
  displayName: string;
1697
1646
  }[];
1698
1647
  }>, "many">;
1699
- extension: z.ZodOptional<z.ZodObject<{
1700
- id: z.ZodString;
1701
- createdAt: z.ZodDate;
1702
- updatedAt: z.ZodDate;
1703
- deletedAt: z.ZodNullable<z.ZodDate>;
1704
- userId: z.ZodNullable<z.ZodString>;
1705
- sipServerUrl: z.ZodString;
1706
- sipUserName: z.ZodString;
1707
- extensionId: z.ZodNumber;
1708
- extensionName: z.ZodString;
1709
- telephonySignature: z.ZodNullable<z.ZodString>;
1710
- }, "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, {
1711
1660
  id: string;
1712
1661
  createdAt: Date;
1713
1662
  updatedAt: Date;
@@ -1730,7 +1679,7 @@ export declare const messengerContract: {
1730
1679
  extensionName: string;
1731
1680
  telephonySignature: string | null;
1732
1681
  }>>;
1733
- }, "strip", z.ZodTypeAny, {
1682
+ }, "strip", import("zod").ZodTypeAny, {
1734
1683
  id: string;
1735
1684
  address: string | null;
1736
1685
  name: string;
@@ -1815,35 +1764,35 @@ export declare const messengerContract: {
1815
1764
  telephonySignature: string | null;
1816
1765
  } | undefined;
1817
1766
  }>;
1818
- assignee: z.ZodObject<{
1819
- id: z.ZodString;
1820
- createdAt: z.ZodDate;
1821
- updatedAt: z.ZodDate;
1822
- deletedAt: z.ZodNullable<z.ZodDate>;
1823
- name: z.ZodString;
1824
- email: z.ZodString;
1825
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1826
- password: z.ZodString;
1827
- address: z.ZodNullable<z.ZodString>;
1828
- phone: z.ZodNullable<z.ZodString>;
1829
- notificationCount: z.ZodNullable<z.ZodNumber>;
1830
- roles: z.ZodArray<z.ZodObject<{
1831
- id: z.ZodString;
1832
- createdAt: z.ZodDate;
1833
- updatedAt: z.ZodDate;
1834
- deletedAt: z.ZodNullable<z.ZodDate>;
1835
- systemName: z.ZodString;
1836
- displayName: z.ZodString;
1837
- description: z.ZodNullable<z.ZodString>;
1838
- permissions: z.ZodArray<z.ZodObject<{
1839
- id: z.ZodString;
1840
- createdAt: z.ZodDate;
1841
- updatedAt: z.ZodDate;
1842
- deletedAt: z.ZodNullable<z.ZodDate>;
1843
- systemName: z.ZodString;
1844
- displayName: z.ZodString;
1845
- description: z.ZodNullable<z.ZodString>;
1846
- }, "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, {
1847
1796
  id: string;
1848
1797
  description: string | null;
1849
1798
  createdAt: Date;
@@ -1860,7 +1809,7 @@ export declare const messengerContract: {
1860
1809
  systemName: string;
1861
1810
  displayName: string;
1862
1811
  }>, "many">;
1863
- }, "strip", z.ZodTypeAny, {
1812
+ }, "strip", import("zod").ZodTypeAny, {
1864
1813
  id: string;
1865
1814
  description: string | null;
1866
1815
  createdAt: Date;
@@ -1895,18 +1844,18 @@ export declare const messengerContract: {
1895
1844
  displayName: string;
1896
1845
  }[];
1897
1846
  }>, "many">;
1898
- extension: z.ZodOptional<z.ZodObject<{
1899
- id: z.ZodString;
1900
- createdAt: z.ZodDate;
1901
- updatedAt: z.ZodDate;
1902
- deletedAt: z.ZodNullable<z.ZodDate>;
1903
- userId: z.ZodNullable<z.ZodString>;
1904
- sipServerUrl: z.ZodString;
1905
- sipUserName: z.ZodString;
1906
- extensionId: z.ZodNumber;
1907
- extensionName: z.ZodString;
1908
- telephonySignature: z.ZodNullable<z.ZodString>;
1909
- }, "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, {
1910
1859
  id: string;
1911
1860
  createdAt: Date;
1912
1861
  updatedAt: Date;
@@ -1929,7 +1878,7 @@ export declare const messengerContract: {
1929
1878
  extensionName: string;
1930
1879
  telephonySignature: string | null;
1931
1880
  }>>;
1932
- }, "strip", z.ZodTypeAny, {
1881
+ }, "strip", import("zod").ZodTypeAny, {
1933
1882
  id: string;
1934
1883
  address: string | null;
1935
1884
  name: string;
@@ -2014,19 +1963,19 @@ export declare const messengerContract: {
2014
1963
  telephonySignature: string | null;
2015
1964
  } | undefined;
2016
1965
  }>;
2017
- channel: z.ZodOptional<z.ZodObject<{
2018
- id: z.ZodOptional<z.ZodString>;
2019
- createdAt: z.ZodOptional<z.ZodDate>;
2020
- updatedAt: z.ZodOptional<z.ZodDate>;
2021
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2022
- name: z.ZodOptional<z.ZodString>;
2023
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
2024
- metadata: z.ZodOptional<z.ZodObject<{
2025
- id: z.ZodString;
2026
- name: z.ZodString;
2027
- accessToken: z.ZodString;
2028
- additionalCredentials: z.ZodOptional<z.ZodAny>;
2029
- }, "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, {
2030
1979
  id: string;
2031
1980
  name: string;
2032
1981
  accessToken: string;
@@ -2037,41 +1986,41 @@ export declare const messengerContract: {
2037
1986
  accessToken: string;
2038
1987
  additionalCredentials?: any;
2039
1988
  }>>;
2040
- brandName: z.ZodOptional<z.ZodString>;
2041
- platformId: z.ZodOptional<z.ZodString>;
2042
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
2043
- isReloginRequired: z.ZodOptional<z.ZodBoolean>;
2044
- connectedUserName: z.ZodOptional<z.ZodString>;
2045
- connectedUserId: z.ZodOptional<z.ZodString>;
2046
- actor: z.ZodOptional<z.ZodObject<{
2047
- id: z.ZodString;
2048
- createdAt: z.ZodDate;
2049
- updatedAt: z.ZodDate;
2050
- deletedAt: z.ZodNullable<z.ZodDate>;
2051
- name: z.ZodString;
2052
- email: z.ZodString;
2053
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
2054
- password: z.ZodString;
2055
- address: z.ZodNullable<z.ZodString>;
2056
- phone: z.ZodNullable<z.ZodString>;
2057
- notificationCount: z.ZodNullable<z.ZodNumber>;
2058
- roles: z.ZodArray<z.ZodObject<{
2059
- id: z.ZodString;
2060
- createdAt: z.ZodDate;
2061
- updatedAt: z.ZodDate;
2062
- deletedAt: z.ZodNullable<z.ZodDate>;
2063
- systemName: z.ZodString;
2064
- displayName: z.ZodString;
2065
- description: z.ZodNullable<z.ZodString>;
2066
- permissions: z.ZodArray<z.ZodObject<{
2067
- id: z.ZodString;
2068
- createdAt: z.ZodDate;
2069
- updatedAt: z.ZodDate;
2070
- deletedAt: z.ZodNullable<z.ZodDate>;
2071
- systemName: z.ZodString;
2072
- displayName: z.ZodString;
2073
- description: z.ZodNullable<z.ZodString>;
2074
- }, "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, {
2075
2024
  id: string;
2076
2025
  description: string | null;
2077
2026
  createdAt: Date;
@@ -2088,7 +2037,7 @@ export declare const messengerContract: {
2088
2037
  systemName: string;
2089
2038
  displayName: string;
2090
2039
  }>, "many">;
2091
- }, "strip", z.ZodTypeAny, {
2040
+ }, "strip", import("zod").ZodTypeAny, {
2092
2041
  id: string;
2093
2042
  description: string | null;
2094
2043
  createdAt: Date;
@@ -2123,18 +2072,18 @@ export declare const messengerContract: {
2123
2072
  displayName: string;
2124
2073
  }[];
2125
2074
  }>, "many">;
2126
- extension: z.ZodOptional<z.ZodObject<{
2127
- id: z.ZodString;
2128
- createdAt: z.ZodDate;
2129
- updatedAt: z.ZodDate;
2130
- deletedAt: z.ZodNullable<z.ZodDate>;
2131
- userId: z.ZodNullable<z.ZodString>;
2132
- sipServerUrl: z.ZodString;
2133
- sipUserName: z.ZodString;
2134
- extensionId: z.ZodNumber;
2135
- extensionName: z.ZodString;
2136
- telephonySignature: z.ZodNullable<z.ZodString>;
2137
- }, "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, {
2138
2087
  id: string;
2139
2088
  createdAt: Date;
2140
2089
  updatedAt: Date;
@@ -2157,7 +2106,7 @@ export declare const messengerContract: {
2157
2106
  extensionName: string;
2158
2107
  telephonySignature: string | null;
2159
2108
  }>>;
2160
- }, "strip", z.ZodTypeAny, {
2109
+ }, "strip", import("zod").ZodTypeAny, {
2161
2110
  id: string;
2162
2111
  address: string | null;
2163
2112
  name: string;
@@ -2242,7 +2191,7 @@ export declare const messengerContract: {
2242
2191
  telephonySignature: string | null;
2243
2192
  } | undefined;
2244
2193
  }>>;
2245
- }, "strip", z.ZodTypeAny, {
2194
+ }, "strip", import("zod").ZodTypeAny, {
2246
2195
  id?: string | undefined;
2247
2196
  createdAt?: Date | undefined;
2248
2197
  updatedAt?: Date | undefined;
@@ -2367,39 +2316,39 @@ export declare const messengerContract: {
2367
2316
  } | undefined;
2368
2317
  } | undefined;
2369
2318
  }>>;
2370
- cxlog: z.ZodObject<{
2371
- id: z.ZodString;
2372
- createdAt: z.ZodDate;
2373
- updatedAt: z.ZodDate;
2374
- deletedAt: z.ZodNullable<z.ZodDate>;
2375
- caseId: z.ZodNumber;
2376
- entityId: z.ZodString;
2377
- entityName: z.ZodString;
2378
- contactId: z.ZodNullable<z.ZodString>;
2379
- channel: z.ZodNullable<z.ZodString>;
2380
- queueId: z.ZodNullable<z.ZodString>;
2381
- agentId: z.ZodNullable<z.ZodString>;
2382
- direction: z.ZodNullable<z.ZodString>;
2383
- startedDate: z.ZodNullable<z.ZodDate>;
2384
- handledTime: z.ZodNullable<z.ZodNumber>;
2385
- firstResponseTime: z.ZodNullable<z.ZodNumber>;
2386
- disposition: z.ZodNullable<z.ZodString>;
2387
- wrapUpForm: z.ZodNullable<z.ZodObject<{
2388
- id: z.ZodString;
2389
- createdAt: z.ZodDate;
2390
- updatedAt: z.ZodDate;
2391
- deletedAt: z.ZodNullable<z.ZodDate>;
2392
- note: z.ZodNullable<z.ZodString>;
2393
- disposition: z.ZodNullable<z.ZodString>;
2394
- callFrom: z.ZodNullable<z.ZodString>;
2395
- callTo: z.ZodNullable<z.ZodString>;
2396
- tags: z.ZodArray<z.ZodObject<{
2397
- id: z.ZodString;
2398
- createdAt: z.ZodDate;
2399
- updatedAt: z.ZodDate;
2400
- deletedAt: z.ZodNullable<z.ZodDate>;
2401
- name: z.ZodString;
2402
- }, "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, {
2403
2352
  id: string;
2404
2353
  name: string;
2405
2354
  createdAt: Date;
@@ -2412,7 +2361,7 @@ export declare const messengerContract: {
2412
2361
  updatedAt: Date;
2413
2362
  deletedAt: Date | null;
2414
2363
  }>, "many">;
2415
- }, "strip", z.ZodTypeAny, {
2364
+ }, "strip", import("zod").ZodTypeAny, {
2416
2365
  id: string;
2417
2366
  disposition: string | null;
2418
2367
  createdAt: Date;
@@ -2445,7 +2394,7 @@ export declare const messengerContract: {
2445
2394
  callTo: string | null;
2446
2395
  note: string | null;
2447
2396
  }>>;
2448
- }, "strip", z.ZodTypeAny, {
2397
+ }, "strip", import("zod").ZodTypeAny, {
2449
2398
  id: string;
2450
2399
  channel: string | null;
2451
2400
  disposition: string | null;
@@ -2514,7 +2463,7 @@ export declare const messengerContract: {
2514
2463
  note: string | null;
2515
2464
  } | null;
2516
2465
  }>;
2517
- }, "strip", z.ZodTypeAny, {
2466
+ }, "strip", import("zod").ZodTypeAny, {
2518
2467
  id: string;
2519
2468
  direction: "incoming" | "outgoing" | "system";
2520
2469
  createdAt: Date;
@@ -3143,16 +3092,16 @@ export declare const messengerContract: {
3143
3092
  } | undefined;
3144
3093
  } | undefined;
3145
3094
  }>;
3146
- upload: z.ZodObject<{
3147
- id: z.ZodString;
3148
- createdAt: z.ZodDate;
3149
- updatedAt: z.ZodDate;
3150
- deletedAt: z.ZodNullable<z.ZodDate>;
3151
- bucketName: z.ZodString;
3152
- fileName: z.ZodString;
3153
- fileSize: z.ZodNumber;
3154
- fileKey: z.ZodString;
3155
- }, "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, {
3156
3105
  id: string;
3157
3106
  createdAt: Date;
3158
3107
  updatedAt: Date;
@@ -3171,35 +3120,35 @@ export declare const messengerContract: {
3171
3120
  bucketName: string;
3172
3121
  fileSize: number;
3173
3122
  }>;
3174
- actor: z.ZodObject<{
3175
- id: z.ZodString;
3176
- createdAt: z.ZodDate;
3177
- updatedAt: z.ZodDate;
3178
- deletedAt: z.ZodNullable<z.ZodDate>;
3179
- name: z.ZodString;
3180
- email: z.ZodString;
3181
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
3182
- password: z.ZodString;
3183
- address: z.ZodNullable<z.ZodString>;
3184
- phone: z.ZodNullable<z.ZodString>;
3185
- notificationCount: z.ZodNullable<z.ZodNumber>;
3186
- roles: z.ZodArray<z.ZodObject<{
3187
- id: z.ZodString;
3188
- createdAt: z.ZodDate;
3189
- updatedAt: z.ZodDate;
3190
- deletedAt: z.ZodNullable<z.ZodDate>;
3191
- systemName: z.ZodString;
3192
- displayName: z.ZodString;
3193
- description: z.ZodNullable<z.ZodString>;
3194
- permissions: z.ZodArray<z.ZodObject<{
3195
- id: z.ZodString;
3196
- createdAt: z.ZodDate;
3197
- updatedAt: z.ZodDate;
3198
- deletedAt: z.ZodNullable<z.ZodDate>;
3199
- systemName: z.ZodString;
3200
- displayName: z.ZodString;
3201
- description: z.ZodNullable<z.ZodString>;
3202
- }, "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, {
3203
3152
  id: string;
3204
3153
  description: string | null;
3205
3154
  createdAt: Date;
@@ -3216,7 +3165,7 @@ export declare const messengerContract: {
3216
3165
  systemName: string;
3217
3166
  displayName: string;
3218
3167
  }>, "many">;
3219
- }, "strip", z.ZodTypeAny, {
3168
+ }, "strip", import("zod").ZodTypeAny, {
3220
3169
  id: string;
3221
3170
  description: string | null;
3222
3171
  createdAt: Date;
@@ -3251,18 +3200,18 @@ export declare const messengerContract: {
3251
3200
  displayName: string;
3252
3201
  }[];
3253
3202
  }>, "many">;
3254
- extension: z.ZodOptional<z.ZodObject<{
3255
- id: z.ZodString;
3256
- createdAt: z.ZodDate;
3257
- updatedAt: z.ZodDate;
3258
- deletedAt: z.ZodNullable<z.ZodDate>;
3259
- userId: z.ZodNullable<z.ZodString>;
3260
- sipServerUrl: z.ZodString;
3261
- sipUserName: z.ZodString;
3262
- extensionId: z.ZodNumber;
3263
- extensionName: z.ZodString;
3264
- telephonySignature: z.ZodNullable<z.ZodString>;
3265
- }, "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, {
3266
3215
  id: string;
3267
3216
  createdAt: Date;
3268
3217
  updatedAt: Date;
@@ -3285,7 +3234,7 @@ export declare const messengerContract: {
3285
3234
  extensionName: string;
3286
3235
  telephonySignature: string | null;
3287
3236
  }>>;
3288
- }, "strip", z.ZodTypeAny, {
3237
+ }, "strip", import("zod").ZodTypeAny, {
3289
3238
  id: string;
3290
3239
  address: string | null;
3291
3240
  name: string;
@@ -3370,35 +3319,35 @@ export declare const messengerContract: {
3370
3319
  telephonySignature: string | null;
3371
3320
  } | undefined;
3372
3321
  }>;
3373
- assignee: z.ZodObject<{
3374
- id: z.ZodString;
3375
- createdAt: z.ZodDate;
3376
- updatedAt: z.ZodDate;
3377
- deletedAt: z.ZodNullable<z.ZodDate>;
3378
- name: z.ZodString;
3379
- email: z.ZodString;
3380
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
3381
- password: z.ZodString;
3382
- address: z.ZodNullable<z.ZodString>;
3383
- phone: z.ZodNullable<z.ZodString>;
3384
- notificationCount: z.ZodNullable<z.ZodNumber>;
3385
- roles: z.ZodArray<z.ZodObject<{
3386
- id: z.ZodString;
3387
- createdAt: z.ZodDate;
3388
- updatedAt: z.ZodDate;
3389
- deletedAt: z.ZodNullable<z.ZodDate>;
3390
- systemName: z.ZodString;
3391
- displayName: z.ZodString;
3392
- description: z.ZodNullable<z.ZodString>;
3393
- permissions: z.ZodArray<z.ZodObject<{
3394
- id: z.ZodString;
3395
- createdAt: z.ZodDate;
3396
- updatedAt: z.ZodDate;
3397
- deletedAt: z.ZodNullable<z.ZodDate>;
3398
- systemName: z.ZodString;
3399
- displayName: z.ZodString;
3400
- description: z.ZodNullable<z.ZodString>;
3401
- }, "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, {
3402
3351
  id: string;
3403
3352
  description: string | null;
3404
3353
  createdAt: Date;
@@ -3415,7 +3364,7 @@ export declare const messengerContract: {
3415
3364
  systemName: string;
3416
3365
  displayName: string;
3417
3366
  }>, "many">;
3418
- }, "strip", z.ZodTypeAny, {
3367
+ }, "strip", import("zod").ZodTypeAny, {
3419
3368
  id: string;
3420
3369
  description: string | null;
3421
3370
  createdAt: Date;
@@ -3450,18 +3399,18 @@ export declare const messengerContract: {
3450
3399
  displayName: string;
3451
3400
  }[];
3452
3401
  }>, "many">;
3453
- extension: z.ZodOptional<z.ZodObject<{
3454
- id: z.ZodString;
3455
- createdAt: z.ZodDate;
3456
- updatedAt: z.ZodDate;
3457
- deletedAt: z.ZodNullable<z.ZodDate>;
3458
- userId: z.ZodNullable<z.ZodString>;
3459
- sipServerUrl: z.ZodString;
3460
- sipUserName: z.ZodString;
3461
- extensionId: z.ZodNumber;
3462
- extensionName: z.ZodString;
3463
- telephonySignature: z.ZodNullable<z.ZodString>;
3464
- }, "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, {
3465
3414
  id: string;
3466
3415
  createdAt: Date;
3467
3416
  updatedAt: Date;
@@ -3484,7 +3433,7 @@ export declare const messengerContract: {
3484
3433
  extensionName: string;
3485
3434
  telephonySignature: string | null;
3486
3435
  }>>;
3487
- }, "strip", z.ZodTypeAny, {
3436
+ }, "strip", import("zod").ZodTypeAny, {
3488
3437
  id: string;
3489
3438
  address: string | null;
3490
3439
  name: string;
@@ -3569,35 +3518,35 @@ export declare const messengerContract: {
3569
3518
  telephonySignature: string | null;
3570
3519
  } | undefined;
3571
3520
  }>;
3572
- sender: z.ZodObject<{
3573
- id: z.ZodString;
3574
- createdAt: z.ZodDate;
3575
- updatedAt: z.ZodDate;
3576
- deletedAt: z.ZodNullable<z.ZodDate>;
3577
- name: z.ZodString;
3578
- email: z.ZodString;
3579
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
3580
- password: z.ZodString;
3581
- address: z.ZodNullable<z.ZodString>;
3582
- phone: z.ZodNullable<z.ZodString>;
3583
- notificationCount: z.ZodNullable<z.ZodNumber>;
3584
- roles: z.ZodArray<z.ZodObject<{
3585
- id: z.ZodString;
3586
- createdAt: z.ZodDate;
3587
- updatedAt: z.ZodDate;
3588
- deletedAt: z.ZodNullable<z.ZodDate>;
3589
- systemName: z.ZodString;
3590
- displayName: z.ZodString;
3591
- description: z.ZodNullable<z.ZodString>;
3592
- permissions: z.ZodArray<z.ZodObject<{
3593
- id: z.ZodString;
3594
- createdAt: z.ZodDate;
3595
- updatedAt: z.ZodDate;
3596
- deletedAt: z.ZodNullable<z.ZodDate>;
3597
- systemName: z.ZodString;
3598
- displayName: z.ZodString;
3599
- description: z.ZodNullable<z.ZodString>;
3600
- }, "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, {
3601
3550
  id: string;
3602
3551
  description: string | null;
3603
3552
  createdAt: Date;
@@ -3614,7 +3563,7 @@ export declare const messengerContract: {
3614
3563
  systemName: string;
3615
3564
  displayName: string;
3616
3565
  }>, "many">;
3617
- }, "strip", z.ZodTypeAny, {
3566
+ }, "strip", import("zod").ZodTypeAny, {
3618
3567
  id: string;
3619
3568
  description: string | null;
3620
3569
  createdAt: Date;
@@ -3649,18 +3598,18 @@ export declare const messengerContract: {
3649
3598
  displayName: string;
3650
3599
  }[];
3651
3600
  }>, "many">;
3652
- extension: z.ZodOptional<z.ZodObject<{
3653
- id: z.ZodString;
3654
- createdAt: z.ZodDate;
3655
- updatedAt: z.ZodDate;
3656
- deletedAt: z.ZodNullable<z.ZodDate>;
3657
- userId: z.ZodNullable<z.ZodString>;
3658
- sipServerUrl: z.ZodString;
3659
- sipUserName: z.ZodString;
3660
- extensionId: z.ZodNumber;
3661
- extensionName: z.ZodString;
3662
- telephonySignature: z.ZodNullable<z.ZodString>;
3663
- }, "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, {
3664
3613
  id: string;
3665
3614
  createdAt: Date;
3666
3615
  updatedAt: Date;
@@ -3683,7 +3632,7 @@ export declare const messengerContract: {
3683
3632
  extensionName: string;
3684
3633
  telephonySignature: string | null;
3685
3634
  }>>;
3686
- }, "strip", z.ZodTypeAny, {
3635
+ }, "strip", import("zod").ZodTypeAny, {
3687
3636
  id: string;
3688
3637
  address: string | null;
3689
3638
  name: string;
@@ -3768,8 +3717,8 @@ export declare const messengerContract: {
3768
3717
  telephonySignature: string | null;
3769
3718
  } | undefined;
3770
3719
  }>;
3771
- }, "strip", z.ZodTypeAny, {
3772
- 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";
3773
3722
  message: string;
3774
3723
  id: string;
3775
3724
  url: string;
@@ -4241,7 +4190,7 @@ export declare const messengerContract: {
4241
4190
  metadata?: any;
4242
4191
  template?: any;
4243
4192
  }, {
4244
- 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";
4245
4194
  message: string;
4246
4195
  id: string;
4247
4196
  url: string;
@@ -4713,9 +4662,9 @@ export declare const messengerContract: {
4713
4662
  metadata?: any;
4714
4663
  template?: any;
4715
4664
  }>;
4716
- }, "strip", z.ZodTypeAny, {
4665
+ }, "strip", import("zod").ZodTypeAny, {
4717
4666
  data: {
4718
- 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";
4719
4668
  message: string;
4720
4669
  id: string;
4721
4670
  url: string;
@@ -5190,7 +5139,7 @@ export declare const messengerContract: {
5190
5139
  requestId: string;
5191
5140
  }, {
5192
5141
  data: {
5193
- 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";
5194
5143
  message: string;
5195
5144
  id: string;
5196
5145
  url: string;
@@ -5664,10 +5613,10 @@ export declare const messengerContract: {
5664
5613
  };
5665
5614
  requestId: string;
5666
5615
  }>;
5667
- 500: z.ZodObject<{
5668
- message: z.ZodString;
5669
- error: z.ZodAny;
5670
- }, "strip", z.ZodTypeAny, {
5616
+ 500: import("zod").ZodObject<{
5617
+ message: import("zod").ZodString;
5618
+ error: import("zod").ZodAny;
5619
+ }, "strip", import("zod").ZodTypeAny, {
5671
5620
  message: string;
5672
5621
  error?: any;
5673
5622
  }, {
@@ -5678,15 +5627,15 @@ export declare const messengerContract: {
5678
5627
  path: "/message";
5679
5628
  };
5680
5629
  connectToService: {
5681
- body: z.ZodObject<{
5682
- name: z.ZodOptional<z.ZodString>;
5683
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
5684
- metadata: z.ZodOptional<z.ZodObject<{
5685
- id: z.ZodString;
5686
- name: z.ZodString;
5687
- accessToken: z.ZodString;
5688
- additionalCredentials: z.ZodOptional<z.ZodAny>;
5689
- }, "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, {
5690
5639
  id: string;
5691
5640
  name: string;
5692
5641
  accessToken: string;
@@ -5696,325 +5645,57 @@ export declare const messengerContract: {
5696
5645
  name: string;
5697
5646
  accessToken: string;
5698
5647
  additionalCredentials?: any;
5699
- }>>;
5700
- platformId: z.ZodOptional<z.ZodString>;
5701
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
5702
- connectedUserName: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
5703
- connectedUserId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
5704
- actor: z.ZodOptional<z.ZodObject<{
5705
- id: z.ZodString;
5706
- name: z.ZodString;
5707
- email: z.ZodString;
5708
- address: z.ZodNullable<z.ZodString>;
5709
- phone: z.ZodNullable<z.ZodString>;
5710
- }, "strip", z.ZodTypeAny, {
5711
- id: string;
5712
- address: string | null;
5713
- name: string;
5714
- email: string;
5715
- phone: string | null;
5716
- }, {
5717
- id: string;
5718
- address: string | null;
5719
- name: string;
5720
- email: string;
5721
- phone: string | null;
5722
- }>>;
5723
- }, "strip", z.ZodTypeAny, {
5724
- name?: string | undefined;
5725
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5726
- metadata?: {
5727
- id: string;
5728
- name: string;
5729
- accessToken: string;
5730
- additionalCredentials?: any;
5731
- } | undefined;
5732
- platformId?: string | undefined;
5733
- status?: boolean | undefined;
5734
- connectedUserName?: string | null | undefined;
5735
- connectedUserId?: string | null | undefined;
5736
- actor?: {
5737
- id: string;
5738
- address: string | null;
5739
- name: string;
5740
- email: string;
5741
- phone: string | null;
5742
- } | undefined;
5743
- }, {
5744
- name?: string | undefined;
5745
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5746
- metadata?: {
5747
- id: string;
5748
- name: string;
5749
- accessToken: string;
5750
- additionalCredentials?: any;
5751
- } | undefined;
5752
- platformId?: string | undefined;
5753
- status?: boolean | undefined;
5754
- connectedUserName?: string | null | undefined;
5755
- connectedUserId?: string | null | undefined;
5756
- actor?: {
5757
- id: string;
5758
- address: string | null;
5759
- name: string;
5760
- email: string;
5761
- phone: string | null;
5762
- } | undefined;
5763
- }>;
5764
- method: "POST";
5765
- responses: {
5766
- 200: z.ZodObject<{
5767
- requestId: z.ZodString;
5768
- data: z.ZodObject<{
5769
- name: z.ZodString;
5770
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
5771
- metadata: z.ZodObject<{
5772
- id: z.ZodString;
5773
- name: z.ZodString;
5774
- accessToken: z.ZodString;
5775
- additionalCredentials: z.ZodOptional<z.ZodAny>;
5776
- }, "strip", z.ZodTypeAny, {
5777
- id: string;
5778
- name: string;
5779
- accessToken: string;
5780
- additionalCredentials?: any;
5781
- }, {
5782
- id: string;
5783
- name: string;
5784
- accessToken: string;
5785
- additionalCredentials?: any;
5786
- }>;
5787
- platformId: z.ZodString;
5788
- status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
5789
- connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5790
- connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5791
- actor: z.ZodObject<{
5792
- id: z.ZodString;
5793
- name: z.ZodString;
5794
- email: z.ZodString;
5795
- address: z.ZodNullable<z.ZodString>;
5796
- phone: z.ZodNullable<z.ZodString>;
5797
- }, "strip", z.ZodTypeAny, {
5798
- id: string;
5799
- address: string | null;
5800
- name: string;
5801
- email: string;
5802
- phone: string | null;
5803
- }, {
5804
- id: string;
5805
- address: string | null;
5806
- name: string;
5807
- email: string;
5808
- phone: string | null;
5809
- }>;
5810
- }, "strip", z.ZodTypeAny, {
5811
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5812
- name: string;
5813
- metadata: {
5814
- id: string;
5815
- name: string;
5816
- accessToken: string;
5817
- additionalCredentials?: any;
5818
- };
5819
- status: boolean;
5820
- platformId: string;
5821
- actor: {
5822
- id: string;
5823
- address: string | null;
5824
- name: string;
5825
- email: string;
5826
- phone: string | null;
5827
- };
5828
- connectedUserName?: string | null | undefined;
5829
- connectedUserId?: string | null | undefined;
5830
- }, {
5831
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5832
- name: string;
5833
- metadata: {
5834
- id: string;
5835
- name: string;
5836
- accessToken: string;
5837
- additionalCredentials?: any;
5838
- };
5839
- status: boolean;
5840
- platformId: string;
5841
- actor: {
5842
- id: string;
5843
- address: string | null;
5844
- name: string;
5845
- email: string;
5846
- phone: string | null;
5847
- };
5848
- connectedUserName?: string | null | undefined;
5849
- connectedUserId?: string | null | undefined;
5850
- }>;
5851
- }, "strip", z.ZodTypeAny, {
5852
- data: {
5853
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5854
- name: string;
5855
- metadata: {
5856
- id: string;
5857
- name: string;
5858
- accessToken: string;
5859
- additionalCredentials?: any;
5860
- };
5861
- status: boolean;
5862
- platformId: string;
5863
- actor: {
5864
- id: string;
5865
- address: string | null;
5866
- name: string;
5867
- email: string;
5868
- phone: string | null;
5869
- };
5870
- connectedUserName?: string | null | undefined;
5871
- connectedUserId?: string | null | undefined;
5872
- };
5873
- requestId: string;
5874
- }, {
5875
- data: {
5876
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5877
- name: string;
5878
- metadata: {
5879
- id: string;
5880
- name: string;
5881
- accessToken: string;
5882
- additionalCredentials?: any;
5883
- };
5884
- status: boolean;
5885
- platformId: string;
5886
- actor: {
5887
- id: string;
5888
- address: string | null;
5889
- name: string;
5890
- email: string;
5891
- phone: string | null;
5892
- };
5893
- connectedUserName?: string | null | undefined;
5894
- connectedUserId?: string | null | undefined;
5895
- };
5896
- requestId: string;
5897
- }>;
5898
- 500: z.ZodObject<{
5899
- message: z.ZodString;
5900
- error: z.ZodAny;
5901
- }, "strip", z.ZodTypeAny, {
5902
- message: string;
5903
- error?: any;
5904
- }, {
5905
- message: string;
5906
- error?: any;
5907
- }>;
5908
- 400: z.ZodObject<{
5909
- message: z.ZodString;
5910
- error: z.ZodAny;
5911
- }, "strip", z.ZodTypeAny, {
5912
- message: string;
5913
- error?: any;
5914
- }, {
5915
- message: string;
5916
- error?: any;
5917
5648
  }>;
5918
- };
5919
- path: "/connect";
5920
- };
5921
- disconnectToService: {
5922
- body: z.ZodObject<{
5923
- name: z.ZodOptional<z.ZodString>;
5924
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
5925
- metadata: z.ZodOptional<z.ZodObject<{
5926
- id: z.ZodString;
5927
- name: z.ZodString;
5928
- accessToken: z.ZodString;
5929
- additionalCredentials: z.ZodOptional<z.ZodAny>;
5930
- }, "strip", z.ZodTypeAny, {
5931
- id: string;
5932
- name: string;
5933
- accessToken: string;
5934
- additionalCredentials?: any;
5935
- }, {
5936
- id: string;
5937
- name: string;
5938
- accessToken: string;
5939
- additionalCredentials?: any;
5940
- }>>;
5941
- platformId: z.ZodOptional<z.ZodString>;
5942
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
5943
- connectedUserName: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
5944
- connectedUserId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
5945
- actor: z.ZodOptional<z.ZodObject<{
5946
- id: z.ZodString;
5947
- name: z.ZodString;
5948
- email: z.ZodString;
5949
- address: z.ZodNullable<z.ZodString>;
5950
- phone: z.ZodNullable<z.ZodString>;
5951
- }, "strip", z.ZodTypeAny, {
5952
- id: string;
5953
- address: string | null;
5954
- name: string;
5955
- email: string;
5956
- phone: string | null;
5957
- }, {
5958
- id: string;
5959
- address: string | null;
5960
- name: string;
5961
- email: string;
5962
- phone: string | null;
5963
- }>>;
5964
- }, "strip", z.ZodTypeAny, {
5965
- name?: string | undefined;
5966
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5967
- metadata?: {
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: {
5968
5659
  id: string;
5969
5660
  name: string;
5970
5661
  accessToken: string;
5971
5662
  additionalCredentials?: any;
5972
- } | undefined;
5973
- platformId?: string | undefined;
5974
- status?: boolean | undefined;
5663
+ };
5664
+ status: boolean;
5665
+ brandName: string;
5666
+ platformId: string;
5667
+ isReloginRequired: boolean;
5975
5668
  connectedUserName?: string | null | undefined;
5976
5669
  connectedUserId?: string | null | undefined;
5977
- actor?: {
5978
- id: string;
5979
- address: string | null;
5980
- name: string;
5981
- email: string;
5982
- phone: string | null;
5983
- } | undefined;
5984
5670
  }, {
5985
- name?: string | undefined;
5986
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5987
- metadata?: {
5671
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5672
+ name: string;
5673
+ metadata: {
5988
5674
  id: string;
5989
5675
  name: string;
5990
5676
  accessToken: string;
5991
5677
  additionalCredentials?: any;
5992
- } | undefined;
5993
- platformId?: string | undefined;
5994
- status?: boolean | undefined;
5678
+ };
5679
+ status: boolean;
5680
+ brandName: string;
5681
+ platformId: string;
5682
+ isReloginRequired: boolean;
5995
5683
  connectedUserName?: string | null | undefined;
5996
5684
  connectedUserId?: string | null | undefined;
5997
- actor?: {
5998
- id: string;
5999
- address: string | null;
6000
- name: string;
6001
- email: string;
6002
- phone: string | null;
6003
- } | undefined;
6004
5685
  }>;
6005
5686
  method: "POST";
6006
5687
  responses: {
6007
- 200: z.ZodObject<{
6008
- requestId: z.ZodString;
6009
- data: z.ZodObject<{
6010
- name: z.ZodString;
6011
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
6012
- metadata: z.ZodObject<{
6013
- id: z.ZodString;
6014
- name: z.ZodString;
6015
- accessToken: z.ZodString;
6016
- additionalCredentials: z.ZodOptional<z.ZodAny>;
6017
- }, "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, {
6018
5699
  id: string;
6019
5700
  name: string;
6020
5701
  accessToken: string;
@@ -6025,30 +5706,13 @@ export declare const messengerContract: {
6025
5706
  accessToken: string;
6026
5707
  additionalCredentials?: any;
6027
5708
  }>;
6028
- platformId: z.ZodString;
6029
- status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
6030
- connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6031
- connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6032
- actor: z.ZodObject<{
6033
- id: z.ZodString;
6034
- name: z.ZodString;
6035
- email: z.ZodString;
6036
- address: z.ZodNullable<z.ZodString>;
6037
- phone: z.ZodNullable<z.ZodString>;
6038
- }, "strip", z.ZodTypeAny, {
6039
- id: string;
6040
- address: string | null;
6041
- name: string;
6042
- email: string;
6043
- phone: string | null;
6044
- }, {
6045
- id: string;
6046
- address: string | null;
6047
- name: string;
6048
- email: string;
6049
- phone: string | null;
6050
- }>;
6051
- }, "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, {
6052
5716
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
6053
5717
  name: string;
6054
5718
  metadata: {
@@ -6058,14 +5722,9 @@ export declare const messengerContract: {
6058
5722
  additionalCredentials?: any;
6059
5723
  };
6060
5724
  status: boolean;
5725
+ brandName: string;
6061
5726
  platformId: string;
6062
- actor: {
6063
- id: string;
6064
- address: string | null;
6065
- name: string;
6066
- email: string;
6067
- phone: string | null;
6068
- };
5727
+ isReloginRequired: boolean;
6069
5728
  connectedUserName?: string | null | undefined;
6070
5729
  connectedUserId?: string | null | undefined;
6071
5730
  }, {
@@ -6078,18 +5737,13 @@ export declare const messengerContract: {
6078
5737
  additionalCredentials?: any;
6079
5738
  };
6080
5739
  status: boolean;
5740
+ brandName: string;
6081
5741
  platformId: string;
6082
- actor: {
6083
- id: string;
6084
- address: string | null;
6085
- name: string;
6086
- email: string;
6087
- phone: string | null;
6088
- };
5742
+ isReloginRequired: boolean;
6089
5743
  connectedUserName?: string | null | undefined;
6090
5744
  connectedUserId?: string | null | undefined;
6091
5745
  }>;
6092
- }, "strip", z.ZodTypeAny, {
5746
+ }, "strip", import("zod").ZodTypeAny, {
6093
5747
  data: {
6094
5748
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
6095
5749
  name: string;
@@ -6100,14 +5754,9 @@ export declare const messengerContract: {
6100
5754
  additionalCredentials?: any;
6101
5755
  };
6102
5756
  status: boolean;
5757
+ brandName: string;
6103
5758
  platformId: string;
6104
- actor: {
6105
- id: string;
6106
- address: string | null;
6107
- name: string;
6108
- email: string;
6109
- phone: string | null;
6110
- };
5759
+ isReloginRequired: boolean;
6111
5760
  connectedUserName?: string | null | undefined;
6112
5761
  connectedUserId?: string | null | undefined;
6113
5762
  };
@@ -6123,33 +5772,28 @@ export declare const messengerContract: {
6123
5772
  additionalCredentials?: any;
6124
5773
  };
6125
5774
  status: boolean;
5775
+ brandName: string;
6126
5776
  platformId: string;
6127
- actor: {
6128
- id: string;
6129
- address: string | null;
6130
- name: string;
6131
- email: string;
6132
- phone: string | null;
6133
- };
5777
+ isReloginRequired: boolean;
6134
5778
  connectedUserName?: string | null | undefined;
6135
5779
  connectedUserId?: string | null | undefined;
6136
5780
  };
6137
5781
  requestId: string;
6138
5782
  }>;
6139
- 500: z.ZodObject<{
6140
- message: z.ZodString;
6141
- error: z.ZodAny;
6142
- }, "strip", z.ZodTypeAny, {
5783
+ 500: import("zod").ZodObject<{
5784
+ message: import("zod").ZodString;
5785
+ error: import("zod").ZodAny;
5786
+ }, "strip", import("zod").ZodTypeAny, {
6143
5787
  message: string;
6144
5788
  error?: any;
6145
5789
  }, {
6146
5790
  message: string;
6147
5791
  error?: any;
6148
5792
  }>;
6149
- 400: z.ZodObject<{
6150
- message: z.ZodString;
6151
- error: z.ZodAny;
6152
- }, "strip", z.ZodTypeAny, {
5793
+ 400: import("zod").ZodObject<{
5794
+ message: import("zod").ZodString;
5795
+ error: import("zod").ZodAny;
5796
+ }, "strip", import("zod").ZodTypeAny, {
6153
5797
  message: string;
6154
5798
  error?: any;
6155
5799
  }, {
@@ -6157,133 +5801,7 @@ export declare const messengerContract: {
6157
5801
  error?: any;
6158
5802
  }>;
6159
5803
  };
6160
- path: "/disconnect";
6161
- };
6162
- getFacebookPages: {
6163
- method: "GET";
6164
- query: z.ZodObject<{
6165
- accessToken: z.ZodString;
6166
- userId: z.ZodString;
6167
- }, "strip", z.ZodTypeAny, {
6168
- userId: string;
6169
- accessToken: string;
6170
- }, {
6171
- userId: string;
6172
- accessToken: string;
6173
- }>;
6174
- responses: {
6175
- 200: z.ZodObject<{
6176
- requestId: z.ZodString;
6177
- data: z.ZodArray<z.ZodObject<{
6178
- access_token: z.ZodString;
6179
- category: z.ZodString;
6180
- category_list: z.ZodArray<z.ZodObject<{
6181
- id: z.ZodString;
6182
- name: z.ZodString;
6183
- }, "strip", z.ZodTypeAny, {
6184
- id: string;
6185
- name: string;
6186
- }, {
6187
- id: string;
6188
- name: string;
6189
- }>, "many">;
6190
- id: z.ZodString;
6191
- name: z.ZodString;
6192
- tasks: z.ZodArray<z.ZodString, "many">;
6193
- }, "strip", z.ZodTypeAny, {
6194
- id: string;
6195
- name: string;
6196
- category: string;
6197
- access_token: string;
6198
- category_list: {
6199
- id: string;
6200
- name: string;
6201
- }[];
6202
- tasks: string[];
6203
- }, {
6204
- id: string;
6205
- name: string;
6206
- category: string;
6207
- access_token: string;
6208
- category_list: {
6209
- id: string;
6210
- name: string;
6211
- }[];
6212
- tasks: string[];
6213
- }>, "many">;
6214
- paging: z.ZodOptional<z.ZodObject<{
6215
- cursors: z.ZodObject<{
6216
- before: z.ZodOptional<z.ZodString>;
6217
- after: z.ZodOptional<z.ZodString>;
6218
- }, "strip", z.ZodTypeAny, {
6219
- before?: string | undefined;
6220
- after?: string | undefined;
6221
- }, {
6222
- before?: string | undefined;
6223
- after?: string | undefined;
6224
- }>;
6225
- }, "strip", z.ZodTypeAny, {
6226
- cursors: {
6227
- before?: string | undefined;
6228
- after?: string | undefined;
6229
- };
6230
- }, {
6231
- cursors: {
6232
- before?: string | undefined;
6233
- after?: string | undefined;
6234
- };
6235
- }>>;
6236
- }, "strip", z.ZodTypeAny, {
6237
- data: {
6238
- id: string;
6239
- name: string;
6240
- category: string;
6241
- access_token: string;
6242
- category_list: {
6243
- id: string;
6244
- name: string;
6245
- }[];
6246
- tasks: string[];
6247
- }[];
6248
- requestId: string;
6249
- paging?: {
6250
- cursors: {
6251
- before?: string | undefined;
6252
- after?: string | undefined;
6253
- };
6254
- } | undefined;
6255
- }, {
6256
- data: {
6257
- id: string;
6258
- name: string;
6259
- category: string;
6260
- access_token: string;
6261
- category_list: {
6262
- id: string;
6263
- name: string;
6264
- }[];
6265
- tasks: string[];
6266
- }[];
6267
- requestId: string;
6268
- paging?: {
6269
- cursors: {
6270
- before?: string | undefined;
6271
- after?: string | undefined;
6272
- };
6273
- } | undefined;
6274
- }>;
6275
- 500: z.ZodObject<{
6276
- message: z.ZodString;
6277
- error: z.ZodAny;
6278
- }, "strip", z.ZodTypeAny, {
6279
- message: string;
6280
- error?: any;
6281
- }, {
6282
- message: string;
6283
- error?: any;
6284
- }>;
6285
- };
6286
- path: "/pages";
5804
+ path: "/connect";
6287
5805
  };
6288
5806
  };
6289
5807
  //# sourceMappingURL=index.d.ts.map