@aventurevc/api-schemas 0.8.497 → 0.8.499

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/billing/change-timing-type.d.ts +17 -0
  2. package/dist/billing/change-timing-type.js +14 -0
  3. package/dist/billing/plan-change-mutation.d.ts +4 -0
  4. package/dist/billing/plan-change-mutation.js +4 -1
  5. package/dist/billing/plan-change.d.ts +1 -1
  6. package/dist/billing/plan-change.js +1 -1
  7. package/dist/billing/subscription-mutation.d.ts +2 -1
  8. package/dist/billing/subscription-mutation.js +4 -2
  9. package/dist/enrichment/enrichment.d.ts +7 -2
  10. package/dist/entity/filter.d.ts +1 -0
  11. package/dist/entity/filter.js +1 -0
  12. package/dist/federated/search-provenance.d.ts +1 -0
  13. package/dist/federated/search-provenance.js +2 -0
  14. package/dist/federated/search.d.ts +313 -0
  15. package/dist/federated/search.js +4 -1
  16. package/dist/harness/chassis.d.ts +8 -3
  17. package/dist/harness/chassis.js +3 -2
  18. package/dist/harness/run-detail.d.ts +7 -2
  19. package/dist/harness/run.d.ts +7 -2
  20. package/dist/http/problem-detail.d.ts +3 -0
  21. package/dist/http/problem-detail.js +19 -13
  22. package/dist/link/search.d.ts +318 -0
  23. package/dist/openapi-component-manifest.js +18 -0
  24. package/dist/pagination/schemas.d.ts +7 -2
  25. package/dist/search/narrowing-dimension.d.ts +28 -0
  26. package/dist/search/narrowing-dimension.js +19 -0
  27. package/dist/search/narrowing-option.d.ts +266 -0
  28. package/dist/search/narrowing-option.js +30 -0
  29. package/dist/search/narrowing-question.d.ts +334 -0
  30. package/dist/search/narrowing-question.js +30 -0
  31. package/dist/search/narrowing.d.ts +328 -0
  32. package/dist/search/narrowing.js +26 -0
  33. package/dist/search/place-level.d.ts +28 -0
  34. package/dist/search/place-level.js +19 -0
  35. package/dist/shared/search.d.ts +318 -0
  36. package/package.json +1 -1
