@breign/client 1.0.125 → 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.
- package/dist/apis/KnowledgeApi.d.ts +127 -61
- package/dist/apis/KnowledgeApi.js +257 -108
- package/dist/models/ChunkCreateRequestContentInnerUio.d.ts +1 -1
- package/dist/models/ChunkCreateRequestContentInnerUio.js +1 -3
- package/dist/models/ChunkCreateRequestUio.d.ts +3 -3
- package/dist/models/ChunkCreateRequestUio.js +10 -4
- package/dist/models/CreateKnowledgeBaseRequestEmbeddingConfigUio.d.ts +44 -0
- package/dist/models/CreateKnowledgeBaseRequestEmbeddingConfigUio.js +58 -0
- package/dist/models/CreateKnowledgeBaseRequestUio.d.ts +59 -0
- package/dist/models/CreateKnowledgeBaseRequestUio.js +65 -0
- package/dist/models/CreateKnowledgeBaseResponseUio.d.ts +46 -0
- package/dist/models/CreateKnowledgeBaseResponseUio.js +62 -0
- package/dist/models/DeleteKnowledgeSitePage200ResponseUio.d.ts +38 -0
- package/dist/models/DeleteKnowledgeSitePage200ResponseUio.js +52 -0
- package/dist/models/FileCreationResponseUio.d.ts +1 -0
- package/dist/models/FileCreationResponseUio.js +2 -1
- package/dist/models/FileUio.d.ts +5 -3
- package/dist/models/FileUio.js +4 -4
- package/dist/models/FileWithDownloadUrlUio.d.ts +5 -3
- package/dist/models/FileWithDownloadUrlUio.js +4 -4
- package/dist/models/ImageKnowledgeUio.d.ts +13 -6
- package/dist/models/ImageKnowledgeUio.js +23 -6
- package/dist/models/KnowledgeBaseConfigurationUio.d.ts +14 -0
- package/dist/models/KnowledgeBaseConfigurationUio.js +10 -1
- package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio.d.ts +45 -0
- package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio.js +57 -0
- package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationUio.d.ts +22 -0
- package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationUio.js +50 -0
- package/dist/models/KnowledgeBaseConfigurationUpdateRequestUio.d.ts +157 -0
- package/dist/models/KnowledgeBaseConfigurationUpdateRequestUio.js +102 -0
- package/dist/models/KnowledgeBaseUio.d.ts +6 -62
- package/dist/models/KnowledgeBaseUio.js +2 -22
- package/dist/models/KnowledgeFileCreationRequestUio.d.ts +68 -0
- package/dist/models/KnowledgeFileCreationRequestUio.js +64 -0
- package/dist/models/KnowledgeFileParsingCallbackRequestUio.d.ts +51 -0
- package/dist/models/KnowledgeFileParsingCallbackRequestUio.js +58 -0
- package/dist/models/KnowledgeFileSummaryUio.d.ts +2 -3
- package/dist/models/KnowledgeFileSummaryUio.js +2 -3
- package/dist/models/KnowledgeFileUio.d.ts +140 -0
- package/dist/models/KnowledgeFileUio.js +92 -0
- package/dist/models/UploadedStatusUpdateRequestUio.d.ts +39 -0
- package/dist/models/UploadedStatusUpdateRequestUio.js +57 -0
- package/dist/models/index.d.ts +11 -6
- package/dist/models/index.js +11 -6
- package/dist/openapi.json +662 -222
- package/package.json +1 -1
- package/dist/models/FileFormDataUio.d.ts +0 -38
- package/dist/models/FileFormDataUio.js +0 -50
- package/dist/models/FileStatusUpdateRequestUio.d.ts +0 -33
- package/dist/models/FileStatusUpdateRequestUio.js +0 -51
- package/dist/models/KnowledgeBaseFilesInnerUio.d.ts +0 -44
- package/dist/models/KnowledgeBaseFilesInnerUio.js +0 -58
- package/dist/models/KnowledgeBasePrivacyUio.d.ts +0 -25
- package/dist/models/KnowledgeBasePrivacyUio.js +0 -51
- package/dist/models/KnowledgeFilePagePreviewUio.d.ts +0 -44
- package/dist/models/KnowledgeFilePagePreviewUio.js +0 -56
- package/dist/models/KnowledgeFileSummaryKnowledgeBaseIdUio.d.ts +0 -21
- package/dist/models/KnowledgeFileSummaryKnowledgeBaseIdUio.js +0 -37
package/package.json
CHANGED
|
@@ -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,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
|
-
}
|
|
@@ -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 KnowledgeFilePagePreviewUio
|
|
16
|
-
*/
|
|
17
|
-
export interface KnowledgeFilePagePreviewUio {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof KnowledgeFilePagePreviewUio
|
|
22
|
-
*/
|
|
23
|
-
url: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof KnowledgeFilePagePreviewUio
|
|
28
|
-
*/
|
|
29
|
-
key?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof KnowledgeFilePagePreviewUio
|
|
34
|
-
*/
|
|
35
|
-
pageIndex: number;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the KnowledgeFilePagePreviewUio interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfKnowledgeFilePagePreviewUio(value: object): value is KnowledgeFilePagePreviewUio;
|
|
41
|
-
export declare function KnowledgeFilePagePreviewUioFromJSON(json: any): KnowledgeFilePagePreviewUio;
|
|
42
|
-
export declare function KnowledgeFilePagePreviewUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeFilePagePreviewUio;
|
|
43
|
-
export declare function KnowledgeFilePagePreviewUioToJSON(json: any): KnowledgeFilePagePreviewUio;
|
|
44
|
-
export declare function KnowledgeFilePagePreviewUioToJSONTyped(value?: KnowledgeFilePagePreviewUio | 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.instanceOfKnowledgeFilePagePreviewUio = instanceOfKnowledgeFilePagePreviewUio;
|
|
17
|
-
exports.KnowledgeFilePagePreviewUioFromJSON = KnowledgeFilePagePreviewUioFromJSON;
|
|
18
|
-
exports.KnowledgeFilePagePreviewUioFromJSONTyped = KnowledgeFilePagePreviewUioFromJSONTyped;
|
|
19
|
-
exports.KnowledgeFilePagePreviewUioToJSON = KnowledgeFilePagePreviewUioToJSON;
|
|
20
|
-
exports.KnowledgeFilePagePreviewUioToJSONTyped = KnowledgeFilePagePreviewUioToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the KnowledgeFilePagePreviewUio interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfKnowledgeFilePagePreviewUio(value) {
|
|
25
|
-
if (!('url' in value) || value['url'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('pageIndex' in value) || value['pageIndex'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function KnowledgeFilePagePreviewUioFromJSON(json) {
|
|
32
|
-
return KnowledgeFilePagePreviewUioFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function KnowledgeFilePagePreviewUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'url': json['url'],
|
|
40
|
-
'key': json['key'] == null ? undefined : json['key'],
|
|
41
|
-
'pageIndex': json['pageIndex'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
function KnowledgeFilePagePreviewUioToJSON(json) {
|
|
45
|
-
return KnowledgeFilePagePreviewUioToJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
function KnowledgeFilePagePreviewUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
-
if (value == null) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'url': value['url'],
|
|
53
|
-
'key': value['key'],
|
|
54
|
-
'pageIndex': value['pageIndex'],
|
|
55
|
-
};
|
|
56
|
-
}
|
|
@@ -1,21 +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
|
-
* @type KnowledgeFileSummaryKnowledgeBaseIdUio
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export type KnowledgeFileSummaryKnowledgeBaseIdUio = Array<string> | string;
|
|
18
|
-
export declare function KnowledgeFileSummaryKnowledgeBaseIdUioFromJSON(json: any): KnowledgeFileSummaryKnowledgeBaseIdUio;
|
|
19
|
-
export declare function KnowledgeFileSummaryKnowledgeBaseIdUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeFileSummaryKnowledgeBaseIdUio;
|
|
20
|
-
export declare function KnowledgeFileSummaryKnowledgeBaseIdUioToJSON(json: any): any;
|
|
21
|
-
export declare function KnowledgeFileSummaryKnowledgeBaseIdUioToJSONTyped(value?: KnowledgeFileSummaryKnowledgeBaseIdUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,37 +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.KnowledgeFileSummaryKnowledgeBaseIdUioFromJSON = KnowledgeFileSummaryKnowledgeBaseIdUioFromJSON;
|
|
17
|
-
exports.KnowledgeFileSummaryKnowledgeBaseIdUioFromJSONTyped = KnowledgeFileSummaryKnowledgeBaseIdUioFromJSONTyped;
|
|
18
|
-
exports.KnowledgeFileSummaryKnowledgeBaseIdUioToJSON = KnowledgeFileSummaryKnowledgeBaseIdUioToJSON;
|
|
19
|
-
exports.KnowledgeFileSummaryKnowledgeBaseIdUioToJSONTyped = KnowledgeFileSummaryKnowledgeBaseIdUioToJSONTyped;
|
|
20
|
-
function KnowledgeFileSummaryKnowledgeBaseIdUioFromJSON(json) {
|
|
21
|
-
return KnowledgeFileSummaryKnowledgeBaseIdUioFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
function KnowledgeFileSummaryKnowledgeBaseIdUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json == null) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
return {};
|
|
28
|
-
}
|
|
29
|
-
function KnowledgeFileSummaryKnowledgeBaseIdUioToJSON(json) {
|
|
30
|
-
return KnowledgeFileSummaryKnowledgeBaseIdUioToJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function KnowledgeFileSummaryKnowledgeBaseIdUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
|
-
if (value == null) {
|
|
34
|
-
return value;
|
|
35
|
-
}
|
|
36
|
-
return {};
|
|
37
|
-
}
|