@breign/client 1.0.38 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/AgentApi.d.ts +26 -5
- package/dist/apis/AgentApi.js +31 -8
- package/dist/models/AgentCreatorUio.d.ts +39 -0
- package/dist/models/AgentCreatorUio.js +51 -0
- package/dist/models/AgentCreatorUserUio.d.ts +32 -0
- package/dist/models/AgentCreatorUserUio.js +48 -0
- package/dist/models/AgentUio.d.ts +7 -0
- package/dist/models/AgentUio.js +3 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/openapi.json +60 -1
- package/package.json +1 -1
package/dist/apis/AgentApi.d.ts
CHANGED
|
@@ -56,6 +56,10 @@ export interface GetAgentMetricsOverviewRequest {
|
|
|
56
56
|
startDate?: Date;
|
|
57
57
|
endDate?: Date;
|
|
58
58
|
}
|
|
59
|
+
export interface GetAgentsRequest {
|
|
60
|
+
isCreator?: boolean;
|
|
61
|
+
providerSource?: GetAgentsProviderSourceEnum;
|
|
62
|
+
}
|
|
59
63
|
export interface GetConversationsForAgentRequest {
|
|
60
64
|
agentId: string;
|
|
61
65
|
page?: number;
|
|
@@ -73,6 +77,7 @@ export interface GetModulesRequest {
|
|
|
73
77
|
export interface ListOrganizationAgentsRequest {
|
|
74
78
|
organizationId: string;
|
|
75
79
|
isCreator?: boolean;
|
|
80
|
+
providerSource?: ListOrganizationAgentsProviderSourceEnum;
|
|
76
81
|
}
|
|
77
82
|
export interface RemoveAgentProfileImageRequest {
|
|
78
83
|
agentId: string;
|
|
@@ -214,15 +219,15 @@ export declare class AgentApi extends runtime.BaseAPI {
|
|
|
214
219
|
*/
|
|
215
220
|
getAgentMetricsOverview(agentId: string, startDate?: Date, endDate?: Date, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentMetricsOverviewUio>;
|
|
216
221
|
/**
|
|
217
|
-
* Get all agents
|
|
222
|
+
* Get all agents accessible to user
|
|
218
223
|
* Get all agents
|
|
219
224
|
*/
|
|
220
|
-
getAgentsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<AgentUio>>>;
|
|
225
|
+
getAgentsRaw(requestParameters: GetAgentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<AgentUio>>>;
|
|
221
226
|
/**
|
|
222
|
-
* Get all agents
|
|
227
|
+
* Get all agents accessible to user
|
|
223
228
|
* Get all agents
|
|
224
229
|
*/
|
|
225
|
-
getAgents(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AgentUio>>;
|
|
230
|
+
getAgents(isCreator?: boolean, providerSource?: GetAgentsProviderSourceEnum, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AgentUio>>;
|
|
226
231
|
/**
|
|
227
232
|
* Get conversations for an agent
|
|
228
233
|
* Get conversations for an agent
|
|
@@ -270,7 +275,7 @@ export declare class AgentApi extends runtime.BaseAPI {
|
|
|
270
275
|
/**
|
|
271
276
|
* List agents for an organization
|
|
272
277
|
*/
|
|
273
|
-
listOrganizationAgents(organizationId: string, isCreator?: boolean, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AgentUio>>;
|
|
278
|
+
listOrganizationAgents(organizationId: string, isCreator?: boolean, providerSource?: ListOrganizationAgentsProviderSourceEnum, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AgentUio>>;
|
|
274
279
|
/**
|
|
275
280
|
* Removes the profile image for an agent
|
|
276
281
|
* Remove agent profile image
|
|
@@ -340,3 +345,19 @@ export declare class AgentApi extends runtime.BaseAPI {
|
|
|
340
345
|
*/
|
|
341
346
|
uploadAgentProfileImage(agentId: string, fileCreationRequestUio: FileCreationRequestUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileCreationResponseUio>;
|
|
342
347
|
}
|
|
348
|
+
/**
|
|
349
|
+
* @export
|
|
350
|
+
*/
|
|
351
|
+
export declare const GetAgentsProviderSourceEnum: {
|
|
352
|
+
readonly External: "EXTERNAL";
|
|
353
|
+
readonly Internal: "INTERNAL";
|
|
354
|
+
};
|
|
355
|
+
export type GetAgentsProviderSourceEnum = typeof GetAgentsProviderSourceEnum[keyof typeof GetAgentsProviderSourceEnum];
|
|
356
|
+
/**
|
|
357
|
+
* @export
|
|
358
|
+
*/
|
|
359
|
+
export declare const ListOrganizationAgentsProviderSourceEnum: {
|
|
360
|
+
readonly External: "EXTERNAL";
|
|
361
|
+
readonly Internal: "INTERNAL";
|
|
362
|
+
};
|
|
363
|
+
export type ListOrganizationAgentsProviderSourceEnum = typeof ListOrganizationAgentsProviderSourceEnum[keyof typeof ListOrganizationAgentsProviderSourceEnum];
|
package/dist/apis/AgentApi.js
CHANGED
|
@@ -46,7 +46,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
46
46
|
};
|
|
47
47
|
})();
|
|
48
48
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
-
exports.AgentApi = void 0;
|
|
49
|
+
exports.ListOrganizationAgentsProviderSourceEnum = exports.GetAgentsProviderSourceEnum = exports.AgentApi = void 0;
|
|
50
50
|
const runtime = __importStar(require("../runtime"));
|
|
51
51
|
const index_1 = require("../models/index");
|
|
52
52
|
/**
|
|
@@ -412,11 +412,17 @@ class AgentApi extends runtime.BaseAPI {
|
|
|
412
412
|
return await response.value();
|
|
413
413
|
}
|
|
414
414
|
/**
|
|
415
|
-
* Get all agents
|
|
415
|
+
* Get all agents accessible to user
|
|
416
416
|
* Get all agents
|
|
417
417
|
*/
|
|
418
|
-
async getAgentsRaw(initOverrides) {
|
|
418
|
+
async getAgentsRaw(requestParameters, initOverrides) {
|
|
419
419
|
const queryParameters = {};
|
|
420
|
+
if (requestParameters['isCreator'] != null) {
|
|
421
|
+
queryParameters['isCreator'] = requestParameters['isCreator'];
|
|
422
|
+
}
|
|
423
|
+
if (requestParameters['providerSource'] != null) {
|
|
424
|
+
queryParameters['providerSource'] = requestParameters['providerSource'];
|
|
425
|
+
}
|
|
420
426
|
const headerParameters = {};
|
|
421
427
|
if (this.configuration && this.configuration.apiKey) {
|
|
422
428
|
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
@@ -430,11 +436,11 @@ class AgentApi extends runtime.BaseAPI {
|
|
|
430
436
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.AgentUioFromJSON));
|
|
431
437
|
}
|
|
432
438
|
/**
|
|
433
|
-
* Get all agents
|
|
439
|
+
* Get all agents accessible to user
|
|
434
440
|
* Get all agents
|
|
435
441
|
*/
|
|
436
|
-
async getAgents(initOverrides) {
|
|
437
|
-
const response = await this.getAgentsRaw(initOverrides);
|
|
442
|
+
async getAgents(isCreator, providerSource, initOverrides) {
|
|
443
|
+
const response = await this.getAgentsRaw({ isCreator: isCreator, providerSource: providerSource }, initOverrides);
|
|
438
444
|
return await response.value();
|
|
439
445
|
}
|
|
440
446
|
/**
|
|
@@ -570,6 +576,9 @@ class AgentApi extends runtime.BaseAPI {
|
|
|
570
576
|
if (requestParameters['isCreator'] != null) {
|
|
571
577
|
queryParameters['isCreator'] = requestParameters['isCreator'];
|
|
572
578
|
}
|
|
579
|
+
if (requestParameters['providerSource'] != null) {
|
|
580
|
+
queryParameters['providerSource'] = requestParameters['providerSource'];
|
|
581
|
+
}
|
|
573
582
|
const headerParameters = {};
|
|
574
583
|
if (this.configuration && this.configuration.apiKey) {
|
|
575
584
|
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
@@ -585,8 +594,8 @@ class AgentApi extends runtime.BaseAPI {
|
|
|
585
594
|
/**
|
|
586
595
|
* List agents for an organization
|
|
587
596
|
*/
|
|
588
|
-
async listOrganizationAgents(organizationId, isCreator, initOverrides) {
|
|
589
|
-
const response = await this.listOrganizationAgentsRaw({ organizationId: organizationId, isCreator: isCreator }, initOverrides);
|
|
597
|
+
async listOrganizationAgents(organizationId, isCreator, providerSource, initOverrides) {
|
|
598
|
+
const response = await this.listOrganizationAgentsRaw({ organizationId: organizationId, isCreator: isCreator, providerSource: providerSource }, initOverrides);
|
|
590
599
|
return await response.value();
|
|
591
600
|
}
|
|
592
601
|
/**
|
|
@@ -818,3 +827,17 @@ class AgentApi extends runtime.BaseAPI {
|
|
|
818
827
|
}
|
|
819
828
|
}
|
|
820
829
|
exports.AgentApi = AgentApi;
|
|
830
|
+
/**
|
|
831
|
+
* @export
|
|
832
|
+
*/
|
|
833
|
+
exports.GetAgentsProviderSourceEnum = {
|
|
834
|
+
External: 'EXTERNAL',
|
|
835
|
+
Internal: 'INTERNAL'
|
|
836
|
+
};
|
|
837
|
+
/**
|
|
838
|
+
* @export
|
|
839
|
+
*/
|
|
840
|
+
exports.ListOrganizationAgentsProviderSourceEnum = {
|
|
841
|
+
External: 'EXTERNAL',
|
|
842
|
+
Internal: 'INTERNAL'
|
|
843
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { AgentCreatorUserUio } from './AgentCreatorUserUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AgentCreatorUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AgentCreatorUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AgentCreatorUio
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {AgentCreatorUserUio}
|
|
28
|
+
* @memberof AgentCreatorUio
|
|
29
|
+
*/
|
|
30
|
+
user?: AgentCreatorUserUio;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the AgentCreatorUio interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfAgentCreatorUio(value: object): value is AgentCreatorUio;
|
|
36
|
+
export declare function AgentCreatorUioFromJSON(json: any): AgentCreatorUio;
|
|
37
|
+
export declare function AgentCreatorUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentCreatorUio;
|
|
38
|
+
export declare function AgentCreatorUioToJSON(json: any): AgentCreatorUio;
|
|
39
|
+
export declare function AgentCreatorUioToJSONTyped(value?: AgentCreatorUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAgentCreatorUio = instanceOfAgentCreatorUio;
|
|
17
|
+
exports.AgentCreatorUioFromJSON = AgentCreatorUioFromJSON;
|
|
18
|
+
exports.AgentCreatorUioFromJSONTyped = AgentCreatorUioFromJSONTyped;
|
|
19
|
+
exports.AgentCreatorUioToJSON = AgentCreatorUioToJSON;
|
|
20
|
+
exports.AgentCreatorUioToJSONTyped = AgentCreatorUioToJSONTyped;
|
|
21
|
+
const AgentCreatorUserUio_1 = require("./AgentCreatorUserUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AgentCreatorUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAgentCreatorUio(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function AgentCreatorUioFromJSON(json) {
|
|
29
|
+
return AgentCreatorUioFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function AgentCreatorUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
37
|
+
'user': json['user'] == null ? undefined : (0, AgentCreatorUserUio_1.AgentCreatorUserUioFromJSON)(json['user']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function AgentCreatorUioToJSON(json) {
|
|
41
|
+
return AgentCreatorUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AgentCreatorUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': value['id'],
|
|
49
|
+
'user': (0, AgentCreatorUserUio_1.AgentCreatorUserUioToJSON)(value['user']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AgentCreatorUserUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AgentCreatorUserUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AgentCreatorUserUio
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AgentCreatorUserUio interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfAgentCreatorUserUio(value: object): value is AgentCreatorUserUio;
|
|
29
|
+
export declare function AgentCreatorUserUioFromJSON(json: any): AgentCreatorUserUio;
|
|
30
|
+
export declare function AgentCreatorUserUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentCreatorUserUio;
|
|
31
|
+
export declare function AgentCreatorUserUioToJSON(json: any): AgentCreatorUserUio;
|
|
32
|
+
export declare function AgentCreatorUserUioToJSONTyped(value?: AgentCreatorUserUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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.instanceOfAgentCreatorUserUio = instanceOfAgentCreatorUserUio;
|
|
17
|
+
exports.AgentCreatorUserUioFromJSON = AgentCreatorUserUioFromJSON;
|
|
18
|
+
exports.AgentCreatorUserUioFromJSONTyped = AgentCreatorUserUioFromJSONTyped;
|
|
19
|
+
exports.AgentCreatorUserUioToJSON = AgentCreatorUserUioToJSON;
|
|
20
|
+
exports.AgentCreatorUserUioToJSONTyped = AgentCreatorUserUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AgentCreatorUserUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAgentCreatorUserUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function AgentCreatorUserUioFromJSON(json) {
|
|
28
|
+
return AgentCreatorUserUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function AgentCreatorUserUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function AgentCreatorUserUioToJSON(json) {
|
|
39
|
+
return AgentCreatorUserUioToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function AgentCreatorUserUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'name': value['name'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { AgentSubscriptionUio } from './AgentSubscriptionUio';
|
|
13
13
|
import type { AgentToolUio } from './AgentToolUio';
|
|
14
14
|
import type { PersonaUio } from './PersonaUio';
|
|
15
|
+
import type { AgentCreatorUio } from './AgentCreatorUio';
|
|
15
16
|
import type { EngineUio } from './EngineUio';
|
|
16
17
|
import type { PromptInitUio } from './PromptInitUio';
|
|
17
18
|
import type { AgentTypeUio } from './AgentTypeUio';
|
|
@@ -195,6 +196,12 @@ export interface AgentUio {
|
|
|
195
196
|
* @memberof AgentUio
|
|
196
197
|
*/
|
|
197
198
|
createdBy?: string;
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @type {AgentCreatorUio}
|
|
202
|
+
* @memberof AgentUio
|
|
203
|
+
*/
|
|
204
|
+
creator?: AgentCreatorUio;
|
|
198
205
|
}
|
|
199
206
|
/**
|
|
200
207
|
* Check if a given object implements the AgentUio interface.
|
package/dist/models/AgentUio.js
CHANGED
|
@@ -21,6 +21,7 @@ exports.AgentUioToJSONTyped = AgentUioToJSONTyped;
|
|
|
21
21
|
const AgentSubscriptionUio_1 = require("./AgentSubscriptionUio");
|
|
22
22
|
const AgentToolUio_1 = require("./AgentToolUio");
|
|
23
23
|
const PersonaUio_1 = require("./PersonaUio");
|
|
24
|
+
const AgentCreatorUio_1 = require("./AgentCreatorUio");
|
|
24
25
|
const EngineUio_1 = require("./EngineUio");
|
|
25
26
|
const PromptInitUio_1 = require("./PromptInitUio");
|
|
26
27
|
const AgentTypeUio_1 = require("./AgentTypeUio");
|
|
@@ -78,6 +79,7 @@ function AgentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
78
79
|
'favoriteOutfit': json['favoriteOutfit'] == null ? undefined : json['favoriteOutfit'],
|
|
79
80
|
'personal': json['personal'] == null ? undefined : json['personal'],
|
|
80
81
|
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
82
|
+
'creator': json['creator'] == null ? undefined : (0, AgentCreatorUio_1.AgentCreatorUioFromJSON)(json['creator']),
|
|
81
83
|
};
|
|
82
84
|
}
|
|
83
85
|
function AgentUioToJSON(json) {
|
|
@@ -116,5 +118,6 @@ function AgentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
116
118
|
'favoriteOutfit': value['favoriteOutfit'],
|
|
117
119
|
'personal': value['personal'],
|
|
118
120
|
'createdBy': value['createdBy'],
|
|
121
|
+
'creator': (0, AgentCreatorUio_1.AgentCreatorUioToJSON)(value['creator']),
|
|
119
122
|
};
|
|
120
123
|
}
|
package/dist/models/index.d.ts
CHANGED
package/dist/models/index.js
CHANGED
|
@@ -17,6 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./AdditionalUio"), exports);
|
|
20
|
+
__exportStar(require("./AgentCreatorUio"), exports);
|
|
21
|
+
__exportStar(require("./AgentCreatorUserUio"), exports);
|
|
20
22
|
__exportStar(require("./AgentDuplicateRequestUio"), exports);
|
|
21
23
|
__exportStar(require("./AgentFlowCreateUio"), exports);
|
|
22
24
|
__exportStar(require("./AgentFlowUio"), exports);
|
package/dist/openapi.json
CHANGED
|
@@ -90,8 +90,26 @@
|
|
|
90
90
|
},
|
|
91
91
|
"/agents" : {
|
|
92
92
|
"get" : {
|
|
93
|
-
"description" : "Get all agents
|
|
93
|
+
"description" : "Get all agents accessible to user",
|
|
94
94
|
"operationId" : "getAgents",
|
|
95
|
+
"parameters" : [ {
|
|
96
|
+
"description" : "If true, only returns agents created by the authenticated user.\n",
|
|
97
|
+
"in" : "query",
|
|
98
|
+
"name" : "isCreator",
|
|
99
|
+
"required" : false,
|
|
100
|
+
"schema" : {
|
|
101
|
+
"type" : "boolean"
|
|
102
|
+
}
|
|
103
|
+
}, {
|
|
104
|
+
"description" : "Filter by provider source.",
|
|
105
|
+
"in" : "query",
|
|
106
|
+
"name" : "providerSource",
|
|
107
|
+
"required" : false,
|
|
108
|
+
"schema" : {
|
|
109
|
+
"enum" : [ "EXTERNAL", "INTERNAL" ],
|
|
110
|
+
"type" : "string"
|
|
111
|
+
}
|
|
112
|
+
} ],
|
|
95
113
|
"responses" : {
|
|
96
114
|
"200" : {
|
|
97
115
|
"content" : {
|
|
@@ -167,6 +185,15 @@
|
|
|
167
185
|
"schema" : {
|
|
168
186
|
"type" : "boolean"
|
|
169
187
|
}
|
|
188
|
+
}, {
|
|
189
|
+
"description" : "Filter by provider source.",
|
|
190
|
+
"in" : "query",
|
|
191
|
+
"name" : "providerSource",
|
|
192
|
+
"required" : false,
|
|
193
|
+
"schema" : {
|
|
194
|
+
"enum" : [ "EXTERNAL", "INTERNAL" ],
|
|
195
|
+
"type" : "string"
|
|
196
|
+
}
|
|
170
197
|
} ],
|
|
171
198
|
"responses" : {
|
|
172
199
|
"200" : {
|
|
@@ -5698,6 +5725,16 @@
|
|
|
5698
5725
|
},
|
|
5699
5726
|
"components" : {
|
|
5700
5727
|
"parameters" : {
|
|
5728
|
+
"providerSource" : {
|
|
5729
|
+
"description" : "Filter by provider source.",
|
|
5730
|
+
"in" : "query",
|
|
5731
|
+
"name" : "providerSource",
|
|
5732
|
+
"required" : false,
|
|
5733
|
+
"schema" : {
|
|
5734
|
+
"enum" : [ "EXTERNAL", "INTERNAL" ],
|
|
5735
|
+
"type" : "string"
|
|
5736
|
+
}
|
|
5737
|
+
},
|
|
5701
5738
|
"agentIdPath" : {
|
|
5702
5739
|
"description" : "ID of the agent",
|
|
5703
5740
|
"in" : "path",
|
|
@@ -6286,6 +6323,9 @@
|
|
|
6286
6323
|
},
|
|
6287
6324
|
"createdBy" : {
|
|
6288
6325
|
"type" : "string"
|
|
6326
|
+
},
|
|
6327
|
+
"creator" : {
|
|
6328
|
+
"$ref" : "#/components/schemas/Agent_creator"
|
|
6289
6329
|
}
|
|
6290
6330
|
},
|
|
6291
6331
|
"required" : [ "id", "modules", "name", "organisationId", "persona", "promptInit" ],
|
|
@@ -9017,6 +9057,25 @@
|
|
|
9017
9057
|
},
|
|
9018
9058
|
"type" : "object"
|
|
9019
9059
|
},
|
|
9060
|
+
"Agent_creator_user" : {
|
|
9061
|
+
"properties" : {
|
|
9062
|
+
"name" : {
|
|
9063
|
+
"type" : "string"
|
|
9064
|
+
}
|
|
9065
|
+
},
|
|
9066
|
+
"type" : "object"
|
|
9067
|
+
},
|
|
9068
|
+
"Agent_creator" : {
|
|
9069
|
+
"properties" : {
|
|
9070
|
+
"id" : {
|
|
9071
|
+
"type" : "string"
|
|
9072
|
+
},
|
|
9073
|
+
"user" : {
|
|
9074
|
+
"$ref" : "#/components/schemas/Agent_creator_user"
|
|
9075
|
+
}
|
|
9076
|
+
},
|
|
9077
|
+
"type" : "object"
|
|
9078
|
+
},
|
|
9020
9079
|
"AgentSubscription_textInteractions" : {
|
|
9021
9080
|
"properties" : {
|
|
9022
9081
|
"included" : {
|