@kl1/contracts 1.1.22 → 1.1.23
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 +579 -211
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +578 -211
- package/dist/index.mjs.map +1 -1
- package/dist/src/business-calendar/index.d.ts +799 -0
- package/dist/src/business-calendar/index.d.ts.map +1 -0
- package/dist/src/business-calendar/schema.d.ts +172 -0
- package/dist/src/business-calendar/schema.d.ts.map +1 -0
- package/dist/src/business-calendar/validation.d.ts +210 -0
- package/dist/src/business-calendar/validation.d.ts.map +1 -0
- package/dist/src/channel/index.d.ts +725 -611
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +12 -12
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +71 -8
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +5144 -299
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +807 -47
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +1093 -118
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +26553 -6263
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +376 -31
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +577 -27
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +628 -138
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +623 -133
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/line/schema.d.ts.map +1 -1
- package/dist/src/line/validation.d.ts +23 -23
- package/dist/src/line/validation.d.ts.map +1 -1
- package/dist/src/mail/account-contract.d.ts +230 -4
- package/dist/src/mail/account-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +3277 -435
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +58 -1
- package/dist/src/mail/message-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +3009 -450
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +731 -6
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +557 -0
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +628 -138
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +13 -13
- package/dist/src/snippet/index.d.ts +545 -97
- package/dist/src/snippet/index.d.ts.map +1 -1
- package/dist/src/snippet/schema.d.ts +220 -19
- package/dist/src/snippet/schema.d.ts.map +1 -1
- package/dist/src/snippet/validation.d.ts +5 -5
- package/dist/src/viber/index.d.ts +592 -102
- package/dist/src/viber/index.d.ts.map +1 -1
- package/dist/src/webchat/index.d.ts +8506 -0
- package/dist/src/webchat/index.d.ts.map +1 -0
- package/dist/src/webchat/schema.d.ts +95 -0
- package/dist/src/webchat/schema.d.ts.map +1 -0
- package/dist/src/webchat/validation.d.ts +36 -0
- package/dist/src/webchat/validation.d.ts.map +1 -0
- package/dist/src/workflow-rule/index.d.ts +7295 -0
- package/dist/src/workflow-rule/index.d.ts.map +1 -0
- package/dist/src/workflow-rule/schema.d.ts +27 -0
- package/dist/src/workflow-rule/schema.d.ts.map +1 -0
- package/dist/src/wrap-up-form/index.d.ts +1000 -6
- package/dist/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/src/wrap-up-form/schema.d.ts +207 -2
- package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
- package/dist/src/wrap-up-form/validation.d.ts +29 -0
- package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -22,8 +22,7 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
22
22
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
23
23
|
note: z.ZodNullable<z.ZodString>;
|
|
24
24
|
disposition: z.ZodNullable<z.ZodString>;
|
|
25
|
-
|
|
26
|
-
callTo: z.ZodNullable<z.ZodString>;
|
|
25
|
+
type: z.ZodString;
|
|
27
26
|
tags: z.ZodArray<z.ZodObject<{
|
|
28
27
|
id: z.ZodString;
|
|
29
28
|
createdAt: z.ZodDate;
|
|
@@ -43,12 +42,171 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
43
42
|
updatedAt: Date;
|
|
44
43
|
deletedAt: Date | null;
|
|
45
44
|
}>, "many">;
|
|
45
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
46
|
+
id: z.ZodString;
|
|
47
|
+
createdAt: z.ZodDate;
|
|
48
|
+
updatedAt: z.ZodDate;
|
|
49
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
50
|
+
value: z.ZodString;
|
|
51
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
52
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
53
|
+
childCategoryList: z.ZodArray<z.ZodObject<{
|
|
54
|
+
id: z.ZodString;
|
|
55
|
+
value: z.ZodString;
|
|
56
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
57
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
58
|
+
childCategoryList: z.ZodArray<z.ZodObject<{
|
|
59
|
+
id: z.ZodString;
|
|
60
|
+
value: z.ZodString;
|
|
61
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
62
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
63
|
+
childCategoryList: z.ZodArray<z.ZodAny, "many">;
|
|
64
|
+
}, "strip", z.ZodTypeAny, {
|
|
65
|
+
id: string;
|
|
66
|
+
value: string;
|
|
67
|
+
level: 2 | 1 | 3;
|
|
68
|
+
parentId: string | null;
|
|
69
|
+
childCategoryList: any[];
|
|
70
|
+
}, {
|
|
71
|
+
id: string;
|
|
72
|
+
value: string;
|
|
73
|
+
level: 2 | 1 | 3;
|
|
74
|
+
parentId: string | null;
|
|
75
|
+
childCategoryList: any[];
|
|
76
|
+
}>, "many">;
|
|
77
|
+
}, "strip", z.ZodTypeAny, {
|
|
78
|
+
id: string;
|
|
79
|
+
value: string;
|
|
80
|
+
level: 2 | 1 | 3;
|
|
81
|
+
parentId: string | null;
|
|
82
|
+
childCategoryList: {
|
|
83
|
+
id: string;
|
|
84
|
+
value: string;
|
|
85
|
+
level: 2 | 1 | 3;
|
|
86
|
+
parentId: string | null;
|
|
87
|
+
childCategoryList: any[];
|
|
88
|
+
}[];
|
|
89
|
+
}, {
|
|
90
|
+
id: string;
|
|
91
|
+
value: string;
|
|
92
|
+
level: 2 | 1 | 3;
|
|
93
|
+
parentId: string | null;
|
|
94
|
+
childCategoryList: {
|
|
95
|
+
id: string;
|
|
96
|
+
value: string;
|
|
97
|
+
level: 2 | 1 | 3;
|
|
98
|
+
parentId: string | null;
|
|
99
|
+
childCategoryList: any[];
|
|
100
|
+
}[];
|
|
101
|
+
}>, "many">;
|
|
102
|
+
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
id: string;
|
|
104
|
+
value: string;
|
|
105
|
+
createdAt: Date;
|
|
106
|
+
updatedAt: Date;
|
|
107
|
+
deletedAt: Date | null;
|
|
108
|
+
level: 2 | 1 | 3;
|
|
109
|
+
parentId: string | null;
|
|
110
|
+
childCategoryList: {
|
|
111
|
+
id: string;
|
|
112
|
+
value: string;
|
|
113
|
+
level: 2 | 1 | 3;
|
|
114
|
+
parentId: string | null;
|
|
115
|
+
childCategoryList: {
|
|
116
|
+
id: string;
|
|
117
|
+
value: string;
|
|
118
|
+
level: 2 | 1 | 3;
|
|
119
|
+
parentId: string | null;
|
|
120
|
+
childCategoryList: any[];
|
|
121
|
+
}[];
|
|
122
|
+
}[];
|
|
123
|
+
}, {
|
|
124
|
+
id: string;
|
|
125
|
+
value: string;
|
|
126
|
+
createdAt: Date;
|
|
127
|
+
updatedAt: Date;
|
|
128
|
+
deletedAt: Date | null;
|
|
129
|
+
level: 2 | 1 | 3;
|
|
130
|
+
parentId: string | null;
|
|
131
|
+
childCategoryList: {
|
|
132
|
+
id: string;
|
|
133
|
+
value: string;
|
|
134
|
+
level: 2 | 1 | 3;
|
|
135
|
+
parentId: string | null;
|
|
136
|
+
childCategoryList: {
|
|
137
|
+
id: string;
|
|
138
|
+
value: string;
|
|
139
|
+
level: 2 | 1 | 3;
|
|
140
|
+
parentId: string | null;
|
|
141
|
+
childCategoryList: any[];
|
|
142
|
+
}[];
|
|
143
|
+
}[];
|
|
144
|
+
}>, "many">;
|
|
145
|
+
callFrom: z.ZodNullable<z.ZodString>;
|
|
146
|
+
callTo: z.ZodNullable<z.ZodString>;
|
|
147
|
+
customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
148
|
+
id: z.ZodString;
|
|
149
|
+
createdAt: z.ZodDate;
|
|
150
|
+
updatedAt: z.ZodDate;
|
|
151
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
152
|
+
textValue: z.ZodNullable<z.ZodString>;
|
|
153
|
+
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
154
|
+
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
155
|
+
dateValue: z.ZodNullable<z.ZodDate>;
|
|
156
|
+
entityId: z.ZodString;
|
|
157
|
+
attributeId: z.ZodString;
|
|
158
|
+
}, "strip", z.ZodTypeAny, {
|
|
159
|
+
id: string;
|
|
160
|
+
createdAt: Date;
|
|
161
|
+
updatedAt: Date;
|
|
162
|
+
deletedAt: Date | null;
|
|
163
|
+
entityId: string;
|
|
164
|
+
attributeId: string;
|
|
165
|
+
textValue: string | null;
|
|
166
|
+
booleanValue: boolean | null;
|
|
167
|
+
numberValue: number | null;
|
|
168
|
+
dateValue: Date | null;
|
|
169
|
+
}, {
|
|
170
|
+
id: string;
|
|
171
|
+
createdAt: Date;
|
|
172
|
+
updatedAt: Date;
|
|
173
|
+
deletedAt: Date | null;
|
|
174
|
+
entityId: string;
|
|
175
|
+
attributeId: string;
|
|
176
|
+
textValue: string | null;
|
|
177
|
+
booleanValue: boolean | null;
|
|
178
|
+
numberValue: number | null;
|
|
179
|
+
dateValue: Date | null;
|
|
180
|
+
}>, "many">>>;
|
|
46
181
|
}, "strip", z.ZodTypeAny, {
|
|
182
|
+
type: string;
|
|
47
183
|
id: string;
|
|
48
184
|
disposition: string | null;
|
|
49
185
|
createdAt: Date;
|
|
50
186
|
updatedAt: Date;
|
|
51
187
|
deletedAt: Date | null;
|
|
188
|
+
categories: {
|
|
189
|
+
id: string;
|
|
190
|
+
value: string;
|
|
191
|
+
createdAt: Date;
|
|
192
|
+
updatedAt: Date;
|
|
193
|
+
deletedAt: Date | null;
|
|
194
|
+
level: 2 | 1 | 3;
|
|
195
|
+
parentId: string | null;
|
|
196
|
+
childCategoryList: {
|
|
197
|
+
id: string;
|
|
198
|
+
value: string;
|
|
199
|
+
level: 2 | 1 | 3;
|
|
200
|
+
parentId: string | null;
|
|
201
|
+
childCategoryList: {
|
|
202
|
+
id: string;
|
|
203
|
+
value: string;
|
|
204
|
+
level: 2 | 1 | 3;
|
|
205
|
+
parentId: string | null;
|
|
206
|
+
childCategoryList: any[];
|
|
207
|
+
}[];
|
|
208
|
+
}[];
|
|
209
|
+
}[];
|
|
52
210
|
tags: {
|
|
53
211
|
id: string;
|
|
54
212
|
name: string;
|
|
@@ -59,12 +217,47 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
59
217
|
callFrom: string | null;
|
|
60
218
|
callTo: string | null;
|
|
61
219
|
note: string | null;
|
|
220
|
+
customFields?: {
|
|
221
|
+
id: string;
|
|
222
|
+
createdAt: Date;
|
|
223
|
+
updatedAt: Date;
|
|
224
|
+
deletedAt: Date | null;
|
|
225
|
+
entityId: string;
|
|
226
|
+
attributeId: string;
|
|
227
|
+
textValue: string | null;
|
|
228
|
+
booleanValue: boolean | null;
|
|
229
|
+
numberValue: number | null;
|
|
230
|
+
dateValue: Date | null;
|
|
231
|
+
}[] | null | undefined;
|
|
62
232
|
}, {
|
|
233
|
+
type: string;
|
|
63
234
|
id: string;
|
|
64
235
|
disposition: string | null;
|
|
65
236
|
createdAt: Date;
|
|
66
237
|
updatedAt: Date;
|
|
67
238
|
deletedAt: Date | null;
|
|
239
|
+
categories: {
|
|
240
|
+
id: string;
|
|
241
|
+
value: string;
|
|
242
|
+
createdAt: Date;
|
|
243
|
+
updatedAt: Date;
|
|
244
|
+
deletedAt: Date | null;
|
|
245
|
+
level: 2 | 1 | 3;
|
|
246
|
+
parentId: string | null;
|
|
247
|
+
childCategoryList: {
|
|
248
|
+
id: string;
|
|
249
|
+
value: string;
|
|
250
|
+
level: 2 | 1 | 3;
|
|
251
|
+
parentId: string | null;
|
|
252
|
+
childCategoryList: {
|
|
253
|
+
id: string;
|
|
254
|
+
value: string;
|
|
255
|
+
level: 2 | 1 | 3;
|
|
256
|
+
parentId: string | null;
|
|
257
|
+
childCategoryList: any[];
|
|
258
|
+
}[];
|
|
259
|
+
}[];
|
|
260
|
+
}[];
|
|
68
261
|
tags: {
|
|
69
262
|
id: string;
|
|
70
263
|
name: string;
|
|
@@ -75,6 +268,18 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
75
268
|
callFrom: string | null;
|
|
76
269
|
callTo: string | null;
|
|
77
270
|
note: string | null;
|
|
271
|
+
customFields?: {
|
|
272
|
+
id: string;
|
|
273
|
+
createdAt: Date;
|
|
274
|
+
updatedAt: Date;
|
|
275
|
+
deletedAt: Date | null;
|
|
276
|
+
entityId: string;
|
|
277
|
+
attributeId: string;
|
|
278
|
+
textValue: string | null;
|
|
279
|
+
booleanValue: boolean | null;
|
|
280
|
+
numberValue: number | null;
|
|
281
|
+
dateValue: Date | null;
|
|
282
|
+
}[] | null | undefined;
|
|
78
283
|
}>>;
|
|
79
284
|
}, "strip", z.ZodTypeAny, {
|
|
80
285
|
id: string;
|
|
@@ -93,11 +298,34 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
93
298
|
handledTime: number | null;
|
|
94
299
|
firstResponseTime: number | null;
|
|
95
300
|
wrapUpForm: {
|
|
301
|
+
type: string;
|
|
96
302
|
id: string;
|
|
97
303
|
disposition: string | null;
|
|
98
304
|
createdAt: Date;
|
|
99
305
|
updatedAt: Date;
|
|
100
306
|
deletedAt: Date | null;
|
|
307
|
+
categories: {
|
|
308
|
+
id: string;
|
|
309
|
+
value: string;
|
|
310
|
+
createdAt: Date;
|
|
311
|
+
updatedAt: Date;
|
|
312
|
+
deletedAt: Date | null;
|
|
313
|
+
level: 2 | 1 | 3;
|
|
314
|
+
parentId: string | null;
|
|
315
|
+
childCategoryList: {
|
|
316
|
+
id: string;
|
|
317
|
+
value: string;
|
|
318
|
+
level: 2 | 1 | 3;
|
|
319
|
+
parentId: string | null;
|
|
320
|
+
childCategoryList: {
|
|
321
|
+
id: string;
|
|
322
|
+
value: string;
|
|
323
|
+
level: 2 | 1 | 3;
|
|
324
|
+
parentId: string | null;
|
|
325
|
+
childCategoryList: any[];
|
|
326
|
+
}[];
|
|
327
|
+
}[];
|
|
328
|
+
}[];
|
|
101
329
|
tags: {
|
|
102
330
|
id: string;
|
|
103
331
|
name: string;
|
|
@@ -108,6 +336,18 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
108
336
|
callFrom: string | null;
|
|
109
337
|
callTo: string | null;
|
|
110
338
|
note: string | null;
|
|
339
|
+
customFields?: {
|
|
340
|
+
id: string;
|
|
341
|
+
createdAt: Date;
|
|
342
|
+
updatedAt: Date;
|
|
343
|
+
deletedAt: Date | null;
|
|
344
|
+
entityId: string;
|
|
345
|
+
attributeId: string;
|
|
346
|
+
textValue: string | null;
|
|
347
|
+
booleanValue: boolean | null;
|
|
348
|
+
numberValue: number | null;
|
|
349
|
+
dateValue: Date | null;
|
|
350
|
+
}[] | null | undefined;
|
|
111
351
|
} | null;
|
|
112
352
|
}, {
|
|
113
353
|
id: string;
|
|
@@ -126,11 +366,34 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
126
366
|
handledTime: number | null;
|
|
127
367
|
firstResponseTime: number | null;
|
|
128
368
|
wrapUpForm: {
|
|
369
|
+
type: string;
|
|
129
370
|
id: string;
|
|
130
371
|
disposition: string | null;
|
|
131
372
|
createdAt: Date;
|
|
132
373
|
updatedAt: Date;
|
|
133
374
|
deletedAt: Date | null;
|
|
375
|
+
categories: {
|
|
376
|
+
id: string;
|
|
377
|
+
value: string;
|
|
378
|
+
createdAt: Date;
|
|
379
|
+
updatedAt: Date;
|
|
380
|
+
deletedAt: Date | null;
|
|
381
|
+
level: 2 | 1 | 3;
|
|
382
|
+
parentId: string | null;
|
|
383
|
+
childCategoryList: {
|
|
384
|
+
id: string;
|
|
385
|
+
value: string;
|
|
386
|
+
level: 2 | 1 | 3;
|
|
387
|
+
parentId: string | null;
|
|
388
|
+
childCategoryList: {
|
|
389
|
+
id: string;
|
|
390
|
+
value: string;
|
|
391
|
+
level: 2 | 1 | 3;
|
|
392
|
+
parentId: string | null;
|
|
393
|
+
childCategoryList: any[];
|
|
394
|
+
}[];
|
|
395
|
+
}[];
|
|
396
|
+
}[];
|
|
134
397
|
tags: {
|
|
135
398
|
id: string;
|
|
136
399
|
name: string;
|
|
@@ -141,6 +404,18 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
141
404
|
callFrom: string | null;
|
|
142
405
|
callTo: string | null;
|
|
143
406
|
note: string | null;
|
|
407
|
+
customFields?: {
|
|
408
|
+
id: string;
|
|
409
|
+
createdAt: Date;
|
|
410
|
+
updatedAt: Date;
|
|
411
|
+
deletedAt: Date | null;
|
|
412
|
+
entityId: string;
|
|
413
|
+
attributeId: string;
|
|
414
|
+
textValue: string | null;
|
|
415
|
+
booleanValue: boolean | null;
|
|
416
|
+
numberValue: number | null;
|
|
417
|
+
dateValue: Date | null;
|
|
418
|
+
}[] | null | undefined;
|
|
144
419
|
} | null;
|
|
145
420
|
}>;
|
|
146
421
|
export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
@@ -194,8 +469,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
194
469
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
195
470
|
note: z.ZodNullable<z.ZodString>;
|
|
196
471
|
disposition: z.ZodNullable<z.ZodString>;
|
|
197
|
-
|
|
198
|
-
callTo: z.ZodNullable<z.ZodString>;
|
|
472
|
+
type: z.ZodString;
|
|
199
473
|
tags: z.ZodArray<z.ZodObject<{
|
|
200
474
|
id: z.ZodString;
|
|
201
475
|
createdAt: z.ZodDate;
|
|
@@ -215,12 +489,171 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
215
489
|
updatedAt: Date;
|
|
216
490
|
deletedAt: Date | null;
|
|
217
491
|
}>, "many">;
|
|
492
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
493
|
+
id: z.ZodString;
|
|
494
|
+
createdAt: z.ZodDate;
|
|
495
|
+
updatedAt: z.ZodDate;
|
|
496
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
497
|
+
value: z.ZodString;
|
|
498
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
499
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
500
|
+
childCategoryList: z.ZodArray<z.ZodObject<{
|
|
501
|
+
id: z.ZodString;
|
|
502
|
+
value: z.ZodString;
|
|
503
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
504
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
505
|
+
childCategoryList: z.ZodArray<z.ZodObject<{
|
|
506
|
+
id: z.ZodString;
|
|
507
|
+
value: z.ZodString;
|
|
508
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
509
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
510
|
+
childCategoryList: z.ZodArray<z.ZodAny, "many">;
|
|
511
|
+
}, "strip", z.ZodTypeAny, {
|
|
512
|
+
id: string;
|
|
513
|
+
value: string;
|
|
514
|
+
level: 2 | 1 | 3;
|
|
515
|
+
parentId: string | null;
|
|
516
|
+
childCategoryList: any[];
|
|
517
|
+
}, {
|
|
518
|
+
id: string;
|
|
519
|
+
value: string;
|
|
520
|
+
level: 2 | 1 | 3;
|
|
521
|
+
parentId: string | null;
|
|
522
|
+
childCategoryList: any[];
|
|
523
|
+
}>, "many">;
|
|
524
|
+
}, "strip", z.ZodTypeAny, {
|
|
525
|
+
id: string;
|
|
526
|
+
value: string;
|
|
527
|
+
level: 2 | 1 | 3;
|
|
528
|
+
parentId: string | null;
|
|
529
|
+
childCategoryList: {
|
|
530
|
+
id: string;
|
|
531
|
+
value: string;
|
|
532
|
+
level: 2 | 1 | 3;
|
|
533
|
+
parentId: string | null;
|
|
534
|
+
childCategoryList: any[];
|
|
535
|
+
}[];
|
|
536
|
+
}, {
|
|
537
|
+
id: string;
|
|
538
|
+
value: string;
|
|
539
|
+
level: 2 | 1 | 3;
|
|
540
|
+
parentId: string | null;
|
|
541
|
+
childCategoryList: {
|
|
542
|
+
id: string;
|
|
543
|
+
value: string;
|
|
544
|
+
level: 2 | 1 | 3;
|
|
545
|
+
parentId: string | null;
|
|
546
|
+
childCategoryList: any[];
|
|
547
|
+
}[];
|
|
548
|
+
}>, "many">;
|
|
549
|
+
}, "strip", z.ZodTypeAny, {
|
|
550
|
+
id: string;
|
|
551
|
+
value: string;
|
|
552
|
+
createdAt: Date;
|
|
553
|
+
updatedAt: Date;
|
|
554
|
+
deletedAt: Date | null;
|
|
555
|
+
level: 2 | 1 | 3;
|
|
556
|
+
parentId: string | null;
|
|
557
|
+
childCategoryList: {
|
|
558
|
+
id: string;
|
|
559
|
+
value: string;
|
|
560
|
+
level: 2 | 1 | 3;
|
|
561
|
+
parentId: string | null;
|
|
562
|
+
childCategoryList: {
|
|
563
|
+
id: string;
|
|
564
|
+
value: string;
|
|
565
|
+
level: 2 | 1 | 3;
|
|
566
|
+
parentId: string | null;
|
|
567
|
+
childCategoryList: any[];
|
|
568
|
+
}[];
|
|
569
|
+
}[];
|
|
570
|
+
}, {
|
|
571
|
+
id: string;
|
|
572
|
+
value: string;
|
|
573
|
+
createdAt: Date;
|
|
574
|
+
updatedAt: Date;
|
|
575
|
+
deletedAt: Date | null;
|
|
576
|
+
level: 2 | 1 | 3;
|
|
577
|
+
parentId: string | null;
|
|
578
|
+
childCategoryList: {
|
|
579
|
+
id: string;
|
|
580
|
+
value: string;
|
|
581
|
+
level: 2 | 1 | 3;
|
|
582
|
+
parentId: string | null;
|
|
583
|
+
childCategoryList: {
|
|
584
|
+
id: string;
|
|
585
|
+
value: string;
|
|
586
|
+
level: 2 | 1 | 3;
|
|
587
|
+
parentId: string | null;
|
|
588
|
+
childCategoryList: any[];
|
|
589
|
+
}[];
|
|
590
|
+
}[];
|
|
591
|
+
}>, "many">;
|
|
592
|
+
callFrom: z.ZodNullable<z.ZodString>;
|
|
593
|
+
callTo: z.ZodNullable<z.ZodString>;
|
|
594
|
+
customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
595
|
+
id: z.ZodString;
|
|
596
|
+
createdAt: z.ZodDate;
|
|
597
|
+
updatedAt: z.ZodDate;
|
|
598
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
599
|
+
textValue: z.ZodNullable<z.ZodString>;
|
|
600
|
+
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
601
|
+
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
602
|
+
dateValue: z.ZodNullable<z.ZodDate>;
|
|
603
|
+
entityId: z.ZodString;
|
|
604
|
+
attributeId: z.ZodString;
|
|
605
|
+
}, "strip", z.ZodTypeAny, {
|
|
606
|
+
id: string;
|
|
607
|
+
createdAt: Date;
|
|
608
|
+
updatedAt: Date;
|
|
609
|
+
deletedAt: Date | null;
|
|
610
|
+
entityId: string;
|
|
611
|
+
attributeId: string;
|
|
612
|
+
textValue: string | null;
|
|
613
|
+
booleanValue: boolean | null;
|
|
614
|
+
numberValue: number | null;
|
|
615
|
+
dateValue: Date | null;
|
|
616
|
+
}, {
|
|
617
|
+
id: string;
|
|
618
|
+
createdAt: Date;
|
|
619
|
+
updatedAt: Date;
|
|
620
|
+
deletedAt: Date | null;
|
|
621
|
+
entityId: string;
|
|
622
|
+
attributeId: string;
|
|
623
|
+
textValue: string | null;
|
|
624
|
+
booleanValue: boolean | null;
|
|
625
|
+
numberValue: number | null;
|
|
626
|
+
dateValue: Date | null;
|
|
627
|
+
}>, "many">>>;
|
|
218
628
|
}, "strip", z.ZodTypeAny, {
|
|
629
|
+
type: string;
|
|
219
630
|
id: string;
|
|
220
631
|
disposition: string | null;
|
|
221
632
|
createdAt: Date;
|
|
222
633
|
updatedAt: Date;
|
|
223
634
|
deletedAt: Date | null;
|
|
635
|
+
categories: {
|
|
636
|
+
id: string;
|
|
637
|
+
value: string;
|
|
638
|
+
createdAt: Date;
|
|
639
|
+
updatedAt: Date;
|
|
640
|
+
deletedAt: Date | null;
|
|
641
|
+
level: 2 | 1 | 3;
|
|
642
|
+
parentId: string | null;
|
|
643
|
+
childCategoryList: {
|
|
644
|
+
id: string;
|
|
645
|
+
value: string;
|
|
646
|
+
level: 2 | 1 | 3;
|
|
647
|
+
parentId: string | null;
|
|
648
|
+
childCategoryList: {
|
|
649
|
+
id: string;
|
|
650
|
+
value: string;
|
|
651
|
+
level: 2 | 1 | 3;
|
|
652
|
+
parentId: string | null;
|
|
653
|
+
childCategoryList: any[];
|
|
654
|
+
}[];
|
|
655
|
+
}[];
|
|
656
|
+
}[];
|
|
224
657
|
tags: {
|
|
225
658
|
id: string;
|
|
226
659
|
name: string;
|
|
@@ -231,12 +664,47 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
231
664
|
callFrom: string | null;
|
|
232
665
|
callTo: string | null;
|
|
233
666
|
note: string | null;
|
|
667
|
+
customFields?: {
|
|
668
|
+
id: string;
|
|
669
|
+
createdAt: Date;
|
|
670
|
+
updatedAt: Date;
|
|
671
|
+
deletedAt: Date | null;
|
|
672
|
+
entityId: string;
|
|
673
|
+
attributeId: string;
|
|
674
|
+
textValue: string | null;
|
|
675
|
+
booleanValue: boolean | null;
|
|
676
|
+
numberValue: number | null;
|
|
677
|
+
dateValue: Date | null;
|
|
678
|
+
}[] | null | undefined;
|
|
234
679
|
}, {
|
|
680
|
+
type: string;
|
|
235
681
|
id: string;
|
|
236
682
|
disposition: string | null;
|
|
237
683
|
createdAt: Date;
|
|
238
684
|
updatedAt: Date;
|
|
239
685
|
deletedAt: Date | null;
|
|
686
|
+
categories: {
|
|
687
|
+
id: string;
|
|
688
|
+
value: string;
|
|
689
|
+
createdAt: Date;
|
|
690
|
+
updatedAt: Date;
|
|
691
|
+
deletedAt: Date | null;
|
|
692
|
+
level: 2 | 1 | 3;
|
|
693
|
+
parentId: string | null;
|
|
694
|
+
childCategoryList: {
|
|
695
|
+
id: string;
|
|
696
|
+
value: string;
|
|
697
|
+
level: 2 | 1 | 3;
|
|
698
|
+
parentId: string | null;
|
|
699
|
+
childCategoryList: {
|
|
700
|
+
id: string;
|
|
701
|
+
value: string;
|
|
702
|
+
level: 2 | 1 | 3;
|
|
703
|
+
parentId: string | null;
|
|
704
|
+
childCategoryList: any[];
|
|
705
|
+
}[];
|
|
706
|
+
}[];
|
|
707
|
+
}[];
|
|
240
708
|
tags: {
|
|
241
709
|
id: string;
|
|
242
710
|
name: string;
|
|
@@ -247,6 +715,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
247
715
|
callFrom: string | null;
|
|
248
716
|
callTo: string | null;
|
|
249
717
|
note: string | null;
|
|
718
|
+
customFields?: {
|
|
719
|
+
id: string;
|
|
720
|
+
createdAt: Date;
|
|
721
|
+
updatedAt: Date;
|
|
722
|
+
deletedAt: Date | null;
|
|
723
|
+
entityId: string;
|
|
724
|
+
attributeId: string;
|
|
725
|
+
textValue: string | null;
|
|
726
|
+
booleanValue: boolean | null;
|
|
727
|
+
numberValue: number | null;
|
|
728
|
+
dateValue: Date | null;
|
|
729
|
+
}[] | null | undefined;
|
|
250
730
|
}>>;
|
|
251
731
|
room: z.ZodNullable<z.ZodObject<{
|
|
252
732
|
id: z.ZodString;
|
|
@@ -268,7 +748,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
268
748
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
269
749
|
channelId: z.ZodString;
|
|
270
750
|
socialPlatformId: z.ZodString;
|
|
271
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
|
751
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
|
272
752
|
metadata: z.ZodObject<{
|
|
273
753
|
id: z.ZodString;
|
|
274
754
|
name: z.ZodString;
|
|
@@ -973,7 +1453,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
973
1453
|
}[] | undefined;
|
|
974
1454
|
}>;
|
|
975
1455
|
}, "strip", z.ZodTypeAny, {
|
|
976
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
|
1456
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
|
977
1457
|
id: string;
|
|
978
1458
|
metadata: {
|
|
979
1459
|
id: string;
|
|
@@ -1084,7 +1564,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1084
1564
|
channelId: string;
|
|
1085
1565
|
socialPlatformId: string;
|
|
1086
1566
|
}, {
|
|
1087
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
|
1567
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
|
1088
1568
|
id: string;
|
|
1089
1569
|
metadata: {
|
|
1090
1570
|
id: string;
|
|
@@ -1609,23 +2089,23 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1609
2089
|
updatedAt: z.ZodDate;
|
|
1610
2090
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1611
2091
|
name: z.ZodString;
|
|
1612
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
|
2092
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
|
1613
2093
|
metadata: z.ZodObject<{
|
|
1614
2094
|
id: z.ZodString;
|
|
1615
2095
|
name: z.ZodString;
|
|
1616
|
-
accessToken: z.ZodString
|
|
2096
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
|
1617
2097
|
channelSecret: z.ZodOptional<z.ZodString>;
|
|
1618
2098
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
|
1619
2099
|
}, "strip", z.ZodTypeAny, {
|
|
1620
2100
|
id: string;
|
|
1621
2101
|
name: string;
|
|
1622
|
-
accessToken
|
|
2102
|
+
accessToken?: string | undefined;
|
|
1623
2103
|
channelSecret?: string | undefined;
|
|
1624
2104
|
additionalCredentials?: any;
|
|
1625
2105
|
}, {
|
|
1626
2106
|
id: string;
|
|
1627
2107
|
name: string;
|
|
1628
|
-
accessToken
|
|
2108
|
+
accessToken?: string | undefined;
|
|
1629
2109
|
channelSecret?: string | undefined;
|
|
1630
2110
|
additionalCredentials?: any;
|
|
1631
2111
|
}>;
|
|
@@ -1840,13 +2320,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1840
2320
|
};
|
|
1841
2321
|
}>;
|
|
1842
2322
|
}, "strip", z.ZodTypeAny, {
|
|
1843
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
|
2323
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
|
1844
2324
|
id: string;
|
|
1845
2325
|
name: string;
|
|
1846
2326
|
metadata: {
|
|
1847
2327
|
id: string;
|
|
1848
2328
|
name: string;
|
|
1849
|
-
accessToken
|
|
2329
|
+
accessToken?: string | undefined;
|
|
1850
2330
|
channelSecret?: string | undefined;
|
|
1851
2331
|
additionalCredentials?: any;
|
|
1852
2332
|
};
|
|
@@ -1904,13 +2384,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1904
2384
|
connectedUserName: string;
|
|
1905
2385
|
connectedUserId: string;
|
|
1906
2386
|
}, {
|
|
1907
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
|
2387
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
|
1908
2388
|
id: string;
|
|
1909
2389
|
name: string;
|
|
1910
2390
|
metadata: {
|
|
1911
2391
|
id: string;
|
|
1912
2392
|
name: string;
|
|
1913
|
-
accessToken
|
|
2393
|
+
accessToken?: string | undefined;
|
|
1914
2394
|
channelSecret?: string | undefined;
|
|
1915
2395
|
additionalCredentials?: any;
|
|
1916
2396
|
};
|
|
@@ -1971,13 +2451,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1971
2451
|
}, "strip", z.ZodTypeAny, {
|
|
1972
2452
|
id: string;
|
|
1973
2453
|
channel: {
|
|
1974
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
|
2454
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
|
1975
2455
|
id: string;
|
|
1976
2456
|
name: string;
|
|
1977
2457
|
metadata: {
|
|
1978
2458
|
id: string;
|
|
1979
2459
|
name: string;
|
|
1980
|
-
accessToken
|
|
2460
|
+
accessToken?: string | undefined;
|
|
1981
2461
|
channelSecret?: string | undefined;
|
|
1982
2462
|
additionalCredentials?: any;
|
|
1983
2463
|
};
|
|
@@ -2091,7 +2571,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2091
2571
|
firstResponseAt: Date;
|
|
2092
2572
|
isLatest: boolean;
|
|
2093
2573
|
platformContact: {
|
|
2094
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
|
2574
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
|
2095
2575
|
id: string;
|
|
2096
2576
|
metadata: {
|
|
2097
2577
|
id: string;
|
|
@@ -2249,13 +2729,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2249
2729
|
}, {
|
|
2250
2730
|
id: string;
|
|
2251
2731
|
channel: {
|
|
2252
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
|
2732
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
|
2253
2733
|
id: string;
|
|
2254
2734
|
name: string;
|
|
2255
2735
|
metadata: {
|
|
2256
2736
|
id: string;
|
|
2257
2737
|
name: string;
|
|
2258
|
-
accessToken
|
|
2738
|
+
accessToken?: string | undefined;
|
|
2259
2739
|
channelSecret?: string | undefined;
|
|
2260
2740
|
additionalCredentials?: any;
|
|
2261
2741
|
};
|
|
@@ -2369,7 +2849,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2369
2849
|
firstResponseAt: Date;
|
|
2370
2850
|
isLatest: boolean;
|
|
2371
2851
|
platformContact: {
|
|
2372
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
|
2852
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
|
2373
2853
|
id: string;
|
|
2374
2854
|
metadata: {
|
|
2375
2855
|
id: string;
|
|
@@ -5667,11 +6147,34 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5667
6147
|
handledTime: string | null;
|
|
5668
6148
|
firstResponseTime: string | null;
|
|
5669
6149
|
wrapUpForm: {
|
|
6150
|
+
type: string;
|
|
5670
6151
|
id: string;
|
|
5671
6152
|
disposition: string | null;
|
|
5672
6153
|
createdAt: Date;
|
|
5673
6154
|
updatedAt: Date;
|
|
5674
6155
|
deletedAt: Date | null;
|
|
6156
|
+
categories: {
|
|
6157
|
+
id: string;
|
|
6158
|
+
value: string;
|
|
6159
|
+
createdAt: Date;
|
|
6160
|
+
updatedAt: Date;
|
|
6161
|
+
deletedAt: Date | null;
|
|
6162
|
+
level: 2 | 1 | 3;
|
|
6163
|
+
parentId: string | null;
|
|
6164
|
+
childCategoryList: {
|
|
6165
|
+
id: string;
|
|
6166
|
+
value: string;
|
|
6167
|
+
level: 2 | 1 | 3;
|
|
6168
|
+
parentId: string | null;
|
|
6169
|
+
childCategoryList: {
|
|
6170
|
+
id: string;
|
|
6171
|
+
value: string;
|
|
6172
|
+
level: 2 | 1 | 3;
|
|
6173
|
+
parentId: string | null;
|
|
6174
|
+
childCategoryList: any[];
|
|
6175
|
+
}[];
|
|
6176
|
+
}[];
|
|
6177
|
+
}[];
|
|
5675
6178
|
tags: {
|
|
5676
6179
|
id: string;
|
|
5677
6180
|
name: string;
|
|
@@ -5682,6 +6185,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5682
6185
|
callFrom: string | null;
|
|
5683
6186
|
callTo: string | null;
|
|
5684
6187
|
note: string | null;
|
|
6188
|
+
customFields?: {
|
|
6189
|
+
id: string;
|
|
6190
|
+
createdAt: Date;
|
|
6191
|
+
updatedAt: Date;
|
|
6192
|
+
deletedAt: Date | null;
|
|
6193
|
+
entityId: string;
|
|
6194
|
+
attributeId: string;
|
|
6195
|
+
textValue: string | null;
|
|
6196
|
+
booleanValue: boolean | null;
|
|
6197
|
+
numberValue: number | null;
|
|
6198
|
+
dateValue: Date | null;
|
|
6199
|
+
}[] | null | undefined;
|
|
5685
6200
|
} | null;
|
|
5686
6201
|
customerPhone: string | null;
|
|
5687
6202
|
channelType: string | null;
|
|
@@ -5701,13 +6216,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5701
6216
|
room: {
|
|
5702
6217
|
id: string;
|
|
5703
6218
|
channel: {
|
|
5704
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
|
6219
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
|
5705
6220
|
id: string;
|
|
5706
6221
|
name: string;
|
|
5707
6222
|
metadata: {
|
|
5708
6223
|
id: string;
|
|
5709
6224
|
name: string;
|
|
5710
|
-
accessToken
|
|
6225
|
+
accessToken?: string | undefined;
|
|
5711
6226
|
channelSecret?: string | undefined;
|
|
5712
6227
|
additionalCredentials?: any;
|
|
5713
6228
|
};
|
|
@@ -5821,7 +6336,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5821
6336
|
firstResponseAt: Date;
|
|
5822
6337
|
isLatest: boolean;
|
|
5823
6338
|
platformContact: {
|
|
5824
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
|
6339
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
|
5825
6340
|
id: string;
|
|
5826
6341
|
metadata: {
|
|
5827
6342
|
id: string;
|
|
@@ -6392,11 +6907,34 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6392
6907
|
handledTime: string | null;
|
|
6393
6908
|
firstResponseTime: string | null;
|
|
6394
6909
|
wrapUpForm: {
|
|
6910
|
+
type: string;
|
|
6395
6911
|
id: string;
|
|
6396
6912
|
disposition: string | null;
|
|
6397
6913
|
createdAt: Date;
|
|
6398
6914
|
updatedAt: Date;
|
|
6399
6915
|
deletedAt: Date | null;
|
|
6916
|
+
categories: {
|
|
6917
|
+
id: string;
|
|
6918
|
+
value: string;
|
|
6919
|
+
createdAt: Date;
|
|
6920
|
+
updatedAt: Date;
|
|
6921
|
+
deletedAt: Date | null;
|
|
6922
|
+
level: 2 | 1 | 3;
|
|
6923
|
+
parentId: string | null;
|
|
6924
|
+
childCategoryList: {
|
|
6925
|
+
id: string;
|
|
6926
|
+
value: string;
|
|
6927
|
+
level: 2 | 1 | 3;
|
|
6928
|
+
parentId: string | null;
|
|
6929
|
+
childCategoryList: {
|
|
6930
|
+
id: string;
|
|
6931
|
+
value: string;
|
|
6932
|
+
level: 2 | 1 | 3;
|
|
6933
|
+
parentId: string | null;
|
|
6934
|
+
childCategoryList: any[];
|
|
6935
|
+
}[];
|
|
6936
|
+
}[];
|
|
6937
|
+
}[];
|
|
6400
6938
|
tags: {
|
|
6401
6939
|
id: string;
|
|
6402
6940
|
name: string;
|
|
@@ -6407,6 +6945,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6407
6945
|
callFrom: string | null;
|
|
6408
6946
|
callTo: string | null;
|
|
6409
6947
|
note: string | null;
|
|
6948
|
+
customFields?: {
|
|
6949
|
+
id: string;
|
|
6950
|
+
createdAt: Date;
|
|
6951
|
+
updatedAt: Date;
|
|
6952
|
+
deletedAt: Date | null;
|
|
6953
|
+
entityId: string;
|
|
6954
|
+
attributeId: string;
|
|
6955
|
+
textValue: string | null;
|
|
6956
|
+
booleanValue: boolean | null;
|
|
6957
|
+
numberValue: number | null;
|
|
6958
|
+
dateValue: Date | null;
|
|
6959
|
+
}[] | null | undefined;
|
|
6410
6960
|
} | null;
|
|
6411
6961
|
customerPhone: string | null;
|
|
6412
6962
|
channelType: string | null;
|
|
@@ -6426,13 +6976,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6426
6976
|
room: {
|
|
6427
6977
|
id: string;
|
|
6428
6978
|
channel: {
|
|
6429
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
|
6979
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
|
6430
6980
|
id: string;
|
|
6431
6981
|
name: string;
|
|
6432
6982
|
metadata: {
|
|
6433
6983
|
id: string;
|
|
6434
6984
|
name: string;
|
|
6435
|
-
accessToken
|
|
6985
|
+
accessToken?: string | undefined;
|
|
6436
6986
|
channelSecret?: string | undefined;
|
|
6437
6987
|
additionalCredentials?: any;
|
|
6438
6988
|
};
|
|
@@ -6546,7 +7096,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6546
7096
|
firstResponseAt: Date;
|
|
6547
7097
|
isLatest: boolean;
|
|
6548
7098
|
platformContact: {
|
|
6549
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
|
7099
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
|
6550
7100
|
id: string;
|
|
6551
7101
|
metadata: {
|
|
6552
7102
|
id: string;
|