@kl1/contracts 1.1.77-uat → 1.1.79-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +17 -17
  2. package/dist/api-contracts/src/attribute/index.d.ts +164 -148
  3. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  4. package/dist/api-contracts/src/attribute/schema.d.ts +11 -8
  5. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  6. package/dist/api-contracts/src/attribute-option/schema.d.ts +3 -2
  7. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  8. package/dist/api-contracts/src/auth/index.d.ts +51 -47
  9. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  10. package/dist/api-contracts/src/aws/index.d.ts +8 -6
  11. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  12. package/dist/api-contracts/src/botpress/index.d.ts +17 -13
  13. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  14. package/dist/api-contracts/src/business-calendar/index.d.ts +40 -28
  15. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  16. package/dist/api-contracts/src/business-calendar/schema.d.ts +15 -10
  17. package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
  18. package/dist/api-contracts/src/call-log/schema.d.ts +5 -4
  19. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  20. package/dist/api-contracts/src/category/index.d.ts +118 -109
  21. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  22. package/dist/api-contracts/src/category/schema.d.ts +3 -2
  23. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  24. package/dist/api-contracts/src/channel/index.d.ts +411 -392
  25. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/channel/schema.d.ts +6 -6
  27. package/dist/api-contracts/src/channel/validation.d.ts +8 -8
  28. package/dist/api-contracts/src/chat/index.d.ts +12528 -12120
  29. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  30. package/dist/api-contracts/src/chat/schema.d.ts +2814 -2654
  31. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  32. package/dist/api-contracts/src/chat/validation.d.ts +2150 -2083
  33. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  34. package/dist/api-contracts/src/comment/index.d.ts +281 -224
  35. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/comment/schema.d.ts +68 -50
  37. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/company/index.d.ts +138 -111
  39. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/company/schema.d.ts +33 -24
  41. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  42. package/dist/api-contracts/src/company/validation.d.ts +78 -62
  43. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  44. package/dist/api-contracts/src/contact/index.d.ts +597 -501
  45. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/contact/schema.d.ts +56 -42
  47. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  48. package/dist/api-contracts/src/contact/validation.d.ts +263 -192
  49. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  50. package/dist/api-contracts/src/contact-email/schema.d.ts +3 -2
  51. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  52. package/dist/api-contracts/src/contact-phone/schema.d.ts +3 -2
  53. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  54. package/dist/api-contracts/src/contract.d.ts +15249 -14062
  55. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  56. package/dist/api-contracts/src/custom-field/schema.d.ts +3 -2
  57. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  58. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  59. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +3 -2
  60. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  61. package/dist/api-contracts/src/cx-log/index.d.ts +648 -608
  62. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  63. package/dist/api-contracts/src/cx-log/schema.d.ts +413 -370
  64. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  65. package/dist/api-contracts/src/cx-log/validation.d.ts +38 -38
  66. package/dist/api-contracts/src/dashboard/index.d.ts +370 -330
  67. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  68. package/dist/api-contracts/src/dashboard/schema.d.ts +7 -6
  69. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  70. package/dist/api-contracts/src/dashboard/validation.d.ts +20 -14
  71. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  72. package/dist/api-contracts/src/evaluate-form/index.d.ts +4 -3
  73. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  74. package/dist/api-contracts/src/evaluate-form/schema.d.ts +3 -2
  75. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  76. package/dist/api-contracts/src/export/index.d.ts +4 -3
  77. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  78. package/dist/api-contracts/src/extension/index.d.ts +109 -104
  79. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  80. package/dist/api-contracts/src/facebook-feed/index.d.ts +1599 -1529
  81. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  82. package/dist/api-contracts/src/facebook-feed/schema.d.ts +43 -32
  83. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  84. package/dist/api-contracts/src/facebook-feed/validation.d.ts +76 -59
  85. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  86. package/dist/api-contracts/src/group/schema.d.ts +3 -2
  87. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  88. package/dist/api-contracts/src/hold-label/index.d.ts +38 -28
  89. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/hold-label/schema.d.ts +3 -2
  91. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  92. package/dist/api-contracts/src/instagram/index.d.ts +1195 -1145
  93. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  94. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  95. package/dist/api-contracts/src/line/index.d.ts +1869 -1819
  96. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  97. package/dist/api-contracts/src/line/schema.d.ts +12 -11
  98. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  99. package/dist/api-contracts/src/line/validation.d.ts +62 -62
  100. package/dist/api-contracts/src/log-form/schema.d.ts +3 -2
  101. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  102. package/dist/api-contracts/src/mail/account-contract.d.ts +135 -127
  103. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  104. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +4 -3
  105. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  106. package/dist/api-contracts/src/mail/mail-contract.d.ts +408 -366
  107. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  108. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +20 -15
  109. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  110. package/dist/api-contracts/src/mail/message-contract.d.ts +113 -107
  111. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  112. package/dist/api-contracts/src/mail/room-contract.d.ts +88 -65
  113. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  114. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  115. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +22 -18
  116. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  117. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +15 -10
  118. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  119. package/dist/api-contracts/src/messenger/index.d.ts +1109 -1057
  120. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  121. package/dist/api-contracts/src/messenger/validation.d.ts +76 -59
  122. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  123. package/dist/api-contracts/src/notification/index.d.ts +16 -12
  124. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  125. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  126. package/dist/api-contracts/src/public-api/index.d.ts +260 -196
  127. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  128. package/dist/api-contracts/src/public-api/schema.d.ts +48 -34
  129. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  130. package/dist/api-contracts/src/public-api/validation.d.ts +113 -88
  131. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  132. package/dist/api-contracts/src/role/index.d.ts +84 -80
  133. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  134. package/dist/api-contracts/src/sms/index.d.ts +81 -80
  135. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  136. package/dist/api-contracts/src/snippet/index.d.ts +76 -54
  137. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  138. package/dist/api-contracts/src/snippet/schema.d.ts +21 -14
  139. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  140. package/dist/api-contracts/src/snippet/validation.d.ts +5 -4
  141. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  142. package/dist/api-contracts/src/subscription/index.d.ts +66 -45
  143. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  144. package/dist/api-contracts/src/subscription/schema.d.ts +90 -60
  145. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  146. package/dist/api-contracts/src/tag/index.d.ts +79 -72
  147. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  148. package/dist/api-contracts/src/tag/schema.d.ts +3 -2
  149. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  150. package/dist/api-contracts/src/tag-group/schema.d.ts +3 -2
  151. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  152. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +75 -67
  153. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  154. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +9 -6
  155. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  156. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  157. package/dist/api-contracts/src/telephony-cdr/index.d.ts +1179 -1116
  158. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  159. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +186 -166
  160. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  161. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +52 -45
  162. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  163. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  164. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  165. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +3 -2
  166. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  167. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +3 -2
  168. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  169. package/dist/api-contracts/src/tenant/schema.d.ts +3 -2
  170. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  171. package/dist/api-contracts/src/ticket/index.d.ts +717 -618
  172. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  173. package/dist/api-contracts/src/ticket/schema.d.ts +81 -58
  174. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  175. package/dist/api-contracts/src/ticket/validation.d.ts +55 -53
  176. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  177. package/dist/api-contracts/src/upload/index.d.ts +36 -34
  178. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  179. package/dist/api-contracts/src/upload/schema.d.ts +3 -2
  180. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  181. package/dist/api-contracts/src/user/index.d.ts +114 -108
  182. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  183. package/dist/api-contracts/src/user/validation.d.ts +5 -4
  184. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  185. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -31
  186. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  187. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +9 -6
  188. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  189. package/dist/api-contracts/src/viber/index.d.ts +994 -946
  190. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  191. package/dist/api-contracts/src/webchat/index.d.ts +962 -917
  192. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  193. package/dist/api-contracts/src/widget/index.d.ts +139 -128
  194. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  195. package/dist/api-contracts/src/widget/schema.d.ts +3 -2
  196. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  197. package/dist/api-contracts/src/workflow-rule/index.d.ts +1092 -1057
  198. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  199. package/dist/api-contracts/src/workflow-rule/schema.d.ts +3 -2
  200. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  201. package/dist/api-contracts/src/wrap-up-form/index.d.ts +166 -147
  202. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  203. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +9 -6
  204. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  205. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +21 -20
  206. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  207. package/dist/api-contracts/utils.d.ts +4 -3
  208. package/dist/api-contracts/utils.d.ts.map +1 -1
  209. package/dist/index.js +1 -1
  210. package/dist/index.js.map +1 -1
  211. package/dist/index.mjs +1 -1
  212. package/dist/index.mjs.map +1 -1
  213. package/package.json +2 -2
