retell-sdk 0.1.0-alpha.1

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 (193) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/LICENSE +201 -0
  3. package/README.md +304 -0
  4. package/_shims/MultipartBody.d.ts +9 -0
  5. package/_shims/MultipartBody.d.ts.map +1 -0
  6. package/_shims/MultipartBody.js +16 -0
  7. package/_shims/MultipartBody.js.map +1 -0
  8. package/_shims/MultipartBody.mjs +12 -0
  9. package/_shims/MultipartBody.mjs.map +1 -0
  10. package/_shims/README.md +46 -0
  11. package/_shims/auto/runtime-bun.d.ts +5 -0
  12. package/_shims/auto/runtime-bun.d.ts.map +1 -0
  13. package/_shims/auto/runtime-bun.js +21 -0
  14. package/_shims/auto/runtime-bun.js.map +1 -0
  15. package/_shims/auto/runtime-bun.mjs +2 -0
  16. package/_shims/auto/runtime-bun.mjs.map +1 -0
  17. package/_shims/auto/runtime-node.d.ts +5 -0
  18. package/_shims/auto/runtime-node.d.ts.map +1 -0
  19. package/_shims/auto/runtime-node.js +21 -0
  20. package/_shims/auto/runtime-node.js.map +1 -0
  21. package/_shims/auto/runtime-node.mjs +2 -0
  22. package/_shims/auto/runtime-node.mjs.map +1 -0
  23. package/_shims/auto/runtime.d.ts +5 -0
  24. package/_shims/auto/runtime.d.ts.map +1 -0
  25. package/_shims/auto/runtime.js +21 -0
  26. package/_shims/auto/runtime.js.map +1 -0
  27. package/_shims/auto/runtime.mjs +2 -0
  28. package/_shims/auto/runtime.mjs.map +1 -0
  29. package/_shims/auto/types-node.d.ts +5 -0
  30. package/_shims/auto/types-node.d.ts.map +1 -0
  31. package/_shims/auto/types-node.js +21 -0
  32. package/_shims/auto/types-node.js.map +1 -0
  33. package/_shims/auto/types-node.mjs +2 -0
  34. package/_shims/auto/types-node.mjs.map +1 -0
  35. package/_shims/auto/types.d.ts +101 -0
  36. package/_shims/auto/types.js +3 -0
  37. package/_shims/auto/types.mjs +3 -0
  38. package/_shims/bun-runtime.d.ts +6 -0
  39. package/_shims/bun-runtime.d.ts.map +1 -0
  40. package/_shims/bun-runtime.js +14 -0
  41. package/_shims/bun-runtime.js.map +1 -0
  42. package/_shims/bun-runtime.mjs +10 -0
  43. package/_shims/bun-runtime.mjs.map +1 -0
  44. package/_shims/index.d.ts +81 -0
  45. package/_shims/index.js +13 -0
  46. package/_shims/index.mjs +7 -0
  47. package/_shims/manual-types.d.ts +12 -0
  48. package/_shims/manual-types.js +3 -0
  49. package/_shims/manual-types.mjs +3 -0
  50. package/_shims/node-runtime.d.ts +3 -0
  51. package/_shims/node-runtime.d.ts.map +1 -0
  52. package/_shims/node-runtime.js +90 -0
  53. package/_shims/node-runtime.js.map +1 -0
  54. package/_shims/node-runtime.mjs +56 -0
  55. package/_shims/node-runtime.mjs.map +1 -0
  56. package/_shims/node-types.d.ts +42 -0
  57. package/_shims/node-types.js +3 -0
  58. package/_shims/node-types.mjs +3 -0
  59. package/_shims/registry.d.ts +37 -0
  60. package/_shims/registry.d.ts.map +1 -0
  61. package/_shims/registry.js +41 -0
  62. package/_shims/registry.js.map +1 -0
  63. package/_shims/registry.mjs +37 -0
  64. package/_shims/registry.mjs.map +1 -0
  65. package/_shims/web-runtime.d.ts +5 -0
  66. package/_shims/web-runtime.d.ts.map +1 -0
  67. package/_shims/web-runtime.js +78 -0
  68. package/_shims/web-runtime.js.map +1 -0
  69. package/_shims/web-runtime.mjs +71 -0
  70. package/_shims/web-runtime.mjs.map +1 -0
  71. package/_shims/web-types.d.ts +83 -0
  72. package/_shims/web-types.js +3 -0
  73. package/_shims/web-types.mjs +3 -0
  74. package/core.d.ts +237 -0
  75. package/core.d.ts.map +1 -0
  76. package/core.js +868 -0
  77. package/core.js.map +1 -0
  78. package/core.mjs +837 -0
  79. package/core.mjs.map +1 -0
  80. package/error.d.ts +53 -0
  81. package/error.d.ts.map +1 -0
  82. package/error.js +143 -0
  83. package/error.js.map +1 -0
  84. package/error.mjs +127 -0
  85. package/error.mjs.map +1 -0
  86. package/index.d.mts +133 -0
  87. package/index.d.ts +133 -0
  88. package/index.d.ts.map +1 -0
  89. package/index.js +117 -0
  90. package/index.js.map +1 -0
  91. package/index.mjs +89 -0
  92. package/index.mjs.map +1 -0
  93. package/package.json +107 -0
  94. package/resource.d.ts +6 -0
  95. package/resource.d.ts.map +1 -0
  96. package/resource.js +11 -0
  97. package/resource.js.map +1 -0
  98. package/resource.mjs +7 -0
  99. package/resource.mjs.map +1 -0
  100. package/resources/agent.d.ts +372 -0
  101. package/resources/agent.d.ts.map +1 -0
  102. package/resources/agent.js +44 -0
  103. package/resources/agent.js.map +1 -0
  104. package/resources/agent.mjs +40 -0
  105. package/resources/agent.mjs.map +1 -0
  106. package/resources/call.d.ts +461 -0
  107. package/resources/call.d.ts.map +1 -0
  108. package/resources/call.js +36 -0
  109. package/resources/call.js.map +1 -0
  110. package/resources/call.mjs +32 -0
  111. package/resources/call.mjs.map +1 -0
  112. package/resources/index.d.ts +5 -0
  113. package/resources/index.d.ts.map +1 -0
  114. package/resources/index.js +13 -0
  115. package/resources/index.js.map +1 -0
  116. package/resources/index.mjs +6 -0
  117. package/resources/index.mjs.map +1 -0
  118. package/resources/llm.d.ts +1355 -0
  119. package/resources/llm.d.ts.map +1 -0
  120. package/resources/llm.js +44 -0
  121. package/resources/llm.js.map +1 -0
  122. package/resources/llm.mjs +40 -0
  123. package/resources/llm.mjs.map +1 -0
  124. package/resources/phone-number.d.ts +78 -0
  125. package/resources/phone-number.d.ts.map +1 -0
  126. package/resources/phone-number.js +44 -0
  127. package/resources/phone-number.js.map +1 -0
  128. package/resources/phone-number.mjs +40 -0
  129. package/resources/phone-number.mjs.map +1 -0
  130. package/shims/node.d.ts +29 -0
  131. package/shims/node.d.ts.map +1 -0
  132. package/shims/node.js +31 -0
  133. package/shims/node.js.map +1 -0
  134. package/shims/node.mjs +5 -0
  135. package/shims/node.mjs.map +1 -0
  136. package/shims/web.d.ts +26 -0
  137. package/shims/web.d.ts.map +1 -0
  138. package/shims/web.js +31 -0
  139. package/shims/web.js.map +1 -0
  140. package/shims/web.mjs +5 -0
  141. package/shims/web.mjs.map +1 -0
  142. package/src/_shims/MultipartBody.ts +9 -0
  143. package/src/_shims/README.md +46 -0
  144. package/src/_shims/auto/runtime-bun.ts +4 -0
  145. package/src/_shims/auto/runtime-node.ts +4 -0
  146. package/src/_shims/auto/runtime.ts +4 -0
  147. package/src/_shims/auto/types-node.ts +4 -0
  148. package/src/_shims/auto/types.d.ts +101 -0
  149. package/src/_shims/auto/types.js +3 -0
  150. package/src/_shims/auto/types.mjs +3 -0
  151. package/src/_shims/bun-runtime.ts +14 -0
  152. package/src/_shims/index.d.ts +81 -0
  153. package/src/_shims/index.js +13 -0
  154. package/src/_shims/index.mjs +7 -0
  155. package/src/_shims/manual-types.d.ts +12 -0
  156. package/src/_shims/manual-types.js +3 -0
  157. package/src/_shims/manual-types.mjs +3 -0
  158. package/src/_shims/node-runtime.ts +83 -0
  159. package/src/_shims/node-types.d.ts +42 -0
  160. package/src/_shims/node-types.js +3 -0
  161. package/src/_shims/node-types.mjs +3 -0
  162. package/src/_shims/registry.ts +67 -0
  163. package/src/_shims/web-runtime.ts +103 -0
  164. package/src/_shims/web-types.d.ts +83 -0
  165. package/src/_shims/web-types.js +3 -0
  166. package/src/_shims/web-types.mjs +3 -0
  167. package/src/core.ts +1146 -0
  168. package/src/error.ts +146 -0
  169. package/src/index.ts +215 -0
  170. package/src/lib/.keep +4 -0
  171. package/src/resource.ts +11 -0
  172. package/src/resources/agent.ts +468 -0
  173. package/src/resources/call.ts +542 -0
  174. package/src/resources/index.ts +21 -0
  175. package/src/resources/llm.ts +1643 -0
  176. package/src/resources/phone-number.ts +111 -0
  177. package/src/shims/node.ts +50 -0
  178. package/src/shims/web.ts +50 -0
  179. package/src/tsconfig.json +11 -0
  180. package/src/uploads.ts +248 -0
  181. package/src/version.ts +1 -0
  182. package/uploads.d.ts +75 -0
  183. package/uploads.d.ts.map +1 -0
  184. package/uploads.js +165 -0
  185. package/uploads.js.map +1 -0
  186. package/uploads.mjs +152 -0
  187. package/uploads.mjs.map +1 -0
  188. package/version.d.ts +2 -0
  189. package/version.d.ts.map +1 -0
  190. package/version.js +5 -0
  191. package/version.js.map +1 -0
  192. package/version.mjs +2 -0
  193. package/version.mjs.map +1 -0
