@goperigon/perigon-ts 2.5.0 → 4.6.2
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/index.cjs +2 -2
- package/dist/index.d.ts +2059 -695
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ declare class ServerError extends HttpError {
|
|
|
55
55
|
constructor(response: Response, body?: any);
|
|
56
56
|
}
|
|
57
57
|
declare class NetworkError extends Error {
|
|
58
|
+
readonly cause: Error;
|
|
58
59
|
constructor(originalError: Error);
|
|
59
60
|
}
|
|
60
61
|
declare function createHttpError(response: Response, body?: any): HttpError;
|
|
@@ -527,6 +528,7 @@ declare const KeyPointSchema: z.ZodObject<{
|
|
|
527
528
|
}>;
|
|
528
529
|
type KeyPoint = z.infer<typeof KeyPointSchema>;
|
|
529
530
|
declare const LocationCountSchema: z.ZodObject<{
|
|
531
|
+
country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
530
532
|
state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
531
533
|
county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
532
534
|
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -534,12 +536,14 @@ declare const LocationCountSchema: z.ZodObject<{
|
|
|
534
536
|
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
535
537
|
}, "strip", z.ZodTypeAny, {
|
|
536
538
|
count?: number | null | undefined;
|
|
539
|
+
country?: string | null | undefined;
|
|
537
540
|
state?: string | null | undefined;
|
|
538
541
|
county?: string | null | undefined;
|
|
539
542
|
city?: string | null | undefined;
|
|
540
543
|
area?: string | null | undefined;
|
|
541
544
|
}, {
|
|
542
545
|
count?: number | null | undefined;
|
|
546
|
+
country?: string | null | undefined;
|
|
543
547
|
state?: string | null | undefined;
|
|
544
548
|
county?: string | null | undefined;
|
|
545
549
|
city?: string | null | undefined;
|
|
@@ -967,6 +971,7 @@ declare const NewsClusterSchema: z.ZodObject<{
|
|
|
967
971
|
symbols?: string[] | null | undefined;
|
|
968
972
|
}>, "many">>>;
|
|
969
973
|
locations: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
974
|
+
country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
970
975
|
state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
971
976
|
county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
972
977
|
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -974,12 +979,14 @@ declare const NewsClusterSchema: z.ZodObject<{
|
|
|
974
979
|
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
975
980
|
}, "strip", z.ZodTypeAny, {
|
|
976
981
|
count?: number | null | undefined;
|
|
982
|
+
country?: string | null | undefined;
|
|
977
983
|
state?: string | null | undefined;
|
|
978
984
|
county?: string | null | undefined;
|
|
979
985
|
city?: string | null | undefined;
|
|
980
986
|
area?: string | null | undefined;
|
|
981
987
|
}, {
|
|
982
988
|
count?: number | null | undefined;
|
|
989
|
+
country?: string | null | undefined;
|
|
983
990
|
state?: string | null | undefined;
|
|
984
991
|
county?: string | null | undefined;
|
|
985
992
|
city?: string | null | undefined;
|
|
@@ -1013,6 +1020,7 @@ declare const NewsClusterSchema: z.ZodObject<{
|
|
|
1013
1020
|
id?: string | null | undefined;
|
|
1014
1021
|
locations?: {
|
|
1015
1022
|
count?: number | null | undefined;
|
|
1023
|
+
country?: string | null | undefined;
|
|
1016
1024
|
state?: string | null | undefined;
|
|
1017
1025
|
county?: string | null | undefined;
|
|
1018
1026
|
city?: string | null | undefined;
|
|
@@ -1121,6 +1129,7 @@ declare const NewsClusterSchema: z.ZodObject<{
|
|
|
1121
1129
|
id?: string | null | undefined;
|
|
1122
1130
|
locations?: {
|
|
1123
1131
|
count?: number | null | undefined;
|
|
1132
|
+
country?: string | null | undefined;
|
|
1124
1133
|
state?: string | null | undefined;
|
|
1125
1134
|
county?: string | null | undefined;
|
|
1126
1135
|
city?: string | null | undefined;
|
|
@@ -1814,6 +1823,7 @@ declare const ArticleSchema: z.ZodObject<{
|
|
|
1814
1823
|
symbols?: string[] | null | undefined;
|
|
1815
1824
|
}>, "many">>>;
|
|
1816
1825
|
locations: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1826
|
+
country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1817
1827
|
state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1818
1828
|
county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1819
1829
|
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1821,12 +1831,14 @@ declare const ArticleSchema: z.ZodObject<{
|
|
|
1821
1831
|
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1822
1832
|
}, "strip", z.ZodTypeAny, {
|
|
1823
1833
|
count?: number | null | undefined;
|
|
1834
|
+
country?: string | null | undefined;
|
|
1824
1835
|
state?: string | null | undefined;
|
|
1825
1836
|
county?: string | null | undefined;
|
|
1826
1837
|
city?: string | null | undefined;
|
|
1827
1838
|
area?: string | null | undefined;
|
|
1828
1839
|
}, {
|
|
1829
1840
|
count?: number | null | undefined;
|
|
1841
|
+
country?: string | null | undefined;
|
|
1830
1842
|
state?: string | null | undefined;
|
|
1831
1843
|
county?: string | null | undefined;
|
|
1832
1844
|
city?: string | null | undefined;
|
|
@@ -1860,6 +1872,7 @@ declare const ArticleSchema: z.ZodObject<{
|
|
|
1860
1872
|
id?: string | null | undefined;
|
|
1861
1873
|
locations?: {
|
|
1862
1874
|
count?: number | null | undefined;
|
|
1875
|
+
country?: string | null | undefined;
|
|
1863
1876
|
state?: string | null | undefined;
|
|
1864
1877
|
county?: string | null | undefined;
|
|
1865
1878
|
city?: string | null | undefined;
|
|
@@ -1968,6 +1981,7 @@ declare const ArticleSchema: z.ZodObject<{
|
|
|
1968
1981
|
id?: string | null | undefined;
|
|
1969
1982
|
locations?: {
|
|
1970
1983
|
count?: number | null | undefined;
|
|
1984
|
+
country?: string | null | undefined;
|
|
1971
1985
|
state?: string | null | undefined;
|
|
1972
1986
|
county?: string | null | undefined;
|
|
1973
1987
|
city?: string | null | undefined;
|
|
@@ -2380,6 +2394,7 @@ declare const ArticleSchema: z.ZodObject<{
|
|
|
2380
2394
|
id?: string | null | undefined;
|
|
2381
2395
|
locations?: {
|
|
2382
2396
|
count?: number | null | undefined;
|
|
2397
|
+
country?: string | null | undefined;
|
|
2383
2398
|
state?: string | null | undefined;
|
|
2384
2399
|
county?: string | null | undefined;
|
|
2385
2400
|
city?: string | null | undefined;
|
|
@@ -2653,6 +2668,7 @@ declare const ArticleSchema: z.ZodObject<{
|
|
|
2653
2668
|
id?: string | null | undefined;
|
|
2654
2669
|
locations?: {
|
|
2655
2670
|
count?: number | null | undefined;
|
|
2671
|
+
country?: string | null | undefined;
|
|
2656
2672
|
state?: string | null | undefined;
|
|
2657
2673
|
county?: string | null | undefined;
|
|
2658
2674
|
city?: string | null | undefined;
|
|
@@ -4087,6 +4103,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
|
|
|
4087
4103
|
symbols?: string[] | null | undefined;
|
|
4088
4104
|
}>, "many">>>;
|
|
4089
4105
|
locations: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4106
|
+
country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4090
4107
|
state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4091
4108
|
county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4092
4109
|
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -4094,12 +4111,14 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
|
|
|
4094
4111
|
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
4095
4112
|
}, "strip", z.ZodTypeAny, {
|
|
4096
4113
|
count?: number | null | undefined;
|
|
4114
|
+
country?: string | null | undefined;
|
|
4097
4115
|
state?: string | null | undefined;
|
|
4098
4116
|
county?: string | null | undefined;
|
|
4099
4117
|
city?: string | null | undefined;
|
|
4100
4118
|
area?: string | null | undefined;
|
|
4101
4119
|
}, {
|
|
4102
4120
|
count?: number | null | undefined;
|
|
4121
|
+
country?: string | null | undefined;
|
|
4103
4122
|
state?: string | null | undefined;
|
|
4104
4123
|
county?: string | null | undefined;
|
|
4105
4124
|
city?: string | null | undefined;
|
|
@@ -4133,6 +4152,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
|
|
|
4133
4152
|
id?: string | null | undefined;
|
|
4134
4153
|
locations?: {
|
|
4135
4154
|
count?: number | null | undefined;
|
|
4155
|
+
country?: string | null | undefined;
|
|
4136
4156
|
state?: string | null | undefined;
|
|
4137
4157
|
county?: string | null | undefined;
|
|
4138
4158
|
city?: string | null | undefined;
|
|
@@ -4241,6 +4261,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
|
|
|
4241
4261
|
id?: string | null | undefined;
|
|
4242
4262
|
locations?: {
|
|
4243
4263
|
count?: number | null | undefined;
|
|
4264
|
+
country?: string | null | undefined;
|
|
4244
4265
|
state?: string | null | undefined;
|
|
4245
4266
|
county?: string | null | undefined;
|
|
4246
4267
|
city?: string | null | undefined;
|
|
@@ -4653,6 +4674,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
|
|
|
4653
4674
|
id?: string | null | undefined;
|
|
4654
4675
|
locations?: {
|
|
4655
4676
|
count?: number | null | undefined;
|
|
4677
|
+
country?: string | null | undefined;
|
|
4656
4678
|
state?: string | null | undefined;
|
|
4657
4679
|
county?: string | null | undefined;
|
|
4658
4680
|
city?: string | null | undefined;
|
|
@@ -4926,6 +4948,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
|
|
|
4926
4948
|
id?: string | null | undefined;
|
|
4927
4949
|
locations?: {
|
|
4928
4950
|
count?: number | null | undefined;
|
|
4951
|
+
country?: string | null | undefined;
|
|
4929
4952
|
state?: string | null | undefined;
|
|
4930
4953
|
county?: string | null | undefined;
|
|
4931
4954
|
city?: string | null | undefined;
|
|
@@ -5202,6 +5225,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
|
|
|
5202
5225
|
id?: string | null | undefined;
|
|
5203
5226
|
locations?: {
|
|
5204
5227
|
count?: number | null | undefined;
|
|
5228
|
+
country?: string | null | undefined;
|
|
5205
5229
|
state?: string | null | undefined;
|
|
5206
5230
|
county?: string | null | undefined;
|
|
5207
5231
|
city?: string | null | undefined;
|
|
@@ -5478,6 +5502,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
|
|
|
5478
5502
|
id?: string | null | undefined;
|
|
5479
5503
|
locations?: {
|
|
5480
5504
|
count?: number | null | undefined;
|
|
5505
|
+
country?: string | null | undefined;
|
|
5481
5506
|
state?: string | null | undefined;
|
|
5482
5507
|
county?: string | null | undefined;
|
|
5483
5508
|
city?: string | null | undefined;
|
|
@@ -6161,6 +6186,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
6161
6186
|
symbols?: string[] | null | undefined;
|
|
6162
6187
|
}>, "many">>>;
|
|
6163
6188
|
locations: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6189
|
+
country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6164
6190
|
state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6165
6191
|
county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6166
6192
|
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -6168,12 +6194,14 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
6168
6194
|
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
6169
6195
|
}, "strip", z.ZodTypeAny, {
|
|
6170
6196
|
count?: number | null | undefined;
|
|
6197
|
+
country?: string | null | undefined;
|
|
6171
6198
|
state?: string | null | undefined;
|
|
6172
6199
|
county?: string | null | undefined;
|
|
6173
6200
|
city?: string | null | undefined;
|
|
6174
6201
|
area?: string | null | undefined;
|
|
6175
6202
|
}, {
|
|
6176
6203
|
count?: number | null | undefined;
|
|
6204
|
+
country?: string | null | undefined;
|
|
6177
6205
|
state?: string | null | undefined;
|
|
6178
6206
|
county?: string | null | undefined;
|
|
6179
6207
|
city?: string | null | undefined;
|
|
@@ -6207,6 +6235,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
6207
6235
|
id?: string | null | undefined;
|
|
6208
6236
|
locations?: {
|
|
6209
6237
|
count?: number | null | undefined;
|
|
6238
|
+
country?: string | null | undefined;
|
|
6210
6239
|
state?: string | null | undefined;
|
|
6211
6240
|
county?: string | null | undefined;
|
|
6212
6241
|
city?: string | null | undefined;
|
|
@@ -6315,6 +6344,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
6315
6344
|
id?: string | null | undefined;
|
|
6316
6345
|
locations?: {
|
|
6317
6346
|
count?: number | null | undefined;
|
|
6347
|
+
country?: string | null | undefined;
|
|
6318
6348
|
state?: string | null | undefined;
|
|
6319
6349
|
county?: string | null | undefined;
|
|
6320
6350
|
city?: string | null | undefined;
|
|
@@ -6727,6 +6757,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
6727
6757
|
id?: string | null | undefined;
|
|
6728
6758
|
locations?: {
|
|
6729
6759
|
count?: number | null | undefined;
|
|
6760
|
+
country?: string | null | undefined;
|
|
6730
6761
|
state?: string | null | undefined;
|
|
6731
6762
|
county?: string | null | undefined;
|
|
6732
6763
|
city?: string | null | undefined;
|
|
@@ -7000,6 +7031,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
7000
7031
|
id?: string | null | undefined;
|
|
7001
7032
|
locations?: {
|
|
7002
7033
|
count?: number | null | undefined;
|
|
7034
|
+
country?: string | null | undefined;
|
|
7003
7035
|
state?: string | null | undefined;
|
|
7004
7036
|
county?: string | null | undefined;
|
|
7005
7037
|
city?: string | null | undefined;
|
|
@@ -7276,6 +7308,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
7276
7308
|
id?: string | null | undefined;
|
|
7277
7309
|
locations?: {
|
|
7278
7310
|
count?: number | null | undefined;
|
|
7311
|
+
country?: string | null | undefined;
|
|
7279
7312
|
state?: string | null | undefined;
|
|
7280
7313
|
county?: string | null | undefined;
|
|
7281
7314
|
city?: string | null | undefined;
|
|
@@ -7552,6 +7585,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
7552
7585
|
id?: string | null | undefined;
|
|
7553
7586
|
locations?: {
|
|
7554
7587
|
count?: number | null | undefined;
|
|
7588
|
+
country?: string | null | undefined;
|
|
7555
7589
|
state?: string | null | undefined;
|
|
7556
7590
|
county?: string | null | undefined;
|
|
7557
7591
|
city?: string | null | undefined;
|
|
@@ -7831,6 +7865,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
7831
7865
|
id?: string | null | undefined;
|
|
7832
7866
|
locations?: {
|
|
7833
7867
|
count?: number | null | undefined;
|
|
7868
|
+
country?: string | null | undefined;
|
|
7834
7869
|
state?: string | null | undefined;
|
|
7835
7870
|
county?: string | null | undefined;
|
|
7836
7871
|
city?: string | null | undefined;
|
|
@@ -8110,6 +8145,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
8110
8145
|
id?: string | null | undefined;
|
|
8111
8146
|
locations?: {
|
|
8112
8147
|
count?: number | null | undefined;
|
|
8148
|
+
country?: string | null | undefined;
|
|
8113
8149
|
state?: string | null | undefined;
|
|
8114
8150
|
county?: string | null | undefined;
|
|
8115
8151
|
city?: string | null | undefined;
|
|
@@ -8901,20 +8937,23 @@ declare const CompanySearchResultSchema: z.ZodObject<{
|
|
|
8901
8937
|
numResults: number;
|
|
8902
8938
|
}>;
|
|
8903
8939
|
type CompanySearchResult = z.infer<typeof CompanySearchResultSchema>;
|
|
8904
|
-
declare const
|
|
8905
|
-
|
|
8906
|
-
|
|
8907
|
-
|
|
8940
|
+
declare const CreateSourceGroupParamsSchema: z.ZodObject<{
|
|
8941
|
+
name: z.ZodString;
|
|
8942
|
+
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8943
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8944
|
+
domains: z.ZodArray<z.ZodString, "many">;
|
|
8908
8945
|
}, "strip", z.ZodTypeAny, {
|
|
8909
|
-
|
|
8910
|
-
|
|
8911
|
-
|
|
8946
|
+
name: string;
|
|
8947
|
+
domains: string[];
|
|
8948
|
+
description?: string | null | undefined;
|
|
8949
|
+
displayName?: string | null | undefined;
|
|
8912
8950
|
}, {
|
|
8913
|
-
|
|
8914
|
-
|
|
8915
|
-
|
|
8951
|
+
name: string;
|
|
8952
|
+
domains: string[];
|
|
8953
|
+
description?: string | null | undefined;
|
|
8954
|
+
displayName?: string | null | undefined;
|
|
8916
8955
|
}>;
|
|
8917
|
-
type
|
|
8956
|
+
type CreateSourceGroupParams = z.infer<typeof CreateSourceGroupParamsSchema>;
|
|
8918
8957
|
declare const ImageHolderSchema: z.ZodObject<{
|
|
8919
8958
|
url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8920
8959
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8923,333 +8962,37 @@ declare const ImageHolderSchema: z.ZodObject<{
|
|
|
8923
8962
|
url?: string | null | undefined;
|
|
8924
8963
|
}>;
|
|
8925
8964
|
type ImageHolder = z.infer<typeof ImageHolderSchema>;
|
|
8926
|
-
declare const
|
|
8927
|
-
|
|
8928
|
-
|
|
8929
|
-
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
8935
|
-
|
|
8936
|
-
|
|
8937
|
-
|
|
8938
|
-
|
|
8939
|
-
|
|
8940
|
-
|
|
8941
|
-
|
|
8942
|
-
|
|
8943
|
-
|
|
8944
|
-
|
|
8945
|
-
|
|
8946
|
-
|
|
8947
|
-
|
|
8948
|
-
|
|
8949
|
-
|
|
8950
|
-
|
|
8951
|
-
|
|
8952
|
-
|
|
8953
|
-
|
|
8954
|
-
}>, "many">>>;
|
|
8955
|
-
updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8956
|
-
topTopics: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8957
|
-
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8958
|
-
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
8959
|
-
}, "strip", z.ZodTypeAny, {
|
|
8960
|
-
name?: string | null | undefined;
|
|
8961
|
-
count?: number | null | undefined;
|
|
8962
|
-
}, {
|
|
8963
|
-
name?: string | null | undefined;
|
|
8964
|
-
count?: number | null | undefined;
|
|
8965
|
-
}>, "many">>>;
|
|
8966
|
-
topSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8967
|
-
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8968
|
-
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
8969
|
-
}, "strip", z.ZodTypeAny, {
|
|
8970
|
-
name?: string | null | undefined;
|
|
8971
|
-
count?: number | null | undefined;
|
|
8972
|
-
}, {
|
|
8973
|
-
name?: string | null | undefined;
|
|
8974
|
-
count?: number | null | undefined;
|
|
8975
|
-
}>, "many">>>;
|
|
8976
|
-
topCategories: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8977
|
-
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8978
|
-
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
8979
|
-
}, "strip", z.ZodTypeAny, {
|
|
8980
|
-
name?: string | null | undefined;
|
|
8981
|
-
count?: number | null | undefined;
|
|
8982
|
-
}, {
|
|
8983
|
-
name?: string | null | undefined;
|
|
8984
|
-
count?: number | null | undefined;
|
|
8985
|
-
}>, "many">>>;
|
|
8986
|
-
topLabels: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8987
|
-
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8988
|
-
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
8989
|
-
}, "strip", z.ZodTypeAny, {
|
|
8990
|
-
name?: string | null | undefined;
|
|
8991
|
-
count?: number | null | undefined;
|
|
8992
|
-
}, {
|
|
8993
|
-
name?: string | null | undefined;
|
|
8994
|
-
count?: number | null | undefined;
|
|
8995
|
-
}>, "many">>>;
|
|
8996
|
-
topCountries: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8997
|
-
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8998
|
-
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
8999
|
-
}, "strip", z.ZodTypeAny, {
|
|
9000
|
-
name?: string | null | undefined;
|
|
9001
|
-
count?: number | null | undefined;
|
|
9002
|
-
}, {
|
|
9003
|
-
name?: string | null | undefined;
|
|
9004
|
-
count?: number | null | undefined;
|
|
9005
|
-
}>, "many">>>;
|
|
9006
|
-
avgMonthlyPosts: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
9007
|
-
twitterHandle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9008
|
-
twitterBio: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9009
|
-
imageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9010
|
-
linkedinUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9011
|
-
linkedinConnections: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
9012
|
-
linkedinFollowers: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
9013
|
-
facebookUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9014
|
-
instagramUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9015
|
-
websiteUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9016
|
-
blogUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9017
|
-
tumblrUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9018
|
-
youtubeUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8965
|
+
declare const WikidataDateHolderSchema: z.ZodObject<{
|
|
8966
|
+
time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8967
|
+
precision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8968
|
+
}, "strip", z.ZodTypeAny, {
|
|
8969
|
+
time?: string | null | undefined;
|
|
8970
|
+
precision?: string | null | undefined;
|
|
8971
|
+
}, {
|
|
8972
|
+
time?: string | null | undefined;
|
|
8973
|
+
precision?: string | null | undefined;
|
|
8974
|
+
}>;
|
|
8975
|
+
type WikidataDateHolder = z.infer<typeof WikidataDateHolderSchema>;
|
|
8976
|
+
declare const WikidataLabelHolderSchema: z.ZodObject<{
|
|
8977
|
+
wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8978
|
+
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8979
|
+
}, "strip", z.ZodTypeAny, {
|
|
8980
|
+
wikidataId?: string | null | undefined;
|
|
8981
|
+
label?: string | null | undefined;
|
|
8982
|
+
}, {
|
|
8983
|
+
wikidataId?: string | null | undefined;
|
|
8984
|
+
label?: string | null | undefined;
|
|
8985
|
+
}>;
|
|
8986
|
+
type WikidataLabelHolder = z.infer<typeof WikidataLabelHolderSchema>;
|
|
8987
|
+
declare const WikidataPoliticalPartyHolderSchema: z.ZodObject<{
|
|
8988
|
+
wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8989
|
+
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8990
|
+
startTime: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
8991
|
+
time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8992
|
+
precision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9019
8993
|
}, "strip", z.ZodTypeAny, {
|
|
9020
|
-
|
|
9021
|
-
|
|
9022
|
-
id?: string | null | undefined;
|
|
9023
|
-
fullName?: string | null | undefined;
|
|
9024
|
-
headline?: string | null | undefined;
|
|
9025
|
-
description?: string | null | undefined;
|
|
9026
|
-
title?: string | null | undefined;
|
|
9027
|
-
locations?: {
|
|
9028
|
-
country?: string | null | undefined;
|
|
9029
|
-
state?: string | null | undefined;
|
|
9030
|
-
county?: string | null | undefined;
|
|
9031
|
-
city?: string | null | undefined;
|
|
9032
|
-
area?: string | null | undefined;
|
|
9033
|
-
}[] | null | undefined;
|
|
9034
|
-
topTopics?: {
|
|
9035
|
-
name?: string | null | undefined;
|
|
9036
|
-
count?: number | null | undefined;
|
|
9037
|
-
}[] | null | undefined;
|
|
9038
|
-
topSources?: {
|
|
9039
|
-
name?: string | null | undefined;
|
|
9040
|
-
count?: number | null | undefined;
|
|
9041
|
-
}[] | null | undefined;
|
|
9042
|
-
topCategories?: {
|
|
9043
|
-
name?: string | null | undefined;
|
|
9044
|
-
count?: number | null | undefined;
|
|
9045
|
-
}[] | null | undefined;
|
|
9046
|
-
topLabels?: {
|
|
9047
|
-
name?: string | null | undefined;
|
|
9048
|
-
count?: number | null | undefined;
|
|
9049
|
-
}[] | null | undefined;
|
|
9050
|
-
topCountries?: {
|
|
9051
|
-
name?: string | null | undefined;
|
|
9052
|
-
count?: number | null | undefined;
|
|
9053
|
-
}[] | null | undefined;
|
|
9054
|
-
avgMonthlyPosts?: number | null | undefined;
|
|
9055
|
-
twitterHandle?: string | null | undefined;
|
|
9056
|
-
twitterBio?: string | null | undefined;
|
|
9057
|
-
imageUrl?: string | null | undefined;
|
|
9058
|
-
linkedinUrl?: string | null | undefined;
|
|
9059
|
-
linkedinConnections?: number | null | undefined;
|
|
9060
|
-
linkedinFollowers?: number | null | undefined;
|
|
9061
|
-
facebookUrl?: string | null | undefined;
|
|
9062
|
-
instagramUrl?: string | null | undefined;
|
|
9063
|
-
websiteUrl?: string | null | undefined;
|
|
9064
|
-
blogUrl?: string | null | undefined;
|
|
9065
|
-
tumblrUrl?: string | null | undefined;
|
|
9066
|
-
youtubeUrl?: string | null | undefined;
|
|
9067
|
-
}, {
|
|
9068
|
-
name?: string | null | undefined;
|
|
9069
|
-
updatedAt?: string | null | undefined;
|
|
9070
|
-
id?: string | null | undefined;
|
|
9071
|
-
fullName?: string | null | undefined;
|
|
9072
|
-
headline?: string | null | undefined;
|
|
9073
|
-
description?: string | null | undefined;
|
|
9074
|
-
title?: string | null | undefined;
|
|
9075
|
-
locations?: {
|
|
9076
|
-
country?: string | null | undefined;
|
|
9077
|
-
state?: string | null | undefined;
|
|
9078
|
-
county?: string | null | undefined;
|
|
9079
|
-
city?: string | null | undefined;
|
|
9080
|
-
area?: string | null | undefined;
|
|
9081
|
-
}[] | null | undefined;
|
|
9082
|
-
topTopics?: {
|
|
9083
|
-
name?: string | null | undefined;
|
|
9084
|
-
count?: number | null | undefined;
|
|
9085
|
-
}[] | null | undefined;
|
|
9086
|
-
topSources?: {
|
|
9087
|
-
name?: string | null | undefined;
|
|
9088
|
-
count?: number | null | undefined;
|
|
9089
|
-
}[] | null | undefined;
|
|
9090
|
-
topCategories?: {
|
|
9091
|
-
name?: string | null | undefined;
|
|
9092
|
-
count?: number | null | undefined;
|
|
9093
|
-
}[] | null | undefined;
|
|
9094
|
-
topLabels?: {
|
|
9095
|
-
name?: string | null | undefined;
|
|
9096
|
-
count?: number | null | undefined;
|
|
9097
|
-
}[] | null | undefined;
|
|
9098
|
-
topCountries?: {
|
|
9099
|
-
name?: string | null | undefined;
|
|
9100
|
-
count?: number | null | undefined;
|
|
9101
|
-
}[] | null | undefined;
|
|
9102
|
-
avgMonthlyPosts?: number | null | undefined;
|
|
9103
|
-
twitterHandle?: string | null | undefined;
|
|
9104
|
-
twitterBio?: string | null | undefined;
|
|
9105
|
-
imageUrl?: string | null | undefined;
|
|
9106
|
-
linkedinUrl?: string | null | undefined;
|
|
9107
|
-
linkedinConnections?: number | null | undefined;
|
|
9108
|
-
linkedinFollowers?: number | null | undefined;
|
|
9109
|
-
facebookUrl?: string | null | undefined;
|
|
9110
|
-
instagramUrl?: string | null | undefined;
|
|
9111
|
-
websiteUrl?: string | null | undefined;
|
|
9112
|
-
blogUrl?: string | null | undefined;
|
|
9113
|
-
tumblrUrl?: string | null | undefined;
|
|
9114
|
-
youtubeUrl?: string | null | undefined;
|
|
9115
|
-
}>, "many">;
|
|
9116
|
-
}, "strip", z.ZodTypeAny, {
|
|
9117
|
-
status: number;
|
|
9118
|
-
results: {
|
|
9119
|
-
name?: string | null | undefined;
|
|
9120
|
-
updatedAt?: string | null | undefined;
|
|
9121
|
-
id?: string | null | undefined;
|
|
9122
|
-
fullName?: string | null | undefined;
|
|
9123
|
-
headline?: string | null | undefined;
|
|
9124
|
-
description?: string | null | undefined;
|
|
9125
|
-
title?: string | null | undefined;
|
|
9126
|
-
locations?: {
|
|
9127
|
-
country?: string | null | undefined;
|
|
9128
|
-
state?: string | null | undefined;
|
|
9129
|
-
county?: string | null | undefined;
|
|
9130
|
-
city?: string | null | undefined;
|
|
9131
|
-
area?: string | null | undefined;
|
|
9132
|
-
}[] | null | undefined;
|
|
9133
|
-
topTopics?: {
|
|
9134
|
-
name?: string | null | undefined;
|
|
9135
|
-
count?: number | null | undefined;
|
|
9136
|
-
}[] | null | undefined;
|
|
9137
|
-
topSources?: {
|
|
9138
|
-
name?: string | null | undefined;
|
|
9139
|
-
count?: number | null | undefined;
|
|
9140
|
-
}[] | null | undefined;
|
|
9141
|
-
topCategories?: {
|
|
9142
|
-
name?: string | null | undefined;
|
|
9143
|
-
count?: number | null | undefined;
|
|
9144
|
-
}[] | null | undefined;
|
|
9145
|
-
topLabels?: {
|
|
9146
|
-
name?: string | null | undefined;
|
|
9147
|
-
count?: number | null | undefined;
|
|
9148
|
-
}[] | null | undefined;
|
|
9149
|
-
topCountries?: {
|
|
9150
|
-
name?: string | null | undefined;
|
|
9151
|
-
count?: number | null | undefined;
|
|
9152
|
-
}[] | null | undefined;
|
|
9153
|
-
avgMonthlyPosts?: number | null | undefined;
|
|
9154
|
-
twitterHandle?: string | null | undefined;
|
|
9155
|
-
twitterBio?: string | null | undefined;
|
|
9156
|
-
imageUrl?: string | null | undefined;
|
|
9157
|
-
linkedinUrl?: string | null | undefined;
|
|
9158
|
-
linkedinConnections?: number | null | undefined;
|
|
9159
|
-
linkedinFollowers?: number | null | undefined;
|
|
9160
|
-
facebookUrl?: string | null | undefined;
|
|
9161
|
-
instagramUrl?: string | null | undefined;
|
|
9162
|
-
websiteUrl?: string | null | undefined;
|
|
9163
|
-
blogUrl?: string | null | undefined;
|
|
9164
|
-
tumblrUrl?: string | null | undefined;
|
|
9165
|
-
youtubeUrl?: string | null | undefined;
|
|
9166
|
-
}[];
|
|
9167
|
-
numResults: number;
|
|
9168
|
-
}, {
|
|
9169
|
-
status: number;
|
|
9170
|
-
results: {
|
|
9171
|
-
name?: string | null | undefined;
|
|
9172
|
-
updatedAt?: string | null | undefined;
|
|
9173
|
-
id?: string | null | undefined;
|
|
9174
|
-
fullName?: string | null | undefined;
|
|
9175
|
-
headline?: string | null | undefined;
|
|
9176
|
-
description?: string | null | undefined;
|
|
9177
|
-
title?: string | null | undefined;
|
|
9178
|
-
locations?: {
|
|
9179
|
-
country?: string | null | undefined;
|
|
9180
|
-
state?: string | null | undefined;
|
|
9181
|
-
county?: string | null | undefined;
|
|
9182
|
-
city?: string | null | undefined;
|
|
9183
|
-
area?: string | null | undefined;
|
|
9184
|
-
}[] | null | undefined;
|
|
9185
|
-
topTopics?: {
|
|
9186
|
-
name?: string | null | undefined;
|
|
9187
|
-
count?: number | null | undefined;
|
|
9188
|
-
}[] | null | undefined;
|
|
9189
|
-
topSources?: {
|
|
9190
|
-
name?: string | null | undefined;
|
|
9191
|
-
count?: number | null | undefined;
|
|
9192
|
-
}[] | null | undefined;
|
|
9193
|
-
topCategories?: {
|
|
9194
|
-
name?: string | null | undefined;
|
|
9195
|
-
count?: number | null | undefined;
|
|
9196
|
-
}[] | null | undefined;
|
|
9197
|
-
topLabels?: {
|
|
9198
|
-
name?: string | null | undefined;
|
|
9199
|
-
count?: number | null | undefined;
|
|
9200
|
-
}[] | null | undefined;
|
|
9201
|
-
topCountries?: {
|
|
9202
|
-
name?: string | null | undefined;
|
|
9203
|
-
count?: number | null | undefined;
|
|
9204
|
-
}[] | null | undefined;
|
|
9205
|
-
avgMonthlyPosts?: number | null | undefined;
|
|
9206
|
-
twitterHandle?: string | null | undefined;
|
|
9207
|
-
twitterBio?: string | null | undefined;
|
|
9208
|
-
imageUrl?: string | null | undefined;
|
|
9209
|
-
linkedinUrl?: string | null | undefined;
|
|
9210
|
-
linkedinConnections?: number | null | undefined;
|
|
9211
|
-
linkedinFollowers?: number | null | undefined;
|
|
9212
|
-
facebookUrl?: string | null | undefined;
|
|
9213
|
-
instagramUrl?: string | null | undefined;
|
|
9214
|
-
websiteUrl?: string | null | undefined;
|
|
9215
|
-
blogUrl?: string | null | undefined;
|
|
9216
|
-
tumblrUrl?: string | null | undefined;
|
|
9217
|
-
youtubeUrl?: string | null | undefined;
|
|
9218
|
-
}[];
|
|
9219
|
-
numResults: number;
|
|
9220
|
-
}>;
|
|
9221
|
-
type JournalistSearchResult = z.infer<typeof JournalistSearchResultSchema>;
|
|
9222
|
-
declare const WikidataDateHolderSchema: z.ZodObject<{
|
|
9223
|
-
time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9224
|
-
precision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9225
|
-
}, "strip", z.ZodTypeAny, {
|
|
9226
|
-
time?: string | null | undefined;
|
|
9227
|
-
precision?: string | null | undefined;
|
|
9228
|
-
}, {
|
|
9229
|
-
time?: string | null | undefined;
|
|
9230
|
-
precision?: string | null | undefined;
|
|
9231
|
-
}>;
|
|
9232
|
-
type WikidataDateHolder = z.infer<typeof WikidataDateHolderSchema>;
|
|
9233
|
-
declare const WikidataLabelHolderSchema: z.ZodObject<{
|
|
9234
|
-
wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9235
|
-
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9236
|
-
}, "strip", z.ZodTypeAny, {
|
|
9237
|
-
wikidataId?: string | null | undefined;
|
|
9238
|
-
label?: string | null | undefined;
|
|
9239
|
-
}, {
|
|
9240
|
-
wikidataId?: string | null | undefined;
|
|
9241
|
-
label?: string | null | undefined;
|
|
9242
|
-
}>;
|
|
9243
|
-
type WikidataLabelHolder = z.infer<typeof WikidataLabelHolderSchema>;
|
|
9244
|
-
declare const WikidataPoliticalPartyHolderSchema: z.ZodObject<{
|
|
9245
|
-
wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9246
|
-
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9247
|
-
startTime: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9248
|
-
time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9249
|
-
precision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9250
|
-
}, "strip", z.ZodTypeAny, {
|
|
9251
|
-
time?: string | null | undefined;
|
|
9252
|
-
precision?: string | null | undefined;
|
|
8994
|
+
time?: string | null | undefined;
|
|
8995
|
+
precision?: string | null | undefined;
|
|
9253
8996
|
}, {
|
|
9254
8997
|
time?: string | null | undefined;
|
|
9255
8998
|
precision?: string | null | undefined;
|
|
@@ -9520,116 +9263,588 @@ declare const PersonSchema: z.ZodObject<{
|
|
|
9520
9263
|
_abstract: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9521
9264
|
}, "strip", z.ZodTypeAny, {
|
|
9522
9265
|
name?: string | null | undefined;
|
|
9523
|
-
createdAt?: string | null | undefined;
|
|
9524
|
-
updatedAt?: string | null | undefined;
|
|
9266
|
+
createdAt?: string | null | undefined;
|
|
9267
|
+
updatedAt?: string | null | undefined;
|
|
9268
|
+
description?: string | null | undefined;
|
|
9269
|
+
wikidataId?: string | null | undefined;
|
|
9270
|
+
gender?: {
|
|
9271
|
+
wikidataId?: string | null | undefined;
|
|
9272
|
+
label?: string | null | undefined;
|
|
9273
|
+
} | null | undefined;
|
|
9274
|
+
dateOfBirth?: {
|
|
9275
|
+
time?: string | null | undefined;
|
|
9276
|
+
precision?: string | null | undefined;
|
|
9277
|
+
} | null | undefined;
|
|
9278
|
+
dateOfDeath?: {
|
|
9279
|
+
time?: string | null | undefined;
|
|
9280
|
+
precision?: string | null | undefined;
|
|
9281
|
+
} | null | undefined;
|
|
9282
|
+
aliases?: string[] | null | undefined;
|
|
9283
|
+
occupation?: {
|
|
9284
|
+
wikidataId?: string | null | undefined;
|
|
9285
|
+
label?: string | null | undefined;
|
|
9286
|
+
}[] | null | undefined;
|
|
9287
|
+
position?: {
|
|
9288
|
+
wikidataId?: string | null | undefined;
|
|
9289
|
+
label?: string | null | undefined;
|
|
9290
|
+
startTime?: {
|
|
9291
|
+
time?: string | null | undefined;
|
|
9292
|
+
precision?: string | null | undefined;
|
|
9293
|
+
} | null | undefined;
|
|
9294
|
+
endTime?: {
|
|
9295
|
+
time?: string | null | undefined;
|
|
9296
|
+
precision?: string | null | undefined;
|
|
9297
|
+
} | null | undefined;
|
|
9298
|
+
employer?: {
|
|
9299
|
+
wikidataId?: string | null | undefined;
|
|
9300
|
+
label?: string | null | undefined;
|
|
9301
|
+
} | null | undefined;
|
|
9302
|
+
}[] | null | undefined;
|
|
9303
|
+
politicalParty?: {
|
|
9304
|
+
wikidataId?: string | null | undefined;
|
|
9305
|
+
label?: string | null | undefined;
|
|
9306
|
+
startTime?: {
|
|
9307
|
+
time?: string | null | undefined;
|
|
9308
|
+
precision?: string | null | undefined;
|
|
9309
|
+
} | null | undefined;
|
|
9310
|
+
endTime?: {
|
|
9311
|
+
time?: string | null | undefined;
|
|
9312
|
+
precision?: string | null | undefined;
|
|
9313
|
+
} | null | undefined;
|
|
9314
|
+
}[] | null | undefined;
|
|
9315
|
+
image?: {
|
|
9316
|
+
url?: string | null | undefined;
|
|
9317
|
+
} | null | undefined;
|
|
9318
|
+
_abstract?: string | null | undefined;
|
|
9319
|
+
}, {
|
|
9320
|
+
name?: string | null | undefined;
|
|
9321
|
+
createdAt?: string | null | undefined;
|
|
9322
|
+
updatedAt?: string | null | undefined;
|
|
9323
|
+
description?: string | null | undefined;
|
|
9324
|
+
wikidataId?: string | null | undefined;
|
|
9325
|
+
gender?: {
|
|
9326
|
+
wikidataId?: string | null | undefined;
|
|
9327
|
+
label?: string | null | undefined;
|
|
9328
|
+
} | null | undefined;
|
|
9329
|
+
dateOfBirth?: {
|
|
9330
|
+
time?: string | null | undefined;
|
|
9331
|
+
precision?: string | null | undefined;
|
|
9332
|
+
} | null | undefined;
|
|
9333
|
+
dateOfDeath?: {
|
|
9334
|
+
time?: string | null | undefined;
|
|
9335
|
+
precision?: string | null | undefined;
|
|
9336
|
+
} | null | undefined;
|
|
9337
|
+
aliases?: string[] | null | undefined;
|
|
9338
|
+
occupation?: {
|
|
9339
|
+
wikidataId?: string | null | undefined;
|
|
9340
|
+
label?: string | null | undefined;
|
|
9341
|
+
}[] | null | undefined;
|
|
9342
|
+
position?: {
|
|
9343
|
+
wikidataId?: string | null | undefined;
|
|
9344
|
+
label?: string | null | undefined;
|
|
9345
|
+
startTime?: {
|
|
9346
|
+
time?: string | null | undefined;
|
|
9347
|
+
precision?: string | null | undefined;
|
|
9348
|
+
} | null | undefined;
|
|
9349
|
+
endTime?: {
|
|
9350
|
+
time?: string | null | undefined;
|
|
9351
|
+
precision?: string | null | undefined;
|
|
9352
|
+
} | null | undefined;
|
|
9353
|
+
employer?: {
|
|
9354
|
+
wikidataId?: string | null | undefined;
|
|
9355
|
+
label?: string | null | undefined;
|
|
9356
|
+
} | null | undefined;
|
|
9357
|
+
}[] | null | undefined;
|
|
9358
|
+
politicalParty?: {
|
|
9359
|
+
wikidataId?: string | null | undefined;
|
|
9360
|
+
label?: string | null | undefined;
|
|
9361
|
+
startTime?: {
|
|
9362
|
+
time?: string | null | undefined;
|
|
9363
|
+
precision?: string | null | undefined;
|
|
9364
|
+
} | null | undefined;
|
|
9365
|
+
endTime?: {
|
|
9366
|
+
time?: string | null | undefined;
|
|
9367
|
+
precision?: string | null | undefined;
|
|
9368
|
+
} | null | undefined;
|
|
9369
|
+
}[] | null | undefined;
|
|
9370
|
+
image?: {
|
|
9371
|
+
url?: string | null | undefined;
|
|
9372
|
+
} | null | undefined;
|
|
9373
|
+
_abstract?: string | null | undefined;
|
|
9374
|
+
}>;
|
|
9375
|
+
type Person = z.infer<typeof PersonSchema>;
|
|
9376
|
+
declare const WatchlistCompanySchema: z.ZodObject<{
|
|
9377
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9378
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9379
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9380
|
+
domain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9381
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
9382
|
+
}, "strip", z.ZodTypeAny, {
|
|
9383
|
+
name?: string | null | undefined;
|
|
9384
|
+
id?: string | null | undefined;
|
|
9385
|
+
description?: string | null | undefined;
|
|
9386
|
+
domain?: string | null | undefined;
|
|
9387
|
+
aliases?: string[] | null | undefined;
|
|
9388
|
+
}, {
|
|
9389
|
+
name?: string | null | undefined;
|
|
9390
|
+
id?: string | null | undefined;
|
|
9391
|
+
description?: string | null | undefined;
|
|
9392
|
+
domain?: string | null | undefined;
|
|
9393
|
+
aliases?: string[] | null | undefined;
|
|
9394
|
+
}>;
|
|
9395
|
+
type WatchlistCompany = z.infer<typeof WatchlistCompanySchema>;
|
|
9396
|
+
declare const WatchlistPersonSchema: z.ZodObject<{
|
|
9397
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9398
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9399
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
9400
|
+
wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9401
|
+
}, "strip", z.ZodTypeAny, {
|
|
9402
|
+
name?: string | null | undefined;
|
|
9403
|
+
description?: string | null | undefined;
|
|
9404
|
+
wikidataId?: string | null | undefined;
|
|
9405
|
+
aliases?: string[] | null | undefined;
|
|
9406
|
+
}, {
|
|
9407
|
+
name?: string | null | undefined;
|
|
9408
|
+
description?: string | null | undefined;
|
|
9409
|
+
wikidataId?: string | null | undefined;
|
|
9410
|
+
aliases?: string[] | null | undefined;
|
|
9411
|
+
}>;
|
|
9412
|
+
type WatchlistPerson = z.infer<typeof WatchlistPersonSchema>;
|
|
9413
|
+
declare const CreateWatchlistParamsSchema: z.ZodObject<{
|
|
9414
|
+
/**
|
|
9415
|
+
* Unique name for the watchlist within the organization
|
|
9416
|
+
*/
|
|
9417
|
+
name: z.ZodString;
|
|
9418
|
+
/**
|
|
9419
|
+
* Display name for the watchlist
|
|
9420
|
+
*/
|
|
9421
|
+
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9422
|
+
/**
|
|
9423
|
+
* Description of the watchlist
|
|
9424
|
+
*/
|
|
9425
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9426
|
+
/**
|
|
9427
|
+
* List of people to include in the watchlist
|
|
9428
|
+
*/
|
|
9429
|
+
people: z.ZodArray<z.ZodObject<{
|
|
9430
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9431
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9432
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
9433
|
+
wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9434
|
+
}, "strip", z.ZodTypeAny, {
|
|
9435
|
+
name?: string | null | undefined;
|
|
9436
|
+
description?: string | null | undefined;
|
|
9437
|
+
wikidataId?: string | null | undefined;
|
|
9438
|
+
aliases?: string[] | null | undefined;
|
|
9439
|
+
}, {
|
|
9440
|
+
name?: string | null | undefined;
|
|
9441
|
+
description?: string | null | undefined;
|
|
9442
|
+
wikidataId?: string | null | undefined;
|
|
9443
|
+
aliases?: string[] | null | undefined;
|
|
9444
|
+
}>, "many">;
|
|
9445
|
+
/**
|
|
9446
|
+
* List of companies to include in the watchlist
|
|
9447
|
+
*/
|
|
9448
|
+
companies: z.ZodArray<z.ZodObject<{
|
|
9449
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9450
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9451
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9452
|
+
domain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9453
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
9454
|
+
}, "strip", z.ZodTypeAny, {
|
|
9455
|
+
name?: string | null | undefined;
|
|
9456
|
+
id?: string | null | undefined;
|
|
9457
|
+
description?: string | null | undefined;
|
|
9458
|
+
domain?: string | null | undefined;
|
|
9459
|
+
aliases?: string[] | null | undefined;
|
|
9460
|
+
}, {
|
|
9461
|
+
name?: string | null | undefined;
|
|
9462
|
+
id?: string | null | undefined;
|
|
9463
|
+
description?: string | null | undefined;
|
|
9464
|
+
domain?: string | null | undefined;
|
|
9465
|
+
aliases?: string[] | null | undefined;
|
|
9466
|
+
}>, "many">;
|
|
9467
|
+
/**
|
|
9468
|
+
* Whether the watchlist is visible in the UI
|
|
9469
|
+
*/
|
|
9470
|
+
visible: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
9471
|
+
}, "strip", z.ZodTypeAny, {
|
|
9472
|
+
name: string;
|
|
9473
|
+
people: {
|
|
9474
|
+
name?: string | null | undefined;
|
|
9475
|
+
description?: string | null | undefined;
|
|
9476
|
+
wikidataId?: string | null | undefined;
|
|
9477
|
+
aliases?: string[] | null | undefined;
|
|
9478
|
+
}[];
|
|
9479
|
+
companies: {
|
|
9480
|
+
name?: string | null | undefined;
|
|
9481
|
+
id?: string | null | undefined;
|
|
9482
|
+
description?: string | null | undefined;
|
|
9483
|
+
domain?: string | null | undefined;
|
|
9484
|
+
aliases?: string[] | null | undefined;
|
|
9485
|
+
}[];
|
|
9486
|
+
description?: string | null | undefined;
|
|
9487
|
+
displayName?: string | null | undefined;
|
|
9488
|
+
visible?: boolean | null | undefined;
|
|
9489
|
+
}, {
|
|
9490
|
+
name: string;
|
|
9491
|
+
people: {
|
|
9492
|
+
name?: string | null | undefined;
|
|
9493
|
+
description?: string | null | undefined;
|
|
9494
|
+
wikidataId?: string | null | undefined;
|
|
9495
|
+
aliases?: string[] | null | undefined;
|
|
9496
|
+
}[];
|
|
9497
|
+
companies: {
|
|
9498
|
+
name?: string | null | undefined;
|
|
9499
|
+
id?: string | null | undefined;
|
|
9500
|
+
description?: string | null | undefined;
|
|
9501
|
+
domain?: string | null | undefined;
|
|
9502
|
+
aliases?: string[] | null | undefined;
|
|
9503
|
+
}[];
|
|
9504
|
+
description?: string | null | undefined;
|
|
9505
|
+
displayName?: string | null | undefined;
|
|
9506
|
+
visible?: boolean | null | undefined;
|
|
9507
|
+
}>;
|
|
9508
|
+
type CreateWatchlistParams = z.infer<typeof CreateWatchlistParamsSchema>;
|
|
9509
|
+
declare const ErrorResponseSchema: z.ZodObject<{
|
|
9510
|
+
status: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
9511
|
+
message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9512
|
+
timestamp: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
9513
|
+
}, "strip", z.ZodTypeAny, {
|
|
9514
|
+
message?: string | null | undefined;
|
|
9515
|
+
status?: number | null | undefined;
|
|
9516
|
+
timestamp?: number | null | undefined;
|
|
9517
|
+
}, {
|
|
9518
|
+
message?: string | null | undefined;
|
|
9519
|
+
status?: number | null | undefined;
|
|
9520
|
+
timestamp?: number | null | undefined;
|
|
9521
|
+
}>;
|
|
9522
|
+
type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
|
|
9523
|
+
declare const JournalistSearchResultSchema: z.ZodObject<{
|
|
9524
|
+
status: z.ZodNumber;
|
|
9525
|
+
numResults: z.ZodNumber;
|
|
9526
|
+
results: z.ZodArray<z.ZodObject<{
|
|
9527
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9528
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9529
|
+
fullName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9530
|
+
headline: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9531
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9532
|
+
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9533
|
+
locations: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9534
|
+
country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9535
|
+
state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9536
|
+
county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9537
|
+
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9538
|
+
area: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9539
|
+
}, "strip", z.ZodTypeAny, {
|
|
9540
|
+
country?: string | null | undefined;
|
|
9541
|
+
state?: string | null | undefined;
|
|
9542
|
+
county?: string | null | undefined;
|
|
9543
|
+
city?: string | null | undefined;
|
|
9544
|
+
area?: string | null | undefined;
|
|
9545
|
+
}, {
|
|
9546
|
+
country?: string | null | undefined;
|
|
9547
|
+
state?: string | null | undefined;
|
|
9548
|
+
county?: string | null | undefined;
|
|
9549
|
+
city?: string | null | undefined;
|
|
9550
|
+
area?: string | null | undefined;
|
|
9551
|
+
}>, "many">>>;
|
|
9552
|
+
updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9553
|
+
topTopics: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9554
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9555
|
+
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
9556
|
+
}, "strip", z.ZodTypeAny, {
|
|
9557
|
+
name?: string | null | undefined;
|
|
9558
|
+
count?: number | null | undefined;
|
|
9559
|
+
}, {
|
|
9560
|
+
name?: string | null | undefined;
|
|
9561
|
+
count?: number | null | undefined;
|
|
9562
|
+
}>, "many">>>;
|
|
9563
|
+
topSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9564
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9565
|
+
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
9566
|
+
}, "strip", z.ZodTypeAny, {
|
|
9567
|
+
name?: string | null | undefined;
|
|
9568
|
+
count?: number | null | undefined;
|
|
9569
|
+
}, {
|
|
9570
|
+
name?: string | null | undefined;
|
|
9571
|
+
count?: number | null | undefined;
|
|
9572
|
+
}>, "many">>>;
|
|
9573
|
+
topCategories: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9574
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9575
|
+
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
9576
|
+
}, "strip", z.ZodTypeAny, {
|
|
9577
|
+
name?: string | null | undefined;
|
|
9578
|
+
count?: number | null | undefined;
|
|
9579
|
+
}, {
|
|
9580
|
+
name?: string | null | undefined;
|
|
9581
|
+
count?: number | null | undefined;
|
|
9582
|
+
}>, "many">>>;
|
|
9583
|
+
topLabels: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9584
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9585
|
+
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
9586
|
+
}, "strip", z.ZodTypeAny, {
|
|
9587
|
+
name?: string | null | undefined;
|
|
9588
|
+
count?: number | null | undefined;
|
|
9589
|
+
}, {
|
|
9590
|
+
name?: string | null | undefined;
|
|
9591
|
+
count?: number | null | undefined;
|
|
9592
|
+
}>, "many">>>;
|
|
9593
|
+
topCountries: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9594
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9595
|
+
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
9596
|
+
}, "strip", z.ZodTypeAny, {
|
|
9597
|
+
name?: string | null | undefined;
|
|
9598
|
+
count?: number | null | undefined;
|
|
9599
|
+
}, {
|
|
9600
|
+
name?: string | null | undefined;
|
|
9601
|
+
count?: number | null | undefined;
|
|
9602
|
+
}>, "many">>>;
|
|
9603
|
+
avgMonthlyPosts: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
9604
|
+
twitterHandle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9605
|
+
twitterBio: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9606
|
+
imageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9607
|
+
linkedinUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9608
|
+
linkedinConnections: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
9609
|
+
linkedinFollowers: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
9610
|
+
facebookUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9611
|
+
instagramUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9612
|
+
websiteUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9613
|
+
blogUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9614
|
+
tumblrUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9615
|
+
youtubeUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9616
|
+
}, "strip", z.ZodTypeAny, {
|
|
9617
|
+
name?: string | null | undefined;
|
|
9618
|
+
updatedAt?: string | null | undefined;
|
|
9619
|
+
id?: string | null | undefined;
|
|
9620
|
+
fullName?: string | null | undefined;
|
|
9621
|
+
headline?: string | null | undefined;
|
|
9622
|
+
description?: string | null | undefined;
|
|
9623
|
+
title?: string | null | undefined;
|
|
9624
|
+
locations?: {
|
|
9625
|
+
country?: string | null | undefined;
|
|
9626
|
+
state?: string | null | undefined;
|
|
9627
|
+
county?: string | null | undefined;
|
|
9628
|
+
city?: string | null | undefined;
|
|
9629
|
+
area?: string | null | undefined;
|
|
9630
|
+
}[] | null | undefined;
|
|
9631
|
+
topTopics?: {
|
|
9632
|
+
name?: string | null | undefined;
|
|
9633
|
+
count?: number | null | undefined;
|
|
9634
|
+
}[] | null | undefined;
|
|
9635
|
+
topSources?: {
|
|
9636
|
+
name?: string | null | undefined;
|
|
9637
|
+
count?: number | null | undefined;
|
|
9638
|
+
}[] | null | undefined;
|
|
9639
|
+
topCategories?: {
|
|
9640
|
+
name?: string | null | undefined;
|
|
9641
|
+
count?: number | null | undefined;
|
|
9642
|
+
}[] | null | undefined;
|
|
9643
|
+
topLabels?: {
|
|
9644
|
+
name?: string | null | undefined;
|
|
9645
|
+
count?: number | null | undefined;
|
|
9646
|
+
}[] | null | undefined;
|
|
9647
|
+
topCountries?: {
|
|
9648
|
+
name?: string | null | undefined;
|
|
9649
|
+
count?: number | null | undefined;
|
|
9650
|
+
}[] | null | undefined;
|
|
9651
|
+
avgMonthlyPosts?: number | null | undefined;
|
|
9652
|
+
twitterHandle?: string | null | undefined;
|
|
9653
|
+
twitterBio?: string | null | undefined;
|
|
9654
|
+
imageUrl?: string | null | undefined;
|
|
9655
|
+
linkedinUrl?: string | null | undefined;
|
|
9656
|
+
linkedinConnections?: number | null | undefined;
|
|
9657
|
+
linkedinFollowers?: number | null | undefined;
|
|
9658
|
+
facebookUrl?: string | null | undefined;
|
|
9659
|
+
instagramUrl?: string | null | undefined;
|
|
9660
|
+
websiteUrl?: string | null | undefined;
|
|
9661
|
+
blogUrl?: string | null | undefined;
|
|
9662
|
+
tumblrUrl?: string | null | undefined;
|
|
9663
|
+
youtubeUrl?: string | null | undefined;
|
|
9664
|
+
}, {
|
|
9665
|
+
name?: string | null | undefined;
|
|
9666
|
+
updatedAt?: string | null | undefined;
|
|
9667
|
+
id?: string | null | undefined;
|
|
9668
|
+
fullName?: string | null | undefined;
|
|
9669
|
+
headline?: string | null | undefined;
|
|
9670
|
+
description?: string | null | undefined;
|
|
9671
|
+
title?: string | null | undefined;
|
|
9672
|
+
locations?: {
|
|
9673
|
+
country?: string | null | undefined;
|
|
9674
|
+
state?: string | null | undefined;
|
|
9675
|
+
county?: string | null | undefined;
|
|
9676
|
+
city?: string | null | undefined;
|
|
9677
|
+
area?: string | null | undefined;
|
|
9678
|
+
}[] | null | undefined;
|
|
9679
|
+
topTopics?: {
|
|
9680
|
+
name?: string | null | undefined;
|
|
9681
|
+
count?: number | null | undefined;
|
|
9682
|
+
}[] | null | undefined;
|
|
9683
|
+
topSources?: {
|
|
9684
|
+
name?: string | null | undefined;
|
|
9685
|
+
count?: number | null | undefined;
|
|
9686
|
+
}[] | null | undefined;
|
|
9687
|
+
topCategories?: {
|
|
9688
|
+
name?: string | null | undefined;
|
|
9689
|
+
count?: number | null | undefined;
|
|
9690
|
+
}[] | null | undefined;
|
|
9691
|
+
topLabels?: {
|
|
9692
|
+
name?: string | null | undefined;
|
|
9693
|
+
count?: number | null | undefined;
|
|
9694
|
+
}[] | null | undefined;
|
|
9695
|
+
topCountries?: {
|
|
9696
|
+
name?: string | null | undefined;
|
|
9697
|
+
count?: number | null | undefined;
|
|
9698
|
+
}[] | null | undefined;
|
|
9699
|
+
avgMonthlyPosts?: number | null | undefined;
|
|
9700
|
+
twitterHandle?: string | null | undefined;
|
|
9701
|
+
twitterBio?: string | null | undefined;
|
|
9702
|
+
imageUrl?: string | null | undefined;
|
|
9703
|
+
linkedinUrl?: string | null | undefined;
|
|
9704
|
+
linkedinConnections?: number | null | undefined;
|
|
9705
|
+
linkedinFollowers?: number | null | undefined;
|
|
9706
|
+
facebookUrl?: string | null | undefined;
|
|
9707
|
+
instagramUrl?: string | null | undefined;
|
|
9708
|
+
websiteUrl?: string | null | undefined;
|
|
9709
|
+
blogUrl?: string | null | undefined;
|
|
9710
|
+
tumblrUrl?: string | null | undefined;
|
|
9711
|
+
youtubeUrl?: string | null | undefined;
|
|
9712
|
+
}>, "many">;
|
|
9713
|
+
}, "strip", z.ZodTypeAny, {
|
|
9714
|
+
status: number;
|
|
9715
|
+
results: {
|
|
9716
|
+
name?: string | null | undefined;
|
|
9717
|
+
updatedAt?: string | null | undefined;
|
|
9718
|
+
id?: string | null | undefined;
|
|
9719
|
+
fullName?: string | null | undefined;
|
|
9720
|
+
headline?: string | null | undefined;
|
|
9721
|
+
description?: string | null | undefined;
|
|
9722
|
+
title?: string | null | undefined;
|
|
9723
|
+
locations?: {
|
|
9724
|
+
country?: string | null | undefined;
|
|
9725
|
+
state?: string | null | undefined;
|
|
9726
|
+
county?: string | null | undefined;
|
|
9727
|
+
city?: string | null | undefined;
|
|
9728
|
+
area?: string | null | undefined;
|
|
9729
|
+
}[] | null | undefined;
|
|
9730
|
+
topTopics?: {
|
|
9731
|
+
name?: string | null | undefined;
|
|
9732
|
+
count?: number | null | undefined;
|
|
9733
|
+
}[] | null | undefined;
|
|
9734
|
+
topSources?: {
|
|
9735
|
+
name?: string | null | undefined;
|
|
9736
|
+
count?: number | null | undefined;
|
|
9737
|
+
}[] | null | undefined;
|
|
9738
|
+
topCategories?: {
|
|
9739
|
+
name?: string | null | undefined;
|
|
9740
|
+
count?: number | null | undefined;
|
|
9741
|
+
}[] | null | undefined;
|
|
9742
|
+
topLabels?: {
|
|
9743
|
+
name?: string | null | undefined;
|
|
9744
|
+
count?: number | null | undefined;
|
|
9745
|
+
}[] | null | undefined;
|
|
9746
|
+
topCountries?: {
|
|
9747
|
+
name?: string | null | undefined;
|
|
9748
|
+
count?: number | null | undefined;
|
|
9749
|
+
}[] | null | undefined;
|
|
9750
|
+
avgMonthlyPosts?: number | null | undefined;
|
|
9751
|
+
twitterHandle?: string | null | undefined;
|
|
9752
|
+
twitterBio?: string | null | undefined;
|
|
9753
|
+
imageUrl?: string | null | undefined;
|
|
9754
|
+
linkedinUrl?: string | null | undefined;
|
|
9755
|
+
linkedinConnections?: number | null | undefined;
|
|
9756
|
+
linkedinFollowers?: number | null | undefined;
|
|
9757
|
+
facebookUrl?: string | null | undefined;
|
|
9758
|
+
instagramUrl?: string | null | undefined;
|
|
9759
|
+
websiteUrl?: string | null | undefined;
|
|
9760
|
+
blogUrl?: string | null | undefined;
|
|
9761
|
+
tumblrUrl?: string | null | undefined;
|
|
9762
|
+
youtubeUrl?: string | null | undefined;
|
|
9763
|
+
}[];
|
|
9764
|
+
numResults: number;
|
|
9765
|
+
}, {
|
|
9766
|
+
status: number;
|
|
9767
|
+
results: {
|
|
9768
|
+
name?: string | null | undefined;
|
|
9769
|
+
updatedAt?: string | null | undefined;
|
|
9770
|
+
id?: string | null | undefined;
|
|
9771
|
+
fullName?: string | null | undefined;
|
|
9772
|
+
headline?: string | null | undefined;
|
|
9773
|
+
description?: string | null | undefined;
|
|
9774
|
+
title?: string | null | undefined;
|
|
9775
|
+
locations?: {
|
|
9776
|
+
country?: string | null | undefined;
|
|
9777
|
+
state?: string | null | undefined;
|
|
9778
|
+
county?: string | null | undefined;
|
|
9779
|
+
city?: string | null | undefined;
|
|
9780
|
+
area?: string | null | undefined;
|
|
9781
|
+
}[] | null | undefined;
|
|
9782
|
+
topTopics?: {
|
|
9783
|
+
name?: string | null | undefined;
|
|
9784
|
+
count?: number | null | undefined;
|
|
9785
|
+
}[] | null | undefined;
|
|
9786
|
+
topSources?: {
|
|
9787
|
+
name?: string | null | undefined;
|
|
9788
|
+
count?: number | null | undefined;
|
|
9789
|
+
}[] | null | undefined;
|
|
9790
|
+
topCategories?: {
|
|
9791
|
+
name?: string | null | undefined;
|
|
9792
|
+
count?: number | null | undefined;
|
|
9793
|
+
}[] | null | undefined;
|
|
9794
|
+
topLabels?: {
|
|
9795
|
+
name?: string | null | undefined;
|
|
9796
|
+
count?: number | null | undefined;
|
|
9797
|
+
}[] | null | undefined;
|
|
9798
|
+
topCountries?: {
|
|
9799
|
+
name?: string | null | undefined;
|
|
9800
|
+
count?: number | null | undefined;
|
|
9801
|
+
}[] | null | undefined;
|
|
9802
|
+
avgMonthlyPosts?: number | null | undefined;
|
|
9803
|
+
twitterHandle?: string | null | undefined;
|
|
9804
|
+
twitterBio?: string | null | undefined;
|
|
9805
|
+
imageUrl?: string | null | undefined;
|
|
9806
|
+
linkedinUrl?: string | null | undefined;
|
|
9807
|
+
linkedinConnections?: number | null | undefined;
|
|
9808
|
+
linkedinFollowers?: number | null | undefined;
|
|
9809
|
+
facebookUrl?: string | null | undefined;
|
|
9810
|
+
instagramUrl?: string | null | undefined;
|
|
9811
|
+
websiteUrl?: string | null | undefined;
|
|
9812
|
+
blogUrl?: string | null | undefined;
|
|
9813
|
+
tumblrUrl?: string | null | undefined;
|
|
9814
|
+
youtubeUrl?: string | null | undefined;
|
|
9815
|
+
}[];
|
|
9816
|
+
numResults: number;
|
|
9817
|
+
}>;
|
|
9818
|
+
type JournalistSearchResult = z.infer<typeof JournalistSearchResultSchema>;
|
|
9819
|
+
declare const PatchSourceGroupParamsSchema: z.ZodObject<{
|
|
9820
|
+
/**
|
|
9821
|
+
* Unique name for the source group within the organization
|
|
9822
|
+
*/
|
|
9823
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9824
|
+
/**
|
|
9825
|
+
* Display name for the source group
|
|
9826
|
+
*/
|
|
9827
|
+
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9828
|
+
/**
|
|
9829
|
+
* Description of the source group
|
|
9830
|
+
*/
|
|
9831
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9832
|
+
/**
|
|
9833
|
+
* List of domains included in the source group
|
|
9834
|
+
*/
|
|
9835
|
+
domains: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
9836
|
+
}, "strip", z.ZodTypeAny, {
|
|
9837
|
+
name?: string | null | undefined;
|
|
9838
|
+
domains?: string[] | null | undefined;
|
|
9525
9839
|
description?: string | null | undefined;
|
|
9526
|
-
|
|
9527
|
-
gender?: {
|
|
9528
|
-
wikidataId?: string | null | undefined;
|
|
9529
|
-
label?: string | null | undefined;
|
|
9530
|
-
} | null | undefined;
|
|
9531
|
-
dateOfBirth?: {
|
|
9532
|
-
time?: string | null | undefined;
|
|
9533
|
-
precision?: string | null | undefined;
|
|
9534
|
-
} | null | undefined;
|
|
9535
|
-
dateOfDeath?: {
|
|
9536
|
-
time?: string | null | undefined;
|
|
9537
|
-
precision?: string | null | undefined;
|
|
9538
|
-
} | null | undefined;
|
|
9539
|
-
aliases?: string[] | null | undefined;
|
|
9540
|
-
occupation?: {
|
|
9541
|
-
wikidataId?: string | null | undefined;
|
|
9542
|
-
label?: string | null | undefined;
|
|
9543
|
-
}[] | null | undefined;
|
|
9544
|
-
position?: {
|
|
9545
|
-
wikidataId?: string | null | undefined;
|
|
9546
|
-
label?: string | null | undefined;
|
|
9547
|
-
startTime?: {
|
|
9548
|
-
time?: string | null | undefined;
|
|
9549
|
-
precision?: string | null | undefined;
|
|
9550
|
-
} | null | undefined;
|
|
9551
|
-
endTime?: {
|
|
9552
|
-
time?: string | null | undefined;
|
|
9553
|
-
precision?: string | null | undefined;
|
|
9554
|
-
} | null | undefined;
|
|
9555
|
-
employer?: {
|
|
9556
|
-
wikidataId?: string | null | undefined;
|
|
9557
|
-
label?: string | null | undefined;
|
|
9558
|
-
} | null | undefined;
|
|
9559
|
-
}[] | null | undefined;
|
|
9560
|
-
politicalParty?: {
|
|
9561
|
-
wikidataId?: string | null | undefined;
|
|
9562
|
-
label?: string | null | undefined;
|
|
9563
|
-
startTime?: {
|
|
9564
|
-
time?: string | null | undefined;
|
|
9565
|
-
precision?: string | null | undefined;
|
|
9566
|
-
} | null | undefined;
|
|
9567
|
-
endTime?: {
|
|
9568
|
-
time?: string | null | undefined;
|
|
9569
|
-
precision?: string | null | undefined;
|
|
9570
|
-
} | null | undefined;
|
|
9571
|
-
}[] | null | undefined;
|
|
9572
|
-
image?: {
|
|
9573
|
-
url?: string | null | undefined;
|
|
9574
|
-
} | null | undefined;
|
|
9575
|
-
_abstract?: string | null | undefined;
|
|
9840
|
+
displayName?: string | null | undefined;
|
|
9576
9841
|
}, {
|
|
9577
9842
|
name?: string | null | undefined;
|
|
9578
|
-
|
|
9579
|
-
updatedAt?: string | null | undefined;
|
|
9843
|
+
domains?: string[] | null | undefined;
|
|
9580
9844
|
description?: string | null | undefined;
|
|
9581
|
-
|
|
9582
|
-
gender?: {
|
|
9583
|
-
wikidataId?: string | null | undefined;
|
|
9584
|
-
label?: string | null | undefined;
|
|
9585
|
-
} | null | undefined;
|
|
9586
|
-
dateOfBirth?: {
|
|
9587
|
-
time?: string | null | undefined;
|
|
9588
|
-
precision?: string | null | undefined;
|
|
9589
|
-
} | null | undefined;
|
|
9590
|
-
dateOfDeath?: {
|
|
9591
|
-
time?: string | null | undefined;
|
|
9592
|
-
precision?: string | null | undefined;
|
|
9593
|
-
} | null | undefined;
|
|
9594
|
-
aliases?: string[] | null | undefined;
|
|
9595
|
-
occupation?: {
|
|
9596
|
-
wikidataId?: string | null | undefined;
|
|
9597
|
-
label?: string | null | undefined;
|
|
9598
|
-
}[] | null | undefined;
|
|
9599
|
-
position?: {
|
|
9600
|
-
wikidataId?: string | null | undefined;
|
|
9601
|
-
label?: string | null | undefined;
|
|
9602
|
-
startTime?: {
|
|
9603
|
-
time?: string | null | undefined;
|
|
9604
|
-
precision?: string | null | undefined;
|
|
9605
|
-
} | null | undefined;
|
|
9606
|
-
endTime?: {
|
|
9607
|
-
time?: string | null | undefined;
|
|
9608
|
-
precision?: string | null | undefined;
|
|
9609
|
-
} | null | undefined;
|
|
9610
|
-
employer?: {
|
|
9611
|
-
wikidataId?: string | null | undefined;
|
|
9612
|
-
label?: string | null | undefined;
|
|
9613
|
-
} | null | undefined;
|
|
9614
|
-
}[] | null | undefined;
|
|
9615
|
-
politicalParty?: {
|
|
9616
|
-
wikidataId?: string | null | undefined;
|
|
9617
|
-
label?: string | null | undefined;
|
|
9618
|
-
startTime?: {
|
|
9619
|
-
time?: string | null | undefined;
|
|
9620
|
-
precision?: string | null | undefined;
|
|
9621
|
-
} | null | undefined;
|
|
9622
|
-
endTime?: {
|
|
9623
|
-
time?: string | null | undefined;
|
|
9624
|
-
precision?: string | null | undefined;
|
|
9625
|
-
} | null | undefined;
|
|
9626
|
-
}[] | null | undefined;
|
|
9627
|
-
image?: {
|
|
9628
|
-
url?: string | null | undefined;
|
|
9629
|
-
} | null | undefined;
|
|
9630
|
-
_abstract?: string | null | undefined;
|
|
9845
|
+
displayName?: string | null | undefined;
|
|
9631
9846
|
}>;
|
|
9632
|
-
type
|
|
9847
|
+
type PatchSourceGroupParams = z.infer<typeof PatchSourceGroupParamsSchema>;
|
|
9633
9848
|
declare const PeopleSearchResultSchema: z.ZodObject<{
|
|
9634
9849
|
status: z.ZodNumber;
|
|
9635
9850
|
numResults: z.ZodNumber;
|
|
@@ -10558,6 +10773,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
|
|
|
10558
10773
|
symbols?: string[] | null | undefined;
|
|
10559
10774
|
}>, "many">>>;
|
|
10560
10775
|
locations: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10776
|
+
country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10561
10777
|
state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10562
10778
|
county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10563
10779
|
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -10565,12 +10781,14 @@ declare const QuerySearchResultSchema: z.ZodObject<{
|
|
|
10565
10781
|
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
10566
10782
|
}, "strip", z.ZodTypeAny, {
|
|
10567
10783
|
count?: number | null | undefined;
|
|
10784
|
+
country?: string | null | undefined;
|
|
10568
10785
|
state?: string | null | undefined;
|
|
10569
10786
|
county?: string | null | undefined;
|
|
10570
10787
|
city?: string | null | undefined;
|
|
10571
10788
|
area?: string | null | undefined;
|
|
10572
10789
|
}, {
|
|
10573
10790
|
count?: number | null | undefined;
|
|
10791
|
+
country?: string | null | undefined;
|
|
10574
10792
|
state?: string | null | undefined;
|
|
10575
10793
|
county?: string | null | undefined;
|
|
10576
10794
|
city?: string | null | undefined;
|
|
@@ -10604,6 +10822,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
|
|
|
10604
10822
|
id?: string | null | undefined;
|
|
10605
10823
|
locations?: {
|
|
10606
10824
|
count?: number | null | undefined;
|
|
10825
|
+
country?: string | null | undefined;
|
|
10607
10826
|
state?: string | null | undefined;
|
|
10608
10827
|
county?: string | null | undefined;
|
|
10609
10828
|
city?: string | null | undefined;
|
|
@@ -10712,6 +10931,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
|
|
|
10712
10931
|
id?: string | null | undefined;
|
|
10713
10932
|
locations?: {
|
|
10714
10933
|
count?: number | null | undefined;
|
|
10934
|
+
country?: string | null | undefined;
|
|
10715
10935
|
state?: string | null | undefined;
|
|
10716
10936
|
county?: string | null | undefined;
|
|
10717
10937
|
city?: string | null | undefined;
|
|
@@ -11124,6 +11344,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
|
|
|
11124
11344
|
id?: string | null | undefined;
|
|
11125
11345
|
locations?: {
|
|
11126
11346
|
count?: number | null | undefined;
|
|
11347
|
+
country?: string | null | undefined;
|
|
11127
11348
|
state?: string | null | undefined;
|
|
11128
11349
|
county?: string | null | undefined;
|
|
11129
11350
|
city?: string | null | undefined;
|
|
@@ -11397,6 +11618,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
|
|
|
11397
11618
|
id?: string | null | undefined;
|
|
11398
11619
|
locations?: {
|
|
11399
11620
|
count?: number | null | undefined;
|
|
11621
|
+
country?: string | null | undefined;
|
|
11400
11622
|
state?: string | null | undefined;
|
|
11401
11623
|
county?: string | null | undefined;
|
|
11402
11624
|
city?: string | null | undefined;
|
|
@@ -11674,6 +11896,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
|
|
|
11674
11896
|
id?: string | null | undefined;
|
|
11675
11897
|
locations?: {
|
|
11676
11898
|
count?: number | null | undefined;
|
|
11899
|
+
country?: string | null | undefined;
|
|
11677
11900
|
state?: string | null | undefined;
|
|
11678
11901
|
county?: string | null | undefined;
|
|
11679
11902
|
city?: string | null | undefined;
|
|
@@ -11951,6 +12174,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
|
|
|
11951
12174
|
id?: string | null | undefined;
|
|
11952
12175
|
locations?: {
|
|
11953
12176
|
count?: number | null | undefined;
|
|
12177
|
+
country?: string | null | undefined;
|
|
11954
12178
|
state?: string | null | undefined;
|
|
11955
12179
|
county?: string | null | undefined;
|
|
11956
12180
|
city?: string | null | undefined;
|
|
@@ -13268,6 +13492,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
|
|
|
13268
13492
|
symbols?: string[] | null | undefined;
|
|
13269
13493
|
}>, "many">>>;
|
|
13270
13494
|
locations: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13495
|
+
country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13271
13496
|
state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13272
13497
|
county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13273
13498
|
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -13275,12 +13500,14 @@ declare const StorySearchResultSchema: z.ZodObject<{
|
|
|
13275
13500
|
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
13276
13501
|
}, "strip", z.ZodTypeAny, {
|
|
13277
13502
|
count?: number | null | undefined;
|
|
13503
|
+
country?: string | null | undefined;
|
|
13278
13504
|
state?: string | null | undefined;
|
|
13279
13505
|
county?: string | null | undefined;
|
|
13280
13506
|
city?: string | null | undefined;
|
|
13281
13507
|
area?: string | null | undefined;
|
|
13282
13508
|
}, {
|
|
13283
13509
|
count?: number | null | undefined;
|
|
13510
|
+
country?: string | null | undefined;
|
|
13284
13511
|
state?: string | null | undefined;
|
|
13285
13512
|
county?: string | null | undefined;
|
|
13286
13513
|
city?: string | null | undefined;
|
|
@@ -13314,6 +13541,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
|
|
|
13314
13541
|
id?: string | null | undefined;
|
|
13315
13542
|
locations?: {
|
|
13316
13543
|
count?: number | null | undefined;
|
|
13544
|
+
country?: string | null | undefined;
|
|
13317
13545
|
state?: string | null | undefined;
|
|
13318
13546
|
county?: string | null | undefined;
|
|
13319
13547
|
city?: string | null | undefined;
|
|
@@ -13422,6 +13650,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
|
|
|
13422
13650
|
id?: string | null | undefined;
|
|
13423
13651
|
locations?: {
|
|
13424
13652
|
count?: number | null | undefined;
|
|
13653
|
+
country?: string | null | undefined;
|
|
13425
13654
|
state?: string | null | undefined;
|
|
13426
13655
|
county?: string | null | undefined;
|
|
13427
13656
|
city?: string | null | undefined;
|
|
@@ -13533,6 +13762,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
|
|
|
13533
13762
|
id?: string | null | undefined;
|
|
13534
13763
|
locations?: {
|
|
13535
13764
|
count?: number | null | undefined;
|
|
13765
|
+
country?: string | null | undefined;
|
|
13536
13766
|
state?: string | null | undefined;
|
|
13537
13767
|
county?: string | null | undefined;
|
|
13538
13768
|
city?: string | null | undefined;
|
|
@@ -13645,6 +13875,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
|
|
|
13645
13875
|
id?: string | null | undefined;
|
|
13646
13876
|
locations?: {
|
|
13647
13877
|
count?: number | null | undefined;
|
|
13878
|
+
country?: string | null | undefined;
|
|
13648
13879
|
state?: string | null | undefined;
|
|
13649
13880
|
county?: string | null | undefined;
|
|
13650
13881
|
city?: string | null | undefined;
|
|
@@ -13773,7 +14004,7 @@ declare const SummaryBodySchema: z.ZodObject<{
|
|
|
13773
14004
|
/**
|
|
13774
14005
|
* The underlying LLM model to use for generation.
|
|
13775
14006
|
*/
|
|
13776
|
-
model: z.ZodNullable<z.ZodOptional<z.ZodEnum<["gpt-
|
|
14007
|
+
model: z.ZodNullable<z.ZodOptional<z.ZodEnum<["gpt-5.4-mini", "gpt-5.4-nano", "gpt-5-mini", "gpt-5-nano", "gpt-4o", "gpt-4o-mini", "gpt-4.1", "gpt-4.1-mini", "llama-3.3-70b-versatile", "openai/gpt-oss-120b"]>>>;
|
|
13777
14008
|
/**
|
|
13778
14009
|
* Sampling temperature for the LLM (0.0 = deterministic to 2.0 = very creative).
|
|
13779
14010
|
*/
|
|
@@ -13792,7 +14023,7 @@ declare const SummaryBodySchema: z.ZodObject<{
|
|
|
13792
14023
|
returnedArticleCount?: number | null | undefined;
|
|
13793
14024
|
summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
|
|
13794
14025
|
method?: "ARTICLES" | "CLUSTERS" | null | undefined;
|
|
13795
|
-
model?: "gpt-
|
|
14026
|
+
model?: "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
|
|
13796
14027
|
temperature?: number | null | undefined;
|
|
13797
14028
|
topP?: number | null | undefined;
|
|
13798
14029
|
maxTokens?: number | null | undefined;
|
|
@@ -13802,7 +14033,7 @@ declare const SummaryBodySchema: z.ZodObject<{
|
|
|
13802
14033
|
returnedArticleCount?: number | null | undefined;
|
|
13803
14034
|
summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
|
|
13804
14035
|
method?: "ARTICLES" | "CLUSTERS" | null | undefined;
|
|
13805
|
-
model?: "gpt-
|
|
14036
|
+
model?: "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
|
|
13806
14037
|
temperature?: number | null | undefined;
|
|
13807
14038
|
topP?: number | null | undefined;
|
|
13808
14039
|
maxTokens?: number | null | undefined;
|
|
@@ -14338,6 +14569,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
|
|
|
14338
14569
|
symbols?: string[] | null | undefined;
|
|
14339
14570
|
}>, "many">>>;
|
|
14340
14571
|
locations: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14572
|
+
country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
14341
14573
|
state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
14342
14574
|
county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
14343
14575
|
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -14345,12 +14577,14 @@ declare const SummarySearchResultSchema: z.ZodObject<{
|
|
|
14345
14577
|
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
14346
14578
|
}, "strip", z.ZodTypeAny, {
|
|
14347
14579
|
count?: number | null | undefined;
|
|
14580
|
+
country?: string | null | undefined;
|
|
14348
14581
|
state?: string | null | undefined;
|
|
14349
14582
|
county?: string | null | undefined;
|
|
14350
14583
|
city?: string | null | undefined;
|
|
14351
14584
|
area?: string | null | undefined;
|
|
14352
14585
|
}, {
|
|
14353
14586
|
count?: number | null | undefined;
|
|
14587
|
+
country?: string | null | undefined;
|
|
14354
14588
|
state?: string | null | undefined;
|
|
14355
14589
|
county?: string | null | undefined;
|
|
14356
14590
|
city?: string | null | undefined;
|
|
@@ -14384,6 +14618,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
|
|
|
14384
14618
|
id?: string | null | undefined;
|
|
14385
14619
|
locations?: {
|
|
14386
14620
|
count?: number | null | undefined;
|
|
14621
|
+
country?: string | null | undefined;
|
|
14387
14622
|
state?: string | null | undefined;
|
|
14388
14623
|
county?: string | null | undefined;
|
|
14389
14624
|
city?: string | null | undefined;
|
|
@@ -14492,6 +14727,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
|
|
|
14492
14727
|
id?: string | null | undefined;
|
|
14493
14728
|
locations?: {
|
|
14494
14729
|
count?: number | null | undefined;
|
|
14730
|
+
country?: string | null | undefined;
|
|
14495
14731
|
state?: string | null | undefined;
|
|
14496
14732
|
county?: string | null | undefined;
|
|
14497
14733
|
city?: string | null | undefined;
|
|
@@ -14904,6 +15140,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
|
|
|
14904
15140
|
id?: string | null | undefined;
|
|
14905
15141
|
locations?: {
|
|
14906
15142
|
count?: number | null | undefined;
|
|
15143
|
+
country?: string | null | undefined;
|
|
14907
15144
|
state?: string | null | undefined;
|
|
14908
15145
|
county?: string | null | undefined;
|
|
14909
15146
|
city?: string | null | undefined;
|
|
@@ -15177,6 +15414,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
|
|
|
15177
15414
|
id?: string | null | undefined;
|
|
15178
15415
|
locations?: {
|
|
15179
15416
|
count?: number | null | undefined;
|
|
15417
|
+
country?: string | null | undefined;
|
|
15180
15418
|
state?: string | null | undefined;
|
|
15181
15419
|
county?: string | null | undefined;
|
|
15182
15420
|
city?: string | null | undefined;
|
|
@@ -15454,6 +15692,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
|
|
|
15454
15692
|
id?: string | null | undefined;
|
|
15455
15693
|
locations?: {
|
|
15456
15694
|
count?: number | null | undefined;
|
|
15695
|
+
country?: string | null | undefined;
|
|
15457
15696
|
state?: string | null | undefined;
|
|
15458
15697
|
county?: string | null | undefined;
|
|
15459
15698
|
city?: string | null | undefined;
|
|
@@ -15732,6 +15971,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
|
|
|
15732
15971
|
id?: string | null | undefined;
|
|
15733
15972
|
locations?: {
|
|
15734
15973
|
count?: number | null | undefined;
|
|
15974
|
+
country?: string | null | undefined;
|
|
15735
15975
|
state?: string | null | undefined;
|
|
15736
15976
|
county?: string | null | undefined;
|
|
15737
15977
|
city?: string | null | undefined;
|
|
@@ -15971,29 +16211,125 @@ declare const TopicSearchResultSchema: z.ZodObject<{
|
|
|
15971
16211
|
}, "strip", z.ZodTypeAny, {
|
|
15972
16212
|
data: {
|
|
15973
16213
|
name?: string | null | undefined;
|
|
15974
|
-
createdAt?: Date | null | undefined;
|
|
15975
|
-
updatedAt?: Date | null | undefined;
|
|
15976
|
-
id?: number | null | undefined;
|
|
15977
|
-
labels?: {
|
|
15978
|
-
category?: string | null | undefined;
|
|
15979
|
-
subcategory?: string | null | undefined;
|
|
15980
|
-
} | null | undefined;
|
|
15981
|
-
}[];
|
|
15982
|
-
total: number;
|
|
16214
|
+
createdAt?: Date | null | undefined;
|
|
16215
|
+
updatedAt?: Date | null | undefined;
|
|
16216
|
+
id?: number | null | undefined;
|
|
16217
|
+
labels?: {
|
|
16218
|
+
category?: string | null | undefined;
|
|
16219
|
+
subcategory?: string | null | undefined;
|
|
16220
|
+
} | null | undefined;
|
|
16221
|
+
}[];
|
|
16222
|
+
total: number;
|
|
16223
|
+
}, {
|
|
16224
|
+
data: {
|
|
16225
|
+
name?: string | null | undefined;
|
|
16226
|
+
createdAt?: string | null | undefined;
|
|
16227
|
+
updatedAt?: string | null | undefined;
|
|
16228
|
+
id?: number | null | undefined;
|
|
16229
|
+
labels?: {
|
|
16230
|
+
category?: string | null | undefined;
|
|
16231
|
+
subcategory?: string | null | undefined;
|
|
16232
|
+
} | null | undefined;
|
|
16233
|
+
}[];
|
|
16234
|
+
total: number;
|
|
16235
|
+
}>;
|
|
16236
|
+
type TopicSearchResult = z.infer<typeof TopicSearchResultSchema>;
|
|
16237
|
+
declare const UpdateWatchlistParamsSchema: z.ZodObject<{
|
|
16238
|
+
/**
|
|
16239
|
+
* New name for the watchlist
|
|
16240
|
+
*/
|
|
16241
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16242
|
+
/**
|
|
16243
|
+
* New display name for the watchlist
|
|
16244
|
+
*/
|
|
16245
|
+
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16246
|
+
/**
|
|
16247
|
+
* New description for the watchlist
|
|
16248
|
+
*/
|
|
16249
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16250
|
+
/**
|
|
16251
|
+
* Updated list of people to include in the watchlist
|
|
16252
|
+
*/
|
|
16253
|
+
people: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16254
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16255
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16256
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
16257
|
+
wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16258
|
+
}, "strip", z.ZodTypeAny, {
|
|
16259
|
+
name?: string | null | undefined;
|
|
16260
|
+
description?: string | null | undefined;
|
|
16261
|
+
wikidataId?: string | null | undefined;
|
|
16262
|
+
aliases?: string[] | null | undefined;
|
|
16263
|
+
}, {
|
|
16264
|
+
name?: string | null | undefined;
|
|
16265
|
+
description?: string | null | undefined;
|
|
16266
|
+
wikidataId?: string | null | undefined;
|
|
16267
|
+
aliases?: string[] | null | undefined;
|
|
16268
|
+
}>, "many">>>;
|
|
16269
|
+
/**
|
|
16270
|
+
* Updated list of companies to include in the watchlist
|
|
16271
|
+
*/
|
|
16272
|
+
companies: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16273
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16274
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16275
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16276
|
+
domain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16277
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
16278
|
+
}, "strip", z.ZodTypeAny, {
|
|
16279
|
+
name?: string | null | undefined;
|
|
16280
|
+
id?: string | null | undefined;
|
|
16281
|
+
description?: string | null | undefined;
|
|
16282
|
+
domain?: string | null | undefined;
|
|
16283
|
+
aliases?: string[] | null | undefined;
|
|
16284
|
+
}, {
|
|
16285
|
+
name?: string | null | undefined;
|
|
16286
|
+
id?: string | null | undefined;
|
|
16287
|
+
description?: string | null | undefined;
|
|
16288
|
+
domain?: string | null | undefined;
|
|
16289
|
+
aliases?: string[] | null | undefined;
|
|
16290
|
+
}>, "many">>>;
|
|
16291
|
+
/**
|
|
16292
|
+
* Whether the watchlist is visible in the UI
|
|
16293
|
+
*/
|
|
16294
|
+
visible: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
16295
|
+
}, "strip", z.ZodTypeAny, {
|
|
16296
|
+
name?: string | null | undefined;
|
|
16297
|
+
description?: string | null | undefined;
|
|
16298
|
+
people?: {
|
|
16299
|
+
name?: string | null | undefined;
|
|
16300
|
+
description?: string | null | undefined;
|
|
16301
|
+
wikidataId?: string | null | undefined;
|
|
16302
|
+
aliases?: string[] | null | undefined;
|
|
16303
|
+
}[] | null | undefined;
|
|
16304
|
+
companies?: {
|
|
16305
|
+
name?: string | null | undefined;
|
|
16306
|
+
id?: string | null | undefined;
|
|
16307
|
+
description?: string | null | undefined;
|
|
16308
|
+
domain?: string | null | undefined;
|
|
16309
|
+
aliases?: string[] | null | undefined;
|
|
16310
|
+
}[] | null | undefined;
|
|
16311
|
+
displayName?: string | null | undefined;
|
|
16312
|
+
visible?: boolean | null | undefined;
|
|
15983
16313
|
}, {
|
|
15984
|
-
|
|
16314
|
+
name?: string | null | undefined;
|
|
16315
|
+
description?: string | null | undefined;
|
|
16316
|
+
people?: {
|
|
15985
16317
|
name?: string | null | undefined;
|
|
15986
|
-
|
|
15987
|
-
|
|
15988
|
-
|
|
15989
|
-
|
|
15990
|
-
|
|
15991
|
-
|
|
15992
|
-
|
|
15993
|
-
|
|
15994
|
-
|
|
16318
|
+
description?: string | null | undefined;
|
|
16319
|
+
wikidataId?: string | null | undefined;
|
|
16320
|
+
aliases?: string[] | null | undefined;
|
|
16321
|
+
}[] | null | undefined;
|
|
16322
|
+
companies?: {
|
|
16323
|
+
name?: string | null | undefined;
|
|
16324
|
+
id?: string | null | undefined;
|
|
16325
|
+
description?: string | null | undefined;
|
|
16326
|
+
domain?: string | null | undefined;
|
|
16327
|
+
aliases?: string[] | null | undefined;
|
|
16328
|
+
}[] | null | undefined;
|
|
16329
|
+
displayName?: string | null | undefined;
|
|
16330
|
+
visible?: boolean | null | undefined;
|
|
15995
16331
|
}>;
|
|
15996
|
-
type
|
|
16332
|
+
type UpdateWatchlistParams = z.infer<typeof UpdateWatchlistParamsSchema>;
|
|
15997
16333
|
declare const WikiPageSectionHolderSchema: z.ZodObject<{
|
|
15998
16334
|
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
15999
16335
|
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -16655,70 +16991,436 @@ declare const WikipediaVectorSearchResultSchema: z.ZodObject<{
|
|
|
16655
16991
|
} | null | undefined;
|
|
16656
16992
|
}>, "many">;
|
|
16657
16993
|
}, "strip", z.ZodTypeAny, {
|
|
16658
|
-
status: number;
|
|
16659
|
-
results: {
|
|
16660
|
-
score?: number | null | undefined;
|
|
16661
|
-
data?: {
|
|
16662
|
-
title?: string | null | undefined;
|
|
16994
|
+
status: number;
|
|
16995
|
+
results: {
|
|
16996
|
+
score?: number | null | undefined;
|
|
16997
|
+
data?: {
|
|
16998
|
+
title?: string | null | undefined;
|
|
16999
|
+
wikidataId?: string | null | undefined;
|
|
17000
|
+
content?: string | null | undefined;
|
|
17001
|
+
pageId?: string | null | undefined;
|
|
17002
|
+
sectionId?: string | null | undefined;
|
|
17003
|
+
wikiPageId?: number | null | undefined;
|
|
17004
|
+
wikiRevisionId?: number | null | undefined;
|
|
17005
|
+
wikiRevisionTs?: string | null | undefined;
|
|
17006
|
+
wikiCode?: string | null | undefined;
|
|
17007
|
+
wikiNamespace?: number | null | undefined;
|
|
17008
|
+
wikiTitle?: string | null | undefined;
|
|
17009
|
+
wikidataInstanceOf?: {
|
|
17010
|
+
wikidataId?: string | null | undefined;
|
|
17011
|
+
label?: string | null | undefined;
|
|
17012
|
+
}[] | null | undefined;
|
|
17013
|
+
redirectTitles?: string[] | null | undefined;
|
|
17014
|
+
pageviews?: number | null | undefined;
|
|
17015
|
+
styleLevel?: number | null | undefined;
|
|
17016
|
+
} | null | undefined;
|
|
17017
|
+
}[];
|
|
17018
|
+
}, {
|
|
17019
|
+
status: number;
|
|
17020
|
+
results: {
|
|
17021
|
+
score?: number | null | undefined;
|
|
17022
|
+
data?: {
|
|
17023
|
+
title?: string | null | undefined;
|
|
17024
|
+
wikidataId?: string | null | undefined;
|
|
17025
|
+
content?: string | null | undefined;
|
|
17026
|
+
pageId?: string | null | undefined;
|
|
17027
|
+
sectionId?: string | null | undefined;
|
|
17028
|
+
wikiPageId?: number | null | undefined;
|
|
17029
|
+
wikiRevisionId?: number | null | undefined;
|
|
17030
|
+
wikiRevisionTs?: string | null | undefined;
|
|
17031
|
+
wikiCode?: string | null | undefined;
|
|
17032
|
+
wikiNamespace?: number | null | undefined;
|
|
17033
|
+
wikiTitle?: string | null | undefined;
|
|
17034
|
+
wikidataInstanceOf?: {
|
|
17035
|
+
wikidataId?: string | null | undefined;
|
|
17036
|
+
label?: string | null | undefined;
|
|
17037
|
+
}[] | null | undefined;
|
|
17038
|
+
redirectTitles?: string[] | null | undefined;
|
|
17039
|
+
pageviews?: number | null | undefined;
|
|
17040
|
+
styleLevel?: number | null | undefined;
|
|
17041
|
+
} | null | undefined;
|
|
17042
|
+
}[];
|
|
17043
|
+
}>;
|
|
17044
|
+
type WikipediaVectorSearchResult = z.infer<typeof WikipediaVectorSearchResultSchema>;
|
|
17045
|
+
|
|
17046
|
+
/**
|
|
17047
|
+
* Perigon API
|
|
17048
|
+
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
17049
|
+
*
|
|
17050
|
+
* The version of the OpenAPI document: 1.0.0
|
|
17051
|
+
* Contact: data@perigon.io
|
|
17052
|
+
*
|
|
17053
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
17054
|
+
* https://openapi-generator.tech
|
|
17055
|
+
* Do not edit the class manually.
|
|
17056
|
+
*/
|
|
17057
|
+
|
|
17058
|
+
declare const CreateSourceGroupBodySchema: z.ZodObject<{
|
|
17059
|
+
/**
|
|
17060
|
+
* Parameter createSourceGroupParams
|
|
17061
|
+
* @required
|
|
17062
|
+
*/
|
|
17063
|
+
createSourceGroupParams: z.ZodObject<{
|
|
17064
|
+
name: z.ZodString;
|
|
17065
|
+
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17066
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17067
|
+
domains: z.ZodArray<z.ZodString, "many">;
|
|
17068
|
+
}, "strip", z.ZodTypeAny, {
|
|
17069
|
+
name: string;
|
|
17070
|
+
domains: string[];
|
|
17071
|
+
description?: string | null | undefined;
|
|
17072
|
+
displayName?: string | null | undefined;
|
|
17073
|
+
}, {
|
|
17074
|
+
name: string;
|
|
17075
|
+
domains: string[];
|
|
17076
|
+
description?: string | null | undefined;
|
|
17077
|
+
displayName?: string | null | undefined;
|
|
17078
|
+
}>;
|
|
17079
|
+
}, "strip", z.ZodTypeAny, {
|
|
17080
|
+
createSourceGroupParams: {
|
|
17081
|
+
name: string;
|
|
17082
|
+
domains: string[];
|
|
17083
|
+
description?: string | null | undefined;
|
|
17084
|
+
displayName?: string | null | undefined;
|
|
17085
|
+
};
|
|
17086
|
+
}, {
|
|
17087
|
+
createSourceGroupParams: {
|
|
17088
|
+
name: string;
|
|
17089
|
+
domains: string[];
|
|
17090
|
+
description?: string | null | undefined;
|
|
17091
|
+
displayName?: string | null | undefined;
|
|
17092
|
+
};
|
|
17093
|
+
}>;
|
|
17094
|
+
declare const CreateSourceGroupRequestSchema: z.ZodObject<{
|
|
17095
|
+
/**
|
|
17096
|
+
* Parameter createSourceGroupParams
|
|
17097
|
+
* @required
|
|
17098
|
+
*/
|
|
17099
|
+
createSourceGroupParams: z.ZodObject<{
|
|
17100
|
+
name: z.ZodString;
|
|
17101
|
+
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17102
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17103
|
+
domains: z.ZodArray<z.ZodString, "many">;
|
|
17104
|
+
}, "strip", z.ZodTypeAny, {
|
|
17105
|
+
name: string;
|
|
17106
|
+
domains: string[];
|
|
17107
|
+
description?: string | null | undefined;
|
|
17108
|
+
displayName?: string | null | undefined;
|
|
17109
|
+
}, {
|
|
17110
|
+
name: string;
|
|
17111
|
+
domains: string[];
|
|
17112
|
+
description?: string | null | undefined;
|
|
17113
|
+
displayName?: string | null | undefined;
|
|
17114
|
+
}>;
|
|
17115
|
+
}, "strip", z.ZodTypeAny, {
|
|
17116
|
+
createSourceGroupParams: {
|
|
17117
|
+
name: string;
|
|
17118
|
+
domains: string[];
|
|
17119
|
+
description?: string | null | undefined;
|
|
17120
|
+
displayName?: string | null | undefined;
|
|
17121
|
+
};
|
|
17122
|
+
}, {
|
|
17123
|
+
createSourceGroupParams: {
|
|
17124
|
+
name: string;
|
|
17125
|
+
domains: string[];
|
|
17126
|
+
description?: string | null | undefined;
|
|
17127
|
+
displayName?: string | null | undefined;
|
|
17128
|
+
};
|
|
17129
|
+
}>;
|
|
17130
|
+
type CreateSourceGroupRequest = z.input<typeof CreateSourceGroupRequestSchema>;
|
|
17131
|
+
declare const CreateWatchlistBodySchema: z.ZodObject<{
|
|
17132
|
+
/**
|
|
17133
|
+
* Parameter createWatchlistParams
|
|
17134
|
+
* @required
|
|
17135
|
+
*/
|
|
17136
|
+
createWatchlistParams: z.ZodObject<{
|
|
17137
|
+
name: z.ZodString;
|
|
17138
|
+
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17139
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17140
|
+
people: z.ZodArray<z.ZodObject<{
|
|
17141
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17142
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17143
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
17144
|
+
wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17145
|
+
}, "strip", z.ZodTypeAny, {
|
|
17146
|
+
name?: string | null | undefined;
|
|
17147
|
+
description?: string | null | undefined;
|
|
17148
|
+
wikidataId?: string | null | undefined;
|
|
17149
|
+
aliases?: string[] | null | undefined;
|
|
17150
|
+
}, {
|
|
17151
|
+
name?: string | null | undefined;
|
|
17152
|
+
description?: string | null | undefined;
|
|
17153
|
+
wikidataId?: string | null | undefined;
|
|
17154
|
+
aliases?: string[] | null | undefined;
|
|
17155
|
+
}>, "many">;
|
|
17156
|
+
companies: z.ZodArray<z.ZodObject<{
|
|
17157
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17158
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17159
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17160
|
+
domain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17161
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
17162
|
+
}, "strip", z.ZodTypeAny, {
|
|
17163
|
+
name?: string | null | undefined;
|
|
17164
|
+
id?: string | null | undefined;
|
|
17165
|
+
description?: string | null | undefined;
|
|
17166
|
+
domain?: string | null | undefined;
|
|
17167
|
+
aliases?: string[] | null | undefined;
|
|
17168
|
+
}, {
|
|
17169
|
+
name?: string | null | undefined;
|
|
17170
|
+
id?: string | null | undefined;
|
|
17171
|
+
description?: string | null | undefined;
|
|
17172
|
+
domain?: string | null | undefined;
|
|
17173
|
+
aliases?: string[] | null | undefined;
|
|
17174
|
+
}>, "many">;
|
|
17175
|
+
visible: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
17176
|
+
}, "strip", z.ZodTypeAny, {
|
|
17177
|
+
name: string;
|
|
17178
|
+
people: {
|
|
17179
|
+
name?: string | null | undefined;
|
|
17180
|
+
description?: string | null | undefined;
|
|
17181
|
+
wikidataId?: string | null | undefined;
|
|
17182
|
+
aliases?: string[] | null | undefined;
|
|
17183
|
+
}[];
|
|
17184
|
+
companies: {
|
|
17185
|
+
name?: string | null | undefined;
|
|
17186
|
+
id?: string | null | undefined;
|
|
17187
|
+
description?: string | null | undefined;
|
|
17188
|
+
domain?: string | null | undefined;
|
|
17189
|
+
aliases?: string[] | null | undefined;
|
|
17190
|
+
}[];
|
|
17191
|
+
description?: string | null | undefined;
|
|
17192
|
+
displayName?: string | null | undefined;
|
|
17193
|
+
visible?: boolean | null | undefined;
|
|
17194
|
+
}, {
|
|
17195
|
+
name: string;
|
|
17196
|
+
people: {
|
|
17197
|
+
name?: string | null | undefined;
|
|
17198
|
+
description?: string | null | undefined;
|
|
17199
|
+
wikidataId?: string | null | undefined;
|
|
17200
|
+
aliases?: string[] | null | undefined;
|
|
17201
|
+
}[];
|
|
17202
|
+
companies: {
|
|
17203
|
+
name?: string | null | undefined;
|
|
17204
|
+
id?: string | null | undefined;
|
|
17205
|
+
description?: string | null | undefined;
|
|
17206
|
+
domain?: string | null | undefined;
|
|
17207
|
+
aliases?: string[] | null | undefined;
|
|
17208
|
+
}[];
|
|
17209
|
+
description?: string | null | undefined;
|
|
17210
|
+
displayName?: string | null | undefined;
|
|
17211
|
+
visible?: boolean | null | undefined;
|
|
17212
|
+
}>;
|
|
17213
|
+
}, "strip", z.ZodTypeAny, {
|
|
17214
|
+
createWatchlistParams: {
|
|
17215
|
+
name: string;
|
|
17216
|
+
people: {
|
|
17217
|
+
name?: string | null | undefined;
|
|
17218
|
+
description?: string | null | undefined;
|
|
17219
|
+
wikidataId?: string | null | undefined;
|
|
17220
|
+
aliases?: string[] | null | undefined;
|
|
17221
|
+
}[];
|
|
17222
|
+
companies: {
|
|
17223
|
+
name?: string | null | undefined;
|
|
17224
|
+
id?: string | null | undefined;
|
|
17225
|
+
description?: string | null | undefined;
|
|
17226
|
+
domain?: string | null | undefined;
|
|
17227
|
+
aliases?: string[] | null | undefined;
|
|
17228
|
+
}[];
|
|
17229
|
+
description?: string | null | undefined;
|
|
17230
|
+
displayName?: string | null | undefined;
|
|
17231
|
+
visible?: boolean | null | undefined;
|
|
17232
|
+
};
|
|
17233
|
+
}, {
|
|
17234
|
+
createWatchlistParams: {
|
|
17235
|
+
name: string;
|
|
17236
|
+
people: {
|
|
17237
|
+
name?: string | null | undefined;
|
|
17238
|
+
description?: string | null | undefined;
|
|
17239
|
+
wikidataId?: string | null | undefined;
|
|
17240
|
+
aliases?: string[] | null | undefined;
|
|
17241
|
+
}[];
|
|
17242
|
+
companies: {
|
|
17243
|
+
name?: string | null | undefined;
|
|
17244
|
+
id?: string | null | undefined;
|
|
17245
|
+
description?: string | null | undefined;
|
|
17246
|
+
domain?: string | null | undefined;
|
|
17247
|
+
aliases?: string[] | null | undefined;
|
|
17248
|
+
}[];
|
|
17249
|
+
description?: string | null | undefined;
|
|
17250
|
+
displayName?: string | null | undefined;
|
|
17251
|
+
visible?: boolean | null | undefined;
|
|
17252
|
+
};
|
|
17253
|
+
}>;
|
|
17254
|
+
declare const CreateWatchlistRequestSchema: z.ZodObject<{
|
|
17255
|
+
/**
|
|
17256
|
+
* Parameter createWatchlistParams
|
|
17257
|
+
* @required
|
|
17258
|
+
*/
|
|
17259
|
+
createWatchlistParams: z.ZodObject<{
|
|
17260
|
+
name: z.ZodString;
|
|
17261
|
+
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17262
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17263
|
+
people: z.ZodArray<z.ZodObject<{
|
|
17264
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17265
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17266
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
17267
|
+
wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17268
|
+
}, "strip", z.ZodTypeAny, {
|
|
17269
|
+
name?: string | null | undefined;
|
|
17270
|
+
description?: string | null | undefined;
|
|
17271
|
+
wikidataId?: string | null | undefined;
|
|
17272
|
+
aliases?: string[] | null | undefined;
|
|
17273
|
+
}, {
|
|
17274
|
+
name?: string | null | undefined;
|
|
17275
|
+
description?: string | null | undefined;
|
|
17276
|
+
wikidataId?: string | null | undefined;
|
|
17277
|
+
aliases?: string[] | null | undefined;
|
|
17278
|
+
}>, "many">;
|
|
17279
|
+
companies: z.ZodArray<z.ZodObject<{
|
|
17280
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17281
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17282
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17283
|
+
domain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17284
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
17285
|
+
}, "strip", z.ZodTypeAny, {
|
|
17286
|
+
name?: string | null | undefined;
|
|
17287
|
+
id?: string | null | undefined;
|
|
17288
|
+
description?: string | null | undefined;
|
|
17289
|
+
domain?: string | null | undefined;
|
|
17290
|
+
aliases?: string[] | null | undefined;
|
|
17291
|
+
}, {
|
|
17292
|
+
name?: string | null | undefined;
|
|
17293
|
+
id?: string | null | undefined;
|
|
17294
|
+
description?: string | null | undefined;
|
|
17295
|
+
domain?: string | null | undefined;
|
|
17296
|
+
aliases?: string[] | null | undefined;
|
|
17297
|
+
}>, "many">;
|
|
17298
|
+
visible: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
17299
|
+
}, "strip", z.ZodTypeAny, {
|
|
17300
|
+
name: string;
|
|
17301
|
+
people: {
|
|
17302
|
+
name?: string | null | undefined;
|
|
17303
|
+
description?: string | null | undefined;
|
|
17304
|
+
wikidataId?: string | null | undefined;
|
|
17305
|
+
aliases?: string[] | null | undefined;
|
|
17306
|
+
}[];
|
|
17307
|
+
companies: {
|
|
17308
|
+
name?: string | null | undefined;
|
|
17309
|
+
id?: string | null | undefined;
|
|
17310
|
+
description?: string | null | undefined;
|
|
17311
|
+
domain?: string | null | undefined;
|
|
17312
|
+
aliases?: string[] | null | undefined;
|
|
17313
|
+
}[];
|
|
17314
|
+
description?: string | null | undefined;
|
|
17315
|
+
displayName?: string | null | undefined;
|
|
17316
|
+
visible?: boolean | null | undefined;
|
|
17317
|
+
}, {
|
|
17318
|
+
name: string;
|
|
17319
|
+
people: {
|
|
17320
|
+
name?: string | null | undefined;
|
|
17321
|
+
description?: string | null | undefined;
|
|
17322
|
+
wikidataId?: string | null | undefined;
|
|
17323
|
+
aliases?: string[] | null | undefined;
|
|
17324
|
+
}[];
|
|
17325
|
+
companies: {
|
|
17326
|
+
name?: string | null | undefined;
|
|
17327
|
+
id?: string | null | undefined;
|
|
17328
|
+
description?: string | null | undefined;
|
|
17329
|
+
domain?: string | null | undefined;
|
|
17330
|
+
aliases?: string[] | null | undefined;
|
|
17331
|
+
}[];
|
|
17332
|
+
description?: string | null | undefined;
|
|
17333
|
+
displayName?: string | null | undefined;
|
|
17334
|
+
visible?: boolean | null | undefined;
|
|
17335
|
+
}>;
|
|
17336
|
+
}, "strip", z.ZodTypeAny, {
|
|
17337
|
+
createWatchlistParams: {
|
|
17338
|
+
name: string;
|
|
17339
|
+
people: {
|
|
17340
|
+
name?: string | null | undefined;
|
|
17341
|
+
description?: string | null | undefined;
|
|
16663
17342
|
wikidataId?: string | null | undefined;
|
|
16664
|
-
|
|
16665
|
-
|
|
16666
|
-
|
|
16667
|
-
|
|
16668
|
-
|
|
16669
|
-
|
|
16670
|
-
|
|
16671
|
-
|
|
16672
|
-
|
|
16673
|
-
|
|
16674
|
-
|
|
16675
|
-
|
|
16676
|
-
|
|
16677
|
-
redirectTitles?: string[] | null | undefined;
|
|
16678
|
-
pageviews?: number | null | undefined;
|
|
16679
|
-
styleLevel?: number | null | undefined;
|
|
16680
|
-
} | null | undefined;
|
|
16681
|
-
}[];
|
|
17343
|
+
aliases?: string[] | null | undefined;
|
|
17344
|
+
}[];
|
|
17345
|
+
companies: {
|
|
17346
|
+
name?: string | null | undefined;
|
|
17347
|
+
id?: string | null | undefined;
|
|
17348
|
+
description?: string | null | undefined;
|
|
17349
|
+
domain?: string | null | undefined;
|
|
17350
|
+
aliases?: string[] | null | undefined;
|
|
17351
|
+
}[];
|
|
17352
|
+
description?: string | null | undefined;
|
|
17353
|
+
displayName?: string | null | undefined;
|
|
17354
|
+
visible?: boolean | null | undefined;
|
|
17355
|
+
};
|
|
16682
17356
|
}, {
|
|
16683
|
-
|
|
16684
|
-
|
|
16685
|
-
|
|
16686
|
-
|
|
16687
|
-
|
|
17357
|
+
createWatchlistParams: {
|
|
17358
|
+
name: string;
|
|
17359
|
+
people: {
|
|
17360
|
+
name?: string | null | undefined;
|
|
17361
|
+
description?: string | null | undefined;
|
|
16688
17362
|
wikidataId?: string | null | undefined;
|
|
16689
|
-
|
|
16690
|
-
|
|
16691
|
-
|
|
16692
|
-
|
|
16693
|
-
|
|
16694
|
-
|
|
16695
|
-
|
|
16696
|
-
|
|
16697
|
-
|
|
16698
|
-
|
|
16699
|
-
|
|
16700
|
-
|
|
16701
|
-
|
|
16702
|
-
redirectTitles?: string[] | null | undefined;
|
|
16703
|
-
pageviews?: number | null | undefined;
|
|
16704
|
-
styleLevel?: number | null | undefined;
|
|
16705
|
-
} | null | undefined;
|
|
16706
|
-
}[];
|
|
17363
|
+
aliases?: string[] | null | undefined;
|
|
17364
|
+
}[];
|
|
17365
|
+
companies: {
|
|
17366
|
+
name?: string | null | undefined;
|
|
17367
|
+
id?: string | null | undefined;
|
|
17368
|
+
description?: string | null | undefined;
|
|
17369
|
+
domain?: string | null | undefined;
|
|
17370
|
+
aliases?: string[] | null | undefined;
|
|
17371
|
+
}[];
|
|
17372
|
+
description?: string | null | undefined;
|
|
17373
|
+
displayName?: string | null | undefined;
|
|
17374
|
+
visible?: boolean | null | undefined;
|
|
17375
|
+
};
|
|
16707
17376
|
}>;
|
|
16708
|
-
type
|
|
16709
|
-
|
|
16710
|
-
/**
|
|
16711
|
-
|
|
16712
|
-
|
|
16713
|
-
|
|
16714
|
-
|
|
16715
|
-
|
|
16716
|
-
|
|
16717
|
-
|
|
16718
|
-
|
|
16719
|
-
|
|
16720
|
-
|
|
16721
|
-
|
|
17377
|
+
type CreateWatchlistRequest = z.input<typeof CreateWatchlistRequestSchema>;
|
|
17378
|
+
declare const DeleteSourceGroupPathSchema: z.ZodObject<{
|
|
17379
|
+
/**
|
|
17380
|
+
* Parameter id
|
|
17381
|
+
* @required
|
|
17382
|
+
*/
|
|
17383
|
+
id: z.ZodNumber;
|
|
17384
|
+
}, "strip", z.ZodTypeAny, {
|
|
17385
|
+
id: number;
|
|
17386
|
+
}, {
|
|
17387
|
+
id: number;
|
|
17388
|
+
}>;
|
|
17389
|
+
declare const DeleteSourceGroupRequestSchema: z.ZodObject<{
|
|
17390
|
+
/**
|
|
17391
|
+
* Parameter id
|
|
17392
|
+
* @required
|
|
17393
|
+
*/
|
|
17394
|
+
id: z.ZodNumber;
|
|
17395
|
+
}, "strip", z.ZodTypeAny, {
|
|
17396
|
+
id: number;
|
|
17397
|
+
}, {
|
|
17398
|
+
id: number;
|
|
17399
|
+
}>;
|
|
17400
|
+
type DeleteSourceGroupRequest = z.input<typeof DeleteSourceGroupRequestSchema>;
|
|
17401
|
+
declare const DeleteWatchlistPathSchema: z.ZodObject<{
|
|
17402
|
+
/**
|
|
17403
|
+
* Parameter id
|
|
17404
|
+
* @required
|
|
17405
|
+
*/
|
|
17406
|
+
id: z.ZodNumber;
|
|
17407
|
+
}, "strip", z.ZodTypeAny, {
|
|
17408
|
+
id: number;
|
|
17409
|
+
}, {
|
|
17410
|
+
id: number;
|
|
17411
|
+
}>;
|
|
17412
|
+
declare const DeleteWatchlistRequestSchema: z.ZodObject<{
|
|
17413
|
+
/**
|
|
17414
|
+
* Parameter id
|
|
17415
|
+
* @required
|
|
17416
|
+
*/
|
|
17417
|
+
id: z.ZodNumber;
|
|
17418
|
+
}, "strip", z.ZodTypeAny, {
|
|
17419
|
+
id: number;
|
|
17420
|
+
}, {
|
|
17421
|
+
id: number;
|
|
17422
|
+
}>;
|
|
17423
|
+
type DeleteWatchlistRequest = z.input<typeof DeleteWatchlistRequestSchema>;
|
|
16722
17424
|
declare const GetJournalistByIdPathSchema: z.ZodObject<{
|
|
16723
17425
|
/**
|
|
16724
17426
|
* Parameter id
|
|
@@ -16742,6 +17444,29 @@ declare const GetJournalistByIdRequestSchema: z.ZodObject<{
|
|
|
16742
17444
|
id: string;
|
|
16743
17445
|
}>;
|
|
16744
17446
|
type GetJournalistByIdRequest = z.input<typeof GetJournalistByIdRequestSchema>;
|
|
17447
|
+
declare const GetSourceGroupPathSchema: z.ZodObject<{
|
|
17448
|
+
/**
|
|
17449
|
+
* Parameter id
|
|
17450
|
+
* @required
|
|
17451
|
+
*/
|
|
17452
|
+
id: z.ZodNumber;
|
|
17453
|
+
}, "strip", z.ZodTypeAny, {
|
|
17454
|
+
id: number;
|
|
17455
|
+
}, {
|
|
17456
|
+
id: number;
|
|
17457
|
+
}>;
|
|
17458
|
+
declare const GetSourceGroupRequestSchema: z.ZodObject<{
|
|
17459
|
+
/**
|
|
17460
|
+
* Parameter id
|
|
17461
|
+
* @required
|
|
17462
|
+
*/
|
|
17463
|
+
id: z.ZodNumber;
|
|
17464
|
+
}, "strip", z.ZodTypeAny, {
|
|
17465
|
+
id: number;
|
|
17466
|
+
}, {
|
|
17467
|
+
id: number;
|
|
17468
|
+
}>;
|
|
17469
|
+
type GetSourceGroupRequest = z.input<typeof GetSourceGroupRequestSchema>;
|
|
16745
17470
|
declare const GetStoryCountsQuerySchema: z.ZodObject<{
|
|
16746
17471
|
/**
|
|
16747
17472
|
* String. Primary search query for filtering stories based on their name, summary, and key points. Supports Boolean operators (AND, OR, NOT), exact phrases with quotes, and wildcards (* and ?) for flexible searching.
|
|
@@ -17347,101 +18072,324 @@ declare const GetStoryCountsRequestSchema: z.ZodObject<{
|
|
|
17347
18072
|
type GetStoryCountsRequest = z.input<typeof GetStoryCountsRequestSchema>;
|
|
17348
18073
|
declare const GetStoryHistoryQuerySchema: z.ZodObject<{
|
|
17349
18074
|
/**
|
|
17350
|
-
* String Array. Filter to specific story. Passing a cluster ID will filter results to only the content found within the cluster.
|
|
18075
|
+
* String Array. Filter to specific story. Passing a cluster ID will filter results to only the content found within the cluster.
|
|
18076
|
+
*/
|
|
18077
|
+
clusterId: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18078
|
+
/**
|
|
18079
|
+
* Date. \'from\' filter, will search stories created after the specified date, the date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2023-03-01T00:00:00
|
|
18080
|
+
*/
|
|
18081
|
+
from: z.ZodOptional<z.ZodDate>;
|
|
18082
|
+
/**
|
|
18083
|
+
* Date. \'to\' filter, will search stories created before the specified date, the date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2023-03-01T23:59:59.
|
|
18084
|
+
*/
|
|
18085
|
+
to: z.ZodOptional<z.ZodDate>;
|
|
18086
|
+
/**
|
|
18087
|
+
* String. Sort stories by count, creation date (createdAt), story refresh trigger date (triggeredAt).
|
|
18088
|
+
* @type SortByEnum
|
|
18089
|
+
* @values 'createdAt', 'triggeredAt'
|
|
18090
|
+
*/
|
|
18091
|
+
sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "triggeredAt"]>>;
|
|
18092
|
+
/**
|
|
18093
|
+
* Integer. Zero-based page number. From 0 to 10000. See the Pagination section for limitations.
|
|
18094
|
+
*/
|
|
18095
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
18096
|
+
/**
|
|
18097
|
+
* Integer. Number of stories results per page, from 0 to 100.
|
|
18098
|
+
*/
|
|
18099
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
18100
|
+
/**
|
|
18101
|
+
* Boolean. Filter to only include clusters that have a changelog or not.
|
|
18102
|
+
*/
|
|
18103
|
+
changelogExists: z.ZodOptional<z.ZodBoolean>;
|
|
18104
|
+
}, "strip", z.ZodTypeAny, {
|
|
18105
|
+
clusterId?: string[] | undefined;
|
|
18106
|
+
size?: number | undefined;
|
|
18107
|
+
page?: number | undefined;
|
|
18108
|
+
sortBy?: "createdAt" | "triggeredAt" | undefined;
|
|
18109
|
+
from?: Date | undefined;
|
|
18110
|
+
to?: Date | undefined;
|
|
18111
|
+
changelogExists?: boolean | undefined;
|
|
18112
|
+
}, {
|
|
18113
|
+
clusterId?: string[] | undefined;
|
|
18114
|
+
size?: number | undefined;
|
|
18115
|
+
page?: number | undefined;
|
|
18116
|
+
sortBy?: "createdAt" | "triggeredAt" | undefined;
|
|
18117
|
+
from?: Date | undefined;
|
|
18118
|
+
to?: Date | undefined;
|
|
18119
|
+
changelogExists?: boolean | undefined;
|
|
18120
|
+
}>;
|
|
18121
|
+
declare const GetStoryHistoryRequestSchema: z.ZodObject<{
|
|
18122
|
+
/**
|
|
18123
|
+
* String Array. Filter to specific story. Passing a cluster ID will filter results to only the content found within the cluster.
|
|
18124
|
+
*/
|
|
18125
|
+
clusterId: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18126
|
+
/**
|
|
18127
|
+
* Date. \'from\' filter, will search stories created after the specified date, the date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2023-03-01T00:00:00
|
|
18128
|
+
*/
|
|
18129
|
+
from: z.ZodOptional<z.ZodDate>;
|
|
18130
|
+
/**
|
|
18131
|
+
* Date. \'to\' filter, will search stories created before the specified date, the date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2023-03-01T23:59:59.
|
|
18132
|
+
*/
|
|
18133
|
+
to: z.ZodOptional<z.ZodDate>;
|
|
18134
|
+
/**
|
|
18135
|
+
* String. Sort stories by count, creation date (createdAt), story refresh trigger date (triggeredAt).
|
|
18136
|
+
* @type SortByEnum
|
|
18137
|
+
* @values 'createdAt', 'triggeredAt'
|
|
18138
|
+
*/
|
|
18139
|
+
sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "triggeredAt"]>>;
|
|
18140
|
+
/**
|
|
18141
|
+
* Integer. Zero-based page number. From 0 to 10000. See the Pagination section for limitations.
|
|
18142
|
+
*/
|
|
18143
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
18144
|
+
/**
|
|
18145
|
+
* Integer. Number of stories results per page, from 0 to 100.
|
|
18146
|
+
*/
|
|
18147
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
18148
|
+
/**
|
|
18149
|
+
* Boolean. Filter to only include clusters that have a changelog or not.
|
|
18150
|
+
*/
|
|
18151
|
+
changelogExists: z.ZodOptional<z.ZodBoolean>;
|
|
18152
|
+
}, "strip", z.ZodTypeAny, {
|
|
18153
|
+
clusterId?: string[] | undefined;
|
|
18154
|
+
size?: number | undefined;
|
|
18155
|
+
page?: number | undefined;
|
|
18156
|
+
sortBy?: "createdAt" | "triggeredAt" | undefined;
|
|
18157
|
+
from?: Date | undefined;
|
|
18158
|
+
to?: Date | undefined;
|
|
18159
|
+
changelogExists?: boolean | undefined;
|
|
18160
|
+
}, {
|
|
18161
|
+
clusterId?: string[] | undefined;
|
|
18162
|
+
size?: number | undefined;
|
|
18163
|
+
page?: number | undefined;
|
|
18164
|
+
sortBy?: "createdAt" | "triggeredAt" | undefined;
|
|
18165
|
+
from?: Date | undefined;
|
|
18166
|
+
to?: Date | undefined;
|
|
18167
|
+
changelogExists?: boolean | undefined;
|
|
18168
|
+
}>;
|
|
18169
|
+
type GetStoryHistoryRequest = z.input<typeof GetStoryHistoryRequestSchema>;
|
|
18170
|
+
declare const GetWatchlistPathSchema: z.ZodObject<{
|
|
18171
|
+
/**
|
|
18172
|
+
* Parameter id
|
|
18173
|
+
* @required
|
|
18174
|
+
*/
|
|
18175
|
+
id: z.ZodNumber;
|
|
18176
|
+
}, "strip", z.ZodTypeAny, {
|
|
18177
|
+
id: number;
|
|
18178
|
+
}, {
|
|
18179
|
+
id: number;
|
|
18180
|
+
}>;
|
|
18181
|
+
declare const GetWatchlistRequestSchema: z.ZodObject<{
|
|
18182
|
+
/**
|
|
18183
|
+
* Parameter id
|
|
18184
|
+
* @required
|
|
18185
|
+
*/
|
|
18186
|
+
id: z.ZodNumber;
|
|
18187
|
+
}, "strip", z.ZodTypeAny, {
|
|
18188
|
+
id: number;
|
|
18189
|
+
}, {
|
|
18190
|
+
id: number;
|
|
18191
|
+
}>;
|
|
18192
|
+
type GetWatchlistRequest = z.input<typeof GetWatchlistRequestSchema>;
|
|
18193
|
+
declare const ListSourceGroupsQuerySchema: z.ZodObject<{
|
|
18194
|
+
/**
|
|
18195
|
+
* Parameter name
|
|
18196
|
+
*/
|
|
18197
|
+
name: z.ZodOptional<z.ZodString>;
|
|
18198
|
+
/**
|
|
18199
|
+
* Parameter domain
|
|
18200
|
+
*/
|
|
18201
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
18202
|
+
/**
|
|
18203
|
+
* The page number to retrieve. _Starting from 0_. _Default value 0_.
|
|
18204
|
+
*/
|
|
18205
|
+
page: z.ZodOptional<z.ZodString>;
|
|
18206
|
+
/**
|
|
18207
|
+
* The number of items per page. _Must be at least 1_. _Default value 10_.
|
|
18208
|
+
*/
|
|
18209
|
+
size: z.ZodOptional<z.ZodString>;
|
|
18210
|
+
/**
|
|
18211
|
+
* Field to sort by.
|
|
18212
|
+
* @required
|
|
18213
|
+
*/
|
|
18214
|
+
sortBy: z.ZodString;
|
|
18215
|
+
/**
|
|
18216
|
+
* The sort order for the results. _Available values: \'asc\' or \'desc\'_.
|
|
18217
|
+
* @required
|
|
18218
|
+
*/
|
|
18219
|
+
sortOrder: z.ZodString;
|
|
18220
|
+
}, "strip", z.ZodTypeAny, {
|
|
18221
|
+
sortBy: string;
|
|
18222
|
+
sortOrder: string;
|
|
18223
|
+
name?: string | undefined;
|
|
18224
|
+
domain?: string | undefined;
|
|
18225
|
+
size?: string | undefined;
|
|
18226
|
+
page?: string | undefined;
|
|
18227
|
+
}, {
|
|
18228
|
+
sortBy: string;
|
|
18229
|
+
sortOrder: string;
|
|
18230
|
+
name?: string | undefined;
|
|
18231
|
+
domain?: string | undefined;
|
|
18232
|
+
size?: string | undefined;
|
|
18233
|
+
page?: string | undefined;
|
|
18234
|
+
}>;
|
|
18235
|
+
declare const ListSourceGroupsRequestSchema: z.ZodObject<{
|
|
18236
|
+
/**
|
|
18237
|
+
* Parameter name
|
|
18238
|
+
*/
|
|
18239
|
+
name: z.ZodOptional<z.ZodString>;
|
|
18240
|
+
/**
|
|
18241
|
+
* Parameter domain
|
|
18242
|
+
*/
|
|
18243
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
18244
|
+
/**
|
|
18245
|
+
* The page number to retrieve. _Starting from 0_. _Default value 0_.
|
|
17351
18246
|
*/
|
|
17352
|
-
|
|
18247
|
+
page: z.ZodOptional<z.ZodString>;
|
|
17353
18248
|
/**
|
|
17354
|
-
*
|
|
18249
|
+
* The number of items per page. _Must be at least 1_. _Default value 10_.
|
|
17355
18250
|
*/
|
|
17356
|
-
|
|
18251
|
+
size: z.ZodOptional<z.ZodString>;
|
|
17357
18252
|
/**
|
|
17358
|
-
*
|
|
18253
|
+
* Field to sort by.
|
|
18254
|
+
* @required
|
|
17359
18255
|
*/
|
|
17360
|
-
|
|
18256
|
+
sortBy: z.ZodString;
|
|
17361
18257
|
/**
|
|
17362
|
-
*
|
|
17363
|
-
* @
|
|
17364
|
-
* @values 'createdAt', 'triggeredAt'
|
|
18258
|
+
* The sort order for the results. _Available values: \'asc\' or \'desc\'_.
|
|
18259
|
+
* @required
|
|
17365
18260
|
*/
|
|
17366
|
-
|
|
18261
|
+
sortOrder: z.ZodString;
|
|
18262
|
+
}, "strip", z.ZodTypeAny, {
|
|
18263
|
+
sortBy: string;
|
|
18264
|
+
sortOrder: string;
|
|
18265
|
+
name?: string | undefined;
|
|
18266
|
+
domain?: string | undefined;
|
|
18267
|
+
size?: string | undefined;
|
|
18268
|
+
page?: string | undefined;
|
|
18269
|
+
}, {
|
|
18270
|
+
sortBy: string;
|
|
18271
|
+
sortOrder: string;
|
|
18272
|
+
name?: string | undefined;
|
|
18273
|
+
domain?: string | undefined;
|
|
18274
|
+
size?: string | undefined;
|
|
18275
|
+
page?: string | undefined;
|
|
18276
|
+
}>;
|
|
18277
|
+
type ListSourceGroupsRequest = z.input<typeof ListSourceGroupsRequestSchema>;
|
|
18278
|
+
declare const ListWatchlistsQuerySchema: z.ZodObject<{
|
|
17367
18279
|
/**
|
|
17368
|
-
*
|
|
18280
|
+
* Filter watchlists by name (case-insensitive, partial match)
|
|
17369
18281
|
*/
|
|
17370
|
-
|
|
18282
|
+
name: z.ZodOptional<z.ZodString>;
|
|
17371
18283
|
/**
|
|
17372
|
-
*
|
|
18284
|
+
* The page number to retrieve. _Starting from 0_. _Default value 0_.
|
|
17373
18285
|
*/
|
|
17374
|
-
|
|
18286
|
+
page: z.ZodOptional<z.ZodString>;
|
|
17375
18287
|
/**
|
|
17376
|
-
*
|
|
18288
|
+
* The number of items per page. _Must be at least 1_. _Default value 10_.
|
|
17377
18289
|
*/
|
|
17378
|
-
|
|
18290
|
+
size: z.ZodOptional<z.ZodString>;
|
|
18291
|
+
/**
|
|
18292
|
+
* Field to sort by.
|
|
18293
|
+
* @required
|
|
18294
|
+
*/
|
|
18295
|
+
sortBy: z.ZodString;
|
|
18296
|
+
/**
|
|
18297
|
+
* The sort order for the results. _Available values: \'asc\' or \'desc\'_.
|
|
18298
|
+
* @required
|
|
18299
|
+
*/
|
|
18300
|
+
sortOrder: z.ZodString;
|
|
17379
18301
|
}, "strip", z.ZodTypeAny, {
|
|
17380
|
-
|
|
17381
|
-
|
|
17382
|
-
|
|
17383
|
-
|
|
17384
|
-
|
|
17385
|
-
to?: Date | undefined;
|
|
17386
|
-
changelogExists?: boolean | undefined;
|
|
18302
|
+
sortBy: string;
|
|
18303
|
+
sortOrder: string;
|
|
18304
|
+
name?: string | undefined;
|
|
18305
|
+
size?: string | undefined;
|
|
18306
|
+
page?: string | undefined;
|
|
17387
18307
|
}, {
|
|
17388
|
-
|
|
17389
|
-
|
|
17390
|
-
|
|
17391
|
-
|
|
17392
|
-
|
|
17393
|
-
to?: Date | undefined;
|
|
17394
|
-
changelogExists?: boolean | undefined;
|
|
18308
|
+
sortBy: string;
|
|
18309
|
+
sortOrder: string;
|
|
18310
|
+
name?: string | undefined;
|
|
18311
|
+
size?: string | undefined;
|
|
18312
|
+
page?: string | undefined;
|
|
17395
18313
|
}>;
|
|
17396
|
-
declare const
|
|
18314
|
+
declare const ListWatchlistsRequestSchema: z.ZodObject<{
|
|
17397
18315
|
/**
|
|
17398
|
-
*
|
|
18316
|
+
* Filter watchlists by name (case-insensitive, partial match)
|
|
17399
18317
|
*/
|
|
17400
|
-
|
|
18318
|
+
name: z.ZodOptional<z.ZodString>;
|
|
17401
18319
|
/**
|
|
17402
|
-
*
|
|
18320
|
+
* The page number to retrieve. _Starting from 0_. _Default value 0_.
|
|
17403
18321
|
*/
|
|
17404
|
-
|
|
18322
|
+
page: z.ZodOptional<z.ZodString>;
|
|
17405
18323
|
/**
|
|
17406
|
-
*
|
|
18324
|
+
* The number of items per page. _Must be at least 1_. _Default value 10_.
|
|
17407
18325
|
*/
|
|
17408
|
-
|
|
18326
|
+
size: z.ZodOptional<z.ZodString>;
|
|
17409
18327
|
/**
|
|
17410
|
-
*
|
|
17411
|
-
* @
|
|
17412
|
-
* @values 'createdAt', 'triggeredAt'
|
|
18328
|
+
* Field to sort by.
|
|
18329
|
+
* @required
|
|
17413
18330
|
*/
|
|
17414
|
-
sortBy: z.
|
|
18331
|
+
sortBy: z.ZodString;
|
|
17415
18332
|
/**
|
|
17416
|
-
*
|
|
18333
|
+
* The sort order for the results. _Available values: \'asc\' or \'desc\'_.
|
|
18334
|
+
* @required
|
|
17417
18335
|
*/
|
|
17418
|
-
|
|
18336
|
+
sortOrder: z.ZodString;
|
|
18337
|
+
}, "strip", z.ZodTypeAny, {
|
|
18338
|
+
sortBy: string;
|
|
18339
|
+
sortOrder: string;
|
|
18340
|
+
name?: string | undefined;
|
|
18341
|
+
size?: string | undefined;
|
|
18342
|
+
page?: string | undefined;
|
|
18343
|
+
}, {
|
|
18344
|
+
sortBy: string;
|
|
18345
|
+
sortOrder: string;
|
|
18346
|
+
name?: string | undefined;
|
|
18347
|
+
size?: string | undefined;
|
|
18348
|
+
page?: string | undefined;
|
|
18349
|
+
}>;
|
|
18350
|
+
type ListWatchlistsRequest = z.input<typeof ListWatchlistsRequestSchema>;
|
|
18351
|
+
declare const ResolveSourceGroupsQuerySchema: z.ZodObject<{
|
|
17419
18352
|
/**
|
|
17420
|
-
*
|
|
18353
|
+
* Source group names to resolve (max 100)
|
|
17421
18354
|
*/
|
|
17422
|
-
|
|
18355
|
+
name: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18356
|
+
}, "strip", z.ZodTypeAny, {
|
|
18357
|
+
name?: string[] | undefined;
|
|
18358
|
+
}, {
|
|
18359
|
+
name?: string[] | undefined;
|
|
18360
|
+
}>;
|
|
18361
|
+
declare const ResolveSourceGroupsRequestSchema: z.ZodObject<{
|
|
17423
18362
|
/**
|
|
17424
|
-
*
|
|
18363
|
+
* Source group names to resolve (max 100)
|
|
17425
18364
|
*/
|
|
17426
|
-
|
|
18365
|
+
name: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17427
18366
|
}, "strip", z.ZodTypeAny, {
|
|
17428
|
-
|
|
17429
|
-
size?: number | undefined;
|
|
17430
|
-
page?: number | undefined;
|
|
17431
|
-
sortBy?: "createdAt" | "triggeredAt" | undefined;
|
|
17432
|
-
from?: Date | undefined;
|
|
17433
|
-
to?: Date | undefined;
|
|
17434
|
-
changelogExists?: boolean | undefined;
|
|
18367
|
+
name?: string[] | undefined;
|
|
17435
18368
|
}, {
|
|
17436
|
-
|
|
17437
|
-
size?: number | undefined;
|
|
17438
|
-
page?: number | undefined;
|
|
17439
|
-
sortBy?: "createdAt" | "triggeredAt" | undefined;
|
|
17440
|
-
from?: Date | undefined;
|
|
17441
|
-
to?: Date | undefined;
|
|
17442
|
-
changelogExists?: boolean | undefined;
|
|
18369
|
+
name?: string[] | undefined;
|
|
17443
18370
|
}>;
|
|
17444
|
-
type
|
|
18371
|
+
type ResolveSourceGroupsRequest = z.input<typeof ResolveSourceGroupsRequestSchema>;
|
|
18372
|
+
declare const ResolveWatchlistsQuerySchema: z.ZodObject<{
|
|
18373
|
+
/**
|
|
18374
|
+
* Watchlist names to resolve (max 100)
|
|
18375
|
+
*/
|
|
18376
|
+
name: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18377
|
+
}, "strip", z.ZodTypeAny, {
|
|
18378
|
+
name?: string[] | undefined;
|
|
18379
|
+
}, {
|
|
18380
|
+
name?: string[] | undefined;
|
|
18381
|
+
}>;
|
|
18382
|
+
declare const ResolveWatchlistsRequestSchema: z.ZodObject<{
|
|
18383
|
+
/**
|
|
18384
|
+
* Watchlist names to resolve (max 100)
|
|
18385
|
+
*/
|
|
18386
|
+
name: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18387
|
+
}, "strip", z.ZodTypeAny, {
|
|
18388
|
+
name?: string[] | undefined;
|
|
18389
|
+
}, {
|
|
18390
|
+
name?: string[] | undefined;
|
|
18391
|
+
}>;
|
|
18392
|
+
type ResolveWatchlistsRequest = z.input<typeof ResolveWatchlistsRequestSchema>;
|
|
17445
18393
|
declare const SearchArticlesQuerySchema: z.ZodObject<{
|
|
17446
18394
|
/**
|
|
17447
18395
|
* String. Primary search query for filtering articles based on their title, description, and content. Supports Boolean operators (AND, OR, NOT), exact phrases with quotes, and wildcards (* and ?) for flexible searching.
|
|
@@ -17784,7 +18732,7 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
|
|
|
17784
18732
|
*/
|
|
17785
18733
|
negativeSentimentTo: z.ZodOptional<z.ZodNumber>;
|
|
17786
18734
|
/**
|
|
17787
|
-
* String Array. Filters by Google Content Categories. This field will accept 1 or more categories, must pass the full name of the category. Example: taxonomy=/Finance/Banking/Other, /Finance/Investing/Funds. [Full list](https://cloud.google.com/natural-language/docs/categories)
|
|
18735
|
+
* String Array. Filters by Google Content Categories. This field will accept 1 or more categories, must pass the full name of the category. Example: taxonomy=/Finance/Banking/Other, /Finance/Investing/Funds. [Full list](https://docs.cloud.google.com/natural-language/docs/categories#version_2)
|
|
17788
18736
|
*/
|
|
17789
18737
|
taxonomy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17790
18738
|
/**
|
|
@@ -18346,7 +19294,7 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
|
|
|
18346
19294
|
*/
|
|
18347
19295
|
negativeSentimentTo: z.ZodOptional<z.ZodNumber>;
|
|
18348
19296
|
/**
|
|
18349
|
-
* String Array. Filters by Google Content Categories. This field will accept 1 or more categories, must pass the full name of the category. Example: taxonomy=/Finance/Banking/Other, /Finance/Investing/Funds. [Full list](https://cloud.google.com/natural-language/docs/categories)
|
|
19297
|
+
* String Array. Filters by Google Content Categories. This field will accept 1 or more categories, must pass the full name of the category. Example: taxonomy=/Finance/Banking/Other, /Finance/Investing/Funds. [Full list](https://docs.cloud.google.com/natural-language/docs/categories#version_2)
|
|
18350
19298
|
*/
|
|
18351
19299
|
taxonomy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18352
19300
|
/**
|
|
@@ -19066,19 +20014,19 @@ declare const SearchSourcesQuerySchema: z.ZodObject<{
|
|
|
19066
20014
|
/**
|
|
19067
20015
|
* Integer. Filter for sources with at least this many monthly visitors. Used to target publishers by audience size.
|
|
19068
20016
|
*/
|
|
19069
|
-
minMonthlyVisits: z.ZodOptional<z.
|
|
20017
|
+
minMonthlyVisits: z.ZodOptional<z.ZodNumber>;
|
|
19070
20018
|
/**
|
|
19071
20019
|
* Integer. Filter for sources with no more than this many monthly visitors. Used to target publishers by audience size.
|
|
19072
20020
|
*/
|
|
19073
|
-
maxMonthlyVisits: z.ZodOptional<z.
|
|
20021
|
+
maxMonthlyVisits: z.ZodOptional<z.ZodNumber>;
|
|
19074
20022
|
/**
|
|
19075
20023
|
* Integer. Filter for sources that publish at least this many articles per month. Used to target publishers by content volume.
|
|
19076
20024
|
*/
|
|
19077
|
-
minMonthlyPosts: z.ZodOptional<z.
|
|
20025
|
+
minMonthlyPosts: z.ZodOptional<z.ZodNumber>;
|
|
19078
20026
|
/**
|
|
19079
20027
|
* Integer. Filter for sources that publish no more than this many articles per month. Used to target publishers by content volume.
|
|
19080
20028
|
*/
|
|
19081
|
-
maxMonthlyPosts: z.ZodOptional<z.
|
|
20029
|
+
maxMonthlyPosts: z.ZodOptional<z.ZodNumber>;
|
|
19082
20030
|
/**
|
|
19083
20031
|
* String Array. Filter sources by countries they commonly cover in their reporting. Uses ISO 3166-1 alpha-2 two-letter country codes in lowercase (e.g., us, gb, jp). See documentation for supported country codes. Multiple values create an OR filter.
|
|
19084
20032
|
*/
|
|
@@ -19155,10 +20103,10 @@ declare const SearchSourcesQuerySchema: z.ZodObject<{
|
|
|
19155
20103
|
sourceLat?: number | undefined;
|
|
19156
20104
|
sourceLon?: number | undefined;
|
|
19157
20105
|
sourceMaxDistance?: number | undefined;
|
|
19158
|
-
minMonthlyPosts?:
|
|
19159
|
-
maxMonthlyPosts?:
|
|
19160
|
-
minMonthlyVisits?:
|
|
19161
|
-
maxMonthlyVisits?:
|
|
20106
|
+
minMonthlyPosts?: number | undefined;
|
|
20107
|
+
maxMonthlyPosts?: number | undefined;
|
|
20108
|
+
minMonthlyVisits?: number | undefined;
|
|
20109
|
+
maxMonthlyVisits?: number | undefined;
|
|
19162
20110
|
showSubdomains?: boolean | undefined;
|
|
19163
20111
|
}, {
|
|
19164
20112
|
name?: string | undefined;
|
|
@@ -19180,10 +20128,10 @@ declare const SearchSourcesQuerySchema: z.ZodObject<{
|
|
|
19180
20128
|
sourceLat?: number | undefined;
|
|
19181
20129
|
sourceLon?: number | undefined;
|
|
19182
20130
|
sourceMaxDistance?: number | undefined;
|
|
19183
|
-
minMonthlyPosts?:
|
|
19184
|
-
maxMonthlyPosts?:
|
|
19185
|
-
minMonthlyVisits?:
|
|
19186
|
-
maxMonthlyVisits?:
|
|
20131
|
+
minMonthlyPosts?: number | undefined;
|
|
20132
|
+
maxMonthlyPosts?: number | undefined;
|
|
20133
|
+
minMonthlyVisits?: number | undefined;
|
|
20134
|
+
maxMonthlyVisits?: number | undefined;
|
|
19187
20135
|
showSubdomains?: boolean | undefined;
|
|
19188
20136
|
}>;
|
|
19189
20137
|
declare const SearchSourcesRequestSchema: z.ZodObject<{
|
|
@@ -19214,19 +20162,19 @@ declare const SearchSourcesRequestSchema: z.ZodObject<{
|
|
|
19214
20162
|
/**
|
|
19215
20163
|
* Integer. Filter for sources with at least this many monthly visitors. Used to target publishers by audience size.
|
|
19216
20164
|
*/
|
|
19217
|
-
minMonthlyVisits: z.ZodOptional<z.
|
|
20165
|
+
minMonthlyVisits: z.ZodOptional<z.ZodNumber>;
|
|
19218
20166
|
/**
|
|
19219
20167
|
* Integer. Filter for sources with no more than this many monthly visitors. Used to target publishers by audience size.
|
|
19220
20168
|
*/
|
|
19221
|
-
maxMonthlyVisits: z.ZodOptional<z.
|
|
20169
|
+
maxMonthlyVisits: z.ZodOptional<z.ZodNumber>;
|
|
19222
20170
|
/**
|
|
19223
20171
|
* Integer. Filter for sources that publish at least this many articles per month. Used to target publishers by content volume.
|
|
19224
20172
|
*/
|
|
19225
|
-
minMonthlyPosts: z.ZodOptional<z.
|
|
20173
|
+
minMonthlyPosts: z.ZodOptional<z.ZodNumber>;
|
|
19226
20174
|
/**
|
|
19227
20175
|
* Integer. Filter for sources that publish no more than this many articles per month. Used to target publishers by content volume.
|
|
19228
20176
|
*/
|
|
19229
|
-
maxMonthlyPosts: z.ZodOptional<z.
|
|
20177
|
+
maxMonthlyPosts: z.ZodOptional<z.ZodNumber>;
|
|
19230
20178
|
/**
|
|
19231
20179
|
* String Array. Filter sources by countries they commonly cover in their reporting. Uses ISO 3166-1 alpha-2 two-letter country codes in lowercase (e.g., us, gb, jp). See documentation for supported country codes. Multiple values create an OR filter.
|
|
19232
20180
|
*/
|
|
@@ -19303,10 +20251,10 @@ declare const SearchSourcesRequestSchema: z.ZodObject<{
|
|
|
19303
20251
|
sourceLat?: number | undefined;
|
|
19304
20252
|
sourceLon?: number | undefined;
|
|
19305
20253
|
sourceMaxDistance?: number | undefined;
|
|
19306
|
-
minMonthlyPosts?:
|
|
19307
|
-
maxMonthlyPosts?:
|
|
19308
|
-
minMonthlyVisits?:
|
|
19309
|
-
maxMonthlyVisits?:
|
|
20254
|
+
minMonthlyPosts?: number | undefined;
|
|
20255
|
+
maxMonthlyPosts?: number | undefined;
|
|
20256
|
+
minMonthlyVisits?: number | undefined;
|
|
20257
|
+
maxMonthlyVisits?: number | undefined;
|
|
19310
20258
|
showSubdomains?: boolean | undefined;
|
|
19311
20259
|
}, {
|
|
19312
20260
|
name?: string | undefined;
|
|
@@ -19328,10 +20276,10 @@ declare const SearchSourcesRequestSchema: z.ZodObject<{
|
|
|
19328
20276
|
sourceLat?: number | undefined;
|
|
19329
20277
|
sourceLon?: number | undefined;
|
|
19330
20278
|
sourceMaxDistance?: number | undefined;
|
|
19331
|
-
minMonthlyPosts?:
|
|
19332
|
-
maxMonthlyPosts?:
|
|
19333
|
-
minMonthlyVisits?:
|
|
19334
|
-
maxMonthlyVisits?:
|
|
20279
|
+
minMonthlyPosts?: number | undefined;
|
|
20280
|
+
maxMonthlyPosts?: number | undefined;
|
|
20281
|
+
minMonthlyVisits?: number | undefined;
|
|
20282
|
+
maxMonthlyVisits?: number | undefined;
|
|
19335
20283
|
showSubdomains?: boolean | undefined;
|
|
19336
20284
|
}>;
|
|
19337
20285
|
type SearchSourcesRequest = z.input<typeof SearchSourcesRequestSchema>;
|
|
@@ -20262,7 +21210,7 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
|
|
|
20262
21210
|
*/
|
|
20263
21211
|
negativeSentimentTo: z.ZodOptional<z.ZodNumber>;
|
|
20264
21212
|
/**
|
|
20265
|
-
* String Array. Filters by Google Content Categories. This field will accept 1 or more categories, must pass the full name of the category. Example: taxonomy=/Finance/Banking/Other, /Finance/Investing/Funds. [Full list](https://cloud.google.com/natural-language/docs/categories)
|
|
21213
|
+
* String Array. Filters by Google Content Categories. This field will accept 1 or more categories, must pass the full name of the category. Example: taxonomy=/Finance/Banking/Other, /Finance/Investing/Funds. [Full list](https://docs.cloud.google.com/natural-language/docs/categories#version_2)
|
|
20266
21214
|
*/
|
|
20267
21215
|
taxonomy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
20268
21216
|
/**
|
|
@@ -20493,7 +21441,7 @@ declare const SearchSummarizerBodySchema: z.ZodObject<{
|
|
|
20493
21441
|
returnedArticleCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
20494
21442
|
summarizeFields: z.ZodNullable<z.ZodOptional<z.ZodEnum<["TITLE", "CONTENT", "SUMMARY"]>>>;
|
|
20495
21443
|
method: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ARTICLES", "CLUSTERS"]>>>;
|
|
20496
|
-
model: z.ZodNullable<z.ZodOptional<z.ZodEnum<["gpt-
|
|
21444
|
+
model: z.ZodNullable<z.ZodOptional<z.ZodEnum<["gpt-5.4-mini", "gpt-5.4-nano", "gpt-5-mini", "gpt-5-nano", "gpt-4o", "gpt-4o-mini", "gpt-4.1", "gpt-4.1-mini", "llama-3.3-70b-versatile", "openai/gpt-oss-120b"]>>>;
|
|
20497
21445
|
temperature: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
20498
21446
|
topP: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
20499
21447
|
maxTokens: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -20503,7 +21451,7 @@ declare const SearchSummarizerBodySchema: z.ZodObject<{
|
|
|
20503
21451
|
returnedArticleCount?: number | null | undefined;
|
|
20504
21452
|
summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
|
|
20505
21453
|
method?: "ARTICLES" | "CLUSTERS" | null | undefined;
|
|
20506
|
-
model?: "gpt-
|
|
21454
|
+
model?: "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
|
|
20507
21455
|
temperature?: number | null | undefined;
|
|
20508
21456
|
topP?: number | null | undefined;
|
|
20509
21457
|
maxTokens?: number | null | undefined;
|
|
@@ -20513,7 +21461,7 @@ declare const SearchSummarizerBodySchema: z.ZodObject<{
|
|
|
20513
21461
|
returnedArticleCount?: number | null | undefined;
|
|
20514
21462
|
summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
|
|
20515
21463
|
method?: "ARTICLES" | "CLUSTERS" | null | undefined;
|
|
20516
|
-
model?: "gpt-
|
|
21464
|
+
model?: "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
|
|
20517
21465
|
temperature?: number | null | undefined;
|
|
20518
21466
|
topP?: number | null | undefined;
|
|
20519
21467
|
maxTokens?: number | null | undefined;
|
|
@@ -20525,7 +21473,7 @@ declare const SearchSummarizerBodySchema: z.ZodObject<{
|
|
|
20525
21473
|
returnedArticleCount?: number | null | undefined;
|
|
20526
21474
|
summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
|
|
20527
21475
|
method?: "ARTICLES" | "CLUSTERS" | null | undefined;
|
|
20528
|
-
model?: "gpt-
|
|
21476
|
+
model?: "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
|
|
20529
21477
|
temperature?: number | null | undefined;
|
|
20530
21478
|
topP?: number | null | undefined;
|
|
20531
21479
|
maxTokens?: number | null | undefined;
|
|
@@ -20537,7 +21485,7 @@ declare const SearchSummarizerBodySchema: z.ZodObject<{
|
|
|
20537
21485
|
returnedArticleCount?: number | null | undefined;
|
|
20538
21486
|
summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
|
|
20539
21487
|
method?: "ARTICLES" | "CLUSTERS" | null | undefined;
|
|
20540
|
-
model?: "gpt-
|
|
21488
|
+
model?: "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
|
|
20541
21489
|
temperature?: number | null | undefined;
|
|
20542
21490
|
topP?: number | null | undefined;
|
|
20543
21491
|
maxTokens?: number | null | undefined;
|
|
@@ -20554,7 +21502,7 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
|
|
|
20554
21502
|
returnedArticleCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
20555
21503
|
summarizeFields: z.ZodNullable<z.ZodOptional<z.ZodEnum<["TITLE", "CONTENT", "SUMMARY"]>>>;
|
|
20556
21504
|
method: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ARTICLES", "CLUSTERS"]>>>;
|
|
20557
|
-
model: z.ZodNullable<z.ZodOptional<z.ZodEnum<["gpt-
|
|
21505
|
+
model: z.ZodNullable<z.ZodOptional<z.ZodEnum<["gpt-5.4-mini", "gpt-5.4-nano", "gpt-5-mini", "gpt-5-nano", "gpt-4o", "gpt-4o-mini", "gpt-4.1", "gpt-4.1-mini", "llama-3.3-70b-versatile", "openai/gpt-oss-120b"]>>>;
|
|
20558
21506
|
temperature: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
20559
21507
|
topP: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
20560
21508
|
maxTokens: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -20564,7 +21512,7 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
|
|
|
20564
21512
|
returnedArticleCount?: number | null | undefined;
|
|
20565
21513
|
summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
|
|
20566
21514
|
method?: "ARTICLES" | "CLUSTERS" | null | undefined;
|
|
20567
|
-
model?: "gpt-
|
|
21515
|
+
model?: "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
|
|
20568
21516
|
temperature?: number | null | undefined;
|
|
20569
21517
|
topP?: number | null | undefined;
|
|
20570
21518
|
maxTokens?: number | null | undefined;
|
|
@@ -20574,7 +21522,7 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
|
|
|
20574
21522
|
returnedArticleCount?: number | null | undefined;
|
|
20575
21523
|
summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
|
|
20576
21524
|
method?: "ARTICLES" | "CLUSTERS" | null | undefined;
|
|
20577
|
-
model?: "gpt-
|
|
21525
|
+
model?: "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
|
|
20578
21526
|
temperature?: number | null | undefined;
|
|
20579
21527
|
topP?: number | null | undefined;
|
|
20580
21528
|
maxTokens?: number | null | undefined;
|
|
@@ -20920,7 +21868,7 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
|
|
|
20920
21868
|
*/
|
|
20921
21869
|
negativeSentimentTo: z.ZodOptional<z.ZodNumber>;
|
|
20922
21870
|
/**
|
|
20923
|
-
* String Array. Filters by Google Content Categories. This field will accept 1 or more categories, must pass the full name of the category. Example: taxonomy=/Finance/Banking/Other, /Finance/Investing/Funds. [Full list](https://cloud.google.com/natural-language/docs/categories)
|
|
21871
|
+
* String Array. Filters by Google Content Categories. This field will accept 1 or more categories, must pass the full name of the category. Example: taxonomy=/Finance/Banking/Other, /Finance/Investing/Funds. [Full list](https://docs.cloud.google.com/natural-language/docs/categories#version_2)
|
|
20924
21872
|
*/
|
|
20925
21873
|
taxonomy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
20926
21874
|
/**
|
|
@@ -20958,7 +21906,7 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
|
|
|
20958
21906
|
returnedArticleCount?: number | null | undefined;
|
|
20959
21907
|
summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
|
|
20960
21908
|
method?: "ARTICLES" | "CLUSTERS" | null | undefined;
|
|
20961
|
-
model?: "gpt-
|
|
21909
|
+
model?: "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
|
|
20962
21910
|
temperature?: number | null | undefined;
|
|
20963
21911
|
topP?: number | null | undefined;
|
|
20964
21912
|
maxTokens?: number | null | undefined;
|
|
@@ -21063,7 +22011,7 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
|
|
|
21063
22011
|
returnedArticleCount?: number | null | undefined;
|
|
21064
22012
|
summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
|
|
21065
22013
|
method?: "ARTICLES" | "CLUSTERS" | null | undefined;
|
|
21066
|
-
model?: "gpt-
|
|
22014
|
+
model?: "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
|
|
21067
22015
|
temperature?: number | null | undefined;
|
|
21068
22016
|
topP?: number | null | undefined;
|
|
21069
22017
|
maxTokens?: number | null | undefined;
|
|
@@ -21312,11 +22260,11 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
|
|
|
21312
22260
|
/**
|
|
21313
22261
|
* Integer. Retrieve pages with the average number of views per day higher than the provided value.
|
|
21314
22262
|
*/
|
|
21315
|
-
pageviewsFrom: z.ZodOptional<z.
|
|
22263
|
+
pageviewsFrom: z.ZodOptional<z.ZodNumber>;
|
|
21316
22264
|
/**
|
|
21317
22265
|
* Integer. Retrieve pages with the average number of views per day lower than the provided value.
|
|
21318
22266
|
*/
|
|
21319
|
-
pageviewsTo: z.ZodOptional<z.
|
|
22267
|
+
pageviewsTo: z.ZodOptional<z.ZodNumber>;
|
|
21320
22268
|
/**
|
|
21321
22269
|
* Boolean. Retrieve pages that have any viewership statistics available for them. If `false` (the default) - return all pages.
|
|
21322
22270
|
*/
|
|
@@ -21356,8 +22304,8 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
|
|
|
21356
22304
|
wikidataInstanceOfLabel?: string[] | undefined;
|
|
21357
22305
|
wikiRevisionFrom?: Date | undefined;
|
|
21358
22306
|
wikiRevisionTo?: Date | undefined;
|
|
21359
|
-
pageviewsFrom?:
|
|
21360
|
-
pageviewsTo?:
|
|
22307
|
+
pageviewsFrom?: number | undefined;
|
|
22308
|
+
pageviewsTo?: number | undefined;
|
|
21361
22309
|
q?: string | undefined;
|
|
21362
22310
|
sortBy?: "relevance" | "revisionTsDesc" | "revisionTsAsc" | "pageViewsDesc" | "pageViewsAsc" | "scrapedAtDesc" | "scrapedAtAsc" | undefined;
|
|
21363
22311
|
showNumResults?: boolean | undefined;
|
|
@@ -21383,8 +22331,8 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
|
|
|
21383
22331
|
wikidataInstanceOfLabel?: string[] | undefined;
|
|
21384
22332
|
wikiRevisionFrom?: Date | undefined;
|
|
21385
22333
|
wikiRevisionTo?: Date | undefined;
|
|
21386
|
-
pageviewsFrom?:
|
|
21387
|
-
pageviewsTo?:
|
|
22334
|
+
pageviewsFrom?: number | undefined;
|
|
22335
|
+
pageviewsTo?: number | undefined;
|
|
21388
22336
|
q?: string | undefined;
|
|
21389
22337
|
sortBy?: "relevance" | "revisionTsDesc" | "revisionTsAsc" | "pageViewsDesc" | "pageViewsAsc" | "scrapedAtDesc" | "scrapedAtAsc" | undefined;
|
|
21390
22338
|
showNumResults?: boolean | undefined;
|
|
@@ -21474,11 +22422,11 @@ declare const SearchWikipediaRequestSchema: z.ZodObject<{
|
|
|
21474
22422
|
/**
|
|
21475
22423
|
* Integer. Retrieve pages with the average number of views per day higher than the provided value.
|
|
21476
22424
|
*/
|
|
21477
|
-
pageviewsFrom: z.ZodOptional<z.
|
|
22425
|
+
pageviewsFrom: z.ZodOptional<z.ZodNumber>;
|
|
21478
22426
|
/**
|
|
21479
22427
|
* Integer. Retrieve pages with the average number of views per day lower than the provided value.
|
|
21480
22428
|
*/
|
|
21481
|
-
pageviewsTo: z.ZodOptional<z.
|
|
22429
|
+
pageviewsTo: z.ZodOptional<z.ZodNumber>;
|
|
21482
22430
|
/**
|
|
21483
22431
|
* Boolean. Retrieve pages that have any viewership statistics available for them. If `false` (the default) - return all pages.
|
|
21484
22432
|
*/
|
|
@@ -21488,75 +22436,431 @@ declare const SearchWikipediaRequestSchema: z.ZodObject<{
|
|
|
21488
22436
|
*/
|
|
21489
22437
|
showNumResults: z.ZodOptional<z.ZodBoolean>;
|
|
21490
22438
|
/**
|
|
21491
|
-
* Integer. The specific page of results to retrieve in the paginated response. Starts at 0.
|
|
22439
|
+
* Integer. The specific page of results to retrieve in the paginated response. Starts at 0.
|
|
22440
|
+
*/
|
|
22441
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
22442
|
+
/**
|
|
22443
|
+
* Integer. The number of articles to return per page in the paginated response.
|
|
22444
|
+
*/
|
|
22445
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
22446
|
+
/**
|
|
22447
|
+
* String. Determines the Wikipedia page sorting order. Options include relevance (default), revisionTsDesc (recently edited first), revisionTsAsc (recently edited last), pageViewsDesc (highest viewership first), pageViewsAsc (highest viewership last), scrapedAtDesc (recently scraped first), scrapedAtAsc (recently scraped last).
|
|
22448
|
+
* @type SortByEnum
|
|
22449
|
+
* @values 'relevance', 'revisionTsDesc', 'revisionTsAsc', 'pageViewsDesc', 'pageViewsAsc', 'scrapedAtDesc', 'scrapedAtAsc'
|
|
22450
|
+
*/
|
|
22451
|
+
sortBy: z.ZodOptional<z.ZodEnum<["relevance", "revisionTsDesc", "revisionTsAsc", "pageViewsDesc", "pageViewsAsc", "scrapedAtDesc", "scrapedAtAsc"]>>;
|
|
22452
|
+
}, "strip", z.ZodTypeAny, {
|
|
22453
|
+
id?: string[] | undefined;
|
|
22454
|
+
title?: string | undefined;
|
|
22455
|
+
wikidataId?: string[] | undefined;
|
|
22456
|
+
summary?: string | undefined;
|
|
22457
|
+
category?: string[] | undefined;
|
|
22458
|
+
size?: number | undefined;
|
|
22459
|
+
page?: number | undefined;
|
|
22460
|
+
sectionId?: string[] | undefined;
|
|
22461
|
+
wikiPageId?: number[] | undefined;
|
|
22462
|
+
wikiRevisionId?: number[] | undefined;
|
|
22463
|
+
wikiCode?: string[] | undefined;
|
|
22464
|
+
wikiNamespace?: number[] | undefined;
|
|
22465
|
+
wikidataInstanceOfId?: string[] | undefined;
|
|
22466
|
+
wikidataInstanceOfLabel?: string[] | undefined;
|
|
22467
|
+
wikiRevisionFrom?: Date | undefined;
|
|
22468
|
+
wikiRevisionTo?: Date | undefined;
|
|
22469
|
+
pageviewsFrom?: number | undefined;
|
|
22470
|
+
pageviewsTo?: number | undefined;
|
|
22471
|
+
q?: string | undefined;
|
|
22472
|
+
sortBy?: "relevance" | "revisionTsDesc" | "revisionTsAsc" | "pageViewsDesc" | "pageViewsAsc" | "scrapedAtDesc" | "scrapedAtAsc" | undefined;
|
|
22473
|
+
showNumResults?: boolean | undefined;
|
|
22474
|
+
text?: string | undefined;
|
|
22475
|
+
reference?: string | undefined;
|
|
22476
|
+
scrapedAtFrom?: Date | undefined;
|
|
22477
|
+
scrapedAtTo?: Date | undefined;
|
|
22478
|
+
withPageviews?: boolean | undefined;
|
|
22479
|
+
}, {
|
|
22480
|
+
id?: string[] | undefined;
|
|
22481
|
+
title?: string | undefined;
|
|
22482
|
+
wikidataId?: string[] | undefined;
|
|
22483
|
+
summary?: string | undefined;
|
|
22484
|
+
category?: string[] | undefined;
|
|
22485
|
+
size?: number | undefined;
|
|
22486
|
+
page?: number | undefined;
|
|
22487
|
+
sectionId?: string[] | undefined;
|
|
22488
|
+
wikiPageId?: number[] | undefined;
|
|
22489
|
+
wikiRevisionId?: number[] | undefined;
|
|
22490
|
+
wikiCode?: string[] | undefined;
|
|
22491
|
+
wikiNamespace?: number[] | undefined;
|
|
22492
|
+
wikidataInstanceOfId?: string[] | undefined;
|
|
22493
|
+
wikidataInstanceOfLabel?: string[] | undefined;
|
|
22494
|
+
wikiRevisionFrom?: Date | undefined;
|
|
22495
|
+
wikiRevisionTo?: Date | undefined;
|
|
22496
|
+
pageviewsFrom?: number | undefined;
|
|
22497
|
+
pageviewsTo?: number | undefined;
|
|
22498
|
+
q?: string | undefined;
|
|
22499
|
+
sortBy?: "relevance" | "revisionTsDesc" | "revisionTsAsc" | "pageViewsDesc" | "pageViewsAsc" | "scrapedAtDesc" | "scrapedAtAsc" | undefined;
|
|
22500
|
+
showNumResults?: boolean | undefined;
|
|
22501
|
+
text?: string | undefined;
|
|
22502
|
+
reference?: string | undefined;
|
|
22503
|
+
scrapedAtFrom?: Date | undefined;
|
|
22504
|
+
scrapedAtTo?: Date | undefined;
|
|
22505
|
+
withPageviews?: boolean | undefined;
|
|
22506
|
+
}>;
|
|
22507
|
+
type SearchWikipediaRequest = z.input<typeof SearchWikipediaRequestSchema>;
|
|
22508
|
+
declare const UpdateSourceGroupBodySchema: z.ZodObject<{
|
|
22509
|
+
/**
|
|
22510
|
+
* Parameter patchSourceGroupParams
|
|
22511
|
+
* @required
|
|
22512
|
+
*/
|
|
22513
|
+
patchSourceGroupParams: z.ZodObject<{
|
|
22514
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22515
|
+
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22516
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22517
|
+
domains: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22518
|
+
}, "strip", z.ZodTypeAny, {
|
|
22519
|
+
name?: string | null | undefined;
|
|
22520
|
+
domains?: string[] | null | undefined;
|
|
22521
|
+
description?: string | null | undefined;
|
|
22522
|
+
displayName?: string | null | undefined;
|
|
22523
|
+
}, {
|
|
22524
|
+
name?: string | null | undefined;
|
|
22525
|
+
domains?: string[] | null | undefined;
|
|
22526
|
+
description?: string | null | undefined;
|
|
22527
|
+
displayName?: string | null | undefined;
|
|
22528
|
+
}>;
|
|
22529
|
+
}, "strip", z.ZodTypeAny, {
|
|
22530
|
+
patchSourceGroupParams: {
|
|
22531
|
+
name?: string | null | undefined;
|
|
22532
|
+
domains?: string[] | null | undefined;
|
|
22533
|
+
description?: string | null | undefined;
|
|
22534
|
+
displayName?: string | null | undefined;
|
|
22535
|
+
};
|
|
22536
|
+
}, {
|
|
22537
|
+
patchSourceGroupParams: {
|
|
22538
|
+
name?: string | null | undefined;
|
|
22539
|
+
domains?: string[] | null | undefined;
|
|
22540
|
+
description?: string | null | undefined;
|
|
22541
|
+
displayName?: string | null | undefined;
|
|
22542
|
+
};
|
|
22543
|
+
}>;
|
|
22544
|
+
declare const UpdateSourceGroupPathSchema: z.ZodObject<{
|
|
22545
|
+
/**
|
|
22546
|
+
* Parameter id
|
|
22547
|
+
* @required
|
|
22548
|
+
*/
|
|
22549
|
+
id: z.ZodNumber;
|
|
22550
|
+
}, "strip", z.ZodTypeAny, {
|
|
22551
|
+
id: number;
|
|
22552
|
+
}, {
|
|
22553
|
+
id: number;
|
|
22554
|
+
}>;
|
|
22555
|
+
declare const UpdateSourceGroupRequestSchema: z.ZodObject<{
|
|
22556
|
+
/**
|
|
22557
|
+
* Parameter id
|
|
22558
|
+
* @required
|
|
22559
|
+
*/
|
|
22560
|
+
id: z.ZodNumber;
|
|
22561
|
+
/**
|
|
22562
|
+
* Parameter patchSourceGroupParams
|
|
22563
|
+
* @required
|
|
22564
|
+
*/
|
|
22565
|
+
patchSourceGroupParams: z.ZodObject<{
|
|
22566
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22567
|
+
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22568
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22569
|
+
domains: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22570
|
+
}, "strip", z.ZodTypeAny, {
|
|
22571
|
+
name?: string | null | undefined;
|
|
22572
|
+
domains?: string[] | null | undefined;
|
|
22573
|
+
description?: string | null | undefined;
|
|
22574
|
+
displayName?: string | null | undefined;
|
|
22575
|
+
}, {
|
|
22576
|
+
name?: string | null | undefined;
|
|
22577
|
+
domains?: string[] | null | undefined;
|
|
22578
|
+
description?: string | null | undefined;
|
|
22579
|
+
displayName?: string | null | undefined;
|
|
22580
|
+
}>;
|
|
22581
|
+
}, "strip", z.ZodTypeAny, {
|
|
22582
|
+
id: number;
|
|
22583
|
+
patchSourceGroupParams: {
|
|
22584
|
+
name?: string | null | undefined;
|
|
22585
|
+
domains?: string[] | null | undefined;
|
|
22586
|
+
description?: string | null | undefined;
|
|
22587
|
+
displayName?: string | null | undefined;
|
|
22588
|
+
};
|
|
22589
|
+
}, {
|
|
22590
|
+
id: number;
|
|
22591
|
+
patchSourceGroupParams: {
|
|
22592
|
+
name?: string | null | undefined;
|
|
22593
|
+
domains?: string[] | null | undefined;
|
|
22594
|
+
description?: string | null | undefined;
|
|
22595
|
+
displayName?: string | null | undefined;
|
|
22596
|
+
};
|
|
22597
|
+
}>;
|
|
22598
|
+
type UpdateSourceGroupRequest = z.input<typeof UpdateSourceGroupRequestSchema>;
|
|
22599
|
+
declare const UpdateWatchlistBodySchema: z.ZodObject<{
|
|
22600
|
+
/**
|
|
22601
|
+
* Parameter updateWatchlistParams
|
|
22602
|
+
* @required
|
|
22603
|
+
*/
|
|
22604
|
+
updateWatchlistParams: z.ZodObject<{
|
|
22605
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22606
|
+
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22607
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22608
|
+
people: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22609
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22610
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22611
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22612
|
+
wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22613
|
+
}, "strip", z.ZodTypeAny, {
|
|
22614
|
+
name?: string | null | undefined;
|
|
22615
|
+
description?: string | null | undefined;
|
|
22616
|
+
wikidataId?: string | null | undefined;
|
|
22617
|
+
aliases?: string[] | null | undefined;
|
|
22618
|
+
}, {
|
|
22619
|
+
name?: string | null | undefined;
|
|
22620
|
+
description?: string | null | undefined;
|
|
22621
|
+
wikidataId?: string | null | undefined;
|
|
22622
|
+
aliases?: string[] | null | undefined;
|
|
22623
|
+
}>, "many">>>;
|
|
22624
|
+
companies: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22625
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22626
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22627
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22628
|
+
domain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22629
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22630
|
+
}, "strip", z.ZodTypeAny, {
|
|
22631
|
+
name?: string | null | undefined;
|
|
22632
|
+
id?: string | null | undefined;
|
|
22633
|
+
description?: string | null | undefined;
|
|
22634
|
+
domain?: string | null | undefined;
|
|
22635
|
+
aliases?: string[] | null | undefined;
|
|
22636
|
+
}, {
|
|
22637
|
+
name?: string | null | undefined;
|
|
22638
|
+
id?: string | null | undefined;
|
|
22639
|
+
description?: string | null | undefined;
|
|
22640
|
+
domain?: string | null | undefined;
|
|
22641
|
+
aliases?: string[] | null | undefined;
|
|
22642
|
+
}>, "many">>>;
|
|
22643
|
+
visible: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
22644
|
+
}, "strip", z.ZodTypeAny, {
|
|
22645
|
+
name?: string | null | undefined;
|
|
22646
|
+
description?: string | null | undefined;
|
|
22647
|
+
people?: {
|
|
22648
|
+
name?: string | null | undefined;
|
|
22649
|
+
description?: string | null | undefined;
|
|
22650
|
+
wikidataId?: string | null | undefined;
|
|
22651
|
+
aliases?: string[] | null | undefined;
|
|
22652
|
+
}[] | null | undefined;
|
|
22653
|
+
companies?: {
|
|
22654
|
+
name?: string | null | undefined;
|
|
22655
|
+
id?: string | null | undefined;
|
|
22656
|
+
description?: string | null | undefined;
|
|
22657
|
+
domain?: string | null | undefined;
|
|
22658
|
+
aliases?: string[] | null | undefined;
|
|
22659
|
+
}[] | null | undefined;
|
|
22660
|
+
displayName?: string | null | undefined;
|
|
22661
|
+
visible?: boolean | null | undefined;
|
|
22662
|
+
}, {
|
|
22663
|
+
name?: string | null | undefined;
|
|
22664
|
+
description?: string | null | undefined;
|
|
22665
|
+
people?: {
|
|
22666
|
+
name?: string | null | undefined;
|
|
22667
|
+
description?: string | null | undefined;
|
|
22668
|
+
wikidataId?: string | null | undefined;
|
|
22669
|
+
aliases?: string[] | null | undefined;
|
|
22670
|
+
}[] | null | undefined;
|
|
22671
|
+
companies?: {
|
|
22672
|
+
name?: string | null | undefined;
|
|
22673
|
+
id?: string | null | undefined;
|
|
22674
|
+
description?: string | null | undefined;
|
|
22675
|
+
domain?: string | null | undefined;
|
|
22676
|
+
aliases?: string[] | null | undefined;
|
|
22677
|
+
}[] | null | undefined;
|
|
22678
|
+
displayName?: string | null | undefined;
|
|
22679
|
+
visible?: boolean | null | undefined;
|
|
22680
|
+
}>;
|
|
22681
|
+
}, "strip", z.ZodTypeAny, {
|
|
22682
|
+
updateWatchlistParams: {
|
|
22683
|
+
name?: string | null | undefined;
|
|
22684
|
+
description?: string | null | undefined;
|
|
22685
|
+
people?: {
|
|
22686
|
+
name?: string | null | undefined;
|
|
22687
|
+
description?: string | null | undefined;
|
|
22688
|
+
wikidataId?: string | null | undefined;
|
|
22689
|
+
aliases?: string[] | null | undefined;
|
|
22690
|
+
}[] | null | undefined;
|
|
22691
|
+
companies?: {
|
|
22692
|
+
name?: string | null | undefined;
|
|
22693
|
+
id?: string | null | undefined;
|
|
22694
|
+
description?: string | null | undefined;
|
|
22695
|
+
domain?: string | null | undefined;
|
|
22696
|
+
aliases?: string[] | null | undefined;
|
|
22697
|
+
}[] | null | undefined;
|
|
22698
|
+
displayName?: string | null | undefined;
|
|
22699
|
+
visible?: boolean | null | undefined;
|
|
22700
|
+
};
|
|
22701
|
+
}, {
|
|
22702
|
+
updateWatchlistParams: {
|
|
22703
|
+
name?: string | null | undefined;
|
|
22704
|
+
description?: string | null | undefined;
|
|
22705
|
+
people?: {
|
|
22706
|
+
name?: string | null | undefined;
|
|
22707
|
+
description?: string | null | undefined;
|
|
22708
|
+
wikidataId?: string | null | undefined;
|
|
22709
|
+
aliases?: string[] | null | undefined;
|
|
22710
|
+
}[] | null | undefined;
|
|
22711
|
+
companies?: {
|
|
22712
|
+
name?: string | null | undefined;
|
|
22713
|
+
id?: string | null | undefined;
|
|
22714
|
+
description?: string | null | undefined;
|
|
22715
|
+
domain?: string | null | undefined;
|
|
22716
|
+
aliases?: string[] | null | undefined;
|
|
22717
|
+
}[] | null | undefined;
|
|
22718
|
+
displayName?: string | null | undefined;
|
|
22719
|
+
visible?: boolean | null | undefined;
|
|
22720
|
+
};
|
|
22721
|
+
}>;
|
|
22722
|
+
declare const UpdateWatchlistPathSchema: z.ZodObject<{
|
|
22723
|
+
/**
|
|
22724
|
+
* Parameter id
|
|
22725
|
+
* @required
|
|
21492
22726
|
*/
|
|
21493
|
-
|
|
22727
|
+
id: z.ZodNumber;
|
|
22728
|
+
}, "strip", z.ZodTypeAny, {
|
|
22729
|
+
id: number;
|
|
22730
|
+
}, {
|
|
22731
|
+
id: number;
|
|
22732
|
+
}>;
|
|
22733
|
+
declare const UpdateWatchlistRequestSchema: z.ZodObject<{
|
|
21494
22734
|
/**
|
|
21495
|
-
*
|
|
22735
|
+
* Parameter id
|
|
22736
|
+
* @required
|
|
21496
22737
|
*/
|
|
21497
|
-
|
|
22738
|
+
id: z.ZodNumber;
|
|
21498
22739
|
/**
|
|
21499
|
-
*
|
|
21500
|
-
* @
|
|
21501
|
-
* @values 'relevance', 'revisionTsDesc', 'revisionTsAsc', 'pageViewsDesc', 'pageViewsAsc', 'scrapedAtDesc', 'scrapedAtAsc'
|
|
22740
|
+
* Parameter updateWatchlistParams
|
|
22741
|
+
* @required
|
|
21502
22742
|
*/
|
|
21503
|
-
|
|
22743
|
+
updateWatchlistParams: z.ZodObject<{
|
|
22744
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22745
|
+
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22746
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22747
|
+
people: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22748
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22749
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22750
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22751
|
+
wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22752
|
+
}, "strip", z.ZodTypeAny, {
|
|
22753
|
+
name?: string | null | undefined;
|
|
22754
|
+
description?: string | null | undefined;
|
|
22755
|
+
wikidataId?: string | null | undefined;
|
|
22756
|
+
aliases?: string[] | null | undefined;
|
|
22757
|
+
}, {
|
|
22758
|
+
name?: string | null | undefined;
|
|
22759
|
+
description?: string | null | undefined;
|
|
22760
|
+
wikidataId?: string | null | undefined;
|
|
22761
|
+
aliases?: string[] | null | undefined;
|
|
22762
|
+
}>, "many">>>;
|
|
22763
|
+
companies: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22764
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22765
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22766
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22767
|
+
domain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22768
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22769
|
+
}, "strip", z.ZodTypeAny, {
|
|
22770
|
+
name?: string | null | undefined;
|
|
22771
|
+
id?: string | null | undefined;
|
|
22772
|
+
description?: string | null | undefined;
|
|
22773
|
+
domain?: string | null | undefined;
|
|
22774
|
+
aliases?: string[] | null | undefined;
|
|
22775
|
+
}, {
|
|
22776
|
+
name?: string | null | undefined;
|
|
22777
|
+
id?: string | null | undefined;
|
|
22778
|
+
description?: string | null | undefined;
|
|
22779
|
+
domain?: string | null | undefined;
|
|
22780
|
+
aliases?: string[] | null | undefined;
|
|
22781
|
+
}>, "many">>>;
|
|
22782
|
+
visible: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
22783
|
+
}, "strip", z.ZodTypeAny, {
|
|
22784
|
+
name?: string | null | undefined;
|
|
22785
|
+
description?: string | null | undefined;
|
|
22786
|
+
people?: {
|
|
22787
|
+
name?: string | null | undefined;
|
|
22788
|
+
description?: string | null | undefined;
|
|
22789
|
+
wikidataId?: string | null | undefined;
|
|
22790
|
+
aliases?: string[] | null | undefined;
|
|
22791
|
+
}[] | null | undefined;
|
|
22792
|
+
companies?: {
|
|
22793
|
+
name?: string | null | undefined;
|
|
22794
|
+
id?: string | null | undefined;
|
|
22795
|
+
description?: string | null | undefined;
|
|
22796
|
+
domain?: string | null | undefined;
|
|
22797
|
+
aliases?: string[] | null | undefined;
|
|
22798
|
+
}[] | null | undefined;
|
|
22799
|
+
displayName?: string | null | undefined;
|
|
22800
|
+
visible?: boolean | null | undefined;
|
|
22801
|
+
}, {
|
|
22802
|
+
name?: string | null | undefined;
|
|
22803
|
+
description?: string | null | undefined;
|
|
22804
|
+
people?: {
|
|
22805
|
+
name?: string | null | undefined;
|
|
22806
|
+
description?: string | null | undefined;
|
|
22807
|
+
wikidataId?: string | null | undefined;
|
|
22808
|
+
aliases?: string[] | null | undefined;
|
|
22809
|
+
}[] | null | undefined;
|
|
22810
|
+
companies?: {
|
|
22811
|
+
name?: string | null | undefined;
|
|
22812
|
+
id?: string | null | undefined;
|
|
22813
|
+
description?: string | null | undefined;
|
|
22814
|
+
domain?: string | null | undefined;
|
|
22815
|
+
aliases?: string[] | null | undefined;
|
|
22816
|
+
}[] | null | undefined;
|
|
22817
|
+
displayName?: string | null | undefined;
|
|
22818
|
+
visible?: boolean | null | undefined;
|
|
22819
|
+
}>;
|
|
21504
22820
|
}, "strip", z.ZodTypeAny, {
|
|
21505
|
-
id
|
|
21506
|
-
|
|
21507
|
-
|
|
21508
|
-
|
|
21509
|
-
|
|
21510
|
-
|
|
21511
|
-
|
|
21512
|
-
|
|
21513
|
-
|
|
21514
|
-
|
|
21515
|
-
|
|
21516
|
-
|
|
21517
|
-
|
|
21518
|
-
|
|
21519
|
-
|
|
21520
|
-
|
|
21521
|
-
|
|
21522
|
-
|
|
21523
|
-
|
|
21524
|
-
|
|
21525
|
-
showNumResults?: boolean | undefined;
|
|
21526
|
-
text?: string | undefined;
|
|
21527
|
-
reference?: string | undefined;
|
|
21528
|
-
scrapedAtFrom?: Date | undefined;
|
|
21529
|
-
scrapedAtTo?: Date | undefined;
|
|
21530
|
-
withPageviews?: boolean | undefined;
|
|
22821
|
+
id: number;
|
|
22822
|
+
updateWatchlistParams: {
|
|
22823
|
+
name?: string | null | undefined;
|
|
22824
|
+
description?: string | null | undefined;
|
|
22825
|
+
people?: {
|
|
22826
|
+
name?: string | null | undefined;
|
|
22827
|
+
description?: string | null | undefined;
|
|
22828
|
+
wikidataId?: string | null | undefined;
|
|
22829
|
+
aliases?: string[] | null | undefined;
|
|
22830
|
+
}[] | null | undefined;
|
|
22831
|
+
companies?: {
|
|
22832
|
+
name?: string | null | undefined;
|
|
22833
|
+
id?: string | null | undefined;
|
|
22834
|
+
description?: string | null | undefined;
|
|
22835
|
+
domain?: string | null | undefined;
|
|
22836
|
+
aliases?: string[] | null | undefined;
|
|
22837
|
+
}[] | null | undefined;
|
|
22838
|
+
displayName?: string | null | undefined;
|
|
22839
|
+
visible?: boolean | null | undefined;
|
|
22840
|
+
};
|
|
21531
22841
|
}, {
|
|
21532
|
-
id
|
|
21533
|
-
|
|
21534
|
-
|
|
21535
|
-
|
|
21536
|
-
|
|
21537
|
-
|
|
21538
|
-
|
|
21539
|
-
|
|
21540
|
-
|
|
21541
|
-
|
|
21542
|
-
|
|
21543
|
-
|
|
21544
|
-
|
|
21545
|
-
|
|
21546
|
-
|
|
21547
|
-
|
|
21548
|
-
|
|
21549
|
-
|
|
21550
|
-
|
|
21551
|
-
|
|
21552
|
-
showNumResults?: boolean | undefined;
|
|
21553
|
-
text?: string | undefined;
|
|
21554
|
-
reference?: string | undefined;
|
|
21555
|
-
scrapedAtFrom?: Date | undefined;
|
|
21556
|
-
scrapedAtTo?: Date | undefined;
|
|
21557
|
-
withPageviews?: boolean | undefined;
|
|
22842
|
+
id: number;
|
|
22843
|
+
updateWatchlistParams: {
|
|
22844
|
+
name?: string | null | undefined;
|
|
22845
|
+
description?: string | null | undefined;
|
|
22846
|
+
people?: {
|
|
22847
|
+
name?: string | null | undefined;
|
|
22848
|
+
description?: string | null | undefined;
|
|
22849
|
+
wikidataId?: string | null | undefined;
|
|
22850
|
+
aliases?: string[] | null | undefined;
|
|
22851
|
+
}[] | null | undefined;
|
|
22852
|
+
companies?: {
|
|
22853
|
+
name?: string | null | undefined;
|
|
22854
|
+
id?: string | null | undefined;
|
|
22855
|
+
description?: string | null | undefined;
|
|
22856
|
+
domain?: string | null | undefined;
|
|
22857
|
+
aliases?: string[] | null | undefined;
|
|
22858
|
+
}[] | null | undefined;
|
|
22859
|
+
displayName?: string | null | undefined;
|
|
22860
|
+
visible?: boolean | null | undefined;
|
|
22861
|
+
};
|
|
21558
22862
|
}>;
|
|
21559
|
-
type
|
|
22863
|
+
type UpdateWatchlistRequest = z.input<typeof UpdateWatchlistRequestSchema>;
|
|
21560
22864
|
declare const VectorSearchArticlesBodySchema: z.ZodObject<{
|
|
21561
22865
|
/**
|
|
21562
22866
|
* Parameter articleSearchParams
|
|
@@ -22719,11 +24023,36 @@ type VectorSearchWikipediaRequest = z.input<typeof VectorSearchWikipediaRequestS
|
|
|
22719
24023
|
*
|
|
22720
24024
|
*/
|
|
22721
24025
|
declare class V1Api extends BaseAPI {
|
|
24026
|
+
/**
|
|
24027
|
+
* Create a new source group under the organization associated with the API key.
|
|
24028
|
+
* Create source group
|
|
24029
|
+
*/
|
|
24030
|
+
createSourceGroup(requestParameters: CreateSourceGroupRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
|
|
24031
|
+
/**
|
|
24032
|
+
* Create a new watchlist under the organization associated with the API key. A watchlist can contain up to 100 combined people and companies.
|
|
24033
|
+
* Create watchlist
|
|
24034
|
+
*/
|
|
24035
|
+
createWatchlist(requestParameters: CreateWatchlistRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
|
|
24036
|
+
/**
|
|
24037
|
+
* Delete a source group owned by the organization associated with the API key.
|
|
24038
|
+
* Delete source group
|
|
24039
|
+
*/
|
|
24040
|
+
deleteSourceGroup(requestParameters: DeleteSourceGroupRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
|
|
24041
|
+
/**
|
|
24042
|
+
* Delete a watchlist owned by the organization associated with the API key. A watchlist cannot be deleted if it is attached to active signals.
|
|
24043
|
+
* Delete watchlist
|
|
24044
|
+
*/
|
|
24045
|
+
deleteWatchlist(requestParameters: DeleteWatchlistRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
|
|
22722
24046
|
/**
|
|
22723
24047
|
* Find additional details on a journalist by using the journalist ID found in an article response object.
|
|
22724
24048
|
* Journalists by ID
|
|
22725
24049
|
*/
|
|
22726
24050
|
getJournalistById(requestParameters: GetJournalistByIdRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Journalist>;
|
|
24051
|
+
/**
|
|
24052
|
+
* Retrieve a source group by ID. Only returns source groups owned by the organization associated with the API key.
|
|
24053
|
+
* Get source group
|
|
24054
|
+
*/
|
|
24055
|
+
getSourceGroup(requestParameters: GetSourceGroupRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
|
|
22727
24056
|
/**
|
|
22728
24057
|
* Get statistics on story counts over time intervals. Supports filtering by various story attributes and grouping by different time intervals (hour, day, week, month).
|
|
22729
24058
|
* Story Count Statistics
|
|
@@ -22733,6 +24062,31 @@ declare class V1Api extends BaseAPI {
|
|
|
22733
24062
|
* Story History
|
|
22734
24063
|
*/
|
|
22735
24064
|
getStoryHistory(requestParameters?: GetStoryHistoryRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<StoryHistoryResult>;
|
|
24065
|
+
/**
|
|
24066
|
+
* Retrieve a watchlist by ID. Only returns watchlists owned by the organization associated with the API key.
|
|
24067
|
+
* Get watchlist
|
|
24068
|
+
*/
|
|
24069
|
+
getWatchlist(requestParameters: GetWatchlistRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
|
|
24070
|
+
/**
|
|
24071
|
+
* List source groups owned by the organization associated with the API key, as well as publicly visible source groups. Supports filtering by name and domain.
|
|
24072
|
+
* List source groups
|
|
24073
|
+
*/
|
|
24074
|
+
listSourceGroups(requestParameters: ListSourceGroupsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
|
|
24075
|
+
/**
|
|
24076
|
+
* List watchlists owned by the organization associated with the API key, as well as publicly visible watchlists. Supports filtering by name.
|
|
24077
|
+
* List watchlists
|
|
24078
|
+
*/
|
|
24079
|
+
listWatchlists(requestParameters: ListWatchlistsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
|
|
24080
|
+
/**
|
|
24081
|
+
* Resolve source groups by name. For each name, returns the organization\'s private source group if one exists, otherwise falls back to the matching public source group.
|
|
24082
|
+
* Resolve source groups
|
|
24083
|
+
*/
|
|
24084
|
+
resolveSourceGroups(requestParameters?: ResolveSourceGroupsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
|
|
24085
|
+
/**
|
|
24086
|
+
* Resolve watchlists by name. For each name, returns the organization\'s private watchlist if one exists, otherwise falls back to the matching public watchlist.
|
|
24087
|
+
* Resolve watchlists
|
|
24088
|
+
*/
|
|
24089
|
+
resolveWatchlists(requestParameters?: ResolveWatchlistsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
|
|
22736
24090
|
/**
|
|
22737
24091
|
* Search and filter all news articles available via the Perigon API. The result includes a list of individual articles that were matched to your specific criteria.
|
|
22738
24092
|
* All Articles
|
|
@@ -22778,6 +24132,16 @@ declare class V1Api extends BaseAPI {
|
|
|
22778
24132
|
* Wikipedia
|
|
22779
24133
|
*/
|
|
22780
24134
|
searchWikipedia(requestParameters?: SearchWikipediaRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<WikipediaSearchResult>;
|
|
24135
|
+
/**
|
|
24136
|
+
* Partially update a source group owned by the organization associated with the API key. Only provided fields will be updated.
|
|
24137
|
+
* Update source group
|
|
24138
|
+
*/
|
|
24139
|
+
updateSourceGroup(requestParameters: UpdateSourceGroupRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
|
|
24140
|
+
/**
|
|
24141
|
+
* Partially update a watchlist owned by the organization associated with the API key. Only provided fields will be updated.
|
|
24142
|
+
* Update watchlist
|
|
24143
|
+
*/
|
|
24144
|
+
updateWatchlist(requestParameters: UpdateWatchlistRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
|
|
22781
24145
|
/**
|
|
22782
24146
|
* Perform a natural language search over news articles from the past 6 months using semantic relevance. The result includes a list of articles most closely matched to your query intent.
|
|
22783
24147
|
* News (Vector)
|
|
@@ -22822,4 +24186,4 @@ declare const SearchWikipediaSortByEnum: {
|
|
|
22822
24186
|
};
|
|
22823
24187
|
type SearchWikipediaSortByEnum = (typeof SearchWikipediaSortByEnum)[keyof typeof SearchWikipediaSortByEnum];
|
|
22824
24188
|
|
|
22825
|
-
export { AllEndpointSortBy, AllEndpointSortBySchema, type Article, ArticleSchema, type ArticleSearchFilter, ArticleSearchFilterSchema, type ArticleSearchParams, ArticleSearchParamsSchema, type ArticlesVectorSearchResult, ArticlesVectorSearchResultSchema, BASE_PATH, BadRequestError, BaseAPI, COLLECTION_FORMATS, type CategoryHolder, CategoryHolderSchema, type CategoryWithScoreHolder, CategoryWithScoreHolderSchema, type Company, type CompanyCount, CompanyCountSchema, type CompanyHolder, CompanyHolderSchema, CompanySchema, type CompanySearchResult, CompanySearchResultSchema, Configuration, type ConfigurationParameters, type Coordinate, type CoordinateFilter, CoordinateFilterSchema, CoordinateSchema, DefaultConfig, type EntityHolder, EntityHolderSchema, type ErrorContext, type ErrorResponse, ErrorResponseSchema, type EventTypeHolder, EventTypeHolderSchema, type FetchAPI, FetchError, type FetchParams, ForbiddenError, GetJournalistByIdPathSchema, type GetJournalistByIdRequest, GetJournalistByIdRequestSchema, GetStoryCountsQuerySchema, type GetStoryCountsRequest, GetStoryCountsRequestSchema, GetStoryCountsSplitByEnum, GetStoryHistoryQuerySchema, type GetStoryHistoryRequest, GetStoryHistoryRequestSchema, GetStoryHistorySortByEnum, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, HttpError, type IdNameHolder, IdNameHolderSchema, type ImageHolder, ImageHolderSchema, type InitOverrideFunction, type Journalist, JournalistSchema, type JournalistSearchResult, JournalistSearchResultSchema, type Json, type KeyPoint, KeyPointSchema, type KeywordHolder, KeywordHolderSchema, type LabelHolder, LabelHolderSchema, type LocationCount, LocationCountSchema, type LocationHolder, LocationHolderSchema, type Middleware, type ModelPropertyNaming, type NameCount, NameCountSchema, NetworkError, type NewsCluster, NewsClusterSchema, NotFoundError, type PeopleSearchResult, PeopleSearchResultSchema, type Person, type PersonCount, PersonCountSchema, type PersonHolder, PersonHolderSchema, PersonSchema, type Place, PlaceSchema, type QuerySearchResult, QuerySearchResultSchema, type Question, QuestionSchema, RateLimitError, type RecordStatHolder, RecordStatHolderSchema, type RequestContext, type RequestOpts, type ResponseContext, type ScoredDataArticle, ScoredDataArticleSchema, type ScoredDataWikiData, ScoredDataWikiDataSchema, SearchArticlesQuerySchema, type SearchArticlesRequest, SearchArticlesRequestSchema, SearchCompaniesQuerySchema, type SearchCompaniesRequest, SearchCompaniesRequestSchema, SearchJournalistsQuerySchema, type SearchJournalistsRequest, SearchJournalistsRequestSchema, SearchPeopleQuerySchema, type SearchPeopleRequest, SearchPeopleRequestSchema, SearchSourcesQuerySchema, type SearchSourcesRequest, SearchSourcesRequestSchema, SearchStoriesQuerySchema, type SearchStoriesRequest, SearchStoriesRequestSchema, SearchSummarizerBodySchema, SearchSummarizerQuerySchema, type SearchSummarizerRequest, SearchSummarizerRequestSchema, SearchTopicsQuerySchema, type SearchTopicsRequest, SearchTopicsRequestSchema, SearchWikipediaQuerySchema, type SearchWikipediaRequest, SearchWikipediaRequestSchema, SearchWikipediaSortByEnum, type SentimentHolder, SentimentHolderSchema, ServerError, SortBy, SortBySchema, type Source, type SourceHolder, SourceHolderSchema, type SourceLocation, SourceLocationSchema, SourceSchema, type SourceSearchResult, SourceSearchResultSchema, type SourceTopStatHolder, SourceTopStatHolderSchema, type StatResult, StatResultSchema, type StoryHistoryRecord, StoryHistoryRecordSchema, type StoryHistoryResult, StoryHistoryResultSchema, type StorySearchResult, StorySearchResultSchema, type SummaryBody, SummaryBodySchema, type SummarySearchResult, SummarySearchResultSchema, type SymbolHolder, SymbolHolderSchema, type TopicDto, TopicDtoSchema, type TopicHolder, TopicHolderSchema, type TopicLabels, TopicLabelsSchema, type TopicSearchResult, TopicSearchResultSchema, UnauthorizedError, V1Api, VectorSearchArticlesBodySchema, type VectorSearchArticlesRequest, VectorSearchArticlesRequestSchema, VectorSearchWikipediaBodySchema, type VectorSearchWikipediaRequest, VectorSearchWikipediaRequestSchema, type WebResources, WebResourcesSchema, type WikiData, WikiDataSchema, type WikiPage, WikiPageSchema, type WikiPageSectionHolder, WikiPageSectionHolderSchema, type WikidataDateHolder, WikidataDateHolderSchema, type WikidataLabelHolder, WikidataLabelHolderSchema, type WikidataPoliticalPartyHolder, WikidataPoliticalPartyHolderSchema, type WikidataPositionHolder, WikidataPositionHolderSchema, type WikipediaSearchFilter, WikipediaSearchFilterSchema, type WikipediaSearchParams, WikipediaSearchParamsSchema, type WikipediaSearchResult, WikipediaSearchResultSchema, type WikipediaVectorSearchResult, WikipediaVectorSearchResultSchema, createHttpError, exists, querystring };
|
|
24189
|
+
export { AllEndpointSortBy, AllEndpointSortBySchema, type Article, ArticleSchema, type ArticleSearchFilter, ArticleSearchFilterSchema, type ArticleSearchParams, ArticleSearchParamsSchema, type ArticlesVectorSearchResult, ArticlesVectorSearchResultSchema, BASE_PATH, BadRequestError, BaseAPI, COLLECTION_FORMATS, type CategoryHolder, CategoryHolderSchema, type CategoryWithScoreHolder, CategoryWithScoreHolderSchema, type Company, type CompanyCount, CompanyCountSchema, type CompanyHolder, CompanyHolderSchema, CompanySchema, type CompanySearchResult, CompanySearchResultSchema, Configuration, type ConfigurationParameters, type Coordinate, type CoordinateFilter, CoordinateFilterSchema, CoordinateSchema, CreateSourceGroupBodySchema, type CreateSourceGroupParams, CreateSourceGroupParamsSchema, type CreateSourceGroupRequest, CreateSourceGroupRequestSchema, CreateWatchlistBodySchema, type CreateWatchlistParams, CreateWatchlistParamsSchema, type CreateWatchlistRequest, CreateWatchlistRequestSchema, DefaultConfig, DeleteSourceGroupPathSchema, type DeleteSourceGroupRequest, DeleteSourceGroupRequestSchema, DeleteWatchlistPathSchema, type DeleteWatchlistRequest, DeleteWatchlistRequestSchema, type EntityHolder, EntityHolderSchema, type ErrorContext, type ErrorResponse, ErrorResponseSchema, type EventTypeHolder, EventTypeHolderSchema, type FetchAPI, FetchError, type FetchParams, ForbiddenError, GetJournalistByIdPathSchema, type GetJournalistByIdRequest, GetJournalistByIdRequestSchema, GetSourceGroupPathSchema, type GetSourceGroupRequest, GetSourceGroupRequestSchema, GetStoryCountsQuerySchema, type GetStoryCountsRequest, GetStoryCountsRequestSchema, GetStoryCountsSplitByEnum, GetStoryHistoryQuerySchema, type GetStoryHistoryRequest, GetStoryHistoryRequestSchema, GetStoryHistorySortByEnum, GetWatchlistPathSchema, type GetWatchlistRequest, GetWatchlistRequestSchema, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, HttpError, type IdNameHolder, IdNameHolderSchema, type ImageHolder, ImageHolderSchema, type InitOverrideFunction, type Journalist, JournalistSchema, type JournalistSearchResult, JournalistSearchResultSchema, type Json, type KeyPoint, KeyPointSchema, type KeywordHolder, KeywordHolderSchema, type LabelHolder, LabelHolderSchema, ListSourceGroupsQuerySchema, type ListSourceGroupsRequest, ListSourceGroupsRequestSchema, ListWatchlistsQuerySchema, type ListWatchlistsRequest, ListWatchlistsRequestSchema, type LocationCount, LocationCountSchema, type LocationHolder, LocationHolderSchema, type Middleware, type ModelPropertyNaming, type NameCount, NameCountSchema, NetworkError, type NewsCluster, NewsClusterSchema, NotFoundError, type PatchSourceGroupParams, PatchSourceGroupParamsSchema, type PeopleSearchResult, PeopleSearchResultSchema, type Person, type PersonCount, PersonCountSchema, type PersonHolder, PersonHolderSchema, PersonSchema, type Place, PlaceSchema, type QuerySearchResult, QuerySearchResultSchema, type Question, QuestionSchema, RateLimitError, type RecordStatHolder, RecordStatHolderSchema, type RequestContext, type RequestOpts, ResolveSourceGroupsQuerySchema, type ResolveSourceGroupsRequest, ResolveSourceGroupsRequestSchema, ResolveWatchlistsQuerySchema, type ResolveWatchlistsRequest, ResolveWatchlistsRequestSchema, type ResponseContext, type ScoredDataArticle, ScoredDataArticleSchema, type ScoredDataWikiData, ScoredDataWikiDataSchema, SearchArticlesQuerySchema, type SearchArticlesRequest, SearchArticlesRequestSchema, SearchCompaniesQuerySchema, type SearchCompaniesRequest, SearchCompaniesRequestSchema, SearchJournalistsQuerySchema, type SearchJournalistsRequest, SearchJournalistsRequestSchema, SearchPeopleQuerySchema, type SearchPeopleRequest, SearchPeopleRequestSchema, SearchSourcesQuerySchema, type SearchSourcesRequest, SearchSourcesRequestSchema, SearchStoriesQuerySchema, type SearchStoriesRequest, SearchStoriesRequestSchema, SearchSummarizerBodySchema, SearchSummarizerQuerySchema, type SearchSummarizerRequest, SearchSummarizerRequestSchema, SearchTopicsQuerySchema, type SearchTopicsRequest, SearchTopicsRequestSchema, SearchWikipediaQuerySchema, type SearchWikipediaRequest, SearchWikipediaRequestSchema, SearchWikipediaSortByEnum, type SentimentHolder, SentimentHolderSchema, ServerError, SortBy, SortBySchema, type Source, type SourceHolder, SourceHolderSchema, type SourceLocation, SourceLocationSchema, SourceSchema, type SourceSearchResult, SourceSearchResultSchema, type SourceTopStatHolder, SourceTopStatHolderSchema, type StatResult, StatResultSchema, type StoryHistoryRecord, StoryHistoryRecordSchema, type StoryHistoryResult, StoryHistoryResultSchema, type StorySearchResult, StorySearchResultSchema, type SummaryBody, SummaryBodySchema, type SummarySearchResult, SummarySearchResultSchema, type SymbolHolder, SymbolHolderSchema, type TopicDto, TopicDtoSchema, type TopicHolder, TopicHolderSchema, type TopicLabels, TopicLabelsSchema, type TopicSearchResult, TopicSearchResultSchema, UnauthorizedError, UpdateSourceGroupBodySchema, UpdateSourceGroupPathSchema, type UpdateSourceGroupRequest, UpdateSourceGroupRequestSchema, UpdateWatchlistBodySchema, type UpdateWatchlistParams, UpdateWatchlistParamsSchema, UpdateWatchlistPathSchema, type UpdateWatchlistRequest, UpdateWatchlistRequestSchema, V1Api, VectorSearchArticlesBodySchema, type VectorSearchArticlesRequest, VectorSearchArticlesRequestSchema, VectorSearchWikipediaBodySchema, type VectorSearchWikipediaRequest, VectorSearchWikipediaRequestSchema, type WatchlistCompany, WatchlistCompanySchema, type WatchlistPerson, WatchlistPersonSchema, type WebResources, WebResourcesSchema, type WikiData, WikiDataSchema, type WikiPage, WikiPageSchema, type WikiPageSectionHolder, WikiPageSectionHolderSchema, type WikidataDateHolder, WikidataDateHolderSchema, type WikidataLabelHolder, WikidataLabelHolderSchema, type WikidataPoliticalPartyHolder, WikidataPoliticalPartyHolderSchema, type WikidataPositionHolder, WikidataPositionHolderSchema, type WikipediaSearchFilter, WikipediaSearchFilterSchema, type WikipediaSearchParams, WikipediaSearchParamsSchema, type WikipediaSearchResult, WikipediaSearchResultSchema, type WikipediaVectorSearchResult, WikipediaVectorSearchResultSchema, createHttpError, exists, querystring };
|