@breign/client 1.0.108 → 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 (64) 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/SkillsApi.d.ts +12 -1
  8. package/dist/apis/SkillsApi.js +27 -0
  9. package/dist/apis/ToolsApi.d.ts +42 -1
  10. package/dist/apis/ToolsApi.js +87 -0
  11. package/dist/models/AddCustomFiller201ResponseFillerUio.d.ts +50 -0
  12. package/dist/models/AddCustomFiller201ResponseFillerUio.js +62 -0
  13. package/dist/models/AddCustomFiller201ResponseUio.d.ts +39 -0
  14. package/dist/models/AddCustomFiller201ResponseUio.js +55 -0
  15. package/dist/models/AddCustomFillerRequestUio.d.ts +32 -0
  16. package/dist/models/AddCustomFillerRequestUio.js +50 -0
  17. package/dist/models/AgentPatchUio.d.ts +1 -1
  18. package/dist/models/AgentUio.d.ts +1 -1
  19. package/dist/models/AvailableCommandUio.d.ts +52 -0
  20. package/dist/models/AvailableCommandUio.js +66 -0
  21. package/dist/models/FileCreationRequestUio.d.ts +6 -0
  22. package/dist/models/FileCreationRequestUio.js +2 -0
  23. package/dist/models/FileCreationResponseUio.d.ts +38 -0
  24. package/dist/models/FileCreationResponseUio.js +18 -0
  25. package/dist/models/FileUio.d.ts +38 -0
  26. package/dist/models/FileUio.js +18 -0
  27. package/dist/models/FileWithDownloadUrlUio.d.ts +38 -0
  28. package/dist/models/FileWithDownloadUrlUio.js +18 -0
  29. package/dist/models/KnowledgeSitePageUio.d.ts +129 -0
  30. package/dist/models/KnowledgeSitePageUio.js +101 -0
  31. package/dist/models/MessageStatusErrorUio.d.ts +38 -0
  32. package/dist/models/MessageStatusErrorUio.js +50 -0
  33. package/dist/models/MessageStatusToolCallUio.d.ts +38 -0
  34. package/dist/models/MessageStatusToolCallUio.js +54 -0
  35. package/dist/models/MessageStatusUio.d.ts +79 -0
  36. package/dist/models/MessageStatusUio.js +73 -0
  37. package/dist/models/PatchKnowledgeBaseRequestUio.d.ts +38 -0
  38. package/dist/models/PatchKnowledgeBaseRequestUio.js +54 -0
  39. package/dist/models/PatchKnowledgeFileRequestUio.d.ts +32 -0
  40. package/dist/models/PatchKnowledgeFileRequestUio.js +50 -0
  41. package/dist/models/SearchKnowledgeBase200ResponseInnerUio.d.ts +52 -0
  42. package/dist/models/SearchKnowledgeBase200ResponseInnerUio.js +60 -0
  43. package/dist/models/SearchKnowledgeBaseRequestUio.d.ts +38 -0
  44. package/dist/models/SearchKnowledgeBaseRequestUio.js +52 -0
  45. package/dist/models/StartKnowledgeBaseScrappingRequestUio.d.ts +88 -0
  46. package/dist/models/StartKnowledgeBaseScrappingRequestUio.js +74 -0
  47. package/dist/models/UpdateSelectedFillers200ResponseUio.d.ts +39 -0
  48. package/dist/models/UpdateSelectedFillers200ResponseUio.js +55 -0
  49. package/dist/models/UpdateSelectedFillersRequestDataInnerUio.d.ts +38 -0
  50. package/dist/models/UpdateSelectedFillersRequestDataInnerUio.js +54 -0
  51. package/dist/models/UpdateSelectedFillersRequestUio.d.ts +33 -0
  52. package/dist/models/UpdateSelectedFillersRequestUio.js +51 -0
  53. package/dist/models/UpdateToolStaticCredentialsRequestUio.d.ts +38 -0
  54. package/dist/models/UpdateToolStaticCredentialsRequestUio.js +50 -0
  55. package/dist/models/UploadImageToKnowledgeBaseLibrary200ResponseUio.d.ts +41 -0
  56. package/dist/models/UploadImageToKnowledgeBaseLibrary200ResponseUio.js +55 -0
  57. package/dist/models/UploadImageToKnowledgeBaseLibraryRequestUio.d.ts +50 -0
  58. package/dist/models/UploadImageToKnowledgeBaseLibraryRequestUio.js +62 -0
  59. package/dist/models/index.d.ts +19 -1
  60. package/dist/models/index.js +19 -1
  61. package/dist/openapi.json +1454 -314
  62. package/package.json +1 -1
  63. package/dist/models/AudioFillerExistsResponseUio.d.ts +0 -32
  64. package/dist/models/AudioFillerExistsResponseUio.js +0 -50
