retell-sdk 3.16.0 → 3.17.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 +9 -0
- package/package.json +1 -1
- package/resources/voice.d.ts +4 -5
- package/resources/voice.d.ts.map +1 -1
- package/resources/voice.js +5 -5
- package/resources/voice.js.map +1 -1
- package/resources/voice.mjs +5 -5
- package/resources/voice.mjs.map +1 -1
- package/src/resources/voice.ts +6 -10
- package/src/version.ts +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,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.17.0 (2024-06-02)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v3.16.0...v3.17.0](https://github.com/RetellAI/retell-typescript-sdk/compare/v3.16.0...v3.17.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** manual updates ([#104](https://github.com/RetellAI/retell-typescript-sdk/issues/104)) ([45f8db7](https://github.com/RetellAI/retell-typescript-sdk/commit/45f8db71463fa390b55531f83a19d85b8fcdf227))
|
|
10
|
+
* **api:** OpenAPI spec update via Stainless API ([#102](https://github.com/RetellAI/retell-typescript-sdk/issues/102)) ([d3ee731](https://github.com/RetellAI/retell-typescript-sdk/commit/d3ee7312a17069f9fed3f3deb5e1eab510974d7f))
|
|
11
|
+
|
|
3
12
|
## 3.16.0 (2024-06-02)
|
|
4
13
|
|
|
5
14
|
Full Changelog: [v3.15.1...v3.16.0](https://github.com/RetellAI/retell-typescript-sdk/compare/v3.15.1...v3.16.0)
|
package/package.json
CHANGED
package/resources/voice.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import * as Core from "../core.js";
|
|
2
2
|
import { APIResource } from "../resource.js";
|
|
3
3
|
import * as VoiceAPI from "./voice.js";
|
|
4
|
-
import * as PhoneNumberAPI from "./phone-number.js";
|
|
5
4
|
export declare class Voice extends APIResource {
|
|
6
5
|
/**
|
|
7
|
-
* Retrieve details of a specific
|
|
6
|
+
* Retrieve details of a specific voice
|
|
8
7
|
*/
|
|
9
|
-
retrieve(
|
|
8
|
+
retrieve(voiceId: string, options?: Core.RequestOptions): Core.APIPromise<VoiceResponse>;
|
|
10
9
|
/**
|
|
11
|
-
* List all
|
|
10
|
+
* List all voices available to the user
|
|
12
11
|
*/
|
|
13
12
|
list(options?: Core.RequestOptions): Core.APIPromise<VoiceListResponse>;
|
|
14
13
|
}
|
|
@@ -42,7 +41,7 @@ export interface VoiceResponse {
|
|
|
42
41
|
*/
|
|
43
42
|
preview_audio_url?: string;
|
|
44
43
|
}
|
|
45
|
-
export type VoiceListResponse = Array<
|
|
44
|
+
export type VoiceListResponse = Array<VoiceResponse>;
|
|
46
45
|
export declare namespace Voice {
|
|
47
46
|
export import VoiceResponse = VoiceAPI.VoiceResponse;
|
|
48
47
|
export import VoiceListResponse = VoiceAPI.VoiceListResponse;
|
package/resources/voice.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice.d.ts","sourceRoot":"","sources":["../src/resources/voice.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,QAAQ,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"voice.d.ts","sourceRoot":"","sources":["../src/resources/voice.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,QAAQ,MAAM,SAAS,CAAC;AAEpC,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC;IAIxF;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC;CAGxE;AAED,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC;IAE1B;;OAEG;IACH,QAAQ,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,CAAC;IAE/C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC;AAErD,yBAAiB,KAAK,CAAC;IACrB,MAAM,QAAQ,aAAa,GAAG,QAAQ,CAAC,aAAa,CAAC;IACrD,MAAM,QAAQ,iBAAiB,GAAG,QAAQ,CAAC,iBAAiB,CAAC;CAC9D"}
|
package/resources/voice.js
CHANGED
|
@@ -5,16 +5,16 @@ exports.Voice = void 0;
|
|
|
5
5
|
const resource_1 = require("../resource.js");
|
|
6
6
|
class Voice extends resource_1.APIResource {
|
|
7
7
|
/**
|
|
8
|
-
* Retrieve details of a specific
|
|
8
|
+
* Retrieve details of a specific voice
|
|
9
9
|
*/
|
|
10
|
-
retrieve(
|
|
11
|
-
return this._client.get(`/get-
|
|
10
|
+
retrieve(voiceId, options) {
|
|
11
|
+
return this._client.get(`/get-voice/${voiceId}`, options);
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
* List all
|
|
14
|
+
* List all voices available to the user
|
|
15
15
|
*/
|
|
16
16
|
list(options) {
|
|
17
|
-
return this._client.get('/list-
|
|
17
|
+
return this._client.get('/list-voices', options);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
exports.Voice = Voice;
|
package/resources/voice.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice.js","sourceRoot":"","sources":["../src/resources/voice.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAGtF,6CAA0C;
|
|
1
|
+
{"version":3,"file":"voice.js","sourceRoot":"","sources":["../src/resources/voice.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAGtF,6CAA0C;AAG1C,MAAa,KAAM,SAAQ,sBAAW;IACpC;;OAEG;IACH,QAAQ,CAAC,OAAe,EAAE,OAA6B;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,OAAO,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,OAA6B;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;CACF;AAdD,sBAcC;AAyCD,WAAiB,KAAK;AAGtB,CAAC,EAHgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAGrB"}
|
package/resources/voice.mjs
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import { APIResource } from "../resource.mjs";
|
|
3
3
|
export class Voice extends APIResource {
|
|
4
4
|
/**
|
|
5
|
-
* Retrieve details of a specific
|
|
5
|
+
* Retrieve details of a specific voice
|
|
6
6
|
*/
|
|
7
|
-
retrieve(
|
|
8
|
-
return this._client.get(`/get-
|
|
7
|
+
retrieve(voiceId, options) {
|
|
8
|
+
return this._client.get(`/get-voice/${voiceId}`, options);
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* List all
|
|
11
|
+
* List all voices available to the user
|
|
12
12
|
*/
|
|
13
13
|
list(options) {
|
|
14
|
-
return this._client.get('/list-
|
|
14
|
+
return this._client.get('/list-voices', options);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
(function (Voice) {
|
package/resources/voice.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice.mjs","sourceRoot":"","sources":["../src/resources/voice.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAG/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"voice.mjs","sourceRoot":"","sources":["../src/resources/voice.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAG/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,QAAQ,CAAC,OAAe,EAAE,OAA6B;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,OAAO,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,OAA6B;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;CACF;AAyCD,WAAiB,KAAK;AAGtB,CAAC,EAHgB,KAAK,KAAL,KAAK,QAGrB"}
|
package/src/resources/voice.ts
CHANGED
|
@@ -3,24 +3,20 @@
|
|
|
3
3
|
import * as Core from '../core';
|
|
4
4
|
import { APIResource } from '../resource';
|
|
5
5
|
import * as VoiceAPI from './voice';
|
|
6
|
-
import * as PhoneNumberAPI from './phone-number';
|
|
7
6
|
|
|
8
7
|
export class Voice extends APIResource {
|
|
9
8
|
/**
|
|
10
|
-
* Retrieve details of a specific
|
|
9
|
+
* Retrieve details of a specific voice
|
|
11
10
|
*/
|
|
12
|
-
retrieve(
|
|
13
|
-
|
|
14
|
-
options?: Core.RequestOptions,
|
|
15
|
-
): Core.APIPromise<PhoneNumberAPI.PhoneNumberResponse> {
|
|
16
|
-
return this._client.get(`/get-phone-number/${phoneNumber}`, options);
|
|
11
|
+
retrieve(voiceId: string, options?: Core.RequestOptions): Core.APIPromise<VoiceResponse> {
|
|
12
|
+
return this._client.get(`/get-voice/${voiceId}`, options);
|
|
17
13
|
}
|
|
18
14
|
|
|
19
15
|
/**
|
|
20
|
-
* List all
|
|
16
|
+
* List all voices available to the user
|
|
21
17
|
*/
|
|
22
18
|
list(options?: Core.RequestOptions): Core.APIPromise<VoiceListResponse> {
|
|
23
|
-
return this._client.get('/list-
|
|
19
|
+
return this._client.get('/list-voices', options);
|
|
24
20
|
}
|
|
25
21
|
}
|
|
26
22
|
|
|
@@ -61,7 +57,7 @@ export interface VoiceResponse {
|
|
|
61
57
|
preview_audio_url?: string;
|
|
62
58
|
}
|
|
63
59
|
|
|
64
|
-
export type VoiceListResponse = Array<
|
|
60
|
+
export type VoiceListResponse = Array<VoiceResponse>;
|
|
65
61
|
|
|
66
62
|
export namespace Voice {
|
|
67
63
|
export import VoiceResponse = VoiceAPI.VoiceResponse;
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '3.
|
|
1
|
+
export const VERSION = '3.17.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.
|
|
1
|
+
export declare const VERSION = "3.17.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '3.
|
|
1
|
+
export const VERSION = '3.17.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|