@kl1/contracts 1.1.30-uat → 1.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/dist/index.js +3454 -3284
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +3443 -3277
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/botpress/index.d.ts +547 -0
  6. package/dist/src/botpress/index.d.ts.map +1 -0
  7. package/dist/src/botpress/schema.d.ts +81 -0
  8. package/dist/src/botpress/schema.d.ts.map +1 -0
  9. package/dist/src/botpress/validation.d.ts +229 -0
  10. package/dist/src/botpress/validation.d.ts.map +1 -0
  11. package/dist/src/business-calendar/index.d.ts +36 -0
  12. package/dist/src/business-calendar/index.d.ts.map +1 -1
  13. package/dist/src/business-calendar/schema.d.ts +11 -0
  14. package/dist/src/business-calendar/schema.d.ts.map +1 -1
  15. package/dist/src/channel/index.d.ts +1687 -0
  16. package/dist/src/channel/index.d.ts.map +1 -1
  17. package/dist/src/channel/schema.d.ts +44 -0
  18. package/dist/src/channel/schema.d.ts.map +1 -1
  19. package/dist/src/channel/validation.d.ts +12 -0
  20. package/dist/src/channel/validation.d.ts.map +1 -1
  21. package/dist/src/chat/index.d.ts +34189 -32567
  22. package/dist/src/chat/index.d.ts.map +1 -1
  23. package/dist/src/chat/schema.d.ts +365 -59
  24. package/dist/src/chat/schema.d.ts.map +1 -1
  25. package/dist/src/chat/validation.d.ts +392 -85
  26. package/dist/src/chat/validation.d.ts.map +1 -1
  27. package/dist/src/contact/index.d.ts +0 -3
  28. package/dist/src/contact/index.d.ts.map +1 -1
  29. package/dist/src/contact/schema.d.ts.map +1 -1
  30. package/dist/src/contact/validation.d.ts +0 -3
  31. package/dist/src/contact/validation.d.ts.map +1 -1
  32. package/dist/src/contract.d.ts +106130 -173397
  33. package/dist/src/contract.d.ts.map +1 -1
  34. package/dist/src/cx-log/index.d.ts +99 -8
  35. package/dist/src/cx-log/index.d.ts.map +1 -1
  36. package/dist/src/cx-log/schema.d.ts +85 -12
  37. package/dist/src/cx-log/schema.d.ts.map +1 -1
  38. package/dist/src/export/index.d.ts +43 -0
  39. package/dist/src/export/index.d.ts.map +1 -0
  40. package/dist/src/index.d.ts +2 -0
  41. package/dist/src/index.d.ts.map +1 -1
  42. package/dist/src/instagram/index.d.ts +438 -65
  43. package/dist/src/instagram/index.d.ts.map +1 -1
  44. package/dist/src/instagram/validation.d.ts +7 -0
  45. package/dist/src/instagram/validation.d.ts.map +1 -1
  46. package/dist/src/line/index.d.ts +434 -70
  47. package/dist/src/line/index.d.ts.map +1 -1
  48. package/dist/src/line/validation.d.ts +31 -5
  49. package/dist/src/line/validation.d.ts.map +1 -1
  50. package/dist/src/mail/mail-contract.d.ts +7851 -30264
  51. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  52. package/dist/src/mail/message-contract.d.ts +61 -6421
  53. package/dist/src/mail/message-contract.d.ts.map +1 -1
  54. package/dist/src/mail/room-contract.d.ts +1561 -17616
  55. package/dist/src/mail/room-contract.d.ts.map +1 -1
  56. package/dist/src/mail/schemas/message-validation.schema.d.ts +4 -7
  57. package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -1
  58. package/dist/src/mail/schemas/message.schema.d.ts +40 -762
  59. package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
  60. package/dist/src/mail/schemas/room-validation.schema.d.ts +386 -5678
  61. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  62. package/dist/src/mail/schemas/room.schema.d.ts +485 -5816
  63. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  64. package/dist/src/messenger/index.d.ts +443 -66
  65. package/dist/src/messenger/index.d.ts.map +1 -1
  66. package/dist/src/messenger/validation.d.ts +48 -0
  67. package/dist/src/messenger/validation.d.ts.map +1 -1
  68. package/dist/src/subscription/index.d.ts +332 -0
  69. package/dist/src/subscription/index.d.ts.map +1 -0
  70. package/dist/src/subscription/schema.d.ts +290 -0
  71. package/dist/src/subscription/schema.d.ts.map +1 -0
  72. package/dist/src/subscription/validation.d.ts +27 -0
  73. package/dist/src/subscription/validation.d.ts.map +1 -0
  74. package/dist/src/telephony-cdr/call-report.schema.d.ts +62 -62
  75. package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -1
  76. package/dist/src/telephony-cdr/index.d.ts +126 -622
  77. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  78. package/dist/src/telephony-cdr/schema.d.ts +7 -0
  79. package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
  80. package/dist/src/ticket/index.d.ts +125 -0
  81. package/dist/src/ticket/index.d.ts.map +1 -1
  82. package/dist/src/ticket/schema.d.ts +7 -0
  83. package/dist/src/ticket/schema.d.ts.map +1 -1
  84. package/dist/src/viber/index.d.ts +498 -65
  85. package/dist/src/viber/index.d.ts.map +1 -1
  86. package/dist/src/webchat/index.d.ts +379 -68
  87. package/dist/src/webchat/index.d.ts.map +1 -1
  88. package/dist/src/workflow-rule/index.d.ts +7455 -0
  89. package/dist/src/workflow-rule/index.d.ts.map +1 -0
  90. package/dist/src/workflow-rule/schema.d.ts +27 -0
  91. package/dist/src/workflow-rule/schema.d.ts.map +1 -0
  92. package/dist/src/wrap-up-form/index.d.ts +475 -22
  93. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  94. package/dist/src/wrap-up-form/schema.d.ts +4 -4
  95. package/dist/src/wrap-up-form/validation.d.ts +6 -0
  96. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  97. package/package.json +1 -1
@@ -1,13 +1,15 @@
1
1
  import z from 'zod';
2
2
  import { ChannelSchema } from '../chat/validation';
3
- import { GetFacebookPagesQuerySchema, GetFacebookPagesSchema, ReconnectMessengerSchema } from './validation';
3
+ import { GetFacebookPagesQuerySchema, GetFacebookPagesSchema, ReconnectMessengerSchema, SetBotPersistentMenuSchema } from './validation';
4
4
  export type GetFacebookPagesResponse = z.infer<typeof GetFacebookPagesSchema>;
5
5
  export type GetFacebookPagesQuery = z.infer<typeof GetFacebookPagesQuerySchema>;
6
6
  export type ReconnectChannelRequest = z.infer<typeof ChannelSchema>;
7
7
  export type ReconnectMessengerRequest = z.infer<typeof ReconnectMessengerSchema>;
