@kl1/contracts 1.3.34 → 1.3.36

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 (78) hide show
  1. package/dist/api-contracts/src/automation-queue/index.d.ts +3 -0
  2. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/botpress/index.d.ts +2 -2
  4. package/dist/api-contracts/src/channel/index.d.ts +1570 -28
  5. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  6. package/dist/api-contracts/src/channel/schema.d.ts +44 -0
  7. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  8. package/dist/api-contracts/src/channel/validation.d.ts +65 -0
  9. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  10. package/dist/api-contracts/src/chat/index.d.ts +1285 -211
  11. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  12. package/dist/api-contracts/src/chat/schema.d.ts +312 -63
  13. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  14. package/dist/api-contracts/src/chat/validation.d.ts +455 -69
  15. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  16. package/dist/api-contracts/src/contract.d.ts +8805 -2879
  17. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  18. package/dist/api-contracts/src/cx-log/index.d.ts +62 -1
  19. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  20. package/dist/api-contracts/src/cx-log/schema.d.ts +46 -1
  21. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  22. package/dist/api-contracts/src/cx-log/validation.d.ts +3 -0
  23. package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
  24. package/dist/api-contracts/src/dashboard/index.d.ts +960 -30
  25. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/dashboard/schema.d.ts +167 -9
  27. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  28. package/dist/api-contracts/src/dashboard/validation.d.ts +30 -1
  29. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  30. package/dist/api-contracts/src/export/index.d.ts +2 -0
  31. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  32. package/dist/api-contracts/src/export/validation.d.ts +3 -0
  33. package/dist/api-contracts/src/export/validation.d.ts.map +1 -0
  34. package/dist/api-contracts/src/facebook-feed/index.d.ts +561 -53
  35. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/facebook-feed/schema.d.ts +37 -3
  37. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/facebook-feed/validation.d.ts +26 -0
  39. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  40. package/dist/api-contracts/src/index.d.ts +2 -0
  41. package/dist/api-contracts/src/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/instagram/index.d.ts +439 -41
  43. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/line/index.d.ts +402 -48
  45. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/line/validation.d.ts +49 -7
  47. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  48. package/dist/api-contracts/src/messenger/index.d.ts +439 -41
  49. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  50. package/dist/api-contracts/src/messenger/validation.d.ts +26 -0
  51. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  52. package/dist/api-contracts/src/presence-status/index.d.ts +1 -421
  53. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  54. package/dist/api-contracts/src/presence-status/schema.d.ts +0 -369
  55. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  56. package/dist/api-contracts/src/sms/index.d.ts +185 -7
  57. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  58. package/dist/api-contracts/src/telegram/index.d.ts +327 -41
  59. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  60. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +0 -430
  61. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  62. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +0 -3
  63. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  64. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  65. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  66. package/dist/api-contracts/src/viber/index.d.ts +327 -41
  67. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  68. package/dist/api-contracts/src/webchat/index.d.ts +327 -41
  69. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  70. package/dist/api-contracts/src/whatsapp/index.d.ts +379 -41
  71. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  72. package/dist/api-contracts/src/workflow-rule/index.d.ts +151 -17
  73. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  74. package/dist/index.js +642 -321
  75. package/dist/index.js.map +1 -1
  76. package/dist/index.mjs +640 -321
  77. package/dist/index.mjs.map +1 -1
  78. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import z from 'zod';
2
2
  import { DefaultQueryParamsSchema } from '../base-contract';
3
3
  import { FeedPostSchema } from '../facebook-feed/schema';
4
- import { MessageRelevanceSchema, MessageSchema, MessageWithFeedPostSchema, OrderQueryParamSchema, RoomSchema } from './schema';
4
+ import { MessageDirectionTypeSchema, MessageRelevanceSchema, MessageSchema, MessageTypeSchema, MessageWithFeedPostSchema, OrderQueryParamSchema, RoomSchema } from './schema';
5
5
  import { ActionMessageSchema, ChannelSchema, DeleteMessageToPlatformSchema, GetRoomsSchema, InitiateMessageSchema, LineStickerSchema, ReceiveMessageSchema, ReloginChanelSchema, SearchRoomsSchema, SendMessageResponseSchema, SendMessageSchema, SendMessageToPlatformSchema, SendMessageWithActionTypeSchema, SolveRoomSchema, UpdateAssigneeByWorkflowSchema, UpdateAssigneeSchema, UpdateRoomAttributesSchema, UpdateRoomTagsAndNotesSchema, UpdateUnAssignRoomsSchema } from './validation';
6
6
  export type GetRoomRequest = z.infer<typeof GetRoomsSchema>;
7
7
  export type UpdateRoomAttributesRequest = z.infer<typeof UpdateRoomAttributesSchema>;
@@ -25,6 +25,8 @@ export type ReceiveMessageRequest = z.infer<typeof ReceiveMessageSchema>;
25
25
  export type GetMessagesResponse = z.infer<typeof DefaultQueryParamsSchema>;
26
26
  export type RoomSchemaType = z.infer<typeof RoomSchema>;
27
27
  export type MessageSchemaType = z.infer<typeof MessageSchema>;
28
+ export type MessageType = z.infer<typeof MessageTypeSchema>;
29
+ export type MessageDirectionType = z.infer<typeof MessageDirectionTypeSchema>;
28
30
  export type MessageWithFeedPostSchemaType = z.infer<typeof MessageWithFeedPostSchema>;
29
31
  export type LineStickerRequestType = z.infer<typeof LineStickerSchema>;
30
32
  export type MessageRelevanceType = z.infer<typeof MessageRelevanceSchema>;
