@breign/client 1.0.59 → 1.0.61
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/AppApi.d.ts +3 -3
- package/dist/apis/AppApi.js +3 -2
- package/dist/models/ChatMessageStreamUio.d.ts +44 -0
- package/dist/models/ChatMessageStreamUio.js +52 -0
- package/dist/models/ChatMessageUio.d.ts +7 -0
- package/dist/models/ChatMessageUio.js +3 -0
- package/dist/models/ChatMessageWithFlowNodeUio.d.ts +8 -1
- package/dist/models/ChatMessageWithFlowNodeUio.js +4 -3
- package/dist/models/FillersArrayInnerUio.d.ts +44 -0
- package/dist/models/FillersArrayInnerUio.js +58 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/openapi.json +47 -2
- package/package.json +1 -1
package/dist/apis/AppApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AppChatCreateRequestUio, AppChatCreateResponseUio, AppChatSayRequestUio, AppChatSayResponseUio, AppChatSubmitMessageRequestUio, AppConfigurationUio, AppConfigurationUpdateRequestUio, AppCreateRequestUio, AppFlowCreateRequestUio, AppInstanceCreateRequestUio, AppLightUio, AppProbeRequestUio, AppProbeResponseUio, AppStatusRequestUio, AppStatusResponseUio, AppSubmitMessageRequestUio, AppTextToSpeechRequestUio, AppTextToSpeechResponseUio, AppUio, AppUpdateRequestUio, AudioFileUio, AudioFillerExistsResponseUio, BodyWithIdUio, FileCreationRequestUio, FileCreationResponseUio, FlowUio, S3UploadBodyUio } from '../models/index';
|
|
13
|
+
import type { AppChatCreateRequestUio, AppChatCreateResponseUio, AppChatSayRequestUio, AppChatSayResponseUio, AppChatSubmitMessageRequestUio, AppConfigurationUio, AppConfigurationUpdateRequestUio, AppCreateRequestUio, AppFlowCreateRequestUio, AppInstanceCreateRequestUio, AppLightUio, AppProbeRequestUio, AppProbeResponseUio, AppStatusRequestUio, AppStatusResponseUio, AppSubmitMessageRequestUio, AppTextToSpeechRequestUio, AppTextToSpeechResponseUio, AppUio, AppUpdateRequestUio, AudioFileUio, AudioFillerExistsResponseUio, BodyWithIdUio, FileCreationRequestUio, FileCreationResponseUio, FillersArrayInnerUio, FlowUio, S3UploadBodyUio } from '../models/index';
|
|
14
14
|
export interface AddAppConfigurationFileRequest {
|
|
15
15
|
appId: string;
|
|
16
16
|
type: string;
|
|
@@ -214,12 +214,12 @@ export declare class AppApi extends runtime.BaseAPI {
|
|
|
214
214
|
* Delete a default filler
|
|
215
215
|
* Delete a default filler
|
|
216
216
|
*/
|
|
217
|
-
deleteDefaultFillerRaw(requestParameters: DeleteDefaultFillerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
217
|
+
deleteDefaultFillerRaw(requestParameters: DeleteDefaultFillerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<FillersArrayInnerUio>>>;
|
|
218
218
|
/**
|
|
219
219
|
* Delete a default filler
|
|
220
220
|
* Delete a default filler
|
|
221
221
|
*/
|
|
222
|
-
deleteDefaultFiller(appId: string, voiceId: string, language: string, fillerId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
222
|
+
deleteDefaultFiller(appId: string, voiceId: string, language: string, fillerId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<FillersArrayInnerUio>>;
|
|
223
223
|
/**
|
|
224
224
|
* Get an app
|
|
225
225
|
* Get an app
|
package/dist/apis/AppApi.js
CHANGED
|
@@ -354,14 +354,15 @@ class AppApi extends runtime.BaseAPI {
|
|
|
354
354
|
headers: headerParameters,
|
|
355
355
|
query: queryParameters,
|
|
356
356
|
}, initOverrides);
|
|
357
|
-
return new runtime.
|
|
357
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.FillersArrayInnerUioFromJSON));
|
|
358
358
|
}
|
|
359
359
|
/**
|
|
360
360
|
* Delete a default filler
|
|
361
361
|
* Delete a default filler
|
|
362
362
|
*/
|
|
363
363
|
async deleteDefaultFiller(appId, voiceId, language, fillerId, initOverrides) {
|
|
364
|
-
await this.deleteDefaultFillerRaw({ appId: appId, voiceId: voiceId, language: language, fillerId: fillerId }, initOverrides);
|
|
364
|
+
const response = await this.deleteDefaultFillerRaw({ appId: appId, voiceId: voiceId, language: language, fillerId: fillerId }, initOverrides);
|
|
365
|
+
return await response.value();
|
|
365
366
|
}
|
|
366
367
|
/**
|
|
367
368
|
* Get an app
|
|
@@ -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 ChatMessageStreamUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ChatMessageStreamUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ChatMessageStreamUio
|
|
22
|
+
*/
|
|
23
|
+
status?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ChatMessageStreamUio
|
|
28
|
+
*/
|
|
29
|
+
seq?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ChatMessageStreamUio
|
|
34
|
+
*/
|
|
35
|
+
updatedAt?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ChatMessageStreamUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfChatMessageStreamUio(value: object): value is ChatMessageStreamUio;
|
|
41
|
+
export declare function ChatMessageStreamUioFromJSON(json: any): ChatMessageStreamUio;
|
|
42
|
+
export declare function ChatMessageStreamUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChatMessageStreamUio;
|
|
43
|
+
export declare function ChatMessageStreamUioToJSON(json: any): ChatMessageStreamUio;
|
|
44
|
+
export declare function ChatMessageStreamUioToJSONTyped(value?: ChatMessageStreamUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfChatMessageStreamUio = instanceOfChatMessageStreamUio;
|
|
17
|
+
exports.ChatMessageStreamUioFromJSON = ChatMessageStreamUioFromJSON;
|
|
18
|
+
exports.ChatMessageStreamUioFromJSONTyped = ChatMessageStreamUioFromJSONTyped;
|
|
19
|
+
exports.ChatMessageStreamUioToJSON = ChatMessageStreamUioToJSON;
|
|
20
|
+
exports.ChatMessageStreamUioToJSONTyped = ChatMessageStreamUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ChatMessageStreamUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfChatMessageStreamUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ChatMessageStreamUioFromJSON(json) {
|
|
28
|
+
return ChatMessageStreamUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ChatMessageStreamUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
36
|
+
'seq': json['seq'] == null ? undefined : json['seq'],
|
|
37
|
+
'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ChatMessageStreamUioToJSON(json) {
|
|
41
|
+
return ChatMessageStreamUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ChatMessageStreamUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'status': value['status'],
|
|
49
|
+
'seq': value['seq'],
|
|
50
|
+
'updatedAt': value['updatedAt'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ToolActionUio } from './ToolActionUio';
|
|
13
13
|
import type { AgentFlowUio } from './AgentFlowUio';
|
|
14
|
+
import type { ChatMessageStreamUio } from './ChatMessageStreamUio';
|
|
14
15
|
import type { SuggestionUio } from './SuggestionUio';
|
|
15
16
|
import type { ChatMessageRoleUio } from './ChatMessageRoleUio';
|
|
16
17
|
import type { FileAttachmentUio } from './FileAttachmentUio';
|
|
@@ -118,6 +119,12 @@ export interface ChatMessageUio {
|
|
|
118
119
|
* @memberof ChatMessageUio
|
|
119
120
|
*/
|
|
120
121
|
audio?: Array<ChatMessageAudioInnerUio>;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {ChatMessageStreamUio}
|
|
125
|
+
* @memberof ChatMessageUio
|
|
126
|
+
*/
|
|
127
|
+
stream?: ChatMessageStreamUio | null;
|
|
121
128
|
}
|
|
122
129
|
/**
|
|
123
130
|
* Check if a given object implements the ChatMessageUio interface.
|
|
@@ -20,6 +20,7 @@ exports.ChatMessageUioToJSON = ChatMessageUioToJSON;
|
|
|
20
20
|
exports.ChatMessageUioToJSONTyped = ChatMessageUioToJSONTyped;
|
|
21
21
|
const ToolActionUio_1 = require("./ToolActionUio");
|
|
22
22
|
const AgentFlowUio_1 = require("./AgentFlowUio");
|
|
23
|
+
const ChatMessageStreamUio_1 = require("./ChatMessageStreamUio");
|
|
23
24
|
const SuggestionUio_1 = require("./SuggestionUio");
|
|
24
25
|
const ChatMessageRoleUio_1 = require("./ChatMessageRoleUio");
|
|
25
26
|
const FileAttachmentUio_1 = require("./FileAttachmentUio");
|
|
@@ -63,6 +64,7 @@ function ChatMessageUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
63
64
|
'actions': json['actions'] == null ? undefined : (json['actions'].map(ToolActionUio_1.ToolActionUioFromJSON)),
|
|
64
65
|
'attachments': json['attachments'] == null ? undefined : (json['attachments'].map(FileAttachmentUio_1.FileAttachmentUioFromJSON)),
|
|
65
66
|
'audio': json['audio'] == null ? undefined : (json['audio'].map(ChatMessageAudioInnerUio_1.ChatMessageAudioInnerUioFromJSON)),
|
|
67
|
+
'stream': json['stream'] == null ? undefined : (0, ChatMessageStreamUio_1.ChatMessageStreamUioFromJSON)(json['stream']),
|
|
66
68
|
};
|
|
67
69
|
}
|
|
68
70
|
function ChatMessageUioToJSON(json) {
|
|
@@ -89,5 +91,6 @@ function ChatMessageUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
89
91
|
'actions': value['actions'] == null ? undefined : (value['actions'].map(ToolActionUio_1.ToolActionUioToJSON)),
|
|
90
92
|
'attachments': value['attachments'] == null ? undefined : (value['attachments'].map(FileAttachmentUio_1.FileAttachmentUioToJSON)),
|
|
91
93
|
'audio': value['audio'] == null ? undefined : (value['audio'].map(ChatMessageAudioInnerUio_1.ChatMessageAudioInnerUioToJSON)),
|
|
94
|
+
'stream': (0, ChatMessageStreamUio_1.ChatMessageStreamUioToJSON)(value['stream']),
|
|
92
95
|
};
|
|
93
96
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ToolActionUio } from './ToolActionUio';
|
|
13
13
|
import type { AgentFlowUio } from './AgentFlowUio';
|
|
14
|
+
import type { ChatMessageStreamUio } from './ChatMessageStreamUio';
|
|
14
15
|
import type { SuggestionUio } from './SuggestionUio';
|
|
15
16
|
import type { ChatMessageRoleUio } from './ChatMessageRoleUio';
|
|
16
17
|
import type { FileAttachmentUio } from './FileAttachmentUio';
|
|
@@ -69,7 +70,7 @@ export interface ChatMessageWithFlowNodeUio {
|
|
|
69
70
|
* @type {AgentFlowUio}
|
|
70
71
|
* @memberof ChatMessageWithFlowNodeUio
|
|
71
72
|
*/
|
|
72
|
-
flowNode
|
|
73
|
+
flowNode?: AgentFlowUio;
|
|
73
74
|
/**
|
|
74
75
|
*
|
|
75
76
|
* @type {boolean}
|
|
@@ -118,6 +119,12 @@ export interface ChatMessageWithFlowNodeUio {
|
|
|
118
119
|
* @memberof ChatMessageWithFlowNodeUio
|
|
119
120
|
*/
|
|
120
121
|
audio?: Array<ChatMessageAudioInnerUio>;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {ChatMessageStreamUio}
|
|
125
|
+
* @memberof ChatMessageWithFlowNodeUio
|
|
126
|
+
*/
|
|
127
|
+
stream?: ChatMessageStreamUio | null;
|
|
121
128
|
}
|
|
122
129
|
/**
|
|
123
130
|
* Check if a given object implements the ChatMessageWithFlowNodeUio interface.
|
|
@@ -20,6 +20,7 @@ exports.ChatMessageWithFlowNodeUioToJSON = ChatMessageWithFlowNodeUioToJSON;
|
|
|
20
20
|
exports.ChatMessageWithFlowNodeUioToJSONTyped = ChatMessageWithFlowNodeUioToJSONTyped;
|
|
21
21
|
const ToolActionUio_1 = require("./ToolActionUio");
|
|
22
22
|
const AgentFlowUio_1 = require("./AgentFlowUio");
|
|
23
|
+
const ChatMessageStreamUio_1 = require("./ChatMessageStreamUio");
|
|
23
24
|
const SuggestionUio_1 = require("./SuggestionUio");
|
|
24
25
|
const ChatMessageRoleUio_1 = require("./ChatMessageRoleUio");
|
|
25
26
|
const FileAttachmentUio_1 = require("./FileAttachmentUio");
|
|
@@ -35,8 +36,6 @@ function instanceOfChatMessageWithFlowNodeUio(value) {
|
|
|
35
36
|
return false;
|
|
36
37
|
if (!('content' in value) || value['content'] === undefined)
|
|
37
38
|
return false;
|
|
38
|
-
if (!('flowNode' in value) || value['flowNode'] === undefined)
|
|
39
|
-
return false;
|
|
40
39
|
if (!('timestamp' in value) || value['timestamp'] === undefined)
|
|
41
40
|
return false;
|
|
42
41
|
return true;
|
|
@@ -56,7 +55,7 @@ function ChatMessageWithFlowNodeUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
55
|
'confirmationLink': json['confirmationLink'] == null ? undefined : json['confirmationLink'],
|
|
57
56
|
'toolResults': json['toolResults'] == null ? undefined : (json['toolResults'].map(ToolResultsUio_1.ToolResultsUioFromJSON)),
|
|
58
57
|
'suggestions': json['suggestions'] == null ? undefined : (json['suggestions'].map(SuggestionUio_1.SuggestionUioFromJSON)),
|
|
59
|
-
'flowNode': (0, AgentFlowUio_1.AgentFlowUioFromJSON)(json['flowNode']),
|
|
58
|
+
'flowNode': json['flowNode'] == null ? undefined : (0, AgentFlowUio_1.AgentFlowUioFromJSON)(json['flowNode']),
|
|
60
59
|
'flowNodeRequirementsChecked': json['flowNodeRequirementsChecked'] == null ? undefined : json['flowNodeRequirementsChecked'],
|
|
61
60
|
'flowNodeRequirementsMet': json['flowNodeRequirementsMet'] == null ? undefined : json['flowNodeRequirementsMet'],
|
|
62
61
|
'flowNodeRequirementsCheckReason': json['flowNodeRequirementsCheckReason'] == null ? undefined : json['flowNodeRequirementsCheckReason'],
|
|
@@ -65,6 +64,7 @@ function ChatMessageWithFlowNodeUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
65
64
|
'actions': json['actions'] == null ? undefined : (json['actions'].map(ToolActionUio_1.ToolActionUioFromJSON)),
|
|
66
65
|
'attachments': json['attachments'] == null ? undefined : (json['attachments'].map(FileAttachmentUio_1.FileAttachmentUioFromJSON)),
|
|
67
66
|
'audio': json['audio'] == null ? undefined : (json['audio'].map(ChatMessageAudioInnerUio_1.ChatMessageAudioInnerUioFromJSON)),
|
|
67
|
+
'stream': json['stream'] == null ? undefined : (0, ChatMessageStreamUio_1.ChatMessageStreamUioFromJSON)(json['stream']),
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
70
|
function ChatMessageWithFlowNodeUioToJSON(json) {
|
|
@@ -91,5 +91,6 @@ function ChatMessageWithFlowNodeUioToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
91
91
|
'actions': value['actions'] == null ? undefined : (value['actions'].map(ToolActionUio_1.ToolActionUioToJSON)),
|
|
92
92
|
'attachments': value['attachments'] == null ? undefined : (value['attachments'].map(FileAttachmentUio_1.FileAttachmentUioToJSON)),
|
|
93
93
|
'audio': value['audio'] == null ? undefined : (value['audio'].map(ChatMessageAudioInnerUio_1.ChatMessageAudioInnerUioToJSON)),
|
|
94
|
+
'stream': (0, ChatMessageStreamUio_1.ChatMessageStreamUioToJSON)(value['stream']),
|
|
94
95
|
};
|
|
95
96
|
}
|
|
@@ -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 FillersArrayInnerUio
|
|
16
|
+
*/
|
|
17
|
+
export interface FillersArrayInnerUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FillersArrayInnerUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FillersArrayInnerUio
|
|
28
|
+
*/
|
|
29
|
+
text: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof FillersArrayInnerUio
|
|
34
|
+
*/
|
|
35
|
+
checked: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the FillersArrayInnerUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfFillersArrayInnerUio(value: object): value is FillersArrayInnerUio;
|
|
41
|
+
export declare function FillersArrayInnerUioFromJSON(json: any): FillersArrayInnerUio;
|
|
42
|
+
export declare function FillersArrayInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FillersArrayInnerUio;
|
|
43
|
+
export declare function FillersArrayInnerUioToJSON(json: any): FillersArrayInnerUio;
|
|
44
|
+
export declare function FillersArrayInnerUioToJSONTyped(value?: FillersArrayInnerUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.instanceOfFillersArrayInnerUio = instanceOfFillersArrayInnerUio;
|
|
17
|
+
exports.FillersArrayInnerUioFromJSON = FillersArrayInnerUioFromJSON;
|
|
18
|
+
exports.FillersArrayInnerUioFromJSONTyped = FillersArrayInnerUioFromJSONTyped;
|
|
19
|
+
exports.FillersArrayInnerUioToJSON = FillersArrayInnerUioToJSON;
|
|
20
|
+
exports.FillersArrayInnerUioToJSONTyped = FillersArrayInnerUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the FillersArrayInnerUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfFillersArrayInnerUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('text' in value) || value['text'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('checked' in value) || value['checked'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function FillersArrayInnerUioFromJSON(json) {
|
|
34
|
+
return FillersArrayInnerUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function FillersArrayInnerUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'text': json['text'],
|
|
43
|
+
'checked': json['checked'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function FillersArrayInnerUioToJSON(json) {
|
|
47
|
+
return FillersArrayInnerUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function FillersArrayInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
'text': value['text'],
|
|
56
|
+
'checked': value['checked'],
|
|
57
|
+
};
|
|
58
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -70,6 +70,7 @@ export * from './ChatContextLocationUio';
|
|
|
70
70
|
export * from './ChatContextUio';
|
|
71
71
|
export * from './ChatMessageAudioInnerUio';
|
|
72
72
|
export * from './ChatMessageRoleUio';
|
|
73
|
+
export * from './ChatMessageStreamUio';
|
|
73
74
|
export * from './ChatMessageUio';
|
|
74
75
|
export * from './ChatMessageWithFlowNodeUio';
|
|
75
76
|
export * from './ChatUio';
|
|
@@ -112,6 +113,7 @@ export * from './FileStatusUio';
|
|
|
112
113
|
export * from './FileStatusUpdateRequestUio';
|
|
113
114
|
export * from './FileUio';
|
|
114
115
|
export * from './FileWithDownloadUrlUio';
|
|
116
|
+
export * from './FillersArrayInnerUio';
|
|
115
117
|
export * from './FlowContentsSuggestionUio';
|
|
116
118
|
export * from './FlowContentsUio';
|
|
117
119
|
export * from './FlowEntrypointsUio';
|
package/dist/models/index.js
CHANGED
|
@@ -88,6 +88,7 @@ __exportStar(require("./ChatContextLocationUio"), exports);
|
|
|
88
88
|
__exportStar(require("./ChatContextUio"), exports);
|
|
89
89
|
__exportStar(require("./ChatMessageAudioInnerUio"), exports);
|
|
90
90
|
__exportStar(require("./ChatMessageRoleUio"), exports);
|
|
91
|
+
__exportStar(require("./ChatMessageStreamUio"), exports);
|
|
91
92
|
__exportStar(require("./ChatMessageUio"), exports);
|
|
92
93
|
__exportStar(require("./ChatMessageWithFlowNodeUio"), exports);
|
|
93
94
|
__exportStar(require("./ChatUio"), exports);
|
|
@@ -130,6 +131,7 @@ __exportStar(require("./FileStatusUio"), exports);
|
|
|
130
131
|
__exportStar(require("./FileStatusUpdateRequestUio"), exports);
|
|
131
132
|
__exportStar(require("./FileUio"), exports);
|
|
132
133
|
__exportStar(require("./FileWithDownloadUrlUio"), exports);
|
|
134
|
+
__exportStar(require("./FillersArrayInnerUio"), exports);
|
|
133
135
|
__exportStar(require("./FlowContentsSuggestionUio"), exports);
|
|
134
136
|
__exportStar(require("./FlowContentsUio"), exports);
|
|
135
137
|
__exportStar(require("./FlowEntrypointsUio"), exports);
|
package/dist/openapi.json
CHANGED
|
@@ -6285,7 +6285,14 @@
|
|
|
6285
6285
|
}
|
|
6286
6286
|
} ],
|
|
6287
6287
|
"responses" : {
|
|
6288
|
-
"
|
|
6288
|
+
"200" : {
|
|
6289
|
+
"content" : {
|
|
6290
|
+
"application/json" : {
|
|
6291
|
+
"schema" : {
|
|
6292
|
+
"$ref" : "#/components/schemas/FillersArray"
|
|
6293
|
+
}
|
|
6294
|
+
}
|
|
6295
|
+
},
|
|
6289
6296
|
"description" : "Default filler deleted successfully"
|
|
6290
6297
|
},
|
|
6291
6298
|
"401" : {
|
|
@@ -7708,7 +7715,6 @@
|
|
|
7708
7715
|
"$ref" : "#/components/schemas/AgentFlow"
|
|
7709
7716
|
}
|
|
7710
7717
|
},
|
|
7711
|
-
"required" : [ "flowNode" ],
|
|
7712
7718
|
"type" : "object"
|
|
7713
7719
|
} ]
|
|
7714
7720
|
},
|
|
@@ -7777,6 +7783,9 @@
|
|
|
7777
7783
|
"$ref" : "#/components/schemas/ChatMessage_audio_inner"
|
|
7778
7784
|
},
|
|
7779
7785
|
"type" : "array"
|
|
7786
|
+
},
|
|
7787
|
+
"stream" : {
|
|
7788
|
+
"$ref" : "#/components/schemas/ChatMessage_stream"
|
|
7780
7789
|
}
|
|
7781
7790
|
},
|
|
7782
7791
|
"required" : [ "content", "id", "role", "timestamp" ],
|
|
@@ -9741,6 +9750,12 @@
|
|
|
9741
9750
|
"required" : [ "message" ],
|
|
9742
9751
|
"type" : "object"
|
|
9743
9752
|
},
|
|
9753
|
+
"FillersArray" : {
|
|
9754
|
+
"items" : {
|
|
9755
|
+
"$ref" : "#/components/schemas/FillersArray_inner"
|
|
9756
|
+
},
|
|
9757
|
+
"type" : "array"
|
|
9758
|
+
},
|
|
9744
9759
|
"KnowledgeBasePrivacy" : {
|
|
9745
9760
|
"enum" : [ "private", "public" ],
|
|
9746
9761
|
"type" : "string"
|
|
@@ -10157,6 +10172,21 @@
|
|
|
10157
10172
|
"required" : [ "audioFileId", "sequence" ],
|
|
10158
10173
|
"type" : "object"
|
|
10159
10174
|
},
|
|
10175
|
+
"ChatMessage_stream" : {
|
|
10176
|
+
"nullable" : true,
|
|
10177
|
+
"properties" : {
|
|
10178
|
+
"status" : {
|
|
10179
|
+
"type" : "string"
|
|
10180
|
+
},
|
|
10181
|
+
"seq" : {
|
|
10182
|
+
"type" : "number"
|
|
10183
|
+
},
|
|
10184
|
+
"updatedAt" : {
|
|
10185
|
+
"type" : "string"
|
|
10186
|
+
}
|
|
10187
|
+
},
|
|
10188
|
+
"type" : "object"
|
|
10189
|
+
},
|
|
10160
10190
|
"ToolResults_tool" : {
|
|
10161
10191
|
"properties" : {
|
|
10162
10192
|
"tool" : {
|
|
@@ -10456,6 +10486,21 @@
|
|
|
10456
10486
|
},
|
|
10457
10487
|
"type" : "object"
|
|
10458
10488
|
},
|
|
10489
|
+
"FillersArray_inner" : {
|
|
10490
|
+
"properties" : {
|
|
10491
|
+
"id" : {
|
|
10492
|
+
"type" : "string"
|
|
10493
|
+
},
|
|
10494
|
+
"text" : {
|
|
10495
|
+
"type" : "string"
|
|
10496
|
+
},
|
|
10497
|
+
"checked" : {
|
|
10498
|
+
"type" : "boolean"
|
|
10499
|
+
}
|
|
10500
|
+
},
|
|
10501
|
+
"required" : [ "checked", "id", "text" ],
|
|
10502
|
+
"type" : "object"
|
|
10503
|
+
},
|
|
10459
10504
|
"Engine_options" : {
|
|
10460
10505
|
"additionalProperties" : false,
|
|
10461
10506
|
"properties" : {
|