@kl1/contracts 1.3.8 → 1.3.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +22 -23
  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 +5 -6
  4. package/dist/api-contracts/src/activity-log/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/attribute/index.d.ts +148 -164
  6. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/attribute/schema.d.ts +8 -11
  8. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  9. package/dist/api-contracts/src/attribute-option/schema.d.ts +2 -3
  10. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/auth/index.d.ts +24 -26
  12. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  13. package/dist/api-contracts/src/automation-queue/index.d.ts +170 -192
  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 +12 -15
  16. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
  17. package/dist/api-contracts/src/aws/index.d.ts +6 -8
  18. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/botpress/index.d.ts +13 -17
  20. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/business-calendar/index.d.ts +28 -40
  22. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  23. package/dist/api-contracts/src/business-calendar/schema.d.ts +10 -15
  24. package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
  25. package/dist/api-contracts/src/call-log/schema.d.ts +4 -5
  26. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  27. package/dist/api-contracts/src/category/index.d.ts +109 -118
  28. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/category/schema.d.ts +2 -3
  30. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  31. package/dist/api-contracts/src/channel/index.d.ts +1502 -1532
  32. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  33. package/dist/api-contracts/src/channel/schema.d.ts +54 -54
  34. package/dist/api-contracts/src/channel/validation.d.ts +72 -72
  35. package/dist/api-contracts/src/chat/index.d.ts +13141 -13645
  36. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  37. package/dist/api-contracts/src/chat/schema.d.ts +2308 -2467
  38. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  39. package/dist/api-contracts/src/chat/validation.d.ts +3331 -3414
  40. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  41. package/dist/api-contracts/src/comment/index.d.ts +299 -371
  42. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  43. package/dist/api-contracts/src/comment/schema.d.ts +75 -98
  44. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  45. package/dist/api-contracts/src/comment/validation.d.ts +1 -1
  46. package/dist/api-contracts/src/company/index.d.ts +109 -136
  47. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  48. package/dist/api-contracts/src/company/schema.d.ts +24 -33
  49. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  50. package/dist/api-contracts/src/company/validation.d.ts +62 -78
  51. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  52. package/dist/api-contracts/src/contact/index.d.ts +559 -677
  53. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  54. package/dist/api-contracts/src/contact/schema.d.ts +42 -56
  55. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  56. package/dist/api-contracts/src/contact/validation.d.ts +218 -299
  57. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  58. package/dist/api-contracts/src/contact-email/schema.d.ts +2 -3
  59. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  60. package/dist/api-contracts/src/contact-phone/schema.d.ts +2 -3
  61. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  62. package/dist/api-contracts/src/contract.d.ts +25882 -27370
  63. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  64. package/dist/api-contracts/src/custom-field/schema.d.ts +2 -3
  65. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  66. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  67. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +2 -3
  68. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  69. package/dist/api-contracts/src/cx-intelligence/index.d.ts +47 -50
  70. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
  71. package/dist/api-contracts/src/cx-log/index.d.ts +783 -831
  72. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/cx-log/schema.d.ts +461 -514
  74. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  75. package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
  76. package/dist/api-contracts/src/dashboard/index.d.ts +361 -402
  77. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  78. package/dist/api-contracts/src/dashboard/schema.d.ts +4 -5
  79. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  80. package/dist/api-contracts/src/dashboard/validation.d.ts +18 -24
  81. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  82. package/dist/api-contracts/src/evaluate-form/index.d.ts +3 -4
  83. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  84. package/dist/api-contracts/src/evaluate-form/schema.d.ts +2 -3
  85. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  86. package/dist/api-contracts/src/export/index.d.ts +3 -4
  87. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  88. package/dist/api-contracts/src/extension/index.d.ts +112 -118
  89. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/facebook-feed/index.d.ts +2211 -2291
  91. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  92. package/dist/api-contracts/src/facebook-feed/schema.d.ts +82 -94
  93. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  94. package/dist/api-contracts/src/facebook-feed/validation.d.ts +89 -106
  95. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  96. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  97. package/dist/api-contracts/src/group/schema.d.ts +2 -3
  98. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  99. package/dist/api-contracts/src/hold-label/index.d.ts +58 -77
  100. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  101. package/dist/api-contracts/src/hold-label/schema.d.ts +14 -20
  102. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  103. package/dist/api-contracts/src/index.d.ts +1 -0
  104. package/dist/api-contracts/src/index.d.ts.map +1 -1
  105. package/dist/api-contracts/src/instagram/index.d.ts +3873 -3933
  106. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  107. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  108. package/dist/api-contracts/src/line/index.d.ts +2073 -2133
  109. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  110. package/dist/api-contracts/src/line/schema.d.ts +11 -12
  111. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  112. package/dist/api-contracts/src/line/validation.d.ts +127 -127
  113. package/dist/api-contracts/src/log-form/schema.d.ts +2 -3
  114. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  115. package/dist/api-contracts/src/mail/account-contract.d.ts +174 -184
  116. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  117. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +3 -4
  118. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  119. package/dist/api-contracts/src/mail/mail-contract.d.ts +451 -502
  120. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  121. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +18 -24
  122. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  123. package/dist/api-contracts/src/mail/message-contract.d.ts +107 -113
  124. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  125. package/dist/api-contracts/src/mail/room-contract.d.ts +101 -130
  126. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  127. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  128. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +30 -36
  129. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  130. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +20 -27
  131. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  132. package/dist/api-contracts/src/messenger/index.d.ts +3873 -3935
  133. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  134. package/dist/api-contracts/src/messenger/validation.d.ts +89 -106
  135. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  136. package/dist/api-contracts/src/notification/index.d.ts +27 -34
  137. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  138. package/dist/api-contracts/src/notification/schema.d.ts +15 -18
  139. package/dist/api-contracts/src/notification/schema.d.ts.map +1 -1
  140. package/dist/api-contracts/src/notification/validation.d.ts +5 -6
  141. package/dist/api-contracts/src/notification/validation.d.ts.map +1 -1
  142. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  143. package/dist/api-contracts/src/presence-status/index.d.ts +81 -84
  144. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  145. package/dist/api-contracts/src/public-api/index.d.ts +196 -260
  146. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  147. package/dist/api-contracts/src/public-api/schema.d.ts +34 -48
  148. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  149. package/dist/api-contracts/src/public-api/validation.d.ts +88 -113
  150. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  151. package/dist/api-contracts/src/role/index.d.ts +83 -88
  152. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  153. package/dist/api-contracts/src/sms/index.d.ts +345 -349
  154. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  155. package/dist/api-contracts/src/snippet/index.d.ts +54 -76
  156. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  157. package/dist/api-contracts/src/snippet/schema.d.ts +14 -21
  158. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  159. package/dist/api-contracts/src/snippet/validation.d.ts +4 -5
  160. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  161. package/dist/api-contracts/src/subscription/index.d.ts +51 -74
  162. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  163. package/dist/api-contracts/src/subscription/schema.d.ts +62 -93
  164. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  165. package/dist/api-contracts/src/tag/index.d.ts +72 -79
  166. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  167. package/dist/api-contracts/src/tag/schema.d.ts +2 -3
  168. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  169. package/dist/api-contracts/src/tag-group/schema.d.ts +2 -3
  170. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  171. package/dist/api-contracts/src/telegram/index.d.ts +1532 -1590
  172. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  173. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +50 -55
  174. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  175. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +7 -9
  176. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  177. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  178. package/dist/api-contracts/src/telephony-cdr/index.d.ts +1170 -1245
  179. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  180. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +196 -222
  181. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  182. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +45 -52
  183. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  184. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  185. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  186. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +2 -3
  187. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  188. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +2 -3
  189. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  190. package/dist/api-contracts/src/tenant/schema.d.ts +2 -3
  191. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  192. package/dist/api-contracts/src/ticket/index.d.ts +679 -790
  193. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  194. package/dist/api-contracts/src/ticket/schema.d.ts +73 -99
  195. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  196. package/dist/api-contracts/src/ticket/validation.d.ts +55 -57
  197. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  198. package/dist/api-contracts/src/upload/index.d.ts +34 -36
  199. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  200. package/dist/api-contracts/src/upload/schema.d.ts +2 -3
  201. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  202. package/dist/api-contracts/src/user/index.d.ts +148 -159
  203. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  204. package/dist/api-contracts/src/user/schema.d.ts +5 -6
  205. package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
  206. package/dist/api-contracts/src/user/validation.d.ts +4 -5
  207. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  208. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +31 -32
  209. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  210. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +7 -9
  211. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  212. package/dist/api-contracts/src/viber/index.d.ts +1785 -1843
  213. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  214. package/dist/api-contracts/src/webchat/index.d.ts +1551 -1609
  215. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  216. package/dist/api-contracts/src/whatsapp/index.d.ts +1920 -1982
  217. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  218. package/dist/api-contracts/src/whatsapp/validation.d.ts +6 -9
  219. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  220. package/dist/api-contracts/src/widget/index.d.ts +144 -155
  221. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  222. package/dist/api-contracts/src/widget/schema.d.ts +2 -3
  223. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  224. package/dist/api-contracts/src/widget/validation.d.ts +16 -16
  225. package/dist/api-contracts/src/workflow-rule/index.d.ts +2021 -2087
  226. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  227. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -3
  228. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  229. package/dist/api-contracts/src/wrap-up-form/index.d.ts +147 -166
  230. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  231. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +6 -9
  232. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  233. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +20 -21
  234. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  235. package/dist/api-contracts/utils.d.ts +3 -4
  236. package/dist/api-contracts/utils.d.ts.map +1 -1
  237. package/dist/index.js +53 -58
  238. package/dist/index.js.map +1 -1
  239. package/dist/index.mjs +52 -58
  240. package/dist/index.mjs.map +1 -1
  241. package/package.json +1 -1
@@ -98,11 +98,9 @@ export declare const smsContract: {
98
98
  };
99
99
  }>;
100
100
  method: "POST";
