@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
@@ -61,7 +61,6 @@ export declare const instagramContract: {
61
61
  picture?: string | undefined;
62
62
  additionalCredentials?: any;
63
63
  };
64
- channelId: string;
65
64
  contact: {
66
65
  channel: string | null;
67
66
  address: string | null;
@@ -70,6 +69,7 @@ export declare const instagramContract: {
70
69
  contactProfile: string | null;
71
70
  socialProfileUrl: string | null;
72
71
  };
72
+ channelId: string;
73
73
  socialPlatformId: string | null;
74
74
  }, {
75
75
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -79,7 +79,6 @@ export declare const instagramContract: {
79
79
  picture?: string | undefined;
80
80
  additionalCredentials?: any;
81
81
  };
82
- channelId: string;
83
82
  contact: {
84
83
  channel: string | null;
85
84
  address: string | null;
@@ -88,6 +87,7 @@ export declare const instagramContract: {
88
87
  contactProfile: string | null;
89
88
  socialProfileUrl: string | null;
90
89
  };
90
+ channelId: string;
91
91
  socialPlatformId: string | null;
92
92
  }>;
93
93
  actor: z.ZodNullable<z.ZodObject<{
@@ -238,7 +238,6 @@ export declare const instagramContract: {
238
238
  picture?: string | undefined;
239
239
  additionalCredentials?: any;
240
240
  };
241
- channelId: string;
242
241
  contact: {
243
242
  channel: string | null;
244
243
  address: string | null;
@@ -247,6 +246,7 @@ export declare const instagramContract: {
247
246
  contactProfile: string | null;
248
247
  socialProfileUrl: string | null;
249
248
  };
249
+ channelId: string;
250
250
  socialPlatformId: string | null;
251
251
  };
252
252
  lastMessage?: string | undefined;
@@ -292,7 +292,6 @@ export declare const instagramContract: {
292
292
  picture?: string | undefined;
293
293
  additionalCredentials?: any;
294
294
  };
295
- channelId: string;
296
295
  contact: {
297
296
  channel: string | null;
298
297
  address: string | null;
@@ -301,6 +300,7 @@ export declare const instagramContract: {
301
300
  contactProfile: string | null;
302
301
  socialProfileUrl: string | null;
303
302
  };
303
+ channelId: string;
304
304
  socialPlatformId: string | null;
305
305
  };
306
306
  lastMessage?: string | undefined;
@@ -474,7 +474,6 @@ export declare const instagramContract: {
474
474
  picture?: string | undefined;
475
475
  additionalCredentials?: any;
476
476
  };
477
- channelId: string;
478
477
  contact: {
479
478
  channel: string | null;
480
479
  address: string | null;
@@ -483,6 +482,7 @@ export declare const instagramContract: {
483
482
  contactProfile: string | null;
484
483
  socialProfileUrl: string | null;
485
484
  };
485
+ channelId: string;
486
486
  socialPlatformId: string | null;
487
487
  };
488
488
  lastMessage?: string | undefined;
@@ -557,7 +557,6 @@ export declare const instagramContract: {
557
557
  picture?: string | undefined;
558
558
  additionalCredentials?: any;
559
559
  };
560
- channelId: string;
561
560
  contact: {
562
561
  channel: string | null;
563
562
  address: string | null;
@@ -566,6 +565,7 @@ export declare const instagramContract: {
566
565
  contactProfile: string | null;
567
566
  socialProfileUrl: string | null;
568
567
  };
568
+ channelId: string;
569
569
  socialPlatformId: string | null;
570
570
  };
571
571
  lastMessage?: string | undefined;
@@ -1401,7 +1401,6 @@ export declare const instagramContract: {
1401
1401
  createdAt: Date;
1402
1402
  updatedAt: Date;
1403
1403
  deletedAt: Date | null;
1404
- channelId: string;
1405
1404
  contact: {
1406
1405
  id: string;
1407
1406
  channel: string | null;
@@ -1506,6 +1505,7 @@ export declare const instagramContract: {
1506
1505
  };
1507
1506
  }[] | undefined;
1508
1507
  };
1508
+ channelId: string;
1509
1509
  socialPlatformId: string;
1510
1510
  }, {
1511
1511
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -1519,7 +1519,6 @@ export declare const instagramContract: {
1519
1519
  createdAt: Date;
1520
1520
  updatedAt: Date;
1521
1521
  deletedAt: Date | null;
1522
- channelId: string;
1523
1522
  contact: {
1524
1523
  id: string;
1525
1524
  channel: string | null;
@@ -1624,6 +1623,7 @@ export declare const instagramContract: {
1624
1623
  };
1625
1624
  }[] | undefined;
1626
1625
  };
1626
+ channelId: string;
1627
1627
  socialPlatformId: string;
1628
1628
  }>;
1629
1629
  actor: z.ZodObject<{
@@ -2457,9 +2457,9 @@ export declare const instagramContract: {
2457
2457
  updatedAt: Date;
2458
2458
  deletedAt: Date | null;
2459
2459
  }[];
2460
+ note: string | null;
2460
2461
  callFrom: string | null;
2461
2462
  callTo: string | null;
2462
- note: string | null;
2463
2463
  }, {
2464
2464
  id: string;
2465
2465
  disposition: string | null;
@@ -2473,9 +2473,9 @@ export declare const instagramContract: {
2473
2473
  updatedAt: Date;
2474
2474
  deletedAt: Date | null;
2475
2475
  }[];
2476
+ note: string | null;
2476
2477
  callFrom: string | null;
2477
2478
  callTo: string | null;
2478
- note: string | null;
2479
2479
  }>>;
2480
2480
  }, "strip", z.ZodTypeAny, {
2481
2481
  id: string;
@@ -2486,14 +2486,14 @@ export declare const instagramContract: {
2486
2486
  updatedAt: Date;
2487
2487
  deletedAt: Date | null;
2488
2488
  entityId: string;
2489
- queueId: string | null;
2490
- contactId: string | null;
2489
+ firstResponseTime: number | null;
2491
2490
  caseId: number;
2492
2491
  entityName: string;
2492
+ contactId: string | null;
2493
+ queueId: string | null;
2493
2494
  agentId: string | null;
2494
2495
  startedDate: Date | null;
2495
2496
  handledTime: number | null;
2496
- firstResponseTime: number | null;
2497
2497
  wrapUpForm: {
2498
2498
  id: string;
2499
2499
  disposition: string | null;
@@ -2507,9 +2507,9 @@ export declare const instagramContract: {
2507
2507
  updatedAt: Date;
2508
2508
  deletedAt: Date | null;
2509
2509
  }[];
2510
+ note: string | null;
2510
2511
  callFrom: string | null;
2511
2512
  callTo: string | null;
2512
- note: string | null;
2513
2513
  } | null;
2514
2514
  }, {
2515
2515
  id: string;
@@ -2520,14 +2520,14 @@ export declare const instagramContract: {
2520
2520
  updatedAt: Date;
2521
2521
  deletedAt: Date | null;
2522
2522
  entityId: string;
2523
- queueId: string | null;
2524
- contactId: string | null;
2523
+ firstResponseTime: number | null;
2525
2524
  caseId: number;
2526
2525
  entityName: string;
2526
+ contactId: string | null;
2527
+ queueId: string | null;
2527
2528
  agentId: string | null;
2528
2529
  startedDate: Date | null;
2529
2530
  handledTime: number | null;
2530
- firstResponseTime: number | null;
2531
2531
  wrapUpForm: {
2532
2532
  id: string;
2533
2533
  disposition: string | null;
@@ -2541,9 +2541,9 @@ export declare const instagramContract: {
2541
2541
  updatedAt: Date;
2542
2542
  deletedAt: Date | null;
2543
2543
  }[];
2544
+ note: string | null;
2544
2545
  callFrom: string | null;
2545
2546
  callTo: string | null;
2546
- note: string | null;
2547
2547
  } | null;
2548
2548
  }>;
2549
2549
  }, "strip", z.ZodTypeAny, {
@@ -2596,12 +2596,12 @@ export declare const instagramContract: {
2596
2596
  telephonySignature: string | null;
2597
2597
  };
2598
2598
  };
2599
- firstResponseTime: number;
2600
2599
  lastMessage: string;
2601
2600
  handleTime: number;
2602
2601
  closeAt: Date;
2603
2602
  unreadCount: number;
2604
2603
  firstResponseAt: Date;
2604
+ firstResponseTime: number;
2605
2605
  isLatest: boolean;
2606
2606
  platformContact: {
2607
2607
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -2615,7 +2615,6 @@ export declare const instagramContract: {
2615
2615
  createdAt: Date;
2616
2616
  updatedAt: Date;
2617
2617
  deletedAt: Date | null;
2618
- channelId: string;
2619
2618
  contact: {
2620
2619
  id: string;
2621
2620
  channel: string | null;
@@ -2720,6 +2719,7 @@ export declare const instagramContract: {
2720
2719
  };
2721
2720
  }[] | undefined;
2722
2721
  };
2722
+ channelId: string;
2723
2723
  socialPlatformId: string;
2724
2724
  };
2725
2725
  assignee: {
@@ -2775,14 +2775,14 @@ export declare const instagramContract: {
2775
2775
  updatedAt: Date;
2776
2776
  deletedAt: Date | null;
2777
2777
  entityId: string;
2778
- queueId: string | null;
2779
- contactId: string | null;
2778
+ firstResponseTime: number | null;
2780
2779
  caseId: number;
2781
2780
  entityName: string;
2781
+ contactId: string | null;
2782
+ queueId: string | null;
2782
2783
  agentId: string | null;
2783
2784
  startedDate: Date | null;
2784
2785
  handledTime: number | null;
2785
- firstResponseTime: number | null;
2786
2786
  wrapUpForm: {
2787
2787
  id: string;
2788
2788
  disposition: string | null;
@@ -2796,9 +2796,9 @@ export declare const instagramContract: {
2796
2796
  updatedAt: Date;
2797
2797
  deletedAt: Date | null;
2798
2798
  }[];
2799
+ note: string | null;
2799
2800
  callFrom: string | null;
2800
2801
  callTo: string | null;
2801
- note: string | null;
2802
2802
  } | null;
2803
2803
  };
2804
2804
  channel?: {
@@ -2916,12 +2916,12 @@ export declare const instagramContract: {
2916
2916
  telephonySignature: string | null;
2917
2917
  };
2918
2918
  };
2919
- firstResponseTime: number;
2920
2919
  lastMessage: string;
2921
2920
  handleTime: number;
2922
2921
  closeAt: Date;
2923
2922
  unreadCount: number;
2924
2923
  firstResponseAt: Date;
2924
+ firstResponseTime: number;
2925
2925
  isLatest: boolean;
2926
2926
  platformContact: {
2927
2927
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -2935,7 +2935,6 @@ export declare const instagramContract: {
2935
2935
  createdAt: Date;
2936
2936
  updatedAt: Date;
2937
2937
  deletedAt: Date | null;
2938
- channelId: string;
2939
2938
  contact: {
2940
2939
  id: string;
2941
2940
  channel: string | null;
@@ -3040,6 +3039,7 @@ export declare const instagramContract: {
3040
3039
  };
3041
3040
  }[] | undefined;
3042
3041
  };
3042
+ channelId: string;
3043
3043
  socialPlatformId: string;
3044
3044
  };
3045
3045
  assignee: {
@@ -3095,14 +3095,14 @@ export declare const instagramContract: {
3095
3095
  updatedAt: Date;
3096
3096
  deletedAt: Date | null;
3097
3097
  entityId: string;
3098
- queueId: string | null;
3099
- contactId: string | null;
3098
+ firstResponseTime: number | null;
3100
3099
  caseId: number;
3101
3100
  entityName: string;
3101
+ contactId: string | null;
3102
+ queueId: string | null;
3102
3103
  agentId: string | null;
3103
3104
  startedDate: Date | null;
3104
3105
  handledTime: number | null;
3105
- firstResponseTime: number | null;
3106
3106
  wrapUpForm: {
3107
3107
  id: string;
3108
3108
  disposition: string | null;
@@ -3116,9 +3116,9 @@ export declare const instagramContract: {
3116
3116
  updatedAt: Date;
3117
3117
  deletedAt: Date | null;
3118
3118
  }[];
3119
+ note: string | null;
3119
3120
  callFrom: string | null;
3120
3121
  callTo: string | null;
3121
- note: string | null;
3122
3122
  } | null;
3123
3123
  };
3124
3124
  channel?: {
@@ -3943,6 +3943,12 @@ export declare const instagramContract: {
3943
3943
  telephonySignature: string | null;
3944
3944
  };
3945
3945
  };
3946
+ readAt: Date;
3947
+ platformMessageId: string;
3948
+ replyPlatformMessageId: string;
3949
+ locale: "" | "th" | "mm" | "en";
3950
+ previewUrl: string;
3951
+ imageSetId: string;
3946
3952
  room: {
3947
3953
  id: string;
3948
3954
  direction: "incoming" | "outgoing" | "system";
@@ -3993,12 +3999,12 @@ export declare const instagramContract: {
3993
3999
  telephonySignature: string | null;
3994
4000
  };
3995
4001
  };
3996
- firstResponseTime: number;
3997
4002
  lastMessage: string;
3998
4003
  handleTime: number;
3999
4004
  closeAt: Date;
4000
4005
  unreadCount: number;
4001
4006
  firstResponseAt: Date;
4007
+ firstResponseTime: number;
4002
4008
  isLatest: boolean;
4003
4009
  platformContact: {
4004
4010
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -4012,7 +4018,6 @@ export declare const instagramContract: {
4012
4018
  createdAt: Date;
4013
4019
  updatedAt: Date;
4014
4020
  deletedAt: Date | null;
4015
- channelId: string;
4016
4021
  contact: {
4017
4022
  id: string;
4018
4023
  channel: string | null;
@@ -4117,6 +4122,7 @@ export declare const instagramContract: {
4117
4122
  };
4118
4123
  }[] | undefined;
4119
4124
  };
4125
+ channelId: string;
4120
4126
  socialPlatformId: string;
4121
4127
  };
4122
4128
  assignee: {
@@ -4172,14 +4178,14 @@ export declare const instagramContract: {
4172
4178
  updatedAt: Date;
4173
4179
  deletedAt: Date | null;
4174
4180
  entityId: string;
4175
- queueId: string | null;
4176
- contactId: string | null;
4181
+ firstResponseTime: number | null;
4177
4182
  caseId: number;
4178
4183
  entityName: string;
4184
+ contactId: string | null;
4185
+ queueId: string | null;
4179
4186
  agentId: string | null;
4180
4187
  startedDate: Date | null;
4181
4188
  handledTime: number | null;
4182
- firstResponseTime: number | null;
4183
4189
  wrapUpForm: {
4184
4190
  id: string;
4185
4191
  disposition: string | null;
@@ -4193,9 +4199,9 @@ export declare const instagramContract: {
4193
4199
  updatedAt: Date;
4194
4200
  deletedAt: Date | null;
4195
4201
  }[];
4202
+ note: string | null;
4196
4203
  callFrom: string | null;
4197
4204
  callTo: string | null;
4198
- note: string | null;
4199
4205
  } | null;
4200
4206
  };
4201
4207
  channel?: {
@@ -4264,12 +4270,6 @@ export declare const instagramContract: {
4264
4270
  } | undefined;
4265
4271
  } | undefined;
4266
4272
  };
4267
- readAt: Date;
4268
- platformMessageId: string;
4269
- replyPlatformMessageId: string;
4270
- locale: "" | "th" | "mm" | "en";
4271
- previewUrl: string;
4272
- imageSetId: string;
4273
4273
  sender: {
4274
4274
  id: string;
4275
4275
  address: string | null;
@@ -4426,6 +4426,12 @@ export declare const instagramContract: {
4426
4426
  telephonySignature: string | null;
4427
4427
  };
4428
4428
  };
4429
+ readAt: Date;
4430
+ platformMessageId: string;
4431
+ replyPlatformMessageId: string;
4432
+ locale: "" | "th" | "mm" | "en";
4433
+ previewUrl: string;
4434
+ imageSetId: string;
4429
4435
  room: {
4430
4436
  id: string;
4431
4437
  direction: "incoming" | "outgoing" | "system";
@@ -4476,12 +4482,12 @@ export declare const instagramContract: {
4476
4482
  telephonySignature: string | null;
4477
4483
  };
4478
4484
  };
4479
- firstResponseTime: number;
4480
4485
  lastMessage: string;
4481
4486
  handleTime: number;
4482
4487
  closeAt: Date;
4483
4488
  unreadCount: number;
4484
4489
  firstResponseAt: Date;
4490
+ firstResponseTime: number;
4485
4491
  isLatest: boolean;
4486
4492
  platformContact: {
4487
4493
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -4495,7 +4501,6 @@ export declare const instagramContract: {
4495
4501
  createdAt: Date;
4496
4502
  updatedAt: Date;
4497
4503
  deletedAt: Date | null;
4498
- channelId: string;
4499
4504
  contact: {
4500
4505
  id: string;
4501
4506
  channel: string | null;
@@ -4600,6 +4605,7 @@ export declare const instagramContract: {
4600
4605
  };
4601
4606
  }[] | undefined;
4602
4607
  };
4608
+ channelId: string;
4603
4609
  socialPlatformId: string;
4604
4610
  };
4605
4611
  assignee: {
@@ -4655,14 +4661,14 @@ export declare const instagramContract: {
4655
4661
  updatedAt: Date;
4656
4662
  deletedAt: Date | null;
4657
4663
  entityId: string;
4658
- queueId: string | null;
4659
- contactId: string | null;
4664
+ firstResponseTime: number | null;
4660
4665
  caseId: number;
4661
4666
  entityName: string;
4667
+ contactId: string | null;
4668
+ queueId: string | null;
4662
4669
  agentId: string | null;
4663
4670
  startedDate: Date | null;
4664
4671
  handledTime: number | null;
4665
- firstResponseTime: number | null;
4666
4672
  wrapUpForm: {
4667
4673
  id: string;
4668
4674
  disposition: string | null;
@@ -4676,9 +4682,9 @@ export declare const instagramContract: {
4676
4682
  updatedAt: Date;
4677
4683
  deletedAt: Date | null;
4678
4684
  }[];
4685
+ note: string | null;
4679
4686
  callFrom: string | null;
4680
4687
  callTo: string | null;
4681
- note: string | null;
4682
4688
  } | null;
4683
4689
  };
4684
4690
  channel?: {
@@ -4747,12 +4753,6 @@ export declare const instagramContract: {
4747
4753
  } | undefined;
4748
4754
  } | undefined;
4749
4755
  };
4750
- readAt: Date;
4751
- platformMessageId: string;
4752
- replyPlatformMessageId: string;
4753
- locale: "" | "th" | "mm" | "en";
4754
- previewUrl: string;
4755
- imageSetId: string;
4756
4756
  sender: {
4757
4757
  id: string;
4758
4758
  address: string | null;
@@ -4911,6 +4911,12 @@ export declare const instagramContract: {
4911
4911
  telephonySignature: string | null;
4912
4912
  };
4913
4913
  };
4914
+ readAt: Date;
4915
+ platformMessageId: string;
4916
+ replyPlatformMessageId: string;
4917
+ locale: "" | "th" | "mm" | "en";
4918
+ previewUrl: string;
4919
+ imageSetId: string;
4914
4920
  room: {
4915
4921
  id: string;
4916
4922
  direction: "incoming" | "outgoing" | "system";
@@ -4961,12 +4967,12 @@ export declare const instagramContract: {
4961
4967
  telephonySignature: string | null;
4962
4968
  };
4963
4969
  };
4964
- firstResponseTime: number;
4965
4970
  lastMessage: string;
4966
4971
  handleTime: number;
4967
4972
  closeAt: Date;
4968
4973
  unreadCount: number;
4969
4974
  firstResponseAt: Date;
4975
+ firstResponseTime: number;
4970
4976
  isLatest: boolean;
4971
4977
  platformContact: {
4972
4978
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -4980,7 +4986,6 @@ export declare const instagramContract: {
4980
4986
  createdAt: Date;
4981
4987
  updatedAt: Date;
4982
4988
  deletedAt: Date | null;
4983
- channelId: string;
4984
4989
  contact: {
4985
4990
  id: string;
4986
4991
  channel: string | null;
@@ -5085,6 +5090,7 @@ export declare const instagramContract: {
5085
5090
  };
5086
5091
  }[] | undefined;
5087
5092
  };
5093
+ channelId: string;
5088
5094
  socialPlatformId: string;
5089
5095
  };
5090
5096
  assignee: {
@@ -5140,14 +5146,14 @@ export declare const instagramContract: {
5140
5146
  updatedAt: Date;
5141
5147
  deletedAt: Date | null;
5142
5148
  entityId: string;
5143
- queueId: string | null;
5144
- contactId: string | null;
5149
+ firstResponseTime: number | null;
5145
5150
  caseId: number;
5146
5151
  entityName: string;
5152
+ contactId: string | null;
5153
+ queueId: string | null;
5147
5154
  agentId: string | null;
5148
5155
  startedDate: Date | null;
5149
5156
  handledTime: number | null;
5150
- firstResponseTime: number | null;
5151
5157
  wrapUpForm: {
5152
5158
  id: string;
5153
5159
  disposition: string | null;
@@ -5161,9 +5167,9 @@ export declare const instagramContract: {
5161
5167
  updatedAt: Date;
5162
5168
  deletedAt: Date | null;
5163
5169
  }[];
5170
+ note: string | null;
5164
5171
  callFrom: string | null;
5165
5172
  callTo: string | null;
5166
- note: string | null;
5167
5173
  } | null;
5168
5174
  };
5169
5175
  channel?: {
@@ -5232,12 +5238,6 @@ export declare const instagramContract: {
5232
5238
  } | undefined;
5233
5239
  } | undefined;
5234
5240
  };
5235
- readAt: Date;
5236
- platformMessageId: string;
5237
- replyPlatformMessageId: string;
5238
- locale: "" | "th" | "mm" | "en";
5239
- previewUrl: string;
5240
- imageSetId: string;
5241
5241
  sender: {
5242
5242
  id: string;
5243
5243
  address: string | null;
@@ -5397,6 +5397,12 @@ export declare const instagramContract: {
5397
5397
  telephonySignature: string | null;
5398
5398
  };
5399
5399
  };
5400
+ readAt: Date;
5401
+ platformMessageId: string;
5402
+ replyPlatformMessageId: string;
5403
+ locale: "" | "th" | "mm" | "en";
5404
+ previewUrl: string;
5405
+ imageSetId: string;
5400
5406
  room: {
5401
5407
  id: string;
5402
5408
  direction: "incoming" | "outgoing" | "system";
@@ -5447,12 +5453,12 @@ export declare const instagramContract: {
5447
5453
  telephonySignature: string | null;
5448
5454
  };
5449
5455
  };
5450
- firstResponseTime: number;
5451
5456
  lastMessage: string;
5452
5457
  handleTime: number;
5453
5458
  closeAt: Date;
5454
5459
  unreadCount: number;
5455
5460
  firstResponseAt: Date;
5461
+ firstResponseTime: number;
5456
5462
  isLatest: boolean;
5457
5463
  platformContact: {
5458
5464
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -5466,7 +5472,6 @@ export declare const instagramContract: {
5466
5472
  createdAt: Date;
5467
5473
  updatedAt: Date;
5468
5474
  deletedAt: Date | null;
5469
- channelId: string;
5470
5475
  contact: {
5471
5476
  id: string;
5472
5477
  channel: string | null;
@@ -5571,6 +5576,7 @@ export declare const instagramContract: {
5571
5576
  };
5572
5577
  }[] | undefined;
5573
5578
  };
5579
+ channelId: string;
5574
5580
  socialPlatformId: string;
5575
5581
  };
5576
5582
  assignee: {
@@ -5626,14 +5632,14 @@ export declare const instagramContract: {
5626
5632
  updatedAt: Date;
5627
5633
  deletedAt: Date | null;
5628
5634
  entityId: string;
5629
- queueId: string | null;
5630
- contactId: string | null;
5635
+ firstResponseTime: number | null;
5631
5636
  caseId: number;
5632
5637
  entityName: string;
5638
+ contactId: string | null;
5639
+ queueId: string | null;
5633
5640
  agentId: string | null;
5634
5641
  startedDate: Date | null;
5635
5642
  handledTime: number | null;
5636
- firstResponseTime: number | null;
5637
5643
  wrapUpForm: {
5638
5644
  id: string;
5639
5645
  disposition: string | null;
@@ -5647,9 +5653,9 @@ export declare const instagramContract: {
5647
5653
  updatedAt: Date;
5648
5654
  deletedAt: Date | null;
5649
5655
  }[];
5656
+ note: string | null;
5650
5657
  callFrom: string | null;
5651
5658
  callTo: string | null;
5652
- note: string | null;
5653
5659
  } | null;
5654
5660
  };
5655
5661
  channel?: {
@@ -5718,12 +5724,6 @@ export declare const instagramContract: {
5718
5724
  } | undefined;
5719
5725
  } | undefined;
5720
5726
  };
5721
- readAt: Date;
5722
- platformMessageId: string;
5723
- replyPlatformMessageId: string;
5724
- locale: "" | "th" | "mm" | "en";
5725
- previewUrl: string;
5726
- imageSetId: string;
5727
5727
  sender: {
5728
5728
  id: string;
5729
5729
  address: string | null;