@kl1/contracts 1.0.66 → 1.0.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/index.js +2329 -2329
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +2329 -2329
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/call-log/schema.d.ts +4 -4
  6. package/dist/src/call-log/validation.d.ts +2 -2
  7. package/dist/src/channel/index.d.ts +67 -707
  8. package/dist/src/channel/index.d.ts.map +1 -1
  9. package/dist/src/channel/validation.d.ts +19 -0
  10. package/dist/src/channel/validation.d.ts.map +1 -1
  11. package/dist/src/chat/index.d.ts +600 -600
  12. package/dist/src/chat/schema.d.ts +74 -74
  13. package/dist/src/chat/validation.d.ts +128 -128
  14. package/dist/src/comment/index.d.ts +609 -609
  15. package/dist/src/comment/schema.d.ts +144 -144
  16. package/dist/src/contract.d.ts +3385 -4031
  17. package/dist/src/contract.d.ts.map +1 -1
  18. package/dist/src/cx-log/index.d.ts +90 -90
  19. package/dist/src/cx-log/schema.d.ts +62 -62
  20. package/dist/src/instagram/index.d.ts +78 -78
  21. package/dist/src/line/index.d.ts +96 -96
  22. package/dist/src/line/schema.d.ts +19 -19
  23. package/dist/src/line/schema.d.ts.map +1 -1
  24. package/dist/src/mail/mail-contract.d.ts +24 -24
  25. package/dist/src/mail/room-contract.d.ts +24 -24
  26. package/dist/src/mail/schemas/room-validation.schema.d.ts +8 -8
  27. package/dist/src/mail/schemas/room.schema.d.ts +4 -4
  28. package/dist/src/messenger/index.d.ts +78 -78
  29. package/dist/src/telephony-cdr/index.d.ts +38 -38
  30. package/dist/src/telephony-cdr/schema.d.ts +6 -6
  31. package/dist/src/telephony-cdr/validation.d.ts +5 -5
  32. package/dist/src/telephony-cdr/validation.d.ts.map +1 -1
  33. package/dist/src/ticket/index.d.ts +1084 -1084
  34. package/dist/src/ticket/schema.d.ts +72 -72
  35. package/dist/src/ticket/validation.d.ts +12 -12
  36. package/dist/src/user-presence-status-log/index.d.ts +4 -9
  37. package/dist/src/user-presence-status-log/index.d.ts.map +1 -1
  38. package/dist/src/user-presence-status-log/validation.d.ts +7 -0
  39. package/dist/src/user-presence-status-log/validation.d.ts.map +1 -1
  40. package/dist/src/wrap-up-form/index.d.ts +19 -19
  41. package/dist/src/wrap-up-form/schema.d.ts +2 -2
  42. package/dist/src/wrap-up-form/validation.d.ts +3 -3
  43. package/package.json +1 -1
@@ -889,7 +889,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
889
889
  picture?: string | undefined;
890
890
  additionalCredentials?: any;
891
891
  };
892
- channelId: string;
893
892
  contact: {
894
893
  channel: string | null;
895
894
  address: string | null;
@@ -898,6 +897,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
898
897
  contactProfile: string | null;
899
898
  socialProfileUrl: string | null;
900
899
  };
900
+ channelId: string;
901
901
  socialPlatformId: string | null;
902
902
  }, {
903
903
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -907,7 +907,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
907
907
  picture?: string | undefined;
908
908
  additionalCredentials?: any;
909
909
  };
910
- channelId: string;
911
910
  contact: {
912
911
  channel: string | null;
913
912
  address: string | null;
@@ -916,6 +915,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
916
915
  contactProfile: string | null;
917
916
  socialProfileUrl: string | null;
918
917
  };
918
+ channelId: string;
919
919
  socialPlatformId: string | null;
920
920
  }>;
921
921
  actor: z.ZodNullable<z.ZodObject<{
@@ -1066,7 +1066,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1066
1066
  picture?: string | undefined;
1067
1067
  additionalCredentials?: any;
1068
1068
  };
1069
- channelId: string;
1070
1069
  contact: {
1071
1070
  channel: string | null;
1072
1071
  address: string | null;
@@ -1075,6 +1074,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1075
1074
  contactProfile: string | null;
1076
1075
  socialProfileUrl: string | null;
1077
1076
  };
1077
+ channelId: string;
1078
1078
  socialPlatformId: string | null;
1079
1079
  };
1080
1080
  lastMessage?: string | undefined;
@@ -1120,7 +1120,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1120
1120
  picture?: string | undefined;
1121
1121
  additionalCredentials?: any;
1122
1122
  };
1123
- channelId: string;
1124
1123
  contact: {
1125
1124
  channel: string | null;
1126
1125
  address: string | null;
@@ -1129,6 +1128,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1129
1128
  contactProfile: string | null;
1130
1129
  socialProfileUrl: string | null;
1131
1130
  };
1131
+ channelId: string;
1132
1132
  socialPlatformId: string | null;
1133
1133
  };
1134
1134
  lastMessage?: string | undefined;
@@ -1302,7 +1302,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1302
1302
  picture?: string | undefined;
1303
1303
  additionalCredentials?: any;
1304
1304
  };
1305
- channelId: string;
1306
1305
  contact: {
1307
1306
  channel: string | null;
1308
1307
  address: string | null;
@@ -1311,6 +1310,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1311
1310
  contactProfile: string | null;
1312
1311
  socialProfileUrl: string | null;
1313
1312
  };
