@aventurevc/api-schemas 0.8.10 → 0.8.13

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 (105) hide show
  1. package/dist/address/address.d.ts +2 -0
  2. package/dist/address/address.js +2 -0
  3. package/dist/address/association-role.d.ts +2 -0
  4. package/dist/address/association-role.js +2 -0
  5. package/dist/address/association.d.ts +2 -0
  6. package/dist/address/association.js +2 -0
  7. package/dist/address/city.d.ts +2 -0
  8. package/dist/address/city.js +2 -0
  9. package/dist/address/country.d.ts +2 -0
  10. package/dist/address/country.js +2 -0
  11. package/dist/address/state.d.ts +2 -0
  12. package/dist/address/state.js +2 -0
  13. package/dist/billing/plan-change-mutation.d.ts +1 -0
  14. package/dist/billing/plan-change-mutation.js +2 -0
  15. package/dist/billing/plan-change-preview.d.ts +1 -7
  16. package/dist/billing/plan-change-preview.js +2 -3
  17. package/dist/billing/plan-type.d.ts +0 -1
  18. package/dist/billing/plan-type.js +0 -1
  19. package/dist/classification/classification.d.ts +2 -0
  20. package/dist/classification/classification.js +2 -0
  21. package/dist/content/embedding-match.d.ts +2 -0
  22. package/dist/content/embedding-match.js +2 -0
  23. package/dist/content/source-type.d.ts +2 -0
  24. package/dist/content/source-type.js +2 -0
  25. package/dist/entity/accelerator-participation.d.ts +2 -0
  26. package/dist/entity/accelerator-participation.js +2 -0
  27. package/dist/entity/alias-type.d.ts +2 -0
  28. package/dist/entity/alias-type.js +2 -0
  29. package/dist/entity/classification.d.ts +2 -0
  30. package/dist/entity/classification.js +2 -0
  31. package/dist/entity/enrichment.d.ts +2 -0
  32. package/dist/entity/enrichment.js +2 -0
  33. package/dist/entity/entity.d.ts +2 -0
  34. package/dist/entity/entity.js +2 -0
  35. package/dist/entity/funding-detail.d.ts +2 -0
  36. package/dist/entity/funding-detail.js +2 -0
  37. package/dist/entity/fundraise-transaction-entity.d.ts +2 -0
  38. package/dist/entity/fundraise-transaction-entity.js +2 -0
  39. package/dist/entity/fundraise-transaction.d.ts +2 -0
  40. package/dist/entity/fundraise-transaction.js +2 -0
  41. package/dist/entity/image.d.ts +2 -0
  42. package/dist/entity/image.js +2 -0
  43. package/dist/entity/list-research.d.ts +2 -0
  44. package/dist/entity/list-research.js +2 -0
  45. package/dist/entity/list.d.ts +3 -0
  46. package/dist/entity/list.js +3 -0
  47. package/dist/entity/name-alias-entity-alias-type.d.ts +2 -0
  48. package/dist/entity/name-alias-entity-alias-type.js +2 -0
  49. package/dist/entity/name-alias-person-alias-type.d.ts +2 -0
  50. package/dist/entity/name-alias-person-alias-type.js +2 -0
  51. package/dist/entity/research-detail.d.ts +2 -0
  52. package/dist/entity/research-detail.js +2 -0
  53. package/dist/entity/research-value-type.d.ts +2 -0
  54. package/dist/entity/research-value-type.js +2 -0
  55. package/dist/entity/sitemap.d.ts +2 -0
  56. package/dist/entity/sitemap.js +2 -0
  57. package/dist/entity/tag.d.ts +2 -0
  58. package/dist/entity/tag.js +2 -0
  59. package/dist/entity/text-bundle.d.ts +2 -0
  60. package/dist/entity/text-bundle.js +2 -0
  61. package/dist/entity/url-crawl-cdn-provider.d.ts +2 -0
  62. package/dist/entity/url-crawl-cdn-provider.js +2 -0
  63. package/dist/entity/url-crawl-render-mode.d.ts +2 -0
  64. package/dist/entity/url-crawl-render-mode.js +2 -0
  65. package/dist/entity/url-link.d.ts +2 -0
  66. package/dist/entity/url-link.js +2 -0
  67. package/dist/entity/url-type.d.ts +2 -0
  68. package/dist/entity/url-type.js +2 -0
  69. package/dist/funding/stage.d.ts +2 -0
  70. package/dist/funding/stage.js +2 -0
  71. package/dist/fundraise/data-confidence.d.ts +2 -0
  72. package/dist/fundraise/data-confidence.js +2 -0
  73. package/dist/fundraise/investment-attribution-type.d.ts +2 -0
  74. package/dist/fundraise/investment-attribution-type.js +2 -0
  75. package/dist/fundraise/investment-attribution.d.ts +2 -0
  76. package/dist/fundraise/investment-attribution.js +2 -0
  77. package/dist/identification/candidate.d.ts +1 -0
  78. package/dist/identification/candidate.js +1 -0
  79. package/dist/identification/identification.d.ts +1 -0
  80. package/dist/identification/identification.js +1 -0
  81. package/dist/lookup/job-mention.d.ts +1021 -1
  82. package/dist/lookup/job-mention.js +13 -5
  83. package/dist/lookup/job-mutation.d.ts +16 -8
  84. package/dist/lookup/job-mutation.js +12 -8
  85. package/dist/lookup/job.d.ts +1033 -7
  86. package/dist/mention/lookup.d.ts +1216 -0
  87. package/dist/mention/lookup.js +20 -0
  88. package/dist/openapi-component-manifest.js +5 -0
  89. package/dist/person/alias-type.d.ts +2 -0
  90. package/dist/person/alias-type.js +2 -0
  91. package/dist/person/image.d.ts +2 -0
  92. package/dist/person/image.js +2 -0
  93. package/dist/person/person.d.ts +3 -0
  94. package/dist/person/person.js +3 -0
  95. package/dist/research/derived-bucket.d.ts +2 -0
  96. package/dist/research/derived-bucket.js +2 -0
  97. package/dist/research/derived-range.d.ts +2 -0
  98. package/dist/research/derived-range.js +2 -0
  99. package/dist/round/label.d.ts +2 -0
  100. package/dist/round/label.js +2 -0
  101. package/dist/rss/extracted-mention.d.ts +25 -0
  102. package/dist/rss/extracted-mention.js +23 -0
  103. package/dist/standardized/classification.d.ts +2 -0
  104. package/dist/standardized/classification.js +2 -0
  105. package/package.json +1 -1
