@knowledge-stack/ksapi 1.44.1 → 1.45.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.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @knowledge-stack/ksapi@1.44.1
1
+ # @knowledge-stack/ksapi@1.45.0
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -287,7 +287,7 @@ and is automatically generated by the
287
287
  [OpenAPI Generator](https://openapi-generator.tech) project:
288
288
 
289
289
  - API version: `0.1.0`
290
- - Package version: `1.44.1`
290
+ - Package version: `1.45.0`
291
291
  - Generator version: `7.20.0`
292
292
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
293
293
 
@@ -41,6 +41,12 @@ export interface ChunkMetadataInput {
41
41
  * @memberof ChunkMetadataInput
42
42
  */
43
43
  ingestionMode?: IngestionMode;
44
+ /**
45
+ * S3 URI to extracted PDF text used for LLM grounding during enrichment
46
+ * @type {string}
47
+ * @memberof ChunkMetadataInput
48
+ */
49
+ extractedTextS3Uri?: string | null;
44
50
  }
45
51
  /**
46
52
  * Check if a given object implements the ChunkMetadataInput interface.
@@ -31,6 +31,7 @@ export function ChunkMetadataInputFromJSONTyped(json, ignoreDiscriminator) {
31
31
  's3Urls': json['s3_urls'] == null ? undefined : json['s3_urls'],
32
32
  'summary': json['summary'] == null ? undefined : json['summary'],
33
33
  'ingestionMode': json['ingestion_mode'] == null ? undefined : IngestionModeFromJSON(json['ingestion_mode']),
34
+ 'extractedTextS3Uri': json['extracted_text_s3_uri'] == null ? undefined : json['extracted_text_s3_uri'],
34
35
  };
35
36
  }
36
37
  export function ChunkMetadataInputToJSON(json) {
@@ -45,6 +46,7 @@ export function ChunkMetadataInputToJSONTyped(value, ignoreDiscriminator = false
45
46
  's3_urls': value['s3Urls'],
46
47
  'summary': value['summary'],
47
48
  'ingestion_mode': IngestionModeToJSON(value['ingestionMode']),
49
+ 'extracted_text_s3_uri': value['extractedTextS3Uri'],
48
50
  };
49
51
  }
50
52
  export const ChunkMetadataInputPropertyValidationAttributesMap = {};
@@ -41,6 +41,12 @@ export interface ChunkMetadataOutput {
41
41
  * @memberof ChunkMetadataOutput
42
42
  */
43
43
  ingestionMode?: IngestionMode;
44
+ /**
45
+ * S3 URI to extracted PDF text used for LLM grounding during enrichment
46
+ * @type {string}
47
+ * @memberof ChunkMetadataOutput
48
+ */
49
+ extractedTextS3Uri?: string | null;
44
50
  }
45
51
  /**
46
52
  * Check if a given object implements the ChunkMetadataOutput interface.
@@ -31,6 +31,7 @@ export function ChunkMetadataOutputFromJSONTyped(json, ignoreDiscriminator) {
31
31
  's3Urls': json['s3_urls'] == null ? undefined : json['s3_urls'],
32
32
  'summary': json['summary'] == null ? undefined : json['summary'],
33
33
  'ingestionMode': json['ingestion_mode'] == null ? undefined : IngestionModeFromJSON(json['ingestion_mode']),
34
+ 'extractedTextS3Uri': json['extracted_text_s3_uri'] == null ? undefined : json['extracted_text_s3_uri'],
34
35
  };
35
36
  }
36
37
  export function ChunkMetadataOutputToJSON(json) {
@@ -45,6 +46,7 @@ export function ChunkMetadataOutputToJSONTyped(value, ignoreDiscriminator = fals
45
46
  's3_urls': value['s3Urls'],
46
47
  'summary': value['summary'],
47
48
  'ingestion_mode': IngestionModeToJSON(value['ingestionMode']),
49
+ 'extracted_text_s3_uri': value['extractedTextS3Uri'],
48
50
  };
49
51
  }
50
52
  export const ChunkMetadataOutputPropertyValidationAttributesMap = {};
@@ -22,6 +22,12 @@ export interface TenantSettings {
22
22
  * @memberof TenantSettings
23
23
  */