1313
+ channelId: string;
1314
1314
  socialPlatformId: string | null;
1315
1315
  };
1316
1316
  lastMessage?: string | undefined;
@@ -1385,7 +1385,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1385
1385
  picture?: string | undefined;
1386
1386
  additionalCredentials?: any;
1387
1387
  };
1388
- channelId: string;
1389
1388
  contact: {
1390
1389
  channel: string | null;
1391
1390
  address: string | null;
@@ -1394,6 +1393,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1394
1393
  contactProfile: string | null;
1395
1394
  socialProfileUrl: string | null;
1396
1395
  };
1396
+ channelId: string;
1397
1397
  socialPlatformId: string | null;
1398
1398
  };
1399
1399
  lastMessage?: string | undefined;
@@ -2227,7 +2227,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2227
2227
  createdAt: Date;
2228
2228
  updatedAt: Date;
2229
2229
  deletedAt: Date | null;
2230
- channelId: string;
2231
2230
  contact: {
2232
2231
  id: string;
2233
2232
  channel: string | null;
@@ -2332,6 +2331,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2332
2331
  };
2333
2332
  }[] | undefined;
2334
2333
  };
2334
+ channelId: string;
2335
2335
  socialPlatformId: string;
2336
2336
  }, {
2337
2337
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -2345,7 +2345,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2345
2345
  createdAt: Date;
2346
2346
  updatedAt: Date;
2347
2347
  deletedAt: Date | null;
2348
- channelId: string;
2349
2348
  contact: {
2350
2349
  id: string;
2351
2350
  channel: string | null;
@@ -2450,6 +2449,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2450
2449
  };
2451
2450
  }[] | undefined;
2452
2451
  };
2452
+ channelId: string;
2453
2453
  socialPlatformId: string;
2454
2454
  }>;
2455
2455
  actor: z.ZodObject<{
@@ -3283,9 +3283,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3283
3283
  updatedAt: Date;
3284
3284
  deletedAt: Date | null;
3285
3285
  }[];
3286
+ note: string | null;
3286
3287
  callFrom: string | null;
3287
3288
  callTo: string | null;
3288
- note: string | null;
3289
3289
  }, {
3290
3290
  id: string;
3291
3291
  disposition: string | null;
@@ -3299,9 +3299,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3299
3299
  updatedAt: Date;
3300
3300
  deletedAt: Date | null;
3301
3301
  }[];
3302
+ note: string | null;
3302
3303
  callFrom: string | null;
3303
3304
  callTo: string | null;
3304
- note: string | null;
3305
3305
  }>>;
3306
3306
  }, "strip", z.ZodTypeAny, {
3307
3307
  id: string;
@@ -3312,14 +3312,14 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3312
3312
  updatedAt: Date;
3313
3313
  deletedAt: Date | null;
3314
3314
  entityId: string;
3315
- queueId: string | null;
3316
- contactId: string | null;
3315
+ firstResponseTime: number | null;
3317
3316
  caseId: number;
3318
3317
  entityName: string;
3318
+ contactId: string | null;
3319
+ queueId: string | null;
3319
3320
  agentId: string | null;
3320
3321
  startedDate: Date | null;
3321
3322
  handledTime: number | null;
3322
- firstResponseTime: number | null;
3323
3323
  wrapUpForm: {
3324
3324
  id: string;
3325
3325
  disposition: string | null;
@@ -3333,9 +3333,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3333
3333
  updatedAt: Date;
3334
3334
  deletedAt: Date | null;
3335
3335
  }[];
3336
+ note: string | null;
3336
3337
  callFrom: string | null;
3337
3338
  callTo: string | null;
3338
- note: string | null;
3339
3339
  } | null;
3340
3340
  }, {
3341
3341
  id: string;
@@ -3346,14 +3346,14 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3346
3346
  updatedAt: Date;
3347
3347
  deletedAt: Date | null;
3348
3348
  entityId: string;
3349
- queueId: string | null;
3350
- contactId: string | null;
3349
+ firstResponseTime: number | null;
3351
3350
  caseId: number;
3352
3351
  entityName: string;
3352
+ contactId: string | null;
3353
+ queueId: string | null;
3353
3354
  agentId: string | null;
3354
3355
  startedDate: Date | null;
3355
3356
  handledTime: number | null;
3356
- firstResponseTime: number | null;
3357
3357
  wrapUpForm: {
3358
3358
  id: string;
3359
3359
  disposition: string | null;
@@ -3367,9 +3367,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3367
3367
  updatedAt: Date;
3368
3368
  deletedAt: Date | null;
3369
3369
  }[];
3370
+ note: string | null;
3370
3371
  callFrom: string | null;
3371
3372
  callTo: string | null;
3372
- note: string | null;
3373
3373
  } | null;
3374
3374
  }>;
3375
3375
  }, "strip", z.ZodTypeAny, {
@@ -3422,12 +3422,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3422
3422
  telephonySignature: string | null;
3423
3423
  };
3424
3424
  };
3425
- firstResponseTime: number;
3426
3425
  lastMessage: string;
3427
3426
  handleTime: number;
3428
3427
  closeAt: Date;
3429
3428
  unreadCount: number;
3430
3429
  firstResponseAt: Date;
3430
+ firstResponseTime: number;
3431
3431
  isLatest: boolean;
