@kl1/contracts 1.1.58 → 1.1.59

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 (160) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +7 -7
  2. package/dist/api-contracts/src/activity-log/schema.d.ts +4 -4
  3. package/dist/api-contracts/src/attribute/index.d.ts +25 -25
  4. package/dist/api-contracts/src/attribute/validation.d.ts +4 -4
  5. package/dist/api-contracts/src/auth/index.d.ts +71 -311
  6. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/automation-queue/index.d.ts +101 -101
  8. package/dist/api-contracts/src/automation-queue/schema.d.ts +10 -10
  9. package/dist/api-contracts/src/base-contract.d.ts +3 -3
  10. package/dist/api-contracts/src/botpress/index.d.ts +28 -28
  11. package/dist/api-contracts/src/botpress/schema.d.ts +6 -6
  12. package/dist/api-contracts/src/botpress/validation.d.ts +8 -8
  13. package/dist/api-contracts/src/business-calendar/index.d.ts +32 -32
  14. package/dist/api-contracts/src/business-calendar/schema.d.ts +8 -8
  15. package/dist/api-contracts/src/business-calendar/validation.d.ts +2 -2
  16. package/dist/api-contracts/src/category/index.d.ts +30 -30
  17. package/dist/api-contracts/src/category/schema.d.ts +2 -2
  18. package/dist/api-contracts/src/channel/index.d.ts +2566 -1792
  19. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  20. package/dist/api-contracts/src/channel/schema.d.ts +139 -109
  21. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  22. package/dist/api-contracts/src/channel/validation.d.ts +160 -118
  23. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  24. package/dist/api-contracts/src/chat/index.d.ts +7354 -6531
  25. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/chat/schema.d.ts +2366 -2167
  27. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  28. package/dist/api-contracts/src/chat/validation.d.ts +1854 -1563
  29. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  30. package/dist/api-contracts/src/comment/index.d.ts +328 -328
  31. package/dist/api-contracts/src/comment/schema.d.ts +88 -88
  32. package/dist/api-contracts/src/company/index.d.ts +9 -9
  33. package/dist/api-contracts/src/company/validation.d.ts +4 -4
  34. package/dist/api-contracts/src/contact/index.d.ts +399 -399
  35. package/dist/api-contracts/src/contact/schema.d.ts +38 -38
  36. package/dist/api-contracts/src/contact/validation.d.ts +190 -190
  37. package/dist/api-contracts/src/contract.d.ts +43684 -28896
  38. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  39. package/dist/api-contracts/src/cx-intelligence/index.d.ts +9 -9
  40. package/dist/api-contracts/src/cx-log/index.d.ts +545 -393
  41. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/cx-log/schema.d.ts +402 -321
  43. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  44. package/dist/api-contracts/src/cx-log/validation.d.ts +2 -2
  45. package/dist/api-contracts/src/dashboard/index.d.ts +167 -189
  46. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  47. package/dist/api-contracts/src/dashboard/schema.d.ts +44 -87
  48. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  49. package/dist/api-contracts/src/dashboard/validation.d.ts +26 -0
  50. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  51. package/dist/api-contracts/src/extension/index.d.ts +103 -22
  52. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/facebook-feed/index.d.ts +2170 -1768
  54. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  55. package/dist/api-contracts/src/facebook-feed/schema.d.ts +168 -141
  56. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  57. package/dist/api-contracts/src/facebook-feed/validation.d.ts +147 -126
  58. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  59. package/dist/api-contracts/src/hold-label/index.d.ts +34 -34
  60. package/dist/api-contracts/src/hold-label/schema.d.ts +10 -10
  61. package/dist/api-contracts/src/index.d.ts +5 -0
  62. package/dist/api-contracts/src/index.d.ts.map +1 -1
  63. package/dist/api-contracts/src/instagram/index.d.ts +1747 -1432
  64. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  65. package/dist/api-contracts/src/instagram/validation.d.ts +10 -10
  66. package/dist/api-contracts/src/line/index.d.ts +1646 -1367
  67. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  68. package/dist/api-contracts/src/line/schema.d.ts +4 -4
  69. package/dist/api-contracts/src/line/validation.d.ts +165 -132
  70. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  71. package/dist/api-contracts/src/mail/account-contract.d.ts +116 -116
  72. package/dist/api-contracts/src/mail/mail-contract.d.ts +2535 -2535
  73. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +38 -38
  74. package/dist/api-contracts/src/mail/message-contract.d.ts +278 -278
  75. package/dist/api-contracts/src/mail/room-contract.d.ts +1490 -1490
  76. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +50 -50
  77. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +12 -12
  78. package/dist/api-contracts/src/mail/schemas/message.schema.d.ts +56 -56
  79. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +478 -478
  80. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +471 -471
  81. package/dist/api-contracts/src/messenger/index.d.ts +1750 -1435
  82. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  83. package/dist/api-contracts/src/messenger/schema.d.ts +16 -16
  84. package/dist/api-contracts/src/messenger/validation.d.ts +143 -122
  85. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  86. package/dist/api-contracts/src/notification/index.d.ts +26 -26
  87. package/dist/api-contracts/src/notification/schema.d.ts +18 -18
  88. package/dist/api-contracts/src/notification/validation.d.ts +10 -10
  89. package/dist/api-contracts/src/permission/index.d.ts +3 -3
  90. package/dist/api-contracts/src/presence-status/index.d.ts +15 -15
  91. package/dist/api-contracts/src/public-api/index.d.ts +143 -143
  92. package/dist/api-contracts/src/public-api/schema.d.ts +22 -22
  93. package/dist/api-contracts/src/public-api/validation.d.ts +39 -39
  94. package/dist/api-contracts/src/role/index.d.ts +15 -15
  95. package/dist/api-contracts/src/sms/index.d.ts +2717 -270
  96. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  97. package/dist/api-contracts/src/sms/schema.d.ts +30 -8
  98. package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
  99. package/dist/api-contracts/src/sms/validation.d.ts +2 -2
  100. package/dist/api-contracts/src/snippet/index.d.ts +147 -147
  101. package/dist/api-contracts/src/snippet/schema.d.ts +50 -50
  102. package/dist/api-contracts/src/subscription/index.d.ts +267 -186
  103. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  104. package/dist/api-contracts/src/subscription/schema.d.ts +247 -216
  105. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  106. package/dist/api-contracts/src/subscription/validation.d.ts +18 -0
  107. package/dist/api-contracts/src/subscription/validation.d.ts.map +1 -1
  108. package/dist/api-contracts/src/tag/index.d.ts +24 -24
  109. package/dist/api-contracts/src/tag/schema.d.ts +2 -2
  110. package/dist/api-contracts/src/telegram/index.d.ts +1407 -1182
  111. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  112. package/dist/api-contracts/src/telegram/validation.d.ts +4 -4
  113. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +57 -112
  114. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  115. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +14 -31
  116. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  117. package/dist/api-contracts/src/telephony-cdr/index.d.ts +282 -282
  118. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  119. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +72 -72
  120. package/dist/api-contracts/src/telephony-extension/index.d.ts +3 -3
  121. package/dist/api-contracts/src/tenant/schema.d.ts +2 -2
  122. package/dist/api-contracts/src/ticket/index.d.ts +515 -515
  123. package/dist/api-contracts/src/ticket/schema.d.ts +63 -63
  124. package/dist/api-contracts/src/upload/index.d.ts +6 -6
  125. package/dist/api-contracts/src/upload/schema.d.ts +3 -3
  126. package/dist/api-contracts/src/user/index.d.ts +41 -41
  127. package/dist/api-contracts/src/user/schema.d.ts +2 -2
  128. package/dist/api-contracts/src/user/validation.d.ts +5 -5
  129. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +26 -18
  130. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  131. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +24 -14
  132. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  133. package/dist/api-contracts/src/viber/index.d.ts +1419 -1194
  134. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  135. package/dist/api-contracts/src/viber/validation.d.ts +4 -4
  136. package/dist/api-contracts/src/webchat/index.d.ts +1413 -1188
  137. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  138. package/dist/api-contracts/src/webchat/schema.d.ts +10 -10
  139. package/dist/api-contracts/src/webchat/validation.d.ts +2 -2
  140. package/dist/api-contracts/src/whatsapp/index.d.ts +1758 -1287
  141. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  142. package/dist/api-contracts/src/whatsapp/validation.d.ts +79 -0
  143. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  144. package/dist/api-contracts/src/widget/index.d.ts +51 -51
  145. package/dist/api-contracts/src/widget/schema.d.ts +2 -2
  146. package/dist/api-contracts/src/widget/validation.d.ts +4 -4
  147. package/dist/api-contracts/src/workflow-rule/index.d.ts +8703 -417
  148. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  149. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
  150. package/dist/api-contracts/src/wrap-up-form/index.d.ts +44 -44
  151. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
  152. package/dist/api-contracts/utils.d.ts +1 -1
  153. package/dist/api-contracts/utils.d.ts.map +1 -1
  154. package/dist/entities/src/enums/chat.d.ts +1 -0
  155. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  156. package/dist/index.js +4832 -4295
  157. package/dist/index.js.map +1 -1
  158. package/dist/index.mjs +4821 -4289
  159. package/dist/index.mjs.map +1 -1
  160. package/package.json +7 -3