@@ -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;
@@ -0,0 +1,55 @@
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.instanceOfUpdateSelectedFillers200ResponseUio = instanceOfUpdateSelectedFillers200ResponseUio;
17
+ exports.UpdateSelectedFillers200ResponseUioFromJSON = UpdateSelectedFillers200ResponseUioFromJSON;
18
+ exports.UpdateSelectedFillers200ResponseUioFromJSONTyped = UpdateSelectedFillers200ResponseUioFromJSONTyped;
19
+ exports.UpdateSelectedFillers200ResponseUioToJSON = UpdateSelectedFillers200ResponseUioToJSON;
20
+ exports.UpdateSelectedFillers200ResponseUioToJSONTyped = UpdateSelectedFillers200ResponseUioToJSONTyped;
21
+ const UpdateSelectedFillersRequestDataInnerUio_1 = require("./UpdateSelectedFillersRequestDataInnerUio");
22
+ /**
23
+ * Check if a given object implements the UpdateSelectedFillers200ResponseUio interface.
24
+ */
25
+ function instanceOfUpdateSelectedFillers200ResponseUio(value) {
26
+ if (!('message' in value) || value['message'] === undefined)
27
+ return false;
28
+ if (!('updated' in value) || value['updated'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function UpdateSelectedFillers200ResponseUioFromJSON(json) {
33
+ return UpdateSelectedFillers200ResponseUioFromJSONTyped(json, false);
34
+ }
35
+ function UpdateSelectedFillers200ResponseUioFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'message': json['message'],
41
+ 'updated': (json['updated'].map(UpdateSelectedFillersRequestDataInnerUio_1.UpdateSelectedFillersRequestDataInnerUioFromJSON)),
42
+ };
43
+ }
44
+ function UpdateSelectedFillers200ResponseUioToJSON(json) {
45
+ return UpdateSelectedFillers200ResponseUioToJSONTyped(json, false);
46
+ }
47
+ function UpdateSelectedFillers200ResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'message': value['message'],
53
+ 'updated': (value['updated'].map(UpdateSelectedFillersRequestDataInnerUio_1.UpdateSelectedFillersRequestDataInnerUioToJSON)),
54
+ };
55
+ }
@@ -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 UpdateSelectedFillersRequestDataInnerUio
16
+ */
17
+ export interface UpdateSelectedFillersRequestDataInnerUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UpdateSelectedFillersRequestDataInnerUio
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof UpdateSelectedFillersRequestDataInnerUio
28
+ */
29
+ checked: boolean;
30
+ }
31
+ /**
32
+ * Check if a given object implements the UpdateSelectedFillersRequestDataInnerUio interface.
33
+ */
34
+ export declare function instanceOfUpdateSelectedFillersRequestDataInnerUio(value: object): value is UpdateSelectedFillersRequestDataInnerUio;
35
+ export declare function UpdateSelectedFillersRequestDataInnerUioFromJSON(json: any): UpdateSelectedFillersRequestDataInnerUio;
36
+ export declare function UpdateSelectedFillersRequestDataInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSelectedFillersRequestDataInnerUio;
37
+ export declare function UpdateSelectedFillersRequestDataInnerUioToJSON(json: any): UpdateSelectedFillersRequestDataInnerUio;
38
+ export declare function UpdateSelectedFillersRequestDataInnerUioToJSONTyped(value?: UpdateSelectedFillersRequestDataInnerUio | 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.instanceOfUpdateSelectedFillersRequestDataInnerUio = instanceOfUpdateSelectedFillersRequestDataInnerUio;
17
+ exports.UpdateSelectedFillersRequestDataInnerUioFromJSON = UpdateSelectedFillersRequestDataInnerUioFromJSON;
18
+ exports.UpdateSelectedFillersRequestDataInnerUioFromJSONTyped = UpdateSelectedFillersRequestDataInnerUioFromJSONTyped;
19
+ exports.UpdateSelectedFillersRequestDataInnerUioToJSON = UpdateSelectedFillersRequestDataInnerUioToJSON;
20
+ exports.UpdateSelectedFillersRequestDataInnerUioToJSONTyped = UpdateSelectedFillersRequestDataInnerUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the UpdateSelectedFillersRequestDataInnerUio interface.
23
+ */
24
+ function instanceOfUpdateSelectedFillersRequestDataInnerUio(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('checked' in value) || value['checked'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function UpdateSelectedFillersRequestDataInnerUioFromJSON(json) {
32
+ return UpdateSelectedFillersRequestDataInnerUioFromJSONTyped(json, false);
33
+ }
34
+ function UpdateSelectedFillersRequestDataInnerUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'id': json['id'],
40
+ 'checked': json['checked'],
41
+ };
42
+ }
43
+ function UpdateSelectedFillersRequestDataInnerUioToJSON(json) {
44
+ return UpdateSelectedFillersRequestDataInnerUioToJSONTyped(json, false);
45
+ }
46
+ function UpdateSelectedFillersRequestDataInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'id': value['id'],
52
+ 'checked': value['checked'],
53
+ };
54
+ }
@@ -0,0 +1,33 @@
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 UpdateSelectedFillersRequestUio
17
+ */
18
+ export interface UpdateSelectedFillersRequestUio {
19
+ /**
20
+ *
21
+ * @type {Array<UpdateSelectedFillersRequestDataInnerUio>}
22
+ * @memberof UpdateSelectedFillersRequestUio
23
+ */
24
+ data: Array<UpdateSelectedFillersRequestDataInnerUio>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the UpdateSelectedFillersRequestUio interface.
28
+ */
29
+ export declare function instanceOfUpdateSelectedFillersRequestUio(value: object): value is UpdateSelectedFillersRequestUio;
30
+ export declare function UpdateSelectedFillersRequestUioFromJSON(json: any): UpdateSelectedFillersRequestUio;
31
+ export declare function UpdateSelectedFillersRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSelectedFillersRequestUio;
32
+ export declare function UpdateSelectedFillersRequestUioToJSON(json: any): UpdateSelectedFillersRequestUio;
33
+ export declare function UpdateSelectedFillersRequestUioToJSONTyped(value?: UpdateSelectedFillersRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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.instanceOfUpdateSelectedFillersRequestUio = instanceOfUpdateSelectedFillersRequestUio;
17
+ exports.UpdateSelectedFillersRequestUioFromJSON = UpdateSelectedFillersRequestUioFromJSON;
18
+ exports.UpdateSelectedFillersRequestUioFromJSONTyped = UpdateSelectedFillersRequestUioFromJSONTyped;
19
+ exports.UpdateSelectedFillersRequestUioToJSON = UpdateSelectedFillersRequestUioToJSON;
20
+ exports.UpdateSelectedFillersRequestUioToJSONTyped = UpdateSelectedFillersRequestUioToJSONTyped;
21
+ const UpdateSelectedFillersRequestDataInnerUio_1 = require("./UpdateSelectedFillersRequestDataInnerUio");
22
+ /**
23
+ * Check if a given object implements the UpdateSelectedFillersRequestUio interface.
24
+ */
25
+ function instanceOfUpdateSelectedFillersRequestUio(value) {
26
+ if (!('data' in value) || value['data'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function UpdateSelectedFillersRequestUioFromJSON(json) {
31
+ return UpdateSelectedFillersRequestUioFromJSONTyped(json, false);
32
+ }
33
+ function UpdateSelectedFillersRequestUioFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'data': (json['data'].map(UpdateSelectedFillersRequestDataInnerUio_1.UpdateSelectedFillersRequestDataInnerUioFromJSON)),
39
+ };
40
+ }
41
+ function UpdateSelectedFillersRequestUioToJSON(json) {
42
+ return UpdateSelectedFillersRequestUioToJSONTyped(json, false);
43
+ }
44
+ function UpdateSelectedFillersRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'data': (value['data'].map(UpdateSelectedFillersRequestDataInnerUio_1.UpdateSelectedFillersRequestDataInnerUioToJSON)),
50
+ };
51
+ }
@@ -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 UpdateToolStaticCredentialsRequestUio
16
+ */
17
+ export interface UpdateToolStaticCredentialsRequestUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UpdateToolStaticCredentialsRequestUio
22
+ */
23
+ bearerToken?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof UpdateToolStaticCredentialsRequestUio
28
+ */
29
+ headerValue?: string | null;
30
+ }
31
+ /**
32
+ * Check if a given object implements the UpdateToolStaticCredentialsRequestUio interface.
33
+ */
34
+ export declare function instanceOfUpdateToolStaticCredentialsRequestUio(value: object): value is UpdateToolStaticCredentialsRequestUio;
35
+ export declare function UpdateToolStaticCredentialsRequestUioFromJSON(json: any): UpdateToolStaticCredentialsRequestUio;
36
+ export declare function UpdateToolStaticCredentialsRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateToolStaticCredentialsRequestUio;
37
+ export declare function UpdateToolStaticCredentialsRequestUioToJSON(json: any): UpdateToolStaticCredentialsRequestUio;
38
+ export declare function UpdateToolStaticCredentialsRequestUioToJSONTyped(value?: UpdateToolStaticCredentialsRequestUio | 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.instanceOfUpdateToolStaticCredentialsRequestUio = instanceOfUpdateToolStaticCredentialsRequestUio;
17
+ exports.UpdateToolStaticCredentialsRequestUioFromJSON = UpdateToolStaticCredentialsRequestUioFromJSON;
18
+ exports.UpdateToolStaticCredentialsRequestUioFromJSONTyped = UpdateToolStaticCredentialsRequestUioFromJSONTyped;
19
+ exports.UpdateToolStaticCredentialsRequestUioToJSON = UpdateToolStaticCredentialsRequestUioToJSON;
20
+ exports.UpdateToolStaticCredentialsRequestUioToJSONTyped = UpdateToolStaticCredentialsRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the UpdateToolStaticCredentialsRequestUio interface.
23
+ */
24
+ function instanceOfUpdateToolStaticCredentialsRequestUio(value) {
25
+ return true;
26
+ }
27
+ function UpdateToolStaticCredentialsRequestUioFromJSON(json) {
28
+ return UpdateToolStaticCredentialsRequestUioFromJSONTyped(json, false);
29
+ }
30
+ function UpdateToolStaticCredentialsRequestUioFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'bearerToken': json['bearerToken'] == null ? undefined : json['bearerToken'],
36
+ 'headerValue': json['headerValue'] == null ? undefined : json['headerValue'],
37
+ };
38
+ }
39
+ function UpdateToolStaticCredentialsRequestUioToJSON(json) {
40
+ return UpdateToolStaticCredentialsRequestUioToJSONTyped(json, false);
41
+ }
42
+ function UpdateToolStaticCredentialsRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'bearerToken': value['bearerToken'],
48
+ 'headerValue': value['headerValue'],
49
+ };
50
+ }
@@ -0,0 +1,41 @@
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 { ImageKnowledgeUio } from './ImageKnowledgeUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UploadImageToKnowledgeBaseLibrary200ResponseUio
17
+ */
18
+ export interface UploadImageToKnowledgeBaseLibrary200ResponseUio {
19
+ /**
20
+ *
21
+ * @type {ImageKnowledgeUio}
22
+ * @memberof UploadImageToKnowledgeBaseLibrary200ResponseUio
23
+ */
24
+ image: ImageKnowledgeUio;
25
+ /**
26
+ *
27
+ * @type {{ [key: string]: any; }}
28
+ * @memberof UploadImageToKnowledgeBaseLibrary200ResponseUio
29
+ */
30
+ presigned: {
31
+ [key: string]: any;
32
+ };
33
+ }
34
+ /**
35
+ * Check if a given object implements the UploadImageToKnowledgeBaseLibrary200ResponseUio interface.
36
+ */
37
+ export declare function instanceOfUploadImageToKnowledgeBaseLibrary200ResponseUio(value: object): value is UploadImageToKnowledgeBaseLibrary200ResponseUio;
38
+ export declare function UploadImageToKnowledgeBaseLibrary200ResponseUioFromJSON(json: any): UploadImageToKnowledgeBaseLibrary200ResponseUio;
39
+ export declare function UploadImageToKnowledgeBaseLibrary200ResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadImageToKnowledgeBaseLibrary200ResponseUio;
40
+ export declare function UploadImageToKnowledgeBaseLibrary200ResponseUioToJSON(json: any): UploadImageToKnowledgeBaseLibrary200ResponseUio;
41
+ export declare function UploadImageToKnowledgeBaseLibrary200ResponseUioToJSONTyped(value?: UploadImageToKnowledgeBaseLibrary200ResponseUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfUploadImageToKnowledgeBaseLibrary200ResponseUio = instanceOfUploadImageToKnowledgeBaseLibrary200ResponseUio;
17
+ exports.UploadImageToKnowledgeBaseLibrary200ResponseUioFromJSON = UploadImageToKnowledgeBaseLibrary200ResponseUioFromJSON;
18
+ exports.UploadImageToKnowledgeBaseLibrary200ResponseUioFromJSONTyped = UploadImageToKnowledgeBaseLibrary200ResponseUioFromJSONTyped;
19
+ exports.UploadImageToKnowledgeBaseLibrary200ResponseUioToJSON = UploadImageToKnowledgeBaseLibrary200ResponseUioToJSON;
20
+ exports.UploadImageToKnowledgeBaseLibrary200ResponseUioToJSONTyped = UploadImageToKnowledgeBaseLibrary200ResponseUioToJSONTyped;
21
+ const ImageKnowledgeUio_1 = require("./ImageKnowledgeUio");
22
+ /**
23
+ * Check if a given object implements the UploadImageToKnowledgeBaseLibrary200ResponseUio interface.
24
+ */
25
+ function instanceOfUploadImageToKnowledgeBaseLibrary200ResponseUio(value) {
26
+ if (!('image' in value) || value['image'] === undefined)
27
+ return false;
28
+ if (!('presigned' in value) || value['presigned'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function UploadImageToKnowledgeBaseLibrary200ResponseUioFromJSON(json) {
33
+ return UploadImageToKnowledgeBaseLibrary200ResponseUioFromJSONTyped(json, false);
34
+ }
35
+ function UploadImageToKnowledgeBaseLibrary200ResponseUioFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'image': (0, ImageKnowledgeUio_1.ImageKnowledgeUioFromJSON)(json['image']),
41
+ 'presigned': json['presigned'],
42
+ };
43
+ }
44
+ function UploadImageToKnowledgeBaseLibrary200ResponseUioToJSON(json) {
45
+ return UploadImageToKnowledgeBaseLibrary200ResponseUioToJSONTyped(json, false);
46
+ }
47
+ function UploadImageToKnowledgeBaseLibrary200ResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'image': (0, ImageKnowledgeUio_1.ImageKnowledgeUioToJSON)(value['image']),
53
+ 'presigned': value['presigned'],
54
+ };
55
+ }
@@ -0,0 +1,50 @@
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 UploadImageToKnowledgeBaseLibraryRequestUio
16
+ */
17
+ export interface UploadImageToKnowledgeBaseLibraryRequestUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UploadImageToKnowledgeBaseLibraryRequestUio
22
+ */
23
+ name: string;
24
+ /**
25
+ * File size in bytes
26
+ * @type {number}
27
+ * @memberof UploadImageToKnowledgeBaseLibraryRequestUio
28
+ */
29
+ size: number;
30
+ /**
31
+ * MIME type of the image file
32
+ * @type {string}
33
+ * @memberof UploadImageToKnowledgeBaseLibraryRequestUio
34
+ */
35
+ contentType: string;
36
+ /**
37
+ * File extension
38
+ * @type {string}
39
+ * @memberof UploadImageToKnowledgeBaseLibraryRequestUio
40
+ */
41
+ ext: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the UploadImageToKnowledgeBaseLibraryRequestUio interface.
45
+ */
46
+ export declare function instanceOfUploadImageToKnowledgeBaseLibraryRequestUio(value: object): value is UploadImageToKnowledgeBaseLibraryRequestUio;
47
+ export declare function UploadImageToKnowledgeBaseLibraryRequestUioFromJSON(json: any): UploadImageToKnowledgeBaseLibraryRequestUio;
48
+ export declare function UploadImageToKnowledgeBaseLibraryRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadImageToKnowledgeBaseLibraryRequestUio;
49
+ export declare function UploadImageToKnowledgeBaseLibraryRequestUioToJSON(json: any): UploadImageToKnowledgeBaseLibraryRequestUio;
50
+ export declare function UploadImageToKnowledgeBaseLibraryRequestUioToJSONTyped(value?: UploadImageToKnowledgeBaseLibraryRequestUio | null, ignoreDiscriminator?: boolean): any;