3432
3432
  platformContact: {
3433
3433
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -3441,7 +3441,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3441
3441
  createdAt: Date;
3442
3442
  updatedAt: Date;
3443
3443
  deletedAt: Date | null;
3444
- channelId: string;
3445
3444
  contact: {
3446
3445
  id: string;
3447
3446
  channel: string | null;
@@ -3546,6 +3545,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3546
3545
  };
3547
3546
  }[] | undefined;
3548
3547
  };
3548
+ channelId: string;
3549
3549
  socialPlatformId: string;
3550
3550
  };
3551
3551
  assignee: {
@@ -3601,14 +3601,14 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3601
3601
  updatedAt: Date;
3602
3602
  deletedAt: Date | null;
3603
3603
  entityId: string;
3604
- queueId: string | null;
3605
- contactId: string | null;
3604
+ firstResponseTime: number | null;
3606
3605
  caseId: number;
3607
3606
  entityName: string;
3607
+ contactId: string | null;
3608
+ queueId: string | null;
3608
3609
  agentId: string | null;
3609
3610
  startedDate: Date | null;
3610
3611
  handledTime: number | null;
3611
- firstResponseTime: number | null;
3612
3612
  wrapUpForm: {
3613
3613
  id: string;
3614
3614
  disposition: string | null;
@@ -3622,9 +3622,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3622
3622
  updatedAt: Date;
3623
3623
  deletedAt: Date | null;
3624
3624
  }[];
3625
+ note: string | null;
3625
3626
  callFrom: string | null;
3626
3627
  callTo: string | null;
3627
- note: string | null;
3628
3628
  } | null;
3629
3629
  };
3630
3630
  channel?: {
@@ -3742,12 +3742,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3742
3742
  telephonySignature: string | null;
3743
3743
  };
3744
3744
  };
3745
- firstResponseTime: number;
3746
3745
  lastMessage: string;
3747
3746
  handleTime: number;
3748
3747
  closeAt: Date;
3749
3748
  unreadCount: number;
3750
3749
  firstResponseAt: Date;
3750
+ firstResponseTime: number;
3751
3751
  isLatest: boolean;
3752
3752
  platformContact: {
3753
3753
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -3761,7 +3761,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3761
3761
  createdAt: Date;
3762
3762
  updatedAt: Date;
3763
3763
  deletedAt: Date | null;
3764
- channelId: string;
3765
3764
  contact: {
3766
3765
  id: string;
3767
3766
  channel: string | null;
@@ -3866,6 +3865,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3866
3865
  };
3867
3866
  }[] | undefined;
3868
3867
  };
3868
+ channelId: string;
3869
3869
  socialPlatformId: string;
3870
3870
  };
3871
3871
  assignee: {
@@ -3921,14 +3921,14 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3921
3921
  updatedAt: Date;
3922
3922
  deletedAt: Date | null;
3923
3923
  entityId: string;
3924
- queueId: string | null;
3925
- contactId: string | null;
3924
+ firstResponseTime: number | null;
3926
3925
  caseId: number;
3927
3926
  entityName: string;
3927
+ contactId: string | null;
3928
+ queueId: string | null;
3928
3929
  agentId: string | null;
3929
3930
  startedDate: Date | null;
3930
3931
  handledTime: number | null;
3931
- firstResponseTime: number | null;
3932
3932
  wrapUpForm: {
3933
3933
  id: string;
3934
3934
  disposition: string | null;
@@ -3942,9 +3942,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3942
3942
  updatedAt: Date;
3943
3943
  deletedAt: Date | null;
3944
3944
  }[];
3945
+ note: string | null;
3945
3946
  callFrom: string | null;
3946
3947
  callTo: string | null;
3947
- note: string | null;
3948
3948
  } | null;
3949
3949
  };
3950
3950
  channel?: {
@@ -4769,6 +4769,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4769
4769
  telephonySignature: string | null;
4770
4770
  };
4771
4771
  };
4772
+ readAt: Date;
4773
+ platformMessageId: string;
4774
+ replyPlatformMessageId: string;
4775
+ locale: "" | "th" | "mm" | "en";
4776
+ previewUrl: string;
4777
+ imageSetId: string;
4772
4778
  room: {
4773
4779
  id: string;
4774
4780
  direction: "incoming" | "outgoing" | "system";
@@ -4819,12 +4825,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4819
4825
  telephonySignature: string | null;
4820
4826
  };
4821
4827
  };
4822
- firstResponseTime: number;
4823
4828
  lastMessage: string;
4824
4829
  handleTime: number;
4825
4830
  closeAt: Date;
4826
4831
  unreadCount: number;
4827
4832
  firstResponseAt: Date;
4833
+ firstResponseTime: number;
4828
4834
  isLatest: boolean;
4829
4835
  platformContact: {
4830
4836
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -4838,7 +4844,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4838
4844
  createdAt: Date;
4839
4845
  updatedAt: Date;
4840
4846
  deletedAt: Date | null;
4841
- channelId: string;
4842
4847
  contact: {
4843
4848
  id: string;
4844
4849
  channel: string | null;
@@ -4943,6 +4948,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4943
4948
  };
4944
4949
  }[] | undefined;
4945
4950
  };
4951
+ channelId: string;
4946
4952
  socialPlatformId: string;
4947
4953
  };
