@breign/client 1.0.40 → 1.0.41
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/models/AgentRoleDetailsUio.d.ts +50 -0
- package/dist/models/AgentRoleDetailsUio.js +54 -0
- package/dist/models/AgentUio.d.ts +7 -0
- package/dist/models/AgentUio.js +3 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/openapi.json +20 -0
- package/package.json +1 -1
|
@@ -0,0 +1,50 @@
|
|
|
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 AgentRoleDetailsUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AgentRoleDetailsUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AgentRoleDetailsUio
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AgentRoleDetailsUio
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AgentRoleDetailsUio
|
|
34
|
+
*/
|
|
35
|
+
description?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AgentRoleDetailsUio
|
|
40
|
+
*/
|
|
41
|
+
color?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the AgentRoleDetailsUio interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfAgentRoleDetailsUio(value: object): value is AgentRoleDetailsUio;
|
|
47
|
+
export declare function AgentRoleDetailsUioFromJSON(json: any): AgentRoleDetailsUio;
|
|
48
|
+
export declare function AgentRoleDetailsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentRoleDetailsUio;
|
|
49
|
+
export declare function AgentRoleDetailsUioToJSON(json: any): AgentRoleDetailsUio;
|
|
50
|
+
export declare function AgentRoleDetailsUioToJSONTyped(value?: AgentRoleDetailsUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAgentRoleDetailsUio = instanceOfAgentRoleDetailsUio;
|
|
17
|
+
exports.AgentRoleDetailsUioFromJSON = AgentRoleDetailsUioFromJSON;
|
|
18
|
+
exports.AgentRoleDetailsUioFromJSONTyped = AgentRoleDetailsUioFromJSONTyped;
|
|
19
|
+
exports.AgentRoleDetailsUioToJSON = AgentRoleDetailsUioToJSON;
|
|
20
|
+
exports.AgentRoleDetailsUioToJSONTyped = AgentRoleDetailsUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AgentRoleDetailsUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAgentRoleDetailsUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function AgentRoleDetailsUioFromJSON(json) {
|
|
28
|
+
return AgentRoleDetailsUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function AgentRoleDetailsUioFromJSONTyped(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
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
38
|
+
'color': json['color'] == null ? undefined : json['color'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AgentRoleDetailsUioToJSON(json) {
|
|
42
|
+
return AgentRoleDetailsUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AgentRoleDetailsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': value['id'],
|
|
50
|
+
'name': value['name'],
|
|
51
|
+
'description': value['description'],
|
|
52
|
+
'color': value['color'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { AgentRoleDetailsUio } from './AgentRoleDetailsUio';
|
|
12
13
|
import type { AgentSubscriptionUio } from './AgentSubscriptionUio';
|
|
13
14
|
import type { AgentToolUio } from './AgentToolUio';
|
|
14
15
|
import type { PersonaUio } from './PersonaUio';
|
|
@@ -110,6 +111,12 @@ export interface AgentUio {
|
|
|
110
111
|
* @memberof AgentUio
|
|
111
112
|
*/
|
|
112
113
|
role?: string;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {AgentRoleDetailsUio}
|
|
117
|
+
* @memberof AgentUio
|
|
118
|
+
*/
|
|
119
|
+
roleDetails?: AgentRoleDetailsUio;
|
|
113
120
|
/**
|
|
114
121
|
*
|
|
115
122
|
* @type {string}
|
package/dist/models/AgentUio.js
CHANGED
|
@@ -18,6 +18,7 @@ exports.AgentUioFromJSON = AgentUioFromJSON;
|
|
|
18
18
|
exports.AgentUioFromJSONTyped = AgentUioFromJSONTyped;
|
|
19
19
|
exports.AgentUioToJSON = AgentUioToJSON;
|
|
20
20
|
exports.AgentUioToJSONTyped = AgentUioToJSONTyped;
|
|
21
|
+
const AgentRoleDetailsUio_1 = require("./AgentRoleDetailsUio");
|
|
21
22
|
const AgentSubscriptionUio_1 = require("./AgentSubscriptionUio");
|
|
22
23
|
const AgentToolUio_1 = require("./AgentToolUio");
|
|
23
24
|
const PersonaUio_1 = require("./PersonaUio");
|
|
@@ -65,6 +66,7 @@ function AgentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
65
66
|
'profilePicture': json['profilePicture'] == null ? undefined : json['profilePicture'],
|
|
66
67
|
'organisationId': json['organisationId'],
|
|
67
68
|
'role': json['role'] == null ? undefined : json['role'],
|
|
69
|
+
'roleDetails': json['roleDetails'] == null ? undefined : (0, AgentRoleDetailsUio_1.AgentRoleDetailsUioFromJSON)(json['roleDetails']),
|
|
68
70
|
'defaultLanguage': json['defaultLanguage'] == null ? undefined : json['defaultLanguage'],
|
|
69
71
|
'description': json['description'] == null ? undefined : json['description'],
|
|
70
72
|
'template': json['template'] == null ? undefined : json['template'],
|
|
@@ -104,6 +106,7 @@ function AgentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
104
106
|
'profilePicture': value['profilePicture'],
|
|
105
107
|
'organisationId': value['organisationId'],
|
|
106
108
|
'role': value['role'],
|
|
109
|
+
'roleDetails': (0, AgentRoleDetailsUio_1.AgentRoleDetailsUioToJSON)(value['roleDetails']),
|
|
107
110
|
'defaultLanguage': value['defaultLanguage'],
|
|
108
111
|
'description': value['description'],
|
|
109
112
|
'template': value['template'],
|
package/dist/models/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export * from './AgentPatchEngineUio';
|
|
|
14
14
|
export * from './AgentPatchUio';
|
|
15
15
|
export * from './AgentRequestProfilePictureUio';
|
|
16
16
|
export * from './AgentRequestUio';
|
|
17
|
+
export * from './AgentRoleDetailsUio';
|
|
17
18
|
export * from './AgentSubscriptionTextInteractionsUio';
|
|
18
19
|
export * from './AgentSubscriptionUio';
|
|
19
20
|
export * from './AgentToolUio';
|
package/dist/models/index.js
CHANGED
|
@@ -32,6 +32,7 @@ __exportStar(require("./AgentPatchEngineUio"), exports);
|
|
|
32
32
|
__exportStar(require("./AgentPatchUio"), exports);
|
|
33
33
|
__exportStar(require("./AgentRequestProfilePictureUio"), exports);
|
|
34
34
|
__exportStar(require("./AgentRequestUio"), exports);
|
|
35
|
+
__exportStar(require("./AgentRoleDetailsUio"), exports);
|
|
35
36
|
__exportStar(require("./AgentSubscriptionTextInteractionsUio"), exports);
|
|
36
37
|
__exportStar(require("./AgentSubscriptionUio"), exports);
|
|
37
38
|
__exportStar(require("./AgentToolUio"), exports);
|
package/dist/openapi.json
CHANGED
|
@@ -6280,6 +6280,9 @@
|
|
|
6280
6280
|
"role" : {
|
|
6281
6281
|
"type" : "string"
|
|
6282
6282
|
},
|
|
6283
|
+
"roleDetails" : {
|
|
6284
|
+
"$ref" : "#/components/schemas/Agent_roleDetails"
|
|
6285
|
+
},
|
|
6283
6286
|
"defaultLanguage" : {
|
|
6284
6287
|
"type" : "string"
|
|
6285
6288
|
},
|
|
@@ -9057,6 +9060,23 @@
|
|
|
9057
9060
|
},
|
|
9058
9061
|
"type" : "object"
|
|
9059
9062
|
},
|
|
9063
|
+
"Agent_roleDetails" : {
|
|
9064
|
+
"properties" : {
|
|
9065
|
+
"id" : {
|
|
9066
|
+
"type" : "string"
|
|
9067
|
+
},
|
|
9068
|
+
"name" : {
|
|
9069
|
+
"type" : "string"
|
|
9070
|
+
},
|
|
9071
|
+
"description" : {
|
|
9072
|
+
"type" : "string"
|
|
9073
|
+
},
|
|
9074
|
+
"color" : {
|
|
9075
|
+
"type" : "string"
|
|
9076
|
+
}
|
|
9077
|
+
},
|
|
9078
|
+
"type" : "object"
|
|
9079
|
+
},
|
|
9060
9080
|
"Agent_creator_user" : {
|
|
9061
9081
|
"properties" : {
|
|
9062
9082
|
"name" : {
|