@aventurevc/api-schemas 0.8.115 → 0.8.124
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/address/address.js +1 -1
- package/dist/address/association-role.d.ts +1 -1
- package/dist/address/association-role.js +1 -1
- package/dist/agent/help.d.ts +20 -4
- package/dist/datasource/data-source-type.d.ts +24 -0
- package/dist/datasource/data-source-type.js +24 -0
- package/dist/entity/enrichment.js +1 -1
- package/dist/entity/filter-sortable.d.ts +39 -0
- package/dist/entity/filter-sortable.js +42 -0
- package/dist/entity/filter.js +2 -2
- package/dist/entity/list-filter.js +2 -2
- package/dist/entity/natural-search.d.ts +2 -0
- package/dist/entity/person-association.js +1 -1
- package/dist/federated/natural-search.d.ts +12 -12
- package/dist/federated/natural-search.js +14 -11
- package/dist/federated/search.d.ts +4 -2
- package/dist/harness/task-plan-step.d.ts +8 -0
- package/dist/harness/task-plan-step.js +3 -0
- package/dist/harness/task-plan.d.ts +16 -0
- package/dist/harness/task-write-guidance.d.ts +21 -0
- package/dist/harness/task-write-guidance.js +27 -0
- package/dist/help/citation.d.ts +4 -2
- package/dist/help/resolution.d.ts +18 -2
- package/dist/help/source-type.d.ts +4 -2
- package/dist/help/source-type.js +11 -6
- package/dist/http/problem-detail.d.ts +12 -0
- package/dist/http/problem-detail.js +5 -0
- package/dist/link/search.d.ts +4 -2
- package/dist/lookup/job-mutation.js +1 -1
- package/dist/natural/search-result.d.ts +3 -2
- package/dist/natural/search.d.ts +1 -0
- package/dist/natural/search.js +3 -1
- package/dist/openapi-component-manifest.js +15 -0
- package/dist/person/natural-search.d.ts +2 -0
- package/dist/prose/problem.d.ts +24 -0
- package/dist/prose/problem.js +27 -0
- package/dist/prose/violation.d.ts +32 -0
- package/dist/prose/violation.js +24 -0
- package/dist/reasoning/effort.d.ts +1 -0
- package/dist/reasoning/effort.js +1 -0
- package/dist/research/snippet-type.d.ts +1 -0
- package/dist/research/snippet-type.js +2 -0
- package/dist/search/answer.d.ts +1 -0
- package/dist/search/answer.js +3 -1
- package/dist/search/cache-mode.d.ts +1 -0
- package/dist/search/cache-mode.js +1 -0
- package/dist/search/interpretation.d.ts +2 -2
- package/dist/search/layer.d.ts +2 -0
- package/dist/search/layer.js +2 -0
- package/dist/search/ordering-entity-filter-sortable.d.ts +2 -2
- package/dist/shared/search-mutation.d.ts +208 -0
- package/dist/shared/search-mutation.js +8 -0
- package/dist/shared/search.d.ts +4 -2
- package/dist/sort/order-entity-filter-sortable.d.ts +4 -2
- package/dist/sort/order-entity-filter-sortable.js +2 -19
- package/dist/suppression/reason.d.ts +17 -0
- package/dist/suppression/reason.js +16 -0
- package/package.json +1 -1
|
@@ -1,7 +1,215 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const SharedSearchMutationSchemaDefinition: z.ZodObject<{
|
|
3
3
|
id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
4
|
+
layer: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
5
|
+
judgment: "judgment";
|
|
6
|
+
passage: "passage";
|
|
7
|
+
synthesis: "synthesis";
|
|
8
|
+
web: "web";
|
|
9
|
+
}>>>>;
|
|
4
10
|
query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
search: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
answerModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
cacheMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
14
|
+
bypass: "bypass";
|
|
15
|
+
refresh: "refresh";
|
|
16
|
+
use: "use";
|
|
17
|
+
}>>>;
|
|
18
|
+
entityFilter: z.ZodOptional<z.ZodObject<{
|
|
19
|
+
acceleratorBrand: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20
|
+
acceleratorCohort: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21
|
+
acceleratorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22
|
+
acceleratorStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23
|
+
affinity: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
|
+
closedLast: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
+
employeeCountRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
26
|
+
max?: number | null | undefined;
|
|
27
|
+
min?: number | null | undefined;
|
|
28
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
29
|
+
max?: number | null | undefined;
|
|
30
|
+
min?: number | null | undefined;
|
|
31
|
+
}, unknown>>>>;
|
|
32
|
+
entityId: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
33
|
+
entityName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34
|
+
featured: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
35
|
+
fundraiseActivity: z.ZodOptional<z.ZodObject<{
|
|
36
|
+
amountInvestedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
37
|
+
max?: number | null | undefined;
|
|
38
|
+
min?: number | null | undefined;
|
|
39
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
40
|
+
max?: number | null | undefined;
|
|
41
|
+
min?: number | null | undefined;
|
|
42
|
+
}, unknown>>>>;
|
|
43
|
+
amountRaisedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
44
|
+
max?: number | null | undefined;
|
|
45
|
+
min?: number | null | undefined;
|
|
46
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
47
|
+
max?: number | null | undefined;
|
|
48
|
+
min?: number | null | undefined;
|
|
49
|
+
}, unknown>>>>;
|
|
50
|
+
dateAnnouncedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
51
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
52
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
53
|
+
}, z.core.$strip>>>;
|
|
54
|
+
investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
55
|
+
investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
56
|
+
investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
57
|
+
investedRound: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
58
|
+
investorActivity: z.ZodOptional<z.ZodObject<{
|
|
59
|
+
averageAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
60
|
+
max?: number | null | undefined;
|
|
61
|
+
min?: number | null | undefined;
|
|
62
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
63
|
+
max?: number | null | undefined;
|
|
64
|
+
min?: number | null | undefined;
|
|
65
|
+
}, unknown>>>>;
|
|
66
|
+
largestAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
67
|
+
max?: number | null | undefined;
|
|
68
|
+
min?: number | null | undefined;
|
|
69
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
70
|
+
max?: number | null | undefined;
|
|
71
|
+
min?: number | null | undefined;
|
|
72
|
+
}, unknown>>>>;
|
|
73
|
+
smallestAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
74
|
+
max?: number | null | undefined;
|
|
75
|
+
min?: number | null | undefined;
|
|
76
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
77
|
+
max?: number | null | undefined;
|
|
78
|
+
min?: number | null | undefined;
|
|
79
|
+
}, unknown>>>>;
|
|
80
|
+
totalAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
81
|
+
max?: number | null | undefined;
|
|
82
|
+
min?: number | null | undefined;
|
|
83
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
84
|
+
max?: number | null | undefined;
|
|
85
|
+
min?: number | null | undefined;
|
|
86
|
+
}, unknown>>>>;
|
|
87
|
+
totalInvestmentRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
88
|
+
max?: number | null | undefined;
|
|
89
|
+
min?: number | null | undefined;
|
|
90
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
91
|
+
max?: number | null | undefined;
|
|
92
|
+
min?: number | null | undefined;
|
|
93
|
+
}, unknown>>>>;
|
|
94
|
+
}, z.core.$strip>>;
|
|
95
|
+
investorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
96
|
+
lastRoundYearRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
97
|
+
max?: number | null | undefined;
|
|
98
|
+
min?: number | null | undefined;
|
|
99
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
100
|
+
max?: number | null | undefined;
|
|
101
|
+
min?: number | null | undefined;
|
|
102
|
+
}, unknown>>>>;
|
|
103
|
+
rankByInvestmentActivity: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
104
|
+
round: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
105
|
+
totalRaisedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
106
|
+
max?: number | null | undefined;
|
|
107
|
+
min?: number | null | undefined;
|
|
108
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
109
|
+
max?: number | null | undefined;
|
|
110
|
+
min?: number | null | undefined;
|
|
111
|
+
}, unknown>>>>;
|
|
112
|
+
valuationRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
113
|
+
max?: number | null | undefined;
|
|
114
|
+
min?: number | null | undefined;
|
|
115
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
116
|
+
max?: number | null | undefined;
|
|
117
|
+
min?: number | null | undefined;
|
|
118
|
+
}, unknown>>>>;
|
|
119
|
+
}, z.core.$strip>>;
|
|
120
|
+
hasFundraising: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
121
|
+
headquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
122
|
+
headquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
123
|
+
headquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
124
|
+
industry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
125
|
+
letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
126
|
+
location: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
127
|
+
logoOption: z.ZodOptional<z.ZodObject<{
|
|
128
|
+
sortPriority: z.ZodOptional<z.ZodEnum<{
|
|
129
|
+
ANY_LOGO_FIRST: "ANY_LOGO_FIRST";
|
|
130
|
+
NONE: "NONE";
|
|
131
|
+
REAL_LOGO_FIRST: "REAL_LOGO_FIRST";
|
|
132
|
+
}>>;
|
|
133
|
+
}, z.core.$strip>>;
|
|
134
|
+
mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
135
|
+
operatingStatus: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
136
|
+
Acquired: "Acquired";
|
|
137
|
+
"Acquired Subsidiary": "Acquired Subsidiary";
|
|
138
|
+
Closed: "Closed";
|
|
139
|
+
"Closed (Acquihire)": "Closed (Acquihire)";
|
|
140
|
+
Inactive: "Inactive";
|
|
141
|
+
Operating: "Operating";
|
|
142
|
+
}>>>;
|
|
143
|
+
originCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
144
|
+
person: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
145
|
+
portfolioHeadquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
146
|
+
portfolioHeadquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
147
|
+
portfolioHeadquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
148
|
+
qualityGate: z.ZodOptional<z.ZodEnum<{
|
|
149
|
+
COMPANY_LISTING_READY: "COMPANY_LISTING_READY";
|
|
150
|
+
NONE: "NONE";
|
|
151
|
+
}>>;
|
|
152
|
+
rankByProminence: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
153
|
+
slug: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
154
|
+
stage: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
155
|
+
suppressLateStage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
156
|
+
suppressNonOperating: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
157
|
+
suppressZeroTotalRaised: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
158
|
+
tag: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
159
|
+
textSearch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
160
|
+
typeCustomer: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
161
|
+
typeModel: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
162
|
+
typeOwnership: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
163
|
+
typeRecord: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
164
|
+
"Business Line": "Business Line";
|
|
165
|
+
Company: "Company";
|
|
166
|
+
Fund: "Fund";
|
|
167
|
+
Government: "Government";
|
|
168
|
+
"Investment Firm": "Investment Firm";
|
|
169
|
+
Nonprofit: "Nonprofit";
|
|
170
|
+
Organization: "Organization";
|
|
171
|
+
Product: "Product";
|
|
172
|
+
Service: "Service";
|
|
173
|
+
}>>>;
|
|
174
|
+
typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
175
|
+
typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
176
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
177
|
+
urlDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
178
|
+
urlMatchMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
179
|
+
domain: "domain";
|
|
180
|
+
hostPath: "hostPath";
|
|
181
|
+
}>>>;
|
|
182
|
+
urlType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
183
|
+
yearFoundedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
184
|
+
max?: number | null | undefined;
|
|
185
|
+
min?: number | null | undefined;
|
|
186
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
187
|
+
max?: number | null | undefined;
|
|
188
|
+
min?: number | null | undefined;
|
|
189
|
+
}, unknown>>>>;
|
|
190
|
+
}, z.core.$strict>>;
|
|
191
|
+
mode: z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
192
|
+
auto: "auto";
|
|
193
|
+
exact: "exact";
|
|
194
|
+
hybrid: "hybrid";
|
|
195
|
+
keyword: "keyword";
|
|
196
|
+
natural: "natural";
|
|
197
|
+
semantic: "semantic";
|
|
198
|
+
}>, z.ZodString]>>>;
|
|
199
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
200
|
+
newsSize: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
201
|
+
personSize: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
202
|
+
query: z.ZodString;
|
|
203
|
+
reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
204
|
+
high: "high";
|
|
205
|
+
low: "low";
|
|
206
|
+
max: "max";
|
|
207
|
+
medium: "medium";
|
|
208
|
+
minimal: "minimal";
|
|
209
|
+
xhigh: "xhigh";
|
|
210
|
+
}>, z.ZodString]>>>;
|
|
211
|
+
}, z.core.$strip>>>;
|
|
212
|
+
size: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
5
213
|
}, z.core.$strip>;
|
|
6
214
|
type SharedSearchMutationDefinition = z.infer<typeof SharedSearchMutationSchemaDefinition>;
|
|
7
215
|
/**
|
|
@@ -1,10 +1,18 @@
|
|
|
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 { FederatedNaturalSearchSchema } from "../federated/natural-search.js";
|
|
4
|
+
import { SearchLayerSchema } from "../search/layer.js";
|
|
3
5
|
const SharedSearchMutationSchemaDefinition = z.object({
|
|
4
6
|
/** Stable sharing UUID generated once and reused across retries. */
|
|
5
7
|
id: z.uuid().nullish(),
|
|
8
|
+
/** Answer layers the sharing page searched with; synthesis is required and web is the only other layer allowed. Omitted means synthesis alone. */
|
|
9
|
+
layer: z.array(SearchLayerSchema).nullish(),
|
|
6
10
|
/** Plain-English query to run against public records and publish. */
|
|
7
11
|
query: z.string().max(2000).nullish(),
|
|
12
|
+
/** The federated search body the sharing page ran, as on POST /v1/search; its query must equal query. The share then publishes the answer that page showed when it is still cached, else runs this search. answerModel is not accepted; cacheMode is always use. Omitted runs query alone. */
|
|
13
|
+
search: FederatedNaturalSearchSchema.nullish(),
|
|
14
|
+
/** Page size the sharing page searched with, under the same page-size cap; omitted uses the default page size. */
|
|
15
|
+
size: z.int().min(1).nullish(),
|
|
8
16
|
});
|
|
9
17
|
/**
|
|
10
18
|
* Publish a query under a stable client UUID; retries return the same saved answer.
|
package/dist/shared/search.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
22
22
|
}[];
|
|
23
23
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
24
24
|
description?: string | null | undefined;
|
|
25
|
+
heading?: string | null | undefined;
|
|
25
26
|
paragraph: {
|
|
26
27
|
citation: {
|
|
27
28
|
entityId: string;
|
|
@@ -159,7 +160,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
159
160
|
sort: {
|
|
160
161
|
order: {
|
|
161
162
|
descending: boolean;
|
|
162
|
-
field:
|
|
163
|
+
field: string;
|
|
163
164
|
sortKey?: string | null | undefined;
|
|
164
165
|
}[];
|
|
165
166
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
@@ -3470,6 +3471,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3470
3471
|
}[];
|
|
3471
3472
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
3472
3473
|
description?: string | null | undefined;
|
|
3474
|
+
heading?: string | null | undefined;
|
|
3473
3475
|
paragraph: {
|
|
3474
3476
|
citation: {
|
|
3475
3477
|
entityId: string;
|
|
@@ -3607,7 +3609,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3607
3609
|
sort: {
|
|
3608
3610
|
order: {
|
|
3609
3611
|
descending: boolean;
|
|
3610
|
-
field:
|
|
3612
|
+
field: string;
|
|
3611
3613
|
sortKey?: string | null | undefined;
|
|
3612
3614
|
}[];
|
|
3613
3615
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const SortOrderEntityFilterSortableSchemaDefinition: z.ZodObject<{
|
|
3
3
|
descending: z.ZodBoolean;
|
|
4
|
-
field: z.ZodEnum<{
|
|
4
|
+
field: z.ZodUnion<readonly [z.ZodEnum<{
|
|
5
5
|
ACCELERATOR_BRAND: "ACCELERATOR_BRAND";
|
|
6
6
|
ACCELERATOR_COHORT: "ACCELERATOR_COHORT";
|
|
7
7
|
AMOUNT_INVESTED: "AMOUNT_INVESTED";
|
|
8
8
|
CREATED_AT: "CREATED_AT";
|
|
9
|
+
DATA_COMPLETION_COVERAGE: "DATA_COMPLETION_COVERAGE";
|
|
9
10
|
EMPLOYEE_COUNT: "EMPLOYEE_COUNT";
|
|
10
11
|
HEADQUARTERS_COUNTRY: "HEADQUARTERS_COUNTRY";
|
|
11
12
|
ID: "ID";
|
|
@@ -13,13 +14,14 @@ declare const SortOrderEntityFilterSortableSchemaDefinition: z.ZodObject<{
|
|
|
13
14
|
MOST_RECENT_AMOUNT: "MOST_RECENT_AMOUNT";
|
|
14
15
|
MOST_RECENT_DATE: "MOST_RECENT_DATE";
|
|
15
16
|
NAME_BRAND: "NAME_BRAND";
|
|
17
|
+
NEXT_DUE_AT: "NEXT_DUE_AT";
|
|
16
18
|
RECENT_INVESTMENT_AT: "RECENT_INVESTMENT_AT";
|
|
17
19
|
STAGE: "STAGE";
|
|
18
20
|
STATUS_OPERATING: "STATUS_OPERATING";
|
|
19
21
|
TOTAL_RAISED: "TOTAL_RAISED";
|
|
20
22
|
UPDATED_AT: "UPDATED_AT";
|
|
21
23
|
YEAR_FOUNDED: "YEAR_FOUNDED";
|
|
22
|
-
}>;
|
|
24
|
+
}>, z.ZodString]>;
|
|
23
25
|
sortKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
}, z.core.$strip>;
|
|
25
27
|
type SortOrderEntityFilterSortableDefinition = z.infer<typeof SortOrderEntityFilterSortableSchemaDefinition>;
|
|
@@ -1,28 +1,11 @@
|
|
|
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 { EntityFilterSortableSchema } from "../entity/filter-sortable.js";
|
|
3
4
|
const SortOrderEntityFilterSortableSchemaDefinition = z.object({
|
|
4
5
|
/** true for descending (DESC), false for ascending (ASC) */
|
|
5
6
|
descending: z.boolean(),
|
|
6
7
|
/** Sort field for this resource (entity list uses EntityFilter.Sortable / published sort keys). */
|
|
7
|
-
field:
|
|
8
|
-
"ID",
|
|
9
|
-
"NAME_BRAND",
|
|
10
|
-
"YEAR_FOUNDED",
|
|
11
|
-
"STATUS_OPERATING",
|
|
12
|
-
"UPDATED_AT",
|
|
13
|
-
"CREATED_AT",
|
|
14
|
-
"TOTAL_RAISED",
|
|
15
|
-
"AMOUNT_INVESTED",
|
|
16
|
-
"RECENT_INVESTMENT_AT",
|
|
17
|
-
"STAGE",
|
|
18
|
-
"MOST_RECENT_AMOUNT",
|
|
19
|
-
"LATEST_VALUATION",
|
|
20
|
-
"MOST_RECENT_DATE",
|
|
21
|
-
"ACCELERATOR_BRAND",
|
|
22
|
-
"ACCELERATOR_COHORT",
|
|
23
|
-
"HEADQUARTERS_COUNTRY",
|
|
24
|
-
"EMPLOYEE_COUNT",
|
|
25
|
-
]),
|
|
8
|
+
field: EntityFilterSortableSchema,
|
|
26
9
|
/** Request sort key for this field: pass `sort=<sortKey>,<asc|desc>` to the matching directory list endpoint to reproduce this term. Absent when the field has no request key. */
|
|
27
10
|
sortKey: z.string().nullish(),
|
|
28
11
|
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Why this record is suppressed: it stays hidden for good, and its stored facts (names, URLs, addresses, entity-person joins) block creating or showing the same subject again. placeholderContent: sample or boilerplate content, often AI-written template copy, presented as a real organization or person. deceptive: a profile built to mislead. privacyRequest: the person asked to be removed and not added again.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema SuppressionReason
|
|
6
|
+
* @endpoint GET /v1/entities
|
|
7
|
+
* @endpoint GET /v1/people
|
|
8
|
+
* @contractShape suppression.reason
|
|
9
|
+
* @contractRole canonical
|
|
10
|
+
*/
|
|
11
|
+
export declare const SuppressionReasonSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
12
|
+
deceptive: "deceptive";
|
|
13
|
+
placeholderContent: "placeholderContent";
|
|
14
|
+
privacyRequest: "privacyRequest";
|
|
15
|
+
}>, z.ZodString]>;
|
|
16
|
+
export type SuppressionReason = z.infer<typeof SuppressionReasonSchema>;
|
|
17
|
+
//# sourceMappingURL=reason.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
/**
|
|
4
|
+
* Why this record is suppressed: it stays hidden for good, and its stored facts (names, URLs, addresses, entity-person joins) block creating or showing the same subject again. placeholderContent: sample or boilerplate content, often AI-written template copy, presented as a real organization or person. deceptive: a profile built to mislead. privacyRequest: the person asked to be removed and not added again.
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema SuppressionReason
|
|
7
|
+
* @endpoint GET /v1/entities
|
|
8
|
+
* @endpoint GET /v1/people
|
|
9
|
+
* @contractShape suppression.reason
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export const SuppressionReasonSchema = z.union([
|
|
13
|
+
z.enum(["placeholderContent", "deceptive", "privacyRequest"]),
|
|
14
|
+
z.string(),
|
|
15
|
+
]);
|
|
16
|
+
//# sourceMappingURL=reason.js.map
|