@intuned/sdk-dev-types
Advanced tools
Comparing version 1.0.7-spreadsheet.0 to 1.0.13-excel-links.0
@@ -42,3 +42,3 @@ import { Locator, Page } from "@intuned/playwright-core"; | ||
export declare function extractStructuredDataFromFile( | ||
file: ImageFile | PdfFile | SpreadsheetFile, | ||
file: ImageFile | PdfFile, | ||
options: { | ||
@@ -115,16 +115,2 @@ label: string; | ||
/** | ||
* Represents a Spreadsheet file source. For now, only Excel spreadsheets are supported. | ||
* | ||
* @interface | ||
* @property type - The type of the file, which is always "pdf". | ||
* @property sheetName - The name of the sheet to extract data from. | ||
* @property source - The source of the file data. | ||
*/ | ||
export interface SpreadsheetFile { | ||
type: "spreadsheet"; | ||
sheetName: string; | ||
source: FileBufferSource | FileUrlSource | FileBase64Source; | ||
} | ||
/** | ||
* Extracts tables from a file (ImageFile or PdfFile). | ||
@@ -156,3 +142,3 @@ * | ||
export declare function extractTablesFromFile( | ||
file: ImageFile | PdfFile | SpreadsheetFile, | ||
file: ImageFile | PdfFile, | ||
options: { | ||
@@ -202,3 +188,3 @@ label: string; | ||
export declare function extractMarkdownFromFile( | ||
file: ImageFile | PdfFile | SpreadsheetFile, | ||
file: ImageFile | PdfFile, | ||
options: { | ||
@@ -305,8 +291,14 @@ label: string; | ||
model: | ||
| "claude-3-haiku" | ||
| "claude-3-haiku-20240307" | ||
| "claude-3-opus" | ||
| "claude-3-opus-20240229" | ||
| "claude-3-sonnet" | ||
| "claude-3-sonnet-20240229" | ||
| "claude-3.5-sonnet" | ||
| "claude-3-haiku" | ||
| "claude-3-5-sonnet-20240620" | ||
| "gpt4-turbo" | ||
| "gpt-4o"; | ||
| "gpt-4-turbo-2024-04-09" | ||
| "gpt-4o" | ||
| "gpt-4o-2024-05-13"; | ||
type: "IMAGE"; | ||
@@ -325,9 +317,16 @@ } | ||
model: | ||
| "claude-3-haiku" | ||
| "claude-3-haiku-20240307" | ||
| "claude-3-opus" | ||
| "claude-3-opus-20240229" | ||
| "claude-3-sonnet" | ||
| "claude-3-sonnet-20240229" | ||
| "claude-3.5-sonnet" | ||
| "claude-3-haiku" | ||
| "claude-3-5-sonnet-20240620" | ||
| "gpt4-turbo" | ||
| "gpt-4-turbo-2024-04-09" | ||
| "gpt3.5-turbo" | ||
| "gpt-4o"; | ||
| "gpt-3.5-turbo-0125" | ||
| "gpt-4o" | ||
| "gpt-4o-2024-05-13"; | ||
type: "HTML"; | ||
@@ -345,9 +344,16 @@ } | ||
model: | ||
| "claude-3-haiku" | ||
| "claude-3-haiku-20240307" | ||
| "claude-3-opus" | ||
| "claude-3-opus-20240229" | ||
| "claude-3-sonnet" | ||
| "claude-3-sonnet-20240229" | ||
| "claude-3.5-sonnet" | ||
| "claude-3-haiku" | ||
| "claude-3-5-sonnet-20240620" | ||
| "gpt4-turbo" | ||
| "gpt-4-turbo-2024-04-09" | ||
| "gpt3.5-turbo" | ||
| "gpt-4o"; | ||
| "gpt-3.5-turbo-0125" | ||
| "gpt-4o" | ||
| "gpt-4o-2024-05-13"; | ||
type: "MARKDOWN"; | ||
@@ -365,8 +371,14 @@ } | ||
model: | ||
| "claude-3-haiku" | ||
| "claude-3-haiku-20240307" | ||
| "claude-3-opus" | ||
| "claude-3-opus-20240229" | ||
| "claude-3-sonnet" | ||
| "claude-3-sonnet-20240229" | ||
| "claude-3.5-sonnet" | ||
| "claude-3-haiku" | ||
| "claude-3-5-sonnet-20240620" | ||
| "gpt4-turbo" | ||
| "gpt-4o"; | ||
| "gpt-4-turbo-2024-04-09" | ||
| "gpt-4o" | ||
| "gpt-4o-2024-05-13"; | ||
type: "IMAGE"; | ||
@@ -425,9 +437,16 @@ } | ||
model: | ||
| "claude-3-haiku" | ||
| "claude-3-haiku-20240307" | ||
| "claude-3-opus" | ||
| "claude-3-opus-20240229" | ||
| "claude-3-sonnet" | ||
| "claude-3-sonnet-20240229" | ||
| "claude-3.5-sonnet" | ||
| "claude-3-haiku" | ||
| "claude-3-5-sonnet-20240620" | ||
| "gpt4-turbo" | ||
| "gpt-4-turbo-2024-04-09" | ||
| "gpt3.5-turbo" | ||
| "gpt-4o"; | ||
| "gpt-3.5-turbo-0125" | ||
| "gpt-4o" | ||
| "gpt-4o-2024-05-13"; | ||
} | ||
@@ -434,0 +453,0 @@ ): Promise<any>; |
@@ -12,3 +12,2 @@ export interface BasicSchema { | ||
pattern?: string; | ||
format?: string; | ||
} | ||
@@ -15,0 +14,0 @@ |
@@ -220,2 +220,3 @@ import type { Page, Locator } from "@intuned/playwright-core"; | ||
* | ||
* @throws {Error} Throws an error if the endpoint option is provided in the uploadFileToS3 method options. | ||
* @returns {string} The URL descriptor of the file. | ||
@@ -226,2 +227,9 @@ */ | ||
/** | ||
* Gets file path in the s3 bucket | ||
* | ||
* @returns {string} The file path in the s3 bucket. | ||
*/ | ||
filePath(): string; | ||
/** | ||
* Generates a signed URL for the file. | ||
@@ -334,2 +342,3 @@ * | ||
suggestedFilename: () => string | undefined; | ||
mimeType: () => Promise<string | undefined>; | ||
} | ||
@@ -447,3 +456,7 @@ | ||
file: Download | string | Uint8Array | Buffer | ReadStream, | ||
options: { fileNameOverride?: string; s3Configs?: S3Configs } | ||
options?: { | ||
fileNameOverride?: string; | ||
s3Configs?: S3Configs; | ||
endpoint?: string; | ||
} | ||
): Promise<File>; |
{ | ||
"name": "@intuned/sdk-dev-types", | ||
"version": "1.0.7-spreadsheet.0", | ||
"version": "1.0.13-excel-links.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
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
68278
2071