@kl1/contracts 1.1.29-uat → 1.1.29

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/index.js +3368 -3236
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +3365 -3238
  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/contract.d.ts +24887 -72196
  28. package/dist/src/contract.d.ts.map +1 -1
  29. package/dist/src/cx-log/index.d.ts +99 -8
  30. package/dist/src/cx-log/index.d.ts.map +1 -1
  31. package/dist/src/cx-log/schema.d.ts +85 -12
  32. package/dist/src/cx-log/schema.d.ts.map +1 -1
  33. package/dist/src/index.d.ts +2 -0
  34. package/dist/src/index.d.ts.map +1 -1
  35. package/dist/src/instagram/index.d.ts +438 -65
  36. package/dist/src/instagram/index.d.ts.map +1 -1
  37. package/dist/src/instagram/validation.d.ts +7 -0
  38. package/dist/src/instagram/validation.d.ts.map +1 -1
  39. package/dist/src/line/index.d.ts +434 -70
  40. package/dist/src/line/index.d.ts.map +1 -1
  41. package/dist/src/line/validation.d.ts +31 -5
  42. package/dist/src/line/validation.d.ts.map +1 -1
  43. package/dist/src/mail/mail-contract.d.ts +33 -2243
  44. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  45. package/dist/src/mail/message-contract.d.ts +1 -2045
  46. package/dist/src/mail/message-contract.d.ts.map +1 -1
  47. package/dist/src/mail/room-contract.d.ts +32 -200
  48. package/dist/src/mail/room-contract.d.ts.map +1 -1
  49. package/dist/src/mail/schemas/message-validation.schema.d.ts +0 -3
  50. package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -1
  51. package/dist/src/mail/schemas/message.schema.d.ts +0 -6
  52. package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
  53. package/dist/src/mail/schemas/room-validation.schema.d.ts +12 -68
  54. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  55. package/dist/src/mail/schemas/room.schema.d.ts +8 -54
  56. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  57. package/dist/src/messenger/index.d.ts +443 -66
  58. package/dist/src/messenger/index.d.ts.map +1 -1
  59. package/dist/src/messenger/validation.d.ts +48 -0
  60. package/dist/src/messenger/validation.d.ts.map +1 -1
  61. package/dist/src/telephony-cdr/call-report.schema.d.ts +62 -62
  62. package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -1
  63. package/dist/src/telephony-cdr/index.d.ts +1 -622
  64. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  65. package/dist/src/viber/index.d.ts +498 -65
  66. package/dist/src/viber/index.d.ts.map +1 -1
  67. package/dist/src/webchat/index.d.ts +379 -68
  68. package/dist/src/webchat/index.d.ts.map +1 -1
  69. package/dist/src/workflow-rule/index.d.ts +7455 -0
  70. package/dist/src/workflow-rule/index.d.ts.map +1 -0
  71. package/dist/src/workflow-rule/schema.d.ts +27 -0
  72. package/dist/src/workflow-rule/schema.d.ts.map +1 -0
  73. package/dist/src/wrap-up-form/index.d.ts +475 -22
  74. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  75. package/dist/src/wrap-up-form/schema.d.ts +4 -4
  76. package/dist/src/wrap-up-form/validation.d.ts +6 -0
  77. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  78. package/package.json +1 -1
