@zavudev/sdk 0.55.0 → 0.57.0

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 (371) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/client.d.mts +25 -13
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +25 -13
  5. package/client.d.ts.map +1 -1
  6. package/client.js +15 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +15 -3
  9. package/client.mjs.map +1 -1
  10. package/internal/qs/formats.d.mts +7 -0
  11. package/internal/qs/formats.d.mts.map +1 -0
  12. package/internal/qs/formats.d.ts +7 -0
  13. package/internal/qs/formats.d.ts.map +1 -0
  14. package/internal/qs/formats.js +13 -0
  15. package/internal/qs/formats.js.map +1 -0
  16. package/internal/qs/formats.mjs +9 -0
  17. package/internal/qs/formats.mjs.map +1 -0
  18. package/internal/qs/index.d.mts +10 -0
  19. package/internal/qs/index.d.mts.map +1 -0
  20. package/internal/qs/index.d.ts +10 -0
  21. package/internal/qs/index.d.ts.map +1 -0
  22. package/internal/qs/index.js +14 -0
  23. package/internal/qs/index.js.map +1 -0
  24. package/internal/qs/index.mjs +10 -0
  25. package/internal/qs/index.mjs.map +1 -0
  26. package/internal/qs/stringify.d.mts +3 -0
  27. package/internal/qs/stringify.d.mts.map +1 -0
  28. package/internal/qs/stringify.d.ts +3 -0
  29. package/internal/qs/stringify.d.ts.map +1 -0
  30. package/internal/qs/stringify.js +277 -0
  31. package/internal/qs/stringify.js.map +1 -0
  32. package/internal/qs/stringify.mjs +274 -0
  33. package/internal/qs/stringify.mjs.map +1 -0
  34. package/internal/qs/types.d.mts +57 -0
  35. package/internal/qs/types.d.mts.map +1 -0
  36. package/internal/qs/types.d.ts +57 -0
  37. package/internal/qs/types.d.ts.map +1 -0
  38. package/internal/qs/types.js +3 -0
  39. package/internal/qs/types.js.map +1 -0
  40. package/internal/qs/types.mjs +2 -0
  41. package/internal/qs/types.mjs.map +1 -0
  42. package/internal/qs/utils.d.mts +15 -0
  43. package/internal/qs/utils.d.mts.map +1 -0
  44. package/internal/qs/utils.d.ts +15 -0
  45. package/internal/qs/utils.d.ts.map +1 -0
  46. package/internal/qs/utils.js +230 -0
  47. package/internal/qs/utils.js.map +1 -0
  48. package/internal/qs/utils.mjs +217 -0
  49. package/internal/qs/utils.mjs.map +1 -0
  50. package/internal/tslib.js +17 -17
  51. package/internal/utils/query.d.mts +0 -3
  52. package/internal/utils/query.d.mts.map +1 -1
  53. package/internal/utils/query.d.ts +0 -3
  54. package/internal/utils/query.d.ts.map +1 -1
  55. package/internal/utils/query.js +3 -16
  56. package/internal/utils/query.js.map +1 -1
  57. package/internal/utils/query.mjs +2 -16
  58. package/internal/utils/query.mjs.map +1 -1
  59. package/package.json +1 -1
  60. package/resources/agent-templates.d.mts +97 -0
  61. package/resources/agent-templates.d.mts.map +1 -0
  62. package/resources/agent-templates.d.ts +97 -0
  63. package/resources/agent-templates.d.ts.map +1 -0
  64. package/resources/agent-templates.js +39 -0
  65. package/resources/agent-templates.js.map +1 -0
  66. package/resources/agent-templates.mjs +35 -0
  67. package/resources/agent-templates.mjs.map +1 -0
  68. package/resources/agents/agents.d.mts +462 -0
  69. package/resources/agents/agents.d.mts.map +1 -0
  70. package/resources/agents/agents.d.ts +462 -0
  71. package/resources/agents/agents.d.ts.map +1 -0
  72. package/resources/agents/agents.js +129 -0
  73. package/resources/agents/agents.js.map +1 -0
  74. package/resources/agents/agents.mjs +124 -0
  75. package/resources/agents/agents.mjs.map +1 -0
  76. package/resources/agents/index.d.mts +3 -0
  77. package/resources/agents/index.d.mts.map +1 -0
  78. package/resources/agents/index.d.ts +3 -0
  79. package/resources/agents/index.d.ts.map +1 -0
  80. package/resources/agents/index.js +9 -0
  81. package/resources/agents/index.js.map +1 -0
  82. package/resources/agents/index.mjs +4 -0
  83. package/resources/agents/index.mjs.map +1 -0
  84. package/resources/agents/senders.d.mts +54 -0
  85. package/resources/agents/senders.d.mts.map +1 -0
  86. package/resources/agents/senders.d.ts +54 -0
  87. package/resources/agents/senders.d.ts.map +1 -0
  88. package/resources/agents/senders.js +45 -0
  89. package/resources/agents/senders.js.map +1 -0
  90. package/resources/agents/senders.mjs +41 -0
  91. package/resources/agents/senders.mjs.map +1 -0
  92. package/resources/agents.d.mts +2 -0
  93. package/resources/agents.d.mts.map +1 -0
  94. package/resources/agents.d.ts +2 -0
  95. package/resources/agents.d.ts.map +1 -0
  96. package/resources/agents.js +6 -0
  97. package/resources/agents.js.map +1 -0
  98. package/resources/agents.mjs +3 -0
  99. package/resources/agents.mjs.map +1 -0
  100. package/resources/broadcasts/broadcasts.d.mts +16 -9
  101. package/resources/broadcasts/broadcasts.d.mts.map +1 -1
  102. package/resources/broadcasts/broadcasts.d.ts +16 -9
  103. package/resources/broadcasts/broadcasts.d.ts.map +1 -1
  104. package/resources/broadcasts/broadcasts.js +16 -9
  105. package/resources/broadcasts/broadcasts.js.map +1 -1
  106. package/resources/broadcasts/broadcasts.mjs +16 -9
  107. package/resources/broadcasts/broadcasts.mjs.map +1 -1
  108. package/resources/calls.d.mts +539 -0
  109. package/resources/calls.d.mts.map +1 -0
  110. package/resources/calls.d.ts +539 -0
  111. package/resources/calls.d.ts.map +1 -0
  112. package/resources/calls.js +85 -0
  113. package/resources/calls.js.map +1 -0
  114. package/resources/calls.mjs +81 -0
  115. package/resources/calls.mjs.map +1 -0
  116. package/resources/contacts/contacts.d.mts +32 -13
  117. package/resources/contacts/contacts.d.mts.map +1 -1
  118. package/resources/contacts/contacts.d.ts +32 -13
  119. package/resources/contacts/contacts.d.ts.map +1 -1
  120. package/resources/contacts/contacts.js +0 -14
  121. package/resources/contacts/contacts.js.map +1 -1
  122. package/resources/contacts/contacts.mjs +0 -14
  123. package/resources/contacts/contacts.mjs.map +1 -1
  124. package/resources/conversations.d.mts +360 -0
  125. package/resources/conversations.d.mts.map +1 -0
  126. package/resources/conversations.d.ts +360 -0
  127. package/resources/conversations.d.ts.map +1 -0
  128. package/resources/conversations.js +47 -0
  129. package/resources/conversations.js.map +1 -0
  130. package/resources/conversations.mjs +43 -0
  131. package/resources/conversations.mjs.map +1 -0
  132. package/resources/email-domains.d.mts +260 -0
  133. package/resources/email-domains.d.mts.map +1 -0
  134. package/resources/email-domains.d.ts +260 -0
  135. package/resources/email-domains.d.ts.map +1 -0
  136. package/resources/email-domains.js +77 -0
  137. package/resources/email-domains.js.map +1 -0
  138. package/resources/email-domains.mjs +73 -0
  139. package/resources/email-domains.mjs.map +1 -0
  140. package/resources/functions/functions.d.mts +122 -1
  141. package/resources/functions/functions.d.mts.map +1 -1
  142. package/resources/functions/functions.d.ts +122 -1
  143. package/resources/functions/functions.d.ts.map +1 -1
  144. package/resources/functions/functions.js +53 -0
  145. package/resources/functions/functions.js.map +1 -1
  146. package/resources/functions/functions.mjs +53 -0
  147. package/resources/functions/functions.mjs.map +1 -1
  148. package/resources/functions/git-link.d.mts +295 -0
  149. package/resources/functions/git-link.d.mts.map +1 -0
  150. package/resources/functions/git-link.d.ts +295 -0
  151. package/resources/functions/git-link.d.ts.map +1 -0
  152. package/resources/functions/git-link.js +97 -0
  153. package/resources/functions/git-link.js.map +1 -0
  154. package/resources/functions/git-link.mjs +93 -0
  155. package/resources/functions/git-link.mjs.map +1 -0
  156. package/resources/functions/index.d.mts +3 -1
  157. package/resources/functions/index.d.mts.map +1 -1
  158. package/resources/functions/index.d.ts +3 -1
  159. package/resources/functions/index.d.ts.map +1 -1
  160. package/resources/functions/index.js +5 -1
  161. package/resources/functions/index.js.map +1 -1
  162. package/resources/functions/index.mjs +2 -0
  163. package/resources/functions/index.mjs.map +1 -1
  164. package/resources/functions/triggers.d.mts +164 -0
  165. package/resources/functions/triggers.d.mts.map +1 -0
  166. package/resources/functions/triggers.d.ts +164 -0
  167. package/resources/functions/triggers.d.ts.map +1 -0
  168. package/resources/functions/triggers.js +74 -0
  169. package/resources/functions/triggers.js.map +1 -0
  170. package/resources/functions/triggers.mjs +70 -0
  171. package/resources/functions/triggers.mjs.map +1 -0
  172. package/resources/index.d.mts +10 -5
  173. package/resources/index.d.mts.map +1 -1
  174. package/resources/index.d.ts +10 -5
  175. package/resources/index.d.ts.map +1 -1
  176. package/resources/index.js +11 -1
  177. package/resources/index.js.map +1 -1
  178. package/resources/index.mjs +5 -0
  179. package/resources/index.mjs.map +1 -1
  180. package/resources/introspect.d.mts +74 -1
  181. package/resources/introspect.d.mts.map +1 -1
  182. package/resources/introspect.d.ts +74 -1
  183. package/resources/introspect.d.ts.map +1 -1
  184. package/resources/introspect.js +22 -0
  185. package/resources/introspect.js.map +1 -1
  186. package/resources/introspect.mjs +22 -0
  187. package/resources/introspect.mjs.map +1 -1
  188. package/resources/messages.d.mts +89 -1
  189. package/resources/messages.d.mts.map +1 -1
  190. package/resources/messages.d.ts +89 -1
  191. package/resources/messages.d.ts.map +1 -1
  192. package/resources/messages.js +48 -0
  193. package/resources/messages.js.map +1 -1
  194. package/resources/messages.mjs +48 -0
  195. package/resources/messages.mjs.map +1 -1
  196. package/resources/number-10dlc/brands.d.mts +10 -5
  197. package/resources/number-10dlc/brands.d.mts.map +1 -1
  198. package/resources/number-10dlc/brands.d.ts +10 -5
  199. package/resources/number-10dlc/brands.d.ts.map +1 -1
  200. package/resources/number-10dlc/brands.js +10 -5
  201. package/resources/number-10dlc/brands.js.map +1 -1
  202. package/resources/number-10dlc/brands.mjs +10 -5
  203. package/resources/number-10dlc/brands.mjs.map +1 -1
  204. package/resources/number-10dlc/campaigns/campaigns.d.mts +8 -7
  205. package/resources/number-10dlc/campaigns/campaigns.d.mts.map +1 -1
  206. package/resources/number-10dlc/campaigns/campaigns.d.ts +8 -7
  207. package/resources/number-10dlc/campaigns/campaigns.d.ts.map +1 -1
  208. package/resources/number-10dlc/campaigns/campaigns.js +8 -7
  209. package/resources/number-10dlc/campaigns/campaigns.js.map +1 -1
  210. package/resources/number-10dlc/campaigns/campaigns.mjs +8 -7
  211. package/resources/number-10dlc/campaigns/campaigns.mjs.map +1 -1
  212. package/resources/phone-numbers.d.mts +6 -1
  213. package/resources/phone-numbers.d.mts.map +1 -1
  214. package/resources/phone-numbers.d.ts +6 -1
  215. package/resources/phone-numbers.d.ts.map +1 -1
  216. package/resources/senders/agent/agent.d.mts +4 -3
  217. package/resources/senders/agent/agent.d.mts.map +1 -1
  218. package/resources/senders/agent/agent.d.ts +4 -3
  219. package/resources/senders/agent/agent.d.ts.map +1 -1
  220. package/resources/senders/agent/agent.js +2 -2
  221. package/resources/senders/agent/agent.js.map +1 -1
  222. package/resources/senders/agent/agent.mjs +2 -2
  223. package/resources/senders/agent/agent.mjs.map +1 -1
  224. package/resources/senders/agent/index.d.mts +2 -2
  225. package/resources/senders/agent/index.d.mts.map +1 -1
  226. package/resources/senders/agent/index.d.ts +2 -2
  227. package/resources/senders/agent/index.d.ts.map +1 -1
  228. package/resources/senders/agent/index.js +2 -2
  229. package/resources/senders/agent/index.js.map +1 -1
  230. package/resources/senders/agent/index.mjs +1 -1
  231. package/resources/senders/agent/index.mjs.map +1 -1
  232. package/resources/senders/agent/knowledge-bases/documents.d.mts +56 -1
  233. package/resources/senders/agent/knowledge-bases/documents.d.mts.map +1 -1
  234. package/resources/senders/agent/knowledge-bases/documents.d.ts +56 -1
  235. package/resources/senders/agent/knowledge-bases/documents.d.ts.map +1 -1
  236. package/resources/senders/agent/knowledge-bases/documents.js +33 -0
  237. package/resources/senders/agent/knowledge-bases/documents.js.map +1 -1
  238. package/resources/senders/agent/knowledge-bases/documents.mjs +33 -0
  239. package/resources/senders/agent/knowledge-bases/documents.mjs.map +1 -1
  240. package/resources/senders/agent/knowledge-bases/index.d.mts +1 -1
  241. package/resources/senders/agent/knowledge-bases/index.d.mts.map +1 -1
  242. package/resources/senders/agent/knowledge-bases/index.d.ts +1 -1
  243. package/resources/senders/agent/knowledge-bases/index.d.ts.map +1 -1
  244. package/resources/senders/agent/knowledge-bases/index.js.map +1 -1
  245. package/resources/senders/agent/knowledge-bases/index.mjs.map +1 -1
  246. package/resources/senders/agent/knowledge-bases/knowledge-bases.d.mts +2 -2
  247. package/resources/senders/agent/knowledge-bases/knowledge-bases.d.mts.map +1 -1
  248. package/resources/senders/agent/knowledge-bases/knowledge-bases.d.ts +2 -2
  249. package/resources/senders/agent/knowledge-bases/knowledge-bases.d.ts.map +1 -1
  250. package/resources/senders/agent/knowledge-bases/knowledge-bases.js.map +1 -1
  251. package/resources/senders/agent/knowledge-bases/knowledge-bases.mjs.map +1 -1
  252. package/resources/senders/agent/tools/index.d.mts +3 -0
  253. package/resources/senders/agent/tools/index.d.mts.map +1 -0
  254. package/resources/senders/agent/tools/index.d.ts +3 -0
  255. package/resources/senders/agent/tools/index.d.ts.map +1 -0
  256. package/resources/senders/agent/tools/index.js +9 -0
  257. package/resources/senders/agent/tools/index.js.map +1 -0
  258. package/resources/senders/agent/tools/index.mjs +4 -0
  259. package/resources/senders/agent/tools/index.mjs.map +1 -0
  260. package/resources/senders/agent/tools/tools.d.mts +338 -0
  261. package/resources/senders/agent/tools/tools.d.mts.map +1 -0
  262. package/resources/senders/agent/tools/tools.d.ts +338 -0
  263. package/resources/senders/agent/tools/tools.d.ts.map +1 -0
  264. package/resources/senders/agent/tools/tools.js +163 -0
  265. package/resources/senders/agent/tools/tools.js.map +1 -0
  266. package/resources/senders/agent/tools/tools.mjs +158 -0
  267. package/resources/senders/agent/tools/tools.mjs.map +1 -0
  268. package/resources/senders/agent/tools/webhook.d.mts +28 -0
  269. package/resources/senders/agent/tools/webhook.d.mts.map +1 -0
  270. package/resources/senders/agent/tools/webhook.d.ts +28 -0
  271. package/resources/senders/agent/tools/webhook.d.ts.map +1 -0
  272. package/resources/senders/agent/tools/webhook.js +28 -0
  273. package/resources/senders/agent/tools/webhook.js.map +1 -0
  274. package/resources/senders/agent/tools/webhook.mjs +24 -0
  275. package/resources/senders/agent/tools/webhook.mjs.map +1 -0
  276. package/resources/senders/agent/tools.d.mts +1 -270
  277. package/resources/senders/agent/tools.d.mts.map +1 -1
  278. package/resources/senders/agent/tools.d.ts +1 -270
  279. package/resources/senders/agent/tools.d.ts.map +1 -1
  280. package/resources/senders/agent/tools.js +2 -131
  281. package/resources/senders/agent/tools.js.map +1 -1
  282. package/resources/senders/agent/tools.mjs +1 -129
  283. package/resources/senders/agent/tools.mjs.map +1 -1
  284. package/resources/senders/index.d.mts +2 -1
  285. package/resources/senders/index.d.mts.map +1 -1
  286. package/resources/senders/index.d.ts +2 -1
  287. package/resources/senders/index.d.ts.map +1 -1
  288. package/resources/senders/index.js +3 -1
  289. package/resources/senders/index.js.map +1 -1
  290. package/resources/senders/index.mjs +1 -0
  291. package/resources/senders/index.mjs.map +1 -1
  292. package/resources/senders/senders.d.mts +4 -0
  293. package/resources/senders/senders.d.mts.map +1 -1
  294. package/resources/senders/senders.d.ts +4 -0
  295. package/resources/senders/senders.d.ts.map +1 -1
  296. package/resources/senders/senders.js +4 -0
  297. package/resources/senders/senders.js.map +1 -1
  298. package/resources/senders/senders.mjs +4 -0
  299. package/resources/senders/senders.mjs.map +1 -1
  300. package/resources/senders/telegram.d.mts +48 -0
  301. package/resources/senders/telegram.d.mts.map +1 -0
  302. package/resources/senders/telegram.d.ts +48 -0
  303. package/resources/senders/telegram.d.ts.map +1 -0
  304. package/resources/senders/telegram.js +41 -0
  305. package/resources/senders/telegram.js.map +1 -0
  306. package/resources/senders/telegram.mjs +37 -0
  307. package/resources/senders/telegram.mjs.map +1 -0
  308. package/resources/templates.d.mts +66 -1
  309. package/resources/templates.d.mts.map +1 -1
  310. package/resources/templates.d.ts +66 -1
  311. package/resources/templates.d.ts.map +1 -1
  312. package/resources/templates.js +31 -0
  313. package/resources/templates.js.map +1 -1
  314. package/resources/templates.mjs +31 -0
  315. package/resources/templates.mjs.map +1 -1
  316. package/resources/urls.d.mts +24 -1
  317. package/resources/urls.d.mts.map +1 -1
  318. package/resources/urls.d.ts +24 -1
  319. package/resources/urls.d.ts.map +1 -1
  320. package/resources/urls.js +15 -0
  321. package/resources/urls.js.map +1 -1
  322. package/resources/urls.mjs +15 -0
  323. package/resources/urls.mjs.map +1 -1
  324. package/src/client.ts +129 -3
  325. package/src/internal/qs/LICENSE.md +13 -0
  326. package/src/internal/qs/README.md +3 -0
  327. package/src/internal/qs/formats.ts +10 -0
  328. package/src/internal/qs/index.ts +13 -0
  329. package/src/internal/qs/stringify.ts +385 -0
  330. package/src/internal/qs/types.ts +71 -0
  331. package/src/internal/qs/utils.ts +265 -0
  332. package/src/internal/utils/query.ts +2 -18
  333. package/src/resources/agent-templates.ts +128 -0
  334. package/src/resources/agents/agents.ts +603 -0
  335. package/src/resources/agents/index.ts +21 -0
  336. package/src/resources/agents/senders.ts +79 -0
  337. package/src/resources/agents.ts +3 -0
  338. package/src/resources/broadcasts/broadcasts.ts +16 -9
  339. package/src/resources/calls.ts +647 -0
  340. package/src/resources/contacts/contacts.ts +35 -20
  341. package/src/resources/conversations.ts +472 -0
  342. package/src/resources/email-domains.ts +337 -0
  343. package/src/resources/functions/functions.ts +202 -0
  344. package/src/resources/functions/git-link.ts +398 -0
  345. package/src/resources/functions/index.ts +22 -0
  346. package/src/resources/functions/triggers.ts +227 -0
  347. package/src/resources/index.ts +57 -0
  348. package/src/resources/introspect.ts +105 -0
  349. package/src/resources/messages.ts +102 -0
  350. package/src/resources/number-10dlc/brands.ts +10 -5
  351. package/src/resources/number-10dlc/campaigns/campaigns.ts +8 -7
  352. package/src/resources/phone-numbers.ts +6 -1
  353. package/src/resources/senders/agent/agent.ts +23 -17
  354. package/src/resources/senders/agent/index.ts +4 -1
  355. package/src/resources/senders/agent/knowledge-bases/documents.ts +89 -0
  356. package/src/resources/senders/agent/knowledge-bases/index.ts +4 -0
  357. package/src/resources/senders/agent/knowledge-bases/knowledge-bases.ts +8 -0
  358. package/src/resources/senders/agent/tools/index.ts +21 -0
  359. package/src/resources/senders/agent/tools/tools.ts +460 -0
  360. package/src/resources/senders/agent/tools/webhook.ts +40 -0
  361. package/src/resources/senders/agent/tools.ts +1 -364
  362. package/src/resources/senders/index.ts +2 -0
  363. package/src/resources/senders/senders.ts +10 -0
  364. package/src/resources/senders/telegram.ts +73 -0
  365. package/src/resources/templates.ts +80 -0
  366. package/src/resources/urls.ts +35 -0
  367. package/src/version.ts +1 -1
  368. package/version.d.mts +1 -1
  369. package/version.d.ts +1 -1
  370. package/version.js +1 -1
  371. package/version.mjs +1 -1
