@knowledge-stack/ksapi 1.42.5 → 1.44.0

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 (53) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +5 -2
  3. package/dist/esm/models/ChunkMetadataInput.d.ts +2 -2
  4. package/dist/esm/models/ChunkMetadataOutput.d.ts +2 -2
  5. package/dist/esm/models/ChunkSearchRequest.d.ts +1 -1
  6. package/dist/esm/models/ChunkType.d.ts +1 -0
  7. package/dist/esm/models/ChunkType.js +1 -0
  8. package/dist/esm/models/SupportedLanguage.d.ts +25 -0
  9. package/dist/esm/models/SupportedLanguage.js +43 -0
  10. package/dist/esm/models/TenantResponse.d.ts +7 -0
  11. package/dist/esm/models/TenantResponse.js +5 -0
  12. package/dist/esm/models/TenantSettings.d.ts +48 -0
  13. package/dist/esm/models/TenantSettings.js +43 -0
  14. package/dist/esm/models/TenantSettingsUpdate.d.ts +48 -0
  15. package/dist/esm/models/TenantSettingsUpdate.js +43 -0
  16. package/dist/esm/models/UpdateTenantRequest.d.ts +7 -0
  17. package/dist/esm/models/UpdateTenantRequest.js +3 -0
  18. package/dist/esm/models/index.d.ts +3 -0
  19. package/dist/esm/models/index.js +3 -0
  20. package/dist/models/ChunkMetadataInput.d.ts +2 -2
  21. package/dist/models/ChunkMetadataOutput.d.ts +2 -2
  22. package/dist/models/ChunkSearchRequest.d.ts +1 -1
  23. package/dist/models/ChunkType.d.ts +1 -0
  24. package/dist/models/ChunkType.js +1 -0
  25. package/dist/models/SupportedLanguage.d.ts +25 -0
  26. package/dist/models/SupportedLanguage.js +51 -0
  27. package/dist/models/TenantResponse.d.ts +7 -0
  28. package/dist/models/TenantResponse.js +5 -0
  29. package/dist/models/TenantSettings.d.ts +48 -0
  30. package/dist/models/TenantSettings.js +51 -0
  31. package/dist/models/TenantSettingsUpdate.d.ts +48 -0
  32. package/dist/models/TenantSettingsUpdate.js +51 -0
  33. package/dist/models/UpdateTenantRequest.d.ts +7 -0
  34. package/dist/models/UpdateTenantRequest.js +3 -0
  35. package/dist/models/index.d.ts +3 -0
  36. package/dist/models/index.js +3 -0
  37. package/docs/DocumentsApi.md +2 -2
  38. package/docs/SupportedLanguage.md +32 -0
  39. package/docs/TenantResponse.md +2 -0
  40. package/docs/TenantSettings.md +34 -0
  41. package/docs/TenantSettingsUpdate.md +35 -0
  42. package/docs/UpdateTenantRequest.md +2 -0
  43. package/package.json +1 -1
  44. package/src/models/ChunkMetadataInput.ts +2 -2
  45. package/src/models/ChunkMetadataOutput.ts +2 -2
  46. package/src/models/ChunkSearchRequest.ts +1 -1
  47. package/src/models/ChunkType.ts +1 -0
  48. package/src/models/SupportedLanguage.ts +53 -0
  49. package/src/models/TenantResponse.ts +17 -0
  50. package/src/models/TenantSettings.ts +92 -0
  51. package/src/models/TenantSettingsUpdate.ts +92 -0
  52. package/src/models/UpdateTenantRequest.ts +15 -0
  53. package/src/models/index.ts +3 -0
@@ -105,9 +105,12 @@ docs/StepKind.md
105
105
  docs/StepOutput.md
106
106
  docs/SubtreeChunkGroup.md
107
107
  docs/SubtreeChunksResponse.md
108
+ docs/SupportedLanguage.md
108
109
  docs/TagResponse.md
109
110
  docs/TagsApi.md
110
111
  docs/TenantResponse.md
112
+ docs/TenantSettings.md
113
+ docs/TenantSettingsUpdate.md
111
114
  docs/TenantUserEditRequest.md
112
115
  docs/TenantUserResponse.md
113
116
  docs/TenantUserRole.md
@@ -254,8 +257,11 @@ src/models/StepKind.ts
254
257
  src/models/StepOutput.ts
255
258
  src/models/SubtreeChunkGroup.ts
256
259
  src/models/SubtreeChunksResponse.ts
260
+ src/models/SupportedLanguage.ts
257
261
  src/models/TagResponse.ts
258
262
  src/models/TenantResponse.ts
263
+ src/models/TenantSettings.ts
264
+ src/models/TenantSettingsUpdate.ts
259
265
  src/models/TenantUserEditRequest.ts
260
266
  src/models/TenantUserResponse.ts
261
267
  src/models/TenantUserRole.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @knowledge-stack/ksapi@1.42.5
1
+ # @knowledge-stack/ksapi@1.44.0
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -242,8 +242,11 @@ All URIs are relative to *http://localhost:8000*
242
242
  - [StepOutput](docs/StepOutput.md)
243
243
  - [SubtreeChunkGroup](docs/SubtreeChunkGroup.md)
244
244
  - [SubtreeChunksResponse](docs/SubtreeChunksResponse.md)
245
+ - [SupportedLanguage](docs/SupportedLanguage.md)
245
246
  - [TagResponse](docs/TagResponse.md)
246
247
  - [TenantResponse](docs/TenantResponse.md)
248
+ - [TenantSettings](docs/TenantSettings.md)
249
+ - [TenantSettingsUpdate](docs/TenantSettingsUpdate.md)
247
250
  - [TenantUserEditRequest](docs/TenantUserEditRequest.md)
248
251
  - [TenantUserResponse](docs/TenantUserResponse.md)
249
252
  - [TenantUserRole](docs/TenantUserRole.md)
