@aventurevc/api-schemas 0.8.256 → 0.8.258

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 (82) hide show
  1. package/dist/billing/additional-usage-meter.d.ts +12 -2
  2. package/dist/billing/additional-usage-type.d.ts +12 -2
  3. package/dist/billing/additional-usage-type.js +10 -9
  4. package/dist/billing/additional-usage.d.ts +2 -2
  5. package/dist/billing/catalog-additional-usage.d.ts +12 -2
  6. package/dist/billing/catalog-allowance.d.ts +2 -0
  7. package/dist/billing/catalog-plan.d.ts +2 -0
  8. package/dist/billing/catalog-plan.js +4 -0
  9. package/dist/billing/catalog.d.ts +7 -3
  10. package/dist/billing/catalog.js +1 -1
  11. package/dist/billing/subscription.d.ts +16 -2
  12. package/dist/date/range.d.ts +1 -0
  13. package/dist/date/range.js +1 -0
  14. package/dist/decimal/range.d.ts +1 -0
  15. package/dist/decimal/range.js +1 -0
  16. package/dist/directory/export-column-type.d.ts +67 -0
  17. package/dist/directory/export-column-type.js +40 -0
  18. package/dist/directory/export-mutation.d.ts +735 -0
  19. package/dist/directory/export-mutation.js +37 -0
  20. package/dist/directory/export.d.ts +50 -0
  21. package/dist/directory/export.js +24 -0
  22. package/dist/enrichment/enrichment.d.ts +2 -0
  23. package/dist/entity/filter-logo-option.d.ts +1 -0
  24. package/dist/entity/filter-logo-option.js +1 -0
  25. package/dist/entity/filter.d.ts +1 -0
  26. package/dist/entity/filter.js +1 -0
  27. package/dist/entity/fundraise-filter-criteria.d.ts +1 -0
  28. package/dist/entity/fundraise-filter-criteria.js +1 -0
  29. package/dist/entity/list-filter.d.ts +2 -0
  30. package/dist/entity/list-filter.js +2 -0
  31. package/dist/entity/list-quality-gate.d.ts +1 -0
  32. package/dist/entity/list-quality-gate.js +1 -0
  33. package/dist/entity/operating-status.d.ts +1 -0
  34. package/dist/entity/operating-status.js +1 -0
  35. package/dist/entity/person-association-filter.d.ts +1 -0
  36. package/dist/entity/person-association-filter.js +1 -0
  37. package/dist/entity/url-type.d.ts +2 -0
  38. package/dist/entity/url-type.js +2 -0
  39. package/dist/harness/run-detail.d.ts +2 -0
  40. package/dist/harness/run.d.ts +2 -0
  41. package/dist/http/problem-detail.d.ts +2 -0
  42. package/dist/identification/identification.d.ts +6 -0
  43. package/dist/identification/identification.js +5 -0
  44. package/dist/identification/subject.d.ts +1 -0
  45. package/dist/identification/subject.js +2 -0
  46. package/dist/int/range.d.ts +1 -0
  47. package/dist/int/range.js +1 -0
  48. package/dist/investor/activity-filter.d.ts +1 -0
  49. package/dist/investor/activity-filter.js +1 -0
  50. package/dist/investor/name-match-mode.d.ts +1 -0
  51. package/dist/investor/name-match-mode.js +1 -0
  52. package/dist/job/enqueue.d.ts +10 -10
  53. package/dist/job/enqueue.js +11 -7
  54. package/dist/lookup/job-mention.d.ts +6 -0
  55. package/dist/lookup/job-mutation.d.ts +1 -0
  56. package/dist/lookup/job-mutation.js +1 -1
  57. package/dist/lookup/job.d.ts +20 -0
  58. package/dist/lookup/job.js +1 -1
  59. package/dist/mention/lookup.d.ts +17 -0
  60. package/dist/mention/lookup.js +3 -0
  61. package/dist/openapi-component-manifest.js +9 -0
  62. package/dist/pagination/schemas.d.ts +2 -0
  63. package/dist/person/filter.d.ts +2 -0
  64. package/dist/person/filter.js +2 -0
  65. package/dist/person/list-array-filter.d.ts +1 -0
  66. package/dist/person/list-array-filter.js +1 -0
  67. package/dist/research/access-type.d.ts +1 -0
  68. package/dist/research/access-type.js +1 -0
  69. package/dist/research/allowance-type.d.ts +3 -1
  70. package/dist/research/allowance-type.js +2 -1
  71. package/dist/research/allowance-usage.d.ts +231 -130
  72. package/dist/research/allowance-usage.js +2 -0
  73. package/dist/research/allowance.d.ts +13 -16
  74. package/dist/research/allowance.js +13 -12
  75. package/dist/shared/directory-type.d.ts +3 -0
  76. package/dist/shared/directory-type.js +3 -0
  77. package/dist/unique/id-type.d.ts +15 -1
  78. package/dist/unique/id-type.js +8 -1
  79. package/dist/unique/id.d.ts +14 -0
  80. package/dist/url/match-mode.d.ts +1 -0
  81. package/dist/url/match-mode.js +1 -0
  82. package/package.json +1 -1