4948
4954
  assignee: {
@@ -4998,14 +5004,14 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4998
5004
  updatedAt: Date;
4999
5005
  deletedAt: Date | null;
5000
5006
  entityId: string;
5001
- queueId: string | null;
5002
- contactId: string | null;
5007
+ firstResponseTime: number | null;
5003
5008
  caseId: number;
5004
5009
  entityName: string;
5010
+ contactId: string | null;
5011
+ queueId: string | null;
5005
5012
  agentId: string | null;
5006
5013
  startedDate: Date | null;
5007
5014
  handledTime: number | null;
5008
- firstResponseTime: number | null;
5009
5015
  wrapUpForm: {
5010
5016
  id: string;
5011
5017
  disposition: string | null;
@@ -5019,9 +5025,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5019
5025
  updatedAt: Date;
5020
5026
  deletedAt: Date | null;
5021
5027
  }[];
5028
+ note: string | null;
5022
5029
  callFrom: string | null;
5023
5030
  callTo: string | null;
5024
- note: string | null;
5025
5031
  } | null;
5026
5032
  };
5027
5033
  channel?: {
@@ -5090,12 +5096,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5090
5096
  } | undefined;
5091
5097
  } | undefined;
5092
5098
  };
5093
- readAt: Date;
5094
- platformMessageId: string;
5095
- replyPlatformMessageId: string;
5096
- locale: "" | "th" | "mm" | "en";
5097
- previewUrl: string;
5098
- imageSetId: string;
5099
5099
  sender: {
5100
5100
  id: string;
5101
5101
  address: string | null;
@@ -5252,6 +5252,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5252
5252
  telephonySignature: string | null;
5253
5253
  };
5254
5254
  };
5255
+ readAt: Date;
5256
+ platformMessageId: string;
5257
+ replyPlatformMessageId: string;
5258
+ locale: "" | "th" | "mm" | "en";
5259
+ previewUrl: string;
5260
+ imageSetId: string;
5255
5261
  room: {
5256
5262
  id: string;
5257
5263
  direction: "incoming" | "outgoing" | "system";
@@ -5302,12 +5308,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5302
5308
  telephonySignature: string | null;
5303
5309
  };
5304
5310
  };
5305
- firstResponseTime: number;
5306
5311
  lastMessage: string;
5307
5312
  handleTime: number;
5308
5313
  closeAt: Date;
5309
5314
  unreadCount: number;
5310
5315
  firstResponseAt: Date;
5316
+ firstResponseTime: number;
5311
5317
  isLatest: boolean;
5312
5318
  platformContact: {
5313
5319
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -5321,7 +5327,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5321
5327
  createdAt: Date;
5322
5328
  updatedAt: Date;
5323
5329
  deletedAt: Date | null;
5324
- channelId: string;
5325
5330
  contact: {
5326
5331
  id: string;
5327
5332
  channel: string | null;
@@ -5426,6 +5431,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5426
5431
  };
5427
5432
  }[] | undefined;
5428
5433
  };
5434
+ channelId: string;
5429
5435
  socialPlatformId: string;
5430
5436
  };
5431
5437
  assignee: {
@@ -5481,14 +5487,14 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5481
5487
  updatedAt: Date;
5482
5488
  deletedAt: Date | null;
5483
5489
  entityId: string;
5484
- queueId: string | null;
5485
- contactId: string | null;
5490
+ firstResponseTime: number | null;
5486
5491
  caseId: number;
5487
5492
  entityName: string;
5493
+ contactId: string | null;
5494
+ queueId: string | null;
5488
5495
  agentId: string | null;
5489
5496
  startedDate: Date | null;
5490
5497
  handledTime: number | null;
5491
- firstResponseTime: number | null;
5492
5498
  wrapUpForm: {
5493
5499
  id: string;
5494
5500
  disposition: string | null;
@@ -5502,9 +5508,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5502
5508
  updatedAt: Date;
5503
5509
  deletedAt: Date | null;
5504
5510
  }[];
5511
+ note: string | null;
5505
5512
  callFrom: string | null;
5506
5513
  callTo: string | null;
5507
- note: string | null;
5508
5514
  } | null;
5509
5515
  };
5510
5516
  channel?: {
@@ -5573,12 +5579,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5573
5579
  } | undefined;
5574
5580
  } | undefined;
5575
5581
  };
5576
- readAt: Date;
5577
- platformMessageId: string;
5578
- replyPlatformMessageId: string;
5579
- locale: "" | "th" | "mm" | "en";
5580
- previewUrl: string;
5581
- imageSetId: string;
5582
5582
  sender: {
5583
5583
  id: string;
5584
5584
  address: string | null;
@@ -5737,6 +5737,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5737
5737
  telephonySignature: string | null;
5738
5738
  };
5739
5739
  };
5740
+ readAt: Date;
5741
+ platformMessageId: string;
5742
+ replyPlatformMessageId: string;
5743
+ locale: "" | "th" | "mm" | "en";
5744
+ previewUrl: string;
5745
+ imageSetId: string;
5740
5746
  room: {
5741
5747
  id: string;
5742
5748
  direction: "incoming" | "outgoing" | "system";
@@ -5787,12 +5793,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5787
5793
  telephonySignature: string | null;
5788
5794
  };
5789
5795
  };
5790
- firstResponseTime: number;
5791
5796
  lastMessage: string;
5792
5797
  handleTime: number;
5793
5798
  closeAt: Date;
5794
5799
  unreadCount: number;
5795
5800
  firstResponseAt: Date;