@@ -284,7 +287,7 @@ and is automatically generated by the
284
287
  [OpenAPI Generator](https://openapi-generator.tech) project:
285
288
 
286
289
  - API version: `0.1.0`
287
- - Package version: `1.42.5`
290
+ - Package version: `1.44.0`
288
291
  - Generator version: `7.20.0`
289
292
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
290
293
 
@@ -24,13 +24,13 @@ export interface ChunkMetadataInput {
24
24
  */
25
25
  polygons?: Array<PolygonReference>;
26
26
  /**
27
- * Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE chunks, multi-element for multi-page single-chunk ingestion.
27
+ * Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE/HTML chunks, multi-element for multi-page single-chunk ingestion.
28
28
  * @type {Array<string>}
29
29
  * @memberof ChunkMetadataInput
30
30
  */
31
31
  s3Urls?: Array<string>;
32
32
  /**
33
- * LLM-generated summary of the chunk content. Used for TABLE chunks to enrich embedding text.
33
+ * LLM-generated summary of the chunk content. Used for TABLE and HTML chunks to enrich embedding text.
34
34
  * @type {string}
35
35
  * @memberof ChunkMetadataInput
36
36
  */
@@ -24,13 +24,13 @@ export interface ChunkMetadataOutput {
24
24
  */
25
25
  polygons?: Array<PolygonReference>;
26
26
  /**
27
- * Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE chunks, multi-element for multi-page single-chunk ingestion.
27
+ * Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE/HTML chunks, multi-element for multi-page single-chunk ingestion.
28
28
  * @type {Array<string>}
29
29
  * @memberof ChunkMetadataOutput
30
30
  */
31
31
  s3Urls?: Array<string>;
32
32
  /**
33
- * LLM-generated summary of the chunk content. Used for TABLE chunks to enrich embedding text.
33
+ * LLM-generated summary of the chunk content. Used for TABLE and HTML chunks to enrich embedding text.
34
34
  * @type {string}
35
35
  * @memberof ChunkMetadataOutput
36
36
  */
@@ -42,7 +42,7 @@ export interface ChunkSearchRequest {
42
42
  */
43
43
  tagIds?: Array<string> | null;
44
44
  /**
45
- * Filter by chunk types (TEXT, TABLE, IMAGE, UNKNOWN). Only chunks matching one of the listed types are returned.
45
+ * Filter by chunk types (TEXT, TABLE, IMAGE, HTML, UNKNOWN). Only chunks matching one of the listed types are returned.
46
46
  * @type {Array<ChunkType>}
47
47
  * @memberof ChunkSearchRequest
48
48
  */
@@ -17,6 +17,7 @@ export declare const ChunkType: {
17
17
  readonly Text: "TEXT";
18
18
  readonly Table: "TABLE";
19
19
  readonly Image: "IMAGE";
20
+ readonly Html: "HTML";
20
21
  readonly Unknown: "UNKNOWN";
21
22
  };
22
23
  export type ChunkType = typeof ChunkType[keyof typeof ChunkType];
@@ -19,6 +19,7 @@ export const ChunkType = {
19
19
  Text: 'TEXT',
20
20
  Table: 'TABLE',
21
21
  Image: 'IMAGE',
22
+ Html: 'HTML',
22
23
  Unknown: 'UNKNOWN'
23
24
  };
24
25
  export function instanceOfChunkType(value) {
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Knowledge Stack API
3
+ * Knowledge Stack backend API for authentication and knowledge management
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
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 SupportedLanguage: {
17
+ readonly En: "en";
18
+ readonly Zh: "zh";
19
+ };
20
+ export type SupportedLanguage = typeof SupportedLanguage[keyof typeof SupportedLanguage];
21
+ export declare function instanceOfSupportedLanguage(value: any): boolean;
22
+ export declare function SupportedLanguageFromJSON(json: any): SupportedLanguage;
23
+ export declare function SupportedLanguageFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupportedLanguage;
24
+ export declare function SupportedLanguageToJSON(value?: SupportedLanguage | null): any;
25
+ export declare function SupportedLanguageToJSONTyped(value: any, ignoreDiscriminator: boolean): SupportedLanguage;
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Knowledge Stack API
5
+ * Knowledge Stack backend API for authentication and knowledge management
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ *
16
+ * @export
17
+ */
18
+ export const SupportedLanguage = {
19
+ En: 'en',
20
+ Zh: 'zh'
21
+ };
22
+ export function instanceOfSupportedLanguage(value) {
23
+ for (const key in SupportedLanguage) {
24
+ if (Object.prototype.hasOwnProperty.call(SupportedLanguage, key)) {
25
+ if (SupportedLanguage[key] === value) {
26
+ return true;
27
+ }
28
+ }
29
+ }
30
+ return false;
31
+ }
32
+ export function SupportedLanguageFromJSON(json) {
33
+ return SupportedLanguageFromJSONTyped(json, false);
34
+ }
35
+ export function SupportedLanguageFromJSONTyped(json, ignoreDiscriminator) {
36
+ return json;
37
+ }
38
+ export function SupportedLanguageToJSON(value) {
39
+ return value;
40
+ }
41
+ export function SupportedLanguageToJSONTyped(value, ignoreDiscriminator) {
42
+ return value;
43
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { TenantSettings } from './TenantSettings';
12
13
  /**
13
14
  * Tenant response model.
14
15
  * @export
@@ -35,6 +36,12 @@ export interface TenantResponse {
35
36
  idpConfig?: {
36
37
  [key: string]: string;
37
38
  } | null;
39
+ /**
40
+ *
41
+ * @type {TenantSettings}
42
+ * @memberof TenantResponse
43
+ */
44
+ settings: TenantSettings;
38
45
  }
39
46
  /**
40
47
  * Check if a given object implements the TenantResponse interface.
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { TenantSettingsFromJSON, TenantSettingsToJSON, } from './TenantSettings';
14
15
  /**
15
16
  * Check if a given object implements the TenantResponse interface.
16
17
  */
@@ -19,6 +20,8 @@ export function instanceOfTenantResponse(value) {
19
20
  return false;
20
21
  if (!('name' in value) || value['name'] === undefined)
21
22
  return false;
23
+ if (!('settings' in value) || value['settings'] === undefined)
24
+ return false;
22
25
  return true;
23
26
  }
24
27
  export function TenantResponseFromJSON(json) {
@@ -32,6 +35,7 @@ export function TenantResponseFromJSONTyped(json, ignoreDiscriminator) {
32
35
  'id': json['id'],
33
36
  'name': json['name'],
34
37
  'idpConfig': json['idp_config'] == null ? undefined : json['idp_config'],
38
+ 'settings': TenantSettingsFromJSON(json['settings']),
35
39
  };
36
40
  }
37
41
  export function TenantResponseToJSON(json) {
@@ -45,6 +49,7 @@ export function TenantResponseToJSONTyped(value, ignoreDiscriminator = false) {
45
49
  'id': value['id'],
46
50
  'name': value['name'],
47
51
  'idp_config': value['idpConfig'],
52
+ 'settings': TenantSettingsToJSON(value['settings']),
48
53
  };
49
54
  }
50
55
  export const TenantResponsePropertyValidationAttributesMap = {};
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Knowledge Stack API
3
+ * Knowledge Stack backend API for authentication and knowledge management
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
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 { SupportedLanguage } from './SupportedLanguage';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface TenantSettings
17
+ */
18
+ export interface TenantSettings {
19
+ /**
20
+ *
21
+ * @type {SupportedLanguage}
22
+ * @memberof TenantSettings
23
+ */
24
+ language?: SupportedLanguage;
25
+ }
26
+ /**
27
+ * Check if a given object implements the TenantSettings interface.
28
+ */
29
+ export declare function instanceOfTenantSettings(value: object): value is TenantSettings;
30
+ export declare function TenantSettingsFromJSON(json: any): TenantSettings;
31
+ export declare function TenantSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenantSettings;
32
+ export declare function TenantSettingsToJSON(json: any): TenantSettings;
33
+ export declare function TenantSettingsToJSONTyped(value?: TenantSettings | null, ignoreDiscriminator?: boolean): any;
34
+ export declare const TenantSettingsPropertyValidationAttributesMap: {
35
+ [property: string]: {
36
+ maxLength?: number;
37
+ minLength?: number;
38
+ pattern?: string;
39
+ maximum?: number;
40
+ exclusiveMaximum?: boolean;
41
+ minimum?: number;
42
+ exclusiveMinimum?: boolean;
43
+ multipleOf?: number;
44
+ maxItems?: number;
45
+ minItems?: number;
46
+ uniqueItems?: boolean;
47
+ };
48
+ };
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Knowledge Stack API
5
+ * Knowledge Stack backend API for authentication and knowledge management
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { SupportedLanguageFromJSON, SupportedLanguageToJSON, } from './SupportedLanguage';
15
+ /**
16
+ * Check if a given object implements the TenantSettings interface.
17
+ */
18
+ export function instanceOfTenantSettings(value) {
19
+ return true;
20
+ }
21
+ export function TenantSettingsFromJSON(json) {
22
+ return TenantSettingsFromJSONTyped(json, false);
23
+ }
24
+ export function TenantSettingsFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'language': json['language'] == null ? undefined : SupportedLanguageFromJSON(json['language']),
30
+ };
31
+ }
32
+ export function TenantSettingsToJSON(json) {
33
+ return TenantSettingsToJSONTyped(json, false);
34
+ }
35
+ export function TenantSettingsToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'language': SupportedLanguageToJSON(value['language']),
41
+ };
42
+ }
43
+ export const TenantSettingsPropertyValidationAttributesMap = {};
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Knowledge Stack API
3
+ * Knowledge Stack backend API for authentication and knowledge management
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
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 { SupportedLanguage } from './SupportedLanguage';
13
+ /**
14
+ * Partial tenant settings update.
15
+ * @export
16
+ * @interface TenantSettingsUpdate
17
+ */
18
+ export interface TenantSettingsUpdate {
19
+ /**
20
+ *
21
+ * @type {SupportedLanguage}
22
+ * @memberof TenantSettingsUpdate
23
+ */
24
+ language?: SupportedLanguage;
25
+ }
26
+ /**
27
+ * Check if a given object implements the TenantSettingsUpdate interface.
28
+ */
29
+ export declare function instanceOfTenantSettingsUpdate(value: object): value is TenantSettingsUpdate;
30
+ export declare function TenantSettingsUpdateFromJSON(json: any): TenantSettingsUpdate;
31
+ export declare function TenantSettingsUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenantSettingsUpdate;
32
+ export declare function TenantSettingsUpdateToJSON(json: any): TenantSettingsUpdate;
33
+ export declare function TenantSettingsUpdateToJSONTyped(value?: TenantSettingsUpdate | null, ignoreDiscriminator?: boolean): any;
34
+ export declare const TenantSettingsUpdatePropertyValidationAttributesMap: {
35
+ [property: string]: {
36
+ maxLength?: number;
37
+ minLength?: number;
38
+ pattern?: string;
39
+ maximum?: number;
40
+ exclusiveMaximum?: boolean;
41
+ minimum?: number;
42
+ exclusiveMinimum?: boolean;
43
+ multipleOf?: number;
44
+ maxItems?: number;
45
+ minItems?: number;
46
+ uniqueItems?: boolean;
47
+ };
48
+ };
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Knowledge Stack API
5
+ * Knowledge Stack backend API for authentication and knowledge management
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { SupportedLanguageFromJSON, SupportedLanguageToJSON, } from './SupportedLanguage';
15
+ /**
16
+ * Check if a given object implements the TenantSettingsUpdate interface.
17
+ */
18
+ export function instanceOfTenantSettingsUpdate(value) {
19
+ return true;
20
+ }
21
+ export function TenantSettingsUpdateFromJSON(json) {
22
+ return TenantSettingsUpdateFromJSONTyped(json, false);
23
+ }
24
+ export function TenantSettingsUpdateFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'language': json['language'] == null ? undefined : SupportedLanguageFromJSON(json['language']),
30
+ };
31
+ }
32
+ export function TenantSettingsUpdateToJSON(json) {
33
+ return TenantSettingsUpdateToJSONTyped(json, false);
34
+ }
35
+ export function TenantSettingsUpdateToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'language': SupportedLanguageToJSON(value['language']),
41
+ };
42
+ }
43
+ export const TenantSettingsUpdatePropertyValidationAttributesMap = {};
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { OAuth2Config } from './OAuth2Config';
13
+ import type { TenantSettingsUpdate } from './TenantSettingsUpdate';
13
14
  /**
14
15
  * Update tenant request model.
15
16
  * @export
@@ -28,6 +29,12 @@ export interface UpdateTenantRequest {
28
29
  * @memberof UpdateTenantRequest
29
30
  */
