@knowledge-stack/ksapi 1.99.0 → 1.100.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 +2 -2
- package/dist/esm/models/DocumentVersionMetadata.d.ts +6 -0
- package/dist/esm/models/DocumentVersionMetadata.js +2 -0
- package/dist/esm/models/DocumentVersionMetadataUpdate.d.ts +6 -0
- package/dist/esm/models/DocumentVersionMetadataUpdate.js +2 -0
- package/dist/models/DocumentVersionMetadata.d.ts +6 -0
- package/dist/models/DocumentVersionMetadata.js +2 -0
- package/dist/models/DocumentVersionMetadataUpdate.d.ts +6 -0
- package/dist/models/DocumentVersionMetadataUpdate.js +2 -0
- package/docs/DocumentVersionMetadata.md +2 -0
- package/docs/DocumentVersionMetadataUpdate.md +2 -0
- package/package.json +1 -1
- package/src/models/DocumentVersionMetadata.ts +8 -0
- package/src/models/DocumentVersionMetadataUpdate.ts +8 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @knowledge-stack/ksapi@1.
|
|
1
|
+
# @knowledge-stack/ksapi@1.100.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -537,7 +537,7 @@ and is automatically generated by the
|
|
|
537
537
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
538
538
|
|
|
539
539
|
- API version: `0.1.0`
|
|
540
|
-
- Package version: `1.
|
|
540
|
+
- Package version: `1.100.0`
|
|
541
541
|
- Generator version: `7.21.0`
|
|
542
542
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
543
543
|
|
|
@@ -39,6 +39,12 @@ export interface DocumentVersionMetadata {
|
|
|
39
39
|
* @memberof DocumentVersionMetadata
|
|
40
40
|
*/
|
|
41
41
|
cleanedSourceS3?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* S3 URL to the original pre-conversion legacy Office file; null unless this version was converted from a legacy binary format. After conversion source_s3 points at the modern OOXML file and this field preserves the original for traceability.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof DocumentVersionMetadata
|
|
46
|
+
*/
|
|
47
|
+
preconversionSourceS3?: string | null;
|
|
42
48
|
/**
|
|
43
49
|
* S3 URL to the fast plaintext export of the document
|
|
44
50
|
* @type {string}
|
|
@@ -31,6 +31,7 @@ export function DocumentVersionMetadataFromJSONTyped(json, ignoreDiscriminator)
|
|
|
31
31
|
return {
|
|
32
32
|
'sourceS3': json['source_s3'] == null ? undefined : json['source_s3'],
|
|
33
33
|
'cleanedSourceS3': json['cleaned_source_s3'] == null ? undefined : json['cleaned_source_s3'],
|
|
34
|
+
'preconversionSourceS3': json['preconversion_source_s3'] == null ? undefined : json['preconversion_source_s3'],
|
|
34
35
|
'fastPlaintextS3': json['fast_plaintext_s3'] == null ? undefined : json['fast_plaintext_s3'],
|
|
35
36
|
'hash': json['hash'] == null ? undefined : json['hash'],
|
|
36
37
|
'pipelineState': json['pipeline_state'] == null ? undefined : PipelineStateFromJSON(json['pipeline_state']),
|
|
@@ -59,6 +60,7 @@ export function DocumentVersionMetadataToJSONTyped(value, ignoreDiscriminator =
|
|
|
59
60
|
return {
|
|
60
61
|
'source_s3': value['sourceS3'],
|
|
61
62
|
'cleaned_source_s3': value['cleanedSourceS3'],
|
|
63
|
+
'preconversion_source_s3': value['preconversionSourceS3'],
|
|
62
64
|
'fast_plaintext_s3': value['fastPlaintextS3'],
|
|
63
65
|
'hash': value['hash'],
|
|
64
66
|
'pipeline_state': PipelineStateToJSON(value['pipelineState']),
|
|
@@ -33,6 +33,12 @@ export interface DocumentVersionMetadataUpdate {
|
|
|
33
33
|
* @memberof DocumentVersionMetadataUpdate
|
|
34
34
|
*/
|
|
35
35
|
cleanedSourceS3?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof DocumentVersionMetadataUpdate
|
|
40
|
+
*/
|
|
41
|
+
preconversionSourceS3?: string | null;
|
|
36
42
|
/**
|
|
37
43
|
*
|
|
38
44
|
* @type {string}
|
|
@@ -31,6 +31,7 @@ export function DocumentVersionMetadataUpdateFromJSONTyped(json, ignoreDiscrimin
|
|
|
31
31
|
return {
|
|
32
32
|
'sourceS3': json['source_s3'] == null ? undefined : json['source_s3'],
|
|
33
33
|
'cleanedSourceS3': json['cleaned_source_s3'] == null ? undefined : json['cleaned_source_s3'],
|
|
34
|
+
'preconversionSourceS3': json['preconversion_source_s3'] == null ? undefined : json['preconversion_source_s3'],
|
|
34
35
|
'standardPipelineJsonS3': json['standard_pipeline_json_s3'] == null ? undefined : json['standard_pipeline_json_s3'],
|
|
35
36
|
'fastPlaintextS3': json['fast_plaintext_s3'] == null ? undefined : json['fast_plaintext_s3'],
|
|
36
37
|
'highAccuracyContentListS3': json['high_accuracy_content_list_s3'] == null ? undefined : json['high_accuracy_content_list_s3'],
|
|
@@ -62,6 +63,7 @@ export function DocumentVersionMetadataUpdateToJSONTyped(value, ignoreDiscrimina
|
|
|
62
63
|
return {
|
|
63
64
|
'source_s3': value['sourceS3'],
|
|
64
65
|
'cleaned_source_s3': value['cleanedSourceS3'],
|
|
66
|
+
'preconversion_source_s3': value['preconversionSourceS3'],
|
|
65
67
|
'standard_pipeline_json_s3': value['standardPipelineJsonS3'],
|
|
66
68
|
'fast_plaintext_s3': value['fastPlaintextS3'],
|
|
67
69
|
'high_accuracy_content_list_s3': value['highAccuracyContentListS3'],
|
|
@@ -39,6 +39,12 @@ export interface DocumentVersionMetadata {
|
|
|
39
39
|
* @memberof DocumentVersionMetadata
|
|
40
40
|
*/
|
|
41
41
|
cleanedSourceS3?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* S3 URL to the original pre-conversion legacy Office file; null unless this version was converted from a legacy binary format. After conversion source_s3 points at the modern OOXML file and this field preserves the original for traceability.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof DocumentVersionMetadata
|
|
46
|
+
*/
|
|
47
|
+
preconversionSourceS3?: string | null;
|
|
42
48
|
/**
|
|
43
49
|
* S3 URL to the fast plaintext export of the document
|
|
44
50
|
* @type {string}
|
|
@@ -39,6 +39,7 @@ function DocumentVersionMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
return {
|
|
40
40
|
'sourceS3': json['source_s3'] == null ? undefined : json['source_s3'],
|
|
41
41
|
'cleanedSourceS3': json['cleaned_source_s3'] == null ? undefined : json['cleaned_source_s3'],
|
|
42
|
+
'preconversionSourceS3': json['preconversion_source_s3'] == null ? undefined : json['preconversion_source_s3'],
|
|
42
43
|
'fastPlaintextS3': json['fast_plaintext_s3'] == null ? undefined : json['fast_plaintext_s3'],
|
|
43
44
|
'hash': json['hash'] == null ? undefined : json['hash'],
|
|
44
45
|
'pipelineState': json['pipeline_state'] == null ? undefined : (0, PipelineState_1.PipelineStateFromJSON)(json['pipeline_state']),
|
|
@@ -67,6 +68,7 @@ function DocumentVersionMetadataToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
67
68
|
return {
|
|
68
69
|
'source_s3': value['sourceS3'],
|
|
69
70
|
'cleaned_source_s3': value['cleanedSourceS3'],
|
|
71
|
+
'preconversion_source_s3': value['preconversionSourceS3'],
|
|
70
72
|
'fast_plaintext_s3': value['fastPlaintextS3'],
|
|
71
73
|
'hash': value['hash'],
|
|
72
74
|
'pipeline_state': (0, PipelineState_1.PipelineStateToJSON)(value['pipelineState']),
|
|
@@ -33,6 +33,12 @@ export interface DocumentVersionMetadataUpdate {
|
|
|
33
33
|
* @memberof DocumentVersionMetadataUpdate
|
|
34
34
|
*/
|
|
35
35
|
cleanedSourceS3?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof DocumentVersionMetadataUpdate
|
|
40
|
+
*/
|
|
41
|
+
preconversionSourceS3?: string | null;
|
|
36
42
|
/**
|
|
37
43
|
*
|
|
38
44
|
* @type {string}
|
|
@@ -39,6 +39,7 @@ function DocumentVersionMetadataUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
return {
|
|
40
40
|
'sourceS3': json['source_s3'] == null ? undefined : json['source_s3'],
|
|
41
41
|
'cleanedSourceS3': json['cleaned_source_s3'] == null ? undefined : json['cleaned_source_s3'],
|
|
42
|
+
'preconversionSourceS3': json['preconversion_source_s3'] == null ? undefined : json['preconversion_source_s3'],
|
|
42
43
|
'standardPipelineJsonS3': json['standard_pipeline_json_s3'] == null ? undefined : json['standard_pipeline_json_s3'],
|
|
43
44
|
'fastPlaintextS3': json['fast_plaintext_s3'] == null ? undefined : json['fast_plaintext_s3'],
|
|
44
45
|
'highAccuracyContentListS3': json['high_accuracy_content_list_s3'] == null ? undefined : json['high_accuracy_content_list_s3'],
|
|
@@ -70,6 +71,7 @@ function DocumentVersionMetadataUpdateToJSONTyped(value, ignoreDiscriminator = f
|
|
|
70
71
|
return {
|
|
71
72
|
'source_s3': value['sourceS3'],
|
|
72
73
|
'cleaned_source_s3': value['cleanedSourceS3'],
|
|
74
|
+
'preconversion_source_s3': value['preconversionSourceS3'],
|
|
73
75
|
'standard_pipeline_json_s3': value['standardPipelineJsonS3'],
|
|
74
76
|
'fast_plaintext_s3': value['fastPlaintextS3'],
|
|
75
77
|
'high_accuracy_content_list_s3': value['highAccuracyContentListS3'],
|
|
@@ -9,6 +9,7 @@ Name | Type
|
|
|
9
9
|
------------ | -------------
|
|
10
10
|
`sourceS3` | string
|
|
11
11
|
`cleanedSourceS3` | string
|
|
12
|
+
`preconversionSourceS3` | string
|
|
12
13
|
`fastPlaintextS3` | string
|
|
13
14
|
`hash` | string
|
|
14
15
|
`pipelineState` | [PipelineState](PipelineState.md)
|
|
@@ -35,6 +36,7 @@ import type { DocumentVersionMetadata } from '@knowledge-stack/ksapi'
|
|
|
35
36
|
const example = {
|
|
36
37
|
"sourceS3": null,
|
|
37
38
|
"cleanedSourceS3": null,
|
|
39
|
+
"preconversionSourceS3": null,
|
|
38
40
|
"fastPlaintextS3": null,
|
|
39
41
|
"hash": null,
|
|
40
42
|
"pipelineState": null,
|
|
@@ -9,6 +9,7 @@ Name | Type
|
|
|
9
9
|
------------ | -------------
|
|
10
10
|
`sourceS3` | string
|
|
11
11
|
`cleanedSourceS3` | string
|
|
12
|
+
`preconversionSourceS3` | string
|
|
12
13
|
`standardPipelineJsonS3` | string
|
|
13
14
|
`fastPlaintextS3` | string
|
|
14
15
|
`highAccuracyContentListS3` | string
|
|
@@ -38,6 +39,7 @@ import type { DocumentVersionMetadataUpdate } from '@knowledge-stack/ksapi'
|
|
|
38
39
|
const example = {
|
|
39
40
|
"sourceS3": null,
|
|
40
41
|
"cleanedSourceS3": null,
|
|
42
|
+
"preconversionSourceS3": null,
|
|
41
43
|
"standardPipelineJsonS3": null,
|
|
42
44
|
"fastPlaintextS3": null,
|
|
43
45
|
"highAccuracyContentListS3": null,
|
package/package.json
CHANGED
|
@@ -62,6 +62,12 @@ export interface DocumentVersionMetadata {
|
|
|
62
62
|
* @memberof DocumentVersionMetadata
|
|
63
63
|
*/
|
|
64
64
|
cleanedSourceS3?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
* S3 URL to the original pre-conversion legacy Office file; null unless this version was converted from a legacy binary format. After conversion source_s3 points at the modern OOXML file and this field preserves the original for traceability.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof DocumentVersionMetadata
|
|
69
|
+
*/
|
|
70
|
+
preconversionSourceS3?: string | null;
|
|
65
71
|
/**
|
|
66
72
|
* S3 URL to the fast plaintext export of the document
|
|
67
73
|
* @type {string}
|
|
@@ -196,6 +202,7 @@ export function DocumentVersionMetadataFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
196
202
|
|
|
197
203
|
'sourceS3': json['source_s3'] == null ? undefined : json['source_s3'],
|
|
198
204
|
'cleanedSourceS3': json['cleaned_source_s3'] == null ? undefined : json['cleaned_source_s3'],
|
|
205
|
+
'preconversionSourceS3': json['preconversion_source_s3'] == null ? undefined : json['preconversion_source_s3'],
|
|
199
206
|
'fastPlaintextS3': json['fast_plaintext_s3'] == null ? undefined : json['fast_plaintext_s3'],
|
|
200
207
|
'hash': json['hash'] == null ? undefined : json['hash'],
|
|
201
208
|
'pipelineState': json['pipeline_state'] == null ? undefined : PipelineStateFromJSON(json['pipeline_state']),
|
|
@@ -228,6 +235,7 @@ export function DocumentVersionMetadataToJSONTyped(value?: DocumentVersionMetada
|
|
|
228
235
|
|
|
229
236
|
'source_s3': value['sourceS3'],
|
|
230
237
|
'cleaned_source_s3': value['cleanedSourceS3'],
|
|
238
|
+
'preconversion_source_s3': value['preconversionSourceS3'],
|
|
231
239
|
'fast_plaintext_s3': value['fastPlaintextS3'],
|
|
232
240
|
'hash': value['hash'],
|
|
233
241
|
'pipeline_state': PipelineStateToJSON(value['pipelineState']),
|
|
@@ -56,6 +56,12 @@ export interface DocumentVersionMetadataUpdate {
|
|
|
56
56
|
* @memberof DocumentVersionMetadataUpdate
|
|
57
57
|
*/
|
|
58
58
|
cleanedSourceS3?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof DocumentVersionMetadataUpdate
|
|
63
|
+
*/
|
|
64
|
+
preconversionSourceS3?: string | null;
|
|
59
65
|
/**
|
|
60
66
|
*
|
|
61
67
|
* @type {string}
|
|
@@ -208,6 +214,7 @@ export function DocumentVersionMetadataUpdateFromJSONTyped(json: any, ignoreDisc
|
|
|
208
214
|
|
|
209
215
|
'sourceS3': json['source_s3'] == null ? undefined : json['source_s3'],
|
|
210
216
|
'cleanedSourceS3': json['cleaned_source_s3'] == null ? undefined : json['cleaned_source_s3'],
|
|
217
|
+
'preconversionSourceS3': json['preconversion_source_s3'] == null ? undefined : json['preconversion_source_s3'],
|
|
211
218
|
'standardPipelineJsonS3': json['standard_pipeline_json_s3'] == null ? undefined : json['standard_pipeline_json_s3'],
|
|
212
219
|
'fastPlaintextS3': json['fast_plaintext_s3'] == null ? undefined : json['fast_plaintext_s3'],
|
|
213
220
|
'highAccuracyContentListS3': json['high_accuracy_content_list_s3'] == null ? undefined : json['high_accuracy_content_list_s3'],
|
|
@@ -243,6 +250,7 @@ export function DocumentVersionMetadataUpdateToJSONTyped(value?: DocumentVersion
|
|
|
243
250
|
|
|
244
251
|
'source_s3': value['sourceS3'],
|
|
245
252
|
'cleaned_source_s3': value['cleanedSourceS3'],
|
|
253
|
+
'preconversion_source_s3': value['preconversionSourceS3'],
|
|
246
254
|
'standard_pipeline_json_s3': value['standardPipelineJsonS3'],
|
|
247
255
|
'fast_plaintext_s3': value['fastPlaintextS3'],
|
|
248
256
|
'high_accuracy_content_list_s3': value['highAccuracyContentListS3'],
|