@breign/client 1.0.163 → 1.0.165

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 (31) hide show
  1. package/dist/apis/AgentApi.d.ts +15 -1
  2. package/dist/apis/AgentApi.js +34 -0
  3. package/dist/apis/KnowledgeApi.d.ts +43 -1
  4. package/dist/apis/KnowledgeApi.js +104 -0
  5. package/dist/models/AddKnowledgeSiteExclusionRequestUio.d.ts +32 -0
  6. package/dist/models/AddKnowledgeSiteExclusionRequestUio.js +50 -0
  7. package/dist/models/AddKnowledgeSiteExclusionResponseUio.d.ts +44 -0
  8. package/dist/models/AddKnowledgeSiteExclusionResponseUio.js +58 -0
  9. package/dist/models/AgentPromptInitGenerationRequestNotesUio.d.ts +45 -0
  10. package/dist/models/AgentPromptInitGenerationRequestNotesUio.js +52 -0
  11. package/dist/models/AgentPromptInitGenerationRequestUio.d.ts +110 -0
  12. package/dist/models/AgentPromptInitGenerationRequestUio.js +92 -0
  13. package/dist/models/AgentPromptInitGenerationResponseUio.d.ts +38 -0
  14. package/dist/models/AgentPromptInitGenerationResponseUio.js +52 -0
  15. package/dist/models/FileCreationResponseUio.d.ts +7 -0
  16. package/dist/models/FileCreationResponseUio.js +2 -0
  17. package/dist/models/FileUio.d.ts +7 -0
  18. package/dist/models/FileUio.js +2 -0
  19. package/dist/models/FileWithDownloadUrlUio.d.ts +7 -0
  20. package/dist/models/FileWithDownloadUrlUio.js +2 -0
  21. package/dist/models/KnowledgeFileUio.d.ts +7 -0
  22. package/dist/models/KnowledgeFileUio.js +2 -0
  23. package/dist/models/KnowledgeSiteExclusionsUio.d.ts +32 -0
  24. package/dist/models/KnowledgeSiteExclusionsUio.js +50 -0
  25. package/dist/models/KnowledgeSitePagesRemovalUio.d.ts +38 -0
  26. package/dist/models/KnowledgeSitePagesRemovalUio.js +54 -0
  27. package/dist/models/StartKnowledgeBaseScrappingRequestUio.d.ts +1 -0
  28. package/dist/models/index.d.ts +7 -0
  29. package/dist/models/index.js +7 -0
  30. package/dist/openapi.json +362 -0
  31. package/package.json +1 -1