5801
+ firstResponseTime: number;
5796
5802
  isLatest: boolean;
5797
5803
  platformContact: {
5798
5804
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -5806,7 +5812,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5806
5812
  createdAt: Date;
5807
5813
  updatedAt: Date;
5808
5814
  deletedAt: Date | null;
5809
- channelId: string;
5810
5815
  contact: {
5811
5816
  id: string;
5812
5817
  channel: string | null;
@@ -5911,6 +5916,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5911
5916
  };
5912
5917
  }[] | undefined;
5913
5918
  };
5919
+ channelId: string;
5914
5920
  socialPlatformId: string;
5915
5921
  };
5916
5922
  assignee: {
@@ -5966,14 +5972,14 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5966
5972
  updatedAt: Date;
5967
5973
  deletedAt: Date | null;
5968
5974
  entityId: string;
5969
- queueId: string | null;
5970
- contactId: string | null;
5975
+ firstResponseTime: number | null;
5971
5976
  caseId: number;
5972
5977
  entityName: string;
5978
+ contactId: string | null;
5979
+ queueId: string | null;
5973
5980
  agentId: string | null;
5974
5981
  startedDate: Date | null;
5975
5982
  handledTime: number | null;
5976
- firstResponseTime: number | null;
5977
5983
  wrapUpForm: {
5978
5984
  id: string;
5979
5985
  disposition: string | null;
@@ -5987,9 +5993,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5987
5993
  updatedAt: Date;
5988
5994
  deletedAt: Date | null;
5989
5995
  }[];
5996
+ note: string | null;
5990
5997
  callFrom: string | null;
5991
5998
  callTo: string | null;
5992
- note: string | null;
5993
5999
  } | null;
5994
6000
  };
5995
6001
  channel?: {
@@ -6058,12 +6064,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6058
6064
  } | undefined;
6059
6065
  } | undefined;
6060
6066
  };
6061
- readAt: Date;
6062
- platformMessageId: string;
6063
- replyPlatformMessageId: string;
6064
- locale: "" | "th" | "mm" | "en";
6065
- previewUrl: string;
6066
- imageSetId: string;
6067
6067
  sender: {
6068
6068
  id: string;
6069
6069
  address: string | null;
@@ -6223,6 +6223,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6223
6223
  telephonySignature: string | null;
6224
6224
  };
6225
6225
  };
6226
+ readAt: Date;
6227
+ platformMessageId: string;
6228
+ replyPlatformMessageId: string;
6229
+ locale: "" | "th" | "mm" | "en";
6230
+ previewUrl: string;
6231
+ imageSetId: string;
6226
6232
  room: {
6227
6233
  id: string;
6228
6234
  direction: "incoming" | "outgoing" | "system";
@@ -6273,12 +6279,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6273
6279
  telephonySignature: string | null;
6274
6280
  };
6275
6281
  };
6276
- firstResponseTime: number;
6277
6282
  lastMessage: string;
6278
6283
  handleTime: number;
6279
6284
  closeAt: Date;
6280
6285
  unreadCount: number;
6281
6286
  firstResponseAt: Date;
6287
+ firstResponseTime: number;
6282
6288
  isLatest: boolean;
6283
6289
  platformContact: {
6284
6290
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -6292,7 +6298,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6292
6298
  createdAt: Date;
6293
6299
  updatedAt: Date;
6294
6300
  deletedAt: Date | null;
6295
- channelId: string;
6296
6301
  contact: {
6297
6302
  id: string;
6298
6303
  channel: string | null;
@@ -6397,6 +6402,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6397
6402
  };
6398
6403
  }[] | undefined;
6399
6404
  };
6405
+ channelId: string;
6400
6406
  socialPlatformId: string;
6401
6407
  };
6402
6408
  assignee: {
@@ -6452,14 +6458,14 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6452
6458
  updatedAt: Date;
6453
6459
  deletedAt: Date | null;
6454
6460
  entityId: string;
6455
- queueId: string | null;
6456
- contactId: string | null;
6461
+ firstResponseTime: number | null;
6457
6462
  caseId: number;
6458
6463
  entityName: string;
6464
+ contactId: string | null;
6465
+ queueId: string | null;
6459
6466
  agentId: string | null;
6460
6467
  startedDate: Date | null;
6461
6468
  handledTime: number | null;
6462
- firstResponseTime: number | null;
6463
6469
  wrapUpForm: {
6464
6470
  id: string;
6465
6471
  disposition: string | null;
@@ -6473,9 +6479,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6473
6479
  updatedAt: Date;
6474
6480
  deletedAt: Date | null;
6475
6481
  }[];
6482
+ note: string | null;
6476
6483
  callFrom: string | null;
6477
6484
  callTo: string | null;
6478
- note: string | null;
6479
6485
  } | null;
6480
6486
  };
6481
6487
  channel?: {
@@ -6544,12 +6550,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6544
6550
  } | undefined;
6545
6551
  } | undefined;
6546
6552
  };
6547
- readAt: Date;
6548
- platformMessageId: string;
6549
- replyPlatformMessageId: string;
6550
- locale: "" | "th" | "mm" | "en";
6551
- previewUrl: string;
6552
- imageSetId: string;
6553
6553
  sender: {
6554
6554
  id: string;
6555
6555
  address: string | null;
@@ -7568,7 +7568,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7568
7568
  createdAt: string;
7569
7569
  updatedAt: string;
7570
7570
  deletedAt: string | null;
7571
- channelId: string;
7572
7571
  contact: {
7573
7572
  id: string;
7574
7573
  channel: string | null;
@@ -7673,6 +7672,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7673
7672
  };
7674
7673
  }[] | undefined;
