@kl1/contracts 1.3.20 → 1.3.22
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/api-contracts/src/activity-log/index.d.ts +1 -1
- package/dist/api-contracts/src/attribute/index.d.ts +7 -7
- package/dist/api-contracts/src/auth/index.d.ts +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +10 -7
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +2 -2
- package/dist/api-contracts/src/botpress/index.d.ts +2 -2
- package/dist/api-contracts/src/business-calendar/index.d.ts +4 -4
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +7 -7
- package/dist/api-contracts/src/channel/index.d.ts +4754 -3019
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +36 -0
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +23 -0
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +2580 -2212
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +679 -603
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +500 -389
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +364 -364
- package/dist/api-contracts/src/comment/schema.d.ts +88 -88
- package/dist/api-contracts/src/contract.d.ts +40933 -35541
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +76 -65
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +90 -81
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +935 -49
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +164 -9
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +30 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +1 -1
- package/dist/api-contracts/src/export/index.d.ts +2 -0
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/export/validation.d.ts +3 -0
- package/dist/api-contracts/src/export/validation.d.ts.map +1 -0
- package/dist/api-contracts/src/extension/index.d.ts +7 -7
- package/dist/api-contracts/src/facebook-feed/index.d.ts +395 -273
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +10 -3
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +5 -0
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
- package/dist/api-contracts/src/hold-label/index.d.ts +10 -10
- package/dist/api-contracts/src/index.d.ts +2 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +360 -261
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +359 -268
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +16 -7
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +240 -240
- package/dist/api-contracts/src/mail/room-contract.d.ts +240 -240
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +80 -80
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +60 -60
- package/dist/api-contracts/src/messenger/index.d.ts +360 -261
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +5 -0
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +4 -4
- package/dist/api-contracts/src/permission/index.d.ts +1 -1
- package/dist/api-contracts/src/presence-status/index.d.ts +127 -55
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/schema.d.ts +16 -10
- package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/validation.d.ts +30 -12
- package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +5 -5
- package/dist/api-contracts/src/sms/index.d.ts +44 -7
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +8 -8
- package/dist/api-contracts/src/subscription/index.d.ts +5 -5
- package/dist/api-contracts/src/tag/index.d.ts +4 -4
- package/dist/api-contracts/src/telegram/index.d.ts +338 -261
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +62 -441
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +25 -13
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +14 -14
- package/dist/api-contracts/src/telephony-extension/index.d.ts +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +672 -672
- package/dist/api-contracts/src/ticket/schema.d.ts +44 -44
- package/dist/api-contracts/src/ticket/validation.d.ts +20 -20
- package/dist/api-contracts/src/upload/index.d.ts +2 -2
- package/dist/api-contracts/src/user/index.d.ts +7 -7
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +42 -18
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +50 -20
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +338 -261
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +338 -261
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +348 -261
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +350 -48
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +46 -4
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/validation.d.ts +66 -12
- package/dist/api-contracts/src/widget/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +323 -277
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +187 -187
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +20 -20
- package/dist/entities/src/enums/chat.d.ts +12 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +866 -464
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +864 -464
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -224,6 +224,8 @@ export declare const MessageAttachmentSchema: z.ZodObject<{
|
|
|
224
224
|
url: z.ZodNullable<z.ZodString>;
|
|
225
225
|
fileType: z.ZodString;
|
|
226
226
|
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
227
|
+
width: z.ZodOptional<z.ZodString>;
|
|
228
|
+
height: z.ZodOptional<z.ZodString>;
|
|
227
229
|
}, "strip", z.ZodTypeAny, {
|
|
228
230
|
url: string | null;
|
|
229
231
|
fileName: string;
|
|
@@ -232,6 +234,8 @@ export declare const MessageAttachmentSchema: z.ZodObject<{
|
|
|
232
234
|
bucketName: string;
|
|
233
235
|
fileSize: number;
|
|
234
236
|
thumbnailUrl?: string | undefined;
|
|
237
|
+
width?: string | undefined;
|
|
238
|
+
height?: string | undefined;
|
|
235
239
|
}, {
|
|
236
240
|
url: string | null;
|
|
237
241
|
fileName: string;
|
|
@@ -240,6 +244,8 @@ export declare const MessageAttachmentSchema: z.ZodObject<{
|
|
|
240
244
|
bucketName: string;
|
|
241
245
|
fileSize: number;
|
|
242
246
|
thumbnailUrl?: string | undefined;
|
|
247
|
+
width?: string | undefined;
|
|
248
|
+
height?: string | undefined;
|
|
243
249
|
}>;
|
|
244
250
|
export declare const StickerSchema: z.ZodObject<{
|
|
245
251
|
packageId: z.ZodNumber;
|
|
@@ -264,7 +270,7 @@ export declare const ActionMessageSchema: z.ZodObject<{
|
|
|
264
270
|
}>;
|
|
265
271
|
export declare const SendMessageSchema: z.ZodObject<{
|
|
266
272
|
roomId: z.ZodString;
|
|
267
|
-
messageType: z.
|
|
273
|
+
messageType: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
|
268
274
|
message: z.ZodOptional<z.ZodString>;
|
|
269
275
|
messageAttachments: z.ZodOptional<z.ZodObject<{
|
|
270
276
|
bucketName: z.ZodString;
|
|
@@ -274,6 +280,8 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
274
280
|
url: z.ZodNullable<z.ZodString>;
|
|
275
281
|
fileType: z.ZodString;
|
|
276
282
|
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
283
|
+
width: z.ZodOptional<z.ZodString>;
|
|
284
|
+
height: z.ZodOptional<z.ZodString>;
|
|
277
285
|
}, "strip", z.ZodTypeAny, {
|
|
278
286
|
url: string | null;
|
|
279
287
|
fileName: string;
|
|
@@ -282,6 +290,8 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
282
290
|
bucketName: string;
|
|
283
291
|
fileSize: number;
|
|
284
292
|
thumbnailUrl?: string | undefined;
|
|
293
|
+
width?: string | undefined;
|
|
294
|
+
height?: string | undefined;
|
|
285
295
|
}, {
|
|
286
296
|
url: string | null;
|
|
287
297
|
fileName: string;
|
|
@@ -290,6 +300,8 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
290
300
|
bucketName: string;
|
|
291
301
|
fileSize: number;
|
|
292
302
|
thumbnailUrl?: string | undefined;
|
|
303
|
+
width?: string | undefined;
|
|
304
|
+
height?: string | undefined;
|
|
293
305
|
}>>;
|
|
294
306
|
user: z.ZodOptional<z.ZodObject<{
|
|
295
307
|
name: z.ZodString;
|
|
@@ -523,7 +535,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
523
535
|
mentions?: string[] | undefined;
|
|
524
536
|
}>>;
|
|
525
537
|
}, "strip", z.ZodTypeAny, {
|
|
526
|
-
messageType:
|
|
538
|
+
messageType: string;
|
|
527
539
|
roomId: string;
|
|
528
540
|
message?: string | undefined;
|
|
529
541
|
messageAttachments?: {
|
|
@@ -534,6 +546,8 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
534
546
|
bucketName: string;
|
|
535
547
|
fileSize: number;
|
|
536
548
|
thumbnailUrl?: string | undefined;
|
|
549
|
+
width?: string | undefined;
|
|
550
|
+
height?: string | undefined;
|
|
537
551
|
} | undefined;
|
|
538
552
|
user?: {
|
|
539
553
|
name: string;
|
|
@@ -595,7 +609,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
595
609
|
mentions?: string[] | undefined;
|
|
596
610
|
} | undefined;
|
|
597
611
|
}, {
|
|
598
|
-
messageType:
|
|
612
|
+
messageType: string;
|
|
599
613
|
roomId: string;
|
|
600
614
|
message?: string | undefined;
|
|
601
615
|
messageAttachments?: {
|
|
@@ -606,6 +620,8 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
606
620
|
bucketName: string;
|
|
607
621
|
fileSize: number;
|
|
608
622
|
thumbnailUrl?: string | undefined;
|
|
623
|
+
width?: string | undefined;
|
|
624
|
+
height?: string | undefined;
|
|
609
625
|
} | undefined;
|
|
610
626
|
user?: {
|
|
611
627
|
name: string;
|
|
@@ -673,17 +689,17 @@ export declare const InitiateMessageSchema: z.ZodObject<{
|
|
|
673
689
|
contactId: z.ZodOptional<z.ZodString>;
|
|
674
690
|
message: z.ZodObject<{
|
|
675
691
|
message: z.ZodOptional<z.ZodString>;
|
|
676
|
-
messageType: z.
|
|
692
|
+
messageType: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
|
677
693
|
}, "strip", z.ZodTypeAny, {
|
|
678
|
-
messageType:
|
|
694
|
+
messageType: string;
|
|
679
695
|
message?: string | undefined;
|
|
680
696
|
}, {
|
|
681
|
-
messageType:
|
|
697
|
+
messageType: string;
|
|
682
698
|
message?: string | undefined;
|
|
683
699
|
}>;
|
|
684
700
|
}, "strip", z.ZodTypeAny, {
|
|
685
701
|
message: {
|
|
686
|
-
messageType:
|
|
702
|
+
messageType: string;
|
|
687
703
|
message?: string | undefined;
|
|
688
704
|
};
|
|
689
705
|
channelId: string;
|
|
@@ -691,7 +707,7 @@ export declare const InitiateMessageSchema: z.ZodObject<{
|
|
|
691
707
|
contactId?: string | undefined;
|
|
692
708
|
}, {
|
|
693
709
|
message: {
|
|
694
|
-
messageType:
|
|
710
|
+
messageType: string;
|
|
695
711
|
message?: string | undefined;
|
|
696
712
|
};
|
|
697
713
|
channelId: string;
|
|
@@ -830,6 +846,7 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
|
830
846
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
831
847
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
832
848
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
849
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
833
850
|
}, "strip", z.ZodTypeAny, {
|
|
834
851
|
name: string;
|
|
835
852
|
id: string;
|
|
@@ -859,6 +876,7 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
|
859
876
|
lineRichMenuId?: string | null | undefined;
|
|
860
877
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
861
878
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
879
|
+
isCSATEnabled?: boolean | undefined;
|
|
862
880
|
}, {
|
|
863
881
|
name: string;
|
|
864
882
|
id: string;
|
|
@@ -888,6 +906,7 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
|
888
906
|
lineRichMenuId?: string | null | undefined;
|
|
889
907
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
890
908
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
909
|
+
isCSATEnabled?: boolean | undefined;
|
|
891
910
|
}>;
|
|
892
911
|
platformId: z.ZodString;
|
|
893
912
|
brandName: z.ZodString;
|
|
@@ -947,6 +966,7 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
|
947
966
|
lineRichMenuId?: string | null | undefined;
|
|
948
967
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
949
968
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
969
|
+
isCSATEnabled?: boolean | undefined;
|
|
950
970
|
};
|
|
951
971
|
status: boolean;
|
|
952
972
|
brandName: string;
|
|
@@ -994,6 +1014,7 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
|
994
1014
|
lineRichMenuId?: string | null | undefined;
|
|
995
1015
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
996
1016
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1017
|
+
isCSATEnabled?: boolean | undefined;
|
|
997
1018
|
};
|
|
998
1019
|
status: boolean;
|
|
999
1020
|
brandName: string;
|
|
@@ -1075,6 +1096,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
|
1075
1096
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1076
1097
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
1077
1098
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
1099
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1078
1100
|
}, "strip", z.ZodTypeAny, {
|
|
1079
1101
|
name: string;
|
|
1080
1102
|
id: string;
|
|
@@ -1104,6 +1126,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
|
1104
1126
|
lineRichMenuId?: string | null | undefined;
|
|
1105
1127
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1106
1128
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1129
|
+
isCSATEnabled?: boolean | undefined;
|
|
1107
1130
|
}, {
|
|
1108
1131
|
name: string;
|
|
1109
1132
|
id: string;
|
|
@@ -1133,6 +1156,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
|
1133
1156
|
lineRichMenuId?: string | null | undefined;
|
|
1134
1157
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1135
1158
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1159
|
+
isCSATEnabled?: boolean | undefined;
|
|
1136
1160
|
}>;
|
|
1137
1161
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
|
1138
1162
|
actor: z.ZodOptional<z.ZodObject<{
|
|
@@ -1197,6 +1221,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
|
1197
1221
|
lineRichMenuId?: string | null | undefined;
|
|
1198
1222
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1199
1223
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1224
|
+
isCSATEnabled?: boolean | undefined;
|
|
1200
1225
|
};
|
|
1201
1226
|
status: boolean;
|
|
1202
1227
|
createdAt: string;
|
|
@@ -1248,6 +1273,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
|
1248
1273
|
lineRichMenuId?: string | null | undefined;
|
|
1249
1274
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1250
1275
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1276
|
+
isCSATEnabled?: boolean | undefined;
|
|
1251
1277
|
};
|
|
1252
1278
|
status: boolean;
|
|
1253
1279
|
createdAt: string;
|
|
@@ -1337,6 +1363,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1337
1363
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1338
1364
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
1339
1365
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
1366
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1340
1367
|
}, "strip", z.ZodTypeAny, {
|
|
1341
1368
|
name: string;
|
|
1342
1369
|
id: string;
|
|
@@ -1366,6 +1393,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1366
1393
|
lineRichMenuId?: string | null | undefined;
|
|
1367
1394
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1368
1395
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1396
|
+
isCSATEnabled?: boolean | undefined;
|
|
1369
1397
|
}, {
|
|
1370
1398
|
name: string;
|
|
1371
1399
|
id: string;
|
|
@@ -1395,6 +1423,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1395
1423
|
lineRichMenuId?: string | null | undefined;
|
|
1396
1424
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1397
1425
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1426
|
+
isCSATEnabled?: boolean | undefined;
|
|
1398
1427
|
}>;
|
|
1399
1428
|
platformId: z.ZodString;
|
|
1400
1429
|
brandName: z.ZodString;
|
|
@@ -1454,6 +1483,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1454
1483
|
lineRichMenuId?: string | null | undefined;
|
|
1455
1484
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1456
1485
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1486
|
+
isCSATEnabled?: boolean | undefined;
|
|
1457
1487
|
};
|
|
1458
1488
|
status: boolean;
|
|
1459
1489
|
brandName: string;
|
|
@@ -1501,6 +1531,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1501
1531
|
lineRichMenuId?: string | null | undefined;
|
|
1502
1532
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1503
1533
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1534
|
+
isCSATEnabled?: boolean | undefined;
|
|
1504
1535
|
};
|
|
1505
1536
|
status: boolean;
|
|
1506
1537
|
brandName: string;
|
|
@@ -1551,6 +1582,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1551
1582
|
lineRichMenuId?: string | null | undefined;
|
|
1552
1583
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1553
1584
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1585
|
+
isCSATEnabled?: boolean | undefined;
|
|
1554
1586
|
};
|
|
1555
1587
|
status: boolean;
|
|
1556
1588
|
brandName: string;
|
|
@@ -1601,6 +1633,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1601
1633
|
lineRichMenuId?: string | null | undefined;
|
|
1602
1634
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1603
1635
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1636
|
+
isCSATEnabled?: boolean | undefined;
|
|
1604
1637
|
};
|
|
1605
1638
|
status: boolean;
|
|
1606
1639
|
brandName: string;
|
|
@@ -1620,8 +1653,8 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1620
1653
|
message: z.ZodObject<{
|
|
1621
1654
|
id: z.ZodOptional<z.ZodString>;
|
|
1622
1655
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1623
|
-
direction: z.
|
|
1624
|
-
type: z.
|
|
1656
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
|
1657
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
|
1625
1658
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
1626
1659
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
1627
1660
|
platformId: z.ZodOptional<z.ZodString>;
|
|
@@ -1673,7 +1706,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1673
1706
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1674
1707
|
feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1675
1708
|
}, "strip", z.ZodTypeAny, {
|
|
1676
|
-
type:
|
|
1709
|
+
type: string;
|
|
1677
1710
|
direction: "incoming" | "outgoing" | "system";
|
|
1678
1711
|
id?: string | undefined;
|
|
1679
1712
|
message?: string | null | undefined;
|
|
@@ -1704,7 +1737,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1704
1737
|
parentMessageId?: string | null | undefined;
|
|
1705
1738
|
feedPostId?: string | null | undefined;
|
|
1706
1739
|
}, {
|
|
1707
|
-
type:
|
|
1740
|
+
type: string;
|
|
1708
1741
|
direction: "incoming" | "outgoing" | "system";
|
|
1709
1742
|
id?: string | undefined;
|
|
1710
1743
|
message?: string | null | undefined;
|
|
@@ -1737,7 +1770,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1737
1770
|
}>;
|
|
1738
1771
|
}, "strip", z.ZodTypeAny, {
|
|
1739
1772
|
message: {
|
|
1740
|
-
type:
|
|
1773
|
+
type: string;
|
|
1741
1774
|
direction: "incoming" | "outgoing" | "system";
|
|
1742
1775
|
id?: string | undefined;
|
|
1743
1776
|
message?: string | null | undefined;
|
|
@@ -1803,6 +1836,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1803
1836
|
lineRichMenuId?: string | null | undefined;
|
|
1804
1837
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1805
1838
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1839
|
+
isCSATEnabled?: boolean | undefined;
|
|
1806
1840
|
};
|
|
1807
1841
|
status: boolean;
|
|
1808
1842
|
brandName: string;
|
|
@@ -1821,7 +1855,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1821
1855
|
};
|
|
1822
1856
|
}, {
|
|
1823
1857
|
message: {
|
|
1824
|
-
type:
|
|
1858
|
+
type: string;
|
|
1825
1859
|
direction: "incoming" | "outgoing" | "system";
|
|
1826
1860
|
id?: string | undefined;
|
|
1827
1861
|
message?: string | null | undefined;
|
|
@@ -1887,6 +1921,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1887
1921
|
lineRichMenuId?: string | null | undefined;
|
|
1888
1922
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1889
1923
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1924
|
+
isCSATEnabled?: boolean | undefined;
|
|
1890
1925
|
};
|
|
1891
1926
|
status: boolean;
|
|
1892
1927
|
brandName: string;
|
|
@@ -1911,7 +1946,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
1911
1946
|
lastMessage: z.ZodOptional<z.ZodString>;
|
|
1912
1947
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
|
1913
1948
|
isLatest: z.ZodBoolean;
|
|
1914
|
-
direction: z.
|
|
1949
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
|
1915
1950
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
1916
1951
|
createdAt: z.ZodString;
|
|
1917
1952
|
updatedAt: z.ZodString;
|
|
@@ -2096,6 +2131,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2096
2131
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2097
2132
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
2098
2133
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
2134
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2099
2135
|
}, "strip", z.ZodTypeAny, {
|
|
2100
2136
|
name: string;
|
|
2101
2137
|
id: string;
|
|
@@ -2125,6 +2161,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2125
2161
|
lineRichMenuId?: string | null | undefined;
|
|
2126
2162
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2127
2163
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2164
|
+
isCSATEnabled?: boolean | undefined;
|
|
2128
2165
|
}, {
|
|
2129
2166
|
name: string;
|
|
2130
2167
|
id: string;
|
|
@@ -2154,6 +2191,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2154
2191
|
lineRichMenuId?: string | null | undefined;
|
|
2155
2192
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2156
2193
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2194
|
+
isCSATEnabled?: boolean | undefined;
|
|
2157
2195
|
}>;
|
|
2158
2196
|
platformId: z.ZodString;
|
|
2159
2197
|
brandName: z.ZodString;
|
|
@@ -2213,6 +2251,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2213
2251
|
lineRichMenuId?: string | null | undefined;
|
|
2214
2252
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2215
2253
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2254
|
+
isCSATEnabled?: boolean | undefined;
|
|
2216
2255
|
};
|
|
2217
2256
|
status: boolean;
|
|
2218
2257
|
brandName: string;
|
|
@@ -2260,6 +2299,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2260
2299
|
lineRichMenuId?: string | null | undefined;
|
|
2261
2300
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2262
2301
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2302
|
+
isCSATEnabled?: boolean | undefined;
|
|
2263
2303
|
};
|
|
2264
2304
|
status: boolean;
|
|
2265
2305
|
brandName: string;
|
|
@@ -2312,6 +2352,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2312
2352
|
lineRichMenuId?: string | null | undefined;
|
|
2313
2353
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2314
2354
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2355
|
+
isCSATEnabled?: boolean | undefined;
|
|
2315
2356
|
};
|
|
2316
2357
|
status: boolean;
|
|
2317
2358
|
brandName: string;
|
|
@@ -2403,6 +2444,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2403
2444
|
lineRichMenuId?: string | null | undefined;
|
|
2404
2445
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2405
2446
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2447
|
+
isCSATEnabled?: boolean | undefined;
|
|
2406
2448
|
};
|
|
2407
2449
|
status: boolean;
|
|
2408
2450
|
brandName: string;
|
|
@@ -2463,8 +2505,8 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2463
2505
|
message: z.ZodObject<{
|
|
2464
2506
|
id: z.ZodOptional<z.ZodString>;
|
|
2465
2507
|
message: z.ZodOptional<z.ZodString>;
|
|
2466
|
-
direction: z.
|
|
2467
|
-
type: z.
|
|
2508
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
|
2509
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
|
2468
2510
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
2469
2511
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
2470
2512
|
platformId: z.ZodOptional<z.ZodString>;
|
|
@@ -2520,7 +2562,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2520
2562
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
2521
2563
|
label: z.ZodOptional<z.ZodString>;
|
|
2522
2564
|
}, "strip", z.ZodTypeAny, {
|
|
2523
|
-
type:
|
|
2565
|
+
type: string;
|
|
2524
2566
|
direction: "incoming" | "outgoing" | "system";
|
|
2525
2567
|
id?: string | undefined;
|
|
2526
2568
|
message?: string | undefined;
|
|
@@ -2555,7 +2597,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2555
2597
|
editedAt?: string | Date | null | undefined;
|
|
2556
2598
|
label?: string | undefined;
|
|
2557
2599
|
}, {
|
|
2558
|
-
type:
|
|
2600
|
+
type: string;
|
|
2559
2601
|
direction: "incoming" | "outgoing" | "system";
|
|
2560
2602
|
id?: string | undefined;
|
|
2561
2603
|
message?: string | undefined;
|
|
@@ -2592,7 +2634,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2592
2634
|
}>;
|
|
2593
2635
|
}, "strip", z.ZodTypeAny, {
|
|
2594
2636
|
message: {
|
|
2595
|
-
type:
|
|
2637
|
+
type: string;
|
|
2596
2638
|
direction: "incoming" | "outgoing" | "system";
|
|
2597
2639
|
id?: string | undefined;
|
|
2598
2640
|
message?: string | undefined;
|
|
@@ -2662,6 +2704,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2662
2704
|
lineRichMenuId?: string | null | undefined;
|
|
2663
2705
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2664
2706
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2707
|
+
isCSATEnabled?: boolean | undefined;
|
|
2665
2708
|
};
|
|
2666
2709
|
status: boolean;
|
|
2667
2710
|
brandName: string;
|
|
@@ -2722,7 +2765,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2722
2765
|
isBot: boolean | null;
|
|
2723
2766
|
}, {
|
|
2724
2767
|
message: {
|
|
2725
|
-
type:
|
|
2768
|
+
type: string;
|
|
2726
2769
|
direction: "incoming" | "outgoing" | "system";
|
|
2727
2770
|
id?: string | undefined;
|
|
2728
2771
|
message?: string | undefined;
|
|
@@ -2792,6 +2835,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2792
2835
|
lineRichMenuId?: string | null | undefined;
|
|
2793
2836
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2794
2837
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2838
|
+
isCSATEnabled?: boolean | undefined;
|
|
2795
2839
|
};
|
|
2796
2840
|
status: boolean;
|
|
2797
2841
|
brandName: string;
|
|
@@ -2855,8 +2899,8 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
2855
2899
|
message: z.ZodObject<{
|
|
2856
2900
|
id: z.ZodOptional<z.ZodString>;
|
|
2857
2901
|
message: z.ZodOptional<z.ZodString>;
|
|
2858
|
-
direction: z.
|
|
2859
|
-
type: z.
|
|
2902
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
|
2903
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
|
2860
2904
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
2861
2905
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
2862
2906
|
platformId: z.ZodOptional<z.ZodString>;
|
|
@@ -2912,7 +2956,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
2912
2956
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
2913
2957
|
label: z.ZodOptional<z.ZodString>;
|
|
2914
2958
|
}, "strip", z.ZodTypeAny, {
|
|
2915
|
-
type:
|
|
2959
|
+
type: string;
|
|
2916
2960
|
direction: "incoming" | "outgoing" | "system";
|
|
2917
2961
|
id?: string | undefined;
|
|
2918
2962
|
message?: string | undefined;
|
|
@@ -2947,7 +2991,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
2947
2991
|
editedAt?: string | Date | null | undefined;
|
|
2948
2992
|
label?: string | undefined;
|
|
2949
2993
|
}, {
|
|
2950
|
-
type:
|
|
2994
|
+
type: string;
|
|
2951
2995
|
direction: "incoming" | "outgoing" | "system";
|
|
2952
2996
|
id?: string | undefined;
|
|
2953
2997
|
message?: string | undefined;
|
|
@@ -2987,7 +3031,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
2987
3031
|
lastMessage: z.ZodOptional<z.ZodString>;
|
|
2988
3032
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
|
2989
3033
|
isLatest: z.ZodBoolean;
|
|
2990
|
-
direction: z.
|
|
3034
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
|
2991
3035
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
2992
3036
|
createdAt: z.ZodString;
|
|
2993
3037
|
updatedAt: z.ZodString;
|
|
@@ -3172,6 +3216,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3172
3216
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3173
3217
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
3174
3218
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
3219
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3175
3220
|
}, "strip", z.ZodTypeAny, {
|
|
3176
3221
|
name: string;
|
|
3177
3222
|
id: string;
|
|
@@ -3201,6 +3246,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3201
3246
|
lineRichMenuId?: string | null | undefined;
|
|
3202
3247
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3203
3248
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3249
|
+
isCSATEnabled?: boolean | undefined;
|
|
3204
3250
|
}, {
|
|
3205
3251
|
name: string;
|
|
3206
3252
|
id: string;
|
|
@@ -3230,6 +3276,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3230
3276
|
lineRichMenuId?: string | null | undefined;
|
|
3231
3277
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3232
3278
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3279
|
+
isCSATEnabled?: boolean | undefined;
|
|
3233
3280
|
}>;
|
|
3234
3281
|
platformId: z.ZodString;
|
|
3235
3282
|
brandName: z.ZodString;
|
|
@@ -3289,6 +3336,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3289
3336
|
lineRichMenuId?: string | null | undefined;
|
|
3290
3337
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3291
3338
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3339
|
+
isCSATEnabled?: boolean | undefined;
|
|
3292
3340
|
};
|
|
3293
3341
|
status: boolean;
|
|
3294
3342
|
brandName: string;
|
|
@@ -3336,6 +3384,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3336
3384
|
lineRichMenuId?: string | null | undefined;
|
|
3337
3385
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3338
3386
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3387
|
+
isCSATEnabled?: boolean | undefined;
|
|
3339
3388
|
};
|
|
3340
3389
|
status: boolean;
|
|
3341
3390
|
brandName: string;
|
|
@@ -3388,6 +3437,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3388
3437
|
lineRichMenuId?: string | null | undefined;
|
|
3389
3438
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3390
3439
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3440
|
+
isCSATEnabled?: boolean | undefined;
|
|
3391
3441
|
};
|
|
3392
3442
|
status: boolean;
|
|
3393
3443
|
brandName: string;
|
|
@@ -3479,6 +3529,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3479
3529
|
lineRichMenuId?: string | null | undefined;
|
|
3480
3530
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3481
3531
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3532
|
+
isCSATEnabled?: boolean | undefined;
|
|
3482
3533
|
};
|
|
3483
3534
|
status: boolean;
|
|
3484
3535
|
brandName: string;
|
|
@@ -3549,7 +3600,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3549
3600
|
}>>;
|
|
3550
3601
|
}, "strip", z.ZodTypeAny, {
|
|
3551
3602
|
message: {
|
|
3552
|
-
type:
|
|
3603
|
+
type: string;
|
|
3553
3604
|
direction: "incoming" | "outgoing" | "system";
|
|
3554
3605
|
id?: string | undefined;
|
|
3555
3606
|
message?: string | undefined;
|
|
@@ -3619,6 +3670,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3619
3670
|
lineRichMenuId?: string | null | undefined;
|
|
3620
3671
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3621
3672
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3673
|
+
isCSATEnabled?: boolean | undefined;
|
|
3622
3674
|
};
|
|
3623
3675
|
status: boolean;
|
|
3624
3676
|
brandName: string;
|
|
@@ -3683,7 +3735,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3683
3735
|
} | undefined;
|
|
3684
3736
|
}, {
|
|
3685
3737
|
message: {
|
|
3686
|
-
type:
|
|
3738
|
+
type: string;
|
|
3687
3739
|
direction: "incoming" | "outgoing" | "system";
|
|
3688
3740
|
id?: string | undefined;
|
|
3689
3741
|
message?: string | undefined;
|
|
@@ -3753,6 +3805,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3753
3805
|
lineRichMenuId?: string | null | undefined;
|
|
3754
3806
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3755
3807
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3808
|
+
isCSATEnabled?: boolean | undefined;
|
|
3756
3809
|
};
|
|
3757
3810
|
status: boolean;
|
|
3758
3811
|
brandName: string;
|
|
@@ -3819,11 +3872,11 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3819
3872
|
export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3820
3873
|
requestId: z.ZodString;
|
|
3821
3874
|
data: z.ZodObject<{
|
|
3822
|
-
type: z.
|
|
3875
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
|
3823
3876
|
message: z.ZodString;
|
|
3824
3877
|
id: z.ZodString;
|
|
3825
3878
|
url: z.ZodString;
|
|
3826
|
-
direction: z.
|
|
3879
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
|
3827
3880
|
label: z.ZodOptional<z.ZodString>;
|
|
3828
3881
|
template: z.ZodAny;
|
|
3829
3882
|
metadata: z.ZodAny;
|
|
@@ -4288,7 +4341,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
4288
4341
|
firstResponseTime: z.ZodNumber;
|
|
4289
4342
|
isLatest: z.ZodBoolean;
|
|
4290
4343
|
isBotRoom: z.ZodBoolean;
|
|
4291
|
-
direction: z.
|
|
4344
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
|
4292
4345
|
platformContact: z.ZodObject<{
|
|
4293
4346
|
id: z.ZodString;
|
|
4294
4347
|
createdAt: z.ZodDate;
|
|
@@ -5336,6 +5389,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
5336
5389
|
channelId: string;
|
|
5337
5390
|
socialPlatformId: string;
|
|
5338
5391
|
}>;
|
|
5392
|
+
csatStatus: z.ZodNullable<z.ZodString>;
|
|
5339
5393
|
actor: z.ZodObject<{
|
|
5340
5394
|
id: z.ZodString;
|
|
5341
5395
|
createdAt: z.ZodDate;
|
|
@@ -5814,6 +5868,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
5814
5868
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5815
5869
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
5816
5870
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
5871
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5817
5872
|
}, "strip", z.ZodTypeAny, {
|
|
5818
5873
|
name: string;
|
|
5819
5874
|
id: string;
|
|
@@ -5843,6 +5898,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
5843
5898
|
lineRichMenuId?: string | null | undefined;
|
|
5844
5899
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
5845
5900
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
5901
|
+
isCSATEnabled?: boolean | undefined;
|
|
5846
5902
|
}, {
|
|
5847
5903
|
name: string;
|
|
5848
5904
|
id: string;
|
|
@@ -5872,6 +5928,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
5872
5928
|
lineRichMenuId?: string | null | undefined;
|
|
5873
5929
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
5874
5930
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
5931
|
+
isCSATEnabled?: boolean | undefined;
|
|
5875
5932
|
}>;
|
|
5876
5933
|
brandName: z.ZodString;
|
|
5877
5934
|
platformId: z.ZodString;
|
|
@@ -6135,6 +6192,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6135
6192
|
lineRichMenuId?: string | null | undefined;
|
|
6136
6193
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6137
6194
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6195
|
+
isCSATEnabled?: boolean | undefined;
|
|
6138
6196
|
};
|
|
6139
6197
|
status: boolean;
|
|
6140
6198
|
createdAt: Date;
|
|
@@ -6229,6 +6287,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6229
6287
|
lineRichMenuId?: string | null | undefined;
|
|
6230
6288
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6231
6289
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6290
|
+
isCSATEnabled?: boolean | undefined;
|
|
6232
6291
|
};
|
|
6233
6292
|
status: boolean;
|
|
6234
6293
|
createdAt: Date;
|
|
@@ -6481,6 +6540,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6481
6540
|
createdAt: Date;
|
|
6482
6541
|
updatedAt: Date;
|
|
6483
6542
|
deletedAt: Date | null;
|
|
6543
|
+
tags: {
|
|
6544
|
+
name: string;
|
|
6545
|
+
id: string;
|
|
6546
|
+
createdAt: Date;
|
|
6547
|
+
updatedAt: Date;
|
|
6548
|
+
deletedAt: Date | null;
|
|
6549
|
+
}[];
|
|
6550
|
+
callFrom: string | null;
|
|
6551
|
+
callTo: string | null;
|
|
6552
|
+
note: string | null;
|
|
6484
6553
|
categories: {
|
|
6485
6554
|
id: string;
|
|
6486
6555
|
value: string;
|
|
@@ -6503,16 +6572,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6503
6572
|
}[];
|
|
6504
6573
|
}[];
|
|
6505
6574
|
}[];
|
|
6506
|
-
tags: {
|
|
6507
|
-
name: string;
|
|
6508
|
-
id: string;
|
|
6509
|
-
createdAt: Date;
|
|
6510
|
-
updatedAt: Date;
|
|
6511
|
-
deletedAt: Date | null;
|
|
6512
|
-
}[];
|
|
6513
|
-
callFrom: string | null;
|
|
6514
|
-
callTo: string | null;
|
|
6515
|
-
note: string | null;
|
|
6516
6575
|
customFields?: {
|
|
6517
6576
|
id: string;
|
|
6518
6577
|
createdAt: Date;
|
|
@@ -6532,6 +6591,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6532
6591
|
createdAt: Date;
|
|
6533
6592
|
updatedAt: Date;
|
|
6534
6593
|
deletedAt: Date | null;
|
|
6594
|
+
tags: {
|
|
6595
|
+
name: string;
|
|
6596
|
+
id: string;
|
|
6597
|
+
createdAt: Date;
|
|
6598
|
+
updatedAt: Date;
|
|
6599
|
+
deletedAt: Date | null;
|
|
6600
|
+
}[];
|
|
6601
|
+
callFrom: string | null;
|
|
6602
|
+
callTo: string | null;
|
|
6603
|
+
note: string | null;
|
|
6535
6604
|
categories: {
|
|
6536
6605
|
id: string;
|
|
6537
6606
|
value: string;
|
|
@@ -6554,16 +6623,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6554
6623
|
}[];
|
|
6555
6624
|
}[];
|
|
6556
6625
|
}[];
|
|
6557
|
-
tags: {
|
|
6558
|
-
name: string;
|
|
6559
|
-
id: string;
|
|
6560
|
-
createdAt: Date;
|
|
6561
|
-
updatedAt: Date;
|
|
6562
|
-
deletedAt: Date | null;
|
|
6563
|
-
}[];
|
|
6564
|
-
callFrom: string | null;
|
|
6565
|
-
callTo: string | null;
|
|
6566
|
-
note: string | null;
|
|
6567
6626
|
customFields?: {
|
|
6568
6627
|
id: string;
|
|
6569
6628
|
createdAt: Date;
|
|
@@ -6672,6 +6731,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6672
6731
|
createdAt: Date;
|
|
6673
6732
|
updatedAt: Date;
|
|
6674
6733
|
deletedAt: Date | null;
|
|
6734
|
+
tags: {
|
|
6735
|
+
name: string;
|
|
6736
|
+
id: string;
|
|
6737
|
+
createdAt: Date;
|
|
6738
|
+
updatedAt: Date;
|
|
6739
|
+
deletedAt: Date | null;
|
|
6740
|
+
}[];
|
|
6741
|
+
callFrom: string | null;
|
|
6742
|
+
callTo: string | null;
|
|
6743
|
+
note: string | null;
|
|
6675
6744
|
categories: {
|
|
6676
6745
|
id: string;
|
|
6677
6746
|
value: string;
|
|
@@ -6694,16 +6763,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6694
6763
|
}[];
|
|
6695
6764
|
}[];
|
|
6696
6765
|
}[];
|
|
6697
|
-
tags: {
|
|
6698
|
-
name: string;
|
|
6699
|
-
id: string;
|
|
6700
|
-
createdAt: Date;
|
|
6701
|
-
updatedAt: Date;
|
|
6702
|
-
deletedAt: Date | null;
|
|
6703
|
-
}[];
|
|
6704
|
-
callFrom: string | null;
|
|
6705
|
-
callTo: string | null;
|
|
6706
|
-
note: string | null;
|
|
6707
6766
|
customFields?: {
|
|
6708
6767
|
id: string;
|
|
6709
6768
|
createdAt: Date;
|
|
@@ -6762,6 +6821,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6762
6821
|
createdAt: Date;
|
|
6763
6822
|
updatedAt: Date;
|
|
6764
6823
|
deletedAt: Date | null;
|
|
6824
|
+
tags: {
|
|
6825
|
+
name: string;
|
|
6826
|
+
id: string;
|
|
6827
|
+
createdAt: Date;
|
|
6828
|
+
updatedAt: Date;
|
|
6829
|
+
deletedAt: Date | null;
|
|
6830
|
+
}[];
|
|
6831
|
+
callFrom: string | null;
|
|
6832
|
+
callTo: string | null;
|
|
6833
|
+
note: string | null;
|
|
6765
6834
|
categories: {
|
|
6766
6835
|
id: string;
|
|
6767
6836
|
value: string;
|
|
@@ -6784,16 +6853,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6784
6853
|
}[];
|
|
6785
6854
|
}[];
|
|
6786
6855
|
}[];
|
|
6787
|
-
tags: {
|
|
6788
|
-
name: string;
|
|
6789
|
-
id: string;
|
|
6790
|
-
createdAt: Date;
|
|
6791
|
-
updatedAt: Date;
|
|
6792
|
-
deletedAt: Date | null;
|
|
6793
|
-
}[];
|
|
6794
|
-
callFrom: string | null;
|
|
6795
|
-
callTo: string | null;
|
|
6796
|
-
note: string | null;
|
|
6797
6856
|
customFields?: {
|
|
6798
6857
|
id: string;
|
|
6799
6858
|
createdAt: Date;
|
|
@@ -6887,6 +6946,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6887
6946
|
lineRichMenuId?: string | null | undefined;
|
|
6888
6947
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6889
6948
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6949
|
+
isCSATEnabled?: boolean | undefined;
|
|
6890
6950
|
};
|
|
6891
6951
|
status: boolean;
|
|
6892
6952
|
createdAt: Date;
|
|
@@ -7178,6 +7238,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7178
7238
|
closedAt: Date;
|
|
7179
7239
|
lastMessageAt: Date | null;
|
|
7180
7240
|
isBotRoom: boolean;
|
|
7241
|
+
csatStatus: string | null;
|
|
7181
7242
|
cxlog: {
|
|
7182
7243
|
id: string;
|
|
7183
7244
|
channel: string | null;
|
|
@@ -7205,6 +7266,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7205
7266
|
createdAt: Date;
|
|
7206
7267
|
updatedAt: Date;
|
|
7207
7268
|
deletedAt: Date | null;
|
|
7269
|
+
tags: {
|
|
7270
|
+
name: string;
|
|
7271
|
+
id: string;
|
|
7272
|
+
createdAt: Date;
|
|
7273
|
+
updatedAt: Date;
|
|
7274
|
+
deletedAt: Date | null;
|
|
7275
|
+
}[];
|
|
7276
|
+
callFrom: string | null;
|
|
7277
|
+
callTo: string | null;
|
|
7278
|
+
note: string | null;
|
|
7208
7279
|
categories: {
|
|
7209
7280
|
id: string;
|
|
7210
7281
|
value: string;
|
|
@@ -7227,16 +7298,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7227
7298
|
}[];
|
|
7228
7299
|
}[];
|
|
7229
7300
|
}[];
|
|
7230
|
-
tags: {
|
|
7231
|
-
name: string;
|
|
7232
|
-
id: string;
|
|
7233
|
-
createdAt: Date;
|
|
7234
|
-
updatedAt: Date;
|
|
7235
|
-
deletedAt: Date | null;
|
|
7236
|
-
}[];
|
|
7237
|
-
callFrom: string | null;
|
|
7238
|
-
callTo: string | null;
|
|
7239
|
-
note: string | null;
|
|
7240
7301
|
customFields?: {
|
|
7241
7302
|
id: string;
|
|
7242
7303
|
createdAt: Date;
|
|
@@ -7314,6 +7375,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7314
7375
|
lineRichMenuId?: string | null | undefined;
|
|
7315
7376
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7316
7377
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7378
|
+
isCSATEnabled?: boolean | undefined;
|
|
7317
7379
|
};
|
|
7318
7380
|
status: boolean;
|
|
7319
7381
|
createdAt: Date;
|
|
@@ -7605,6 +7667,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7605
7667
|
closedAt: Date;
|
|
7606
7668
|
lastMessageAt: Date | null;
|
|
7607
7669
|
isBotRoom: boolean;
|
|
7670
|
+
csatStatus: string | null;
|
|
7608
7671
|
cxlog: {
|
|
7609
7672
|
id: string;
|
|
7610
7673
|
channel: string | null;
|
|
@@ -7632,6 +7695,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7632
7695
|
createdAt: Date;
|
|
7633
7696
|
updatedAt: Date;
|
|
7634
7697
|
deletedAt: Date | null;
|
|
7698
|
+
tags: {
|
|
7699
|
+
name: string;
|
|
7700
|
+
id: string;
|
|
7701
|
+
createdAt: Date;
|
|
7702
|
+
updatedAt: Date;
|
|
7703
|
+
deletedAt: Date | null;
|
|
7704
|
+
}[];
|
|
7705
|
+
callFrom: string | null;
|
|
7706
|
+
callTo: string | null;
|
|
7707
|
+
note: string | null;
|
|
7635
7708
|
categories: {
|
|
7636
7709
|
id: string;
|
|
7637
7710
|
value: string;
|
|
@@ -7654,16 +7727,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7654
7727
|
}[];
|
|
7655
7728
|
}[];
|
|
7656
7729
|
}[];
|
|
7657
|
-
tags: {
|
|
7658
|
-
name: string;
|
|
7659
|
-
id: string;
|
|
7660
|
-
createdAt: Date;
|
|
7661
|
-
updatedAt: Date;
|
|
7662
|
-
deletedAt: Date | null;
|
|
7663
|
-
}[];
|
|
7664
|
-
callFrom: string | null;
|
|
7665
|
-
callTo: string | null;
|
|
7666
|
-
note: string | null;
|
|
7667
7730
|
customFields?: {
|
|
7668
7731
|
id: string;
|
|
7669
7732
|
createdAt: Date;
|
|
@@ -7744,8 +7807,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7744
7807
|
updatedAt: z.ZodDate;
|
|
7745
7808
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7746
7809
|
message: z.ZodString;
|
|
7747
|
-
direction: z.
|
|
7748
|
-
type: z.
|
|
7810
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
|
7811
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
|
7749
7812
|
readAt: z.ZodDate;
|
|
7750
7813
|
metadata: z.ZodAny;
|
|
7751
7814
|
platformId: z.ZodString;
|
|
@@ -8403,7 +8466,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
8403
8466
|
};
|
|
8404
8467
|
}>;
|
|
8405
8468
|
}, "strip", z.ZodTypeAny, {
|
|
8406
|
-
type:
|
|
8469
|
+
type: string;
|
|
8407
8470
|
message: string;
|
|
8408
8471
|
id: string;
|
|
8409
8472
|
url: string;
|
|
@@ -8565,7 +8628,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
8565
8628
|
metadata?: any;
|
|
8566
8629
|
template?: any;
|
|
8567
8630
|
}, {
|
|
8568
|
-
type:
|
|
8631
|
+
type: string;
|
|
8569
8632
|
message: string;
|
|
8570
8633
|
id: string;
|
|
8571
8634
|
url: string;
|
|
@@ -8938,8 +9001,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
8938
9001
|
updatedAt: z.ZodDate;
|
|
8939
9002
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
8940
9003
|
message: z.ZodString;
|
|
8941
|
-
direction: z.
|
|
8942
|
-
type: z.
|
|
9004
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
|
9005
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
|
8943
9006
|
readAt: z.ZodDate;
|
|
8944
9007
|
metadata: z.ZodAny;
|
|
8945
9008
|
platformId: z.ZodString;
|
|
@@ -8965,7 +9028,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
8965
9028
|
firstResponseTime: z.ZodNumber;
|
|
8966
9029
|
isLatest: z.ZodBoolean;
|
|
8967
9030
|
isBotRoom: z.ZodBoolean;
|
|
8968
|
-
direction: z.
|
|
9031
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
|
8969
9032
|
platformContact: z.ZodObject<{
|
|
8970
9033
|
id: z.ZodString;
|
|
8971
9034
|
createdAt: z.ZodDate;
|
|
@@ -10013,6 +10076,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10013
10076
|
channelId: string;
|
|
10014
10077
|
socialPlatformId: string;
|
|
10015
10078
|
}>;
|
|
10079
|
+
csatStatus: z.ZodNullable<z.ZodString>;
|
|
10016
10080
|
actor: z.ZodObject<{
|
|
10017
10081
|
id: z.ZodString;
|
|
10018
10082
|
createdAt: z.ZodDate;
|
|
@@ -10491,6 +10555,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10491
10555
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10492
10556
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
10493
10557
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
10558
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
10494
10559
|
}, "strip", z.ZodTypeAny, {
|
|
10495
10560
|
name: string;
|
|
10496
10561
|
id: string;
|
|
@@ -10520,6 +10585,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10520
10585
|
lineRichMenuId?: string | null | undefined;
|
|
10521
10586
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10522
10587
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10588
|
+
isCSATEnabled?: boolean | undefined;
|
|
10523
10589
|
}, {
|
|
10524
10590
|
name: string;
|
|
10525
10591
|
id: string;
|
|
@@ -10549,6 +10615,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10549
10615
|
lineRichMenuId?: string | null | undefined;
|
|
10550
10616
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10551
10617
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10618
|
+
isCSATEnabled?: boolean | undefined;
|
|
10552
10619
|
}>;
|
|
10553
10620
|
brandName: z.ZodString;
|
|
10554
10621
|
platformId: z.ZodString;
|
|
@@ -10812,6 +10879,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10812
10879
|
lineRichMenuId?: string | null | undefined;
|
|
10813
10880
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10814
10881
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10882
|
+
isCSATEnabled?: boolean | undefined;
|
|
10815
10883
|
};
|
|
10816
10884
|
status: boolean;
|
|
10817
10885
|
createdAt: Date;
|
|
@@ -10906,6 +10974,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10906
10974
|
lineRichMenuId?: string | null | undefined;
|
|
10907
10975
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10908
10976
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10977
|
+
isCSATEnabled?: boolean | undefined;
|
|
10909
10978
|
};
|
|
10910
10979
|
status: boolean;
|
|
10911
10980
|
createdAt: Date;
|
|
@@ -11158,6 +11227,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11158
11227
|
createdAt: Date;
|
|
11159
11228
|
updatedAt: Date;
|
|
11160
11229
|
deletedAt: Date | null;
|
|
11230
|
+
tags: {
|
|
11231
|
+
name: string;
|
|
11232
|
+
id: string;
|
|
11233
|
+
createdAt: Date;
|
|
11234
|
+
updatedAt: Date;
|
|
11235
|
+
deletedAt: Date | null;
|
|
11236
|
+
}[];
|
|
11237
|
+
callFrom: string | null;
|
|
11238
|
+
callTo: string | null;
|
|
11239
|
+
note: string | null;
|
|
11161
11240
|
categories: {
|
|
11162
11241
|
id: string;
|
|
11163
11242
|
value: string;
|
|
@@ -11180,16 +11259,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11180
11259
|
}[];
|
|
11181
11260
|
}[];
|
|
11182
11261
|
}[];
|
|
11183
|
-
tags: {
|
|
11184
|
-
name: string;
|
|
11185
|
-
id: string;
|
|
11186
|
-
createdAt: Date;
|
|
11187
|
-
updatedAt: Date;
|
|
11188
|
-
deletedAt: Date | null;
|
|
11189
|
-
}[];
|
|
11190
|
-
callFrom: string | null;
|
|
11191
|
-
callTo: string | null;
|
|
11192
|
-
note: string | null;
|
|
11193
11262
|
customFields?: {
|
|
11194
11263
|
id: string;
|
|
11195
11264
|
createdAt: Date;
|
|
@@ -11209,6 +11278,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11209
11278
|
createdAt: Date;
|
|
11210
11279
|
updatedAt: Date;
|
|
11211
11280
|
deletedAt: Date | null;
|
|
11281
|
+
tags: {
|
|
11282
|
+
name: string;
|
|
11283
|
+
id: string;
|
|
11284
|
+
createdAt: Date;
|
|
11285
|
+
updatedAt: Date;
|
|
11286
|
+
deletedAt: Date | null;
|
|
11287
|
+
}[];
|
|
11288
|
+
callFrom: string | null;
|
|
11289
|
+
callTo: string | null;
|
|
11290
|
+
note: string | null;
|
|
11212
11291
|
categories: {
|
|
11213
11292
|
id: string;
|
|
11214
11293
|
value: string;
|
|
@@ -11231,16 +11310,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11231
11310
|
}[];
|
|
11232
11311
|
}[];
|
|
11233
11312
|
}[];
|
|
11234
|
-
tags: {
|
|
11235
|
-
name: string;
|
|
11236
|
-
id: string;
|
|
11237
|
-
createdAt: Date;
|
|
11238
|
-
updatedAt: Date;
|
|
11239
|
-
deletedAt: Date | null;
|
|
11240
|
-
}[];
|
|
11241
|
-
callFrom: string | null;
|
|
11242
|
-
callTo: string | null;
|
|
11243
|
-
note: string | null;
|
|
11244
11313
|
customFields?: {
|
|
11245
11314
|
id: string;
|
|
11246
11315
|
createdAt: Date;
|
|
@@ -11349,6 +11418,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11349
11418
|
createdAt: Date;
|
|
11350
11419
|
updatedAt: Date;
|
|
11351
11420
|
deletedAt: Date | null;
|
|
11421
|
+
tags: {
|
|
11422
|
+
name: string;
|
|
11423
|
+
id: string;
|
|
11424
|
+
createdAt: Date;
|
|
11425
|
+
updatedAt: Date;
|
|
11426
|
+
deletedAt: Date | null;
|
|
11427
|
+
}[];
|
|
11428
|
+
callFrom: string | null;
|
|
11429
|
+
callTo: string | null;
|
|
11430
|
+
note: string | null;
|
|
11352
11431
|
categories: {
|
|
11353
11432
|
id: string;
|
|
11354
11433
|
value: string;
|
|
@@ -11371,16 +11450,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11371
11450
|
}[];
|
|
11372
11451
|
}[];
|
|
11373
11452
|
}[];
|
|
11374
|
-
tags: {
|
|
11375
|
-
name: string;
|
|
11376
|
-
id: string;
|
|
11377
|
-
createdAt: Date;
|
|
11378
|
-
updatedAt: Date;
|
|
11379
|
-
deletedAt: Date | null;
|
|
11380
|
-
}[];
|
|
11381
|
-
callFrom: string | null;
|
|
11382
|
-
callTo: string | null;
|
|
11383
|
-
note: string | null;
|
|
11384
11453
|
customFields?: {
|
|
11385
11454
|
id: string;
|
|
11386
11455
|
createdAt: Date;
|
|
@@ -11439,6 +11508,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11439
11508
|
createdAt: Date;
|
|
11440
11509
|
updatedAt: Date;
|
|
11441
11510
|
deletedAt: Date | null;
|
|
11511
|
+
tags: {
|
|
11512
|
+
name: string;
|
|
11513
|
+
id: string;
|
|
11514
|
+
createdAt: Date;
|
|
11515
|
+
updatedAt: Date;
|
|
11516
|
+
deletedAt: Date | null;
|
|
11517
|
+
}[];
|
|
11518
|
+
callFrom: string | null;
|
|
11519
|
+
callTo: string | null;
|
|
11520
|
+
note: string | null;
|
|
11442
11521
|
categories: {
|
|
11443
11522
|
id: string;
|
|
11444
11523
|
value: string;
|
|
@@ -11461,16 +11540,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11461
11540
|
}[];
|
|
11462
11541
|
}[];
|
|
11463
11542
|
}[];
|
|
11464
|
-
tags: {
|
|
11465
|
-
name: string;
|
|
11466
|
-
id: string;
|
|
11467
|
-
createdAt: Date;
|
|
11468
|
-
updatedAt: Date;
|
|
11469
|
-
deletedAt: Date | null;
|
|
11470
|
-
}[];
|
|
11471
|
-
callFrom: string | null;
|
|
11472
|
-
callTo: string | null;
|
|
11473
|
-
note: string | null;
|
|
11474
11543
|
customFields?: {
|
|
11475
11544
|
id: string;
|
|
11476
11545
|
createdAt: Date;
|
|
@@ -11564,6 +11633,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11564
11633
|
lineRichMenuId?: string | null | undefined;
|
|
11565
11634
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11566
11635
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11636
|
+
isCSATEnabled?: boolean | undefined;
|
|
11567
11637
|
};
|
|
11568
11638
|
status: boolean;
|
|
11569
11639
|
createdAt: Date;
|
|
@@ -11855,6 +11925,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11855
11925
|
closedAt: Date;
|
|
11856
11926
|
lastMessageAt: Date | null;
|
|
11857
11927
|
isBotRoom: boolean;
|
|
11928
|
+
csatStatus: string | null;
|
|
11858
11929
|
cxlog: {
|
|
11859
11930
|
id: string;
|
|
11860
11931
|
channel: string | null;
|
|
@@ -11882,6 +11953,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11882
11953
|
createdAt: Date;
|
|
11883
11954
|
updatedAt: Date;
|
|
11884
11955
|
deletedAt: Date | null;
|
|
11956
|
+
tags: {
|
|
11957
|
+
name: string;
|
|
11958
|
+
id: string;
|
|
11959
|
+
createdAt: Date;
|
|
11960
|
+
updatedAt: Date;
|
|
11961
|
+
deletedAt: Date | null;
|
|
11962
|
+
}[];
|
|
11963
|
+
callFrom: string | null;
|
|
11964
|
+
callTo: string | null;
|
|
11965
|
+
note: string | null;
|
|
11885
11966
|
categories: {
|
|
11886
11967
|
id: string;
|
|
11887
11968
|
value: string;
|
|
@@ -11904,16 +11985,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11904
11985
|
}[];
|
|
11905
11986
|
}[];
|
|
11906
11987
|
}[];
|
|
11907
|
-
tags: {
|
|
11908
|
-
name: string;
|
|
11909
|
-
id: string;
|
|
11910
|
-
createdAt: Date;
|
|
11911
|
-
updatedAt: Date;
|
|
11912
|
-
deletedAt: Date | null;
|
|
11913
|
-
}[];
|
|
11914
|
-
callFrom: string | null;
|
|
11915
|
-
callTo: string | null;
|
|
11916
|
-
note: string | null;
|
|
11917
11988
|
customFields?: {
|
|
11918
11989
|
id: string;
|
|
11919
11990
|
createdAt: Date;
|
|
@@ -11991,6 +12062,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11991
12062
|
lineRichMenuId?: string | null | undefined;
|
|
11992
12063
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11993
12064
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
12065
|
+
isCSATEnabled?: boolean | undefined;
|
|
11994
12066
|
};
|
|
11995
12067
|
status: boolean;
|
|
11996
12068
|
createdAt: Date;
|
|
@@ -12282,6 +12354,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12282
12354
|
closedAt: Date;
|
|
12283
12355
|
lastMessageAt: Date | null;
|
|
12284
12356
|
isBotRoom: boolean;
|
|
12357
|
+
csatStatus: string | null;
|
|
12285
12358
|
cxlog: {
|
|
12286
12359
|
id: string;
|
|
12287
12360
|
channel: string | null;
|
|
@@ -12309,6 +12382,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12309
12382
|
createdAt: Date;
|
|
12310
12383
|
updatedAt: Date;
|
|
12311
12384
|
deletedAt: Date | null;
|
|
12385
|
+
tags: {
|
|
12386
|
+
name: string;
|
|
12387
|
+
id: string;
|
|
12388
|
+
createdAt: Date;
|
|
12389
|
+
updatedAt: Date;
|
|
12390
|
+
deletedAt: Date | null;
|
|
12391
|
+
}[];
|
|
12392
|
+
callFrom: string | null;
|
|
12393
|
+
callTo: string | null;
|
|
12394
|
+
note: string | null;
|
|
12312
12395
|
categories: {
|
|
12313
12396
|
id: string;
|
|
12314
12397
|
value: string;
|
|
@@ -12331,16 +12414,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12331
12414
|
}[];
|
|
12332
12415
|
}[];
|
|
12333
12416
|
}[];
|
|
12334
|
-
tags: {
|
|
12335
|
-
name: string;
|
|
12336
|
-
id: string;
|
|
12337
|
-
createdAt: Date;
|
|
12338
|
-
updatedAt: Date;
|
|
12339
|
-
deletedAt: Date | null;
|
|
12340
|
-
}[];
|
|
12341
|
-
callFrom: string | null;
|
|
12342
|
-
callTo: string | null;
|
|
12343
|
-
note: string | null;
|
|
12344
12417
|
customFields?: {
|
|
12345
12418
|
id: string;
|
|
12346
12419
|
createdAt: Date;
|
|
@@ -12424,8 +12497,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12424
12497
|
updatedAt: z.ZodDate;
|
|
12425
12498
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12426
12499
|
message: z.ZodString;
|
|
12427
|
-
direction: z.
|
|
12428
|
-
type: z.
|
|
12500
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
|
12501
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
|
12429
12502
|
readAt: z.ZodDate;
|
|
12430
12503
|
metadata: z.ZodAny;
|
|
12431
12504
|
platformId: z.ZodString;
|
|
@@ -13083,7 +13156,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
13083
13156
|
};
|
|
13084
13157
|
}>;
|
|
13085
13158
|
}, "strip", z.ZodTypeAny, {
|
|
13086
|
-
type:
|
|
13159
|
+
type: string;
|
|
13087
13160
|
message: string;
|
|
13088
13161
|
id: string;
|
|
13089
13162
|
url: string;
|
|
@@ -13245,7 +13318,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
13245
13318
|
metadata?: any;
|
|
13246
13319
|
template?: any;
|
|
13247
13320
|
}, {
|
|
13248
|
-
type:
|
|
13321
|
+
type: string;
|
|
13249
13322
|
message: string;
|
|
13250
13323
|
id: string;
|
|
13251
13324
|
url: string;
|
|
@@ -14047,7 +14120,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14047
14120
|
editedMessageid: z.ZodString;
|
|
14048
14121
|
label: z.ZodOptional<z.ZodString>;
|
|
14049
14122
|
}, "strip", z.ZodTypeAny, {
|
|
14050
|
-
type:
|
|
14123
|
+
type: string;
|
|
14051
14124
|
message: string;
|
|
14052
14125
|
id: string;
|
|
14053
14126
|
url: string;
|
|
@@ -14191,6 +14264,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14191
14264
|
lineRichMenuId?: string | null | undefined;
|
|
14192
14265
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14193
14266
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14267
|
+
isCSATEnabled?: boolean | undefined;
|
|
14194
14268
|
};
|
|
14195
14269
|
status: boolean;
|
|
14196
14270
|
createdAt: Date;
|
|
@@ -14482,6 +14556,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14482
14556
|
closedAt: Date;
|
|
14483
14557
|
lastMessageAt: Date | null;
|
|
14484
14558
|
isBotRoom: boolean;
|
|
14559
|
+
csatStatus: string | null;
|
|
14485
14560
|
cxlog: {
|
|
14486
14561
|
id: string;
|
|
14487
14562
|
channel: string | null;
|
|
@@ -14509,6 +14584,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14509
14584
|
createdAt: Date;
|
|
14510
14585
|
updatedAt: Date;
|
|
14511
14586
|
deletedAt: Date | null;
|
|
14587
|
+
tags: {
|
|
14588
|
+
name: string;
|
|
14589
|
+
id: string;
|
|
14590
|
+
createdAt: Date;
|
|
14591
|
+
updatedAt: Date;
|
|
14592
|
+
deletedAt: Date | null;
|
|
14593
|
+
}[];
|
|
14594
|
+
callFrom: string | null;
|
|
14595
|
+
callTo: string | null;
|
|
14596
|
+
note: string | null;
|
|
14512
14597
|
categories: {
|
|
14513
14598
|
id: string;
|
|
14514
14599
|
value: string;
|
|
@@ -14531,16 +14616,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14531
14616
|
}[];
|
|
14532
14617
|
}[];
|
|
14533
14618
|
}[];
|
|
14534
|
-
tags: {
|
|
14535
|
-
name: string;
|
|
14536
|
-
id: string;
|
|
14537
|
-
createdAt: Date;
|
|
14538
|
-
updatedAt: Date;
|
|
14539
|
-
deletedAt: Date | null;
|
|
14540
|
-
}[];
|
|
14541
|
-
callFrom: string | null;
|
|
14542
|
-
callTo: string | null;
|
|
14543
|
-
note: string | null;
|
|
14544
14619
|
customFields?: {
|
|
14545
14620
|
id: string;
|
|
14546
14621
|
createdAt: Date;
|
|
@@ -14600,7 +14675,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14600
14675
|
previewUrl: string;
|
|
14601
14676
|
imageSetId: string;
|
|
14602
14677
|
repliedMessage: {
|
|
14603
|
-
type:
|
|
14678
|
+
type: string;
|
|
14604
14679
|
message: string;
|
|
14605
14680
|
id: string;
|
|
14606
14681
|
url: string;
|
|
@@ -14811,7 +14886,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14811
14886
|
template?: any;
|
|
14812
14887
|
label?: string | undefined;
|
|
14813
14888
|
}, {
|
|
14814
|
-
type:
|
|
14889
|
+
type: string;
|
|
14815
14890
|
message: string;
|
|
14816
14891
|
id: string;
|
|
14817
14892
|
url: string;
|
|
@@ -14955,6 +15030,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14955
15030
|
lineRichMenuId?: string | null | undefined;
|
|
14956
15031
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14957
15032
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
15033
|
+
isCSATEnabled?: boolean | undefined;
|
|
14958
15034
|
};
|
|
14959
15035
|
status: boolean;
|
|
14960
15036
|
createdAt: Date;
|
|
@@ -15246,6 +15322,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15246
15322
|
closedAt: Date;
|
|
15247
15323
|
lastMessageAt: Date | null;
|
|
15248
15324
|
isBotRoom: boolean;
|
|
15325
|
+
csatStatus: string | null;
|
|
15249
15326
|
cxlog: {
|
|
15250
15327
|
id: string;
|
|
15251
15328
|
channel: string | null;
|
|
@@ -15273,6 +15350,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15273
15350
|
createdAt: Date;
|
|
15274
15351
|
updatedAt: Date;
|
|
15275
15352
|
deletedAt: Date | null;
|
|
15353
|
+
tags: {
|
|
15354
|
+
name: string;
|
|
15355
|
+
id: string;
|
|
15356
|
+
createdAt: Date;
|
|
15357
|
+
updatedAt: Date;
|
|
15358
|
+
deletedAt: Date | null;
|
|
15359
|
+
}[];
|
|
15360
|
+
callFrom: string | null;
|
|
15361
|
+
callTo: string | null;
|
|
15362
|
+
note: string | null;
|
|
15276
15363
|
categories: {
|
|
15277
15364
|
id: string;
|
|
15278
15365
|
value: string;
|
|
@@ -15295,16 +15382,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15295
15382
|
}[];
|
|
15296
15383
|
}[];
|
|
15297
15384
|
}[];
|
|
15298
|
-
tags: {
|
|
15299
|
-
name: string;
|
|
15300
|
-
id: string;
|
|
15301
|
-
createdAt: Date;
|
|
15302
|
-
updatedAt: Date;
|
|
15303
|
-
deletedAt: Date | null;
|
|
15304
|
-
}[];
|
|
15305
|
-
callFrom: string | null;
|
|
15306
|
-
callTo: string | null;
|
|
15307
|
-
note: string | null;
|
|
15308
15385
|
customFields?: {
|
|
15309
15386
|
id: string;
|
|
15310
15387
|
createdAt: Date;
|
|
@@ -15364,7 +15441,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15364
15441
|
previewUrl: string;
|
|
15365
15442
|
imageSetId: string;
|
|
15366
15443
|
repliedMessage: {
|
|
15367
|
-
type:
|
|
15444
|
+
type: string;
|
|
15368
15445
|
message: string;
|
|
15369
15446
|
id: string;
|
|
15370
15447
|
url: string;
|
|
@@ -15576,7 +15653,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15576
15653
|
label?: string | undefined;
|
|
15577
15654
|
}>>>;
|
|
15578
15655
|
}, "strip", z.ZodTypeAny, {
|
|
15579
|
-
type:
|
|
15656
|
+
type: string;
|
|
15580
15657
|
message: string;
|
|
15581
15658
|
id: string;
|
|
15582
15659
|
url: string;
|
|
@@ -15720,6 +15797,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15720
15797
|
lineRichMenuId?: string | null | undefined;
|
|
15721
15798
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
15722
15799
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
15800
|
+
isCSATEnabled?: boolean | undefined;
|
|
15723
15801
|
};
|
|
15724
15802
|
status: boolean;
|
|
15725
15803
|
createdAt: Date;
|
|
@@ -16011,6 +16089,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16011
16089
|
closedAt: Date;
|
|
16012
16090
|
lastMessageAt: Date | null;
|
|
16013
16091
|
isBotRoom: boolean;
|
|
16092
|
+
csatStatus: string | null;
|
|
16014
16093
|
cxlog: {
|
|
16015
16094
|
id: string;
|
|
16016
16095
|
channel: string | null;
|
|
@@ -16038,6 +16117,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16038
16117
|
createdAt: Date;
|
|
16039
16118
|
updatedAt: Date;
|
|
16040
16119
|
deletedAt: Date | null;
|
|
16120
|
+
tags: {
|
|
16121
|
+
name: string;
|
|
16122
|
+
id: string;
|
|
16123
|
+
createdAt: Date;
|
|
16124
|
+
updatedAt: Date;
|
|
16125
|
+
deletedAt: Date | null;
|
|
16126
|
+
}[];
|
|
16127
|
+
callFrom: string | null;
|
|
16128
|
+
callTo: string | null;
|
|
16129
|
+
note: string | null;
|
|
16041
16130
|
categories: {
|
|
16042
16131
|
id: string;
|
|
16043
16132
|
value: string;
|
|
@@ -16060,16 +16149,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16060
16149
|
}[];
|
|
16061
16150
|
}[];
|
|
16062
16151
|
}[];
|
|
16063
|
-
tags: {
|
|
16064
|
-
name: string;
|
|
16065
|
-
id: string;
|
|
16066
|
-
createdAt: Date;
|
|
16067
|
-
updatedAt: Date;
|
|
16068
|
-
deletedAt: Date | null;
|
|
16069
|
-
}[];
|
|
16070
|
-
callFrom: string | null;
|
|
16071
|
-
callTo: string | null;
|
|
16072
|
-
note: string | null;
|
|
16073
16152
|
customFields?: {
|
|
16074
16153
|
id: string;
|
|
16075
16154
|
createdAt: Date;
|
|
@@ -16129,7 +16208,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16129
16208
|
previewUrl: string;
|
|
16130
16209
|
imageSetId: string;
|
|
16131
16210
|
repliedMessage: {
|
|
16132
|
-
type:
|
|
16211
|
+
type: string;
|
|
16133
16212
|
message: string;
|
|
16134
16213
|
id: string;
|
|
16135
16214
|
url: string;
|
|
@@ -16340,7 +16419,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16340
16419
|
template?: any;
|
|
16341
16420
|
metadata?: any;
|
|
16342
16421
|
fromMessage?: {
|
|
16343
|
-
type:
|
|
16422
|
+
type: string;
|
|
16344
16423
|
message: string;
|
|
16345
16424
|
id: string;
|
|
16346
16425
|
url: string;
|
|
@@ -16484,6 +16563,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16484
16563
|
lineRichMenuId?: string | null | undefined;
|
|
16485
16564
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
16486
16565
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
16566
|
+
isCSATEnabled?: boolean | undefined;
|
|
16487
16567
|
};
|
|
16488
16568
|
status: boolean;
|
|
16489
16569
|
createdAt: Date;
|
|
@@ -16775,6 +16855,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16775
16855
|
closedAt: Date;
|
|
16776
16856
|
lastMessageAt: Date | null;
|
|
16777
16857
|
isBotRoom: boolean;
|
|
16858
|
+
csatStatus: string | null;
|
|
16778
16859
|
cxlog: {
|
|
16779
16860
|
id: string;
|
|
16780
16861
|
channel: string | null;
|
|
@@ -16802,6 +16883,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16802
16883
|
createdAt: Date;
|
|
16803
16884
|
updatedAt: Date;
|
|
16804
16885
|
deletedAt: Date | null;
|
|
16886
|
+
tags: {
|
|
16887
|
+
name: string;
|
|
16888
|
+
id: string;
|
|
16889
|
+
createdAt: Date;
|
|
16890
|
+
updatedAt: Date;
|
|
16891
|
+
deletedAt: Date | null;
|
|
16892
|
+
}[];
|
|
16893
|
+
callFrom: string | null;
|
|
16894
|
+
callTo: string | null;
|
|
16895
|
+
note: string | null;
|
|
16805
16896
|
categories: {
|
|
16806
16897
|
id: string;
|
|
16807
16898
|
value: string;
|
|
@@ -16824,16 +16915,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16824
16915
|
}[];
|
|
16825
16916
|
}[];
|
|
16826
16917
|
}[];
|
|
16827
|
-
tags: {
|
|
16828
|
-
name: string;
|
|
16829
|
-
id: string;
|
|
16830
|
-
createdAt: Date;
|
|
16831
|
-
updatedAt: Date;
|
|
16832
|
-
deletedAt: Date | null;
|
|
16833
|
-
}[];
|
|
16834
|
-
callFrom: string | null;
|
|
16835
|
-
callTo: string | null;
|
|
16836
|
-
note: string | null;
|
|
16837
16918
|
customFields?: {
|
|
16838
16919
|
id: string;
|
|
16839
16920
|
createdAt: Date;
|
|
@@ -16893,7 +16974,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16893
16974
|
previewUrl: string;
|
|
16894
16975
|
imageSetId: string;
|
|
16895
16976
|
repliedMessage: {
|
|
16896
|
-
type:
|
|
16977
|
+
type: string;
|
|
16897
16978
|
message: string;
|
|
16898
16979
|
id: string;
|
|
16899
16980
|
url: string;
|
|
@@ -17105,7 +17186,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17105
17186
|
label?: string | undefined;
|
|
17106
17187
|
} | null | undefined;
|
|
17107
17188
|
}, {
|
|
17108
|
-
type:
|
|
17189
|
+
type: string;
|
|
17109
17190
|
message: string;
|
|
17110
17191
|
id: string;
|
|
17111
17192
|
url: string;
|
|
@@ -17249,6 +17330,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17249
17330
|
lineRichMenuId?: string | null | undefined;
|
|
17250
17331
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
17251
17332
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
17333
|
+
isCSATEnabled?: boolean | undefined;
|
|
17252
17334
|
};
|
|
17253
17335
|
status: boolean;
|
|
17254
17336
|
createdAt: Date;
|
|
@@ -17540,6 +17622,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17540
17622
|
closedAt: Date;
|
|
17541
17623
|
lastMessageAt: Date | null;
|
|
17542
17624
|
isBotRoom: boolean;
|
|
17625
|
+
csatStatus: string | null;
|
|
17543
17626
|
cxlog: {
|
|
17544
17627
|
id: string;
|
|
17545
17628
|
channel: string | null;
|
|
@@ -17567,6 +17650,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17567
17650
|
createdAt: Date;
|
|
17568
17651
|
updatedAt: Date;
|
|
17569
17652
|
deletedAt: Date | null;
|
|
17653
|
+
tags: {
|
|
17654
|
+
name: string;
|
|
17655
|
+
id: string;
|
|
17656
|
+
createdAt: Date;
|
|
17657
|
+
updatedAt: Date;
|
|
17658
|
+
deletedAt: Date | null;
|
|
17659
|
+
}[];
|
|
17660
|
+
callFrom: string | null;
|
|
17661
|
+
callTo: string | null;
|
|
17662
|
+
note: string | null;
|
|
17570
17663
|
categories: {
|
|
17571
17664
|
id: string;
|
|
17572
17665
|
value: string;
|
|
@@ -17589,16 +17682,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17589
17682
|
}[];
|
|
17590
17683
|
}[];
|
|
17591
17684
|
}[];
|
|
17592
|
-
tags: {
|
|
17593
|
-
name: string;
|
|
17594
|
-
id: string;
|
|
17595
|
-
createdAt: Date;
|
|
17596
|
-
updatedAt: Date;
|
|
17597
|
-
deletedAt: Date | null;
|
|
17598
|
-
}[];
|
|
17599
|
-
callFrom: string | null;
|
|
17600
|
-
callTo: string | null;
|
|
17601
|
-
note: string | null;
|
|
17602
17685
|
customFields?: {
|
|
17603
17686
|
id: string;
|
|
17604
17687
|
createdAt: Date;
|
|
@@ -17658,7 +17741,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17658
17741
|
previewUrl: string;
|
|
17659
17742
|
imageSetId: string;
|
|
17660
17743
|
repliedMessage: {
|
|
17661
|
-
type:
|
|
17744
|
+
type: string;
|
|
17662
17745
|
message: string;
|
|
17663
17746
|
id: string;
|
|
17664
17747
|
url: string;
|
|
@@ -17869,7 +17952,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17869
17952
|
template?: any;
|
|
17870
17953
|
metadata?: any;
|
|
17871
17954
|
fromMessage?: {
|
|
17872
|
-
type:
|
|
17955
|
+
type: string;
|
|
17873
17956
|
message: string;
|
|
17874
17957
|
id: string;
|
|
17875
17958
|
url: string;
|
|
@@ -18013,6 +18096,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18013
18096
|
lineRichMenuId?: string | null | undefined;
|
|
18014
18097
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
18015
18098
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
18099
|
+
isCSATEnabled?: boolean | undefined;
|
|
18016
18100
|
};
|
|
18017
18101
|
status: boolean;
|
|
18018
18102
|
createdAt: Date;
|
|
@@ -18304,6 +18388,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18304
18388
|
closedAt: Date;
|
|
18305
18389
|
lastMessageAt: Date | null;
|
|
18306
18390
|
isBotRoom: boolean;
|
|
18391
|
+
csatStatus: string | null;
|
|
18307
18392
|
cxlog: {
|
|
18308
18393
|
id: string;
|
|
18309
18394
|
channel: string | null;
|
|
@@ -18331,6 +18416,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18331
18416
|
createdAt: Date;
|
|
18332
18417
|
updatedAt: Date;
|
|
18333
18418
|
deletedAt: Date | null;
|
|
18419
|
+
tags: {
|
|
18420
|
+
name: string;
|
|
18421
|
+
id: string;
|
|
18422
|
+
createdAt: Date;
|
|
18423
|
+
updatedAt: Date;
|
|
18424
|
+
deletedAt: Date | null;
|
|
18425
|
+
}[];
|
|
18426
|
+
callFrom: string | null;
|
|
18427
|
+
callTo: string | null;
|
|
18428
|
+
note: string | null;
|
|
18334
18429
|
categories: {
|
|
18335
18430
|
id: string;
|
|
18336
18431
|
value: string;
|
|
@@ -18353,16 +18448,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18353
18448
|
}[];
|
|
18354
18449
|
}[];
|
|
18355
18450
|
}[];
|
|
18356
|
-
tags: {
|
|
18357
|
-
name: string;
|
|
18358
|
-
id: string;
|
|
18359
|
-
createdAt: Date;
|
|
18360
|
-
updatedAt: Date;
|
|
18361
|
-
deletedAt: Date | null;
|
|
18362
|
-
}[];
|
|
18363
|
-
callFrom: string | null;
|
|
18364
|
-
callTo: string | null;
|
|
18365
|
-
note: string | null;
|
|
18366
18451
|
customFields?: {
|
|
18367
18452
|
id: string;
|
|
18368
18453
|
createdAt: Date;
|
|
@@ -18422,7 +18507,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18422
18507
|
previewUrl: string;
|
|
18423
18508
|
imageSetId: string;
|
|
18424
18509
|
repliedMessage: {
|
|
18425
|
-
type:
|
|
18510
|
+
type: string;
|
|
18426
18511
|
message: string;
|
|
18427
18512
|
id: string;
|
|
18428
18513
|
url: string;
|
|
@@ -18636,7 +18721,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18636
18721
|
}>;
|
|
18637
18722
|
}, "strip", z.ZodTypeAny, {
|
|
18638
18723
|
data: {
|
|
18639
|
-
type:
|
|
18724
|
+
type: string;
|
|
18640
18725
|
message: string;
|
|
18641
18726
|
id: string;
|
|
18642
18727
|
url: string;
|
|
@@ -18780,6 +18865,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18780
18865
|
lineRichMenuId?: string | null | undefined;
|
|
18781
18866
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
18782
18867
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
18868
|
+
isCSATEnabled?: boolean | undefined;
|
|
18783
18869
|
};
|
|
18784
18870
|
status: boolean;
|
|
18785
18871
|
createdAt: Date;
|
|
@@ -19071,6 +19157,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19071
19157
|
closedAt: Date;
|
|
19072
19158
|
lastMessageAt: Date | null;
|
|
19073
19159
|
isBotRoom: boolean;
|
|
19160
|
+
csatStatus: string | null;
|
|
19074
19161
|
cxlog: {
|
|
19075
19162
|
id: string;
|
|
19076
19163
|
channel: string | null;
|
|
@@ -19098,6 +19185,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19098
19185
|
createdAt: Date;
|
|
19099
19186
|
updatedAt: Date;
|
|
19100
19187
|
deletedAt: Date | null;
|
|
19188
|
+
tags: {
|
|
19189
|
+
name: string;
|
|
19190
|
+
id: string;
|
|
19191
|
+
createdAt: Date;
|
|
19192
|
+
updatedAt: Date;
|
|
19193
|
+
deletedAt: Date | null;
|
|
19194
|
+
}[];
|
|
19195
|
+
callFrom: string | null;
|
|
19196
|
+
callTo: string | null;
|
|
19197
|
+
note: string | null;
|
|
19101
19198
|
categories: {
|
|
19102
19199
|
id: string;
|
|
19103
19200
|
value: string;
|
|
@@ -19120,16 +19217,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19120
19217
|
}[];
|
|
19121
19218
|
}[];
|
|
19122
19219
|
}[];
|
|
19123
|
-
tags: {
|
|
19124
|
-
name: string;
|
|
19125
|
-
id: string;
|
|
19126
|
-
createdAt: Date;
|
|
19127
|
-
updatedAt: Date;
|
|
19128
|
-
deletedAt: Date | null;
|
|
19129
|
-
}[];
|
|
19130
|
-
callFrom: string | null;
|
|
19131
|
-
callTo: string | null;
|
|
19132
|
-
note: string | null;
|
|
19133
19220
|
customFields?: {
|
|
19134
19221
|
id: string;
|
|
19135
19222
|
createdAt: Date;
|
|
@@ -19189,7 +19276,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19189
19276
|
previewUrl: string;
|
|
19190
19277
|
imageSetId: string;
|
|
19191
19278
|
repliedMessage: {
|
|
19192
|
-
type:
|
|
19279
|
+
type: string;
|
|
19193
19280
|
message: string;
|
|
19194
19281
|
id: string;
|
|
19195
19282
|
url: string;
|
|
@@ -19400,7 +19487,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19400
19487
|
template?: any;
|
|
19401
19488
|
metadata?: any;
|
|
19402
19489
|
fromMessage?: {
|
|
19403
|
-
type:
|
|
19490
|
+
type: string;
|
|
19404
19491
|
message: string;
|
|
19405
19492
|
id: string;
|
|
19406
19493
|
url: string;
|
|
@@ -19544,6 +19631,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19544
19631
|
lineRichMenuId?: string | null | undefined;
|
|
19545
19632
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
19546
19633
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
19634
|
+
isCSATEnabled?: boolean | undefined;
|
|
19547
19635
|
};
|
|
19548
19636
|
status: boolean;
|
|
19549
19637
|
createdAt: Date;
|
|
@@ -19835,6 +19923,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19835
19923
|
closedAt: Date;
|
|
19836
19924
|
lastMessageAt: Date | null;
|
|
19837
19925
|
isBotRoom: boolean;
|
|
19926
|
+
csatStatus: string | null;
|
|
19838
19927
|
cxlog: {
|
|
19839
19928
|
id: string;
|
|
19840
19929
|
channel: string | null;
|
|
@@ -19862,6 +19951,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19862
19951
|
createdAt: Date;
|
|
19863
19952
|
updatedAt: Date;
|
|
19864
19953
|
deletedAt: Date | null;
|
|
19954
|
+
tags: {
|
|
19955
|
+
name: string;
|
|
19956
|
+
id: string;
|
|
19957
|
+
createdAt: Date;
|
|
19958
|
+
updatedAt: Date;
|
|
19959
|
+
deletedAt: Date | null;
|
|
19960
|
+
}[];
|
|
19961
|
+
callFrom: string | null;
|
|
19962
|
+
callTo: string | null;
|
|
19963
|
+
note: string | null;
|
|
19865
19964
|
categories: {
|
|
19866
19965
|
id: string;
|
|
19867
19966
|
value: string;
|
|
@@ -19884,16 +19983,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19884
19983
|
}[];
|
|
19885
19984
|
}[];
|
|
19886
19985
|
}[];
|
|
19887
|
-
tags: {
|
|
19888
|
-
name: string;
|
|
19889
|
-
id: string;
|
|
19890
|
-
createdAt: Date;
|
|
19891
|
-
updatedAt: Date;
|
|
19892
|
-
deletedAt: Date | null;
|
|
19893
|
-
}[];
|
|
19894
|
-
callFrom: string | null;
|
|
19895
|
-
callTo: string | null;
|
|
19896
|
-
note: string | null;
|
|
19897
19986
|
customFields?: {
|
|
19898
19987
|
id: string;
|
|
19899
19988
|
createdAt: Date;
|
|
@@ -19953,7 +20042,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19953
20042
|
previewUrl: string;
|
|
19954
20043
|
imageSetId: string;
|
|
19955
20044
|
repliedMessage: {
|
|
19956
|
-
type:
|
|
20045
|
+
type: string;
|
|
19957
20046
|
message: string;
|
|
19958
20047
|
id: string;
|
|
19959
20048
|
url: string;
|
|
@@ -20168,7 +20257,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20168
20257
|
requestId: string;
|
|
20169
20258
|
}, {
|
|
20170
20259
|
data: {
|
|
20171
|
-
type:
|
|
20260
|
+
type: string;
|
|
20172
20261
|
message: string;
|
|
20173
20262
|
id: string;
|
|
20174
20263
|
url: string;
|
|
@@ -20312,6 +20401,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20312
20401
|
lineRichMenuId?: string | null | undefined;
|
|
20313
20402
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
20314
20403
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
20404
|
+
isCSATEnabled?: boolean | undefined;
|
|
20315
20405
|
};
|
|
20316
20406
|
status: boolean;
|
|
20317
20407
|
createdAt: Date;
|
|
@@ -20603,6 +20693,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20603
20693
|
closedAt: Date;
|
|
20604
20694
|
lastMessageAt: Date | null;
|
|
20605
20695
|
isBotRoom: boolean;
|
|
20696
|
+
csatStatus: string | null;
|
|
20606
20697
|
cxlog: {
|
|
20607
20698
|
id: string;
|
|
20608
20699
|
channel: string | null;
|
|
@@ -20630,6 +20721,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20630
20721
|
createdAt: Date;
|
|
20631
20722
|
updatedAt: Date;
|
|
20632
20723
|
deletedAt: Date | null;
|
|
20724
|
+
tags: {
|
|
20725
|
+
name: string;
|
|
20726
|
+
id: string;
|
|
20727
|
+
createdAt: Date;
|
|
20728
|
+
updatedAt: Date;
|
|
20729
|
+
deletedAt: Date | null;
|
|
20730
|
+
}[];
|
|
20731
|
+
callFrom: string | null;
|
|
20732
|
+
callTo: string | null;
|
|
20733
|
+
note: string | null;
|
|
20633
20734
|
categories: {
|
|
20634
20735
|
id: string;
|
|
20635
20736
|
value: string;
|
|
@@ -20652,16 +20753,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20652
20753
|
}[];
|
|
20653
20754
|
}[];
|
|
20654
20755
|
}[];
|
|
20655
|
-
tags: {
|
|
20656
|
-
name: string;
|
|
20657
|
-
id: string;
|
|
20658
|
-
createdAt: Date;
|
|
20659
|
-
updatedAt: Date;
|
|
20660
|
-
deletedAt: Date | null;
|
|
20661
|
-
}[];
|
|
20662
|
-
callFrom: string | null;
|
|
20663
|
-
callTo: string | null;
|
|
20664
|
-
note: string | null;
|
|
20665
20756
|
customFields?: {
|
|
20666
20757
|
id: string;
|
|
20667
20758
|
createdAt: Date;
|
|
@@ -20721,7 +20812,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20721
20812
|
previewUrl: string;
|
|
20722
20813
|
imageSetId: string;
|
|
20723
20814
|
repliedMessage: {
|
|
20724
|
-
type:
|
|
20815
|
+
type: string;
|
|
20725
20816
|
message: string;
|
|
20726
20817
|
id: string;
|
|
20727
20818
|
url: string;
|
|
@@ -20932,7 +21023,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20932
21023
|
template?: any;
|
|
20933
21024
|
metadata?: any;
|
|
20934
21025
|
fromMessage?: {
|
|
20935
|
-
type:
|
|
21026
|
+
type: string;
|
|
20936
21027
|
message: string;
|
|
20937
21028
|
id: string;
|
|
20938
21029
|
url: string;
|
|
@@ -21076,6 +21167,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21076
21167
|
lineRichMenuId?: string | null | undefined;
|
|
21077
21168
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
21078
21169
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
21170
|
+
isCSATEnabled?: boolean | undefined;
|
|
21079
21171
|
};
|
|
21080
21172
|
status: boolean;
|
|
21081
21173
|
createdAt: Date;
|
|
@@ -21367,6 +21459,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21367
21459
|
closedAt: Date;
|
|
21368
21460
|
lastMessageAt: Date | null;
|
|
21369
21461
|
isBotRoom: boolean;
|
|
21462
|
+
csatStatus: string | null;
|
|
21370
21463
|
cxlog: {
|
|
21371
21464
|
id: string;
|
|
21372
21465
|
channel: string | null;
|
|
@@ -21394,6 +21487,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21394
21487
|
createdAt: Date;
|
|
21395
21488
|
updatedAt: Date;
|
|
21396
21489
|
deletedAt: Date | null;
|
|
21490
|
+
tags: {
|
|
21491
|
+
name: string;
|
|
21492
|
+
id: string;
|
|
21493
|
+
createdAt: Date;
|
|
21494
|
+
updatedAt: Date;
|
|
21495
|
+
deletedAt: Date | null;
|
|
21496
|
+
}[];
|
|
21497
|
+
callFrom: string | null;
|
|
21498
|
+
callTo: string | null;
|
|
21499
|
+
note: string | null;
|
|
21397
21500
|
categories: {
|
|
21398
21501
|
id: string;
|
|
21399
21502
|
value: string;
|
|
@@ -21416,16 +21519,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21416
21519
|
}[];
|
|
21417
21520
|
}[];
|
|
21418
21521
|
}[];
|
|
21419
|
-
tags: {
|
|
21420
|
-
name: string;
|
|
21421
|
-
id: string;
|
|
21422
|
-
createdAt: Date;
|
|
21423
|
-
updatedAt: Date;
|
|
21424
|
-
deletedAt: Date | null;
|
|
21425
|
-
}[];
|
|
21426
|
-
callFrom: string | null;
|
|
21427
|
-
callTo: string | null;
|
|
21428
|
-
note: string | null;
|
|
21429
21522
|
customFields?: {
|
|
21430
21523
|
id: string;
|
|
21431
21524
|
createdAt: Date;
|
|
@@ -21485,7 +21578,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21485
21578
|
previewUrl: string;
|
|
21486
21579
|
imageSetId: string;
|
|
21487
21580
|
repliedMessage: {
|
|
21488
|
-
type:
|
|
21581
|
+
type: string;
|
|
21489
21582
|
message: string;
|
|
21490
21583
|
id: string;
|
|
21491
21584
|
url: string;
|
|
@@ -21768,6 +21861,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
21768
21861
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
21769
21862
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
21770
21863
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
21864
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
21771
21865
|
}, "strip", z.ZodTypeAny, {
|
|
21772
21866
|
name: string;
|
|
21773
21867
|
id: string;
|
|
@@ -21797,6 +21891,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
21797
21891
|
lineRichMenuId?: string | null | undefined;
|
|
21798
21892
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
21799
21893
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
21894
|
+
isCSATEnabled?: boolean | undefined;
|
|
21800
21895
|
}, {
|
|
21801
21896
|
name: string;
|
|
21802
21897
|
id: string;
|
|
@@ -21826,6 +21921,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
21826
21921
|
lineRichMenuId?: string | null | undefined;
|
|
21827
21922
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
21828
21923
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
21924
|
+
isCSATEnabled?: boolean | undefined;
|
|
21829
21925
|
}>;
|
|
21830
21926
|
platformId: z.ZodString;
|
|
21831
21927
|
brandName: z.ZodString;
|
|
@@ -21885,6 +21981,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
21885
21981
|
lineRichMenuId?: string | null | undefined;
|
|
21886
21982
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
21887
21983
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
21984
|
+
isCSATEnabled?: boolean | undefined;
|
|
21888
21985
|
};
|
|
21889
21986
|
status: boolean;
|
|
21890
21987
|
brandName: string;
|
|
@@ -21932,6 +22029,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
21932
22029
|
lineRichMenuId?: string | null | undefined;
|
|
21933
22030
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
21934
22031
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
22032
|
+
isCSATEnabled?: boolean | undefined;
|
|
21935
22033
|
};
|
|
21936
22034
|
status: boolean;
|
|
21937
22035
|
brandName: string;
|
|
@@ -21981,6 +22079,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
21981
22079
|
lineRichMenuId?: string | null | undefined;
|
|
21982
22080
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
21983
22081
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
22082
|
+
isCSATEnabled?: boolean | undefined;
|
|
21984
22083
|
};
|
|
21985
22084
|
status: boolean;
|
|
21986
22085
|
brandName: string;
|
|
@@ -22031,6 +22130,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
22031
22130
|
lineRichMenuId?: string | null | undefined;
|
|
22032
22131
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
22033
22132
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
22133
|
+
isCSATEnabled?: boolean | undefined;
|
|
22034
22134
|
};
|
|
22035
22135
|
status: boolean;
|
|
22036
22136
|
brandName: string;
|
|
@@ -22055,8 +22155,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
22055
22155
|
updatedAt: z.ZodString;
|
|
22056
22156
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
22057
22157
|
message: z.ZodOptional<z.ZodString>;
|
|
22058
|
-
direction: z.
|
|
22059
|
-
type: z.
|
|
22158
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
|
22159
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
|
22060
22160
|
metadata: z.ZodAny;
|
|
22061
22161
|
platformId: z.ZodString;
|
|
22062
22162
|
platformMessageId: z.ZodString;
|
|
@@ -22078,7 +22178,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
22078
22178
|
firstResponseAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22079
22179
|
firstResponseTime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22080
22180
|
isLatest: z.ZodOptional<z.ZodBoolean>;
|
|
22081
|
-
direction: z.ZodOptional<z.
|
|
22181
|
+
direction: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>>;
|
|
22082
22182
|
platformContact: z.ZodOptional<z.ZodObject<{
|
|
22083
22183
|
id: z.ZodString;
|
|
22084
22184
|
createdAt: z.ZodString;
|
|
@@ -23488,6 +23588,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23488
23588
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
23489
23589
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
23490
23590
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
23591
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
23491
23592
|
}, "strip", z.ZodTypeAny, {
|
|
23492
23593
|
name: string;
|
|
23493
23594
|
id: string;
|
|
@@ -23517,6 +23618,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23517
23618
|
lineRichMenuId?: string | null | undefined;
|
|
23518
23619
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
23519
23620
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
23621
|
+
isCSATEnabled?: boolean | undefined;
|
|
23520
23622
|
}, {
|
|
23521
23623
|
name: string;
|
|
23522
23624
|
id: string;
|
|
@@ -23546,6 +23648,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23546
23648
|
lineRichMenuId?: string | null | undefined;
|
|
23547
23649
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
23548
23650
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
23651
|
+
isCSATEnabled?: boolean | undefined;
|
|
23549
23652
|
}>;
|
|
23550
23653
|
platformId: z.ZodString;
|
|
23551
23654
|
brandName: z.ZodString;
|
|
@@ -23605,6 +23708,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23605
23708
|
lineRichMenuId?: string | null | undefined;
|
|
23606
23709
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
23607
23710
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
23711
|
+
isCSATEnabled?: boolean | undefined;
|
|
23608
23712
|
};
|
|
23609
23713
|
status: boolean;
|
|
23610
23714
|
brandName: string;
|
|
@@ -23652,6 +23756,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23652
23756
|
lineRichMenuId?: string | null | undefined;
|
|
23653
23757
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
23654
23758
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
23759
|
+
isCSATEnabled?: boolean | undefined;
|
|
23655
23760
|
};
|
|
23656
23761
|
status: boolean;
|
|
23657
23762
|
brandName: string;
|
|
@@ -23857,6 +23962,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23857
23962
|
createdAt: Date;
|
|
23858
23963
|
updatedAt: Date;
|
|
23859
23964
|
deletedAt: Date | null;
|
|
23965
|
+
tags: {
|
|
23966
|
+
name: string;
|
|
23967
|
+
id: string;
|
|
23968
|
+
createdAt: Date;
|
|
23969
|
+
updatedAt: Date;
|
|
23970
|
+
deletedAt: Date | null;
|
|
23971
|
+
}[];
|
|
23972
|
+
callFrom: string | null;
|
|
23973
|
+
callTo: string | null;
|
|
23974
|
+
note: string | null;
|
|
23860
23975
|
categories: {
|
|
23861
23976
|
id: string;
|
|
23862
23977
|
value: string;
|
|
@@ -23879,16 +23994,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23879
23994
|
}[];
|
|
23880
23995
|
}[];
|
|
23881
23996
|
}[];
|
|
23882
|
-
tags: {
|
|
23883
|
-
name: string;
|
|
23884
|
-
id: string;
|
|
23885
|
-
createdAt: Date;
|
|
23886
|
-
updatedAt: Date;
|
|
23887
|
-
deletedAt: Date | null;
|
|
23888
|
-
}[];
|
|
23889
|
-
callFrom: string | null;
|
|
23890
|
-
callTo: string | null;
|
|
23891
|
-
note: string | null;
|
|
23892
23997
|
customFields?: {
|
|
23893
23998
|
id: string;
|
|
23894
23999
|
createdAt: Date;
|
|
@@ -23908,6 +24013,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23908
24013
|
createdAt: Date;
|
|
23909
24014
|
updatedAt: Date;
|
|
23910
24015
|
deletedAt: Date | null;
|
|
24016
|
+
tags: {
|
|
24017
|
+
name: string;
|
|
24018
|
+
id: string;
|
|
24019
|
+
createdAt: Date;
|
|
24020
|
+
updatedAt: Date;
|
|
24021
|
+
deletedAt: Date | null;
|
|
24022
|
+
}[];
|
|
24023
|
+
callFrom: string | null;
|
|
24024
|
+
callTo: string | null;
|
|
24025
|
+
note: string | null;
|
|
23911
24026
|
categories: {
|
|
23912
24027
|
id: string;
|
|
23913
24028
|
value: string;
|
|
@@ -23930,16 +24045,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23930
24045
|
}[];
|
|
23931
24046
|
}[];
|
|
23932
24047
|
}[];
|
|
23933
|
-
tags: {
|
|
23934
|
-
name: string;
|
|
23935
|
-
id: string;
|
|
23936
|
-
createdAt: Date;
|
|
23937
|
-
updatedAt: Date;
|
|
23938
|
-
deletedAt: Date | null;
|
|
23939
|
-
}[];
|
|
23940
|
-
callFrom: string | null;
|
|
23941
|
-
callTo: string | null;
|
|
23942
|
-
note: string | null;
|
|
23943
24048
|
customFields?: {
|
|
23944
24049
|
id: string;
|
|
23945
24050
|
createdAt: Date;
|
|
@@ -24048,6 +24153,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24048
24153
|
createdAt: Date;
|
|
24049
24154
|
updatedAt: Date;
|
|
24050
24155
|
deletedAt: Date | null;
|
|
24156
|
+
tags: {
|
|
24157
|
+
name: string;
|
|
24158
|
+
id: string;
|
|
24159
|
+
createdAt: Date;
|
|
24160
|
+
updatedAt: Date;
|
|
24161
|
+
deletedAt: Date | null;
|
|
24162
|
+
}[];
|
|
24163
|
+
callFrom: string | null;
|
|
24164
|
+
callTo: string | null;
|
|
24165
|
+
note: string | null;
|
|
24051
24166
|
categories: {
|
|
24052
24167
|
id: string;
|
|
24053
24168
|
value: string;
|
|
@@ -24070,16 +24185,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24070
24185
|
}[];
|
|
24071
24186
|
}[];
|
|
24072
24187
|
}[];
|
|
24073
|
-
tags: {
|
|
24074
|
-
name: string;
|
|
24075
|
-
id: string;
|
|
24076
|
-
createdAt: Date;
|
|
24077
|
-
updatedAt: Date;
|
|
24078
|
-
deletedAt: Date | null;
|
|
24079
|
-
}[];
|
|
24080
|
-
callFrom: string | null;
|
|
24081
|
-
callTo: string | null;
|
|
24082
|
-
note: string | null;
|
|
24083
24188
|
customFields?: {
|
|
24084
24189
|
id: string;
|
|
24085
24190
|
createdAt: Date;
|
|
@@ -24138,6 +24243,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24138
24243
|
createdAt: Date;
|
|
24139
24244
|
updatedAt: Date;
|
|
24140
24245
|
deletedAt: Date | null;
|
|
24246
|
+
tags: {
|
|
24247
|
+
name: string;
|
|
24248
|
+
id: string;
|
|
24249
|
+
createdAt: Date;
|
|
24250
|
+
updatedAt: Date;
|
|
24251
|
+
deletedAt: Date | null;
|
|
24252
|
+
}[];
|
|
24253
|
+
callFrom: string | null;
|
|
24254
|
+
callTo: string | null;
|
|
24255
|
+
note: string | null;
|
|
24141
24256
|
categories: {
|
|
24142
24257
|
id: string;
|
|
24143
24258
|
value: string;
|
|
@@ -24160,16 +24275,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24160
24275
|
}[];
|
|
24161
24276
|
}[];
|
|
24162
24277
|
}[];
|
|
24163
|
-
tags: {
|
|
24164
|
-
name: string;
|
|
24165
|
-
id: string;
|
|
24166
|
-
createdAt: Date;
|
|
24167
|
-
updatedAt: Date;
|
|
24168
|
-
deletedAt: Date | null;
|
|
24169
|
-
}[];
|
|
24170
|
-
callFrom: string | null;
|
|
24171
|
-
callTo: string | null;
|
|
24172
|
-
note: string | null;
|
|
24173
24278
|
customFields?: {
|
|
24174
24279
|
id: string;
|
|
24175
24280
|
createdAt: Date;
|
|
@@ -24448,6 +24553,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24448
24553
|
lineRichMenuId?: string | null | undefined;
|
|
24449
24554
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
24450
24555
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
24556
|
+
isCSATEnabled?: boolean | undefined;
|
|
24451
24557
|
};
|
|
24452
24558
|
status: boolean;
|
|
24453
24559
|
brandName: string;
|
|
@@ -24490,6 +24596,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24490
24596
|
createdAt: Date;
|
|
24491
24597
|
updatedAt: Date;
|
|
24492
24598
|
deletedAt: Date | null;
|
|
24599
|
+
tags: {
|
|
24600
|
+
name: string;
|
|
24601
|
+
id: string;
|
|
24602
|
+
createdAt: Date;
|
|
24603
|
+
updatedAt: Date;
|
|
24604
|
+
deletedAt: Date | null;
|
|
24605
|
+
}[];
|
|
24606
|
+
callFrom: string | null;
|
|
24607
|
+
callTo: string | null;
|
|
24608
|
+
note: string | null;
|
|
24493
24609
|
categories: {
|
|
24494
24610
|
id: string;
|
|
24495
24611
|
value: string;
|
|
@@ -24512,16 +24628,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24512
24628
|
}[];
|
|
24513
24629
|
}[];
|
|
24514
24630
|
}[];
|
|
24515
|
-
tags: {
|
|
24516
|
-
name: string;
|
|
24517
|
-
id: string;
|
|
24518
|
-
createdAt: Date;
|
|
24519
|
-
updatedAt: Date;
|
|
24520
|
-
deletedAt: Date | null;
|
|
24521
|
-
}[];
|
|
24522
|
-
callFrom: string | null;
|
|
24523
|
-
callTo: string | null;
|
|
24524
|
-
note: string | null;
|
|
24525
24631
|
customFields?: {
|
|
24526
24632
|
id: string;
|
|
24527
24633
|
createdAt: Date;
|
|
@@ -24800,6 +24906,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24800
24906
|
lineRichMenuId?: string | null | undefined;
|
|
24801
24907
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
24802
24908
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
24909
|
+
isCSATEnabled?: boolean | undefined;
|
|
24803
24910
|
};
|
|
24804
24911
|
status: boolean;
|
|
24805
24912
|
brandName: string;
|
|
@@ -24842,6 +24949,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24842
24949
|
createdAt: Date;
|
|
24843
24950
|
updatedAt: Date;
|
|
24844
24951
|
deletedAt: Date | null;
|
|
24952
|
+
tags: {
|
|
24953
|
+
name: string;
|
|
24954
|
+
id: string;
|
|
24955
|
+
createdAt: Date;
|
|
24956
|
+
updatedAt: Date;
|
|
24957
|
+
deletedAt: Date | null;
|
|
24958
|
+
}[];
|
|
24959
|
+
callFrom: string | null;
|
|
24960
|
+
callTo: string | null;
|
|
24961
|
+
note: string | null;
|
|
24845
24962
|
categories: {
|
|
24846
24963
|
id: string;
|
|
24847
24964
|
value: string;
|
|
@@ -24864,16 +24981,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24864
24981
|
}[];
|
|
24865
24982
|
}[];
|
|
24866
24983
|
}[];
|
|
24867
|
-
tags: {
|
|
24868
|
-
name: string;
|
|
24869
|
-
id: string;
|
|
24870
|
-
createdAt: Date;
|
|
24871
|
-
updatedAt: Date;
|
|
24872
|
-
deletedAt: Date | null;
|
|
24873
|
-
}[];
|
|
24874
|
-
callFrom: string | null;
|
|
24875
|
-
callTo: string | null;
|
|
24876
|
-
note: string | null;
|
|
24877
24984
|
customFields?: {
|
|
24878
24985
|
id: string;
|
|
24879
24986
|
createdAt: Date;
|
|
@@ -25555,7 +25662,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
25555
25662
|
}>>>;
|
|
25556
25663
|
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
25557
25664
|
}, "strip", z.ZodTypeAny, {
|
|
25558
|
-
type:
|
|
25665
|
+
type: string;
|
|
25559
25666
|
id: string;
|
|
25560
25667
|
direction: "incoming" | "outgoing" | "system";
|
|
25561
25668
|
createdAt: string;
|
|
@@ -25808,6 +25915,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
25808
25915
|
lineRichMenuId?: string | null | undefined;
|
|
25809
25916
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
25810
25917
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
25918
|
+
isCSATEnabled?: boolean | undefined;
|
|
25811
25919
|
};
|
|
25812
25920
|
status: boolean;
|
|
25813
25921
|
brandName: string;
|
|
@@ -25850,6 +25958,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
25850
25958
|
createdAt: Date;
|
|
25851
25959
|
updatedAt: Date;
|
|
25852
25960
|
deletedAt: Date | null;
|
|
25961
|
+
tags: {
|
|
25962
|
+
name: string;
|
|
25963
|
+
id: string;
|
|
25964
|
+
createdAt: Date;
|
|
25965
|
+
updatedAt: Date;
|
|
25966
|
+
deletedAt: Date | null;
|
|
25967
|
+
}[];
|
|
25968
|
+
callFrom: string | null;
|
|
25969
|
+
callTo: string | null;
|
|
25970
|
+
note: string | null;
|
|
25853
25971
|
categories: {
|
|
25854
25972
|
id: string;
|
|
25855
25973
|
value: string;
|
|
@@ -25872,16 +25990,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
25872
25990
|
}[];
|
|
25873
25991
|
}[];
|
|
25874
25992
|
}[];
|
|
25875
|
-
tags: {
|
|
25876
|
-
name: string;
|
|
25877
|
-
id: string;
|
|
25878
|
-
createdAt: Date;
|
|
25879
|
-
updatedAt: Date;
|
|
25880
|
-
deletedAt: Date | null;
|
|
25881
|
-
}[];
|
|
25882
|
-
callFrom: string | null;
|
|
25883
|
-
callTo: string | null;
|
|
25884
|
-
note: string | null;
|
|
25885
25993
|
customFields?: {
|
|
25886
25994
|
id: string;
|
|
25887
25995
|
createdAt: Date;
|
|
@@ -26070,7 +26178,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26070
26178
|
} | null | undefined;
|
|
26071
26179
|
label?: string | null | undefined;
|
|
26072
26180
|
}, {
|
|
26073
|
-
type:
|
|
26181
|
+
type: string;
|
|
26074
26182
|
id: string;
|
|
26075
26183
|
direction: "incoming" | "outgoing" | "system";
|
|
26076
26184
|
createdAt: string;
|
|
@@ -26323,6 +26431,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26323
26431
|
lineRichMenuId?: string | null | undefined;
|
|
26324
26432
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
26325
26433
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
26434
|
+
isCSATEnabled?: boolean | undefined;
|
|
26326
26435
|
};
|
|
26327
26436
|
status: boolean;
|
|
26328
26437
|
brandName: string;
|
|
@@ -26365,6 +26474,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26365
26474
|
createdAt: Date;
|
|
26366
26475
|
updatedAt: Date;
|
|
26367
26476
|
deletedAt: Date | null;
|
|
26477
|
+
tags: {
|
|
26478
|
+
name: string;
|
|
26479
|
+
id: string;
|
|
26480
|
+
createdAt: Date;
|
|
26481
|
+
updatedAt: Date;
|
|
26482
|
+
deletedAt: Date | null;
|
|
26483
|
+
}[];
|
|
26484
|
+
callFrom: string | null;
|
|
26485
|
+
callTo: string | null;
|
|
26486
|
+
note: string | null;
|
|
26368
26487
|
categories: {
|
|
26369
26488
|
id: string;
|
|
26370
26489
|
value: string;
|
|
@@ -26387,16 +26506,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26387
26506
|
}[];
|
|
26388
26507
|
}[];
|
|
26389
26508
|
}[];
|
|
26390
|
-
tags: {
|
|
26391
|
-
name: string;
|
|
26392
|
-
id: string;
|
|
26393
|
-
createdAt: Date;
|
|
26394
|
-
updatedAt: Date;
|
|
26395
|
-
deletedAt: Date | null;
|
|
26396
|
-
}[];
|
|
26397
|
-
callFrom: string | null;
|
|
26398
|
-
callTo: string | null;
|
|
26399
|
-
note: string | null;
|
|
26400
26509
|
customFields?: {
|
|
26401
26510
|
id: string;
|
|
26402
26511
|
createdAt: Date;
|
|
@@ -26587,7 +26696,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26587
26696
|
}>;
|
|
26588
26697
|
}, "strip", z.ZodTypeAny, {
|
|
26589
26698
|
message: {
|
|
26590
|
-
type:
|
|
26699
|
+
type: string;
|
|
26591
26700
|
id: string;
|
|
26592
26701
|
direction: "incoming" | "outgoing" | "system";
|
|
26593
26702
|
createdAt: string;
|
|
@@ -26840,6 +26949,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26840
26949
|
lineRichMenuId?: string | null | undefined;
|
|
26841
26950
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
26842
26951
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
26952
|
+
isCSATEnabled?: boolean | undefined;
|
|
26843
26953
|
};
|
|
26844
26954
|
status: boolean;
|
|
26845
26955
|
brandName: string;
|
|
@@ -26882,6 +26992,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26882
26992
|
createdAt: Date;
|
|
26883
26993
|
updatedAt: Date;
|
|
26884
26994
|
deletedAt: Date | null;
|
|
26995
|
+
tags: {
|
|
26996
|
+
name: string;
|
|
26997
|
+
id: string;
|
|
26998
|
+
createdAt: Date;
|
|
26999
|
+
updatedAt: Date;
|
|
27000
|
+
deletedAt: Date | null;
|
|
27001
|
+
}[];
|
|
27002
|
+
callFrom: string | null;
|
|
27003
|
+
callTo: string | null;
|
|
27004
|
+
note: string | null;
|
|
26885
27005
|
categories: {
|
|
26886
27006
|
id: string;
|
|
26887
27007
|
value: string;
|
|
@@ -26904,16 +27024,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26904
27024
|
}[];
|
|
26905
27025
|
}[];
|
|
26906
27026
|
}[];
|
|
26907
|
-
tags: {
|
|
26908
|
-
name: string;
|
|
26909
|
-
id: string;
|
|
26910
|
-
createdAt: Date;
|
|
26911
|
-
updatedAt: Date;
|
|
26912
|
-
deletedAt: Date | null;
|
|
26913
|
-
}[];
|
|
26914
|
-
callFrom: string | null;
|
|
26915
|
-
callTo: string | null;
|
|
26916
|
-
note: string | null;
|
|
26917
27027
|
customFields?: {
|
|
26918
27028
|
id: string;
|
|
26919
27029
|
createdAt: Date;
|
|
@@ -27104,7 +27214,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27104
27214
|
};
|
|
27105
27215
|
}, {
|
|
27106
27216
|
message: {
|
|
27107
|
-
type:
|
|
27217
|
+
type: string;
|
|
27108
27218
|
id: string;
|
|
27109
27219
|
direction: "incoming" | "outgoing" | "system";
|
|
27110
27220
|
createdAt: string;
|
|
@@ -27357,6 +27467,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27357
27467
|
lineRichMenuId?: string | null | undefined;
|
|
27358
27468
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
27359
27469
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
27470
|
+
isCSATEnabled?: boolean | undefined;
|
|
27360
27471
|
};
|
|
27361
27472
|
status: boolean;
|
|
27362
27473
|
brandName: string;
|
|
@@ -27399,6 +27510,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27399
27510
|
createdAt: Date;
|
|
27400
27511
|
updatedAt: Date;
|
|
27401
27512
|
deletedAt: Date | null;
|
|
27513
|
+
tags: {
|
|
27514
|
+
name: string;
|
|
27515
|
+
id: string;
|
|
27516
|
+
createdAt: Date;
|
|
27517
|
+
updatedAt: Date;
|
|
27518
|
+
deletedAt: Date | null;
|
|
27519
|
+
}[];
|
|
27520
|
+
callFrom: string | null;
|
|
27521
|
+
callTo: string | null;
|
|
27522
|
+
note: string | null;
|
|
27402
27523
|
categories: {
|
|
27403
27524
|
id: string;
|
|
27404
27525
|
value: string;
|
|
@@ -27421,16 +27542,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27421
27542
|
}[];
|
|
27422
27543
|
}[];
|
|
27423
27544
|
}[];
|
|
27424
|
-
tags: {
|
|
27425
|
-
name: string;
|
|
27426
|
-
id: string;
|
|
27427
|
-
createdAt: Date;
|
|
27428
|
-
updatedAt: Date;
|
|
27429
|
-
deletedAt: Date | null;
|
|
27430
|
-
}[];
|
|
27431
|
-
callFrom: string | null;
|
|
27432
|
-
callTo: string | null;
|
|
27433
|
-
note: string | null;
|
|
27434
27545
|
customFields?: {
|
|
27435
27546
|
id: string;
|
|
27436
27547
|
createdAt: Date;
|