@@ -1,27 +1,35 @@
1
1
  // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
2
  import { z } from "zod/v4";
3
+ import { EntityListSchema } from "../entity/list.js";
3
4
  import { EntityPersonOwnerSchema } from "../entity/person-owner.js";
4
5
  import { IdentificationSchema } from "../identification/identification.js";
6
+ import { PersonSchema } from "../person/person.js";
5
7
  const LookupJobMentionSchemaDefinition = z.object({
8
+ /** POST /v1/lookup-mentions only: the candidate companies as search results show them, the match first, then by decision-model probability and duplicate-check score. */
9
+ entity: z.array(EntityListSchema),
6
10
  /** One sentence on why this name could not be identified; absent otherwise. */
7
11
  failureReason: z.string().nullish(),
8
- /** The lookup of this name with the article as its source: MATCHED names the stored record, NEEDS_REVIEW lists the candidates, NO_MATCH means none is stored. Absent when failureReason is set. */
12
+ /** The lookup of this name with the source as its context: MATCHED names the stored record, NEEDS_REVIEW lists the candidates, NO_MATCH means none is stored. Absent when failureReason is set. */
9
13
  identification: IdentificationSchema.nullish(),
10
- /** Whether the article names a company or a person. */
14
+ /** Whether the source names a company or a person. */
11
15
  mentionType: z.enum(["COMPANY", "PERSON"]),
12
- /** Name as the article writes it. */
16
+ /** Name as the source writes it. */
13
17
  name: z.string(),
14
- /** The hidden record this job created for a NO_MATCH name after the article and one independent live page both showed it exists; enrich it by its entityId or personId. Absent when no record was created. */
18
+ /** POST /v1/lookup-mentions only: the candidate people as search results show them, ranked like entity. */
19
+ person: z.array(PersonSchema),
20
+ /** The hidden record a lookup job created for a NO_MATCH name after the article and one independent live page both showed it exists; enrich it by its entityId or personId. Absent when no record was created. */
15
21
  shell: EntityPersonOwnerSchema.nullish(),
16
22
  /** One sentence on why no shell was created for a NO_MATCH name, or why a created shell lacks its URL; absent otherwise. */
17
23
  shellDetail: z.string().nullish(),
18
24
  });