@@ -10,6 +10,24 @@ export {
10
10
  type AddressListParams,
11
11
  type AddressesCursor,
12
12
  } from './addresses';
13
+ export {
14
+ AgentTemplates,
15
+ type AgentTemplateRetrieveResponse,
16
+ type AgentTemplateListResponse,
17
+ } from './agent-templates';
18
+ export {
19
+ Agents,
20
+ type AgentCreateResponse,
21
+ type AgentRetrieveResponse,
22
+ type AgentUpdateResponse,
23
+ type AgentListVoicesResponse,
24
+ type AgentTestResponse,
25
+ type AgentCreateParams,
26
+ type AgentUpdateParams,
27
+ type AgentListParams,
28
+ type AgentListVoicesParams,
29
+ type AgentTestParams,
30
+ } from './agents/agents';
13
31
  export { Balance, type BalanceRetrieveResponse } from './balance';
14
32
  export {
15
33
  Broadcasts,
@@ -37,6 +55,16 @@ export {
37
55
  type BroadcastContactsCursor,
38
56
  type BroadcastsCursor,
39
57
  } from './broadcasts/broadcasts';
58
+ export {
59
+ Calls,
60
+ type CallCreateResponse,
61
+ type CallRetrieveResponse,
62
+ type CallListResponse,
63
+ type CallHangupResponse,
64
+ type CallCreateParams,
65
+ type CallListParams,
66
+ type CallListResponsesCursor,
67
+ } from './calls';
40
68
  export {
41
69
  Contacts,
42
70
  type Contact,
@@ -47,6 +75,23 @@ export {
47
75
  type ContactMergeParams,
48
76
  type ContactsCursor,
49
77
  } from './contacts/contacts';
78
+ export {
79
+ Conversations,
80
+ type ConversationRetrieveResponse,
81
+ type ConversationListResponse,
82
+ type ConversationMarkAsReadResponse,
83
+ type ConversationListParams,
84
+ type ConversationListMessagesParams,
85
+ type ConversationListResponsesCursor,
86
+ } from './conversations';
87
+ export {
88
+ EmailDomains,
89
+ type EmailDomainCreateResponse,
90
+ type EmailDomainRetrieveResponse,
91
+ type EmailDomainListResponse,
92
+ type EmailDomainVerifyResponse,
93
+ type EmailDomainCreateParams,
94
+ } from './email-domains';
50
95
  export {
51
96
  Functions,
52
97
  type FunctionCreateResponse,
@@ -55,16 +100,23 @@ export {
55
100
  type FunctionDeleteResponse,
56
101
  type FunctionDeployResponse,
57
102
  type FunctionGetDeploymentResponse,
103
+ type FunctionListDeploymentsResponse,
104
+ type FunctionListEventTypesResponse,
105
+ type FunctionRollbackDeploymentResponse,
58
106
  type FunctionTailLogsResponse,
59
107
  type FunctionCreateParams,
60
108
  type FunctionUpdateParams,
61
109
  type FunctionDeployParams,
110
+ type FunctionListDeploymentsParams,
111
+ type FunctionRollbackDeploymentParams,
62
112
  type FunctionTailLogsParams,
63
113
  } from './functions/functions';
64
114
  export {
65
115
  Introspect,
66
116
  type LineType,
117
+ type IntrospectValidateEmailResponse,
67
118
  type IntrospectValidatePhoneResponse,
119
+ type IntrospectValidateEmailParams,
68
120
  type IntrospectValidatePhoneParams,
69
121
  } from './introspect';
70
122
  export {
@@ -86,6 +138,7 @@ export {
86
138
  type MessageResponse,
87
139
  type MessageStatus,
88
140
  type MessageType,
141
+ type MessageListAttachmentsResponse,
89
142
  type MessageShowTypingResponse,
90
143
  type MessageListParams,
91
144
  type MessageReactParams,
@@ -164,16 +217,20 @@ export {
164
217
  Templates,
165
218
  type Template,
166
219
  type WhatsappCategory,
220
+ type TemplateSyncResponse,
167
221
  type TemplateCreateParams,
168
222
  type TemplateListParams,
169
223
  type TemplateSubmitParams,
224
+ type TemplateSyncParams,
170
225
  type TemplatesCursor,
171
226
  } from './templates';
172
227
  export {
173
228
  URLs,
174
229
  type VerifiedURL,
230
+ type URLEscalateResponse,
175
231
  type URLRetrieveDetailsResponse,
176
232
  type URLSubmitForVerificationResponse,
233
+ type URLEscalateParams,
177
234
  type URLListVerifiedParams,
178
235
  type URLSubmitForVerificationParams,
179
236
  type VerifiedURLsCursor,
@@ -6,6 +6,32 @@ import { APIPromise } from '../core/api-promise';
6
6
  import { RequestOptions } from '../internal/request-options';
7
7
 
8
8
  export class Introspect extends APIResource {
9
+ /**
10
+ * Heuristic email validation to run before sending: catches invalid syntax, dead
11
+ * domains (no MX/A records), disposable inboxes, role-based addresses (info@,
12
+ * contacto@, sales@), and addresses already on your project's suppression list.
13
+ * Use it to clean a list before a broadcast and keep your bounce rate low.
14
+ *
15
+ * No mailbox-level (SMTP) probe is performed, so a `deliverable` verdict is not a
16
+ * delivery guarantee — it means no negative signal was found. Treat `risky`
17
+ * addresses with care and drop `undeliverable` ones.
18
+ *
19
+ * Accepts a single `email` or an `emails` batch (max 100 per request).
20
+ *
21
+ * @example
22
+ * ```ts
23
+ * const response = await client.introspect.validateEmail({
24
+ * email: 'maria@example.com',
25
+ * });
26
+ * ```
27
+ */
28
+ validateEmail(
29
+ body: IntrospectValidateEmailParams,
30
+ options?: RequestOptions,
31
+ ): APIPromise<IntrospectValidateEmailResponse> {
32
+ return this._client.post('/v1/introspect/email', { body, ...options });
33
+ }
34
+
9
35
  /**
10
36
  * Validate a phone number and check if a WhatsApp conversation window is open.
11
37
  *
@@ -29,6 +55,71 @@ export class Introspect extends APIResource {
29
55
  */
30
56
  export type LineType = 'mobile' | 'landline' | 'voip' | 'toll_free' | 'unknown';
31
57
 
58
+ export interface IntrospectValidateEmailResponse {
59
+ /**
60
+ * One result per submitted address, in the same order.
61
+ */
62
+ results: Array<IntrospectValidateEmailResponse.Result>;
63
+
64
+ summary: IntrospectValidateEmailResponse.Summary;
65
+ }
66
+
67
+ export namespace IntrospectValidateEmailResponse {
68
+ export interface Result {
69
+ /**
70
+ * Domain part of the address. Null when the syntax is invalid.
71
+ */
72
+ domain: string | null;
73
+
74
+ /**
75
+ * The address exactly as submitted.
76
+ */
77
+ email: string;
78
+
79
+ /**
80
+ * Lowercased, trimmed form of the address. Null when the syntax is invalid.
81
+ */
82
+ normalized: string | null;
83
+
84
+ /**
85
+ * Signals behind the verdict. Empty for a clean `deliverable` address.
86
+ */
87
+ reasons: Array<
88
+ | 'invalid_syntax'
89
+ | 'domain_not_found'
90
+ | 'domain_no_mx'
91
+ | 'disposable_domain'
92
+ | 'role_address'
93
+ | 'suppressed_hard_bounce'
94
+ | 'suppressed_soft_bounce'
95
+ | 'suppressed_complaint'
96
+ | 'suppressed_manual'
97
+ | 'suppressed_unsubscribe'
98
+ >;
99
+
100
+ /**
101
+ * Validation verdict.
102
+ *
103
+ * - `deliverable`: nothing suggests the address will bounce.
104
+ * - `risky`: sendable, but a signal predicts elevated bounce/complaint odds (role
105
+ * address, disposable domain, MX-less domain, prior soft bounce).
106
+ * - `undeliverable`: will bounce or is blocked (invalid syntax, dead domain, or
107
+ * the address is on your suppression list after a hard bounce/complaint).
108
+ */
109
+ verdict: 'deliverable' | 'risky' | 'undeliverable';
110
+ }
111
+
112
+ export interface Summary {
113
+ deliverable: number;
114
+
115
+ risky: number;
116
+
117
+ total: number;
118
+
119
+ undeliverable: number;
120
+ }
121
+ }
122
+
32
123
  export interface IntrospectValidatePhoneResponse {
33
124
  countryCode: string;
34
125
 
@@ -74,6 +165,18 @@ export namespace IntrospectValidatePhoneResponse {
74
165
  }
75
166
  }
76
167
 
168
+ export interface IntrospectValidateEmailParams {
169
+ /**
170
+ * Single email address to validate.
171
+ */
172
+ email?: string;
173
+
174
+ /**
175
+ * Batch of email addresses to validate (max 100).
176
+ */
177
+ emails?: Array<string>;
178
+ }
179
+
77
180
  export interface IntrospectValidatePhoneParams {
78
181
  phoneNumber: string;
79
182
  }
@@ -81,7 +184,9 @@ export interface IntrospectValidatePhoneParams {
81
184
  export declare namespace Introspect {
82
185
  export {
83
186
  type LineType as LineType,
187
+ type IntrospectValidateEmailResponse as IntrospectValidateEmailResponse,
84
188
  type IntrospectValidatePhoneResponse as IntrospectValidatePhoneResponse,
189
+ type IntrospectValidateEmailParams as IntrospectValidateEmailParams,
85
190
  type IntrospectValidatePhoneParams as IntrospectValidatePhoneParams,
86
191
  };
87
192
  }
@@ -40,6 +40,25 @@ export class Messages extends APIResource {
40
40
  return this._client.getAPIList('/v1/messages', Cursor<Message>, { query, ...options });
41
41
  }
42
42
 
43
+ /**
44
+ * List the stored file attachments for an email message and get a short-lived
45
+ * signed `downloadUrl` for each. Works for both inbound emails (received via
46
+ * `message.inbound`) and outbound emails you sent with attachments. Messages
47
+ * without stored attachments (including SMS, WhatsApp, and other channels) return
48
+ * an empty list. Each `downloadUrl` is generated fresh per request and expires —
49
+ * fetch the file promptly and do not cache the URL.
50
+ *
51
+ * @example
52
+ * ```ts
53
+ * const response = await client.messages.listAttachments(
54
+ * 'messageId',
55
+ * );
56
+ * ```
57
+ */
58
+ listAttachments(messageID: string, options?: RequestOptions): APIPromise<MessageListAttachmentsResponse> {
59
+ return this._client.get(path`/v1/messages/${messageID}/attachments`, options);
60
+ }
61
+
43
62
  /**
44
63
  * Send an emoji reaction to an existing WhatsApp message. Reactions are only
45
64
  * supported for WhatsApp messages.
@@ -96,6 +115,36 @@ export class Messages extends APIResource {
96
115
  * 100/day. Teams on earlier plans keep their original email quotas instead
97
116
  * - SMS and voice are billed per message from your balance on every plan
98
117
  *
118
+ * **Account verification and daily limits:**
119
+ *
120
+ * - A brand-new account can send on every channel immediately, but `sms`,
121
+ * `sms_oneway` and `voice` reach only the phone numbers the project has
122
+ * verified. Sending elsewhere returns `403` with code
123
+ * `destination_not_verified`; `details.verifiedNumbers` lists the numbers that
124
+ * are reachable. A number is verified from the dashboard's Sandbox screen:
125
+ * generate a code and send the pre-filled WhatsApp message from that phone to
126
+ * Zavu's sandbox number. One verification covers WhatsApp, SMS and calls, up to
127
+ * 5 numbers per project. To send to any destination, do any one of these: verify
128
+ * your identity, add a payment method, settle a deposit, or subscribe to a paid
129
+ * plan. Business verification (KYB) is never required to send
130
+ * - Daily ceilings apply per channel group and rise with verification. An account
131
+ * that has verified nothing: 25/day across `sms` + `sms_oneway`, 5/day for
132
+ * `voice`, 100/day across WhatsApp, Telegram, Instagram and Messenger combined.
133
+ * Past that floor: 200/day for SMS, or 10,000/day once identity or business
134
+ * verification is approved (or a higher limit agreed for your account); 50/day
135
+ * voice and 250/day conversational on Free. **Paid plans have no voice or
136
+ * conversational daily ceiling.** Over a ceiling, sends return `429` with code
137
+ * `daily_limit_exceeded` and `details.limit`; the count resets at 00:00 UTC
138
+ * - The daily ceiling never reduces the monthly allowance: 100/day on the
139
+ * conversational group still reaches the 2,000 monthly A2P messages Free
140
+ * includes
141
+ * - Email needs no account verification here: a sender with a verified domain
142
+ * sends from day one, within the plan quota (100/day and 3,000/month on Free).
143
+ * Over the daily quota it returns `429` with code `daily_limit_exceeded`. Email
144
+ * broadcasts are the exception: they need the account past the unverified level,
145
+ * see `POST /v1/broadcasts/{broadcastId}/send`
146
+ * - Full reference: https://docs.zavu.dev/concepts/sending-limits
147
+ *
99
148
  * **Email recipient pre-flight:** Email messages are validated automatically
100
149
  * before dispatch. Sends that would be a guaranteed hard bounce are failed instead
101
150
  * of sent, protecting your bounce rate: the message transitions to `failed`
@@ -183,6 +232,12 @@ export interface Message {
183
232
 
184
233
  createdAt: string;
185
234
 
235
+ /**
236
+ * Who sent the message. Needed to render a thread: `status` cannot tell the two
237
+ * apart, because an inbound message is also stored as `delivered`.
238
+ */
239
+ direction: 'inbound' | 'outbound';
240
+
186
241
  /**
187
242
  * Type of message. Non-text types are supported by WhatsApp and Telegram (varies
188
243
  * by type).
@@ -596,6 +651,52 @@ export type MessageType =
596
651
  | 'reaction'
597
652
  | 'template';
598
653
 
654
+ export interface MessageListAttachmentsResponse {
655
+ items: Array<MessageListAttachmentsResponse.Item>;
656
+ }
657
+
658
+ export namespace MessageListAttachmentsResponse {
659
+ /**
660
+ * A stored file attachment for an email message (inbound or outbound).
661
+ */
662
+ export interface Item {
663
+ id: string;
664
+
665
+ /**
666
+ * Content-ID for inline attachments (referenced in the HTML body as
667
+ * `cid:<contentId>`). Null for regular attachments.
668
+ */
669
+ contentId: string | null;
670
+
671
+ createdAt: string;
672
+
673
+ /**
674
+ * Short-lived signed URL to download the attachment bytes. Freshly generated on
675
+ * each request and expires; do not cache it. Null if the stored file is no longer
676
+ * available.
677
+ */
678
+ downloadUrl: string | null;
679
+
680
+ filename: string;
681
+
682
+ /**
683
+ * Whether the attachment is inline (embedded in the HTML body) rather than a
684
+ * regular attachment.
685
+ */
686
+ isInline: boolean;
687
+
688
+ /**
689
+ * MIME type of the attachment.
690
+ */
691
+ mimeType: string;
692
+
693
+ /**
694
+ * Size of the attachment in bytes.
695
+ */
696
+ size: number;
697
+ }
698
+ }
699
+
599
700
  export interface MessageShowTypingResponse {
600
701
  success: boolean;
601
702
  }
@@ -760,6 +861,7 @@ export declare namespace Messages {
760
861
  type MessageResponse as MessageResponse,
761
862
  type MessageStatus as MessageStatus,
762
863
  type MessageType as MessageType,
864
+ type MessageListAttachmentsResponse as MessageListAttachmentsResponse,
763
865
  type MessageShowTypingResponse as MessageShowTypingResponse,
764
866
  type MessagesCursor as MessagesCursor,
765
867
  type MessageListParams as MessageListParams,
@@ -115,11 +115,16 @@ export class Brands extends APIResource {
115
115
 
116
116
  /**
117
117
  * Submit a draft brand to The Campaign Registry (TCR) for vetting. The brand must
118
- * be in draft status. TCR's one-time $4 brand registration fee is charged from
119
- * your balance at submission (passed through at cost) and refunded if the carrier
120
- * rejects the registration. A team that already paid this fee through the
121
- * compliance flow is not charged again. Campaign registration is billed separately
122
- * when a campaign is submitted.
118
+ * be in draft status, and the team must have an approved Business Verification
119
+ * (KYB) — carriers register a brand against a vetted legal entity, so submitting
120
+ * without one returns `403` with code `kyb_required`.
121
+ *
122
+ * TCR's one-time $4 brand registration fee is charged from your balance at
123
+ * submission (passed through at cost) and refunded if the carrier rejects the
124
+ * registration. The fee is per BRAND: a team registering a second legal entity
125
+ * pays it again. A brand already paid for through the compliance flow is not
126
+ * charged twice. Campaign registration is billed separately when a campaign is
127
+ * submitted.
123
128
  *
124
129
  * @example
125
130
  * ```ts
@@ -116,13 +116,14 @@ export class Campaigns extends APIResource {
116
116
  }
117
117
 
118
118
  /**
119
- * Submit a draft campaign for carrier review. The campaign must be in draft status
120
- * and its brand must be verified. TCR's one-time registration fee is charged from
121
- * your balance at submission ($15 for standard use cases, $2 for LOW_VOLUME),
122
- * passed through at cost and refunded if the carrier rejects it. Once approved,
123
- * the campaign's monthly TCR fee ($10 standard, $2 LOW_VOLUME) is charged from
124
- * your balance while the campaign is active — see registrationCostCents and
125
- * monthlyFeeCents on the campaign object.
119
+ * The team must have an approved Business Verification (KYB): submitting without
120
+ * one returns `403` with code `kyb_required`. Submit a draft campaign for carrier
121
+ * review. The campaign must be in draft status and its brand must be verified.
122
+ * TCR's one-time registration fee is charged from your balance at submission ($15
123
+ * for standard use cases, $2 for LOW_VOLUME), passed through at cost and refunded
124
+ * if the carrier rejects it. Once approved, the campaign's monthly TCR fee ($10
125
+ * standard, $2 LOW_VOLUME) is charged from your balance while the campaign is
126
+ * active — see registrationCostCents and monthlyFeeCents on the campaign object.
126
127
  *
127
128
  * @example
128
129
  * ```ts
@@ -229,7 +229,12 @@ export interface PhoneNumberPricing {
229
229
 
230
230
  export type PhoneNumberStatus = 'active' | 'suspended' | 'pending';
231
231
 
232
- export type PhoneNumberType = 'local' | 'national' | 'tollFree';
232
+ /**
233
+ * Type of phone number. `mobile` is stocked in countries where no geographic
234
+ * (`local`) or non-geographic (`national`) inventory exists, and in several
235
+ * markets it is the only type that can receive SMS.
236
+ */
237
+ export type PhoneNumberType = 'local' | 'national' | 'tollFree' | 'mobile';
233
238
 
234
239
  /**
235
240
  * A group of requirements for a specific country/phone type combination.
@@ -26,23 +26,6 @@ import {
26
26
  FlowUpdateResponse,
27
27
  Flows,
28
28
  } from './flows';
29
- import * as ToolsAPI from './tools';
30
- import {
31
- AgentTool,
32
- AgentToolsCursor,
33
- ToolCreateParams,
34
- ToolCreateResponse,
35
- ToolDeleteParams,
36
- ToolListParams,
37
- ToolParameters,
38
- ToolRetrieveParams,
39
- ToolRetrieveResponse,
40
- ToolTestParams,
41
- ToolTestResponse,
42
- ToolUpdateParams,
43
- ToolUpdateResponse,
44
- Tools,
45
- } from './tools';
46
29
  import * as KnowledgeBasesAPI from './knowledge-bases/knowledge-bases';
47
30
  import {
48
31
  AgentDocument,
@@ -58,6 +41,25 @@ import {
58
41
  KnowledgeBaseUpdateResponse,
59
42
  KnowledgeBases,
60
43
  } from './knowledge-bases/knowledge-bases';
44
+ import * as ToolsAPI from './tools/tools';
45
+ import {
46
+ AgentTool,
47
+ AgentToolsCursor,
48
+ ToolCreateParams,
49
+ ToolCreateResponse,
50
+ ToolDeleteParams,
51
+ ToolListParams,
52
+ ToolListTestRunsParams,
53
+ ToolListTestRunsResponse,
54
+ ToolParameters,
55
+ ToolRetrieveParams,
56
+ ToolRetrieveResponse,
57
+ ToolTestParams,
58
+ ToolTestResponse,
59
+ ToolUpdateParams,
60
+ ToolUpdateResponse,
61
+ Tools,
62
+ } from './tools/tools';
61
63
  import { APIPromise } from '../../../core/api-promise';
62
64
  import { Cursor } from '../../../core/pagination';
63
65
  import { buildHeaders } from '../../../internal/headers';
@@ -158,6 +160,8 @@ export class AgentResource extends APIResource {
158
160
 
159
161
  export type AgentExecutionsCursor = Cursor<AgentExecution>;
160
162
 
163
+ export type AgentsCursor = Cursor<Agent>;
164
+
161
165
  /**
162
166
  * AI Agent configuration for a sender.
163
167
  */
@@ -771,6 +775,7 @@ export declare namespace AgentResource {
771
775
  type ToolCreateResponse as ToolCreateResponse,
772
776
  type ToolRetrieveResponse as ToolRetrieveResponse,
773
777
  type ToolUpdateResponse as ToolUpdateResponse,
778
+ type ToolListTestRunsResponse as ToolListTestRunsResponse,
774
779
  type ToolTestResponse as ToolTestResponse,
775
780
  type AgentToolsCursor as AgentToolsCursor,
776
781
  type ToolCreateParams as ToolCreateParams,
@@ -778,6 +783,7 @@ export declare namespace AgentResource {
778
783
  type ToolUpdateParams as ToolUpdateParams,
779
784
  type ToolListParams as ToolListParams,
780
785
  type ToolDeleteParams as ToolDeleteParams,
786
+ type ToolListTestRunsParams as ToolListTestRunsParams,
781
787
  type ToolTestParams as ToolTestParams,
782
788
  };
783
789
 
@@ -11,6 +11,7 @@ export {
11
11
  type AgentCreateParams,
12
12
  type AgentUpdateParams,
13
13
  type AgentExecutionsCursor,
14
+ type AgentsCursor,
14
15
  } from './agent';
15
16
  export {
16
17
  Executions,
@@ -57,12 +58,14 @@ export {
57
58
  type ToolCreateResponse,
58
59
  type ToolRetrieveResponse,
59
60
  type ToolUpdateResponse,
61
+ type ToolListTestRunsResponse,
60
62
  type ToolTestResponse,
61
63
  type ToolCreateParams,
62
64
  type ToolRetrieveParams,
63
65
  type ToolUpdateParams,
64
66
  type ToolListParams,
65
67
  type ToolDeleteParams,
68
+ type ToolListTestRunsParams,
66
69
  type ToolTestParams,
67
70
  type AgentToolsCursor,
68
- } from './tools';
71
+ } from './tools/index';
@@ -85,12 +85,69 @@ export class Documents extends APIResource {
85
85
  { ...options, headers: buildHeaders([{ Accept: '*/*' }, options?.headers]) },
86
86
  );
87
87
  }
88
+
89
+ /**
90
+ * Get a single document from a knowledge base.
91
+ *
92
+ * @example
93
+ * ```ts
94
+ * const response =
95
+ * await client.senders.agent.knowledgeBases.documents.retrieveDocument(
96
+ * 'docId',
97
+ * { senderId: 'senderId', kbId: 'kbId' },
98
+ * );
99
+ * ```
100
+ */
101
+ retrieveDocument(
102
+ docID: string,
103
+ params: DocumentRetrieveDocumentParams,
104
+ options?: RequestOptions,
105
+ ): APIPromise<DocumentRetrieveDocumentResponse> {
106
+ const { senderId, kbId } = params;
107
+ return this._client.get(
108
+ path`/v1/senders/${senderId}/agent/knowledge-bases/${kbId}/documents/${docID}`,
109
+ options,
110
+ );
111
+ }
112
+
113
+ /**
114
+ * Update a document's title or content. Updating content reprocesses the document
115
+ * for RAG.
116
+ *
117
+ * @example
118
+ * ```ts
119
+ * const response =
120
+ * await client.senders.agent.knowledgeBases.documents.updateDocument(
121
+ * 'docId',
122
+ * { senderId: 'senderId', kbId: 'kbId' },
123
+ * );
124
+ * ```
125
+ */
126
+ updateDocument(
127
+ docID: string,
128
+ params: DocumentUpdateDocumentParams,
129
+ options?: RequestOptions,
130
+ ): APIPromise<DocumentUpdateDocumentResponse> {
131
+ const { senderId, kbId, ...body } = params;
132
+ return this._client.patch(
133
+ path`/v1/senders/${senderId}/agent/knowledge-bases/${kbId}/documents/${docID}`,
134
+ { body, ...options },
135
+ );
136
+ }
88
137
  }
89
138
 
90
139
  export interface DocumentCreateResponse {
91
140
  document: KnowledgeBasesAPI.AgentDocument;
92
141
  }
93
142
 
143
+ export interface DocumentRetrieveDocumentResponse {
144
+ document: KnowledgeBasesAPI.AgentDocument;
145
+ }
146
+
147
+ export interface DocumentUpdateDocumentResponse {
148
+ document: KnowledgeBasesAPI.AgentDocument;
149
+ }
150
+
94
151
  export interface DocumentCreateParams {
95
152
  /**
96
153
  * Path param
@@ -121,12 +178,44 @@ export interface DocumentDeleteParams {
121
178
  kbId: string;
122
179
  }
123
180
 
181
+ export interface DocumentRetrieveDocumentParams {
182
+ senderId: string;
183
+
184
+ kbId: string;
185
+ }
186
+
187
+ export interface DocumentUpdateDocumentParams {
188
+ /**
189
+ * Path param
190
+ */
191
+ senderId: string;
192
+
193
+ /**
194
+ * Path param
195
+ */
196
+ kbId: string;
197
+
198
+ /**
199
+ * Body param
200
+ */
201
+ content?: string;
202
+
203
+ /**
204
+ * Body param
205
+ */
206
+ title?: string;
207
+ }
208
+
124
209
  export declare namespace Documents {
125
210
  export {
126
211
  type DocumentCreateResponse as DocumentCreateResponse,
212
+ type DocumentRetrieveDocumentResponse as DocumentRetrieveDocumentResponse,
213
+ type DocumentUpdateDocumentResponse as DocumentUpdateDocumentResponse,
127
214
  type DocumentCreateParams as DocumentCreateParams,
128
215
  type DocumentListParams as DocumentListParams,
129
216
  type DocumentDeleteParams as DocumentDeleteParams,
217
+ type DocumentRetrieveDocumentParams as DocumentRetrieveDocumentParams,
218
+ type DocumentUpdateDocumentParams as DocumentUpdateDocumentParams,
130
219
  };
131
220
  }
132
221
 
@@ -3,9 +3,13 @@
3
3
  export {
4
4
  Documents,
5
5
  type DocumentCreateResponse,
6
+ type DocumentRetrieveDocumentResponse,
7
+ type DocumentUpdateDocumentResponse,
6
8
  type DocumentCreateParams,
7
9
  type DocumentListParams,
8
10
  type DocumentDeleteParams,
11
+ type DocumentRetrieveDocumentParams,
12
+ type DocumentUpdateDocumentParams,
9
13
  } from './documents';
10
14
  export {
11
15
  KnowledgeBases,