@@ -0,0 +1,110 @@
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 { AgentPromptInitGenerationRequestNotesUio } from './AgentPromptInitGenerationRequestNotesUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AgentPromptInitGenerationRequestUio
17
+ */
18
+ export interface AgentPromptInitGenerationRequestUio {
19
+ /**
20
+ * What the agent is for, in the user's own words.
21
+ * @type {string}
22
+ * @memberof AgentPromptInitGenerationRequestUio
23
+ */
24
+ mission: string;
25
+ /**
26
+ * Who the agent talks to. Several may apply at once; duplicates are rejected. Omit it when `notes.audience` is given — a free-text note replaces the presets. Defaults to `employees` when neither is given. Not declared as `uniqueItems` because the TypeScript generator would turn the field into a `Set`, which does not survive a server-action boundary — the server-side schema enforces uniqueness.
27
+ *
28
+ * @type {Array<string>}
29
+ * @memberof AgentPromptInitGenerationRequestUio
30
+ */
31
+ audiences?: Array<AgentPromptInitGenerationRequestUioAudiencesEnum>;
32
+ /**
33
+ * Omit it when `notes.answerStyle` is given. Defaults to `concise`.
34
+ * @type {string}
35
+ * @memberof AgentPromptInitGenerationRequestUio
36
+ */
37
+ answerStyle?: AgentPromptInitGenerationRequestUioAnswerStyleEnum;
38
+ /**
39
+ * Omit it when `notes.sourcePolicy` is given. Defaults to `provided_only`.
40
+ * @type {string}
41
+ * @memberof AgentPromptInitGenerationRequestUio
42
+ */
43
+ sourcePolicy?: AgentPromptInitGenerationRequestUioSourcePolicyEnum;
44
+ /**
45
+ *
46
+ * @type {AgentPromptInitGenerationRequestNotesUio}
47
+ * @memberof AgentPromptInitGenerationRequestUio
48
+ */
49
+ notes?: AgentPromptInitGenerationRequestNotesUio;
50
+ /**
51
+ * What the agent must never do.
52
+ * @type {string}
53
+ * @memberof AgentPromptInitGenerationRequestUio
54
+ */
55
+ constraints?: string;
56
+ /**
57
+ * Language the instructions are written in. Defaults to the agent's.
58
+ * @type {string}
59
+ * @memberof AgentPromptInitGenerationRequestUio
60
+ */
61
+ lang?: string;
62
+ /**
63
+ * Engine to write with, instead of the agent's. Must belong to the agent's organisation. Only honoured together with `model`.
64
+ *
65
+ * @type {string}
66
+ * @memberof AgentPromptInitGenerationRequestUio
67
+ */
68
+ providerId?: string;
69
+ /**
70
+ * Model id within `providerId`.
71
+ * @type {string}
72
+ * @memberof AgentPromptInitGenerationRequestUio
73
+ */
74
+ model?: string;
75
+ }
76
+ /**
77
+ * @export
78
+ */
79
+ export declare const AgentPromptInitGenerationRequestUioAudiencesEnum: {
80
+ readonly GeneralPublic: "general_public";
81
+ readonly Customers: "customers";
82
+ readonly Employees: "employees";
83
+ readonly Experts: "experts";
84
+ };
85
+ export type AgentPromptInitGenerationRequestUioAudiencesEnum = typeof AgentPromptInitGenerationRequestUioAudiencesEnum[keyof typeof AgentPromptInitGenerationRequestUioAudiencesEnum];
86
+ /**
87
+ * @export
88
+ */
89
+ export declare const AgentPromptInitGenerationRequestUioAnswerStyleEnum: {
90
+ readonly Concise: "concise";
91
+ readonly Detailed: "detailed";
92
+ readonly StepByStep: "step_by_step";
93
+ };
94
+ export type AgentPromptInitGenerationRequestUioAnswerStyleEnum = typeof AgentPromptInitGenerationRequestUioAnswerStyleEnum[keyof typeof AgentPromptInitGenerationRequestUioAnswerStyleEnum];
95
+ /**
96
+ * @export
97
+ */
98
+ export declare const AgentPromptInitGenerationRequestUioSourcePolicyEnum: {
99
+ readonly ProvidedOnly: "provided_only";
100
+ readonly ProvidedAndGeneral: "provided_and_general";
101
+ };
102
+ export type AgentPromptInitGenerationRequestUioSourcePolicyEnum = typeof AgentPromptInitGenerationRequestUioSourcePolicyEnum[keyof typeof AgentPromptInitGenerationRequestUioSourcePolicyEnum];
103
+ /**
104
+ * Check if a given object implements the AgentPromptInitGenerationRequestUio interface.
105
+ */
106
+ export declare function instanceOfAgentPromptInitGenerationRequestUio(value: object): value is AgentPromptInitGenerationRequestUio;
107
+ export declare function AgentPromptInitGenerationRequestUioFromJSON(json: any): AgentPromptInitGenerationRequestUio;
108
+ export declare function AgentPromptInitGenerationRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentPromptInitGenerationRequestUio;
109
+ export declare function AgentPromptInitGenerationRequestUioToJSON(json: any): AgentPromptInitGenerationRequestUio;
110
+ export declare function AgentPromptInitGenerationRequestUioToJSONTyped(value?: AgentPromptInitGenerationRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,92 @@
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.AgentPromptInitGenerationRequestUioSourcePolicyEnum = exports.AgentPromptInitGenerationRequestUioAnswerStyleEnum = exports.AgentPromptInitGenerationRequestUioAudiencesEnum = void 0;
17
+ exports.instanceOfAgentPromptInitGenerationRequestUio = instanceOfAgentPromptInitGenerationRequestUio;
18
+ exports.AgentPromptInitGenerationRequestUioFromJSON = AgentPromptInitGenerationRequestUioFromJSON;
19
+ exports.AgentPromptInitGenerationRequestUioFromJSONTyped = AgentPromptInitGenerationRequestUioFromJSONTyped;
20
+ exports.AgentPromptInitGenerationRequestUioToJSON = AgentPromptInitGenerationRequestUioToJSON;
21
+ exports.AgentPromptInitGenerationRequestUioToJSONTyped = AgentPromptInitGenerationRequestUioToJSONTyped;
22
+ const AgentPromptInitGenerationRequestNotesUio_1 = require("./AgentPromptInitGenerationRequestNotesUio");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.AgentPromptInitGenerationRequestUioAudiencesEnum = {
27
+ GeneralPublic: 'general_public',
28
+ Customers: 'customers',
29
+ Employees: 'employees',
30
+ Experts: 'experts'
31
+ };
32
+ /**
33
+ * @export
34
+ */
35
+ exports.AgentPromptInitGenerationRequestUioAnswerStyleEnum = {
36
+ Concise: 'concise',
37
+ Detailed: 'detailed',
38
+ StepByStep: 'step_by_step'
39
+ };
40
+ /**
41
+ * @export
42
+ */
43
+ exports.AgentPromptInitGenerationRequestUioSourcePolicyEnum = {
44
+ ProvidedOnly: 'provided_only',
45
+ ProvidedAndGeneral: 'provided_and_general'
46
+ };
47
+ /**
48
+ * Check if a given object implements the AgentPromptInitGenerationRequestUio interface.
49
+ */
50
+ function instanceOfAgentPromptInitGenerationRequestUio(value) {
51
+ if (!('mission' in value) || value['mission'] === undefined)
52
+ return false;
53
+ return true;
54
+ }
55
+ function AgentPromptInitGenerationRequestUioFromJSON(json) {
56
+ return AgentPromptInitGenerationRequestUioFromJSONTyped(json, false);
57
+ }
58
+ function AgentPromptInitGenerationRequestUioFromJSONTyped(json, ignoreDiscriminator) {
59
+ if (json == null) {
60
+ return json;
61
+ }
62
+ return {
63
+ 'mission': json['mission'],
64
+ 'audiences': json['audiences'] == null ? undefined : json['audiences'],
65
+ 'answerStyle': json['answerStyle'] == null ? undefined : json['answerStyle'],
66
+ 'sourcePolicy': json['sourcePolicy'] == null ? undefined : json['sourcePolicy'],
67
+ 'notes': json['notes'] == null ? undefined : (0, AgentPromptInitGenerationRequestNotesUio_1.AgentPromptInitGenerationRequestNotesUioFromJSON)(json['notes']),
68
+ 'constraints': json['constraints'] == null ? undefined : json['constraints'],
69
+ 'lang': json['lang'] == null ? undefined : json['lang'],
70
+ 'providerId': json['providerId'] == null ? undefined : json['providerId'],
71
+ 'model': json['model'] == null ? undefined : json['model'],
72
+ };
73
+ }
74
+ function AgentPromptInitGenerationRequestUioToJSON(json) {
75
+ return AgentPromptInitGenerationRequestUioToJSONTyped(json, false);
76
+ }
77
+ function AgentPromptInitGenerationRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
78
+ if (value == null) {
79
+ return value;
80
+ }
81
+ return {
82
+ 'mission': value['mission'],
83
+ 'audiences': value['audiences'],
84
+ 'answerStyle': value['answerStyle'],
85
+ 'sourcePolicy': value['sourcePolicy'],
86
+ 'notes': (0, AgentPromptInitGenerationRequestNotesUio_1.AgentPromptInitGenerationRequestNotesUioToJSON)(value['notes']),
87
+ 'constraints': value['constraints'],
88
+ 'lang': value['lang'],
89
+ 'providerId': value['providerId'],
90
+ 'model': value['model'],
91
+ };
92
+ }
@@ -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 AgentPromptInitGenerationResponseUio
16
+ */
17
+ export interface AgentPromptInitGenerationResponseUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AgentPromptInitGenerationResponseUio
22
+ */
23
+ promptInit: string;
24
+ /**
25
+ * Adjustments applied to the model's output, for information only.
26
+ * @type {Array<string>}
27
+ * @memberof AgentPromptInitGenerationResponseUio
28
+ */
29
+ warnings?: Array<string>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the AgentPromptInitGenerationResponseUio interface.
33
+ */
34
+ export declare function instanceOfAgentPromptInitGenerationResponseUio(value: object): value is AgentPromptInitGenerationResponseUio;
35
+ export declare function AgentPromptInitGenerationResponseUioFromJSON(json: any): AgentPromptInitGenerationResponseUio;
36
+ export declare function AgentPromptInitGenerationResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentPromptInitGenerationResponseUio;
37
+ export declare function AgentPromptInitGenerationResponseUioToJSON(json: any): AgentPromptInitGenerationResponseUio;
38
+ export declare function AgentPromptInitGenerationResponseUioToJSONTyped(value?: AgentPromptInitGenerationResponseUio | 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.instanceOfAgentPromptInitGenerationResponseUio = instanceOfAgentPromptInitGenerationResponseUio;
17
+ exports.AgentPromptInitGenerationResponseUioFromJSON = AgentPromptInitGenerationResponseUioFromJSON;
18
+ exports.AgentPromptInitGenerationResponseUioFromJSONTyped = AgentPromptInitGenerationResponseUioFromJSONTyped;
19
+ exports.AgentPromptInitGenerationResponseUioToJSON = AgentPromptInitGenerationResponseUioToJSON;
20
+ exports.AgentPromptInitGenerationResponseUioToJSONTyped = AgentPromptInitGenerationResponseUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AgentPromptInitGenerationResponseUio interface.
23
+ */
24
+ function instanceOfAgentPromptInitGenerationResponseUio(value) {
25
+ if (!('promptInit' in value) || value['promptInit'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function AgentPromptInitGenerationResponseUioFromJSON(json) {
30
+ return AgentPromptInitGenerationResponseUioFromJSONTyped(json, false);
31
+ }
32
+ function AgentPromptInitGenerationResponseUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'promptInit': json['promptInit'],
38
+ 'warnings': json['warnings'] == null ? undefined : json['warnings'],
39
+ };
40
+ }
41
+ function AgentPromptInitGenerationResponseUioToJSON(json) {
42
+ return AgentPromptInitGenerationResponseUioToJSONTyped(json, false);
43
+ }
44
+ function AgentPromptInitGenerationResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'promptInit': value['promptInit'],
50
+ 'warnings': value['warnings'],
51
+ };
52
+ }
@@ -133,6 +133,13 @@ export interface FileCreationResponseUio {
133
133
  * @memberof FileCreationResponseUio
134
134
  */
135
135
  isActive?: boolean;
136
+ /**
137
+ * Websites only. URLs never scraped, each one along with everything below it, applied on every resync.
138
+ *
139
+ * @type {Array<string>}
140
+ * @memberof FileCreationResponseUio
141
+ */
142
+ scrapingExclusions?: Array<string>;
136
143
  /**
137
144
  *
138
145
  * @type {UploadMethodUio}
@@ -72,6 +72,7 @@ function FileCreationResponseUioFromJSONTyped(json, ignoreDiscriminator) {
72
72
  'status': json['status'] == null ? undefined : (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
73
73
  'error': json['error'] == null ? undefined : json['error'],
74
74
  'isActive': json['isActive'] == null ? undefined : json['isActive'],
75
+ 'scrapingExclusions': json['scrapingExclusions'] == null ? undefined : json['scrapingExclusions'],
75
76
  'method': (0, UploadMethodUio_1.UploadMethodUioFromJSON)(json['method']),
76
77
  'headers': json['headers'],
77
78
  };
@@ -103,6 +104,7 @@ function FileCreationResponseUioToJSONTyped(value, ignoreDiscriminator = false)
103
104
  'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
104
105
  'error': value['error'],
105
106
  'isActive': value['isActive'],
107
+ 'scrapingExclusions': value['scrapingExclusions'],
106
108
  'method': (0, UploadMethodUio_1.UploadMethodUioToJSON)(value['method']),
107
109
  'headers': value['headers'],
108
110
  };
@@ -132,6 +132,13 @@ export interface FileUio {
132
132
  * @memberof FileUio
133
133
  */
134
134
  isActive?: boolean;
135
+ /**
136
+ * Websites only. URLs never scraped, each one along with everything below it, applied on every resync.
137
+ *
138
+ * @type {Array<string>}
139
+ * @memberof FileUio
140
+ */
141
+ scrapingExclusions?: Array<string>;
135
142
  }
