@aventurevc/api-schemas 0.8.125 → 0.8.132

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 (36) hide show
  1. package/dist/classification/catalog-bucket.d.ts +15 -28
  2. package/dist/enrichment/enrichment.d.ts +2 -2
  3. package/dist/enrichment/refusal-type.d.ts +3 -3
  4. package/dist/enrichment/refusal-type.js +4 -6
  5. package/dist/entity/classification-suggestion.d.ts +15 -28
  6. package/dist/entity/classification.d.ts +135 -252
  7. package/dist/entity/detail.d.ts +2 -0
  8. package/dist/entity/enrichment.d.ts +1 -0
  9. package/dist/entity/enrichment.js +2 -0
  10. package/dist/entity/fundraise-transaction.js +1 -0
  11. package/dist/entity/investor-participation.d.ts +2 -0
  12. package/dist/entity/list.d.ts +2 -0
  13. package/dist/entity/resolution.d.ts +2 -0
  14. package/dist/entity/similarity-result.d.ts +2 -0
  15. package/dist/entity/tag.d.ts +26 -29
  16. package/dist/entity/tag.js +30 -31
  17. package/dist/federated/search.d.ts +8 -0
  18. package/dist/http/problem-detail.d.ts +1 -0
  19. package/dist/http/problem-detail.js +2 -0
  20. package/dist/link/search.d.ts +8 -0
  21. package/dist/lookup/job-mention.d.ts +2 -0
  22. package/dist/lookup/job.d.ts +2 -0
  23. package/dist/mention/lookup.d.ts +3 -0
  24. package/dist/mention/lookup.js +2 -0
  25. package/dist/natural/search-result.d.ts +6 -0
  26. package/dist/openapi-component-manifest.js +4 -0
  27. package/dist/pagination/schemas.d.ts +25 -28
  28. package/dist/research/detail-type.js +1 -1
  29. package/dist/sec/company.d.ts +7 -0
  30. package/dist/sec/company.js +6 -1
  31. package/dist/sec/listing-prospectus.d.ts +18 -0
  32. package/dist/sec/listing-prospectus.js +22 -0
  33. package/dist/shared/search-mutation.d.ts +1 -0
  34. package/dist/shared/search-mutation.js +2 -0
  35. package/dist/shared/search.d.ts +8 -0
  36. package/package.json +1 -1
@@ -1,31 +1,4 @@
1
1
  import { z } from "zod/v4";
2
- declare const EntityTagSchemaDefinition: z.ZodIntersection<z.ZodType<{
3
- creatable: boolean;
4
- isCurrent?: boolean | null | undefined;
5
- isPrimary?: boolean | null | undefined;
6
- name: string;
7
- writable: boolean;
8
- }, unknown, z.core.$ZodTypeInternals<{
9
- creatable: boolean;
10
- isCurrent?: boolean | null | undefined;
11
- isPrimary?: boolean | null | undefined;
12
- name: string;
13
- writable: boolean;
14
- }, unknown>>, z.ZodObject<{
15
- bucket: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- classificationId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
17
- creatable: z.ZodBoolean;
18
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
19
- id: z.ZodInt;
20
- isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
- isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
- name: z.ZodString;
23
- slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- type: z.ZodString;
25
- updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
26
- writable: z.ZodBoolean;
27
- }, z.core.$strip>>;
28
- type EntityTagDefinition = z.infer<typeof EntityTagSchemaDefinition>;
29
2
  /**
30
3
  * Canonical classification tag projection. Catalog/search responses describe registry tags; entity-classification responses include classificationId plus join state.
31
4
  *
@@ -59,7 +32,31 @@ type EntityTagDefinition = z.infer<typeof EntityTagSchemaDefinition>;
59
32
  * @contractShape entity.tag
60
33
  * @contractRole canonical
61
34
  */
62
- export declare const EntityTagSchema: z.ZodType<EntityTagDefinition>;
35
+ export declare const EntityTagSchema: z.ZodIntersection<z.ZodType<{
36
+ creatable: boolean;
37
+ isCurrent?: boolean | null | undefined;
38
+ isPrimary?: boolean | null | undefined;
39
+ name: string;
40
+ writable: boolean;
41
+ }, unknown, z.core.$ZodTypeInternals<{
42
+ creatable: boolean;
43
+ isCurrent?: boolean | null | undefined;
44
+ isPrimary?: boolean | null | undefined;
45
+ name: string;
46
+ writable: boolean;
47
+ }, unknown>>, z.ZodObject<{
48
+ bucket: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ classificationId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
50
+ creatable: z.ZodBoolean;
51
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
52
+ id: z.ZodInt;
53
+ isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
54
+ isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
55
+ name: z.ZodString;
56
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ type: z.ZodString;
58
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
59
+ writable: z.ZodBoolean;
60
+ }, z.core.$strip>>;
63
61
  export type EntityTag = z.infer<typeof EntityTagSchema>;
