@pdfvector/instance-contract 0.0.42 → 0.0.43

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.
Files changed (42) hide show
  1. package/.tsc/lib/index.d.ts +3 -3
  2. package/.tsc/lib/index.js +3 -3
  3. package/.tsc/lib/pdfvector-model.d.ts +1 -1
  4. package/.tsc/lib/router/academic/fetch.js +1 -1
  5. package/.tsc/lib/router/academic/find-citations.js +1 -1
  6. package/.tsc/lib/router/academic/index.d.ts +6 -6
  7. package/.tsc/lib/router/academic/index.js +6 -6
  8. package/.tsc/lib/router/academic/paper-graph.js +1 -1
  9. package/.tsc/lib/router/academic/search-grants.js +1 -1
  10. package/.tsc/lib/router/academic/search.js +1 -1
  11. package/.tsc/lib/router/academic/similar-papers.js +1 -1
  12. package/.tsc/lib/router/admin/index.d.ts +6 -6
  13. package/.tsc/lib/router/admin/index.js +6 -6
  14. package/.tsc/lib/router/authenticate/index.d.ts +1 -1
  15. package/.tsc/lib/router/authenticate/index.js +1 -1
  16. package/.tsc/lib/router/bankStatement/ask.js +3 -3
  17. package/.tsc/lib/router/bankStatement/extract.js +4 -4
  18. package/.tsc/lib/router/bankStatement/index.d.ts +3 -3
  19. package/.tsc/lib/router/bankStatement/index.js +3 -3
  20. package/.tsc/lib/router/bankStatement/parse.js +2 -2
  21. package/.tsc/lib/router/document/ask.js +3 -3
  22. package/.tsc/lib/router/document/extract.js +4 -4
  23. package/.tsc/lib/router/document/index.d.ts +3 -3
  24. package/.tsc/lib/router/document/index.js +3 -3
  25. package/.tsc/lib/router/document/parse.js +3 -3
  26. package/.tsc/lib/router/free/bank-statement-parse.js +1 -1
  27. package/.tsc/lib/router/free/index.d.ts +4 -4
  28. package/.tsc/lib/router/free/index.js +4 -4
  29. package/.tsc/lib/router/identity/ask.js +3 -3
  30. package/.tsc/lib/router/identity/extract.js +4 -4
  31. package/.tsc/lib/router/identity/index.d.ts +3 -3
  32. package/.tsc/lib/router/identity/index.js +3 -3
  33. package/.tsc/lib/router/identity/parse.js +2 -2
  34. package/.tsc/lib/router/index.d.ts +8 -8
  35. package/.tsc/lib/router/index.js +8 -8
  36. package/.tsc/lib/router/invoice/ask.js +3 -3
  37. package/.tsc/lib/router/invoice/extract.js +4 -4
  38. package/.tsc/lib/router/invoice/index.d.ts +3 -3
  39. package/.tsc/lib/router/invoice/index.js +3 -3
  40. package/.tsc/lib/router/invoice/parse.js +2 -2
  41. package/CHANGELOG.md +10 -0
  42. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
1
  import type { InferContractRouterInputs, InferContractRouterOutputs } from "@orpc/contract";
2
- import * as contract from "./router";
2
+ import * as contract from "./router/index.js";
3
3
  export { contract };
4
4
  export type ContractInputs = InferContractRouterInputs<typeof contract>;
5
5
  export type ContractOutputs = InferContractRouterOutputs<typeof contract>;
6
6
  import { createORPCClient, ORPCError, onError } from "@orpc/client";
7
7
  import { RPCLink } from "@orpc/client/fetch";
8
8
  export type { ContractRouterClient } from "@orpc/contract";
9
- export * from "./pdfvector-model";
10
- export * from "./pdfvector-model-schema";
9
+ export * from "./pdfvector-model.js";
10
+ export * from "./pdfvector-model-schema.js";
11
11
  export { createORPCClient, ORPCError, onError, RPCLink };
package/.tsc/lib/index.js CHANGED
@@ -1,7 +1,7 @@
1
- import * as contract from "./router";
1
+ import * as contract from "./router/index.js";
2
2
  export { contract };
3
3
  import { createORPCClient, ORPCError, onError } from "@orpc/client";
4
4
  import { RPCLink } from "@orpc/client/fetch";
5
- export * from "./pdfvector-model";
6
- export * from "./pdfvector-model-schema";
5
+ export * from "./pdfvector-model.js";
6
+ export * from "./pdfvector-model-schema.js";
7
7
  export { createORPCClient, ORPCError, onError, RPCLink };
@@ -1,3 +1,3 @@
1
1
  import type { z } from "zod";
