@breign/client 1.0.47 → 1.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/models/AgentUio.d.ts +14 -0
- package/dist/models/AgentUio.js +10 -0
- package/dist/models/AppEphemeralInstancesUio.d.ts +38 -0
- package/dist/models/AppEphemeralInstancesUio.js +50 -0
- package/dist/models/AppInstanceCreateRequestOneOfUio.d.ts +32 -0
- package/dist/models/AppInstanceCreateRequestOneOfUio.js +50 -0
- package/dist/models/AppInstanceCreateRequestUio.d.ts +5 -14
- package/dist/models/AppInstanceCreateRequestUio.js +22 -15
- package/dist/models/AppInstanceEphemeralCreateRequestUio.d.ts +44 -0
- package/dist/models/AppInstanceEphemeralCreateRequestUio.js +56 -0
- package/dist/models/AppInstancesInnerUio.d.ts +23 -0
- package/dist/models/AppInstancesInnerUio.js +57 -0
- package/dist/models/AppUio.d.ts +10 -3
- package/dist/models/AppUio.js +6 -3
- package/dist/models/EphemeralInstanceUio.d.ts +74 -0
- package/dist/models/EphemeralInstanceUio.js +78 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/openapi.json +80 -2
- package/package.json +1 -1
|
@@ -209,7 +209,21 @@ export interface AgentUio {
|
|
|
209
209
|
* @memberof AgentUio
|
|
210
210
|
*/
|
|
211
211
|
creator?: AgentCreatorUio;
|
|
212
|
+
/**
|
|
213
|
+
*
|
|
214
|
+
* @type {string}
|
|
215
|
+
* @memberof AgentUio
|
|
216
|
+
*/
|
|
217
|
+
providerSource?: AgentUioProviderSourceEnum;
|
|
212
218
|
}
|
|
219
|
+
/**
|
|
220
|
+
* @export
|
|
221
|
+
*/
|
|
222
|
+
export declare const AgentUioProviderSourceEnum: {
|
|
223
|
+
readonly External: "EXTERNAL";
|
|
224
|
+
readonly Internal: "INTERNAL";
|
|
225
|
+
};
|
|
226
|
+
export type AgentUioProviderSourceEnum = typeof AgentUioProviderSourceEnum[keyof typeof AgentUioProviderSourceEnum];
|
|
213
227
|
/**
|
|
214
228
|
* Check if a given object implements the AgentUio interface.
|
|
215
229
|
*/
|
package/dist/models/AgentUio.js
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.AgentUioProviderSourceEnum = void 0;
|
|
16
17
|
exports.instanceOfAgentUio = instanceOfAgentUio;
|
|
17
18
|
exports.AgentUioFromJSON = AgentUioFromJSON;
|
|
18
19
|
exports.AgentUioFromJSONTyped = AgentUioFromJSONTyped;
|
|
@@ -26,6 +27,13 @@ const AgentCreatorUio_1 = require("./AgentCreatorUio");
|
|
|
26
27
|
const EngineUio_1 = require("./EngineUio");
|
|
27
28
|
const PromptInitUio_1 = require("./PromptInitUio");
|
|
28
29
|
const AgentTypeUio_1 = require("./AgentTypeUio");
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
exports.AgentUioProviderSourceEnum = {
|
|
34
|
+
External: 'EXTERNAL',
|
|
35
|
+
Internal: 'INTERNAL'
|
|
36
|
+
};
|
|
29
37
|
/**
|
|
30
38
|
* Check if a given object implements the AgentUio interface.
|
|
31
39
|
*/
|
|
@@ -82,6 +90,7 @@ function AgentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
82
90
|
'personal': json['personal'] == null ? undefined : json['personal'],
|
|
83
91
|
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
84
92
|
'creator': json['creator'] == null ? undefined : (0, AgentCreatorUio_1.AgentCreatorUioFromJSON)(json['creator']),
|
|
93
|
+
'providerSource': json['providerSource'] == null ? undefined : json['providerSource'],
|
|
85
94
|
};
|
|
86
95
|
}
|
|
87
96
|
function AgentUioToJSON(json) {
|
|
@@ -122,5 +131,6 @@ function AgentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
122
131
|
'personal': value['personal'],
|
|
123
132
|
'createdBy': value['createdBy'],
|
|
124
133
|
'creator': (0, AgentCreatorUio_1.AgentCreatorUioToJSON)(value['creator']),
|
|
134
|
+
'providerSource': value['providerSource'],
|
|
125
135
|
};
|
|
126
136
|
}
|
|
@@ -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 AppEphemeralInstancesUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AppEphemeralInstancesUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof AppEphemeralInstancesUio
|
|
22
|
+
*/
|
|
23
|
+
allowed?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AppEphemeralInstancesUio
|
|
28
|
+
*/
|
|
29
|
+
maxInstances?: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AppEphemeralInstancesUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAppEphemeralInstancesUio(value: object): value is AppEphemeralInstancesUio;
|
|
35
|
+
export declare function AppEphemeralInstancesUioFromJSON(json: any): AppEphemeralInstancesUio;
|
|
36
|
+
export declare function AppEphemeralInstancesUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppEphemeralInstancesUio;
|
|
37
|
+
export declare function AppEphemeralInstancesUioToJSON(json: any): AppEphemeralInstancesUio;
|
|
38
|
+
export declare function AppEphemeralInstancesUioToJSONTyped(value?: AppEphemeralInstancesUio | 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.instanceOfAppEphemeralInstancesUio = instanceOfAppEphemeralInstancesUio;
|
|
17
|
+
exports.AppEphemeralInstancesUioFromJSON = AppEphemeralInstancesUioFromJSON;
|
|
18
|
+
exports.AppEphemeralInstancesUioFromJSONTyped = AppEphemeralInstancesUioFromJSONTyped;
|
|
19
|
+
exports.AppEphemeralInstancesUioToJSON = AppEphemeralInstancesUioToJSON;
|
|
20
|
+
exports.AppEphemeralInstancesUioToJSONTyped = AppEphemeralInstancesUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AppEphemeralInstancesUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAppEphemeralInstancesUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function AppEphemeralInstancesUioFromJSON(json) {
|
|
28
|
+
return AppEphemeralInstancesUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function AppEphemeralInstancesUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'allowed': json['allowed'] == null ? undefined : json['allowed'],
|
|
36
|
+
'maxInstances': json['maxInstances'] == null ? undefined : json['maxInstances'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function AppEphemeralInstancesUioToJSON(json) {
|
|
40
|
+
return AppEphemeralInstancesUioToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AppEphemeralInstancesUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'allowed': value['allowed'],
|
|
48
|
+
'maxInstances': value['maxInstances'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AppInstanceCreateRequestOneOfUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AppInstanceCreateRequestOneOfUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AppInstanceCreateRequestOneOfUio
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AppInstanceCreateRequestOneOfUio interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfAppInstanceCreateRequestOneOfUio(value: object): value is AppInstanceCreateRequestOneOfUio;
|
|
29
|
+
export declare function AppInstanceCreateRequestOneOfUioFromJSON(json: any): AppInstanceCreateRequestOneOfUio;
|
|
30
|
+
export declare function AppInstanceCreateRequestOneOfUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppInstanceCreateRequestOneOfUio;
|
|
31
|
+
export declare function AppInstanceCreateRequestOneOfUioToJSON(json: any): AppInstanceCreateRequestOneOfUio;
|
|
32
|
+
export declare function AppInstanceCreateRequestOneOfUioToJSONTyped(value?: AppInstanceCreateRequestOneOfUio | 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.instanceOfAppInstanceCreateRequestOneOfUio = instanceOfAppInstanceCreateRequestOneOfUio;
|
|
17
|
+
exports.AppInstanceCreateRequestOneOfUioFromJSON = AppInstanceCreateRequestOneOfUioFromJSON;
|
|
18
|
+
exports.AppInstanceCreateRequestOneOfUioFromJSONTyped = AppInstanceCreateRequestOneOfUioFromJSONTyped;
|
|
19
|
+
exports.AppInstanceCreateRequestOneOfUioToJSON = AppInstanceCreateRequestOneOfUioToJSON;
|
|
20
|
+
exports.AppInstanceCreateRequestOneOfUioToJSONTyped = AppInstanceCreateRequestOneOfUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AppInstanceCreateRequestOneOfUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAppInstanceCreateRequestOneOfUio(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AppInstanceCreateRequestOneOfUioFromJSON(json) {
|
|
30
|
+
return AppInstanceCreateRequestOneOfUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AppInstanceCreateRequestOneOfUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function AppInstanceCreateRequestOneOfUioToJSON(json) {
|
|
41
|
+
return AppInstanceCreateRequestOneOfUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AppInstanceCreateRequestOneOfUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'name': value['name'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -9,24 +9,15 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { AppInstanceCreateRequestOneOfUio } from './AppInstanceCreateRequestOneOfUio';
|
|
13
|
+
import type { AppInstanceEphemeralCreateRequestUio } from './AppInstanceEphemeralCreateRequestUio';
|
|
12
14
|
/**
|
|
15
|
+
* @type AppInstanceCreateRequestUio
|
|
13
16
|
*
|
|
14
17
|
* @export
|
|
15
|
-
* @interface AppInstanceCreateRequestUio
|
|
16
18
|
*/
|
|
17
|
-
export
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AppInstanceCreateRequestUio
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the AppInstanceCreateRequestUio interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfAppInstanceCreateRequestUio(value: object): value is AppInstanceCreateRequestUio;
|
|
19
|
+
export type AppInstanceCreateRequestUio = AppInstanceCreateRequestOneOfUio | AppInstanceEphemeralCreateRequestUio;
|
|
29
20
|
export declare function AppInstanceCreateRequestUioFromJSON(json: any): AppInstanceCreateRequestUio;
|
|
30
21
|
export declare function AppInstanceCreateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppInstanceCreateRequestUio;
|
|
31
|
-
export declare function AppInstanceCreateRequestUioToJSON(json: any):
|
|
22
|
+
export declare function AppInstanceCreateRequestUioToJSON(json: any): any;
|
|
32
23
|
export declare function AppInstanceCreateRequestUioToJSONTyped(value?: AppInstanceCreateRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,19 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfAppInstanceCreateRequestUio = instanceOfAppInstanceCreateRequestUio;
|
|
17
16
|
exports.AppInstanceCreateRequestUioFromJSON = AppInstanceCreateRequestUioFromJSON;
|
|
18
17
|
exports.AppInstanceCreateRequestUioFromJSONTyped = AppInstanceCreateRequestUioFromJSONTyped;
|
|
19
18
|
exports.AppInstanceCreateRequestUioToJSON = AppInstanceCreateRequestUioToJSON;
|
|
20
19
|
exports.AppInstanceCreateRequestUioToJSONTyped = AppInstanceCreateRequestUioToJSONTyped;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfAppInstanceCreateRequestUio(value) {
|
|
25
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
20
|
+
const AppInstanceCreateRequestOneOfUio_1 = require("./AppInstanceCreateRequestOneOfUio");
|
|
21
|
+
const AppInstanceEphemeralCreateRequestUio_1 = require("./AppInstanceEphemeralCreateRequestUio");
|
|
29
22
|
function AppInstanceCreateRequestUioFromJSON(json) {
|
|
30
23
|
return AppInstanceCreateRequestUioFromJSONTyped(json, false);
|
|
31
24
|
}
|
|
@@ -33,9 +26,16 @@ function AppInstanceCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
26
|
if (json == null) {
|
|
34
27
|
return json;
|
|
35
28
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
29
|
+
if (typeof json !== 'object') {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
if ((0, AppInstanceCreateRequestOneOfUio_1.instanceOfAppInstanceCreateRequestOneOfUio)(json)) {
|
|
33
|
+
return (0, AppInstanceCreateRequestOneOfUio_1.AppInstanceCreateRequestOneOfUioFromJSONTyped)(json, true);
|
|
34
|
+
}
|
|
35
|
+
if ((0, AppInstanceEphemeralCreateRequestUio_1.instanceOfAppInstanceEphemeralCreateRequestUio)(json)) {
|
|
36
|
+
return (0, AppInstanceEphemeralCreateRequestUio_1.AppInstanceEphemeralCreateRequestUioFromJSONTyped)(json, true);
|
|
37
|
+
}
|
|
38
|
+
return {};
|
|
39
39
|
}
|
|
40
40
|
function AppInstanceCreateRequestUioToJSON(json) {
|
|
41
41
|
return AppInstanceCreateRequestUioToJSONTyped(json, false);
|
|
@@ -44,7 +44,14 @@ function AppInstanceCreateRequestUioToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
44
44
|
if (value == null) {
|
|
45
45
|
return value;
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
47
|
+
if (typeof value !== 'object') {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
if ((0, AppInstanceCreateRequestOneOfUio_1.instanceOfAppInstanceCreateRequestOneOfUio)(value)) {
|
|
51
|
+
return (0, AppInstanceCreateRequestOneOfUio_1.AppInstanceCreateRequestOneOfUioToJSON)(value);
|
|
52
|
+
}
|
|
53
|
+
if ((0, AppInstanceEphemeralCreateRequestUio_1.instanceOfAppInstanceEphemeralCreateRequestUio)(value)) {
|
|
54
|
+
return (0, AppInstanceEphemeralCreateRequestUio_1.AppInstanceEphemeralCreateRequestUioToJSON)(value);
|
|
55
|
+
}
|
|
56
|
+
return {};
|
|
50
57
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AppInstanceEphemeralCreateRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AppInstanceEphemeralCreateRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AppInstanceEphemeralCreateRequestUio
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof AppInstanceEphemeralCreateRequestUio
|
|
28
|
+
*/
|
|
29
|
+
ephemeral: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AppInstanceEphemeralCreateRequestUio
|
|
34
|
+
*/
|
|
35
|
+
urlWebsite?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the AppInstanceEphemeralCreateRequestUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfAppInstanceEphemeralCreateRequestUio(value: object): value is AppInstanceEphemeralCreateRequestUio;
|
|
41
|
+
export declare function AppInstanceEphemeralCreateRequestUioFromJSON(json: any): AppInstanceEphemeralCreateRequestUio;
|
|
42
|
+
export declare function AppInstanceEphemeralCreateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppInstanceEphemeralCreateRequestUio;
|
|
43
|
+
export declare function AppInstanceEphemeralCreateRequestUioToJSON(json: any): AppInstanceEphemeralCreateRequestUio;
|
|
44
|
+
export declare function AppInstanceEphemeralCreateRequestUioToJSONTyped(value?: AppInstanceEphemeralCreateRequestUio | 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.instanceOfAppInstanceEphemeralCreateRequestUio = instanceOfAppInstanceEphemeralCreateRequestUio;
|
|
17
|
+
exports.AppInstanceEphemeralCreateRequestUioFromJSON = AppInstanceEphemeralCreateRequestUioFromJSON;
|
|
18
|
+
exports.AppInstanceEphemeralCreateRequestUioFromJSONTyped = AppInstanceEphemeralCreateRequestUioFromJSONTyped;
|
|
19
|
+
exports.AppInstanceEphemeralCreateRequestUioToJSON = AppInstanceEphemeralCreateRequestUioToJSON;
|
|
20
|
+
exports.AppInstanceEphemeralCreateRequestUioToJSONTyped = AppInstanceEphemeralCreateRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AppInstanceEphemeralCreateRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAppInstanceEphemeralCreateRequestUio(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('ephemeral' in value) || value['ephemeral'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function AppInstanceEphemeralCreateRequestUioFromJSON(json) {
|
|
32
|
+
return AppInstanceEphemeralCreateRequestUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function AppInstanceEphemeralCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'ephemeral': json['ephemeral'],
|
|
41
|
+
'urlWebsite': json['urlWebsite'] == null ? undefined : json['urlWebsite'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function AppInstanceEphemeralCreateRequestUioToJSON(json) {
|
|
45
|
+
return AppInstanceEphemeralCreateRequestUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function AppInstanceEphemeralCreateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
'ephemeral': value['ephemeral'],
|
|
54
|
+
'urlWebsite': value['urlWebsite'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { EphemeralInstanceUio } from './EphemeralInstanceUio';
|
|
13
|
+
import type { InstanceUio } from './InstanceUio';
|
|
14
|
+
/**
|
|
15
|
+
* @type AppInstancesInnerUio
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export type AppInstancesInnerUio = EphemeralInstanceUio | InstanceUio;
|
|
20
|
+
export declare function AppInstancesInnerUioFromJSON(json: any): AppInstancesInnerUio;
|
|
21
|
+
export declare function AppInstancesInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppInstancesInnerUio;
|
|
22
|
+
export declare function AppInstancesInnerUioToJSON(json: any): any;
|
|
23
|
+
export declare function AppInstancesInnerUioToJSONTyped(value?: AppInstancesInnerUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.AppInstancesInnerUioFromJSON = AppInstancesInnerUioFromJSON;
|
|
17
|
+
exports.AppInstancesInnerUioFromJSONTyped = AppInstancesInnerUioFromJSONTyped;
|
|
18
|
+
exports.AppInstancesInnerUioToJSON = AppInstancesInnerUioToJSON;
|
|
19
|
+
exports.AppInstancesInnerUioToJSONTyped = AppInstancesInnerUioToJSONTyped;
|
|
20
|
+
const EphemeralInstanceUio_1 = require("./EphemeralInstanceUio");
|
|
21
|
+
const InstanceUio_1 = require("./InstanceUio");
|
|
22
|
+
function AppInstancesInnerUioFromJSON(json) {
|
|
23
|
+
return AppInstancesInnerUioFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
function AppInstancesInnerUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
if (typeof json !== 'object') {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
if ((0, EphemeralInstanceUio_1.instanceOfEphemeralInstanceUio)(json)) {
|
|
33
|
+
return (0, EphemeralInstanceUio_1.EphemeralInstanceUioFromJSONTyped)(json, true);
|
|
34
|
+
}
|
|
35
|
+
if ((0, InstanceUio_1.instanceOfInstanceUio)(json)) {
|
|
36
|
+
return (0, InstanceUio_1.InstanceUioFromJSONTyped)(json, true);
|
|
37
|
+
}
|
|
38
|
+
return {};
|
|
39
|
+
}
|
|
40
|
+
function AppInstancesInnerUioToJSON(json) {
|
|
41
|
+
return AppInstancesInnerUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AppInstancesInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
if (typeof value !== 'object') {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
if ((0, EphemeralInstanceUio_1.instanceOfEphemeralInstanceUio)(value)) {
|
|
51
|
+
return (0, EphemeralInstanceUio_1.EphemeralInstanceUioToJSON)(value);
|
|
52
|
+
}
|
|
53
|
+
if ((0, InstanceUio_1.instanceOfInstanceUio)(value)) {
|
|
54
|
+
return (0, InstanceUio_1.InstanceUioToJSON)(value);
|
|
55
|
+
}
|
|
56
|
+
return {};
|
|
57
|
+
}
|
package/dist/models/AppUio.d.ts
CHANGED
|
@@ -9,11 +9,12 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { AppInstancesInnerUio } from './AppInstancesInnerUio';
|
|
12
13
|
import type { AppSequencesInnerUio } from './AppSequencesInnerUio';
|
|
13
14
|
import type { AppConfigurationUio } from './AppConfigurationUio';
|
|
14
15
|
import type { PersonaUio } from './PersonaUio';
|
|
15
16
|
import type { SimpleAgentUio } from './SimpleAgentUio';
|
|
16
|
-
import type {
|
|
17
|
+
import type { AppEphemeralInstancesUio } from './AppEphemeralInstancesUio';
|
|
17
18
|
import type { LipsyncUio } from './LipsyncUio';
|
|
18
19
|
import type { AppStatusUio } from './AppStatusUio';
|
|
19
20
|
/**
|
|
@@ -122,10 +123,10 @@ export interface AppUio {
|
|
|
122
123
|
connected?: boolean;
|
|
123
124
|
/**
|
|
124
125
|
*
|
|
125
|
-
* @type {Array<
|
|
126
|
+
* @type {Array<AppInstancesInnerUio>}
|
|
126
127
|
* @memberof AppUio
|
|
127
128
|
*/
|
|
128
|
-
instances?: Array<
|
|
129
|
+
instances?: Array<AppInstancesInnerUio>;
|
|
129
130
|
/**
|
|
130
131
|
*
|
|
131
132
|
* @type {string}
|
|
@@ -172,6 +173,12 @@ export interface AppUio {
|
|
|
172
173
|
favoriteOutfit?: {
|
|
173
174
|
[key: string]: string;
|
|
174
175
|
};
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @type {AppEphemeralInstancesUio}
|
|
179
|
+
* @memberof AppUio
|
|
180
|
+
*/
|
|
181
|
+
ephemeralInstances?: AppEphemeralInstancesUio;
|
|
175
182
|
/**
|
|
176
183
|
*
|
|
177
184
|
* @type {object}
|
package/dist/models/AppUio.js
CHANGED
|
@@ -18,11 +18,12 @@ exports.AppUioFromJSON = AppUioFromJSON;
|
|
|
18
18
|
exports.AppUioFromJSONTyped = AppUioFromJSONTyped;
|
|
19
19
|
exports.AppUioToJSON = AppUioToJSON;
|
|
20
20
|
exports.AppUioToJSONTyped = AppUioToJSONTyped;
|
|
21
|
+
const AppInstancesInnerUio_1 = require("./AppInstancesInnerUio");
|
|
21
22
|
const AppSequencesInnerUio_1 = require("./AppSequencesInnerUio");
|
|
22
23
|
const AppConfigurationUio_1 = require("./AppConfigurationUio");
|
|
23
24
|
const PersonaUio_1 = require("./PersonaUio");
|
|
24
25
|
const SimpleAgentUio_1 = require("./SimpleAgentUio");
|
|
25
|
-
const
|
|
26
|
+
const AppEphemeralInstancesUio_1 = require("./AppEphemeralInstancesUio");
|
|
26
27
|
const LipsyncUio_1 = require("./LipsyncUio");
|
|
27
28
|
const AppStatusUio_1 = require("./AppStatusUio");
|
|
28
29
|
/**
|
|
@@ -71,7 +72,7 @@ function AppUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
71
72
|
'lipsync': json['lipsync'] == null ? undefined : (0, LipsyncUio_1.LipsyncUioFromJSON)(json['lipsync']),
|
|
72
73
|
'status': (0, AppStatusUio_1.AppStatusUioFromJSON)(json['status']),
|
|
73
74
|
'connected': json['connected'] == null ? undefined : json['connected'],
|
|
74
|
-
'instances': json['instances'] == null ? undefined : (json['instances'].map(
|
|
75
|
+
'instances': json['instances'] == null ? undefined : (json['instances'].map(AppInstancesInnerUio_1.AppInstancesInnerUioFromJSON)),
|
|
75
76
|
'profilePicture': json['profilePicture'] == null ? undefined : json['profilePicture'],
|
|
76
77
|
'appConfiguration': json['appConfiguration'] == null ? undefined : (0, AppConfigurationUio_1.AppConfigurationUioFromJSON)(json['appConfiguration']),
|
|
77
78
|
'disableFillers': json['disableFillers'] == null ? undefined : json['disableFillers'],
|
|
@@ -79,6 +80,7 @@ function AppUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
79
80
|
'promptInit': json['promptInit'] == null ? undefined : json['promptInit'],
|
|
80
81
|
'persona': json['persona'] == null ? undefined : (0, PersonaUio_1.PersonaUioFromJSON)(json['persona']),
|
|
81
82
|
'favoriteOutfit': json['favoriteOutfit'] == null ? undefined : json['favoriteOutfit'],
|
|
83
|
+
'ephemeralInstances': json['ephemeralInstances'] == null ? undefined : (0, AppEphemeralInstancesUio_1.AppEphemeralInstancesUioFromJSON)(json['ephemeralInstances']),
|
|
82
84
|
'fillers': json['fillers'] == null ? undefined : json['fillers'],
|
|
83
85
|
};
|
|
84
86
|
}
|
|
@@ -106,7 +108,7 @@ function AppUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
106
108
|
'lipsync': (0, LipsyncUio_1.LipsyncUioToJSON)(value['lipsync']),
|
|
107
109
|
'status': (0, AppStatusUio_1.AppStatusUioToJSON)(value['status']),
|
|
108
110
|
'connected': value['connected'],
|
|
109
|
-
'instances': value['instances'] == null ? undefined : (value['instances'].map(
|
|
111
|
+
'instances': value['instances'] == null ? undefined : (value['instances'].map(AppInstancesInnerUio_1.AppInstancesInnerUioToJSON)),
|
|
110
112
|
'profilePicture': value['profilePicture'],
|
|
111
113
|
'appConfiguration': (0, AppConfigurationUio_1.AppConfigurationUioToJSON)(value['appConfiguration']),
|
|
112
114
|
'disableFillers': value['disableFillers'],
|
|
@@ -114,6 +116,7 @@ function AppUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
114
116
|
'promptInit': value['promptInit'],
|
|
115
117
|
'persona': (0, PersonaUio_1.PersonaUioToJSON)(value['persona']),
|
|
116
118
|
'favoriteOutfit': value['favoriteOutfit'],
|
|
119
|
+
'ephemeralInstances': (0, AppEphemeralInstancesUio_1.AppEphemeralInstancesUioToJSON)(value['ephemeralInstances']),
|
|
117
120
|
'fillers': value['fillers'],
|
|
118
121
|
};
|
|
119
122
|
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 EphemeralInstanceUio
|
|
16
|
+
*/
|
|
17
|
+
export interface EphemeralInstanceUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EphemeralInstanceUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EphemeralInstanceUio
|
|
28
|
+
*/
|
|
29
|
+
appId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof EphemeralInstanceUio
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof EphemeralInstanceUio
|
|
40
|
+
*/
|
|
41
|
+
urlWebsite: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof EphemeralInstanceUio
|
|
46
|
+
*/
|
|
47
|
+
token: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof EphemeralInstanceUio
|
|
52
|
+
*/
|
|
53
|
+
active: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof EphemeralInstanceUio
|
|
58
|
+
*/
|
|
59
|
+
createdAt: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof EphemeralInstanceUio
|
|
64
|
+
*/
|
|
65
|
+
lastActivity: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the EphemeralInstanceUio interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfEphemeralInstanceUio(value: object): value is EphemeralInstanceUio;
|
|
71
|
+
export declare function EphemeralInstanceUioFromJSON(json: any): EphemeralInstanceUio;
|
|
72
|
+
export declare function EphemeralInstanceUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): EphemeralInstanceUio;
|
|
73
|
+
export declare function EphemeralInstanceUioToJSON(json: any): EphemeralInstanceUio;
|
|
74
|
+
export declare function EphemeralInstanceUioToJSONTyped(value?: EphemeralInstanceUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,78 @@
|
|
|
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.instanceOfEphemeralInstanceUio = instanceOfEphemeralInstanceUio;
|
|
17
|
+
exports.EphemeralInstanceUioFromJSON = EphemeralInstanceUioFromJSON;
|
|
18
|
+
exports.EphemeralInstanceUioFromJSONTyped = EphemeralInstanceUioFromJSONTyped;
|
|
19
|
+
exports.EphemeralInstanceUioToJSON = EphemeralInstanceUioToJSON;
|
|
20
|
+
exports.EphemeralInstanceUioToJSONTyped = EphemeralInstanceUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EphemeralInstanceUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEphemeralInstanceUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('appId' in value) || value['appId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('urlWebsite' in value) || value['urlWebsite'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('active' in value) || value['active'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('lastActivity' in value) || value['lastActivity'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function EphemeralInstanceUioFromJSON(json) {
|
|
44
|
+
return EphemeralInstanceUioFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function EphemeralInstanceUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': json['id'],
|
|
52
|
+
'appId': json['appId'],
|
|
53
|
+
'name': json['name'],
|
|
54
|
+
'urlWebsite': json['urlWebsite'],
|
|
55
|
+
'token': json['token'],
|
|
56
|
+
'active': json['active'],
|
|
57
|
+
'createdAt': json['createdAt'],
|
|
58
|
+
'lastActivity': json['lastActivity'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function EphemeralInstanceUioToJSON(json) {
|
|
62
|
+
return EphemeralInstanceUioToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
function EphemeralInstanceUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'id': value['id'],
|
|
70
|
+
'appId': value['appId'],
|
|
71
|
+
'name': value['name'],
|
|
72
|
+
'urlWebsite': value['urlWebsite'],
|
|
73
|
+
'token': value['token'],
|
|
74
|
+
'active': value['active'],
|
|
75
|
+
'createdAt': value['createdAt'],
|
|
76
|
+
'lastActivity': value['lastActivity'],
|
|
77
|
+
};
|
|
78
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -31,8 +31,12 @@ export * from './AppChatSubmitMessageRequestUio';
|
|
|
31
31
|
export * from './AppConfigurationUio';
|
|
32
32
|
export * from './AppConfigurationUpdateRequestUio';
|
|
33
33
|
export * from './AppCreateRequestUio';
|
|
34
|
+
export * from './AppEphemeralInstancesUio';
|
|
34
35
|
export * from './AppFlowCreateRequestUio';
|
|
36
|
+
export * from './AppInstanceCreateRequestOneOfUio';
|
|
35
37
|
export * from './AppInstanceCreateRequestUio';
|
|
38
|
+
export * from './AppInstanceEphemeralCreateRequestUio';
|
|
39
|
+
export * from './AppInstancesInnerUio';
|
|
36
40
|
export * from './AppLightUio';
|
|
37
41
|
export * from './AppProbeRequestUio';
|
|
38
42
|
export * from './AppProbeResponseUio';
|
|
@@ -87,6 +91,7 @@ export * from './DefaultEngineRequestUio';
|
|
|
87
91
|
export * from './DocumentAddRequestUio';
|
|
88
92
|
export * from './EngineOptionsUio';
|
|
89
93
|
export * from './EngineUio';
|
|
94
|
+
export * from './EphemeralInstanceUio';
|
|
90
95
|
export * from './FileAttachmentProcessedOneOf1Uio';
|
|
91
96
|
export * from './FileAttachmentProcessedOneOfUio';
|
|
92
97
|
export * from './FileAttachmentProcessedUio';
|
package/dist/models/index.js
CHANGED
|
@@ -49,8 +49,12 @@ __exportStar(require("./AppChatSubmitMessageRequestUio"), exports);
|
|
|
49
49
|
__exportStar(require("./AppConfigurationUio"), exports);
|
|
50
50
|
__exportStar(require("./AppConfigurationUpdateRequestUio"), exports);
|
|
51
51
|
__exportStar(require("./AppCreateRequestUio"), exports);
|
|
52
|
+
__exportStar(require("./AppEphemeralInstancesUio"), exports);
|
|
52
53
|
__exportStar(require("./AppFlowCreateRequestUio"), exports);
|
|
54
|
+
__exportStar(require("./AppInstanceCreateRequestOneOfUio"), exports);
|
|
53
55
|
__exportStar(require("./AppInstanceCreateRequestUio"), exports);
|
|
56
|
+
__exportStar(require("./AppInstanceEphemeralCreateRequestUio"), exports);
|
|
57
|
+
__exportStar(require("./AppInstancesInnerUio"), exports);
|
|
54
58
|
__exportStar(require("./AppLightUio"), exports);
|
|
55
59
|
__exportStar(require("./AppProbeRequestUio"), exports);
|
|
56
60
|
__exportStar(require("./AppProbeResponseUio"), exports);
|
|
@@ -105,6 +109,7 @@ __exportStar(require("./DefaultEngineRequestUio"), exports);
|
|
|
105
109
|
__exportStar(require("./DocumentAddRequestUio"), exports);
|
|
106
110
|
__exportStar(require("./EngineOptionsUio"), exports);
|
|
107
111
|
__exportStar(require("./EngineUio"), exports);
|
|
112
|
+
__exportStar(require("./EphemeralInstanceUio"), exports);
|
|
108
113
|
__exportStar(require("./FileAttachmentProcessedOneOf1Uio"), exports);
|
|
109
114
|
__exportStar(require("./FileAttachmentProcessedOneOfUio"), exports);
|
|
110
115
|
__exportStar(require("./FileAttachmentProcessedUio"), exports);
|
package/dist/openapi.json
CHANGED
|
@@ -6563,6 +6563,10 @@
|
|
|
6563
6563
|
},
|
|
6564
6564
|
"creator" : {
|
|
6565
6565
|
"$ref" : "#/components/schemas/Agent_creator"
|
|
6566
|
+
},
|
|
6567
|
+
"providerSource" : {
|
|
6568
|
+
"enum" : [ "EXTERNAL", "INTERNAL" ],
|
|
6569
|
+
"type" : "string"
|
|
6566
6570
|
}
|
|
6567
6571
|
},
|
|
6568
6572
|
"required" : [ "id", "modules", "name", "organisationId", "persona", "promptInit" ],
|
|
@@ -7653,7 +7657,7 @@
|
|
|
7653
7657
|
},
|
|
7654
7658
|
"instances" : {
|
|
7655
7659
|
"items" : {
|
|
7656
|
-
"$ref" : "#/components/schemas/
|
|
7660
|
+
"$ref" : "#/components/schemas/App_instances_inner"
|
|
7657
7661
|
},
|
|
7658
7662
|
"type" : "array"
|
|
7659
7663
|
},
|
|
@@ -7686,6 +7690,9 @@
|
|
|
7686
7690
|
"maxProperties" : 100,
|
|
7687
7691
|
"type" : "object"
|
|
7688
7692
|
},
|
|
7693
|
+
"ephemeralInstances" : {
|
|
7694
|
+
"$ref" : "#/components/schemas/App_ephemeralInstances"
|
|
7695
|
+
},
|
|
7689
7696
|
"fillers" : {
|
|
7690
7697
|
"additionalProperties" : false,
|
|
7691
7698
|
"maxProperties" : 100,
|
|
@@ -7728,6 +7735,36 @@
|
|
|
7728
7735
|
"required" : [ "connected", "createdAt", "id", "name", "status" ],
|
|
7729
7736
|
"type" : "object"
|
|
7730
7737
|
},
|
|
7738
|
+
"EphemeralInstance" : {
|
|
7739
|
+
"properties" : {
|
|
7740
|
+
"id" : {
|
|
7741
|
+
"type" : "string"
|
|
7742
|
+
},
|
|
7743
|
+
"appId" : {
|
|
7744
|
+
"type" : "string"
|
|
7745
|
+
},
|
|
7746
|
+
"name" : {
|
|
7747
|
+
"type" : "string"
|
|
7748
|
+
},
|
|
7749
|
+
"urlWebsite" : {
|
|
7750
|
+
"type" : "string"
|
|
7751
|
+
},
|
|
7752
|
+
"token" : {
|
|
7753
|
+
"type" : "string"
|
|
7754
|
+
},
|
|
7755
|
+
"active" : {
|
|
7756
|
+
"type" : "boolean"
|
|
7757
|
+
},
|
|
7758
|
+
"createdAt" : {
|
|
7759
|
+
"type" : "string"
|
|
7760
|
+
},
|
|
7761
|
+
"lastActivity" : {
|
|
7762
|
+
"type" : "string"
|
|
7763
|
+
}
|
|
7764
|
+
},
|
|
7765
|
+
"required" : [ "active", "active", "appId", "createdAt", "id", "lastActivity", "name", "token", "type", "urlWebsite" ],
|
|
7766
|
+
"type" : "object"
|
|
7767
|
+
},
|
|
7731
7768
|
"AppConfiguration" : {
|
|
7732
7769
|
"additionalProperties" : true,
|
|
7733
7770
|
"properties" : {
|
|
@@ -7947,12 +7984,25 @@
|
|
|
7947
7984
|
"type" : "object"
|
|
7948
7985
|
},
|
|
7949
7986
|
"AppInstanceCreateRequest" : {
|
|
7987
|
+
"oneOf" : [ {
|
|
7988
|
+
"$ref" : "#/components/schemas/AppInstanceCreateRequest_oneOf"
|
|
7989
|
+
}, {
|
|
7990
|
+
"$ref" : "#/components/schemas/AppInstanceEphemeralCreateRequest"
|
|
7991
|
+
} ]
|
|
7992
|
+
},
|
|
7993
|
+
"AppInstanceEphemeralCreateRequest" : {
|
|
7950
7994
|
"properties" : {
|
|
7951
7995
|
"name" : {
|
|
7952
7996
|
"type" : "string"
|
|
7997
|
+
},
|
|
7998
|
+
"ephemeral" : {
|
|
7999
|
+
"type" : "boolean"
|
|
8000
|
+
},
|
|
8001
|
+
"urlWebsite" : {
|
|
8002
|
+
"type" : "string"
|
|
7953
8003
|
}
|
|
7954
8004
|
},
|
|
7955
|
-
"required" : [ "name" ],
|
|
8005
|
+
"required" : [ "ephemeral", "name" ],
|
|
7956
8006
|
"type" : "object"
|
|
7957
8007
|
},
|
|
7958
8008
|
"AuthCodeRequest" : {
|
|
@@ -9571,6 +9621,34 @@
|
|
|
9571
9621
|
},
|
|
9572
9622
|
"type" : "object"
|
|
9573
9623
|
},
|
|
9624
|
+
"App_instances_inner" : {
|
|
9625
|
+
"oneOf" : [ {
|
|
9626
|
+
"$ref" : "#/components/schemas/Instance"
|
|
9627
|
+
}, {
|
|
9628
|
+
"$ref" : "#/components/schemas/EphemeralInstance"
|
|
9629
|
+
} ]
|
|
9630
|
+
},
|
|
9631
|
+
"App_ephemeralInstances" : {
|
|
9632
|
+
"additionalProperties" : false,
|
|
9633
|
+
"properties" : {
|
|
9634
|
+
"allowed" : {
|
|
9635
|
+
"type" : "boolean"
|
|
9636
|
+
},
|
|
9637
|
+
"maxInstances" : {
|
|
9638
|
+
"type" : "number"
|
|
9639
|
+
}
|
|
9640
|
+
},
|
|
9641
|
+
"type" : "object"
|
|
9642
|
+
},
|
|
9643
|
+
"AppInstanceCreateRequest_oneOf" : {
|
|
9644
|
+
"properties" : {
|
|
9645
|
+
"name" : {
|
|
9646
|
+
"type" : "string"
|
|
9647
|
+
}
|
|
9648
|
+
},
|
|
9649
|
+
"required" : [ "name" ],
|
|
9650
|
+
"type" : "object"
|
|
9651
|
+
},
|
|
9574
9652
|
"ChunkCreateRequest_content_inner" : {
|
|
9575
9653
|
"properties" : {
|
|
9576
9654
|
"fileName" : {
|