64
- export {};
65
62
  //# sourceMappingURL=tag.d.ts.map
@@ -1,36 +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
3
  import { ClassificationSchema } from "../classification/classification.js";
4
- const EntityTagSchemaDefinition = z.intersection(ClassificationSchema, z.object({
5
- /** Canonical entity-classification bucket key. Use this as EntityClassificationMutation.type when creating by type plus name; `type` remains the registry wire value for tag search and catalog round-trips. */
6
- bucket: z.string().nullish(),
7
- /** Entity classification join row id for update/delete; present on entity classification responses and null on discovery responses. */
8
- classificationId: z.int().nullish(),
9
- /** Whether this bucket permits creating missing values by type plus name. */
10
- creatable: z.boolean(),
11
- /** Registry tag creation timestamp, not the entity join timestamp. */
12
- createdAt: z.iso.datetime({ offset: true }).nullish(),
13
- /** Classification tag registry id from res_type_ref; use as EntityClassificationMutation.tagId. */
14
- id: z.int(),
15
- /** Current-state flag for this context: registry active flag in discovery, entity join current flag in entity-classification responses. */
16
- isCurrent: z.boolean().nullish(),
17
- /** Entity join primary flag within its bucket; null on catalog/tag discovery. */
18
- isPrimary: z.boolean().nullish(),
19
- /** Name */
20
- name: z.string().max(255),
21
- /** Slug */
22
- slug: z
23
- .string()
24
- .regex(/^[a-z0-9_-]+$/)
25
- .max(255)
26
- .nullish(),
27
- /** Canonical tag classification type */
28
- type: z.string(),
29
- /** Registry tag update timestamp; join updates return isCurrent/isPrimary but no join updatedAt. */
30
- updatedAt: z.iso.datetime({ offset: true }).nullish(),
31
- /** Whether this existing tag can be joined through tagId. */
32
- writable: z.boolean(),
33
- }));
34
4
  /**
35
5
  * Canonical classification tag projection. Catalog/search responses describe registry tags; entity-classification responses include classificationId plus join state.
36
6
  *
@@ -64,5 +34,34 @@ const EntityTagSchemaDefinition = z.intersection(ClassificationSchema, z.object(
64
34
  * @contractShape entity.tag
65
35
  * @contractRole canonical
66
36
  */
67
- export const EntityTagSchema = EntityTagSchemaDefinition;
37
+ export const EntityTagSchema = z.intersection(ClassificationSchema, z.object({
38
+ /** Canonical entity-classification bucket key. Use this as EntityClassificationMutation.type when creating by type plus name; `type` remains the registry wire value for tag search and catalog round-trips. */
39
+ bucket: z.string().nullish(),
40
+ /** Entity classification join row id for update/delete; present on entity classification responses and null on discovery responses. */
41
+ classificationId: z.int().nullish(),
42
+ /** Whether this bucket permits creating missing values by type plus name. */
43
+ creatable: z.boolean(),
44
+ /** Registry tag creation timestamp, not the entity join timestamp. */
45
+ createdAt: z.iso.datetime({ offset: true }).nullish(),
46
+ /** Classification tag registry id from res_type_ref; use as EntityClassificationMutation.tagId. */
47
+ id: z.int(),
48
+ /** Current-state flag for this context: registry active flag in discovery, entity join current flag in entity-classification responses. */
49
+ isCurrent: z.boolean().nullish(),
50
+ /** Entity join primary flag within its bucket; null on catalog/tag discovery. */
51
+ isPrimary: z.boolean().nullish(),
52
+ /** Name */
53
+ name: z.string().max(255),
54
+ /** Slug */
55
+ slug: z
56
+ .string()
57
+ .regex(/^[a-z0-9_-]+$/)
58
+ .max(255)
59
+ .nullish(),
60
+ /** Canonical tag classification type */
61
+ type: z.string(),
62
+ /** Registry tag update timestamp; join updates return isCurrent/isPrimary but no join updatedAt. */
63
+ updatedAt: z.iso.datetime({ offset: true }).nullish(),
64
+ /** Whether this existing tag can be joined through tagId. */
65
+ writable: z.boolean(),
66
+ }));
68
67
  //# sourceMappingURL=tag.js.map