7675
7674
  };
7675
+ channelId: string;
7676
7676
  socialPlatformId: string;
7677
7677
  }, {
7678
7678
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -7686,7 +7686,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7686
7686
  createdAt: string;
7687
7687
  updatedAt: string;
7688
7688
  deletedAt: string | null;
7689
- channelId: string;
7690
7689
  contact: {
7691
7690
  id: string;
7692
7691
  channel: string | null;
@@ -7791,6 +7790,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7791
7790
  };
7792
7791
  }[] | undefined;
7793
7792
  };
7793
+ channelId: string;
7794
7794
  socialPlatformId: string;
7795
7795
  }>>;
7796
7796
  actor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -8350,9 +8350,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8350
8350
  updatedAt: Date;
8351
8351
  deletedAt: Date | null;
8352
8352
  }[];
8353
+ note: string | null;
8353
8354
  callFrom: string | null;
8354
8355
  callTo: string | null;
8355
- note: string | null;
8356
8356
  }, {
8357
8357
  id: string;
8358
8358
  disposition: string | null;
@@ -8366,9 +8366,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8366
8366
  updatedAt: Date;
8367
8367
  deletedAt: Date | null;
8368
8368
  }[];
8369
+ note: string | null;
8369
8370
  callFrom: string | null;
8370
8371
  callTo: string | null;
8371
- note: string | null;
8372
8372
  }>>;
8373
8373
  }, "strip", z.ZodTypeAny, {
8374
8374
  id: string;
@@ -8379,14 +8379,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8379
8379
  updatedAt: Date;
8380
8380
  deletedAt: Date | null;
8381
8381
  entityId: string;
8382
- queueId: string | null;
8383
- contactId: string | null;
8382
+ firstResponseTime: number | null;
8384
8383
  caseId: number;
8385
8384
  entityName: string;
8385
+ contactId: string | null;
8386
+ queueId: string | null;
8386
8387
  agentId: string | null;
8387
8388
  startedDate: Date | null;
8388
8389
  handledTime: number | null;
8389
- firstResponseTime: number | null;
8390
8390
  wrapUpForm: {
8391
8391
  id: string;
8392
8392
  disposition: string | null;
@@ -8400,9 +8400,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8400
8400
  updatedAt: Date;
8401
8401
  deletedAt: Date | null;
8402
8402
  }[];
8403
+ note: string | null;
8403
8404
  callFrom: string | null;
8404
8405
  callTo: string | null;
8405
- note: string | null;
8406
8406
  } | null;
8407
8407
  }, {
8408
8408
  id: string;
@@ -8413,14 +8413,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8413
8413
  updatedAt: Date;
8414
8414
  deletedAt: Date | null;
8415
8415
  entityId: string;
8416
- queueId: string | null;
8417
- contactId: string | null;
8416
+ firstResponseTime: number | null;
8418
8417
  caseId: number;
8419
8418
  entityName: string;
8419
+ contactId: string | null;
8420
+ queueId: string | null;
8420
8421
  agentId: string | null;
8421
8422
  startedDate: Date | null;
8422
8423
  handledTime: number | null;
8423
- firstResponseTime: number | null;
8424
8424
  wrapUpForm: {
8425
8425
  id: string;
8426
8426
  disposition: string | null;
@@ -8434,9 +8434,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8434
8434
  updatedAt: Date;
8435
8435
  deletedAt: Date | null;
8436
8436
  }[];
8437
+ note: string | null;
8437
8438
  callFrom: string | null;
8438
8439
  callTo: string | null;
8439
- note: string | null;
8440
8440
  } | null;
8441
8441
  }>>;
8442
8442
  }, "strip", z.ZodTypeAny, {
@@ -8464,7 +8464,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8464
8464
  createdAt: string;
8465
8465
  updatedAt: string;
8466
8466
  deletedAt: string | null;
8467
- channelId: string;
8468
8467
  contact: {
8469
8468
  id: string;
8470
8469
  channel: string | null;
@@ -8569,6 +8568,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8569
8568
  };
8570
8569
  }[] | undefined;
8571
8570
  };
8571
+ channelId: string;
8572
8572
  socialPlatformId: string;
8573
8573
  } | undefined;
8574
8574
  actor?: {
@@ -8691,14 +8691,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8691
8691
  updatedAt: Date;
8692
8692
  deletedAt: Date | null;
8693
8693
  entityId: string;
8694
- queueId: string | null;
8695
- contactId: string | null;
8694
+ firstResponseTime: number | null;
8696
8695
  caseId: number;
8697
8696
  entityName: string;
8697
+ contactId: string | null;
8698
+ queueId: string | null;
8698
8699
  agentId: string | null;
8699
8700
  startedDate: Date | null;
8700
8701
  handledTime: number | null;
8701
- firstResponseTime: number | null;
8702
8702
  wrapUpForm: {
8703
8703
  id: string;
8704
8704
  disposition: string | null;
@@ -8712,9 +8712,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8712
8712
  updatedAt: Date;
8713
8713
  deletedAt: Date | null;
8714
8714
  }[];
8715
+ note: string | null;
8715
8716
  callFrom: string | null;
8716
8717
  callTo: string | null;
8717
- note: string | null;
8718
8718
  } | null;
