@breign/client 1.0.124 → 1.0.126

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 (88) hide show
  1. package/dist/apis/AgentApi.d.ts +17 -12
  2. package/dist/apis/AgentApi.js +29 -14
  3. package/dist/apis/KnowledgeApi.d.ts +122 -168
  4. package/dist/apis/KnowledgeApi.js +232 -365
  5. package/dist/apis/MetricsApi.d.ts +15 -13
  6. package/dist/apis/MetricsApi.js +27 -21
  7. package/dist/apis/OrganizationsApi.d.ts +1 -26
  8. package/dist/apis/OrganizationsApi.js +0 -64
  9. package/dist/apis/SkillsApi.d.ts +14 -1
  10. package/dist/apis/SkillsApi.js +29 -0
  11. package/dist/models/AddModuleRequestUio.d.ts +60 -0
  12. package/dist/models/AddModuleRequestUio.js +68 -0
  13. package/dist/models/AgentPatchUio.d.ts +0 -30
  14. package/dist/models/AgentPatchUio.js +0 -10
  15. package/dist/models/AgentRefUio.d.ts +38 -0
  16. package/dist/models/AgentRefUio.js +54 -0
  17. package/dist/models/AgentRequestUio.d.ts +0 -59
  18. package/dist/models/AgentRequestUio.js +0 -22
  19. package/dist/models/AgentUio.d.ts +6 -44
  20. package/dist/models/AgentUio.js +2 -14
  21. package/dist/models/ChunkCreateRequestContentInnerUio.d.ts +1 -1
  22. package/dist/models/ChunkCreateRequestContentInnerUio.js +1 -3
  23. package/dist/models/ChunkCreateRequestUio.d.ts +3 -3
  24. package/dist/models/ChunkCreateRequestUio.js +10 -4
  25. package/dist/models/CreateKnowledgeBaseRequestEmbeddingConfigUio.d.ts +44 -0
  26. package/dist/models/CreateKnowledgeBaseRequestEmbeddingConfigUio.js +58 -0
  27. package/dist/models/CreateKnowledgeBaseRequestUio.d.ts +59 -0
  28. package/dist/models/CreateKnowledgeBaseRequestUio.js +65 -0
  29. package/dist/models/CreateKnowledgeBaseResponseUio.d.ts +46 -0
  30. package/dist/models/CreateKnowledgeBaseResponseUio.js +62 -0
  31. package/dist/models/DeleteKnowledgeSitePage200ResponseUio.d.ts +38 -0
  32. package/dist/models/DeleteKnowledgeSitePage200ResponseUio.js +52 -0
  33. package/dist/models/FileCreationResponseUio.d.ts +1 -0
  34. package/dist/models/FileCreationResponseUio.js +2 -1
  35. package/dist/models/FileUio.d.ts +5 -3
  36. package/dist/models/FileUio.js +4 -4
  37. package/dist/models/FileWithDownloadUrlUio.d.ts +5 -3
  38. package/dist/models/FileWithDownloadUrlUio.js +4 -4
  39. package/dist/models/ImageKnowledgeUio.d.ts +13 -6
  40. package/dist/models/ImageKnowledgeUio.js +23 -6
  41. package/dist/models/KnowledgeBaseConfigurationUio.d.ts +14 -0
  42. package/dist/models/KnowledgeBaseConfigurationUio.js +10 -1
  43. package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio.d.ts +45 -0
  44. package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio.js +57 -0
  45. package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationUio.d.ts +22 -0
  46. package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationUio.js +50 -0
  47. package/dist/models/KnowledgeBaseConfigurationUpdateRequestUio.d.ts +157 -0
  48. package/dist/models/KnowledgeBaseConfigurationUpdateRequestUio.js +102 -0
  49. package/dist/models/KnowledgeBaseUio.d.ts +6 -62
  50. package/dist/models/KnowledgeBaseUio.js +2 -22
  51. package/dist/models/KnowledgeFileCreationRequestUio.d.ts +68 -0
  52. package/dist/models/KnowledgeFileCreationRequestUio.js +64 -0
  53. package/dist/models/KnowledgeFileParsingCallbackRequestUio.d.ts +51 -0
  54. package/dist/models/KnowledgeFileParsingCallbackRequestUio.js +58 -0
  55. package/dist/models/KnowledgeFileSummaryUio.d.ts +2 -3
  56. package/dist/models/KnowledgeFileSummaryUio.js +2 -3
  57. package/dist/models/KnowledgeFileUio.d.ts +140 -0
  58. package/dist/models/KnowledgeFileUio.js +92 -0
  59. package/dist/models/UploadedStatusUpdateRequestUio.d.ts +39 -0
  60. package/dist/models/UploadedStatusUpdateRequestUio.js +57 -0
  61. package/dist/models/index.d.ts +13 -12
  62. package/dist/models/index.js +13 -12
  63. package/dist/openapi.json +920 -969
  64. package/package.json +1 -1
  65. package/dist/models/AgentRequestProfilePictureUio.d.ts +0 -50
  66. package/dist/models/AgentRequestProfilePictureUio.js +0 -62
  67. package/dist/models/DocumentAddRequestUio.d.ts +0 -38
  68. package/dist/models/DocumentAddRequestUio.js +0 -52
  69. package/dist/models/FileFormDataUio.d.ts +0 -38
  70. package/dist/models/FileFormDataUio.js +0 -50
  71. package/dist/models/FileStatusUpdateRequestUio.d.ts +0 -33
  72. package/dist/models/FileStatusUpdateRequestUio.js +0 -51
  73. package/dist/models/ImportFileToAgentKnowledge200ResponseUio.d.ts +0 -56
  74. package/dist/models/ImportFileToAgentKnowledge200ResponseUio.js +0 -56
  75. package/dist/models/KnowledgeBaseFilesInnerUio.d.ts +0 -44
  76. package/dist/models/KnowledgeBaseFilesInnerUio.js +0 -58
  77. package/dist/models/KnowledgeBasePrivacyUio.d.ts +0 -25
  78. package/dist/models/KnowledgeBasePrivacyUio.js +0 -51
  79. package/dist/models/KnowledgeFilePagePreviewUio.d.ts +0 -44
  80. package/dist/models/KnowledgeFilePagePreviewUio.js +0 -56
  81. package/dist/models/KnowledgeFileSummaryKnowledgeBaseIdUio.d.ts +0 -21
  82. package/dist/models/KnowledgeFileSummaryKnowledgeBaseIdUio.js +0 -37
  83. package/dist/models/UserAgentAccessAgentUio.d.ts +0 -38
  84. package/dist/models/UserAgentAccessAgentUio.js +0 -54
  85. package/dist/models/UserAgentAccessRequestUio.d.ts +0 -38
  86. package/dist/models/UserAgentAccessRequestUio.js +0 -54
  87. package/dist/models/UserAgentAccessUio.d.ts +0 -45
  88. package/dist/models/UserAgentAccessUio.js +0 -59
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.124",
3
+ "version": "1.0.126",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",
@@ -1,50 +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 AgentRequestProfilePictureUio
16
- */
17
- export interface AgentRequestProfilePictureUio {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof AgentRequestProfilePictureUio
22
- */
23
- hash: string;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof AgentRequestProfilePictureUio
28
- */
29
- size: number;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof AgentRequestProfilePictureUio
34
- */
35
- contentType: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof AgentRequestProfilePictureUio
40
- */
41
- ext: string;
42
- }
43
- /**
44
- * Check if a given object implements the AgentRequestProfilePictureUio interface.
45
- */
46
- export declare function instanceOfAgentRequestProfilePictureUio(value: object): value is AgentRequestProfilePictureUio;
47
- export declare function AgentRequestProfilePictureUioFromJSON(json: any): AgentRequestProfilePictureUio;
48
- export declare function AgentRequestProfilePictureUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentRequestProfilePictureUio;
49
- export declare function AgentRequestProfilePictureUioToJSON(json: any): AgentRequestProfilePictureUio;
50
- export declare function AgentRequestProfilePictureUioToJSONTyped(value?: AgentRequestProfilePictureUio | null, ignoreDiscriminator?: boolean): any;
@@ -1,62 +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.instanceOfAgentRequestProfilePictureUio = instanceOfAgentRequestProfilePictureUio;
17
- exports.AgentRequestProfilePictureUioFromJSON = AgentRequestProfilePictureUioFromJSON;
18
- exports.AgentRequestProfilePictureUioFromJSONTyped = AgentRequestProfilePictureUioFromJSONTyped;
19
- exports.AgentRequestProfilePictureUioToJSON = AgentRequestProfilePictureUioToJSON;
20
- exports.AgentRequestProfilePictureUioToJSONTyped = AgentRequestProfilePictureUioToJSONTyped;
21
- /**
22
- * Check if a given object implements the AgentRequestProfilePictureUio interface.
23
- */
24
- function instanceOfAgentRequestProfilePictureUio(value) {
25
- if (!('hash' in value) || value['hash'] === undefined)
26
- return false;
27
- if (!('size' in value) || value['size'] === undefined)
28
- return false;
29
- if (!('contentType' in value) || value['contentType'] === undefined)
30
- return false;
31
- if (!('ext' in value) || value['ext'] === undefined)
32
- return false;
33
- return true;
34
- }
35
- function AgentRequestProfilePictureUioFromJSON(json) {
36
- return AgentRequestProfilePictureUioFromJSONTyped(json, false);
37
- }
38
- function AgentRequestProfilePictureUioFromJSONTyped(json, ignoreDiscriminator) {
39
- if (json == null) {
40
- return json;
41
- }
42
- return {
43
- 'hash': json['hash'],
44
- 'size': json['size'],
45
- 'contentType': json['contentType'],
46
- 'ext': json['ext'],
47
- };
48
- }
49
- function AgentRequestProfilePictureUioToJSON(json) {
50
- return AgentRequestProfilePictureUioToJSONTyped(json, false);
51
- }
52
- function AgentRequestProfilePictureUioToJSONTyped(value, ignoreDiscriminator = false) {
53
- if (value == null) {
54
- return value;
55
- }
56
- return {
57
- 'hash': value['hash'],
58
- 'size': value['size'],
59
- 'contentType': value['contentType'],
60
- 'ext': value['ext'],
61
- };
62
- }
@@ -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 DocumentAddRequestUio
16
- */
17
- export interface DocumentAddRequestUio {
18
- /**
19
- * The text document to add to the knowledge base
20
- * @type {string}
21
- * @memberof DocumentAddRequestUio
22
- */
23
- document: string;
24
- /**
25
- * Optional custom ID for the document
26
- * @type {string}
27
- * @memberof DocumentAddRequestUio
28
- */
29
- customId?: string;
30
- }
31
- /**
32
- * Check if a given object implements the DocumentAddRequestUio interface.
33
- */
34
- export declare function instanceOfDocumentAddRequestUio(value: object): value is DocumentAddRequestUio;
35
- export declare function DocumentAddRequestUioFromJSON(json: any): DocumentAddRequestUio;
36
- export declare function DocumentAddRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentAddRequestUio;
37
- export declare function DocumentAddRequestUioToJSON(json: any): DocumentAddRequestUio;
38
- export declare function DocumentAddRequestUioToJSONTyped(value?: DocumentAddRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -1,52 +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.instanceOfDocumentAddRequestUio = instanceOfDocumentAddRequestUio;
17
- exports.DocumentAddRequestUioFromJSON = DocumentAddRequestUioFromJSON;
18
- exports.DocumentAddRequestUioFromJSONTyped = DocumentAddRequestUioFromJSONTyped;
19
- exports.DocumentAddRequestUioToJSON = DocumentAddRequestUioToJSON;
20
- exports.DocumentAddRequestUioToJSONTyped = DocumentAddRequestUioToJSONTyped;
21
- /**
22
- * Check if a given object implements the DocumentAddRequestUio interface.
23
- */
24
- function instanceOfDocumentAddRequestUio(value) {
25
- if (!('document' in value) || value['document'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function DocumentAddRequestUioFromJSON(json) {
30
- return DocumentAddRequestUioFromJSONTyped(json, false);
31
- }
32
- function DocumentAddRequestUioFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'document': json['document'],
38
- 'customId': json['customId'] == null ? undefined : json['customId'],
39
- };
40
- }
41
- function DocumentAddRequestUioToJSON(json) {
42
- return DocumentAddRequestUioToJSONTyped(json, false);
43
- }
44
- function DocumentAddRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'document': value['document'],
50
- 'customId': value['customId'],
51
- };
52
- }
@@ -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 FileFormDataUio
16
- */
17
- export interface FileFormDataUio {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof FileFormDataUio
22
- */
23
- fileName?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof FileFormDataUio
28
- */
29
- contentType?: string;
30
- }
31
- /**
32
- * Check if a given object implements the FileFormDataUio interface.
33
- */
34
- export declare function instanceOfFileFormDataUio(value: object): value is FileFormDataUio;
35
- export declare function FileFormDataUioFromJSON(json: any): FileFormDataUio;
36
- export declare function FileFormDataUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileFormDataUio;
37
- export declare function FileFormDataUioToJSON(json: any): FileFormDataUio;
38
- export declare function FileFormDataUioToJSONTyped(value?: FileFormDataUio | 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.instanceOfFileFormDataUio = instanceOfFileFormDataUio;
17
- exports.FileFormDataUioFromJSON = FileFormDataUioFromJSON;
18
- exports.FileFormDataUioFromJSONTyped = FileFormDataUioFromJSONTyped;
19
- exports.FileFormDataUioToJSON = FileFormDataUioToJSON;
20
- exports.FileFormDataUioToJSONTyped = FileFormDataUioToJSONTyped;
21
- /**
22
- * Check if a given object implements the FileFormDataUio interface.
23
- */
24
- function instanceOfFileFormDataUio(value) {
25
- return true;
26
- }
27
- function FileFormDataUioFromJSON(json) {
28
- return FileFormDataUioFromJSONTyped(json, false);
29
- }
30
- function FileFormDataUioFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'fileName': json['fileName'] == null ? undefined : json['fileName'],
36
- 'contentType': json['contentType'] == null ? undefined : json['contentType'],
37
- };
38
- }
39
- function FileFormDataUioToJSON(json) {
40
- return FileFormDataUioToJSONTyped(json, false);
41
- }
42
- function FileFormDataUioToJSONTyped(value, ignoreDiscriminator = false) {
43
- if (value == null) {
44
- return value;
45
- }
46
- return {
47
- 'fileName': value['fileName'],
48
- 'contentType': value['contentType'],
49
- };
50
- }
@@ -1,33 +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 { FileStatusUio } from './FileStatusUio';
13
- /**
14
- *
15
- * @export
16
- * @interface FileStatusUpdateRequestUio
17
- */
18
- export interface FileStatusUpdateRequestUio {
19
- /**
20
- *
21
- * @type {FileStatusUio}
22
- * @memberof FileStatusUpdateRequestUio
23
- */
24
- status: FileStatusUio;
25
- }
26
- /**
27
- * Check if a given object implements the FileStatusUpdateRequestUio interface.
28
- */
29
- export declare function instanceOfFileStatusUpdateRequestUio(value: object): value is FileStatusUpdateRequestUio;
30
- export declare function FileStatusUpdateRequestUioFromJSON(json: any): FileStatusUpdateRequestUio;
31
- export declare function FileStatusUpdateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileStatusUpdateRequestUio;
32
- export declare function FileStatusUpdateRequestUioToJSON(json: any): FileStatusUpdateRequestUio;
33
- export declare function FileStatusUpdateRequestUioToJSONTyped(value?: FileStatusUpdateRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -1,51 +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.instanceOfFileStatusUpdateRequestUio = instanceOfFileStatusUpdateRequestUio;
17
- exports.FileStatusUpdateRequestUioFromJSON = FileStatusUpdateRequestUioFromJSON;
18
- exports.FileStatusUpdateRequestUioFromJSONTyped = FileStatusUpdateRequestUioFromJSONTyped;
19
- exports.FileStatusUpdateRequestUioToJSON = FileStatusUpdateRequestUioToJSON;
20
- exports.FileStatusUpdateRequestUioToJSONTyped = FileStatusUpdateRequestUioToJSONTyped;
21
- const FileStatusUio_1 = require("./FileStatusUio");
22
- /**
23
- * Check if a given object implements the FileStatusUpdateRequestUio interface.
24
- */
25
- function instanceOfFileStatusUpdateRequestUio(value) {
26
- if (!('status' in value) || value['status'] === undefined)
27
- return false;
28
- return true;
29
- }
30
- function FileStatusUpdateRequestUioFromJSON(json) {
31
- return FileStatusUpdateRequestUioFromJSONTyped(json, false);
32
- }
33
- function FileStatusUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
34
- if (json == null) {
35
- return json;
36
- }
37
- return {
38
- 'status': (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
39
- };
40
- }
41
- function FileStatusUpdateRequestUioToJSON(json) {
42
- return FileStatusUpdateRequestUioToJSONTyped(json, false);
43
- }
44
- function FileStatusUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
50
- };
51
- }
@@ -1,56 +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 ImportFileToAgentKnowledge200ResponseUio
16
- */
17
- export interface ImportFileToAgentKnowledge200ResponseUio {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof ImportFileToAgentKnowledge200ResponseUio
22
- */
23
- id?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ImportFileToAgentKnowledge200ResponseUio
28
- */
29
- name?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof ImportFileToAgentKnowledge200ResponseUio
34
- */
35
- type?: string;
36
- /**
37
- *
38
- * @type {number}
39
- * @memberof ImportFileToAgentKnowledge200ResponseUio
40
- */
41
- size?: number;
42
- /**
43
- *
44
- * @type {number}
45
- * @memberof ImportFileToAgentKnowledge200ResponseUio
46
- */
47
- chunkCount?: number;
48
- }
49
- /**
50
- * Check if a given object implements the ImportFileToAgentKnowledge200ResponseUio interface.
51
- */
52
- export declare function instanceOfImportFileToAgentKnowledge200ResponseUio(value: object): value is ImportFileToAgentKnowledge200ResponseUio;
53
- export declare function ImportFileToAgentKnowledge200ResponseUioFromJSON(json: any): ImportFileToAgentKnowledge200ResponseUio;
54
- export declare function ImportFileToAgentKnowledge200ResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImportFileToAgentKnowledge200ResponseUio;
55
- export declare function ImportFileToAgentKnowledge200ResponseUioToJSON(json: any): ImportFileToAgentKnowledge200ResponseUio;
56
- export declare function ImportFileToAgentKnowledge200ResponseUioToJSONTyped(value?: ImportFileToAgentKnowledge200ResponseUio | null, ignoreDiscriminator?: boolean): any;
@@ -1,56 +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.instanceOfImportFileToAgentKnowledge200ResponseUio = instanceOfImportFileToAgentKnowledge200ResponseUio;
17
- exports.ImportFileToAgentKnowledge200ResponseUioFromJSON = ImportFileToAgentKnowledge200ResponseUioFromJSON;
18
- exports.ImportFileToAgentKnowledge200ResponseUioFromJSONTyped = ImportFileToAgentKnowledge200ResponseUioFromJSONTyped;
19
- exports.ImportFileToAgentKnowledge200ResponseUioToJSON = ImportFileToAgentKnowledge200ResponseUioToJSON;
20
- exports.ImportFileToAgentKnowledge200ResponseUioToJSONTyped = ImportFileToAgentKnowledge200ResponseUioToJSONTyped;
21
- /**
22
- * Check if a given object implements the ImportFileToAgentKnowledge200ResponseUio interface.
23
- */
24
- function instanceOfImportFileToAgentKnowledge200ResponseUio(value) {
25
- return true;
26
- }
27
- function ImportFileToAgentKnowledge200ResponseUioFromJSON(json) {
28
- return ImportFileToAgentKnowledge200ResponseUioFromJSONTyped(json, false);
29
- }
30
- function ImportFileToAgentKnowledge200ResponseUioFromJSONTyped(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
- 'type': json['type'] == null ? undefined : json['type'],
38
- 'size': json['size'] == null ? undefined : json['size'],
39
- 'chunkCount': json['chunkCount'] == null ? undefined : json['chunkCount'],
40
- };
41
- }
42
- function ImportFileToAgentKnowledge200ResponseUioToJSON(json) {
43
- return ImportFileToAgentKnowledge200ResponseUioToJSONTyped(json, false);
44
- }
45
- function ImportFileToAgentKnowledge200ResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
46
- if (value == null) {
47
- return value;
48
- }
49
- return {
50
- 'id': value['id'],
51
- 'name': value['name'],
52
- 'type': value['type'],
53
- 'size': value['size'],
54
- 'chunkCount': value['chunkCount'],
55
- };
56
- }
@@ -1,44 +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 KnowledgeBaseFilesInnerUio
16
- */
17
- export interface KnowledgeBaseFilesInnerUio {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof KnowledgeBaseFilesInnerUio
22
- */
23
- id: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof KnowledgeBaseFilesInnerUio
28
- */
29
- name: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof KnowledgeBaseFilesInnerUio
34
- */
35
- knowledgeBaseId: string;
36
- }
37
- /**
38
- * Check if a given object implements the KnowledgeBaseFilesInnerUio interface.
39
- */
40
- export declare function instanceOfKnowledgeBaseFilesInnerUio(value: object): value is KnowledgeBaseFilesInnerUio;
41
- export declare function KnowledgeBaseFilesInnerUioFromJSON(json: any): KnowledgeBaseFilesInnerUio;
42
- export declare function KnowledgeBaseFilesInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeBaseFilesInnerUio;
43
- export declare function KnowledgeBaseFilesInnerUioToJSON(json: any): KnowledgeBaseFilesInnerUio;
44
- export declare function KnowledgeBaseFilesInnerUioToJSONTyped(value?: KnowledgeBaseFilesInnerUio | null, ignoreDiscriminator?: boolean): any;
@@ -1,58 +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.instanceOfKnowledgeBaseFilesInnerUio = instanceOfKnowledgeBaseFilesInnerUio;
17
- exports.KnowledgeBaseFilesInnerUioFromJSON = KnowledgeBaseFilesInnerUioFromJSON;
18
- exports.KnowledgeBaseFilesInnerUioFromJSONTyped = KnowledgeBaseFilesInnerUioFromJSONTyped;
19
- exports.KnowledgeBaseFilesInnerUioToJSON = KnowledgeBaseFilesInnerUioToJSON;
20
- exports.KnowledgeBaseFilesInnerUioToJSONTyped = KnowledgeBaseFilesInnerUioToJSONTyped;
21
- /**
22
- * Check if a given object implements the KnowledgeBaseFilesInnerUio interface.
23
- */
24
- function instanceOfKnowledgeBaseFilesInnerUio(value) {
25
- if (!('id' in value) || value['id'] === undefined)
26
- return false;
27
- if (!('name' in value) || value['name'] === undefined)
28
- return false;
29
- if (!('knowledgeBaseId' in value) || value['knowledgeBaseId'] === undefined)
30
- return false;
31
- return true;
32
- }
33
- function KnowledgeBaseFilesInnerUioFromJSON(json) {
34
- return KnowledgeBaseFilesInnerUioFromJSONTyped(json, false);
35
- }
36
- function KnowledgeBaseFilesInnerUioFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'id': json['id'],
42
- 'name': json['name'],
43
- 'knowledgeBaseId': json['knowledgeBaseId'],
44
- };
45
- }
46
- function KnowledgeBaseFilesInnerUioToJSON(json) {
47
- return KnowledgeBaseFilesInnerUioToJSONTyped(json, false);
48
- }
49
- function KnowledgeBaseFilesInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
50
- if (value == null) {
51
- return value;
52
- }
53
- return {
54
- 'id': value['id'],
55
- 'name': value['name'],
56
- 'knowledgeBaseId': value['knowledgeBaseId'],
57
- };
58
- }
@@ -1,25 +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
- */
16
- export declare const KnowledgeBasePrivacyUio: {
17
- readonly Private: "private";
18
- readonly Public: "public";
19
- };
20
- export type KnowledgeBasePrivacyUio = typeof KnowledgeBasePrivacyUio[keyof typeof KnowledgeBasePrivacyUio];
21
- export declare function instanceOfKnowledgeBasePrivacyUio(value: any): boolean;
22
- export declare function KnowledgeBasePrivacyUioFromJSON(json: any): KnowledgeBasePrivacyUio;
23
- export declare function KnowledgeBasePrivacyUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeBasePrivacyUio;
24
- export declare function KnowledgeBasePrivacyUioToJSON(value?: KnowledgeBasePrivacyUio | null): any;
25
- export declare function KnowledgeBasePrivacyUioToJSONTyped(value: any, ignoreDiscriminator: boolean): KnowledgeBasePrivacyUio;
@@ -1,51 +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.KnowledgeBasePrivacyUio = void 0;
17
- exports.instanceOfKnowledgeBasePrivacyUio = instanceOfKnowledgeBasePrivacyUio;
18
- exports.KnowledgeBasePrivacyUioFromJSON = KnowledgeBasePrivacyUioFromJSON;
19
- exports.KnowledgeBasePrivacyUioFromJSONTyped = KnowledgeBasePrivacyUioFromJSONTyped;
20
- exports.KnowledgeBasePrivacyUioToJSON = KnowledgeBasePrivacyUioToJSON;
21
- exports.KnowledgeBasePrivacyUioToJSONTyped = KnowledgeBasePrivacyUioToJSONTyped;
22
- /**
23
- *
24
- * @export
25
- */
26
- exports.KnowledgeBasePrivacyUio = {
27
- Private: 'private',
28
- Public: 'public'
29
- };
30
- function instanceOfKnowledgeBasePrivacyUio(value) {
31
- for (const key in exports.KnowledgeBasePrivacyUio) {
32
- if (Object.prototype.hasOwnProperty.call(exports.KnowledgeBasePrivacyUio, key)) {
33
- if (exports.KnowledgeBasePrivacyUio[key] === value) {
34
- return true;
35
- }
36
- }
37
- }
38
- return false;
39
- }
40
- function KnowledgeBasePrivacyUioFromJSON(json) {
41
- return KnowledgeBasePrivacyUioFromJSONTyped(json, false);
42
- }
43
- function KnowledgeBasePrivacyUioFromJSONTyped(json, ignoreDiscriminator) {
44
- return json;
45
- }
46
- function KnowledgeBasePrivacyUioToJSON(value) {
47
- return value;
48
- }
49
- function KnowledgeBasePrivacyUioToJSONTyped(value, ignoreDiscriminator) {
50
- return value;
51
- }