24
24
  language?: SupportedLanguage;
25
+ /**
26
+ * Tenant description
27
+ * @type {string}
28
+ * @memberof TenantSettings
29
+ */
30
+ description?: string;
25
31
  }
26
32
  /**
27
33
  * Check if a given object implements the TenantSettings interface.
@@ -27,6 +27,7 @@ export function TenantSettingsFromJSONTyped(json, ignoreDiscriminator) {
27
27
  }
28
28
  return {
29
29
  'language': json['language'] == null ? undefined : SupportedLanguageFromJSON(json['language']),
30
+ 'description': json['description'] == null ? undefined : json['description'],
30
31
  };
31
32
  }
32
33
  export function TenantSettingsToJSON(json) {
@@ -38,6 +39,7 @@ export function TenantSettingsToJSONTyped(value, ignoreDiscriminator = false) {
38
39
  }
39
40
  return {
40
41
  'language': SupportedLanguageToJSON(value['language']),
42
+ 'description': value['description'],
41
43
  };
42
44
  }
43
45
  export const TenantSettingsPropertyValidationAttributesMap = {};
@@ -22,6 +22,12 @@ export interface TenantSettingsUpdate {
22
22
  * @memberof TenantSettingsUpdate
23
23
  */
24
24
  language?: SupportedLanguage;
25
+ /**
26
+ * Tenant description
27
+ * @type {string}
28
+ * @memberof TenantSettingsUpdate
29
+ */
30
+ description?: string | null;
25
31
  }
26
32
  /**
27
33
  * Check if a given object implements the TenantSettingsUpdate interface.
@@ -27,6 +27,7 @@ export function TenantSettingsUpdateFromJSONTyped(json, ignoreDiscriminator) {
27
27
  }
28
28
  return {
29
29
  'language': json['language'] == null ? undefined : SupportedLanguageFromJSON(json['language']),
30
+ 'description': json['description'] == null ? undefined : json['description'],
30
31
  };
31
32
  }
32
33
  export function TenantSettingsUpdateToJSON(json) {
@@ -38,6 +39,7 @@ export function TenantSettingsUpdateToJSONTyped(value, ignoreDiscriminator = fal
38
39
  }
39
40
  return {
40
41
  'language': SupportedLanguageToJSON(value['language']),
42
+ 'description': value['description'],
41
43
  };
42
44
  }
43
45
  export const TenantSettingsUpdatePropertyValidationAttributesMap = {};
@@ -41,6 +41,12 @@ export interface ChunkMetadataInput {
41
41
  * @memberof ChunkMetadataInput
42
42
  */
43
43
  ingestionMode?: IngestionMode;
44
+ /**
45
+ * S3 URI to extracted PDF text used for LLM grounding during enrichment
46
+ * @type {string}
47
+ * @memberof ChunkMetadataInput
48
+ */
49
+ extractedTextS3Uri?: string | null;
44
50
  }
45
51
  /**
46
52
  * Check if a given object implements the ChunkMetadataInput interface.
@@ -39,6 +39,7 @@ function ChunkMetadataInputFromJSONTyped(json, ignoreDiscriminator) {
39
39
  's3Urls': json['s3_urls'] == null ? undefined : json['s3_urls'],
40
40
  'summary': json['summary'] == null ? undefined : json['summary'],
41
41
  'ingestionMode': json['ingestion_mode'] == null ? undefined : (0, IngestionMode_1.IngestionModeFromJSON)(json['ingestion_mode']),
42
+ 'extractedTextS3Uri': json['extracted_text_s3_uri'] == null ? undefined : json['extracted_text_s3_uri'],
42
43
  };
43
44
  }
44
45
  function ChunkMetadataInputToJSON(json) {
@@ -53,6 +54,7 @@ function ChunkMetadataInputToJSONTyped(value, ignoreDiscriminator = false) {
53
54
  's3_urls': value['s3Urls'],
54
55
  'summary': value['summary'],
55
56
  'ingestion_mode': (0, IngestionMode_1.IngestionModeToJSON)(value['ingestionMode']),
57
+ 'extracted_text_s3_uri': value['extractedTextS3Uri'],
56
58
  };
57
59
  }
58
60
  exports.ChunkMetadataInputPropertyValidationAttributesMap = {};
@@ -41,6 +41,12 @@ export interface ChunkMetadataOutput {
41
41
  * @memberof ChunkMetadataOutput
42
42
  */
