@zavudev/sdk 0.56.0 → 0.58.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 (806) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/README.md +3 -3
  3. package/client.d.mts +39 -39
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +39 -39
  6. package/client.d.ts.map +1 -1
  7. package/client.js +43 -43
  8. package/client.js.map +1 -1
  9. package/client.mjs +43 -43
  10. package/client.mjs.map +1 -1
  11. package/core/api-promise.d.mts.map +1 -1
  12. package/core/api-promise.d.ts.map +1 -1
  13. package/core/api-promise.js +0 -1
  14. package/core/api-promise.js.map +1 -1
  15. package/core/api-promise.mjs +0 -1
  16. package/core/api-promise.mjs.map +1 -1
  17. package/core/error.d.mts.map +1 -1
  18. package/core/error.d.ts.map +1 -1
  19. package/core/error.js +0 -1
  20. package/core/error.js.map +1 -1
  21. package/core/error.mjs +0 -1
  22. package/core/error.mjs.map +1 -1
  23. package/core/pagination.d.mts.map +1 -1
  24. package/core/pagination.d.ts.map +1 -1
  25. package/core/pagination.js +0 -1
  26. package/core/pagination.js.map +1 -1
  27. package/core/pagination.mjs +0 -1
  28. package/core/pagination.mjs.map +1 -1
  29. package/core/resource.d.mts.map +1 -1
  30. package/core/resource.d.ts.map +1 -1
  31. package/core/resource.js +0 -1
  32. package/core/resource.js.map +1 -1
  33. package/core/resource.mjs +0 -1
  34. package/core/resource.mjs.map +1 -1
  35. package/index.d.mts.map +1 -1
  36. package/index.d.ts.map +1 -1
  37. package/index.js +0 -1
  38. package/index.js.map +1 -1
  39. package/index.mjs +0 -1
  40. package/index.mjs.map +1 -1
  41. package/internal/builtin-types.d.mts.map +1 -1
  42. package/internal/builtin-types.d.ts.map +1 -1
  43. package/internal/builtin-types.js +0 -1
  44. package/internal/builtin-types.js.map +1 -1
  45. package/internal/builtin-types.mjs +0 -1
  46. package/internal/builtin-types.mjs.map +1 -1
  47. package/internal/detect-platform.d.mts.map +1 -1
  48. package/internal/detect-platform.d.ts.map +1 -1
  49. package/internal/detect-platform.js +0 -1
  50. package/internal/detect-platform.js.map +1 -1
  51. package/internal/detect-platform.mjs +0 -1
  52. package/internal/detect-platform.mjs.map +1 -1
  53. package/internal/errors.d.mts.map +1 -1
  54. package/internal/errors.d.ts.map +1 -1
  55. package/internal/errors.js +0 -1
  56. package/internal/errors.js.map +1 -1
  57. package/internal/errors.mjs +0 -1
  58. package/internal/errors.mjs.map +1 -1
  59. package/internal/headers.d.mts.map +1 -1
  60. package/internal/headers.d.ts.map +1 -1
  61. package/internal/headers.js +0 -1
  62. package/internal/headers.js.map +1 -1
  63. package/internal/headers.mjs +0 -1
  64. package/internal/headers.mjs.map +1 -1
  65. package/internal/parse.d.mts.map +1 -1
  66. package/internal/parse.d.ts.map +1 -1
  67. package/internal/parse.js +0 -1
  68. package/internal/parse.js.map +1 -1
  69. package/internal/parse.mjs +0 -1
  70. package/internal/parse.mjs.map +1 -1
  71. package/internal/qs/formats.d.mts +7 -0
  72. package/internal/qs/formats.d.mts.map +1 -0
  73. package/internal/qs/formats.d.ts +7 -0
  74. package/internal/qs/formats.d.ts.map +1 -0
  75. package/internal/qs/formats.js +13 -0
  76. package/internal/qs/formats.js.map +1 -0
  77. package/internal/qs/formats.mjs +9 -0
  78. package/internal/qs/formats.mjs.map +1 -0
  79. package/internal/qs/index.d.mts +10 -0
  80. package/internal/qs/index.d.mts.map +1 -0
  81. package/internal/qs/index.d.ts +10 -0
  82. package/internal/qs/index.d.ts.map +1 -0
  83. package/internal/qs/index.js +14 -0
  84. package/internal/qs/index.js.map +1 -0
  85. package/internal/qs/index.mjs +10 -0
  86. package/internal/qs/index.mjs.map +1 -0
  87. package/internal/qs/stringify.d.mts +3 -0
  88. package/internal/qs/stringify.d.mts.map +1 -0
  89. package/internal/qs/stringify.d.ts +3 -0
  90. package/internal/qs/stringify.d.ts.map +1 -0
  91. package/internal/qs/stringify.js +277 -0
  92. package/internal/qs/stringify.js.map +1 -0
  93. package/internal/qs/stringify.mjs +274 -0
  94. package/internal/qs/stringify.mjs.map +1 -0
  95. package/internal/qs/types.d.mts +57 -0
  96. package/internal/qs/types.d.mts.map +1 -0
  97. package/internal/qs/types.d.ts +57 -0
  98. package/internal/qs/types.d.ts.map +1 -0
  99. package/internal/qs/types.js +3 -0
  100. package/internal/qs/types.js.map +1 -0
  101. package/internal/qs/types.mjs +2 -0
  102. package/internal/qs/types.mjs.map +1 -0
  103. package/internal/qs/utils.d.mts +15 -0
  104. package/internal/qs/utils.d.mts.map +1 -0
  105. package/internal/qs/utils.d.ts +15 -0
  106. package/internal/qs/utils.d.ts.map +1 -0
  107. package/internal/qs/utils.js +230 -0
  108. package/internal/qs/utils.js.map +1 -0
  109. package/internal/qs/utils.mjs +217 -0
  110. package/internal/qs/utils.mjs.map +1 -0
  111. package/internal/request-options.d.mts.map +1 -1
  112. package/internal/request-options.d.ts.map +1 -1
  113. package/internal/request-options.js +0 -1
  114. package/internal/request-options.js.map +1 -1
  115. package/internal/request-options.mjs +0 -1
  116. package/internal/request-options.mjs.map +1 -1
  117. package/internal/shim-types.d.mts.map +1 -1
  118. package/internal/shim-types.d.ts.map +1 -1
  119. package/internal/shim-types.js +6 -1
  120. package/internal/shim-types.js.map +1 -1
  121. package/internal/shim-types.mjs +6 -1
  122. package/internal/shim-types.mjs.map +1 -1
  123. package/internal/shims.d.mts.map +1 -1
  124. package/internal/shims.d.ts.map +1 -1
  125. package/internal/shims.js +6 -1
  126. package/internal/shims.js.map +1 -1
  127. package/internal/shims.mjs +6 -1
  128. package/internal/shims.mjs.map +1 -1
  129. package/internal/tslib.js +17 -17
  130. package/internal/types.d.mts.map +1 -1
  131. package/internal/types.d.ts.map +1 -1
  132. package/internal/types.js +0 -1
  133. package/internal/types.js.map +1 -1
  134. package/internal/types.mjs +0 -1
  135. package/internal/types.mjs.map +1 -1
  136. package/internal/utils/base64.d.mts.map +1 -1
  137. package/internal/utils/base64.d.ts.map +1 -1
  138. package/internal/utils/base64.js +0 -1
  139. package/internal/utils/base64.js.map +1 -1
  140. package/internal/utils/base64.mjs +0 -1
  141. package/internal/utils/base64.mjs.map +1 -1
  142. package/internal/utils/env.d.mts.map +1 -1
  143. package/internal/utils/env.d.ts.map +1 -1
  144. package/internal/utils/env.js +0 -1
  145. package/internal/utils/env.js.map +1 -1
  146. package/internal/utils/env.mjs +0 -1
  147. package/internal/utils/env.mjs.map +1 -1
  148. package/internal/utils/log.d.mts.map +1 -1
  149. package/internal/utils/log.d.ts.map +1 -1
  150. package/internal/utils/log.js +0 -1
  151. package/internal/utils/log.js.map +1 -1
  152. package/internal/utils/log.mjs +0 -1
  153. package/internal/utils/log.mjs.map +1 -1
  154. package/internal/utils/query.d.mts +0 -3
  155. package/internal/utils/query.d.mts.map +1 -1
  156. package/internal/utils/query.d.ts +0 -3
  157. package/internal/utils/query.d.ts.map +1 -1
  158. package/internal/utils/query.js +3 -17
  159. package/internal/utils/query.js.map +1 -1
  160. package/internal/utils/query.mjs +2 -17
  161. package/internal/utils/query.mjs.map +1 -1
  162. package/internal/utils/sleep.d.mts.map +1 -1
  163. package/internal/utils/sleep.d.ts.map +1 -1
  164. package/internal/utils/sleep.js +0 -1
  165. package/internal/utils/sleep.js.map +1 -1
  166. package/internal/utils/sleep.mjs +0 -1
  167. package/internal/utils/sleep.mjs.map +1 -1
  168. package/internal/utils/uuid.d.mts.map +1 -1
  169. package/internal/utils/uuid.d.ts.map +1 -1
  170. package/internal/utils/uuid.js +0 -1
  171. package/internal/utils/uuid.js.map +1 -1
  172. package/internal/utils/uuid.mjs +0 -1
  173. package/internal/utils/uuid.mjs.map +1 -1
  174. package/internal/utils/values.d.mts.map +1 -1
  175. package/internal/utils/values.d.ts.map +1 -1
  176. package/internal/utils/values.js +0 -1
  177. package/internal/utils/values.js.map +1 -1
  178. package/internal/utils/values.mjs +0 -1
  179. package/internal/utils/values.mjs.map +1 -1
  180. package/internal/utils.d.mts.map +1 -1
  181. package/internal/utils.d.ts.map +1 -1
  182. package/internal/utils.js +0 -1
  183. package/internal/utils.js.map +1 -1
  184. package/internal/utils.mjs +0 -1
  185. package/internal/utils.mjs.map +1 -1
  186. package/package.json +29 -10
  187. package/resources/addresses.d.mts +27 -77
  188. package/resources/addresses.d.mts.map +1 -1
  189. package/resources/addresses.d.ts +27 -77
  190. package/resources/addresses.d.ts.map +1 -1
  191. package/resources/addresses.js +19 -32
  192. package/resources/addresses.js.map +1 -1
  193. package/resources/addresses.mjs +19 -32
  194. package/resources/addresses.mjs.map +1 -1
  195. package/resources/agent-templates.d.mts +17 -71
  196. package/resources/agent-templates.d.mts.map +1 -1
  197. package/resources/agent-templates.d.ts +17 -71
  198. package/resources/agent-templates.d.ts.map +1 -1
  199. package/resources/agent-templates.js +11 -15
  200. package/resources/agent-templates.js.map +1 -1
  201. package/resources/agent-templates.mjs +11 -15
  202. package/resources/agent-templates.mjs.map +1 -1
  203. package/resources/agents/agents.d.mts +53 -395
  204. package/resources/agents/agents.d.mts.map +1 -1
  205. package/resources/agents/agents.d.ts +53 -395
  206. package/resources/agents/agents.d.ts.map +1 -1
  207. package/resources/agents/agents.js +33 -48
  208. package/resources/agents/agents.js.map +1 -1
  209. package/resources/agents/agents.mjs +33 -48
  210. package/resources/agents/agents.mjs.map +1 -1
  211. package/resources/agents/index.js +1 -1
  212. package/resources/agents/index.js.map +1 -1
  213. package/resources/agents/index.mjs +1 -1
  214. package/resources/agents/index.mjs.map +1 -1
  215. package/resources/agents/senders.d.mts +10 -32
  216. package/resources/agents/senders.d.mts.map +1 -1
  217. package/resources/agents/senders.d.ts +10 -32
  218. package/resources/agents/senders.d.ts.map +1 -1
  219. package/resources/agents/senders.js +7 -14
  220. package/resources/agents/senders.js.map +1 -1
  221. package/resources/agents/senders.mjs +7 -14
  222. package/resources/agents/senders.mjs.map +1 -1
  223. package/resources/agents.js +1 -1
  224. package/resources/agents.js.map +1 -1
  225. package/resources/agents.mjs +1 -1
  226. package/resources/agents.mjs.map +1 -1
  227. package/resources/balance.d.mts +6 -19
  228. package/resources/balance.d.mts.map +1 -1
  229. package/resources/balance.d.ts +6 -19
  230. package/resources/balance.d.ts.map +1 -1
  231. package/resources/balance.js +5 -1
  232. package/resources/balance.js.map +1 -1
  233. package/resources/balance.mjs +5 -1
  234. package/resources/balance.mjs.map +1 -1
  235. package/resources/broadcasts/broadcasts.d.mts +92 -411
  236. package/resources/broadcasts/broadcasts.d.mts.map +1 -1
  237. package/resources/broadcasts/broadcasts.d.ts +92 -411
  238. package/resources/broadcasts/broadcasts.d.ts.map +1 -1
  239. package/resources/broadcasts/broadcasts.js +64 -85
  240. package/resources/broadcasts/broadcasts.js.map +1 -1
  241. package/resources/broadcasts/broadcasts.mjs +64 -85
  242. package/resources/broadcasts/broadcasts.mjs.map +1 -1
  243. package/resources/broadcasts/contacts.d.mts +19 -109
  244. package/resources/broadcasts/contacts.d.mts.map +1 -1
  245. package/resources/broadcasts/contacts.d.ts +19 -109
  246. package/resources/broadcasts/contacts.d.ts.map +1 -1
  247. package/resources/broadcasts/contacts.js +10 -40
  248. package/resources/broadcasts/contacts.js.map +1 -1
  249. package/resources/broadcasts/contacts.mjs +10 -40
  250. package/resources/broadcasts/contacts.mjs.map +1 -1
  251. package/resources/broadcasts/index.js +1 -1
  252. package/resources/broadcasts/index.js.map +1 -1
  253. package/resources/broadcasts/index.mjs +1 -1
  254. package/resources/broadcasts/index.mjs.map +1 -1
  255. package/resources/broadcasts.js +1 -1
  256. package/resources/broadcasts.js.map +1 -1
  257. package/resources/broadcasts.mjs +1 -1
  258. package/resources/broadcasts.mjs.map +1 -1
  259. package/resources/calls.d.mts +40 -475
  260. package/resources/calls.d.mts.map +1 -1
  261. package/resources/calls.d.ts +40 -475
  262. package/resources/calls.d.ts.map +1 -1
  263. package/resources/calls.js +25 -26
  264. package/resources/calls.js.map +1 -1
  265. package/resources/calls.mjs +25 -26
  266. package/resources/calls.mjs.map +1 -1
  267. package/resources/contacts/channels.d.mts +20 -98
  268. package/resources/contacts/channels.d.mts.map +1 -1
  269. package/resources/contacts/channels.d.ts +20 -98
  270. package/resources/contacts/channels.d.ts.map +1 -1
  271. package/resources/contacts/channels.js +13 -32
  272. package/resources/contacts/channels.js.map +1 -1
  273. package/resources/contacts/channels.mjs +13 -32
  274. package/resources/contacts/channels.mjs.map +1 -1
  275. package/resources/contacts/contacts.d.mts +32 -224
  276. package/resources/contacts/contacts.d.mts.map +1 -1
  277. package/resources/contacts/contacts.d.ts +32 -224
  278. package/resources/contacts/contacts.d.ts.map +1 -1
  279. package/resources/contacts/contacts.js +20 -65
  280. package/resources/contacts/contacts.js.map +1 -1
  281. package/resources/contacts/contacts.mjs +20 -65
  282. package/resources/contacts/contacts.mjs.map +1 -1
  283. package/resources/contacts/index.js +1 -1
  284. package/resources/contacts/index.js.map +1 -1
  285. package/resources/contacts/index.mjs +1 -1
  286. package/resources/contacts/index.mjs.map +1 -1
  287. package/resources/contacts.js +1 -1
  288. package/resources/contacts.js.map +1 -1
  289. package/resources/contacts.mjs +1 -1
  290. package/resources/contacts.mjs.map +1 -1
  291. package/resources/conversations.d.mts +32 -316
  292. package/resources/conversations.d.mts.map +1 -1
  293. package/resources/conversations.d.ts +32 -316
  294. package/resources/conversations.d.ts.map +1 -1
  295. package/resources/conversations.js +15 -1
  296. package/resources/conversations.js.map +1 -1
  297. package/resources/conversations.mjs +15 -1
  298. package/resources/conversations.mjs.map +1 -1
  299. package/resources/email-domains.d.mts +25 -208
  300. package/resources/email-domains.d.mts.map +1 -1
  301. package/resources/email-domains.d.ts +25 -208
  302. package/resources/email-domains.d.ts.map +1 -1
  303. package/resources/email-domains.js +12 -27
  304. package/resources/email-domains.js.map +1 -1
  305. package/resources/email-domains.mjs +12 -27
  306. package/resources/email-domains.mjs.map +1 -1
  307. package/resources/functions/functions.d.mts +67 -553
  308. package/resources/functions/functions.d.mts.map +1 -1
  309. package/resources/functions/functions.d.ts +67 -553
  310. package/resources/functions/functions.d.ts.map +1 -1
  311. package/resources/functions/functions.js +39 -82
  312. package/resources/functions/functions.js.map +1 -1
  313. package/resources/functions/functions.mjs +39 -82
  314. package/resources/functions/functions.mjs.map +1 -1
  315. package/resources/functions/git-link.d.mts +25 -240
  316. package/resources/functions/git-link.d.mts.map +1 -1
  317. package/resources/functions/git-link.d.ts +25 -240
  318. package/resources/functions/git-link.d.ts.map +1 -1
  319. package/resources/functions/git-link.js +16 -34
  320. package/resources/functions/git-link.js.map +1 -1
  321. package/resources/functions/git-link.mjs +16 -34
  322. package/resources/functions/git-link.mjs.map +1 -1
  323. package/resources/functions/index.js +1 -1
  324. package/resources/functions/index.js.map +1 -1
  325. package/resources/functions/index.mjs +1 -1
  326. package/resources/functions/index.mjs.map +1 -1
  327. package/resources/functions/secrets.d.mts +15 -47
  328. package/resources/functions/secrets.d.mts.map +1 -1
  329. package/resources/functions/secrets.d.ts +15 -47
  330. package/resources/functions/secrets.d.ts.map +1 -1
  331. package/resources/functions/secrets.js +11 -21
  332. package/resources/functions/secrets.js.map +1 -1
  333. package/resources/functions/secrets.mjs +11 -21
  334. package/resources/functions/secrets.mjs.map +1 -1
  335. package/resources/functions/triggers.d.mts +14 -123
  336. package/resources/functions/triggers.d.mts.map +1 -1
  337. package/resources/functions/triggers.d.ts +14 -123
  338. package/resources/functions/triggers.d.ts.map +1 -1
  339. package/resources/functions/triggers.js +7 -25
  340. package/resources/functions/triggers.js.map +1 -1
  341. package/resources/functions/triggers.mjs +7 -25
  342. package/resources/functions/triggers.mjs.map +1 -1
  343. package/resources/functions.js +1 -1
  344. package/resources/functions.js.map +1 -1
  345. package/resources/functions.mjs +1 -1
  346. package/resources/functions.mjs.map +1 -1
  347. package/resources/index.d.mts +1 -0
  348. package/resources/index.d.mts.map +1 -1
  349. package/resources/index.d.ts +1 -0
  350. package/resources/index.d.ts.map +1 -1
  351. package/resources/index.js +4 -2
  352. package/resources/index.js.map +1 -1
  353. package/resources/index.mjs +2 -1
  354. package/resources/index.mjs.map +1 -1
  355. package/resources/introspect.d.mts +15 -105
  356. package/resources/introspect.d.mts.map +1 -1
  357. package/resources/introspect.d.ts +15 -105
  358. package/resources/introspect.d.ts.map +1 -1
  359. package/resources/introspect.js +7 -13
  360. package/resources/introspect.js.map +1 -1
  361. package/resources/introspect.mjs +7 -13
  362. package/resources/introspect.mjs.map +1 -1
  363. package/resources/invitations/webhook.d.mts +57 -0
  364. package/resources/invitations/webhook.d.mts.map +1 -0
  365. package/resources/invitations/webhook.d.ts +57 -0
  366. package/resources/invitations/webhook.d.ts.map +1 -0
  367. package/resources/invitations/webhook.js +61 -0
  368. package/resources/invitations/webhook.js.map +1 -0
  369. package/resources/invitations/webhook.mjs +57 -0
  370. package/resources/invitations/webhook.mjs.map +1 -0
  371. package/resources/invitations.d.mts +27 -174
  372. package/resources/invitations.d.mts.map +1 -1
  373. package/resources/invitations.d.ts +27 -174
  374. package/resources/invitations.d.ts.map +1 -1
  375. package/resources/invitations.js +20 -30
  376. package/resources/invitations.js.map +1 -1
  377. package/resources/invitations.mjs +19 -30
  378. package/resources/invitations.mjs.map +1 -1
  379. package/resources/me.d.mts +9 -18
  380. package/resources/me.d.mts.map +1 -1
  381. package/resources/me.d.ts +9 -18
  382. package/resources/me.d.ts.map +1 -1
  383. package/resources/me.js +5 -1
  384. package/resources/me.js.map +1 -1
  385. package/resources/me.mjs +5 -1
  386. package/resources/me.mjs.map +1 -1
  387. package/resources/memory/collections/collections.d.mts +75 -0
  388. package/resources/memory/collections/collections.d.mts.map +1 -0
  389. package/resources/memory/collections/collections.d.ts +75 -0
  390. package/resources/memory/collections/collections.d.ts.map +1 -0
  391. package/resources/memory/collections/collections.js +79 -0
  392. package/resources/memory/collections/collections.js.map +1 -0
  393. package/resources/memory/collections/collections.mjs +74 -0
  394. package/resources/memory/collections/collections.mjs.map +1 -0
  395. package/resources/memory/collections/index.d.mts +3 -0
  396. package/resources/memory/collections/index.d.mts.map +1 -0
  397. package/resources/memory/collections/index.d.ts +3 -0
  398. package/resources/memory/collections/index.d.ts.map +1 -0
  399. package/resources/memory/collections/index.js +9 -0
  400. package/resources/memory/collections/index.js.map +1 -0
  401. package/resources/memory/collections/index.mjs +4 -0
  402. package/resources/memory/collections/index.mjs.map +1 -0
  403. package/resources/memory/collections/items.d.mts +88 -0
  404. package/resources/memory/collections/items.d.mts.map +1 -0
  405. package/resources/memory/collections/items.d.ts +88 -0
  406. package/resources/memory/collections/items.d.ts.map +1 -0
  407. package/resources/memory/collections/items.js +120 -0
  408. package/resources/memory/collections/items.js.map +1 -0
  409. package/resources/memory/collections/items.mjs +116 -0
  410. package/resources/memory/collections/items.mjs.map +1 -0
  411. package/resources/memory/collections.d.mts +2 -0
  412. package/resources/memory/collections.d.mts.map +1 -0
  413. package/resources/memory/collections.d.ts +2 -0
  414. package/resources/memory/collections.d.ts.map +1 -0
  415. package/resources/memory/collections.js +6 -0
  416. package/resources/memory/collections.js.map +1 -0
  417. package/resources/memory/collections.mjs +3 -0
  418. package/resources/memory/collections.mjs.map +1 -0
  419. package/resources/memory/index.d.mts +3 -0
  420. package/resources/memory/index.d.mts.map +1 -0
  421. package/resources/memory/index.d.ts +3 -0
  422. package/resources/memory/index.d.ts.map +1 -0
  423. package/resources/memory/index.js +9 -0
  424. package/resources/memory/index.js.map +1 -0
  425. package/resources/memory/index.mjs +4 -0
  426. package/resources/memory/index.mjs.map +1 -0
  427. package/resources/memory/memory.d.mts +111 -0
  428. package/resources/memory/memory.d.mts.map +1 -0
  429. package/resources/memory/memory.d.ts +111 -0
  430. package/resources/memory/memory.d.ts.map +1 -0
  431. package/resources/memory/memory.js +116 -0
  432. package/resources/memory/memory.js.map +1 -0
  433. package/resources/memory/memory.mjs +111 -0
  434. package/resources/memory/memory.mjs.map +1 -0
  435. package/resources/memory.d.mts +2 -0
  436. package/resources/memory.d.mts.map +1 -0
  437. package/resources/memory.d.ts +2 -0
  438. package/resources/memory.d.ts.map +1 -0
  439. package/resources/memory.js +6 -0
  440. package/resources/memory.js.map +1 -0
  441. package/resources/memory.mjs +3 -0
  442. package/resources/memory.mjs.map +1 -0
  443. package/resources/messages.d.mts +119 -561
  444. package/resources/messages.d.mts.map +1 -1
  445. package/resources/messages.d.ts +119 -561
  446. package/resources/messages.d.ts.map +1 -1
  447. package/resources/messages.js +98 -58
  448. package/resources/messages.js.map +1 -1
  449. package/resources/messages.mjs +98 -58
  450. package/resources/messages.mjs.map +1 -1
  451. package/resources/number-10dlc/brands.d.mts +44 -209
  452. package/resources/number-10dlc/brands.d.mts.map +1 -1
  453. package/resources/number-10dlc/brands.d.ts +44 -209
  454. package/resources/number-10dlc/brands.d.ts.map +1 -1
  455. package/resources/number-10dlc/brands.js +31 -64
  456. package/resources/number-10dlc/brands.js.map +1 -1
  457. package/resources/number-10dlc/brands.mjs +31 -64
  458. package/resources/number-10dlc/brands.mjs.map +1 -1
  459. package/resources/number-10dlc/campaigns/campaigns.d.mts +40 -183
  460. package/resources/number-10dlc/campaigns/campaigns.d.mts.map +1 -1
  461. package/resources/number-10dlc/campaigns/campaigns.d.ts +40 -183
  462. package/resources/number-10dlc/campaigns/campaigns.d.ts.map +1 -1
  463. package/resources/number-10dlc/campaigns/campaigns.js +27 -69
  464. package/resources/number-10dlc/campaigns/campaigns.js.map +1 -1
  465. package/resources/number-10dlc/campaigns/campaigns.mjs +27 -69
  466. package/resources/number-10dlc/campaigns/campaigns.mjs.map +1 -1
  467. package/resources/number-10dlc/campaigns/index.js +1 -1
  468. package/resources/number-10dlc/campaigns/index.js.map +1 -1
  469. package/resources/number-10dlc/campaigns/index.mjs +1 -1
  470. package/resources/number-10dlc/campaigns/index.mjs.map +1 -1
  471. package/resources/number-10dlc/campaigns/phone-numbers.d.mts +21 -56
  472. package/resources/number-10dlc/campaigns/phone-numbers.d.mts.map +1 -1
  473. package/resources/number-10dlc/campaigns/phone-numbers.d.ts +21 -56
  474. package/resources/number-10dlc/campaigns/phone-numbers.d.ts.map +1 -1
  475. package/resources/number-10dlc/campaigns/phone-numbers.js +15 -26
  476. package/resources/number-10dlc/campaigns/phone-numbers.js.map +1 -1
  477. package/resources/number-10dlc/campaigns/phone-numbers.mjs +15 -26
  478. package/resources/number-10dlc/campaigns/phone-numbers.mjs.map +1 -1
  479. package/resources/number-10dlc/campaigns.js +1 -1
  480. package/resources/number-10dlc/campaigns.js.map +1 -1
  481. package/resources/number-10dlc/campaigns.mjs +1 -1
  482. package/resources/number-10dlc/campaigns.mjs.map +1 -1
  483. package/resources/number-10dlc/index.js +1 -1
  484. package/resources/number-10dlc/index.js.map +1 -1
  485. package/resources/number-10dlc/index.mjs +1 -1
  486. package/resources/number-10dlc/index.mjs.map +1 -1
  487. package/resources/number-10dlc/number-10dlc.d.mts +3 -4
  488. package/resources/number-10dlc/number-10dlc.d.mts.map +1 -1
  489. package/resources/number-10dlc/number-10dlc.d.ts +3 -4
  490. package/resources/number-10dlc/number-10dlc.d.ts.map +1 -1
  491. package/resources/number-10dlc/number-10dlc.js +1 -5
  492. package/resources/number-10dlc/number-10dlc.js.map +1 -1
  493. package/resources/number-10dlc/number-10dlc.mjs +1 -5
  494. package/resources/number-10dlc/number-10dlc.mjs.map +1 -1
  495. package/resources/number-10dlc.js +1 -1
  496. package/resources/number-10dlc.js.map +1 -1
  497. package/resources/number-10dlc.mjs +1 -1
  498. package/resources/number-10dlc.mjs.map +1 -1
  499. package/resources/phone-numbers.d.mts +95 -234
  500. package/resources/phone-numbers.d.mts.map +1 -1
  501. package/resources/phone-numbers.d.ts +95 -234
  502. package/resources/phone-numbers.d.ts.map +1 -1
  503. package/resources/phone-numbers.js +74 -54
  504. package/resources/phone-numbers.js.map +1 -1
  505. package/resources/phone-numbers.mjs +74 -54
  506. package/resources/phone-numbers.mjs.map +1 -1
  507. package/resources/regulatory-documents.d.mts +24 -78
  508. package/resources/regulatory-documents.d.mts.map +1 -1
  509. package/resources/regulatory-documents.d.ts +24 -78
  510. package/resources/regulatory-documents.d.ts.map +1 -1
  511. package/resources/regulatory-documents.js +16 -33
  512. package/resources/regulatory-documents.js.map +1 -1
  513. package/resources/regulatory-documents.mjs +16 -33
  514. package/resources/regulatory-documents.mjs.map +1 -1
  515. package/resources/senders/agent/agent.d.mts +44 -496
  516. package/resources/senders/agent/agent.d.mts.map +1 -1
  517. package/resources/senders/agent/agent.d.ts +44 -496
  518. package/resources/senders/agent/agent.d.ts.map +1 -1
  519. package/resources/senders/agent/agent.js +24 -49
  520. package/resources/senders/agent/agent.js.map +1 -1
  521. package/resources/senders/agent/agent.mjs +24 -49
  522. package/resources/senders/agent/agent.mjs.map +1 -1
  523. package/resources/senders/agent/executions.d.mts +13 -33
  524. package/resources/senders/agent/executions.d.mts.map +1 -1
  525. package/resources/senders/agent/executions.d.ts +13 -33
  526. package/resources/senders/agent/executions.d.ts.map +1 -1
  527. package/resources/senders/agent/executions.js +7 -18
  528. package/resources/senders/agent/executions.js.map +1 -1
  529. package/resources/senders/agent/executions.mjs +7 -18
  530. package/resources/senders/agent/executions.mjs.map +1 -1
  531. package/resources/senders/agent/flows.d.mts +34 -188
  532. package/resources/senders/agent/flows.d.mts.map +1 -1
  533. package/resources/senders/agent/flows.d.ts +34 -188
  534. package/resources/senders/agent/flows.d.ts.map +1 -1
  535. package/resources/senders/agent/flows.js +19 -69
  536. package/resources/senders/agent/flows.js.map +1 -1
  537. package/resources/senders/agent/flows.mjs +19 -69
  538. package/resources/senders/agent/flows.mjs.map +1 -1
  539. package/resources/senders/agent/index.js +1 -1
  540. package/resources/senders/agent/index.js.map +1 -1
  541. package/resources/senders/agent/index.mjs +1 -1
  542. package/resources/senders/agent/index.mjs.map +1 -1
  543. package/resources/senders/agent/knowledge-bases/documents.d.mts +27 -105
  544. package/resources/senders/agent/knowledge-bases/documents.d.mts.map +1 -1
  545. package/resources/senders/agent/knowledge-bases/documents.d.ts +27 -105
  546. package/resources/senders/agent/knowledge-bases/documents.d.ts.map +1 -1
  547. package/resources/senders/agent/knowledge-bases/documents.js +16 -47
  548. package/resources/senders/agent/knowledge-bases/documents.js.map +1 -1
  549. package/resources/senders/agent/knowledge-bases/documents.mjs +16 -47
  550. package/resources/senders/agent/knowledge-bases/documents.mjs.map +1 -1
  551. package/resources/senders/agent/knowledge-bases/index.js +1 -1
  552. package/resources/senders/agent/knowledge-bases/index.js.map +1 -1
  553. package/resources/senders/agent/knowledge-bases/index.mjs +1 -1
  554. package/resources/senders/agent/knowledge-bases/index.mjs.map +1 -1
  555. package/resources/senders/agent/knowledge-bases/knowledge-bases.d.mts +32 -113
  556. package/resources/senders/agent/knowledge-bases/knowledge-bases.d.mts.map +1 -1
  557. package/resources/senders/agent/knowledge-bases/knowledge-bases.d.ts +32 -113
  558. package/resources/senders/agent/knowledge-bases/knowledge-bases.d.ts.map +1 -1
  559. package/resources/senders/agent/knowledge-bases/knowledge-bases.js +17 -46
  560. package/resources/senders/agent/knowledge-bases/knowledge-bases.js.map +1 -1
  561. package/resources/senders/agent/knowledge-bases/knowledge-bases.mjs +17 -46
  562. package/resources/senders/agent/knowledge-bases/knowledge-bases.mjs.map +1 -1
  563. package/resources/senders/agent/knowledge-bases.js +1 -1
  564. package/resources/senders/agent/knowledge-bases.js.map +1 -1
  565. package/resources/senders/agent/knowledge-bases.mjs +1 -1
  566. package/resources/senders/agent/knowledge-bases.mjs.map +1 -1
  567. package/resources/senders/agent/tools/index.js +1 -1
  568. package/resources/senders/agent/tools/index.js.map +1 -1
  569. package/resources/senders/agent/tools/index.mjs +1 -1
  570. package/resources/senders/agent/tools/index.mjs.map +1 -1
  571. package/resources/senders/agent/tools/tools.d.mts +47 -280
  572. package/resources/senders/agent/tools/tools.d.mts.map +1 -1
  573. package/resources/senders/agent/tools/tools.d.ts +47 -280
  574. package/resources/senders/agent/tools/tools.d.ts.map +1 -1
  575. package/resources/senders/agent/tools/tools.js +25 -75
  576. package/resources/senders/agent/tools/tools.js.map +1 -1
  577. package/resources/senders/agent/tools/tools.mjs +25 -75
  578. package/resources/senders/agent/tools/tools.mjs.map +1 -1
  579. package/resources/senders/agent/tools/webhook.d.mts +6 -12
  580. package/resources/senders/agent/tools/webhook.d.mts.map +1 -1
  581. package/resources/senders/agent/tools/webhook.d.ts +6 -12
  582. package/resources/senders/agent/tools/webhook.d.ts.map +1 -1
  583. package/resources/senders/agent/tools/webhook.js +4 -9
  584. package/resources/senders/agent/tools/webhook.js.map +1 -1
  585. package/resources/senders/agent/tools/webhook.mjs +4 -9
  586. package/resources/senders/agent/tools/webhook.mjs.map +1 -1
  587. package/resources/senders/agent/tools.js +1 -1
  588. package/resources/senders/agent/tools.js.map +1 -1
  589. package/resources/senders/agent/tools.mjs +1 -1
  590. package/resources/senders/agent/tools.mjs.map +1 -1
  591. package/resources/senders/agent.js +1 -1
  592. package/resources/senders/agent.js.map +1 -1
  593. package/resources/senders/agent.mjs +1 -1
  594. package/resources/senders/agent.mjs.map +1 -1
  595. package/resources/senders/channels.d.mts +61 -0
  596. package/resources/senders/channels.d.mts.map +1 -0
  597. package/resources/senders/channels.d.ts +61 -0
  598. package/resources/senders/channels.d.ts.map +1 -0
  599. package/resources/senders/channels.js +60 -0
  600. package/resources/senders/channels.js.map +1 -0
  601. package/resources/senders/channels.mjs +56 -0
  602. package/resources/senders/channels.mjs.map +1 -0
  603. package/resources/senders/index.d.mts +1 -0
  604. package/resources/senders/index.d.mts.map +1 -1
  605. package/resources/senders/index.d.ts +1 -0
  606. package/resources/senders/index.d.ts.map +1 -1
  607. package/resources/senders/index.js +4 -2
  608. package/resources/senders/index.js.map +1 -1
  609. package/resources/senders/index.mjs +2 -1
  610. package/resources/senders/index.mjs.map +1 -1
  611. package/resources/senders/senders.d.mts +53 -514
  612. package/resources/senders/senders.d.mts.map +1 -1
  613. package/resources/senders/senders.d.ts +53 -514
  614. package/resources/senders/senders.d.ts.map +1 -1
  615. package/resources/senders/senders.js +30 -70
  616. package/resources/senders/senders.js.map +1 -1
  617. package/resources/senders/senders.mjs +30 -70
  618. package/resources/senders/senders.mjs.map +1 -1
  619. package/resources/senders/telegram.d.mts +10 -25
  620. package/resources/senders/telegram.d.mts.map +1 -1
  621. package/resources/senders/telegram.d.ts +10 -25
  622. package/resources/senders/telegram.d.ts.map +1 -1
  623. package/resources/senders/telegram.js +7 -12
  624. package/resources/senders/telegram.js.map +1 -1
  625. package/resources/senders/telegram.mjs +7 -12
  626. package/resources/senders/telegram.mjs.map +1 -1
  627. package/resources/senders/whatsapp-sync.d.mts +16 -104
  628. package/resources/senders/whatsapp-sync.d.mts.map +1 -1
  629. package/resources/senders/whatsapp-sync.d.ts +16 -104
  630. package/resources/senders/whatsapp-sync.d.ts.map +1 -1
  631. package/resources/senders/whatsapp-sync.js +10 -20
  632. package/resources/senders/whatsapp-sync.js.map +1 -1
  633. package/resources/senders/whatsapp-sync.mjs +10 -20
  634. package/resources/senders/whatsapp-sync.mjs.map +1 -1
  635. package/resources/senders.js +1 -1
  636. package/resources/senders.js.map +1 -1
  637. package/resources/senders.mjs +1 -1
  638. package/resources/senders.mjs.map +1 -1
  639. package/resources/sub-accounts/api-keys.d.mts +16 -57
  640. package/resources/sub-accounts/api-keys.d.mts.map +1 -1
  641. package/resources/sub-accounts/api-keys.d.ts +16 -57
  642. package/resources/sub-accounts/api-keys.d.ts.map +1 -1
  643. package/resources/sub-accounts/api-keys.js +10 -18
  644. package/resources/sub-accounts/api-keys.js.map +1 -1
  645. package/resources/sub-accounts/api-keys.mjs +10 -18
  646. package/resources/sub-accounts/api-keys.mjs.map +1 -1
  647. package/resources/sub-accounts/index.js +1 -1
  648. package/resources/sub-accounts/index.js.map +1 -1
  649. package/resources/sub-accounts/index.mjs +1 -1
  650. package/resources/sub-accounts/index.mjs.map +1 -1
  651. package/resources/sub-accounts/sub-accounts.d.mts +33 -125
  652. package/resources/sub-accounts/sub-accounts.d.mts.map +1 -1
  653. package/resources/sub-accounts/sub-accounts.d.ts +33 -125
  654. package/resources/sub-accounts/sub-accounts.d.ts.map +1 -1
  655. package/resources/sub-accounts/sub-accounts.js +20 -33
  656. package/resources/sub-accounts/sub-accounts.js.map +1 -1
  657. package/resources/sub-accounts/sub-accounts.mjs +20 -33
  658. package/resources/sub-accounts/sub-accounts.mjs.map +1 -1
  659. package/resources/sub-accounts.js +1 -1
  660. package/resources/sub-accounts.js.map +1 -1
  661. package/resources/sub-accounts.mjs +1 -1
  662. package/resources/sub-accounts.mjs.map +1 -1
  663. package/resources/templates.d.mts +46 -302
  664. package/resources/templates.d.mts.map +1 -1
  665. package/resources/templates.d.ts +46 -302
  666. package/resources/templates.d.ts.map +1 -1
  667. package/resources/templates.js +34 -51
  668. package/resources/templates.js.map +1 -1
  669. package/resources/templates.mjs +34 -51
  670. package/resources/templates.mjs.map +1 -1
  671. package/resources/urls.d.mts +27 -78
  672. package/resources/urls.d.mts.map +1 -1
  673. package/resources/urls.d.ts +27 -78
  674. package/resources/urls.d.ts.map +1 -1
  675. package/resources/urls.js +18 -28
  676. package/resources/urls.js.map +1 -1
  677. package/resources/urls.mjs +18 -28
  678. package/resources/urls.mjs.map +1 -1
  679. package/resources.d.mts.map +1 -1
  680. package/resources.d.ts.map +1 -1
  681. package/resources.js +1 -0
  682. package/resources.js.map +1 -1
  683. package/resources.mjs +1 -0
  684. package/resources.mjs.map +1 -1
  685. package/src/client.ts +273 -233
  686. package/src/core/api-promise.ts +0 -2
  687. package/src/core/error.ts +0 -2
  688. package/src/core/pagination.ts +0 -2
  689. package/src/core/resource.ts +0 -2
  690. package/src/index.ts +0 -2
  691. package/src/internal/builtin-types.ts +0 -2
  692. package/src/internal/detect-platform.ts +0 -2
  693. package/src/internal/errors.ts +0 -2
  694. package/src/internal/headers.ts +0 -2
  695. package/src/internal/parse.ts +0 -2
  696. package/src/internal/qs/LICENSE.md +13 -0
  697. package/src/internal/qs/README.md +3 -0
  698. package/src/internal/qs/formats.ts +10 -0
  699. package/src/internal/qs/index.ts +13 -0
  700. package/src/internal/qs/stringify.ts +385 -0
  701. package/src/internal/qs/types.ts +71 -0
  702. package/src/internal/qs/utils.ts +265 -0
  703. package/src/internal/request-options.ts +0 -2
  704. package/src/internal/shim-types.ts +0 -2
  705. package/src/internal/shims.ts +0 -2
  706. package/src/internal/types.ts +0 -2
  707. package/src/internal/utils/base64.ts +0 -2
  708. package/src/internal/utils/env.ts +0 -2
  709. package/src/internal/utils/log.ts +0 -2
  710. package/src/internal/utils/query.ts +2 -20
  711. package/src/internal/utils/sleep.ts +0 -2
  712. package/src/internal/utils/uuid.ts +0 -2
  713. package/src/internal/utils/values.ts +0 -2
  714. package/src/internal/utils.ts +0 -2
  715. package/src/resources/addresses.ts +28 -97
  716. package/src/resources/agent-templates.ts +18 -89
  717. package/src/resources/agents/agents.ts +58 -472
  718. package/src/resources/agents/index.ts +1 -1
  719. package/src/resources/agents/senders.ts +11 -33
  720. package/src/resources/agents.ts +1 -1
  721. package/src/resources/balance.ts +7 -24
  722. package/src/resources/broadcasts/broadcasts.ts +97 -490
  723. package/src/resources/broadcasts/contacts.ts +20 -114
  724. package/src/resources/broadcasts/index.ts +1 -1
  725. package/src/resources/broadcasts.ts +1 -1
  726. package/src/resources/calls.ts +41 -551
  727. package/src/resources/contacts/channels.ts +21 -104
  728. package/src/resources/contacts/contacts.ts +41 -273
  729. package/src/resources/contacts/index.ts +1 -1
  730. package/src/resources/contacts.ts +1 -1
  731. package/src/resources/conversations.ts +33 -387
  732. package/src/resources/email-domains.ts +26 -253
  733. package/src/resources/functions/functions.ts +83 -669
  734. package/src/resources/functions/git-link.ts +26 -301
  735. package/src/resources/functions/index.ts +1 -1
  736. package/src/resources/functions/secrets.ts +16 -55
  737. package/src/resources/functions/triggers.ts +15 -149
  738. package/src/resources/functions.ts +1 -1
  739. package/src/resources/index.ts +21 -1
  740. package/src/resources/introspect.ts +16 -136
  741. package/src/resources/invitations/webhook.ts +93 -0
  742. package/src/resources/invitations.ts +45 -201
  743. package/src/resources/me.ts +10 -28
  744. package/src/resources/memory/collections/collections.ts +149 -0
  745. package/src/resources/memory/collections/index.ts +30 -0
  746. package/src/resources/memory/collections/items.ts +185 -0
  747. package/src/resources/memory/collections.ts +3 -0
  748. package/src/resources/memory/index.ts +34 -0
  749. package/src/resources/memory/memory.ts +211 -0
  750. package/src/resources/memory.ts +3 -0
  751. package/src/resources/messages.ts +119 -678
  752. package/src/resources/number-10dlc/brands.ts +45 -268
  753. package/src/resources/number-10dlc/campaigns/campaigns.ts +47 -246
  754. package/src/resources/number-10dlc/campaigns/index.ts +1 -1
  755. package/src/resources/number-10dlc/campaigns/phone-numbers.ts +31 -64
  756. package/src/resources/number-10dlc/campaigns.ts +1 -1
  757. package/src/resources/number-10dlc/index.ts +1 -1
  758. package/src/resources/number-10dlc/number-10dlc.ts +23 -29
  759. package/src/resources/number-10dlc.ts +1 -1
  760. package/src/resources/phone-numbers.ts +96 -275
  761. package/src/resources/regulatory-documents.ts +25 -106
  762. package/src/resources/senders/agent/agent.ts +91 -662
  763. package/src/resources/senders/agent/executions.ts +14 -35
  764. package/src/resources/senders/agent/flows.ts +35 -213
  765. package/src/resources/senders/agent/index.ts +1 -1
  766. package/src/resources/senders/agent/knowledge-bases/documents.ts +28 -114
  767. package/src/resources/senders/agent/knowledge-bases/index.ts +1 -1
  768. package/src/resources/senders/agent/knowledge-bases/knowledge-bases.ts +42 -143
  769. package/src/resources/senders/agent/knowledge-bases.ts +1 -1
  770. package/src/resources/senders/agent/tools/index.ts +1 -1
  771. package/src/resources/senders/agent/tools/tools.ts +48 -318
  772. package/src/resources/senders/agent/tools/webhook.ts +7 -13
  773. package/src/resources/senders/agent/tools.ts +1 -1
  774. package/src/resources/senders/agent.ts +1 -1
  775. package/src/resources/senders/channels.ts +95 -0
  776. package/src/resources/senders/index.ts +11 -1
  777. package/src/resources/senders/senders.ts +86 -634
  778. package/src/resources/senders/telegram.ts +11 -29
  779. package/src/resources/senders/whatsapp-sync.ts +17 -115
  780. package/src/resources/senders.ts +1 -1
  781. package/src/resources/sub-accounts/api-keys.ts +17 -73
  782. package/src/resources/sub-accounts/index.ts +1 -1
  783. package/src/resources/sub-accounts/sub-accounts.ts +38 -147
  784. package/src/resources/sub-accounts.ts +1 -1
  785. package/src/resources/templates.ts +47 -358
  786. package/src/resources/urls.ts +28 -86
  787. package/src/resources.ts +2 -0
  788. package/src/types.ts +5464 -0
  789. package/src/version.ts +3 -1
  790. package/types.d.mts +4901 -0
  791. package/types.d.mts.map +1 -0
  792. package/types.d.ts +4901 -0
  793. package/types.d.ts.map +1 -0
  794. package/types.js +4 -0
  795. package/types.js.map +1 -0
  796. package/types.mjs +3 -0
  797. package/types.mjs.map +1 -0
  798. package/version.d.mts +1 -1
  799. package/version.d.mts.map +1 -1
  800. package/version.d.ts +1 -1
  801. package/version.d.ts.map +1 -1
  802. package/version.js +2 -1
  803. package/version.js.map +1 -1
  804. package/version.mjs +2 -1
  805. package/version.mjs.map +1 -1
  806. package/src/lib/.keep +0 -4