2
- import type { pdfvectorModelSchema } from "./pdfvector-model-schema";
2
+ import type { pdfvectorModelSchema } from "./pdfvector-model-schema.js";
3
3
  export type PDFVectorModel = z.infer<typeof pdfvectorModelSchema>;
@@ -1,7 +1,7 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { academicCreditCosts } from "@pdfvector/util";
3
3
  import { z } from "zod";
4
- import { providerSchema } from "./provider";
4
+ import { providerSchema } from "./provider.js";
5
5
  const authorSchema = z.object({
6
6
  name: z.string(),
7
7
  url: z.string().nullish(),
@@ -1,7 +1,7 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { academicCreditCosts } from "@pdfvector/util";
3
3
  import { z } from "zod";
4
- import { providerSchema } from "./provider";
4
+ import { providerSchema } from "./provider.js";
5
5
  const authorSchema = z.object({
6
6
  name: z.string(),
7
7
  url: z.string().nullish(),
@@ -1,6 +1,6 @@
1
- export * from "./fetch";
2
- export * from "./find-citations";
3
- export * from "./paper-graph";
4
- export * from "./search";
5
- export * from "./search-grants";
6
- export * from "./similar-papers";
1
+ export * from "./fetch.js";
2
+ export * from "./find-citations.js";
3
+ export * from "./paper-graph.js";
4
+ export * from "./search.js";
5
+ export * from "./search-grants.js";
6
+ export * from "./similar-papers.js";
@@ -1,6 +1,6 @@
1
- export * from "./fetch";
2
- export * from "./find-citations";
3
- export * from "./paper-graph";
4
- export * from "./search";
5
- export * from "./search-grants";
6
- export * from "./similar-papers";
1
+ export * from "./fetch.js";
2
+ export * from "./find-citations.js";
3
+ export * from "./paper-graph.js";
4
+ export * from "./search.js";
5
+ export * from "./search-grants.js";
6
+ export * from "./similar-papers.js";
@@ -1,7 +1,7 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { academicCreditCosts } from "@pdfvector/util";
3
3
  import { z } from "zod";
4
- import { providerSchema } from "./provider";
4
+ import { providerSchema } from "./provider.js";
5
5
  const authorSchema = z.object({
6
6
  name: z.string(),
7
7
  url: z.string().nullish(),
@@ -1,7 +1,7 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { academicCreditCosts } from "@pdfvector/util";
3
3
  import { z } from "zod";
4
- import { grantProviderSchema } from "./provider";
4
+ import { grantProviderSchema } from "./provider.js";
5
5
  const grantSchema = z.object({
6
6
  sourceId: z.string().nullish(),
7
7
  title: z.string().nullish(),
@@ -1,7 +1,7 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { academicCreditCosts } from "@pdfvector/util";
3
3
  import { z } from "zod";
4
- import { providerSchema } from "./provider";
4
+ import { providerSchema } from "./provider.js";
5
5
  const authorSchema = z.object({
6
6
  name: z.string(),
7
7
  url: z.string().nullish(),
@@ -1,7 +1,7 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { academicCreditCosts } from "@pdfvector/util";
3
3
  import { z } from "zod";
4
- import { providerSchema } from "./provider";
4
+ import { providerSchema } from "./provider.js";
5
5
  const authorSchema = z.object({
6
6
  name: z.string(),
7
7
  url: z.string().nullish(),
@@ -1,6 +1,6 @@
1
- export * from "./get-free-usage-records";
2
- export * from "./get-usage-records";
3
- export * from "./health-check";
4
- export * from "./set-domain";
5
- export * from "./set-environment";
6
- export * from "./set-version";
1
+ export * from "./get-free-usage-records.js";
2
+ export * from "./get-usage-records.js";
3
+ export * from "./health-check.js";
4
+ export * from "./set-domain.js";
5
+ export * from "./set-environment.js";
6
+ export * from "./set-version.js";
@@ -1,6 +1,6 @@
1
- export * from "./get-free-usage-records";
2
- export * from "./get-usage-records";
3
- export * from "./health-check";
4
- export * from "./set-domain";
5
- export * from "./set-environment";
6
- export * from "./set-version";
1
+ export * from "./get-free-usage-records.js";
2
+ export * from "./get-usage-records.js";
3
+ export * from "./health-check.js";
4
+ export * from "./set-domain.js";
5
+ export * from "./set-environment.js";
6
+ export * from "./set-version.js";
@@ -1 +1 @@
1
- export * from "./validate-credential";
1
+ export * from "./validate-credential.js";
@@ -1 +1 @@
1
- export * from "./validate-credential";
1
+ export * from "./validate-credential.js";
@@ -1,8 +1,8 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { z } from "zod";
3
- import { pdfvectorModelSchema } from "../../pdfvector-model-schema";
4
- import { outputAskModelDescription, specializedAskModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes";
5
- import { getDefaultSpec } from "./get-default-spec";
3
+ import { pdfvectorModelSchema } from "../../pdfvector-model-schema.js";
4
+ import { outputAskModelDescription, specializedAskModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes.js";
5
+ import { getDefaultSpec } from "./get-default-spec.js";
6
6
  const specializedModelSchema = z
7
7
  .enum(["auto", ...pdfvectorModelSchema.options])
8
8
  .default("auto");
@@ -1,9 +1,9 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { z } from "zod";
3
- import { jsonSchemaInput } from "../../json-schema-input";
4
- import { pdfvectorModelSchema } from "../../pdfvector-model-schema";
5
- import { outputExtractModelDescription, specializedExtractModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes";
6
- import { getDefaultSpec } from "./get-default-spec";
3
+ import { jsonSchemaInput } from "../../json-schema-input.js";
4
+ import { pdfvectorModelSchema } from "../../pdfvector-model-schema.js";
5
+ import { outputExtractModelDescription, specializedExtractModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes.js";
6
+ import { getDefaultSpec } from "./get-default-spec.js";
7
7
  const specializedModelSchema = z
8
8
  .enum(["auto", ...pdfvectorModelSchema.options])
9
9
  .default("auto");
@@ -1,3 +1,3 @@
1
- export * from "./ask";
2
- export * from "./extract";
3
- export * from "./parse";
1
+ export * from "./ask.js";
2
+ export * from "./extract.js";
3
+ export * from "./parse.js";
@@ -1,3 +1,3 @@
1
- export * from "./ask";
2
- export * from "./extract";
3
- export * from "./parse";
1
+ export * from "./ask.js";
2
+ export * from "./extract.js";
3
+ export * from "./parse.js";
@@ -1,7 +1,7 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { z } from "zod";
3
- import { specializedParseModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes";
4
- import { getDefaultSpec } from "./get-default-spec";
3
+ import { specializedParseModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes.js";
4
+ import { getDefaultSpec } from "./get-default-spec.js";
5
5
  const specializedParseModelSchema = z
6
6
  .enum(["pro", "max", "auto"], {
7
7
  message: "model must be one of: pro, max, auto",
@@ -1,8 +1,8 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { z } from "zod";
3
- import { pdfvectorModelSchema } from "../../pdfvector-model-schema";
4
- import { documentAskModelDescription, outputAskModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes";
5
- import { getDefaultSpec } from "./get-default-spec";
3
+ import { pdfvectorModelSchema } from "../../pdfvector-model-schema.js";
4
+ import { documentAskModelDescription, outputAskModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes.js";
5
+ import { getDefaultSpec } from "./get-default-spec.js";
6
6
  const askInputSchema = z.object({
7
7
  url: z
8
8
  .url()
@@ -1,9 +1,9 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { z } from "zod";
3
- import { jsonSchemaInput } from "../../json-schema-input";
4
- import { pdfvectorModelSchema } from "../../pdfvector-model-schema";
5
- import { documentExtractModelDescription, outputExtractModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes";
6
- import { getDefaultSpec } from "./get-default-spec";
3
+ import { jsonSchemaInput } from "../../json-schema-input.js";
4
+ import { pdfvectorModelSchema } from "../../pdfvector-model-schema.js";
5
+ import { documentExtractModelDescription, outputExtractModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes.js";
6
+ import { getDefaultSpec } from "./get-default-spec.js";
7
7
  const extractInputSchema = z.object({
8
8
  url: z
9
9
  .url()
@@ -1,3 +1,3 @@
1
- export * from "./ask";
2
- export * from "./extract";
3
- export * from "./parse";
1
+ export * from "./ask.js";
2
+ export * from "./extract.js";
3
+ export * from "./parse.js";
@@ -1,3 +1,3 @@
1
- export * from "./ask";
2
- export * from "./extract";
3
- export * from "./parse";
1
+ export * from "./ask.js";
2
+ export * from "./extract.js";
3
+ export * from "./parse.js";
@@ -1,8 +1,8 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { z } from "zod";
3
- import { pdfvectorModelSchema } from "../../pdfvector-model-schema";
4
- import { documentParseModelDescription, outputModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes";
5
- import { getDefaultSpec } from "./get-default-spec";
3
+ import { pdfvectorModelSchema } from "../../pdfvector-model-schema.js";
4
+ import { documentParseModelDescription, outputModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes.js";
5
+ import { getDefaultSpec } from "./get-default-spec.js";
6
6
  const parseInputSchema = z.object({
7
7
  url: z
8
8
  .url()
@@ -1,6 +1,6 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { z } from "zod";
3
- import { supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes";
3
+ import { supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes.js";
4
4
  const inputSchema = z.object({
5
5
  url: z
6
6
  .url()
@@ -1,4 +1,4 @@
1
- export { bankStatementParse } from "./bank-statement-parse";
2
- export { generateSchema } from "./generate-schema";
3
- export { publicationPdfUrl } from "./publication-pdf-url";
4
- export { rateLimitStatus } from "./rate-limit-status";
1
+ export { bankStatementParse } from "./bank-statement-parse.js";
2
+ export { generateSchema } from "./generate-schema.js";
3
+ export { publicationPdfUrl } from "./publication-pdf-url.js";
4
+ export { rateLimitStatus } from "./rate-limit-status.js";
@@ -1,4 +1,4 @@
1
- export { bankStatementParse } from "./bank-statement-parse";
2
- export { generateSchema } from "./generate-schema";
3
- export { publicationPdfUrl } from "./publication-pdf-url";
4
- export { rateLimitStatus } from "./rate-limit-status";
1
+ export { bankStatementParse } from "./bank-statement-parse.js";
2
+ export { generateSchema } from "./generate-schema.js";
3
+ export { publicationPdfUrl } from "./publication-pdf-url.js";
4
+ export { rateLimitStatus } from "./rate-limit-status.js";
@@ -1,8 +1,8 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { z } from "zod";
3
- import { pdfvectorModelSchema } from "../../pdfvector-model-schema";
4
- import { outputAskModelDescription, specializedAskModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes";
5
- import { getDefaultSpec } from "./get-default-spec";
3
+ import { pdfvectorModelSchema } from "../../pdfvector-model-schema.js";
4
+ import { outputAskModelDescription, specializedAskModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes.js";
5
+ import { getDefaultSpec } from "./get-default-spec.js";
6
6
  const specializedModelSchema = z
7
7
  .enum(["auto", ...pdfvectorModelSchema.options])
8
8
  .default("auto");
@@ -1,9 +1,9 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { z } from "zod";
3
- import { jsonSchemaInput } from "../../json-schema-input";
4
- import { pdfvectorModelSchema } from "../../pdfvector-model-schema";
5
- import { outputExtractModelDescription, specializedExtractModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes";
6
- import { getDefaultSpec } from "./get-default-spec";
3
+ import { jsonSchemaInput } from "../../json-schema-input.js";
4
+ import { pdfvectorModelSchema } from "../../pdfvector-model-schema.js";
5
+ import { outputExtractModelDescription, specializedExtractModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes.js";
6
+ import { getDefaultSpec } from "./get-default-spec.js";
7
7
  const specializedModelSchema = z
8
8
  .enum(["auto", ...pdfvectorModelSchema.options])
9
9
  .default("auto");
@@ -1,3 +1,3 @@
1
- export * from "./ask";
2
- export * from "./extract";
3
- export * from "./parse";
1
+ export * from "./ask.js";
2
+ export * from "./extract.js";
3
+ export * from "./parse.js";
@@ -1,3 +1,3 @@
1
- export * from "./ask";
2
- export * from "./extract";
3
- export * from "./parse";
1
+ export * from "./ask.js";
2
+ export * from "./extract.js";
3
+ export * from "./parse.js";
@@ -1,7 +1,7 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { z } from "zod";
3
- import { specializedParseModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes";
4
- import { getDefaultSpec } from "./get-default-spec";
3
+ import { specializedParseModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes.js";
4
+ import { getDefaultSpec } from "./get-default-spec.js";
5
5
  const specializedParseModelSchema = z
6
6
  .enum(["pro", "max", "auto"], {
7
7
  message: "model must be one of: pro, max, auto",
@@ -1,8 +1,8 @@
1
- export * as academic from "./academic";
2
- export * as admin from "./admin";
3
- export * as authenticate from "./authenticate";
4
- export * as bankStatement from "./bankStatement";
5
- export * as document from "./document";
6
- export * as free from "./free";
7
- export * as identity from "./identity";
8
- export * as invoice from "./invoice";
1
+ export * as academic from "./academic/index.js";
2
+ export * as admin from "./admin/index.js";
3
+ export * as authenticate from "./authenticate/index.js";
4
+ export * as bankStatement from "./bankStatement/index.js";
5
+ export * as document from "./document/index.js";
6
+ export * as free from "./free/index.js";
7
+ export * as identity from "./identity/index.js";
8
+ export * as invoice from "./invoice/index.js";
@@ -1,8 +1,8 @@
1
- export * as academic from "./academic";
2
- export * as admin from "./admin";
3
- export * as authenticate from "./authenticate";
4
- export * as bankStatement from "./bankStatement";
5
- export * as document from "./document";
6
- export * as free from "./free";
7
- export * as identity from "./identity";
8
- export * as invoice from "./invoice";
1
+ export * as academic from "./academic/index.js";
2
+ export * as admin from "./admin/index.js";
3
+ export * as authenticate from "./authenticate/index.js";
4
+ export * as bankStatement from "./bankStatement/index.js";
5
+ export * as document from "./document/index.js";
6
+ export * as free from "./free/index.js";
7
+ export * as identity from "./identity/index.js";
8
+ export * as invoice from "./invoice/index.js";
@@ -1,8 +1,8 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { z } from "zod";
3
- import { pdfvectorModelSchema } from "../../pdfvector-model-schema";
4
- import { outputAskModelDescription, specializedAskModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes";
5
- import { getDefaultSpec } from "./get-default-spec";
3
+ import { pdfvectorModelSchema } from "../../pdfvector-model-schema.js";
4
+ import { outputAskModelDescription, specializedAskModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes.js";
5
+ import { getDefaultSpec } from "./get-default-spec.js";
6
6
  const specializedModelSchema = z
7
7
  .enum(["auto", ...pdfvectorModelSchema.options])
8
8
  .default("auto");
@@ -1,9 +1,9 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { z } from "zod";
3
- import { jsonSchemaInput } from "../../json-schema-input";
4
- import { pdfvectorModelSchema } from "../../pdfvector-model-schema";
5
- import { outputExtractModelDescription, specializedExtractModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes";
6
- import { getDefaultSpec } from "./get-default-spec";
3
+ import { jsonSchemaInput } from "../../json-schema-input.js";
4
+ import { pdfvectorModelSchema } from "../../pdfvector-model-schema.js";
5
+ import { outputExtractModelDescription, specializedExtractModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes.js";
6
+ import { getDefaultSpec } from "./get-default-spec.js";
7
7
  const specializedModelSchema = z
8
8
  .enum(["auto", ...pdfvectorModelSchema.options])
9
9
  .default("auto");
@@ -1,3 +1,3 @@
1
- export * from "./ask";
2
- export * from "./extract";
3
- export * from "./parse";
1
+ export * from "./ask.js";
2
+ export * from "./extract.js";
3
+ export * from "./parse.js";
@@ -1,3 +1,3 @@
1
- export * from "./ask";
2
- export * from "./extract";
3
- export * from "./parse";
1
+ export * from "./ask.js";
2
+ export * from "./extract.js";
3
+ export * from "./parse.js";
@@ -1,7 +1,7 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { z } from "zod";
3
- import { specializedParseModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes";
4
- import { getDefaultSpec } from "./get-default-spec";
3
+ import { specializedParseModelDescription, supportedFileFormatsDescription, supportedFileMimeErrorMessage, supportedFileMimes, supportedFileTypesLong, } from "../../supported-mimes.js";
4
+ import { getDefaultSpec } from "./get-default-spec.js";
5
5
  const specializedParseModelSchema = z
6
6
  .enum(["pro", "max", "auto"], {
7
7
  message: "model must be one of: pro, max, auto",
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @pdfvector/instance-contract
2
2
 
3
+ ## 0.0.43
4
+ ### Patch Changes
5
+
6
+
7
+
8
+ - [#226](https://github.com/phuctm97/pdfvector/pull/226) [`216ba54`](https://github.com/phuctm97/pdfvector/commit/216ba5427a32de5eb3346f0b3ff8d60f01fb8751) Thanks [@khanhduyvt0101](https://github.com/khanhduyvt0101)! - Fix published ESM artifact import paths and bump zapier and make
9
+
10
+ - Updated dependencies [[`216ba54`](https://github.com/phuctm97/pdfvector/commit/216ba5427a32de5eb3346f0b3ff8d60f01fb8751)]:
11
+ - @pdfvector/util@0.0.22
12
+
3
13
  ## 0.0.42
4
14
  ### Patch Changes
5
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdfvector/instance-contract",
3
- "version": "0.0.42",
3
+ "version": "0.0.43",
4
4
  "type": "module",
5
5
  "description": "API contract definitions for PDF Vector instance server",
6
6
  "license": "MIT",