@aventurevc/api-schemas 0.8.151 → 0.8.155
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/billing/subscription.d.ts +1 -0
- package/dist/billing/subscription.js +2 -0
- package/dist/classification/catalog-category.d.ts +2 -40
- package/dist/classification/catalog.d.ts +4 -16
- package/dist/classification/classification.d.ts +0 -1
- package/dist/classification/classification.js +0 -1
- package/dist/entity/brand.d.ts +4 -16
- package/dist/entity/classification-suggestion.d.ts +2 -40
- package/dist/entity/classification.d.ts +2 -40
- package/dist/entity/detail.d.ts +4 -16
- package/dist/entity/enrichment.d.ts +4 -16
- package/dist/entity/investor-participation.d.ts +4 -16
- package/dist/entity/list.d.ts +4 -16
- package/dist/entity/resolution.d.ts +4 -16
- package/dist/entity/similarity-result.d.ts +4 -16
- package/dist/federated/search.d.ts +16 -64
- package/dist/link/search.d.ts +16 -64
- package/dist/lookup/job-mention.d.ts +4 -16
- package/dist/lookup/job.d.ts +4 -16
- package/dist/mention/lookup.d.ts +4 -16
- package/dist/natural/search-result.d.ts +12 -48
- package/dist/openapi-component-manifest.js +1 -0
- package/dist/pagination/schemas.d.ts +22 -120
- package/dist/search/search.d.ts +5 -0
- package/dist/search/search.js +5 -2
- package/dist/shared/search.d.ts +16 -64
- package/dist/standardized/classification.d.ts +4 -15
- package/dist/standardized/classification.js +2 -3
- package/dist/web/search-provider.d.ts +18 -0
- package/dist/web/search-provider.js +17 -0
- package/dist/web/search.d.ts +2 -0
- package/dist/web/search.js +1 -1
- package/package.json +1 -1
|
@@ -109,12 +109,6 @@ declare const PageClassificationSchemaDefinition: z.ZodObject<{
|
|
|
109
109
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
110
110
|
writable: z.ZodBoolean;
|
|
111
111
|
}, z.core.$strip>>, z.ZodType<{
|
|
112
|
-
creatable: boolean;
|
|
113
|
-
isCurrent?: boolean | null | undefined;
|
|
114
|
-
isPrimary?: boolean | null | undefined;
|
|
115
|
-
name: string;
|
|
116
|
-
writable: boolean;
|
|
117
|
-
} & {
|
|
118
112
|
category: string;
|
|
119
113
|
code?: number | null | undefined;
|
|
120
114
|
creatable: boolean;
|
|
@@ -127,7 +121,7 @@ declare const PageClassificationSchemaDefinition: z.ZodObject<{
|
|
|
127
121
|
name: string;
|
|
128
122
|
updatedAt?: string | null | undefined;
|
|
129
123
|
writable: boolean;
|
|
130
|
-
}, import("../
|
|
124
|
+
}, import("../standardized/classification.ts").StandardizedClassificationSchemaInput, z.core.$ZodTypeInternals<{
|
|
131
125
|
category: string;
|
|
132
126
|
code?: number | null | undefined;
|
|
133
127
|
creatable: boolean;
|
|
@@ -140,39 +134,7 @@ declare const PageClassificationSchemaDefinition: z.ZodObject<{
|
|
|
140
134
|
name: string;
|
|
141
135
|
updatedAt?: string | null | undefined;
|
|
142
136
|
writable: boolean;
|
|
143
|
-
},
|
|
144
|
-
creatable: boolean;
|
|
145
|
-
isCurrent?: boolean | null | undefined;
|
|
146
|
-
isPrimary?: boolean | null | undefined;
|
|
147
|
-
name: string;
|
|
148
|
-
writable: boolean;
|
|
149
|
-
} & {
|
|
150
|
-
category: string;
|
|
151
|
-
code?: number | null | undefined;
|
|
152
|
-
creatable: boolean;
|
|
153
|
-
createdAt?: string | null | undefined;
|
|
154
|
-
entityClassificationId?: number | null | undefined;
|
|
155
|
-
id: number;
|
|
156
|
-
isCurrent?: boolean | null | undefined;
|
|
157
|
-
isPrimary?: boolean | null | undefined;
|
|
158
|
-
level?: number | null | undefined;
|
|
159
|
-
name: string;
|
|
160
|
-
updatedAt?: string | null | undefined;
|
|
161
|
-
writable: boolean;
|
|
162
|
-
}, import("../classification/classification.ts").ClassificationSchemaInput & {
|
|
163
|
-
category: string;
|
|
164
|
-
code?: number | null | undefined;
|
|
165
|
-
creatable: boolean;
|
|
166
|
-
createdAt?: string | null | undefined;
|
|
167
|
-
entityClassificationId?: number | null | undefined;
|
|
168
|
-
id: number;
|
|
169
|
-
isCurrent?: boolean | null | undefined;
|
|
170
|
-
isPrimary?: boolean | null | undefined;
|
|
171
|
-
level?: number | null | undefined;
|
|
172
|
-
name: string;
|
|
173
|
-
updatedAt?: string | null | undefined;
|
|
174
|
-
writable: boolean;
|
|
175
|
-
}>>]>>>;
|
|
137
|
+
}, import("../standardized/classification.ts").StandardizedClassificationSchemaInput>>]>>>;
|
|
176
138
|
empty: z.ZodOptional<z.ZodBoolean>;
|
|
177
139
|
first: z.ZodOptional<z.ZodBoolean>;
|
|
178
140
|
last: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -744,13 +706,7 @@ declare const PageEntityDetailSchemaDefinition: z.ZodObject<{
|
|
|
744
706
|
updatedAt?: string | null | undefined;
|
|
745
707
|
writable: boolean;
|
|
746
708
|
})[] | undefined;
|
|
747
|
-
standardizedClassification?:
|
|
748
|
-
creatable: boolean;
|
|
749
|
-
isCurrent?: boolean | null | undefined;
|
|
750
|
-
isPrimary?: boolean | null | undefined;
|
|
751
|
-
name: string;
|
|
752
|
-
writable: boolean;
|
|
753
|
-
} & {
|
|
709
|
+
standardizedClassification?: {
|
|
754
710
|
category: string;
|
|
755
711
|
code?: number | null | undefined;
|
|
756
712
|
creatable: boolean;
|
|
@@ -763,7 +719,7 @@ declare const PageEntityDetailSchemaDefinition: z.ZodObject<{
|
|
|
763
719
|
name: string;
|
|
764
720
|
updatedAt?: string | null | undefined;
|
|
765
721
|
writable: boolean;
|
|
766
|
-
}
|
|
722
|
+
}[] | undefined;
|
|
767
723
|
tag?: ({
|
|
768
724
|
creatable: boolean;
|
|
769
725
|
isCurrent?: boolean | null | undefined;
|
|
@@ -1027,13 +983,7 @@ declare const PageEntityDetailSchemaDefinition: z.ZodObject<{
|
|
|
1027
983
|
updatedAt?: string | null | undefined;
|
|
1028
984
|
writable: boolean;
|
|
1029
985
|
})[] | undefined;
|
|
1030
|
-
standardizedClassification?:
|
|
1031
|
-
creatable: boolean;
|
|
1032
|
-
isCurrent?: boolean | null | undefined;
|
|
1033
|
-
isPrimary?: boolean | null | undefined;
|
|
1034
|
-
name: string;
|
|
1035
|
-
writable: boolean;
|
|
1036
|
-
} & {
|
|
986
|
+
standardizedClassification?: {
|
|
1037
987
|
category: string;
|
|
1038
988
|
code?: number | null | undefined;
|
|
1039
989
|
creatable: boolean;
|
|
@@ -1046,7 +996,7 @@ declare const PageEntityDetailSchemaDefinition: z.ZodObject<{
|
|
|
1046
996
|
name: string;
|
|
1047
997
|
updatedAt?: string | null | undefined;
|
|
1048
998
|
writable: boolean;
|
|
1049
|
-
}
|
|
999
|
+
}[] | undefined;
|
|
1050
1000
|
tag?: ({
|
|
1051
1001
|
creatable: boolean;
|
|
1052
1002
|
isCurrent?: boolean | null | undefined;
|
|
@@ -2844,13 +2794,7 @@ declare const PageEntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
2844
2794
|
updatedAt?: string | null | undefined;
|
|
2845
2795
|
writable: boolean;
|
|
2846
2796
|
})[] | undefined;
|
|
2847
|
-
standardizedClassification?:
|
|
2848
|
-
creatable: boolean;
|
|
2849
|
-
isCurrent?: boolean | null | undefined;
|
|
2850
|
-
isPrimary?: boolean | null | undefined;
|
|
2851
|
-
name: string;
|
|
2852
|
-
writable: boolean;
|
|
2853
|
-
} & {
|
|
2797
|
+
standardizedClassification?: {
|
|
2854
2798
|
category: string;
|
|
2855
2799
|
code?: number | null | undefined;
|
|
2856
2800
|
creatable: boolean;
|
|
@@ -2863,7 +2807,7 @@ declare const PageEntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
2863
2807
|
name: string;
|
|
2864
2808
|
updatedAt?: string | null | undefined;
|
|
2865
2809
|
writable: boolean;
|
|
2866
|
-
}
|
|
2810
|
+
}[] | undefined;
|
|
2867
2811
|
tag?: ({
|
|
2868
2812
|
creatable: boolean;
|
|
2869
2813
|
isCurrent?: boolean | null | undefined;
|
|
@@ -3778,13 +3722,7 @@ declare const PageEntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
3778
3722
|
updatedAt?: string | null | undefined;
|
|
3779
3723
|
writable: boolean;
|
|
3780
3724
|
})[] | undefined;
|
|
3781
|
-
standardizedClassification?:
|
|
3782
|
-
creatable: boolean;
|
|
3783
|
-
isCurrent?: boolean | null | undefined;
|
|
3784
|
-
isPrimary?: boolean | null | undefined;
|
|
3785
|
-
name: string;
|
|
3786
|
-
writable: boolean;
|
|
3787
|
-
} & {
|
|
3725
|
+
standardizedClassification?: {
|
|
3788
3726
|
category: string;
|
|
3789
3727
|
code?: number | null | undefined;
|
|
3790
3728
|
creatable: boolean;
|
|
@@ -3797,7 +3735,7 @@ declare const PageEntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
3797
3735
|
name: string;
|
|
3798
3736
|
updatedAt?: string | null | undefined;
|
|
3799
3737
|
writable: boolean;
|
|
3800
|
-
}
|
|
3738
|
+
}[] | undefined;
|
|
3801
3739
|
tag?: ({
|
|
3802
3740
|
creatable: boolean;
|
|
3803
3741
|
isCurrent?: boolean | null | undefined;
|
|
@@ -4751,13 +4689,7 @@ declare const PageEntityListSchemaDefinition: z.ZodObject<{
|
|
|
4751
4689
|
updatedAt?: string | null | undefined;
|
|
4752
4690
|
writable: boolean;
|
|
4753
4691
|
})[] | undefined;
|
|
4754
|
-
standardizedClassification?:
|
|
4755
|
-
creatable: boolean;
|
|
4756
|
-
isCurrent?: boolean | null | undefined;
|
|
4757
|
-
isPrimary?: boolean | null | undefined;
|
|
4758
|
-
name: string;
|
|
4759
|
-
writable: boolean;
|
|
4760
|
-
} & {
|
|
4692
|
+
standardizedClassification?: {
|
|
4761
4693
|
category: string;
|
|
4762
4694
|
code?: number | null | undefined;
|
|
4763
4695
|
creatable: boolean;
|
|
@@ -4770,7 +4702,7 @@ declare const PageEntityListSchemaDefinition: z.ZodObject<{
|
|
|
4770
4702
|
name: string;
|
|
4771
4703
|
updatedAt?: string | null | undefined;
|
|
4772
4704
|
writable: boolean;
|
|
4773
|
-
}
|
|
4705
|
+
}[] | undefined;
|
|
4774
4706
|
tag?: ({
|
|
4775
4707
|
creatable: boolean;
|
|
4776
4708
|
isCurrent?: boolean | null | undefined;
|
|
@@ -5231,13 +5163,7 @@ declare const PageEntityListSchemaDefinition: z.ZodObject<{
|
|
|
5231
5163
|
updatedAt?: string | null | undefined;
|
|
5232
5164
|
writable: boolean;
|
|
5233
5165
|
})[] | undefined;
|
|
5234
|
-
standardizedClassification?:
|
|
5235
|
-
creatable: boolean;
|
|
5236
|
-
isCurrent?: boolean | null | undefined;
|
|
5237
|
-
isPrimary?: boolean | null | undefined;
|
|
5238
|
-
name: string;
|
|
5239
|
-
writable: boolean;
|
|
5240
|
-
} & {
|
|
5166
|
+
standardizedClassification?: {
|
|
5241
5167
|
category: string;
|
|
5242
5168
|
code?: number | null | undefined;
|
|
5243
5169
|
creatable: boolean;
|
|
@@ -5250,7 +5176,7 @@ declare const PageEntityListSchemaDefinition: z.ZodObject<{
|
|
|
5250
5176
|
name: string;
|
|
5251
5177
|
updatedAt?: string | null | undefined;
|
|
5252
5178
|
writable: boolean;
|
|
5253
|
-
}
|
|
5179
|
+
}[] | undefined;
|
|
5254
5180
|
tag?: ({
|
|
5255
5181
|
creatable: boolean;
|
|
5256
5182
|
isCurrent?: boolean | null | undefined;
|
|
@@ -6304,13 +6230,7 @@ declare const PageEntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
6304
6230
|
updatedAt?: string | null | undefined;
|
|
6305
6231
|
writable: boolean;
|
|
6306
6232
|
})[] | undefined;
|
|
6307
|
-
standardizedClassification?:
|
|
6308
|
-
creatable: boolean;
|
|
6309
|
-
isCurrent?: boolean | null | undefined;
|
|
6310
|
-
isPrimary?: boolean | null | undefined;
|
|
6311
|
-
name: string;
|
|
6312
|
-
writable: boolean;
|
|
6313
|
-
} & {
|
|
6233
|
+
standardizedClassification?: {
|
|
6314
6234
|
category: string;
|
|
6315
6235
|
code?: number | null | undefined;
|
|
6316
6236
|
creatable: boolean;
|
|
@@ -6323,7 +6243,7 @@ declare const PageEntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
6323
6243
|
name: string;
|
|
6324
6244
|
updatedAt?: string | null | undefined;
|
|
6325
6245
|
writable: boolean;
|
|
6326
|
-
}
|
|
6246
|
+
}[] | undefined;
|
|
6327
6247
|
tag?: ({
|
|
6328
6248
|
creatable: boolean;
|
|
6329
6249
|
isCurrent?: boolean | null | undefined;
|
|
@@ -6798,13 +6718,7 @@ declare const PageEntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
6798
6718
|
updatedAt?: string | null | undefined;
|
|
6799
6719
|
writable: boolean;
|
|
6800
6720
|
})[] | undefined;
|
|
6801
|
-
standardizedClassification?:
|
|
6802
|
-
creatable: boolean;
|
|
6803
|
-
isCurrent?: boolean | null | undefined;
|
|
6804
|
-
isPrimary?: boolean | null | undefined;
|
|
6805
|
-
name: string;
|
|
6806
|
-
writable: boolean;
|
|
6807
|
-
} & {
|
|
6721
|
+
standardizedClassification?: {
|
|
6808
6722
|
category: string;
|
|
6809
6723
|
code?: number | null | undefined;
|
|
6810
6724
|
creatable: boolean;
|
|
@@ -6817,7 +6731,7 @@ declare const PageEntitySimilarityResultSchemaDefinition: z.ZodObject<{
|
|
|
6817
6731
|
name: string;
|
|
6818
6732
|
updatedAt?: string | null | undefined;
|
|
6819
6733
|
writable: boolean;
|
|
6820
|
-
}
|
|
6734
|
+
}[] | undefined;
|
|
6821
6735
|
tag?: ({
|
|
6822
6736
|
creatable: boolean;
|
|
6823
6737
|
isCurrent?: boolean | null | undefined;
|
|
@@ -10113,13 +10027,7 @@ declare const PageResultEntityListSchemaDefinition: z.ZodObject<{
|
|
|
10113
10027
|
updatedAt?: string | null | undefined;
|
|
10114
10028
|
writable: boolean;
|
|
10115
10029
|
})[] | undefined;
|
|
10116
|
-
standardizedClassification?:
|
|
10117
|
-
creatable: boolean;
|
|
10118
|
-
isCurrent?: boolean | null | undefined;
|
|
10119
|
-
isPrimary?: boolean | null | undefined;
|
|
10120
|
-
name: string;
|
|
10121
|
-
writable: boolean;
|
|
10122
|
-
} & {
|
|
10030
|
+
standardizedClassification?: {
|
|
10123
10031
|
category: string;
|
|
10124
10032
|
code?: number | null | undefined;
|
|
10125
10033
|
creatable: boolean;
|
|
@@ -10132,7 +10040,7 @@ declare const PageResultEntityListSchemaDefinition: z.ZodObject<{
|
|
|
10132
10040
|
name: string;
|
|
10133
10041
|
updatedAt?: string | null | undefined;
|
|
10134
10042
|
writable: boolean;
|
|
10135
|
-
}
|
|
10043
|
+
}[] | undefined;
|
|
10136
10044
|
tag?: ({
|
|
10137
10045
|
creatable: boolean;
|
|
10138
10046
|
isCurrent?: boolean | null | undefined;
|
|
@@ -10593,13 +10501,7 @@ declare const PageResultEntityListSchemaDefinition: z.ZodObject<{
|
|
|
10593
10501
|
updatedAt?: string | null | undefined;
|
|
10594
10502
|
writable: boolean;
|
|
10595
10503
|
})[] | undefined;
|
|
10596
|
-
standardizedClassification?:
|
|
10597
|
-
creatable: boolean;
|
|
10598
|
-
isCurrent?: boolean | null | undefined;
|
|
10599
|
-
isPrimary?: boolean | null | undefined;
|
|
10600
|
-
name: string;
|
|
10601
|
-
writable: boolean;
|
|
10602
|
-
} & {
|
|
10504
|
+
standardizedClassification?: {
|
|
10603
10505
|
category: string;
|
|
10604
10506
|
code?: number | null | undefined;
|
|
10605
10507
|
creatable: boolean;
|
|
@@ -10612,7 +10514,7 @@ declare const PageResultEntityListSchemaDefinition: z.ZodObject<{
|
|
|
10612
10514
|
name: string;
|
|
10613
10515
|
updatedAt?: string | null | undefined;
|
|
10614
10516
|
writable: boolean;
|
|
10615
|
-
}
|
|
10517
|
+
}[] | undefined;
|
|
10616
10518
|
tag?: ({
|
|
10617
10519
|
creatable: boolean;
|
|
10618
10520
|
isCurrent?: boolean | null | undefined;
|
package/dist/search/search.d.ts
CHANGED
|
@@ -7,6 +7,11 @@ declare const SearchSchemaDefinition: z.ZodObject<{
|
|
|
7
7
|
deep: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
8
8
|
deferredAiOverview: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
9
9
|
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
11
|
+
EXA: "EXA";
|
|
12
|
+
EXA_DEEP: "EXA_DEEP";
|
|
13
|
+
SERPAPI: "SERPAPI";
|
|
14
|
+
}>, z.ZodString]>>>;
|
|
10
15
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
16
|
resultLimit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
12
17
|
retrievedFor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
package/dist/search/search.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
import { EntityPersonOwnerSchema } from "../entity/person-owner.js";
|
|
4
4
|
import { HarnessRunEnvironmentSchema } from "../harness/run-environment.js";
|
|
5
|
+
import { WebSearchProviderSchema } from "../web/search-provider.js";
|
|
5
6
|
const SearchSchemaDefinition = z.object({
|
|
6
7
|
/** Allow intentional money-like text without a currency marker; prefer --from-file. */
|
|
7
8
|
allowSuspectedShellStrip: z.boolean().nullish(),
|
|
@@ -11,12 +12,14 @@ const SearchSchemaDefinition = z.object({
|
|
|
11
12
|
cacheKey: z.string().nullish(),
|
|
12
13
|
/** Server-selected search catalog revision. */
|
|
13
14
|
catalogRevision: z.int().nullish(),
|
|
14
|
-
/**
|
|
15
|
+
/** Deprecated alias for `provider: EXA_DEEP`; `true` with any other `provider` is refused with 400. */
|
|
15
16
|
deep: z.boolean().default(false).optional(),
|
|
16
|
-
/** Wait in-request for Google's AI Overview when Google defers it to a follow-up request, as it does for most company and person lookups: one extra SerpAPI search per overview not already stored
|
|
17
|
+
/** Wait in-request for Google's AI Overview when Google defers it to a follow-up request, as it does for most company and person lookups: one extra SerpAPI search per overview not already stored. An explicit `true` also reruns a stored search older than SerpAPI's one-hour cache to get a fresh token (its one-minute overview token expired and the cache would return it unchanged). With the flag false, a harness-run credential fetches from a live token only and never reruns a search. Without either, no deferred overview is fetched; one an earlier fetch stored still comes back at no extra cost. A fetch that returns no overview is not retried for six hours. An overview Google returns inline always comes back in `aiOverview` at no extra cost. Exa results never carry one. */
|
|
17
18
|
deferredAiOverview: z.boolean().default(false).optional(),
|
|
18
19
|
/** Search language code */
|
|
19
20
|
language: z.string().nullish(),
|
|
21
|
+
/** Provider to search; omitted keeps the default, SerpAPI. EXA runs Exa's instant search with highlights and never falls back to SerpAPI: an Exa failure answers 503. EXA_DEEP runs Exa's slower, broader deep search (higher recall for market and provider questions, about 3-6 s) and falls back to SerpAPI on an Exa failure. Both Exa providers answer synchronously (`Prefer: respond-async` does not apply), are stored apart from SerpAPI results, and are charged like any search. */
|
|
22
|
+
provider: WebSearchProviderSchema.nullish(),
|
|
20
23
|
/** Search region code */
|
|
21
24
|
region: z.string().nullish(),
|
|
22
25
|
/** Maximum number of normalized results to keep */
|
package/dist/shared/search.d.ts
CHANGED
|
@@ -479,13 +479,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
479
479
|
updatedAt?: string | null | undefined;
|
|
480
480
|
writable: boolean;
|
|
481
481
|
})[] | undefined;
|
|
482
|
-
standardizedClassification?:
|
|
483
|
-
creatable: boolean;
|
|
484
|
-
isCurrent?: boolean | null | undefined;
|
|
485
|
-
isPrimary?: boolean | null | undefined;
|
|
486
|
-
name: string;
|
|
487
|
-
writable: boolean;
|
|
488
|
-
} & {
|
|
482
|
+
standardizedClassification?: {
|
|
489
483
|
category: string;
|
|
490
484
|
code?: number | null | undefined;
|
|
491
485
|
creatable: boolean;
|
|
@@ -498,7 +492,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
498
492
|
name: string;
|
|
499
493
|
updatedAt?: string | null | undefined;
|
|
500
494
|
writable: boolean;
|
|
501
|
-
}
|
|
495
|
+
}[] | undefined;
|
|
502
496
|
tag?: ({
|
|
503
497
|
creatable: boolean;
|
|
504
498
|
isCurrent?: boolean | null | undefined;
|
|
@@ -975,13 +969,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
975
969
|
updatedAt?: string | null | undefined;
|
|
976
970
|
writable: boolean;
|
|
977
971
|
})[] | undefined;
|
|
978
|
-
standardizedClassification?:
|
|
979
|
-
creatable: boolean;
|
|
980
|
-
isCurrent?: boolean | null | undefined;
|
|
981
|
-
isPrimary?: boolean | null | undefined;
|
|
982
|
-
name: string;
|
|
983
|
-
writable: boolean;
|
|
984
|
-
} & {
|
|
972
|
+
standardizedClassification?: {
|
|
985
973
|
category: string;
|
|
986
974
|
code?: number | null | undefined;
|
|
987
975
|
creatable: boolean;
|
|
@@ -994,7 +982,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
994
982
|
name: string;
|
|
995
983
|
updatedAt?: string | null | undefined;
|
|
996
984
|
writable: boolean;
|
|
997
|
-
}
|
|
985
|
+
}[] | undefined;
|
|
998
986
|
tag?: ({
|
|
999
987
|
creatable: boolean;
|
|
1000
988
|
isCurrent?: boolean | null | undefined;
|
|
@@ -1462,13 +1450,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1462
1450
|
updatedAt?: string | null | undefined;
|
|
1463
1451
|
writable: boolean;
|
|
1464
1452
|
})[] | undefined;
|
|
1465
|
-
standardizedClassification?:
|
|
1466
|
-
creatable: boolean;
|
|
1467
|
-
isCurrent?: boolean | null | undefined;
|
|
1468
|
-
isPrimary?: boolean | null | undefined;
|
|
1469
|
-
name: string;
|
|
1470
|
-
writable: boolean;
|
|
1471
|
-
} & {
|
|
1453
|
+
standardizedClassification?: {
|
|
1472
1454
|
category: string;
|
|
1473
1455
|
code?: number | null | undefined;
|
|
1474
1456
|
creatable: boolean;
|
|
@@ -1481,7 +1463,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1481
1463
|
name: string;
|
|
1482
1464
|
updatedAt?: string | null | undefined;
|
|
1483
1465
|
writable: boolean;
|
|
1484
|
-
}
|
|
1466
|
+
}[] | undefined;
|
|
1485
1467
|
tag?: ({
|
|
1486
1468
|
creatable: boolean;
|
|
1487
1469
|
isCurrent?: boolean | null | undefined;
|
|
@@ -1944,13 +1926,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1944
1926
|
updatedAt?: string | null | undefined;
|
|
1945
1927
|
writable: boolean;
|
|
1946
1928
|
})[] | undefined;
|
|
1947
|
-
standardizedClassification?:
|
|
1948
|
-
creatable: boolean;
|
|
1949
|
-
isCurrent?: boolean | null | undefined;
|
|
1950
|
-
isPrimary?: boolean | null | undefined;
|
|
1951
|
-
name: string;
|
|
1952
|
-
writable: boolean;
|
|
1953
|
-
} & {
|
|
1929
|
+
standardizedClassification?: {
|
|
1954
1930
|
category: string;
|
|
1955
1931
|
code?: number | null | undefined;
|
|
1956
1932
|
creatable: boolean;
|
|
@@ -1963,7 +1939,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1963
1939
|
name: string;
|
|
1964
1940
|
updatedAt?: string | null | undefined;
|
|
1965
1941
|
writable: boolean;
|
|
1966
|
-
}
|
|
1942
|
+
}[] | undefined;
|
|
1967
1943
|
tag?: ({
|
|
1968
1944
|
creatable: boolean;
|
|
1969
1945
|
isCurrent?: boolean | null | undefined;
|
|
@@ -3944,13 +3920,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3944
3920
|
updatedAt?: string | null | undefined;
|
|
3945
3921
|
writable: boolean;
|
|
3946
3922
|
})[] | undefined;
|
|
3947
|
-
standardizedClassification?:
|
|
3948
|
-
creatable: boolean;
|
|
3949
|
-
isCurrent?: boolean | null | undefined;
|
|
3950
|
-
isPrimary?: boolean | null | undefined;
|
|
3951
|
-
name: string;
|
|
3952
|
-
writable: boolean;
|
|
3953
|
-
} & {
|
|
3923
|
+
standardizedClassification?: {
|
|
3954
3924
|
category: string;
|
|
3955
3925
|
code?: number | null | undefined;
|
|
3956
3926
|
creatable: boolean;
|
|
@@ -3963,7 +3933,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3963
3933
|
name: string;
|
|
3964
3934
|
updatedAt?: string | null | undefined;
|
|
3965
3935
|
writable: boolean;
|
|
3966
|
-
}
|
|
3936
|
+
}[] | undefined;
|
|
3967
3937
|
tag?: ({
|
|
3968
3938
|
creatable: boolean;
|
|
3969
3939
|
isCurrent?: boolean | null | undefined;
|
|
@@ -4440,13 +4410,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
4440
4410
|
updatedAt?: string | null | undefined;
|
|
4441
4411
|
writable: boolean;
|
|
4442
4412
|
})[] | undefined;
|
|
4443
|
-
standardizedClassification?:
|
|
4444
|
-
creatable: boolean;
|
|
4445
|
-
isCurrent?: boolean | null | undefined;
|
|
4446
|
-
isPrimary?: boolean | null | undefined;
|
|
4447
|
-
name: string;
|
|
4448
|
-
writable: boolean;
|
|
4449
|
-
} & {
|
|
4413
|
+
standardizedClassification?: {
|
|
4450
4414
|
category: string;
|
|
4451
4415
|
code?: number | null | undefined;
|
|
4452
4416
|
creatable: boolean;
|
|
@@ -4459,7 +4423,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
4459
4423
|
name: string;
|
|
4460
4424
|
updatedAt?: string | null | undefined;
|
|
4461
4425
|
writable: boolean;
|
|
4462
|
-
}
|
|
4426
|
+
}[] | undefined;
|
|
4463
4427
|
tag?: ({
|
|
4464
4428
|
creatable: boolean;
|
|
4465
4429
|
isCurrent?: boolean | null | undefined;
|
|
@@ -4927,13 +4891,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
4927
4891
|
updatedAt?: string | null | undefined;
|
|
4928
4892
|
writable: boolean;
|
|
4929
4893
|
})[] | undefined;
|
|
4930
|
-
standardizedClassification?:
|
|
4931
|
-
creatable: boolean;
|
|
4932
|
-
isCurrent?: boolean | null | undefined;
|
|
4933
|
-
isPrimary?: boolean | null | undefined;
|
|
4934
|
-
name: string;
|
|
4935
|
-
writable: boolean;
|
|
4936
|
-
} & {
|
|
4894
|
+
standardizedClassification?: {
|
|
4937
4895
|
category: string;
|
|
4938
4896
|
code?: number | null | undefined;
|
|
4939
4897
|
creatable: boolean;
|
|
@@ -4946,7 +4904,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
4946
4904
|
name: string;
|
|
4947
4905
|
updatedAt?: string | null | undefined;
|
|
4948
4906
|
writable: boolean;
|
|
4949
|
-
}
|
|
4907
|
+
}[] | undefined;
|
|
4950
4908
|
tag?: ({
|
|
4951
4909
|
creatable: boolean;
|
|
4952
4910
|
isCurrent?: boolean | null | undefined;
|
|
@@ -5409,13 +5367,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
5409
5367
|
updatedAt?: string | null | undefined;
|
|
5410
5368
|
writable: boolean;
|
|
5411
5369
|
})[] | undefined;
|
|
5412
|
-
standardizedClassification?:
|
|
5413
|
-
creatable: boolean;
|
|
5414
|
-
isCurrent?: boolean | null | undefined;
|
|
5415
|
-
isPrimary?: boolean | null | undefined;
|
|
5416
|
-
name: string;
|
|
5417
|
-
writable: boolean;
|
|
5418
|
-
} & {
|
|
5370
|
+
standardizedClassification?: {
|
|
5419
5371
|
category: string;
|
|
5420
5372
|
code?: number | null | undefined;
|
|
5421
5373
|
creatable: boolean;
|
|
@@ -5428,7 +5380,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
5428
5380
|
name: string;
|
|
5429
5381
|
updatedAt?: string | null | undefined;
|
|
5430
5382
|
writable: boolean;
|
|
5431
|
-
}
|
|
5383
|
+
}[] | undefined;
|
|
5432
5384
|
tag?: ({
|
|
5433
5385
|
creatable: boolean;
|
|
5434
5386
|
isCurrent?: boolean | null | undefined;
|
|
@@ -1,17 +1,5 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
-
declare const StandardizedClassificationSchemaDefinition: z.
|
|
3
|
-
creatable: boolean;
|
|
4
|
-
isCurrent?: boolean | null | undefined;
|
|
5
|
-
isPrimary?: boolean | null | undefined;
|
|
6
|
-
name: string;
|
|
7
|
-
writable: boolean;
|
|
8
|
-
}, import("../classification/classification.ts").ClassificationSchemaInput, z.core.$ZodTypeInternals<{
|
|
9
|
-
creatable: boolean;
|
|
10
|
-
isCurrent?: boolean | null | undefined;
|
|
11
|
-
isPrimary?: boolean | null | undefined;
|
|
12
|
-
name: string;
|
|
13
|
-
writable: boolean;
|
|
14
|
-
}, import("../classification/classification.ts").ClassificationSchemaInput>>, z.ZodObject<{
|
|
2
|
+
declare const StandardizedClassificationSchemaDefinition: z.ZodObject<{
|
|
15
3
|
category: z.ZodString;
|
|
16
4
|
code: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17
5
|
creatable: z.ZodBoolean;
|
|
@@ -24,9 +12,10 @@ declare const StandardizedClassificationSchemaDefinition: z.ZodIntersection<z.Zo
|
|
|
24
12
|
name: z.ZodString;
|
|
25
13
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
26
14
|
writable: z.ZodBoolean;
|
|
27
|
-
}, z.core.$strip
|
|
15
|
+
}, z.core.$strip>;
|
|
28
16
|
type StandardizedClassificationDefinition = z.infer<typeof StandardizedClassificationSchemaDefinition>;
|
|
29
|
-
export
|
|
17
|
+
export interface StandardizedClassificationSchemaInput extends z.input<typeof StandardizedClassificationSchemaDefinition> {
|
|
18
|
+
}
|
|
30
19
|
/**
|
|
31
20
|
* Canonical standardized classification projection backed by res_classification_ref. Rows are join-existing-only; creatable is false until a taxonomy writer exists.
|
|
32
21
|
*
|
|
@@ -1,7 +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
|
-
|
|
4
|
-
const StandardizedClassificationSchemaDefinition = z.intersection(ClassificationSchema, z.object({
|
|
3
|
+
const StandardizedClassificationSchemaDefinition = z.object({
|
|
5
4
|
/** Standardized category token. */
|
|
6
5
|
category: z.string(),
|
|
7
6
|
/** Standardized classification code when present. */
|
|
@@ -26,7 +25,7 @@ const StandardizedClassificationSchemaDefinition = z.intersection(Classification
|
|
|
26
25
|
updatedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
27
26
|
/** Existing standardized rows can be joined through classificationId. */
|
|
28
27
|
writable: z.boolean(),
|
|
29
|
-
})
|
|
28
|
+
});
|
|
30
29
|
/**
|
|
31
30
|
* Canonical standardized classification projection backed by res_classification_ref. Rows are join-existing-only; creatable is false until a taxonomy writer exists.
|
|
32
31
|
*
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Upstream web search provider: SERPAPI is Google results through SerpAPI, EXA is Exa's instant search with highlights, and EXA_DEEP is Exa's slower, broader deep search.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema WebSearchProvider
|
|
6
|
+
* @endpoint GET /v1/web/searches/jobs/{jobId}
|
|
7
|
+
* @endpoint POST /v1/web/search
|
|
8
|
+
* @usedBySchema SearchSchema
|
|
9
|
+
* @contractShape web.search-provider
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export declare const WebSearchProviderSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
13
|
+
EXA: "EXA";
|
|
14
|
+
EXA_DEEP: "EXA_DEEP";
|
|
15
|
+
SERPAPI: "SERPAPI";
|
|
16
|
+
}>, z.ZodString]>;
|
|
17
|
+
export type WebSearchProvider = z.infer<typeof WebSearchProviderSchema>;
|
|
18
|
+
//# sourceMappingURL=search-provider.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
* Upstream web search provider: SERPAPI is Google results through SerpAPI, EXA is Exa's instant search with highlights, and EXA_DEEP is Exa's slower, broader deep search.
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema WebSearchProvider
|
|
7
|
+
* @endpoint GET /v1/web/searches/jobs/{jobId}
|
|
8
|
+
* @endpoint POST /v1/web/search
|
|
9
|
+
* @usedBySchema SearchSchema
|
|
10
|
+
* @contractShape web.search-provider
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export const WebSearchProviderSchema = z.union([
|
|
14
|
+
z.enum(["SERPAPI", "EXA", "EXA_DEEP"]),
|
|
15
|
+
z.string(),
|
|
16
|
+
]);
|
|
17
|
+
//# sourceMappingURL=search-provider.js.map
|
package/dist/web/search.d.ts
CHANGED
|
@@ -66,6 +66,7 @@ declare const WebSearchSchemaDefinition: z.ZodObject<{
|
|
|
66
66
|
deep?: boolean | undefined;
|
|
67
67
|
deferredAiOverview?: boolean | undefined;
|
|
68
68
|
language?: string | null | undefined;
|
|
69
|
+
provider?: string | null | undefined;
|
|
69
70
|
region?: string | null | undefined;
|
|
70
71
|
resultLimit?: number | null | undefined;
|
|
71
72
|
retrievedFor?: {
|
|
@@ -84,6 +85,7 @@ declare const WebSearchSchemaDefinition: z.ZodObject<{
|
|
|
84
85
|
deep?: boolean | undefined;
|
|
85
86
|
deferredAiOverview?: boolean | undefined;
|
|
86
87
|
language?: string | null | undefined;
|
|
88
|
+
provider?: string | null | undefined;
|
|
87
89
|
region?: string | null | undefined;
|
|
88
90
|
resultLimit?: number | null | undefined;
|
|
89
91
|
retrievedFor?: {
|
package/dist/web/search.js
CHANGED
|
@@ -5,7 +5,7 @@ import { SearchHitSchema } from "../search/hit.js";
|
|
|
5
5
|
import { SearchSchema } from "../search/search.js";
|
|
6
6
|
import { SourceDocumentListSchema } from "../source/document-list.js";
|
|
7
7
|
const WebSearchSchemaDefinition = z.object({
|
|
8
|
-
/** Google's AI Overview: returned whenever Google answers inline or its deferred overview is stored (fetched
|
|
8
|
+
/** Google's AI Overview: returned whenever Google answers inline or its deferred overview is stored (fetched by this or an earlier search that set `deferredAiOverview`); null when Google produced none or no such fetch stored its deferred overview */
|
|
9
9
|
aiOverview: SearchAiOverviewSchema.nullish(),
|
|
10
10
|
/** Source-document ledger row backing this result */
|
|
11
11
|
document: SourceDocumentListSchema,
|