@goperigon/perigon-ts 2.3.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.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 ErrorResponseSchema: z.ZodObject<{
8905
- status: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
8906
- message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8907
- timestamp: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
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
- message?: string | null | undefined;
8910
- status?: number | null | undefined;
8911
- timestamp?: number | null | undefined;
8946
+ name: string;
8947
+ domains: string[];
8948
+ description?: string | null | undefined;
8949
+ displayName?: string | null | undefined;
8912
8950
  }, {
8913
- message?: string | null | undefined;
8914
- status?: number | null | undefined;
8915
- timestamp?: number | null | undefined;
8951
+ name: string;
8952
+ domains: string[];
8953
+ description?: string | null | undefined;
8954
+ displayName?: string | null | undefined;
8916
8955
  }>;
8917
- type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
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 JournalistSearchResultSchema: z.ZodObject<{
8927
- status: z.ZodNumber;
8928
- numResults: z.ZodNumber;
8929
- results: z.ZodArray<z.ZodObject<{
8930
- id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8931
- name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8932
- fullName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8933
- headline: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8934
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8935
- title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8936
- locations: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
8937
- country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8938
- state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8939
- county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8940
- city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8941
- area: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8942
- }, "strip", z.ZodTypeAny, {
8943
- country?: string | null | undefined;
8944
- state?: string | null | undefined;
8945
- county?: string | null | undefined;
8946
- city?: string | null | undefined;
8947
- area?: string | null | undefined;
8948
- }, {
8949
- country?: string | null | undefined;
8950
- state?: string | null | undefined;
8951
- county?: string | null | undefined;
8952
- city?: string | null | undefined;
8953
- area?: string | null | undefined;
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
- name?: string | null | undefined;
9021
- updatedAt?: string | null | undefined;
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
- wikidataId?: string | null | undefined;
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
- createdAt?: string | null | undefined;
9579
- updatedAt?: string | null | undefined;
9843
+ domains?: string[] | null | undefined;
9580
9844
  description?: string | null | undefined;
9581
- wikidataId?: string | null | undefined;
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 Person = z.infer<typeof PersonSchema>;
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-4o", "gpt-4o-mini", "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", "llama-3.3-70b-versatile", "openai/gpt-oss-120b"]>>>;
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-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
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-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
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;
@@ -15969,31 +16209,127 @@ declare const TopicSearchResultSchema: z.ZodObject<{
15969
16209
  } | null | undefined;
15970
16210
  }>, "many">;
15971
16211
  }, "strip", z.ZodTypeAny, {
15972
- data: {
16212
+ data: {
16213
+ name?: string | null | undefined;
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?: {
15973
16299
  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;
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
- data: {
16314
+ name?: string | null | undefined;
16315
+ description?: string | null | undefined;
16316
+ people?: {
15985
16317
  name?: string | null | undefined;
15986
- createdAt?: string | null | undefined;
15987
- updatedAt?: string | null | undefined;
15988
- id?: number | null | undefined;
15989
- labels?: {
15990
- category?: string | null | undefined;
15991
- subcategory?: string | null | undefined;
15992
- } | null | undefined;
15993
- }[];
15994
- total: number;
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 TopicSearchResult = z.infer<typeof TopicSearchResultSchema>;
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
- content?: string | null | undefined;
16665
- pageId?: string | null | undefined;
16666
- sectionId?: string | null | undefined;
16667
- wikiPageId?: number | null | undefined;
16668
- wikiRevisionId?: number | null | undefined;
16669
- wikiRevisionTs?: string | null | undefined;
16670
- wikiCode?: string | null | undefined;
16671
- wikiNamespace?: number | null | undefined;
16672
- wikiTitle?: string | null | undefined;
16673
- wikidataInstanceOf?: {
16674
- wikidataId?: string | null | undefined;
16675
- label?: string | null | undefined;
16676
- }[] | null | undefined;
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
- status: number;
16684
- results: {
16685
- score?: number | null | undefined;
16686
- data?: {
16687
- title?: string | null | undefined;
17357
+ createWatchlistParams: {
17358
+ name: string;
17359
+ people: {
17360
+ name?: string | null | undefined;
17361
+ description?: string | null | undefined;
16688
17362
  wikidataId?: string | null | undefined;
16689
- content?: string | null | undefined;
16690
- pageId?: string | null | undefined;
16691
- sectionId?: string | null | undefined;
16692
- wikiPageId?: number | null | undefined;
16693
- wikiRevisionId?: number | null | undefined;
16694
- wikiRevisionTs?: string | null | undefined;
16695
- wikiCode?: string | null | undefined;
16696
- wikiNamespace?: number | null | undefined;
16697
- wikiTitle?: string | null | undefined;
16698
- wikidataInstanceOf?: {
16699
- wikidataId?: string | null | undefined;
16700
- label?: string | null | undefined;
16701
- }[] | null | undefined;
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 WikipediaVectorSearchResult = z.infer<typeof WikipediaVectorSearchResultSchema>;
16709
-
16710
- /**
16711
- * Perigon API
16712
- * 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.
16713
- *
16714
- * The version of the OpenAPI document: 1.0.0
16715
- * Contact: data@perigon.io
16716
- *
16717
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
16718
- * https://openapi-generator.tech
16719
- * Do not edit the class manually.
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.
@@ -17385,63 +18110,286 @@ declare const GetStoryHistoryQuerySchema: z.ZodObject<{
17385
18110
  to?: Date | undefined;
17386
18111
  changelogExists?: boolean | undefined;
17387
18112
  }, {
17388
- clusterId?: string[] | undefined;
17389
- size?: number | undefined;
17390
- page?: number | undefined;
17391
- sortBy?: "createdAt" | "triggeredAt" | undefined;
17392
- from?: Date | undefined;
17393
- to?: Date | undefined;
17394
- changelogExists?: boolean | undefined;
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. \&#39;from\&#39; filter, will search stories created after the specified date, the date could be passed as ISO or \&#39;yyyy-mm-dd\&#39;. Add time in ISO format, ie. 2023-03-01T00:00:00
18128
+ */
18129
+ from: z.ZodOptional<z.ZodDate>;
18130
+ /**
18131
+ * Date. \&#39;to\&#39; filter, will search stories created before the specified date, the date could be passed as ISO or \&#39;yyyy-mm-dd\&#39;. 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: \&#39;asc\&#39; or \&#39;desc\&#39;_.
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_.
18246
+ */
18247
+ page: z.ZodOptional<z.ZodString>;
18248
+ /**
18249
+ * The number of items per page. _Must be at least 1_. _Default value 10_.
18250
+ */
18251
+ size: z.ZodOptional<z.ZodString>;
18252
+ /**
18253
+ * Field to sort by.
18254
+ * @required
18255
+ */
18256
+ sortBy: z.ZodString;
18257
+ /**
18258
+ * The sort order for the results. _Available values: \&#39;asc\&#39; or \&#39;desc\&#39;_.
18259
+ * @required
18260
+ */
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<{
18279
+ /**
18280
+ * Filter watchlists by name (case-insensitive, partial match)
18281
+ */
18282
+ name: z.ZodOptional<z.ZodString>;
18283
+ /**
18284
+ * The page number to retrieve. _Starting from 0_. _Default value 0_.
18285
+ */
18286
+ page: z.ZodOptional<z.ZodString>;
18287
+ /**
18288
+ * The number of items per page. _Must be at least 1_. _Default value 10_.
18289
+ */
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: \&#39;asc\&#39; or \&#39;desc\&#39;_.
18298
+ * @required
18299
+ */
18300
+ sortOrder: z.ZodString;
18301
+ }, "strip", z.ZodTypeAny, {
18302
+ sortBy: string;
18303
+ sortOrder: string;
18304
+ name?: string | undefined;
18305
+ size?: string | undefined;
18306
+ page?: string | undefined;
18307
+ }, {
18308
+ sortBy: string;
18309
+ sortOrder: string;
18310
+ name?: string | undefined;
18311
+ size?: string | undefined;
18312
+ page?: string | undefined;
17395
18313
  }>;
17396
- declare const GetStoryHistoryRequestSchema: z.ZodObject<{
18314
+ declare const ListWatchlistsRequestSchema: z.ZodObject<{
17397
18315
  /**
17398
- * String Array. Filter to specific story. Passing a cluster ID will filter results to only the content found within the cluster.
18316
+ * Filter watchlists by name (case-insensitive, partial match)
17399
18317
  */
17400
- clusterId: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18318
+ name: z.ZodOptional<z.ZodString>;
17401
18319
  /**
17402
- * Date. \&#39;from\&#39; filter, will search stories created after the specified date, the date could be passed as ISO or \&#39;yyyy-mm-dd\&#39;. Add time in ISO format, ie. 2023-03-01T00:00:00
18320
+ * The page number to retrieve. _Starting from 0_. _Default value 0_.
17403
18321
  */
17404
- from: z.ZodOptional<z.ZodDate>;
18322
+ page: z.ZodOptional<z.ZodString>;
17405
18323
  /**
17406
- * Date. \&#39;to\&#39; filter, will search stories created before the specified date, the date could be passed as ISO or \&#39;yyyy-mm-dd\&#39;. Add time in ISO format, ie. 2023-03-01T23:59:59.
18324
+ * The number of items per page. _Must be at least 1_. _Default value 10_.
17407
18325
  */
17408
- to: z.ZodOptional<z.ZodDate>;
18326
+ size: z.ZodOptional<z.ZodString>;
17409
18327
  /**
17410
- * String. Sort stories by count, creation date (createdAt), story refresh trigger date (triggeredAt).
17411
- * @type SortByEnum
17412
- * @values 'createdAt', 'triggeredAt'
18328
+ * Field to sort by.
18329
+ * @required
17413
18330
  */
17414
- sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "triggeredAt"]>>;
18331
+ sortBy: z.ZodString;
17415
18332
  /**
17416
- * Integer. Zero-based page number. From 0 to 10000. See the Pagination section for limitations.
18333
+ * The sort order for the results. _Available values: \&#39;asc\&#39; or \&#39;desc\&#39;_.
18334
+ * @required
17417
18335
  */
17418
- page: z.ZodOptional<z.ZodNumber>;
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
- * Integer. Number of stories results per page, from 0 to 100.
18353
+ * Source group names to resolve (max 100)
17421
18354
  */
17422
- size: z.ZodOptional<z.ZodNumber>;
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
- * Boolean. Filter to only include clusters that have a changelog or not.
18363
+ * Source group names to resolve (max 100)
17425
18364
  */
17426
- changelogExists: z.ZodOptional<z.ZodBoolean>;
18365
+ name: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17427
18366
  }, "strip", z.ZodTypeAny, {
17428
- clusterId?: string[] | undefined;
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
- clusterId?: string[] | undefined;
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 GetStoryHistoryRequest = z.input<typeof GetStoryHistoryRequestSchema>;
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.
@@ -17671,18 +18619,34 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
17671
18619
  * String Array. Find articles published by sources that are located within a given city.
17672
18620
  */
17673
18621
  sourceCity: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18622
+ /**
18623
+ * String Array. Excludes articles published by sources that are located within the specified cities.
18624
+ */
18625
+ excludeSourceCity: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17674
18626
  /**
17675
18627
  * String Array. Find articles published by sources that are located within a given county.
17676
18628
  */
17677
18629
  sourceCounty: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18630
+ /**
18631
+ * String Array. Excludes articles published by sources that are located within the specified counties.
18632
+ */
18633
+ excludeSourceCounty: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17678
18634
  /**
17679
18635
  * String Array. Find articles published by sources that are located within a given country. Must be 2 character country code (i.e. us, gb, etc).
17680
18636
  */
17681
18637
  sourceCountry: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18638
+ /**
18639
+ * String Array. Excludes articles published by sources that are located within the specified countries. Must be 2 character country codes (e.g., us, gb).
18640
+ */
18641
+ excludeSourceCountry: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17682
18642
  /**
17683
18643
  * String Array. Find articles published by sources that are located within a given state.
17684
18644
  */
17685
18645
  sourceState: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18646
+ /**
18647
+ * String Array. Excludes articles published by sources that are located within the specified states.
18648
+ */
18649
+ excludeSourceState: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17686
18650
  /**
17687
18651
  * Float. Latitude of the center point to search articles created by local publications.
17688
18652
  */
@@ -17768,7 +18732,7 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
17768
18732
  */
17769
18733
  negativeSentimentTo: z.ZodOptional<z.ZodNumber>;
17770
18734
  /**
17771
- * 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&#x3D;/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&#x3D;/Finance/Banking/Other, /Finance/Investing/Funds. [Full list](https://docs.cloud.google.com/natural-language/docs/categories#version_2)
17772
18736
  */
17773
18737
  taxonomy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17774
18738
  /**
@@ -17885,6 +18849,10 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
17885
18849
  excludeCategory?: string[] | undefined;
17886
18850
  linkTo?: string | undefined;
17887
18851
  maxDistance?: number | undefined;
18852
+ excludeSourceCity?: string[] | undefined;
18853
+ excludeSourceCounty?: string[] | undefined;
18854
+ excludeSourceCountry?: string[] | undefined;
18855
+ excludeSourceState?: string[] | undefined;
17888
18856
  sourceLat?: number | undefined;
17889
18857
  sourceLon?: number | undefined;
17890
18858
  sourceMaxDistance?: number | undefined;
@@ -17975,6 +18943,10 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
17975
18943
  excludeCategory?: string[] | undefined;
17976
18944
  linkTo?: string | undefined;
17977
18945
  maxDistance?: number | undefined;
18946
+ excludeSourceCity?: string[] | undefined;
18947
+ excludeSourceCounty?: string[] | undefined;
18948
+ excludeSourceCountry?: string[] | undefined;
18949
+ excludeSourceState?: string[] | undefined;
17978
18950
  sourceLat?: number | undefined;
17979
18951
  sourceLon?: number | undefined;
17980
18952
  sourceMaxDistance?: number | undefined;
@@ -18209,18 +19181,34 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
18209
19181
  * String Array. Find articles published by sources that are located within a given city.
18210
19182
  */
18211
19183
  sourceCity: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19184
+ /**
19185
+ * String Array. Excludes articles published by sources that are located within the specified cities.
19186
+ */
19187
+ excludeSourceCity: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18212
19188
  /**
18213
19189
  * String Array. Find articles published by sources that are located within a given county.
18214
19190
  */
18215
19191
  sourceCounty: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19192
+ /**
19193
+ * String Array. Excludes articles published by sources that are located within the specified counties.
19194
+ */
19195
+ excludeSourceCounty: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18216
19196
  /**
18217
19197
  * String Array. Find articles published by sources that are located within a given country. Must be 2 character country code (i.e. us, gb, etc).
18218
19198
  */
18219
19199
  sourceCountry: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19200
+ /**
19201
+ * String Array. Excludes articles published by sources that are located within the specified countries. Must be 2 character country codes (e.g., us, gb).
19202
+ */
19203
+ excludeSourceCountry: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18220
19204
  /**
18221
19205
  * String Array. Find articles published by sources that are located within a given state.
18222
19206
  */
18223
19207
  sourceState: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19208
+ /**
19209
+ * String Array. Excludes articles published by sources that are located within the specified states.
19210
+ */
19211
+ excludeSourceState: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18224
19212
  /**
18225
19213
  * Float. Latitude of the center point to search articles created by local publications.
18226
19214
  */
@@ -18306,7 +19294,7 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
18306
19294
  */
18307
19295
  negativeSentimentTo: z.ZodOptional<z.ZodNumber>;
18308
19296
  /**
18309
- * 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&#x3D;/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&#x3D;/Finance/Banking/Other, /Finance/Investing/Funds. [Full list](https://docs.cloud.google.com/natural-language/docs/categories#version_2)
18310
19298
  */
18311
19299
  taxonomy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18312
19300
  /**
@@ -18423,6 +19411,10 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
18423
19411
  excludeCategory?: string[] | undefined;
18424
19412
  linkTo?: string | undefined;
18425
19413
  maxDistance?: number | undefined;
19414
+ excludeSourceCity?: string[] | undefined;
19415
+ excludeSourceCounty?: string[] | undefined;
19416
+ excludeSourceCountry?: string[] | undefined;
19417
+ excludeSourceState?: string[] | undefined;
18426
19418
  sourceLat?: number | undefined;
18427
19419
  sourceLon?: number | undefined;
18428
19420
  sourceMaxDistance?: number | undefined;
@@ -18513,6 +19505,10 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
18513
19505
  excludeCategory?: string[] | undefined;
18514
19506
  linkTo?: string | undefined;
18515
19507
  maxDistance?: number | undefined;
19508
+ excludeSourceCity?: string[] | undefined;
19509
+ excludeSourceCounty?: string[] | undefined;
19510
+ excludeSourceCountry?: string[] | undefined;
19511
+ excludeSourceState?: string[] | undefined;
18516
19512
  sourceLat?: number | undefined;
18517
19513
  sourceLon?: number | undefined;
18518
19514
  sourceMaxDistance?: number | undefined;
@@ -19018,19 +20014,19 @@ declare const SearchSourcesQuerySchema: z.ZodObject<{
19018
20014
  /**
19019
20015
  * Integer. Filter for sources with at least this many monthly visitors. Used to target publishers by audience size.
19020
20016
  */
19021
- minMonthlyVisits: z.ZodOptional<z.ZodAny>;
20017
+ minMonthlyVisits: z.ZodOptional<z.ZodNumber>;
19022
20018
  /**
19023
20019
  * Integer. Filter for sources with no more than this many monthly visitors. Used to target publishers by audience size.
19024
20020
  */
19025
- maxMonthlyVisits: z.ZodOptional<z.ZodAny>;
20021
+ maxMonthlyVisits: z.ZodOptional<z.ZodNumber>;
19026
20022
  /**
19027
20023
  * Integer. Filter for sources that publish at least this many articles per month. Used to target publishers by content volume.
19028
20024
  */
19029
- minMonthlyPosts: z.ZodOptional<z.ZodAny>;
20025
+ minMonthlyPosts: z.ZodOptional<z.ZodNumber>;
19030
20026
  /**
19031
20027
  * Integer. Filter for sources that publish no more than this many articles per month. Used to target publishers by content volume.
19032
20028
  */
19033
- maxMonthlyPosts: z.ZodOptional<z.ZodAny>;
20029
+ maxMonthlyPosts: z.ZodOptional<z.ZodNumber>;
19034
20030
  /**
19035
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.
19036
20032
  */
@@ -19107,10 +20103,10 @@ declare const SearchSourcesQuerySchema: z.ZodObject<{
19107
20103
  sourceLat?: number | undefined;
19108
20104
  sourceLon?: number | undefined;
19109
20105
  sourceMaxDistance?: number | undefined;
19110
- minMonthlyPosts?: any;
19111
- maxMonthlyPosts?: any;
19112
- minMonthlyVisits?: any;
19113
- maxMonthlyVisits?: any;
20106
+ minMonthlyPosts?: number | undefined;
20107
+ maxMonthlyPosts?: number | undefined;
20108
+ minMonthlyVisits?: number | undefined;
20109
+ maxMonthlyVisits?: number | undefined;
19114
20110
  showSubdomains?: boolean | undefined;
19115
20111
  }, {
19116
20112
  name?: string | undefined;
@@ -19132,10 +20128,10 @@ declare const SearchSourcesQuerySchema: z.ZodObject<{
19132
20128
  sourceLat?: number | undefined;
19133
20129
  sourceLon?: number | undefined;
19134
20130
  sourceMaxDistance?: number | undefined;
19135
- minMonthlyPosts?: any;
19136
- maxMonthlyPosts?: any;
19137
- minMonthlyVisits?: any;
19138
- maxMonthlyVisits?: any;
20131
+ minMonthlyPosts?: number | undefined;
20132
+ maxMonthlyPosts?: number | undefined;
20133
+ minMonthlyVisits?: number | undefined;
20134
+ maxMonthlyVisits?: number | undefined;
19139
20135
  showSubdomains?: boolean | undefined;
19140
20136
  }>;
19141
20137
  declare const SearchSourcesRequestSchema: z.ZodObject<{
@@ -19166,19 +20162,19 @@ declare const SearchSourcesRequestSchema: z.ZodObject<{
19166
20162
  /**
19167
20163
  * Integer. Filter for sources with at least this many monthly visitors. Used to target publishers by audience size.
19168
20164
  */
19169
- minMonthlyVisits: z.ZodOptional<z.ZodAny>;
20165
+ minMonthlyVisits: z.ZodOptional<z.ZodNumber>;
19170
20166
  /**
19171
20167
  * Integer. Filter for sources with no more than this many monthly visitors. Used to target publishers by audience size.
19172
20168
  */
19173
- maxMonthlyVisits: z.ZodOptional<z.ZodAny>;
20169
+ maxMonthlyVisits: z.ZodOptional<z.ZodNumber>;
19174
20170
  /**
19175
20171
  * Integer. Filter for sources that publish at least this many articles per month. Used to target publishers by content volume.
19176
20172
  */
19177
- minMonthlyPosts: z.ZodOptional<z.ZodAny>;
20173
+ minMonthlyPosts: z.ZodOptional<z.ZodNumber>;
19178
20174
  /**
19179
20175
  * Integer. Filter for sources that publish no more than this many articles per month. Used to target publishers by content volume.
19180
20176
  */
19181
- maxMonthlyPosts: z.ZodOptional<z.ZodAny>;
20177
+ maxMonthlyPosts: z.ZodOptional<z.ZodNumber>;
19182
20178
  /**
19183
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.
19184
20180
  */
@@ -19255,10 +20251,10 @@ declare const SearchSourcesRequestSchema: z.ZodObject<{
19255
20251
  sourceLat?: number | undefined;
19256
20252
  sourceLon?: number | undefined;
19257
20253
  sourceMaxDistance?: number | undefined;
19258
- minMonthlyPosts?: any;
19259
- maxMonthlyPosts?: any;
19260
- minMonthlyVisits?: any;
19261
- maxMonthlyVisits?: any;
20254
+ minMonthlyPosts?: number | undefined;
20255
+ maxMonthlyPosts?: number | undefined;
20256
+ minMonthlyVisits?: number | undefined;
20257
+ maxMonthlyVisits?: number | undefined;
19262
20258
  showSubdomains?: boolean | undefined;
19263
20259
  }, {
19264
20260
  name?: string | undefined;
@@ -19280,10 +20276,10 @@ declare const SearchSourcesRequestSchema: z.ZodObject<{
19280
20276
  sourceLat?: number | undefined;
19281
20277
  sourceLon?: number | undefined;
19282
20278
  sourceMaxDistance?: number | undefined;
19283
- minMonthlyPosts?: any;
19284
- maxMonthlyPosts?: any;
19285
- minMonthlyVisits?: any;
19286
- maxMonthlyVisits?: any;
20279
+ minMonthlyPosts?: number | undefined;
20280
+ maxMonthlyPosts?: number | undefined;
20281
+ minMonthlyVisits?: number | undefined;
20282
+ maxMonthlyVisits?: number | undefined;
19287
20283
  showSubdomains?: boolean | undefined;
19288
20284
  }>;
19289
20285
  type SearchSourcesRequest = z.input<typeof SearchSourcesRequestSchema>;
@@ -20101,18 +21097,34 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
20101
21097
  * String Array. Find articles published by sources that are located within a given city.
20102
21098
  */
20103
21099
  sourceCity: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
21100
+ /**
21101
+ * String Array. Excludes articles published by sources that are located within the specified cities.
21102
+ */
21103
+ excludeSourceCity: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20104
21104
  /**
20105
21105
  * String Array. Find articles published by sources that are located within a given county.
20106
21106
  */
20107
21107
  sourceCounty: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
21108
+ /**
21109
+ * String Array. Excludes articles published by sources that are located within the specified counties.
21110
+ */
21111
+ excludeSourceCounty: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20108
21112
  /**
20109
21113
  * String Array. Find articles published by sources that are located within a given country. Must be 2 character country code (i.e. us, gb, etc).
20110
21114
  */
20111
21115
  sourceCountry: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
21116
+ /**
21117
+ * String Array. Excludes articles published by sources that are located within the specified countries. Must be 2 character country codes (e.g., us, gb).
21118
+ */
21119
+ excludeSourceCountry: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20112
21120
  /**
20113
21121
  * String Array. Find articles published by sources that are located within a given state.
20114
21122
  */
20115
21123
  sourceState: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
21124
+ /**
21125
+ * String Array. Excludes articles published by sources that are located within the specified states.
21126
+ */
21127
+ excludeSourceState: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20116
21128
  /**
20117
21129
  * Float. Latitude of the center point to search articles created by local publications.
20118
21130
  */
@@ -20198,7 +21210,7 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
20198
21210
  */
20199
21211
  negativeSentimentTo: z.ZodOptional<z.ZodNumber>;
20200
21212
  /**
20201
- * 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&#x3D;/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&#x3D;/Finance/Banking/Other, /Finance/Investing/Funds. [Full list](https://docs.cloud.google.com/natural-language/docs/categories#version_2)
20202
21214
  */
20203
21215
  taxonomy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20204
21216
  /**
@@ -20315,6 +21327,10 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
20315
21327
  excludeCategory?: string[] | undefined;
20316
21328
  linkTo?: string | undefined;
20317
21329
  maxDistance?: number | undefined;
21330
+ excludeSourceCity?: string[] | undefined;
21331
+ excludeSourceCounty?: string[] | undefined;
21332
+ excludeSourceCountry?: string[] | undefined;
21333
+ excludeSourceState?: string[] | undefined;
20318
21334
  sourceLat?: number | undefined;
20319
21335
  sourceLon?: number | undefined;
20320
21336
  sourceMaxDistance?: number | undefined;
@@ -20405,6 +21421,10 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
20405
21421
  excludeCategory?: string[] | undefined;
20406
21422
  linkTo?: string | undefined;
20407
21423
  maxDistance?: number | undefined;
21424
+ excludeSourceCity?: string[] | undefined;
21425
+ excludeSourceCounty?: string[] | undefined;
21426
+ excludeSourceCountry?: string[] | undefined;
21427
+ excludeSourceState?: string[] | undefined;
20408
21428
  sourceLat?: number | undefined;
20409
21429
  sourceLon?: number | undefined;
20410
21430
  sourceMaxDistance?: number | undefined;
@@ -20421,7 +21441,7 @@ declare const SearchSummarizerBodySchema: z.ZodObject<{
20421
21441
  returnedArticleCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20422
21442
  summarizeFields: z.ZodNullable<z.ZodOptional<z.ZodEnum<["TITLE", "CONTENT", "SUMMARY"]>>>;
20423
21443
  method: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ARTICLES", "CLUSTERS"]>>>;
20424
- model: z.ZodNullable<z.ZodOptional<z.ZodEnum<["gpt-4o", "gpt-4o-mini", "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", "llama-3.3-70b-versatile", "openai/gpt-oss-120b"]>>>;
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"]>>>;
20425
21445
  temperature: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20426
21446
  topP: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20427
21447
  maxTokens: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -20431,7 +21451,7 @@ declare const SearchSummarizerBodySchema: z.ZodObject<{
20431
21451
  returnedArticleCount?: number | null | undefined;
20432
21452
  summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20433
21453
  method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20434
- model?: "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
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;
20435
21455
  temperature?: number | null | undefined;
20436
21456
  topP?: number | null | undefined;
20437
21457
  maxTokens?: number | null | undefined;
@@ -20441,7 +21461,7 @@ declare const SearchSummarizerBodySchema: z.ZodObject<{
20441
21461
  returnedArticleCount?: number | null | undefined;
20442
21462
  summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20443
21463
  method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20444
- model?: "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
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;
20445
21465
  temperature?: number | null | undefined;
20446
21466
  topP?: number | null | undefined;
20447
21467
  maxTokens?: number | null | undefined;
@@ -20453,7 +21473,7 @@ declare const SearchSummarizerBodySchema: z.ZodObject<{
20453
21473
  returnedArticleCount?: number | null | undefined;
20454
21474
  summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20455
21475
  method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20456
- model?: "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
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;
20457
21477
  temperature?: number | null | undefined;
20458
21478
  topP?: number | null | undefined;
20459
21479
  maxTokens?: number | null | undefined;
@@ -20465,7 +21485,7 @@ declare const SearchSummarizerBodySchema: z.ZodObject<{
20465
21485
  returnedArticleCount?: number | null | undefined;
20466
21486
  summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20467
21487
  method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20468
- model?: "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
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;
20469
21489
  temperature?: number | null | undefined;
20470
21490
  topP?: number | null | undefined;
20471
21491
  maxTokens?: number | null | undefined;
@@ -20482,7 +21502,7 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
20482
21502
  returnedArticleCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20483
21503
  summarizeFields: z.ZodNullable<z.ZodOptional<z.ZodEnum<["TITLE", "CONTENT", "SUMMARY"]>>>;
20484
21504
  method: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ARTICLES", "CLUSTERS"]>>>;
20485
- model: z.ZodNullable<z.ZodOptional<z.ZodEnum<["gpt-4o", "gpt-4o-mini", "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", "llama-3.3-70b-versatile", "openai/gpt-oss-120b"]>>>;
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"]>>>;
20486
21506
  temperature: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20487
21507
  topP: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20488
21508
  maxTokens: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -20492,7 +21512,7 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
20492
21512
  returnedArticleCount?: number | null | undefined;
20493
21513
  summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20494
21514
  method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20495
- model?: "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
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;
20496
21516
  temperature?: number | null | undefined;
20497
21517
  topP?: number | null | undefined;
20498
21518
  maxTokens?: number | null | undefined;
@@ -20502,7 +21522,7 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
20502
21522
  returnedArticleCount?: number | null | undefined;
20503
21523
  summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20504
21524
  method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20505
- model?: "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
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;
20506
21526
  temperature?: number | null | undefined;
20507
21527
  topP?: number | null | undefined;
20508
21528
  maxTokens?: number | null | undefined;
@@ -20735,18 +21755,34 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
20735
21755
  * String Array. Find articles published by sources that are located within a given city.
20736
21756
  */
20737
21757
  sourceCity: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
21758
+ /**
21759
+ * String Array. Excludes articles published by sources that are located within the specified cities.
21760
+ */
21761
+ excludeSourceCity: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20738
21762
  /**
20739
21763
  * String Array. Find articles published by sources that are located within a given county.
20740
21764
  */
20741
21765
  sourceCounty: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
21766
+ /**
21767
+ * String Array. Excludes articles published by sources that are located within the specified counties.
21768
+ */
21769
+ excludeSourceCounty: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20742
21770
  /**
20743
21771
  * String Array. Find articles published by sources that are located within a given country. Must be 2 character country code (i.e. us, gb, etc).
20744
21772
  */
20745
21773
  sourceCountry: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
21774
+ /**
21775
+ * String Array. Excludes articles published by sources that are located within the specified countries. Must be 2 character country codes (e.g., us, gb).
21776
+ */
21777
+ excludeSourceCountry: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20746
21778
  /**
20747
21779
  * String Array. Find articles published by sources that are located within a given state.
20748
21780
  */
20749
21781
  sourceState: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
21782
+ /**
21783
+ * String Array. Excludes articles published by sources that are located within the specified states.
21784
+ */
21785
+ excludeSourceState: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20750
21786
  /**
20751
21787
  * Float. Latitude of the center point to search articles created by local publications.
20752
21788
  */
@@ -20832,7 +21868,7 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
20832
21868
  */
20833
21869
  negativeSentimentTo: z.ZodOptional<z.ZodNumber>;
20834
21870
  /**
20835
- * 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&#x3D;/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&#x3D;/Finance/Banking/Other, /Finance/Investing/Funds. [Full list](https://docs.cloud.google.com/natural-language/docs/categories#version_2)
20836
21872
  */
20837
21873
  taxonomy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20838
21874
  /**
@@ -20870,7 +21906,7 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
20870
21906
  returnedArticleCount?: number | null | undefined;
20871
21907
  summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20872
21908
  method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20873
- model?: "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
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;
20874
21910
  temperature?: number | null | undefined;
20875
21911
  topP?: number | null | undefined;
20876
21912
  maxTokens?: number | null | undefined;
@@ -20960,6 +21996,10 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
20960
21996
  excludeCategory?: string[] | undefined;
20961
21997
  linkTo?: string | undefined;
20962
21998
  maxDistance?: number | undefined;
21999
+ excludeSourceCity?: string[] | undefined;
22000
+ excludeSourceCounty?: string[] | undefined;
22001
+ excludeSourceCountry?: string[] | undefined;
22002
+ excludeSourceState?: string[] | undefined;
20963
22003
  sourceLat?: number | undefined;
20964
22004
  sourceLon?: number | undefined;
20965
22005
  sourceMaxDistance?: number | undefined;
@@ -20971,7 +22011,7 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
20971
22011
  returnedArticleCount?: number | null | undefined;
20972
22012
  summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20973
22013
  method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20974
- model?: "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
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;
20975
22015
  temperature?: number | null | undefined;
20976
22016
  topP?: number | null | undefined;
20977
22017
  maxTokens?: number | null | undefined;
@@ -21061,6 +22101,10 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
21061
22101
  excludeCategory?: string[] | undefined;
21062
22102
  linkTo?: string | undefined;
21063
22103
  maxDistance?: number | undefined;
22104
+ excludeSourceCity?: string[] | undefined;
22105
+ excludeSourceCounty?: string[] | undefined;
22106
+ excludeSourceCountry?: string[] | undefined;
22107
+ excludeSourceState?: string[] | undefined;
21064
22108
  sourceLat?: number | undefined;
21065
22109
  sourceLon?: number | undefined;
21066
22110
  sourceMaxDistance?: number | undefined;
@@ -21216,11 +22260,11 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
21216
22260
  /**
21217
22261
  * Integer. Retrieve pages with the average number of views per day higher than the provided value.
21218
22262
  */
21219
- pageviewsFrom: z.ZodOptional<z.ZodAny>;
22263
+ pageviewsFrom: z.ZodOptional<z.ZodNumber>;
21220
22264
  /**
21221
22265
  * Integer. Retrieve pages with the average number of views per day lower than the provided value.
21222
22266
  */
21223
- pageviewsTo: z.ZodOptional<z.ZodAny>;
22267
+ pageviewsTo: z.ZodOptional<z.ZodNumber>;
21224
22268
  /**
21225
22269
  * Boolean. Retrieve pages that have any viewership statistics available for them. If &#x60;false&#x60; (the default) - return all pages.
21226
22270
  */
@@ -21260,8 +22304,8 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
21260
22304
  wikidataInstanceOfLabel?: string[] | undefined;
21261
22305
  wikiRevisionFrom?: Date | undefined;
21262
22306
  wikiRevisionTo?: Date | undefined;
21263
- pageviewsFrom?: any;
21264
- pageviewsTo?: any;
22307
+ pageviewsFrom?: number | undefined;
22308
+ pageviewsTo?: number | undefined;
21265
22309
  q?: string | undefined;
21266
22310
  sortBy?: "relevance" | "revisionTsDesc" | "revisionTsAsc" | "pageViewsDesc" | "pageViewsAsc" | "scrapedAtDesc" | "scrapedAtAsc" | undefined;
21267
22311
  showNumResults?: boolean | undefined;
@@ -21287,8 +22331,8 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
21287
22331
  wikidataInstanceOfLabel?: string[] | undefined;
21288
22332
  wikiRevisionFrom?: Date | undefined;
21289
22333
  wikiRevisionTo?: Date | undefined;
21290
- pageviewsFrom?: any;
21291
- pageviewsTo?: any;
22334
+ pageviewsFrom?: number | undefined;
22335
+ pageviewsTo?: number | undefined;
21292
22336
  q?: string | undefined;
21293
22337
  sortBy?: "relevance" | "revisionTsDesc" | "revisionTsAsc" | "pageViewsDesc" | "pageViewsAsc" | "scrapedAtDesc" | "scrapedAtAsc" | undefined;
21294
22338
  showNumResults?: boolean | undefined;
@@ -21378,11 +22422,11 @@ declare const SearchWikipediaRequestSchema: z.ZodObject<{
21378
22422
  /**
21379
22423
  * Integer. Retrieve pages with the average number of views per day higher than the provided value.
21380
22424
  */
21381
- pageviewsFrom: z.ZodOptional<z.ZodAny>;
22425
+ pageviewsFrom: z.ZodOptional<z.ZodNumber>;
21382
22426
  /**
21383
22427
  * Integer. Retrieve pages with the average number of views per day lower than the provided value.
21384
22428
  */
21385
- pageviewsTo: z.ZodOptional<z.ZodAny>;
22429
+ pageviewsTo: z.ZodOptional<z.ZodNumber>;
21386
22430
  /**
21387
22431
  * Boolean. Retrieve pages that have any viewership statistics available for them. If &#x60;false&#x60; (the default) - return all pages.
21388
22432
  */
@@ -21392,75 +22436,431 @@ declare const SearchWikipediaRequestSchema: z.ZodObject<{
21392
22436
  */
21393
22437
  showNumResults: z.ZodOptional<z.ZodBoolean>;
21394
22438
  /**
21395
- * 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
21396
22726
  */
21397
- page: z.ZodOptional<z.ZodNumber>;
22727
+ id: z.ZodNumber;
22728
+ }, "strip", z.ZodTypeAny, {
22729
+ id: number;
22730
+ }, {
22731
+ id: number;
22732
+ }>;
22733
+ declare const UpdateWatchlistRequestSchema: z.ZodObject<{
21398
22734
  /**
21399
- * Integer. The number of articles to return per page in the paginated response.
22735
+ * Parameter id
22736
+ * @required
21400
22737
  */
21401
- size: z.ZodOptional<z.ZodNumber>;
22738
+ id: z.ZodNumber;
21402
22739
  /**
21403
- * 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).
21404
- * @type SortByEnum
21405
- * @values 'relevance', 'revisionTsDesc', 'revisionTsAsc', 'pageViewsDesc', 'pageViewsAsc', 'scrapedAtDesc', 'scrapedAtAsc'
22740
+ * Parameter updateWatchlistParams
22741
+ * @required
21406
22742
  */
21407
- sortBy: z.ZodOptional<z.ZodEnum<["relevance", "revisionTsDesc", "revisionTsAsc", "pageViewsDesc", "pageViewsAsc", "scrapedAtDesc", "scrapedAtAsc"]>>;
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
+ }>;
21408
22820
  }, "strip", z.ZodTypeAny, {
21409
- id?: string[] | undefined;
21410
- title?: string | undefined;
21411
- wikidataId?: string[] | undefined;
21412
- summary?: string | undefined;
21413
- category?: string[] | undefined;
21414
- size?: number | undefined;
21415
- page?: number | undefined;
21416
- sectionId?: string[] | undefined;
21417
- wikiPageId?: number[] | undefined;
21418
- wikiRevisionId?: number[] | undefined;
21419
- wikiCode?: string[] | undefined;
21420
- wikiNamespace?: number[] | undefined;
21421
- wikidataInstanceOfId?: string[] | undefined;
21422
- wikidataInstanceOfLabel?: string[] | undefined;
21423
- wikiRevisionFrom?: Date | undefined;
21424
- wikiRevisionTo?: Date | undefined;
21425
- pageviewsFrom?: any;
21426
- pageviewsTo?: any;
21427
- q?: string | undefined;
21428
- sortBy?: "relevance" | "revisionTsDesc" | "revisionTsAsc" | "pageViewsDesc" | "pageViewsAsc" | "scrapedAtDesc" | "scrapedAtAsc" | undefined;
21429
- showNumResults?: boolean | undefined;
21430
- text?: string | undefined;
21431
- reference?: string | undefined;
21432
- scrapedAtFrom?: Date | undefined;
21433
- scrapedAtTo?: Date | undefined;
21434
- 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
+ };
21435
22841
  }, {
21436
- id?: string[] | undefined;
21437
- title?: string | undefined;
21438
- wikidataId?: string[] | undefined;
21439
- summary?: string | undefined;
21440
- category?: string[] | undefined;
21441
- size?: number | undefined;
21442
- page?: number | undefined;
21443
- sectionId?: string[] | undefined;
21444
- wikiPageId?: number[] | undefined;
21445
- wikiRevisionId?: number[] | undefined;
21446
- wikiCode?: string[] | undefined;
21447
- wikiNamespace?: number[] | undefined;
21448
- wikidataInstanceOfId?: string[] | undefined;
21449
- wikidataInstanceOfLabel?: string[] | undefined;
21450
- wikiRevisionFrom?: Date | undefined;
21451
- wikiRevisionTo?: Date | undefined;
21452
- pageviewsFrom?: any;
21453
- pageviewsTo?: any;
21454
- q?: string | undefined;
21455
- sortBy?: "relevance" | "revisionTsDesc" | "revisionTsAsc" | "pageViewsDesc" | "pageViewsAsc" | "scrapedAtDesc" | "scrapedAtAsc" | undefined;
21456
- showNumResults?: boolean | undefined;
21457
- text?: string | undefined;
21458
- reference?: string | undefined;
21459
- scrapedAtFrom?: Date | undefined;
21460
- scrapedAtTo?: Date | undefined;
21461
- 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
+ };
21462
22862
  }>;
21463
- type SearchWikipediaRequest = z.input<typeof SearchWikipediaRequestSchema>;
22863
+ type UpdateWatchlistRequest = z.input<typeof UpdateWatchlistRequestSchema>;
21464
22864
  declare const VectorSearchArticlesBodySchema: z.ZodObject<{
21465
22865
  /**
21466
22866
  * Parameter articleSearchParams
@@ -22623,11 +24023,36 @@ type VectorSearchWikipediaRequest = z.input<typeof VectorSearchWikipediaRequestS
22623
24023
  *
22624
24024
  */
22625
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>;
22626
24046
  /**
22627
24047
  * Find additional details on a journalist by using the journalist ID found in an article response object.
22628
24048
  * Journalists by ID
22629
24049
  */
22630
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>;
22631
24056
  /**
22632
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).
22633
24058
  * Story Count Statistics
@@ -22637,6 +24062,31 @@ declare class V1Api extends BaseAPI {
22637
24062
  * Story History
22638
24063
  */
22639
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>;
22640
24090
  /**
22641
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.
22642
24092
  * All Articles
@@ -22658,7 +24108,7 @@ declare class V1Api extends BaseAPI {
22658
24108
  */
22659
24109
  searchPeople(requestParameters?: SearchPeopleRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<PeopleSearchResult>;
22660
24110
  /**
22661
- * Search and filter the 142,000+ media sources available via the Perigon API. The result includes a list of individual media sources that were matched to your specific criteria.
24111
+ * Search and filter the 200,000+ media sources available via the Perigon API. The result includes a list of individual media sources that were matched to your specific criteria.
22662
24112
  * Sources
22663
24113
  */
22664
24114
  searchSources(requestParameters?: SearchSourcesRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<SourceSearchResult>;
@@ -22682,6 +24132,16 @@ declare class V1Api extends BaseAPI {
22682
24132
  * Wikipedia
22683
24133
  */
22684
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>;
22685
24145
  /**
22686
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.
22687
24147
  * News (Vector)
@@ -22726,4 +24186,4 @@ declare const SearchWikipediaSortByEnum: {
22726
24186
  };
22727
24187
  type SearchWikipediaSortByEnum = (typeof SearchWikipediaSortByEnum)[keyof typeof SearchWikipediaSortByEnum];
22728
24188
 
22729
- 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 };