@kl1/contracts 1.4.64 → 1.4.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +20 -21
  2. package/dist/api-contracts/src/activity-log/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/activity-log/schema.d.ts +3 -4
  4. package/dist/api-contracts/src/activity-log/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/attribute/index.d.ts +116 -132
  6. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/attribute/schema.d.ts +2 -5
  8. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  9. package/dist/api-contracts/src/attribute-option/schema.d.ts +0 -1
  10. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/auth/index.d.ts +20 -22
  12. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  13. package/dist/api-contracts/src/automation-queue/index.d.ts +126 -148
  14. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  15. package/dist/api-contracts/src/automation-queue/schema.d.ts +6 -9
  16. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
  17. package/dist/api-contracts/src/aws/index.d.ts +2 -4
  18. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/botpress/index.d.ts +22 -29
  20. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/botpress/validation.d.ts +17 -20
  22. package/dist/api-contracts/src/botpress/validation.d.ts.map +1 -1
  23. package/dist/api-contracts/src/business-calendar/index.d.ts +4 -16
  24. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  25. package/dist/api-contracts/src/business-calendar/schema.d.ts +0 -5
  26. package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
  27. package/dist/api-contracts/src/call-log/schema.d.ts +2 -3
  28. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  29. package/dist/api-contracts/src/category/index.d.ts +91 -100
  30. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  31. package/dist/api-contracts/src/category/schema.d.ts +0 -1
  32. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  33. package/dist/api-contracts/src/channel/index.d.ts +2156 -2256
  34. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  35. package/dist/api-contracts/src/channel/schema.d.ts +82 -82
  36. package/dist/api-contracts/src/channel/validation.d.ts +104 -168
  37. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/chat/index.d.ts +11622 -12173
  39. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/chat/schema.d.ts +2567 -2729
  41. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  42. package/dist/api-contracts/src/chat/validation.d.ts +4875 -4976
  43. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  44. package/dist/api-contracts/src/comment/index.d.ts +155 -227
  45. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/comment/schema.d.ts +29 -52
  47. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  48. package/dist/api-contracts/src/company/index.d.ts +55 -162
  49. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  50. package/dist/api-contracts/src/company/schema.d.ts +6 -15
  51. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  52. package/dist/api-contracts/src/company/validation.d.ts +30 -86
  53. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  54. package/dist/api-contracts/src/contact/index.d.ts +314 -433
  55. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  56. package/dist/api-contracts/src/contact/schema.d.ts +14 -28
  57. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  58. package/dist/api-contracts/src/contact/validation.d.ts +56 -137
  59. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  60. package/dist/api-contracts/src/contact-email/schema.d.ts +0 -1
  61. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  62. package/dist/api-contracts/src/contact-phone/schema.d.ts +0 -1
  63. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  64. package/dist/api-contracts/src/contract.d.ts +24290 -30087
  65. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  66. package/dist/api-contracts/src/custom-field/schema.d.ts +0 -1
  67. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  68. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  69. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +0 -1
  70. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  71. package/dist/api-contracts/src/cx-intelligence/index.d.ts +41 -44
  72. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/cx-log/index.d.ts +674 -722
  74. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  75. package/dist/api-contracts/src/cx-log/schema.d.ts +382 -435
  76. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  77. package/dist/api-contracts/src/cx-log/validation.d.ts +40 -40
  78. package/dist/api-contracts/src/dashboard/index.d.ts +304 -347
  79. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  80. package/dist/api-contracts/src/dashboard/schema.d.ts +2 -3
  81. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  82. package/dist/api-contracts/src/dashboard/validation.d.ts +10 -14
  83. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  84. package/dist/api-contracts/src/evaluate-form/index.d.ts +1 -2
  85. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  86. package/dist/api-contracts/src/evaluate-form/schema.d.ts +0 -1
  87. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  88. package/dist/api-contracts/src/export/index.d.ts +1 -2
  89. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/extension/index.d.ts +100 -106
  91. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  92. package/dist/api-contracts/src/facebook-feed/index.d.ts +4525 -4603
  93. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  94. package/dist/api-contracts/src/facebook-feed/schema.d.ts +81 -93
  95. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  96. package/dist/api-contracts/src/facebook-feed/validation.d.ts +83 -94
  97. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  98. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  99. package/dist/api-contracts/src/group/schema.d.ts +0 -1
  100. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  101. package/dist/api-contracts/src/hold-label/index.d.ts +30 -49
  102. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  103. package/dist/api-contracts/src/hold-label/schema.d.ts +4 -10
  104. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  105. package/dist/api-contracts/src/hold-label/validation.d.ts +2 -2
  106. package/dist/api-contracts/src/index.d.ts +0 -1
  107. package/dist/api-contracts/src/index.d.ts.map +1 -1
  108. package/dist/api-contracts/src/instagram/index.d.ts +2020 -2085
  109. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  110. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  111. package/dist/api-contracts/src/invoice/index.d.ts +1 -3
  112. package/dist/api-contracts/src/invoice/index.d.ts.map +1 -1
  113. package/dist/api-contracts/src/invoice/schema.d.ts +0 -1
  114. package/dist/api-contracts/src/invoice/schema.d.ts.map +1 -1
  115. package/dist/api-contracts/src/klink-chat/index.d.ts +2748 -2812
  116. package/dist/api-contracts/src/klink-chat/index.d.ts.map +1 -1
  117. package/dist/api-contracts/src/line/index.d.ts +2257 -2322
  118. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  119. package/dist/api-contracts/src/line/schema.d.ts +9 -10
  120. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  121. package/dist/api-contracts/src/line/validation.d.ts +148 -148
  122. package/dist/api-contracts/src/log-form/schema.d.ts +0 -1
  123. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  124. package/dist/api-contracts/src/mail/account-contract.d.ts +174 -223
  125. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  126. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +1 -2
  127. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  128. package/dist/api-contracts/src/mail/mail-contract.d.ts +303 -423
  129. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  130. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +6 -12
  131. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  132. package/dist/api-contracts/src/mail/message-contract.d.ts +80 -86
  133. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  134. package/dist/api-contracts/src/mail/room-contract.d.ts +43 -102
  135. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  136. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +0 -27
  137. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
  138. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +0 -3
  139. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts.map +1 -1
  140. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  141. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +18 -31
  142. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  143. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +6 -18
  144. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  145. package/dist/api-contracts/src/messenger/index.d.ts +2020 -2086
  146. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  147. package/dist/api-contracts/src/messenger/validation.d.ts +83 -94
  148. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  149. package/dist/api-contracts/src/notification/index.d.ts +13 -20
  150. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  151. package/dist/api-contracts/src/notification/schema.d.ts +9 -12
  152. package/dist/api-contracts/src/notification/schema.d.ts.map +1 -1
  153. package/dist/api-contracts/src/notification/validation.d.ts +3 -4
  154. package/dist/api-contracts/src/notification/validation.d.ts.map +1 -1
  155. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  156. package/dist/api-contracts/src/presence-status/index.d.ts +83 -87
  157. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  158. package/dist/api-contracts/src/presence-status/schema.d.ts +3 -4
  159. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  160. package/dist/api-contracts/src/public-api/index.d.ts +194 -4606
  161. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  162. package/dist/api-contracts/src/public-api/schema.d.ts +6 -20
  163. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  164. package/dist/api-contracts/src/public-api/validation.d.ts +38 -63
  165. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  166. package/dist/api-contracts/src/role/index.d.ts +75 -80
  167. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  168. package/dist/api-contracts/src/sms/index.d.ts +540 -549
  169. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  170. package/dist/api-contracts/src/snippet/index.d.ts +10 -32
  171. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  172. package/dist/api-contracts/src/snippet/schema.d.ts +0 -7
  173. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  174. package/dist/api-contracts/src/snippet/validation.d.ts +2 -3
  175. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  176. package/dist/api-contracts/src/subscription/index.d.ts +6 -474
  177. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  178. package/dist/api-contracts/src/subscription/schema.d.ts +0 -31
  179. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  180. package/dist/api-contracts/src/tag/index.d.ts +58 -65
  181. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  182. package/dist/api-contracts/src/tag/schema.d.ts +0 -1
  183. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  184. package/dist/api-contracts/src/tag-group/schema.d.ts +0 -1
  185. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  186. package/dist/api-contracts/src/telegram/index.d.ts +3579 -3642
  187. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  188. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +463 -38
  189. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  190. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +6 -5
  191. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  192. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  193. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  194. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  195. package/dist/api-contracts/src/telephony-cdr/index.d.ts +694 -748
  196. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  197. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +144 -170
  198. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  199. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +39 -43
  200. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  201. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  202. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  203. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +0 -1
  204. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  205. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +0 -1
  206. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  207. package/dist/api-contracts/src/tenant/schema.d.ts +0 -1
  208. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  209. package/dist/api-contracts/src/ticket/index.d.ts +452 -564
  210. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  211. package/dist/api-contracts/src/ticket/schema.d.ts +21 -47
  212. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  213. package/dist/api-contracts/src/ticket/validation.d.ts +51 -53
  214. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  215. package/dist/api-contracts/src/upload/index.d.ts +30 -32
  216. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  217. package/dist/api-contracts/src/upload/schema.d.ts +0 -1
  218. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  219. package/dist/api-contracts/src/user/index.d.ts +126 -137
  220. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  221. package/dist/api-contracts/src/user/schema.d.ts +3 -4
  222. package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
  223. package/dist/api-contracts/src/user/validation.d.ts +2 -3
  224. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  225. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -34
  226. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  227. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +3 -5
  228. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  229. package/dist/api-contracts/src/viber/index.d.ts +2473 -2536
  230. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  231. package/dist/api-contracts/src/webchat/index.d.ts +2569 -2632
  232. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  233. package/dist/api-contracts/src/whatsapp/index.d.ts +1778 -1850
  234. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  235. package/dist/api-contracts/src/whatsapp/validation.d.ts +4 -15
  236. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  237. package/dist/api-contracts/src/widget/index.d.ts +132 -145
  238. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  239. package/dist/api-contracts/src/widget/schema.d.ts +0 -1
  240. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  241. package/dist/api-contracts/src/widget/validation.d.ts +16 -16
  242. package/dist/api-contracts/src/workflow-rule/index.d.ts +1919 -2045
  243. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  244. package/dist/api-contracts/src/workflow-rule/schema.d.ts +0 -1
  245. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  246. package/dist/api-contracts/src/wrap-up-form/index.d.ts +109 -128
  247. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  248. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +0 -3
  249. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  250. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +18 -19
  251. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  252. package/dist/api-contracts/utils.d.ts +1 -2
  253. package/dist/api-contracts/utils.d.ts.map +1 -1
  254. package/dist/entities/src/enums/chat.d.ts +0 -2
  255. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  256. package/dist/index.js +1684 -1786
  257. package/dist/index.js.map +1 -1
  258. package/dist/index.mjs +1684 -1785
  259. package/dist/index.mjs.map +1 -1
  260. package/package.json +2 -2
@@ -98,11 +98,9 @@ export declare const smsContract: {
98
98
  };
99
99
  }>;
100
100
  method: "POST";
