@breign/client 1.0.118 → 1.0.120
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/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/ContextualKnowledgeConversationUio.d.ts +0 -6
- package/dist/models/ContextualKnowledgeConversationUio.js +0 -4
- package/dist/models/FileAttachmentDetailsResponseUio.d.ts +25 -0
- package/dist/models/FileAttachmentDetailsResponseUio.js +13 -0
- package/dist/models/FileAttachmentUio.d.ts +25 -0
- package/dist/models/FileAttachmentUio.js +13 -0
- package/dist/models/FileAttachmentUploadResponseUio.d.ts +25 -0
- package/dist/models/FileAttachmentUploadResponseUio.js +13 -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 +365 -31
- package/package.json +1 -1
|
@@ -36,8 +36,6 @@ function instanceOfContextualKnowledgeConversationUio(value) {
|
|
|
36
36
|
return false;
|
|
37
37
|
if (!('backend' in value) || value['backend'] === undefined)
|
|
38
38
|
return false;
|
|
39
|
-
if (!('sizeThresholdBytes' in value) || value['sizeThresholdBytes'] === undefined)
|
|
40
|
-
return false;
|
|
41
39
|
if (!('ttlDays' in value) || value['ttlDays'] === undefined)
|
|
42
40
|
return false;
|
|
43
41
|
return true;
|
|
@@ -52,7 +50,6 @@ function ContextualKnowledgeConversationUioFromJSONTyped(json, ignoreDiscriminat
|
|
|
52
50
|
return {
|
|
53
51
|
'enabled': json['enabled'],
|
|
54
52
|
'backend': json['backend'],
|
|
55
|
-
'sizeThresholdBytes': json['sizeThresholdBytes'],
|
|
56
53
|
'ttlDays': json['ttlDays'],
|
|
57
54
|
'scoreThreshold': json['scoreThreshold'] == null ? undefined : json['scoreThreshold'],
|
|
58
55
|
'maxDocuments': json['maxDocuments'] == null ? undefined : json['maxDocuments'],
|
|
@@ -70,7 +67,6 @@ function ContextualKnowledgeConversationUioToJSONTyped(value, ignoreDiscriminato
|
|
|
70
67
|
return {
|
|
71
68
|
'enabled': value['enabled'],
|
|
72
69
|
'backend': value['backend'],
|
|
73
|
-
'sizeThresholdBytes': value['sizeThresholdBytes'],
|
|
74
70
|
'ttlDays': value['ttlDays'],
|
|
75
71
|
'scoreThreshold': value['scoreThreshold'],
|
|
76
72
|
'maxDocuments': value['maxDocuments'],
|
|
@@ -72,6 +72,24 @@ export interface FileAttachmentDetailsResponseUio {
|
|
|
72
72
|
* @memberof FileAttachmentDetailsResponseUio
|
|
73
73
|
*/
|
|
74
74
|
status: FileAttachmentStatusUio;
|
|
75
|
+
/**
|
|
76
|
+
* Machine-readable error code when status is ERROR (e.g. ATTACHMENT_TOO_LARGE)
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof FileAttachmentDetailsResponseUio
|
|
79
|
+
*/
|
|
80
|
+
errorCode?: FileAttachmentDetailsResponseUioErrorCodeEnum;
|
|
81
|
+
/**
|
|
82
|
+
* Estimated token count of the attachment (set when status is ERROR / ATTACHMENT_TOO_LARGE)
|
|
83
|
+
* @type {number}
|
|
84
|
+
* @memberof FileAttachmentDetailsResponseUio
|
|
85
|
+
*/
|
|
86
|
+
estimatedTokens?: number;
|
|
87
|
+
/**
|
|
88
|
+
* Model context limit used for the comparison (set when status is ERROR / ATTACHMENT_TOO_LARGE)
|
|
89
|
+
* @type {number}
|
|
90
|
+
* @memberof FileAttachmentDetailsResponseUio
|
|
91
|
+
*/
|
|
92
|
+
maxTokens?: number;
|
|
75
93
|
/**
|
|
76
94
|
*
|
|
77
95
|
* @type {FileAttachmentProcessedUio}
|
|
@@ -79,6 +97,13 @@ export interface FileAttachmentDetailsResponseUio {
|
|
|
79
97
|
*/
|
|
80
98
|
processed?: FileAttachmentProcessedUio;
|
|
81
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* @export
|
|
102
|
+
*/
|
|
103
|
+
export declare const FileAttachmentDetailsResponseUioErrorCodeEnum: {
|
|
104
|
+
readonly AttachmentTooLarge: "ATTACHMENT_TOO_LARGE";
|
|
105
|
+
};
|
|
106
|
+
export type FileAttachmentDetailsResponseUioErrorCodeEnum = typeof FileAttachmentDetailsResponseUioErrorCodeEnum[keyof typeof FileAttachmentDetailsResponseUioErrorCodeEnum];
|
|
82
107
|
/**
|
|
83
108
|
* Check if a given object implements the FileAttachmentDetailsResponseUio interface.
|
|
84
109
|
*/
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.FileAttachmentDetailsResponseUioErrorCodeEnum = void 0;
|
|
16
17
|
exports.instanceOfFileAttachmentDetailsResponseUio = instanceOfFileAttachmentDetailsResponseUio;
|
|
17
18
|
exports.FileAttachmentDetailsResponseUioFromJSON = FileAttachmentDetailsResponseUioFromJSON;
|
|
18
19
|
exports.FileAttachmentDetailsResponseUioFromJSONTyped = FileAttachmentDetailsResponseUioFromJSONTyped;
|
|
@@ -21,6 +22,12 @@ exports.FileAttachmentDetailsResponseUioToJSONTyped = FileAttachmentDetailsRespo
|
|
|
21
22
|
const AttachmentTypeUio_1 = require("./AttachmentTypeUio");
|
|
22
23
|
const FileAttachmentProcessedUio_1 = require("./FileAttachmentProcessedUio");
|
|
23
24
|
const FileAttachmentStatusUio_1 = require("./FileAttachmentStatusUio");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.FileAttachmentDetailsResponseUioErrorCodeEnum = {
|
|
29
|
+
AttachmentTooLarge: 'ATTACHMENT_TOO_LARGE'
|
|
30
|
+
};
|
|
24
31
|
/**
|
|
25
32
|
* Check if a given object implements the FileAttachmentDetailsResponseUio interface.
|
|
26
33
|
*/
|
|
@@ -60,6 +67,9 @@ function FileAttachmentDetailsResponseUioFromJSONTyped(json, ignoreDiscriminator
|
|
|
60
67
|
'key': json['key'],
|
|
61
68
|
'url': json['url'] == null ? undefined : json['url'],
|
|
62
69
|
'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioFromJSON)(json['status']),
|
|
70
|
+
'errorCode': json['errorCode'] == null ? undefined : json['errorCode'],
|
|
71
|
+
'estimatedTokens': json['estimatedTokens'] == null ? undefined : json['estimatedTokens'],
|
|
72
|
+
'maxTokens': json['maxTokens'] == null ? undefined : json['maxTokens'],
|
|
63
73
|
'processed': json['processed'] == null ? undefined : (0, FileAttachmentProcessedUio_1.FileAttachmentProcessedUioFromJSON)(json['processed']),
|
|
64
74
|
};
|
|
65
75
|
}
|
|
@@ -80,6 +90,9 @@ function FileAttachmentDetailsResponseUioToJSONTyped(value, ignoreDiscriminator
|
|
|
80
90
|
'key': value['key'],
|
|
81
91
|
'url': value['url'],
|
|
82
92
|
'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioToJSON)(value['status']),
|
|
93
|
+
'errorCode': value['errorCode'],
|
|
94
|
+
'estimatedTokens': value['estimatedTokens'],
|
|
95
|
+
'maxTokens': value['maxTokens'],
|
|
83
96
|
'processed': (0, FileAttachmentProcessedUio_1.FileAttachmentProcessedUioToJSON)(value['processed']),
|
|
84
97
|
};
|
|
85
98
|
}
|
|
@@ -72,6 +72,24 @@ export interface FileAttachmentUio {
|
|
|
72
72
|
* @memberof FileAttachmentUio
|
|
73
73
|
*/
|
|
74
74
|
status: FileAttachmentStatusUio;
|
|
75
|
+
/**
|
|
76
|
+
* Machine-readable error code when status is ERROR (e.g. ATTACHMENT_TOO_LARGE)
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof FileAttachmentUio
|
|
79
|
+
*/
|
|
80
|
+
errorCode?: FileAttachmentUioErrorCodeEnum;
|
|
81
|
+
/**
|
|
82
|
+
* Estimated token count of the attachment (set when status is ERROR / ATTACHMENT_TOO_LARGE)
|
|
83
|
+
* @type {number}
|
|
84
|
+
* @memberof FileAttachmentUio
|
|
85
|
+
*/
|
|
86
|
+
estimatedTokens?: number;
|
|
87
|
+
/**
|
|
88
|
+
* Model context limit used for the comparison (set when status is ERROR / ATTACHMENT_TOO_LARGE)
|
|
89
|
+
* @type {number}
|
|
90
|
+
* @memberof FileAttachmentUio
|
|
91
|
+
*/
|
|
92
|
+
maxTokens?: number;
|
|
75
93
|
/**
|
|
76
94
|
*
|
|
77
95
|
* @type {FileAttachmentProcessedUio}
|
|
@@ -79,6 +97,13 @@ export interface FileAttachmentUio {
|
|
|
79
97
|
*/
|
|
80
98
|
processed?: FileAttachmentProcessedUio;
|
|
81
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* @export
|
|
102
|
+
*/
|
|
103
|
+
export declare const FileAttachmentUioErrorCodeEnum: {
|
|
104
|
+
readonly AttachmentTooLarge: "ATTACHMENT_TOO_LARGE";
|
|
105
|
+
};
|
|
106
|
+
export type FileAttachmentUioErrorCodeEnum = typeof FileAttachmentUioErrorCodeEnum[keyof typeof FileAttachmentUioErrorCodeEnum];
|
|
82
107
|
/**
|
|
83
108
|
* Check if a given object implements the FileAttachmentUio interface.
|
|
84
109
|
*/
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.FileAttachmentUioErrorCodeEnum = void 0;
|
|
16
17
|
exports.instanceOfFileAttachmentUio = instanceOfFileAttachmentUio;
|
|
17
18
|
exports.FileAttachmentUioFromJSON = FileAttachmentUioFromJSON;
|
|
18
19
|
exports.FileAttachmentUioFromJSONTyped = FileAttachmentUioFromJSONTyped;
|
|
@@ -21,6 +22,12 @@ exports.FileAttachmentUioToJSONTyped = FileAttachmentUioToJSONTyped;
|
|
|
21
22
|
const AttachmentTypeUio_1 = require("./AttachmentTypeUio");
|
|
22
23
|
const FileAttachmentProcessedUio_1 = require("./FileAttachmentProcessedUio");
|
|
23
24
|
const FileAttachmentStatusUio_1 = require("./FileAttachmentStatusUio");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.FileAttachmentUioErrorCodeEnum = {
|
|
29
|
+
AttachmentTooLarge: 'ATTACHMENT_TOO_LARGE'
|
|
30
|
+
};
|
|
24
31
|
/**
|
|
25
32
|
* Check if a given object implements the FileAttachmentUio interface.
|
|
26
33
|
*/
|
|
@@ -60,6 +67,9 @@ function FileAttachmentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
67
|
'key': json['key'],
|
|
61
68
|
'url': json['url'] == null ? undefined : json['url'],
|
|
62
69
|
'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioFromJSON)(json['status']),
|
|
70
|
+
'errorCode': json['errorCode'] == null ? undefined : json['errorCode'],
|
|
71
|
+
'estimatedTokens': json['estimatedTokens'] == null ? undefined : json['estimatedTokens'],
|
|
72
|
+
'maxTokens': json['maxTokens'] == null ? undefined : json['maxTokens'],
|
|
63
73
|
'processed': json['processed'] == null ? undefined : (0, FileAttachmentProcessedUio_1.FileAttachmentProcessedUioFromJSON)(json['processed']),
|
|
64
74
|
};
|
|
65
75
|
}
|
|
@@ -80,6 +90,9 @@ function FileAttachmentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
80
90
|
'key': value['key'],
|
|
81
91
|
'url': value['url'],
|
|
82
92
|
'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioToJSON)(value['status']),
|
|
93
|
+
'errorCode': value['errorCode'],
|
|
94
|
+
'estimatedTokens': value['estimatedTokens'],
|
|
95
|
+
'maxTokens': value['maxTokens'],
|
|
83
96
|
'processed': (0, FileAttachmentProcessedUio_1.FileAttachmentProcessedUioToJSON)(value['processed']),
|
|
84
97
|
};
|
|
85
98
|
}
|
|
@@ -72,6 +72,24 @@ export interface FileAttachmentUploadResponseUio {
|
|
|
72
72
|
* @memberof FileAttachmentUploadResponseUio
|
|
73
73
|
*/
|
|
74
74
|
status: FileAttachmentStatusUio;
|
|
75
|
+
/**
|
|
76
|
+
* Machine-readable error code when status is ERROR (e.g. ATTACHMENT_TOO_LARGE)
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof FileAttachmentUploadResponseUio
|
|
79
|
+
*/
|
|
80
|
+
errorCode?: FileAttachmentUploadResponseUioErrorCodeEnum;
|
|
81
|
+
/**
|
|
82
|
+
* Estimated token count of the attachment (set when status is ERROR / ATTACHMENT_TOO_LARGE)
|
|
83
|
+
* @type {number}
|
|
84
|
+
* @memberof FileAttachmentUploadResponseUio
|
|
85
|
+
*/
|
|
86
|
+
estimatedTokens?: number;
|
|
87
|
+
/**
|
|
88
|
+
* Model context limit used for the comparison (set when status is ERROR / ATTACHMENT_TOO_LARGE)
|
|
89
|
+
* @type {number}
|
|
90
|
+
* @memberof FileAttachmentUploadResponseUio
|
|
91
|
+
*/
|
|
92
|
+
maxTokens?: number;
|
|
75
93
|
/**
|
|
76
94
|
*
|
|
77
95
|
* @type {FileAttachmentProcessedUio}
|
|
@@ -93,6 +111,13 @@ export interface FileAttachmentUploadResponseUio {
|
|
|
93
111
|
[key: string]: any;
|
|
94
112
|
};
|
|
95
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* @export
|
|
116
|
+
*/
|
|
117
|
+
export declare const FileAttachmentUploadResponseUioErrorCodeEnum: {
|
|
118
|
+
readonly AttachmentTooLarge: "ATTACHMENT_TOO_LARGE";
|
|
119
|
+
};
|
|
120
|
+
export type FileAttachmentUploadResponseUioErrorCodeEnum = typeof FileAttachmentUploadResponseUioErrorCodeEnum[keyof typeof FileAttachmentUploadResponseUioErrorCodeEnum];
|
|
96
121
|
/**
|
|
97
122
|
* Check if a given object implements the FileAttachmentUploadResponseUio interface.
|
|
98
123
|
*/
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.FileAttachmentUploadResponseUioErrorCodeEnum = void 0;
|
|
16
17
|
exports.instanceOfFileAttachmentUploadResponseUio = instanceOfFileAttachmentUploadResponseUio;
|
|
17
18
|
exports.FileAttachmentUploadResponseUioFromJSON = FileAttachmentUploadResponseUioFromJSON;
|
|
18
19
|
exports.FileAttachmentUploadResponseUioFromJSONTyped = FileAttachmentUploadResponseUioFromJSONTyped;
|
|
@@ -21,6 +22,12 @@ exports.FileAttachmentUploadResponseUioToJSONTyped = FileAttachmentUploadRespons
|
|
|
21
22
|
const AttachmentTypeUio_1 = require("./AttachmentTypeUio");
|
|
22
23
|
const FileAttachmentProcessedUio_1 = require("./FileAttachmentProcessedUio");
|
|
23
24
|
const FileAttachmentStatusUio_1 = require("./FileAttachmentStatusUio");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.FileAttachmentUploadResponseUioErrorCodeEnum = {
|
|
29
|
+
AttachmentTooLarge: 'ATTACHMENT_TOO_LARGE'
|
|
30
|
+
};
|
|
24
31
|
/**
|
|
25
32
|
* Check if a given object implements the FileAttachmentUploadResponseUio interface.
|
|
26
33
|
*/
|
|
@@ -64,6 +71,9 @@ function FileAttachmentUploadResponseUioFromJSONTyped(json, ignoreDiscriminator)
|
|
|
64
71
|
'key': json['key'],
|
|
65
72
|
'url': json['url'] == null ? undefined : json['url'],
|
|
66
73
|
'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioFromJSON)(json['status']),
|
|
74
|
+
'errorCode': json['errorCode'] == null ? undefined : json['errorCode'],
|
|
75
|
+
'estimatedTokens': json['estimatedTokens'] == null ? undefined : json['estimatedTokens'],
|
|
76
|
+
'maxTokens': json['maxTokens'] == null ? undefined : json['maxTokens'],
|
|
67
77
|
'processed': json['processed'] == null ? undefined : (0, FileAttachmentProcessedUio_1.FileAttachmentProcessedUioFromJSON)(json['processed']),
|
|
68
78
|
'postURL': json['postURL'],
|
|
69
79
|
'formData': json['formData'],
|
|
@@ -86,6 +96,9 @@ function FileAttachmentUploadResponseUioToJSONTyped(value, ignoreDiscriminator =
|
|
|
86
96
|
'key': value['key'],
|
|
87
97
|
'url': value['url'],
|
|
88
98
|
'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioToJSON)(value['status']),
|
|
99
|
+
'errorCode': value['errorCode'],
|
|
100
|
+
'estimatedTokens': value['estimatedTokens'],
|
|
101
|
+
'maxTokens': value['maxTokens'],
|
|
89
102
|
'processed': (0, FileAttachmentProcessedUio_1.FileAttachmentProcessedUioToJSON)(value['processed']),
|
|
90
103
|
'postURL': value['postURL'],
|
|
91
104
|
'formData': value['formData'],
|
|
@@ -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);
|