@@ -620,6 +620,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
620
620
  unconvertedRoundCount: number;
621
621
  } | null | undefined;
622
622
  headquartersAddressId?: number | null | undefined;
623
+ headquartersRemoteAsOf?: string | null | undefined;
623
624
  text: {
624
625
  expanded?: string | null | undefined;
625
626
  generatedDescription?: string | null | undefined;
@@ -1114,6 +1115,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
1114
1115
  unconvertedRoundCount: number;
1115
1116
  } | null | undefined;
1116
1117
  headquartersAddressId?: number | null | undefined;
1118
+ headquartersRemoteAsOf?: string | null | undefined;
1117
1119
  text: {
1118
1120
  expanded?: string | null | undefined;
1119
1121
  generatedDescription?: string | null | undefined;
@@ -1599,6 +1601,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
1599
1601
  unconvertedRoundCount: number;
1600
1602
  } | null | undefined;
1601
1603
  headquartersAddressId?: number | null | undefined;
1604
+ headquartersRemoteAsOf?: string | null | undefined;
1602
1605
  text: {
1603
1606
  expanded?: string | null | undefined;
1604
1607
  generatedDescription?: string | null | undefined;
@@ -2407,6 +2410,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
2407
2410
  unconvertedRoundCount: number;
2408
2411
  } | null | undefined;
2409
2412
  headquartersAddressId?: number | null | undefined;
2413
+ headquartersRemoteAsOf?: string | null | undefined;
2410
2414
  text: {
2411
2415
  expanded?: string | null | undefined;
2412
2416
  generatedDescription?: string | null | undefined;
@@ -2901,6 +2905,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
2901
2905
  unconvertedRoundCount: number;
2902
2906
  } | null | undefined;
2903
2907
  headquartersAddressId?: number | null | undefined;
2908
+ headquartersRemoteAsOf?: string | null | undefined;
2904
2909
  text: {
2905
2910
  expanded?: string | null | undefined;
2906
2911
  generatedDescription?: string | null | undefined;
@@ -3386,6 +3391,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
3386
3391
  unconvertedRoundCount: number;
3387
3392
  } | null | undefined;
3388
3393
  headquartersAddressId?: number | null | undefined;
3394
+ headquartersRemoteAsOf?: string | null | undefined;
3389
3395
  text: {
3390
3396
  expanded?: string | null | undefined;
3391
3397
  generatedDescription?: string | null | undefined;
@@ -3884,6 +3890,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
3884
3890
  unconvertedRoundCount: number;
3885
3891
  } | null | undefined;
3886
3892
  headquartersAddressId?: number | null | undefined;
3893
+ headquartersRemoteAsOf?: string | null | undefined;
3887
3894
  text: {
3888
3895
  expanded?: string | null | undefined;
3889
3896
  generatedDescription?: string | null | undefined;
@@ -4166,6 +4173,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
4166
4173
  unconvertedRoundCount: number;
4167
4174
  } | null | undefined;
4168
4175
  headquartersAddressId?: number | null | undefined;
4176
+ headquartersRemoteAsOf?: string | null | undefined;
4169
4177
  text: {
4170
4178
  expanded?: string | null | undefined;
4171
4179
  generatedDescription?: string | null | undefined;
@@ -217,6 +217,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
217
217
  }, z.core.$strip>>>;
218
218
  feId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
219
219
  field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
220
+ filedRunId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUUID>>>;
220
221
  hammingDistance: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
221
222
  hint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
222
223
  instance: z.ZodOptional<z.ZodString>;
