@kl1/contracts 1.4.66 → 1.4.69

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