@breign/client 1.0.102 → 1.0.104
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/OrganizationsApi.d.ts +175 -1
- package/dist/apis/OrganizationsApi.js +433 -0
- package/dist/apis/ToolsApi.d.ts +28 -1
- package/dist/apis/ToolsApi.js +63 -0
- package/dist/models/AccessRoleCreateRequestUio.d.ts +45 -0
- package/dist/models/AccessRoleCreateRequestUio.js +55 -0
- package/dist/models/AccessRolePermissionsRequestUio.d.ts +33 -0
- package/dist/models/AccessRolePermissionsRequestUio.js +51 -0
- package/dist/models/AccessRoleUio.d.ts +75 -0
- package/dist/models/AccessRoleUio.js +75 -0
- package/dist/models/AccessRoleUpdateRequestUio.d.ts +38 -0
- package/dist/models/AccessRoleUpdateRequestUio.js +52 -0
- package/dist/models/AgentToolUio.d.ts +14 -0
- package/dist/models/AgentToolUio.js +10 -0
- package/dist/models/OrganizationMemberUio.d.ts +51 -0
- package/dist/models/OrganizationMemberUio.js +63 -0
- package/dist/models/OrganizationMemberUserUio.d.ts +32 -0
- package/dist/models/OrganizationMemberUserUio.js +50 -0
- package/dist/models/OrganizationPermissionKeyUio.d.ts +59 -0
- package/dist/models/OrganizationPermissionKeyUio.js +85 -0
- package/dist/models/OrganizationUserInviteRequestUio.d.ts +38 -0
- package/dist/models/OrganizationUserInviteRequestUio.js +52 -0
- package/dist/models/OrganizationUserInviteResponseUio.d.ts +32 -0
- package/dist/models/OrganizationUserInviteResponseUio.js +50 -0
- package/dist/models/PermissionEntryUio.d.ts +39 -0
- package/dist/models/PermissionEntryUio.js +55 -0
- package/dist/models/ProviderValiationRequestUio.d.ts +6 -0
- package/dist/models/ProviderValiationRequestUio.js +4 -0
- package/dist/models/ToolAllowedToolsRequestUio.d.ts +32 -0
- package/dist/models/ToolAllowedToolsRequestUio.js +50 -0
- package/dist/models/ToolAllowedToolsResponseUio.d.ts +32 -0
- package/dist/models/ToolAllowedToolsResponseUio.js +50 -0
- package/dist/models/ToolConnectionStatusResponseUio.d.ts +46 -0
- package/dist/models/ToolConnectionStatusResponseUio.js +62 -0
- package/dist/models/ToolCreateRequestUio.d.ts +14 -0
- package/dist/models/ToolCreateRequestUio.js +10 -0
- package/dist/models/ToolSecureUio.d.ts +14 -0
- package/dist/models/ToolSecureUio.js +10 -1
- package/dist/models/UserAccessRolesRequestUio.d.ts +32 -0
- package/dist/models/UserAccessRolesRequestUio.js +50 -0
- package/dist/models/UserAccessUio.d.ts +39 -0
- package/dist/models/UserAccessUio.js +55 -0
- package/dist/models/UserAgentAccessAgentUio.d.ts +38 -0
- package/dist/models/UserAgentAccessAgentUio.js +54 -0
- package/dist/models/UserAgentAccessRequestUio.d.ts +38 -0
- package/dist/models/UserAgentAccessRequestUio.js +54 -0
- package/dist/models/UserAgentAccessUio.d.ts +45 -0
- package/dist/models/UserAgentAccessUio.js +59 -0
- package/dist/models/UserDirectPermissionsRequestUio.d.ts +33 -0
- package/dist/models/UserDirectPermissionsRequestUio.js +51 -0
- package/dist/models/UserUio.d.ts +3 -3
- package/dist/models/UserUio.js +3 -3
- package/dist/models/index.d.ts +19 -1
- package/dist/models/index.js +19 -1
- package/dist/openapi.json +985 -30
- package/package.json +1 -1
- package/dist/models/UserUserUio.d.ts +0 -32
- package/dist/models/UserUserUio.js +0 -50
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfAccessRoleCreateRequestUio = instanceOfAccessRoleCreateRequestUio;
|
|
17
|
+
exports.AccessRoleCreateRequestUioFromJSON = AccessRoleCreateRequestUioFromJSON;
|
|
18
|
+
exports.AccessRoleCreateRequestUioFromJSONTyped = AccessRoleCreateRequestUioFromJSONTyped;
|
|
19
|
+
exports.AccessRoleCreateRequestUioToJSON = AccessRoleCreateRequestUioToJSON;
|
|
20
|
+
exports.AccessRoleCreateRequestUioToJSONTyped = AccessRoleCreateRequestUioToJSONTyped;
|
|
21
|
+
const PermissionEntryUio_1 = require("./PermissionEntryUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AccessRoleCreateRequestUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAccessRoleCreateRequestUio(value) {
|
|
26
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function AccessRoleCreateRequestUioFromJSON(json) {
|
|
31
|
+
return AccessRoleCreateRequestUioFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function AccessRoleCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'name': json['name'],
|
|
39
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
40
|
+
'permissions': json['permissions'] == null ? undefined : (json['permissions'].map(PermissionEntryUio_1.PermissionEntryUioFromJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function AccessRoleCreateRequestUioToJSON(json) {
|
|
44
|
+
return AccessRoleCreateRequestUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function AccessRoleCreateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'name': value['name'],
|
|
52
|
+
'description': value['description'],
|
|
53
|
+
'permissions': value['permissions'] == null ? undefined : (value['permissions'].map(PermissionEntryUio_1.PermissionEntryUioToJSON)),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { PermissionEntryUio } from './PermissionEntryUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AccessRolePermissionsRequestUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AccessRolePermissionsRequestUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<PermissionEntryUio>}
|
|
22
|
+
* @memberof AccessRolePermissionsRequestUio
|
|
23
|
+
*/
|
|
24
|
+
permissions: Array<PermissionEntryUio>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AccessRolePermissionsRequestUio interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfAccessRolePermissionsRequestUio(value: object): value is AccessRolePermissionsRequestUio;
|
|
30
|
+
export declare function AccessRolePermissionsRequestUioFromJSON(json: any): AccessRolePermissionsRequestUio;
|
|
31
|
+
export declare function AccessRolePermissionsRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccessRolePermissionsRequestUio;
|
|
32
|
+
export declare function AccessRolePermissionsRequestUioToJSON(json: any): AccessRolePermissionsRequestUio;
|
|
33
|
+
export declare function AccessRolePermissionsRequestUioToJSONTyped(value?: AccessRolePermissionsRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfAccessRolePermissionsRequestUio = instanceOfAccessRolePermissionsRequestUio;
|
|
17
|
+
exports.AccessRolePermissionsRequestUioFromJSON = AccessRolePermissionsRequestUioFromJSON;
|
|
18
|
+
exports.AccessRolePermissionsRequestUioFromJSONTyped = AccessRolePermissionsRequestUioFromJSONTyped;
|
|
19
|
+
exports.AccessRolePermissionsRequestUioToJSON = AccessRolePermissionsRequestUioToJSON;
|
|
20
|
+
exports.AccessRolePermissionsRequestUioToJSONTyped = AccessRolePermissionsRequestUioToJSONTyped;
|
|
21
|
+
const PermissionEntryUio_1 = require("./PermissionEntryUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AccessRolePermissionsRequestUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAccessRolePermissionsRequestUio(value) {
|
|
26
|
+
if (!('permissions' in value) || value['permissions'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function AccessRolePermissionsRequestUioFromJSON(json) {
|
|
31
|
+
return AccessRolePermissionsRequestUioFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function AccessRolePermissionsRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'permissions': (json['permissions'].map(PermissionEntryUio_1.PermissionEntryUioFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AccessRolePermissionsRequestUioToJSON(json) {
|
|
42
|
+
return AccessRolePermissionsRequestUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AccessRolePermissionsRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'permissions': (value['permissions'].map(PermissionEntryUio_1.PermissionEntryUioToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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 { PermissionEntryUio } from './PermissionEntryUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AccessRoleUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AccessRoleUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AccessRoleUio
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AccessRoleUio
|
|
29
|
+
*/
|
|
30
|
+
organizationId: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof AccessRoleUio
|
|
35
|
+
*/
|
|
36
|
+
name: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AccessRoleUio
|
|
41
|
+
*/
|
|
42
|
+
description: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof AccessRoleUio
|
|
47
|
+
*/
|
|
48
|
+
slug?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof AccessRoleUio
|
|
53
|
+
*/
|
|
54
|
+
isSystem?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof AccessRoleUio
|
|
59
|
+
*/
|
|
60
|
+
createdAt: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Array<PermissionEntryUio>}
|
|
64
|
+
* @memberof AccessRoleUio
|
|
65
|
+
*/
|
|
66
|
+
permissions: Array<PermissionEntryUio>;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the AccessRoleUio interface.
|
|
70
|
+
*/
|
|
71
|
+
export declare function instanceOfAccessRoleUio(value: object): value is AccessRoleUio;
|
|
72
|
+
export declare function AccessRoleUioFromJSON(json: any): AccessRoleUio;
|
|
73
|
+
export declare function AccessRoleUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccessRoleUio;
|
|
74
|
+
export declare function AccessRoleUioToJSON(json: any): AccessRoleUio;
|
|
75
|
+
export declare function AccessRoleUioToJSONTyped(value?: AccessRoleUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,75 @@
|
|
|
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.instanceOfAccessRoleUio = instanceOfAccessRoleUio;
|
|
17
|
+
exports.AccessRoleUioFromJSON = AccessRoleUioFromJSON;
|
|
18
|
+
exports.AccessRoleUioFromJSONTyped = AccessRoleUioFromJSONTyped;
|
|
19
|
+
exports.AccessRoleUioToJSON = AccessRoleUioToJSON;
|
|
20
|
+
exports.AccessRoleUioToJSONTyped = AccessRoleUioToJSONTyped;
|
|
21
|
+
const PermissionEntryUio_1 = require("./PermissionEntryUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AccessRoleUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAccessRoleUio(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('permissions' in value) || value['permissions'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function AccessRoleUioFromJSON(json) {
|
|
41
|
+
return AccessRoleUioFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AccessRoleUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': json['id'],
|
|
49
|
+
'organizationId': json['organizationId'],
|
|
50
|
+
'name': json['name'],
|
|
51
|
+
'description': json['description'],
|
|
52
|
+
'slug': json['slug'] == null ? undefined : json['slug'],
|
|
53
|
+
'isSystem': json['isSystem'] == null ? undefined : json['isSystem'],
|
|
54
|
+
'createdAt': json['createdAt'],
|
|
55
|
+
'permissions': (json['permissions'].map(PermissionEntryUio_1.PermissionEntryUioFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function AccessRoleUioToJSON(json) {
|
|
59
|
+
return AccessRoleUioToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function AccessRoleUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'id': value['id'],
|
|
67
|
+
'organizationId': value['organizationId'],
|
|
68
|
+
'name': value['name'],
|
|
69
|
+
'description': value['description'],
|
|
70
|
+
'slug': value['slug'],
|
|
71
|
+
'isSystem': value['isSystem'],
|
|
72
|
+
'createdAt': value['createdAt'],
|
|
73
|
+
'permissions': (value['permissions'].map(PermissionEntryUio_1.PermissionEntryUioToJSON)),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -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 AccessRoleUpdateRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AccessRoleUpdateRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AccessRoleUpdateRequestUio
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AccessRoleUpdateRequestUio
|
|
28
|
+
*/
|
|
29
|
+
description?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AccessRoleUpdateRequestUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAccessRoleUpdateRequestUio(value: object): value is AccessRoleUpdateRequestUio;
|
|
35
|
+
export declare function AccessRoleUpdateRequestUioFromJSON(json: any): AccessRoleUpdateRequestUio;
|
|
36
|
+
export declare function AccessRoleUpdateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccessRoleUpdateRequestUio;
|
|
37
|
+
export declare function AccessRoleUpdateRequestUioToJSON(json: any): AccessRoleUpdateRequestUio;
|
|
38
|
+
export declare function AccessRoleUpdateRequestUioToJSONTyped(value?: AccessRoleUpdateRequestUio | 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.instanceOfAccessRoleUpdateRequestUio = instanceOfAccessRoleUpdateRequestUio;
|
|
17
|
+
exports.AccessRoleUpdateRequestUioFromJSON = AccessRoleUpdateRequestUioFromJSON;
|
|
18
|
+
exports.AccessRoleUpdateRequestUioFromJSONTyped = AccessRoleUpdateRequestUioFromJSONTyped;
|
|
19
|
+
exports.AccessRoleUpdateRequestUioToJSON = AccessRoleUpdateRequestUioToJSON;
|
|
20
|
+
exports.AccessRoleUpdateRequestUioToJSONTyped = AccessRoleUpdateRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AccessRoleUpdateRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAccessRoleUpdateRequestUio(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AccessRoleUpdateRequestUioFromJSON(json) {
|
|
30
|
+
return AccessRoleUpdateRequestUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AccessRoleUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AccessRoleUpdateRequestUioToJSON(json) {
|
|
42
|
+
return AccessRoleUpdateRequestUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AccessRoleUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'name': value['name'],
|
|
50
|
+
'description': value['description'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -45,6 +45,12 @@ export interface AgentToolUio {
|
|
|
45
45
|
* @memberof AgentToolUio
|
|
46
46
|
*/
|
|
47
47
|
description: string;
|
|
48
|
+
/**
|
|
49
|
+
* Credentials scope. Defaults to organization for legacy tools.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AgentToolUio
|
|
52
|
+
*/
|
|
53
|
+
scope?: AgentToolUioScopeEnum;
|
|
48
54
|
/**
|
|
49
55
|
*
|
|
50
56
|
* @type {{ [key: string]: any; }}
|
|
@@ -82,6 +88,14 @@ export interface AgentToolUio {
|
|
|
82
88
|
*/
|
|
83
89
|
isSetup?: boolean;
|
|
84
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* @export
|
|
93
|
+
*/
|
|
94
|
+
export declare const AgentToolUioScopeEnum: {
|
|
95
|
+
readonly Organization: "organization";
|
|
96
|
+
readonly User: "user";
|
|
97
|
+
};
|
|
98
|
+
export type AgentToolUioScopeEnum = typeof AgentToolUioScopeEnum[keyof typeof AgentToolUioScopeEnum];
|
|
85
99
|
/**
|
|
86
100
|
* Check if a given object implements the AgentToolUio interface.
|
|
87
101
|
*/
|
|
@@ -13,11 +13,19 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.AgentToolUioScopeEnum = void 0;
|
|
16
17
|
exports.instanceOfAgentToolUio = instanceOfAgentToolUio;
|
|
17
18
|
exports.AgentToolUioFromJSON = AgentToolUioFromJSON;
|
|
18
19
|
exports.AgentToolUioFromJSONTyped = AgentToolUioFromJSONTyped;
|
|
19
20
|
exports.AgentToolUioToJSON = AgentToolUioToJSON;
|
|
20
21
|
exports.AgentToolUioToJSONTyped = AgentToolUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.AgentToolUioScopeEnum = {
|
|
26
|
+
Organization: 'organization',
|
|
27
|
+
User: 'user'
|
|
28
|
+
};
|
|
21
29
|
/**
|
|
22
30
|
* Check if a given object implements the AgentToolUio interface.
|
|
23
31
|
*/
|
|
@@ -47,6 +55,7 @@ function AgentToolUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
55
|
'type': json['type'],
|
|
48
56
|
'orgId': json['orgId'],
|
|
49
57
|
'description': json['description'],
|
|
58
|
+
'scope': json['scope'] == null ? undefined : json['scope'],
|
|
50
59
|
'configuration': json['configuration'] == null ? undefined : json['configuration'],
|
|
51
60
|
'manifest': json['manifest'] == null ? undefined : json['manifest'],
|
|
52
61
|
'mcp': json['mcp'] == null ? undefined : json['mcp'],
|
|
@@ -67,6 +76,7 @@ function AgentToolUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
67
76
|
'type': value['type'],
|
|
68
77
|
'orgId': value['orgId'],
|
|
69
78
|
'description': value['description'],
|
|
79
|
+
'scope': value['scope'],
|
|
70
80
|
'configuration': value['configuration'],
|
|
71
81
|
'manifest': value['manifest'],
|
|
72
82
|
'mcp': value['mcp'],
|
|
@@ -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 { OrganizationMemberUserUio } from './OrganizationMemberUserUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrganizationMemberUio
|
|
17
|
+
*/
|
|
18
|
+
export interface OrganizationMemberUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof OrganizationMemberUio
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof OrganizationMemberUio
|
|
29
|
+
*/
|
|
30
|
+
role: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof OrganizationMemberUio
|
|
35
|
+
*/
|
|
36
|
+
createdAt: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {OrganizationMemberUserUio}
|
|
40
|
+
* @memberof OrganizationMemberUio
|
|
41
|
+
*/
|
|
42
|
+
user: OrganizationMemberUserUio;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the OrganizationMemberUio interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfOrganizationMemberUio(value: object): value is OrganizationMemberUio;
|
|
48
|
+
export declare function OrganizationMemberUioFromJSON(json: any): OrganizationMemberUio;
|
|
49
|
+
export declare function OrganizationMemberUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationMemberUio;
|
|
50
|
+
export declare function OrganizationMemberUioToJSON(json: any): OrganizationMemberUio;
|
|
51
|
+
export declare function OrganizationMemberUioToJSONTyped(value?: OrganizationMemberUio | 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.instanceOfOrganizationMemberUio = instanceOfOrganizationMemberUio;
|
|
17
|
+
exports.OrganizationMemberUioFromJSON = OrganizationMemberUioFromJSON;
|
|
18
|
+
exports.OrganizationMemberUioFromJSONTyped = OrganizationMemberUioFromJSONTyped;
|
|
19
|
+
exports.OrganizationMemberUioToJSON = OrganizationMemberUioToJSON;
|
|
20
|
+
exports.OrganizationMemberUioToJSONTyped = OrganizationMemberUioToJSONTyped;
|
|
21
|
+
const OrganizationMemberUserUio_1 = require("./OrganizationMemberUserUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the OrganizationMemberUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfOrganizationMemberUio(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('role' in value) || value['role'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('user' in value) || value['user'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function OrganizationMemberUioFromJSON(json) {
|
|
37
|
+
return OrganizationMemberUioFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function OrganizationMemberUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': json['id'],
|
|
45
|
+
'role': json['role'],
|
|
46
|
+
'createdAt': json['createdAt'],
|
|
47
|
+
'user': (0, OrganizationMemberUserUio_1.OrganizationMemberUserUioFromJSON)(json['user']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function OrganizationMemberUioToJSON(json) {
|
|
51
|
+
return OrganizationMemberUioToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function OrganizationMemberUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': value['id'],
|
|
59
|
+
'role': value['role'],
|
|
60
|
+
'createdAt': value['createdAt'],
|
|
61
|
+
'user': (0, OrganizationMemberUserUio_1.OrganizationMemberUserUioToJSON)(value['user']),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 OrganizationMemberUserUio
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationMemberUserUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationMemberUserUio
|
|
22
|
+
*/
|
|
23
|
+
email: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the OrganizationMemberUserUio interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfOrganizationMemberUserUio(value: object): value is OrganizationMemberUserUio;
|
|
29
|
+
export declare function OrganizationMemberUserUioFromJSON(json: any): OrganizationMemberUserUio;
|
|
30
|
+
export declare function OrganizationMemberUserUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationMemberUserUio;
|
|
31
|
+
export declare function OrganizationMemberUserUioToJSON(json: any): OrganizationMemberUserUio;
|
|
32
|
+
export declare function OrganizationMemberUserUioToJSONTyped(value?: OrganizationMemberUserUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfOrganizationMemberUserUio = instanceOfOrganizationMemberUserUio;
|
|
17
|
+
exports.OrganizationMemberUserUioFromJSON = OrganizationMemberUserUioFromJSON;
|
|
18
|
+
exports.OrganizationMemberUserUioFromJSONTyped = OrganizationMemberUserUioFromJSONTyped;
|
|
19
|
+
exports.OrganizationMemberUserUioToJSON = OrganizationMemberUserUioToJSON;
|
|
20
|
+
exports.OrganizationMemberUserUioToJSONTyped = OrganizationMemberUserUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OrganizationMemberUserUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOrganizationMemberUserUio(value) {
|
|
25
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function OrganizationMemberUserUioFromJSON(json) {
|
|
30
|
+
return OrganizationMemberUserUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function OrganizationMemberUserUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'email': json['email'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function OrganizationMemberUserUioToJSON(json) {
|
|
41
|
+
return OrganizationMemberUserUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function OrganizationMemberUserUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'email': value['email'],
|
|
49
|
+
};
|
|
50
|
+
}
|