@breign/client 1.0.137 → 1.0.139

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 (65) hide show
  1. package/dist/apis/LibraryAgentsApi.d.ts +211 -0
  2. package/dist/apis/LibraryAgentsApi.js +537 -0
  3. package/dist/apis/OrganizationsApi.d.ts +58 -1
  4. package/dist/apis/OrganizationsApi.js +134 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/AgentBundleDiffUio.d.ts +79 -0
  8. package/dist/models/AgentBundleDiffUio.js +85 -0
  9. package/dist/models/AgentBundleListDiffUio.d.ts +44 -0
  10. package/dist/models/AgentBundleListDiffUio.js +58 -0
  11. package/dist/models/AgentLibraryLinkLatestVersionUio.d.ts +44 -0
  12. package/dist/models/AgentLibraryLinkLatestVersionUio.js +58 -0
  13. package/dist/models/AgentLibraryLinkUio.d.ts +81 -0
  14. package/dist/models/AgentLibraryLinkUio.js +79 -0
  15. package/dist/models/AgentLibraryLinkUpdateRequestUio.d.ts +38 -0
  16. package/dist/models/AgentLibraryLinkUpdateRequestUio.js +52 -0
  17. package/dist/models/AgentLibraryLinkUpdateResponseUio.d.ts +69 -0
  18. package/dist/models/AgentLibraryLinkUpdateResponseUio.js +75 -0
  19. package/dist/models/AgentLibraryLinksResponseUio.d.ts +33 -0
  20. package/dist/models/AgentLibraryLinksResponseUio.js +51 -0
  21. package/dist/models/AgentSandboxNetworkConfigurationUio.d.ts +2 -2
  22. package/dist/models/ChatMessageUio.d.ts +7 -0
  23. package/dist/models/ChatMessageUio.js +3 -0
  24. package/dist/models/ConversationMessageApprovalUio.d.ts +70 -0
  25. package/dist/models/ConversationMessageApprovalUio.js +74 -0
  26. package/dist/models/ConversationMessagesInnerUio.d.ts +7 -0
  27. package/dist/models/ConversationMessagesInnerUio.js +3 -0
  28. package/dist/models/CreateToolApprovalRequestUio.d.ts +53 -0
  29. package/dist/models/CreateToolApprovalRequestUio.js +67 -0
  30. package/dist/models/EditToolApprovalRequestUio.d.ts +47 -0
  31. package/dist/models/EditToolApprovalRequestUio.js +63 -0
  32. package/dist/models/LibraryAgentBundleSummaryUio.d.ts +56 -0
  33. package/dist/models/LibraryAgentBundleSummaryUio.js +66 -0
  34. package/dist/models/LibraryAgentDiffResponseUio.d.ts +46 -0
  35. package/dist/models/LibraryAgentDiffResponseUio.js +60 -0
  36. package/dist/models/LibraryAgentDiffVersionRefUio.d.ts +38 -0
  37. package/dist/models/LibraryAgentDiffVersionRefUio.js +54 -0
  38. package/dist/models/LibraryAgentEntryUio.d.ts +87 -0
  39. package/dist/models/LibraryAgentEntryUio.js +83 -0
  40. package/dist/models/LibraryAgentInstallRequestUio.d.ts +38 -0
  41. package/dist/models/LibraryAgentInstallRequestUio.js +52 -0
  42. package/dist/models/LibraryAgentInstallResponseUio.d.ts +75 -0
  43. package/dist/models/LibraryAgentInstallResponseUio.js +77 -0
  44. package/dist/models/LibraryAgentParseBundleRequestUio.d.ts +46 -0
  45. package/dist/models/LibraryAgentParseBundleRequestUio.js +62 -0
  46. package/dist/models/LibraryAgentPublishRequestUio.d.ts +68 -0
  47. package/dist/models/LibraryAgentPublishRequestUio.js +60 -0
  48. package/dist/models/LibraryAgentPublishVersionRequestUio.d.ts +62 -0
  49. package/dist/models/LibraryAgentPublishVersionRequestUio.js +58 -0
  50. package/dist/models/LibraryAgentVersionUio.d.ts +99 -0
  51. package/dist/models/LibraryAgentVersionUio.js +87 -0
  52. package/dist/models/LibraryAgentsPageUio.d.ts +63 -0
  53. package/dist/models/LibraryAgentsPageUio.js +71 -0
  54. package/dist/models/ToolApprovalUio.d.ts +85 -0
  55. package/dist/models/ToolApprovalUio.js +88 -0
  56. package/dist/models/ToolApprovalsResponseUio.d.ts +33 -0
  57. package/dist/models/ToolApprovalsResponseUio.js +51 -0
  58. package/dist/models/ToolCallResultRequestUio.d.ts +28 -0
  59. package/dist/models/ToolCallResultRequestUio.js +19 -1
  60. package/dist/models/ToolCallUio.d.ts +4 -4
  61. package/dist/models/ToolCallUio.js +2 -4
  62. package/dist/models/index.d.ts +23 -0
  63. package/dist/models/index.js +23 -0
  64. package/dist/openapi.json +6374 -4924
  65. package/package.json +1 -1
