@breign/client 1.0.109 → 1.0.110

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 (60) hide show
  1. package/dist/apis/AppApi.d.ts +92 -18
  2. package/dist/apis/AppApi.js +196 -32
  3. package/dist/apis/KnowledgeApi.d.ts +120 -8
  4. package/dist/apis/KnowledgeApi.js +268 -30
  5. package/dist/apis/PromptsApi.d.ts +3 -3
  6. package/dist/apis/PromptsApi.js +3 -2
  7. package/dist/apis/ToolsApi.d.ts +42 -1
  8. package/dist/apis/ToolsApi.js +87 -0
  9. package/dist/models/AddCustomFiller201ResponseFillerUio.d.ts +50 -0
  10. package/dist/models/AddCustomFiller201ResponseFillerUio.js +62 -0
  11. package/dist/models/AddCustomFiller201ResponseUio.d.ts +39 -0
  12. package/dist/models/AddCustomFiller201ResponseUio.js +55 -0
  13. package/dist/models/AddCustomFillerRequestUio.d.ts +32 -0
  14. package/dist/models/AddCustomFillerRequestUio.js +50 -0
  15. package/dist/models/AgentPatchUio.d.ts +1 -1
  16. package/dist/models/AgentUio.d.ts +1 -1
  17. package/dist/models/FileCreationRequestUio.d.ts +6 -0
  18. package/dist/models/FileCreationRequestUio.js +2 -0
  19. package/dist/models/FileCreationResponseUio.d.ts +38 -0
  20. package/dist/models/FileCreationResponseUio.js +18 -0
  21. package/dist/models/FileUio.d.ts +38 -0
  22. package/dist/models/FileUio.js +18 -0
  23. package/dist/models/FileWithDownloadUrlUio.d.ts +38 -0
  24. package/dist/models/FileWithDownloadUrlUio.js +18 -0
  25. package/dist/models/KnowledgeSitePageUio.d.ts +129 -0
  26. package/dist/models/KnowledgeSitePageUio.js +101 -0
  27. package/dist/models/MessageStatusErrorUio.d.ts +38 -0
  28. package/dist/models/MessageStatusErrorUio.js +50 -0
  29. package/dist/models/MessageStatusToolCallUio.d.ts +38 -0
  30. package/dist/models/MessageStatusToolCallUio.js +54 -0
  31. package/dist/models/MessageStatusUio.d.ts +79 -0
  32. package/dist/models/MessageStatusUio.js +73 -0
  33. package/dist/models/PatchKnowledgeBaseRequestUio.d.ts +38 -0
  34. package/dist/models/PatchKnowledgeBaseRequestUio.js +54 -0
  35. package/dist/models/PatchKnowledgeFileRequestUio.d.ts +32 -0
  36. package/dist/models/PatchKnowledgeFileRequestUio.js +50 -0
  37. package/dist/models/SearchKnowledgeBase200ResponseInnerUio.d.ts +52 -0
  38. package/dist/models/SearchKnowledgeBase200ResponseInnerUio.js +60 -0
  39. package/dist/models/SearchKnowledgeBaseRequestUio.d.ts +38 -0
  40. package/dist/models/SearchKnowledgeBaseRequestUio.js +52 -0
  41. package/dist/models/StartKnowledgeBaseScrappingRequestUio.d.ts +88 -0
  42. package/dist/models/StartKnowledgeBaseScrappingRequestUio.js +74 -0
  43. package/dist/models/UpdateSelectedFillers200ResponseUio.d.ts +39 -0
  44. package/dist/models/UpdateSelectedFillers200ResponseUio.js +55 -0
  45. package/dist/models/UpdateSelectedFillersRequestDataInnerUio.d.ts +38 -0
  46. package/dist/models/UpdateSelectedFillersRequestDataInnerUio.js +54 -0
  47. package/dist/models/UpdateSelectedFillersRequestUio.d.ts +33 -0
  48. package/dist/models/UpdateSelectedFillersRequestUio.js +51 -0
  49. package/dist/models/UpdateToolStaticCredentialsRequestUio.d.ts +38 -0
  50. package/dist/models/UpdateToolStaticCredentialsRequestUio.js +50 -0
  51. package/dist/models/UploadImageToKnowledgeBaseLibrary200ResponseUio.d.ts +41 -0
  52. package/dist/models/UploadImageToKnowledgeBaseLibrary200ResponseUio.js +55 -0
  53. package/dist/models/UploadImageToKnowledgeBaseLibraryRequestUio.d.ts +50 -0
  54. package/dist/models/UploadImageToKnowledgeBaseLibraryRequestUio.js +62 -0
  55. package/dist/models/index.d.ts +18 -1
  56. package/dist/models/index.js +18 -1
  57. package/dist/openapi.json +1365 -282
  58. package/package.json +1 -1
  59. package/dist/models/AudioFillerExistsResponseUio.d.ts +0 -32
  60. package/dist/models/AudioFillerExistsResponseUio.js +0 -50
