@breign/client 1.0.137 → 1.0.138

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.
Files changed (44) hide show
  1. package/dist/apis/LibraryAgentsApi.d.ts +211 -0
  2. package/dist/apis/LibraryAgentsApi.js +537 -0
  3. package/dist/apis/index.d.ts +1 -0
  4. package/dist/apis/index.js +1 -0
  5. package/dist/models/AgentBundleDiffUio.d.ts +79 -0
  6. package/dist/models/AgentBundleDiffUio.js +85 -0
  7. package/dist/models/AgentBundleListDiffUio.d.ts +44 -0
  8. package/dist/models/AgentBundleListDiffUio.js +58 -0
  9. package/dist/models/AgentLibraryLinkLatestVersionUio.d.ts +44 -0
  10. package/dist/models/AgentLibraryLinkLatestVersionUio.js +58 -0
  11. package/dist/models/AgentLibraryLinkUio.d.ts +81 -0
  12. package/dist/models/AgentLibraryLinkUio.js +79 -0
  13. package/dist/models/AgentLibraryLinkUpdateRequestUio.d.ts +38 -0
  14. package/dist/models/AgentLibraryLinkUpdateRequestUio.js +52 -0
  15. package/dist/models/AgentLibraryLinkUpdateResponseUio.d.ts +69 -0
  16. package/dist/models/AgentLibraryLinkUpdateResponseUio.js +75 -0
  17. package/dist/models/AgentLibraryLinksResponseUio.d.ts +33 -0
  18. package/dist/models/AgentLibraryLinksResponseUio.js +51 -0
  19. package/dist/models/LibraryAgentBundleSummaryUio.d.ts +56 -0
  20. package/dist/models/LibraryAgentBundleSummaryUio.js +66 -0
  21. package/dist/models/LibraryAgentDiffResponseUio.d.ts +46 -0
  22. package/dist/models/LibraryAgentDiffResponseUio.js +60 -0
  23. package/dist/models/LibraryAgentDiffVersionRefUio.d.ts +38 -0
  24. package/dist/models/LibraryAgentDiffVersionRefUio.js +54 -0
  25. package/dist/models/LibraryAgentEntryUio.d.ts +87 -0
  26. package/dist/models/LibraryAgentEntryUio.js +83 -0
  27. package/dist/models/LibraryAgentInstallRequestUio.d.ts +38 -0
  28. package/dist/models/LibraryAgentInstallRequestUio.js +52 -0
  29. package/dist/models/LibraryAgentInstallResponseUio.d.ts +75 -0
  30. package/dist/models/LibraryAgentInstallResponseUio.js +77 -0
  31. package/dist/models/LibraryAgentParseBundleRequestUio.d.ts +46 -0
  32. package/dist/models/LibraryAgentParseBundleRequestUio.js +62 -0
  33. package/dist/models/LibraryAgentPublishRequestUio.d.ts +68 -0
  34. package/dist/models/LibraryAgentPublishRequestUio.js +60 -0
  35. package/dist/models/LibraryAgentPublishVersionRequestUio.d.ts +62 -0
  36. package/dist/models/LibraryAgentPublishVersionRequestUio.js +58 -0
  37. package/dist/models/LibraryAgentVersionUio.d.ts +99 -0
  38. package/dist/models/LibraryAgentVersionUio.js +87 -0
  39. package/dist/models/LibraryAgentsPageUio.d.ts +63 -0
  40. package/dist/models/LibraryAgentsPageUio.js +71 -0
  41. package/dist/models/index.d.ts +18 -0
  42. package/dist/models/index.js +18 -0
  43. package/dist/openapi.json +6124 -5023
  44. package/package.json +1 -1
