@aventurevc/api-schemas 0.8.293 → 0.8.295

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 (103) hide show
  1. package/dist/classification/catalog-category.d.ts +4 -0
  2. package/dist/classification/catalog.d.ts +4 -0
  3. package/dist/directory/export-mutation.d.ts +99 -6
  4. package/dist/employee/count-match-mode.d.ts +39 -0
  5. package/dist/employee/count-match-mode.js +30 -0
  6. package/dist/employee/count-range.d.ts +49 -0
  7. package/dist/employee/count-range.js +39 -0
  8. package/dist/employee/count.d.ts +6 -0
  9. package/dist/entity/brand.d.ts +4 -0
  10. package/dist/entity/classification-suggestion.d.ts +4 -0
  11. package/dist/entity/classification.d.ts +4 -0
  12. package/dist/entity/detail.d.ts +148 -0
  13. package/dist/entity/enrichment.d.ts +26 -0
  14. package/dist/entity/filter-entry.d.ts +28 -0
  15. package/dist/entity/filter-meta.d.ts +28 -0
  16. package/dist/entity/filter-meta.js +6 -0
  17. package/dist/entity/filter-option-set.d.ts +24 -0
  18. package/dist/entity/filter-refined-filters.d.ts +12 -0
  19. package/dist/entity/filter-request-binding.d.ts +31 -0
  20. package/dist/entity/filter-request-binding.js +23 -0
  21. package/dist/entity/filter-request-value-shape.d.ts +27 -0
  22. package/dist/entity/filter-request-value-shape.js +21 -0
  23. package/dist/entity/filter-search.d.ts +33 -2
  24. package/dist/entity/filter.d.ts +33 -2
  25. package/dist/entity/filter.js +16 -7
  26. package/dist/entity/funding-detail.d.ts +22 -0
  27. package/dist/entity/funding-detail.js +15 -1
  28. package/dist/entity/fundraise-investor-activity.js +1 -1
  29. package/dist/entity/fundraise-investor-join.js +1 -1
  30. package/dist/entity/fundraise-transaction-entity.d.ts +22 -0
  31. package/dist/entity/fundraise-transaction.d.ts +22 -0
  32. package/dist/entity/investor-participation.d.ts +148 -0
  33. package/dist/entity/list-filter.d.ts +33 -2
  34. package/dist/entity/list-filter.js +16 -7
  35. package/dist/entity/list-research.d.ts +6 -0
  36. package/dist/entity/list.d.ts +70 -0
  37. package/dist/entity/natural-search.d.ts +33 -2
  38. package/dist/entity/person-association-filter.d.ts +33 -2
  39. package/dist/entity/research-detail.d.ts +3 -0
  40. package/dist/entity/research-detail.js +6 -0
  41. package/dist/entity/research-fact-value.d.ts +3 -0
  42. package/dist/entity/research-fact-value.js +6 -0
  43. package/dist/entity/research.d.ts +6 -0
  44. package/dist/entity/resolution.d.ts +148 -0
  45. package/dist/entity/similarity-result.d.ts +70 -0
  46. package/dist/entity/similarity-summary.d.ts +22 -0
  47. package/dist/entity/type.d.ts +2 -0
  48. package/dist/entity/type.js +2 -0
  49. package/dist/entity/valuation-source.d.ts +32 -0
  50. package/dist/entity/valuation-source.js +32 -0
  51. package/dist/entity/valuation-time-series-point.d.ts +3 -0
  52. package/dist/entity/valuation-time-series-point.js +6 -0
  53. package/dist/entity/valuation.d.ts +59 -0
  54. package/dist/entity/valuation.js +66 -0
  55. package/dist/federated/natural-search.d.ts +33 -2
  56. package/dist/federated/search.d.ts +654 -0
  57. package/dist/fundraise/investment-attribution.js +1 -1
  58. package/dist/fundraise/investment-evidence.d.ts +30 -0
  59. package/dist/http/problem-detail.d.ts +1 -0
  60. package/dist/http/problem-detail.js +2 -0
  61. package/dist/identification/subject.d.ts +32 -0
  62. package/dist/link/search.d.ts +654 -0
  63. package/dist/lookup/job-mention.d.ts +70 -0
  64. package/dist/lookup/job-mutation.d.ts +32 -0
  65. package/dist/lookup/job.d.ts +94 -0
  66. package/dist/mention/lookup.d.ts +70 -0
  67. package/dist/natural/search-result.d.ts +342 -0
  68. package/dist/openapi-component-manifest.js +29 -0
  69. package/dist/pagination/schemas.d.ts +732 -0
  70. package/dist/person/detail.d.ts +66 -0
  71. package/dist/person/filter.d.ts +66 -4
  72. package/dist/person/graph-career-context.d.ts +58 -0
  73. package/dist/person/graph-similar-entity.d.ts +22 -0
  74. package/dist/person/graph.d.ts +66 -0
  75. package/dist/person/investor-participation.d.ts +66 -0
  76. package/dist/person/natural-search-result.d.ts +98 -0
  77. package/dist/person/natural-search.d.ts +66 -4
  78. package/dist/person/search-interpretation.d.ts +66 -4
  79. package/dist/person/similar-param.d.ts +1 -0
  80. package/dist/person/similar-param.js +2 -0
  81. package/dist/registry/filing.d.ts +16 -0
  82. package/dist/research/detail-range.d.ts +42 -0
  83. package/dist/research/detail-range.js +50 -0
  84. package/dist/research/detail-type.d.ts +11 -0
  85. package/dist/research/detail-type.js +3 -0
  86. package/dist/search/interpretation.d.ts +99 -6
  87. package/dist/search/investment.d.ts +30 -0
  88. package/dist/shared/directory-mutation.d.ts +99 -6
  89. package/dist/shared/directory.d.ts +99 -6
  90. package/dist/shared/search.d.ts +654 -0
  91. package/dist/standardized/classification-filter.d.ts +41 -0
  92. package/dist/standardized/classification-filter.js +42 -0
  93. package/dist/standardized/classification.d.ts +2 -0
  94. package/dist/standardized/classification.js +5 -1
  95. package/dist/unique/id-listing-standing.d.ts +49 -0
  96. package/dist/unique/id-listing-standing.js +40 -0
  97. package/dist/unique/id-mutation.d.ts +17 -1
  98. package/dist/unique/id-mutation.js +23 -1
  99. package/dist/unique/id.d.ts +16 -0
  100. package/dist/unique/id.js +22 -0
  101. package/dist/valuation/type.d.ts +32 -0
  102. package/dist/valuation/type.js +32 -0
  103. package/package.json +1 -1
