unstructured-transform-client 0.18.93 → 0.18.95
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/dist/_generated/apis/ExtractApi.d.ts +2 -2
- package/dist/_generated/apis/ExtractApi.js +2 -2
- package/dist/_generated/apis/ParseApi.d.ts +2 -2
- package/dist/_generated/apis/ParseApi.js +2 -2
- package/dist/_generated/apis/UploadApi.d.ts +2 -2
- package/dist/_generated/apis/UploadApi.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -31,12 +31,12 @@ export declare class ExtractApi extends runtime.BaseAPI {
|
|
|
31
31
|
*/
|
|
32
32
|
extractRunRequestOpts(requestParameters: ExtractRunRequest): Promise<runtime.RequestOpts>;
|
|
33
33
|
/**
|
|
34
|
-
* Takes either a parse ID or a document and a schema, then returns the fields. Multipart input is limited to 100 MB (104857600 bytes). Supported extensions are bmp, docx, heic, jpeg, jpg, pdf, png, pptx, and tiff.
|
|
34
|
+
* Takes either a parse ID or a document and a schema, then returns the fields. Multipart input is limited to 100 MB (104857600 bytes). Supported extensions are bmp, docx, heic, jpeg, jpg, pdf, png, pptx, and tiff. Audio and video (3gp, aac, avi, flac, flv, m4a, m4v, mkv, mov, mp2, mp3, mp4, mpeg, mpg, ogg, opus, wav, webm, wmv) are accepted only when the multimedia feature is enabled.
|
|
35
35
|
* Extract fields from a parse or document
|
|
36
36
|
*/
|
|
37
37
|
extractRunRaw(requestParameters: ExtractRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ParseResult>>;
|
|
38
38
|
/**
|
|
39
|
-
* Takes either a parse ID or a document and a schema, then returns the fields. Multipart input is limited to 100 MB (104857600 bytes). Supported extensions are bmp, docx, heic, jpeg, jpg, pdf, png, pptx, and tiff.
|
|
39
|
+
* Takes either a parse ID or a document and a schema, then returns the fields. Multipart input is limited to 100 MB (104857600 bytes). Supported extensions are bmp, docx, heic, jpeg, jpg, pdf, png, pptx, and tiff. Audio and video (3gp, aac, avi, flac, flv, m4a, m4v, mkv, mov, mp2, mp3, mp4, mpeg, mpg, ogg, opus, wav, webm, wmv) are accepted only when the multimedia feature is enabled.
|
|
40
40
|
* Extract fields from a parse or document
|
|
41
41
|
*/
|
|
42
42
|
extractRun(requestParameters: ExtractRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ParseResult>;
|
|
@@ -51,7 +51,7 @@ export class ExtractApi extends runtime.BaseAPI {
|
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
|
-
* Takes either a parse ID or a document and a schema, then returns the fields. Multipart input is limited to 100 MB (104857600 bytes). Supported extensions are bmp, docx, heic, jpeg, jpg, pdf, png, pptx, and tiff.
|
|
54
|
+
* Takes either a parse ID or a document and a schema, then returns the fields. Multipart input is limited to 100 MB (104857600 bytes). Supported extensions are bmp, docx, heic, jpeg, jpg, pdf, png, pptx, and tiff. Audio and video (3gp, aac, avi, flac, flv, m4a, m4v, mkv, mov, mp2, mp3, mp4, mpeg, mpg, ogg, opus, wav, webm, wmv) are accepted only when the multimedia feature is enabled.
|
|
55
55
|
* Extract fields from a parse or document
|
|
56
56
|
*/
|
|
57
57
|
async extractRunRaw(requestParameters, initOverrides) {
|
|
@@ -60,7 +60,7 @@ export class ExtractApi extends runtime.BaseAPI {
|
|
|
60
60
|
return new runtime.JSONApiResponse(response, (jsonValue) => ParseResultFromJSON(jsonValue));
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
* Takes either a parse ID or a document and a schema, then returns the fields. Multipart input is limited to 100 MB (104857600 bytes). Supported extensions are bmp, docx, heic, jpeg, jpg, pdf, png, pptx, and tiff.
|
|
63
|
+
* Takes either a parse ID or a document and a schema, then returns the fields. Multipart input is limited to 100 MB (104857600 bytes). Supported extensions are bmp, docx, heic, jpeg, jpg, pdf, png, pptx, and tiff. Audio and video (3gp, aac, avi, flac, flv, m4a, m4v, mkv, mov, mp2, mp3, mp4, mpeg, mpg, ogg, opus, wav, webm, wmv) are accepted only when the multimedia feature is enabled.
|
|
64
64
|
* Extract fields from a parse or document
|
|
65
65
|
*/
|
|
66
66
|
async extractRun(requestParameters, initOverrides) {
|
|
@@ -63,12 +63,12 @@ export declare class ParseApi extends runtime.BaseAPI {
|
|
|
63
63
|
*/
|
|
64
64
|
parseRunRequestOpts(requestParameters: ParseRunRequest): Promise<runtime.RequestOpts>;
|
|
65
65
|
/**
|
|
66
|
-
* Give us a document, get the parsed document back. For progress while a document processes, send Prefer wait=0, then open the 202\'s Location URL with Accept text/event-stream. Supplying schema adds an extraction step to the same job, so the document is parsed once. profile is optional; omitting it defaults to balanced. input is limited to 100 MB (104857600 bytes) and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, tiff.
|
|
66
|
+
* Give us a document, get the parsed document back. For progress while a document processes, send Prefer wait=0, then open the 202\'s Location URL with Accept text/event-stream. Supplying schema adds an extraction step to the same job, so the document is parsed once. profile is optional; omitting it defaults to balanced. input is limited to 100 MB (104857600 bytes) and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, tiff. Audio and video (3gp, aac, avi, flac, flv, m4a, m4v, mkv, mov, mp2, mp3, mp4, mpeg, mpg, ogg, opus, wav, webm, wmv) are accepted only when the multimedia feature is enabled.
|
|
67
67
|
* Parse a document
|
|
68
68
|
*/
|
|
69
69
|
parseRunRaw(requestParameters: ParseRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ParseResult>>;
|
|
70
70
|
/**
|
|
71
|
-
* Give us a document, get the parsed document back. For progress while a document processes, send Prefer wait=0, then open the 202\'s Location URL with Accept text/event-stream. Supplying schema adds an extraction step to the same job, so the document is parsed once. profile is optional; omitting it defaults to balanced. input is limited to 100 MB (104857600 bytes) and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, tiff.
|
|
71
|
+
* Give us a document, get the parsed document back. For progress while a document processes, send Prefer wait=0, then open the 202\'s Location URL with Accept text/event-stream. Supplying schema adds an extraction step to the same job, so the document is parsed once. profile is optional; omitting it defaults to balanced. input is limited to 100 MB (104857600 bytes) and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, tiff. Audio and video (3gp, aac, avi, flac, flv, m4a, m4v, mkv, mov, mp2, mp3, mp4, mpeg, mpg, ogg, opus, wav, webm, wmv) are accepted only when the multimedia feature is enabled.
|
|
72
72
|
* Parse a document
|
|
73
73
|
*/
|
|
74
74
|
parseRun(requestParameters?: ParseRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ParseResult>;
|
|
@@ -88,7 +88,7 @@ export class ParseApi extends runtime.BaseAPI {
|
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
|
-
* Give us a document, get the parsed document back. For progress while a document processes, send Prefer wait=0, then open the 202\'s Location URL with Accept text/event-stream. Supplying schema adds an extraction step to the same job, so the document is parsed once. profile is optional; omitting it defaults to balanced. input is limited to 100 MB (104857600 bytes) and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, tiff.
|
|
91
|
+
* Give us a document, get the parsed document back. For progress while a document processes, send Prefer wait=0, then open the 202\'s Location URL with Accept text/event-stream. Supplying schema adds an extraction step to the same job, so the document is parsed once. profile is optional; omitting it defaults to balanced. input is limited to 100 MB (104857600 bytes) and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, tiff. Audio and video (3gp, aac, avi, flac, flv, m4a, m4v, mkv, mov, mp2, mp3, mp4, mpeg, mpg, ogg, opus, wav, webm, wmv) are accepted only when the multimedia feature is enabled.
|
|
92
92
|
* Parse a document
|
|
93
93
|
*/
|
|
94
94
|
async parseRunRaw(requestParameters, initOverrides) {
|
|
@@ -97,7 +97,7 @@ export class ParseApi extends runtime.BaseAPI {
|
|
|
97
97
|
return new runtime.JSONApiResponse(response, (jsonValue) => ParseResultFromJSON(jsonValue));
|
|
98
98
|
}
|
|
99
99
|
/**
|
|
100
|
-
* Give us a document, get the parsed document back. For progress while a document processes, send Prefer wait=0, then open the 202\'s Location URL with Accept text/event-stream. Supplying schema adds an extraction step to the same job, so the document is parsed once. profile is optional; omitting it defaults to balanced. input is limited to 100 MB (104857600 bytes) and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, tiff.
|
|
100
|
+
* Give us a document, get the parsed document back. For progress while a document processes, send Prefer wait=0, then open the 202\'s Location URL with Accept text/event-stream. Supplying schema adds an extraction step to the same job, so the document is parsed once. profile is optional; omitting it defaults to balanced. input is limited to 100 MB (104857600 bytes) and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, tiff. Audio and video (3gp, aac, avi, flac, flv, m4a, m4v, mkv, mov, mp2, mp3, mp4, mpeg, mpg, ogg, opus, wav, webm, wmv) are accepted only when the multimedia feature is enabled.
|
|
101
101
|
* Parse a document
|
|
102
102
|
*/
|
|
103
103
|
async parseRun(requestParameters = {}, initOverrides) {
|
|
@@ -66,12 +66,12 @@ export declare class UploadApi extends runtime.BaseAPI {
|
|
|
66
66
|
*/
|
|
67
67
|
uploadRunRequestOpts(requestParameters: UploadRunRequest): Promise<runtime.RequestOpts>;
|
|
68
68
|
/**
|
|
69
|
-
* Upload a file to 24-hour scratch storage for subsequent parse/extract operations. Direct raw Parse and raw-document Extract inputs are materialized through this same storage with the same expiry and deletion behavior. Limited to 100 MB (104857600 bytes) and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, tiff.
|
|
69
|
+
* Upload a file to 24-hour scratch storage for subsequent parse/extract operations. Direct raw Parse and raw-document Extract inputs are materialized through this same storage with the same expiry and deletion behavior. Limited to 100 MB (104857600 bytes) and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, tiff. Audio and video (3gp, aac, avi, flac, flv, m4a, m4v, mkv, mov, mp2, mp3, mp4, mpeg, mpg, ogg, opus, wav, webm, wmv) are accepted only when the multimedia feature is enabled.
|
|
70
70
|
* Upload a file
|
|
71
71
|
*/
|
|
72
72
|
uploadRunRaw(requestParameters: UploadRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UploadResult>>;
|
|
73
73
|
/**
|
|
74
|
-
* Upload a file to 24-hour scratch storage for subsequent parse/extract operations. Direct raw Parse and raw-document Extract inputs are materialized through this same storage with the same expiry and deletion behavior. Limited to 100 MB (104857600 bytes) and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, tiff.
|
|
74
|
+
* Upload a file to 24-hour scratch storage for subsequent parse/extract operations. Direct raw Parse and raw-document Extract inputs are materialized through this same storage with the same expiry and deletion behavior. Limited to 100 MB (104857600 bytes) and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, tiff. Audio and video (3gp, aac, avi, flac, flv, m4a, m4v, mkv, mov, mp2, mp3, mp4, mpeg, mpg, ogg, opus, wav, webm, wmv) are accepted only when the multimedia feature is enabled.
|
|
75
75
|
* Upload a file
|
|
76
76
|
*/
|
|
77
77
|
uploadRun(requestParameters: UploadRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UploadResult>;
|
|
@@ -153,7 +153,7 @@ export class UploadApi extends runtime.BaseAPI {
|
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
155
|
/**
|
|
156
|
-
* Upload a file to 24-hour scratch storage for subsequent parse/extract operations. Direct raw Parse and raw-document Extract inputs are materialized through this same storage with the same expiry and deletion behavior. Limited to 100 MB (104857600 bytes) and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, tiff.
|
|
156
|
+
* Upload a file to 24-hour scratch storage for subsequent parse/extract operations. Direct raw Parse and raw-document Extract inputs are materialized through this same storage with the same expiry and deletion behavior. Limited to 100 MB (104857600 bytes) and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, tiff. Audio and video (3gp, aac, avi, flac, flv, m4a, m4v, mkv, mov, mp2, mp3, mp4, mpeg, mpg, ogg, opus, wav, webm, wmv) are accepted only when the multimedia feature is enabled.
|
|
157
157
|
* Upload a file
|
|
158
158
|
*/
|
|
159
159
|
async uploadRunRaw(requestParameters, initOverrides) {
|
|
@@ -162,7 +162,7 @@ export class UploadApi extends runtime.BaseAPI {
|
|
|
162
162
|
return new runtime.JSONApiResponse(response, (jsonValue) => UploadResultFromJSON(jsonValue));
|
|
163
163
|
}
|
|
164
164
|
/**
|
|
165
|
-
* Upload a file to 24-hour scratch storage for subsequent parse/extract operations. Direct raw Parse and raw-document Extract inputs are materialized through this same storage with the same expiry and deletion behavior. Limited to 100 MB (104857600 bytes) and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, tiff.
|
|
165
|
+
* Upload a file to 24-hour scratch storage for subsequent parse/extract operations. Direct raw Parse and raw-document Extract inputs are materialized through this same storage with the same expiry and deletion behavior. Limited to 100 MB (104857600 bytes) and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, tiff. Audio and video (3gp, aac, avi, flac, flv, m4a, m4v, mkv, mov, mp2, mp3, mp4, mpeg, mpg, ogg, opus, wav, webm, wmv) are accepted only when the multimedia feature is enabled.
|
|
166
166
|
* Upload a file
|
|
167
167
|
*/
|
|
168
168
|
async uploadRun(requestParameters, initOverrides) {
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
package/package.json
CHANGED