136
143
  /**
137
144
  * @export
@@ -63,6 +63,7 @@ function FileUioFromJSONTyped(json, ignoreDiscriminator) {
63
63
  'status': json['status'] == null ? undefined : (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
64
64
  'error': json['error'] == null ? undefined : json['error'],
65
65
  'isActive': json['isActive'] == null ? undefined : json['isActive'],
66
+ 'scrapingExclusions': json['scrapingExclusions'] == null ? undefined : json['scrapingExclusions'],
66
67
  };
67
68
  }
68
69
  function FileUioToJSON(json) {
@@ -92,5 +93,6 @@ function FileUioToJSONTyped(value, ignoreDiscriminator = false) {
92
93
  'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
93
94
  'error': value['error'],
94
95
  'isActive': value['isActive'],
96
+ 'scrapingExclusions': value['scrapingExclusions'],
95
97
  };
96
98
  }
@@ -132,6 +132,13 @@ export interface FileWithDownloadUrlUio {
132
132
  * @memberof FileWithDownloadUrlUio
133
133
  */
134
134
  isActive?: boolean;
135
+ /**
136
+ * Websites only. URLs never scraped, each one along with everything below it, applied on every resync.
137
+ *
138
+ * @type {Array<string>}
139
+ * @memberof FileWithDownloadUrlUio
140
+ */
141
+ scrapingExclusions?: Array<string>;
135
142
  /**
136
143
  * Temporary URL to download the file
137
144
  * @type {string}
@@ -65,6 +65,7 @@ function FileWithDownloadUrlUioFromJSONTyped(json, ignoreDiscriminator) {
65
65
  'status': json['status'] == null ? undefined : (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
66
66
  'error': json['error'] == null ? undefined : json['error'],
67
67
  'isActive': json['isActive'] == null ? undefined : json['isActive'],
68
+ 'scrapingExclusions': json['scrapingExclusions'] == null ? undefined : json['scrapingExclusions'],
68
69
  'downloadURL': json['downloadURL'],
69
70
  };
70
71
  }
@@ -95,6 +96,7 @@ function FileWithDownloadUrlUioToJSONTyped(value, ignoreDiscriminator = false) {
95
96
  'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
96
97
  'error': value['error'],
97
98
  'isActive': value['isActive'],
99
+ 'scrapingExclusions': value['scrapingExclusions'],
98
100
  'downloadURL': value['downloadURL'],
99
101
  };
100
102
  }
@@ -132,6 +132,13 @@ export interface KnowledgeFileUio {
132
132
  * @memberof KnowledgeFileUio
133
133
  */