@@ -0,0 +1,99 @@
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 { LibraryAgentBundleSummaryUio } from './LibraryAgentBundleSummaryUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LibraryAgentVersionUio
17
+ */
18
+ export interface LibraryAgentVersionUio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof LibraryAgentVersionUio
23
+ */
24
+ id: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof LibraryAgentVersionUio
29
+ */
30
+ slug: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof LibraryAgentVersionUio
35
+ */
36
+ version: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof LibraryAgentVersionUio
41
+ */
42
+ name: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof LibraryAgentVersionUio
47
+ */
48
+ description: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof LibraryAgentVersionUio
53
+ */
54
+ category?: string | null;
55
+ /**
56
+ *
57
+ * @type {LibraryAgentBundleSummaryUio}
58
+ * @memberof LibraryAgentVersionUio
59
+ */
60
+ summary: LibraryAgentBundleSummaryUio;
61
+ /**
62
+ *
63
+ * @type {boolean}
64
+ * @memberof LibraryAgentVersionUio
65
+ */
66
+ isLatest: boolean;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof LibraryAgentVersionUio
71
+ */
72
+ sourceAgentId?: string | null;
73
+ /**
74
+ *
75
+ * @type {Date}
76
+ * @memberof LibraryAgentVersionUio
77
+ */
78
+ publishedAt: Date;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof LibraryAgentVersionUio
83
+ */
84
+ publishedBy?: string | null;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof LibraryAgentVersionUio
89
+ */
90
+ publishedByName?: string | null;
91
+ }
92
+ /**
93
+ * Check if a given object implements the LibraryAgentVersionUio interface.
94
+ */
95
+ export declare function instanceOfLibraryAgentVersionUio(value: object): value is LibraryAgentVersionUio;
96
+ export declare function LibraryAgentVersionUioFromJSON(json: any): LibraryAgentVersionUio;
97
+ export declare function LibraryAgentVersionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryAgentVersionUio;
98
+ export declare function LibraryAgentVersionUioToJSON(json: any): LibraryAgentVersionUio;
99
+ export declare function LibraryAgentVersionUioToJSONTyped(value?: LibraryAgentVersionUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,87 @@
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.instanceOfLibraryAgentVersionUio = instanceOfLibraryAgentVersionUio;
17
+ exports.LibraryAgentVersionUioFromJSON = LibraryAgentVersionUioFromJSON;
18
+ exports.LibraryAgentVersionUioFromJSONTyped = LibraryAgentVersionUioFromJSONTyped;
19
+ exports.LibraryAgentVersionUioToJSON = LibraryAgentVersionUioToJSON;
20
+ exports.LibraryAgentVersionUioToJSONTyped = LibraryAgentVersionUioToJSONTyped;
21
+ const LibraryAgentBundleSummaryUio_1 = require("./LibraryAgentBundleSummaryUio");
22
+ /**
23
+ * Check if a given object implements the LibraryAgentVersionUio interface.
24
+ */
25
+ function instanceOfLibraryAgentVersionUio(value) {
26
+ if (!('id' in value) || value['id'] === undefined)
27
+ return false;
28
+ if (!('slug' in value) || value['slug'] === undefined)
29
+ return false;
30
+ if (!('version' in value) || value['version'] === undefined)
31
+ return false;
32
+ if (!('name' in value) || value['name'] === undefined)
33
+ return false;
34
+ if (!('description' in value) || value['description'] === undefined)
35
+ return false;
36
+ if (!('summary' in value) || value['summary'] === undefined)
37
+ return false;
38
+ if (!('isLatest' in value) || value['isLatest'] === undefined)
39
+ return false;
40
+ if (!('publishedAt' in value) || value['publishedAt'] === undefined)
41
+ return false;
42
+ return true;
43
+ }
44
+ function LibraryAgentVersionUioFromJSON(json) {
45
+ return LibraryAgentVersionUioFromJSONTyped(json, false);
46
+ }
47
+ function LibraryAgentVersionUioFromJSONTyped(json, ignoreDiscriminator) {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+ 'id': json['id'],
53
+ 'slug': json['slug'],
54
+ 'version': json['version'],
55
+ 'name': json['name'],
56
+ 'description': json['description'],
57
+ 'category': json['category'] == null ? undefined : json['category'],
58
+ 'summary': (0, LibraryAgentBundleSummaryUio_1.LibraryAgentBundleSummaryUioFromJSON)(json['summary']),
59
+ 'isLatest': json['isLatest'],
60
+ 'sourceAgentId': json['sourceAgentId'] == null ? undefined : json['sourceAgentId'],
61
+ 'publishedAt': (new Date(json['publishedAt'])),
62
+ 'publishedBy': json['publishedBy'] == null ? undefined : json['publishedBy'],
63
+ 'publishedByName': json['publishedByName'] == null ? undefined : json['publishedByName'],
64
+ };
65
+ }
66
+ function LibraryAgentVersionUioToJSON(json) {
67
+ return LibraryAgentVersionUioToJSONTyped(json, false);
68
+ }
69
+ function LibraryAgentVersionUioToJSONTyped(value, ignoreDiscriminator = false) {
70
+ if (value == null) {
71
+ return value;
72
+ }
73
+ return {
74
+ 'id': value['id'],
75
+ 'slug': value['slug'],
76
+ 'version': value['version'],
77
+ 'name': value['name'],
78
+ 'description': value['description'],
79
+ 'category': value['category'],
80
+ 'summary': (0, LibraryAgentBundleSummaryUio_1.LibraryAgentBundleSummaryUioToJSON)(value['summary']),
81
+ 'isLatest': value['isLatest'],
82
+ 'sourceAgentId': value['sourceAgentId'],
83
+ 'publishedAt': ((value['publishedAt']).toISOString()),
84
+ 'publishedBy': value['publishedBy'],
85
+ 'publishedByName': value['publishedByName'],
86
+ };
87
+ }
@@ -0,0 +1,63 @@
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 { LibraryAgentEntryUio } from './LibraryAgentEntryUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LibraryAgentsPageUio
17
+ */
18
+ export interface LibraryAgentsPageUio {
19
+ /**
20
+ *
21
+ * @type {Array<LibraryAgentEntryUio>}
22
+ * @memberof LibraryAgentsPageUio
23
+ */
24
+ data: Array<LibraryAgentEntryUio>;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof LibraryAgentsPageUio
29
+ */
30
+ total: number;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof LibraryAgentsPageUio
35
+ */
36
+ page: number;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof LibraryAgentsPageUio
41
+ */
42
+ limit: number;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof LibraryAgentsPageUio
47
+ */
48
+ totalPages: number;
49
+ /**
50
+ *
51
+ * @type {Array<string>}
52
+ * @memberof LibraryAgentsPageUio
53
+ */
54
+ allCategories: Array<string>;
55
+ }
56
+ /**
57
+ * Check if a given object implements the LibraryAgentsPageUio interface.
58
+ */
59
+ export declare function instanceOfLibraryAgentsPageUio(value: object): value is LibraryAgentsPageUio;
60
+ export declare function LibraryAgentsPageUioFromJSON(json: any): LibraryAgentsPageUio;
61
+ export declare function LibraryAgentsPageUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryAgentsPageUio;
62
+ export declare function LibraryAgentsPageUioToJSON(json: any): LibraryAgentsPageUio;
63
+ export declare function LibraryAgentsPageUioToJSONTyped(value?: LibraryAgentsPageUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,71 @@
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.instanceOfLibraryAgentsPageUio = instanceOfLibraryAgentsPageUio;
17
+ exports.LibraryAgentsPageUioFromJSON = LibraryAgentsPageUioFromJSON;
18
+ exports.LibraryAgentsPageUioFromJSONTyped = LibraryAgentsPageUioFromJSONTyped;
19
+ exports.LibraryAgentsPageUioToJSON = LibraryAgentsPageUioToJSON;
20
+ exports.LibraryAgentsPageUioToJSONTyped = LibraryAgentsPageUioToJSONTyped;
21
+ const LibraryAgentEntryUio_1 = require("./LibraryAgentEntryUio");
22
+ /**
23
+ * Check if a given object implements the LibraryAgentsPageUio interface.
24
+ */
25
+ function instanceOfLibraryAgentsPageUio(value) {
26
+ if (!('data' in value) || value['data'] === undefined)
27
+ return false;
28
+ if (!('total' in value) || value['total'] === undefined)
29
+ return false;
30
+ if (!('page' in value) || value['page'] === undefined)
31
+ return false;
32
+ if (!('limit' in value) || value['limit'] === undefined)
33
+ return false;
34
+ if (!('totalPages' in value) || value['totalPages'] === undefined)
35
+ return false;
36
+ if (!('allCategories' in value) || value['allCategories'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function LibraryAgentsPageUioFromJSON(json) {
41
+ return LibraryAgentsPageUioFromJSONTyped(json, false);
42
+ }
43
+ function LibraryAgentsPageUioFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'data': (json['data'].map(LibraryAgentEntryUio_1.LibraryAgentEntryUioFromJSON)),
49
+ 'total': json['total'],
50
+ 'page': json['page'],
51
+ 'limit': json['limit'],
52
+ 'totalPages': json['totalPages'],
53
+ 'allCategories': json['allCategories'],
54
+ };
55
+ }
56
+ function LibraryAgentsPageUioToJSON(json) {
57
+ return LibraryAgentsPageUioToJSONTyped(json, false);
58
+ }
59
+ function LibraryAgentsPageUioToJSONTyped(value, ignoreDiscriminator = false) {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'data': (value['data'].map(LibraryAgentEntryUio_1.LibraryAgentEntryUioToJSON)),
65
+ 'total': value['total'],
66
+ 'page': value['page'],
67
+ 'limit': value['limit'],
68
+ 'totalPages': value['totalPages'],
69
+ 'allCategories': value['allCategories'],
70
+ };
71
+ }
@@ -8,6 +8,8 @@ export * from './AdvancedFlowEditorNodePositionUio';
8
8
  export * from './AdvancedFlowEditorNodeUio';
9
9
  export * from './AdvancedFlowEditorUio';
10
10
  export * from './AdvancedFlowEditorUpdateRequestUio';
11
+ export * from './AgentBundleDiffUio';
12
+ export * from './AgentBundleListDiffUio';
11
13
  export * from './AgentChatOverviewEntryUio';
12
14
  export * from './AgentComputerUseConfigurationUio';
13
15
  export * from './AgentCreatorUio';
@@ -26,6 +28,11 @@ export * from './AgentImportReportToolsInnerUio';
26
28
  export * from './AgentImportReportUio';
27
29
  export * from './AgentImportRequestUio';
28
30
  export * from './AgentImportResponseUio';
31
+ export * from './AgentLibraryLinkLatestVersionUio';
32
+ export * from './AgentLibraryLinkUio';
33
+ export * from './AgentLibraryLinkUpdateRequestUio';
34
+ export * from './AgentLibraryLinkUpdateResponseUio';
35
+ export * from './AgentLibraryLinksResponseUio';
29
36
  export * from './AgentMemoryConfigurationUio';
30
37
  export * from './AgentMetricsByAppUio';
31
38
  export * from './AgentMetricsEventUio';
@@ -259,6 +266,17 @@ export * from './KnowledgeFileSummaryUio';
259
266
  export * from './KnowledgeFileUio';
260
267
  export * from './KnowledgeFilesByIdsRequestUio';
261
268
  export * from './KnowledgeSitePageUio';
269
+ export * from './LibraryAgentBundleSummaryUio';
270
+ export * from './LibraryAgentDiffResponseUio';
271
+ export * from './LibraryAgentDiffVersionRefUio';
272
+ export * from './LibraryAgentEntryUio';
273
+ export * from './LibraryAgentInstallRequestUio';
274
+ export * from './LibraryAgentInstallResponseUio';
275
+ export * from './LibraryAgentParseBundleRequestUio';
276
+ export * from './LibraryAgentPublishRequestUio';
277
+ export * from './LibraryAgentPublishVersionRequestUio';
278
+ export * from './LibraryAgentVersionUio';
279
+ export * from './LibraryAgentsPageUio';
262
280
  export * from './LibrarySkillEntryUio';
263
281
  export * from './LibrarySkillInstallRequestUio';
264
282
  export * from './LibrarySkillSyncRequestUio';
@@ -26,6 +26,8 @@ __exportStar(require("./AdvancedFlowEditorNodePositionUio"), exports);
26
26
  __exportStar(require("./AdvancedFlowEditorNodeUio"), exports);
27
27
  __exportStar(require("./AdvancedFlowEditorUio"), exports);
28
28
  __exportStar(require("./AdvancedFlowEditorUpdateRequestUio"), exports);
29
+ __exportStar(require("./AgentBundleDiffUio"), exports);
30
+ __exportStar(require("./AgentBundleListDiffUio"), exports);
29
31
  __exportStar(require("./AgentChatOverviewEntryUio"), exports);
30
32
  __exportStar(require("./AgentComputerUseConfigurationUio"), exports);
31
33
  __exportStar(require("./AgentCreatorUio"), exports);
@@ -44,6 +46,11 @@ __exportStar(require("./AgentImportReportToolsInnerUio"), exports);
44
46
  __exportStar(require("./AgentImportReportUio"), exports);
45
47
  __exportStar(require("./AgentImportRequestUio"), exports);
46
48
  __exportStar(require("./AgentImportResponseUio"), exports);
49
+ __exportStar(require("./AgentLibraryLinkLatestVersionUio"), exports);
50
+ __exportStar(require("./AgentLibraryLinkUio"), exports);
51
+ __exportStar(require("./AgentLibraryLinkUpdateRequestUio"), exports);
52
+ __exportStar(require("./AgentLibraryLinkUpdateResponseUio"), exports);
53
+ __exportStar(require("./AgentLibraryLinksResponseUio"), exports);
47
54
  __exportStar(require("./AgentMemoryConfigurationUio"), exports);
48
55
  __exportStar(require("./AgentMetricsByAppUio"), exports);
49
56
  __exportStar(require("./AgentMetricsEventUio"), exports);
@@ -277,6 +284,17 @@ __exportStar(require("./KnowledgeFileSummaryUio"), exports);
277
284
  __exportStar(require("./KnowledgeFileUio"), exports);
278
285
  __exportStar(require("./KnowledgeFilesByIdsRequestUio"), exports);
279
286
  __exportStar(require("./KnowledgeSitePageUio"), exports);
287
+ __exportStar(require("./LibraryAgentBundleSummaryUio"), exports);
288
+ __exportStar(require("./LibraryAgentDiffResponseUio"), exports);
289
+ __exportStar(require("./LibraryAgentDiffVersionRefUio"), exports);
290
+ __exportStar(require("./LibraryAgentEntryUio"), exports);
291
+ __exportStar(require("./LibraryAgentInstallRequestUio"), exports);
292
+ __exportStar(require("./LibraryAgentInstallResponseUio"), exports);
293
+ __exportStar(require("./LibraryAgentParseBundleRequestUio"), exports);
294
+ __exportStar(require("./LibraryAgentPublishRequestUio"), exports);
295
+ __exportStar(require("./LibraryAgentPublishVersionRequestUio"), exports);
296
+ __exportStar(require("./LibraryAgentVersionUio"), exports);
297
+ __exportStar(require("./LibraryAgentsPageUio"), exports);
280
298
  __exportStar(require("./LibrarySkillEntryUio"), exports);
281
299
  __exportStar(require("./LibrarySkillInstallRequestUio"), exports);
282
300
  __exportStar(require("./LibrarySkillSyncRequestUio"), exports);