101
- path: "/connect";
102
101
  responses: {
103
102
  200: z.ZodObject<{
104
103
  requestId: z.ZodString;
105
- } & {
106
104
  channel: z.ZodObject<{
107
105
  id: z.ZodString;
108
106
  createdAt: z.ZodDate;
@@ -131,28 +129,28 @@ export declare const smsContract: {
131
129
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
132
130
  integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
133
131
  }, "strip", z.ZodTypeAny, {
134
- email?: string | null | undefined;
135
- status?: "active" | "pending" | "waapi-qr" | undefined;
136
- channelId?: string | null | undefined;
137
132
  wabaBusinessId?: string | null | undefined;
138
133
  wabaExternalId?: string | null | undefined;
139
134
  phoneNumberId?: string | null | undefined;
135
+ email?: string | null | undefined;
140
136
  clientId?: string | null | undefined;
137
+ channelId?: string | null | undefined;
141
138
  waapiInstanceId?: string | null | undefined;
142
139
  qr?: string | null | undefined;
140
+ status?: "active" | "pending" | "waapi-qr" | undefined;
143
141
  apiKey?: string | undefined;
144
142
  tier?: "basic" | "regular" | "premium" | undefined;
145
143
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
146
144
  }, {
147
- email?: string | null | undefined;
148
- status?: "active" | "pending" | "waapi-qr" | undefined;
149
- channelId?: string | null | undefined;
150
145
  wabaBusinessId?: string | null | undefined;
151
146
  wabaExternalId?: string | null | undefined;
152
147
  phoneNumberId?: string | null | undefined;
148
+ email?: string | null | undefined;
153
149
  clientId?: string | null | undefined;
150
+ channelId?: string | null | undefined;
154
151
  waapiInstanceId?: string | null | undefined;
155
152
  qr?: string | null | undefined;
153
+ status?: "active" | "pending" | "waapi-qr" | undefined;
156
154
  apiKey?: string | undefined;
157
155
  tier?: "basic" | "regular" | "premium" | undefined;
158
156
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
@@ -188,33 +186,33 @@ export declare const smsContract: {
188
186
  }, "strip", z.ZodTypeAny, {
189
187
  name: string;
190
188
  id: string;
191
- line?: {
192
- channelId: string;
193
- channelSecret: string;
194
- } | undefined;
189
+ accessToken?: string | undefined;
190
+ channelSecret?: string | undefined;
191
+ additionalCredentials?: any;
192
+ senderId?: string | undefined;
195
193
  whatsapp?: {
196
- email?: string | null | undefined;
197
- status?: "active" | "pending" | "waapi-qr" | undefined;
198
- channelId?: string | null | undefined;
199
194
  wabaBusinessId?: string | null | undefined;
200
195
  wabaExternalId?: string | null | undefined;
201
196
  phoneNumberId?: string | null | undefined;
197
+ email?: string | null | undefined;
202
198
  clientId?: string | null | undefined;
199
+ channelId?: string | null | undefined;
203
200
  waapiInstanceId?: string | null | undefined;
204
201
  qr?: string | null | undefined;
202
+ status?: "active" | "pending" | "waapi-qr" | undefined;
205
203
  apiKey?: string | undefined;
206
204
  tier?: "basic" | "regular" | "premium" | undefined;
207
205
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
208
206
  } | undefined;
209
- additionalCredentials?: any;
210
- accessToken?: string | undefined;
211
- channelSecret?: string | undefined;
212
- senderId?: string | undefined;
213
207
  vonageCredentials?: {
214
208
  apiKey: string;
215
209
  mobileNumber: string;
216
210
  apiSecret: string;
217
211
  } | undefined;
212
+ line?: {
213
+ channelId: string;
214
+ channelSecret: string;
215
+ } | undefined;
218
216
  lineRichMenuId?: string | null | undefined;
219
217
  messengerIntegrationType?: "own" | "business" | undefined;
220
218
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -223,33 +221,33 @@ export declare const smsContract: {
223
221
  }, {
224
222
  name: string;
225
223
  id: string;
226
- line?: {
227
- channelId: string;
228
- channelSecret: string;
229
- } | undefined;
224
+ accessToken?: string | undefined;
225
+ channelSecret?: string | undefined;
226
+ additionalCredentials?: any;
227
+ senderId?: string | undefined;
230
228
  whatsapp?: {
231
- email?: string | null | undefined;
232
- status?: "active" | "pending" | "waapi-qr" | undefined;
233
- channelId?: string | null | undefined;
234
229
  wabaBusinessId?: string | null | undefined;
235
230
  wabaExternalId?: string | null | undefined;
236
231
  phoneNumberId?: string | null | undefined;
232
+ email?: string | null | undefined;
237
233
  clientId?: string | null | undefined;
234
+ channelId?: string | null | undefined;
238
235
  waapiInstanceId?: string | null | undefined;
239
236
  qr?: string | null | undefined;
237
+ status?: "active" | "pending" | "waapi-qr" | undefined;
240
238
  apiKey?: string | undefined;
241
239
  tier?: "basic" | "regular" | "premium" | undefined;
242
240
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
243
241
  } | undefined;
244
- additionalCredentials?: any;
245
- accessToken?: string | undefined;
246
- channelSecret?: string | undefined;
247
- senderId?: string | undefined;
248
242
  vonageCredentials?: {
249
243
  apiKey: string;
250
244
  mobileNumber: string;
251
245
  apiSecret: string;
252
246
  } | undefined;
247
+ line?: {
248
+ channelId: string;
249
+ channelSecret: string;
250
+ } | undefined;
253
251
  lineRichMenuId?: string | null | undefined;
254
252
  messengerIntegrationType?: "own" | "business" | undefined;
255
253
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -492,33 +490,33 @@ export declare const smsContract: {
492
490
  metadata: {
493
491
  name: string;
494
492
  id: string;
495
- line?: {
496
- channelId: string;
497
- channelSecret: string;
498
- } | undefined;
493
+ accessToken?: string | undefined;
494
+ channelSecret?: string | undefined;
495
+ additionalCredentials?: any;
496
+ senderId?: string | undefined;
499
497
  whatsapp?: {
500
- email?: string | null | undefined;
501
- status?: "active" | "pending" | "waapi-qr" | undefined;
502
- channelId?: string | null | undefined;
503
498
  wabaBusinessId?: string | null | undefined;
504
499
  wabaExternalId?: string | null | undefined;
505
500
  phoneNumberId?: string | null | undefined;
501
+ email?: string | null | undefined;
506
502
  clientId?: string | null | undefined;
503
+ channelId?: string | null | undefined;
507
504
  waapiInstanceId?: string | null | undefined;
508
505
  qr?: string | null | undefined;
506
+ status?: "active" | "pending" | "waapi-qr" | undefined;
509
507
  apiKey?: string | undefined;
510
508
  tier?: "basic" | "regular" | "premium" | undefined;
511
509
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
512
510
  } | undefined;
513
- additionalCredentials?: any;
514
- accessToken?: string | undefined;
515
- channelSecret?: string | undefined;
516
- senderId?: string | undefined;
517
511
  vonageCredentials?: {
518
512
  apiKey: string;
519
513
  mobileNumber: string;
520
514
  apiSecret: string;
521
515
  } | undefined;
516
+ line?: {
517
+ channelId: string;
518
+ channelSecret: string;
519
+ } | undefined;
522
520
  lineRichMenuId?: string | null | undefined;
523
521
  messengerIntegrationType?: "own" | "business" | undefined;
524
522
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -592,33 +590,33 @@ export declare const smsContract: {
592
590
  metadata: {
593
591
  name: string;
594
592
  id: string;
595
- line?: {
596
- channelId: string;
597
- channelSecret: string;
598
- } | undefined;
593
+ accessToken?: string | undefined;
594
+ channelSecret?: string | undefined;
595
+ additionalCredentials?: any;
596
+ senderId?: string | undefined;
599
597
  whatsapp?: {
600
- email?: string | null | undefined;
601
- status?: "active" | "pending" | "waapi-qr" | undefined;
602
- channelId?: string | null | undefined;
603
598
  wabaBusinessId?: string | null | undefined;
604
599
  wabaExternalId?: string | null | undefined;
605
600
  phoneNumberId?: string | null | undefined;
601
+ email?: string | null | undefined;
606
602
  clientId?: string | null | undefined;
603
+ channelId?: string | null | undefined;
607
604
  waapiInstanceId?: string | null | undefined;
608
605
  qr?: string | null | undefined;
606
+ status?: "active" | "pending" | "waapi-qr" | undefined;
609
607
  apiKey?: string | undefined;
610
608
  tier?: "basic" | "regular" | "premium" | undefined;
611
609
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
612
610
  } | undefined;
613
- additionalCredentials?: any;
614
- accessToken?: string | undefined;
615
- channelSecret?: string | undefined;
616
- senderId?: string | undefined;
617
611
  vonageCredentials?: {
618
612
  apiKey: string;
619
613
  mobileNumber: string;
620
614
  apiSecret: string;
621
615
  } | undefined;
616
+ line?: {
617
+ channelId: string;
618
+ channelSecret: string;
619
+ } | undefined;
622
620
  lineRichMenuId?: string | null | undefined;
623
621
  messengerIntegrationType?: "own" | "business" | undefined;
624
622
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -694,33 +692,33 @@ export declare const smsContract: {
694
692
  metadata: {
695
693
  name: string;
696
694
  id: string;
697
- line?: {
698
- channelId: string;
699
- channelSecret: string;
700
- } | undefined;
695
+ accessToken?: string | undefined;
696
+ channelSecret?: string | undefined;
697
+ additionalCredentials?: any;
698
+ senderId?: string | undefined;
701
699
  whatsapp?: {
702
- email?: string | null | undefined;
703
- status?: "active" | "pending" | "waapi-qr" | undefined;
704
- channelId?: string | null | undefined;
705
700
  wabaBusinessId?: string | null | undefined;
706
701
  wabaExternalId?: string | null | undefined;
707
702
  phoneNumberId?: string | null | undefined;
703
+ email?: string | null | undefined;
708
704
  clientId?: string | null | undefined;
705
+ channelId?: string | null | undefined;
709
706
  waapiInstanceId?: string | null | undefined;
710
707
  qr?: string | null | undefined;
708
+ status?: "active" | "pending" | "waapi-qr" | undefined;
711
709
  apiKey?: string | undefined;
712
710
  tier?: "basic" | "regular" | "premium" | undefined;
713
711
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
714
712
  } | undefined;
715
- additionalCredentials?: any;
716
- accessToken?: string | undefined;
717
- channelSecret?: string | undefined;
718
- senderId?: string | undefined;
719
713
  vonageCredentials?: {
720
714
  apiKey: string;
721
715
  mobileNumber: string;
722
716
  apiSecret: string;
723
717
  } | undefined;
718
+ line?: {
719
+ channelId: string;
720
+ channelSecret: string;
721
+ } | undefined;
724
722
  lineRichMenuId?: string | null | undefined;
725
723
  messengerIntegrationType?: "own" | "business" | undefined;
726
724
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -797,33 +795,33 @@ export declare const smsContract: {
797
795
  metadata: {
798
796
  name: string;
799
797
  id: string;
800
- line?: {
801
- channelId: string;
802
- channelSecret: string;
803
- } | undefined;
798
+ accessToken?: string | undefined;
799
+ channelSecret?: string | undefined;
800
+ additionalCredentials?: any;
801
+ senderId?: string | undefined;
804
802
  whatsapp?: {
805
- email?: string | null | undefined;
806
- status?: "active" | "pending" | "waapi-qr" | undefined;
807
- channelId?: string | null | undefined;
808
803
  wabaBusinessId?: string | null | undefined;
809
804
  wabaExternalId?: string | null | undefined;
810
805
  phoneNumberId?: string | null | undefined;
806
+ email?: string | null | undefined;
811
807
  clientId?: string | null | undefined;
808
+ channelId?: string | null | undefined;
812
809
  waapiInstanceId?: string | null | undefined;
813
810
  qr?: string | null | undefined;
811
+ status?: "active" | "pending" | "waapi-qr" | undefined;
814
812
  apiKey?: string | undefined;
815
813
  tier?: "basic" | "regular" | "premium" | undefined;
816
814
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
817
815
  } | undefined;
818
- additionalCredentials?: any;
819
- accessToken?: string | undefined;
820
- channelSecret?: string | undefined;
821
- senderId?: string | undefined;
822
816
  vonageCredentials?: {
823
817
  apiKey: string;
824
818
  mobileNumber: string;
825
819
  apiSecret: string;
826
820
  } | undefined;
821
+ line?: {
822
+ channelId: string;
823
+ channelSecret: string;
824
+ } | undefined;
827
825
  lineRichMenuId?: string | null | undefined;
828
826
  messengerIntegrationType?: "own" | "business" | undefined;
829
827
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -914,6 +912,7 @@ export declare const smsContract: {
914
912
  error?: any;
915
913
  }>;
916
914
  };
915
+ path: "/connect";
917
916
  };
918
917
  disconnectSMSChannel: {
919
918
  body: z.ZodObject<{
@@ -924,11 +923,9 @@ export declare const smsContract: {
924
923
  id: string;
925
924
  }>;
926
925
  method: "POST";
927
- path: "/disconnect";
928
926
  responses: {
929
927
  200: z.ZodObject<{
930
928
  requestId: z.ZodString;
931
- } & {
932
929
  channel: z.ZodObject<{
933
930
  id: z.ZodString;
934
931
  createdAt: z.ZodDate;
@@ -957,28 +954,28 @@ export declare const smsContract: {
957
954
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
958
955
  integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
959
956
  }, "strip", z.ZodTypeAny, {
960
- email?: string | null | undefined;
961
- status?: "active" | "pending" | "waapi-qr" | undefined;
962
- channelId?: string | null | undefined;
963
957
  wabaBusinessId?: string | null | undefined;
964
958
  wabaExternalId?: string | null | undefined;
965
959
  phoneNumberId?: string | null | undefined;
960
+ email?: string | null | undefined;
966
961
  clientId?: string | null | undefined;
962
+ channelId?: string | null | undefined;
967
963
  waapiInstanceId?: string | null | undefined;
968
964
  qr?: string | null | undefined;
965
+ status?: "active" | "pending" | "waapi-qr" | undefined;
969
966
  apiKey?: string | undefined;
970
967
  tier?: "basic" | "regular" | "premium" | undefined;
971
968
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
972
969
  }, {
973
- email?: string | null | undefined;
974
- status?: "active" | "pending" | "waapi-qr" | undefined;
975
- channelId?: string | null | undefined;
976
970
  wabaBusinessId?: string | null | undefined;
977
971
  wabaExternalId?: string | null | undefined;
978
972
  phoneNumberId?: string | null | undefined;
973
+ email?: string | null | undefined;
979
974
  clientId?: string | null | undefined;
975
+ channelId?: string | null | undefined;
980
976
  waapiInstanceId?: string | null | undefined;
981
977
  qr?: string | null | undefined;
978
+ status?: "active" | "pending" | "waapi-qr" | undefined;
982
979
  apiKey?: string | undefined;
983
980
  tier?: "basic" | "regular" | "premium" | undefined;
984
981
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
@@ -1014,33 +1011,33 @@ export declare const smsContract: {
1014
1011
  }, "strip", z.ZodTypeAny, {
1015
1012
  name: string;
1016
1013
  id: string;
1017
- line?: {
1018
- channelId: string;
1019
- channelSecret: string;
1020
- } | undefined;
1014
+ accessToken?: string | undefined;
1015
+ channelSecret?: string | undefined;
1016
+ additionalCredentials?: any;
1017
+ senderId?: string | undefined;
1021
1018
  whatsapp?: {
1022
- email?: string | null | undefined;
1023
- status?: "active" | "pending" | "waapi-qr" | undefined;
1024
- channelId?: string | null | undefined;
1025
1019
  wabaBusinessId?: string | null | undefined;
1026
1020
  wabaExternalId?: string | null | undefined;
1027
1021
  phoneNumberId?: string | null | undefined;
1022
+ email?: string | null | undefined;
1028
1023
  clientId?: string | null | undefined;
1024
+ channelId?: string | null | undefined;
1029
1025
  waapiInstanceId?: string | null | undefined;
1030
1026
  qr?: string | null | undefined;
1027
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1031
1028
  apiKey?: string | undefined;
1032
1029
  tier?: "basic" | "regular" | "premium" | undefined;
1033
1030
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1034
1031
  } | undefined;
1035
- additionalCredentials?: any;
1036
- accessToken?: string | undefined;
1037
- channelSecret?: string | undefined;
1038
- senderId?: string | undefined;
1039
1032
  vonageCredentials?: {
1040
1033
  apiKey: string;
1041
1034
  mobileNumber: string;
1042
1035
  apiSecret: string;
1043
1036
  } | undefined;
1037
+ line?: {
1038
+ channelId: string;
1039
+ channelSecret: string;
1040
+ } | undefined;
1044
1041
  lineRichMenuId?: string | null | undefined;
1045
1042
  messengerIntegrationType?: "own" | "business" | undefined;
1046
1043
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1049,33 +1046,33 @@ export declare const smsContract: {
1049
1046
  }, {
1050
1047
  name: string;
1051
1048
  id: string;
1052
- line?: {
1053
- channelId: string;
1054
- channelSecret: string;
1055
- } | undefined;
1049
+ accessToken?: string | undefined;
1050
+ channelSecret?: string | undefined;
1051
+ additionalCredentials?: any;
1052
+ senderId?: string | undefined;
1056
1053
  whatsapp?: {
1057
- email?: string | null | undefined;
1058
- status?: "active" | "pending" | "waapi-qr" | undefined;
1059
- channelId?: string | null | undefined;
1060
1054
  wabaBusinessId?: string | null | undefined;
1061
1055
  wabaExternalId?: string | null | undefined;
1062
1056
  phoneNumberId?: string | null | undefined;
1057
+ email?: string | null | undefined;
1063
1058
  clientId?: string | null | undefined;
1059
+ channelId?: string | null | undefined;
1064
1060
  waapiInstanceId?: string | null | undefined;
1065
1061
  qr?: string | null | undefined;
1062
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1066
1063
  apiKey?: string | undefined;
1067
1064
  tier?: "basic" | "regular" | "premium" | undefined;
1068
1065
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1069
1066
  } | undefined;
1070
- additionalCredentials?: any;
1071
- accessToken?: string | undefined;
1072
- channelSecret?: string | undefined;
1073
- senderId?: string | undefined;
1074
1067
  vonageCredentials?: {
1075
1068
  apiKey: string;
1076
1069
  mobileNumber: string;
1077
1070
  apiSecret: string;
1078
1071
  } | undefined;
1072
+ line?: {
1073
+ channelId: string;
1074
+ channelSecret: string;
1075
+ } | undefined;
1079
1076
  lineRichMenuId?: string | null | undefined;
1080
1077
  messengerIntegrationType?: "own" | "business" | undefined;
1081
1078
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1318,33 +1315,33 @@ export declare const smsContract: {
1318
1315
  metadata: {
1319
1316
  name: string;
1320
1317
  id: string;
1321
- line?: {
1322
- channelId: string;
1323
- channelSecret: string;
1324
- } | undefined;
1318
+ accessToken?: string | undefined;
1319
+ channelSecret?: string | undefined;
1320
+ additionalCredentials?: any;
1321
+ senderId?: string | undefined;
1325
1322
  whatsapp?: {
1326
- email?: string | null | undefined;
1327
- status?: "active" | "pending" | "waapi-qr" | undefined;
1328
- channelId?: string | null | undefined;
1329
1323
  wabaBusinessId?: string | null | undefined;
1330
1324
  wabaExternalId?: string | null | undefined;
1331
1325
  phoneNumberId?: string | null | undefined;
1326
+ email?: string | null | undefined;
1332
1327
  clientId?: string | null | undefined;
1328
+ channelId?: string | null | undefined;
1333
1329
  waapiInstanceId?: string | null | undefined;
1334
1330
  qr?: string | null | undefined;
1331
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1335
1332
  apiKey?: string | undefined;
1336
1333
  tier?: "basic" | "regular" | "premium" | undefined;
1337
1334
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1338
1335
  } | undefined;
1339
- additionalCredentials?: any;
1340
- accessToken?: string | undefined;
1341
- channelSecret?: string | undefined;
1342
- senderId?: string | undefined;
1343
1336
  vonageCredentials?: {
1344
1337
  apiKey: string;
1345
1338
  mobileNumber: string;
1346
1339
  apiSecret: string;
1347
1340
  } | undefined;
1341
+ line?: {
1342
+ channelId: string;
1343
+ channelSecret: string;
1344
+ } | undefined;
1348
1345
  lineRichMenuId?: string | null | undefined;
1349
1346
  messengerIntegrationType?: "own" | "business" | undefined;
1350
1347
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1418,33 +1415,33 @@ export declare const smsContract: {
1418
1415
  metadata: {
1419
1416
  name: string;
1420
1417
  id: string;
1421
- line?: {
1422
- channelId: string;
1423
- channelSecret: string;
1424
- } | undefined;
1418
+ accessToken?: string | undefined;
1419
+ channelSecret?: string | undefined;
1420
+ additionalCredentials?: any;
1421
+ senderId?: string | undefined;
1425
1422
  whatsapp?: {
1426
- email?: string | null | undefined;
1427
- status?: "active" | "pending" | "waapi-qr" | undefined;
1428
- channelId?: string | null | undefined;
1429
1423
  wabaBusinessId?: string | null | undefined;
1430
1424
  wabaExternalId?: string | null | undefined;
1431
1425
  phoneNumberId?: string | null | undefined;
1426
+ email?: string | null | undefined;
1432
1427
  clientId?: string | null | undefined;
1428
+ channelId?: string | null | undefined;
1433
1429
  waapiInstanceId?: string | null | undefined;
1434
1430
  qr?: string | null | undefined;
1431
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1435
1432
  apiKey?: string | undefined;
1436
1433
  tier?: "basic" | "regular" | "premium" | undefined;
1437
1434
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1438
1435
  } | undefined;
1439
- additionalCredentials?: any;
1440
- accessToken?: string | undefined;
1441
- channelSecret?: string | undefined;
1442
- senderId?: string | undefined;
1443
1436
  vonageCredentials?: {
1444
1437
  apiKey: string;
1445
1438
  mobileNumber: string;
1446
1439
  apiSecret: string;
1447
1440
  } | undefined;
1441
+ line?: {
1442
+ channelId: string;
1443
+ channelSecret: string;
1444
+ } | undefined;
1448
1445
  lineRichMenuId?: string | null | undefined;
1449
1446
  messengerIntegrationType?: "own" | "business" | undefined;
1450
1447
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1520,33 +1517,33 @@ export declare const smsContract: {
1520
1517
  metadata: {
1521
1518
  name: string;
1522
1519
  id: string;
1523
- line?: {
1524
- channelId: string;
1525
- channelSecret: string;
1526
- } | undefined;
1520
+ accessToken?: string | undefined;
1521
+ channelSecret?: string | undefined;
1522
+ additionalCredentials?: any;
1523
+ senderId?: string | undefined;
1527
1524
  whatsapp?: {
1528
- email?: string | null | undefined;
1529
- status?: "active" | "pending" | "waapi-qr" | undefined;
1530
- channelId?: string | null | undefined;
1531
1525
  wabaBusinessId?: string | null | undefined;
1532
1526
  wabaExternalId?: string | null | undefined;
1533
1527
  phoneNumberId?: string | null | undefined;
1528
+ email?: string | null | undefined;
1534
1529
  clientId?: string | null | undefined;
1530
+ channelId?: string | null | undefined;
1535
1531
  waapiInstanceId?: string | null | undefined;
1536
1532
  qr?: string | null | undefined;
1533
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1537
1534
  apiKey?: string | undefined;
1538
1535
  tier?: "basic" | "regular" | "premium" | undefined;
1539
1536
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1540
1537
  } | undefined;
1541
- additionalCredentials?: any;
1542
- accessToken?: string | undefined;
1543
- channelSecret?: string | undefined;
1544
- senderId?: string | undefined;
1545
1538
  vonageCredentials?: {
1546
1539
  apiKey: string;
1547
1540
  mobileNumber: string;
1548
1541
  apiSecret: string;
1549
1542
  } | undefined;
1543
+ line?: {
1544
+ channelId: string;
1545
+ channelSecret: string;
1546
+ } | undefined;
1550
1547
  lineRichMenuId?: string | null | undefined;
1551
1548
  messengerIntegrationType?: "own" | "business" | undefined;
1552
1549
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1623,33 +1620,33 @@ export declare const smsContract: {
1623
1620
  metadata: {
1624
1621
  name: string;
1625
1622
  id: string;
1626
- line?: {
1627
- channelId: string;
1628
- channelSecret: string;
1629
- } | undefined;
1623
+ accessToken?: string | undefined;
1624
+ channelSecret?: string | undefined;
1625
+ additionalCredentials?: any;
1626
+ senderId?: string | undefined;
1630
1627
  whatsapp?: {
1631
- email?: string | null | undefined;
1632
- status?: "active" | "pending" | "waapi-qr" | undefined;
1633
- channelId?: string | null | undefined;
1634
1628
  wabaBusinessId?: string | null | undefined;
1635
1629
  wabaExternalId?: string | null | undefined;
1636
1630
  phoneNumberId?: string | null | undefined;
1631
+ email?: string | null | undefined;
1637
1632
  clientId?: string | null | undefined;
1633
+ channelId?: string | null | undefined;
1638
1634
  waapiInstanceId?: string | null | undefined;
1639
1635
  qr?: string | null | undefined;
1636
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1640
1637
  apiKey?: string | undefined;
1641
1638
  tier?: "basic" | "regular" | "premium" | undefined;
1642
1639
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1643
1640
  } | undefined;
1644
- additionalCredentials?: any;
1645
- accessToken?: string | undefined;
1646
- channelSecret?: string | undefined;
1647
- senderId?: string | undefined;
1648
1641
  vonageCredentials?: {
1649
1642
  apiKey: string;
1650
1643
  mobileNumber: string;
1651
1644
  apiSecret: string;
1652
1645
  } | undefined;
1646
+ line?: {
1647
+ channelId: string;
1648
+ channelSecret: string;
1649
+ } | undefined;
1653
1650
  lineRichMenuId?: string | null | undefined;
1654
1651
  messengerIntegrationType?: "own" | "business" | undefined;
1655
1652
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1740,6 +1737,7 @@ export declare const smsContract: {
1740
1737
  error?: any;
1741
1738
  }>;
1742
1739
  };
1740
+ path: "/disconnect";
1743
1741
  };
1744
1742
  reconnectSMSChannel: {
1745
1743
  body: null;
@@ -1751,11 +1749,9 @@ export declare const smsContract: {
1751
1749
  }, {
1752
1750
  channelId: string;
1753
1751
  }>;
1754
- path: "/reconnect/:channelId";
1755
1752
  responses: {
1756
1753
  200: z.ZodObject<{
1757
1754
  requestId: z.ZodString;
1758
- } & {
1759
1755
  channel: z.ZodObject<{
1760
1756
  id: z.ZodString;
1761
1757
  createdAt: z.ZodDate;
@@ -1784,28 +1780,28 @@ export declare const smsContract: {
1784
1780
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1785
1781
  integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
1786
1782
  }, "strip", z.ZodTypeAny, {
1787
- email?: string | null | undefined;
1788
- status?: "active" | "pending" | "waapi-qr" | undefined;
1789
- channelId?: string | null | undefined;
1790
1783
  wabaBusinessId?: string | null | undefined;
1791
1784
  wabaExternalId?: string | null | undefined;
1792
1785
  phoneNumberId?: string | null | undefined;
1786
+ email?: string | null | undefined;
1793
1787
  clientId?: string | null | undefined;
1788
+ channelId?: string | null | undefined;
1794
1789
  waapiInstanceId?: string | null | undefined;
1795
1790
  qr?: string | null | undefined;
1791
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1796
1792
  apiKey?: string | undefined;
1797
1793
  tier?: "basic" | "regular" | "premium" | undefined;
1798
1794
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1799
1795
  }, {
1800
- email?: string | null | undefined;
1801
- status?: "active" | "pending" | "waapi-qr" | undefined;
1802
- channelId?: string | null | undefined;
1803
1796
  wabaBusinessId?: string | null | undefined;
1804
1797
  wabaExternalId?: string | null | undefined;
1805
1798
  phoneNumberId?: string | null | undefined;
1799
+ email?: string | null | undefined;
1806
1800
  clientId?: string | null | undefined;
1801
+ channelId?: string | null | undefined;
1807
1802
  waapiInstanceId?: string | null | undefined;
1808
1803
  qr?: string | null | undefined;
1804
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1809
1805
  apiKey?: string | undefined;
1810
1806
  tier?: "basic" | "regular" | "premium" | undefined;
1811
1807
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
@@ -1841,33 +1837,33 @@ export declare const smsContract: {
1841
1837
  }, "strip", z.ZodTypeAny, {
1842
1838
  name: string;
1843
1839
  id: string;
1844
- line?: {
1845
- channelId: string;
1846
- channelSecret: string;
1847
- } | undefined;
1840
+ accessToken?: string | undefined;
1841
+ channelSecret?: string | undefined;
1842
+ additionalCredentials?: any;
1843
+ senderId?: string | undefined;
1848
1844
  whatsapp?: {
1849
- email?: string | null | undefined;
1850
- status?: "active" | "pending" | "waapi-qr" | undefined;
1851
- channelId?: string | null | undefined;
1852
1845
  wabaBusinessId?: string | null | undefined;
1853
1846
  wabaExternalId?: string | null | undefined;
1854
1847
  phoneNumberId?: string | null | undefined;
1848
+ email?: string | null | undefined;
1855
1849
  clientId?: string | null | undefined;
1850
+ channelId?: string | null | undefined;
1856
1851
  waapiInstanceId?: string | null | undefined;
1857
1852
  qr?: string | null | undefined;
1853
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1858
1854
  apiKey?: string | undefined;
1859
1855
  tier?: "basic" | "regular" | "premium" | undefined;
1860
1856
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1861
1857
  } | undefined;
1862
- additionalCredentials?: any;
1863
- accessToken?: string | undefined;
1864
- channelSecret?: string | undefined;
1865
- senderId?: string | undefined;
1866
1858
  vonageCredentials?: {
1867
1859
  apiKey: string;
1868
1860
  mobileNumber: string;
1869
1861
  apiSecret: string;
1870
1862
  } | undefined;
1863
+ line?: {
1864
+ channelId: string;
1865
+ channelSecret: string;
1866
+ } | undefined;
1871
1867
  lineRichMenuId?: string | null | undefined;
1872
1868
  messengerIntegrationType?: "own" | "business" | undefined;
1873
1869
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1876,33 +1872,33 @@ export declare const smsContract: {
1876
1872
  }, {
1877
1873
  name: string;
1878
1874
  id: string;
1879
- line?: {
1880
- channelId: string;
1881
- channelSecret: string;
1882
- } | undefined;
1875
+ accessToken?: string | undefined;
1876
+ channelSecret?: string | undefined;
1877
+ additionalCredentials?: any;
1878
+ senderId?: string | undefined;
1883
1879
  whatsapp?: {
1884
- email?: string | null | undefined;
1885
- status?: "active" | "pending" | "waapi-qr" | undefined;
1886
- channelId?: string | null | undefined;
1887
1880
  wabaBusinessId?: string | null | undefined;
1888
1881
  wabaExternalId?: string | null | undefined;
1889
1882
  phoneNumberId?: string | null | undefined;
1883
+ email?: string | null | undefined;
1890
1884
  clientId?: string | null | undefined;
1885
+ channelId?: string | null | undefined;
1891
1886
  waapiInstanceId?: string | null | undefined;
1892
1887
  qr?: string | null | undefined;
1888
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1893
1889
  apiKey?: string | undefined;
1894
1890
  tier?: "basic" | "regular" | "premium" | undefined;
1895
1891
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1896
1892
  } | undefined;
1897
- additionalCredentials?: any;
1898
- accessToken?: string | undefined;
1899
- channelSecret?: string | undefined;
1900
- senderId?: string | undefined;
1901
1893
  vonageCredentials?: {
1902
1894
  apiKey: string;
1903
1895
  mobileNumber: string;
1904
1896
  apiSecret: string;
1905
1897
  } | undefined;
1898
+ line?: {
1899
+ channelId: string;
1900
+ channelSecret: string;
1901
+ } | undefined;
1906
1902
  lineRichMenuId?: string | null | undefined;
1907
1903
  messengerIntegrationType?: "own" | "business" | undefined;
1908
1904
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2145,33 +2141,33 @@ export declare const smsContract: {
2145
2141
  metadata: {
2146
2142
  name: string;
2147
2143
  id: string;
2148
- line?: {
2149
- channelId: string;
2150
- channelSecret: string;
2151
- } | undefined;
2144
+ accessToken?: string | undefined;
2145
+ channelSecret?: string | undefined;
2146
+ additionalCredentials?: any;
2147
+ senderId?: string | undefined;
2152
2148
  whatsapp?: {
2153
- email?: string | null | undefined;
2154
- status?: "active" | "pending" | "waapi-qr" | undefined;
2155
- channelId?: string | null | undefined;
2156
2149
  wabaBusinessId?: string | null | undefined;
2157
2150
  wabaExternalId?: string | null | undefined;
2158
2151
  phoneNumberId?: string | null | undefined;
2152
+ email?: string | null | undefined;
2159
2153
  clientId?: string | null | undefined;
2154
+ channelId?: string | null | undefined;
2160
2155
  waapiInstanceId?: string | null | undefined;
2161
2156
  qr?: string | null | undefined;
2157
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2162
2158
  apiKey?: string | undefined;
2163
2159
  tier?: "basic" | "regular" | "premium" | undefined;
2164
2160
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2165
2161
  } | undefined;
2166
- additionalCredentials?: any;
2167
- accessToken?: string | undefined;
2168
- channelSecret?: string | undefined;
2169
- senderId?: string | undefined;
2170
2162
  vonageCredentials?: {
2171
2163
  apiKey: string;
2172
2164
  mobileNumber: string;
2173
2165
  apiSecret: string;
2174
2166
  } | undefined;
2167
+ line?: {
2168
+ channelId: string;
2169
+ channelSecret: string;
2170
+ } | undefined;
2175
2171
  lineRichMenuId?: string | null | undefined;
2176
2172
  messengerIntegrationType?: "own" | "business" | undefined;
2177
2173
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2245,33 +2241,33 @@ export declare const smsContract: {
2245
2241
  metadata: {
2246
2242
  name: string;
2247
2243
  id: string;
2248
- line?: {
2249
- channelId: string;
2250
- channelSecret: string;
2251
- } | undefined;
2244
+ accessToken?: string | undefined;
2245
+ channelSecret?: string | undefined;
2246
+ additionalCredentials?: any;
2247
+ senderId?: string | undefined;
2252
2248
  whatsapp?: {
2253
- email?: string | null | undefined;
2254
- status?: "active" | "pending" | "waapi-qr" | undefined;
2255
- channelId?: string | null | undefined;
2256
2249
  wabaBusinessId?: string | null | undefined;
2257
2250
  wabaExternalId?: string | null | undefined;
2258
2251
  phoneNumberId?: string | null | undefined;
2252
+ email?: string | null | undefined;
2259
2253
  clientId?: string | null | undefined;
2254
+ channelId?: string | null | undefined;
2260
2255
  waapiInstanceId?: string | null | undefined;
2261
2256
  qr?: string | null | undefined;
2257
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2262
2258
  apiKey?: string | undefined;
2263
2259
  tier?: "basic" | "regular" | "premium" | undefined;
2264
2260
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2265
2261
  } | undefined;
2266
- additionalCredentials?: any;
2267
- accessToken?: string | undefined;
2268
- channelSecret?: string | undefined;
2269
- senderId?: string | undefined;
2270
2262
  vonageCredentials?: {
2271
2263
  apiKey: string;
2272
2264
  mobileNumber: string;
2273
2265
  apiSecret: string;
2274
2266
  } | undefined;
2267
+ line?: {
2268
+ channelId: string;
2269
+ channelSecret: string;
2270
+ } | undefined;
2275
2271
  lineRichMenuId?: string | null | undefined;
2276
2272
  messengerIntegrationType?: "own" | "business" | undefined;
2277
2273
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2347,33 +2343,33 @@ export declare const smsContract: {
2347
2343
  metadata: {
2348
2344
  name: string;
2349
2345
  id: string;
2350
- line?: {
2351
- channelId: string;
2352
- channelSecret: string;
2353
- } | undefined;
2346
+ accessToken?: string | undefined;
2347
+ channelSecret?: string | undefined;
2348
+ additionalCredentials?: any;
2349
+ senderId?: string | undefined;
2354
2350
  whatsapp?: {
2355
- email?: string | null | undefined;
2356
- status?: "active" | "pending" | "waapi-qr" | undefined;
2357
- channelId?: string | null | undefined;
2358
2351
  wabaBusinessId?: string | null | undefined;
2359
2352
  wabaExternalId?: string | null | undefined;
2360
2353
  phoneNumberId?: string | null | undefined;
2354
+ email?: string | null | undefined;
2361
2355
  clientId?: string | null | undefined;
2356
+ channelId?: string | null | undefined;
2362
2357
  waapiInstanceId?: string | null | undefined;
2363
2358
  qr?: string | null | undefined;
2359
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2364
2360
  apiKey?: string | undefined;
2365
2361
  tier?: "basic" | "regular" | "premium" | undefined;
2366
2362
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2367
2363
  } | undefined;
2368
- additionalCredentials?: any;
2369
- accessToken?: string | undefined;
2370
- channelSecret?: string | undefined;
2371
- senderId?: string | undefined;
2372
2364
  vonageCredentials?: {
2373
2365
  apiKey: string;
2374
2366
  mobileNumber: string;
2375
2367
  apiSecret: string;
2376
2368
  } | undefined;
2369
+ line?: {
2370
+ channelId: string;
2371
+ channelSecret: string;
2372
+ } | undefined;
2377
2373
  lineRichMenuId?: string | null | undefined;
2378
2374
  messengerIntegrationType?: "own" | "business" | undefined;
2379
2375
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2450,33 +2446,33 @@ export declare const smsContract: {
2450
2446
  metadata: {
2451
2447
  name: string;
2452
2448
  id: string;
2453
- line?: {
2454
- channelId: string;
2455
- channelSecret: string;
2456
- } | undefined;
2449
+ accessToken?: string | undefined;
2450
+ channelSecret?: string | undefined;
2451
+ additionalCredentials?: any;
2452
+ senderId?: string | undefined;
2457
2453
  whatsapp?: {
2458
- email?: string | null | undefined;
2459
- status?: "active" | "pending" | "waapi-qr" | undefined;
2460
- channelId?: string | null | undefined;
2461
2454
  wabaBusinessId?: string | null | undefined;
2462
2455
  wabaExternalId?: string | null | undefined;
2463
2456
  phoneNumberId?: string | null | undefined;
2457
+ email?: string | null | undefined;
2464
2458
  clientId?: string | null | undefined;
2459
+ channelId?: string | null | undefined;
2465
2460
  waapiInstanceId?: string | null | undefined;
2466
2461
  qr?: string | null | undefined;
2462
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2467
2463
  apiKey?: string | undefined;
2468
2464
  tier?: "basic" | "regular" | "premium" | undefined;
2469
2465
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2470
2466
  } | undefined;
2471
- additionalCredentials?: any;
2472
- accessToken?: string | undefined;
2473
- channelSecret?: string | undefined;
2474
- senderId?: string | undefined;
2475
2467
  vonageCredentials?: {
2476
2468
  apiKey: string;
2477
2469
  mobileNumber: string;
2478
2470
  apiSecret: string;
2479
2471
  } | undefined;
2472
+ line?: {
2473
+ channelId: string;
2474
+ channelSecret: string;
2475
+ } | undefined;
2480
2476
  lineRichMenuId?: string | null | undefined;
2481
2477
  messengerIntegrationType?: "own" | "business" | undefined;
2482
2478
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2567,6 +2563,7 @@ export declare const smsContract: {
2567
2563
  error?: any;
2568
2564
  }>;
2569
2565
  };
2566
+ path: "/reconnect/:channelId";
2570
2567
  };
2571
2568
  deleteSMSChannel: {
2572
2569
  body: null;
@@ -2578,11 +2575,9 @@ export declare const smsContract: {
2578
2575
  }, {
2579
2576
  channelId: string;
2580
2577
  }>;
2581
- path: "/delete/:channelId";
2582
2578
  responses: {
2583
2579
  200: z.ZodObject<{
2584
2580
  requestId: z.ZodString;
2585
- } & {
2586
2581
  channel: z.ZodObject<{
2587
2582
  id: z.ZodString;
2588
2583
  createdAt: z.ZodDate;
@@ -2611,28 +2606,28 @@ export declare const smsContract: {
2611
2606
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2612
2607
  integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
2613
2608
  }, "strip", z.ZodTypeAny, {
2614
- email?: string | null | undefined;
2615
- status?: "active" | "pending" | "waapi-qr" | undefined;
2616
- channelId?: string | null | undefined;
2617
2609
  wabaBusinessId?: string | null | undefined;
2618
2610
  wabaExternalId?: string | null | undefined;
2619
2611
  phoneNumberId?: string | null | undefined;
2612
+ email?: string | null | undefined;
2620
2613
  clientId?: string | null | undefined;
2614
+ channelId?: string | null | undefined;
2621
2615
  waapiInstanceId?: string | null | undefined;
2622
2616
  qr?: string | null | undefined;
2617
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2623
2618
  apiKey?: string | undefined;
2624
2619
  tier?: "basic" | "regular" | "premium" | undefined;
2625
2620
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2626
2621
  }, {
2627
- email?: string | null | undefined;
2628
- status?: "active" | "pending" | "waapi-qr" | undefined;
2629
- channelId?: string | null | undefined;
2630
2622
  wabaBusinessId?: string | null | undefined;
2631
2623
  wabaExternalId?: string | null | undefined;
2632
2624
  phoneNumberId?: string | null | undefined;
2625
+ email?: string | null | undefined;
2633
2626
  clientId?: string | null | undefined;
2627
+ channelId?: string | null | undefined;
2634
2628
  waapiInstanceId?: string | null | undefined;
2635
2629
  qr?: string | null | undefined;
2630
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2636
2631
  apiKey?: string | undefined;
2637
2632
  tier?: "basic" | "regular" | "premium" | undefined;
2638
2633
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
@@ -2668,33 +2663,33 @@ export declare const smsContract: {
2668
2663
  }, "strip", z.ZodTypeAny, {
2669
2664
  name: string;
2670
2665
  id: string;
2671
- line?: {
2672
- channelId: string;
2673
- channelSecret: string;
2674
- } | undefined;
2666
+ accessToken?: string | undefined;
2667
+ channelSecret?: string | undefined;
2668
+ additionalCredentials?: any;
2669
+ senderId?: string | undefined;
2675
2670
  whatsapp?: {
2676
- email?: string | null | undefined;
2677
- status?: "active" | "pending" | "waapi-qr" | undefined;
2678
- channelId?: string | null | undefined;
2679
2671
  wabaBusinessId?: string | null | undefined;
2680
2672
  wabaExternalId?: string | null | undefined;
2681
2673
  phoneNumberId?: string | null | undefined;
2674
+ email?: string | null | undefined;
2682
2675
  clientId?: string | null | undefined;
2676
+ channelId?: string | null | undefined;
2683
2677
  waapiInstanceId?: string | null | undefined;
2684
2678
  qr?: string | null | undefined;
2679
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2685
2680
  apiKey?: string | undefined;
2686
2681
  tier?: "basic" | "regular" | "premium" | undefined;
2687
2682
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2688
2683
  } | undefined;
2689
- additionalCredentials?: any;
2690
- accessToken?: string | undefined;
2691
- channelSecret?: string | undefined;
2692
- senderId?: string | undefined;
2693
2684
  vonageCredentials?: {
2694
2685
  apiKey: string;
2695
2686
  mobileNumber: string;
2696
2687
  apiSecret: string;
2697
2688
  } | undefined;
2689
+ line?: {
2690
+ channelId: string;
2691
+ channelSecret: string;
2692
+ } | undefined;
2698
2693
  lineRichMenuId?: string | null | undefined;
2699
2694
  messengerIntegrationType?: "own" | "business" | undefined;
2700
2695
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2703,33 +2698,33 @@ export declare const smsContract: {
2703
2698
  }, {
2704
2699
  name: string;
2705
2700
  id: string;
2706
- line?: {
2707
- channelId: string;
2708
- channelSecret: string;
2709
- } | undefined;
2701
+ accessToken?: string | undefined;
2702
+ channelSecret?: string | undefined;
2703
+ additionalCredentials?: any;
2704
+ senderId?: string | undefined;
2710
2705
  whatsapp?: {
2711
- email?: string | null | undefined;
2712
- status?: "active" | "pending" | "waapi-qr" | undefined;
2713
- channelId?: string | null | undefined;
2714
2706
  wabaBusinessId?: string | null | undefined;
2715
2707
  wabaExternalId?: string | null | undefined;
2716
2708
  phoneNumberId?: string | null | undefined;
2709
+ email?: string | null | undefined;
2717
2710
  clientId?: string | null | undefined;
2711
+ channelId?: string | null | undefined;
2718
2712
  waapiInstanceId?: string | null | undefined;
2719
2713
  qr?: string | null | undefined;
2714
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2720
2715
  apiKey?: string | undefined;
2721
2716
  tier?: "basic" | "regular" | "premium" | undefined;
2722
2717
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2723
2718
  } | undefined;
2724
- additionalCredentials?: any;
2725
- accessToken?: string | undefined;
2726
- channelSecret?: string | undefined;
2727
- senderId?: string | undefined;
2728
2719
  vonageCredentials?: {
2729
2720
  apiKey: string;
2730
2721
  mobileNumber: string;
2731
2722
  apiSecret: string;
2732
2723
  } | undefined;
2724
+ line?: {
2725
+ channelId: string;
2726
+ channelSecret: string;
2727
+ } | undefined;
2733
2728
  lineRichMenuId?: string | null | undefined;
2734
2729
  messengerIntegrationType?: "own" | "business" | undefined;
2735
2730
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2972,33 +2967,33 @@ export declare const smsContract: {
2972
2967
  metadata: {
2973
2968
  name: string;
2974
2969
  id: string;
2975
- line?: {
2976
- channelId: string;
2977
- channelSecret: string;
2978
- } | undefined;
2970
+ accessToken?: string | undefined;
2971
+ channelSecret?: string | undefined;
2972
+ additionalCredentials?: any;
2973
+ senderId?: string | undefined;
2979
2974
  whatsapp?: {
2980
- email?: string | null | undefined;
2981
- status?: "active" | "pending" | "waapi-qr" | undefined;
2982
- channelId?: string | null | undefined;
2983
2975
  wabaBusinessId?: string | null | undefined;
2984
2976
  wabaExternalId?: string | null | undefined;
2985
2977
  phoneNumberId?: string | null | undefined;
2978
+ email?: string | null | undefined;
2986
2979
  clientId?: string | null | undefined;
2980
+ channelId?: string | null | undefined;
2987
2981
  waapiInstanceId?: string | null | undefined;
2988
2982
  qr?: string | null | undefined;
2983
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2989
2984
  apiKey?: string | undefined;
2990
2985
  tier?: "basic" | "regular" | "premium" | undefined;
2991
2986
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2992
2987
  } | undefined;
2993
- additionalCredentials?: any;
2994
- accessToken?: string | undefined;
2995
- channelSecret?: string | undefined;
2996
- senderId?: string | undefined;
2997
2988
  vonageCredentials?: {
2998
2989
  apiKey: string;
2999
2990
  mobileNumber: string;
3000
2991
  apiSecret: string;
3001
2992
  } | undefined;
2993
+ line?: {
2994
+ channelId: string;
2995
+ channelSecret: string;
2996
+ } | undefined;
3002
2997
  lineRichMenuId?: string | null | undefined;
3003
2998
  messengerIntegrationType?: "own" | "business" | undefined;
3004
2999
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3072,33 +3067,33 @@ export declare const smsContract: {
3072
3067
  metadata: {
3073
3068
  name: string;
3074
3069
  id: string;
3075
- line?: {
3076
- channelId: string;
3077
- channelSecret: string;
3078
- } | undefined;
3070
+ accessToken?: string | undefined;
3071
+ channelSecret?: string | undefined;
3072
+ additionalCredentials?: any;
3073
+ senderId?: string | undefined;
3079
3074
  whatsapp?: {
3080
- email?: string | null | undefined;
3081
- status?: "active" | "pending" | "waapi-qr" | undefined;
3082
- channelId?: string | null | undefined;
3083
3075
  wabaBusinessId?: string | null | undefined;
3084
3076
  wabaExternalId?: string | null | undefined;
3085
3077
  phoneNumberId?: string | null | undefined;
3078
+ email?: string | null | undefined;
3086
3079
  clientId?: string | null | undefined;
3080
+ channelId?: string | null | undefined;
3087
3081
  waapiInstanceId?: string | null | undefined;
3088
3082
  qr?: string | null | undefined;
3083
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3089
3084
  apiKey?: string | undefined;
3090
3085
  tier?: "basic" | "regular" | "premium" | undefined;
3091
3086
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3092
3087
  } | undefined;
3093
- additionalCredentials?: any;
3094
- accessToken?: string | undefined;
3095
- channelSecret?: string | undefined;
3096
- senderId?: string | undefined;
3097
3088
  vonageCredentials?: {
3098
3089
  apiKey: string;
3099
3090
  mobileNumber: string;
3100
3091
  apiSecret: string;
3101
3092
  } | undefined;
3093
+ line?: {
3094
+ channelId: string;
3095
+ channelSecret: string;
3096
+ } | undefined;
3102
3097
  lineRichMenuId?: string | null | undefined;
3103
3098
  messengerIntegrationType?: "own" | "business" | undefined;
3104
3099
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3174,33 +3169,33 @@ export declare const smsContract: {
3174
3169
  metadata: {
3175
3170
  name: string;
3176
3171
  id: string;
3177
- line?: {
3178
- channelId: string;
3179
- channelSecret: string;
3180
- } | undefined;
3172
+ accessToken?: string | undefined;
3173
+ channelSecret?: string | undefined;
3174
+ additionalCredentials?: any;
3175
+ senderId?: string | undefined;
3181
3176
  whatsapp?: {
3182
- email?: string | null | undefined;
3183
- status?: "active" | "pending" | "waapi-qr" | undefined;
3184
- channelId?: string | null | undefined;
3185
3177
  wabaBusinessId?: string | null | undefined;
3186
3178
  wabaExternalId?: string | null | undefined;
3187
3179
  phoneNumberId?: string | null | undefined;
3180
+ email?: string | null | undefined;
3188
3181
  clientId?: string | null | undefined;
3182
+ channelId?: string | null | undefined;
3189
3183
  waapiInstanceId?: string | null | undefined;
3190
3184
  qr?: string | null | undefined;
3185
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3191
3186
  apiKey?: string | undefined;
3192
3187
  tier?: "basic" | "regular" | "premium" | undefined;
3193
3188
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3194
3189
  } | undefined;
3195
- additionalCredentials?: any;
3196
- accessToken?: string | undefined;
3197
- channelSecret?: string | undefined;
3198
- senderId?: string | undefined;
3199
3190
  vonageCredentials?: {
3200
3191
  apiKey: string;
3201
3192
  mobileNumber: string;
3202
3193
  apiSecret: string;
3203
3194
  } | undefined;
3195
+ line?: {
3196
+ channelId: string;
3197
+ channelSecret: string;
3198
+ } | undefined;
3204
3199
  lineRichMenuId?: string | null | undefined;
3205
3200
  messengerIntegrationType?: "own" | "business" | undefined;
3206
3201
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3277,33 +3272,33 @@ export declare const smsContract: {
3277
3272
  metadata: {
3278
3273
  name: string;
3279
3274
  id: string;
3280
- line?: {
3281
- channelId: string;
3282
- channelSecret: string;
3283
- } | undefined;
3275
+ accessToken?: string | undefined;
3276
+ channelSecret?: string | undefined;
3277
+ additionalCredentials?: any;
3278
+ senderId?: string | undefined;
3284
3279
  whatsapp?: {
3285
- email?: string | null | undefined;
3286
- status?: "active" | "pending" | "waapi-qr" | undefined;
3287
- channelId?: string | null | undefined;
3288
3280
  wabaBusinessId?: string | null | undefined;
3289
3281
  wabaExternalId?: string | null | undefined;
3290
3282
  phoneNumberId?: string | null | undefined;
3283
+ email?: string | null | undefined;
3291
3284
  clientId?: string | null | undefined;
3285
+ channelId?: string | null | undefined;
3292
3286
  waapiInstanceId?: string | null | undefined;
3293
3287
  qr?: string | null | undefined;
3288
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3294
3289
  apiKey?: string | undefined;
3295
3290
  tier?: "basic" | "regular" | "premium" | undefined;
3296
3291
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3297
3292
  } | undefined;
3298
- additionalCredentials?: any;
3299
- accessToken?: string | undefined;
3300
- channelSecret?: string | undefined;
3301
- senderId?: string | undefined;
3302
3293
  vonageCredentials?: {
3303
3294
  apiKey: string;
3304
3295
  mobileNumber: string;
3305
3296
  apiSecret: string;
3306
3297
  } | undefined;
3298
+ line?: {
3299
+ channelId: string;
3300
+ channelSecret: string;
3301
+ } | undefined;
3307
3302
  lineRichMenuId?: string | null | undefined;
3308
3303
  messengerIntegrationType?: "own" | "business" | undefined;
3309
3304
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3394,6 +3389,7 @@ export declare const smsContract: {
3394
3389
  error?: any;
3395
3390
  }>;
3396
3391
  };
3392
+ path: "/delete/:channelId";
3397
3393
  };
3398
3394
  sendMessage: {
3399
3395
  body: z.ZodObject<{
@@ -3404,7 +3400,7 @@ export declare const smsContract: {
3404
3400
  handleTime: z.ZodOptional<z.ZodNumber>;
3405
3401
  isLatest: z.ZodBoolean;
3406
3402
  direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
3407
- metadata: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
3403
+ metadata: z.ZodOptional<z.ZodAny>;
3408
3404
  createdAt: z.ZodString;
3409
3405
  updatedAt: z.ZodString;
3410
3406
  platformContact: z.ZodObject<{
@@ -3430,28 +3426,28 @@ export declare const smsContract: {
3430
3426
  }>;
3431
3427
  contact: z.ZodObject<{
3432
3428
  name: z.ZodString;
3433
- address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3429
+ address: z.ZodNullable<z.ZodString>;
3434
3430
  channel: z.ZodNullable<z.ZodString>;
3435
- notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3431
+ notes: z.ZodNullable<z.ZodString>;
3436
3432
  contactProfile: z.ZodNullable<z.ZodString>;
3437
3433
  socialProfileUrl: z.ZodNullable<z.ZodString>;
3438
3434
  deletedAt: z.ZodNullable<z.ZodDate>;
3439
3435
  }, "strip", z.ZodTypeAny, {
3440
3436
  name: string;
3441
3437
  channel: string | null;
3438
+ address: string | null;
3442
3439
  deletedAt: Date | null;
3440
+ notes: string | null;
3443
3441
  contactProfile: string | null;
3444
3442
  socialProfileUrl: string | null;
3445
- address?: string | null | undefined;
3446
- notes?: string | null | undefined;
3447
3443
  }, {
3448
3444
  name: string;
3449
3445
  channel: string | null;
3446
+ address: string | null;
3450
3447
  deletedAt: Date | null;
3448
+ notes: string | null;
3451
3449
  contactProfile: string | null;
3452
3450
  socialProfileUrl: string | null;
3453
- address?: string | null | undefined;
3454
- notes?: string | null | undefined;
3455
3451
  }>;
3456
3452
  }, "strip", z.ZodTypeAny, {
3457
3453
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
@@ -3465,11 +3461,11 @@ export declare const smsContract: {
3465
3461
  contact: {
3466
3462
  name: string;
3467
3463
  channel: string | null;
3464
+ address: string | null;
3468
3465
  deletedAt: Date | null;
3466
+ notes: string | null;
3469
3467
  contactProfile: string | null;
3470
3468
  socialProfileUrl: string | null;
3471
- address?: string | null | undefined;
3472
- notes?: string | null | undefined;
3473
3469
  };
3474
3470
  channelId: string;
3475
3471
  socialPlatformId: string | null;
@@ -3485,16 +3481,16 @@ export declare const smsContract: {
3485
3481
  contact: {
3486
3482
  name: string;
3487
3483
  channel: string | null;
3484
+ address: string | null;
3488
3485
  deletedAt: Date | null;
3486
+ notes: string | null;
3489
3487
  contactProfile: string | null;
3490
3488
  socialProfileUrl: string | null;
3491
- address?: string | null | undefined;
3492
- notes?: string | null | undefined;
3493
3489
  };
3494
3490
  channelId: string;
3495
3491
  socialPlatformId: string | null;
3496
3492
  }>;
3497
- actor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3493
+ actor: z.ZodNullable<z.ZodObject<{
3498
3494
  id: z.ZodString;
3499
3495
  name: z.ZodString;
3500
3496
  email: z.ZodString;
@@ -3512,8 +3508,8 @@ export declare const smsContract: {
3512
3508
  address: string | null;
3513
3509
  email: string;
3514
3510
  phone: string | null;
3515
- }>>>;
3516
- assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3511
+ }>>;
3512
+ assignee: z.ZodNullable<z.ZodObject<{
3517
3513
  id: z.ZodString;
3518
3514
  name: z.ZodString;
3519
3515
  email: z.ZodString;
@@ -3525,7 +3521,7 @@ export declare const smsContract: {
3525
3521
  name: string;
3526
3522
  id: string;
3527
3523
  email: string;
3528
- }>>>;
3524
+ }>>;
3529
3525
  channel: z.ZodObject<{
3530
3526
  id: z.ZodString;
3531
3527
  name: z.ZodString;
@@ -3551,28 +3547,28 @@ export declare const smsContract: {
3551
3547
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
3552
3548
  integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
3553
3549
  }, "strip", z.ZodTypeAny, {
3554
- email?: string | null | undefined;
3555
- status?: "active" | "pending" | "waapi-qr" | undefined;
3556
- channelId?: string | null | undefined;
3557
3550
  wabaBusinessId?: string | null | undefined;
3558
3551
  wabaExternalId?: string | null | undefined;
3559
3552
  phoneNumberId?: string | null | undefined;
3553
+ email?: string | null | undefined;
3560
3554
  clientId?: string | null | undefined;
3555
+ channelId?: string | null | undefined;
3561
3556
  waapiInstanceId?: string | null | undefined;
3562
3557
  qr?: string | null | undefined;
3558
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3563
3559
  apiKey?: string | undefined;
3564
3560
  tier?: "basic" | "regular" | "premium" | undefined;
3565
3561
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3566
3562
  }, {
3567
- email?: string | null | undefined;
3568
- status?: "active" | "pending" | "waapi-qr" | undefined;
3569
- channelId?: string | null | undefined;
3570
3563
  wabaBusinessId?: string | null | undefined;
3571
3564
  wabaExternalId?: string | null | undefined;
3572
3565
  phoneNumberId?: string | null | undefined;
3566
+ email?: string | null | undefined;
3573
3567
  clientId?: string | null | undefined;
3568
+ channelId?: string | null | undefined;
3574
3569
  waapiInstanceId?: string | null | undefined;
3575
3570
  qr?: string | null | undefined;
3571
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3576
3572
  apiKey?: string | undefined;
3577
3573
  tier?: "basic" | "regular" | "premium" | undefined;
3578
3574
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
@@ -3608,33 +3604,33 @@ export declare const smsContract: {
3608
3604
  }, "strip", z.ZodTypeAny, {
3609
3605
  name: string;
3610
3606
  id: string;
3611
- line?: {
3612
- channelId: string;
3613
- channelSecret: string;
3614
- } | undefined;
3607
+ accessToken?: string | undefined;
3608
+ channelSecret?: string | undefined;
3609
+ additionalCredentials?: any;
3610
+ senderId?: string | undefined;
3615
3611
  whatsapp?: {
3616
- email?: string | null | undefined;
3617
- status?: "active" | "pending" | "waapi-qr" | undefined;
3618
- channelId?: string | null | undefined;
3619
3612
  wabaBusinessId?: string | null | undefined;
3620
3613
  wabaExternalId?: string | null | undefined;
3621
3614
  phoneNumberId?: string | null | undefined;
3615
+ email?: string | null | undefined;
3622
3616
  clientId?: string | null | undefined;
3617
+ channelId?: string | null | undefined;
3623
3618
  waapiInstanceId?: string | null | undefined;
3624
3619
  qr?: string | null | undefined;
3620
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3625
3621
  apiKey?: string | undefined;
3626
3622
  tier?: "basic" | "regular" | "premium" | undefined;
3627
3623
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3628
3624
  } | undefined;
3629
- additionalCredentials?: any;
3630
- accessToken?: string | undefined;
3631
- channelSecret?: string | undefined;
3632
- senderId?: string | undefined;
3633
3625
  vonageCredentials?: {
3634
3626
  apiKey: string;
3635
3627
  mobileNumber: string;
3636
3628
  apiSecret: string;
3637
3629
  } | undefined;
3630
+ line?: {
3631
+ channelId: string;
3632
+ channelSecret: string;
3633
+ } | undefined;
3638
3634
  lineRichMenuId?: string | null | undefined;
3639
3635
  messengerIntegrationType?: "own" | "business" | undefined;
3640
3636
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3643,33 +3639,33 @@ export declare const smsContract: {
3643
3639
  }, {
3644
3640
  name: string;
3645
3641
  id: string;
3646
- line?: {
3647
- channelId: string;
3648
- channelSecret: string;
3649
- } | undefined;
3642
+ accessToken?: string | undefined;
3643
+ channelSecret?: string | undefined;
3644
+ additionalCredentials?: any;
3645
+ senderId?: string | undefined;
3650
3646
  whatsapp?: {
3651
- email?: string | null | undefined;
3652
- status?: "active" | "pending" | "waapi-qr" | undefined;
3653
- channelId?: string | null | undefined;
3654
3647
  wabaBusinessId?: string | null | undefined;
3655
3648
  wabaExternalId?: string | null | undefined;
3656
3649
  phoneNumberId?: string | null | undefined;
3650
+ email?: string | null | undefined;
3657
3651
  clientId?: string | null | undefined;
3652
+ channelId?: string | null | undefined;
3658
3653
  waapiInstanceId?: string | null | undefined;
3659
3654
  qr?: string | null | undefined;
3655
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3660
3656
  apiKey?: string | undefined;
3661
3657
  tier?: "basic" | "regular" | "premium" | undefined;
3662
3658
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3663
3659
  } | undefined;
3664
- additionalCredentials?: any;
3665
- accessToken?: string | undefined;
3666
- channelSecret?: string | undefined;
3667
- senderId?: string | undefined;
3668
3660
  vonageCredentials?: {
3669
3661
  apiKey: string;
3670
3662
  mobileNumber: string;
3671
3663
  apiSecret: string;
3672
3664
  } | undefined;
3665
+ line?: {
3666
+ channelId: string;
3667
+ channelSecret: string;
3668
+ } | undefined;
3673
3669
  lineRichMenuId?: string | null | undefined;
3674
3670
  messengerIntegrationType?: "own" | "business" | undefined;
3675
3671
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3708,33 +3704,33 @@ export declare const smsContract: {
3708
3704
  metadata: {
3709
3705
  name: string;
3710
3706
  id: string;
3711
- line?: {
3712
- channelId: string;
3713
- channelSecret: string;
3714
- } | undefined;
3707
+ accessToken?: string | undefined;
3708
+ channelSecret?: string | undefined;
3709
+ additionalCredentials?: any;
3710
+ senderId?: string | undefined;
3715
3711
  whatsapp?: {
3716
- email?: string | null | undefined;
3717
- status?: "active" | "pending" | "waapi-qr" | undefined;
3718
- channelId?: string | null | undefined;
3719
3712
  wabaBusinessId?: string | null | undefined;
3720
3713
  wabaExternalId?: string | null | undefined;
3721
3714
  phoneNumberId?: string | null | undefined;
3715
+ email?: string | null | undefined;
3722
3716
  clientId?: string | null | undefined;
3717
+ channelId?: string | null | undefined;
3723
3718
  waapiInstanceId?: string | null | undefined;
3724
3719
  qr?: string | null | undefined;
3720
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3725
3721
  apiKey?: string | undefined;
3726
3722
  tier?: "basic" | "regular" | "premium" | undefined;
3727
3723
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3728
3724
  } | undefined;
3729
- additionalCredentials?: any;
3730
- accessToken?: string | undefined;
3731
- channelSecret?: string | undefined;
3732
- senderId?: string | undefined;
3733
3725
  vonageCredentials?: {
3734
3726
  apiKey: string;
3735
3727
  mobileNumber: string;
3736
3728
  apiSecret: string;
3737
3729
  } | undefined;
3730
+ line?: {
3731
+ channelId: string;
3732
+ channelSecret: string;
3733
+ } | undefined;
3738
3734
  lineRichMenuId?: string | null | undefined;
3739
3735
  messengerIntegrationType?: "own" | "business" | undefined;
3740
3736
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3744,6 +3740,9 @@ export declare const smsContract: {
3744
3740
  status: boolean;
3745
3741
  brandName: string;
3746
3742
  platformId: string;
3743
+ connectedUserName?: string | null | undefined;
3744
+ connectedUserId?: string | null | undefined;
3745
+ lineRichMenuId?: string | null | undefined;
3747
3746
  actor?: {
3748
3747
  name: string;
3749
3748
  id: string;
@@ -3751,9 +3750,6 @@ export declare const smsContract: {
3751
3750
  email: string;
3752
3751
  phone: string | null;
3753
3752
  } | undefined;
3754
- lineRichMenuId?: string | null | undefined;
3755
- connectedUserName?: string | null | undefined;
3756
- connectedUserId?: string | null | undefined;
3757
3753
  }, {
3758
3754
  name: string;
3759
3755
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
@@ -3761,33 +3757,33 @@ export declare const smsContract: {
3761
3757
  metadata: {
3762
3758
  name: string;
3763
3759
  id: string;
3764
- line?: {
3765
- channelId: string;
3766
- channelSecret: string;
3767
- } | undefined;
3760
+ accessToken?: string | undefined;
3761
+ channelSecret?: string | undefined;
3762
+ additionalCredentials?: any;
3763
+ senderId?: string | undefined;
3768
3764
  whatsapp?: {
3769
- email?: string | null | undefined;
3770
- status?: "active" | "pending" | "waapi-qr" | undefined;
3771
- channelId?: string | null | undefined;
3772
3765
  wabaBusinessId?: string | null | undefined;
3773
3766
  wabaExternalId?: string | null | undefined;
3774
3767
  phoneNumberId?: string | null | undefined;
3768
+ email?: string | null | undefined;
3775
3769
  clientId?: string | null | undefined;
3770
+ channelId?: string | null | undefined;
3776
3771
  waapiInstanceId?: string | null | undefined;
3777
3772
  qr?: string | null | undefined;
3773
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3778
3774
  apiKey?: string | undefined;
3779
3775
  tier?: "basic" | "regular" | "premium" | undefined;
3780
3776
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3781
3777
  } | undefined;
3782
- additionalCredentials?: any;
3783
- accessToken?: string | undefined;
3784
- channelSecret?: string | undefined;
3785
- senderId?: string | undefined;
3786
3778
  vonageCredentials?: {
3787
3779
  apiKey: string;
3788
3780
  mobileNumber: string;
3789
3781
  apiSecret: string;
3790
3782
  } | undefined;
3783
+ line?: {
3784
+ channelId: string;
3785
+ channelSecret: string;
3786
+ } | undefined;
3791
3787
  lineRichMenuId?: string | null | undefined;
3792
3788
  messengerIntegrationType?: "own" | "business" | undefined;
3793
3789
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3797,6 +3793,9 @@ export declare const smsContract: {
3797
3793
  status: boolean;
3798
3794
  brandName: string;
3799
3795
  platformId: string;
3796
+ connectedUserName?: string | null | undefined;
3797
+ connectedUserId?: string | null | undefined;
3798
+ lineRichMenuId?: string | null | undefined;
3800
3799
  actor?: {
3801
3800
  name: string;
3802
3801
  id: string;
@@ -3804,12 +3803,8 @@ export declare const smsContract: {
3804
3803
  email: string;
3805
3804
  phone: string | null;
3806
3805
  } | undefined;
3807
- lineRichMenuId?: string | null | undefined;
3808
- connectedUserName?: string | null | undefined;
3809
- connectedUserId?: string | null | undefined;
3810
3806
  }>;
3811
3807
  messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
3812
- whatsappTemplateName: z.ZodOptional<z.ZodString>;
3813
3808
  telegramBusinessConnectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3814
3809
  isBotRoom: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
3815
3810
  }, "strip", z.ZodTypeAny, {
@@ -3821,33 +3816,33 @@ export declare const smsContract: {
3821
3816
  metadata: {
3822
3817
  name: string;
3823
3818
  id: string;
3824
- line?: {
3825
- channelId: string;
3826
- channelSecret: string;
3827
- } | undefined;
3819
+ accessToken?: string | undefined;
3820
+ channelSecret?: string | undefined;
3821
+ additionalCredentials?: any;
3822
+ senderId?: string | undefined;
3828
3823
  whatsapp?: {
3829
- email?: string | null | undefined;
3830
- status?: "active" | "pending" | "waapi-qr" | undefined;
3831
- channelId?: string | null | undefined;
3832
3824
  wabaBusinessId?: string | null | undefined;
3833
3825
  wabaExternalId?: string | null | undefined;
3834
3826
  phoneNumberId?: string | null | undefined;
3827
+ email?: string | null | undefined;
3835
3828
  clientId?: string | null | undefined;
3829
+ channelId?: string | null | undefined;
3836
3830
  waapiInstanceId?: string | null | undefined;
3837
3831
  qr?: string | null | undefined;
3832
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3838
3833
  apiKey?: string | undefined;
3839
3834
  tier?: "basic" | "regular" | "premium" | undefined;
3840
3835
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3841
3836
  } | undefined;
3842
- additionalCredentials?: any;
3843
- accessToken?: string | undefined;
3844
- channelSecret?: string | undefined;
3845
- senderId?: string | undefined;
3846
3837
  vonageCredentials?: {
3847
3838
  apiKey: string;
3848
3839
  mobileNumber: string;
3849
3840
  apiSecret: string;
3850
3841
  } | undefined;
3842
+ line?: {
3843
+ channelId: string;
3844
+ channelSecret: string;
3845
+ } | undefined;
3851
3846
  lineRichMenuId?: string | null | undefined;
3852
3847
  messengerIntegrationType?: "own" | "business" | undefined;
3853
3848
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3857,6 +3852,9 @@ export declare const smsContract: {
3857
3852
  status: boolean;
3858
3853
  brandName: string;
3859
3854
  platformId: string;
3855
+ connectedUserName?: string | null | undefined;
3856
+ connectedUserId?: string | null | undefined;
3857
+ lineRichMenuId?: string | null | undefined;
3860
3858
  actor?: {
3861
3859
  name: string;
3862
3860
  id: string;
@@ -3864,13 +3862,17 @@ export declare const smsContract: {
3864
3862
  email: string;
3865
3863
  phone: string | null;
3866
3864
  } | undefined;
3867
- lineRichMenuId?: string | null | undefined;
3868
- connectedUserName?: string | null | undefined;
3869
- connectedUserId?: string | null | undefined;
3870
3865
  };
3871
3866
  direction: "incoming" | "outgoing" | "system";
3872
3867
  createdAt: string;
3873
3868
  updatedAt: string;
3869
+ actor: {
3870
+ name: string;
3871
+ id: string;
3872
+ address: string | null;
3873
+ email: string;
3874
+ phone: string | null;
3875
+ } | null;
3874
3876
  isLatest: boolean;
3875
3877
  platformContact: {
3876
3878
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
@@ -3884,33 +3886,25 @@ export declare const smsContract: {
3884
3886
  contact: {
3885
3887
  name: string;
3886
3888
  channel: string | null;
3889
+ address: string | null;
3887
3890
  deletedAt: Date | null;
3891
+ notes: string | null;
3888
3892
  contactProfile: string | null;
3889
3893
  socialProfileUrl: string | null;
3890
- address?: string | null | undefined;
3891
- notes?: string | null | undefined;
3892
3894
  };
3893
3895
  channelId: string;
3894
3896
  socialPlatformId: string | null;
3895
3897
  };
3896
- isBotRoom: boolean | null;
3897
- metadata?: any;
3898
- actor?: {
3898
+ assignee: {
3899
3899
  name: string;
3900
3900
  id: string;
3901
- address: string | null;
3902
3901
  email: string;
3903
- phone: string | null;
3904
- } | null | undefined;
3902
+ } | null;
3903
+ isBotRoom: boolean | null;
3905
3904
  lastMessage?: string | undefined;
3906
3905
  handleTime?: number | undefined;
3907
- assignee?: {
3908
- name: string;
3909
- id: string;
3910
- email: string;
3911
- } | null | undefined;
3906
+ metadata?: any;
3912
3907
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
3913
- whatsappTemplateName?: string | undefined;
3914
3908
  telegramBusinessConnectionId?: string | null | undefined;
3915
3909
  }, {
3916
3910
  id: string;
@@ -3921,33 +3915,33 @@ export declare const smsContract: {
3921
3915
  metadata: {
3922
3916
  name: string;
3923
3917
  id: string;
3924
- line?: {
3925
- channelId: string;
3926
- channelSecret: string;
3927
- } | undefined;
3918
+ accessToken?: string | undefined;
3919
+ channelSecret?: string | undefined;
3920
+ additionalCredentials?: any;
3921
+ senderId?: string | undefined;
3928
3922
  whatsapp?: {
3929
- email?: string | null | undefined;
3930
- status?: "active" | "pending" | "waapi-qr" | undefined;
3931
- channelId?: string | null | undefined;
3932
3923
  wabaBusinessId?: string | null | undefined;
3933
3924
  wabaExternalId?: string | null | undefined;
3934
3925
  phoneNumberId?: string | null | undefined;
3926
+ email?: string | null | undefined;
3935
3927
  clientId?: string | null | undefined;
3928
+ channelId?: string | null | undefined;
3936
3929
  waapiInstanceId?: string | null | undefined;
3937
3930
  qr?: string | null | undefined;
3931
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3938
3932
  apiKey?: string | undefined;
3939
3933
  tier?: "basic" | "regular" | "premium" | undefined;
3940
3934
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3941
3935
  } | undefined;
3942
- additionalCredentials?: any;
3943
- accessToken?: string | undefined;
3944
- channelSecret?: string | undefined;
3945
- senderId?: string | undefined;
3946
3936
  vonageCredentials?: {
3947
3937
  apiKey: string;
3948
3938
  mobileNumber: string;
3949
3939
  apiSecret: string;
3950
3940
  } | undefined;
3941
+ line?: {
3942
+ channelId: string;
3943
+ channelSecret: string;
3944
+ } | undefined;
3951
3945
  lineRichMenuId?: string | null | undefined;
3952
3946
  messengerIntegrationType?: "own" | "business" | undefined;
3953
3947
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3957,6 +3951,9 @@ export declare const smsContract: {
3957
3951
  status: boolean;
3958
3952
  brandName: string;
3959
3953
  platformId: string;
3954
+ connectedUserName?: string | null | undefined;
3955
+ connectedUserId?: string | null | undefined;
3956
+ lineRichMenuId?: string | null | undefined;
3960
3957
  actor?: {
3961
3958
  name: string;
3962
3959
  id: string;
@@ -3964,13 +3961,17 @@ export declare const smsContract: {
3964
3961
  email: string;
3965
3962
  phone: string | null;
3966
3963
  } | undefined;
3967
- lineRichMenuId?: string | null | undefined;
3968
- connectedUserName?: string | null | undefined;
3969
- connectedUserId?: string | null | undefined;
3970
3964
  };
3971
3965
  direction: "incoming" | "outgoing" | "system";
3972
3966
  createdAt: string;
3973
3967
  updatedAt: string;
3968
+ actor: {
3969
+ name: string;
3970
+ id: string;
3971
+ address: string | null;
3972
+ email: string;
3973
+ phone: string | null;
3974
+ } | null;
3974
3975
  isLatest: boolean;
3975
3976
  platformContact: {
3976
3977
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
@@ -3984,34 +3985,26 @@ export declare const smsContract: {
3984
3985
  contact: {
3985
3986
  name: string;
3986
3987
  channel: string | null;
3988
+ address: string | null;
3987
3989
  deletedAt: Date | null;
3990
+ notes: string | null;
3988
3991
  contactProfile: string | null;
3989
3992
  socialProfileUrl: string | null;
3990
- address?: string | null | undefined;
3991
- notes?: string | null | undefined;
3992
3993
  };
3993
3994
  channelId: string;
3994
3995
  socialPlatformId: string | null;
3995
3996
  };
3996
- metadata?: any;
3997
- actor?: {
3997
+ assignee: {
3998
3998
  name: string;
3999
3999
  id: string;
4000
- address: string | null;
4001
4000
  email: string;
4002
- phone: string | null;
4003
- } | null | undefined;
4001
+ } | null;
4004
4002
  lastMessage?: string | undefined;
4005
4003
  handleTime?: number | undefined;
4006
- assignee?: {
4007
- name: string;
4008
- id: string;
4009
- email: string;
4010
- } | null | undefined;
4011
- isBotRoom?: boolean | null | undefined;
4004
+ metadata?: any;
4012
4005
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
4013
- whatsappTemplateName?: string | undefined;
4014
4006
  telegramBusinessConnectionId?: string | null | undefined;
4007
+ isBotRoom?: boolean | null | undefined;
4015
4008
  }>;
4016
4009
  message: z.ZodObject<{
4017
4010
  id: z.ZodOptional<z.ZodString>;
@@ -4023,12 +4016,12 @@ export declare const smsContract: {
4023
4016
  platformId: z.ZodOptional<z.ZodString>;
4024
4017
  platformMessageId: z.ZodOptional<z.ZodString>;
4025
4018
  replyPlatformMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4026
- template: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
4019
+ template: z.ZodOptional<z.ZodAny>;
4027
4020
  locale: z.ZodOptional<z.ZodNullable<z.ZodEnum<["mm", "en", "th", ""]>>>;
4028
4021
  url: z.ZodOptional<z.ZodString>;
4029
4022
  previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4030
4023
  imageSetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4031
- upload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4024
+ upload: z.ZodOptional<z.ZodObject<{
4032
4025
  bucketName: z.ZodString;
4033
4026
  fileName: z.ZodString;
4034
4027
  fileSize: z.ZodNumber;
@@ -4046,8 +4039,8 @@ export declare const smsContract: {
4046
4039
  bucketName: string;
4047
4040
  fileSize: number;
4048
4041
  originalUrl?: string | undefined;
4049
- }>>>;
4050
- sender: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4042
+ }>>;
4043
+ sender: z.ZodOptional<z.ZodObject<{
4051
4044
  id: z.ZodString;
4052
4045
  name: z.ZodString;
4053
4046
  email: z.ZodString;
@@ -4065,9 +4058,9 @@ export declare const smsContract: {
4065
4058
  address: string | null;
4066
4059
  email: string;
4067
4060
  phone: string | null;
4068
- }>>>;
4069
- parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4070
- feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4061
+ }>>;
4062
+ parentMessageId: z.ZodOptional<z.ZodString>;
4063
+ feedPostId: z.ZodOptional<z.ZodString>;
4071
4064
  editedMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4072
4065
  isEdited: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
4073
4066
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
@@ -4075,110 +4068,110 @@ export declare const smsContract: {
4075
4068
  }, "strip", z.ZodTypeAny, {
4076
4069
  type: string;
4077
4070
  direction: "incoming" | "outgoing" | "system";
4078
- message?: string | undefined;
4079
4071
  id?: string | undefined;
4080
- url?: string | undefined;
4081
- label?: string | undefined;
4082
- template?: any;
4072
+ message?: string | undefined;
4073
+ readAt?: string | Date | null | undefined;
4083
4074
  metadata?: any;
4084
- upload?: {
4085
- fileName: string;
4086
- fileKey: string;
4087
- bucketName: string;
4088
- fileSize: number;
4089
- originalUrl?: string | undefined;
4090
- } | null | undefined;
4091
4075
  platformId?: string | undefined;
4092
4076
  platformMessageId?: string | undefined;
4093
- readAt?: string | Date | null | undefined;
4094
4077
  replyPlatformMessageId?: string | null | undefined;
4078
+ template?: any;
4095
4079
  locale?: "" | "th" | "mm" | "en" | null | undefined;
4080
+ url?: string | undefined;
4096
4081
  previewUrl?: string | null | undefined;
4097
4082
  imageSetId?: string | null | undefined;
4083
+ upload?: {
4084
+ fileName: string;
4085
+ fileKey: string;
4086
+ bucketName: string;
4087
+ fileSize: number;
4088
+ originalUrl?: string | undefined;
4089
+ } | undefined;
4098
4090
  sender?: {
4099
4091
  name: string;
4100
4092
  id: string;
4101
4093
  address: string | null;
4102
4094
  email: string;
4103
4095
  phone: string | null;
4104
- } | null | undefined;
4105
- parentMessageId?: string | null | undefined;
4106
- feedPostId?: string | null | undefined;
4096
+ } | undefined;
4097
+ parentMessageId?: string | undefined;
4098
+ feedPostId?: string | undefined;
4107
4099
  editedMessageId?: string | null | undefined;
4108
4100
  isEdited?: boolean | null | undefined;
4109
4101
  editedAt?: string | Date | null | undefined;
4102
+ label?: string | undefined;
4110
4103
  }, {
4111
4104
  type: string;
4112
4105
  direction: "incoming" | "outgoing" | "system";
4113
- message?: string | undefined;
4114
4106
  id?: string | undefined;
4115
- url?: string | undefined;
4116
- label?: string | undefined;
4117
- template?: any;
4107
+ message?: string | undefined;
4108
+ readAt?: string | Date | null | undefined;
4118
4109
  metadata?: any;
4119
- upload?: {
4120
- fileName: string;
4121
- fileKey: string;
4122
- bucketName: string;
4123
- fileSize: number;
4124
- originalUrl?: string | undefined;
4125
- } | null | undefined;
4126
4110
  platformId?: string | undefined;
4127
4111
  platformMessageId?: string | undefined;
4128
- readAt?: string | Date | null | undefined;
4129
4112
  replyPlatformMessageId?: string | null | undefined;
4113
+ template?: any;
4130
4114
  locale?: "" | "th" | "mm" | "en" | null | undefined;
4115
+ url?: string | undefined;
4131
4116
  previewUrl?: string | null | undefined;
4132
4117
  imageSetId?: string | null | undefined;
4118
+ upload?: {
4119
+ fileName: string;
4120
+ fileKey: string;
4121
+ bucketName: string;
4122
+ fileSize: number;
4123
+ originalUrl?: string | undefined;
4124
+ } | undefined;
4133
4125
  sender?: {
4134
4126
  name: string;
4135
4127
  id: string;
4136
4128
  address: string | null;
4137
4129
  email: string;
4138
4130
  phone: string | null;
4139
- } | null | undefined;
4140
- parentMessageId?: string | null | undefined;
4141
- feedPostId?: string | null | undefined;
4131
+ } | undefined;
4132
+ parentMessageId?: string | undefined;
4133
+ feedPostId?: string | undefined;
4142
4134
  editedMessageId?: string | null | undefined;
4143
4135
  isEdited?: boolean | null | undefined;
4144
4136
  editedAt?: string | Date | null | undefined;
4137
+ label?: string | undefined;
4145
4138
  }>;
4146
4139
  }, "strip", z.ZodTypeAny, {
4147
4140
  message: {
4148
4141
  type: string;
4149
4142
  direction: "incoming" | "outgoing" | "system";
4150
- message?: string | undefined;
4151
4143
  id?: string | undefined;
4152
- url?: string | undefined;
4153
- label?: string | undefined;
4154
- template?: any;
4144
+ message?: string | undefined;
4145
+ readAt?: string | Date | null | undefined;
4155
4146
  metadata?: any;
4156
- upload?: {
4157
- fileName: string;
4158
- fileKey: string;
4159
- bucketName: string;
4160
- fileSize: number;
4161
- originalUrl?: string | undefined;
4162
- } | null | undefined;
4163
4147
  platformId?: string | undefined;
4164
4148
  platformMessageId?: string | undefined;
4165
- readAt?: string | Date | null | undefined;
4166
4149
  replyPlatformMessageId?: string | null | undefined;
4150
+ template?: any;
4167
4151
  locale?: "" | "th" | "mm" | "en" | null | undefined;
4152
+ url?: string | undefined;
4168
4153
  previewUrl?: string | null | undefined;
4169
4154
  imageSetId?: string | null | undefined;
4155
+ upload?: {
4156
+ fileName: string;
4157
+ fileKey: string;
4158
+ bucketName: string;
4159
+ fileSize: number;
4160
+ originalUrl?: string | undefined;
4161
+ } | undefined;
4170
4162
  sender?: {
4171
4163
  name: string;
4172
4164
  id: string;
4173
4165
  address: string | null;
4174
4166
  email: string;
4175
4167
  phone: string | null;
4176
- } | null | undefined;
4177
- parentMessageId?: string | null | undefined;
4178
- feedPostId?: string | null | undefined;
4168
+ } | undefined;
4169
+ parentMessageId?: string | undefined;
4170
+ feedPostId?: string | undefined;
4179
4171
  editedMessageId?: string | null | undefined;
4180
4172
  isEdited?: boolean | null | undefined;
4181
4173
  editedAt?: string | Date | null | undefined;
4174
+ label?: string | undefined;
4182
4175
  };
4183
4176
  room: {
4184
4177
  id: string;
@@ -4189,33 +4182,33 @@ export declare const smsContract: {
4189
4182
  metadata: {
4190
4183
  name: string;
4191
4184
  id: string;
4192
- line?: {
4193
- channelId: string;
4194
- channelSecret: string;
4195
- } | undefined;
4185
+ accessToken?: string | undefined;
4186
+ channelSecret?: string | undefined;
4187
+ additionalCredentials?: any;
4188
+ senderId?: string | undefined;
4196
4189
  whatsapp?: {
4197
- email?: string | null | undefined;
4198
- status?: "active" | "pending" | "waapi-qr" | undefined;
4199
- channelId?: string | null | undefined;
4200
4190
  wabaBusinessId?: string | null | undefined;
4201
4191
  wabaExternalId?: string | null | undefined;
4202
4192
  phoneNumberId?: string | null | undefined;
4193
+ email?: string | null | undefined;
4203
4194
  clientId?: string | null | undefined;
4195
+ channelId?: string | null | undefined;
4204
4196
  waapiInstanceId?: string | null | undefined;
4205
4197
  qr?: string | null | undefined;
4198
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4206
4199
  apiKey?: string | undefined;
4207
4200
  tier?: "basic" | "regular" | "premium" | undefined;
4208
4201
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4209
4202
  } | undefined;
4210
- additionalCredentials?: any;
4211
- accessToken?: string | undefined;
4212
- channelSecret?: string | undefined;
4213
- senderId?: string | undefined;
4214
4203
  vonageCredentials?: {
4215
4204
  apiKey: string;
4216
4205
  mobileNumber: string;
4217
4206
  apiSecret: string;
4218
4207
  } | undefined;
4208
+ line?: {
4209
+ channelId: string;
4210
+ channelSecret: string;
4211
+ } | undefined;
4219
4212
  lineRichMenuId?: string | null | undefined;
4220
4213
  messengerIntegrationType?: "own" | "business" | undefined;
4221
4214
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -4225,6 +4218,9 @@ export declare const smsContract: {
4225
4218
  status: boolean;
4226
4219
  brandName: string;
4227
4220
  platformId: string;
4221
+ connectedUserName?: string | null | undefined;
4222
+ connectedUserId?: string | null | undefined;
4223
+ lineRichMenuId?: string | null | undefined;
4228
4224
  actor?: {
4229
4225
  name: string;
4230
4226
  id: string;
@@ -4232,13 +4228,17 @@ export declare const smsContract: {
4232
4228
  email: string;
4233
4229
  phone: string | null;
4234
4230
  } | undefined;
4235
- lineRichMenuId?: string | null | undefined;
4236
- connectedUserName?: string | null | undefined;
4237
- connectedUserId?: string | null | undefined;
4238
4231
  };
4239
4232
  direction: "incoming" | "outgoing" | "system";
4240
4233
  createdAt: string;
4241
4234
  updatedAt: string;
4235
+ actor: {
4236
+ name: string;
4237
+ id: string;
4238
+ address: string | null;
4239
+ email: string;
4240
+ phone: string | null;
4241
+ } | null;
4242
4242
  isLatest: boolean;
4243
4243
  platformContact: {
4244
4244
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
@@ -4252,33 +4252,25 @@ export declare const smsContract: {
4252
4252
  contact: {
4253
4253
  name: string;
4254
4254
  channel: string | null;
4255
+ address: string | null;
4255
4256
  deletedAt: Date | null;
4257
+ notes: string | null;
4256
4258
  contactProfile: string | null;
4257
4259
  socialProfileUrl: string | null;
4258
- address?: string | null | undefined;
4259
- notes?: string | null | undefined;
4260
4260
  };
4261
4261
  channelId: string;
4262
4262
  socialPlatformId: string | null;
4263
4263
  };
4264
- isBotRoom: boolean | null;
4265
- metadata?: any;
4266
- actor?: {
4264
+ assignee: {
4267
4265
  name: string;
4268
4266
  id: string;
4269
- address: string | null;
4270
4267
  email: string;
4271
- phone: string | null;
4272
- } | null | undefined;
4268
+ } | null;
4269
+ isBotRoom: boolean | null;
4273
4270
  lastMessage?: string | undefined;
4274
4271
  handleTime?: number | undefined;
4275
- assignee?: {
4276
- name: string;
4277
- id: string;
4278
- email: string;
4279
- } | null | undefined;
4272
+ metadata?: any;
4280
4273
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
4281
- whatsappTemplateName?: string | undefined;
4282
4274
  telegramBusinessConnectionId?: string | null | undefined;
4283
4275
  };
4284
4276
  isBot: boolean | null;
@@ -4286,38 +4278,38 @@ export declare const smsContract: {
4286
4278
  message: {
4287
4279
  type: string;
4288
4280
  direction: "incoming" | "outgoing" | "system";
4289
- message?: string | undefined;
4290
4281
  id?: string | undefined;
4291
- url?: string | undefined;
4292
- label?: string | undefined;
4293
- template?: any;
4282
+ message?: string | undefined;
4283
+ readAt?: string | Date | null | undefined;
4294
4284
  metadata?: any;
4295
- upload?: {
4296
- fileName: string;
4297
- fileKey: string;
4298
- bucketName: string;
4299
- fileSize: number;
4300
- originalUrl?: string | undefined;
4301
- } | null | undefined;
4302
4285
  platformId?: string | undefined;
4303
4286
  platformMessageId?: string | undefined;
4304
- readAt?: string | Date | null | undefined;
4305
4287
  replyPlatformMessageId?: string | null | undefined;
4288
+ template?: any;
4306
4289
  locale?: "" | "th" | "mm" | "en" | null | undefined;
4290
+ url?: string | undefined;
4307
4291
  previewUrl?: string | null | undefined;
4308
4292
  imageSetId?: string | null | undefined;
4293
+ upload?: {
4294
+ fileName: string;
4295
+ fileKey: string;
4296
+ bucketName: string;
4297
+ fileSize: number;
4298
+ originalUrl?: string | undefined;
4299
+ } | undefined;
4309
4300
  sender?: {
4310
4301
  name: string;
4311
4302
  id: string;
4312
4303
  address: string | null;
4313
4304
  email: string;
4314
4305
  phone: string | null;
4315
- } | null | undefined;
4316
- parentMessageId?: string | null | undefined;
4317
- feedPostId?: string | null | undefined;
4306
+ } | undefined;
4307
+ parentMessageId?: string | undefined;
4308
+ feedPostId?: string | undefined;
4318
4309
  editedMessageId?: string | null | undefined;
4319
4310
  isEdited?: boolean | null | undefined;
4320
4311
  editedAt?: string | Date | null | undefined;
4312
+ label?: string | undefined;
4321
4313
  };
4322
4314
  room: {
4323
4315
  id: string;
@@ -4328,33 +4320,33 @@ export declare const smsContract: {
4328
4320
  metadata: {
4329
4321
  name: string;
4330
4322
  id: string;
4331
- line?: {
4332
- channelId: string;
4333
- channelSecret: string;
4334
- } | undefined;
4323
+ accessToken?: string | undefined;
4324
+ channelSecret?: string | undefined;
4325
+ additionalCredentials?: any;
4326
+ senderId?: string | undefined;
4335
4327
  whatsapp?: {
4336
- email?: string | null | undefined;
4337
- status?: "active" | "pending" | "waapi-qr" | undefined;
4338
- channelId?: string | null | undefined;
4339
4328
  wabaBusinessId?: string | null | undefined;
4340
4329
  wabaExternalId?: string | null | undefined;
4341
4330
  phoneNumberId?: string | null | undefined;
4331
+ email?: string | null | undefined;
4342
4332
  clientId?: string | null | undefined;
4333
+ channelId?: string | null | undefined;
4343
4334
  waapiInstanceId?: string | null | undefined;
4344
4335
  qr?: string | null | undefined;
4336
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4345
4337
  apiKey?: string | undefined;
4346
4338
  tier?: "basic" | "regular" | "premium" | undefined;
4347
4339
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4348
4340
  } | undefined;
4349
- additionalCredentials?: any;
4350
- accessToken?: string | undefined;
4351
- channelSecret?: string | undefined;
4352
- senderId?: string | undefined;
4353
4341
  vonageCredentials?: {
4354
4342
  apiKey: string;
4355
4343
  mobileNumber: string;
4356
4344
  apiSecret: string;
4357
4345
  } | undefined;
4346
+ line?: {
4347
+ channelId: string;
4348
+ channelSecret: string;
4349
+ } | undefined;
4358
4350
  lineRichMenuId?: string | null | undefined;
4359
4351
  messengerIntegrationType?: "own" | "business" | undefined;
4360
4352
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -4364,6 +4356,9 @@ export declare const smsContract: {
4364
4356
  status: boolean;
4365
4357
  brandName: string;
4366
4358
  platformId: string;
4359
+ connectedUserName?: string | null | undefined;
4360
+ connectedUserId?: string | null | undefined;
4361
+ lineRichMenuId?: string | null | undefined;
4367
4362
  actor?: {
4368
4363
  name: string;
4369
4364
  id: string;
@@ -4371,13 +4366,17 @@ export declare const smsContract: {
4371
4366
  email: string;
4372
4367
  phone: string | null;
4373
4368
  } | undefined;
4374
- lineRichMenuId?: string | null | undefined;
4375
- connectedUserName?: string | null | undefined;
4376
- connectedUserId?: string | null | undefined;
4377
4369
  };
4378
4370
  direction: "incoming" | "outgoing" | "system";
4379
4371
  createdAt: string;
4380
4372
  updatedAt: string;
4373
+ actor: {
4374
+ name: string;
4375
+ id: string;
4376
+ address: string | null;
4377
+ email: string;
4378
+ phone: string | null;
4379
+ } | null;
4381
4380
  isLatest: boolean;
4382
4381
  platformContact: {
4383
4382
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
@@ -4391,39 +4390,30 @@ export declare const smsContract: {
4391
4390
  contact: {
4392
4391
  name: string;
4393
4392
  channel: string | null;
4393
+ address: string | null;
4394
4394
  deletedAt: Date | null;
4395
+ notes: string | null;
4395
4396
  contactProfile: string | null;
4396
4397
  socialProfileUrl: string | null;
4397
- address?: string | null | undefined;
4398
- notes?: string | null | undefined;
4399
4398
  };
4400
4399
  channelId: string;
4401
4400
  socialPlatformId: string | null;
4402
4401
  };
4403
- metadata?: any;
4404
- actor?: {
4402
+ assignee: {
4405
4403
  name: string;
4406
4404
  id: string;
4407
- address: string | null;
4408
4405
  email: string;
4409
- phone: string | null;
4410
- } | null | undefined;
4406
+ } | null;
4411
4407
  lastMessage?: string | undefined;
4412
4408
  handleTime?: number | undefined;
4413
- assignee?: {
4414
- name: string;
4415
- id: string;
4416
- email: string;
4417
- } | null | undefined;
4418
- isBotRoom?: boolean | null | undefined;
4409
+ metadata?: any;
4419
4410
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
4420
- whatsappTemplateName?: string | undefined;
4421
4411
  telegramBusinessConnectionId?: string | null | undefined;
4412
+ isBotRoom?: boolean | null | undefined;
4422
4413
  };
4423
4414
  isBot?: boolean | null | undefined;
4424
4415
  }>;
4425
4416
  method: "POST";
4426
- path: "/message";
4427
4417
  responses: {
4428
4418
  200: z.ZodObject<{
4429
4419
  requestId: z.ZodString;
@@ -4453,12 +4443,12 @@ export declare const smsContract: {
4453
4443
  error?: any;
4454
4444
  }>;
4455
4445
  };
4446
+ path: "/message";
4456
4447
  };
4457
4448
  };
4458
4449
  export declare const smsSettingContract: {
4459
4450
  getSMSNumbers: {
4460
4451
  method: "GET";
4461
- path: "ms/sms-setting/sms-numbers";
4462
4452
  responses: {
4463
4453
  200: z.ZodObject<{
4464
4454
  requestId: z.ZodString;
@@ -4506,6 +4496,7 @@ export declare const smsSettingContract: {
4506
4496
  }[];
4507
4497
  }>;
4508
4498
  };
4499
+ path: "/sms-setting/sms-numbers";
4509
4500
  };
4510
4501
  };
4511
4502
  //# sourceMappingURL=index.d.ts.map