8719
8719
  } | undefined;
8720
8720
  }, {
@@ -8742,7 +8742,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8742
8742
  createdAt: string;
8743
8743
  updatedAt: string;
8744
8744
  deletedAt: string | null;
8745
- channelId: string;
8746
8745
  contact: {
8747
8746
  id: string;
8748
8747
  channel: string | null;
@@ -8847,6 +8846,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8847
8846
  };
8848
8847
  }[] | undefined;
8849
8848
  };
8849
+ channelId: string;
8850
8850
  socialPlatformId: string;
8851
8851
  } | undefined;
8852
8852
  actor?: {
@@ -8969,14 +8969,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8969
8969
  updatedAt: Date;
8970
8970
  deletedAt: Date | null;
8971
8971
  entityId: string;
8972
- queueId: string | null;
8973
- contactId: string | null;
8972
+ firstResponseTime: number | null;
8974
8973
  caseId: number;
8975
8974
  entityName: string;
8975
+ contactId: string | null;
8976
+ queueId: string | null;
8976
8977
  agentId: string | null;
8977
8978
  startedDate: Date | null;
8978
8979
  handledTime: number | null;
8979
- firstResponseTime: number | null;
8980
8980
  wrapUpForm: {
8981
8981
  id: string;
8982
8982
  disposition: string | null;
@@ -8990,9 +8990,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8990
8990
  updatedAt: Date;
8991
8991
  deletedAt: Date | null;
8992
8992
  }[];
8993
+ note: string | null;
8993
8994
  callFrom: string | null;
8994
8995
  callTo: string | null;
8995
- note: string | null;
8996
8996
  } | null;
8997
8997
  } | undefined;
8998
8998
  }>>;
@@ -9650,6 +9650,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9650
9650
  updatedAt: string;
9651
9651
  deletedAt: string | null;
9652
9652
  platformId: string;
9653
+ platformMessageId: string;
9654
+ locale: "" | "th" | "mm" | "en" | null;
9653
9655
  room: {
9654
9656
  id?: string | undefined;
9655
9657
  createdAt?: string | undefined;
@@ -9675,7 +9677,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9675
9677
  createdAt: string;
9676
9678
  updatedAt: string;
9677
9679
  deletedAt: string | null;
9678
- channelId: string;
9679
9680
  contact: {
9680
9681
  id: string;
9681
9682
  channel: string | null;
@@ -9780,6 +9781,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9780
9781
  };
9781
9782
  }[] | undefined;
9782
9783
  };
9784
+ channelId: string;
9783
9785
  socialPlatformId: string;
9784
9786
  } | undefined;
9785
9787
  actor?: {
@@ -9902,14 +9904,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9902
9904
  updatedAt: Date;
9903
9905
  deletedAt: Date | null;
9904
9906
  entityId: string;
9905
- queueId: string | null;
9906
- contactId: string | null;
9907
+ firstResponseTime: number | null;
9907
9908
  caseId: number;
9908
9909
  entityName: string;
9910
+ contactId: string | null;
9911
+ queueId: string | null;
9909
9912
  agentId: string | null;
9910
9913
  startedDate: Date | null;
9911
9914
  handledTime: number | null;
9912
- firstResponseTime: number | null;
9913
9915
  wrapUpForm: {
9914
9916
  id: string;
9915
9917
  disposition: string | null;
@@ -9923,14 +9925,12 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9923
9925
  updatedAt: Date;
9924
9926
  deletedAt: Date | null;
9925
9927
  }[];
9928
+ note: string | null;
9926
9929
  callFrom: string | null;
9927
9930
  callTo: string | null;
9928
- note: string | null;
9929
9931
  } | null;
9930
9932
  } | undefined;
9931
9933
  } | null;
9932
- platformMessageId: string;
9933
- locale: "" | "th" | "mm" | "en" | null;
9934
9934
  message?: string | undefined;
9935
9935
  metadata?: any;
9936
9936
  replyPlatformMessageId?: string | undefined;
@@ -10090,6 +10090,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10090
10090
  updatedAt: string;
10091
10091
  deletedAt: string | null;
10092
10092
  platformId: string;
10093
+ platformMessageId: string;
10094
+ locale: "" | "th" | "mm" | "en" | null;
10093
10095
  room: {
10094
10096
  id?: string | undefined;
10095
10097
  createdAt?: string | undefined;
@@ -10115,7 +10117,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10115
10117
  createdAt: string;
10116
10118
  updatedAt: string;
10117
10119
  deletedAt: string | null;
10118
- channelId: string;
10119
10120
  contact: {
10120
10121
  id: string;
10121
10122
  channel: string | null;
@@ -10220,6 +10221,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10220
10221
  };
10221
10222
  }[] | undefined;
10222
10223
  };
10224
+ channelId: string;
10223
10225
  socialPlatformId: string;
10224
10226
  } | undefined;