19
25
  /**
20
- * One company or person the article names, which stored record it is, and the hidden shell record filed for it when it is new.
26
+ * One company or person a source names, which stored record it is, and, from a lookup job, the hidden shell record filed for it when it is new.
21
27
  *
22
28
  * @openapiSchema LookupJobMention
23
29
  * @endpoint GET /v1/lookup-jobs/{jobId}
30
+ * @endpoint POST /v1/lookup-mentions
24
31
  * @usedBySchema LookupJobSchema
32
+ * @usedBySchema MentionLookupSchema
25
33
  * @contractShape lookup.job-mention
26
34
  * @contractRole canonical
27
35
  */
@@ -1,20 +1,28 @@
1
1
  import { z } from "zod/v4";
2
- declare const LookupJobMutationSchemaDefinition: z.ZodObject<{
3
- sourceNewsId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4
- sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
- }, z.core.$strip>;
6
- type LookupJobMutationDefinition = z.infer<typeof LookupJobMutationSchemaDefinition>;
7
2
  /**
8
- * The article whose companies and people a lookup job identifies. Send sourceUrl, sourceNewsId, or both.
3
+ * The article whose companies and people a lookup job identifies. Send sourceUrl, sourceNewsId, or both; POST /v1/lookup-mentions also takes mention instead.
9
4
  *
10
5
  * @openapiSchema LookupJobMutation
11
6
  * @endpoint GET /v1/lookup-jobs/{jobId}
12
7
  * @endpoint POST /v1/lookup-jobs
8
+ * @endpoint POST /v1/lookup-mentions
13
9
  * @usedBySchema LookupJobSchema
10
+ * @usedBySchema MentionLookupSchema
14
11
  * @contractShape lookup.job-mutation
15
12
  * @contractRole canonical
16
13
  */
17
- export declare const LookupJobMutationSchema: z.ZodType<LookupJobMutationDefinition>;
14
+ export declare const LookupJobMutationSchema: z.ZodObject<{
15
+ mention: z.ZodOptional<z.ZodArray<z.ZodType<{
16
+ name: string;
17
+ searchQuery?: string | undefined;
18
+ type: "COMPANY" | "PERSON";
19
+ }, unknown, z.core.$ZodTypeInternals<{
20
+ name: string;
21
+ searchQuery?: string | undefined;
22
+ type: "COMPANY" | "PERSON";
23
+ }, unknown>>>>;
24
+ sourceNewsId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
25
+ sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ }, z.core.$strip>;
18
27
  export type LookupJobMutation = z.infer<typeof LookupJobMutationSchema>;
19
- export {};
20
28
  //# sourceMappingURL=job-mutation.d.ts.map
@@ -1,20 +1,24 @@
1
1
  // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
2
  import { z } from "zod/v4";
3
- const LookupJobMutationSchemaDefinition = z.object({
4
- /** aVenture news id of the article; an unknown id fails the job. */
5
- sourceNewsId: z.int().nullish(),
6
- /** URL of the article; read from aVenture news when stored there, otherwise fetched. */
7
- sourceUrl: z.string().max(2000).nullish(),
8
- });
3
+ import { RssExtractedMentionSchema } from "../rss/extracted-mention.js";
9
4
  /**
10
- * The article whose companies and people a lookup job identifies. Send sourceUrl, sourceNewsId, or both.
5
+ * The article whose companies and people a lookup job identifies. Send sourceUrl, sourceNewsId, or both; POST /v1/lookup-mentions also takes mention instead.
11
6
  *
12
7
  * @openapiSchema LookupJobMutation
13
8
  * @endpoint GET /v1/lookup-jobs/{jobId}
14
9
  * @endpoint POST /v1/lookup-jobs
10
+ * @endpoint POST /v1/lookup-mentions
15
11
  * @usedBySchema LookupJobSchema
12
+ * @usedBySchema MentionLookupSchema
16
13
  * @contractShape lookup.job-mutation
17
14
  * @contractRole canonical
18
15
  */
19
- export const LookupJobMutationSchema = LookupJobMutationSchemaDefinition;
16
+ export const LookupJobMutationSchema = z.object({
17
+ /** POST /v1/lookup-mentions only: the companies and people a caller already read from a page or screenshot it keeps on its device, identified without either being sent. Send it alone, without sourceUrl, sourceNewsId, or a file. Any signed-in user may send it, with or without a plan. */
18
+ mention: z.array(RssExtractedMentionSchema).optional(),
19
+ /** aVenture news id of the article; an id that names no stored article is an error. */
20
+ sourceNewsId: z.int().nullish(),
21
+ /** URL of the article; read from aVenture news when stored there, otherwise fetched. */
22
+ sourceUrl: z.string().max(2000).nullish(),
23
+ });
20
24
  //# sourceMappingURL=job-mutation.js.map