@breign/client 1.0.126 → 1.0.128
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/AiGatewayApi.d.ts +100 -0
- package/dist/apis/AiGatewayApi.js +248 -0
- package/dist/apis/AppApi.d.ts +17 -3
- package/dist/apis/AppApi.js +36 -2
- package/dist/apis/AuthApi.d.ts +40 -1
- package/dist/apis/AuthApi.js +82 -0
- package/dist/apis/ConfigurationApi.d.ts +16 -3
- package/dist/apis/ConfigurationApi.js +33 -2
- package/dist/apis/ConversationsApi.d.ts +73 -3
- package/dist/apis/ConversationsApi.js +174 -2
- package/dist/apis/EngineApi.d.ts +17 -16
- package/dist/apis/EngineApi.js +33 -30
- package/dist/apis/EnginesApi.d.ts +3 -3
- package/dist/apis/EnginesApi.js +4 -4
- package/dist/apis/OrganizationsApi.d.ts +10 -111
- package/dist/apis/OrganizationsApi.js +12 -264
- package/dist/apis/PromptsApi.d.ts +3 -3
- package/dist/apis/PromptsApi.js +1 -1
- package/dist/apis/ToolsApi.d.ts +1 -2
- package/dist/apis/ToolsApi.js +3 -6
- package/dist/apis/UsersApi.d.ts +127 -0
- package/dist/apis/UsersApi.js +308 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AgentPatchUio.d.ts +7 -0
- package/dist/models/AgentPatchUio.js +3 -0
- package/dist/models/AgentSandboxConfigurationUio.d.ts +58 -0
- package/dist/models/AgentSandboxConfigurationUio.js +62 -0
- package/dist/models/AgentSandboxNetworkConfigurationUio.d.ts +57 -0
- package/dist/models/AgentSandboxNetworkConfigurationUio.js +65 -0
- package/dist/models/AgentUio.d.ts +7 -0
- package/dist/models/AgentUio.js +3 -0
- package/dist/models/AiGatewayChatCompletionRequestUio.d.ts +57 -0
- package/dist/models/AiGatewayChatCompletionRequestUio.js +61 -0
- package/dist/models/AiGatewayChatCompletionResponseUio.d.ts +47 -0
- package/dist/models/AiGatewayChatCompletionResponseUio.js +54 -0
- package/dist/models/AiGatewayEmbeddingRequestUio.d.ts +38 -0
- package/dist/models/AiGatewayEmbeddingRequestUio.js +54 -0
- package/dist/models/AiGatewayEmbeddingResponseUio.d.ts +47 -0
- package/dist/models/AiGatewayEmbeddingResponseUio.js +54 -0
- package/dist/models/AiGatewayErrorUio.d.ts +33 -0
- package/dist/models/AiGatewayErrorUio.js +51 -0
- package/dist/models/AiGatewayMessageUio.d.ts +47 -0
- package/dist/models/AiGatewayMessageUio.js +63 -0
- package/dist/models/AiGatewayModelListDataInnerUio.d.ts +57 -0
- package/dist/models/AiGatewayModelListDataInnerUio.js +69 -0
- package/dist/models/AiGatewayModelListUio.d.ts +46 -0
- package/dist/models/AiGatewayModelListUio.js +62 -0
- package/dist/models/AiGatewayModelUio.d.ts +57 -0
- package/dist/models/AiGatewayModelUio.js +69 -0
- package/dist/models/ApiKeyCreateRequestUio.d.ts +32 -0
- package/dist/models/ApiKeyCreateRequestUio.js +50 -0
- package/dist/models/ApiKeyCreatedUio.d.ts +44 -0
- package/dist/models/{ApiKeyUio.js → ApiKeyCreatedUio.js} +13 -13
- package/dist/models/ApiKeyRefUio.d.ts +38 -0
- package/dist/models/ApiKeyRefUio.js +54 -0
- package/dist/models/AppInstanceEphemeralCreateRequestUio.d.ts +1 -1
- package/dist/models/AppInstanceEphemeralCreateRequestUio.js +3 -1
- package/dist/models/AppReplaceRequestUio.d.ts +94 -0
- package/dist/models/AppReplaceRequestUio.js +82 -0
- package/dist/models/AppTextToSpeechResponseUio.d.ts +3 -3
- package/dist/models/AppTextToSpeechResponseUio.js +3 -3
- package/dist/models/AppUpdateRequestEphemeralInstancesUio.d.ts +38 -0
- package/dist/models/AppUpdateRequestEphemeralInstancesUio.js +50 -0
- package/dist/models/AppUpdateRequestUio.d.ts +12 -12
- package/dist/models/AppUpdateRequestUio.js +3 -3
- package/dist/models/AttachmentProcessedRequestUio.d.ts +50 -0
- package/dist/models/AttachmentProcessedRequestUio.js +62 -0
- package/dist/models/AuthCodeConfirmRequestUio.d.ts +1 -1
- package/dist/models/AuthCodeConfirmRequestUio.js +3 -1
- package/dist/models/AuthCodeConfirmResponseUio.d.ts +15 -3
- package/dist/models/AuthCodeConfirmResponseUio.js +6 -3
- package/dist/models/ChatMessageUio.d.ts +6 -0
- package/dist/models/ChatMessageUio.js +2 -0
- package/dist/models/ConfigurationDefaultFillerPhrasesUio.d.ts +7 -6
- package/dist/models/ConfigurationDefaultFillerPhrasesUio.js +7 -8
- package/dist/models/ConfigurationDefaultFillerPhrasesUpdateRequestUio.d.ts +39 -0
- package/dist/models/ConfigurationDefaultFillerPhrasesUpdateRequestUio.js +55 -0
- package/dist/models/ContextLocationRequestUio.d.ts +38 -0
- package/dist/models/ContextLocationRequestUio.js +54 -0
- package/dist/models/ConversationDetailUio.d.ts +101 -0
- package/dist/models/ConversationDetailUio.js +75 -0
- package/dist/models/ConversationMessagesInnerUio.d.ts +6 -0
- package/dist/models/ConversationMessagesInnerUio.js +2 -0
- package/dist/models/DeleteOrganizationUser200ResponseUio.d.ts +32 -0
- package/dist/models/DeleteOrganizationUser200ResponseUio.js +50 -0
- package/dist/models/DeleteProvider200ResponseKnowledgeBasesAffectedInnerUio.d.ts +50 -0
- package/dist/models/DeleteProvider200ResponseKnowledgeBasesAffectedInnerUio.js +54 -0
- package/dist/models/DeleteProvider200ResponseUio.d.ts +45 -0
- package/dist/models/DeleteProvider200ResponseUio.js +55 -0
- package/dist/models/EmbeddingProviderModelsInnerUio.d.ts +44 -0
- package/dist/models/EmbeddingProviderModelsInnerUio.js +58 -0
- package/dist/models/EmbeddingProviderUio.d.ts +57 -0
- package/dist/models/EmbeddingProviderUio.js +65 -0
- package/dist/models/FillerPhraseUio.d.ts +38 -0
- package/dist/models/FillerPhraseUio.js +54 -0
- package/dist/models/GetJwks200ResponseUio.d.ts +34 -0
- package/dist/models/GetJwks200ResponseUio.js +50 -0
- package/dist/models/MarkAttachmentProcessed400ResponseUio.d.ts +40 -0
- package/dist/models/MarkAttachmentProcessed400ResponseUio.js +52 -0
- package/dist/models/MessageUio.d.ts +7 -1
- package/dist/models/MessageUio.js +2 -0
- package/dist/models/OpenAiChatCompletionRequestStreamOptionsUio.d.ts +32 -0
- package/dist/models/OpenAiChatCompletionRequestStreamOptionsUio.js +48 -0
- package/dist/models/OpenAiChatCompletionRequestUio.d.ts +64 -0
- package/dist/models/OpenAiChatCompletionRequestUio.js +64 -0
- package/dist/models/OpenAiChatCompletionResponseUio.d.ts +67 -0
- package/dist/models/OpenAiChatCompletionResponseUio.js +60 -0
- package/dist/models/OrganizationMemberUio.d.ts +3 -3
- package/dist/models/OrganizationMemberUio.js +3 -3
- package/dist/models/OrganizationMemberUserUio.d.ts +32 -0
- package/dist/models/OrganizationMemberUserUio.js +50 -0
- package/dist/models/PinRequestUio.d.ts +3 -3
- package/dist/models/PinRequestUio.js +3 -3
- package/dist/models/ProviderValiationRequestUio.d.ts +1 -1
- package/dist/models/ProviderValiationRequestUio.js +1 -3
- package/dist/models/SetContextLocation400ResponseUio.d.ts +40 -0
- package/dist/models/SetContextLocation400ResponseUio.js +52 -0
- package/dist/models/TTSRequestUio.d.ts +1 -1
- package/dist/models/TTSRequestUio.js +1 -3
- package/dist/models/UserCreateRequestUio.d.ts +45 -0
- package/dist/models/UserCreateRequestUio.js +57 -0
- package/dist/models/UserDetailUio.d.ts +88 -0
- package/dist/models/UserDetailUio.js +80 -0
- package/dist/models/UserIdentifierRequestUio.d.ts +32 -0
- package/dist/models/UserIdentifierRequestUio.js +50 -0
- package/dist/models/UserIdentifierUio.d.ts +38 -0
- package/dist/models/UserIdentifierUio.js +52 -0
- package/dist/models/UserLockRequestUio.d.ts +32 -0
- package/dist/models/UserLockRequestUio.js +50 -0
- package/dist/models/UserUpdateRequestUio.d.ts +63 -0
- package/dist/models/UserUpdateRequestUio.js +59 -0
- package/dist/models/WorkspaceFileContentUio.d.ts +62 -0
- package/dist/models/WorkspaceFileContentUio.js +70 -0
- package/dist/models/WorkspaceFileEntryUio.d.ts +56 -0
- package/dist/models/WorkspaceFileEntryUio.js +66 -0
- package/dist/models/index.d.ts +41 -14
- package/dist/models/index.js +41 -14
- package/dist/openapi.json +3890 -2297
- package/package.json +1 -1
- package/dist/models/AccessRoleCreateRequestUio.d.ts +0 -45
- package/dist/models/AccessRoleCreateRequestUio.js +0 -55
- package/dist/models/AccessRolePermissionsRequestUio.d.ts +0 -33
- package/dist/models/AccessRolePermissionsRequestUio.js +0 -51
- package/dist/models/AccessRoleUio.d.ts +0 -75
- package/dist/models/AccessRoleUio.js +0 -75
- package/dist/models/AccessRoleUpdateRequestUio.d.ts +0 -38
- package/dist/models/AccessRoleUpdateRequestUio.js +0 -52
- package/dist/models/ApiKeyUio.d.ts +0 -44
- package/dist/models/AudioFile1Uio.d.ts +0 -45
- package/dist/models/AudioFile1Uio.js +0 -59
- package/dist/models/Conversation1Uio.d.ts +0 -46
- package/dist/models/Conversation1Uio.js +0 -60
- package/dist/models/OrganizationPermissionKeyUio.d.ts +0 -59
- package/dist/models/OrganizationPermissionKeyUio.js +0 -85
- package/dist/models/PermissionEntryUio.d.ts +0 -39
- package/dist/models/PermissionEntryUio.js +0 -55
- package/dist/models/ProviderSimpleUio.d.ts +0 -57
- package/dist/models/ProviderSimpleUio.js +0 -65
- package/dist/models/UserAccessRolesRequestUio.d.ts +0 -32
- package/dist/models/UserAccessRolesRequestUio.js +0 -50
- package/dist/models/UserAccessUio.d.ts +0 -39
- package/dist/models/UserAccessUio.js +0 -55
- package/dist/models/UserDirectPermissionsRequestUio.d.ts +0 -33
- package/dist/models/UserDirectPermissionsRequestUio.js +0 -51
- package/dist/models/UserUio.d.ts +0 -87
- package/dist/models/UserUio.js +0 -67
|
@@ -0,0 +1,63 @@
|
|
|
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 { UserIdentifierRequestUio } from './UserIdentifierRequestUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UserUpdateRequestUio
|
|
17
|
+
*/
|
|
18
|
+
export interface UserUpdateRequestUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {UserIdentifierRequestUio}
|
|
22
|
+
* @memberof UserUpdateRequestUio
|
|
23
|
+
*/
|
|
24
|
+
user?: UserIdentifierRequestUio;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof UserUpdateRequestUio
|
|
29
|
+
*/
|
|
30
|
+
isAdmin?: boolean | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof UserUpdateRequestUio
|
|
35
|
+
*/
|
|
36
|
+
canCreateAgents?: boolean | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof UserUpdateRequestUio
|
|
41
|
+
*/
|
|
42
|
+
maxAgents?: number | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<string>}
|
|
46
|
+
* @memberof UserUpdateRequestUio
|
|
47
|
+
*/
|
|
48
|
+
agents?: Array<string> | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof UserUpdateRequestUio
|
|
53
|
+
*/
|
|
54
|
+
allAgents?: boolean | null;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the UserUpdateRequestUio interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfUserUpdateRequestUio(value: object): value is UserUpdateRequestUio;
|
|
60
|
+
export declare function UserUpdateRequestUioFromJSON(json: any): UserUpdateRequestUio;
|
|
61
|
+
export declare function UserUpdateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserUpdateRequestUio;
|
|
62
|
+
export declare function UserUpdateRequestUioToJSON(json: any): UserUpdateRequestUio;
|
|
63
|
+
export declare function UserUpdateRequestUioToJSONTyped(value?: UserUpdateRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfUserUpdateRequestUio = instanceOfUserUpdateRequestUio;
|
|
17
|
+
exports.UserUpdateRequestUioFromJSON = UserUpdateRequestUioFromJSON;
|
|
18
|
+
exports.UserUpdateRequestUioFromJSONTyped = UserUpdateRequestUioFromJSONTyped;
|
|
19
|
+
exports.UserUpdateRequestUioToJSON = UserUpdateRequestUioToJSON;
|
|
20
|
+
exports.UserUpdateRequestUioToJSONTyped = UserUpdateRequestUioToJSONTyped;
|
|
21
|
+
const UserIdentifierRequestUio_1 = require("./UserIdentifierRequestUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UserUpdateRequestUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUserUpdateRequestUio(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function UserUpdateRequestUioFromJSON(json) {
|
|
29
|
+
return UserUpdateRequestUioFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function UserUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'user': json['user'] == null ? undefined : (0, UserIdentifierRequestUio_1.UserIdentifierRequestUioFromJSON)(json['user']),
|
|
37
|
+
'isAdmin': json['isAdmin'] == null ? undefined : json['isAdmin'],
|
|
38
|
+
'canCreateAgents': json['canCreateAgents'] == null ? undefined : json['canCreateAgents'],
|
|
39
|
+
'maxAgents': json['maxAgents'] == null ? undefined : json['maxAgents'],
|
|
40
|
+
'agents': json['agents'] == null ? undefined : json['agents'],
|
|
41
|
+
'allAgents': json['allAgents'] == null ? undefined : json['allAgents'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function UserUpdateRequestUioToJSON(json) {
|
|
45
|
+
return UserUpdateRequestUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function UserUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'user': (0, UserIdentifierRequestUio_1.UserIdentifierRequestUioToJSON)(value['user']),
|
|
53
|
+
'isAdmin': value['isAdmin'],
|
|
54
|
+
'canCreateAgents': value['canCreateAgents'],
|
|
55
|
+
'maxAgents': value['maxAgents'],
|
|
56
|
+
'agents': value['agents'],
|
|
57
|
+
'allAgents': value['allAgents'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
* The current state of a workspace file. There is no versioning: consulting an older message still returns the file as it is now.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WorkspaceFileContentUio
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkspaceFileContentUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WorkspaceFileContentUio
|
|
22
|
+
*/
|
|
23
|
+
path: string;
|
|
24
|
+
/**
|
|
25
|
+
* UTF-8 text. Binary is never stored in a workspace.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WorkspaceFileContentUio
|
|
28
|
+
*/
|
|
29
|
+
content: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof WorkspaceFileContentUio
|
|
34
|
+
*/
|
|
35
|
+
mimeType: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof WorkspaceFileContentUio
|
|
40
|
+
*/
|
|
41
|
+
size: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof WorkspaceFileContentUio
|
|
46
|
+
*/
|
|
47
|
+
version: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof WorkspaceFileContentUio
|
|
52
|
+
*/
|
|
53
|
+
updatedAt: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the WorkspaceFileContentUio interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfWorkspaceFileContentUio(value: object): value is WorkspaceFileContentUio;
|
|
59
|
+
export declare function WorkspaceFileContentUioFromJSON(json: any): WorkspaceFileContentUio;
|
|
60
|
+
export declare function WorkspaceFileContentUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkspaceFileContentUio;
|
|
61
|
+
export declare function WorkspaceFileContentUioToJSON(json: any): WorkspaceFileContentUio;
|
|
62
|
+
export declare function WorkspaceFileContentUioToJSONTyped(value?: WorkspaceFileContentUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,70 @@
|
|
|
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.instanceOfWorkspaceFileContentUio = instanceOfWorkspaceFileContentUio;
|
|
17
|
+
exports.WorkspaceFileContentUioFromJSON = WorkspaceFileContentUioFromJSON;
|
|
18
|
+
exports.WorkspaceFileContentUioFromJSONTyped = WorkspaceFileContentUioFromJSONTyped;
|
|
19
|
+
exports.WorkspaceFileContentUioToJSON = WorkspaceFileContentUioToJSON;
|
|
20
|
+
exports.WorkspaceFileContentUioToJSONTyped = WorkspaceFileContentUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the WorkspaceFileContentUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfWorkspaceFileContentUio(value) {
|
|
25
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('size' in value) || value['size'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function WorkspaceFileContentUioFromJSON(json) {
|
|
40
|
+
return WorkspaceFileContentUioFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function WorkspaceFileContentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'path': json['path'],
|
|
48
|
+
'content': json['content'],
|
|
49
|
+
'mimeType': json['mimeType'],
|
|
50
|
+
'size': json['size'],
|
|
51
|
+
'version': json['version'],
|
|
52
|
+
'updatedAt': json['updatedAt'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function WorkspaceFileContentUioToJSON(json) {
|
|
56
|
+
return WorkspaceFileContentUioToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function WorkspaceFileContentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'path': value['path'],
|
|
64
|
+
'content': value['content'],
|
|
65
|
+
'mimeType': value['mimeType'],
|
|
66
|
+
'size': value['size'],
|
|
67
|
+
'version': value['version'],
|
|
68
|
+
'updatedAt': value['updatedAt'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
* One file of a persisted agent workspace. Listing entry only — it never carries the content.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WorkspaceFileEntryUio
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkspaceFileEntryUio {
|
|
18
|
+
/**
|
|
19
|
+
* Absolute path inside the sandbox, always under /home/user.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WorkspaceFileEntryUio
|
|
22
|
+
*/
|
|
23
|
+
path: string;
|
|
24
|
+
/**
|
|
25
|
+
* UTF-8 byte length of the content.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof WorkspaceFileEntryUio
|
|
28
|
+
*/
|
|
29
|
+
size: number;
|
|
30
|
+
/**
|
|
31
|
+
* Derived from the extension. Always a text type.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof WorkspaceFileEntryUio
|
|
34
|
+
*/
|
|
35
|
+
mimeType: string;
|
|
36
|
+
/**
|
|
37
|
+
* Incremented on every write. Doubles as an ETag: a client already holding this version does not need to fetch the content again.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof WorkspaceFileEntryUio
|
|
40
|
+
*/
|
|
41
|
+
version: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof WorkspaceFileEntryUio
|
|
46
|
+
*/
|
|
47
|
+
updatedAt: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the WorkspaceFileEntryUio interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfWorkspaceFileEntryUio(value: object): value is WorkspaceFileEntryUio;
|
|
53
|
+
export declare function WorkspaceFileEntryUioFromJSON(json: any): WorkspaceFileEntryUio;
|
|
54
|
+
export declare function WorkspaceFileEntryUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkspaceFileEntryUio;
|
|
55
|
+
export declare function WorkspaceFileEntryUioToJSON(json: any): WorkspaceFileEntryUio;
|
|
56
|
+
export declare function WorkspaceFileEntryUioToJSONTyped(value?: WorkspaceFileEntryUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
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.instanceOfWorkspaceFileEntryUio = instanceOfWorkspaceFileEntryUio;
|
|
17
|
+
exports.WorkspaceFileEntryUioFromJSON = WorkspaceFileEntryUioFromJSON;
|
|
18
|
+
exports.WorkspaceFileEntryUioFromJSONTyped = WorkspaceFileEntryUioFromJSONTyped;
|
|
19
|
+
exports.WorkspaceFileEntryUioToJSON = WorkspaceFileEntryUioToJSON;
|
|
20
|
+
exports.WorkspaceFileEntryUioToJSONTyped = WorkspaceFileEntryUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the WorkspaceFileEntryUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfWorkspaceFileEntryUio(value) {
|
|
25
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('size' in value) || value['size'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function WorkspaceFileEntryUioFromJSON(json) {
|
|
38
|
+
return WorkspaceFileEntryUioFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function WorkspaceFileEntryUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'path': json['path'],
|
|
46
|
+
'size': json['size'],
|
|
47
|
+
'mimeType': json['mimeType'],
|
|
48
|
+
'version': json['version'],
|
|
49
|
+
'updatedAt': json['updatedAt'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function WorkspaceFileEntryUioToJSON(json) {
|
|
53
|
+
return WorkspaceFileEntryUioToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function WorkspaceFileEntryUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'path': value['path'],
|
|
61
|
+
'size': value['size'],
|
|
62
|
+
'mimeType': value['mimeType'],
|
|
63
|
+
'version': value['version'],
|
|
64
|
+
'updatedAt': value['updatedAt'],
|
|
65
|
+
};
|
|
66
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
export * from './AccessRoleCreateRequestUio';
|
|
2
|
-
export * from './AccessRolePermissionsRequestUio';
|
|
3
|
-
export * from './AccessRoleUio';
|
|
4
|
-
export * from './AccessRoleUpdateRequestUio';
|
|
5
1
|
export * from './AddCustomFiller201ResponseFillerUio';
|
|
6
2
|
export * from './AddCustomFiller201ResponseUio';
|
|
7
3
|
export * from './AddCustomFillerRequestUio';
|
|
@@ -43,6 +39,8 @@ export * from './AgentPatchUio';
|
|
|
43
39
|
export * from './AgentRefUio';
|
|
44
40
|
export * from './AgentRequestUio';
|
|
45
41
|
export * from './AgentRoleDetailsUio';
|
|
42
|
+
export * from './AgentSandboxConfigurationUio';
|
|
43
|
+
export * from './AgentSandboxNetworkConfigurationUio';
|
|
46
44
|
export * from './AgentSubscriptionTextInteractionsUio';
|
|
47
45
|
export * from './AgentSubscriptionUio';
|
|
48
46
|
export * from './AgentTokenBreakdownUio';
|
|
@@ -54,9 +52,20 @@ export * from './AgentTypeUio';
|
|
|
54
52
|
export * from './AgentUio';
|
|
55
53
|
export * from './AgentUsageMetricsIdUio';
|
|
56
54
|
export * from './AgentUsageMetricsUio';
|
|
55
|
+
export * from './AiGatewayChatCompletionRequestUio';
|
|
56
|
+
export * from './AiGatewayChatCompletionResponseUio';
|
|
57
|
+
export * from './AiGatewayEmbeddingRequestUio';
|
|
58
|
+
export * from './AiGatewayEmbeddingResponseUio';
|
|
59
|
+
export * from './AiGatewayErrorUio';
|
|
60
|
+
export * from './AiGatewayMessageUio';
|
|
61
|
+
export * from './AiGatewayModelListDataInnerUio';
|
|
62
|
+
export * from './AiGatewayModelListUio';
|
|
63
|
+
export * from './AiGatewayModelUio';
|
|
57
64
|
export * from './AnimationCreateRequestUio';
|
|
58
65
|
export * from './AnimationUio';
|
|
59
|
-
export * from './
|
|
66
|
+
export * from './ApiKeyCreateRequestUio';
|
|
67
|
+
export * from './ApiKeyCreatedUio';
|
|
68
|
+
export * from './ApiKeyRefUio';
|
|
60
69
|
export * from './AppChatCreateRequestUio';
|
|
61
70
|
export * from './AppChatCreateResponseUio';
|
|
62
71
|
export * from './AppChatSayRequestUio';
|
|
@@ -80,6 +89,7 @@ export * from './AppInstancesInnerUio';
|
|
|
80
89
|
export * from './AppLightUio';
|
|
81
90
|
export * from './AppProbeRequestUio';
|
|
82
91
|
export * from './AppProbeResponseUio';
|
|
92
|
+
export * from './AppReplaceRequestUio';
|
|
83
93
|
export * from './AppStatusRequestUio';
|
|
84
94
|
export * from './AppStatusResponseUio';
|
|
85
95
|
export * from './AppStatusUio';
|
|
@@ -87,12 +97,13 @@ export * from './AppSubmitMessageRequestUio';
|
|
|
87
97
|
export * from './AppTextToSpeechRequestUio';
|
|
88
98
|
export * from './AppTextToSpeechResponseUio';
|
|
89
99
|
export * from './AppUio';
|
|
100
|
+
export * from './AppUpdateRequestEphemeralInstancesUio';
|
|
90
101
|
export * from './AppUpdateRequestUio';
|
|
91
102
|
export * from './AttachmentCreateRequestUio';
|
|
92
103
|
export * from './AttachmentCreateResponseUio';
|
|
93
104
|
export * from './AttachmentDetailsResponseUio';
|
|
105
|
+
export * from './AttachmentProcessedRequestUio';
|
|
94
106
|
export * from './AttachmentTypeUio';
|
|
95
|
-
export * from './AudioFile1Uio';
|
|
96
107
|
export * from './AudioFileOrBufferUio';
|
|
97
108
|
export * from './AudioFileTypeUio';
|
|
98
109
|
export * from './AudioFileUio';
|
|
@@ -119,13 +130,15 @@ export * from './ChunkCreateRequestUio';
|
|
|
119
130
|
export * from './ChunkCreateResponseUio';
|
|
120
131
|
export * from './ChunkUio';
|
|
121
132
|
export * from './ConfigurationDefaultFillerPhrasesUio';
|
|
133
|
+
export * from './ConfigurationDefaultFillerPhrasesUpdateRequestUio';
|
|
122
134
|
export * from './ConnectOAuth2Tool200ResponseUio';
|
|
123
135
|
export * from './ContentsToolsUio';
|
|
136
|
+
export * from './ContextLocationRequestUio';
|
|
124
137
|
export * from './ContextUio';
|
|
125
138
|
export * from './ContextualKnowledgeConversationEmbeddingUio';
|
|
126
139
|
export * from './ContextualKnowledgeConversationUio';
|
|
127
|
-
export * from './Conversation1Uio';
|
|
128
140
|
export * from './ConversationAttachmentDownloadUrlUio';
|
|
141
|
+
export * from './ConversationDetailUio';
|
|
129
142
|
export * from './ConversationMessagesInnerFlowNodeEntrypointsUio';
|
|
130
143
|
export * from './ConversationMessagesInnerFlowNodeUio';
|
|
131
144
|
export * from './ConversationMessagesInnerSuggestionsInnerUio';
|
|
@@ -148,6 +161,11 @@ export * from './DefaultClientPricesUio';
|
|
|
148
161
|
export * from './DefaultEngineRequestUio';
|
|
149
162
|
export * from './DeleteKnowledgeSitePage200ResponseUio';
|
|
150
163
|
export * from './DeleteMessageAudio200ResponseUio';
|
|
164
|
+
export * from './DeleteOrganizationUser200ResponseUio';
|
|
165
|
+
export * from './DeleteProvider200ResponseKnowledgeBasesAffectedInnerUio';
|
|
166
|
+
export * from './DeleteProvider200ResponseUio';
|
|
167
|
+
export * from './EmbeddingProviderModelsInnerUio';
|
|
168
|
+
export * from './EmbeddingProviderUio';
|
|
151
169
|
export * from './EngineOptionsUio';
|
|
152
170
|
export * from './EngineUio';
|
|
153
171
|
export * from './EphemeralInstanceUio';
|
|
@@ -166,6 +184,7 @@ export * from './FileCreationResponseUio';
|
|
|
166
184
|
export * from './FileStatusUio';
|
|
167
185
|
export * from './FileUio';
|
|
168
186
|
export * from './FileWithDownloadUrlUio';
|
|
187
|
+
export * from './FillerPhraseUio';
|
|
169
188
|
export * from './FillersArrayInnerUio';
|
|
170
189
|
export * from './FlowContentsInstructionItemsUio';
|
|
171
190
|
export * from './FlowContentsInstructionsUio';
|
|
@@ -180,6 +199,7 @@ export * from './FlowEditorUpdateRequestUio';
|
|
|
180
199
|
export * from './FlowEntrypointsUio';
|
|
181
200
|
export * from './FlowOptionsUio';
|
|
182
201
|
export * from './FlowUio';
|
|
202
|
+
export * from './GetJwks200ResponseUio';
|
|
183
203
|
export * from './GetUploadLimits200ResponseUio';
|
|
184
204
|
export * from './GuardianCreateRequestUio';
|
|
185
205
|
export * from './GuardianEngineUio';
|
|
@@ -226,6 +246,7 @@ export * from './LibrarySkillsPageUio';
|
|
|
226
246
|
export * from './LipsyncUio';
|
|
227
247
|
export * from './ManifestCreateRequestUio';
|
|
228
248
|
export * from './ManifestUio';
|
|
249
|
+
export * from './MarkAttachmentProcessed400ResponseUio';
|
|
229
250
|
export * from './MessageAudioDownloadUrlUio';
|
|
230
251
|
export * from './MessageStatusErrorUio';
|
|
231
252
|
export * from './MessageStatusToolCallUio';
|
|
@@ -248,19 +269,21 @@ export * from './MetricsUsersResponseUio';
|
|
|
248
269
|
export * from './ModelAgentUio';
|
|
249
270
|
export * from './ModelDefinitionUio';
|
|
250
271
|
export * from './ModelUio';
|
|
272
|
+
export * from './OpenAiChatCompletionRequestStreamOptionsUio';
|
|
273
|
+
export * from './OpenAiChatCompletionRequestUio';
|
|
274
|
+
export * from './OpenAiChatCompletionResponseUio';
|
|
251
275
|
export * from './OrgUsageMetricsResponseTotalUio';
|
|
252
276
|
export * from './OrgUsageMetricsResponseUio';
|
|
253
277
|
export * from './OrgUsageTimeSeriesPointUio';
|
|
254
278
|
export * from './OrganizationEngineUio';
|
|
255
279
|
export * from './OrganizationMemberUio';
|
|
256
|
-
export * from './
|
|
280
|
+
export * from './OrganizationMemberUserUio';
|
|
257
281
|
export * from './OrganizationUio';
|
|
258
282
|
export * from './OrganizationUserInviteRequestUio';
|
|
259
283
|
export * from './OrganizationUserInviteResponseUio';
|
|
260
284
|
export * from './OrganizationUserUio';
|
|
261
285
|
export * from './PatchKnowledgeBaseRequestUio';
|
|
262
286
|
export * from './PatchKnowledgeFileRequestUio';
|
|
263
|
-
export * from './PermissionEntryUio';
|
|
264
287
|
export * from './PersonaUio';
|
|
265
288
|
export * from './PinRequestUio';
|
|
266
289
|
export * from './PriceConfigurationModelConfigUio';
|
|
@@ -273,7 +296,6 @@ export * from './PromptFlowCreateRequestUio';
|
|
|
273
296
|
export * from './PromptFlowCreateResponseUio';
|
|
274
297
|
export * from './PromptInitUio';
|
|
275
298
|
export * from './ProviderCreateRequestUio';
|
|
276
|
-
export * from './ProviderSimpleUio';
|
|
277
299
|
export * from './ProviderTypeUio';
|
|
278
300
|
export * from './ProviderUio';
|
|
279
301
|
export * from './ProviderValiationRequestUio';
|
|
@@ -297,6 +319,7 @@ export * from './SearchKnowledgeBaseRequestUio';
|
|
|
297
319
|
export * from './SequenceContentsUio';
|
|
298
320
|
export * from './SequenceCreateRequestUio';
|
|
299
321
|
export * from './SequenceUio';
|
|
322
|
+
export * from './SetContextLocation400ResponseUio';
|
|
300
323
|
export * from './SetMessageReaction200ResponseUio';
|
|
301
324
|
export * from './SetMessageReactionRequestUio';
|
|
302
325
|
export * from './SetTokenRequestUio';
|
|
@@ -353,7 +376,11 @@ export * from './UpdateToolStaticCredentialsRequestUio';
|
|
|
353
376
|
export * from './UploadImageToKnowledgeBaseLibrary200ResponseUio';
|
|
354
377
|
export * from './UploadImageToKnowledgeBaseLibraryRequestUio';
|
|
355
378
|
export * from './UploadedStatusUpdateRequestUio';
|
|
356
|
-
export * from './
|
|
357
|
-
export * from './
|
|
358
|
-
export * from './
|
|
359
|
-
export * from './
|
|
379
|
+
export * from './UserCreateRequestUio';
|
|
380
|
+
export * from './UserDetailUio';
|
|
381
|
+
export * from './UserIdentifierRequestUio';
|
|
382
|
+
export * from './UserIdentifierUio';
|
|
383
|
+
export * from './UserLockRequestUio';
|
|
384
|
+
export * from './UserUpdateRequestUio';
|
|
385
|
+
export * from './WorkspaceFileContentUio';
|
|
386
|
+
export * from './WorkspaceFileEntryUio';
|