8
+ export type SetBotPersistentMenuRequest = z.infer<typeof SetBotPersistentMenuSchema>;
8
9
  export declare const messengerContract: {
9
10
  sendMessage: {
10
11
  body: z.ZodObject<{
12
+ isBot: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
11
13
  room: z.ZodObject<{
12
14
  id: z.ZodString;
13
15
  lastMessage: z.ZodOptional<z.ZodString>;
@@ -141,24 +143,28 @@ export declare const messengerContract: {
141
143
  accessToken: z.ZodOptional<z.ZodString>;
142
144
  channelSecret: z.ZodOptional<z.ZodString>;
143
145
  additionalCredentials: z.ZodOptional<z.ZodAny>;
146
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
144
147
  }, "strip", z.ZodTypeAny, {
145
148
  id: string;
146
149
  name: string;
147
150
  accessToken?: string | undefined;
148
151
  channelSecret?: string | undefined;
149
152
  additionalCredentials?: any;
153
+ lineRichMenuId?: string | null | undefined;
150
154
  }, {
151
155
  id: string;
152
156
  name: string;
153
157
  accessToken?: string | undefined;
154
158
  channelSecret?: string | undefined;
155
159
  additionalCredentials?: any;
160
+ lineRichMenuId?: string | null | undefined;
156
161
  }>;
157
162
  platformId: z.ZodString;
158
163
  brandName: z.ZodString;
159
164
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
160
165
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
161
166
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
167
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
162
168
  actor: z.ZodOptional<z.ZodObject<{
163
169
  id: z.ZodString;
164
170
  name: z.ZodString;
@@ -188,12 +194,14 @@ export declare const messengerContract: {
188
194
  accessToken?: string | undefined;
189
195
  channelSecret?: string | undefined;
190
196
  additionalCredentials?: any;
197
+ lineRichMenuId?: string | null | undefined;
191
198
  };
192
199
  status: boolean;
193
200
  brandName: string;
194
201
  platformId: string;
195
202
  connectedUserName?: string | null | undefined;
196
203
  connectedUserId?: string | null | undefined;
204
+ lineRichMenuId?: string | null | undefined;
197
205
  actor?: {
198
206
  id: string;
199
207
  address: string | null;
@@ -211,12 +219,14 @@ export declare const messengerContract: {
211
219
  accessToken?: string | undefined;
212
220
  channelSecret?: string | undefined;
213
221
  additionalCredentials?: any;
222
+ lineRichMenuId?: string | null | undefined;
214
223
  };
215
224
  status: boolean;
216
225
  brandName: string;
217
226
  platformId: string;
218
227
  connectedUserName?: string | null | undefined;
219
228
  connectedUserId?: string | null | undefined;
229
+ lineRichMenuId?: string | null | undefined;
220
230
  actor?: {
221
231
  id: string;
222
232
  address: string | null;
@@ -238,12 +248,14 @@ export declare const messengerContract: {
238
248
  accessToken?: string | undefined;
239
249
  channelSecret?: string | undefined;
240
250
  additionalCredentials?: any;
251
+ lineRichMenuId?: string | null | undefined;
241
252
  };
242
253
  status: boolean;
243
254
  brandName: string;
244
255
  platformId: string;
245
256
  connectedUserName?: string | null | undefined;
246
257
  connectedUserId?: string | null | undefined;
258
+ lineRichMenuId?: string | null | undefined;
247
259
  actor?: {
248
260
  id: string;
249
261
  address: string | null;
@@ -304,12 +316,14 @@ export declare const messengerContract: {
304
316
  accessToken?: string | undefined;
305
317
  channelSecret?: string | undefined;
306
318
  additionalCredentials?: any;
319
+ lineRichMenuId?: string | null | undefined;
307
320
  };
308
321
  status: boolean;
309
322
  brandName: string;
310
323
  platformId: string;
311
324
  connectedUserName?: string | null | undefined;
312
325
  connectedUserId?: string | null | undefined;
326
+ lineRichMenuId?: string | null | undefined;
313
327
  actor?: {
314
328
  id: string;
315
329
  address: string | null;
@@ -362,7 +376,7 @@ export declare const messengerContract: {
362
376
  message: z.ZodObject<{
363
377
  message: z.ZodOptional<z.ZodString>;
364
378
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
365
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
379
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
366
380
  readAt: z.ZodOptional<z.ZodDate>;
367
381
  metadata: z.ZodOptional<z.ZodAny>;
368
382
  platformId: z.ZodOptional<z.ZodString>;
@@ -378,18 +392,21 @@ export declare const messengerContract: {
378
392
  fileName: z.ZodString;
379
393
  fileSize: z.ZodNumber;
380
394
  fileKey: z.ZodString;
395
+ originalUrl: z.ZodOptional<z.ZodString>;
381
396
  }, "strip", z.ZodTypeAny, {
382
397
  fileName: string;
383
398
  fileKey: string;
384
399
  bucketName: string;
385
400
  fileSize: number;
401
+ originalUrl?: string | undefined;
386
402
  }, {
387
403
  fileName: string;
388
404
  fileKey: string;
389
405
  bucketName: string;
390
406
  fileSize: number;
407
+ originalUrl?: string | undefined;
391
408
  }>>;
392
- sender: z.ZodObject<{
409
+ sender: z.ZodOptional<z.ZodObject<{
393
410
  id: z.ZodString;
394
411
  name: z.ZodString;
395
412
  email: z.ZodString;
@@ -407,17 +424,10 @@ export declare const messengerContract: {
407
424
  name: string;
408
425
  email: string;
409
426
  phone: string | null;
410
- }>;
427
+ }>>;
411
428
  }, "strip", z.ZodTypeAny, {
412
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
429
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
413
430
  direction: "incoming" | "outgoing" | "system";
414
- sender: {
415
- id: string;
416
- address: string | null;
417
- name: string;
418
- email: string;
419
- phone: string | null;
420
- };
421
431
  message?: string | undefined;
422
432
  readAt?: Date | undefined;
423
433
  metadata?: any;
@@ -434,17 +444,18 @@ export declare const messengerContract: {
434
444
  fileKey: string;
435
445
  bucketName: string;
436
446
  fileSize: number;
447
+ originalUrl?: string | undefined;
437
448
  } | undefined;
438
- }, {
439
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
440
- direction: "incoming" | "outgoing" | "system";
441
- sender: {
449
+ sender?: {
442
450
  id: string;
443
451
  address: string | null;
444
452
  name: string;
445
453
  email: string;
446
454
  phone: string | null;
447
- };
455
+ } | undefined;
456
+ }, {
457
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
458
+ direction: "incoming" | "outgoing" | "system";
448
459
  message?: string | undefined;
449
460
  readAt?: Date | undefined;
450
461
  metadata?: any;
@@ -461,19 +472,20 @@ export declare const messengerContract: {
461
472
  fileKey: string;
462
473
  bucketName: string;
463
474
  fileSize: number;
475
+ originalUrl?: string | undefined;
464
476
  } | undefined;
465
- }>;
466
- }, "strip", z.ZodTypeAny, {
467
- message: {
468
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
469
- direction: "incoming" | "outgoing" | "system";
470
- sender: {
477
+ sender?: {
471
478
  id: string;
472
479
  address: string | null;
473
480
  name: string;
474
481
  email: string;
475
482
  phone: string | null;
476
- };
483
+ } | undefined;
484
+ }>;
485
+ }, "strip", z.ZodTypeAny, {
486
+ message: {
487
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
488
+ direction: "incoming" | "outgoing" | "system";
477
489
  message?: string | undefined;
478
490
  readAt?: Date | undefined;
479
491
  metadata?: any;
@@ -490,6 +502,14 @@ export declare const messengerContract: {
490
502
  fileKey: string;
491
503
  bucketName: string;
492
504
  fileSize: number;
505
+ originalUrl?: string | undefined;
506
+ } | undefined;
507
+ sender?: {
508
+ id: string;
509
+ address: string | null;
510
+ name: string;
511
+ email: string;
512
+ phone: string | null;
493
513
  } | undefined;
494
514
  };
495
515
  room: {
@@ -504,12 +524,14 @@ export declare const messengerContract: {
504
524
  accessToken?: string | undefined;
505
525
  channelSecret?: string | undefined;
506
526
  additionalCredentials?: any;
527
+ lineRichMenuId?: string | null | undefined;
507
528
  };
508
529
  status: boolean;
509
530
  brandName: string;
510
531
  platformId: string;
511
532
  connectedUserName?: string | null | undefined;
512
533
  connectedUserId?: string | null | undefined;
534
+ lineRichMenuId?: string | null | undefined;
513
535
  actor?: {
514
536
  id: string;
515
537
  address: string | null;
@@ -559,17 +581,11 @@ export declare const messengerContract: {
559
581
  metadata?: any;
560
582
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
561
583
  };
584
+ isBot: boolean | null;
562
585
  }, {
563
586
  message: {
564
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
587
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
565
588
  direction: "incoming" | "outgoing" | "system";
566
- sender: {
567
- id: string;
568
- address: string | null;
569
- name: string;
570
- email: string;
571
- phone: string | null;
572
- };
573
589
  message?: string | undefined;
574
590
  readAt?: Date | undefined;
575
591
  metadata?: any;
@@ -586,6 +602,14 @@ export declare const messengerContract: {
586
602
  fileKey: string;
587
603
  bucketName: string;
588
604
  fileSize: number;
605
+ originalUrl?: string | undefined;
606
+ } | undefined;
607
+ sender?: {
608
+ id: string;
609
+ address: string | null;
610
+ name: string;
611
+ email: string;
612
+ phone: string | null;
589
613
  } | undefined;
590
614
  };
591
615
  room: {
@@ -600,12 +624,14 @@ export declare const messengerContract: {
600
624
  accessToken?: string | undefined;
601
625
  channelSecret?: string | undefined;
602
626
  additionalCredentials?: any;
627
+ lineRichMenuId?: string | null | undefined;
603
628
  };
604
629
  status: boolean;
605
630
  brandName: string;
606
631
  platformId: string;
607
632
  connectedUserName?: string | null | undefined;
608
633
  connectedUserId?: string | null | undefined;
634
+ lineRichMenuId?: string | null | undefined;
609
635
  actor?: {
610
636
  id: string;
611
637
  address: string | null;
@@ -655,6 +681,7 @@ export declare const messengerContract: {
655
681
  metadata?: any;
656
682
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
657
683
  };
684
+ isBot?: boolean | null | undefined;
658
685
  }>;
659
686
  method: "POST";
660
687
  responses: {
@@ -667,7 +694,7 @@ export declare const messengerContract: {
667
694
  deletedAt: z.ZodNullable<z.ZodDate>;
668
695
  message: z.ZodString;
669
696
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
670
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
697
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
671
698
  readAt: z.ZodDate;
672
699
  metadata: z.ZodAny;
673
700
  platformId: z.ZodString;
@@ -692,6 +719,7 @@ export declare const messengerContract: {
692
719
  firstResponseAt: z.ZodDate;
693
720
  firstResponseTime: z.ZodNumber;
694
721
  isLatest: z.ZodBoolean;
722
+ isBotRoom: z.ZodBoolean;
695
723
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
696
724
  platformContact: z.ZodObject<{
697
725
  id: z.ZodString;
@@ -2048,18 +2076,21 @@ export declare const messengerContract: {
2048
2076
  accessToken: z.ZodOptional<z.ZodString>;
2049
2077
  channelSecret: z.ZodOptional<z.ZodString>;
2050
2078
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2079
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2051
2080
  }, "strip", z.ZodTypeAny, {
2052
2081
  id: string;
2053
2082
  name: string;
2054
2083
  accessToken?: string | undefined;
2055
2084
  channelSecret?: string | undefined;
2056
2085
  additionalCredentials?: any;
2086
+ lineRichMenuId?: string | null | undefined;
2057
2087
  }, {
2058
2088
  id: string;
2059
2089
  name: string;
2060
2090
  accessToken?: string | undefined;
2061
2091
  channelSecret?: string | undefined;
2062
2092
  additionalCredentials?: any;
2093
+ lineRichMenuId?: string | null | undefined;
2063
2094
  }>;
2064
2095
  brandName: z.ZodString;
2065
2096
  platformId: z.ZodString;
@@ -2067,6 +2098,25 @@ export declare const messengerContract: {
2067
2098
  isReloginRequired: z.ZodBoolean;
2068
2099
  connectedUserName: z.ZodString;
2069
2100
  connectedUserId: z.ZodString;
2101
+ botpressBot: z.ZodNullable<z.ZodObject<{
2102
+ id: z.ZodString;
2103
+ name: z.ZodString;
2104
+ botId: z.ZodString;
2105
+ integrationId: z.ZodString;
2106
+ accessToken: z.ZodString;
2107
+ }, "strip", z.ZodTypeAny, {
2108
+ id: string;
2109
+ name: string;
2110
+ accessToken: string;
2111
+ botId: string;
2112
+ integrationId: string;
2113
+ }, {
2114
+ id: string;
2115
+ name: string;
2116
+ accessToken: string;
2117
+ botId: string;
2118
+ integrationId: string;
2119
+ }>>;
2070
2120
  actor: z.ZodObject<{
2071
2121
  id: z.ZodString;
2072
2122
  createdAt: z.ZodDate;
@@ -2281,6 +2331,7 @@ export declare const messengerContract: {
2281
2331
  accessToken?: string | undefined;
2282
2332
  channelSecret?: string | undefined;
2283
2333
  additionalCredentials?: any;
2334
+ lineRichMenuId?: string | null | undefined;
2284
2335
  };
2285
2336
  status: boolean;
2286
2337
  createdAt: Date;
@@ -2335,6 +2386,13 @@ export declare const messengerContract: {
2335
2386
  isReloginRequired: boolean;
2336
2387
  connectedUserName: string;
2337
2388
  connectedUserId: string;
2389
+ botpressBot: {
2390
+ id: string;
2391
+ name: string;
2392
+ accessToken: string;
2393
+ botId: string;
2394
+ integrationId: string;
2395
+ } | null;
2338
2396
  }, {
2339
2397
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
2340
2398
  id: string;
@@ -2345,6 +2403,7 @@ export declare const messengerContract: {
2345
2403
  accessToken?: string | undefined;
2346
2404
  channelSecret?: string | undefined;
2347
2405
  additionalCredentials?: any;
2406
+ lineRichMenuId?: string | null | undefined;
2348
2407
  };
2349
2408
  status: boolean;
2350
2409
  createdAt: Date;
@@ -2399,6 +2458,13 @@ export declare const messengerContract: {
2399
2458
  isReloginRequired: boolean;
2400
2459
  connectedUserName: string;
2401
2460
  connectedUserId: string;
2461
+ botpressBot: {
2462
+ id: string;
2463
+ name: string;
2464
+ accessToken: string;
2465
+ botId: string;
2466
+ integrationId: string;
2467
+ } | null;
2402
2468
  }>;
2403
2469
  cxlog: z.ZodObject<{
2404
2470
  id: z.ZodString;
@@ -2545,7 +2611,7 @@ export declare const messengerContract: {
2545
2611
  }>, "many">;
2546
2612
  callFrom: z.ZodNullable<z.ZodString>;
2547
2613
  callTo: z.ZodNullable<z.ZodString>;
2548
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2614
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2549
2615
  id: z.ZodString;
2550
2616
  createdAt: z.ZodDate;
2551
2617
  updatedAt: z.ZodDate;
@@ -2578,7 +2644,7 @@ export declare const messengerContract: {
2578
2644
  booleanValue: boolean | null;
2579
2645
  numberValue: number | null;
2580
2646
  dateValue: Date | null;
2581
- }>, "many">>;
2647
+ }>, "many">>>;
2582
2648
  }, "strip", z.ZodTypeAny, {
2583
2649
  type: string;
2584
2650
  id: string;
@@ -2629,7 +2695,7 @@ export declare const messengerContract: {
2629
2695
  booleanValue: boolean | null;
2630
2696
  numberValue: number | null;
2631
2697
  dateValue: Date | null;
2632
- }[] | undefined;
2698
+ }[] | null | undefined;
2633
2699
  }, {
2634
2700
  type: string;
2635
2701
  id: string;
@@ -2680,7 +2746,7 @@ export declare const messengerContract: {
2680
2746
  booleanValue: boolean | null;
2681
2747
  numberValue: number | null;
2682
2748
  dateValue: Date | null;
2683
- }[] | undefined;
2749
+ }[] | null | undefined;
2684
2750
  }>>;
2685
2751
  }, "strip", z.ZodTypeAny, {
2686
2752
  id: string;
@@ -2748,7 +2814,7 @@ export declare const messengerContract: {
2748
2814
  booleanValue: boolean | null;
2749
2815
  numberValue: number | null;
2750
2816
  dateValue: Date | null;
2751
- }[] | undefined;
2817
+ }[] | null | undefined;
2752
2818
  } | null;
2753
2819
  }, {
2754
2820
  id: string;
@@ -2816,9 +2882,34 @@ export declare const messengerContract: {
2816
2882
  booleanValue: boolean | null;
2817
2883
  numberValue: number | null;
2818
2884
  dateValue: Date | null;
2819
- }[] | undefined;
2885
+ }[] | null | undefined;
2820
2886
  } | null;
2821
2887
  }>;
2888
+ workflowRule: z.ZodObject<{
2889
+ id: z.ZodString;
2890
+ createdAt: z.ZodDate;
2891
+ updatedAt: z.ZodDate;
2892
+ deletedAt: z.ZodNullable<z.ZodDate>;
2893
+ name: z.ZodString;
2894
+ isActive: z.ZodBoolean;
2895
+ type: z.ZodString;
2896
+ }, "strip", z.ZodTypeAny, {
2897
+ type: string;
2898
+ id: string;
2899
+ name: string;
2900
+ createdAt: Date;
2901
+ updatedAt: Date;
2902
+ deletedAt: Date | null;
2903
+ isActive: boolean;
2904
+ }, {
2905
+ type: string;
2906
+ id: string;
2907
+ name: string;
2908
+ createdAt: Date;
2909
+ updatedAt: Date;
2910
+ deletedAt: Date | null;
2911
+ isActive: boolean;
2912
+ }>;
2822
2913
  }, "strip", z.ZodTypeAny, {
2823
2914
  id: string;
2824
2915
  channel: {
@@ -2831,6 +2922,7 @@ export declare const messengerContract: {
2831
2922
  accessToken?: string | undefined;
2832
2923
  channelSecret?: string | undefined;
2833
2924
  additionalCredentials?: any;
2925
+ lineRichMenuId?: string | null | undefined;
2834
2926
  };
2835
2927
  status: boolean;
2836
2928
  createdAt: Date;
@@ -2885,6 +2977,13 @@ export declare const messengerContract: {
2885
2977
  isReloginRequired: boolean;
2886
2978
  connectedUserName: string;
2887
2979
  connectedUserId: string;
2980
+ botpressBot: {
2981
+ id: string;
2982
+ name: string;
2983
+ accessToken: string;
2984
+ botId: string;
2985
+ integrationId: string;
2986
+ } | null;
2888
2987
  };
2889
2988
  direction: "incoming" | "outgoing" | "system";
2890
2989
  status: number;
@@ -3099,6 +3198,7 @@ export declare const messengerContract: {
3099
3198
  };
3100
3199
  closedAt: Date;
3101
3200
  lastMessageAt: Date | null;
3201
+ isBotRoom: boolean;
3102
3202
  cxlog: {
3103
3203
  id: string;
3104
3204
  channel: string | null;
@@ -3165,9 +3265,18 @@ export declare const messengerContract: {
3165
3265
  booleanValue: boolean | null;
3166
3266
  numberValue: number | null;
3167
3267
  dateValue: Date | null;
3168
- }[] | undefined;
3268
+ }[] | null | undefined;
3169
3269
  } | null;
3170
3270
  };
3271
+ workflowRule: {
3272
+ type: string;
3273
+ id: string;
3274
+ name: string;
3275
+ createdAt: Date;
3276
+ updatedAt: Date;
3277
+ deletedAt: Date | null;
3278
+ isActive: boolean;
3279
+ };
3171
3280
  }, {
3172
3281
  id: string;
3173
3282
  channel: {
@@ -3180,6 +3289,7 @@ export declare const messengerContract: {
3180
3289
  accessToken?: string | undefined;
3181
3290
  channelSecret?: string | undefined;
3182
3291
  additionalCredentials?: any;
3292
+ lineRichMenuId?: string | null | undefined;
3183
3293
  };
3184
3294
  status: boolean;
3185
3295
  createdAt: Date;
@@ -3234,6 +3344,13 @@ export declare const messengerContract: {
3234
3344
  isReloginRequired: boolean;
3235
3345
  connectedUserName: string;
3236
3346
  connectedUserId: string;
3347
+ botpressBot: {
3348
+ id: string;
3349
+ name: string;
3350
+ accessToken: string;
3351
+ botId: string;
3352
+ integrationId: string;
3353
+ } | null;
3237
3354
  };
3238
3355
  direction: "incoming" | "outgoing" | "system";
3239
3356
  status: number;
@@ -3448,6 +3565,7 @@ export declare const messengerContract: {
3448
3565
  };
3449
3566
  closedAt: Date;
3450
3567
  lastMessageAt: Date | null;
3568
+ isBotRoom: boolean;
3451
3569
  cxlog: {
3452
3570
  id: string;
3453
3571
  channel: string | null;
@@ -3514,9 +3632,18 @@ export declare const messengerContract: {
3514
3632
  booleanValue: boolean | null;
3515
3633
  numberValue: number | null;
3516
3634
  dateValue: Date | null;
3517
- }[] | undefined;
3635
+ }[] | null | undefined;
3518
3636
  } | null;
3519
3637
  };
3638
+ workflowRule: {
3639
+ type: string;
3640
+ id: string;
3641
+ name: string;
3642
+ createdAt: Date;
3643
+ updatedAt: Date;
3644
+ deletedAt: Date | null;
3645
+ isActive: boolean;
3646
+ };
3520
3647
  }>;
3521
3648
  upload: z.ZodObject<{
3522
3649
  id: z.ZodString;
@@ -3559,7 +3686,7 @@ export declare const messengerContract: {
3559
3686
  deletedAt: z.ZodNullable<z.ZodDate>;
3560
3687
  message: z.ZodString;
3561
3688
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
3562
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
3689
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
3563
3690
  readAt: z.ZodDate;
3564
3691
  metadata: z.ZodAny;
3565
3692
  platformId: z.ZodString;
@@ -4217,7 +4344,7 @@ export declare const messengerContract: {
4217
4344
  };
4218
4345
  }>;
4219
4346
  }, "strip", z.ZodTypeAny, {
4220
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
4347
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
4221
4348
  message: string;
4222
4349
  id: string;
4223
4350
  url: string;
@@ -4269,7 +4396,6 @@ export declare const messengerContract: {
4269
4396
  telephonySignature: string | null;
4270
4397
  };
4271
4398
  };
4272
- platformId: string;
4273
4399
  upload: {
4274
4400
  id: string;
4275
4401
  createdAt: Date;
@@ -4326,6 +4452,7 @@ export declare const messengerContract: {
4326
4452
  telephonySignature: string | null;
4327
4453
  };
4328
4454
  };
4455
+ platformId: string;
4329
4456
  readAt: Date;
4330
4457
  platformMessageId: string;
4331
4458
  replyPlatformMessageId: string;
@@ -4379,7 +4506,7 @@ export declare const messengerContract: {
4379
4506
  metadata?: any;
4380
4507
  template?: any;
4381
4508
  }, {
4382
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
4509
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
4383
4510
  message: string;
4384
4511
  id: string;
4385
4512
  url: string;
@@ -4431,7 +4558,6 @@ export declare const messengerContract: {
4431
4558
  telephonySignature: string | null;
4432
4559
  };
4433
4560
  };
4434
- platformId: string;
4435
4561
  upload: {
4436
4562
  id: string;
4437
4563
  createdAt: Date;
@@ -4488,6 +4614,7 @@ export declare const messengerContract: {
4488
4614
  telephonySignature: string | null;
4489
4615
  };
4490
4616
  };
4617
+ platformId: string;
4491
4618
  readAt: Date;
4492
4619
  platformMessageId: string;
4493
4620
  replyPlatformMessageId: string;
@@ -5153,8 +5280,33 @@ export declare const messengerContract: {
5153
5280
  telephonySignature: string | null;
5154
5281
  };
5155
5282
  }>;
5283
+ workflowRule: z.ZodObject<{
5284
+ id: z.ZodString;
5285
+ createdAt: z.ZodDate;
5286
+ updatedAt: z.ZodDate;
5287
+ deletedAt: z.ZodNullable<z.ZodDate>;
5288
+ name: z.ZodString;
5289
+ isActive: z.ZodBoolean;
5290
+ type: z.ZodString;
5291
+ }, "strip", z.ZodTypeAny, {
5292
+ type: string;
5293
+ id: string;
5294
+ name: string;
5295
+ createdAt: Date;
5296
+ updatedAt: Date;
5297
+ deletedAt: Date | null;
5298
+ isActive: boolean;
5299
+ }, {
5300
+ type: string;
5301
+ id: string;
5302
+ name: string;
5303
+ createdAt: Date;
5304
+ updatedAt: Date;
5305
+ deletedAt: Date | null;
5306
+ isActive: boolean;
5307
+ }>;
5156
5308
  }, "strip", z.ZodTypeAny, {
5157
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
5309
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
5158
5310
  message: string;
5159
5311
  id: string;
5160
5312
  url: string;
@@ -5206,7 +5358,6 @@ export declare const messengerContract: {
5206
5358
  telephonySignature: string | null;
5207
5359
  };
5208
5360
  };
5209
- platformId: string;
5210
5361
  upload: {
5211
5362
  id: string;
5212
5363
  createdAt: Date;
@@ -5263,6 +5414,7 @@ export declare const messengerContract: {
5263
5414
  telephonySignature: string | null;
5264
5415
  };
5265
5416
  };
5417
+ platformId: string;
5266
5418
  room: {
5267
5419
  id: string;
5268
5420
  channel: {
@@ -5275,6 +5427,7 @@ export declare const messengerContract: {
5275
5427
  accessToken?: string | undefined;
5276
5428
  channelSecret?: string | undefined;
5277
5429
  additionalCredentials?: any;
5430
+ lineRichMenuId?: string | null | undefined;
5278
5431
  };
5279
5432
  status: boolean;
5280
5433
  createdAt: Date;
@@ -5329,6 +5482,13 @@ export declare const messengerContract: {
5329
5482
  isReloginRequired: boolean;
5330
5483
  connectedUserName: string;
5331
5484
  connectedUserId: string;
5485
+ botpressBot: {
5486
+ id: string;
5487
+ name: string;
5488
+ accessToken: string;
5489
+ botId: string;
5490
+ integrationId: string;
5491
+ } | null;
5332
5492
  };
5333
5493
  direction: "incoming" | "outgoing" | "system";
5334
5494
  status: number;
@@ -5543,6 +5703,7 @@ export declare const messengerContract: {
5543
5703
  };
5544
5704
  closedAt: Date;
5545
5705
  lastMessageAt: Date | null;
5706
+ isBotRoom: boolean;
5546
5707
  cxlog: {
5547
5708
  id: string;
5548
5709
  channel: string | null;
@@ -5609,9 +5770,27 @@ export declare const messengerContract: {
5609
5770
  booleanValue: boolean | null;
5610
5771
  numberValue: number | null;
5611
5772
  dateValue: Date | null;
5612
- }[] | undefined;
5773
+ }[] | null | undefined;
5613
5774
  } | null;
5614
5775
  };
5776
+ workflowRule: {
5777
+ type: string;
5778
+ id: string;
5779
+ name: string;
5780
+ createdAt: Date;
5781
+ updatedAt: Date;
5782
+ deletedAt: Date | null;
5783
+ isActive: boolean;
5784
+ };
5785
+ };
5786
+ workflowRule: {
5787
+ type: string;
5788
+ id: string;
5789
+ name: string;
5790
+ createdAt: Date;
5791
+ updatedAt: Date;
5792
+ deletedAt: Date | null;
5793
+ isActive: boolean;
5615
5794
  };
5616
5795
  readAt: Date;
5617
5796
  platformMessageId: string;
@@ -5620,7 +5799,7 @@ export declare const messengerContract: {
5620
5799
  previewUrl: string;
5621
5800
  imageSetId: string;
5622
5801
  repliedMessage: {
5623
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
5802
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
5624
5803
  message: string;
5625
5804
  id: string;
5626
5805
  url: string;
@@ -5672,7 +5851,6 @@ export declare const messengerContract: {
5672
5851
  telephonySignature: string | null;
5673
5852
  };
5674
5853
  };
5675
- platformId: string;
5676
5854
  upload: {
5677
5855
  id: string;
5678
5856
  createdAt: Date;
@@ -5729,6 +5907,7 @@ export declare const messengerContract: {
5729
5907
  telephonySignature: string | null;
5730
5908
  };
5731
5909
  };
5910
+ platformId: string;
5732
5911
  readAt: Date;
5733
5912
  platformMessageId: string;
5734
5913
  replyPlatformMessageId: string;
@@ -5829,7 +6008,7 @@ export declare const messengerContract: {
5829
6008
  metadata?: any;
5830
6009
  template?: any;
5831
6010
  }, {
5832
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6011
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
5833
6012
  message: string;
5834
6013
  id: string;
5835
6014
  url: string;
@@ -5881,7 +6060,6 @@ export declare const messengerContract: {
5881
6060
  telephonySignature: string | null;
5882
6061
  };
5883
6062
  };
5884
- platformId: string;
5885
6063
  upload: {
5886
6064
  id: string;
5887
6065
  createdAt: Date;
@@ -5938,6 +6116,7 @@ export declare const messengerContract: {
5938
6116
  telephonySignature: string | null;
5939
6117
  };
5940
6118
  };
6119
+ platformId: string;
5941
6120
  room: {
5942
6121
  id: string;
5943
6122
  channel: {
@@ -5950,6 +6129,7 @@ export declare const messengerContract: {
5950
6129
  accessToken?: string | undefined;
5951
6130
  channelSecret?: string | undefined;
5952
6131
  additionalCredentials?: any;
6132
+ lineRichMenuId?: string | null | undefined;
5953
6133
  };
5954
6134
  status: boolean;
5955
6135
  createdAt: Date;
@@ -6004,6 +6184,13 @@ export declare const messengerContract: {
6004
6184
  isReloginRequired: boolean;
6005
6185
  connectedUserName: string;
6006
6186
  connectedUserId: string;
6187
+ botpressBot: {
6188
+ id: string;
6189
+ name: string;
6190
+ accessToken: string;
6191
+ botId: string;
6192
+ integrationId: string;
6193
+ } | null;
6007
6194
  };
6008
6195
  direction: "incoming" | "outgoing" | "system";
6009
6196
  status: number;
@@ -6218,6 +6405,7 @@ export declare const messengerContract: {
6218
6405
  };
6219
6406
  closedAt: Date;
6220
6407
  lastMessageAt: Date | null;
6408
+ isBotRoom: boolean;
6221
6409
  cxlog: {
6222
6410
  id: string;
6223
6411
  channel: string | null;
@@ -6284,9 +6472,27 @@ export declare const messengerContract: {
6284
6472
  booleanValue: boolean | null;
6285
6473
  numberValue: number | null;
6286
6474
  dateValue: Date | null;
6287
- }[] | undefined;
6475
+ }[] | null | undefined;
6288
6476
  } | null;
6289
6477
  };
6478
+ workflowRule: {
6479
+ type: string;
6480
+ id: string;
6481
+ name: string;
6482
+ createdAt: Date;
6483
+ updatedAt: Date;
6484
+ deletedAt: Date | null;
6485
+ isActive: boolean;
6486
+ };
6487
+ };
6488
+ workflowRule: {
6489
+ type: string;
6490
+ id: string;
6491
+ name: string;
6492
+ createdAt: Date;
6493
+ updatedAt: Date;
6494
+ deletedAt: Date | null;
6495
+ isActive: boolean;
6290
6496
  };
6291
6497
  readAt: Date;
6292
6498
  platformMessageId: string;
@@ -6295,7 +6501,7 @@ export declare const messengerContract: {
6295
6501
  previewUrl: string;
6296
6502
  imageSetId: string;
6297
6503
  repliedMessage: {
6298
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6504
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6299
6505
  message: string;
6300
6506
  id: string;
6301
6507
  url: string;
@@ -6347,7 +6553,6 @@ export declare const messengerContract: {
6347
6553
  telephonySignature: string | null;
6348
6554
  };
6349
6555
  };
6350
- platformId: string;
6351
6556
  upload: {
6352
6557
  id: string;
6353
6558
  createdAt: Date;
@@ -6404,6 +6609,7 @@ export declare const messengerContract: {
6404
6609
  telephonySignature: string | null;
6405
6610
  };
6406
6611
  };
6612
+ platformId: string;
6407
6613
  readAt: Date;
6408
6614
  platformMessageId: string;
6409
6615
  replyPlatformMessageId: string;
@@ -6506,7 +6712,7 @@ export declare const messengerContract: {
6506
6712
  }>;
6507
6713
  }, "strip", z.ZodTypeAny, {
6508
6714
  data: {
6509
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6715
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6510
6716
  message: string;
6511
6717
  id: string;
6512
6718
  url: string;
@@ -6558,7 +6764,6 @@ export declare const messengerContract: {
6558
6764
  telephonySignature: string | null;
6559
6765
  };
6560
6766
  };
6561
- platformId: string;
6562
6767
  upload: {
6563
6768
  id: string;
6564
6769
  createdAt: Date;
@@ -6615,6 +6820,7 @@ export declare const messengerContract: {
6615
6820
  telephonySignature: string | null;
6616
6821
  };
6617
6822
  };
6823
+ platformId: string;
6618
6824
  room: {
6619
6825
  id: string;
6620
6826
  channel: {
@@ -6627,6 +6833,7 @@ export declare const messengerContract: {
6627
6833
  accessToken?: string | undefined;
6628
6834
  channelSecret?: string | undefined;
6629
6835
  additionalCredentials?: any;
6836
+ lineRichMenuId?: string | null | undefined;
6630
6837
  };
6631
6838
  status: boolean;
6632
6839
  createdAt: Date;
@@ -6681,6 +6888,13 @@ export declare const messengerContract: {
6681
6888
  isReloginRequired: boolean;
6682
6889
  connectedUserName: string;
6683
6890
  connectedUserId: string;
6891
+ botpressBot: {
6892
+ id: string;
6893
+ name: string;
6894
+ accessToken: string;
6895
+ botId: string;
6896
+ integrationId: string;
6897
+ } | null;
6684
6898
  };
6685
6899
  direction: "incoming" | "outgoing" | "system";
6686
6900
  status: number;
@@ -6895,6 +7109,7 @@ export declare const messengerContract: {
6895
7109
  };
6896
7110
  closedAt: Date;
6897
7111
  lastMessageAt: Date | null;
7112
+ isBotRoom: boolean;
6898
7113
  cxlog: {
6899
7114
  id: string;
6900
7115
  channel: string | null;
@@ -6961,9 +7176,27 @@ export declare const messengerContract: {
6961
7176
  booleanValue: boolean | null;
6962
7177
  numberValue: number | null;
6963
7178
  dateValue: Date | null;
6964
- }[] | undefined;
7179
+ }[] | null | undefined;
6965
7180
  } | null;
6966
7181
  };
7182
+ workflowRule: {
7183
+ type: string;
7184
+ id: string;
7185
+ name: string;
7186
+ createdAt: Date;
7187
+ updatedAt: Date;
7188
+ deletedAt: Date | null;
7189
+ isActive: boolean;
7190
+ };
7191
+ };
7192
+ workflowRule: {
7193
+ type: string;
7194
+ id: string;
7195
+ name: string;
7196
+ createdAt: Date;
7197
+ updatedAt: Date;
7198
+ deletedAt: Date | null;
7199
+ isActive: boolean;
6967
7200
  };
6968
7201
  readAt: Date;
6969
7202
  platformMessageId: string;
@@ -6972,7 +7205,7 @@ export declare const messengerContract: {
6972
7205
  previewUrl: string;
6973
7206
  imageSetId: string;
6974
7207
  repliedMessage: {
6975
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7208
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6976
7209
  message: string;
6977
7210
  id: string;
6978
7211
  url: string;
@@ -7024,7 +7257,6 @@ export declare const messengerContract: {
7024
7257
  telephonySignature: string | null;
7025
7258
  };
7026
7259
  };
7027
- platformId: string;
7028
7260
  upload: {
7029
7261
  id: string;
7030
7262
  createdAt: Date;
@@ -7081,6 +7313,7 @@ export declare const messengerContract: {
7081
7313
  telephonySignature: string | null;
7082
7314
  };
7083
7315
  };
7316
+ platformId: string;
7084
7317
  readAt: Date;
7085
7318
  platformMessageId: string;
7086
7319
  replyPlatformMessageId: string;
@@ -7184,7 +7417,7 @@ export declare const messengerContract: {
7184
7417
  requestId: string;
7185
7418
  }, {
7186
7419
  data: {
7187
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7420
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7188
7421
  message: string;
7189
7422
  id: string;
7190
7423
  url: string;
@@ -7236,7 +7469,6 @@ export declare const messengerContract: {
7236
7469
  telephonySignature: string | null;
7237
7470
  };
7238
7471
  };
7239
- platformId: string;
7240
7472
  upload: {
7241
7473
  id: string;
7242
7474
  createdAt: Date;
@@ -7293,6 +7525,7 @@ export declare const messengerContract: {
7293
7525
  telephonySignature: string | null;
7294
7526
  };
7295
7527
  };
7528
+ platformId: string;
7296
7529
  room: {
7297
7530
  id: string;
7298
7531
  channel: {
@@ -7305,6 +7538,7 @@ export declare const messengerContract: {
7305
7538
  accessToken?: string | undefined;
7306
7539
  channelSecret?: string | undefined;
7307
7540
  additionalCredentials?: any;
7541
+ lineRichMenuId?: string | null | undefined;
7308
7542
  };
7309
7543
  status: boolean;
7310
7544
  createdAt: Date;
@@ -7359,6 +7593,13 @@ export declare const messengerContract: {
7359
7593
  isReloginRequired: boolean;
7360
7594
  connectedUserName: string;
7361
7595
  connectedUserId: string;
7596
+ botpressBot: {
7597
+ id: string;
7598
+ name: string;
7599
+ accessToken: string;
7600
+ botId: string;
7601
+ integrationId: string;
7602
+ } | null;
7362
7603
  };
7363
7604
  direction: "incoming" | "outgoing" | "system";
7364
7605
  status: number;
@@ -7573,6 +7814,7 @@ export declare const messengerContract: {
7573
7814
  };
7574
7815
  closedAt: Date;
7575
7816
  lastMessageAt: Date | null;
7817
+ isBotRoom: boolean;
7576
7818
  cxlog: {
7577
7819
  id: string;
7578
7820
  channel: string | null;
@@ -7639,9 +7881,27 @@ export declare const messengerContract: {
7639
7881
  booleanValue: boolean | null;
7640
7882
  numberValue: number | null;
7641
7883
  dateValue: Date | null;
7642
- }[] | undefined;
7884
+ }[] | null | undefined;
7643
7885
  } | null;
7644
7886
  };
7887
+ workflowRule: {
7888
+ type: string;
7889
+ id: string;
7890
+ name: string;
7891
+ createdAt: Date;
7892
+ updatedAt: Date;
7893
+ deletedAt: Date | null;
7894
+ isActive: boolean;
7895
+ };
7896
+ };
7897
+ workflowRule: {
7898
+ type: string;
7899
+ id: string;
7900
+ name: string;
7901
+ createdAt: Date;
7902
+ updatedAt: Date;
7903
+ deletedAt: Date | null;
7904
+ isActive: boolean;
7645
7905
  };
7646
7906
  readAt: Date;
7647
7907
  platformMessageId: string;
@@ -7650,7 +7910,7 @@ export declare const messengerContract: {
7650
7910
  previewUrl: string;
7651
7911
  imageSetId: string;
7652
7912
  repliedMessage: {
7653
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7913
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7654
7914
  message: string;
7655
7915
  id: string;
7656
7916
  url: string;
@@ -7702,7 +7962,6 @@ export declare const messengerContract: {
7702
7962
  telephonySignature: string | null;
7703
7963
  };
7704
7964
  };
7705
- platformId: string;
7706
7965
  upload: {
7707
7966
  id: string;
7708
7967
  createdAt: Date;
@@ -7759,6 +8018,7 @@ export declare const messengerContract: {
7759
8018
  telephonySignature: string | null;
7760
8019
  };
7761
8020
  };
8021
+ platformId: string;
7762
8022
  readAt: Date;
7763
8023
  platformMessageId: string;
7764
8024
  replyPlatformMessageId: string;
@@ -7895,24 +8155,28 @@ export declare const messengerContract: {
7895
8155
  accessToken: z.ZodOptional<z.ZodString>;
7896
8156
  channelSecret: z.ZodOptional<z.ZodString>;
7897
8157
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8158
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7898
8159
  }, "strip", z.ZodTypeAny, {
7899
8160
  id: string;
7900
8161
  name: string;
7901
8162
  accessToken?: string | undefined;
7902
8163
  channelSecret?: string | undefined;
7903
8164
  additionalCredentials?: any;
8165
+ lineRichMenuId?: string | null | undefined;
7904
8166
  }, {
7905
8167
  id: string;
7906
8168
  name: string;
7907
8169
  accessToken?: string | undefined;
7908
8170
  channelSecret?: string | undefined;
7909
8171
  additionalCredentials?: any;
8172
+ lineRichMenuId?: string | null | undefined;
7910
8173
  }>>;
7911
8174
  platformId: z.ZodOptional<z.ZodString>;
7912
8175
  brandName: z.ZodOptional<z.ZodString>;
7913
8176
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
7914
8177
  connectedUserName: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
7915
8178
  connectedUserId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
8179
+ lineRichMenuId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
7916
8180
  actor: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7917
8181
  id: z.ZodString;
7918
8182
  name: z.ZodString;
@@ -7942,12 +8206,14 @@ export declare const messengerContract: {
7942
8206
  accessToken?: string | undefined;
7943
8207
  channelSecret?: string | undefined;
7944
8208
  additionalCredentials?: any;
8209
+ lineRichMenuId?: string | null | undefined;
7945
8210
  } | undefined;
7946
8211
  platformId?: string | undefined;
7947
8212
  brandName?: string | undefined;
7948
8213
  status?: boolean | undefined;
7949
8214
  connectedUserName?: string | null | undefined;
7950
8215
  connectedUserId?: string | null | undefined;
8216
+ lineRichMenuId?: string | null | undefined;
7951
8217
  actor?: {
7952
8218
  id: string;
7953
8219
  address: string | null;
@@ -7965,12 +8231,14 @@ export declare const messengerContract: {
7965
8231
  accessToken?: string | undefined;
7966
8232
  channelSecret?: string | undefined;
7967
8233
  additionalCredentials?: any;
8234
+ lineRichMenuId?: string | null | undefined;
7968
8235
  } | undefined;
7969
8236
  platformId?: string | undefined;
7970
8237
  brandName?: string | undefined;
7971
8238
  status?: boolean | undefined;
7972
8239
  connectedUserName?: string | null | undefined;
7973
8240
  connectedUserId?: string | null | undefined;
8241
+ lineRichMenuId?: string | null | undefined;
7974
8242
  actor?: {
7975
8243
  id: string;
7976
8244
  address: string | null;
@@ -7993,24 +8261,28 @@ export declare const messengerContract: {
7993
8261
  accessToken: z.ZodOptional<z.ZodString>;
7994
8262
  channelSecret: z.ZodOptional<z.ZodString>;
7995
8263
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8264
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7996
8265
  }, "strip", z.ZodTypeAny, {
7997
8266
  id: string;
7998
8267
  name: string;
7999
8268
  accessToken?: string | undefined;
8000
8269
  channelSecret?: string | undefined;
8001
8270
  additionalCredentials?: any;
8271
+ lineRichMenuId?: string | null | undefined;
8002
8272
  }, {
8003
8273
  id: string;
8004
8274
  name: string;
8005
8275
  accessToken?: string | undefined;
8006
8276
  channelSecret?: string | undefined;
8007
8277
  additionalCredentials?: any;
8278
+ lineRichMenuId?: string | null | undefined;
8008
8279
  }>;
8009
8280
  platformId: z.ZodString;
8010
8281
  brandName: z.ZodString;
8011
8282
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
8012
8283
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8013
8284
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8285
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8014
8286
  actor: z.ZodOptional<z.ZodObject<{
8015
8287
  id: z.ZodString;
8016
8288
  name: z.ZodString;
@@ -8040,12 +8312,14 @@ export declare const messengerContract: {
8040
8312
  accessToken?: string | undefined;
8041
8313
  channelSecret?: string | undefined;
8042
8314
  additionalCredentials?: any;
8315
+ lineRichMenuId?: string | null | undefined;
8043
8316
  };
8044
8317
  status: boolean;
8045
8318
  brandName: string;
8046
8319
  platformId: string;
8047
8320
  connectedUserName?: string | null | undefined;
8048
8321
  connectedUserId?: string | null | undefined;
8322
+ lineRichMenuId?: string | null | undefined;
8049
8323
  actor?: {
8050
8324
  id: string;
8051
8325
  address: string | null;
@@ -8063,12 +8337,14 @@ export declare const messengerContract: {
8063
8337
  accessToken?: string | undefined;
8064
8338
  channelSecret?: string | undefined;
8065
8339
  additionalCredentials?: any;
8340
+ lineRichMenuId?: string | null | undefined;
8066
8341
  };
8067
8342
  status: boolean;
8068
8343
  brandName: string;
8069
8344
  platformId: string;
8070
8345
  connectedUserName?: string | null | undefined;
8071
8346
  connectedUserId?: string | null | undefined;
8347
+ lineRichMenuId?: string | null | undefined;
8072
8348
  actor?: {
8073
8349
  id: string;
8074
8350
  address: string | null;
@@ -8088,12 +8364,14 @@ export declare const messengerContract: {
8088
8364
  accessToken?: string | undefined;
8089
8365
  channelSecret?: string | undefined;
8090
8366
  additionalCredentials?: any;
8367
+ lineRichMenuId?: string | null | undefined;
8091
8368
  };
8092
8369
  status: boolean;
8093
8370
  brandName: string;
8094
8371
  platformId: string;
8095
8372
  connectedUserName?: string | null | undefined;
8096
8373
  connectedUserId?: string | null | undefined;
8374
+ lineRichMenuId?: string | null | undefined;
8097
8375
  actor?: {
8098
8376
  id: string;
8099
8377
  address: string | null;
@@ -8114,12 +8392,14 @@ export declare const messengerContract: {
8114
8392
  accessToken?: string | undefined;
8115
8393
  channelSecret?: string | undefined;
8116
8394
  additionalCredentials?: any;
8395
+ lineRichMenuId?: string | null | undefined;
8117
8396
  };
8118
8397
  status: boolean;
8119
8398
  brandName: string;
8120
8399
  platformId: string;
8121
8400
  connectedUserName?: string | null | undefined;
8122
8401
  connectedUserId?: string | null | undefined;
8402
+ lineRichMenuId?: string | null | undefined;
8123
8403
  actor?: {
8124
8404
  id: string;
8125
8405
  address: string | null;
@@ -8164,24 +8444,28 @@ export declare const messengerContract: {
8164
8444
  accessToken: z.ZodOptional<z.ZodString>;
8165
8445
  channelSecret: z.ZodOptional<z.ZodString>;
8166
8446
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8447
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8167
8448
  }, "strip", z.ZodTypeAny, {
8168
8449
  id: string;
8169
8450
  name: string;
8170
8451
  accessToken?: string | undefined;
8171
8452
  channelSecret?: string | undefined;
8172
8453
  additionalCredentials?: any;
8454
+ lineRichMenuId?: string | null | undefined;
8173
8455
  }, {
8174
8456
  id: string;
8175
8457
  name: string;
8176
8458
  accessToken?: string | undefined;
8177
8459
  channelSecret?: string | undefined;
8178
8460
  additionalCredentials?: any;
8461
+ lineRichMenuId?: string | null | undefined;
8179
8462
  }>>;
8180
8463
  platformId: z.ZodOptional<z.ZodString>;
8181
8464
  brandName: z.ZodOptional<z.ZodString>;
8182
8465
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
8183
8466
  connectedUserName: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
8184
8467
  connectedUserId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
8468
+ lineRichMenuId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
8185
8469
  actor: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8186
8470
  id: z.ZodString;
8187
8471
  name: z.ZodString;
@@ -8211,12 +8495,14 @@ export declare const messengerContract: {
8211
8495
  accessToken?: string | undefined;
8212
8496
  channelSecret?: string | undefined;
8213
8497
  additionalCredentials?: any;
8498
+ lineRichMenuId?: string | null | undefined;
8214
8499
  } | undefined;
8215
8500
  platformId?: string | undefined;
8216
8501
  brandName?: string | undefined;
8217
8502
  status?: boolean | undefined;
8218
8503
  connectedUserName?: string | null | undefined;
8219
8504
  connectedUserId?: string | null | undefined;
8505
+ lineRichMenuId?: string | null | undefined;
8220
8506
  actor?: {
8221
8507
  id: string;
8222
8508
  address: string | null;
@@ -8234,12 +8520,14 @@ export declare const messengerContract: {
8234
8520
  accessToken?: string | undefined;
8235
8521
  channelSecret?: string | undefined;
8236
8522
  additionalCredentials?: any;
8523
+ lineRichMenuId?: string | null | undefined;
8237
8524
  } | undefined;
8238
8525
  platformId?: string | undefined;
8239
8526
  brandName?: string | undefined;
8240
8527
  status?: boolean | undefined;
8241
8528
  connectedUserName?: string | null | undefined;
8242
8529
  connectedUserId?: string | null | undefined;
8530
+ lineRichMenuId?: string | null | undefined;
8243
8531
  actor?: {
8244
8532
  id: string;
8245
8533
  address: string | null;
@@ -8262,24 +8550,28 @@ export declare const messengerContract: {
8262
8550
  accessToken: z.ZodOptional<z.ZodString>;
8263
8551
  channelSecret: z.ZodOptional<z.ZodString>;
8264
8552
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8553
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8265
8554
  }, "strip", z.ZodTypeAny, {
8266
8555
  id: string;
8267
8556
  name: string;
8268
8557
  accessToken?: string | undefined;
8269
8558
  channelSecret?: string | undefined;
8270
8559
  additionalCredentials?: any;
8560
+ lineRichMenuId?: string | null | undefined;
8271
8561
  }, {
8272
8562
  id: string;
8273
8563
  name: string;
8274
8564
  accessToken?: string | undefined;
8275
8565
  channelSecret?: string | undefined;
8276
8566
  additionalCredentials?: any;
8567
+ lineRichMenuId?: string | null | undefined;
8277
8568
  }>;
8278
8569
  platformId: z.ZodString;
8279
8570
  brandName: z.ZodString;
8280
8571
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
8281
8572
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8282
8573
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8574
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8283
8575
  actor: z.ZodOptional<z.ZodObject<{
8284
8576
  id: z.ZodString;
8285
8577
  name: z.ZodString;
@@ -8309,12 +8601,14 @@ export declare const messengerContract: {
8309
8601
  accessToken?: string | undefined;
8310
8602
  channelSecret?: string | undefined;
8311
8603
  additionalCredentials?: any;
8604
+ lineRichMenuId?: string | null | undefined;
8312
8605
  };
8313
8606
  status: boolean;
8314
8607
  brandName: string;
8315
8608
  platformId: string;
8316
8609
  connectedUserName?: string | null | undefined;
8317
8610
  connectedUserId?: string | null | undefined;
8611
+ lineRichMenuId?: string | null | undefined;
8318
8612
  actor?: {
8319
8613
  id: string;
8320
8614
  address: string | null;
@@ -8332,12 +8626,14 @@ export declare const messengerContract: {
8332
8626
  accessToken?: string | undefined;
8333
8627
  channelSecret?: string | undefined;
8334
8628
  additionalCredentials?: any;
8629
+ lineRichMenuId?: string | null | undefined;
8335
8630
  };
8336
8631
  status: boolean;
8337
8632
  brandName: string;
8338
8633
  platformId: string;
8339
8634
  connectedUserName?: string | null | undefined;
8340
8635
  connectedUserId?: string | null | undefined;
8636
+ lineRichMenuId?: string | null | undefined;
8341
8637
  actor?: {
8342
8638
  id: string;
8343
8639
  address: string | null;
@@ -8357,12 +8653,14 @@ export declare const messengerContract: {
8357
8653
  accessToken?: string | undefined;
8358
8654
  channelSecret?: string | undefined;
8359
8655
  additionalCredentials?: any;
8656
+ lineRichMenuId?: string | null | undefined;
8360
8657
  };
8361
8658
  status: boolean;
8362
8659
  brandName: string;
8363
8660
  platformId: string;
8364
8661
  connectedUserName?: string | null | undefined;
8365
8662
  connectedUserId?: string | null | undefined;
8663
+ lineRichMenuId?: string | null | undefined;
8366
8664
  actor?: {
8367
8665
  id: string;
8368
8666
  address: string | null;
@@ -8383,12 +8681,14 @@ export declare const messengerContract: {
8383
8681
  accessToken?: string | undefined;
8384
8682
  channelSecret?: string | undefined;
8385
8683
  additionalCredentials?: any;
8684
+ lineRichMenuId?: string | null | undefined;
8386
8685
  };
8387
8686
  status: boolean;
8388
8687
  brandName: string;
8389
8688
  platformId: string;
8390
8689
  connectedUserName?: string | null | undefined;
8391
8690
  connectedUserId?: string | null | undefined;
8691
+ lineRichMenuId?: string | null | undefined;
8392
8692
  actor?: {
8393
8693
  id: string;
8394
8694
  address: string | null;
@@ -8445,24 +8745,28 @@ export declare const messengerContract: {
8445
8745
  accessToken: z.ZodOptional<z.ZodString>;
8446
8746
  channelSecret: z.ZodOptional<z.ZodString>;
8447
8747
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8748
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8448
8749
  }, "strip", z.ZodTypeAny, {
8449
8750
  id: string;
8450
8751
  name: string;
8451
8752
  accessToken?: string | undefined;
8452
8753
  channelSecret?: string | undefined;
8453
8754
  additionalCredentials?: any;
8755
+ lineRichMenuId?: string | null | undefined;
8454
8756
  }, {
8455
8757
  id: string;
8456
8758
  name: string;
8457
8759
  accessToken?: string | undefined;
8458
8760
  channelSecret?: string | undefined;
8459
8761
  additionalCredentials?: any;
8762
+ lineRichMenuId?: string | null | undefined;
8460
8763
  }>;
8461
8764
  platformId: z.ZodString;
8462
8765
  brandName: z.ZodString;
8463
8766
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
8464
8767
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8465
8768
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8769
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8466
8770
  actor: z.ZodOptional<z.ZodObject<{
8467
8771
  id: z.ZodString;
8468
8772
  name: z.ZodString;
@@ -8492,12 +8796,14 @@ export declare const messengerContract: {
8492
8796
  accessToken?: string | undefined;
8493
8797
  channelSecret?: string | undefined;
8494
8798
  additionalCredentials?: any;
8799
+ lineRichMenuId?: string | null | undefined;
8495
8800
  };
8496
8801
  status: boolean;
8497
8802
  brandName: string;
8498
8803
  platformId: string;
8499
8804
  connectedUserName?: string | null | undefined;
8500
8805
  connectedUserId?: string | null | undefined;
8806
+ lineRichMenuId?: string | null | undefined;
8501
8807
  actor?: {
8502
8808
  id: string;
8503
8809
  address: string | null;
@@ -8515,12 +8821,14 @@ export declare const messengerContract: {
8515
8821
  accessToken?: string | undefined;
8516
8822
  channelSecret?: string | undefined;
8517
8823
  additionalCredentials?: any;
8824
+ lineRichMenuId?: string | null | undefined;
8518
8825
  };
8519
8826
  status: boolean;
8520
8827
  brandName: string;
8521
8828
  platformId: string;
8522
8829
  connectedUserName?: string | null | undefined;
8523
8830
  connectedUserId?: string | null | undefined;
8831
+ lineRichMenuId?: string | null | undefined;
8524
8832
  actor?: {
8525
8833
  id: string;
8526
8834
  address: string | null;
@@ -8540,12 +8848,14 @@ export declare const messengerContract: {
8540
8848
  accessToken?: string | undefined;
8541
8849
  channelSecret?: string | undefined;
8542
8850
  additionalCredentials?: any;
8851
+ lineRichMenuId?: string | null | undefined;
8543
8852
  };
8544
8853
  status: boolean;
8545
8854
  brandName: string;
8546
8855
  platformId: string;
8547
8856
  connectedUserName?: string | null | undefined;
8548
8857
  connectedUserId?: string | null | undefined;
8858
+ lineRichMenuId?: string | null | undefined;
8549
8859
  actor?: {
8550
8860
  id: string;
8551
8861
  address: string | null;
@@ -8566,12 +8876,14 @@ export declare const messengerContract: {
8566
8876
  accessToken?: string | undefined;
8567
8877
  channelSecret?: string | undefined;
8568
8878
  additionalCredentials?: any;
8879
+ lineRichMenuId?: string | null | undefined;
8569
8880
  };
8570
8881
  status: boolean;
8571
8882
  brandName: string;
8572
8883
  platformId: string;
8573
8884
  connectedUserName?: string | null | undefined;
8574
8885
  connectedUserId?: string | null | undefined;
8886
+ lineRichMenuId?: string | null | undefined;
8575
8887
  actor?: {
8576
8888
  id: string;
8577
8889
  address: string | null;
@@ -8628,24 +8940,28 @@ export declare const messengerContract: {
8628
8940
  accessToken: z.ZodOptional<z.ZodString>;
8629
8941
  channelSecret: z.ZodOptional<z.ZodString>;
8630
8942
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8943
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8631
8944
  }, "strip", z.ZodTypeAny, {
8632
8945
  id: string;
8633
8946
  name: string;
8634
8947
  accessToken?: string | undefined;
8635
8948
  channelSecret?: string | undefined;
8636
8949
  additionalCredentials?: any;
8950
+ lineRichMenuId?: string | null | undefined;
8637
8951
  }, {
8638
8952
  id: string;
8639
8953
  name: string;
8640
8954
  accessToken?: string | undefined;
8641
8955
  channelSecret?: string | undefined;
8642
8956
  additionalCredentials?: any;
8957
+ lineRichMenuId?: string | null | undefined;
8643
8958
  }>;
8644
8959
  platformId: z.ZodString;
8645
8960
  brandName: z.ZodString;
8646
8961
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
8647
8962
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8648
8963
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8964
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8649
8965
  actor: z.ZodOptional<z.ZodObject<{
8650
8966
  id: z.ZodString;
8651
8967
  name: z.ZodString;
@@ -8675,12 +8991,14 @@ export declare const messengerContract: {
8675
8991
  accessToken?: string | undefined;
8676
8992
  channelSecret?: string | undefined;
8677
8993
  additionalCredentials?: any;
8994
+ lineRichMenuId?: string | null | undefined;
8678
8995
  };
8679
8996
  status: boolean;
8680
8997
  brandName: string;
8681
8998
  platformId: string;
8682
8999
  connectedUserName?: string | null | undefined;
8683
9000
  connectedUserId?: string | null | undefined;
9001
+ lineRichMenuId?: string | null | undefined;
8684
9002
  actor?: {
8685
9003
  id: string;
8686
9004
  address: string | null;
@@ -8698,12 +9016,14 @@ export declare const messengerContract: {
8698
9016
  accessToken?: string | undefined;
8699
9017
  channelSecret?: string | undefined;
8700
9018
  additionalCredentials?: any;
9019
+ lineRichMenuId?: string | null | undefined;
8701
9020
  };
8702
9021
  status: boolean;
8703
9022
  brandName: string;
8704
9023
  platformId: string;
8705
9024
  connectedUserName?: string | null | undefined;
8706
9025
  connectedUserId?: string | null | undefined;
9026
+ lineRichMenuId?: string | null | undefined;
8707
9027
  actor?: {
8708
9028
  id: string;
8709
9029
  address: string | null;
@@ -8723,12 +9043,14 @@ export declare const messengerContract: {
8723
9043
  accessToken?: string | undefined;
8724
9044
  channelSecret?: string | undefined;
8725
9045
  additionalCredentials?: any;
9046
+ lineRichMenuId?: string | null | undefined;
8726
9047
  };
8727
9048
  status: boolean;
8728
9049
  brandName: string;
8729
9050
  platformId: string;
8730
9051
  connectedUserName?: string | null | undefined;
8731
9052
  connectedUserId?: string | null | undefined;
9053
+ lineRichMenuId?: string | null | undefined;
8732
9054
  actor?: {
8733
9055
  id: string;
8734
9056
  address: string | null;
@@ -8749,12 +9071,14 @@ export declare const messengerContract: {
8749
9071
  accessToken?: string | undefined;
8750
9072
  channelSecret?: string | undefined;
8751
9073
  additionalCredentials?: any;
9074
+ lineRichMenuId?: string | null | undefined;
8752
9075
  };
8753
9076
  status: boolean;
8754
9077
  brandName: string;
8755
9078
  platformId: string;
8756
9079
  connectedUserName?: string | null | undefined;
8757
9080
  connectedUserId?: string | null | undefined;
9081
+ lineRichMenuId?: string | null | undefined;
8758
9082
  actor?: {
8759
9083
  id: string;
8760
9084
  address: string | null;
@@ -8798,18 +9122,21 @@ export declare const messengerContract: {
8798
9122
  accessToken: z.ZodOptional<z.ZodString>;
8799
9123
  channelSecret: z.ZodOptional<z.ZodString>;
8800
9124
  additionalCredentials: z.ZodOptional<z.ZodAny>;
9125
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8801
9126
  }, "strip", z.ZodTypeAny, {
8802
9127
  id: string;
8803
9128
  name: string;
8804
9129
  accessToken?: string | undefined;
8805
9130
  channelSecret?: string | undefined;
8806
9131
  additionalCredentials?: any;
9132
+ lineRichMenuId?: string | null | undefined;
8807
9133
  }, {
8808
9134
  id: string;
8809
9135
  name: string;
8810
9136
  accessToken?: string | undefined;
8811
9137
  channelSecret?: string | undefined;
8812
9138
  additionalCredentials?: any;
9139
+ lineRichMenuId?: string | null | undefined;
8813
9140
  }>;
8814
9141
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
8815
9142
  actor: z.ZodOptional<z.ZodObject<{
@@ -8831,6 +9158,7 @@ export declare const messengerContract: {
8831
9158
  email: string;
8832
9159
  phone: string | null;
8833
9160
  }>>;
9161
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8834
9162
  brandName: z.ZodString;
8835
9163
  platformId: z.ZodString;
8836
9164
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -8850,6 +9178,7 @@ export declare const messengerContract: {
8850
9178
  accessToken?: string | undefined;
8851
9179
  channelSecret?: string | undefined;
8852
9180
  additionalCredentials?: any;
9181
+ lineRichMenuId?: string | null | undefined;
8853
9182
  };
8854
9183
  status: boolean;
8855
9184
  createdAt: string;
@@ -8865,6 +9194,7 @@ export declare const messengerContract: {
8865
9194
  email: string;
8866
9195
  phone: string | null;
8867
9196
  } | undefined;
9197
+ lineRichMenuId?: string | null | undefined;
8868
9198
  connectedUserName?: string | null | undefined;
8869
9199
  connectedUserId?: string | null | undefined;
8870
9200
  }, {
@@ -8877,6 +9207,7 @@ export declare const messengerContract: {
8877
9207
  accessToken?: string | undefined;
8878
9208
  channelSecret?: string | undefined;
8879
9209
  additionalCredentials?: any;
9210
+ lineRichMenuId?: string | null | undefined;
8880
9211
  };
8881
9212
  status: boolean;
8882
9213
  createdAt: string;
@@ -8892,6 +9223,7 @@ export declare const messengerContract: {
8892
9223
  email: string;
8893
9224
  phone: string | null;
8894
9225
  } | undefined;
9226
+ lineRichMenuId?: string | null | undefined;
8895
9227
  connectedUserName?: string | null | undefined;
8896
9228
  connectedUserId?: string | null | undefined;
8897
9229
  }>;
@@ -8909,24 +9241,28 @@ export declare const messengerContract: {
8909
9241
  accessToken: z.ZodOptional<z.ZodString>;
8910
9242
  channelSecret: z.ZodOptional<z.ZodString>;
8911
9243
  additionalCredentials: z.ZodOptional<z.ZodAny>;
9244
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8912
9245
  }, "strip", z.ZodTypeAny, {
8913
9246
  id: string;
8914
9247
  name: string;
8915
9248
  accessToken?: string | undefined;
8916
9249
  channelSecret?: string | undefined;
8917
9250
  additionalCredentials?: any;
9251
+ lineRichMenuId?: string | null | undefined;
8918
9252
  }, {
8919
9253
  id: string;
8920
9254
  name: string;
8921
9255
  accessToken?: string | undefined;
8922
9256
  channelSecret?: string | undefined;
8923
9257
  additionalCredentials?: any;
9258
+ lineRichMenuId?: string | null | undefined;
8924
9259
  }>;
8925
9260
  platformId: z.ZodString;
8926
9261
  brandName: z.ZodString;
8927
9262
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
8928
9263
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8929
9264
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9265
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8930
9266
  actor: z.ZodOptional<z.ZodObject<{
8931
9267
  id: z.ZodString;
8932
9268
  name: z.ZodString;
@@ -8956,12 +9292,14 @@ export declare const messengerContract: {
8956
9292
  accessToken?: string | undefined;
8957
9293
  channelSecret?: string | undefined;
8958
9294
  additionalCredentials?: any;
9295
+ lineRichMenuId?: string | null | undefined;
8959
9296
  };
8960
9297
  status: boolean;
8961
9298
  brandName: string;
8962
9299
  platformId: string;
8963
9300
  connectedUserName?: string | null | undefined;
8964
9301
  connectedUserId?: string | null | undefined;
9302
+ lineRichMenuId?: string | null | undefined;
8965
9303
  actor?: {
8966
9304
  id: string;
8967
9305
  address: string | null;
@@ -8979,12 +9317,14 @@ export declare const messengerContract: {
8979
9317
  accessToken?: string | undefined;
8980
9318
  channelSecret?: string | undefined;
8981
9319
  additionalCredentials?: any;
9320
+ lineRichMenuId?: string | null | undefined;
8982
9321
  };
8983
9322
  status: boolean;
8984
9323
  brandName: string;
8985
9324
  platformId: string;
8986
9325
  connectedUserName?: string | null | undefined;
8987
9326
  connectedUserId?: string | null | undefined;
9327
+ lineRichMenuId?: string | null | undefined;
8988
9328
  actor?: {
8989
9329
  id: string;
8990
9330
  address: string | null;
@@ -9004,12 +9344,14 @@ export declare const messengerContract: {
9004
9344
  accessToken?: string | undefined;
9005
9345
  channelSecret?: string | undefined;
9006
9346
  additionalCredentials?: any;
9347
+ lineRichMenuId?: string | null | undefined;
9007
9348
  };
9008
9349
  status: boolean;
9009
9350
  brandName: string;
9010
9351
  platformId: string;
9011
9352
  connectedUserName?: string | null | undefined;
9012
9353
  connectedUserId?: string | null | undefined;
9354
+ lineRichMenuId?: string | null | undefined;
9013
9355
  actor?: {
9014
9356
  id: string;
9015
9357
  address: string | null;
@@ -9030,12 +9372,14 @@ export declare const messengerContract: {
9030
9372
  accessToken?: string | undefined;
9031
9373
  channelSecret?: string | undefined;
9032
9374
  additionalCredentials?: any;
9375
+ lineRichMenuId?: string | null | undefined;
9033
9376
  };
9034
9377
  status: boolean;
9035
9378
  brandName: string;
9036
9379
  platformId: string;
9037
9380
  connectedUserName?: string | null | undefined;
9038
9381
  connectedUserId?: string | null | undefined;
9382
+ lineRichMenuId?: string | null | undefined;
9039
9383
  actor?: {
9040
9384
  id: string;
9041
9385
  address: string | null;
@@ -9195,5 +9539,38 @@ export declare const messengerContract: {
9195
9539
  };
9196
9540
  path: "/pages";
9197
9541
  };
9542
+ setBotPersistentMenu: {
9543
+ body: z.ZodObject<{
9544
+ psid: z.ZodString;
9545
+ pageAccessToken: z.ZodString;
9546
+ }, "strip", z.ZodTypeAny, {
9547
+ psid: string;
9548
+ pageAccessToken: string;
9549
+ }, {
9550
+ psid: string;
9551
+ pageAccessToken: string;
9552
+ }>;
9553
+ method: "POST";
9554
+ responses: {
9555
+ 200: z.ZodObject<{
9556
+ requestId: z.ZodString;
9557
+ }, "strip", z.ZodTypeAny, {
9558
+ requestId: string;
9559
+ }, {
9560
+ requestId: string;
9561
+ }>;
9562
+ 500: z.ZodObject<{
9563
+ message: z.ZodString;
9564
+ error: z.ZodAny;
9565
+ }, "strip", z.ZodTypeAny, {
9566
+ message: string;
9567
+ error?: any;
9568
+ }, {
9569
+ message: string;
9570
+ error?: any;
9571
+ }>;
9572
+ };
9573
+ path: "/set-bot-persistent-menu";
9574
+ };
9198
9575
  };
9199
9576
  //# sourceMappingURL=index.d.ts.map