@@ -4,7 +4,39 @@ import { z } from "zod/v4";
4
4
  * Which canonical store the point came from.
5
5
  *
6
6
  * @openapiSchema EntityValuationSource
7
+ * @endpoint GET /v1/entities
8
+ * @endpoint GET /v1/entities/lookup-exact
9
+ * @endpoint GET /v1/people/lookup-exact
10
+ * @endpoint GET /v1/search/link
11
+ * @endpoint GET /v1/entities/{entityId}
12
+ * @endpoint GET /v1/entities/{entityId}/fundraise-rounds
13
+ * @endpoint GET /v1/entities/{entityId}/fundraise-rounds/{fundraiseRoundId}
14
+ * @endpoint GET /v1/entities/{entityId}/investments
15
+ * @endpoint GET /v1/entities/{entityId}/investors
16
+ * @endpoint GET /v1/entities/{entityId}/investors/people
17
+ * @endpoint GET /v1/entities/{entityId}/person-investors
18
+ * @endpoint GET /v1/entities/{entityId}/similar
19
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
7
20
  * @endpoint GET /v1/entities/{entityId}/valuations
21
+ * @endpoint GET /v1/entities/search/jobs/{jobId}
22
+ * @endpoint GET /v1/lookup-jobs/{jobId}
23
+ * @endpoint GET /v1/lookup/jobs/{jobId}
24
+ * @endpoint GET /v1/people/{personId}
25
+ * @endpoint GET /v1/people/{personId}/graph
26
+ * @endpoint GET /v1/search/link/jobs/{jobId}
27
+ * @endpoint GET /v1/search/shared/{id}
28
+ * @endpoint GET /v1/search/shared/slug/{slug}
29
+ * @endpoint POST /v1/entities/lookup-batch
30
+ * @endpoint POST /v1/entities/lookup-matches
31
+ * @endpoint POST /v1/entities/search
32
+ * @endpoint POST /v1/lookup-mentions
33
+ * @endpoint POST /v1/lookup/mentions
34
+ * @endpoint POST /v1/people/lookup-batch
35
+ * @endpoint POST /v1/search
36
+ * @endpoint POST /v1/search/natural/entities
37
+ * @endpoint POST /v1/search/natural/people
38
+ * @endpoint POST /v1/search/shared
39
+ * @usedBySchema EntityValuationSchema
8
40
  * @usedBySchema EntityValuationTimeSeriesPointSchema
9
41
  * @contractShape entity.valuation-source
10
42
  * @contractRole canonical
@@ -8,6 +8,7 @@ declare const EntityValuationTimeSeriesPointSchemaDefinition: z.ZodObject<{
8
8
  medium: "medium";
9
9
  }>;
10
10
  currency: z.ZodString;
11
+ decimalValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
12
  declaredBasis: z.ZodEnum<{
12
13
  postMoney: "postMoney";
13
14
  preMoney: "preMoney";
@@ -21,6 +22,8 @@ declare const EntityValuationTimeSeriesPointSchemaDefinition: z.ZodObject<{
21
22
  }>;
22
23
  detailId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23
24
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ measurementBasis: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ reportingScope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
27
  source: z.ZodEnum<{
25
28
  fundraiseRound: "fundraiseRound";
26
29
  researchDetail: "researchDetail";
@@ -15,6 +15,8 @@ const EntityValuationTimeSeriesPointSchemaDefinition = z.object({
15
15
  confidence: EntityValuationDataConfidenceSchema,
16
16
  /** ISO 4217 currency code. */
17
17
  currency: z.string(),
18
+ /** Exact source monetary decimal string for a research-detail valuation; legacy Long values are only projections. */
19
+ decimalValue: z.string().nullish(),
18
20
  /** Basis declared by the original source. */
19
21
  declaredBasis: ValuationTypeSchema,
20
22
  /** How pre-money and post-money fields were obtained. */
@@ -23,6 +25,10 @@ const EntityValuationTimeSeriesPointSchemaDefinition = z.object({
23
25
  detailId: z.int().nullish(),
24
26
  /** Fundraise round label or legacy detail display text, when present. */
25
27
  label: z.string().nullish(),
28
+ /** Source-stated measurement basis. */
29
+ measurementBasis: z.string().nullish(),
30
+ /** Source-stated reporting scope. */
31
+ reportingScope: z.string().nullish(),
26
32
  /** Canonical store that supplied the point. */
27
33
  source: EntityValuationSourceSchema,
28
34
  /** `detail-<id>` or `fundraise-<transactionId>` display reference. */
@@ -0,0 +1,59 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Current eligible valuation with its own amount, basis, currency and source date.
4
+ *
5
+ * @openapiSchema EntityValuation
6
+ * @endpoint GET /v1/entities
7
+ * @endpoint GET /v1/entities/lookup-exact
8
+ * @endpoint GET /v1/people/lookup-exact
9
+ * @endpoint GET /v1/search/link
10
+ * @endpoint GET /v1/entities/{entityId}
11
+ * @endpoint GET /v1/entities/{entityId}/fundraise-rounds
12
+ * @endpoint GET /v1/entities/{entityId}/fundraise-rounds/{fundraiseRoundId}
13
+ * @endpoint GET /v1/entities/{entityId}/investments
14
+ * @endpoint GET /v1/entities/{entityId}/investors
15
+ * @endpoint GET /v1/entities/{entityId}/investors/people
16
+ * @endpoint GET /v1/entities/{entityId}/person-investors
17
+ * @endpoint GET /v1/entities/{entityId}/similar
18
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
19
+ * @endpoint GET /v1/entities/search/jobs/{jobId}
20
+ * @endpoint GET /v1/lookup-jobs/{jobId}
21
+ * @endpoint GET /v1/lookup/jobs/{jobId}
22
+ * @endpoint GET /v1/people/{personId}
23
+ * @endpoint GET /v1/people/{personId}/graph
24
+ * @endpoint GET /v1/search/link/jobs/{jobId}
25
+ * @endpoint GET /v1/search/shared/{id}
26
+ * @endpoint GET /v1/search/shared/slug/{slug}
27
+ * @endpoint POST /v1/entities/lookup-batch
28
+ * @endpoint POST /v1/entities/lookup-matches
29
+ * @endpoint POST /v1/entities/search
30
+ * @endpoint POST /v1/lookup-mentions
31
+ * @endpoint POST /v1/lookup/mentions
32
+ * @endpoint POST /v1/people/lookup-batch
33
+ * @endpoint POST /v1/search
34
+ * @endpoint POST /v1/search/natural/entities
35
+ * @endpoint POST /v1/search/natural/people
36
+ * @endpoint POST /v1/search/shared
37
+ * @usedBySchema EntityFundingDetailSchema
38
+ * @contractShape entity.valuation
39
+ * @contractRole canonical
40
+ */
41
+ export declare const EntityValuationSchema: z.ZodObject<{
42
+ amount: z.ZodString;
43
+ asOfDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ basis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
45
+ postMoney: "postMoney";
46
+ preMoney: "preMoney";
47
+ reported: "reported";
48
+ }>>>;
49
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ postMoneyUsd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ referenceValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ source: z.ZodEnum<{
53
+ fundraiseRound: "fundraiseRound";
54
+ researchDetail: "researchDetail";
55
+ }>;
56
+ sourceRef: z.ZodString;
57
+ }, z.core.$strip>;
58
+ export type EntityValuation = z.infer<typeof EntityValuationSchema>;
59
+ //# sourceMappingURL=valuation.d.ts.map
@@ -0,0 +1,66 @@
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
+ import { z } from "zod/v4";
3
+ import { EntityValuationSourceSchema } from "./valuation-source.js";
4
+ import { ValuationTypeSchema } from "../valuation/type.js";
5
+ /**
6
+ * Current eligible valuation with its own amount, basis, currency and source date.
7
+ *
8
+ * @openapiSchema EntityValuation
9
+ * @endpoint GET /v1/entities
10
+ * @endpoint GET /v1/entities/lookup-exact
11
+ * @endpoint GET /v1/people/lookup-exact
12
+ * @endpoint GET /v1/search/link
13
+ * @endpoint GET /v1/entities/{entityId}
14
+ * @endpoint GET /v1/entities/{entityId}/fundraise-rounds
15
+ * @endpoint GET /v1/entities/{entityId}/fundraise-rounds/{fundraiseRoundId}
16
+ * @endpoint GET /v1/entities/{entityId}/investments
17
+ * @endpoint GET /v1/entities/{entityId}/investors
18
+ * @endpoint GET /v1/entities/{entityId}/investors/people
19
+ * @endpoint GET /v1/entities/{entityId}/person-investors
20
+ * @endpoint GET /v1/entities/{entityId}/similar
21
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
22
+ * @endpoint GET /v1/entities/search/jobs/{jobId}
23
+ * @endpoint GET /v1/lookup-jobs/{jobId}
24
+ * @endpoint GET /v1/lookup/jobs/{jobId}
25
+ * @endpoint GET /v1/people/{personId}
26
+ * @endpoint GET /v1/people/{personId}/graph
27
+ * @endpoint GET /v1/search/link/jobs/{jobId}
28
+ * @endpoint GET /v1/search/shared/{id}
29
+ * @endpoint GET /v1/search/shared/slug/{slug}
30
+ * @endpoint POST /v1/entities/lookup-batch
31
+ * @endpoint POST /v1/entities/lookup-matches
32
+ * @endpoint POST /v1/entities/search
33
+ * @endpoint POST /v1/lookup-mentions
34
+ * @endpoint POST /v1/lookup/mentions
35
+ * @endpoint POST /v1/people/lookup-batch
36
+ * @endpoint POST /v1/search
37
+ * @endpoint POST /v1/search/natural/entities
38
+ * @endpoint POST /v1/search/natural/people
39
+ * @endpoint POST /v1/search/shared
40
+ * @usedBySchema EntityFundingDetailSchema
41
+ * @contractShape entity.valuation
42
+ * @contractRole canonical
43
+ */
44
+ export const EntityValuationSchema = z.object({
45
+ /** Native source amount as a plain decimal JSON string, preserving stored precision without JSON-number rounding or Long truncation. */
46
+ amount: z.string().regex(/^-?[0-9]+(\.[0-9]+)?$/),
47
+ /** Source-effective year, month, day or timestamp; null when the observation is undated. */
48
+ asOfDate: z
49
+ .string()
50
+ .regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/)
51
+ .nullish(),
52
+ /** Source-stated basis; null when legacy evidence did not state one. Reported is not silently post-money. */
53
+ basis: ValuationTypeSchema.nullish(),
54
+ /** The observation's own ISO currency. Null means unknown, never the entity currency or USD. */
55
+ currency: z.string().nullish(),
56
+ /** Post-money amount in USD as a plain decimal JSON string under the existing ECB/World Bank conversion policy; derived only from same-source pre-money plus raised when needed; null for pre-money-only without raised, unknown currency, or unavailable foreign-currency date/rate. Never substitutes an older observation. */
57
+ postMoneyUsd: z
58
+ .string()
59
+ .regex(/^-?[0-9]+(\.[0-9]+)?$/)
60
+ .nullish(),
61
+ /** Original research qualifier, retained without interpreting a fiscal/forecast period as currency. */
62
+ referenceValue: z.string().nullish(),
63
+ source: EntityValuationSourceSchema,
64
+ sourceRef: z.string(),
65
+ });
66
+ //# sourceMappingURL=valuation.js.map
@@ -14,12 +14,14 @@ declare const FederatedNaturalSearchSchemaDefinition: z.ZodObject<{
14
14
  affinity: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
15
  closedLast: z.ZodOptional<z.ZodBoolean>;
16
16
  employeeCountRange: z.ZodOptional<z.ZodArray<z.ZodType<{
17
+ matchMode?: string | null | undefined;
17
18
  max?: number | null | undefined;
18
19
  min?: number | null | undefined;
19
- }, import("../int/range.ts").IntRangeSchemaInput, z.core.$ZodTypeInternals<{
20
+ }, import("../employee/count-range.ts").EmployeeCountRangeSchemaInput, z.core.$ZodTypeInternals<{
21
+ matchMode?: string | null | undefined;
20
22
  max?: number | null | undefined;
21
23
  min?: number | null | undefined;
22
- }, import("../int/range.ts").IntRangeSchemaInput>>>>;
24
+ }, import("../employee/count-range.ts").EmployeeCountRangeSchemaInput>>>>;
23
25
  entityId: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
24
26
  entityName: z.ZodOptional<z.ZodArray<z.ZodString>>;
25
27
  featured: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -124,6 +126,7 @@ declare const FederatedNaturalSearchSchemaDefinition: z.ZodObject<{
124
126
  headquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
125
127
  headquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
126
128
  industry: z.ZodOptional<z.ZodArray<z.ZodString>>;
129
+ investorPopulation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
127
130
  letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128
131
  location: z.ZodOptional<z.ZodArray<z.ZodString>>;
129
132
  logoOption: z.ZodOptional<z.ZodObject<{
@@ -153,8 +156,36 @@ declare const FederatedNaturalSearchSchemaDefinition: z.ZodObject<{
153
156
  NONE: "NONE";
154
157
  }>>;
155
158
  rankByProminence: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
159
+ researchDetailRange: z.ZodOptional<z.ZodArray<z.ZodType<{
160
+ max?: string | null | undefined;
161
+ measurementBasis?: string | null | undefined;
162
+ min?: string | null | undefined;
163
+ reportingScope?: string | null | undefined;
164
+ targetPath: string;
165
+ valueResearchDetail: string;
166
+ }, import("../research/detail-range.ts").ResearchDetailRangeSchemaInput, z.core.$ZodTypeInternals<{
167
+ max?: string | null | undefined;
168
+ measurementBasis?: string | null | undefined;
169
+ min?: string | null | undefined;
170
+ reportingScope?: string | null | undefined;
171
+ targetPath: string;
172
+ valueResearchDetail: string;
173
+ }, import("../research/detail-range.ts").ResearchDetailRangeSchemaInput>>>>;
156
174
  slug: z.ZodOptional<z.ZodArray<z.ZodString>>;
157
175
  stage: z.ZodOptional<z.ZodArray<z.ZodString>>;
176
+ standardizedClassification: z.ZodOptional<z.ZodArray<z.ZodType<{
177
+ category: string;
178
+ code?: number | null | undefined;
179
+ codeText?: string | null | undefined;
180
+ edition?: string | null | undefined;
181
+ hasEdition?: boolean | null | undefined;
182
+ }, import("../standardized/classification-filter.ts").StandardizedClassificationFilterSchemaInput, z.core.$ZodTypeInternals<{
183
+ category: string;
184
+ code?: number | null | undefined;
185
+ codeText?: string | null | undefined;
186
+ edition?: string | null | undefined;
187
+ hasEdition?: boolean | null | undefined;
188
+ }, import("../standardized/classification-filter.ts").StandardizedClassificationFilterSchemaInput>>>>;
158
189
  suppressLateStage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
159
190
  suppressNonOperating: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
160
191
  suppressZeroTotalRaised: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;