@knowledge-stack/ksapi 1.156.0 → 1.156.1
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/esm/models/DocumentVersionResponse.d.ts +6 -0
- package/dist/esm/models/DocumentVersionResponse.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/dist/models/DocumentVersionResponse.d.ts +6 -0
- package/dist/models/DocumentVersionResponse.js +2 -0
- package/docs/DocumentVersionMetadata.md +2 -0
- package/docs/DocumentVersionMetadataUpdate.md +2 -0
- package/docs/DocumentVersionResponse.md +2 -0
- package/package.json +1 -1
- package/src/models/DocumentVersionMetadata.ts +8 -0
- package/src/models/DocumentVersionMetadataUpdate.ts +8 -0
- package/src/models/DocumentVersionResponse.ts +8 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @knowledge-stack/ksapi@1.156.
|
|
1
|
+
# @knowledge-stack/ksapi@1.156.1
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -708,7 +708,7 @@ and is automatically generated by the
|
|
|
708
708
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
709
709
|
|
|
710
710
|
- API version: `0.1.0`
|
|
711
|
-
- Package version: `1.156.
|
|
711
|
+
- Package version: `1.156.1`
|
|
712
712
|
- Generator version: `7.21.0`
|
|
713
713
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
714
714
|
|
|
@@ -57,6 +57,12 @@ export interface DocumentVersionMetadata {
|
|
|
57
57
|
* @memberof DocumentVersionMetadata
|
|
58
58
|
*/
|
|
59
59
|
fastPlaintextS3?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* S3 URI of the ASR transcript JSON (per-segment start_ms/end_ms/text); null for non-media. Chunks carry timings too, but at merged-chunk granularity, so this is the only per-segment source.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof DocumentVersionMetadata
|
|
64
|
+
*/
|
|
65
|
+
transcriptS3?: string | null;
|
|
60
66
|
/**
|
|
61
67
|
* Base64-encoded SHA256 hash of the uploaded source file
|
|
62
68
|
* @type {string}
|
|
@@ -34,6 +34,7 @@ export function DocumentVersionMetadataFromJSONTyped(json, ignoreDiscriminator)
|
|
|
34
34
|
'preconversionSourceS3': json['preconversion_source_s3'] == null ? undefined : json['preconversion_source_s3'],
|
|
35
35
|
'citedSourceS3': json['cited_source_s3'] == null ? undefined : json['cited_source_s3'],
|
|
36
36
|
'fastPlaintextS3': json['fast_plaintext_s3'] == null ? undefined : json['fast_plaintext_s3'],
|
|
37
|
+
'transcriptS3': json['transcript_s3'] == null ? undefined : json['transcript_s3'],
|
|
37
38
|
'hash': json['hash'] == null ? undefined : json['hash'],
|
|
38
39
|
'pipelineState': json['pipeline_state'] == null ? undefined : PipelineStateFromJSON(json['pipeline_state']),
|
|
39
40
|
'totalPages': json['total_pages'] == null ? undefined : json['total_pages'],
|
|
@@ -68,6 +69,7 @@ export function DocumentVersionMetadataToJSONTyped(value, ignoreDiscriminator =
|
|
|
68
69
|
'preconversion_source_s3': value['preconversionSourceS3'],
|
|
69
70
|
'cited_source_s3': value['citedSourceS3'],
|
|
70
71
|
'fast_plaintext_s3': value['fastPlaintextS3'],
|
|
72
|
+
'transcript_s3': value['transcriptS3'],
|
|
71
73
|
'hash': value['hash'],
|
|
72
74
|
'pipeline_state': PipelineStateToJSON(value['pipelineState']),
|
|
73
75
|
'total_pages': value['totalPages'],
|
|
@@ -57,6 +57,12 @@ export interface DocumentVersionMetadataUpdate {
|
|
|
57
57
|
* @memberof DocumentVersionMetadataUpdate
|
|
58
58
|
*/
|
|
59
59
|
fastPlaintextS3?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof DocumentVersionMetadataUpdate
|
|
64
|
+
*/
|
|
65
|
+
transcriptS3?: string | null;
|
|
60
66
|
/**
|
|
61
67
|
*
|
|
62
68
|
* @type {string}
|
|
@@ -35,6 +35,7 @@ export function DocumentVersionMetadataUpdateFromJSONTyped(json, ignoreDiscrimin
|
|
|
35
35
|
'citedSourceS3': json['cited_source_s3'] == null ? undefined : json['cited_source_s3'],
|
|
36
36
|
'standardPipelineJsonS3': json['standard_pipeline_json_s3'] == null ? undefined : json['standard_pipeline_json_s3'],
|
|
37
37
|
'fastPlaintextS3': json['fast_plaintext_s3'] == null ? undefined : json['fast_plaintext_s3'],
|
|
38
|
+
'transcriptS3': json['transcript_s3'] == null ? undefined : json['transcript_s3'],
|
|
38
39
|
'highAccuracyContentListS3': json['high_accuracy_content_list_s3'] == null ? undefined : json['high_accuracy_content_list_s3'],
|
|
39
40
|
'highAccuracyMiddleS3': json['high_accuracy_middle_s3'] == null ? undefined : json['high_accuracy_middle_s3'],
|
|
40
41
|
'hash': json['hash'] == null ? undefined : json['hash'],
|
|
@@ -71,6 +72,7 @@ export function DocumentVersionMetadataUpdateToJSONTyped(value, ignoreDiscrimina
|
|
|
71
72
|
'cited_source_s3': value['citedSourceS3'],
|
|
72
73
|
'standard_pipeline_json_s3': value['standardPipelineJsonS3'],
|
|
73
74
|
'fast_plaintext_s3': value['fastPlaintextS3'],
|
|
75
|
+
'transcript_s3': value['transcriptS3'],
|
|
74
76
|
'high_accuracy_content_list_s3': value['highAccuracyContentListS3'],
|
|
75
77
|
'high_accuracy_middle_s3': value['highAccuracyMiddleS3'],
|
|
76
78
|
'hash': value['hash'],
|
|
@@ -104,6 +104,12 @@ export interface DocumentVersionResponse {
|
|
|
104
104
|
* @memberof DocumentVersionResponse
|
|
105
105
|
*/
|
|
106
106
|
fastPlaintextUrl?: string | null;
|
|
107
|
+
/**
|
|
108
|
+
* Presigned URL (6-hour validity) to the ASR transcript JSON with per-segment start_ms/end_ms/text; null for non-media. Chunks pack many segments into one, so this is what a client reads to follow a recording line by line.
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof DocumentVersionResponse
|
|
111
|
+
*/
|
|
112
|
+
transcriptUrl?: string | null;
|
|
107
113
|
/**
|
|
108
114
|
* Presigned URLs (6-hour validity) to per-page WEBP screenshots in page order: index 0 is page 1, index N-1 is page N. Populated only when the request includes include_page_screenshots=true; null otherwise.
|
|
109
115
|
* @type {Array<string>}
|
|
@@ -64,6 +64,7 @@ export function DocumentVersionResponseFromJSONTyped(json, ignoreDiscriminator)
|
|
|
64
64
|
'assetS3Url': json['asset_s3_url'] == null ? undefined : json['asset_s3_url'],
|
|
65
65
|
'citedAssetS3Url': json['cited_asset_s3_url'] == null ? undefined : json['cited_asset_s3_url'],
|
|
66
66
|
'fastPlaintextUrl': json['fast_plaintext_url'] == null ? undefined : json['fast_plaintext_url'],
|
|
67
|
+
'transcriptUrl': json['transcript_url'] == null ? undefined : json['transcript_url'],
|
|
67
68
|
'pageScreenshotUrls': json['page_screenshot_urls'] == null ? undefined : json['page_screenshot_urls'],
|
|
68
69
|
'systemMetadata': json['system_metadata'] == null ? undefined : DocumentVersionMetadataFromJSON(json['system_metadata']),
|
|
69
70
|
};
|
|
@@ -90,6 +91,7 @@ export function DocumentVersionResponseToJSONTyped(value, ignoreDiscriminator =
|
|
|
90
91
|
'asset_s3_url': value['assetS3Url'],
|
|
91
92
|
'cited_asset_s3_url': value['citedAssetS3Url'],
|
|
92
93
|
'fast_plaintext_url': value['fastPlaintextUrl'],
|
|
94
|
+
'transcript_url': value['transcriptUrl'],
|
|
93
95
|
'page_screenshot_urls': value['pageScreenshotUrls'],
|
|
94
96
|
'system_metadata': DocumentVersionMetadataToJSON(value['systemMetadata']),
|
|
95
97
|
};
|
|
@@ -57,6 +57,12 @@ export interface DocumentVersionMetadata {
|
|
|
57
57
|
* @memberof DocumentVersionMetadata
|
|
58
58
|
*/
|
|
59
59
|
fastPlaintextS3?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* S3 URI of the ASR transcript JSON (per-segment start_ms/end_ms/text); null for non-media. Chunks carry timings too, but at merged-chunk granularity, so this is the only per-segment source.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof DocumentVersionMetadata
|
|
64
|
+
*/
|
|
65
|
+
transcriptS3?: string | null;
|
|
60
66
|
/**
|
|
61
67
|
* Base64-encoded SHA256 hash of the uploaded source file
|
|
62
68
|
* @type {string}
|
|
@@ -42,6 +42,7 @@ function DocumentVersionMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'preconversionSourceS3': json['preconversion_source_s3'] == null ? undefined : json['preconversion_source_s3'],
|
|
43
43
|
'citedSourceS3': json['cited_source_s3'] == null ? undefined : json['cited_source_s3'],
|
|
44
44
|
'fastPlaintextS3': json['fast_plaintext_s3'] == null ? undefined : json['fast_plaintext_s3'],
|
|
45
|
+
'transcriptS3': json['transcript_s3'] == null ? undefined : json['transcript_s3'],
|
|
45
46
|
'hash': json['hash'] == null ? undefined : json['hash'],
|
|
46
47
|
'pipelineState': json['pipeline_state'] == null ? undefined : (0, PipelineState_1.PipelineStateFromJSON)(json['pipeline_state']),
|
|
47
48
|
'totalPages': json['total_pages'] == null ? undefined : json['total_pages'],
|
|
@@ -76,6 +77,7 @@ function DocumentVersionMetadataToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
76
77
|
'preconversion_source_s3': value['preconversionSourceS3'],
|
|
77
78
|
'cited_source_s3': value['citedSourceS3'],
|
|
78
79
|
'fast_plaintext_s3': value['fastPlaintextS3'],
|
|
80
|
+
'transcript_s3': value['transcriptS3'],
|
|
79
81
|
'hash': value['hash'],
|
|
80
82
|
'pipeline_state': (0, PipelineState_1.PipelineStateToJSON)(value['pipelineState']),
|
|
81
83
|
'total_pages': value['totalPages'],
|
|
@@ -57,6 +57,12 @@ export interface DocumentVersionMetadataUpdate {
|
|
|
57
57
|
* @memberof DocumentVersionMetadataUpdate
|
|
58
58
|
*/
|
|
59
59
|
fastPlaintextS3?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof DocumentVersionMetadataUpdate
|
|
64
|
+
*/
|
|
65
|
+
transcriptS3?: string | null;
|
|
60
66
|
/**
|
|
61
67
|
*
|
|
62
68
|
* @type {string}
|
|
@@ -43,6 +43,7 @@ function DocumentVersionMetadataUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
'citedSourceS3': json['cited_source_s3'] == null ? undefined : json['cited_source_s3'],
|
|
44
44
|
'standardPipelineJsonS3': json['standard_pipeline_json_s3'] == null ? undefined : json['standard_pipeline_json_s3'],
|
|
45
45
|
'fastPlaintextS3': json['fast_plaintext_s3'] == null ? undefined : json['fast_plaintext_s3'],
|
|
46
|
+
'transcriptS3': json['transcript_s3'] == null ? undefined : json['transcript_s3'],
|
|
46
47
|
'highAccuracyContentListS3': json['high_accuracy_content_list_s3'] == null ? undefined : json['high_accuracy_content_list_s3'],
|
|
47
48
|
'highAccuracyMiddleS3': json['high_accuracy_middle_s3'] == null ? undefined : json['high_accuracy_middle_s3'],
|
|
48
49
|
'hash': json['hash'] == null ? undefined : json['hash'],
|
|
@@ -79,6 +80,7 @@ function DocumentVersionMetadataUpdateToJSONTyped(value, ignoreDiscriminator = f
|
|
|
79
80
|
'cited_source_s3': value['citedSourceS3'],
|
|
80
81
|
'standard_pipeline_json_s3': value['standardPipelineJsonS3'],
|
|
81
82
|
'fast_plaintext_s3': value['fastPlaintextS3'],
|
|
83
|
+
'transcript_s3': value['transcriptS3'],
|
|
82
84
|
'high_accuracy_content_list_s3': value['highAccuracyContentListS3'],
|
|
83
85
|
'high_accuracy_middle_s3': value['highAccuracyMiddleS3'],
|
|
84
86
|
'hash': value['hash'],
|
|
@@ -104,6 +104,12 @@ export interface DocumentVersionResponse {
|
|
|
104
104
|
* @memberof DocumentVersionResponse
|
|
105
105
|
*/
|
|
106
106
|
fastPlaintextUrl?: string | null;
|
|
107
|
+
/**
|
|
108
|
+
* Presigned URL (6-hour validity) to the ASR transcript JSON with per-segment start_ms/end_ms/text; null for non-media. Chunks pack many segments into one, so this is what a client reads to follow a recording line by line.
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof DocumentVersionResponse
|
|
111
|
+
*/
|
|
112
|
+
transcriptUrl?: string | null;
|
|
107
113
|
/**
|
|
108
114
|
* Presigned URLs (6-hour validity) to per-page WEBP screenshots in page order: index 0 is page 1, index N-1 is page N. Populated only when the request includes include_page_screenshots=true; null otherwise.
|
|
109
115
|
* @type {Array<string>}
|
|
@@ -72,6 +72,7 @@ function DocumentVersionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
72
72
|
'assetS3Url': json['asset_s3_url'] == null ? undefined : json['asset_s3_url'],
|
|
73
73
|
'citedAssetS3Url': json['cited_asset_s3_url'] == null ? undefined : json['cited_asset_s3_url'],
|
|
74
74
|
'fastPlaintextUrl': json['fast_plaintext_url'] == null ? undefined : json['fast_plaintext_url'],
|
|
75
|
+
'transcriptUrl': json['transcript_url'] == null ? undefined : json['transcript_url'],
|
|
75
76
|
'pageScreenshotUrls': json['page_screenshot_urls'] == null ? undefined : json['page_screenshot_urls'],
|
|
76
77
|
'systemMetadata': json['system_metadata'] == null ? undefined : (0, DocumentVersionMetadata_1.DocumentVersionMetadataFromJSON)(json['system_metadata']),
|
|
77
78
|
};
|
|
@@ -98,6 +99,7 @@ function DocumentVersionResponseToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
98
99
|
'asset_s3_url': value['assetS3Url'],
|
|
99
100
|
'cited_asset_s3_url': value['citedAssetS3Url'],
|
|
100
101
|
'fast_plaintext_url': value['fastPlaintextUrl'],
|
|
102
|
+
'transcript_url': value['transcriptUrl'],
|
|
101
103
|
'page_screenshot_urls': value['pageScreenshotUrls'],
|
|
102
104
|
'system_metadata': (0, DocumentVersionMetadata_1.DocumentVersionMetadataToJSON)(value['systemMetadata']),
|
|
103
105
|
};
|
|
@@ -12,6 +12,7 @@ Name | Type
|
|
|
12
12
|
`preconversionSourceS3` | string
|
|
13
13
|
`citedSourceS3` | string
|
|
14
14
|
`fastPlaintextS3` | string
|
|
15
|
+
`transcriptS3` | string
|
|
15
16
|
`hash` | string
|
|
16
17
|
`pipelineState` | [PipelineState](PipelineState.md)
|
|
17
18
|
`totalPages` | number
|
|
@@ -44,6 +45,7 @@ const example = {
|
|
|
44
45
|
"preconversionSourceS3": null,
|
|
45
46
|
"citedSourceS3": null,
|
|
46
47
|
"fastPlaintextS3": null,
|
|
48
|
+
"transcriptS3": null,
|
|
47
49
|
"hash": null,
|
|
48
50
|
"pipelineState": null,
|
|
49
51
|
"totalPages": null,
|
|
@@ -13,6 +13,7 @@ Name | Type
|
|
|
13
13
|
`citedSourceS3` | string
|
|
14
14
|
`standardPipelineJsonS3` | string
|
|
15
15
|
`fastPlaintextS3` | string
|
|
16
|
+
`transcriptS3` | string
|
|
16
17
|
`highAccuracyContentListS3` | string
|
|
17
18
|
`highAccuracyMiddleS3` | string
|
|
18
19
|
`hash` | string
|
|
@@ -47,6 +48,7 @@ const example = {
|
|
|
47
48
|
"citedSourceS3": null,
|
|
48
49
|
"standardPipelineJsonS3": null,
|
|
49
50
|
"fastPlaintextS3": null,
|
|
51
|
+
"transcriptS3": null,
|
|
50
52
|
"highAccuracyContentListS3": null,
|
|
51
53
|
"highAccuracyMiddleS3": null,
|
|
52
54
|
"hash": null,
|
|
@@ -21,6 +21,7 @@ Name | Type
|
|
|
21
21
|
`assetS3Url` | string
|
|
22
22
|
`citedAssetS3Url` | string
|
|
23
23
|
`fastPlaintextUrl` | string
|
|
24
|
+
`transcriptUrl` | string
|
|
24
25
|
`pageScreenshotUrls` | Array<string>
|
|
25
26
|
`systemMetadata` | [DocumentVersionMetadata](DocumentVersionMetadata.md)
|
|
26
27
|
|
|
@@ -45,6 +46,7 @@ const example = {
|
|
|
45
46
|
"assetS3Url": null,
|
|
46
47
|
"citedAssetS3Url": null,
|
|
47
48
|
"fastPlaintextUrl": null,
|
|
49
|
+
"transcriptUrl": null,
|
|
48
50
|
"pageScreenshotUrls": null,
|
|
49
51
|
"systemMetadata": null,
|
|
50
52
|
} satisfies DocumentVersionResponse
|
package/package.json
CHANGED
|
@@ -80,6 +80,12 @@ export interface DocumentVersionMetadata {
|
|
|
80
80
|
* @memberof DocumentVersionMetadata
|
|
81
81
|
*/
|
|
82
82
|
fastPlaintextS3?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
* S3 URI of the ASR transcript JSON (per-segment start_ms/end_ms/text); null for non-media. Chunks carry timings too, but at merged-chunk granularity, so this is the only per-segment source.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof DocumentVersionMetadata
|
|
87
|
+
*/
|
|
88
|
+
transcriptS3?: string | null;
|
|
83
89
|
/**
|
|
84
90
|
* Base64-encoded SHA256 hash of the uploaded source file
|
|
85
91
|
* @type {string}
|
|
@@ -235,6 +241,7 @@ export function DocumentVersionMetadataFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
235
241
|
'preconversionSourceS3': json['preconversion_source_s3'] == null ? undefined : json['preconversion_source_s3'],
|
|
236
242
|
'citedSourceS3': json['cited_source_s3'] == null ? undefined : json['cited_source_s3'],
|
|
237
243
|
'fastPlaintextS3': json['fast_plaintext_s3'] == null ? undefined : json['fast_plaintext_s3'],
|
|
244
|
+
'transcriptS3': json['transcript_s3'] == null ? undefined : json['transcript_s3'],
|
|
238
245
|
'hash': json['hash'] == null ? undefined : json['hash'],
|
|
239
246
|
'pipelineState': json['pipeline_state'] == null ? undefined : PipelineStateFromJSON(json['pipeline_state']),
|
|
240
247
|
'totalPages': json['total_pages'] == null ? undefined : json['total_pages'],
|
|
@@ -273,6 +280,7 @@ export function DocumentVersionMetadataToJSONTyped(value?: DocumentVersionMetada
|
|
|
273
280
|
'preconversion_source_s3': value['preconversionSourceS3'],
|
|
274
281
|
'cited_source_s3': value['citedSourceS3'],
|
|
275
282
|
'fast_plaintext_s3': value['fastPlaintextS3'],
|
|
283
|
+
'transcript_s3': value['transcriptS3'],
|
|
276
284
|
'hash': value['hash'],
|
|
277
285
|
'pipeline_state': PipelineStateToJSON(value['pipelineState']),
|
|
278
286
|
'total_pages': value['totalPages'],
|
|
@@ -80,6 +80,12 @@ export interface DocumentVersionMetadataUpdate {
|
|
|
80
80
|
* @memberof DocumentVersionMetadataUpdate
|
|
81
81
|
*/
|
|
82
82
|
fastPlaintextS3?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof DocumentVersionMetadataUpdate
|
|
87
|
+
*/
|
|
88
|
+
transcriptS3?: string | null;
|
|
83
89
|
/**
|
|
84
90
|
*
|
|
85
91
|
* @type {string}
|
|
@@ -242,6 +248,7 @@ export function DocumentVersionMetadataUpdateFromJSONTyped(json: any, ignoreDisc
|
|
|
242
248
|
'citedSourceS3': json['cited_source_s3'] == null ? undefined : json['cited_source_s3'],
|
|
243
249
|
'standardPipelineJsonS3': json['standard_pipeline_json_s3'] == null ? undefined : json['standard_pipeline_json_s3'],
|
|
244
250
|
'fastPlaintextS3': json['fast_plaintext_s3'] == null ? undefined : json['fast_plaintext_s3'],
|
|
251
|
+
'transcriptS3': json['transcript_s3'] == null ? undefined : json['transcript_s3'],
|
|
245
252
|
'highAccuracyContentListS3': json['high_accuracy_content_list_s3'] == null ? undefined : json['high_accuracy_content_list_s3'],
|
|
246
253
|
'highAccuracyMiddleS3': json['high_accuracy_middle_s3'] == null ? undefined : json['high_accuracy_middle_s3'],
|
|
247
254
|
'hash': json['hash'] == null ? undefined : json['hash'],
|
|
@@ -282,6 +289,7 @@ export function DocumentVersionMetadataUpdateToJSONTyped(value?: DocumentVersion
|
|
|
282
289
|
'cited_source_s3': value['citedSourceS3'],
|
|
283
290
|
'standard_pipeline_json_s3': value['standardPipelineJsonS3'],
|
|
284
291
|
'fast_plaintext_s3': value['fastPlaintextS3'],
|
|
292
|
+
'transcript_s3': value['transcriptS3'],
|
|
285
293
|
'high_accuracy_content_list_s3': value['highAccuracyContentListS3'],
|
|
286
294
|
'high_accuracy_middle_s3': value['highAccuracyMiddleS3'],
|
|
287
295
|
'hash': value['hash'],
|
|
@@ -121,6 +121,12 @@ export interface DocumentVersionResponse {
|
|
|
121
121
|
* @memberof DocumentVersionResponse
|
|
122
122
|
*/
|
|
123
123
|
fastPlaintextUrl?: string | null;
|
|
124
|
+
/**
|
|
125
|
+
* Presigned URL (6-hour validity) to the ASR transcript JSON with per-segment start_ms/end_ms/text; null for non-media. Chunks pack many segments into one, so this is what a client reads to follow a recording line by line.
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof DocumentVersionResponse
|
|
128
|
+
*/
|
|
129
|
+
transcriptUrl?: string | null;
|
|
124
130
|
/**
|
|
125
131
|
* Presigned URLs (6-hour validity) to per-page WEBP screenshots in page order: index 0 is page 1, index N-1 is page N. Populated only when the request includes include_page_screenshots=true; null otherwise.
|
|
126
132
|
* @type {Array<string>}
|
|
@@ -194,6 +200,7 @@ export function DocumentVersionResponseFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
194
200
|
'assetS3Url': json['asset_s3_url'] == null ? undefined : json['asset_s3_url'],
|
|
195
201
|
'citedAssetS3Url': json['cited_asset_s3_url'] == null ? undefined : json['cited_asset_s3_url'],
|
|
196
202
|
'fastPlaintextUrl': json['fast_plaintext_url'] == null ? undefined : json['fast_plaintext_url'],
|
|
203
|
+
'transcriptUrl': json['transcript_url'] == null ? undefined : json['transcript_url'],
|
|
197
204
|
'pageScreenshotUrls': json['page_screenshot_urls'] == null ? undefined : json['page_screenshot_urls'],
|
|
198
205
|
'systemMetadata': json['system_metadata'] == null ? undefined : DocumentVersionMetadataFromJSON(json['system_metadata']),
|
|
199
206
|
};
|
|
@@ -224,6 +231,7 @@ export function DocumentVersionResponseToJSONTyped(value?: DocumentVersionRespon
|
|
|
224
231
|
'asset_s3_url': value['assetS3Url'],
|
|
225
232
|
'cited_asset_s3_url': value['citedAssetS3Url'],
|
|
226
233
|
'fast_plaintext_url': value['fastPlaintextUrl'],
|
|
234
|
+
'transcript_url': value['transcriptUrl'],
|
|
227
235
|
'page_screenshot_urls': value['pageScreenshotUrls'],
|
|
228
236
|
'system_metadata': DocumentVersionMetadataToJSON(value['systemMetadata']),
|
|
229
237
|
};
|