@@ -1,71 +1,60 @@
1
1
  import { APIResource } from "../../../core/resource.js";
2
+ import { APIPromise } from "../../../core/api-promise.js";
3
+ import { Cursor } from "../../../core/pagination.js";
4
+ import { RequestOptions } from "../../../internal/request-options.js";
5
+ import type * as T from "../../../types.js";
2
6
  import * as ExecutionsAPI from "./executions.js";
3
- import { ExecutionListParams, ExecutionRetrieveParams, ExecutionRetrieveResponse, Executions } from "./executions.js";
4
7
  import * as FlowsAPI from "./flows.js";
5
- import { AgentFlow, AgentFlowsCursor, FlowCreateParams, FlowCreateResponse, FlowDeleteParams, FlowDuplicateParams, FlowDuplicateResponse, FlowListParams, FlowRetrieveParams, FlowRetrieveResponse, FlowStep, FlowTrigger, FlowUpdateParams, FlowUpdateResponse, Flows } from "./flows.js";
6
8
  import * as KnowledgeBasesAPI from "./knowledge-bases/knowledge-bases.js";
7
- import { AgentDocument, AgentKnowledgeBase, AgentKnowledgeBasesCursor, KnowledgeBaseCreateParams, KnowledgeBaseCreateResponse, KnowledgeBaseDeleteParams, KnowledgeBaseListParams, KnowledgeBaseRetrieveParams, KnowledgeBaseRetrieveResponse, KnowledgeBaseUpdateParams, KnowledgeBaseUpdateResponse, KnowledgeBases } from "./knowledge-bases/knowledge-bases.js";
8
9
  import * as ToolsAPI from "./tools/tools.js";
