@breign/client 1.0.123 → 1.0.125
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 +17 -12
- package/dist/apis/AgentApi.js +29 -14
- package/dist/apis/KnowledgeApi.d.ts +1 -113
- package/dist/apis/KnowledgeApi.js +0 -282
- package/dist/apis/MetricsApi.d.ts +15 -13
- package/dist/apis/MetricsApi.js +27 -21
- package/dist/apis/OrganizationsApi.d.ts +1 -26
- package/dist/apis/OrganizationsApi.js +0 -64
- package/dist/apis/SkillsApi.d.ts +14 -1
- package/dist/apis/SkillsApi.js +29 -0
- package/dist/models/AddModuleRequestUio.d.ts +60 -0
- package/dist/models/AddModuleRequestUio.js +68 -0
- package/dist/models/AgentPatchUio.d.ts +0 -30
- package/dist/models/AgentPatchUio.js +0 -10
- package/dist/models/AgentRefUio.d.ts +38 -0
- package/dist/models/AgentRefUio.js +54 -0
- package/dist/models/AgentRequestUio.d.ts +0 -59
- package/dist/models/AgentRequestUio.js +0 -22
- package/dist/models/AgentUio.d.ts +6 -44
- package/dist/models/AgentUio.js +2 -14
- package/dist/models/ProviderTypeUio.d.ts +1 -0
- package/dist/models/ProviderTypeUio.js +2 -1
- package/dist/models/index.d.ts +2 -6
- package/dist/models/index.js +2 -6
- package/dist/openapi.json +282 -771
- package/package.json +1 -1
- package/dist/models/AgentRequestProfilePictureUio.d.ts +0 -50
- package/dist/models/AgentRequestProfilePictureUio.js +0 -62
- package/dist/models/DocumentAddRequestUio.d.ts +0 -38
- package/dist/models/DocumentAddRequestUio.js +0 -52
- package/dist/models/ImportFileToAgentKnowledge200ResponseUio.d.ts +0 -56
- package/dist/models/ImportFileToAgentKnowledge200ResponseUio.js +0 -56
- package/dist/models/UserAgentAccessAgentUio.d.ts +0 -38
- package/dist/models/UserAgentAccessAgentUio.js +0 -54
- package/dist/models/UserAgentAccessRequestUio.d.ts +0 -38
- package/dist/models/UserAgentAccessRequestUio.js +0 -54
- package/dist/models/UserAgentAccessUio.d.ts +0 -45
- package/dist/models/UserAgentAccessUio.js +0 -59
package/package.json
CHANGED
|
@@ -1,50 +0,0 @@
|
|
|
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 AgentRequestProfilePictureUio
|
|
16
|
-
*/
|
|
17
|
-
export interface AgentRequestProfilePictureUio {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AgentRequestProfilePictureUio
|
|
22
|
-
*/
|
|
23
|
-
hash: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof AgentRequestProfilePictureUio
|
|
28
|
-
*/
|
|
29
|
-
size: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AgentRequestProfilePictureUio
|
|
34
|
-
*/
|
|
35
|
-
contentType: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof AgentRequestProfilePictureUio
|
|
40
|
-
*/
|
|
41
|
-
ext: string;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the AgentRequestProfilePictureUio interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfAgentRequestProfilePictureUio(value: object): value is AgentRequestProfilePictureUio;
|
|
47
|
-
export declare function AgentRequestProfilePictureUioFromJSON(json: any): AgentRequestProfilePictureUio;
|
|
48
|
-
export declare function AgentRequestProfilePictureUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentRequestProfilePictureUio;
|
|
49
|
-
export declare function AgentRequestProfilePictureUioToJSON(json: any): AgentRequestProfilePictureUio;
|
|
50
|
-
export declare function AgentRequestProfilePictureUioToJSONTyped(value?: AgentRequestProfilePictureUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,62 +0,0 @@
|
|
|
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.instanceOfAgentRequestProfilePictureUio = instanceOfAgentRequestProfilePictureUio;
|
|
17
|
-
exports.AgentRequestProfilePictureUioFromJSON = AgentRequestProfilePictureUioFromJSON;
|
|
18
|
-
exports.AgentRequestProfilePictureUioFromJSONTyped = AgentRequestProfilePictureUioFromJSONTyped;
|
|
19
|
-
exports.AgentRequestProfilePictureUioToJSON = AgentRequestProfilePictureUioToJSON;
|
|
20
|
-
exports.AgentRequestProfilePictureUioToJSONTyped = AgentRequestProfilePictureUioToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the AgentRequestProfilePictureUio interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfAgentRequestProfilePictureUio(value) {
|
|
25
|
-
if (!('hash' in value) || value['hash'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('size' in value) || value['size'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('contentType' in value) || value['contentType'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('ext' in value) || value['ext'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
function AgentRequestProfilePictureUioFromJSON(json) {
|
|
36
|
-
return AgentRequestProfilePictureUioFromJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
function AgentRequestProfilePictureUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
if (json == null) {
|
|
40
|
-
return json;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'hash': json['hash'],
|
|
44
|
-
'size': json['size'],
|
|
45
|
-
'contentType': json['contentType'],
|
|
46
|
-
'ext': json['ext'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function AgentRequestProfilePictureUioToJSON(json) {
|
|
50
|
-
return AgentRequestProfilePictureUioToJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
function AgentRequestProfilePictureUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
-
if (value == null) {
|
|
54
|
-
return value;
|
|
55
|
-
}
|
|
56
|
-
return {
|
|
57
|
-
'hash': value['hash'],
|
|
58
|
-
'size': value['size'],
|
|
59
|
-
'contentType': value['contentType'],
|
|
60
|
-
'ext': value['ext'],
|
|
61
|
-
};
|
|
62
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
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 DocumentAddRequestUio
|
|
16
|
-
*/
|
|
17
|
-
export interface DocumentAddRequestUio {
|
|
18
|
-
/**
|
|
19
|
-
* The text document to add to the knowledge base
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof DocumentAddRequestUio
|
|
22
|
-
*/
|
|
23
|
-
document: string;
|
|
24
|
-
/**
|
|
25
|
-
* Optional custom ID for the document
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof DocumentAddRequestUio
|
|
28
|
-
*/
|
|
29
|
-
customId?: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the DocumentAddRequestUio interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfDocumentAddRequestUio(value: object): value is DocumentAddRequestUio;
|
|
35
|
-
export declare function DocumentAddRequestUioFromJSON(json: any): DocumentAddRequestUio;
|
|
36
|
-
export declare function DocumentAddRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentAddRequestUio;
|
|
37
|
-
export declare function DocumentAddRequestUioToJSON(json: any): DocumentAddRequestUio;
|
|
38
|
-
export declare function DocumentAddRequestUioToJSONTyped(value?: DocumentAddRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,52 +0,0 @@
|
|
|
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.instanceOfDocumentAddRequestUio = instanceOfDocumentAddRequestUio;
|
|
17
|
-
exports.DocumentAddRequestUioFromJSON = DocumentAddRequestUioFromJSON;
|
|
18
|
-
exports.DocumentAddRequestUioFromJSONTyped = DocumentAddRequestUioFromJSONTyped;
|
|
19
|
-
exports.DocumentAddRequestUioToJSON = DocumentAddRequestUioToJSON;
|
|
20
|
-
exports.DocumentAddRequestUioToJSONTyped = DocumentAddRequestUioToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the DocumentAddRequestUio interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfDocumentAddRequestUio(value) {
|
|
25
|
-
if (!('document' in value) || value['document'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function DocumentAddRequestUioFromJSON(json) {
|
|
30
|
-
return DocumentAddRequestUioFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function DocumentAddRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'document': json['document'],
|
|
38
|
-
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function DocumentAddRequestUioToJSON(json) {
|
|
42
|
-
return DocumentAddRequestUioToJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function DocumentAddRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'document': value['document'],
|
|
50
|
-
'customId': value['customId'],
|
|
51
|
-
};
|
|
52
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
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 ImportFileToAgentKnowledge200ResponseUio
|
|
16
|
-
*/
|
|
17
|
-
export interface ImportFileToAgentKnowledge200ResponseUio {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ImportFileToAgentKnowledge200ResponseUio
|
|
22
|
-
*/
|
|
23
|
-
id?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ImportFileToAgentKnowledge200ResponseUio
|
|
28
|
-
*/
|
|
29
|
-
name?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ImportFileToAgentKnowledge200ResponseUio
|
|
34
|
-
*/
|
|
35
|
-
type?: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof ImportFileToAgentKnowledge200ResponseUio
|
|
40
|
-
*/
|
|
41
|
-
size?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof ImportFileToAgentKnowledge200ResponseUio
|
|
46
|
-
*/
|
|
47
|
-
chunkCount?: number;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Check if a given object implements the ImportFileToAgentKnowledge200ResponseUio interface.
|
|
51
|
-
*/
|
|
52
|
-
export declare function instanceOfImportFileToAgentKnowledge200ResponseUio(value: object): value is ImportFileToAgentKnowledge200ResponseUio;
|
|
53
|
-
export declare function ImportFileToAgentKnowledge200ResponseUioFromJSON(json: any): ImportFileToAgentKnowledge200ResponseUio;
|
|
54
|
-
export declare function ImportFileToAgentKnowledge200ResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImportFileToAgentKnowledge200ResponseUio;
|
|
55
|
-
export declare function ImportFileToAgentKnowledge200ResponseUioToJSON(json: any): ImportFileToAgentKnowledge200ResponseUio;
|
|
56
|
-
export declare function ImportFileToAgentKnowledge200ResponseUioToJSONTyped(value?: ImportFileToAgentKnowledge200ResponseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,56 +0,0 @@
|
|
|
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.instanceOfImportFileToAgentKnowledge200ResponseUio = instanceOfImportFileToAgentKnowledge200ResponseUio;
|
|
17
|
-
exports.ImportFileToAgentKnowledge200ResponseUioFromJSON = ImportFileToAgentKnowledge200ResponseUioFromJSON;
|
|
18
|
-
exports.ImportFileToAgentKnowledge200ResponseUioFromJSONTyped = ImportFileToAgentKnowledge200ResponseUioFromJSONTyped;
|
|
19
|
-
exports.ImportFileToAgentKnowledge200ResponseUioToJSON = ImportFileToAgentKnowledge200ResponseUioToJSON;
|
|
20
|
-
exports.ImportFileToAgentKnowledge200ResponseUioToJSONTyped = ImportFileToAgentKnowledge200ResponseUioToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ImportFileToAgentKnowledge200ResponseUio interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfImportFileToAgentKnowledge200ResponseUio(value) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
function ImportFileToAgentKnowledge200ResponseUioFromJSON(json) {
|
|
28
|
-
return ImportFileToAgentKnowledge200ResponseUioFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
function ImportFileToAgentKnowledge200ResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
36
|
-
'name': json['name'] == null ? undefined : json['name'],
|
|
37
|
-
'type': json['type'] == null ? undefined : json['type'],
|
|
38
|
-
'size': json['size'] == null ? undefined : json['size'],
|
|
39
|
-
'chunkCount': json['chunkCount'] == null ? undefined : json['chunkCount'],
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
function ImportFileToAgentKnowledge200ResponseUioToJSON(json) {
|
|
43
|
-
return ImportFileToAgentKnowledge200ResponseUioToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function ImportFileToAgentKnowledge200ResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'id': value['id'],
|
|
51
|
-
'name': value['name'],
|
|
52
|
-
'type': value['type'],
|
|
53
|
-
'size': value['size'],
|
|
54
|
-
'chunkCount': value['chunkCount'],
|
|
55
|
-
};
|
|
56
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
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 UserAgentAccessAgentUio
|
|
16
|
-
*/
|
|
17
|
-
export interface UserAgentAccessAgentUio {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UserAgentAccessAgentUio
|
|
22
|
-
*/
|
|
23
|
-
id: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UserAgentAccessAgentUio
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the UserAgentAccessAgentUio interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfUserAgentAccessAgentUio(value: object): value is UserAgentAccessAgentUio;
|
|
35
|
-
export declare function UserAgentAccessAgentUioFromJSON(json: any): UserAgentAccessAgentUio;
|
|
36
|
-
export declare function UserAgentAccessAgentUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAgentAccessAgentUio;
|
|
37
|
-
export declare function UserAgentAccessAgentUioToJSON(json: any): UserAgentAccessAgentUio;
|
|
38
|
-
export declare function UserAgentAccessAgentUioToJSONTyped(value?: UserAgentAccessAgentUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,54 +0,0 @@
|
|
|
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.instanceOfUserAgentAccessAgentUio = instanceOfUserAgentAccessAgentUio;
|
|
17
|
-
exports.UserAgentAccessAgentUioFromJSON = UserAgentAccessAgentUioFromJSON;
|
|
18
|
-
exports.UserAgentAccessAgentUioFromJSONTyped = UserAgentAccessAgentUioFromJSONTyped;
|
|
19
|
-
exports.UserAgentAccessAgentUioToJSON = UserAgentAccessAgentUioToJSON;
|
|
20
|
-
exports.UserAgentAccessAgentUioToJSONTyped = UserAgentAccessAgentUioToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the UserAgentAccessAgentUio interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfUserAgentAccessAgentUio(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function UserAgentAccessAgentUioFromJSON(json) {
|
|
32
|
-
return UserAgentAccessAgentUioFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function UserAgentAccessAgentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'id': json['id'],
|
|
40
|
-
'name': json['name'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function UserAgentAccessAgentUioToJSON(json) {
|
|
44
|
-
return UserAgentAccessAgentUioToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function UserAgentAccessAgentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'id': value['id'],
|
|
52
|
-
'name': value['name'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
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 UserAgentAccessRequestUio
|
|
16
|
-
*/
|
|
17
|
-
export interface UserAgentAccessRequestUio {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof UserAgentAccessRequestUio
|
|
22
|
-
*/
|
|
23
|
-
scoped: boolean;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {Array<string>}
|
|
27
|
-
* @memberof UserAgentAccessRequestUio
|
|
28
|
-
*/
|
|
29
|
-
agentIds: Array<string>;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the UserAgentAccessRequestUio interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfUserAgentAccessRequestUio(value: object): value is UserAgentAccessRequestUio;
|
|
35
|
-
export declare function UserAgentAccessRequestUioFromJSON(json: any): UserAgentAccessRequestUio;
|
|
36
|
-
export declare function UserAgentAccessRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAgentAccessRequestUio;
|
|
37
|
-
export declare function UserAgentAccessRequestUioToJSON(json: any): UserAgentAccessRequestUio;
|
|
38
|
-
export declare function UserAgentAccessRequestUioToJSONTyped(value?: UserAgentAccessRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,54 +0,0 @@
|
|
|
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.instanceOfUserAgentAccessRequestUio = instanceOfUserAgentAccessRequestUio;
|
|
17
|
-
exports.UserAgentAccessRequestUioFromJSON = UserAgentAccessRequestUioFromJSON;
|
|
18
|
-
exports.UserAgentAccessRequestUioFromJSONTyped = UserAgentAccessRequestUioFromJSONTyped;
|
|
19
|
-
exports.UserAgentAccessRequestUioToJSON = UserAgentAccessRequestUioToJSON;
|
|
20
|
-
exports.UserAgentAccessRequestUioToJSONTyped = UserAgentAccessRequestUioToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the UserAgentAccessRequestUio interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfUserAgentAccessRequestUio(value) {
|
|
25
|
-
if (!('scoped' in value) || value['scoped'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('agentIds' in value) || value['agentIds'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function UserAgentAccessRequestUioFromJSON(json) {
|
|
32
|
-
return UserAgentAccessRequestUioFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function UserAgentAccessRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'scoped': json['scoped'],
|
|
40
|
-
'agentIds': json['agentIds'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function UserAgentAccessRequestUioToJSON(json) {
|
|
44
|
-
return UserAgentAccessRequestUioToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function UserAgentAccessRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'scoped': value['scoped'],
|
|
52
|
-
'agentIds': value['agentIds'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
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 { UserAgentAccessAgentUio } from './UserAgentAccessAgentUio';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface UserAgentAccessUio
|
|
17
|
-
*/
|
|
18
|
-
export interface UserAgentAccessUio {
|
|
19
|
-
/**
|
|
20
|
-
* When true, only listed agents are accessible (org-wide agent.read is ignored for listing).
|
|
21
|
-
* @type {boolean}
|
|
22
|
-
* @memberof UserAgentAccessUio
|
|
23
|
-
*/
|
|
24
|
-
scoped: boolean;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Array<string>}
|
|
28
|
-
* @memberof UserAgentAccessUio
|
|
29
|
-
*/
|
|
30
|
-
agentIds: Array<string>;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {Array<UserAgentAccessAgentUio>}
|
|
34
|
-
* @memberof UserAgentAccessUio
|
|
35
|
-
*/
|
|
36
|
-
availableAgents: Array<UserAgentAccessAgentUio>;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the UserAgentAccessUio interface.
|
|
40
|
-
*/
|
|
41
|
-
export declare function instanceOfUserAgentAccessUio(value: object): value is UserAgentAccessUio;
|
|
42
|
-
export declare function UserAgentAccessUioFromJSON(json: any): UserAgentAccessUio;
|
|
43
|
-
export declare function UserAgentAccessUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAgentAccessUio;
|
|
44
|
-
export declare function UserAgentAccessUioToJSON(json: any): UserAgentAccessUio;
|
|
45
|
-
export declare function UserAgentAccessUioToJSONTyped(value?: UserAgentAccessUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,59 +0,0 @@
|
|
|
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.instanceOfUserAgentAccessUio = instanceOfUserAgentAccessUio;
|
|
17
|
-
exports.UserAgentAccessUioFromJSON = UserAgentAccessUioFromJSON;
|
|
18
|
-
exports.UserAgentAccessUioFromJSONTyped = UserAgentAccessUioFromJSONTyped;
|
|
19
|
-
exports.UserAgentAccessUioToJSON = UserAgentAccessUioToJSON;
|
|
20
|
-
exports.UserAgentAccessUioToJSONTyped = UserAgentAccessUioToJSONTyped;
|
|
21
|
-
const UserAgentAccessAgentUio_1 = require("./UserAgentAccessAgentUio");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the UserAgentAccessUio interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfUserAgentAccessUio(value) {
|
|
26
|
-
if (!('scoped' in value) || value['scoped'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('agentIds' in value) || value['agentIds'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('availableAgents' in value) || value['availableAgents'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
function UserAgentAccessUioFromJSON(json) {
|
|
35
|
-
return UserAgentAccessUioFromJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
function UserAgentAccessUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
-
if (json == null) {
|
|
39
|
-
return json;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'scoped': json['scoped'],
|
|
43
|
-
'agentIds': json['agentIds'],
|
|
44
|
-
'availableAgents': (json['availableAgents'].map(UserAgentAccessAgentUio_1.UserAgentAccessAgentUioFromJSON)),
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
function UserAgentAccessUioToJSON(json) {
|
|
48
|
-
return UserAgentAccessUioToJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
function UserAgentAccessUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'scoped': value['scoped'],
|
|
56
|
-
'agentIds': value['agentIds'],
|
|
57
|
-
'availableAgents': (value['availableAgents'].map(UserAgentAccessAgentUio_1.UserAgentAccessAgentUioToJSON)),
|
|
58
|
-
};
|
|
59
|
-
}
|