@kl1/contracts 1.2.21-uat → 1.2.22-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +4 -4
  2. package/dist/api-contracts/src/activity-log/schema.d.ts +4 -4
  3. package/dist/api-contracts/src/attribute/index.d.ts +4 -4
  4. package/dist/api-contracts/src/attribute/validation.d.ts +4 -4
  5. package/dist/api-contracts/src/auth/index.d.ts +4 -4
  6. package/dist/api-contracts/src/automation-queue/index.d.ts +80 -80
  7. package/dist/api-contracts/src/automation-queue/schema.d.ts +10 -10
  8. package/dist/api-contracts/src/botpress/index.d.ts +28 -28
  9. package/dist/api-contracts/src/botpress/schema.d.ts +6 -6
  10. package/dist/api-contracts/src/botpress/validation.d.ts +8 -8
  11. package/dist/api-contracts/src/business-calendar/index.d.ts +32 -32
  12. package/dist/api-contracts/src/business-calendar/schema.d.ts +8 -8
  13. package/dist/api-contracts/src/business-calendar/validation.d.ts +2 -2
  14. package/dist/api-contracts/src/category/index.d.ts +12 -12
  15. package/dist/api-contracts/src/category/schema.d.ts +2 -2
  16. package/dist/api-contracts/src/channel/index.d.ts +3170 -590
  17. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/channel/schema.d.ts +145 -26
  19. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  20. package/dist/api-contracts/src/channel/validation.d.ts +254 -24
  21. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  22. package/dist/api-contracts/src/chat/index.d.ts +26071 -23373
  23. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/chat/schema.d.ts +1838 -1190
  25. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  26. package/dist/api-contracts/src/chat/validation.d.ts +1803 -851
  27. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  28. package/dist/api-contracts/src/comment/index.d.ts +244 -244
  29. package/dist/api-contracts/src/comment/schema.d.ts +68 -68
  30. package/dist/api-contracts/src/company/index.d.ts +4 -4
  31. package/dist/api-contracts/src/company/validation.d.ts +4 -4
  32. package/dist/api-contracts/src/contact/index.d.ts +246 -246
  33. package/dist/api-contracts/src/contact/schema.d.ts +26 -26
  34. package/dist/api-contracts/src/contact/validation.d.ts +134 -134
  35. package/dist/api-contracts/src/contract.d.ts +43536 -12568
  36. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  37. package/dist/api-contracts/src/cx-log/index.d.ts +388 -260
  38. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  39. package/dist/api-contracts/src/cx-log/schema.d.ts +316 -208
  40. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  41. package/dist/api-contracts/src/cx-log/validation.d.ts +2 -2
  42. package/dist/api-contracts/src/dashboard/index.d.ts +40 -40
  43. package/dist/api-contracts/src/dashboard/schema.d.ts +34 -34
  44. package/dist/api-contracts/src/extension/index.d.ts +4 -4
  45. package/dist/api-contracts/src/facebook-feed/index.d.ts +2157 -845
  46. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  47. package/dist/api-contracts/src/facebook-feed/schema.d.ts +163 -75
  48. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  49. package/dist/api-contracts/src/facebook-feed/validation.d.ts +140 -72
  50. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  51. package/dist/api-contracts/src/hold-label/index.d.ts +16 -16
  52. package/dist/api-contracts/src/hold-label/schema.d.ts +2 -2
  53. package/dist/api-contracts/src/instagram/index.d.ts +1727 -699
  54. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  55. package/dist/api-contracts/src/instagram/validation.d.ts +10 -10
  56. package/dist/api-contracts/src/line/index.d.ts +1616 -704
  57. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  58. package/dist/api-contracts/src/line/schema.d.ts +4 -4
  59. package/dist/api-contracts/src/line/validation.d.ts +173 -65
  60. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  61. package/dist/api-contracts/src/mail/account-contract.d.ts +72 -72
  62. package/dist/api-contracts/src/mail/mail-contract.d.ts +2118 -2118
  63. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +32 -32
  64. package/dist/api-contracts/src/mail/message-contract.d.ts +272 -272
  65. package/dist/api-contracts/src/mail/room-contract.d.ts +1444 -1444
  66. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +50 -50
  67. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +12 -12
  68. package/dist/api-contracts/src/mail/schemas/message.schema.d.ts +56 -56
  69. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +468 -468
  70. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +458 -458
  71. package/dist/api-contracts/src/messenger/index.d.ts +1730 -702
  72. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/messenger/schema.d.ts +16 -16
  74. package/dist/api-contracts/src/messenger/validation.d.ts +136 -68
  75. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  76. package/dist/api-contracts/src/notification/index.d.ts +26 -26
  77. package/dist/api-contracts/src/notification/schema.d.ts +18 -18
  78. package/dist/api-contracts/src/notification/validation.d.ts +10 -10
  79. package/dist/api-contracts/src/public-api/index.d.ts +84 -84
  80. package/dist/api-contracts/src/public-api/schema.d.ts +10 -10
  81. package/dist/api-contracts/src/public-api/validation.d.ts +20 -20
  82. package/dist/api-contracts/src/sms/index.d.ts +311 -115
  83. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  84. package/dist/api-contracts/src/sms/schema.d.ts +14 -14
  85. package/dist/api-contracts/src/sms/validation.d.ts +6 -6
  86. package/dist/api-contracts/src/snippet/index.d.ts +42 -42
  87. package/dist/api-contracts/src/snippet/schema.d.ts +10 -10
  88. package/dist/api-contracts/src/subscription/index.d.ts +184 -184
  89. package/dist/api-contracts/src/subscription/schema.d.ts +216 -216
  90. package/dist/api-contracts/src/tag/index.d.ts +12 -12
  91. package/dist/api-contracts/src/tag/schema.d.ts +2 -2
  92. package/dist/api-contracts/src/telegram/index.d.ts +1367 -631
  93. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  94. package/dist/api-contracts/src/telegram/validation.d.ts +4 -4
  95. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +14 -14
  96. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +4 -4
  97. package/dist/api-contracts/src/telephony-cdr/index.d.ts +186 -186
  98. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +58 -58
  99. package/dist/api-contracts/src/tenant/schema.d.ts +2 -2
  100. package/dist/api-contracts/src/ticket/index.d.ts +328 -328
  101. package/dist/api-contracts/src/ticket/schema.d.ts +42 -42
  102. package/dist/api-contracts/src/user/index.d.ts +23 -23
  103. package/dist/api-contracts/src/user/schema.d.ts +2 -2
  104. package/dist/api-contracts/src/user/validation.d.ts +5 -5
  105. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +4 -4
  106. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +4 -4
  107. package/dist/api-contracts/src/viber/index.d.ts +1379 -643
  108. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  109. package/dist/api-contracts/src/viber/validation.d.ts +4 -4
  110. package/dist/api-contracts/src/webchat/index.d.ts +1037 -565
  111. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  112. package/dist/api-contracts/src/webchat/schema.d.ts +10 -10
  113. package/dist/api-contracts/src/webchat/validation.d.ts +2 -2
  114. package/dist/api-contracts/src/whatsapp/index.d.ts +19978 -0
  115. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -0
  116. package/dist/api-contracts/src/whatsapp/schema.d.ts +2 -0
  117. package/dist/api-contracts/src/whatsapp/schema.d.ts.map +1 -0
  118. package/dist/api-contracts/src/whatsapp/validation.d.ts +76 -0
  119. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -0
  120. package/dist/api-contracts/src/widget/index.d.ts +24 -24
  121. package/dist/api-contracts/src/widget/schema.d.ts +2 -2
  122. package/dist/api-contracts/src/widget/validation.d.ts +4 -4
  123. package/dist/api-contracts/src/workflow-rule/index.d.ts +448 -232
  124. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  125. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
  126. package/dist/api-contracts/src/wrap-up-form/index.d.ts +26 -26
  127. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
  128. package/dist/api-contracts/utils.d.ts +1 -1
  129. package/dist/api-contracts/utils.d.ts.map +1 -1
  130. package/dist/entities/src/enums/chat.d.ts +1 -0
  131. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  132. package/dist/index.js +2491 -2336
  133. package/dist/index.js.map +1 -1
  134. package/dist/index.mjs +2489 -2336
  135. package/dist/index.mjs.map +1 -1
  136. package/package.json +1 -1
