telnyx 5.47.0 → 5.48.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 +16 -0
- package/package.json +1 -1
- package/resources/text-to-speech.d.mts +31 -9
- package/resources/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech.d.ts +31 -9
- package/resources/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-speech.js +5 -1
- package/resources/text-to-speech.js.map +1 -1
- package/resources/text-to-speech.mjs +5 -1
- package/resources/text-to-speech.mjs.map +1 -1
- package/src/resources/text-to-speech.ts +32 -13
- 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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.48.0 (2026-02-27)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v5.47.1...v5.48.0](https://github.com/team-telnyx/telnyx-node/compare/v5.47.1...v5.48.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* Add TTS file-based endpoint spec ([164818c](https://github.com/team-telnyx/telnyx-node/commit/164818cf3bad1885fc69ceafa9efc7d02d9cd084))
|
|
10
|
+
|
|
11
|
+
## 5.47.1 (2026-02-26)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v5.47.0...v5.47.1](https://github.com/team-telnyx/telnyx-node/compare/v5.47.0...v5.47.1)
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **mcp:** update prompt ([50f3a6a](https://github.com/team-telnyx/telnyx-node/commit/50f3a6a9564fcc2f931abeedf9b14d783fe7f944))
|
|
18
|
+
|
|
3
19
|
## 5.47.0 (2026-02-26)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v5.46.0...v5.47.0](https://github.com/team-telnyx/telnyx-node/compare/v5.46.0...v5.47.0)
|
package/package.json
CHANGED
|
@@ -3,7 +3,11 @@ import { APIPromise } from "../core/api-promise.mjs";
|
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
4
|
export declare class TextToSpeech extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Retrieve a list of available voices from one or all TTS providers. When
|
|
7
|
+
* `provider` is specified, returns voices for that provider only. Otherwise,
|
|
8
|
+
* returns voices from all providers.
|
|
9
|
+
*
|
|
10
|
+
* Some providers (ElevenLabs, Resemble) require an API key to list voices.
|
|
7
11
|
*/
|
|
8
12
|
listVoices(query?: TextToSpeechListVoicesParams | null | undefined, options?: RequestOptions): APIPromise<TextToSpeechListVoicesResponse>;
|
|
9
13
|
/**
|
|
@@ -30,30 +34,48 @@ export declare class TextToSpeech extends APIResource {
|
|
|
30
34
|
*/
|
|
31
35
|
stream(query?: TextToSpeechStreamParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
32
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* List of available voices.
|
|
39
|
+
*/
|
|
33
40
|
export interface TextToSpeechListVoicesResponse {
|
|
34
41
|
voices?: Array<TextToSpeechListVoicesResponse.Voice>;
|
|
35
42
|
}
|
|
36
43
|
export declare namespace TextToSpeechListVoicesResponse {
|
|
44
|
+
/**
|
|
45
|
+
* A voice available for text-to-speech synthesis.
|
|
46
|
+
*/
|
|
37
47
|
interface Voice {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
48
|
+
/**
|
|
49
|
+
* Voice gender.
|
|
50
|
+
*/
|
|
41
51
|
gender?: string;
|
|
42
|
-
|
|
52
|
+
/**
|
|
53
|
+
* Language code.
|
|
54
|
+
*/
|
|
43
55
|
language?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Voice name.
|
|
58
|
+
*/
|
|
44
59
|
name?: string;
|
|
60
|
+
/**
|
|
61
|
+
* The TTS provider.
|
|
62
|
+
*/
|
|
45
63
|
provider?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Voice identifier.
|
|
66
|
+
*/
|
|
67
|
+
voice_id?: string;
|
|
46
68
|
}
|
|
47
69
|
}
|
|
48
70
|
export interface TextToSpeechListVoicesParams {
|
|
49
71
|
/**
|
|
50
|
-
*
|
|
72
|
+
* API key for providers that require one to list voices (e.g. ElevenLabs).
|
|
51
73
|
*/
|
|
52
|
-
|
|
74
|
+
api_key?: string;
|
|
53
75
|
/**
|
|
54
|
-
* Filter voices by provider
|
|
76
|
+
* Filter voices by provider. If omitted, voices from all providers are returned.
|
|
55
77
|
*/
|
|
56
|
-
provider?: 'aws' | 'azure' | 'elevenlabs' | '
|
|
78
|
+
provider?: 'aws' | 'telnyx' | 'azure' | 'elevenlabs' | 'minimax' | 'rime' | 'resemble';
|
|
57
79
|
}
|
|
58
80
|
export interface TextToSpeechStreamParams {
|
|
59
81
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-to-speech.d.mts","sourceRoot":"","sources":["../src/resources/text-to-speech.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"text-to-speech.d.mts","sourceRoot":"","sources":["../src/resources/text-to-speech.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;OAMG;IACH,UAAU,CACR,KAAK,GAAE,4BAA4B,GAAG,IAAI,GAAG,SAAc,EAC3D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;IAI7C;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,MAAM,CACJ,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC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BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -3,7 +3,11 @@ import { APIPromise } from "../core/api-promise.js";
|
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.js";
|
|
4
4
|
export declare class TextToSpeech extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Retrieve a list of available voices from one or all TTS providers. When
|
|
7
|
+
* `provider` is specified, returns voices for that provider only. Otherwise,
|
|
8
|
+
* returns voices from all providers.
|
|
9
|
+
*
|
|
10
|
+
* Some providers (ElevenLabs, Resemble) require an API key to list voices.
|
|
7
11
|
*/
|
|
8
12
|
listVoices(query?: TextToSpeechListVoicesParams | null | undefined, options?: RequestOptions): APIPromise<TextToSpeechListVoicesResponse>;
|
|
9
13
|
/**
|
|
@@ -30,30 +34,48 @@ export declare class TextToSpeech extends APIResource {
|
|
|
30
34
|
*/
|
|
31
35
|
stream(query?: TextToSpeechStreamParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
32
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* List of available voices.
|
|
39
|
+
*/
|
|
33
40
|
export interface TextToSpeechListVoicesResponse {
|
|
34
41
|
voices?: Array<TextToSpeechListVoicesResponse.Voice>;
|
|
35
42
|
}
|
|
36
43
|
export declare namespace TextToSpeechListVoicesResponse {
|
|
44
|
+
/**
|
|
45
|
+
* A voice available for text-to-speech synthesis.
|
|
46
|
+
*/
|
|
37
47
|
interface Voice {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
48
|
+
/**
|
|
49
|
+
* Voice gender.
|
|
50
|
+
*/
|
|
41
51
|
gender?: string;
|
|
42
|
-
|
|
52
|
+
/**
|
|
53
|
+
* Language code.
|
|
54
|
+
*/
|
|
43
55
|
language?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Voice name.
|
|
58
|
+
*/
|
|
44
59
|
name?: string;
|
|
60
|
+
/**
|
|
61
|
+
* The TTS provider.
|
|
62
|
+
*/
|
|
45
63
|
provider?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Voice identifier.
|
|
66
|
+
*/
|
|
67
|
+
voice_id?: string;
|
|
46
68
|
}
|
|
47
69
|
}
|
|
48
70
|
export interface TextToSpeechListVoicesParams {
|
|
49
71
|
/**
|
|
50
|
-
*
|
|
72
|
+
* API key for providers that require one to list voices (e.g. ElevenLabs).
|
|
51
73
|
*/
|
|
52
|
-
|
|
74
|
+
api_key?: string;
|
|
53
75
|
/**
|
|
54
|
-
* Filter voices by provider
|
|
76
|
+
* Filter voices by provider. If omitted, voices from all providers are returned.
|
|
55
77
|
*/
|
|
56
|
-
provider?: 'aws' | 'azure' | 'elevenlabs' | '
|
|
78
|
+
provider?: 'aws' | 'telnyx' | 'azure' | 'elevenlabs' | 'minimax' | 'rime' | 'resemble';
|
|
57
79
|
}
|
|
58
80
|
export interface TextToSpeechStreamParams {
|
|
59
81
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-to-speech.d.ts","sourceRoot":"","sources":["../src/resources/text-to-speech.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"text-to-speech.d.ts","sourceRoot":"","sources":["../src/resources/text-to-speech.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;OAMG;IACH,UAAU,CACR,KAAK,GAAE,4BAA4B,GAAG,IAAI,GAAG,SAAc,EAC3D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;IAI7C;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,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C;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -6,7 +6,11 @@ const resource_1 = require("../core/resource.js");
|
|
|
6
6
|
const headers_1 = require("../internal/headers.js");
|
|
7
7
|
class TextToSpeech extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Retrieve a list of available voices from one or all TTS providers. When
|
|
10
|
+
* `provider` is specified, returns voices for that provider only. Otherwise,
|
|
11
|
+
* returns voices from all providers.
|
|
12
|
+
*
|
|
13
|
+
* Some providers (ElevenLabs, Resemble) require an API key to list voices.
|
|
10
14
|
*/
|
|
11
15
|
listVoices(query = {}, options) {
|
|
12
16
|
return this._client.get('/text-to-speech/voices', { query, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-to-speech.js","sourceRoot":"","sources":["../src/resources/text-to-speech.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,oDAAmD;AAGnD,MAAa,YAAa,SAAQ,sBAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"text-to-speech.js","sourceRoot":"","sources":["../src/resources/text-to-speech.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,oDAAmD;AAGnD,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;OAMG;IACH,UAAU,CACR,QAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,MAAM,CACJ,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE;YAChD,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA/CD,oCA+CC"}
|
|
@@ -3,7 +3,11 @@ import { APIResource } from "../core/resource.mjs";
|
|
|
3
3
|
import { buildHeaders } from "../internal/headers.mjs";
|
|
4
4
|
export class TextToSpeech extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Retrieve a list of available voices from one or all TTS providers. When
|
|
7
|
+
* `provider` is specified, returns voices for that provider only. Otherwise,
|
|
8
|
+
* returns voices from all providers.
|
|
9
|
+
*
|
|
10
|
+
* Some providers (ElevenLabs, Resemble) require an API key to list voices.
|
|
7
11
|
*/
|
|
8
12
|
listVoices(query = {}, options) {
|
|
9
13
|
return this._client.get('/text-to-speech/voices', { query, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-to-speech.mjs","sourceRoot":"","sources":["../src/resources/text-to-speech.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;AAGvB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"text-to-speech.mjs","sourceRoot":"","sources":["../src/resources/text-to-speech.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;AAGvB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;OAMG;IACH,UAAU,CACR,QAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,MAAM,CACJ,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE;YAChD,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -7,7 +7,11 @@ import { RequestOptions } from '../internal/request-options';
|
|
|
7
7
|
|
|
8
8
|
export class TextToSpeech extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Retrieve a list of available voices from one or all TTS providers. When
|
|
11
|
+
* `provider` is specified, returns voices for that provider only. Otherwise,
|
|
12
|
+
* returns voices from all providers.
|
|
13
|
+
*
|
|
14
|
+
* Some providers (ElevenLabs, Resemble) require an API key to list voices.
|
|
11
15
|
*/
|
|
12
16
|
listVoices(
|
|
13
17
|
query: TextToSpeechListVoicesParams | null | undefined = {},
|
|
@@ -50,40 +54,55 @@ export class TextToSpeech extends APIResource {
|
|
|
50
54
|
}
|
|
51
55
|
}
|
|
52
56
|
|
|
57
|
+
/**
|
|
58
|
+
* List of available voices.
|
|
59
|
+
*/
|
|
53
60
|
export interface TextToSpeechListVoicesResponse {
|
|
54
61
|
voices?: Array<TextToSpeechListVoicesResponse.Voice>;
|
|
55
62
|
}
|
|
56
63
|
|
|
57
64
|
export namespace TextToSpeechListVoicesResponse {
|
|
65
|
+
/**
|
|
66
|
+
* A voice available for text-to-speech synthesis.
|
|
67
|
+
*/
|
|
58
68
|
export interface Voice {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
age?: string;
|
|
64
|
-
|
|
69
|
+
/**
|
|
70
|
+
* Voice gender.
|
|
71
|
+
*/
|
|
65
72
|
gender?: string;
|
|
66
73
|
|
|
67
|
-
|
|
68
|
-
|
|
74
|
+
/**
|
|
75
|
+
* Language code.
|
|
76
|
+
*/
|
|
69
77
|
language?: string;
|
|
70
78
|
|
|
79
|
+
/**
|
|
80
|
+
* Voice name.
|
|
81
|
+
*/
|
|
71
82
|
name?: string;
|
|
72
83
|
|
|
84
|
+
/**
|
|
85
|
+
* The TTS provider.
|
|
86
|
+
*/
|
|
73
87
|
provider?: string;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Voice identifier.
|
|
91
|
+
*/
|
|
92
|
+
voice_id?: string;
|
|
74
93
|
}
|
|
75
94
|
}
|
|
76
95
|
|
|
77
96
|
export interface TextToSpeechListVoicesParams {
|
|
78
97
|
/**
|
|
79
|
-
*
|
|
98
|
+
* API key for providers that require one to list voices (e.g. ElevenLabs).
|
|
80
99
|
*/
|
|
81
|
-
|
|
100
|
+
api_key?: string;
|
|
82
101
|
|
|
83
102
|
/**
|
|
84
|
-
* Filter voices by provider
|
|
103
|
+
* Filter voices by provider. If omitted, voices from all providers are returned.
|
|
85
104
|
*/
|
|
86
|
-
provider?: 'aws' | 'azure' | 'elevenlabs' | '
|
|
105
|
+
provider?: 'aws' | 'telnyx' | 'azure' | 'elevenlabs' | 'minimax' | 'rime' | 'resemble';
|
|
87
106
|
}
|
|
88
107
|
|
|
89
108
|
export interface TextToSpeechStreamParams {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.48.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.48.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.48.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.48.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|