@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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.74",
3
+ "version": "1.0.76",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",
@@ -1,38 +0,0 @@
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 AppSequencesInnerUio
16
- */
17
- export interface AppSequencesInnerUio {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof AppSequencesInnerUio
22
- */
23
- id?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof AppSequencesInnerUio
28
- */
29
- name?: string;
30
- }
31
- /**
32
- * Check if a given object implements the AppSequencesInnerUio interface.
33
- */
34
- export declare function instanceOfAppSequencesInnerUio(value: object): value is AppSequencesInnerUio;
35
- export declare function AppSequencesInnerUioFromJSON(json: any): AppSequencesInnerUio;
36
- export declare function AppSequencesInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppSequencesInnerUio;
37
- export declare function AppSequencesInnerUioToJSON(json: any): AppSequencesInnerUio;
38
- export declare function AppSequencesInnerUioToJSONTyped(value?: AppSequencesInnerUio | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +0,0 @@
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.instanceOfAppSequencesInnerUio = instanceOfAppSequencesInnerUio;
17
- exports.AppSequencesInnerUioFromJSON = AppSequencesInnerUioFromJSON;
18
- exports.AppSequencesInnerUioFromJSONTyped = AppSequencesInnerUioFromJSONTyped;
19
- exports.AppSequencesInnerUioToJSON = AppSequencesInnerUioToJSON;
20
- exports.AppSequencesInnerUioToJSONTyped = AppSequencesInnerUioToJSONTyped;
21
- /**
22
- * Check if a given object implements the AppSequencesInnerUio interface.
23
- */
24
- function instanceOfAppSequencesInnerUio(value) {
25
- return true;
26
- }
27
- function AppSequencesInnerUioFromJSON(json) {
28
- return AppSequencesInnerUioFromJSONTyped(json, false);
29
- }
30
- function AppSequencesInnerUioFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'id': json['id'] == null ? undefined : json['id'],
36
- 'name': json['name'] == null ? undefined : json['name'],
37
- };
38
- }
39
- function AppSequencesInnerUioToJSON(json) {
40
- return AppSequencesInnerUioToJSONTyped(json, false);
41
- }
42
- function AppSequencesInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
43
- if (value == null) {
44
- return value;
45
- }
46
- return {
47
- 'id': value['id'],
48
- 'name': value['name'],
49
- };
50
- }
@@ -1,32 +0,0 @@
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 ConversationFlowNodeEntrypointsUio
16
- */
17
- export interface ConversationFlowNodeEntrypointsUio {
18
- /**
19
- *
20
- * @type {Array<string>}
21
- * @memberof ConversationFlowNodeEntrypointsUio
22
- */
23
- intents?: Array<string>;
24
- }
25
- /**
26
- * Check if a given object implements the ConversationFlowNodeEntrypointsUio interface.
27
- */
28
- export declare function instanceOfConversationFlowNodeEntrypointsUio(value: object): value is ConversationFlowNodeEntrypointsUio;
29
- export declare function ConversationFlowNodeEntrypointsUioFromJSON(json: any): ConversationFlowNodeEntrypointsUio;
30
- export declare function ConversationFlowNodeEntrypointsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationFlowNodeEntrypointsUio;
31
- export declare function ConversationFlowNodeEntrypointsUioToJSON(json: any): ConversationFlowNodeEntrypointsUio;
32
- export declare function ConversationFlowNodeEntrypointsUioToJSONTyped(value?: ConversationFlowNodeEntrypointsUio | null, ignoreDiscriminator?: boolean): any;
@@ -1,48 +0,0 @@
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.instanceOfConversationFlowNodeEntrypointsUio = instanceOfConversationFlowNodeEntrypointsUio;
17
- exports.ConversationFlowNodeEntrypointsUioFromJSON = ConversationFlowNodeEntrypointsUioFromJSON;
18
- exports.ConversationFlowNodeEntrypointsUioFromJSONTyped = ConversationFlowNodeEntrypointsUioFromJSONTyped;
19
- exports.ConversationFlowNodeEntrypointsUioToJSON = ConversationFlowNodeEntrypointsUioToJSON;
20
- exports.ConversationFlowNodeEntrypointsUioToJSONTyped = ConversationFlowNodeEntrypointsUioToJSONTyped;
21
- /**
22
- * Check if a given object implements the ConversationFlowNodeEntrypointsUio interface.
23
- */
24
- function instanceOfConversationFlowNodeEntrypointsUio(value) {
25
- return true;
26
- }
27
- function ConversationFlowNodeEntrypointsUioFromJSON(json) {
28
- return ConversationFlowNodeEntrypointsUioFromJSONTyped(json, false);
29
- }
30
- function ConversationFlowNodeEntrypointsUioFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'intents': json['intents'] == null ? undefined : json['intents'],
36
- };
37
- }
38
- function ConversationFlowNodeEntrypointsUioToJSON(json) {
39
- return ConversationFlowNodeEntrypointsUioToJSONTyped(json, false);
40
- }
41
- function ConversationFlowNodeEntrypointsUioToJSONTyped(value, ignoreDiscriminator = false) {
42
- if (value == null) {
43
- return value;
44
- }
45
- return {
46
- 'intents': value['intents'],
47
- };
48
- }
@@ -1,51 +0,0 @@
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 { ConversationFlowNodeEntrypointsUio } from './ConversationFlowNodeEntrypointsUio';
13
- /**
14
- *
15
- * @export
16
- * @interface ConversationFlowNodeUio
17
- */
18
- export interface ConversationFlowNodeUio {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof ConversationFlowNodeUio
23
- */
24
- id?: string;
25
- /**
26
- *
27
- * @type {any}
28
- * @memberof ConversationFlowNodeUio
29
- */
30
- contents?: any | null;
31
- /**
32
- *
33
- * @type {ConversationFlowNodeEntrypointsUio}
34
- * @memberof ConversationFlowNodeUio
35
- */
36
- entrypoints?: ConversationFlowNodeEntrypointsUio;
37
- /**
38
- *
39
- * @type {any}
40
- * @memberof ConversationFlowNodeUio
41
- */
42
- exits?: any | null;
43
- }
44
- /**
45
- * Check if a given object implements the ConversationFlowNodeUio interface.
46
- */
47
- export declare function instanceOfConversationFlowNodeUio(value: object): value is ConversationFlowNodeUio;
48
- export declare function ConversationFlowNodeUioFromJSON(json: any): ConversationFlowNodeUio;
49
- export declare function ConversationFlowNodeUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationFlowNodeUio;
50
- export declare function ConversationFlowNodeUioToJSON(json: any): ConversationFlowNodeUio;
51
- export declare function ConversationFlowNodeUioToJSONTyped(value?: ConversationFlowNodeUio | null, ignoreDiscriminator?: boolean): any;
@@ -1,55 +0,0 @@
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.instanceOfConversationFlowNodeUio = instanceOfConversationFlowNodeUio;
17
- exports.ConversationFlowNodeUioFromJSON = ConversationFlowNodeUioFromJSON;
18
- exports.ConversationFlowNodeUioFromJSONTyped = ConversationFlowNodeUioFromJSONTyped;
19
- exports.ConversationFlowNodeUioToJSON = ConversationFlowNodeUioToJSON;
20
- exports.ConversationFlowNodeUioToJSONTyped = ConversationFlowNodeUioToJSONTyped;
21
- const ConversationFlowNodeEntrypointsUio_1 = require("./ConversationFlowNodeEntrypointsUio");
22
- /**
23
- * Check if a given object implements the ConversationFlowNodeUio interface.
24
- */
25
- function instanceOfConversationFlowNodeUio(value) {
26
- return true;
27
- }
28
- function ConversationFlowNodeUioFromJSON(json) {
29
- return ConversationFlowNodeUioFromJSONTyped(json, false);
30
- }
31
- function ConversationFlowNodeUioFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'id': json['id'] == null ? undefined : json['id'],
37
- 'contents': json['contents'] == null ? undefined : json['contents'],
38
- 'entrypoints': json['entrypoints'] == null ? undefined : (0, ConversationFlowNodeEntrypointsUio_1.ConversationFlowNodeEntrypointsUioFromJSON)(json['entrypoints']),
39
- 'exits': json['exits'] == null ? undefined : json['exits'],
40
- };
41
- }
42
- function ConversationFlowNodeUioToJSON(json) {
43
- return ConversationFlowNodeUioToJSONTyped(json, false);
44
- }
45
- function ConversationFlowNodeUioToJSONTyped(value, ignoreDiscriminator = false) {
46
- if (value == null) {
47
- return value;
48
- }
49
- return {
50
- 'id': value['id'],
51
- 'contents': value['contents'],
52
- 'entrypoints': (0, ConversationFlowNodeEntrypointsUio_1.ConversationFlowNodeEntrypointsUioToJSON)(value['entrypoints']),
53
- 'exits': value['exits'],
54
- };
55
- }