@intuned/sdk-dev-types
Advanced tools
Comparing version 1.0.2-0.run-attempts.1 to 1.0.2-1.run-attempts.0
@@ -42,3 +42,3 @@ import { Locator, Page } from "@intuned/playwright-core"; | ||
export declare function extractStructuredDataFromFile( | ||
file: ImageFile | PdfFile | SpreadsheetFile, | ||
file: ImageFile | PdfFile | SpreadsheetFile | DocumentFile, | ||
options: { | ||
@@ -115,3 +115,3 @@ label: string; | ||
/** | ||
* Represents a Spreadsheet file source. For now, only Excel spreadsheets are supported. | ||
* Represents a Spreadsheet file source. For now, only .xlsx Excel spreadsheets are supported. | ||
* | ||
@@ -122,3 +122,2 @@ * @interface | ||
* @property source - The source of the file data. | ||
* @property config - Optional. Configurations on how the spreadsheet should be processed when it is converted to a document. | ||
*/ | ||
@@ -132,2 +131,17 @@ export interface SpreadsheetFile { | ||
/** | ||
* Represents a Document file source. For now, only .docx Word files are supported. | ||
* | ||
* @interface | ||
* @property type - The type of the file, which is always "document". | ||
* @property [pages] - Optional. The specific pages of the document to extract data from, if not provided, all page will be included. | ||
* @property source - The source of the file data. | ||
* @property config - Optional. Configurations on how the spreadsheet should be processed when it is converted to a document. | ||
*/ | ||
export interface DocumentFile { | ||
type: "document"; | ||
pages?: number[]; | ||
source: FileBufferSource | FileUrlSource | FileBase64Source; | ||
} | ||
/** | ||
* Extracts tables from a file (ImageFile or PdfFile). | ||
@@ -159,3 +173,3 @@ * | ||
export declare function extractTablesFromFile( | ||
file: ImageFile | PdfFile | SpreadsheetFile, | ||
file: ImageFile | PdfFile | SpreadsheetFile | DocumentFile, | ||
options: { | ||
@@ -205,3 +219,3 @@ label: string; | ||
export declare function extractMarkdownFromFile( | ||
file: ImageFile | PdfFile | SpreadsheetFile, | ||
file: ImageFile | PdfFile | SpreadsheetFile | DocumentFile, | ||
options: { | ||
@@ -208,0 +222,0 @@ label: string; |
{ | ||
"name": "@intuned/sdk-dev-types", | ||
"version": "1.0.20.run-attempts.1", | ||
"version": "1.0.21.run-attempts.0", | ||
"description": "intuned runner types", | ||
@@ -5,0 +5,0 @@ "author": "Intuned Team", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
69800
2112
3