@aventurevc/api-schemas 0.8.96 → 0.8.98
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/date/range.d.ts +25 -0
- package/dist/date/range.js +27 -0
- package/dist/entity/filter-search.d.ts +4 -0
- package/dist/entity/filter.d.ts +4 -0
- package/dist/entity/fundraise-filter-criteria.d.ts +4 -0
- package/dist/entity/fundraise-filter-criteria.js +3 -0
- package/dist/entity/list-filter.d.ts +4 -0
- package/dist/entity/natural-search.d.ts +4 -0
- package/dist/federated/natural-search.d.ts +4 -0
- package/dist/federated/search.d.ts +18 -0
- package/dist/link/search.d.ts +18 -0
- package/dist/natural/search-result.d.ts +13 -0
- package/dist/openapi-component-manifest.js +1 -0
- package/dist/person/natural-search-result.d.ts +2 -0
- package/dist/person/search-interpretation.d.ts +2 -0
- package/dist/search/answer.d.ts +3 -0
- package/dist/search/answer.js +6 -0
- package/dist/search/interpretation.d.ts +10 -0
- package/dist/search/ordering-entity-filter-sortable.d.ts +2 -0
- package/dist/search/ordering-person-sort-field.d.ts +2 -0
- package/dist/shared/search.d.ts +18 -0
- package/dist/sort/order-entity-filter-sortable.d.ts +1 -0
- package/dist/sort/order-entity-filter-sortable.js +2 -0
- package/dist/sort/order-person-sort-field.d.ts +1 -0
- package/dist/sort/order-person-sort-field.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* ISO-8601 timestamp range for temporal filters.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema DateRange
|
|
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/entities/filters/refine
|
|
11
|
+
* @endpoint POST /v1/entities/filters/search
|
|
12
|
+
* @endpoint POST /v1/entities/search
|
|
13
|
+
* @endpoint POST /v1/search
|
|
14
|
+
* @endpoint POST /v1/search/natural/entities
|
|
15
|
+
* @endpoint POST /v1/search/shared
|
|
16
|
+
* @usedBySchema EntityFundraiseFilterCriteriaSchema
|
|
17
|
+
* @contractShape date.range
|
|
18
|
+
* @contractRole canonical
|
|
19
|
+
*/
|
|
20
|
+
export declare const DateRangeSchema: z.ZodObject<{
|
|
21
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
22
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
export type DateRange = z.infer<typeof DateRangeSchema>;
|
|
25
|
+
//# sourceMappingURL=range.d.ts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
* ISO-8601 timestamp range for temporal filters.
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema DateRange
|
|
7
|
+
* @endpoint GET /v1/search/link
|
|
8
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
9
|
+
* @endpoint GET /v1/search/shared/{id}
|
|
10
|
+
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
11
|
+
* @endpoint POST /v1/entities/filters/refine
|
|
12
|
+
* @endpoint POST /v1/entities/filters/search
|
|
13
|
+
* @endpoint POST /v1/entities/search
|
|
14
|
+
* @endpoint POST /v1/search
|
|
15
|
+
* @endpoint POST /v1/search/natural/entities
|
|
16
|
+
* @endpoint POST /v1/search/shared
|
|
17
|
+
* @usedBySchema EntityFundraiseFilterCriteriaSchema
|
|
18
|
+
* @contractShape date.range
|
|
19
|
+
* @contractRole canonical
|
|
20
|
+
*/
|
|
21
|
+
export const DateRangeSchema = z.object({
|
|
22
|
+
/** Inclusive latest timestamp. */
|
|
23
|
+
max: z.iso.datetime({ offset: true }).nullish(),
|
|
24
|
+
/** Inclusive earliest timestamp. */
|
|
25
|
+
min: z.iso.datetime({ offset: true }).nullish(),
|
|
26
|
+
});
|
|
27
|
+
//# sourceMappingURL=range.js.map
|
|
@@ -35,6 +35,10 @@ declare const EntityFilterSearchSchemaDefinition: z.ZodObject<{
|
|
|
35
35
|
max?: number | null | undefined;
|
|
36
36
|
min?: number | null | undefined;
|
|
37
37
|
}, unknown>>>>;
|
|
38
|
+
dateAnnouncedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
40
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
41
|
+
}, z.core.$strip>>>;
|
|
38
42
|
investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39
43
|
investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
44
|
investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
package/dist/entity/filter.d.ts
CHANGED
|
@@ -45,6 +45,10 @@ export declare const EntityFilterSchema: z.ZodObject<{
|
|
|
45
45
|
max?: number | null | undefined;
|
|
46
46
|
min?: number | null | undefined;
|
|
47
47
|
}, unknown>>>>;
|
|
48
|
+
dateAnnouncedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
49
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
50
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
51
|
+
}, z.core.$strip>>>;
|
|
48
52
|
investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
49
53
|
investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
50
54
|
investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -33,6 +33,10 @@ export declare const EntityFundraiseFilterCriteriaSchema: z.ZodObject<{
|
|
|
33
33
|
max?: number | null | undefined;
|
|
34
34
|
min?: number | null | undefined;
|
|
35
35
|
}, unknown>>>>;
|
|
36
|
+
dateAnnouncedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
37
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
38
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
39
|
+
}, z.core.$strip>>>;
|
|
36
40
|
investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37
41
|
investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38
42
|
investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
|
+
import { DateRangeSchema } from "../date/range.js";
|
|
3
4
|
import { DecimalRangeSchema } from "../decimal/range.js";
|
|
4
5
|
import { IntRangeSchema } from "../int/range.js";
|
|
5
6
|
import { InvestorActivityFilterSchema } from "../investor/activity-filter.js";
|
|
@@ -27,6 +28,8 @@ export const EntityFundraiseFilterCriteriaSchema = z.object({
|
|
|
27
28
|
amountInvestedRange: z.array(DecimalRangeSchema).optional(),
|
|
28
29
|
/** Per-round amount-raised ranges in USD. Use plain JSON numbers. */
|
|
29
30
|
amountRaisedRange: z.array(DecimalRangeSchema).optional(),
|
|
31
|
+
/** Inclusive announcement timestamp bounds on the same fundraise transaction as round and amountRaisedRange. Announcement dates do not establish funding completion dates. */
|
|
32
|
+
dateAnnouncedRange: DateRangeSchema.nullish(),
|
|
30
33
|
/** Portfolio company names. Exact, case-sensitive match on the portfolio company's brand or legal name; restricts returned entities to investors in those companies. */
|
|
31
34
|
investedCompanyName: z.array(z.string()).optional(),
|
|
32
35
|
/** Countries of the companies an investor backed, as country names or ids; a deal matches when its company's current headquarters is in one of them. Restricts returned entities to investors with such a deal inside the investment-activity horizon; with investedRound or investedIndustry, the same deal must match each. */
|
|
@@ -31,6 +31,10 @@ declare const EntityListFilterSchemaDefinition: z.ZodObject<{
|
|
|
31
31
|
max?: number | null | undefined;
|
|
32
32
|
min?: number | null | undefined;
|
|
33
33
|
}, unknown>>>>;
|
|
34
|
+
dateAnnouncedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
35
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
36
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
37
|
+
}, z.core.$strip>>>;
|
|
34
38
|
investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35
39
|
investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36
40
|
investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -32,6 +32,10 @@ declare const EntityNaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
32
32
|
max?: number | null | undefined;
|
|
33
33
|
min?: number | null | undefined;
|
|
34
34
|
}, unknown>>>>;
|
|
35
|
+
dateAnnouncedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
37
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
38
|
+
}, z.core.$strip>>>;
|
|
35
39
|
investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36
40
|
investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37
41
|
investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -37,6 +37,10 @@ declare const FederatedNaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
37
37
|
max?: number | null | undefined;
|
|
38
38
|
min?: number | null | undefined;
|
|
39
39
|
}, unknown>>>>;
|
|
40
|
+
dateAnnouncedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
42
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
43
|
+
}, z.core.$strip>>>;
|
|
40
44
|
investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41
45
|
investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
42
46
|
investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -8,6 +8,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
8
8
|
sourceId: string;
|
|
9
9
|
}[];
|
|
10
10
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
11
|
+
description?: string | null | undefined;
|
|
11
12
|
paragraph: {
|
|
12
13
|
citation: {
|
|
13
14
|
entityId: string;
|
|
@@ -18,7 +19,9 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
18
19
|
topic?: string | null | undefined;
|
|
19
20
|
}[];
|
|
20
21
|
relatedQuery: string[];
|
|
22
|
+
shareable: boolean;
|
|
21
23
|
text: string;
|
|
24
|
+
title?: string | null | undefined;
|
|
22
25
|
} | null | undefined;
|
|
23
26
|
interpretation: {
|
|
24
27
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
@@ -50,6 +53,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
50
53
|
max?: number | null | undefined;
|
|
51
54
|
min?: number | null | undefined;
|
|
52
55
|
}[] | undefined;
|
|
56
|
+
dateAnnouncedRange?: {
|
|
57
|
+
max?: string | null | undefined;
|
|
58
|
+
min?: string | null | undefined;
|
|
59
|
+
} | null | undefined;
|
|
53
60
|
investedCompanyName?: string[] | undefined;
|
|
54
61
|
investedCountry?: string[] | undefined;
|
|
55
62
|
investedIndustry?: string[] | undefined;
|
|
@@ -137,6 +144,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
137
144
|
order: {
|
|
138
145
|
descending: boolean;
|
|
139
146
|
field: "ACCELERATOR_BRAND" | "ACCELERATOR_COHORT" | "AMOUNT_INVESTED" | "CREATED_AT" | "EMPLOYEE_COUNT" | "HEADQUARTERS_COUNTRY" | "ID" | "LATEST_VALUATION" | "MOST_RECENT_AMOUNT" | "MOST_RECENT_DATE" | "NAME_BRAND" | "RECENT_INVESTMENT_AT" | "STAGE" | "STATUS_OPERATING" | "TOTAL_RAISED" | "UPDATED_AT" | "YEAR_FOUNDED";
|
|
147
|
+
sortKey?: string | null | undefined;
|
|
140
148
|
}[];
|
|
141
149
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
142
150
|
};
|
|
@@ -2249,6 +2257,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
2249
2257
|
sourceId: string;
|
|
2250
2258
|
}[];
|
|
2251
2259
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
2260
|
+
description?: string | null | undefined;
|
|
2252
2261
|
paragraph: {
|
|
2253
2262
|
citation: {
|
|
2254
2263
|
entityId: string;
|
|
@@ -2259,7 +2268,9 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
2259
2268
|
topic?: string | null | undefined;
|
|
2260
2269
|
}[];
|
|
2261
2270
|
relatedQuery: string[];
|
|
2271
|
+
shareable: boolean;
|
|
2262
2272
|
text: string;
|
|
2273
|
+
title?: string | null | undefined;
|
|
2263
2274
|
} | null | undefined;
|
|
2264
2275
|
interpretation: {
|
|
2265
2276
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
@@ -2291,6 +2302,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
2291
2302
|
max?: number | null | undefined;
|
|
2292
2303
|
min?: number | null | undefined;
|
|
2293
2304
|
}[] | undefined;
|
|
2305
|
+
dateAnnouncedRange?: {
|
|
2306
|
+
max?: string | null | undefined;
|
|
2307
|
+
min?: string | null | undefined;
|
|
2308
|
+
} | null | undefined;
|
|
2294
2309
|
investedCompanyName?: string[] | undefined;
|
|
2295
2310
|
investedCountry?: string[] | undefined;
|
|
2296
2311
|
investedIndustry?: string[] | undefined;
|
|
@@ -2378,6 +2393,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
2378
2393
|
order: {
|
|
2379
2394
|
descending: boolean;
|
|
2380
2395
|
field: "ACCELERATOR_BRAND" | "ACCELERATOR_COHORT" | "AMOUNT_INVESTED" | "CREATED_AT" | "EMPLOYEE_COUNT" | "HEADQUARTERS_COUNTRY" | "ID" | "LATEST_VALUATION" | "MOST_RECENT_AMOUNT" | "MOST_RECENT_DATE" | "NAME_BRAND" | "RECENT_INVESTMENT_AT" | "STAGE" | "STATUS_OPERATING" | "TOTAL_RAISED" | "UPDATED_AT" | "YEAR_FOUNDED";
|
|
2396
|
+
sortKey?: string | null | undefined;
|
|
2381
2397
|
}[];
|
|
2382
2398
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
2383
2399
|
};
|
|
@@ -6411,6 +6427,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
6411
6427
|
order: {
|
|
6412
6428
|
descending: boolean;
|
|
6413
6429
|
field: "AMOUNT_INVESTED" | "CREATED_AT" | "FIRST_NAME" | "FULL_NAME" | "GENDER" | "ID" | "LAST_NAME" | "SLUG" | "STATUS" | "TOTAL_INVESTMENTS" | "UPDATED_AT";
|
|
6430
|
+
sortKey?: string | null | undefined;
|
|
6414
6431
|
}[];
|
|
6415
6432
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
6416
6433
|
};
|
|
@@ -6660,6 +6677,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
6660
6677
|
order: {
|
|
6661
6678
|
descending: boolean;
|
|
6662
6679
|
field: "AMOUNT_INVESTED" | "CREATED_AT" | "FIRST_NAME" | "FULL_NAME" | "GENDER" | "ID" | "LAST_NAME" | "SLUG" | "STATUS" | "TOTAL_INVESTMENTS" | "UPDATED_AT";
|
|
6680
|
+
sortKey?: string | null | undefined;
|
|
6663
6681
|
}[];
|
|
6664
6682
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
6665
6683
|
};
|
package/dist/link/search.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
10
10
|
sourceId: string;
|
|
11
11
|
}[];
|
|
12
12
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
13
|
+
description?: string | null | undefined;
|
|
13
14
|
paragraph: {
|
|
14
15
|
citation: {
|
|
15
16
|
entityId: string;
|
|
@@ -20,7 +21,9 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
20
21
|
topic?: string | null | undefined;
|
|
21
22
|
}[];
|
|
22
23
|
relatedQuery: string[];
|
|
24
|
+
shareable: boolean;
|
|
23
25
|
text: string;
|
|
26
|
+
title?: string | null | undefined;
|
|
24
27
|
} | null | undefined;
|
|
25
28
|
interpretation: {
|
|
26
29
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
@@ -52,6 +55,10 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
52
55
|
max?: number | null | undefined;
|
|
53
56
|
min?: number | null | undefined;
|
|
54
57
|
}[] | undefined;
|
|
58
|
+
dateAnnouncedRange?: {
|
|
59
|
+
max?: string | null | undefined;
|
|
60
|
+
min?: string | null | undefined;
|
|
61
|
+
} | null | undefined;
|
|
55
62
|
investedCompanyName?: string[] | undefined;
|
|
56
63
|
investedCountry?: string[] | undefined;
|
|
57
64
|
investedIndustry?: string[] | undefined;
|
|
@@ -139,6 +146,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
139
146
|
order: {
|
|
140
147
|
descending: boolean;
|
|
141
148
|
field: "ACCELERATOR_BRAND" | "ACCELERATOR_COHORT" | "AMOUNT_INVESTED" | "CREATED_AT" | "EMPLOYEE_COUNT" | "HEADQUARTERS_COUNTRY" | "ID" | "LATEST_VALUATION" | "MOST_RECENT_AMOUNT" | "MOST_RECENT_DATE" | "NAME_BRAND" | "RECENT_INVESTMENT_AT" | "STAGE" | "STATUS_OPERATING" | "TOTAL_RAISED" | "UPDATED_AT" | "YEAR_FOUNDED";
|
|
149
|
+
sortKey?: string | null | undefined;
|
|
142
150
|
}[];
|
|
143
151
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
144
152
|
};
|
|
@@ -3260,6 +3268,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
3260
3268
|
order: {
|
|
3261
3269
|
descending: boolean;
|
|
3262
3270
|
field: "AMOUNT_INVESTED" | "CREATED_AT" | "FIRST_NAME" | "FULL_NAME" | "GENDER" | "ID" | "LAST_NAME" | "SLUG" | "STATUS" | "TOTAL_INVESTMENTS" | "UPDATED_AT";
|
|
3271
|
+
sortKey?: string | null | undefined;
|
|
3263
3272
|
}[];
|
|
3264
3273
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
3265
3274
|
};
|
|
@@ -3803,6 +3812,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
3803
3812
|
sourceId: string;
|
|
3804
3813
|
}[];
|
|
3805
3814
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
3815
|
+
description?: string | null | undefined;
|
|
3806
3816
|
paragraph: {
|
|
3807
3817
|
citation: {
|
|
3808
3818
|
entityId: string;
|
|
@@ -3813,7 +3823,9 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
3813
3823
|
topic?: string | null | undefined;
|
|
3814
3824
|
}[];
|
|
3815
3825
|
relatedQuery: string[];
|
|
3826
|
+
shareable: boolean;
|
|
3816
3827
|
text: string;
|
|
3828
|
+
title?: string | null | undefined;
|
|
3817
3829
|
} | null | undefined;
|
|
3818
3830
|
interpretation: {
|
|
3819
3831
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
@@ -3845,6 +3857,10 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
3845
3857
|
max?: number | null | undefined;
|
|
3846
3858
|
min?: number | null | undefined;
|
|
3847
3859
|
}[] | undefined;
|
|
3860
|
+
dateAnnouncedRange?: {
|
|
3861
|
+
max?: string | null | undefined;
|
|
3862
|
+
min?: string | null | undefined;
|
|
3863
|
+
} | null | undefined;
|
|
3848
3864
|
investedCompanyName?: string[] | undefined;
|
|
3849
3865
|
investedCountry?: string[] | undefined;
|
|
3850
3866
|
investedIndustry?: string[] | undefined;
|
|
@@ -3932,6 +3948,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
3932
3948
|
order: {
|
|
3933
3949
|
descending: boolean;
|
|
3934
3950
|
field: "ACCELERATOR_BRAND" | "ACCELERATOR_COHORT" | "AMOUNT_INVESTED" | "CREATED_AT" | "EMPLOYEE_COUNT" | "HEADQUARTERS_COUNTRY" | "ID" | "LATEST_VALUATION" | "MOST_RECENT_AMOUNT" | "MOST_RECENT_DATE" | "NAME_BRAND" | "RECENT_INVESTMENT_AT" | "STAGE" | "STATUS_OPERATING" | "TOTAL_RAISED" | "UPDATED_AT" | "YEAR_FOUNDED";
|
|
3951
|
+
sortKey?: string | null | undefined;
|
|
3935
3952
|
}[];
|
|
3936
3953
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
3937
3954
|
};
|
|
@@ -7053,6 +7070,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
7053
7070
|
order: {
|
|
7054
7071
|
descending: boolean;
|
|
7055
7072
|
field: "AMOUNT_INVESTED" | "CREATED_AT" | "FIRST_NAME" | "FULL_NAME" | "GENDER" | "ID" | "LAST_NAME" | "SLUG" | "STATUS" | "TOTAL_INVESTMENTS" | "UPDATED_AT";
|
|
7073
|
+
sortKey?: string | null | undefined;
|
|
7056
7074
|
}[];
|
|
7057
7075
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
7058
7076
|
};
|
|
@@ -15,6 +15,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
15
15
|
LOW: "LOW";
|
|
16
16
|
MEDIUM: "MEDIUM";
|
|
17
17
|
}>;
|
|
18
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
19
|
paragraph: z.ZodArray<z.ZodType<{
|
|
19
20
|
citation: {
|
|
20
21
|
entityId: string;
|
|
@@ -33,7 +34,9 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
33
34
|
topic?: string | null | undefined;
|
|
34
35
|
}, unknown>>>;
|
|
35
36
|
relatedQuery: z.ZodArray<z.ZodString>;
|
|
37
|
+
shareable: z.ZodBoolean;
|
|
36
38
|
text: z.ZodString;
|
|
39
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
40
|
}, z.core.$strip>>>;
|
|
38
41
|
interpretation: z.ZodType<{
|
|
39
42
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
@@ -65,6 +68,10 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
65
68
|
max?: number | null | undefined;
|
|
66
69
|
min?: number | null | undefined;
|
|
67
70
|
}[] | undefined;
|
|
71
|
+
dateAnnouncedRange?: {
|
|
72
|
+
max?: string | null | undefined;
|
|
73
|
+
min?: string | null | undefined;
|
|
74
|
+
} | null | undefined;
|
|
68
75
|
investedCompanyName?: string[] | undefined;
|
|
69
76
|
investedCountry?: string[] | undefined;
|
|
70
77
|
investedIndustry?: string[] | undefined;
|
|
@@ -152,6 +159,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
152
159
|
order: {
|
|
153
160
|
descending: boolean;
|
|
154
161
|
field: "ACCELERATOR_BRAND" | "ACCELERATOR_COHORT" | "AMOUNT_INVESTED" | "CREATED_AT" | "EMPLOYEE_COUNT" | "HEADQUARTERS_COUNTRY" | "ID" | "LATEST_VALUATION" | "MOST_RECENT_AMOUNT" | "MOST_RECENT_DATE" | "NAME_BRAND" | "RECENT_INVESTMENT_AT" | "STAGE" | "STATUS_OPERATING" | "TOTAL_RAISED" | "UPDATED_AT" | "YEAR_FOUNDED";
|
|
162
|
+
sortKey?: string | null | undefined;
|
|
155
163
|
}[];
|
|
156
164
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
157
165
|
};
|
|
@@ -187,6 +195,10 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
187
195
|
max?: number | null | undefined;
|
|
188
196
|
min?: number | null | undefined;
|
|
189
197
|
}[] | undefined;
|
|
198
|
+
dateAnnouncedRange?: {
|
|
199
|
+
max?: string | null | undefined;
|
|
200
|
+
min?: string | null | undefined;
|
|
201
|
+
} | null | undefined;
|
|
190
202
|
investedCompanyName?: string[] | undefined;
|
|
191
203
|
investedCountry?: string[] | undefined;
|
|
192
204
|
investedIndustry?: string[] | undefined;
|
|
@@ -274,6 +286,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
274
286
|
order: {
|
|
275
287
|
descending: boolean;
|
|
276
288
|
field: "ACCELERATOR_BRAND" | "ACCELERATOR_COHORT" | "AMOUNT_INVESTED" | "CREATED_AT" | "EMPLOYEE_COUNT" | "HEADQUARTERS_COUNTRY" | "ID" | "LATEST_VALUATION" | "MOST_RECENT_AMOUNT" | "MOST_RECENT_DATE" | "NAME_BRAND" | "RECENT_INVESTMENT_AT" | "STAGE" | "STATUS_OPERATING" | "TOTAL_RAISED" | "UPDATED_AT" | "YEAR_FOUNDED";
|
|
289
|
+
sortKey?: string | null | undefined;
|
|
277
290
|
}[];
|
|
278
291
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
279
292
|
};
|
|
@@ -193,6 +193,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
193
193
|
modulePath: "datasource/source-metadata",
|
|
194
194
|
schemaName: "DatasourceSourceMetadataSchema",
|
|
195
195
|
},
|
|
196
|
+
DateRange: { modulePath: "date/range", schemaName: "DateRangeSchema" },
|
|
196
197
|
DecimalRange: { modulePath: "decimal/range", schemaName: "DecimalRangeSchema" },
|
|
197
198
|
DomainConflictDetails: {
|
|
198
199
|
modulePath: "domain/conflict-details",
|
|
@@ -69,6 +69,7 @@ declare const PersonNaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
69
69
|
order: {
|
|
70
70
|
descending: boolean;
|
|
71
71
|
field: "AMOUNT_INVESTED" | "CREATED_AT" | "FIRST_NAME" | "FULL_NAME" | "GENDER" | "ID" | "LAST_NAME" | "SLUG" | "STATUS" | "TOTAL_INVESTMENTS" | "UPDATED_AT";
|
|
72
|
+
sortKey?: string | null | undefined;
|
|
72
73
|
}[];
|
|
73
74
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
74
75
|
};
|
|
@@ -142,6 +143,7 @@ declare const PersonNaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
142
143
|
order: {
|
|
143
144
|
descending: boolean;
|
|
144
145
|
field: "AMOUNT_INVESTED" | "CREATED_AT" | "FIRST_NAME" | "FULL_NAME" | "GENDER" | "ID" | "LAST_NAME" | "SLUG" | "STATUS" | "TOTAL_INVESTMENTS" | "UPDATED_AT";
|
|
146
|
+
sortKey?: string | null | undefined;
|
|
145
147
|
}[];
|
|
146
148
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
147
149
|
};
|
|
@@ -109,12 +109,14 @@ declare const PersonSearchInterpretationSchemaDefinition: z.ZodObject<{
|
|
|
109
109
|
order: {
|
|
110
110
|
descending: boolean;
|
|
111
111
|
field: "AMOUNT_INVESTED" | "CREATED_AT" | "FIRST_NAME" | "FULL_NAME" | "GENDER" | "ID" | "LAST_NAME" | "SLUG" | "STATUS" | "TOTAL_INVESTMENTS" | "UPDATED_AT";
|
|
112
|
+
sortKey?: string | null | undefined;
|
|
112
113
|
}[];
|
|
113
114
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
114
115
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
115
116
|
order: {
|
|
116
117
|
descending: boolean;
|
|
117
118
|
field: "AMOUNT_INVESTED" | "CREATED_AT" | "FIRST_NAME" | "FULL_NAME" | "GENDER" | "ID" | "LAST_NAME" | "SLUG" | "STATUS" | "TOTAL_INVESTMENTS" | "UPDATED_AT";
|
|
119
|
+
sortKey?: string | null | undefined;
|
|
118
120
|
}[];
|
|
119
121
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
120
122
|
}, unknown>>;
|
package/dist/search/answer.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export declare const SearchAnswerSchema: z.ZodObject<{
|
|
|
29
29
|
LOW: "LOW";
|
|
30
30
|
MEDIUM: "MEDIUM";
|
|
31
31
|
}>;
|
|
32
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
33
|
paragraph: z.ZodArray<z.ZodType<{
|
|
33
34
|
citation: {
|
|
34
35
|
entityId: string;
|
|
@@ -47,7 +48,9 @@ export declare const SearchAnswerSchema: z.ZodObject<{
|
|
|
47
48
|
topic?: string | null | undefined;
|
|
48
49
|
}, unknown>>>;
|
|
49
50
|
relatedQuery: z.ZodArray<z.ZodString>;
|
|
51
|
+
shareable: z.ZodBoolean;
|
|
50
52
|
text: z.ZodString;
|
|
53
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
54
|
}, z.core.$strip>;
|
|
52
55
|
export type SearchAnswer = z.infer<typeof SearchAnswerSchema>;
|
|
53
56
|
//# sourceMappingURL=answer.d.ts.map
|
package/dist/search/answer.js
CHANGED
|
@@ -23,11 +23,17 @@ export const SearchAnswerSchema = z.object({
|
|
|
23
23
|
citation: z.array(SearchAnswerCitationSchema),
|
|
24
24
|
/** How fully the cited evidence answers the question. */
|
|
25
25
|
confidence: ConfidenceSchema,
|
|
26
|
+
/** One- or two-sentence summary of at most 155 characters for a search-result snippet; absent when the answer abstains. */
|
|
27
|
+
description: z.string().nullish(),
|
|
26
28
|
/** The answer's paragraphs in reading order, each citing the evidence it rests on; empty when the answer abstains. A first paragraph without `topic` is the lead, written as a standalone answer of one or two sentences that reads complete when shown alone; later paragraphs expand it by topic without restating it. */
|
|
27
29
|
paragraph: z.array(SearchAnswerParagraphSchema),
|
|
28
30
|
/** Up to five follow-up searches grounded in the cited evidence; empty when the answer abstains. */
|
|
29
31
|
relatedQuery: z.array(z.string()),
|
|
32
|
+
/** True when the answer has grounded paragraphs and the answer model did not judge the question advertising or promotion; only a shareable answer can be published as a public search page. */
|
|
33
|
+
shareable: z.boolean(),
|
|
30
34
|
/** Every paragraph's text in reading order, separated by blank lines; read `paragraph` to place each citation beside the text it supports. */
|
|
31
35
|
text: z.string(),
|
|
36
|
+
/** Page title of at most 60 characters naming the answer's subject and scope, written by the same model call; absent when the answer abstains. */
|
|
37
|
+
title: z.string().nullish(),
|
|
32
38
|
});
|
|
33
39
|
//# sourceMappingURL=answer.js.map
|
|
@@ -36,6 +36,10 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
|
|
|
36
36
|
max?: number | null | undefined;
|
|
37
37
|
min?: number | null | undefined;
|
|
38
38
|
}[] | undefined;
|
|
39
|
+
dateAnnouncedRange?: {
|
|
40
|
+
max?: string | null | undefined;
|
|
41
|
+
min?: string | null | undefined;
|
|
42
|
+
} | null | undefined;
|
|
39
43
|
investedCompanyName?: string[] | undefined;
|
|
40
44
|
investedCountry?: string[] | undefined;
|
|
41
45
|
investedIndustry?: string[] | undefined;
|
|
@@ -139,6 +143,10 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
|
|
|
139
143
|
max?: number | null | undefined;
|
|
140
144
|
min?: number | null | undefined;
|
|
141
145
|
}[] | undefined;
|
|
146
|
+
dateAnnouncedRange?: {
|
|
147
|
+
max?: string | null | undefined;
|
|
148
|
+
min?: string | null | undefined;
|
|
149
|
+
} | null | undefined;
|
|
142
150
|
investedCompanyName?: string[] | undefined;
|
|
143
151
|
investedCountry?: string[] | undefined;
|
|
144
152
|
investedIndustry?: string[] | undefined;
|
|
@@ -231,12 +239,14 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
|
|
|
231
239
|
order: {
|
|
232
240
|
descending: boolean;
|
|
233
241
|
field: "ACCELERATOR_BRAND" | "ACCELERATOR_COHORT" | "AMOUNT_INVESTED" | "CREATED_AT" | "EMPLOYEE_COUNT" | "HEADQUARTERS_COUNTRY" | "ID" | "LATEST_VALUATION" | "MOST_RECENT_AMOUNT" | "MOST_RECENT_DATE" | "NAME_BRAND" | "RECENT_INVESTMENT_AT" | "STAGE" | "STATUS_OPERATING" | "TOTAL_RAISED" | "UPDATED_AT" | "YEAR_FOUNDED";
|
|
242
|
+
sortKey?: string | null | undefined;
|
|
234
243
|
}[];
|
|
235
244
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
236
245
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
237
246
|
order: {
|
|
238
247
|
descending: boolean;
|
|
239
248
|
field: "ACCELERATOR_BRAND" | "ACCELERATOR_COHORT" | "AMOUNT_INVESTED" | "CREATED_AT" | "EMPLOYEE_COUNT" | "HEADQUARTERS_COUNTRY" | "ID" | "LATEST_VALUATION" | "MOST_RECENT_AMOUNT" | "MOST_RECENT_DATE" | "NAME_BRAND" | "RECENT_INVESTMENT_AT" | "STAGE" | "STATUS_OPERATING" | "TOTAL_RAISED" | "UPDATED_AT" | "YEAR_FOUNDED";
|
|
249
|
+
sortKey?: string | null | undefined;
|
|
240
250
|
}[];
|
|
241
251
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
242
252
|
}, unknown>>;
|
|
@@ -3,9 +3,11 @@ declare const SearchOrderingEntityFilterSortableSchemaDefinition: z.ZodObject<{
|
|
|
3
3
|
order: z.ZodArray<z.ZodType<{
|
|
4
4
|
descending: boolean;
|
|
5
5
|
field: "ACCELERATOR_BRAND" | "ACCELERATOR_COHORT" | "AMOUNT_INVESTED" | "CREATED_AT" | "EMPLOYEE_COUNT" | "HEADQUARTERS_COUNTRY" | "ID" | "LATEST_VALUATION" | "MOST_RECENT_AMOUNT" | "MOST_RECENT_DATE" | "NAME_BRAND" | "RECENT_INVESTMENT_AT" | "STAGE" | "STATUS_OPERATING" | "TOTAL_RAISED" | "UPDATED_AT" | "YEAR_FOUNDED";
|
|
6
|
+
sortKey?: string | null | undefined;
|
|
6
7
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
7
8
|
descending: boolean;
|
|
8
9
|
field: "ACCELERATOR_BRAND" | "ACCELERATOR_COHORT" | "AMOUNT_INVESTED" | "CREATED_AT" | "EMPLOYEE_COUNT" | "HEADQUARTERS_COUNTRY" | "ID" | "LATEST_VALUATION" | "MOST_RECENT_AMOUNT" | "MOST_RECENT_DATE" | "NAME_BRAND" | "RECENT_INVESTMENT_AT" | "STAGE" | "STATUS_OPERATING" | "TOTAL_RAISED" | "UPDATED_AT" | "YEAR_FOUNDED";
|
|
10
|
+
sortKey?: string | null | undefined;
|
|
9
11
|
}, unknown>>>;
|
|
10
12
|
relevance: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
11
13
|
keyword: "keyword";
|
|
@@ -3,9 +3,11 @@ declare const SearchOrderingPersonSortFieldSchemaDefinition: z.ZodObject<{
|
|
|
3
3
|
order: z.ZodArray<z.ZodType<{
|
|
4
4
|
descending: boolean;
|
|
5
5
|
field: "AMOUNT_INVESTED" | "CREATED_AT" | "FIRST_NAME" | "FULL_NAME" | "GENDER" | "ID" | "LAST_NAME" | "SLUG" | "STATUS" | "TOTAL_INVESTMENTS" | "UPDATED_AT";
|
|
6
|
+
sortKey?: string | null | undefined;
|
|
6
7
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
7
8
|
descending: boolean;
|
|
8
9
|
field: "AMOUNT_INVESTED" | "CREATED_AT" | "FIRST_NAME" | "FULL_NAME" | "GENDER" | "ID" | "LAST_NAME" | "SLUG" | "STATUS" | "TOTAL_INVESTMENTS" | "UPDATED_AT";
|
|
10
|
+
sortKey?: string | null | undefined;
|
|
9
11
|
}, unknown>>>;
|
|
10
12
|
relevance: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
11
13
|
keyword: "keyword";
|
package/dist/shared/search.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
20
20
|
sourceId: string;
|
|
21
21
|
}[];
|
|
22
22
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
23
|
+
description?: string | null | undefined;
|
|
23
24
|
paragraph: {
|
|
24
25
|
citation: {
|
|
25
26
|
entityId: string;
|
|
@@ -30,7 +31,9 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
30
31
|
topic?: string | null | undefined;
|
|
31
32
|
}[];
|
|
32
33
|
relatedQuery: string[];
|
|
34
|
+
shareable: boolean;
|
|
33
35
|
text: string;
|
|
36
|
+
title?: string | null | undefined;
|
|
34
37
|
} | null | undefined;
|
|
35
38
|
interpretation: {
|
|
36
39
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
@@ -62,6 +65,10 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
62
65
|
max?: number | null | undefined;
|
|
63
66
|
min?: number | null | undefined;
|
|
64
67
|
}[] | undefined;
|
|
68
|
+
dateAnnouncedRange?: {
|
|
69
|
+
max?: string | null | undefined;
|
|
70
|
+
min?: string | null | undefined;
|
|
71
|
+
} | null | undefined;
|
|
65
72
|
investedCompanyName?: string[] | undefined;
|
|
66
73
|
investedCountry?: string[] | undefined;
|
|
67
74
|
investedIndustry?: string[] | undefined;
|
|
@@ -149,6 +156,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
149
156
|
order: {
|
|
150
157
|
descending: boolean;
|
|
151
158
|
field: "ACCELERATOR_BRAND" | "ACCELERATOR_COHORT" | "AMOUNT_INVESTED" | "CREATED_AT" | "EMPLOYEE_COUNT" | "HEADQUARTERS_COUNTRY" | "ID" | "LATEST_VALUATION" | "MOST_RECENT_AMOUNT" | "MOST_RECENT_DATE" | "NAME_BRAND" | "RECENT_INVESTMENT_AT" | "STAGE" | "STATUS_OPERATING" | "TOTAL_RAISED" | "UPDATED_AT" | "YEAR_FOUNDED";
|
|
159
|
+
sortKey?: string | null | undefined;
|
|
152
160
|
}[];
|
|
153
161
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
154
162
|
};
|
|
@@ -3270,6 +3278,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3270
3278
|
order: {
|
|
3271
3279
|
descending: boolean;
|
|
3272
3280
|
field: "AMOUNT_INVESTED" | "CREATED_AT" | "FIRST_NAME" | "FULL_NAME" | "GENDER" | "ID" | "LAST_NAME" | "SLUG" | "STATUS" | "TOTAL_INVESTMENTS" | "UPDATED_AT";
|
|
3281
|
+
sortKey?: string | null | undefined;
|
|
3273
3282
|
}[];
|
|
3274
3283
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
3275
3284
|
};
|
|
@@ -3813,6 +3822,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3813
3822
|
sourceId: string;
|
|
3814
3823
|
}[];
|
|
3815
3824
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
3825
|
+
description?: string | null | undefined;
|
|
3816
3826
|
paragraph: {
|
|
3817
3827
|
citation: {
|
|
3818
3828
|
entityId: string;
|
|
@@ -3823,7 +3833,9 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3823
3833
|
topic?: string | null | undefined;
|
|
3824
3834
|
}[];
|
|
3825
3835
|
relatedQuery: string[];
|
|
3836
|
+
shareable: boolean;
|
|
3826
3837
|
text: string;
|
|
3838
|
+
title?: string | null | undefined;
|
|
3827
3839
|
} | null | undefined;
|
|
3828
3840
|
interpretation: {
|
|
3829
3841
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
@@ -3855,6 +3867,10 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3855
3867
|
max?: number | null | undefined;
|
|
3856
3868
|
min?: number | null | undefined;
|
|
3857
3869
|
}[] | undefined;
|
|
3870
|
+
dateAnnouncedRange?: {
|
|
3871
|
+
max?: string | null | undefined;
|
|
3872
|
+
min?: string | null | undefined;
|
|
3873
|
+
} | null | undefined;
|
|
3858
3874
|
investedCompanyName?: string[] | undefined;
|
|
3859
3875
|
investedCountry?: string[] | undefined;
|
|
3860
3876
|
investedIndustry?: string[] | undefined;
|
|
@@ -3942,6 +3958,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3942
3958
|
order: {
|
|
3943
3959
|
descending: boolean;
|
|
3944
3960
|
field: "ACCELERATOR_BRAND" | "ACCELERATOR_COHORT" | "AMOUNT_INVESTED" | "CREATED_AT" | "EMPLOYEE_COUNT" | "HEADQUARTERS_COUNTRY" | "ID" | "LATEST_VALUATION" | "MOST_RECENT_AMOUNT" | "MOST_RECENT_DATE" | "NAME_BRAND" | "RECENT_INVESTMENT_AT" | "STAGE" | "STATUS_OPERATING" | "TOTAL_RAISED" | "UPDATED_AT" | "YEAR_FOUNDED";
|
|
3961
|
+
sortKey?: string | null | undefined;
|
|
3945
3962
|
}[];
|
|
3946
3963
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
3947
3964
|
};
|
|
@@ -7063,6 +7080,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
7063
7080
|
order: {
|
|
7064
7081
|
descending: boolean;
|
|
7065
7082
|
field: "AMOUNT_INVESTED" | "CREATED_AT" | "FIRST_NAME" | "FULL_NAME" | "GENDER" | "ID" | "LAST_NAME" | "SLUG" | "STATUS" | "TOTAL_INVESTMENTS" | "UPDATED_AT";
|
|
7083
|
+
sortKey?: string | null | undefined;
|
|
7066
7084
|
}[];
|
|
7067
7085
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
7068
7086
|
};
|
|
@@ -20,6 +20,7 @@ declare const SortOrderEntityFilterSortableSchemaDefinition: z.ZodObject<{
|
|
|
20
20
|
UPDATED_AT: "UPDATED_AT";
|
|
21
21
|
YEAR_FOUNDED: "YEAR_FOUNDED";
|
|
22
22
|
}>;
|
|
23
|
+
sortKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
24
|
}, z.core.$strip>;
|
|
24
25
|
type SortOrderEntityFilterSortableDefinition = z.infer<typeof SortOrderEntityFilterSortableSchemaDefinition>;
|
|
25
26
|
/**
|
|
@@ -23,6 +23,8 @@ const SortOrderEntityFilterSortableSchemaDefinition = z.object({
|
|
|
23
23
|
"HEADQUARTERS_COUNTRY",
|
|
24
24
|
"EMPLOYEE_COUNT",
|
|
25
25
|
]),
|
|
26
|
+
/** 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
|
+
sortKey: z.string().nullish(),
|
|
26
28
|
});
|
|
27
29
|
/**
|
|
28
30
|
* Single sort term: which enumerated sort field to use and whether direction is descending.
|
|
@@ -14,6 +14,7 @@ declare const SortOrderPersonSortFieldSchemaDefinition: z.ZodObject<{
|
|
|
14
14
|
TOTAL_INVESTMENTS: "TOTAL_INVESTMENTS";
|
|
15
15
|
UPDATED_AT: "UPDATED_AT";
|
|
16
16
|
}>;
|
|
17
|
+
sortKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
18
|
}, z.core.$strip>;
|
|
18
19
|
type SortOrderPersonSortFieldDefinition = z.infer<typeof SortOrderPersonSortFieldSchemaDefinition>;
|
|
19
20
|
/**
|
|
@@ -17,6 +17,8 @@ const SortOrderPersonSortFieldSchemaDefinition = z.object({
|
|
|
17
17
|
"AMOUNT_INVESTED",
|
|
18
18
|
"TOTAL_INVESTMENTS",
|
|
19
19
|
]),
|
|
20
|
+
/** 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. */
|
|
21
|
+
sortKey: z.string().nullish(),
|
|
20
22
|
});
|
|
21
23
|
/**
|
|
22
24
|
* Single sort term: which enumerated sort field to use and whether direction is descending.
|