@@ -0,0 +1,53 @@
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 CreateToolApprovalRequestUio
16
+ */
17
+ export interface CreateToolApprovalRequestUio {
18
+ /**
19
+ * The agent the approval is granted to. The caller must have access to it.
20
+ * @type {string}
21
+ * @memberof CreateToolApprovalRequestUio
22
+ */
23
+ agentId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreateToolApprovalRequestUio
28
+ */
29
+ resourceKind: CreateToolApprovalRequestUioResourceKindEnum;
30
+ /**
31
+ * An address is re-normalised server-side (https only, no credentials, no ambiguous separators) and stored as a prefix; a pattern is a glob — a star stands for any text up to the next slash, everything else is literal — that must start with https://, close its host with a slash and end with a slash or a star; a command is stored exactly as written, whitespace normalised.
32
+ * @type {string}
33
+ * @memberof CreateToolApprovalRequestUio
34
+ */
35
+ resource: string;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const CreateToolApprovalRequestUioResourceKindEnum: {
41
+ readonly Url: "url";
42
+ readonly Command: "command";
43
+ readonly UrlPattern: "urlPattern";
44
+ };
45
+ export type CreateToolApprovalRequestUioResourceKindEnum = typeof CreateToolApprovalRequestUioResourceKindEnum[keyof typeof CreateToolApprovalRequestUioResourceKindEnum];
46
+ /**
47
+ * Check if a given object implements the CreateToolApprovalRequestUio interface.
48
+ */
49
+ export declare function instanceOfCreateToolApprovalRequestUio(value: object): value is CreateToolApprovalRequestUio;
50
+ export declare function CreateToolApprovalRequestUioFromJSON(json: any): CreateToolApprovalRequestUio;
51
+ export declare function CreateToolApprovalRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateToolApprovalRequestUio;
52
+ export declare function CreateToolApprovalRequestUioToJSON(json: any): CreateToolApprovalRequestUio;
53
+ export declare function CreateToolApprovalRequestUioToJSONTyped(value?: CreateToolApprovalRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
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.CreateToolApprovalRequestUioResourceKindEnum = void 0;
17
+ exports.instanceOfCreateToolApprovalRequestUio = instanceOfCreateToolApprovalRequestUio;
18
+ exports.CreateToolApprovalRequestUioFromJSON = CreateToolApprovalRequestUioFromJSON;
19
+ exports.CreateToolApprovalRequestUioFromJSONTyped = CreateToolApprovalRequestUioFromJSONTyped;
20
+ exports.CreateToolApprovalRequestUioToJSON = CreateToolApprovalRequestUioToJSON;
21
+ exports.CreateToolApprovalRequestUioToJSONTyped = CreateToolApprovalRequestUioToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.CreateToolApprovalRequestUioResourceKindEnum = {
26
+ Url: 'url',
27
+ Command: 'command',
28
+ UrlPattern: 'urlPattern'
29
+ };
30
+ /**
31
+ * Check if a given object implements the CreateToolApprovalRequestUio interface.
32
+ */
33
+ function instanceOfCreateToolApprovalRequestUio(value) {
34
+ if (!('agentId' in value) || value['agentId'] === undefined)
35
+ return false;
36
+ if (!('resourceKind' in value) || value['resourceKind'] === undefined)
37
+ return false;
38
+ if (!('resource' in value) || value['resource'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function CreateToolApprovalRequestUioFromJSON(json) {
43
+ return CreateToolApprovalRequestUioFromJSONTyped(json, false);
44
+ }
45
+ function CreateToolApprovalRequestUioFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'agentId': json['agentId'],
51
+ 'resourceKind': json['resourceKind'],
52
+ 'resource': json['resource'],
53
+ };
54
+ }
55
+ function CreateToolApprovalRequestUioToJSON(json) {
56
+ return CreateToolApprovalRequestUioToJSONTyped(json, false);
57
+ }
58
+ function CreateToolApprovalRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+ 'agentId': value['agentId'],
64
+ 'resourceKind': value['resourceKind'],
65
+ 'resource': value['resource'],
66
+ };
67
+ }
@@ -0,0 +1,47 @@
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 EditToolApprovalRequestUio
16
+ */
17
+ export interface EditToolApprovalRequestUio {
18
+ /**
19
+ * The family the edited value belongs to. Changing it is allowed and is the point: an approved address becomes a pattern this way.
20
+ * @type {string}
21
+ * @memberof EditToolApprovalRequestUio
22
+ */
23
+ resourceKind: EditToolApprovalRequestUioResourceKindEnum;
24
+ /**
25
+ * The new value. An address is re-normalised server-side (https only, no credentials, no ambiguous separators) and stored as a prefix; a pattern is a glob — a star stands for any text up to the next slash, everything else is literal — that must start with https://, close its host with a slash and end with a slash or a star; a command is stored exactly as written, whitespace normalised.
26
+ * @type {string}
27
+ * @memberof EditToolApprovalRequestUio
28
+ */
29
+ resource: string;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const EditToolApprovalRequestUioResourceKindEnum: {
35
+ readonly Url: "url";
36
+ readonly Command: "command";
37
+ readonly UrlPattern: "urlPattern";
38
+ };
39
+ export type EditToolApprovalRequestUioResourceKindEnum = typeof EditToolApprovalRequestUioResourceKindEnum[keyof typeof EditToolApprovalRequestUioResourceKindEnum];
40
+ /**
41
+ * Check if a given object implements the EditToolApprovalRequestUio interface.
42
+ */
43
+ export declare function instanceOfEditToolApprovalRequestUio(value: object): value is EditToolApprovalRequestUio;
44
+ export declare function EditToolApprovalRequestUioFromJSON(json: any): EditToolApprovalRequestUio;
45
+ export declare function EditToolApprovalRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): EditToolApprovalRequestUio;
46
+ export declare function EditToolApprovalRequestUioToJSON(json: any): EditToolApprovalRequestUio;
47
+ export declare function EditToolApprovalRequestUioToJSONTyped(value?: EditToolApprovalRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
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.EditToolApprovalRequestUioResourceKindEnum = void 0;
17
+ exports.instanceOfEditToolApprovalRequestUio = instanceOfEditToolApprovalRequestUio;
18
+ exports.EditToolApprovalRequestUioFromJSON = EditToolApprovalRequestUioFromJSON;
19
+ exports.EditToolApprovalRequestUioFromJSONTyped = EditToolApprovalRequestUioFromJSONTyped;
20
+ exports.EditToolApprovalRequestUioToJSON = EditToolApprovalRequestUioToJSON;
21
+ exports.EditToolApprovalRequestUioToJSONTyped = EditToolApprovalRequestUioToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.EditToolApprovalRequestUioResourceKindEnum = {
26
+ Url: 'url',
27
+ Command: 'command',
28
+ UrlPattern: 'urlPattern'
29
+ };
30
+ /**
31
+ * Check if a given object implements the EditToolApprovalRequestUio interface.
32
+ */
33
+ function instanceOfEditToolApprovalRequestUio(value) {
34
+ if (!('resourceKind' in value) || value['resourceKind'] === undefined)
35
+ return false;
36
+ if (!('resource' in value) || value['resource'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function EditToolApprovalRequestUioFromJSON(json) {
41
+ return EditToolApprovalRequestUioFromJSONTyped(json, false);
42
+ }
43
+ function EditToolApprovalRequestUioFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'resourceKind': json['resourceKind'],
49
+ 'resource': json['resource'],
50
+ };
51
+ }
52
+ function EditToolApprovalRequestUioToJSON(json) {
53
+ return EditToolApprovalRequestUioToJSONTyped(json, false);
54
+ }
55
+ function EditToolApprovalRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'resourceKind': value['resourceKind'],
61
+ 'resource': value['resource'],
62
+ };
63
+ }
@@ -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
+ * Content overview of a published agent bundle (computed at publish time).
14
+ * @export
15
+ * @interface LibraryAgentBundleSummaryUio
16
+ */
17
+ export interface LibraryAgentBundleSummaryUio {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof LibraryAgentBundleSummaryUio
22
+ */
23
+ skills: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof LibraryAgentBundleSummaryUio
28
+ */
29
+ tools: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof LibraryAgentBundleSummaryUio
34
+ */
35
+ knowledgeBases: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof LibraryAgentBundleSummaryUio
40
+ */
41
+ apps: number;
42
+ /**
43
+ *
44
+ * @type {boolean}
45
+ * @memberof LibraryAgentBundleSummaryUio
46
+ */
47
+ hasFlow: boolean;
48
+ }
49
+ /**
50
+ * Check if a given object implements the LibraryAgentBundleSummaryUio interface.
51
+ */
52
+ export declare function instanceOfLibraryAgentBundleSummaryUio(value: object): value is LibraryAgentBundleSummaryUio;
53
+ export declare function LibraryAgentBundleSummaryUioFromJSON(json: any): LibraryAgentBundleSummaryUio;
54
+ export declare function LibraryAgentBundleSummaryUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryAgentBundleSummaryUio;
55
+ export declare function LibraryAgentBundleSummaryUioToJSON(json: any): LibraryAgentBundleSummaryUio;
56
+ export declare function LibraryAgentBundleSummaryUioToJSONTyped(value?: LibraryAgentBundleSummaryUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,66 @@
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.instanceOfLibraryAgentBundleSummaryUio = instanceOfLibraryAgentBundleSummaryUio;
17
+ exports.LibraryAgentBundleSummaryUioFromJSON = LibraryAgentBundleSummaryUioFromJSON;
18
+ exports.LibraryAgentBundleSummaryUioFromJSONTyped = LibraryAgentBundleSummaryUioFromJSONTyped;
19
+ exports.LibraryAgentBundleSummaryUioToJSON = LibraryAgentBundleSummaryUioToJSON;
20
+ exports.LibraryAgentBundleSummaryUioToJSONTyped = LibraryAgentBundleSummaryUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LibraryAgentBundleSummaryUio interface.
23
+ */
24
+ function instanceOfLibraryAgentBundleSummaryUio(value) {
25
+ if (!('skills' in value) || value['skills'] === undefined)
26
+ return false;
27
+ if (!('tools' in value) || value['tools'] === undefined)
28
+ return false;
29
+ if (!('knowledgeBases' in value) || value['knowledgeBases'] === undefined)
30
+ return false;
31
+ if (!('apps' in value) || value['apps'] === undefined)
32
+ return false;
33
+ if (!('hasFlow' in value) || value['hasFlow'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function LibraryAgentBundleSummaryUioFromJSON(json) {
38
+ return LibraryAgentBundleSummaryUioFromJSONTyped(json, false);
39
+ }
40
+ function LibraryAgentBundleSummaryUioFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'skills': json['skills'],
46
+ 'tools': json['tools'],
47
+ 'knowledgeBases': json['knowledgeBases'],
48
+ 'apps': json['apps'],
49
+ 'hasFlow': json['hasFlow'],
50
+ };
51
+ }
52
+ function LibraryAgentBundleSummaryUioToJSON(json) {
53
+ return LibraryAgentBundleSummaryUioToJSONTyped(json, false);
54
+ }
55
+ function LibraryAgentBundleSummaryUioToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'skills': value['skills'],
61
+ 'tools': value['tools'],
62
+ 'knowledgeBases': value['knowledgeBases'],
63
+ 'apps': value['apps'],
64
+ 'hasFlow': value['hasFlow'],
65
+ };
66
+ }
@@ -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
+ import type { AgentBundleDiffUio } from './AgentBundleDiffUio';
13
+ import type { LibraryAgentDiffVersionRefUio } from './LibraryAgentDiffVersionRefUio';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface LibraryAgentDiffResponseUio
18
+ */
19
+ export interface LibraryAgentDiffResponseUio {
20
+ /**
21
+ *
22
+ * @type {LibraryAgentDiffVersionRefUio}
23
+ * @memberof LibraryAgentDiffResponseUio
24
+ */
25
+ from: LibraryAgentDiffVersionRefUio;
26
+ /**
27
+ *
28
+ * @type {LibraryAgentDiffVersionRefUio}
29
+ * @memberof LibraryAgentDiffResponseUio
30
+ */
31
+ to: LibraryAgentDiffVersionRefUio;
32
+ /**
33
+ *
34
+ * @type {AgentBundleDiffUio}
35
+ * @memberof LibraryAgentDiffResponseUio
36
+ */
37
+ diff: AgentBundleDiffUio;
38
+ }
39
+ /**
40
+ * Check if a given object implements the LibraryAgentDiffResponseUio interface.
41
+ */
42
+ export declare function instanceOfLibraryAgentDiffResponseUio(value: object): value is LibraryAgentDiffResponseUio;
43
+ export declare function LibraryAgentDiffResponseUioFromJSON(json: any): LibraryAgentDiffResponseUio;
44
+ export declare function LibraryAgentDiffResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryAgentDiffResponseUio;
45
+ export declare function LibraryAgentDiffResponseUioToJSON(json: any): LibraryAgentDiffResponseUio;
46
+ export declare function LibraryAgentDiffResponseUioToJSONTyped(value?: LibraryAgentDiffResponseUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfLibraryAgentDiffResponseUio = instanceOfLibraryAgentDiffResponseUio;
17
+ exports.LibraryAgentDiffResponseUioFromJSON = LibraryAgentDiffResponseUioFromJSON;
18
+ exports.LibraryAgentDiffResponseUioFromJSONTyped = LibraryAgentDiffResponseUioFromJSONTyped;
19
+ exports.LibraryAgentDiffResponseUioToJSON = LibraryAgentDiffResponseUioToJSON;
20
+ exports.LibraryAgentDiffResponseUioToJSONTyped = LibraryAgentDiffResponseUioToJSONTyped;
21
+ const AgentBundleDiffUio_1 = require("./AgentBundleDiffUio");
22
+ const LibraryAgentDiffVersionRefUio_1 = require("./LibraryAgentDiffVersionRefUio");
23
+ /**
24
+ * Check if a given object implements the LibraryAgentDiffResponseUio interface.
25
+ */
26
+ function instanceOfLibraryAgentDiffResponseUio(value) {
27
+ if (!('from' in value) || value['from'] === undefined)
28
+ return false;
29
+ if (!('to' in value) || value['to'] === undefined)
30
+ return false;
31
+ if (!('diff' in value) || value['diff'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function LibraryAgentDiffResponseUioFromJSON(json) {
36
+ return LibraryAgentDiffResponseUioFromJSONTyped(json, false);
37
+ }
38
+ function LibraryAgentDiffResponseUioFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'from': (0, LibraryAgentDiffVersionRefUio_1.LibraryAgentDiffVersionRefUioFromJSON)(json['from']),
44
+ 'to': (0, LibraryAgentDiffVersionRefUio_1.LibraryAgentDiffVersionRefUioFromJSON)(json['to']),
45
+ 'diff': (0, AgentBundleDiffUio_1.AgentBundleDiffUioFromJSON)(json['diff']),
46
+ };
47
+ }
48
+ function LibraryAgentDiffResponseUioToJSON(json) {
49
+ return LibraryAgentDiffResponseUioToJSONTyped(json, false);
50
+ }
51
+ function LibraryAgentDiffResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'from': (0, LibraryAgentDiffVersionRefUio_1.LibraryAgentDiffVersionRefUioToJSON)(value['from']),
57
+ 'to': (0, LibraryAgentDiffVersionRefUio_1.LibraryAgentDiffVersionRefUioToJSON)(value['to']),
58
+ 'diff': (0, AgentBundleDiffUio_1.AgentBundleDiffUioToJSON)(value['diff']),
59
+ };
60
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface LibraryAgentDiffVersionRefUio
16
+ */
17
+ export interface LibraryAgentDiffVersionRefUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof LibraryAgentDiffVersionRefUio
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof LibraryAgentDiffVersionRefUio
28
+ */
29
+ version: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the LibraryAgentDiffVersionRefUio interface.
33
+ */
34
+ export declare function instanceOfLibraryAgentDiffVersionRefUio(value: object): value is LibraryAgentDiffVersionRefUio;
35
+ export declare function LibraryAgentDiffVersionRefUioFromJSON(json: any): LibraryAgentDiffVersionRefUio;
36
+ export declare function LibraryAgentDiffVersionRefUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryAgentDiffVersionRefUio;
37
+ export declare function LibraryAgentDiffVersionRefUioToJSON(json: any): LibraryAgentDiffVersionRefUio;
38
+ export declare function LibraryAgentDiffVersionRefUioToJSONTyped(value?: LibraryAgentDiffVersionRefUio | 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.instanceOfLibraryAgentDiffVersionRefUio = instanceOfLibraryAgentDiffVersionRefUio;
17
+ exports.LibraryAgentDiffVersionRefUioFromJSON = LibraryAgentDiffVersionRefUioFromJSON;
18
+ exports.LibraryAgentDiffVersionRefUioFromJSONTyped = LibraryAgentDiffVersionRefUioFromJSONTyped;
19
+ exports.LibraryAgentDiffVersionRefUioToJSON = LibraryAgentDiffVersionRefUioToJSON;
20
+ exports.LibraryAgentDiffVersionRefUioToJSONTyped = LibraryAgentDiffVersionRefUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LibraryAgentDiffVersionRefUio interface.
23
+ */
24
+ function instanceOfLibraryAgentDiffVersionRefUio(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('version' in value) || value['version'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function LibraryAgentDiffVersionRefUioFromJSON(json) {
32
+ return LibraryAgentDiffVersionRefUioFromJSONTyped(json, false);
33
+ }
34
+ function LibraryAgentDiffVersionRefUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'id': json['id'],
40
+ 'version': json['version'],
41
+ };
42
+ }
43
+ function LibraryAgentDiffVersionRefUioToJSON(json) {
44
+ return LibraryAgentDiffVersionRefUioToJSONTyped(json, false);
45
+ }
46
+ function LibraryAgentDiffVersionRefUioToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'id': value['id'],
52
+ 'version': value['version'],
53
+ };
54
+ }
@@ -0,0 +1,87 @@
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 { LibraryAgentVersionUio } from './LibraryAgentVersionUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LibraryAgentEntryUio
17
+ */
18
+ export interface LibraryAgentEntryUio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof LibraryAgentEntryUio
23
+ */
24
+ id: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof LibraryAgentEntryUio
29
+ */
30
+ slug: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof LibraryAgentEntryUio
35
+ */
36
+ name: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof LibraryAgentEntryUio
41
+ */
42
+ description: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof LibraryAgentEntryUio
47
+ */
48
+ sourceAgentId?: string | null;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof LibraryAgentEntryUio
53
+ */
54
+ latestVersionId: string | null;
55
+ /**
56
+ *
57
+ * @type {Date}
58
+ * @memberof LibraryAgentEntryUio
59
+ */
60
+ createdAt: Date;
61
+ /**
62
+ *
63
+ * @type {Date}
64
+ * @memberof LibraryAgentEntryUio
65
+ */
66
+ updatedAt: Date;
67
+ /**
68
+ *
69
+ * @type {Array<LibraryAgentVersionUio>}
70
+ * @memberof LibraryAgentEntryUio
71
+ */
72
+ versions: Array<LibraryAgentVersionUio>;
73
+ /**
74
+ *
75
+ * @type {LibraryAgentVersionUio}
76
+ * @memberof LibraryAgentEntryUio
77
+ */
78
+ latestVersion?: LibraryAgentVersionUio;
79
+ }
80
+ /**
81
+ * Check if a given object implements the LibraryAgentEntryUio interface.
82
+ */
83
+ export declare function instanceOfLibraryAgentEntryUio(value: object): value is LibraryAgentEntryUio;
84
+ export declare function LibraryAgentEntryUioFromJSON(json: any): LibraryAgentEntryUio;
85
+ export declare function LibraryAgentEntryUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryAgentEntryUio;
86
+ export declare function LibraryAgentEntryUioToJSON(json: any): LibraryAgentEntryUio;
87
+ export declare function LibraryAgentEntryUioToJSONTyped(value?: LibraryAgentEntryUio | null, ignoreDiscriminator?: boolean): any;