telnyx 6.68.0 → 6.70.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.
- package/CHANGELOG.md +21 -0
- package/client.d.mts +6 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -0
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/assistants/assistants.d.mts +6 -0
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +6 -0
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/calls/actions.d.mts +4 -4
- package/resources/calls/actions.d.ts +4 -4
- package/resources/conferences/actions.d.mts +2 -2
- package/resources/conferences/actions.d.ts +2 -2
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/messages/messages.d.mts +8 -0
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +8 -0
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/shared.d.mts +4 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +4 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/voice-sdk-call-reports.d.mts +438 -0
- package/resources/voice-sdk-call-reports.d.mts.map +1 -0
- package/resources/voice-sdk-call-reports.d.ts +438 -0
- package/resources/voice-sdk-call-reports.d.ts.map +1 -0
- package/resources/voice-sdk-call-reports.js +30 -0
- package/resources/voice-sdk-call-reports.js.map +1 -0
- package/resources/voice-sdk-call-reports.mjs +26 -0
- package/resources/voice-sdk-call-reports.mjs.map +1 -0
- package/src/client.ts +20 -0
- package/src/resources/ai/assistants/assistants.ts +7 -0
- package/src/resources/calls/actions.ts +4 -4
- package/src/resources/conferences/actions.ts +2 -2
- package/src/resources/index.ts +7 -0
- package/src/resources/messages/messages.ts +10 -0
- package/src/resources/shared.ts +5 -0
- package/src/resources/voice-sdk-call-reports.ts +498 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,438 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../core/pagination.js";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
5
|
+
/**
|
|
6
|
+
* Retrieve raw Voice SDK call report stats payloads for WebRTC call troubleshooting.
|
|
7
|
+
*/
|
|
8
|
+
export declare class VoiceSDKCallReports extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns raw call report stats JSON payloads stored for the authenticated user
|
|
11
|
+
* and `call_id`. The user is derived from Telnyx authentication, not from request
|
|
12
|
+
* parameters.
|
|
13
|
+
*/
|
|
14
|
+
retrieve(callID: string, options?: RequestOptions): APIPromise<VoiceSDKCallReportRetrieveResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Returns paginated raw call report stats JSON payloads stored for the
|
|
17
|
+
* authenticated user. The user is derived from Telnyx authentication, not from
|
|
18
|
+
* request parameters.
|
|
19
|
+
*/
|
|
20
|
+
list(query?: VoiceSDKCallReportListParams | null | undefined, options?: RequestOptions): PagePromise<VoiceSDKCallReportListResponsesDefaultFlatPagination, VoiceSDKCallReportListResponse>;
|
|
21
|
+
}
|
|
22
|
+
export type VoiceSDKCallReportListResponsesDefaultFlatPagination = DefaultFlatPagination<VoiceSDKCallReportListResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Raw Voice SDK call report stats payloads as stored by voice-sdk-debug.
|
|
25
|
+
*/
|
|
26
|
+
export type VoiceSDKCallReportRetrieveResponse = Array<VoiceSDKCallReportRetrieveResponse.VoiceSDKCallReportRetrieveResponseItem>;
|
|
27
|
+
export declare namespace VoiceSDKCallReportRetrieveResponse {
|
|
28
|
+
/**
|
|
29
|
+
* A raw call report stats JSON payload. The schema is intentionally permissive
|
|
30
|
+
* because Voice SDK clients can add fields over time.
|
|
31
|
+
*/
|
|
32
|
+
interface VoiceSDKCallReportRetrieveResponseItem {
|
|
33
|
+
/**
|
|
34
|
+
* Unique call identifier.
|
|
35
|
+
*/
|
|
36
|
+
call_id?: string;
|
|
37
|
+
/**
|
|
38
|
+
* User-scoped storage grouping identifier derived from the authenticated user.
|
|
39
|
+
* This is not a unique per-call report identifier and may be shared by multiple
|
|
40
|
+
* calls for the same user.
|
|
41
|
+
*/
|
|
42
|
+
call_report_id?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Creation timestamp when present.
|
|
45
|
+
*/
|
|
46
|
+
created_at?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Reason the SDK flushed this stats report segment, for example an intermediate
|
|
49
|
+
* socket-close flush.
|
|
50
|
+
*/
|
|
51
|
+
flushReason?: {
|
|
52
|
+
[key: string]: unknown;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Raw logs payload emitted by the Voice SDK and stored without normalization. Live
|
|
56
|
+
* responses commonly return an array of log entries, but object-shaped log
|
|
57
|
+
* payloads are also allowed for compatibility.
|
|
58
|
+
*/
|
|
59
|
+
logs?: Array<VoiceSDKCallReportRetrieveResponseItem.UnionMember0> | VoiceSDKCallReportRetrieveResponseItem.Entries;
|
|
60
|
+
/**
|
|
61
|
+
* Organization associated with the stored call report when provided by the Voice
|
|
62
|
+
* SDK reporting path.
|
|
63
|
+
*/
|
|
64
|
+
organization_id?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Zero-based stats segment index when the SDK sends segmented or intermediate
|
|
67
|
+
* reports.
|
|
68
|
+
*/
|
|
69
|
+
segment?: number;
|
|
70
|
+
/**
|
|
71
|
+
* Raw stats payload emitted by the Voice SDK and stored without normalization. The
|
|
72
|
+
* exact shape can vary by SDK platform and version. Live responses commonly return
|
|
73
|
+
* an array of interval snapshots, but object-shaped stats payloads are also
|
|
74
|
+
* allowed for compatibility.
|
|
75
|
+
*/
|
|
76
|
+
stats?: Array<{
|
|
77
|
+
[key: string]: unknown;
|
|
78
|
+
}> | VoiceSDKCallReportRetrieveResponseItem.UnionMember1;
|
|
79
|
+
/**
|
|
80
|
+
* Time when the call report was stored.
|
|
81
|
+
*/
|
|
82
|
+
stored_at?: string;
|
|
83
|
+
/**
|
|
84
|
+
* High-level call metadata.
|
|
85
|
+
*/
|
|
86
|
+
summary?: {
|
|
87
|
+
[key: string]: unknown;
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* Telnyx call leg identifier for correlating the report with call-control, SIP,
|
|
91
|
+
* and media troubleshooting data.
|
|
92
|
+
*/
|
|
93
|
+
telnyx_leg_id?: string;
|
|
94
|
+
/**
|
|
95
|
+
* Telnyx RTC session identifier for correlating the report with Voice SDK
|
|
96
|
+
* signaling and media-session logs.
|
|
97
|
+
*/
|
|
98
|
+
telnyx_session_id?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Voice SDK user agent string reported by the client. This is the preferred
|
|
101
|
+
* SDK/platform/version dimension when present.
|
|
102
|
+
*/
|
|
103
|
+
user_agent?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Authenticated user that owns the call report.
|
|
106
|
+
*/
|
|
107
|
+
user_id?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Legacy SDK version value when the client reports one separately from the user
|
|
110
|
+
* agent.
|
|
111
|
+
*/
|
|
112
|
+
version?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Voice SDK instance identifier.
|
|
115
|
+
*/
|
|
116
|
+
voice_sdk_id?: string;
|
|
117
|
+
/**
|
|
118
|
+
* Decoded Voice SDK identifier metadata emitted by voice-sdk-proxy when available.
|
|
119
|
+
*/
|
|
120
|
+
voice_sdk_id_decoded?: {
|
|
121
|
+
[key: string]: unknown;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Voice SDK session correlation identifier used to group stats segments for the
|
|
125
|
+
* same SDK session.
|
|
126
|
+
*/
|
|
127
|
+
voice_sdk_session_id?: string;
|
|
128
|
+
[k: string]: unknown;
|
|
129
|
+
}
|
|
130
|
+
namespace VoiceSDKCallReportRetrieveResponseItem {
|
|
131
|
+
/**
|
|
132
|
+
* A raw Voice SDK log entry. Additional SDK-specific fields may be present.
|
|
133
|
+
*/
|
|
134
|
+
interface UnionMember0 {
|
|
135
|
+
/**
|
|
136
|
+
* Raw structured context attached to the log entry.
|
|
137
|
+
*/
|
|
138
|
+
context?: {
|
|
139
|
+
[key: string]: unknown;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* Log level emitted by the SDK.
|
|
143
|
+
*/
|
|
144
|
+
level?: 'debug' | 'info' | 'warn' | 'error';
|
|
145
|
+
/**
|
|
146
|
+
* Log message.
|
|
147
|
+
*/
|
|
148
|
+
message?: string;
|
|
149
|
+
/**
|
|
150
|
+
* Time when the log entry was emitted.
|
|
151
|
+
*/
|
|
152
|
+
timestamp?: string;
|
|
153
|
+
[k: string]: unknown;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Raw logs object emitted by the Voice SDK when logs are grouped under an entries
|
|
157
|
+
* field.
|
|
158
|
+
*/
|
|
159
|
+
interface Entries {
|
|
160
|
+
/**
|
|
161
|
+
* Raw log entries when the SDK groups logs under an entries field.
|
|
162
|
+
*/
|
|
163
|
+
entries?: Array<Entries.Entry>;
|
|
164
|
+
[k: string]: unknown;
|
|
165
|
+
}
|
|
166
|
+
namespace Entries {
|
|
167
|
+
/**
|
|
168
|
+
* A raw Voice SDK log entry. Additional SDK-specific fields may be present.
|
|
169
|
+
*/
|
|
170
|
+
interface Entry {
|
|
171
|
+
/**
|
|
172
|
+
* Raw structured context attached to the log entry.
|
|
173
|
+
*/
|
|
174
|
+
context?: {
|
|
175
|
+
[key: string]: unknown;
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* Log level emitted by the SDK.
|
|
179
|
+
*/
|
|
180
|
+
level?: 'debug' | 'info' | 'warn' | 'error';
|
|
181
|
+
/**
|
|
182
|
+
* Log message.
|
|
183
|
+
*/
|
|
184
|
+
message?: string;
|
|
185
|
+
/**
|
|
186
|
+
* Time when the log entry was emitted.
|
|
187
|
+
*/
|
|
188
|
+
timestamp?: string;
|
|
189
|
+
[k: string]: unknown;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Raw stats object emitted by the Voice SDK.
|
|
194
|
+
*/
|
|
195
|
+
interface UnionMember1 {
|
|
196
|
+
/**
|
|
197
|
+
* Raw audio stats such as inbound/outbound packet, byte, jitter, packet-loss,
|
|
198
|
+
* bitrate, and audio-level metrics.
|
|
199
|
+
*/
|
|
200
|
+
audio?: {
|
|
201
|
+
[key: string]: unknown;
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* Raw connection stats such as round-trip time, packets, and bytes sent or
|
|
205
|
+
* received.
|
|
206
|
+
*/
|
|
207
|
+
connection?: {
|
|
208
|
+
[key: string]: unknown;
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* Raw ICE candidate-pair information, including selected pair, local/remote
|
|
212
|
+
* candidates, state, and nomination data when provided by the SDK.
|
|
213
|
+
*/
|
|
214
|
+
ice?: {
|
|
215
|
+
[key: string]: unknown;
|
|
216
|
+
};
|
|
217
|
+
/**
|
|
218
|
+
* Raw transport stats such as ICE state, DTLS state, SRTP cipher, TLS version, and
|
|
219
|
+
* selected-candidate-pair changes.
|
|
220
|
+
*/
|
|
221
|
+
transport?: {
|
|
222
|
+
[key: string]: unknown;
|
|
223
|
+
};
|
|
224
|
+
[k: string]: unknown;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* A raw call report stats JSON payload. The schema is intentionally permissive
|
|
230
|
+
* because Voice SDK clients can add fields over time.
|
|
231
|
+
*/
|
|
232
|
+
export interface VoiceSDKCallReportListResponse {
|
|
233
|
+
/**
|
|
234
|
+
* Unique call identifier.
|
|
235
|
+
*/
|
|
236
|
+
call_id?: string;
|
|
237
|
+
/**
|
|
238
|
+
* User-scoped storage grouping identifier derived from the authenticated user.
|
|
239
|
+
* This is not a unique per-call report identifier and may be shared by multiple
|
|
240
|
+
* calls for the same user.
|
|
241
|
+
*/
|
|
242
|
+
call_report_id?: string;
|
|
243
|
+
/**
|
|
244
|
+
* Creation timestamp when present.
|
|
245
|
+
*/
|
|
246
|
+
created_at?: string;
|
|
247
|
+
/**
|
|
248
|
+
* Reason the SDK flushed this stats report segment, for example an intermediate
|
|
249
|
+
* socket-close flush.
|
|
250
|
+
*/
|
|
251
|
+
flushReason?: {
|
|
252
|
+
[key: string]: unknown;
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* Raw logs payload emitted by the Voice SDK and stored without normalization. Live
|
|
256
|
+
* responses commonly return an array of log entries, but object-shaped log
|
|
257
|
+
* payloads are also allowed for compatibility.
|
|
258
|
+
*/
|
|
259
|
+
logs?: Array<VoiceSDKCallReportListResponse.UnionMember0> | VoiceSDKCallReportListResponse.Entries;
|
|
260
|
+
/**
|
|
261
|
+
* Organization associated with the stored call report when provided by the Voice
|
|
262
|
+
* SDK reporting path.
|
|
263
|
+
*/
|
|
264
|
+
organization_id?: string;
|
|
265
|
+
/**
|
|
266
|
+
* Zero-based stats segment index when the SDK sends segmented or intermediate
|
|
267
|
+
* reports.
|
|
268
|
+
*/
|
|
269
|
+
segment?: number;
|
|
270
|
+
/**
|
|
271
|
+
* Raw stats payload emitted by the Voice SDK and stored without normalization. The
|
|
272
|
+
* exact shape can vary by SDK platform and version. Live responses commonly return
|
|
273
|
+
* an array of interval snapshots, but object-shaped stats payloads are also
|
|
274
|
+
* allowed for compatibility.
|
|
275
|
+
*/
|
|
276
|
+
stats?: Array<{
|
|
277
|
+
[key: string]: unknown;
|
|
278
|
+
}> | VoiceSDKCallReportListResponse.UnionMember1;
|
|
279
|
+
/**
|
|
280
|
+
* Time when the call report was stored.
|
|
281
|
+
*/
|
|
282
|
+
stored_at?: string;
|
|
283
|
+
/**
|
|
284
|
+
* High-level call metadata.
|
|
285
|
+
*/
|
|
286
|
+
summary?: {
|
|
287
|
+
[key: string]: unknown;
|
|
288
|
+
};
|
|
289
|
+
/**
|
|
290
|
+
* Telnyx call leg identifier for correlating the report with call-control, SIP,
|
|
291
|
+
* and media troubleshooting data.
|
|
292
|
+
*/
|
|
293
|
+
telnyx_leg_id?: string;
|
|
294
|
+
/**
|
|
295
|
+
* Telnyx RTC session identifier for correlating the report with Voice SDK
|
|
296
|
+
* signaling and media-session logs.
|
|
297
|
+
*/
|
|
298
|
+
telnyx_session_id?: string;
|
|
299
|
+
/**
|
|
300
|
+
* Voice SDK user agent string reported by the client. This is the preferred
|
|
301
|
+
* SDK/platform/version dimension when present.
|
|
302
|
+
*/
|
|
303
|
+
user_agent?: string;
|
|
304
|
+
/**
|
|
305
|
+
* Authenticated user that owns the call report.
|
|
306
|
+
*/
|
|
307
|
+
user_id?: string;
|
|
308
|
+
/**
|
|
309
|
+
* Legacy SDK version value when the client reports one separately from the user
|
|
310
|
+
* agent.
|
|
311
|
+
*/
|
|
312
|
+
version?: string;
|
|
313
|
+
/**
|
|
314
|
+
* Voice SDK instance identifier.
|
|
315
|
+
*/
|
|
316
|
+
voice_sdk_id?: string;
|
|
317
|
+
/**
|
|
318
|
+
* Decoded Voice SDK identifier metadata emitted by voice-sdk-proxy when available.
|
|
319
|
+
*/
|
|
320
|
+
voice_sdk_id_decoded?: {
|
|
321
|
+
[key: string]: unknown;
|
|
322
|
+
};
|
|
323
|
+
/**
|
|
324
|
+
* Voice SDK session correlation identifier used to group stats segments for the
|
|
325
|
+
* same SDK session.
|
|
326
|
+
*/
|
|
327
|
+
voice_sdk_session_id?: string;
|
|
328
|
+
[k: string]: unknown;
|
|
329
|
+
}
|
|
330
|
+
export declare namespace VoiceSDKCallReportListResponse {
|
|
331
|
+
/**
|
|
332
|
+
* A raw Voice SDK log entry. Additional SDK-specific fields may be present.
|
|
333
|
+
*/
|
|
334
|
+
interface UnionMember0 {
|
|
335
|
+
/**
|
|
336
|
+
* Raw structured context attached to the log entry.
|
|
337
|
+
*/
|
|
338
|
+
context?: {
|
|
339
|
+
[key: string]: unknown;
|
|
340
|
+
};
|
|
341
|
+
/**
|
|
342
|
+
* Log level emitted by the SDK.
|
|
343
|
+
*/
|
|
344
|
+
level?: 'debug' | 'info' | 'warn' | 'error';
|
|
345
|
+
/**
|
|
346
|
+
* Log message.
|
|
347
|
+
*/
|
|
348
|
+
message?: string;
|
|
349
|
+
/**
|
|
350
|
+
* Time when the log entry was emitted.
|
|
351
|
+
*/
|
|
352
|
+
timestamp?: string;
|
|
353
|
+
[k: string]: unknown;
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* Raw logs object emitted by the Voice SDK when logs are grouped under an entries
|
|
357
|
+
* field.
|
|
358
|
+
*/
|
|
359
|
+
interface Entries {
|
|
360
|
+
/**
|
|
361
|
+
* Raw log entries when the SDK groups logs under an entries field.
|
|
362
|
+
*/
|
|
363
|
+
entries?: Array<Entries.Entry>;
|
|
364
|
+
[k: string]: unknown;
|
|
365
|
+
}
|
|
366
|
+
namespace Entries {
|
|
367
|
+
/**
|
|
368
|
+
* A raw Voice SDK log entry. Additional SDK-specific fields may be present.
|
|
369
|
+
*/
|
|
370
|
+
interface Entry {
|
|
371
|
+
/**
|
|
372
|
+
* Raw structured context attached to the log entry.
|
|
373
|
+
*/
|
|
374
|
+
context?: {
|
|
375
|
+
[key: string]: unknown;
|
|
376
|
+
};
|
|
377
|
+
/**
|
|
378
|
+
* Log level emitted by the SDK.
|
|
379
|
+
*/
|
|
380
|
+
level?: 'debug' | 'info' | 'warn' | 'error';
|
|
381
|
+
/**
|
|
382
|
+
* Log message.
|
|
383
|
+
*/
|
|
384
|
+
message?: string;
|
|
385
|
+
/**
|
|
386
|
+
* Time when the log entry was emitted.
|
|
387
|
+
*/
|
|
388
|
+
timestamp?: string;
|
|
389
|
+
[k: string]: unknown;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* Raw stats object emitted by the Voice SDK.
|
|
394
|
+
*/
|
|
395
|
+
interface UnionMember1 {
|
|
396
|
+
/**
|
|
397
|
+
* Raw audio stats such as inbound/outbound packet, byte, jitter, packet-loss,
|
|
398
|
+
* bitrate, and audio-level metrics.
|
|
399
|
+
*/
|
|
400
|
+
audio?: {
|
|
401
|
+
[key: string]: unknown;
|
|
402
|
+
};
|
|
403
|
+
/**
|
|
404
|
+
* Raw connection stats such as round-trip time, packets, and bytes sent or
|
|
405
|
+
* received.
|
|
406
|
+
*/
|
|
407
|
+
connection?: {
|
|
408
|
+
[key: string]: unknown;
|
|
409
|
+
};
|
|
410
|
+
/**
|
|
411
|
+
* Raw ICE candidate-pair information, including selected pair, local/remote
|
|
412
|
+
* candidates, state, and nomination data when provided by the SDK.
|
|
413
|
+
*/
|
|
414
|
+
ice?: {
|
|
415
|
+
[key: string]: unknown;
|
|
416
|
+
};
|
|
417
|
+
/**
|
|
418
|
+
* Raw transport stats such as ICE state, DTLS state, SRTP cipher, TLS version, and
|
|
419
|
+
* selected-candidate-pair changes.
|
|
420
|
+
*/
|
|
421
|
+
transport?: {
|
|
422
|
+
[key: string]: unknown;
|
|
423
|
+
};
|
|
424
|
+
[k: string]: unknown;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
export interface VoiceSDKCallReportListParams extends DefaultFlatPaginationParams {
|
|
428
|
+
/**
|
|
429
|
+
* Set the order of the results by creation date. `asc` and `created_at` sort
|
|
430
|
+
* oldest reports first; `desc` and `-created_at` sort newest reports first. If not
|
|
431
|
+
* given, results are sorted by creation date in descending order.
|
|
432
|
+
*/
|
|
433
|
+
sort?: 'asc' | 'desc' | 'created_at' | '-created_at';
|
|
434
|
+
}
|
|
435
|
+
export declare namespace VoiceSDKCallReports {
|
|
436
|
+
export { type VoiceSDKCallReportRetrieveResponse as VoiceSDKCallReportRetrieveResponse, type VoiceSDKCallReportListResponse as VoiceSDKCallReportListResponse, type VoiceSDKCallReportListResponsesDefaultFlatPagination as VoiceSDKCallReportListResponsesDefaultFlatPagination, type VoiceSDKCallReportListParams as VoiceSDKCallReportListParams, };
|
|
437
|
+
}
|
|
438
|
+
//# sourceMappingURL=voice-sdk-call-reports.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"voice-sdk-call-reports.d.ts","sourceRoot":"","sources":["../src/resources/voice-sdk-call-reports.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,8BAA2B;AAC1G,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,WAAW;IAClD;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kCAAkC,CAAC;IAIlG;;;;OAIG;IACH,IAAI,CACF,KAAK,GAAE,4BAA4B,GAAG,IAAI,GAAG,SAAc,EAC3D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,oDAAoD,EAAE,8BAA8B,CAAC;CAOrG;AAED,MAAM,MAAM,oDAAoD,GAC9D,qBAAqB,CAAC,8BAA8B,CAAC,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,kCAAkC,GAC5C,KAAK,CAAC,kCAAkC,CAA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OAAO,CAAC,EAAE,MAAM,CAAC;YAEjB;;eAEG;YACH,SAAS,CAAC,EAAE,MAAM,CAAC;YAEnB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;SACtB;KACF;IAED;;OAEG;IACH,UAAiB,YAAY;QAC3B;;;WAGG;QACH,KAAK,CAAC,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;QAEnC;;;WAGG;QACH,UAAU,CAAC,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;QAExC;;;WAGG;QACH,GAAG,CAAC,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;QAEjC;;;WAGG;QACH,SAAS,CAAC,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;QAEvC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB;CACF;AAED,MAAM,WAAW,4BAA6B,SAAQ,2BAA2B;IAC/E;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,YAAY,GAAG,aAAa,CAAC;CACtD;AAED,MAAM,CAAC,OAAO,WAAW,mBAAmB,CAAC;IAC3C,OAAO,EACL,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,oDAAoD,IAAI,oDAAoD,EACjH,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.VoiceSDKCallReports = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
/**
|
|
9
|
+
* Retrieve raw Voice SDK call report stats payloads for WebRTC call troubleshooting.
|
|
10
|
+
*/
|
|
11
|
+
class VoiceSDKCallReports extends resource_1.APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Returns raw call report stats JSON payloads stored for the authenticated user
|
|
14
|
+
* and `call_id`. The user is derived from Telnyx authentication, not from request
|
|
15
|
+
* parameters.
|
|
16
|
+
*/
|
|
17
|
+
retrieve(callID, options) {
|
|
18
|
+
return this._client.get((0, path_1.path) `/voice_sdk_call_reports/${callID}`, options);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Returns paginated raw call report stats JSON payloads stored for the
|
|
22
|
+
* authenticated user. The user is derived from Telnyx authentication, not from
|
|
23
|
+
* request parameters.
|
|
24
|
+
*/
|
|
25
|
+
list(query = {}, options) {
|
|
26
|
+
return this._client.getAPIList('/voice_sdk_call_reports', (pagination_1.DefaultFlatPagination), { query, ...options });
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.VoiceSDKCallReports = VoiceSDKCallReports;
|
|
30
|
+
//# sourceMappingURL=voice-sdk-call-reports.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"voice-sdk-call-reports.js","sourceRoot":"","sources":["../src/resources/voice-sdk-call-reports.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA0G;AAE1G,oDAA8C;AAE9C;;GAEG;AACH,MAAa,mBAAoB,SAAQ,sBAAW;IAClD;;;;OAIG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,2BAA2B,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;;;OAIG;IACH,IAAI,CACF,QAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,yBAAyB,EACzB,CAAA,kCAAqD,CAAA,EACrD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;CACF;AAzBD,kDAyBC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { DefaultFlatPagination } from "../core/pagination.mjs";
|
|
4
|
+
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Retrieve raw Voice SDK call report stats payloads for WebRTC call troubleshooting.
|
|
7
|
+
*/
|
|
8
|
+
export class VoiceSDKCallReports extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns raw call report stats JSON payloads stored for the authenticated user
|
|
11
|
+
* and `call_id`. The user is derived from Telnyx authentication, not from request
|
|
12
|
+
* parameters.
|
|
13
|
+
*/
|
|
14
|
+
retrieve(callID, options) {
|
|
15
|
+
return this._client.get(path `/voice_sdk_call_reports/${callID}`, options);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Returns paginated raw call report stats JSON payloads stored for the
|
|
19
|
+
* authenticated user. The user is derived from Telnyx authentication, not from
|
|
20
|
+
* request parameters.
|
|
21
|
+
*/
|
|
22
|
+
list(query = {}, options) {
|
|
23
|
+
return this._client.getAPIList('/voice_sdk_call_reports', (DefaultFlatPagination), { query, ...options });
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=voice-sdk-call-reports.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"voice-sdk-call-reports.mjs","sourceRoot":"","sources":["../src/resources/voice-sdk-call-reports.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,qBAAqB,EAAiD,+BAA2B;AAE1G,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,mBAAoB,SAAQ,WAAW;IAClD;;;;OAIG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,2BAA2B,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;;;OAIG;IACH,IAAI,CACF,QAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,yBAAyB,EACzB,CAAA,qBAAqD,CAAA,EACrD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;CACF"}
|
package/src/client.ts
CHANGED
|
@@ -958,6 +958,13 @@ import {
|
|
|
958
958
|
VoiceDesignRetrieveResponse,
|
|
959
959
|
VoiceDesigns,
|
|
960
960
|
} from './resources/voice-designs';
|
|
961
|
+
import {
|
|
962
|
+
VoiceSDKCallReportListParams,
|
|
963
|
+
VoiceSDKCallReportListResponse,
|
|
964
|
+
VoiceSDKCallReportListResponsesDefaultFlatPagination,
|
|
965
|
+
VoiceSDKCallReportRetrieveResponse,
|
|
966
|
+
VoiceSDKCallReports,
|
|
967
|
+
} from './resources/voice-sdk-call-reports';
|
|
961
968
|
import {
|
|
962
969
|
Attempt,
|
|
963
970
|
HTTP,
|
|
@@ -2969,6 +2976,10 @@ export class Telnyx {
|
|
|
2969
2976
|
* UAC connection operations
|
|
2970
2977
|
*/
|
|
2971
2978
|
uacConnections: API.UacConnections = new API.UacConnections(this);
|
|
2979
|
+
/**
|
|
2980
|
+
* Retrieve raw Voice SDK call report stats payloads for WebRTC call troubleshooting.
|
|
2981
|
+
*/
|
|
2982
|
+
voiceSDKCallReports: API.VoiceSDKCallReports = new API.VoiceSDKCallReports(this);
|
|
2972
2983
|
}
|
|
2973
2984
|
|
|
2974
2985
|
Telnyx.Legacy = Legacy;
|
|
@@ -3135,6 +3146,7 @@ Telnyx.Reputation = Reputation;
|
|
|
3135
3146
|
Telnyx.TermsOfService = TermsOfService;
|
|
3136
3147
|
Telnyx.PronunciationDicts = PronunciationDicts;
|
|
3137
3148
|
Telnyx.UacConnections = UacConnections;
|
|
3149
|
+
Telnyx.VoiceSDKCallReports = VoiceSDKCallReports;
|
|
3138
3150
|
|
|
3139
3151
|
export declare namespace Telnyx {
|
|
3140
3152
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -4915,6 +4927,14 @@ export declare namespace Telnyx {
|
|
|
4915
4927
|
type UacConnectionListParams as UacConnectionListParams,
|
|
4916
4928
|
};
|
|
4917
4929
|
|
|
4930
|
+
export {
|
|
4931
|
+
VoiceSDKCallReports as VoiceSDKCallReports,
|
|
4932
|
+
type VoiceSDKCallReportRetrieveResponse as VoiceSDKCallReportRetrieveResponse,
|
|
4933
|
+
type VoiceSDKCallReportListResponse as VoiceSDKCallReportListResponse,
|
|
4934
|
+
type VoiceSDKCallReportListResponsesDefaultFlatPagination as VoiceSDKCallReportListResponsesDefaultFlatPagination,
|
|
4935
|
+
type VoiceSDKCallReportListParams as VoiceSDKCallReportListParams,
|
|
4936
|
+
};
|
|
4937
|
+
|
|
4918
4938
|
export type APIError = API.APIError;
|
|
4919
4939
|
export type AvailablePhoneNumbersMetadata = API.AvailablePhoneNumbersMetadata;
|
|
4920
4940
|
export type AzureVoiceSettings = API.AzureVoiceSettings;
|
|
@@ -1608,6 +1608,13 @@ export namespace TelephonySettings {
|
|
|
1608
1608
|
* The format of the recording file.
|
|
1609
1609
|
*/
|
|
1610
1610
|
format?: 'wav' | 'mp3';
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* When enabled, the call recording will stop when the conversation ends (for
|
|
1614
|
+
* example, when the assistant hangs up or the call is transferred). When disabled,
|
|
1615
|
+
* recording continues until the call itself ends.
|
|
1616
|
+
*/
|
|
1617
|
+
stop_on_conversation_end?: boolean;
|
|
1611
1618
|
}
|
|
1612
1619
|
|
|
1613
1620
|
/**
|
|
@@ -3028,8 +3028,8 @@ export interface ActionGatherUsingSpeakParams {
|
|
|
3028
3028
|
* `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Use `voice_settings`
|
|
3029
3029
|
* to configure speed, volume, pitch, and language_boost.
|
|
3030
3030
|
* - **Rime:** Use `Rime.<model_id>.<voice_id>` (e.g., `Rime.Arcana.cove`).
|
|
3031
|
-
* Supported model_ids: `Arcana`, `Mist
|
|
3032
|
-
* voice_speed.
|
|
3031
|
+
* Supported model_ids: `Arcana`, `Mist`, `ArcanaV3`, `Coda`. Use
|
|
3032
|
+
* `voice_settings` to configure voice_speed.
|
|
3033
3033
|
* - **Resemble:** Use `Resemble.Turbo.<voice_id>` (e.g.,
|
|
3034
3034
|
* `Resemble.Turbo.my_voice`). Only `Turbo` model is supported. Use
|
|
3035
3035
|
* `voice_settings` to configure precision, sample_rate, and format.
|
|
@@ -3438,8 +3438,8 @@ export interface ActionSpeakParams {
|
|
|
3438
3438
|
* `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Use `voice_settings`
|
|
3439
3439
|
* to configure speed, volume, pitch, and language_boost.
|
|
3440
3440
|
* - **Rime:** Use `Rime.<model_id>.<voice_id>` (e.g., `Rime.Arcana.cove`).
|
|
3441
|
-
* Supported model_ids: `Arcana`, `Mist
|
|
3442
|
-
* voice_speed.
|
|
3441
|
+
* Supported model_ids: `Arcana`, `Mist`, `ArcanaV3`, `Coda`. Use
|
|
3442
|
+
* `voice_settings` to configure voice_speed.
|
|
3443
3443
|
* - **Resemble:** Use `Resemble.Turbo.<voice_id>` (e.g.,
|
|
3444
3444
|
* `Resemble.Turbo.my_voice`). Only `Turbo` model is supported. Use
|
|
3445
3445
|
* `voice_settings` to configure precision, sample_rate, and format.
|
|
@@ -933,8 +933,8 @@ export interface ActionSpeakParams {
|
|
|
933
933
|
* `speech-02-hd`, `speech-2.6-turbo`, `speech-2.8-turbo`. Use `voice_settings`
|
|
934
934
|
* to configure speed, volume, pitch, and language_boost.
|
|
935
935
|
* - **Rime:** Use `Rime.<model_id>.<voice_id>` (e.g., `Rime.Arcana.cove`).
|
|
936
|
-
* Supported model_ids: `Arcana`, `Mist
|
|
937
|
-
* voice_speed.
|
|
936
|
+
* Supported model_ids: `Arcana`, `Mist`, `ArcanaV3`, `Coda`. Use
|
|
937
|
+
* `voice_settings` to configure voice_speed.
|
|
938
938
|
* - **Resemble:** Use `Resemble.Turbo.<voice_id>` (e.g.,
|
|
939
939
|
* `Resemble.Turbo.my_voice`). Only `Turbo` model is supported. Use
|
|
940
940
|
* `voice_settings` to configure precision, sample_rate, and format.
|
package/src/resources/index.ts
CHANGED
|
@@ -1362,6 +1362,13 @@ export {
|
|
|
1362
1362
|
type VoiceDesignRenameParams,
|
|
1363
1363
|
type VoiceDesignListResponsesDefaultFlatPagination,
|
|
1364
1364
|
} from './voice-designs';
|
|
1365
|
+
export {
|
|
1366
|
+
VoiceSDKCallReports,
|
|
1367
|
+
type VoiceSDKCallReportRetrieveResponse,
|
|
1368
|
+
type VoiceSDKCallReportListResponse,
|
|
1369
|
+
type VoiceSDKCallReportListParams,
|
|
1370
|
+
type VoiceSDKCallReportListResponsesDefaultFlatPagination,
|
|
1371
|
+
} from './voice-sdk-call-reports';
|
|
1365
1372
|
export {
|
|
1366
1373
|
WebhookDeliveries,
|
|
1367
1374
|
type Attempt,
|
|
@@ -293,6 +293,11 @@ export interface OutboundMessagePayload {
|
|
|
293
293
|
*/
|
|
294
294
|
messaging_profile_id?: string;
|
|
295
295
|
|
|
296
|
+
/**
|
|
297
|
+
* The number of characters in the message text
|
|
298
|
+
*/
|
|
299
|
+
num_chars?: number;
|
|
300
|
+
|
|
296
301
|
/**
|
|
297
302
|
* The id of the organization the messaging profile belongs to.
|
|
298
303
|
*/
|
|
@@ -1304,6 +1309,11 @@ export interface MessageCancelScheduledResponse {
|
|
|
1304
1309
|
*/
|
|
1305
1310
|
messaging_profile_id?: string;
|
|
1306
1311
|
|
|
1312
|
+
/**
|
|
1313
|
+
* The number of characters in the message text
|
|
1314
|
+
*/
|
|
1315
|
+
num_chars?: number;
|
|
1316
|
+
|
|
1307
1317
|
/**
|
|
1308
1318
|
* The id of the organization the messaging profile belongs to.
|
|
1309
1319
|
*/
|
package/src/resources/shared.ts
CHANGED