10225
10227
  actor?: {
@@ -10342,14 +10344,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10342
10344
  updatedAt: Date;
10343
10345
  deletedAt: Date | null;
10344
10346
  entityId: string;
10345
- queueId: string | null;
10346
- contactId: string | null;
10347
+ firstResponseTime: number | null;
10347
10348
  caseId: number;
10348
10349
  entityName: string;
10350
+ contactId: string | null;
10351
+ queueId: string | null;
10349
10352
  agentId: string | null;
10350
10353
  startedDate: Date | null;
10351
10354
  handledTime: number | null;
10352
- firstResponseTime: number | null;
10353
10355
  wrapUpForm: {
10354
10356
  id: string;
10355
10357
  disposition: string | null;
@@ -10363,14 +10365,12 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10363
10365
  updatedAt: Date;
10364
10366
  deletedAt: Date | null;
10365
10367
  }[];
10368
+ note: string | null;
10366
10369
  callFrom: string | null;
10367
10370
  callTo: string | null;
10368
- note: string | null;
10369
10371
  } | null;
10370
10372
  } | undefined;
10371
10373
  } | null;
10372
- platformMessageId: string;
10373
- locale: "" | "th" | "mm" | "en" | null;
10374
10374
  message?: string | undefined;
10375
10375
  metadata?: any;
10376
10376
  replyPlatformMessageId?: string | undefined;
@@ -10532,6 +10532,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10532
10532
  updatedAt: string;
10533
10533
  deletedAt: string | null;
10534
10534
  platformId: string;
10535
+ platformMessageId: string;
10536
+ locale: "" | "th" | "mm" | "en" | null;
10535
10537
  room: {
10536
10538
  id?: string | undefined;
10537
10539
  createdAt?: string | undefined;
@@ -10557,7 +10559,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10557
10559
  createdAt: string;
10558
10560
  updatedAt: string;
10559
10561
  deletedAt: string | null;
10560
- channelId: string;
10561
10562
  contact: {
10562
10563
  id: string;
10563
10564
  channel: string | null;
@@ -10662,6 +10663,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10662
10663
  };
10663
10664
  }[] | undefined;
10664
10665
  };
10666
+ channelId: string;
10665
10667
  socialPlatformId: string;
10666
10668
  } | undefined;
10667
10669
  actor?: {
@@ -10784,14 +10786,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10784
10786
  updatedAt: Date;
10785
10787
  deletedAt: Date | null;
10786
10788
  entityId: string;
10787
- queueId: string | null;
10788
- contactId: string | null;
10789
+ firstResponseTime: number | null;
10789
10790
  caseId: number;
10790
10791
  entityName: string;
10792
+ contactId: string | null;
10793
+ queueId: string | null;
10791
10794
  agentId: string | null;
10792
10795
  startedDate: Date | null;
10793
10796
  handledTime: number | null;
10794
- firstResponseTime: number | null;
10795
10797
  wrapUpForm: {
10796
10798
  id: string;
10797
10799
  disposition: string | null;
@@ -10805,14 +10807,12 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10805
10807
  updatedAt: Date;
10806
10808
  deletedAt: Date | null;
10807
10809
  }[];
10810
+ note: string | null;
10808
10811
  callFrom: string | null;
10809
10812
  callTo: string | null;
10810
- note: string | null;
10811
10813
  } | null;
10812
10814
  } | undefined;
10813
10815
  } | null;
10814
- platformMessageId: string;
10815
- locale: "" | "th" | "mm" | "en" | null;
10816
10816
  message?: string | undefined;
10817
10817
  metadata?: any;
10818
10818
  replyPlatformMessageId?: string | undefined;
@@ -10974,6 +10974,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10974
10974
  updatedAt: string;
10975
10975
  deletedAt: string | null;
10976
10976
  platformId: string;
10977
+ platformMessageId: string;
10978
+ locale: "" | "th" | "mm" | "en" | null;
10977
10979
  room: {
10978
10980
  id?: string | undefined;
10979
10981
  createdAt?: string | undefined;
@@ -10999,7 +11001,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10999
11001
  createdAt: string;
11000
11002
  updatedAt: string;
11001
11003
  deletedAt: string | null;
11002
- channelId: string;
11003
11004
  contact: {
11004
11005
  id: string;
11005
11006
  channel: string | null;
@@ -11104,6 +11105,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11104
11105
  };
11105
11106
  }[] | undefined;
11106
11107
  };
11108
+ channelId: string;
11107
11109
  socialPlatformId: string;
11108
11110
  } | undefined;
11109
11111
  actor?: {
@@ -11226,14 +11228,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11226
11228
  updatedAt: Date;
11227
11229
  deletedAt: Date | null;
11228
11230
  entityId: string;
11229
- queueId: string | null;
11230
- contactId: string | null;
11231
+ firstResponseTime: number | null;
11231
11232
  caseId: number;
11232
11233
  entityName: string;
11234
+ contactId: string | null;
11235
+ queueId: string | null;
11233
11236
  agentId: string | null;
11234
11237
  startedDate: Date | null;
11235
11238
  handledTime: number | null;
11236
- firstResponseTime: number | null;
11237
11239
  wrapUpForm: {
11238
11240
  id: string;
11239
11241
  disposition: string | null;
@@ -11247,14 +11249,12 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11247
11249
  updatedAt: Date;
11248
11250
  deletedAt: Date | null;
11249
11251
  }[];
11252
+ note: string | null;
11250
11253
  callFrom: string | null;
11251
11254
  callTo: string | null;
11252
- note: string | null;
11253
11255
  } | null;
11254
11256
  } | undefined;
11255
11257
  } | null;
11256
- platformMessageId: string;
11257
- locale: "" | "th" | "mm" | "en" | null;
11258
11258
  message?: string | undefined;
11259
11259
  metadata?: any;
11260
11260
  replyPlatformMessageId?: string | undefined;