@breign/client 1.0.0 → 1.0.2
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/BrainApi.d.ts +290 -0
- package/dist/apis/BrainApi.js +637 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +19 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/AdditionalUio.d.ts +44 -0
- package/dist/models/AdditionalUio.js +58 -0
- package/dist/models/BrainFlowCreateUio.d.ts +53 -0
- package/dist/models/BrainFlowCreateUio.js +57 -0
- package/dist/models/BrainFlowUio.d.ts +65 -0
- package/dist/models/BrainFlowUio.js +65 -0
- package/dist/models/BrainMetricsEventUio.d.ts +65 -0
- package/dist/models/BrainMetricsEventUio.js +69 -0
- package/dist/models/BrainMetricsOverviewUio.d.ts +64 -0
- package/dist/models/BrainMetricsOverviewUio.js +68 -0
- package/dist/models/BrainMetricsUnitsTypeUio.d.ts +27 -0
- package/dist/models/BrainMetricsUnitsTypeUio.js +53 -0
- package/dist/models/BrainMetricsValueUio.d.ts +57 -0
- package/dist/models/BrainMetricsValueUio.js +63 -0
- package/dist/models/BrainModuleTypeUio.d.ts +25 -0
- package/dist/models/BrainModuleTypeUio.js +51 -0
- package/dist/models/BrainModuleUio.d.ts +51 -0
- package/dist/models/BrainModuleUio.js +61 -0
- package/dist/models/BrainPatchUio.d.ts +166 -0
- package/dist/models/BrainPatchUio.js +108 -0
- package/dist/models/BrainRequestImageBrainUio.d.ts +50 -0
- package/dist/models/BrainRequestImageBrainUio.js +62 -0
- package/dist/models/BrainRequestUio.d.ts +114 -0
- package/dist/models/BrainRequestUio.js +88 -0
- package/dist/models/BrainSubscriptionTextInteractionsUio.d.ts +39 -0
- package/dist/models/BrainSubscriptionTextInteractionsUio.js +55 -0
- package/dist/models/BrainSubscriptionUio.d.ts +57 -0
- package/dist/models/BrainSubscriptionUio.js +63 -0
- package/dist/models/BrainUio.d.ts +166 -0
- package/dist/models/BrainUio.js +108 -0
- package/dist/models/BrainUsageMetricsIdUio.d.ts +44 -0
- package/dist/models/BrainUsageMetricsIdUio.js +52 -0
- package/dist/models/BrainUsageMetricsUio.d.ts +46 -0
- package/dist/models/BrainUsageMetricsUio.js +54 -0
- package/dist/models/ContentsToolsUio.d.ts +44 -0
- package/dist/models/ContentsToolsUio.js +52 -0
- package/dist/models/CostMetricUio.d.ts +45 -0
- package/dist/models/CostMetricUio.js +57 -0
- package/dist/models/EngineTypeUio.d.ts +25 -0
- package/dist/models/EngineTypeUio.js +51 -0
- package/dist/models/EngineUio.d.ts +41 -0
- package/dist/models/EngineUio.js +55 -0
- package/dist/models/FileCreationRequestUio.d.ts +50 -0
- package/dist/models/FileCreationRequestUio.js +62 -0
- package/dist/models/FileStatusUio.d.ts +25 -0
- package/dist/models/FileStatusUio.js +51 -0
- package/dist/models/FileUio.d.ts +75 -0
- package/dist/models/FileUio.js +79 -0
- package/dist/models/FlowContentsSuggestionUio.d.ts +38 -0
- package/dist/models/FlowContentsSuggestionUio.js +54 -0
- package/dist/models/FlowContentsUio.d.ts +64 -0
- package/dist/models/FlowContentsUio.js +60 -0
- package/dist/models/FlowEntrypointsUio.d.ts +38 -0
- package/dist/models/FlowEntrypointsUio.js +52 -0
- package/dist/models/FlowOptionsUio.d.ts +46 -0
- package/dist/models/FlowOptionsUio.js +54 -0
- package/dist/models/PersonaUio.d.ts +33 -0
- package/dist/models/PersonaUio.js +52 -0
- package/dist/models/PromptInitUio.d.ts +33 -0
- package/dist/models/PromptInitUio.js +52 -0
- package/dist/models/SubscriptionMetricUio.d.ts +56 -0
- package/dist/models/SubscriptionMetricUio.js +56 -0
- package/dist/models/TransactionUio.d.ts +38 -0
- package/dist/models/TransactionUio.js +54 -0
- package/dist/models/index.d.ts +32 -0
- package/dist/models/index.js +50 -0
- package/dist/openapi.json +1668 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +338 -0
- package/package.json +11 -5
- package/README.md +0 -10
|
@@ -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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FlowOptionsUio
|
|
16
|
+
*/
|
|
17
|
+
export interface FlowOptionsUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {{ [key: string]: object; }}
|
|
21
|
+
* @memberof FlowOptionsUio
|
|
22
|
+
*/
|
|
23
|
+
conditions: {
|
|
24
|
+
[key: string]: object;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {object}
|
|
29
|
+
* @memberof FlowOptionsUio
|
|
30
|
+
*/
|
|
31
|
+
exits?: object;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {object}
|
|
35
|
+
* @memberof FlowOptionsUio
|
|
36
|
+
*/
|
|
37
|
+
contents?: object;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the FlowOptionsUio interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfFlowOptionsUio(value: object): value is FlowOptionsUio;
|
|
43
|
+
export declare function FlowOptionsUioFromJSON(json: any): FlowOptionsUio;
|
|
44
|
+
export declare function FlowOptionsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowOptionsUio;
|
|
45
|
+
export declare function FlowOptionsUioToJSON(json: any): FlowOptionsUio;
|
|
46
|
+
export declare function FlowOptionsUioToJSONTyped(value?: FlowOptionsUio | 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.instanceOfFlowOptionsUio = instanceOfFlowOptionsUio;
|
|
17
|
+
exports.FlowOptionsUioFromJSON = FlowOptionsUioFromJSON;
|
|
18
|
+
exports.FlowOptionsUioFromJSONTyped = FlowOptionsUioFromJSONTyped;
|
|
19
|
+
exports.FlowOptionsUioToJSON = FlowOptionsUioToJSON;
|
|
20
|
+
exports.FlowOptionsUioToJSONTyped = FlowOptionsUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the FlowOptionsUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfFlowOptionsUio(value) {
|
|
25
|
+
if (!('conditions' in value) || value['conditions'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function FlowOptionsUioFromJSON(json) {
|
|
30
|
+
return FlowOptionsUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function FlowOptionsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'conditions': json['conditions'],
|
|
38
|
+
'exits': json['exits'] == null ? undefined : json['exits'],
|
|
39
|
+
'contents': json['contents'] == null ? undefined : json['contents'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function FlowOptionsUioToJSON(json) {
|
|
43
|
+
return FlowOptionsUioToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function FlowOptionsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'conditions': value['conditions'],
|
|
51
|
+
'exits': value['exits'],
|
|
52
|
+
'contents': value['contents'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PersonaUio
|
|
16
|
+
*/
|
|
17
|
+
export interface PersonaUio {
|
|
18
|
+
[key: string]: string | any;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof PersonaUio
|
|
23
|
+
*/
|
|
24
|
+
_default: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the PersonaUio interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfPersonaUio(value: object): value is PersonaUio;
|
|
30
|
+
export declare function PersonaUioFromJSON(json: any): PersonaUio;
|
|
31
|
+
export declare function PersonaUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): PersonaUio;
|
|
32
|
+
export declare function PersonaUioToJSON(json: any): PersonaUio;
|
|
33
|
+
export declare function PersonaUioToJSONTyped(value?: PersonaUio | 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.instanceOfPersonaUio = instanceOfPersonaUio;
|
|
17
|
+
exports.PersonaUioFromJSON = PersonaUioFromJSON;
|
|
18
|
+
exports.PersonaUioFromJSONTyped = PersonaUioFromJSONTyped;
|
|
19
|
+
exports.PersonaUioToJSON = PersonaUioToJSON;
|
|
20
|
+
exports.PersonaUioToJSONTyped = PersonaUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PersonaUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPersonaUio(value) {
|
|
25
|
+
if (!('_default' in value) || value['_default'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PersonaUioFromJSON(json) {
|
|
30
|
+
return PersonaUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PersonaUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
...json,
|
|
38
|
+
'_default': json['default'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function PersonaUioToJSON(json) {
|
|
42
|
+
return PersonaUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function PersonaUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
...value,
|
|
50
|
+
'default': value['_default'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PromptInitUio
|
|
16
|
+
*/
|
|
17
|
+
export interface PromptInitUio {
|
|
18
|
+
[key: string]: string | any;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof PromptInitUio
|
|
23
|
+
*/
|
|
24
|
+
_default: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the PromptInitUio interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfPromptInitUio(value: object): value is PromptInitUio;
|
|
30
|
+
export declare function PromptInitUioFromJSON(json: any): PromptInitUio;
|
|
31
|
+
export declare function PromptInitUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): PromptInitUio;
|
|
32
|
+
export declare function PromptInitUioToJSON(json: any): PromptInitUio;
|
|
33
|
+
export declare function PromptInitUioToJSONTyped(value?: PromptInitUio | 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.instanceOfPromptInitUio = instanceOfPromptInitUio;
|
|
17
|
+
exports.PromptInitUioFromJSON = PromptInitUioFromJSON;
|
|
18
|
+
exports.PromptInitUioFromJSONTyped = PromptInitUioFromJSONTyped;
|
|
19
|
+
exports.PromptInitUioToJSON = PromptInitUioToJSON;
|
|
20
|
+
exports.PromptInitUioToJSONTyped = PromptInitUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PromptInitUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPromptInitUio(value) {
|
|
25
|
+
if (!('_default' in value) || value['_default'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PromptInitUioFromJSON(json) {
|
|
30
|
+
return PromptInitUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PromptInitUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
...json,
|
|
38
|
+
'_default': json['default'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function PromptInitUioToJSON(json) {
|
|
42
|
+
return PromptInitUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function PromptInitUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
...value,
|
|
50
|
+
'default': value['_default'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 SubscriptionMetricUio
|
|
16
|
+
*/
|
|
17
|
+
export interface SubscriptionMetricUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof SubscriptionMetricUio
|
|
22
|
+
*/
|
|
23
|
+
textInteractions?: object;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof SubscriptionMetricUio
|
|
28
|
+
*/
|
|
29
|
+
voiceInteractions?: object;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof SubscriptionMetricUio
|
|
34
|
+
*/
|
|
35
|
+
canGoBeyondIncluded?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof SubscriptionMetricUio
|
|
40
|
+
*/
|
|
41
|
+
startDate?: Date;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof SubscriptionMetricUio
|
|
46
|
+
*/
|
|
47
|
+
endDate?: Date;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the SubscriptionMetricUio interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfSubscriptionMetricUio(value: object): value is SubscriptionMetricUio;
|
|
53
|
+
export declare function SubscriptionMetricUioFromJSON(json: any): SubscriptionMetricUio;
|
|
54
|
+
export declare function SubscriptionMetricUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionMetricUio;
|
|
55
|
+
export declare function SubscriptionMetricUioToJSON(json: any): SubscriptionMetricUio;
|
|
56
|
+
export declare function SubscriptionMetricUioToJSONTyped(value?: SubscriptionMetricUio | 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.instanceOfSubscriptionMetricUio = instanceOfSubscriptionMetricUio;
|
|
17
|
+
exports.SubscriptionMetricUioFromJSON = SubscriptionMetricUioFromJSON;
|
|
18
|
+
exports.SubscriptionMetricUioFromJSONTyped = SubscriptionMetricUioFromJSONTyped;
|
|
19
|
+
exports.SubscriptionMetricUioToJSON = SubscriptionMetricUioToJSON;
|
|
20
|
+
exports.SubscriptionMetricUioToJSONTyped = SubscriptionMetricUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SubscriptionMetricUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSubscriptionMetricUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function SubscriptionMetricUioFromJSON(json) {
|
|
28
|
+
return SubscriptionMetricUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function SubscriptionMetricUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'textInteractions': json['textInteractions'] == null ? undefined : json['textInteractions'],
|
|
36
|
+
'voiceInteractions': json['voiceInteractions'] == null ? undefined : json['voiceInteractions'],
|
|
37
|
+
'canGoBeyondIncluded': json['canGoBeyondIncluded'] == null ? undefined : json['canGoBeyondIncluded'],
|
|
38
|
+
'startDate': json['startDate'] == null ? undefined : (new Date(json['startDate'])),
|
|
39
|
+
'endDate': json['endDate'] == null ? undefined : (new Date(json['endDate'])),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function SubscriptionMetricUioToJSON(json) {
|
|
43
|
+
return SubscriptionMetricUioToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function SubscriptionMetricUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'textInteractions': value['textInteractions'],
|
|
51
|
+
'voiceInteractions': value['voiceInteractions'],
|
|
52
|
+
'canGoBeyondIncluded': value['canGoBeyondIncluded'],
|
|
53
|
+
'startDate': value['startDate'] == null ? undefined : ((value['startDate']).toISOString()),
|
|
54
|
+
'endDate': value['endDate'] == null ? undefined : ((value['endDate']).toISOString()),
|
|
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 TransactionUio
|
|
16
|
+
*/
|
|
17
|
+
export interface TransactionUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TransactionUio
|
|
22
|
+
*/
|
|
23
|
+
amount: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TransactionUio
|
|
28
|
+
*/
|
|
29
|
+
currency: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the TransactionUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfTransactionUio(value: object): value is TransactionUio;
|
|
35
|
+
export declare function TransactionUioFromJSON(json: any): TransactionUio;
|
|
36
|
+
export declare function TransactionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionUio;
|
|
37
|
+
export declare function TransactionUioToJSON(json: any): TransactionUio;
|
|
38
|
+
export declare function TransactionUioToJSONTyped(value?: TransactionUio | 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.instanceOfTransactionUio = instanceOfTransactionUio;
|
|
17
|
+
exports.TransactionUioFromJSON = TransactionUioFromJSON;
|
|
18
|
+
exports.TransactionUioFromJSONTyped = TransactionUioFromJSONTyped;
|
|
19
|
+
exports.TransactionUioToJSON = TransactionUioToJSON;
|
|
20
|
+
exports.TransactionUioToJSONTyped = TransactionUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the TransactionUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfTransactionUio(value) {
|
|
25
|
+
if (!('amount' in value) || value['amount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('currency' in value) || value['currency'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function TransactionUioFromJSON(json) {
|
|
32
|
+
return TransactionUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function TransactionUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'amount': json['amount'],
|
|
40
|
+
'currency': json['currency'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function TransactionUioToJSON(json) {
|
|
44
|
+
return TransactionUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function TransactionUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'amount': value['amount'],
|
|
52
|
+
'currency': value['currency'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export * from './AdditionalUio';
|
|
2
|
+
export * from './BrainFlowCreateUio';
|
|
3
|
+
export * from './BrainFlowUio';
|
|
4
|
+
export * from './BrainMetricsEventUio';
|
|
5
|
+
export * from './BrainMetricsOverviewUio';
|
|
6
|
+
export * from './BrainMetricsUnitsTypeUio';
|
|
7
|
+
export * from './BrainMetricsValueUio';
|
|
8
|
+
export * from './BrainModuleTypeUio';
|
|
9
|
+
export * from './BrainModuleUio';
|
|
10
|
+
export * from './BrainPatchUio';
|
|
11
|
+
export * from './BrainRequestImageBrainUio';
|
|
12
|
+
export * from './BrainRequestUio';
|
|
13
|
+
export * from './BrainSubscriptionTextInteractionsUio';
|
|
14
|
+
export * from './BrainSubscriptionUio';
|
|
15
|
+
export * from './BrainUio';
|
|
16
|
+
export * from './BrainUsageMetricsIdUio';
|
|
17
|
+
export * from './BrainUsageMetricsUio';
|
|
18
|
+
export * from './ContentsToolsUio';
|
|
19
|
+
export * from './CostMetricUio';
|
|
20
|
+
export * from './EngineTypeUio';
|
|
21
|
+
export * from './EngineUio';
|
|
22
|
+
export * from './FileCreationRequestUio';
|
|
23
|
+
export * from './FileStatusUio';
|
|
24
|
+
export * from './FileUio';
|
|
25
|
+
export * from './FlowContentsSuggestionUio';
|
|
26
|
+
export * from './FlowContentsUio';
|
|
27
|
+
export * from './FlowEntrypointsUio';
|
|
28
|
+
export * from './FlowOptionsUio';
|
|
29
|
+
export * from './PersonaUio';
|
|
30
|
+
export * from './PromptInitUio';
|
|
31
|
+
export * from './SubscriptionMetricUio';
|
|
32
|
+
export * from './TransactionUio';
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/* tslint:disable */
|
|
18
|
+
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./AdditionalUio"), exports);
|
|
20
|
+
__exportStar(require("./BrainFlowCreateUio"), exports);
|
|
21
|
+
__exportStar(require("./BrainFlowUio"), exports);
|
|
22
|
+
__exportStar(require("./BrainMetricsEventUio"), exports);
|
|
23
|
+
__exportStar(require("./BrainMetricsOverviewUio"), exports);
|
|
24
|
+
__exportStar(require("./BrainMetricsUnitsTypeUio"), exports);
|
|
25
|
+
__exportStar(require("./BrainMetricsValueUio"), exports);
|
|
26
|
+
__exportStar(require("./BrainModuleTypeUio"), exports);
|
|
27
|
+
__exportStar(require("./BrainModuleUio"), exports);
|
|
28
|
+
__exportStar(require("./BrainPatchUio"), exports);
|
|
29
|
+
__exportStar(require("./BrainRequestImageBrainUio"), exports);
|
|
30
|
+
__exportStar(require("./BrainRequestUio"), exports);
|
|
31
|
+
__exportStar(require("./BrainSubscriptionTextInteractionsUio"), exports);
|
|
32
|
+
__exportStar(require("./BrainSubscriptionUio"), exports);
|
|
33
|
+
__exportStar(require("./BrainUio"), exports);
|
|
34
|
+
__exportStar(require("./BrainUsageMetricsIdUio"), exports);
|
|
35
|
+
__exportStar(require("./BrainUsageMetricsUio"), exports);
|
|
36
|
+
__exportStar(require("./ContentsToolsUio"), exports);
|
|
37
|
+
__exportStar(require("./CostMetricUio"), exports);
|
|
38
|
+
__exportStar(require("./EngineTypeUio"), exports);
|
|
39
|
+
__exportStar(require("./EngineUio"), exports);
|
|
40
|
+
__exportStar(require("./FileCreationRequestUio"), exports);
|
|
41
|
+
__exportStar(require("./FileStatusUio"), exports);
|
|
42
|
+
__exportStar(require("./FileUio"), exports);
|
|
43
|
+
__exportStar(require("./FlowContentsSuggestionUio"), exports);
|
|
44
|
+
__exportStar(require("./FlowContentsUio"), exports);
|
|
45
|
+
__exportStar(require("./FlowEntrypointsUio"), exports);
|
|
46
|
+
__exportStar(require("./FlowOptionsUio"), exports);
|
|
47
|
+
__exportStar(require("./PersonaUio"), exports);
|
|
48
|
+
__exportStar(require("./PromptInitUio"), exports);
|
|
49
|
+
__exportStar(require("./SubscriptionMetricUio"), exports);
|
|
50
|
+
__exportStar(require("./TransactionUio"), exports);
|