@@ -0,0 +1,266 @@
1
+ import { z } from "zod/v4";
2
+ declare const SearchNarrowingOptionSchemaDefinition: z.ZodObject<{
3
+ count: z.ZodInt;
4
+ entityFilter: z.ZodObject<{
5
+ acceleratorBrand: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
+ acceleratorCohort: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
+ acceleratorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
+ acceleratorParticipation: z.ZodOptional<z.ZodArray<z.ZodType<{
9
+ acceleratorEntityId: string;
10
+ detail: {
11
+ batch: string;
12
+ program?: string | null | undefined;
13
+ };
14
+ }, import("../accelerator/participation-filter.ts").AcceleratorParticipationFilterSchemaInput, z.core.$ZodTypeInternals<{
15
+ acceleratorEntityId: string;
16
+ detail: {
17
+ batch: string;
18
+ program?: string | null | undefined;
19
+ };
20
+ }, import("../accelerator/participation-filter.ts").AcceleratorParticipationFilterSchemaInput>>>>;
21
+ acceleratorStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
+ affinity: z.ZodOptional<z.ZodArray<z.ZodString>>;
23
+ closedLast: z.ZodOptional<z.ZodBoolean>;
24
+ employeeCountRange: z.ZodOptional<z.ZodArray<z.ZodType<{
25
+ matchMode?: string | null | undefined;
26
+ max?: number | null | undefined;
27
+ min?: number | null | undefined;
28
+ }, import("../employee/count-range.ts").EmployeeCountRangeSchemaInput, z.core.$ZodTypeInternals<{
29
+ matchMode?: string | null | undefined;
30
+ max?: number | null | undefined;
31
+ min?: number | null | undefined;
32
+ }, import("../employee/count-range.ts").EmployeeCountRangeSchemaInput>>>>;
33
+ entityId: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
34
+ entityName: z.ZodOptional<z.ZodArray<z.ZodString>>;
35
+ featured: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
36
+ fundraiseActivity: z.ZodOptional<z.ZodObject<{
37
+ amountInvestedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
38
+ max?: number | null | undefined;
39
+ min?: number | null | undefined;
40
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
41
+ max?: number | null | undefined;
42
+ min?: number | null | undefined;
43
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
44
+ amountRaisedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
45
+ max?: number | null | undefined;
46
+ min?: number | null | undefined;
47
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
48
+ max?: number | null | undefined;
49
+ min?: number | null | undefined;
50
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
51
+ dateAnnouncedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
52
+ max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
53
+ min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
54
+ }, z.core.$strip>>>;
55
+ dateFundingCompleteRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
56
+ max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
57
+ min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
58
+ }, z.core.$strip>>>;
59
+ investedAmountRaisedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
60
+ max?: number | null | undefined;
61
+ min?: number | null | undefined;
62
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
63
+ max?: number | null | undefined;
64
+ min?: number | null | undefined;
65
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
66
+ investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
67
+ investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
68
+ investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
69
+ investedRound: z.ZodOptional<z.ZodArray<z.ZodString>>;
70
+ investorActivity: z.ZodOptional<z.ZodObject<{
71
+ averageAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
72
+ max?: number | null | undefined;
73
+ min?: number | null | undefined;
74
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
75
+ max?: number | null | undefined;
76
+ min?: number | null | undefined;
77
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
78
+ largestAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
79
+ max?: number | null | undefined;
80
+ min?: number | null | undefined;
81
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
82
+ max?: number | null | undefined;
83
+ min?: number | null | undefined;
84
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
85
+ smallestAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
86
+ max?: number | null | undefined;
87
+ min?: number | null | undefined;
88
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
89
+ max?: number | null | undefined;
90
+ min?: number | null | undefined;
91
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
92
+ totalAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
93
+ max?: number | null | undefined;
94
+ min?: number | null | undefined;
95
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
96
+ max?: number | null | undefined;
97
+ min?: number | null | undefined;
98
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
99
+ totalInvestmentRange: z.ZodOptional<z.ZodArray<z.ZodType<{
100
+ max?: number | null | undefined;
101
+ min?: number | null | undefined;
102
+ }, import("../int/range.ts").IntRangeSchemaInput, z.core.$ZodTypeInternals<{
103
+ max?: number | null | undefined;
104
+ min?: number | null | undefined;
105
+ }, import("../int/range.ts").IntRangeSchemaInput>>>>;
106
+ }, z.core.$strip>>;
107
+ investorEntityId: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
108
+ investorFamilyEntityId: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
109
+ investorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
110
+ investorNameMatch: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
111
+ any: "any";
112
+ every: "every";
113
+ }>>>;
114
+ lastRoundYearRange: z.ZodOptional<z.ZodArray<z.ZodType<{
115
+ max?: number | null | undefined;
116
+ min?: number | null | undefined;
117
+ }, import("../int/range.ts").IntRangeSchemaInput, z.core.$ZodTypeInternals<{
118
+ max?: number | null | undefined;
119
+ min?: number | null | undefined;
120
+ }, import("../int/range.ts").IntRangeSchemaInput>>>>;
121
+ rankByInvestmentActivity: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
122
+ round: z.ZodOptional<z.ZodArray<z.ZodString>>;
123
+ totalRaisedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
124
+ max?: number | null | undefined;
125
+ min?: number | null | undefined;
126
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
127
+ max?: number | null | undefined;
128
+ min?: number | null | undefined;
129
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
130
+ valuationRange: z.ZodOptional<z.ZodArray<z.ZodType<{
131
+ max?: number | null | undefined;
132
+ min?: number | null | undefined;
133
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
134
+ max?: number | null | undefined;
135
+ min?: number | null | undefined;
136
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
137
+ }, z.core.$strip>>;
138
+ hasFundraising: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
139
+ headquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
140
+ headquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
141
+ headquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
142
+ industry: z.ZodOptional<z.ZodArray<z.ZodString>>;
143
+ investorPopulation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
144
+ letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
145
+ location: z.ZodOptional<z.ZodArray<z.ZodString>>;
146
+ logoOption: z.ZodOptional<z.ZodObject<{
147
+ sortPriority: z.ZodOptional<z.ZodEnum<{
148
+ ANY_LOGO_FIRST: "ANY_LOGO_FIRST";
149
+ NONE: "NONE";
150
+ REAL_LOGO_FIRST: "REAL_LOGO_FIRST";
151
+ }>>;
152
+ }, z.core.$strip>>;
153
+ mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
154
+ noteworthyOnly: z.ZodOptional<z.ZodBoolean>;
155
+ operatingStatus: z.ZodOptional<z.ZodArray<z.ZodEnum<{
156
+ Acquired: "Acquired";
157
+ "Acquired Subsidiary": "Acquired Subsidiary";
158
+ Closed: "Closed";
159
+ "Closed (Acquihire)": "Closed (Acquihire)";
160
+ Inactive: "Inactive";
161
+ Operating: "Operating";
162
+ }>>>;
163
+ originCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
164
+ person: z.ZodOptional<z.ZodArray<z.ZodString>>;
165
+ portfolioHeadquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
166
+ portfolioHeadquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
167
+ portfolioHeadquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
168
+ qualityGate: z.ZodOptional<z.ZodEnum<{
169
+ COMPANY_LISTING_READY: "COMPANY_LISTING_READY";
170
+ NONE: "NONE";
171
+ }>>;
172
+ rankByProminence: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
173
+ slug: z.ZodOptional<z.ZodArray<z.ZodString>>;
174
+ stage: z.ZodOptional<z.ZodArray<z.ZodString>>;
175
+ standardizedClassification: z.ZodOptional<z.ZodArray<z.ZodType<{
176
+ category: string;
177
+ code?: number | null | undefined;
178
+ codeText?: string | null | undefined;
179
+ edition?: string | null | undefined;
180
+ hasEdition?: boolean | null | undefined;
181
+ }, import("../standardized/classification-filter.ts").StandardizedClassificationFilterSchemaInput, z.core.$ZodTypeInternals<{
182
+ category: string;
183
+ code?: number | null | undefined;
184
+ codeText?: string | null | undefined;
185
+ edition?: string | null | undefined;
186
+ hasEdition?: boolean | null | undefined;
187
+ }, import("../standardized/classification-filter.ts").StandardizedClassificationFilterSchemaInput>>>>;
188
+ suppressLateStage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
189
+ suppressNonOperating: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
190
+ suppressZeroTotalRaised: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
191
+ tag: z.ZodOptional<z.ZodArray<z.ZodString>>;
192
+ textSearch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
193
+ typeCustomer: z.ZodOptional<z.ZodArray<z.ZodString>>;
194
+ typeInvestor: z.ZodOptional<z.ZodArray<z.ZodString>>;
195
+ typeModel: z.ZodOptional<z.ZodArray<z.ZodString>>;
196
+ typeOwnership: z.ZodOptional<z.ZodArray<z.ZodString>>;
197
+ typeRecord: z.ZodOptional<z.ZodArray<z.ZodEnum<{
198
+ "Business Line": "Business Line";
199
+ Company: "Company";
200
+ Fund: "Fund";
201
+ Government: "Government";
202
+ "Investment Firm": "Investment Firm";
203
+ Nonprofit: "Nonprofit";
204
+ Organization: "Organization";
205
+ Product: "Product";
206
+ Service: "Service";
207
+ }>>>;
208
+ typeRegulatory: z.ZodOptional<z.ZodArray<z.ZodString>>;
209
+ typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
210
+ typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
211
+ uniqueId: z.ZodOptional<z.ZodArray<z.ZodType<{
212
+ identifier?: string | null | undefined;
213
+ idType: string;
214
+ }, import("../entity/unique-id-filter.ts").EntityUniqueIdFilterSchemaInput, z.core.$ZodTypeInternals<{
215
+ identifier?: string | null | undefined;
216
+ idType: string;
217
+ }, import("../entity/unique-id-filter.ts").EntityUniqueIdFilterSchemaInput>>>>;
218
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
219
+ urlDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
220
+ urlMatchMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
221
+ domain: "domain";
222
+ hostPath: "hostPath";
223
+ }>>>;
224
+ urlType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
+ yearFoundedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
226
+ max?: number | null | undefined;
227
+ min?: number | null | undefined;
228
+ }, import("../int/range.ts").IntRangeSchemaInput, z.core.$ZodTypeInternals<{
229
+ max?: number | null | undefined;
230
+ min?: number | null | undefined;
231
+ }, import("../int/range.ts").IntRangeSchemaInput>>>>;
232
+ }, z.core.$strict>;
233
+ label: z.ZodString;
234
+ level: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
235
+ city: "city";
236
+ country: "country";
237
+ state: "state";
238
+ }>, z.ZodString]> & {
239
+ enum: {
240
+ city: "city";
241
+ country: "country";
242
+ state: "state";
243
+ };
244
+ }>>;
245
+ }, z.core.$strip>;
246
+ type SearchNarrowingOptionDefinition = z.infer<typeof SearchNarrowingOptionSchemaDefinition>;
247
+ export interface SearchNarrowingOptionSchemaInput extends z.input<typeof SearchNarrowingOptionSchemaDefinition> {
248
+ }
249
+ /**
250
+ * One answer to a narrowing question.
251
+ *
252
+ * @openapiSchema SearchNarrowingOption
253
+ * @endpoint GET /v1/search/link
254
+ * @endpoint GET /v1/search/link/jobs/{jobId}
255
+ * @endpoint GET /v1/search/shared/{id}
256
+ * @endpoint GET /v1/search/shared/slug/{slug}
257
+ * @endpoint POST /v1/search
258
+ * @endpoint POST /v1/search/shared
259
+ * @usedBySchema SearchNarrowingQuestionSchema
260
+ * @contractShape search.narrowing-option
261
+ * @contractRole canonical
262
+ */
263
+ export declare const SearchNarrowingOptionSchema: z.ZodType<SearchNarrowingOptionDefinition, SearchNarrowingOptionSchemaInput>;
264
+ export type SearchNarrowingOption = z.infer<typeof SearchNarrowingOptionSchema>;
265
+ export {};
266
+ //# sourceMappingURL=narrowing-option.d.ts.map
@@ -0,0 +1,30 @@
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 { EntityFilterSchema } from "../entity/filter.js";
4
+ import { SearchPlaceLevelSchema } from "./place-level.js";
5
+ const SearchNarrowingOptionSchemaDefinition = z.object({
6
+ /** Sampled candidates this exact fragment matches, counted with the directory's own filter predicates; always at least 1. Not a directory total. */
7
+ count: z.int().min(1),
8
+ /** The filter fragment this answer applies; it sets exactly one field. Merge it into FederatedNaturalSearch.entityFilter by replacing that field. */
9
+ entityFilter: EntityFilterSchema,
10
+ /** Display label. */
11
+ label: z.string(),
12
+ /** Place level of a place option, so one row can mix countries, states, and cities; absent on other dimensions. */
13
+ level: SearchPlaceLevelSchema.nullish(),
14
+ });
15
+ /**
16
+ * One answer to a narrowing question.
17
+ *
18
+ * @openapiSchema SearchNarrowingOption
19
+ * @endpoint GET /v1/search/link
20
+ * @endpoint GET /v1/search/link/jobs/{jobId}
21
+ * @endpoint GET /v1/search/shared/{id}
22
+ * @endpoint GET /v1/search/shared/slug/{slug}
23
+ * @endpoint POST /v1/search
24
+ * @endpoint POST /v1/search/shared
25
+ * @usedBySchema SearchNarrowingQuestionSchema
26
+ * @contractShape search.narrowing-option
27
+ * @contractRole canonical
28
+ */
29
+ export const SearchNarrowingOptionSchema = SearchNarrowingOptionSchemaDefinition;
30
+ //# sourceMappingURL=narrowing-option.js.map
@@ -0,0 +1,334 @@
1
+ import { z } from "zod/v4";
2
+ declare const SearchNarrowingQuestionSchemaDefinition: z.ZodObject<{
3
+ dimension: z.ZodUnion<readonly [z.ZodEnum<{
4
+ place: "place";
5
+ size: "size";
6
+ type: "type";
7
+ }>, z.ZodString]> & {
8
+ enum: {
9
+ place: "place";
10
+ size: "size";
11
+ type: "type";
12
+ };
13
+ };
14
+ key: z.ZodString;
15
+ option: z.ZodArray<z.ZodType<{
16
+ count: number;
17
+ entityFilter: {
18
+ acceleratorBrand?: string[] | undefined;
19
+ acceleratorCohort?: string[] | undefined;
20
+ acceleratorName?: string[] | undefined;
21
+ acceleratorParticipation?: {
22
+ acceleratorEntityId: string;
23
+ detail: {
24
+ batch: string;
25
+ program?: string | null | undefined;
26
+ };
27
+ }[] | undefined;
28
+ acceleratorStatus?: string[] | undefined;
29
+ affinity?: string[] | undefined;
30
+ closedLast?: boolean | undefined;
31
+ employeeCountRange?: {
32
+ matchMode?: string | null | undefined;
33
+ max?: number | null | undefined;
34
+ min?: number | null | undefined;
35
+ }[] | undefined;
36
+ entityId?: string[] | undefined;
37
+ entityName?: string[] | undefined;
38
+ featured?: boolean | null | undefined;
39
+ fundraiseActivity?: {
40
+ amountInvestedRange?: {
41
+ max?: number | null | undefined;
42
+ min?: number | null | undefined;
43
+ }[] | undefined;
44
+ amountRaisedRange?: {
45
+ max?: number | null | undefined;
46
+ min?: number | null | undefined;
47
+ }[] | undefined;
48
+ dateAnnouncedRange?: {
49
+ max?: string | null | undefined;
50
+ min?: string | null | undefined;
51
+ } | null | undefined;
52
+ dateFundingCompleteRange?: {
53
+ max?: string | null | undefined;
54
+ min?: string | null | undefined;
55
+ } | null | undefined;
56
+ investedAmountRaisedRange?: {
57
+ max?: number | null | undefined;
58
+ min?: number | null | undefined;
59
+ }[] | undefined;
60
+ investedCompanyName?: string[] | undefined;
61
+ investedCountry?: string[] | undefined;
62
+ investedIndustry?: string[] | undefined;
63
+ investedRound?: string[] | undefined;
64
+ investorActivity?: {
65
+ averageAmountInvestedUsdRange?: {
66
+ max?: number | null | undefined;
67
+ min?: number | null | undefined;
68
+ }[] | undefined;
69
+ largestAmountInvestedUsdRange?: {
70
+ max?: number | null | undefined;
71
+ min?: number | null | undefined;
72
+ }[] | undefined;
73
+ smallestAmountInvestedUsdRange?: {
74
+ max?: number | null | undefined;
75
+ min?: number | null | undefined;
76
+ }[] | undefined;
77
+ totalAmountInvestedUsdRange?: {
78
+ max?: number | null | undefined;
79
+ min?: number | null | undefined;
80
+ }[] | undefined;
81
+ totalInvestmentRange?: {
82
+ max?: number | null | undefined;
83
+ min?: number | null | undefined;
84
+ }[] | undefined;
85
+ } | undefined;
86
+ investorEntityId?: string[] | undefined;
87
+ investorFamilyEntityId?: string[] | undefined;
88
+ investorName?: string[] | undefined;
89
+ investorNameMatch?: "any" | "every" | null | undefined;
90
+ lastRoundYearRange?: {
91
+ max?: number | null | undefined;
92
+ min?: number | null | undefined;
93
+ }[] | undefined;
94
+ rankByInvestmentActivity?: boolean | null | undefined;
95
+ round?: string[] | undefined;
96
+ totalRaisedRange?: {
97
+ max?: number | null | undefined;
98
+ min?: number | null | undefined;
99
+ }[] | undefined;
100
+ valuationRange?: {
101
+ max?: number | null | undefined;
102
+ min?: number | null | undefined;
103
+ }[] | undefined;
104
+ } | undefined;
105
+ hasFundraising?: boolean | null | undefined;
106
+ headquartersCity?: string[] | undefined;
107
+ headquartersCountry?: string[] | undefined;
108
+ headquartersState?: string[] | undefined;
109
+ industry?: string[] | undefined;
110
+ investorPopulation?: boolean | null | undefined;
111
+ letter?: string | null | undefined;
112
+ location?: string[] | undefined;
113
+ logoOption?: {
114
+ sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
115
+ } | undefined;
116
+ mainProduct?: string[] | undefined;
117
+ noteworthyOnly?: boolean | undefined;
118
+ operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
119
+ originCountry?: string[] | undefined;
120
+ person?: string[] | undefined;
121
+ portfolioHeadquartersCity?: string[] | undefined;
122
+ portfolioHeadquartersCountry?: string[] | undefined;
123
+ portfolioHeadquartersState?: string[] | undefined;
124
+ qualityGate?: "COMPANY_LISTING_READY" | "NONE" | undefined;
125
+ rankByProminence?: boolean | null | undefined;
126
+ slug?: string[] | undefined;
127
+ stage?: string[] | undefined;
128
+ standardizedClassification?: {
129
+ category: string;
130
+ code?: number | null | undefined;
131
+ codeText?: string | null | undefined;
132
+ edition?: string | null | undefined;
133
+ hasEdition?: boolean | null | undefined;
134
+ }[] | undefined;
135
+ suppressLateStage?: boolean | null | undefined;
136
+ suppressNonOperating?: boolean | null | undefined;
137
+ suppressZeroTotalRaised?: boolean | null | undefined;
138
+ tag?: string[] | undefined;
139
+ textSearch?: string | null | undefined;
140
+ typeCustomer?: string[] | undefined;
141
+ typeInvestor?: string[] | undefined;
142
+ typeModel?: string[] | undefined;
143
+ typeOwnership?: string[] | undefined;
144
+ typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | undefined;
145
+ typeRegulatory?: string[] | undefined;
146
+ typeRevenue?: string[] | undefined;
147
+ typeTechnologyUsed?: string[] | undefined;
148
+ uniqueId?: {
149
+ identifier?: string | null | undefined;
150
+ idType: string;
151
+ }[] | undefined;
152
+ url?: string | null | undefined;
153
+ urlDomain?: string | null | undefined;
154
+ urlMatchMode?: "domain" | "hostPath" | null | undefined;
155
+ urlType?: string | null | undefined;
156
+ yearFoundedRange?: {
157
+ max?: number | null | undefined;
158
+ min?: number | null | undefined;
159
+ }[] | undefined;
160
+ };
161
+ label: string;
162
+ level?: string | null | undefined;
163
+ }, import("./narrowing-option.ts").SearchNarrowingOptionSchemaInput, z.core.$ZodTypeInternals<{
164
+ count: number;
165
+ entityFilter: {
166
+ acceleratorBrand?: string[] | undefined;
167
+ acceleratorCohort?: string[] | undefined;
168
+ acceleratorName?: string[] | undefined;
169
+ acceleratorParticipation?: {
170
+ acceleratorEntityId: string;
171
+ detail: {
172
+ batch: string;
173
+ program?: string | null | undefined;
174
+ };
175
+ }[] | undefined;
176
+ acceleratorStatus?: string[] | undefined;
177
+ affinity?: string[] | undefined;
178
+ closedLast?: boolean | undefined;
179
+ employeeCountRange?: {
180
+ matchMode?: string | null | undefined;
181
+ max?: number | null | undefined;
182
+ min?: number | null | undefined;
183
+ }[] | undefined;
184
+ entityId?: string[] | undefined;
185
+ entityName?: string[] | undefined;
186
+ featured?: boolean | null | undefined;
187
+ fundraiseActivity?: {
188
+ amountInvestedRange?: {
189
+ max?: number | null | undefined;
190
+ min?: number | null | undefined;
191
+ }[] | undefined;
192
+ amountRaisedRange?: {
193
+ max?: number | null | undefined;
194
+ min?: number | null | undefined;
195
+ }[] | undefined;
196
+ dateAnnouncedRange?: {
197
+ max?: string | null | undefined;
198
+ min?: string | null | undefined;
199
+ } | null | undefined;
200
+ dateFundingCompleteRange?: {
201
+ max?: string | null | undefined;
202
+ min?: string | null | undefined;
203
+ } | null | undefined;
204
+ investedAmountRaisedRange?: {
205
+ max?: number | null | undefined;
206
+ min?: number | null | undefined;
207
+ }[] | undefined;
208
+ investedCompanyName?: string[] | undefined;
209
+ investedCountry?: string[] | undefined;
210
+ investedIndustry?: string[] | undefined;
211
+ investedRound?: string[] | undefined;
212
+ investorActivity?: {
213
+ averageAmountInvestedUsdRange?: {
214
+ max?: number | null | undefined;
215
+ min?: number | null | undefined;
216
+ }[] | undefined;
217
+ largestAmountInvestedUsdRange?: {
218
+ max?: number | null | undefined;
219
+ min?: number | null | undefined;
220
+ }[] | undefined;
221
+ smallestAmountInvestedUsdRange?: {
222
+ max?: number | null | undefined;
223
+ min?: number | null | undefined;
224
+ }[] | undefined;
225
+ totalAmountInvestedUsdRange?: {
226
+ max?: number | null | undefined;
227
+ min?: number | null | undefined;
228
+ }[] | undefined;
229
+ totalInvestmentRange?: {
230
+ max?: number | null | undefined;
231
+ min?: number | null | undefined;
232
+ }[] | undefined;
233
+ } | undefined;
234
+ investorEntityId?: string[] | undefined;
235
+ investorFamilyEntityId?: string[] | undefined;
236
+ investorName?: string[] | undefined;
237
+ investorNameMatch?: "any" | "every" | null | undefined;
238
+ lastRoundYearRange?: {
239
+ max?: number | null | undefined;
240
+ min?: number | null | undefined;
241
+ }[] | undefined;
242
+ rankByInvestmentActivity?: boolean | null | undefined;
243
+ round?: string[] | undefined;
244
+ totalRaisedRange?: {
245
+ max?: number | null | undefined;
246
+ min?: number | null | undefined;
247
+ }[] | undefined;
248
+ valuationRange?: {
249
+ max?: number | null | undefined;
250
+ min?: number | null | undefined;
251
+ }[] | undefined;
252
+ } | undefined;
253
+ hasFundraising?: boolean | null | undefined;
254
+ headquartersCity?: string[] | undefined;
255
+ headquartersCountry?: string[] | undefined;
256
+ headquartersState?: string[] | undefined;
257
+ industry?: string[] | undefined;
258
+ investorPopulation?: boolean | null | undefined;
259
+ letter?: string | null | undefined;
260
+ location?: string[] | undefined;
261
+ logoOption?: {
262
+ sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
263
+ } | undefined;
264
+ mainProduct?: string[] | undefined;
265
+ noteworthyOnly?: boolean | undefined;
266
+ operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
267
+ originCountry?: string[] | undefined;
268
+ person?: string[] | undefined;
269
+ portfolioHeadquartersCity?: string[] | undefined;
270
+ portfolioHeadquartersCountry?: string[] | undefined;
271
+ portfolioHeadquartersState?: string[] | undefined;
272
+ qualityGate?: "COMPANY_LISTING_READY" | "NONE" | undefined;
273
+ rankByProminence?: boolean | null | undefined;
274
+ slug?: string[] | undefined;
275
+ stage?: string[] | undefined;
276
+ standardizedClassification?: {
277
+ category: string;
278
+ code?: number | null | undefined;
279
+ codeText?: string | null | undefined;
280
+ edition?: string | null | undefined;
281
+ hasEdition?: boolean | null | undefined;
282
+ }[] | undefined;
283
+ suppressLateStage?: boolean | null | undefined;
284
+ suppressNonOperating?: boolean | null | undefined;
285
+ suppressZeroTotalRaised?: boolean | null | undefined;
286
+ tag?: string[] | undefined;
287
+ textSearch?: string | null | undefined;
288
+ typeCustomer?: string[] | undefined;
289
+ typeInvestor?: string[] | undefined;
290
+ typeModel?: string[] | undefined;
291
+ typeOwnership?: string[] | undefined;
292
+ typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | undefined;
293
+ typeRegulatory?: string[] | undefined;
294
+ typeRevenue?: string[] | undefined;
295
+ typeTechnologyUsed?: string[] | undefined;
296
+ uniqueId?: {
297
+ identifier?: string | null | undefined;
298
+ idType: string;
299
+ }[] | undefined;
300
+ url?: string | null | undefined;
301
+ urlDomain?: string | null | undefined;
302
+ urlMatchMode?: "domain" | "hostPath" | null | undefined;
303
+ urlType?: string | null | undefined;
304
+ yearFoundedRange?: {
305
+ max?: number | null | undefined;
306
+ min?: number | null | undefined;
307
+ }[] | undefined;
308
+ };
309
+ label: string;
310
+ level?: string | null | undefined;
311
+ }, import("./narrowing-option.ts").SearchNarrowingOptionSchemaInput>>>;
312
+ prompt: z.ZodString;
313
+ }, z.core.$strip>;
314
+ type SearchNarrowingQuestionDefinition = z.infer<typeof SearchNarrowingQuestionSchemaDefinition>;
315
+ export interface SearchNarrowingQuestionSchemaInput extends z.input<typeof SearchNarrowingQuestionSchemaDefinition> {
316
+ }
317
+ /**
318
+ * One narrowing question and its optional answers.
319
+ *
320
+ * @openapiSchema SearchNarrowingQuestion
321
+ * @endpoint GET /v1/search/link
322
+ * @endpoint GET /v1/search/link/jobs/{jobId}
323
+ * @endpoint GET /v1/search/shared/{id}
324
+ * @endpoint GET /v1/search/shared/slug/{slug}
325
+ * @endpoint POST /v1/search
326
+ * @endpoint POST /v1/search/shared
327
+ * @usedBySchema SearchNarrowingSchema
328
+ * @contractShape search.narrowing-question
329
+ * @contractRole canonical
330
+ */
331
+ export declare const SearchNarrowingQuestionSchema: z.ZodType<SearchNarrowingQuestionDefinition, SearchNarrowingQuestionSchemaInput>;
332
+ export type SearchNarrowingQuestion = z.infer<typeof SearchNarrowingQuestionSchema>;
333
+ export {};
334
+ //# sourceMappingURL=narrowing-question.d.ts.map
@@ -0,0 +1,30 @@
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 { SearchNarrowingDimensionSchema } from "./narrowing-dimension.js";
4
+ import { SearchNarrowingOptionSchema } from "./narrowing-option.js";
5
+ const SearchNarrowingQuestionSchemaDefinition = z.object({
6
+ /** What the question narrows. */
7
+ dimension: SearchNarrowingDimensionSchema,
8
+ /** Stable question key; equals the dimension. */
9
+ key: z.string(),
10
+ /** Answers in display order (two or more). Every option's entityFilter sets exactly one EntityFilter field. Type and size options all share one field, so several picks union their arrays (OR). Place options may mix countries, states, and cities: picks union only within one field, and picking another level replaces the place selection. */
11
+ option: z.array(SearchNarrowingOptionSchema),
12
+ /** Very short prompt shown before the options. */
13
+ prompt: z.string(),
14
+ });
15
+ /**
16
+ * One narrowing question and its optional answers.
17
+ *
18
+ * @openapiSchema SearchNarrowingQuestion
19
+ * @endpoint GET /v1/search/link
20
+ * @endpoint GET /v1/search/link/jobs/{jobId}
21
+ * @endpoint GET /v1/search/shared/{id}
22
+ * @endpoint GET /v1/search/shared/slug/{slug}
23
+ * @endpoint POST /v1/search
24
+ * @endpoint POST /v1/search/shared
25
+ * @usedBySchema SearchNarrowingSchema
26
+ * @contractShape search.narrowing-question
27
+ * @contractRole canonical
28
+ */
29
+ export const SearchNarrowingQuestionSchema = SearchNarrowingQuestionSchemaDefinition;
30
+ //# sourceMappingURL=narrowing-question.js.map