@pdfvector/client 0.1.3 → 0.2.1
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/CHANGELOG.md +19 -0
- package/README.md +7 -1
- package/dist/contract.cjs +219 -85
- package/dist/contract.d.cts +22 -1
- package/dist/contract.d.mts +22 -1
- package/dist/contract.mjs +219 -85
- package/dist/index.cjs +5 -0
- package/dist/index.d.cts +24 -1
- package/dist/index.d.mts +24 -1
- package/dist/index.mjs +5 -0
- package/package.json +2 -2
package/dist/contract.d.cts
CHANGED
|
@@ -1996,6 +1996,22 @@ declare const bankStatementParse: ContractProcedureBuilderWithInputOutput<z.ZodO
|
|
|
1996
1996
|
requestId: z.ZodNumber;
|
|
1997
1997
|
html: z.ZodOptional<z.ZodString>;
|
|
1998
1998
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1999
|
+
declare const documentParse: ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2000
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
2001
|
+
file: z.ZodOptional<z.ZodFile>;
|
|
2002
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2003
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2004
|
+
markdown: z.ZodString;
|
|
2005
|
+
pageCount: z.ZodNumber;
|
|
2006
|
+
model: z.ZodEnum<{
|
|
2007
|
+
max: "max";
|
|
2008
|
+
mini: "mini";
|
|
2009
|
+
nano: "nano";
|
|
2010
|
+
pro: "pro";
|
|
2011
|
+
}>;
|
|
2012
|
+
requestId: z.ZodNumber;
|
|
2013
|
+
html: z.ZodOptional<z.ZodString>;
|
|
2014
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1999
2015
|
declare const generateSchema: ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2000
2016
|
instruction: z.ZodString;
|
|
2001
2017
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2018,6 +2034,11 @@ declare const rateLimitStatus: ContractProcedureBuilderWithOutput<Schema$1<unkno
|
|
|
2018
2034
|
used: z.ZodNumber;
|
|
2019
2035
|
remaining: z.ZodNumber;
|
|
2020
2036
|
}, z.core.$strip>;
|
|
2037
|
+
documentParse: z.ZodObject<{
|
|
2038
|
+
limit: z.ZodNumber;
|
|
2039
|
+
used: z.ZodNumber;
|
|
2040
|
+
remaining: z.ZodNumber;
|
|
2041
|
+
}, z.core.$strip>;
|
|
2021
2042
|
generateSchema: z.ZodObject<{
|
|
2022
2043
|
limit: z.ZodNumber;
|
|
2023
2044
|
used: z.ZodNumber;
|
|
@@ -2030,7 +2051,7 @@ declare const rateLimitStatus: ContractProcedureBuilderWithOutput<Schema$1<unkno
|
|
|
2030
2051
|
}, z.core.$strip>;
|
|
2031
2052
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
2032
2053
|
declare namespace index_d_exports$3 {
|
|
2033
|
-
export { bankStatementParse, generateSchema, publicationPdfUrl, rateLimitStatus };
|
|
2054
|
+
export { bankStatementParse, documentParse, generateSchema, publicationPdfUrl, rateLimitStatus };
|
|
2034
2055
|
}
|
|
2035
2056
|
declare const ask$1: ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2036
2057
|
url: z.ZodOptional<z.ZodURL>;
|
package/dist/contract.d.mts
CHANGED
|
@@ -1996,6 +1996,22 @@ declare const bankStatementParse: ContractProcedureBuilderWithInputOutput<z.ZodO
|
|
|
1996
1996
|
requestId: z.ZodNumber;
|
|
1997
1997
|
html: z.ZodOptional<z.ZodString>;
|
|
1998
1998
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1999
|
+
declare const documentParse: ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2000
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
2001
|
+
file: z.ZodOptional<z.ZodFile>;
|
|
2002
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
2003
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2004
|
+
markdown: z.ZodString;
|
|
2005
|
+
pageCount: z.ZodNumber;
|
|
2006
|
+
model: z.ZodEnum<{
|
|
2007
|
+
max: "max";
|
|
2008
|
+
mini: "mini";
|
|
2009
|
+
nano: "nano";
|
|
2010
|
+
pro: "pro";
|
|
2011
|
+
}>;
|
|
2012
|
+
requestId: z.ZodNumber;
|
|
2013
|
+
html: z.ZodOptional<z.ZodString>;
|
|
2014
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1999
2015
|
declare const generateSchema: ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2000
2016
|
instruction: z.ZodString;
|
|
2001
2017
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2018,6 +2034,11 @@ declare const rateLimitStatus: ContractProcedureBuilderWithOutput<Schema$1<unkno
|
|
|
2018
2034
|
used: z.ZodNumber;
|
|
2019
2035
|
remaining: z.ZodNumber;
|
|
2020
2036
|
}, z.core.$strip>;
|
|
2037
|
+
documentParse: z.ZodObject<{
|
|
2038
|
+
limit: z.ZodNumber;
|
|
2039
|
+
used: z.ZodNumber;
|
|
2040
|
+
remaining: z.ZodNumber;
|
|
2041
|
+
}, z.core.$strip>;
|
|
2021
2042
|
generateSchema: z.ZodObject<{
|
|
2022
2043
|
limit: z.ZodNumber;
|
|
2023
2044
|
used: z.ZodNumber;
|
|
@@ -2030,7 +2051,7 @@ declare const rateLimitStatus: ContractProcedureBuilderWithOutput<Schema$1<unkno
|
|
|
2030
2051
|
}, z.core.$strip>;
|
|
2031
2052
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
2032
2053
|
declare namespace index_d_exports$3 {
|
|
2033
|
-
export { bankStatementParse, generateSchema, publicationPdfUrl, rateLimitStatus };
|
|
2054
|
+
export { bankStatementParse, documentParse, generateSchema, publicationPdfUrl, rateLimitStatus };
|
|
2034
2055
|
}
|
|
2035
2056
|
declare const ask$1: ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2036
2057
|
url: z.ZodOptional<z.ZodURL>;
|