@@ -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", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "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", "group", "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", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>]>;
9
9
  metadata: z.ZodAny;
10
10
  platformId: z.ZodString;
11
11
  platformMessageId: z.ZodString;
@@ -28,35 +28,44 @@ export declare const FeedPostSchema: z.ZodObject<{
28
28
  additionalCredentials: z.ZodOptional<z.ZodAny>;
29
29
  senderId: z.ZodOptional<z.ZodString>;
30
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"]>>;
31
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
32
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
33
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
34
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
35
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
36
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
37
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
38
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
39
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
38
40
  apiKey: z.ZodOptional<z.ZodString>;
39
41
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
42
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
40
43
  }, "strip", z.ZodTypeAny, {
41
- email: string;
42
- wabaExternalId: string;
43
- phoneNumberId: string;
44
- wabaBusinessId?: string | undefined;
45
- clientId?: string | undefined;
46
- channelId?: string | undefined;
47
- status?: "active" | "pending" | undefined;
44
+ wabaBusinessId?: string | null | undefined;
45
+ wabaExternalId?: string | null | undefined;
46
+ phoneNumberId?: string | null | undefined;
47
+ email?: string | null | undefined;
48
+ clientId?: string | null | undefined;
49
+ channelId?: string | null | undefined;
50
+ waapiInstanceId?: string | null | undefined;
51
+ qr?: string | null | undefined;
52
+ status?: "active" | "pending" | "waapi-qr" | undefined;
48
53
  apiKey?: string | undefined;
49
54
  tier?: "basic" | "regular" | "premium" | undefined;
55
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
50
56
  }, {
51
- email: string;
52
- wabaExternalId: string;
53
- phoneNumberId: string;
54
- wabaBusinessId?: string | undefined;
55
- clientId?: string | undefined;
56
- channelId?: string | undefined;
57
- status?: "active" | "pending" | undefined;
57
+ wabaBusinessId?: string | null | undefined;
58
+ wabaExternalId?: string | null | undefined;
59
+ phoneNumberId?: string | null | undefined;
60
+ email?: string | null | undefined;
61
+ clientId?: string | null | undefined;
62
+ channelId?: string | null | undefined;
63
+ waapiInstanceId?: string | null | undefined;
64
+ qr?: string | null | undefined;
65
+ status?: "active" | "pending" | "waapi-qr" | undefined;
58
66
  apiKey?: string | undefined;
59
67
  tier?: "basic" | "regular" | "premium" | undefined;
68
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
60
69
  }>>;