9
- import { AgentTool, AgentToolsCursor, ToolCreateParams, ToolCreateResponse, ToolDeleteParams, ToolListParams, ToolListTestRunsParams, ToolListTestRunsResponse, ToolParameters, ToolRetrieveParams, ToolRetrieveResponse, ToolTestParams, ToolTestResponse, ToolUpdateParams, ToolUpdateResponse, Tools } from "./tools/tools.js";
10
- import { APIPromise } from "../../../core/api-promise.js";
11
- import { Cursor } from "../../../core/pagination.js";
12
- import { RequestOptions } from "../../../internal/request-options.js";
10
+ import { Executions, type ExecutionRetrieveResponse, type ExecutionRetrieveParams, type ExecutionListParams } from "./executions.js";
11
+ import { Flows, type AgentFlow, type FlowStep, type FlowTrigger, type FlowCreateResponse, type FlowRetrieveResponse, type FlowUpdateResponse, type FlowDuplicateResponse, type AgentFlowsCursor, type FlowCreateParams, type FlowRetrieveParams, type FlowUpdateParams, type FlowListParams, type FlowDeleteParams, type FlowDuplicateParams } from "./flows.js";
12
+ import { Tools, type AgentTool, type ToolParameters, type ToolCreateResponse, type ToolRetrieveResponse, type ToolUpdateResponse, type ToolListTestRunsResponse, type ToolTestResponse, type AgentToolsCursor, type ToolCreateParams, type ToolRetrieveParams, type ToolUpdateParams, type ToolListParams, type ToolDeleteParams, type ToolListTestRunsParams, type ToolTestParams } from "./tools/tools.js";
13
+ import { KnowledgeBases, type AgentDocument, type AgentKnowledgeBase, type KnowledgeBaseCreateResponse, type KnowledgeBaseRetrieveResponse, type KnowledgeBaseUpdateResponse, type AgentKnowledgeBasesCursor, type KnowledgeBaseCreateParams, type KnowledgeBaseRetrieveParams, type KnowledgeBaseUpdateParams, type KnowledgeBaseListParams, type KnowledgeBaseDeleteParams } from "./knowledge-bases/knowledge-bases.js";
13
14
  export declare class AgentResource extends APIResource {
14
15
  executions: ExecutionsAPI.Executions;
15
16
  flows: FlowsAPI.Flows;
16
- tools: ToolsAPI.Tools;
17
17
  knowledgeBases: KnowledgeBasesAPI.KnowledgeBases;
18
+ tools: ToolsAPI.Tools;
18
19
  /**
20
+ * Create agent
21
+ *
19
22
  * Create an AI agent for a sender. Each sender can have at most one agent.
20
23
  *
21
- * @example
22
- * ```ts
23
- * const agentResponse = await client.senders.agent.create(
24
- * 'senderId',
25
- * {
26
- * model: 'gpt-4o-mini',
27
- * name: 'Customer Support',
28
- * provider: 'openai',
29
- * systemPrompt:
30
- * 'You are a helpful customer support agent. Be friendly and concise.',
31
- * apiKey: 'sk-...',
32
- * },
33
- * );
34
- * ```
24
+ * `POST /v1/senders/{senderId}/agent`
35
25
  */
36
26
  create(senderID: string, body: AgentCreateParams, options?: RequestOptions): APIPromise<AgentResponse>;
37
27
  /**
28
+ * Get agent
29
+ *
38
30
  * Get the AI agent configuration for a sender.
39
31
  *
40
- * @example
41
- * ```ts
42
- * const agentResponse = await client.senders.agent.retrieve(
43
- * 'senderId',
44
- * );
45
- * ```
32
+ * `GET /v1/senders/{senderId}/agent`
46
33
  */
47
34
  retrieve(senderID: string, options?: RequestOptions): APIPromise<AgentResponse>;
48
35
  /**
36
+ * Update agent
37
+ *
49
38
  * Update an AI agent's configuration.
50
39
  *
51
- * @example
52
- * ```ts
53
- * const agentResponse = await client.senders.agent.update(
54
- * 'senderId',
55
- * );
56
- * ```
40
+ * `PATCH /v1/senders/{senderId}/agent`
57
41
  */
58
42
  update(senderID: string, body: AgentUpdateParams, options?: RequestOptions): APIPromise<AgentResponse>;
59
43
  /**
60
- * Delete an AI agent.
44
+ * Delete agent
45
+ *
46
+ * Delete the agent created on this sender. A sender that is only connected to an
47
+ * agent through `POST /v1/agents/{agentId}/senders` is refused with `409`:
48
+ * deleting there would remove the agent from every sender it answers on.
49
+ * Disconnect it with `DELETE /v1/agents/{agentId}/senders/{senderId}`, or delete
50
+ * the agent with `DELETE /v1/agents/{agentId}`.
61
51
  *
62
- * @example
63
- * ```ts
64
- * await client.senders.agent.delete('senderId');
65
- * ```
52
+ * `DELETE /v1/senders/{senderId}/agent`
66
53
  */
67
54
  delete(senderID: string, options?: RequestOptions): APIPromise<void>;
68
55
  /**
56
+ * Get agent statistics
57
+ *
69
58
  * Get statistics for an AI agent including invocations, tokens, and costs.
70
59
  *
71
60
  * Covers the messaging channels only. Voice calls are not counted here: a call is
@@ -74,472 +63,31 @@ export declare class AgentResource extends APIResource {
74
63
  * reports zeros on every field. Use `GET /v1/calls` for voice activity, duration,
75
64
  * and cost.
76
65
  *
77
- * @example
78
- * ```ts
79
- * const agentStats = await client.senders.agent.stats(
80
- * 'senderId',
81
- * );
82
- * ```
66
+ * `GET /v1/senders/{senderId}/agent/stats`
83
67
  */
84
68
  stats(senderID: string, options?: RequestOptions): APIPromise<AgentStats>;
85
69
  }