43
43
  ingestionMode?: IngestionMode;
44
+ /**
45
+ * S3 URI to extracted PDF text used for LLM grounding during enrichment
46
+ * @type {string}
47
+ * @memberof ChunkMetadataOutput
48
+ */
49
+ extractedTextS3Uri?: string | null;
44
50
  }
45
51
  /**
46
52
  * Check if a given object implements the ChunkMetadataOutput interface.
@@ -39,6 +39,7 @@ function ChunkMetadataOutputFromJSONTyped(json, ignoreDiscriminator) {
39
39
  's3Urls': json['s3_urls'] == null ? undefined : json['s3_urls'],
40
40
  'summary': json['summary'] == null ? undefined : json['summary'],
41
41
  'ingestionMode': json['ingestion_mode'] == null ? undefined : (0, IngestionMode_1.IngestionModeFromJSON)(json['ingestion_mode']),
42
+ 'extractedTextS3Uri': json['extracted_text_s3_uri'] == null ? undefined : json['extracted_text_s3_uri'],
42
43
  };
43
44
  }
44
45
  function ChunkMetadataOutputToJSON(json) {
@@ -53,6 +54,7 @@ function ChunkMetadataOutputToJSONTyped(value, ignoreDiscriminator = false) {
53
54
  's3_urls': value['s3Urls'],
54
55
  'summary': value['summary'],
55
56
  'ingestion_mode': (0, IngestionMode_1.IngestionModeToJSON)(value['ingestionMode']),
57
+ 'extracted_text_s3_uri': value['extractedTextS3Uri'],
56
58
  };
57
59
  }
58
60
  exports.ChunkMetadataOutputPropertyValidationAttributesMap = {};
@@ -22,6 +22,12 @@ export interface TenantSettings {
22
22
  * @memberof TenantSettings
23
23
  */
24
24
  language?: SupportedLanguage;
25
+ /**
26
+ * Tenant description
27
+ * @type {string}
28
+ * @memberof TenantSettings
29
+ */
30
+ description?: string;
25
31
  }
26
32
  /**
27
33
  * Check if a given object implements the TenantSettings interface.
@@ -35,6 +35,7 @@ function TenantSettingsFromJSONTyped(json, ignoreDiscriminator) {
35
35
  }
36
36
  return {
37
37
  'language': json['language'] == null ? undefined : (0, SupportedLanguage_1.SupportedLanguageFromJSON)(json['language']),
38
+ 'description': json['description'] == null ? undefined : json['description'],
38
39
  };
39
40
  }
40
41
  function TenantSettingsToJSON(json) {
@@ -46,6 +47,7 @@ function TenantSettingsToJSONTyped(value, ignoreDiscriminator = false) {
46
47
  }
47
48
  return {
48
49
  'language': (0, SupportedLanguage_1.SupportedLanguageToJSON)(value['language']),
50
+ 'description': value['description'],
49
51
  };
50
52
  }
51
53
  exports.TenantSettingsPropertyValidationAttributesMap = {};
@@ -22,6 +22,12 @@ export interface TenantSettingsUpdate {
22
22
  * @memberof TenantSettingsUpdate
23
23
  */
24
24
  language?: SupportedLanguage;
25
+ /**
26
+ * Tenant description
27
+ * @type {string}
28
+ * @memberof TenantSettingsUpdate
29
+ */
30
+ description?: string | null;
25
31
  }