61
70
  vonageCredentials: z.ZodOptional<z.ZodObject<{
62
71
  mobileNumber: z.ZodString;
@@ -75,22 +84,25 @@ export declare const FeedPostSchema: z.ZodObject<{
75
84
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
76
85
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
77
86
  }, "strip", z.ZodTypeAny, {
78
- id: string;
79
87
  name: string;
88
+ id: string;
80
89
  accessToken?: string | undefined;
81
90
  channelSecret?: string | undefined;
82
91
  additionalCredentials?: any;
83
92
  senderId?: string | undefined;
84
93
  whatsapp?: {
85
- email: string;
86
- wabaExternalId: string;
87
- phoneNumberId: string;
88
- wabaBusinessId?: string | undefined;
89
- clientId?: string | undefined;
90
- channelId?: string | undefined;
91
- status?: "active" | "pending" | undefined;
94
+ wabaBusinessId?: string | null | undefined;
95
+ wabaExternalId?: string | null | undefined;
96
+ phoneNumberId?: string | null | undefined;
97
+ email?: string | null | undefined;
98
+ clientId?: string | null | undefined;
99
+ channelId?: string | null | undefined;
100
+ waapiInstanceId?: string | null | undefined;
101
+ qr?: string | null | undefined;
102
+ status?: "active" | "pending" | "waapi-qr" | undefined;
92
103
  apiKey?: string | undefined;
93
104
  tier?: "basic" | "regular" | "premium" | undefined;
105
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
94
106
  } | undefined;
95
107
  vonageCredentials?: {
96
108
  apiKey: string;
@@ -101,22 +113,25 @@ export declare const FeedPostSchema: z.ZodObject<{
101
113
  messengerIntegrationType?: "own" | "business" | undefined;
102
114
  facebookFeedIntegrationType?: "own" | "business" | undefined;
103
115
  }, {
104
- id: string;
105
116
  name: string;
117
+ id: string;
106
118
  accessToken?: string | undefined;
107
119
  channelSecret?: string | undefined;
108
120
  additionalCredentials?: any;
109
121
  senderId?: string | undefined;
110
122
  whatsapp?: {
111
- email: string;
112
- wabaExternalId: string;
113
- phoneNumberId: string;
114
- wabaBusinessId?: string | undefined;
115
- clientId?: string | undefined;
116
- channelId?: string | undefined;
117
- status?: "active" | "pending" | undefined;
123
+ wabaBusinessId?: string | null | undefined;
124
+ wabaExternalId?: string | null | undefined;
125
+ phoneNumberId?: string | null | undefined;
126
+ email?: string | null | undefined;
127
+ clientId?: string | null | undefined;
128
+ channelId?: string | null | undefined;
129
+ waapiInstanceId?: string | null | undefined;
130
+ qr?: string | null | undefined;
131
+ status?: "active" | "pending" | "waapi-qr" | undefined;
118
132
  apiKey?: string | undefined;
119
133
  tier?: "basic" | "regular" | "premium" | undefined;
134
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
120
135
  } | undefined;
121
136
  vonageCredentials?: {
122
137
  apiKey: string;
@@ -140,14 +155,14 @@ export declare const FeedPostSchema: z.ZodObject<{
140
155
  integrationId: z.ZodString;
141
156
  accessToken: z.ZodString;
142
157
  }, "strip", z.ZodTypeAny, {
143
- id: string;
144
158
  name: string;
159
+ id: string;
145
160
  accessToken: string;
146
161
  botId: string;
147
162
  integrationId: string;
148
163
  }, {
149
- id: string;
150
164
  name: string;
165
+ id: string;
151
166
  accessToken: string;
152
167
  botId: string;
153
168
  integrationId: string;
@@ -270,9 +285,9 @@ export declare const FeedPostSchema: z.ZodObject<{
270
285
  telephonySignature: string | null;
271
286
  }>;
272
287
  }, "strip", z.ZodTypeAny, {
288
+ name: string;
273
289
  id: string;
274
290
  address: string | null;
275
- name: string;
276
291
  email: string;
277
292
  createdAt: Date;
278
293
  updatedAt: Date;
@@ -313,9 +328,9 @@ export declare const FeedPostSchema: z.ZodObject<{
313
328
  telephonySignature: string | null;
314
329
  };
315
330
  }, {
331
+ name: string;
316
332
  id: string;
317
333
  address: string | null;
318
- name: string;
319
334
  email: string;
320
335
  createdAt: Date;
321
336
  updatedAt: Date;
@@ -357,26 +372,29 @@ export declare const FeedPostSchema: z.ZodObject<{
357
372
  };
358
373
  }>;
359
374
  }, "strip", z.ZodTypeAny, {
375
+ name: string;
360
376
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
361
377
  id: string;
362
- name: string;
363
378
  metadata: {
364
- id: string;
365
379
  name: string;
380
+ id: string;
366
381
  accessToken?: string | undefined;
367
382
  channelSecret?: string | undefined;
368
383
  additionalCredentials?: any;
369
384
  senderId?: string | undefined;
370
385
  whatsapp?: {
371
- email: string;
372
- wabaExternalId: string;
373
- phoneNumberId: string;
374
- wabaBusinessId?: string | undefined;
375
- clientId?: string | undefined;
376
- channelId?: string | undefined;
377
- status?: "active" | "pending" | undefined;
386
+ wabaBusinessId?: string | null | undefined;
387
+ wabaExternalId?: string | null | undefined;
388
+ phoneNumberId?: string | null | undefined;
389
+ email?: string | null | undefined;
390
+ clientId?: string | null | undefined;
391
+ channelId?: string | null | undefined;
392
+ waapiInstanceId?: string | null | undefined;
393
+ qr?: string | null | undefined;
394
+ status?: "active" | "pending" | "waapi-qr" | undefined;
378
395
  apiKey?: string | undefined;
379
396
  tier?: "basic" | "regular" | "premium" | undefined;
397
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
380
398
  } | undefined;
381
399
  vonageCredentials?: {
382
400
  apiKey: string;
@@ -392,9 +410,9 @@ export declare const FeedPostSchema: z.ZodObject<{
392
410
  updatedAt: Date;
393
411
  deletedAt: Date | null;
394
412
  actor: {
413
+ name: string;
395
414
  id: string;
396
415
  address: string | null;
397
- name: string;
398
416
  email: string;
399
417
  createdAt: Date;
400
418
  updatedAt: Date;
@@ -441,33 +459,36 @@ export declare const FeedPostSchema: z.ZodObject<{
441
459
  connectedUserName: string;
442
460
  connectedUserId: string;
443
461
  botpressBot: {
444
- id: string;
445
462
  name: string;
463
+ id: string;
446
464
  accessToken: string;
447
465
  botId: string;
448
466
  integrationId: string;
449
467
  } | null;
450
468
  }, {
469
+ name: string;
451
470
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
452
471
  id: string;
453
- name: string;
454
472
  metadata: {
455
- id: string;
456
473
  name: string;
474
+ id: string;
457
475
  accessToken?: string | undefined;
458
476
  channelSecret?: string | undefined;
459
477
  additionalCredentials?: any;
460
478
  senderId?: string | undefined;
461
479
  whatsapp?: {
462
- email: string;
463
- wabaExternalId: string;
464
- phoneNumberId: string;
465
- wabaBusinessId?: string | undefined;
466
- clientId?: string | undefined;
467
- channelId?: string | undefined;
468
- status?: "active" | "pending" | undefined;
480
+ wabaBusinessId?: string | null | undefined;
481
+ wabaExternalId?: string | null | undefined;
482
+ phoneNumberId?: string | null | undefined;
483
+ email?: string | null | undefined;
484
+ clientId?: string | null | undefined;
485
+ channelId?: string | null | undefined;
486
+ waapiInstanceId?: string | null | undefined;
487
+ qr?: string | null | undefined;
488
+ status?: "active" | "pending" | "waapi-qr" | undefined;
469
489
  apiKey?: string | undefined;
470
490
  tier?: "basic" | "regular" | "premium" | undefined;
491
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
471
492
  } | undefined;
472
493
  vonageCredentials?: {
473
494
  apiKey: string;
@@ -483,9 +504,9 @@ export declare const FeedPostSchema: z.ZodObject<{
483
504
  updatedAt: Date;
484
505
  deletedAt: Date | null;
485
506
  actor: {
507
+ name: string;
486
508
  id: string;
487
509
  address: string | null;
488
- name: string;
489
510
  email: string;
490
511
  createdAt: Date;
491
512
  updatedAt: Date;
@@ -532,8 +553,8 @@ export declare const FeedPostSchema: z.ZodObject<{
532
553
  connectedUserName: string;
533
554
  connectedUserId: string;
534
555
  botpressBot: {
535
- id: string;
536
556
  name: string;
557
+ id: string;
537
558
  accessToken: string;
538
559
  botId: string;
539
560
  integrationId: string;
@@ -553,13 +574,13 @@ export declare const FeedPostSchema: z.ZodObject<{
553
574
  picture: z.ZodOptional<z.ZodString>;
554
575
  additionalCredentials: z.ZodAny;
555
576
  }, "strip", z.ZodTypeAny, {
556
- id: string;
557
577
  name: string;
578
+ id: string;
558
579
  picture?: string | undefined;
559
580
  additionalCredentials?: any;
560
581
  }, {
561
- id: string;
562
582
  name: string;
583
+ id: string;
563
584
  picture?: string | undefined;
564
585
  additionalCredentials?: any;
565
586
  }>;
@@ -581,14 +602,14 @@ export declare const FeedPostSchema: z.ZodObject<{
581
602
  deletedAt: z.ZodNullable<z.ZodDate>;
582
603
  name: z.ZodString;
583
604
  }, "strip", z.ZodTypeAny, {
584
- id: string;
585
605
  name: string;
606
+ id: string;
586
607
  createdAt: Date;
587
608
  updatedAt: Date;
588
609
  deletedAt: Date | null;
589
610
  }, {
590
- id: string;
591
611
  name: string;
612
+ id: string;
592
613
  createdAt: Date;
593
614
  updatedAt: Date;
594
615
  deletedAt: Date | null;
@@ -744,8 +765,8 @@ export declare const FeedPostSchema: z.ZodObject<{
744
765
  createdAt: Date;
745
766
  updatedAt: Date;
746
767
  deletedAt: Date | null;
747
- address?: string | null | undefined;
748
768
  name?: string | undefined;
769
+ address?: string | null | undefined;
749
770
  phone?: string | null | undefined;
750
771
  industry?: string | null | undefined;
751
772
  }, {
@@ -753,8 +774,8 @@ export declare const FeedPostSchema: z.ZodObject<{
753
774
  createdAt: Date;
754
775
  updatedAt: Date;
755
776
  deletedAt: Date | null;
756
- address?: string | null | undefined;
757
777
  name?: string | undefined;
778
+ address?: string | null | undefined;
758
779
  phone?: string | null | undefined;
759
780
  industry?: string | null | undefined;
760
781
  }>>;
@@ -772,13 +793,13 @@ export declare const FeedPostSchema: z.ZodObject<{
772
793
  picture: z.ZodOptional<z.ZodString>;
773
794
  additionalCredentials: z.ZodAny;
774
795
  }, "strip", z.ZodTypeAny, {
775
- id: string;
776
796
  name: string;
797
+ id: string;
777
798
  picture?: string | undefined;
778
799
  additionalCredentials?: any;
779
800
  }, {
780
- id: string;
781
801
  name: string;
802
+ id: string;
782
803
  picture?: string | undefined;
783
804
  additionalCredentials?: any;
784
805
  }>;
@@ -786,8 +807,8 @@ export declare const FeedPostSchema: z.ZodObject<{
786
807
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
787
808
  id: string;
788
809
  metadata: {
789
- id: string;
790
810
  name: string;
811
+ id: string;
791
812
  picture?: string | undefined;
792
813
  additionalCredentials?: any;
793
814
  };
@@ -800,8 +821,8 @@ export declare const FeedPostSchema: z.ZodObject<{
800
821
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
801
822
  id: string;
802
823
  metadata: {
803
- id: string;
804
824
  name: string;
825
+ id: string;
805
826
  picture?: string | undefined;
806
827
  additionalCredentials?: any;
807
828
  };
@@ -911,9 +932,10 @@ export declare const FeedPostSchema: z.ZodObject<{
911
932
  fileSize: z.ZodNumber;
912
933
  fileKey: z.ZodString;
913
934
  fileUrl: z.ZodNullable<z.ZodString>;
914
- status: z.ZodOptional<z.ZodString>;
935
+ status: z.ZodNullable<z.ZodString>;
915
936
  }, "strip", z.ZodTypeAny, {
916
937
  id: string;
938
+ status: string | null;
917
939
  createdAt: Date;
918
940
  updatedAt: Date;
919
941
  deletedAt: Date | null;
@@ -922,9 +944,9 @@ export declare const FeedPostSchema: z.ZodObject<{
922
944
  bucketName: string;
923
945
  fileSize: number;
924
946
  fileUrl: string | null;
925
- status?: string | undefined;
926
947
  }, {
927
948
  id: string;
949
+ status: string | null;
928
950
  createdAt: Date;
929
951
  updatedAt: Date;
930
952
  deletedAt: Date | null;
@@ -933,7 +955,6 @@ export declare const FeedPostSchema: z.ZodObject<{
933
955
  bucketName: string;
934
956
  fileSize: number;
935
957
  fileUrl: string | null;
936
- status?: string | undefined;
937
958
  }>, "many">;
938
959
  }, "strip", z.ZodTypeAny, {
939
960
  id: string;
@@ -960,6 +981,7 @@ export declare const FeedPostSchema: z.ZodObject<{
960
981
  dateValue: Date | null;
961
982
  uploads: {
962
983
  id: string;
984
+ status: string | null;
963
985
  createdAt: Date;
964
986
  updatedAt: Date;
965
987
  deletedAt: Date | null;
@@ -968,7 +990,6 @@ export declare const FeedPostSchema: z.ZodObject<{
968
990
  bucketName: string;
969
991
  fileSize: number;
970
992
  fileUrl: string | null;
971
- status?: string | undefined;
972
993
  }[];
973
994
  }, {
974
995
  id: string;
@@ -995,6 +1016,7 @@ export declare const FeedPostSchema: z.ZodObject<{
995
1016
  dateValue: Date | null;
996
1017
  uploads: {
997
1018
  id: string;
1019
+ status: string | null;
998
1020
  createdAt: Date;
999
1021
  updatedAt: Date;
1000
1022
  deletedAt: Date | null;
@@ -1003,7 +1025,6 @@ export declare const FeedPostSchema: z.ZodObject<{
1003
1025
  bucketName: string;
1004
1026
  fileSize: number;
1005
1027
  fileUrl: string | null;
1006
- status?: string | undefined;
1007
1028
  }[];
1008
1029
  }>, "many">;
1009
1030
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -1111,10 +1132,10 @@ export declare const FeedPostSchema: z.ZodObject<{
1111
1132
  };
1112
1133
  }>, "many">>;
1113
1134
  }, "strip", z.ZodTypeAny, {
1135
+ name: string;
1114
1136
  id: string;
1115
1137
  channel: string | null;
1116
1138
  address: string | null;
1117
- name: string;
1118
1139
  createdAt: Date;
1119
1140
  updatedAt: Date;
1120
1141
  deletedAt: Date | null;
@@ -1143,6 +1164,7 @@ export declare const FeedPostSchema: z.ZodObject<{
1143
1164
  dateValue: Date | null;
1144
1165
  uploads: {
1145
1166
  id: string;
1167
+ status: string | null;
1146
1168
  createdAt: Date;
1147
1169
  updatedAt: Date;
1148
1170
  deletedAt: Date | null;
@@ -1151,7 +1173,6 @@ export declare const FeedPostSchema: z.ZodObject<{
1151
1173
  bucketName: string;
1152
1174
  fileSize: number;
1153
1175
  fileUrl: string | null;
1154
- status?: string | undefined;
1155
1176
  }[];
1156
1177
  }[];
1157
1178
  company: {
@@ -1159,8 +1180,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1159
1180
  createdAt: Date;
1160
1181
  updatedAt: Date;
1161
1182
  deletedAt: Date | null;
1162
- address?: string | null | undefined;
1163
1183
  name?: string | undefined;
1184
+ address?: string | null | undefined;
1164
1185
  phone?: string | null | undefined;
1165
1186
  industry?: string | null | undefined;
1166
1187
  } | null;
@@ -1168,8 +1189,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1168
1189
  contactProfile: string | null;
1169
1190
  socialProfileUrl: string | null;
1170
1191
  tags: {
1171
- id: string;
1172
1192
  name: string;
1193
+ id: string;
1173
1194
  createdAt: Date;
1174
1195
  updatedAt: Date;
1175
1196
  deletedAt: Date | null;
@@ -1194,8 +1215,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1194
1215
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1195
1216
  id: string;
1196
1217
  metadata: {
1197
- id: string;
1198
1218
  name: string;
1219
+ id: string;
1199
1220
  picture?: string | undefined;
1200
1221
  additionalCredentials?: any;
1201
1222
  };
@@ -1222,10 +1243,10 @@ export declare const FeedPostSchema: z.ZodObject<{
1222
1243
  };
1223
1244
  }[] | undefined;
1224
1245
  }, {
1246
+ name: string;
1225
1247
  id: string;
1226
1248
  channel: string | null;
1227
1249
  address: string | null;
1228
- name: string;
1229
1250
  createdAt: Date;
1230
1251
  updatedAt: Date;
1231
1252
  deletedAt: Date | null;
@@ -1254,6 +1275,7 @@ export declare const FeedPostSchema: z.ZodObject<{
1254
1275
  dateValue: Date | null;
1255
1276
  uploads: {
1256
1277
  id: string;
1278
+ status: string | null;
1257
1279
  createdAt: Date;
1258
1280
  updatedAt: Date;
1259
1281
  deletedAt: Date | null;
@@ -1262,7 +1284,6 @@ export declare const FeedPostSchema: z.ZodObject<{
1262
1284
  bucketName: string;
1263
1285
  fileSize: number;
1264
1286
  fileUrl: string | null;
1265
- status?: string | undefined;
1266
1287
  }[];
1267
1288
  }[];
1268
1289
  company: {
@@ -1270,8 +1291,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1270
1291
  createdAt: Date;
1271
1292
  updatedAt: Date;
1272
1293
  deletedAt: Date | null;
1273
- address?: string | null | undefined;
1274
1294
  name?: string | undefined;
1295
+ address?: string | null | undefined;
1275
1296
  phone?: string | null | undefined;
1276
1297
  industry?: string | null | undefined;
1277
1298
  } | null;
@@ -1279,8 +1300,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1279
1300
  contactProfile: string | null;
1280
1301
  socialProfileUrl: string | null;
1281
1302
  tags: {
1282
- id: string;
1283
1303
  name: string;
1304
+ id: string;
1284
1305
  createdAt: Date;
1285
1306
  updatedAt: Date;
1286
1307
  deletedAt: Date | null;
@@ -1305,8 +1326,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1305
1326
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1306
1327
  id: string;
1307
1328
  metadata: {
1308
- id: string;
1309
1329
  name: string;
1330
+ id: string;
1310
1331
  picture?: string | undefined;
1311
1332
  additionalCredentials?: any;
1312
1333
  };
@@ -1337,8 +1358,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1337
1358
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1338
1359
  id: string;
1339
1360
  metadata: {
1340
- id: string;
1341
1361
  name: string;
1362
+ id: string;
1342
1363
  picture?: string | undefined;
1343
1364
  additionalCredentials?: any;
1344
1365
  };
@@ -1346,10 +1367,10 @@ export declare const FeedPostSchema: z.ZodObject<{
1346
1367
  updatedAt: Date;
1347
1368
  deletedAt: Date | null;
1348
1369
  contact: {
1370
+ name: string;
1349
1371
  id: string;
1350
1372
  channel: string | null;
1351
1373
  address: string | null;
1352
- name: string;
1353
1374
  createdAt: Date;
1354
1375
  updatedAt: Date;
1355
1376
  deletedAt: Date | null;
@@ -1378,6 +1399,7 @@ export declare const FeedPostSchema: z.ZodObject<{
1378
1399
  dateValue: Date | null;
1379
1400
  uploads: {
1380
1401
  id: string;
1402
+ status: string | null;
1381
1403
  createdAt: Date;
1382
1404
  updatedAt: Date;
1383
1405
  deletedAt: Date | null;
@@ -1386,7 +1408,6 @@ export declare const FeedPostSchema: z.ZodObject<{
1386
1408
  bucketName: string;
1387
1409
  fileSize: number;
1388
1410
  fileUrl: string | null;
1389
- status?: string | undefined;
1390
1411
  }[];
1391
1412
  }[];
1392
1413
  company: {
@@ -1394,8 +1415,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1394
1415
  createdAt: Date;
1395
1416
  updatedAt: Date;
1396
1417
  deletedAt: Date | null;
1397
- address?: string | null | undefined;
1398
1418
  name?: string | undefined;
1419
+ address?: string | null | undefined;
1399
1420
  phone?: string | null | undefined;
1400
1421
  industry?: string | null | undefined;
1401
1422
  } | null;
@@ -1403,8 +1424,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1403
1424
  contactProfile: string | null;
1404
1425
  socialProfileUrl: string | null;
1405
1426
  tags: {
1406
- id: string;
1407
1427
  name: string;
1428
+ id: string;
1408
1429
  createdAt: Date;
1409
1430
  updatedAt: Date;
1410
1431
  deletedAt: Date | null;
@@ -1429,8 +1450,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1429
1450
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1430
1451
  id: string;
1431
1452
  metadata: {
1432
- id: string;
1433
1453
  name: string;
1454
+ id: string;
1434
1455
  picture?: string | undefined;
1435
1456
  additionalCredentials?: any;
1436
1457
  };
@@ -1463,8 +1484,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1463
1484
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1464
1485
  id: string;
1465
1486
  metadata: {
1466
- id: string;
1467
1487
  name: string;
1488
+ id: string;
1468
1489
  picture?: string | undefined;
1469
1490
  additionalCredentials?: any;
1470
1491
  };
@@ -1472,10 +1493,10 @@ export declare const FeedPostSchema: z.ZodObject<{
1472
1493
  updatedAt: Date;
1473
1494
  deletedAt: Date | null;
1474
1495
  contact: {
1496
+ name: string;
1475
1497
  id: string;
1476
1498
  channel: string | null;
1477
1499
  address: string | null;
1478
- name: string;
1479
1500
  createdAt: Date;
1480
1501
  updatedAt: Date;
1481
1502
  deletedAt: Date | null;
@@ -1504,6 +1525,7 @@ export declare const FeedPostSchema: z.ZodObject<{
1504
1525
  dateValue: Date | null;
1505
1526
  uploads: {
1506
1527
  id: string;
1528
+ status: string | null;
1507
1529
  createdAt: Date;
1508
1530
  updatedAt: Date;
1509
1531
  deletedAt: Date | null;
@@ -1512,7 +1534,6 @@ export declare const FeedPostSchema: z.ZodObject<{
1512
1534
  bucketName: string;
1513
1535
  fileSize: number;
1514
1536
  fileUrl: string | null;
1515
- status?: string | undefined;
1516
1537
  }[];
1517
1538
  }[];
1518
1539
  company: {
@@ -1520,8 +1541,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1520
1541
  createdAt: Date;
1521
1542
  updatedAt: Date;
1522
1543
  deletedAt: Date | null;
1523
- address?: string | null | undefined;
1524
1544
  name?: string | undefined;
1545
+ address?: string | null | undefined;
1525
1546
  phone?: string | null | undefined;
1526
1547
  industry?: string | null | undefined;
1527
1548
  } | null;
@@ -1529,8 +1550,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1529
1550
  contactProfile: string | null;
1530
1551
  socialProfileUrl: string | null;
1531
1552
  tags: {
1532
- id: string;
1533
1553
  name: string;
1554
+ id: string;
1534
1555
  createdAt: Date;
1535
1556
  updatedAt: Date;
1536
1557
  deletedAt: Date | null;
@@ -1555,8 +1576,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1555
1576
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1556
1577
  id: string;
1557
1578
  metadata: {
1558
- id: string;
1559
1579
  name: string;
1580
+ id: string;
1560
1581
  picture?: string | undefined;
1561
1582
  additionalCredentials?: any;
1562
1583
  };
@@ -1704,9 +1725,9 @@ export declare const FeedPostSchema: z.ZodObject<{
1704
1725
  telephonySignature: string | null;
1705
1726
  }>;
1706
1727
  }, "strip", z.ZodTypeAny, {
1728
+ name: string;
1707
1729
  id: string;
1708
1730
  address: string | null;
1709
- name: string;
1710
1731
  email: string;
1711
1732
  createdAt: Date;
1712
1733
  updatedAt: Date;
@@ -1747,9 +1768,9 @@ export declare const FeedPostSchema: z.ZodObject<{
1747
1768
  telephonySignature: string | null;
1748
1769
  };
1749
1770
  }, {
1771
+ name: string;
1750
1772
  id: string;
1751
1773
  address: string | null;
1752
- name: string;
1753
1774
  email: string;
1754
1775
  createdAt: Date;
1755
1776
  updatedAt: Date;
@@ -1792,30 +1813,33 @@ export declare const FeedPostSchema: z.ZodObject<{
1792
1813
  }>;
1793
1814
  permalinkURL: z.ZodString;
1794
1815
  }, "strip", z.ZodTypeAny, {
1795
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1816
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1796
1817
  message: string | null;
1797
1818
  id: string;
1798
1819
  channel: {
1820
+ name: string;
1799
1821
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1800
1822
  id: string;
1801
- name: string;
1802
1823
  metadata: {
1803
- id: string;
1804
1824
  name: string;
1825
+ id: string;
1805
1826
  accessToken?: string | undefined;
1806
1827
  channelSecret?: string | undefined;
1807
1828
  additionalCredentials?: any;
1808
1829
  senderId?: string | undefined;
1809
1830
  whatsapp?: {
1810
- email: string;
1811
- wabaExternalId: string;
1812
- phoneNumberId: string;
1813
- wabaBusinessId?: string | undefined;
1814
- clientId?: string | undefined;
1815
- channelId?: string | undefined;
1816
- status?: "active" | "pending" | undefined;
1831
+ wabaBusinessId?: string | null | undefined;
1832
+ wabaExternalId?: string | null | undefined;
1833
+ phoneNumberId?: string | null | undefined;
1834
+ email?: string | null | undefined;
1835
+ clientId?: string | null | undefined;
1836
+ channelId?: string | null | undefined;
1837
+ waapiInstanceId?: string | null | undefined;
1838
+ qr?: string | null | undefined;
1839
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1817
1840
  apiKey?: string | undefined;
1818
1841
  tier?: "basic" | "regular" | "premium" | undefined;
1842
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1819
1843
  } | undefined;
1820
1844
  vonageCredentials?: {
1821
1845
  apiKey: string;
@@ -1831,9 +1855,9 @@ export declare const FeedPostSchema: z.ZodObject<{
1831
1855
  updatedAt: Date;
1832
1856
  deletedAt: Date | null;
1833
1857
  actor: {
1858
+ name: string;
1834
1859
  id: string;
1835
1860
  address: string | null;
1836
- name: string;
1837
1861
  email: string;
1838
1862
  createdAt: Date;
1839
1863
  updatedAt: Date;
@@ -1880,8 +1904,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1880
1904
  connectedUserName: string;
1881
1905
  connectedUserId: string;
1882
1906
  botpressBot: {
1883
- id: string;
1884
1907
  name: string;
1908
+ id: string;
1885
1909
  accessToken: string;
1886
1910
  botId: string;
1887
1911
  integrationId: string;
@@ -1891,9 +1915,9 @@ export declare const FeedPostSchema: z.ZodObject<{
1891
1915
  updatedAt: Date;
1892
1916
  deletedAt: Date | null;
1893
1917
  actor: {
1918
+ name: string;
1894
1919
  id: string;
1895
1920
  address: string | null;
1896
- name: string;
1897
1921
  email: string;
1898
1922
  createdAt: Date;
1899
1923
  updatedAt: Date;
@@ -1939,8 +1963,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1939
1963
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1940
1964
  id: string;
1941
1965
  metadata: {
1942
- id: string;
1943
1966
  name: string;
1967
+ id: string;
1944
1968
  picture?: string | undefined;
1945
1969
  additionalCredentials?: any;
1946
1970
  };
@@ -1948,10 +1972,10 @@ export declare const FeedPostSchema: z.ZodObject<{
1948
1972
  updatedAt: Date;
1949
1973
  deletedAt: Date | null;
1950
1974
  contact: {
1975
+ name: string;
1951
1976
  id: string;
1952
1977
  channel: string | null;
1953
1978
  address: string | null;
1954
- name: string;
1955
1979
  createdAt: Date;
1956
1980
  updatedAt: Date;
1957
1981
  deletedAt: Date | null;
@@ -1980,6 +2004,7 @@ export declare const FeedPostSchema: z.ZodObject<{
1980
2004
  dateValue: Date | null;
1981
2005
  uploads: {
1982
2006
  id: string;
2007
+ status: string | null;
1983
2008
  createdAt: Date;
1984
2009
  updatedAt: Date;
1985
2010
  deletedAt: Date | null;
@@ -1988,7 +2013,6 @@ export declare const FeedPostSchema: z.ZodObject<{
1988
2013
  bucketName: string;
1989
2014
  fileSize: number;
1990
2015
  fileUrl: string | null;
1991
- status?: string | undefined;
1992
2016
  }[];
1993
2017
  }[];
1994
2018
  company: {
@@ -1996,8 +2020,8 @@ export declare const FeedPostSchema: z.ZodObject<{
1996
2020
  createdAt: Date;
1997
2021
  updatedAt: Date;
1998
2022
  deletedAt: Date | null;
1999
- address?: string | null | undefined;
2000
2023
  name?: string | undefined;
2024
+ address?: string | null | undefined;
2001
2025
  phone?: string | null | undefined;
2002
2026
  industry?: string | null | undefined;
2003
2027
  } | null;
@@ -2005,8 +2029,8 @@ export declare const FeedPostSchema: z.ZodObject<{
2005
2029
  contactProfile: string | null;
2006
2030
  socialProfileUrl: string | null;
2007
2031
  tags: {
2008
- id: string;
2009
2032
  name: string;
2033
+ id: string;
2010
2034
  createdAt: Date;
2011
2035
  updatedAt: Date;
2012
2036
  deletedAt: Date | null;
@@ -2031,8 +2055,8 @@ export declare const FeedPostSchema: z.ZodObject<{
2031
2055
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2032
2056
  id: string;
2033
2057
  metadata: {
2034
- id: string;
2035
2058
  name: string;
2059
+ id: string;
2036
2060
  picture?: string | undefined;
2037
2061
  additionalCredentials?: any;
2038
2062
  };
@@ -2070,30 +2094,33 @@ export declare const FeedPostSchema: z.ZodObject<{
2070
2094
  metadata?: any;
2071
2095
  template?: any;
2072
2096
  }, {
2073
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2097
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2074
2098
  message: string | null;
2075
2099
  id: string;
2076
2100
  channel: {
2101
+ name: string;
2077
2102
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2078
2103
  id: string;
2079
- name: string;
2080
2104
  metadata: {
2081
- id: string;
2082
2105
  name: string;
2106
+ id: string;
2083
2107
  accessToken?: string | undefined;
2084
2108
  channelSecret?: string | undefined;
2085
2109
  additionalCredentials?: any;
2086
2110
  senderId?: string | undefined;
2087
2111
  whatsapp?: {
2088
- email: string;
2089
- wabaExternalId: string;
2090
- phoneNumberId: string;
2091
- wabaBusinessId?: string | undefined;
2092
- clientId?: string | undefined;
2093
- channelId?: string | undefined;
2094
- status?: "active" | "pending" | undefined;
2112
+ wabaBusinessId?: string | null | undefined;
2113
+ wabaExternalId?: string | null | undefined;
2114
+ phoneNumberId?: string | null | undefined;
2115
+ email?: string | null | undefined;
2116
+ clientId?: string | null | undefined;
2117
+ channelId?: string | null | undefined;
2118
+ waapiInstanceId?: string | null | undefined;
2119
+ qr?: string | null | undefined;
2120
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2095
2121
  apiKey?: string | undefined;
2096
2122
  tier?: "basic" | "regular" | "premium" | undefined;
2123
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2097
2124
  } | undefined;
2098
2125
  vonageCredentials?: {
2099
2126
  apiKey: string;
@@ -2109,9 +2136,9 @@ export declare const FeedPostSchema: z.ZodObject<{
2109
2136
  updatedAt: Date;
2110
2137
  deletedAt: Date | null;
2111
2138
  actor: {
2139
+ name: string;
2112
2140
  id: string;
2113
2141
  address: string | null;
2114
- name: string;
2115
2142
  email: string;
2116
2143
  createdAt: Date;
2117
2144
  updatedAt: Date;
@@ -2158,8 +2185,8 @@ export declare const FeedPostSchema: z.ZodObject<{
2158
2185
  connectedUserName: string;
2159
2186
  connectedUserId: string;
2160
2187
  botpressBot: {
2161
- id: string;
2162
2188
  name: string;
2189
+ id: string;
2163
2190
  accessToken: string;
2164
2191
  botId: string;
2165
2192
  integrationId: string;
@@ -2169,9 +2196,9 @@ export declare const FeedPostSchema: z.ZodObject<{
2169
2196
  updatedAt: Date;
2170
2197
  deletedAt: Date | null;
2171
2198
  actor: {
2199
+ name: string;
2172
2200
  id: string;
2173
2201
  address: string | null;
2174
- name: string;
2175
2202
  email: string;
2176
2203
  createdAt: Date;
2177
2204
  updatedAt: Date;
@@ -2217,8 +2244,8 @@ export declare const FeedPostSchema: z.ZodObject<{
2217
2244
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2218
2245
  id: string;
2219
2246
  metadata: {
2220
- id: string;
2221
2247
  name: string;
2248
+ id: string;
2222
2249
  picture?: string | undefined;
2223
2250
  additionalCredentials?: any;
2224
2251
  };
@@ -2226,10 +2253,10 @@ export declare const FeedPostSchema: z.ZodObject<{
2226
2253
  updatedAt: Date;
2227
2254
  deletedAt: Date | null;
2228
2255
  contact: {
2256
+ name: string;
2229
2257
  id: string;
2230
2258
  channel: string | null;
2231
2259
  address: string | null;
2232
- name: string;
2233
2260
  createdAt: Date;
2234
2261
  updatedAt: Date;
2235
2262
  deletedAt: Date | null;
@@ -2258,6 +2285,7 @@ export declare const FeedPostSchema: z.ZodObject<{
2258
2285
  dateValue: Date | null;
2259
2286
  uploads: {
2260
2287
  id: string;
2288
+ status: string | null;
2261
2289
  createdAt: Date;
2262
2290
  updatedAt: Date;
2263
2291
  deletedAt: Date | null;
@@ -2266,7 +2294,6 @@ export declare const FeedPostSchema: z.ZodObject<{
2266
2294
  bucketName: string;
2267
2295
  fileSize: number;
2268
2296
  fileUrl: string | null;
2269
- status?: string | undefined;
2270
2297
  }[];
2271
2298
  }[];
2272
2299
  company: {
@@ -2274,8 +2301,8 @@ export declare const FeedPostSchema: z.ZodObject<{
2274
2301
  createdAt: Date;
2275
2302
  updatedAt: Date;
2276
2303
  deletedAt: Date | null;
2277
- address?: string | null | undefined;
2278
2304
  name?: string | undefined;
2305
+ address?: string | null | undefined;
2279
2306
  phone?: string | null | undefined;
2280
2307
  industry?: string | null | undefined;
2281
2308
  } | null;
@@ -2283,8 +2310,8 @@ export declare const FeedPostSchema: z.ZodObject<{
2283
2310
  contactProfile: string | null;
2284
2311
  socialProfileUrl: string | null;
2285
2312
  tags: {
2286
- id: string;
2287
2313
  name: string;
2314
+ id: string;
2288
2315
  createdAt: Date;
2289
2316
  updatedAt: Date;
2290
2317
  deletedAt: Date | null;
@@ -2309,8 +2336,8 @@ export declare const FeedPostSchema: z.ZodObject<{
2309
2336
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2310
2337
  id: string;
2311
2338
  metadata: {
2312
- id: string;
2313
2339
  name: string;
2340
+ id: string;
2314
2341
  picture?: string | undefined;
2315
2342
  additionalCredentials?: any;
2316
2343
  };