86
- export type AgentExecutionsCursor = Cursor<AgentExecution>;
87
- export type AgentsCursor = Cursor<Agent>;
88
- /**
89
- * AI Agent configuration for a sender.
90
- */
91
- export interface Agent {
92
- id: string;
93
- createdAt: string;
94
- /**
95
- * Whether the agent is active.
96
- */
97
- enabled: boolean;
98
- /**
99
- * Model ID (e.g., gpt-4o-mini, claude-3-5-sonnet).
100
- */
101
- model: string;
102
- name: string;
103
- /**
104
- * LLM provider for the AI agent.
105
- */
106
- provider: AgentProvider;
107
- senderId: string;
108
- /**
109
- * System prompt for the agent.
110
- */
111
- systemPrompt: string;
112
- updatedAt: string;
113
- /**
114
- * Number of previous messages to include as context.
115
- */
116
- contextWindowMessages?: number;
117
- /**
118
- * Whether to include contact metadata in context.
119
- */
120
- includeContactMetadata?: boolean;
121
- /**
122
- * Maximum tokens for LLM response.
123
- */
124
- maxTokens?: number | null;
125
- /**
126
- * Senders this agent answers on. An agent can serve several; `senderId` remains
127
- * the primary one, for compatibility.
128
- */
129
- senderIds?: Array<string>;
130
- stats?: Agent.Stats;
131
- /**
132
- * LLM temperature (0-2).
133
- */
134
- temperature?: number | null;
135
- /**
136
- * Channels that trigger the agent.
137
- */
138
- triggerOnChannels?: Array<string>;
139
- /**
140
- * Message types that trigger the agent.
141
- */
142
- triggerOnMessageTypes?: Array<string>;
143
- /**
144
- * Voice Agent configuration. When present and enabled, the agent can answer
145
- * inbound phone calls and place outbound calls with Zavu's managed voice pipeline.
146
- * Requires the Voice Agents feature to be enabled for your team.
147
- */
148
- voice?: Agent.Voice;
149
- }
70
+ export type AgentExecutionsCursor = Cursor<T.AgentExecution>;
71
+ export type AgentsCursor = Cursor<T.Agent>;
72
+ export type Agent = T.Agent;
150
73
  export declare namespace Agent {
151
- interface Stats {
152
- /**
153
- * Total cost in USD.
154
- */
155
- totalCost?: number;
156
- totalInvocations?: number;
157
- totalTokensUsed?: number;
158
- }
159
- /**
160
- * Voice Agent configuration. When present and enabled, the agent can answer
161
- * inbound phone calls and place outbound calls with Zavu's managed voice pipeline.
162
- * Requires the Voice Agents feature to be enabled for your team.
163
- */
164
- interface Voice {
165
- /**
166
- * Whether the agent handles voice calls. When false, the sender's number is not
167
- * answered by the voice agent and outbound calls are rejected.
168
- */
169
- enabled: boolean;
170
- /**
171
- * Opening line the agent speaks when the call connects. If omitted, the agent
172
- * waits for the caller to speak first.
173
- */
174
- greeting?: string;
175
- /**
176
- * Greeting per language, keyed by language code. Used when the caller's language
177
- * differs from the one `greeting` is written in.
178
- */
179
- greetings?: {
180
- [key: string]: string;
181
- };
182
- /**
183
- * Whether the caller can interrupt the agent while it is speaking (barge-in). When
184
- * true, the agent stops talking as soon as the caller starts.
185
- */
186
- interruptible?: boolean;
187
- /**
188
- * BCP-47 language code used for both speech recognition and speech synthesis (e.g.
189
- * `en`, `es`, `pt-BR`). Auto-detected from the recipient when omitted.
190
- */
191
- language?: string;
192
- /**
193
- * Hard limit on call length in minutes. The call ends automatically when reached.
194
- */
195
- maxCallDurationMinutes?: number;
196
- /**
197
- * How long the agent waits during silence before ending the call.
198
- */
199
- maxIdleSeconds?: number;
200
- /**
201
- * Model that runs the conversation, co-located in the voice network for lowest
202
- * latency. Independent of the model used for text messaging. Derived from the
203
- * agent's text model when omitted.
204
- */
205
- model?: string;
206
- /**
207
- * Whether the call audio is recorded.
208
- */
209
- recordCalls?: boolean;
210
- /**
211
- * Speech-recognition model. Uses the default when omitted.
212
- */
213
- sttModel?: string;
214
- /**
215
- * Speech-recognition provider. Uses the default when omitted.
216
- */
217
- sttProvider?: string;
218
- /**
219
- * E.164 phone number the agent can transfer the call to. When set, the agent is
220
- * given a transfer tool it can use to hand the call to a human.
221
- */
222
- transferPhoneNumber?: string;
223
- /**
224
- * Speech-synthesis provider. Uses the default when omitted.
225
- */
226
- ttsProvider?: string;
227
- /**
228
- * Identifier of the synthesized voice that speaks. Choose from the voices
229
- * available in the dashboard. Uses a neutral default when omitted.
230
- */
231
- ttsVoiceId?: string;
232
- /**
233
- * What the agent does when an answering machine or voicemail is detected on an
234
- * outbound call.
235
- */
236
- voicemailAction?: 'hangup' | 'leave_message';
237
- /**
238
- * Message spoken when `voicemailAction` is `leave_message`. Falls back to
239
- * `greeting` when omitted.
240
- */
241
- voicemailMessage?: string;
242
- /**
243
- * Speech rate. 1.0 is natural. Only honoured by voices that support rate control;
244
- * ignored by the others.
245
- */
246
- voiceSpeed?: number;
247
- }
248
- }
249
- export interface AgentExecution {
250
- id: string;
251
- agentId: string;
252
- /**
253
- * Cost in USD.
254
- */
255
- cost: number;
256
- createdAt: string;
257
- inputTokens: number;
258
- latencyMs: number;
259
- outputTokens: number;
260
- /**
261
- * Status of an agent execution.
262
- */
263
- status: AgentExecutionStatus;
264
- errorMessage?: string | null;
265
- inboundMessageId?: string;
266
- /**
267
- * Knowledge-base chunks retrieved for this answer. Zero on an agent that has
268
- * documents attached means the reply was not grounded in them, which is otherwise
269
- * indistinguishable from a correct answer in this record. Absent on executions
270
- * recorded before this field existed, which is not the same as zero.
271
- */
272
- knowledgeChunksUsed?: number | null;
273
- responseMessageId?: string | null;
274
- responseText?: string | null;
275
- /**
276
- * Tools the agent called while producing this reply. Zero on an agent that has
277
- * tools configured means it answered without calling any — the case where a reply
278
- * says it will look something up and nothing ever reaches your endpoint. Absent on
279
- * executions recorded before this field existed, which is not the same as zero.
280
- */
281
- toolCalls?: number | null;
282
- }
283
- /**
284
- * Status of an agent execution.
285
- */
286
- export type AgentExecutionStatus = 'success' | 'error' | 'filtered' | 'rate_limited' | 'balance_insufficient';
287
- /**
288
- * LLM provider for the AI agent.
289
- */
290
- export type AgentProvider = 'openai' | 'anthropic' | 'google' | 'mistral' | 'zavu';
291
- export interface AgentResponse {
292
- /**
293
- * AI Agent configuration for a sender.
294
- */
295
- agent: Agent;
296
- }
297
- export interface AgentStats {
298
- errorCount: number;
299
- successCount: number;
300
- /**
301
- * Total cost in USD.
302
- */
303
- totalCost: number;
304
- totalInvocations: number;
305
- totalTokensUsed: number;
306
- avgLatencyMs?: number | null;
307
- }
308
- export interface AgentCreateParams {
309
- model: string;
310
- name: string;
311
- /**
312
- * LLM provider for the AI agent.
313
- */
314
- provider: AgentProvider;
315
- systemPrompt: string;
316
- /**
317
- * API key for the LLM provider. Required unless provider is 'zavu'.
318
- */
319
- apiKey?: string;
320
- contextWindowMessages?: number;
321
- includeContactMetadata?: boolean;
322
- maxTokens?: number;
323
- temperature?: number;
324
- triggerOnChannels?: Array<string>;
325
- triggerOnMessageTypes?: Array<string>;
326
- /**
327
- * Voice Agent configuration. Enable this to let the agent answer and place phone
328
- * calls with Zavu's managed voice pipeline. Requires the Voice Agents feature to
329
- * be enabled for your team.
330
- */
331
- voice?: AgentCreateParams.Voice;
74
+ type Stats = T.AgentStatsTotals;
75
+ type Voice = T.AgentVoiceConfig;
332
76
  }
