@breign/client 1.0.74 → 1.0.76

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 (98) hide show
  1. package/dist/apis/AgentApi.d.ts +95 -3
  2. package/dist/apis/AgentApi.js +218 -5
  3. package/dist/apis/AppApi.d.ts +73 -2
  4. package/dist/apis/AppApi.js +169 -2
  5. package/dist/apis/KnowledgeApi.d.ts +27 -1
  6. package/dist/apis/KnowledgeApi.js +60 -0
  7. package/dist/apis/OrganizationsApi.d.ts +67 -1
  8. package/dist/apis/OrganizationsApi.js +156 -0
  9. package/dist/apis/PromptsApi.d.ts +3 -3
  10. package/dist/apis/PromptsApi.js +1 -1
  11. package/dist/apis/ToolsApi.d.ts +26 -1
  12. package/dist/apis/ToolsApi.js +59 -0
  13. package/dist/models/AdvancedFlowEditorEdgeUio.d.ts +56 -0
  14. package/dist/models/AdvancedFlowEditorEdgeUio.js +62 -0
  15. package/dist/models/AdvancedFlowEditorNodePositionUio.d.ts +38 -0
  16. package/dist/models/AdvancedFlowEditorNodePositionUio.js +54 -0
  17. package/dist/models/AdvancedFlowEditorNodeUio.d.ts +53 -0
  18. package/dist/models/AdvancedFlowEditorNodeUio.js +63 -0
  19. package/dist/models/AdvancedFlowEditorUio.d.ts +46 -0
  20. package/dist/models/AdvancedFlowEditorUio.js +60 -0
  21. package/dist/models/AdvancedFlowEditorUpdateRequestUio.d.ts +40 -0
  22. package/dist/models/AdvancedFlowEditorUpdateRequestUio.js +56 -0
  23. package/dist/models/AgentFlowCreateUio.d.ts +6 -0
  24. package/dist/models/AgentFlowCreateUio.js +2 -0
  25. package/dist/models/AgentFlowUio.d.ts +6 -0
  26. package/dist/models/AgentFlowUio.js +2 -0
  27. package/dist/models/AnimationCreateRequestUio.d.ts +56 -0
  28. package/dist/models/AnimationCreateRequestUio.js +64 -0
  29. package/dist/models/AnimationUio.d.ts +56 -0
  30. package/dist/models/AnimationUio.js +64 -0
  31. package/dist/models/AppCommandsInnerUio.d.ts +46 -0
  32. package/dist/models/AppCommandsInnerUio.js +56 -0
  33. package/dist/models/AppUio.d.ts +17 -3
  34. package/dist/models/AppUio.js +9 -3
  35. package/dist/models/AppUpdateRequestUio.d.ts +8 -0
  36. package/dist/models/AppUpdateRequestUio.js +2 -0
  37. package/dist/models/Conversation1Uio.d.ts +46 -0
  38. package/dist/models/Conversation1Uio.js +60 -0
  39. package/dist/models/ConversationMessagesInnerFlowNodeEntrypointsUio.d.ts +32 -0
  40. package/dist/models/ConversationMessagesInnerFlowNodeEntrypointsUio.js +48 -0
  41. package/dist/models/ConversationMessagesInnerFlowNodeUio.d.ts +51 -0
  42. package/dist/models/ConversationMessagesInnerFlowNodeUio.js +55 -0
  43. package/dist/models/ConversationMessagesInnerSuggestionsInnerUio.d.ts +38 -0
  44. package/dist/models/ConversationMessagesInnerSuggestionsInnerUio.js +54 -0
  45. package/dist/models/ConversationMessagesInnerUio.d.ts +79 -0
  46. package/dist/models/ConversationMessagesInnerUio.js +73 -0
  47. package/dist/models/ConversationMetricsInnerSourceUio.d.ts +51 -0
  48. package/dist/models/ConversationMetricsInnerSourceUio.js +65 -0
  49. package/dist/models/ConversationMetricsInnerUio.d.ts +46 -0
  50. package/dist/models/ConversationMetricsInnerUio.js +60 -0
  51. package/dist/models/ConversationMetricsInnerValueInnerCostUio.d.ts +38 -0
  52. package/dist/models/ConversationMetricsInnerValueInnerCostUio.js +54 -0
  53. package/dist/models/ConversationMetricsInnerValueInnerUio.d.ts +63 -0
  54. package/dist/models/ConversationMetricsInnerValueInnerUio.js +69 -0
  55. package/dist/models/ConversationUio.d.ts +56 -6
  56. package/dist/models/ConversationUio.js +27 -7
  57. package/dist/models/FlowContentsUio.d.ts +6 -0
  58. package/dist/models/FlowContentsUio.js +2 -0
  59. package/dist/models/FlowEditorNodeUio.d.ts +39 -0
  60. package/dist/models/FlowEditorNodeUio.js +55 -0
  61. package/dist/models/FlowEditorUio.d.ts +39 -0
  62. package/dist/models/FlowEditorUio.js +55 -0
  63. package/dist/models/FlowEditorUpdateRequestUio.d.ts +33 -0
  64. package/dist/models/FlowEditorUpdateRequestUio.js +51 -0
  65. package/dist/models/GuardianEngineUio.d.ts +27 -4
  66. package/dist/models/GuardianEngineUio.js +11 -4
  67. package/dist/models/GuardianPutRequestUio.d.ts +13 -0
  68. package/dist/models/GuardianPutRequestUio.js +5 -0
  69. package/dist/models/GuardianTypeUio.d.ts +2 -3
  70. package/dist/models/GuardianTypeUio.js +2 -3
  71. package/dist/models/GuardianUio.d.ts +1 -1
  72. package/dist/models/GuardianUio.js +3 -1
  73. package/dist/models/KnowledgeFilesByIdsRequestUio.d.ts +32 -0
  74. package/dist/models/KnowledgeFilesByIdsRequestUio.js +50 -0
  75. package/dist/models/OrganizationUio.d.ts +20 -0
  76. package/dist/models/OrganizationUio.js +10 -0
  77. package/dist/models/OrganizationUserUio.d.ts +38 -0
  78. package/dist/models/OrganizationUserUio.js +54 -0
  79. package/dist/models/RoleCreateRequestUio.d.ts +44 -0
  80. package/dist/models/RoleCreateRequestUio.js +56 -0
  81. package/dist/models/SequenceContentsUio.d.ts +38 -0
  82. package/dist/models/SequenceContentsUio.js +50 -0
  83. package/dist/models/SequenceCreateRequestUio.d.ts +45 -0
  84. package/dist/models/SequenceCreateRequestUio.js +59 -0
  85. package/dist/models/SequenceUio.d.ts +45 -0
  86. package/dist/models/SequenceUio.js +59 -0
  87. package/dist/models/ToolUpdateRequestUio.d.ts +62 -0
  88. package/dist/models/ToolUpdateRequestUio.js +56 -0
  89. package/dist/models/index.d.ts +27 -3
  90. package/dist/models/index.js +27 -3
  91. package/dist/openapi.json +1491 -129
  92. package/package.json +1 -1
  93. package/dist/models/AppSequencesInnerUio.d.ts +0 -38
  94. package/dist/models/AppSequencesInnerUio.js +0 -50
  95. package/dist/models/ConversationFlowNodeEntrypointsUio.d.ts +0 -32
  96. package/dist/models/ConversationFlowNodeEntrypointsUio.js +0 -48
  97. package/dist/models/ConversationFlowNodeUio.d.ts +0 -51
  98. package/dist/models/ConversationFlowNodeUio.js +0 -55
