@kl1/contracts 1.0.27 → 1.0.29
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 +144 -56
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +143 -56
- 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/attribute/index.d.ts +108 -108
- package/dist/src/attribute/schema.d.ts +24 -24
- package/dist/src/attribute-option/schema.d.ts +9 -9
- package/dist/src/base-contract.d.ts +9 -9
- package/dist/src/call-log/schema.d.ts +9 -9
- package/dist/src/category/index.d.ts +42 -42
- package/dist/src/category/schema.d.ts +9 -9
- package/dist/src/channel/index.d.ts +38 -38
- package/dist/src/channel/schema.d.ts +9 -9
- package/dist/src/chat/index.d.ts +5335 -5335
- package/dist/src/chat/schema.d.ts +876 -876
- package/dist/src/chat/validation.d.ts +1008 -1008
- package/dist/src/comment/index.d.ts +363 -363
- package/dist/src/comment/schema.d.ts +105 -105
- package/dist/src/company/index.d.ts +288 -288
- package/dist/src/company/schema.d.ts +87 -87
- package/dist/src/company/validation.d.ts +162 -162
- package/dist/src/contact/index.d.ts +1212 -1212
- package/dist/src/contact/schema.d.ts +201 -201
- package/dist/src/contact/validation.d.ts +997 -997
- package/dist/src/contact-email/schema.d.ts +9 -9
- package/dist/src/contact-phone/schema.d.ts +9 -9
- package/dist/src/contract.d.ts +9737 -9761
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/custom-field/schema.d.ts +9 -9
- package/dist/src/custom-field-upload/schema.d.ts +9 -9
- package/dist/src/cx-log/index.d.ts +621 -621
- package/dist/src/cx-log/schema.d.ts +564 -564
- package/dist/src/dashboard/index.d.ts +6 -6
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +2 -2
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/evaluate-form/index.d.ts +47 -0
- package/dist/src/evaluate-form/index.d.ts.map +1 -0
- package/dist/src/evaluate-form/schema.d.ts +9 -9
- package/dist/src/evaluate-form/validation.d.ts +28 -0
- package/dist/src/evaluate-form/validation.d.ts.map +1 -0
- package/dist/src/group/schema.d.ts +9 -9
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/log-form/schema.d.ts +9 -9
- package/dist/src/mail/mail-contract.d.ts +63 -63
- 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 +63 -63
- package/dist/src/mail/schemas/room-validation.schema.d.ts +14 -14
- package/dist/src/mail/schemas/room.schema.d.ts +25 -25
- package/dist/src/messenger/index.d.ts +492 -492
- package/dist/src/platform-contact/schema.d.ts +30 -0
- package/dist/src/platform-contact/schema.d.ts.map +1 -0
- package/dist/src/tag/index.d.ts +45 -45
- package/dist/src/tag/schema.d.ts +9 -9
- package/dist/src/tag-group/schema.d.ts +9 -9
- package/dist/src/telephony-agent-presence-status/index.d.ts +93 -93
- package/dist/src/telephony-agent-presence-status/schema.d.ts +33 -33
- package/dist/src/telephony-cdr/schema.d.ts +9 -9
- package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
- package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
- package/dist/src/tenant/schema.d.ts +9 -9
- package/dist/src/ticket/index.d.ts +774 -909
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +135 -135
- package/dist/src/ticket/validation.d.ts +168 -338
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/dist/src/upload/schema.d.ts +9 -9
- package/dist/src/user-presence-status-log/index.d.ts +36 -36
- package/dist/src/user-presence-status-log/schema.d.ts +39 -39
- package/dist/src/widget/index.d.ts +150 -79
- package/dist/src/widget/index.d.ts.map +1 -1
- package/dist/src/widget/schema.d.ts +9 -9
- package/dist/src/widget/validation.d.ts +10 -0
- package/dist/src/widget/validation.d.ts.map +1 -1
- package/dist/src/wrap-up-form/index.d.ts +96 -96
- package/dist/src/wrap-up-form/schema.d.ts +24 -24
- package/package.json +10 -4
@@ -15,9 +15,9 @@ export declare const GetRoomsSchema: z.ZodObject<{
|
|
15
15
|
selectedDate: z.ZodOptional<z.ZodString>;
|
16
16
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
17
17
|
id: z.ZodString;
|
18
|
-
createdAt: z.
|
19
|
-
updatedAt: z.
|
20
|
-
deletedAt: z.ZodNullable<z.
|
18
|
+
createdAt: z.ZodDate;
|
19
|
+
updatedAt: z.ZodDate;
|
20
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
21
21
|
textValue: z.ZodNullable<z.ZodString>;
|
22
22
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
23
23
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -26,9 +26,9 @@ export declare const GetRoomsSchema: z.ZodObject<{
|
|
26
26
|
attributeId: z.ZodString;
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
28
28
|
id: string;
|
29
|
-
createdAt:
|
30
|
-
updatedAt:
|
31
|
-
deletedAt:
|
29
|
+
createdAt: Date;
|
30
|
+
updatedAt: Date;
|
31
|
+
deletedAt: Date | null;
|
32
32
|
attributeId: string;
|
33
33
|
textValue: string | null;
|
34
34
|
booleanValue: boolean | null;
|
@@ -37,9 +37,9 @@ export declare const GetRoomsSchema: z.ZodObject<{
|
|
37
37
|
entityId: string;
|
38
38
|
}, {
|
39
39
|
id: string;
|
40
|
-
createdAt:
|
41
|
-
updatedAt:
|
42
|
-
deletedAt:
|
40
|
+
createdAt: Date;
|
41
|
+
updatedAt: Date;
|
42
|
+
deletedAt: Date | null;
|
43
43
|
attributeId: string;
|
44
44
|
textValue: string | null;
|
45
45
|
booleanValue: boolean | null;
|
@@ -68,9 +68,9 @@ export declare const GetRoomsSchema: z.ZodObject<{
|
|
68
68
|
selectedDate?: string | undefined;
|
69
69
|
customFields?: {
|
70
70
|
id: string;
|
71
|
-
createdAt:
|
72
|
-
updatedAt:
|
73
|
-
deletedAt:
|
71
|
+
createdAt: Date;
|
72
|
+
updatedAt: Date;
|
73
|
+
deletedAt: Date | null;
|
74
74
|
attributeId: string;
|
75
75
|
textValue: string | null;
|
76
76
|
booleanValue: boolean | null;
|
@@ -99,9 +99,9 @@ export declare const GetRoomsSchema: z.ZodObject<{
|
|
99
99
|
selectedDate?: string | undefined;
|
100
100
|
customFields?: {
|
101
101
|
id: string;
|
102
|
-
createdAt:
|
103
|
-
updatedAt:
|
104
|
-
deletedAt:
|
102
|
+
createdAt: Date;
|
103
|
+
updatedAt: Date;
|
104
|
+
deletedAt: Date | null;
|
105
105
|
attributeId: string;
|
106
106
|
textValue: string | null;
|
107
107
|
booleanValue: boolean | null;
|
@@ -119,61 +119,61 @@ export declare const UpdateRoomTagsAndNotesSchema: z.ZodObject<{
|
|
119
119
|
note: z.ZodOptional<z.ZodString>;
|
120
120
|
tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
121
121
|
id: z.ZodString;
|
122
|
-
createdAt: z.
|
123
|
-
updatedAt: z.
|
124
|
-
deletedAt: z.ZodNullable<z.
|
122
|
+
createdAt: z.ZodDate;
|
123
|
+
updatedAt: z.ZodDate;
|
124
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
125
125
|
name: z.ZodString;
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
127
127
|
id: string;
|
128
128
|
name: string;
|
129
|
-
createdAt:
|
130
|
-
updatedAt:
|
131
|
-
deletedAt:
|
129
|
+
createdAt: Date;
|
130
|
+
updatedAt: Date;
|
131
|
+
deletedAt: Date | null;
|
132
132
|
}, {
|
133
133
|
id: string;
|
134
134
|
name: string;
|
135
|
-
createdAt:
|
136
|
-
updatedAt:
|
137
|
-
deletedAt:
|
135
|
+
createdAt: Date;
|
136
|
+
updatedAt: Date;
|
137
|
+
deletedAt: Date | null;
|
138
138
|
}>, "many">>;
|
139
139
|
}, "strip", z.ZodTypeAny, {
|
140
140
|
note?: string | undefined;
|
141
141
|
tags?: {
|
142
142
|
id: string;
|
143
143
|
name: string;
|
144
|
-
createdAt:
|
145
|
-
updatedAt:
|
146
|
-
deletedAt:
|
144
|
+
createdAt: Date;
|
145
|
+
updatedAt: Date;
|
146
|
+
deletedAt: Date | null;
|
147
147
|
}[] | undefined;
|
148
148
|
}, {
|
149
149
|
note?: string | undefined;
|
150
150
|
tags?: {
|
151
151
|
id: string;
|
152
152
|
name: string;
|
153
|
-
createdAt:
|
154
|
-
updatedAt:
|
155
|
-
deletedAt:
|
153
|
+
createdAt: Date;
|
154
|
+
updatedAt: Date;
|
155
|
+
deletedAt: Date | null;
|
156
156
|
}[] | undefined;
|
157
157
|
}>;
|
158
158
|
export declare const UpdateRoomAttributesSchema: z.ZodObject<{
|
159
159
|
tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
160
160
|
id: z.ZodString;
|
161
|
-
createdAt: z.
|
162
|
-
updatedAt: z.
|
163
|
-
deletedAt: z.ZodNullable<z.
|
161
|
+
createdAt: z.ZodDate;
|
162
|
+
updatedAt: z.ZodDate;
|
163
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
164
164
|
name: z.ZodString;
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
166
166
|
id: string;
|
167
167
|
name: string;
|
168
|
-
createdAt:
|
169
|
-
updatedAt:
|
170
|
-
deletedAt:
|
168
|
+
createdAt: Date;
|
169
|
+
updatedAt: Date;
|
170
|
+
deletedAt: Date | null;
|
171
171
|
}, {
|
172
172
|
id: string;
|
173
173
|
name: string;
|
174
|
-
createdAt:
|
175
|
-
updatedAt:
|
176
|
-
deletedAt:
|
174
|
+
createdAt: Date;
|
175
|
+
updatedAt: Date;
|
176
|
+
deletedAt: Date | null;
|
177
177
|
}>, "many">>;
|
178
178
|
note: z.ZodOptional<z.ZodString>;
|
179
179
|
roomId: z.ZodString;
|
@@ -182,9 +182,9 @@ export declare const UpdateRoomAttributesSchema: z.ZodObject<{
|
|
182
182
|
tags?: {
|
183
183
|
id: string;
|
184
184
|
name: string;
|
185
|
-
createdAt:
|
186
|
-
updatedAt:
|
187
|
-
deletedAt:
|
185
|
+
createdAt: Date;
|
186
|
+
updatedAt: Date;
|
187
|
+
deletedAt: Date | null;
|
188
188
|
}[] | undefined;
|
189
189
|
note?: string | undefined;
|
190
190
|
}, {
|
@@ -192,9 +192,9 @@ export declare const UpdateRoomAttributesSchema: z.ZodObject<{
|
|
192
192
|
tags?: {
|
193
193
|
id: string;
|
194
194
|
name: string;
|
195
|
-
createdAt:
|
196
|
-
updatedAt:
|
197
|
-
deletedAt:
|
195
|
+
createdAt: Date;
|
196
|
+
updatedAt: Date;
|
197
|
+
deletedAt: Date | null;
|
198
198
|
}[] | undefined;
|
199
199
|
note?: string | undefined;
|
200
200
|
}>;
|
@@ -925,27 +925,27 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
925
925
|
imageSetId: z.ZodOptional<z.ZodString>;
|
926
926
|
upload: z.ZodOptional<z.ZodObject<{
|
927
927
|
id: z.ZodString;
|
928
|
-
createdAt: z.
|
929
|
-
updatedAt: z.
|
930
|
-
deletedAt: z.ZodNullable<z.
|
928
|
+
createdAt: z.ZodDate;
|
929
|
+
updatedAt: z.ZodDate;
|
930
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
931
931
|
bucketName: z.ZodString;
|
932
932
|
fileName: z.ZodString;
|
933
933
|
fileSize: z.ZodNumber;
|
934
934
|
fileKey: z.ZodString;
|
935
935
|
}, "strip", z.ZodTypeAny, {
|
936
936
|
id: string;
|
937
|
-
createdAt:
|
938
|
-
updatedAt:
|
939
|
-
deletedAt:
|
937
|
+
createdAt: Date;
|
938
|
+
updatedAt: Date;
|
939
|
+
deletedAt: Date | null;
|
940
940
|
fileName: string;
|
941
941
|
fileKey: string;
|
942
942
|
bucketName: string;
|
943
943
|
fileSize: number;
|
944
944
|
}, {
|
945
945
|
id: string;
|
946
|
-
createdAt:
|
947
|
-
updatedAt:
|
948
|
-
deletedAt:
|
946
|
+
createdAt: Date;
|
947
|
+
updatedAt: Date;
|
948
|
+
deletedAt: Date | null;
|
949
949
|
fileName: string;
|
950
950
|
fileKey: string;
|
951
951
|
bucketName: string;
|
@@ -989,9 +989,9 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
989
989
|
imageSetId?: string | undefined;
|
990
990
|
upload?: {
|
991
991
|
id: string;
|
992
|
-
createdAt:
|
993
|
-
updatedAt:
|
994
|
-
deletedAt:
|
992
|
+
createdAt: Date;
|
993
|
+
updatedAt: Date;
|
994
|
+
deletedAt: Date | null;
|
995
995
|
fileName: string;
|
996
996
|
fileKey: string;
|
997
997
|
bucketName: string;
|
@@ -1019,9 +1019,9 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1019
1019
|
imageSetId?: string | undefined;
|
1020
1020
|
upload?: {
|
1021
1021
|
id: string;
|
1022
|
-
createdAt:
|
1023
|
-
updatedAt:
|
1024
|
-
deletedAt:
|
1022
|
+
createdAt: Date;
|
1023
|
+
updatedAt: Date;
|
1024
|
+
deletedAt: Date | null;
|
1025
1025
|
fileName: string;
|
1026
1026
|
fileKey: string;
|
1027
1027
|
bucketName: string;
|
@@ -1051,9 +1051,9 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1051
1051
|
imageSetId?: string | undefined;
|
1052
1052
|
upload?: {
|
1053
1053
|
id: string;
|
1054
|
-
createdAt:
|
1055
|
-
updatedAt:
|
1056
|
-
deletedAt:
|
1054
|
+
createdAt: Date;
|
1055
|
+
updatedAt: Date;
|
1056
|
+
deletedAt: Date | null;
|
1057
1057
|
fileName: string;
|
1058
1058
|
fileKey: string;
|
1059
1059
|
bucketName: string;
|
@@ -1131,9 +1131,9 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1131
1131
|
imageSetId?: string | undefined;
|
1132
1132
|
upload?: {
|
1133
1133
|
id: string;
|
1134
|
-
createdAt:
|
1135
|
-
updatedAt:
|
1136
|
-
deletedAt:
|
1134
|
+
createdAt: Date;
|
1135
|
+
updatedAt: Date;
|
1136
|
+
deletedAt: Date | null;
|
1137
1137
|
fileName: string;
|
1138
1138
|
fileKey: string;
|
1139
1139
|
bucketName: string;
|
@@ -1193,9 +1193,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1193
1193
|
requestId: z.ZodString;
|
1194
1194
|
data: z.ZodObject<{
|
1195
1195
|
id: z.ZodString;
|
1196
|
-
createdAt: z.
|
1197
|
-
updatedAt: z.
|
1198
|
-
deletedAt: z.ZodNullable<z.
|
1196
|
+
createdAt: z.ZodDate;
|
1197
|
+
updatedAt: z.ZodDate;
|
1198
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1199
1199
|
message: z.ZodString;
|
1200
1200
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1201
1201
|
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
|
@@ -1211,9 +1211,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1211
1211
|
imageSetId: z.ZodString;
|
1212
1212
|
room: z.ZodObject<{
|
1213
1213
|
id: z.ZodString;
|
1214
|
-
createdAt: z.
|
1215
|
-
updatedAt: z.
|
1216
|
-
deletedAt: z.ZodNullable<z.
|
1214
|
+
createdAt: z.ZodDate;
|
1215
|
+
updatedAt: z.ZodDate;
|
1216
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1217
1217
|
lastMessage: z.ZodString;
|
1218
1218
|
handleTime: z.ZodNumber;
|
1219
1219
|
closeAt: z.ZodDate;
|
@@ -1224,9 +1224,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1224
1224
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1225
1225
|
platformContact: z.ZodObject<{
|
1226
1226
|
id: z.ZodString;
|
1227
|
-
createdAt: z.
|
1228
|
-
updatedAt: z.
|
1229
|
-
deletedAt: z.ZodNullable<z.
|
1227
|
+
createdAt: z.ZodDate;
|
1228
|
+
updatedAt: z.ZodDate;
|
1229
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1230
1230
|
channelId: z.ZodString;
|
1231
1231
|
socialPlatformId: z.ZodString;
|
1232
1232
|
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
@@ -1259,46 +1259,46 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1259
1259
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
1260
1260
|
tags: z.ZodArray<z.ZodObject<{
|
1261
1261
|
id: z.ZodString;
|
1262
|
-
createdAt: z.
|
1263
|
-
updatedAt: z.
|
1264
|
-
deletedAt: z.ZodNullable<z.
|
1262
|
+
createdAt: z.ZodDate;
|
1263
|
+
updatedAt: z.ZodDate;
|
1264
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1265
1265
|
name: z.ZodString;
|
1266
1266
|
}, "strip", z.ZodTypeAny, {
|
1267
1267
|
id: string;
|
1268
1268
|
name: string;
|
1269
|
-
createdAt:
|
1270
|
-
updatedAt:
|
1271
|
-
deletedAt:
|
1269
|
+
createdAt: Date;
|
1270
|
+
updatedAt: Date;
|
1271
|
+
deletedAt: Date | null;
|
1272
1272
|
}, {
|
1273
1273
|
id: string;
|
1274
1274
|
name: string;
|
1275
|
-
createdAt:
|
1276
|
-
updatedAt:
|
1277
|
-
deletedAt:
|
1275
|
+
createdAt: Date;
|
1276
|
+
updatedAt: Date;
|
1277
|
+
deletedAt: Date | null;
|
1278
1278
|
}>, "many">;
|
1279
1279
|
company: z.ZodNullable<z.ZodObject<Omit<{
|
1280
1280
|
id: z.ZodString;
|
1281
|
-
createdAt: z.
|
1282
|
-
updatedAt: z.
|
1283
|
-
deletedAt: z.ZodNullable<z.
|
1281
|
+
createdAt: z.ZodDate;
|
1282
|
+
updatedAt: z.ZodDate;
|
1283
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1284
1284
|
name: z.ZodOptional<z.ZodString>;
|
1285
1285
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1286
1286
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1287
1287
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1288
1288
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1289
1289
|
id: z.ZodString;
|
1290
|
-
createdAt: z.
|
1291
|
-
updatedAt: z.
|
1292
|
-
deletedAt: z.ZodNullable<z.
|
1290
|
+
createdAt: z.ZodDate;
|
1291
|
+
updatedAt: z.ZodDate;
|
1292
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1293
1293
|
textValue: z.ZodNullable<z.ZodString>;
|
1294
1294
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
1295
1295
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
1296
1296
|
dateValue: z.ZodNullable<z.ZodDate>;
|
1297
1297
|
attribute: z.ZodObject<Omit<{
|
1298
1298
|
id: z.ZodString;
|
1299
|
-
createdAt: z.
|
1300
|
-
updatedAt: z.
|
1301
|
-
deletedAt: z.ZodNullable<z.
|
1299
|
+
createdAt: z.ZodDate;
|
1300
|
+
updatedAt: z.ZodDate;
|
1301
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1302
1302
|
systemName: z.ZodString;
|
1303
1303
|
displayName: z.ZodString;
|
1304
1304
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1328,23 +1328,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1328
1328
|
}>, "many">;
|
1329
1329
|
group: z.ZodObject<{
|
1330
1330
|
id: z.ZodString;
|
1331
|
-
createdAt: z.
|
1332
|
-
updatedAt: z.
|
1333
|
-
deletedAt: z.ZodNullable<z.
|
1331
|
+
createdAt: z.ZodDate;
|
1332
|
+
updatedAt: z.ZodDate;
|
1333
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1334
1334
|
systemName: z.ZodString;
|
1335
1335
|
displayName: z.ZodString;
|
1336
1336
|
}, "strip", z.ZodTypeAny, {
|
1337
1337
|
id: string;
|
1338
|
-
createdAt:
|
1339
|
-
updatedAt:
|
1340
|
-
deletedAt:
|
1338
|
+
createdAt: Date;
|
1339
|
+
updatedAt: Date;
|
1340
|
+
deletedAt: Date | null;
|
1341
1341
|
systemName: string;
|
1342
1342
|
displayName: string;
|
1343
1343
|
}, {
|
1344
1344
|
id: string;
|
1345
|
-
createdAt:
|
1346
|
-
updatedAt:
|
1347
|
-
deletedAt:
|
1345
|
+
createdAt: Date;
|
1346
|
+
updatedAt: Date;
|
1347
|
+
deletedAt: Date | null;
|
1348
1348
|
systemName: string;
|
1349
1349
|
displayName: string;
|
1350
1350
|
}>;
|
@@ -1352,9 +1352,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1352
1352
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1353
1353
|
id: string;
|
1354
1354
|
position: number;
|
1355
|
-
createdAt:
|
1356
|
-
updatedAt:
|
1357
|
-
deletedAt:
|
1355
|
+
createdAt: Date;
|
1356
|
+
updatedAt: Date;
|
1357
|
+
deletedAt: Date | null;
|
1358
1358
|
isDefault: boolean;
|
1359
1359
|
systemName: string;
|
1360
1360
|
displayName: string;
|
@@ -1365,9 +1365,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1365
1365
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1366
1366
|
id: string;
|
1367
1367
|
position: number;
|
1368
|
-
createdAt:
|
1369
|
-
updatedAt:
|
1370
|
-
deletedAt:
|
1368
|
+
createdAt: Date;
|
1369
|
+
updatedAt: Date;
|
1370
|
+
deletedAt: Date | null;
|
1371
1371
|
isDefault: boolean;
|
1372
1372
|
systemName: string;
|
1373
1373
|
displayName: string;
|
@@ -1377,16 +1377,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1377
1377
|
}>;
|
1378
1378
|
}, "strip", z.ZodTypeAny, {
|
1379
1379
|
id: string;
|
1380
|
-
createdAt:
|
1381
|
-
updatedAt:
|
1382
|
-
deletedAt:
|
1380
|
+
createdAt: Date;
|
1381
|
+
updatedAt: Date;
|
1382
|
+
deletedAt: Date | null;
|
1383
1383
|
attribute: {
|
1384
1384
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1385
1385
|
id: string;
|
1386
1386
|
position: number;
|
1387
|
-
createdAt:
|
1388
|
-
updatedAt:
|
1389
|
-
deletedAt:
|
1387
|
+
createdAt: Date;
|
1388
|
+
updatedAt: Date;
|
1389
|
+
deletedAt: Date | null;
|
1390
1390
|
isDefault: boolean;
|
1391
1391
|
systemName: string;
|
1392
1392
|
displayName: string;
|
@@ -1400,16 +1400,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1400
1400
|
dateValue: Date | null;
|
1401
1401
|
}, {
|
1402
1402
|
id: string;
|
1403
|
-
createdAt:
|
1404
|
-
updatedAt:
|
1405
|
-
deletedAt:
|
1403
|
+
createdAt: Date;
|
1404
|
+
updatedAt: Date;
|
1405
|
+
deletedAt: Date | null;
|
1406
1406
|
attribute: {
|
1407
1407
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1408
1408
|
id: string;
|
1409
1409
|
position: number;
|
1410
|
-
createdAt:
|
1411
|
-
updatedAt:
|
1412
|
-
deletedAt:
|
1410
|
+
createdAt: Date;
|
1411
|
+
updatedAt: Date;
|
1412
|
+
deletedAt: Date | null;
|
1413
1413
|
isDefault: boolean;
|
1414
1414
|
systemName: string;
|
1415
1415
|
displayName: string;
|
@@ -1424,18 +1424,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1424
1424
|
}>, "many">>;
|
1425
1425
|
}, "customFields">, "strip", z.ZodTypeAny, {
|
1426
1426
|
id: string;
|
1427
|
-
createdAt:
|
1428
|
-
updatedAt:
|
1429
|
-
deletedAt:
|
1427
|
+
createdAt: Date;
|
1428
|
+
updatedAt: Date;
|
1429
|
+
deletedAt: Date | null;
|
1430
1430
|
address?: string | null | undefined;
|
1431
1431
|
name?: string | undefined;
|
1432
1432
|
phone?: string | null | undefined;
|
1433
1433
|
industry?: string | null | undefined;
|
1434
1434
|
}, {
|
1435
1435
|
id: string;
|
1436
|
-
createdAt:
|
1437
|
-
updatedAt:
|
1438
|
-
deletedAt:
|
1436
|
+
createdAt: Date;
|
1437
|
+
updatedAt: Date;
|
1438
|
+
deletedAt: Date | null;
|
1439
1439
|
address?: string | null | undefined;
|
1440
1440
|
name?: string | undefined;
|
1441
1441
|
phone?: string | null | undefined;
|
@@ -1452,9 +1452,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1452
1452
|
dateValue: z.ZodNullable<z.ZodDate>;
|
1453
1453
|
attribute: z.ZodObject<Omit<{
|
1454
1454
|
id: z.ZodString;
|
1455
|
-
createdAt: z.
|
1456
|
-
updatedAt: z.
|
1457
|
-
deletedAt: z.ZodNullable<z.
|
1455
|
+
createdAt: z.ZodDate;
|
1456
|
+
updatedAt: z.ZodDate;
|
1457
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1458
1458
|
systemName: z.ZodString;
|
1459
1459
|
displayName: z.ZodString;
|
1460
1460
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1484,23 +1484,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1484
1484
|
}>, "many">;
|
1485
1485
|
group: z.ZodObject<{
|
1486
1486
|
id: z.ZodString;
|
1487
|
-
createdAt: z.
|
1488
|
-
updatedAt: z.
|
1489
|
-
deletedAt: z.ZodNullable<z.
|
1487
|
+
createdAt: z.ZodDate;
|
1488
|
+
updatedAt: z.ZodDate;
|
1489
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1490
1490
|
systemName: z.ZodString;
|
1491
1491
|
displayName: z.ZodString;
|
1492
1492
|
}, "strip", z.ZodTypeAny, {
|
1493
1493
|
id: string;
|
1494
|
-
createdAt:
|
1495
|
-
updatedAt:
|
1496
|
-
deletedAt:
|
1494
|
+
createdAt: Date;
|
1495
|
+
updatedAt: Date;
|
1496
|
+
deletedAt: Date | null;
|
1497
1497
|
systemName: string;
|
1498
1498
|
displayName: string;
|
1499
1499
|
}, {
|
1500
1500
|
id: string;
|
1501
|
-
createdAt:
|
1502
|
-
updatedAt:
|
1503
|
-
deletedAt:
|
1501
|
+
createdAt: Date;
|
1502
|
+
updatedAt: Date;
|
1503
|
+
deletedAt: Date | null;
|
1504
1504
|
systemName: string;
|
1505
1505
|
displayName: string;
|
1506
1506
|
}>;
|
@@ -1508,9 +1508,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1508
1508
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1509
1509
|
id: string;
|
1510
1510
|
position: number;
|
1511
|
-
createdAt:
|
1512
|
-
updatedAt:
|
1513
|
-
deletedAt:
|
1511
|
+
createdAt: Date;
|
1512
|
+
updatedAt: Date;
|
1513
|
+
deletedAt: Date | null;
|
1514
1514
|
isDefault: boolean;
|
1515
1515
|
systemName: string;
|
1516
1516
|
displayName: string;
|
@@ -1521,9 +1521,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1521
1521
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1522
1522
|
id: string;
|
1523
1523
|
position: number;
|
1524
|
-
createdAt:
|
1525
|
-
updatedAt:
|
1526
|
-
deletedAt:
|
1524
|
+
createdAt: Date;
|
1525
|
+
updatedAt: Date;
|
1526
|
+
deletedAt: Date | null;
|
1527
1527
|
isDefault: boolean;
|
1528
1528
|
systemName: string;
|
1529
1529
|
displayName: string;
|
@@ -1533,33 +1533,33 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1533
1533
|
}>;
|
1534
1534
|
uploads: z.ZodArray<z.ZodObject<{
|
1535
1535
|
id: z.ZodString;
|
1536
|
-
createdAt: z.
|
1537
|
-
updatedAt: z.
|
1538
|
-
deletedAt: z.ZodNullable<z.
|
1536
|
+
createdAt: z.ZodDate;
|
1537
|
+
updatedAt: z.ZodDate;
|
1538
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1539
1539
|
customFieldId: z.ZodString;
|
1540
1540
|
upload: z.ZodObject<{
|
1541
1541
|
id: z.ZodString;
|
1542
|
-
createdAt: z.
|
1543
|
-
updatedAt: z.
|
1544
|
-
deletedAt: z.ZodNullable<z.
|
1542
|
+
createdAt: z.ZodDate;
|
1543
|
+
updatedAt: z.ZodDate;
|
1544
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1545
1545
|
bucketName: z.ZodString;
|
1546
1546
|
fileName: z.ZodString;
|
1547
1547
|
fileSize: z.ZodNumber;
|
1548
1548
|
fileKey: z.ZodString;
|
1549
1549
|
}, "strip", z.ZodTypeAny, {
|
1550
1550
|
id: string;
|
1551
|
-
createdAt:
|
1552
|
-
updatedAt:
|
1553
|
-
deletedAt:
|
1551
|
+
createdAt: Date;
|
1552
|
+
updatedAt: Date;
|
1553
|
+
deletedAt: Date | null;
|
1554
1554
|
fileName: string;
|
1555
1555
|
fileKey: string;
|
1556
1556
|
bucketName: string;
|
1557
1557
|
fileSize: number;
|
1558
1558
|
}, {
|
1559
1559
|
id: string;
|
1560
|
-
createdAt:
|
1561
|
-
updatedAt:
|
1562
|
-
deletedAt:
|
1560
|
+
createdAt: Date;
|
1561
|
+
updatedAt: Date;
|
1562
|
+
deletedAt: Date | null;
|
1563
1563
|
fileName: string;
|
1564
1564
|
fileKey: string;
|
1565
1565
|
bucketName: string;
|
@@ -1567,15 +1567,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1567
1567
|
}>;
|
1568
1568
|
}, "strip", z.ZodTypeAny, {
|
1569
1569
|
id: string;
|
1570
|
-
createdAt:
|
1571
|
-
updatedAt:
|
1572
|
-
deletedAt:
|
1570
|
+
createdAt: Date;
|
1571
|
+
updatedAt: Date;
|
1572
|
+
deletedAt: Date | null;
|
1573
1573
|
customFieldId: string;
|
1574
1574
|
upload: {
|
1575
1575
|
id: string;
|
1576
|
-
createdAt:
|
1577
|
-
updatedAt:
|
1578
|
-
deletedAt:
|
1576
|
+
createdAt: Date;
|
1577
|
+
updatedAt: Date;
|
1578
|
+
deletedAt: Date | null;
|
1579
1579
|
fileName: string;
|
1580
1580
|
fileKey: string;
|
1581
1581
|
bucketName: string;
|
@@ -1583,15 +1583,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1583
1583
|
};
|
1584
1584
|
}, {
|
1585
1585
|
id: string;
|
1586
|
-
createdAt:
|
1587
|
-
updatedAt:
|
1588
|
-
deletedAt:
|
1586
|
+
createdAt: Date;
|
1587
|
+
updatedAt: Date;
|
1588
|
+
deletedAt: Date | null;
|
1589
1589
|
customFieldId: string;
|
1590
1590
|
upload: {
|
1591
1591
|
id: string;
|
1592
|
-
createdAt:
|
1593
|
-
updatedAt:
|
1594
|
-
deletedAt:
|
1592
|
+
createdAt: Date;
|
1593
|
+
updatedAt: Date;
|
1594
|
+
deletedAt: Date | null;
|
1595
1595
|
fileName: string;
|
1596
1596
|
fileKey: string;
|
1597
1597
|
bucketName: string;
|
@@ -1607,9 +1607,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1607
1607
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1608
1608
|
id: string;
|
1609
1609
|
position: number;
|
1610
|
-
createdAt:
|
1611
|
-
updatedAt:
|
1612
|
-
deletedAt:
|
1610
|
+
createdAt: Date;
|
1611
|
+
updatedAt: Date;
|
1612
|
+
deletedAt: Date | null;
|
1613
1613
|
isDefault: boolean;
|
1614
1614
|
systemName: string;
|
1615
1615
|
displayName: string;
|
@@ -1623,15 +1623,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1623
1623
|
dateValue: Date | null;
|
1624
1624
|
uploads: {
|
1625
1625
|
id: string;
|
1626
|
-
createdAt:
|
1627
|
-
updatedAt:
|
1628
|
-
deletedAt:
|
1626
|
+
createdAt: Date;
|
1627
|
+
updatedAt: Date;
|
1628
|
+
deletedAt: Date | null;
|
1629
1629
|
customFieldId: string;
|
1630
1630
|
upload: {
|
1631
1631
|
id: string;
|
1632
|
-
createdAt:
|
1633
|
-
updatedAt:
|
1634
|
-
deletedAt:
|
1632
|
+
createdAt: Date;
|
1633
|
+
updatedAt: Date;
|
1634
|
+
deletedAt: Date | null;
|
1635
1635
|
fileName: string;
|
1636
1636
|
fileKey: string;
|
1637
1637
|
bucketName: string;
|
@@ -1647,9 +1647,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1647
1647
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1648
1648
|
id: string;
|
1649
1649
|
position: number;
|
1650
|
-
createdAt:
|
1651
|
-
updatedAt:
|
1652
|
-
deletedAt:
|
1650
|
+
createdAt: Date;
|
1651
|
+
updatedAt: Date;
|
1652
|
+
deletedAt: Date | null;
|
1653
1653
|
isDefault: boolean;
|
1654
1654
|
systemName: string;
|
1655
1655
|
displayName: string;
|
@@ -1663,15 +1663,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1663
1663
|
dateValue: Date | null;
|
1664
1664
|
uploads: {
|
1665
1665
|
id: string;
|
1666
|
-
createdAt:
|
1667
|
-
updatedAt:
|
1668
|
-
deletedAt:
|
1666
|
+
createdAt: Date;
|
1667
|
+
updatedAt: Date;
|
1668
|
+
deletedAt: Date | null;
|
1669
1669
|
customFieldId: string;
|
1670
1670
|
upload: {
|
1671
1671
|
id: string;
|
1672
|
-
createdAt:
|
1673
|
-
updatedAt:
|
1674
|
-
deletedAt:
|
1672
|
+
createdAt: Date;
|
1673
|
+
updatedAt: Date;
|
1674
|
+
deletedAt: Date | null;
|
1675
1675
|
fileName: string;
|
1676
1676
|
fileKey: string;
|
1677
1677
|
bucketName: string;
|
@@ -1800,9 +1800,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1800
1800
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1801
1801
|
id: string;
|
1802
1802
|
position: number;
|
1803
|
-
createdAt:
|
1804
|
-
updatedAt:
|
1805
|
-
deletedAt:
|
1803
|
+
createdAt: Date;
|
1804
|
+
updatedAt: Date;
|
1805
|
+
deletedAt: Date | null;
|
1806
1806
|
isDefault: boolean;
|
1807
1807
|
systemName: string;
|
1808
1808
|
displayName: string;
|
@@ -1816,15 +1816,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1816
1816
|
dateValue: Date | null;
|
1817
1817
|
uploads: {
|
1818
1818
|
id: string;
|
1819
|
-
createdAt:
|
1820
|
-
updatedAt:
|
1821
|
-
deletedAt:
|
1819
|
+
createdAt: Date;
|
1820
|
+
updatedAt: Date;
|
1821
|
+
deletedAt: Date | null;
|
1822
1822
|
customFieldId: string;
|
1823
1823
|
upload: {
|
1824
1824
|
id: string;
|
1825
|
-
createdAt:
|
1826
|
-
updatedAt:
|
1827
|
-
deletedAt:
|
1825
|
+
createdAt: Date;
|
1826
|
+
updatedAt: Date;
|
1827
|
+
deletedAt: Date | null;
|
1828
1828
|
fileName: string;
|
1829
1829
|
fileKey: string;
|
1830
1830
|
bucketName: string;
|
@@ -1838,15 +1838,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1838
1838
|
tags: {
|
1839
1839
|
id: string;
|
1840
1840
|
name: string;
|
1841
|
-
createdAt:
|
1842
|
-
updatedAt:
|
1843
|
-
deletedAt:
|
1841
|
+
createdAt: Date;
|
1842
|
+
updatedAt: Date;
|
1843
|
+
deletedAt: Date | null;
|
1844
1844
|
}[];
|
1845
1845
|
company: {
|
1846
1846
|
id: string;
|
1847
|
-
createdAt:
|
1848
|
-
updatedAt:
|
1849
|
-
deletedAt:
|
1847
|
+
createdAt: Date;
|
1848
|
+
updatedAt: Date;
|
1849
|
+
deletedAt: Date | null;
|
1850
1850
|
address?: string | null | undefined;
|
1851
1851
|
name?: string | undefined;
|
1852
1852
|
phone?: string | null | undefined;
|
@@ -1901,9 +1901,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1901
1901
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1902
1902
|
id: string;
|
1903
1903
|
position: number;
|
1904
|
-
createdAt:
|
1905
|
-
updatedAt:
|
1906
|
-
deletedAt:
|
1904
|
+
createdAt: Date;
|
1905
|
+
updatedAt: Date;
|
1906
|
+
deletedAt: Date | null;
|
1907
1907
|
isDefault: boolean;
|
1908
1908
|
systemName: string;
|
1909
1909
|
displayName: string;
|
@@ -1917,15 +1917,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1917
1917
|
dateValue: Date | null;
|
1918
1918
|
uploads: {
|
1919
1919
|
id: string;
|
1920
|
-
createdAt:
|
1921
|
-
updatedAt:
|
1922
|
-
deletedAt:
|
1920
|
+
createdAt: Date;
|
1921
|
+
updatedAt: Date;
|
1922
|
+
deletedAt: Date | null;
|
1923
1923
|
customFieldId: string;
|
1924
1924
|
upload: {
|
1925
1925
|
id: string;
|
1926
|
-
createdAt:
|
1927
|
-
updatedAt:
|
1928
|
-
deletedAt:
|
1926
|
+
createdAt: Date;
|
1927
|
+
updatedAt: Date;
|
1928
|
+
deletedAt: Date | null;
|
1929
1929
|
fileName: string;
|
1930
1930
|
fileKey: string;
|
1931
1931
|
bucketName: string;
|
@@ -1939,15 +1939,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1939
1939
|
tags: {
|
1940
1940
|
id: string;
|
1941
1941
|
name: string;
|
1942
|
-
createdAt:
|
1943
|
-
updatedAt:
|
1944
|
-
deletedAt:
|
1942
|
+
createdAt: Date;
|
1943
|
+
updatedAt: Date;
|
1944
|
+
deletedAt: Date | null;
|
1945
1945
|
}[];
|
1946
1946
|
company: {
|
1947
1947
|
id: string;
|
1948
|
-
createdAt:
|
1949
|
-
updatedAt:
|
1950
|
-
deletedAt:
|
1948
|
+
createdAt: Date;
|
1949
|
+
updatedAt: Date;
|
1950
|
+
deletedAt: Date | null;
|
1951
1951
|
address?: string | null | undefined;
|
1952
1952
|
name?: string | undefined;
|
1953
1953
|
phone?: string | null | undefined;
|
@@ -1995,9 +1995,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1995
1995
|
picture?: string | undefined;
|
1996
1996
|
additionalCredentials?: any;
|
1997
1997
|
};
|
1998
|
-
createdAt:
|
1999
|
-
updatedAt:
|
2000
|
-
deletedAt:
|
1998
|
+
createdAt: Date;
|
1999
|
+
updatedAt: Date;
|
2000
|
+
deletedAt: Date | null;
|
2001
2001
|
contact: {
|
2002
2002
|
id: string;
|
2003
2003
|
channel: string | null;
|
@@ -2015,9 +2015,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2015
2015
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2016
2016
|
id: string;
|
2017
2017
|
position: number;
|
2018
|
-
createdAt:
|
2019
|
-
updatedAt:
|
2020
|
-
deletedAt:
|
2018
|
+
createdAt: Date;
|
2019
|
+
updatedAt: Date;
|
2020
|
+
deletedAt: Date | null;
|
2021
2021
|
isDefault: boolean;
|
2022
2022
|
systemName: string;
|
2023
2023
|
displayName: string;
|
@@ -2031,15 +2031,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2031
2031
|
dateValue: Date | null;
|
2032
2032
|
uploads: {
|
2033
2033
|
id: string;
|
2034
|
-
createdAt:
|
2035
|
-
updatedAt:
|
2036
|
-
deletedAt:
|
2034
|
+
createdAt: Date;
|
2035
|
+
updatedAt: Date;
|
2036
|
+
deletedAt: Date | null;
|
2037
2037
|
customFieldId: string;
|
2038
2038
|
upload: {
|
2039
2039
|
id: string;
|
2040
|
-
createdAt:
|
2041
|
-
updatedAt:
|
2042
|
-
deletedAt:
|
2040
|
+
createdAt: Date;
|
2041
|
+
updatedAt: Date;
|
2042
|
+
deletedAt: Date | null;
|
2043
2043
|
fileName: string;
|
2044
2044
|
fileKey: string;
|
2045
2045
|
bucketName: string;
|
@@ -2053,15 +2053,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2053
2053
|
tags: {
|
2054
2054
|
id: string;
|
2055
2055
|
name: string;
|
2056
|
-
createdAt:
|
2057
|
-
updatedAt:
|
2058
|
-
deletedAt:
|
2056
|
+
createdAt: Date;
|
2057
|
+
updatedAt: Date;
|
2058
|
+
deletedAt: Date | null;
|
2059
2059
|
}[];
|
2060
2060
|
company: {
|
2061
2061
|
id: string;
|
2062
|
-
createdAt:
|
2063
|
-
updatedAt:
|
2064
|
-
deletedAt:
|
2062
|
+
createdAt: Date;
|
2063
|
+
updatedAt: Date;
|
2064
|
+
deletedAt: Date | null;
|
2065
2065
|
address?: string | null | undefined;
|
2066
2066
|
name?: string | undefined;
|
2067
2067
|
phone?: string | null | undefined;
|
@@ -2111,9 +2111,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2111
2111
|
picture?: string | undefined;
|
2112
2112
|
additionalCredentials?: any;
|
2113
2113
|
};
|
2114
|
-
createdAt:
|
2115
|
-
updatedAt:
|
2116
|
-
deletedAt:
|
2114
|
+
createdAt: Date;
|
2115
|
+
updatedAt: Date;
|
2116
|
+
deletedAt: Date | null;
|
2117
2117
|
contact: {
|
2118
2118
|
id: string;
|
2119
2119
|
channel: string | null;
|
@@ -2131,9 +2131,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2131
2131
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2132
2132
|
id: string;
|
2133
2133
|
position: number;
|
2134
|
-
createdAt:
|
2135
|
-
updatedAt:
|
2136
|
-
deletedAt:
|
2134
|
+
createdAt: Date;
|
2135
|
+
updatedAt: Date;
|
2136
|
+
deletedAt: Date | null;
|
2137
2137
|
isDefault: boolean;
|
2138
2138
|
systemName: string;
|
2139
2139
|
displayName: string;
|
@@ -2147,15 +2147,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2147
2147
|
dateValue: Date | null;
|
2148
2148
|
uploads: {
|
2149
2149
|
id: string;
|
2150
|
-
createdAt:
|
2151
|
-
updatedAt:
|
2152
|
-
deletedAt:
|
2150
|
+
createdAt: Date;
|
2151
|
+
updatedAt: Date;
|
2152
|
+
deletedAt: Date | null;
|
2153
2153
|
customFieldId: string;
|
2154
2154
|
upload: {
|
2155
2155
|
id: string;
|
2156
|
-
createdAt:
|
2157
|
-
updatedAt:
|
2158
|
-
deletedAt:
|
2156
|
+
createdAt: Date;
|
2157
|
+
updatedAt: Date;
|
2158
|
+
deletedAt: Date | null;
|
2159
2159
|
fileName: string;
|
2160
2160
|
fileKey: string;
|
2161
2161
|
bucketName: string;
|
@@ -2169,15 +2169,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2169
2169
|
tags: {
|
2170
2170
|
id: string;
|
2171
2171
|
name: string;
|
2172
|
-
createdAt:
|
2173
|
-
updatedAt:
|
2174
|
-
deletedAt:
|
2172
|
+
createdAt: Date;
|
2173
|
+
updatedAt: Date;
|
2174
|
+
deletedAt: Date | null;
|
2175
2175
|
}[];
|
2176
2176
|
company: {
|
2177
2177
|
id: string;
|
2178
|
-
createdAt:
|
2179
|
-
updatedAt:
|
2180
|
-
deletedAt:
|
2178
|
+
createdAt: Date;
|
2179
|
+
updatedAt: Date;
|
2180
|
+
deletedAt: Date | null;
|
2181
2181
|
address?: string | null | undefined;
|
2182
2182
|
name?: string | undefined;
|
2183
2183
|
phone?: string | null | undefined;
|
@@ -2619,9 +2619,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2619
2619
|
}>;
|
2620
2620
|
channel: z.ZodOptional<z.ZodObject<{
|
2621
2621
|
id: z.ZodOptional<z.ZodString>;
|
2622
|
-
createdAt: z.ZodOptional<z.
|
2623
|
-
updatedAt: z.ZodOptional<z.
|
2624
|
-
deletedAt: z.ZodOptional<z.ZodNullable<z.
|
2622
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
2623
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
2624
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
2625
2625
|
name: z.ZodOptional<z.ZodString>;
|
2626
2626
|
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
|
2627
2627
|
metadata: z.ZodOptional<z.ZodObject<{
|
@@ -2847,9 +2847,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2847
2847
|
}>>;
|
2848
2848
|
}, "strip", z.ZodTypeAny, {
|
2849
2849
|
id?: string | undefined;
|
2850
|
-
createdAt?:
|
2851
|
-
updatedAt?:
|
2852
|
-
deletedAt?:
|
2850
|
+
createdAt?: Date | undefined;
|
2851
|
+
updatedAt?: Date | undefined;
|
2852
|
+
deletedAt?: Date | null | undefined;
|
2853
2853
|
name?: string | undefined;
|
2854
2854
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
2855
2855
|
metadata?: {
|
@@ -2909,9 +2909,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2909
2909
|
} | undefined;
|
2910
2910
|
}, {
|
2911
2911
|
id?: string | undefined;
|
2912
|
-
createdAt?:
|
2913
|
-
updatedAt?:
|
2914
|
-
deletedAt?:
|
2912
|
+
createdAt?: Date | undefined;
|
2913
|
+
updatedAt?: Date | undefined;
|
2914
|
+
deletedAt?: Date | null | undefined;
|
2915
2915
|
name?: string | undefined;
|
2916
2916
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
2917
2917
|
metadata?: {
|
@@ -2972,9 +2972,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2972
2972
|
}>>;
|
2973
2973
|
cxlog: z.ZodObject<{
|
2974
2974
|
id: z.ZodString;
|
2975
|
-
createdAt: z.
|
2976
|
-
updatedAt: z.
|
2977
|
-
deletedAt: z.ZodNullable<z.
|
2975
|
+
createdAt: z.ZodDate;
|
2976
|
+
updatedAt: z.ZodDate;
|
2977
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2978
2978
|
caseId: z.ZodNumber;
|
2979
2979
|
entityId: z.ZodString;
|
2980
2980
|
entityName: z.ZodString;
|
@@ -2989,44 +2989,44 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2989
2989
|
disposition: z.ZodNullable<z.ZodString>;
|
2990
2990
|
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
2991
2991
|
id: z.ZodString;
|
2992
|
-
createdAt: z.
|
2993
|
-
updatedAt: z.
|
2994
|
-
deletedAt: z.ZodNullable<z.
|
2992
|
+
createdAt: z.ZodDate;
|
2993
|
+
updatedAt: z.ZodDate;
|
2994
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2995
2995
|
note: z.ZodNullable<z.ZodString>;
|
2996
2996
|
disposition: z.ZodNullable<z.ZodString>;
|
2997
2997
|
callFrom: z.ZodNullable<z.ZodString>;
|
2998
2998
|
callTo: z.ZodNullable<z.ZodString>;
|
2999
2999
|
tags: z.ZodArray<z.ZodObject<{
|
3000
3000
|
id: z.ZodString;
|
3001
|
-
createdAt: z.
|
3002
|
-
updatedAt: z.
|
3003
|
-
deletedAt: z.ZodNullable<z.
|
3001
|
+
createdAt: z.ZodDate;
|
3002
|
+
updatedAt: z.ZodDate;
|
3003
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3004
3004
|
name: z.ZodString;
|
3005
3005
|
}, "strip", z.ZodTypeAny, {
|
3006
3006
|
id: string;
|
3007
3007
|
name: string;
|
3008
|
-
createdAt:
|
3009
|
-
updatedAt:
|
3010
|
-
deletedAt:
|
3008
|
+
createdAt: Date;
|
3009
|
+
updatedAt: Date;
|
3010
|
+
deletedAt: Date | null;
|
3011
3011
|
}, {
|
3012
3012
|
id: string;
|
3013
3013
|
name: string;
|
3014
|
-
createdAt:
|
3015
|
-
updatedAt:
|
3016
|
-
deletedAt:
|
3014
|
+
createdAt: Date;
|
3015
|
+
updatedAt: Date;
|
3016
|
+
deletedAt: Date | null;
|
3017
3017
|
}>, "many">;
|
3018
3018
|
}, "strip", z.ZodTypeAny, {
|
3019
3019
|
id: string;
|
3020
3020
|
disposition: string | null;
|
3021
|
-
createdAt:
|
3022
|
-
updatedAt:
|
3023
|
-
deletedAt:
|
3021
|
+
createdAt: Date;
|
3022
|
+
updatedAt: Date;
|
3023
|
+
deletedAt: Date | null;
|
3024
3024
|
tags: {
|
3025
3025
|
id: string;
|
3026
3026
|
name: string;
|
3027
|
-
createdAt:
|
3028
|
-
updatedAt:
|
3029
|
-
deletedAt:
|
3027
|
+
createdAt: Date;
|
3028
|
+
updatedAt: Date;
|
3029
|
+
deletedAt: Date | null;
|
3030
3030
|
}[];
|
3031
3031
|
callFrom: string | null;
|
3032
3032
|
callTo: string | null;
|
@@ -3034,15 +3034,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3034
3034
|
}, {
|
3035
3035
|
id: string;
|
3036
3036
|
disposition: string | null;
|
3037
|
-
createdAt:
|
3038
|
-
updatedAt:
|
3039
|
-
deletedAt:
|
3037
|
+
createdAt: Date;
|
3038
|
+
updatedAt: Date;
|
3039
|
+
deletedAt: Date | null;
|
3040
3040
|
tags: {
|
3041
3041
|
id: string;
|
3042
3042
|
name: string;
|
3043
|
-
createdAt:
|
3044
|
-
updatedAt:
|
3045
|
-
deletedAt:
|
3043
|
+
createdAt: Date;
|
3044
|
+
updatedAt: Date;
|
3045
|
+
deletedAt: Date | null;
|
3046
3046
|
}[];
|
3047
3047
|
callFrom: string | null;
|
3048
3048
|
callTo: string | null;
|
@@ -3053,9 +3053,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3053
3053
|
channel: string | null;
|
3054
3054
|
disposition: string | null;
|
3055
3055
|
direction: string | null;
|
3056
|
-
createdAt:
|
3057
|
-
updatedAt:
|
3058
|
-
deletedAt:
|
3056
|
+
createdAt: Date;
|
3057
|
+
updatedAt: Date;
|
3058
|
+
deletedAt: Date | null;
|
3059
3059
|
entityId: string;
|
3060
3060
|
contactId: string | null;
|
3061
3061
|
caseId: number;
|
@@ -3068,15 +3068,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3068
3068
|
wrapUpForm: {
|
3069
3069
|
id: string;
|
3070
3070
|
disposition: string | null;
|
3071
|
-
createdAt:
|
3072
|
-
updatedAt:
|
3073
|
-
deletedAt:
|
3071
|
+
createdAt: Date;
|
3072
|
+
updatedAt: Date;
|
3073
|
+
deletedAt: Date | null;
|
3074
3074
|
tags: {
|
3075
3075
|
id: string;
|
3076
3076
|
name: string;
|
3077
|
-
createdAt:
|
3078
|
-
updatedAt:
|
3079
|
-
deletedAt:
|
3077
|
+
createdAt: Date;
|
3078
|
+
updatedAt: Date;
|
3079
|
+
deletedAt: Date | null;
|
3080
3080
|
}[];
|
3081
3081
|
callFrom: string | null;
|
3082
3082
|
callTo: string | null;
|
@@ -3087,9 +3087,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3087
3087
|
channel: string | null;
|
3088
3088
|
disposition: string | null;
|
3089
3089
|
direction: string | null;
|
3090
|
-
createdAt:
|
3091
|
-
updatedAt:
|
3092
|
-
deletedAt:
|
3090
|
+
createdAt: Date;
|
3091
|
+
updatedAt: Date;
|
3092
|
+
deletedAt: Date | null;
|
3093
3093
|
entityId: string;
|
3094
3094
|
contactId: string | null;
|
3095
3095
|
caseId: number;
|
@@ -3102,15 +3102,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3102
3102
|
wrapUpForm: {
|
3103
3103
|
id: string;
|
3104
3104
|
disposition: string | null;
|
3105
|
-
createdAt:
|
3106
|
-
updatedAt:
|
3107
|
-
deletedAt:
|
3105
|
+
createdAt: Date;
|
3106
|
+
updatedAt: Date;
|
3107
|
+
deletedAt: Date | null;
|
3108
3108
|
tags: {
|
3109
3109
|
id: string;
|
3110
3110
|
name: string;
|
3111
|
-
createdAt:
|
3112
|
-
updatedAt:
|
3113
|
-
deletedAt:
|
3111
|
+
createdAt: Date;
|
3112
|
+
updatedAt: Date;
|
3113
|
+
deletedAt: Date | null;
|
3114
3114
|
}[];
|
3115
3115
|
callFrom: string | null;
|
3116
3116
|
callTo: string | null;
|
@@ -3120,9 +3120,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3120
3120
|
}, "strip", z.ZodTypeAny, {
|
3121
3121
|
id: string;
|
3122
3122
|
direction: "incoming" | "outgoing" | "system";
|
3123
|
-
createdAt:
|
3124
|
-
updatedAt:
|
3125
|
-
deletedAt:
|
3123
|
+
createdAt: Date;
|
3124
|
+
updatedAt: Date;
|
3125
|
+
deletedAt: Date | null;
|
3126
3126
|
actor: {
|
3127
3127
|
id: string;
|
3128
3128
|
address: string | null;
|
@@ -3182,9 +3182,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3182
3182
|
picture?: string | undefined;
|
3183
3183
|
additionalCredentials?: any;
|
3184
3184
|
};
|
3185
|
-
createdAt:
|
3186
|
-
updatedAt:
|
3187
|
-
deletedAt:
|
3185
|
+
createdAt: Date;
|
3186
|
+
updatedAt: Date;
|
3187
|
+
deletedAt: Date | null;
|
3188
3188
|
contact: {
|
3189
3189
|
id: string;
|
3190
3190
|
channel: string | null;
|
@@ -3202,9 +3202,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3202
3202
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3203
3203
|
id: string;
|
3204
3204
|
position: number;
|
3205
|
-
createdAt:
|
3206
|
-
updatedAt:
|
3207
|
-
deletedAt:
|
3205
|
+
createdAt: Date;
|
3206
|
+
updatedAt: Date;
|
3207
|
+
deletedAt: Date | null;
|
3208
3208
|
isDefault: boolean;
|
3209
3209
|
systemName: string;
|
3210
3210
|
displayName: string;
|
@@ -3218,15 +3218,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3218
3218
|
dateValue: Date | null;
|
3219
3219
|
uploads: {
|
3220
3220
|
id: string;
|
3221
|
-
createdAt:
|
3222
|
-
updatedAt:
|
3223
|
-
deletedAt:
|
3221
|
+
createdAt: Date;
|
3222
|
+
updatedAt: Date;
|
3223
|
+
deletedAt: Date | null;
|
3224
3224
|
customFieldId: string;
|
3225
3225
|
upload: {
|
3226
3226
|
id: string;
|
3227
|
-
createdAt:
|
3228
|
-
updatedAt:
|
3229
|
-
deletedAt:
|
3227
|
+
createdAt: Date;
|
3228
|
+
updatedAt: Date;
|
3229
|
+
deletedAt: Date | null;
|
3230
3230
|
fileName: string;
|
3231
3231
|
fileKey: string;
|
3232
3232
|
bucketName: string;
|
@@ -3240,15 +3240,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3240
3240
|
tags: {
|
3241
3241
|
id: string;
|
3242
3242
|
name: string;
|
3243
|
-
createdAt:
|
3244
|
-
updatedAt:
|
3245
|
-
deletedAt:
|
3243
|
+
createdAt: Date;
|
3244
|
+
updatedAt: Date;
|
3245
|
+
deletedAt: Date | null;
|
3246
3246
|
}[];
|
3247
3247
|
company: {
|
3248
3248
|
id: string;
|
3249
|
-
createdAt:
|
3250
|
-
updatedAt:
|
3251
|
-
deletedAt:
|
3249
|
+
createdAt: Date;
|
3250
|
+
updatedAt: Date;
|
3251
|
+
deletedAt: Date | null;
|
3252
3252
|
address?: string | null | undefined;
|
3253
3253
|
name?: string | undefined;
|
3254
3254
|
phone?: string | null | undefined;
|
@@ -3338,9 +3338,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3338
3338
|
channel: string | null;
|
3339
3339
|
disposition: string | null;
|
3340
3340
|
direction: string | null;
|
3341
|
-
createdAt:
|
3342
|
-
updatedAt:
|
3343
|
-
deletedAt:
|
3341
|
+
createdAt: Date;
|
3342
|
+
updatedAt: Date;
|
3343
|
+
deletedAt: Date | null;
|
3344
3344
|
entityId: string;
|
3345
3345
|
contactId: string | null;
|
3346
3346
|
caseId: number;
|
@@ -3353,15 +3353,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3353
3353
|
wrapUpForm: {
|
3354
3354
|
id: string;
|
3355
3355
|
disposition: string | null;
|
3356
|
-
createdAt:
|
3357
|
-
updatedAt:
|
3358
|
-
deletedAt:
|
3356
|
+
createdAt: Date;
|
3357
|
+
updatedAt: Date;
|
3358
|
+
deletedAt: Date | null;
|
3359
3359
|
tags: {
|
3360
3360
|
id: string;
|
3361
3361
|
name: string;
|
3362
|
-
createdAt:
|
3363
|
-
updatedAt:
|
3364
|
-
deletedAt:
|
3362
|
+
createdAt: Date;
|
3363
|
+
updatedAt: Date;
|
3364
|
+
deletedAt: Date | null;
|
3365
3365
|
}[];
|
3366
3366
|
callFrom: string | null;
|
3367
3367
|
callTo: string | null;
|
@@ -3370,9 +3370,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3370
3370
|
};
|
3371
3371
|
channel?: {
|
3372
3372
|
id?: string | undefined;
|
3373
|
-
createdAt?:
|
3374
|
-
updatedAt?:
|
3375
|
-
deletedAt?:
|
3373
|
+
createdAt?: Date | undefined;
|
3374
|
+
updatedAt?: Date | undefined;
|
3375
|
+
deletedAt?: Date | null | undefined;
|
3376
3376
|
name?: string | undefined;
|
3377
3377
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
3378
3378
|
metadata?: {
|
@@ -3434,9 +3434,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3434
3434
|
}, {
|
3435
3435
|
id: string;
|
3436
3436
|
direction: "incoming" | "outgoing" | "system";
|
3437
|
-
createdAt:
|
3438
|
-
updatedAt:
|
3439
|
-
deletedAt:
|
3437
|
+
createdAt: Date;
|
3438
|
+
updatedAt: Date;
|
3439
|
+
deletedAt: Date | null;
|
3440
3440
|
actor: {
|
3441
3441
|
id: string;
|
3442
3442
|
address: string | null;
|
@@ -3496,9 +3496,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3496
3496
|
picture?: string | undefined;
|
3497
3497
|
additionalCredentials?: any;
|
3498
3498
|
};
|
3499
|
-
createdAt:
|
3500
|
-
updatedAt:
|
3501
|
-
deletedAt:
|
3499
|
+
createdAt: Date;
|
3500
|
+
updatedAt: Date;
|
3501
|
+
deletedAt: Date | null;
|
3502
3502
|
contact: {
|
3503
3503
|
id: string;
|
3504
3504
|
channel: string | null;
|
@@ -3516,9 +3516,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3516
3516
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3517
3517
|
id: string;
|
3518
3518
|
position: number;
|
3519
|
-
createdAt:
|
3520
|
-
updatedAt:
|
3521
|
-
deletedAt:
|
3519
|
+
createdAt: Date;
|
3520
|
+
updatedAt: Date;
|
3521
|
+
deletedAt: Date | null;
|
3522
3522
|
isDefault: boolean;
|
3523
3523
|
systemName: string;
|
3524
3524
|
displayName: string;
|
@@ -3532,15 +3532,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3532
3532
|
dateValue: Date | null;
|
3533
3533
|
uploads: {
|
3534
3534
|
id: string;
|
3535
|
-
createdAt:
|
3536
|
-
updatedAt:
|
3537
|
-
deletedAt:
|
3535
|
+
createdAt: Date;
|
3536
|
+
updatedAt: Date;
|
3537
|
+
deletedAt: Date | null;
|
3538
3538
|
customFieldId: string;
|
3539
3539
|
upload: {
|
3540
3540
|
id: string;
|
3541
|
-
createdAt:
|
3542
|
-
updatedAt:
|
3543
|
-
deletedAt:
|
3541
|
+
createdAt: Date;
|
3542
|
+
updatedAt: Date;
|
3543
|
+
deletedAt: Date | null;
|
3544
3544
|
fileName: string;
|
3545
3545
|
fileKey: string;
|
3546
3546
|
bucketName: string;
|
@@ -3554,15 +3554,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3554
3554
|
tags: {
|
3555
3555
|
id: string;
|
3556
3556
|
name: string;
|
3557
|
-
createdAt:
|
3558
|
-
updatedAt:
|
3559
|
-
deletedAt:
|
3557
|
+
createdAt: Date;
|
3558
|
+
updatedAt: Date;
|
3559
|
+
deletedAt: Date | null;
|
3560
3560
|
}[];
|
3561
3561
|
company: {
|
3562
3562
|
id: string;
|
3563
|
-
createdAt:
|
3564
|
-
updatedAt:
|
3565
|
-
deletedAt:
|
3563
|
+
createdAt: Date;
|
3564
|
+
updatedAt: Date;
|
3565
|
+
deletedAt: Date | null;
|
3566
3566
|
address?: string | null | undefined;
|
3567
3567
|
name?: string | undefined;
|
3568
3568
|
phone?: string | null | undefined;
|
@@ -3652,9 +3652,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3652
3652
|
channel: string | null;
|
3653
3653
|
disposition: string | null;
|
3654
3654
|
direction: string | null;
|
3655
|
-
createdAt:
|
3656
|
-
updatedAt:
|
3657
|
-
deletedAt:
|
3655
|
+
createdAt: Date;
|
3656
|
+
updatedAt: Date;
|
3657
|
+
deletedAt: Date | null;
|
3658
3658
|
entityId: string;
|
3659
3659
|
contactId: string | null;
|
3660
3660
|
caseId: number;
|
@@ -3667,15 +3667,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3667
3667
|
wrapUpForm: {
|
3668
3668
|
id: string;
|
3669
3669
|
disposition: string | null;
|
3670
|
-
createdAt:
|
3671
|
-
updatedAt:
|
3672
|
-
deletedAt:
|
3670
|
+
createdAt: Date;
|
3671
|
+
updatedAt: Date;
|
3672
|
+
deletedAt: Date | null;
|
3673
3673
|
tags: {
|
3674
3674
|
id: string;
|
3675
3675
|
name: string;
|
3676
|
-
createdAt:
|
3677
|
-
updatedAt:
|
3678
|
-
deletedAt:
|
3676
|
+
createdAt: Date;
|
3677
|
+
updatedAt: Date;
|
3678
|
+
deletedAt: Date | null;
|
3679
3679
|
}[];
|
3680
3680
|
callFrom: string | null;
|
3681
3681
|
callTo: string | null;
|
@@ -3684,9 +3684,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3684
3684
|
};
|
3685
3685
|
channel?: {
|
3686
3686
|
id?: string | undefined;
|
3687
|
-
createdAt?:
|
3688
|
-
updatedAt?:
|
3689
|
-
deletedAt?:
|
3687
|
+
createdAt?: Date | undefined;
|
3688
|
+
updatedAt?: Date | undefined;
|
3689
|
+
deletedAt?: Date | null | undefined;
|
3690
3690
|
name?: string | undefined;
|
3691
3691
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
3692
3692
|
metadata?: {
|
@@ -3748,27 +3748,27 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3748
3748
|
}>;
|
3749
3749
|
upload: z.ZodObject<{
|
3750
3750
|
id: z.ZodString;
|
3751
|
-
createdAt: z.
|
3752
|
-
updatedAt: z.
|
3753
|
-
deletedAt: z.ZodNullable<z.
|
3751
|
+
createdAt: z.ZodDate;
|
3752
|
+
updatedAt: z.ZodDate;
|
3753
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3754
3754
|
bucketName: z.ZodString;
|
3755
3755
|
fileName: z.ZodString;
|
3756
3756
|
fileSize: z.ZodNumber;
|
3757
3757
|
fileKey: z.ZodString;
|
3758
3758
|
}, "strip", z.ZodTypeAny, {
|
3759
3759
|
id: string;
|
3760
|
-
createdAt:
|
3761
|
-
updatedAt:
|
3762
|
-
deletedAt:
|
3760
|
+
createdAt: Date;
|
3761
|
+
updatedAt: Date;
|
3762
|
+
deletedAt: Date | null;
|
3763
3763
|
fileName: string;
|
3764
3764
|
fileKey: string;
|
3765
3765
|
bucketName: string;
|
3766
3766
|
fileSize: number;
|
3767
3767
|
}, {
|
3768
3768
|
id: string;
|
3769
|
-
createdAt:
|
3770
|
-
updatedAt:
|
3771
|
-
deletedAt:
|
3769
|
+
createdAt: Date;
|
3770
|
+
updatedAt: Date;
|
3771
|
+
deletedAt: Date | null;
|
3772
3772
|
fileName: string;
|
3773
3773
|
fileKey: string;
|
3774
3774
|
bucketName: string;
|
@@ -4377,9 +4377,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4377
4377
|
id: string;
|
4378
4378
|
url: string;
|
4379
4379
|
direction: "incoming" | "outgoing" | "system";
|
4380
|
-
createdAt:
|
4381
|
-
updatedAt:
|
4382
|
-
deletedAt:
|
4380
|
+
createdAt: Date;
|
4381
|
+
updatedAt: Date;
|
4382
|
+
deletedAt: Date | null;
|
4383
4383
|
platformId: string;
|
4384
4384
|
actor: {
|
4385
4385
|
id: string;
|
@@ -4426,9 +4426,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4426
4426
|
};
|
4427
4427
|
upload: {
|
4428
4428
|
id: string;
|
4429
|
-
createdAt:
|
4430
|
-
updatedAt:
|
4431
|
-
deletedAt:
|
4429
|
+
createdAt: Date;
|
4430
|
+
updatedAt: Date;
|
4431
|
+
deletedAt: Date | null;
|
4432
4432
|
fileName: string;
|
4433
4433
|
fileKey: string;
|
4434
4434
|
bucketName: string;
|
@@ -4480,9 +4480,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4480
4480
|
room: {
|
4481
4481
|
id: string;
|
4482
4482
|
direction: "incoming" | "outgoing" | "system";
|
4483
|
-
createdAt:
|
4484
|
-
updatedAt:
|
4485
|
-
deletedAt:
|
4483
|
+
createdAt: Date;
|
4484
|
+
updatedAt: Date;
|
4485
|
+
deletedAt: Date | null;
|
4486
4486
|
actor: {
|
4487
4487
|
id: string;
|
4488
4488
|
address: string | null;
|
@@ -4542,9 +4542,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4542
4542
|
picture?: string | undefined;
|
4543
4543
|
additionalCredentials?: any;
|
4544
4544
|
};
|
4545
|
-
createdAt:
|
4546
|
-
updatedAt:
|
4547
|
-
deletedAt:
|
4545
|
+
createdAt: Date;
|
4546
|
+
updatedAt: Date;
|
4547
|
+
deletedAt: Date | null;
|
4548
4548
|
contact: {
|
4549
4549
|
id: string;
|
4550
4550
|
channel: string | null;
|
@@ -4562,9 +4562,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4562
4562
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4563
4563
|
id: string;
|
4564
4564
|
position: number;
|
4565
|
-
createdAt:
|
4566
|
-
updatedAt:
|
4567
|
-
deletedAt:
|
4565
|
+
createdAt: Date;
|
4566
|
+
updatedAt: Date;
|
4567
|
+
deletedAt: Date | null;
|
4568
4568
|
isDefault: boolean;
|
4569
4569
|
systemName: string;
|
4570
4570
|
displayName: string;
|
@@ -4578,15 +4578,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4578
4578
|
dateValue: Date | null;
|
4579
4579
|
uploads: {
|
4580
4580
|
id: string;
|
4581
|
-
createdAt:
|
4582
|
-
updatedAt:
|
4583
|
-
deletedAt:
|
4581
|
+
createdAt: Date;
|
4582
|
+
updatedAt: Date;
|
4583
|
+
deletedAt: Date | null;
|
4584
4584
|
customFieldId: string;
|
4585
4585
|
upload: {
|
4586
4586
|
id: string;
|
4587
|
-
createdAt:
|
4588
|
-
updatedAt:
|
4589
|
-
deletedAt:
|
4587
|
+
createdAt: Date;
|
4588
|
+
updatedAt: Date;
|
4589
|
+
deletedAt: Date | null;
|
4590
4590
|
fileName: string;
|
4591
4591
|
fileKey: string;
|
4592
4592
|
bucketName: string;
|
@@ -4600,15 +4600,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4600
4600
|
tags: {
|
4601
4601
|
id: string;
|
4602
4602
|
name: string;
|
4603
|
-
createdAt:
|
4604
|
-
updatedAt:
|
4605
|
-
deletedAt:
|
4603
|
+
createdAt: Date;
|
4604
|
+
updatedAt: Date;
|
4605
|
+
deletedAt: Date | null;
|
4606
4606
|
}[];
|
4607
4607
|
company: {
|
4608
4608
|
id: string;
|
4609
|
-
createdAt:
|
4610
|
-
updatedAt:
|
4611
|
-
deletedAt:
|
4609
|
+
createdAt: Date;
|
4610
|
+
updatedAt: Date;
|
4611
|
+
deletedAt: Date | null;
|
4612
4612
|
address?: string | null | undefined;
|
4613
4613
|
name?: string | undefined;
|
4614
4614
|
phone?: string | null | undefined;
|
@@ -4698,9 +4698,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4698
4698
|
channel: string | null;
|
4699
4699
|
disposition: string | null;
|
4700
4700
|
direction: string | null;
|
4701
|
-
createdAt:
|
4702
|
-
updatedAt:
|
4703
|
-
deletedAt:
|
4701
|
+
createdAt: Date;
|
4702
|
+
updatedAt: Date;
|
4703
|
+
deletedAt: Date | null;
|
4704
4704
|
entityId: string;
|
4705
4705
|
contactId: string | null;
|
4706
4706
|
caseId: number;
|
@@ -4713,15 +4713,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4713
4713
|
wrapUpForm: {
|
4714
4714
|
id: string;
|
4715
4715
|
disposition: string | null;
|
4716
|
-
createdAt:
|
4717
|
-
updatedAt:
|
4718
|
-
deletedAt:
|
4716
|
+
createdAt: Date;
|
4717
|
+
updatedAt: Date;
|
4718
|
+
deletedAt: Date | null;
|
4719
4719
|
tags: {
|
4720
4720
|
id: string;
|
4721
4721
|
name: string;
|
4722
|
-
createdAt:
|
4723
|
-
updatedAt:
|
4724
|
-
deletedAt:
|
4722
|
+
createdAt: Date;
|
4723
|
+
updatedAt: Date;
|
4724
|
+
deletedAt: Date | null;
|
4725
4725
|
}[];
|
4726
4726
|
callFrom: string | null;
|
4727
4727
|
callTo: string | null;
|
@@ -4730,9 +4730,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4730
4730
|
};
|
4731
4731
|
channel?: {
|
4732
4732
|
id?: string | undefined;
|
4733
|
-
createdAt?:
|
4734
|
-
updatedAt?:
|
4735
|
-
deletedAt?:
|
4733
|
+
createdAt?: Date | undefined;
|
4734
|
+
updatedAt?: Date | undefined;
|
4735
|
+
deletedAt?: Date | null | undefined;
|
4736
4736
|
name?: string | undefined;
|
4737
4737
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
4738
4738
|
metadata?: {
|
@@ -4849,9 +4849,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4849
4849
|
id: string;
|
4850
4850
|
url: string;
|
4851
4851
|
direction: "incoming" | "outgoing" | "system";
|
4852
|
-
createdAt:
|
4853
|
-
updatedAt:
|
4854
|
-
deletedAt:
|
4852
|
+
createdAt: Date;
|
4853
|
+
updatedAt: Date;
|
4854
|
+
deletedAt: Date | null;
|
4855
4855
|
platformId: string;
|
4856
4856
|
actor: {
|
4857
4857
|
id: string;
|
@@ -4898,9 +4898,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4898
4898
|
};
|
4899
4899
|
upload: {
|
4900
4900
|
id: string;
|
4901
|
-
createdAt:
|
4902
|
-
updatedAt:
|
4903
|
-
deletedAt:
|
4901
|
+
createdAt: Date;
|
4902
|
+
updatedAt: Date;
|
4903
|
+
deletedAt: Date | null;
|
4904
4904
|
fileName: string;
|
4905
4905
|
fileKey: string;
|
4906
4906
|
bucketName: string;
|
@@ -4952,9 +4952,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4952
4952
|
room: {
|
4953
4953
|
id: string;
|
4954
4954
|
direction: "incoming" | "outgoing" | "system";
|
4955
|
-
createdAt:
|
4956
|
-
updatedAt:
|
4957
|
-
deletedAt:
|
4955
|
+
createdAt: Date;
|
4956
|
+
updatedAt: Date;
|
4957
|
+
deletedAt: Date | null;
|
4958
4958
|
actor: {
|
4959
4959
|
id: string;
|
4960
4960
|
address: string | null;
|
@@ -5014,9 +5014,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5014
5014
|
picture?: string | undefined;
|
5015
5015
|
additionalCredentials?: any;
|
5016
5016
|
};
|
5017
|
-
createdAt:
|
5018
|
-
updatedAt:
|
5019
|
-
deletedAt:
|
5017
|
+
createdAt: Date;
|
5018
|
+
updatedAt: Date;
|
5019
|
+
deletedAt: Date | null;
|
5020
5020
|
contact: {
|
5021
5021
|
id: string;
|
5022
5022
|
channel: string | null;
|
@@ -5034,9 +5034,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5034
5034
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
5035
5035
|
id: string;
|
5036
5036
|
position: number;
|
5037
|
-
createdAt:
|
5038
|
-
updatedAt:
|
5039
|
-
deletedAt:
|
5037
|
+
createdAt: Date;
|
5038
|
+
updatedAt: Date;
|
5039
|
+
deletedAt: Date | null;
|
5040
5040
|
isDefault: boolean;
|
5041
5041
|
systemName: string;
|
5042
5042
|
displayName: string;
|
@@ -5050,15 +5050,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5050
5050
|
dateValue: Date | null;
|
5051
5051
|
uploads: {
|
5052
5052
|
id: string;
|
5053
|
-
createdAt:
|
5054
|
-
updatedAt:
|
5055
|
-
deletedAt:
|
5053
|
+
createdAt: Date;
|
5054
|
+
updatedAt: Date;
|
5055
|
+
deletedAt: Date | null;
|
5056
5056
|
customFieldId: string;
|
5057
5057
|
upload: {
|
5058
5058
|
id: string;
|
5059
|
-
createdAt:
|
5060
|
-
updatedAt:
|
5061
|
-
deletedAt:
|
5059
|
+
createdAt: Date;
|
5060
|
+
updatedAt: Date;
|
5061
|
+
deletedAt: Date | null;
|
5062
5062
|
fileName: string;
|
5063
5063
|
fileKey: string;
|
5064
5064
|
bucketName: string;
|
@@ -5072,15 +5072,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5072
5072
|
tags: {
|
5073
5073
|
id: string;
|
5074
5074
|
name: string;
|
5075
|
-
createdAt:
|
5076
|
-
updatedAt:
|
5077
|
-
deletedAt:
|
5075
|
+
createdAt: Date;
|
5076
|
+
updatedAt: Date;
|
5077
|
+
deletedAt: Date | null;
|
5078
5078
|
}[];
|
5079
5079
|
company: {
|
5080
5080
|
id: string;
|
5081
|
-
createdAt:
|
5082
|
-
updatedAt:
|
5083
|
-
deletedAt:
|
5081
|
+
createdAt: Date;
|
5082
|
+
updatedAt: Date;
|
5083
|
+
deletedAt: Date | null;
|
5084
5084
|
address?: string | null | undefined;
|
5085
5085
|
name?: string | undefined;
|
5086
5086
|
phone?: string | null | undefined;
|
@@ -5170,9 +5170,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5170
5170
|
channel: string | null;
|
5171
5171
|
disposition: string | null;
|
5172
5172
|
direction: string | null;
|
5173
|
-
createdAt:
|
5174
|
-
updatedAt:
|
5175
|
-
deletedAt:
|
5173
|
+
createdAt: Date;
|
5174
|
+
updatedAt: Date;
|
5175
|
+
deletedAt: Date | null;
|
5176
5176
|
entityId: string;
|
5177
5177
|
contactId: string | null;
|
5178
5178
|
caseId: number;
|
@@ -5185,15 +5185,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5185
5185
|
wrapUpForm: {
|
5186
5186
|
id: string;
|
5187
5187
|
disposition: string | null;
|
5188
|
-
createdAt:
|
5189
|
-
updatedAt:
|
5190
|
-
deletedAt:
|
5188
|
+
createdAt: Date;
|
5189
|
+
updatedAt: Date;
|
5190
|
+
deletedAt: Date | null;
|
5191
5191
|
tags: {
|
5192
5192
|
id: string;
|
5193
5193
|
name: string;
|
5194
|
-
createdAt:
|
5195
|
-
updatedAt:
|
5196
|
-
deletedAt:
|
5194
|
+
createdAt: Date;
|
5195
|
+
updatedAt: Date;
|
5196
|
+
deletedAt: Date | null;
|
5197
5197
|
}[];
|
5198
5198
|
callFrom: string | null;
|
5199
5199
|
callTo: string | null;
|
@@ -5202,9 +5202,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5202
5202
|
};
|
5203
5203
|
channel?: {
|
5204
5204
|
id?: string | undefined;
|
5205
|
-
createdAt?:
|
5206
|
-
updatedAt?:
|
5207
|
-
deletedAt?:
|
5205
|
+
createdAt?: Date | undefined;
|
5206
|
+
updatedAt?: Date | undefined;
|
5207
|
+
deletedAt?: Date | null | undefined;
|
5208
5208
|
name?: string | undefined;
|
5209
5209
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
5210
5210
|
metadata?: {
|
@@ -5323,9 +5323,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5323
5323
|
id: string;
|
5324
5324
|
url: string;
|
5325
5325
|
direction: "incoming" | "outgoing" | "system";
|
5326
|
-
createdAt:
|
5327
|
-
updatedAt:
|
5328
|
-
deletedAt:
|
5326
|
+
createdAt: Date;
|
5327
|
+
updatedAt: Date;
|
5328
|
+
deletedAt: Date | null;
|
5329
5329
|
platformId: string;
|
5330
5330
|
actor: {
|
5331
5331
|
id: string;
|
@@ -5372,9 +5372,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5372
5372
|
};
|
5373
5373
|
upload: {
|
5374
5374
|
id: string;
|
5375
|
-
createdAt:
|
5376
|
-
updatedAt:
|
5377
|
-
deletedAt:
|
5375
|
+
createdAt: Date;
|
5376
|
+
updatedAt: Date;
|
5377
|
+
deletedAt: Date | null;
|
5378
5378
|
fileName: string;
|
5379
5379
|
fileKey: string;
|
5380
5380
|
bucketName: string;
|
@@ -5426,9 +5426,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5426
5426
|
room: {
|
5427
5427
|
id: string;
|
5428
5428
|
direction: "incoming" | "outgoing" | "system";
|
5429
|
-
createdAt:
|
5430
|
-
updatedAt:
|
5431
|
-
deletedAt:
|
5429
|
+
createdAt: Date;
|
5430
|
+
updatedAt: Date;
|
5431
|
+
deletedAt: Date | null;
|
5432
5432
|
actor: {
|
5433
5433
|
id: string;
|
5434
5434
|
address: string | null;
|
@@ -5488,9 +5488,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5488
5488
|
picture?: string | undefined;
|
5489
5489
|
additionalCredentials?: any;
|
5490
5490
|
};
|
5491
|
-
createdAt:
|
5492
|
-
updatedAt:
|
5493
|
-
deletedAt:
|
5491
|
+
createdAt: Date;
|
5492
|
+
updatedAt: Date;
|
5493
|
+
deletedAt: Date | null;
|
5494
5494
|
contact: {
|
5495
5495
|
id: string;
|
5496
5496
|
channel: string | null;
|
@@ -5508,9 +5508,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5508
5508
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
5509
5509
|
id: string;
|
5510
5510
|
position: number;
|
5511
|
-
createdAt:
|
5512
|
-
updatedAt:
|
5513
|
-
deletedAt:
|
5511
|
+
createdAt: Date;
|
5512
|
+
updatedAt: Date;
|
5513
|
+
deletedAt: Date | null;
|
5514
5514
|
isDefault: boolean;
|
5515
5515
|
systemName: string;
|
5516
5516
|
displayName: string;
|
@@ -5524,15 +5524,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5524
5524
|
dateValue: Date | null;
|
5525
5525
|
uploads: {
|
5526
5526
|
id: string;
|
5527
|
-
createdAt:
|
5528
|
-
updatedAt:
|
5529
|
-
deletedAt:
|
5527
|
+
createdAt: Date;
|
5528
|
+
updatedAt: Date;
|
5529
|
+
deletedAt: Date | null;
|
5530
5530
|
customFieldId: string;
|
5531
5531
|
upload: {
|
5532
5532
|
id: string;
|
5533
|
-
createdAt:
|
5534
|
-
updatedAt:
|
5535
|
-
deletedAt:
|
5533
|
+
createdAt: Date;
|
5534
|
+
updatedAt: Date;
|
5535
|
+
deletedAt: Date | null;
|
5536
5536
|
fileName: string;
|
5537
5537
|
fileKey: string;
|
5538
5538
|
bucketName: string;
|
@@ -5546,15 +5546,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5546
5546
|
tags: {
|
5547
5547
|
id: string;
|
5548
5548
|
name: string;
|
5549
|
-
createdAt:
|
5550
|
-
updatedAt:
|
5551
|
-
deletedAt:
|
5549
|
+
createdAt: Date;
|
5550
|
+
updatedAt: Date;
|
5551
|
+
deletedAt: Date | null;
|
5552
5552
|
}[];
|
5553
5553
|
company: {
|
5554
5554
|
id: string;
|
5555
|
-
createdAt:
|
5556
|
-
updatedAt:
|
5557
|
-
deletedAt:
|
5555
|
+
createdAt: Date;
|
5556
|
+
updatedAt: Date;
|
5557
|
+
deletedAt: Date | null;
|
5558
5558
|
address?: string | null | undefined;
|
5559
5559
|
name?: string | undefined;
|
5560
5560
|
phone?: string | null | undefined;
|
@@ -5644,9 +5644,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5644
5644
|
channel: string | null;
|
5645
5645
|
disposition: string | null;
|
5646
5646
|
direction: string | null;
|
5647
|
-
createdAt:
|
5648
|
-
updatedAt:
|
5649
|
-
deletedAt:
|
5647
|
+
createdAt: Date;
|
5648
|
+
updatedAt: Date;
|
5649
|
+
deletedAt: Date | null;
|
5650
5650
|
entityId: string;
|
5651
5651
|
contactId: string | null;
|
5652
5652
|
caseId: number;
|
@@ -5659,15 +5659,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5659
5659
|
wrapUpForm: {
|
5660
5660
|
id: string;
|
5661
5661
|
disposition: string | null;
|
5662
|
-
createdAt:
|
5663
|
-
updatedAt:
|
5664
|
-
deletedAt:
|
5662
|
+
createdAt: Date;
|
5663
|
+
updatedAt: Date;
|
5664
|
+
deletedAt: Date | null;
|
5665
5665
|
tags: {
|
5666
5666
|
id: string;
|
5667
5667
|
name: string;
|
5668
|
-
createdAt:
|
5669
|
-
updatedAt:
|
5670
|
-
deletedAt:
|
5668
|
+
createdAt: Date;
|
5669
|
+
updatedAt: Date;
|
5670
|
+
deletedAt: Date | null;
|
5671
5671
|
}[];
|
5672
5672
|
callFrom: string | null;
|
5673
5673
|
callTo: string | null;
|
@@ -5676,9 +5676,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5676
5676
|
};
|
5677
5677
|
channel?: {
|
5678
5678
|
id?: string | undefined;
|
5679
|
-
createdAt?:
|
5680
|
-
updatedAt?:
|
5681
|
-
deletedAt?:
|
5679
|
+
createdAt?: Date | undefined;
|
5680
|
+
updatedAt?: Date | undefined;
|
5681
|
+
deletedAt?: Date | null | undefined;
|
5682
5682
|
name?: string | undefined;
|
5683
5683
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
5684
5684
|
metadata?: {
|
@@ -5798,9 +5798,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5798
5798
|
id: string;
|
5799
5799
|
url: string;
|
5800
5800
|
direction: "incoming" | "outgoing" | "system";
|
5801
|
-
createdAt:
|
5802
|
-
updatedAt:
|
5803
|
-
deletedAt:
|
5801
|
+
createdAt: Date;
|
5802
|
+
updatedAt: Date;
|
5803
|
+
deletedAt: Date | null;
|
5804
5804
|
platformId: string;
|
5805
5805
|
actor: {
|
5806
5806
|
id: string;
|
@@ -5847,9 +5847,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5847
5847
|
};
|
5848
5848
|
upload: {
|
5849
5849
|
id: string;
|
5850
|
-
createdAt:
|
5851
|
-
updatedAt:
|
5852
|
-
deletedAt:
|
5850
|
+
createdAt: Date;
|
5851
|
+
updatedAt: Date;
|
5852
|
+
deletedAt: Date | null;
|
5853
5853
|
fileName: string;
|
5854
5854
|
fileKey: string;
|
5855
5855
|
bucketName: string;
|
@@ -5901,9 +5901,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5901
5901
|
room: {
|
5902
5902
|
id: string;
|
5903
5903
|
direction: "incoming" | "outgoing" | "system";
|
5904
|
-
createdAt:
|
5905
|
-
updatedAt:
|
5906
|
-
deletedAt:
|
5904
|
+
createdAt: Date;
|
5905
|
+
updatedAt: Date;
|
5906
|
+
deletedAt: Date | null;
|
5907
5907
|
actor: {
|
5908
5908
|
id: string;
|
5909
5909
|
address: string | null;
|
@@ -5963,9 +5963,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5963
5963
|
picture?: string | undefined;
|
5964
5964
|
additionalCredentials?: any;
|
5965
5965
|
};
|
5966
|
-
createdAt:
|
5967
|
-
updatedAt:
|
5968
|
-
deletedAt:
|
5966
|
+
createdAt: Date;
|
5967
|
+
updatedAt: Date;
|
5968
|
+
deletedAt: Date | null;
|
5969
5969
|
contact: {
|
5970
5970
|
id: string;
|
5971
5971
|
channel: string | null;
|
@@ -5983,9 +5983,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5983
5983
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
5984
5984
|
id: string;
|
5985
5985
|
position: number;
|
5986
|
-
createdAt:
|
5987
|
-
updatedAt:
|
5988
|
-
deletedAt:
|
5986
|
+
createdAt: Date;
|
5987
|
+
updatedAt: Date;
|
5988
|
+
deletedAt: Date | null;
|
5989
5989
|
isDefault: boolean;
|
5990
5990
|
systemName: string;
|
5991
5991
|
displayName: string;
|
@@ -5999,15 +5999,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5999
5999
|
dateValue: Date | null;
|
6000
6000
|
uploads: {
|
6001
6001
|
id: string;
|
6002
|
-
createdAt:
|
6003
|
-
updatedAt:
|
6004
|
-
deletedAt:
|
6002
|
+
createdAt: Date;
|
6003
|
+
updatedAt: Date;
|
6004
|
+
deletedAt: Date | null;
|
6005
6005
|
customFieldId: string;
|
6006
6006
|
upload: {
|
6007
6007
|
id: string;
|
6008
|
-
createdAt:
|
6009
|
-
updatedAt:
|
6010
|
-
deletedAt:
|
6008
|
+
createdAt: Date;
|
6009
|
+
updatedAt: Date;
|
6010
|
+
deletedAt: Date | null;
|
6011
6011
|
fileName: string;
|
6012
6012
|
fileKey: string;
|
6013
6013
|
bucketName: string;
|
@@ -6021,15 +6021,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6021
6021
|
tags: {
|
6022
6022
|
id: string;
|
6023
6023
|
name: string;
|
6024
|
-
createdAt:
|
6025
|
-
updatedAt:
|
6026
|
-
deletedAt:
|
6024
|
+
createdAt: Date;
|
6025
|
+
updatedAt: Date;
|
6026
|
+
deletedAt: Date | null;
|
6027
6027
|
}[];
|
6028
6028
|
company: {
|
6029
6029
|
id: string;
|
6030
|
-
createdAt:
|
6031
|
-
updatedAt:
|
6032
|
-
deletedAt:
|
6030
|
+
createdAt: Date;
|
6031
|
+
updatedAt: Date;
|
6032
|
+
deletedAt: Date | null;
|
6033
6033
|
address?: string | null | undefined;
|
6034
6034
|
name?: string | undefined;
|
6035
6035
|
phone?: string | null | undefined;
|
@@ -6119,9 +6119,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6119
6119
|
channel: string | null;
|
6120
6120
|
disposition: string | null;
|
6121
6121
|
direction: string | null;
|
6122
|
-
createdAt:
|
6123
|
-
updatedAt:
|
6124
|
-
deletedAt:
|
6122
|
+
createdAt: Date;
|
6123
|
+
updatedAt: Date;
|
6124
|
+
deletedAt: Date | null;
|
6125
6125
|
entityId: string;
|
6126
6126
|
contactId: string | null;
|
6127
6127
|
caseId: number;
|
@@ -6134,15 +6134,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6134
6134
|
wrapUpForm: {
|
6135
6135
|
id: string;
|
6136
6136
|
disposition: string | null;
|
6137
|
-
createdAt:
|
6138
|
-
updatedAt:
|
6139
|
-
deletedAt:
|
6137
|
+
createdAt: Date;
|
6138
|
+
updatedAt: Date;
|
6139
|
+
deletedAt: Date | null;
|
6140
6140
|
tags: {
|
6141
6141
|
id: string;
|
6142
6142
|
name: string;
|
6143
|
-
createdAt:
|
6144
|
-
updatedAt:
|
6145
|
-
deletedAt:
|
6143
|
+
createdAt: Date;
|
6144
|
+
updatedAt: Date;
|
6145
|
+
deletedAt: Date | null;
|
6146
6146
|
}[];
|
6147
6147
|
callFrom: string | null;
|
6148
6148
|
callTo: string | null;
|
@@ -6151,9 +6151,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6151
6151
|
};
|
6152
6152
|
channel?: {
|
6153
6153
|
id?: string | undefined;
|
6154
|
-
createdAt?:
|
6155
|
-
updatedAt?:
|
6156
|
-
deletedAt?:
|
6154
|
+
createdAt?: Date | undefined;
|
6155
|
+
updatedAt?: Date | undefined;
|
6156
|
+
deletedAt?: Date | null | undefined;
|
6157
6157
|
name?: string | undefined;
|
6158
6158
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
6159
6159
|
metadata?: {
|
@@ -6365,9 +6365,9 @@ export declare const ConnectChannelServiceResponseSchema: z.ZodObject<{
|
|
6365
6365
|
export declare const ReceiveMessageSchema: z.ZodObject<{
|
6366
6366
|
message: z.ZodObject<{
|
6367
6367
|
id: z.ZodString;
|
6368
|
-
createdAt: z.
|
6369
|
-
updatedAt: z.
|
6370
|
-
deletedAt: z.ZodNullable<z.
|
6368
|
+
createdAt: z.ZodDate;
|
6369
|
+
updatedAt: z.ZodDate;
|
6370
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6371
6371
|
message: z.ZodString;
|
6372
6372
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
6373
6373
|
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
|
@@ -6383,9 +6383,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6383
6383
|
imageSetId: z.ZodString;
|
6384
6384
|
room: z.ZodObject<{
|
6385
6385
|
id: z.ZodString;
|
6386
|
-
createdAt: z.
|
6387
|
-
updatedAt: z.
|
6388
|
-
deletedAt: z.ZodNullable<z.
|
6386
|
+
createdAt: z.ZodDate;
|
6387
|
+
updatedAt: z.ZodDate;
|
6388
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6389
6389
|
lastMessage: z.ZodString;
|
6390
6390
|
handleTime: z.ZodNumber;
|
6391
6391
|
closeAt: z.ZodDate;
|
@@ -6396,9 +6396,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6396
6396
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
6397
6397
|
platformContact: z.ZodObject<{
|
6398
6398
|
id: z.ZodString;
|
6399
|
-
createdAt: z.
|
6400
|
-
updatedAt: z.
|
6401
|
-
deletedAt: z.ZodNullable<z.
|
6399
|
+
createdAt: z.ZodDate;
|
6400
|
+
updatedAt: z.ZodDate;
|
6401
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6402
6402
|
channelId: z.ZodString;
|
6403
6403
|
socialPlatformId: z.ZodString;
|
6404
6404
|
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
@@ -6431,46 +6431,46 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6431
6431
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
6432
6432
|
tags: z.ZodArray<z.ZodObject<{
|
6433
6433
|
id: z.ZodString;
|
6434
|
-
createdAt: z.
|
6435
|
-
updatedAt: z.
|
6436
|
-
deletedAt: z.ZodNullable<z.
|
6434
|
+
createdAt: z.ZodDate;
|
6435
|
+
updatedAt: z.ZodDate;
|
6436
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6437
6437
|
name: z.ZodString;
|
6438
6438
|
}, "strip", z.ZodTypeAny, {
|
6439
6439
|
id: string;
|
6440
6440
|
name: string;
|
6441
|
-
createdAt:
|
6442
|
-
updatedAt:
|
6443
|
-
deletedAt:
|
6441
|
+
createdAt: Date;
|
6442
|
+
updatedAt: Date;
|
6443
|
+
deletedAt: Date | null;
|
6444
6444
|
}, {
|
6445
6445
|
id: string;
|
6446
6446
|
name: string;
|
6447
|
-
createdAt:
|
6448
|
-
updatedAt:
|
6449
|
-
deletedAt:
|
6447
|
+
createdAt: Date;
|
6448
|
+
updatedAt: Date;
|
6449
|
+
deletedAt: Date | null;
|
6450
6450
|
}>, "many">;
|
6451
6451
|
company: z.ZodNullable<z.ZodObject<Omit<{
|
6452
6452
|
id: z.ZodString;
|
6453
|
-
createdAt: z.
|
6454
|
-
updatedAt: z.
|
6455
|
-
deletedAt: z.ZodNullable<z.
|
6453
|
+
createdAt: z.ZodDate;
|
6454
|
+
updatedAt: z.ZodDate;
|
6455
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6456
6456
|
name: z.ZodOptional<z.ZodString>;
|
6457
6457
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6458
6458
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6459
6459
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6460
6460
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
6461
6461
|
id: z.ZodString;
|
6462
|
-
createdAt: z.
|
6463
|
-
updatedAt: z.
|
6464
|
-
deletedAt: z.ZodNullable<z.
|
6462
|
+
createdAt: z.ZodDate;
|
6463
|
+
updatedAt: z.ZodDate;
|
6464
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6465
6465
|
textValue: z.ZodNullable<z.ZodString>;
|
6466
6466
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
6467
6467
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
6468
6468
|
dateValue: z.ZodNullable<z.ZodDate>;
|
6469
6469
|
attribute: z.ZodObject<Omit<{
|
6470
6470
|
id: z.ZodString;
|
6471
|
-
createdAt: z.
|
6472
|
-
updatedAt: z.
|
6473
|
-
deletedAt: z.ZodNullable<z.
|
6471
|
+
createdAt: z.ZodDate;
|
6472
|
+
updatedAt: z.ZodDate;
|
6473
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6474
6474
|
systemName: z.ZodString;
|
6475
6475
|
displayName: z.ZodString;
|
6476
6476
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -6500,23 +6500,23 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6500
6500
|
}>, "many">;
|
6501
6501
|
group: z.ZodObject<{
|
6502
6502
|
id: z.ZodString;
|
6503
|
-
createdAt: z.
|
6504
|
-
updatedAt: z.
|
6505
|
-
deletedAt: z.ZodNullable<z.
|
6503
|
+
createdAt: z.ZodDate;
|
6504
|
+
updatedAt: z.ZodDate;
|
6505
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6506
6506
|
systemName: z.ZodString;
|
6507
6507
|
displayName: z.ZodString;
|
6508
6508
|
}, "strip", z.ZodTypeAny, {
|
6509
6509
|
id: string;
|
6510
|
-
createdAt:
|
6511
|
-
updatedAt:
|
6512
|
-
deletedAt:
|
6510
|
+
createdAt: Date;
|
6511
|
+
updatedAt: Date;
|
6512
|
+
deletedAt: Date | null;
|
6513
6513
|
systemName: string;
|
6514
6514
|
displayName: string;
|
6515
6515
|
}, {
|
6516
6516
|
id: string;
|
6517
|
-
createdAt:
|
6518
|
-
updatedAt:
|
6519
|
-
deletedAt:
|
6517
|
+
createdAt: Date;
|
6518
|
+
updatedAt: Date;
|
6519
|
+
deletedAt: Date | null;
|
6520
6520
|
systemName: string;
|
6521
6521
|
displayName: string;
|
6522
6522
|
}>;
|
@@ -6524,9 +6524,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6524
6524
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
6525
6525
|
id: string;
|
6526
6526
|
position: number;
|
6527
|
-
createdAt:
|
6528
|
-
updatedAt:
|
6529
|
-
deletedAt:
|
6527
|
+
createdAt: Date;
|
6528
|
+
updatedAt: Date;
|
6529
|
+
deletedAt: Date | null;
|
6530
6530
|
isDefault: boolean;
|
6531
6531
|
systemName: string;
|
6532
6532
|
displayName: string;
|
@@ -6537,9 +6537,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6537
6537
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
6538
6538
|
id: string;
|
6539
6539
|
position: number;
|
6540
|
-
createdAt:
|
6541
|
-
updatedAt:
|
6542
|
-
deletedAt:
|
6540
|
+
createdAt: Date;
|
6541
|
+
updatedAt: Date;
|
6542
|
+
deletedAt: Date | null;
|
6543
6543
|
isDefault: boolean;
|
6544
6544
|
systemName: string;
|
6545
6545
|
displayName: string;
|
@@ -6549,16 +6549,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6549
6549
|
}>;
|
6550
6550
|
}, "strip", z.ZodTypeAny, {
|
6551
6551
|
id: string;
|
6552
|
-
createdAt:
|
6553
|
-
updatedAt:
|
6554
|
-
deletedAt:
|
6552
|
+
createdAt: Date;
|
6553
|
+
updatedAt: Date;
|
6554
|
+
deletedAt: Date | null;
|
6555
6555
|
attribute: {
|
6556
6556
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
6557
6557
|
id: string;
|
6558
6558
|
position: number;
|
6559
|
-
createdAt:
|
6560
|
-
updatedAt:
|
6561
|
-
deletedAt:
|
6559
|
+
createdAt: Date;
|
6560
|
+
updatedAt: Date;
|
6561
|
+
deletedAt: Date | null;
|
6562
6562
|
isDefault: boolean;
|
6563
6563
|
systemName: string;
|
6564
6564
|
displayName: string;
|
@@ -6572,16 +6572,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6572
6572
|
dateValue: Date | null;
|
6573
6573
|
}, {
|
6574
6574
|
id: string;
|
6575
|
-
createdAt:
|
6576
|
-
updatedAt:
|
6577
|
-
deletedAt:
|
6575
|
+
createdAt: Date;
|
6576
|
+
updatedAt: Date;
|
6577
|
+
deletedAt: Date | null;
|
6578
6578
|
attribute: {
|
6579
6579
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
6580
6580
|
id: string;
|
6581
6581
|
position: number;
|
6582
|
-
createdAt:
|
6583
|
-
updatedAt:
|
6584
|
-
deletedAt:
|
6582
|
+
createdAt: Date;
|
6583
|
+
updatedAt: Date;
|
6584
|
+
deletedAt: Date | null;
|
6585
6585
|
isDefault: boolean;
|
6586
6586
|
systemName: string;
|
6587
6587
|
displayName: string;
|
@@ -6596,18 +6596,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6596
6596
|
}>, "many">>;
|
6597
6597
|
}, "customFields">, "strip", z.ZodTypeAny, {
|
6598
6598
|
id: string;
|
6599
|
-
createdAt:
|
6600
|
-
updatedAt:
|
6601
|
-
deletedAt:
|
6599
|
+
createdAt: Date;
|
6600
|
+
updatedAt: Date;
|
6601
|
+
deletedAt: Date | null;
|
6602
6602
|
address?: string | null | undefined;
|
6603
6603
|
name?: string | undefined;
|
6604
6604
|
phone?: string | null | undefined;
|
6605
6605
|
industry?: string | null | undefined;
|
6606
6606
|
}, {
|
6607
6607
|
id: string;
|
6608
|
-
createdAt:
|
6609
|
-
updatedAt:
|
6610
|
-
deletedAt:
|
6608
|
+
createdAt: Date;
|
6609
|
+
updatedAt: Date;
|
6610
|
+
deletedAt: Date | null;
|
6611
6611
|
address?: string | null | undefined;
|
6612
6612
|
name?: string | undefined;
|
6613
6613
|
phone?: string | null | undefined;
|
@@ -6624,9 +6624,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6624
6624
|
dateValue: z.ZodNullable<z.ZodDate>;
|
6625
6625
|
attribute: z.ZodObject<Omit<{
|
6626
6626
|
id: z.ZodString;
|
6627
|
-
createdAt: z.
|
6628
|
-
updatedAt: z.
|
6629
|
-
deletedAt: z.ZodNullable<z.
|
6627
|
+
createdAt: z.ZodDate;
|
6628
|
+
updatedAt: z.ZodDate;
|
6629
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6630
6630
|
systemName: z.ZodString;
|
6631
6631
|
displayName: z.ZodString;
|
6632
6632
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -6656,23 +6656,23 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6656
6656
|
}>, "many">;
|
6657
6657
|
group: z.ZodObject<{
|
6658
6658
|
id: z.ZodString;
|
6659
|
-
createdAt: z.
|
6660
|
-
updatedAt: z.
|
6661
|
-
deletedAt: z.ZodNullable<z.
|
6659
|
+
createdAt: z.ZodDate;
|
6660
|
+
updatedAt: z.ZodDate;
|
6661
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6662
6662
|
systemName: z.ZodString;
|
6663
6663
|
displayName: z.ZodString;
|
6664
6664
|
}, "strip", z.ZodTypeAny, {
|
6665
6665
|
id: string;
|
6666
|
-
createdAt:
|
6667
|
-
updatedAt:
|
6668
|
-
deletedAt:
|
6666
|
+
createdAt: Date;
|
6667
|
+
updatedAt: Date;
|
6668
|
+
deletedAt: Date | null;
|
6669
6669
|
systemName: string;
|
6670
6670
|
displayName: string;
|
6671
6671
|
}, {
|
6672
6672
|
id: string;
|
6673
|
-
createdAt:
|
6674
|
-
updatedAt:
|
6675
|
-
deletedAt:
|
6673
|
+
createdAt: Date;
|
6674
|
+
updatedAt: Date;
|
6675
|
+
deletedAt: Date | null;
|
6676
6676
|
systemName: string;
|
6677
6677
|
displayName: string;
|
6678
6678
|
}>;
|
@@ -6680,9 +6680,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6680
6680
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
6681
6681
|
id: string;
|
6682
6682
|
position: number;
|
6683
|
-
createdAt:
|
6684
|
-
updatedAt:
|
6685
|
-
deletedAt:
|
6683
|
+
createdAt: Date;
|
6684
|
+
updatedAt: Date;
|
6685
|
+
deletedAt: Date | null;
|
6686
6686
|
isDefault: boolean;
|
6687
6687
|
systemName: string;
|
6688
6688
|
displayName: string;
|
@@ -6693,9 +6693,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6693
6693
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
6694
6694
|
id: string;
|
6695
6695
|
position: number;
|
6696
|
-
createdAt:
|
6697
|
-
updatedAt:
|
6698
|
-
deletedAt:
|
6696
|
+
createdAt: Date;
|
6697
|
+
updatedAt: Date;
|
6698
|
+
deletedAt: Date | null;
|
6699
6699
|
isDefault: boolean;
|
6700
6700
|
systemName: string;
|
6701
6701
|
displayName: string;
|
@@ -6705,33 +6705,33 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6705
6705
|
}>;
|
6706
6706
|
uploads: z.ZodArray<z.ZodObject<{
|
6707
6707
|
id: z.ZodString;
|
6708
|
-
createdAt: z.
|
6709
|
-
updatedAt: z.
|
6710
|
-
deletedAt: z.ZodNullable<z.
|
6708
|
+
createdAt: z.ZodDate;
|
6709
|
+
updatedAt: z.ZodDate;
|
6710
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6711
6711
|
customFieldId: z.ZodString;
|
6712
6712
|
upload: z.ZodObject<{
|
6713
6713
|
id: z.ZodString;
|
6714
|
-
createdAt: z.
|
6715
|
-
updatedAt: z.
|
6716
|
-
deletedAt: z.ZodNullable<z.
|
6714
|
+
createdAt: z.ZodDate;
|
6715
|
+
updatedAt: z.ZodDate;
|
6716
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6717
6717
|
bucketName: z.ZodString;
|
6718
6718
|
fileName: z.ZodString;
|
6719
6719
|
fileSize: z.ZodNumber;
|
6720
6720
|
fileKey: z.ZodString;
|
6721
6721
|
}, "strip", z.ZodTypeAny, {
|
6722
6722
|
id: string;
|
6723
|
-
createdAt:
|
6724
|
-
updatedAt:
|
6725
|
-
deletedAt:
|
6723
|
+
createdAt: Date;
|
6724
|
+
updatedAt: Date;
|
6725
|
+
deletedAt: Date | null;
|
6726
6726
|
fileName: string;
|
6727
6727
|
fileKey: string;
|
6728
6728
|
bucketName: string;
|
6729
6729
|
fileSize: number;
|
6730
6730
|
}, {
|
6731
6731
|
id: string;
|
6732
|
-
createdAt:
|
6733
|
-
updatedAt:
|
6734
|
-
deletedAt:
|
6732
|
+
createdAt: Date;
|
6733
|
+
updatedAt: Date;
|
6734
|
+
deletedAt: Date | null;
|
6735
6735
|
fileName: string;
|
6736
6736
|
fileKey: string;
|
6737
6737
|
bucketName: string;
|
@@ -6739,15 +6739,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6739
6739
|
}>;
|
6740
6740
|
}, "strip", z.ZodTypeAny, {
|
6741
6741
|
id: string;
|
6742
|
-
createdAt:
|
6743
|
-
updatedAt:
|
6744
|
-
deletedAt:
|
6742
|
+
createdAt: Date;
|
6743
|
+
updatedAt: Date;
|
6744
|
+
deletedAt: Date | null;
|
6745
6745
|
customFieldId: string;
|
6746
6746
|
upload: {
|
6747
6747
|
id: string;
|
6748
|
-
createdAt:
|
6749
|
-
updatedAt:
|
6750
|
-
deletedAt:
|
6748
|
+
createdAt: Date;
|
6749
|
+
updatedAt: Date;
|
6750
|
+
deletedAt: Date | null;
|
6751
6751
|
fileName: string;
|
6752
6752
|
fileKey: string;
|
6753
6753
|
bucketName: string;
|
@@ -6755,15 +6755,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6755
6755
|
};
|
6756
6756
|
}, {
|
6757
6757
|
id: string;
|
6758
|
-
createdAt:
|
6759
|
-
updatedAt:
|
6760
|
-
deletedAt:
|
6758
|
+
createdAt: Date;
|
6759
|
+
updatedAt: Date;
|
6760
|
+
deletedAt: Date | null;
|
6761
6761
|
customFieldId: string;
|
6762
6762
|
upload: {
|
6763
6763
|
id: string;
|
6764
|
-
createdAt:
|
6765
|
-
updatedAt:
|
6766
|
-
deletedAt:
|
6764
|
+
createdAt: Date;
|
6765
|
+
updatedAt: Date;
|
6766
|
+
deletedAt: Date | null;
|
6767
6767
|
fileName: string;
|
6768
6768
|
fileKey: string;
|
6769
6769
|
bucketName: string;
|
@@ -6779,9 +6779,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6779
6779
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
6780
6780
|
id: string;
|
6781
6781
|
position: number;
|
6782
|
-
createdAt:
|
6783
|
-
updatedAt:
|
6784
|
-
deletedAt:
|
6782
|
+
createdAt: Date;
|
6783
|
+
updatedAt: Date;
|
6784
|
+
deletedAt: Date | null;
|
6785
6785
|
isDefault: boolean;
|
6786
6786
|
systemName: string;
|
6787
6787
|
displayName: string;
|
@@ -6795,15 +6795,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6795
6795
|
dateValue: Date | null;
|
6796
6796
|
uploads: {
|
6797
6797
|
id: string;
|
6798
|
-
createdAt:
|
6799
|
-
updatedAt:
|
6800
|
-
deletedAt:
|
6798
|
+
createdAt: Date;
|
6799
|
+
updatedAt: Date;
|
6800
|
+
deletedAt: Date | null;
|
6801
6801
|
customFieldId: string;
|
6802
6802
|
upload: {
|
6803
6803
|
id: string;
|
6804
|
-
createdAt:
|
6805
|
-
updatedAt:
|
6806
|
-
deletedAt:
|
6804
|
+
createdAt: Date;
|
6805
|
+
updatedAt: Date;
|
6806
|
+
deletedAt: Date | null;
|
6807
6807
|
fileName: string;
|
6808
6808
|
fileKey: string;
|
6809
6809
|
bucketName: string;
|
@@ -6819,9 +6819,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6819
6819
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
6820
6820
|
id: string;
|
6821
6821
|
position: number;
|
6822
|
-
createdAt:
|
6823
|
-
updatedAt:
|
6824
|
-
deletedAt:
|
6822
|
+
createdAt: Date;
|
6823
|
+
updatedAt: Date;
|
6824
|
+
deletedAt: Date | null;
|
6825
6825
|
isDefault: boolean;
|
6826
6826
|
systemName: string;
|
6827
6827
|
displayName: string;
|
@@ -6835,15 +6835,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6835
6835
|
dateValue: Date | null;
|
6836
6836
|
uploads: {
|
6837
6837
|
id: string;
|
6838
|
-
createdAt:
|
6839
|
-
updatedAt:
|
6840
|
-
deletedAt:
|
6838
|
+
createdAt: Date;
|
6839
|
+
updatedAt: Date;
|
6840
|
+
deletedAt: Date | null;
|
6841
6841
|
customFieldId: string;
|
6842
6842
|
upload: {
|
6843
6843
|
id: string;
|
6844
|
-
createdAt:
|
6845
|
-
updatedAt:
|
6846
|
-
deletedAt:
|
6844
|
+
createdAt: Date;
|
6845
|
+
updatedAt: Date;
|
6846
|
+
deletedAt: Date | null;
|
6847
6847
|
fileName: string;
|
6848
6848
|
fileKey: string;
|
6849
6849
|
bucketName: string;
|
@@ -6972,9 +6972,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6972
6972
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
6973
6973
|
id: string;
|
6974
6974
|
position: number;
|
6975
|
-
createdAt:
|
6976
|
-
updatedAt:
|
6977
|
-
deletedAt:
|
6975
|
+
createdAt: Date;
|
6976
|
+
updatedAt: Date;
|
6977
|
+
deletedAt: Date | null;
|
6978
6978
|
isDefault: boolean;
|
6979
6979
|
systemName: string;
|
6980
6980
|
displayName: string;
|
@@ -6988,15 +6988,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6988
6988
|
dateValue: Date | null;
|
6989
6989
|
uploads: {
|
6990
6990
|
id: string;
|
6991
|
-
createdAt:
|
6992
|
-
updatedAt:
|
6993
|
-
deletedAt:
|
6991
|
+
createdAt: Date;
|
6992
|
+
updatedAt: Date;
|
6993
|
+
deletedAt: Date | null;
|
6994
6994
|
customFieldId: string;
|
6995
6995
|
upload: {
|
6996
6996
|
id: string;
|
6997
|
-
createdAt:
|
6998
|
-
updatedAt:
|
6999
|
-
deletedAt:
|
6997
|
+
createdAt: Date;
|
6998
|
+
updatedAt: Date;
|
6999
|
+
deletedAt: Date | null;
|
7000
7000
|
fileName: string;
|
7001
7001
|
fileKey: string;
|
7002
7002
|
bucketName: string;
|
@@ -7010,15 +7010,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7010
7010
|
tags: {
|
7011
7011
|
id: string;
|
7012
7012
|
name: string;
|
7013
|
-
createdAt:
|
7014
|
-
updatedAt:
|
7015
|
-
deletedAt:
|
7013
|
+
createdAt: Date;
|
7014
|
+
updatedAt: Date;
|
7015
|
+
deletedAt: Date | null;
|
7016
7016
|
}[];
|
7017
7017
|
company: {
|
7018
7018
|
id: string;
|
7019
|
-
createdAt:
|
7020
|
-
updatedAt:
|
7021
|
-
deletedAt:
|
7019
|
+
createdAt: Date;
|
7020
|
+
updatedAt: Date;
|
7021
|
+
deletedAt: Date | null;
|
7022
7022
|
address?: string | null | undefined;
|
7023
7023
|
name?: string | undefined;
|
7024
7024
|
phone?: string | null | undefined;
|
@@ -7073,9 +7073,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7073
7073
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
7074
7074
|
id: string;
|
7075
7075
|
position: number;
|
7076
|
-
createdAt:
|
7077
|
-
updatedAt:
|
7078
|
-
deletedAt:
|
7076
|
+
createdAt: Date;
|
7077
|
+
updatedAt: Date;
|
7078
|
+
deletedAt: Date | null;
|
7079
7079
|
isDefault: boolean;
|
7080
7080
|
systemName: string;
|
7081
7081
|
displayName: string;
|
@@ -7089,15 +7089,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7089
7089
|
dateValue: Date | null;
|
7090
7090
|
uploads: {
|
7091
7091
|
id: string;
|
7092
|
-
createdAt:
|
7093
|
-
updatedAt:
|
7094
|
-
deletedAt:
|
7092
|
+
createdAt: Date;
|
7093
|
+
updatedAt: Date;
|
7094
|
+
deletedAt: Date | null;
|
7095
7095
|
customFieldId: string;
|
7096
7096
|
upload: {
|
7097
7097
|
id: string;
|
7098
|
-
createdAt:
|
7099
|
-
updatedAt:
|
7100
|
-
deletedAt:
|
7098
|
+
createdAt: Date;
|
7099
|
+
updatedAt: Date;
|
7100
|
+
deletedAt: Date | null;
|
7101
7101
|
fileName: string;
|
7102
7102
|
fileKey: string;
|
7103
7103
|
bucketName: string;
|
@@ -7111,15 +7111,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7111
7111
|
tags: {
|
7112
7112
|
id: string;
|
7113
7113
|
name: string;
|
7114
|
-
createdAt:
|
7115
|
-
updatedAt:
|
7116
|
-
deletedAt:
|
7114
|
+
createdAt: Date;
|
7115
|
+
updatedAt: Date;
|
7116
|
+
deletedAt: Date | null;
|
7117
7117
|
}[];
|
7118
7118
|
company: {
|
7119
7119
|
id: string;
|
7120
|
-
createdAt:
|
7121
|
-
updatedAt:
|
7122
|
-
deletedAt:
|
7120
|
+
createdAt: Date;
|
7121
|
+
updatedAt: Date;
|
7122
|
+
deletedAt: Date | null;
|
7123
7123
|
address?: string | null | undefined;
|
7124
7124
|
name?: string | undefined;
|
7125
7125
|
phone?: string | null | undefined;
|
@@ -7167,9 +7167,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7167
7167
|
picture?: string | undefined;
|
7168
7168
|
additionalCredentials?: any;
|
7169
7169
|
};
|
7170
|
-
createdAt:
|
7171
|
-
updatedAt:
|
7172
|
-
deletedAt:
|
7170
|
+
createdAt: Date;
|
7171
|
+
updatedAt: Date;
|
7172
|
+
deletedAt: Date | null;
|
7173
7173
|
contact: {
|
7174
7174
|
id: string;
|
7175
7175
|
channel: string | null;
|
@@ -7187,9 +7187,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7187
7187
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
7188
7188
|
id: string;
|
7189
7189
|
position: number;
|
7190
|
-
createdAt:
|
7191
|
-
updatedAt:
|
7192
|
-
deletedAt:
|
7190
|
+
createdAt: Date;
|
7191
|
+
updatedAt: Date;
|
7192
|
+
deletedAt: Date | null;
|
7193
7193
|
isDefault: boolean;
|
7194
7194
|
systemName: string;
|
7195
7195
|
displayName: string;
|
@@ -7203,15 +7203,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7203
7203
|
dateValue: Date | null;
|
7204
7204
|
uploads: {
|
7205
7205
|
id: string;
|
7206
|
-
createdAt:
|
7207
|
-
updatedAt:
|
7208
|
-
deletedAt:
|
7206
|
+
createdAt: Date;
|
7207
|
+
updatedAt: Date;
|
7208
|
+
deletedAt: Date | null;
|
7209
7209
|
customFieldId: string;
|
7210
7210
|
upload: {
|
7211
7211
|
id: string;
|
7212
|
-
createdAt:
|
7213
|
-
updatedAt:
|
7214
|
-
deletedAt:
|
7212
|
+
createdAt: Date;
|
7213
|
+
updatedAt: Date;
|
7214
|
+
deletedAt: Date | null;
|
7215
7215
|
fileName: string;
|
7216
7216
|
fileKey: string;
|
7217
7217
|
bucketName: string;
|
@@ -7225,15 +7225,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7225
7225
|
tags: {
|
7226
7226
|
id: string;
|
7227
7227
|
name: string;
|
7228
|
-
createdAt:
|
7229
|
-
updatedAt:
|
7230
|
-
deletedAt:
|
7228
|
+
createdAt: Date;
|
7229
|
+
updatedAt: Date;
|
7230
|
+
deletedAt: Date | null;
|
7231
7231
|
}[];
|
7232
7232
|
company: {
|
7233
7233
|
id: string;
|
7234
|
-
createdAt:
|
7235
|
-
updatedAt:
|
7236
|
-
deletedAt:
|
7234
|
+
createdAt: Date;
|
7235
|
+
updatedAt: Date;
|
7236
|
+
deletedAt: Date | null;
|
7237
7237
|
address?: string | null | undefined;
|
7238
7238
|
name?: string | undefined;
|
7239
7239
|
phone?: string | null | undefined;
|
@@ -7283,9 +7283,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7283
7283
|
picture?: string | undefined;
|
7284
7284
|
additionalCredentials?: any;
|
7285
7285
|
};
|
7286
|
-
createdAt:
|
7287
|
-
updatedAt:
|
7288
|
-
deletedAt:
|
7286
|
+
createdAt: Date;
|
7287
|
+
updatedAt: Date;
|
7288
|
+
deletedAt: Date | null;
|
7289
7289
|
contact: {
|
7290
7290
|
id: string;
|
7291
7291
|
channel: string | null;
|
@@ -7303,9 +7303,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7303
7303
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
7304
7304
|
id: string;
|
7305
7305
|
position: number;
|
7306
|
-
createdAt:
|
7307
|
-
updatedAt:
|
7308
|
-
deletedAt:
|
7306
|
+
createdAt: Date;
|
7307
|
+
updatedAt: Date;
|
7308
|
+
deletedAt: Date | null;
|
7309
7309
|
isDefault: boolean;
|
7310
7310
|
systemName: string;
|
7311
7311
|
displayName: string;
|
@@ -7319,15 +7319,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7319
7319
|
dateValue: Date | null;
|
7320
7320
|
uploads: {
|
7321
7321
|
id: string;
|
7322
|
-
createdAt:
|
7323
|
-
updatedAt:
|
7324
|
-
deletedAt:
|
7322
|
+
createdAt: Date;
|
7323
|
+
updatedAt: Date;
|
7324
|
+
deletedAt: Date | null;
|
7325
7325
|
customFieldId: string;
|
7326
7326
|
upload: {
|
7327
7327
|
id: string;
|
7328
|
-
createdAt:
|
7329
|
-
updatedAt:
|
7330
|
-
deletedAt:
|
7328
|
+
createdAt: Date;
|
7329
|
+
updatedAt: Date;
|
7330
|
+
deletedAt: Date | null;
|
7331
7331
|
fileName: string;
|
7332
7332
|
fileKey: string;
|
7333
7333
|
bucketName: string;
|
@@ -7341,15 +7341,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7341
7341
|
tags: {
|
7342
7342
|
id: string;
|
7343
7343
|
name: string;
|
7344
|
-
createdAt:
|
7345
|
-
updatedAt:
|
7346
|
-
deletedAt:
|
7344
|
+
createdAt: Date;
|
7345
|
+
updatedAt: Date;
|
7346
|
+
deletedAt: Date | null;
|
7347
7347
|
}[];
|
7348
7348
|
company: {
|
7349
7349
|
id: string;
|
7350
|
-
createdAt:
|
7351
|
-
updatedAt:
|
7352
|
-
deletedAt:
|
7350
|
+
createdAt: Date;
|
7351
|
+
updatedAt: Date;
|
7352
|
+
deletedAt: Date | null;
|
7353
7353
|
address?: string | null | undefined;
|
7354
7354
|
name?: string | undefined;
|
7355
7355
|
phone?: string | null | undefined;
|
@@ -7791,9 +7791,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7791
7791
|
}>;
|
7792
7792
|
channel: z.ZodOptional<z.ZodObject<{
|
7793
7793
|
id: z.ZodOptional<z.ZodString>;
|
7794
|
-
createdAt: z.ZodOptional<z.
|
7795
|
-
updatedAt: z.ZodOptional<z.
|
7796
|
-
deletedAt: z.ZodOptional<z.ZodNullable<z.
|
7794
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
7795
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
7796
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
7797
7797
|
name: z.ZodOptional<z.ZodString>;
|
7798
7798
|
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
|
7799
7799
|
metadata: z.ZodOptional<z.ZodObject<{
|
@@ -8019,9 +8019,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8019
8019
|
}>>;
|
8020
8020
|
}, "strip", z.ZodTypeAny, {
|
8021
8021
|
id?: string | undefined;
|
8022
|
-
createdAt?:
|
8023
|
-
updatedAt?:
|
8024
|
-
deletedAt?:
|
8022
|
+
createdAt?: Date | undefined;
|
8023
|
+
updatedAt?: Date | undefined;
|
8024
|
+
deletedAt?: Date | null | undefined;
|
8025
8025
|
name?: string | undefined;
|
8026
8026
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
8027
8027
|
metadata?: {
|
@@ -8081,9 +8081,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8081
8081
|
} | undefined;
|
8082
8082
|
}, {
|
8083
8083
|
id?: string | undefined;
|
8084
|
-
createdAt?:
|
8085
|
-
updatedAt?:
|
8086
|
-
deletedAt?:
|
8084
|
+
createdAt?: Date | undefined;
|
8085
|
+
updatedAt?: Date | undefined;
|
8086
|
+
deletedAt?: Date | null | undefined;
|
8087
8087
|
name?: string | undefined;
|
8088
8088
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
8089
8089
|
metadata?: {
|
@@ -8144,9 +8144,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8144
8144
|
}>>;
|
8145
8145
|
cxlog: z.ZodObject<{
|
8146
8146
|
id: z.ZodString;
|
8147
|
-
createdAt: z.
|
8148
|
-
updatedAt: z.
|
8149
|
-
deletedAt: z.ZodNullable<z.
|
8147
|
+
createdAt: z.ZodDate;
|
8148
|
+
updatedAt: z.ZodDate;
|
8149
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
8150
8150
|
caseId: z.ZodNumber;
|
8151
8151
|
entityId: z.ZodString;
|
8152
8152
|
entityName: z.ZodString;
|
@@ -8161,44 +8161,44 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8161
8161
|
disposition: z.ZodNullable<z.ZodString>;
|
8162
8162
|
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
8163
8163
|
id: z.ZodString;
|
8164
|
-
createdAt: z.
|
8165
|
-
updatedAt: z.
|
8166
|
-
deletedAt: z.ZodNullable<z.
|
8164
|
+
createdAt: z.ZodDate;
|
8165
|
+
updatedAt: z.ZodDate;
|
8166
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
8167
8167
|
note: z.ZodNullable<z.ZodString>;
|
8168
8168
|
disposition: z.ZodNullable<z.ZodString>;
|
8169
8169
|
callFrom: z.ZodNullable<z.ZodString>;
|
8170
8170
|
callTo: z.ZodNullable<z.ZodString>;
|
8171
8171
|
tags: z.ZodArray<z.ZodObject<{
|
8172
8172
|
id: z.ZodString;
|
8173
|
-
createdAt: z.
|
8174
|
-
updatedAt: z.
|
8175
|
-
deletedAt: z.ZodNullable<z.
|
8173
|
+
createdAt: z.ZodDate;
|
8174
|
+
updatedAt: z.ZodDate;
|
8175
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
8176
8176
|
name: z.ZodString;
|
8177
8177
|
}, "strip", z.ZodTypeAny, {
|
8178
8178
|
id: string;
|
8179
8179
|
name: string;
|
8180
|
-
createdAt:
|
8181
|
-
updatedAt:
|
8182
|
-
deletedAt:
|
8180
|
+
createdAt: Date;
|
8181
|
+
updatedAt: Date;
|
8182
|
+
deletedAt: Date | null;
|
8183
8183
|
}, {
|
8184
8184
|
id: string;
|
8185
8185
|
name: string;
|
8186
|
-
createdAt:
|
8187
|
-
updatedAt:
|
8188
|
-
deletedAt:
|
8186
|
+
createdAt: Date;
|
8187
|
+
updatedAt: Date;
|
8188
|
+
deletedAt: Date | null;
|
8189
8189
|
}>, "many">;
|
8190
8190
|
}, "strip", z.ZodTypeAny, {
|
8191
8191
|
id: string;
|
8192
8192
|
disposition: string | null;
|
8193
|
-
createdAt:
|
8194
|
-
updatedAt:
|
8195
|
-
deletedAt:
|
8193
|
+
createdAt: Date;
|
8194
|
+
updatedAt: Date;
|
8195
|
+
deletedAt: Date | null;
|
8196
8196
|
tags: {
|
8197
8197
|
id: string;
|
8198
8198
|
name: string;
|
8199
|
-
createdAt:
|
8200
|
-
updatedAt:
|
8201
|
-
deletedAt:
|
8199
|
+
createdAt: Date;
|
8200
|
+
updatedAt: Date;
|
8201
|
+
deletedAt: Date | null;
|
8202
8202
|
}[];
|
8203
8203
|
callFrom: string | null;
|
8204
8204
|
callTo: string | null;
|
@@ -8206,15 +8206,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8206
8206
|
}, {
|
8207
8207
|
id: string;
|
8208
8208
|
disposition: string | null;
|
8209
|
-
createdAt:
|
8210
|
-
updatedAt:
|
8211
|
-
deletedAt:
|
8209
|
+
createdAt: Date;
|
8210
|
+
updatedAt: Date;
|
8211
|
+
deletedAt: Date | null;
|
8212
8212
|
tags: {
|
8213
8213
|
id: string;
|
8214
8214
|
name: string;
|
8215
|
-
createdAt:
|
8216
|
-
updatedAt:
|
8217
|
-
deletedAt:
|
8215
|
+
createdAt: Date;
|
8216
|
+
updatedAt: Date;
|
8217
|
+
deletedAt: Date | null;
|
8218
8218
|
}[];
|
8219
8219
|
callFrom: string | null;
|
8220
8220
|
callTo: string | null;
|
@@ -8225,9 +8225,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8225
8225
|
channel: string | null;
|
8226
8226
|
disposition: string | null;
|
8227
8227
|
direction: string | null;
|
8228
|
-
createdAt:
|
8229
|
-
updatedAt:
|
8230
|
-
deletedAt:
|
8228
|
+
createdAt: Date;
|
8229
|
+
updatedAt: Date;
|
8230
|
+
deletedAt: Date | null;
|
8231
8231
|
entityId: string;
|
8232
8232
|
contactId: string | null;
|
8233
8233
|
caseId: number;
|
@@ -8240,15 +8240,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8240
8240
|
wrapUpForm: {
|
8241
8241
|
id: string;
|
8242
8242
|
disposition: string | null;
|
8243
|
-
createdAt:
|
8244
|
-
updatedAt:
|
8245
|
-
deletedAt:
|
8243
|
+
createdAt: Date;
|
8244
|
+
updatedAt: Date;
|
8245
|
+
deletedAt: Date | null;
|
8246
8246
|
tags: {
|
8247
8247
|
id: string;
|
8248
8248
|
name: string;
|
8249
|
-
createdAt:
|
8250
|
-
updatedAt:
|
8251
|
-
deletedAt:
|
8249
|
+
createdAt: Date;
|
8250
|
+
updatedAt: Date;
|
8251
|
+
deletedAt: Date | null;
|
8252
8252
|
}[];
|
8253
8253
|
callFrom: string | null;
|
8254
8254
|
callTo: string | null;
|
@@ -8259,9 +8259,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8259
8259
|
channel: string | null;
|
8260
8260
|
disposition: string | null;
|
8261
8261
|
direction: string | null;
|
8262
|
-
createdAt:
|
8263
|
-
updatedAt:
|
8264
|
-
deletedAt:
|
8262
|
+
createdAt: Date;
|
8263
|
+
updatedAt: Date;
|
8264
|
+
deletedAt: Date | null;
|
8265
8265
|
entityId: string;
|
8266
8266
|
contactId: string | null;
|
8267
8267
|
caseId: number;
|
@@ -8274,15 +8274,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8274
8274
|
wrapUpForm: {
|
8275
8275
|
id: string;
|
8276
8276
|
disposition: string | null;
|
8277
|
-
createdAt:
|
8278
|
-
updatedAt:
|
8279
|
-
deletedAt:
|
8277
|
+
createdAt: Date;
|
8278
|
+
updatedAt: Date;
|
8279
|
+
deletedAt: Date | null;
|
8280
8280
|
tags: {
|
8281
8281
|
id: string;
|
8282
8282
|
name: string;
|
8283
|
-
createdAt:
|
8284
|
-
updatedAt:
|
8285
|
-
deletedAt:
|
8283
|
+
createdAt: Date;
|
8284
|
+
updatedAt: Date;
|
8285
|
+
deletedAt: Date | null;
|
8286
8286
|
}[];
|
8287
8287
|
callFrom: string | null;
|
8288
8288
|
callTo: string | null;
|
@@ -8292,9 +8292,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8292
8292
|
}, "strip", z.ZodTypeAny, {
|
8293
8293
|
id: string;
|
8294
8294
|
direction: "incoming" | "outgoing" | "system";
|
8295
|
-
createdAt:
|
8296
|
-
updatedAt:
|
8297
|
-
deletedAt:
|
8295
|
+
createdAt: Date;
|
8296
|
+
updatedAt: Date;
|
8297
|
+
deletedAt: Date | null;
|
8298
8298
|
actor: {
|
8299
8299
|
id: string;
|
8300
8300
|
address: string | null;
|
@@ -8354,9 +8354,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8354
8354
|
picture?: string | undefined;
|
8355
8355
|
additionalCredentials?: any;
|
8356
8356
|
};
|
8357
|
-
createdAt:
|
8358
|
-
updatedAt:
|
8359
|
-
deletedAt:
|
8357
|
+
createdAt: Date;
|
8358
|
+
updatedAt: Date;
|
8359
|
+
deletedAt: Date | null;
|
8360
8360
|
contact: {
|
8361
8361
|
id: string;
|
8362
8362
|
channel: string | null;
|
@@ -8374,9 +8374,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8374
8374
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
8375
8375
|
id: string;
|
8376
8376
|
position: number;
|
8377
|
-
createdAt:
|
8378
|
-
updatedAt:
|
8379
|
-
deletedAt:
|
8377
|
+
createdAt: Date;
|
8378
|
+
updatedAt: Date;
|
8379
|
+
deletedAt: Date | null;
|
8380
8380
|
isDefault: boolean;
|
8381
8381
|
systemName: string;
|
8382
8382
|
displayName: string;
|
@@ -8390,15 +8390,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8390
8390
|
dateValue: Date | null;
|
8391
8391
|
uploads: {
|
8392
8392
|
id: string;
|
8393
|
-
createdAt:
|
8394
|
-
updatedAt:
|
8395
|
-
deletedAt:
|
8393
|
+
createdAt: Date;
|
8394
|
+
updatedAt: Date;
|
8395
|
+
deletedAt: Date | null;
|
8396
8396
|
customFieldId: string;
|
8397
8397
|
upload: {
|
8398
8398
|
id: string;
|
8399
|
-
createdAt:
|
8400
|
-
updatedAt:
|
8401
|
-
deletedAt:
|
8399
|
+
createdAt: Date;
|
8400
|
+
updatedAt: Date;
|
8401
|
+
deletedAt: Date | null;
|
8402
8402
|
fileName: string;
|
8403
8403
|
fileKey: string;
|
8404
8404
|
bucketName: string;
|
@@ -8412,15 +8412,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8412
8412
|
tags: {
|
8413
8413
|
id: string;
|
8414
8414
|
name: string;
|
8415
|
-
createdAt:
|
8416
|
-
updatedAt:
|
8417
|
-
deletedAt:
|
8415
|
+
createdAt: Date;
|
8416
|
+
updatedAt: Date;
|
8417
|
+
deletedAt: Date | null;
|
8418
8418
|
}[];
|
8419
8419
|
company: {
|
8420
8420
|
id: string;
|
8421
|
-
createdAt:
|
8422
|
-
updatedAt:
|
8423
|
-
deletedAt:
|
8421
|
+
createdAt: Date;
|
8422
|
+
updatedAt: Date;
|
8423
|
+
deletedAt: Date | null;
|
8424
8424
|
address?: string | null | undefined;
|
8425
8425
|
name?: string | undefined;
|
8426
8426
|
phone?: string | null | undefined;
|
@@ -8510,9 +8510,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8510
8510
|
channel: string | null;
|
8511
8511
|
disposition: string | null;
|
8512
8512
|
direction: string | null;
|
8513
|
-
createdAt:
|
8514
|
-
updatedAt:
|
8515
|
-
deletedAt:
|
8513
|
+
createdAt: Date;
|
8514
|
+
updatedAt: Date;
|
8515
|
+
deletedAt: Date | null;
|
8516
8516
|
entityId: string;
|
8517
8517
|
contactId: string | null;
|
8518
8518
|
caseId: number;
|
@@ -8525,15 +8525,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8525
8525
|
wrapUpForm: {
|
8526
8526
|
id: string;
|
8527
8527
|
disposition: string | null;
|
8528
|
-
createdAt:
|
8529
|
-
updatedAt:
|
8530
|
-
deletedAt:
|
8528
|
+
createdAt: Date;
|
8529
|
+
updatedAt: Date;
|
8530
|
+
deletedAt: Date | null;
|
8531
8531
|
tags: {
|
8532
8532
|
id: string;
|
8533
8533
|
name: string;
|
8534
|
-
createdAt:
|
8535
|
-
updatedAt:
|
8536
|
-
deletedAt:
|
8534
|
+
createdAt: Date;
|
8535
|
+
updatedAt: Date;
|
8536
|
+
deletedAt: Date | null;
|
8537
8537
|
}[];
|
8538
8538
|
callFrom: string | null;
|
8539
8539
|
callTo: string | null;
|
@@ -8542,9 +8542,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8542
8542
|
};
|
8543
8543
|
channel?: {
|
8544
8544
|
id?: string | undefined;
|
8545
|
-
createdAt?:
|
8546
|
-
updatedAt?:
|
8547
|
-
deletedAt?:
|
8545
|
+
createdAt?: Date | undefined;
|
8546
|
+
updatedAt?: Date | undefined;
|
8547
|
+
deletedAt?: Date | null | undefined;
|
8548
8548
|
name?: string | undefined;
|
8549
8549
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
8550
8550
|
metadata?: {
|
@@ -8606,9 +8606,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8606
8606
|
}, {
|
8607
8607
|
id: string;
|
8608
8608
|
direction: "incoming" | "outgoing" | "system";
|
8609
|
-
createdAt:
|
8610
|
-
updatedAt:
|
8611
|
-
deletedAt:
|
8609
|
+
createdAt: Date;
|
8610
|
+
updatedAt: Date;
|
8611
|
+
deletedAt: Date | null;
|
8612
8612
|
actor: {
|
8613
8613
|
id: string;
|
8614
8614
|
address: string | null;
|
@@ -8668,9 +8668,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8668
8668
|
picture?: string | undefined;
|
8669
8669
|
additionalCredentials?: any;
|
8670
8670
|
};
|
8671
|
-
createdAt:
|
8672
|
-
updatedAt:
|
8673
|
-
deletedAt:
|
8671
|
+
createdAt: Date;
|
8672
|
+
updatedAt: Date;
|
8673
|
+
deletedAt: Date | null;
|
8674
8674
|
contact: {
|
8675
8675
|
id: string;
|
8676
8676
|
channel: string | null;
|
@@ -8688,9 +8688,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8688
8688
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
8689
8689
|
id: string;
|
8690
8690
|
position: number;
|
8691
|
-
createdAt:
|
8692
|
-
updatedAt:
|
8693
|
-
deletedAt:
|
8691
|
+
createdAt: Date;
|
8692
|
+
updatedAt: Date;
|
8693
|
+
deletedAt: Date | null;
|
8694
8694
|
isDefault: boolean;
|
8695
8695
|
systemName: string;
|
8696
8696
|
displayName: string;
|
@@ -8704,15 +8704,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8704
8704
|
dateValue: Date | null;
|
8705
8705
|
uploads: {
|
8706
8706
|
id: string;
|
8707
|
-
createdAt:
|
8708
|
-
updatedAt:
|
8709
|
-
deletedAt:
|
8707
|
+
createdAt: Date;
|
8708
|
+
updatedAt: Date;
|
8709
|
+
deletedAt: Date | null;
|
8710
8710
|
customFieldId: string;
|
8711
8711
|
upload: {
|
8712
8712
|
id: string;
|
8713
|
-
createdAt:
|
8714
|
-
updatedAt:
|
8715
|
-
deletedAt:
|
8713
|
+
createdAt: Date;
|
8714
|
+
updatedAt: Date;
|
8715
|
+
deletedAt: Date | null;
|
8716
8716
|
fileName: string;
|
8717
8717
|
fileKey: string;
|
8718
8718
|
bucketName: string;
|
@@ -8726,15 +8726,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8726
8726
|
tags: {
|
8727
8727
|
id: string;
|
8728
8728
|
name: string;
|
8729
|
-
createdAt:
|
8730
|
-
updatedAt:
|
8731
|
-
deletedAt:
|
8729
|
+
createdAt: Date;
|
8730
|
+
updatedAt: Date;
|
8731
|
+
deletedAt: Date | null;
|
8732
8732
|
}[];
|
8733
8733
|
company: {
|
8734
8734
|
id: string;
|
8735
|
-
createdAt:
|
8736
|
-
updatedAt:
|
8737
|
-
deletedAt:
|
8735
|
+
createdAt: Date;
|
8736
|
+
updatedAt: Date;
|
8737
|
+
deletedAt: Date | null;
|
8738
8738
|
address?: string | null | undefined;
|
8739
8739
|
name?: string | undefined;
|
8740
8740
|
phone?: string | null | undefined;
|
@@ -8824,9 +8824,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8824
8824
|
channel: string | null;
|
8825
8825
|
disposition: string | null;
|
8826
8826
|
direction: string | null;
|
8827
|
-
createdAt:
|
8828
|
-
updatedAt:
|
8829
|
-
deletedAt:
|
8827
|
+
createdAt: Date;
|
8828
|
+
updatedAt: Date;
|
8829
|
+
deletedAt: Date | null;
|
8830
8830
|
entityId: string;
|
8831
8831
|
contactId: string | null;
|
8832
8832
|
caseId: number;
|
@@ -8839,15 +8839,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8839
8839
|
wrapUpForm: {
|
8840
8840
|
id: string;
|
8841
8841
|
disposition: string | null;
|
8842
|
-
createdAt:
|
8843
|
-
updatedAt:
|
8844
|
-
deletedAt:
|
8842
|
+
createdAt: Date;
|
8843
|
+
updatedAt: Date;
|
8844
|
+
deletedAt: Date | null;
|
8845
8845
|
tags: {
|
8846
8846
|
id: string;
|
8847
8847
|
name: string;
|
8848
|
-
createdAt:
|
8849
|
-
updatedAt:
|
8850
|
-
deletedAt:
|
8848
|
+
createdAt: Date;
|
8849
|
+
updatedAt: Date;
|
8850
|
+
deletedAt: Date | null;
|
8851
8851
|
}[];
|
8852
8852
|
callFrom: string | null;
|
8853
8853
|
callTo: string | null;
|
@@ -8856,9 +8856,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8856
8856
|
};
|
8857
8857
|
channel?: {
|
8858
8858
|
id?: string | undefined;
|
8859
|
-
createdAt?:
|
8860
|
-
updatedAt?:
|
8861
|
-
deletedAt?:
|
8859
|
+
createdAt?: Date | undefined;
|
8860
|
+
updatedAt?: Date | undefined;
|
8861
|
+
deletedAt?: Date | null | undefined;
|
8862
8862
|
name?: string | undefined;
|
8863
8863
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
8864
8864
|
metadata?: {
|
@@ -8920,27 +8920,27 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8920
8920
|
}>;
|
8921
8921
|
upload: z.ZodObject<{
|
8922
8922
|
id: z.ZodString;
|
8923
|
-
createdAt: z.
|
8924
|
-
updatedAt: z.
|
8925
|
-
deletedAt: z.ZodNullable<z.
|
8923
|
+
createdAt: z.ZodDate;
|
8924
|
+
updatedAt: z.ZodDate;
|
8925
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
8926
8926
|
bucketName: z.ZodString;
|
8927
8927
|
fileName: z.ZodString;
|
8928
8928
|
fileSize: z.ZodNumber;
|
8929
8929
|
fileKey: z.ZodString;
|
8930
8930
|
}, "strip", z.ZodTypeAny, {
|
8931
8931
|
id: string;
|
8932
|
-
createdAt:
|
8933
|
-
updatedAt:
|
8934
|
-
deletedAt:
|
8932
|
+
createdAt: Date;
|
8933
|
+
updatedAt: Date;
|
8934
|
+
deletedAt: Date | null;
|
8935
8935
|
fileName: string;
|
8936
8936
|
fileKey: string;
|
8937
8937
|
bucketName: string;
|
8938
8938
|
fileSize: number;
|
8939
8939
|
}, {
|
8940
8940
|
id: string;
|
8941
|
-
createdAt:
|
8942
|
-
updatedAt:
|
8943
|
-
deletedAt:
|
8941
|
+
createdAt: Date;
|
8942
|
+
updatedAt: Date;
|
8943
|
+
deletedAt: Date | null;
|
8944
8944
|
fileName: string;
|
8945
8945
|
fileKey: string;
|
8946
8946
|
bucketName: string;
|
@@ -9549,9 +9549,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9549
9549
|
id: string;
|
9550
9550
|
url: string;
|
9551
9551
|
direction: "incoming" | "outgoing" | "system";
|
9552
|
-
createdAt:
|
9553
|
-
updatedAt:
|
9554
|
-
deletedAt:
|
9552
|
+
createdAt: Date;
|
9553
|
+
updatedAt: Date;
|
9554
|
+
deletedAt: Date | null;
|
9555
9555
|
platformId: string;
|
9556
9556
|
actor: {
|
9557
9557
|
id: string;
|
@@ -9598,9 +9598,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9598
9598
|
};
|
9599
9599
|
upload: {
|
9600
9600
|
id: string;
|
9601
|
-
createdAt:
|
9602
|
-
updatedAt:
|
9603
|
-
deletedAt:
|
9601
|
+
createdAt: Date;
|
9602
|
+
updatedAt: Date;
|
9603
|
+
deletedAt: Date | null;
|
9604
9604
|
fileName: string;
|
9605
9605
|
fileKey: string;
|
9606
9606
|
bucketName: string;
|
@@ -9652,9 +9652,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9652
9652
|
room: {
|
9653
9653
|
id: string;
|
9654
9654
|
direction: "incoming" | "outgoing" | "system";
|
9655
|
-
createdAt:
|
9656
|
-
updatedAt:
|
9657
|
-
deletedAt:
|
9655
|
+
createdAt: Date;
|
9656
|
+
updatedAt: Date;
|
9657
|
+
deletedAt: Date | null;
|
9658
9658
|
actor: {
|
9659
9659
|
id: string;
|
9660
9660
|
address: string | null;
|
@@ -9714,9 +9714,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9714
9714
|
picture?: string | undefined;
|
9715
9715
|
additionalCredentials?: any;
|
9716
9716
|
};
|
9717
|
-
createdAt:
|
9718
|
-
updatedAt:
|
9719
|
-
deletedAt:
|
9717
|
+
createdAt: Date;
|
9718
|
+
updatedAt: Date;
|
9719
|
+
deletedAt: Date | null;
|
9720
9720
|
contact: {
|
9721
9721
|
id: string;
|
9722
9722
|
channel: string | null;
|
@@ -9734,9 +9734,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9734
9734
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
9735
9735
|
id: string;
|
9736
9736
|
position: number;
|
9737
|
-
createdAt:
|
9738
|
-
updatedAt:
|
9739
|
-
deletedAt:
|
9737
|
+
createdAt: Date;
|
9738
|
+
updatedAt: Date;
|
9739
|
+
deletedAt: Date | null;
|
9740
9740
|
isDefault: boolean;
|
9741
9741
|
systemName: string;
|
9742
9742
|
displayName: string;
|
@@ -9750,15 +9750,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9750
9750
|
dateValue: Date | null;
|
9751
9751
|
uploads: {
|
9752
9752
|
id: string;
|
9753
|
-
createdAt:
|
9754
|
-
updatedAt:
|
9755
|
-
deletedAt:
|
9753
|
+
createdAt: Date;
|
9754
|
+
updatedAt: Date;
|
9755
|
+
deletedAt: Date | null;
|
9756
9756
|
customFieldId: string;
|
9757
9757
|
upload: {
|
9758
9758
|
id: string;
|
9759
|
-
createdAt:
|
9760
|
-
updatedAt:
|
9761
|
-
deletedAt:
|
9759
|
+
createdAt: Date;
|
9760
|
+
updatedAt: Date;
|
9761
|
+
deletedAt: Date | null;
|
9762
9762
|
fileName: string;
|
9763
9763
|
fileKey: string;
|
9764
9764
|
bucketName: string;
|
@@ -9772,15 +9772,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9772
9772
|
tags: {
|
9773
9773
|
id: string;
|
9774
9774
|
name: string;
|
9775
|
-
createdAt:
|
9776
|
-
updatedAt:
|
9777
|
-
deletedAt:
|
9775
|
+
createdAt: Date;
|
9776
|
+
updatedAt: Date;
|
9777
|
+
deletedAt: Date | null;
|
9778
9778
|
}[];
|
9779
9779
|
company: {
|
9780
9780
|
id: string;
|
9781
|
-
createdAt:
|
9782
|
-
updatedAt:
|
9783
|
-
deletedAt:
|
9781
|
+
createdAt: Date;
|
9782
|
+
updatedAt: Date;
|
9783
|
+
deletedAt: Date | null;
|
9784
9784
|
address?: string | null | undefined;
|
9785
9785
|
name?: string | undefined;
|
9786
9786
|
phone?: string | null | undefined;
|
@@ -9870,9 +9870,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9870
9870
|
channel: string | null;
|
9871
9871
|
disposition: string | null;
|
9872
9872
|
direction: string | null;
|
9873
|
-
createdAt:
|
9874
|
-
updatedAt:
|
9875
|
-
deletedAt:
|
9873
|
+
createdAt: Date;
|
9874
|
+
updatedAt: Date;
|
9875
|
+
deletedAt: Date | null;
|
9876
9876
|
entityId: string;
|
9877
9877
|
contactId: string | null;
|
9878
9878
|
caseId: number;
|
@@ -9885,15 +9885,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9885
9885
|
wrapUpForm: {
|
9886
9886
|
id: string;
|
9887
9887
|
disposition: string | null;
|
9888
|
-
createdAt:
|
9889
|
-
updatedAt:
|
9890
|
-
deletedAt:
|
9888
|
+
createdAt: Date;
|
9889
|
+
updatedAt: Date;
|
9890
|
+
deletedAt: Date | null;
|
9891
9891
|
tags: {
|
9892
9892
|
id: string;
|
9893
9893
|
name: string;
|
9894
|
-
createdAt:
|
9895
|
-
updatedAt:
|
9896
|
-
deletedAt:
|
9894
|
+
createdAt: Date;
|
9895
|
+
updatedAt: Date;
|
9896
|
+
deletedAt: Date | null;
|
9897
9897
|
}[];
|
9898
9898
|
callFrom: string | null;
|
9899
9899
|
callTo: string | null;
|
@@ -9902,9 +9902,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9902
9902
|
};
|
9903
9903
|
channel?: {
|
9904
9904
|
id?: string | undefined;
|
9905
|
-
createdAt?:
|
9906
|
-
updatedAt?:
|
9907
|
-
deletedAt?:
|
9905
|
+
createdAt?: Date | undefined;
|
9906
|
+
updatedAt?: Date | undefined;
|
9907
|
+
deletedAt?: Date | null | undefined;
|
9908
9908
|
name?: string | undefined;
|
9909
9909
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
9910
9910
|
metadata?: {
|
@@ -10021,9 +10021,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10021
10021
|
id: string;
|
10022
10022
|
url: string;
|
10023
10023
|
direction: "incoming" | "outgoing" | "system";
|
10024
|
-
createdAt:
|
10025
|
-
updatedAt:
|
10026
|
-
deletedAt:
|
10024
|
+
createdAt: Date;
|
10025
|
+
updatedAt: Date;
|
10026
|
+
deletedAt: Date | null;
|
10027
10027
|
platformId: string;
|
10028
10028
|
actor: {
|
10029
10029
|
id: string;
|
@@ -10070,9 +10070,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10070
10070
|
};
|
10071
10071
|
upload: {
|
10072
10072
|
id: string;
|
10073
|
-
createdAt:
|
10074
|
-
updatedAt:
|
10075
|
-
deletedAt:
|
10073
|
+
createdAt: Date;
|
10074
|
+
updatedAt: Date;
|
10075
|
+
deletedAt: Date | null;
|
10076
10076
|
fileName: string;
|
10077
10077
|
fileKey: string;
|
10078
10078
|
bucketName: string;
|
@@ -10124,9 +10124,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10124
10124
|
room: {
|
10125
10125
|
id: string;
|
10126
10126
|
direction: "incoming" | "outgoing" | "system";
|
10127
|
-
createdAt:
|
10128
|
-
updatedAt:
|
10129
|
-
deletedAt:
|
10127
|
+
createdAt: Date;
|
10128
|
+
updatedAt: Date;
|
10129
|
+
deletedAt: Date | null;
|
10130
10130
|
actor: {
|
10131
10131
|
id: string;
|
10132
10132
|
address: string | null;
|
@@ -10186,9 +10186,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10186
10186
|
picture?: string | undefined;
|
10187
10187
|
additionalCredentials?: any;
|
10188
10188
|
};
|
10189
|
-
createdAt:
|
10190
|
-
updatedAt:
|
10191
|
-
deletedAt:
|
10189
|
+
createdAt: Date;
|
10190
|
+
updatedAt: Date;
|
10191
|
+
deletedAt: Date | null;
|
10192
10192
|
contact: {
|
10193
10193
|
id: string;
|
10194
10194
|
channel: string | null;
|
@@ -10206,9 +10206,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10206
10206
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
10207
10207
|
id: string;
|
10208
10208
|
position: number;
|
10209
|
-
createdAt:
|
10210
|
-
updatedAt:
|
10211
|
-
deletedAt:
|
10209
|
+
createdAt: Date;
|
10210
|
+
updatedAt: Date;
|
10211
|
+
deletedAt: Date | null;
|
10212
10212
|
isDefault: boolean;
|
10213
10213
|
systemName: string;
|
10214
10214
|
displayName: string;
|
@@ -10222,15 +10222,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10222
10222
|
dateValue: Date | null;
|
10223
10223
|
uploads: {
|
10224
10224
|
id: string;
|
10225
|
-
createdAt:
|
10226
|
-
updatedAt:
|
10227
|
-
deletedAt:
|
10225
|
+
createdAt: Date;
|
10226
|
+
updatedAt: Date;
|
10227
|
+
deletedAt: Date | null;
|
10228
10228
|
customFieldId: string;
|
10229
10229
|
upload: {
|
10230
10230
|
id: string;
|
10231
|
-
createdAt:
|
10232
|
-
updatedAt:
|
10233
|
-
deletedAt:
|
10231
|
+
createdAt: Date;
|
10232
|
+
updatedAt: Date;
|
10233
|
+
deletedAt: Date | null;
|
10234
10234
|
fileName: string;
|
10235
10235
|
fileKey: string;
|
10236
10236
|
bucketName: string;
|
@@ -10244,15 +10244,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10244
10244
|
tags: {
|
10245
10245
|
id: string;
|
10246
10246
|
name: string;
|
10247
|
-
createdAt:
|
10248
|
-
updatedAt:
|
10249
|
-
deletedAt:
|
10247
|
+
createdAt: Date;
|
10248
|
+
updatedAt: Date;
|
10249
|
+
deletedAt: Date | null;
|
10250
10250
|
}[];
|
10251
10251
|
company: {
|
10252
10252
|
id: string;
|
10253
|
-
createdAt:
|
10254
|
-
updatedAt:
|
10255
|
-
deletedAt:
|
10253
|
+
createdAt: Date;
|
10254
|
+
updatedAt: Date;
|
10255
|
+
deletedAt: Date | null;
|
10256
10256
|
address?: string | null | undefined;
|
10257
10257
|
name?: string | undefined;
|
10258
10258
|
phone?: string | null | undefined;
|
@@ -10342,9 +10342,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10342
10342
|
channel: string | null;
|
10343
10343
|
disposition: string | null;
|
10344
10344
|
direction: string | null;
|
10345
|
-
createdAt:
|
10346
|
-
updatedAt:
|
10347
|
-
deletedAt:
|
10345
|
+
createdAt: Date;
|
10346
|
+
updatedAt: Date;
|
10347
|
+
deletedAt: Date | null;
|
10348
10348
|
entityId: string;
|
10349
10349
|
contactId: string | null;
|
10350
10350
|
caseId: number;
|
@@ -10357,15 +10357,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10357
10357
|
wrapUpForm: {
|
10358
10358
|
id: string;
|
10359
10359
|
disposition: string | null;
|
10360
|
-
createdAt:
|
10361
|
-
updatedAt:
|
10362
|
-
deletedAt:
|
10360
|
+
createdAt: Date;
|
10361
|
+
updatedAt: Date;
|
10362
|
+
deletedAt: Date | null;
|
10363
10363
|
tags: {
|
10364
10364
|
id: string;
|
10365
10365
|
name: string;
|
10366
|
-
createdAt:
|
10367
|
-
updatedAt:
|
10368
|
-
deletedAt:
|
10366
|
+
createdAt: Date;
|
10367
|
+
updatedAt: Date;
|
10368
|
+
deletedAt: Date | null;
|
10369
10369
|
}[];
|
10370
10370
|
callFrom: string | null;
|
10371
10371
|
callTo: string | null;
|
@@ -10374,9 +10374,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10374
10374
|
};
|
10375
10375
|
channel?: {
|
10376
10376
|
id?: string | undefined;
|
10377
|
-
createdAt?:
|
10378
|
-
updatedAt?:
|
10379
|
-
deletedAt?:
|
10377
|
+
createdAt?: Date | undefined;
|
10378
|
+
updatedAt?: Date | undefined;
|
10379
|
+
deletedAt?: Date | null | undefined;
|
10380
10380
|
name?: string | undefined;
|
10381
10381
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
10382
10382
|
metadata?: {
|
@@ -10495,9 +10495,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10495
10495
|
id: string;
|
10496
10496
|
url: string;
|
10497
10497
|
direction: "incoming" | "outgoing" | "system";
|
10498
|
-
createdAt:
|
10499
|
-
updatedAt:
|
10500
|
-
deletedAt:
|
10498
|
+
createdAt: Date;
|
10499
|
+
updatedAt: Date;
|
10500
|
+
deletedAt: Date | null;
|
10501
10501
|
platformId: string;
|
10502
10502
|
actor: {
|
10503
10503
|
id: string;
|
@@ -10544,9 +10544,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10544
10544
|
};
|
10545
10545
|
upload: {
|
10546
10546
|
id: string;
|
10547
|
-
createdAt:
|
10548
|
-
updatedAt:
|
10549
|
-
deletedAt:
|
10547
|
+
createdAt: Date;
|
10548
|
+
updatedAt: Date;
|
10549
|
+
deletedAt: Date | null;
|
10550
10550
|
fileName: string;
|
10551
10551
|
fileKey: string;
|
10552
10552
|
bucketName: string;
|
@@ -10598,9 +10598,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10598
10598
|
room: {
|
10599
10599
|
id: string;
|
10600
10600
|
direction: "incoming" | "outgoing" | "system";
|
10601
|
-
createdAt:
|
10602
|
-
updatedAt:
|
10603
|
-
deletedAt:
|
10601
|
+
createdAt: Date;
|
10602
|
+
updatedAt: Date;
|
10603
|
+
deletedAt: Date | null;
|
10604
10604
|
actor: {
|
10605
10605
|
id: string;
|
10606
10606
|
address: string | null;
|
@@ -10660,9 +10660,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10660
10660
|
picture?: string | undefined;
|
10661
10661
|
additionalCredentials?: any;
|
10662
10662
|
};
|
10663
|
-
createdAt:
|
10664
|
-
updatedAt:
|
10665
|
-
deletedAt:
|
10663
|
+
createdAt: Date;
|
10664
|
+
updatedAt: Date;
|
10665
|
+
deletedAt: Date | null;
|
10666
10666
|
contact: {
|
10667
10667
|
id: string;
|
10668
10668
|
channel: string | null;
|
@@ -10680,9 +10680,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10680
10680
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
10681
10681
|
id: string;
|
10682
10682
|
position: number;
|
10683
|
-
createdAt:
|
10684
|
-
updatedAt:
|
10685
|
-
deletedAt:
|
10683
|
+
createdAt: Date;
|
10684
|
+
updatedAt: Date;
|
10685
|
+
deletedAt: Date | null;
|
10686
10686
|
isDefault: boolean;
|
10687
10687
|
systemName: string;
|
10688
10688
|
displayName: string;
|
@@ -10696,15 +10696,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10696
10696
|
dateValue: Date | null;
|
10697
10697
|
uploads: {
|
10698
10698
|
id: string;
|
10699
|
-
createdAt:
|
10700
|
-
updatedAt:
|
10701
|
-
deletedAt:
|
10699
|
+
createdAt: Date;
|
10700
|
+
updatedAt: Date;
|
10701
|
+
deletedAt: Date | null;
|
10702
10702
|
customFieldId: string;
|
10703
10703
|
upload: {
|
10704
10704
|
id: string;
|
10705
|
-
createdAt:
|
10706
|
-
updatedAt:
|
10707
|
-
deletedAt:
|
10705
|
+
createdAt: Date;
|
10706
|
+
updatedAt: Date;
|
10707
|
+
deletedAt: Date | null;
|
10708
10708
|
fileName: string;
|
10709
10709
|
fileKey: string;
|
10710
10710
|
bucketName: string;
|
@@ -10718,15 +10718,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10718
10718
|
tags: {
|
10719
10719
|
id: string;
|
10720
10720
|
name: string;
|
10721
|
-
createdAt:
|
10722
|
-
updatedAt:
|
10723
|
-
deletedAt:
|
10721
|
+
createdAt: Date;
|
10722
|
+
updatedAt: Date;
|
10723
|
+
deletedAt: Date | null;
|
10724
10724
|
}[];
|
10725
10725
|
company: {
|
10726
10726
|
id: string;
|
10727
|
-
createdAt:
|
10728
|
-
updatedAt:
|
10729
|
-
deletedAt:
|
10727
|
+
createdAt: Date;
|
10728
|
+
updatedAt: Date;
|
10729
|
+
deletedAt: Date | null;
|
10730
10730
|
address?: string | null | undefined;
|
10731
10731
|
name?: string | undefined;
|
10732
10732
|
phone?: string | null | undefined;
|
@@ -10816,9 +10816,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10816
10816
|
channel: string | null;
|
10817
10817
|
disposition: string | null;
|
10818
10818
|
direction: string | null;
|
10819
|
-
createdAt:
|
10820
|
-
updatedAt:
|
10821
|
-
deletedAt:
|
10819
|
+
createdAt: Date;
|
10820
|
+
updatedAt: Date;
|
10821
|
+
deletedAt: Date | null;
|
10822
10822
|
entityId: string;
|
10823
10823
|
contactId: string | null;
|
10824
10824
|
caseId: number;
|
@@ -10831,15 +10831,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10831
10831
|
wrapUpForm: {
|
10832
10832
|
id: string;
|
10833
10833
|
disposition: string | null;
|
10834
|
-
createdAt:
|
10835
|
-
updatedAt:
|
10836
|
-
deletedAt:
|
10834
|
+
createdAt: Date;
|
10835
|
+
updatedAt: Date;
|
10836
|
+
deletedAt: Date | null;
|
10837
10837
|
tags: {
|
10838
10838
|
id: string;
|
10839
10839
|
name: string;
|
10840
|
-
createdAt:
|
10841
|
-
updatedAt:
|
10842
|
-
deletedAt:
|
10840
|
+
createdAt: Date;
|
10841
|
+
updatedAt: Date;
|
10842
|
+
deletedAt: Date | null;
|
10843
10843
|
}[];
|
10844
10844
|
callFrom: string | null;
|
10845
10845
|
callTo: string | null;
|
@@ -10848,9 +10848,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10848
10848
|
};
|
10849
10849
|
channel?: {
|
10850
10850
|
id?: string | undefined;
|
10851
|
-
createdAt?:
|
10852
|
-
updatedAt?:
|
10853
|
-
deletedAt?:
|
10851
|
+
createdAt?: Date | undefined;
|
10852
|
+
updatedAt?: Date | undefined;
|
10853
|
+
deletedAt?: Date | null | undefined;
|
10854
10854
|
name?: string | undefined;
|
10855
10855
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
10856
10856
|
metadata?: {
|
@@ -10969,9 +10969,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10969
10969
|
id: string;
|
10970
10970
|
url: string;
|
10971
10971
|
direction: "incoming" | "outgoing" | "system";
|
10972
|
-
createdAt:
|
10973
|
-
updatedAt:
|
10974
|
-
deletedAt:
|
10972
|
+
createdAt: Date;
|
10973
|
+
updatedAt: Date;
|
10974
|
+
deletedAt: Date | null;
|
10975
10975
|
platformId: string;
|
10976
10976
|
actor: {
|
10977
10977
|
id: string;
|
@@ -11018,9 +11018,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11018
11018
|
};
|
11019
11019
|
upload: {
|
11020
11020
|
id: string;
|
11021
|
-
createdAt:
|
11022
|
-
updatedAt:
|
11023
|
-
deletedAt:
|
11021
|
+
createdAt: Date;
|
11022
|
+
updatedAt: Date;
|
11023
|
+
deletedAt: Date | null;
|
11024
11024
|
fileName: string;
|
11025
11025
|
fileKey: string;
|
11026
11026
|
bucketName: string;
|
@@ -11072,9 +11072,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11072
11072
|
room: {
|
11073
11073
|
id: string;
|
11074
11074
|
direction: "incoming" | "outgoing" | "system";
|
11075
|
-
createdAt:
|
11076
|
-
updatedAt:
|
11077
|
-
deletedAt:
|
11075
|
+
createdAt: Date;
|
11076
|
+
updatedAt: Date;
|
11077
|
+
deletedAt: Date | null;
|
11078
11078
|
actor: {
|
11079
11079
|
id: string;
|
11080
11080
|
address: string | null;
|
@@ -11134,9 +11134,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11134
11134
|
picture?: string | undefined;
|
11135
11135
|
additionalCredentials?: any;
|
11136
11136
|
};
|
11137
|
-
createdAt:
|
11138
|
-
updatedAt:
|
11139
|
-
deletedAt:
|
11137
|
+
createdAt: Date;
|
11138
|
+
updatedAt: Date;
|
11139
|
+
deletedAt: Date | null;
|
11140
11140
|
contact: {
|
11141
11141
|
id: string;
|
11142
11142
|
channel: string | null;
|
@@ -11154,9 +11154,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11154
11154
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
11155
11155
|
id: string;
|
11156
11156
|
position: number;
|
11157
|
-
createdAt:
|
11158
|
-
updatedAt:
|
11159
|
-
deletedAt:
|
11157
|
+
createdAt: Date;
|
11158
|
+
updatedAt: Date;
|
11159
|
+
deletedAt: Date | null;
|
11160
11160
|
isDefault: boolean;
|
11161
11161
|
systemName: string;
|
11162
11162
|
displayName: string;
|
@@ -11170,15 +11170,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11170
11170
|
dateValue: Date | null;
|
11171
11171
|
uploads: {
|
11172
11172
|
id: string;
|
11173
|
-
createdAt:
|
11174
|
-
updatedAt:
|
11175
|
-
deletedAt:
|
11173
|
+
createdAt: Date;
|
11174
|
+
updatedAt: Date;
|
11175
|
+
deletedAt: Date | null;
|
11176
11176
|
customFieldId: string;
|
11177
11177
|
upload: {
|
11178
11178
|
id: string;
|
11179
|
-
createdAt:
|
11180
|
-
updatedAt:
|
11181
|
-
deletedAt:
|
11179
|
+
createdAt: Date;
|
11180
|
+
updatedAt: Date;
|
11181
|
+
deletedAt: Date | null;
|
11182
11182
|
fileName: string;
|
11183
11183
|
fileKey: string;
|
11184
11184
|
bucketName: string;
|
@@ -11192,15 +11192,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11192
11192
|
tags: {
|
11193
11193
|
id: string;
|
11194
11194
|
name: string;
|
11195
|
-
createdAt:
|
11196
|
-
updatedAt:
|
11197
|
-
deletedAt:
|
11195
|
+
createdAt: Date;
|
11196
|
+
updatedAt: Date;
|
11197
|
+
deletedAt: Date | null;
|
11198
11198
|
}[];
|
11199
11199
|
company: {
|
11200
11200
|
id: string;
|
11201
|
-
createdAt:
|
11202
|
-
updatedAt:
|
11203
|
-
deletedAt:
|
11201
|
+
createdAt: Date;
|
11202
|
+
updatedAt: Date;
|
11203
|
+
deletedAt: Date | null;
|
11204
11204
|
address?: string | null | undefined;
|
11205
11205
|
name?: string | undefined;
|
11206
11206
|
phone?: string | null | undefined;
|
@@ -11290,9 +11290,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11290
11290
|
channel: string | null;
|
11291
11291
|
disposition: string | null;
|
11292
11292
|
direction: string | null;
|
11293
|
-
createdAt:
|
11294
|
-
updatedAt:
|
11295
|
-
deletedAt:
|
11293
|
+
createdAt: Date;
|
11294
|
+
updatedAt: Date;
|
11295
|
+
deletedAt: Date | null;
|
11296
11296
|
entityId: string;
|
11297
11297
|
contactId: string | null;
|
11298
11298
|
caseId: number;
|
@@ -11305,15 +11305,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11305
11305
|
wrapUpForm: {
|
11306
11306
|
id: string;
|
11307
11307
|
disposition: string | null;
|
11308
|
-
createdAt:
|
11309
|
-
updatedAt:
|
11310
|
-
deletedAt:
|
11308
|
+
createdAt: Date;
|
11309
|
+
updatedAt: Date;
|
11310
|
+
deletedAt: Date | null;
|
11311
11311
|
tags: {
|
11312
11312
|
id: string;
|
11313
11313
|
name: string;
|
11314
|
-
createdAt:
|
11315
|
-
updatedAt:
|
11316
|
-
deletedAt:
|
11314
|
+
createdAt: Date;
|
11315
|
+
updatedAt: Date;
|
11316
|
+
deletedAt: Date | null;
|
11317
11317
|
}[];
|
11318
11318
|
callFrom: string | null;
|
11319
11319
|
callTo: string | null;
|
@@ -11322,9 +11322,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11322
11322
|
};
|
11323
11323
|
channel?: {
|
11324
11324
|
id?: string | undefined;
|
11325
|
-
createdAt?:
|
11326
|
-
updatedAt?:
|
11327
|
-
deletedAt?:
|
11325
|
+
createdAt?: Date | undefined;
|
11326
|
+
updatedAt?: Date | undefined;
|
11327
|
+
deletedAt?: Date | null | undefined;
|
11328
11328
|
name?: string | undefined;
|
11329
11329
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
11330
11330
|
metadata?: {
|