@@ -162,6 +162,8 @@ const ProblemDetailSchemaDefinition = z.object({
162
162
  existingRedirect: RedirectSlugPathSchema.nullish(),
163
163
  feId: z.string().nullish(),
164
164
  field: z.string().nullish(),
165
+ /** Harness run ids a batch enrichment filed or reused for its other records before answering this refusal; absent for every other problem. */
166
+ filedRunId: z.array(z.uuid()).nullish(),
165
167
  hammingDistance: z.number().int().nullish(),
166
168
  hint: z.string().nullish(),
167
169
  instance: z.string().optional(),
@@ -622,6 +622,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
622
622
  unconvertedRoundCount: number;
623
623
  } | null | undefined;
624
624
  headquartersAddressId?: number | null | undefined;
625
+ headquartersRemoteAsOf?: string | null | undefined;
625
626
  text: {
626
627
  expanded?: string | null | undefined;
627
628
  generatedDescription?: string | null | undefined;
@@ -1116,6 +1117,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
1116
1117
  unconvertedRoundCount: number;
1117
1118
  } | null | undefined;
1118
1119
  headquartersAddressId?: number | null | undefined;
1120
+ headquartersRemoteAsOf?: string | null | undefined;
1119
1121
  text: {
1120
1122
  expanded?: string | null | undefined;
1121
1123
  generatedDescription?: string | null | undefined;
@@ -1601,6 +1603,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
1601
1603
  unconvertedRoundCount: number;
1602
1604
  } | null | undefined;
1603
1605
  headquartersAddressId?: number | null | undefined;
1606
+ headquartersRemoteAsOf?: string | null | undefined;
1604
1607
  text: {
1605
1608
  expanded?: string | null | undefined;
1606
1609
  generatedDescription?: string | null | undefined;
@@ -2081,6 +2084,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
2081
2084
  unconvertedRoundCount: number;
2082
2085
  } | null | undefined;
2083
2086
  headquartersAddressId?: number | null | undefined;
2087
+ headquartersRemoteAsOf?: string | null | undefined;
2084
2088
  text: {
2085
2089
  expanded?: string | null | undefined;
2086
2090
  generatedDescription?: string | null | undefined;
@@ -4071,6 +4075,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
4071
4075
  unconvertedRoundCount: number;
4072
4076
  } | null | undefined;
4073
4077
  headquartersAddressId?: number | null | undefined;
4078
+ headquartersRemoteAsOf?: string | null | undefined;
4074
4079
  text: {
4075
4080
  expanded?: string | null | undefined;
4076
4081
  generatedDescription?: string | null | undefined;
@@ -4565,6 +4570,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
4565
4570
  unconvertedRoundCount: number;
4566
4571
  } | null | undefined;
4567
4572
  headquartersAddressId?: number | null | undefined;
4573
+ headquartersRemoteAsOf?: string | null | undefined;
4568
4574
  text: {
4569
4575
  expanded?: string | null | undefined;
4570
4576
  generatedDescription?: string | null | undefined;
@@ -5050,6 +5056,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
5050
5056
  unconvertedRoundCount: number;
5051
5057
  } | null | undefined;
5052
5058
  headquartersAddressId?: number | null | undefined;
5059
+ headquartersRemoteAsOf?: string | null | undefined;
5053
5060
  text: {
5054
5061
  expanded?: string | null | undefined;
5055
5062
  generatedDescription?: string | null | undefined;
@@ -5530,6 +5537,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
5530
5537
  unconvertedRoundCount: number;
5531
5538
  } | null | undefined;
5532
5539
  headquartersAddressId?: number | null | undefined;
5540
+ headquartersRemoteAsOf?: string | null | undefined;
5533
5541
  text: {
5534
5542
  expanded?: string | null | undefined;
5535
5543
  generatedDescription?: string | null | undefined;
@@ -292,6 +292,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
292
292
  unconvertedRoundCount: number;
293
293
  } | null | undefined;
294
294
  headquartersAddressId?: number | null | undefined;
295
+ headquartersRemoteAsOf?: string | null | undefined;
295
296
  text: {
296
297
  expanded?: string | null | undefined;
297
298
  generatedDescription?: string | null | undefined;
@@ -770,6 +771,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
770
771
  unconvertedRoundCount: number;
771
772
  } | null | undefined;
772
773
  headquartersAddressId?: number | null | undefined;
774
+ headquartersRemoteAsOf?: string | null | undefined;
773
775
  text: {
774
776
  expanded?: string | null | undefined;
775
777
  generatedDescription?: string | null | undefined;
@@ -492,6 +492,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
492
492
  unconvertedRoundCount: number;
493
493
  } | null | undefined;
494
494
  headquartersAddressId?: number | null | undefined;
495
+ headquartersRemoteAsOf?: string | null | undefined;
495
496
  text: {
496
497
  expanded?: string | null | undefined;
497
498
  generatedDescription?: string | null | undefined;
@@ -1134,6 +1135,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1134
1135
  unconvertedRoundCount: number;
1135
1136
  } | null | undefined;
1136
1137
  headquartersAddressId?: number | null | undefined;
1138
+ headquartersRemoteAsOf?: string | null | undefined;
1137
1139
  text: {
1138
1140
  expanded?: string | null | undefined;
1139
1141
  generatedDescription?: string | null | undefined;
@@ -293,6 +293,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
293
293
  unconvertedRoundCount: number;
294
294
  } | null | undefined;
295
295
  headquartersAddressId?: number | null | undefined;
296
+ headquartersRemoteAsOf?: string | null | undefined;
296
297
  text: {
297
298
  expanded?: string | null | undefined;
298
299
  generatedDescription?: string | null | undefined;
@@ -935,6 +936,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
935
936
  unconvertedRoundCount: number;
936
937
  } | null | undefined;
937
938
  headquartersAddressId?: number | null | undefined;
939
+ headquartersRemoteAsOf?: string | null | undefined;
938
940
  text: {
939
941
  expanded?: string | null | undefined;
940
942
  generatedDescription?: string | null | undefined;
@@ -1285,6 +1287,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
1285
1287
  } | null | undefined;
1286
1288
  shellDetail?: string | null | undefined;
1287
1289
  }, unknown>>>;