@@ -161,8 +161,8 @@ export declare const messengerContract: {
161
161
  id: string;
162
162
  name: string;
163
163
  accessToken?: string | undefined;
164
- channelSecret?: string | undefined;
165
164
  additionalCredentials?: any;
165
+ channelSecret?: string | undefined;
166
166
  vonageCredentials?: {
167
167
  mobileNumber: string;
168
168
  apiKey: string;
@@ -173,8 +173,8 @@ export declare const messengerContract: {
173
173
  id: string;
174
174
  name: string;
175
175
  accessToken?: string | undefined;
176
- channelSecret?: string | undefined;
177
176
  additionalCredentials?: any;
177
+ channelSecret?: string | undefined;
178
178
  vonageCredentials?: {
179
179
  mobileNumber: string;
180
180
  apiKey: string;
@@ -215,8 +215,8 @@ export declare const messengerContract: {
215
215
  id: string;
216
216
  name: string;
217
217
  accessToken?: string | undefined;
218
- channelSecret?: string | undefined;
219
218
  additionalCredentials?: any;
219
+ channelSecret?: string | undefined;
220
220
  vonageCredentials?: {
221
221
  mobileNumber: string;
222
222
  apiKey: string;
@@ -227,9 +227,6 @@ export declare const messengerContract: {
227
227
  status: boolean;
228
228
  brandName: string;
229
229
  platformId: string;
230
- connectedUserName?: string | null | undefined;
231
- connectedUserId?: string | null | undefined;
232
- lineRichMenuId?: string | null | undefined;
233
230
  actor?: {
234
231
  id: string;
235
232
  address: string | null;
@@ -237,6 +234,9 @@ export declare const messengerContract: {
237
234
  email: string;
238
235
  phone: string | null;
239
236
  } | undefined;
237
+ lineRichMenuId?: string | null | undefined;
238
+ connectedUserName?: string | null | undefined;
239
+ connectedUserId?: string | null | undefined;
240
240
  }, {
241
241
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
242
242
  id: string;
@@ -245,8 +245,8 @@ export declare const messengerContract: {
245
245
  id: string;
246
246
  name: string;
247
247
  accessToken?: string | undefined;
248
- channelSecret?: string | undefined;
249
248
  additionalCredentials?: any;
249
+ channelSecret?: string | undefined;
250
250
  vonageCredentials?: {
251
251
  mobileNumber: string;
252
252
  apiKey: string;
@@ -257,9 +257,6 @@ export declare const messengerContract: {
257
257
  status: boolean;
258
258
  brandName: string;
259
259
  platformId: string;
260
- connectedUserName?: string | null | undefined;
261
- connectedUserId?: string | null | undefined;
262
- lineRichMenuId?: string | null | undefined;
263
260
  actor?: {
264
261
  id: string;
265
262
  address: string | null;
@@ -267,6 +264,9 @@ export declare const messengerContract: {
267
264
  email: string;
268
265
  phone: string | null;
269
266
  } | undefined;
267
+ lineRichMenuId?: string | null | undefined;
268
+ connectedUserName?: string | null | undefined;
269
+ connectedUserId?: string | null | undefined;
270
270
  }>;
271
271
  messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
272
272
  }, "strip", z.ZodTypeAny, {
@@ -279,8 +279,8 @@ export declare const messengerContract: {
279
279
  id: string;
280
280
  name: string;
281
281
  accessToken?: string | undefined;
282
- channelSecret?: string | undefined;
283
282
  additionalCredentials?: any;
283
+ channelSecret?: string | undefined;
284
284
  vonageCredentials?: {
285
285
  mobileNumber: string;
286
286
  apiKey: string;
@@ -291,9 +291,6 @@ export declare const messengerContract: {
291
291
  status: boolean;
292
292
  brandName: string;
293
293
  platformId: string;
294
- connectedUserName?: string | null | undefined;
295
- connectedUserId?: string | null | undefined;
296
- lineRichMenuId?: string | null | undefined;
297
294
  actor?: {
298
295
  id: string;
299
296
  address: string | null;
@@ -301,6 +298,9 @@ export declare const messengerContract: {
301
298
  email: string;
302
299
  phone: string | null;
303
300
  } | undefined;
301
+ lineRichMenuId?: string | null | undefined;
302
+ connectedUserName?: string | null | undefined;
303
+ connectedUserId?: string | null | undefined;
304
304
  };
305
305
  direction: "incoming" | "outgoing" | "system";
306
306
  createdAt: string;
@@ -338,9 +338,9 @@ export declare const messengerContract: {
338
338
  name: string;
339
339
  email: string;
340
340
  } | null;
341
+ metadata?: any;
341
342
  lastMessage?: string | undefined;
342
343
  handleTime?: number | undefined;
343
- metadata?: any;
344
344
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
345
345
  }, {
346
346
  id: string;
@@ -352,8 +352,8 @@ export declare const messengerContract: {
352
352
  id: string;
353
353
  name: string;
354
354
  accessToken?: string | undefined;
355
- channelSecret?: string | undefined;
356
355
  additionalCredentials?: any;
356
+ channelSecret?: string | undefined;
357
357
  vonageCredentials?: {
358
358
  mobileNumber: string;
359
359
  apiKey: string;
@@ -364,9 +364,6 @@ export declare const messengerContract: {
364
364
  status: boolean;
365
365
  brandName: string;
366
366
  platformId: string;
367
- connectedUserName?: string | null | undefined;
368
- connectedUserId?: string | null | undefined;
369
- lineRichMenuId?: string | null | undefined;
370
367
  actor?: {
371
368
  id: string;
372
369
  address: string | null;
@@ -374,6 +371,9 @@ export declare const messengerContract: {
374
371
  email: string;
375
372
  phone: string | null;
376
373
  } | undefined;
374
+ lineRichMenuId?: string | null | undefined;
375
+ connectedUserName?: string | null | undefined;
376
+ connectedUserId?: string | null | undefined;
377
377
  };
378
378
  direction: "incoming" | "outgoing" | "system";
379
379
  createdAt: string;
@@ -411,9 +411,9 @@ export declare const messengerContract: {
411
411
  name: string;
412
412
  email: string;
413
413
  } | null;
414
+ metadata?: any;
414
415
  lastMessage?: string | undefined;
415
416
  handleTime?: number | undefined;
416
- metadata?: any;
417
417
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
418
418
  }>;
419
419
  message: z.ZodObject<{
@@ -477,18 +477,11 @@ export declare const messengerContract: {
477
477
  }, "strip", z.ZodTypeAny, {
478
478
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
479
479
  direction: "incoming" | "outgoing" | "system";
480
- id?: string | undefined;
481
480
  message?: string | undefined;
482
- readAt?: string | Date | null | undefined;
483
- metadata?: any;
484
- platformId?: string | undefined;
485
- platformMessageId?: string | undefined;
486
- replyPlatformMessageId?: string | null | undefined;
487
- template?: any;
488
- locale?: "" | "th" | "mm" | "en" | null | undefined;
481
+ id?: string | undefined;
489
482
  url?: string | undefined;
490
- previewUrl?: string | null | undefined;
491
- imageSetId?: string | null | undefined;
483
+ template?: any;
484
+ metadata?: any;
492
485
  upload?: {
493
486
  fileName: string;
494
487
  fileKey: string;
@@ -496,6 +489,13 @@ export declare const messengerContract: {
496
489
  fileSize: number;
497
490
  originalUrl?: string | undefined;
498
491
  } | undefined;
492
+ platformId?: string | undefined;
493
+ platformMessageId?: string | undefined;
494
+ readAt?: string | Date | null | undefined;
495
+ replyPlatformMessageId?: string | null | undefined;
496
+ locale?: "" | "th" | "mm" | "en" | null | undefined;
497
+ previewUrl?: string | null | undefined;
498
+ imageSetId?: string | null | undefined;
499
499
  sender?: {
500
500
  id: string;
501
501
  address: string | null;
@@ -511,18 +511,11 @@ export declare const messengerContract: {
511
511
  }, {
512
512
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
513
513
  direction: "incoming" | "outgoing" | "system";
514
- id?: string | undefined;
515
514
  message?: string | undefined;
516
- readAt?: string | Date | null | undefined;
517
- metadata?: any;
518
- platformId?: string | undefined;
519
- platformMessageId?: string | undefined;
520
- replyPlatformMessageId?: string | null | undefined;
521
- template?: any;
522
- locale?: "" | "th" | "mm" | "en" | null | undefined;
515
+ id?: string | undefined;
523
516
  url?: string | undefined;
524
- previewUrl?: string | null | undefined;
525
- imageSetId?: string | null | undefined;
517
+ template?: any;
518
+ metadata?: any;
526
519
  upload?: {
527
520
  fileName: string;
528
521
  fileKey: string;
@@ -530,6 +523,13 @@ export declare const messengerContract: {
530
523
  fileSize: number;
531
524
  originalUrl?: string | undefined;
532
525
  } | undefined;
526
+ platformId?: string | undefined;
527
+ platformMessageId?: string | undefined;
528
+ readAt?: string | Date | null | undefined;
529
+ replyPlatformMessageId?: string | null | undefined;
530
+ locale?: "" | "th" | "mm" | "en" | null | undefined;
531
+ previewUrl?: string | null | undefined;
532
+ imageSetId?: string | null | undefined;
533
533
  sender?: {
534
534
  id: string;
535
535
  address: string | null;
@@ -547,18 +547,11 @@ export declare const messengerContract: {
547
547
  message: {
548
548
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
549
549
  direction: "incoming" | "outgoing" | "system";
550
- id?: string | undefined;
551
550
  message?: string | undefined;
552
- readAt?: string | Date | null | undefined;
553
- metadata?: any;
554
- platformId?: string | undefined;
555
- platformMessageId?: string | undefined;
556
- replyPlatformMessageId?: string | null | undefined;
557
- template?: any;
558
- locale?: "" | "th" | "mm" | "en" | null | undefined;
551
+ id?: string | undefined;
559
552
  url?: string | undefined;
560
- previewUrl?: string | null | undefined;
561
- imageSetId?: string | null | undefined;
553
+ template?: any;
554
+ metadata?: any;
562
555
  upload?: {
563
556
  fileName: string;
564
557
  fileKey: string;
@@ -566,6 +559,13 @@ export declare const messengerContract: {
566
559
  fileSize: number;
567
560
  originalUrl?: string | undefined;
568
561
  } | undefined;
562
+ platformId?: string | undefined;
563
+ platformMessageId?: string | undefined;
564
+ readAt?: string | Date | null | undefined;
565
+ replyPlatformMessageId?: string | null | undefined;
566
+ locale?: "" | "th" | "mm" | "en" | null | undefined;
567
+ previewUrl?: string | null | undefined;
568
+ imageSetId?: string | null | undefined;
569
569
  sender?: {
570
570
  id: string;
571
571
  address: string | null;
@@ -589,8 +589,8 @@ export declare const messengerContract: {
589
589
  id: string;
590
590
  name: string;
591
591
  accessToken?: string | undefined;
592
- channelSecret?: string | undefined;
593
592
  additionalCredentials?: any;
593
+ channelSecret?: string | undefined;
594
594
  vonageCredentials?: {
595
595
  mobileNumber: string;
596
596
  apiKey: string;
@@ -601,9 +601,6 @@ export declare const messengerContract: {
601
601
  status: boolean;
602
602
  brandName: string;
603
603
  platformId: string;
604
- connectedUserName?: string | null | undefined;
605
- connectedUserId?: string | null | undefined;
606
- lineRichMenuId?: string | null | undefined;
607
604
  actor?: {
608
605
  id: string;
609
606
  address: string | null;
@@ -611,6 +608,9 @@ export declare const messengerContract: {
611
608
  email: string;
612
609
  phone: string | null;
613
610
  } | undefined;
611
+ lineRichMenuId?: string | null | undefined;
612
+ connectedUserName?: string | null | undefined;
613
+ connectedUserId?: string | null | undefined;
614
614
  };
615
615
  direction: "incoming" | "outgoing" | "system";
616
616
  createdAt: string;
@@ -648,9 +648,9 @@ export declare const messengerContract: {
648
648
  name: string;
649
649
  email: string;
650
650
  } | null;
651
+ metadata?: any;
651
652
  lastMessage?: string | undefined;
652
653
  handleTime?: number | undefined;
653
- metadata?: any;
654
654
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
655
655
  };
656
656
  isBot: boolean | null;
@@ -658,18 +658,11 @@ export declare const messengerContract: {
658
658
  message: {
659
659
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
660
660
  direction: "incoming" | "outgoing" | "system";
661
- id?: string | undefined;
662
661
  message?: string | undefined;
663
- readAt?: string | Date | null | undefined;
664
- metadata?: any;
665
- platformId?: string | undefined;
666
- platformMessageId?: string | undefined;
667
- replyPlatformMessageId?: string | null | undefined;
668
- template?: any;
669
- locale?: "" | "th" | "mm" | "en" | null | undefined;
662
+ id?: string | undefined;
670
663
  url?: string | undefined;
671
- previewUrl?: string | null | undefined;
672
- imageSetId?: string | null | undefined;
664
+ template?: any;
665
+ metadata?: any;
673
666
  upload?: {
674
667
  fileName: string;
675
668
  fileKey: string;
@@ -677,6 +670,13 @@ export declare const messengerContract: {
677
670
  fileSize: number;
678
671
  originalUrl?: string | undefined;
679
672
  } | undefined;
673
+ platformId?: string | undefined;
674
+ platformMessageId?: string | undefined;
675
+ readAt?: string | Date | null | undefined;
676
+ replyPlatformMessageId?: string | null | undefined;
677
+ locale?: "" | "th" | "mm" | "en" | null | undefined;
678
+ previewUrl?: string | null | undefined;
679
+ imageSetId?: string | null | undefined;
680
680
  sender?: {
681
681
  id: string;
682
682
  address: string | null;
@@ -700,8 +700,8 @@ export declare const messengerContract: {
700
700
  id: string;
701
701
  name: string;
702
702
  accessToken?: string | undefined;
703
- channelSecret?: string | undefined;
704
703
  additionalCredentials?: any;
704
+ channelSecret?: string | undefined;
705
705
  vonageCredentials?: {
706
706
  mobileNumber: string;
707
707
  apiKey: string;
@@ -712,9 +712,6 @@ export declare const messengerContract: {
712
712
  status: boolean;
713
713
  brandName: string;
714
714
  platformId: string;
715
- connectedUserName?: string | null | undefined;
716
- connectedUserId?: string | null | undefined;
717
- lineRichMenuId?: string | null | undefined;
718
715
  actor?: {
719
716
  id: string;
720
717
  address: string | null;
@@ -722,6 +719,9 @@ export declare const messengerContract: {
722
719
  email: string;
723
720
  phone: string | null;
724
721
  } | undefined;
722
+ lineRichMenuId?: string | null | undefined;
723
+ connectedUserName?: string | null | undefined;
724
+ connectedUserId?: string | null | undefined;
725
725
  };
726
726
  direction: "incoming" | "outgoing" | "system";
727
727
  createdAt: string;
@@ -759,505 +759,73 @@ export declare const messengerContract: {
759
759
  name: string;
760
760
  email: string;
761
761
  } | null;
762
+ metadata?: any;
762
763
  lastMessage?: string | undefined;
763
764
  handleTime?: number | undefined;
764
- metadata?: any;
765
765
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
766
766
  };
767
767
  isBot?: boolean | null | undefined;
768
768
  }>;
769
769
  method: "POST";
770
+ path: "/message";
770
771
  responses: {
771
- 200: z.ZodObject<{
772
+ 200: z.ZodObject<z.objectUtil.extendShape<{
772
773
  requestId: z.ZodString;
773
- data: z.ZodObject<{
774
- type: 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", "unsupported"]>;
775
- message: z.ZodString;
774
+ }, {
775
+ data: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
776
776
  id: z.ZodString;
777
- url: z.ZodString;
778
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
779
- template: z.ZodAny;
780
- metadata: z.ZodAny;
781
777
  createdAt: z.ZodDate;
782
778
  updatedAt: z.ZodDate;
783
779
  deletedAt: z.ZodNullable<z.ZodDate>;
784
- actor: z.ZodObject<{
780
+ }, {
781
+ message: z.ZodString;
782
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
783
+ type: 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", "unsupported"]>;
784
+ readAt: z.ZodDate;
785
+ metadata: z.ZodAny;
786
+ platformId: z.ZodString;
787
+ platformMessageId: z.ZodString;
788
+ replyPlatformMessageId: z.ZodString;
789
+ template: z.ZodAny;
790
+ locale: z.ZodEnum<["mm", "en", "th", ""]>;
791
+ url: z.ZodString;
792
+ previewUrl: z.ZodString;
793
+ imageSetId: z.ZodString;
794
+ room: z.ZodObject<z.objectUtil.extendShape<{
785
795
  id: z.ZodString;
786
796
  createdAt: z.ZodDate;
787
797
  updatedAt: z.ZodDate;
788
798
  deletedAt: z.ZodNullable<z.ZodDate>;
789
- name: z.ZodString;
790
- email: z.ZodString;
791
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
792
- password: z.ZodString;
793
- address: z.ZodNullable<z.ZodString>;
794
- phone: z.ZodNullable<z.ZodString>;
795
- notificationCount: z.ZodNullable<z.ZodNumber>;
796
- roles: z.ZodArray<z.ZodObject<{
799
+ }, {
800
+ lastMessage: z.ZodString;
801
+ handleTime: z.ZodNumber;
802
+ closedAt: z.ZodDate;
803
+ lastMessageAt: z.ZodNullable<z.ZodDate>;
804
+ status: z.ZodNumber;
805
+ unreadCount: z.ZodNumber;
806
+ firstResponseAt: z.ZodDate;
807
+ firstResponseTime: z.ZodNumber;
808
+ isLatest: z.ZodBoolean;
809
+ isBotRoom: z.ZodBoolean;
810
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
811
+ platformContact: z.ZodObject<{
797
812
  id: z.ZodString;
798
813
  createdAt: z.ZodDate;
799
814
  updatedAt: z.ZodDate;
800
815
  deletedAt: z.ZodNullable<z.ZodDate>;
801
- systemName: z.ZodString;
802
- displayName: z.ZodString;
803
- description: z.ZodNullable<z.ZodString>;
804
- permissions: z.ZodArray<z.ZodObject<{
816
+ channelId: z.ZodString;
817
+ socialPlatformId: z.ZodString;
818
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
819
+ metadata: z.ZodObject<{
805
820
  id: z.ZodString;
806
- createdAt: z.ZodDate;
807
- updatedAt: z.ZodDate;
808
- deletedAt: z.ZodNullable<z.ZodDate>;
809
- systemName: z.ZodString;
810
- displayName: z.ZodString;
811
- description: z.ZodNullable<z.ZodString>;
821
+ name: z.ZodString;
822
+ picture: z.ZodOptional<z.ZodString>;
823
+ additionalCredentials: z.ZodAny;
812
824
  }, "strip", z.ZodTypeAny, {
813
825
  id: string;
814
- description: string | null;
815
- createdAt: Date;
816
- updatedAt: Date;
817
- deletedAt: Date | null;
818
- systemName: string;
819
- displayName: string;
820
- }, {
821
- id: string;
822
- description: string | null;
823
- createdAt: Date;
824
- updatedAt: Date;
825
- deletedAt: Date | null;
826
- systemName: string;
827
- displayName: string;
828
- }>, "many">;
829
- }, "strip", z.ZodTypeAny, {
830
- id: string;
831
- description: string | null;
832
- createdAt: Date;
833
- updatedAt: Date;
834
- deletedAt: Date | null;
835
- systemName: string;
836
- displayName: string;
837
- permissions: {
838
- id: string;
839
- description: string | null;
840
- createdAt: Date;
841
- updatedAt: Date;
842
- deletedAt: Date | null;
843
- systemName: string;
844
- displayName: string;
845
- }[];
846
- }, {
847
- id: string;
848
- description: string | null;
849
- createdAt: Date;
850
- updatedAt: Date;
851
- deletedAt: Date | null;
852
- systemName: string;
853
- displayName: string;
854
- permissions: {
855
- id: string;
856
- description: string | null;
857
- createdAt: Date;
858
- updatedAt: Date;
859
- deletedAt: Date | null;
860
- systemName: string;
861
- displayName: string;
862
- }[];
863
- }>, "many">;
864
- extension: z.ZodObject<{
865
- id: z.ZodString;
866
- createdAt: z.ZodDate;
867
- updatedAt: z.ZodDate;
868
- deletedAt: z.ZodNullable<z.ZodDate>;
869
- userId: z.ZodNullable<z.ZodString>;
870
- sipServerUrl: z.ZodString;
871
- sipUserName: z.ZodString;
872
- webphoneLoginUser: z.ZodString;
873
- extensionId: z.ZodNullable<z.ZodString>;
874
- extensionName: z.ZodString;
875
- telephonySignature: z.ZodNullable<z.ZodString>;
876
- }, "strip", z.ZodTypeAny, {
877
- id: string;
878
- createdAt: Date;
879
- updatedAt: Date;
880
- deletedAt: Date | null;
881
- userId: string | null;
882
- sipServerUrl: string;
883
- sipUserName: string;
884
- webphoneLoginUser: string;
885
- extensionId: string | null;
886
- extensionName: string;
887
- telephonySignature: string | null;
888
- }, {
889
- id: string;
890
- createdAt: Date;
891
- updatedAt: Date;
892
- deletedAt: Date | null;
893
- userId: string | null;
894
- sipServerUrl: string;
895
- sipUserName: string;
896
- webphoneLoginUser: string;
897
- extensionId: string | null;
898
- extensionName: string;
899
- telephonySignature: string | null;
900
- }>;
901
- }, "strip", z.ZodTypeAny, {
902
- id: string;
903
- address: string | null;
904
- name: string;
905
- email: string;
906
- createdAt: Date;
907
- updatedAt: Date;
908
- deletedAt: Date | null;
909
- emailVerifiedAt: Date | null;
910
- password: string;
911
- phone: string | null;
912
- notificationCount: number | null;
913
- roles: {
914
- id: string;
915
- description: string | null;
916
- createdAt: Date;
917
- updatedAt: Date;
918
- deletedAt: Date | null;
919
- systemName: string;
920
- displayName: string;
921
- permissions: {
922
- id: string;
923
- description: string | null;
924
- createdAt: Date;
925
- updatedAt: Date;
926
- deletedAt: Date | null;
927
- systemName: string;
928
- displayName: string;
929
- }[];
930
- }[];
931
- extension: {
932
- id: string;
933
- createdAt: Date;
934
- updatedAt: Date;
935
- deletedAt: Date | null;
936
- userId: string | null;
937
- sipServerUrl: string;
938
- sipUserName: string;
939
- webphoneLoginUser: string;
940
- extensionId: string | null;
941
- extensionName: string;
942
- telephonySignature: string | null;
943
- };
944
- }, {
945
- id: string;
946
- address: string | null;
947
- name: string;
948
- email: string;
949
- createdAt: Date;
950
- updatedAt: Date;
951
- deletedAt: Date | null;
952
- emailVerifiedAt: Date | null;
953
- password: string;
954
- phone: string | null;
955
- notificationCount: number | null;
956
- roles: {
957
- id: string;
958
- description: string | null;
959
- createdAt: Date;
960
- updatedAt: Date;
961
- deletedAt: Date | null;
962
- systemName: string;
963
- displayName: string;
964
- permissions: {
965
- id: string;
966
- description: string | null;
967
- createdAt: Date;
968
- updatedAt: Date;
969
- deletedAt: Date | null;
970
- systemName: string;
971
- displayName: string;
972
- }[];
973
- }[];
974
- extension: {
975
- id: string;
976
- createdAt: Date;
977
- updatedAt: Date;
978
- deletedAt: Date | null;
979
- userId: string | null;
980
- sipServerUrl: string;
981
- sipUserName: string;
982
- webphoneLoginUser: string;
983
- extensionId: string | null;
984
- extensionName: string;
985
- telephonySignature: string | null;
986
- };
987
- }>;
988
- upload: z.ZodObject<{
989
- id: z.ZodString;
990
- createdAt: z.ZodDate;
991
- updatedAt: z.ZodDate;
992
- deletedAt: z.ZodNullable<z.ZodDate>;
993
- bucketName: z.ZodString;
994
- fileName: z.ZodString;
995
- fileSize: z.ZodNumber;
996
- fileKey: z.ZodString;
997
- fileUrl: z.ZodNullable<z.ZodString>;
998
- status: z.ZodNullable<z.ZodString>;
999
- }, "strip", z.ZodTypeAny, {
1000
- id: string;
1001
- status: string | null;
1002
- createdAt: Date;
1003
- updatedAt: Date;
1004
- deletedAt: Date | null;
1005
- fileName: string;
1006
- fileKey: string;
1007
- bucketName: string;
1008
- fileSize: number;
1009
- fileUrl: string | null;
1010
- }, {
1011
- id: string;
1012
- status: string | null;
1013
- createdAt: Date;
1014
- updatedAt: Date;
1015
- deletedAt: Date | null;
1016
- fileName: string;
1017
- fileKey: string;
1018
- bucketName: string;
1019
- fileSize: number;
1020
- fileUrl: string | null;
1021
- }>;
1022
- assignee: z.ZodObject<{
1023
- id: z.ZodString;
1024
- createdAt: z.ZodDate;
1025
- updatedAt: z.ZodDate;
1026
- deletedAt: z.ZodNullable<z.ZodDate>;
1027
- name: z.ZodString;
1028
- email: z.ZodString;
1029
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1030
- password: z.ZodString;
1031
- address: z.ZodNullable<z.ZodString>;
1032
- phone: z.ZodNullable<z.ZodString>;
1033
- notificationCount: z.ZodNullable<z.ZodNumber>;
1034
- roles: z.ZodArray<z.ZodObject<{
1035
- id: z.ZodString;
1036
- createdAt: z.ZodDate;
1037
- updatedAt: z.ZodDate;
1038
- deletedAt: z.ZodNullable<z.ZodDate>;
1039
- systemName: z.ZodString;
1040
- displayName: z.ZodString;
1041
- description: z.ZodNullable<z.ZodString>;
1042
- permissions: z.ZodArray<z.ZodObject<{
1043
- id: z.ZodString;
1044
- createdAt: z.ZodDate;
1045
- updatedAt: z.ZodDate;
1046
- deletedAt: z.ZodNullable<z.ZodDate>;
1047
- systemName: z.ZodString;
1048
- displayName: z.ZodString;
1049
- description: z.ZodNullable<z.ZodString>;
1050
- }, "strip", z.ZodTypeAny, {
1051
- id: string;
1052
- description: string | null;
1053
- createdAt: Date;
1054
- updatedAt: Date;
1055
- deletedAt: Date | null;
1056
- systemName: string;
1057
- displayName: string;
1058
- }, {
1059
- id: string;
1060
- description: string | null;
1061
- createdAt: Date;
1062
- updatedAt: Date;
1063
- deletedAt: Date | null;
1064
- systemName: string;
1065
- displayName: string;
1066
- }>, "many">;
1067
- }, "strip", z.ZodTypeAny, {
1068
- id: string;
1069
- description: string | null;
1070
- createdAt: Date;
1071
- updatedAt: Date;
1072
- deletedAt: Date | null;
1073
- systemName: string;
1074
- displayName: string;
1075
- permissions: {
1076
- id: string;
1077
- description: string | null;
1078
- createdAt: Date;
1079
- updatedAt: Date;
1080
- deletedAt: Date | null;
1081
- systemName: string;
1082
- displayName: string;
1083
- }[];
1084
- }, {
1085
- id: string;
1086
- description: string | null;
1087
- createdAt: Date;
1088
- updatedAt: Date;
1089
- deletedAt: Date | null;
1090
- systemName: string;
1091
- displayName: string;
1092
- permissions: {
1093
- id: string;
1094
- description: string | null;
1095
- createdAt: Date;
1096
- updatedAt: Date;
1097
- deletedAt: Date | null;
1098
- systemName: string;
1099
- displayName: string;
1100
- }[];
1101
- }>, "many">;
1102
- extension: z.ZodObject<{
1103
- id: z.ZodString;
1104
- createdAt: z.ZodDate;
1105
- updatedAt: z.ZodDate;
1106
- deletedAt: z.ZodNullable<z.ZodDate>;
1107
- userId: z.ZodNullable<z.ZodString>;
1108
- sipServerUrl: z.ZodString;
1109
- sipUserName: z.ZodString;
1110
- webphoneLoginUser: z.ZodString;
1111
- extensionId: z.ZodNullable<z.ZodString>;
1112
- extensionName: z.ZodString;
1113
- telephonySignature: z.ZodNullable<z.ZodString>;
1114
- }, "strip", z.ZodTypeAny, {
1115
- id: string;
1116
- createdAt: Date;
1117
- updatedAt: Date;
1118
- deletedAt: Date | null;
1119
- userId: string | null;
1120
- sipServerUrl: string;
1121
- sipUserName: string;
1122
- webphoneLoginUser: string;
1123
- extensionId: string | null;
1124
- extensionName: string;
1125
- telephonySignature: string | null;
1126
- }, {
1127
- id: string;
1128
- createdAt: Date;
1129
- updatedAt: Date;
1130
- deletedAt: Date | null;
1131
- userId: string | null;
1132
- sipServerUrl: string;
1133
- sipUserName: string;
1134
- webphoneLoginUser: string;
1135
- extensionId: string | null;
1136
- extensionName: string;
1137
- telephonySignature: string | null;
1138
- }>;
1139
- }, "strip", z.ZodTypeAny, {
1140
- id: string;
1141
- address: string | null;
1142
- name: string;
1143
- email: string;
1144
- createdAt: Date;
1145
- updatedAt: Date;
1146
- deletedAt: Date | null;
1147
- emailVerifiedAt: Date | null;
1148
- password: string;
1149
- phone: string | null;
1150
- notificationCount: number | null;
1151
- roles: {
1152
- id: string;
1153
- description: string | null;
1154
- createdAt: Date;
1155
- updatedAt: Date;
1156
- deletedAt: Date | null;
1157
- systemName: string;
1158
- displayName: string;
1159
- permissions: {
1160
- id: string;
1161
- description: string | null;
1162
- createdAt: Date;
1163
- updatedAt: Date;
1164
- deletedAt: Date | null;
1165
- systemName: string;
1166
- displayName: string;
1167
- }[];
1168
- }[];
1169
- extension: {
1170
- id: string;
1171
- createdAt: Date;
1172
- updatedAt: Date;
1173
- deletedAt: Date | null;
1174
- userId: string | null;
1175
- sipServerUrl: string;
1176
- sipUserName: string;
1177
- webphoneLoginUser: string;
1178
- extensionId: string | null;
1179
- extensionName: string;
1180
- telephonySignature: string | null;
1181
- };
1182
- }, {
1183
- id: string;
1184
- address: string | null;
1185
- name: string;
1186
- email: string;
1187
- createdAt: Date;
1188
- updatedAt: Date;
1189
- deletedAt: Date | null;
1190
- emailVerifiedAt: Date | null;
1191
- password: string;
1192
- phone: string | null;
1193
- notificationCount: number | null;
1194
- roles: {
1195
- id: string;
1196
- description: string | null;
1197
- createdAt: Date;
1198
- updatedAt: Date;
1199
- deletedAt: Date | null;
1200
- systemName: string;
1201
- displayName: string;
1202
- permissions: {
1203
- id: string;
1204
- description: string | null;
1205
- createdAt: Date;
1206
- updatedAt: Date;
1207
- deletedAt: Date | null;
1208
- systemName: string;
1209
- displayName: string;
1210
- }[];
1211
- }[];
1212
- extension: {
1213
- id: string;
1214
- createdAt: Date;
1215
- updatedAt: Date;
1216
- deletedAt: Date | null;
1217
- userId: string | null;
1218
- sipServerUrl: string;
1219
- sipUserName: string;
1220
- webphoneLoginUser: string;
1221
- extensionId: string | null;
1222
- extensionName: string;
1223
- telephonySignature: string | null;
1224
- };
1225
- }>;
1226
- platformId: z.ZodString;
1227
- room: z.ZodObject<{
1228
- id: z.ZodString;
1229
- createdAt: z.ZodDate;
1230
- updatedAt: z.ZodDate;
1231
- deletedAt: z.ZodNullable<z.ZodDate>;
1232
- lastMessage: z.ZodString;
1233
- handleTime: z.ZodNumber;
1234
- closedAt: z.ZodDate;
1235
- lastMessageAt: z.ZodNullable<z.ZodDate>;
1236
- status: z.ZodNumber;
1237
- unreadCount: z.ZodNumber;
1238
- firstResponseAt: z.ZodDate;
1239
- firstResponseTime: z.ZodNumber;
1240
- isLatest: z.ZodBoolean;
1241
- isBotRoom: z.ZodBoolean;
1242
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1243
- platformContact: z.ZodObject<{
1244
- id: z.ZodString;
1245
- createdAt: z.ZodDate;
1246
- updatedAt: z.ZodDate;
1247
- deletedAt: z.ZodNullable<z.ZodDate>;
1248
- channelId: z.ZodString;
1249
- socialPlatformId: z.ZodString;
1250
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
1251
- metadata: z.ZodObject<{
1252
- id: z.ZodString;
1253
- name: z.ZodString;
1254
- picture: z.ZodOptional<z.ZodString>;
1255
- additionalCredentials: z.ZodAny;
1256
- }, "strip", z.ZodTypeAny, {
1257
- id: string;
1258
- name: string;
1259
- picture?: string | undefined;
1260
- additionalCredentials?: any;
826
+ name: string;
827
+ picture?: string | undefined;
828
+ additionalCredentials?: any;
1261
829
  }, {
1262
830
  id: string;
1263
831
  name: string;
@@ -1275,13 +843,14 @@ export declare const messengerContract: {
1275
843
  notes: z.ZodNullable<z.ZodString>;
1276
844
  contactProfile: z.ZodNullable<z.ZodString>;
1277
845
  socialProfileUrl: z.ZodNullable<z.ZodString>;
1278
- tags: z.ZodArray<z.ZodObject<{
846
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1279
847
  id: z.ZodString;
1280
848
  createdAt: z.ZodDate;
1281
849
  updatedAt: z.ZodDate;
1282
850
  deletedAt: z.ZodNullable<z.ZodDate>;
851
+ }, {
1283
852
  name: z.ZodString;
1284
- }, "strip", z.ZodTypeAny, {
853
+ }>, "strip", z.ZodTypeAny, {
1285
854
  id: string;
1286
855
  name: string;
1287
856
  createdAt: Date;
@@ -1294,29 +863,32 @@ export declare const messengerContract: {
1294
863
  updatedAt: Date;
1295
864
  deletedAt: Date | null;
1296
865
  }>, "many">;
1297
- company: z.ZodNullable<z.ZodObject<Omit<{
866
+ company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
1298
867
  id: z.ZodString;
1299
868
  createdAt: z.ZodDate;
1300
869
  updatedAt: z.ZodDate;
1301
870
  deletedAt: z.ZodNullable<z.ZodDate>;
871
+ }, {
1302
872
  name: z.ZodOptional<z.ZodString>;
1303
873
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1304
874
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1305
875
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1306
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
876
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1307
877
  id: z.ZodString;
1308
878
  createdAt: z.ZodDate;
1309
879
  updatedAt: z.ZodDate;
1310
880
  deletedAt: z.ZodNullable<z.ZodDate>;
881
+ }, {
1311
882
  textValue: z.ZodNullable<z.ZodString>;
1312
883
  booleanValue: z.ZodNullable<z.ZodBoolean>;
1313
884
  numberValue: z.ZodNullable<z.ZodNumber>;
1314
885
  dateValue: z.ZodNullable<z.ZodDate>;
1315
- attribute: z.ZodObject<Omit<{
886
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
1316
887
  id: z.ZodString;
1317
888
  createdAt: z.ZodDate;
1318
889
  updatedAt: z.ZodDate;
1319
890
  deletedAt: z.ZodNullable<z.ZodDate>;
891
+ }, {
1320
892
  systemName: z.ZodString;
1321
893
  displayName: z.ZodString;
1322
894
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -1325,13 +897,14 @@ export declare const messengerContract: {
1325
897
  isArchived: z.ZodBoolean;
1326
898
  isRequired: z.ZodBoolean;
1327
899
  isUnique: z.ZodBoolean;
1328
- options: z.ZodArray<z.ZodObject<{
1329
- position: z.ZodNumber;
1330
- value: z.ZodString;
900
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1331
901
  label: z.ZodString;
902
+ value: z.ZodString;
1332
903
  isDefault: z.ZodBoolean;
904
+ position: z.ZodNumber;
905
+ }, {
1333
906
  id: z.ZodString;
1334
- }, "strip", z.ZodTypeAny, {
907
+ }>, "strip", z.ZodTypeAny, {
1335
908
  id: string;
1336
909
  position: number;
1337
910
  value: string;
@@ -1344,14 +917,15 @@ export declare const messengerContract: {
1344
917
  label: string;
1345
918
  isDefault: boolean;
1346
919
  }>, "many">;
1347
- group: z.ZodObject<{
920
+ group: z.ZodObject<z.objectUtil.extendShape<{
1348
921
  id: z.ZodString;
1349
922
  createdAt: z.ZodDate;
1350
923
  updatedAt: z.ZodDate;
1351
924
  deletedAt: z.ZodNullable<z.ZodDate>;
925
+ }, {
1352
926
  systemName: z.ZodString;
1353
927
  displayName: z.ZodString;
1354
- }, "strip", z.ZodTypeAny, {
928
+ }>, "strip", z.ZodTypeAny, {
1355
929
  id: string;
1356
930
  createdAt: Date;
1357
931
  updatedAt: Date;
@@ -1366,7 +940,7 @@ export declare const messengerContract: {
1366
940
  systemName: string;
1367
941
  displayName: string;
1368
942
  }>;
1369
- }, "options" | "group">, "strip", z.ZodTypeAny, {
943
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
1370
944
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1371
945
  id: string;
1372
946
  position: number;
@@ -1393,7 +967,7 @@ export declare const messengerContract: {
1393
967
  isRequired: boolean;
1394
968
  isUnique: boolean;
1395
969
  }>;
1396
- }, "strip", z.ZodTypeAny, {
970
+ }>, "strip", z.ZodTypeAny, {
1397
971
  id: string;
1398
972
  createdAt: Date;
1399
973
  updatedAt: Date;
@@ -1440,7 +1014,7 @@ export declare const messengerContract: {
1440
1014
  numberValue: number | null;
1441
1015
  dateValue: Date | null;
1442
1016
  }>, "many">>;
1443
- }, "customFields">, "strip", z.ZodTypeAny, {
1017
+ }>, "customFields">, "strip", z.ZodTypeAny, {
1444
1018
  id: string;
1445
1019
  createdAt: Date;
1446
1020
  updatedAt: Date;
@@ -1468,11 +1042,12 @@ export declare const messengerContract: {
1468
1042
  booleanValue: z.ZodNullable<z.ZodBoolean>;
1469
1043
  numberValue: z.ZodNullable<z.ZodNumber>;
1470
1044
  dateValue: z.ZodNullable<z.ZodDate>;
1471
- attribute: z.ZodObject<Omit<{
1045
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
1472
1046
  id: z.ZodString;
1473
1047
  createdAt: z.ZodDate;
1474
1048
  updatedAt: z.ZodDate;
1475
1049
  deletedAt: z.ZodNullable<z.ZodDate>;
1050
+ }, {
1476
1051
  systemName: z.ZodString;
1477
1052
  displayName: z.ZodString;
1478
1053
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -1481,13 +1056,14 @@ export declare const messengerContract: {
1481
1056
  isArchived: z.ZodBoolean;
1482
1057
  isRequired: z.ZodBoolean;
1483
1058
  isUnique: z.ZodBoolean;
1484
- options: z.ZodArray<z.ZodObject<{
1485
- position: z.ZodNumber;
1486
- value: z.ZodString;
1059
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1487
1060
  label: z.ZodString;
1061
+ value: z.ZodString;
1488
1062
  isDefault: z.ZodBoolean;
1063
+ position: z.ZodNumber;
1064
+ }, {
1489
1065
  id: z.ZodString;
1490
- }, "strip", z.ZodTypeAny, {
1066
+ }>, "strip", z.ZodTypeAny, {
1491
1067
  id: string;
1492
1068
  position: number;
1493
1069
  value: string;
@@ -1500,14 +1076,15 @@ export declare const messengerContract: {
1500
1076
  label: string;
1501
1077
  isDefault: boolean;
1502
1078
  }>, "many">;
1503
- group: z.ZodObject<{
1079
+ group: z.ZodObject<z.objectUtil.extendShape<{
1504
1080
  id: z.ZodString;
1505
1081
  createdAt: z.ZodDate;
1506
1082
  updatedAt: z.ZodDate;
1507
1083
  deletedAt: z.ZodNullable<z.ZodDate>;
1084
+ }, {
1508
1085
  systemName: z.ZodString;
1509
1086
  displayName: z.ZodString;
1510
- }, "strip", z.ZodTypeAny, {
1087
+ }>, "strip", z.ZodTypeAny, {
1511
1088
  id: string;
1512
1089
  createdAt: Date;
1513
1090
  updatedAt: Date;
@@ -1522,7 +1099,7 @@ export declare const messengerContract: {
1522
1099
  systemName: string;
1523
1100
  displayName: string;
1524
1101
  }>;
1525
- }, "options" | "group">, "strip", z.ZodTypeAny, {
1102
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
1526
1103
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1527
1104
  id: string;
1528
1105
  position: number;
@@ -1549,18 +1126,19 @@ export declare const messengerContract: {
1549
1126
  isRequired: boolean;
1550
1127
  isUnique: boolean;
1551
1128
  }>;
1552
- uploads: z.ZodArray<z.ZodObject<{
1129
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1553
1130
  id: z.ZodString;
1554
1131
  createdAt: z.ZodDate;
1555
1132
  updatedAt: z.ZodDate;
1556
1133
  deletedAt: z.ZodNullable<z.ZodDate>;
1134
+ }, {
1557
1135
  bucketName: z.ZodString;
1558
1136
  fileName: z.ZodString;
1559
1137
  fileSize: z.ZodNumber;
1560
1138
  fileKey: z.ZodString;
1561
1139
  fileUrl: z.ZodNullable<z.ZodString>;
1562
1140
  status: z.ZodNullable<z.ZodString>;
1563
- }, "strip", z.ZodTypeAny, {
1141
+ }>, "strip", z.ZodTypeAny, {
1564
1142
  id: string;
1565
1143
  status: string | null;
1566
1144
  createdAt: Date;
@@ -2613,8 +2191,8 @@ export declare const messengerContract: {
2613
2191
  id: string;
2614
2192
  name: string;
2615
2193
  accessToken?: string | undefined;
2616
- channelSecret?: string | undefined;
2617
2194
  additionalCredentials?: any;
2195
+ channelSecret?: string | undefined;
2618
2196
  vonageCredentials?: {
2619
2197
  mobileNumber: string;
2620
2198
  apiKey: string;
@@ -2625,8 +2203,8 @@ export declare const messengerContract: {
2625
2203
  id: string;
2626
2204
  name: string;
2627
2205
  accessToken?: string | undefined;
2628
- channelSecret?: string | undefined;
2629
2206
  additionalCredentials?: any;
2207
+ channelSecret?: string | undefined;
2630
2208
  vonageCredentials?: {
2631
2209
  mobileNumber: string;
2632
2210
  apiKey: string;
@@ -2871,8 +2449,8 @@ export declare const messengerContract: {
2871
2449
  id: string;
2872
2450
  name: string;
2873
2451
  accessToken?: string | undefined;
2874
- channelSecret?: string | undefined;
2875
2452
  additionalCredentials?: any;
2453
+ channelSecret?: string | undefined;
2876
2454
  vonageCredentials?: {
2877
2455
  mobileNumber: string;
2878
2456
  apiKey: string;
@@ -2948,8 +2526,8 @@ export declare const messengerContract: {
2948
2526
  id: string;
2949
2527
  name: string;
2950
2528
  accessToken?: string | undefined;
2951
- channelSecret?: string | undefined;
2952
2529
  additionalCredentials?: any;
2530
+ channelSecret?: string | undefined;
2953
2531
  vonageCredentials?: {
2954
2532
  mobileNumber: string;
2955
2533
  apiKey: string;
@@ -3018,11 +2596,12 @@ export declare const messengerContract: {
3018
2596
  integrationId: string;
3019
2597
  } | null;
3020
2598
  }>;
3021
- cxlog: z.ZodObject<{
2599
+ cxlog: z.ZodObject<z.objectUtil.extendShape<{
3022
2600
  id: z.ZodString;
3023
2601
  createdAt: z.ZodDate;
3024
2602
  updatedAt: z.ZodDate;
3025
2603
  deletedAt: z.ZodNullable<z.ZodDate>;
2604
+ }, {
3026
2605
  caseId: z.ZodNumber;
3027
2606
  entityId: z.ZodString;
3028
2607
  entityName: z.ZodString;
@@ -3034,21 +2613,23 @@ export declare const messengerContract: {
3034
2613
  startedDate: z.ZodNullable<z.ZodDate>;
3035
2614
  handledTime: z.ZodNullable<z.ZodNumber>;
3036
2615
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
3037
- wrapUpForm: z.ZodNullable<z.ZodObject<{
2616
+ wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
3038
2617
  id: z.ZodString;
3039
2618
  createdAt: z.ZodDate;
3040
2619
  updatedAt: z.ZodDate;
3041
2620
  deletedAt: z.ZodNullable<z.ZodDate>;
2621
+ }, {
3042
2622
  note: z.ZodNullable<z.ZodString>;
3043
2623
  disposition: z.ZodNullable<z.ZodString>;
3044
2624
  type: z.ZodString;
3045
- tags: z.ZodArray<z.ZodObject<{
2625
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3046
2626
  id: z.ZodString;
3047
2627
  createdAt: z.ZodDate;
3048
2628
  updatedAt: z.ZodDate;
3049
2629
  deletedAt: z.ZodNullable<z.ZodDate>;
2630
+ }, {
3050
2631
  name: z.ZodString;
3051
- }, "strip", z.ZodTypeAny, {
2632
+ }>, "strip", z.ZodTypeAny, {
3052
2633
  id: string;
3053
2634
  name: string;
3054
2635
  createdAt: Date;
@@ -3061,11 +2642,12 @@ export declare const messengerContract: {
3061
2642
  updatedAt: Date;
3062
2643
  deletedAt: Date | null;
3063
2644
  }>, "many">;
3064
- categories: z.ZodArray<z.ZodObject<{
2645
+ categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3065
2646
  id: z.ZodString;
3066
2647
  createdAt: z.ZodDate;
3067
2648
  updatedAt: z.ZodDate;
3068
2649
  deletedAt: z.ZodNullable<z.ZodDate>;
2650
+ }, {
3069
2651
  value: z.ZodString;
3070
2652
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3071
2653
  parentId: z.ZodNullable<z.ZodString>;
@@ -3118,7 +2700,7 @@ export declare const messengerContract: {
3118
2700
  childCategoryList: any[];
3119
2701
  }[];
3120
2702
  }>, "many">;
3121
- }, "strip", z.ZodTypeAny, {
2703
+ }>, "strip", z.ZodTypeAny, {
3122
2704
  id: string;
3123
2705
  value: string;
3124
2706
  createdAt: Date;
@@ -3197,7 +2779,7 @@ export declare const messengerContract: {
3197
2779
  numberValue: number | null;
3198
2780
  dateValue: Date | null;
3199
2781
  }>, "many">>>;
3200
- }, "strip", z.ZodTypeAny, {
2782
+ }>, "strip", z.ZodTypeAny, {
3201
2783
  type: string;
3202
2784
  id: string;
3203
2785
  disposition: string | null;
@@ -3300,7 +2882,7 @@ export declare const messengerContract: {
3300
2882
  dateValue: Date | null;
3301
2883
  }[] | null | undefined;
3302
2884
  }>>;
3303
- }, "strip", z.ZodTypeAny, {
2885
+ }>, "strip", z.ZodTypeAny, {
3304
2886
  id: string;
3305
2887
  channel: string | null;
3306
2888
  direction: string | null;
@@ -3437,15 +3019,16 @@ export declare const messengerContract: {
3437
3019
  }[] | null | undefined;
3438
3020
  } | null;
3439
3021
  }>;
3440
- workflowRule: z.ZodObject<{
3022
+ workflowRule: z.ZodObject<z.objectUtil.extendShape<{
3441
3023
  id: z.ZodString;
3442
3024
  createdAt: z.ZodDate;
3443
3025
  updatedAt: z.ZodDate;
3444
3026
  deletedAt: z.ZodNullable<z.ZodDate>;
3027
+ }, {
3445
3028
  name: z.ZodString;
3446
3029
  isActive: z.ZodBoolean;
3447
3030
  type: z.ZodString;
3448
- }, "strip", z.ZodTypeAny, {
3031
+ }>, "strip", z.ZodTypeAny, {
3449
3032
  type: string;
3450
3033
  id: string;
3451
3034
  name: string;
@@ -3462,7 +3045,7 @@ export declare const messengerContract: {
3462
3045
  deletedAt: Date | null;
3463
3046
  isActive: boolean;
3464
3047
  }>;
3465
- }, "strip", z.ZodTypeAny, {
3048
+ }>, "strip", z.ZodTypeAny, {
3466
3049
  id: string;
3467
3050
  channel: {
3468
3051
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
@@ -3472,8 +3055,8 @@ export declare const messengerContract: {
3472
3055
  id: string;
3473
3056
  name: string;
3474
3057
  accessToken?: string | undefined;
3475
- channelSecret?: string | undefined;
3476
3058
  additionalCredentials?: any;
3059
+ channelSecret?: string | undefined;
3477
3060
  vonageCredentials?: {
3478
3061
  mobileNumber: string;
3479
3062
  apiKey: string;
@@ -3844,8 +3427,8 @@ export declare const messengerContract: {
3844
3427
  id: string;
3845
3428
  name: string;
3846
3429
  accessToken?: string | undefined;
3847
- channelSecret?: string | undefined;
3848
3430
  additionalCredentials?: any;
3431
+ channelSecret?: string | undefined;
3849
3432
  vonageCredentials?: {
3850
3433
  mobileNumber: string;
3851
3434
  apiKey: string;
@@ -4207,42 +3790,47 @@ export declare const messengerContract: {
4207
3790
  isActive: boolean;
4208
3791
  };
4209
3792
  }>;
4210
- platformMessageId: z.ZodString;
4211
- workflowRule: z.ZodObject<{
3793
+ upload: z.ZodObject<z.objectUtil.extendShape<{
4212
3794
  id: z.ZodString;
4213
3795
  createdAt: z.ZodDate;
4214
3796
  updatedAt: z.ZodDate;
4215
3797
  deletedAt: z.ZodNullable<z.ZodDate>;
4216
- name: z.ZodString;
4217
- isActive: z.ZodBoolean;
4218
- type: z.ZodString;
4219
- }, "strip", z.ZodTypeAny, {
4220
- type: string;
3798
+ }, {
3799
+ bucketName: z.ZodString;
3800
+ fileName: z.ZodString;
3801
+ fileSize: z.ZodNumber;
3802
+ fileKey: z.ZodString;
3803
+ fileUrl: z.ZodNullable<z.ZodString>;
3804
+ status: z.ZodNullable<z.ZodString>;
3805
+ }>, "strip", z.ZodTypeAny, {
4221
3806
  id: string;
4222
- name: string;
3807
+ status: string | null;
4223
3808
  createdAt: Date;
4224
3809
  updatedAt: Date;
4225
3810
  deletedAt: Date | null;
4226
- isActive: boolean;
3811
+ fileName: string;
3812
+ fileKey: string;
3813
+ bucketName: string;
3814
+ fileSize: number;
3815
+ fileUrl: string | null;
4227
3816
  }, {
4228
- type: string;
4229
3817
  id: string;
4230
- name: string;
3818
+ status: string | null;
4231
3819
  createdAt: Date;
4232
3820
  updatedAt: Date;
4233
3821
  deletedAt: Date | null;
4234
- isActive: boolean;
3822
+ fileName: string;
3823
+ fileKey: string;
3824
+ bucketName: string;
3825
+ fileSize: number;
3826
+ fileUrl: string | null;
4235
3827
  }>;
4236
- readAt: z.ZodDate;
4237
- replyPlatformMessageId: z.ZodString;
4238
- locale: z.ZodEnum<["mm", "en", "th", ""]>;
4239
- previewUrl: z.ZodString;
4240
- imageSetId: z.ZodString;
4241
- repliedMessage: z.ZodLazy<z.ZodObject<{
3828
+ repliedMessage: z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
4242
3829
  id: z.ZodString;
4243
3830
  createdAt: z.ZodDate;
4244
3831
  updatedAt: z.ZodDate;
4245
3832
  deletedAt: z.ZodNullable<z.ZodDate>;
3833
+ }, {
4246
3834
  message: z.ZodString;
4247
3835
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4248
3836
  type: 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", "unsupported"]>;
@@ -4256,18 +3844,19 @@ export declare const messengerContract: {
4256
3844
  url: z.ZodString;
4257
3845
  previewUrl: z.ZodString;
4258
3846
  imageSetId: z.ZodString;
4259
- upload: z.ZodObject<{
3847
+ upload: z.ZodObject<z.objectUtil.extendShape<{
4260
3848
  id: z.ZodString;
4261
3849
  createdAt: z.ZodDate;
4262
3850
  updatedAt: z.ZodDate;
4263
3851
  deletedAt: z.ZodNullable<z.ZodDate>;
3852
+ }, {
4264
3853
  bucketName: z.ZodString;
4265
3854
  fileName: z.ZodString;
4266
3855
  fileSize: z.ZodNumber;
4267
3856
  fileKey: z.ZodString;
4268
3857
  fileUrl: z.ZodNullable<z.ZodString>;
4269
3858
  status: z.ZodNullable<z.ZodString>;
4270
- }, "strip", z.ZodTypeAny, {
3859
+ }>, "strip", z.ZodTypeAny, {
4271
3860
  id: string;
4272
3861
  status: string | null;
4273
3862
  createdAt: Date;
@@ -4858,7 +4447,278 @@ export declare const messengerContract: {
4858
4447
  extensionName: string;
4859
4448
  telephonySignature: string | null;
4860
4449
  };
4861
- }, {
4450
+ }, {
4451
+ id: string;
4452
+ address: string | null;
4453
+ name: string;
4454
+ email: string;
4455
+ createdAt: Date;
4456
+ updatedAt: Date;
4457
+ deletedAt: Date | null;
4458
+ emailVerifiedAt: Date | null;
4459
+ password: string;
4460
+ phone: string | null;
4461
+ notificationCount: number | null;
4462
+ roles: {
4463
+ id: string;
4464
+ description: string | null;
4465
+ createdAt: Date;
4466
+ updatedAt: Date;
4467
+ deletedAt: Date | null;
4468
+ systemName: string;
4469
+ displayName: string;
4470
+ permissions: {
4471
+ id: string;
4472
+ description: string | null;
4473
+ createdAt: Date;
4474
+ updatedAt: Date;
4475
+ deletedAt: Date | null;
4476
+ systemName: string;
4477
+ displayName: string;
4478
+ }[];
4479
+ }[];
4480
+ extension: {
4481
+ id: string;
4482
+ createdAt: Date;
4483
+ updatedAt: Date;
4484
+ deletedAt: Date | null;
4485
+ userId: string | null;
4486
+ sipServerUrl: string;
4487
+ sipUserName: string;
4488
+ webphoneLoginUser: string;
4489
+ extensionId: string | null;
4490
+ extensionName: string;
4491
+ telephonySignature: string | null;
4492
+ };
4493
+ }>;
4494
+ }>, "strip", z.ZodTypeAny, {
4495
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
4496
+ message: string;
4497
+ id: string;
4498
+ url: string;
4499
+ direction: "incoming" | "outgoing" | "system";
4500
+ createdAt: Date;
4501
+ updatedAt: Date;
4502
+ deletedAt: Date | null;
4503
+ actor: {
4504
+ id: string;
4505
+ address: string | null;
4506
+ name: string;
4507
+ email: string;
4508
+ createdAt: Date;
4509
+ updatedAt: Date;
4510
+ deletedAt: Date | null;
4511
+ emailVerifiedAt: Date | null;
4512
+ password: string;
4513
+ phone: string | null;
4514
+ notificationCount: number | null;
4515
+ roles: {
4516
+ id: string;
4517
+ description: string | null;
4518
+ createdAt: Date;
4519
+ updatedAt: Date;
4520
+ deletedAt: Date | null;
4521
+ systemName: string;
4522
+ displayName: string;
4523
+ permissions: {
4524
+ id: string;
4525
+ description: string | null;
4526
+ createdAt: Date;
4527
+ updatedAt: Date;
4528
+ deletedAt: Date | null;
4529
+ systemName: string;
4530
+ displayName: string;
4531
+ }[];
4532
+ }[];
4533
+ extension: {
4534
+ id: string;
4535
+ createdAt: Date;
4536
+ updatedAt: Date;
4537
+ deletedAt: Date | null;
4538
+ userId: string | null;
4539
+ sipServerUrl: string;
4540
+ sipUserName: string;
4541
+ webphoneLoginUser: string;
4542
+ extensionId: string | null;
4543
+ extensionName: string;
4544
+ telephonySignature: string | null;
4545
+ };
4546
+ };
4547
+ upload: {
4548
+ id: string;
4549
+ status: string | null;
4550
+ createdAt: Date;
4551
+ updatedAt: Date;
4552
+ deletedAt: Date | null;
4553
+ fileName: string;
4554
+ fileKey: string;
4555
+ bucketName: string;
4556
+ fileSize: number;
4557
+ fileUrl: string | null;
4558
+ };
4559
+ assignee: {
4560
+ id: string;
4561
+ address: string | null;
4562
+ name: string;
4563
+ email: string;
4564
+ createdAt: Date;
4565
+ updatedAt: Date;
4566
+ deletedAt: Date | null;
4567
+ emailVerifiedAt: Date | null;
4568
+ password: string;
4569
+ phone: string | null;
4570
+ notificationCount: number | null;
4571
+ roles: {
4572
+ id: string;
4573
+ description: string | null;
4574
+ createdAt: Date;
4575
+ updatedAt: Date;
4576
+ deletedAt: Date | null;
4577
+ systemName: string;
4578
+ displayName: string;
4579
+ permissions: {
4580
+ id: string;
4581
+ description: string | null;
4582
+ createdAt: Date;
4583
+ updatedAt: Date;
4584
+ deletedAt: Date | null;
4585
+ systemName: string;
4586
+ displayName: string;
4587
+ }[];
4588
+ }[];
4589
+ extension: {
4590
+ id: string;
4591
+ createdAt: Date;
4592
+ updatedAt: Date;
4593
+ deletedAt: Date | null;
4594
+ userId: string | null;
4595
+ sipServerUrl: string;
4596
+ sipUserName: string;
4597
+ webphoneLoginUser: string;
4598
+ extensionId: string | null;
4599
+ extensionName: string;
4600
+ telephonySignature: string | null;
4601
+ };
4602
+ };
4603
+ platformId: string;
4604
+ platformMessageId: string;
4605
+ readAt: Date;
4606
+ replyPlatformMessageId: string;
4607
+ locale: "" | "th" | "mm" | "en";
4608
+ previewUrl: string;
4609
+ imageSetId: string;
4610
+ sender: {
4611
+ id: string;
4612
+ address: string | null;
4613
+ name: string;
4614
+ email: string;
4615
+ createdAt: Date;
4616
+ updatedAt: Date;
4617
+ deletedAt: Date | null;
4618
+ emailVerifiedAt: Date | null;
4619
+ password: string;
4620
+ phone: string | null;
4621
+ notificationCount: number | null;
4622
+ roles: {
4623
+ id: string;
4624
+ description: string | null;
4625
+ createdAt: Date;
4626
+ updatedAt: Date;
4627
+ deletedAt: Date | null;
4628
+ systemName: string;
4629
+ displayName: string;
4630
+ permissions: {
4631
+ id: string;
4632
+ description: string | null;
4633
+ createdAt: Date;
4634
+ updatedAt: Date;
4635
+ deletedAt: Date | null;
4636
+ systemName: string;
4637
+ displayName: string;
4638
+ }[];
4639
+ }[];
4640
+ extension: {
4641
+ id: string;
4642
+ createdAt: Date;
4643
+ updatedAt: Date;
4644
+ deletedAt: Date | null;
4645
+ userId: string | null;
4646
+ sipServerUrl: string;
4647
+ sipUserName: string;
4648
+ webphoneLoginUser: string;
4649
+ extensionId: string | null;
4650
+ extensionName: string;
4651
+ telephonySignature: string | null;
4652
+ };
4653
+ };
4654
+ template?: any;
4655
+ metadata?: any;
4656
+ }, {
4657
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
4658
+ message: string;
4659
+ id: string;
4660
+ url: string;
4661
+ direction: "incoming" | "outgoing" | "system";
4662
+ createdAt: Date;
4663
+ updatedAt: Date;
4664
+ deletedAt: Date | null;
4665
+ actor: {
4666
+ id: string;
4667
+ address: string | null;
4668
+ name: string;
4669
+ email: string;
4670
+ createdAt: Date;
4671
+ updatedAt: Date;
4672
+ deletedAt: Date | null;
4673
+ emailVerifiedAt: Date | null;
4674
+ password: string;
4675
+ phone: string | null;
4676
+ notificationCount: number | null;
4677
+ roles: {
4678
+ id: string;
4679
+ description: string | null;
4680
+ createdAt: Date;
4681
+ updatedAt: Date;
4682
+ deletedAt: Date | null;
4683
+ systemName: string;
4684
+ displayName: string;
4685
+ permissions: {
4686
+ id: string;
4687
+ description: string | null;
4688
+ createdAt: Date;
4689
+ updatedAt: Date;
4690
+ deletedAt: Date | null;
4691
+ systemName: string;
4692
+ displayName: string;
4693
+ }[];
4694
+ }[];
4695
+ extension: {
4696
+ id: string;
4697
+ createdAt: Date;
4698
+ updatedAt: Date;
4699
+ deletedAt: Date | null;
4700
+ userId: string | null;
4701
+ sipServerUrl: string;
4702
+ sipUserName: string;
4703
+ webphoneLoginUser: string;
4704
+ extensionId: string | null;
4705
+ extensionName: string;
4706
+ telephonySignature: string | null;
4707
+ };
4708
+ };
4709
+ upload: {
4710
+ id: string;
4711
+ status: string | null;
4712
+ createdAt: Date;
4713
+ updatedAt: Date;
4714
+ deletedAt: Date | null;
4715
+ fileName: string;
4716
+ fileKey: string;
4717
+ bucketName: string;
4718
+ fileSize: number;
4719
+ fileUrl: string | null;
4720
+ };
4721
+ assignee: {
4862
4722
  id: string;
4863
4723
  address: string | null;
4864
4724
  name: string;
@@ -4901,17 +4761,15 @@ export declare const messengerContract: {
4901
4761
  extensionName: string;
4902
4762
  telephonySignature: string | null;
4903
4763
  };
4904
- }>;
4905
- }, "strip", z.ZodTypeAny, {
4906
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
4907
- message: string;
4908
- id: string;
4909
- url: string;
4910
- direction: "incoming" | "outgoing" | "system";
4911
- createdAt: Date;
4912
- updatedAt: Date;
4913
- deletedAt: Date | null;
4914
- actor: {
4764
+ };
4765
+ platformId: string;
4766
+ platformMessageId: string;
4767
+ readAt: Date;
4768
+ replyPlatformMessageId: string;
4769
+ locale: "" | "th" | "mm" | "en";
4770
+ previewUrl: string;
4771
+ imageSetId: string;
4772
+ sender: {
4915
4773
  id: string;
4916
4774
  address: string | null;
4917
4775
  name: string;
@@ -4955,31 +4813,242 @@ export declare const messengerContract: {
4955
4813
  telephonySignature: string | null;
4956
4814
  };
4957
4815
  };
4958
- upload: {
4816
+ template?: any;
4817
+ metadata?: any;
4818
+ }>>;
4819
+ actor: z.ZodObject<{
4820
+ id: z.ZodString;
4821
+ createdAt: z.ZodDate;
4822
+ updatedAt: z.ZodDate;
4823
+ deletedAt: z.ZodNullable<z.ZodDate>;
4824
+ name: z.ZodString;
4825
+ email: z.ZodString;
4826
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4827
+ password: z.ZodString;
4828
+ address: z.ZodNullable<z.ZodString>;
4829
+ phone: z.ZodNullable<z.ZodString>;
4830
+ notificationCount: z.ZodNullable<z.ZodNumber>;
4831
+ roles: z.ZodArray<z.ZodObject<{
4832
+ id: z.ZodString;
4833
+ createdAt: z.ZodDate;
4834
+ updatedAt: z.ZodDate;
4835
+ deletedAt: z.ZodNullable<z.ZodDate>;
4836
+ systemName: z.ZodString;
4837
+ displayName: z.ZodString;
4838
+ description: z.ZodNullable<z.ZodString>;
4839
+ permissions: z.ZodArray<z.ZodObject<{
4840
+ id: z.ZodString;
4841
+ createdAt: z.ZodDate;
4842
+ updatedAt: z.ZodDate;
4843
+ deletedAt: z.ZodNullable<z.ZodDate>;
4844
+ systemName: z.ZodString;
4845
+ displayName: z.ZodString;
4846
+ description: z.ZodNullable<z.ZodString>;
4847
+ }, "strip", z.ZodTypeAny, {
4848
+ id: string;
4849
+ description: string | null;
4850
+ createdAt: Date;
4851
+ updatedAt: Date;
4852
+ deletedAt: Date | null;
4853
+ systemName: string;
4854
+ displayName: string;
4855
+ }, {
4856
+ id: string;
4857
+ description: string | null;
4858
+ createdAt: Date;
4859
+ updatedAt: Date;
4860
+ deletedAt: Date | null;
4861
+ systemName: string;
4862
+ displayName: string;
4863
+ }>, "many">;
4864
+ }, "strip", z.ZodTypeAny, {
4959
4865
  id: string;
4960
- status: string | null;
4866
+ description: string | null;
4961
4867
  createdAt: Date;
4962
4868
  updatedAt: Date;
4963
4869
  deletedAt: Date | null;
4964
- fileName: string;
4965
- fileKey: string;
4966
- bucketName: string;
4967
- fileSize: number;
4968
- fileUrl: string | null;
4870
+ systemName: string;
4871
+ displayName: string;
4872
+ permissions: {
4873
+ id: string;
4874
+ description: string | null;
4875
+ createdAt: Date;
4876
+ updatedAt: Date;
4877
+ deletedAt: Date | null;
4878
+ systemName: string;
4879
+ displayName: string;
4880
+ }[];
4881
+ }, {
4882
+ id: string;
4883
+ description: string | null;
4884
+ createdAt: Date;
4885
+ updatedAt: Date;
4886
+ deletedAt: Date | null;
4887
+ systemName: string;
4888
+ displayName: string;
4889
+ permissions: {
4890
+ id: string;
4891
+ description: string | null;
4892
+ createdAt: Date;
4893
+ updatedAt: Date;
4894
+ deletedAt: Date | null;
4895
+ systemName: string;
4896
+ displayName: string;
4897
+ }[];
4898
+ }>, "many">;
4899
+ extension: z.ZodObject<{
4900
+ id: z.ZodString;
4901
+ createdAt: z.ZodDate;
4902
+ updatedAt: z.ZodDate;
4903
+ deletedAt: z.ZodNullable<z.ZodDate>;
4904
+ userId: z.ZodNullable<z.ZodString>;
4905
+ sipServerUrl: z.ZodString;
4906
+ sipUserName: z.ZodString;
4907
+ webphoneLoginUser: z.ZodString;
4908
+ extensionId: z.ZodNullable<z.ZodString>;
4909
+ extensionName: z.ZodString;
4910
+ telephonySignature: z.ZodNullable<z.ZodString>;
4911
+ }, "strip", z.ZodTypeAny, {
4912
+ id: string;
4913
+ createdAt: Date;
4914
+ updatedAt: Date;
4915
+ deletedAt: Date | null;
4916
+ userId: string | null;
4917
+ sipServerUrl: string;
4918
+ sipUserName: string;
4919
+ webphoneLoginUser: string;
4920
+ extensionId: string | null;
4921
+ extensionName: string;
4922
+ telephonySignature: string | null;
4923
+ }, {
4924
+ id: string;
4925
+ createdAt: Date;
4926
+ updatedAt: Date;
4927
+ deletedAt: Date | null;
4928
+ userId: string | null;
4929
+ sipServerUrl: string;
4930
+ sipUserName: string;
4931
+ webphoneLoginUser: string;
4932
+ extensionId: string | null;
4933
+ extensionName: string;
4934
+ telephonySignature: string | null;
4935
+ }>;
4936
+ }, "strip", z.ZodTypeAny, {
4937
+ id: string;
4938
+ address: string | null;
4939
+ name: string;
4940
+ email: string;
4941
+ createdAt: Date;
4942
+ updatedAt: Date;
4943
+ deletedAt: Date | null;
4944
+ emailVerifiedAt: Date | null;
4945
+ password: string;
4946
+ phone: string | null;
4947
+ notificationCount: number | null;
4948
+ roles: {
4949
+ id: string;
4950
+ description: string | null;
4951
+ createdAt: Date;
4952
+ updatedAt: Date;
4953
+ deletedAt: Date | null;
4954
+ systemName: string;
4955
+ displayName: string;
4956
+ permissions: {
4957
+ id: string;
4958
+ description: string | null;
4959
+ createdAt: Date;
4960
+ updatedAt: Date;
4961
+ deletedAt: Date | null;
4962
+ systemName: string;
4963
+ displayName: string;
4964
+ }[];
4965
+ }[];
4966
+ extension: {
4967
+ id: string;
4968
+ createdAt: Date;
4969
+ updatedAt: Date;
4970
+ deletedAt: Date | null;
4971
+ userId: string | null;
4972
+ sipServerUrl: string;
4973
+ sipUserName: string;
4974
+ webphoneLoginUser: string;
4975
+ extensionId: string | null;
4976
+ extensionName: string;
4977
+ telephonySignature: string | null;
4969
4978
  };
4970
- assignee: {
4979
+ }, {
4980
+ id: string;
4981
+ address: string | null;
4982
+ name: string;
4983
+ email: string;
4984
+ createdAt: Date;
4985
+ updatedAt: Date;
4986
+ deletedAt: Date | null;
4987
+ emailVerifiedAt: Date | null;
4988
+ password: string;
4989
+ phone: string | null;
4990
+ notificationCount: number | null;
4991
+ roles: {
4971
4992
  id: string;
4972
- address: string | null;
4973
- name: string;
4974
- email: string;
4993
+ description: string | null;
4975
4994
  createdAt: Date;
4976
4995
  updatedAt: Date;
4977
4996
  deletedAt: Date | null;
4978
- emailVerifiedAt: Date | null;
4979
- password: string;
4980
- phone: string | null;
4981
- notificationCount: number | null;
4982
- roles: {
4997
+ systemName: string;
4998
+ displayName: string;
4999
+ permissions: {
5000
+ id: string;
5001
+ description: string | null;
5002
+ createdAt: Date;
5003
+ updatedAt: Date;
5004
+ deletedAt: Date | null;
5005
+ systemName: string;
5006
+ displayName: string;
5007
+ }[];
5008
+ }[];
5009
+ extension: {
5010
+ id: string;
5011
+ createdAt: Date;
5012
+ updatedAt: Date;
5013
+ deletedAt: Date | null;
5014
+ userId: string | null;
5015
+ sipServerUrl: string;
5016
+ sipUserName: string;
5017
+ webphoneLoginUser: string;
5018
+ extensionId: string | null;
5019
+ extensionName: string;
5020
+ telephonySignature: string | null;
5021
+ };
5022
+ }>;
5023
+ assignee: z.ZodObject<{
5024
+ id: z.ZodString;
5025
+ createdAt: z.ZodDate;
5026
+ updatedAt: z.ZodDate;
5027
+ deletedAt: z.ZodNullable<z.ZodDate>;
5028
+ name: z.ZodString;
5029
+ email: z.ZodString;
5030
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
5031
+ password: z.ZodString;
5032
+ address: z.ZodNullable<z.ZodString>;
5033
+ phone: z.ZodNullable<z.ZodString>;
5034
+ notificationCount: z.ZodNullable<z.ZodNumber>;
5035
+ roles: z.ZodArray<z.ZodObject<{
5036
+ id: z.ZodString;
5037
+ createdAt: z.ZodDate;
5038
+ updatedAt: z.ZodDate;
5039
+ deletedAt: z.ZodNullable<z.ZodDate>;
5040
+ systemName: z.ZodString;
5041
+ displayName: z.ZodString;
5042
+ description: z.ZodNullable<z.ZodString>;
5043
+ permissions: z.ZodArray<z.ZodObject<{
5044
+ id: z.ZodString;
5045
+ createdAt: z.ZodDate;
5046
+ updatedAt: z.ZodDate;
5047
+ deletedAt: z.ZodNullable<z.ZodDate>;
5048
+ systemName: z.ZodString;
5049
+ displayName: z.ZodString;
5050
+ description: z.ZodNullable<z.ZodString>;
5051
+ }, "strip", z.ZodTypeAny, {
4983
5052
  id: string;
4984
5053
  description: string | null;
4985
5054
  createdAt: Date;
@@ -4987,50 +5056,24 @@ export declare const messengerContract: {
4987
5056
  deletedAt: Date | null;
4988
5057
  systemName: string;
4989
5058
  displayName: string;
4990
- permissions: {
4991
- id: string;
4992
- description: string | null;
4993
- createdAt: Date;
4994
- updatedAt: Date;
4995
- deletedAt: Date | null;
4996
- systemName: string;
4997
- displayName: string;
4998
- }[];
4999
- }[];
5000
- extension: {
5059
+ }, {
5001
5060
  id: string;
5061
+ description: string | null;
5002
5062
  createdAt: Date;
5003
5063
  updatedAt: Date;
5004
5064
  deletedAt: Date | null;
5005
- userId: string | null;
5006
- sipServerUrl: string;
5007
- sipUserName: string;
5008
- webphoneLoginUser: string;
5009
- extensionId: string | null;
5010
- extensionName: string;
5011
- telephonySignature: string | null;
5012
- };
5013
- };
5014
- platformId: string;
5015
- platformMessageId: string;
5016
- readAt: Date;
5017
- replyPlatformMessageId: string;
5018
- locale: "" | "th" | "mm" | "en";
5019
- previewUrl: string;
5020
- imageSetId: string;
5021
- sender: {
5065
+ systemName: string;
5066
+ displayName: string;
5067
+ }>, "many">;
5068
+ }, "strip", z.ZodTypeAny, {
5022
5069
  id: string;
5023
- address: string | null;
5024
- name: string;
5025
- email: string;
5070
+ description: string | null;
5026
5071
  createdAt: Date;
5027
5072
  updatedAt: Date;
5028
5073
  deletedAt: Date | null;
5029
- emailVerifiedAt: Date | null;
5030
- password: string;
5031
- phone: string | null;
5032
- notificationCount: number | null;
5033
- roles: {
5074
+ systemName: string;
5075
+ displayName: string;
5076
+ permissions: {
5034
5077
  id: string;
5035
5078
  description: string | null;
5036
5079
  createdAt: Date;
@@ -5038,54 +5081,16 @@ export declare const messengerContract: {
5038
5081
  deletedAt: Date | null;
5039
5082
  systemName: string;
5040
5083
  displayName: string;
5041
- permissions: {
5042
- id: string;
5043
- description: string | null;
5044
- createdAt: Date;
5045
- updatedAt: Date;
5046
- deletedAt: Date | null;
5047
- systemName: string;
5048
- displayName: string;
5049
- }[];
5050
5084
  }[];
5051
- extension: {
5052
- id: string;
5053
- createdAt: Date;
5054
- updatedAt: Date;
5055
- deletedAt: Date | null;
5056
- userId: string | null;
5057
- sipServerUrl: string;
5058
- sipUserName: string;
5059
- webphoneLoginUser: string;
5060
- extensionId: string | null;
5061
- extensionName: string;
5062
- telephonySignature: string | null;
5063
- };
5064
- };
5065
- metadata?: any;
5066
- template?: any;
5067
- }, {
5068
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
5069
- message: string;
5070
- id: string;
5071
- url: string;
5072
- direction: "incoming" | "outgoing" | "system";
5073
- createdAt: Date;
5074
- updatedAt: Date;
5075
- deletedAt: Date | null;
5076
- actor: {
5085
+ }, {
5077
5086
  id: string;
5078
- address: string | null;
5079
- name: string;
5080
- email: string;
5087
+ description: string | null;
5081
5088
  createdAt: Date;
5082
5089
  updatedAt: Date;
5083
5090
  deletedAt: Date | null;
5084
- emailVerifiedAt: Date | null;
5085
- password: string;
5086
- phone: string | null;
5087
- notificationCount: number | null;
5088
- roles: {
5091
+ systemName: string;
5092
+ displayName: string;
5093
+ permissions: {
5089
5094
  id: string;
5090
5095
  description: string | null;
5091
5096
  createdAt: Date;
@@ -5093,55 +5098,66 @@ export declare const messengerContract: {
5093
5098
  deletedAt: Date | null;
5094
5099
  systemName: string;
5095
5100
  displayName: string;
5096
- permissions: {
5097
- id: string;
5098
- description: string | null;
5099
- createdAt: Date;
5100
- updatedAt: Date;
5101
- deletedAt: Date | null;
5102
- systemName: string;
5103
- displayName: string;
5104
- }[];
5105
5101
  }[];
5106
- extension: {
5107
- id: string;
5108
- createdAt: Date;
5109
- updatedAt: Date;
5110
- deletedAt: Date | null;
5111
- userId: string | null;
5112
- sipServerUrl: string;
5113
- sipUserName: string;
5114
- webphoneLoginUser: string;
5115
- extensionId: string | null;
5116
- extensionName: string;
5117
- telephonySignature: string | null;
5118
- };
5119
- };
5120
- upload: {
5102
+ }>, "many">;
5103
+ extension: z.ZodObject<{
5104
+ id: z.ZodString;
5105
+ createdAt: z.ZodDate;
5106
+ updatedAt: z.ZodDate;
5107
+ deletedAt: z.ZodNullable<z.ZodDate>;
5108
+ userId: z.ZodNullable<z.ZodString>;
5109
+ sipServerUrl: z.ZodString;
5110
+ sipUserName: z.ZodString;
5111
+ webphoneLoginUser: z.ZodString;
5112
+ extensionId: z.ZodNullable<z.ZodString>;
5113
+ extensionName: z.ZodString;
5114
+ telephonySignature: z.ZodNullable<z.ZodString>;
5115
+ }, "strip", z.ZodTypeAny, {
5121
5116
  id: string;
5122
- status: string | null;
5123
5117
  createdAt: Date;
5124
5118
  updatedAt: Date;
5125
5119
  deletedAt: Date | null;
5126
- fileName: string;
5127
- fileKey: string;
5128
- bucketName: string;
5129
- fileSize: number;
5130
- fileUrl: string | null;
5131
- };
5132
- assignee: {
5120
+ userId: string | null;
5121
+ sipServerUrl: string;
5122
+ sipUserName: string;
5123
+ webphoneLoginUser: string;
5124
+ extensionId: string | null;
5125
+ extensionName: string;
5126
+ telephonySignature: string | null;
5127
+ }, {
5133
5128
  id: string;
5134
- address: string | null;
5135
- name: string;
5136
- email: string;
5137
5129
  createdAt: Date;
5138
5130
  updatedAt: Date;
5139
5131
  deletedAt: Date | null;
5140
- emailVerifiedAt: Date | null;
5141
- password: string;
5142
- phone: string | null;
5143
- notificationCount: number | null;
5144
- roles: {
5132
+ userId: string | null;
5133
+ sipServerUrl: string;
5134
+ sipUserName: string;
5135
+ webphoneLoginUser: string;
5136
+ extensionId: string | null;
5137
+ extensionName: string;
5138
+ telephonySignature: string | null;
5139
+ }>;
5140
+ }, "strip", z.ZodTypeAny, {
5141
+ id: string;
5142
+ address: string | null;
5143
+ name: string;
5144
+ email: string;
5145
+ createdAt: Date;
5146
+ updatedAt: Date;
5147
+ deletedAt: Date | null;
5148
+ emailVerifiedAt: Date | null;
5149
+ password: string;
5150
+ phone: string | null;
5151
+ notificationCount: number | null;
5152
+ roles: {
5153
+ id: string;
5154
+ description: string | null;
5155
+ createdAt: Date;
5156
+ updatedAt: Date;
5157
+ deletedAt: Date | null;
5158
+ systemName: string;
5159
+ displayName: string;
5160
+ permissions: {
5145
5161
  id: string;
5146
5162
  description: string | null;
5147
5163
  createdAt: Date;
@@ -5149,50 +5165,42 @@ export declare const messengerContract: {
5149
5165
  deletedAt: Date | null;
5150
5166
  systemName: string;
5151
5167
  displayName: string;
5152
- permissions: {
5153
- id: string;
5154
- description: string | null;
5155
- createdAt: Date;
5156
- updatedAt: Date;
5157
- deletedAt: Date | null;
5158
- systemName: string;
5159
- displayName: string;
5160
- }[];
5161
5168
  }[];
5162
- extension: {
5163
- id: string;
5164
- createdAt: Date;
5165
- updatedAt: Date;
5166
- deletedAt: Date | null;
5167
- userId: string | null;
5168
- sipServerUrl: string;
5169
- sipUserName: string;
5170
- webphoneLoginUser: string;
5171
- extensionId: string | null;
5172
- extensionName: string;
5173
- telephonySignature: string | null;
5174
- };
5169
+ }[];
5170
+ extension: {
5171
+ id: string;
5172
+ createdAt: Date;
5173
+ updatedAt: Date;
5174
+ deletedAt: Date | null;
5175
+ userId: string | null;
5176
+ sipServerUrl: string;
5177
+ sipUserName: string;
5178
+ webphoneLoginUser: string;
5179
+ extensionId: string | null;
5180
+ extensionName: string;
5181
+ telephonySignature: string | null;
5175
5182
  };
5176
- platformId: string;
5177
- platformMessageId: string;
5178
- readAt: Date;
5179
- replyPlatformMessageId: string;
5180
- locale: "" | "th" | "mm" | "en";
5181
- previewUrl: string;
5182
- imageSetId: string;
5183
- sender: {
5183
+ }, {
5184
+ id: string;
5185
+ address: string | null;
5186
+ name: string;
5187
+ email: string;
5188
+ createdAt: Date;
5189
+ updatedAt: Date;
5190
+ deletedAt: Date | null;
5191
+ emailVerifiedAt: Date | null;
5192
+ password: string;
5193
+ phone: string | null;
5194
+ notificationCount: number | null;
5195
+ roles: {
5184
5196
  id: string;
5185
- address: string | null;
5186
- name: string;
5187
- email: string;
5197
+ description: string | null;
5188
5198
  createdAt: Date;
5189
5199
  updatedAt: Date;
5190
5200
  deletedAt: Date | null;
5191
- emailVerifiedAt: Date | null;
5192
- password: string;
5193
- phone: string | null;
5194
- notificationCount: number | null;
5195
- roles: {
5201
+ systemName: string;
5202
+ displayName: string;
5203
+ permissions: {
5196
5204
  id: string;
5197
5205
  description: string | null;
5198
5206
  createdAt: Date;
@@ -5200,33 +5208,22 @@ export declare const messengerContract: {
5200
5208
  deletedAt: Date | null;
5201
5209
  systemName: string;
5202
5210
  displayName: string;
5203
- permissions: {
5204
- id: string;
5205
- description: string | null;
5206
- createdAt: Date;
5207
- updatedAt: Date;
5208
- deletedAt: Date | null;
5209
- systemName: string;
5210
- displayName: string;
5211
- }[];
5212
5211
  }[];
5213
- extension: {
5214
- id: string;
5215
- createdAt: Date;
5216
- updatedAt: Date;
5217
- deletedAt: Date | null;
5218
- userId: string | null;
5219
- sipServerUrl: string;
5220
- sipUserName: string;
5221
- webphoneLoginUser: string;
5222
- extensionId: string | null;
5223
- extensionName: string;
5224
- telephonySignature: string | null;
5225
- };
5212
+ }[];
5213
+ extension: {
5214
+ id: string;
5215
+ createdAt: Date;
5216
+ updatedAt: Date;
5217
+ deletedAt: Date | null;
5218
+ userId: string | null;
5219
+ sipServerUrl: string;
5220
+ sipUserName: string;
5221
+ webphoneLoginUser: string;
5222
+ extensionId: string | null;
5223
+ extensionName: string;
5224
+ telephonySignature: string | null;
5226
5225
  };
5227
- metadata?: any;
5228
- template?: any;
5229
- }>>;
5226
+ }>;
5230
5227
  sender: z.ZodObject<{
5231
5228
  id: z.ZodString;
5232
5229
  createdAt: z.ZodDate;
@@ -5431,12 +5428,40 @@ export declare const messengerContract: {
5431
5428
  telephonySignature: string | null;
5432
5429
  };
5433
5430
  }>;
5431
+ workflowRule: z.ZodObject<z.objectUtil.extendShape<{
5432
+ id: z.ZodString;
5433
+ createdAt: z.ZodDate;
5434
+ updatedAt: z.ZodDate;
5435
+ deletedAt: z.ZodNullable<z.ZodDate>;
5436
+ }, {
5437
+ name: z.ZodString;
5438
+ isActive: z.ZodBoolean;
5439
+ type: z.ZodString;
5440
+ }>, "strip", z.ZodTypeAny, {
5441
+ type: string;
5442
+ id: string;
5443
+ name: string;
5444
+ createdAt: Date;
5445
+ updatedAt: Date;
5446
+ deletedAt: Date | null;
5447
+ isActive: boolean;
5448
+ }, {
5449
+ type: string;
5450
+ id: string;
5451
+ name: string;
5452
+ createdAt: Date;
5453
+ updatedAt: Date;
5454
+ deletedAt: Date | null;
5455
+ isActive: boolean;
5456
+ }>;
5434
5457
  editedMessageid: z.ZodString;
5435
- fromMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5458
+ }>, {
5459
+ fromMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
5436
5460
  id: z.ZodString;
5437
5461
  createdAt: z.ZodDate;
5438
5462
  updatedAt: z.ZodDate;
5439
5463
  deletedAt: z.ZodNullable<z.ZodDate>;
5464
+ }, {
5440
5465
  message: z.ZodString;
5441
5466
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
5442
5467
  type: 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", "unsupported"]>;
@@ -5450,11 +5475,12 @@ export declare const messengerContract: {
5450
5475
  url: z.ZodString;
5451
5476
  previewUrl: z.ZodString;
5452
5477
  imageSetId: z.ZodString;
5453
- room: z.ZodObject<{
5478
+ room: z.ZodObject<z.objectUtil.extendShape<{
5454
5479
  id: z.ZodString;
5455
5480
  createdAt: z.ZodDate;
5456
5481
  updatedAt: z.ZodDate;
5457
5482
  deletedAt: z.ZodNullable<z.ZodDate>;
5483
+ }, {
5458
5484
  lastMessage: z.ZodString;
5459
5485
  handleTime: z.ZodNumber;
5460
5486
  closedAt: z.ZodDate;
@@ -5501,13 +5527,14 @@ export declare const messengerContract: {
5501
5527
  notes: z.ZodNullable<z.ZodString>;
5502
5528
  contactProfile: z.ZodNullable<z.ZodString>;
5503
5529
  socialProfileUrl: z.ZodNullable<z.ZodString>;
5504
- tags: z.ZodArray<z.ZodObject<{
5530
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5505
5531
  id: z.ZodString;
5506
5532
  createdAt: z.ZodDate;
5507
5533
  updatedAt: z.ZodDate;
5508
5534
  deletedAt: z.ZodNullable<z.ZodDate>;
5535
+ }, {
5509
5536
  name: z.ZodString;
5510
- }, "strip", z.ZodTypeAny, {
5537
+ }>, "strip", z.ZodTypeAny, {
5511
5538
  id: string;
5512
5539
  name: string;
5513
5540
  createdAt: Date;
@@ -5520,29 +5547,32 @@ export declare const messengerContract: {
5520
5547
  updatedAt: Date;
5521
5548
  deletedAt: Date | null;
5522
5549
  }>, "many">;
5523
- company: z.ZodNullable<z.ZodObject<Omit<{
5550
+ company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
5524
5551
  id: z.ZodString;
5525
5552
  createdAt: z.ZodDate;
5526
5553
  updatedAt: z.ZodDate;
5527
5554
  deletedAt: z.ZodNullable<z.ZodDate>;
5555
+ }, {
5528
5556
  name: z.ZodOptional<z.ZodString>;
5529
5557
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5530
5558
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5531
5559
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5532
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
5560
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5533
5561
  id: z.ZodString;
5534
5562
  createdAt: z.ZodDate;
5535
5563
  updatedAt: z.ZodDate;
5536
5564
  deletedAt: z.ZodNullable<z.ZodDate>;
5565
+ }, {
5537
5566
  textValue: z.ZodNullable<z.ZodString>;
5538
5567
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5539
5568
  numberValue: z.ZodNullable<z.ZodNumber>;
5540
5569
  dateValue: z.ZodNullable<z.ZodDate>;
5541
- attribute: z.ZodObject<Omit<{
5570
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5542
5571
  id: z.ZodString;
5543
5572
  createdAt: z.ZodDate;
5544
5573
  updatedAt: z.ZodDate;
5545
5574
  deletedAt: z.ZodNullable<z.ZodDate>;
5575
+ }, {
5546
5576
  systemName: z.ZodString;
5547
5577
  displayName: z.ZodString;
5548
5578
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5551,13 +5581,14 @@ export declare const messengerContract: {
5551
5581
  isArchived: z.ZodBoolean;
5552
5582
  isRequired: z.ZodBoolean;
5553
5583
  isUnique: z.ZodBoolean;
5554
- options: z.ZodArray<z.ZodObject<{
5555
- position: z.ZodNumber;
5556
- value: z.ZodString;
5584
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5557
5585
  label: z.ZodString;
5586
+ value: z.ZodString;
5558
5587
  isDefault: z.ZodBoolean;
5588
+ position: z.ZodNumber;
5589
+ }, {
5559
5590
  id: z.ZodString;
5560
- }, "strip", z.ZodTypeAny, {
5591
+ }>, "strip", z.ZodTypeAny, {
5561
5592
  id: string;
5562
5593
  position: number;
5563
5594
  value: string;
@@ -5570,14 +5601,15 @@ export declare const messengerContract: {
5570
5601
  label: string;
5571
5602
  isDefault: boolean;
5572
5603
  }>, "many">;
5573
- group: z.ZodObject<{
5604
+ group: z.ZodObject<z.objectUtil.extendShape<{
5574
5605
  id: z.ZodString;
5575
5606
  createdAt: z.ZodDate;
5576
5607
  updatedAt: z.ZodDate;
5577
5608
  deletedAt: z.ZodNullable<z.ZodDate>;
5609
+ }, {
5578
5610
  systemName: z.ZodString;
5579
5611
  displayName: z.ZodString;
5580
- }, "strip", z.ZodTypeAny, {
5612
+ }>, "strip", z.ZodTypeAny, {
5581
5613
  id: string;
5582
5614
  createdAt: Date;
5583
5615
  updatedAt: Date;
@@ -5592,7 +5624,7 @@ export declare const messengerContract: {
5592
5624
  systemName: string;
5593
5625
  displayName: string;
5594
5626
  }>;
5595
- }, "options" | "group">, "strip", z.ZodTypeAny, {
5627
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
5596
5628
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5597
5629
  id: string;
5598
5630
  position: number;
@@ -5619,7 +5651,7 @@ export declare const messengerContract: {
5619
5651
  isRequired: boolean;
5620
5652
  isUnique: boolean;
5621
5653
  }>;
5622
- }, "strip", z.ZodTypeAny, {
5654
+ }>, "strip", z.ZodTypeAny, {
5623
5655
  id: string;
5624
5656
  createdAt: Date;
5625
5657
  updatedAt: Date;
@@ -5666,7 +5698,7 @@ export declare const messengerContract: {
5666
5698
  numberValue: number | null;
5667
5699
  dateValue: Date | null;
5668
5700
  }>, "many">>;
5669
- }, "customFields">, "strip", z.ZodTypeAny, {
5701
+ }>, "customFields">, "strip", z.ZodTypeAny, {
5670
5702
  id: string;
5671
5703
  createdAt: Date;
5672
5704
  updatedAt: Date;
@@ -5694,11 +5726,12 @@ export declare const messengerContract: {
5694
5726
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5695
5727
  numberValue: z.ZodNullable<z.ZodNumber>;
5696
5728
  dateValue: z.ZodNullable<z.ZodDate>;
5697
- attribute: z.ZodObject<Omit<{
5729
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5698
5730
  id: z.ZodString;
5699
5731
  createdAt: z.ZodDate;
5700
5732
  updatedAt: z.ZodDate;
5701
5733
  deletedAt: z.ZodNullable<z.ZodDate>;
5734
+ }, {
5702
5735
  systemName: z.ZodString;
5703
5736
  displayName: z.ZodString;
5704
5737
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5707,13 +5740,14 @@ export declare const messengerContract: {
5707
5740
  isArchived: z.ZodBoolean;
5708
5741
  isRequired: z.ZodBoolean;
5709
5742
  isUnique: z.ZodBoolean;
5710
- options: z.ZodArray<z.ZodObject<{
5711
- position: z.ZodNumber;
5712
- value: z.ZodString;
5743
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5713
5744
  label: z.ZodString;
5745
+ value: z.ZodString;
5714
5746
  isDefault: z.ZodBoolean;
5747
+ position: z.ZodNumber;
5748
+ }, {
5715
5749
  id: z.ZodString;
5716
- }, "strip", z.ZodTypeAny, {
5750
+ }>, "strip", z.ZodTypeAny, {
5717
5751
  id: string;
5718
5752
  position: number;
5719
5753
  value: string;
@@ -5726,14 +5760,15 @@ export declare const messengerContract: {
5726
5760
  label: string;
5727
5761
  isDefault: boolean;
5728
5762
  }>, "many">;
5729
- group: z.ZodObject<{
5763
+ group: z.ZodObject<z.objectUtil.extendShape<{
5730
5764
  id: z.ZodString;
5731
5765
  createdAt: z.ZodDate;
5732
5766
  updatedAt: z.ZodDate;
5733
5767
  deletedAt: z.ZodNullable<z.ZodDate>;
5768
+ }, {
5734
5769
  systemName: z.ZodString;
5735
5770
  displayName: z.ZodString;
5736
- }, "strip", z.ZodTypeAny, {
5771
+ }>, "strip", z.ZodTypeAny, {
5737
5772
  id: string;
5738
5773
  createdAt: Date;
5739
5774
  updatedAt: Date;
@@ -5748,7 +5783,7 @@ export declare const messengerContract: {
5748
5783
  systemName: string;
5749
5784
  displayName: string;
5750
5785
  }>;
5751
- }, "options" | "group">, "strip", z.ZodTypeAny, {
5786
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
5752
5787
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5753
5788
  id: string;
5754
5789
  position: number;
@@ -5775,18 +5810,19 @@ export declare const messengerContract: {
5775
5810
  isRequired: boolean;
5776
5811
  isUnique: boolean;
5777
5812
  }>;
5778
- uploads: z.ZodArray<z.ZodObject<{
5813
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5779
5814
  id: z.ZodString;
5780
5815
  createdAt: z.ZodDate;
5781
5816
  updatedAt: z.ZodDate;
5782
5817
  deletedAt: z.ZodNullable<z.ZodDate>;
5818
+ }, {
5783
5819
  bucketName: z.ZodString;
5784
5820
  fileName: z.ZodString;
5785
5821
  fileSize: z.ZodNumber;
5786
5822
  fileKey: z.ZodString;
5787
5823
  fileUrl: z.ZodNullable<z.ZodString>;
5788
5824
  status: z.ZodNullable<z.ZodString>;
5789
- }, "strip", z.ZodTypeAny, {
5825
+ }>, "strip", z.ZodTypeAny, {
5790
5826
  id: string;
5791
5827
  status: string | null;
5792
5828
  createdAt: Date;
@@ -6839,8 +6875,8 @@ export declare const messengerContract: {
6839
6875
  id: string;
6840
6876
  name: string;
6841
6877
  accessToken?: string | undefined;
6842
- channelSecret?: string | undefined;
6843
6878
  additionalCredentials?: any;
6879
+ channelSecret?: string | undefined;
6844
6880
  vonageCredentials?: {
6845
6881
  mobileNumber: string;
6846
6882
  apiKey: string;
@@ -6851,8 +6887,8 @@ export declare const messengerContract: {
6851
6887
  id: string;
6852
6888
  name: string;
6853
6889
  accessToken?: string | undefined;
6854
- channelSecret?: string | undefined;
6855
6890
  additionalCredentials?: any;
6891
+ channelSecret?: string | undefined;
6856
6892
  vonageCredentials?: {
6857
6893
  mobileNumber: string;
6858
6894
  apiKey: string;
@@ -7097,8 +7133,8 @@ export declare const messengerContract: {
7097
7133
  id: string;
7098
7134
  name: string;
7099
7135
  accessToken?: string | undefined;
7100
- channelSecret?: string | undefined;
7101
7136
  additionalCredentials?: any;
7137
+ channelSecret?: string | undefined;
7102
7138
  vonageCredentials?: {
7103
7139
  mobileNumber: string;
7104
7140
  apiKey: string;
@@ -7174,8 +7210,8 @@ export declare const messengerContract: {
7174
7210
  id: string;
7175
7211
  name: string;
7176
7212
  accessToken?: string | undefined;
7177
- channelSecret?: string | undefined;
7178
7213
  additionalCredentials?: any;
7214
+ channelSecret?: string | undefined;
7179
7215
  vonageCredentials?: {
7180
7216
  mobileNumber: string;
7181
7217
  apiKey: string;
@@ -7244,11 +7280,12 @@ export declare const messengerContract: {
7244
7280
  integrationId: string;
7245
7281
  } | null;
7246
7282
  }>;
7247
- cxlog: z.ZodObject<{
7283
+ cxlog: z.ZodObject<z.objectUtil.extendShape<{
7248
7284
  id: z.ZodString;
7249
7285
  createdAt: z.ZodDate;
7250
7286
  updatedAt: z.ZodDate;
7251
7287
  deletedAt: z.ZodNullable<z.ZodDate>;
7288
+ }, {
7252
7289
  caseId: z.ZodNumber;
7253
7290
  entityId: z.ZodString;
7254
7291
  entityName: z.ZodString;
@@ -7260,21 +7297,23 @@ export declare const messengerContract: {
7260
7297
  startedDate: z.ZodNullable<z.ZodDate>;
7261
7298
  handledTime: z.ZodNullable<z.ZodNumber>;
7262
7299
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
7263
- wrapUpForm: z.ZodNullable<z.ZodObject<{
7300
+ wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
7264
7301
  id: z.ZodString;
7265
7302
  createdAt: z.ZodDate;
7266
7303
  updatedAt: z.ZodDate;
7267
7304
  deletedAt: z.ZodNullable<z.ZodDate>;
7305
+ }, {
7268
7306
  note: z.ZodNullable<z.ZodString>;
7269
7307
  disposition: z.ZodNullable<z.ZodString>;
7270
7308
  type: z.ZodString;
7271
- tags: z.ZodArray<z.ZodObject<{
7309
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
7272
7310
  id: z.ZodString;
7273
7311
  createdAt: z.ZodDate;
7274
7312
  updatedAt: z.ZodDate;
7275
7313
  deletedAt: z.ZodNullable<z.ZodDate>;
7314
+ }, {
7276
7315
  name: z.ZodString;
7277
- }, "strip", z.ZodTypeAny, {
7316
+ }>, "strip", z.ZodTypeAny, {
7278
7317
  id: string;
7279
7318
  name: string;
7280
7319
  createdAt: Date;
@@ -7287,11 +7326,12 @@ export declare const messengerContract: {
7287
7326
  updatedAt: Date;
7288
7327
  deletedAt: Date | null;
7289
7328
  }>, "many">;
7290
- categories: z.ZodArray<z.ZodObject<{
7329
+ categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
7291
7330
  id: z.ZodString;
7292
7331
  createdAt: z.ZodDate;
7293
7332
  updatedAt: z.ZodDate;
7294
7333
  deletedAt: z.ZodNullable<z.ZodDate>;
7334
+ }, {
7295
7335
  value: z.ZodString;
7296
7336
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
7297
7337
  parentId: z.ZodNullable<z.ZodString>;
@@ -7344,7 +7384,7 @@ export declare const messengerContract: {
7344
7384
  childCategoryList: any[];
7345
7385
  }[];
7346
7386
  }>, "many">;
7347
- }, "strip", z.ZodTypeAny, {
7387
+ }>, "strip", z.ZodTypeAny, {
7348
7388
  id: string;
7349
7389
  value: string;
7350
7390
  createdAt: Date;
@@ -7423,7 +7463,7 @@ export declare const messengerContract: {
7423
7463
  numberValue: number | null;
7424
7464
  dateValue: Date | null;
7425
7465
  }>, "many">>>;
7426
- }, "strip", z.ZodTypeAny, {
7466
+ }>, "strip", z.ZodTypeAny, {
7427
7467
  type: string;
7428
7468
  id: string;
7429
7469
  disposition: string | null;
@@ -7526,7 +7566,7 @@ export declare const messengerContract: {
7526
7566
  dateValue: Date | null;
7527
7567
  }[] | null | undefined;
7528
7568
  }>>;
7529
- }, "strip", z.ZodTypeAny, {
7569
+ }>, "strip", z.ZodTypeAny, {
7530
7570
  id: string;
7531
7571
  channel: string | null;
7532
7572
  direction: string | null;
@@ -7663,15 +7703,16 @@ export declare const messengerContract: {
7663
7703
  }[] | null | undefined;
7664
7704
  } | null;
7665
7705
  }>;
7666
- workflowRule: z.ZodObject<{
7706
+ workflowRule: z.ZodObject<z.objectUtil.extendShape<{
7667
7707
  id: z.ZodString;
7668
7708
  createdAt: z.ZodDate;
7669
7709
  updatedAt: z.ZodDate;
7670
7710
  deletedAt: z.ZodNullable<z.ZodDate>;
7711
+ }, {
7671
7712
  name: z.ZodString;
7672
7713
  isActive: z.ZodBoolean;
7673
7714
  type: z.ZodString;
7674
- }, "strip", z.ZodTypeAny, {
7715
+ }>, "strip", z.ZodTypeAny, {
7675
7716
  type: string;
7676
7717
  id: string;
7677
7718
  name: string;
@@ -7688,7 +7729,7 @@ export declare const messengerContract: {
7688
7729
  deletedAt: Date | null;
7689
7730
  isActive: boolean;
7690
7731
  }>;
7691
- }, "strip", z.ZodTypeAny, {
7732
+ }>, "strip", z.ZodTypeAny, {
7692
7733
  id: string;
7693
7734
  channel: {
7694
7735
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
@@ -7698,8 +7739,8 @@ export declare const messengerContract: {
7698
7739
  id: string;
7699
7740
  name: string;
7700
7741
  accessToken?: string | undefined;
7701
- channelSecret?: string | undefined;
7702
7742
  additionalCredentials?: any;
7743
+ channelSecret?: string | undefined;
7703
7744
  vonageCredentials?: {
7704
7745
  mobileNumber: string;
7705
7746
  apiKey: string;
@@ -8070,8 +8111,8 @@ export declare const messengerContract: {
8070
8111
  id: string;
8071
8112
  name: string;
8072
8113
  accessToken?: string | undefined;
8073
- channelSecret?: string | undefined;
8074
8114
  additionalCredentials?: any;
8115
+ channelSecret?: string | undefined;
8075
8116
  vonageCredentials?: {
8076
8117
  mobileNumber: string;
8077
8118
  apiKey: string;
@@ -8433,18 +8474,19 @@ export declare const messengerContract: {
8433
8474
  isActive: boolean;
8434
8475
  };
8435
8476
  }>;
8436
- upload: z.ZodObject<{
8477
+ upload: z.ZodObject<z.objectUtil.extendShape<{
8437
8478
  id: z.ZodString;
8438
8479
  createdAt: z.ZodDate;
8439
8480
  updatedAt: z.ZodDate;
8440
8481
  deletedAt: z.ZodNullable<z.ZodDate>;
8482
+ }, {
8441
8483
  bucketName: z.ZodString;
8442
8484
  fileName: z.ZodString;
8443
8485
  fileSize: z.ZodNumber;
8444
8486
  fileKey: z.ZodString;
8445
8487
  fileUrl: z.ZodNullable<z.ZodString>;
8446
8488
  status: z.ZodNullable<z.ZodString>;
8447
- }, "strip", z.ZodTypeAny, {
8489
+ }>, "strip", z.ZodTypeAny, {
8448
8490
  id: string;
8449
8491
  status: string | null;
8450
8492
  createdAt: Date;
@@ -8467,11 +8509,12 @@ export declare const messengerContract: {
8467
8509
  fileSize: number;
8468
8510
  fileUrl: string | null;
8469
8511
  }>;
8470
- repliedMessage: z.ZodLazy<z.ZodObject<{
8512
+ repliedMessage: z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
8471
8513
  id: z.ZodString;
8472
8514
  createdAt: z.ZodDate;
8473
8515
  updatedAt: z.ZodDate;
8474
8516
  deletedAt: z.ZodNullable<z.ZodDate>;
8517
+ }, {
8475
8518
  message: z.ZodString;
8476
8519
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
8477
8520
  type: 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", "unsupported"]>;
@@ -8485,18 +8528,19 @@ export declare const messengerContract: {
8485
8528
  url: z.ZodString;
8486
8529
  previewUrl: z.ZodString;
8487
8530
  imageSetId: z.ZodString;
8488
- upload: z.ZodObject<{
8531
+ upload: z.ZodObject<z.objectUtil.extendShape<{
8489
8532
  id: z.ZodString;
8490
8533
  createdAt: z.ZodDate;
8491
8534
  updatedAt: z.ZodDate;
8492
8535
  deletedAt: z.ZodNullable<z.ZodDate>;
8536
+ }, {
8493
8537
  bucketName: z.ZodString;
8494
8538
  fileName: z.ZodString;
8495
8539
  fileSize: z.ZodNumber;
8496
8540
  fileKey: z.ZodString;
8497
8541
  fileUrl: z.ZodNullable<z.ZodString>;
8498
8542
  status: z.ZodNullable<z.ZodString>;
8499
- }, "strip", z.ZodTypeAny, {
8543
+ }>, "strip", z.ZodTypeAny, {
8500
8544
  id: string;
8501
8545
  status: string | null;
8502
8546
  createdAt: Date;
@@ -9131,7 +9175,7 @@ export declare const messengerContract: {
9131
9175
  telephonySignature: string | null;
9132
9176
  };
9133
9177
  }>;
9134
- }, "strip", z.ZodTypeAny, {
9178
+ }>, "strip", z.ZodTypeAny, {
9135
9179
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
9136
9180
  message: string;
9137
9181
  id: string;
@@ -9291,8 +9335,8 @@ export declare const messengerContract: {
9291
9335
  telephonySignature: string | null;
9292
9336
  };
9293
9337
  };
9294
- metadata?: any;
9295
9338
  template?: any;
9339
+ metadata?: any;
9296
9340
  }, {
9297
9341
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
9298
9342
  message: string;
@@ -9453,8 +9497,8 @@ export declare const messengerContract: {
9453
9497
  telephonySignature: string | null;
9454
9498
  };
9455
9499
  };
9456
- metadata?: any;
9457
9500
  template?: any;
9501
+ metadata?: any;
9458
9502
  }>>;
9459
9503
  actor: z.ZodObject<{
9460
9504
  id: z.ZodString;
@@ -10068,15 +10112,16 @@ export declare const messengerContract: {
10068
10112
  telephonySignature: string | null;
10069
10113
  };
10070
10114
  }>;
10071
- workflowRule: z.ZodObject<{
10115
+ workflowRule: z.ZodObject<z.objectUtil.extendShape<{
10072
10116
  id: z.ZodString;
10073
10117
  createdAt: z.ZodDate;
10074
10118
  updatedAt: z.ZodDate;
10075
10119
  deletedAt: z.ZodNullable<z.ZodDate>;
10120
+ }, {
10076
10121
  name: z.ZodString;
10077
10122
  isActive: z.ZodBoolean;
10078
10123
  type: z.ZodString;
10079
- }, "strip", z.ZodTypeAny, {
10124
+ }>, "strip", z.ZodTypeAny, {
10080
10125
  type: string;
10081
10126
  id: string;
10082
10127
  name: string;
@@ -10094,7 +10139,7 @@ export declare const messengerContract: {
10094
10139
  isActive: boolean;
10095
10140
  }>;
10096
10141
  editedMessageid: z.ZodString;
10097
- }, "strip", z.ZodTypeAny, {
10142
+ }>, "strip", z.ZodTypeAny, {
10098
10143
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
10099
10144
  message: string;
10100
10145
  id: string;
@@ -10214,8 +10259,8 @@ export declare const messengerContract: {
10214
10259
  id: string;
10215
10260
  name: string;
10216
10261
  accessToken?: string | undefined;
10217
- channelSecret?: string | undefined;
10218
10262
  additionalCredentials?: any;
10263
+ channelSecret?: string | undefined;
10219
10264
  vonageCredentials?: {
10220
10265
  mobileNumber: string;
10221
10266
  apiKey: string;
@@ -10752,8 +10797,8 @@ export declare const messengerContract: {
10752
10797
  telephonySignature: string | null;
10753
10798
  };
10754
10799
  };
10755
- metadata?: any;
10756
10800
  template?: any;
10801
+ metadata?: any;
10757
10802
  };
10758
10803
  sender: {
10759
10804
  id: string;
@@ -10800,8 +10845,8 @@ export declare const messengerContract: {
10800
10845
  };
10801
10846
  };
10802
10847
  editedMessageid: string;
10803
- metadata?: any;
10804
10848
  template?: any;
10849
+ metadata?: any;
10805
10850
  }, {
10806
10851
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
10807
10852
  message: string;
@@ -10922,8 +10967,8 @@ export declare const messengerContract: {
10922
10967
  id: string;
10923
10968
  name: string;
10924
10969
  accessToken?: string | undefined;
10925
- channelSecret?: string | undefined;
10926
10970
  additionalCredentials?: any;
10971
+ channelSecret?: string | undefined;
10927
10972
  vonageCredentials?: {
10928
10973
  mobileNumber: string;
10929
10974
  apiKey: string;
@@ -11460,8 +11505,8 @@ export declare const messengerContract: {
11460
11505
  telephonySignature: string | null;
11461
11506
  };
11462
11507
  };
11463
- metadata?: any;
11464
11508
  template?: any;
11509
+ metadata?: any;
11465
11510
  };
11466
11511
  sender: {
11467
11512
  id: string;
@@ -11508,10 +11553,10 @@ export declare const messengerContract: {
11508
11553
  };
11509
11554
  };
11510
11555
  editedMessageid: string;
11511
- metadata?: any;
11512
11556
  template?: any;
11557
+ metadata?: any;
11513
11558
  }>>>;
11514
- }, "strip", z.ZodTypeAny, {
11559
+ }>, "strip", z.ZodTypeAny, {
11515
11560
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
11516
11561
  message: string;
11517
11562
  id: string;
@@ -11631,8 +11676,8 @@ export declare const messengerContract: {
11631
11676
  id: string;
11632
11677
  name: string;
11633
11678
  accessToken?: string | undefined;
11634
- channelSecret?: string | undefined;
11635
11679
  additionalCredentials?: any;
11680
+ channelSecret?: string | undefined;
11636
11681
  vonageCredentials?: {
11637
11682
  mobileNumber: string;
11638
11683
  apiKey: string;
@@ -12169,8 +12214,8 @@ export declare const messengerContract: {
12169
12214
  telephonySignature: string | null;
12170
12215
  };
12171
12216
  };
12172
- metadata?: any;
12173
12217
  template?: any;
12218
+ metadata?: any;
12174
12219
  };
12175
12220
  sender: {
12176
12221
  id: string;
@@ -12339,8 +12384,8 @@ export declare const messengerContract: {
12339
12384
  id: string;
12340
12385
  name: string;
12341
12386
  accessToken?: string | undefined;
12342
- channelSecret?: string | undefined;
12343
12387
  additionalCredentials?: any;
12388
+ channelSecret?: string | undefined;
12344
12389
  vonageCredentials?: {
12345
12390
  mobileNumber: string;
12346
12391
  apiKey: string;
@@ -12877,8 +12922,8 @@ export declare const messengerContract: {
12877
12922
  telephonySignature: string | null;
12878
12923
  };
12879
12924
  };
12880
- metadata?: any;
12881
12925
  template?: any;
12926
+ metadata?: any;
12882
12927
  };
12883
12928
  sender: {
12884
12929
  id: string;
@@ -12925,8 +12970,8 @@ export declare const messengerContract: {
12925
12970
  };
12926
12971
  };
12927
12972
  editedMessageid: string;
12928
- metadata?: any;
12929
12973
  template?: any;
12974
+ metadata?: any;
12930
12975
  } | null | undefined;
12931
12976
  }, {
12932
12977
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
@@ -13048,8 +13093,8 @@ export declare const messengerContract: {
13048
13093
  id: string;
13049
13094
  name: string;
13050
13095
  accessToken?: string | undefined;
13051
- channelSecret?: string | undefined;
13052
13096
  additionalCredentials?: any;
13097
+ channelSecret?: string | undefined;
13053
13098
  vonageCredentials?: {
13054
13099
  mobileNumber: string;
13055
13100
  apiKey: string;
@@ -13586,8 +13631,8 @@ export declare const messengerContract: {
13586
13631
  telephonySignature: string | null;
13587
13632
  };
13588
13633
  };
13589
- metadata?: any;
13590
13634
  template?: any;
13635
+ metadata?: any;
13591
13636
  };
13592
13637
  sender: {
13593
13638
  id: string;
@@ -13756,8 +13801,8 @@ export declare const messengerContract: {
13756
13801
  id: string;
13757
13802
  name: string;
13758
13803
  accessToken?: string | undefined;
13759
- channelSecret?: string | undefined;
13760
13804
  additionalCredentials?: any;
13805
+ channelSecret?: string | undefined;
13761
13806
  vonageCredentials?: {
13762
13807
  mobileNumber: string;
13763
13808
  apiKey: string;
@@ -14294,8 +14339,8 @@ export declare const messengerContract: {
14294
14339
  telephonySignature: string | null;
14295
14340
  };
14296
14341
  };
14297
- metadata?: any;
14298
14342
  template?: any;
14343
+ metadata?: any;
14299
14344
  };
14300
14345
  sender: {
14301
14346
  id: string;
@@ -14342,11 +14387,11 @@ export declare const messengerContract: {
14342
14387
  };
14343
14388
  };
14344
14389
  editedMessageid: string;
14345
- metadata?: any;
14346
14390
  template?: any;
14391
+ metadata?: any;
14347
14392
  } | null | undefined;
14348
14393
  }>;
14349
- }, "strip", z.ZodTypeAny, {
14394
+ }>, "strip", z.ZodTypeAny, {
14350
14395
  data: {
14351
14396
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
14352
14397
  message: string;
@@ -14467,8 +14512,8 @@ export declare const messengerContract: {
14467
14512
  id: string;
14468
14513
  name: string;
14469
14514
  accessToken?: string | undefined;
14470
- channelSecret?: string | undefined;
14471
14515
  additionalCredentials?: any;
14516
+ channelSecret?: string | undefined;
14472
14517
  vonageCredentials?: {
14473
14518
  mobileNumber: string;
14474
14519
  apiKey: string;
@@ -15005,8 +15050,8 @@ export declare const messengerContract: {
15005
15050
  telephonySignature: string | null;
15006
15051
  };
15007
15052
  };
15008
- metadata?: any;
15009
15053
  template?: any;
15054
+ metadata?: any;
15010
15055
  };
15011
15056
  sender: {
15012
15057
  id: string;
@@ -15175,8 +15220,8 @@ export declare const messengerContract: {
15175
15220
  id: string;
15176
15221
  name: string;
15177
15222
  accessToken?: string | undefined;
15178
- channelSecret?: string | undefined;
15179
15223
  additionalCredentials?: any;
15224
+ channelSecret?: string | undefined;
15180
15225
  vonageCredentials?: {
15181
15226
  mobileNumber: string;
15182
15227
  apiKey: string;
@@ -15713,8 +15758,8 @@ export declare const messengerContract: {
15713
15758
  telephonySignature: string | null;
15714
15759
  };
15715
15760
  };
15716
- metadata?: any;
15717
15761
  template?: any;
15762
+ metadata?: any;
15718
15763
  };
15719
15764
  sender: {
15720
15765
  id: string;
@@ -15761,8 +15806,8 @@ export declare const messengerContract: {
15761
15806
  };
15762
15807
  };
15763
15808
  editedMessageid: string;
15764
- metadata?: any;
15765
15809
  template?: any;
15810
+ metadata?: any;
15766
15811
  } | null | undefined;
15767
15812
  };
15768
15813
  requestId: string;
@@ -15887,8 +15932,8 @@ export declare const messengerContract: {
15887
15932
  id: string;
15888
15933
  name: string;
15889
15934
  accessToken?: string | undefined;
15890
- channelSecret?: string | undefined;
15891
15935
  additionalCredentials?: any;
15936
+ channelSecret?: string | undefined;
15892
15937
  vonageCredentials?: {
15893
15938
  mobileNumber: string;
15894
15939
  apiKey: string;
@@ -16425,8 +16470,8 @@ export declare const messengerContract: {
16425
16470
  telephonySignature: string | null;
16426
16471
  };
16427
16472
  };
16428
- metadata?: any;
16429
16473
  template?: any;
16474
+ metadata?: any;
16430
16475
  };
16431
16476
  sender: {
16432
16477
  id: string;
@@ -16595,8 +16640,8 @@ export declare const messengerContract: {
16595
16640
  id: string;
16596
16641
  name: string;
16597
16642
  accessToken?: string | undefined;
16598
- channelSecret?: string | undefined;
16599
16643
  additionalCredentials?: any;
16644
+ channelSecret?: string | undefined;
16600
16645
  vonageCredentials?: {
16601
16646
  mobileNumber: string;
16602
16647
  apiKey: string;
@@ -17133,8 +17178,8 @@ export declare const messengerContract: {
17133
17178
  telephonySignature: string | null;
17134
17179
  };
17135
17180
  };
17136
- metadata?: any;
17137
17181
  template?: any;
17182
+ metadata?: any;
17138
17183
  };
17139
17184
  sender: {
17140
17185
  id: string;
@@ -17181,8 +17226,8 @@ export declare const messengerContract: {
17181
17226
  };
17182
17227
  };
17183
17228
  editedMessageid: string;
17184
- metadata?: any;
17185
17229
  template?: any;
17230
+ metadata?: any;
17186
17231
  } | null | undefined;
17187
17232
  };
17188
17233
  requestId: string;
@@ -17208,7 +17253,6 @@ export declare const messengerContract: {
17208
17253
  error?: any;
17209
17254
  }>;
17210
17255
  };
17211
- path: "/message";
17212
17256
  };
17213
17257
  connectToService: {
17214
17258
  body: z.ZodObject<{
@@ -17239,8 +17283,8 @@ export declare const messengerContract: {
17239
17283
  id: string;
17240
17284
  name: string;
17241
17285
  accessToken?: string | undefined;
17242
- channelSecret?: string | undefined;
17243
17286
  additionalCredentials?: any;
17287
+ channelSecret?: string | undefined;
17244
17288
  vonageCredentials?: {
17245
17289
  mobileNumber: string;
17246
17290
  apiKey: string;
@@ -17251,8 +17295,8 @@ export declare const messengerContract: {
17251
17295
  id: string;
17252
17296
  name: string;
17253
17297
  accessToken?: string | undefined;
17254
- channelSecret?: string | undefined;
17255
17298
  additionalCredentials?: any;
17299
+ channelSecret?: string | undefined;
17256
17300
  vonageCredentials?: {
17257
17301
  mobileNumber: string;
17258
17302
  apiKey: string;
@@ -17286,15 +17330,15 @@ export declare const messengerContract: {
17286
17330
  phone: string | null;
17287
17331
  }>>>;
17288
17332
  }, "strip", z.ZodTypeAny, {
17333
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | undefined;
17289
17334
  id?: string | undefined;
17290
17335
  name?: string | undefined;
17291
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | undefined;
17292
17336
  metadata?: {
17293
17337
  id: string;
17294
17338
  name: string;
17295
17339
  accessToken?: string | undefined;
17296
- channelSecret?: string | undefined;
17297
17340
  additionalCredentials?: any;
17341
+ channelSecret?: string | undefined;
17298
17342
  vonageCredentials?: {
17299
17343
  mobileNumber: string;
17300
17344
  apiKey: string;
@@ -17302,12 +17346,7 @@ export declare const messengerContract: {
17302
17346
  } | undefined;
17303
17347
  lineRichMenuId?: string | null | undefined;
17304
17348
  } | undefined;
17305
- platformId?: string | undefined;
17306
- brandName?: string | undefined;
17307
17349
  status?: boolean | undefined;
17308
- connectedUserName?: string | null | undefined;
17309
- connectedUserId?: string | null | undefined;
17310
- lineRichMenuId?: string | null | undefined;
17311
17350
  actor?: {
17312
17351
  id: string;
17313
17352
  address: string | null;
@@ -17315,16 +17354,21 @@ export declare const messengerContract: {
17315
17354
  email: string;
17316
17355
  phone: string | null;
17317
17356
  } | undefined;
17357
+ lineRichMenuId?: string | null | undefined;
17358
+ brandName?: string | undefined;
17359
+ platformId?: string | undefined;
17360
+ connectedUserName?: string | null | undefined;
17361
+ connectedUserId?: string | null | undefined;
17318
17362
  }, {
17363
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | undefined;
17319
17364
  id?: string | undefined;
17320
17365
  name?: string | undefined;
17321
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | undefined;
17322
17366
  metadata?: {
17323
17367
  id: string;
17324
17368
  name: string;
17325
17369
  accessToken?: string | undefined;
17326
- channelSecret?: string | undefined;
17327
17370
  additionalCredentials?: any;
17371
+ channelSecret?: string | undefined;
17328
17372
  vonageCredentials?: {
17329
17373
  mobileNumber: string;
17330
17374
  apiKey: string;
@@ -17332,12 +17376,7 @@ export declare const messengerContract: {
17332
17376
  } | undefined;
17333
17377
  lineRichMenuId?: string | null | undefined;
17334
17378
  } | undefined;
17335
- platformId?: string | undefined;
17336
- brandName?: string | undefined;
17337
17379
  status?: boolean | undefined;
17338
- connectedUserName?: string | null | undefined;
17339
- connectedUserId?: string | null | undefined;
17340
- lineRichMenuId?: string | null | undefined;
17341
17380
  actor?: {
17342
17381
  id: string;
17343
17382
  address: string | null;
@@ -17345,11 +17384,18 @@ export declare const messengerContract: {
17345
17384
  email: string;
17346
17385
  phone: string | null;
17347
17386
  } | undefined;
17387
+ lineRichMenuId?: string | null | undefined;
17388
+ brandName?: string | undefined;
17389
+ platformId?: string | undefined;
17390
+ connectedUserName?: string | null | undefined;
17391
+ connectedUserId?: string | null | undefined;
17348
17392
  }>;
17349
17393
  method: "POST";
17394
+ path: "/connect";
17350
17395
  responses: {
17351
- 200: z.ZodObject<{
17396
+ 200: z.ZodObject<z.objectUtil.extendShape<{
17352
17397
  requestId: z.ZodString;
17398
+ }, {
17353
17399
  data: z.ZodObject<{
17354
17400
  id: z.ZodString;
17355
17401
  name: z.ZodString;
@@ -17378,8 +17424,8 @@ export declare const messengerContract: {
17378
17424
  id: string;
17379
17425
  name: string;
17380
17426
  accessToken?: string | undefined;
17381
- channelSecret?: string | undefined;
17382
17427
  additionalCredentials?: any;
17428
+ channelSecret?: string | undefined;
17383
17429
  vonageCredentials?: {
17384
17430
  mobileNumber: string;
17385
17431
  apiKey: string;
@@ -17390,8 +17436,8 @@ export declare const messengerContract: {
17390
17436
  id: string;
17391
17437
  name: string;
17392
17438
  accessToken?: string | undefined;
17393
- channelSecret?: string | undefined;
17394
17439
  additionalCredentials?: any;
17440
+ channelSecret?: string | undefined;
17395
17441
  vonageCredentials?: {
17396
17442
  mobileNumber: string;
17397
17443
  apiKey: string;
@@ -17432,8 +17478,8 @@ export declare const messengerContract: {
17432
17478
  id: string;
17433
17479
  name: string;
17434
17480
  accessToken?: string | undefined;
17435
- channelSecret?: string | undefined;
17436
17481
  additionalCredentials?: any;
17482
+ channelSecret?: string | undefined;
17437
17483
  vonageCredentials?: {
17438
17484
  mobileNumber: string;
17439
17485
  apiKey: string;
@@ -17444,9 +17490,6 @@ export declare const messengerContract: {
17444
17490
  status: boolean;
17445
17491
  brandName: string;
17446
17492
  platformId: string;
17447
- connectedUserName?: string | null | undefined;
17448
- connectedUserId?: string | null | undefined;
17449
- lineRichMenuId?: string | null | undefined;
17450
17493
  actor?: {
17451
17494
  id: string;
17452
17495
  address: string | null;
@@ -17454,6 +17497,9 @@ export declare const messengerContract: {
17454
17497
  email: string;
17455
17498
  phone: string | null;
17456
17499
  } | undefined;
17500
+ lineRichMenuId?: string | null | undefined;
17501
+ connectedUserName?: string | null | undefined;
17502
+ connectedUserId?: string | null | undefined;
17457
17503
  }, {
17458
17504
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
17459
17505
  id: string;
@@ -17462,8 +17508,8 @@ export declare const messengerContract: {
17462
17508
  id: string;
17463
17509
  name: string;
17464
17510
  accessToken?: string | undefined;
17465
- channelSecret?: string | undefined;
17466
17511
  additionalCredentials?: any;
17512
+ channelSecret?: string | undefined;
17467
17513
  vonageCredentials?: {
17468
17514
  mobileNumber: string;
17469
17515
  apiKey: string;
@@ -17474,9 +17520,6 @@ export declare const messengerContract: {
17474
17520
  status: boolean;
17475
17521
  brandName: string;
17476
17522
  platformId: string;
17477
- connectedUserName?: string | null | undefined;
17478
- connectedUserId?: string | null | undefined;
17479
- lineRichMenuId?: string | null | undefined;
17480
17523
  actor?: {
17481
17524
  id: string;
17482
17525
  address: string | null;
@@ -17484,8 +17527,11 @@ export declare const messengerContract: {
17484
17527
  email: string;
17485
17528
  phone: string | null;
17486
17529
  } | undefined;
17530
+ lineRichMenuId?: string | null | undefined;
17531
+ connectedUserName?: string | null | undefined;
17532
+ connectedUserId?: string | null | undefined;
17487
17533
  }>;
17488
- }, "strip", z.ZodTypeAny, {
17534
+ }>, "strip", z.ZodTypeAny, {
17489
17535
  data: {
17490
17536
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
17491
17537
  id: string;
@@ -17494,8 +17540,8 @@ export declare const messengerContract: {
17494
17540
  id: string;
17495
17541
  name: string;
17496
17542
  accessToken?: string | undefined;
17497
- channelSecret?: string | undefined;
17498
17543
  additionalCredentials?: any;
17544
+ channelSecret?: string | undefined;
17499
17545
  vonageCredentials?: {
17500
17546
  mobileNumber: string;
17501
17547
  apiKey: string;
@@ -17506,9 +17552,6 @@ export declare const messengerContract: {
17506
17552
  status: boolean;
17507
17553
  brandName: string;
17508
17554
  platformId: string;
17509
- connectedUserName?: string | null | undefined;
17510
- connectedUserId?: string | null | undefined;
17511
- lineRichMenuId?: string | null | undefined;
17512
17555
  actor?: {
17513
17556
  id: string;
17514
17557
  address: string | null;
@@ -17516,6 +17559,9 @@ export declare const messengerContract: {
17516
17559
  email: string;
17517
17560
  phone: string | null;
17518
17561
  } | undefined;
17562
+ lineRichMenuId?: string | null | undefined;
17563
+ connectedUserName?: string | null | undefined;
17564
+ connectedUserId?: string | null | undefined;
17519
17565
  };
17520
17566
  requestId: string;
17521
17567
  }, {
@@ -17527,8 +17573,8 @@ export declare const messengerContract: {
17527
17573
  id: string;
17528
17574
  name: string;
17529
17575
  accessToken?: string | undefined;
17530
- channelSecret?: string | undefined;
17531
17576
  additionalCredentials?: any;
17577
+ channelSecret?: string | undefined;
17532
17578
  vonageCredentials?: {
17533
17579
  mobileNumber: string;
17534
17580
  apiKey: string;
@@ -17539,9 +17585,6 @@ export declare const messengerContract: {
17539
17585
  status: boolean;
17540
17586
  brandName: string;
17541
17587
  platformId: string;
17542
- connectedUserName?: string | null | undefined;
17543
- connectedUserId?: string | null | undefined;
17544
- lineRichMenuId?: string | null | undefined;
17545
17588
  actor?: {
17546
17589
  id: string;
17547
17590
  address: string | null;
@@ -17549,6 +17592,9 @@ export declare const messengerContract: {
17549
17592
  email: string;
17550
17593
  phone: string | null;
17551
17594
  } | undefined;
17595
+ lineRichMenuId?: string | null | undefined;
17596
+ connectedUserName?: string | null | undefined;
17597
+ connectedUserId?: string | null | undefined;
17552
17598
  };
17553
17599
  requestId: string;
17554
17600
  }>;
@@ -17573,7 +17619,6 @@ export declare const messengerContract: {
17573
17619
  error?: any;
17574
17620
  }>;
17575
17621
  };
17576
- path: "/connect";
17577
17622
  };
17578
17623
  disconnectToService: {
17579
17624
  body: z.ZodObject<{
@@ -17604,8 +17649,8 @@ export declare const messengerContract: {
17604
17649
  id: string;
17605
17650
  name: string;
17606
17651
  accessToken?: string | undefined;
17607
- channelSecret?: string | undefined;
17608
17652
  additionalCredentials?: any;
17653
+ channelSecret?: string | undefined;
17609
17654
  vonageCredentials?: {
17610
17655
  mobileNumber: string;
17611
17656
  apiKey: string;
@@ -17616,8 +17661,8 @@ export declare const messengerContract: {
17616
17661
  id: string;
17617
17662
  name: string;
17618
17663
  accessToken?: string | undefined;
17619
- channelSecret?: string | undefined;
17620
17664
  additionalCredentials?: any;
17665
+ channelSecret?: string | undefined;
17621
17666
  vonageCredentials?: {
17622
17667
  mobileNumber: string;
17623
17668
  apiKey: string;
@@ -17651,15 +17696,15 @@ export declare const messengerContract: {
17651
17696
  phone: string | null;
17652
17697
  }>>>;
17653
17698
  }, "strip", z.ZodTypeAny, {
17699
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | undefined;
17654
17700
  id?: string | undefined;
17655
17701
  name?: string | undefined;
17656
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | undefined;
17657
17702
  metadata?: {
17658
17703
  id: string;
17659
17704
  name: string;
17660
17705
  accessToken?: string | undefined;
17661
- channelSecret?: string | undefined;
17662
17706
  additionalCredentials?: any;
17707
+ channelSecret?: string | undefined;
17663
17708
  vonageCredentials?: {
17664
17709
  mobileNumber: string;
17665
17710
  apiKey: string;
@@ -17667,12 +17712,7 @@ export declare const messengerContract: {
17667
17712
  } | undefined;
17668
17713
  lineRichMenuId?: string | null | undefined;
17669
17714
  } | undefined;
17670
- platformId?: string | undefined;
17671
- brandName?: string | undefined;
17672
17715
  status?: boolean | undefined;
17673
- connectedUserName?: string | null | undefined;
17674
- connectedUserId?: string | null | undefined;
17675
- lineRichMenuId?: string | null | undefined;
17676
17716
  actor?: {
17677
17717
  id: string;
17678
17718
  address: string | null;
@@ -17680,16 +17720,21 @@ export declare const messengerContract: {
17680
17720
  email: string;
17681
17721
  phone: string | null;
17682
17722
  } | undefined;
17723
+ lineRichMenuId?: string | null | undefined;
17724
+ brandName?: string | undefined;
17725
+ platformId?: string | undefined;
17726
+ connectedUserName?: string | null | undefined;
17727
+ connectedUserId?: string | null | undefined;
17683
17728
  }, {
17729
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | undefined;
17684
17730
  id?: string | undefined;
17685
17731
  name?: string | undefined;
17686
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | undefined;
17687
17732
  metadata?: {
17688
17733
  id: string;
17689
17734
  name: string;
17690
17735
  accessToken?: string | undefined;
17691
- channelSecret?: string | undefined;
17692
17736
  additionalCredentials?: any;
17737
+ channelSecret?: string | undefined;
17693
17738
  vonageCredentials?: {
17694
17739
  mobileNumber: string;
17695
17740
  apiKey: string;
@@ -17697,12 +17742,7 @@ export declare const messengerContract: {
17697
17742
  } | undefined;
17698
17743
  lineRichMenuId?: string | null | undefined;
17699
17744
  } | undefined;
17700
- platformId?: string | undefined;
17701
- brandName?: string | undefined;
17702
17745
  status?: boolean | undefined;
17703
- connectedUserName?: string | null | undefined;
17704
- connectedUserId?: string | null | undefined;
17705
- lineRichMenuId?: string | null | undefined;
17706
17746
  actor?: {
17707
17747
  id: string;
17708
17748
  address: string | null;
@@ -17710,11 +17750,18 @@ export declare const messengerContract: {
17710
17750
  email: string;
17711
17751
  phone: string | null;
17712
17752
  } | undefined;
17753
+ lineRichMenuId?: string | null | undefined;
17754
+ brandName?: string | undefined;
17755
+ platformId?: string | undefined;
17756
+ connectedUserName?: string | null | undefined;
17757
+ connectedUserId?: string | null | undefined;
17713
17758
  }>;
17714
17759
  method: "POST";
17760
+ path: "/disconnect";
17715
17761
  responses: {
17716
- 200: z.ZodObject<{
17762
+ 200: z.ZodObject<z.objectUtil.extendShape<{
17717
17763
  requestId: z.ZodString;
17764
+ }, {
17718
17765
  data: z.ZodObject<{
17719
17766
  id: z.ZodString;
17720
17767
  name: z.ZodString;
@@ -17743,8 +17790,8 @@ export declare const messengerContract: {
17743
17790
  id: string;
17744
17791
  name: string;
17745
17792
  accessToken?: string | undefined;
17746
- channelSecret?: string | undefined;
17747
17793
  additionalCredentials?: any;
17794
+ channelSecret?: string | undefined;
17748
17795
  vonageCredentials?: {
17749
17796
  mobileNumber: string;
17750
17797
  apiKey: string;
@@ -17755,8 +17802,8 @@ export declare const messengerContract: {
17755
17802
  id: string;
17756
17803
  name: string;
17757
17804
  accessToken?: string | undefined;
17758
- channelSecret?: string | undefined;
17759
17805
  additionalCredentials?: any;
17806
+ channelSecret?: string | undefined;
17760
17807
  vonageCredentials?: {
17761
17808
  mobileNumber: string;
17762
17809
  apiKey: string;
@@ -17797,8 +17844,8 @@ export declare const messengerContract: {
17797
17844
  id: string;
17798
17845
  name: string;
17799
17846
  accessToken?: string | undefined;
17800
- channelSecret?: string | undefined;
17801
17847
  additionalCredentials?: any;
17848
+ channelSecret?: string | undefined;
17802
17849
  vonageCredentials?: {
17803
17850
  mobileNumber: string;
17804
17851
  apiKey: string;
@@ -17809,9 +17856,6 @@ export declare const messengerContract: {
17809
17856
  status: boolean;
17810
17857
  brandName: string;
17811
17858
  platformId: string;
17812
- connectedUserName?: string | null | undefined;
17813
- connectedUserId?: string | null | undefined;
17814
- lineRichMenuId?: string | null | undefined;
17815
17859
  actor?: {
17816
17860
  id: string;
17817
17861
  address: string | null;
@@ -17819,6 +17863,9 @@ export declare const messengerContract: {
17819
17863
  email: string;
17820
17864
  phone: string | null;
17821
17865
  } | undefined;
17866
+ lineRichMenuId?: string | null | undefined;
17867
+ connectedUserName?: string | null | undefined;
17868
+ connectedUserId?: string | null | undefined;
17822
17869
  }, {
17823
17870
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
17824
17871
  id: string;
@@ -17827,8 +17874,8 @@ export declare const messengerContract: {
17827
17874
  id: string;
17828
17875
  name: string;
17829
17876
  accessToken?: string | undefined;
17830
- channelSecret?: string | undefined;
17831
17877
  additionalCredentials?: any;
17878
+ channelSecret?: string | undefined;
17832
17879
  vonageCredentials?: {
17833
17880
  mobileNumber: string;
17834
17881
  apiKey: string;
@@ -17839,9 +17886,6 @@ export declare const messengerContract: {
17839
17886
  status: boolean;
17840
17887
  brandName: string;
17841
17888
  platformId: string;
17842
- connectedUserName?: string | null | undefined;
17843
- connectedUserId?: string | null | undefined;
17844
- lineRichMenuId?: string | null | undefined;
17845
17889
  actor?: {
17846
17890
  id: string;
17847
17891
  address: string | null;
@@ -17849,8 +17893,11 @@ export declare const messengerContract: {
17849
17893
  email: string;
17850
17894
  phone: string | null;
17851
17895
  } | undefined;
17896
+ lineRichMenuId?: string | null | undefined;
17897
+ connectedUserName?: string | null | undefined;
17898
+ connectedUserId?: string | null | undefined;
17852
17899
  }>;
17853
- }, "strip", z.ZodTypeAny, {
17900
+ }>, "strip", z.ZodTypeAny, {
17854
17901
  data: {
17855
17902
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
17856
17903
  id: string;
@@ -17859,8 +17906,8 @@ export declare const messengerContract: {
17859
17906
  id: string;
17860
17907
  name: string;
17861
17908
  accessToken?: string | undefined;
17862
- channelSecret?: string | undefined;
17863
17909
  additionalCredentials?: any;
17910
+ channelSecret?: string | undefined;
17864
17911
  vonageCredentials?: {
17865
17912
  mobileNumber: string;
17866
17913
  apiKey: string;
@@ -17871,9 +17918,6 @@ export declare const messengerContract: {
17871
17918
  status: boolean;
17872
17919
  brandName: string;
17873
17920
  platformId: string;
17874
- connectedUserName?: string | null | undefined;
17875
- connectedUserId?: string | null | undefined;
17876
- lineRichMenuId?: string | null | undefined;
17877
17921
  actor?: {
17878
17922
  id: string;
17879
17923
  address: string | null;
@@ -17881,6 +17925,9 @@ export declare const messengerContract: {
17881
17925
  email: string;
17882
17926
  phone: string | null;
17883
17927
  } | undefined;
17928
+ lineRichMenuId?: string | null | undefined;
17929
+ connectedUserName?: string | null | undefined;
17930
+ connectedUserId?: string | null | undefined;
17884
17931
  };
17885
17932
  requestId: string;
17886
17933
  }, {
@@ -17892,8 +17939,8 @@ export declare const messengerContract: {
17892
17939
  id: string;
17893
17940
  name: string;
17894
17941
  accessToken?: string | undefined;
17895
- channelSecret?: string | undefined;
17896
17942
  additionalCredentials?: any;
17943
+ channelSecret?: string | undefined;
17897
17944
  vonageCredentials?: {
17898
17945
  mobileNumber: string;
17899
17946
  apiKey: string;
@@ -17904,9 +17951,6 @@ export declare const messengerContract: {
17904
17951
  status: boolean;
17905
17952
  brandName: string;
17906
17953
  platformId: string;
17907
- connectedUserName?: string | null | undefined;
17908
- connectedUserId?: string | null | undefined;
17909
- lineRichMenuId?: string | null | undefined;
17910
17954
  actor?: {
17911
17955
  id: string;
17912
17956
  address: string | null;
@@ -17914,6 +17958,9 @@ export declare const messengerContract: {
17914
17958
  email: string;
17915
17959
  phone: string | null;
17916
17960
  } | undefined;
17961
+ lineRichMenuId?: string | null | undefined;
17962
+ connectedUserName?: string | null | undefined;
17963
+ connectedUserId?: string | null | undefined;
17917
17964
  };
17918
17965
  requestId: string;
17919
17966
  }>;
@@ -17938,7 +17985,6 @@ export declare const messengerContract: {
17938
17985
  error?: any;
17939
17986
  }>;
17940
17987
  };
17941
- path: "/disconnect";
17942
17988
  };
17943
17989
  reconnect: {
17944
17990
  body: null;
@@ -17950,9 +17996,11 @@ export declare const messengerContract: {
17950
17996
  }, {
17951
17997
  channelId: string;
17952
17998
  }>;
17999
+ path: "/reconnect/:channelId";
17953
18000
  responses: {
17954
- 200: z.ZodObject<{
18001
+ 200: z.ZodObject<z.objectUtil.extendShape<{
17955
18002
  requestId: z.ZodString;
18003
+ }, {
17956
18004
  data: z.ZodObject<{
17957
18005
  id: z.ZodString;
17958
18006
  name: z.ZodString;
@@ -17981,8 +18029,8 @@ export declare const messengerContract: {
17981
18029
  id: string;
17982
18030
  name: string;
17983
18031
  accessToken?: string | undefined;
17984
- channelSecret?: string | undefined;
17985
18032
  additionalCredentials?: any;
18033
+ channelSecret?: string | undefined;
17986
18034
  vonageCredentials?: {
17987
18035
  mobileNumber: string;
17988
18036
  apiKey: string;
@@ -17993,8 +18041,8 @@ export declare const messengerContract: {
17993
18041
  id: string;
17994
18042
  name: string;
17995
18043
  accessToken?: string | undefined;
17996
- channelSecret?: string | undefined;
17997
18044
  additionalCredentials?: any;
18045
+ channelSecret?: string | undefined;
17998
18046
  vonageCredentials?: {
17999
18047
  mobileNumber: string;
18000
18048
  apiKey: string;
@@ -18035,8 +18083,8 @@ export declare const messengerContract: {
18035
18083
  id: string;
18036
18084
  name: string;
18037
18085
  accessToken?: string | undefined;
18038
- channelSecret?: string | undefined;
18039
18086
  additionalCredentials?: any;
18087
+ channelSecret?: string | undefined;
18040
18088
  vonageCredentials?: {
18041
18089
  mobileNumber: string;
18042
18090
  apiKey: string;
@@ -18047,9 +18095,6 @@ export declare const messengerContract: {
18047
18095
  status: boolean;
18048
18096
  brandName: string;
18049
18097
  platformId: string;
18050
- connectedUserName?: string | null | undefined;
18051
- connectedUserId?: string | null | undefined;
18052
- lineRichMenuId?: string | null | undefined;
18053
18098
  actor?: {
18054
18099
  id: string;
18055
18100
  address: string | null;
@@ -18057,6 +18102,9 @@ export declare const messengerContract: {
18057
18102
  email: string;
18058
18103
  phone: string | null;
18059
18104
  } | undefined;
18105
+ lineRichMenuId?: string | null | undefined;
18106
+ connectedUserName?: string | null | undefined;
18107
+ connectedUserId?: string | null | undefined;
18060
18108
  }, {
18061
18109
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
18062
18110
  id: string;
@@ -18065,8 +18113,8 @@ export declare const messengerContract: {
18065
18113
  id: string;
18066
18114
  name: string;
18067
18115
  accessToken?: string | undefined;
18068
- channelSecret?: string | undefined;
18069
18116
  additionalCredentials?: any;
18117
+ channelSecret?: string | undefined;
18070
18118
  vonageCredentials?: {
18071
18119
  mobileNumber: string;
18072
18120
  apiKey: string;
@@ -18077,9 +18125,6 @@ export declare const messengerContract: {
18077
18125
  status: boolean;
18078
18126
  brandName: string;
18079
18127
  platformId: string;
18080
- connectedUserName?: string | null | undefined;
18081
- connectedUserId?: string | null | undefined;
18082
- lineRichMenuId?: string | null | undefined;
18083
18128
  actor?: {
18084
18129
  id: string;
18085
18130
  address: string | null;
@@ -18087,8 +18132,11 @@ export declare const messengerContract: {
18087
18132
  email: string;
18088
18133
  phone: string | null;
18089
18134
  } | undefined;
18135
+ lineRichMenuId?: string | null | undefined;
18136
+ connectedUserName?: string | null | undefined;
18137
+ connectedUserId?: string | null | undefined;
18090
18138
  }>;
18091
- }, "strip", z.ZodTypeAny, {
18139
+ }>, "strip", z.ZodTypeAny, {
18092
18140
  data: {
18093
18141
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
18094
18142
  id: string;
@@ -18097,8 +18145,8 @@ export declare const messengerContract: {
18097
18145
  id: string;
18098
18146
  name: string;
18099
18147
  accessToken?: string | undefined;
18100
- channelSecret?: string | undefined;
18101
18148
  additionalCredentials?: any;
18149
+ channelSecret?: string | undefined;
18102
18150
  vonageCredentials?: {
18103
18151
  mobileNumber: string;
18104
18152
  apiKey: string;
@@ -18109,9 +18157,6 @@ export declare const messengerContract: {
18109
18157
  status: boolean;
18110
18158
  brandName: string;
18111
18159
  platformId: string;
18112
- connectedUserName?: string | null | undefined;
18113
- connectedUserId?: string | null | undefined;
18114
- lineRichMenuId?: string | null | undefined;
18115
18160
  actor?: {
18116
18161
  id: string;
18117
18162
  address: string | null;
@@ -18119,6 +18164,9 @@ export declare const messengerContract: {
18119
18164
  email: string;
18120
18165
  phone: string | null;
18121
18166
  } | undefined;
18167
+ lineRichMenuId?: string | null | undefined;
18168
+ connectedUserName?: string | null | undefined;
18169
+ connectedUserId?: string | null | undefined;
18122
18170
  };
18123
18171
  requestId: string;
18124
18172
  }, {
@@ -18130,8 +18178,8 @@ export declare const messengerContract: {
18130
18178
  id: string;
18131
18179
  name: string;
18132
18180
  accessToken?: string | undefined;
18133
- channelSecret?: string | undefined;
18134
18181
  additionalCredentials?: any;
18182
+ channelSecret?: string | undefined;
18135
18183
  vonageCredentials?: {
18136
18184
  mobileNumber: string;
18137
18185
  apiKey: string;
@@ -18142,9 +18190,6 @@ export declare const messengerContract: {
18142
18190
  status: boolean;
18143
18191
  brandName: string;
18144
18192
  platformId: string;
18145
- connectedUserName?: string | null | undefined;
18146
- connectedUserId?: string | null | undefined;
18147
- lineRichMenuId?: string | null | undefined;
18148
18193
  actor?: {
18149
18194
  id: string;
18150
18195
  address: string | null;
@@ -18152,6 +18197,9 @@ export declare const messengerContract: {
18152
18197
  email: string;
18153
18198
  phone: string | null;
18154
18199
  } | undefined;
18200
+ lineRichMenuId?: string | null | undefined;
18201
+ connectedUserName?: string | null | undefined;
18202
+ connectedUserId?: string | null | undefined;
18155
18203
  };
18156
18204
  requestId: string;
18157
18205
  }>;
@@ -18176,7 +18224,6 @@ export declare const messengerContract: {
18176
18224
  error?: any;
18177
18225
  }>;
18178
18226
  };
18179
- path: "/reconnect/:channelId";
18180
18227
  };
18181
18228
  delete: {
18182
18229
  body: null;
@@ -18188,9 +18235,11 @@ export declare const messengerContract: {
18188
18235
  }, {
18189
18236
  channelId: string;
18190
18237
  }>;
18238
+ path: "/delete/:channelId";
18191
18239
  responses: {
18192
- 200: z.ZodObject<{
18240
+ 200: z.ZodObject<z.objectUtil.extendShape<{
18193
18241
  requestId: z.ZodString;
18242
+ }, {
18194
18243
  data: z.ZodObject<{
18195
18244
  id: z.ZodString;
18196
18245
  name: z.ZodString;
@@ -18219,8 +18268,8 @@ export declare const messengerContract: {
18219
18268
  id: string;
18220
18269
  name: string;
18221
18270
  accessToken?: string | undefined;
18222
- channelSecret?: string | undefined;
18223
18271
  additionalCredentials?: any;
18272
+ channelSecret?: string | undefined;
18224
18273
  vonageCredentials?: {
18225
18274
  mobileNumber: string;
18226
18275
  apiKey: string;
@@ -18231,8 +18280,8 @@ export declare const messengerContract: {
18231
18280
  id: string;
18232
18281
  name: string;
18233
18282
  accessToken?: string | undefined;
18234
- channelSecret?: string | undefined;
18235
18283
  additionalCredentials?: any;
18284
+ channelSecret?: string | undefined;
18236
18285
  vonageCredentials?: {
18237
18286
  mobileNumber: string;
18238
18287
  apiKey: string;
@@ -18273,8 +18322,8 @@ export declare const messengerContract: {
18273
18322
  id: string;
18274
18323
  name: string;
18275
18324
  accessToken?: string | undefined;
18276
- channelSecret?: string | undefined;
18277
18325
  additionalCredentials?: any;
18326
+ channelSecret?: string | undefined;
18278
18327
  vonageCredentials?: {
18279
18328
  mobileNumber: string;
18280
18329
  apiKey: string;
@@ -18285,9 +18334,6 @@ export declare const messengerContract: {
18285
18334
  status: boolean;
18286
18335
  brandName: string;
18287
18336
  platformId: string;
18288
- connectedUserName?: string | null | undefined;
18289
- connectedUserId?: string | null | undefined;
18290
- lineRichMenuId?: string | null | undefined;
18291
18337
  actor?: {
18292
18338
  id: string;
18293
18339
  address: string | null;
@@ -18295,6 +18341,9 @@ export declare const messengerContract: {
18295
18341
  email: string;
18296
18342
  phone: string | null;
18297
18343
  } | undefined;
18344
+ lineRichMenuId?: string | null | undefined;
18345
+ connectedUserName?: string | null | undefined;
18346
+ connectedUserId?: string | null | undefined;
18298
18347
  }, {
18299
18348
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
18300
18349
  id: string;
@@ -18303,8 +18352,8 @@ export declare const messengerContract: {
18303
18352
  id: string;
18304
18353
  name: string;
18305
18354
  accessToken?: string | undefined;
18306
- channelSecret?: string | undefined;
18307
18355
  additionalCredentials?: any;
18356
+ channelSecret?: string | undefined;
18308
18357
  vonageCredentials?: {
18309
18358
  mobileNumber: string;
18310
18359
  apiKey: string;
@@ -18315,9 +18364,6 @@ export declare const messengerContract: {
18315
18364
  status: boolean;
18316
18365
  brandName: string;
18317
18366
  platformId: string;
18318
- connectedUserName?: string | null | undefined;
18319
- connectedUserId?: string | null | undefined;
18320
- lineRichMenuId?: string | null | undefined;
18321
18367
  actor?: {
18322
18368
  id: string;
18323
18369
  address: string | null;
@@ -18325,8 +18371,11 @@ export declare const messengerContract: {
18325
18371
  email: string;
18326
18372
  phone: string | null;
18327
18373
  } | undefined;
18374
+ lineRichMenuId?: string | null | undefined;
18375
+ connectedUserName?: string | null | undefined;
18376
+ connectedUserId?: string | null | undefined;
18328
18377
  }>;
18329
- }, "strip", z.ZodTypeAny, {
18378
+ }>, "strip", z.ZodTypeAny, {
18330
18379
  data: {
18331
18380
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
18332
18381
  id: string;
@@ -18335,8 +18384,8 @@ export declare const messengerContract: {
18335
18384
  id: string;
18336
18385
  name: string;
18337
18386
  accessToken?: string | undefined;
18338
- channelSecret?: string | undefined;
18339
18387
  additionalCredentials?: any;
18388
+ channelSecret?: string | undefined;
18340
18389
  vonageCredentials?: {
18341
18390
  mobileNumber: string;
18342
18391
  apiKey: string;
@@ -18347,9 +18396,6 @@ export declare const messengerContract: {
18347
18396
  status: boolean;
18348
18397
  brandName: string;
18349
18398
  platformId: string;
18350
- connectedUserName?: string | null | undefined;
18351
- connectedUserId?: string | null | undefined;
18352
- lineRichMenuId?: string | null | undefined;
18353
18399
  actor?: {
18354
18400
  id: string;
18355
18401
  address: string | null;
@@ -18357,6 +18403,9 @@ export declare const messengerContract: {
18357
18403
  email: string;
18358
18404
  phone: string | null;
18359
18405
  } | undefined;
18406
+ lineRichMenuId?: string | null | undefined;
18407
+ connectedUserName?: string | null | undefined;
18408
+ connectedUserId?: string | null | undefined;
18360
18409
  };
18361
18410
  requestId: string;
18362
18411
  }, {
@@ -18368,8 +18417,8 @@ export declare const messengerContract: {
18368
18417
  id: string;
18369
18418
  name: string;
18370
18419
  accessToken?: string | undefined;
18371
- channelSecret?: string | undefined;
18372
18420
  additionalCredentials?: any;
18421
+ channelSecret?: string | undefined;
18373
18422
  vonageCredentials?: {
18374
18423
  mobileNumber: string;
18375
18424
  apiKey: string;
@@ -18380,9 +18429,6 @@ export declare const messengerContract: {
18380
18429
  status: boolean;
18381
18430
  brandName: string;
18382
18431
  platformId: string;
18383
- connectedUserName?: string | null | undefined;
18384
- connectedUserId?: string | null | undefined;
18385
- lineRichMenuId?: string | null | undefined;
18386
18432
  actor?: {
18387
18433
  id: string;
18388
18434
  address: string | null;
@@ -18390,6 +18436,9 @@ export declare const messengerContract: {
18390
18436
  email: string;
18391
18437
  phone: string | null;
18392
18438
  } | undefined;
18439
+ lineRichMenuId?: string | null | undefined;
18440
+ connectedUserName?: string | null | undefined;
18441
+ connectedUserId?: string | null | undefined;
18393
18442
  };
18394
18443
  requestId: string;
18395
18444
  }>;
@@ -18414,12 +18463,12 @@ export declare const messengerContract: {
18414
18463
  error?: any;
18415
18464
  }>;
18416
18465
  };
18417
- path: "/delete/:channelId";
18418
18466
  };
18419
18467
  relogin: {
18420
- body: z.ZodObject<{
18421
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
18468
+ body: z.ZodObject<z.objectUtil.extendShape<{
18469
+ id: z.ZodString;
18422
18470
  name: z.ZodString;
18471
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
18423
18472
  metadata: z.ZodObject<{
18424
18473
  id: z.ZodString;
18425
18474
  name: z.ZodString;
@@ -18444,8 +18493,8 @@ export declare const messengerContract: {
18444
18493
  id: string;
18445
18494
  name: string;
18446
18495
  accessToken?: string | undefined;
18447
- channelSecret?: string | undefined;
18448
18496
  additionalCredentials?: any;
18497
+ channelSecret?: string | undefined;
18449
18498
  vonageCredentials?: {
18450
18499
  mobileNumber: string;
18451
18500
  apiKey: string;
@@ -18456,8 +18505,8 @@ export declare const messengerContract: {
18456
18505
  id: string;
18457
18506
  name: string;
18458
18507
  accessToken?: string | undefined;
18459
- channelSecret?: string | undefined;
18460
18508
  additionalCredentials?: any;
18509
+ channelSecret?: string | undefined;
18461
18510
  vonageCredentials?: {
18462
18511
  mobileNumber: string;
18463
18512
  apiKey: string;
@@ -18465,7 +18514,12 @@ export declare const messengerContract: {
18465
18514
  } | undefined;
18466
18515
  lineRichMenuId?: string | null | undefined;
18467
18516
  }>;
18517
+ platformId: z.ZodString;
18518
+ brandName: z.ZodString;
18468
18519
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
18520
+ connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18521
+ connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18522
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18469
18523
  actor: z.ZodOptional<z.ZodObject<{
18470
18524
  id: z.ZodString;
18471
18525
  name: z.ZodString;
@@ -18485,17 +18539,13 @@ export declare const messengerContract: {
18485
18539
  email: string;
18486
18540
  phone: string | null;
18487
18541
  }>>;
18488
- lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18489
- brandName: z.ZodString;
18490
- platformId: z.ZodString;
18491
- connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18492
- connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18542
+ }, {
18493
18543
  id: z.ZodString;
18494
18544
  createdAt: z.ZodString;
18495
18545
  updatedAt: z.ZodString;
18496
18546
  deletedAt: z.ZodNullable<z.ZodString>;
18497
18547
  isReloginRequired: z.ZodBoolean;
18498
- }, "strip", z.ZodTypeAny, {
18548
+ }>, "strip", z.ZodTypeAny, {
18499
18549
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
18500
18550
  id: string;
18501
18551
  name: string;
@@ -18503,8 +18553,8 @@ export declare const messengerContract: {
18503
18553
  id: string;
18504
18554
  name: string;
18505
18555
  accessToken?: string | undefined;
18506
- channelSecret?: string | undefined;
18507
18556
  additionalCredentials?: any;
18557
+ channelSecret?: string | undefined;
18508
18558
  vonageCredentials?: {
18509
18559
  mobileNumber: string;
18510
18560
  apiKey: string;
@@ -18537,8 +18587,8 @@ export declare const messengerContract: {
18537
18587
  id: string;
18538
18588
  name: string;
18539
18589
  accessToken?: string | undefined;
18540
- channelSecret?: string | undefined;
18541
18590
  additionalCredentials?: any;
18591
+ channelSecret?: string | undefined;
18542
18592
  vonageCredentials?: {
18543
18593
  mobileNumber: string;
18544
18594
  apiKey: string;
@@ -18565,9 +18615,11 @@ export declare const messengerContract: {
18565
18615
  connectedUserId?: string | null | undefined;
18566
18616
  }>;
18567
18617
  method: "POST";
18618
+ path: "/relogin";
18568
18619
  responses: {
18569
- 200: z.ZodObject<{
18620
+ 200: z.ZodObject<z.objectUtil.extendShape<{
18570
18621
  requestId: z.ZodString;
18622
+ }, {
18571
18623
  data: z.ZodObject<{
18572
18624
  id: z.ZodString;
18573
18625
  name: z.ZodString;
@@ -18596,8 +18648,8 @@ export declare const messengerContract: {
18596
18648
  id: string;
18597
18649
  name: string;
18598
18650
  accessToken?: string | undefined;
18599
- channelSecret?: string | undefined;
18600
18651
  additionalCredentials?: any;
18652
+ channelSecret?: string | undefined;
18601
18653
  vonageCredentials?: {
18602
18654
  mobileNumber: string;
18603
18655
  apiKey: string;
@@ -18608,8 +18660,8 @@ export declare const messengerContract: {
18608
18660
  id: string;
18609
18661
  name: string;
18610
18662
  accessToken?: string | undefined;
18611
- channelSecret?: string | undefined;
18612
18663
  additionalCredentials?: any;
18664
+ channelSecret?: string | undefined;
18613
18665
  vonageCredentials?: {
18614
18666
  mobileNumber: string;
18615
18667
  apiKey: string;
@@ -18650,8 +18702,8 @@ export declare const messengerContract: {
18650
18702
  id: string;
18651
18703
  name: string;
18652
18704
  accessToken?: string | undefined;
18653
- channelSecret?: string | undefined;
18654
18705
  additionalCredentials?: any;
18706
+ channelSecret?: string | undefined;
18655
18707
  vonageCredentials?: {
18656
18708
  mobileNumber: string;
18657
18709
  apiKey: string;
@@ -18662,9 +18714,6 @@ export declare const messengerContract: {
18662
18714
  status: boolean;
18663
18715
  brandName: string;
18664
18716
  platformId: string;
18665
- connectedUserName?: string | null | undefined;
18666
- connectedUserId?: string | null | undefined;
18667
- lineRichMenuId?: string | null | undefined;
18668
18717
  actor?: {
18669
18718
  id: string;
18670
18719
  address: string | null;
@@ -18672,6 +18721,9 @@ export declare const messengerContract: {
18672
18721
  email: string;
18673
18722
  phone: string | null;
18674
18723
  } | undefined;
18724
+ lineRichMenuId?: string | null | undefined;
18725
+ connectedUserName?: string | null | undefined;
18726
+ connectedUserId?: string | null | undefined;
18675
18727
  }, {
18676
18728
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
18677
18729
  id: string;
@@ -18680,8 +18732,8 @@ export declare const messengerContract: {
18680
18732
  id: string;
18681
18733
  name: string;
18682
18734
  accessToken?: string | undefined;
18683
- channelSecret?: string | undefined;
18684
18735
  additionalCredentials?: any;
18736
+ channelSecret?: string | undefined;
18685
18737
  vonageCredentials?: {
18686
18738
  mobileNumber: string;
18687
18739
  apiKey: string;
@@ -18692,9 +18744,6 @@ export declare const messengerContract: {
18692
18744
  status: boolean;
18693
18745
  brandName: string;
18694
18746
  platformId: string;
18695
- connectedUserName?: string | null | undefined;
18696
- connectedUserId?: string | null | undefined;
18697
- lineRichMenuId?: string | null | undefined;
18698
18747
  actor?: {
18699
18748
  id: string;
18700
18749
  address: string | null;
@@ -18702,8 +18751,11 @@ export declare const messengerContract: {
18702
18751
  email: string;
18703
18752
  phone: string | null;
18704
18753
  } | undefined;
18754
+ lineRichMenuId?: string | null | undefined;
18755
+ connectedUserName?: string | null | undefined;
18756
+ connectedUserId?: string | null | undefined;
18705
18757
  }>;
18706
- }, "strip", z.ZodTypeAny, {
18758
+ }>, "strip", z.ZodTypeAny, {
18707
18759
  data: {
18708
18760
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
18709
18761
  id: string;
@@ -18712,8 +18764,8 @@ export declare const messengerContract: {
18712
18764
  id: string;
18713
18765
  name: string;
18714
18766
  accessToken?: string | undefined;
18715
- channelSecret?: string | undefined;
18716
18767
  additionalCredentials?: any;
18768
+ channelSecret?: string | undefined;
18717
18769
  vonageCredentials?: {
18718
18770
  mobileNumber: string;
18719
18771
  apiKey: string;
@@ -18724,9 +18776,6 @@ export declare const messengerContract: {
18724
18776
  status: boolean;
18725
18777
  brandName: string;
18726
18778
  platformId: string;
18727
- connectedUserName?: string | null | undefined;
18728
- connectedUserId?: string | null | undefined;
18729
- lineRichMenuId?: string | null | undefined;
18730
18779
  actor?: {
18731
18780
  id: string;
18732
18781
  address: string | null;
@@ -18734,6 +18783,9 @@ export declare const messengerContract: {
18734
18783
  email: string;
18735
18784
  phone: string | null;
18736
18785
  } | undefined;
18786
+ lineRichMenuId?: string | null | undefined;
18787
+ connectedUserName?: string | null | undefined;
18788
+ connectedUserId?: string | null | undefined;
18737
18789
  };
18738
18790
  requestId: string;
18739
18791
  }, {
@@ -18745,8 +18797,8 @@ export declare const messengerContract: {
18745
18797
  id: string;
18746
18798
  name: string;
18747
18799
  accessToken?: string | undefined;
18748
- channelSecret?: string | undefined;
18749
18800
  additionalCredentials?: any;
18801
+ channelSecret?: string | undefined;
18750
18802
  vonageCredentials?: {
18751
18803
  mobileNumber: string;
18752
18804
  apiKey: string;
@@ -18757,9 +18809,6 @@ export declare const messengerContract: {
18757
18809
  status: boolean;
18758
18810
  brandName: string;
18759
18811
  platformId: string;
18760
- connectedUserName?: string | null | undefined;
18761
- connectedUserId?: string | null | undefined;
18762
- lineRichMenuId?: string | null | undefined;
18763
18812
  actor?: {
18764
18813
  id: string;
18765
18814
  address: string | null;
@@ -18767,6 +18816,9 @@ export declare const messengerContract: {
18767
18816
  email: string;
18768
18817
  phone: string | null;
18769
18818
  } | undefined;
18819
+ lineRichMenuId?: string | null | undefined;
18820
+ connectedUserName?: string | null | undefined;
18821
+ connectedUserId?: string | null | undefined;
18770
18822
  };
18771
18823
  requestId: string;
18772
18824
  }>;
@@ -18791,7 +18843,6 @@ export declare const messengerContract: {
18791
18843
  error?: any;
18792
18844
  }>;
18793
18845
  };
18794
- path: "/relogin";
18795
18846
  };
18796
18847
  getFacebookPages: {
18797
18848
  method: "GET";
@@ -18805,9 +18856,11 @@ export declare const messengerContract: {
18805
18856
  userId: string;
18806
18857
  accessToken: string;
18807
18858
  }>;
18859
+ path: "/pages";
18808
18860
  responses: {
18809
- 200: z.ZodObject<{
18861
+ 200: z.ZodObject<z.objectUtil.extendShape<{
18810
18862
  requestId: z.ZodString;
18863
+ }, {
18811
18864
  data: z.ZodArray<z.ZodObject<{
18812
18865
  access_token: z.ZodString;
18813
18866
  category: z.ZodString;
@@ -18850,24 +18903,24 @@ export declare const messengerContract: {
18850
18903
  before: z.ZodOptional<z.ZodString>;
18851
18904
  after: z.ZodOptional<z.ZodString>;
18852
18905
  }, "strip", z.ZodTypeAny, {
18853
- before?: string | undefined;
18854
18906
  after?: string | undefined;
18855
- }, {
18856
18907
  before?: string | undefined;
18908
+ }, {
18857
18909
  after?: string | undefined;
18910
+ before?: string | undefined;
18858
18911
  }>;
18859
18912
  }, "strip", z.ZodTypeAny, {
18860
18913
  cursors: {
18861
- before?: string | undefined;
18862
18914
  after?: string | undefined;
18915
+ before?: string | undefined;
18863
18916
  };
18864
18917
  }, {
18865
18918
  cursors: {
18866
- before?: string | undefined;
18867
18919
  after?: string | undefined;
18920
+ before?: string | undefined;
18868
18921
  };
18869
18922
  }>>;
18870
- }, "strip", z.ZodTypeAny, {
18923
+ }>, "strip", z.ZodTypeAny, {
18871
18924
  data: {
18872
18925
  id: string;
18873
18926
  name: string;
@@ -18882,8 +18935,8 @@ export declare const messengerContract: {
18882
18935
  requestId: string;
18883
18936
  paging?: {
18884
18937
  cursors: {
18885
- before?: string | undefined;
18886
18938
  after?: string | undefined;
18939
+ before?: string | undefined;
18887
18940
  };
18888
18941
  } | undefined;
18889
18942
  }, {
@@ -18901,8 +18954,8 @@ export declare const messengerContract: {
18901
18954
  requestId: string;
18902
18955
  paging?: {
18903
18956
  cursors: {
18904
- before?: string | undefined;
18905
18957
  after?: string | undefined;
18958
+ before?: string | undefined;
18906
18959
  };
18907
18960
  } | undefined;
18908
18961
  }>;
@@ -18917,7 +18970,6 @@ export declare const messengerContract: {
18917
18970
  error?: any;
18918
18971
  }>;
18919
18972
  };
18920
- path: "/pages";
18921
18973
  };
18922
18974
  setBotPersistentMenu: {
18923
18975
  body: z.ZodObject<{
@@ -18928,6 +18980,7 @@ export declare const messengerContract: {
18928
18980
  pageAccessToken: string;
18929
18981
  }>;
18930
18982
  method: "POST";
18983
+ path: "/set-bot-persistent-menu";
18931
18984
  responses: {
18932
18985
  200: z.ZodObject<{
18933
18986
  requestId: z.ZodString;
@@ -18947,7 +19000,6 @@ export declare const messengerContract: {
18947
19000
  error?: any;
18948
19001
  }>;
18949
19002
  };
18950
- path: "/set-bot-persistent-menu";
18951
19003
  };
18952
19004
  };
18953
19005
  //# sourceMappingURL=index.d.ts.map