26
32
  /**
27
33
  * Check if a given object implements the TenantSettingsUpdate interface.
@@ -35,6 +35,7 @@ function TenantSettingsUpdateFromJSONTyped(json, ignoreDiscriminator) {
35
35
  }
36
36
  return {
37
37
  'language': json['language'] == null ? undefined : (0, SupportedLanguage_1.SupportedLanguageFromJSON)(json['language']),
38
+ 'description': json['description'] == null ? undefined : json['description'],
38
39
  };
39
40
  }
40
41
  function TenantSettingsUpdateToJSON(json) {
@@ -46,6 +47,7 @@ function TenantSettingsUpdateToJSONTyped(value, ignoreDiscriminator = false) {
46
47
  }
47
48
  return {
48
49
  'language': (0, SupportedLanguage_1.SupportedLanguageToJSON)(value['language']),
50
+ 'description': value['description'],
49
51
  };
50
52
  }
51
53
  exports.TenantSettingsUpdatePropertyValidationAttributesMap = {};
@@ -11,6 +11,7 @@ Name | Type
11
11
  `s3Urls` | Array<string>
12
12
  `summary` | string
13
13
  `ingestionMode` | [IngestionMode](IngestionMode.md)
14
+ `extractedTextS3Uri` | string
14
15
 
15
16
  ## Example
16
17
 
@@ -23,6 +24,7 @@ const example = {
23
24
  "s3Urls": null,
24
25
  "summary": null,
25
26
  "ingestionMode": null,
27
+ "extractedTextS3Uri": null,
26
28
  } satisfies ChunkMetadataInput
27
29
 
28
30
  console.log(example)
@@ -11,6 +11,7 @@ Name | Type
11
11
  `s3Urls` | Array<string>
12
12
  `summary` | string
13
13
  `ingestionMode` | [IngestionMode](IngestionMode.md)
14
+ `extractedTextS3Uri` | string
14
15
 
15
16
  ## Example
16
17
 
@@ -23,6 +24,7 @@ const example = {
23
24
  "s3Urls": null,
24
25
  "summary": null,
25
26
  "ingestionMode": null,
27
+ "extractedTextS3Uri": null,
26
28
  } satisfies ChunkMetadataOutput
27
29
 
28
30
  console.log(example)
@@ -7,6 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `language` | [SupportedLanguage](SupportedLanguage.md)
10
+ `description` | string
10
11
 
11
12
  ## Example
12
13
 
@@ -16,6 +17,7 @@ import type { TenantSettings } from '@knowledge-stack/ksapi'
16
17
  // TODO: Update the object below with actual values
17
18
  const example = {
18
19
  "language": null,
20
+ "description": null,
19
21
  } satisfies TenantSettings
20
22
 
21
23
  console.log(example)
@@ -8,6 +8,7 @@ Partial tenant settings update.
8
8
  Name | Type
9
9
  ------------ | -------------
10
10
  `language` | [SupportedLanguage](SupportedLanguage.md)
11
+ `description` | string
11
12
 
12
13
  ## Example
13
14
 
@@ -17,6 +18,7 @@ import type { TenantSettingsUpdate } from '@knowledge-stack/ksapi'
17
18
  // TODO: Update the object below with actual values
18
19
  const example = {
19
20
  "language": null,
21
+ "description": null,
20
22
  } satisfies TenantSettingsUpdate
21
23
 
22
24
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowledge-stack/ksapi",
3
- "version": "1.44.1",
3
+ "version": "1.45.0",
4
4
  "description": "OpenAPI client for @knowledge-stack/ksapi",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -58,6 +58,12 @@ export interface ChunkMetadataInput {
58
58
  * @memberof ChunkMetadataInput
59
59
  */
60
60
  ingestionMode?: IngestionMode;
61
+ /**
62
+ * S3 URI to extracted PDF text used for LLM grounding during enrichment
63
+ * @type {string}
64
+ * @memberof ChunkMetadataInput
65
+ */
66
+ extractedTextS3Uri?: string | null;
61
67
  }
62
68
 
63
69
 
@@ -83,6 +89,7 @@ export function ChunkMetadataInputFromJSONTyped(json: any, ignoreDiscriminator:
83
89
  's3Urls': json['s3_urls'] == null ? undefined : json['s3_urls'],
84
90
  'summary': json['summary'] == null ? undefined : json['summary'],
85
91
  'ingestionMode': json['ingestion_mode'] == null ? undefined : IngestionModeFromJSON(json['ingestion_mode']),
92
+ 'extractedTextS3Uri': json['extracted_text_s3_uri'] == null ? undefined : json['extracted_text_s3_uri'],
86
93
  };
87
94
  }
88
95
 