1290
+ truncated: z.ZodOptional<z.ZodBoolean>;
1288
1291
  }, z.core.$strip>;
1289
1292
  type MentionLookupDefinition = z.infer<typeof MentionLookupSchemaDefinition>;
1290
1293
  /**
@@ -4,6 +4,8 @@ import { LookupJobMentionSchema } from "../lookup/job-mention.js";
4
4
  const MentionLookupSchemaDefinition = z.object({
5
5
  /** Each distinct name, in the order the source shows it. */
6
6
  mention: z.array(LookupJobMentionSchema),
7
+ /** True when the page names more than this answer holds: more names than one live lookup reads, or a body longer than the read limit. A lookup job with maxNames reads every name. */
8
+ truncated: z.boolean().optional(),
7
9
  });
8
10
  /**
9
11
  * Every company, organization, investor, and person a page or screenshot names, each identified against stored records.
@@ -935,6 +935,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
935
935
  unconvertedRoundCount: number;
936
936
  } | null | undefined;
937
937
  headquartersAddressId?: number | null | undefined;
938
+ headquartersRemoteAsOf?: string | null | undefined;
938
939
  text: {
939
940
  expanded?: string | null | undefined;
940
941
  generatedDescription?: string | null | undefined;
@@ -1427,6 +1428,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
1427
1428
  unconvertedRoundCount: number;
1428
1429
  } | null | undefined;
1429
1430
  headquartersAddressId?: number | null | undefined;
1431
+ headquartersRemoteAsOf?: string | null | undefined;
1430
1432
  text: {
1431
1433
  expanded?: string | null | undefined;
1432
1434
  generatedDescription?: string | null | undefined;
@@ -1921,6 +1923,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
1921
1923
  unconvertedRoundCount: number;
1922
1924
  } | null | undefined;
1923
1925
  headquartersAddressId?: number | null | undefined;
1926
+ headquartersRemoteAsOf?: string | null | undefined;
1924
1927
  text: {
1925
1928
  expanded?: string | null | undefined;
1926
1929
  generatedDescription?: string | null | undefined;
@@ -2405,6 +2408,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
2405
2408
  unconvertedRoundCount: number;
2406
2409
  } | null | undefined;
2407
2410
  headquartersAddressId?: number | null | undefined;
2411
+ headquartersRemoteAsOf?: string | null | undefined;
2408
2412
  text: {
2409
2413
  expanded?: string | null | undefined;
2410
2414
  generatedDescription?: string | null | undefined;
@@ -2890,6 +2894,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
2890
2894
  unconvertedRoundCount: number;
2891
2895
  } | null | undefined;
2892
2896
  headquartersAddressId?: number | null | undefined;
2897
+ headquartersRemoteAsOf?: string | null | undefined;
2893
2898
  text: {
2894
2899
  expanded?: string | null | undefined;
2895
2900
  generatedDescription?: string | null | undefined;
@@ -3368,6 +3373,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
3368
3373
  unconvertedRoundCount: number;
3369
3374
  } | null | undefined;
3370
3375
  headquartersAddressId?: number | null | undefined;
3376
+ headquartersRemoteAsOf?: string | null | undefined;
3371
3377
  text: {
3372
3378
  expanded?: string | null | undefined;
3373
3379
  generatedDescription?: string | null | undefined;
@@ -886,6 +886,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
886
886
  SearchPassage: { modulePath: "search/passage", schemaName: "SearchPassageSchema" },
887
887
  SearchRelevance: { modulePath: "search/relevance", schemaName: "SearchRelevanceSchema" },
888
888
  SecCompany: { modulePath: "sec/company", schemaName: "SecCompanySchema" },
889
+ SecListingProspectus: {
890
+ modulePath: "sec/listing-prospectus",
891
+ schemaName: "SecListingProspectusSchema",
892
+ },
889
893
  SharedSearch: { modulePath: "shared/search", schemaName: "SharedSearchSchema" },
890
894
  SharedSearchList: { modulePath: "shared/search-list", schemaName: "SharedSearchListSchema" },
891
895
  SharedSearchMutation: {
@@ -81,45 +81,32 @@ type PageBlogPostDefinition = z.infer<typeof PageBlogPostSchemaDefinition>;
81
81
  export declare const PageBlogPostSchema: z.ZodType<PageBlogPostDefinition>;
82
82
  export type PageBlogPost = z.infer<typeof PageBlogPostSchema>;
83
83
  declare const PageClassificationSchemaDefinition: z.ZodObject<{
84
- content: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodType<{
84
+ content: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodType<{
85
85
  creatable: boolean;
86
86
  isCurrent?: boolean | null | undefined;
87
87
  isPrimary?: boolean | null | undefined;
88
88
  name: string;
89
89
  writable: boolean;
90
- } & {
91
- bucket?: string | null | undefined;
92
- classificationId?: number | null | undefined;
93
- creatable: boolean;
94
- createdAt?: string | null | undefined;
95
- id: number;
96
- isCurrent?: boolean | null | undefined;
97
- isPrimary?: boolean | null | undefined;
98
- name: string;
99
- slug?: string | null | undefined;
100
- type: string;
101
- updatedAt?: string | null | undefined;
102
- writable: boolean;
103
90
  }, unknown, z.core.$ZodTypeInternals<{
104
91
  creatable: boolean;
105
92
  isCurrent?: boolean | null | undefined;
106
93
  isPrimary?: boolean | null | undefined;
107
94
  name: string;
108
95
  writable: boolean;
109
- } & {
110
- bucket?: string | null | undefined;
111
- classificationId?: number | null | undefined;
112
- creatable: boolean;
113
- createdAt?: string | null | undefined;
114
- id: number;
115
- isCurrent?: boolean | null | undefined;
116
- isPrimary?: boolean | null | undefined;
117
- name: string;
118
- slug?: string | null | undefined;
119
- type: string;
120
- updatedAt?: string | null | undefined;
121
- writable: boolean;
122
- }, unknown>>, z.ZodType<{
96
+ }, unknown>>, z.ZodObject<{
97
+ bucket: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98
+ classificationId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
99
+ creatable: z.ZodBoolean;
100
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
101
+ id: z.ZodInt;
102
+ isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
103
+ isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
104
+ name: z.ZodString;
105
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
106
+ type: z.ZodString;
107
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
108
+ writable: z.ZodBoolean;
109
+ }, z.core.$strip>>, z.ZodType<{
123
110
  creatable: boolean;
124
111
  isCurrent?: boolean | null | undefined;
125
112
  isPrimary?: boolean | null | undefined;
@@ -871,6 +858,7 @@ declare const PageEntityDetailSchemaDefinition: z.ZodObject<{
871
858
  unconvertedRoundCount: number;
872
859
  } | null | undefined;
873
860
  headquartersAddressId?: number | null | undefined;
861
+ headquartersRemoteAsOf?: string | null | undefined;
874
862
  text: {
875
863
  expanded?: string | null | undefined;
876
864
  generatedDescription?: string | null | undefined;
@@ -1153,6 +1141,7 @@ declare const PageEntityDetailSchemaDefinition: z.ZodObject<{
1153
1141
  unconvertedRoundCount: number;
1154
1142
  } | null | undefined;
1155
1143
  headquartersAddressId?: number | null | undefined;
1144
+ headquartersRemoteAsOf?: string | null | undefined;
1156
1145
  text: {
1157
1146
  expanded?: string | null | undefined;
1158
1147
  generatedDescription?: string | null | undefined;
@@ -2961,6 +2950,7 @@ declare const PageEntityInvestorParticipationSchemaDefinition: z.ZodObject<{
2961
2950
  unconvertedRoundCount: number;
2962
2951
  } | null | undefined;
2963
2952
  headquartersAddressId?: number | null | undefined;
2953
+ headquartersRemoteAsOf?: string | null | undefined;
2964
2954
  text: {
2965
2955
  expanded?: string | null | undefined;
2966
2956
  generatedDescription?: string | null | undefined;
@@ -3893,6 +3883,7 @@ declare const PageEntityInvestorParticipationSchemaDefinition: z.ZodObject<{
3893
3883
  unconvertedRoundCount: number;
3894
3884
  } | null | undefined;
3895
3885
  headquartersAddressId?: number | null | undefined;
3886
+ headquartersRemoteAsOf?: string | null | undefined;
3896
3887
  text: {
3897
3888
  expanded?: string | null | undefined;
3898
3889
  generatedDescription?: string | null | undefined;
@@ -4862,6 +4853,7 @@ declare const PageEntityListSchemaDefinition: z.ZodObject<{
4862
4853
  unconvertedRoundCount: number;
4863
4854
  } | null | undefined;
4864
4855
  headquartersAddressId?: number | null | undefined;
4856
+ headquartersRemoteAsOf?: string | null | undefined;
4865
4857
  text: {
4866
4858
  expanded?: string | null | undefined;
4867
4859
  generatedDescription?: string | null | undefined;
@@ -5340,6 +5332,7 @@ declare const PageEntityListSchemaDefinition: z.ZodObject<{
5340
5332
  unconvertedRoundCount: number;
5341
5333
  } | null | undefined;
5342
5334
  headquartersAddressId?: number | null | undefined;
5335
+ headquartersRemoteAsOf?: string | null | undefined;
5343
5336
  text: {
5344
5337
  expanded?: string | null | undefined;
5345
5338
  generatedDescription?: string | null | undefined;
@@ -6399,6 +6392,7 @@ declare const PageEntitySimilarityResultSchemaDefinition: z.ZodObject<{
6399
6392
  unconvertedRoundCount: number;
6400
6393
  } | null | undefined;
6401
6394
  headquartersAddressId?: number | null | undefined;
6395
+ headquartersRemoteAsOf?: string | null | undefined;
6402
6396
  text: {
6403
6397
  expanded?: string | null | undefined;
6404
6398
  generatedDescription?: string | null | undefined;
@@ -6891,6 +6885,7 @@ declare const PageEntitySimilarityResultSchemaDefinition: z.ZodObject<{
6891
6885
  unconvertedRoundCount: number;
6892
6886
  } | null | undefined;
6893
6887
  headquartersAddressId?: number | null | undefined;
6888
+ headquartersRemoteAsOf?: string | null | undefined;
6894
6889
  text: {
6895
6890
  expanded?: string | null | undefined;
6896
6891
  generatedDescription?: string | null | undefined;
@@ -10178,6 +10173,7 @@ declare const PageResultEntityListSchemaDefinition: z.ZodObject<{
10178
10173
  unconvertedRoundCount: number;
10179
10174
  } | null | undefined;
10180
10175
  headquartersAddressId?: number | null | undefined;
10176
+ headquartersRemoteAsOf?: string | null | undefined;
10181
10177
  text: {
10182
10178
  expanded?: string | null | undefined;
10183
10179
  generatedDescription?: string | null | undefined;
@@ -10656,6 +10652,7 @@ declare const PageResultEntityListSchemaDefinition: z.ZodObject<{
10656
10652
  unconvertedRoundCount: number;
10657
10653
  } | null | undefined;
10658
10654
  headquartersAddressId?: number | null | undefined;
10655
+ headquartersRemoteAsOf?: string | null | undefined;
10659
10656
  text: {
10660
10657
  expanded?: string | null | undefined;
10661
10658
  generatedDescription?: string | null | undefined;
@@ -8,7 +8,7 @@ const ResearchDetailTypeSchemaDefinition = z.object({
8
8
  allowedToken: z.array(z.string()).nullish(),
9
9
  curated: z.boolean(),
10
10
  label: z.string(),
11
- /** Inclusive numeric bounds for numericRatio, numericScore, and numericGrowthRate. numericGrowthRate values use percentage points: 80 means 80%, not 0.8. */
11
+ /** Inclusive numeric bounds for monetary and numericRatio, numericScore, and numericGrowthRate values. numericGrowthRate uses percentage points: 80 means 80%, not 0.8. */
12
12
  range: ResearchValueRangeSchema.nullish(),
