@aventurevc/api-schemas 0.8.431 → 0.8.433
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/dist/classification/catalog-bucket.d.ts +1 -0
- package/dist/classification/catalog-bucket.js +2 -0
- package/dist/classification/catalog.d.ts +2 -0
- package/dist/directory/export-mutation.d.ts +6 -0
- package/dist/entity/acquisition-deal-status.d.ts +24 -0
- package/dist/entity/acquisition-deal-status.js +15 -0
- package/dist/entity/acquisition.d.ts +11 -0
- package/dist/entity/acquisition.js +3 -0
- package/dist/entity/brand.d.ts +68 -0
- package/dist/entity/classification.d.ts +44 -0
- package/dist/entity/classification.js +4 -0
- package/dist/entity/detail.d.ts +68 -0
- package/dist/entity/enrichment.d.ts +68 -0
- package/dist/entity/filter-search.d.ts +2 -0
- package/dist/entity/filter.d.ts +2 -0
- package/dist/entity/filter.js +4 -0
- package/dist/entity/investor-participation.d.ts +68 -0
- package/dist/entity/list-filter.d.ts +2 -0
- package/dist/entity/list-filter.js +4 -0
- package/dist/entity/list.d.ts +68 -0
- package/dist/entity/natural-search.d.ts +2 -0
- package/dist/entity/person-association-filter.d.ts +2 -0
- package/dist/entity/resolution.d.ts +68 -0
- package/dist/entity/similarity-result.d.ts +68 -0
- package/dist/federated/natural-search.d.ts +2 -0
- package/dist/federated/search.d.ts +292 -0
- package/dist/link/search.d.ts +292 -0
- package/dist/lookup/job-mention.d.ts +68 -0
- package/dist/lookup/job.d.ts +68 -0
- package/dist/mention/lookup.d.ts +68 -0
- package/dist/natural/search-result.d.ts +216 -0
- package/dist/openapi-component-manifest.js +4 -0
- package/dist/pagination/schemas.d.ts +342 -0
- package/dist/person/filter.d.ts +4 -0
- package/dist/person/natural-search-result.d.ts +8 -0
- package/dist/person/natural-search.d.ts +4 -0
- package/dist/person/search-interpretation.d.ts +4 -0
- package/dist/search/interpretation.d.ts +6 -0
- package/dist/shared/directory-mutation.d.ts +6 -0
- package/dist/shared/directory.d.ts +6 -0
- package/dist/shared/search.d.ts +292 -0
- package/dist/unique/id-type.d.ts +2 -0
- package/dist/unique/id-type.js +1 -0
- package/dist/unique/id.d.ts +2 -0
- package/package.json +1 -1
|
@@ -28,6 +28,7 @@ declare const ClassificationCatalogBucketSchemaDefinition: z.ZodObject<{
|
|
|
28
28
|
}, z.core.$strip>>>;
|
|
29
29
|
tagCount: z.ZodInt;
|
|
30
30
|
type: z.ZodString;
|
|
31
|
+
vocabulary: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
31
32
|
}, z.core.$strip>;
|
|
32
33
|
type ClassificationCatalogBucketDefinition = z.infer<typeof ClassificationCatalogBucketSchemaDefinition>;
|
|
33
34
|
export interface ClassificationCatalogBucketSchemaInput extends z.input<typeof ClassificationCatalogBucketSchemaDefinition> {
|
|
@@ -16,6 +16,8 @@ const ClassificationCatalogBucketSchemaDefinition = z.object({
|
|
|
16
16
|
tagCount: z.int(),
|
|
17
17
|
/** Canonical wire value — use as ?type= for /tags, as ?bucketType= for /catalog, and as Tag.type when round-tripping. Matches Tag.type returned in this bucket's tag[]. */
|
|
18
18
|
type: z.string(),
|
|
19
|
+
/** Every name a closed bucket accepts by type plus name, in its stored spelling, including values no entity holds yet. Empty when the bucket is open, or when its accepted values are exactly its active tags. */
|
|
20
|
+
vocabulary: z.array(z.string()).default([]).optional(),
|
|
19
21
|
});
|
|
20
22
|
/**
|
|
21
23
|
* Classification bucket with active registry tags and accepted-spelling aliases.
|
|
@@ -24,6 +24,7 @@ declare const ClassificationCatalogSchemaDefinition: z.ZodObject<{
|
|
|
24
24
|
})[];
|
|
25
25
|
tagCount: number;
|
|
26
26
|
type: string;
|
|
27
|
+
vocabulary?: string[] | undefined;
|
|
27
28
|
}, import("./catalog-bucket.ts").ClassificationCatalogBucketSchemaInput, z.core.$ZodTypeInternals<{
|
|
28
29
|
alias: string[];
|
|
29
30
|
bucket?: string | null | undefined;
|
|
@@ -48,6 +49,7 @@ declare const ClassificationCatalogSchemaDefinition: z.ZodObject<{
|
|
|
48
49
|
})[];
|
|
49
50
|
tagCount: number;
|
|
50
51
|
type: string;
|
|
52
|
+
vocabulary?: string[] | undefined;
|
|
51
53
|
}, import("./catalog-bucket.ts").ClassificationCatalogBucketSchemaInput>>>;
|
|
52
54
|
category: z.ZodArray<z.ZodType<{
|
|
53
55
|
alias: string[];
|
|
@@ -237,6 +237,7 @@ declare const DirectoryExportMutationSchemaDefinition: z.ZodObject<{
|
|
|
237
237
|
tag: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
238
238
|
textSearch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
239
239
|
typeCustomer: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
240
|
+
typeInvestor: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
240
241
|
typeModel: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
241
242
|
typeOwnership: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
242
243
|
typeRecord: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -250,6 +251,7 @@ declare const DirectoryExportMutationSchemaDefinition: z.ZodObject<{
|
|
|
250
251
|
Product: "Product";
|
|
251
252
|
Service: "Service";
|
|
252
253
|
}>>>;
|
|
254
|
+
typeRegulatory: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
253
255
|
typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
254
256
|
typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
255
257
|
uniqueId: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
@@ -454,6 +456,7 @@ declare const DirectoryExportMutationSchemaDefinition: z.ZodObject<{
|
|
|
454
456
|
tag: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
455
457
|
textSearch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
456
458
|
typeCustomer: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
459
|
+
typeInvestor: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
457
460
|
typeModel: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
458
461
|
typeOwnership: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
459
462
|
typeRecord: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -467,6 +470,7 @@ declare const DirectoryExportMutationSchemaDefinition: z.ZodObject<{
|
|
|
467
470
|
Product: "Product";
|
|
468
471
|
Service: "Service";
|
|
469
472
|
}>>>;
|
|
473
|
+
typeRegulatory: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
470
474
|
typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
471
475
|
typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
472
476
|
uniqueId: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
@@ -708,6 +712,7 @@ declare const DirectoryExportMutationSchemaDefinition: z.ZodObject<{
|
|
|
708
712
|
tag: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
709
713
|
textSearch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
710
714
|
typeCustomer: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
715
|
+
typeInvestor: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
711
716
|
typeModel: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
712
717
|
typeOwnership: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
713
718
|
typeRecord: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -721,6 +726,7 @@ declare const DirectoryExportMutationSchemaDefinition: z.ZodObject<{
|
|
|
721
726
|
Product: "Product";
|
|
722
727
|
Service: "Service";
|
|
723
728
|
}>>>;
|
|
729
|
+
typeRegulatory: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
724
730
|
typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
725
731
|
typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
726
732
|
uniqueId: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Deal status of an acquisition: Pending is announced and not yet closed, Completed has closed, Canceled was terminated before closing.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema EntityAcquisitionDealStatus
|
|
6
|
+
* @endpoint GET /v1/entities/{entityId}/acquisitions
|
|
7
|
+
* @endpoint GET /v1/entities/{entityId}/acquisitions/{relationshipId}
|
|
8
|
+
* @usedBySchema EntityAcquisitionSchema
|
|
9
|
+
* @contractShape entity.acquisition-deal-status
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export declare const EntityAcquisitionDealStatusSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
13
|
+
Canceled: "Canceled";
|
|
14
|
+
Completed: "Completed";
|
|
15
|
+
Pending: "Pending";
|
|
16
|
+
}>, z.ZodString]> & {
|
|
17
|
+
enum: {
|
|
18
|
+
Canceled: "Canceled";
|
|
19
|
+
Completed: "Completed";
|
|
20
|
+
Pending: "Pending";
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export type EntityAcquisitionDealStatus = z.infer<typeof EntityAcquisitionDealStatusSchema>;
|
|
24
|
+
//# sourceMappingURL=acquisition-deal-status.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
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 EntityAcquisitionDealStatusSchemaKnownMembers = z.enum(["Pending", "Completed", "Canceled"]);
|
|
4
|
+
/**
|
|
5
|
+
* Deal status of an acquisition: Pending is announced and not yet closed, Completed has closed, Canceled was terminated before closing.
|
|
6
|
+
*
|
|
7
|
+
* @openapiSchema EntityAcquisitionDealStatus
|
|
8
|
+
* @endpoint GET /v1/entities/{entityId}/acquisitions
|
|
9
|
+
* @endpoint GET /v1/entities/{entityId}/acquisitions/{relationshipId}
|
|
10
|
+
* @usedBySchema EntityAcquisitionSchema
|
|
11
|
+
* @contractShape entity.acquisition-deal-status
|
|
12
|
+
* @contractRole canonical
|
|
13
|
+
*/
|
|
14
|
+
export const EntityAcquisitionDealStatusSchema = Object.assign(z.union([EntityAcquisitionDealStatusSchemaKnownMembers, z.string()]), { enum: EntityAcquisitionDealStatusSchemaKnownMembers.enum });
|
|
15
|
+
//# sourceMappingURL=acquisition-deal-status.js.map
|
|
@@ -158,6 +158,17 @@ declare const EntityAcquisitionSchemaDefinition: z.ZodObject<{
|
|
|
158
158
|
Medium: "Medium";
|
|
159
159
|
Verified: "Verified";
|
|
160
160
|
}>>>;
|
|
161
|
+
dealStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
162
|
+
Canceled: "Canceled";
|
|
163
|
+
Completed: "Completed";
|
|
164
|
+
Pending: "Pending";
|
|
165
|
+
}>, z.ZodString]> & {
|
|
166
|
+
enum: {
|
|
167
|
+
Canceled: "Canceled";
|
|
168
|
+
Completed: "Completed";
|
|
169
|
+
Pending: "Pending";
|
|
170
|
+
};
|
|
171
|
+
}>;
|
|
161
172
|
evidence: z.ZodType<{
|
|
162
173
|
fundraiseInvestorJoin: boolean;
|
|
163
174
|
fundraiseTransaction: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
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 { EntityAcquisitionDealStatusSchema } from "./acquisition-deal-status.js";
|
|
3
4
|
import { EntityAcquisitionEvidenceSchema } from "./acquisition-evidence.js";
|
|
4
5
|
import { EntityAcquisitionStageSchema } from "./acquisition-stage.js";
|
|
5
6
|
import { EntitySchema } from "./entity.js";
|
|
@@ -30,6 +31,8 @@ const EntityAcquisitionSchemaDefinition = z.object({
|
|
|
30
31
|
createdAt: z.iso.datetime({ offset: true }).nullish(),
|
|
31
32
|
currency: z.string().nullish(),
|
|
32
33
|
dataConfidence: FundraiseDataConfidenceSchema.nullish(),
|
|
34
|
+
/** Whether the deal is Pending (announced, not closed), Completed, or Canceled before closing. The server derives it from transactionStatus and completedAt; present this value instead of interpreting those fields. */
|
|
35
|
+
dealStatus: EntityAcquisitionDealStatusSchema.optional(),
|
|
33
36
|
evidence: EntityAcquisitionEvidenceSchema,
|
|
34
37
|
/** Funding round id (UUID) */
|
|
35
38
|
fundraiseTransactionId: z.uuid().nullish(),
|
package/dist/entity/brand.d.ts
CHANGED
|
@@ -101,6 +101,23 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
101
101
|
type: string;
|
|
102
102
|
updatedAt?: string | null | undefined;
|
|
103
103
|
})[] | undefined;
|
|
104
|
+
typeInvestor?: ({
|
|
105
|
+
isCurrent?: boolean | null | undefined;
|
|
106
|
+
isPrimary?: boolean | null | undefined;
|
|
107
|
+
name: string;
|
|
108
|
+
registry: string;
|
|
109
|
+
} & {
|
|
110
|
+
bucket?: string | null | undefined;
|
|
111
|
+
classificationId?: number | null | undefined;
|
|
112
|
+
createdAt?: string | null | undefined;
|
|
113
|
+
id: number;
|
|
114
|
+
isCurrent?: boolean | null | undefined;
|
|
115
|
+
isPrimary?: boolean | null | undefined;
|
|
116
|
+
name: string;
|
|
117
|
+
slug?: string | null | undefined;
|
|
118
|
+
type: string;
|
|
119
|
+
updatedAt?: string | null | undefined;
|
|
120
|
+
})[] | undefined;
|
|
104
121
|
typeModel?: ({
|
|
105
122
|
isCurrent?: boolean | null | undefined;
|
|
106
123
|
isPrimary?: boolean | null | undefined;
|
|
@@ -135,6 +152,23 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
135
152
|
type: string;
|
|
136
153
|
updatedAt?: string | null | undefined;
|
|
137
154
|
})[] | undefined;
|
|
155
|
+
typeRegulatory?: ({
|
|
156
|
+
isCurrent?: boolean | null | undefined;
|
|
157
|
+
isPrimary?: boolean | null | undefined;
|
|
158
|
+
name: string;
|
|
159
|
+
registry: string;
|
|
160
|
+
} & {
|
|
161
|
+
bucket?: string | null | undefined;
|
|
162
|
+
classificationId?: number | null | undefined;
|
|
163
|
+
createdAt?: string | null | undefined;
|
|
164
|
+
id: number;
|
|
165
|
+
isCurrent?: boolean | null | undefined;
|
|
166
|
+
isPrimary?: boolean | null | undefined;
|
|
167
|
+
name: string;
|
|
168
|
+
slug?: string | null | undefined;
|
|
169
|
+
type: string;
|
|
170
|
+
updatedAt?: string | null | undefined;
|
|
171
|
+
})[] | undefined;
|
|
138
172
|
typeRevenue?: ({
|
|
139
173
|
isCurrent?: boolean | null | undefined;
|
|
140
174
|
isPrimary?: boolean | null | undefined;
|
|
@@ -270,6 +304,23 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
270
304
|
type: string;
|
|
271
305
|
updatedAt?: string | null | undefined;
|
|
272
306
|
})[] | undefined;
|
|
307
|
+
typeInvestor?: ({
|
|
308
|
+
isCurrent?: boolean | null | undefined;
|
|
309
|
+
isPrimary?: boolean | null | undefined;
|
|
310
|
+
name: string;
|
|
311
|
+
registry: string;
|
|
312
|
+
} & {
|
|
313
|
+
bucket?: string | null | undefined;
|
|
314
|
+
classificationId?: number | null | undefined;
|
|
315
|
+
createdAt?: string | null | undefined;
|
|
316
|
+
id: number;
|
|
317
|
+
isCurrent?: boolean | null | undefined;
|
|
318
|
+
isPrimary?: boolean | null | undefined;
|
|
319
|
+
name: string;
|
|
320
|
+
slug?: string | null | undefined;
|
|
321
|
+
type: string;
|
|
322
|
+
updatedAt?: string | null | undefined;
|
|
323
|
+
})[] | undefined;
|
|
273
324
|
typeModel?: ({
|
|
274
325
|
isCurrent?: boolean | null | undefined;
|
|
275
326
|
isPrimary?: boolean | null | undefined;
|
|
@@ -304,6 +355,23 @@ declare const EntityBrandSchemaDefinition: z.ZodObject<{
|
|
|
304
355
|
type: string;
|
|
305
356
|
updatedAt?: string | null | undefined;
|
|
306
357
|
})[] | undefined;
|
|
358
|
+
typeRegulatory?: ({
|
|
359
|
+
isCurrent?: boolean | null | undefined;
|
|
360
|
+
isPrimary?: boolean | null | undefined;
|
|
361
|
+
name: string;
|
|
362
|
+
registry: string;
|
|
363
|
+
} & {
|
|
364
|
+
bucket?: string | null | undefined;
|
|
365
|
+
classificationId?: number | null | undefined;
|
|
366
|
+
createdAt?: string | null | undefined;
|
|
367
|
+
id: number;
|
|
368
|
+
isCurrent?: boolean | null | undefined;
|
|
369
|
+
isPrimary?: boolean | null | undefined;
|
|
370
|
+
name: string;
|
|
371
|
+
slug?: string | null | undefined;
|
|
372
|
+
type: string;
|
|
373
|
+
updatedAt?: string | null | undefined;
|
|
374
|
+
})[] | undefined;
|
|
307
375
|
typeRevenue?: ({
|
|
308
376
|
isCurrent?: boolean | null | undefined;
|
|
309
377
|
isPrimary?: boolean | null | undefined;
|
|
@@ -139,6 +139,28 @@ declare const EntityClassificationSchemaDefinition: z.ZodObject<{
|
|
|
139
139
|
type: z.ZodString;
|
|
140
140
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
141
141
|
}, z.core.$strip>>>>>;
|
|
142
|
+
typeInvestor: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodIntersection<z.ZodType<{
|
|
143
|
+
isCurrent?: boolean | null | undefined;
|
|
144
|
+
isPrimary?: boolean | null | undefined;
|
|
145
|
+
name: string;
|
|
146
|
+
registry: string;
|
|
147
|
+
}, import("../classification/classification.ts").ClassificationSchemaInput, z.core.$ZodTypeInternals<{
|
|
148
|
+
isCurrent?: boolean | null | undefined;
|
|
149
|
+
isPrimary?: boolean | null | undefined;
|
|
150
|
+
name: string;
|
|
151
|
+
registry: string;
|
|
152
|
+
}, import("../classification/classification.ts").ClassificationSchemaInput>>, z.ZodObject<{
|
|
153
|
+
bucket: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
154
|
+
classificationId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
155
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
156
|
+
id: z.ZodInt;
|
|
157
|
+
isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
158
|
+
isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
159
|
+
name: z.ZodString;
|
|
160
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
161
|
+
type: z.ZodString;
|
|
162
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
163
|
+
}, z.core.$strip>>>>>;
|
|
142
164
|
typeModel: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodIntersection<z.ZodType<{
|
|
143
165
|
isCurrent?: boolean | null | undefined;
|
|
144
166
|
isPrimary?: boolean | null | undefined;
|
|
@@ -183,6 +205,28 @@ declare const EntityClassificationSchemaDefinition: z.ZodObject<{
|
|
|
183
205
|
type: z.ZodString;
|
|
184
206
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
185
207
|
}, z.core.$strip>>>>>;
|
|
208
|
+
typeRegulatory: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodIntersection<z.ZodType<{
|
|
209
|
+
isCurrent?: boolean | null | undefined;
|
|
210
|
+
isPrimary?: boolean | null | undefined;
|
|
211
|
+
name: string;
|
|
212
|
+
registry: string;
|
|
213
|
+
}, import("../classification/classification.ts").ClassificationSchemaInput, z.core.$ZodTypeInternals<{
|
|
214
|
+
isCurrent?: boolean | null | undefined;
|
|
215
|
+
isPrimary?: boolean | null | undefined;
|
|
216
|
+
name: string;
|
|
217
|
+
registry: string;
|
|
218
|
+
}, import("../classification/classification.ts").ClassificationSchemaInput>>, z.ZodObject<{
|
|
219
|
+
bucket: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
220
|
+
classificationId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
221
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
222
|
+
id: z.ZodInt;
|
|
223
|
+
isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
224
|
+
isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
225
|
+
name: z.ZodString;
|
|
226
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
227
|
+
type: z.ZodString;
|
|
228
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
229
|
+
}, z.core.$strip>>>>>;
|
|
186
230
|
typeRevenue: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodIntersection<z.ZodType<{
|
|
187
231
|
isCurrent?: boolean | null | undefined;
|
|
188
232
|
isPrimary?: boolean | null | undefined;
|
|
@@ -15,10 +15,14 @@ const EntityClassificationSchemaDefinition = z.object({
|
|
|
15
15
|
tag: z.array(EntityTagSchema).default([]).optional(),
|
|
16
16
|
/** Type customer filter values */
|
|
17
17
|
typeCustomer: z.array(EntityTagSchema).default([]).optional(),
|
|
18
|
+
/** What an investment firm or fund invests in (e.g. Venture Capital, Private Equity, Real Estate), from a closed list; one value may be primary. */
|
|
19
|
+
typeInvestor: z.array(EntityTagSchema).default([]).optional(),
|
|
18
20
|
/** Type model filter values */
|
|
19
21
|
typeModel: z.array(EntityTagSchema).default([]).optional(),
|
|
20
22
|
/** Type ownership filter values */
|
|
21
23
|
typeOwnership: z.array(EntityTagSchema).default([]).optional(),
|
|
24
|
+
/** How a regulator classifies an investment firm or fund (e.g. SEC-Registered Investment Adviser, Exempt Reporting Adviser, Private Fund), from a closed list. The regulator's own number is a unique id, not a value here. */
|
|
25
|
+
typeRegulatory: z.array(EntityTagSchema).default([]).optional(),
|
|
22
26
|
/** Type revenue filter values */
|
|
23
27
|
typeRevenue: z.array(EntityTagSchema).default([]).optional(),
|
|
24
28
|
/** Type technology used filter values */
|
package/dist/entity/detail.d.ts
CHANGED
|
@@ -361,6 +361,23 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
361
361
|
type: string;
|
|
362
362
|
updatedAt?: string | null | undefined;
|
|
363
363
|
})[] | undefined;
|
|
364
|
+
typeInvestor?: ({
|
|
365
|
+
isCurrent?: boolean | null | undefined;
|
|
366
|
+
isPrimary?: boolean | null | undefined;
|
|
367
|
+
name: string;
|
|
368
|
+
registry: string;
|
|
369
|
+
} & {
|
|
370
|
+
bucket?: string | null | undefined;
|
|
371
|
+
classificationId?: number | null | undefined;
|
|
372
|
+
createdAt?: string | null | undefined;
|
|
373
|
+
id: number;
|
|
374
|
+
isCurrent?: boolean | null | undefined;
|
|
375
|
+
isPrimary?: boolean | null | undefined;
|
|
376
|
+
name: string;
|
|
377
|
+
slug?: string | null | undefined;
|
|
378
|
+
type: string;
|
|
379
|
+
updatedAt?: string | null | undefined;
|
|
380
|
+
})[] | undefined;
|
|
364
381
|
typeModel?: ({
|
|
365
382
|
isCurrent?: boolean | null | undefined;
|
|
366
383
|
isPrimary?: boolean | null | undefined;
|
|
@@ -395,6 +412,23 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
395
412
|
type: string;
|
|
396
413
|
updatedAt?: string | null | undefined;
|
|
397
414
|
})[] | undefined;
|
|
415
|
+
typeRegulatory?: ({
|
|
416
|
+
isCurrent?: boolean | null | undefined;
|
|
417
|
+
isPrimary?: boolean | null | undefined;
|
|
418
|
+
name: string;
|
|
419
|
+
registry: string;
|
|
420
|
+
} & {
|
|
421
|
+
bucket?: string | null | undefined;
|
|
422
|
+
classificationId?: number | null | undefined;
|
|
423
|
+
createdAt?: string | null | undefined;
|
|
424
|
+
id: number;
|
|
425
|
+
isCurrent?: boolean | null | undefined;
|
|
426
|
+
isPrimary?: boolean | null | undefined;
|
|
427
|
+
name: string;
|
|
428
|
+
slug?: string | null | undefined;
|
|
429
|
+
type: string;
|
|
430
|
+
updatedAt?: string | null | undefined;
|
|
431
|
+
})[] | undefined;
|
|
398
432
|
typeRevenue?: ({
|
|
399
433
|
isCurrent?: boolean | null | undefined;
|
|
400
434
|
isPrimary?: boolean | null | undefined;
|
|
@@ -628,6 +662,23 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
628
662
|
type: string;
|
|
629
663
|
updatedAt?: string | null | undefined;
|
|
630
664
|
})[] | undefined;
|
|
665
|
+
typeInvestor?: ({
|
|
666
|
+
isCurrent?: boolean | null | undefined;
|
|
667
|
+
isPrimary?: boolean | null | undefined;
|
|
668
|
+
name: string;
|
|
669
|
+
registry: string;
|
|
670
|
+
} & {
|
|
671
|
+
bucket?: string | null | undefined;
|
|
672
|
+
classificationId?: number | null | undefined;
|
|
673
|
+
createdAt?: string | null | undefined;
|
|
674
|
+
id: number;
|
|
675
|
+
isCurrent?: boolean | null | undefined;
|
|
676
|
+
isPrimary?: boolean | null | undefined;
|
|
677
|
+
name: string;
|
|
678
|
+
slug?: string | null | undefined;
|
|
679
|
+
type: string;
|
|
680
|
+
updatedAt?: string | null | undefined;
|
|
681
|
+
})[] | undefined;
|
|
631
682
|
typeModel?: ({
|
|
632
683
|
isCurrent?: boolean | null | undefined;
|
|
633
684
|
isPrimary?: boolean | null | undefined;
|
|
@@ -662,6 +713,23 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
662
713
|
type: string;
|
|
663
714
|
updatedAt?: string | null | undefined;
|
|
664
715
|
})[] | undefined;
|
|
716
|
+
typeRegulatory?: ({
|
|
717
|
+
isCurrent?: boolean | null | undefined;
|
|
718
|
+
isPrimary?: boolean | null | undefined;
|
|
719
|
+
name: string;
|
|
720
|
+
registry: string;
|
|
721
|
+
} & {
|
|
722
|
+
bucket?: string | null | undefined;
|
|
723
|
+
classificationId?: number | null | undefined;
|
|
724
|
+
createdAt?: string | null | undefined;
|
|
725
|
+
id: number;
|
|
726
|
+
isCurrent?: boolean | null | undefined;
|
|
727
|
+
isPrimary?: boolean | null | undefined;
|
|
728
|
+
name: string;
|
|
729
|
+
slug?: string | null | undefined;
|
|
730
|
+
type: string;
|
|
731
|
+
updatedAt?: string | null | undefined;
|
|
732
|
+
})[] | undefined;
|
|
665
733
|
typeRevenue?: ({
|
|
666
734
|
isCurrent?: boolean | null | undefined;
|
|
667
735
|
isPrimary?: boolean | null | undefined;
|
|
@@ -149,6 +149,23 @@ declare const EntityEnrichmentSchemaDefinition: z.ZodObject<{
|
|
|
149
149
|
type: string;
|
|
150
150
|
updatedAt?: string | null | undefined;
|
|
151
151
|
})[] | undefined;
|
|
152
|
+
typeInvestor?: ({
|
|
153
|
+
isCurrent?: boolean | null | undefined;
|
|
154
|
+
isPrimary?: boolean | null | undefined;
|
|
155
|
+
name: string;
|
|
156
|
+
registry: string;
|
|
157
|
+
} & {
|
|
158
|
+
bucket?: string | null | undefined;
|
|
159
|
+
classificationId?: number | null | undefined;
|
|
160
|
+
createdAt?: string | null | undefined;
|
|
161
|
+
id: number;
|
|
162
|
+
isCurrent?: boolean | null | undefined;
|
|
163
|
+
isPrimary?: boolean | null | undefined;
|
|
164
|
+
name: string;
|
|
165
|
+
slug?: string | null | undefined;
|
|
166
|
+
type: string;
|
|
167
|
+
updatedAt?: string | null | undefined;
|
|
168
|
+
})[] | undefined;
|
|
152
169
|
typeModel?: ({
|
|
153
170
|
isCurrent?: boolean | null | undefined;
|
|
154
171
|
isPrimary?: boolean | null | undefined;
|
|
@@ -183,6 +200,23 @@ declare const EntityEnrichmentSchemaDefinition: z.ZodObject<{
|
|
|
183
200
|
type: string;
|
|
184
201
|
updatedAt?: string | null | undefined;
|
|
185
202
|
})[] | undefined;
|
|
203
|
+
typeRegulatory?: ({
|
|
204
|
+
isCurrent?: boolean | null | undefined;
|
|
205
|
+
isPrimary?: boolean | null | undefined;
|
|
206
|
+
name: string;
|
|
207
|
+
registry: string;
|
|
208
|
+
} & {
|
|
209
|
+
bucket?: string | null | undefined;
|
|
210
|
+
classificationId?: number | null | undefined;
|
|
211
|
+
createdAt?: string | null | undefined;
|
|
212
|
+
id: number;
|
|
213
|
+
isCurrent?: boolean | null | undefined;
|
|
214
|
+
isPrimary?: boolean | null | undefined;
|
|
215
|
+
name: string;
|
|
216
|
+
slug?: string | null | undefined;
|
|
217
|
+
type: string;
|
|
218
|
+
updatedAt?: string | null | undefined;
|
|
219
|
+
})[] | undefined;
|
|
186
220
|
typeRevenue?: ({
|
|
187
221
|
isCurrent?: boolean | null | undefined;
|
|
188
222
|
isPrimary?: boolean | null | undefined;
|
|
@@ -318,6 +352,23 @@ declare const EntityEnrichmentSchemaDefinition: z.ZodObject<{
|
|
|
318
352
|
type: string;
|
|
319
353
|
updatedAt?: string | null | undefined;
|
|
320
354
|
})[] | undefined;
|
|
355
|
+
typeInvestor?: ({
|
|
356
|
+
isCurrent?: boolean | null | undefined;
|
|
357
|
+
isPrimary?: boolean | null | undefined;
|
|
358
|
+
name: string;
|
|
359
|
+
registry: string;
|
|
360
|
+
} & {
|
|
361
|
+
bucket?: string | null | undefined;
|
|
362
|
+
classificationId?: number | null | undefined;
|
|
363
|
+
createdAt?: string | null | undefined;
|
|
364
|
+
id: number;
|
|
365
|
+
isCurrent?: boolean | null | undefined;
|
|
366
|
+
isPrimary?: boolean | null | undefined;
|
|
367
|
+
name: string;
|
|
368
|
+
slug?: string | null | undefined;
|
|
369
|
+
type: string;
|
|
370
|
+
updatedAt?: string | null | undefined;
|
|
371
|
+
})[] | undefined;
|
|
321
372
|
typeModel?: ({
|
|
322
373
|
isCurrent?: boolean | null | undefined;
|
|
323
374
|
isPrimary?: boolean | null | undefined;
|
|
@@ -352,6 +403,23 @@ declare const EntityEnrichmentSchemaDefinition: z.ZodObject<{
|
|
|
352
403
|
type: string;
|
|
353
404
|
updatedAt?: string | null | undefined;
|
|
354
405
|
})[] | undefined;
|
|
406
|
+
typeRegulatory?: ({
|
|
407
|
+
isCurrent?: boolean | null | undefined;
|
|
408
|
+
isPrimary?: boolean | null | undefined;
|
|
409
|
+
name: string;
|
|
410
|
+
registry: string;
|
|
411
|
+
} & {
|
|
412
|
+
bucket?: string | null | undefined;
|
|
413
|
+
classificationId?: number | null | undefined;
|
|
414
|
+
createdAt?: string | null | undefined;
|
|
415
|
+
id: number;
|
|
416
|
+
isCurrent?: boolean | null | undefined;
|
|
417
|
+
isPrimary?: boolean | null | undefined;
|
|
418
|
+
name: string;
|
|
419
|
+
slug?: string | null | undefined;
|
|
420
|
+
type: string;
|
|
421
|
+
updatedAt?: string | null | undefined;
|
|
422
|
+
})[] | undefined;
|
|
355
423
|
typeRevenue?: ({
|
|
356
424
|
isCurrent?: boolean | null | undefined;
|
|
357
425
|
isPrimary?: boolean | null | undefined;
|
|
@@ -179,6 +179,7 @@ declare const EntityFilterSearchSchemaDefinition: z.ZodObject<{
|
|
|
179
179
|
tag: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
180
180
|
textSearch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
181
181
|
typeCustomer: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
182
|
+
typeInvestor: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
182
183
|
typeModel: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
183
184
|
typeOwnership: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
184
185
|
typeRecord: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -192,6 +193,7 @@ declare const EntityFilterSearchSchemaDefinition: z.ZodObject<{
|
|
|
192
193
|
Product: "Product";
|
|
193
194
|
Service: "Service";
|
|
194
195
|
}>>>;
|
|
196
|
+
typeRegulatory: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
195
197
|
typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
196
198
|
typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
197
199
|
uniqueId: z.ZodOptional<z.ZodArray<z.ZodType<{
|
package/dist/entity/filter.d.ts
CHANGED
|
@@ -201,6 +201,7 @@ export declare const EntityFilterSchema: z.ZodObject<{
|
|
|
201
201
|
tag: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
202
202
|
textSearch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
203
203
|
typeCustomer: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
204
|
+
typeInvestor: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
204
205
|
typeModel: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
205
206
|
typeOwnership: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
206
207
|
typeRecord: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -214,6 +215,7 @@ export declare const EntityFilterSchema: z.ZodObject<{
|
|
|
214
215
|
Product: "Product";
|
|
215
216
|
Service: "Service";
|
|
216
217
|
}>>>;
|
|
218
|
+
typeRegulatory: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
217
219
|
typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
218
220
|
typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
219
221
|
uniqueId: z.ZodOptional<z.ZodArray<z.ZodType<{
|
package/dist/entity/filter.js
CHANGED
|
@@ -121,12 +121,16 @@ export const EntityFilterSchema = z.strictObject({
|
|
|
121
121
|
textSearch: z.string().nullish(),
|
|
122
122
|
/** Customer-type classification values. */
|
|
123
123
|
typeCustomer: z.array(z.string()).optional(),
|
|
124
|
+
/** Investor-type values. */
|
|
125
|
+
typeInvestor: z.array(z.string()).optional(),
|
|
124
126
|
/** Business-model values. */
|
|
125
127
|
typeModel: z.array(z.string()).optional(),
|
|
126
128
|
/** Ownership-model values. */
|
|
127
129
|
typeOwnership: z.array(z.string()).optional(),
|
|
128
130
|
/** Entity type filter. Organization expands to Company, Investment Firm, Nonprofit, Government, and Business Line; omit to include every entity type. */
|
|
129
131
|
typeRecord: z.array(EntityTypeSchema).optional(),
|
|
132
|
+
/** Regulatory-classification values. */
|
|
133
|
+
typeRegulatory: z.array(z.string()).optional(),
|
|
130
134
|
/** Revenue-model classification values. */
|
|
131
135
|
typeRevenue: z.array(z.string()).optional(),
|
|
132
136
|
/** Technology-used values. */
|