@breign/client 1.0.117 → 1.0.119
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/dist/apis/AgentApi.d.ts +18 -1
- package/dist/apis/AgentApi.js +43 -0
- package/dist/apis/AppApi.d.ts +18 -1
- package/dist/apis/AppApi.js +43 -0
- package/dist/apis/ConversationsApi.d.ts +15 -1
- package/dist/apis/ConversationsApi.js +22 -3
- package/dist/apis/EnginesApi.d.ts +31 -0
- package/dist/apis/EnginesApi.js +86 -0
- package/dist/apis/ToolsApi.d.ts +7 -3
- package/dist/apis/ToolsApi.js +15 -4
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AgentPatchUio.d.ts +7 -0
- package/dist/models/AgentPatchUio.js +3 -0
- package/dist/models/AgentUio.d.ts +7 -0
- package/dist/models/AgentUio.js +3 -0
- package/dist/models/AppCreateRequestUio.d.ts +7 -0
- package/dist/models/AppCreateRequestUio.js +3 -0
- package/dist/models/AppUio.d.ts +7 -0
- package/dist/models/AppUio.js +3 -0
- package/dist/models/AppUpdateRequestUio.d.ts +7 -0
- package/dist/models/AppUpdateRequestUio.js +3 -0
- package/dist/models/ModelDefinitionUio.d.ts +6 -0
- package/dist/models/ModelDefinitionUio.js +2 -0
- package/dist/models/SpeechToTextConfigUio.d.ts +38 -0
- package/dist/models/SpeechToTextConfigUio.js +54 -0
- package/dist/models/SpeechToTextProviderModelsInnerUio.d.ts +44 -0
- package/dist/models/SpeechToTextProviderModelsInnerUio.js +56 -0
- package/dist/models/SpeechToTextProviderUio.d.ts +51 -0
- package/dist/models/SpeechToTextProviderUio.js +63 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/openapi.json +403 -27
- package/package.json +1 -1
package/dist/models/AppUio.js
CHANGED
|
@@ -26,6 +26,7 @@ const AnimationUio_1 = require("./AnimationUio");
|
|
|
26
26
|
const PersonaUio_1 = require("./PersonaUio");
|
|
27
27
|
const AppCreateRequestEphemeralInstancesUio_1 = require("./AppCreateRequestEphemeralInstancesUio");
|
|
28
28
|
const SimpleAgentUio_1 = require("./SimpleAgentUio");
|
|
29
|
+
const SpeechToTextConfigUio_1 = require("./SpeechToTextConfigUio");
|
|
29
30
|
const LipsyncUio_1 = require("./LipsyncUio");
|
|
30
31
|
const AppStatusUio_1 = require("./AppStatusUio");
|
|
31
32
|
/**
|
|
@@ -73,6 +74,7 @@ function AppUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
73
74
|
'voiceProviderOrganization': json['voiceProviderOrganization'] == null ? undefined : json['voiceProviderOrganization'],
|
|
74
75
|
'voiceId': json['voiceId'],
|
|
75
76
|
'voiceModelId': json['voiceModelId'],
|
|
77
|
+
'speechToText': json['speechToText'] == null ? undefined : (0, SpeechToTextConfigUio_1.SpeechToTextConfigUioFromJSON)(json['speechToText']),
|
|
76
78
|
'voice': json['voice'] == null ? undefined : json['voice'],
|
|
77
79
|
'lipsync': json['lipsync'] == null ? undefined : (0, LipsyncUio_1.LipsyncUioFromJSON)(json['lipsync']),
|
|
78
80
|
'status': (0, AppStatusUio_1.AppStatusUioFromJSON)(json['status']),
|
|
@@ -112,6 +114,7 @@ function AppUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
112
114
|
'voiceProviderOrganization': value['voiceProviderOrganization'],
|
|
113
115
|
'voiceId': value['voiceId'],
|
|
114
116
|
'voiceModelId': value['voiceModelId'],
|
|
117
|
+
'speechToText': (0, SpeechToTextConfigUio_1.SpeechToTextConfigUioToJSON)(value['speechToText']),
|
|
115
118
|
'voice': value['voice'],
|
|
116
119
|
'lipsync': (0, LipsyncUio_1.LipsyncUioToJSON)(value['lipsync']),
|
|
117
120
|
'status': (0, AppStatusUio_1.AppStatusUioToJSON)(value['status']),
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { AppCreateRequestEphemeralInstancesUio } from './AppCreateRequestEphemeralInstancesUio';
|
|
13
|
+
import type { SpeechToTextConfigUio } from './SpeechToTextConfigUio';
|
|
13
14
|
import type { LipsyncUio } from './LipsyncUio';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
@@ -65,6 +66,12 @@ export interface AppUpdateRequestUio {
|
|
|
65
66
|
* @memberof AppUpdateRequestUio
|
|
66
67
|
*/
|
|
67
68
|
voiceModelId?: string;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {SpeechToTextConfigUio}
|
|
72
|
+
* @memberof AppUpdateRequestUio
|
|
73
|
+
*/
|
|
74
|
+
speechToText?: SpeechToTextConfigUio;
|
|
68
75
|
/**
|
|
69
76
|
*
|
|
70
77
|
* @type {boolean}
|
|
@@ -19,6 +19,7 @@ exports.AppUpdateRequestUioFromJSONTyped = AppUpdateRequestUioFromJSONTyped;
|
|
|
19
19
|
exports.AppUpdateRequestUioToJSON = AppUpdateRequestUioToJSON;
|
|
20
20
|
exports.AppUpdateRequestUioToJSONTyped = AppUpdateRequestUioToJSONTyped;
|
|
21
21
|
const AppCreateRequestEphemeralInstancesUio_1 = require("./AppCreateRequestEphemeralInstancesUio");
|
|
22
|
+
const SpeechToTextConfigUio_1 = require("./SpeechToTextConfigUio");
|
|
22
23
|
const LipsyncUio_1 = require("./LipsyncUio");
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the AppUpdateRequestUio interface.
|
|
@@ -42,6 +43,7 @@ function AppUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
43
|
'voiceProviderOrganization': json['voiceProviderOrganization'] == null ? undefined : json['voiceProviderOrganization'],
|
|
43
44
|
'voiceId': json['voiceId'] == null ? undefined : json['voiceId'],
|
|
44
45
|
'voiceModelId': json['voiceModelId'] == null ? undefined : json['voiceModelId'],
|
|
46
|
+
'speechToText': json['speechToText'] == null ? undefined : (0, SpeechToTextConfigUio_1.SpeechToTextConfigUioFromJSON)(json['speechToText']),
|
|
45
47
|
'disableFillers': json['disableFillers'] == null ? undefined : json['disableFillers'],
|
|
46
48
|
'lipsync': json['lipsync'] == null ? undefined : (0, LipsyncUio_1.LipsyncUioFromJSON)(json['lipsync']),
|
|
47
49
|
'favoriteOutfit': json['favoriteOutfit'] == null ? undefined : json['favoriteOutfit'],
|
|
@@ -64,6 +66,7 @@ function AppUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
64
66
|
'voiceProviderOrganization': value['voiceProviderOrganization'],
|
|
65
67
|
'voiceId': value['voiceId'],
|
|
66
68
|
'voiceModelId': value['voiceModelId'],
|
|
69
|
+
'speechToText': (0, SpeechToTextConfigUio_1.SpeechToTextConfigUioToJSON)(value['speechToText']),
|
|
67
70
|
'disableFillers': value['disableFillers'],
|
|
68
71
|
'lipsync': (0, LipsyncUio_1.LipsyncUioToJSON)(value['lipsync']),
|
|
69
72
|
'favoriteOutfit': value['favoriteOutfit'],
|
|
@@ -43,6 +43,7 @@ function ModelDefinitionUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
'hasToolUse': json['hasToolUse'] == null ? undefined : json['hasToolUse'],
|
|
44
44
|
'hasReasoning': json['hasReasoning'] == null ? undefined : json['hasReasoning'],
|
|
45
45
|
'hasEmbedding': json['hasEmbedding'] == null ? undefined : json['hasEmbedding'],
|
|
46
|
+
'hasSpeechToText': json['hasSpeechToText'] == null ? undefined : json['hasSpeechToText'],
|
|
46
47
|
'maxTokens': json['maxTokens'] == null ? undefined : json['maxTokens'],
|
|
47
48
|
'options': json['options'] == null ? undefined : json['options'],
|
|
48
49
|
};
|
|
@@ -62,6 +63,7 @@ function ModelDefinitionUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
62
63
|
'hasToolUse': value['hasToolUse'],
|
|
63
64
|
'hasReasoning': value['hasReasoning'],
|
|
64
65
|
'hasEmbedding': value['hasEmbedding'],
|
|
66
|
+
'hasSpeechToText': value['hasSpeechToText'],
|
|
65
67
|
'maxTokens': value['maxTokens'],
|
|
66
68
|
'options': value['options'],
|
|
67
69
|
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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 SpeechToTextConfigUio
|
|
16
|
+
*/
|
|
17
|
+
export interface SpeechToTextConfigUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SpeechToTextConfigUio
|
|
22
|
+
*/
|
|
23
|
+
providerId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SpeechToTextConfigUio
|
|
28
|
+
*/
|
|
29
|
+
modelId: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SpeechToTextConfigUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfSpeechToTextConfigUio(value: object): value is SpeechToTextConfigUio;
|
|
35
|
+
export declare function SpeechToTextConfigUioFromJSON(json: any): SpeechToTextConfigUio;
|
|
36
|
+
export declare function SpeechToTextConfigUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpeechToTextConfigUio;
|
|
37
|
+
export declare function SpeechToTextConfigUioToJSON(json: any): SpeechToTextConfigUio;
|
|
38
|
+
export declare function SpeechToTextConfigUioToJSONTyped(value?: SpeechToTextConfigUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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.instanceOfSpeechToTextConfigUio = instanceOfSpeechToTextConfigUio;
|
|
17
|
+
exports.SpeechToTextConfigUioFromJSON = SpeechToTextConfigUioFromJSON;
|
|
18
|
+
exports.SpeechToTextConfigUioFromJSONTyped = SpeechToTextConfigUioFromJSONTyped;
|
|
19
|
+
exports.SpeechToTextConfigUioToJSON = SpeechToTextConfigUioToJSON;
|
|
20
|
+
exports.SpeechToTextConfigUioToJSONTyped = SpeechToTextConfigUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SpeechToTextConfigUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSpeechToTextConfigUio(value) {
|
|
25
|
+
if (!('providerId' in value) || value['providerId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('modelId' in value) || value['modelId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function SpeechToTextConfigUioFromJSON(json) {
|
|
32
|
+
return SpeechToTextConfigUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function SpeechToTextConfigUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'providerId': json['providerId'],
|
|
40
|
+
'modelId': json['modelId'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function SpeechToTextConfigUioToJSON(json) {
|
|
44
|
+
return SpeechToTextConfigUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function SpeechToTextConfigUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'providerId': value['providerId'],
|
|
52
|
+
'modelId': value['modelId'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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 SpeechToTextProviderModelsInnerUio
|
|
16
|
+
*/
|
|
17
|
+
export interface SpeechToTextProviderModelsInnerUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SpeechToTextProviderModelsInnerUio
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SpeechToTextProviderModelsInnerUio
|
|
28
|
+
*/
|
|
29
|
+
modelId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SpeechToTextProviderModelsInnerUio
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SpeechToTextProviderModelsInnerUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSpeechToTextProviderModelsInnerUio(value: object): value is SpeechToTextProviderModelsInnerUio;
|
|
41
|
+
export declare function SpeechToTextProviderModelsInnerUioFromJSON(json: any): SpeechToTextProviderModelsInnerUio;
|
|
42
|
+
export declare function SpeechToTextProviderModelsInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpeechToTextProviderModelsInnerUio;
|
|
43
|
+
export declare function SpeechToTextProviderModelsInnerUioToJSON(json: any): SpeechToTextProviderModelsInnerUio;
|
|
44
|
+
export declare function SpeechToTextProviderModelsInnerUioToJSONTyped(value?: SpeechToTextProviderModelsInnerUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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.instanceOfSpeechToTextProviderModelsInnerUio = instanceOfSpeechToTextProviderModelsInnerUio;
|
|
17
|
+
exports.SpeechToTextProviderModelsInnerUioFromJSON = SpeechToTextProviderModelsInnerUioFromJSON;
|
|
18
|
+
exports.SpeechToTextProviderModelsInnerUioFromJSONTyped = SpeechToTextProviderModelsInnerUioFromJSONTyped;
|
|
19
|
+
exports.SpeechToTextProviderModelsInnerUioToJSON = SpeechToTextProviderModelsInnerUioToJSON;
|
|
20
|
+
exports.SpeechToTextProviderModelsInnerUioToJSONTyped = SpeechToTextProviderModelsInnerUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SpeechToTextProviderModelsInnerUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSpeechToTextProviderModelsInnerUio(value) {
|
|
25
|
+
if (!('modelId' in value) || value['modelId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function SpeechToTextProviderModelsInnerUioFromJSON(json) {
|
|
32
|
+
return SpeechToTextProviderModelsInnerUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function SpeechToTextProviderModelsInnerUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
40
|
+
'modelId': json['modelId'],
|
|
41
|
+
'name': json['name'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function SpeechToTextProviderModelsInnerUioToJSON(json) {
|
|
45
|
+
return SpeechToTextProviderModelsInnerUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function SpeechToTextProviderModelsInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'modelId': value['modelId'],
|
|
54
|
+
'name': value['name'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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 { SpeechToTextProviderModelsInnerUio } from './SpeechToTextProviderModelsInnerUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SpeechToTextProviderUio
|
|
17
|
+
*/
|
|
18
|
+
export interface SpeechToTextProviderUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SpeechToTextProviderUio
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SpeechToTextProviderUio
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SpeechToTextProviderUio
|
|
35
|
+
*/
|
|
36
|
+
providerType: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<SpeechToTextProviderModelsInnerUio>}
|
|
40
|
+
* @memberof SpeechToTextProviderUio
|
|
41
|
+
*/
|
|
42
|
+
models: Array<SpeechToTextProviderModelsInnerUio>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the SpeechToTextProviderUio interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfSpeechToTextProviderUio(value: object): value is SpeechToTextProviderUio;
|
|
48
|
+
export declare function SpeechToTextProviderUioFromJSON(json: any): SpeechToTextProviderUio;
|
|
49
|
+
export declare function SpeechToTextProviderUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpeechToTextProviderUio;
|
|
50
|
+
export declare function SpeechToTextProviderUioToJSON(json: any): SpeechToTextProviderUio;
|
|
51
|
+
export declare function SpeechToTextProviderUioToJSONTyped(value?: SpeechToTextProviderUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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.instanceOfSpeechToTextProviderUio = instanceOfSpeechToTextProviderUio;
|
|
17
|
+
exports.SpeechToTextProviderUioFromJSON = SpeechToTextProviderUioFromJSON;
|
|
18
|
+
exports.SpeechToTextProviderUioFromJSONTyped = SpeechToTextProviderUioFromJSONTyped;
|
|
19
|
+
exports.SpeechToTextProviderUioToJSON = SpeechToTextProviderUioToJSON;
|
|
20
|
+
exports.SpeechToTextProviderUioToJSONTyped = SpeechToTextProviderUioToJSONTyped;
|
|
21
|
+
const SpeechToTextProviderModelsInnerUio_1 = require("./SpeechToTextProviderModelsInnerUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the SpeechToTextProviderUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfSpeechToTextProviderUio(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('providerType' in value) || value['providerType'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('models' in value) || value['models'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function SpeechToTextProviderUioFromJSON(json) {
|
|
37
|
+
return SpeechToTextProviderUioFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function SpeechToTextProviderUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': json['id'],
|
|
45
|
+
'name': json['name'],
|
|
46
|
+
'providerType': json['providerType'],
|
|
47
|
+
'models': (json['models'].map(SpeechToTextProviderModelsInnerUio_1.SpeechToTextProviderModelsInnerUioFromJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function SpeechToTextProviderUioToJSON(json) {
|
|
51
|
+
return SpeechToTextProviderUioToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function SpeechToTextProviderUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': value['id'],
|
|
59
|
+
'name': value['name'],
|
|
60
|
+
'providerType': value['providerType'],
|
|
61
|
+
'models': (value['models'].map(SpeechToTextProviderModelsInnerUio_1.SpeechToTextProviderModelsInnerUioToJSON)),
|
|
62
|
+
};
|
|
63
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -297,6 +297,9 @@ export * from './SkillFileUio';
|
|
|
297
297
|
export * from './SkillFileUpdateRequestUio';
|
|
298
298
|
export * from './SkillUio';
|
|
299
299
|
export * from './SkillUpdateRequestUio';
|
|
300
|
+
export * from './SpeechToTextConfigUio';
|
|
301
|
+
export * from './SpeechToTextProviderModelsInnerUio';
|
|
302
|
+
export * from './SpeechToTextProviderUio';
|
|
300
303
|
export * from './StartKnowledgeBaseScrappingRequestUio';
|
|
301
304
|
export * from './SubscriptionAdditionalMetricUio';
|
|
302
305
|
export * from './SubscriptionInteractionsMetricUio';
|
package/dist/models/index.js
CHANGED
|
@@ -315,6 +315,9 @@ __exportStar(require("./SkillFileUio"), exports);
|
|
|
315
315
|
__exportStar(require("./SkillFileUpdateRequestUio"), exports);
|
|
316
316
|
__exportStar(require("./SkillUio"), exports);
|
|
317
317
|
__exportStar(require("./SkillUpdateRequestUio"), exports);
|
|
318
|
+
__exportStar(require("./SpeechToTextConfigUio"), exports);
|
|
319
|
+
__exportStar(require("./SpeechToTextProviderModelsInnerUio"), exports);
|
|
320
|
+
__exportStar(require("./SpeechToTextProviderUio"), exports);
|
|
318
321
|
__exportStar(require("./StartKnowledgeBaseScrappingRequestUio"), exports);
|
|
319
322
|
__exportStar(require("./SubscriptionAdditionalMetricUio"), exports);
|
|
320
323
|
__exportStar(require("./SubscriptionInteractionsMetricUio"), exports);
|