@breign/client 1.0.75 → 1.0.77
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 +95 -3
- package/dist/apis/AgentApi.js +218 -5
- package/dist/apis/AppApi.d.ts +75 -4
- package/dist/apis/AppApi.js +174 -7
- package/dist/apis/KnowledgeApi.d.ts +27 -1
- package/dist/apis/KnowledgeApi.js +60 -0
- package/dist/apis/OrganizationsApi.d.ts +67 -1
- package/dist/apis/OrganizationsApi.js +156 -0
- package/dist/apis/PromptsApi.d.ts +3 -3
- package/dist/apis/PromptsApi.js +1 -1
- package/dist/apis/ToolsApi.d.ts +26 -1
- package/dist/apis/ToolsApi.js +59 -0
- package/dist/models/AdvancedFlowEditorEdgeUio.d.ts +56 -0
- package/dist/models/AdvancedFlowEditorEdgeUio.js +62 -0
- package/dist/models/AdvancedFlowEditorNodePositionUio.d.ts +38 -0
- package/dist/models/AdvancedFlowEditorNodePositionUio.js +54 -0
- package/dist/models/AdvancedFlowEditorNodeUio.d.ts +53 -0
- package/dist/models/AdvancedFlowEditorNodeUio.js +63 -0
- package/dist/models/AdvancedFlowEditorUio.d.ts +46 -0
- package/dist/models/AdvancedFlowEditorUio.js +60 -0
- package/dist/models/AdvancedFlowEditorUpdateRequestUio.d.ts +40 -0
- package/dist/models/AdvancedFlowEditorUpdateRequestUio.js +56 -0
- package/dist/models/AgentFlowCreateUio.d.ts +6 -0
- package/dist/models/AgentFlowCreateUio.js +2 -0
- package/dist/models/AgentFlowUio.d.ts +6 -0
- package/dist/models/AgentFlowUio.js +2 -0
- package/dist/models/AnimationCreateRequestUio.d.ts +56 -0
- package/dist/models/AnimationCreateRequestUio.js +64 -0
- package/dist/models/AnimationUio.d.ts +56 -0
- package/dist/models/AnimationUio.js +64 -0
- package/dist/models/AppCommandsInnerUio.d.ts +46 -0
- package/dist/models/AppCommandsInnerUio.js +56 -0
- package/dist/models/AppConfigurationColorsUio.d.ts +68 -0
- package/dist/models/AppConfigurationColorsUio.js +60 -0
- package/dist/models/AppConfigurationLanguageInnerUio.d.ts +38 -0
- package/dist/models/AppConfigurationLanguageInnerUio.js +50 -0
- package/dist/models/AppConfigurationTextIntroIOSViewUio.d.ts +90 -0
- package/dist/models/AppConfigurationTextIntroIOSViewUio.js +62 -0
- package/dist/models/AppConfigurationTextSpeakIOSViewUio.d.ts +82 -0
- package/dist/models/AppConfigurationTextSpeakIOSViewUio.js +60 -0
- package/dist/models/AppConfigurationTextUio.d.ts +40 -0
- package/dist/models/AppConfigurationTextUio.js +52 -0
- package/dist/models/AppConfigurationUio.d.ts +40 -2
- package/dist/models/AppConfigurationUio.js +17 -6
- package/dist/models/AppUio.d.ts +17 -3
- package/dist/models/AppUio.js +9 -3
- package/dist/models/AppUpdateRequestUio.d.ts +8 -0
- package/dist/models/AppUpdateRequestUio.js +2 -0
- package/dist/models/Conversation1Uio.d.ts +46 -0
- package/dist/models/Conversation1Uio.js +60 -0
- package/dist/models/ConversationMessagesInnerFlowNodeEntrypointsUio.d.ts +32 -0
- package/dist/models/ConversationMessagesInnerFlowNodeEntrypointsUio.js +48 -0
- package/dist/models/ConversationMessagesInnerFlowNodeUio.d.ts +51 -0
- package/dist/models/ConversationMessagesInnerFlowNodeUio.js +55 -0
- package/dist/models/ConversationMessagesInnerSuggestionsInnerUio.d.ts +38 -0
- package/dist/models/ConversationMessagesInnerSuggestionsInnerUio.js +54 -0
- package/dist/models/ConversationMessagesInnerUio.d.ts +79 -0
- package/dist/models/ConversationMessagesInnerUio.js +73 -0
- package/dist/models/ConversationMetricsInnerSourceUio.d.ts +51 -0
- package/dist/models/ConversationMetricsInnerSourceUio.js +65 -0
- package/dist/models/ConversationMetricsInnerUio.d.ts +46 -0
- package/dist/models/ConversationMetricsInnerUio.js +60 -0
- package/dist/models/ConversationMetricsInnerValueInnerCostUio.d.ts +38 -0
- package/dist/models/ConversationMetricsInnerValueInnerCostUio.js +54 -0
- package/dist/models/ConversationMetricsInnerValueInnerUio.d.ts +63 -0
- package/dist/models/ConversationMetricsInnerValueInnerUio.js +69 -0
- package/dist/models/ConversationUio.d.ts +56 -6
- package/dist/models/ConversationUio.js +27 -7
- package/dist/models/FlowContentsUio.d.ts +6 -0
- package/dist/models/FlowContentsUio.js +2 -0
- package/dist/models/FlowEditorNodeUio.d.ts +39 -0
- package/dist/models/FlowEditorNodeUio.js +55 -0
- package/dist/models/FlowEditorUio.d.ts +39 -0
- package/dist/models/FlowEditorUio.js +55 -0
- package/dist/models/FlowEditorUpdateRequestUio.d.ts +33 -0
- package/dist/models/FlowEditorUpdateRequestUio.js +51 -0
- package/dist/models/KnowledgeFilesByIdsRequestUio.d.ts +32 -0
- package/dist/models/KnowledgeFilesByIdsRequestUio.js +50 -0
- package/dist/models/OrganizationUio.d.ts +20 -0
- package/dist/models/OrganizationUio.js +10 -0
- package/dist/models/OrganizationUserUio.d.ts +38 -0
- package/dist/models/OrganizationUserUio.js +54 -0
- package/dist/models/RoleCreateRequestUio.d.ts +44 -0
- package/dist/models/RoleCreateRequestUio.js +56 -0
- package/dist/models/SequenceContentsUio.d.ts +38 -0
- package/dist/models/SequenceContentsUio.js +50 -0
- package/dist/models/SequenceCreateRequestUio.d.ts +45 -0
- package/dist/models/SequenceCreateRequestUio.js +59 -0
- package/dist/models/SequenceUio.d.ts +45 -0
- package/dist/models/SequenceUio.js +59 -0
- package/dist/models/ToolUpdateRequestUio.d.ts +62 -0
- package/dist/models/ToolUpdateRequestUio.js +56 -0
- package/dist/models/index.d.ts +32 -4
- package/dist/models/index.js +32 -4
- package/dist/openapi.json +1725 -214
- package/package.json +1 -1
- package/dist/models/AppConfigurationUpdateRequestUio.d.ts +0 -33
- package/dist/models/AppConfigurationUpdateRequestUio.js +0 -50
- package/dist/models/AppSequencesInnerUio.d.ts +0 -38
- package/dist/models/AppSequencesInnerUio.js +0 -50
- package/dist/models/ConversationFlowNodeEntrypointsUio.d.ts +0 -32
- package/dist/models/ConversationFlowNodeEntrypointsUio.js +0 -48
- package/dist/models/ConversationFlowNodeUio.d.ts +0 -51
- package/dist/models/ConversationFlowNodeUio.js +0 -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 { FlowEditorNodeUio } from './FlowEditorNodeUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FlowEditorUpdateRequestUio
|
|
17
|
+
*/
|
|
18
|
+
export interface FlowEditorUpdateRequestUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<FlowEditorNodeUio>}
|
|
22
|
+
* @memberof FlowEditorUpdateRequestUio
|
|
23
|
+
*/
|
|
24
|
+
nodes: Array<FlowEditorNodeUio>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the FlowEditorUpdateRequestUio interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfFlowEditorUpdateRequestUio(value: object): value is FlowEditorUpdateRequestUio;
|
|
30
|
+
export declare function FlowEditorUpdateRequestUioFromJSON(json: any): FlowEditorUpdateRequestUio;
|
|
31
|
+
export declare function FlowEditorUpdateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowEditorUpdateRequestUio;
|
|
32
|
+
export declare function FlowEditorUpdateRequestUioToJSON(json: any): FlowEditorUpdateRequestUio;
|
|
33
|
+
export declare function FlowEditorUpdateRequestUioToJSONTyped(value?: FlowEditorUpdateRequestUio | 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.instanceOfFlowEditorUpdateRequestUio = instanceOfFlowEditorUpdateRequestUio;
|
|
17
|
+
exports.FlowEditorUpdateRequestUioFromJSON = FlowEditorUpdateRequestUioFromJSON;
|
|
18
|
+
exports.FlowEditorUpdateRequestUioFromJSONTyped = FlowEditorUpdateRequestUioFromJSONTyped;
|
|
19
|
+
exports.FlowEditorUpdateRequestUioToJSON = FlowEditorUpdateRequestUioToJSON;
|
|
20
|
+
exports.FlowEditorUpdateRequestUioToJSONTyped = FlowEditorUpdateRequestUioToJSONTyped;
|
|
21
|
+
const FlowEditorNodeUio_1 = require("./FlowEditorNodeUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the FlowEditorUpdateRequestUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfFlowEditorUpdateRequestUio(value) {
|
|
26
|
+
if (!('nodes' in value) || value['nodes'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function FlowEditorUpdateRequestUioFromJSON(json) {
|
|
31
|
+
return FlowEditorUpdateRequestUioFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function FlowEditorUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'nodes': (json['nodes'].map(FlowEditorNodeUio_1.FlowEditorNodeUioFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function FlowEditorUpdateRequestUioToJSON(json) {
|
|
42
|
+
return FlowEditorUpdateRequestUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function FlowEditorUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'nodes': (value['nodes'].map(FlowEditorNodeUio_1.FlowEditorNodeUioToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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 KnowledgeFilesByIdsRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface KnowledgeFilesByIdsRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof KnowledgeFilesByIdsRequestUio
|
|
22
|
+
*/
|
|
23
|
+
ids: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the KnowledgeFilesByIdsRequestUio interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfKnowledgeFilesByIdsRequestUio(value: object): value is KnowledgeFilesByIdsRequestUio;
|
|
29
|
+
export declare function KnowledgeFilesByIdsRequestUioFromJSON(json: any): KnowledgeFilesByIdsRequestUio;
|
|
30
|
+
export declare function KnowledgeFilesByIdsRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeFilesByIdsRequestUio;
|
|
31
|
+
export declare function KnowledgeFilesByIdsRequestUioToJSON(json: any): KnowledgeFilesByIdsRequestUio;
|
|
32
|
+
export declare function KnowledgeFilesByIdsRequestUioToJSONTyped(value?: KnowledgeFilesByIdsRequestUio | 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.instanceOfKnowledgeFilesByIdsRequestUio = instanceOfKnowledgeFilesByIdsRequestUio;
|
|
17
|
+
exports.KnowledgeFilesByIdsRequestUioFromJSON = KnowledgeFilesByIdsRequestUioFromJSON;
|
|
18
|
+
exports.KnowledgeFilesByIdsRequestUioFromJSONTyped = KnowledgeFilesByIdsRequestUioFromJSONTyped;
|
|
19
|
+
exports.KnowledgeFilesByIdsRequestUioToJSON = KnowledgeFilesByIdsRequestUioToJSON;
|
|
20
|
+
exports.KnowledgeFilesByIdsRequestUioToJSONTyped = KnowledgeFilesByIdsRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the KnowledgeFilesByIdsRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfKnowledgeFilesByIdsRequestUio(value) {
|
|
25
|
+
if (!('ids' in value) || value['ids'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function KnowledgeFilesByIdsRequestUioFromJSON(json) {
|
|
30
|
+
return KnowledgeFilesByIdsRequestUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function KnowledgeFilesByIdsRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'ids': json['ids'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function KnowledgeFilesByIdsRequestUioToJSON(json) {
|
|
41
|
+
return KnowledgeFilesByIdsRequestUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function KnowledgeFilesByIdsRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'ids': value['ids'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { OrganizationEngineUio } from './OrganizationEngineUio';
|
|
13
|
+
import type { OrganizationUserUio } from './OrganizationUserUio';
|
|
12
14
|
/**
|
|
13
15
|
*
|
|
14
16
|
* @export
|
|
@@ -27,6 +29,24 @@ export interface OrganizationUio {
|
|
|
27
29
|
* @memberof OrganizationUio
|
|
28
30
|
*/
|
|
29
31
|
name: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof OrganizationUio
|
|
36
|
+
*/
|
|
37
|
+
slug: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {OrganizationEngineUio}
|
|
41
|
+
* @memberof OrganizationUio
|
|
42
|
+
*/
|
|
43
|
+
engine?: OrganizationEngineUio | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<OrganizationUserUio>}
|
|
47
|
+
* @memberof OrganizationUio
|
|
48
|
+
*/
|
|
49
|
+
users?: Array<OrganizationUserUio>;
|
|
30
50
|
}
|
|
31
51
|
/**
|
|
32
52
|
* Check if a given object implements the OrganizationUio interface.
|
|
@@ -18,6 +18,8 @@ exports.OrganizationUioFromJSON = OrganizationUioFromJSON;
|
|
|
18
18
|
exports.OrganizationUioFromJSONTyped = OrganizationUioFromJSONTyped;
|
|
19
19
|
exports.OrganizationUioToJSON = OrganizationUioToJSON;
|
|
20
20
|
exports.OrganizationUioToJSONTyped = OrganizationUioToJSONTyped;
|
|
21
|
+
const OrganizationEngineUio_1 = require("./OrganizationEngineUio");
|
|
22
|
+
const OrganizationUserUio_1 = require("./OrganizationUserUio");
|
|
21
23
|
/**
|
|
22
24
|
* Check if a given object implements the OrganizationUio interface.
|
|
23
25
|
*/
|
|
@@ -26,6 +28,8 @@ function instanceOfOrganizationUio(value) {
|
|
|
26
28
|
return false;
|
|
27
29
|
if (!('name' in value) || value['name'] === undefined)
|
|
28
30
|
return false;
|
|
31
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
32
|
+
return false;
|
|
29
33
|
return true;
|
|
30
34
|
}
|
|
31
35
|
function OrganizationUioFromJSON(json) {
|
|
@@ -38,6 +42,9 @@ function OrganizationUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
42
|
return {
|
|
39
43
|
'id': json['id'],
|
|
40
44
|
'name': json['name'],
|
|
45
|
+
'slug': json['slug'],
|
|
46
|
+
'engine': json['engine'] == null ? undefined : (0, OrganizationEngineUio_1.OrganizationEngineUioFromJSON)(json['engine']),
|
|
47
|
+
'users': json['users'] == null ? undefined : (json['users'].map(OrganizationUserUio_1.OrganizationUserUioFromJSON)),
|
|
41
48
|
};
|
|
42
49
|
}
|
|
43
50
|
function OrganizationUioToJSON(json) {
|
|
@@ -50,5 +57,8 @@ function OrganizationUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
50
57
|
return {
|
|
51
58
|
'id': value['id'],
|
|
52
59
|
'name': value['name'],
|
|
60
|
+
'slug': value['slug'],
|
|
61
|
+
'engine': (0, OrganizationEngineUio_1.OrganizationEngineUioToJSON)(value['engine']),
|
|
62
|
+
'users': value['users'] == null ? undefined : (value['users'].map(OrganizationUserUio_1.OrganizationUserUioToJSON)),
|
|
53
63
|
};
|
|
54
64
|
}
|
|
@@ -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 OrganizationUserUio
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationUserUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationUserUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OrganizationUserUio
|
|
28
|
+
*/
|
|
29
|
+
role: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the OrganizationUserUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfOrganizationUserUio(value: object): value is OrganizationUserUio;
|
|
35
|
+
export declare function OrganizationUserUioFromJSON(json: any): OrganizationUserUio;
|
|
36
|
+
export declare function OrganizationUserUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationUserUio;
|
|
37
|
+
export declare function OrganizationUserUioToJSON(json: any): OrganizationUserUio;
|
|
38
|
+
export declare function OrganizationUserUioToJSONTyped(value?: OrganizationUserUio | 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.instanceOfOrganizationUserUio = instanceOfOrganizationUserUio;
|
|
17
|
+
exports.OrganizationUserUioFromJSON = OrganizationUserUioFromJSON;
|
|
18
|
+
exports.OrganizationUserUioFromJSONTyped = OrganizationUserUioFromJSONTyped;
|
|
19
|
+
exports.OrganizationUserUioToJSON = OrganizationUserUioToJSON;
|
|
20
|
+
exports.OrganizationUserUioToJSONTyped = OrganizationUserUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OrganizationUserUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOrganizationUserUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('role' in value) || value['role'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function OrganizationUserUioFromJSON(json) {
|
|
32
|
+
return OrganizationUserUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function OrganizationUserUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'role': json['role'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function OrganizationUserUioToJSON(json) {
|
|
44
|
+
return OrganizationUserUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function OrganizationUserUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'role': value['role'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RoleCreateRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface RoleCreateRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RoleCreateRequestUio
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RoleCreateRequestUio
|
|
28
|
+
*/
|
|
29
|
+
color: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RoleCreateRequestUio
|
|
34
|
+
*/
|
|
35
|
+
description?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the RoleCreateRequestUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfRoleCreateRequestUio(value: object): value is RoleCreateRequestUio;
|
|
41
|
+
export declare function RoleCreateRequestUioFromJSON(json: any): RoleCreateRequestUio;
|
|
42
|
+
export declare function RoleCreateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): RoleCreateRequestUio;
|
|
43
|
+
export declare function RoleCreateRequestUioToJSON(json: any): RoleCreateRequestUio;
|
|
44
|
+
export declare function RoleCreateRequestUioToJSONTyped(value?: RoleCreateRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfRoleCreateRequestUio = instanceOfRoleCreateRequestUio;
|
|
17
|
+
exports.RoleCreateRequestUioFromJSON = RoleCreateRequestUioFromJSON;
|
|
18
|
+
exports.RoleCreateRequestUioFromJSONTyped = RoleCreateRequestUioFromJSONTyped;
|
|
19
|
+
exports.RoleCreateRequestUioToJSON = RoleCreateRequestUioToJSON;
|
|
20
|
+
exports.RoleCreateRequestUioToJSONTyped = RoleCreateRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RoleCreateRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRoleCreateRequestUio(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('color' in value) || value['color'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function RoleCreateRequestUioFromJSON(json) {
|
|
32
|
+
return RoleCreateRequestUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function RoleCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'color': json['color'],
|
|
41
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function RoleCreateRequestUioToJSON(json) {
|
|
45
|
+
return RoleCreateRequestUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function RoleCreateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
'color': value['color'],
|
|
54
|
+
'description': value['description'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -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 SequenceContentsUio
|
|
16
|
+
*/
|
|
17
|
+
export interface SequenceContentsUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SequenceContentsUio
|
|
22
|
+
*/
|
|
23
|
+
text?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SequenceContentsUio
|
|
28
|
+
*/
|
|
29
|
+
code?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SequenceContentsUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfSequenceContentsUio(value: object): value is SequenceContentsUio;
|
|
35
|
+
export declare function SequenceContentsUioFromJSON(json: any): SequenceContentsUio;
|
|
36
|
+
export declare function SequenceContentsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SequenceContentsUio;
|
|
37
|
+
export declare function SequenceContentsUioToJSON(json: any): SequenceContentsUio;
|
|
38
|
+
export declare function SequenceContentsUioToJSONTyped(value?: SequenceContentsUio | 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.instanceOfSequenceContentsUio = instanceOfSequenceContentsUio;
|
|
17
|
+
exports.SequenceContentsUioFromJSON = SequenceContentsUioFromJSON;
|
|
18
|
+
exports.SequenceContentsUioFromJSONTyped = SequenceContentsUioFromJSONTyped;
|
|
19
|
+
exports.SequenceContentsUioToJSON = SequenceContentsUioToJSON;
|
|
20
|
+
exports.SequenceContentsUioToJSONTyped = SequenceContentsUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SequenceContentsUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSequenceContentsUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function SequenceContentsUioFromJSON(json) {
|
|
28
|
+
return SequenceContentsUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function SequenceContentsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'text': json['text'] == null ? undefined : json['text'],
|
|
36
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function SequenceContentsUioToJSON(json) {
|
|
40
|
+
return SequenceContentsUioToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function SequenceContentsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'text': value['text'],
|
|
48
|
+
'code': value['code'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { SequenceContentsUio } from './SequenceContentsUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SequenceCreateRequestUio
|
|
17
|
+
*/
|
|
18
|
+
export interface SequenceCreateRequestUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SequenceCreateRequestUio
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SequenceCreateRequestUio
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {SequenceContentsUio}
|
|
34
|
+
* @memberof SequenceCreateRequestUio
|
|
35
|
+
*/
|
|
36
|
+
contents: SequenceContentsUio;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the SequenceCreateRequestUio interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfSequenceCreateRequestUio(value: object): value is SequenceCreateRequestUio;
|
|
42
|
+
export declare function SequenceCreateRequestUioFromJSON(json: any): SequenceCreateRequestUio;
|
|
43
|
+
export declare function SequenceCreateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SequenceCreateRequestUio;
|
|
44
|
+
export declare function SequenceCreateRequestUioToJSON(json: any): SequenceCreateRequestUio;
|
|
45
|
+
export declare function SequenceCreateRequestUioToJSONTyped(value?: SequenceCreateRequestUio | 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.instanceOfSequenceCreateRequestUio = instanceOfSequenceCreateRequestUio;
|
|
17
|
+
exports.SequenceCreateRequestUioFromJSON = SequenceCreateRequestUioFromJSON;
|
|
18
|
+
exports.SequenceCreateRequestUioFromJSONTyped = SequenceCreateRequestUioFromJSONTyped;
|
|
19
|
+
exports.SequenceCreateRequestUioToJSON = SequenceCreateRequestUioToJSON;
|
|
20
|
+
exports.SequenceCreateRequestUioToJSONTyped = SequenceCreateRequestUioToJSONTyped;
|
|
21
|
+
const SequenceContentsUio_1 = require("./SequenceContentsUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the SequenceCreateRequestUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfSequenceCreateRequestUio(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('contents' in value) || value['contents'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function SequenceCreateRequestUioFromJSON(json) {
|
|
35
|
+
return SequenceCreateRequestUioFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function SequenceCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'id': json['id'],
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
'contents': (0, SequenceContentsUio_1.SequenceContentsUioFromJSON)(json['contents']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function SequenceCreateRequestUioToJSON(json) {
|
|
48
|
+
return SequenceCreateRequestUioToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function SequenceCreateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value['id'],
|
|
56
|
+
'name': value['name'],
|
|
57
|
+
'contents': (0, SequenceContentsUio_1.SequenceContentsUioToJSON)(value['contents']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { SequenceContentsUio } from './SequenceContentsUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SequenceUio
|
|
17
|
+
*/
|
|
18
|
+
export interface SequenceUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SequenceUio
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SequenceUio
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {SequenceContentsUio}
|
|
34
|
+
* @memberof SequenceUio
|
|
35
|
+
*/
|
|
36
|
+
contents: SequenceContentsUio;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the SequenceUio interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfSequenceUio(value: object): value is SequenceUio;
|
|
42
|
+
export declare function SequenceUioFromJSON(json: any): SequenceUio;
|
|
43
|
+
export declare function SequenceUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SequenceUio;
|
|
44
|
+
export declare function SequenceUioToJSON(json: any): SequenceUio;
|
|
45
|
+
export declare function SequenceUioToJSONTyped(value?: SequenceUio | null, ignoreDiscriminator?: boolean): any;
|