unstructured-transform-client 0.18.87 → 0.18.89
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/_generated/models/ErrorCode.d.ts +1 -0
- package/dist/_generated/models/ErrorCode.js +1 -0
- 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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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.
|
|
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
|
|
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.
|
|
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
|
|
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.
|
|
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
|
+
* 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.
|
|
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
|
|
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.
|
|
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
|
|
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.
|
|
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
|
|
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.
|
|
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
|
|
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.
|
|
166
166
|
* Upload a file
|
|
167
167
|
*/
|
|
168
168
|
async uploadRun(requestParameters, initOverrides) {
|
|
@@ -30,6 +30,7 @@ export declare const ErrorCode: {
|
|
|
30
30
|
readonly ParseJobFailed: "parse_job_failed";
|
|
31
31
|
readonly InputUrlExpired: "input_url_expired";
|
|
32
32
|
readonly ProfileUnavailable: "profile_unavailable";
|
|
33
|
+
readonly ProfileTemporarilyUnavailable: "profile_temporarily_unavailable";
|
|
33
34
|
readonly ResultExpired: "result_expired";
|
|
34
35
|
readonly ParseNotComplete: "parse_not_complete";
|
|
35
36
|
readonly ParseExpired: "parse_expired";
|
|
@@ -32,6 +32,7 @@ export const ErrorCode = {
|
|
|
32
32
|
ParseJobFailed: 'parse_job_failed',
|
|
33
33
|
InputUrlExpired: 'input_url_expired',
|
|
34
34
|
ProfileUnavailable: 'profile_unavailable',
|
|
35
|
+
ProfileTemporarilyUnavailable: 'profile_temporarily_unavailable',
|
|
35
36
|
ResultExpired: 'result_expired',
|
|
36
37
|
ParseNotComplete: 'parse_not_complete',
|
|
37
38
|
ParseExpired: 'parse_expired',
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
package/package.json
CHANGED