@@ -101,6 +108,7 @@ export function ChunkMetadataInputToJSONTyped(value?: ChunkMetadataInput | null,
101
108
  's3_urls': value['s3Urls'],
102
109
  'summary': value['summary'],
103
110
  'ingestion_mode': IngestionModeToJSON(value['ingestionMode']),
111
+ 'extracted_text_s3_uri': value['extractedTextS3Uri'],
104
112
  };
105
113
  }
106
114
 
@@ -58,6 +58,12 @@ export interface ChunkMetadataOutput {
58
58
  * @memberof ChunkMetadataOutput
59
59
  */
60
60
  ingestionMode?: IngestionMode;
61
+ /**
62
+ * S3 URI to extracted PDF text used for LLM grounding during enrichment
63
+ * @type {string}
64
+ * @memberof ChunkMetadataOutput
65
+ */
66
+ extractedTextS3Uri?: string | null;
61
67
  }
62
68
 
63
69
 
@@ -83,6 +89,7 @@ export function ChunkMetadataOutputFromJSONTyped(json: any, ignoreDiscriminator:
83
89
  's3Urls': json['s3_urls'] == null ? undefined : json['s3_urls'],
84
90
  'summary': json['summary'] == null ? undefined : json['summary'],
85
91
  'ingestionMode': json['ingestion_mode'] == null ? undefined : IngestionModeFromJSON(json['ingestion_mode']),
92
+ 'extractedTextS3Uri': json['extracted_text_s3_uri'] == null ? undefined : json['extracted_text_s3_uri'],
86
93
  };
87
94
  }
88
95
 
@@ -101,6 +108,7 @@ export function ChunkMetadataOutputToJSONTyped(value?: ChunkMetadataOutput | nul
101
108
  's3_urls': value['s3Urls'],
102
109
  'summary': value['summary'],
103
110
  'ingestion_mode': IngestionModeToJSON(value['ingestionMode']),
111
+ 'extracted_text_s3_uri': value['extractedTextS3Uri'],
104
112
  };
105
113
  }
106
114
 
@@ -33,6 +33,12 @@ export interface TenantSettings {
33
33
  * @memberof TenantSettings
34
34
  */
35
35
  language?: SupportedLanguage;
36
+ /**
37
+ * Tenant description
38
+ * @type {string}
39
+ * @memberof TenantSettings
40
+ */
41
+ description?: string;
36
42
  }
37
43
 
38
44
 
@@ -55,6 +61,7 @@ export function TenantSettingsFromJSONTyped(json: any, ignoreDiscriminator: bool
55
61
  return {
56
62
 
57
63
  'language': json['language'] == null ? undefined : SupportedLanguageFromJSON(json['language']),
64
+ 'description': json['description'] == null ? undefined : json['description'],
58
65
  };
59
66
  }
60
67
 
@@ -70,6 +77,7 @@ export function TenantSettingsToJSONTyped(value?: TenantSettings | null, ignoreD
70
77
  return {
71
78
 
72
79
  'language': SupportedLanguageToJSON(value['language']),
80
+ 'description': value['description'],
73
81
  };
74
82
  }
75
83
 
@@ -33,6 +33,12 @@ export interface TenantSettingsUpdate {
33
33
  * @memberof TenantSettingsUpdate
34
34
  */
35
35
  language?: SupportedLanguage;
36
+ /**
37
+ * Tenant description
38
+ * @type {string}
39
+ * @memberof TenantSettingsUpdate
40
+ */
41
+ description?: string | null;
36
42
  }
37
43
 
38
44
 
@@ -55,6 +61,7 @@ export function TenantSettingsUpdateFromJSONTyped(json: any, ignoreDiscriminator
55
61
  return {
56
62
 
57
63
  'language': json['language'] == null ? undefined : SupportedLanguageFromJSON(json['language']),
64
+ 'description': json['description'] == null ? undefined : json['description'],
58
65
  };
59
66
  }
60
67
 
@@ -70,6 +77,7 @@ export function TenantSettingsUpdateToJSONTyped(value?: TenantSettingsUpdate | n
70
77
  return {
71
78
 
72
79
  'language': SupportedLanguageToJSON(value['language']),
80
+ 'description': value['description'],
73
81
  };
74
82
  }
75
83