@breign/client 1.0.76 → 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/AppApi.d.ts +3 -3
- package/dist/apis/AppApi.js +5 -5
- 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/index.d.ts +5 -1
- package/dist/models/index.js +5 -1
- package/dist/openapi.json +178 -12
- package/package.json +1 -1
- package/dist/models/AppConfigurationUpdateRequestUio.d.ts +0 -33
- package/dist/models/AppConfigurationUpdateRequestUio.js +0 -50
package/dist/apis/AppApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AnimationCreateRequestUio, AppChatCreateRequestUio, AppChatCreateResponseUio, AppChatSayRequestUio, AppChatSayResponseUio, AppChatSubmitMessageRequestUio, AppConfigurationUio,
|
|
13
|
+
import type { AnimationCreateRequestUio, AppChatCreateRequestUio, AppChatCreateResponseUio, AppChatSayRequestUio, AppChatSayResponseUio, AppChatSubmitMessageRequestUio, AppConfigurationUio, AppCreateRequestUio, AppFlowCreateRequestUio, AppInstanceCreateRequestUio, AppLightUio, AppProbeRequestUio, AppProbeResponseUio, AppStatusRequestUio, AppStatusResponseUio, AppSubmitMessageRequestUio, AppTextToSpeechRequestUio, AppTextToSpeechResponseUio, AppUio, AppUpdateRequestUio, AudioFileUio, AudioFillerExistsResponseUio, BodyWithIdUio, BodyWithMessageUio, ConversationUio, FileCreationRequestUio, FileCreationResponseUio, FillersArrayInnerUio, FlowUio, S3UploadBodyUio, SequenceCreateRequestUio } from '../models/index';
|
|
14
14
|
export interface AddAnimationRequest {
|
|
15
15
|
appId: string;
|
|
16
16
|
animationCreateRequestUio: AnimationCreateRequestUio;
|
|
@@ -140,7 +140,7 @@ export interface UpdateAppByIdRequest {
|
|
|
140
140
|
}
|
|
141
141
|
export interface UpdateAppConfigurationRequest {
|
|
142
142
|
appId: string;
|
|
143
|
-
|
|
143
|
+
appConfigurationUio: AppConfigurationUio;
|
|
144
144
|
instanceId?: string;
|
|
145
145
|
}
|
|
146
146
|
export interface UpdateAppProfilePictureRequest {
|
|
@@ -454,7 +454,7 @@ export declare class AppApi extends runtime.BaseAPI {
|
|
|
454
454
|
* Update app configuration
|
|
455
455
|
* Update app configuration
|
|
456
456
|
*/
|
|
457
|
-
updateAppConfiguration(appId: string,
|
|
457
|
+
updateAppConfiguration(appId: string, appConfigurationUio: AppConfigurationUio, instanceId?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
458
458
|
/**
|
|
459
459
|
* Update profile picture for an app
|
|
460
460
|
*/
|
package/dist/apis/AppApi.js
CHANGED
|
@@ -1051,8 +1051,8 @@ class AppApi extends runtime.BaseAPI {
|
|
|
1051
1051
|
if (requestParameters['appId'] == null) {
|
|
1052
1052
|
throw new runtime.RequiredError('appId', 'Required parameter "appId" was null or undefined when calling updateAppConfiguration().');
|
|
1053
1053
|
}
|
|
1054
|
-
if (requestParameters['
|
|
1055
|
-
throw new runtime.RequiredError('
|
|
1054
|
+
if (requestParameters['appConfigurationUio'] == null) {
|
|
1055
|
+
throw new runtime.RequiredError('appConfigurationUio', 'Required parameter "appConfigurationUio" was null or undefined when calling updateAppConfiguration().');
|
|
1056
1056
|
}
|
|
1057
1057
|
const queryParameters = {};
|
|
1058
1058
|
if (requestParameters['instanceId'] != null) {
|
|
@@ -1068,7 +1068,7 @@ class AppApi extends runtime.BaseAPI {
|
|
|
1068
1068
|
method: 'PUT',
|
|
1069
1069
|
headers: headerParameters,
|
|
1070
1070
|
query: queryParameters,
|
|
1071
|
-
body: (0, index_1.
|
|
1071
|
+
body: (0, index_1.AppConfigurationUioToJSON)(requestParameters['appConfigurationUio']),
|
|
1072
1072
|
}, initOverrides);
|
|
1073
1073
|
return new runtime.VoidApiResponse(response);
|
|
1074
1074
|
}
|
|
@@ -1076,8 +1076,8 @@ class AppApi extends runtime.BaseAPI {
|
|
|
1076
1076
|
* Update app configuration
|
|
1077
1077
|
* Update app configuration
|
|
1078
1078
|
*/
|
|
1079
|
-
async updateAppConfiguration(appId,
|
|
1080
|
-
await this.updateAppConfigurationRaw({ appId: appId,
|
|
1079
|
+
async updateAppConfiguration(appId, appConfigurationUio, instanceId, initOverrides) {
|
|
1080
|
+
await this.updateAppConfigurationRaw({ appId: appId, appConfigurationUio: appConfigurationUio, instanceId: instanceId }, initOverrides);
|
|
1081
1081
|
}
|
|
1082
1082
|
/**
|
|
1083
1083
|
* Update profile picture for an app
|
|
@@ -0,0 +1,68 @@
|
|
|
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 AppConfigurationColorsUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AppConfigurationColorsUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AppConfigurationColorsUio
|
|
22
|
+
*/
|
|
23
|
+
primaryColors?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AppConfigurationColorsUio
|
|
28
|
+
*/
|
|
29
|
+
secondaryColors?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AppConfigurationColorsUio
|
|
34
|
+
*/
|
|
35
|
+
interruptColors?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AppConfigurationColorsUio
|
|
40
|
+
*/
|
|
41
|
+
wrongPushColors?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AppConfigurationColorsUio
|
|
46
|
+
*/
|
|
47
|
+
topTextColors?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AppConfigurationColorsUio
|
|
52
|
+
*/
|
|
53
|
+
primaryTextColors?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AppConfigurationColorsUio
|
|
58
|
+
*/
|
|
59
|
+
secondaryTextColors?: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the AppConfigurationColorsUio interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfAppConfigurationColorsUio(value: object): value is AppConfigurationColorsUio;
|
|
65
|
+
export declare function AppConfigurationColorsUioFromJSON(json: any): AppConfigurationColorsUio;
|
|
66
|
+
export declare function AppConfigurationColorsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppConfigurationColorsUio;
|
|
67
|
+
export declare function AppConfigurationColorsUioToJSON(json: any): AppConfigurationColorsUio;
|
|
68
|
+
export declare function AppConfigurationColorsUioToJSONTyped(value?: AppConfigurationColorsUio | 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.instanceOfAppConfigurationColorsUio = instanceOfAppConfigurationColorsUio;
|
|
17
|
+
exports.AppConfigurationColorsUioFromJSON = AppConfigurationColorsUioFromJSON;
|
|
18
|
+
exports.AppConfigurationColorsUioFromJSONTyped = AppConfigurationColorsUioFromJSONTyped;
|
|
19
|
+
exports.AppConfigurationColorsUioToJSON = AppConfigurationColorsUioToJSON;
|
|
20
|
+
exports.AppConfigurationColorsUioToJSONTyped = AppConfigurationColorsUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AppConfigurationColorsUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAppConfigurationColorsUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function AppConfigurationColorsUioFromJSON(json) {
|
|
28
|
+
return AppConfigurationColorsUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function AppConfigurationColorsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'primaryColors': json['primaryColors'] == null ? undefined : json['primaryColors'],
|
|
36
|
+
'secondaryColors': json['secondaryColors'] == null ? undefined : json['secondaryColors'],
|
|
37
|
+
'interruptColors': json['interruptColors'] == null ? undefined : json['interruptColors'],
|
|
38
|
+
'wrongPushColors': json['wrongPushColors'] == null ? undefined : json['wrongPushColors'],
|
|
39
|
+
'topTextColors': json['topTextColors'] == null ? undefined : json['topTextColors'],
|
|
40
|
+
'primaryTextColors': json['primaryTextColors'] == null ? undefined : json['primaryTextColors'],
|
|
41
|
+
'secondaryTextColors': json['secondaryTextColors'] == null ? undefined : json['secondaryTextColors'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function AppConfigurationColorsUioToJSON(json) {
|
|
45
|
+
return AppConfigurationColorsUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function AppConfigurationColorsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'primaryColors': value['primaryColors'],
|
|
53
|
+
'secondaryColors': value['secondaryColors'],
|
|
54
|
+
'interruptColors': value['interruptColors'],
|
|
55
|
+
'wrongPushColors': value['wrongPushColors'],
|
|
56
|
+
'topTextColors': value['topTextColors'],
|
|
57
|
+
'primaryTextColors': value['primaryTextColors'],
|
|
58
|
+
'secondaryTextColors': value['secondaryTextColors'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -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 AppConfigurationLanguageInnerUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AppConfigurationLanguageInnerUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AppConfigurationLanguageInnerUio
|
|
22
|
+
*/
|
|
23
|
+
code?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AppConfigurationLanguageInnerUio
|
|
28
|
+
*/
|
|
29
|
+
label?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AppConfigurationLanguageInnerUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAppConfigurationLanguageInnerUio(value: object): value is AppConfigurationLanguageInnerUio;
|
|
35
|
+
export declare function AppConfigurationLanguageInnerUioFromJSON(json: any): AppConfigurationLanguageInnerUio;
|
|
36
|
+
export declare function AppConfigurationLanguageInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppConfigurationLanguageInnerUio;
|
|
37
|
+
export declare function AppConfigurationLanguageInnerUioToJSON(json: any): AppConfigurationLanguageInnerUio;
|
|
38
|
+
export declare function AppConfigurationLanguageInnerUioToJSONTyped(value?: AppConfigurationLanguageInnerUio | 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.instanceOfAppConfigurationLanguageInnerUio = instanceOfAppConfigurationLanguageInnerUio;
|
|
17
|
+
exports.AppConfigurationLanguageInnerUioFromJSON = AppConfigurationLanguageInnerUioFromJSON;
|
|
18
|
+
exports.AppConfigurationLanguageInnerUioFromJSONTyped = AppConfigurationLanguageInnerUioFromJSONTyped;
|
|
19
|
+
exports.AppConfigurationLanguageInnerUioToJSON = AppConfigurationLanguageInnerUioToJSON;
|
|
20
|
+
exports.AppConfigurationLanguageInnerUioToJSONTyped = AppConfigurationLanguageInnerUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AppConfigurationLanguageInnerUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAppConfigurationLanguageInnerUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function AppConfigurationLanguageInnerUioFromJSON(json) {
|
|
28
|
+
return AppConfigurationLanguageInnerUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function AppConfigurationLanguageInnerUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
36
|
+
'label': json['label'] == null ? undefined : json['label'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function AppConfigurationLanguageInnerUioToJSON(json) {
|
|
40
|
+
return AppConfigurationLanguageInnerUioToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AppConfigurationLanguageInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'code': value['code'],
|
|
48
|
+
'label': value['label'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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/index.d.ts
CHANGED
|
@@ -36,8 +36,12 @@ export * from './AppChatSayRequestUio';
|
|
|
36
36
|
export * from './AppChatSayResponseUio';
|
|
37
37
|
export * from './AppChatSubmitMessageRequestUio';
|
|
38
38
|
export * from './AppCommandsInnerUio';
|
|
39
|
+
export * from './AppConfigurationColorsUio';
|
|
40
|
+
export * from './AppConfigurationLanguageInnerUio';
|
|
41
|
+
export * from './AppConfigurationTextIntroIOSViewUio';
|
|
42
|
+
export * from './AppConfigurationTextSpeakIOSViewUio';
|
|
43
|
+
export * from './AppConfigurationTextUio';
|
|
39
44
|
export * from './AppConfigurationUio';
|
|
40
|
-
export * from './AppConfigurationUpdateRequestUio';
|
|
41
45
|
export * from './AppCreateRequestUio';
|
|
42
46
|
export * from './AppEphemeralInstancesUio';
|
|
43
47
|
export * from './AppFlowCreateRequestUio';
|
package/dist/models/index.js
CHANGED
|
@@ -54,8 +54,12 @@ __exportStar(require("./AppChatSayRequestUio"), exports);
|
|
|
54
54
|
__exportStar(require("./AppChatSayResponseUio"), exports);
|
|
55
55
|
__exportStar(require("./AppChatSubmitMessageRequestUio"), exports);
|
|
56
56
|
__exportStar(require("./AppCommandsInnerUio"), exports);
|
|
57
|
+
__exportStar(require("./AppConfigurationColorsUio"), exports);
|
|
58
|
+
__exportStar(require("./AppConfigurationLanguageInnerUio"), exports);
|
|
59
|
+
__exportStar(require("./AppConfigurationTextIntroIOSViewUio"), exports);
|
|
60
|
+
__exportStar(require("./AppConfigurationTextSpeakIOSViewUio"), exports);
|
|
61
|
+
__exportStar(require("./AppConfigurationTextUio"), exports);
|
|
57
62
|
__exportStar(require("./AppConfigurationUio"), exports);
|
|
58
|
-
__exportStar(require("./AppConfigurationUpdateRequestUio"), exports);
|
|
59
63
|
__exportStar(require("./AppCreateRequestUio"), exports);
|
|
60
64
|
__exportStar(require("./AppEphemeralInstancesUio"), exports);
|
|
61
65
|
__exportStar(require("./AppFlowCreateRequestUio"), exports);
|
package/dist/openapi.json
CHANGED
|
@@ -2214,7 +2214,7 @@
|
|
|
2214
2214
|
"content" : {
|
|
2215
2215
|
"application/json" : {
|
|
2216
2216
|
"schema" : {
|
|
2217
|
-
"$ref" : "#/components/schemas/
|
|
2217
|
+
"$ref" : "#/components/schemas/AppConfiguration"
|
|
2218
2218
|
}
|
|
2219
2219
|
}
|
|
2220
2220
|
},
|
|
@@ -9321,13 +9321,34 @@
|
|
|
9321
9321
|
"type" : "object"
|
|
9322
9322
|
},
|
|
9323
9323
|
"AppConfiguration" : {
|
|
9324
|
-
"additionalProperties" :
|
|
9324
|
+
"additionalProperties" : false,
|
|
9325
9325
|
"properties" : {
|
|
9326
|
+
"colors" : {
|
|
9327
|
+
"$ref" : "#/components/schemas/AppConfiguration_colors"
|
|
9328
|
+
},
|
|
9329
|
+
"text" : {
|
|
9330
|
+
"$ref" : "#/components/schemas/AppConfiguration_text"
|
|
9331
|
+
},
|
|
9332
|
+
"image" : {
|
|
9333
|
+
"type" : "string"
|
|
9334
|
+
},
|
|
9335
|
+
"agentImage" : {
|
|
9336
|
+
"type" : "string"
|
|
9337
|
+
},
|
|
9338
|
+
"language" : {
|
|
9339
|
+
"items" : {
|
|
9340
|
+
"$ref" : "#/components/schemas/AppConfiguration_language_inner"
|
|
9341
|
+
},
|
|
9342
|
+
"type" : "array"
|
|
9343
|
+
},
|
|
9326
9344
|
"date" : {
|
|
9345
|
+
"format" : "date-time",
|
|
9346
|
+
"type" : "string"
|
|
9347
|
+
},
|
|
9348
|
+
"defaultLanguage" : {
|
|
9327
9349
|
"type" : "string"
|
|
9328
9350
|
}
|
|
9329
9351
|
},
|
|
9330
|
-
"required" : [ "date" ],
|
|
9331
9352
|
"type" : "object"
|
|
9332
9353
|
},
|
|
9333
9354
|
"AppUpdateRequest" : {
|
|
@@ -9516,15 +9537,6 @@
|
|
|
9516
9537
|
"required" : [ "date" ],
|
|
9517
9538
|
"type" : "object"
|
|
9518
9539
|
},
|
|
9519
|
-
"AppConfigurationUpdateRequest" : {
|
|
9520
|
-
"additionalProperties" : true,
|
|
9521
|
-
"properties" : {
|
|
9522
|
-
"date" : {
|
|
9523
|
-
"type" : "string"
|
|
9524
|
-
}
|
|
9525
|
-
},
|
|
9526
|
-
"type" : "object"
|
|
9527
|
-
},
|
|
9528
9540
|
"AppTextToSpeechRequest" : {
|
|
9529
9541
|
"properties" : {
|
|
9530
9542
|
"text" : {
|
|
@@ -11682,6 +11694,160 @@
|
|
|
11682
11694
|
},
|
|
11683
11695
|
"type" : "object"
|
|
11684
11696
|
},
|
|
11697
|
+
"AppConfiguration_colors" : {
|
|
11698
|
+
"additionalProperties" : false,
|
|
11699
|
+
"properties" : {
|
|
11700
|
+
"primaryColors" : {
|
|
11701
|
+
"type" : "string"
|
|
11702
|
+
},
|
|
11703
|
+
"secondaryColors" : {
|
|
11704
|
+
"type" : "string"
|
|
11705
|
+
},
|
|
11706
|
+
"interruptColors" : {
|
|
11707
|
+
"type" : "string"
|
|
11708
|
+
},
|
|
11709
|
+
"wrongPushColors" : {
|
|
11710
|
+
"type" : "string"
|
|
11711
|
+
},
|
|
11712
|
+
"topTextColors" : {
|
|
11713
|
+
"type" : "string"
|
|
11714
|
+
},
|
|
11715
|
+
"primaryTextColors" : {
|
|
11716
|
+
"type" : "string"
|
|
11717
|
+
},
|
|
11718
|
+
"secondaryTextColors" : {
|
|
11719
|
+
"type" : "string"
|
|
11720
|
+
}
|
|
11721
|
+
},
|
|
11722
|
+
"type" : "object"
|
|
11723
|
+
},
|
|
11724
|
+
"AppConfiguration_text_introIOSView" : {
|
|
11725
|
+
"additionalProperties" : false,
|
|
11726
|
+
"properties" : {
|
|
11727
|
+
"topTextRotate" : {
|
|
11728
|
+
"additionalProperties" : {
|
|
11729
|
+
"type" : "string"
|
|
11730
|
+
},
|
|
11731
|
+
"type" : "object"
|
|
11732
|
+
},
|
|
11733
|
+
"topText1" : {
|
|
11734
|
+
"additionalProperties" : {
|
|
11735
|
+
"type" : "string"
|
|
11736
|
+
},
|
|
11737
|
+
"type" : "object"
|
|
11738
|
+
},
|
|
11739
|
+
"topText2" : {
|
|
11740
|
+
"additionalProperties" : {
|
|
11741
|
+
"type" : "string"
|
|
11742
|
+
},
|
|
11743
|
+
"type" : "object"
|
|
11744
|
+
},
|
|
11745
|
+
"primaryText1" : {
|
|
11746
|
+
"additionalProperties" : {
|
|
11747
|
+
"type" : "string"
|
|
11748
|
+
},
|
|
11749
|
+
"type" : "object"
|
|
11750
|
+
},
|
|
11751
|
+
"primaryText2" : {
|
|
11752
|
+
"additionalProperties" : {
|
|
11753
|
+
"type" : "string"
|
|
11754
|
+
},
|
|
11755
|
+
"type" : "object"
|
|
11756
|
+
},
|
|
11757
|
+
"buttonText" : {
|
|
11758
|
+
"additionalProperties" : {
|
|
11759
|
+
"type" : "string"
|
|
11760
|
+
},
|
|
11761
|
+
"type" : "object"
|
|
11762
|
+
},
|
|
11763
|
+
"quizzText" : {
|
|
11764
|
+
"additionalProperties" : {
|
|
11765
|
+
"type" : "string"
|
|
11766
|
+
},
|
|
11767
|
+
"type" : "object"
|
|
11768
|
+
},
|
|
11769
|
+
"bottomText" : {
|
|
11770
|
+
"additionalProperties" : {
|
|
11771
|
+
"type" : "string"
|
|
11772
|
+
},
|
|
11773
|
+
"type" : "object"
|
|
11774
|
+
}
|
|
11775
|
+
},
|
|
11776
|
+
"type" : "object"
|
|
11777
|
+
},
|
|
11778
|
+
"AppConfiguration_text_speakIOSView" : {
|
|
11779
|
+
"additionalProperties" : false,
|
|
11780
|
+
"properties" : {
|
|
11781
|
+
"quitText" : {
|
|
11782
|
+
"additionalProperties" : {
|
|
11783
|
+
"type" : "string"
|
|
11784
|
+
},
|
|
11785
|
+
"type" : "object"
|
|
11786
|
+
},
|
|
11787
|
+
"speakText" : {
|
|
11788
|
+
"additionalProperties" : {
|
|
11789
|
+
"type" : "string"
|
|
11790
|
+
},
|
|
11791
|
+
"type" : "object"
|
|
11792
|
+
},
|
|
11793
|
+
"interruptText" : {
|
|
11794
|
+
"additionalProperties" : {
|
|
11795
|
+
"type" : "string"
|
|
11796
|
+
},
|
|
11797
|
+
"type" : "object"
|
|
11798
|
+
},
|
|
11799
|
+
"wrongPushText" : {
|
|
11800
|
+
"additionalProperties" : {
|
|
11801
|
+
"type" : "string"
|
|
11802
|
+
},
|
|
11803
|
+
"type" : "object"
|
|
11804
|
+
},
|
|
11805
|
+
"suggestionUnderlineText" : {
|
|
11806
|
+
"additionalProperties" : {
|
|
11807
|
+
"type" : "string"
|
|
11808
|
+
},
|
|
11809
|
+
"type" : "object"
|
|
11810
|
+
},
|
|
11811
|
+
"suggestionText" : {
|
|
11812
|
+
"additionalProperties" : {
|
|
11813
|
+
"type" : "string"
|
|
11814
|
+
},
|
|
11815
|
+
"type" : "object"
|
|
11816
|
+
},
|
|
11817
|
+
"bottomText" : {
|
|
11818
|
+
"additionalProperties" : {
|
|
11819
|
+
"type" : "string"
|
|
11820
|
+
},
|
|
11821
|
+
"type" : "object"
|
|
11822
|
+
}
|
|
11823
|
+
},
|
|
11824
|
+
"type" : "object"
|
|
11825
|
+
},
|
|
11826
|
+
"AppConfiguration_text" : {
|
|
11827
|
+
"additionalProperties" : false,
|
|
11828
|
+
"properties" : {
|
|
11829
|
+
"introIOSView" : {
|
|
11830
|
+
"$ref" : "#/components/schemas/AppConfiguration_text_introIOSView"
|
|
11831
|
+
},
|
|
11832
|
+
"speakIOSView" : {
|
|
11833
|
+
"$ref" : "#/components/schemas/AppConfiguration_text_speakIOSView"
|
|
11834
|
+
}
|
|
11835
|
+
},
|
|
11836
|
+
"type" : "object"
|
|
11837
|
+
},
|
|
11838
|
+
"AppConfiguration_language_inner" : {
|
|
11839
|
+
"properties" : {
|
|
11840
|
+
"code" : {
|
|
11841
|
+
"example" : "fr",
|
|
11842
|
+
"type" : "string"
|
|
11843
|
+
},
|
|
11844
|
+
"label" : {
|
|
11845
|
+
"example" : "Français",
|
|
11846
|
+
"type" : "string"
|
|
11847
|
+
}
|
|
11848
|
+
},
|
|
11849
|
+
"type" : "object"
|
|
11850
|
+
},
|
|
11685
11851
|
"AppInstanceCreateRequest_oneOf" : {
|
|
11686
11852
|
"properties" : {
|
|
11687
11853
|
"name" : {
|
package/package.json
CHANGED
|
@@ -1,33 +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 AppConfigurationUpdateRequestUio
|
|
16
|
-
*/
|
|
17
|
-
export interface AppConfigurationUpdateRequestUio {
|
|
18
|
-
[key: string]: any | any;
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof AppConfigurationUpdateRequestUio
|
|
23
|
-
*/
|
|
24
|
-
date?: string;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the AppConfigurationUpdateRequestUio interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfAppConfigurationUpdateRequestUio(value: object): value is AppConfigurationUpdateRequestUio;
|
|
30
|
-
export declare function AppConfigurationUpdateRequestUioFromJSON(json: any): AppConfigurationUpdateRequestUio;
|
|
31
|
-
export declare function AppConfigurationUpdateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppConfigurationUpdateRequestUio;
|
|
32
|
-
export declare function AppConfigurationUpdateRequestUioToJSON(json: any): AppConfigurationUpdateRequestUio;
|
|
33
|
-
export declare function AppConfigurationUpdateRequestUioToJSONTyped(value?: AppConfigurationUpdateRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +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.instanceOfAppConfigurationUpdateRequestUio = instanceOfAppConfigurationUpdateRequestUio;
|
|
17
|
-
exports.AppConfigurationUpdateRequestUioFromJSON = AppConfigurationUpdateRequestUioFromJSON;
|
|
18
|
-
exports.AppConfigurationUpdateRequestUioFromJSONTyped = AppConfigurationUpdateRequestUioFromJSONTyped;
|
|
19
|
-
exports.AppConfigurationUpdateRequestUioToJSON = AppConfigurationUpdateRequestUioToJSON;
|
|
20
|
-
exports.AppConfigurationUpdateRequestUioToJSONTyped = AppConfigurationUpdateRequestUioToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the AppConfigurationUpdateRequestUio interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfAppConfigurationUpdateRequestUio(value) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
function AppConfigurationUpdateRequestUioFromJSON(json) {
|
|
28
|
-
return AppConfigurationUpdateRequestUioFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
function AppConfigurationUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
...json,
|
|
36
|
-
'date': json['date'] == null ? undefined : json['date'],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function AppConfigurationUpdateRequestUioToJSON(json) {
|
|
40
|
-
return AppConfigurationUpdateRequestUioToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function AppConfigurationUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
-
if (value == null) {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
...value,
|
|
48
|
-
'date': value['date'],
|
|
49
|
-
};
|
|
50
|
-
}
|