@kl1/contracts 1.3.28 → 1.3.30

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 (116) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +1 -1
  2. package/dist/api-contracts/src/attribute/index.d.ts +7 -7
  3. package/dist/api-contracts/src/auth/index.d.ts +1 -1
  4. package/dist/api-contracts/src/automation-queue/index.d.ts +7 -10
  5. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  6. package/dist/api-contracts/src/aws/index.d.ts +2 -2
  7. package/dist/api-contracts/src/botpress/index.d.ts +2 -2
  8. package/dist/api-contracts/src/business-calendar/index.d.ts +4 -4
  9. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  10. package/dist/api-contracts/src/category/index.d.ts +7 -7
  11. package/dist/api-contracts/src/channel/index.d.ts +43 -1585
  12. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  13. package/dist/api-contracts/src/channel/schema.d.ts +0 -44
  14. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  15. package/dist/api-contracts/src/channel/validation.d.ts +0 -65
  16. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  17. package/dist/api-contracts/src/chat/index.d.ts +2172 -3246
  18. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/chat/schema.d.ts +463 -712
  20. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  21. package/dist/api-contracts/src/chat/validation.d.ts +392 -778
  22. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  23. package/dist/api-contracts/src/comment/index.d.ts +359 -359
  24. package/dist/api-contracts/src/comment/schema.d.ts +88 -88
  25. package/dist/api-contracts/src/contract.d.ts +39032 -45496
  26. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  27. package/dist/api-contracts/src/cx-log/index.d.ts +65 -115
  28. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/cx-log/schema.d.ts +81 -123
  30. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  31. package/dist/api-contracts/src/dashboard/index.d.ts +49 -962
  32. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  33. package/dist/api-contracts/src/dashboard/schema.d.ts +9 -164
  34. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  35. package/dist/api-contracts/src/dashboard/validation.d.ts +1 -30
  36. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  37. package/dist/api-contracts/src/evaluate-form/index.d.ts +1 -1
  38. package/dist/api-contracts/src/export/index.d.ts +0 -2
  39. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/extension/index.d.ts +7 -7
  41. package/dist/api-contracts/src/facebook-feed/index.d.ts +273 -781
  42. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  43. package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -37
  44. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  45. package/dist/api-contracts/src/facebook-feed/validation.d.ts +0 -26
  46. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  47. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  48. package/dist/api-contracts/src/hold-label/index.d.ts +10 -10
  49. package/dist/api-contracts/src/index.d.ts +0 -2
  50. package/dist/api-contracts/src/index.d.ts.map +1 -1
  51. package/dist/api-contracts/src/instagram/index.d.ts +261 -659
  52. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/line/index.d.ts +268 -622
  54. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  55. package/dist/api-contracts/src/line/validation.d.ts +7 -49
  56. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  57. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +1 -1
  58. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  59. package/dist/api-contracts/src/mail/mail-contract.d.ts +240 -240
  60. package/dist/api-contracts/src/mail/room-contract.d.ts +240 -240
  61. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +80 -80
  62. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +60 -60
  63. package/dist/api-contracts/src/messenger/index.d.ts +261 -659
  64. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  65. package/dist/api-contracts/src/messenger/validation.d.ts +0 -26
  66. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  67. package/dist/api-contracts/src/notification/index.d.ts +4 -4
  68. package/dist/api-contracts/src/permission/index.d.ts +1 -1
  69. package/dist/api-contracts/src/presence-status/index.d.ts +55 -127
  70. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  71. package/dist/api-contracts/src/presence-status/schema.d.ts +10 -16
  72. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  73. package/dist/api-contracts/src/presence-status/validation.d.ts +12 -30
  74. package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
  75. package/dist/api-contracts/src/role/index.d.ts +5 -5
  76. package/dist/api-contracts/src/sms/index.d.ts +7 -185
  77. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  78. package/dist/api-contracts/src/snippet/index.d.ts +8 -8
  79. package/dist/api-contracts/src/subscription/index.d.ts +5 -5
  80. package/dist/api-contracts/src/tag/index.d.ts +4 -4
  81. package/dist/api-contracts/src/telegram/index.d.ts +263 -549
  82. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  83. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +441 -62
  84. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  85. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +13 -25
  86. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  87. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  88. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  89. package/dist/api-contracts/src/telephony-cdr/index.d.ts +14 -14
  90. package/dist/api-contracts/src/telephony-extension/index.d.ts +1 -1
  91. package/dist/api-contracts/src/ticket/index.d.ts +660 -660
  92. package/dist/api-contracts/src/ticket/schema.d.ts +44 -44
  93. package/dist/api-contracts/src/ticket/validation.d.ts +20 -20
  94. package/dist/api-contracts/src/upload/index.d.ts +2 -2
  95. package/dist/api-contracts/src/user/index.d.ts +7 -7
  96. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +18 -42
  97. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  98. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +20 -50
  99. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  100. package/dist/api-contracts/src/viber/index.d.ts +263 -549
  101. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  102. package/dist/api-contracts/src/webchat/index.d.ts +261 -547
  103. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  104. package/dist/api-contracts/src/whatsapp/index.d.ts +261 -599
  105. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  106. package/dist/api-contracts/src/workflow-rule/index.d.ts +277 -411
  107. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  108. package/dist/api-contracts/src/wrap-up-form/index.d.ts +187 -187
  109. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +20 -20
  110. package/dist/index.js +459 -820
  111. package/dist/index.js.map +1 -1
  112. package/dist/index.mjs +459 -818
  113. package/dist/index.mjs.map +1 -1
  114. package/package.json +1 -1
  115. package/dist/api-contracts/src/export/validation.d.ts +0 -3
  116. package/dist/api-contracts/src/export/validation.d.ts.map +0 -1
