@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,90 @@
|
|
|
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 AppConfigurationTextIntroIOSViewUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AppConfigurationTextIntroIOSViewUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {{ [key: string]: string; }}
|
|
21
|
+
* @memberof AppConfigurationTextIntroIOSViewUio
|
|
22
|
+
*/
|
|
23
|
+
topTextRotate?: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {{ [key: string]: string; }}
|
|
29
|
+
* @memberof AppConfigurationTextIntroIOSViewUio
|
|
30
|
+
*/
|
|
31
|
+
topText1?: {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {{ [key: string]: string; }}
|
|
37
|
+
* @memberof AppConfigurationTextIntroIOSViewUio
|
|
38
|
+
*/
|
|
39
|
+
topText2?: {
|
|
40
|
+
[key: string]: string;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {{ [key: string]: string; }}
|
|
45
|
+
* @memberof AppConfigurationTextIntroIOSViewUio
|
|
46
|
+
*/
|
|
47
|
+
primaryText1?: {
|
|
48
|
+
[key: string]: string;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {{ [key: string]: string; }}
|
|
53
|
+
* @memberof AppConfigurationTextIntroIOSViewUio
|
|
54
|
+
*/
|
|
55
|
+
primaryText2?: {
|
|
56
|
+
[key: string]: string;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {{ [key: string]: string; }}
|
|
61
|
+
* @memberof AppConfigurationTextIntroIOSViewUio
|
|
62
|
+
*/
|
|
63
|
+
buttonText?: {
|
|
64
|
+
[key: string]: string;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {{ [key: string]: string; }}
|
|
69
|
+
* @memberof AppConfigurationTextIntroIOSViewUio
|
|
70
|
+
*/
|
|
71
|
+
quizzText?: {
|
|
72
|
+
[key: string]: string;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {{ [key: string]: string; }}
|
|
77
|
+
* @memberof AppConfigurationTextIntroIOSViewUio
|
|
78
|
+
*/
|
|
79
|
+
bottomText?: {
|
|
80
|
+
[key: string]: string;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Check if a given object implements the AppConfigurationTextIntroIOSViewUio interface.
|
|
85
|
+
*/
|
|
86
|
+
export declare function instanceOfAppConfigurationTextIntroIOSViewUio(value: object): value is AppConfigurationTextIntroIOSViewUio;
|
|
87
|
+
export declare function AppConfigurationTextIntroIOSViewUioFromJSON(json: any): AppConfigurationTextIntroIOSViewUio;
|
|
88
|
+
export declare function AppConfigurationTextIntroIOSViewUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppConfigurationTextIntroIOSViewUio;
|
|
89
|
+
export declare function AppConfigurationTextIntroIOSViewUioToJSON(json: any): AppConfigurationTextIntroIOSViewUio;
|
|
90
|
+
export declare function AppConfigurationTextIntroIOSViewUioToJSONTyped(value?: AppConfigurationTextIntroIOSViewUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.instanceOfAppConfigurationTextIntroIOSViewUio = instanceOfAppConfigurationTextIntroIOSViewUio;
|
|
17
|
+
exports.AppConfigurationTextIntroIOSViewUioFromJSON = AppConfigurationTextIntroIOSViewUioFromJSON;
|
|
18
|
+
exports.AppConfigurationTextIntroIOSViewUioFromJSONTyped = AppConfigurationTextIntroIOSViewUioFromJSONTyped;
|
|
19
|
+
exports.AppConfigurationTextIntroIOSViewUioToJSON = AppConfigurationTextIntroIOSViewUioToJSON;
|
|
20
|
+
exports.AppConfigurationTextIntroIOSViewUioToJSONTyped = AppConfigurationTextIntroIOSViewUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AppConfigurationTextIntroIOSViewUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAppConfigurationTextIntroIOSViewUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function AppConfigurationTextIntroIOSViewUioFromJSON(json) {
|
|
28
|
+
return AppConfigurationTextIntroIOSViewUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function AppConfigurationTextIntroIOSViewUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'topTextRotate': json['topTextRotate'] == null ? undefined : json['topTextRotate'],
|
|
36
|
+
'topText1': json['topText1'] == null ? undefined : json['topText1'],
|
|
37
|
+
'topText2': json['topText2'] == null ? undefined : json['topText2'],
|
|
38
|
+
'primaryText1': json['primaryText1'] == null ? undefined : json['primaryText1'],
|
|
39
|
+
'primaryText2': json['primaryText2'] == null ? undefined : json['primaryText2'],
|
|
40
|
+
'buttonText': json['buttonText'] == null ? undefined : json['buttonText'],
|
|
41
|
+
'quizzText': json['quizzText'] == null ? undefined : json['quizzText'],
|
|
42
|
+
'bottomText': json['bottomText'] == null ? undefined : json['bottomText'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function AppConfigurationTextIntroIOSViewUioToJSON(json) {
|
|
46
|
+
return AppConfigurationTextIntroIOSViewUioToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function AppConfigurationTextIntroIOSViewUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'topTextRotate': value['topTextRotate'],
|
|
54
|
+
'topText1': value['topText1'],
|
|
55
|
+
'topText2': value['topText2'],
|
|
56
|
+
'primaryText1': value['primaryText1'],
|
|
57
|
+
'primaryText2': value['primaryText2'],
|
|
58
|
+
'buttonText': value['buttonText'],
|
|
59
|
+
'quizzText': value['quizzText'],
|
|
60
|
+
'bottomText': value['bottomText'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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 AppConfigurationTextSpeakIOSViewUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AppConfigurationTextSpeakIOSViewUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {{ [key: string]: string; }}
|
|
21
|
+
* @memberof AppConfigurationTextSpeakIOSViewUio
|
|
22
|
+
*/
|
|
23
|
+
quitText?: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {{ [key: string]: string; }}
|
|
29
|
+
* @memberof AppConfigurationTextSpeakIOSViewUio
|
|
30
|
+
*/
|
|
31
|
+
speakText?: {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {{ [key: string]: string; }}
|
|
37
|
+
* @memberof AppConfigurationTextSpeakIOSViewUio
|
|
38
|
+
*/
|
|
39
|
+
interruptText?: {
|
|
40
|
+
[key: string]: string;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {{ [key: string]: string; }}
|
|
45
|
+
* @memberof AppConfigurationTextSpeakIOSViewUio
|
|
46
|
+
*/
|
|
47
|
+
wrongPushText?: {
|
|
48
|
+
[key: string]: string;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {{ [key: string]: string; }}
|
|
53
|
+
* @memberof AppConfigurationTextSpeakIOSViewUio
|
|
54
|
+
*/
|
|
55
|
+
suggestionUnderlineText?: {
|
|
56
|
+
[key: string]: string;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {{ [key: string]: string; }}
|
|
61
|
+
* @memberof AppConfigurationTextSpeakIOSViewUio
|
|
62
|
+
*/
|
|
63
|
+
suggestionText?: {
|
|
64
|
+
[key: string]: string;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {{ [key: string]: string; }}
|
|
69
|
+
* @memberof AppConfigurationTextSpeakIOSViewUio
|
|
70
|
+
*/
|
|
71
|
+
bottomText?: {
|
|
72
|
+
[key: string]: string;
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Check if a given object implements the AppConfigurationTextSpeakIOSViewUio interface.
|
|
77
|
+
*/
|
|
78
|
+
export declare function instanceOfAppConfigurationTextSpeakIOSViewUio(value: object): value is AppConfigurationTextSpeakIOSViewUio;
|
|
79
|
+
export declare function AppConfigurationTextSpeakIOSViewUioFromJSON(json: any): AppConfigurationTextSpeakIOSViewUio;
|
|
80
|
+
export declare function AppConfigurationTextSpeakIOSViewUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppConfigurationTextSpeakIOSViewUio;
|
|
81
|
+
export declare function AppConfigurationTextSpeakIOSViewUioToJSON(json: any): AppConfigurationTextSpeakIOSViewUio;
|
|
82
|
+
export declare function AppConfigurationTextSpeakIOSViewUioToJSONTyped(value?: AppConfigurationTextSpeakIOSViewUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.instanceOfAppConfigurationTextSpeakIOSViewUio = instanceOfAppConfigurationTextSpeakIOSViewUio;
|
|
17
|
+
exports.AppConfigurationTextSpeakIOSViewUioFromJSON = AppConfigurationTextSpeakIOSViewUioFromJSON;
|
|
18
|
+
exports.AppConfigurationTextSpeakIOSViewUioFromJSONTyped = AppConfigurationTextSpeakIOSViewUioFromJSONTyped;
|
|
19
|
+
exports.AppConfigurationTextSpeakIOSViewUioToJSON = AppConfigurationTextSpeakIOSViewUioToJSON;
|
|
20
|
+
exports.AppConfigurationTextSpeakIOSViewUioToJSONTyped = AppConfigurationTextSpeakIOSViewUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AppConfigurationTextSpeakIOSViewUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAppConfigurationTextSpeakIOSViewUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function AppConfigurationTextSpeakIOSViewUioFromJSON(json) {
|
|
28
|
+
return AppConfigurationTextSpeakIOSViewUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function AppConfigurationTextSpeakIOSViewUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'quitText': json['quitText'] == null ? undefined : json['quitText'],
|
|
36
|
+
'speakText': json['speakText'] == null ? undefined : json['speakText'],
|
|
37
|
+
'interruptText': json['interruptText'] == null ? undefined : json['interruptText'],
|
|
38
|
+
'wrongPushText': json['wrongPushText'] == null ? undefined : json['wrongPushText'],
|
|
39
|
+
'suggestionUnderlineText': json['suggestionUnderlineText'] == null ? undefined : json['suggestionUnderlineText'],
|
|
40
|
+
'suggestionText': json['suggestionText'] == null ? undefined : json['suggestionText'],
|
|
41
|
+
'bottomText': json['bottomText'] == null ? undefined : json['bottomText'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function AppConfigurationTextSpeakIOSViewUioToJSON(json) {
|
|
45
|
+
return AppConfigurationTextSpeakIOSViewUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function AppConfigurationTextSpeakIOSViewUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'quitText': value['quitText'],
|
|
53
|
+
'speakText': value['speakText'],
|
|
54
|
+
'interruptText': value['interruptText'],
|
|
55
|
+
'wrongPushText': value['wrongPushText'],
|
|
56
|
+
'suggestionUnderlineText': value['suggestionUnderlineText'],
|
|
57
|
+
'suggestionText': value['suggestionText'],
|
|
58
|
+
'bottomText': value['bottomText'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { AppConfigurationTextSpeakIOSViewUio } from './AppConfigurationTextSpeakIOSViewUio';
|
|
13
|
+
import type { AppConfigurationTextIntroIOSViewUio } from './AppConfigurationTextIntroIOSViewUio';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AppConfigurationTextUio
|
|
18
|
+
*/
|
|
19
|
+
export interface AppConfigurationTextUio {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {AppConfigurationTextIntroIOSViewUio}
|
|
23
|
+
* @memberof AppConfigurationTextUio
|
|
24
|
+
*/
|
|
25
|
+
introIOSView?: AppConfigurationTextIntroIOSViewUio;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {AppConfigurationTextSpeakIOSViewUio}
|
|
29
|
+
* @memberof AppConfigurationTextUio
|
|
30
|
+
*/
|
|
31
|
+
speakIOSView?: AppConfigurationTextSpeakIOSViewUio;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the AppConfigurationTextUio interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfAppConfigurationTextUio(value: object): value is AppConfigurationTextUio;
|
|
37
|
+
export declare function AppConfigurationTextUioFromJSON(json: any): AppConfigurationTextUio;
|
|
38
|
+
export declare function AppConfigurationTextUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppConfigurationTextUio;
|
|
39
|
+
export declare function AppConfigurationTextUioToJSON(json: any): AppConfigurationTextUio;
|
|
40
|
+
export declare function AppConfigurationTextUioToJSONTyped(value?: AppConfigurationTextUio | 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.instanceOfAppConfigurationTextUio = instanceOfAppConfigurationTextUio;
|
|
17
|
+
exports.AppConfigurationTextUioFromJSON = AppConfigurationTextUioFromJSON;
|
|
18
|
+
exports.AppConfigurationTextUioFromJSONTyped = AppConfigurationTextUioFromJSONTyped;
|
|
19
|
+
exports.AppConfigurationTextUioToJSON = AppConfigurationTextUioToJSON;
|
|
20
|
+
exports.AppConfigurationTextUioToJSONTyped = AppConfigurationTextUioToJSONTyped;
|
|
21
|
+
const AppConfigurationTextSpeakIOSViewUio_1 = require("./AppConfigurationTextSpeakIOSViewUio");
|
|
22
|
+
const AppConfigurationTextIntroIOSViewUio_1 = require("./AppConfigurationTextIntroIOSViewUio");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AppConfigurationTextUio interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfAppConfigurationTextUio(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AppConfigurationTextUioFromJSON(json) {
|
|
30
|
+
return AppConfigurationTextUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AppConfigurationTextUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'introIOSView': json['introIOSView'] == null ? undefined : (0, AppConfigurationTextIntroIOSViewUio_1.AppConfigurationTextIntroIOSViewUioFromJSON)(json['introIOSView']),
|
|
38
|
+
'speakIOSView': json['speakIOSView'] == null ? undefined : (0, AppConfigurationTextSpeakIOSViewUio_1.AppConfigurationTextSpeakIOSViewUioFromJSON)(json['speakIOSView']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AppConfigurationTextUioToJSON(json) {
|
|
42
|
+
return AppConfigurationTextUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AppConfigurationTextUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'introIOSView': (0, AppConfigurationTextIntroIOSViewUio_1.AppConfigurationTextIntroIOSViewUioToJSON)(value['introIOSView']),
|
|
50
|
+
'speakIOSView': (0, AppConfigurationTextSpeakIOSViewUio_1.AppConfigurationTextSpeakIOSViewUioToJSON)(value['speakIOSView']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -9,19 +9,57 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { AppConfigurationLanguageInnerUio } from './AppConfigurationLanguageInnerUio';
|
|
13
|
+
import type { AppConfigurationColorsUio } from './AppConfigurationColorsUio';
|
|
14
|
+
import type { AppConfigurationTextUio } from './AppConfigurationTextUio';
|
|
12
15
|
/**
|
|
13
16
|
*
|
|
14
17
|
* @export
|
|
15
18
|
* @interface AppConfigurationUio
|
|
16
19
|
*/
|
|
17
20
|
export interface AppConfigurationUio {
|
|
18
|
-
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {AppConfigurationColorsUio}
|
|
24
|
+
* @memberof AppConfigurationUio
|
|
25
|
+
*/
|
|
26
|
+
colors?: AppConfigurationColorsUio;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {AppConfigurationTextUio}
|
|
30
|
+
* @memberof AppConfigurationUio
|
|
31
|
+
*/
|
|
32
|
+
text?: AppConfigurationTextUio;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof AppConfigurationUio
|
|
37
|
+
*/
|
|
38
|
+
image?: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof AppConfigurationUio
|
|
43
|
+
*/
|
|
44
|
+
agentImage?: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Array<AppConfigurationLanguageInnerUio>}
|
|
48
|
+
* @memberof AppConfigurationUio
|
|
49
|
+
*/
|
|
50
|
+
language?: Array<AppConfigurationLanguageInnerUio>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Date}
|
|
54
|
+
* @memberof AppConfigurationUio
|
|
55
|
+
*/
|
|
56
|
+
date?: Date;
|
|
19
57
|
/**
|
|
20
58
|
*
|
|
21
59
|
* @type {string}
|
|
22
60
|
* @memberof AppConfigurationUio
|
|
23
61
|
*/
|
|
24
|
-
|
|
62
|
+
defaultLanguage?: string;
|
|
25
63
|
}
|
|
26
64
|
/**
|
|
27
65
|
* Check if a given object implements the AppConfigurationUio interface.
|
|
@@ -18,12 +18,13 @@ exports.AppConfigurationUioFromJSON = AppConfigurationUioFromJSON;
|
|
|
18
18
|
exports.AppConfigurationUioFromJSONTyped = AppConfigurationUioFromJSONTyped;
|
|
19
19
|
exports.AppConfigurationUioToJSON = AppConfigurationUioToJSON;
|
|
20
20
|
exports.AppConfigurationUioToJSONTyped = AppConfigurationUioToJSONTyped;
|
|
21
|
+
const AppConfigurationLanguageInnerUio_1 = require("./AppConfigurationLanguageInnerUio");
|
|
22
|
+
const AppConfigurationColorsUio_1 = require("./AppConfigurationColorsUio");
|
|
23
|
+
const AppConfigurationTextUio_1 = require("./AppConfigurationTextUio");
|
|
21
24
|
/**
|
|
22
25
|
* Check if a given object implements the AppConfigurationUio interface.
|
|
23
26
|
*/
|
|
24
27
|
function instanceOfAppConfigurationUio(value) {
|
|
25
|
-
if (!('date' in value) || value['date'] === undefined)
|
|
26
|
-
return false;
|
|
27
28
|
return true;
|
|
28
29
|
}
|
|
29
30
|
function AppConfigurationUioFromJSON(json) {
|
|
@@ -34,8 +35,13 @@ function AppConfigurationUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
35
|
return json;
|
|
35
36
|
}
|
|
36
37
|
return {
|
|
37
|
-
|
|
38
|
-
'
|
|
38
|
+
'colors': json['colors'] == null ? undefined : (0, AppConfigurationColorsUio_1.AppConfigurationColorsUioFromJSON)(json['colors']),
|
|
39
|
+
'text': json['text'] == null ? undefined : (0, AppConfigurationTextUio_1.AppConfigurationTextUioFromJSON)(json['text']),
|
|
40
|
+
'image': json['image'] == null ? undefined : json['image'],
|
|
41
|
+
'agentImage': json['agentImage'] == null ? undefined : json['agentImage'],
|
|
42
|
+
'language': json['language'] == null ? undefined : (json['language'].map(AppConfigurationLanguageInnerUio_1.AppConfigurationLanguageInnerUioFromJSON)),
|
|
43
|
+
'date': json['date'] == null ? undefined : (new Date(json['date'])),
|
|
44
|
+
'defaultLanguage': json['defaultLanguage'] == null ? undefined : json['defaultLanguage'],
|
|
39
45
|
};
|
|
40
46
|
}
|
|
41
47
|
function AppConfigurationUioToJSON(json) {
|
|
@@ -46,7 +52,12 @@ function AppConfigurationUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
46
52
|
return value;
|
|
47
53
|
}
|
|
48
54
|
return {
|
|
49
|
-
|
|
50
|
-
'
|
|
55
|
+
'colors': (0, AppConfigurationColorsUio_1.AppConfigurationColorsUioToJSON)(value['colors']),
|
|
56
|
+
'text': (0, AppConfigurationTextUio_1.AppConfigurationTextUioToJSON)(value['text']),
|
|
57
|
+
'image': value['image'],
|
|
58
|
+
'agentImage': value['agentImage'],
|
|
59
|
+
'language': value['language'] == null ? undefined : (value['language'].map(AppConfigurationLanguageInnerUio_1.AppConfigurationLanguageInnerUioToJSON)),
|
|
60
|
+
'date': value['date'] == null ? undefined : ((value['date']).toISOString()),
|
|
61
|
+
'defaultLanguage': value['defaultLanguage'],
|
|
51
62
|
};
|
|
52
63
|
}
|
package/dist/models/AppUio.d.ts
CHANGED
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { AppCommandsInnerUio } from './AppCommandsInnerUio';
|
|
12
13
|
import type { AppInstancesInnerUio } from './AppInstancesInnerUio';
|
|
13
|
-
import type {
|
|
14
|
+
import type { SequenceUio } from './SequenceUio';
|
|
14
15
|
import type { AppConfigurationUio } from './AppConfigurationUio';
|
|
16
|
+
import type { AnimationUio } from './AnimationUio';
|
|
15
17
|
import type { PersonaUio } from './PersonaUio';
|
|
16
18
|
import type { SimpleAgentUio } from './SimpleAgentUio';
|
|
17
19
|
import type { AppEphemeralInstancesUio } from './AppEphemeralInstancesUio';
|
|
@@ -49,10 +51,22 @@ export interface AppUio {
|
|
|
49
51
|
agent?: SimpleAgentUio;
|
|
50
52
|
/**
|
|
51
53
|
*
|
|
52
|
-
* @type {Array<
|
|
54
|
+
* @type {Array<SequenceUio>}
|
|
53
55
|
* @memberof AppUio
|
|
54
56
|
*/
|
|
55
|
-
sequences?: Array<
|
|
57
|
+
sequences?: Array<SequenceUio>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Array<AnimationUio>}
|
|
61
|
+
* @memberof AppUio
|
|
62
|
+
*/
|
|
63
|
+
animations?: Array<AnimationUio>;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Array<AppCommandsInnerUio>}
|
|
67
|
+
* @memberof AppUio
|
|
68
|
+
*/
|
|
69
|
+
commands?: Array<AppCommandsInnerUio>;
|
|
56
70
|
/**
|
|
57
71
|
*
|
|
58
72
|
* @type {string}
|
package/dist/models/AppUio.js
CHANGED
|
@@ -18,9 +18,11 @@ exports.AppUioFromJSON = AppUioFromJSON;
|
|
|
18
18
|
exports.AppUioFromJSONTyped = AppUioFromJSONTyped;
|
|
19
19
|
exports.AppUioToJSON = AppUioToJSON;
|
|
20
20
|
exports.AppUioToJSONTyped = AppUioToJSONTyped;
|
|
21
|
+
const AppCommandsInnerUio_1 = require("./AppCommandsInnerUio");
|
|
21
22
|
const AppInstancesInnerUio_1 = require("./AppInstancesInnerUio");
|
|
22
|
-
const
|
|
23
|
+
const SequenceUio_1 = require("./SequenceUio");
|
|
23
24
|
const AppConfigurationUio_1 = require("./AppConfigurationUio");
|
|
25
|
+
const AnimationUio_1 = require("./AnimationUio");
|
|
24
26
|
const PersonaUio_1 = require("./PersonaUio");
|
|
25
27
|
const SimpleAgentUio_1 = require("./SimpleAgentUio");
|
|
26
28
|
const AppEphemeralInstancesUio_1 = require("./AppEphemeralInstancesUio");
|
|
@@ -60,7 +62,9 @@ function AppUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
62
|
'name': json['name'],
|
|
61
63
|
'agentId': json['agentId'],
|
|
62
64
|
'agent': json['agent'] == null ? undefined : (0, SimpleAgentUio_1.SimpleAgentUioFromJSON)(json['agent']),
|
|
63
|
-
'sequences': json['sequences'] == null ? undefined : (json['sequences'].map(
|
|
65
|
+
'sequences': json['sequences'] == null ? undefined : (json['sequences'].map(SequenceUio_1.SequenceUioFromJSON)),
|
|
66
|
+
'animations': json['animations'] == null ? undefined : (json['animations'].map(AnimationUio_1.AnimationUioFromJSON)),
|
|
67
|
+
'commands': json['commands'] == null ? undefined : (json['commands'].map(AppCommandsInnerUio_1.AppCommandsInnerUioFromJSON)),
|
|
64
68
|
'authSecret': json['authSecret'],
|
|
65
69
|
'streamingEnabled': json['streamingEnabled'],
|
|
66
70
|
'voiceProvider': json['voiceProvider'] == null ? undefined : json['voiceProvider'],
|
|
@@ -96,7 +100,9 @@ function AppUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
96
100
|
'name': value['name'],
|
|
97
101
|
'agentId': value['agentId'],
|
|
98
102
|
'agent': (0, SimpleAgentUio_1.SimpleAgentUioToJSON)(value['agent']),
|
|
99
|
-
'sequences': value['sequences'] == null ? undefined : (value['sequences'].map(
|
|
103
|
+
'sequences': value['sequences'] == null ? undefined : (value['sequences'].map(SequenceUio_1.SequenceUioToJSON)),
|
|
104
|
+
'animations': value['animations'] == null ? undefined : (value['animations'].map(AnimationUio_1.AnimationUioToJSON)),
|
|
105
|
+
'commands': value['commands'] == null ? undefined : (value['commands'].map(AppCommandsInnerUio_1.AppCommandsInnerUioToJSON)),
|
|
100
106
|
'authSecret': value['authSecret'],
|
|
101
107
|
'streamingEnabled': value['streamingEnabled'],
|
|
102
108
|
'voiceProvider': value['voiceProvider'],
|
|
@@ -70,6 +70,14 @@ export interface AppUpdateRequestUio {
|
|
|
70
70
|
* @memberof AppUpdateRequestUio
|
|
71
71
|
*/
|
|
72
72
|
lipsync?: LipsyncUio;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {{ [key: string]: any; }}
|
|
76
|
+
* @memberof AppUpdateRequestUio
|
|
77
|
+
*/
|
|
78
|
+
favoriteOutfit?: {
|
|
79
|
+
[key: string]: any;
|
|
80
|
+
};
|
|
73
81
|
}
|
|
74
82
|
/**
|
|
75
83
|
* Check if a given object implements the AppUpdateRequestUio interface.
|
|
@@ -42,6 +42,7 @@ function AppUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'voiceModelId': json['voiceModelId'] == null ? undefined : json['voiceModelId'],
|
|
43
43
|
'disableFillers': json['disableFillers'] == null ? undefined : json['disableFillers'],
|
|
44
44
|
'lipsync': json['lipsync'] == null ? undefined : (0, LipsyncUio_1.LipsyncUioFromJSON)(json['lipsync']),
|
|
45
|
+
'favoriteOutfit': json['favoriteOutfit'] == null ? undefined : json['favoriteOutfit'],
|
|
45
46
|
};
|
|
46
47
|
}
|
|
47
48
|
function AppUpdateRequestUioToJSON(json) {
|
|
@@ -61,5 +62,6 @@ function AppUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
61
62
|
'voiceModelId': value['voiceModelId'],
|
|
62
63
|
'disableFillers': value['disableFillers'],
|
|
63
64
|
'lipsync': (0, LipsyncUio_1.LipsyncUioToJSON)(value['lipsync']),
|
|
65
|
+
'favoriteOutfit': value['favoriteOutfit'],
|
|
64
66
|
};
|
|
65
67
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { ConversationMessagesInnerFlowNodeUio } from './ConversationMessagesInnerFlowNodeUio';
|
|
13
|
+
import type { ChatMessageUio } from './ChatMessageUio';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface Conversation1Uio
|
|
18
|
+
*/
|
|
19
|
+
export interface Conversation1Uio {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof Conversation1Uio
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ConversationMessagesInnerFlowNodeUio}
|
|
29
|
+
* @memberof Conversation1Uio
|
|
30
|
+
*/
|
|
31
|
+
flowNode: ConversationMessagesInnerFlowNodeUio;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<ChatMessageUio>}
|
|
35
|
+
* @memberof Conversation1Uio
|
|
36
|
+
*/
|
|
37
|
+
messages: Array<ChatMessageUio>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the Conversation1Uio interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfConversation1Uio(value: object): value is Conversation1Uio;
|
|
43
|
+
export declare function Conversation1UioFromJSON(json: any): Conversation1Uio;
|
|
44
|
+
export declare function Conversation1UioFromJSONTyped(json: any, ignoreDiscriminator: boolean): Conversation1Uio;
|
|
45
|
+
export declare function Conversation1UioToJSON(json: any): Conversation1Uio;
|
|
46
|
+
export declare function Conversation1UioToJSONTyped(value?: Conversation1Uio | null, ignoreDiscriminator?: boolean): any;
|