@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,328 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Questions that narrow a broad company-category search, in display order. Each option is a structured EntityFilter fragment: merge its one field into FederatedNaturalSearch.entityFilter (replacing that field) and run the same query again; the answered dimension is then not asked and the next may be. Counts come from a bounded sample of the candidate set, not the whole directory.
4
+ *
5
+ * @openapiSchema SearchNarrowing
6
+ * @endpoint GET /v1/search/link
7
+ * @endpoint GET /v1/search/link/jobs/{jobId}
8
+ * @endpoint GET /v1/search/shared/{id}
9
+ * @endpoint GET /v1/search/shared/slug/{slug}
10
+ * @endpoint POST /v1/search
11
+ * @endpoint POST /v1/search/shared
12
+ * @usedBySchema FederatedSearchSchema
13
+ * @contractShape search.narrowing
14
+ * @contractRole canonical
15
+ */
16
+ export declare const SearchNarrowingSchema: z.ZodObject<{
17
+ candidateCount: z.ZodNumber;
18
+ question: z.ZodArray<z.ZodType<{
19
+ dimension: string;
20
+ key: string;
21
+ option: {
22
+ count: number;
23
+ entityFilter: {
24
+ acceleratorBrand?: string[] | undefined;
25
+ acceleratorCohort?: string[] | undefined;
26
+ acceleratorName?: string[] | undefined;
27
+ acceleratorParticipation?: {
28
+ acceleratorEntityId: string;
29
+ detail: {
30
+ batch: string;
31
+ program?: string | null | undefined;
32
+ };
33
+ }[] | undefined;
34
+ acceleratorStatus?: string[] | undefined;
35
+ affinity?: string[] | undefined;
36
+ closedLast?: boolean | undefined;
37
+ employeeCountRange?: {
38
+ matchMode?: string | null | undefined;
39
+ max?: number | null | undefined;
40
+ min?: number | null | undefined;
41
+ }[] | undefined;
42
+ entityId?: string[] | undefined;
43
+ entityName?: string[] | undefined;
44
+ featured?: boolean | null | undefined;
45
+ fundraiseActivity?: {
46
+ amountInvestedRange?: {
47
+ max?: number | null | undefined;
48
+ min?: number | null | undefined;
49
+ }[] | undefined;
50
+ amountRaisedRange?: {
51
+ max?: number | null | undefined;
52
+ min?: number | null | undefined;
53
+ }[] | undefined;
54
+ dateAnnouncedRange?: {
55
+ max?: string | null | undefined;
56
+ min?: string | null | undefined;
57
+ } | null | undefined;
58
+ dateFundingCompleteRange?: {
59
+ max?: string | null | undefined;
60
+ min?: string | null | undefined;
61
+ } | null | undefined;
62
+ investedAmountRaisedRange?: {
63
+ max?: number | null | undefined;
64
+ min?: number | null | undefined;
65
+ }[] | undefined;
66
+ investedCompanyName?: string[] | undefined;
67
+ investedCountry?: string[] | undefined;
68
+ investedIndustry?: string[] | undefined;
69
+ investedRound?: string[] | undefined;
70
+ investorActivity?: {
71
+ averageAmountInvestedUsdRange?: {
72
+ max?: number | null | undefined;
73
+ min?: number | null | undefined;
74
+ }[] | undefined;
75
+ largestAmountInvestedUsdRange?: {
76
+ max?: number | null | undefined;
77
+ min?: number | null | undefined;
78
+ }[] | undefined;
79
+ smallestAmountInvestedUsdRange?: {
80
+ max?: number | null | undefined;
81
+ min?: number | null | undefined;
82
+ }[] | undefined;
83
+ totalAmountInvestedUsdRange?: {
84
+ max?: number | null | undefined;
85
+ min?: number | null | undefined;
86
+ }[] | undefined;
87
+ totalInvestmentRange?: {
88
+ max?: number | null | undefined;
89
+ min?: number | null | undefined;
90
+ }[] | undefined;
91
+ } | undefined;
92
+ investorEntityId?: string[] | undefined;
93
+ investorFamilyEntityId?: string[] | undefined;
94
+ investorName?: string[] | undefined;
95
+ investorNameMatch?: "any" | "every" | null | undefined;
96
+ lastRoundYearRange?: {
97
+ max?: number | null | undefined;
98
+ min?: number | null | undefined;
99
+ }[] | undefined;
100
+ rankByInvestmentActivity?: boolean | null | undefined;
101
+ round?: string[] | undefined;
102
+ totalRaisedRange?: {
103
+ max?: number | null | undefined;
104
+ min?: number | null | undefined;
105
+ }[] | undefined;
106
+ valuationRange?: {
107
+ max?: number | null | undefined;
108
+ min?: number | null | undefined;
109
+ }[] | undefined;
110
+ } | undefined;
111
+ hasFundraising?: boolean | null | undefined;
112
+ headquartersCity?: string[] | undefined;
113
+ headquartersCountry?: string[] | undefined;
114
+ headquartersState?: string[] | undefined;
115
+ industry?: string[] | undefined;
116
+ investorPopulation?: boolean | null | undefined;
117
+ letter?: string | null | undefined;
118
+ location?: string[] | undefined;
119
+ logoOption?: {
120
+ sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
121
+ } | undefined;
122
+ mainProduct?: string[] | undefined;
123
+ noteworthyOnly?: boolean | undefined;
124
+ operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
125
+ originCountry?: string[] | undefined;
126
+ person?: string[] | undefined;
127
+ portfolioHeadquartersCity?: string[] | undefined;
128
+ portfolioHeadquartersCountry?: string[] | undefined;
129
+ portfolioHeadquartersState?: string[] | undefined;
130
+ qualityGate?: "COMPANY_LISTING_READY" | "NONE" | undefined;
131
+ rankByProminence?: boolean | null | undefined;
132
+ slug?: string[] | undefined;
133
+ stage?: string[] | undefined;
134
+ standardizedClassification?: {
135
+ category: string;
136
+ code?: number | null | undefined;
137
+ codeText?: string | null | undefined;
138
+ edition?: string | null | undefined;
139
+ hasEdition?: boolean | null | undefined;
140
+ }[] | undefined;
141
+ suppressLateStage?: boolean | null | undefined;
142
+ suppressNonOperating?: boolean | null | undefined;
143
+ suppressZeroTotalRaised?: boolean | null | undefined;
144
+ tag?: string[] | undefined;
145
+ textSearch?: string | null | undefined;
146
+ typeCustomer?: string[] | undefined;
147
+ typeInvestor?: string[] | undefined;
148
+ typeModel?: string[] | undefined;
149
+ typeOwnership?: string[] | undefined;
150
+ typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | undefined;
151
+ typeRegulatory?: string[] | undefined;
152
+ typeRevenue?: string[] | undefined;
153
+ typeTechnologyUsed?: string[] | undefined;
154
+ uniqueId?: {
155
+ identifier?: string | null | undefined;
156
+ idType: string;
157
+ }[] | undefined;
158
+ url?: string | null | undefined;
159
+ urlDomain?: string | null | undefined;
160
+ urlMatchMode?: "domain" | "hostPath" | null | undefined;
161
+ urlType?: string | null | undefined;
162
+ yearFoundedRange?: {
163
+ max?: number | null | undefined;
164
+ min?: number | null | undefined;
165
+ }[] | undefined;
166
+ };
167
+ label: string;
168
+ level?: string | null | undefined;
169
+ }[];
170
+ prompt: string;
171
+ }, import("./narrowing-question.ts").SearchNarrowingQuestionSchemaInput, z.core.$ZodTypeInternals<{
172
+ dimension: string;
173
+ key: string;
174
+ option: {
175
+ count: number;
176
+ entityFilter: {
177
+ acceleratorBrand?: string[] | undefined;
178
+ acceleratorCohort?: string[] | undefined;
179
+ acceleratorName?: string[] | undefined;
180
+ acceleratorParticipation?: {
181
+ acceleratorEntityId: string;
182
+ detail: {
183
+ batch: string;
184
+ program?: string | null | undefined;
185
+ };
186
+ }[] | undefined;
187
+ acceleratorStatus?: string[] | undefined;
188
+ affinity?: string[] | undefined;
189
+ closedLast?: boolean | undefined;
190
+ employeeCountRange?: {
191
+ matchMode?: string | null | undefined;
192
+ max?: number | null | undefined;
193
+ min?: number | null | undefined;
194
+ }[] | undefined;
195
+ entityId?: string[] | undefined;
196
+ entityName?: string[] | undefined;
197
+ featured?: boolean | null | undefined;
198
+ fundraiseActivity?: {
199
+ amountInvestedRange?: {
200
+ max?: number | null | undefined;
201
+ min?: number | null | undefined;
202
+ }[] | undefined;
203
+ amountRaisedRange?: {
204
+ max?: number | null | undefined;
205
+ min?: number | null | undefined;
206
+ }[] | undefined;
207
+ dateAnnouncedRange?: {
208
+ max?: string | null | undefined;
209
+ min?: string | null | undefined;
210
+ } | null | undefined;
211
+ dateFundingCompleteRange?: {
212
+ max?: string | null | undefined;
213
+ min?: string | null | undefined;
214
+ } | null | undefined;
215
+ investedAmountRaisedRange?: {
216
+ max?: number | null | undefined;
217
+ min?: number | null | undefined;
218
+ }[] | undefined;
219
+ investedCompanyName?: string[] | undefined;
220
+ investedCountry?: string[] | undefined;
221
+ investedIndustry?: string[] | undefined;
222
+ investedRound?: string[] | undefined;
223
+ investorActivity?: {
224
+ averageAmountInvestedUsdRange?: {
225
+ max?: number | null | undefined;
226
+ min?: number | null | undefined;
227
+ }[] | undefined;
228
+ largestAmountInvestedUsdRange?: {
229
+ max?: number | null | undefined;
230
+ min?: number | null | undefined;
231
+ }[] | undefined;
232
+ smallestAmountInvestedUsdRange?: {
233
+ max?: number | null | undefined;
234
+ min?: number | null | undefined;
235
+ }[] | undefined;
236
+ totalAmountInvestedUsdRange?: {
237
+ max?: number | null | undefined;
238
+ min?: number | null | undefined;
239
+ }[] | undefined;
240
+ totalInvestmentRange?: {
241
+ max?: number | null | undefined;
242
+ min?: number | null | undefined;
243
+ }[] | undefined;
244
+ } | undefined;
245
+ investorEntityId?: string[] | undefined;
246
+ investorFamilyEntityId?: string[] | undefined;
247
+ investorName?: string[] | undefined;
248
+ investorNameMatch?: "any" | "every" | null | undefined;
249
+ lastRoundYearRange?: {
250
+ max?: number | null | undefined;
251
+ min?: number | null | undefined;
252
+ }[] | undefined;
253
+ rankByInvestmentActivity?: boolean | null | undefined;
254
+ round?: string[] | undefined;
255
+ totalRaisedRange?: {
256
+ max?: number | null | undefined;
257
+ min?: number | null | undefined;
258
+ }[] | undefined;
259
+ valuationRange?: {
260
+ max?: number | null | undefined;
261
+ min?: number | null | undefined;
262
+ }[] | undefined;
263
+ } | undefined;
264
+ hasFundraising?: boolean | null | undefined;
265
+ headquartersCity?: string[] | undefined;
266
+ headquartersCountry?: string[] | undefined;
267
+ headquartersState?: string[] | undefined;
268
+ industry?: string[] | undefined;
269
+ investorPopulation?: boolean | null | undefined;
270
+ letter?: string | null | undefined;
271
+ location?: string[] | undefined;
272
+ logoOption?: {
273
+ sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
274
+ } | undefined;
275
+ mainProduct?: string[] | undefined;
276
+ noteworthyOnly?: boolean | undefined;
277
+ operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
278
+ originCountry?: string[] | undefined;
279
+ person?: string[] | undefined;
280
+ portfolioHeadquartersCity?: string[] | undefined;
281
+ portfolioHeadquartersCountry?: string[] | undefined;
282
+ portfolioHeadquartersState?: string[] | undefined;
283
+ qualityGate?: "COMPANY_LISTING_READY" | "NONE" | undefined;
284
+ rankByProminence?: boolean | null | undefined;
285
+ slug?: string[] | undefined;
286
+ stage?: string[] | undefined;
287
+ standardizedClassification?: {
288
+ category: string;
289
+ code?: number | null | undefined;
290
+ codeText?: string | null | undefined;
291
+ edition?: string | null | undefined;
292
+ hasEdition?: boolean | null | undefined;
293
+ }[] | undefined;
294
+ suppressLateStage?: boolean | null | undefined;
295
+ suppressNonOperating?: boolean | null | undefined;
296
+ suppressZeroTotalRaised?: boolean | null | undefined;
297
+ tag?: string[] | undefined;
298
+ textSearch?: string | null | undefined;
299
+ typeCustomer?: string[] | undefined;
300
+ typeInvestor?: string[] | undefined;
301
+ typeModel?: string[] | undefined;
302
+ typeOwnership?: string[] | undefined;
303
+ typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | undefined;
304
+ typeRegulatory?: string[] | undefined;
305
+ typeRevenue?: string[] | undefined;
306
+ typeTechnologyUsed?: string[] | undefined;
307
+ uniqueId?: {
308
+ identifier?: string | null | undefined;
309
+ idType: string;
310
+ }[] | undefined;
311
+ url?: string | null | undefined;
312
+ urlDomain?: string | null | undefined;
313
+ urlMatchMode?: "domain" | "hostPath" | null | undefined;
314
+ urlType?: string | null | undefined;
315
+ yearFoundedRange?: {
316
+ max?: number | null | undefined;
317
+ min?: number | null | undefined;
318
+ }[] | undefined;
319
+ };
320
+ label: string;
321
+ level?: string | null | undefined;
322
+ }[];
323
+ prompt: string;
324
+ }, import("./narrowing-question.ts").SearchNarrowingQuestionSchemaInput>>>;
325
+ sampleCount: z.ZodInt;
326
+ }, z.core.$strip>;
327
+ export type SearchNarrowing = z.infer<typeof SearchNarrowingSchema>;
328
+ //# sourceMappingURL=narrowing.d.ts.map
@@ -0,0 +1,26 @@
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 { SearchNarrowingQuestionSchema } from "./narrowing-question.js";
4
+ /**
5
+ * Questions that narrow a broad company-category search, in display order. Each option is a structured EntityFilter fragment: merge its one field into FederatedNaturalSearch.entityFilter (replacing that field) and run the same query again; the answered dimension is then not asked and the next may be. Counts come from a bounded sample of the candidate set, not the whole directory.
6
+ *
7
+ * @openapiSchema SearchNarrowing
8
+ * @endpoint GET /v1/search/link
9
+ * @endpoint GET /v1/search/link/jobs/{jobId}
10
+ * @endpoint GET /v1/search/shared/{id}
11
+ * @endpoint GET /v1/search/shared/slug/{slug}
12
+ * @endpoint POST /v1/search
13
+ * @endpoint POST /v1/search/shared
14
+ * @usedBySchema FederatedSearchSchema
15
+ * @contractShape search.narrowing
16
+ * @contractRole canonical
17
+ */
18
+ export const SearchNarrowingSchema = z.object({
19
+ /** Rows the plan reaches: the exact directory count for structured plans, or the meaning-based relevance set (capped at the search catalog's retrieval.directoryMatchMax) for semantic plans. */
20
+ candidateCount: z.number().int(),
21
+ /** Questions in display order; never empty. */
22
+ question: z.array(SearchNarrowingQuestionSchema),
23
+ /** Candidates read, in default directory order, to propose options and count them. */
24
+ sampleCount: z.int(),
25
+ });
26
+ //# sourceMappingURL=narrowing.js.map
@@ -0,0 +1,28 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Headquarters level a place option filters on.
4
+ *
5
+ * @openapiSchema SearchPlaceLevel
6
+ * @endpoint GET /v1/search/link
7
+ * @endpoint GET /v1/search/link/jobs/{jobId}
8
+ * @endpoint GET /v1/search/shared/{id}
9
+ * @endpoint GET /v1/search/shared/slug/{slug}
10
+ * @endpoint POST /v1/search
11
+ * @endpoint POST /v1/search/shared
12
+ * @usedBySchema SearchNarrowingOptionSchema
13
+ * @contractShape search.place-level
14
+ * @contractRole canonical
15
+ */
16
+ export declare const SearchPlaceLevelSchema: z.ZodUnion<readonly [z.ZodEnum<{
17
+ city: "city";
18
+ country: "country";
19
+ state: "state";
20
+ }>, z.ZodString]> & {
21
+ enum: {
22
+ city: "city";
23
+ country: "country";
24
+ state: "state";
25
+ };
26
+ };
27
+ export type SearchPlaceLevel = z.infer<typeof SearchPlaceLevelSchema>;
28
+ //# sourceMappingURL=place-level.d.ts.map
@@ -0,0 +1,19 @@
1
+ // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
+ import { z } from "zod/v4";
3
+ const SearchPlaceLevelSchemaKnownMembers = z.enum(["country", "state", "city"]);
4
+ /**
5
+ * Headquarters level a place option filters on.
6
+ *
7
+ * @openapiSchema SearchPlaceLevel
8
+ * @endpoint GET /v1/search/link
9
+ * @endpoint GET /v1/search/link/jobs/{jobId}
10
+ * @endpoint GET /v1/search/shared/{id}
11
+ * @endpoint GET /v1/search/shared/slug/{slug}
12
+ * @endpoint POST /v1/search
13
+ * @endpoint POST /v1/search/shared
14
+ * @usedBySchema SearchNarrowingOptionSchema
15
+ * @contractShape search.place-level
16
+ * @contractRole canonical
17
+ */
18
+ export const SearchPlaceLevelSchema = Object.assign(z.union([SearchPlaceLevelSchemaKnownMembers, z.string()]), { enum: SearchPlaceLevelSchemaKnownMembers.enum });
19
+ //# sourceMappingURL=place-level.js.map