@@ -0,0 +1,37 @@
1
+ // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
+ import { z } from "zod/v4";
3
+ import { DirectoryExportColumnTypeSchema } from "./export-column-type.js";
4
+ import { EntityListFilterSchema } from "../entity/list-filter.js";
5
+ import { EntityUrlTypeSchema } from "../entity/url-type.js";
6
+ import { PersonFilterSchema } from "../person/filter.js";
7
+ import { SharedDirectoryTypeSchema } from "../shared/directory-type.js";
8
+ const DirectoryExportMutationSchemaDefinition = z.object({
9
+ /** Core columns in the requested order; absent uses the directory's defaults. */
10
+ column: z.array(DirectoryExportColumnTypeSchema).nullish(),
11
+ /** Directory whose records are exported. */
12
+ directory: SharedDirectoryTypeSchema,
13
+ /** The companies or investors view's entity search filter. */
14
+ entityFilter: EntityListFilterSchema.nullish(),
15
+ /** Ordered selection; ignores filters, sort, page and size. Inaccessible records are omitted. */
16
+ id: z.array(z.uuid()).max(100).nullish(),
17
+ /** Zero-based view page; ignored with id. */
18
+ page: z.int().min(0),
19
+ /** The people view's person search filter. */
20
+ personFilter: PersonFilterSchema.nullish(),
21
+ /** View page size, from 1 through 100; ignored with id. */
22
+ size: z.int().min(1).max(100),
23
+ /** View order as property,asc or property,desc; ignored with id. */
24
+ sort: z.string().nullish(),
25
+ /** URL columns after the core columns. Passing urlType keeps columns stable across pages; absent emits types present on this page in declaration order. */
26
+ urlType: z.array(EntityUrlTypeSchema).nullish(),
27
+ });
28
+ /**
29
+ * Export a directory page or an ordered selection of at most 100 records.
30
+ *
31
+ * @openapiSchema DirectoryExportMutation
32
+ * @endpoint POST /v1/directory/exports
33
+ * @contractShape directory.export-mutation
34
+ * @contractRole canonical
35
+ */
36
+ export const DirectoryExportMutationSchema = DirectoryExportMutationSchemaDefinition;
37
+ //# sourceMappingURL=export-mutation.js.map
@@ -0,0 +1,50 @@
1
+ import { z } from "zod/v4";
2
+ declare const DirectoryExportSchemaDefinition: z.ZodObject<{
3
+ allowance: z.ZodObject<{
4
+ access: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
5
+ ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
6
+ BILLING_BLOCKED: "BILLING_BLOCKED";
7
+ EXHAUSTED: "EXHAUSTED";
8
+ INCLUDED: "INCLUDED";
9
+ PLAN_REQUIRED: "PLAN_REQUIRED";
10
+ }>, z.ZodString]> & {
11
+ enum: {
12
+ ADDITIONAL_USAGE: "ADDITIONAL_USAGE";
13
+ BILLING_BLOCKED: "BILLING_BLOCKED";
14
+ EXHAUSTED: "EXHAUSTED";
15
+ INCLUDED: "INCLUDED";
16
+ PLAN_REQUIRED: "PLAN_REQUIRED";
17
+ };
18
+ }>>;
19
+ limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
20
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
21
+ resetAt: z.ZodISODateTime;
22
+ used: z.ZodInt;
23
+ }, z.core.$strip>;
24
+ column: z.ZodArray<z.ZodString>;
25
+ directory: z.ZodEnum<{
26
+ companies: "companies";
27
+ investors: "investors";
28
+ people: "people";
29
+ }>;
30
+ hasNext: z.ZodBoolean;
31
+ page: z.ZodInt;
32
+ row: z.ZodArray<z.ZodArray<z.ZodString>>;
33
+ size: z.ZodInt;
34
+ totalElements: z.ZodNumber;
35
+ }, z.core.$strip>;
36
+ type DirectoryExportDefinition = z.infer<typeof DirectoryExportSchemaDefinition>;
37
+ export interface DirectoryExportSchemaInput extends z.input<typeof DirectoryExportSchemaDefinition> {
38
+ }
39
+ /**
40
+ * A metered directory page with ordered headers and text cells; absent values are empty strings.
41
+ *
42
+ * @openapiSchema DirectoryExport
43
+ * @endpoint POST /v1/directory/exports
44
+ * @contractShape directory.export
45
+ * @contractRole canonical
46
+ */
47
+ export declare const DirectoryExportSchema: z.ZodType<DirectoryExportDefinition, DirectoryExportSchemaInput>;
48
+ export type DirectoryExport = z.infer<typeof DirectoryExportSchema>;
49
+ export {};
50
+ //# sourceMappingURL=export.d.ts.map
@@ -0,0 +1,24 @@
1
+ // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
+ import { z } from "zod/v4";
3
+ import { ResearchAllowanceSchema } from "../research/allowance.js";
4
+ import { SharedDirectoryTypeSchema } from "../shared/directory-type.js";
5
+ const DirectoryExportSchemaDefinition = z.object({
6
+ allowance: ResearchAllowanceSchema,
7
+ column: z.array(z.string()),
8
+ directory: SharedDirectoryTypeSchema,
9
+ hasNext: z.boolean(),
10
+ page: z.int(),
11
+ row: z.array(z.array(z.string())),
12
+ size: z.int(),
13
+ totalElements: z.number().int(),
14
+ });
15
+ /**
16
+ * A metered directory page with ordered headers and text cells; absent values are empty strings.
17
+ *
18
+ * @openapiSchema DirectoryExport
19
+ * @endpoint POST /v1/directory/exports
20
+ * @contractShape directory.export
21
+ * @contractRole canonical
22
+ */
23
+ export const DirectoryExportSchema = DirectoryExportSchemaDefinition;
24
+ //# sourceMappingURL=export.js.map
@@ -66,6 +66,7 @@ declare const EnrichmentSchemaDefinition: z.ZodObject<{
66
66
  COMPANY: "COMPANY";
67
67
  ENTITY_BRAND: "ENTITY_BRAND";
68
68
  ENTITY_VIEW: "ENTITY_VIEW";
69
+ EXPORT: "EXPORT";
69
70
  PERSON: "PERSON";
70
71
  PERSON_VIEW: "PERSON_VIEW";
71
72
  WEB_SEARCH: "WEB_SEARCH";
@@ -74,6 +75,7 @@ declare const EnrichmentSchemaDefinition: z.ZodObject<{
74
75
  COMPANY: "COMPANY";
75
76
  ENTITY_BRAND: "ENTITY_BRAND";
76
77
  ENTITY_VIEW: "ENTITY_VIEW";
78
+ EXPORT: "EXPORT";
77
79
  PERSON: "PERSON";
78
80
  PERSON_VIEW: "PERSON_VIEW";
79
81
  WEB_SEARCH: "WEB_SEARCH";
@@ -8,6 +8,7 @@ import { z } from "zod/v4";
8
8
  * @endpoint GET /v1/search/link/jobs/{jobId}
9
9
  * @endpoint GET /v1/search/shared/{id}
10
10
  * @endpoint GET /v1/search/shared/slug/{slug}
11
+ * @endpoint POST /v1/directory/exports
11
12
  * @endpoint POST /v1/directory/shared
12
13
  * @endpoint POST /v1/entities/filters/refine
13
14
  * @endpoint POST /v1/entities/filters/search
@@ -9,6 +9,7 @@ import { z } from "zod/v4";
9
9
  * @endpoint GET /v1/search/link/jobs/{jobId}
10
10
  * @endpoint GET /v1/search/shared/{id}
11
11
  * @endpoint GET /v1/search/shared/slug/{slug}
12
+ * @endpoint POST /v1/directory/exports
12
13
  * @endpoint POST /v1/directory/shared
13
14
  * @endpoint POST /v1/entities/filters/refine
14
15
  * @endpoint POST /v1/entities/filters/search
@@ -8,6 +8,7 @@ import { z } from "zod/v4";
8
8
  * @endpoint GET /v1/search/link/jobs/{jobId}
9
9
  * @endpoint GET /v1/search/shared/{id}
10
10
  * @endpoint GET /v1/search/shared/slug/{slug}
11
+ * @endpoint POST /v1/directory/exports
11
12
  * @endpoint POST /v1/directory/shared
12
13
  * @endpoint POST /v1/entities/filters/refine
13
14
  * @endpoint POST /v1/entities/filters/search
@@ -17,6 +17,7 @@ import { UrlMatchModeSchema } from "../url/match-mode.js";
17
17
  * @endpoint GET /v1/search/link/jobs/{jobId}
18
18
  * @endpoint GET /v1/search/shared/{id}
19
19
  * @endpoint GET /v1/search/shared/slug/{slug}
20
+ * @endpoint POST /v1/directory/exports
20
21
  * @endpoint POST /v1/directory/shared
21
22
  * @endpoint POST /v1/entities/filters/refine
22
23
  * @endpoint POST /v1/entities/filters/search
@@ -8,6 +8,7 @@ import { z } from "zod/v4";
8
8
  * @endpoint GET /v1/search/link/jobs/{jobId}
9
9
  * @endpoint GET /v1/search/shared/{id}
10
10
  * @endpoint GET /v1/search/shared/slug/{slug}
11
+ * @endpoint POST /v1/directory/exports
11
12
  * @endpoint POST /v1/directory/shared
12
13
  * @endpoint POST /v1/entities/filters/refine
13
14
  * @endpoint POST /v1/entities/filters/search
@@ -14,6 +14,7 @@ import { InvestorNameMatchModeSchema } from "../investor/name-match-mode.js";
14
14
  * @endpoint GET /v1/search/link/jobs/{jobId}
15
15
  * @endpoint GET /v1/search/shared/{id}
16
16
  * @endpoint GET /v1/search/shared/slug/{slug}
17
+ * @endpoint POST /v1/directory/exports
17
18
  * @endpoint POST /v1/directory/shared
18
19
  * @endpoint POST /v1/entities/filters/refine
19
20
  * @endpoint POST /v1/entities/filters/search
@@ -8,11 +8,13 @@ import { z } from "zod/v4";
8
8
  * @endpoint GET /v1/search/link/jobs/{jobId}
9
9
  * @endpoint GET /v1/search/shared/{id}
10
10
  * @endpoint GET /v1/search/shared/slug/{slug}
11
+ * @endpoint POST /v1/directory/exports
11
12
  * @endpoint POST /v1/directory/shared
12
13
  * @endpoint POST /v1/entities/search
13
14
  * @endpoint POST /v1/search
14
15
  * @endpoint POST /v1/search/natural/entities
15
16
  * @endpoint POST /v1/search/shared
17
+ * @usedBySchema DirectoryExportMutationSchema
16
18
  * @usedBySchema SearchInterpretationSchema
17
19
  * @usedBySchema SharedDirectoryMutationSchema
18
20
  * @usedBySchema SharedDirectorySchema
@@ -17,11 +17,13 @@ import { UrlMatchModeSchema } from "../url/match-mode.js";
17
17
  * @endpoint GET /v1/search/link/jobs/{jobId}
18
18
  * @endpoint GET /v1/search/shared/{id}
19
19
  * @endpoint GET /v1/search/shared/slug/{slug}
20
+ * @endpoint POST /v1/directory/exports
20
21
  * @endpoint POST /v1/directory/shared
21
22
  * @endpoint POST /v1/entities/search
22
23
  * @endpoint POST /v1/search
23
24
  * @endpoint POST /v1/search/natural/entities
24
25
  * @endpoint POST /v1/search/shared
26
+ * @usedBySchema DirectoryExportMutationSchema
25
27
  * @usedBySchema SearchInterpretationSchema
26
28
  * @usedBySchema SharedDirectoryMutationSchema
27
29
  * @usedBySchema SharedDirectorySchema
@@ -10,6 +10,7 @@ import { z } from "zod/v4";
10
10
  * @endpoint GET /v1/search/link/jobs/{jobId}
11
11
  * @endpoint GET /v1/search/shared/{id}
12
12
  * @endpoint GET /v1/search/shared/slug/{slug}
13
+ * @endpoint POST /v1/directory/exports
13
14
  * @endpoint POST /v1/directory/shared
14
15
  * @endpoint POST /v1/entities/filters/refine
15
16
  * @endpoint POST /v1/entities/filters/search
@@ -11,6 +11,7 @@ import { z } from "zod/v4";
11
11
  * @endpoint GET /v1/search/link/jobs/{jobId}
12
12
  * @endpoint GET /v1/search/shared/{id}
13
13
  * @endpoint GET /v1/search/shared/slug/{slug}
14
+ * @endpoint POST /v1/directory/exports
14
15
  * @endpoint POST /v1/directory/shared
15
16
  * @endpoint POST /v1/entities/filters/refine
16
17
  * @endpoint POST /v1/entities/filters/search
@@ -10,6 +10,7 @@ import { z } from "zod/v4";
10
10
  * @endpoint GET /v1/search/link/jobs/{jobId}
11
11
  * @endpoint GET /v1/search/shared/{id}
12
12
  * @endpoint GET /v1/search/shared/slug/{slug}
13
+ * @endpoint POST /v1/directory/exports
13
14
  * @endpoint POST /v1/directory/shared
14
15
  * @endpoint POST /v1/entities/filters/refine
15
16
  * @endpoint POST /v1/entities/filters/search
@@ -11,6 +11,7 @@ import { z } from "zod/v4";
11
11
  * @endpoint GET /v1/search/link/jobs/{jobId}
12
12
  * @endpoint GET /v1/search/shared/{id}
13
13
  * @endpoint GET /v1/search/shared/slug/{slug}
14
+ * @endpoint POST /v1/directory/exports
14
15
  * @endpoint POST /v1/directory/shared
15
16
  * @endpoint POST /v1/entities/filters/refine
16
17
  * @endpoint POST /v1/entities/filters/search
@@ -8,6 +8,7 @@ import { z } from "zod/v4";
8
8
  * @endpoint GET /v1/search/link/jobs/{jobId}
9
9
  * @endpoint GET /v1/search/shared/{id}
10
10
  * @endpoint GET /v1/search/shared/slug/{slug}
11
+ * @endpoint POST /v1/directory/exports
11
12
  * @endpoint POST /v1/directory/shared
12
13
  * @endpoint POST /v1/people/search
13
14
  * @endpoint POST /v1/search
@@ -10,6 +10,7 @@ import { EntityFilterSchema } from "./filter.js";
10
10
  * @endpoint GET /v1/search/link/jobs/{jobId}
11
11
  * @endpoint GET /v1/search/shared/{id}
12
12
  * @endpoint GET /v1/search/shared/slug/{slug}
13
+ * @endpoint POST /v1/directory/exports
13
14
  * @endpoint POST /v1/directory/shared
14
15
  * @endpoint POST /v1/people/search
15
16
  * @endpoint POST /v1/search
@@ -30,6 +30,7 @@ import { z } from "zod/v4";
30
30
  * @endpoint GET /v1/search/link/jobs/{jobId}
31
31
  * @endpoint GET /v1/search/shared/{id}
32
32
  * @endpoint GET /v1/search/shared/slug/{slug}
33
+ * @endpoint POST /v1/directory/exports
33
34
  * @endpoint POST /v1/directory/shared
34
35
  * @endpoint POST /v1/entities/filters/refine
35
36
  * @endpoint POST /v1/entities/filters/search
@@ -43,6 +44,7 @@ import { z } from "zod/v4";
43
44
  * @endpoint POST /v1/search/natural/entities
44
45
  * @endpoint POST /v1/search/natural/people
45
46
  * @endpoint POST /v1/search/shared
47
+ * @usedBySchema DirectoryExportMutationSchema
46
48
  * @usedBySchema EntityFilterSchema
47
49
  * @usedBySchema EntityListFilterSchema
48
50
  * @usedBySchema EntityUrlLinkSchema
@@ -31,6 +31,7 @@ import { z } from "zod/v4";
31
31
  * @endpoint GET /v1/search/link/jobs/{jobId}
32
32
  * @endpoint GET /v1/search/shared/{id}
33
33
  * @endpoint GET /v1/search/shared/slug/{slug}
34
+ * @endpoint POST /v1/directory/exports
34
35
  * @endpoint POST /v1/directory/shared
35
36
  * @endpoint POST /v1/entities/filters/refine
36
37
  * @endpoint POST /v1/entities/filters/search
@@ -44,6 +45,7 @@ import { z } from "zod/v4";
44
45
  * @endpoint POST /v1/search/natural/entities
45
46
  * @endpoint POST /v1/search/natural/people
46
47
  * @endpoint POST /v1/search/shared
48
+ * @usedBySchema DirectoryExportMutationSchema
47
49
  * @usedBySchema EntityFilterSchema
48
50
  * @usedBySchema EntityListFilterSchema
49
51
  * @usedBySchema EntityUrlLinkSchema
@@ -167,6 +167,7 @@ declare const HarnessRunDetailSchemaDefinition: z.ZodObject<{
167
167
  COMPANY: "COMPANY";
168
168
  ENTITY_BRAND: "ENTITY_BRAND";
169
169
  ENTITY_VIEW: "ENTITY_VIEW";
170
+ EXPORT: "EXPORT";
170
171
  PERSON: "PERSON";
171
172
  PERSON_VIEW: "PERSON_VIEW";
172
173
  WEB_SEARCH: "WEB_SEARCH";
@@ -175,6 +176,7 @@ declare const HarnessRunDetailSchemaDefinition: z.ZodObject<{
175
176
  COMPANY: "COMPANY";
176
177
  ENTITY_BRAND: "ENTITY_BRAND";
177
178
  ENTITY_VIEW: "ENTITY_VIEW";
179
+ EXPORT: "EXPORT";
178
180
  PERSON: "PERSON";
179
181
  PERSON_VIEW: "PERSON_VIEW";
180
182
  WEB_SEARCH: "WEB_SEARCH";
@@ -64,6 +64,7 @@ export declare const HarnessRunSchema: z.ZodObject<{
64
64
  COMPANY: "COMPANY";
65
65
  ENTITY_BRAND: "ENTITY_BRAND";
66
66
  ENTITY_VIEW: "ENTITY_VIEW";
67
+ EXPORT: "EXPORT";
67
68
  PERSON: "PERSON";
68
69
  PERSON_VIEW: "PERSON_VIEW";
69
70
  WEB_SEARCH: "WEB_SEARCH";
@@ -72,6 +73,7 @@ export declare const HarnessRunSchema: z.ZodObject<{
72
73
  COMPANY: "COMPANY";
73
74
  ENTITY_BRAND: "ENTITY_BRAND";
74
75
  ENTITY_VIEW: "ENTITY_VIEW";
76
+ EXPORT: "EXPORT";
75
77
  PERSON: "PERSON";
76
78
  PERSON_VIEW: "PERSON_VIEW";
77
79
  WEB_SEARCH: "WEB_SEARCH";
@@ -4,6 +4,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
4
4
  COMPANY: "COMPANY";
5
5
  ENTITY_BRAND: "ENTITY_BRAND";
6
6
  ENTITY_VIEW: "ENTITY_VIEW";
7
+ EXPORT: "EXPORT";
7
8
  PERSON: "PERSON";
8
9
  PERSON_VIEW: "PERSON_VIEW";
9
10
  WEB_SEARCH: "WEB_SEARCH";
@@ -12,6 +13,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
12
13
  COMPANY: "COMPANY";
13
14
  ENTITY_BRAND: "ENTITY_BRAND";
14
15
  ENTITY_VIEW: "ENTITY_VIEW";
16
+ EXPORT: "EXPORT";
15
17
  PERSON: "PERSON";
16
18
  PERSON_VIEW: "PERSON_VIEW";
17
19
  WEB_SEARCH: "WEB_SEARCH";
@@ -149,6 +149,12 @@ export declare const IdentificationSchema: z.ZodObject<{
149
149
  website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
150
150
  }, z.core.$strip>>;
151
151
  enrichmentRunId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
152
+ filing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
153
+ jobId: z.ZodUUID;
154
+ mode: z.ZodString;
155
+ statusUrl: z.ZodString;
156
+ }, z.core.$strip>>>;
157
+ inserted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
152
158
  languageModelSettled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
153
159
  match: z.ZodOptional<z.ZodNullable<z.ZodObject<{
154
160
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
@@ -1,6 +1,7 @@
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 { IdentificationCandidateSchema } from "./candidate.js";
4
+ import { JobEnqueueSchema } from "../job/enqueue.js";
4
5
  import { UrlHostFormResolutionSchema } from "../url/host-form-resolution.js";
5
6
  /**
6
7
  * Which existing entity or person satisfies the requested identity, type, and provider scope, how that was settled, and the candidates considered, most probable first.
@@ -28,6 +29,10 @@ export const IdentificationSchema = z.object({
28
29
  duplicate: z.array(IdentificationCandidateSchema),
29
30
  /** Research request filed for the created record; absent without created, when the lookup did not request research on it, and when the record is already public. */
30
31
  enrichmentRunId: z.uuid().nullish(),
32
+ /** Present only for callers that sent Prefer: respond-async. The identification is settled, but filing is pending. Poll statusUrl until the lookup job completes and use its identification; do not treat this as a final unfiled absence. */
33
+ filing: JobEnqueueSchema.nullish(),
34
+ /** Present only for callers that sent Prefer: respond-async. For a completed filing job, whether that request inserted created. */
35
+ inserted: z.boolean().nullish(),
31
36
  /** true when the match was settled on a second, slower review; confirm it before relying on it. Absent otherwise. */
32
37
  languageModelSettled: z.boolean().nullish(),
33
38
  /** The matched record when status is MATCHED. */
@@ -15,6 +15,7 @@ import { z } from "zod/v4";
15
15
  */
16
16
  export declare const IdentificationSubjectSchema: z.ZodObject<{
17
17
  context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
19
  employer: z.ZodOptional<z.ZodArray<z.ZodString>>;
19
20
  kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
20
21
  ENTITY: "ENTITY";
@@ -19,6 +19,8 @@ import { UniqueIdMutationSchema } from "../unique/id-mutation.js";
19
19
  export const IdentificationSubjectSchema = z.object({
20
20
  /** Specific facts in plain words: product, industry, employer and title, or founder names. Generic words like startup add nothing. */
21
21
  context: z.string().max(2000).nullish(),
22
+ /** Exact email address the record holds as a contact detail. Requires private visibility; when exactly one record of the requested kind holds it, that record matches before names or URLs. */
23
+ email: z.string().nullish(),
22
24
  /** Companies the subject is known to work at; a person filing accepts a LinkedIn profile only when one of them appears in the profile's employer fields. */
23
25
  employer: z.array(z.string()).max(10).optional(),
24
26
  /** Kind of record to identify when you know it: ENTITY for companies, funds, and firms (and their products or services); PERSON for people. Only that kind is looked up; typeRecord or providerId implies ENTITY. */
@@ -17,6 +17,7 @@ export interface IntRangeSchemaInput extends z.input<typeof IntRangeSchemaDefini
17
17
  * @endpoint GET /v1/search/link/jobs/{jobId}
18
18
  * @endpoint GET /v1/search/shared/{id}
19
19
  * @endpoint GET /v1/search/shared/slug/{slug}
20
+ * @endpoint POST /v1/directory/exports
20
21
  * @endpoint POST /v1/directory/shared
21
22
  * @endpoint POST /v1/entities/filters/refine
22
23
  * @endpoint POST /v1/entities/filters/search
package/dist/int/range.js CHANGED
@@ -17,6 +17,7 @@ const IntRangeSchemaDefinition = z.object({
17
17
  * @endpoint GET /v1/search/link/jobs/{jobId}
18
18
  * @endpoint GET /v1/search/shared/{id}
19
19
  * @endpoint GET /v1/search/shared/slug/{slug}
20
+ * @endpoint POST /v1/directory/exports
20
21
  * @endpoint POST /v1/directory/shared
21
22
  * @endpoint POST /v1/entities/filters/refine
22
23
  * @endpoint POST /v1/entities/filters/search
@@ -8,6 +8,7 @@ import { z } from "zod/v4";
8
8
  * @endpoint GET /v1/search/link/jobs/{jobId}
9
9
  * @endpoint GET /v1/search/shared/{id}
10
10
  * @endpoint GET /v1/search/shared/slug/{slug}
11
+ * @endpoint POST /v1/directory/exports
11
12
  * @endpoint POST /v1/directory/shared
12
13
  * @endpoint POST /v1/entities/filters/refine
13
14
  * @endpoint POST /v1/entities/filters/search
@@ -11,6 +11,7 @@ import { IntRangeSchema } from "../int/range.js";
11
11
  * @endpoint GET /v1/search/link/jobs/{jobId}
12
12
  * @endpoint GET /v1/search/shared/{id}
13
13
  * @endpoint GET /v1/search/shared/slug/{slug}
14
+ * @endpoint POST /v1/directory/exports
14
15
  * @endpoint POST /v1/directory/shared
15
16
  * @endpoint POST /v1/entities/filters/refine
16
17
  * @endpoint POST /v1/entities/filters/search
@@ -10,6 +10,7 @@ import { z } from "zod/v4";
10
10
  * @endpoint GET /v1/search/link/jobs/{jobId}
11
11
  * @endpoint GET /v1/search/shared/{id}
12
12
  * @endpoint GET /v1/search/shared/slug/{slug}
13
+ * @endpoint POST /v1/directory/exports
13
14
  * @endpoint POST /v1/directory/shared
14
15
  * @endpoint POST /v1/entities/filters/refine
15
16
  * @endpoint POST /v1/entities/filters/search
@@ -11,6 +11,7 @@ import { z } from "zod/v4";
11
11
  * @endpoint GET /v1/search/link/jobs/{jobId}
12
12
  * @endpoint GET /v1/search/shared/{id}
13
13
  * @endpoint GET /v1/search/shared/slug/{slug}
14
+ * @endpoint POST /v1/directory/exports
14
15
  * @endpoint POST /v1/directory/shared
15
16
  * @endpoint POST /v1/entities/filters/refine
16
17
  * @endpoint POST /v1/entities/filters/search
@@ -1,12 +1,4 @@
1
1
  import { z } from "zod/v4";
2
- declare const JobEnqueueSchemaDefinition: z.ZodObject<{
3
- jobId: z.ZodUUID;
4
- mode: z.ZodString;
5
- statusUrl: z.ZodString;
6
- }, z.core.$strip>;
7
- type JobEnqueueDefinition = z.infer<typeof JobEnqueueSchemaDefinition>;
8
- export interface JobEnqueueSchemaInput extends z.input<typeof JobEnqueueSchemaDefinition> {
9
- }
10
2
  /**
11
3
  * Accepted asynchronous app job enqueue response.
12
4
  *
@@ -14,16 +6,24 @@ export interface JobEnqueueSchemaInput extends z.input<typeof JobEnqueueSchemaDe
14
6
  * @endpoint GET /v1/lookup
15
7
  * @endpoint GET /v1/search/link
16
8
  * @endpoint GET /v1/entities/search/jobs/{jobId}
9
+ * @endpoint GET /v1/lookup-jobs/{jobId}
17
10
  * @endpoint GET /v1/search/link/jobs/{jobId}
18
11
  * @endpoint GET /v1/web/searches/jobs/{jobId}
19
12
  * @endpoint POST /v1/entities/lookup
20
13
  * @endpoint POST /v1/entities/search
21
14
  * @endpoint POST /v1/lookup
22
15
  * @endpoint POST /v1/lookup-jobs
16
+ * @endpoint POST /v1/lookup-mentions
17
+ * @endpoint POST /v1/people/lookup
18
+ * @usedBySchema IdentificationSchema
19
+ * @usedBySchema MentionLookupSchema
23
20
  * @contractShape job.enqueue
24
21
  * @contractRole canonical
25
22
  */
26
- export declare const JobEnqueueSchema: z.ZodType<JobEnqueueDefinition, JobEnqueueSchemaInput>;
23
+ export declare const JobEnqueueSchema: z.ZodObject<{
24
+ jobId: z.ZodUUID;
25
+ mode: z.ZodString;
26
+ statusUrl: z.ZodString;
27
+ }, z.core.$strip>;
27
28
  export type JobEnqueue = z.infer<typeof JobEnqueueSchema>;
28
- export {};
29
29
  //# sourceMappingURL=enqueue.d.ts.map
@@ -1,11 +1,5 @@
1
1
  // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
2
  import { z } from "zod/v4";
3
- const JobEnqueueSchemaDefinition = z.object({
4
- jobId: z.uuid(),
5
- mode: z.string(),
6
- /** Endpoint to poll for asynchronous job state and result. */
7
- statusUrl: z.string(),
8
- });
9
3
  /**
10
4
  * Accepted asynchronous app job enqueue response.
11
5
  *
@@ -13,14 +7,24 @@ const JobEnqueueSchemaDefinition = z.object({
13
7
  * @endpoint GET /v1/lookup
14
8
  * @endpoint GET /v1/search/link
15
9
  * @endpoint GET /v1/entities/search/jobs/{jobId}
10
+ * @endpoint GET /v1/lookup-jobs/{jobId}
16
11
  * @endpoint GET /v1/search/link/jobs/{jobId}
17
12
  * @endpoint GET /v1/web/searches/jobs/{jobId}
18
13
  * @endpoint POST /v1/entities/lookup
19
14
  * @endpoint POST /v1/entities/search
20
15
  * @endpoint POST /v1/lookup
21
16
  * @endpoint POST /v1/lookup-jobs
17
+ * @endpoint POST /v1/lookup-mentions
18
+ * @endpoint POST /v1/people/lookup
19
+ * @usedBySchema IdentificationSchema
20
+ * @usedBySchema MentionLookupSchema
22
21
  * @contractShape job.enqueue
23
22
  * @contractRole canonical
24
23
  */
25
- export const JobEnqueueSchema = JobEnqueueSchemaDefinition;
24
+ export const JobEnqueueSchema = z.object({
25
+ jobId: z.uuid(),
26
+ mode: z.string(),
27
+ /** Endpoint to poll for asynchronous job state and result. */
28
+ statusUrl: z.string(),
29
+ });
26
30
  //# sourceMappingURL=enqueue.js.map
@@ -1228,6 +1228,12 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
1228
1228
  website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1229
1229
  }, z.core.$strip>>;
1230
1230
  enrichmentRunId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
1231
+ filing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1232
+ jobId: z.ZodUUID;
1233
+ mode: z.ZodString;
1234
+ statusUrl: z.ZodString;
1235
+ }, z.core.$strip>>>;
1236
+ inserted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1231
1237
  languageModelSettled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1232
1238
  match: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1233
1239
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
@@ -17,6 +17,7 @@ declare const LookupJobMutationSchemaDefinition: z.ZodObject<{
17
17
  sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  subject: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
19
  context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
21
  employer: z.ZodOptional<z.ZodArray<z.ZodString>>;
21
22
  kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
22
23
  ENTITY: "ENTITY";
@@ -13,7 +13,7 @@ const LookupJobMutationSchemaDefinition = z.object({
13
13
  sourceNewsId: z.int().nullish(),
14
14
  /** URL of the article; read from aVenture news when stored there, otherwise fetched. */
15
15
  sourceUrl: z.string().max(2000).nullish(),
16
- /** Read-only: the subject of a GET or POST /v1/lookup or POST /v1/entities/lookup request sent with Prefer: respond-async, or rolled over from a signed-in live lookup, which this job identifies exactly as that route would. Requests to create a job or read mentions must omit it. */
16
+ /** Read-only: the subject of a GET or POST /v1/lookup or POST /v1/entities/lookup request sent with Prefer: respond-async, rolled over from a signed-in live lookup, or handed off for pending filing. This job preserves the route's options. Requests to create a job or read mentions must omit it. */
17
17
  subject: IdentificationSubjectSchema.nullish(),
18
18
  });
19
19
  /**
@@ -137,6 +137,12 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
137
137
  website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
138
138
  }, z.core.$strip>>;
139
139
  enrichmentRunId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
140
+ filing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
141
+ jobId: z.ZodUUID;
142
+ mode: z.ZodString;
143
+ statusUrl: z.ZodString;
144
+ }, z.core.$strip>>>;
145
+ inserted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
140
146
  languageModelSettled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
141
147
  match: z.ZodOptional<z.ZodNullable<z.ZodObject<{
142
148
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
@@ -841,6 +847,12 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
841
847
  website?: string | null | undefined;
842
848
  }[];
843
849
  enrichmentRunId?: string | null | undefined;
850
+ filing?: {
851
+ jobId: string;
852
+ mode: string;
853
+ statusUrl: string;
854
+ } | null | undefined;
855
+ inserted?: boolean | null | undefined;
844
856
  languageModelSettled?: boolean | null | undefined;
845
857
  match?: {
846
858
  createdAt?: string | null | undefined;
@@ -1558,6 +1570,12 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1558
1570
  website?: string | null | undefined;
1559
1571
  }[];
1560
1572
  enrichmentRunId?: string | null | undefined;
1573
+ filing?: {
1574
+ jobId: string;
1575
+ mode: string;
1576
+ statusUrl: string;
1577
+ } | null | undefined;
1578
+ inserted?: boolean | null | undefined;
1561
1579
  languageModelSettled?: boolean | null | undefined;
1562
1580
  match?: {
1563
1581
  createdAt?: string | null | undefined;
@@ -1661,6 +1679,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1661
1679
  sourceUrl?: string | null | undefined;
1662
1680
  subject?: {
1663
1681
  context?: string | null | undefined;
1682
+ email?: string | null | undefined;
1664
1683
  employer?: string[] | undefined;
1665
1684
  kind?: "ENTITY" | "PERSON" | null | undefined;
1666
1685
  location?: string | null | undefined;
@@ -1689,6 +1708,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1689
1708
  sourceUrl?: string | null | undefined;
1690
1709
  subject?: {
1691
1710
  context?: string | null | undefined;
1711
+ email?: string | null | undefined;
1692
1712
  employer?: string[] | undefined;
1693
1713
  kind?: "ENTITY" | "PERSON" | null | undefined;
1694
1714
  location?: string | null | undefined;