@@ -5,7 +5,7 @@ export declare const FeedPostSchema: z.ZodObject<{
5
5
  updatedAt: z.ZodDate;
6
6
  deletedAt: z.ZodNullable<z.ZodDate>;
7
7
  message: z.ZodNullable<z.ZodString>;
8
- type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>]>;
8
+ type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>]>;
9
9
  metadata: z.ZodAny;
10
10
  platformId: z.ZodString;
11
11
  platformMessageId: z.ZodString;
@@ -27,45 +27,93 @@ export declare const FeedPostSchema: z.ZodObject<{
27
27
  channelSecret: z.ZodOptional<z.ZodString>;
28
28
  additionalCredentials: z.ZodOptional<z.ZodAny>;
29
29
  senderId: z.ZodOptional<z.ZodString>;
30
+ whatsapp: z.ZodOptional<z.ZodObject<{
31
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
32
+ wabaExternalId: z.ZodString;
33
+ phoneNumberId: z.ZodString;
34
+ email: z.ZodString;
35
+ clientId: z.ZodOptional<z.ZodString>;
36
+ channelId: z.ZodOptional<z.ZodString>;
37
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
38
+ apiKey: z.ZodOptional<z.ZodString>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ email: string;
41
+ wabaExternalId: string;
42
+ phoneNumberId: string;
43
+ wabaBusinessId?: string | undefined;
44
+ clientId?: string | undefined;
45
+ channelId?: string | undefined;
46
+ status?: "active" | "pending" | undefined;
47
+ apiKey?: string | undefined;
48
+ }, {
49
+ email: string;
50
+ wabaExternalId: string;
51
+ phoneNumberId: string;
52
+ wabaBusinessId?: string | undefined;
53
+ clientId?: string | undefined;
54
+ channelId?: string | undefined;
55
+ status?: "active" | "pending" | undefined;
56
+ apiKey?: string | undefined;
57
+ }>>;
30
58
  vonageCredentials: z.ZodOptional<z.ZodObject<{
31
59
  mobileNumber: z.ZodString;
32
60
  apiKey: z.ZodString;
33
61
  apiSecret: z.ZodString;
34
62
  }, "strip", z.ZodTypeAny, {
35
- mobileNumber: string;
36
63
  apiKey: string;
64
+ mobileNumber: string;
37
65
  apiSecret: string;
38
66
  }, {
39
- mobileNumber: string;
40
67
  apiKey: string;
68
+ mobileNumber: string;
41
69
  apiSecret: string;
42
70
  }>>;
43
71
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
44
72
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
45
73
  }, "strip", z.ZodTypeAny, {
46
- id: string;
47
74
  name: string;
75
+ id: string;
48
76
  accessToken?: string | undefined;
49
77
  channelSecret?: string | undefined;
50
78
  additionalCredentials?: any;
51
79
  senderId?: string | undefined;
80
+ whatsapp?: {
81
+ email: string;
82
+ wabaExternalId: string;
83
+ phoneNumberId: string;
84
+ wabaBusinessId?: string | undefined;
85
+ clientId?: string | undefined;
86
+ channelId?: string | undefined;
87
+ status?: "active" | "pending" | undefined;
88
+ apiKey?: string | undefined;
89
+ } | undefined;
52
90
  vonageCredentials?: {
53
- mobileNumber: string;
54
91
  apiKey: string;
92
+ mobileNumber: string;
55
93
  apiSecret: string;
56
94
  } | undefined;
57
95
  lineRichMenuId?: string | null | undefined;
58
96
  messengerIntegrationType?: "own" | "business" | undefined;
59
97
  }, {
60
- id: string;
61
98
  name: string;
99
+ id: string;
62
100
  accessToken?: string | undefined;
63
101
  channelSecret?: string | undefined;
64
102
  additionalCredentials?: any;
65
103
  senderId?: string | undefined;
104
+ whatsapp?: {
105
+ email: string;
106
+ wabaExternalId: string;
107
+ phoneNumberId: string;
108
+ wabaBusinessId?: string | undefined;
109
+ clientId?: string | undefined;
110
+ channelId?: string | undefined;
111
+ status?: "active" | "pending" | undefined;
112
+ apiKey?: string | undefined;
113
+ } | undefined;
66
114
  vonageCredentials?: {
67
- mobileNumber: string;
68
115
  apiKey: string;
116
+ mobileNumber: string;
69
117
  apiSecret: string;
70
118
  } | undefined;
71
119
  lineRichMenuId?: string | null | undefined;
@@ -84,14 +132,14 @@ export declare const FeedPostSchema: z.ZodObject<{
84
132
  integrationId: z.ZodString;
85
133
  accessToken: z.ZodString;
86
134
  }, "strip", z.ZodTypeAny, {
87
- id: string;
88
135
  name: string;
136
+ id: string;
89
137
  accessToken: string;
90
138
  botId: string;
91
139
  integrationId: string;
92
140
  }, {
93
- id: string;
94
141
  name: string;
142
+ id: string;
95
143
  accessToken: string;
96
144
  botId: string;
97
145
  integrationId: string;
@@ -214,9 +262,9 @@ export declare const FeedPostSchema: z.ZodObject<{
214
262
  telephonySignature: string | null;
215
263
  }>;
216
264
  }, "strip", z.ZodTypeAny, {
265
+ name: string;
217
266
  id: string;
218
267
  address: string | null;
219
- name: string;
220
268
  email: string;
221
269
  createdAt: Date;
222
270
  updatedAt: Date;
@@ -257,9 +305,9 @@ export declare const FeedPostSchema: z.ZodObject<{
257
305
  telephonySignature: string | null;
258
306
  };
259
307
  }, {
308
+ name: string;
260
309
  id: string;
261
310
  address: string | null;
262
- name: string;
263
311
  email: string;
264
312
  createdAt: Date;
265
313
  updatedAt: Date;
@@ -301,19 +349,29 @@ export declare const FeedPostSchema: z.ZodObject<{
301
349
  };
302
350
  }>;
303
351
  }, "strip", z.ZodTypeAny, {
352
+ name: string;
304
353
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
305
354
  id: string;
306
- name: string;
307
355
  metadata: {
308
- id: string;
309
356
  name: string;
357
+ id: string;
310
358
  accessToken?: string | undefined;
311
359
  channelSecret?: string | undefined;
312
360
  additionalCredentials?: any;
313
361
  senderId?: string | undefined;
362
+ whatsapp?: {
363
+ email: string;
364
+ wabaExternalId: string;
365
+ phoneNumberId: string;
366
+ wabaBusinessId?: string | undefined;
367
+ clientId?: string | undefined;
368
+ channelId?: string | undefined;
369
+ status?: "active" | "pending" | undefined;
370
+ apiKey?: string | undefined;
371
+ } | undefined;
314
372
  vonageCredentials?: {
315
- mobileNumber: string;
316
373
  apiKey: string;
374
+ mobileNumber: string;
317
375
  apiSecret: string;
318
376
  } | undefined;
319
377
  lineRichMenuId?: string | null | undefined;
@@ -324,9 +382,9 @@ export declare const FeedPostSchema: z.ZodObject<{
324
382
  updatedAt: Date;
325
383
  deletedAt: Date | null;
326
384
  actor: {
385
+ name: string;
327
386
  id: string;
328
387
  address: string | null;
329
- name: string;
330
388
  email: string;
331
389
  createdAt: Date;
332
390
  updatedAt: Date;
@@ -373,26 +431,36 @@ export declare const FeedPostSchema: z.ZodObject<{
373
431
  connectedUserName: string;
374
432
  connectedUserId: string;
375
433
  botpressBot: {
376
- id: string;
377
434
  name: string;
435
+ id: string;
378
436
  accessToken: string;
379
437
  botId: string;
380
438
  integrationId: string;
381
439
  } | null;
382
440
  }, {
441
+ name: string;
383
442
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
384
443
  id: string;
385
- name: string;
386
444
  metadata: {
387
- id: string;
388
445
  name: string;
446
+ id: string;
389
447
  accessToken?: string | undefined;
390
448
  channelSecret?: string | undefined;
391
449
  additionalCredentials?: any;
392
450
  senderId?: string | undefined;
451
+ whatsapp?: {
452
+ email: string;
453
+ wabaExternalId: string;
454
+ phoneNumberId: string;
455
+ wabaBusinessId?: string | undefined;
456
+ clientId?: string | undefined;
457
+ channelId?: string | undefined;
458
+ status?: "active" | "pending" | undefined;
459
+ apiKey?: string | undefined;
460
+ } | undefined;
393
461
  vonageCredentials?: {
394
- mobileNumber: string;
395
462
  apiKey: string;
463
+ mobileNumber: string;
396
464
  apiSecret: string;
397
465
  } | undefined;
398
466
  lineRichMenuId?: string | null | undefined;
@@ -403,9 +471,9 @@ export declare const FeedPostSchema: z.ZodObject<{
403
471
  updatedAt: Date;
404
472
  deletedAt: Date | null;
405
473
  actor: {
474
+ name: string;
406
475
  id: string;
407
476
  address: string | null;
408
- name: string;
409
477
  email: string;
410
478
  createdAt: Date;
411
479
  updatedAt: Date;
@@ -452,8 +520,8 @@ export declare const FeedPostSchema: z.ZodObject<{
452
520
  connectedUserName: string;
453
521
  connectedUserId: string;
454
522
  botpressBot: {
455
- id: string;
456
523
  name: string;
524
+ id: string;
457
525
  accessToken: string;
458
526
  botId: string;
459
527
  integrationId: string;
@@ -473,13 +541,13 @@ export declare const FeedPostSchema: z.ZodObject<{
473
541
  picture: z.ZodOptional<z.ZodString>;
474
542
  additionalCredentials: z.ZodAny;
475
543
  }, "strip", z.ZodTypeAny, {
476
- id: string;
477
544
  name: string;
545
+ id: string;
478
546
  picture?: string | undefined;
479
547
  additionalCredentials?: any;
480
548
  }, {
481
- id: string;
482
549
  name: string;
550
+ id: string;
483
551
  picture?: string | undefined;
484
552
  additionalCredentials?: any;
485
553
  }>;
@@ -501,14 +569,14 @@ export declare const FeedPostSchema: z.ZodObject<{
501
569
  deletedAt: z.ZodNullable<z.ZodDate>;
502
570
  name: z.ZodString;
503
571
  }, "strip", z.ZodTypeAny, {
504
- id: string;
505
572
  name: string;
573
+ id: string;
506
574
  createdAt: Date;
507
575
  updatedAt: Date;
508
576
  deletedAt: Date | null;
509
577
  }, {
510
- id: string;
511
578
  name: string;
579
+ id: string;
512
580
  createdAt: Date;
513
581
  updatedAt: Date;
514
582
  deletedAt: Date | null;
@@ -664,8 +732,8 @@ export declare const FeedPostSchema: z.ZodObject<{
664
732
  createdAt: Date;
665
733
  updatedAt: Date;
666
734
  deletedAt: Date | null;
667
- address?: string | null | undefined;
668
735
  name?: string | undefined;
736
+ address?: string | null | undefined;
669
737
  phone?: string | null | undefined;
670
738
  industry?: string | null | undefined;
671
739
  }, {
@@ -673,8 +741,8 @@ export declare const FeedPostSchema: z.ZodObject<{
673
741
  createdAt: Date;
674
742
  updatedAt: Date;
675
743
  deletedAt: Date | null;
676
- address?: string | null | undefined;
677
744
  name?: string | undefined;
745
+ address?: string | null | undefined;
678
746
  phone?: string | null | undefined;
679
747
  industry?: string | null | undefined;
680
748
  }>>;
@@ -692,13 +760,13 @@ export declare const FeedPostSchema: z.ZodObject<{
692
760
  picture: z.ZodOptional<z.ZodString>;
693
761
  additionalCredentials: z.ZodAny;
694
762
  }, "strip", z.ZodTypeAny, {
695
- id: string;
696
763
  name: string;
764
+ id: string;
697
765
  picture?: string | undefined;
698
766
  additionalCredentials?: any;
699
767
  }, {
700
- id: string;
701
768
  name: string;
769
+ id: string;
702
770
  picture?: string | undefined;
703
771
  additionalCredentials?: any;
704
772
  }>;
@@ -706,8 +774,8 @@ export declare const FeedPostSchema: z.ZodObject<{
706
774
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
707
775
  id: string;
708
776
  metadata: {
709
- id: string;
710
777
  name: string;
778
+ id: string;
711
779
  picture?: string | undefined;
712
780
  additionalCredentials?: any;
713
781
  };
@@ -720,8 +788,8 @@ export declare const FeedPostSchema: z.ZodObject<{
720
788
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
721
789
  id: string;
722
790
  metadata: {
723
- id: string;
724
791
  name: string;
792
+ id: string;
725
793
  picture?: string | undefined;
726
794
  additionalCredentials?: any;
727
795
  };
@@ -1031,10 +1099,10 @@ export declare const FeedPostSchema: z.ZodObject<{
1031
1099
  };
1032
1100
  }>, "many">>;
1033
1101
  }, "strip", z.ZodTypeAny, {
1102
+ name: string;
1034
1103
  id: string;
1035
1104
  channel: string | null;
1036
1105
  address: string | null;
1037
- name: string;
1038
1106
  createdAt: Date;
1039
1107
  updatedAt: Date;
1040
1108
  deletedAt: Date | null;
@@ -1079,8 +1147,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1079
1147
  createdAt: Date;
1080
1148
  updatedAt: Date;
1081
1149
  deletedAt: Date | null;
1082
- address?: string | null | undefined;
1083
1150
  name?: string | undefined;
1151
+ address?: string | null | undefined;
1084
1152
  phone?: string | null | undefined;
1085
1153
  industry?: string | null | undefined;
1086
1154
  } | null;
@@ -1088,8 +1156,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1088
1156
  contactProfile: string | null;
1089
1157
  socialProfileUrl: string | null;
1090
1158
  tags: {
1091
- id: string;
1092
1159
  name: string;
1160
+ id: string;
1093
1161
  createdAt: Date;
1094
1162
  updatedAt: Date;
1095
1163
  deletedAt: Date | null;
@@ -1114,8 +1182,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1114
1182
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1115
1183
  id: string;
1116
1184
  metadata: {
1117
- id: string;
1118
1185
  name: string;
1186
+ id: string;
1119
1187
  picture?: string | undefined;
1120
1188
  additionalCredentials?: any;
1121
1189
  };
@@ -1142,10 +1210,10 @@ export declare const FeedPostSchema: z.ZodObject<{
1142
1210
  };
1143
1211
  }[] | undefined;
1144
1212
  }, {
1213
+ name: string;
1145
1214
  id: string;
1146
1215
  channel: string | null;
1147
1216
  address: string | null;
1148
- name: string;
1149
1217
  createdAt: Date;
1150
1218
  updatedAt: Date;
1151
1219
  deletedAt: Date | null;
@@ -1190,8 +1258,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1190
1258
  createdAt: Date;
1191
1259
  updatedAt: Date;
1192
1260
  deletedAt: Date | null;
1193
- address?: string | null | undefined;
1194
1261
  name?: string | undefined;
1262
+ address?: string | null | undefined;
1195
1263
  phone?: string | null | undefined;
1196
1264
  industry?: string | null | undefined;
1197
1265
  } | null;
@@ -1199,8 +1267,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1199
1267
  contactProfile: string | null;
1200
1268
  socialProfileUrl: string | null;
1201
1269
  tags: {
1202
- id: string;
1203
1270
  name: string;
1271
+ id: string;
1204
1272
  createdAt: Date;
1205
1273
  updatedAt: Date;
1206
1274
  deletedAt: Date | null;
@@ -1225,8 +1293,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1225
1293
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1226
1294
  id: string;
1227
1295
  metadata: {
1228
- id: string;
1229
1296
  name: string;
1297
+ id: string;
1230
1298
  picture?: string | undefined;
1231
1299
  additionalCredentials?: any;
1232
1300
  };
@@ -1257,8 +1325,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1257
1325
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1258
1326
  id: string;
1259
1327
  metadata: {
1260
- id: string;
1261
1328
  name: string;
1329
+ id: string;
1262
1330
  picture?: string | undefined;
1263
1331
  additionalCredentials?: any;
1264
1332
  };
@@ -1266,10 +1334,10 @@ export declare const FeedPostSchema: z.ZodObject<{
1266
1334
  updatedAt: Date;
1267
1335
  deletedAt: Date | null;
1268
1336
  contact: {
1337
+ name: string;
1269
1338
  id: string;
1270
1339
  channel: string | null;
1271
1340
  address: string | null;
1272
- name: string;
1273
1341
  createdAt: Date;
1274
1342
  updatedAt: Date;
1275
1343
  deletedAt: Date | null;
@@ -1314,8 +1382,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1314
1382
  createdAt: Date;
1315
1383
  updatedAt: Date;
1316
1384
  deletedAt: Date | null;
1317
- address?: string | null | undefined;
1318
1385
  name?: string | undefined;
1386
+ address?: string | null | undefined;
1319
1387
  phone?: string | null | undefined;
1320
1388
  industry?: string | null | undefined;
1321
1389
  } | null;
@@ -1323,8 +1391,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1323
1391
  contactProfile: string | null;
1324
1392
  socialProfileUrl: string | null;
1325
1393
  tags: {
1326
- id: string;
1327
1394
  name: string;
1395
+ id: string;
1328
1396
  createdAt: Date;
1329
1397
  updatedAt: Date;
1330
1398
  deletedAt: Date | null;
@@ -1349,8 +1417,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1349
1417
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1350
1418
  id: string;
1351
1419
  metadata: {
1352
- id: string;
1353
1420
  name: string;
1421
+ id: string;
1354
1422
  picture?: string | undefined;
1355
1423
  additionalCredentials?: any;
1356
1424
  };
@@ -1383,8 +1451,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1383
1451
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1384
1452
  id: string;
1385
1453
  metadata: {
1386
- id: string;
1387
1454
  name: string;
1455
+ id: string;
1388
1456
  picture?: string | undefined;
1389
1457
  additionalCredentials?: any;
1390
1458
  };
@@ -1392,10 +1460,10 @@ export declare const FeedPostSchema: z.ZodObject<{
1392
1460
  updatedAt: Date;
1393
1461
  deletedAt: Date | null;
1394
1462
  contact: {
1463
+ name: string;
1395
1464
  id: string;
1396
1465
  channel: string | null;
1397
1466
  address: string | null;
1398
- name: string;
1399
1467
  createdAt: Date;
1400
1468
  updatedAt: Date;
1401
1469
  deletedAt: Date | null;
@@ -1440,8 +1508,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1440
1508
  createdAt: Date;
1441
1509
  updatedAt: Date;
1442
1510
  deletedAt: Date | null;
1443
- address?: string | null | undefined;
1444
1511
  name?: string | undefined;
1512
+ address?: string | null | undefined;
1445
1513
  phone?: string | null | undefined;
1446
1514
  industry?: string | null | undefined;
1447
1515
  } | null;
@@ -1449,8 +1517,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1449
1517
  contactProfile: string | null;
1450
1518
  socialProfileUrl: string | null;
1451
1519
  tags: {
1452
- id: string;
1453
1520
  name: string;
1521
+ id: string;
1454
1522
  createdAt: Date;
1455
1523
  updatedAt: Date;
1456
1524
  deletedAt: Date | null;
@@ -1475,8 +1543,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1475
1543
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1476
1544
  id: string;
1477
1545
  metadata: {
1478
- id: string;
1479
1546
  name: string;
1547
+ id: string;
1480
1548
  picture?: string | undefined;
1481
1549
  additionalCredentials?: any;
1482
1550
  };
@@ -1624,9 +1692,9 @@ export declare const FeedPostSchema: z.ZodObject<{
1624
1692
  telephonySignature: string | null;
1625
1693
  }>;
1626
1694
  }, "strip", z.ZodTypeAny, {
1695
+ name: string;
1627
1696
  id: string;
1628
1697
  address: string | null;
1629
- name: string;
1630
1698
  email: string;
1631
1699
  createdAt: Date;
1632
1700
  updatedAt: Date;
@@ -1667,9 +1735,9 @@ export declare const FeedPostSchema: z.ZodObject<{
1667
1735
  telephonySignature: string | null;
1668
1736
  };
1669
1737
  }, {
1738
+ name: string;
1670
1739
  id: string;
1671
1740
  address: string | null;
1672
- name: string;
1673
1741
  email: string;
1674
1742
  createdAt: Date;
1675
1743
  updatedAt: Date;
@@ -1712,23 +1780,33 @@ export declare const FeedPostSchema: z.ZodObject<{
1712
1780
  }>;
1713
1781
  permalinkURL: z.ZodString;
1714
1782
  }, "strip", z.ZodTypeAny, {
1715
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1783
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1716
1784
  message: string | null;
1717
1785
  id: string;
1718
1786
  channel: {
1787
+ name: string;
1719
1788
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1720
1789
  id: string;
1721
- name: string;
1722
1790
  metadata: {
1723
- id: string;
1724
1791
  name: string;
1792
+ id: string;
1725
1793
  accessToken?: string | undefined;
1726
1794
  channelSecret?: string | undefined;
1727
1795
  additionalCredentials?: any;
1728
1796
  senderId?: string | undefined;
1797
+ whatsapp?: {
1798
+ email: string;
1799
+ wabaExternalId: string;
1800
+ phoneNumberId: string;
1801
+ wabaBusinessId?: string | undefined;
1802
+ clientId?: string | undefined;
1803
+ channelId?: string | undefined;
1804
+ status?: "active" | "pending" | undefined;
1805
+ apiKey?: string | undefined;
1806
+ } | undefined;
1729
1807
  vonageCredentials?: {
1730
- mobileNumber: string;
1731
1808
  apiKey: string;
1809
+ mobileNumber: string;
1732
1810
  apiSecret: string;
1733
1811
  } | undefined;
1734
1812
  lineRichMenuId?: string | null | undefined;
@@ -1739,9 +1817,9 @@ export declare const FeedPostSchema: z.ZodObject<{
1739
1817
  updatedAt: Date;
1740
1818
  deletedAt: Date | null;
1741
1819
  actor: {
1820
+ name: string;
1742
1821
  id: string;
1743
1822
  address: string | null;
1744
- name: string;
1745
1823
  email: string;
1746
1824
  createdAt: Date;
1747
1825
  updatedAt: Date;
@@ -1788,8 +1866,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1788
1866
  connectedUserName: string;
1789
1867
  connectedUserId: string;
1790
1868
  botpressBot: {
1791
- id: string;
1792
1869
  name: string;
1870
+ id: string;
1793
1871
  accessToken: string;
1794
1872
  botId: string;
1795
1873
  integrationId: string;
@@ -1799,9 +1877,9 @@ export declare const FeedPostSchema: z.ZodObject<{
1799
1877
  updatedAt: Date;
1800
1878
  deletedAt: Date | null;
1801
1879
  actor: {
1880
+ name: string;
1802
1881
  id: string;
1803
1882
  address: string | null;
1804
- name: string;
1805
1883
  email: string;
1806
1884
  createdAt: Date;
1807
1885
  updatedAt: Date;
@@ -1847,8 +1925,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1847
1925
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1848
1926
  id: string;
1849
1927
  metadata: {
1850
- id: string;
1851
1928
  name: string;
1929
+ id: string;
1852
1930
  picture?: string | undefined;
1853
1931
  additionalCredentials?: any;
1854
1932
  };
@@ -1856,10 +1934,10 @@ export declare const FeedPostSchema: z.ZodObject<{
1856
1934
  updatedAt: Date;
1857
1935
  deletedAt: Date | null;
1858
1936
  contact: {
1937
+ name: string;
1859
1938
  id: string;
1860
1939
  channel: string | null;
1861
1940
  address: string | null;
1862
- name: string;
1863
1941
  createdAt: Date;
1864
1942
  updatedAt: Date;
1865
1943
  deletedAt: Date | null;
@@ -1904,8 +1982,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1904
1982
  createdAt: Date;
1905
1983
  updatedAt: Date;
1906
1984
  deletedAt: Date | null;
1907
- address?: string | null | undefined;
1908
1985
  name?: string | undefined;
1986
+ address?: string | null | undefined;
1909
1987
  phone?: string | null | undefined;
1910
1988
  industry?: string | null | undefined;
1911
1989
  } | null;
@@ -1913,8 +1991,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1913
1991
  contactProfile: string | null;
1914
1992
  socialProfileUrl: string | null;
1915
1993
  tags: {
1916
- id: string;
1917
1994
  name: string;
1995
+ id: string;
1918
1996
  createdAt: Date;
1919
1997
  updatedAt: Date;
1920
1998
  deletedAt: Date | null;
@@ -1939,8 +2017,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1939
2017
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1940
2018
  id: string;
1941
2019
  metadata: {
1942
- id: string;
1943
2020
  name: string;
2021
+ id: string;
1944
2022
  picture?: string | undefined;
1945
2023
  additionalCredentials?: any;
1946
2024
  };
@@ -1978,23 +2056,33 @@ export declare const FeedPostSchema: z.ZodObject<{
1978
2056
  metadata?: any;
1979
2057
  template?: any;
1980
2058
  }, {
1981
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2059
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1982
2060
  message: string | null;
1983
2061
  id: string;
1984
2062
  channel: {
2063
+ name: string;
1985
2064
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1986
2065
  id: string;
1987
- name: string;
1988
2066
  metadata: {
1989
- id: string;
1990
2067
  name: string;
2068
+ id: string;
1991
2069
  accessToken?: string | undefined;
1992
2070
  channelSecret?: string | undefined;
1993
2071
  additionalCredentials?: any;
1994
2072
  senderId?: string | undefined;
2073
+ whatsapp?: {
2074
+ email: string;
2075
+ wabaExternalId: string;
2076
+ phoneNumberId: string;
2077
+ wabaBusinessId?: string | undefined;
2078
+ clientId?: string | undefined;
2079
+ channelId?: string | undefined;
2080
+ status?: "active" | "pending" | undefined;
2081
+ apiKey?: string | undefined;
2082
+ } | undefined;
1995
2083
  vonageCredentials?: {
1996
- mobileNumber: string;
1997
2084
  apiKey: string;
2085
+ mobileNumber: string;
1998
2086
  apiSecret: string;
1999
2087
  } | undefined;
2000
2088
  lineRichMenuId?: string | null | undefined;
@@ -2005,9 +2093,9 @@ export declare const FeedPostSchema: z.ZodObject<{
2005
2093
  updatedAt: Date;
2006
2094
  deletedAt: Date | null;
2007
2095
  actor: {
2096
+ name: string;
2008
2097
  id: string;
2009
2098
  address: string | null;
2010
- name: string;
2011
2099
  email: string;
2012
2100
  createdAt: Date;
2013
2101
  updatedAt: Date;
@@ -2054,8 +2142,8 @@ export declare const FeedPostSchema: z.ZodObject<{
2054
2142
  connectedUserName: string;
2055
2143
  connectedUserId: string;
2056
2144
  botpressBot: {
2057
- id: string;
2058
2145
  name: string;
2146
+ id: string;
2059
2147
  accessToken: string;
2060
2148
  botId: string;
2061
2149
  integrationId: string;
@@ -2065,9 +2153,9 @@ export declare const FeedPostSchema: z.ZodObject<{
2065
2153
  updatedAt: Date;
2066
2154
  deletedAt: Date | null;
2067
2155
  actor: {
2156
+ name: string;
2068
2157
  id: string;
2069
2158
  address: string | null;
2070
- name: string;
2071
2159
  email: string;
2072
2160
  createdAt: Date;
2073
2161
  updatedAt: Date;
@@ -2113,8 +2201,8 @@ export declare const FeedPostSchema: z.ZodObject<{
2113
2201
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2114
2202
  id: string;
2115
2203
  metadata: {
2116
- id: string;
2117
2204
  name: string;
2205
+ id: string;
2118
2206
  picture?: string | undefined;
2119
2207
  additionalCredentials?: any;
2120
2208
  };
@@ -2122,10 +2210,10 @@ export declare const FeedPostSchema: z.ZodObject<{
2122
2210
  updatedAt: Date;
2123
2211
  deletedAt: Date | null;
2124
2212
  contact: {
2213
+ name: string;
2125
2214
  id: string;
2126
2215
  channel: string | null;
2127
2216
  address: string | null;
2128
- name: string;
2129
2217
  createdAt: Date;
2130
2218
  updatedAt: Date;
2131
2219
  deletedAt: Date | null;
@@ -2170,8 +2258,8 @@ export declare const FeedPostSchema: z.ZodObject<{
2170
2258
  createdAt: Date;
2171
2259
  updatedAt: Date;
2172
2260
  deletedAt: Date | null;
2173
- address?: string | null | undefined;
2174
2261
  name?: string | undefined;
2262
+ address?: string | null | undefined;
2175
2263
  phone?: string | null | undefined;
2176
2264
  industry?: string | null | undefined;
2177
2265
  } | null;
@@ -2179,8 +2267,8 @@ export declare const FeedPostSchema: z.ZodObject<{
2179
2267
  contactProfile: string | null;
2180
2268
  socialProfileUrl: string | null;
2181
2269
  tags: {
2182
- id: string;
2183
2270
  name: string;
2271
+ id: string;
2184
2272
  createdAt: Date;
2185
2273
  updatedAt: Date;
2186
2274
  deletedAt: Date | null;
@@ -2205,8 +2293,8 @@ export declare const FeedPostSchema: z.ZodObject<{
2205
2293
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2206
2294
  id: string;
2207
2295
  metadata: {
2208
- id: string;
2209
2296
  name: string;
2297
+ id: string;
2210
2298
  picture?: string | undefined;
2211
2299
  additionalCredentials?: any;
2212
2300
  };