101
- path: "/connect";
102
101
  responses: {
103
- 200: z.ZodObject<z.objectUtil.extendShape<{
102
+ 200: z.ZodObject<{
104
103
  requestId: z.ZodString;
105
- }, {
106
104
  channel: z.ZodObject<{
107
105
  id: z.ZodString;
108
106
  createdAt: z.ZodDate;
@@ -131,28 +129,28 @@ export declare const smsContract: {
131
129
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
132
130
  integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
133
131
  }, "strip", z.ZodTypeAny, {
134
- email?: string | null | undefined;
135
- status?: "active" | "pending" | "waapi-qr" | undefined;
136
- channelId?: string | null | undefined;
137
132
  wabaBusinessId?: string | null | undefined;
138
133
  wabaExternalId?: string | null | undefined;
139
134
  phoneNumberId?: string | null | undefined;
135
+ email?: string | null | undefined;
140
136
  clientId?: string | null | undefined;
137
+ channelId?: string | null | undefined;
141
138
  waapiInstanceId?: string | null | undefined;
142
139
  qr?: string | null | undefined;
140
+ status?: "active" | "pending" | "waapi-qr" | undefined;
143
141
  apiKey?: string | undefined;
144
142
  tier?: "basic" | "regular" | "premium" | undefined;
145
143
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
146
144
  }, {
147
- email?: string | null | undefined;
148
- status?: "active" | "pending" | "waapi-qr" | undefined;
149
- channelId?: string | null | undefined;
150
145
  wabaBusinessId?: string | null | undefined;
151
146
  wabaExternalId?: string | null | undefined;
152
147
  phoneNumberId?: string | null | undefined;
148
+ email?: string | null | undefined;
153
149
  clientId?: string | null | undefined;
150
+ channelId?: string | null | undefined;
154
151
  waapiInstanceId?: string | null | undefined;
155
152
  qr?: string | null | undefined;
153
+ status?: "active" | "pending" | "waapi-qr" | undefined;
156
154
  apiKey?: string | undefined;
157
155
  tier?: "basic" | "regular" | "premium" | undefined;
158
156
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
@@ -177,24 +175,24 @@ export declare const smsContract: {
177
175
  }, "strip", z.ZodTypeAny, {
178
176
  name: string;
179
177
  id: string;
178
+ accessToken?: string | undefined;
179
+ channelSecret?: string | undefined;
180
+ additionalCredentials?: any;
181
+ senderId?: string | undefined;
180
182
  whatsapp?: {
181
- email?: string | null | undefined;
182
- status?: "active" | "pending" | "waapi-qr" | undefined;
183
- channelId?: string | null | undefined;
184
183
  wabaBusinessId?: string | null | undefined;
185
184
  wabaExternalId?: string | null | undefined;
186
185
  phoneNumberId?: string | null | undefined;
186
+ email?: string | null | undefined;
187
187
  clientId?: string | null | undefined;
188
+ channelId?: string | null | undefined;
188
189
  waapiInstanceId?: string | null | undefined;
189
190
  qr?: string | null | undefined;
191
+ status?: "active" | "pending" | "waapi-qr" | undefined;
190
192
  apiKey?: string | undefined;
191
193
  tier?: "basic" | "regular" | "premium" | undefined;
192
194
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
193
195
  } | undefined;
194
- additionalCredentials?: any;
195
- accessToken?: string | undefined;
196
- channelSecret?: string | undefined;
197
- senderId?: string | undefined;
198
196
  vonageCredentials?: {
199
197
  apiKey: string;
200
198
  mobileNumber: string;
@@ -207,24 +205,24 @@ export declare const smsContract: {
207
205
  }, {
208
206
  name: string;
209
207
  id: string;
208
+ accessToken?: string | undefined;
209
+ channelSecret?: string | undefined;
210
+ additionalCredentials?: any;
211
+ senderId?: string | undefined;
210
212
  whatsapp?: {
211
- email?: string | null | undefined;
212
- status?: "active" | "pending" | "waapi-qr" | undefined;
213
- channelId?: string | null | undefined;
214
213
  wabaBusinessId?: string | null | undefined;
215
214
  wabaExternalId?: string | null | undefined;
216
215
  phoneNumberId?: string | null | undefined;
216
+ email?: string | null | undefined;
217
217
  clientId?: string | null | undefined;
218
+ channelId?: string | null | undefined;
218
219
  waapiInstanceId?: string | null | undefined;
219
220
  qr?: string | null | undefined;
221
+ status?: "active" | "pending" | "waapi-qr" | undefined;
220
222
  apiKey?: string | undefined;
221
223
  tier?: "basic" | "regular" | "premium" | undefined;
222
224
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
223
225
  } | undefined;
224
- additionalCredentials?: any;
225
- accessToken?: string | undefined;
226
- channelSecret?: string | undefined;
227
- senderId?: string | undefined;
228
226
  vonageCredentials?: {
229
227
  apiKey: string;
230
228
  mobileNumber: string;
@@ -471,24 +469,24 @@ export declare const smsContract: {
471
469
  metadata: {
472
470
  name: string;
473
471
  id: string;
472
+ accessToken?: string | undefined;
473
+ channelSecret?: string | undefined;
474
+ additionalCredentials?: any;
475
+ senderId?: string | undefined;
474
476
  whatsapp?: {
475
- email?: string | null | undefined;
476
- status?: "active" | "pending" | "waapi-qr" | undefined;
477
- channelId?: string | null | undefined;
478
477
  wabaBusinessId?: string | null | undefined;
479
478
  wabaExternalId?: string | null | undefined;
480
479
  phoneNumberId?: string | null | undefined;
480
+ email?: string | null | undefined;
481
481
  clientId?: string | null | undefined;
482
+ channelId?: string | null | undefined;
482
483
  waapiInstanceId?: string | null | undefined;
483
484
  qr?: string | null | undefined;
485
+ status?: "active" | "pending" | "waapi-qr" | undefined;
484
486
  apiKey?: string | undefined;
485
487
  tier?: "basic" | "regular" | "premium" | undefined;
486
488
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
487
489
  } | undefined;
488
- additionalCredentials?: any;
489
- accessToken?: string | undefined;
490
- channelSecret?: string | undefined;
491
- senderId?: string | undefined;
492
490
  vonageCredentials?: {
493
491
  apiKey: string;
494
492
  mobileNumber: string;
@@ -566,24 +564,24 @@ export declare const smsContract: {
566
564
  metadata: {
567
565
  name: string;
568
566
  id: string;
567
+ accessToken?: string | undefined;
568
+ channelSecret?: string | undefined;
569
+ additionalCredentials?: any;
570
+ senderId?: string | undefined;
569
571
  whatsapp?: {
570
- email?: string | null | undefined;
571
- status?: "active" | "pending" | "waapi-qr" | undefined;
572
- channelId?: string | null | undefined;
573
572
  wabaBusinessId?: string | null | undefined;
574
573
  wabaExternalId?: string | null | undefined;
575
574
  phoneNumberId?: string | null | undefined;
575
+ email?: string | null | undefined;
576
576
  clientId?: string | null | undefined;
577
+ channelId?: string | null | undefined;
577
578
  waapiInstanceId?: string | null | undefined;
578
579
  qr?: string | null | undefined;
580
+ status?: "active" | "pending" | "waapi-qr" | undefined;
579
581
  apiKey?: string | undefined;
580
582
  tier?: "basic" | "regular" | "premium" | undefined;
581
583
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
582
584
  } | undefined;
583
- additionalCredentials?: any;
584
- accessToken?: string | undefined;
585
- channelSecret?: string | undefined;
586
- senderId?: string | undefined;
587
585
  vonageCredentials?: {
588
586
  apiKey: string;
589
587
  mobileNumber: string;
@@ -655,7 +653,7 @@ export declare const smsContract: {
655
653
  integrationId: string;
656
654
  } | null;
657
655
  }>;
658
- }>, "strip", z.ZodTypeAny, {
656
+ }, "strip", z.ZodTypeAny, {
659
657
  channel: {
660
658
  name: string;
661
659
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
@@ -663,24 +661,24 @@ export declare const smsContract: {
663
661
  metadata: {
664
662
  name: string;
665
663
  id: string;
664
+ accessToken?: string | undefined;
665
+ channelSecret?: string | undefined;
666
+ additionalCredentials?: any;
667
+ senderId?: string | undefined;
666
668
  whatsapp?: {
667
- email?: string | null | undefined;
668
- status?: "active" | "pending" | "waapi-qr" | undefined;
669
- channelId?: string | null | undefined;
670
669
  wabaBusinessId?: string | null | undefined;
671
670
  wabaExternalId?: string | null | undefined;
672
671
  phoneNumberId?: string | null | undefined;
672
+ email?: string | null | undefined;
673
673
  clientId?: string | null | undefined;
674
+ channelId?: string | null | undefined;
674
675
  waapiInstanceId?: string | null | undefined;
675
676
  qr?: string | null | undefined;
677
+ status?: "active" | "pending" | "waapi-qr" | undefined;
676
678
  apiKey?: string | undefined;
677
679
  tier?: "basic" | "regular" | "premium" | undefined;
678
680
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
679
681
  } | undefined;
680
- additionalCredentials?: any;
681
- accessToken?: string | undefined;
682
- channelSecret?: string | undefined;
683
- senderId?: string | undefined;
684
682
  vonageCredentials?: {
685
683
  apiKey: string;
686
684
  mobileNumber: string;
@@ -761,24 +759,24 @@ export declare const smsContract: {
761
759
  metadata: {
762
760
  name: string;
763
761
  id: string;
762
+ accessToken?: string | undefined;
763
+ channelSecret?: string | undefined;
764
+ additionalCredentials?: any;
765
+ senderId?: string | undefined;
764
766
  whatsapp?: {
765
- email?: string | null | undefined;
766
- status?: "active" | "pending" | "waapi-qr" | undefined;
767
- channelId?: string | null | undefined;
768
767
  wabaBusinessId?: string | null | undefined;
769
768
  wabaExternalId?: string | null | undefined;
770
769
  phoneNumberId?: string | null | undefined;
770
+ email?: string | null | undefined;
771
771
  clientId?: string | null | undefined;
772
+ channelId?: string | null | undefined;
772
773
  waapiInstanceId?: string | null | undefined;
773
774
  qr?: string | null | undefined;
775
+ status?: "active" | "pending" | "waapi-qr" | undefined;
774
776
  apiKey?: string | undefined;
775
777
  tier?: "basic" | "regular" | "premium" | undefined;
776
778
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
777
779
  } | undefined;
778
- additionalCredentials?: any;
779
- accessToken?: string | undefined;
780
- channelSecret?: string | undefined;
781
- senderId?: string | undefined;
782
780
  vonageCredentials?: {
783
781
  apiKey: string;
784
782
  mobileNumber: string;
@@ -873,6 +871,7 @@ export declare const smsContract: {
873
871
  error?: any;
874
872
  }>;
875
873
  };
874
+ path: "/connect";
876
875
  };
877
876
  disconnectSMSChannel: {
878
877
  body: z.ZodObject<{
@@ -883,11 +882,9 @@ export declare const smsContract: {
883
882
  id: string;
884
883
  }>;
885
884
  method: "POST";
886
- path: "/disconnect";
887
885
  responses: {
888
- 200: z.ZodObject<z.objectUtil.extendShape<{
886
+ 200: z.ZodObject<{
889
887
  requestId: z.ZodString;
890
- }, {
891
888
  channel: z.ZodObject<{
892
889
  id: z.ZodString;
893
890
  createdAt: z.ZodDate;
@@ -916,28 +913,28 @@ export declare const smsContract: {
916
913
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
917
914
  integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
918
915
  }, "strip", z.ZodTypeAny, {
919
- email?: string | null | undefined;
920
- status?: "active" | "pending" | "waapi-qr" | undefined;
921
- channelId?: string | null | undefined;
922
916
  wabaBusinessId?: string | null | undefined;
923
917
  wabaExternalId?: string | null | undefined;
924
918
  phoneNumberId?: string | null | undefined;
919
+ email?: string | null | undefined;
925
920
  clientId?: string | null | undefined;
921
+ channelId?: string | null | undefined;
926
922
  waapiInstanceId?: string | null | undefined;
927
923
  qr?: string | null | undefined;
924
+ status?: "active" | "pending" | "waapi-qr" | undefined;
928
925
  apiKey?: string | undefined;
929
926
  tier?: "basic" | "regular" | "premium" | undefined;
930
927
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
931
928
  }, {
932
- email?: string | null | undefined;
933
- status?: "active" | "pending" | "waapi-qr" | undefined;
934
- channelId?: string | null | undefined;
935
929
  wabaBusinessId?: string | null | undefined;
936
930
  wabaExternalId?: string | null | undefined;
937
931
  phoneNumberId?: string | null | undefined;
932
+ email?: string | null | undefined;
938
933
  clientId?: string | null | undefined;
934
+ channelId?: string | null | undefined;
939
935
  waapiInstanceId?: string | null | undefined;
940
936
  qr?: string | null | undefined;
937
+ status?: "active" | "pending" | "waapi-qr" | undefined;
941
938
  apiKey?: string | undefined;
942
939
  tier?: "basic" | "regular" | "premium" | undefined;
943
940
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
@@ -962,24 +959,24 @@ export declare const smsContract: {
962
959
  }, "strip", z.ZodTypeAny, {
963
960
  name: string;
964
961
  id: string;
962
+ accessToken?: string | undefined;
963
+ channelSecret?: string | undefined;
964
+ additionalCredentials?: any;
965
+ senderId?: string | undefined;
965
966
  whatsapp?: {
966
- email?: string | null | undefined;
967
- status?: "active" | "pending" | "waapi-qr" | undefined;
968
- channelId?: string | null | undefined;
969
967
  wabaBusinessId?: string | null | undefined;
970
968
  wabaExternalId?: string | null | undefined;
971
969
  phoneNumberId?: string | null | undefined;
970
+ email?: string | null | undefined;
972
971
  clientId?: string | null | undefined;
972
+ channelId?: string | null | undefined;
973
973
  waapiInstanceId?: string | null | undefined;
974
974
  qr?: string | null | undefined;
975
+ status?: "active" | "pending" | "waapi-qr" | undefined;
975
976
  apiKey?: string | undefined;
976
977
  tier?: "basic" | "regular" | "premium" | undefined;
977
978
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
978
979
  } | undefined;
979
- additionalCredentials?: any;
980
- accessToken?: string | undefined;
981
- channelSecret?: string | undefined;
982
- senderId?: string | undefined;
983
980
  vonageCredentials?: {
984
981
  apiKey: string;
985
982
  mobileNumber: string;
@@ -992,24 +989,24 @@ export declare const smsContract: {
992
989
  }, {
993
990
  name: string;
994
991
  id: string;
992
+ accessToken?: string | undefined;
993
+ channelSecret?: string | undefined;
994
+ additionalCredentials?: any;
995
+ senderId?: string | undefined;
995
996
  whatsapp?: {
996
- email?: string | null | undefined;
997
- status?: "active" | "pending" | "waapi-qr" | undefined;
998
- channelId?: string | null | undefined;
999
997
  wabaBusinessId?: string | null | undefined;
1000
998
  wabaExternalId?: string | null | undefined;
1001
999
  phoneNumberId?: string | null | undefined;
1000
+ email?: string | null | undefined;
1002
1001
  clientId?: string | null | undefined;
1002
+ channelId?: string | null | undefined;
1003
1003
  waapiInstanceId?: string | null | undefined;
1004
1004
  qr?: string | null | undefined;
1005
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1005
1006
  apiKey?: string | undefined;
1006
1007
  tier?: "basic" | "regular" | "premium" | undefined;
1007
1008
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1008
1009
  } | undefined;
1009
- additionalCredentials?: any;
1010
- accessToken?: string | undefined;
1011
- channelSecret?: string | undefined;
1012
- senderId?: string | undefined;
1013
1010
  vonageCredentials?: {
1014
1011
  apiKey: string;
1015
1012
  mobileNumber: string;
@@ -1256,24 +1253,24 @@ export declare const smsContract: {
1256
1253
  metadata: {
1257
1254
  name: string;
1258
1255
  id: string;
1256
+ accessToken?: string | undefined;
1257
+ channelSecret?: string | undefined;
1258
+ additionalCredentials?: any;
1259
+ senderId?: string | undefined;
1259
1260
  whatsapp?: {
1260
- email?: string | null | undefined;
1261
- status?: "active" | "pending" | "waapi-qr" | undefined;
1262
- channelId?: string | null | undefined;
1263
1261
  wabaBusinessId?: string | null | undefined;
1264
1262
  wabaExternalId?: string | null | undefined;
1265
1263
  phoneNumberId?: string | null | undefined;
1264
+ email?: string | null | undefined;
1266
1265
  clientId?: string | null | undefined;
1266
+ channelId?: string | null | undefined;
1267
1267
  waapiInstanceId?: string | null | undefined;
1268
1268
  qr?: string | null | undefined;
1269
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1269
1270
  apiKey?: string | undefined;
1270
1271
  tier?: "basic" | "regular" | "premium" | undefined;
1271
1272
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1272
1273
  } | undefined;
1273
- additionalCredentials?: any;
1274
- accessToken?: string | undefined;
1275
- channelSecret?: string | undefined;
1276
- senderId?: string | undefined;
1277
1274
  vonageCredentials?: {
1278
1275
  apiKey: string;
1279
1276
  mobileNumber: string;
@@ -1351,24 +1348,24 @@ export declare const smsContract: {
1351
1348
  metadata: {
1352
1349
  name: string;
1353
1350
  id: string;
1351
+ accessToken?: string | undefined;
1352
+ channelSecret?: string | undefined;
1353
+ additionalCredentials?: any;
1354
+ senderId?: string | undefined;
1354
1355
  whatsapp?: {
1355
- email?: string | null | undefined;
1356
- status?: "active" | "pending" | "waapi-qr" | undefined;
1357
- channelId?: string | null | undefined;
1358
1356
  wabaBusinessId?: string | null | undefined;
1359
1357
  wabaExternalId?: string | null | undefined;
1360
1358
  phoneNumberId?: string | null | undefined;
1359
+ email?: string | null | undefined;
1361
1360
  clientId?: string | null | undefined;
1361
+ channelId?: string | null | undefined;
1362
1362
  waapiInstanceId?: string | null | undefined;
1363
1363
  qr?: string | null | undefined;
1364
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1364
1365
  apiKey?: string | undefined;
1365
1366
  tier?: "basic" | "regular" | "premium" | undefined;
1366
1367
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1367
1368
  } | undefined;
1368
- additionalCredentials?: any;
1369
- accessToken?: string | undefined;
1370
- channelSecret?: string | undefined;
1371
- senderId?: string | undefined;
1372
1369
  vonageCredentials?: {
1373
1370
  apiKey: string;
1374
1371
  mobileNumber: string;
@@ -1440,7 +1437,7 @@ export declare const smsContract: {
1440
1437
  integrationId: string;
1441
1438
  } | null;
1442
1439
  }>;
1443
- }>, "strip", z.ZodTypeAny, {
1440
+ }, "strip", z.ZodTypeAny, {
1444
1441
  channel: {
1445
1442
  name: string;
1446
1443
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
@@ -1448,24 +1445,24 @@ export declare const smsContract: {
1448
1445
  metadata: {
1449
1446
  name: string;
1450
1447
  id: string;
1448
+ accessToken?: string | undefined;
1449
+ channelSecret?: string | undefined;
1450
+ additionalCredentials?: any;
1451
+ senderId?: string | undefined;
1451
1452
  whatsapp?: {
1452
- email?: string | null | undefined;
1453
- status?: "active" | "pending" | "waapi-qr" | undefined;
1454
- channelId?: string | null | undefined;
1455
1453
  wabaBusinessId?: string | null | undefined;
1456
1454
  wabaExternalId?: string | null | undefined;
1457
1455
  phoneNumberId?: string | null | undefined;
1456
+ email?: string | null | undefined;
1458
1457
  clientId?: string | null | undefined;
1458
+ channelId?: string | null | undefined;
1459
1459
  waapiInstanceId?: string | null | undefined;
1460
1460
  qr?: string | null | undefined;
1461
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1461
1462
  apiKey?: string | undefined;
1462
1463
  tier?: "basic" | "regular" | "premium" | undefined;
1463
1464
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1464
1465
  } | undefined;
1465
- additionalCredentials?: any;
1466
- accessToken?: string | undefined;
1467
- channelSecret?: string | undefined;
1468
- senderId?: string | undefined;
1469
1466
  vonageCredentials?: {
1470
1467
  apiKey: string;
1471
1468
  mobileNumber: string;
@@ -1546,24 +1543,24 @@ export declare const smsContract: {
1546
1543
  metadata: {
1547
1544
  name: string;
1548
1545
  id: string;
1546
+ accessToken?: string | undefined;
1547
+ channelSecret?: string | undefined;
1548
+ additionalCredentials?: any;
1549
+ senderId?: string | undefined;
1549
1550
  whatsapp?: {
1550
- email?: string | null | undefined;
1551
- status?: "active" | "pending" | "waapi-qr" | undefined;
1552
- channelId?: string | null | undefined;
1553
1551
  wabaBusinessId?: string | null | undefined;
1554
1552
  wabaExternalId?: string | null | undefined;
1555
1553
  phoneNumberId?: string | null | undefined;
1554
+ email?: string | null | undefined;
1556
1555
  clientId?: string | null | undefined;
1556
+ channelId?: string | null | undefined;
1557
1557
  waapiInstanceId?: string | null | undefined;
1558
1558
  qr?: string | null | undefined;
1559
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1559
1560
  apiKey?: string | undefined;
1560
1561
  tier?: "basic" | "regular" | "premium" | undefined;
1561
1562
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1562
1563
  } | undefined;
1563
- additionalCredentials?: any;
1564
- accessToken?: string | undefined;
1565
- channelSecret?: string | undefined;
1566
- senderId?: string | undefined;
1567
1564
  vonageCredentials?: {
1568
1565
  apiKey: string;
1569
1566
  mobileNumber: string;
@@ -1658,6 +1655,7 @@ export declare const smsContract: {
1658
1655
  error?: any;
1659
1656
  }>;
1660
1657
  };
1658
+ path: "/disconnect";
1661
1659
  };
1662
1660
  reconnectSMSChannel: {
1663
1661
  body: null;
@@ -1669,11 +1667,9 @@ export declare const smsContract: {
1669
1667
  }, {
1670
1668
  channelId: string;
1671
1669
  }>;
1672
- path: "/reconnect/:channelId";
1673
1670
  responses: {
1674
- 200: z.ZodObject<z.objectUtil.extendShape<{
1671
+ 200: z.ZodObject<{
1675
1672
  requestId: z.ZodString;
1676
- }, {
1677
1673
  channel: z.ZodObject<{
1678
1674
  id: z.ZodString;
1679
1675
  createdAt: z.ZodDate;
@@ -1702,28 +1698,28 @@ export declare const smsContract: {
1702
1698
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1703
1699
  integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
1704
1700
  }, "strip", z.ZodTypeAny, {
1705
- email?: string | null | undefined;
1706
- status?: "active" | "pending" | "waapi-qr" | undefined;
1707
- channelId?: string | null | undefined;
1708
1701
  wabaBusinessId?: string | null | undefined;
1709
1702
  wabaExternalId?: string | null | undefined;
1710
1703
  phoneNumberId?: string | null | undefined;
1704
+ email?: string | null | undefined;
1711
1705
  clientId?: string | null | undefined;
1706
+ channelId?: string | null | undefined;
1712
1707
  waapiInstanceId?: string | null | undefined;
1713
1708
  qr?: string | null | undefined;
1709
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1714
1710
  apiKey?: string | undefined;
1715
1711
  tier?: "basic" | "regular" | "premium" | undefined;
1716
1712
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1717
1713
  }, {
1718
- email?: string | null | undefined;
1719
- status?: "active" | "pending" | "waapi-qr" | undefined;
1720
- channelId?: string | null | undefined;
1721
1714
  wabaBusinessId?: string | null | undefined;
1722
1715
  wabaExternalId?: string | null | undefined;
1723
1716
  phoneNumberId?: string | null | undefined;
1717
+ email?: string | null | undefined;
1724
1718
  clientId?: string | null | undefined;
1719
+ channelId?: string | null | undefined;
1725
1720
  waapiInstanceId?: string | null | undefined;
1726
1721
  qr?: string | null | undefined;
1722
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1727
1723
  apiKey?: string | undefined;
1728
1724
  tier?: "basic" | "regular" | "premium" | undefined;
1729
1725
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
@@ -1748,24 +1744,24 @@ export declare const smsContract: {
1748
1744
  }, "strip", z.ZodTypeAny, {
1749
1745
  name: string;
1750
1746
  id: string;
1747
+ accessToken?: string | undefined;
1748
+ channelSecret?: string | undefined;
1749
+ additionalCredentials?: any;
1750
+ senderId?: string | undefined;
1751
1751
  whatsapp?: {
1752
- email?: string | null | undefined;
1753
- status?: "active" | "pending" | "waapi-qr" | undefined;
1754
- channelId?: string | null | undefined;
1755
1752
  wabaBusinessId?: string | null | undefined;
1756
1753
  wabaExternalId?: string | null | undefined;
1757
1754
  phoneNumberId?: string | null | undefined;
1755
+ email?: string | null | undefined;
1758
1756
  clientId?: string | null | undefined;
1757
+ channelId?: string | null | undefined;
1759
1758
  waapiInstanceId?: string | null | undefined;
1760
1759
  qr?: string | null | undefined;
1760
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1761
1761
  apiKey?: string | undefined;
1762
1762
  tier?: "basic" | "regular" | "premium" | undefined;
1763
1763
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1764
1764
  } | undefined;
1765
- additionalCredentials?: any;
1766
- accessToken?: string | undefined;
1767
- channelSecret?: string | undefined;
1768
- senderId?: string | undefined;
1769
1765
  vonageCredentials?: {
1770
1766
  apiKey: string;
1771
1767
  mobileNumber: string;
@@ -1778,24 +1774,24 @@ export declare const smsContract: {
1778
1774
  }, {
1779
1775
  name: string;
1780
1776
  id: string;
1777
+ accessToken?: string | undefined;
1778
+ channelSecret?: string | undefined;
1779
+ additionalCredentials?: any;
1780
+ senderId?: string | undefined;
1781
1781
  whatsapp?: {
1782
- email?: string | null | undefined;
1783
- status?: "active" | "pending" | "waapi-qr" | undefined;
1784
- channelId?: string | null | undefined;
1785
1782
  wabaBusinessId?: string | null | undefined;
1786
1783
  wabaExternalId?: string | null | undefined;
1787
1784
  phoneNumberId?: string | null | undefined;
1785
+ email?: string | null | undefined;
1788
1786
  clientId?: string | null | undefined;
1787
+ channelId?: string | null | undefined;
1789
1788
  waapiInstanceId?: string | null | undefined;
1790
1789
  qr?: string | null | undefined;
1790
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1791
1791
  apiKey?: string | undefined;
1792
1792
  tier?: "basic" | "regular" | "premium" | undefined;
1793
1793
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1794
1794
  } | undefined;
1795
- additionalCredentials?: any;
1796
- accessToken?: string | undefined;
1797
- channelSecret?: string | undefined;
1798
- senderId?: string | undefined;
1799
1795
  vonageCredentials?: {
1800
1796
  apiKey: string;
1801
1797
  mobileNumber: string;
@@ -2042,24 +2038,24 @@ export declare const smsContract: {
2042
2038
  metadata: {
2043
2039
  name: string;
2044
2040
  id: string;
2041
+ accessToken?: string | undefined;
2042
+ channelSecret?: string | undefined;
2043
+ additionalCredentials?: any;
2044
+ senderId?: string | undefined;
2045
2045
  whatsapp?: {
2046
- email?: string | null | undefined;
2047
- status?: "active" | "pending" | "waapi-qr" | undefined;
2048
- channelId?: string | null | undefined;
2049
2046
  wabaBusinessId?: string | null | undefined;
2050
2047
  wabaExternalId?: string | null | undefined;
2051
2048
  phoneNumberId?: string | null | undefined;
2049
+ email?: string | null | undefined;
2052
2050
  clientId?: string | null | undefined;
2051
+ channelId?: string | null | undefined;
2053
2052
  waapiInstanceId?: string | null | undefined;
2054
2053
  qr?: string | null | undefined;
2054
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2055
2055
  apiKey?: string | undefined;
2056
2056
  tier?: "basic" | "regular" | "premium" | undefined;
2057
2057
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2058
2058
  } | undefined;
2059
- additionalCredentials?: any;
2060
- accessToken?: string | undefined;
2061
- channelSecret?: string | undefined;
2062
- senderId?: string | undefined;
2063
2059
  vonageCredentials?: {
2064
2060
  apiKey: string;
2065
2061
  mobileNumber: string;
@@ -2137,24 +2133,24 @@ export declare const smsContract: {
2137
2133
  metadata: {
2138
2134
  name: string;
2139
2135
  id: string;
2136
+ accessToken?: string | undefined;
2137
+ channelSecret?: string | undefined;
2138
+ additionalCredentials?: any;
2139
+ senderId?: string | undefined;
2140
2140
  whatsapp?: {
2141
- email?: string | null | undefined;
2142
- status?: "active" | "pending" | "waapi-qr" | undefined;
2143
- channelId?: string | null | undefined;
2144
2141
  wabaBusinessId?: string | null | undefined;
2145
2142
  wabaExternalId?: string | null | undefined;
2146
2143
  phoneNumberId?: string | null | undefined;
2144
+ email?: string | null | undefined;
2147
2145
  clientId?: string | null | undefined;
2146
+ channelId?: string | null | undefined;
2148
2147
  waapiInstanceId?: string | null | undefined;
2149
2148
  qr?: string | null | undefined;
2149
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2150
2150
  apiKey?: string | undefined;
2151
2151
  tier?: "basic" | "regular" | "premium" | undefined;
2152
2152
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2153
2153
  } | undefined;
2154
- additionalCredentials?: any;
2155
- accessToken?: string | undefined;
2156
- channelSecret?: string | undefined;
2157
- senderId?: string | undefined;
2158
2154
  vonageCredentials?: {
2159
2155
  apiKey: string;
2160
2156
  mobileNumber: string;
@@ -2226,7 +2222,7 @@ export declare const smsContract: {
2226
2222
  integrationId: string;
2227
2223
  } | null;
2228
2224
  }>;
2229
- }>, "strip", z.ZodTypeAny, {
2225
+ }, "strip", z.ZodTypeAny, {
2230
2226
  channel: {
2231
2227
  name: string;
2232
2228
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
@@ -2234,24 +2230,24 @@ export declare const smsContract: {
2234
2230
  metadata: {
2235
2231
  name: string;
2236
2232
  id: string;
2233
+ accessToken?: string | undefined;
2234
+ channelSecret?: string | undefined;
2235
+ additionalCredentials?: any;
2236
+ senderId?: string | undefined;
2237
2237
  whatsapp?: {
2238
- email?: string | null | undefined;
2239
- status?: "active" | "pending" | "waapi-qr" | undefined;
2240
- channelId?: string | null | undefined;
2241
2238
  wabaBusinessId?: string | null | undefined;
2242
2239
  wabaExternalId?: string | null | undefined;
2243
2240
  phoneNumberId?: string | null | undefined;
2241
+ email?: string | null | undefined;
2244
2242
  clientId?: string | null | undefined;
2243
+ channelId?: string | null | undefined;
2245
2244
  waapiInstanceId?: string | null | undefined;
2246
2245
  qr?: string | null | undefined;
2246
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2247
2247
  apiKey?: string | undefined;
2248
2248
  tier?: "basic" | "regular" | "premium" | undefined;
2249
2249
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2250
2250
  } | undefined;
2251
- additionalCredentials?: any;
2252
- accessToken?: string | undefined;
2253
- channelSecret?: string | undefined;
2254
- senderId?: string | undefined;
2255
2251
  vonageCredentials?: {
2256
2252
  apiKey: string;
2257
2253
  mobileNumber: string;
@@ -2332,24 +2328,24 @@ export declare const smsContract: {
2332
2328
  metadata: {
2333
2329
  name: string;
2334
2330
  id: string;
2331
+ accessToken?: string | undefined;
2332
+ channelSecret?: string | undefined;
2333
+ additionalCredentials?: any;
2334
+ senderId?: string | undefined;
2335
2335
  whatsapp?: {
2336
- email?: string | null | undefined;
2337
- status?: "active" | "pending" | "waapi-qr" | undefined;
2338
- channelId?: string | null | undefined;
2339
2336
  wabaBusinessId?: string | null | undefined;
2340
2337
  wabaExternalId?: string | null | undefined;
2341
2338
  phoneNumberId?: string | null | undefined;
2339
+ email?: string | null | undefined;
2342
2340
  clientId?: string | null | undefined;
2341
+ channelId?: string | null | undefined;
2343
2342
  waapiInstanceId?: string | null | undefined;
2344
2343
  qr?: string | null | undefined;
2344
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2345
2345
  apiKey?: string | undefined;
2346
2346
  tier?: "basic" | "regular" | "premium" | undefined;
2347
2347
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2348
2348
  } | undefined;
2349
- additionalCredentials?: any;
2350
- accessToken?: string | undefined;
2351
- channelSecret?: string | undefined;
2352
- senderId?: string | undefined;
2353
2349
  vonageCredentials?: {
2354
2350
  apiKey: string;
2355
2351
  mobileNumber: string;
@@ -2444,6 +2440,7 @@ export declare const smsContract: {
2444
2440
  error?: any;
2445
2441
  }>;
2446
2442
  };
2443
+ path: "/reconnect/:channelId";
2447
2444
  };
2448
2445
  deleteSMSChannel: {
2449
2446
  body: null;
@@ -2455,11 +2452,9 @@ export declare const smsContract: {
2455
2452
  }, {
2456
2453
  channelId: string;
2457
2454
  }>;
2458
- path: "/delete/:channelId";
2459
2455
  responses: {
2460
- 200: z.ZodObject<z.objectUtil.extendShape<{
2456
+ 200: z.ZodObject<{
2461
2457
  requestId: z.ZodString;
2462
- }, {
2463
2458
  channel: z.ZodObject<{
2464
2459
  id: z.ZodString;
2465
2460
  createdAt: z.ZodDate;
@@ -2488,28 +2483,28 @@ export declare const smsContract: {
2488
2483
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2489
2484
  integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
2490
2485
  }, "strip", z.ZodTypeAny, {
2491
- email?: string | null | undefined;
2492
- status?: "active" | "pending" | "waapi-qr" | undefined;
2493
- channelId?: string | null | undefined;
2494
2486
  wabaBusinessId?: string | null | undefined;
2495
2487
  wabaExternalId?: string | null | undefined;
2496
2488
  phoneNumberId?: string | null | undefined;
2489
+ email?: string | null | undefined;
2497
2490
  clientId?: string | null | undefined;
2491
+ channelId?: string | null | undefined;
2498
2492
  waapiInstanceId?: string | null | undefined;
2499
2493
  qr?: string | null | undefined;
2494
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2500
2495
  apiKey?: string | undefined;
2501
2496
  tier?: "basic" | "regular" | "premium" | undefined;
2502
2497
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2503
2498
  }, {
2504
- email?: string | null | undefined;
2505
- status?: "active" | "pending" | "waapi-qr" | undefined;
2506
- channelId?: string | null | undefined;
2507
2499
  wabaBusinessId?: string | null | undefined;
2508
2500
  wabaExternalId?: string | null | undefined;
2509
2501
  phoneNumberId?: string | null | undefined;
2502
+ email?: string | null | undefined;
2510
2503
  clientId?: string | null | undefined;
2504
+ channelId?: string | null | undefined;
2511
2505
  waapiInstanceId?: string | null | undefined;
2512
2506
  qr?: string | null | undefined;
2507
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2513
2508
  apiKey?: string | undefined;
2514
2509
  tier?: "basic" | "regular" | "premium" | undefined;
2515
2510
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
@@ -2534,24 +2529,24 @@ export declare const smsContract: {
2534
2529
  }, "strip", z.ZodTypeAny, {
2535
2530
  name: string;
2536
2531
  id: string;
2532
+ accessToken?: string | undefined;
2533
+ channelSecret?: string | undefined;
2534
+ additionalCredentials?: any;
2535
+ senderId?: string | undefined;
2537
2536
  whatsapp?: {
2538
- email?: string | null | undefined;
2539
- status?: "active" | "pending" | "waapi-qr" | undefined;
2540
- channelId?: string | null | undefined;
2541
2537
  wabaBusinessId?: string | null | undefined;
2542
2538
  wabaExternalId?: string | null | undefined;
2543
2539
  phoneNumberId?: string | null | undefined;
2540
+ email?: string | null | undefined;
2544
2541
  clientId?: string | null | undefined;
2542
+ channelId?: string | null | undefined;
2545
2543
  waapiInstanceId?: string | null | undefined;
2546
2544
  qr?: string | null | undefined;
2545
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2547
2546
  apiKey?: string | undefined;
2548
2547
  tier?: "basic" | "regular" | "premium" | undefined;
2549
2548
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2550
2549
  } | undefined;
2551
- additionalCredentials?: any;
2552
- accessToken?: string | undefined;
2553
- channelSecret?: string | undefined;
2554
- senderId?: string | undefined;
2555
2550
  vonageCredentials?: {
2556
2551
  apiKey: string;
2557
2552
  mobileNumber: string;
@@ -2564,24 +2559,24 @@ export declare const smsContract: {
2564
2559
  }, {
2565
2560
  name: string;
2566
2561
  id: string;
2562
+ accessToken?: string | undefined;
2563
+ channelSecret?: string | undefined;
2564
+ additionalCredentials?: any;
2565
+ senderId?: string | undefined;
2567
2566
  whatsapp?: {
2568
- email?: string | null | undefined;
2569
- status?: "active" | "pending" | "waapi-qr" | undefined;
2570
- channelId?: string | null | undefined;
2571
2567
  wabaBusinessId?: string | null | undefined;
2572
2568
  wabaExternalId?: string | null | undefined;
2573
2569
  phoneNumberId?: string | null | undefined;
2570
+ email?: string | null | undefined;
2574
2571
  clientId?: string | null | undefined;
2572
+ channelId?: string | null | undefined;
2575
2573
  waapiInstanceId?: string | null | undefined;
2576
2574
  qr?: string | null | undefined;
2575
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2577
2576
  apiKey?: string | undefined;
2578
2577
  tier?: "basic" | "regular" | "premium" | undefined;
2579
2578
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2580
2579
  } | undefined;
2581
- additionalCredentials?: any;
2582
- accessToken?: string | undefined;
2583
- channelSecret?: string | undefined;
2584
- senderId?: string | undefined;
2585
2580
  vonageCredentials?: {
2586
2581
  apiKey: string;
2587
2582
  mobileNumber: string;
@@ -2828,24 +2823,24 @@ export declare const smsContract: {
2828
2823
  metadata: {
2829
2824
  name: string;
2830
2825
  id: string;
2826
+ accessToken?: string | undefined;
2827
+ channelSecret?: string | undefined;
2828
+ additionalCredentials?: any;
2829
+ senderId?: string | undefined;
2831
2830
  whatsapp?: {
2832
- email?: string | null | undefined;
2833
- status?: "active" | "pending" | "waapi-qr" | undefined;
2834
- channelId?: string | null | undefined;
2835
2831
  wabaBusinessId?: string | null | undefined;
2836
2832
  wabaExternalId?: string | null | undefined;
2837
2833
  phoneNumberId?: string | null | undefined;
2834
+ email?: string | null | undefined;
2838
2835
  clientId?: string | null | undefined;
2836
+ channelId?: string | null | undefined;
2839
2837
  waapiInstanceId?: string | null | undefined;
2840
2838
  qr?: string | null | undefined;
2839
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2841
2840
  apiKey?: string | undefined;
2842
2841
  tier?: "basic" | "regular" | "premium" | undefined;
2843
2842
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2844
2843
  } | undefined;
2845
- additionalCredentials?: any;
2846
- accessToken?: string | undefined;
2847
- channelSecret?: string | undefined;
2848
- senderId?: string | undefined;
2849
2844
  vonageCredentials?: {
2850
2845
  apiKey: string;
2851
2846
  mobileNumber: string;
@@ -2923,24 +2918,24 @@ export declare const smsContract: {
2923
2918
  metadata: {
2924
2919
  name: string;
2925
2920
  id: string;
2921
+ accessToken?: string | undefined;
2922
+ channelSecret?: string | undefined;
2923
+ additionalCredentials?: any;
2924
+ senderId?: string | undefined;
2926
2925
  whatsapp?: {
2927
- email?: string | null | undefined;
2928
- status?: "active" | "pending" | "waapi-qr" | undefined;
2929
- channelId?: string | null | undefined;
2930
2926
  wabaBusinessId?: string | null | undefined;
2931
2927
  wabaExternalId?: string | null | undefined;
2932
2928
  phoneNumberId?: string | null | undefined;
2929
+ email?: string | null | undefined;
2933
2930
  clientId?: string | null | undefined;
2931
+ channelId?: string | null | undefined;
2934
2932
  waapiInstanceId?: string | null | undefined;
2935
2933
  qr?: string | null | undefined;
2934
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2936
2935
  apiKey?: string | undefined;
2937
2936
  tier?: "basic" | "regular" | "premium" | undefined;
2938
2937
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2939
2938
  } | undefined;
2940
- additionalCredentials?: any;
2941
- accessToken?: string | undefined;
2942
- channelSecret?: string | undefined;
2943
- senderId?: string | undefined;
2944
2939
  vonageCredentials?: {
2945
2940
  apiKey: string;
2946
2941
  mobileNumber: string;
@@ -3012,7 +3007,7 @@ export declare const smsContract: {
3012
3007
  integrationId: string;
3013
3008
  } | null;
3014
3009
  }>;
3015
- }>, "strip", z.ZodTypeAny, {
3010
+ }, "strip", z.ZodTypeAny, {
3016
3011
  channel: {
3017
3012
  name: string;
3018
3013
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
@@ -3020,24 +3015,24 @@ export declare const smsContract: {
3020
3015
  metadata: {
3021
3016
  name: string;
3022
3017
  id: string;
3018
+ accessToken?: string | undefined;
3019
+ channelSecret?: string | undefined;
3020
+ additionalCredentials?: any;
3021
+ senderId?: string | undefined;
3023
3022
  whatsapp?: {
3024
- email?: string | null | undefined;
3025
- status?: "active" | "pending" | "waapi-qr" | undefined;
3026
- channelId?: string | null | undefined;
3027
3023
  wabaBusinessId?: string | null | undefined;
3028
3024
  wabaExternalId?: string | null | undefined;
3029
3025
  phoneNumberId?: string | null | undefined;
3026
+ email?: string | null | undefined;
3030
3027
  clientId?: string | null | undefined;
3028
+ channelId?: string | null | undefined;
3031
3029
  waapiInstanceId?: string | null | undefined;
3032
3030
  qr?: string | null | undefined;
3031
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3033
3032
  apiKey?: string | undefined;
3034
3033
  tier?: "basic" | "regular" | "premium" | undefined;
3035
3034
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3036
3035
  } | undefined;
3037
- additionalCredentials?: any;
3038
- accessToken?: string | undefined;
3039
- channelSecret?: string | undefined;
3040
- senderId?: string | undefined;
3041
3036
  vonageCredentials?: {
3042
3037
  apiKey: string;
3043
3038
  mobileNumber: string;
@@ -3118,24 +3113,24 @@ export declare const smsContract: {
3118
3113
  metadata: {
3119
3114
  name: string;
3120
3115
  id: string;
3116
+ accessToken?: string | undefined;
3117
+ channelSecret?: string | undefined;
3118
+ additionalCredentials?: any;
3119
+ senderId?: string | undefined;
3121
3120
  whatsapp?: {
3122
- email?: string | null | undefined;
3123
- status?: "active" | "pending" | "waapi-qr" | undefined;
3124
- channelId?: string | null | undefined;
3125
3121
  wabaBusinessId?: string | null | undefined;
3126
3122
  wabaExternalId?: string | null | undefined;
3127
3123
  phoneNumberId?: string | null | undefined;
3124
+ email?: string | null | undefined;
3128
3125
  clientId?: string | null | undefined;
3126
+ channelId?: string | null | undefined;
3129
3127
  waapiInstanceId?: string | null | undefined;
3130
3128
  qr?: string | null | undefined;
3129
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3131
3130
  apiKey?: string | undefined;
3132
3131
  tier?: "basic" | "regular" | "premium" | undefined;
3133
3132
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3134
3133
  } | undefined;
3135
- additionalCredentials?: any;
3136
- accessToken?: string | undefined;
3137
- channelSecret?: string | undefined;
3138
- senderId?: string | undefined;
3139
3134
  vonageCredentials?: {
3140
3135
  apiKey: string;
3141
3136
  mobileNumber: string;
@@ -3230,6 +3225,7 @@ export declare const smsContract: {
3230
3225
  error?: any;
3231
3226
  }>;
3232
3227
  };
3228
+ path: "/delete/:channelId";
3233
3229
  };
3234
3230
  sendMessage: {
3235
3231
  body: z.ZodObject<{
@@ -3239,7 +3235,7 @@ export declare const smsContract: {
3239
3235
  lastMessage: z.ZodOptional<z.ZodString>;
3240
3236
  handleTime: z.ZodOptional<z.ZodNumber>;
3241
3237
  isLatest: z.ZodBoolean;
3242
- direction: z.ZodEnum<[string, ...string[]]>;
3238
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
3243
3239
  metadata: z.ZodOptional<z.ZodAny>;
3244
3240
  createdAt: z.ZodString;
3245
3241
  updatedAt: z.ZodString;
@@ -3382,28 +3378,28 @@ export declare const smsContract: {
3382
3378
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
3383
3379
  integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
3384
3380
  }, "strip", z.ZodTypeAny, {
3385
- email?: string | null | undefined;
3386
- status?: "active" | "pending" | "waapi-qr" | undefined;
3387
- channelId?: string | null | undefined;
3388
3381
  wabaBusinessId?: string | null | undefined;
3389
3382
  wabaExternalId?: string | null | undefined;
3390
3383
  phoneNumberId?: string | null | undefined;
3384
+ email?: string | null | undefined;
3391
3385
  clientId?: string | null | undefined;
3386
+ channelId?: string | null | undefined;
3392
3387
  waapiInstanceId?: string | null | undefined;
3393
3388
  qr?: string | null | undefined;
3389
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3394
3390
  apiKey?: string | undefined;
3395
3391
  tier?: "basic" | "regular" | "premium" | undefined;
3396
3392
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3397
3393
  }, {
3398
- email?: string | null | undefined;
3399
- status?: "active" | "pending" | "waapi-qr" | undefined;
3400
- channelId?: string | null | undefined;
3401
3394
  wabaBusinessId?: string | null | undefined;
3402
3395
  wabaExternalId?: string | null | undefined;
3403
3396
  phoneNumberId?: string | null | undefined;
3397
+ email?: string | null | undefined;
3404
3398
  clientId?: string | null | undefined;
3399
+ channelId?: string | null | undefined;
3405
3400
  waapiInstanceId?: string | null | undefined;
3406
3401
  qr?: string | null | undefined;
3402
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3407
3403
  apiKey?: string | undefined;
3408
3404
  tier?: "basic" | "regular" | "premium" | undefined;
3409
3405
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
@@ -3428,24 +3424,24 @@ export declare const smsContract: {
3428
3424
  }, "strip", z.ZodTypeAny, {
3429
3425
  name: string;
3430
3426
  id: string;
3427
+ accessToken?: string | undefined;
3428
+ channelSecret?: string | undefined;
3429
+ additionalCredentials?: any;
3430
+ senderId?: string | undefined;
3431
3431
  whatsapp?: {
3432
- email?: string | null | undefined;
3433
- status?: "active" | "pending" | "waapi-qr" | undefined;
3434
- channelId?: string | null | undefined;
3435
3432
  wabaBusinessId?: string | null | undefined;
3436
3433
  wabaExternalId?: string | null | undefined;
3437
3434
  phoneNumberId?: string | null | undefined;
3435
+ email?: string | null | undefined;
3438
3436
  clientId?: string | null | undefined;
3437
+ channelId?: string | null | undefined;
3439
3438
  waapiInstanceId?: string | null | undefined;
3440
3439
  qr?: string | null | undefined;
3440
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3441
3441
  apiKey?: string | undefined;
3442
3442
  tier?: "basic" | "regular" | "premium" | undefined;
3443
3443
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3444
3444
  } | undefined;
3445
- additionalCredentials?: any;
3446
- accessToken?: string | undefined;
3447
- channelSecret?: string | undefined;
3448
- senderId?: string | undefined;
3449
3445
  vonageCredentials?: {
3450
3446
  apiKey: string;
3451
3447
  mobileNumber: string;
@@ -3458,24 +3454,24 @@ export declare const smsContract: {
3458
3454
  }, {
3459
3455
  name: string;
3460
3456
  id: string;
3457
+ accessToken?: string | undefined;
3458
+ channelSecret?: string | undefined;
3459
+ additionalCredentials?: any;
3460
+ senderId?: string | undefined;
3461
3461
  whatsapp?: {
3462
- email?: string | null | undefined;
3463
- status?: "active" | "pending" | "waapi-qr" | undefined;
3464
- channelId?: string | null | undefined;
3465
3462
  wabaBusinessId?: string | null | undefined;
3466
3463
  wabaExternalId?: string | null | undefined;
3467
3464
  phoneNumberId?: string | null | undefined;
3465
+ email?: string | null | undefined;
3468
3466
  clientId?: string | null | undefined;
3467
+ channelId?: string | null | undefined;
3469
3468
  waapiInstanceId?: string | null | undefined;
3470
3469
  qr?: string | null | undefined;
3470
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3471
3471
  apiKey?: string | undefined;
3472
3472
  tier?: "basic" | "regular" | "premium" | undefined;
3473
3473
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3474
3474
  } | undefined;
3475
- additionalCredentials?: any;
3476
- accessToken?: string | undefined;
3477
- channelSecret?: string | undefined;
3478
- senderId?: string | undefined;
3479
3475
  vonageCredentials?: {
3480
3476
  apiKey: string;
3481
3477
  mobileNumber: string;
@@ -3518,24 +3514,24 @@ export declare const smsContract: {
3518
3514
  metadata: {
3519
3515
  name: string;
3520
3516
  id: string;
3517
+ accessToken?: string | undefined;
3518
+ channelSecret?: string | undefined;
3519
+ additionalCredentials?: any;
3520
+ senderId?: string | undefined;
3521
3521
  whatsapp?: {
3522
- email?: string | null | undefined;
3523
- status?: "active" | "pending" | "waapi-qr" | undefined;
3524
- channelId?: string | null | undefined;
3525
3522
  wabaBusinessId?: string | null | undefined;
3526
3523
  wabaExternalId?: string | null | undefined;
3527
3524
  phoneNumberId?: string | null | undefined;
3525
+ email?: string | null | undefined;
3528
3526
  clientId?: string | null | undefined;
3527
+ channelId?: string | null | undefined;
3529
3528
  waapiInstanceId?: string | null | undefined;
3530
3529
  qr?: string | null | undefined;
3530
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3531
3531
  apiKey?: string | undefined;
3532
3532
  tier?: "basic" | "regular" | "premium" | undefined;
3533
3533
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3534
3534
  } | undefined;
3535
- additionalCredentials?: any;
3536
- accessToken?: string | undefined;
3537
- channelSecret?: string | undefined;
3538
- senderId?: string | undefined;
3539
3535
  vonageCredentials?: {
3540
3536
  apiKey: string;
3541
3537
  mobileNumber: string;
@@ -3549,6 +3545,9 @@ export declare const smsContract: {
3549
3545
  status: boolean;
3550
3546
  brandName: string;
3551
3547
  platformId: string;
3548
+ connectedUserName?: string | null | undefined;
3549
+ connectedUserId?: string | null | undefined;
3550
+ lineRichMenuId?: string | null | undefined;
3552
3551
  actor?: {
3553
3552
  name: string;
3554
3553
  id: string;
@@ -3556,9 +3555,6 @@ export declare const smsContract: {
3556
3555
  email: string;
3557
3556
  phone: string | null;
3558
3557
  } | undefined;
3559
- lineRichMenuId?: string | null | undefined;
3560
- connectedUserName?: string | null | undefined;
3561
- connectedUserId?: string | null | undefined;
3562
3558
  }, {
3563
3559
  name: string;
3564
3560
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
@@ -3566,24 +3562,24 @@ export declare const smsContract: {
3566
3562
  metadata: {
3567
3563
  name: string;
3568
3564
  id: string;
3565
+ accessToken?: string | undefined;
3566
+ channelSecret?: string | undefined;
3567
+ additionalCredentials?: any;
3568
+ senderId?: string | undefined;
3569
3569
  whatsapp?: {
3570
- email?: string | null | undefined;
3571
- status?: "active" | "pending" | "waapi-qr" | undefined;
3572
- channelId?: string | null | undefined;
3573
3570
  wabaBusinessId?: string | null | undefined;
3574
3571
  wabaExternalId?: string | null | undefined;
3575
3572
  phoneNumberId?: string | null | undefined;
3573
+ email?: string | null | undefined;
3576
3574
  clientId?: string | null | undefined;
3575
+ channelId?: string | null | undefined;
3577
3576
  waapiInstanceId?: string | null | undefined;
3578
3577
  qr?: string | null | undefined;
3578
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3579
3579
  apiKey?: string | undefined;
3580
3580
  tier?: "basic" | "regular" | "premium" | undefined;
3581
3581
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3582
3582
  } | undefined;
3583
- additionalCredentials?: any;
3584
- accessToken?: string | undefined;
3585
- channelSecret?: string | undefined;
3586
- senderId?: string | undefined;
3587
3583
  vonageCredentials?: {
3588
3584
  apiKey: string;
3589
3585
  mobileNumber: string;
@@ -3597,6 +3593,9 @@ export declare const smsContract: {
3597
3593
  status: boolean;
3598
3594
  brandName: string;
3599
3595
  platformId: string;
3596
+ connectedUserName?: string | null | undefined;
3597
+ connectedUserId?: string | null | undefined;
3598
+ lineRichMenuId?: string | null | undefined;
3600
3599
  actor?: {
3601
3600
  name: string;
3602
3601
  id: string;
@@ -3604,9 +3603,6 @@ export declare const smsContract: {
3604
3603
  email: string;
3605
3604
  phone: string | null;
3606
3605
  } | undefined;
3607
- lineRichMenuId?: string | null | undefined;
3608
- connectedUserName?: string | null | undefined;
3609
- connectedUserId?: string | null | undefined;
3610
3606
  }>;
3611
3607
  messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
3612
3608
  telegramBusinessConnectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3619,24 +3615,24 @@ export declare const smsContract: {
3619
3615
  metadata: {
3620
3616
  name: string;
3621
3617
  id: string;
3618
+ accessToken?: string | undefined;
3619
+ channelSecret?: string | undefined;
3620
+ additionalCredentials?: any;
3621
+ senderId?: string | undefined;
3622
3622
  whatsapp?: {
3623
- email?: string | null | undefined;
3624
- status?: "active" | "pending" | "waapi-qr" | undefined;
3625
- channelId?: string | null | undefined;
3626
3623
  wabaBusinessId?: string | null | undefined;
3627
3624
  wabaExternalId?: string | null | undefined;
3628
3625
  phoneNumberId?: string | null | undefined;
3626
+ email?: string | null | undefined;
3629
3627
  clientId?: string | null | undefined;
3628
+ channelId?: string | null | undefined;
3630
3629
  waapiInstanceId?: string | null | undefined;
3631
3630
  qr?: string | null | undefined;
3631
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3632
3632
  apiKey?: string | undefined;
3633
3633
  tier?: "basic" | "regular" | "premium" | undefined;
3634
3634
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3635
3635
  } | undefined;
3636
- additionalCredentials?: any;
3637
- accessToken?: string | undefined;
3638
- channelSecret?: string | undefined;
3639
- senderId?: string | undefined;
3640
3636
  vonageCredentials?: {
3641
3637
  apiKey: string;
3642
3638
  mobileNumber: string;
@@ -3650,6 +3646,9 @@ export declare const smsContract: {
3650
3646
  status: boolean;
3651
3647
  brandName: string;
3652
3648
  platformId: string;
3649
+ connectedUserName?: string | null | undefined;
3650
+ connectedUserId?: string | null | undefined;
3651
+ lineRichMenuId?: string | null | undefined;
3653
3652
  actor?: {
3654
3653
  name: string;
3655
3654
  id: string;
@@ -3657,11 +3656,8 @@ export declare const smsContract: {
3657
3656
  email: string;
3658
3657
  phone: string | null;
3659
3658
  } | undefined;
3660
- lineRichMenuId?: string | null | undefined;
3661
- connectedUserName?: string | null | undefined;
3662
- connectedUserId?: string | null | undefined;
3663
3659
  };
3664
- direction: string;
3660
+ direction: "incoming" | "outgoing" | "system";
3665
3661
  createdAt: string;
3666
3662
  updatedAt: string;
3667
3663
  actor: {
@@ -3697,9 +3693,9 @@ export declare const smsContract: {
3697
3693
  id: string;
3698
3694
  email: string;
3699
3695
  } | null;
3700
- metadata?: any;
3701
3696
  lastMessage?: string | undefined;
3702
3697
  handleTime?: number | undefined;
3698
+ metadata?: any;
3703
3699
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
3704
3700
  telegramBusinessConnectionId?: string | null | undefined;
3705
3701
  }, {
@@ -3711,24 +3707,24 @@ export declare const smsContract: {
3711
3707
  metadata: {
3712
3708
  name: string;
3713
3709
  id: string;
3710
+ accessToken?: string | undefined;
3711
+ channelSecret?: string | undefined;
3712
+ additionalCredentials?: any;
3713
+ senderId?: string | undefined;
3714
3714
  whatsapp?: {
3715
- email?: string | null | undefined;
3716
- status?: "active" | "pending" | "waapi-qr" | undefined;
3717
- channelId?: string | null | undefined;
3718
3715
  wabaBusinessId?: string | null | undefined;
3719
3716
  wabaExternalId?: string | null | undefined;
3720
3717
  phoneNumberId?: string | null | undefined;
3718
+ email?: string | null | undefined;
3721
3719
  clientId?: string | null | undefined;
3720
+ channelId?: string | null | undefined;
3722
3721
  waapiInstanceId?: string | null | undefined;
3723
3722
  qr?: string | null | undefined;
3723
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3724
3724
  apiKey?: string | undefined;
3725
3725
  tier?: "basic" | "regular" | "premium" | undefined;
3726
3726
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3727
3727
  } | undefined;
3728
- additionalCredentials?: any;
3729
- accessToken?: string | undefined;
3730
- channelSecret?: string | undefined;
3731
- senderId?: string | undefined;
3732
3728
  vonageCredentials?: {
3733
3729
  apiKey: string;
3734
3730
  mobileNumber: string;
@@ -3742,6 +3738,9 @@ export declare const smsContract: {
3742
3738
  status: boolean;
3743
3739
  brandName: string;
3744
3740
  platformId: string;
3741
+ connectedUserName?: string | null | undefined;
3742
+ connectedUserId?: string | null | undefined;
3743
+ lineRichMenuId?: string | null | undefined;
3745
3744
  actor?: {
3746
3745
  name: string;
3747
3746
  id: string;
@@ -3749,11 +3748,8 @@ export declare const smsContract: {
3749
3748
  email: string;
3750
3749
  phone: string | null;
3751
3750
  } | undefined;
3752
- lineRichMenuId?: string | null | undefined;
3753
- connectedUserName?: string | null | undefined;
3754
- connectedUserId?: string | null | undefined;
3755
3751
  };
3756
- direction: string;
3752
+ direction: "incoming" | "outgoing" | "system";
3757
3753
  createdAt: string;
3758
3754
  updatedAt: string;
3759
3755
  actor: {
@@ -3789,17 +3785,17 @@ export declare const smsContract: {
3789
3785
  id: string;
3790
3786
  email: string;
3791
3787
  } | null;
3792
- metadata?: any;
3793
3788
  lastMessage?: string | undefined;
3794
3789
  handleTime?: number | undefined;
3790
+ metadata?: any;
3795
3791
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
3796
3792
  telegramBusinessConnectionId?: string | null | undefined;
3797
3793
  }>;
3798
3794
  message: z.ZodObject<{
3799
3795
  id: z.ZodOptional<z.ZodString>;
3800
3796
  message: z.ZodOptional<z.ZodString>;
3801
- direction: z.ZodEnum<[string, ...string[]]>;
3802
- type: z.ZodEnum<[string, ...string[]]>;
3797
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
3798
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
3803
3799
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
3804
3800
  metadata: z.ZodOptional<z.ZodAny>;
3805
3801
  platformId: z.ZodOptional<z.ZodString>;
@@ -3856,13 +3852,19 @@ export declare const smsContract: {
3856
3852
  label: z.ZodOptional<z.ZodString>;
3857
3853
  }, "strip", z.ZodTypeAny, {
3858
3854
  type: string;
3859
- direction: string;
3860
- message?: string | undefined;
3855
+ direction: "incoming" | "outgoing" | "system";
3861
3856
  id?: string | undefined;
3862
- url?: string | undefined;
3863
- label?: string | undefined;
3864
- template?: any;
3857
+ message?: string | undefined;
3858
+ readAt?: string | Date | null | undefined;
3865
3859
  metadata?: any;
3860
+ platformId?: string | undefined;
3861
+ platformMessageId?: string | undefined;
3862
+ replyPlatformMessageId?: string | null | undefined;
3863
+ template?: any;
3864
+ locale?: "" | "th" | "mm" | "en" | null | undefined;
3865
+ url?: string | undefined;
3866
+ previewUrl?: string | null | undefined;
3867
+ imageSetId?: string | null | undefined;
3866
3868
  upload?: {
3867
3869
  fileName: string;
3868
3870
  fileKey: string;
@@ -3870,13 +3872,6 @@ export declare const smsContract: {
3870
3872
  fileSize: number;
3871
3873
  originalUrl?: string | undefined;
3872
3874
  } | undefined;
3873
- platformId?: string | undefined;
3874
- platformMessageId?: string | undefined;
3875
- readAt?: string | Date | null | undefined;
3876
- replyPlatformMessageId?: string | null | undefined;
3877
- locale?: "" | "th" | "mm" | "en" | null | undefined;
3878
- previewUrl?: string | null | undefined;
3879
- imageSetId?: string | null | undefined;
3880
3875
  sender?: {
3881
3876
  name: string;
3882
3877
  id: string;
@@ -3889,15 +3884,22 @@ export declare const smsContract: {
3889
3884
  editedMessageId?: string | null | undefined;
3890
3885
  isEdited?: boolean | null | undefined;
3891
3886
  editedAt?: string | Date | null | undefined;
3887
+ label?: string | undefined;
3892
3888
  }, {
3893
3889
  type: string;
3894
- direction: string;
3895
- message?: string | undefined;
3890
+ direction: "incoming" | "outgoing" | "system";
3896
3891
  id?: string | undefined;
3897
- url?: string | undefined;
3898
- label?: string | undefined;
3899
- template?: any;
3892
+ message?: string | undefined;
3893
+ readAt?: string | Date | null | undefined;
3900
3894
  metadata?: any;
3895
+ platformId?: string | undefined;
3896
+ platformMessageId?: string | undefined;
3897
+ replyPlatformMessageId?: string | null | undefined;
3898
+ template?: any;
3899
+ locale?: "" | "th" | "mm" | "en" | null | undefined;
3900
+ url?: string | undefined;
3901
+ previewUrl?: string | null | undefined;
3902
+ imageSetId?: string | null | undefined;
3901
3903
  upload?: {
3902
3904
  fileName: string;
3903
3905
  fileKey: string;
@@ -3905,13 +3907,6 @@ export declare const smsContract: {
3905
3907
  fileSize: number;
3906
3908
  originalUrl?: string | undefined;
3907
3909
  } | undefined;
3908
- platformId?: string | undefined;
3909
- platformMessageId?: string | undefined;
3910
- readAt?: string | Date | null | undefined;
3911
- replyPlatformMessageId?: string | null | undefined;
3912
- locale?: "" | "th" | "mm" | "en" | null | undefined;
3913
- previewUrl?: string | null | undefined;
3914
- imageSetId?: string | null | undefined;
3915
3910
  sender?: {
3916
3911
  name: string;
3917
3912
  id: string;
@@ -3924,17 +3919,24 @@ export declare const smsContract: {
3924
3919
  editedMessageId?: string | null | undefined;
3925
3920
  isEdited?: boolean | null | undefined;
3926
3921
  editedAt?: string | Date | null | undefined;
3922
+ label?: string | undefined;
3927
3923
  }>;
3928
3924
  }, "strip", z.ZodTypeAny, {
3929
3925
  message: {
3930
3926
  type: string;
3931
- direction: string;
3932
- message?: string | undefined;
3927
+ direction: "incoming" | "outgoing" | "system";
3933
3928
  id?: string | undefined;
3934
- url?: string | undefined;
3935
- label?: string | undefined;
3936
- template?: any;
3929
+ message?: string | undefined;
3930
+ readAt?: string | Date | null | undefined;
3937
3931
  metadata?: any;
3932
+ platformId?: string | undefined;
3933
+ platformMessageId?: string | undefined;
3934
+ replyPlatformMessageId?: string | null | undefined;
3935
+ template?: any;
3936
+ locale?: "" | "th" | "mm" | "en" | null | undefined;
3937
+ url?: string | undefined;
3938
+ previewUrl?: string | null | undefined;
3939
+ imageSetId?: string | null | undefined;
3938
3940
  upload?: {
3939
3941
  fileName: string;
3940
3942
  fileKey: string;
@@ -3942,13 +3944,6 @@ export declare const smsContract: {
3942
3944
  fileSize: number;
3943
3945
  originalUrl?: string | undefined;
3944
3946
  } | undefined;
3945
- platformId?: string | undefined;
3946
- platformMessageId?: string | undefined;
3947
- readAt?: string | Date | null | undefined;
3948
- replyPlatformMessageId?: string | null | undefined;
3949
- locale?: "" | "th" | "mm" | "en" | null | undefined;
3950
- previewUrl?: string | null | undefined;
3951
- imageSetId?: string | null | undefined;
3952
3947
  sender?: {
3953
3948
  name: string;
3954
3949
  id: string;
@@ -3961,6 +3956,7 @@ export declare const smsContract: {
3961
3956
  editedMessageId?: string | null | undefined;
3962
3957
  isEdited?: boolean | null | undefined;
3963
3958
  editedAt?: string | Date | null | undefined;
3959
+ label?: string | undefined;
3964
3960
  };
3965
3961
  room: {
3966
3962
  id: string;
@@ -3971,24 +3967,24 @@ export declare const smsContract: {
3971
3967
  metadata: {
3972
3968
  name: string;
3973
3969
  id: string;
3970
+ accessToken?: string | undefined;
3971
+ channelSecret?: string | undefined;
3972
+ additionalCredentials?: any;
3973
+ senderId?: string | undefined;
3974
3974
  whatsapp?: {
3975
- email?: string | null | undefined;
3976
- status?: "active" | "pending" | "waapi-qr" | undefined;
3977
- channelId?: string | null | undefined;
3978
3975
  wabaBusinessId?: string | null | undefined;
3979
3976
  wabaExternalId?: string | null | undefined;
3980
3977
  phoneNumberId?: string | null | undefined;
3978
+ email?: string | null | undefined;
3981
3979
  clientId?: string | null | undefined;
3980
+ channelId?: string | null | undefined;
3982
3981
  waapiInstanceId?: string | null | undefined;
3983
3982
  qr?: string | null | undefined;
3983
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3984
3984
  apiKey?: string | undefined;
3985
3985
  tier?: "basic" | "regular" | "premium" | undefined;
3986
3986
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3987
3987
  } | undefined;
3988
- additionalCredentials?: any;
3989
- accessToken?: string | undefined;
3990
- channelSecret?: string | undefined;
3991
- senderId?: string | undefined;
3992
3988
  vonageCredentials?: {
3993
3989
  apiKey: string;
3994
3990
  mobileNumber: string;
@@ -4002,6 +3998,9 @@ export declare const smsContract: {
4002
3998
  status: boolean;
4003
3999
  brandName: string;
4004
4000
  platformId: string;
4001
+ connectedUserName?: string | null | undefined;
4002
+ connectedUserId?: string | null | undefined;
4003
+ lineRichMenuId?: string | null | undefined;
4005
4004
  actor?: {
4006
4005
  name: string;
4007
4006
  id: string;
@@ -4009,11 +4008,8 @@ export declare const smsContract: {
4009
4008
  email: string;
4010
4009
  phone: string | null;
4011
4010
  } | undefined;
4012
- lineRichMenuId?: string | null | undefined;
4013
- connectedUserName?: string | null | undefined;
4014
- connectedUserId?: string | null | undefined;
4015
4011
  };
4016
- direction: string;
4012
+ direction: "incoming" | "outgoing" | "system";
4017
4013
  createdAt: string;
4018
4014
  updatedAt: string;
4019
4015
  actor: {
@@ -4049,9 +4045,9 @@ export declare const smsContract: {
4049
4045
  id: string;
4050
4046
  email: string;
4051
4047
  } | null;
4052
- metadata?: any;
4053
4048
  lastMessage?: string | undefined;
4054
4049
  handleTime?: number | undefined;
4050
+ metadata?: any;
4055
4051
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
4056
4052
  telegramBusinessConnectionId?: string | null | undefined;
4057
4053
  };
@@ -4059,13 +4055,19 @@ export declare const smsContract: {
4059
4055
  }, {
4060
4056
  message: {
4061
4057
  type: string;
4062
- direction: string;
4063
- message?: string | undefined;
4058
+ direction: "incoming" | "outgoing" | "system";
4064
4059
  id?: string | undefined;
4065
- url?: string | undefined;
4066
- label?: string | undefined;
4067
- template?: any;
4060
+ message?: string | undefined;
4061
+ readAt?: string | Date | null | undefined;
4068
4062
  metadata?: any;
4063
+ platformId?: string | undefined;
4064
+ platformMessageId?: string | undefined;
4065
+ replyPlatformMessageId?: string | null | undefined;
4066
+ template?: any;
4067
+ locale?: "" | "th" | "mm" | "en" | null | undefined;
4068
+ url?: string | undefined;
4069
+ previewUrl?: string | null | undefined;
4070
+ imageSetId?: string | null | undefined;
4069
4071
  upload?: {
4070
4072
  fileName: string;
4071
4073
  fileKey: string;
@@ -4073,13 +4075,6 @@ export declare const smsContract: {
4073
4075
  fileSize: number;
4074
4076
  originalUrl?: string | undefined;
4075
4077
  } | undefined;
4076
- platformId?: string | undefined;
4077
- platformMessageId?: string | undefined;
4078
- readAt?: string | Date | null | undefined;
4079
- replyPlatformMessageId?: string | null | undefined;
4080
- locale?: "" | "th" | "mm" | "en" | null | undefined;
4081
- previewUrl?: string | null | undefined;
4082
- imageSetId?: string | null | undefined;
4083
4078
  sender?: {
4084
4079
  name: string;
4085
4080
  id: string;
@@ -4092,6 +4087,7 @@ export declare const smsContract: {
4092
4087
  editedMessageId?: string | null | undefined;
4093
4088
  isEdited?: boolean | null | undefined;
4094
4089
  editedAt?: string | Date | null | undefined;
4090
+ label?: string | undefined;
4095
4091
  };
4096
4092
  room: {
4097
4093
  id: string;
@@ -4102,24 +4098,24 @@ export declare const smsContract: {
4102
4098
  metadata: {
4103
4099
  name: string;
4104
4100
  id: string;
4101
+ accessToken?: string | undefined;
4102
+ channelSecret?: string | undefined;
4103
+ additionalCredentials?: any;
4104
+ senderId?: string | undefined;
4105
4105
  whatsapp?: {
4106
- email?: string | null | undefined;
4107
- status?: "active" | "pending" | "waapi-qr" | undefined;
4108
- channelId?: string | null | undefined;
4109
4106
  wabaBusinessId?: string | null | undefined;
4110
4107
  wabaExternalId?: string | null | undefined;
4111
4108
  phoneNumberId?: string | null | undefined;
4109
+ email?: string | null | undefined;
4112
4110
  clientId?: string | null | undefined;
4111
+ channelId?: string | null | undefined;
4113
4112
  waapiInstanceId?: string | null | undefined;
4114
4113
  qr?: string | null | undefined;
4114
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4115
4115
  apiKey?: string | undefined;
4116
4116
  tier?: "basic" | "regular" | "premium" | undefined;
4117
4117
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4118
4118
  } | undefined;
4119
- additionalCredentials?: any;
4120
- accessToken?: string | undefined;
4121
- channelSecret?: string | undefined;
4122
- senderId?: string | undefined;
4123
4119
  vonageCredentials?: {
4124
4120
  apiKey: string;
4125
4121
  mobileNumber: string;
@@ -4133,6 +4129,9 @@ export declare const smsContract: {
4133
4129
  status: boolean;
4134
4130
  brandName: string;
4135
4131
  platformId: string;
4132
+ connectedUserName?: string | null | undefined;
4133
+ connectedUserId?: string | null | undefined;
4134
+ lineRichMenuId?: string | null | undefined;
4136
4135
  actor?: {
4137
4136
  name: string;
4138
4137
  id: string;
@@ -4140,11 +4139,8 @@ export declare const smsContract: {
4140
4139
  email: string;
4141
4140
  phone: string | null;
4142
4141
  } | undefined;
4143
- lineRichMenuId?: string | null | undefined;
4144
- connectedUserName?: string | null | undefined;
4145
- connectedUserId?: string | null | undefined;
4146
4142
  };
4147
- direction: string;
4143
+ direction: "incoming" | "outgoing" | "system";
4148
4144
  createdAt: string;
4149
4145
  updatedAt: string;
4150
4146
  actor: {
@@ -4180,16 +4176,15 @@ export declare const smsContract: {
4180
4176
  id: string;
4181
4177
  email: string;
4182
4178
  } | null;
4183
- metadata?: any;
4184
4179
  lastMessage?: string | undefined;
4185
4180
  handleTime?: number | undefined;
4181
+ metadata?: any;
4186
4182
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
4187
4183
  telegramBusinessConnectionId?: string | null | undefined;
4188
4184
  };
4189
4185
  isBot?: boolean | null | undefined;
4190
4186
  }>;
4191
4187
  method: "POST";
4192
- path: "/message";
4193
4188
  responses: {
4194
4189
  200: z.ZodObject<{
4195
4190
  requestId: z.ZodString;
@@ -4219,12 +4214,12 @@ export declare const smsContract: {
4219
4214
  error?: any;
4220
4215
  }>;
4221
4216
  };
4217
+ path: "/message";
4222
4218
  };
4223
4219
  };
4224
4220
  export declare const smsSettingContract: {
4225
4221
  getSMSNumbers: {
4226
4222
  method: "GET";
4227
- path: "/sms-setting/sms-numbers";
4228
4223
  responses: {
4229
4224
  200: z.ZodObject<{
4230
4225
  requestId: z.ZodString;
@@ -4272,6 +4267,7 @@ export declare const smsSettingContract: {
4272
4267
  }[];
4273
4268
  }>;
4274
4269
  };
4270
+ path: "/sms-setting/sms-numbers";
4275
4271
  };
4276
4272
  };
4277
4273
  //# sourceMappingURL=index.d.ts.map