30
31
  idpConfig?: OAuth2Config;
32
+ /**
33
+ *
34
+ * @type {TenantSettingsUpdate}
35
+ * @memberof UpdateTenantRequest
36
+ */
37
+ settings?: TenantSettingsUpdate;
31
38
  }
32
39
  /**
33
40
  * Check if a given object implements the UpdateTenantRequest interface.
@@ -12,6 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { OAuth2ConfigFromJSON, OAuth2ConfigToJSON, } from './OAuth2Config';
15
+ import { TenantSettingsUpdateFromJSON, TenantSettingsUpdateToJSON, } from './TenantSettingsUpdate';
15
16
  /**
16
17
  * Check if a given object implements the UpdateTenantRequest interface.
17
18
  */
@@ -28,6 +29,7 @@ export function UpdateTenantRequestFromJSONTyped(json, ignoreDiscriminator) {
28
29
  return {
29
30
  'name': json['name'] == null ? undefined : json['name'],
30
31
  'idpConfig': json['idp_config'] == null ? undefined : OAuth2ConfigFromJSON(json['idp_config']),
32
+ 'settings': json['settings'] == null ? undefined : TenantSettingsUpdateFromJSON(json['settings']),
31
33
  };
32
34
  }
33
35
  export function UpdateTenantRequestToJSON(json) {
@@ -40,6 +42,7 @@ export function UpdateTenantRequestToJSONTyped(value, ignoreDiscriminator = fals
40
42
  return {
41
43
  'name': value['name'],
42
44
  'idp_config': OAuth2ConfigToJSON(value['idpConfig']),
45
+ 'settings': TenantSettingsUpdateToJSON(value['settings']),
43
46
  };
44
47
  }
45
48
  export const UpdateTenantRequestPropertyValidationAttributesMap = {};
@@ -90,8 +90,11 @@ export * from './StepKind';
90
90
  export * from './StepOutput';
91
91
  export * from './SubtreeChunkGroup';
92
92
  export * from './SubtreeChunksResponse';
93
+ export * from './SupportedLanguage';
93
94
  export * from './TagResponse';
94
95
  export * from './TenantResponse';
96
+ export * from './TenantSettings';
97
+ export * from './TenantSettingsUpdate';
95
98
  export * from './TenantUserEditRequest';
96
99
  export * from './TenantUserResponse';
97
100
  export * from './TenantUserRole';
@@ -92,8 +92,11 @@ export * from './StepKind';
92
92
  export * from './StepOutput';
93
93
  export * from './SubtreeChunkGroup';
94
94
  export * from './SubtreeChunksResponse';
95
+ export * from './SupportedLanguage';
95
96
  export * from './TagResponse';
96
97
  export * from './TenantResponse';
98
+ export * from './TenantSettings';
99
+ export * from './TenantSettingsUpdate';
97
100
  export * from './TenantUserEditRequest';
98
101
  export * from './TenantUserResponse';
99
102
  export * from './TenantUserRole';
@@ -24,13 +24,13 @@ export interface ChunkMetadataInput {
24
24
  */
25
25
  polygons?: Array<PolygonReference>;
26
26
  /**
27
- * Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE chunks, multi-element for multi-page single-chunk ingestion.
27
+ * Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE/HTML chunks, multi-element for multi-page single-chunk ingestion.
28
28
  * @type {Array<string>}
29
29
  * @memberof ChunkMetadataInput
30
30
  */
31
31
  s3Urls?: Array<string>;
32
32
  /**
33
- * LLM-generated summary of the chunk content. Used for TABLE chunks to enrich embedding text.
33
+ * LLM-generated summary of the chunk content. Used for TABLE and HTML chunks to enrich embedding text.
34
34
  * @type {string}
35
35
  * @memberof ChunkMetadataInput
36
36
  */
@@ -24,13 +24,13 @@ export interface ChunkMetadataOutput {
24
24
  */
25
25
  polygons?: Array<PolygonReference>;
26
26
  /**
27
- * Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE chunks, multi-element for multi-page single-chunk ingestion.
27
+ * Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE/HTML chunks, multi-element for multi-page single-chunk ingestion.
28
28
  * @type {Array<string>}
29
29
  * @memberof ChunkMetadataOutput
30
30
  */
31
31
  s3Urls?: Array<string>;
32
32
  /**
33
- * LLM-generated summary of the chunk content. Used for TABLE chunks to enrich embedding text.
33
+ * LLM-generated summary of the chunk content. Used for TABLE and HTML chunks to enrich embedding text.
34
34
  * @type {string}
35
35
  * @memberof ChunkMetadataOutput
36
36
  */
@@ -42,7 +42,7 @@ export interface ChunkSearchRequest {
42
42
  */
43
43
  tagIds?: Array<string> | null;
44
44
  /**
45
- * Filter by chunk types (TEXT, TABLE, IMAGE, UNKNOWN). Only chunks matching one of the listed types are returned.
45
+ * Filter by chunk types (TEXT, TABLE, IMAGE, HTML, UNKNOWN). Only chunks matching one of the listed types are returned.
46
46
  * @type {Array<ChunkType>}
47
47
  * @memberof ChunkSearchRequest
48
48
  */
@@ -17,6 +17,7 @@ export declare const ChunkType: {
17
17
  readonly Text: "TEXT";
18
18
  readonly Table: "TABLE";
19
19
  readonly Image: "IMAGE";
20
+ readonly Html: "HTML";
20
21
  readonly Unknown: "UNKNOWN";
21
22
  };
22
23
  export type ChunkType = typeof ChunkType[keyof typeof ChunkType];
@@ -27,6 +27,7 @@ exports.ChunkType = {
27
27
  Text: 'TEXT',
28
28
  Table: 'TABLE',
29
29
  Image: 'IMAGE',
30
+ Html: 'HTML',
30
31
  Unknown: 'UNKNOWN'
31
32
  };
32
33
  function instanceOfChunkType(value) {
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Knowledge Stack API
3
+ * Knowledge Stack backend API for authentication and knowledge management
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
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 SupportedLanguage: {
17
+ readonly En: "en";
18
+ readonly Zh: "zh";
19
+ };
20
+ export type SupportedLanguage = typeof SupportedLanguage[keyof typeof SupportedLanguage];
21
+ export declare function instanceOfSupportedLanguage(value: any): boolean;
22
+ export declare function SupportedLanguageFromJSON(json: any): SupportedLanguage;
23
+ export declare function SupportedLanguageFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupportedLanguage;
24
+ export declare function SupportedLanguageToJSON(value?: SupportedLanguage | null): any;
25
+ export declare function SupportedLanguageToJSONTyped(value: any, ignoreDiscriminator: boolean): SupportedLanguage;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Knowledge Stack API
6
+ * Knowledge Stack backend API for authentication and knowledge management
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
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.SupportedLanguage = void 0;
17
+ exports.instanceOfSupportedLanguage = instanceOfSupportedLanguage;
18
+ exports.SupportedLanguageFromJSON = SupportedLanguageFromJSON;
19
+ exports.SupportedLanguageFromJSONTyped = SupportedLanguageFromJSONTyped;
20
+ exports.SupportedLanguageToJSON = SupportedLanguageToJSON;
21
+ exports.SupportedLanguageToJSONTyped = SupportedLanguageToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.SupportedLanguage = {
27
+ En: 'en',
28
+ Zh: 'zh'
29
+ };
30
+ function instanceOfSupportedLanguage(value) {
31
+ for (const key in exports.SupportedLanguage) {
32
+ if (Object.prototype.hasOwnProperty.call(exports.SupportedLanguage, key)) {
33
+ if (exports.SupportedLanguage[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ function SupportedLanguageFromJSON(json) {
41
+ return SupportedLanguageFromJSONTyped(json, false);
42
+ }
43
+ function SupportedLanguageFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ function SupportedLanguageToJSON(value) {
47
+ return value;
48
+ }
49
+ function SupportedLanguageToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { TenantSettings } from './TenantSettings';
12
13
  /**
13
14
  * Tenant response model.
14
15
  * @export
@@ -35,6 +36,12 @@ export interface TenantResponse {
35
36
  idpConfig?: {
36
37
  [key: string]: string;
37
38
  } | null;
39
+ /**
40
+ *
41
+ * @type {TenantSettings}
42
+ * @memberof TenantResponse
43
+ */
44
+ settings: TenantSettings;
38
45
  }
39
46
  /**
40
47
  * Check if a given object implements the TenantResponse interface.