@zavudev/sdk 0.54.0 → 0.56.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 (282) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/client.d.mts +25 -10
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +25 -10
  5. package/client.d.ts.map +1 -1
  6. package/client.js +15 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +15 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/agent-templates.d.mts +97 -0
  12. package/resources/agent-templates.d.mts.map +1 -0
  13. package/resources/agent-templates.d.ts +97 -0
  14. package/resources/agent-templates.d.ts.map +1 -0
  15. package/resources/agent-templates.js +39 -0
  16. package/resources/agent-templates.js.map +1 -0
  17. package/resources/agent-templates.mjs +35 -0
  18. package/resources/agent-templates.mjs.map +1 -0
  19. package/resources/agents/agents.d.mts +462 -0
  20. package/resources/agents/agents.d.mts.map +1 -0
  21. package/resources/agents/agents.d.ts +462 -0
  22. package/resources/agents/agents.d.ts.map +1 -0
  23. package/resources/agents/agents.js +129 -0
  24. package/resources/agents/agents.js.map +1 -0
  25. package/resources/agents/agents.mjs +124 -0
  26. package/resources/agents/agents.mjs.map +1 -0
  27. package/resources/agents/index.d.mts +3 -0
  28. package/resources/agents/index.d.mts.map +1 -0
  29. package/resources/agents/index.d.ts +3 -0
  30. package/resources/agents/index.d.ts.map +1 -0
  31. package/resources/agents/index.js +9 -0
  32. package/resources/agents/index.js.map +1 -0
  33. package/resources/agents/index.mjs +4 -0
  34. package/resources/agents/index.mjs.map +1 -0
  35. package/resources/agents/senders.d.mts +54 -0
  36. package/resources/agents/senders.d.mts.map +1 -0
  37. package/resources/agents/senders.d.ts +54 -0
  38. package/resources/agents/senders.d.ts.map +1 -0
  39. package/resources/agents/senders.js +45 -0
  40. package/resources/agents/senders.js.map +1 -0
  41. package/resources/agents/senders.mjs +41 -0
  42. package/resources/agents/senders.mjs.map +1 -0
  43. package/resources/agents.d.mts +2 -0
  44. package/resources/agents.d.mts.map +1 -0
  45. package/resources/agents.d.ts +2 -0
  46. package/resources/agents.d.ts.map +1 -0
  47. package/resources/agents.js +6 -0
  48. package/resources/agents.js.map +1 -0
  49. package/resources/agents.mjs +3 -0
  50. package/resources/agents.mjs.map +1 -0
  51. package/resources/broadcasts/broadcasts.d.mts +9 -6
  52. package/resources/broadcasts/broadcasts.d.mts.map +1 -1
  53. package/resources/broadcasts/broadcasts.d.ts +9 -6
  54. package/resources/broadcasts/broadcasts.d.ts.map +1 -1
  55. package/resources/broadcasts/broadcasts.js +9 -6
  56. package/resources/broadcasts/broadcasts.js.map +1 -1
  57. package/resources/broadcasts/broadcasts.mjs +9 -6
  58. package/resources/broadcasts/broadcasts.mjs.map +1 -1
  59. package/resources/calls.d.mts +530 -0
  60. package/resources/calls.d.mts.map +1 -0
  61. package/resources/calls.d.ts +530 -0
  62. package/resources/calls.d.ts.map +1 -0
  63. package/resources/calls.js +76 -0
  64. package/resources/calls.js.map +1 -0
  65. package/resources/calls.mjs +72 -0
  66. package/resources/calls.mjs.map +1 -0
  67. package/resources/conversations.d.mts +360 -0
  68. package/resources/conversations.d.mts.map +1 -0
  69. package/resources/conversations.d.ts +360 -0
  70. package/resources/conversations.d.ts.map +1 -0
  71. package/resources/conversations.js +47 -0
  72. package/resources/conversations.js.map +1 -0
  73. package/resources/conversations.mjs +43 -0
  74. package/resources/conversations.mjs.map +1 -0
  75. package/resources/email-domains.d.mts +260 -0
  76. package/resources/email-domains.d.mts.map +1 -0
  77. package/resources/email-domains.d.ts +260 -0
  78. package/resources/email-domains.d.ts.map +1 -0
  79. package/resources/email-domains.js +77 -0
  80. package/resources/email-domains.js.map +1 -0
  81. package/resources/email-domains.mjs +73 -0
  82. package/resources/email-domains.mjs.map +1 -0
  83. package/resources/functions/functions.d.mts +122 -1
  84. package/resources/functions/functions.d.mts.map +1 -1
  85. package/resources/functions/functions.d.ts +122 -1
  86. package/resources/functions/functions.d.ts.map +1 -1
  87. package/resources/functions/functions.js +53 -0
  88. package/resources/functions/functions.js.map +1 -1
  89. package/resources/functions/functions.mjs +53 -0
  90. package/resources/functions/functions.mjs.map +1 -1
  91. package/resources/functions/git-link.d.mts +295 -0
  92. package/resources/functions/git-link.d.mts.map +1 -0
  93. package/resources/functions/git-link.d.ts +295 -0
  94. package/resources/functions/git-link.d.ts.map +1 -0
  95. package/resources/functions/git-link.js +97 -0
  96. package/resources/functions/git-link.js.map +1 -0
  97. package/resources/functions/git-link.mjs +93 -0
  98. package/resources/functions/git-link.mjs.map +1 -0
  99. package/resources/functions/index.d.mts +3 -1
  100. package/resources/functions/index.d.mts.map +1 -1
  101. package/resources/functions/index.d.ts +3 -1
  102. package/resources/functions/index.d.ts.map +1 -1
  103. package/resources/functions/index.js +5 -1
  104. package/resources/functions/index.js.map +1 -1
  105. package/resources/functions/index.mjs +2 -0
  106. package/resources/functions/index.mjs.map +1 -1
  107. package/resources/functions/triggers.d.mts +164 -0
  108. package/resources/functions/triggers.d.mts.map +1 -0
  109. package/resources/functions/triggers.d.ts +164 -0
  110. package/resources/functions/triggers.d.ts.map +1 -0
  111. package/resources/functions/triggers.js +74 -0
  112. package/resources/functions/triggers.js.map +1 -0
  113. package/resources/functions/triggers.mjs +70 -0
  114. package/resources/functions/triggers.mjs.map +1 -0
  115. package/resources/index.d.mts +10 -5
  116. package/resources/index.d.mts.map +1 -1
  117. package/resources/index.d.ts +10 -5
  118. package/resources/index.d.ts.map +1 -1
  119. package/resources/index.js +11 -1
  120. package/resources/index.js.map +1 -1
  121. package/resources/index.mjs +5 -0
  122. package/resources/index.mjs.map +1 -1
  123. package/resources/introspect.d.mts +74 -1
  124. package/resources/introspect.d.mts.map +1 -1
  125. package/resources/introspect.d.ts +74 -1
  126. package/resources/introspect.d.ts.map +1 -1
  127. package/resources/introspect.js +22 -0
  128. package/resources/introspect.js.map +1 -1
  129. package/resources/introspect.mjs +22 -0
  130. package/resources/introspect.mjs.map +1 -1
  131. package/resources/messages.d.mts +123 -1
  132. package/resources/messages.d.mts.map +1 -1
  133. package/resources/messages.d.ts +123 -1
  134. package/resources/messages.d.ts.map +1 -1
  135. package/resources/messages.js +18 -0
  136. package/resources/messages.js.map +1 -1
  137. package/resources/messages.mjs +18 -0
  138. package/resources/messages.mjs.map +1 -1
  139. package/resources/senders/agent/agent.d.mts +4 -3
  140. package/resources/senders/agent/agent.d.mts.map +1 -1
  141. package/resources/senders/agent/agent.d.ts +4 -3
  142. package/resources/senders/agent/agent.d.ts.map +1 -1
  143. package/resources/senders/agent/agent.js +2 -2
  144. package/resources/senders/agent/agent.js.map +1 -1
  145. package/resources/senders/agent/agent.mjs +2 -2
  146. package/resources/senders/agent/agent.mjs.map +1 -1
  147. package/resources/senders/agent/index.d.mts +2 -2
  148. package/resources/senders/agent/index.d.mts.map +1 -1
  149. package/resources/senders/agent/index.d.ts +2 -2
  150. package/resources/senders/agent/index.d.ts.map +1 -1
  151. package/resources/senders/agent/index.js +2 -2
  152. package/resources/senders/agent/index.js.map +1 -1
  153. package/resources/senders/agent/index.mjs +1 -1
  154. package/resources/senders/agent/index.mjs.map +1 -1
  155. package/resources/senders/agent/knowledge-bases/documents.d.mts +56 -1
  156. package/resources/senders/agent/knowledge-bases/documents.d.mts.map +1 -1
  157. package/resources/senders/agent/knowledge-bases/documents.d.ts +56 -1
  158. package/resources/senders/agent/knowledge-bases/documents.d.ts.map +1 -1
  159. package/resources/senders/agent/knowledge-bases/documents.js +33 -0
  160. package/resources/senders/agent/knowledge-bases/documents.js.map +1 -1
  161. package/resources/senders/agent/knowledge-bases/documents.mjs +33 -0
  162. package/resources/senders/agent/knowledge-bases/documents.mjs.map +1 -1
  163. package/resources/senders/agent/knowledge-bases/index.d.mts +1 -1
  164. package/resources/senders/agent/knowledge-bases/index.d.mts.map +1 -1
  165. package/resources/senders/agent/knowledge-bases/index.d.ts +1 -1
  166. package/resources/senders/agent/knowledge-bases/index.d.ts.map +1 -1
  167. package/resources/senders/agent/knowledge-bases/index.js.map +1 -1
  168. package/resources/senders/agent/knowledge-bases/index.mjs.map +1 -1
  169. package/resources/senders/agent/knowledge-bases/knowledge-bases.d.mts +2 -2
  170. package/resources/senders/agent/knowledge-bases/knowledge-bases.d.mts.map +1 -1
  171. package/resources/senders/agent/knowledge-bases/knowledge-bases.d.ts +2 -2
  172. package/resources/senders/agent/knowledge-bases/knowledge-bases.d.ts.map +1 -1
  173. package/resources/senders/agent/knowledge-bases/knowledge-bases.js.map +1 -1
  174. package/resources/senders/agent/knowledge-bases/knowledge-bases.mjs.map +1 -1
  175. package/resources/senders/agent/tools/index.d.mts +3 -0
  176. package/resources/senders/agent/tools/index.d.mts.map +1 -0
  177. package/resources/senders/agent/tools/index.d.ts +3 -0
  178. package/resources/senders/agent/tools/index.d.ts.map +1 -0
  179. package/resources/senders/agent/tools/index.js +9 -0
  180. package/resources/senders/agent/tools/index.js.map +1 -0
  181. package/resources/senders/agent/tools/index.mjs +4 -0
  182. package/resources/senders/agent/tools/index.mjs.map +1 -0
  183. package/resources/senders/agent/tools/tools.d.mts +338 -0
  184. package/resources/senders/agent/tools/tools.d.mts.map +1 -0
  185. package/resources/senders/agent/tools/tools.d.ts +338 -0
  186. package/resources/senders/agent/tools/tools.d.ts.map +1 -0
  187. package/resources/senders/agent/tools/tools.js +163 -0
  188. package/resources/senders/agent/tools/tools.js.map +1 -0
  189. package/resources/senders/agent/tools/tools.mjs +158 -0
  190. package/resources/senders/agent/tools/tools.mjs.map +1 -0
  191. package/resources/senders/agent/tools/webhook.d.mts +28 -0
  192. package/resources/senders/agent/tools/webhook.d.mts.map +1 -0
  193. package/resources/senders/agent/tools/webhook.d.ts +28 -0
  194. package/resources/senders/agent/tools/webhook.d.ts.map +1 -0
  195. package/resources/senders/agent/tools/webhook.js +28 -0
  196. package/resources/senders/agent/tools/webhook.js.map +1 -0
  197. package/resources/senders/agent/tools/webhook.mjs +24 -0
  198. package/resources/senders/agent/tools/webhook.mjs.map +1 -0
  199. package/resources/senders/agent/tools.d.mts +1 -270
  200. package/resources/senders/agent/tools.d.mts.map +1 -1
  201. package/resources/senders/agent/tools.d.ts +1 -270
  202. package/resources/senders/agent/tools.d.ts.map +1 -1
  203. package/resources/senders/agent/tools.js +2 -131
  204. package/resources/senders/agent/tools.js.map +1 -1
  205. package/resources/senders/agent/tools.mjs +1 -129
  206. package/resources/senders/agent/tools.mjs.map +1 -1
  207. package/resources/senders/index.d.mts +2 -1
  208. package/resources/senders/index.d.mts.map +1 -1
  209. package/resources/senders/index.d.ts +2 -1
  210. package/resources/senders/index.d.ts.map +1 -1
  211. package/resources/senders/index.js +3 -1
  212. package/resources/senders/index.js.map +1 -1
  213. package/resources/senders/index.mjs +1 -0
  214. package/resources/senders/index.mjs.map +1 -1
  215. package/resources/senders/senders.d.mts +10 -1
  216. package/resources/senders/senders.d.mts.map +1 -1
  217. package/resources/senders/senders.d.ts +10 -1
  218. package/resources/senders/senders.d.ts.map +1 -1
  219. package/resources/senders/senders.js +4 -0
  220. package/resources/senders/senders.js.map +1 -1
  221. package/resources/senders/senders.mjs +4 -0
  222. package/resources/senders/senders.mjs.map +1 -1
  223. package/resources/senders/telegram.d.mts +48 -0
  224. package/resources/senders/telegram.d.mts.map +1 -0
  225. package/resources/senders/telegram.d.ts +48 -0
  226. package/resources/senders/telegram.d.ts.map +1 -0
  227. package/resources/senders/telegram.js +41 -0
  228. package/resources/senders/telegram.js.map +1 -0
  229. package/resources/senders/telegram.mjs +37 -0
  230. package/resources/senders/telegram.mjs.map +1 -0
  231. package/resources/templates.d.mts +66 -1
  232. package/resources/templates.d.mts.map +1 -1
  233. package/resources/templates.d.ts +66 -1
  234. package/resources/templates.d.ts.map +1 -1
  235. package/resources/templates.js +31 -0
  236. package/resources/templates.js.map +1 -1
  237. package/resources/templates.mjs +31 -0
  238. package/resources/templates.mjs.map +1 -1
  239. package/resources/urls.d.mts +24 -1
  240. package/resources/urls.d.mts.map +1 -1
  241. package/resources/urls.d.ts +24 -1
  242. package/resources/urls.d.ts.map +1 -1
  243. package/resources/urls.js +15 -0
  244. package/resources/urls.js.map +1 -1
  245. package/resources/urls.mjs +15 -0
  246. package/resources/urls.mjs.map +1 -1
  247. package/src/client.ts +129 -0
  248. package/src/resources/agent-templates.ts +128 -0
  249. package/src/resources/agents/agents.ts +603 -0
  250. package/src/resources/agents/index.ts +21 -0
  251. package/src/resources/agents/senders.ts +79 -0
  252. package/src/resources/agents.ts +3 -0
  253. package/src/resources/broadcasts/broadcasts.ts +9 -6
  254. package/src/resources/calls.ts +638 -0
  255. package/src/resources/conversations.ts +472 -0
  256. package/src/resources/email-domains.ts +337 -0
  257. package/src/resources/functions/functions.ts +202 -0
  258. package/src/resources/functions/git-link.ts +398 -0
  259. package/src/resources/functions/index.ts +22 -0
  260. package/src/resources/functions/triggers.ts +227 -0
  261. package/src/resources/index.ts +57 -0
  262. package/src/resources/introspect.ts +105 -0
  263. package/src/resources/messages.ts +146 -0
  264. package/src/resources/senders/agent/agent.ts +23 -17
  265. package/src/resources/senders/agent/index.ts +4 -1
  266. package/src/resources/senders/agent/knowledge-bases/documents.ts +89 -0
  267. package/src/resources/senders/agent/knowledge-bases/index.ts +4 -0
  268. package/src/resources/senders/agent/knowledge-bases/knowledge-bases.ts +8 -0
  269. package/src/resources/senders/agent/tools/index.ts +21 -0
  270. package/src/resources/senders/agent/tools/tools.ts +460 -0
  271. package/src/resources/senders/agent/tools/webhook.ts +40 -0
  272. package/src/resources/senders/agent/tools.ts +1 -364
  273. package/src/resources/senders/index.ts +2 -0
  274. package/src/resources/senders/senders.ts +16 -1
  275. package/src/resources/senders/telegram.ts +73 -0
  276. package/src/resources/templates.ts +80 -0
  277. package/src/resources/urls.ts +35 -0
  278. package/src/version.ts +1 -1
  279. package/version.d.mts +1 -1
  280. package/version.d.ts +1 -1
  281. package/version.js +1 -1
  282. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"broadcasts.mjs","sourceRoot":"","sources":["../../src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AC,KAAK,CAAC,IAAI,CAAA,kBAAkB,WAAW,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;IAED;;;;;;;;;;OAUG;IACH,WAAW,CAAC,WAAmB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,kBAAkB,WAAW,eAAe,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IACH,IAAI,CACF,WAAmB,EACnB,OAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,kBAAkB,WAAW,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF;AAqaD,UAAU,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
@@ -0,0 +1,530 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import { APIPromise } from "../core/api-promise.mjs";
3
+ import { Cursor, type CursorParams, PagePromise } from "../core/pagination.mjs";
4
+ import { RequestOptions } from "../internal/request-options.mjs";
5
+ export declare class Calls extends APIResource {
6
+ /**
7
+ * Place an outbound voice call answered by the voice agent configured on the
8
+ * sender. Zavu dials the recipient and runs the conversation through its managed
9
+ * voice pipeline (speech recognition, the agent's LLM, and speech synthesis, with
10
+ * real-time interruption handling).
11
+ *
12
+ * **Requirements:**
13
+ *
14
+ * - The Voice Agents feature must be enabled for your team (otherwise `403`).
15
+ * - The sender's agent must have `voice.enabled` set to `true`.
16
+ * - Not available with test-mode API keys.
17
+ *
18
+ * **Billing:** Voice calls are billed per minute of connected time plus telephony,
19
+ * deducted from your prepaid balance. A short-duration estimate is reserved when
20
+ * the call is placed; you are charged for the actual duration when the call ends.
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * const call = await client.calls.create({
25
+ * to: '+56912345678',
26
+ * });
27
+ * ```
28
+ */
29
+ create(body: CallCreateParams, options?: RequestOptions): APIPromise<CallCreateResponse>;
30
+ /**
31
+ * Retrieve a single voice call, including its full transcript once the
32
+ * conversation has produced turns.
33
+ *
34
+ * @example
35
+ * ```ts
36
+ * const call = await client.calls.retrieve('callId');
37
+ * ```
38
+ */
39
+ retrieve(callID: string, options?: RequestOptions): APIPromise<CallRetrieveResponse>;
40
+ /**
41
+ * List voice calls for this project, most recent first. Transcripts are omitted
42
+ * from the list; fetch a single call to get its transcript.
43
+ *
44
+ * @example
45
+ * ```ts
46
+ * // Automatically fetches more pages as needed.
47
+ * for await (const callListResponse of client.calls.list()) {
48
+ * // ...
49
+ * }
50
+ * ```
51
+ */
52
+ list(query?: CallListParams | null | undefined, options?: RequestOptions): PagePromise<CallListResponsesCursor, CallListResponse>;
53
+ /**
54
+ * End an active voice call. The call must still be ringing or in progress. Not
55
+ * available with test-mode API keys.
56
+ *
57
+ * @example
58
+ * ```ts
59
+ * const response = await client.calls.hangup('callId');
60
+ * ```
61
+ */
62
+ hangup(callID: string, options?: RequestOptions): APIPromise<CallHangupResponse>;
63
+ }
64
+ export type CallListResponsesCursor = Cursor<CallListResponse>;
65
+ export interface CallCreateResponse {
66
+ call: CallCreateResponse.Call;
67
+ }
68
+ export declare namespace CallCreateResponse {
69
+ interface Call {
70
+ id: string;
71
+ createdAt: string;
72
+ /**
73
+ * Whether the call was placed by Zavu (outbound) or received from a caller
74
+ * (inbound).
75
+ */
76
+ direction: 'inbound' | 'outbound';
77
+ /**
78
+ * Caller phone number in E.164 format. Your sender's number for outbound calls;
79
+ * the caller's number for inbound calls.
80
+ */
81
+ from: string;
82
+ /**
83
+ * Lifecycle status of a voice call.
84
+ *
85
+ * - `queued`: outbound call created, not yet dialing.
86
+ * - `ringing`: dialing (outbound) or received and ringing (inbound).
87
+ * - `in_progress`: answered, the agent is connected.
88
+ * - `completed`: ended after a conversation.
89
+ * - `failed`: could not be completed.
90
+ * - `busy`: the line was busy.
91
+ * - `no_answer`: rang but was not answered.
92
+ * - `canceled`: canceled before it was answered.
93
+ */
94
+ status: 'queued' | 'ringing' | 'in_progress' | 'completed' | 'failed' | 'busy' | 'no_answer' | 'canceled';
95
+ /**
96
+ * Callee phone number in E.164 format.
97
+ */
98
+ to: string;
99
+ /**
100
+ * When the call was answered.
101
+ */
102
+ answeredAt?: string | null;
103
+ /**
104
+ * Total cost of the call in USD, combining the managed voice pipeline per-minute
105
+ * charge and telephony. Available once the call has ended.
106
+ */
107
+ cost?: number | null;
108
+ /**
109
+ * Billable talk time in seconds, measured from answer to hangup.
110
+ */
111
+ durationSeconds?: number | null;
112
+ /**
113
+ * When the call ended.
114
+ */
115
+ endedAt?: string | null;
116
+ /**
117
+ * Why the call ended (e.g. `agent_ended`, `max_duration`, `transfer`, `hangup`).
118
+ * Present once the call is no longer active.
119
+ */
120
+ endReason?: string | null;
121
+ /**
122
+ * Arbitrary metadata you attached when creating the call.
123
+ */
124
+ metadata?: {
125
+ [key: string]: string;
126
+ };
127
+ /**
128
+ * Ordered transcript of the call. Included when retrieving a single call; omitted
129
+ * from list responses.
130
+ */
131
+ transcript?: Array<Call.Transcript>;
132
+ /**
133
+ * Number of conversation turns exchanged during the call.
134
+ */
135
+ turnCount?: number | null;
136
+ updatedAt?: string;
137
+ }
138
+ namespace Call {
139
+ /**
140
+ * A single turn in a voice call transcript.
141
+ */
142
+ interface Transcript {
143
+ /**
144
+ * Who produced the turn. `tool` records a tool call the agent made during the
145
+ * conversation.
146
+ */
147
+ role: 'user' | 'assistant' | 'tool';
148
+ /**
149
+ * Ordinal position of the turn within the call, starting at 0.
150
+ */
151
+ seq: number;
152
+ /**
153
+ * Transcribed speech for `user` and `assistant` turns, or a JSON summary of the
154
+ * tool call for `tool` turns.
155
+ */
156
+ text: string;
157
+ /**
158
+ * When the turn ended.
159
+ */
160
+ endedAt?: string | null;
161
+ /**
162
+ * When the turn started.
163
+ */
164
+ startedAt?: string | null;
165
+ }
166
+ }
167
+ }
168
+ export interface CallRetrieveResponse {
169
+ call: CallRetrieveResponse.Call;
170
+ }
171
+ export declare namespace CallRetrieveResponse {
172
+ interface Call {
173
+ id: string;
174
+ createdAt: string;
175
+ /**
176
+ * Whether the call was placed by Zavu (outbound) or received from a caller
177
+ * (inbound).
178
+ */
179
+ direction: 'inbound' | 'outbound';
180
+ /**
181
+ * Caller phone number in E.164 format. Your sender's number for outbound calls;
182
+ * the caller's number for inbound calls.
183
+ */
184
+ from: string;
185
+ /**
186
+ * Lifecycle status of a voice call.
187
+ *
188
+ * - `queued`: outbound call created, not yet dialing.
189
+ * - `ringing`: dialing (outbound) or received and ringing (inbound).
190
+ * - `in_progress`: answered, the agent is connected.
191
+ * - `completed`: ended after a conversation.
192
+ * - `failed`: could not be completed.
193
+ * - `busy`: the line was busy.
194
+ * - `no_answer`: rang but was not answered.
195
+ * - `canceled`: canceled before it was answered.
196
+ */
197
+ status: 'queued' | 'ringing' | 'in_progress' | 'completed' | 'failed' | 'busy' | 'no_answer' | 'canceled';
198
+ /**
199
+ * Callee phone number in E.164 format.
200
+ */
201
+ to: string;
202
+ /**
203
+ * When the call was answered.
204
+ */
205
+ answeredAt?: string | null;
206
+ /**
207
+ * Total cost of the call in USD, combining the managed voice pipeline per-minute
208
+ * charge and telephony. Available once the call has ended.
209
+ */
210
+ cost?: number | null;
211
+ /**
212
+ * Billable talk time in seconds, measured from answer to hangup.
213
+ */
214
+ durationSeconds?: number | null;
215
+ /**
216
+ * When the call ended.
217
+ */
218
+ endedAt?: string | null;
219
+ /**
220
+ * Why the call ended (e.g. `agent_ended`, `max_duration`, `transfer`, `hangup`).
221
+ * Present once the call is no longer active.
222
+ */
223
+ endReason?: string | null;
224
+ /**
225
+ * Arbitrary metadata you attached when creating the call.
226
+ */
227
+ metadata?: {
228
+ [key: string]: string;
229
+ };
230
+ /**
231
+ * Ordered transcript of the call. Included when retrieving a single call; omitted
232
+ * from list responses.
233
+ */
234
+ transcript?: Array<Call.Transcript>;
235
+ /**
236
+ * Number of conversation turns exchanged during the call.
237
+ */
238
+ turnCount?: number | null;
239
+ updatedAt?: string;
240
+ }
241
+ namespace Call {
242
+ /**
243
+ * A single turn in a voice call transcript.
244
+ */
245
+ interface Transcript {
246
+ /**
247
+ * Who produced the turn. `tool` records a tool call the agent made during the
248
+ * conversation.
249
+ */
250
+ role: 'user' | 'assistant' | 'tool';
251
+ /**
252
+ * Ordinal position of the turn within the call, starting at 0.
253
+ */
254
+ seq: number;
255
+ /**
256
+ * Transcribed speech for `user` and `assistant` turns, or a JSON summary of the
257
+ * tool call for `tool` turns.
258
+ */
259
+ text: string;
260
+ /**
261
+ * When the turn ended.
262
+ */
263
+ endedAt?: string | null;
264
+ /**
265
+ * When the turn started.
266
+ */
267
+ startedAt?: string | null;
268
+ }
269
+ }
270
+ }
271
+ export interface CallListResponse {
272
+ id: string;
273
+ createdAt: string;
274
+ /**
275
+ * Whether the call was placed by Zavu (outbound) or received from a caller
276
+ * (inbound).
277
+ */
278
+ direction: 'inbound' | 'outbound';
279
+ /**
280
+ * Caller phone number in E.164 format. Your sender's number for outbound calls;
281
+ * the caller's number for inbound calls.
282
+ */
283
+ from: string;
284
+ /**
285
+ * Lifecycle status of a voice call.
286
+ *
287
+ * - `queued`: outbound call created, not yet dialing.
288
+ * - `ringing`: dialing (outbound) or received and ringing (inbound).
289
+ * - `in_progress`: answered, the agent is connected.
290
+ * - `completed`: ended after a conversation.
291
+ * - `failed`: could not be completed.
292
+ * - `busy`: the line was busy.
293
+ * - `no_answer`: rang but was not answered.
294
+ * - `canceled`: canceled before it was answered.
295
+ */
296
+ status: 'queued' | 'ringing' | 'in_progress' | 'completed' | 'failed' | 'busy' | 'no_answer' | 'canceled';
297
+ /**
298
+ * Callee phone number in E.164 format.
299
+ */
300
+ to: string;
301
+ /**
302
+ * When the call was answered.
303
+ */
304
+ answeredAt?: string | null;
305
+ /**
306
+ * Total cost of the call in USD, combining the managed voice pipeline per-minute
307
+ * charge and telephony. Available once the call has ended.
308
+ */
309
+ cost?: number | null;
310
+ /**
311
+ * Billable talk time in seconds, measured from answer to hangup.
312
+ */
313
+ durationSeconds?: number | null;
314
+ /**
315
+ * When the call ended.
316
+ */
317
+ endedAt?: string | null;
318
+ /**
319
+ * Why the call ended (e.g. `agent_ended`, `max_duration`, `transfer`, `hangup`).
320
+ * Present once the call is no longer active.
321
+ */
322
+ endReason?: string | null;
323
+ /**
324
+ * Arbitrary metadata you attached when creating the call.
325
+ */
326
+ metadata?: {
327
+ [key: string]: string;
328
+ };
329
+ /**
330
+ * Ordered transcript of the call. Included when retrieving a single call; omitted
331
+ * from list responses.
332
+ */
333
+ transcript?: Array<CallListResponse.Transcript>;
334
+ /**
335
+ * Number of conversation turns exchanged during the call.
336
+ */
337
+ turnCount?: number | null;
338
+ updatedAt?: string;
339
+ }
340
+ export declare namespace CallListResponse {
341
+ /**
342
+ * A single turn in a voice call transcript.
343
+ */
344
+ interface Transcript {
345
+ /**
346
+ * Who produced the turn. `tool` records a tool call the agent made during the
347
+ * conversation.
348
+ */
349
+ role: 'user' | 'assistant' | 'tool';
350
+ /**
351
+ * Ordinal position of the turn within the call, starting at 0.
352
+ */
353
+ seq: number;
354
+ /**
355
+ * Transcribed speech for `user` and `assistant` turns, or a JSON summary of the
356
+ * tool call for `tool` turns.
357
+ */
358
+ text: string;
359
+ /**
360
+ * When the turn ended.
361
+ */
362
+ endedAt?: string | null;
363
+ /**
364
+ * When the turn started.
365
+ */
366
+ startedAt?: string | null;
367
+ }
368
+ }
369
+ export interface CallHangupResponse {
370
+ call: CallHangupResponse.Call;
371
+ }
372
+ export declare namespace CallHangupResponse {
373
+ interface Call {
374
+ id: string;
375
+ createdAt: string;
376
+ /**
377
+ * Whether the call was placed by Zavu (outbound) or received from a caller
378
+ * (inbound).
379
+ */
380
+ direction: 'inbound' | 'outbound';
381
+ /**
382
+ * Caller phone number in E.164 format. Your sender's number for outbound calls;
383
+ * the caller's number for inbound calls.
384
+ */
385
+ from: string;
386
+ /**
387
+ * Lifecycle status of a voice call.
388
+ *
389
+ * - `queued`: outbound call created, not yet dialing.
390
+ * - `ringing`: dialing (outbound) or received and ringing (inbound).
391
+ * - `in_progress`: answered, the agent is connected.
392
+ * - `completed`: ended after a conversation.
393
+ * - `failed`: could not be completed.
394
+ * - `busy`: the line was busy.
395
+ * - `no_answer`: rang but was not answered.
396
+ * - `canceled`: canceled before it was answered.
397
+ */
398
+ status: 'queued' | 'ringing' | 'in_progress' | 'completed' | 'failed' | 'busy' | 'no_answer' | 'canceled';
399
+ /**
400
+ * Callee phone number in E.164 format.
401
+ */
402
+ to: string;
403
+ /**
404
+ * When the call was answered.
405
+ */
406
+ answeredAt?: string | null;
407
+ /**
408
+ * Total cost of the call in USD, combining the managed voice pipeline per-minute
409
+ * charge and telephony. Available once the call has ended.
410
+ */
411
+ cost?: number | null;
412
+ /**
413
+ * Billable talk time in seconds, measured from answer to hangup.
414
+ */
415
+ durationSeconds?: number | null;
416
+ /**
417
+ * When the call ended.
418
+ */
419
+ endedAt?: string | null;
420
+ /**
421
+ * Why the call ended (e.g. `agent_ended`, `max_duration`, `transfer`, `hangup`).
422
+ * Present once the call is no longer active.
423
+ */
424
+ endReason?: string | null;
425
+ /**
426
+ * Arbitrary metadata you attached when creating the call.
427
+ */
428
+ metadata?: {
429
+ [key: string]: string;
430
+ };
431
+ /**
432
+ * Ordered transcript of the call. Included when retrieving a single call; omitted
433
+ * from list responses.
434
+ */
435
+ transcript?: Array<Call.Transcript>;
436
+ /**
437
+ * Number of conversation turns exchanged during the call.
438
+ */
439
+ turnCount?: number | null;
440
+ updatedAt?: string;
441
+ }
442
+ namespace Call {
443
+ /**
444
+ * A single turn in a voice call transcript.
445
+ */
446
+ interface Transcript {
447
+ /**
448
+ * Who produced the turn. `tool` records a tool call the agent made during the
449
+ * conversation.
450
+ */
451
+ role: 'user' | 'assistant' | 'tool';
452
+ /**
453
+ * Ordinal position of the turn within the call, starting at 0.
454
+ */
455
+ seq: number;
456
+ /**
457
+ * Transcribed speech for `user` and `assistant` turns, or a JSON summary of the
458
+ * tool call for `tool` turns.
459
+ */
460
+ text: string;
461
+ /**
462
+ * When the turn ended.
463
+ */
464
+ endedAt?: string | null;
465
+ /**
466
+ * When the turn started.
467
+ */
468
+ startedAt?: string | null;
469
+ }
470
+ }
471
+ }
472
+ export interface CallCreateParams {
473
+ /**
474
+ * Recipient phone number in E.164 format.
475
+ */
476
+ to: string;
477
+ /**
478
+ * Overrides the agent's configured greeting for this call only.
479
+ */
480
+ greeting?: string;
481
+ /**
482
+ * Language the agent speaks on this call only, as a BCP-47 tag (`en`, `es`,
483
+ * `es-ES`, `pt-BR`), or `auto` to detect the caller's language and follow it.
484
+ * Overrides the agent's configured language for speech recognition, the agent's
485
+ * replies, and the synthesized voice. If the agent uses a custom voice you
486
+ * supplied, that voice is kept and only the language changes. When omitted, the
487
+ * agent's configured language is used.
488
+ */
489
+ language?: string;
490
+ /**
491
+ * Overrides the agent's maximum call duration for this call only.
492
+ */
493
+ maxDurationMinutes?: number;
494
+ /**
495
+ * Arbitrary metadata to associate with the call. Returned on the call object and
496
+ * included in voice webhooks.
497
+ */
498
+ metadata?: {
499
+ [key: string]: string;
500
+ };
501
+ /**
502
+ * Sender profile that places the call. Uses the project's default sender if
503
+ * omitted. The sender's agent must have voice enabled.
504
+ */
505
+ senderId?: string;
506
+ }
507
+ export interface CallListParams extends CursorParams {
508
+ /**
509
+ * Whether the call was placed by Zavu (outbound) or received from a caller
510
+ * (inbound).
511
+ */
512
+ direction?: 'inbound' | 'outbound';
513
+ /**
514
+ * Lifecycle status of a voice call.
515
+ *
516
+ * - `queued`: outbound call created, not yet dialing.
517
+ * - `ringing`: dialing (outbound) or received and ringing (inbound).
518
+ * - `in_progress`: answered, the agent is connected.
519
+ * - `completed`: ended after a conversation.
520
+ * - `failed`: could not be completed.
521
+ * - `busy`: the line was busy.
522
+ * - `no_answer`: rang but was not answered.
523
+ * - `canceled`: canceled before it was answered.
524
+ */
525
+ status?: 'queued' | 'ringing' | 'in_progress' | 'completed' | 'failed' | 'busy' | 'no_answer' | 'canceled';
526
+ }
527
+ export declare namespace Calls {
528
+ export { type CallCreateResponse as CallCreateResponse, type CallRetrieveResponse as CallRetrieveResponse, type CallListResponse as CallListResponse, type CallHangupResponse as CallHangupResponse, type CallListResponsesCursor as CallListResponsesCursor, type CallCreateParams as CallCreateParams, type CallListParams as CallListParams, };
529
+ }
530
+ //# sourceMappingURL=calls.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calls.d.mts","sourceRoot":"","sources":["../src/resources/calls.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE,+BAA2B;AAC5E,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAIxF;;;;;;;;OAQG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAIpF;;;;;;;;;;;OAWG;IACH,IAAI,CACF,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,uBAAuB,EAAE,gBAAgB,CAAC;IAIzD;;;;;;;;OAQG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;CAGjF;AAED,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAE/D,MAAM,WAAW,kBAAkB;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