@@ -39,8 +41,8 @@ export declare const receiveMessageContract: {
39
41
  updatedAt: z.ZodString;
40
42
  deletedAt: z.ZodNullable<z.ZodString>;
41
43
  message: z.ZodOptional<z.ZodString>;
42
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
43
- 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"]>;
44
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
45
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
44
46
  metadata: z.ZodAny;
45
47
  platformId: z.ZodString;
46
48
  platformMessageId: z.ZodString;
@@ -62,7 +64,7 @@ export declare const receiveMessageContract: {
62
64
  firstResponseAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
65
  firstResponseTime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
64
66
  isLatest: z.ZodOptional<z.ZodBoolean>;
65
- direction: z.ZodOptional<z.ZodEnum<["incoming", "outgoing", "system"]>>;
67
+ direction: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>>;
66
68
  platformContact: z.ZodOptional<z.ZodObject<{
67
69
  id: z.ZodString;
68
70
  createdAt: z.ZodString;
@@ -1469,6 +1471,16 @@ export declare const receiveMessageContract: {
1469
1471
  mobileNumber: string;
1470
1472
  apiSecret: string;
1471
1473
  }>>;
1474
+ line: z.ZodOptional<z.ZodObject<{
1475
+ channelId: z.ZodString;
1476
+ channelSecret: z.ZodString;
1477
+ }, "strip", z.ZodTypeAny, {
1478
+ channelId: string;
1479
+ channelSecret: string;
1480
+ }, {
1481
+ channelId: string;
1482
+ channelSecret: string;
1483
+ }>>;
1472
1484
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1473
1485
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1474
1486
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -1499,6 +1511,10 @@ export declare const receiveMessageContract: {
1499
1511
  mobileNumber: string;
1500
1512
  apiSecret: string;
1501
1513
  } | undefined;
1514
+ line?: {
1515
+ channelId: string;
1516
+ channelSecret: string;
1517
+ } | undefined;
1502
1518
  lineRichMenuId?: string | null | undefined;
1503
1519
  messengerIntegrationType?: "own" | "business" | undefined;
1504
1520
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1529,6 +1545,10 @@ export declare const receiveMessageContract: {
1529
1545
  mobileNumber: string;
1530
1546
  apiSecret: string;
1531
1547
  } | undefined;
1548
+ line?: {
1549
+ channelId: string;
1550
+ channelSecret: string;
1551
+ } | undefined;
1532
1552
  lineRichMenuId?: string | null | undefined;
1533
1553
  messengerIntegrationType?: "own" | "business" | undefined;
1534
1554
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1589,6 +1609,10 @@ export declare const receiveMessageContract: {
1589
1609
  mobileNumber: string;
1590
1610
  apiSecret: string;
1591
1611
  } | undefined;
1612
+ line?: {
1613
+ channelId: string;
1614
+ channelSecret: string;
1615
+ } | undefined;
1592
1616
  lineRichMenuId?: string | null | undefined;
1593
1617
  messengerIntegrationType?: "own" | "business" | undefined;
1594
1618
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1637,6 +1661,10 @@ export declare const receiveMessageContract: {
1637
1661
  mobileNumber: string;
1638
1662
  apiSecret: string;
1639
1663
  } | undefined;
1664
+ line?: {
1665
+ channelId: string;
1666
+ channelSecret: string;
1667
+ } | undefined;
1640
1668
  lineRichMenuId?: string | null | undefined;
1641
1669
  messengerIntegrationType?: "own" | "business" | undefined;
1642
1670
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2434,6 +2462,10 @@ export declare const receiveMessageContract: {
2434
2462
  mobileNumber: string;
2435
2463
  apiSecret: string;
2436
2464
  } | undefined;
2465
+ line?: {
2466
+ channelId: string;
2467
+ channelSecret: string;
2468
+ } | undefined;
2437
2469
  lineRichMenuId?: string | null | undefined;
2438
2470
  messengerIntegrationType?: "own" | "business" | undefined;
2439
2471
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2787,6 +2819,10 @@ export declare const receiveMessageContract: {
2787
2819
  mobileNumber: string;
2788
2820
  apiSecret: string;
2789
2821
  } | undefined;
2822
+ line?: {
2823
+ channelId: string;
2824
+ channelSecret: string;
2825
+ } | undefined;
2790
2826
  lineRichMenuId?: string | null | undefined;
2791
2827
  messengerIntegrationType?: "own" | "business" | undefined;
2792
2828
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3546,7 +3582,7 @@ export declare const receiveMessageContract: {
3546
3582
  }>>>;
3547
3583
  label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3548
3584
  }, "strip", z.ZodTypeAny, {
3549
- 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";
3585
+ type: string;
3550
3586
  id: string;
3551
3587
  direction: "incoming" | "outgoing" | "system";
3552
3588
  createdAt: string;
@@ -3796,6 +3832,10 @@ export declare const receiveMessageContract: {
3796
3832
  mobileNumber: string;
3797
3833
  apiSecret: string;
3798
3834
  } | undefined;
3835
+ line?: {
3836
+ channelId: string;
3837
+ channelSecret: string;
3838
+ } | undefined;
3799
3839
  lineRichMenuId?: string | null | undefined;
3800
3840
  messengerIntegrationType?: "own" | "business" | undefined;
3801
3841
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -4062,7 +4102,7 @@ export declare const receiveMessageContract: {
4062
4102
  } | null | undefined;
4063
4103
  label?: string | null | undefined;
4064
4104
  }, {
4065
- 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";
4105
+ type: string;
4066
4106
  id: string;
4067
4107
  direction: "incoming" | "outgoing" | "system";
4068
4108
  createdAt: string;
@@ -4312,6 +4352,10 @@ export declare const receiveMessageContract: {
4312
4352
  mobileNumber: string;
4313
4353
  apiSecret: string;
4314
4354
  } | undefined;
4355
+ line?: {
4356
+ channelId: string;
4357
+ channelSecret: string;
4358
+ } | undefined;
4315
4359
  lineRichMenuId?: string | null | undefined;
4316
4360
  messengerIntegrationType?: "own" | "business" | undefined;
4317
4361
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -4580,7 +4624,7 @@ export declare const receiveMessageContract: {
4580
4624
  }>;
4581
4625
  }, "strip", z.ZodTypeAny, {
4582
4626
  message: {
4583
- 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";
4627
+ type: string;
4584
4628
  id: string;
4585
4629
  direction: "incoming" | "outgoing" | "system";
4586
4630
  createdAt: string;
@@ -4830,6 +4874,10 @@ export declare const receiveMessageContract: {
4830
4874
  mobileNumber: string;
4831
4875
  apiSecret: string;
4832
4876
  } | undefined;
4877
+ line?: {
4878
+ channelId: string;
4879
+ channelSecret: string;
4880
+ } | undefined;
4833
4881
  lineRichMenuId?: string | null | undefined;
4834
4882
  messengerIntegrationType?: "own" | "business" | undefined;
4835
4883
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -5098,7 +5146,7 @@ export declare const receiveMessageContract: {
5098
5146
  };
5099
5147
  }, {
5100
5148
  message: {
5101
- 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";
5149
+ type: string;
5102
5150
  id: string;
5103
5151
  direction: "incoming" | "outgoing" | "system";
5104
5152
  createdAt: string;
@@ -5348,6 +5396,10 @@ export declare const receiveMessageContract: {
5348
5396
  mobileNumber: string;
5349
5397
  apiSecret: string;
5350
5398
  } | undefined;
5399
+ line?: {
5400
+ channelId: string;
5401
+ channelSecret: string;
5402
+ } | undefined;
5351
5403
  lineRichMenuId?: string | null | undefined;
5352
5404
  messengerIntegrationType?: "own" | "business" | undefined;
5353
5405
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -5663,7 +5715,7 @@ export declare const mainFeedContract: {
5663
5715
  updatedAt: z.ZodDate;
5664
5716
  deletedAt: z.ZodNullable<z.ZodDate>;
5665
5717
  message: z.ZodNullable<z.ZodString>;
5666
- type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, 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"]>]>;
5718
+ type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>]>;
5667
5719
  metadata: z.ZodAny;
5668
5720
  platformId: z.ZodString;
5669
5721
  platformMessageId: z.ZodString;
@@ -5738,6 +5790,16 @@ export declare const mainFeedContract: {
5738
5790
  mobileNumber: string;
5739
5791
  apiSecret: string;
5740
5792
  }>>;
5793
+ line: z.ZodOptional<z.ZodObject<{
5794
+ channelId: z.ZodString;
5795
+ channelSecret: z.ZodString;
5796
+ }, "strip", z.ZodTypeAny, {
5797
+ channelId: string;
5798
+ channelSecret: string;
5799
+ }, {
5800
+ channelId: string;
5801
+ channelSecret: string;
5802
+ }>>;
5741
5803
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5742
5804
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
5743
5805
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -5768,6 +5830,10 @@ export declare const mainFeedContract: {
5768
5830
  mobileNumber: string;
5769
5831
  apiSecret: string;
5770
5832
  } | undefined;
5833
+ line?: {
5834
+ channelId: string;
5835
+ channelSecret: string;
5836
+ } | undefined;
5771
5837
  lineRichMenuId?: string | null | undefined;
5772
5838
  messengerIntegrationType?: "own" | "business" | undefined;
5773
5839
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -5798,6 +5864,10 @@ export declare const mainFeedContract: {
5798
5864
  mobileNumber: string;
5799
5865
  apiSecret: string;
5800
5866
  } | undefined;
5867
+ line?: {
5868
+ channelId: string;
5869
+ channelSecret: string;
5870
+ } | undefined;
5801
5871
  lineRichMenuId?: string | null | undefined;
5802
5872
  messengerIntegrationType?: "own" | "business" | undefined;
5803
5873
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -6062,6 +6132,10 @@ export declare const mainFeedContract: {
6062
6132
  mobileNumber: string;
6063
6133
  apiSecret: string;
6064
6134
  } | undefined;
6135
+ line?: {
6136
+ channelId: string;
6137
+ channelSecret: string;
6138
+ } | undefined;
6065
6139
  lineRichMenuId?: string | null | undefined;
6066
6140
  messengerIntegrationType?: "own" | "business" | undefined;
6067
6141
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -6157,6 +6231,10 @@ export declare const mainFeedContract: {
6157
6231
  mobileNumber: string;
6158
6232
  apiSecret: string;
6159
6233
  } | undefined;
6234
+ line?: {
6235
+ channelId: string;
6236
+ channelSecret: string;
6237
+ } | undefined;
6160
6238
  lineRichMenuId?: string | null | undefined;
6161
6239
  messengerIntegrationType?: "own" | "business" | undefined;
6162
6240
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -7476,7 +7554,7 @@ export declare const mainFeedContract: {
7476
7554
  }>;
7477
7555
  permalinkURL: z.ZodString;
7478
7556
  }, "strip", z.ZodTypeAny, {
7479
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "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";
7557
+ type: string;
7480
7558
  message: string | null;
7481
7559
  id: string;
7482
7560
  channel: {
@@ -7509,6 +7587,10 @@ export declare const mainFeedContract: {
7509
7587
  mobileNumber: string;
7510
7588
  apiSecret: string;
7511
7589
  } | undefined;
7590
+ line?: {
7591
+ channelId: string;
7592
+ channelSecret: string;
7593
+ } | undefined;
7512
7594
  lineRichMenuId?: string | null | undefined;
7513
7595
  messengerIntegrationType?: "own" | "business" | undefined;
7514
7596
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -7758,7 +7840,7 @@ export declare const mainFeedContract: {
7758
7840
  metadata?: any;
7759
7841
  template?: any;
7760
7842
  }, {
7761
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "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";
7843
+ type: string;
7762
7844
  message: string | null;
7763
7845
  id: string;
7764
7846
  channel: {
@@ -7791,6 +7873,10 @@ export declare const mainFeedContract: {
7791
7873
  mobileNumber: string;
7792
7874
  apiSecret: string;
7793
7875
  } | undefined;
7876
+ line?: {
7877
+ channelId: string;
7878
+ channelSecret: string;
7879
+ } | undefined;
7794
7880
  lineRichMenuId?: string | null | undefined;
7795
7881
  messengerIntegrationType?: "own" | "business" | undefined;
7796
7882
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -8042,7 +8128,7 @@ export declare const mainFeedContract: {
8042
8128
  }>;
8043
8129
  }, "strip", z.ZodTypeAny, {
8044
8130
  data: {
8045
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "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";
8131
+ type: string;
8046
8132
  message: string | null;
8047
8133
  id: string;
8048
8134
  channel: {
@@ -8075,6 +8161,10 @@ export declare const mainFeedContract: {
8075
8161
  mobileNumber: string;
8076
8162
  apiSecret: string;
8077
8163
  } | undefined;
8164
+ line?: {
8165
+ channelId: string;
8166
+ channelSecret: string;
8167
+ } | undefined;
8078
8168
  lineRichMenuId?: string | null | undefined;
8079
8169
  messengerIntegrationType?: "own" | "business" | undefined;
8080
8170
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -8327,7 +8417,7 @@ export declare const mainFeedContract: {
8327
8417
  requestId: string;
8328
8418
  }, {
8329
8419
  data: {
8330
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "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";
8420
+ type: string;
8331
8421
  message: string | null;
8332
8422
  id: string;
8333
8423
  channel: {
@@ -8360,6 +8450,10 @@ export declare const mainFeedContract: {
8360
8450
  mobileNumber: string;
8361
8451
  apiSecret: string;
8362
8452
  } | undefined;
8453
+ line?: {
8454
+ channelId: string;
8455
+ channelSecret: string;
8456
+ } | undefined;
8363
8457
  lineRichMenuId?: string | null | undefined;
8364
8458
  messengerIntegrationType?: "own" | "business" | undefined;
8365
8459
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -8657,11 +8751,11 @@ export declare const mainFeedContract: {
8657
8751
  page: z.ZodNumber;
8658
8752
  pageSize: z.ZodNumber;
8659
8753
  data: z.ZodObject<{
8660
- 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"]>;
8754
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
8661
8755
  message: z.ZodString;
8662
8756
  id: z.ZodString;
8663
8757
  url: z.ZodString;
8664
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
8758
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
8665
8759
  label: z.ZodOptional<z.ZodString>;
8666
8760
  template: z.ZodAny;
8667
8761
  metadata: z.ZodAny;
@@ -9126,7 +9220,7 @@ export declare const mainFeedContract: {
9126
9220
  firstResponseTime: z.ZodNumber;
9127
9221
  isLatest: z.ZodBoolean;
9128
9222
  isBotRoom: z.ZodBoolean;
9129
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
9223
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
9130
9224
  platformContact: z.ZodObject<{
9131
9225
  id: z.ZodString;
9132
9226
  createdAt: z.ZodDate;
@@ -10650,6 +10744,16 @@ export declare const mainFeedContract: {
10650
10744
  mobileNumber: string;
10651
10745
  apiSecret: string;
10652
10746
  }>>;
10747
+ line: z.ZodOptional<z.ZodObject<{
10748
+ channelId: z.ZodString;
10749
+ channelSecret: z.ZodString;
10750
+ }, "strip", z.ZodTypeAny, {
10751
+ channelId: string;
10752
+ channelSecret: string;
10753
+ }, {
10754
+ channelId: string;
10755
+ channelSecret: string;
10756
+ }>>;
10653
10757
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10654
10758
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
10655
10759
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -10680,6 +10784,10 @@ export declare const mainFeedContract: {
10680
10784
  mobileNumber: string;
10681
10785
  apiSecret: string;
10682
10786
  } | undefined;
10787
+ line?: {
10788
+ channelId: string;
10789
+ channelSecret: string;
10790
+ } | undefined;
10683
10791
  lineRichMenuId?: string | null | undefined;
10684
10792
  messengerIntegrationType?: "own" | "business" | undefined;
10685
10793
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -10710,6 +10818,10 @@ export declare const mainFeedContract: {
10710
10818
  mobileNumber: string;
10711
10819
  apiSecret: string;
10712
10820
  } | undefined;
10821
+ line?: {
10822
+ channelId: string;
10823
+ channelSecret: string;
10824
+ } | undefined;
10713
10825
  lineRichMenuId?: string | null | undefined;
10714
10826
  messengerIntegrationType?: "own" | "business" | undefined;
10715
10827
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -10974,6 +11086,10 @@ export declare const mainFeedContract: {
10974
11086
  mobileNumber: string;
10975
11087
  apiSecret: string;
10976
11088
  } | undefined;
11089
+ line?: {
11090
+ channelId: string;
11091
+ channelSecret: string;
11092
+ } | undefined;
10977
11093
  lineRichMenuId?: string | null | undefined;
10978
11094
  messengerIntegrationType?: "own" | "business" | undefined;
10979
11095
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -11069,6 +11185,10 @@ export declare const mainFeedContract: {
11069
11185
  mobileNumber: string;
11070
11186
  apiSecret: string;
11071
11187
  } | undefined;
11188
+ line?: {
11189
+ channelId: string;
11190
+ channelSecret: string;
11191
+ } | undefined;
11072
11192
  lineRichMenuId?: string | null | undefined;
11073
11193
  messengerIntegrationType?: "own" | "business" | undefined;
11074
11194
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -11728,6 +11848,10 @@ export declare const mainFeedContract: {
11728
11848
  mobileNumber: string;
11729
11849
  apiSecret: string;
11730
11850
  } | undefined;
11851
+ line?: {
11852
+ channelId: string;
11853
+ channelSecret: string;
11854
+ } | undefined;
11731
11855
  lineRichMenuId?: string | null | undefined;
11732
11856
  messengerIntegrationType?: "own" | "business" | undefined;
11733
11857
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -12157,6 +12281,10 @@ export declare const mainFeedContract: {
12157
12281
  mobileNumber: string;
12158
12282
  apiSecret: string;
12159
12283
  } | undefined;
12284
+ line?: {
12285
+ channelId: string;
12286
+ channelSecret: string;
12287
+ } | undefined;
12160
12288
  lineRichMenuId?: string | null | undefined;
12161
12289
  messengerIntegrationType?: "own" | "business" | undefined;
12162
12290
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -12592,8 +12720,8 @@ export declare const mainFeedContract: {
12592
12720
  updatedAt: z.ZodDate;
12593
12721
  deletedAt: z.ZodNullable<z.ZodDate>;
12594
12722
  message: z.ZodString;
12595
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
12596
- 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"]>;
12723
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
12724
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
12597
12725
  readAt: z.ZodDate;
12598
12726
  metadata: z.ZodAny;
12599
12727
  platformId: z.ZodString;
@@ -13251,7 +13379,7 @@ export declare const mainFeedContract: {
13251
13379
  };
13252
13380
  }>;
13253
13381
  }, "strip", z.ZodTypeAny, {
13254
- 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";
13382
+ type: string;
13255
13383
  message: string;
13256
13384
  id: string;
13257
13385
  url: string;
@@ -13413,7 +13541,7 @@ export declare const mainFeedContract: {
13413
13541
  metadata?: any;
13414
13542
  template?: any;
13415
13543
  }, {
13416
- 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";
13544
+ type: string;
13417
13545
  message: string;
13418
13546
  id: string;
13419
13547
  url: string;
@@ -14833,8 +14961,8 @@ export declare const mainFeedContract: {
14833
14961
  updatedAt: z.ZodDate;
14834
14962
  deletedAt: z.ZodNullable<z.ZodDate>;
14835
14963
  message: z.ZodString;
14836
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
14837
- 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"]>;
14964
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
14965
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
14838
14966
  readAt: z.ZodDate;
14839
14967
  metadata: z.ZodAny;
14840
14968
  platformId: z.ZodString;
@@ -14860,7 +14988,7 @@ export declare const mainFeedContract: {
14860
14988
  firstResponseTime: z.ZodNumber;
14861
14989
  isLatest: z.ZodBoolean;
14862
14990
  isBotRoom: z.ZodBoolean;
14863
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
14991
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
14864
14992
  platformContact: z.ZodObject<{
14865
14993
  id: z.ZodString;
14866
14994
  createdAt: z.ZodDate;
@@ -16384,6 +16512,16 @@ export declare const mainFeedContract: {
16384
16512
  mobileNumber: string;
16385
16513
  apiSecret: string;
16386
16514
  }>>;
16515
+ line: z.ZodOptional<z.ZodObject<{
16516
+ channelId: z.ZodString;
16517
+ channelSecret: z.ZodString;
16518
+ }, "strip", z.ZodTypeAny, {
16519
+ channelId: string;
16520
+ channelSecret: string;
16521
+ }, {
16522
+ channelId: string;
16523
+ channelSecret: string;
16524
+ }>>;
16387
16525
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16388
16526
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
16389
16527
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -16414,6 +16552,10 @@ export declare const mainFeedContract: {
16414
16552
  mobileNumber: string;
16415
16553
  apiSecret: string;
16416
16554
  } | undefined;
16555
+ line?: {
16556
+ channelId: string;
16557
+ channelSecret: string;
16558
+ } | undefined;
16417
16559
  lineRichMenuId?: string | null | undefined;
16418
16560
  messengerIntegrationType?: "own" | "business" | undefined;
16419
16561
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -16444,6 +16586,10 @@ export declare const mainFeedContract: {
16444
16586
  mobileNumber: string;
16445
16587
  apiSecret: string;
16446
16588
  } | undefined;
16589
+ line?: {
16590
+ channelId: string;
16591
+ channelSecret: string;
16592
+ } | undefined;
16447
16593
  lineRichMenuId?: string | null | undefined;
16448
16594
  messengerIntegrationType?: "own" | "business" | undefined;
16449
16595
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -16708,6 +16854,10 @@ export declare const mainFeedContract: {
16708
16854
  mobileNumber: string;
16709
16855
  apiSecret: string;
16710
16856
  } | undefined;
16857
+ line?: {
16858
+ channelId: string;
16859
+ channelSecret: string;
16860
+ } | undefined;
16711
16861
  lineRichMenuId?: string | null | undefined;
16712
16862
  messengerIntegrationType?: "own" | "business" | undefined;
16713
16863
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -16803,6 +16953,10 @@ export declare const mainFeedContract: {
16803
16953
  mobileNumber: string;
16804
16954
  apiSecret: string;
16805
16955
  } | undefined;
16956
+ line?: {
16957
+ channelId: string;
16958
+ channelSecret: string;
16959
+ } | undefined;
16806
16960
  lineRichMenuId?: string | null | undefined;
16807
16961
  messengerIntegrationType?: "own" | "business" | undefined;
16808
16962
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -17462,6 +17616,10 @@ export declare const mainFeedContract: {
17462
17616
  mobileNumber: string;
17463
17617
  apiSecret: string;
17464
17618
  } | undefined;
17619
+ line?: {
17620
+ channelId: string;
17621
+ channelSecret: string;
17622
+ } | undefined;
17465
17623
  lineRichMenuId?: string | null | undefined;
17466
17624
  messengerIntegrationType?: "own" | "business" | undefined;
17467
17625
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -17891,6 +18049,10 @@ export declare const mainFeedContract: {
17891
18049
  mobileNumber: string;
17892
18050
  apiSecret: string;
17893
18051
  } | undefined;
18052
+ line?: {
18053
+ channelId: string;
18054
+ channelSecret: string;
18055
+ } | undefined;
17894
18056
  lineRichMenuId?: string | null | undefined;
17895
18057
  messengerIntegrationType?: "own" | "business" | undefined;
17896
18058
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -18329,8 +18491,8 @@ export declare const mainFeedContract: {
18329
18491
  updatedAt: z.ZodDate;
18330
18492
  deletedAt: z.ZodNullable<z.ZodDate>;
18331
18493
  message: z.ZodString;
18332
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
18333
- 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"]>;
18494
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
18495
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
18334
18496
  readAt: z.ZodDate;
18335
18497
  metadata: z.ZodAny;
18336
18498
  platformId: z.ZodString;
@@ -18988,7 +19150,7 @@ export declare const mainFeedContract: {
18988
19150
  };
18989
19151
  }>;
18990
19152
  }, "strip", z.ZodTypeAny, {
18991
- 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";
19153
+ type: string;
18992
19154
  message: string;
18993
19155
  id: string;
18994
19156
  url: string;
@@ -19150,7 +19312,7 @@ export declare const mainFeedContract: {
19150
19312
  metadata?: any;
19151
19313
  template?: any;
19152
19314
  }, {
19153
- 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";
19315
+ type: string;
19154
19316
  message: string;
19155
19317
  id: string;
19156
19318
  url: string;
@@ -19952,7 +20114,7 @@ export declare const mainFeedContract: {
19952
20114
  editedMessageid: z.ZodString;
19953
20115
  label: z.ZodOptional<z.ZodString>;
19954
20116
  }, "strip", z.ZodTypeAny, {
19955
- 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";
20117
+ type: string;
19956
20118
  message: string;
19957
20119
  id: string;
19958
20120
  url: string;
@@ -20093,6 +20255,10 @@ export declare const mainFeedContract: {
20093
20255
  mobileNumber: string;
20094
20256
  apiSecret: string;
20095
20257
  } | undefined;
20258
+ line?: {
20259
+ channelId: string;
20260
+ channelSecret: string;
20261
+ } | undefined;
20096
20262
  lineRichMenuId?: string | null | undefined;
20097
20263
  messengerIntegrationType?: "own" | "business" | undefined;
20098
20264
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20507,7 +20673,7 @@ export declare const mainFeedContract: {
20507
20673
  previewUrl: string;
20508
20674
  imageSetId: string;
20509
20675
  repliedMessage: {
20510
- 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";
20676
+ type: string;
20511
20677
  message: string;
20512
20678
  id: string;
20513
20679
  url: string;
@@ -20718,7 +20884,7 @@ export declare const mainFeedContract: {
20718
20884
  template?: any;
20719
20885
  label?: string | undefined;
20720
20886
  }, {
20721
- 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";
20887
+ type: string;
20722
20888
  message: string;
20723
20889
  id: string;
20724
20890
  url: string;
@@ -20859,6 +21025,10 @@ export declare const mainFeedContract: {
20859
21025
  mobileNumber: string;
20860
21026
  apiSecret: string;
20861
21027
  } | undefined;
21028
+ line?: {
21029
+ channelId: string;
21030
+ channelSecret: string;
21031
+ } | undefined;
20862
21032
  lineRichMenuId?: string | null | undefined;
20863
21033
  messengerIntegrationType?: "own" | "business" | undefined;
20864
21034
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -21273,7 +21443,7 @@ export declare const mainFeedContract: {
21273
21443
  previewUrl: string;
21274
21444
  imageSetId: string;
21275
21445
  repliedMessage: {
21276
- 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";
21446
+ type: string;
21277
21447
  message: string;
21278
21448
  id: string;
21279
21449
  url: string;
@@ -21485,13 +21655,13 @@ export declare const mainFeedContract: {
21485
21655
  label?: string | undefined;
21486
21656
  }>, "many">;
21487
21657
  }, "strip", z.ZodTypeAny, {
21488
- 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";
21658
+ type: string;
21489
21659
  message: string;
21490
21660
  id: string;
21491
21661
  url: string;
21492
21662
  direction: "incoming" | "outgoing" | "system";
21493
21663
  children: {
21494
- 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";
21664
+ type: string;
21495
21665
  message: string;
21496
21666
  id: string;
21497
21667
  url: string;
@@ -21632,6 +21802,10 @@ export declare const mainFeedContract: {
21632
21802
  mobileNumber: string;
21633
21803
  apiSecret: string;
21634
21804
  } | undefined;
21805
+ line?: {
21806
+ channelId: string;
21807
+ channelSecret: string;
21808
+ } | undefined;
21635
21809
  lineRichMenuId?: string | null | undefined;
21636
21810
  messengerIntegrationType?: "own" | "business" | undefined;
21637
21811
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -22046,7 +22220,7 @@ export declare const mainFeedContract: {
22046
22220
  previewUrl: string;
22047
22221
  imageSetId: string;
22048
22222
  repliedMessage: {
22049
- 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";
22223
+ type: string;
22050
22224
  message: string;
22051
22225
  id: string;
22052
22226
  url: string;
@@ -22393,6 +22567,10 @@ export declare const mainFeedContract: {
22393
22567
  mobileNumber: string;
22394
22568
  apiSecret: string;
22395
22569
  } | undefined;
22570
+ line?: {
22571
+ channelId: string;
22572
+ channelSecret: string;
22573
+ } | undefined;
22396
22574
  lineRichMenuId?: string | null | undefined;
22397
22575
  messengerIntegrationType?: "own" | "business" | undefined;
22398
22576
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -22807,7 +22985,7 @@ export declare const mainFeedContract: {
22807
22985
  previewUrl: string;
22808
22986
  imageSetId: string;
22809
22987
  repliedMessage: {
22810
- 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";
22988
+ type: string;
22811
22989
  message: string;
22812
22990
  id: string;
22813
22991
  url: string;
@@ -23145,13 +23323,13 @@ export declare const mainFeedContract: {
23145
23323
  template?: any;
23146
23324
  metadata?: any;
23147
23325
  }, {
23148
- 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";
23326
+ type: string;
23149
23327
  message: string;
23150
23328
  id: string;
23151
23329
  url: string;
23152
23330
  direction: "incoming" | "outgoing" | "system";
23153
23331
  children: {
23154
- 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";
23332
+ type: string;
23155
23333
  message: string;
23156
23334
  id: string;
23157
23335
  url: string;
@@ -23292,6 +23470,10 @@ export declare const mainFeedContract: {
23292
23470
  mobileNumber: string;
23293
23471
  apiSecret: string;
23294
23472
  } | undefined;
23473
+ line?: {
23474
+ channelId: string;
23475
+ channelSecret: string;
23476
+ } | undefined;
23295
23477
  lineRichMenuId?: string | null | undefined;
23296
23478
  messengerIntegrationType?: "own" | "business" | undefined;
23297
23479
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -23706,7 +23888,7 @@ export declare const mainFeedContract: {
23706
23888
  previewUrl: string;
23707
23889
  imageSetId: string;
23708
23890
  repliedMessage: {
23709
- 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";
23891
+ type: string;
23710
23892
  message: string;
23711
23893
  id: string;
23712
23894
  url: string;
@@ -24053,6 +24235,10 @@ export declare const mainFeedContract: {
24053
24235
  mobileNumber: string;
24054
24236
  apiSecret: string;
24055
24237
  } | undefined;
24238
+ line?: {
24239
+ channelId: string;
24240
+ channelSecret: string;
24241
+ } | undefined;
24056
24242
  lineRichMenuId?: string | null | undefined;
24057
24243
  messengerIntegrationType?: "own" | "business" | undefined;
24058
24244
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -24467,7 +24653,7 @@ export declare const mainFeedContract: {
24467
24653
  previewUrl: string;
24468
24654
  imageSetId: string;
24469
24655
  repliedMessage: {
24470
- 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";
24656
+ type: string;
24471
24657
  message: string;
24472
24658
  id: string;
24473
24659
  url: string;
@@ -24807,13 +24993,13 @@ export declare const mainFeedContract: {
24807
24993
  }>;
24808
24994
  }, "strip", z.ZodTypeAny, {
24809
24995
  data: {
24810
- 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";
24996
+ type: string;
24811
24997
  message: string;
24812
24998
  id: string;
24813
24999
  url: string;
24814
25000
  direction: "incoming" | "outgoing" | "system";
24815
25001
  children: {
24816
- 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";
25002
+ type: string;
24817
25003
  message: string;
24818
25004
  id: string;
24819
25005
  url: string;
@@ -24954,6 +25140,10 @@ export declare const mainFeedContract: {
24954
25140
  mobileNumber: string;
24955
25141
  apiSecret: string;
24956
25142
  } | undefined;
25143
+ line?: {
25144
+ channelId: string;
25145
+ channelSecret: string;
25146
+ } | undefined;
24957
25147
  lineRichMenuId?: string | null | undefined;
24958
25148
  messengerIntegrationType?: "own" | "business" | undefined;
24959
25149
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -25368,7 +25558,7 @@ export declare const mainFeedContract: {
25368
25558
  previewUrl: string;
25369
25559
  imageSetId: string;
25370
25560
  repliedMessage: {
25371
- 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";
25561
+ type: string;
25372
25562
  message: string;
25373
25563
  id: string;
25374
25564
  url: string;
@@ -25715,6 +25905,10 @@ export declare const mainFeedContract: {
25715
25905
  mobileNumber: string;
25716
25906
  apiSecret: string;
25717
25907
  } | undefined;
25908
+ line?: {
25909
+ channelId: string;
25910
+ channelSecret: string;
25911
+ } | undefined;
25718
25912
  lineRichMenuId?: string | null | undefined;
25719
25913
  messengerIntegrationType?: "own" | "business" | undefined;
25720
25914
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -26129,7 +26323,7 @@ export declare const mainFeedContract: {
26129
26323
  previewUrl: string;
26130
26324
  imageSetId: string;
26131
26325
  repliedMessage: {
26132
- 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";
26326
+ type: string;
26133
26327
  message: string;
26134
26328
  id: string;
26135
26329
  url: string;
@@ -26473,13 +26667,13 @@ export declare const mainFeedContract: {
26473
26667
  requestId: string;
26474
26668
  }, {
26475
26669
  data: {
26476
- 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";
26670
+ type: string;
26477
26671
  message: string;
26478
26672
  id: string;
26479
26673
  url: string;
26480
26674
  direction: "incoming" | "outgoing" | "system";
26481
26675
  children: {
26482
- 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";
26676
+ type: string;
26483
26677
  message: string;
26484
26678
  id: string;
26485
26679
  url: string;
@@ -26620,6 +26814,10 @@ export declare const mainFeedContract: {
26620
26814
  mobileNumber: string;
26621
26815
  apiSecret: string;
26622
26816
  } | undefined;
26817
+ line?: {
26818
+ channelId: string;
26819
+ channelSecret: string;
26820
+ } | undefined;
26623
26821
  lineRichMenuId?: string | null | undefined;
26624
26822
  messengerIntegrationType?: "own" | "business" | undefined;
26625
26823
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -27034,7 +27232,7 @@ export declare const mainFeedContract: {
27034
27232
  previewUrl: string;
27035
27233
  imageSetId: string;
27036
27234
  repliedMessage: {
27037
- 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";
27235
+ type: string;
27038
27236
  message: string;
27039
27237
  id: string;
27040
27238
  url: string;
@@ -27381,6 +27579,10 @@ export declare const mainFeedContract: {
27381
27579
  mobileNumber: string;
27382
27580
  apiSecret: string;
27383
27581
  } | undefined;
27582
+ line?: {
27583
+ channelId: string;
27584
+ channelSecret: string;
27585
+ } | undefined;
27384
27586
  lineRichMenuId?: string | null | undefined;
27385
27587
  messengerIntegrationType?: "own" | "business" | undefined;
27386
27588
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -27795,7 +27997,7 @@ export declare const mainFeedContract: {
27795
27997
  previewUrl: string;
27796
27998
  imageSetId: string;
27797
27999
  repliedMessage: {
27798
- 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";
28000
+ type: string;
27799
28001
  message: string;
27800
28002
  id: string;
27801
28003
  url: string;
@@ -28317,7 +28519,7 @@ export declare const mainChatRoomContract: {
28317
28519
  firstResponseTime: z.ZodNumber;
28318
28520
  isLatest: z.ZodBoolean;
28319
28521
  isBotRoom: z.ZodBoolean;
28320
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
28522
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
28321
28523
  platformContact: z.ZodObject<{
28322
28524
  id: z.ZodString;
28323
28525
  createdAt: z.ZodDate;
@@ -29841,6 +30043,16 @@ export declare const mainChatRoomContract: {
29841
30043
  mobileNumber: string;
29842
30044
  apiSecret: string;
29843
30045
  }>>;
30046
+ line: z.ZodOptional<z.ZodObject<{
30047
+ channelId: z.ZodString;
30048
+ channelSecret: z.ZodString;
30049
+ }, "strip", z.ZodTypeAny, {
30050
+ channelId: string;
30051
+ channelSecret: string;
30052
+ }, {
30053
+ channelId: string;
30054
+ channelSecret: string;
30055
+ }>>;
29844
30056
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29845
30057
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
29846
30058
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -29871,6 +30083,10 @@ export declare const mainChatRoomContract: {
29871
30083
  mobileNumber: string;
29872
30084
  apiSecret: string;
29873
30085
  } | undefined;
30086
+ line?: {
30087
+ channelId: string;
30088
+ channelSecret: string;
30089
+ } | undefined;
29874
30090
  lineRichMenuId?: string | null | undefined;
29875
30091
  messengerIntegrationType?: "own" | "business" | undefined;
29876
30092
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -29901,6 +30117,10 @@ export declare const mainChatRoomContract: {
29901
30117
  mobileNumber: string;
29902
30118
  apiSecret: string;
29903
30119
  } | undefined;
30120
+ line?: {
30121
+ channelId: string;
30122
+ channelSecret: string;
30123
+ } | undefined;
29904
30124
  lineRichMenuId?: string | null | undefined;
29905
30125
  messengerIntegrationType?: "own" | "business" | undefined;
29906
30126
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -30165,6 +30385,10 @@ export declare const mainChatRoomContract: {
30165
30385
  mobileNumber: string;
30166
30386
  apiSecret: string;
30167
30387
  } | undefined;
30388
+ line?: {
30389
+ channelId: string;
30390
+ channelSecret: string;
30391
+ } | undefined;
30168
30392
  lineRichMenuId?: string | null | undefined;
30169
30393
  messengerIntegrationType?: "own" | "business" | undefined;
30170
30394
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -30260,6 +30484,10 @@ export declare const mainChatRoomContract: {
30260
30484
  mobileNumber: string;
30261
30485
  apiSecret: string;
30262
30486
  } | undefined;
30487
+ line?: {
30488
+ channelId: string;
30489
+ channelSecret: string;
30490
+ } | undefined;
30263
30491
  lineRichMenuId?: string | null | undefined;
30264
30492
  messengerIntegrationType?: "own" | "business" | undefined;
30265
30493
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -30919,6 +31147,10 @@ export declare const mainChatRoomContract: {
30919
31147
  mobileNumber: string;
30920
31148
  apiSecret: string;
30921
31149
  } | undefined;
31150
+ line?: {
31151
+ channelId: string;
31152
+ channelSecret: string;
31153
+ } | undefined;
30922
31154
  lineRichMenuId?: string | null | undefined;
30923
31155
  messengerIntegrationType?: "own" | "business" | undefined;
30924
31156
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -31348,6 +31580,10 @@ export declare const mainChatRoomContract: {
31348
31580
  mobileNumber: string;
31349
31581
  apiSecret: string;
31350
31582
  } | undefined;
31583
+ line?: {
31584
+ channelId: string;
31585
+ channelSecret: string;
31586
+ } | undefined;
31351
31587
  lineRichMenuId?: string | null | undefined;
31352
31588
  messengerIntegrationType?: "own" | "business" | undefined;
31353
31589
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -31789,6 +32025,10 @@ export declare const mainChatRoomContract: {
31789
32025
  mobileNumber: string;
31790
32026
  apiSecret: string;
31791
32027
  } | undefined;
32028
+ line?: {
32029
+ channelId: string;
32030
+ channelSecret: string;
32031
+ } | undefined;
31792
32032
  lineRichMenuId?: string | null | undefined;
31793
32033
  messengerIntegrationType?: "own" | "business" | undefined;
31794
32034
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -32228,6 +32468,10 @@ export declare const mainChatRoomContract: {
32228
32468
  mobileNumber: string;
32229
32469
  apiSecret: string;
32230
32470
  } | undefined;
32471
+ line?: {
32472
+ channelId: string;
32473
+ channelSecret: string;
32474
+ } | undefined;
32231
32475
  lineRichMenuId?: string | null | undefined;
32232
32476
  messengerIntegrationType?: "own" | "business" | undefined;
32233
32477
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -32693,7 +32937,7 @@ export declare const mainChatRoomContract: {
32693
32937
  firstResponseTime: z.ZodNumber;
32694
32938
  isLatest: z.ZodBoolean;
32695
32939
  isBotRoom: z.ZodBoolean;
32696
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
32940
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
32697
32941
  platformContact: z.ZodObject<{
32698
32942
  id: z.ZodString;
32699
32943
  createdAt: z.ZodDate;
@@ -34217,6 +34461,16 @@ export declare const mainChatRoomContract: {
34217
34461
  mobileNumber: string;
34218
34462
  apiSecret: string;
34219
34463
  }>>;
34464
+ line: z.ZodOptional<z.ZodObject<{
34465
+ channelId: z.ZodString;
34466
+ channelSecret: z.ZodString;
34467
+ }, "strip", z.ZodTypeAny, {
34468
+ channelId: string;
34469
+ channelSecret: string;
34470
+ }, {
34471
+ channelId: string;
34472
+ channelSecret: string;
34473
+ }>>;
34220
34474
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
34221
34475
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
34222
34476
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -34247,6 +34501,10 @@ export declare const mainChatRoomContract: {
34247
34501
  mobileNumber: string;
34248
34502
  apiSecret: string;
34249
34503
  } | undefined;
34504
+ line?: {
34505
+ channelId: string;
34506
+ channelSecret: string;
34507
+ } | undefined;
34250
34508
  lineRichMenuId?: string | null | undefined;
34251
34509
  messengerIntegrationType?: "own" | "business" | undefined;
34252
34510
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -34277,6 +34535,10 @@ export declare const mainChatRoomContract: {
34277
34535
  mobileNumber: string;
34278
34536
  apiSecret: string;
34279
34537
  } | undefined;
34538
+ line?: {
34539
+ channelId: string;
34540
+ channelSecret: string;
34541
+ } | undefined;
34280
34542
  lineRichMenuId?: string | null | undefined;
34281
34543
  messengerIntegrationType?: "own" | "business" | undefined;
34282
34544
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -34541,6 +34803,10 @@ export declare const mainChatRoomContract: {
34541
34803
  mobileNumber: string;
34542
34804
  apiSecret: string;
34543
34805
  } | undefined;
34806
+ line?: {
34807
+ channelId: string;
34808
+ channelSecret: string;
34809
+ } | undefined;
34544
34810
  lineRichMenuId?: string | null | undefined;
34545
34811
  messengerIntegrationType?: "own" | "business" | undefined;
34546
34812
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -34636,6 +34902,10 @@ export declare const mainChatRoomContract: {
34636
34902
  mobileNumber: string;
34637
34903
  apiSecret: string;
34638
34904
  } | undefined;
34905
+ line?: {
34906
+ channelId: string;
34907
+ channelSecret: string;
34908
+ } | undefined;
34639
34909
  lineRichMenuId?: string | null | undefined;
34640
34910
  messengerIntegrationType?: "own" | "business" | undefined;
34641
34911
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -35295,6 +35565,10 @@ export declare const mainChatRoomContract: {
35295
35565
  mobileNumber: string;
35296
35566
  apiSecret: string;
35297
35567
  } | undefined;
35568
+ line?: {
35569
+ channelId: string;
35570
+ channelSecret: string;
35571
+ } | undefined;
35298
35572
  lineRichMenuId?: string | null | undefined;
35299
35573
  messengerIntegrationType?: "own" | "business" | undefined;
35300
35574
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -35724,6 +35998,10 @@ export declare const mainChatRoomContract: {
35724
35998
  mobileNumber: string;
35725
35999
  apiSecret: string;
35726
36000
  } | undefined;
36001
+ line?: {
36002
+ channelId: string;
36003
+ channelSecret: string;
36004
+ } | undefined;
35727
36005
  lineRichMenuId?: string | null | undefined;
35728
36006
  messengerIntegrationType?: "own" | "business" | undefined;
35729
36007
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -36124,8 +36402,8 @@ export declare const mainChatRoomContract: {
36124
36402
  }>;
36125
36403
  latestIncomingMessage: z.ZodObject<{
36126
36404
  message: z.ZodString;
36127
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
36128
- 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"]>;
36405
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
36406
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
36129
36407
  readAt: z.ZodDate;
36130
36408
  metadata: z.ZodAny;
36131
36409
  platformId: z.ZodString;
@@ -36137,7 +36415,7 @@ export declare const mainChatRoomContract: {
36137
36415
  previewUrl: z.ZodString;
36138
36416
  imageSetId: z.ZodString;
36139
36417
  }, "strip", z.ZodTypeAny, {
36140
- 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";
36418
+ type: string;
36141
36419
  message: string;
36142
36420
  url: string;
36143
36421
  direction: "incoming" | "outgoing" | "system";
@@ -36151,7 +36429,7 @@ export declare const mainChatRoomContract: {
36151
36429
  metadata?: any;
36152
36430
  template?: any;
36153
36431
  }, {
36154
- 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";
36432
+ type: string;
36155
36433
  message: string;
36156
36434
  url: string;
36157
36435
  direction: "incoming" | "outgoing" | "system";
@@ -36167,8 +36445,8 @@ export declare const mainChatRoomContract: {
36167
36445
  }>;
36168
36446
  latestMessage: z.ZodObject<{
36169
36447
  message: z.ZodString;
36170
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
36171
- 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"]>;
36448
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
36449
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
36172
36450
  readAt: z.ZodDate;
36173
36451
  metadata: z.ZodAny;
36174
36452
  platformId: z.ZodString;
@@ -36180,7 +36458,7 @@ export declare const mainChatRoomContract: {
36180
36458
  previewUrl: z.ZodString;
36181
36459
  imageSetId: z.ZodString;
36182
36460
  }, "strip", z.ZodTypeAny, {
36183
- 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";
36461
+ type: string;
36184
36462
  message: string;
36185
36463
  url: string;
36186
36464
  direction: "incoming" | "outgoing" | "system";
@@ -36194,7 +36472,7 @@ export declare const mainChatRoomContract: {
36194
36472
  metadata?: any;
36195
36473
  template?: any;
36196
36474
  }, {
36197
- 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";
36475
+ type: string;
36198
36476
  message: string;
36199
36477
  url: string;
36200
36478
  direction: "incoming" | "outgoing" | "system";
@@ -36241,6 +36519,10 @@ export declare const mainChatRoomContract: {
36241
36519
  mobileNumber: string;
36242
36520
  apiSecret: string;
36243
36521
  } | undefined;
36522
+ line?: {
36523
+ channelId: string;
36524
+ channelSecret: string;
36525
+ } | undefined;
36244
36526
  lineRichMenuId?: string | null | undefined;
36245
36527
  messengerIntegrationType?: "own" | "business" | undefined;
36246
36528
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -36640,7 +36922,7 @@ export declare const mainChatRoomContract: {
36640
36922
  automationQueueId?: string | null | undefined;
36641
36923
  };
36642
36924
  latestIncomingMessage: {
36643
- 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";
36925
+ type: string;
36644
36926
  message: string;
36645
36927
  url: string;
36646
36928
  direction: "incoming" | "outgoing" | "system";
@@ -36655,7 +36937,7 @@ export declare const mainChatRoomContract: {
36655
36937
  template?: any;
36656
36938
  };
36657
36939
  latestMessage: {
36658
- 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";
36940
+ type: string;
36659
36941
  message: string;
36660
36942
  url: string;
36661
36943
  direction: "incoming" | "outgoing" | "system";
@@ -36702,6 +36984,10 @@ export declare const mainChatRoomContract: {
36702
36984
  mobileNumber: string;
36703
36985
  apiSecret: string;
36704
36986
  } | undefined;
36987
+ line?: {
36988
+ channelId: string;
36989
+ channelSecret: string;
36990
+ } | undefined;
36705
36991
  lineRichMenuId?: string | null | undefined;
36706
36992
  messengerIntegrationType?: "own" | "business" | undefined;
36707
36993
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -37101,7 +37387,7 @@ export declare const mainChatRoomContract: {
37101
37387
  automationQueueId?: string | null | undefined;
37102
37388
  };
37103
37389
  latestIncomingMessage: {
37104
- 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";
37390
+ type: string;
37105
37391
  message: string;
37106
37392
  url: string;
37107
37393
  direction: "incoming" | "outgoing" | "system";
@@ -37116,7 +37402,7 @@ export declare const mainChatRoomContract: {
37116
37402
  template?: any;
37117
37403
  };
37118
37404
  latestMessage: {
37119
- 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";
37405
+ type: string;
37120
37406
  message: string;
37121
37407
  url: string;
37122
37408
  direction: "incoming" | "outgoing" | "system";
@@ -37165,6 +37451,10 @@ export declare const mainChatRoomContract: {
37165
37451
  mobileNumber: string;
37166
37452
  apiSecret: string;
37167
37453
  } | undefined;
37454
+ line?: {
37455
+ channelId: string;
37456
+ channelSecret: string;
37457
+ } | undefined;
37168
37458
  lineRichMenuId?: string | null | undefined;
37169
37459
  messengerIntegrationType?: "own" | "business" | undefined;
37170
37460
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -37564,7 +37854,7 @@ export declare const mainChatRoomContract: {
37564
37854
  automationQueueId?: string | null | undefined;
37565
37855
  };
37566
37856
  latestIncomingMessage: {
37567
- 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";
37857
+ type: string;
37568
37858
  message: string;
37569
37859
  url: string;
37570
37860
  direction: "incoming" | "outgoing" | "system";
@@ -37579,7 +37869,7 @@ export declare const mainChatRoomContract: {
37579
37869
  template?: any;
37580
37870
  };
37581
37871
  latestMessage: {
37582
- 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";
37872
+ type: string;
37583
37873
  message: string;
37584
37874
  url: string;
37585
37875
  direction: "incoming" | "outgoing" | "system";
@@ -37629,6 +37919,10 @@ export declare const mainChatRoomContract: {
37629
37919
  mobileNumber: string;
37630
37920
  apiSecret: string;
37631
37921
  } | undefined;
37922
+ line?: {
37923
+ channelId: string;
37924
+ channelSecret: string;
37925
+ } | undefined;
37632
37926
  lineRichMenuId?: string | null | undefined;
37633
37927
  messengerIntegrationType?: "own" | "business" | undefined;
37634
37928
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -38028,7 +38322,7 @@ export declare const mainChatRoomContract: {
38028
38322
  automationQueueId?: string | null | undefined;
38029
38323
  };
38030
38324
  latestIncomingMessage: {
38031
- 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";
38325
+ type: string;
38032
38326
  message: string;
38033
38327
  url: string;
38034
38328
  direction: "incoming" | "outgoing" | "system";
@@ -38043,7 +38337,7 @@ export declare const mainChatRoomContract: {
38043
38337
  template?: any;
38044
38338
  };
38045
38339
  latestMessage: {
38046
- 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";
38340
+ type: string;
38047
38341
  message: string;
38048
38342
  url: string;
38049
38343
  direction: "incoming" | "outgoing" | "system";
@@ -38174,6 +38468,16 @@ export declare const mainChatRoomContract: {
38174
38468
  mobileNumber: string;
38175
38469
  apiSecret: string;
38176
38470
  }>>;
38471
+ line: z.ZodOptional<z.ZodObject<{
38472
+ channelId: z.ZodString;
38473
+ channelSecret: z.ZodString;
38474
+ }, "strip", z.ZodTypeAny, {
38475
+ channelId: string;
38476
+ channelSecret: string;
38477
+ }, {
38478
+ channelId: string;
38479
+ channelSecret: string;
38480
+ }>>;
38177
38481
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
38178
38482
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
38179
38483
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -38204,6 +38508,10 @@ export declare const mainChatRoomContract: {
38204
38508
  mobileNumber: string;
38205
38509
  apiSecret: string;
38206
38510
  } | undefined;
38511
+ line?: {
38512
+ channelId: string;
38513
+ channelSecret: string;
38514
+ } | undefined;
38207
38515
  lineRichMenuId?: string | null | undefined;
38208
38516
  messengerIntegrationType?: "own" | "business" | undefined;
38209
38517
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -38234,6 +38542,10 @@ export declare const mainChatRoomContract: {
38234
38542
  mobileNumber: string;
38235
38543
  apiSecret: string;
38236
38544
  } | undefined;
38545
+ line?: {
38546
+ channelId: string;
38547
+ channelSecret: string;
38548
+ } | undefined;
38237
38549
  lineRichMenuId?: string | null | undefined;
38238
38550
  messengerIntegrationType?: "own" | "business" | undefined;
38239
38551
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -38498,6 +38810,10 @@ export declare const mainChatRoomContract: {
38498
38810
  mobileNumber: string;
38499
38811
  apiSecret: string;
38500
38812
  } | undefined;
38813
+ line?: {
38814
+ channelId: string;
38815
+ channelSecret: string;
38816
+ } | undefined;
38501
38817
  lineRichMenuId?: string | null | undefined;
38502
38818
  messengerIntegrationType?: "own" | "business" | undefined;
38503
38819
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -38593,6 +38909,10 @@ export declare const mainChatRoomContract: {
38593
38909
  mobileNumber: string;
38594
38910
  apiSecret: string;
38595
38911
  } | undefined;
38912
+ line?: {
38913
+ channelId: string;
38914
+ channelSecret: string;
38915
+ } | undefined;
38596
38916
  lineRichMenuId?: string | null | undefined;
38597
38917
  messengerIntegrationType?: "own" | "business" | undefined;
38598
38918
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -38659,7 +38979,7 @@ export declare const mainChatRoomContract: {
38659
38979
  integrationId: string;
38660
38980
  } | null;
38661
38981
  }>;
38662
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
38982
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
38663
38983
  status: z.ZodNumber;
38664
38984
  createdAt: z.ZodDate;
38665
38985
  updatedAt: z.ZodDate;
@@ -40723,6 +41043,10 @@ export declare const mainChatRoomContract: {
40723
41043
  mobileNumber: string;
40724
41044
  apiSecret: string;
40725
41045
  } | undefined;
41046
+ line?: {
41047
+ channelId: string;
41048
+ channelSecret: string;
41049
+ } | undefined;
40726
41050
  lineRichMenuId?: string | null | undefined;
40727
41051
  messengerIntegrationType?: "own" | "business" | undefined;
40728
41052
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -41153,6 +41477,10 @@ export declare const mainChatRoomContract: {
41153
41477
  mobileNumber: string;
41154
41478
  apiSecret: string;
41155
41479
  } | undefined;
41480
+ line?: {
41481
+ channelId: string;
41482
+ channelSecret: string;
41483
+ } | undefined;
41156
41484
  lineRichMenuId?: string | null | undefined;
41157
41485
  messengerIntegrationType?: "own" | "business" | undefined;
41158
41486
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -41585,6 +41913,10 @@ export declare const mainChatRoomContract: {
41585
41913
  mobileNumber: string;
41586
41914
  apiSecret: string;
41587
41915
  } | undefined;
41916
+ line?: {
41917
+ channelId: string;
41918
+ channelSecret: string;
41919
+ } | undefined;
41588
41920
  lineRichMenuId?: string | null | undefined;
41589
41921
  messengerIntegrationType?: "own" | "business" | undefined;
41590
41922
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -42018,6 +42350,10 @@ export declare const mainChatRoomContract: {
42018
42350
  mobileNumber: string;
42019
42351
  apiSecret: string;
42020
42352
  } | undefined;
42353
+ line?: {
42354
+ channelId: string;
42355
+ channelSecret: string;
42356
+ } | undefined;
42021
42357
  lineRichMenuId?: string | null | undefined;
42022
42358
  messengerIntegrationType?: "own" | "business" | undefined;
42023
42359
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -42531,6 +42867,16 @@ export declare const mainChatRoomContract: {
42531
42867
  mobileNumber: string;
42532
42868
  apiSecret: string;
42533
42869
  }>>;
42870
+ line: z.ZodOptional<z.ZodObject<{
42871
+ channelId: z.ZodString;
42872
+ channelSecret: z.ZodString;
42873
+ }, "strip", z.ZodTypeAny, {
42874
+ channelId: string;
42875
+ channelSecret: string;
42876
+ }, {
42877
+ channelId: string;
42878
+ channelSecret: string;
42879
+ }>>;
42534
42880
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
42535
42881
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
42536
42882
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -42561,6 +42907,10 @@ export declare const mainChatRoomContract: {
42561
42907
  mobileNumber: string;
42562
42908
  apiSecret: string;
42563
42909
  } | undefined;
42910
+ line?: {
42911
+ channelId: string;
42912
+ channelSecret: string;
42913
+ } | undefined;
42564
42914
  lineRichMenuId?: string | null | undefined;
42565
42915
  messengerIntegrationType?: "own" | "business" | undefined;
42566
42916
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -42591,6 +42941,10 @@ export declare const mainChatRoomContract: {
42591
42941
  mobileNumber: string;
42592
42942
  apiSecret: string;
42593
42943
  } | undefined;
42944
+ line?: {
42945
+ channelId: string;
42946
+ channelSecret: string;
42947
+ } | undefined;
42594
42948
  lineRichMenuId?: string | null | undefined;
42595
42949
  messengerIntegrationType?: "own" | "business" | undefined;
42596
42950
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -42855,6 +43209,10 @@ export declare const mainChatRoomContract: {
42855
43209
  mobileNumber: string;
42856
43210
  apiSecret: string;
42857
43211
  } | undefined;
43212
+ line?: {
43213
+ channelId: string;
43214
+ channelSecret: string;
43215
+ } | undefined;
42858
43216
  lineRichMenuId?: string | null | undefined;
42859
43217
  messengerIntegrationType?: "own" | "business" | undefined;
42860
43218
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -42950,6 +43308,10 @@ export declare const mainChatRoomContract: {
42950
43308
  mobileNumber: string;
42951
43309
  apiSecret: string;
42952
43310
  } | undefined;
43311
+ line?: {
43312
+ channelId: string;
43313
+ channelSecret: string;
43314
+ } | undefined;
42953
43315
  lineRichMenuId?: string | null | undefined;
42954
43316
  messengerIntegrationType?: "own" | "business" | undefined;
42955
43317
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -43016,7 +43378,7 @@ export declare const mainChatRoomContract: {
43016
43378
  integrationId: string;
43017
43379
  } | null;
43018
43380
  }>;
43019
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
43381
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
43020
43382
  status: z.ZodNumber;
43021
43383
  createdAt: z.ZodDate;
43022
43384
  updatedAt: z.ZodDate;
@@ -45850,6 +46212,10 @@ export declare const mainChatRoomContract: {
45850
46212
  mobileNumber: string;
45851
46213
  apiSecret: string;
45852
46214
  } | undefined;
46215
+ line?: {
46216
+ channelId: string;
46217
+ channelSecret: string;
46218
+ } | undefined;
45853
46219
  lineRichMenuId?: string | null | undefined;
45854
46220
  messengerIntegrationType?: "own" | "business" | undefined;
45855
46221
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -46392,6 +46758,10 @@ export declare const mainChatRoomContract: {
46392
46758
  mobileNumber: string;
46393
46759
  apiSecret: string;
46394
46760
  } | undefined;
46761
+ line?: {
46762
+ channelId: string;
46763
+ channelSecret: string;
46764
+ } | undefined;
46395
46765
  lineRichMenuId?: string | null | undefined;
46396
46766
  messengerIntegrationType?: "own" | "business" | undefined;
46397
46767
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -46936,6 +47306,10 @@ export declare const mainChatRoomContract: {
46936
47306
  mobileNumber: string;
46937
47307
  apiSecret: string;
46938
47308
  } | undefined;
47309
+ line?: {
47310
+ channelId: string;
47311
+ channelSecret: string;
47312
+ } | undefined;
46939
47313
  lineRichMenuId?: string | null | undefined;
46940
47314
  messengerIntegrationType?: "own" | "business" | undefined;
46941
47315
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -47481,6 +47855,10 @@ export declare const mainChatRoomContract: {
47481
47855
  mobileNumber: string;
47482
47856
  apiSecret: string;
47483
47857
  } | undefined;
47858
+ line?: {
47859
+ channelId: string;
47860
+ channelSecret: string;
47861
+ } | undefined;
47484
47862
  lineRichMenuId?: string | null | undefined;
47485
47863
  messengerIntegrationType?: "own" | "business" | undefined;
47486
47864
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -48096,6 +48474,16 @@ export declare const mainChatRoomContract: {
48096
48474
  mobileNumber: string;
48097
48475
  apiSecret: string;
48098
48476
  }>>;
48477
+ line: z.ZodOptional<z.ZodObject<{
48478
+ channelId: z.ZodString;
48479
+ channelSecret: z.ZodString;
48480
+ }, "strip", z.ZodTypeAny, {
48481
+ channelId: string;
48482
+ channelSecret: string;
48483
+ }, {
48484
+ channelId: string;
48485
+ channelSecret: string;
48486
+ }>>;
48099
48487
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
48100
48488
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
48101
48489
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -48126,6 +48514,10 @@ export declare const mainChatRoomContract: {
48126
48514
  mobileNumber: string;
48127
48515
  apiSecret: string;
48128
48516
  } | undefined;
48517
+ line?: {
48518
+ channelId: string;
48519
+ channelSecret: string;
48520
+ } | undefined;
48129
48521
  lineRichMenuId?: string | null | undefined;
48130
48522
  messengerIntegrationType?: "own" | "business" | undefined;
48131
48523
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -48156,6 +48548,10 @@ export declare const mainChatRoomContract: {
48156
48548
  mobileNumber: string;
48157
48549
  apiSecret: string;
48158
48550
  } | undefined;
48551
+ line?: {
48552
+ channelId: string;
48553
+ channelSecret: string;
48554
+ } | undefined;
48159
48555
  lineRichMenuId?: string | null | undefined;
48160
48556
  messengerIntegrationType?: "own" | "business" | undefined;
48161
48557
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -48420,6 +48816,10 @@ export declare const mainChatRoomContract: {
48420
48816
  mobileNumber: string;
48421
48817
  apiSecret: string;
48422
48818
  } | undefined;
48819
+ line?: {
48820
+ channelId: string;
48821
+ channelSecret: string;
48822
+ } | undefined;
48423
48823
  lineRichMenuId?: string | null | undefined;
48424
48824
  messengerIntegrationType?: "own" | "business" | undefined;
48425
48825
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -48515,6 +48915,10 @@ export declare const mainChatRoomContract: {
48515
48915
  mobileNumber: string;
48516
48916
  apiSecret: string;
48517
48917
  } | undefined;
48918
+ line?: {
48919
+ channelId: string;
48920
+ channelSecret: string;
48921
+ } | undefined;
48518
48922
  lineRichMenuId?: string | null | undefined;
48519
48923
  messengerIntegrationType?: "own" | "business" | undefined;
48520
48924
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -48581,7 +48985,7 @@ export declare const mainChatRoomContract: {
48581
48985
  integrationId: string;
48582
48986
  } | null;
48583
48987
  }>;
48584
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
48988
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
48585
48989
  status: z.ZodNumber;
48586
48990
  createdAt: z.ZodDate;
48587
48991
  updatedAt: z.ZodDate;
@@ -50645,6 +51049,10 @@ export declare const mainChatRoomContract: {
50645
51049
  mobileNumber: string;
50646
51050
  apiSecret: string;
50647
51051
  } | undefined;
51052
+ line?: {
51053
+ channelId: string;
51054
+ channelSecret: string;
51055
+ } | undefined;
50648
51056
  lineRichMenuId?: string | null | undefined;
50649
51057
  messengerIntegrationType?: "own" | "business" | undefined;
50650
51058
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -51075,6 +51483,10 @@ export declare const mainChatRoomContract: {
51075
51483
  mobileNumber: string;
51076
51484
  apiSecret: string;
51077
51485
  } | undefined;
51486
+ line?: {
51487
+ channelId: string;
51488
+ channelSecret: string;
51489
+ } | undefined;
51078
51490
  lineRichMenuId?: string | null | undefined;
51079
51491
  messengerIntegrationType?: "own" | "business" | undefined;
51080
51492
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -51507,6 +51919,10 @@ export declare const mainChatRoomContract: {
51507
51919
  mobileNumber: string;
51508
51920
  apiSecret: string;
51509
51921
  } | undefined;
51922
+ line?: {
51923
+ channelId: string;
51924
+ channelSecret: string;
51925
+ } | undefined;
51510
51926
  lineRichMenuId?: string | null | undefined;
51511
51927
  messengerIntegrationType?: "own" | "business" | undefined;
51512
51928
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -51940,6 +52356,10 @@ export declare const mainChatRoomContract: {
51940
52356
  mobileNumber: string;
51941
52357
  apiSecret: string;
51942
52358
  } | undefined;
52359
+ line?: {
52360
+ channelId: string;
52361
+ channelSecret: string;
52362
+ } | undefined;
51943
52363
  lineRichMenuId?: string | null | undefined;
51944
52364
  messengerIntegrationType?: "own" | "business" | undefined;
51945
52365
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -52457,6 +52877,16 @@ export declare const mainChatRoomContract: {
52457
52877
  mobileNumber: string;
52458
52878
  apiSecret: string;
52459
52879
  }>>;
52880
+ line: z.ZodOptional<z.ZodObject<{
52881
+ channelId: z.ZodString;
52882
+ channelSecret: z.ZodString;
52883
+ }, "strip", z.ZodTypeAny, {
52884
+ channelId: string;
52885
+ channelSecret: string;
52886
+ }, {
52887
+ channelId: string;
52888
+ channelSecret: string;
52889
+ }>>;
52460
52890
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
52461
52891
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
52462
52892
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -52487,6 +52917,10 @@ export declare const mainChatRoomContract: {
52487
52917
  mobileNumber: string;
52488
52918
  apiSecret: string;
52489
52919
  } | undefined;
52920
+ line?: {
52921
+ channelId: string;
52922
+ channelSecret: string;
52923
+ } | undefined;
52490
52924
  lineRichMenuId?: string | null | undefined;
52491
52925
  messengerIntegrationType?: "own" | "business" | undefined;
52492
52926
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -52517,6 +52951,10 @@ export declare const mainChatRoomContract: {
52517
52951
  mobileNumber: string;
52518
52952
  apiSecret: string;
52519
52953
  } | undefined;
52954
+ line?: {
52955
+ channelId: string;
52956
+ channelSecret: string;
52957
+ } | undefined;
52520
52958
  lineRichMenuId?: string | null | undefined;
52521
52959
  messengerIntegrationType?: "own" | "business" | undefined;
52522
52960
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -52781,6 +53219,10 @@ export declare const mainChatRoomContract: {
52781
53219
  mobileNumber: string;
52782
53220
  apiSecret: string;
52783
53221
  } | undefined;
53222
+ line?: {
53223
+ channelId: string;
53224
+ channelSecret: string;
53225
+ } | undefined;
52784
53226
  lineRichMenuId?: string | null | undefined;
52785
53227
  messengerIntegrationType?: "own" | "business" | undefined;
52786
53228
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -52876,6 +53318,10 @@ export declare const mainChatRoomContract: {
52876
53318
  mobileNumber: string;
52877
53319
  apiSecret: string;
52878
53320
  } | undefined;
53321
+ line?: {
53322
+ channelId: string;
53323
+ channelSecret: string;
53324
+ } | undefined;
52879
53325
  lineRichMenuId?: string | null | undefined;
52880
53326
  messengerIntegrationType?: "own" | "business" | undefined;
52881
53327
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -52942,7 +53388,7 @@ export declare const mainChatRoomContract: {
52942
53388
  integrationId: string;
52943
53389
  } | null;
52944
53390
  }>;
52945
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
53391
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
52946
53392
  status: z.ZodNumber;
52947
53393
  createdAt: z.ZodDate;
52948
53394
  updatedAt: z.ZodDate;
@@ -55005,6 +55451,10 @@ export declare const mainChatRoomContract: {
55005
55451
  mobileNumber: string;
55006
55452
  apiSecret: string;
55007
55453
  } | undefined;
55454
+ line?: {
55455
+ channelId: string;
55456
+ channelSecret: string;
55457
+ } | undefined;
55008
55458
  lineRichMenuId?: string | null | undefined;
55009
55459
  messengerIntegrationType?: "own" | "business" | undefined;
55010
55460
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -55434,6 +55884,10 @@ export declare const mainChatRoomContract: {
55434
55884
  mobileNumber: string;
55435
55885
  apiSecret: string;
55436
55886
  } | undefined;
55887
+ line?: {
55888
+ channelId: string;
55889
+ channelSecret: string;
55890
+ } | undefined;
55437
55891
  lineRichMenuId?: string | null | undefined;
55438
55892
  messengerIntegrationType?: "own" | "business" | undefined;
55439
55893
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -55865,6 +56319,10 @@ export declare const mainChatRoomContract: {
55865
56319
  mobileNumber: string;
55866
56320
  apiSecret: string;
55867
56321
  } | undefined;
56322
+ line?: {
56323
+ channelId: string;
56324
+ channelSecret: string;
56325
+ } | undefined;
55868
56326
  lineRichMenuId?: string | null | undefined;
55869
56327
  messengerIntegrationType?: "own" | "business" | undefined;
55870
56328
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -56300,6 +56758,10 @@ export declare const mainChatRoomContract: {
56300
56758
  mobileNumber: string;
56301
56759
  apiSecret: string;
56302
56760
  } | undefined;
56761
+ line?: {
56762
+ channelId: string;
56763
+ channelSecret: string;
56764
+ } | undefined;
56303
56765
  lineRichMenuId?: string | null | undefined;
56304
56766
  messengerIntegrationType?: "own" | "business" | undefined;
56305
56767
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -56727,7 +57189,7 @@ export declare const mainChatContract: {
56727
57189
  sendMessage: {
56728
57190
  body: z.ZodObject<{
56729
57191
  roomId: z.ZodString;
56730
- messageType: 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"]>;
57192
+ messageType: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
56731
57193
  message: z.ZodOptional<z.ZodString>;
56732
57194
  messageAttachments: z.ZodOptional<z.ZodObject<{
56733
57195
  bucketName: z.ZodString;
@@ -56737,6 +57199,8 @@ export declare const mainChatContract: {
56737
57199
  url: z.ZodNullable<z.ZodString>;
56738
57200
  fileType: z.ZodString;
56739
57201
  thumbnailUrl: z.ZodOptional<z.ZodString>;
57202
+ width: z.ZodOptional<z.ZodString>;
57203
+ height: z.ZodOptional<z.ZodString>;
56740
57204
  }, "strip", z.ZodTypeAny, {
56741
57205
  url: string | null;
56742
57206
  fileName: string;
@@ -56745,6 +57209,8 @@ export declare const mainChatContract: {
56745
57209
  bucketName: string;
56746
57210
  fileSize: number;
56747
57211
  thumbnailUrl?: string | undefined;
57212
+ width?: string | undefined;
57213
+ height?: string | undefined;
56748
57214
  }, {
56749
57215
  url: string | null;
56750
57216
  fileName: string;
@@ -56753,6 +57219,8 @@ export declare const mainChatContract: {
56753
57219
  bucketName: string;
56754
57220
  fileSize: number;
56755
57221
  thumbnailUrl?: string | undefined;
57222
+ width?: string | undefined;
57223
+ height?: string | undefined;
56756
57224
  }>>;
56757
57225
  user: z.ZodOptional<z.ZodObject<{
56758
57226
  name: z.ZodString;
@@ -56986,7 +57454,7 @@ export declare const mainChatContract: {
56986
57454
  mentions?: string[] | undefined;
56987
57455
  }>>;
56988
57456
  }, "strip", z.ZodTypeAny, {
56989
- messageType: "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";
57457
+ messageType: string;
56990
57458
  roomId: string;
56991
57459
  message?: string | undefined;
56992
57460
  messageAttachments?: {
@@ -56997,6 +57465,8 @@ export declare const mainChatContract: {
56997
57465
  bucketName: string;
56998
57466
  fileSize: number;
56999
57467
  thumbnailUrl?: string | undefined;
57468
+ width?: string | undefined;
57469
+ height?: string | undefined;
57000
57470
  } | undefined;
57001
57471
  user?: {
57002
57472
  name: string;
@@ -57058,7 +57528,7 @@ export declare const mainChatContract: {
57058
57528
  mentions?: string[] | undefined;
57059
57529
  } | undefined;
57060
57530
  }, {
57061
- messageType: "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";
57531
+ messageType: string;
57062
57532
  roomId: string;
57063
57533
  message?: string | undefined;
57064
57534
  messageAttachments?: {
@@ -57069,6 +57539,8 @@ export declare const mainChatContract: {
57069
57539
  bucketName: string;
57070
57540
  fileSize: number;
57071
57541
  thumbnailUrl?: string | undefined;
57542
+ width?: string | undefined;
57543
+ height?: string | undefined;
57072
57544
  } | undefined;
57073
57545
  user?: {
57074
57546
  name: string;
@@ -57136,11 +57608,11 @@ export declare const mainChatContract: {
57136
57608
  200: z.ZodObject<{
57137
57609
  requestId: z.ZodString;
57138
57610
  data: z.ZodObject<{
57139
- 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"]>;
57611
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
57140
57612
  message: z.ZodString;
57141
57613
  id: z.ZodString;
57142
57614
  url: z.ZodString;
57143
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
57615
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
57144
57616
  label: z.ZodOptional<z.ZodString>;
57145
57617
  template: z.ZodAny;
57146
57618
  metadata: z.ZodAny;
@@ -57605,7 +58077,7 @@ export declare const mainChatContract: {
57605
58077
  firstResponseTime: z.ZodNumber;
57606
58078
  isLatest: z.ZodBoolean;
57607
58079
  isBotRoom: z.ZodBoolean;
57608
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
58080
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
57609
58081
  platformContact: z.ZodObject<{
57610
58082
  id: z.ZodString;
57611
58083
  createdAt: z.ZodDate;
@@ -59129,6 +59601,16 @@ export declare const mainChatContract: {
59129
59601
  mobileNumber: string;
59130
59602
  apiSecret: string;
59131
59603
  }>>;
59604
+ line: z.ZodOptional<z.ZodObject<{
59605
+ channelId: z.ZodString;
59606
+ channelSecret: z.ZodString;
59607
+ }, "strip", z.ZodTypeAny, {
59608
+ channelId: string;
59609
+ channelSecret: string;
59610
+ }, {
59611
+ channelId: string;
59612
+ channelSecret: string;
59613
+ }>>;
59132
59614
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
59133
59615
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
59134
59616
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -59159,6 +59641,10 @@ export declare const mainChatContract: {
59159
59641
  mobileNumber: string;
59160
59642
  apiSecret: string;
59161
59643
  } | undefined;
59644
+ line?: {
59645
+ channelId: string;
59646
+ channelSecret: string;
59647
+ } | undefined;
59162
59648
  lineRichMenuId?: string | null | undefined;
59163
59649
  messengerIntegrationType?: "own" | "business" | undefined;
59164
59650
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -59189,6 +59675,10 @@ export declare const mainChatContract: {
59189
59675
  mobileNumber: string;
59190
59676
  apiSecret: string;
59191
59677
  } | undefined;
59678
+ line?: {
59679
+ channelId: string;
59680
+ channelSecret: string;
59681
+ } | undefined;
59192
59682
  lineRichMenuId?: string | null | undefined;
59193
59683
  messengerIntegrationType?: "own" | "business" | undefined;
59194
59684
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -59453,6 +59943,10 @@ export declare const mainChatContract: {
59453
59943
  mobileNumber: string;
59454
59944
  apiSecret: string;
59455
59945
  } | undefined;
59946
+ line?: {
59947
+ channelId: string;
59948
+ channelSecret: string;
59949
+ } | undefined;
59456
59950
  lineRichMenuId?: string | null | undefined;
59457
59951
  messengerIntegrationType?: "own" | "business" | undefined;
59458
59952
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -59548,6 +60042,10 @@ export declare const mainChatContract: {
59548
60042
  mobileNumber: string;
59549
60043
  apiSecret: string;
59550
60044
  } | undefined;
60045
+ line?: {
60046
+ channelId: string;
60047
+ channelSecret: string;
60048
+ } | undefined;
59551
60049
  lineRichMenuId?: string | null | undefined;
59552
60050
  messengerIntegrationType?: "own" | "business" | undefined;
59553
60051
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -60207,6 +60705,10 @@ export declare const mainChatContract: {
60207
60705
  mobileNumber: string;
60208
60706
  apiSecret: string;
60209
60707
  } | undefined;
60708
+ line?: {
60709
+ channelId: string;
60710
+ channelSecret: string;
60711
+ } | undefined;
60210
60712
  lineRichMenuId?: string | null | undefined;
60211
60713
  messengerIntegrationType?: "own" | "business" | undefined;
60212
60714
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -60636,6 +61138,10 @@ export declare const mainChatContract: {
60636
61138
  mobileNumber: string;
60637
61139
  apiSecret: string;
60638
61140
  } | undefined;
61141
+ line?: {
61142
+ channelId: string;
61143
+ channelSecret: string;
61144
+ } | undefined;
60639
61145
  lineRichMenuId?: string | null | undefined;
60640
61146
  messengerIntegrationType?: "own" | "business" | undefined;
60641
61147
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -61071,8 +61577,8 @@ export declare const mainChatContract: {
61071
61577
  updatedAt: z.ZodDate;
61072
61578
  deletedAt: z.ZodNullable<z.ZodDate>;
61073
61579
  message: z.ZodString;
61074
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
61075
- 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"]>;
61580
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
61581
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
61076
61582
  readAt: z.ZodDate;
61077
61583
  metadata: z.ZodAny;
61078
61584
  platformId: z.ZodString;
@@ -61730,7 +62236,7 @@ export declare const mainChatContract: {
61730
62236
  };
61731
62237
  }>;
61732
62238
  }, "strip", z.ZodTypeAny, {
61733
- 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";
62239
+ type: string;
61734
62240
  message: string;
61735
62241
  id: string;
61736
62242
  url: string;
@@ -61892,7 +62398,7 @@ export declare const mainChatContract: {
61892
62398
  metadata?: any;
61893
62399
  template?: any;
61894
62400
  }, {
61895
- 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";
62401
+ type: string;
61896
62402
  message: string;
61897
62403
  id: string;
61898
62404
  url: string;
@@ -62265,8 +62771,8 @@ export declare const mainChatContract: {
62265
62771
  updatedAt: z.ZodDate;
62266
62772
  deletedAt: z.ZodNullable<z.ZodDate>;
62267
62773
  message: z.ZodString;
62268
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
62269
- 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"]>;
62774
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
62775
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
62270
62776
  readAt: z.ZodDate;
62271
62777
  metadata: z.ZodAny;
62272
62778
  platformId: z.ZodString;
@@ -62292,7 +62798,7 @@ export declare const mainChatContract: {
62292
62798
  firstResponseTime: z.ZodNumber;
62293
62799
  isLatest: z.ZodBoolean;
62294
62800
  isBotRoom: z.ZodBoolean;
62295
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
62801
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
62296
62802
  platformContact: z.ZodObject<{
62297
62803
  id: z.ZodString;
62298
62804
  createdAt: z.ZodDate;
@@ -63816,6 +64322,16 @@ export declare const mainChatContract: {
63816
64322
  mobileNumber: string;
63817
64323
  apiSecret: string;
63818
64324
  }>>;
64325
+ line: z.ZodOptional<z.ZodObject<{
64326
+ channelId: z.ZodString;
64327
+ channelSecret: z.ZodString;
64328
+ }, "strip", z.ZodTypeAny, {
64329
+ channelId: string;
64330
+ channelSecret: string;
64331
+ }, {
64332
+ channelId: string;
64333
+ channelSecret: string;
64334
+ }>>;
63819
64335
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
63820
64336
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
63821
64337
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -63846,6 +64362,10 @@ export declare const mainChatContract: {
63846
64362
  mobileNumber: string;
63847
64363
  apiSecret: string;
63848
64364
  } | undefined;
64365
+ line?: {
64366
+ channelId: string;
64367
+ channelSecret: string;
64368
+ } | undefined;
63849
64369
  lineRichMenuId?: string | null | undefined;
63850
64370
  messengerIntegrationType?: "own" | "business" | undefined;
63851
64371
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -63876,6 +64396,10 @@ export declare const mainChatContract: {
63876
64396
  mobileNumber: string;
63877
64397
  apiSecret: string;
63878
64398
  } | undefined;
64399
+ line?: {
64400
+ channelId: string;
64401
+ channelSecret: string;
64402
+ } | undefined;
63879
64403
  lineRichMenuId?: string | null | undefined;
63880
64404
  messengerIntegrationType?: "own" | "business" | undefined;
63881
64405
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -64140,6 +64664,10 @@ export declare const mainChatContract: {
64140
64664
  mobileNumber: string;
64141
64665
  apiSecret: string;
64142
64666
  } | undefined;
64667
+ line?: {
64668
+ channelId: string;
64669
+ channelSecret: string;
64670
+ } | undefined;
64143
64671
  lineRichMenuId?: string | null | undefined;
64144
64672
  messengerIntegrationType?: "own" | "business" | undefined;
64145
64673
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -64235,6 +64763,10 @@ export declare const mainChatContract: {
64235
64763
  mobileNumber: string;
64236
64764
  apiSecret: string;
64237
64765
  } | undefined;
64766
+ line?: {
64767
+ channelId: string;
64768
+ channelSecret: string;
64769
+ } | undefined;
64238
64770
  lineRichMenuId?: string | null | undefined;
64239
64771
  messengerIntegrationType?: "own" | "business" | undefined;
64240
64772
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -64894,6 +65426,10 @@ export declare const mainChatContract: {
64894
65426
  mobileNumber: string;
64895
65427
  apiSecret: string;
64896
65428
  } | undefined;
65429
+ line?: {
65430
+ channelId: string;
65431
+ channelSecret: string;
65432
+ } | undefined;
64897
65433
  lineRichMenuId?: string | null | undefined;
64898
65434
  messengerIntegrationType?: "own" | "business" | undefined;
64899
65435
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -65323,6 +65859,10 @@ export declare const mainChatContract: {
65323
65859
  mobileNumber: string;
65324
65860
  apiSecret: string;
65325
65861
  } | undefined;
65862
+ line?: {
65863
+ channelId: string;
65864
+ channelSecret: string;
65865
+ } | undefined;
65326
65866
  lineRichMenuId?: string | null | undefined;
65327
65867
  messengerIntegrationType?: "own" | "business" | undefined;
65328
65868
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -65761,8 +66301,8 @@ export declare const mainChatContract: {
65761
66301
  updatedAt: z.ZodDate;
65762
66302
  deletedAt: z.ZodNullable<z.ZodDate>;
65763
66303
  message: z.ZodString;
65764
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
65765
- 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"]>;
66304
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
66305
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
65766
66306
  readAt: z.ZodDate;
65767
66307
  metadata: z.ZodAny;
65768
66308
  platformId: z.ZodString;
@@ -66420,7 +66960,7 @@ export declare const mainChatContract: {
66420
66960
  };
66421
66961
  }>;
66422
66962
  }, "strip", z.ZodTypeAny, {
66423
- 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";
66963
+ type: string;
66424
66964
  message: string;
66425
66965
  id: string;
66426
66966
  url: string;
@@ -66582,7 +67122,7 @@ export declare const mainChatContract: {
66582
67122
  metadata?: any;
66583
67123
  template?: any;
66584
67124
  }, {
66585
- 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";
67125
+ type: string;
66586
67126
  message: string;
66587
67127
  id: string;
66588
67128
  url: string;
@@ -67384,7 +67924,7 @@ export declare const mainChatContract: {
67384
67924
  editedMessageid: z.ZodString;
67385
67925
  label: z.ZodOptional<z.ZodString>;
67386
67926
  }, "strip", z.ZodTypeAny, {
67387
- 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";
67927
+ type: string;
67388
67928
  message: string;
67389
67929
  id: string;
67390
67930
  url: string;
@@ -67525,6 +68065,10 @@ export declare const mainChatContract: {
67525
68065
  mobileNumber: string;
67526
68066
  apiSecret: string;
67527
68067
  } | undefined;
68068
+ line?: {
68069
+ channelId: string;
68070
+ channelSecret: string;
68071
+ } | undefined;
67528
68072
  lineRichMenuId?: string | null | undefined;
67529
68073
  messengerIntegrationType?: "own" | "business" | undefined;
67530
68074
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -67939,7 +68483,7 @@ export declare const mainChatContract: {
67939
68483
  previewUrl: string;
67940
68484
  imageSetId: string;
67941
68485
  repliedMessage: {
67942
- 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";
68486
+ type: string;
67943
68487
  message: string;
67944
68488
  id: string;
67945
68489
  url: string;
@@ -68150,7 +68694,7 @@ export declare const mainChatContract: {
68150
68694
  template?: any;
68151
68695
  label?: string | undefined;
68152
68696
  }, {
68153
- 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";
68697
+ type: string;
68154
68698
  message: string;
68155
68699
  id: string;
68156
68700
  url: string;
@@ -68291,6 +68835,10 @@ export declare const mainChatContract: {
68291
68835
  mobileNumber: string;
68292
68836
  apiSecret: string;
68293
68837
  } | undefined;
68838
+ line?: {
68839
+ channelId: string;
68840
+ channelSecret: string;
68841
+ } | undefined;
68294
68842
  lineRichMenuId?: string | null | undefined;
68295
68843
  messengerIntegrationType?: "own" | "business" | undefined;
68296
68844
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -68705,7 +69253,7 @@ export declare const mainChatContract: {
68705
69253
  previewUrl: string;
68706
69254
  imageSetId: string;
68707
69255
  repliedMessage: {
68708
- 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";
69256
+ type: string;
68709
69257
  message: string;
68710
69258
  id: string;
68711
69259
  url: string;
@@ -68917,7 +69465,7 @@ export declare const mainChatContract: {
68917
69465
  label?: string | undefined;
68918
69466
  }>>>;
68919
69467
  }, "strip", z.ZodTypeAny, {
68920
- 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";
69468
+ type: string;
68921
69469
  message: string;
68922
69470
  id: string;
68923
69471
  url: string;
@@ -69058,6 +69606,10 @@ export declare const mainChatContract: {
69058
69606
  mobileNumber: string;
69059
69607
  apiSecret: string;
69060
69608
  } | undefined;
69609
+ line?: {
69610
+ channelId: string;
69611
+ channelSecret: string;
69612
+ } | undefined;
69061
69613
  lineRichMenuId?: string | null | undefined;
69062
69614
  messengerIntegrationType?: "own" | "business" | undefined;
69063
69615
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -69472,7 +70024,7 @@ export declare const mainChatContract: {
69472
70024
  previewUrl: string;
69473
70025
  imageSetId: string;
69474
70026
  repliedMessage: {
69475
- 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";
70027
+ type: string;
69476
70028
  message: string;
69477
70029
  id: string;
69478
70030
  url: string;
@@ -69683,7 +70235,7 @@ export declare const mainChatContract: {
69683
70235
  template?: any;
69684
70236
  metadata?: any;
69685
70237
  fromMessage?: {
69686
- 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";
70238
+ type: string;
69687
70239
  message: string;
69688
70240
  id: string;
69689
70241
  url: string;
@@ -69824,6 +70376,10 @@ export declare const mainChatContract: {
69824
70376
  mobileNumber: string;
69825
70377
  apiSecret: string;
69826
70378
  } | undefined;
70379
+ line?: {
70380
+ channelId: string;
70381
+ channelSecret: string;
70382
+ } | undefined;
69827
70383
  lineRichMenuId?: string | null | undefined;
69828
70384
  messengerIntegrationType?: "own" | "business" | undefined;
69829
70385
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -70238,7 +70794,7 @@ export declare const mainChatContract: {
70238
70794
  previewUrl: string;
70239
70795
  imageSetId: string;
70240
70796
  repliedMessage: {
70241
- 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";
70797
+ type: string;
70242
70798
  message: string;
70243
70799
  id: string;
70244
70800
  url: string;
@@ -70450,7 +71006,7 @@ export declare const mainChatContract: {
70450
71006
  label?: string | undefined;
70451
71007
  } | null | undefined;
70452
71008
  }, {
70453
- 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";
71009
+ type: string;
70454
71010
  message: string;
70455
71011
  id: string;
70456
71012
  url: string;
@@ -70591,6 +71147,10 @@ export declare const mainChatContract: {
70591
71147
  mobileNumber: string;
70592
71148
  apiSecret: string;
70593
71149
  } | undefined;
71150
+ line?: {
71151
+ channelId: string;
71152
+ channelSecret: string;
71153
+ } | undefined;
70594
71154
  lineRichMenuId?: string | null | undefined;
70595
71155
  messengerIntegrationType?: "own" | "business" | undefined;
70596
71156
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -71005,7 +71565,7 @@ export declare const mainChatContract: {
71005
71565
  previewUrl: string;
71006
71566
  imageSetId: string;
71007
71567
  repliedMessage: {
71008
- 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";
71568
+ type: string;
71009
71569
  message: string;
71010
71570
  id: string;
71011
71571
  url: string;
@@ -71216,7 +71776,7 @@ export declare const mainChatContract: {
71216
71776
  template?: any;
71217
71777
  metadata?: any;
71218
71778
  fromMessage?: {
71219
- 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";
71779
+ type: string;
71220
71780
  message: string;
71221
71781
  id: string;
71222
71782
  url: string;
@@ -71357,6 +71917,10 @@ export declare const mainChatContract: {
71357
71917
  mobileNumber: string;
71358
71918
  apiSecret: string;
71359
71919
  } | undefined;
71920
+ line?: {
71921
+ channelId: string;
71922
+ channelSecret: string;
71923
+ } | undefined;
71360
71924
  lineRichMenuId?: string | null | undefined;
71361
71925
  messengerIntegrationType?: "own" | "business" | undefined;
71362
71926
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -71771,7 +72335,7 @@ export declare const mainChatContract: {
71771
72335
  previewUrl: string;
71772
72336
  imageSetId: string;
71773
72337
  repliedMessage: {
71774
- 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";
72338
+ type: string;
71775
72339
  message: string;
71776
72340
  id: string;
71777
72341
  url: string;
@@ -71985,7 +72549,7 @@ export declare const mainChatContract: {
71985
72549
  }>;
71986
72550
  }, "strip", z.ZodTypeAny, {
71987
72551
  data: {
71988
- 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";
72552
+ type: string;
71989
72553
  message: string;
71990
72554
  id: string;
71991
72555
  url: string;
@@ -72126,6 +72690,10 @@ export declare const mainChatContract: {
72126
72690
  mobileNumber: string;
72127
72691
  apiSecret: string;
72128
72692
  } | undefined;
72693
+ line?: {
72694
+ channelId: string;
72695
+ channelSecret: string;
72696
+ } | undefined;
72129
72697
  lineRichMenuId?: string | null | undefined;
72130
72698
  messengerIntegrationType?: "own" | "business" | undefined;
72131
72699
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -72540,7 +73108,7 @@ export declare const mainChatContract: {
72540
73108
  previewUrl: string;
72541
73109
  imageSetId: string;
72542
73110
  repliedMessage: {
72543
- 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";
73111
+ type: string;
72544
73112
  message: string;
72545
73113
  id: string;
72546
73114
  url: string;
@@ -72751,7 +73319,7 @@ export declare const mainChatContract: {
72751
73319
  template?: any;
72752
73320
  metadata?: any;
72753
73321
  fromMessage?: {
72754
- 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";
73322
+ type: string;
72755
73323
  message: string;
72756
73324
  id: string;
72757
73325
  url: string;
@@ -72892,6 +73460,10 @@ export declare const mainChatContract: {
72892
73460
  mobileNumber: string;
72893
73461
  apiSecret: string;
72894
73462
  } | undefined;
73463
+ line?: {
73464
+ channelId: string;
73465
+ channelSecret: string;
73466
+ } | undefined;
72895
73467
  lineRichMenuId?: string | null | undefined;
72896
73468
  messengerIntegrationType?: "own" | "business" | undefined;
72897
73469
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -73306,7 +73878,7 @@ export declare const mainChatContract: {
73306
73878
  previewUrl: string;
73307
73879
  imageSetId: string;
73308
73880
  repliedMessage: {
73309
- 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";
73881
+ type: string;
73310
73882
  message: string;
73311
73883
  id: string;
73312
73884
  url: string;
@@ -73521,7 +74093,7 @@ export declare const mainChatContract: {
73521
74093
  requestId: string;
73522
74094
  }, {
73523
74095
  data: {
73524
- 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";
74096
+ type: string;
73525
74097
  message: string;
73526
74098
  id: string;
73527
74099
  url: string;
@@ -73662,6 +74234,10 @@ export declare const mainChatContract: {
73662
74234
  mobileNumber: string;
73663
74235
  apiSecret: string;
73664
74236
  } | undefined;
74237
+ line?: {
74238
+ channelId: string;
74239
+ channelSecret: string;
74240
+ } | undefined;
73665
74241
  lineRichMenuId?: string | null | undefined;
73666
74242
  messengerIntegrationType?: "own" | "business" | undefined;
73667
74243
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -74076,7 +74652,7 @@ export declare const mainChatContract: {
74076
74652
  previewUrl: string;
74077
74653
  imageSetId: string;
74078
74654
  repliedMessage: {
74079
- 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";
74655
+ type: string;
74080
74656
  message: string;
74081
74657
  id: string;
74082
74658
  url: string;
@@ -74287,7 +74863,7 @@ export declare const mainChatContract: {
74287
74863
  template?: any;
74288
74864
  metadata?: any;
74289
74865
  fromMessage?: {
74290
- 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";
74866
+ type: string;
74291
74867
  message: string;
74292
74868
  id: string;
74293
74869
  url: string;
@@ -74428,6 +75004,10 @@ export declare const mainChatContract: {
74428
75004
  mobileNumber: string;
74429
75005
  apiSecret: string;
74430
75006
  } | undefined;
75007
+ line?: {
75008
+ channelId: string;
75009
+ channelSecret: string;
75010
+ } | undefined;
74431
75011
  lineRichMenuId?: string | null | undefined;
74432
75012
  messengerIntegrationType?: "own" | "business" | undefined;
74433
75013
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -74842,7 +75422,7 @@ export declare const mainChatContract: {
74842
75422
  previewUrl: string;
74843
75423
  imageSetId: string;
74844
75424
  repliedMessage: {
74845
- 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";
75425
+ type: string;
74846
75426
  message: string;
74847
75427
  id: string;
74848
75428
  url: string;
@@ -75234,11 +75814,11 @@ export declare const mainChatContract: {
75234
75814
  page: z.ZodNumber;
75235
75815
  pageSize: z.ZodNumber;
75236
75816
  data: z.ZodArray<z.ZodObject<{
75237
- 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"]>;
75817
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
75238
75818
  message: z.ZodString;
75239
75819
  id: z.ZodString;
75240
75820
  url: z.ZodString;
75241
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
75821
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
75242
75822
  label: z.ZodOptional<z.ZodString>;
75243
75823
  template: z.ZodAny;
75244
75824
  metadata: z.ZodAny;
@@ -75703,7 +76283,7 @@ export declare const mainChatContract: {
75703
76283
  firstResponseTime: z.ZodNumber;
75704
76284
  isLatest: z.ZodBoolean;
75705
76285
  isBotRoom: z.ZodBoolean;
75706
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
76286
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
75707
76287
  platformContact: z.ZodObject<{
75708
76288
  id: z.ZodString;
75709
76289
  createdAt: z.ZodDate;
@@ -77227,6 +77807,16 @@ export declare const mainChatContract: {
77227
77807
  mobileNumber: string;
77228
77808
  apiSecret: string;
77229
77809
  }>>;
77810
+ line: z.ZodOptional<z.ZodObject<{
77811
+ channelId: z.ZodString;
77812
+ channelSecret: z.ZodString;
77813
+ }, "strip", z.ZodTypeAny, {
77814
+ channelId: string;
77815
+ channelSecret: string;
77816
+ }, {
77817
+ channelId: string;
77818
+ channelSecret: string;
77819
+ }>>;
77230
77820
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
77231
77821
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
77232
77822
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -77257,6 +77847,10 @@ export declare const mainChatContract: {
77257
77847
  mobileNumber: string;
77258
77848
  apiSecret: string;
77259
77849
  } | undefined;
77850
+ line?: {
77851
+ channelId: string;
77852
+ channelSecret: string;
77853
+ } | undefined;
77260
77854
  lineRichMenuId?: string | null | undefined;
77261
77855
  messengerIntegrationType?: "own" | "business" | undefined;
77262
77856
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -77287,6 +77881,10 @@ export declare const mainChatContract: {
77287
77881
  mobileNumber: string;
77288
77882
  apiSecret: string;
77289
77883
  } | undefined;
77884
+ line?: {
77885
+ channelId: string;
77886
+ channelSecret: string;
77887
+ } | undefined;
77290
77888
  lineRichMenuId?: string | null | undefined;
77291
77889
  messengerIntegrationType?: "own" | "business" | undefined;
77292
77890
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -77551,6 +78149,10 @@ export declare const mainChatContract: {
77551
78149
  mobileNumber: string;
77552
78150
  apiSecret: string;
77553
78151
  } | undefined;
78152
+ line?: {
78153
+ channelId: string;
78154
+ channelSecret: string;
78155
+ } | undefined;
77554
78156
  lineRichMenuId?: string | null | undefined;
77555
78157
  messengerIntegrationType?: "own" | "business" | undefined;
77556
78158
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -77646,6 +78248,10 @@ export declare const mainChatContract: {
77646
78248
  mobileNumber: string;
77647
78249
  apiSecret: string;
77648
78250
  } | undefined;
78251
+ line?: {
78252
+ channelId: string;
78253
+ channelSecret: string;
78254
+ } | undefined;
77649
78255
  lineRichMenuId?: string | null | undefined;
77650
78256
  messengerIntegrationType?: "own" | "business" | undefined;
77651
78257
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -78305,6 +78911,10 @@ export declare const mainChatContract: {
78305
78911
  mobileNumber: string;
78306
78912
  apiSecret: string;
78307
78913
  } | undefined;
78914
+ line?: {
78915
+ channelId: string;
78916
+ channelSecret: string;
78917
+ } | undefined;
78308
78918
  lineRichMenuId?: string | null | undefined;
78309
78919
  messengerIntegrationType?: "own" | "business" | undefined;
78310
78920
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -78734,6 +79344,10 @@ export declare const mainChatContract: {
78734
79344
  mobileNumber: string;
78735
79345
  apiSecret: string;
78736
79346
  } | undefined;
79347
+ line?: {
79348
+ channelId: string;
79349
+ channelSecret: string;
79350
+ } | undefined;
78737
79351
  lineRichMenuId?: string | null | undefined;
78738
79352
  messengerIntegrationType?: "own" | "business" | undefined;
78739
79353
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -79169,8 +79783,8 @@ export declare const mainChatContract: {
79169
79783
  updatedAt: z.ZodDate;
79170
79784
  deletedAt: z.ZodNullable<z.ZodDate>;
79171
79785
  message: z.ZodString;
79172
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
79173
- 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"]>;
79786
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
79787
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
79174
79788
  readAt: z.ZodDate;
79175
79789
  metadata: z.ZodAny;
79176
79790
  platformId: z.ZodString;
@@ -79828,7 +80442,7 @@ export declare const mainChatContract: {
79828
80442
  };
79829
80443
  }>;
79830
80444
  }, "strip", z.ZodTypeAny, {
79831
- 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";
80445
+ type: string;
79832
80446
  message: string;
79833
80447
  id: string;
79834
80448
  url: string;
@@ -79990,7 +80604,7 @@ export declare const mainChatContract: {
79990
80604
  metadata?: any;
79991
80605
  template?: any;
79992
80606
  }, {
79993
- 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";
80607
+ type: string;
79994
80608
  message: string;
79995
80609
  id: string;
79996
80610
  url: string;
@@ -80365,7 +80979,7 @@ export declare const mainChatContract: {
80365
80979
  updatedAt: z.ZodDate;
80366
80980
  deletedAt: z.ZodNullable<z.ZodDate>;
80367
80981
  message: z.ZodNullable<z.ZodString>;
80368
- type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, 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"]>]>;
80982
+ type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>]>;
80369
80983
  metadata: z.ZodAny;
80370
80984
  platformId: z.ZodString;
80371
80985
  platformMessageId: z.ZodString;
@@ -80440,6 +81054,16 @@ export declare const mainChatContract: {
80440
81054
  mobileNumber: string;
80441
81055
  apiSecret: string;
80442
81056
  }>>;
81057
+ line: z.ZodOptional<z.ZodObject<{
81058
+ channelId: z.ZodString;
81059
+ channelSecret: z.ZodString;
81060
+ }, "strip", z.ZodTypeAny, {
81061
+ channelId: string;
81062
+ channelSecret: string;
81063
+ }, {
81064
+ channelId: string;
81065
+ channelSecret: string;
81066
+ }>>;
80443
81067
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
80444
81068
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
80445
81069
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -80470,6 +81094,10 @@ export declare const mainChatContract: {
80470
81094
  mobileNumber: string;
80471
81095
  apiSecret: string;
80472
81096
  } | undefined;
81097
+ line?: {
81098
+ channelId: string;
81099
+ channelSecret: string;
81100
+ } | undefined;
80473
81101
  lineRichMenuId?: string | null | undefined;
80474
81102
  messengerIntegrationType?: "own" | "business" | undefined;
80475
81103
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -80500,6 +81128,10 @@ export declare const mainChatContract: {
80500
81128
  mobileNumber: string;
80501
81129
  apiSecret: string;
80502
81130
  } | undefined;
81131
+ line?: {
81132
+ channelId: string;
81133
+ channelSecret: string;
81134
+ } | undefined;
80503
81135
  lineRichMenuId?: string | null | undefined;
80504
81136
  messengerIntegrationType?: "own" | "business" | undefined;
80505
81137
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -80764,6 +81396,10 @@ export declare const mainChatContract: {
80764
81396
  mobileNumber: string;
80765
81397
  apiSecret: string;
80766
81398
  } | undefined;
81399
+ line?: {
81400
+ channelId: string;
81401
+ channelSecret: string;
81402
+ } | undefined;
80767
81403
  lineRichMenuId?: string | null | undefined;
80768
81404
  messengerIntegrationType?: "own" | "business" | undefined;
80769
81405
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -80859,6 +81495,10 @@ export declare const mainChatContract: {
80859
81495
  mobileNumber: string;
80860
81496
  apiSecret: string;
80861
81497
  } | undefined;
81498
+ line?: {
81499
+ channelId: string;
81500
+ channelSecret: string;
81501
+ } | undefined;
80862
81502
  lineRichMenuId?: string | null | undefined;
80863
81503
  messengerIntegrationType?: "own" | "business" | undefined;
80864
81504
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -82178,7 +82818,7 @@ export declare const mainChatContract: {
82178
82818
  }>;
82179
82819
  permalinkURL: z.ZodString;
82180
82820
  }, "strip", z.ZodTypeAny, {
82181
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "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";
82821
+ type: string;
82182
82822
  message: string | null;
82183
82823
  id: string;
82184
82824
  channel: {
@@ -82211,6 +82851,10 @@ export declare const mainChatContract: {
82211
82851
  mobileNumber: string;
82212
82852
  apiSecret: string;
82213
82853
  } | undefined;
82854
+ line?: {
82855
+ channelId: string;
82856
+ channelSecret: string;
82857
+ } | undefined;
82214
82858
  lineRichMenuId?: string | null | undefined;
82215
82859
  messengerIntegrationType?: "own" | "business" | undefined;
82216
82860
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -82460,7 +83104,7 @@ export declare const mainChatContract: {
82460
83104
  metadata?: any;
82461
83105
  template?: any;
82462
83106
  }, {
82463
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "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";
83107
+ type: string;
82464
83108
  message: string | null;
82465
83109
  id: string;
82466
83110
  channel: {
@@ -82493,6 +83137,10 @@ export declare const mainChatContract: {
82493
83137
  mobileNumber: string;
82494
83138
  apiSecret: string;
82495
83139
  } | undefined;
83140
+ line?: {
83141
+ channelId: string;
83142
+ channelSecret: string;
83143
+ } | undefined;
82496
83144
  lineRichMenuId?: string | null | undefined;
82497
83145
  messengerIntegrationType?: "own" | "business" | undefined;
82498
83146
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -82744,7 +83392,7 @@ export declare const mainChatContract: {
82744
83392
  }>>;
82745
83393
  replyReaction: z.ZodNullable<z.ZodString>;
82746
83394
  }, "strip", z.ZodTypeAny, {
82747
- 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";
83395
+ type: string;
82748
83396
  message: string;
82749
83397
  id: string;
82750
83398
  url: string;
@@ -82885,6 +83533,10 @@ export declare const mainChatContract: {
82885
83533
  mobileNumber: string;
82886
83534
  apiSecret: string;
82887
83535
  } | undefined;
83536
+ line?: {
83537
+ channelId: string;
83538
+ channelSecret: string;
83539
+ } | undefined;
82888
83540
  lineRichMenuId?: string | null | undefined;
82889
83541
  messengerIntegrationType?: "own" | "business" | undefined;
82890
83542
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -83299,7 +83951,7 @@ export declare const mainChatContract: {
83299
83951
  previewUrl: string;
83300
83952
  imageSetId: string;
83301
83953
  repliedMessage: {
83302
- 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";
83954
+ type: string;
83303
83955
  message: string;
83304
83956
  id: string;
83305
83957
  url: string;
@@ -83509,7 +84161,7 @@ export declare const mainChatContract: {
83509
84161
  parentMessageId: string | null;
83510
84162
  feedPostId: string | null;
83511
84163
  feedPost: {
83512
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "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";
84164
+ type: string;
83513
84165
  message: string | null;
83514
84166
  id: string;
83515
84167
  channel: {
@@ -83542,6 +84194,10 @@ export declare const mainChatContract: {
83542
84194
  mobileNumber: string;
83543
84195
  apiSecret: string;
83544
84196
  } | undefined;
84197
+ line?: {
84198
+ channelId: string;
84199
+ channelSecret: string;
84200
+ } | undefined;
83545
84201
  lineRichMenuId?: string | null | undefined;
83546
84202
  messengerIntegrationType?: "own" | "business" | undefined;
83547
84203
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -83796,7 +84452,7 @@ export declare const mainChatContract: {
83796
84452
  template?: any;
83797
84453
  metadata?: any;
83798
84454
  }, {
83799
- 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";
84455
+ type: string;
83800
84456
  message: string;
83801
84457
  id: string;
83802
84458
  url: string;
@@ -83937,6 +84593,10 @@ export declare const mainChatContract: {
83937
84593
  mobileNumber: string;
83938
84594
  apiSecret: string;
83939
84595
  } | undefined;
84596
+ line?: {
84597
+ channelId: string;
84598
+ channelSecret: string;
84599
+ } | undefined;
83940
84600
  lineRichMenuId?: string | null | undefined;
83941
84601
  messengerIntegrationType?: "own" | "business" | undefined;
83942
84602
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -84351,7 +85011,7 @@ export declare const mainChatContract: {
84351
85011
  previewUrl: string;
84352
85012
  imageSetId: string;
84353
85013
  repliedMessage: {
84354
- 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";
85014
+ type: string;
84355
85015
  message: string;
84356
85016
  id: string;
84357
85017
  url: string;
@@ -84561,7 +85221,7 @@ export declare const mainChatContract: {
84561
85221
  parentMessageId: string | null;
84562
85222
  feedPostId: string | null;
84563
85223
  feedPost: {
84564
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "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";
85224
+ type: string;
84565
85225
  message: string | null;
84566
85226
  id: string;
84567
85227
  channel: {
@@ -84594,6 +85254,10 @@ export declare const mainChatContract: {
84594
85254
  mobileNumber: string;
84595
85255
  apiSecret: string;
84596
85256
  } | undefined;
85257
+ line?: {
85258
+ channelId: string;
85259
+ channelSecret: string;
85260
+ } | undefined;
84597
85261
  lineRichMenuId?: string | null | undefined;
84598
85262
  messengerIntegrationType?: "own" | "business" | undefined;
84599
85263
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -84850,7 +85514,7 @@ export declare const mainChatContract: {
84850
85514
  }>, "many">;
84851
85515
  }, "strip", z.ZodTypeAny, {
84852
85516
  data: {
84853
- 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";
85517
+ type: string;
84854
85518
  message: string;
84855
85519
  id: string;
84856
85520
  url: string;
@@ -84991,6 +85655,10 @@ export declare const mainChatContract: {
84991
85655
  mobileNumber: string;
84992
85656
  apiSecret: string;
84993
85657
  } | undefined;
85658
+ line?: {
85659
+ channelId: string;
85660
+ channelSecret: string;
85661
+ } | undefined;
84994
85662
  lineRichMenuId?: string | null | undefined;
84995
85663
  messengerIntegrationType?: "own" | "business" | undefined;
84996
85664
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -85405,7 +86073,7 @@ export declare const mainChatContract: {
85405
86073
  previewUrl: string;
85406
86074
  imageSetId: string;
85407
86075
  repliedMessage: {
85408
- 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";
86076
+ type: string;
85409
86077
  message: string;
85410
86078
  id: string;
85411
86079
  url: string;
@@ -85615,7 +86283,7 @@ export declare const mainChatContract: {
85615
86283
  parentMessageId: string | null;
85616
86284
  feedPostId: string | null;
85617
86285
  feedPost: {
85618
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "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";
86286
+ type: string;
85619
86287
  message: string | null;
85620
86288
  id: string;
85621
86289
  channel: {
@@ -85648,6 +86316,10 @@ export declare const mainChatContract: {
85648
86316
  mobileNumber: string;
85649
86317
  apiSecret: string;
85650
86318
  } | undefined;
86319
+ line?: {
86320
+ channelId: string;
86321
+ channelSecret: string;
86322
+ } | undefined;
85651
86323
  lineRichMenuId?: string | null | undefined;
85652
86324
  messengerIntegrationType?: "own" | "business" | undefined;
85653
86325
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -85908,7 +86580,7 @@ export declare const mainChatContract: {
85908
86580
  requestId: string;
85909
86581
  }, {
85910
86582
  data: {
85911
- 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";
86583
+ type: string;
85912
86584
  message: string;
85913
86585
  id: string;
85914
86586
  url: string;
@@ -86049,6 +86721,10 @@ export declare const mainChatContract: {
86049
86721
  mobileNumber: string;
86050
86722
  apiSecret: string;
86051
86723
  } | undefined;
86724
+ line?: {
86725
+ channelId: string;
86726
+ channelSecret: string;
86727
+ } | undefined;
86052
86728
  lineRichMenuId?: string | null | undefined;
86053
86729
  messengerIntegrationType?: "own" | "business" | undefined;
86054
86730
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -86463,7 +87139,7 @@ export declare const mainChatContract: {
86463
87139
  previewUrl: string;
86464
87140
  imageSetId: string;
86465
87141
  repliedMessage: {
86466
- 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";
87142
+ type: string;
86467
87143
  message: string;
86468
87144
  id: string;
86469
87145
  url: string;
@@ -86673,7 +87349,7 @@ export declare const mainChatContract: {
86673
87349
  parentMessageId: string | null;
86674
87350
  feedPostId: string | null;
86675
87351
  feedPost: {
86676
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "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";
87352
+ type: string;
86677
87353
  message: string | null;
86678
87354
  id: string;
86679
87355
  channel: {
@@ -86706,6 +87382,10 @@ export declare const mainChatContract: {
86706
87382
  mobileNumber: string;
86707
87383
  apiSecret: string;
86708
87384
  } | undefined;
87385
+ line?: {
87386
+ channelId: string;
87387
+ channelSecret: string;
87388
+ } | undefined;
86709
87389
  lineRichMenuId?: string | null | undefined;
86710
87390
  messengerIntegrationType?: "own" | "business" | undefined;
86711
87391
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -87018,7 +87698,7 @@ export declare const mainChatContract: {
87018
87698
  firstResponseTime: z.ZodNumber;
87019
87699
  isLatest: z.ZodBoolean;
87020
87700
  isBotRoom: z.ZodBoolean;
87021
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
87701
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
87022
87702
  platformContact: z.ZodObject<{
87023
87703
  id: z.ZodString;
87024
87704
  createdAt: z.ZodDate;
@@ -88542,6 +89222,16 @@ export declare const mainChatContract: {
88542
89222
  mobileNumber: string;
88543
89223
  apiSecret: string;
88544
89224
  }>>;
89225
+ line: z.ZodOptional<z.ZodObject<{
89226
+ channelId: z.ZodString;
89227
+ channelSecret: z.ZodString;
89228
+ }, "strip", z.ZodTypeAny, {
89229
+ channelId: string;
89230
+ channelSecret: string;
89231
+ }, {
89232
+ channelId: string;
89233
+ channelSecret: string;
89234
+ }>>;
88545
89235
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
88546
89236
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
88547
89237
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -88572,6 +89262,10 @@ export declare const mainChatContract: {
88572
89262
  mobileNumber: string;
88573
89263
  apiSecret: string;
88574
89264
  } | undefined;
89265
+ line?: {
89266
+ channelId: string;
89267
+ channelSecret: string;
89268
+ } | undefined;
88575
89269
  lineRichMenuId?: string | null | undefined;
88576
89270
  messengerIntegrationType?: "own" | "business" | undefined;
88577
89271
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -88602,6 +89296,10 @@ export declare const mainChatContract: {
88602
89296
  mobileNumber: string;
88603
89297
  apiSecret: string;
88604
89298
  } | undefined;
89299
+ line?: {
89300
+ channelId: string;
89301
+ channelSecret: string;
89302
+ } | undefined;
88605
89303
  lineRichMenuId?: string | null | undefined;
88606
89304
  messengerIntegrationType?: "own" | "business" | undefined;
88607
89305
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -88866,6 +89564,10 @@ export declare const mainChatContract: {
88866
89564
  mobileNumber: string;
88867
89565
  apiSecret: string;
88868
89566
  } | undefined;
89567
+ line?: {
89568
+ channelId: string;
89569
+ channelSecret: string;
89570
+ } | undefined;
88869
89571
  lineRichMenuId?: string | null | undefined;
88870
89572
  messengerIntegrationType?: "own" | "business" | undefined;
88871
89573
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -88961,6 +89663,10 @@ export declare const mainChatContract: {
88961
89663
  mobileNumber: string;
88962
89664
  apiSecret: string;
88963
89665
  } | undefined;
89666
+ line?: {
89667
+ channelId: string;
89668
+ channelSecret: string;
89669
+ } | undefined;
88964
89670
  lineRichMenuId?: string | null | undefined;
88965
89671
  messengerIntegrationType?: "own" | "business" | undefined;
88966
89672
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -89620,6 +90326,10 @@ export declare const mainChatContract: {
89620
90326
  mobileNumber: string;
89621
90327
  apiSecret: string;
89622
90328
  } | undefined;
90329
+ line?: {
90330
+ channelId: string;
90331
+ channelSecret: string;
90332
+ } | undefined;
89623
90333
  lineRichMenuId?: string | null | undefined;
89624
90334
  messengerIntegrationType?: "own" | "business" | undefined;
89625
90335
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -90049,6 +90759,10 @@ export declare const mainChatContract: {
90049
90759
  mobileNumber: string;
90050
90760
  apiSecret: string;
90051
90761
  } | undefined;
90762
+ line?: {
90763
+ channelId: string;
90764
+ channelSecret: string;
90765
+ } | undefined;
90052
90766
  lineRichMenuId?: string | null | undefined;
90053
90767
  messengerIntegrationType?: "own" | "business" | undefined;
90054
90768
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -90480,6 +91194,10 @@ export declare const mainChatContract: {
90480
91194
  mobileNumber: string;
90481
91195
  apiSecret: string;
90482
91196
  } | undefined;
91197
+ line?: {
91198
+ channelId: string;
91199
+ channelSecret: string;
91200
+ } | undefined;
90483
91201
  lineRichMenuId?: string | null | undefined;
90484
91202
  messengerIntegrationType?: "own" | "business" | undefined;
90485
91203
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -90912,6 +91630,10 @@ export declare const mainChatContract: {
90912
91630
  mobileNumber: string;
90913
91631
  apiSecret: string;
90914
91632
  } | undefined;
91633
+ line?: {
91634
+ channelId: string;
91635
+ channelSecret: string;
91636
+ } | undefined;
90915
91637
  lineRichMenuId?: string | null | undefined;
90916
91638
  messengerIntegrationType?: "own" | "business" | undefined;
90917
91639
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -91375,7 +92097,7 @@ export declare const mainChatContract: {
91375
92097
  firstResponseTime: z.ZodNumber;
91376
92098
  isLatest: z.ZodBoolean;
91377
92099
  isBotRoom: z.ZodBoolean;
91378
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
92100
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
91379
92101
  platformContact: z.ZodObject<{
91380
92102
  id: z.ZodString;
91381
92103
  createdAt: z.ZodDate;
@@ -92899,6 +93621,16 @@ export declare const mainChatContract: {
92899
93621
  mobileNumber: string;
92900
93622
  apiSecret: string;
92901
93623
  }>>;
93624
+ line: z.ZodOptional<z.ZodObject<{
93625
+ channelId: z.ZodString;
93626
+ channelSecret: z.ZodString;
93627
+ }, "strip", z.ZodTypeAny, {
93628
+ channelId: string;
93629
+ channelSecret: string;
93630
+ }, {
93631
+ channelId: string;
93632
+ channelSecret: string;
93633
+ }>>;
92902
93634
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
92903
93635
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
92904
93636
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -92929,6 +93661,10 @@ export declare const mainChatContract: {
92929
93661
  mobileNumber: string;
92930
93662
  apiSecret: string;
92931
93663
  } | undefined;
93664
+ line?: {
93665
+ channelId: string;
93666
+ channelSecret: string;
93667
+ } | undefined;
92932
93668
  lineRichMenuId?: string | null | undefined;
92933
93669
  messengerIntegrationType?: "own" | "business" | undefined;
92934
93670
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -92959,6 +93695,10 @@ export declare const mainChatContract: {
92959
93695
  mobileNumber: string;
92960
93696
  apiSecret: string;
92961
93697
  } | undefined;
93698
+ line?: {
93699
+ channelId: string;
93700
+ channelSecret: string;
93701
+ } | undefined;
92962
93702
  lineRichMenuId?: string | null | undefined;
92963
93703
  messengerIntegrationType?: "own" | "business" | undefined;
92964
93704
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -93223,6 +93963,10 @@ export declare const mainChatContract: {
93223
93963
  mobileNumber: string;
93224
93964
  apiSecret: string;
93225
93965
  } | undefined;
93966
+ line?: {
93967
+ channelId: string;
93968
+ channelSecret: string;
93969
+ } | undefined;
93226
93970
  lineRichMenuId?: string | null | undefined;
93227
93971
  messengerIntegrationType?: "own" | "business" | undefined;
93228
93972
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -93318,6 +94062,10 @@ export declare const mainChatContract: {
93318
94062
  mobileNumber: string;
93319
94063
  apiSecret: string;
93320
94064
  } | undefined;
94065
+ line?: {
94066
+ channelId: string;
94067
+ channelSecret: string;
94068
+ } | undefined;
93321
94069
  lineRichMenuId?: string | null | undefined;
93322
94070
  messengerIntegrationType?: "own" | "business" | undefined;
93323
94071
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -93977,6 +94725,10 @@ export declare const mainChatContract: {
93977
94725
  mobileNumber: string;
93978
94726
  apiSecret: string;
93979
94727
  } | undefined;
94728
+ line?: {
94729
+ channelId: string;
94730
+ channelSecret: string;
94731
+ } | undefined;
93980
94732
  lineRichMenuId?: string | null | undefined;
93981
94733
  messengerIntegrationType?: "own" | "business" | undefined;
93982
94734
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -94406,6 +95158,10 @@ export declare const mainChatContract: {
94406
95158
  mobileNumber: string;
94407
95159
  apiSecret: string;
94408
95160
  } | undefined;
95161
+ line?: {
95162
+ channelId: string;
95163
+ channelSecret: string;
95164
+ } | undefined;
94409
95165
  lineRichMenuId?: string | null | undefined;
94410
95166
  messengerIntegrationType?: "own" | "business" | undefined;
94411
95167
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -94837,6 +95593,10 @@ export declare const mainChatContract: {
94837
95593
  mobileNumber: string;
94838
95594
  apiSecret: string;
94839
95595
  } | undefined;
95596
+ line?: {
95597
+ channelId: string;
95598
+ channelSecret: string;
95599
+ } | undefined;
94840
95600
  lineRichMenuId?: string | null | undefined;
94841
95601
  messengerIntegrationType?: "own" | "business" | undefined;
94842
95602
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -95269,6 +96029,10 @@ export declare const mainChatContract: {
95269
96029
  mobileNumber: string;
95270
96030
  apiSecret: string;
95271
96031
  } | undefined;
96032
+ line?: {
96033
+ channelId: string;
96034
+ channelSecret: string;
96035
+ } | undefined;
95272
96036
  lineRichMenuId?: string | null | undefined;
95273
96037
  messengerIntegrationType?: "own" | "business" | undefined;
95274
96038
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -96793,7 +97557,7 @@ export declare const mainChatContract: {
96793
97557
  firstResponseTime: z.ZodNumber;
96794
97558
  isLatest: z.ZodBoolean;
96795
97559
  isBotRoom: z.ZodBoolean;
96796
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
97560
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
96797
97561
  platformContact: z.ZodObject<{
96798
97562
  id: z.ZodString;
96799
97563
  createdAt: z.ZodDate;
@@ -98317,6 +99081,16 @@ export declare const mainChatContract: {
98317
99081
  mobileNumber: string;
98318
99082
  apiSecret: string;
98319
99083
  }>>;
99084
+ line: z.ZodOptional<z.ZodObject<{
99085
+ channelId: z.ZodString;
99086
+ channelSecret: z.ZodString;
99087
+ }, "strip", z.ZodTypeAny, {
99088
+ channelId: string;
99089
+ channelSecret: string;
99090
+ }, {
99091
+ channelId: string;
99092
+ channelSecret: string;
99093
+ }>>;
98320
99094
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
98321
99095
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
98322
99096
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -98347,6 +99121,10 @@ export declare const mainChatContract: {
98347
99121
  mobileNumber: string;
98348
99122
  apiSecret: string;
98349
99123
  } | undefined;
99124
+ line?: {
99125
+ channelId: string;
99126
+ channelSecret: string;
99127
+ } | undefined;
98350
99128
  lineRichMenuId?: string | null | undefined;
98351
99129
  messengerIntegrationType?: "own" | "business" | undefined;
98352
99130
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -98377,6 +99155,10 @@ export declare const mainChatContract: {
98377
99155
  mobileNumber: string;
98378
99156
  apiSecret: string;
98379
99157
  } | undefined;
99158
+ line?: {
99159
+ channelId: string;
99160
+ channelSecret: string;
99161
+ } | undefined;
98380
99162
  lineRichMenuId?: string | null | undefined;
98381
99163
  messengerIntegrationType?: "own" | "business" | undefined;
98382
99164
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -98641,6 +99423,10 @@ export declare const mainChatContract: {
98641
99423
  mobileNumber: string;
98642
99424
  apiSecret: string;
98643
99425
  } | undefined;
99426
+ line?: {
99427
+ channelId: string;
99428
+ channelSecret: string;
99429
+ } | undefined;
98644
99430
  lineRichMenuId?: string | null | undefined;
98645
99431
  messengerIntegrationType?: "own" | "business" | undefined;
98646
99432
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -98736,6 +99522,10 @@ export declare const mainChatContract: {
98736
99522
  mobileNumber: string;
98737
99523
  apiSecret: string;
98738
99524
  } | undefined;
99525
+ line?: {
99526
+ channelId: string;
99527
+ channelSecret: string;
99528
+ } | undefined;
98739
99529
  lineRichMenuId?: string | null | undefined;
98740
99530
  messengerIntegrationType?: "own" | "business" | undefined;
98741
99531
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -99395,6 +100185,10 @@ export declare const mainChatContract: {
99395
100185
  mobileNumber: string;
99396
100186
  apiSecret: string;
99397
100187
  } | undefined;
100188
+ line?: {
100189
+ channelId: string;
100190
+ channelSecret: string;
100191
+ } | undefined;
99398
100192
  lineRichMenuId?: string | null | undefined;
99399
100193
  messengerIntegrationType?: "own" | "business" | undefined;
99400
100194
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -99824,6 +100618,10 @@ export declare const mainChatContract: {
99824
100618
  mobileNumber: string;
99825
100619
  apiSecret: string;
99826
100620
  } | undefined;
100621
+ line?: {
100622
+ channelId: string;
100623
+ channelSecret: string;
100624
+ } | undefined;
99827
100625
  lineRichMenuId?: string | null | undefined;
99828
100626
  messengerIntegrationType?: "own" | "business" | undefined;
99829
100627
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -100255,6 +101053,10 @@ export declare const mainChatContract: {
100255
101053
  mobileNumber: string;
100256
101054
  apiSecret: string;
100257
101055
  } | undefined;
101056
+ line?: {
101057
+ channelId: string;
101058
+ channelSecret: string;
101059
+ } | undefined;
100258
101060
  lineRichMenuId?: string | null | undefined;
100259
101061
  messengerIntegrationType?: "own" | "business" | undefined;
100260
101062
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -100687,6 +101489,10 @@ export declare const mainChatContract: {
100687
101489
  mobileNumber: string;
100688
101490
  apiSecret: string;
100689
101491
  } | undefined;
101492
+ line?: {
101493
+ channelId: string;
101494
+ channelSecret: string;
101495
+ } | undefined;
100690
101496
  lineRichMenuId?: string | null | undefined;
100691
101497
  messengerIntegrationType?: "own" | "business" | undefined;
100692
101498
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -101115,17 +101921,17 @@ export declare const initiateMessageContract: {
101115
101921
  contactId: z.ZodOptional<z.ZodString>;
101116
101922
  message: z.ZodObject<{
101117
101923
  message: z.ZodOptional<z.ZodString>;
101118
- messageType: 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"]>;
101924
+ messageType: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
101119
101925
  }, "strip", z.ZodTypeAny, {
101120
- messageType: "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";
101926
+ messageType: string;
101121
101927
  message?: string | undefined;
101122
101928
  }, {
101123
- messageType: "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";
101929
+ messageType: string;
101124
101930
  message?: string | undefined;
101125
101931
  }>;
101126
101932
  }, "strip", z.ZodTypeAny, {
101127
101933
  message: {
101128
- messageType: "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";
101934
+ messageType: string;
101129
101935
  message?: string | undefined;
101130
101936
  };
101131
101937
  channelId: string;
@@ -101133,7 +101939,7 @@ export declare const initiateMessageContract: {
101133
101939
  contactId?: string | undefined;
101134
101940
  }, {
101135
101941
  message: {
101136
- messageType: "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";
101942
+ messageType: string;
101137
101943
  message?: string | undefined;
101138
101944
  };
101139
101945
  channelId: string;
@@ -101150,8 +101956,8 @@ export declare const initiateMessageContract: {
101150
101956
  updatedAt: z.ZodDate;
101151
101957
  deletedAt: z.ZodNullable<z.ZodDate>;
101152
101958
  message: z.ZodString;
101153
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
101154
- 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"]>;
101959
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
101960
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
101155
101961
  readAt: z.ZodDate;
101156
101962
  metadata: z.ZodAny;
101157
101963
  platformId: z.ZodString;
@@ -101177,7 +101983,7 @@ export declare const initiateMessageContract: {
101177
101983
  firstResponseTime: z.ZodNumber;
101178
101984
  isLatest: z.ZodBoolean;
101179
101985
  isBotRoom: z.ZodBoolean;
101180
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
101986
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
101181
101987
  platformContact: z.ZodObject<{
101182
101988
  id: z.ZodString;
101183
101989
  createdAt: z.ZodDate;
@@ -102701,6 +103507,16 @@ export declare const initiateMessageContract: {
102701
103507
  mobileNumber: string;
102702
103508
  apiSecret: string;
102703
103509
  }>>;
103510
+ line: z.ZodOptional<z.ZodObject<{
103511
+ channelId: z.ZodString;
103512
+ channelSecret: z.ZodString;
103513
+ }, "strip", z.ZodTypeAny, {
103514
+ channelId: string;
103515
+ channelSecret: string;
103516
+ }, {
103517
+ channelId: string;
103518
+ channelSecret: string;
103519
+ }>>;
102704
103520
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
102705
103521
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
102706
103522
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -102731,6 +103547,10 @@ export declare const initiateMessageContract: {
102731
103547
  mobileNumber: string;
102732
103548
  apiSecret: string;
102733
103549
  } | undefined;
103550
+ line?: {
103551
+ channelId: string;
103552
+ channelSecret: string;
103553
+ } | undefined;
102734
103554
  lineRichMenuId?: string | null | undefined;
102735
103555
  messengerIntegrationType?: "own" | "business" | undefined;
102736
103556
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -102761,6 +103581,10 @@ export declare const initiateMessageContract: {
102761
103581
  mobileNumber: string;
102762
103582
  apiSecret: string;
102763
103583
  } | undefined;
103584
+ line?: {
103585
+ channelId: string;
103586
+ channelSecret: string;
103587
+ } | undefined;
102764
103588
  lineRichMenuId?: string | null | undefined;
102765
103589
  messengerIntegrationType?: "own" | "business" | undefined;
102766
103590
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -103025,6 +103849,10 @@ export declare const initiateMessageContract: {
103025
103849
  mobileNumber: string;
103026
103850
  apiSecret: string;
103027
103851
  } | undefined;
103852
+ line?: {
103853
+ channelId: string;
103854
+ channelSecret: string;
103855
+ } | undefined;
103028
103856
  lineRichMenuId?: string | null | undefined;
103029
103857
  messengerIntegrationType?: "own" | "business" | undefined;
103030
103858
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -103120,6 +103948,10 @@ export declare const initiateMessageContract: {
103120
103948
  mobileNumber: string;
103121
103949
  apiSecret: string;
103122
103950
  } | undefined;
103951
+ line?: {
103952
+ channelId: string;
103953
+ channelSecret: string;
103954
+ } | undefined;
103123
103955
  lineRichMenuId?: string | null | undefined;
103124
103956
  messengerIntegrationType?: "own" | "business" | undefined;
103125
103957
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -103779,6 +104611,10 @@ export declare const initiateMessageContract: {
103779
104611
  mobileNumber: string;
103780
104612
  apiSecret: string;
103781
104613
  } | undefined;
104614
+ line?: {
104615
+ channelId: string;
104616
+ channelSecret: string;
104617
+ } | undefined;
103782
104618
  lineRichMenuId?: string | null | undefined;
103783
104619
  messengerIntegrationType?: "own" | "business" | undefined;
103784
104620
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -104208,6 +105044,10 @@ export declare const initiateMessageContract: {
104208
105044
  mobileNumber: string;
104209
105045
  apiSecret: string;
104210
105046
  } | undefined;
105047
+ line?: {
105048
+ channelId: string;
105049
+ channelSecret: string;
105050
+ } | undefined;
104211
105051
  lineRichMenuId?: string | null | undefined;
104212
105052
  messengerIntegrationType?: "own" | "business" | undefined;
104213
105053
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -104646,8 +105486,8 @@ export declare const initiateMessageContract: {
104646
105486
  updatedAt: z.ZodDate;
104647
105487
  deletedAt: z.ZodNullable<z.ZodDate>;
104648
105488
  message: z.ZodString;
104649
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
104650
- 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"]>;
105489
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
105490
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
104651
105491
  readAt: z.ZodDate;
104652
105492
  metadata: z.ZodAny;
104653
105493
  platformId: z.ZodString;
@@ -105305,7 +106145,7 @@ export declare const initiateMessageContract: {
105305
106145
  };
105306
106146
  }>;
105307
106147
  }, "strip", z.ZodTypeAny, {
105308
- 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";
106148
+ type: string;
105309
106149
  message: string;
105310
106150
  id: string;
105311
106151
  url: string;
@@ -105467,7 +106307,7 @@ export declare const initiateMessageContract: {
105467
106307
  metadata?: any;
105468
106308
  template?: any;
105469
106309
  }, {
105470
- 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";
106310
+ type: string;
105471
106311
  message: string;
105472
106312
  id: string;
105473
106313
  url: string;
@@ -106269,7 +107109,7 @@ export declare const initiateMessageContract: {
106269
107109
  editedMessageid: z.ZodString;
106270
107110
  label: z.ZodOptional<z.ZodString>;
106271
107111
  }, "strip", z.ZodTypeAny, {
106272
- 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";
107112
+ type: string;
106273
107113
  message: string;
106274
107114
  id: string;
106275
107115
  url: string;
@@ -106410,6 +107250,10 @@ export declare const initiateMessageContract: {
106410
107250
  mobileNumber: string;
106411
107251
  apiSecret: string;
106412
107252
  } | undefined;
107253
+ line?: {
107254
+ channelId: string;
107255
+ channelSecret: string;
107256
+ } | undefined;
106413
107257
  lineRichMenuId?: string | null | undefined;
106414
107258
  messengerIntegrationType?: "own" | "business" | undefined;
106415
107259
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -106824,7 +107668,7 @@ export declare const initiateMessageContract: {
106824
107668
  previewUrl: string;
106825
107669
  imageSetId: string;
106826
107670
  repliedMessage: {
106827
- 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";
107671
+ type: string;
106828
107672
  message: string;
106829
107673
  id: string;
106830
107674
  url: string;
@@ -107035,7 +107879,7 @@ export declare const initiateMessageContract: {
107035
107879
  template?: any;
107036
107880
  label?: string | undefined;
107037
107881
  }, {
107038
- 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";
107882
+ type: string;
107039
107883
  message: string;
107040
107884
  id: string;
107041
107885
  url: string;
@@ -107176,6 +108020,10 @@ export declare const initiateMessageContract: {
107176
108020
  mobileNumber: string;
107177
108021
  apiSecret: string;
107178
108022
  } | undefined;
108023
+ line?: {
108024
+ channelId: string;
108025
+ channelSecret: string;
108026
+ } | undefined;
107179
108027
  lineRichMenuId?: string | null | undefined;
107180
108028
  messengerIntegrationType?: "own" | "business" | undefined;
107181
108029
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -107590,7 +108438,7 @@ export declare const initiateMessageContract: {
107590
108438
  previewUrl: string;
107591
108439
  imageSetId: string;
107592
108440
  repliedMessage: {
107593
- 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";
108441
+ type: string;
107594
108442
  message: string;
107595
108443
  id: string;
107596
108444
  url: string;
@@ -107803,7 +108651,7 @@ export declare const initiateMessageContract: {
107803
108651
  }>;
107804
108652
  }, "strip", z.ZodTypeAny, {
107805
108653
  data: {
107806
- 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";
108654
+ type: string;
107807
108655
  message: string;
107808
108656
  id: string;
107809
108657
  url: string;
@@ -107944,6 +108792,10 @@ export declare const initiateMessageContract: {
107944
108792
  mobileNumber: string;
107945
108793
  apiSecret: string;
107946
108794
  } | undefined;
108795
+ line?: {
108796
+ channelId: string;
108797
+ channelSecret: string;
108798
+ } | undefined;
107947
108799
  lineRichMenuId?: string | null | undefined;
107948
108800
  messengerIntegrationType?: "own" | "business" | undefined;
107949
108801
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -108358,7 +109210,7 @@ export declare const initiateMessageContract: {
108358
109210
  previewUrl: string;
108359
109211
  imageSetId: string;
108360
109212
  repliedMessage: {
108361
- 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";
109213
+ type: string;
108362
109214
  message: string;
108363
109215
  id: string;
108364
109216
  url: string;
@@ -108572,7 +109424,7 @@ export declare const initiateMessageContract: {
108572
109424
  requestId: string;
108573
109425
  }, {
108574
109426
  data: {
108575
- 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";
109427
+ type: string;
108576
109428
  message: string;
108577
109429
  id: string;
108578
109430
  url: string;
@@ -108713,6 +109565,10 @@ export declare const initiateMessageContract: {
108713
109565
  mobileNumber: string;
108714
109566
  apiSecret: string;
108715
109567
  } | undefined;
109568
+ line?: {
109569
+ channelId: string;
109570
+ channelSecret: string;
109571
+ } | undefined;
108716
109572
  lineRichMenuId?: string | null | undefined;
108717
109573
  messengerIntegrationType?: "own" | "business" | undefined;
108718
109574
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -109127,7 +109983,7 @@ export declare const initiateMessageContract: {
109127
109983
  previewUrl: string;
109128
109984
  imageSetId: string;
109129
109985
  repliedMessage: {
109130
- 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";
109986
+ type: string;
109131
109987
  message: string;
109132
109988
  id: string;
109133
109989
  url: string;
@@ -109384,7 +110240,7 @@ export declare const mainChatMessageContract: {
109384
110240
  sendMessage: {
109385
110241
  body: z.ZodObject<{
109386
110242
  roomId: z.ZodString;
109387
- messageType: 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"]>;
110243
+ messageType: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
109388
110244
  message: z.ZodOptional<z.ZodString>;
109389
110245
  messageAttachments: z.ZodOptional<z.ZodObject<{
109390
110246
  bucketName: z.ZodString;
@@ -109394,6 +110250,8 @@ export declare const mainChatMessageContract: {
109394
110250
  url: z.ZodNullable<z.ZodString>;
109395
110251
  fileType: z.ZodString;
109396
110252
  thumbnailUrl: z.ZodOptional<z.ZodString>;
110253
+ width: z.ZodOptional<z.ZodString>;
110254
+ height: z.ZodOptional<z.ZodString>;
109397
110255
  }, "strip", z.ZodTypeAny, {
109398
110256
  url: string | null;
109399
110257
  fileName: string;
@@ -109402,6 +110260,8 @@ export declare const mainChatMessageContract: {
109402
110260
  bucketName: string;
109403
110261
  fileSize: number;
109404
110262
  thumbnailUrl?: string | undefined;
110263
+ width?: string | undefined;
110264
+ height?: string | undefined;
109405
110265
  }, {
109406
110266
  url: string | null;
109407
110267
  fileName: string;
@@ -109410,6 +110270,8 @@ export declare const mainChatMessageContract: {
109410
110270
  bucketName: string;
109411
110271
  fileSize: number;
109412
110272
  thumbnailUrl?: string | undefined;
110273
+ width?: string | undefined;
110274
+ height?: string | undefined;
109413
110275
  }>>;
109414
110276
  user: z.ZodOptional<z.ZodObject<{
109415
110277
  name: z.ZodString;
@@ -109643,7 +110505,7 @@ export declare const mainChatMessageContract: {
109643
110505
  mentions?: string[] | undefined;
109644
110506
  }>>;
109645
110507
  }, "strip", z.ZodTypeAny, {
109646
- messageType: "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";
110508
+ messageType: string;
109647
110509
  roomId: string;
109648
110510
  message?: string | undefined;
109649
110511
  messageAttachments?: {
@@ -109654,6 +110516,8 @@ export declare const mainChatMessageContract: {
109654
110516
  bucketName: string;
109655
110517
  fileSize: number;
109656
110518
  thumbnailUrl?: string | undefined;
110519
+ width?: string | undefined;
110520
+ height?: string | undefined;
109657
110521
  } | undefined;
109658
110522
  user?: {
109659
110523
  name: string;
@@ -109715,7 +110579,7 @@ export declare const mainChatMessageContract: {
109715
110579
  mentions?: string[] | undefined;
109716
110580
  } | undefined;
109717
110581
  }, {
109718
- messageType: "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";
110582
+ messageType: string;
109719
110583
  roomId: string;
109720
110584
  message?: string | undefined;
109721
110585
  messageAttachments?: {
@@ -109726,6 +110590,8 @@ export declare const mainChatMessageContract: {
109726
110590
  bucketName: string;
109727
110591
  fileSize: number;
109728
110592
  thumbnailUrl?: string | undefined;
110593
+ width?: string | undefined;
110594
+ height?: string | undefined;
109729
110595
  } | undefined;
109730
110596
  user?: {
109731
110597
  name: string;
@@ -109793,11 +110659,11 @@ export declare const mainChatMessageContract: {
109793
110659
  200: z.ZodObject<{
109794
110660
  requestId: z.ZodString;
109795
110661
  data: z.ZodObject<{
109796
- 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"]>;
110662
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
109797
110663
  message: z.ZodString;
109798
110664
  id: z.ZodString;
109799
110665
  url: z.ZodString;
109800
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
110666
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
109801
110667
  label: z.ZodOptional<z.ZodString>;
109802
110668
  template: z.ZodAny;
109803
110669
  metadata: z.ZodAny;
@@ -110262,7 +111128,7 @@ export declare const mainChatMessageContract: {
110262
111128
  firstResponseTime: z.ZodNumber;
110263
111129
  isLatest: z.ZodBoolean;
110264
111130
  isBotRoom: z.ZodBoolean;
110265
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
111131
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
110266
111132
  platformContact: z.ZodObject<{
110267
111133
  id: z.ZodString;
110268
111134
  createdAt: z.ZodDate;
@@ -111786,6 +112652,16 @@ export declare const mainChatMessageContract: {
111786
112652
  mobileNumber: string;
111787
112653
  apiSecret: string;
111788
112654
  }>>;
112655
+ line: z.ZodOptional<z.ZodObject<{
112656
+ channelId: z.ZodString;
112657
+ channelSecret: z.ZodString;
112658
+ }, "strip", z.ZodTypeAny, {
112659
+ channelId: string;
112660
+ channelSecret: string;
112661
+ }, {
112662
+ channelId: string;
112663
+ channelSecret: string;
112664
+ }>>;
111789
112665
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
111790
112666
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
111791
112667
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -111816,6 +112692,10 @@ export declare const mainChatMessageContract: {
111816
112692
  mobileNumber: string;
111817
112693
  apiSecret: string;
111818
112694
  } | undefined;
112695
+ line?: {
112696
+ channelId: string;
112697
+ channelSecret: string;
112698
+ } | undefined;
111819
112699
  lineRichMenuId?: string | null | undefined;
111820
112700
  messengerIntegrationType?: "own" | "business" | undefined;
111821
112701
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -111846,6 +112726,10 @@ export declare const mainChatMessageContract: {
111846
112726
  mobileNumber: string;
111847
112727
  apiSecret: string;
111848
112728
  } | undefined;
112729
+ line?: {
112730
+ channelId: string;
112731
+ channelSecret: string;
112732
+ } | undefined;
111849
112733
  lineRichMenuId?: string | null | undefined;
111850
112734
  messengerIntegrationType?: "own" | "business" | undefined;
111851
112735
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -112110,6 +112994,10 @@ export declare const mainChatMessageContract: {
112110
112994
  mobileNumber: string;
112111
112995
  apiSecret: string;
112112
112996
  } | undefined;
112997
+ line?: {
112998
+ channelId: string;
112999
+ channelSecret: string;
113000
+ } | undefined;
112113
113001
  lineRichMenuId?: string | null | undefined;
112114
113002
  messengerIntegrationType?: "own" | "business" | undefined;
112115
113003
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -112205,6 +113093,10 @@ export declare const mainChatMessageContract: {
112205
113093
  mobileNumber: string;
112206
113094
  apiSecret: string;
112207
113095
  } | undefined;
113096
+ line?: {
113097
+ channelId: string;
113098
+ channelSecret: string;
113099
+ } | undefined;
112208
113100
  lineRichMenuId?: string | null | undefined;
112209
113101
  messengerIntegrationType?: "own" | "business" | undefined;
112210
113102
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -112864,6 +113756,10 @@ export declare const mainChatMessageContract: {
112864
113756
  mobileNumber: string;
112865
113757
  apiSecret: string;
112866
113758
  } | undefined;
113759
+ line?: {
113760
+ channelId: string;
113761
+ channelSecret: string;
113762
+ } | undefined;
112867
113763
  lineRichMenuId?: string | null | undefined;
112868
113764
  messengerIntegrationType?: "own" | "business" | undefined;
112869
113765
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -113293,6 +114189,10 @@ export declare const mainChatMessageContract: {
113293
114189
  mobileNumber: string;
113294
114190
  apiSecret: string;
113295
114191
  } | undefined;
114192
+ line?: {
114193
+ channelId: string;
114194
+ channelSecret: string;
114195
+ } | undefined;
113296
114196
  lineRichMenuId?: string | null | undefined;
113297
114197
  messengerIntegrationType?: "own" | "business" | undefined;
113298
114198
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -113728,8 +114628,8 @@ export declare const mainChatMessageContract: {
113728
114628
  updatedAt: z.ZodDate;
113729
114629
  deletedAt: z.ZodNullable<z.ZodDate>;
113730
114630
  message: z.ZodString;
113731
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
113732
- 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"]>;
114631
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
114632
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
113733
114633
  readAt: z.ZodDate;
113734
114634
  metadata: z.ZodAny;
113735
114635
  platformId: z.ZodString;
@@ -114387,7 +115287,7 @@ export declare const mainChatMessageContract: {
114387
115287
  };
114388
115288
  }>;
114389
115289
  }, "strip", z.ZodTypeAny, {
114390
- 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";
115290
+ type: string;
114391
115291
  message: string;
114392
115292
  id: string;
114393
115293
  url: string;
@@ -114549,7 +115449,7 @@ export declare const mainChatMessageContract: {
114549
115449
  metadata?: any;
114550
115450
  template?: any;
114551
115451
  }, {
114552
- 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";
115452
+ type: string;
114553
115453
  message: string;
114554
115454
  id: string;
114555
115455
  url: string;
@@ -114922,8 +115822,8 @@ export declare const mainChatMessageContract: {
114922
115822
  updatedAt: z.ZodDate;
114923
115823
  deletedAt: z.ZodNullable<z.ZodDate>;
114924
115824
  message: z.ZodString;
114925
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
114926
- 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"]>;
115825
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
115826
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
114927
115827
  readAt: z.ZodDate;
114928
115828
  metadata: z.ZodAny;
114929
115829
  platformId: z.ZodString;
@@ -114949,7 +115849,7 @@ export declare const mainChatMessageContract: {
114949
115849
  firstResponseTime: z.ZodNumber;
114950
115850
  isLatest: z.ZodBoolean;
114951
115851
  isBotRoom: z.ZodBoolean;
114952
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
115852
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
114953
115853
  platformContact: z.ZodObject<{
114954
115854
  id: z.ZodString;
114955
115855
  createdAt: z.ZodDate;
@@ -116473,6 +117373,16 @@ export declare const mainChatMessageContract: {
116473
117373
  mobileNumber: string;
116474
117374
  apiSecret: string;
116475
117375
  }>>;
117376
+ line: z.ZodOptional<z.ZodObject<{
117377
+ channelId: z.ZodString;
117378
+ channelSecret: z.ZodString;
117379
+ }, "strip", z.ZodTypeAny, {
117380
+ channelId: string;
117381
+ channelSecret: string;
117382
+ }, {
117383
+ channelId: string;
117384
+ channelSecret: string;
117385
+ }>>;
116476
117386
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
116477
117387
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
116478
117388
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -116503,6 +117413,10 @@ export declare const mainChatMessageContract: {
116503
117413
  mobileNumber: string;
116504
117414
  apiSecret: string;
116505
117415
  } | undefined;
117416
+ line?: {
117417
+ channelId: string;
117418
+ channelSecret: string;
117419
+ } | undefined;
116506
117420
  lineRichMenuId?: string | null | undefined;
116507
117421
  messengerIntegrationType?: "own" | "business" | undefined;
116508
117422
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -116533,6 +117447,10 @@ export declare const mainChatMessageContract: {
116533
117447
  mobileNumber: string;
116534
117448
  apiSecret: string;
116535
117449
  } | undefined;
117450
+ line?: {
117451
+ channelId: string;
117452
+ channelSecret: string;
117453
+ } | undefined;
116536
117454
  lineRichMenuId?: string | null | undefined;
116537
117455
  messengerIntegrationType?: "own" | "business" | undefined;
116538
117456
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -116797,6 +117715,10 @@ export declare const mainChatMessageContract: {
116797
117715
  mobileNumber: string;
116798
117716
  apiSecret: string;
116799
117717
  } | undefined;
117718
+ line?: {
117719
+ channelId: string;
117720
+ channelSecret: string;
117721
+ } | undefined;
116800
117722
  lineRichMenuId?: string | null | undefined;
116801
117723
  messengerIntegrationType?: "own" | "business" | undefined;
116802
117724
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -116892,6 +117814,10 @@ export declare const mainChatMessageContract: {
116892
117814
  mobileNumber: string;
116893
117815
  apiSecret: string;
116894
117816
  } | undefined;
117817
+ line?: {
117818
+ channelId: string;
117819
+ channelSecret: string;
117820
+ } | undefined;
116895
117821
  lineRichMenuId?: string | null | undefined;
116896
117822
  messengerIntegrationType?: "own" | "business" | undefined;
116897
117823
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -117551,6 +118477,10 @@ export declare const mainChatMessageContract: {
117551
118477
  mobileNumber: string;
117552
118478
  apiSecret: string;
117553
118479
  } | undefined;
118480
+ line?: {
118481
+ channelId: string;
118482
+ channelSecret: string;
118483
+ } | undefined;
117554
118484
  lineRichMenuId?: string | null | undefined;
117555
118485
  messengerIntegrationType?: "own" | "business" | undefined;
117556
118486
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -117980,6 +118910,10 @@ export declare const mainChatMessageContract: {
117980
118910
  mobileNumber: string;
117981
118911
  apiSecret: string;
117982
118912
  } | undefined;
118913
+ line?: {
118914
+ channelId: string;
118915
+ channelSecret: string;
118916
+ } | undefined;
117983
118917
  lineRichMenuId?: string | null | undefined;
117984
118918
  messengerIntegrationType?: "own" | "business" | undefined;
117985
118919
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -118418,8 +119352,8 @@ export declare const mainChatMessageContract: {
118418
119352
  updatedAt: z.ZodDate;
118419
119353
  deletedAt: z.ZodNullable<z.ZodDate>;
118420
119354
  message: z.ZodString;
118421
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
118422
- 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"]>;
119355
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
119356
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
118423
119357
  readAt: z.ZodDate;
118424
119358
  metadata: z.ZodAny;
118425
119359
  platformId: z.ZodString;
@@ -119077,7 +120011,7 @@ export declare const mainChatMessageContract: {
119077
120011
  };
119078
120012
  }>;
119079
120013
  }, "strip", z.ZodTypeAny, {
119080
- 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";
120014
+ type: string;
119081
120015
  message: string;
119082
120016
  id: string;
119083
120017
  url: string;
@@ -119239,7 +120173,7 @@ export declare const mainChatMessageContract: {
119239
120173
  metadata?: any;
119240
120174
  template?: any;
119241
120175
  }, {
119242
- 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";
120176
+ type: string;
119243
120177
  message: string;
119244
120178
  id: string;
119245
120179
  url: string;
@@ -120041,7 +120975,7 @@ export declare const mainChatMessageContract: {
120041
120975
  editedMessageid: z.ZodString;
120042
120976
  label: z.ZodOptional<z.ZodString>;
120043
120977
  }, "strip", z.ZodTypeAny, {
120044
- 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";
120978
+ type: string;
120045
120979
  message: string;
120046
120980
  id: string;
120047
120981
  url: string;
@@ -120182,6 +121116,10 @@ export declare const mainChatMessageContract: {
120182
121116
  mobileNumber: string;
120183
121117
  apiSecret: string;
120184
121118
  } | undefined;
121119
+ line?: {
121120
+ channelId: string;
121121
+ channelSecret: string;
121122
+ } | undefined;
120185
121123
  lineRichMenuId?: string | null | undefined;
120186
121124
  messengerIntegrationType?: "own" | "business" | undefined;
120187
121125
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -120596,7 +121534,7 @@ export declare const mainChatMessageContract: {
120596
121534
  previewUrl: string;
120597
121535
  imageSetId: string;
120598
121536
  repliedMessage: {
120599
- 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";
121537
+ type: string;
120600
121538
  message: string;
120601
121539
  id: string;
120602
121540
  url: string;
@@ -120807,7 +121745,7 @@ export declare const mainChatMessageContract: {
120807
121745
  template?: any;
120808
121746
  label?: string | undefined;
120809
121747
  }, {
120810
- 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";
121748
+ type: string;
120811
121749
  message: string;
120812
121750
  id: string;
120813
121751
  url: string;
@@ -120948,6 +121886,10 @@ export declare const mainChatMessageContract: {
120948
121886
  mobileNumber: string;
120949
121887
  apiSecret: string;
120950
121888
  } | undefined;
121889
+ line?: {
121890
+ channelId: string;
121891
+ channelSecret: string;
121892
+ } | undefined;
120951
121893
  lineRichMenuId?: string | null | undefined;
120952
121894
  messengerIntegrationType?: "own" | "business" | undefined;
120953
121895
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -121362,7 +122304,7 @@ export declare const mainChatMessageContract: {
121362
122304
  previewUrl: string;
121363
122305
  imageSetId: string;
121364
122306
  repliedMessage: {
121365
- 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";
122307
+ type: string;
121366
122308
  message: string;
121367
122309
  id: string;
121368
122310
  url: string;
@@ -121574,7 +122516,7 @@ export declare const mainChatMessageContract: {
121574
122516
  label?: string | undefined;
121575
122517
  }>>>;
121576
122518
  }, "strip", z.ZodTypeAny, {
121577
- 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";
122519
+ type: string;
121578
122520
  message: string;
121579
122521
  id: string;
121580
122522
  url: string;
@@ -121715,6 +122657,10 @@ export declare const mainChatMessageContract: {
121715
122657
  mobileNumber: string;
121716
122658
  apiSecret: string;
121717
122659
  } | undefined;
122660
+ line?: {
122661
+ channelId: string;
122662
+ channelSecret: string;
122663
+ } | undefined;
121718
122664
  lineRichMenuId?: string | null | undefined;
121719
122665
  messengerIntegrationType?: "own" | "business" | undefined;
121720
122666
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -122129,7 +123075,7 @@ export declare const mainChatMessageContract: {
122129
123075
  previewUrl: string;
122130
123076
  imageSetId: string;
122131
123077
  repliedMessage: {
122132
- 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";
123078
+ type: string;
122133
123079
  message: string;
122134
123080
  id: string;
122135
123081
  url: string;
@@ -122340,7 +123286,7 @@ export declare const mainChatMessageContract: {
122340
123286
  template?: any;
122341
123287
  metadata?: any;
122342
123288
  fromMessage?: {
122343
- 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";
123289
+ type: string;
122344
123290
  message: string;
122345
123291
  id: string;
122346
123292
  url: string;
@@ -122481,6 +123427,10 @@ export declare const mainChatMessageContract: {
122481
123427
  mobileNumber: string;
122482
123428
  apiSecret: string;
122483
123429
  } | undefined;
123430
+ line?: {
123431
+ channelId: string;
123432
+ channelSecret: string;
123433
+ } | undefined;
122484
123434
  lineRichMenuId?: string | null | undefined;
122485
123435
  messengerIntegrationType?: "own" | "business" | undefined;
122486
123436
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -122895,7 +123845,7 @@ export declare const mainChatMessageContract: {
122895
123845
  previewUrl: string;
122896
123846
  imageSetId: string;
122897
123847
  repliedMessage: {
122898
- 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";
123848
+ type: string;
122899
123849
  message: string;
122900
123850
  id: string;
122901
123851
  url: string;
@@ -123107,7 +124057,7 @@ export declare const mainChatMessageContract: {
123107
124057
  label?: string | undefined;
123108
124058
  } | null | undefined;
123109
124059
  }, {
123110
- 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";
124060
+ type: string;
123111
124061
  message: string;
123112
124062
  id: string;
123113
124063
  url: string;
@@ -123248,6 +124198,10 @@ export declare const mainChatMessageContract: {
123248
124198
  mobileNumber: string;
123249
124199
  apiSecret: string;
123250
124200
  } | undefined;
124201
+ line?: {
124202
+ channelId: string;
124203
+ channelSecret: string;
124204
+ } | undefined;
123251
124205
  lineRichMenuId?: string | null | undefined;
123252
124206
  messengerIntegrationType?: "own" | "business" | undefined;
123253
124207
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -123662,7 +124616,7 @@ export declare const mainChatMessageContract: {
123662
124616
  previewUrl: string;
123663
124617
  imageSetId: string;
123664
124618
  repliedMessage: {
123665
- 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";
124619
+ type: string;
123666
124620
  message: string;
123667
124621
  id: string;
123668
124622
  url: string;
@@ -123873,7 +124827,7 @@ export declare const mainChatMessageContract: {
123873
124827
  template?: any;
123874
124828
  metadata?: any;
123875
124829
  fromMessage?: {
123876
- 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";
124830
+ type: string;
123877
124831
  message: string;
123878
124832
  id: string;
123879
124833
  url: string;
@@ -124014,6 +124968,10 @@ export declare const mainChatMessageContract: {
124014
124968
  mobileNumber: string;
124015
124969
  apiSecret: string;
124016
124970
  } | undefined;
124971
+ line?: {
124972
+ channelId: string;
124973
+ channelSecret: string;
124974
+ } | undefined;
124017
124975
  lineRichMenuId?: string | null | undefined;
124018
124976
  messengerIntegrationType?: "own" | "business" | undefined;
124019
124977
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -124428,7 +125386,7 @@ export declare const mainChatMessageContract: {
124428
125386
  previewUrl: string;
124429
125387
  imageSetId: string;
124430
125388
  repliedMessage: {
124431
- 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";
125389
+ type: string;
124432
125390
  message: string;
124433
125391
  id: string;
124434
125392
  url: string;
@@ -124642,7 +125600,7 @@ export declare const mainChatMessageContract: {
124642
125600
  }>;
124643
125601
  }, "strip", z.ZodTypeAny, {
124644
125602
  data: {
124645
- 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";
125603
+ type: string;
124646
125604
  message: string;
124647
125605
  id: string;
124648
125606
  url: string;
@@ -124783,6 +125741,10 @@ export declare const mainChatMessageContract: {
124783
125741
  mobileNumber: string;
124784
125742
  apiSecret: string;
124785
125743
  } | undefined;
125744
+ line?: {
125745
+ channelId: string;
125746
+ channelSecret: string;
125747
+ } | undefined;
124786
125748
  lineRichMenuId?: string | null | undefined;
124787
125749
  messengerIntegrationType?: "own" | "business" | undefined;
124788
125750
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -125197,7 +126159,7 @@ export declare const mainChatMessageContract: {
125197
126159
  previewUrl: string;
125198
126160
  imageSetId: string;
125199
126161
  repliedMessage: {
125200
- 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";
126162
+ type: string;
125201
126163
  message: string;
125202
126164
  id: string;
125203
126165
  url: string;
@@ -125408,7 +126370,7 @@ export declare const mainChatMessageContract: {
125408
126370
  template?: any;
125409
126371
  metadata?: any;
125410
126372
  fromMessage?: {
125411
- 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";
126373
+ type: string;
125412
126374
  message: string;
125413
126375
  id: string;
125414
126376
  url: string;
@@ -125549,6 +126511,10 @@ export declare const mainChatMessageContract: {
125549
126511
  mobileNumber: string;
125550
126512
  apiSecret: string;
125551
126513
  } | undefined;
126514
+ line?: {
126515
+ channelId: string;
126516
+ channelSecret: string;
126517
+ } | undefined;
125552
126518
  lineRichMenuId?: string | null | undefined;
125553
126519
  messengerIntegrationType?: "own" | "business" | undefined;
125554
126520
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -125963,7 +126929,7 @@ export declare const mainChatMessageContract: {
125963
126929
  previewUrl: string;
125964
126930
  imageSetId: string;
125965
126931
  repliedMessage: {
125966
- 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";
126932
+ type: string;
125967
126933
  message: string;
125968
126934
  id: string;
125969
126935
  url: string;
@@ -126178,7 +127144,7 @@ export declare const mainChatMessageContract: {
126178
127144
  requestId: string;
126179
127145
  }, {
126180
127146
  data: {
126181
- 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";
127147
+ type: string;
126182
127148
  message: string;
126183
127149
  id: string;
126184
127150
  url: string;
@@ -126319,6 +127285,10 @@ export declare const mainChatMessageContract: {
126319
127285
  mobileNumber: string;
126320
127286
  apiSecret: string;
126321
127287
  } | undefined;
127288
+ line?: {
127289
+ channelId: string;
127290
+ channelSecret: string;
127291
+ } | undefined;
126322
127292
  lineRichMenuId?: string | null | undefined;
126323
127293
  messengerIntegrationType?: "own" | "business" | undefined;
126324
127294
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -126733,7 +127703,7 @@ export declare const mainChatMessageContract: {
126733
127703
  previewUrl: string;
126734
127704
  imageSetId: string;
126735
127705
  repliedMessage: {
126736
- 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";
127706
+ type: string;
126737
127707
  message: string;
126738
127708
  id: string;
126739
127709
  url: string;
@@ -126944,7 +127914,7 @@ export declare const mainChatMessageContract: {
126944
127914
  template?: any;
126945
127915
  metadata?: any;
126946
127916
  fromMessage?: {
126947
- 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";
127917
+ type: string;
126948
127918
  message: string;
126949
127919
  id: string;
126950
127920
  url: string;
@@ -127085,6 +128055,10 @@ export declare const mainChatMessageContract: {
127085
128055
  mobileNumber: string;
127086
128056
  apiSecret: string;
127087
128057
  } | undefined;
128058
+ line?: {
128059
+ channelId: string;
128060
+ channelSecret: string;
128061
+ } | undefined;
127088
128062
  lineRichMenuId?: string | null | undefined;
127089
128063
  messengerIntegrationType?: "own" | "business" | undefined;
127090
128064
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -127499,7 +128473,7 @@ export declare const mainChatMessageContract: {
127499
128473
  previewUrl: string;
127500
128474
  imageSetId: string;
127501
128475
  repliedMessage: {
127502
- 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";
128476
+ type: string;
127503
128477
  message: string;
127504
128478
  id: string;
127505
128479
  url: string;
@@ -127845,6 +128819,16 @@ export declare const mainChatMessageContract: {
127845
128819
  mobileNumber: string;
127846
128820
  apiSecret: string;
127847
128821
  }>>;
128822
+ line: z.ZodOptional<z.ZodObject<{
128823
+ channelId: z.ZodString;
128824
+ channelSecret: z.ZodString;
128825
+ }, "strip", z.ZodTypeAny, {
128826
+ channelId: string;
128827
+ channelSecret: string;
128828
+ }, {
128829
+ channelId: string;
128830
+ channelSecret: string;
128831
+ }>>;
127848
128832
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
127849
128833
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
127850
128834
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -127875,6 +128859,10 @@ export declare const mainChatMessageContract: {
127875
128859
  mobileNumber: string;
127876
128860
  apiSecret: string;
127877
128861
  } | undefined;
128862
+ line?: {
128863
+ channelId: string;
128864
+ channelSecret: string;
128865
+ } | undefined;
127878
128866
  lineRichMenuId?: string | null | undefined;
127879
128867
  messengerIntegrationType?: "own" | "business" | undefined;
127880
128868
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -127905,6 +128893,10 @@ export declare const mainChatMessageContract: {
127905
128893
  mobileNumber: string;
127906
128894
  apiSecret: string;
127907
128895
  } | undefined;
128896
+ line?: {
128897
+ channelId: string;
128898
+ channelSecret: string;
128899
+ } | undefined;
127908
128900
  lineRichMenuId?: string | null | undefined;
127909
128901
  messengerIntegrationType?: "own" | "business" | undefined;
127910
128902
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -127965,6 +128957,10 @@ export declare const mainChatMessageContract: {
127965
128957
  mobileNumber: string;
127966
128958
  apiSecret: string;
127967
128959
  } | undefined;
128960
+ line?: {
128961
+ channelId: string;
128962
+ channelSecret: string;
128963
+ } | undefined;
127968
128964
  lineRichMenuId?: string | null | undefined;
127969
128965
  messengerIntegrationType?: "own" | "business" | undefined;
127970
128966
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -128013,6 +129009,10 @@ export declare const mainChatMessageContract: {
128013
129009
  mobileNumber: string;
128014
129010
  apiSecret: string;
128015
129011
  } | undefined;
129012
+ line?: {
129013
+ channelId: string;
129014
+ channelSecret: string;
129015
+ } | undefined;
128016
129016
  lineRichMenuId?: string | null | undefined;
128017
129017
  messengerIntegrationType?: "own" | "business" | undefined;
128018
129018
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -128064,6 +129064,10 @@ export declare const mainChatMessageContract: {
128064
129064
  mobileNumber: string;
128065
129065
  apiSecret: string;
128066
129066
  } | undefined;
129067
+ line?: {
129068
+ channelId: string;
129069
+ channelSecret: string;
129070
+ } | undefined;
128067
129071
  lineRichMenuId?: string | null | undefined;
128068
129072
  messengerIntegrationType?: "own" | "business" | undefined;
128069
129073
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -128115,6 +129119,10 @@ export declare const mainChatMessageContract: {
128115
129119
  mobileNumber: string;
128116
129120
  apiSecret: string;
128117
129121
  } | undefined;
129122
+ line?: {
129123
+ channelId: string;
129124
+ channelSecret: string;
129125
+ } | undefined;
128118
129126
  lineRichMenuId?: string | null | undefined;
128119
129127
  messengerIntegrationType?: "own" | "business" | undefined;
128120
129128
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -128138,8 +129146,8 @@ export declare const mainChatMessageContract: {
128138
129146
  message: z.ZodObject<{
128139
129147
  id: z.ZodOptional<z.ZodString>;
128140
129148
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128141
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
128142
- 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"]>;
129149
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
129150
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
128143
129151
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
128144
129152
  metadata: z.ZodOptional<z.ZodAny>;
128145
129153
  platformId: z.ZodOptional<z.ZodString>;
@@ -128191,7 +129199,7 @@ export declare const mainChatMessageContract: {
128191
129199
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128192
129200
  feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128193
129201
  }, "strip", z.ZodTypeAny, {
128194
- 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";
129202
+ type: string;
128195
129203
  direction: "incoming" | "outgoing" | "system";
128196
129204
  id?: string | undefined;
128197
129205
  message?: string | null | undefined;
@@ -128222,7 +129230,7 @@ export declare const mainChatMessageContract: {
128222
129230
  parentMessageId?: string | null | undefined;
128223
129231
  feedPostId?: string | null | undefined;
128224
129232
  }, {
128225
- 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";
129233
+ type: string;
128226
129234
  direction: "incoming" | "outgoing" | "system";
128227
129235
  id?: string | undefined;
128228
129236
  message?: string | null | undefined;
@@ -128255,7 +129263,7 @@ export declare const mainChatMessageContract: {
128255
129263
  }>;
128256
129264
  }, "strip", z.ZodTypeAny, {
128257
129265
  message: {
128258
- 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";
129266
+ type: string;
128259
129267
  direction: "incoming" | "outgoing" | "system";
128260
129268
  id?: string | undefined;
128261
129269
  message?: string | null | undefined;
@@ -128318,6 +129326,10 @@ export declare const mainChatMessageContract: {
128318
129326
  mobileNumber: string;
128319
129327
  apiSecret: string;
128320
129328
  } | undefined;
129329
+ line?: {
129330
+ channelId: string;
129331
+ channelSecret: string;
129332
+ } | undefined;
128321
129333
  lineRichMenuId?: string | null | undefined;
128322
129334
  messengerIntegrationType?: "own" | "business" | undefined;
128323
129335
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -128340,7 +129352,7 @@ export declare const mainChatMessageContract: {
128340
129352
  };
128341
129353
  }, {
128342
129354
  message: {
128343
- 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";
129355
+ type: string;
128344
129356
  direction: "incoming" | "outgoing" | "system";
128345
129357
  id?: string | undefined;
128346
129358
  message?: string | null | undefined;
@@ -128403,6 +129415,10 @@ export declare const mainChatMessageContract: {
128403
129415
  mobileNumber: string;
128404
129416
  apiSecret: string;
128405
129417
  } | undefined;
129418
+ line?: {
129419
+ channelId: string;
129420
+ channelSecret: string;
129421
+ } | undefined;
128406
129422
  lineRichMenuId?: string | null | undefined;
128407
129423
  messengerIntegrationType?: "own" | "business" | undefined;
128408
129424
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -128427,7 +129443,7 @@ export declare const mainChatMessageContract: {
128427
129443
  }, "strip", z.ZodTypeAny, {
128428
129444
  data: {
128429
129445
  message: {
128430
- 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";
129446
+ type: string;
128431
129447
  direction: "incoming" | "outgoing" | "system";
128432
129448
  id?: string | undefined;
128433
129449
  message?: string | null | undefined;
@@ -128490,6 +129506,10 @@ export declare const mainChatMessageContract: {
128490
129506
  mobileNumber: string;
128491
129507
  apiSecret: string;
128492
129508
  } | undefined;
129509
+ line?: {
129510
+ channelId: string;
129511
+ channelSecret: string;
129512
+ } | undefined;
128493
129513
  lineRichMenuId?: string | null | undefined;
128494
129514
  messengerIntegrationType?: "own" | "business" | undefined;
128495
129515
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -128515,7 +129535,7 @@ export declare const mainChatMessageContract: {
128515
129535
  }, {
128516
129536
  data: {
128517
129537
  message: {
128518
- 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";
129538
+ type: string;
128519
129539
  direction: "incoming" | "outgoing" | "system";
128520
129540
  id?: string | undefined;
128521
129541
  message?: string | null | undefined;
@@ -128578,6 +129598,10 @@ export declare const mainChatMessageContract: {
128578
129598
  mobileNumber: string;
128579
129599
  apiSecret: string;
128580
129600
  } | undefined;
129601
+ line?: {
129602
+ channelId: string;
129603
+ channelSecret: string;
129604
+ } | undefined;
128581
129605
  lineRichMenuId?: string | null | undefined;
128582
129606
  messengerIntegrationType?: "own" | "business" | undefined;
128583
129607
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -128648,8 +129672,8 @@ export declare const mainChatMessageContract: {
128648
129672
  updatedAt: z.ZodDate;
128649
129673
  deletedAt: z.ZodNullable<z.ZodDate>;
128650
129674
  message: z.ZodString;
128651
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
128652
- 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"]>;
129675
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
129676
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
128653
129677
  readAt: z.ZodDate;
128654
129678
  metadata: z.ZodAny;
128655
129679
  platformId: z.ZodString;
@@ -128675,7 +129699,7 @@ export declare const mainChatMessageContract: {
128675
129699
  firstResponseTime: z.ZodNumber;
128676
129700
  isLatest: z.ZodBoolean;
128677
129701
  isBotRoom: z.ZodBoolean;
128678
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
129702
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
128679
129703
  platformContact: z.ZodObject<{
128680
129704
  id: z.ZodString;
128681
129705
  createdAt: z.ZodDate;
@@ -130199,6 +131223,16 @@ export declare const mainChatMessageContract: {
130199
131223
  mobileNumber: string;
130200
131224
  apiSecret: string;
130201
131225
  }>>;
131226
+ line: z.ZodOptional<z.ZodObject<{
131227
+ channelId: z.ZodString;
131228
+ channelSecret: z.ZodString;
131229
+ }, "strip", z.ZodTypeAny, {
131230
+ channelId: string;
131231
+ channelSecret: string;
131232
+ }, {
131233
+ channelId: string;
131234
+ channelSecret: string;
131235
+ }>>;
130202
131236
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
130203
131237
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
130204
131238
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -130229,6 +131263,10 @@ export declare const mainChatMessageContract: {
130229
131263
  mobileNumber: string;
130230
131264
  apiSecret: string;
130231
131265
  } | undefined;
131266
+ line?: {
131267
+ channelId: string;
131268
+ channelSecret: string;
131269
+ } | undefined;
130232
131270
  lineRichMenuId?: string | null | undefined;
130233
131271
  messengerIntegrationType?: "own" | "business" | undefined;
130234
131272
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -130259,6 +131297,10 @@ export declare const mainChatMessageContract: {
130259
131297
  mobileNumber: string;
130260
131298
  apiSecret: string;
130261
131299
  } | undefined;
131300
+ line?: {
131301
+ channelId: string;
131302
+ channelSecret: string;
131303
+ } | undefined;
130262
131304
  lineRichMenuId?: string | null | undefined;
130263
131305
  messengerIntegrationType?: "own" | "business" | undefined;
130264
131306
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -130523,6 +131565,10 @@ export declare const mainChatMessageContract: {
130523
131565
  mobileNumber: string;
130524
131566
  apiSecret: string;
130525
131567
  } | undefined;
131568
+ line?: {
131569
+ channelId: string;
131570
+ channelSecret: string;
131571
+ } | undefined;
130526
131572
  lineRichMenuId?: string | null | undefined;
130527
131573
  messengerIntegrationType?: "own" | "business" | undefined;
130528
131574
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -130618,6 +131664,10 @@ export declare const mainChatMessageContract: {
130618
131664
  mobileNumber: string;
130619
131665
  apiSecret: string;
130620
131666
  } | undefined;
131667
+ line?: {
131668
+ channelId: string;
131669
+ channelSecret: string;
131670
+ } | undefined;
130621
131671
  lineRichMenuId?: string | null | undefined;
130622
131672
  messengerIntegrationType?: "own" | "business" | undefined;
130623
131673
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -131277,6 +132327,10 @@ export declare const mainChatMessageContract: {
131277
132327
  mobileNumber: string;
131278
132328
  apiSecret: string;
131279
132329
  } | undefined;
132330
+ line?: {
132331
+ channelId: string;
132332
+ channelSecret: string;
132333
+ } | undefined;
131280
132334
  lineRichMenuId?: string | null | undefined;
131281
132335
  messengerIntegrationType?: "own" | "business" | undefined;
131282
132336
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -131706,6 +132760,10 @@ export declare const mainChatMessageContract: {
131706
132760
  mobileNumber: string;
131707
132761
  apiSecret: string;
131708
132762
  } | undefined;
132763
+ line?: {
132764
+ channelId: string;
132765
+ channelSecret: string;
132766
+ } | undefined;
131709
132767
  lineRichMenuId?: string | null | undefined;
131710
132768
  messengerIntegrationType?: "own" | "business" | undefined;
131711
132769
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -132144,8 +133202,8 @@ export declare const mainChatMessageContract: {
132144
133202
  updatedAt: z.ZodDate;
132145
133203
  deletedAt: z.ZodNullable<z.ZodDate>;
132146
133204
  message: z.ZodString;
132147
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
132148
- 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"]>;
133205
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
133206
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
132149
133207
  readAt: z.ZodDate;
132150
133208
  metadata: z.ZodAny;
132151
133209
  platformId: z.ZodString;
@@ -132803,7 +133861,7 @@ export declare const mainChatMessageContract: {
132803
133861
  };
132804
133862
  }>;
132805
133863
  }, "strip", z.ZodTypeAny, {
132806
- 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";
133864
+ type: string;
132807
133865
  message: string;
132808
133866
  id: string;
132809
133867
  url: string;
@@ -132965,7 +134023,7 @@ export declare const mainChatMessageContract: {
132965
134023
  metadata?: any;
132966
134024
  template?: any;
132967
134025
  }, {
132968
- 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";
134026
+ type: string;
132969
134027
  message: string;
132970
134028
  id: string;
132971
134029
  url: string;
@@ -133767,7 +134825,7 @@ export declare const mainChatMessageContract: {
133767
134825
  editedMessageid: z.ZodString;
133768
134826
  label: z.ZodOptional<z.ZodString>;
133769
134827
  }, "strip", z.ZodTypeAny, {
133770
- 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";
134828
+ type: string;
133771
134829
  message: string;
133772
134830
  id: string;
133773
134831
  url: string;
@@ -133908,6 +134966,10 @@ export declare const mainChatMessageContract: {
133908
134966
  mobileNumber: string;
133909
134967
  apiSecret: string;
133910
134968
  } | undefined;
134969
+ line?: {
134970
+ channelId: string;
134971
+ channelSecret: string;
134972
+ } | undefined;
133911
134973
  lineRichMenuId?: string | null | undefined;
133912
134974
  messengerIntegrationType?: "own" | "business" | undefined;
133913
134975
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -134322,7 +135384,7 @@ export declare const mainChatMessageContract: {
134322
135384
  previewUrl: string;
134323
135385
  imageSetId: string;
134324
135386
  repliedMessage: {
134325
- 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";
135387
+ type: string;
134326
135388
  message: string;
134327
135389
  id: string;
134328
135390
  url: string;
@@ -134533,7 +135595,7 @@ export declare const mainChatMessageContract: {
134533
135595
  template?: any;
134534
135596
  label?: string | undefined;
134535
135597
  }, {
134536
- 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";
135598
+ type: string;
134537
135599
  message: string;
134538
135600
  id: string;
134539
135601
  url: string;
@@ -134674,6 +135736,10 @@ export declare const mainChatMessageContract: {
134674
135736
  mobileNumber: string;
134675
135737
  apiSecret: string;
134676
135738
  } | undefined;
135739
+ line?: {
135740
+ channelId: string;
135741
+ channelSecret: string;
135742
+ } | undefined;
134677
135743
  lineRichMenuId?: string | null | undefined;
134678
135744
  messengerIntegrationType?: "own" | "business" | undefined;
134679
135745
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -135088,7 +136154,7 @@ export declare const mainChatMessageContract: {
135088
136154
  previewUrl: string;
135089
136155
  imageSetId: string;
135090
136156
  repliedMessage: {
135091
- 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";
136157
+ type: string;
135092
136158
  message: string;
135093
136159
  id: string;
135094
136160
  url: string;
@@ -135301,7 +136367,7 @@ export declare const mainChatMessageContract: {
135301
136367
  }>, "many">;
135302
136368
  }, "strip", z.ZodTypeAny, {
135303
136369
  data: {
135304
- 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";
136370
+ type: string;
135305
136371
  message: string;
135306
136372
  id: string;
135307
136373
  url: string;
@@ -135442,6 +136508,10 @@ export declare const mainChatMessageContract: {
135442
136508
  mobileNumber: string;
135443
136509
  apiSecret: string;
135444
136510
  } | undefined;
136511
+ line?: {
136512
+ channelId: string;
136513
+ channelSecret: string;
136514
+ } | undefined;
135445
136515
  lineRichMenuId?: string | null | undefined;
135446
136516
  messengerIntegrationType?: "own" | "business" | undefined;
135447
136517
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -135856,7 +136926,7 @@ export declare const mainChatMessageContract: {
135856
136926
  previewUrl: string;
135857
136927
  imageSetId: string;
135858
136928
  repliedMessage: {
135859
- 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";
136929
+ type: string;
135860
136930
  message: string;
135861
136931
  id: string;
135862
136932
  url: string;
@@ -136070,7 +137140,7 @@ export declare const mainChatMessageContract: {
136070
137140
  requestId: string;
136071
137141
  }, {
136072
137142
  data: {
136073
- 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";
137143
+ type: string;
136074
137144
  message: string;
136075
137145
  id: string;
136076
137146
  url: string;
@@ -136211,6 +137281,10 @@ export declare const mainChatMessageContract: {
136211
137281
  mobileNumber: string;
136212
137282
  apiSecret: string;
136213
137283
  } | undefined;
137284
+ line?: {
137285
+ channelId: string;
137286
+ channelSecret: string;
137287
+ } | undefined;
136214
137288
  lineRichMenuId?: string | null | undefined;
136215
137289
  messengerIntegrationType?: "own" | "business" | undefined;
136216
137290
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -136625,7 +137699,7 @@ export declare const mainChatMessageContract: {
136625
137699
  previewUrl: string;
136626
137700
  imageSetId: string;
136627
137701
  repliedMessage: {
136628
- 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";
137702
+ type: string;
136629
137703
  message: string;
136630
137704
  id: string;
136631
137705
  url: string;