@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.
- package/dist/index.js +1649 -1713
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1647 -1711
- package/dist/index.mjs.map +1 -1
- package/dist/src/app/index.d.ts +17 -0
- package/dist/src/app/index.d.ts.map +1 -0
- package/dist/src/channel/index.d.ts +20 -200
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +12 -6
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +32 -32
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +4 -4
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +57 -168
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/company/index.d.ts +5 -8
- package/dist/src/company/index.d.ts.map +1 -1
- package/dist/src/company/schema.d.ts +0 -137
- package/dist/src/company/schema.d.ts.map +1 -1
- package/dist/src/contact/index.d.ts +1103 -1103
- package/dist/src/contract.d.ts +1835 -2012
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/dashboard/index.d.ts +7 -11
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +2 -127
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -3
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +42 -42
- package/dist/src/mail/mail-server.d.ts +216 -0
- package/dist/src/mail/mail-server.d.ts.map +1 -0
- package/dist/src/mail/room-contract.d.ts +42 -42
- package/dist/src/mail/schemas/room-validation.schema.d.ts +14 -14
- package/dist/src/mail/schemas/room.schema.d.ts +10 -10
- package/dist/src/messenger/index.d.ts +703 -1185
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +1 -108
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/platform-contact/schema.d.ts +30 -0
- package/dist/src/platform-contact/schema.d.ts.map +1 -0
- package/dist/src/telephony-cdr/index.d.ts +458 -1
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/validation.d.ts +74 -0
- package/dist/src/telephony-cdr/validation.d.ts.map +1 -1
- package/dist/src/ticket/index.d.ts +342 -207
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/validation.d.ts +338 -168
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/dist/src/widget/index.d.ts +1 -72
- package/dist/src/widget/index.d.ts.map +1 -1
- package/dist/src/widget/validation.d.ts +0 -10
- package/dist/src/widget/validation.d.ts.map +1 -1
- 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:
|
8
|
-
room:
|
9
|
-
id:
|
10
|
-
lastMessage:
|
11
|
-
handleTime:
|
12
|
-
isLatest:
|
13
|
-
direction:
|
14
|
-
platformContact:
|
15
|
-
channelId:
|
16
|
-
socialPlatformId:
|
17
|
-
type:
|
18
|
-
metadata:
|
19
|
-
id:
|
20
|
-
name:
|
21
|
-
picture:
|
22
|
-
additionalCredentials:
|
23
|
-
}, "strip",
|
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:
|
35
|
-
name:
|
36
|
-
address:
|
37
|
-
channel:
|
38
|
-
notes:
|
39
|
-
contactProfile:
|
40
|
-
socialProfileUrl:
|
41
|
-
}, "strip",
|
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",
|
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:
|
94
|
-
name:
|
95
|
-
email:
|
96
|
-
address:
|
97
|
-
phone:
|
98
|
-
}, "strip",
|
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:
|
110
|
-
name:
|
111
|
-
type:
|
112
|
-
metadata:
|
113
|
-
id:
|
114
|
-
name:
|
115
|
-
accessToken:
|
116
|
-
additionalCredentials:
|
117
|
-
}, "strip",
|
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
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
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
|
-
|
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
|
-
|
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",
|
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
|
-
|
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
|
-
|
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:
|
298
|
-
message:
|
299
|
-
direction:
|
300
|
-
type:
|
301
|
-
readAt:
|
302
|
-
metadata:
|
303
|
-
platformId:
|
304
|
-
platformMessageId:
|
305
|
-
replyPlatformMessageId:
|
306
|
-
template:
|
307
|
-
locale:
|
308
|
-
url:
|
309
|
-
previewUrl:
|
310
|
-
imageSetId:
|
311
|
-
upload:
|
312
|
-
id:
|
313
|
-
createdAt:
|
314
|
-
updatedAt:
|
315
|
-
deletedAt:
|
316
|
-
bucketName:
|
317
|
-
fileName:
|
318
|
-
fileSize:
|
319
|
-
fileKey:
|
320
|
-
}, "strip",
|
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:
|
340
|
-
name:
|
341
|
-
email:
|
342
|
-
address:
|
343
|
-
phone:
|
344
|
-
}, "strip",
|
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",
|
356
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
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" | "
|
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",
|
375
|
+
}, "strip", import("zod").ZodTypeAny, {
|
417
376
|
message: {
|
418
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
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
|
-
|
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" | "
|
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
|
-
|
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:
|
590
|
-
requestId:
|
591
|
-
data:
|
592
|
-
id:
|
593
|
-
createdAt:
|
594
|
-
updatedAt:
|
595
|
-
deletedAt:
|
596
|
-
message:
|
597
|
-
direction:
|
598
|
-
type:
|
599
|
-
readAt:
|
600
|
-
metadata:
|
601
|
-
platformId:
|
602
|
-
platformMessageId:
|
603
|
-
replyPlatformMessageId:
|
604
|
-
template:
|
605
|
-
locale:
|
606
|
-
url:
|
607
|
-
previewUrl:
|
608
|
-
imageSetId:
|
609
|
-
room:
|
610
|
-
id:
|
611
|
-
createdAt:
|
612
|
-
updatedAt:
|
613
|
-
deletedAt:
|
614
|
-
lastMessage:
|
615
|
-
handleTime:
|
616
|
-
closeAt:
|
617
|
-
unreadCount:
|
618
|
-
firstResponseAt:
|
619
|
-
firstResponseTime:
|
620
|
-
isLatest:
|
621
|
-
direction:
|
622
|
-
platformContact:
|
623
|
-
id:
|
624
|
-
createdAt:
|
625
|
-
updatedAt:
|
626
|
-
deletedAt:
|
627
|
-
channelId:
|
628
|
-
socialPlatformId:
|
629
|
-
type:
|
630
|
-
metadata:
|
631
|
-
id:
|
632
|
-
name:
|
633
|
-
picture:
|
634
|
-
additionalCredentials:
|
635
|
-
}, "strip",
|
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:
|
647
|
-
id:
|
648
|
-
createdAt:
|
649
|
-
updatedAt:
|
650
|
-
deletedAt:
|
651
|
-
name:
|
652
|
-
address:
|
653
|
-
channel:
|
654
|
-
notes:
|
655
|
-
contactProfile:
|
656
|
-
socialProfileUrl:
|
657
|
-
tags:
|
658
|
-
id:
|
659
|
-
createdAt:
|
660
|
-
updatedAt:
|
661
|
-
deletedAt:
|
662
|
-
name:
|
663
|
-
}, "strip",
|
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:
|
677
|
-
id:
|
678
|
-
createdAt:
|
679
|
-
updatedAt:
|
680
|
-
deletedAt:
|
681
|
-
name:
|
682
|
-
phone:
|
683
|
-
address:
|
684
|
-
industry:
|
685
|
-
customFields:
|
686
|
-
id:
|
687
|
-
createdAt:
|
688
|
-
updatedAt:
|
689
|
-
deletedAt:
|
690
|
-
textValue:
|
691
|
-
booleanValue:
|
692
|
-
numberValue:
|
693
|
-
dateValue:
|
694
|
-
attribute:
|
695
|
-
id:
|
696
|
-
createdAt:
|
697
|
-
updatedAt:
|
698
|
-
deletedAt:
|
699
|
-
systemName:
|
700
|
-
displayName:
|
701
|
-
type:
|
702
|
-
position:
|
703
|
-
isDefault:
|
704
|
-
isArchived:
|
705
|
-
isRequired:
|
706
|
-
isUnique:
|
707
|
-
options:
|
708
|
-
position:
|
709
|
-
value:
|
710
|
-
label:
|
711
|
-
isDefault:
|
712
|
-
id:
|
713
|
-
}, "strip",
|
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:
|
727
|
-
id:
|
728
|
-
createdAt:
|
729
|
-
updatedAt:
|
730
|
-
deletedAt:
|
731
|
-
systemName:
|
732
|
-
displayName:
|
733
|
-
}, "strip",
|
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",
|
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",
|
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",
|
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:
|
842
|
-
id:
|
843
|
-
createdAt:
|
844
|
-
updatedAt:
|
845
|
-
deletedAt:
|
846
|
-
textValue:
|
847
|
-
booleanValue:
|
848
|
-
numberValue:
|
849
|
-
dateValue:
|
850
|
-
attribute:
|
851
|
-
id:
|
852
|
-
createdAt:
|
853
|
-
updatedAt:
|
854
|
-
deletedAt:
|
855
|
-
systemName:
|
856
|
-
displayName:
|
857
|
-
type:
|
858
|
-
position:
|
859
|
-
isDefault:
|
860
|
-
isArchived:
|
861
|
-
isRequired:
|
862
|
-
isUnique:
|
863
|
-
options:
|
864
|
-
position:
|
865
|
-
value:
|
866
|
-
label:
|
867
|
-
isDefault:
|
868
|
-
id:
|
869
|
-
}, "strip",
|
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:
|
883
|
-
id:
|
884
|
-
createdAt:
|
885
|
-
updatedAt:
|
886
|
-
deletedAt:
|
887
|
-
systemName:
|
888
|
-
displayName:
|
889
|
-
}, "strip",
|
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",
|
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:
|
932
|
-
id:
|
933
|
-
createdAt:
|
934
|
-
updatedAt:
|
935
|
-
deletedAt:
|
936
|
-
customFieldId:
|
937
|
-
upload:
|
938
|
-
id:
|
939
|
-
createdAt:
|
940
|
-
updatedAt:
|
941
|
-
deletedAt:
|
942
|
-
bucketName:
|
943
|
-
fileName:
|
944
|
-
fileSize:
|
945
|
-
fileKey:
|
946
|
-
}, "strip",
|
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",
|
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",
|
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:
|
1080
|
-
id:
|
1081
|
-
createdAt:
|
1082
|
-
updatedAt:
|
1083
|
-
deletedAt:
|
1084
|
-
email:
|
1085
|
-
isPrimary:
|
1086
|
-
}, "strip",
|
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:
|
1102
|
-
id:
|
1103
|
-
createdAt:
|
1104
|
-
updatedAt:
|
1105
|
-
deletedAt:
|
1106
|
-
phone:
|
1107
|
-
isPrimary:
|
1108
|
-
}, "strip",
|
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:
|
1124
|
-
id:
|
1125
|
-
createdAt:
|
1126
|
-
updatedAt:
|
1127
|
-
deletedAt:
|
1128
|
-
entityId:
|
1129
|
-
description:
|
1130
|
-
entityType:
|
1131
|
-
id:
|
1132
|
-
createdAt:
|
1133
|
-
updatedAt:
|
1134
|
-
deletedAt:
|
1135
|
-
entity:
|
1136
|
-
description:
|
1137
|
-
}, "strip",
|
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",
|
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",
|
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",
|
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:
|
1620
|
-
id:
|
1621
|
-
createdAt:
|
1622
|
-
updatedAt:
|
1623
|
-
deletedAt:
|
1624
|
-
name:
|
1625
|
-
email:
|
1626
|
-
emailVerifiedAt:
|
1627
|
-
password:
|
1628
|
-
address:
|
1629
|
-
phone:
|
1630
|
-
notificationCount:
|
1631
|
-
roles:
|
1632
|
-
id:
|
1633
|
-
createdAt:
|
1634
|
-
updatedAt:
|
1635
|
-
deletedAt:
|
1636
|
-
systemName:
|
1637
|
-
displayName:
|
1638
|
-
description:
|
1639
|
-
permissions:
|
1640
|
-
id:
|
1641
|
-
createdAt:
|
1642
|
-
updatedAt:
|
1643
|
-
deletedAt:
|
1644
|
-
systemName:
|
1645
|
-
displayName:
|
1646
|
-
description:
|
1647
|
-
}, "strip",
|
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",
|
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:
|
1700
|
-
id:
|
1701
|
-
createdAt:
|
1702
|
-
updatedAt:
|
1703
|
-
deletedAt:
|
1704
|
-
userId:
|
1705
|
-
sipServerUrl:
|
1706
|
-
sipUserName:
|
1707
|
-
extensionId:
|
1708
|
-
extensionName:
|
1709
|
-
telephonySignature:
|
1710
|
-
}, "strip",
|
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",
|
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:
|
1819
|
-
id:
|
1820
|
-
createdAt:
|
1821
|
-
updatedAt:
|
1822
|
-
deletedAt:
|
1823
|
-
name:
|
1824
|
-
email:
|
1825
|
-
emailVerifiedAt:
|
1826
|
-
password:
|
1827
|
-
address:
|
1828
|
-
phone:
|
1829
|
-
notificationCount:
|
1830
|
-
roles:
|
1831
|
-
id:
|
1832
|
-
createdAt:
|
1833
|
-
updatedAt:
|
1834
|
-
deletedAt:
|
1835
|
-
systemName:
|
1836
|
-
displayName:
|
1837
|
-
description:
|
1838
|
-
permissions:
|
1839
|
-
id:
|
1840
|
-
createdAt:
|
1841
|
-
updatedAt:
|
1842
|
-
deletedAt:
|
1843
|
-
systemName:
|
1844
|
-
displayName:
|
1845
|
-
description:
|
1846
|
-
}, "strip",
|
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",
|
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:
|
1899
|
-
id:
|
1900
|
-
createdAt:
|
1901
|
-
updatedAt:
|
1902
|
-
deletedAt:
|
1903
|
-
userId:
|
1904
|
-
sipServerUrl:
|
1905
|
-
sipUserName:
|
1906
|
-
extensionId:
|
1907
|
-
extensionName:
|
1908
|
-
telephonySignature:
|
1909
|
-
}, "strip",
|
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",
|
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:
|
2018
|
-
id:
|
2019
|
-
createdAt:
|
2020
|
-
updatedAt:
|
2021
|
-
deletedAt:
|
2022
|
-
name:
|
2023
|
-
type:
|
2024
|
-
metadata:
|
2025
|
-
id:
|
2026
|
-
name:
|
2027
|
-
accessToken:
|
2028
|
-
additionalCredentials:
|
2029
|
-
}, "strip",
|
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:
|
2041
|
-
platformId:
|
2042
|
-
status:
|
2043
|
-
isReloginRequired:
|
2044
|
-
connectedUserName:
|
2045
|
-
connectedUserId:
|
2046
|
-
actor:
|
2047
|
-
id:
|
2048
|
-
createdAt:
|
2049
|
-
updatedAt:
|
2050
|
-
deletedAt:
|
2051
|
-
name:
|
2052
|
-
email:
|
2053
|
-
emailVerifiedAt:
|
2054
|
-
password:
|
2055
|
-
address:
|
2056
|
-
phone:
|
2057
|
-
notificationCount:
|
2058
|
-
roles:
|
2059
|
-
id:
|
2060
|
-
createdAt:
|
2061
|
-
updatedAt:
|
2062
|
-
deletedAt:
|
2063
|
-
systemName:
|
2064
|
-
displayName:
|
2065
|
-
description:
|
2066
|
-
permissions:
|
2067
|
-
id:
|
2068
|
-
createdAt:
|
2069
|
-
updatedAt:
|
2070
|
-
deletedAt:
|
2071
|
-
systemName:
|
2072
|
-
displayName:
|
2073
|
-
description:
|
2074
|
-
}, "strip",
|
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",
|
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:
|
2127
|
-
id:
|
2128
|
-
createdAt:
|
2129
|
-
updatedAt:
|
2130
|
-
deletedAt:
|
2131
|
-
userId:
|
2132
|
-
sipServerUrl:
|
2133
|
-
sipUserName:
|
2134
|
-
extensionId:
|
2135
|
-
extensionName:
|
2136
|
-
telephonySignature:
|
2137
|
-
}, "strip",
|
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",
|
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",
|
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:
|
2371
|
-
id:
|
2372
|
-
createdAt:
|
2373
|
-
updatedAt:
|
2374
|
-
deletedAt:
|
2375
|
-
caseId:
|
2376
|
-
entityId:
|
2377
|
-
entityName:
|
2378
|
-
contactId:
|
2379
|
-
channel:
|
2380
|
-
queueId:
|
2381
|
-
agentId:
|
2382
|
-
direction:
|
2383
|
-
startedDate:
|
2384
|
-
handledTime:
|
2385
|
-
firstResponseTime:
|
2386
|
-
disposition:
|
2387
|
-
wrapUpForm:
|
2388
|
-
id:
|
2389
|
-
createdAt:
|
2390
|
-
updatedAt:
|
2391
|
-
deletedAt:
|
2392
|
-
note:
|
2393
|
-
disposition:
|
2394
|
-
callFrom:
|
2395
|
-
callTo:
|
2396
|
-
tags:
|
2397
|
-
id:
|
2398
|
-
createdAt:
|
2399
|
-
updatedAt:
|
2400
|
-
deletedAt:
|
2401
|
-
name:
|
2402
|
-
}, "strip",
|
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",
|
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",
|
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",
|
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:
|
3147
|
-
id:
|
3148
|
-
createdAt:
|
3149
|
-
updatedAt:
|
3150
|
-
deletedAt:
|
3151
|
-
bucketName:
|
3152
|
-
fileName:
|
3153
|
-
fileSize:
|
3154
|
-
fileKey:
|
3155
|
-
}, "strip",
|
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:
|
3175
|
-
id:
|
3176
|
-
createdAt:
|
3177
|
-
updatedAt:
|
3178
|
-
deletedAt:
|
3179
|
-
name:
|
3180
|
-
email:
|
3181
|
-
emailVerifiedAt:
|
3182
|
-
password:
|
3183
|
-
address:
|
3184
|
-
phone:
|
3185
|
-
notificationCount:
|
3186
|
-
roles:
|
3187
|
-
id:
|
3188
|
-
createdAt:
|
3189
|
-
updatedAt:
|
3190
|
-
deletedAt:
|
3191
|
-
systemName:
|
3192
|
-
displayName:
|
3193
|
-
description:
|
3194
|
-
permissions:
|
3195
|
-
id:
|
3196
|
-
createdAt:
|
3197
|
-
updatedAt:
|
3198
|
-
deletedAt:
|
3199
|
-
systemName:
|
3200
|
-
displayName:
|
3201
|
-
description:
|
3202
|
-
}, "strip",
|
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",
|
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:
|
3255
|
-
id:
|
3256
|
-
createdAt:
|
3257
|
-
updatedAt:
|
3258
|
-
deletedAt:
|
3259
|
-
userId:
|
3260
|
-
sipServerUrl:
|
3261
|
-
sipUserName:
|
3262
|
-
extensionId:
|
3263
|
-
extensionName:
|
3264
|
-
telephonySignature:
|
3265
|
-
}, "strip",
|
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",
|
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:
|
3374
|
-
id:
|
3375
|
-
createdAt:
|
3376
|
-
updatedAt:
|
3377
|
-
deletedAt:
|
3378
|
-
name:
|
3379
|
-
email:
|
3380
|
-
emailVerifiedAt:
|
3381
|
-
password:
|
3382
|
-
address:
|
3383
|
-
phone:
|
3384
|
-
notificationCount:
|
3385
|
-
roles:
|
3386
|
-
id:
|
3387
|
-
createdAt:
|
3388
|
-
updatedAt:
|
3389
|
-
deletedAt:
|
3390
|
-
systemName:
|
3391
|
-
displayName:
|
3392
|
-
description:
|
3393
|
-
permissions:
|
3394
|
-
id:
|
3395
|
-
createdAt:
|
3396
|
-
updatedAt:
|
3397
|
-
deletedAt:
|
3398
|
-
systemName:
|
3399
|
-
displayName:
|
3400
|
-
description:
|
3401
|
-
}, "strip",
|
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",
|
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:
|
3454
|
-
id:
|
3455
|
-
createdAt:
|
3456
|
-
updatedAt:
|
3457
|
-
deletedAt:
|
3458
|
-
userId:
|
3459
|
-
sipServerUrl:
|
3460
|
-
sipUserName:
|
3461
|
-
extensionId:
|
3462
|
-
extensionName:
|
3463
|
-
telephonySignature:
|
3464
|
-
}, "strip",
|
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",
|
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:
|
3573
|
-
id:
|
3574
|
-
createdAt:
|
3575
|
-
updatedAt:
|
3576
|
-
deletedAt:
|
3577
|
-
name:
|
3578
|
-
email:
|
3579
|
-
emailVerifiedAt:
|
3580
|
-
password:
|
3581
|
-
address:
|
3582
|
-
phone:
|
3583
|
-
notificationCount:
|
3584
|
-
roles:
|
3585
|
-
id:
|
3586
|
-
createdAt:
|
3587
|
-
updatedAt:
|
3588
|
-
deletedAt:
|
3589
|
-
systemName:
|
3590
|
-
displayName:
|
3591
|
-
description:
|
3592
|
-
permissions:
|
3593
|
-
id:
|
3594
|
-
createdAt:
|
3595
|
-
updatedAt:
|
3596
|
-
deletedAt:
|
3597
|
-
systemName:
|
3598
|
-
displayName:
|
3599
|
-
description:
|
3600
|
-
}, "strip",
|
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",
|
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:
|
3653
|
-
id:
|
3654
|
-
createdAt:
|
3655
|
-
updatedAt:
|
3656
|
-
deletedAt:
|
3657
|
-
userId:
|
3658
|
-
sipServerUrl:
|
3659
|
-
sipUserName:
|
3660
|
-
extensionId:
|
3661
|
-
extensionName:
|
3662
|
-
telephonySignature:
|
3663
|
-
}, "strip",
|
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",
|
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",
|
3772
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
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" | "
|
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",
|
4665
|
+
}, "strip", import("zod").ZodTypeAny, {
|
4717
4666
|
data: {
|
4718
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
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" | "
|
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:
|
5668
|
-
message:
|
5669
|
-
error:
|
5670
|
-
}, "strip",
|
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:
|
5682
|
-
name:
|
5683
|
-
type:
|
5684
|
-
metadata:
|
5685
|
-
id:
|
5686
|
-
name:
|
5687
|
-
accessToken:
|
5688
|
-
additionalCredentials:
|
5689
|
-
}, "strip",
|
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
|
-
|
5920
|
-
|
5921
|
-
|
5922
|
-
|
5923
|
-
|
5924
|
-
|
5925
|
-
|
5926
|
-
|
5927
|
-
|
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
|
-
}
|
5973
|
-
|
5974
|
-
|
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
|
-
|
5986
|
-
|
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
|
-
}
|
5993
|
-
|
5994
|
-
|
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:
|
6008
|
-
requestId:
|
6009
|
-
data:
|
6010
|
-
name:
|
6011
|
-
type:
|
6012
|
-
metadata:
|
6013
|
-
id:
|
6014
|
-
name:
|
6015
|
-
accessToken:
|
6016
|
-
additionalCredentials:
|
6017
|
-
}, "strip",
|
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
|
-
|
6029
|
-
|
6030
|
-
|
6031
|
-
|
6032
|
-
|
6033
|
-
|
6034
|
-
|
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
|
-
|
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
|
-
|
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",
|
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
|
-
|
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
|
-
|
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:
|
6140
|
-
message:
|
6141
|
-
error:
|
6142
|
-
}, "strip",
|
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:
|
6150
|
-
message:
|
6151
|
-
error:
|
6152
|
-
}, "strip",
|
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: "/
|
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
|