77
+ export type AgentExecution = T.AgentExecution;
78
+ export type AgentExecutionStatus = T.AgentExecutionStatus;
79
+ export type AgentProvider = T.AgentProvider;
80
+ export type AgentResponse = T.AgentResponse;
81
+ export type AgentStats = T.AgentStats;
82
+ export type AgentCreateParams = T.SendersAgentCreateParams;
333
83
  export declare namespace AgentCreateParams {
334
- /**
335
- * Voice Agent configuration. Enable this to let the agent answer and place phone
336
- * calls with Zavu's managed voice pipeline. Requires the Voice Agents feature to
337
- * be enabled for your team.
338
- */
339
- interface Voice {
340
- /**
341
- * Whether the agent handles voice calls. When false, the sender's number is not
342
- * answered by the voice agent and outbound calls are rejected.
343
- */
344
- enabled: boolean;
345
- /**
346
- * Opening line the agent speaks when the call connects. If omitted, the agent
347
- * waits for the caller to speak first.
348
- */
349
- greeting?: string;
350
- /**
351
- * Greeting per language, keyed by language code. Used when the caller's language
352
- * differs from the one `greeting` is written in.
353
- */
354
- greetings?: {
355
- [key: string]: string;
356
- };
357
- /**
358
- * Whether the caller can interrupt the agent while it is speaking (barge-in). When
359
- * true, the agent stops talking as soon as the caller starts.
360
- */
361
- interruptible?: boolean;
362
- /**
363
- * BCP-47 language code used for both speech recognition and speech synthesis (e.g.
364
- * `en`, `es`, `pt-BR`). Auto-detected from the recipient when omitted.
365
- */
366
- language?: string;
367
- /**
368
- * Hard limit on call length in minutes. The call ends automatically when reached.
369
- */
370
- maxCallDurationMinutes?: number;
371
- /**
372
- * How long the agent waits during silence before ending the call.
373
- */
374
- maxIdleSeconds?: number;
375
- /**
376
- * Model that runs the conversation, co-located in the voice network for lowest
377
- * latency. Independent of the model used for text messaging. Derived from the
378
- * agent's text model when omitted.
379
- */
380
- model?: string;
381
- /**
382
- * Whether the call audio is recorded.
383
- */
384
- recordCalls?: boolean;
385
- /**
386
- * Speech-recognition model. Uses the default when omitted.
387
- */
388
- sttModel?: string;
389
- /**
390
- * Speech-recognition provider. Uses the default when omitted.
391
- */
392
- sttProvider?: string;
393
- /**
394
- * E.164 phone number the agent can transfer the call to. When set, the agent is
395
- * given a transfer tool it can use to hand the call to a human.
396
- */
397
- transferPhoneNumber?: string;
398
- /**
399
- * Speech-synthesis provider. Uses the default when omitted.
400
- */
401
- ttsProvider?: string;
402
- /**
403
- * Identifier of the synthesized voice that speaks. Choose from the voices
404
- * available in the dashboard. Uses a neutral default when omitted.
405
- */
406
- ttsVoiceId?: string;
407
- /**
408
- * What the agent does when an answering machine or voicemail is detected on an
409
- * outbound call.
410
- */
411
- voicemailAction?: 'hangup' | 'leave_message';
412
- /**
413
- * Message spoken when `voicemailAction` is `leave_message`. Falls back to
414
- * `greeting` when omitted.
415
- */
416
- voicemailMessage?: string;
417
- /**
418
- * Speech rate. 1.0 is natural. Only honoured by voices that support rate control;
419
- * ignored by the others.
420
- */
421
- voiceSpeed?: number;
422
- }
423
- }
424
- export interface AgentUpdateParams {
425
- apiKey?: string;
426
- contextWindowMessages?: number;
427
- enabled?: boolean;
428
- includeContactMetadata?: boolean;
429
- maxTokens?: number | null;
430
- model?: string;
431
- name?: string;
432
- /**
433
- * LLM provider for the AI agent.
434
- */
435
- provider?: AgentProvider;
436
- systemPrompt?: string;
437
- temperature?: number | null;
438
- triggerOnChannels?: Array<string>;
439
- triggerOnMessageTypes?: Array<string>;
440
- /**
441
- * Voice Agent configuration. Patch this object to enable voice, change the
442
- * greeting, or adjust call limits. Requires the Voice Agents feature to be enabled
443
- * for your team.
444
- */
445
- voice?: AgentUpdateParams.Voice;
84
+ type Voice = T.AgentVoiceConfig;
446
85
  }