13
13
  targetPath: z.string(),
14
14
  /** Whether rows are dated history; true means add current observations and keep believable old rows. */
@@ -5,6 +5,7 @@ declare const SecCompanySchemaDefinition: z.ZodObject<{
5
5
  entityType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
6
  exchange: z.ZodArray<z.ZodString>;
7
7
  filerCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ filingHistoryStart: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
8
9
  fiscalYearEnd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
10
  headquartersCity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
11
  headquartersCountry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -12,6 +13,12 @@ declare const SecCompanySchemaDefinition: z.ZodObject<{
12
13
  headquartersState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
14
  headquartersStreet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
15
  isOperating: z.ZodBoolean;
16
+ listingProspectus: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17
+ accessionNumber: z.ZodString;
18
+ documentUrl: z.ZodString;
19
+ filingDate: z.ZodISODate;
20
+ form: z.ZodString;
21
+ }, z.core.$strip>>>;
15
22
  matchedVia: z.ZodEnum<{
16
23
  NAME: "NAME";
17
24
  TICKER: "TICKER";
@@ -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 { SecListingProspectusSchema } from "./listing-prospectus.js";
3
4
  const SecCompanySchemaDefinition = z.object({
4
5
  /** SEC Central Index Key, 10-digit zero-padded. The stable cross-sync join key. */
5
6
  cik: z.string(),
@@ -11,6 +12,8 @@ const SecCompanySchemaDefinition = z.object({
11
12
  exchange: z.array(z.string()),
12
13
  /** SEC filer size category. */
13
14
  filerCategory: z.string().nullish(),
15
+ /** Date of the registrant's earliest EDGAR filing. EDGAR filing became mandatory for all registrants in May 1996, so a listing before this date predates the electronic record. */
16
+ filingHistoryStart: z.iso.date().nullish(),
14
17
  /** Fiscal year-end as MMDD. */
15
18
  fiscalYearEnd: z.string().nullish(),
16
19
  /** Headquarters city from the SEC business address. */
@@ -25,13 +28,15 @@ const SecCompanySchemaDefinition = z.object({
25
28
  headquartersStreet: z.string().nullish(),
26
29
  /** True when SEC classifies this registrant as an operating company, false for a SPAC/trust/holding/shell vehicle. */
27
30
  isOperating: z.boolean(),
31
+ /** The registrant's IPO prospectus: its first final prospectus (Form 424B4 or 424B1), reported only when an offering registration statement (S-1, F-1, SB-2, S-11) precedes it and no annual or quarterly report does. Null when EDGAR shows no such prospectus, including every company that listed before its EDGAR history starts and every follow-on offering. */
32
+ listingProspectus: SecListingProspectusSchema.nullish(),
28
33
  /** How the query resolved to this registrant. */
29
34
  matchedVia: z.enum(["TICKER", "NAME"]),
30
35
  /** Former registered legal names from SEC `formerNames`, most recent first. */
31
36
  nameAlias: z.array(z.string()),
32
37
  /** Registered legal name from SEC filings. */
33
38
  nameLegal: z.string(),
34
- /** Other registrants whose name also matched the query (legal names). Empty for an exact ticker resolution; non-empty signals an ambiguous name query. */
39
+ /** Other registrants whose title also contains the name query (legal names) beside the exact title match that bound. Empty for a ticker resolution. */
35
40
  otherCandidate: z.array(z.string()),
36
41
  /** Business phone from SEC filings. */
37
42
  phone: z.string().nullish(),
@@ -0,0 +1,18 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * The final IPO prospectus a registrant filed on SEC EDGAR.
4
+ *
5
+ * @openapiSchema SecListingProspectus
6
+ * @endpoint GET /v1/entities/sec
7
+ * @usedBySchema SecCompanySchema
8
+ * @contractShape sec.listing-prospectus
9
+ * @contractRole canonical
10
+ */
11
+ export declare const SecListingProspectusSchema: z.ZodObject<{
12
+ accessionNumber: z.ZodString;
13
+ documentUrl: z.ZodString;
14
+ filingDate: z.ZodISODate;
15
+ form: z.ZodString;
16
+ }, z.core.$strip>;
17
+ export type SecListingProspectus = z.infer<typeof SecListingProspectusSchema>;
18
+ //# sourceMappingURL=listing-prospectus.d.ts.map