@breign/client 1.0.109 → 1.0.111
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/AppApi.d.ts +92 -18
- package/dist/apis/AppApi.js +196 -32
- package/dist/apis/KnowledgeApi.d.ts +120 -8
- package/dist/apis/KnowledgeApi.js +268 -30
- package/dist/apis/PromptsApi.d.ts +3 -3
- package/dist/apis/PromptsApi.js +3 -2
- package/dist/apis/SkillsApi.d.ts +46 -1
- package/dist/apis/SkillsApi.js +109 -0
- package/dist/apis/ToolsApi.d.ts +42 -1
- package/dist/apis/ToolsApi.js +87 -0
- package/dist/models/AddCustomFiller201ResponseFillerUio.d.ts +50 -0
- package/dist/models/AddCustomFiller201ResponseFillerUio.js +62 -0
- package/dist/models/AddCustomFiller201ResponseUio.d.ts +39 -0
- package/dist/models/AddCustomFiller201ResponseUio.js +55 -0
- package/dist/models/AddCustomFillerRequestUio.d.ts +32 -0
- package/dist/models/AddCustomFillerRequestUio.js +50 -0
- package/dist/models/AgentPatchUio.d.ts +1 -1
- package/dist/models/AgentUio.d.ts +1 -1
- package/dist/models/FileCreationRequestUio.d.ts +6 -0
- package/dist/models/FileCreationRequestUio.js +2 -0
- package/dist/models/FileCreationResponseUio.d.ts +38 -0
- package/dist/models/FileCreationResponseUio.js +18 -0
- package/dist/models/FileUio.d.ts +38 -0
- package/dist/models/FileUio.js +18 -0
- package/dist/models/FileWithDownloadUrlUio.d.ts +38 -0
- package/dist/models/FileWithDownloadUrlUio.js +18 -0
- package/dist/models/KnowledgeSitePageUio.d.ts +129 -0
- package/dist/models/KnowledgeSitePageUio.js +101 -0
- package/dist/models/LibrarySkillEntryUio.d.ts +87 -0
- package/dist/models/LibrarySkillEntryUio.js +83 -0
- package/dist/models/LibrarySkillInstallRequestUio.d.ts +38 -0
- package/dist/models/LibrarySkillInstallRequestUio.js +52 -0
- package/dist/models/LibrarySkillSyncRequestUio.d.ts +32 -0
- package/dist/models/LibrarySkillSyncRequestUio.js +48 -0
- package/dist/models/LibrarySkillVersionFilesInnerUio.d.ts +38 -0
- package/dist/models/LibrarySkillVersionFilesInnerUio.js +54 -0
- package/dist/models/LibrarySkillVersionUio.d.ts +105 -0
- package/dist/models/LibrarySkillVersionUio.js +89 -0
- package/dist/models/LibrarySkillsPageUio.d.ts +63 -0
- package/dist/models/LibrarySkillsPageUio.js +71 -0
- package/dist/models/MessageStatusErrorUio.d.ts +38 -0
- package/dist/models/MessageStatusErrorUio.js +50 -0
- package/dist/models/MessageStatusToolCallUio.d.ts +38 -0
- package/dist/models/MessageStatusToolCallUio.js +54 -0
- package/dist/models/MessageStatusUio.d.ts +79 -0
- package/dist/models/MessageStatusUio.js +73 -0
- package/dist/models/PatchKnowledgeBaseRequestUio.d.ts +38 -0
- package/dist/models/PatchKnowledgeBaseRequestUio.js +54 -0
- package/dist/models/PatchKnowledgeFileRequestUio.d.ts +32 -0
- package/dist/models/PatchKnowledgeFileRequestUio.js +50 -0
- package/dist/models/SearchKnowledgeBase200ResponseInnerUio.d.ts +52 -0
- package/dist/models/SearchKnowledgeBase200ResponseInnerUio.js +60 -0
- package/dist/models/SearchKnowledgeBaseRequestUio.d.ts +38 -0
- package/dist/models/SearchKnowledgeBaseRequestUio.js +52 -0
- package/dist/models/SkillAssignRequestUio.js +2 -2
- package/dist/models/SkillUio.d.ts +12 -0
- package/dist/models/SkillUio.js +4 -0
- package/dist/models/SkillUpdateRequestUio.d.ts +12 -0
- package/dist/models/SkillUpdateRequestUio.js +4 -0
- package/dist/models/StartKnowledgeBaseScrappingRequestUio.d.ts +88 -0
- package/dist/models/StartKnowledgeBaseScrappingRequestUio.js +74 -0
- package/dist/models/UpdateSelectedFillers200ResponseUio.d.ts +39 -0
- package/dist/models/UpdateSelectedFillers200ResponseUio.js +55 -0
- package/dist/models/UpdateSelectedFillersRequestDataInnerUio.d.ts +38 -0
- package/dist/models/UpdateSelectedFillersRequestDataInnerUio.js +54 -0
- package/dist/models/UpdateSelectedFillersRequestUio.d.ts +33 -0
- package/dist/models/UpdateSelectedFillersRequestUio.js +51 -0
- package/dist/models/UpdateToolStaticCredentialsRequestUio.d.ts +38 -0
- package/dist/models/UpdateToolStaticCredentialsRequestUio.js +50 -0
- package/dist/models/UploadImageToKnowledgeBaseLibrary200ResponseUio.d.ts +41 -0
- package/dist/models/UploadImageToKnowledgeBaseLibrary200ResponseUio.js +55 -0
- package/dist/models/UploadImageToKnowledgeBaseLibraryRequestUio.d.ts +50 -0
- package/dist/models/UploadImageToKnowledgeBaseLibraryRequestUio.js +62 -0
- package/dist/models/index.d.ts +24 -1
- package/dist/models/index.js +24 -1
- package/dist/openapi.json +1711 -267
- package/package.json +1 -1
- package/dist/models/AudioFillerExistsResponseUio.d.ts +0 -32
- package/dist/models/AudioFillerExistsResponseUio.js +0 -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
|
+
}
|
|
@@ -34,7 +34,7 @@ function SkillAssignRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
-
'skillId': json['
|
|
37
|
+
'skillId': json['skillId'],
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
function SkillAssignRequestUioToJSON(json) {
|
|
@@ -45,6 +45,6 @@ function SkillAssignRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
45
45
|
return value;
|
|
46
46
|
}
|
|
47
47
|
return {
|
|
48
|
-
'
|
|
48
|
+
'skillId': value['skillId'],
|
|
49
49
|
};
|
|
50
50
|
}
|
|
@@ -75,6 +75,18 @@ export interface SkillUio {
|
|
|
75
75
|
* @memberof SkillUio
|
|
76
76
|
*/
|
|
77
77
|
updatedAt?: Date;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof SkillUio
|
|
82
|
+
*/
|
|
83
|
+
librarySlug?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof SkillUio
|
|
88
|
+
*/
|
|
89
|
+
libraryVersionId?: string | null;
|
|
78
90
|
}
|
|
79
91
|
/**
|
|
80
92
|
* Check if a given object implements the SkillUio interface.
|
package/dist/models/SkillUio.js
CHANGED
|
@@ -56,6 +56,8 @@ function SkillUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
57
57
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
58
58
|
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
59
|
+
'librarySlug': json['librarySlug'] == null ? undefined : json['librarySlug'],
|
|
60
|
+
'libraryVersionId': json['libraryVersionId'] == null ? undefined : json['libraryVersionId'],
|
|
59
61
|
};
|
|
60
62
|
}
|
|
61
63
|
function SkillUioToJSON(json) {
|
|
@@ -76,5 +78,7 @@ function SkillUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
76
78
|
'createdBy': value['createdBy'],
|
|
77
79
|
'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
|
78
80
|
'updatedAt': value['updatedAt'] == null ? undefined : ((value['updatedAt']).toISOString()),
|
|
81
|
+
'librarySlug': value['librarySlug'],
|
|
82
|
+
'libraryVersionId': value['libraryVersionId'],
|
|
79
83
|
};
|
|
80
84
|
}
|
|
@@ -39,6 +39,18 @@ export interface SkillUpdateRequestUio {
|
|
|
39
39
|
* @memberof SkillUpdateRequestUio
|
|
40
40
|
*/
|
|
41
41
|
isActive?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SkillUpdateRequestUio
|
|
46
|
+
*/
|
|
47
|
+
librarySlug?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SkillUpdateRequestUio
|
|
52
|
+
*/
|
|
53
|
+
libraryVersionId?: string | null;
|
|
42
54
|
}
|
|
43
55
|
/**
|
|
44
56
|
* Check if a given object implements the SkillUpdateRequestUio interface.
|
|
@@ -36,6 +36,8 @@ function SkillUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'description': json['description'] == null ? undefined : json['description'],
|
|
37
37
|
'content': json['content'] == null ? undefined : json['content'],
|
|
38
38
|
'isActive': json['isActive'] == null ? undefined : json['isActive'],
|
|
39
|
+
'librarySlug': json['librarySlug'] == null ? undefined : json['librarySlug'],
|
|
40
|
+
'libraryVersionId': json['libraryVersionId'] == null ? undefined : json['libraryVersionId'],
|
|
39
41
|
};
|
|
40
42
|
}
|
|
41
43
|
function SkillUpdateRequestUioToJSON(json) {
|
|
@@ -50,5 +52,7 @@ function SkillUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
50
52
|
'description': value['description'],
|
|
51
53
|
'content': value['content'],
|
|
52
54
|
'isActive': value['isActive'],
|
|
55
|
+
'librarySlug': value['librarySlug'],
|
|
56
|
+
'libraryVersionId': value['libraryVersionId'],
|
|
53
57
|
};
|
|
54
58
|
}
|
|
@@ -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
|
+
}
|