86
+ export type AgentUpdateParams = T.SendersAgentUpdateParams;
447
87
  export declare namespace AgentUpdateParams {
448
- /**
449
- * Voice Agent configuration. Patch this object to enable voice, change the
450
- * greeting, or adjust call limits. Requires the Voice Agents feature to be enabled
451
- * for your team.
452
- */
453
- interface Voice {
454
- /**
455
- * Whether the agent handles voice calls. When false, the sender's number is not
456
- * answered by the voice agent and outbound calls are rejected.
457
- */
458
- enabled: boolean;
459
- /**
460
- * Opening line the agent speaks when the call connects. If omitted, the agent
461
- * waits for the caller to speak first.
462
- */
463
- greeting?: string;
464
- /**
465
- * Greeting per language, keyed by language code. Used when the caller's language
466
- * differs from the one `greeting` is written in.
467
- */
468
- greetings?: {
469
- [key: string]: string;
470
- };
471
- /**
472
- * Whether the caller can interrupt the agent while it is speaking (barge-in). When
473
- * true, the agent stops talking as soon as the caller starts.
474
- */
475
- interruptible?: boolean;
476
- /**
477
- * BCP-47 language code used for both speech recognition and speech synthesis (e.g.
478
- * `en`, `es`, `pt-BR`). Auto-detected from the recipient when omitted.
479
- */
480
- language?: string;
481
- /**
482
- * Hard limit on call length in minutes. The call ends automatically when reached.
483
- */
484
- maxCallDurationMinutes?: number;
485
- /**
486
- * How long the agent waits during silence before ending the call.
487
- */
488
- maxIdleSeconds?: number;
489
- /**
490
- * Model that runs the conversation, co-located in the voice network for lowest
491
- * latency. Independent of the model used for text messaging. Derived from the
492
- * agent's text model when omitted.
493
- */
494
- model?: string;
495
- /**
496
- * Whether the call audio is recorded.
497
- */
498
- recordCalls?: boolean;
499
- /**
500
- * Speech-recognition model. Uses the default when omitted.
501
- */
502
- sttModel?: string;
503
- /**
504
- * Speech-recognition provider. Uses the default when omitted.
505
- */
506
- sttProvider?: string;
507
- /**
508
- * E.164 phone number the agent can transfer the call to. When set, the agent is
509
- * given a transfer tool it can use to hand the call to a human.
510
- */
511
- transferPhoneNumber?: string;
512
- /**
513
- * Speech-synthesis provider. Uses the default when omitted.
514
- */
515
- ttsProvider?: string;
516
- /**
517
- * Identifier of the synthesized voice that speaks. Choose from the voices
518
- * available in the dashboard. Uses a neutral default when omitted.
519
- */
520
- ttsVoiceId?: string;
521
- /**
522
- * What the agent does when an answering machine or voicemail is detected on an
523
- * outbound call.
524
- */
525
- voicemailAction?: 'hangup' | 'leave_message';
526
- /**
527
- * Message spoken when `voicemailAction` is `leave_message`. Falls back to
528
- * `greeting` when omitted.
529
- */
530
- voicemailMessage?: string;
531
- /**
532
- * Speech rate. 1.0 is natural. Only honoured by voices that support rate control;
533
- * ignored by the others.
534
- */
535
- voiceSpeed?: number;
536
- }
88
+ type Voice = T.AgentVoiceConfig;
537
89
  }