@@ -0,0 +1,73 @@
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.MessageStatusUioReactionEnum = void 0;
17
+ exports.instanceOfMessageStatusUio = instanceOfMessageStatusUio;
18
+ exports.MessageStatusUioFromJSON = MessageStatusUioFromJSON;
19
+ exports.MessageStatusUioFromJSONTyped = MessageStatusUioFromJSONTyped;
20
+ exports.MessageStatusUioToJSON = MessageStatusUioToJSON;
21
+ exports.MessageStatusUioToJSONTyped = MessageStatusUioToJSONTyped;
22
+ const MessageStatusErrorUio_1 = require("./MessageStatusErrorUio");
23
+ const MessageStatusToolCallUio_1 = require("./MessageStatusToolCallUio");
24
+ const ToolUsedUio_1 = require("./ToolUsedUio");
25
+ /**
26
+ * @export
27
+ */
28
+ exports.MessageStatusUioReactionEnum = {
29
+ Positive: 'positive',
30
+ Negative: 'negative'
31
+ };
32
+ /**
33
+ * Check if a given object implements the MessageStatusUio interface.
34
+ */
35
+ function instanceOfMessageStatusUio(value) {
36
+ if (!('status' in value) || value['status'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function MessageStatusUioFromJSON(json) {
41
+ return MessageStatusUioFromJSONTyped(json, false);
42
+ }
43
+ function MessageStatusUioFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'status': json['status'],
49
+ 'content': json['content'] == null ? undefined : json['content'],
50
+ 'reasoning': json['reasoning'] == null ? undefined : json['reasoning'],
51
+ 'reaction': json['reaction'] == null ? undefined : json['reaction'],
52
+ 'error': json['error'] == null ? undefined : (0, MessageStatusErrorUio_1.MessageStatusErrorUioFromJSON)(json['error']),
53
+ 'toolCall': json['toolCall'] == null ? undefined : (0, MessageStatusToolCallUio_1.MessageStatusToolCallUioFromJSON)(json['toolCall']),
54
+ 'toolsUsed': json['toolsUsed'] == null ? undefined : (json['toolsUsed'].map(ToolUsedUio_1.ToolUsedUioFromJSON)),
55
+ };
56
+ }
57
+ function MessageStatusUioToJSON(json) {
58
+ return MessageStatusUioToJSONTyped(json, false);
59
+ }
60
+ function MessageStatusUioToJSONTyped(value, ignoreDiscriminator = false) {
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'status': value['status'],
66
+ 'content': value['content'],
67
+ 'reasoning': value['reasoning'],
68
+ 'reaction': value['reaction'],
69
+ 'error': (0, MessageStatusErrorUio_1.MessageStatusErrorUioToJSON)(value['error']),
70
+ 'toolCall': (0, MessageStatusToolCallUio_1.MessageStatusToolCallUioToJSON)(value['toolCall']),
71
+ 'toolsUsed': value['toolsUsed'] == null ? undefined : (value['toolsUsed'].map(ToolUsedUio_1.ToolUsedUioToJSON)),
72
+ };
73
+ }
@@ -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 PatchKnowledgeBaseRequestUio
16
+ */
17
+ export interface PatchKnowledgeBaseRequestUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PatchKnowledgeBaseRequestUio
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof PatchKnowledgeBaseRequestUio
28
+ */
29
+ authorizedAgents: Array<string>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PatchKnowledgeBaseRequestUio interface.
33
+ */
34
+ export declare function instanceOfPatchKnowledgeBaseRequestUio(value: object): value is PatchKnowledgeBaseRequestUio;
35
+ export declare function PatchKnowledgeBaseRequestUioFromJSON(json: any): PatchKnowledgeBaseRequestUio;
36
+ export declare function PatchKnowledgeBaseRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchKnowledgeBaseRequestUio;
37
+ export declare function PatchKnowledgeBaseRequestUioToJSON(json: any): PatchKnowledgeBaseRequestUio;
38
+ export declare function PatchKnowledgeBaseRequestUioToJSONTyped(value?: PatchKnowledgeBaseRequestUio | 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.instanceOfPatchKnowledgeBaseRequestUio = instanceOfPatchKnowledgeBaseRequestUio;
17
+ exports.PatchKnowledgeBaseRequestUioFromJSON = PatchKnowledgeBaseRequestUioFromJSON;
18
+ exports.PatchKnowledgeBaseRequestUioFromJSONTyped = PatchKnowledgeBaseRequestUioFromJSONTyped;
19
+ exports.PatchKnowledgeBaseRequestUioToJSON = PatchKnowledgeBaseRequestUioToJSON;
20
+ exports.PatchKnowledgeBaseRequestUioToJSONTyped = PatchKnowledgeBaseRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PatchKnowledgeBaseRequestUio interface.
23
+ */
24
+ function instanceOfPatchKnowledgeBaseRequestUio(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ if (!('authorizedAgents' in value) || value['authorizedAgents'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function PatchKnowledgeBaseRequestUioFromJSON(json) {
32
+ return PatchKnowledgeBaseRequestUioFromJSONTyped(json, false);
33
+ }
34
+ function PatchKnowledgeBaseRequestUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'name': json['name'],
40
+ 'authorizedAgents': json['authorizedAgents'],
41
+ };
42
+ }
43
+ function PatchKnowledgeBaseRequestUioToJSON(json) {
44
+ return PatchKnowledgeBaseRequestUioToJSONTyped(json, false);
45
+ }
46
+ function PatchKnowledgeBaseRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'name': value['name'],
52
+ 'authorizedAgents': value['authorizedAgents'],
53
+ };
54
+ }
@@ -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 PatchKnowledgeFileRequestUio
16
+ */
17
+ export interface PatchKnowledgeFileRequestUio {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof PatchKnowledgeFileRequestUio
22
+ */
23
+ isActive: boolean;
24
+ }
25
+ /**
26
+ * Check if a given object implements the PatchKnowledgeFileRequestUio interface.
27
+ */
28
+ export declare function instanceOfPatchKnowledgeFileRequestUio(value: object): value is PatchKnowledgeFileRequestUio;
29
+ export declare function PatchKnowledgeFileRequestUioFromJSON(json: any): PatchKnowledgeFileRequestUio;
30
+ export declare function PatchKnowledgeFileRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchKnowledgeFileRequestUio;
31
+ export declare function PatchKnowledgeFileRequestUioToJSON(json: any): PatchKnowledgeFileRequestUio;
32
+ export declare function PatchKnowledgeFileRequestUioToJSONTyped(value?: PatchKnowledgeFileRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfPatchKnowledgeFileRequestUio = instanceOfPatchKnowledgeFileRequestUio;
17
+ exports.PatchKnowledgeFileRequestUioFromJSON = PatchKnowledgeFileRequestUioFromJSON;
18
+ exports.PatchKnowledgeFileRequestUioFromJSONTyped = PatchKnowledgeFileRequestUioFromJSONTyped;
19
+ exports.PatchKnowledgeFileRequestUioToJSON = PatchKnowledgeFileRequestUioToJSON;
20
+ exports.PatchKnowledgeFileRequestUioToJSONTyped = PatchKnowledgeFileRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PatchKnowledgeFileRequestUio interface.
23
+ */
24
+ function instanceOfPatchKnowledgeFileRequestUio(value) {
25
+ if (!('isActive' in value) || value['isActive'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function PatchKnowledgeFileRequestUioFromJSON(json) {
30
+ return PatchKnowledgeFileRequestUioFromJSONTyped(json, false);
31
+ }
32
+ function PatchKnowledgeFileRequestUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'isActive': json['isActive'],
38
+ };
39
+ }
40
+ function PatchKnowledgeFileRequestUioToJSON(json) {
41
+ return PatchKnowledgeFileRequestUioToJSONTyped(json, false);
42
+ }
43
+ function PatchKnowledgeFileRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'isActive': value['isActive'],
49
+ };
50
+ }
@@ -0,0 +1,52 @@
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 SearchKnowledgeBase200ResponseInnerUio
16
+ */
17
+ export interface SearchKnowledgeBase200ResponseInnerUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SearchKnowledgeBase200ResponseInnerUio
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SearchKnowledgeBase200ResponseInnerUio
28
+ */
29
+ content: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof SearchKnowledgeBase200ResponseInnerUio
34
+ */
35
+ score: number;
36
+ /**
37
+ *
38
+ * @type {{ [key: string]: any; }}
39
+ * @memberof SearchKnowledgeBase200ResponseInnerUio
40
+ */
41
+ file?: {
42
+ [key: string]: any;
43
+ };
44
+ }
45
+ /**
46
+ * Check if a given object implements the SearchKnowledgeBase200ResponseInnerUio interface.
47
+ */
48
+ export declare function instanceOfSearchKnowledgeBase200ResponseInnerUio(value: object): value is SearchKnowledgeBase200ResponseInnerUio;
49
+ export declare function SearchKnowledgeBase200ResponseInnerUioFromJSON(json: any): SearchKnowledgeBase200ResponseInnerUio;
50
+ export declare function SearchKnowledgeBase200ResponseInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchKnowledgeBase200ResponseInnerUio;
51
+ export declare function SearchKnowledgeBase200ResponseInnerUioToJSON(json: any): SearchKnowledgeBase200ResponseInnerUio;
52
+ export declare function SearchKnowledgeBase200ResponseInnerUioToJSONTyped(value?: SearchKnowledgeBase200ResponseInnerUio | 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.instanceOfSearchKnowledgeBase200ResponseInnerUio = instanceOfSearchKnowledgeBase200ResponseInnerUio;
17
+ exports.SearchKnowledgeBase200ResponseInnerUioFromJSON = SearchKnowledgeBase200ResponseInnerUioFromJSON;
18
+ exports.SearchKnowledgeBase200ResponseInnerUioFromJSONTyped = SearchKnowledgeBase200ResponseInnerUioFromJSONTyped;
19
+ exports.SearchKnowledgeBase200ResponseInnerUioToJSON = SearchKnowledgeBase200ResponseInnerUioToJSON;
20
+ exports.SearchKnowledgeBase200ResponseInnerUioToJSONTyped = SearchKnowledgeBase200ResponseInnerUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SearchKnowledgeBase200ResponseInnerUio interface.
23
+ */
24
+ function instanceOfSearchKnowledgeBase200ResponseInnerUio(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('content' in value) || value['content'] === undefined)
28
+ return false;
29
+ if (!('score' in value) || value['score'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function SearchKnowledgeBase200ResponseInnerUioFromJSON(json) {
34
+ return SearchKnowledgeBase200ResponseInnerUioFromJSONTyped(json, false);
35
+ }
36
+ function SearchKnowledgeBase200ResponseInnerUioFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'id': json['id'],
42
+ 'content': json['content'],
43
+ 'score': json['score'],
44
+ 'file': json['file'] == null ? undefined : json['file'],
45
+ };
46
+ }
47
+ function SearchKnowledgeBase200ResponseInnerUioToJSON(json) {
48
+ return SearchKnowledgeBase200ResponseInnerUioToJSONTyped(json, false);
49
+ }
50
+ function SearchKnowledgeBase200ResponseInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'id': value['id'],
56
+ 'content': value['content'],
57
+ 'score': value['score'],
58
+ 'file': value['file'],
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 SearchKnowledgeBaseRequestUio
16
+ */
17
+ export interface SearchKnowledgeBaseRequestUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SearchKnowledgeBaseRequestUio
22
+ */
23
+ query: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof SearchKnowledgeBaseRequestUio
28
+ */
29
+ maxResults?: number;
30
+ }
31
+ /**
32
+ * Check if a given object implements the SearchKnowledgeBaseRequestUio interface.
33
+ */
34
+ export declare function instanceOfSearchKnowledgeBaseRequestUio(value: object): value is SearchKnowledgeBaseRequestUio;
35
+ export declare function SearchKnowledgeBaseRequestUioFromJSON(json: any): SearchKnowledgeBaseRequestUio;
36
+ export declare function SearchKnowledgeBaseRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchKnowledgeBaseRequestUio;
37
+ export declare function SearchKnowledgeBaseRequestUioToJSON(json: any): SearchKnowledgeBaseRequestUio;
38
+ export declare function SearchKnowledgeBaseRequestUioToJSONTyped(value?: SearchKnowledgeBaseRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
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.instanceOfSearchKnowledgeBaseRequestUio = instanceOfSearchKnowledgeBaseRequestUio;
17
+ exports.SearchKnowledgeBaseRequestUioFromJSON = SearchKnowledgeBaseRequestUioFromJSON;
18
+ exports.SearchKnowledgeBaseRequestUioFromJSONTyped = SearchKnowledgeBaseRequestUioFromJSONTyped;
19
+ exports.SearchKnowledgeBaseRequestUioToJSON = SearchKnowledgeBaseRequestUioToJSON;
20
+ exports.SearchKnowledgeBaseRequestUioToJSONTyped = SearchKnowledgeBaseRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SearchKnowledgeBaseRequestUio interface.
23
+ */
24
+ function instanceOfSearchKnowledgeBaseRequestUio(value) {
25
+ if (!('query' in value) || value['query'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function SearchKnowledgeBaseRequestUioFromJSON(json) {
30
+ return SearchKnowledgeBaseRequestUioFromJSONTyped(json, false);
31
+ }
32
+ function SearchKnowledgeBaseRequestUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'query': json['query'],
38
+ 'maxResults': json['maxResults'] == null ? undefined : json['maxResults'],
39
+ };
40
+ }
41
+ function SearchKnowledgeBaseRequestUioToJSON(json) {
42
+ return SearchKnowledgeBaseRequestUioToJSONTyped(json, false);
43
+ }
44
+ function SearchKnowledgeBaseRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'query': value['query'],
50
+ 'maxResults': value['maxResults'],
51
+ };
52
+ }
@@ -0,0 +1,88 @@
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 StartKnowledgeBaseScrappingRequestUio
16
+ */
17
+ export interface StartKnowledgeBaseScrappingRequestUio {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof StartKnowledgeBaseScrappingRequestUio
22
+ */
23
+ urls: Array<string>;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof StartKnowledgeBaseScrappingRequestUio
28
+ */
29
+ knowledgeBaseId: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof StartKnowledgeBaseScrappingRequestUio
34
+ */
35
+ userId: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof StartKnowledgeBaseScrappingRequestUio
40
+ */
41
+ organizationId: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof StartKnowledgeBaseScrappingRequestUio
46
+ */
47
+ domainName?: string | null;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof StartKnowledgeBaseScrappingRequestUio
52
+ */
53
+ spiderName?: string | null;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof StartKnowledgeBaseScrappingRequestUio
58
+ */
59
+ excludeDomains?: Array<string> | null;
60
+ /**
61
+ *
62
+ * @type {{ [key: string]: any; }}
63
+ * @memberof StartKnowledgeBaseScrappingRequestUio
64
+ */
65
+ customSettings?: {
66
+ [key: string]: any;
67
+ } | null;
68
+ /**
69
+ *
70
+ * @type {boolean}
71
+ * @memberof StartKnowledgeBaseScrappingRequestUio
72
+ */
73
+ onlyThisSite?: boolean | null;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof StartKnowledgeBaseScrappingRequestUio
78
+ */
79
+ sitePageId?: string | null;
80
+ }
81
+ /**
82
+ * Check if a given object implements the StartKnowledgeBaseScrappingRequestUio interface.
83
+ */
84
+ export declare function instanceOfStartKnowledgeBaseScrappingRequestUio(value: object): value is StartKnowledgeBaseScrappingRequestUio;
85
+ export declare function StartKnowledgeBaseScrappingRequestUioFromJSON(json: any): StartKnowledgeBaseScrappingRequestUio;
86
+ export declare function StartKnowledgeBaseScrappingRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): StartKnowledgeBaseScrappingRequestUio;
87
+ export declare function StartKnowledgeBaseScrappingRequestUioToJSON(json: any): StartKnowledgeBaseScrappingRequestUio;
88
+ export declare function StartKnowledgeBaseScrappingRequestUioToJSONTyped(value?: StartKnowledgeBaseScrappingRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,74 @@
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.instanceOfStartKnowledgeBaseScrappingRequestUio = instanceOfStartKnowledgeBaseScrappingRequestUio;
17
+ exports.StartKnowledgeBaseScrappingRequestUioFromJSON = StartKnowledgeBaseScrappingRequestUioFromJSON;
18
+ exports.StartKnowledgeBaseScrappingRequestUioFromJSONTyped = StartKnowledgeBaseScrappingRequestUioFromJSONTyped;
19
+ exports.StartKnowledgeBaseScrappingRequestUioToJSON = StartKnowledgeBaseScrappingRequestUioToJSON;
20
+ exports.StartKnowledgeBaseScrappingRequestUioToJSONTyped = StartKnowledgeBaseScrappingRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the StartKnowledgeBaseScrappingRequestUio interface.
23
+ */
24
+ function instanceOfStartKnowledgeBaseScrappingRequestUio(value) {
25
+ if (!('urls' in value) || value['urls'] === undefined)
26
+ return false;
27
+ if (!('knowledgeBaseId' in value) || value['knowledgeBaseId'] === undefined)
28
+ return false;
29
+ if (!('userId' in value) || value['userId'] === undefined)
30
+ return false;
31
+ if (!('organizationId' in value) || value['organizationId'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function StartKnowledgeBaseScrappingRequestUioFromJSON(json) {
36
+ return StartKnowledgeBaseScrappingRequestUioFromJSONTyped(json, false);
37
+ }
38
+ function StartKnowledgeBaseScrappingRequestUioFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'urls': json['urls'],
44
+ 'knowledgeBaseId': json['knowledgeBaseId'],
45
+ 'userId': json['userId'],
46
+ 'organizationId': json['organizationId'],
47
+ 'domainName': json['domainName'] == null ? undefined : json['domainName'],
48
+ 'spiderName': json['spiderName'] == null ? undefined : json['spiderName'],
49
+ 'excludeDomains': json['excludeDomains'] == null ? undefined : json['excludeDomains'],
50
+ 'customSettings': json['customSettings'] == null ? undefined : json['customSettings'],
51
+ 'onlyThisSite': json['onlyThisSite'] == null ? undefined : json['onlyThisSite'],
52
+ 'sitePageId': json['sitePageId'] == null ? undefined : json['sitePageId'],
53
+ };
54
+ }
55
+ function StartKnowledgeBaseScrappingRequestUioToJSON(json) {
56
+ return StartKnowledgeBaseScrappingRequestUioToJSONTyped(json, false);
57
+ }
58
+ function StartKnowledgeBaseScrappingRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+ 'urls': value['urls'],
64
+ 'knowledgeBaseId': value['knowledgeBaseId'],
65
+ 'userId': value['userId'],
66
+ 'organizationId': value['organizationId'],
67
+ 'domainName': value['domainName'],
68
+ 'spiderName': value['spiderName'],
69
+ 'excludeDomains': value['excludeDomains'],
70
+ 'customSettings': value['customSettings'],
71
+ 'onlyThisSite': value['onlyThisSite'],
72
+ 'sitePageId': value['sitePageId'],
73
+ };
74
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { UpdateSelectedFillersRequestDataInnerUio } from './UpdateSelectedFillersRequestDataInnerUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateSelectedFillers200ResponseUio
17
+ */
18
+ export interface UpdateSelectedFillers200ResponseUio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof UpdateSelectedFillers200ResponseUio
23
+ */
24
+ message: string;
25
+ /**
26
+ *
27
+ * @type {Array<UpdateSelectedFillersRequestDataInnerUio>}
28
+ * @memberof UpdateSelectedFillers200ResponseUio
29
+ */
30
+ updated: Array<UpdateSelectedFillersRequestDataInnerUio>;
31
+ }
32
+ /**
33
+ * Check if a given object implements the UpdateSelectedFillers200ResponseUio interface.
34
+ */
35
+ export declare function instanceOfUpdateSelectedFillers200ResponseUio(value: object): value is UpdateSelectedFillers200ResponseUio;
36
+ export declare function UpdateSelectedFillers200ResponseUioFromJSON(json: any): UpdateSelectedFillers200ResponseUio;
37
+ export declare function UpdateSelectedFillers200ResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSelectedFillers200ResponseUio;
38
+ export declare function UpdateSelectedFillers200ResponseUioToJSON(json: any): UpdateSelectedFillers200ResponseUio;
39
+ export declare function UpdateSelectedFillers200ResponseUioToJSONTyped(value?: UpdateSelectedFillers200ResponseUio | null, ignoreDiscriminator?: boolean): any;