@@ -37,7 +37,7 @@ export declare const chatContract: {
37
37
  firstResponseTime: z.ZodNumber;
38
38
  isLatest: z.ZodBoolean;
39
39
  isBotRoom: z.ZodBoolean;
40
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
40
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
41
41
  platformContact: z.ZodObject<{
42
42
  id: z.ZodString;
43
43
  createdAt: z.ZodDate;
@@ -1561,16 +1561,6 @@ export declare const chatContract: {
1561
1561
  mobileNumber: string;
1562
1562
  apiSecret: string;
1563
1563
  }>>;
1564
- line: z.ZodOptional<z.ZodObject<{
1565
- channelId: z.ZodString;
1566
- channelSecret: z.ZodString;
1567
- }, "strip", z.ZodTypeAny, {
1568
- channelId: string;
1569
- channelSecret: string;
1570
- }, {
1571
- channelId: string;
1572
- channelSecret: string;
1573
- }>>;
1574
1564
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1575
1565
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1576
1566
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -1601,10 +1591,6 @@ export declare const chatContract: {
1601
1591
  mobileNumber: string;
1602
1592
  apiSecret: string;
1603
1593
  } | undefined;
1604
- line?: {
1605
- channelId: string;
1606
- channelSecret: string;
1607
- } | undefined;
1608
1594
  lineRichMenuId?: string | null | undefined;
1609
1595
  messengerIntegrationType?: "own" | "business" | undefined;
1610
1596
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1635,10 +1621,6 @@ export declare const chatContract: {
1635
1621
  mobileNumber: string;
1636
1622
  apiSecret: string;
1637
1623
  } | undefined;
1638
- line?: {
1639
- channelId: string;
1640
- channelSecret: string;
1641
- } | undefined;
1642
1624
  lineRichMenuId?: string | null | undefined;
1643
1625
  messengerIntegrationType?: "own" | "business" | undefined;
1644
1626
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1903,10 +1885,6 @@ export declare const chatContract: {
1903
1885
  mobileNumber: string;
1904
1886
  apiSecret: string;
1905
1887
  } | undefined;
1906
- line?: {
1907
- channelId: string;
1908
- channelSecret: string;
1909
- } | undefined;
1910
1888
  lineRichMenuId?: string | null | undefined;
1911
1889
  messengerIntegrationType?: "own" | "business" | undefined;
1912
1890
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2002,10 +1980,6 @@ export declare const chatContract: {
2002
1980
  mobileNumber: string;
2003
1981
  apiSecret: string;
2004
1982
  } | undefined;
2005
- line?: {
2006
- channelId: string;
2007
- channelSecret: string;
2008
- } | undefined;
2009
1983
  lineRichMenuId?: string | null | undefined;
2010
1984
  messengerIntegrationType?: "own" | "business" | undefined;
2011
1985
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2262,16 +2236,6 @@ export declare const chatContract: {
2262
2236
  createdAt: Date;
2263
2237
  updatedAt: Date;
2264
2238
  deletedAt: Date | null;
2265
- tags: {
2266
- name: string;
2267
- id: string;
2268
- createdAt: Date;
2269
- updatedAt: Date;
2270
- deletedAt: Date | null;
2271
- }[];
2272
- callFrom: string | null;
2273
- callTo: string | null;
2274
- note: string | null;
2275
2239
  categories: {
2276
2240
  id: string;
2277
2241
  value: string;
@@ -2294,6 +2258,16 @@ export declare const chatContract: {
2294
2258
  }[];
2295
2259
  }[];
2296
2260
  }[];
2261
+ tags: {
2262
+ name: string;
2263
+ id: string;
2264
+ createdAt: Date;
2265
+ updatedAt: Date;
2266
+ deletedAt: Date | null;
2267
+ }[];
2268
+ callFrom: string | null;
2269
+ callTo: string | null;
2270
+ note: string | null;
2297
2271
  customFields?: {
2298
2272
  id: string;
2299
2273
  createdAt: Date;
@@ -2313,16 +2287,6 @@ export declare const chatContract: {
2313
2287
  createdAt: Date;
2314
2288
  updatedAt: Date;
2315
2289
  deletedAt: Date | null;
2316
- tags: {
2317
- name: string;
2318
- id: string;
2319
- createdAt: Date;
2320
- updatedAt: Date;
2321
- deletedAt: Date | null;
2322
- }[];
2323
- callFrom: string | null;
2324
- callTo: string | null;
2325
- note: string | null;
2326
2290
  categories: {
2327
2291
  id: string;
2328
2292
  value: string;
@@ -2345,6 +2309,16 @@ export declare const chatContract: {
2345
2309
  }[];
2346
2310
  }[];
2347
2311
  }[];
2312
+ tags: {
2313
+ name: string;
2314
+ id: string;
2315
+ createdAt: Date;
2316
+ updatedAt: Date;
2317
+ deletedAt: Date | null;
2318
+ }[];
2319
+ callFrom: string | null;
2320
+ callTo: string | null;
2321
+ note: string | null;
2348
2322
  customFields?: {
2349
2323
  id: string;
2350
2324
  createdAt: Date;
@@ -2453,16 +2427,6 @@ export declare const chatContract: {
2453
2427
  createdAt: Date;
2454
2428
  updatedAt: Date;
2455
2429
  deletedAt: Date | null;
2456
- tags: {
2457
- name: string;
2458
- id: string;
2459
- createdAt: Date;
2460
- updatedAt: Date;
2461
- deletedAt: Date | null;
2462
- }[];
2463
- callFrom: string | null;
2464
- callTo: string | null;
2465
- note: string | null;
2466
2430
  categories: {
2467
2431
  id: string;
2468
2432
  value: string;
@@ -2485,6 +2449,16 @@ export declare const chatContract: {
2485
2449
  }[];
2486
2450
  }[];
2487
2451
  }[];
2452
+ tags: {
2453
+ name: string;
2454
+ id: string;
2455
+ createdAt: Date;
2456
+ updatedAt: Date;
2457
+ deletedAt: Date | null;
2458
+ }[];
2459
+ callFrom: string | null;
2460
+ callTo: string | null;
2461
+ note: string | null;
2488
2462
  customFields?: {
2489
2463
  id: string;
2490
2464
  createdAt: Date;
@@ -2543,16 +2517,6 @@ export declare const chatContract: {
2543
2517
  createdAt: Date;
2544
2518
  updatedAt: Date;
2545
2519
  deletedAt: Date | null;
2546
- tags: {
2547
- name: string;
2548
- id: string;
2549
- createdAt: Date;
2550
- updatedAt: Date;
2551
- deletedAt: Date | null;
2552
- }[];
2553
- callFrom: string | null;
2554
- callTo: string | null;
2555
- note: string | null;
2556
2520
  categories: {
2557
2521
  id: string;
2558
2522
  value: string;
@@ -2575,6 +2539,16 @@ export declare const chatContract: {
2575
2539
  }[];
2576
2540
  }[];
2577
2541
  }[];
2542
+ tags: {
2543
+ name: string;
2544
+ id: string;
2545
+ createdAt: Date;
2546
+ updatedAt: Date;
2547
+ deletedAt: Date | null;
2548
+ }[];
2549
+ callFrom: string | null;
2550
+ callTo: string | null;
2551
+ note: string | null;
2578
2552
  customFields?: {
2579
2553
  id: string;
2580
2554
  createdAt: Date;
@@ -2665,10 +2639,6 @@ export declare const chatContract: {
2665
2639
  mobileNumber: string;
2666
2640
  apiSecret: string;
2667
2641
  } | undefined;
2668
- line?: {
2669
- channelId: string;
2670
- channelSecret: string;
2671
- } | undefined;
2672
2642
  lineRichMenuId?: string | null | undefined;
2673
2643
  messengerIntegrationType?: "own" | "business" | undefined;
2674
2644
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2992,16 +2962,6 @@ export declare const chatContract: {
2992
2962
  createdAt: Date;
2993
2963
  updatedAt: Date;
2994
2964
  deletedAt: Date | null;
2995
- tags: {
2996
- name: string;
2997
- id: string;
2998
- createdAt: Date;
2999
- updatedAt: Date;
3000
- deletedAt: Date | null;
3001
- }[];
3002
- callFrom: string | null;
3003
- callTo: string | null;
3004
- note: string | null;
3005
2965
  categories: {
3006
2966
  id: string;
3007
2967
  value: string;
@@ -3024,6 +2984,16 @@ export declare const chatContract: {
3024
2984
  }[];
3025
2985
  }[];
3026
2986
  }[];
2987
+ tags: {
2988
+ name: string;
2989
+ id: string;
2990
+ createdAt: Date;
2991
+ updatedAt: Date;
2992
+ deletedAt: Date | null;
2993
+ }[];
2994
+ callFrom: string | null;
2995
+ callTo: string | null;
2996
+ note: string | null;
3027
2997
  customFields?: {
3028
2998
  id: string;
3029
2999
  createdAt: Date;
@@ -3098,10 +3068,6 @@ export declare const chatContract: {
3098
3068
  mobileNumber: string;
3099
3069
  apiSecret: string;
3100
3070
  } | undefined;
3101
- line?: {
3102
- channelId: string;
3103
- channelSecret: string;
3104
- } | undefined;
3105
3071
  lineRichMenuId?: string | null | undefined;
3106
3072
  messengerIntegrationType?: "own" | "business" | undefined;
3107
3073
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3425,16 +3391,6 @@ export declare const chatContract: {
3425
3391
  createdAt: Date;
3426
3392
  updatedAt: Date;
3427
3393
  deletedAt: Date | null;
3428
- tags: {
3429
- name: string;
3430
- id: string;
3431
- createdAt: Date;
3432
- updatedAt: Date;
3433
- deletedAt: Date | null;
3434
- }[];
3435
- callFrom: string | null;
3436
- callTo: string | null;
3437
- note: string | null;
3438
3394
  categories: {
3439
3395
  id: string;
3440
3396
  value: string;
@@ -3457,6 +3413,16 @@ export declare const chatContract: {
3457
3413
  }[];
3458
3414
  }[];
3459
3415
  }[];
3416
+ tags: {
3417
+ name: string;
3418
+ id: string;
3419
+ createdAt: Date;
3420
+ updatedAt: Date;
3421
+ deletedAt: Date | null;
3422
+ }[];
3423
+ callFrom: string | null;
3424
+ callTo: string | null;
3425
+ note: string | null;
3460
3426
  customFields?: {
3461
3427
  id: string;
3462
3428
  createdAt: Date;
@@ -3533,10 +3499,6 @@ export declare const chatContract: {
3533
3499
  mobileNumber: string;
3534
3500
  apiSecret: string;
3535
3501
  } | undefined;
3536
- line?: {
3537
- channelId: string;
3538
- channelSecret: string;
3539
- } | undefined;
3540
3502
  lineRichMenuId?: string | null | undefined;
3541
3503
  messengerIntegrationType?: "own" | "business" | undefined;
3542
3504
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3860,16 +3822,6 @@ export declare const chatContract: {
3860
3822
  createdAt: Date;
3861
3823
  updatedAt: Date;
3862
3824
  deletedAt: Date | null;
3863
- tags: {
3864
- name: string;
3865
- id: string;
3866
- createdAt: Date;
3867
- updatedAt: Date;
3868
- deletedAt: Date | null;
3869
- }[];
3870
- callFrom: string | null;
3871
- callTo: string | null;
3872
- note: string | null;
3873
3825
  categories: {
3874
3826
  id: string;
3875
3827
  value: string;
@@ -3892,6 +3844,16 @@ export declare const chatContract: {
3892
3844
  }[];
3893
3845
  }[];
3894
3846
  }[];
3847
+ tags: {
3848
+ name: string;
3849
+ id: string;
3850
+ createdAt: Date;
3851
+ updatedAt: Date;
3852
+ deletedAt: Date | null;
3853
+ }[];
3854
+ callFrom: string | null;
3855
+ callTo: string | null;
3856
+ note: string | null;
3895
3857
  customFields?: {
3896
3858
  id: string;
3897
3859
  createdAt: Date;
@@ -3969,10 +3931,6 @@ export declare const chatContract: {
3969
3931
  mobileNumber: string;
3970
3932
  apiSecret: string;
3971
3933
  } | undefined;
3972
- line?: {
3973
- channelId: string;
3974
- channelSecret: string;
3975
- } | undefined;
3976
3934
  lineRichMenuId?: string | null | undefined;
3977
3935
  messengerIntegrationType?: "own" | "business" | undefined;
3978
3936
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -4296,16 +4254,6 @@ export declare const chatContract: {
4296
4254
  createdAt: Date;
4297
4255
  updatedAt: Date;
4298
4256
  deletedAt: Date | null;
4299
- tags: {
4300
- name: string;
4301
- id: string;
4302
- createdAt: Date;
4303
- updatedAt: Date;
4304
- deletedAt: Date | null;
4305
- }[];
4306
- callFrom: string | null;
4307
- callTo: string | null;
4308
- note: string | null;
4309
4257
  categories: {
4310
4258
  id: string;
4311
4259
  value: string;
@@ -4328,6 +4276,16 @@ export declare const chatContract: {
4328
4276
  }[];
4329
4277
  }[];
4330
4278
  }[];
4279
+ tags: {
4280
+ name: string;
4281
+ id: string;
4282
+ createdAt: Date;
4283
+ updatedAt: Date;
4284
+ deletedAt: Date | null;
4285
+ }[];
4286
+ callFrom: string | null;
4287
+ callTo: string | null;
4288
+ note: string | null;
4331
4289
  customFields?: {
4332
4290
  id: string;
4333
4291
  createdAt: Date;
@@ -4421,8 +4379,8 @@ export declare const chatContract: {
4421
4379
  updatedAt: z.ZodDate;
4422
4380
  deletedAt: z.ZodNullable<z.ZodDate>;
4423
4381
  message: z.ZodString;
4424
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
4425
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
4382
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4383
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
4426
4384
  readAt: z.ZodDate;
4427
4385
  metadata: z.ZodAny;
4428
4386
  platformId: z.ZodString;
@@ -4448,7 +4406,7 @@ export declare const chatContract: {
4448
4406
  firstResponseTime: z.ZodNumber;
4449
4407
  isLatest: z.ZodBoolean;
4450
4408
  isBotRoom: z.ZodBoolean;
4451
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
4409
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4452
4410
  platformContact: z.ZodObject<{
4453
4411
  id: z.ZodString;
4454
4412
  createdAt: z.ZodDate;
@@ -5972,16 +5930,6 @@ export declare const chatContract: {
5972
5930
  mobileNumber: string;
5973
5931
  apiSecret: string;
5974
5932
  }>>;
5975
- line: z.ZodOptional<z.ZodObject<{
5976
- channelId: z.ZodString;
5977
- channelSecret: z.ZodString;
5978
- }, "strip", z.ZodTypeAny, {
5979
- channelId: string;
5980
- channelSecret: string;
5981
- }, {
5982
- channelId: string;
5983
- channelSecret: string;
5984
- }>>;
5985
5933
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5986
5934
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
5987
5935
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -6012,10 +5960,6 @@ export declare const chatContract: {
6012
5960
  mobileNumber: string;
6013
5961
  apiSecret: string;
6014
5962
  } | undefined;
6015
- line?: {
6016
- channelId: string;
6017
- channelSecret: string;
6018
- } | undefined;
6019
5963
  lineRichMenuId?: string | null | undefined;
6020
5964
  messengerIntegrationType?: "own" | "business" | undefined;
6021
5965
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -6046,10 +5990,6 @@ export declare const chatContract: {
6046
5990
  mobileNumber: string;
6047
5991
  apiSecret: string;
6048
5992
  } | undefined;
6049
- line?: {
6050
- channelId: string;
6051
- channelSecret: string;
6052
- } | undefined;
6053
5993
  lineRichMenuId?: string | null | undefined;
6054
5994
  messengerIntegrationType?: "own" | "business" | undefined;
6055
5995
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -6314,10 +6254,6 @@ export declare const chatContract: {
6314
6254
  mobileNumber: string;
6315
6255
  apiSecret: string;
6316
6256
  } | undefined;
6317
- line?: {
6318
- channelId: string;
6319
- channelSecret: string;
6320
- } | undefined;
6321
6257
  lineRichMenuId?: string | null | undefined;
6322
6258
  messengerIntegrationType?: "own" | "business" | undefined;
6323
6259
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -6413,10 +6349,6 @@ export declare const chatContract: {
6413
6349
  mobileNumber: string;
6414
6350
  apiSecret: string;
6415
6351
  } | undefined;
6416
- line?: {
6417
- channelId: string;
6418
- channelSecret: string;
6419
- } | undefined;
6420
6352
  lineRichMenuId?: string | null | undefined;
6421
6353
  messengerIntegrationType?: "own" | "business" | undefined;
6422
6354
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -6673,16 +6605,6 @@ export declare const chatContract: {
6673
6605
  createdAt: Date;
6674
6606
  updatedAt: Date;
6675
6607
  deletedAt: Date | null;
6676
- tags: {
6677
- name: string;
6678
- id: string;
6679
- createdAt: Date;
6680
- updatedAt: Date;
6681
- deletedAt: Date | null;
6682
- }[];
6683
- callFrom: string | null;
6684
- callTo: string | null;
6685
- note: string | null;
6686
6608
  categories: {
6687
6609
  id: string;
6688
6610
  value: string;
@@ -6705,6 +6627,16 @@ export declare const chatContract: {
6705
6627
  }[];
6706
6628
  }[];
6707
6629
  }[];
6630
+ tags: {
6631
+ name: string;
6632
+ id: string;
6633
+ createdAt: Date;
6634
+ updatedAt: Date;
6635
+ deletedAt: Date | null;
6636
+ }[];
6637
+ callFrom: string | null;
6638
+ callTo: string | null;
6639
+ note: string | null;
6708
6640
  customFields?: {
6709
6641
  id: string;
6710
6642
  createdAt: Date;
@@ -6724,16 +6656,6 @@ export declare const chatContract: {
6724
6656
  createdAt: Date;
6725
6657
  updatedAt: Date;
6726
6658
  deletedAt: Date | null;
6727
- tags: {
6728
- name: string;
6729
- id: string;
6730
- createdAt: Date;
6731
- updatedAt: Date;
6732
- deletedAt: Date | null;
6733
- }[];
6734
- callFrom: string | null;
6735
- callTo: string | null;
6736
- note: string | null;
6737
6659
  categories: {
6738
6660
  id: string;
6739
6661
  value: string;
@@ -6756,6 +6678,16 @@ export declare const chatContract: {
6756
6678
  }[];
6757
6679
  }[];
6758
6680
  }[];
6681
+ tags: {
6682
+ name: string;
6683
+ id: string;
6684
+ createdAt: Date;
6685
+ updatedAt: Date;
6686
+ deletedAt: Date | null;
6687
+ }[];
6688
+ callFrom: string | null;
6689
+ callTo: string | null;
6690
+ note: string | null;
6759
6691
  customFields?: {
6760
6692
  id: string;
6761
6693
  createdAt: Date;
@@ -6864,16 +6796,6 @@ export declare const chatContract: {
6864
6796
  createdAt: Date;
6865
6797
  updatedAt: Date;
6866
6798
  deletedAt: Date | null;
6867
- tags: {
6868
- name: string;
6869
- id: string;
6870
- createdAt: Date;
6871
- updatedAt: Date;
6872
- deletedAt: Date | null;
6873
- }[];
6874
- callFrom: string | null;
6875
- callTo: string | null;
6876
- note: string | null;
6877
6799
  categories: {
6878
6800
  id: string;
6879
6801
  value: string;
@@ -6896,6 +6818,16 @@ export declare const chatContract: {
6896
6818
  }[];
6897
6819
  }[];
6898
6820
  }[];
6821
+ tags: {
6822
+ name: string;
6823
+ id: string;
6824
+ createdAt: Date;
6825
+ updatedAt: Date;
6826
+ deletedAt: Date | null;
6827
+ }[];
6828
+ callFrom: string | null;
6829
+ callTo: string | null;
6830
+ note: string | null;
6899
6831
  customFields?: {
6900
6832
  id: string;
6901
6833
  createdAt: Date;
@@ -6954,16 +6886,6 @@ export declare const chatContract: {
6954
6886
  createdAt: Date;
6955
6887
  updatedAt: Date;
6956
6888
  deletedAt: Date | null;
6957
- tags: {
6958
- name: string;
6959
- id: string;
6960
- createdAt: Date;
6961
- updatedAt: Date;
6962
- deletedAt: Date | null;
6963
- }[];
6964
- callFrom: string | null;
6965
- callTo: string | null;
6966
- note: string | null;
6967
6889
  categories: {
6968
6890
  id: string;
6969
6891
  value: string;
@@ -6986,6 +6908,16 @@ export declare const chatContract: {
6986
6908
  }[];
6987
6909
  }[];
6988
6910
  }[];
6911
+ tags: {
6912
+ name: string;
6913
+ id: string;
6914
+ createdAt: Date;
6915
+ updatedAt: Date;
6916
+ deletedAt: Date | null;
6917
+ }[];
6918
+ callFrom: string | null;
6919
+ callTo: string | null;
6920
+ note: string | null;
6989
6921
  customFields?: {
6990
6922
  id: string;
6991
6923
  createdAt: Date;
@@ -7076,10 +7008,6 @@ export declare const chatContract: {
7076
7008
  mobileNumber: string;
7077
7009
  apiSecret: string;
7078
7010
  } | undefined;
7079
- line?: {
7080
- channelId: string;
7081
- channelSecret: string;
7082
- } | undefined;
7083
7011
  lineRichMenuId?: string | null | undefined;
7084
7012
  messengerIntegrationType?: "own" | "business" | undefined;
7085
7013
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -7403,16 +7331,6 @@ export declare const chatContract: {
7403
7331
  createdAt: Date;
7404
7332
  updatedAt: Date;
7405
7333
  deletedAt: Date | null;
7406
- tags: {
7407
- name: string;
7408
- id: string;
7409
- createdAt: Date;
7410
- updatedAt: Date;
7411
- deletedAt: Date | null;
7412
- }[];
7413
- callFrom: string | null;
7414
- callTo: string | null;
7415
- note: string | null;
7416
7334
  categories: {
7417
7335
  id: string;
7418
7336
  value: string;
@@ -7435,6 +7353,16 @@ export declare const chatContract: {
7435
7353
  }[];
7436
7354
  }[];
7437
7355
  }[];
7356
+ tags: {
7357
+ name: string;
7358
+ id: string;
7359
+ createdAt: Date;
7360
+ updatedAt: Date;
7361
+ deletedAt: Date | null;
7362
+ }[];
7363
+ callFrom: string | null;
7364
+ callTo: string | null;
7365
+ note: string | null;
7438
7366
  customFields?: {
7439
7367
  id: string;
7440
7368
  createdAt: Date;
@@ -7509,10 +7437,6 @@ export declare const chatContract: {
7509
7437
  mobileNumber: string;
7510
7438
  apiSecret: string;
7511
7439
  } | undefined;
7512
- line?: {
7513
- channelId: string;
7514
- channelSecret: string;
7515
- } | undefined;
7516
7440
  lineRichMenuId?: string | null | undefined;
7517
7441
  messengerIntegrationType?: "own" | "business" | undefined;
7518
7442
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -7836,16 +7760,6 @@ export declare const chatContract: {
7836
7760
  createdAt: Date;
7837
7761
  updatedAt: Date;
7838
7762
  deletedAt: Date | null;
7839
- tags: {
7840
- name: string;
7841
- id: string;
7842
- createdAt: Date;
7843
- updatedAt: Date;
7844
- deletedAt: Date | null;
7845
- }[];
7846
- callFrom: string | null;
7847
- callTo: string | null;
7848
- note: string | null;
7849
7763
  categories: {
7850
7764
  id: string;
7851
7765
  value: string;
@@ -7868,6 +7782,16 @@ export declare const chatContract: {
7868
7782
  }[];
7869
7783
  }[];
7870
7784
  }[];
7785
+ tags: {
7786
+ name: string;
7787
+ id: string;
7788
+ createdAt: Date;
7789
+ updatedAt: Date;
7790
+ deletedAt: Date | null;
7791
+ }[];
7792
+ callFrom: string | null;
7793
+ callTo: string | null;
7794
+ note: string | null;
7871
7795
  customFields?: {
7872
7796
  id: string;
7873
7797
  createdAt: Date;
@@ -7951,8 +7875,8 @@ export declare const chatContract: {
7951
7875
  updatedAt: z.ZodDate;
7952
7876
  deletedAt: z.ZodNullable<z.ZodDate>;
7953
7877
  message: z.ZodString;
7954
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
7955
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
7878
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7879
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
7956
7880
  readAt: z.ZodDate;
7957
7881
  metadata: z.ZodAny;
7958
7882
  platformId: z.ZodString;
@@ -8610,7 +8534,7 @@ export declare const chatContract: {
8610
8534
  };
8611
8535
  }>;
8612
8536
  }, "strip", z.ZodTypeAny, {
8613
- type: string;
8537
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
8614
8538
  message: string;
8615
8539
  id: string;
8616
8540
  url: string;
@@ -8772,7 +8696,7 @@ export declare const chatContract: {
8772
8696
  metadata?: any;
8773
8697
  template?: any;
8774
8698
  }, {
8775
- type: string;
8699
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
8776
8700
  message: string;
8777
8701
  id: string;
8778
8702
  url: string;
@@ -9574,7 +9498,7 @@ export declare const chatContract: {
9574
9498
  editedMessageid: z.ZodString;
9575
9499
  label: z.ZodOptional<z.ZodString>;
9576
9500
  }, "strip", z.ZodTypeAny, {
9577
- type: string;
9501
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
9578
9502
  message: string;
9579
9503
  id: string;
9580
9504
  url: string;
@@ -9715,10 +9639,6 @@ export declare const chatContract: {
9715
9639
  mobileNumber: string;
9716
9640
  apiSecret: string;
9717
9641
  } | undefined;
9718
- line?: {
9719
- channelId: string;
9720
- channelSecret: string;
9721
- } | undefined;
9722
9642
  lineRichMenuId?: string | null | undefined;
9723
9643
  messengerIntegrationType?: "own" | "business" | undefined;
9724
9644
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -10042,16 +9962,6 @@ export declare const chatContract: {
10042
9962
  createdAt: Date;
10043
9963
  updatedAt: Date;
10044
9964
  deletedAt: Date | null;
10045
- tags: {
10046
- name: string;
10047
- id: string;
10048
- createdAt: Date;
10049
- updatedAt: Date;
10050
- deletedAt: Date | null;
10051
- }[];
10052
- callFrom: string | null;
10053
- callTo: string | null;
10054
- note: string | null;
10055
9965
  categories: {
10056
9966
  id: string;
10057
9967
  value: string;
@@ -10074,6 +9984,16 @@ export declare const chatContract: {
10074
9984
  }[];
10075
9985
  }[];
10076
9986
  }[];
9987
+ tags: {
9988
+ name: string;
9989
+ id: string;
9990
+ createdAt: Date;
9991
+ updatedAt: Date;
9992
+ deletedAt: Date | null;
9993
+ }[];
9994
+ callFrom: string | null;
9995
+ callTo: string | null;
9996
+ note: string | null;
10077
9997
  customFields?: {
10078
9998
  id: string;
10079
9999
  createdAt: Date;
@@ -10133,7 +10053,7 @@ export declare const chatContract: {
10133
10053
  previewUrl: string;
10134
10054
  imageSetId: string;
10135
10055
  repliedMessage: {
10136
- type: string;
10056
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10137
10057
  message: string;
10138
10058
  id: string;
10139
10059
  url: string;
@@ -10344,7 +10264,7 @@ export declare const chatContract: {
10344
10264
  template?: any;
10345
10265
  label?: string | undefined;
10346
10266
  }, {
10347
- type: string;
10267
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10348
10268
  message: string;
10349
10269
  id: string;
10350
10270
  url: string;
@@ -10485,10 +10405,6 @@ export declare const chatContract: {
10485
10405
  mobileNumber: string;
10486
10406
  apiSecret: string;
10487
10407
  } | undefined;
10488
- line?: {
10489
- channelId: string;
10490
- channelSecret: string;
10491
- } | undefined;
10492
10408
  lineRichMenuId?: string | null | undefined;
10493
10409
  messengerIntegrationType?: "own" | "business" | undefined;
10494
10410
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -10812,16 +10728,6 @@ export declare const chatContract: {
10812
10728
  createdAt: Date;
10813
10729
  updatedAt: Date;
10814
10730
  deletedAt: Date | null;
10815
- tags: {
10816
- name: string;
10817
- id: string;
10818
- createdAt: Date;
10819
- updatedAt: Date;
10820
- deletedAt: Date | null;
10821
- }[];
10822
- callFrom: string | null;
10823
- callTo: string | null;
10824
- note: string | null;
10825
10731
  categories: {
10826
10732
  id: string;
10827
10733
  value: string;
@@ -10844,6 +10750,16 @@ export declare const chatContract: {
10844
10750
  }[];
10845
10751
  }[];
10846
10752
  }[];
10753
+ tags: {
10754
+ name: string;
10755
+ id: string;
10756
+ createdAt: Date;
10757
+ updatedAt: Date;
10758
+ deletedAt: Date | null;
10759
+ }[];
10760
+ callFrom: string | null;
10761
+ callTo: string | null;
10762
+ note: string | null;
10847
10763
  customFields?: {
10848
10764
  id: string;
10849
10765
  createdAt: Date;
@@ -10903,7 +10819,7 @@ export declare const chatContract: {
10903
10819
  previewUrl: string;
10904
10820
  imageSetId: string;
10905
10821
  repliedMessage: {
10906
- type: string;
10822
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10907
10823
  message: string;
10908
10824
  id: string;
10909
10825
  url: string;
@@ -11116,7 +11032,7 @@ export declare const chatContract: {
11116
11032
  }>;
11117
11033
  }, "strip", z.ZodTypeAny, {
11118
11034
  data: {
11119
- type: string;
11035
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11120
11036
  message: string;
11121
11037
  id: string;
11122
11038
  url: string;
@@ -11257,10 +11173,6 @@ export declare const chatContract: {
11257
11173
  mobileNumber: string;
11258
11174
  apiSecret: string;
11259
11175
  } | undefined;
11260
- line?: {
11261
- channelId: string;
11262
- channelSecret: string;
11263
- } | undefined;
11264
11176
  lineRichMenuId?: string | null | undefined;
11265
11177
  messengerIntegrationType?: "own" | "business" | undefined;
11266
11178
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -11584,16 +11496,6 @@ export declare const chatContract: {
11584
11496
  createdAt: Date;
11585
11497
  updatedAt: Date;
11586
11498
  deletedAt: Date | null;
11587
- tags: {
11588
- name: string;
11589
- id: string;
11590
- createdAt: Date;
11591
- updatedAt: Date;
11592
- deletedAt: Date | null;
11593
- }[];
11594
- callFrom: string | null;
11595
- callTo: string | null;
11596
- note: string | null;
11597
11499
  categories: {
11598
11500
  id: string;
11599
11501
  value: string;
@@ -11616,6 +11518,16 @@ export declare const chatContract: {
11616
11518
  }[];
11617
11519
  }[];
11618
11520
  }[];
11521
+ tags: {
11522
+ name: string;
11523
+ id: string;
11524
+ createdAt: Date;
11525
+ updatedAt: Date;
11526
+ deletedAt: Date | null;
11527
+ }[];
11528
+ callFrom: string | null;
11529
+ callTo: string | null;
11530
+ note: string | null;
11619
11531
  customFields?: {
11620
11532
  id: string;
11621
11533
  createdAt: Date;
@@ -11675,7 +11587,7 @@ export declare const chatContract: {
11675
11587
  previewUrl: string;
11676
11588
  imageSetId: string;
11677
11589
  repliedMessage: {
11678
- type: string;
11590
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11679
11591
  message: string;
11680
11592
  id: string;
11681
11593
  url: string;
@@ -11889,7 +11801,7 @@ export declare const chatContract: {
11889
11801
  requestId: string;
11890
11802
  }, {
11891
11803
  data: {
11892
- type: string;
11804
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11893
11805
  message: string;
11894
11806
  id: string;
11895
11807
  url: string;
@@ -12030,10 +11942,6 @@ export declare const chatContract: {
12030
11942
  mobileNumber: string;
12031
11943
  apiSecret: string;
12032
11944
  } | undefined;
12033
- line?: {
12034
- channelId: string;
12035
- channelSecret: string;
12036
- } | undefined;
12037
11945
  lineRichMenuId?: string | null | undefined;
12038
11946
  messengerIntegrationType?: "own" | "business" | undefined;
12039
11947
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -12357,16 +12265,6 @@ export declare const chatContract: {
12357
12265
  createdAt: Date;
12358
12266
  updatedAt: Date;
12359
12267
  deletedAt: Date | null;
12360
- tags: {
12361
- name: string;
12362
- id: string;
12363
- createdAt: Date;
12364
- updatedAt: Date;
12365
- deletedAt: Date | null;
12366
- }[];
12367
- callFrom: string | null;
12368
- callTo: string | null;
12369
- note: string | null;
12370
12268
  categories: {
12371
12269
  id: string;
12372
12270
  value: string;
@@ -12389,6 +12287,16 @@ export declare const chatContract: {
12389
12287
  }[];
12390
12288
  }[];
12391
12289
  }[];
12290
+ tags: {
12291
+ name: string;
12292
+ id: string;
12293
+ createdAt: Date;
12294
+ updatedAt: Date;
12295
+ deletedAt: Date | null;
12296
+ }[];
12297
+ callFrom: string | null;
12298
+ callTo: string | null;
12299
+ note: string | null;
12392
12300
  customFields?: {
12393
12301
  id: string;
12394
12302
  createdAt: Date;
@@ -12448,7 +12356,7 @@ export declare const chatContract: {
12448
12356
  previewUrl: string;
12449
12357
  imageSetId: string;
12450
12358
  repliedMessage: {
12451
- type: string;
12359
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12452
12360
  message: string;
12453
12361
  id: string;
12454
12362
  url: string;
@@ -12772,16 +12680,6 @@ export declare const chatContract: {
12772
12680
  mobileNumber: string;
12773
12681
  apiSecret: string;
12774
12682
  }>>;
12775
- line: z.ZodOptional<z.ZodObject<{
12776
- channelId: z.ZodString;
12777
- channelSecret: z.ZodString;
12778
- }, "strip", z.ZodTypeAny, {
12779
- channelId: string;
12780
- channelSecret: string;
12781
- }, {
12782
- channelId: string;
12783
- channelSecret: string;
12784
- }>>;
12785
12683
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12786
12684
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
12787
12685
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -12812,10 +12710,6 @@ export declare const chatContract: {
12812
12710
  mobileNumber: string;
12813
12711
  apiSecret: string;
12814
12712
  } | undefined;
12815
- line?: {
12816
- channelId: string;
12817
- channelSecret: string;
12818
- } | undefined;
12819
12713
  lineRichMenuId?: string | null | undefined;
12820
12714
  messengerIntegrationType?: "own" | "business" | undefined;
12821
12715
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -12846,10 +12740,6 @@ export declare const chatContract: {
12846
12740
  mobileNumber: string;
12847
12741
  apiSecret: string;
12848
12742
  } | undefined;
12849
- line?: {
12850
- channelId: string;
12851
- channelSecret: string;
12852
- } | undefined;
12853
12743
  lineRichMenuId?: string | null | undefined;
12854
12744
  messengerIntegrationType?: "own" | "business" | undefined;
12855
12745
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -13114,10 +13004,6 @@ export declare const chatContract: {
13114
13004
  mobileNumber: string;
13115
13005
  apiSecret: string;
13116
13006
  } | undefined;
13117
- line?: {
13118
- channelId: string;
13119
- channelSecret: string;
13120
- } | undefined;
13121
13007
  lineRichMenuId?: string | null | undefined;
13122
13008
  messengerIntegrationType?: "own" | "business" | undefined;
13123
13009
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -13213,10 +13099,6 @@ export declare const chatContract: {
13213
13099
  mobileNumber: string;
13214
13100
  apiSecret: string;
13215
13101
  } | undefined;
13216
- line?: {
13217
- channelId: string;
13218
- channelSecret: string;
13219
- } | undefined;
13220
13102
  lineRichMenuId?: string | null | undefined;
13221
13103
  messengerIntegrationType?: "own" | "business" | undefined;
13222
13104
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -13283,7 +13165,7 @@ export declare const chatContract: {
13283
13165
  integrationId: string;
13284
13166
  } | null;
13285
13167
  }>;
13286
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
13168
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
13287
13169
  status: z.ZodNumber;
13288
13170
  createdAt: z.ZodDate;
13289
13171
  updatedAt: z.ZodDate;
@@ -14943,16 +14825,6 @@ export declare const chatContract: {
14943
14825
  createdAt: Date;
14944
14826
  updatedAt: Date;
14945
14827
  deletedAt: Date | null;
14946
- tags: {
14947
- name: string;
14948
- id: string;
14949
- createdAt: Date;
14950
- updatedAt: Date;
14951
- deletedAt: Date | null;
14952
- }[];
14953
- callFrom: string | null;
14954
- callTo: string | null;
14955
- note: string | null;
14956
14828
  categories: {
14957
14829
  id: string;
14958
14830
  value: string;
@@ -14975,6 +14847,16 @@ export declare const chatContract: {
14975
14847
  }[];
14976
14848
  }[];
14977
14849
  }[];
14850
+ tags: {
14851
+ name: string;
14852
+ id: string;
14853
+ createdAt: Date;
14854
+ updatedAt: Date;
14855
+ deletedAt: Date | null;
14856
+ }[];
14857
+ callFrom: string | null;
14858
+ callTo: string | null;
14859
+ note: string | null;
14978
14860
  customFields?: {
14979
14861
  id: string;
14980
14862
  createdAt: Date;
@@ -14994,16 +14876,6 @@ export declare const chatContract: {
14994
14876
  createdAt: Date;
14995
14877
  updatedAt: Date;
14996
14878
  deletedAt: Date | null;
14997
- tags: {
14998
- name: string;
14999
- id: string;
15000
- createdAt: Date;
15001
- updatedAt: Date;
15002
- deletedAt: Date | null;
15003
- }[];
15004
- callFrom: string | null;
15005
- callTo: string | null;
15006
- note: string | null;
15007
14879
  categories: {
15008
14880
  id: string;
15009
14881
  value: string;
@@ -15026,6 +14898,16 @@ export declare const chatContract: {
15026
14898
  }[];
15027
14899
  }[];
15028
14900
  }[];
14901
+ tags: {
14902
+ name: string;
14903
+ id: string;
14904
+ createdAt: Date;
14905
+ updatedAt: Date;
14906
+ deletedAt: Date | null;
14907
+ }[];
14908
+ callFrom: string | null;
14909
+ callTo: string | null;
14910
+ note: string | null;
15029
14911
  customFields?: {
15030
14912
  id: string;
15031
14913
  createdAt: Date;
@@ -15134,16 +15016,6 @@ export declare const chatContract: {
15134
15016
  createdAt: Date;
15135
15017
  updatedAt: Date;
15136
15018
  deletedAt: Date | null;
15137
- tags: {
15138
- name: string;
15139
- id: string;
15140
- createdAt: Date;
15141
- updatedAt: Date;
15142
- deletedAt: Date | null;
15143
- }[];
15144
- callFrom: string | null;
15145
- callTo: string | null;
15146
- note: string | null;
15147
15019
  categories: {
15148
15020
  id: string;
15149
15021
  value: string;
@@ -15166,6 +15038,16 @@ export declare const chatContract: {
15166
15038
  }[];
15167
15039
  }[];
15168
15040
  }[];
15041
+ tags: {
15042
+ name: string;
15043
+ id: string;
15044
+ createdAt: Date;
15045
+ updatedAt: Date;
15046
+ deletedAt: Date | null;
15047
+ }[];
15048
+ callFrom: string | null;
15049
+ callTo: string | null;
15050
+ note: string | null;
15169
15051
  customFields?: {
15170
15052
  id: string;
15171
15053
  createdAt: Date;
@@ -15224,16 +15106,6 @@ export declare const chatContract: {
15224
15106
  createdAt: Date;
15225
15107
  updatedAt: Date;
15226
15108
  deletedAt: Date | null;
15227
- tags: {
15228
- name: string;
15229
- id: string;
15230
- createdAt: Date;
15231
- updatedAt: Date;
15232
- deletedAt: Date | null;
15233
- }[];
15234
- callFrom: string | null;
15235
- callTo: string | null;
15236
- note: string | null;
15237
15109
  categories: {
15238
15110
  id: string;
15239
15111
  value: string;
@@ -15256,6 +15128,16 @@ export declare const chatContract: {
15256
15128
  }[];
15257
15129
  }[];
15258
15130
  }[];
15131
+ tags: {
15132
+ name: string;
15133
+ id: string;
15134
+ createdAt: Date;
15135
+ updatedAt: Date;
15136
+ deletedAt: Date | null;
15137
+ }[];
15138
+ callFrom: string | null;
15139
+ callTo: string | null;
15140
+ note: string | null;
15259
15141
  customFields?: {
15260
15142
  id: string;
15261
15143
  createdAt: Date;
@@ -15347,10 +15229,6 @@ export declare const chatContract: {
15347
15229
  mobileNumber: string;
15348
15230
  apiSecret: string;
15349
15231
  } | undefined;
15350
- line?: {
15351
- channelId: string;
15352
- channelSecret: string;
15353
- } | undefined;
15354
15232
  lineRichMenuId?: string | null | undefined;
15355
15233
  messengerIntegrationType?: "own" | "business" | undefined;
15356
15234
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -15674,16 +15552,6 @@ export declare const chatContract: {
15674
15552
  createdAt: Date;
15675
15553
  updatedAt: Date;
15676
15554
  deletedAt: Date | null;
15677
- tags: {
15678
- name: string;
15679
- id: string;
15680
- createdAt: Date;
15681
- updatedAt: Date;
15682
- deletedAt: Date | null;
15683
- }[];
15684
- callFrom: string | null;
15685
- callTo: string | null;
15686
- note: string | null;
15687
15555
  categories: {
15688
15556
  id: string;
15689
15557
  value: string;
@@ -15706,6 +15574,16 @@ export declare const chatContract: {
15706
15574
  }[];
15707
15575
  }[];
15708
15576
  }[];
15577
+ tags: {
15578
+ name: string;
15579
+ id: string;
15580
+ createdAt: Date;
15581
+ updatedAt: Date;
15582
+ deletedAt: Date | null;
15583
+ }[];
15584
+ callFrom: string | null;
15585
+ callTo: string | null;
15586
+ note: string | null;
15709
15587
  customFields?: {
15710
15588
  id: string;
15711
15589
  createdAt: Date;
@@ -15781,10 +15659,6 @@ export declare const chatContract: {
15781
15659
  mobileNumber: string;
15782
15660
  apiSecret: string;
15783
15661
  } | undefined;
15784
- line?: {
15785
- channelId: string;
15786
- channelSecret: string;
15787
- } | undefined;
15788
15662
  lineRichMenuId?: string | null | undefined;
15789
15663
  messengerIntegrationType?: "own" | "business" | undefined;
15790
15664
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -16108,16 +15982,6 @@ export declare const chatContract: {
16108
15982
  createdAt: Date;
16109
15983
  updatedAt: Date;
16110
15984
  deletedAt: Date | null;
16111
- tags: {
16112
- name: string;
16113
- id: string;
16114
- createdAt: Date;
16115
- updatedAt: Date;
16116
- deletedAt: Date | null;
16117
- }[];
16118
- callFrom: string | null;
16119
- callTo: string | null;
16120
- note: string | null;
16121
15985
  categories: {
16122
15986
  id: string;
16123
15987
  value: string;
@@ -16140,6 +16004,16 @@ export declare const chatContract: {
16140
16004
  }[];
16141
16005
  }[];
16142
16006
  }[];
16007
+ tags: {
16008
+ name: string;
16009
+ id: string;
16010
+ createdAt: Date;
16011
+ updatedAt: Date;
16012
+ deletedAt: Date | null;
16013
+ }[];
16014
+ callFrom: string | null;
16015
+ callTo: string | null;
16016
+ note: string | null;
16143
16017
  customFields?: {
16144
16018
  id: string;
16145
16019
  createdAt: Date;
@@ -16217,10 +16091,6 @@ export declare const chatContract: {
16217
16091
  mobileNumber: string;
16218
16092
  apiSecret: string;
16219
16093
  } | undefined;
16220
- line?: {
16221
- channelId: string;
16222
- channelSecret: string;
16223
- } | undefined;
16224
16094
  lineRichMenuId?: string | null | undefined;
16225
16095
  messengerIntegrationType?: "own" | "business" | undefined;
16226
16096
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -16544,16 +16414,6 @@ export declare const chatContract: {
16544
16414
  createdAt: Date;
16545
16415
  updatedAt: Date;
16546
16416
  deletedAt: Date | null;
16547
- tags: {
16548
- name: string;
16549
- id: string;
16550
- createdAt: Date;
16551
- updatedAt: Date;
16552
- deletedAt: Date | null;
16553
- }[];
16554
- callFrom: string | null;
16555
- callTo: string | null;
16556
- note: string | null;
16557
16417
  categories: {
16558
16418
  id: string;
16559
16419
  value: string;
@@ -16576,6 +16436,16 @@ export declare const chatContract: {
16576
16436
  }[];
16577
16437
  }[];
16578
16438
  }[];
16439
+ tags: {
16440
+ name: string;
16441
+ id: string;
16442
+ createdAt: Date;
16443
+ updatedAt: Date;
16444
+ deletedAt: Date | null;
16445
+ }[];
16446
+ callFrom: string | null;
16447
+ callTo: string | null;
16448
+ note: string | null;
16579
16449
  customFields?: {
16580
16450
  id: string;
16581
16451
  createdAt: Date;
@@ -16654,10 +16524,6 @@ export declare const chatContract: {
16654
16524
  mobileNumber: string;
16655
16525
  apiSecret: string;
16656
16526
  } | undefined;
16657
- line?: {
16658
- channelId: string;
16659
- channelSecret: string;
16660
- } | undefined;
16661
16527
  lineRichMenuId?: string | null | undefined;
16662
16528
  messengerIntegrationType?: "own" | "business" | undefined;
16663
16529
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -16981,16 +16847,6 @@ export declare const chatContract: {
16981
16847
  createdAt: Date;
16982
16848
  updatedAt: Date;
16983
16849
  deletedAt: Date | null;
16984
- tags: {
16985
- name: string;
16986
- id: string;
16987
- createdAt: Date;
16988
- updatedAt: Date;
16989
- deletedAt: Date | null;
16990
- }[];
16991
- callFrom: string | null;
16992
- callTo: string | null;
16993
- note: string | null;
16994
16850
  categories: {
16995
16851
  id: string;
16996
16852
  value: string;
@@ -17013,6 +16869,16 @@ export declare const chatContract: {
17013
16869
  }[];
17014
16870
  }[];
17015
16871
  }[];
16872
+ tags: {
16873
+ name: string;
16874
+ id: string;
16875
+ createdAt: Date;
16876
+ updatedAt: Date;
16877
+ deletedAt: Date | null;
16878
+ }[];
16879
+ callFrom: string | null;
16880
+ callTo: string | null;
16881
+ note: string | null;
17016
16882
  customFields?: {
17017
16883
  id: string;
17018
16884
  createdAt: Date;