@@ -35,6 +35,7 @@ function AgentFlowCreateUioFromJSONTyped(json, ignoreDiscriminator) {
35
35
  return json;
36
36
  }
37
37
  return {
38
+ 'name': json['name'] == null ? undefined : json['name'],
38
39
  'entrypoints': json['entrypoints'] == null ? undefined : (0, FlowEntrypointsUio_1.FlowEntrypointsUioFromJSON)(json['entrypoints']),
39
40
  'exits': json['exits'] == null ? undefined : json['exits'],
40
41
  'contents': json['contents'] == null ? undefined : (0, FlowContentsUio_1.FlowContentsUioFromJSON)(json['contents']),
@@ -49,6 +50,7 @@ function AgentFlowCreateUioToJSONTyped(value, ignoreDiscriminator = false) {
49
50
  return value;
50
51
  }
51
52
  return {
53
+ 'name': value['name'],
52
54
  'entrypoints': (0, FlowEntrypointsUio_1.FlowEntrypointsUioToJSON)(value['entrypoints']),
53
55
  'exits': value['exits'],
54
56
  'contents': (0, FlowContentsUio_1.FlowContentsUioToJSON)(value['contents']),
@@ -18,6 +18,12 @@ import type { FlowEntrypointsUio } from './FlowEntrypointsUio';
18
18
  * @interface AgentFlowUio
19
19
  */
20
20
  export interface AgentFlowUio {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof AgentFlowUio
25
+ */
26
+ name?: string;
21
27
  /**
22
28
  *
23
29
  * @type {FlowEntrypointsUio}
@@ -39,6 +39,7 @@ function AgentFlowUioFromJSONTyped(json, ignoreDiscriminator) {
39
39
  return json;
40
40
  }
41
41
  return {
42
+ 'name': json['name'] == null ? undefined : json['name'],
42
43
  'entrypoints': json['entrypoints'] == null ? undefined : (0, FlowEntrypointsUio_1.FlowEntrypointsUioFromJSON)(json['entrypoints']),
43
44
  'exits': json['exits'] == null ? undefined : json['exits'],
44
45
  'contents': json['contents'] == null ? undefined : (0, FlowContentsUio_1.FlowContentsUioFromJSON)(json['contents']),
@@ -55,6 +56,7 @@ function AgentFlowUioToJSONTyped(value, ignoreDiscriminator = false) {
55
56
  return value;
56
57
  }
57
58
  return {
59
+ 'name': value['name'],
58
60
  'entrypoints': (0, FlowEntrypointsUio_1.FlowEntrypointsUioToJSON)(value['entrypoints']),
59
61
  'exits': value['exits'],
60
62
  'contents': (0, FlowContentsUio_1.FlowContentsUioToJSON)(value['contents']),
@@ -0,0 +1,56 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AnimationCreateRequestUio
16
+ */
17
+ export interface AnimationCreateRequestUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AnimationCreateRequestUio
22
+ */
23
+ category?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AnimationCreateRequestUio
28
+ */
29
+ type: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof AnimationCreateRequestUio
34
+ */
35
+ animationId: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof AnimationCreateRequestUio
40
+ */
41
+ code: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof AnimationCreateRequestUio
46
+ */
47
+ name: string;
48
+ }
49
+ /**
50
+ * Check if a given object implements the AnimationCreateRequestUio interface.
51
+ */
52
+ export declare function instanceOfAnimationCreateRequestUio(value: object): value is AnimationCreateRequestUio;
53
+ export declare function AnimationCreateRequestUioFromJSON(json: any): AnimationCreateRequestUio;
54
+ export declare function AnimationCreateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnimationCreateRequestUio;
55
+ export declare function AnimationCreateRequestUioToJSON(json: any): AnimationCreateRequestUio;
56
+ export declare function AnimationCreateRequestUioToJSONTyped(value?: AnimationCreateRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,64 @@
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.instanceOfAnimationCreateRequestUio = instanceOfAnimationCreateRequestUio;
17
+ exports.AnimationCreateRequestUioFromJSON = AnimationCreateRequestUioFromJSON;
18
+ exports.AnimationCreateRequestUioFromJSONTyped = AnimationCreateRequestUioFromJSONTyped;
19
+ exports.AnimationCreateRequestUioToJSON = AnimationCreateRequestUioToJSON;
20
+ exports.AnimationCreateRequestUioToJSONTyped = AnimationCreateRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AnimationCreateRequestUio interface.
23
+ */
24
+ function instanceOfAnimationCreateRequestUio(value) {
25
+ if (!('type' in value) || value['type'] === undefined)
26
+ return false;
27
+ if (!('animationId' in value) || value['animationId'] === undefined)
28
+ return false;
29
+ if (!('code' in value) || value['code'] === undefined)
30
+ return false;
31
+ if (!('name' in value) || value['name'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function AnimationCreateRequestUioFromJSON(json) {
36
+ return AnimationCreateRequestUioFromJSONTyped(json, false);
37
+ }
38
+ function AnimationCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'category': json['category'] == null ? undefined : json['category'],
44
+ 'type': json['type'],
45
+ 'animationId': json['animationId'],
46
+ 'code': json['code'],
47
+ 'name': json['name'],
48
+ };
49
+ }
50
+ function AnimationCreateRequestUioToJSON(json) {
51
+ return AnimationCreateRequestUioToJSONTyped(json, false);
52
+ }
53
+ function AnimationCreateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'category': value['category'],
59
+ 'type': value['type'],
60
+ 'animationId': value['animationId'],
61
+ 'code': value['code'],
62
+ 'name': value['name'],
63
+ };
64
+ }
@@ -0,0 +1,56 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AnimationUio
16
+ */
17
+ export interface AnimationUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AnimationUio
22
+ */
23
+ category?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AnimationUio
28
+ */
29
+ type: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof AnimationUio
34
+ */
35
+ animationId: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof AnimationUio
40
+ */
41
+ code: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof AnimationUio
46
+ */
47
+ name: string;
48
+ }
49
+ /**
50
+ * Check if a given object implements the AnimationUio interface.
51
+ */
52
+ export declare function instanceOfAnimationUio(value: object): value is AnimationUio;
53
+ export declare function AnimationUioFromJSON(json: any): AnimationUio;
54
+ export declare function AnimationUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnimationUio;
55
+ export declare function AnimationUioToJSON(json: any): AnimationUio;
56
+ export declare function AnimationUioToJSONTyped(value?: AnimationUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,64 @@
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.instanceOfAnimationUio = instanceOfAnimationUio;
17
+ exports.AnimationUioFromJSON = AnimationUioFromJSON;
18
+ exports.AnimationUioFromJSONTyped = AnimationUioFromJSONTyped;
19
+ exports.AnimationUioToJSON = AnimationUioToJSON;
20
+ exports.AnimationUioToJSONTyped = AnimationUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AnimationUio interface.
23
+ */
24
+ function instanceOfAnimationUio(value) {
25
+ if (!('type' in value) || value['type'] === undefined)
26
+ return false;
27
+ if (!('animationId' in value) || value['animationId'] === undefined)
28
+ return false;
29
+ if (!('code' in value) || value['code'] === undefined)
30
+ return false;
31
+ if (!('name' in value) || value['name'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function AnimationUioFromJSON(json) {
36
+ return AnimationUioFromJSONTyped(json, false);
37
+ }
38
+ function AnimationUioFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'category': json['category'] == null ? undefined : json['category'],
44
+ 'type': json['type'],
45
+ 'animationId': json['animationId'],
46
+ 'code': json['code'],
47
+ 'name': json['name'],
48
+ };
49
+ }
50
+ function AnimationUioToJSON(json) {
51
+ return AnimationUioToJSONTyped(json, false);
52
+ }
53
+ function AnimationUioToJSONTyped(value, ignoreDiscriminator = false) {
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'category': value['category'],
59
+ 'type': value['type'],
60
+ 'animationId': value['animationId'],
61
+ 'code': value['code'],
62
+ 'name': value['name'],
63
+ };
64
+ }
@@ -0,0 +1,46 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AppCommandsInnerUio
16
+ */
17
+ export interface AppCommandsInnerUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AppCommandsInnerUio
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {{ [key: string]: any; }}
27
+ * @memberof AppCommandsInnerUio
28
+ */
29
+ command: {
30
+ [key: string]: any;
31
+ };
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof AppCommandsInnerUio
36
+ */
37
+ category?: string;
38
+ }
39
+ /**
40
+ * Check if a given object implements the AppCommandsInnerUio interface.
41
+ */
42
+ export declare function instanceOfAppCommandsInnerUio(value: object): value is AppCommandsInnerUio;
43
+ export declare function AppCommandsInnerUioFromJSON(json: any): AppCommandsInnerUio;
44
+ export declare function AppCommandsInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppCommandsInnerUio;
45
+ export declare function AppCommandsInnerUioToJSON(json: any): AppCommandsInnerUio;
46
+ export declare function AppCommandsInnerUioToJSONTyped(value?: AppCommandsInnerUio | 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.instanceOfAppCommandsInnerUio = instanceOfAppCommandsInnerUio;
17
+ exports.AppCommandsInnerUioFromJSON = AppCommandsInnerUioFromJSON;
18
+ exports.AppCommandsInnerUioFromJSONTyped = AppCommandsInnerUioFromJSONTyped;
19
+ exports.AppCommandsInnerUioToJSON = AppCommandsInnerUioToJSON;
20
+ exports.AppCommandsInnerUioToJSONTyped = AppCommandsInnerUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AppCommandsInnerUio interface.
23
+ */
24
+ function instanceOfAppCommandsInnerUio(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ if (!('command' in value) || value['command'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function AppCommandsInnerUioFromJSON(json) {
32
+ return AppCommandsInnerUioFromJSONTyped(json, false);
33
+ }
34
+ function AppCommandsInnerUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'name': json['name'],
40
+ 'command': json['command'],
41
+ 'category': json['category'] == null ? undefined : json['category'],
42
+ };
43
+ }
44
+ function AppCommandsInnerUioToJSON(json) {
45
+ return AppCommandsInnerUioToJSONTyped(json, false);
46
+ }
47
+ function AppCommandsInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'name': value['name'],
53
+ 'command': value['command'],
54
+ 'category': value['category'],
55
+ };
56
+ }
@@ -9,9 +9,11 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { AppCommandsInnerUio } from './AppCommandsInnerUio';
12
13
  import type { AppInstancesInnerUio } from './AppInstancesInnerUio';
13
- import type { AppSequencesInnerUio } from './AppSequencesInnerUio';
14
+ import type { SequenceUio } from './SequenceUio';
14
15
  import type { AppConfigurationUio } from './AppConfigurationUio';
16
+ import type { AnimationUio } from './AnimationUio';
15
17
  import type { PersonaUio } from './PersonaUio';
16
18
  import type { SimpleAgentUio } from './SimpleAgentUio';
17
19
  import type { AppEphemeralInstancesUio } from './AppEphemeralInstancesUio';
@@ -49,10 +51,22 @@ export interface AppUio {
49
51
  agent?: SimpleAgentUio;
50
52
  /**
51
53
  *
52
- * @type {Array<AppSequencesInnerUio>}
54
+ * @type {Array<SequenceUio>}
53
55
  * @memberof AppUio
54
56
  */
55
- sequences?: Array<AppSequencesInnerUio>;
57
+ sequences?: Array<SequenceUio>;
58
+ /**
59
+ *
60
+ * @type {Array<AnimationUio>}
61
+ * @memberof AppUio
62
+ */
63
+ animations?: Array<AnimationUio>;
64
+ /**
65
+ *
66
+ * @type {Array<AppCommandsInnerUio>}
67
+ * @memberof AppUio
68
+ */
69
+ commands?: Array<AppCommandsInnerUio>;
56
70
  /**
57
71
  *
58
72
  * @type {string}
@@ -18,9 +18,11 @@ exports.AppUioFromJSON = AppUioFromJSON;
18
18
  exports.AppUioFromJSONTyped = AppUioFromJSONTyped;
19
19
  exports.AppUioToJSON = AppUioToJSON;
20
20
  exports.AppUioToJSONTyped = AppUioToJSONTyped;
21
+ const AppCommandsInnerUio_1 = require("./AppCommandsInnerUio");
21
22
  const AppInstancesInnerUio_1 = require("./AppInstancesInnerUio");
22
- const AppSequencesInnerUio_1 = require("./AppSequencesInnerUio");
23
+ const SequenceUio_1 = require("./SequenceUio");
23
24
  const AppConfigurationUio_1 = require("./AppConfigurationUio");
25
+ const AnimationUio_1 = require("./AnimationUio");
24
26
  const PersonaUio_1 = require("./PersonaUio");
25
27
  const SimpleAgentUio_1 = require("./SimpleAgentUio");
26
28
  const AppEphemeralInstancesUio_1 = require("./AppEphemeralInstancesUio");
@@ -60,7 +62,9 @@ function AppUioFromJSONTyped(json, ignoreDiscriminator) {
60
62
  'name': json['name'],
61
63
  'agentId': json['agentId'],
62
64
  'agent': json['agent'] == null ? undefined : (0, SimpleAgentUio_1.SimpleAgentUioFromJSON)(json['agent']),
63
- 'sequences': json['sequences'] == null ? undefined : (json['sequences'].map(AppSequencesInnerUio_1.AppSequencesInnerUioFromJSON)),
65
+ 'sequences': json['sequences'] == null ? undefined : (json['sequences'].map(SequenceUio_1.SequenceUioFromJSON)),
66
+ 'animations': json['animations'] == null ? undefined : (json['animations'].map(AnimationUio_1.AnimationUioFromJSON)),
67
+ 'commands': json['commands'] == null ? undefined : (json['commands'].map(AppCommandsInnerUio_1.AppCommandsInnerUioFromJSON)),
64
68
  'authSecret': json['authSecret'],
65
69
  'streamingEnabled': json['streamingEnabled'],
66
70
  'voiceProvider': json['voiceProvider'] == null ? undefined : json['voiceProvider'],
@@ -96,7 +100,9 @@ function AppUioToJSONTyped(value, ignoreDiscriminator = false) {
96
100
  'name': value['name'],
97
101
  'agentId': value['agentId'],
98
102
  'agent': (0, SimpleAgentUio_1.SimpleAgentUioToJSON)(value['agent']),
99
- 'sequences': value['sequences'] == null ? undefined : (value['sequences'].map(AppSequencesInnerUio_1.AppSequencesInnerUioToJSON)),
103
+ 'sequences': value['sequences'] == null ? undefined : (value['sequences'].map(SequenceUio_1.SequenceUioToJSON)),
104
+ 'animations': value['animations'] == null ? undefined : (value['animations'].map(AnimationUio_1.AnimationUioToJSON)),
105
+ 'commands': value['commands'] == null ? undefined : (value['commands'].map(AppCommandsInnerUio_1.AppCommandsInnerUioToJSON)),
100
106
  'authSecret': value['authSecret'],
101
107
  'streamingEnabled': value['streamingEnabled'],
102
108
  'voiceProvider': value['voiceProvider'],
@@ -70,6 +70,14 @@ export interface AppUpdateRequestUio {
70
70
  * @memberof AppUpdateRequestUio
71
71
  */
72
72
  lipsync?: LipsyncUio;
73
+ /**
74
+ *
75
+ * @type {{ [key: string]: any; }}
76
+ * @memberof AppUpdateRequestUio
77
+ */
78
+ favoriteOutfit?: {
79
+ [key: string]: any;
80
+ };
73
81
  }
74
82
  /**
75
83
  * Check if a given object implements the AppUpdateRequestUio interface.
@@ -42,6 +42,7 @@ function AppUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'voiceModelId': json['voiceModelId'] == null ? undefined : json['voiceModelId'],
43
43
  'disableFillers': json['disableFillers'] == null ? undefined : json['disableFillers'],
44
44
  'lipsync': json['lipsync'] == null ? undefined : (0, LipsyncUio_1.LipsyncUioFromJSON)(json['lipsync']),
45
+ 'favoriteOutfit': json['favoriteOutfit'] == null ? undefined : json['favoriteOutfit'],
45
46
  };
46
47
  }
47
48
  function AppUpdateRequestUioToJSON(json) {
@@ -61,5 +62,6 @@ function AppUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
61
62
  'voiceModelId': value['voiceModelId'],
62
63
  'disableFillers': value['disableFillers'],
63
64
  'lipsync': (0, LipsyncUio_1.LipsyncUioToJSON)(value['lipsync']),
65
+ 'favoriteOutfit': value['favoriteOutfit'],
64
66
  };
65
67
  }
@@ -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 { ConversationMessagesInnerFlowNodeUio } from './ConversationMessagesInnerFlowNodeUio';
13
+ import type { ChatMessageUio } from './ChatMessageUio';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface Conversation1Uio
18
+ */
19
+ export interface Conversation1Uio {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof Conversation1Uio
24
+ */
25
+ id: string;
26
+ /**
27
+ *
28
+ * @type {ConversationMessagesInnerFlowNodeUio}
29
+ * @memberof Conversation1Uio
30
+ */
31
+ flowNode: ConversationMessagesInnerFlowNodeUio;
32
+ /**
33
+ *
34
+ * @type {Array<ChatMessageUio>}
35
+ * @memberof Conversation1Uio
36
+ */
37
+ messages: Array<ChatMessageUio>;
38
+ }
39
+ /**
40
+ * Check if a given object implements the Conversation1Uio interface.
41
+ */
42
+ export declare function instanceOfConversation1Uio(value: object): value is Conversation1Uio;
43
+ export declare function Conversation1UioFromJSON(json: any): Conversation1Uio;
44
+ export declare function Conversation1UioFromJSONTyped(json: any, ignoreDiscriminator: boolean): Conversation1Uio;
45
+ export declare function Conversation1UioToJSON(json: any): Conversation1Uio;
46
+ export declare function Conversation1UioToJSONTyped(value?: Conversation1Uio | 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.instanceOfConversation1Uio = instanceOfConversation1Uio;
17
+ exports.Conversation1UioFromJSON = Conversation1UioFromJSON;
18
+ exports.Conversation1UioFromJSONTyped = Conversation1UioFromJSONTyped;
19
+ exports.Conversation1UioToJSON = Conversation1UioToJSON;
20
+ exports.Conversation1UioToJSONTyped = Conversation1UioToJSONTyped;
21
+ const ConversationMessagesInnerFlowNodeUio_1 = require("./ConversationMessagesInnerFlowNodeUio");
22
+ const ChatMessageUio_1 = require("./ChatMessageUio");
23
+ /**
24
+ * Check if a given object implements the Conversation1Uio interface.
25
+ */
26
+ function instanceOfConversation1Uio(value) {
27
+ if (!('id' in value) || value['id'] === undefined)
28
+ return false;
29
+ if (!('flowNode' in value) || value['flowNode'] === undefined)
30
+ return false;
31
+ if (!('messages' in value) || value['messages'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function Conversation1UioFromJSON(json) {
36
+ return Conversation1UioFromJSONTyped(json, false);
37
+ }
38
+ function Conversation1UioFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'id': json['id'],
44
+ 'flowNode': (0, ConversationMessagesInnerFlowNodeUio_1.ConversationMessagesInnerFlowNodeUioFromJSON)(json['flowNode']),
45
+ 'messages': (json['messages'].map(ChatMessageUio_1.ChatMessageUioFromJSON)),
46
+ };
47
+ }
48
+ function Conversation1UioToJSON(json) {
49
+ return Conversation1UioToJSONTyped(json, false);
50
+ }
51
+ function Conversation1UioToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'id': value['id'],
57
+ 'flowNode': (0, ConversationMessagesInnerFlowNodeUio_1.ConversationMessagesInnerFlowNodeUioToJSON)(value['flowNode']),
58
+ 'messages': (value['messages'].map(ChatMessageUio_1.ChatMessageUioToJSON)),
59
+ };
60
+ }
@@ -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 ConversationMessagesInnerFlowNodeEntrypointsUio
16
+ */
17
+ export interface ConversationMessagesInnerFlowNodeEntrypointsUio {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof ConversationMessagesInnerFlowNodeEntrypointsUio
22
+ */
23
+ intents?: Array<string>;
24
+ }
25
+ /**
26
+ * Check if a given object implements the ConversationMessagesInnerFlowNodeEntrypointsUio interface.
27
+ */
28
+ export declare function instanceOfConversationMessagesInnerFlowNodeEntrypointsUio(value: object): value is ConversationMessagesInnerFlowNodeEntrypointsUio;
29
+ export declare function ConversationMessagesInnerFlowNodeEntrypointsUioFromJSON(json: any): ConversationMessagesInnerFlowNodeEntrypointsUio;
30
+ export declare function ConversationMessagesInnerFlowNodeEntrypointsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationMessagesInnerFlowNodeEntrypointsUio;
31
+ export declare function ConversationMessagesInnerFlowNodeEntrypointsUioToJSON(json: any): ConversationMessagesInnerFlowNodeEntrypointsUio;
32
+ export declare function ConversationMessagesInnerFlowNodeEntrypointsUioToJSONTyped(value?: ConversationMessagesInnerFlowNodeEntrypointsUio | null, ignoreDiscriminator?: boolean): any;