Socket
Socket
Sign inDemoInstall

@intuned/runner-types

Package Overview
Dependencies
Maintainers
5
Versions
245
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@intuned/runner-types - npm Package Compare versions

Comparing version 0.12.1 to 0.12.2

70

index.d.ts

@@ -291,3 +291,3 @@ declare module '@intuned/runner' {

}>;
const sourceSchema: z.ZodObject<{
const pdfSourceSchema: z.ZodObject<{
type: z.ZodLiteral<"pdf">;

@@ -341,3 +341,53 @@ pageNumbers: z.ZodUnion<[

}>;
export type Source = z.infer<typeof sourceSchema>;
export type PdfSource = z.infer<typeof pdfSourceSchema>;
const excelSourceSchema: z.ZodObject<{
type: z.ZodLiteral<"excel">;
location: z.ZodUnion<[
z.ZodObject<{
type: z.ZodLiteral<"Buffer">;
buffer: z.ZodType<Buffer, z.ZodTypeDef, Buffer>;
}, "strip", z.ZodTypeAny, {
buffer: Buffer;
type: "Buffer";
}, {
buffer: Buffer;
type: "Buffer";
}>,
z.ZodObject<{
type: z.ZodLiteral<"Url">;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "Url";
url: string;
}, {
type: "Url";
url: string;
}>
]>;
sheetsNames: z.ZodUnion<[
z.ZodArray<z.ZodString, "many">,
z.ZodLiteral<"*">
]>;
}, "strip", z.ZodTypeAny, {
type: "excel";
location: {
buffer: Buffer;
type: "Buffer";
} | {
type: "Url";
url: string;
};
sheetsNames: (string[] | "*") & (string[] | "*" | undefined);
}, {
type: "excel";
location: {
buffer: Buffer;
type: "Buffer";
} | {
type: "Url";
url: string;
};
sheetsNames: (string[] | "*") & (string[] | "*" | undefined);
}>;
export type ExcelSource = z.infer<typeof excelSourceSchema>;
const fileExtractionPropertiesSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[

@@ -529,6 +579,12 @@ z.ZodObject<{

export type FileExtractionPropertyType = FileExtractionProperties[keyof FileExtractionProperties];
function extractFromPdfImproved(entityName: string, sourceInput: Source, fileExtractionPropertiesInput: FileExtractionProperties): Promise<any>;
export function extractTablesFromPdf(source: Omit<Source, "type">): Promise<{
function extractFromPdfImproved(entityName: string, sourceInput: PdfSource, fileExtractionPropertiesInput: FileExtractionProperties): Promise<any>;
function extractTablesFromExcel(source: Omit<ExcelSource, "type">): Promise<{
pages: {
title: string | undefined;
content: (string | undefined | number | Date)[][];
}[][];
}>;
export function extractTablesFromPdf(source: Omit<PdfSource, "type">): Promise<{
pages: {
title: string | undefined;
content: (string | undefined)[][];

@@ -559,2 +615,8 @@ }[][];

}>;
static extractTablesFromExcel(...extractTablesFromExcelParams: Parameters<typeof extractTablesFromExcel>): Promise<{
pages: {
title: string | undefined;
content: (string | number | Date | undefined)[][];
}[][];
}>;
}

@@ -561,0 +623,0 @@

2

package.json
{
"name": "@intuned/runner-types",
"version": "0.12.1",
"version": "0.12.2",
"description": "intuned runner types",

@@ -5,0 +5,0 @@ "author": "Intuned Team",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc