@aventurevc/api-schemas 0.8.314 → 0.8.315

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 (35) hide show
  1. package/dist/directory/export-mutation.d.ts +21 -0
  2. package/dist/entity/detail.d.ts +12 -0
  3. package/dist/entity/filter-search.d.ts +7 -0
  4. package/dist/entity/filter.d.ts +7 -0
  5. package/dist/entity/filter.js +3 -0
  6. package/dist/entity/investor-participation.d.ts +12 -0
  7. package/dist/entity/list-filter.d.ts +7 -0
  8. package/dist/entity/list-filter.js +3 -0
  9. package/dist/entity/natural-search.d.ts +7 -0
  10. package/dist/entity/person-association-filter.d.ts +7 -0
  11. package/dist/entity/profile-status.d.ts +1 -0
  12. package/dist/entity/profile-status.js +1 -0
  13. package/dist/entity/relationship.d.ts +42 -0
  14. package/dist/entity/relationship.js +3 -0
  15. package/dist/entity/resolution.d.ts +12 -0
  16. package/dist/entity/unique-id-filter.d.ts +38 -0
  17. package/dist/entity/unique-id-filter.js +36 -0
  18. package/dist/federated/natural-search.d.ts +7 -0
  19. package/dist/federated/search-provenance.js +1 -1
  20. package/dist/federated/search.d.ts +52 -0
  21. package/dist/link/search.d.ts +52 -0
  22. package/dist/natural/search-result.d.ts +24 -0
  23. package/dist/openapi-component-manifest.js +4 -0
  24. package/dist/pagination/schemas.d.ts +36 -0
  25. package/dist/person/filter.d.ts +14 -0
  26. package/dist/person/natural-search-result.d.ts +16 -0
  27. package/dist/person/natural-search.d.ts +14 -0
  28. package/dist/person/search-interpretation.d.ts +14 -0
  29. package/dist/search/interpretation.d.ts +21 -0
  30. package/dist/shared/directory-mutation.d.ts +21 -0
  31. package/dist/shared/directory.d.ts +21 -0
  32. package/dist/shared/search.d.ts +52 -0
  33. package/dist/unique/id-mutation.d.ts +1 -1
  34. package/dist/unique/id-mutation.js +1 -1
  35. package/package.json +2 -2
@@ -262,6 +262,13 @@ declare const DirectoryExportMutationSchemaDefinition: z.ZodObject<{
262
262
  }>>>;
263
263
  typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
264
264
  typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
265
+ uniqueId: z.ZodOptional<z.ZodArray<z.ZodType<{
266
+ identifier?: string | null | undefined;
267
+ idType: string;
268
+ }, import("../entity/unique-id-filter.ts").EntityUniqueIdFilterSchemaInput, z.core.$ZodTypeInternals<{
269
+ identifier?: string | null | undefined;
270
+ idType: string;
271
+ }, import("../entity/unique-id-filter.ts").EntityUniqueIdFilterSchemaInput>>>>;
265
272
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
266
273
  urlDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
267
274
  urlMatchMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -482,6 +489,13 @@ declare const DirectoryExportMutationSchemaDefinition: z.ZodObject<{
482
489
  }>>>;
483
490
  typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
484
491
  typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
492
+ uniqueId: z.ZodOptional<z.ZodArray<z.ZodType<{
493
+ identifier?: string | null | undefined;
494
+ idType: string;
495
+ }, import("../entity/unique-id-filter.ts").EntityUniqueIdFilterSchemaInput, z.core.$ZodTypeInternals<{
496
+ identifier?: string | null | undefined;
497
+ idType: string;
498
+ }, import("../entity/unique-id-filter.ts").EntityUniqueIdFilterSchemaInput>>>>;
485
499
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
486
500
  urlDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
487
501
  urlMatchMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -739,6 +753,13 @@ declare const DirectoryExportMutationSchemaDefinition: z.ZodObject<{
739
753
  }>>>;
740
754
  typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
741
755
  typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
756
+ uniqueId: z.ZodOptional<z.ZodArray<z.ZodType<{
757
+ identifier?: string | null | undefined;
758
+ idType: string;
759
+ }, import("../entity/unique-id-filter.ts").EntityUniqueIdFilterSchemaInput, z.core.$ZodTypeInternals<{
760
+ identifier?: string | null | undefined;
761
+ idType: string;
762
+ }, import("../entity/unique-id-filter.ts").EntityUniqueIdFilterSchemaInput>>>>;
742
763
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
743
764
  urlDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
744
765
  urlMatchMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -3525,6 +3525,12 @@ export declare const EntityDetailSchema: z.ZodObject<{
3525
3525
  id?: number | null | undefined;
3526
3526
  isCurrent?: boolean | null | undefined;
3527
3527
  isPrimary?: boolean | null | undefined;
3528
+ profileStatus?: {
3529
+ headline: string;
3530
+ isAcquired?: boolean | null | undefined;
3531
+ isClosed?: boolean | null | undefined;
3532
+ isTerminal?: boolean | null | undefined;
3533
+ } | null | undefined;
3528
3534
  publicSource?: {
3529
3535
  lastFetchedAt?: string | null | undefined;
3530
3536
  publishedAt?: string | null | undefined;
@@ -3601,6 +3607,12 @@ export declare const EntityDetailSchema: z.ZodObject<{
3601
3607
  id?: number | null | undefined;
3602
3608
  isCurrent?: boolean | null | undefined;
3603
3609
  isPrimary?: boolean | null | undefined;
3610
+ profileStatus?: {
3611
+ headline: string;
3612
+ isAcquired?: boolean | null | undefined;
3613
+ isClosed?: boolean | null | undefined;
3614
+ isTerminal?: boolean | null | undefined;
3615
+ } | null | undefined;
3604
3616
  publicSource?: {
3605
3617
  lastFetchedAt?: string | null | undefined;
3606
3618
  publishedAt?: string | null | undefined;
@@ -204,6 +204,13 @@ declare const EntityFilterSearchSchemaDefinition: z.ZodObject<{
204
204
  }>>>;
205
205
  typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
206
206
  typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
207
+ uniqueId: z.ZodOptional<z.ZodArray<z.ZodType<{
208
+ identifier?: string | null | undefined;
209
+ idType: string;
210
+ }, import("./unique-id-filter.ts").EntityUniqueIdFilterSchemaInput, z.core.$ZodTypeInternals<{
211
+ identifier?: string | null | undefined;
212
+ idType: string;
213
+ }, import("./unique-id-filter.ts").EntityUniqueIdFilterSchemaInput>>>>;
207
214
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
208
215
  urlDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
209
216
  urlMatchMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -226,6 +226,13 @@ export declare const EntityFilterSchema: z.ZodObject<{
226
226
  }>>>;
227
227
  typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
228
228
  typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
229
+ uniqueId: z.ZodOptional<z.ZodArray<z.ZodType<{
230
+ identifier?: string | null | undefined;
231
+ idType: string;
232
+ }, import("./unique-id-filter.ts").EntityUniqueIdFilterSchemaInput, z.core.$ZodTypeInternals<{
233
+ identifier?: string | null | undefined;
234
+ idType: string;
235
+ }, import("./unique-id-filter.ts").EntityUniqueIdFilterSchemaInput>>>>;
229
236
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
230
237
  urlDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
231
238
  urlMatchMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -6,6 +6,7 @@ import { EntityFundraiseFilterCriteriaSchema } from "./fundraise-filter-criteria
6
6
  import { EntityListQualityGateSchema } from "./list-quality-gate.js";
7
7
  import { EntityOperatingStatusSchema } from "./operating-status.js";
8
8
  import { EntityTypeSchema } from "./type.js";
9
+ import { EntityUniqueIdFilterSchema } from "./unique-id-filter.js";
9
10
  import { EntityUrlTypeSchema } from "./url-type.js";
10
11
  import { IntRangeSchema } from "../int/range.js";
11
12
  import { ResearchDetailRangeSchema } from "../research/detail-range.js";
@@ -133,6 +134,8 @@ export const EntityFilterSchema = z.strictObject({
133
134
  typeRevenue: z.array(z.string()).optional(),
134
135
  /** Technology-used classification values. */
135
136
  typeTechnologyUsed: z.array(z.string()).optional(),
137
+ /** OR public-registry identifier predicates; AND with other facets. */
138
+ uniqueId: z.array(EntityUniqueIdFilterSchema).max(20).optional(),
136
139
  /** Current URL to match by normalized host and path. */
137
140
  url: z.string().nullish(),
138
141
  /** Current root domain to match when urlMatchMode=domain. */
@@ -3503,6 +3503,12 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
3503
3503
  id?: number | null | undefined;
3504
3504
  isCurrent?: boolean | null | undefined;
3505
3505
  isPrimary?: boolean | null | undefined;
3506
+ profileStatus?: {
3507
+ headline: string;
3508
+ isAcquired?: boolean | null | undefined;
3509
+ isClosed?: boolean | null | undefined;
3510
+ isTerminal?: boolean | null | undefined;
3511
+ } | null | undefined;
3506
3512
  publicSource?: {
3507
3513
  lastFetchedAt?: string | null | undefined;
3508
3514
  publishedAt?: string | null | undefined;
@@ -3579,6 +3585,12 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
3579
3585
  id?: number | null | undefined;
3580
3586
  isCurrent?: boolean | null | undefined;
3581
3587
  isPrimary?: boolean | null | undefined;
3588
+ profileStatus?: {
3589
+ headline: string;
3590
+ isAcquired?: boolean | null | undefined;
3591
+ isClosed?: boolean | null | undefined;
3592
+ isTerminal?: boolean | null | undefined;
3593
+ } | null | undefined;
3582
3594
  publicSource?: {
3583
3595
  lastFetchedAt?: string | null | undefined;
3584
3596
  publishedAt?: string | null | undefined;
@@ -223,6 +223,13 @@ export declare const EntityListFilterSchema: z.ZodObject<{
223
223
  }>>>;
224
224
  typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
225
225
  typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
226
+ uniqueId: z.ZodOptional<z.ZodArray<z.ZodType<{
227
+ identifier?: string | null | undefined;
228
+ idType: string;
229
+ }, import("./unique-id-filter.ts").EntityUniqueIdFilterSchemaInput, z.core.$ZodTypeInternals<{
230
+ identifier?: string | null | undefined;
231
+ idType: string;
232
+ }, import("./unique-id-filter.ts").EntityUniqueIdFilterSchemaInput>>>>;
226
233
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
227
234
  urlDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
228
235
  urlMatchMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -6,6 +6,7 @@ import { EntityFundraiseFilterCriteriaSchema } from "./fundraise-filter-criteria
6
6
  import { EntityListQualityGateSchema } from "./list-quality-gate.js";
7
7
  import { EntityOperatingStatusSchema } from "./operating-status.js";
8
8
  import { EntityTypeSchema } from "./type.js";
9
+ import { EntityUniqueIdFilterSchema } from "./unique-id-filter.js";
9
10
  import { EntityUrlTypeSchema } from "./url-type.js";
10
11
  import { IntRangeSchema } from "../int/range.js";
11
12
  import { ResearchDetailRangeSchema } from "../research/detail-range.js";
@@ -131,6 +132,8 @@ export const EntityListFilterSchema = z.strictObject({
131
132
  typeRevenue: z.array(z.string()).optional(),
132
133
  /** Technology-used classification values. */
133
134
  typeTechnologyUsed: z.array(z.string()).optional(),
135
+ /** OR public-registry identifier predicates; AND with other facets. */
136
+ uniqueId: z.array(EntityUniqueIdFilterSchema).max(20).optional(),
134
137
  /** Current URL to match by normalized host and path. */
135
138
  url: z.string().nullish(),
136
139
  /** Current root domain to match when urlMatchMode=domain. */
@@ -201,6 +201,13 @@ declare const EntityNaturalSearchSchemaDefinition: z.ZodObject<{
201
201
  }>>>;
202
202
  typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
203
203
  typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
204
+ uniqueId: z.ZodOptional<z.ZodArray<z.ZodType<{
205
+ identifier?: string | null | undefined;
206
+ idType: string;
207
+ }, import("./unique-id-filter.ts").EntityUniqueIdFilterSchemaInput, z.core.$ZodTypeInternals<{
208
+ identifier?: string | null | undefined;
209
+ idType: string;
210
+ }, import("./unique-id-filter.ts").EntityUniqueIdFilterSchemaInput>>>>;
204
211
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
205
212
  urlDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
206
213
  urlMatchMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -221,6 +221,13 @@ export declare const EntityPersonAssociationFilterSchema: z.ZodObject<{
221
221
  }>>>;
222
222
  typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
223
223
  typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
224
+ uniqueId: z.ZodOptional<z.ZodArray<z.ZodType<{
225
+ identifier?: string | null | undefined;
226
+ idType: string;
227
+ }, import("./unique-id-filter.ts").EntityUniqueIdFilterSchemaInput, z.core.$ZodTypeInternals<{
228
+ identifier?: string | null | undefined;
229
+ idType: string;
230
+ }, import("./unique-id-filter.ts").EntityUniqueIdFilterSchemaInput>>>>;
224
231
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
232
  urlDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
226
233
  urlMatchMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -28,6 +28,7 @@ import { z } from "zod/v4";
28
28
  * @usedBySchema EntityComparisonSignalsSchema
29
29
  * @usedBySchema EntityDetailSchema
30
30
  * @usedBySchema EntityListSchema
31
+ * @usedBySchema EntityRelationshipSchema
31
32
  * @contractShape entity.profile-status
32
33
  * @contractRole canonical
33
34
  */
@@ -30,6 +30,7 @@ import { EntityProfileHeadlineSchema } from "./profile-headline.js";
30
30
  * @usedBySchema EntityComparisonSignalsSchema
31
31
  * @usedBySchema EntityDetailSchema
32
32
  * @usedBySchema EntityListSchema
33
+ * @usedBySchema EntityRelationshipSchema
33
34
  * @contractShape entity.profile-status
34
35
  * @contractRole canonical
35
36
  */
@@ -209,6 +209,48 @@ declare const EntityRelationshipSchemaDefinition: z.ZodObject<{
209
209
  id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
210
210
  isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
211
211
  isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
212
+ profileStatus: z.ZodOptional<z.ZodNullable<z.ZodObject<{
213
+ headline: z.ZodUnion<readonly [z.ZodEnum<{
214
+ Acquired: "Acquired";
215
+ "Acquired Subsidiary": "Acquired Subsidiary";
216
+ "Business Line": "Business Line";
217
+ Closed: "Closed";
218
+ "Closed (Acquihire)": "Closed (Acquihire)";
219
+ Company: "Company";
220
+ Fund: "Fund";
221
+ Government: "Government";
222
+ Inactive: "Inactive";
223
+ "Investment Firm": "Investment Firm";
224
+ Nonprofit: "Nonprofit";
225
+ "Private company": "Private company";
226
+ Product: "Product";
227
+ Public: "Public";
228
+ "Public company": "Public company";
229
+ Service: "Service";
230
+ }>, z.ZodString]> & {
231
+ enum: {
232
+ Acquired: "Acquired";
233
+ "Acquired Subsidiary": "Acquired Subsidiary";
234
+ "Business Line": "Business Line";
235
+ Closed: "Closed";
236
+ "Closed (Acquihire)": "Closed (Acquihire)";
237
+ Company: "Company";
238
+ Fund: "Fund";
239
+ Government: "Government";
240
+ Inactive: "Inactive";
241
+ "Investment Firm": "Investment Firm";
242
+ Nonprofit: "Nonprofit";
243
+ "Private company": "Private company";
244
+ Product: "Product";
245
+ Public: "Public";
246
+ "Public company": "Public company";
247
+ Service: "Service";
248
+ };
249
+ };
250
+ isAcquired: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
251
+ isClosed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
252
+ isTerminal: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
253
+ }, z.core.$strip>>>;
212
254
  publicSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
213
255
  lastFetchedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
214
256
  publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
@@ -2,6 +2,7 @@
2
2
  import { z } from "zod/v4";
3
3
  import { EntityComparisonSignalsSchema } from "./comparison-signals.js";
4
4
  import { EntitySchema } from "./entity.js";
5
+ import { EntityProfileStatusSchema } from "./profile-status.js";
5
6
  import { EntityResearchPublicSourceSchema } from "./research-public-source.js";
6
7
  const EntityRelationshipSchemaDefinition = z.object({
7
8
  /** Source-stated effective date, preserving stored precision */
@@ -22,6 +23,8 @@ const EntityRelationshipSchemaDefinition = z.object({
22
23
  isCurrent: z.boolean().nullish(),
23
24
  /** Whether this relationship is the primary one shown. isCurrent=false or isPrimary=false hides the row from default relationship reads. */
24
25
  isPrimary: z.boolean().nullish(),
26
+ /** Derived profile status of the joined entity, as its list and detail reads report it; absent on write responses, nested rows, and identity-only reads. */
27
+ profileStatus: EntityProfileStatusSchema.nullish(),
25
28
  /** Published page behind this relationship, read from the provenance event that wrote it; absent for internal sources. */
26
29
  publicSource: EntityResearchPublicSourceSchema.nullish(),
27
30
  /** Nested relationships for the joined entity */
@@ -3512,6 +3512,12 @@ export declare const EntityResolutionSchema: z.ZodObject<{
3512
3512
  id?: number | null | undefined;
3513
3513
  isCurrent?: boolean | null | undefined;
3514
3514
  isPrimary?: boolean | null | undefined;
3515
+ profileStatus?: {
3516
+ headline: string;
3517
+ isAcquired?: boolean | null | undefined;
3518
+ isClosed?: boolean | null | undefined;
3519
+ isTerminal?: boolean | null | undefined;
3520
+ } | null | undefined;
3515
3521
  publicSource?: {
3516
3522
  lastFetchedAt?: string | null | undefined;
3517
3523
  publishedAt?: string | null | undefined;
@@ -3588,6 +3594,12 @@ export declare const EntityResolutionSchema: z.ZodObject<{
3588
3594
  id?: number | null | undefined;
3589
3595
  isCurrent?: boolean | null | undefined;
3590
3596
  isPrimary?: boolean | null | undefined;
3597
+ profileStatus?: {
3598
+ headline: string;
3599
+ isAcquired?: boolean | null | undefined;
3600
+ isClosed?: boolean | null | undefined;
3601
+ isTerminal?: boolean | null | undefined;
3602
+ } | null | undefined;
3591
3603
  publicSource?: {
3592
3604
  lastFetchedAt?: string | null | undefined;
3593
3605
  publishedAt?: string | null | undefined;
@@ -0,0 +1,38 @@
1
+ import { z } from "zod/v4";
2
+ declare const EntityUniqueIdFilterSchemaDefinition: z.ZodObject<{
3
+ identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
+ idType: z.ZodString;
5
+ }, z.core.$strip>;
6
+ type EntityUniqueIdFilterDefinition = z.infer<typeof EntityUniqueIdFilterSchemaDefinition>;
7
+ export interface EntityUniqueIdFilterSchemaInput extends z.input<typeof EntityUniqueIdFilterSchemaDefinition> {
8
+ }
9
+ /**
10
+ * Public-registry identifier predicate: entities holding an identifier in this namespace, or this exact identifier when identifier is supplied. Private namespaces are refused.
11
+ *
12
+ * @openapiSchema EntityUniqueIdFilter
13
+ * @endpoint GET /v1/entities
14
+ * @endpoint GET /v1/people
15
+ * @endpoint GET /v1/search/link
16
+ * @endpoint GET /v1/directory/shared/slug/{slug}
17
+ * @endpoint GET /v1/search/link/jobs/{jobId}
18
+ * @endpoint GET /v1/search/shared/{id}
19
+ * @endpoint GET /v1/search/shared/slug/{slug}
20
+ * @endpoint POST /v1/directory/exports
21
+ * @endpoint POST /v1/directory/shared
22
+ * @endpoint POST /v1/entities/filters/refine
23
+ * @endpoint POST /v1/entities/filters/search
24
+ * @endpoint POST /v1/entities/search
25
+ * @endpoint POST /v1/people/search
26
+ * @endpoint POST /v1/search
27
+ * @endpoint POST /v1/search/natural/entities
28
+ * @endpoint POST /v1/search/natural/people
29
+ * @endpoint POST /v1/search/shared
30
+ * @usedBySchema EntityFilterSchema
31
+ * @usedBySchema EntityListFilterSchema
32
+ * @contractShape entity.unique-id-filter
33
+ * @contractRole canonical
34
+ */
35
+ export declare const EntityUniqueIdFilterSchema: z.ZodType<EntityUniqueIdFilterDefinition, EntityUniqueIdFilterSchemaInput>;
36
+ export type EntityUniqueIdFilter = z.infer<typeof EntityUniqueIdFilterSchema>;
37
+ export {};
38
+ //# sourceMappingURL=unique-id-filter.d.ts.map
@@ -0,0 +1,36 @@
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
+ const EntityUniqueIdFilterSchemaDefinition = z.object({
4
+ /** Exact identifier in that namespace; omitted matches any recorded value. */
5
+ identifier: z.string().max(255).nullish(),
6
+ /** Public identifier type token, for example secCik, ein, or ticker. */
7
+ idType: z.string(),
8
+ });
9
+ /**
10
+ * Public-registry identifier predicate: entities holding an identifier in this namespace, or this exact identifier when identifier is supplied. Private namespaces are refused.
11
+ *
12
+ * @openapiSchema EntityUniqueIdFilter
13
+ * @endpoint GET /v1/entities
14
+ * @endpoint GET /v1/people
15
+ * @endpoint GET /v1/search/link
16
+ * @endpoint GET /v1/directory/shared/slug/{slug}
17
+ * @endpoint GET /v1/search/link/jobs/{jobId}
18
+ * @endpoint GET /v1/search/shared/{id}
19
+ * @endpoint GET /v1/search/shared/slug/{slug}
20
+ * @endpoint POST /v1/directory/exports
21
+ * @endpoint POST /v1/directory/shared
22
+ * @endpoint POST /v1/entities/filters/refine
23
+ * @endpoint POST /v1/entities/filters/search
24
+ * @endpoint POST /v1/entities/search
25
+ * @endpoint POST /v1/people/search
26
+ * @endpoint POST /v1/search
27
+ * @endpoint POST /v1/search/natural/entities
28
+ * @endpoint POST /v1/search/natural/people
29
+ * @endpoint POST /v1/search/shared
30
+ * @usedBySchema EntityFilterSchema
31
+ * @usedBySchema EntityListFilterSchema
32
+ * @contractShape entity.unique-id-filter
33
+ * @contractRole canonical
34
+ */
35
+ export const EntityUniqueIdFilterSchema = EntityUniqueIdFilterSchemaDefinition;
36
+ //# sourceMappingURL=unique-id-filter.js.map
@@ -207,6 +207,13 @@ declare const FederatedNaturalSearchSchemaDefinition: z.ZodObject<{
207
207
  }>>>;
208
208
  typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
209
209
  typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
210
+ uniqueId: z.ZodOptional<z.ZodArray<z.ZodType<{
211
+ identifier?: string | null | undefined;
212
+ idType: string;
213
+ }, import("../entity/unique-id-filter.ts").EntityUniqueIdFilterSchemaInput, z.core.$ZodTypeInternals<{
214
+ identifier?: string | null | undefined;
215
+ idType: string;
216
+ }, import("../entity/unique-id-filter.ts").EntityUniqueIdFilterSchemaInput>>>>;
210
217
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
211
218
  urlDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
212
219
  urlMatchMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -7,7 +7,7 @@ const FederatedSearchProvenanceSchemaDefinition = z.object({
7
7
  answerUnavailable: z.boolean(),
8
8
  /** Entity search strategy execution. */
9
9
  entity: SearchModeExecutionSchema,
10
- /** Scopes whose optional sources or candidate judgments did not all complete. Returned rows remain judged and usable but the population is incomplete, so this response must not be cached as final. Retrying the same query may complete these scopes. */
10
+ /** Scopes whose required named subjects could not be resolved, or whose optional sources or candidate judgments did not all complete. Returned rows remain usable but the requested population is incomplete, so this response must not be cached as final. Clarifying the named subjects or retrying may complete these scopes. */
11
11
  incompleteScope: z.array(z.enum(["entity", "person", "news"])).optional(),
12
12
  /** News search strategy execution. */
13
13
  news: SearchModeExecutionSchema,
@@ -164,6 +164,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
164
164
  typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | undefined;
165
165
  typeRevenue?: string[] | undefined;
166
166
  typeTechnologyUsed?: string[] | undefined;
167
+ uniqueId?: {
168
+ identifier?: string | null | undefined;
169
+ idType: string;
170
+ }[] | undefined;
167
171
  url?: string | null | undefined;
168
172
  urlDomain?: string | null | undefined;
169
173
  urlMatchMode?: "domain" | "hostPath" | null | undefined;
@@ -301,6 +305,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
301
305
  typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | undefined;
302
306
  typeRevenue?: string[] | undefined;
303
307
  typeTechnologyUsed?: string[] | undefined;
308
+ uniqueId?: {
309
+ identifier?: string | null | undefined;
310
+ idType: string;
311
+ }[] | undefined;
304
312
  url?: string | null | undefined;
305
313
  urlDomain?: string | null | undefined;
306
314
  urlMatchMode?: "domain" | "hostPath" | null | undefined;
@@ -456,6 +464,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
456
464
  typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | undefined;
457
465
  typeRevenue?: string[] | undefined;
458
466
  typeTechnologyUsed?: string[] | undefined;
467
+ uniqueId?: {
468
+ identifier?: string | null | undefined;
469
+ idType: string;
470
+ }[] | undefined;
459
471
  url?: string | null | undefined;
460
472
  urlDomain?: string | null | undefined;
461
473
  urlMatchMode?: "domain" | "hostPath" | null | undefined;
@@ -2861,6 +2873,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
2861
2873
  typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | undefined;
2862
2874
  typeRevenue?: string[] | undefined;
2863
2875
  typeTechnologyUsed?: string[] | undefined;
2876
+ uniqueId?: {
2877
+ identifier?: string | null | undefined;
2878
+ idType: string;
2879
+ }[] | undefined;
2864
2880
  url?: string | null | undefined;
2865
2881
  urlDomain?: string | null | undefined;
2866
2882
  urlMatchMode?: "domain" | "hostPath" | null | undefined;
@@ -2998,6 +3014,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
2998
3014
  typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | undefined;
2999
3015
  typeRevenue?: string[] | undefined;
3000
3016
  typeTechnologyUsed?: string[] | undefined;
3017
+ uniqueId?: {
3018
+ identifier?: string | null | undefined;
3019
+ idType: string;
3020
+ }[] | undefined;
3001
3021
  url?: string | null | undefined;
3002
3022
  urlDomain?: string | null | undefined;
3003
3023
  urlMatchMode?: "domain" | "hostPath" | null | undefined;
@@ -3153,6 +3173,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
3153
3173
  typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | undefined;
3154
3174
  typeRevenue?: string[] | undefined;
3155
3175
  typeTechnologyUsed?: string[] | undefined;
3176
+ uniqueId?: {
3177
+ identifier?: string | null | undefined;
3178
+ idType: string;
3179
+ }[] | undefined;
3156
3180
  url?: string | null | undefined;
3157
3181
  urlDomain?: string | null | undefined;
3158
3182
  urlMatchMode?: "domain" | "hostPath" | null | undefined;
@@ -8898,6 +8922,12 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
8898
8922
  id?: number | null | undefined;
8899
8923
  isCurrent?: boolean | null | undefined;
8900
8924
  isPrimary?: boolean | null | undefined;
8925
+ profileStatus?: {
8926
+ headline: string;
8927
+ isAcquired?: boolean | null | undefined;
8928
+ isClosed?: boolean | null | undefined;
8929
+ isTerminal?: boolean | null | undefined;
8930
+ } | null | undefined;
8901
8931
  publicSource?: {
8902
8932
  lastFetchedAt?: string | null | undefined;
8903
8933
  publishedAt?: string | null | undefined;
@@ -8974,6 +9004,12 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
8974
9004
  id?: number | null | undefined;
8975
9005
  isCurrent?: boolean | null | undefined;
8976
9006
  isPrimary?: boolean | null | undefined;
9007
+ profileStatus?: {
9008
+ headline: string;
9009
+ isAcquired?: boolean | null | undefined;
9010
+ isClosed?: boolean | null | undefined;
9011
+ isTerminal?: boolean | null | undefined;
9012
+ } | null | undefined;
8977
9013
  publicSource?: {
8978
9014
  lastFetchedAt?: string | null | undefined;
8979
9015
  publishedAt?: string | null | undefined;
@@ -9480,6 +9516,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
9480
9516
  typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | undefined;
9481
9517
  typeRevenue?: string[] | undefined;
9482
9518
  typeTechnologyUsed?: string[] | undefined;
9519
+ uniqueId?: {
9520
+ identifier?: string | null | undefined;
9521
+ idType: string;
9522
+ }[] | undefined;
9483
9523
  url?: string | null | undefined;
9484
9524
  urlDomain?: string | null | undefined;
9485
9525
  urlMatchMode?: "domain" | "hostPath" | null | undefined;
@@ -9635,6 +9675,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
9635
9675
  typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | undefined;
9636
9676
  typeRevenue?: string[] | undefined;
9637
9677
  typeTechnologyUsed?: string[] | undefined;
9678
+ uniqueId?: {
9679
+ identifier?: string | null | undefined;
9680
+ idType: string;
9681
+ }[] | undefined;
9638
9682
  url?: string | null | undefined;
9639
9683
  urlDomain?: string | null | undefined;
9640
9684
  urlMatchMode?: "domain" | "hostPath" | null | undefined;
@@ -10076,6 +10120,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
10076
10120
  typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | undefined;
10077
10121
  typeRevenue?: string[] | undefined;
10078
10122
  typeTechnologyUsed?: string[] | undefined;
10123
+ uniqueId?: {
10124
+ identifier?: string | null | undefined;
10125
+ idType: string;
10126
+ }[] | undefined;
10079
10127
  url?: string | null | undefined;
10080
10128
  urlDomain?: string | null | undefined;
10081
10129
  urlMatchMode?: "domain" | "hostPath" | null | undefined;
@@ -10231,6 +10279,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
10231
10279
  typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | undefined;
10232
10280
  typeRevenue?: string[] | undefined;
10233
10281
  typeTechnologyUsed?: string[] | undefined;
10282
+ uniqueId?: {
10283
+ identifier?: string | null | undefined;
10284
+ idType: string;
10285
+ }[] | undefined;
10234
10286
  url?: string | null | undefined;
10235
10287
  urlDomain?: string | null | undefined;
10236
10288
  urlMatchMode?: "domain" | "hostPath" | null | undefined;