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.
@@ -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. A multipart input is limited to 50 MB and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, 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.
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. A multipart input is limited to 50 MB and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, 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.
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. A multipart input is limited to 50 MB and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, 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.
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. A multipart input is limited to 50 MB and to the supported extensions: bmp, docx, heic, jpeg, jpg, pdf, png, pptx, 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.
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 50 MB 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.
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 50 MB 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.
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 50 MB 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.
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 50 MB 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.
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 50 MB 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.
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 50 MB 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.
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 50 MB 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.
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 50 MB 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.
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
@@ -12,4 +12,4 @@
12
12
  * (tools/release/derived_versions.py); change the series only for a
13
13
  * deliberate minor or major release.
14
14
  */
15
- export declare const VERSION = "0.18.87";
15
+ export declare const VERSION = "0.18.89";
package/dist/version.js CHANGED
@@ -12,4 +12,4 @@
12
12
  * (tools/release/derived_versions.py); change the series only for a
13
13
  * deliberate minor or major release.
14
14
  */
15
- export const VERSION = "0.18.87";
15
+ export const VERSION = "0.18.89";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unstructured-transform-client",
3
- "version": "0.18.87",
3
+ "version": "0.18.89",
4
4
  "description": "TypeScript client for the Unstructured Transform v2 API — one document in, structured output back.",
5
5
  "license": "MIT",
6
6
  "author": "Unstructured",