@@ -5,6 +5,7 @@ export type GetInstagramPagesQuery = z.infer<typeof GetInstagramPagesQuerySchema
5
5
  export declare const instagramContract: {
6
6
  sendMessage: {
7
7
  body: z.ZodObject<{
8
+ isBot: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
8
9
  room: z.ZodObject<{
9
10
  id: z.ZodString;
10
11
  lastMessage: z.ZodOptional<z.ZodString>;
@@ -138,24 +139,28 @@ export declare const instagramContract: {
138
139
  accessToken: z.ZodOptional<z.ZodString>;
139
140
  channelSecret: z.ZodOptional<z.ZodString>;
140
141
  additionalCredentials: z.ZodOptional<z.ZodAny>;
142
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
141
143
  }, "strip", z.ZodTypeAny, {
142
144
  id: string;
143
145
  name: string;
144
146
  accessToken?: string | undefined;
145
147
  channelSecret?: string | undefined;
146
148
  additionalCredentials?: any;
149
+ lineRichMenuId?: string | null | undefined;
147
150
  }, {
148
151
  id: string;
149
152
  name: string;
150
153
  accessToken?: string | undefined;
151
154
  channelSecret?: string | undefined;
152
155
  additionalCredentials?: any;
156
+ lineRichMenuId?: string | null | undefined;
153
157
  }>;
154
158
  platformId: z.ZodString;
155
159
  brandName: z.ZodString;
156
160
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
157
161
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
158
162
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
163
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
159
164
  actor: z.ZodOptional<z.ZodObject<{
160
165
  id: z.ZodString;
161
166
  name: z.ZodString;
@@ -185,12 +190,14 @@ export declare const instagramContract: {
185
190
  accessToken?: string | undefined;
186
191
  channelSecret?: string | undefined;
187
192
  additionalCredentials?: any;
193
+ lineRichMenuId?: string | null | undefined;
188
194
  };
189
195
  status: boolean;
190
196
  brandName: string;
191
197
  platformId: string;
192
198
  connectedUserName?: string | null | undefined;
193
199
  connectedUserId?: string | null | undefined;
200
+ lineRichMenuId?: string | null | undefined;
194
201
  actor?: {
195
202
  id: string;
196
203
  address: string | null;
@@ -208,12 +215,14 @@ export declare const instagramContract: {
208
215
  accessToken?: string | undefined;
209
216
  channelSecret?: string | undefined;
210
217
  additionalCredentials?: any;
218
+ lineRichMenuId?: string | null | undefined;
211
219
  };
212
220
  status: boolean;
213
221
  brandName: string;
214
222
  platformId: string;
215
223
  connectedUserName?: string | null | undefined;
216
224
  connectedUserId?: string | null | undefined;
225
+ lineRichMenuId?: string | null | undefined;
217
226
  actor?: {
218
227
  id: string;
219
228
  address: string | null;
@@ -235,12 +244,14 @@ export declare const instagramContract: {
235
244
  accessToken?: string | undefined;
236
245
  channelSecret?: string | undefined;
237
246
  additionalCredentials?: any;
247
+ lineRichMenuId?: string | null | undefined;
238
248
  };
239
249
  status: boolean;
240
250
  brandName: string;
241
251
  platformId: string;
242
252
  connectedUserName?: string | null | undefined;
243
253
  connectedUserId?: string | null | undefined;
254
+ lineRichMenuId?: string | null | undefined;
244
255
  actor?: {
245
256
  id: string;
246
257
  address: string | null;
@@ -301,12 +312,14 @@ export declare const instagramContract: {
301
312
  accessToken?: string | undefined;
302
313
  channelSecret?: string | undefined;
303
314
  additionalCredentials?: any;
315
+ lineRichMenuId?: string | null | undefined;
304
316
  };
305
317
  status: boolean;
306
318
  brandName: string;
307
319
  platformId: string;
308
320
  connectedUserName?: string | null | undefined;
309
321
  connectedUserId?: string | null | undefined;
322
+ lineRichMenuId?: string | null | undefined;
310
323
  actor?: {
311
324
  id: string;
312
325
  address: string | null;
@@ -359,7 +372,7 @@ export declare const instagramContract: {
359
372
  message: z.ZodObject<{
360
373
  message: z.ZodOptional<z.ZodString>;
361
374
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
362
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
375
+ 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"]>;
363
376
  readAt: z.ZodOptional<z.ZodDate>;
364
377
  metadata: z.ZodOptional<z.ZodAny>;
365
378
  platformId: z.ZodOptional<z.ZodString>;
@@ -375,18 +388,21 @@ export declare const instagramContract: {
375
388
  fileName: z.ZodString;
376
389
  fileSize: z.ZodNumber;
377
390
  fileKey: z.ZodString;
391
+ originalUrl: z.ZodOptional<z.ZodString>;
378
392
  }, "strip", z.ZodTypeAny, {
379
393
  fileName: string;
380
394
  fileKey: string;
381
395
  bucketName: string;
382
396
  fileSize: number;
397
+ originalUrl?: string | undefined;
383
398
  }, {
384
399
  fileName: string;
385
400
  fileKey: string;
386
401
  bucketName: string;
387
402
  fileSize: number;
403
+ originalUrl?: string | undefined;
388
404
  }>>;
389
- sender: z.ZodObject<{
405
+ sender: z.ZodOptional<z.ZodObject<{
390
406
  id: z.ZodString;
391
407
  name: z.ZodString;
392
408
  email: z.ZodString;
@@ -404,17 +420,10 @@ export declare const instagramContract: {
404
420
  name: string;
405
421
  email: string;
406
422
  phone: string | null;
407
- }>;
423
+ }>>;
408
424
  }, "strip", z.ZodTypeAny, {
409
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
425
+ 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";
410
426
  direction: "incoming" | "outgoing" | "system";
411
- sender: {
412
- id: string;
413
- address: string | null;
414
- name: string;
415
- email: string;
416
- phone: string | null;
417
- };
418
427
  message?: string | undefined;
419
428
  readAt?: Date | undefined;
420
429
  metadata?: any;
@@ -431,17 +440,18 @@ export declare const instagramContract: {
431
440
  fileKey: string;
432
441
  bucketName: string;
433
442
  fileSize: number;
443
+ originalUrl?: string | undefined;
434
444
  } | undefined;
435
- }, {
436
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
437
- direction: "incoming" | "outgoing" | "system";
438
- sender: {
445
+ sender?: {
439
446
  id: string;
440
447
  address: string | null;
441
448
  name: string;
442
449
  email: string;
443
450
  phone: string | null;
444
- };
451
+ } | undefined;
452
+ }, {
453
+ 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";
454
+ direction: "incoming" | "outgoing" | "system";
445
455
  message?: string | undefined;
446
456
  readAt?: Date | undefined;
447
457
  metadata?: any;
@@ -458,19 +468,20 @@ export declare const instagramContract: {
458
468
  fileKey: string;
459
469
  bucketName: string;
460
470
  fileSize: number;
471
+ originalUrl?: string | undefined;
461
472
  } | undefined;
462
- }>;
463
- }, "strip", z.ZodTypeAny, {
464
- message: {
465
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
466
- direction: "incoming" | "outgoing" | "system";
467
- sender: {
473
+ sender?: {
468
474
  id: string;
469
475
  address: string | null;
470
476
  name: string;
471
477
  email: string;
472
478
  phone: string | null;
473
- };
479
+ } | undefined;
480
+ }>;
481
+ }, "strip", z.ZodTypeAny, {
482
+ message: {
483
+ 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";
484
+ direction: "incoming" | "outgoing" | "system";
474
485
  message?: string | undefined;
475
486
  readAt?: Date | undefined;
476
487
  metadata?: any;
@@ -487,6 +498,14 @@ export declare const instagramContract: {
487
498
  fileKey: string;
488
499
  bucketName: string;
489
500
  fileSize: number;
501
+ originalUrl?: string | undefined;
502
+ } | undefined;
503
+ sender?: {
504
+ id: string;
505
+ address: string | null;
506
+ name: string;
507
+ email: string;
508
+ phone: string | null;
490
509
  } | undefined;
491
510
  };
492
511
  room: {
@@ -501,12 +520,14 @@ export declare const instagramContract: {
501
520
  accessToken?: string | undefined;
502
521
  channelSecret?: string | undefined;
503
522
  additionalCredentials?: any;
523
+ lineRichMenuId?: string | null | undefined;
504
524
  };
505
525
  status: boolean;
506
526
  brandName: string;
507
527
  platformId: string;
508
528
  connectedUserName?: string | null | undefined;
509
529
  connectedUserId?: string | null | undefined;
530
+ lineRichMenuId?: string | null | undefined;
510
531
  actor?: {
511
532
  id: string;
512
533
  address: string | null;
@@ -556,17 +577,11 @@ export declare const instagramContract: {
556
577
  metadata?: any;
557
578
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
558
579
  };
580
+ isBot: boolean | null;
559
581
  }, {
560
582
  message: {
561
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
583
+ 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";
562
584
  direction: "incoming" | "outgoing" | "system";
563
- sender: {
564
- id: string;
565
- address: string | null;
566
- name: string;
567
- email: string;
568
- phone: string | null;
569
- };
570
585
  message?: string | undefined;
571
586
  readAt?: Date | undefined;
572
587
  metadata?: any;
@@ -583,6 +598,14 @@ export declare const instagramContract: {
583
598
  fileKey: string;
584
599
  bucketName: string;
585
600
  fileSize: number;
601
+ originalUrl?: string | undefined;
602
+ } | undefined;
603
+ sender?: {
604
+ id: string;
605
+ address: string | null;
606
+ name: string;
607
+ email: string;
608
+ phone: string | null;
586
609
  } | undefined;
587
610
  };
588
611
  room: {
@@ -597,12 +620,14 @@ export declare const instagramContract: {
597
620
  accessToken?: string | undefined;
598
621
  channelSecret?: string | undefined;
599
622
  additionalCredentials?: any;
623
+ lineRichMenuId?: string | null | undefined;
600
624
  };
601
625
  status: boolean;
602
626
  brandName: string;
603
627
  platformId: string;
604
628
  connectedUserName?: string | null | undefined;
605
629
  connectedUserId?: string | null | undefined;
630
+ lineRichMenuId?: string | null | undefined;
606
631
  actor?: {
607
632
  id: string;
608
633
  address: string | null;
@@ -652,6 +677,7 @@ export declare const instagramContract: {
652
677
  metadata?: any;
653
678
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
654
679
  };
680
+ isBot?: boolean | null | undefined;
655
681
  }>;
656
682
  method: "POST";
657
683
  responses: {
@@ -664,7 +690,7 @@ export declare const instagramContract: {
664
690
  deletedAt: z.ZodNullable<z.ZodDate>;
665
691
  message: z.ZodString;
666
692
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
667
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
693
+ 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"]>;
668
694
  readAt: z.ZodDate;
669
695
  metadata: z.ZodAny;
670
696
  platformId: z.ZodString;
@@ -689,6 +715,7 @@ export declare const instagramContract: {
689
715
  firstResponseAt: z.ZodDate;
690
716
  firstResponseTime: z.ZodNumber;
691
717
  isLatest: z.ZodBoolean;
718
+ isBotRoom: z.ZodBoolean;
692
719
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
693
720
  platformContact: z.ZodObject<{
694
721
  id: z.ZodString;
@@ -2045,18 +2072,21 @@ export declare const instagramContract: {
2045
2072
  accessToken: z.ZodOptional<z.ZodString>;
2046
2073
  channelSecret: z.ZodOptional<z.ZodString>;
2047
2074
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2075
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2048
2076
  }, "strip", z.ZodTypeAny, {
2049
2077
  id: string;
2050
2078
  name: string;
2051
2079
  accessToken?: string | undefined;
2052
2080
  channelSecret?: string | undefined;
2053
2081
  additionalCredentials?: any;
2082
+ lineRichMenuId?: string | null | undefined;
2054
2083
  }, {
2055
2084
  id: string;
2056
2085
  name: string;
2057
2086
  accessToken?: string | undefined;
2058
2087
  channelSecret?: string | undefined;
2059
2088
  additionalCredentials?: any;
2089
+ lineRichMenuId?: string | null | undefined;
2060
2090
  }>;
2061
2091
  brandName: z.ZodString;
2062
2092
  platformId: z.ZodString;
@@ -2064,6 +2094,25 @@ export declare const instagramContract: {
2064
2094
  isReloginRequired: z.ZodBoolean;
2065
2095
  connectedUserName: z.ZodString;
2066
2096
  connectedUserId: z.ZodString;
2097
+ botpressBot: z.ZodNullable<z.ZodObject<{
2098
+ id: z.ZodString;
2099
+ name: z.ZodString;
2100
+ botId: z.ZodString;
2101
+ integrationId: z.ZodString;
2102
+ accessToken: z.ZodString;
2103
+ }, "strip", z.ZodTypeAny, {
2104
+ id: string;
2105
+ name: string;
2106
+ accessToken: string;
2107
+ botId: string;
2108
+ integrationId: string;
2109
+ }, {
2110
+ id: string;
2111
+ name: string;
2112
+ accessToken: string;
2113
+ botId: string;
2114
+ integrationId: string;
2115
+ }>>;
2067
2116
  actor: z.ZodObject<{
2068
2117
  id: z.ZodString;
2069
2118
  createdAt: z.ZodDate;
@@ -2278,6 +2327,7 @@ export declare const instagramContract: {
2278
2327
  accessToken?: string | undefined;
2279
2328
  channelSecret?: string | undefined;
2280
2329
  additionalCredentials?: any;
2330
+ lineRichMenuId?: string | null | undefined;
2281
2331
  };
2282
2332
  status: boolean;
2283
2333
  createdAt: Date;
@@ -2332,6 +2382,13 @@ export declare const instagramContract: {
2332
2382
  isReloginRequired: boolean;
2333
2383
  connectedUserName: string;
2334
2384
  connectedUserId: string;
2385
+ botpressBot: {
2386
+ id: string;
2387
+ name: string;
2388
+ accessToken: string;
2389
+ botId: string;
2390
+ integrationId: string;
2391
+ } | null;
2335
2392
  }, {
2336
2393
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
2337
2394
  id: string;
@@ -2342,6 +2399,7 @@ export declare const instagramContract: {
2342
2399
  accessToken?: string | undefined;
2343
2400
  channelSecret?: string | undefined;
2344
2401
  additionalCredentials?: any;
2402
+ lineRichMenuId?: string | null | undefined;
2345
2403
  };
2346
2404
  status: boolean;
2347
2405
  createdAt: Date;
@@ -2396,6 +2454,13 @@ export declare const instagramContract: {
2396
2454
  isReloginRequired: boolean;
2397
2455
  connectedUserName: string;
2398
2456
  connectedUserId: string;
2457
+ botpressBot: {
2458
+ id: string;
2459
+ name: string;
2460
+ accessToken: string;
2461
+ botId: string;
2462
+ integrationId: string;
2463
+ } | null;
2399
2464
  }>;
2400
2465
  cxlog: z.ZodObject<{
2401
2466
  id: z.ZodString;
@@ -2542,7 +2607,7 @@ export declare const instagramContract: {
2542
2607
  }>, "many">;
2543
2608
  callFrom: z.ZodNullable<z.ZodString>;
2544
2609
  callTo: z.ZodNullable<z.ZodString>;
2545
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2610
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2546
2611
  id: z.ZodString;
2547
2612
  createdAt: z.ZodDate;
2548
2613
  updatedAt: z.ZodDate;
@@ -2575,7 +2640,7 @@ export declare const instagramContract: {
2575
2640
  booleanValue: boolean | null;
2576
2641
  numberValue: number | null;
2577
2642
  dateValue: Date | null;
2578
- }>, "many">>;
2643
+ }>, "many">>>;
2579
2644
  }, "strip", z.ZodTypeAny, {
2580
2645
  type: string;
2581
2646
  id: string;
@@ -2626,7 +2691,7 @@ export declare const instagramContract: {
2626
2691
  booleanValue: boolean | null;
2627
2692
  numberValue: number | null;
2628
2693
  dateValue: Date | null;
2629
- }[] | undefined;
2694
+ }[] | null | undefined;
2630
2695
  }, {
2631
2696
  type: string;
2632
2697
  id: string;
@@ -2677,7 +2742,7 @@ export declare const instagramContract: {
2677
2742
  booleanValue: boolean | null;
2678
2743
  numberValue: number | null;
2679
2744
  dateValue: Date | null;
2680
- }[] | undefined;
2745
+ }[] | null | undefined;
2681
2746
  }>>;
2682
2747
  }, "strip", z.ZodTypeAny, {
2683
2748
  id: string;
@@ -2745,7 +2810,7 @@ export declare const instagramContract: {
2745
2810
  booleanValue: boolean | null;
2746
2811
  numberValue: number | null;
2747
2812
  dateValue: Date | null;
2748
- }[] | undefined;
2813
+ }[] | null | undefined;
2749
2814
  } | null;
2750
2815
  }, {
2751
2816
  id: string;
@@ -2813,9 +2878,34 @@ export declare const instagramContract: {
2813
2878
  booleanValue: boolean | null;
2814
2879
  numberValue: number | null;
2815
2880
  dateValue: Date | null;
2816
- }[] | undefined;
2881
+ }[] | null | undefined;
2817
2882
  } | null;
2818
2883
  }>;
2884
+ workflowRule: z.ZodObject<{
2885
+ id: z.ZodString;
2886
+ createdAt: z.ZodDate;
2887
+ updatedAt: z.ZodDate;
2888
+ deletedAt: z.ZodNullable<z.ZodDate>;
2889
+ name: z.ZodString;
2890
+ isActive: z.ZodBoolean;
2891
+ type: z.ZodString;
2892
+ }, "strip", z.ZodTypeAny, {
2893
+ type: string;
2894
+ id: string;
2895
+ name: string;
2896
+ createdAt: Date;
2897
+ updatedAt: Date;
2898
+ deletedAt: Date | null;
2899
+ isActive: boolean;
2900
+ }, {
2901
+ type: string;
2902
+ id: string;
2903
+ name: string;
2904
+ createdAt: Date;
2905
+ updatedAt: Date;
2906
+ deletedAt: Date | null;
2907
+ isActive: boolean;
2908
+ }>;
2819
2909
  }, "strip", z.ZodTypeAny, {
2820
2910
  id: string;
2821
2911
  channel: {
@@ -2828,6 +2918,7 @@ export declare const instagramContract: {
2828
2918
  accessToken?: string | undefined;
2829
2919
  channelSecret?: string | undefined;
2830
2920
  additionalCredentials?: any;
2921
+ lineRichMenuId?: string | null | undefined;
2831
2922
  };
2832
2923
  status: boolean;
2833
2924
  createdAt: Date;
@@ -2882,6 +2973,13 @@ export declare const instagramContract: {
2882
2973
  isReloginRequired: boolean;
2883
2974
  connectedUserName: string;
2884
2975
  connectedUserId: string;
2976
+ botpressBot: {
2977
+ id: string;
2978
+ name: string;
2979
+ accessToken: string;
2980
+ botId: string;
2981
+ integrationId: string;
2982
+ } | null;
2885
2983
  };
2886
2984
  direction: "incoming" | "outgoing" | "system";
2887
2985
  status: number;
@@ -3096,6 +3194,7 @@ export declare const instagramContract: {
3096
3194
  };
3097
3195
  closedAt: Date;
3098
3196
  lastMessageAt: Date | null;
3197
+ isBotRoom: boolean;
3099
3198
  cxlog: {
3100
3199
  id: string;
3101
3200
  channel: string | null;
@@ -3162,9 +3261,18 @@ export declare const instagramContract: {
3162
3261
  booleanValue: boolean | null;
3163
3262
  numberValue: number | null;
3164
3263
  dateValue: Date | null;
3165
- }[] | undefined;
3264
+ }[] | null | undefined;
3166
3265
  } | null;
3167
3266
  };
3267
+ workflowRule: {
3268
+ type: string;
3269
+ id: string;
3270
+ name: string;
3271
+ createdAt: Date;
3272
+ updatedAt: Date;
3273
+ deletedAt: Date | null;
3274
+ isActive: boolean;
3275
+ };
3168
3276
  }, {
3169
3277
  id: string;
3170
3278
  channel: {
@@ -3177,6 +3285,7 @@ export declare const instagramContract: {
3177
3285
  accessToken?: string | undefined;
3178
3286
  channelSecret?: string | undefined;
3179
3287
  additionalCredentials?: any;
3288
+ lineRichMenuId?: string | null | undefined;
3180
3289
  };
3181
3290
  status: boolean;
3182
3291
  createdAt: Date;
@@ -3231,6 +3340,13 @@ export declare const instagramContract: {
3231
3340
  isReloginRequired: boolean;
3232
3341
  connectedUserName: string;
3233
3342
  connectedUserId: string;
3343
+ botpressBot: {
3344
+ id: string;
3345
+ name: string;
3346
+ accessToken: string;
3347
+ botId: string;
3348
+ integrationId: string;
3349
+ } | null;
3234
3350
  };
3235
3351
  direction: "incoming" | "outgoing" | "system";
3236
3352
  status: number;
@@ -3445,6 +3561,7 @@ export declare const instagramContract: {
3445
3561
  };
3446
3562
  closedAt: Date;
3447
3563
  lastMessageAt: Date | null;
3564
+ isBotRoom: boolean;
3448
3565
  cxlog: {
3449
3566
  id: string;
3450
3567
  channel: string | null;
@@ -3511,9 +3628,18 @@ export declare const instagramContract: {
3511
3628
  booleanValue: boolean | null;
3512
3629
  numberValue: number | null;
3513
3630
  dateValue: Date | null;
3514
- }[] | undefined;
3631
+ }[] | null | undefined;
3515
3632
  } | null;
3516
3633
  };
3634
+ workflowRule: {
3635
+ type: string;
3636
+ id: string;
3637
+ name: string;
3638
+ createdAt: Date;
3639
+ updatedAt: Date;
3640
+ deletedAt: Date | null;
3641
+ isActive: boolean;
3642
+ };
3517
3643
  }>;
3518
3644
  upload: z.ZodObject<{
3519
3645
  id: z.ZodString;
@@ -3556,7 +3682,7 @@ export declare const instagramContract: {
3556
3682
  deletedAt: z.ZodNullable<z.ZodDate>;
3557
3683
  message: z.ZodString;
3558
3684
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
3559
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
3685
+ 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"]>;
3560
3686
  readAt: z.ZodDate;
3561
3687
  metadata: z.ZodAny;
3562
3688
  platformId: z.ZodString;
@@ -4214,7 +4340,7 @@ export declare const instagramContract: {
4214
4340
  };
4215
4341
  }>;
4216
4342
  }, "strip", z.ZodTypeAny, {
4217
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
4343
+ 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";
4218
4344
  message: string;
4219
4345
  id: string;
4220
4346
  url: string;
@@ -4266,7 +4392,6 @@ export declare const instagramContract: {
4266
4392
  telephonySignature: string | null;
4267
4393
  };
4268
4394
  };
4269
- platformId: string;
4270
4395
  upload: {
4271
4396
  id: string;
4272
4397
  createdAt: Date;
@@ -4323,6 +4448,7 @@ export declare const instagramContract: {
4323
4448
  telephonySignature: string | null;
4324
4449
  };
4325
4450
  };
4451
+ platformId: string;
4326
4452
  readAt: Date;
4327
4453
  platformMessageId: string;
4328
4454
  replyPlatformMessageId: string;
@@ -4376,7 +4502,7 @@ export declare const instagramContract: {
4376
4502
  metadata?: any;
4377
4503
  template?: any;
4378
4504
  }, {
4379
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
4505
+ 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";
4380
4506
  message: string;
4381
4507
  id: string;
4382
4508
  url: string;
@@ -4428,7 +4554,6 @@ export declare const instagramContract: {
4428
4554
  telephonySignature: string | null;
4429
4555
  };
4430
4556
  };
4431
- platformId: string;
4432
4557
  upload: {
4433
4558
  id: string;
4434
4559
  createdAt: Date;
@@ -4485,6 +4610,7 @@ export declare const instagramContract: {
4485
4610
  telephonySignature: string | null;
4486
4611
  };
4487
4612
  };
4613
+ platformId: string;
4488
4614
  readAt: Date;
4489
4615
  platformMessageId: string;
4490
4616
  replyPlatformMessageId: string;
@@ -5150,8 +5276,33 @@ export declare const instagramContract: {
5150
5276
  telephonySignature: string | null;
5151
5277
  };
5152
5278
  }>;
5279
+ workflowRule: z.ZodObject<{
5280
+ id: z.ZodString;
5281
+ createdAt: z.ZodDate;
5282
+ updatedAt: z.ZodDate;
5283
+ deletedAt: z.ZodNullable<z.ZodDate>;
5284
+ name: z.ZodString;
5285
+ isActive: z.ZodBoolean;
5286
+ type: z.ZodString;
5287
+ }, "strip", z.ZodTypeAny, {
5288
+ type: string;
5289
+ id: string;
5290
+ name: string;
5291
+ createdAt: Date;
5292
+ updatedAt: Date;
5293
+ deletedAt: Date | null;
5294
+ isActive: boolean;
5295
+ }, {
5296
+ type: string;
5297
+ id: string;
5298
+ name: string;
5299
+ createdAt: Date;
5300
+ updatedAt: Date;
5301
+ deletedAt: Date | null;
5302
+ isActive: boolean;
5303
+ }>;
5153
5304
  }, "strip", z.ZodTypeAny, {
5154
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
5305
+ 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";
5155
5306
  message: string;
5156
5307
  id: string;
5157
5308
  url: string;
@@ -5203,7 +5354,6 @@ export declare const instagramContract: {
5203
5354
  telephonySignature: string | null;
5204
5355
  };
5205
5356
  };
5206
- platformId: string;
5207
5357
  upload: {
5208
5358
  id: string;
5209
5359
  createdAt: Date;
@@ -5260,6 +5410,7 @@ export declare const instagramContract: {
5260
5410
  telephonySignature: string | null;
5261
5411
  };
5262
5412
  };
5413
+ platformId: string;
5263
5414
  room: {
5264
5415
  id: string;
5265
5416
  channel: {
@@ -5272,6 +5423,7 @@ export declare const instagramContract: {
5272
5423
  accessToken?: string | undefined;
5273
5424
  channelSecret?: string | undefined;
5274
5425
  additionalCredentials?: any;
5426
+ lineRichMenuId?: string | null | undefined;
5275
5427
  };
5276
5428
  status: boolean;
5277
5429
  createdAt: Date;
@@ -5326,6 +5478,13 @@ export declare const instagramContract: {
5326
5478
  isReloginRequired: boolean;
5327
5479
  connectedUserName: string;
5328
5480
  connectedUserId: string;
5481
+ botpressBot: {
5482
+ id: string;
5483
+ name: string;
5484
+ accessToken: string;
5485
+ botId: string;
5486
+ integrationId: string;
5487
+ } | null;
5329
5488
  };
5330
5489
  direction: "incoming" | "outgoing" | "system";
5331
5490
  status: number;
@@ -5540,6 +5699,7 @@ export declare const instagramContract: {
5540
5699
  };
5541
5700
  closedAt: Date;
5542
5701
  lastMessageAt: Date | null;
5702
+ isBotRoom: boolean;
5543
5703
  cxlog: {
5544
5704
  id: string;
5545
5705
  channel: string | null;
@@ -5606,9 +5766,27 @@ export declare const instagramContract: {
5606
5766
  booleanValue: boolean | null;
5607
5767
  numberValue: number | null;
5608
5768
  dateValue: Date | null;
5609
- }[] | undefined;
5769
+ }[] | null | undefined;
5610
5770
  } | null;
5611
5771
  };
5772
+ workflowRule: {
5773
+ type: string;
5774
+ id: string;
5775
+ name: string;
5776
+ createdAt: Date;
5777
+ updatedAt: Date;
5778
+ deletedAt: Date | null;
5779
+ isActive: boolean;
5780
+ };
5781
+ };
5782
+ workflowRule: {
5783
+ type: string;
5784
+ id: string;
5785
+ name: string;
5786
+ createdAt: Date;
5787
+ updatedAt: Date;
5788
+ deletedAt: Date | null;
5789
+ isActive: boolean;
5612
5790
  };
5613
5791
  readAt: Date;
5614
5792
  platformMessageId: string;
@@ -5617,7 +5795,7 @@ export declare const instagramContract: {
5617
5795
  previewUrl: string;
5618
5796
  imageSetId: string;
5619
5797
  repliedMessage: {
5620
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
5798
+ 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";
5621
5799
  message: string;
5622
5800
  id: string;
5623
5801
  url: string;
@@ -5669,7 +5847,6 @@ export declare const instagramContract: {
5669
5847
  telephonySignature: string | null;
5670
5848
  };
5671
5849
  };
5672
- platformId: string;
5673
5850
  upload: {
5674
5851
  id: string;
5675
5852
  createdAt: Date;
@@ -5726,6 +5903,7 @@ export declare const instagramContract: {
5726
5903
  telephonySignature: string | null;
5727
5904
  };
5728
5905
  };
5906
+ platformId: string;
5729
5907
  readAt: Date;
5730
5908
  platformMessageId: string;
5731
5909
  replyPlatformMessageId: string;
@@ -5826,7 +6004,7 @@ export declare const instagramContract: {
5826
6004
  metadata?: any;
5827
6005
  template?: any;
5828
6006
  }, {
5829
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6007
+ 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";
5830
6008
  message: string;
5831
6009
  id: string;
5832
6010
  url: string;
@@ -5878,7 +6056,6 @@ export declare const instagramContract: {
5878
6056
  telephonySignature: string | null;
5879
6057
  };
5880
6058
  };
5881
- platformId: string;
5882
6059
  upload: {
5883
6060
  id: string;
5884
6061
  createdAt: Date;
@@ -5935,6 +6112,7 @@ export declare const instagramContract: {
5935
6112
  telephonySignature: string | null;
5936
6113
  };
5937
6114
  };
6115
+ platformId: string;
5938
6116
  room: {
5939
6117
  id: string;
5940
6118
  channel: {
@@ -5947,6 +6125,7 @@ export declare const instagramContract: {
5947
6125
  accessToken?: string | undefined;
5948
6126
  channelSecret?: string | undefined;
5949
6127
  additionalCredentials?: any;
6128
+ lineRichMenuId?: string | null | undefined;
5950
6129
  };
5951
6130
  status: boolean;
5952
6131
  createdAt: Date;
@@ -6001,6 +6180,13 @@ export declare const instagramContract: {
6001
6180
  isReloginRequired: boolean;
6002
6181
  connectedUserName: string;
6003
6182
  connectedUserId: string;
6183
+ botpressBot: {
6184
+ id: string;
6185
+ name: string;
6186
+ accessToken: string;
6187
+ botId: string;
6188
+ integrationId: string;
6189
+ } | null;
6004
6190
  };
6005
6191
  direction: "incoming" | "outgoing" | "system";
6006
6192
  status: number;
@@ -6215,6 +6401,7 @@ export declare const instagramContract: {
6215
6401
  };
6216
6402
  closedAt: Date;
6217
6403
  lastMessageAt: Date | null;
6404
+ isBotRoom: boolean;
6218
6405
  cxlog: {
6219
6406
  id: string;
6220
6407
  channel: string | null;
@@ -6281,9 +6468,27 @@ export declare const instagramContract: {
6281
6468
  booleanValue: boolean | null;
6282
6469
  numberValue: number | null;
6283
6470
  dateValue: Date | null;
6284
- }[] | undefined;
6471
+ }[] | null | undefined;
6285
6472
  } | null;
6286
6473
  };
6474
+ workflowRule: {
6475
+ type: string;
6476
+ id: string;
6477
+ name: string;
6478
+ createdAt: Date;
6479
+ updatedAt: Date;
6480
+ deletedAt: Date | null;
6481
+ isActive: boolean;
6482
+ };
6483
+ };
6484
+ workflowRule: {
6485
+ type: string;
6486
+ id: string;
6487
+ name: string;
6488
+ createdAt: Date;
6489
+ updatedAt: Date;
6490
+ deletedAt: Date | null;
6491
+ isActive: boolean;
6287
6492
  };
6288
6493
  readAt: Date;
6289
6494
  platformMessageId: string;
@@ -6292,7 +6497,7 @@ export declare const instagramContract: {
6292
6497
  previewUrl: string;
6293
6498
  imageSetId: string;
6294
6499
  repliedMessage: {
6295
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6500
+ 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";
6296
6501
  message: string;
6297
6502
  id: string;
6298
6503
  url: string;
@@ -6344,7 +6549,6 @@ export declare const instagramContract: {
6344
6549
  telephonySignature: string | null;
6345
6550
  };
6346
6551
  };
6347
- platformId: string;
6348
6552
  upload: {
6349
6553
  id: string;
6350
6554
  createdAt: Date;
@@ -6401,6 +6605,7 @@ export declare const instagramContract: {
6401
6605
  telephonySignature: string | null;
6402
6606
  };
6403
6607
  };
6608
+ platformId: string;
6404
6609
  readAt: Date;
6405
6610
  platformMessageId: string;
6406
6611
  replyPlatformMessageId: string;
@@ -6503,7 +6708,7 @@ export declare const instagramContract: {
6503
6708
  }>;
6504
6709
  }, "strip", z.ZodTypeAny, {
6505
6710
  data: {
6506
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6711
+ 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";
6507
6712
  message: string;
6508
6713
  id: string;
6509
6714
  url: string;
@@ -6555,7 +6760,6 @@ export declare const instagramContract: {
6555
6760
  telephonySignature: string | null;
6556
6761
  };
6557
6762
  };
6558
- platformId: string;
6559
6763
  upload: {
6560
6764
  id: string;
6561
6765
  createdAt: Date;
@@ -6612,6 +6816,7 @@ export declare const instagramContract: {
6612
6816
  telephonySignature: string | null;
6613
6817
  };
6614
6818
  };
6819
+ platformId: string;
6615
6820
  room: {
6616
6821
  id: string;
6617
6822
  channel: {
@@ -6624,6 +6829,7 @@ export declare const instagramContract: {
6624
6829
  accessToken?: string | undefined;
6625
6830
  channelSecret?: string | undefined;
6626
6831
  additionalCredentials?: any;
6832
+ lineRichMenuId?: string | null | undefined;
6627
6833
  };
6628
6834
  status: boolean;
6629
6835
  createdAt: Date;
@@ -6678,6 +6884,13 @@ export declare const instagramContract: {
6678
6884
  isReloginRequired: boolean;
6679
6885
  connectedUserName: string;
6680
6886
  connectedUserId: string;
6887
+ botpressBot: {
6888
+ id: string;
6889
+ name: string;
6890
+ accessToken: string;
6891
+ botId: string;
6892
+ integrationId: string;
6893
+ } | null;
6681
6894
  };
6682
6895
  direction: "incoming" | "outgoing" | "system";
6683
6896
  status: number;
@@ -6892,6 +7105,7 @@ export declare const instagramContract: {
6892
7105
  };
6893
7106
  closedAt: Date;
6894
7107
  lastMessageAt: Date | null;
7108
+ isBotRoom: boolean;
6895
7109
  cxlog: {
6896
7110
  id: string;
6897
7111
  channel: string | null;
@@ -6958,9 +7172,27 @@ export declare const instagramContract: {
6958
7172
  booleanValue: boolean | null;
6959
7173
  numberValue: number | null;
6960
7174
  dateValue: Date | null;
6961
- }[] | undefined;
7175
+ }[] | null | undefined;
6962
7176
  } | null;
6963
7177
  };
7178
+ workflowRule: {
7179
+ type: string;
7180
+ id: string;
7181
+ name: string;
7182
+ createdAt: Date;
7183
+ updatedAt: Date;
7184
+ deletedAt: Date | null;
7185
+ isActive: boolean;
7186
+ };
7187
+ };
7188
+ workflowRule: {
7189
+ type: string;
7190
+ id: string;
7191
+ name: string;
7192
+ createdAt: Date;
7193
+ updatedAt: Date;
7194
+ deletedAt: Date | null;
7195
+ isActive: boolean;
6964
7196
  };
6965
7197
  readAt: Date;
6966
7198
  platformMessageId: string;
@@ -6969,7 +7201,7 @@ export declare const instagramContract: {
6969
7201
  previewUrl: string;
6970
7202
  imageSetId: string;
6971
7203
  repliedMessage: {
6972
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7204
+ 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";
6973
7205
  message: string;
6974
7206
  id: string;
6975
7207
  url: string;
@@ -7021,7 +7253,6 @@ export declare const instagramContract: {
7021
7253
  telephonySignature: string | null;
7022
7254
  };
7023
7255
  };
7024
- platformId: string;
7025
7256
  upload: {
7026
7257
  id: string;
7027
7258
  createdAt: Date;
@@ -7078,6 +7309,7 @@ export declare const instagramContract: {
7078
7309
  telephonySignature: string | null;
7079
7310
  };
7080
7311
  };
7312
+ platformId: string;
7081
7313
  readAt: Date;
7082
7314
  platformMessageId: string;
7083
7315
  replyPlatformMessageId: string;
@@ -7181,7 +7413,7 @@ export declare const instagramContract: {
7181
7413
  requestId: string;
7182
7414
  }, {
7183
7415
  data: {
7184
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7416
+ 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";
7185
7417
  message: string;
7186
7418
  id: string;
7187
7419
  url: string;
@@ -7233,7 +7465,6 @@ export declare const instagramContract: {
7233
7465
  telephonySignature: string | null;
7234
7466
  };
7235
7467
  };
7236
- platformId: string;
7237
7468
  upload: {
7238
7469
  id: string;
7239
7470
  createdAt: Date;
@@ -7290,6 +7521,7 @@ export declare const instagramContract: {
7290
7521
  telephonySignature: string | null;
7291
7522
  };
7292
7523
  };
7524
+ platformId: string;
7293
7525
  room: {
7294
7526
  id: string;
7295
7527
  channel: {
@@ -7302,6 +7534,7 @@ export declare const instagramContract: {
7302
7534
  accessToken?: string | undefined;
7303
7535
  channelSecret?: string | undefined;
7304
7536
  additionalCredentials?: any;
7537
+ lineRichMenuId?: string | null | undefined;
7305
7538
  };
7306
7539
  status: boolean;
7307
7540
  createdAt: Date;
@@ -7356,6 +7589,13 @@ export declare const instagramContract: {
7356
7589
  isReloginRequired: boolean;
7357
7590
  connectedUserName: string;
7358
7591
  connectedUserId: string;
7592
+ botpressBot: {
7593
+ id: string;
7594
+ name: string;
7595
+ accessToken: string;
7596
+ botId: string;
7597
+ integrationId: string;
7598
+ } | null;
7359
7599
  };
7360
7600
  direction: "incoming" | "outgoing" | "system";
7361
7601
  status: number;
@@ -7570,6 +7810,7 @@ export declare const instagramContract: {
7570
7810
  };
7571
7811
  closedAt: Date;
7572
7812
  lastMessageAt: Date | null;
7813
+ isBotRoom: boolean;
7573
7814
  cxlog: {
7574
7815
  id: string;
7575
7816
  channel: string | null;
@@ -7636,9 +7877,27 @@ export declare const instagramContract: {
7636
7877
  booleanValue: boolean | null;
7637
7878
  numberValue: number | null;
7638
7879
  dateValue: Date | null;
7639
- }[] | undefined;
7880
+ }[] | null | undefined;
7640
7881
  } | null;
7641
7882
  };
7883
+ workflowRule: {
7884
+ type: string;
7885
+ id: string;
7886
+ name: string;
7887
+ createdAt: Date;
7888
+ updatedAt: Date;
7889
+ deletedAt: Date | null;
7890
+ isActive: boolean;
7891
+ };
7892
+ };
7893
+ workflowRule: {
7894
+ type: string;
7895
+ id: string;
7896
+ name: string;
7897
+ createdAt: Date;
7898
+ updatedAt: Date;
7899
+ deletedAt: Date | null;
7900
+ isActive: boolean;
7642
7901
  };
7643
7902
  readAt: Date;
7644
7903
  platformMessageId: string;
@@ -7647,7 +7906,7 @@ export declare const instagramContract: {
7647
7906
  previewUrl: string;
7648
7907
  imageSetId: string;
7649
7908
  repliedMessage: {
7650
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7909
+ 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";
7651
7910
  message: string;
7652
7911
  id: string;
7653
7912
  url: string;
@@ -7699,7 +7958,6 @@ export declare const instagramContract: {
7699
7958
  telephonySignature: string | null;
7700
7959
  };
7701
7960
  };
7702
- platformId: string;
7703
7961
  upload: {
7704
7962
  id: string;
7705
7963
  createdAt: Date;
@@ -7756,6 +8014,7 @@ export declare const instagramContract: {
7756
8014
  telephonySignature: string | null;
7757
8015
  };
7758
8016
  };
8017
+ platformId: string;
7759
8018
  readAt: Date;
7760
8019
  platformMessageId: string;
7761
8020
  replyPlatformMessageId: string;
@@ -7882,24 +8141,28 @@ export declare const instagramContract: {
7882
8141
  accessToken: z.ZodOptional<z.ZodString>;
7883
8142
  channelSecret: z.ZodOptional<z.ZodString>;
7884
8143
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8144
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7885
8145
  }, "strip", z.ZodTypeAny, {
7886
8146
  id: string;
7887
8147
  name: string;
7888
8148
  accessToken?: string | undefined;
7889
8149
  channelSecret?: string | undefined;
7890
8150
  additionalCredentials?: any;
8151
+ lineRichMenuId?: string | null | undefined;
7891
8152
  }, {
7892
8153
  id: string;
7893
8154
  name: string;
7894
8155
  accessToken?: string | undefined;
7895
8156
  channelSecret?: string | undefined;
7896
8157
  additionalCredentials?: any;
8158
+ lineRichMenuId?: string | null | undefined;
7897
8159
  }>>;
7898
8160
  platformId: z.ZodOptional<z.ZodString>;
7899
8161
  brandName: z.ZodOptional<z.ZodString>;
7900
8162
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
7901
8163
  connectedUserName: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
7902
8164
  connectedUserId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
8165
+ lineRichMenuId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
7903
8166
  actor: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7904
8167
  id: z.ZodString;
7905
8168
  name: z.ZodString;
@@ -7929,12 +8192,14 @@ export declare const instagramContract: {
7929
8192
  accessToken?: string | undefined;
7930
8193
  channelSecret?: string | undefined;
7931
8194
  additionalCredentials?: any;
8195
+ lineRichMenuId?: string | null | undefined;
7932
8196
  } | undefined;
7933
8197
  platformId?: string | undefined;
7934
8198
  brandName?: string | undefined;
7935
8199
  status?: boolean | undefined;
7936
8200
  connectedUserName?: string | null | undefined;
7937
8201
  connectedUserId?: string | null | undefined;
8202
+ lineRichMenuId?: string | null | undefined;
7938
8203
  actor?: {
7939
8204
  id: string;
7940
8205
  address: string | null;
@@ -7952,12 +8217,14 @@ export declare const instagramContract: {
7952
8217
  accessToken?: string | undefined;
7953
8218
  channelSecret?: string | undefined;
7954
8219
  additionalCredentials?: any;
8220
+ lineRichMenuId?: string | null | undefined;
7955
8221
  } | undefined;
7956
8222
  platformId?: string | undefined;
7957
8223
  brandName?: string | undefined;
7958
8224
  status?: boolean | undefined;
7959
8225
  connectedUserName?: string | null | undefined;
7960
8226
  connectedUserId?: string | null | undefined;
8227
+ lineRichMenuId?: string | null | undefined;
7961
8228
  actor?: {
7962
8229
  id: string;
7963
8230
  address: string | null;
@@ -7980,24 +8247,28 @@ export declare const instagramContract: {
7980
8247
  accessToken: z.ZodOptional<z.ZodString>;
7981
8248
  channelSecret: z.ZodOptional<z.ZodString>;
7982
8249
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8250
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7983
8251
  }, "strip", z.ZodTypeAny, {
7984
8252
  id: string;
7985
8253
  name: string;
7986
8254
  accessToken?: string | undefined;
7987
8255
  channelSecret?: string | undefined;
7988
8256
  additionalCredentials?: any;
8257
+ lineRichMenuId?: string | null | undefined;
7989
8258
  }, {
7990
8259
  id: string;
7991
8260
  name: string;
7992
8261
  accessToken?: string | undefined;
7993
8262
  channelSecret?: string | undefined;
7994
8263
  additionalCredentials?: any;
8264
+ lineRichMenuId?: string | null | undefined;
7995
8265
  }>;
7996
8266
  platformId: z.ZodString;
7997
8267
  brandName: z.ZodString;
7998
8268
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
7999
8269
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8000
8270
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8271
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8001
8272
  actor: z.ZodOptional<z.ZodObject<{
8002
8273
  id: z.ZodString;
8003
8274
  name: z.ZodString;
@@ -8027,12 +8298,14 @@ export declare const instagramContract: {
8027
8298
  accessToken?: string | undefined;
8028
8299
  channelSecret?: string | undefined;
8029
8300
  additionalCredentials?: any;
8301
+ lineRichMenuId?: string | null | undefined;
8030
8302
  };
8031
8303
  status: boolean;
8032
8304
  brandName: string;
8033
8305
  platformId: string;
8034
8306
  connectedUserName?: string | null | undefined;
8035
8307
  connectedUserId?: string | null | undefined;
8308
+ lineRichMenuId?: string | null | undefined;
8036
8309
  actor?: {
8037
8310
  id: string;
8038
8311
  address: string | null;
@@ -8050,12 +8323,14 @@ export declare const instagramContract: {
8050
8323
  accessToken?: string | undefined;
8051
8324
  channelSecret?: string | undefined;
8052
8325
  additionalCredentials?: any;
8326
+ lineRichMenuId?: string | null | undefined;
8053
8327
  };
8054
8328
  status: boolean;
8055
8329
  brandName: string;
8056
8330
  platformId: string;
8057
8331
  connectedUserName?: string | null | undefined;
8058
8332
  connectedUserId?: string | null | undefined;
8333
+ lineRichMenuId?: string | null | undefined;
8059
8334
  actor?: {
8060
8335
  id: string;
8061
8336
  address: string | null;
@@ -8075,12 +8350,14 @@ export declare const instagramContract: {
8075
8350
  accessToken?: string | undefined;
8076
8351
  channelSecret?: string | undefined;
8077
8352
  additionalCredentials?: any;
8353
+ lineRichMenuId?: string | null | undefined;
8078
8354
  };
8079
8355
  status: boolean;
8080
8356
  brandName: string;
8081
8357
  platformId: string;
8082
8358
  connectedUserName?: string | null | undefined;
8083
8359
  connectedUserId?: string | null | undefined;
8360
+ lineRichMenuId?: string | null | undefined;
8084
8361
  actor?: {
8085
8362
  id: string;
8086
8363
  address: string | null;
@@ -8101,12 +8378,14 @@ export declare const instagramContract: {
8101
8378
  accessToken?: string | undefined;
8102
8379
  channelSecret?: string | undefined;
8103
8380
  additionalCredentials?: any;
8381
+ lineRichMenuId?: string | null | undefined;
8104
8382
  };
8105
8383
  status: boolean;
8106
8384
  brandName: string;
8107
8385
  platformId: string;
8108
8386
  connectedUserName?: string | null | undefined;
8109
8387
  connectedUserId?: string | null | undefined;
8388
+ lineRichMenuId?: string | null | undefined;
8110
8389
  actor?: {
8111
8390
  id: string;
8112
8391
  address: string | null;
@@ -8151,24 +8430,28 @@ export declare const instagramContract: {
8151
8430
  accessToken: z.ZodOptional<z.ZodString>;
8152
8431
  channelSecret: z.ZodOptional<z.ZodString>;
8153
8432
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8433
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8154
8434
  }, "strip", z.ZodTypeAny, {
8155
8435
  id: string;
8156
8436
  name: string;
8157
8437
  accessToken?: string | undefined;
8158
8438
  channelSecret?: string | undefined;
8159
8439
  additionalCredentials?: any;
8440
+ lineRichMenuId?: string | null | undefined;
8160
8441
  }, {
8161
8442
  id: string;
8162
8443
  name: string;
8163
8444
  accessToken?: string | undefined;
8164
8445
  channelSecret?: string | undefined;
8165
8446
  additionalCredentials?: any;
8447
+ lineRichMenuId?: string | null | undefined;
8166
8448
  }>>;
8167
8449
  platformId: z.ZodOptional<z.ZodString>;
8168
8450
  brandName: z.ZodOptional<z.ZodString>;
8169
8451
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
8170
8452
  connectedUserName: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
8171
8453
  connectedUserId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
8454
+ lineRichMenuId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
8172
8455
  actor: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8173
8456
  id: z.ZodString;
8174
8457
  name: z.ZodString;
@@ -8198,12 +8481,14 @@ export declare const instagramContract: {
8198
8481
  accessToken?: string | undefined;
8199
8482
  channelSecret?: string | undefined;
8200
8483
  additionalCredentials?: any;
8484
+ lineRichMenuId?: string | null | undefined;
8201
8485
  } | undefined;
8202
8486
  platformId?: string | undefined;
8203
8487
  brandName?: string | undefined;
8204
8488
  status?: boolean | undefined;
8205
8489
  connectedUserName?: string | null | undefined;
8206
8490
  connectedUserId?: string | null | undefined;
8491
+ lineRichMenuId?: string | null | undefined;
8207
8492
  actor?: {
8208
8493
  id: string;
8209
8494
  address: string | null;
@@ -8221,12 +8506,14 @@ export declare const instagramContract: {
8221
8506
  accessToken?: string | undefined;
8222
8507
  channelSecret?: string | undefined;
8223
8508
  additionalCredentials?: any;
8509
+ lineRichMenuId?: string | null | undefined;
8224
8510
  } | undefined;
8225
8511
  platformId?: string | undefined;
8226
8512
  brandName?: string | undefined;
8227
8513
  status?: boolean | undefined;
8228
8514
  connectedUserName?: string | null | undefined;
8229
8515
  connectedUserId?: string | null | undefined;
8516
+ lineRichMenuId?: string | null | undefined;
8230
8517
  actor?: {
8231
8518
  id: string;
8232
8519
  address: string | null;
@@ -8249,24 +8536,28 @@ export declare const instagramContract: {
8249
8536
  accessToken: z.ZodOptional<z.ZodString>;
8250
8537
  channelSecret: z.ZodOptional<z.ZodString>;
8251
8538
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8539
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8252
8540
  }, "strip", z.ZodTypeAny, {
8253
8541
  id: string;
8254
8542
  name: string;
8255
8543
  accessToken?: string | undefined;
8256
8544
  channelSecret?: string | undefined;
8257
8545
  additionalCredentials?: any;
8546
+ lineRichMenuId?: string | null | undefined;
8258
8547
  }, {
8259
8548
  id: string;
8260
8549
  name: string;
8261
8550
  accessToken?: string | undefined;
8262
8551
  channelSecret?: string | undefined;
8263
8552
  additionalCredentials?: any;
8553
+ lineRichMenuId?: string | null | undefined;
8264
8554
  }>;
8265
8555
  platformId: z.ZodString;
8266
8556
  brandName: z.ZodString;
8267
8557
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
8268
8558
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8269
8559
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8560
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8270
8561
  actor: z.ZodOptional<z.ZodObject<{
8271
8562
  id: z.ZodString;
8272
8563
  name: z.ZodString;
@@ -8296,12 +8587,14 @@ export declare const instagramContract: {
8296
8587
  accessToken?: string | undefined;
8297
8588
  channelSecret?: string | undefined;
8298
8589
  additionalCredentials?: any;
8590
+ lineRichMenuId?: string | null | undefined;
8299
8591
  };
8300
8592
  status: boolean;
8301
8593
  brandName: string;
8302
8594
  platformId: string;
8303
8595
  connectedUserName?: string | null | undefined;
8304
8596
  connectedUserId?: string | null | undefined;
8597
+ lineRichMenuId?: string | null | undefined;
8305
8598
  actor?: {
8306
8599
  id: string;
8307
8600
  address: string | null;
@@ -8319,12 +8612,14 @@ export declare const instagramContract: {
8319
8612
  accessToken?: string | undefined;
8320
8613
  channelSecret?: string | undefined;
8321
8614
  additionalCredentials?: any;
8615
+ lineRichMenuId?: string | null | undefined;
8322
8616
  };
8323
8617
  status: boolean;
8324
8618
  brandName: string;
8325
8619
  platformId: string;
8326
8620
  connectedUserName?: string | null | undefined;
8327
8621
  connectedUserId?: string | null | undefined;
8622
+ lineRichMenuId?: string | null | undefined;
8328
8623
  actor?: {
8329
8624
  id: string;
8330
8625
  address: string | null;
@@ -8344,12 +8639,14 @@ export declare const instagramContract: {
8344
8639
  accessToken?: string | undefined;
8345
8640
  channelSecret?: string | undefined;
8346
8641
  additionalCredentials?: any;
8642
+ lineRichMenuId?: string | null | undefined;
8347
8643
  };
8348
8644
  status: boolean;
8349
8645
  brandName: string;
8350
8646
  platformId: string;
8351
8647
  connectedUserName?: string | null | undefined;
8352
8648
  connectedUserId?: string | null | undefined;
8649
+ lineRichMenuId?: string | null | undefined;
8353
8650
  actor?: {
8354
8651
  id: string;
8355
8652
  address: string | null;
@@ -8370,12 +8667,14 @@ export declare const instagramContract: {
8370
8667
  accessToken?: string | undefined;
8371
8668
  channelSecret?: string | undefined;
8372
8669
  additionalCredentials?: any;
8670
+ lineRichMenuId?: string | null | undefined;
8373
8671
  };
8374
8672
  status: boolean;
8375
8673
  brandName: string;
8376
8674
  platformId: string;
8377
8675
  connectedUserName?: string | null | undefined;
8378
8676
  connectedUserId?: string | null | undefined;
8677
+ lineRichMenuId?: string | null | undefined;
8379
8678
  actor?: {
8380
8679
  id: string;
8381
8680
  address: string | null;
@@ -8432,24 +8731,28 @@ export declare const instagramContract: {
8432
8731
  accessToken: z.ZodOptional<z.ZodString>;
8433
8732
  channelSecret: z.ZodOptional<z.ZodString>;
8434
8733
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8734
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8435
8735
  }, "strip", z.ZodTypeAny, {
8436
8736
  id: string;
8437
8737
  name: string;
8438
8738
  accessToken?: string | undefined;
8439
8739
  channelSecret?: string | undefined;
8440
8740
  additionalCredentials?: any;
8741
+ lineRichMenuId?: string | null | undefined;
8441
8742
  }, {
8442
8743
  id: string;
8443
8744
  name: string;
8444
8745
  accessToken?: string | undefined;
8445
8746
  channelSecret?: string | undefined;
8446
8747
  additionalCredentials?: any;
8748
+ lineRichMenuId?: string | null | undefined;
8447
8749
  }>;
8448
8750
  platformId: z.ZodString;
8449
8751
  brandName: z.ZodString;
8450
8752
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
8451
8753
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8452
8754
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8755
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8453
8756
  actor: z.ZodOptional<z.ZodObject<{
8454
8757
  id: z.ZodString;
8455
8758
  name: z.ZodString;
@@ -8479,12 +8782,14 @@ export declare const instagramContract: {
8479
8782
  accessToken?: string | undefined;
8480
8783
  channelSecret?: string | undefined;
8481
8784
  additionalCredentials?: any;
8785
+ lineRichMenuId?: string | null | undefined;
8482
8786
  };
8483
8787
  status: boolean;
8484
8788
  brandName: string;
8485
8789
  platformId: string;
8486
8790
  connectedUserName?: string | null | undefined;
8487
8791
  connectedUserId?: string | null | undefined;
8792
+ lineRichMenuId?: string | null | undefined;
8488
8793
  actor?: {
8489
8794
  id: string;
8490
8795
  address: string | null;
@@ -8502,12 +8807,14 @@ export declare const instagramContract: {
8502
8807
  accessToken?: string | undefined;
8503
8808
  channelSecret?: string | undefined;
8504
8809
  additionalCredentials?: any;
8810
+ lineRichMenuId?: string | null | undefined;
8505
8811
  };
8506
8812
  status: boolean;
8507
8813
  brandName: string;
8508
8814
  platformId: string;
8509
8815
  connectedUserName?: string | null | undefined;
8510
8816
  connectedUserId?: string | null | undefined;
8817
+ lineRichMenuId?: string | null | undefined;
8511
8818
  actor?: {
8512
8819
  id: string;
8513
8820
  address: string | null;
@@ -8527,12 +8834,14 @@ export declare const instagramContract: {
8527
8834
  accessToken?: string | undefined;
8528
8835
  channelSecret?: string | undefined;
8529
8836
  additionalCredentials?: any;
8837
+ lineRichMenuId?: string | null | undefined;
8530
8838
  };
8531
8839
  status: boolean;
8532
8840
  brandName: string;
8533
8841
  platformId: string;
8534
8842
  connectedUserName?: string | null | undefined;
8535
8843
  connectedUserId?: string | null | undefined;
8844
+ lineRichMenuId?: string | null | undefined;
8536
8845
  actor?: {
8537
8846
  id: string;
8538
8847
  address: string | null;
@@ -8553,12 +8862,14 @@ export declare const instagramContract: {
8553
8862
  accessToken?: string | undefined;
8554
8863
  channelSecret?: string | undefined;
8555
8864
  additionalCredentials?: any;
8865
+ lineRichMenuId?: string | null | undefined;
8556
8866
  };
8557
8867
  status: boolean;
8558
8868
  brandName: string;
8559
8869
  platformId: string;
8560
8870
  connectedUserName?: string | null | undefined;
8561
8871
  connectedUserId?: string | null | undefined;
8872
+ lineRichMenuId?: string | null | undefined;
8562
8873
  actor?: {
8563
8874
  id: string;
8564
8875
  address: string | null;
@@ -8615,24 +8926,28 @@ export declare const instagramContract: {
8615
8926
  accessToken: z.ZodOptional<z.ZodString>;
8616
8927
  channelSecret: z.ZodOptional<z.ZodString>;
8617
8928
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8929
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8618
8930
  }, "strip", z.ZodTypeAny, {
8619
8931
  id: string;
8620
8932
  name: string;
8621
8933
  accessToken?: string | undefined;
8622
8934
  channelSecret?: string | undefined;
8623
8935
  additionalCredentials?: any;
8936
+ lineRichMenuId?: string | null | undefined;
8624
8937
  }, {
8625
8938
  id: string;
8626
8939
  name: string;
8627
8940
  accessToken?: string | undefined;
8628
8941
  channelSecret?: string | undefined;
8629
8942
  additionalCredentials?: any;
8943
+ lineRichMenuId?: string | null | undefined;
8630
8944
  }>;
8631
8945
  platformId: z.ZodString;
8632
8946
  brandName: z.ZodString;
8633
8947
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
8634
8948
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8635
8949
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8950
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8636
8951
  actor: z.ZodOptional<z.ZodObject<{
8637
8952
  id: z.ZodString;
8638
8953
  name: z.ZodString;
@@ -8662,12 +8977,14 @@ export declare const instagramContract: {
8662
8977
  accessToken?: string | undefined;
8663
8978
  channelSecret?: string | undefined;
8664
8979
  additionalCredentials?: any;
8980
+ lineRichMenuId?: string | null | undefined;
8665
8981
  };
8666
8982
  status: boolean;
8667
8983
  brandName: string;
8668
8984
  platformId: string;
8669
8985
  connectedUserName?: string | null | undefined;
8670
8986
  connectedUserId?: string | null | undefined;
8987
+ lineRichMenuId?: string | null | undefined;
8671
8988
  actor?: {
8672
8989
  id: string;
8673
8990
  address: string | null;
@@ -8685,12 +9002,14 @@ export declare const instagramContract: {
8685
9002
  accessToken?: string | undefined;
8686
9003
  channelSecret?: string | undefined;
8687
9004
  additionalCredentials?: any;
9005
+ lineRichMenuId?: string | null | undefined;
8688
9006
  };
8689
9007
  status: boolean;
8690
9008
  brandName: string;
8691
9009
  platformId: string;
8692
9010
  connectedUserName?: string | null | undefined;
8693
9011
  connectedUserId?: string | null | undefined;
9012
+ lineRichMenuId?: string | null | undefined;
8694
9013
  actor?: {
8695
9014
  id: string;
8696
9015
  address: string | null;
@@ -8710,12 +9029,14 @@ export declare const instagramContract: {
8710
9029
  accessToken?: string | undefined;
8711
9030
  channelSecret?: string | undefined;
8712
9031
  additionalCredentials?: any;
9032
+ lineRichMenuId?: string | null | undefined;
8713
9033
  };
8714
9034
  status: boolean;
8715
9035
  brandName: string;
8716
9036
  platformId: string;
8717
9037
  connectedUserName?: string | null | undefined;
8718
9038
  connectedUserId?: string | null | undefined;
9039
+ lineRichMenuId?: string | null | undefined;
8719
9040
  actor?: {
8720
9041
  id: string;
8721
9042
  address: string | null;
@@ -8736,12 +9057,14 @@ export declare const instagramContract: {
8736
9057
  accessToken?: string | undefined;
8737
9058
  channelSecret?: string | undefined;
8738
9059
  additionalCredentials?: any;
9060
+ lineRichMenuId?: string | null | undefined;
8739
9061
  };
8740
9062
  status: boolean;
8741
9063
  brandName: string;
8742
9064
  platformId: string;
8743
9065
  connectedUserName?: string | null | undefined;
8744
9066
  connectedUserId?: string | null | undefined;
9067
+ lineRichMenuId?: string | null | undefined;
8745
9068
  actor?: {
8746
9069
  id: string;
8747
9070
  address: string | null;
@@ -8786,24 +9109,28 @@ export declare const instagramContract: {
8786
9109
  accessToken: z.ZodOptional<z.ZodString>;
8787
9110
  channelSecret: z.ZodOptional<z.ZodString>;
8788
9111
  additionalCredentials: z.ZodOptional<z.ZodAny>;
9112
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8789
9113
  }, "strip", z.ZodTypeAny, {
8790
9114
  id: string;
8791
9115
  name: string;
8792
9116
  accessToken?: string | undefined;
8793
9117
  channelSecret?: string | undefined;
8794
9118
  additionalCredentials?: any;
9119
+ lineRichMenuId?: string | null | undefined;
8795
9120
  }, {
8796
9121
  id: string;
8797
9122
  name: string;
8798
9123
  accessToken?: string | undefined;
8799
9124
  channelSecret?: string | undefined;
8800
9125
  additionalCredentials?: any;
9126
+ lineRichMenuId?: string | null | undefined;
8801
9127
  }>>;
8802
9128
  platformId: z.ZodOptional<z.ZodString>;
8803
9129
  brandName: z.ZodOptional<z.ZodString>;
8804
9130
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
8805
9131
  connectedUserName: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
8806
9132
  connectedUserId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
9133
+ lineRichMenuId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
8807
9134
  actor: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8808
9135
  id: z.ZodString;
8809
9136
  name: z.ZodString;
@@ -8833,12 +9160,14 @@ export declare const instagramContract: {
8833
9160
  accessToken?: string | undefined;
8834
9161
  channelSecret?: string | undefined;
8835
9162
  additionalCredentials?: any;
9163
+ lineRichMenuId?: string | null | undefined;
8836
9164
  } | undefined;
8837
9165
  platformId?: string | undefined;
8838
9166
  brandName?: string | undefined;
8839
9167
  status?: boolean | undefined;
8840
9168
  connectedUserName?: string | null | undefined;
8841
9169
  connectedUserId?: string | null | undefined;
9170
+ lineRichMenuId?: string | null | undefined;
8842
9171
  actor?: {
8843
9172
  id: string;
8844
9173
  address: string | null;
@@ -8856,12 +9185,14 @@ export declare const instagramContract: {
8856
9185
  accessToken?: string | undefined;
8857
9186
  channelSecret?: string | undefined;
8858
9187
  additionalCredentials?: any;
9188
+ lineRichMenuId?: string | null | undefined;
8859
9189
  } | undefined;
8860
9190
  platformId?: string | undefined;
8861
9191
  brandName?: string | undefined;
8862
9192
  status?: boolean | undefined;
8863
9193
  connectedUserName?: string | null | undefined;
8864
9194
  connectedUserId?: string | null | undefined;
9195
+ lineRichMenuId?: string | null | undefined;
8865
9196
  actor?: {
8866
9197
  id: string;
8867
9198
  address: string | null;
@@ -8884,24 +9215,28 @@ export declare const instagramContract: {
8884
9215
  accessToken: z.ZodOptional<z.ZodString>;
8885
9216
  channelSecret: z.ZodOptional<z.ZodString>;
8886
9217
  additionalCredentials: z.ZodOptional<z.ZodAny>;
9218
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8887
9219
  }, "strip", z.ZodTypeAny, {
8888
9220
  id: string;
8889
9221
  name: string;
8890
9222
  accessToken?: string | undefined;
8891
9223
  channelSecret?: string | undefined;
8892
9224
  additionalCredentials?: any;
9225
+ lineRichMenuId?: string | null | undefined;
8893
9226
  }, {
8894
9227
  id: string;
8895
9228
  name: string;
8896
9229
  accessToken?: string | undefined;
8897
9230
  channelSecret?: string | undefined;
8898
9231
  additionalCredentials?: any;
9232
+ lineRichMenuId?: string | null | undefined;
8899
9233
  }>;
8900
9234
  platformId: z.ZodString;
8901
9235
  brandName: z.ZodString;
8902
9236
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
8903
9237
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8904
9238
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9239
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8905
9240
  actor: z.ZodOptional<z.ZodObject<{
8906
9241
  id: z.ZodString;
8907
9242
  name: z.ZodString;
@@ -8931,12 +9266,14 @@ export declare const instagramContract: {
8931
9266
  accessToken?: string | undefined;
8932
9267
  channelSecret?: string | undefined;
8933
9268
  additionalCredentials?: any;
9269
+ lineRichMenuId?: string | null | undefined;
8934
9270
  };
8935
9271
  status: boolean;
8936
9272
  brandName: string;
8937
9273
  platformId: string;
8938
9274
  connectedUserName?: string | null | undefined;
8939
9275
  connectedUserId?: string | null | undefined;
9276
+ lineRichMenuId?: string | null | undefined;
8940
9277
  actor?: {
8941
9278
  id: string;
8942
9279
  address: string | null;
@@ -8954,12 +9291,14 @@ export declare const instagramContract: {
8954
9291
  accessToken?: string | undefined;
8955
9292
  channelSecret?: string | undefined;
8956
9293
  additionalCredentials?: any;
9294
+ lineRichMenuId?: string | null | undefined;
8957
9295
  };
8958
9296
  status: boolean;
8959
9297
  brandName: string;
8960
9298
  platformId: string;
8961
9299
  connectedUserName?: string | null | undefined;
8962
9300
  connectedUserId?: string | null | undefined;
9301
+ lineRichMenuId?: string | null | undefined;
8963
9302
  actor?: {
8964
9303
  id: string;
8965
9304
  address: string | null;
@@ -8979,12 +9318,14 @@ export declare const instagramContract: {
8979
9318
  accessToken?: string | undefined;
8980
9319
  channelSecret?: string | undefined;
8981
9320
  additionalCredentials?: any;
9321
+ lineRichMenuId?: string | null | undefined;
8982
9322
  };
8983
9323
  status: boolean;
8984
9324
  brandName: string;
8985
9325
  platformId: string;
8986
9326
  connectedUserName?: string | null | undefined;
8987
9327
  connectedUserId?: string | null | undefined;
9328
+ lineRichMenuId?: string | null | undefined;
8988
9329
  actor?: {
8989
9330
  id: string;
8990
9331
  address: string | null;
@@ -9005,12 +9346,14 @@ export declare const instagramContract: {
9005
9346
  accessToken?: string | undefined;
9006
9347
  channelSecret?: string | undefined;
9007
9348
  additionalCredentials?: any;
9349
+ lineRichMenuId?: string | null | undefined;
9008
9350
  };
9009
9351
  status: boolean;
9010
9352
  brandName: string;
9011
9353
  platformId: string;
9012
9354
  connectedUserName?: string | null | undefined;
9013
9355
  connectedUserId?: string | null | undefined;
9356
+ lineRichMenuId?: string | null | undefined;
9014
9357
  actor?: {
9015
9358
  id: string;
9016
9359
  address: string | null;
@@ -9174,5 +9517,35 @@ export declare const instagramContract: {
9174
9517
  };
9175
9518
  path: "/pages";
9176
9519
  };
9520
+ setBotPersistentMenu: {
9521
+ body: z.ZodObject<{
9522
+ pageAccessToken: z.ZodString;
9523
+ }, "strip", z.ZodTypeAny, {
9524
+ pageAccessToken: string;
9525
+ }, {
9526
+ pageAccessToken: string;
9527
+ }>;
9528
+ method: "POST";
9529
+ responses: {
9530
+ 200: z.ZodObject<{
9531
+ requestId: z.ZodString;
9532
+ }, "strip", z.ZodTypeAny, {
9533
+ requestId: string;
9534
+ }, {
9535
+ requestId: string;
9536
+ }>;
9537
+ 500: z.ZodObject<{
9538
+ message: z.ZodString;
9539
+ error: z.ZodAny;
9540
+ }, "strip", z.ZodTypeAny, {
9541
+ message: string;
9542
+ error?: any;
9543
+ }, {
9544
+ message: string;
9545
+ error?: any;
9546
+ }>;
9547
+ };
9548
+ path: "/set-bot-persistent-menu";
9549
+ };
9177
9550
  };
9178
9551
  //# sourceMappingURL=index.d.ts.map