@kl1/contracts 1.0.14 → 1.0.16

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.
@@ -6,7 +6,7 @@ export declare const MessageDirectionTypeSchema: z.ZodEnum<["incoming", "outgoin
6
6
  /**
7
7
  * Message Type Enum
8
8
  */
9
- export declare const MessageTypeSchema: z.ZodEnum<["text", "image", "video", "audio", "file", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
9
+ export declare const MessageTypeSchema: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
10
10
  /**
11
11
  * Message Type Enum
12
12
  */
@@ -40,7 +40,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
40
40
  deletedAt: z.ZodNullable<z.ZodDate>;
41
41
  channelId: z.ZodString;
42
42
  socialPlatformId: z.ZodString;
43
- platform: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>;
43
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>;
44
44
  metadata: z.ZodObject<{
45
45
  id: z.ZodString;
46
46
  name: z.ZodString;
@@ -543,9 +543,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
543
543
  description: z.ZodString;
544
544
  entityType: z.ZodObject<{
545
545
  id: z.ZodString;
546
- /**
547
- * Room
548
- */
549
546
  createdAt: z.ZodDate;
550
547
  updatedAt: z.ZodDate;
551
548
  deletedAt: z.ZodNullable<z.ZodDate>;
@@ -801,7 +798,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
801
798
  }[] | undefined;
802
799
  }>;
803
800
  }, "strip", z.ZodTypeAny, {
804
- platform: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
801
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
805
802
  id: string;
806
803
  metadata: {
807
804
  id: string;
@@ -917,7 +914,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
917
914
  channelId: string;
918
915
  socialPlatformId: string;
919
916
  }, {
920
- platform: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
917
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
921
918
  id: string;
922
919
  metadata: {
923
920
  id: string;
@@ -1043,10 +1040,10 @@ export declare const RoomSchema: z.ZodObject<{
1043
1040
  deletedAt: z.ZodNullable<z.ZodDate>;
1044
1041
  lastMessage: z.ZodString;
1045
1042
  handleTime: z.ZodNumber;
1046
- isSolved: z.ZodBoolean;
1047
1043
  closeAt: z.ZodDate;
1048
1044
  unreadCount: z.ZodNumber;
1049
- firstResponseTime: z.ZodDate;
1045
+ firstResponseAt: z.ZodDate;
1046
+ firstResponseTime: z.ZodNumber;
1050
1047
  isLatest: z.ZodBoolean;
1051
1048
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1052
1049
  platformContact: z.ZodObject<{
@@ -1056,7 +1053,7 @@ export declare const RoomSchema: z.ZodObject<{
1056
1053
  deletedAt: z.ZodNullable<z.ZodDate>;
1057
1054
  channelId: z.ZodString;
1058
1055
  socialPlatformId: z.ZodString;
1059
- platform: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>;
1056
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>;
1060
1057
  metadata: z.ZodObject<{
1061
1058
  id: z.ZodString;
1062
1059
  name: z.ZodString;
@@ -1559,9 +1556,6 @@ export declare const RoomSchema: z.ZodObject<{
1559
1556
  description: z.ZodString;
1560
1557
  entityType: z.ZodObject<{
1561
1558
  id: z.ZodString;
1562
- /**
1563
- * Room
1564
- */
1565
1559
  createdAt: z.ZodDate;
1566
1560
  updatedAt: z.ZodDate;
1567
1561
  deletedAt: z.ZodNullable<z.ZodDate>;
@@ -1817,7 +1811,7 @@ export declare const RoomSchema: z.ZodObject<{
1817
1811
  }[] | undefined;
1818
1812
  }>;
1819
1813
  }, "strip", z.ZodTypeAny, {
1820
- platform: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
1814
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
1821
1815
  id: string;
1822
1816
  metadata: {
1823
1817
  id: string;
@@ -1933,7 +1927,7 @@ export declare const RoomSchema: z.ZodObject<{
1933
1927
  channelId: string;
1934
1928
  socialPlatformId: string;
1935
1929
  }, {
1936
- platform: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
1930
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
1937
1931
  id: string;
1938
1932
  metadata: {
1939
1933
  id: string;
@@ -2800,6 +2794,58 @@ export declare const RoomSchema: z.ZodObject<{
2800
2794
  } | undefined;
2801
2795
  } | undefined;
2802
2796
  }>>;
2797
+ cxLog: z.ZodObject<{
2798
+ id: z.ZodString;
2799
+ createdAt: z.ZodDate;
2800
+ updatedAt: z.ZodDate;
2801
+ deletedAt: z.ZodNullable<z.ZodDate>;
2802
+ caseId: z.ZodNumber;
2803
+ entityId: z.ZodString;
2804
+ entityName: z.ZodString;
2805
+ contactId: z.ZodNullable<z.ZodString>;
2806
+ channel: z.ZodNullable<z.ZodString>;
2807
+ queueId: z.ZodNullable<z.ZodString>;
2808
+ agentId: z.ZodNullable<z.ZodString>;
2809
+ direction: z.ZodNullable<z.ZodString>;
2810
+ startedDate: z.ZodNullable<z.ZodDate>;
2811
+ handledTime: z.ZodNullable<z.ZodNumber>;
2812
+ firstResponseTime: z.ZodNullable<z.ZodNumber>;
2813
+ disposition: z.ZodNullable<z.ZodString>;
2814
+ }, "strip", z.ZodTypeAny, {
2815
+ id: string;
2816
+ channel: string | null;
2817
+ disposition: string | null;
2818
+ direction: string | null;
2819
+ createdAt: Date;
2820
+ updatedAt: Date;
2821
+ deletedAt: Date | null;
2822
+ entityId: string;
2823
+ caseId: number;
2824
+ entityName: string;
2825
+ contactId: string | null;
2826
+ queueId: string | null;
2827
+ agentId: string | null;
2828
+ startedDate: Date | null;
2829
+ handledTime: number | null;
2830
+ firstResponseTime: number | null;
2831
+ }, {
2832
+ id: string;
2833
+ channel: string | null;
2834
+ disposition: string | null;
2835
+ direction: string | null;
2836
+ createdAt: Date;
2837
+ updatedAt: Date;
2838
+ deletedAt: Date | null;
2839
+ entityId: string;
2840
+ caseId: number;
2841
+ entityName: string;
2842
+ contactId: string | null;
2843
+ queueId: string | null;
2844
+ agentId: string | null;
2845
+ startedDate: Date | null;
2846
+ handledTime: number | null;
2847
+ firstResponseTime: number | null;
2848
+ }>;
2803
2849
  }, "strip", z.ZodTypeAny, {
2804
2850
  id: string;
2805
2851
  direction: "incoming" | "outgoing" | "system";
@@ -2849,15 +2895,15 @@ export declare const RoomSchema: z.ZodObject<{
2849
2895
  telephonySignature: string | null;
2850
2896
  } | undefined;
2851
2897
  };
2898
+ firstResponseTime: number;
2852
2899
  lastMessage: string;
2853
2900
  handleTime: number;
2854
- isSolved: boolean;
2855
2901
  closeAt: Date;
2856
2902
  unreadCount: number;
2857
- firstResponseTime: Date;
2903
+ firstResponseAt: Date;
2858
2904
  isLatest: boolean;
2859
2905
  platformContact: {
2860
- platform: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
2906
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
2861
2907
  id: string;
2862
2908
  metadata: {
2863
2909
  id: string;
@@ -3016,6 +3062,24 @@ export declare const RoomSchema: z.ZodObject<{
3016
3062
  telephonySignature: string | null;
3017
3063
  } | undefined;
3018
3064
  };
3065
+ cxLog: {
3066
+ id: string;
3067
+ channel: string | null;
3068
+ disposition: string | null;
3069
+ direction: string | null;
3070
+ createdAt: Date;
3071
+ updatedAt: Date;
3072
+ deletedAt: Date | null;
3073
+ entityId: string;
3074
+ caseId: number;
3075
+ entityName: string;
3076
+ contactId: string | null;
3077
+ queueId: string | null;
3078
+ agentId: string | null;
3079
+ startedDate: Date | null;
3080
+ handledTime: number | null;
3081
+ firstResponseTime: number | null;
3082
+ };
3019
3083
  channel?: {
3020
3084
  id?: string | undefined;
3021
3085
  createdAt?: Date | undefined;
@@ -3128,15 +3192,15 @@ export declare const RoomSchema: z.ZodObject<{
3128
3192
  telephonySignature: string | null;
3129
3193
  } | undefined;
3130
3194
  };
3195
+ firstResponseTime: number;
3131
3196
  lastMessage: string;
3132
3197
  handleTime: number;
3133
- isSolved: boolean;
3134
3198
  closeAt: Date;
3135
3199
  unreadCount: number;
3136
- firstResponseTime: Date;
3200
+ firstResponseAt: Date;
3137
3201
  isLatest: boolean;
3138
3202
  platformContact: {
3139
- platform: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
3203
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
3140
3204
  id: string;
3141
3205
  metadata: {
3142
3206
  id: string;
@@ -3295,6 +3359,24 @@ export declare const RoomSchema: z.ZodObject<{
3295
3359
  telephonySignature: string | null;
3296
3360
  } | undefined;
3297
3361
  };
3362
+ cxLog: {
3363
+ id: string;
3364
+ channel: string | null;
3365
+ disposition: string | null;
3366
+ direction: string | null;
3367
+ createdAt: Date;
3368
+ updatedAt: Date;
3369
+ deletedAt: Date | null;
3370
+ entityId: string;
3371
+ caseId: number;
3372
+ entityName: string;
3373
+ contactId: string | null;
3374
+ queueId: string | null;
3375
+ agentId: string | null;
3376
+ startedDate: Date | null;
3377
+ handledTime: number | null;
3378
+ firstResponseTime: number | null;
3379
+ };
3298
3380
  channel?: {
3299
3381
  id?: string | undefined;
3300
3382
  createdAt?: Date | undefined;
@@ -3369,7 +3451,7 @@ export declare const MessageSchema: z.ZodObject<{
3369
3451
  deletedAt: z.ZodNullable<z.ZodDate>;
3370
3452
  message: z.ZodString;
3371
3453
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
3372
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
3454
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
3373
3455
  readAt: z.ZodDate;
3374
3456
  metadata: z.ZodAny;
3375
3457
  platformId: z.ZodString;
@@ -3377,7 +3459,9 @@ export declare const MessageSchema: z.ZodObject<{
3377
3459
  replyPlatformMessageId: z.ZodString;
3378
3460
  template: z.ZodAny;
3379
3461
  locale: z.ZodEnum<["mm", "en", "th"]>;
3380
- isSent: z.ZodBoolean;
3462
+ url: z.ZodString;
3463
+ previewUrl: z.ZodString;
3464
+ imageSetId: z.ZodString;
3381
3465
  room: z.ZodObject<{
3382
3466
  id: z.ZodString;
3383
3467
  createdAt: z.ZodDate;
@@ -3385,10 +3469,10 @@ export declare const MessageSchema: z.ZodObject<{
3385
3469
  deletedAt: z.ZodNullable<z.ZodDate>;
3386
3470
  lastMessage: z.ZodString;
3387
3471
  handleTime: z.ZodNumber;
3388
- isSolved: z.ZodBoolean;
3389
3472
  closeAt: z.ZodDate;
3390
3473
  unreadCount: z.ZodNumber;
3391
- firstResponseTime: z.ZodDate;
3474
+ firstResponseAt: z.ZodDate;
3475
+ firstResponseTime: z.ZodNumber;
3392
3476
  isLatest: z.ZodBoolean;
3393
3477
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
3394
3478
  platformContact: z.ZodObject<{
@@ -3398,7 +3482,7 @@ export declare const MessageSchema: z.ZodObject<{
3398
3482
  deletedAt: z.ZodNullable<z.ZodDate>;
3399
3483
  channelId: z.ZodString;
3400
3484
  socialPlatformId: z.ZodString;
3401
- platform: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>;
3485
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>;
3402
3486
  metadata: z.ZodObject<{
3403
3487
  id: z.ZodString;
3404
3488
  name: z.ZodString;
@@ -3901,9 +3985,6 @@ export declare const MessageSchema: z.ZodObject<{
3901
3985
  description: z.ZodString;
3902
3986
  entityType: z.ZodObject<{
3903
3987
  id: z.ZodString;
3904
- /**
3905
- * Room
3906
- */
3907
3988
  createdAt: z.ZodDate;
3908
3989
  updatedAt: z.ZodDate;
3909
3990
  deletedAt: z.ZodNullable<z.ZodDate>;
@@ -4159,7 +4240,7 @@ export declare const MessageSchema: z.ZodObject<{
4159
4240
  }[] | undefined;
4160
4241
  }>;
4161
4242
  }, "strip", z.ZodTypeAny, {
4162
- platform: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
4243
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
4163
4244
  id: string;
4164
4245
  metadata: {
4165
4246
  id: string;
@@ -4275,7 +4356,7 @@ export declare const MessageSchema: z.ZodObject<{
4275
4356
  channelId: string;
4276
4357
  socialPlatformId: string;
4277
4358
  }, {
4278
- platform: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
4359
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
4279
4360
  id: string;
4280
4361
  metadata: {
4281
4362
  id: string;
@@ -5142,6 +5223,58 @@ export declare const MessageSchema: z.ZodObject<{
5142
5223
  } | undefined;
5143
5224
  } | undefined;
5144
5225
  }>>;
5226
+ cxLog: z.ZodObject<{
5227
+ id: z.ZodString;
5228
+ createdAt: z.ZodDate;
5229
+ updatedAt: z.ZodDate;
5230
+ deletedAt: z.ZodNullable<z.ZodDate>;
5231
+ caseId: z.ZodNumber;
5232
+ entityId: z.ZodString;
5233
+ entityName: z.ZodString;
5234
+ contactId: z.ZodNullable<z.ZodString>;
5235
+ channel: z.ZodNullable<z.ZodString>;
5236
+ queueId: z.ZodNullable<z.ZodString>;
5237
+ agentId: z.ZodNullable<z.ZodString>;
5238
+ direction: z.ZodNullable<z.ZodString>;
5239
+ startedDate: z.ZodNullable<z.ZodDate>;
5240
+ handledTime: z.ZodNullable<z.ZodNumber>;
5241
+ firstResponseTime: z.ZodNullable<z.ZodNumber>;
5242
+ disposition: z.ZodNullable<z.ZodString>;
5243
+ }, "strip", z.ZodTypeAny, {
5244
+ id: string;
5245
+ channel: string | null;
5246
+ disposition: string | null;
5247
+ direction: string | null;
5248
+ createdAt: Date;
5249
+ updatedAt: Date;
5250
+ deletedAt: Date | null;
5251
+ entityId: string;
5252
+ caseId: number;
5253
+ entityName: string;
5254
+ contactId: string | null;
5255
+ queueId: string | null;
5256
+ agentId: string | null;
5257
+ startedDate: Date | null;
5258
+ handledTime: number | null;
5259
+ firstResponseTime: number | null;
5260
+ }, {
5261
+ id: string;
5262
+ channel: string | null;
5263
+ disposition: string | null;
5264
+ direction: string | null;
5265
+ createdAt: Date;
5266
+ updatedAt: Date;
5267
+ deletedAt: Date | null;
5268
+ entityId: string;
5269
+ caseId: number;
5270
+ entityName: string;
5271
+ contactId: string | null;
5272
+ queueId: string | null;
5273
+ agentId: string | null;
5274
+ startedDate: Date | null;
5275
+ handledTime: number | null;
5276
+ firstResponseTime: number | null;
5277
+ }>;
5145
5278
  }, "strip", z.ZodTypeAny, {
5146
5279
  id: string;
5147
5280
  direction: "incoming" | "outgoing" | "system";
@@ -5191,15 +5324,15 @@ export declare const MessageSchema: z.ZodObject<{
5191
5324
  telephonySignature: string | null;
5192
5325
  } | undefined;
5193
5326
  };
5327
+ firstResponseTime: number;
5194
5328
  lastMessage: string;
5195
5329
  handleTime: number;
5196
- isSolved: boolean;
5197
5330
  closeAt: Date;
5198
5331
  unreadCount: number;
5199
- firstResponseTime: Date;
5332
+ firstResponseAt: Date;
5200
5333
  isLatest: boolean;
5201
5334
  platformContact: {
5202
- platform: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
5335
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
5203
5336
  id: string;
5204
5337
  metadata: {
5205
5338
  id: string;
@@ -5358,6 +5491,24 @@ export declare const MessageSchema: z.ZodObject<{
5358
5491
  telephonySignature: string | null;
5359
5492
  } | undefined;
5360
5493
  };
5494
+ cxLog: {
5495
+ id: string;
5496
+ channel: string | null;
5497
+ disposition: string | null;
5498
+ direction: string | null;
5499
+ createdAt: Date;
5500
+ updatedAt: Date;
5501
+ deletedAt: Date | null;
5502
+ entityId: string;
5503
+ caseId: number;
5504
+ entityName: string;
5505
+ contactId: string | null;
5506
+ queueId: string | null;
5507
+ agentId: string | null;
5508
+ startedDate: Date | null;
5509
+ handledTime: number | null;
5510
+ firstResponseTime: number | null;
5511
+ };
5361
5512
  channel?: {
5362
5513
  id?: string | undefined;
5363
5514
  createdAt?: Date | undefined;
@@ -5470,15 +5621,15 @@ export declare const MessageSchema: z.ZodObject<{
5470
5621
  telephonySignature: string | null;
5471
5622
  } | undefined;
5472
5623
  };
5624
+ firstResponseTime: number;
5473
5625
  lastMessage: string;
5474
5626
  handleTime: number;
5475
- isSolved: boolean;
5476
5627
  closeAt: Date;
5477
5628
  unreadCount: number;
5478
- firstResponseTime: Date;
5629
+ firstResponseAt: Date;
5479
5630
  isLatest: boolean;
5480
5631
  platformContact: {
5481
- platform: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
5632
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
5482
5633
  id: string;
5483
5634
  metadata: {
5484
5635
  id: string;
@@ -5637,6 +5788,24 @@ export declare const MessageSchema: z.ZodObject<{
5637
5788
  telephonySignature: string | null;
5638
5789
  } | undefined;
5639
5790
  };
5791
+ cxLog: {
5792
+ id: string;
5793
+ channel: string | null;
5794
+ disposition: string | null;
5795
+ direction: string | null;
5796
+ createdAt: Date;
5797
+ updatedAt: Date;
5798
+ deletedAt: Date | null;
5799
+ entityId: string;
5800
+ caseId: number;
5801
+ entityName: string;
5802
+ contactId: string | null;
5803
+ queueId: string | null;
5804
+ agentId: string | null;
5805
+ startedDate: Date | null;
5806
+ handledTime: number | null;
5807
+ firstResponseTime: number | null;
5808
+ };
5640
5809
  channel?: {
5641
5810
  id?: string | undefined;
5642
5811
  createdAt?: Date | undefined;
@@ -6327,9 +6496,10 @@ export declare const MessageSchema: z.ZodObject<{
6327
6496
  } | undefined;
6328
6497
  }>;
6329
6498
  }, "strip", z.ZodTypeAny, {
6330
- type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
6499
+ type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
6331
6500
  message: string;
6332
6501
  id: string;
6502
+ url: string;
6333
6503
  direction: "incoming" | "outgoing" | "system";
6334
6504
  createdAt: Date;
6335
6505
  updatedAt: Date;
@@ -6435,7 +6605,8 @@ export declare const MessageSchema: z.ZodObject<{
6435
6605
  platformMessageId: string;
6436
6606
  replyPlatformMessageId: string;
6437
6607
  locale: "th" | "mm" | "en";
6438
- isSent: boolean;
6608
+ previewUrl: string;
6609
+ imageSetId: string;
6439
6610
  room: {
6440
6611
  id: string;
6441
6612
  direction: "incoming" | "outgoing" | "system";
@@ -6485,15 +6656,15 @@ export declare const MessageSchema: z.ZodObject<{
6485
6656
  telephonySignature: string | null;
6486
6657
  } | undefined;
6487
6658
  };
6659
+ firstResponseTime: number;
6488
6660
  lastMessage: string;
6489
6661
  handleTime: number;
6490
- isSolved: boolean;
6491
6662
  closeAt: Date;
6492
6663
  unreadCount: number;
6493
- firstResponseTime: Date;
6664
+ firstResponseAt: Date;
6494
6665
  isLatest: boolean;
6495
6666
  platformContact: {
6496
- platform: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
6667
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
6497
6668
  id: string;
6498
6669
  metadata: {
6499
6670
  id: string;
@@ -6652,6 +6823,24 @@ export declare const MessageSchema: z.ZodObject<{
6652
6823
  telephonySignature: string | null;
6653
6824
  } | undefined;
6654
6825
  };
6826
+ cxLog: {
6827
+ id: string;
6828
+ channel: string | null;
6829
+ disposition: string | null;
6830
+ direction: string | null;
6831
+ createdAt: Date;
6832
+ updatedAt: Date;
6833
+ deletedAt: Date | null;
6834
+ entityId: string;
6835
+ caseId: number;
6836
+ entityName: string;
6837
+ contactId: string | null;
6838
+ queueId: string | null;
6839
+ agentId: string | null;
6840
+ startedDate: Date | null;
6841
+ handledTime: number | null;
6842
+ firstResponseTime: number | null;
6843
+ };
6655
6844
  channel?: {
6656
6845
  id?: string | undefined;
6657
6846
  createdAt?: Date | undefined;
@@ -6762,9 +6951,10 @@ export declare const MessageSchema: z.ZodObject<{
6762
6951
  metadata?: any;
6763
6952
  template?: any;
6764
6953
  }, {
6765
- type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
6954
+ type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
6766
6955
  message: string;
6767
6956
  id: string;
6957
+ url: string;
6768
6958
  direction: "incoming" | "outgoing" | "system";
6769
6959
  createdAt: Date;
6770
6960
  updatedAt: Date;
@@ -6870,7 +7060,8 @@ export declare const MessageSchema: z.ZodObject<{
6870
7060
  platformMessageId: string;
6871
7061
  replyPlatformMessageId: string;
6872
7062
  locale: "th" | "mm" | "en";
6873
- isSent: boolean;
7063
+ previewUrl: string;
7064
+ imageSetId: string;
6874
7065
  room: {
6875
7066
  id: string;
6876
7067
  direction: "incoming" | "outgoing" | "system";
@@ -6920,15 +7111,15 @@ export declare const MessageSchema: z.ZodObject<{
6920
7111
  telephonySignature: string | null;
6921
7112
  } | undefined;
6922
7113
  };
7114
+ firstResponseTime: number;
6923
7115
  lastMessage: string;
6924
7116
  handleTime: number;
6925
- isSolved: boolean;
6926
7117
  closeAt: Date;
6927
7118
  unreadCount: number;
6928
- firstResponseTime: Date;
7119
+ firstResponseAt: Date;
6929
7120
  isLatest: boolean;
6930
7121
  platformContact: {
6931
- platform: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
7122
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
6932
7123
  id: string;
6933
7124
  metadata: {
6934
7125
  id: string;
@@ -7087,6 +7278,24 @@ export declare const MessageSchema: z.ZodObject<{
7087
7278
  telephonySignature: string | null;
7088
7279
  } | undefined;
7089
7280
  };
7281
+ cxLog: {
7282
+ id: string;
7283
+ channel: string | null;
7284
+ disposition: string | null;
7285
+ direction: string | null;
7286
+ createdAt: Date;
7287
+ updatedAt: Date;
7288
+ deletedAt: Date | null;
7289
+ entityId: string;
7290
+ caseId: number;
7291
+ entityName: string;
7292
+ contactId: string | null;
7293
+ queueId: string | null;
7294
+ agentId: string | null;
7295
+ startedDate: Date | null;
7296
+ handledTime: number | null;
7297
+ firstResponseTime: number | null;
7298
+ };
7090
7299
  channel?: {
7091
7300
  id?: string | undefined;
7092
7301
  createdAt?: Date | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/chat/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAOpB;;GAEG;AACH,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