@aventurevc/api-schemas 0.8.97 → 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 +14 -0
- package/dist/link/search.d.ts +14 -0
- package/dist/natural/search-result.d.ts +11 -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 +1 -0
- package/dist/search/answer.js +2 -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 +14 -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>>;
|
|
@@ -19,6 +19,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
19
19
|
topic?: string | null | undefined;
|
|
20
20
|
}[];
|
|
21
21
|
relatedQuery: string[];
|
|
22
|
+
shareable: boolean;
|
|
22
23
|
text: string;
|
|
23
24
|
title?: string | null | undefined;
|
|
24
25
|
} | null | undefined;
|
|
@@ -52,6 +53,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
52
53
|
max?: number | null | undefined;
|
|
53
54
|
min?: number | null | undefined;
|
|
54
55
|
}[] | undefined;
|
|
56
|
+
dateAnnouncedRange?: {
|
|
57
|
+
max?: string | null | undefined;
|
|
58
|
+
min?: string | null | undefined;
|
|
59
|
+
} | null | undefined;
|
|
55
60
|
investedCompanyName?: string[] | undefined;
|
|
56
61
|
investedCountry?: string[] | undefined;
|
|
57
62
|
investedIndustry?: string[] | undefined;
|
|
@@ -139,6 +144,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
139
144
|
order: {
|
|
140
145
|
descending: boolean;
|
|
141
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;
|
|
142
148
|
}[];
|
|
143
149
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
144
150
|
};
|
|
@@ -2262,6 +2268,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
2262
2268
|
topic?: string | null | undefined;
|
|
2263
2269
|
}[];
|
|
2264
2270
|
relatedQuery: string[];
|
|
2271
|
+
shareable: boolean;
|
|
2265
2272
|
text: string;
|
|
2266
2273
|
title?: string | null | undefined;
|
|
2267
2274
|
} | null | undefined;
|
|
@@ -2295,6 +2302,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
2295
2302
|
max?: number | null | undefined;
|
|
2296
2303
|
min?: number | null | undefined;
|
|
2297
2304
|
}[] | undefined;
|
|
2305
|
+
dateAnnouncedRange?: {
|
|
2306
|
+
max?: string | null | undefined;
|
|
2307
|
+
min?: string | null | undefined;
|
|
2308
|
+
} | null | undefined;
|
|
2298
2309
|
investedCompanyName?: string[] | undefined;
|
|
2299
2310
|
investedCountry?: string[] | undefined;
|
|
2300
2311
|
investedIndustry?: string[] | undefined;
|
|
@@ -2382,6 +2393,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
2382
2393
|
order: {
|
|
2383
2394
|
descending: boolean;
|
|
2384
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;
|
|
2385
2397
|
}[];
|
|
2386
2398
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
2387
2399
|
};
|
|
@@ -6415,6 +6427,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
6415
6427
|
order: {
|
|
6416
6428
|
descending: boolean;
|
|
6417
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;
|
|
6418
6431
|
}[];
|
|
6419
6432
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
6420
6433
|
};
|
|
@@ -6664,6 +6677,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
6664
6677
|
order: {
|
|
6665
6678
|
descending: boolean;
|
|
6666
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;
|
|
6667
6681
|
}[];
|
|
6668
6682
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
6669
6683
|
};
|
package/dist/link/search.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
21
21
|
topic?: string | null | undefined;
|
|
22
22
|
}[];
|
|
23
23
|
relatedQuery: string[];
|
|
24
|
+
shareable: boolean;
|
|
24
25
|
text: string;
|
|
25
26
|
title?: string | null | undefined;
|
|
26
27
|
} | null | undefined;
|
|
@@ -54,6 +55,10 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
54
55
|
max?: number | null | undefined;
|
|
55
56
|
min?: number | null | undefined;
|
|
56
57
|
}[] | undefined;
|
|
58
|
+
dateAnnouncedRange?: {
|
|
59
|
+
max?: string | null | undefined;
|
|
60
|
+
min?: string | null | undefined;
|
|
61
|
+
} | null | undefined;
|
|
57
62
|
investedCompanyName?: string[] | undefined;
|
|
58
63
|
investedCountry?: string[] | undefined;
|
|
59
64
|
investedIndustry?: string[] | undefined;
|
|
@@ -141,6 +146,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
141
146
|
order: {
|
|
142
147
|
descending: boolean;
|
|
143
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;
|
|
144
150
|
}[];
|
|
145
151
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
146
152
|
};
|
|
@@ -3262,6 +3268,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
3262
3268
|
order: {
|
|
3263
3269
|
descending: boolean;
|
|
3264
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;
|
|
3265
3272
|
}[];
|
|
3266
3273
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
3267
3274
|
};
|
|
@@ -3816,6 +3823,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
3816
3823
|
topic?: string | null | undefined;
|
|
3817
3824
|
}[];
|
|
3818
3825
|
relatedQuery: string[];
|
|
3826
|
+
shareable: boolean;
|
|
3819
3827
|
text: string;
|
|
3820
3828
|
title?: string | null | undefined;
|
|
3821
3829
|
} | null | undefined;
|
|
@@ -3849,6 +3857,10 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
3849
3857
|
max?: number | null | undefined;
|
|
3850
3858
|
min?: number | null | undefined;
|
|
3851
3859
|
}[] | undefined;
|
|
3860
|
+
dateAnnouncedRange?: {
|
|
3861
|
+
max?: string | null | undefined;
|
|
3862
|
+
min?: string | null | undefined;
|
|
3863
|
+
} | null | undefined;
|
|
3852
3864
|
investedCompanyName?: string[] | undefined;
|
|
3853
3865
|
investedCountry?: string[] | undefined;
|
|
3854
3866
|
investedIndustry?: string[] | undefined;
|
|
@@ -3936,6 +3948,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
3936
3948
|
order: {
|
|
3937
3949
|
descending: boolean;
|
|
3938
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;
|
|
3939
3952
|
}[];
|
|
3940
3953
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
3941
3954
|
};
|
|
@@ -7057,6 +7070,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
7057
7070
|
order: {
|
|
7058
7071
|
descending: boolean;
|
|
7059
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;
|
|
7060
7074
|
}[];
|
|
7061
7075
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
7062
7076
|
};
|
|
@@ -34,6 +34,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
34
34
|
topic?: string | null | undefined;
|
|
35
35
|
}, unknown>>>;
|
|
36
36
|
relatedQuery: z.ZodArray<z.ZodString>;
|
|
37
|
+
shareable: z.ZodBoolean;
|
|
37
38
|
text: z.ZodString;
|
|
38
39
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
40
|
}, z.core.$strip>>>;
|
|
@@ -67,6 +68,10 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
67
68
|
max?: number | null | undefined;
|
|
68
69
|
min?: number | null | undefined;
|
|
69
70
|
}[] | undefined;
|
|
71
|
+
dateAnnouncedRange?: {
|
|
72
|
+
max?: string | null | undefined;
|
|
73
|
+
min?: string | null | undefined;
|
|
74
|
+
} | null | undefined;
|
|
70
75
|
investedCompanyName?: string[] | undefined;
|
|
71
76
|
investedCountry?: string[] | undefined;
|
|
72
77
|
investedIndustry?: string[] | undefined;
|
|
@@ -154,6 +159,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
154
159
|
order: {
|
|
155
160
|
descending: boolean;
|
|
156
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;
|
|
157
163
|
}[];
|
|
158
164
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
159
165
|
};
|
|
@@ -189,6 +195,10 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
189
195
|
max?: number | null | undefined;
|
|
190
196
|
min?: number | null | undefined;
|
|
191
197
|
}[] | undefined;
|
|
198
|
+
dateAnnouncedRange?: {
|
|
199
|
+
max?: string | null | undefined;
|
|
200
|
+
min?: string | null | undefined;
|
|
201
|
+
} | null | undefined;
|
|
192
202
|
investedCompanyName?: string[] | undefined;
|
|
193
203
|
investedCountry?: string[] | undefined;
|
|
194
204
|
investedIndustry?: string[] | undefined;
|
|
@@ -276,6 +286,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
276
286
|
order: {
|
|
277
287
|
descending: boolean;
|
|
278
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;
|
|
279
290
|
}[];
|
|
280
291
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
281
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
|
@@ -48,6 +48,7 @@ export declare const SearchAnswerSchema: z.ZodObject<{
|
|
|
48
48
|
topic?: string | null | undefined;
|
|
49
49
|
}, unknown>>>;
|
|
50
50
|
relatedQuery: z.ZodArray<z.ZodString>;
|
|
51
|
+
shareable: z.ZodBoolean;
|
|
51
52
|
text: z.ZodString;
|
|
52
53
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
54
|
}, z.core.$strip>;
|
package/dist/search/answer.js
CHANGED
|
@@ -29,6 +29,8 @@ export const SearchAnswerSchema = z.object({
|
|
|
29
29
|
paragraph: z.array(SearchAnswerParagraphSchema),
|
|
30
30
|
/** Up to five follow-up searches grounded in the cited evidence; empty when the answer abstains. */
|
|
31
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(),
|
|
32
34
|
/** Every paragraph's text in reading order, separated by blank lines; read `paragraph` to place each citation beside the text it supports. */
|
|
33
35
|
text: z.string(),
|
|
34
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. */
|
|
@@ -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
|
@@ -31,6 +31,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
31
31
|
topic?: string | null | undefined;
|
|
32
32
|
}[];
|
|
33
33
|
relatedQuery: string[];
|
|
34
|
+
shareable: boolean;
|
|
34
35
|
text: string;
|
|
35
36
|
title?: string | null | undefined;
|
|
36
37
|
} | null | undefined;
|
|
@@ -64,6 +65,10 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
64
65
|
max?: number | null | undefined;
|
|
65
66
|
min?: number | null | undefined;
|
|
66
67
|
}[] | undefined;
|
|
68
|
+
dateAnnouncedRange?: {
|
|
69
|
+
max?: string | null | undefined;
|
|
70
|
+
min?: string | null | undefined;
|
|
71
|
+
} | null | undefined;
|
|
67
72
|
investedCompanyName?: string[] | undefined;
|
|
68
73
|
investedCountry?: string[] | undefined;
|
|
69
74
|
investedIndustry?: string[] | undefined;
|
|
@@ -151,6 +156,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
151
156
|
order: {
|
|
152
157
|
descending: boolean;
|
|
153
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;
|
|
154
160
|
}[];
|
|
155
161
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
156
162
|
};
|
|
@@ -3272,6 +3278,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3272
3278
|
order: {
|
|
3273
3279
|
descending: boolean;
|
|
3274
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;
|
|
3275
3282
|
}[];
|
|
3276
3283
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
3277
3284
|
};
|
|
@@ -3826,6 +3833,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3826
3833
|
topic?: string | null | undefined;
|
|
3827
3834
|
}[];
|
|
3828
3835
|
relatedQuery: string[];
|
|
3836
|
+
shareable: boolean;
|
|
3829
3837
|
text: string;
|
|
3830
3838
|
title?: string | null | undefined;
|
|
3831
3839
|
} | null | undefined;
|
|
@@ -3859,6 +3867,10 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3859
3867
|
max?: number | null | undefined;
|
|
3860
3868
|
min?: number | null | undefined;
|
|
3861
3869
|
}[] | undefined;
|
|
3870
|
+
dateAnnouncedRange?: {
|
|
3871
|
+
max?: string | null | undefined;
|
|
3872
|
+
min?: string | null | undefined;
|
|
3873
|
+
} | null | undefined;
|
|
3862
3874
|
investedCompanyName?: string[] | undefined;
|
|
3863
3875
|
investedCountry?: string[] | undefined;
|
|
3864
3876
|
investedIndustry?: string[] | undefined;
|
|
@@ -3946,6 +3958,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3946
3958
|
order: {
|
|
3947
3959
|
descending: boolean;
|
|
3948
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;
|
|
3949
3962
|
}[];
|
|
3950
3963
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
3951
3964
|
};
|
|
@@ -7067,6 +7080,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
7067
7080
|
order: {
|
|
7068
7081
|
descending: boolean;
|
|
7069
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;
|
|
7070
7084
|
}[];
|
|
7071
7085
|
relevance?: "keyword" | "semantic" | null | undefined;
|
|
7072
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.
|