538
90
  export declare namespace AgentResource {
539
- export { type Agent as Agent, type AgentExecution as AgentExecution, type AgentExecutionStatus as AgentExecutionStatus, type AgentProvider as AgentProvider, type AgentResponse as AgentResponse, type AgentStats as AgentStats, type AgentCreateParams as AgentCreateParams, type AgentUpdateParams as AgentUpdateParams, };
540
- export { Executions as Executions, type ExecutionRetrieveResponse as ExecutionRetrieveResponse, type ExecutionRetrieveParams as ExecutionRetrieveParams, type ExecutionListParams as ExecutionListParams, };
541
- export { Flows as Flows, type AgentFlow as AgentFlow, type FlowStep as FlowStep, type FlowTrigger as FlowTrigger, type FlowCreateResponse as FlowCreateResponse, type FlowRetrieveResponse as FlowRetrieveResponse, type FlowUpdateResponse as FlowUpdateResponse, type FlowDuplicateResponse as FlowDuplicateResponse, type AgentFlowsCursor as AgentFlowsCursor, type FlowCreateParams as FlowCreateParams, type FlowRetrieveParams as FlowRetrieveParams, type FlowUpdateParams as FlowUpdateParams, type FlowListParams as FlowListParams, type FlowDeleteParams as FlowDeleteParams, type FlowDuplicateParams as FlowDuplicateParams, };
542
- export { Tools as Tools, type AgentTool as AgentTool, type ToolParameters as ToolParameters, type ToolCreateResponse as ToolCreateResponse, type ToolRetrieveResponse as ToolRetrieveResponse, type ToolUpdateResponse as ToolUpdateResponse, type ToolListTestRunsResponse as ToolListTestRunsResponse, type ToolTestResponse as ToolTestResponse, type AgentToolsCursor as AgentToolsCursor, type ToolCreateParams as ToolCreateParams, type ToolRetrieveParams as ToolRetrieveParams, type ToolUpdateParams as ToolUpdateParams, type ToolListParams as ToolListParams, type ToolDeleteParams as ToolDeleteParams, type ToolListTestRunsParams as ToolListTestRunsParams, type ToolTestParams as ToolTestParams, };
543
- export { KnowledgeBases as KnowledgeBases, type AgentDocument as AgentDocument, type AgentKnowledgeBase as AgentKnowledgeBase, type KnowledgeBaseCreateResponse as KnowledgeBaseCreateResponse, type KnowledgeBaseRetrieveResponse as KnowledgeBaseRetrieveResponse, type KnowledgeBaseUpdateResponse as KnowledgeBaseUpdateResponse, type AgentKnowledgeBasesCursor as AgentKnowledgeBasesCursor, type KnowledgeBaseCreateParams as KnowledgeBaseCreateParams, type KnowledgeBaseRetrieveParams as KnowledgeBaseRetrieveParams, type KnowledgeBaseUpdateParams as KnowledgeBaseUpdateParams, type KnowledgeBaseListParams as KnowledgeBaseListParams, type KnowledgeBaseDeleteParams as KnowledgeBaseDeleteParams, };
91
+ export { type Agent as Agent, type AgentExecution as AgentExecution, type AgentExecutionStatus as AgentExecutionStatus, type AgentProvider as AgentProvider, type AgentResponse as AgentResponse, type AgentStats as AgentStats, type AgentCreateParams as AgentCreateParams, type AgentUpdateParams as AgentUpdateParams, Executions as Executions, type ExecutionRetrieveResponse as ExecutionRetrieveResponse, type ExecutionRetrieveParams as ExecutionRetrieveParams, type ExecutionListParams as ExecutionListParams, Flows as Flows, type AgentFlow as AgentFlow, type FlowStep as FlowStep, type FlowTrigger as FlowTrigger, type FlowCreateResponse as FlowCreateResponse, type FlowRetrieveResponse as FlowRetrieveResponse, type FlowUpdateResponse as FlowUpdateResponse, type FlowDuplicateResponse as FlowDuplicateResponse, type AgentFlowsCursor as AgentFlowsCursor, type FlowCreateParams as FlowCreateParams, type FlowRetrieveParams as FlowRetrieveParams, type FlowUpdateParams as FlowUpdateParams, type FlowListParams as FlowListParams, type FlowDeleteParams as FlowDeleteParams, type FlowDuplicateParams as FlowDuplicateParams, Tools as Tools, type AgentTool as AgentTool, type ToolParameters as ToolParameters, type ToolCreateResponse as ToolCreateResponse, type ToolRetrieveResponse as ToolRetrieveResponse, type ToolUpdateResponse as ToolUpdateResponse, type ToolListTestRunsResponse as ToolListTestRunsResponse, type ToolTestResponse as ToolTestResponse, type AgentToolsCursor as AgentToolsCursor, type ToolCreateParams as ToolCreateParams, type ToolRetrieveParams as ToolRetrieveParams, type ToolUpdateParams as ToolUpdateParams, type ToolListParams as ToolListParams, type ToolDeleteParams as ToolDeleteParams, type ToolListTestRunsParams as ToolListTestRunsParams, type ToolTestParams as ToolTestParams, KnowledgeBases as KnowledgeBases, type AgentDocument as AgentDocument, type AgentKnowledgeBase as AgentKnowledgeBase, type KnowledgeBaseCreateResponse as KnowledgeBaseCreateResponse, type KnowledgeBaseRetrieveResponse as KnowledgeBaseRetrieveResponse, type KnowledgeBaseUpdateResponse as KnowledgeBaseUpdateResponse, type AgentKnowledgeBasesCursor as AgentKnowledgeBasesCursor, type KnowledgeBaseCreateParams as KnowledgeBaseCreateParams, type KnowledgeBaseRetrieveParams as KnowledgeBaseRetrieveParams, type KnowledgeBaseUpdateParams as KnowledgeBaseUpdateParams, type KnowledgeBaseListParams as KnowledgeBaseListParams, type KnowledgeBaseDeleteParams as KnowledgeBaseDeleteParams, };
544
92
  }
545
93
  //# sourceMappingURL=agent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../src/resources/senders/agent/agent.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,aAAa,wBAAqB;AAC9C,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,yBAAyB,EACzB,UAAU,EACX,wBAAqB;AACtB,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,QAAQ,EACR,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,EACN,mBAAgB;AACjB,OAAO,KAAK,iBAAiB,6CAA0C;AACvE,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,yBAAyB,EACzB,yBAAyB,EACzB,2BAA2B,EAC3B,yBAAyB,EACzB,uBAAuB,EACvB,2BAA2B,EAC3B,6BAA6B,EAC7B,yBAAyB,EACzB,2BAA2B,EAC3B,cAAc,EACf,6CAA0C;AAC3C,OAAO,KAAK,QAAQ,yBAAsB;AAC1C,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,sBAAsB,EACtB,wBAAwB,EACxB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,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