134
134
  isActive?: boolean;
135
+ /**
136
+ * Websites only. URLs never scraped, each one along with everything below it, applied on every resync.
137
+ *
138
+ * @type {Array<string>}
139
+ * @memberof KnowledgeFileUio
140
+ */
141
+ scrapingExclusions?: Array<string>;
135
142
  }
136
143
  /**
137
144
  * @export
@@ -63,6 +63,7 @@ function KnowledgeFileUioFromJSONTyped(json, ignoreDiscriminator) {
63
63
  'status': json['status'] == null ? undefined : (0, FileStatusUio_1.FileStatusUioFromJSON)(json['status']),
64
64
  'error': json['error'] == null ? undefined : json['error'],
65
65
  'isActive': json['isActive'] == null ? undefined : json['isActive'],
66
+ 'scrapingExclusions': json['scrapingExclusions'] == null ? undefined : json['scrapingExclusions'],
66
67
  };
67
68
  }
68
69
  function KnowledgeFileUioToJSON(json) {
@@ -92,5 +93,6 @@ function KnowledgeFileUioToJSONTyped(value, ignoreDiscriminator = false) {
92
93
  'status': (0, FileStatusUio_1.FileStatusUioToJSON)(value['status']),
93
94
  'error': value['error'],
94
95
  'isActive': value['isActive'],
96
+ 'scrapingExclusions': value['scrapingExclusions'],
95
97
  };
96
98
  }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface KnowledgeSiteExclusionsUio
16
+ */
17
+ export interface KnowledgeSiteExclusionsUio {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof KnowledgeSiteExclusionsUio
22
+ */
23
+ scrapingExclusions: Array<string>;
24
+ }
25
+ /**
26
+ * Check if a given object implements the KnowledgeSiteExclusionsUio interface.
27
+ */
28
+ export declare function instanceOfKnowledgeSiteExclusionsUio(value: object): value is KnowledgeSiteExclusionsUio;
29
+ export declare function KnowledgeSiteExclusionsUioFromJSON(json: any): KnowledgeSiteExclusionsUio;
30
+ export declare function KnowledgeSiteExclusionsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeSiteExclusionsUio;
31
+ export declare function KnowledgeSiteExclusionsUioToJSON(json: any): KnowledgeSiteExclusionsUio;
32
+ export declare function KnowledgeSiteExclusionsUioToJSONTyped(value?: KnowledgeSiteExclusionsUio | 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.instanceOfKnowledgeSiteExclusionsUio = instanceOfKnowledgeSiteExclusionsUio;
17
+ exports.KnowledgeSiteExclusionsUioFromJSON = KnowledgeSiteExclusionsUioFromJSON;
18
+ exports.KnowledgeSiteExclusionsUioFromJSONTyped = KnowledgeSiteExclusionsUioFromJSONTyped;
19
+ exports.KnowledgeSiteExclusionsUioToJSON = KnowledgeSiteExclusionsUioToJSON;
20
+ exports.KnowledgeSiteExclusionsUioToJSONTyped = KnowledgeSiteExclusionsUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the KnowledgeSiteExclusionsUio interface.
23
+ */
24
+ function instanceOfKnowledgeSiteExclusionsUio(value) {
25
+ if (!('scrapingExclusions' in value) || value['scrapingExclusions'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function KnowledgeSiteExclusionsUioFromJSON(json) {
30
+ return KnowledgeSiteExclusionsUioFromJSONTyped(json, false);
31
+ }
32
+ function KnowledgeSiteExclusionsUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'scrapingExclusions': json['scrapingExclusions'],
38
+ };
39
+ }
40
+ function KnowledgeSiteExclusionsUioToJSON(json) {
41
+ return KnowledgeSiteExclusionsUioToJSONTyped(json, false);
42
+ }
43
+ function KnowledgeSiteExclusionsUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'scrapingExclusions': value['scrapingExclusions'],
49
+ };
50
+ }
@@ -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 KnowledgeSitePagesRemovalUio
16
+ */
17
+ export interface KnowledgeSitePagesRemovalUio {
18
+ /**
19
+ * URLs of the removed pages
20
+ * @type {Array<string>}
21
+ * @memberof KnowledgeSitePagesRemovalUio
22
+ */
23
+ removedPages: Array<string>;
24
+ /**
25
+ * URLs of the pages that could not be removed
26
+ * @type {Array<string>}
27
+ * @memberof KnowledgeSitePagesRemovalUio
28
+ */
29
+ failedPages: Array<string>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the KnowledgeSitePagesRemovalUio interface.
33
+ */
34
+ export declare function instanceOfKnowledgeSitePagesRemovalUio(value: object): value is KnowledgeSitePagesRemovalUio;
35
+ export declare function KnowledgeSitePagesRemovalUioFromJSON(json: any): KnowledgeSitePagesRemovalUio;
36
+ export declare function KnowledgeSitePagesRemovalUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeSitePagesRemovalUio;
37
+ export declare function KnowledgeSitePagesRemovalUioToJSON(json: any): KnowledgeSitePagesRemovalUio;
38
+ export declare function KnowledgeSitePagesRemovalUioToJSONTyped(value?: KnowledgeSitePagesRemovalUio | 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.instanceOfKnowledgeSitePagesRemovalUio = instanceOfKnowledgeSitePagesRemovalUio;
17
+ exports.KnowledgeSitePagesRemovalUioFromJSON = KnowledgeSitePagesRemovalUioFromJSON;
18
+ exports.KnowledgeSitePagesRemovalUioFromJSONTyped = KnowledgeSitePagesRemovalUioFromJSONTyped;
19
+ exports.KnowledgeSitePagesRemovalUioToJSON = KnowledgeSitePagesRemovalUioToJSON;
20
+ exports.KnowledgeSitePagesRemovalUioToJSONTyped = KnowledgeSitePagesRemovalUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the KnowledgeSitePagesRemovalUio interface.
23
+ */
24
+ function instanceOfKnowledgeSitePagesRemovalUio(value) {
25
+ if (!('removedPages' in value) || value['removedPages'] === undefined)
26
+ return false;
27
+ if (!('failedPages' in value) || value['failedPages'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function KnowledgeSitePagesRemovalUioFromJSON(json) {
32
+ return KnowledgeSitePagesRemovalUioFromJSONTyped(json, false);
33
+ }
34
+ function KnowledgeSitePagesRemovalUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'removedPages': json['removedPages'],
40
+ 'failedPages': json['failedPages'],
41
+ };
42
+ }
43
+ function KnowledgeSitePagesRemovalUioToJSON(json) {
44
+ return KnowledgeSitePagesRemovalUioToJSONTyped(json, false);
45
+ }
46
+ function KnowledgeSitePagesRemovalUioToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'removedPages': value['removedPages'],
52
+ 'failedPages': value['failedPages'],
53
+ };
54
+ }
@@ -52,6 +52,7 @@ export interface StartKnowledgeBaseScrappingRequestUio {
52
52
  */
53
53
  spiderName?: string | null;
54
54
  /**
55
+ * URLs to exclude, each one along with everything below it. Saved on the site when the crawl creates it. Ignored with `resync`, which applies the exclusions saved on the site.
55
56
  *
56
57
  * @type {Array<string>}
57
58
  * @memberof StartKnowledgeBaseScrappingRequestUio
@@ -5,6 +5,8 @@ export * from './AccessRoleUpdateRequestUio';
5
5
  export * from './AddCustomFiller201ResponseFillerUio';
6
6
  export * from './AddCustomFiller201ResponseUio';
7
7
  export * from './AddCustomFillerRequestUio';
8
+ export * from './AddKnowledgeSiteExclusionRequestUio';
9
+ export * from './AddKnowledgeSiteExclusionResponseUio';
8
10
  export * from './AddModuleRequestUio';
9
11
  export * from './AdditionalUio';
10
12
  export * from './AdvancedFlowEditorEdgeUio';
@@ -54,6 +56,9 @@ export * from './AgentModuleTypeUio';
54
56
  export * from './AgentModuleUio';
55
57
  export * from './AgentPatchEngineUio';
56
58
  export * from './AgentPatchUio';
59
+ export * from './AgentPromptInitGenerationRequestNotesUio';
60
+ export * from './AgentPromptInitGenerationRequestUio';
61
+ export * from './AgentPromptInitGenerationResponseUio';
57
62
  export * from './AgentRateLimitSettingsUio';
58
63
  export * from './AgentRateLimitSettingsUpdateRequestUio';
59
64
  export * from './AgentRefUio';
@@ -298,7 +303,9 @@ export * from './KnowledgeFileParsingCallbackRequestUio';
298
303
  export * from './KnowledgeFileSummaryUio';
299
304
  export * from './KnowledgeFileUio';
300
305
  export * from './KnowledgeFilesByIdsRequestUio';
306
+ export * from './KnowledgeSiteExclusionsUio';
301
307
  export * from './KnowledgeSitePageUio';
308
+ export * from './KnowledgeSitePagesRemovalUio';
302
309
  export * from './LibraryAgentBundleSummaryUio';
303
310
  export * from './LibraryAgentDiffResponseUio';
304
311
  export * from './LibraryAgentDiffVersionRefUio';
@@ -23,6 +23,8 @@ __exportStar(require("./AccessRoleUpdateRequestUio"), exports);
23
23
  __exportStar(require("./AddCustomFiller201ResponseFillerUio"), exports);
24
24
  __exportStar(require("./AddCustomFiller201ResponseUio"), exports);
25
25
  __exportStar(require("./AddCustomFillerRequestUio"), exports);
26
+ __exportStar(require("./AddKnowledgeSiteExclusionRequestUio"), exports);
27
+ __exportStar(require("./AddKnowledgeSiteExclusionResponseUio"), exports);
26
28
  __exportStar(require("./AddModuleRequestUio"), exports);
27
29
  __exportStar(require("./AdditionalUio"), exports);
28
30
  __exportStar(require("./AdvancedFlowEditorEdgeUio"), exports);
@@ -72,6 +74,9 @@ __exportStar(require("./AgentModuleTypeUio"), exports);
72
74
  __exportStar(require("./AgentModuleUio"), exports);
73
75
  __exportStar(require("./AgentPatchEngineUio"), exports);
74
76
  __exportStar(require("./AgentPatchUio"), exports);
77
+ __exportStar(require("./AgentPromptInitGenerationRequestNotesUio"), exports);
78
+ __exportStar(require("./AgentPromptInitGenerationRequestUio"), exports);
79
+ __exportStar(require("./AgentPromptInitGenerationResponseUio"), exports);
75
80
  __exportStar(require("./AgentRateLimitSettingsUio"), exports);
76
81
  __exportStar(require("./AgentRateLimitSettingsUpdateRequestUio"), exports);
77
82
  __exportStar(require("./AgentRefUio"), exports);
@@ -316,7 +321,9 @@ __exportStar(require("./KnowledgeFileParsingCallbackRequestUio"), exports);
316
321
  __exportStar(require("./KnowledgeFileSummaryUio"), exports);
317
322
  __exportStar(require("./KnowledgeFileUio"), exports);
318
323
  __exportStar(require("./KnowledgeFilesByIdsRequestUio"), exports);
324
+ __exportStar(require("./KnowledgeSiteExclusionsUio"), exports);
319
325
  __exportStar(require("./KnowledgeSitePageUio"), exports);
326
+ __exportStar(require("./KnowledgeSitePagesRemovalUio"), exports);
320
327
  __exportStar(require("./LibraryAgentBundleSummaryUio"), exports);
321
328
  __exportStar(require("./LibraryAgentDiffResponseUio"), exports);
322
329
  __exportStar(require("./LibraryAgentDiffVersionRefUio"), exports);