@l7mp/tivadar-ai-api-sdk 0.1.2 → 0.1.3
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/README.md +1213 -172
- package/dist/esm/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInner.d.ts +6 -5
- package/dist/esm/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInner.js +7 -6
- package/dist/esm/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner.d.ts +56 -0
- package/dist/esm/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner.js +49 -0
- package/dist/esm/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInner.d.ts +6 -6
- package/dist/esm/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInner.js +7 -7
- package/dist/esm/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner.d.ts +51 -0
- package/dist/esm/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner.js +48 -0
- package/dist/esm/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner.d.ts +50 -0
- package/dist/esm/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner.js +47 -0
- package/dist/esm/models/index.d.ts +3 -1
- package/dist/esm/models/index.js +3 -1
- package/dist/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInner.d.ts +6 -5
- package/dist/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInner.js +7 -6
- package/dist/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner.d.ts +56 -0
- package/dist/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner.js +56 -0
- package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInner.d.ts +6 -6
- package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInner.js +7 -7
- package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner.d.ts +51 -0
- package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner.js +55 -0
- package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner.d.ts +50 -0
- package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner.js +54 -0
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/package.json +1 -1
- package/src/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInner.ts +19 -11
- package/src/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner.ts +97 -0
- package/src/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInner.ts +17 -17
- package/src/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner.ts +97 -0
- package/src/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner.ts +89 -0
- package/src/models/index.ts +3 -1
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner } from './OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -21,19 +21,19 @@ export interface OrganizationsOrganizationIdTtsProvidersGet200ResponseInner {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInner
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
id?: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {
|
|
27
|
+
* @type {string}
|
|
28
28
|
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInner
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
label?: string;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {Array<
|
|
33
|
+
* @type {Array<OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner>}
|
|
34
34
|
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInner
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
models?: Array<OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner>;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Check if a given object implements the OrganizationsOrganizationIdTtsProvidersGet200ResponseInner interface.
|
|
@@ -18,7 +18,7 @@ exports.OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerFromJSON = Org
|
|
|
18
18
|
exports.OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerFromJSONTyped = OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerFromJSONTyped;
|
|
19
19
|
exports.OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerToJSON = OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerToJSON;
|
|
20
20
|
exports.OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerToJSONTyped = OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerToJSONTyped;
|
|
21
|
-
const
|
|
21
|
+
const OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner_1 = require("./OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the OrganizationsOrganizationIdTtsProvidersGet200ResponseInner interface.
|
|
24
24
|
*/
|
|
@@ -33,9 +33,9 @@ function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerFromJSONTyped
|
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
|
-
'
|
|
37
|
-
'
|
|
38
|
-
'
|
|
36
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
37
|
+
'label': json['label'] == null ? undefined : json['label'],
|
|
38
|
+
'models': json['models'] == null ? undefined : (json['models'].map(OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner_1.OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerFromJSON)),
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerToJSON(json) {
|
|
@@ -46,8 +46,8 @@ function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerToJSONTyped(v
|
|
|
46
46
|
return value;
|
|
47
47
|
}
|
|
48
48
|
return {
|
|
49
|
-
'
|
|
50
|
-
'
|
|
51
|
-
'
|
|
49
|
+
'id': value['id'],
|
|
50
|
+
'label': value['label'],
|
|
51
|
+
'models': value['models'] == null ? undefined : (value['models'].map(OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner_1.OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerToJSON)),
|
|
52
52
|
};
|
|
53
53
|
}
|
package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner.d.ts
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner } from './OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner
|
|
17
|
+
*/
|
|
18
|
+
export interface OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner
|
|
29
|
+
*/
|
|
30
|
+
label?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner
|
|
35
|
+
*/
|
|
36
|
+
supportedLanguages?: Array<string>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner>}
|
|
40
|
+
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner
|
|
41
|
+
*/
|
|
42
|
+
voices?: Array<OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfOrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner(value: object): value is OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner;
|
|
48
|
+
export declare function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerFromJSON(json: any): OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner;
|
|
49
|
+
export declare function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner;
|
|
50
|
+
export declare function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerToJSON(json: any): OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner;
|
|
51
|
+
export declare function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerToJSONTyped(value?: OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tivadar AI Backend API
|
|
6
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfOrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner = instanceOfOrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner;
|
|
17
|
+
exports.OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerFromJSON = OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerFromJSON;
|
|
18
|
+
exports.OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerFromJSONTyped = OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerFromJSONTyped;
|
|
19
|
+
exports.OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerToJSON = OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerToJSON;
|
|
20
|
+
exports.OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerToJSONTyped = OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerToJSONTyped;
|
|
21
|
+
const OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner_1 = require("./OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfOrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerFromJSON(json) {
|
|
29
|
+
return OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
37
|
+
'label': json['label'] == null ? undefined : json['label'],
|
|
38
|
+
'supportedLanguages': json['supportedLanguages'] == null ? undefined : json['supportedLanguages'],
|
|
39
|
+
'voices': json['voices'] == null ? undefined : (json['voices'].map(OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner_1.OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerFromJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerToJSON(json) {
|
|
43
|
+
return OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': value['id'],
|
|
51
|
+
'label': value['label'],
|
|
52
|
+
'supportedLanguages': value['supportedLanguages'],
|
|
53
|
+
'voices': value['voices'] == null ? undefined : (value['voices'].map(OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner_1.OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerToJSON)),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner
|
|
28
|
+
*/
|
|
29
|
+
label?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner
|
|
34
|
+
*/
|
|
35
|
+
gender?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner
|
|
40
|
+
*/
|
|
41
|
+
previewUrl?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfOrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner(value: object): value is OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner;
|
|
47
|
+
export declare function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerFromJSON(json: any): OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner;
|
|
48
|
+
export declare function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner;
|
|
49
|
+
export declare function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerToJSON(json: any): OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner;
|
|
50
|
+
export declare function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerToJSONTyped(value?: OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tivadar AI Backend API
|
|
6
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfOrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner = instanceOfOrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner;
|
|
17
|
+
exports.OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerFromJSON = OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerFromJSON;
|
|
18
|
+
exports.OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerFromJSONTyped = OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerFromJSONTyped;
|
|
19
|
+
exports.OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerToJSON = OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerToJSON;
|
|
20
|
+
exports.OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerToJSONTyped = OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerFromJSON(json) {
|
|
28
|
+
return OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
36
|
+
'label': json['label'] == null ? undefined : json['label'],
|
|
37
|
+
'gender': json['gender'] == null ? undefined : json['gender'],
|
|
38
|
+
'previewUrl': json['previewUrl'] == null ? undefined : json['previewUrl'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerToJSON(json) {
|
|
42
|
+
return OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': value['id'],
|
|
50
|
+
'label': value['label'],
|
|
51
|
+
'gender': value['gender'],
|
|
52
|
+
'previewUrl': value['previewUrl'],
|
|
53
|
+
};
|
|
54
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -36,8 +36,10 @@ export * from './OrganizationsOrganizationIdEmbeddingProvidersGet200ResponseInne
|
|
|
36
36
|
export * from './OrganizationsOrganizationIdLlmProvidersGet200ResponseInner';
|
|
37
37
|
export * from './OrganizationsOrganizationIdSipDispatchRulesPost200Response';
|
|
38
38
|
export * from './OrganizationsOrganizationIdSttProvidersGet200ResponseInner';
|
|
39
|
+
export * from './OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner';
|
|
39
40
|
export * from './OrganizationsOrganizationIdTtsProvidersGet200ResponseInner';
|
|
40
|
-
export * from './
|
|
41
|
+
export * from './OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner';
|
|
42
|
+
export * from './OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner';
|
|
41
43
|
export * from './OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInner';
|
|
42
44
|
export * from './PauseSubscriptionRequest';
|
|
43
45
|
export * from './PauseSubscriptionResponse';
|
package/dist/models/index.js
CHANGED
|
@@ -54,8 +54,10 @@ __exportStar(require("./OrganizationsOrganizationIdEmbeddingProvidersGet200Respo
|
|
|
54
54
|
__exportStar(require("./OrganizationsOrganizationIdLlmProvidersGet200ResponseInner"), exports);
|
|
55
55
|
__exportStar(require("./OrganizationsOrganizationIdSipDispatchRulesPost200Response"), exports);
|
|
56
56
|
__exportStar(require("./OrganizationsOrganizationIdSttProvidersGet200ResponseInner"), exports);
|
|
57
|
+
__exportStar(require("./OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner"), exports);
|
|
57
58
|
__exportStar(require("./OrganizationsOrganizationIdTtsProvidersGet200ResponseInner"), exports);
|
|
58
|
-
__exportStar(require("./
|
|
59
|
+
__exportStar(require("./OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner"), exports);
|
|
60
|
+
__exportStar(require("./OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner"), exports);
|
|
59
61
|
__exportStar(require("./OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInner"), exports);
|
|
60
62
|
__exportStar(require("./PauseSubscriptionRequest"), exports);
|
|
61
63
|
__exportStar(require("./PauseSubscriptionResponse"), exports);
|
package/package.json
CHANGED
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner } from './OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner';
|
|
17
|
+
import {
|
|
18
|
+
OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInnerFromJSON,
|
|
19
|
+
OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInnerFromJSONTyped,
|
|
20
|
+
OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInnerToJSON,
|
|
21
|
+
OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInnerToJSONTyped,
|
|
22
|
+
} from './OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -24,19 +32,19 @@ export interface OrganizationsOrganizationIdSttProvidersGet200ResponseInner {
|
|
|
24
32
|
* @type {string}
|
|
25
33
|
* @memberof OrganizationsOrganizationIdSttProvidersGet200ResponseInner
|
|
26
34
|
*/
|
|
27
|
-
|
|
35
|
+
id?: string;
|
|
28
36
|
/**
|
|
29
37
|
*
|
|
30
|
-
* @type {
|
|
38
|
+
* @type {string}
|
|
31
39
|
* @memberof OrganizationsOrganizationIdSttProvidersGet200ResponseInner
|
|
32
40
|
*/
|
|
33
|
-
|
|
41
|
+
label?: string;
|
|
34
42
|
/**
|
|
35
43
|
*
|
|
36
|
-
* @type {Array<
|
|
44
|
+
* @type {Array<OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner>}
|
|
37
45
|
* @memberof OrganizationsOrganizationIdSttProvidersGet200ResponseInner
|
|
38
46
|
*/
|
|
39
|
-
|
|
47
|
+
models?: Array<OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner>;
|
|
40
48
|
}
|
|
41
49
|
|
|
42
50
|
/**
|
|
@@ -56,9 +64,9 @@ export function OrganizationsOrganizationIdSttProvidersGet200ResponseInnerFromJS
|
|
|
56
64
|
}
|
|
57
65
|
return {
|
|
58
66
|
|
|
59
|
-
'
|
|
60
|
-
'
|
|
61
|
-
'
|
|
67
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
68
|
+
'label': json['label'] == null ? undefined : json['label'],
|
|
69
|
+
'models': json['models'] == null ? undefined : ((json['models'] as Array<any>).map(OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInnerFromJSON)),
|
|
62
70
|
};
|
|
63
71
|
}
|
|
64
72
|
|
|
@@ -73,9 +81,9 @@ export function OrganizationsOrganizationIdSttProvidersGet200ResponseInnerToJSON
|
|
|
73
81
|
|
|
74
82
|
return {
|
|
75
83
|
|
|
76
|
-
'
|
|
77
|
-
'
|
|
78
|
-
'
|
|
84
|
+
'id': value['id'],
|
|
85
|
+
'label': value['label'],
|
|
86
|
+
'models': value['models'] == null ? undefined : ((value['models'] as Array<any>).map(OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInnerToJSON)),
|
|
79
87
|
};
|
|
80
88
|
}
|
|
81
89
|
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner
|
|
20
|
+
*/
|
|
21
|
+
export interface OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner
|
|
26
|
+
*/
|
|
27
|
+
id?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner
|
|
32
|
+
*/
|
|
33
|
+
label?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Array<string>}
|
|
37
|
+
* @memberof OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner
|
|
38
|
+
*/
|
|
39
|
+
supportedLanguages?: Array<string>;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner
|
|
44
|
+
*/
|
|
45
|
+
streaming?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner
|
|
50
|
+
*/
|
|
51
|
+
batch?: boolean;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfOrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner(value: object): value is OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner {
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInnerFromJSON(json: any): OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner {
|
|
62
|
+
return OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInnerFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner {
|
|
66
|
+
if (json == null) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
72
|
+
'label': json['label'] == null ? undefined : json['label'],
|
|
73
|
+
'supportedLanguages': json['supportedLanguages'] == null ? undefined : json['supportedLanguages'],
|
|
74
|
+
'streaming': json['streaming'] == null ? undefined : json['streaming'],
|
|
75
|
+
'batch': json['batch'] == null ? undefined : json['batch'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInnerToJSON(json: any): OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner {
|
|
80
|
+
return OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInnerToJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInnerToJSONTyped(value?: OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner | null, ignoreDiscriminator: boolean = false): any {
|
|
84
|
+
if (value == null) {
|
|
85
|
+
return value;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return {
|
|
89
|
+
|
|
90
|
+
'id': value['id'],
|
|
91
|
+
'label': value['label'],
|
|
92
|
+
'supportedLanguages': value['supportedLanguages'],
|
|
93
|
+
'streaming': value['streaming'],
|
|
94
|
+
'batch': value['batch'],
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner } from './OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerFromJSON,
|
|
19
|
+
OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerFromJSONTyped,
|
|
20
|
+
OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerToJSON,
|
|
21
|
+
OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerToJSONTyped,
|
|
22
|
+
} from './OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -32,19 +32,19 @@ export interface OrganizationsOrganizationIdTtsProvidersGet200ResponseInner {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInner
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
id?: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {string}
|
|
39
39
|
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInner
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
label?: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
|
-
* @type {Array<
|
|
44
|
+
* @type {Array<OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner>}
|
|
45
45
|
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInner
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
models?: Array<OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner>;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/**
|
|
@@ -64,9 +64,9 @@ export function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerFromJS
|
|
|
64
64
|
}
|
|
65
65
|
return {
|
|
66
66
|
|
|
67
|
-
'
|
|
68
|
-
'
|
|
69
|
-
'
|
|
67
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
68
|
+
'label': json['label'] == null ? undefined : json['label'],
|
|
69
|
+
'models': json['models'] == null ? undefined : ((json['models'] as Array<any>).map(OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerFromJSON)),
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -81,9 +81,9 @@ export function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerToJSON
|
|
|
81
81
|
|
|
82
82
|
return {
|
|
83
83
|
|
|
84
|
-
'
|
|
85
|
-
'
|
|
86
|
-
'
|
|
84
|
+
'id': value['id'],
|
|
85
|
+
'label': value['label'],
|
|
86
|
+
'models': value['models'] == null ? undefined : ((value['models'] as Array<any>).map(OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerToJSON)),
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner } from './OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner';
|
|
17
|
+
import {
|
|
18
|
+
OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerFromJSON,
|
|
19
|
+
OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerFromJSONTyped,
|
|
20
|
+
OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerToJSON,
|
|
21
|
+
OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerToJSONTyped,
|
|
22
|
+
} from './OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner
|
|
28
|
+
*/
|
|
29
|
+
export interface OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner
|
|
34
|
+
*/
|
|
35
|
+
id?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner
|
|
40
|
+
*/
|
|
41
|
+
label?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner
|
|
46
|
+
*/
|
|
47
|
+
supportedLanguages?: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner>}
|
|
51
|
+
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner
|
|
52
|
+
*/
|
|
53
|
+
voices?: Array<OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner>;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfOrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner(value: object): value is OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner {
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerFromJSON(json: any): OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner {
|
|
64
|
+
return OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
74
|
+
'label': json['label'] == null ? undefined : json['label'],
|
|
75
|
+
'supportedLanguages': json['supportedLanguages'] == null ? undefined : json['supportedLanguages'],
|
|
76
|
+
'voices': json['voices'] == null ? undefined : ((json['voices'] as Array<any>).map(OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerFromJSON)),
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerToJSON(json: any): OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner {
|
|
81
|
+
return OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerToJSONTyped(json, false);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerToJSONTyped(value?: OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner | null, ignoreDiscriminator: boolean = false): any {
|
|
85
|
+
if (value == null) {
|
|
86
|
+
return value;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
return {
|
|
90
|
+
|
|
91
|
+
'id': value['id'],
|
|
92
|
+
'label': value['label'],
|
|
93
|
+
'supportedLanguages': value['supportedLanguages'],
|
|
94
|
+
'voices': value['voices'] == null ? undefined : ((value['voices'] as Array<any>).map(OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerToJSON)),
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|