@@ -0,0 +1,461 @@
1
+ import * as Core from 'retell-sdk/core';
2
+ import { APIResource } from 'retell-sdk/resource';
3
+ import * as CallAPI from 'retell-sdk/resources/call';
4
+ export declare class Call extends APIResource {
5
+ /**
6
+ * Create a new phone call
7
+ */
8
+ create(body: CallCreateParams, options?: Core.RequestOptions): Core.APIPromise<CallCreateResponse>;
9
+ /**
10
+ * Retrieve details of a specific call
11
+ */
12
+ retrieve(callId: string, options?: Core.RequestOptions): Core.APIPromise<CallDetailResponse>;
13
+ /**
14
+ * Retrieve call details
15
+ */
16
+ list(query?: CallListParams, options?: Core.RequestOptions): Core.APIPromise<CallListResponse>;
17
+ list(options?: Core.RequestOptions): Core.APIPromise<CallListResponse>;
18
+ /**
19
+ * Register Call To Get CallId To Establish Connection
20
+ */
21
+ register(body: CallRegisterParams, options?: Core.RequestOptions): Core.APIPromise<CallRegisterResponse>;
22
+ }
23
+ export interface CallDetailResponse {
24
+ /**
25
+ * Corresponding agent id of this call.
26
+ */
27
+ agent_id: string;
28
+ /**
29
+ * The audio encoding of the call. The following formats are supported:
30
+ *
31
+ * - `s16le` 16 bit linear PCM audio, the native format for web audio capture and
32
+ * playback.
33
+ *
34
+ * - `mulaw` non-linear audio encoding technique used in telephony. Commonly used
35
+ * by Twilio.
36
+ */
37
+ audio_encoding: 's16le' | 'mulaw';
38
+ /**
39
+ * Where the audio websocket would connect from would determine the format /
40
+ * protocol of websocket messages, and would determine how our server read audio
41
+ * bytes and send audio bytes.:
42
+ *
43
+ * - `web`: The protocol defined by Retell, commonly used for connecting from web
44
+ * frontend. Also useful for those who want to manipulate audio bytes directly.
45
+ *
46
+ * - `twilio`: The
47
+ * [websocket protocol](https://www.twilio.com/docs/voice/twiml/stream#message-media)
48
+ * defined by Twilio, used when your system uses Twilio, and supplies Retell
49
+ * audio websocket url to Twilio.
50
+ */
51
+ audio_websocket_protocol: 'web' | 'twilio';
52
+ /**
53
+ * Unique id of the call. Used to identify in LLM websocket and used to
54
+ * authenticate in audio websocket.
55
+ */
56
+ call_id: string;
57
+ /**
58
+ * Status of call.
59
+ *
60
+ * - `registered`: Call id issued, ready to make a call using this id.
61
+ *
62
+ * - `ongoing`: Call connected and ongoing.
63
+ *
64
+ * - `ended`: The underlying websocket has ended for the call. Either user or agent
65
+ * hanged up, or call transferred.
66
+ *
67
+ * - `error`: Call encountered error.
68
+ */
69
+ call_status: 'registered' | 'ongoing' | 'ended' | 'error';
70
+ /**
71
+ * Sample rate of the conversation, the input and output audio bytes will all
72
+ * conform to this rate. Check the audio source, audio format, and voice used for
73
+ * the agent to select one that works. supports value ranging from [8000, 48000].
74
+ * Note for Twilio `mulaw` encoding, the sample rate has to be 8000.
75
+ *
76
+ * - `s16le` sample rate recommendation (natively supported, lowest latency):
77
+ *
78
+ * - elevenlabs voices: 16000, 22050, 24000, 44100.
79
+ * - openai voices: 24000.
80
+ *
81
+ * - deepgram voices: 8000, 16000, 24000, 32000, 48000.
82
+ */
83
+ sample_rate: number;
84
+ /**
85
+ * Begin timestamp (milliseconds since epoch) of the call.
86
+ */
87
+ start_timestamp: number;
88
+ /**
89
+ * If users stay silent for a period, end the call. By default, it is set to
90
+ * 600,000 ms (10 min). The minimum value allowed is 10,000 ms (10 s).
91
+ */
92
+ end_call_after_silence_ms?: number;
93
+ /**
94
+ * The caller number. This field is storage purpose only, set this if you want the
95
+ * call object to contain it so that it's easier to reference it. Not used for
96
+ * processing, when we connect to your LLM websocket server, you can then get it
97
+ * from the call object.
98
+ */
99
+ from_number?: string;
100
+ /**
101
+ * An abtriary object for storage purpose only. You can put anything here like your
102
+ * own id for the call, twilio SID, internal customer id. Not used for processing,
103
+ * when we connect to your LLM websocket server, you can then get it from the call
104
+ * object.
105
+ */
106
+ metadata?: unknown;
107
+ /**
108
+ * Add optional dynamic variables in key value pairs of string that injects into
109
+ * your Retell LLM prompt and tool description. Only applicable for Retell LLM.
110
+ */
111
+ retell_llm_dynamic_variables?: Record<string, unknown>;
112
+ /**
113
+ * The callee number. This field is storage purpose only, set this if you want the
114
+ * call object to contain it so that it's easier to reference it. Not used for
115
+ * processing, when we connect to your LLM websocket server, you can then get it
116
+ * from the call object.
117
+ */
118
+ to_number?: string;
119
+ }
120
+ export interface CallCreateResponse {
121
+ /**
122
+ * Corresponding agent id of this call.
123
+ */
124
+ agent_id: string;
125
+ /**
126
+ * The audio encoding of the call. The following formats are supported:
127
+ *
128
+ * - `s16le` 16 bit linear PCM audio, the native format for web audio capture and
129
+ * playback.
130
+ *
131
+ * - `mulaw` non-linear audio encoding technique used in telephony. Commonly used
132
+ * by Twilio.
133
+ */
134
+ audio_encoding: 's16le' | 'mulaw';
135
+ /**
136
+ * Where the audio websocket would connect from would determine the format /
137
+ * protocol of websocket messages, and would determine how our server read audio
138
+ * bytes and send audio bytes.:
139
+ *
140
+ * - `web`: The protocol defined by Retell, commonly used for connecting from web
141
+ * frontend. Also useful for those who want to manipulate audio bytes directly.
142
+ *
143
+ * - `twilio`: The
144
+ * [websocket protocol](https://www.twilio.com/docs/voice/twiml/stream#message-media)
145
+ * defined by Twilio, used when your system uses Twilio, and supplies Retell
146
+ * audio websocket url to Twilio.
147
+ */
148
+ audio_websocket_protocol: 'web' | 'twilio';
149
+ /**
150
+ * Unique id of the call. Used to identify in LLM websocket and used to
151
+ * authenticate in audio websocket.
152
+ */
153
+ call_id: string;
154
+ /**
155
+ * Status of call.
156
+ *
157
+ * - `registered`: Call id issued, ready to make a call using this id.
158
+ *
159
+ * - `ongoing`: Call connected and ongoing.
160
+ *
161
+ * - `ended`: The underlying websocket has ended for the call. Either user or agent
162
+ * hanged up, or call transferred.
163
+ *
164
+ * - `error`: Call encountered error.
165
+ */
166
+ call_status: 'registered' | 'ongoing' | 'ended' | 'error';
167
+ /**
168
+ * Sample rate of the conversation, the input and output audio bytes will all
169
+ * conform to this rate. Check the audio source, audio format, and voice used for
170
+ * the agent to select one that works. supports value ranging from [8000, 48000].
171
+ * Note for Twilio `mulaw` encoding, the sample rate has to be 8000.
172
+ *
173
+ * - `s16le` sample rate recommendation (natively supported, lowest latency):
174
+ *
175
+ * - elevenlabs voices: 16000, 22050, 24000, 44100.
176
+ * - openai voices: 24000.
177
+ *
178
+ * - deepgram voices: 8000, 16000, 24000, 32000, 48000.
179
+ */
180
+ sample_rate: number;
181
+ /**
182
+ * Begin timestamp (milliseconds since epoch) of the call.
183
+ */
184
+ start_timestamp: number;
185
+ /**
186
+ * If users stay silent for a period, end the call. By default, it is set to
187
+ * 600,000 ms (10 min). The minimum value allowed is 10,000 ms (10 s).
188
+ */
189
+ end_call_after_silence_ms?: number;
190
+ /**
191
+ * The caller number. This field is storage purpose only, set this if you want the
192
+ * call object to contain it so that it's easier to reference it. Not used for
193
+ * processing, when we connect to your LLM websocket server, you can then get it
194
+ * from the call object.
195
+ */
196
+ from_number?: string;
197
+ /**
198
+ * An abtriary object for storage purpose only. You can put anything here like your
199
+ * own id for the call, twilio SID, internal customer id. Not used for processing,
200
+ * when we connect to your LLM websocket server, you can then get it from the call
201
+ * object.
202
+ */
203
+ metadata?: unknown;
204
+ /**
205
+ * Add optional dynamic variables in key value pairs of string that injects into
206
+ * your Retell LLM prompt and tool description. Only applicable for Retell LLM.
207
+ */
208
+ retell_llm_dynamic_variables?: Record<string, unknown>;
209
+ /**
210
+ * The callee number. This field is storage purpose only, set this if you want the
211
+ * call object to contain it so that it's easier to reference it. Not used for
212
+ * processing, when we connect to your LLM websocket server, you can then get it
213
+ * from the call object.
214
+ */
215
+ to_number?: string;
216
+ }
217
+ export type CallListResponse = Array<CallDetailResponse>;
218
+ export interface CallRegisterResponse {
219
+ /**
220
+ * Corresponding agent id of this call.
221
+ */
222
+ agent_id: string;
223
+ /**
224
+ * The audio encoding of the call. The following formats are supported:
225
+ *
226
+ * - `s16le` 16 bit linear PCM audio, the native format for web audio capture and
227
+ * playback.
228
+ *
229
+ * - `mulaw` non-linear audio encoding technique used in telephony. Commonly used
230
+ * by Twilio.
231
+ */
232
+ audio_encoding: 's16le' | 'mulaw';
233
+ /**
234
+ * Where the audio websocket would connect from would determine the format /
235
+ * protocol of websocket messages, and would determine how our server read audio
236
+ * bytes and send audio bytes.:
237
+ *
238
+ * - `web`: The protocol defined by Retell, commonly used for connecting from web
239
+ * frontend. Also useful for those who want to manipulate audio bytes directly.
240
+ *
241
+ * - `twilio`: The
242
+ * [websocket protocol](https://www.twilio.com/docs/voice/twiml/stream#message-media)
243
+ * defined by Twilio, used when your system uses Twilio, and supplies Retell
244
+ * audio websocket url to Twilio.
245
+ */
246
+ audio_websocket_protocol: 'web' | 'twilio';
247
+ /**
248
+ * Unique id of the call. Used to identify in LLM websocket and used to
249
+ * authenticate in audio websocket.
250
+ */
251
+ call_id: string;
252
+ /**
253
+ * Status of call.
254
+ *
255
+ * - `registered`: Call id issued, ready to make a call using this id.
256
+ *
257
+ * - `ongoing`: Call connected and ongoing.
258
+ *
259
+ * - `ended`: The underlying websocket has ended for the call. Either user or agent
260
+ * hanged up, or call transferred.
261
+ *
262
+ * - `error`: Call encountered error.
263
+ */
264
+ call_status: 'registered' | 'ongoing' | 'ended' | 'error';
265
+ /**
266
+ * Sample rate of the conversation, the input and output audio bytes will all
267
+ * conform to this rate. Check the audio source, audio format, and voice used for
268
+ * the agent to select one that works. supports value ranging from [8000, 48000].
269
+ * Note for Twilio `mulaw` encoding, the sample rate has to be 8000.
270
+ *
271
+ * - `s16le` sample rate recommendation (natively supported, lowest latency):
272
+ *
273
+ * - elevenlabs voices: 16000, 22050, 24000, 44100.
274
+ * - openai voices: 24000.
275
+ *
276
+ * - deepgram voices: 8000, 16000, 24000, 32000, 48000.
277
+ */
278
+ sample_rate: number;
279
+ /**
280
+ * Begin timestamp (milliseconds since epoch) of the call.
281
+ */
282
+ start_timestamp: number;
283
+ /**
284
+ * If users stay silent for a period, end the call. By default, it is set to
285
+ * 600,000 ms (10 min). The minimum value allowed is 10,000 ms (10 s).
286
+ */
287
+ end_call_after_silence_ms?: number;
288
+ /**
289
+ * The caller number. This field is storage purpose only, set this if you want the
290
+ * call object to contain it so that it's easier to reference it. Not used for
291
+ * processing, when we connect to your LLM websocket server, you can then get it
292
+ * from the call object.
293
+ */
294
+ from_number?: string;
295
+ /**
296
+ * An abtriary object for storage purpose only. You can put anything here like your
297
+ * own id for the call, twilio SID, internal customer id. Not used for processing,
298
+ * when we connect to your LLM websocket server, you can then get it from the call
299
+ * object.
300
+ */
301
+ metadata?: unknown;
302
+ /**
303
+ * Add optional dynamic variables in key value pairs of string that injects into
304
+ * your Retell LLM prompt and tool description. Only applicable for Retell LLM.
305
+ */
306
+ retell_llm_dynamic_variables?: Record<string, unknown>;
307
+ /**
308
+ * The callee number. This field is storage purpose only, set this if you want the
309
+ * call object to contain it so that it's easier to reference it. Not used for
310
+ * processing, when we connect to your LLM websocket server, you can then get it
311
+ * from the call object.
312
+ */
313
+ to_number?: string;
314
+ }
315
+ export interface CallCreateParams {
316
+ phone_number: CallCreateParams.PhoneNumber;
317
+ /**
318
+ * For this particular call, override the agent used with this agent id. This does
319
+ * not bind the agent to this number, this is for one time override.
320
+ */
321
+ override_agent_id?: string;
322
+ /**
323
+ * Add optional dynamic variables in key value pairs of string that injects into
324
+ * your Retell LLM prompt and tool description. Only applicable for Retell LLM.
325
+ */
326
+ retell_llm_dynamic_variables?: Record<string, unknown>;
327
+ }
328
+ export declare namespace CallCreateParams {
329
+ interface PhoneNumber {
330
+ /**
331
+ * The number you own in BCP 47 format.
332
+ */
333
+ from: string;
334
+ /**
335
+ * The number you want to call, in BCP 47 format.
336
+ */
337
+ to: string;
338
+ }
339
+ }
340
+ export interface CallListParams {
341
+ filter_criteria?: CallListParams.FilterCriteria;
342
+ /**
343
+ * Limit the number of calls returned.
344
+ */
345
+ limit?: number;
346
+ /**
347
+ * The calls will be sorted by `start_timestamp`, whether to return the calls in
348
+ * ascending or descending order.
349
+ */
350
+ sort_order?: 'ascending' | 'descending';
351
+ }
352
+ export declare namespace CallListParams {
353
+ interface FilterCriteria {
354
+ /**
355
+ * Inclusive. Filter calls that end on or after this timestamp.
356
+ */
357
+ after_end_timestamp?: number;
358
+ /**
359
+ * Inclusive. Filter calls that start on or after this timestamp.
360
+ */
361
+ after_start_timestamp?: number;
362
+ /**
363
+ * Only retrieve calls that are made with specific agent(s).
364
+ */
365
+ agent_id?: Array<string>;
366
+ /**
367
+ * Exclusive. Filter calls that end before this timestamp.
368
+ */
369
+ before_end_timestamp?: number;
370
+ /**
371
+ * Exclusive. Filter calls that start before this timestamp.
372
+ */
373
+ before_start_timestamp?: number;
374
+ }
375
+ }
376
+ export interface CallRegisterParams {
377
+ /**
378
+ * Unique id of agent used for the call. Your agent would contain the LLM Websocket
379
+ * url used for this call.
380
+ */
381
+ agent_id: string;
382
+ /**
383
+ * The audio encoding of the call. The following formats are supported:
384
+ *
385
+ * - `s16le` 16 bit linear PCM audio, the native format for web audio capture and
386
+ * playback.
387
+ *
388
+ * - `mulaw` non-linear audio encoding technique used in telephony. Commonly used
389
+ * by Twilio.
390
+ */
391
+ audio_encoding: 's16le' | 'mulaw';
392
+ /**
393
+ * Where the audio websocket would connect from would determine the format /
394
+ * protocol of websocket messages, and would determine how our server read audio
395
+ * bytes and send audio bytes.:
396
+ *
397
+ * - `web`: The protocol defined by Retell, commonly used for connecting from web
398
+ * frontend. Also useful for those who want to manipulate audio bytes directly.
399
+ *
400
+ * - `twilio`: The
401
+ * [websocket protocol](https://www.twilio.com/docs/voice/twiml/stream#message-media)
402
+ * defined by Twilio, used when your system uses Twilio, and supplies Retell
403
+ * audio websocket url to Twilio.
404
+ */
405
+ audio_websocket_protocol: 'web' | 'twilio';
406
+ /**
407
+ * Sample rate of the conversation, the input and output audio bytes will all
408
+ * conform to this rate. Check the audio source, audio format, and voice used for
409
+ * the agent to select one that works. supports value ranging from [8000, 48000].
410
+ * Note for Twilio `mulaw` encoding, the sample rate has to be 8000.
411
+ *
412
+ * - `s16le` sample rate recommendation (natively supported, lowest latency):
413
+ *
414
+ * - elevenlabs voices: 16000, 22050, 24000, 44100.
415
+ * - openai voices: 24000.
416
+ *
417
+ * - deepgram voices: 8000, 16000, 24000, 32000, 48000.
418
+ */
419
+ sample_rate: number;
420
+ /**
421
+ * If users stay silent for a period, end the call. By default, it is set to
422
+ * 600,000 ms (10 min). The minimum value allowed is 10,000 ms (10 s).
423
+ */
424
+ end_call_after_silence_ms?: number;
425
+ /**
426
+ * The caller number. This field is storage purpose only, set this if you want the
427
+ * call object to contain it so that it's easier to reference it. Not used for
428
+ * processing, when we connect to your LLM websocket server, you can then get it
429
+ * from the call object.
430
+ */
431
+ from_number?: string;
432
+ /**
433
+ * An abtriary object for storage purpose only. You can put anything here like your
434
+ * own id for the call, twilio SID, internal customer id. Not used for processing,
435
+ * when we connect to your LLM websocket server, you can then get it from the call
436
+ * object.
437
+ */
438
+ metadata?: unknown;
439
+ /**
440
+ * Add optional dynamic variables in key value pairs of string that injects into
441
+ * your Retell LLM prompt and tool description. Only applicable for Retell LLM.
442
+ */
443
+ retell_llm_dynamic_variables?: Record<string, unknown>;
444
+ /**
445
+ * The callee number. This field is storage purpose only, set this if you want the
446
+ * call object to contain it so that it's easier to reference it. Not used for
447
+ * processing, when we connect to your LLM websocket server, you can then get it
448
+ * from the call object.
449
+ */
450
+ to_number?: string;
451
+ }
452
+ export declare namespace Call {
453
+ export import CallDetailResponse = CallAPI.CallDetailResponse;
454
+ export import CallCreateResponse = CallAPI.CallCreateResponse;
455
+ export import CallListResponse = CallAPI.CallListResponse;
456
+ export import CallRegisterResponse = CallAPI.CallRegisterResponse;
457
+ export import CallCreateParams = CallAPI.CallCreateParams;
458
+ export import CallListParams = CallAPI.CallListParams;
459
+ export import CallRegisterParams = CallAPI.CallRegister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CAAC;IAClE,MAAM,QAAQ,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAC1D,MAAM,QAAQ,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC;IACtD,MAAM,QAAQ,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAC/D"}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Call = void 0;
5
+ const resource_1 = require("retell-sdk/resource");
6
+ const core_1 = require("retell-sdk/core");
7
+ class Call extends resource_1.APIResource {
8
+ /**
9
+ * Create a new phone call
10
+ */
11
+ create(body, options) {
12
+ return this._client.post('/create-phone-call', { body, ...options });
13
+ }
14
+ /**
15
+ * Retrieve details of a specific call
16
+ */
17
+ retrieve(callId, options) {
18
+ return this._client.get(`/get-call/${callId}`, options);
19
+ }
20
+ list(query = {}, options) {
21
+ if ((0, core_1.isRequestOptions)(query)) {
22
+ return this.list({}, query);
23
+ }
24
+ return this._client.get('/list-calls', { query, ...options });
25
+ }
26
+ /**
27
+ * Register Call To Get CallId To Establish Connection
28
+ */
29
+ register(body, options) {
30
+ return this._client.post('/register-call', { body, ...options });
31
+ }
32
+ }
33
+ exports.Call = Call;
34
+ (function (Call) {
35
+ })(Call = exports.Call || (exports.Call = {}));
36
+ //# sourceMappingURL=call.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"call.js","sourceRoot":"","sources":["../src/resources/call.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAGtF,kDAAkD;AAClD,0CAAmD;AAGnD,MAAa,IAAK,SAAQ,sBAAW;IACnC;;OAEG;IACH,MAAM,CAAC,IAAsB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,MAAc,EAAE,OAA6B;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAOD,IAAI,CACF,QAA8C,EAAE,EAChD,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,IAAwB,EAAE,OAA6B;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF;AApCD,oBAoCC;AA0eD,WAAiB,IAAI;AAQrB,CAAC,EARgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAQpB"}
@@ -0,0 +1,32 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from 'retell-sdk/resource';
3
+ import { isRequestOptions } from 'retell-sdk/core';
4
+ export class Call extends APIResource {
5
+ /**
6
+ * Create a new phone call
7
+ */
8
+ create(body, options) {
9
+ return this._client.post('/create-phone-call', { body, ...options });
10
+ }
11
+ /**
12
+ * Retrieve details of a specific call
13
+ */
14
+ retrieve(callId, options) {
15
+ return this._client.get(`/get-call/${callId}`, options);
16
+ }
17
+ list(query = {}, options) {
18
+ if (isRequestOptions(query)) {
19
+ return this.list({}, query);
20
+ }
21
+ return this._client.get('/list-calls', { query, ...options });
22
+ }
23
+ /**
24
+ * Register Call To Get CallId To Establish Connection
25
+ */
26
+ register(body, options) {
27
+ return this._client.post('/register-call', { body, ...options });
28
+ }
29
+ }
30
+ (function (Call) {
31
+ })(Call || (Call = {}));
32
+ //# sourceMappingURL=call.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"call.mjs","sourceRoot":"","sources":["../src/resources/call.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAG/E,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,gBAAgB,EAAE,MAAM,iBAAiB;AAGlD,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,MAAM,CAAC,IAAsB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,MAAc,EAAE,OAA6B;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAOD,IAAI,CACF,QAA8C,EAAE,EAChD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,IAAwB,EAAE,OAA6B;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF;AA0eD,WAAiB,IAAI;AAQrB,CAAC,EARgB,IAAI,KAAJ,IAAI,QAQpB"}
@@ -0,0 +1,5 @@
1
+ export { AgentResponse, AgentListResponse, AgentCreateParams, AgentUpdateParams, Agent } from "./agent.js";
2
+ export { CallDetailResponse, CallCreateResponse, CallListResponse, CallRegisterResponse, CallCreateParams, CallListParams, CallRegisterParams, Call, } from "./call.js";
3
+ export { LlmResponse, LlmListResponse, LlmCreateParams, LlmUpdateParams, Llm } from "./llm.js";
4
+ export { PhoneNumberResponse, PhoneNumberListResponse, PhoneNumberCreateParams, PhoneNumberUpdateParams, PhoneNumber, } from "./phone-number.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACxG,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,IAAI,GACL,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,eAAe,EAAE,eAAe,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5F,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,WAAW,GACZ,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.PhoneNumber = exports.Llm = exports.Call = exports.Agent = void 0;
5
+ var agent_1 = require("./agent.js");
6
+ Object.defineProperty(exports, "Agent", { enumerable: true, get: function () { return agent_1.Agent; } });
7
+ var call_1 = require("./call.js");
8
+ Object.defineProperty(exports, "Call", { enumerable: true, get: function () { return call_1.Call; } });
9
+ var llm_1 = require("./llm.js");
10
+ Object.defineProperty(exports, "Llm", { enumerable: true, get: function () { return llm_1.Llm; } });
11
+ var phone_number_1 = require("./phone-number.js");
12
+ Object.defineProperty(exports, "PhoneNumber", { enumerable: true, get: function () { return phone_number_1.PhoneNumber; } });
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAAwG;AAAvB,8FAAA,KAAK,OAAA;AACtF,kCASgB;AADd,4FAAA,IAAI,OAAA;AAEN,gCAA4F;AAAnB,0FAAA,GAAG,OAAA;AAC5E,kDAMwB;AADtB,2GAAA,WAAW,OAAA"}
@@ -0,0 +1,6 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Agent } from "./agent.mjs";
3
+ export { Call, } from "./call.mjs";
4
+ export { Llm } from "./llm.mjs";
5
+ export { PhoneNumber, } from "./phone-number.mjs";
6
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAA0E,KAAK,EAAE;OACjF,EAQL,IAAI,GACL;OACM,EAAkE,GAAG,EAAE;OACvE,EAKL,WAAW,GACZ"}