@goperigon/perigon-ts 2.5.0 → 4.7.0

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;
@@ -1005,6 +1012,7 @@ declare const NewsClusterSchema: z.ZodObject<{
1005
1012
  area?: string | null | undefined;
1006
1013
  }>, "many">>>;
1007
1014
  highlights: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>>;
1015
+ sourceDiversity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1008
1016
  }, "strip", z.ZodTypeAny, {
1009
1017
  name?: string | null | undefined;
1010
1018
  createdAt?: string | null | undefined;
@@ -1013,6 +1021,7 @@ declare const NewsClusterSchema: z.ZodObject<{
1013
1021
  id?: string | null | undefined;
1014
1022
  locations?: {
1015
1023
  count?: number | null | undefined;
1024
+ country?: string | null | undefined;
1016
1025
  state?: string | null | undefined;
1017
1026
  county?: string | null | undefined;
1018
1027
  city?: string | null | undefined;
@@ -1113,6 +1122,7 @@ declare const NewsClusterSchema: z.ZodObject<{
1113
1122
  area?: string | null | undefined;
1114
1123
  }[] | null | undefined;
1115
1124
  highlights?: Record<string, string[]> | null | undefined;
1125
+ sourceDiversity?: number | null | undefined;
1116
1126
  }, {
1117
1127
  name?: string | null | undefined;
1118
1128
  createdAt?: string | null | undefined;
@@ -1121,6 +1131,7 @@ declare const NewsClusterSchema: z.ZodObject<{
1121
1131
  id?: string | null | undefined;
1122
1132
  locations?: {
1123
1133
  count?: number | null | undefined;
1134
+ country?: string | null | undefined;
1124
1135
  state?: string | null | undefined;
1125
1136
  county?: string | null | undefined;
1126
1137
  city?: string | null | undefined;
@@ -1221,6 +1232,7 @@ declare const NewsClusterSchema: z.ZodObject<{
1221
1232
  area?: string | null | undefined;
1222
1233
  }[] | null | undefined;
1223
1234
  highlights?: Record<string, string[]> | null | undefined;
1235
+ sourceDiversity?: number | null | undefined;
1224
1236
  }>;
1225
1237
  type NewsCluster = z.infer<typeof NewsClusterSchema>;
1226
1238
  declare const PlaceSchema: z.ZodObject<{
@@ -1814,6 +1826,7 @@ declare const ArticleSchema: z.ZodObject<{
1814
1826
  symbols?: string[] | null | undefined;
1815
1827
  }>, "many">>>;
1816
1828
  locations: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1829
+ country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1817
1830
  state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1818
1831
  county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1819
1832
  city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1821,12 +1834,14 @@ declare const ArticleSchema: z.ZodObject<{
1821
1834
  count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1822
1835
  }, "strip", z.ZodTypeAny, {
1823
1836
  count?: number | null | undefined;
1837
+ country?: string | null | undefined;
1824
1838
  state?: string | null | undefined;
1825
1839
  county?: string | null | undefined;
1826
1840
  city?: string | null | undefined;
1827
1841
  area?: string | null | undefined;
1828
1842
  }, {
1829
1843
  count?: number | null | undefined;
1844
+ country?: string | null | undefined;
1830
1845
  state?: string | null | undefined;
1831
1846
  county?: string | null | undefined;
1832
1847
  city?: string | null | undefined;
@@ -1852,6 +1867,7 @@ declare const ArticleSchema: z.ZodObject<{
1852
1867
  area?: string | null | undefined;
1853
1868
  }>, "many">>>;
1854
1869
  highlights: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>>;
1870
+ sourceDiversity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1855
1871
  }, "strip", z.ZodTypeAny, {
1856
1872
  name?: string | null | undefined;
1857
1873
  createdAt?: string | null | undefined;
@@ -1860,6 +1876,7 @@ declare const ArticleSchema: z.ZodObject<{
1860
1876
  id?: string | null | undefined;
1861
1877
  locations?: {
1862
1878
  count?: number | null | undefined;
1879
+ country?: string | null | undefined;
1863
1880
  state?: string | null | undefined;
1864
1881
  county?: string | null | undefined;
1865
1882
  city?: string | null | undefined;
@@ -1960,6 +1977,7 @@ declare const ArticleSchema: z.ZodObject<{
1960
1977
  area?: string | null | undefined;
1961
1978
  }[] | null | undefined;
1962
1979
  highlights?: Record<string, string[]> | null | undefined;
1980
+ sourceDiversity?: number | null | undefined;
1963
1981
  }, {
1964
1982
  name?: string | null | undefined;
1965
1983
  createdAt?: string | null | undefined;
@@ -1968,6 +1986,7 @@ declare const ArticleSchema: z.ZodObject<{
1968
1986
  id?: string | null | undefined;
1969
1987
  locations?: {
1970
1988
  count?: number | null | undefined;
1989
+ country?: string | null | undefined;
1971
1990
  state?: string | null | undefined;
1972
1991
  county?: string | null | undefined;
1973
1992
  city?: string | null | undefined;
@@ -2068,6 +2087,7 @@ declare const ArticleSchema: z.ZodObject<{
2068
2087
  area?: string | null | undefined;
2069
2088
  }[] | null | undefined;
2070
2089
  highlights?: Record<string, string[]> | null | undefined;
2090
+ sourceDiversity?: number | null | undefined;
2071
2091
  }>>>;
2072
2092
  journalists: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2073
2093
  id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -2380,6 +2400,7 @@ declare const ArticleSchema: z.ZodObject<{
2380
2400
  id?: string | null | undefined;
2381
2401
  locations?: {
2382
2402
  count?: number | null | undefined;
2403
+ country?: string | null | undefined;
2383
2404
  state?: string | null | undefined;
2384
2405
  county?: string | null | undefined;
2385
2406
  city?: string | null | undefined;
@@ -2480,6 +2501,7 @@ declare const ArticleSchema: z.ZodObject<{
2480
2501
  area?: string | null | undefined;
2481
2502
  }[] | null | undefined;
2482
2503
  highlights?: Record<string, string[]> | null | undefined;
2504
+ sourceDiversity?: number | null | undefined;
2483
2505
  } | null | undefined;
2484
2506
  journalists?: {
2485
2507
  name?: string | null | undefined;
@@ -2653,6 +2675,7 @@ declare const ArticleSchema: z.ZodObject<{
2653
2675
  id?: string | null | undefined;
2654
2676
  locations?: {
2655
2677
  count?: number | null | undefined;
2678
+ country?: string | null | undefined;
2656
2679
  state?: string | null | undefined;
2657
2680
  county?: string | null | undefined;
2658
2681
  city?: string | null | undefined;
@@ -2753,6 +2776,7 @@ declare const ArticleSchema: z.ZodObject<{
2753
2776
  area?: string | null | undefined;
2754
2777
  }[] | null | undefined;
2755
2778
  highlights?: Record<string, string[]> | null | undefined;
2779
+ sourceDiversity?: number | null | undefined;
2756
2780
  } | null | undefined;
2757
2781
  journalists?: {
2758
2782
  name?: string | null | undefined;
@@ -4087,6 +4111,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
4087
4111
  symbols?: string[] | null | undefined;
4088
4112
  }>, "many">>>;
4089
4113
  locations: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
4114
+ country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4090
4115
  state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4091
4116
  county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4092
4117
  city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -4094,12 +4119,14 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
4094
4119
  count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
4095
4120
  }, "strip", z.ZodTypeAny, {
4096
4121
  count?: number | null | undefined;
4122
+ country?: string | null | undefined;
4097
4123
  state?: string | null | undefined;
4098
4124
  county?: string | null | undefined;
4099
4125
  city?: string | null | undefined;
4100
4126
  area?: string | null | undefined;
4101
4127
  }, {
4102
4128
  count?: number | null | undefined;
4129
+ country?: string | null | undefined;
4103
4130
  state?: string | null | undefined;
4104
4131
  county?: string | null | undefined;
4105
4132
  city?: string | null | undefined;
@@ -4125,6 +4152,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
4125
4152
  area?: string | null | undefined;
4126
4153
  }>, "many">>>;
4127
4154
  highlights: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>>;
4155
+ sourceDiversity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
4128
4156
  }, "strip", z.ZodTypeAny, {
4129
4157
  name?: string | null | undefined;
4130
4158
  createdAt?: string | null | undefined;
@@ -4133,6 +4161,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
4133
4161
  id?: string | null | undefined;
4134
4162
  locations?: {
4135
4163
  count?: number | null | undefined;
4164
+ country?: string | null | undefined;
4136
4165
  state?: string | null | undefined;
4137
4166
  county?: string | null | undefined;
4138
4167
  city?: string | null | undefined;
@@ -4233,6 +4262,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
4233
4262
  area?: string | null | undefined;
4234
4263
  }[] | null | undefined;
4235
4264
  highlights?: Record<string, string[]> | null | undefined;
4265
+ sourceDiversity?: number | null | undefined;
4236
4266
  }, {
4237
4267
  name?: string | null | undefined;
4238
4268
  createdAt?: string | null | undefined;
@@ -4241,6 +4271,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
4241
4271
  id?: string | null | undefined;
4242
4272
  locations?: {
4243
4273
  count?: number | null | undefined;
4274
+ country?: string | null | undefined;
4244
4275
  state?: string | null | undefined;
4245
4276
  county?: string | null | undefined;
4246
4277
  city?: string | null | undefined;
@@ -4341,6 +4372,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
4341
4372
  area?: string | null | undefined;
4342
4373
  }[] | null | undefined;
4343
4374
  highlights?: Record<string, string[]> | null | undefined;
4375
+ sourceDiversity?: number | null | undefined;
4344
4376
  }>>>;
4345
4377
  journalists: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
4346
4378
  id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -4653,6 +4685,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
4653
4685
  id?: string | null | undefined;
4654
4686
  locations?: {
4655
4687
  count?: number | null | undefined;
4688
+ country?: string | null | undefined;
4656
4689
  state?: string | null | undefined;
4657
4690
  county?: string | null | undefined;
4658
4691
  city?: string | null | undefined;
@@ -4753,6 +4786,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
4753
4786
  area?: string | null | undefined;
4754
4787
  }[] | null | undefined;
4755
4788
  highlights?: Record<string, string[]> | null | undefined;
4789
+ sourceDiversity?: number | null | undefined;
4756
4790
  } | null | undefined;
4757
4791
  journalists?: {
4758
4792
  name?: string | null | undefined;
@@ -4926,6 +4960,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
4926
4960
  id?: string | null | undefined;
4927
4961
  locations?: {
4928
4962
  count?: number | null | undefined;
4963
+ country?: string | null | undefined;
4929
4964
  state?: string | null | undefined;
4930
4965
  county?: string | null | undefined;
4931
4966
  city?: string | null | undefined;
@@ -5026,6 +5061,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
5026
5061
  area?: string | null | undefined;
5027
5062
  }[] | null | undefined;
5028
5063
  highlights?: Record<string, string[]> | null | undefined;
5064
+ sourceDiversity?: number | null | undefined;
5029
5065
  } | null | undefined;
5030
5066
  journalists?: {
5031
5067
  name?: string | null | undefined;
@@ -5202,6 +5238,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
5202
5238
  id?: string | null | undefined;
5203
5239
  locations?: {
5204
5240
  count?: number | null | undefined;
5241
+ country?: string | null | undefined;
5205
5242
  state?: string | null | undefined;
5206
5243
  county?: string | null | undefined;
5207
5244
  city?: string | null | undefined;
@@ -5302,6 +5339,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
5302
5339
  area?: string | null | undefined;
5303
5340
  }[] | null | undefined;
5304
5341
  highlights?: Record<string, string[]> | null | undefined;
5342
+ sourceDiversity?: number | null | undefined;
5305
5343
  } | null | undefined;
5306
5344
  journalists?: {
5307
5345
  name?: string | null | undefined;
@@ -5478,6 +5516,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
5478
5516
  id?: string | null | undefined;
5479
5517
  locations?: {
5480
5518
  count?: number | null | undefined;
5519
+ country?: string | null | undefined;
5481
5520
  state?: string | null | undefined;
5482
5521
  county?: string | null | undefined;
5483
5522
  city?: string | null | undefined;
@@ -5578,6 +5617,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
5578
5617
  area?: string | null | undefined;
5579
5618
  }[] | null | undefined;
5580
5619
  highlights?: Record<string, string[]> | null | undefined;
5620
+ sourceDiversity?: number | null | undefined;
5581
5621
  } | null | undefined;
5582
5622
  journalists?: {
5583
5623
  name?: string | null | undefined;
@@ -6161,6 +6201,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
6161
6201
  symbols?: string[] | null | undefined;
6162
6202
  }>, "many">>>;
6163
6203
  locations: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
6204
+ country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6164
6205
  state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6165
6206
  county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6166
6207
  city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -6168,12 +6209,14 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
6168
6209
  count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
6169
6210
  }, "strip", z.ZodTypeAny, {
6170
6211
  count?: number | null | undefined;
6212
+ country?: string | null | undefined;
6171
6213
  state?: string | null | undefined;
6172
6214
  county?: string | null | undefined;
6173
6215
  city?: string | null | undefined;
6174
6216
  area?: string | null | undefined;
6175
6217
  }, {
6176
6218
  count?: number | null | undefined;
6219
+ country?: string | null | undefined;
6177
6220
  state?: string | null | undefined;
6178
6221
  county?: string | null | undefined;
6179
6222
  city?: string | null | undefined;
@@ -6199,6 +6242,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
6199
6242
  area?: string | null | undefined;
6200
6243
  }>, "many">>>;
6201
6244
  highlights: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>>;
6245
+ sourceDiversity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
6202
6246
  }, "strip", z.ZodTypeAny, {
6203
6247
  name?: string | null | undefined;
6204
6248
  createdAt?: string | null | undefined;
@@ -6207,6 +6251,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
6207
6251
  id?: string | null | undefined;
6208
6252
  locations?: {
6209
6253
  count?: number | null | undefined;
6254
+ country?: string | null | undefined;
6210
6255
  state?: string | null | undefined;
6211
6256
  county?: string | null | undefined;
6212
6257
  city?: string | null | undefined;
@@ -6307,6 +6352,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
6307
6352
  area?: string | null | undefined;
6308
6353
  }[] | null | undefined;
6309
6354
  highlights?: Record<string, string[]> | null | undefined;
6355
+ sourceDiversity?: number | null | undefined;
6310
6356
  }, {
6311
6357
  name?: string | null | undefined;
6312
6358
  createdAt?: string | null | undefined;
@@ -6315,6 +6361,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
6315
6361
  id?: string | null | undefined;
6316
6362
  locations?: {
6317
6363
  count?: number | null | undefined;
6364
+ country?: string | null | undefined;
6318
6365
  state?: string | null | undefined;
6319
6366
  county?: string | null | undefined;
6320
6367
  city?: string | null | undefined;
@@ -6415,6 +6462,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
6415
6462
  area?: string | null | undefined;
6416
6463
  }[] | null | undefined;
6417
6464
  highlights?: Record<string, string[]> | null | undefined;
6465
+ sourceDiversity?: number | null | undefined;
6418
6466
  }>>>;
6419
6467
  journalists: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
6420
6468
  id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -6727,6 +6775,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
6727
6775
  id?: string | null | undefined;
6728
6776
  locations?: {
6729
6777
  count?: number | null | undefined;
6778
+ country?: string | null | undefined;
6730
6779
  state?: string | null | undefined;
6731
6780
  county?: string | null | undefined;
6732
6781
  city?: string | null | undefined;
@@ -6827,6 +6876,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
6827
6876
  area?: string | null | undefined;
6828
6877
  }[] | null | undefined;
6829
6878
  highlights?: Record<string, string[]> | null | undefined;
6879
+ sourceDiversity?: number | null | undefined;
6830
6880
  } | null | undefined;
6831
6881
  journalists?: {
6832
6882
  name?: string | null | undefined;
@@ -7000,6 +7050,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
7000
7050
  id?: string | null | undefined;
7001
7051
  locations?: {
7002
7052
  count?: number | null | undefined;
7053
+ country?: string | null | undefined;
7003
7054
  state?: string | null | undefined;
7004
7055
  county?: string | null | undefined;
7005
7056
  city?: string | null | undefined;
@@ -7100,6 +7151,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
7100
7151
  area?: string | null | undefined;
7101
7152
  }[] | null | undefined;
7102
7153
  highlights?: Record<string, string[]> | null | undefined;
7154
+ sourceDiversity?: number | null | undefined;
7103
7155
  } | null | undefined;
7104
7156
  journalists?: {
7105
7157
  name?: string | null | undefined;
@@ -7276,6 +7328,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
7276
7328
  id?: string | null | undefined;
7277
7329
  locations?: {
7278
7330
  count?: number | null | undefined;
7331
+ country?: string | null | undefined;
7279
7332
  state?: string | null | undefined;
7280
7333
  county?: string | null | undefined;
7281
7334
  city?: string | null | undefined;
@@ -7376,6 +7429,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
7376
7429
  area?: string | null | undefined;
7377
7430
  }[] | null | undefined;
7378
7431
  highlights?: Record<string, string[]> | null | undefined;
7432
+ sourceDiversity?: number | null | undefined;
7379
7433
  } | null | undefined;
7380
7434
  journalists?: {
7381
7435
  name?: string | null | undefined;
@@ -7552,6 +7606,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
7552
7606
  id?: string | null | undefined;
7553
7607
  locations?: {
7554
7608
  count?: number | null | undefined;
7609
+ country?: string | null | undefined;
7555
7610
  state?: string | null | undefined;
7556
7611
  county?: string | null | undefined;
7557
7612
  city?: string | null | undefined;
@@ -7652,6 +7707,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
7652
7707
  area?: string | null | undefined;
7653
7708
  }[] | null | undefined;
7654
7709
  highlights?: Record<string, string[]> | null | undefined;
7710
+ sourceDiversity?: number | null | undefined;
7655
7711
  } | null | undefined;
7656
7712
  journalists?: {
7657
7713
  name?: string | null | undefined;
@@ -7831,6 +7887,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
7831
7887
  id?: string | null | undefined;
7832
7888
  locations?: {
7833
7889
  count?: number | null | undefined;
7890
+ country?: string | null | undefined;
7834
7891
  state?: string | null | undefined;
7835
7892
  county?: string | null | undefined;
7836
7893
  city?: string | null | undefined;
@@ -7931,6 +7988,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
7931
7988
  area?: string | null | undefined;
7932
7989
  }[] | null | undefined;
7933
7990
  highlights?: Record<string, string[]> | null | undefined;
7991
+ sourceDiversity?: number | null | undefined;
7934
7992
  } | null | undefined;
7935
7993
  journalists?: {
7936
7994
  name?: string | null | undefined;
@@ -8110,6 +8168,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
8110
8168
  id?: string | null | undefined;
8111
8169
  locations?: {
8112
8170
  count?: number | null | undefined;
8171
+ country?: string | null | undefined;
8113
8172
  state?: string | null | undefined;
8114
8173
  county?: string | null | undefined;
8115
8174
  city?: string | null | undefined;
@@ -8210,6 +8269,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
8210
8269
  area?: string | null | undefined;
8211
8270
  }[] | null | undefined;
8212
8271
  highlights?: Record<string, string[]> | null | undefined;
8272
+ sourceDiversity?: number | null | undefined;
8213
8273
  } | null | undefined;
8214
8274
  journalists?: {
8215
8275
  name?: string | null | undefined;
@@ -8901,20 +8961,23 @@ declare const CompanySearchResultSchema: z.ZodObject<{
8901
8961
  numResults: number;
8902
8962
  }>;
8903
8963
  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>>;
8964
+ declare const CreateSourceGroupParamsSchema: z.ZodObject<{
8965
+ name: z.ZodString;
8966
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8967
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8968
+ domains: z.ZodArray<z.ZodString, "many">;
8908
8969
  }, "strip", z.ZodTypeAny, {
8909
- message?: string | null | undefined;
8910
- status?: number | null | undefined;
8911
- timestamp?: number | null | undefined;
8970
+ name: string;
8971
+ domains: string[];
8972
+ description?: string | null | undefined;
8973
+ displayName?: string | null | undefined;
8912
8974
  }, {
8913
- message?: string | null | undefined;
8914
- status?: number | null | undefined;
8915
- timestamp?: number | null | undefined;
8975
+ name: string;
8976
+ domains: string[];
8977
+ description?: string | null | undefined;
8978
+ displayName?: string | null | undefined;
8916
8979
  }>;
8917
- type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
8980
+ type CreateSourceGroupParams = z.infer<typeof CreateSourceGroupParamsSchema>;
8918
8981
  declare const ImageHolderSchema: z.ZodObject<{
8919
8982
  url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8920
8983
  }, "strip", z.ZodTypeAny, {
@@ -8923,333 +8986,37 @@ declare const ImageHolderSchema: z.ZodObject<{
8923
8986
  url?: string | null | undefined;
8924
8987
  }>;
8925
8988
  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>>;
8989
+ declare const WikidataDateHolderSchema: z.ZodObject<{
8990
+ time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8991
+ precision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8992
+ }, "strip", z.ZodTypeAny, {
8993
+ time?: string | null | undefined;
8994
+ precision?: string | null | undefined;
8995
+ }, {
8996
+ time?: string | null | undefined;
8997
+ precision?: string | null | undefined;
8998
+ }>;
8999
+ type WikidataDateHolder = z.infer<typeof WikidataDateHolderSchema>;
9000
+ declare const WikidataLabelHolderSchema: z.ZodObject<{
9001
+ wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9002
+ label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9003
+ }, "strip", z.ZodTypeAny, {
9004
+ wikidataId?: string | null | undefined;
9005
+ label?: string | null | undefined;
9006
+ }, {
9007
+ wikidataId?: string | null | undefined;
9008
+ label?: string | null | undefined;
9009
+ }>;
9010
+ type WikidataLabelHolder = z.infer<typeof WikidataLabelHolderSchema>;
9011
+ declare const WikidataPoliticalPartyHolderSchema: z.ZodObject<{
9012
+ wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9013
+ label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9014
+ startTime: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9015
+ time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9016
+ precision: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9019
9017
  }, "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;
9018
+ time?: string | null | undefined;
9019
+ precision?: string | null | undefined;
9253
9020
  }, {
9254
9021
  time?: string | null | undefined;
9255
9022
  precision?: string | null | undefined;
@@ -9520,116 +9287,588 @@ declare const PersonSchema: z.ZodObject<{
9520
9287
  _abstract: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9521
9288
  }, "strip", z.ZodTypeAny, {
9522
9289
  name?: string | null | undefined;
9523
- createdAt?: string | null | undefined;
9524
- updatedAt?: string | null | undefined;
9290
+ createdAt?: string | null | undefined;
9291
+ updatedAt?: string | null | undefined;
9292
+ description?: string | null | undefined;
9293
+ wikidataId?: string | null | undefined;
9294
+ gender?: {
9295
+ wikidataId?: string | null | undefined;
9296
+ label?: string | null | undefined;
9297
+ } | null | undefined;
9298
+ dateOfBirth?: {
9299
+ time?: string | null | undefined;
9300
+ precision?: string | null | undefined;
9301
+ } | null | undefined;
9302
+ dateOfDeath?: {
9303
+ time?: string | null | undefined;
9304
+ precision?: string | null | undefined;
9305
+ } | null | undefined;
9306
+ aliases?: string[] | null | undefined;
9307
+ occupation?: {
9308
+ wikidataId?: string | null | undefined;
9309
+ label?: string | null | undefined;
9310
+ }[] | null | undefined;
9311
+ position?: {
9312
+ wikidataId?: string | null | undefined;
9313
+ label?: string | null | undefined;
9314
+ startTime?: {
9315
+ time?: string | null | undefined;
9316
+ precision?: string | null | undefined;
9317
+ } | null | undefined;
9318
+ endTime?: {
9319
+ time?: string | null | undefined;
9320
+ precision?: string | null | undefined;
9321
+ } | null | undefined;
9322
+ employer?: {
9323
+ wikidataId?: string | null | undefined;
9324
+ label?: string | null | undefined;
9325
+ } | null | undefined;
9326
+ }[] | null | undefined;
9327
+ politicalParty?: {
9328
+ wikidataId?: string | null | undefined;
9329
+ label?: string | null | undefined;
9330
+ startTime?: {
9331
+ time?: string | null | undefined;
9332
+ precision?: string | null | undefined;
9333
+ } | null | undefined;
9334
+ endTime?: {
9335
+ time?: string | null | undefined;
9336
+ precision?: string | null | undefined;
9337
+ } | null | undefined;
9338
+ }[] | null | undefined;
9339
+ image?: {
9340
+ url?: string | null | undefined;
9341
+ } | null | undefined;
9342
+ _abstract?: string | null | undefined;
9343
+ }, {
9344
+ name?: string | null | undefined;
9345
+ createdAt?: string | null | undefined;
9346
+ updatedAt?: string | null | undefined;
9347
+ description?: string | null | undefined;
9348
+ wikidataId?: string | null | undefined;
9349
+ gender?: {
9350
+ wikidataId?: string | null | undefined;
9351
+ label?: string | null | undefined;
9352
+ } | null | undefined;
9353
+ dateOfBirth?: {
9354
+ time?: string | null | undefined;
9355
+ precision?: string | null | undefined;
9356
+ } | null | undefined;
9357
+ dateOfDeath?: {
9358
+ time?: string | null | undefined;
9359
+ precision?: string | null | undefined;
9360
+ } | null | undefined;
9361
+ aliases?: string[] | null | undefined;
9362
+ occupation?: {
9363
+ wikidataId?: string | null | undefined;
9364
+ label?: string | null | undefined;
9365
+ }[] | null | undefined;
9366
+ position?: {
9367
+ wikidataId?: string | null | undefined;
9368
+ label?: string | null | undefined;
9369
+ startTime?: {
9370
+ time?: string | null | undefined;
9371
+ precision?: string | null | undefined;
9372
+ } | null | undefined;
9373
+ endTime?: {
9374
+ time?: string | null | undefined;
9375
+ precision?: string | null | undefined;
9376
+ } | null | undefined;
9377
+ employer?: {
9378
+ wikidataId?: string | null | undefined;
9379
+ label?: string | null | undefined;
9380
+ } | null | undefined;
9381
+ }[] | null | undefined;
9382
+ politicalParty?: {
9383
+ wikidataId?: string | null | undefined;
9384
+ label?: string | null | undefined;
9385
+ startTime?: {
9386
+ time?: string | null | undefined;
9387
+ precision?: string | null | undefined;
9388
+ } | null | undefined;
9389
+ endTime?: {
9390
+ time?: string | null | undefined;
9391
+ precision?: string | null | undefined;
9392
+ } | null | undefined;
9393
+ }[] | null | undefined;
9394
+ image?: {
9395
+ url?: string | null | undefined;
9396
+ } | null | undefined;
9397
+ _abstract?: string | null | undefined;
9398
+ }>;
9399
+ type Person = z.infer<typeof PersonSchema>;
9400
+ declare const WatchlistCompanySchema: z.ZodObject<{
9401
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9402
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9403
+ id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9404
+ domain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9405
+ aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9406
+ }, "strip", z.ZodTypeAny, {
9407
+ name?: string | null | undefined;
9408
+ id?: string | null | undefined;
9409
+ description?: string | null | undefined;
9410
+ domain?: string | null | undefined;
9411
+ aliases?: string[] | null | undefined;
9412
+ }, {
9413
+ name?: string | null | undefined;
9414
+ id?: string | null | undefined;
9415
+ description?: string | null | undefined;
9416
+ domain?: string | null | undefined;
9417
+ aliases?: string[] | null | undefined;
9418
+ }>;
9419
+ type WatchlistCompany = z.infer<typeof WatchlistCompanySchema>;
9420
+ declare const WatchlistPersonSchema: z.ZodObject<{
9421
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9422
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9423
+ aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9424
+ wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9425
+ }, "strip", z.ZodTypeAny, {
9426
+ name?: string | null | undefined;
9427
+ description?: string | null | undefined;
9428
+ wikidataId?: string | null | undefined;
9429
+ aliases?: string[] | null | undefined;
9430
+ }, {
9431
+ name?: string | null | undefined;
9432
+ description?: string | null | undefined;
9433
+ wikidataId?: string | null | undefined;
9434
+ aliases?: string[] | null | undefined;
9435
+ }>;
9436
+ type WatchlistPerson = z.infer<typeof WatchlistPersonSchema>;
9437
+ declare const CreateWatchlistParamsSchema: z.ZodObject<{
9438
+ /**
9439
+ * Unique name for the watchlist within the organization
9440
+ */
9441
+ name: z.ZodString;
9442
+ /**
9443
+ * Display name for the watchlist
9444
+ */
9445
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9446
+ /**
9447
+ * Description of the watchlist
9448
+ */
9449
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9450
+ /**
9451
+ * List of people to include in the watchlist
9452
+ */
9453
+ people: z.ZodArray<z.ZodObject<{
9454
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9455
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9456
+ aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9457
+ wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9458
+ }, "strip", z.ZodTypeAny, {
9459
+ name?: string | null | undefined;
9460
+ description?: string | null | undefined;
9461
+ wikidataId?: string | null | undefined;
9462
+ aliases?: string[] | null | undefined;
9463
+ }, {
9464
+ name?: string | null | undefined;
9465
+ description?: string | null | undefined;
9466
+ wikidataId?: string | null | undefined;
9467
+ aliases?: string[] | null | undefined;
9468
+ }>, "many">;
9469
+ /**
9470
+ * List of companies to include in the watchlist
9471
+ */
9472
+ companies: z.ZodArray<z.ZodObject<{
9473
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9474
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9475
+ id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9476
+ domain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9477
+ aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9478
+ }, "strip", z.ZodTypeAny, {
9479
+ name?: string | null | undefined;
9480
+ id?: string | null | undefined;
9481
+ description?: string | null | undefined;
9482
+ domain?: string | null | undefined;
9483
+ aliases?: string[] | null | undefined;
9484
+ }, {
9485
+ name?: string | null | undefined;
9486
+ id?: string | null | undefined;
9487
+ description?: string | null | undefined;
9488
+ domain?: string | null | undefined;
9489
+ aliases?: string[] | null | undefined;
9490
+ }>, "many">;
9491
+ /**
9492
+ * Whether the watchlist is visible in the UI
9493
+ */
9494
+ visible: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
9495
+ }, "strip", z.ZodTypeAny, {
9496
+ name: string;
9497
+ people: {
9498
+ name?: string | null | undefined;
9499
+ description?: string | null | undefined;
9500
+ wikidataId?: string | null | undefined;
9501
+ aliases?: string[] | null | undefined;
9502
+ }[];
9503
+ companies: {
9504
+ name?: string | null | undefined;
9505
+ id?: string | null | undefined;
9506
+ description?: string | null | undefined;
9507
+ domain?: string | null | undefined;
9508
+ aliases?: string[] | null | undefined;
9509
+ }[];
9510
+ description?: string | null | undefined;
9511
+ displayName?: string | null | undefined;
9512
+ visible?: boolean | null | undefined;
9513
+ }, {
9514
+ name: string;
9515
+ people: {
9516
+ name?: string | null | undefined;
9517
+ description?: string | null | undefined;
9518
+ wikidataId?: string | null | undefined;
9519
+ aliases?: string[] | null | undefined;
9520
+ }[];
9521
+ companies: {
9522
+ name?: string | null | undefined;
9523
+ id?: string | null | undefined;
9524
+ description?: string | null | undefined;
9525
+ domain?: string | null | undefined;
9526
+ aliases?: string[] | null | undefined;
9527
+ }[];
9528
+ description?: string | null | undefined;
9529
+ displayName?: string | null | undefined;
9530
+ visible?: boolean | null | undefined;
9531
+ }>;
9532
+ type CreateWatchlistParams = z.infer<typeof CreateWatchlistParamsSchema>;
9533
+ declare const ErrorResponseSchema: z.ZodObject<{
9534
+ status: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
9535
+ message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9536
+ timestamp: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
9537
+ }, "strip", z.ZodTypeAny, {
9538
+ message?: string | null | undefined;
9539
+ status?: number | null | undefined;
9540
+ timestamp?: number | null | undefined;
9541
+ }, {
9542
+ message?: string | null | undefined;
9543
+ status?: number | null | undefined;
9544
+ timestamp?: number | null | undefined;
9545
+ }>;
9546
+ type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
9547
+ declare const JournalistSearchResultSchema: z.ZodObject<{
9548
+ status: z.ZodNumber;
9549
+ numResults: z.ZodNumber;
9550
+ results: z.ZodArray<z.ZodObject<{
9551
+ id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9552
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9553
+ fullName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9554
+ headline: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9555
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9556
+ title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9557
+ locations: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
9558
+ country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9559
+ state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9560
+ county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9561
+ city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9562
+ area: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9563
+ }, "strip", z.ZodTypeAny, {
9564
+ country?: string | null | undefined;
9565
+ state?: string | null | undefined;
9566
+ county?: string | null | undefined;
9567
+ city?: string | null | undefined;
9568
+ area?: string | null | undefined;
9569
+ }, {
9570
+ country?: string | null | undefined;
9571
+ state?: string | null | undefined;
9572
+ county?: string | null | undefined;
9573
+ city?: string | null | undefined;
9574
+ area?: string | null | undefined;
9575
+ }>, "many">>>;
9576
+ updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9577
+ topTopics: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
9578
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9579
+ count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
9580
+ }, "strip", z.ZodTypeAny, {
9581
+ name?: string | null | undefined;
9582
+ count?: number | null | undefined;
9583
+ }, {
9584
+ name?: string | null | undefined;
9585
+ count?: number | null | undefined;
9586
+ }>, "many">>>;
9587
+ topSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
9588
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9589
+ count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
9590
+ }, "strip", z.ZodTypeAny, {
9591
+ name?: string | null | undefined;
9592
+ count?: number | null | undefined;
9593
+ }, {
9594
+ name?: string | null | undefined;
9595
+ count?: number | null | undefined;
9596
+ }>, "many">>>;
9597
+ topCategories: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
9598
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9599
+ count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
9600
+ }, "strip", z.ZodTypeAny, {
9601
+ name?: string | null | undefined;
9602
+ count?: number | null | undefined;
9603
+ }, {
9604
+ name?: string | null | undefined;
9605
+ count?: number | null | undefined;
9606
+ }>, "many">>>;
9607
+ topLabels: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
9608
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9609
+ count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
9610
+ }, "strip", z.ZodTypeAny, {
9611
+ name?: string | null | undefined;
9612
+ count?: number | null | undefined;
9613
+ }, {
9614
+ name?: string | null | undefined;
9615
+ count?: number | null | undefined;
9616
+ }>, "many">>>;
9617
+ topCountries: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
9618
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9619
+ count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
9620
+ }, "strip", z.ZodTypeAny, {
9621
+ name?: string | null | undefined;
9622
+ count?: number | null | undefined;
9623
+ }, {
9624
+ name?: string | null | undefined;
9625
+ count?: number | null | undefined;
9626
+ }>, "many">>>;
9627
+ avgMonthlyPosts: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
9628
+ twitterHandle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9629
+ twitterBio: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9630
+ imageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9631
+ linkedinUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9632
+ linkedinConnections: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
9633
+ linkedinFollowers: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
9634
+ facebookUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9635
+ instagramUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9636
+ websiteUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9637
+ blogUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9638
+ tumblrUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9639
+ youtubeUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9640
+ }, "strip", z.ZodTypeAny, {
9641
+ name?: string | null | undefined;
9642
+ updatedAt?: string | null | undefined;
9643
+ id?: string | null | undefined;
9644
+ fullName?: string | null | undefined;
9645
+ headline?: string | null | undefined;
9646
+ description?: string | null | undefined;
9647
+ title?: string | null | undefined;
9648
+ locations?: {
9649
+ country?: string | null | undefined;
9650
+ state?: string | null | undefined;
9651
+ county?: string | null | undefined;
9652
+ city?: string | null | undefined;
9653
+ area?: string | null | undefined;
9654
+ }[] | null | undefined;
9655
+ topTopics?: {
9656
+ name?: string | null | undefined;
9657
+ count?: number | null | undefined;
9658
+ }[] | null | undefined;
9659
+ topSources?: {
9660
+ name?: string | null | undefined;
9661
+ count?: number | null | undefined;
9662
+ }[] | null | undefined;
9663
+ topCategories?: {
9664
+ name?: string | null | undefined;
9665
+ count?: number | null | undefined;
9666
+ }[] | null | undefined;
9667
+ topLabels?: {
9668
+ name?: string | null | undefined;
9669
+ count?: number | null | undefined;
9670
+ }[] | null | undefined;
9671
+ topCountries?: {
9672
+ name?: string | null | undefined;
9673
+ count?: number | null | undefined;
9674
+ }[] | null | undefined;
9675
+ avgMonthlyPosts?: number | null | undefined;
9676
+ twitterHandle?: string | null | undefined;
9677
+ twitterBio?: string | null | undefined;
9678
+ imageUrl?: string | null | undefined;
9679
+ linkedinUrl?: string | null | undefined;
9680
+ linkedinConnections?: number | null | undefined;
9681
+ linkedinFollowers?: number | null | undefined;
9682
+ facebookUrl?: string | null | undefined;
9683
+ instagramUrl?: string | null | undefined;
9684
+ websiteUrl?: string | null | undefined;
9685
+ blogUrl?: string | null | undefined;
9686
+ tumblrUrl?: string | null | undefined;
9687
+ youtubeUrl?: string | null | undefined;
9688
+ }, {
9689
+ name?: string | null | undefined;
9690
+ updatedAt?: string | null | undefined;
9691
+ id?: string | null | undefined;
9692
+ fullName?: string | null | undefined;
9693
+ headline?: string | null | undefined;
9694
+ description?: string | null | undefined;
9695
+ title?: string | null | undefined;
9696
+ locations?: {
9697
+ country?: string | null | undefined;
9698
+ state?: string | null | undefined;
9699
+ county?: string | null | undefined;
9700
+ city?: string | null | undefined;
9701
+ area?: string | null | undefined;
9702
+ }[] | null | undefined;
9703
+ topTopics?: {
9704
+ name?: string | null | undefined;
9705
+ count?: number | null | undefined;
9706
+ }[] | null | undefined;
9707
+ topSources?: {
9708
+ name?: string | null | undefined;
9709
+ count?: number | null | undefined;
9710
+ }[] | null | undefined;
9711
+ topCategories?: {
9712
+ name?: string | null | undefined;
9713
+ count?: number | null | undefined;
9714
+ }[] | null | undefined;
9715
+ topLabels?: {
9716
+ name?: string | null | undefined;
9717
+ count?: number | null | undefined;
9718
+ }[] | null | undefined;
9719
+ topCountries?: {
9720
+ name?: string | null | undefined;
9721
+ count?: number | null | undefined;
9722
+ }[] | null | undefined;
9723
+ avgMonthlyPosts?: number | null | undefined;
9724
+ twitterHandle?: string | null | undefined;
9725
+ twitterBio?: string | null | undefined;
9726
+ imageUrl?: string | null | undefined;
9727
+ linkedinUrl?: string | null | undefined;
9728
+ linkedinConnections?: number | null | undefined;
9729
+ linkedinFollowers?: number | null | undefined;
9730
+ facebookUrl?: string | null | undefined;
9731
+ instagramUrl?: string | null | undefined;
9732
+ websiteUrl?: string | null | undefined;
9733
+ blogUrl?: string | null | undefined;
9734
+ tumblrUrl?: string | null | undefined;
9735
+ youtubeUrl?: string | null | undefined;
9736
+ }>, "many">;
9737
+ }, "strip", z.ZodTypeAny, {
9738
+ status: number;
9739
+ results: {
9740
+ name?: string | null | undefined;
9741
+ updatedAt?: string | null | undefined;
9742
+ id?: string | null | undefined;
9743
+ fullName?: string | null | undefined;
9744
+ headline?: string | null | undefined;
9745
+ description?: string | null | undefined;
9746
+ title?: string | null | undefined;
9747
+ locations?: {
9748
+ country?: string | null | undefined;
9749
+ state?: string | null | undefined;
9750
+ county?: string | null | undefined;
9751
+ city?: string | null | undefined;
9752
+ area?: string | null | undefined;
9753
+ }[] | null | undefined;
9754
+ topTopics?: {
9755
+ name?: string | null | undefined;
9756
+ count?: number | null | undefined;
9757
+ }[] | null | undefined;
9758
+ topSources?: {
9759
+ name?: string | null | undefined;
9760
+ count?: number | null | undefined;
9761
+ }[] | null | undefined;
9762
+ topCategories?: {
9763
+ name?: string | null | undefined;
9764
+ count?: number | null | undefined;
9765
+ }[] | null | undefined;
9766
+ topLabels?: {
9767
+ name?: string | null | undefined;
9768
+ count?: number | null | undefined;
9769
+ }[] | null | undefined;
9770
+ topCountries?: {
9771
+ name?: string | null | undefined;
9772
+ count?: number | null | undefined;
9773
+ }[] | null | undefined;
9774
+ avgMonthlyPosts?: number | null | undefined;
9775
+ twitterHandle?: string | null | undefined;
9776
+ twitterBio?: string | null | undefined;
9777
+ imageUrl?: string | null | undefined;
9778
+ linkedinUrl?: string | null | undefined;
9779
+ linkedinConnections?: number | null | undefined;
9780
+ linkedinFollowers?: number | null | undefined;
9781
+ facebookUrl?: string | null | undefined;
9782
+ instagramUrl?: string | null | undefined;
9783
+ websiteUrl?: string | null | undefined;
9784
+ blogUrl?: string | null | undefined;
9785
+ tumblrUrl?: string | null | undefined;
9786
+ youtubeUrl?: string | null | undefined;
9787
+ }[];
9788
+ numResults: number;
9789
+ }, {
9790
+ status: number;
9791
+ results: {
9792
+ name?: string | null | undefined;
9793
+ updatedAt?: string | null | undefined;
9794
+ id?: string | null | undefined;
9795
+ fullName?: string | null | undefined;
9796
+ headline?: string | null | undefined;
9797
+ description?: string | null | undefined;
9798
+ title?: string | null | undefined;
9799
+ locations?: {
9800
+ country?: string | null | undefined;
9801
+ state?: string | null | undefined;
9802
+ county?: string | null | undefined;
9803
+ city?: string | null | undefined;
9804
+ area?: string | null | undefined;
9805
+ }[] | null | undefined;
9806
+ topTopics?: {
9807
+ name?: string | null | undefined;
9808
+ count?: number | null | undefined;
9809
+ }[] | null | undefined;
9810
+ topSources?: {
9811
+ name?: string | null | undefined;
9812
+ count?: number | null | undefined;
9813
+ }[] | null | undefined;
9814
+ topCategories?: {
9815
+ name?: string | null | undefined;
9816
+ count?: number | null | undefined;
9817
+ }[] | null | undefined;
9818
+ topLabels?: {
9819
+ name?: string | null | undefined;
9820
+ count?: number | null | undefined;
9821
+ }[] | null | undefined;
9822
+ topCountries?: {
9823
+ name?: string | null | undefined;
9824
+ count?: number | null | undefined;
9825
+ }[] | null | undefined;
9826
+ avgMonthlyPosts?: number | null | undefined;
9827
+ twitterHandle?: string | null | undefined;
9828
+ twitterBio?: string | null | undefined;
9829
+ imageUrl?: string | null | undefined;
9830
+ linkedinUrl?: string | null | undefined;
9831
+ linkedinConnections?: number | null | undefined;
9832
+ linkedinFollowers?: number | null | undefined;
9833
+ facebookUrl?: string | null | undefined;
9834
+ instagramUrl?: string | null | undefined;
9835
+ websiteUrl?: string | null | undefined;
9836
+ blogUrl?: string | null | undefined;
9837
+ tumblrUrl?: string | null | undefined;
9838
+ youtubeUrl?: string | null | undefined;
9839
+ }[];
9840
+ numResults: number;
9841
+ }>;
9842
+ type JournalistSearchResult = z.infer<typeof JournalistSearchResultSchema>;
9843
+ declare const PatchSourceGroupParamsSchema: z.ZodObject<{
9844
+ /**
9845
+ * Unique name for the source group within the organization
9846
+ */
9847
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9848
+ /**
9849
+ * Display name for the source group
9850
+ */
9851
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9852
+ /**
9853
+ * Description of the source group
9854
+ */
9855
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9856
+ /**
9857
+ * List of domains included in the source group
9858
+ */
9859
+ domains: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9860
+ }, "strip", z.ZodTypeAny, {
9861
+ name?: string | null | undefined;
9862
+ domains?: string[] | null | undefined;
9525
9863
  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;
9864
+ displayName?: string | null | undefined;
9576
9865
  }, {
9577
9866
  name?: string | null | undefined;
9578
- createdAt?: string | null | undefined;
9579
- updatedAt?: string | null | undefined;
9867
+ domains?: string[] | null | undefined;
9580
9868
  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;
9869
+ displayName?: string | null | undefined;
9631
9870
  }>;
9632
- type Person = z.infer<typeof PersonSchema>;
9871
+ type PatchSourceGroupParams = z.infer<typeof PatchSourceGroupParamsSchema>;
9633
9872
  declare const PeopleSearchResultSchema: z.ZodObject<{
9634
9873
  status: z.ZodNumber;
9635
9874
  numResults: z.ZodNumber;
@@ -10558,6 +10797,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
10558
10797
  symbols?: string[] | null | undefined;
10559
10798
  }>, "many">>>;
10560
10799
  locations: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
10800
+ country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10561
10801
  state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10562
10802
  county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10563
10803
  city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -10565,12 +10805,14 @@ declare const QuerySearchResultSchema: z.ZodObject<{
10565
10805
  count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
10566
10806
  }, "strip", z.ZodTypeAny, {
10567
10807
  count?: number | null | undefined;
10808
+ country?: string | null | undefined;
10568
10809
  state?: string | null | undefined;
10569
10810
  county?: string | null | undefined;
10570
10811
  city?: string | null | undefined;
10571
10812
  area?: string | null | undefined;
10572
10813
  }, {
10573
10814
  count?: number | null | undefined;
10815
+ country?: string | null | undefined;
10574
10816
  state?: string | null | undefined;
10575
10817
  county?: string | null | undefined;
10576
10818
  city?: string | null | undefined;
@@ -10596,6 +10838,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
10596
10838
  area?: string | null | undefined;
10597
10839
  }>, "many">>>;
10598
10840
  highlights: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>>;
10841
+ sourceDiversity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
10599
10842
  }, "strip", z.ZodTypeAny, {
10600
10843
  name?: string | null | undefined;
10601
10844
  createdAt?: string | null | undefined;
@@ -10604,6 +10847,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
10604
10847
  id?: string | null | undefined;
10605
10848
  locations?: {
10606
10849
  count?: number | null | undefined;
10850
+ country?: string | null | undefined;
10607
10851
  state?: string | null | undefined;
10608
10852
  county?: string | null | undefined;
10609
10853
  city?: string | null | undefined;
@@ -10704,6 +10948,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
10704
10948
  area?: string | null | undefined;
10705
10949
  }[] | null | undefined;
10706
10950
  highlights?: Record<string, string[]> | null | undefined;
10951
+ sourceDiversity?: number | null | undefined;
10707
10952
  }, {
10708
10953
  name?: string | null | undefined;
10709
10954
  createdAt?: string | null | undefined;
@@ -10712,6 +10957,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
10712
10957
  id?: string | null | undefined;
10713
10958
  locations?: {
10714
10959
  count?: number | null | undefined;
10960
+ country?: string | null | undefined;
10715
10961
  state?: string | null | undefined;
10716
10962
  county?: string | null | undefined;
10717
10963
  city?: string | null | undefined;
@@ -10812,6 +11058,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
10812
11058
  area?: string | null | undefined;
10813
11059
  }[] | null | undefined;
10814
11060
  highlights?: Record<string, string[]> | null | undefined;
11061
+ sourceDiversity?: number | null | undefined;
10815
11062
  }>>>;
10816
11063
  journalists: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
10817
11064
  id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -11124,6 +11371,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
11124
11371
  id?: string | null | undefined;
11125
11372
  locations?: {
11126
11373
  count?: number | null | undefined;
11374
+ country?: string | null | undefined;
11127
11375
  state?: string | null | undefined;
11128
11376
  county?: string | null | undefined;
11129
11377
  city?: string | null | undefined;
@@ -11224,6 +11472,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
11224
11472
  area?: string | null | undefined;
11225
11473
  }[] | null | undefined;
11226
11474
  highlights?: Record<string, string[]> | null | undefined;
11475
+ sourceDiversity?: number | null | undefined;
11227
11476
  } | null | undefined;
11228
11477
  journalists?: {
11229
11478
  name?: string | null | undefined;
@@ -11397,6 +11646,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
11397
11646
  id?: string | null | undefined;
11398
11647
  locations?: {
11399
11648
  count?: number | null | undefined;
11649
+ country?: string | null | undefined;
11400
11650
  state?: string | null | undefined;
11401
11651
  county?: string | null | undefined;
11402
11652
  city?: string | null | undefined;
@@ -11497,6 +11747,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
11497
11747
  area?: string | null | undefined;
11498
11748
  }[] | null | undefined;
11499
11749
  highlights?: Record<string, string[]> | null | undefined;
11750
+ sourceDiversity?: number | null | undefined;
11500
11751
  } | null | undefined;
11501
11752
  journalists?: {
11502
11753
  name?: string | null | undefined;
@@ -11674,6 +11925,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
11674
11925
  id?: string | null | undefined;
11675
11926
  locations?: {
11676
11927
  count?: number | null | undefined;
11928
+ country?: string | null | undefined;
11677
11929
  state?: string | null | undefined;
11678
11930
  county?: string | null | undefined;
11679
11931
  city?: string | null | undefined;
@@ -11774,6 +12026,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
11774
12026
  area?: string | null | undefined;
11775
12027
  }[] | null | undefined;
11776
12028
  highlights?: Record<string, string[]> | null | undefined;
12029
+ sourceDiversity?: number | null | undefined;
11777
12030
  } | null | undefined;
11778
12031
  journalists?: {
11779
12032
  name?: string | null | undefined;
@@ -11951,6 +12204,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
11951
12204
  id?: string | null | undefined;
11952
12205
  locations?: {
11953
12206
  count?: number | null | undefined;
12207
+ country?: string | null | undefined;
11954
12208
  state?: string | null | undefined;
11955
12209
  county?: string | null | undefined;
11956
12210
  city?: string | null | undefined;
@@ -12051,6 +12305,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
12051
12305
  area?: string | null | undefined;
12052
12306
  }[] | null | undefined;
12053
12307
  highlights?: Record<string, string[]> | null | undefined;
12308
+ sourceDiversity?: number | null | undefined;
12054
12309
  } | null | undefined;
12055
12310
  journalists?: {
12056
12311
  name?: string | null | undefined;
@@ -13268,6 +13523,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
13268
13523
  symbols?: string[] | null | undefined;
13269
13524
  }>, "many">>>;
13270
13525
  locations: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
13526
+ country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13271
13527
  state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13272
13528
  county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13273
13529
  city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -13275,12 +13531,14 @@ declare const StorySearchResultSchema: z.ZodObject<{
13275
13531
  count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
13276
13532
  }, "strip", z.ZodTypeAny, {
13277
13533
  count?: number | null | undefined;
13534
+ country?: string | null | undefined;
13278
13535
  state?: string | null | undefined;
13279
13536
  county?: string | null | undefined;
13280
13537
  city?: string | null | undefined;
13281
13538
  area?: string | null | undefined;
13282
13539
  }, {
13283
13540
  count?: number | null | undefined;
13541
+ country?: string | null | undefined;
13284
13542
  state?: string | null | undefined;
13285
13543
  county?: string | null | undefined;
13286
13544
  city?: string | null | undefined;
@@ -13306,6 +13564,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
13306
13564
  area?: string | null | undefined;
13307
13565
  }>, "many">>>;
13308
13566
  highlights: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>>;
13567
+ sourceDiversity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
13309
13568
  }, "strip", z.ZodTypeAny, {
13310
13569
  name?: string | null | undefined;
13311
13570
  createdAt?: string | null | undefined;
@@ -13314,6 +13573,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
13314
13573
  id?: string | null | undefined;
13315
13574
  locations?: {
13316
13575
  count?: number | null | undefined;
13576
+ country?: string | null | undefined;
13317
13577
  state?: string | null | undefined;
13318
13578
  county?: string | null | undefined;
13319
13579
  city?: string | null | undefined;
@@ -13414,6 +13674,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
13414
13674
  area?: string | null | undefined;
13415
13675
  }[] | null | undefined;
13416
13676
  highlights?: Record<string, string[]> | null | undefined;
13677
+ sourceDiversity?: number | null | undefined;
13417
13678
  }, {
13418
13679
  name?: string | null | undefined;
13419
13680
  createdAt?: string | null | undefined;
@@ -13422,6 +13683,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
13422
13683
  id?: string | null | undefined;
13423
13684
  locations?: {
13424
13685
  count?: number | null | undefined;
13686
+ country?: string | null | undefined;
13425
13687
  state?: string | null | undefined;
13426
13688
  county?: string | null | undefined;
13427
13689
  city?: string | null | undefined;
@@ -13522,6 +13784,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
13522
13784
  area?: string | null | undefined;
13523
13785
  }[] | null | undefined;
13524
13786
  highlights?: Record<string, string[]> | null | undefined;
13787
+ sourceDiversity?: number | null | undefined;
13525
13788
  }>, "many">;
13526
13789
  }, "strip", z.ZodTypeAny, {
13527
13790
  status: number;
@@ -13533,6 +13796,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
13533
13796
  id?: string | null | undefined;
13534
13797
  locations?: {
13535
13798
  count?: number | null | undefined;
13799
+ country?: string | null | undefined;
13536
13800
  state?: string | null | undefined;
13537
13801
  county?: string | null | undefined;
13538
13802
  city?: string | null | undefined;
@@ -13633,6 +13897,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
13633
13897
  area?: string | null | undefined;
13634
13898
  }[] | null | undefined;
13635
13899
  highlights?: Record<string, string[]> | null | undefined;
13900
+ sourceDiversity?: number | null | undefined;
13636
13901
  }[];
13637
13902
  numResults: number;
13638
13903
  }, {
@@ -13645,6 +13910,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
13645
13910
  id?: string | null | undefined;
13646
13911
  locations?: {
13647
13912
  count?: number | null | undefined;
13913
+ country?: string | null | undefined;
13648
13914
  state?: string | null | undefined;
13649
13915
  county?: string | null | undefined;
13650
13916
  city?: string | null | undefined;
@@ -13745,6 +14011,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
13745
14011
  area?: string | null | undefined;
13746
14012
  }[] | null | undefined;
13747
14013
  highlights?: Record<string, string[]> | null | undefined;
14014
+ sourceDiversity?: number | null | undefined;
13748
14015
  }[];
13749
14016
  numResults: number;
13750
14017
  }>;
@@ -13773,7 +14040,7 @@ declare const SummaryBodySchema: z.ZodObject<{
13773
14040
  /**
13774
14041
  * The underlying LLM model to use for generation.
13775
14042
  */
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"]>>>;
14043
+ 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
14044
  /**
13778
14045
  * Sampling temperature for the LLM (0.0 = deterministic to 2.0 = very creative).
13779
14046
  */
@@ -13792,7 +14059,7 @@ declare const SummaryBodySchema: z.ZodObject<{
13792
14059
  returnedArticleCount?: number | null | undefined;
13793
14060
  summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
13794
14061
  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;
14062
+ 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
14063
  temperature?: number | null | undefined;
13797
14064
  topP?: number | null | undefined;
13798
14065
  maxTokens?: number | null | undefined;
@@ -13802,7 +14069,7 @@ declare const SummaryBodySchema: z.ZodObject<{
13802
14069
  returnedArticleCount?: number | null | undefined;
13803
14070
  summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
13804
14071
  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;
14072
+ 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
14073
  temperature?: number | null | undefined;
13807
14074
  topP?: number | null | undefined;
13808
14075
  maxTokens?: number | null | undefined;
@@ -14338,6 +14605,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
14338
14605
  symbols?: string[] | null | undefined;
14339
14606
  }>, "many">>>;
14340
14607
  locations: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
14608
+ country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14341
14609
  state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14342
14610
  county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14343
14611
  city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -14345,12 +14613,14 @@ declare const SummarySearchResultSchema: z.ZodObject<{
14345
14613
  count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
14346
14614
  }, "strip", z.ZodTypeAny, {
14347
14615
  count?: number | null | undefined;
14616
+ country?: string | null | undefined;
14348
14617
  state?: string | null | undefined;
14349
14618
  county?: string | null | undefined;
14350
14619
  city?: string | null | undefined;
14351
14620
  area?: string | null | undefined;
14352
14621
  }, {
14353
14622
  count?: number | null | undefined;
14623
+ country?: string | null | undefined;
14354
14624
  state?: string | null | undefined;
14355
14625
  county?: string | null | undefined;
14356
14626
  city?: string | null | undefined;
@@ -14376,6 +14646,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
14376
14646
  area?: string | null | undefined;
14377
14647
  }>, "many">>>;
14378
14648
  highlights: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>>;
14649
+ sourceDiversity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
14379
14650
  }, "strip", z.ZodTypeAny, {
14380
14651
  name?: string | null | undefined;
14381
14652
  createdAt?: string | null | undefined;
@@ -14384,6 +14655,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
14384
14655
  id?: string | null | undefined;
14385
14656
  locations?: {
14386
14657
  count?: number | null | undefined;
14658
+ country?: string | null | undefined;
14387
14659
  state?: string | null | undefined;
14388
14660
  county?: string | null | undefined;
14389
14661
  city?: string | null | undefined;
@@ -14484,6 +14756,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
14484
14756
  area?: string | null | undefined;
14485
14757
  }[] | null | undefined;
14486
14758
  highlights?: Record<string, string[]> | null | undefined;
14759
+ sourceDiversity?: number | null | undefined;
14487
14760
  }, {
14488
14761
  name?: string | null | undefined;
14489
14762
  createdAt?: string | null | undefined;
@@ -14492,6 +14765,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
14492
14765
  id?: string | null | undefined;
14493
14766
  locations?: {
14494
14767
  count?: number | null | undefined;
14768
+ country?: string | null | undefined;
14495
14769
  state?: string | null | undefined;
14496
14770
  county?: string | null | undefined;
14497
14771
  city?: string | null | undefined;
@@ -14592,6 +14866,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
14592
14866
  area?: string | null | undefined;
14593
14867
  }[] | null | undefined;
14594
14868
  highlights?: Record<string, string[]> | null | undefined;
14869
+ sourceDiversity?: number | null | undefined;
14595
14870
  }>>>;
14596
14871
  journalists: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
14597
14872
  id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -14904,6 +15179,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
14904
15179
  id?: string | null | undefined;
14905
15180
  locations?: {
14906
15181
  count?: number | null | undefined;
15182
+ country?: string | null | undefined;
14907
15183
  state?: string | null | undefined;
14908
15184
  county?: string | null | undefined;
14909
15185
  city?: string | null | undefined;
@@ -15004,6 +15280,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
15004
15280
  area?: string | null | undefined;
15005
15281
  }[] | null | undefined;
15006
15282
  highlights?: Record<string, string[]> | null | undefined;
15283
+ sourceDiversity?: number | null | undefined;
15007
15284
  } | null | undefined;
15008
15285
  journalists?: {
15009
15286
  name?: string | null | undefined;
@@ -15177,6 +15454,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
15177
15454
  id?: string | null | undefined;
15178
15455
  locations?: {
15179
15456
  count?: number | null | undefined;
15457
+ country?: string | null | undefined;
15180
15458
  state?: string | null | undefined;
15181
15459
  county?: string | null | undefined;
15182
15460
  city?: string | null | undefined;
@@ -15277,6 +15555,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
15277
15555
  area?: string | null | undefined;
15278
15556
  }[] | null | undefined;
15279
15557
  highlights?: Record<string, string[]> | null | undefined;
15558
+ sourceDiversity?: number | null | undefined;
15280
15559
  } | null | undefined;
15281
15560
  journalists?: {
15282
15561
  name?: string | null | undefined;
@@ -15454,6 +15733,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
15454
15733
  id?: string | null | undefined;
15455
15734
  locations?: {
15456
15735
  count?: number | null | undefined;
15736
+ country?: string | null | undefined;
15457
15737
  state?: string | null | undefined;
15458
15738
  county?: string | null | undefined;
15459
15739
  city?: string | null | undefined;
@@ -15554,6 +15834,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
15554
15834
  area?: string | null | undefined;
15555
15835
  }[] | null | undefined;
15556
15836
  highlights?: Record<string, string[]> | null | undefined;
15837
+ sourceDiversity?: number | null | undefined;
15557
15838
  } | null | undefined;
15558
15839
  journalists?: {
15559
15840
  name?: string | null | undefined;
@@ -15732,6 +16013,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
15732
16013
  id?: string | null | undefined;
15733
16014
  locations?: {
15734
16015
  count?: number | null | undefined;
16016
+ country?: string | null | undefined;
15735
16017
  state?: string | null | undefined;
15736
16018
  county?: string | null | undefined;
15737
16019
  city?: string | null | undefined;
@@ -15832,6 +16114,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
15832
16114
  area?: string | null | undefined;
15833
16115
  }[] | null | undefined;
15834
16116
  highlights?: Record<string, string[]> | null | undefined;
16117
+ sourceDiversity?: number | null | undefined;
15835
16118
  } | null | undefined;
15836
16119
  journalists?: {
15837
16120
  name?: string | null | undefined;
@@ -15971,29 +16254,125 @@ declare const TopicSearchResultSchema: z.ZodObject<{
15971
16254
  }, "strip", z.ZodTypeAny, {
15972
16255
  data: {
15973
16256
  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;
16257
+ createdAt?: Date | null | undefined;
16258
+ updatedAt?: Date | null | undefined;
16259
+ id?: number | null | undefined;
16260
+ labels?: {
16261
+ category?: string | null | undefined;
16262
+ subcategory?: string | null | undefined;
16263
+ } | null | undefined;
16264
+ }[];
16265
+ total: number;
16266
+ }, {
16267
+ data: {
16268
+ name?: string | null | undefined;
16269
+ createdAt?: string | null | undefined;
16270
+ updatedAt?: string | null | undefined;
16271
+ id?: number | null | undefined;
16272
+ labels?: {
16273
+ category?: string | null | undefined;
16274
+ subcategory?: string | null | undefined;
16275
+ } | null | undefined;
16276
+ }[];
16277
+ total: number;
16278
+ }>;
16279
+ type TopicSearchResult = z.infer<typeof TopicSearchResultSchema>;
16280
+ declare const UpdateWatchlistParamsSchema: z.ZodObject<{
16281
+ /**
16282
+ * New name for the watchlist
16283
+ */
16284
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16285
+ /**
16286
+ * New display name for the watchlist
16287
+ */
16288
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16289
+ /**
16290
+ * New description for the watchlist
16291
+ */
16292
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16293
+ /**
16294
+ * Updated list of people to include in the watchlist
16295
+ */
16296
+ people: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
16297
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16298
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16299
+ aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
16300
+ wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16301
+ }, "strip", z.ZodTypeAny, {
16302
+ name?: string | null | undefined;
16303
+ description?: string | null | undefined;
16304
+ wikidataId?: string | null | undefined;
16305
+ aliases?: string[] | null | undefined;
16306
+ }, {
16307
+ name?: string | null | undefined;
16308
+ description?: string | null | undefined;
16309
+ wikidataId?: string | null | undefined;
16310
+ aliases?: string[] | null | undefined;
16311
+ }>, "many">>>;
16312
+ /**
16313
+ * Updated list of companies to include in the watchlist
16314
+ */
16315
+ companies: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
16316
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16317
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16318
+ id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16319
+ domain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16320
+ aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
16321
+ }, "strip", z.ZodTypeAny, {
16322
+ name?: string | null | undefined;
16323
+ id?: string | null | undefined;
16324
+ description?: string | null | undefined;
16325
+ domain?: string | null | undefined;
16326
+ aliases?: string[] | null | undefined;
16327
+ }, {
16328
+ name?: string | null | undefined;
16329
+ id?: string | null | undefined;
16330
+ description?: string | null | undefined;
16331
+ domain?: string | null | undefined;
16332
+ aliases?: string[] | null | undefined;
16333
+ }>, "many">>>;
16334
+ /**
16335
+ * Whether the watchlist is visible in the UI
16336
+ */
16337
+ visible: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
16338
+ }, "strip", z.ZodTypeAny, {
16339
+ name?: string | null | undefined;
16340
+ description?: string | null | undefined;
16341
+ people?: {
16342
+ name?: string | null | undefined;
16343
+ description?: string | null | undefined;
16344
+ wikidataId?: string | null | undefined;
16345
+ aliases?: string[] | null | undefined;
16346
+ }[] | null | undefined;
16347
+ companies?: {
16348
+ name?: string | null | undefined;
16349
+ id?: string | null | undefined;
16350
+ description?: string | null | undefined;
16351
+ domain?: string | null | undefined;
16352
+ aliases?: string[] | null | undefined;
16353
+ }[] | null | undefined;
16354
+ displayName?: string | null | undefined;
16355
+ visible?: boolean | null | undefined;
15983
16356
  }, {
15984
- data: {
16357
+ name?: string | null | undefined;
16358
+ description?: string | null | undefined;
16359
+ people?: {
15985
16360
  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;
16361
+ description?: string | null | undefined;
16362
+ wikidataId?: string | null | undefined;
16363
+ aliases?: string[] | null | undefined;
16364
+ }[] | null | undefined;
16365
+ companies?: {
16366
+ name?: string | null | undefined;
16367
+ id?: string | null | undefined;
16368
+ description?: string | null | undefined;
16369
+ domain?: string | null | undefined;
16370
+ aliases?: string[] | null | undefined;
16371
+ }[] | null | undefined;
16372
+ displayName?: string | null | undefined;
16373
+ visible?: boolean | null | undefined;
15995
16374
  }>;
15996
- type TopicSearchResult = z.infer<typeof TopicSearchResultSchema>;
16375
+ type UpdateWatchlistParams = z.infer<typeof UpdateWatchlistParamsSchema>;
15997
16376
  declare const WikiPageSectionHolderSchema: z.ZodObject<{
15998
16377
  id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15999
16378
  title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -16661,64 +17040,430 @@ declare const WikipediaVectorSearchResultSchema: z.ZodObject<{
16661
17040
  data?: {
16662
17041
  title?: string | null | undefined;
16663
17042
  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
- }[];
17043
+ content?: string | null | undefined;
17044
+ pageId?: string | null | undefined;
17045
+ sectionId?: string | null | undefined;
17046
+ wikiPageId?: number | null | undefined;
17047
+ wikiRevisionId?: number | null | undefined;
17048
+ wikiRevisionTs?: string | null | undefined;
17049
+ wikiCode?: string | null | undefined;
17050
+ wikiNamespace?: number | null | undefined;
17051
+ wikiTitle?: string | null | undefined;
17052
+ wikidataInstanceOf?: {
17053
+ wikidataId?: string | null | undefined;
17054
+ label?: string | null | undefined;
17055
+ }[] | null | undefined;
17056
+ redirectTitles?: string[] | null | undefined;
17057
+ pageviews?: number | null | undefined;
17058
+ styleLevel?: number | null | undefined;
17059
+ } | null | undefined;
17060
+ }[];
17061
+ }, {
17062
+ status: number;
17063
+ results: {
17064
+ score?: number | null | undefined;
17065
+ data?: {
17066
+ title?: string | null | undefined;
17067
+ wikidataId?: string | null | undefined;
17068
+ content?: string | null | undefined;
17069
+ pageId?: string | null | undefined;
17070
+ sectionId?: string | null | undefined;
17071
+ wikiPageId?: number | null | undefined;
17072
+ wikiRevisionId?: number | null | undefined;
17073
+ wikiRevisionTs?: string | null | undefined;
17074
+ wikiCode?: string | null | undefined;
17075
+ wikiNamespace?: number | null | undefined;
17076
+ wikiTitle?: string | null | undefined;
17077
+ wikidataInstanceOf?: {
17078
+ wikidataId?: string | null | undefined;
17079
+ label?: string | null | undefined;
17080
+ }[] | null | undefined;
17081
+ redirectTitles?: string[] | null | undefined;
17082
+ pageviews?: number | null | undefined;
17083
+ styleLevel?: number | null | undefined;
17084
+ } | null | undefined;
17085
+ }[];
17086
+ }>;
17087
+ type WikipediaVectorSearchResult = z.infer<typeof WikipediaVectorSearchResultSchema>;
17088
+
17089
+ /**
17090
+ * Perigon API
17091
+ * 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.
17092
+ *
17093
+ * The version of the OpenAPI document: 1.0.0
17094
+ * Contact: data@perigon.io
17095
+ *
17096
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
17097
+ * https://openapi-generator.tech
17098
+ * Do not edit the class manually.
17099
+ */
17100
+
17101
+ declare const CreateSourceGroupBodySchema: z.ZodObject<{
17102
+ /**
17103
+ * Parameter createSourceGroupParams
17104
+ * @required
17105
+ */
17106
+ createSourceGroupParams: z.ZodObject<{
17107
+ name: z.ZodString;
17108
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17109
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17110
+ domains: z.ZodArray<z.ZodString, "many">;
17111
+ }, "strip", z.ZodTypeAny, {
17112
+ name: string;
17113
+ domains: string[];
17114
+ description?: string | null | undefined;
17115
+ displayName?: string | null | undefined;
17116
+ }, {
17117
+ name: string;
17118
+ domains: string[];
17119
+ description?: string | null | undefined;
17120
+ displayName?: string | null | undefined;
17121
+ }>;
17122
+ }, "strip", z.ZodTypeAny, {
17123
+ createSourceGroupParams: {
17124
+ name: string;
17125
+ domains: string[];
17126
+ description?: string | null | undefined;
17127
+ displayName?: string | null | undefined;
17128
+ };
17129
+ }, {
17130
+ createSourceGroupParams: {
17131
+ name: string;
17132
+ domains: string[];
17133
+ description?: string | null | undefined;
17134
+ displayName?: string | null | undefined;
17135
+ };
17136
+ }>;
17137
+ declare const CreateSourceGroupRequestSchema: z.ZodObject<{
17138
+ /**
17139
+ * Parameter createSourceGroupParams
17140
+ * @required
17141
+ */
17142
+ createSourceGroupParams: z.ZodObject<{
17143
+ name: z.ZodString;
17144
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17145
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17146
+ domains: z.ZodArray<z.ZodString, "many">;
17147
+ }, "strip", z.ZodTypeAny, {
17148
+ name: string;
17149
+ domains: string[];
17150
+ description?: string | null | undefined;
17151
+ displayName?: string | null | undefined;
17152
+ }, {
17153
+ name: string;
17154
+ domains: string[];
17155
+ description?: string | null | undefined;
17156
+ displayName?: string | null | undefined;
17157
+ }>;
17158
+ }, "strip", z.ZodTypeAny, {
17159
+ createSourceGroupParams: {
17160
+ name: string;
17161
+ domains: string[];
17162
+ description?: string | null | undefined;
17163
+ displayName?: string | null | undefined;
17164
+ };
17165
+ }, {
17166
+ createSourceGroupParams: {
17167
+ name: string;
17168
+ domains: string[];
17169
+ description?: string | null | undefined;
17170
+ displayName?: string | null | undefined;
17171
+ };
17172
+ }>;
17173
+ type CreateSourceGroupRequest = z.input<typeof CreateSourceGroupRequestSchema>;
17174
+ declare const CreateWatchlistBodySchema: z.ZodObject<{
17175
+ /**
17176
+ * Parameter createWatchlistParams
17177
+ * @required
17178
+ */
17179
+ createWatchlistParams: z.ZodObject<{
17180
+ name: z.ZodString;
17181
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17182
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17183
+ people: z.ZodArray<z.ZodObject<{
17184
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17185
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17186
+ aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
17187
+ wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17188
+ }, "strip", z.ZodTypeAny, {
17189
+ name?: string | null | undefined;
17190
+ description?: string | null | undefined;
17191
+ wikidataId?: string | null | undefined;
17192
+ aliases?: string[] | null | undefined;
17193
+ }, {
17194
+ name?: string | null | undefined;
17195
+ description?: string | null | undefined;
17196
+ wikidataId?: string | null | undefined;
17197
+ aliases?: string[] | null | undefined;
17198
+ }>, "many">;
17199
+ companies: z.ZodArray<z.ZodObject<{
17200
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17201
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17202
+ id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17203
+ domain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17204
+ aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
17205
+ }, "strip", z.ZodTypeAny, {
17206
+ name?: string | null | undefined;
17207
+ id?: string | null | undefined;
17208
+ description?: string | null | undefined;
17209
+ domain?: string | null | undefined;
17210
+ aliases?: string[] | null | undefined;
17211
+ }, {
17212
+ name?: string | null | undefined;
17213
+ id?: string | null | undefined;
17214
+ description?: string | null | undefined;
17215
+ domain?: string | null | undefined;
17216
+ aliases?: string[] | null | undefined;
17217
+ }>, "many">;
17218
+ visible: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
17219
+ }, "strip", z.ZodTypeAny, {
17220
+ name: string;
17221
+ people: {
17222
+ name?: string | null | undefined;
17223
+ description?: string | null | undefined;
17224
+ wikidataId?: string | null | undefined;
17225
+ aliases?: string[] | null | undefined;
17226
+ }[];
17227
+ companies: {
17228
+ name?: string | null | undefined;
17229
+ id?: string | null | undefined;
17230
+ description?: string | null | undefined;
17231
+ domain?: string | null | undefined;
17232
+ aliases?: string[] | null | undefined;
17233
+ }[];
17234
+ description?: string | null | undefined;
17235
+ displayName?: string | null | undefined;
17236
+ visible?: boolean | null | undefined;
17237
+ }, {
17238
+ name: string;
17239
+ people: {
17240
+ name?: string | null | undefined;
17241
+ description?: string | null | undefined;
17242
+ wikidataId?: string | null | undefined;
17243
+ aliases?: string[] | null | undefined;
17244
+ }[];
17245
+ companies: {
17246
+ name?: string | null | undefined;
17247
+ id?: string | null | undefined;
17248
+ description?: string | null | undefined;
17249
+ domain?: string | null | undefined;
17250
+ aliases?: string[] | null | undefined;
17251
+ }[];
17252
+ description?: string | null | undefined;
17253
+ displayName?: string | null | undefined;
17254
+ visible?: boolean | null | undefined;
17255
+ }>;
17256
+ }, "strip", z.ZodTypeAny, {
17257
+ createWatchlistParams: {
17258
+ name: string;
17259
+ people: {
17260
+ name?: string | null | undefined;
17261
+ description?: string | null | undefined;
17262
+ wikidataId?: string | null | undefined;
17263
+ aliases?: string[] | null | undefined;
17264
+ }[];
17265
+ companies: {
17266
+ name?: string | null | undefined;
17267
+ id?: string | null | undefined;
17268
+ description?: string | null | undefined;
17269
+ domain?: string | null | undefined;
17270
+ aliases?: string[] | null | undefined;
17271
+ }[];
17272
+ description?: string | null | undefined;
17273
+ displayName?: string | null | undefined;
17274
+ visible?: boolean | null | undefined;
17275
+ };
17276
+ }, {
17277
+ createWatchlistParams: {
17278
+ name: string;
17279
+ people: {
17280
+ name?: string | null | undefined;
17281
+ description?: string | null | undefined;
17282
+ wikidataId?: string | null | undefined;
17283
+ aliases?: string[] | null | undefined;
17284
+ }[];
17285
+ companies: {
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
+ description?: string | null | undefined;
17293
+ displayName?: string | null | undefined;
17294
+ visible?: boolean | null | undefined;
17295
+ };
17296
+ }>;
17297
+ declare const CreateWatchlistRequestSchema: z.ZodObject<{
17298
+ /**
17299
+ * Parameter createWatchlistParams
17300
+ * @required
17301
+ */
17302
+ createWatchlistParams: z.ZodObject<{
17303
+ name: z.ZodString;
17304
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17305
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17306
+ people: z.ZodArray<z.ZodObject<{
17307
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17308
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17309
+ aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
17310
+ wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17311
+ }, "strip", z.ZodTypeAny, {
17312
+ name?: string | null | undefined;
17313
+ description?: string | null | undefined;
17314
+ wikidataId?: string | null | undefined;
17315
+ aliases?: string[] | null | undefined;
17316
+ }, {
17317
+ name?: string | null | undefined;
17318
+ description?: string | null | undefined;
17319
+ wikidataId?: string | null | undefined;
17320
+ aliases?: string[] | null | undefined;
17321
+ }>, "many">;
17322
+ companies: z.ZodArray<z.ZodObject<{
17323
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17324
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17325
+ id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17326
+ domain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17327
+ aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
17328
+ }, "strip", z.ZodTypeAny, {
17329
+ name?: string | null | undefined;
17330
+ id?: string | null | undefined;
17331
+ description?: string | null | undefined;
17332
+ domain?: string | null | undefined;
17333
+ aliases?: string[] | null | undefined;
17334
+ }, {
17335
+ name?: string | null | undefined;
17336
+ id?: string | null | undefined;
17337
+ description?: string | null | undefined;
17338
+ domain?: string | null | undefined;
17339
+ aliases?: string[] | null | undefined;
17340
+ }>, "many">;
17341
+ visible: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
17342
+ }, "strip", z.ZodTypeAny, {
17343
+ name: string;
17344
+ people: {
17345
+ name?: string | null | undefined;
17346
+ description?: string | null | undefined;
17347
+ wikidataId?: string | null | undefined;
17348
+ aliases?: string[] | null | undefined;
17349
+ }[];
17350
+ companies: {
17351
+ name?: string | null | undefined;
17352
+ id?: string | null | undefined;
17353
+ description?: string | null | undefined;
17354
+ domain?: string | null | undefined;
17355
+ aliases?: string[] | null | undefined;
17356
+ }[];
17357
+ description?: string | null | undefined;
17358
+ displayName?: string | null | undefined;
17359
+ visible?: boolean | null | undefined;
17360
+ }, {
17361
+ name: string;
17362
+ people: {
17363
+ name?: string | null | undefined;
17364
+ description?: string | null | undefined;
17365
+ wikidataId?: string | null | undefined;
17366
+ aliases?: string[] | null | undefined;
17367
+ }[];
17368
+ companies: {
17369
+ name?: string | null | undefined;
17370
+ id?: string | null | undefined;
17371
+ description?: string | null | undefined;
17372
+ domain?: string | null | undefined;
17373
+ aliases?: string[] | null | undefined;
17374
+ }[];
17375
+ description?: string | null | undefined;
17376
+ displayName?: string | null | undefined;
17377
+ visible?: boolean | null | undefined;
17378
+ }>;
17379
+ }, "strip", z.ZodTypeAny, {
17380
+ createWatchlistParams: {
17381
+ name: string;
17382
+ people: {
17383
+ name?: string | null | undefined;
17384
+ description?: string | null | undefined;
17385
+ wikidataId?: string | null | undefined;
17386
+ aliases?: string[] | null | undefined;
17387
+ }[];
17388
+ companies: {
17389
+ name?: string | null | undefined;
17390
+ id?: string | null | undefined;
17391
+ description?: string | null | undefined;
17392
+ domain?: string | null | undefined;
17393
+ aliases?: string[] | null | undefined;
17394
+ }[];
17395
+ description?: string | null | undefined;
17396
+ displayName?: string | null | undefined;
17397
+ visible?: boolean | null | undefined;
17398
+ };
16682
17399
  }, {
16683
- status: number;
16684
- results: {
16685
- score?: number | null | undefined;
16686
- data?: {
16687
- title?: string | null | undefined;
17400
+ createWatchlistParams: {
17401
+ name: string;
17402
+ people: {
17403
+ name?: string | null | undefined;
17404
+ description?: string | null | undefined;
16688
17405
  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
- }[];
17406
+ aliases?: string[] | null | undefined;
17407
+ }[];
17408
+ companies: {
17409
+ name?: string | null | undefined;
17410
+ id?: string | null | undefined;
17411
+ description?: string | null | undefined;
17412
+ domain?: string | null | undefined;
17413
+ aliases?: string[] | null | undefined;
17414
+ }[];
17415
+ description?: string | null | undefined;
17416
+ displayName?: string | null | undefined;
17417
+ visible?: boolean | null | undefined;
17418
+ };
16707
17419
  }>;
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
-
17420
+ type CreateWatchlistRequest = z.input<typeof CreateWatchlistRequestSchema>;
17421
+ declare const DeleteSourceGroupPathSchema: z.ZodObject<{
17422
+ /**
17423
+ * Parameter id
17424
+ * @required
17425
+ */
17426
+ id: z.ZodNumber;
17427
+ }, "strip", z.ZodTypeAny, {
17428
+ id: number;
17429
+ }, {
17430
+ id: number;
17431
+ }>;
17432
+ declare const DeleteSourceGroupRequestSchema: z.ZodObject<{
17433
+ /**
17434
+ * Parameter id
17435
+ * @required
17436
+ */
17437
+ id: z.ZodNumber;
17438
+ }, "strip", z.ZodTypeAny, {
17439
+ id: number;
17440
+ }, {
17441
+ id: number;
17442
+ }>;
17443
+ type DeleteSourceGroupRequest = z.input<typeof DeleteSourceGroupRequestSchema>;
17444
+ declare const DeleteWatchlistPathSchema: z.ZodObject<{
17445
+ /**
17446
+ * Parameter id
17447
+ * @required
17448
+ */
17449
+ id: z.ZodNumber;
17450
+ }, "strip", z.ZodTypeAny, {
17451
+ id: number;
17452
+ }, {
17453
+ id: number;
17454
+ }>;
17455
+ declare const DeleteWatchlistRequestSchema: z.ZodObject<{
17456
+ /**
17457
+ * Parameter id
17458
+ * @required
17459
+ */
17460
+ id: z.ZodNumber;
17461
+ }, "strip", z.ZodTypeAny, {
17462
+ id: number;
17463
+ }, {
17464
+ id: number;
17465
+ }>;
17466
+ type DeleteWatchlistRequest = z.input<typeof DeleteWatchlistRequestSchema>;
16722
17467
  declare const GetJournalistByIdPathSchema: z.ZodObject<{
16723
17468
  /**
16724
17469
  * Parameter id
@@ -16742,6 +17487,29 @@ declare const GetJournalistByIdRequestSchema: z.ZodObject<{
16742
17487
  id: string;
16743
17488
  }>;
16744
17489
  type GetJournalistByIdRequest = z.input<typeof GetJournalistByIdRequestSchema>;
17490
+ declare const GetSourceGroupPathSchema: z.ZodObject<{
17491
+ /**
17492
+ * Parameter id
17493
+ * @required
17494
+ */
17495
+ id: z.ZodNumber;
17496
+ }, "strip", z.ZodTypeAny, {
17497
+ id: number;
17498
+ }, {
17499
+ id: number;
17500
+ }>;
17501
+ declare const GetSourceGroupRequestSchema: z.ZodObject<{
17502
+ /**
17503
+ * Parameter id
17504
+ * @required
17505
+ */
17506
+ id: z.ZodNumber;
17507
+ }, "strip", z.ZodTypeAny, {
17508
+ id: number;
17509
+ }, {
17510
+ id: number;
17511
+ }>;
17512
+ type GetSourceGroupRequest = z.input<typeof GetSourceGroupRequestSchema>;
16745
17513
  declare const GetStoryCountsQuerySchema: z.ZodObject<{
16746
17514
  /**
16747
17515
  * 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.
@@ -16819,6 +17587,10 @@ declare const GetStoryCountsQuerySchema: z.ZodObject<{
16819
17587
  * Integer. Specifies the minimum number of unique sources required for a story to appear in results. Higher values return more significant stories covered by multiple publications. Default is 3.
16820
17588
  */
16821
17589
  minUniqueSources: z.ZodOptional<z.ZodNumber>;
17590
+ /**
17591
+ * Float. Minimum ratio of unique sources to unique articles (uniqueSources / uniqueCount). Filters out stories dominated by a single publisher. For example, a value of 0.05 requires at least 1 unique source per 20 articles. Not applied by default.
17592
+ */
17593
+ minSourceDiversity: z.ZodOptional<z.ZodNumber>;
16822
17594
  /**
16823
17595
  * String Array. Filter stories by Wikidata IDs of top mentioned people. Returns stories where these individuals appear prominently. Refer to the /people endpoint for a complete list of tracked individuals.
16824
17596
  */
@@ -16973,6 +17745,7 @@ declare const GetStoryCountsQuerySchema: z.ZodObject<{
16973
17745
  updatedFrom?: Date | undefined;
16974
17746
  updatedTo?: Date | undefined;
16975
17747
  minUniqueSources?: number | undefined;
17748
+ minSourceDiversity?: number | undefined;
16976
17749
  minClusterSize?: number | undefined;
16977
17750
  maxClusterSize?: number | undefined;
16978
17751
  nameExists?: boolean | undefined;
@@ -17023,6 +17796,7 @@ declare const GetStoryCountsQuerySchema: z.ZodObject<{
17023
17796
  updatedFrom?: Date | undefined;
17024
17797
  updatedTo?: Date | undefined;
17025
17798
  minUniqueSources?: number | undefined;
17799
+ minSourceDiversity?: number | undefined;
17026
17800
  minClusterSize?: number | undefined;
17027
17801
  maxClusterSize?: number | undefined;
17028
17802
  nameExists?: boolean | undefined;
@@ -17120,6 +17894,10 @@ declare const GetStoryCountsRequestSchema: z.ZodObject<{
17120
17894
  * Integer. Specifies the minimum number of unique sources required for a story to appear in results. Higher values return more significant stories covered by multiple publications. Default is 3.
17121
17895
  */
17122
17896
  minUniqueSources: z.ZodOptional<z.ZodNumber>;
17897
+ /**
17898
+ * Float. Minimum ratio of unique sources to unique articles (uniqueSources / uniqueCount). Filters out stories dominated by a single publisher. For example, a value of 0.05 requires at least 1 unique source per 20 articles. Not applied by default.
17899
+ */
17900
+ minSourceDiversity: z.ZodOptional<z.ZodNumber>;
17123
17901
  /**
17124
17902
  * String Array. Filter stories by Wikidata IDs of top mentioned people. Returns stories where these individuals appear prominently. Refer to the /people endpoint for a complete list of tracked individuals.
17125
17903
  */
@@ -17274,6 +18052,7 @@ declare const GetStoryCountsRequestSchema: z.ZodObject<{
17274
18052
  updatedFrom?: Date | undefined;
17275
18053
  updatedTo?: Date | undefined;
17276
18054
  minUniqueSources?: number | undefined;
18055
+ minSourceDiversity?: number | undefined;
17277
18056
  minClusterSize?: number | undefined;
17278
18057
  maxClusterSize?: number | undefined;
17279
18058
  nameExists?: boolean | undefined;
@@ -17324,6 +18103,7 @@ declare const GetStoryCountsRequestSchema: z.ZodObject<{
17324
18103
  updatedFrom?: Date | undefined;
17325
18104
  updatedTo?: Date | undefined;
17326
18105
  minUniqueSources?: number | undefined;
18106
+ minSourceDiversity?: number | undefined;
17327
18107
  minClusterSize?: number | undefined;
17328
18108
  maxClusterSize?: number | undefined;
17329
18109
  nameExists?: boolean | undefined;
@@ -17347,101 +18127,324 @@ declare const GetStoryCountsRequestSchema: z.ZodObject<{
17347
18127
  type GetStoryCountsRequest = z.input<typeof GetStoryCountsRequestSchema>;
17348
18128
  declare const GetStoryHistoryQuerySchema: z.ZodObject<{
17349
18129
  /**
17350
- * String Array. Filter to specific story. Passing a cluster ID will filter results to only the content found within the cluster.
18130
+ * String Array. Filter to specific story. Passing a cluster ID will filter results to only the content found within the cluster.
18131
+ */
18132
+ clusterId: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18133
+ /**
18134
+ * 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
18135
+ */
18136
+ from: z.ZodOptional<z.ZodDate>;
18137
+ /**
18138
+ * 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.
18139
+ */
18140
+ to: z.ZodOptional<z.ZodDate>;
18141
+ /**
18142
+ * String. Sort stories by count, creation date (createdAt), story refresh trigger date (triggeredAt).
18143
+ * @type SortByEnum
18144
+ * @values 'createdAt', 'triggeredAt'
18145
+ */
18146
+ sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "triggeredAt"]>>;
18147
+ /**
18148
+ * Integer. Zero-based page number. From 0 to 10000. See the Pagination section for limitations.
18149
+ */
18150
+ page: z.ZodOptional<z.ZodNumber>;
18151
+ /**
18152
+ * Integer. Number of stories results per page, from 0 to 100.
18153
+ */
18154
+ size: z.ZodOptional<z.ZodNumber>;
18155
+ /**
18156
+ * Boolean. Filter to only include clusters that have a changelog or not.
18157
+ */
18158
+ changelogExists: z.ZodOptional<z.ZodBoolean>;
18159
+ }, "strip", z.ZodTypeAny, {
18160
+ clusterId?: string[] | undefined;
18161
+ size?: number | undefined;
18162
+ page?: number | undefined;
18163
+ sortBy?: "createdAt" | "triggeredAt" | undefined;
18164
+ from?: Date | undefined;
18165
+ to?: Date | undefined;
18166
+ changelogExists?: boolean | undefined;
18167
+ }, {
18168
+ clusterId?: string[] | undefined;
18169
+ size?: number | undefined;
18170
+ page?: number | undefined;
18171
+ sortBy?: "createdAt" | "triggeredAt" | undefined;
18172
+ from?: Date | undefined;
18173
+ to?: Date | undefined;
18174
+ changelogExists?: boolean | undefined;
18175
+ }>;
18176
+ declare const GetStoryHistoryRequestSchema: z.ZodObject<{
18177
+ /**
18178
+ * String Array. Filter to specific story. Passing a cluster ID will filter results to only the content found within the cluster.
18179
+ */
18180
+ clusterId: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18181
+ /**
18182
+ * 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
18183
+ */
18184
+ from: z.ZodOptional<z.ZodDate>;
18185
+ /**
18186
+ * 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.
18187
+ */
18188
+ to: z.ZodOptional<z.ZodDate>;
18189
+ /**
18190
+ * String. Sort stories by count, creation date (createdAt), story refresh trigger date (triggeredAt).
18191
+ * @type SortByEnum
18192
+ * @values 'createdAt', 'triggeredAt'
18193
+ */
18194
+ sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "triggeredAt"]>>;
18195
+ /**
18196
+ * Integer. Zero-based page number. From 0 to 10000. See the Pagination section for limitations.
18197
+ */
18198
+ page: z.ZodOptional<z.ZodNumber>;
18199
+ /**
18200
+ * Integer. Number of stories results per page, from 0 to 100.
18201
+ */
18202
+ size: z.ZodOptional<z.ZodNumber>;
18203
+ /**
18204
+ * Boolean. Filter to only include clusters that have a changelog or not.
18205
+ */
18206
+ changelogExists: z.ZodOptional<z.ZodBoolean>;
18207
+ }, "strip", z.ZodTypeAny, {
18208
+ clusterId?: string[] | undefined;
18209
+ size?: number | undefined;
18210
+ page?: number | undefined;
18211
+ sortBy?: "createdAt" | "triggeredAt" | undefined;
18212
+ from?: Date | undefined;
18213
+ to?: Date | undefined;
18214
+ changelogExists?: boolean | undefined;
18215
+ }, {
18216
+ clusterId?: string[] | undefined;
18217
+ size?: number | undefined;
18218
+ page?: number | undefined;
18219
+ sortBy?: "createdAt" | "triggeredAt" | undefined;
18220
+ from?: Date | undefined;
18221
+ to?: Date | undefined;
18222
+ changelogExists?: boolean | undefined;
18223
+ }>;
18224
+ type GetStoryHistoryRequest = z.input<typeof GetStoryHistoryRequestSchema>;
18225
+ declare const GetWatchlistPathSchema: z.ZodObject<{
18226
+ /**
18227
+ * Parameter id
18228
+ * @required
18229
+ */
18230
+ id: z.ZodNumber;
18231
+ }, "strip", z.ZodTypeAny, {
18232
+ id: number;
18233
+ }, {
18234
+ id: number;
18235
+ }>;
18236
+ declare const GetWatchlistRequestSchema: z.ZodObject<{
18237
+ /**
18238
+ * Parameter id
18239
+ * @required
18240
+ */
18241
+ id: z.ZodNumber;
18242
+ }, "strip", z.ZodTypeAny, {
18243
+ id: number;
18244
+ }, {
18245
+ id: number;
18246
+ }>;
18247
+ type GetWatchlistRequest = z.input<typeof GetWatchlistRequestSchema>;
18248
+ declare const ListSourceGroupsQuerySchema: z.ZodObject<{
18249
+ /**
18250
+ * Parameter name
18251
+ */
18252
+ name: z.ZodOptional<z.ZodString>;
18253
+ /**
18254
+ * Parameter domain
18255
+ */
18256
+ domain: z.ZodOptional<z.ZodString>;
18257
+ /**
18258
+ * The page number to retrieve. _Starting from 0_. _Default value 0_.
18259
+ */
18260
+ page: z.ZodOptional<z.ZodString>;
18261
+ /**
18262
+ * The number of items per page. _Must be at least 1_. _Default value 10_.
18263
+ */
18264
+ size: z.ZodOptional<z.ZodString>;
18265
+ /**
18266
+ * Field to sort by.
18267
+ * @required
18268
+ */
18269
+ sortBy: z.ZodString;
18270
+ /**
18271
+ * The sort order for the results. _Available values: \&#39;asc\&#39; or \&#39;desc\&#39;_.
18272
+ * @required
18273
+ */
18274
+ sortOrder: z.ZodString;
18275
+ }, "strip", z.ZodTypeAny, {
18276
+ sortBy: string;
18277
+ sortOrder: string;
18278
+ name?: string | undefined;
18279
+ domain?: string | undefined;
18280
+ size?: string | undefined;
18281
+ page?: string | undefined;
18282
+ }, {
18283
+ sortBy: string;
18284
+ sortOrder: string;
18285
+ name?: string | undefined;
18286
+ domain?: string | undefined;
18287
+ size?: string | undefined;
18288
+ page?: string | undefined;
18289
+ }>;
18290
+ declare const ListSourceGroupsRequestSchema: z.ZodObject<{
18291
+ /**
18292
+ * Parameter name
18293
+ */
18294
+ name: z.ZodOptional<z.ZodString>;
18295
+ /**
18296
+ * Parameter domain
18297
+ */
18298
+ domain: z.ZodOptional<z.ZodString>;
18299
+ /**
18300
+ * The page number to retrieve. _Starting from 0_. _Default value 0_.
18301
+ */
18302
+ page: z.ZodOptional<z.ZodString>;
18303
+ /**
18304
+ * The number of items per page. _Must be at least 1_. _Default value 10_.
18305
+ */
18306
+ size: z.ZodOptional<z.ZodString>;
18307
+ /**
18308
+ * Field to sort by.
18309
+ * @required
17351
18310
  */
17352
- clusterId: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18311
+ sortBy: z.ZodString;
17353
18312
  /**
17354
- * 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
18313
+ * The sort order for the results. _Available values: \&#39;asc\&#39; or \&#39;desc\&#39;_.
18314
+ * @required
17355
18315
  */
17356
- from: z.ZodOptional<z.ZodDate>;
18316
+ sortOrder: z.ZodString;
18317
+ }, "strip", z.ZodTypeAny, {
18318
+ sortBy: string;
18319
+ sortOrder: string;
18320
+ name?: string | undefined;
18321
+ domain?: string | undefined;
18322
+ size?: string | undefined;
18323
+ page?: string | undefined;
18324
+ }, {
18325
+ sortBy: string;
18326
+ sortOrder: string;
18327
+ name?: string | undefined;
18328
+ domain?: string | undefined;
18329
+ size?: string | undefined;
18330
+ page?: string | undefined;
18331
+ }>;
18332
+ type ListSourceGroupsRequest = z.input<typeof ListSourceGroupsRequestSchema>;
18333
+ declare const ListWatchlistsQuerySchema: z.ZodObject<{
17357
18334
  /**
17358
- * 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.
18335
+ * Filter watchlists by name (case-insensitive, partial match)
17359
18336
  */
17360
- to: z.ZodOptional<z.ZodDate>;
18337
+ name: z.ZodOptional<z.ZodString>;
17361
18338
  /**
17362
- * String. Sort stories by count, creation date (createdAt), story refresh trigger date (triggeredAt).
17363
- * @type SortByEnum
17364
- * @values 'createdAt', 'triggeredAt'
18339
+ * The page number to retrieve. _Starting from 0_. _Default value 0_.
17365
18340
  */
17366
- sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "triggeredAt"]>>;
18341
+ page: z.ZodOptional<z.ZodString>;
17367
18342
  /**
17368
- * Integer. Zero-based page number. From 0 to 10000. See the Pagination section for limitations.
18343
+ * The number of items per page. _Must be at least 1_. _Default value 10_.
17369
18344
  */
17370
- page: z.ZodOptional<z.ZodNumber>;
18345
+ size: z.ZodOptional<z.ZodString>;
17371
18346
  /**
17372
- * Integer. Number of stories results per page, from 0 to 100.
18347
+ * Field to sort by.
18348
+ * @required
17373
18349
  */
17374
- size: z.ZodOptional<z.ZodNumber>;
18350
+ sortBy: z.ZodString;
17375
18351
  /**
17376
- * Boolean. Filter to only include clusters that have a changelog or not.
18352
+ * The sort order for the results. _Available values: \&#39;asc\&#39; or \&#39;desc\&#39;_.
18353
+ * @required
17377
18354
  */
17378
- changelogExists: z.ZodOptional<z.ZodBoolean>;
18355
+ sortOrder: z.ZodString;
17379
18356
  }, "strip", z.ZodTypeAny, {
17380
- clusterId?: string[] | undefined;
17381
- size?: number | undefined;
17382
- page?: number | undefined;
17383
- sortBy?: "createdAt" | "triggeredAt" | undefined;
17384
- from?: Date | undefined;
17385
- to?: Date | undefined;
17386
- changelogExists?: boolean | undefined;
18357
+ sortBy: string;
18358
+ sortOrder: string;
18359
+ name?: string | undefined;
18360
+ size?: string | undefined;
18361
+ page?: string | undefined;
17387
18362
  }, {
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;
18363
+ sortBy: string;
18364
+ sortOrder: string;
18365
+ name?: string | undefined;
18366
+ size?: string | undefined;
18367
+ page?: string | undefined;
17395
18368
  }>;
17396
- declare const GetStoryHistoryRequestSchema: z.ZodObject<{
18369
+ declare const ListWatchlistsRequestSchema: z.ZodObject<{
17397
18370
  /**
17398
- * String Array. Filter to specific story. Passing a cluster ID will filter results to only the content found within the cluster.
18371
+ * Filter watchlists by name (case-insensitive, partial match)
17399
18372
  */
17400
- clusterId: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18373
+ name: z.ZodOptional<z.ZodString>;
17401
18374
  /**
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
18375
+ * The page number to retrieve. _Starting from 0_. _Default value 0_.
17403
18376
  */
17404
- from: z.ZodOptional<z.ZodDate>;
18377
+ page: z.ZodOptional<z.ZodString>;
17405
18378
  /**
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.
18379
+ * The number of items per page. _Must be at least 1_. _Default value 10_.
17407
18380
  */
17408
- to: z.ZodOptional<z.ZodDate>;
18381
+ size: z.ZodOptional<z.ZodString>;
17409
18382
  /**
17410
- * String. Sort stories by count, creation date (createdAt), story refresh trigger date (triggeredAt).
17411
- * @type SortByEnum
17412
- * @values 'createdAt', 'triggeredAt'
18383
+ * Field to sort by.
18384
+ * @required
17413
18385
  */
17414
- sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "triggeredAt"]>>;
18386
+ sortBy: z.ZodString;
17415
18387
  /**
17416
- * Integer. Zero-based page number. From 0 to 10000. See the Pagination section for limitations.
18388
+ * The sort order for the results. _Available values: \&#39;asc\&#39; or \&#39;desc\&#39;_.
18389
+ * @required
17417
18390
  */
17418
- page: z.ZodOptional<z.ZodNumber>;
18391
+ sortOrder: z.ZodString;
18392
+ }, "strip", z.ZodTypeAny, {
18393
+ sortBy: string;
18394
+ sortOrder: string;
18395
+ name?: string | undefined;
18396
+ size?: string | undefined;
18397
+ page?: string | undefined;
18398
+ }, {
18399
+ sortBy: string;
18400
+ sortOrder: string;
18401
+ name?: string | undefined;
18402
+ size?: string | undefined;
18403
+ page?: string | undefined;
18404
+ }>;
18405
+ type ListWatchlistsRequest = z.input<typeof ListWatchlistsRequestSchema>;
18406
+ declare const ResolveSourceGroupsQuerySchema: z.ZodObject<{
17419
18407
  /**
17420
- * Integer. Number of stories results per page, from 0 to 100.
18408
+ * Source group names to resolve (max 100)
17421
18409
  */
17422
- size: z.ZodOptional<z.ZodNumber>;
18410
+ name: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18411
+ }, "strip", z.ZodTypeAny, {
18412
+ name?: string[] | undefined;
18413
+ }, {
18414
+ name?: string[] | undefined;
18415
+ }>;
18416
+ declare const ResolveSourceGroupsRequestSchema: z.ZodObject<{
17423
18417
  /**
17424
- * Boolean. Filter to only include clusters that have a changelog or not.
18418
+ * Source group names to resolve (max 100)
17425
18419
  */
17426
- changelogExists: z.ZodOptional<z.ZodBoolean>;
18420
+ name: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17427
18421
  }, "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;
18422
+ name?: string[] | undefined;
17435
18423
  }, {
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;
18424
+ name?: string[] | undefined;
17443
18425
  }>;
17444
- type GetStoryHistoryRequest = z.input<typeof GetStoryHistoryRequestSchema>;
18426
+ type ResolveSourceGroupsRequest = z.input<typeof ResolveSourceGroupsRequestSchema>;
18427
+ declare const ResolveWatchlistsQuerySchema: z.ZodObject<{
18428
+ /**
18429
+ * Watchlist names to resolve (max 100)
18430
+ */
18431
+ name: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18432
+ }, "strip", z.ZodTypeAny, {
18433
+ name?: string[] | undefined;
18434
+ }, {
18435
+ name?: string[] | undefined;
18436
+ }>;
18437
+ declare const ResolveWatchlistsRequestSchema: z.ZodObject<{
18438
+ /**
18439
+ * Watchlist names to resolve (max 100)
18440
+ */
18441
+ name: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18442
+ }, "strip", z.ZodTypeAny, {
18443
+ name?: string[] | undefined;
18444
+ }, {
18445
+ name?: string[] | undefined;
18446
+ }>;
18447
+ type ResolveWatchlistsRequest = z.input<typeof ResolveWatchlistsRequestSchema>;
17445
18448
  declare const SearchArticlesQuerySchema: z.ZodObject<{
17446
18449
  /**
17447
18450
  * String. Primary search query for filtering articles based on their title, description, and content. Supports Boolean operators (AND, OR, NOT), exact phrases with quotes, and wildcards (* and ?) for flexible searching.
@@ -17784,7 +18787,7 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
17784
18787
  */
17785
18788
  negativeSentimentTo: z.ZodOptional<z.ZodNumber>;
17786
18789
  /**
17787
- * String Array. Filters by Google Content Categories. This field will accept 1 or more categories, must pass the full name of the category. Example: taxonomy&#x3D;/Finance/Banking/Other, /Finance/Investing/Funds. [Full list](https://cloud.google.com/natural-language/docs/categories)
18790
+ * 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)
17788
18791
  */
17789
18792
  taxonomy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17790
18793
  /**
@@ -18346,7 +19349,7 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
18346
19349
  */
18347
19350
  negativeSentimentTo: z.ZodOptional<z.ZodNumber>;
18348
19351
  /**
18349
- * String Array. Filters by Google Content Categories. This field will accept 1 or more categories, must pass the full name of the category. Example: taxonomy&#x3D;/Finance/Banking/Other, /Finance/Investing/Funds. [Full list](https://cloud.google.com/natural-language/docs/categories)
19352
+ * 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)
18350
19353
  */
18351
19354
  taxonomy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18352
19355
  /**
@@ -19066,19 +20069,19 @@ declare const SearchSourcesQuerySchema: z.ZodObject<{
19066
20069
  /**
19067
20070
  * Integer. Filter for sources with at least this many monthly visitors. Used to target publishers by audience size.
19068
20071
  */
19069
- minMonthlyVisits: z.ZodOptional<z.ZodAny>;
20072
+ minMonthlyVisits: z.ZodOptional<z.ZodNumber>;
19070
20073
  /**
19071
20074
  * Integer. Filter for sources with no more than this many monthly visitors. Used to target publishers by audience size.
19072
20075
  */
19073
- maxMonthlyVisits: z.ZodOptional<z.ZodAny>;
20076
+ maxMonthlyVisits: z.ZodOptional<z.ZodNumber>;
19074
20077
  /**
19075
20078
  * Integer. Filter for sources that publish at least this many articles per month. Used to target publishers by content volume.
19076
20079
  */
19077
- minMonthlyPosts: z.ZodOptional<z.ZodAny>;
20080
+ minMonthlyPosts: z.ZodOptional<z.ZodNumber>;
19078
20081
  /**
19079
20082
  * Integer. Filter for sources that publish no more than this many articles per month. Used to target publishers by content volume.
19080
20083
  */
19081
- maxMonthlyPosts: z.ZodOptional<z.ZodAny>;
20084
+ maxMonthlyPosts: z.ZodOptional<z.ZodNumber>;
19082
20085
  /**
19083
20086
  * String Array. Filter sources by countries they commonly cover in their reporting. Uses ISO 3166-1 alpha-2 two-letter country codes in lowercase (e.g., us, gb, jp). See documentation for supported country codes. Multiple values create an OR filter.
19084
20087
  */
@@ -19155,10 +20158,10 @@ declare const SearchSourcesQuerySchema: z.ZodObject<{
19155
20158
  sourceLat?: number | undefined;
19156
20159
  sourceLon?: number | undefined;
19157
20160
  sourceMaxDistance?: number | undefined;
19158
- minMonthlyPosts?: any;
19159
- maxMonthlyPosts?: any;
19160
- minMonthlyVisits?: any;
19161
- maxMonthlyVisits?: any;
20161
+ minMonthlyPosts?: number | undefined;
20162
+ maxMonthlyPosts?: number | undefined;
20163
+ minMonthlyVisits?: number | undefined;
20164
+ maxMonthlyVisits?: number | undefined;
19162
20165
  showSubdomains?: boolean | undefined;
19163
20166
  }, {
19164
20167
  name?: string | undefined;
@@ -19180,10 +20183,10 @@ declare const SearchSourcesQuerySchema: z.ZodObject<{
19180
20183
  sourceLat?: number | undefined;
19181
20184
  sourceLon?: number | undefined;
19182
20185
  sourceMaxDistance?: number | undefined;
19183
- minMonthlyPosts?: any;
19184
- maxMonthlyPosts?: any;
19185
- minMonthlyVisits?: any;
19186
- maxMonthlyVisits?: any;
20186
+ minMonthlyPosts?: number | undefined;
20187
+ maxMonthlyPosts?: number | undefined;
20188
+ minMonthlyVisits?: number | undefined;
20189
+ maxMonthlyVisits?: number | undefined;
19187
20190
  showSubdomains?: boolean | undefined;
19188
20191
  }>;
19189
20192
  declare const SearchSourcesRequestSchema: z.ZodObject<{
@@ -19214,19 +20217,19 @@ declare const SearchSourcesRequestSchema: z.ZodObject<{
19214
20217
  /**
19215
20218
  * Integer. Filter for sources with at least this many monthly visitors. Used to target publishers by audience size.
19216
20219
  */
19217
- minMonthlyVisits: z.ZodOptional<z.ZodAny>;
20220
+ minMonthlyVisits: z.ZodOptional<z.ZodNumber>;
19218
20221
  /**
19219
20222
  * Integer. Filter for sources with no more than this many monthly visitors. Used to target publishers by audience size.
19220
20223
  */
19221
- maxMonthlyVisits: z.ZodOptional<z.ZodAny>;
20224
+ maxMonthlyVisits: z.ZodOptional<z.ZodNumber>;
19222
20225
  /**
19223
20226
  * Integer. Filter for sources that publish at least this many articles per month. Used to target publishers by content volume.
19224
20227
  */
19225
- minMonthlyPosts: z.ZodOptional<z.ZodAny>;
20228
+ minMonthlyPosts: z.ZodOptional<z.ZodNumber>;
19226
20229
  /**
19227
20230
  * Integer. Filter for sources that publish no more than this many articles per month. Used to target publishers by content volume.
19228
20231
  */
19229
- maxMonthlyPosts: z.ZodOptional<z.ZodAny>;
20232
+ maxMonthlyPosts: z.ZodOptional<z.ZodNumber>;
19230
20233
  /**
19231
20234
  * String Array. Filter sources by countries they commonly cover in their reporting. Uses ISO 3166-1 alpha-2 two-letter country codes in lowercase (e.g., us, gb, jp). See documentation for supported country codes. Multiple values create an OR filter.
19232
20235
  */
@@ -19303,10 +20306,10 @@ declare const SearchSourcesRequestSchema: z.ZodObject<{
19303
20306
  sourceLat?: number | undefined;
19304
20307
  sourceLon?: number | undefined;
19305
20308
  sourceMaxDistance?: number | undefined;
19306
- minMonthlyPosts?: any;
19307
- maxMonthlyPosts?: any;
19308
- minMonthlyVisits?: any;
19309
- maxMonthlyVisits?: any;
20309
+ minMonthlyPosts?: number | undefined;
20310
+ maxMonthlyPosts?: number | undefined;
20311
+ minMonthlyVisits?: number | undefined;
20312
+ maxMonthlyVisits?: number | undefined;
19310
20313
  showSubdomains?: boolean | undefined;
19311
20314
  }, {
19312
20315
  name?: string | undefined;
@@ -19328,10 +20331,10 @@ declare const SearchSourcesRequestSchema: z.ZodObject<{
19328
20331
  sourceLat?: number | undefined;
19329
20332
  sourceLon?: number | undefined;
19330
20333
  sourceMaxDistance?: number | undefined;
19331
- minMonthlyPosts?: any;
19332
- maxMonthlyPosts?: any;
19333
- minMonthlyVisits?: any;
19334
- maxMonthlyVisits?: any;
20334
+ minMonthlyPosts?: number | undefined;
20335
+ maxMonthlyPosts?: number | undefined;
20336
+ minMonthlyVisits?: number | undefined;
20337
+ maxMonthlyVisits?: number | undefined;
19335
20338
  showSubdomains?: boolean | undefined;
19336
20339
  }>;
19337
20340
  type SearchSourcesRequest = z.input<typeof SearchSourcesRequestSchema>;
@@ -19412,6 +20415,10 @@ declare const SearchStoriesQuerySchema: z.ZodObject<{
19412
20415
  * Integer. Specifies the minimum number of unique sources required for a story to appear in results. Higher values return more significant stories covered by multiple publications. Default is 3.
19413
20416
  */
19414
20417
  minUniqueSources: z.ZodOptional<z.ZodNumber>;
20418
+ /**
20419
+ * Float. Minimum ratio of unique sources to unique articles (uniqueSources / uniqueCount). Filters out stories dominated by a single publisher. For example, a value of 0.05 requires at least 1 unique source per 20 articles. Not applied by default.
20420
+ */
20421
+ minSourceDiversity: z.ZodOptional<z.ZodNumber>;
19415
20422
  /**
19416
20423
  * String Array. Filter stories by Wikidata IDs of top mentioned people. Returns stories where these individuals appear prominently. Refer to the /people endpoint for a complete list of tracked individuals.
19417
20424
  */
@@ -19558,6 +20565,7 @@ declare const SearchStoriesQuerySchema: z.ZodObject<{
19558
20565
  updatedFrom?: Date | undefined;
19559
20566
  updatedTo?: Date | undefined;
19560
20567
  minUniqueSources?: number | undefined;
20568
+ minSourceDiversity?: number | undefined;
19561
20569
  minClusterSize?: number | undefined;
19562
20570
  maxClusterSize?: number | undefined;
19563
20571
  nameExists?: boolean | undefined;
@@ -19607,6 +20615,7 @@ declare const SearchStoriesQuerySchema: z.ZodObject<{
19607
20615
  updatedFrom?: Date | undefined;
19608
20616
  updatedTo?: Date | undefined;
19609
20617
  minUniqueSources?: number | undefined;
20618
+ minSourceDiversity?: number | undefined;
19610
20619
  minClusterSize?: number | undefined;
19611
20620
  maxClusterSize?: number | undefined;
19612
20621
  nameExists?: boolean | undefined;
@@ -19704,6 +20713,10 @@ declare const SearchStoriesRequestSchema: z.ZodObject<{
19704
20713
  * Integer. Specifies the minimum number of unique sources required for a story to appear in results. Higher values return more significant stories covered by multiple publications. Default is 3.
19705
20714
  */
19706
20715
  minUniqueSources: z.ZodOptional<z.ZodNumber>;
20716
+ /**
20717
+ * Float. Minimum ratio of unique sources to unique articles (uniqueSources / uniqueCount). Filters out stories dominated by a single publisher. For example, a value of 0.05 requires at least 1 unique source per 20 articles. Not applied by default.
20718
+ */
20719
+ minSourceDiversity: z.ZodOptional<z.ZodNumber>;
19707
20720
  /**
19708
20721
  * String Array. Filter stories by Wikidata IDs of top mentioned people. Returns stories where these individuals appear prominently. Refer to the /people endpoint for a complete list of tracked individuals.
19709
20722
  */
@@ -19850,6 +20863,7 @@ declare const SearchStoriesRequestSchema: z.ZodObject<{
19850
20863
  updatedFrom?: Date | undefined;
19851
20864
  updatedTo?: Date | undefined;
19852
20865
  minUniqueSources?: number | undefined;
20866
+ minSourceDiversity?: number | undefined;
19853
20867
  minClusterSize?: number | undefined;
19854
20868
  maxClusterSize?: number | undefined;
19855
20869
  nameExists?: boolean | undefined;
@@ -19899,6 +20913,7 @@ declare const SearchStoriesRequestSchema: z.ZodObject<{
19899
20913
  updatedFrom?: Date | undefined;
19900
20914
  updatedTo?: Date | undefined;
19901
20915
  minUniqueSources?: number | undefined;
20916
+ minSourceDiversity?: number | undefined;
19902
20917
  minClusterSize?: number | undefined;
19903
20918
  maxClusterSize?: number | undefined;
19904
20919
  nameExists?: boolean | undefined;
@@ -20262,7 +21277,7 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
20262
21277
  */
20263
21278
  negativeSentimentTo: z.ZodOptional<z.ZodNumber>;
20264
21279
  /**
20265
- * String Array. Filters by Google Content Categories. This field will accept 1 or more categories, must pass the full name of the category. Example: taxonomy&#x3D;/Finance/Banking/Other, /Finance/Investing/Funds. [Full list](https://cloud.google.com/natural-language/docs/categories)
21280
+ * 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)
20266
21281
  */
20267
21282
  taxonomy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20268
21283
  /**
@@ -20493,7 +21508,7 @@ declare const SearchSummarizerBodySchema: z.ZodObject<{
20493
21508
  returnedArticleCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20494
21509
  summarizeFields: z.ZodNullable<z.ZodOptional<z.ZodEnum<["TITLE", "CONTENT", "SUMMARY"]>>>;
20495
21510
  method: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ARTICLES", "CLUSTERS"]>>>;
20496
- 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"]>>>;
21511
+ model: z.ZodNullable<z.ZodOptional<z.ZodEnum<["gpt-5.4-mini", "gpt-5.4-nano", "gpt-5-mini", "gpt-5-nano", "gpt-4o", "gpt-4o-mini", "gpt-4.1", "gpt-4.1-mini", "llama-3.3-70b-versatile", "openai/gpt-oss-120b"]>>>;
20497
21512
  temperature: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20498
21513
  topP: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20499
21514
  maxTokens: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -20503,7 +21518,7 @@ declare const SearchSummarizerBodySchema: z.ZodObject<{
20503
21518
  returnedArticleCount?: number | null | undefined;
20504
21519
  summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20505
21520
  method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20506
- 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;
21521
+ model?: "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
20507
21522
  temperature?: number | null | undefined;
20508
21523
  topP?: number | null | undefined;
20509
21524
  maxTokens?: number | null | undefined;
@@ -20513,7 +21528,7 @@ declare const SearchSummarizerBodySchema: z.ZodObject<{
20513
21528
  returnedArticleCount?: number | null | undefined;
20514
21529
  summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20515
21530
  method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20516
- 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;
21531
+ model?: "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
20517
21532
  temperature?: number | null | undefined;
20518
21533
  topP?: number | null | undefined;
20519
21534
  maxTokens?: number | null | undefined;
@@ -20525,7 +21540,7 @@ declare const SearchSummarizerBodySchema: z.ZodObject<{
20525
21540
  returnedArticleCount?: number | null | undefined;
20526
21541
  summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20527
21542
  method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20528
- 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;
21543
+ model?: "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
20529
21544
  temperature?: number | null | undefined;
20530
21545
  topP?: number | null | undefined;
20531
21546
  maxTokens?: number | null | undefined;
@@ -20537,7 +21552,7 @@ declare const SearchSummarizerBodySchema: z.ZodObject<{
20537
21552
  returnedArticleCount?: number | null | undefined;
20538
21553
  summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20539
21554
  method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20540
- 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;
21555
+ model?: "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
20541
21556
  temperature?: number | null | undefined;
20542
21557
  topP?: number | null | undefined;
20543
21558
  maxTokens?: number | null | undefined;
@@ -20554,7 +21569,7 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
20554
21569
  returnedArticleCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20555
21570
  summarizeFields: z.ZodNullable<z.ZodOptional<z.ZodEnum<["TITLE", "CONTENT", "SUMMARY"]>>>;
20556
21571
  method: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ARTICLES", "CLUSTERS"]>>>;
20557
- 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"]>>>;
21572
+ model: z.ZodNullable<z.ZodOptional<z.ZodEnum<["gpt-5.4-mini", "gpt-5.4-nano", "gpt-5-mini", "gpt-5-nano", "gpt-4o", "gpt-4o-mini", "gpt-4.1", "gpt-4.1-mini", "llama-3.3-70b-versatile", "openai/gpt-oss-120b"]>>>;
20558
21573
  temperature: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20559
21574
  topP: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20560
21575
  maxTokens: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -20564,7 +21579,7 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
20564
21579
  returnedArticleCount?: number | null | undefined;
20565
21580
  summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20566
21581
  method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20567
- 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;
21582
+ model?: "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
20568
21583
  temperature?: number | null | undefined;
20569
21584
  topP?: number | null | undefined;
20570
21585
  maxTokens?: number | null | undefined;
@@ -20574,7 +21589,7 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
20574
21589
  returnedArticleCount?: number | null | undefined;
20575
21590
  summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20576
21591
  method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20577
- 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;
21592
+ model?: "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
20578
21593
  temperature?: number | null | undefined;
20579
21594
  topP?: number | null | undefined;
20580
21595
  maxTokens?: number | null | undefined;
@@ -20920,7 +21935,7 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
20920
21935
  */
20921
21936
  negativeSentimentTo: z.ZodOptional<z.ZodNumber>;
20922
21937
  /**
20923
- * String Array. Filters by Google Content Categories. This field will accept 1 or more categories, must pass the full name of the category. Example: taxonomy&#x3D;/Finance/Banking/Other, /Finance/Investing/Funds. [Full list](https://cloud.google.com/natural-language/docs/categories)
21938
+ * 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)
20924
21939
  */
20925
21940
  taxonomy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20926
21941
  /**
@@ -20958,7 +21973,7 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
20958
21973
  returnedArticleCount?: number | null | undefined;
20959
21974
  summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20960
21975
  method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20961
- 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;
21976
+ model?: "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
20962
21977
  temperature?: number | null | undefined;
20963
21978
  topP?: number | null | undefined;
20964
21979
  maxTokens?: number | null | undefined;
@@ -21063,7 +22078,7 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
21063
22078
  returnedArticleCount?: number | null | undefined;
21064
22079
  summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
21065
22080
  method?: "ARTICLES" | "CLUSTERS" | null | undefined;
21066
- 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;
22081
+ model?: "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5-mini" | "gpt-5-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "llama-3.3-70b-versatile" | "openai/gpt-oss-120b" | null | undefined;
21067
22082
  temperature?: number | null | undefined;
21068
22083
  topP?: number | null | undefined;
21069
22084
  maxTokens?: number | null | undefined;
@@ -21312,11 +22327,11 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
21312
22327
  /**
21313
22328
  * Integer. Retrieve pages with the average number of views per day higher than the provided value.
21314
22329
  */
21315
- pageviewsFrom: z.ZodOptional<z.ZodAny>;
22330
+ pageviewsFrom: z.ZodOptional<z.ZodNumber>;
21316
22331
  /**
21317
22332
  * Integer. Retrieve pages with the average number of views per day lower than the provided value.
21318
22333
  */
21319
- pageviewsTo: z.ZodOptional<z.ZodAny>;
22334
+ pageviewsTo: z.ZodOptional<z.ZodNumber>;
21320
22335
  /**
21321
22336
  * Boolean. Retrieve pages that have any viewership statistics available for them. If &#x60;false&#x60; (the default) - return all pages.
21322
22337
  */
@@ -21356,8 +22371,8 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
21356
22371
  wikidataInstanceOfLabel?: string[] | undefined;
21357
22372
  wikiRevisionFrom?: Date | undefined;
21358
22373
  wikiRevisionTo?: Date | undefined;
21359
- pageviewsFrom?: any;
21360
- pageviewsTo?: any;
22374
+ pageviewsFrom?: number | undefined;
22375
+ pageviewsTo?: number | undefined;
21361
22376
  q?: string | undefined;
21362
22377
  sortBy?: "relevance" | "revisionTsDesc" | "revisionTsAsc" | "pageViewsDesc" | "pageViewsAsc" | "scrapedAtDesc" | "scrapedAtAsc" | undefined;
21363
22378
  showNumResults?: boolean | undefined;
@@ -21383,8 +22398,8 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
21383
22398
  wikidataInstanceOfLabel?: string[] | undefined;
21384
22399
  wikiRevisionFrom?: Date | undefined;
21385
22400
  wikiRevisionTo?: Date | undefined;
21386
- pageviewsFrom?: any;
21387
- pageviewsTo?: any;
22401
+ pageviewsFrom?: number | undefined;
22402
+ pageviewsTo?: number | undefined;
21388
22403
  q?: string | undefined;
21389
22404
  sortBy?: "relevance" | "revisionTsDesc" | "revisionTsAsc" | "pageViewsDesc" | "pageViewsAsc" | "scrapedAtDesc" | "scrapedAtAsc" | undefined;
21390
22405
  showNumResults?: boolean | undefined;
@@ -21474,11 +22489,11 @@ declare const SearchWikipediaRequestSchema: z.ZodObject<{
21474
22489
  /**
21475
22490
  * Integer. Retrieve pages with the average number of views per day higher than the provided value.
21476
22491
  */
21477
- pageviewsFrom: z.ZodOptional<z.ZodAny>;
22492
+ pageviewsFrom: z.ZodOptional<z.ZodNumber>;
21478
22493
  /**
21479
22494
  * Integer. Retrieve pages with the average number of views per day lower than the provided value.
21480
22495
  */
21481
- pageviewsTo: z.ZodOptional<z.ZodAny>;
22496
+ pageviewsTo: z.ZodOptional<z.ZodNumber>;
21482
22497
  /**
21483
22498
  * Boolean. Retrieve pages that have any viewership statistics available for them. If &#x60;false&#x60; (the default) - return all pages.
21484
22499
  */
@@ -21488,75 +22503,431 @@ declare const SearchWikipediaRequestSchema: z.ZodObject<{
21488
22503
  */
21489
22504
  showNumResults: z.ZodOptional<z.ZodBoolean>;
21490
22505
  /**
21491
- * Integer. The specific page of results to retrieve in the paginated response. Starts at 0.
22506
+ * Integer. The specific page of results to retrieve in the paginated response. Starts at 0.
22507
+ */
22508
+ page: z.ZodOptional<z.ZodNumber>;
22509
+ /**
22510
+ * Integer. The number of articles to return per page in the paginated response.
22511
+ */
22512
+ size: z.ZodOptional<z.ZodNumber>;
22513
+ /**
22514
+ * 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).
22515
+ * @type SortByEnum
22516
+ * @values 'relevance', 'revisionTsDesc', 'revisionTsAsc', 'pageViewsDesc', 'pageViewsAsc', 'scrapedAtDesc', 'scrapedAtAsc'
22517
+ */
22518
+ sortBy: z.ZodOptional<z.ZodEnum<["relevance", "revisionTsDesc", "revisionTsAsc", "pageViewsDesc", "pageViewsAsc", "scrapedAtDesc", "scrapedAtAsc"]>>;
22519
+ }, "strip", z.ZodTypeAny, {
22520
+ id?: string[] | undefined;
22521
+ title?: string | undefined;
22522
+ wikidataId?: string[] | undefined;
22523
+ summary?: string | undefined;
22524
+ category?: string[] | undefined;
22525
+ size?: number | undefined;
22526
+ page?: number | undefined;
22527
+ sectionId?: string[] | undefined;
22528
+ wikiPageId?: number[] | undefined;
22529
+ wikiRevisionId?: number[] | undefined;
22530
+ wikiCode?: string[] | undefined;
22531
+ wikiNamespace?: number[] | undefined;
22532
+ wikidataInstanceOfId?: string[] | undefined;
22533
+ wikidataInstanceOfLabel?: string[] | undefined;
22534
+ wikiRevisionFrom?: Date | undefined;
22535
+ wikiRevisionTo?: Date | undefined;
22536
+ pageviewsFrom?: number | undefined;
22537
+ pageviewsTo?: number | undefined;
22538
+ q?: string | undefined;
22539
+ sortBy?: "relevance" | "revisionTsDesc" | "revisionTsAsc" | "pageViewsDesc" | "pageViewsAsc" | "scrapedAtDesc" | "scrapedAtAsc" | undefined;
22540
+ showNumResults?: boolean | undefined;
22541
+ text?: string | undefined;
22542
+ reference?: string | undefined;
22543
+ scrapedAtFrom?: Date | undefined;
22544
+ scrapedAtTo?: Date | undefined;
22545
+ withPageviews?: boolean | undefined;
22546
+ }, {
22547
+ id?: string[] | undefined;
22548
+ title?: string | undefined;
22549
+ wikidataId?: string[] | undefined;
22550
+ summary?: string | undefined;
22551
+ category?: string[] | undefined;
22552
+ size?: number | undefined;
22553
+ page?: number | undefined;
22554
+ sectionId?: string[] | undefined;
22555
+ wikiPageId?: number[] | undefined;
22556
+ wikiRevisionId?: number[] | undefined;
22557
+ wikiCode?: string[] | undefined;
22558
+ wikiNamespace?: number[] | undefined;
22559
+ wikidataInstanceOfId?: string[] | undefined;
22560
+ wikidataInstanceOfLabel?: string[] | undefined;
22561
+ wikiRevisionFrom?: Date | undefined;
22562
+ wikiRevisionTo?: Date | undefined;
22563
+ pageviewsFrom?: number | undefined;
22564
+ pageviewsTo?: number | undefined;
22565
+ q?: string | undefined;
22566
+ sortBy?: "relevance" | "revisionTsDesc" | "revisionTsAsc" | "pageViewsDesc" | "pageViewsAsc" | "scrapedAtDesc" | "scrapedAtAsc" | undefined;
22567
+ showNumResults?: boolean | undefined;
22568
+ text?: string | undefined;
22569
+ reference?: string | undefined;
22570
+ scrapedAtFrom?: Date | undefined;
22571
+ scrapedAtTo?: Date | undefined;
22572
+ withPageviews?: boolean | undefined;
22573
+ }>;
22574
+ type SearchWikipediaRequest = z.input<typeof SearchWikipediaRequestSchema>;
22575
+ declare const UpdateSourceGroupBodySchema: z.ZodObject<{
22576
+ /**
22577
+ * Parameter patchSourceGroupParams
22578
+ * @required
22579
+ */
22580
+ patchSourceGroupParams: z.ZodObject<{
22581
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22582
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22583
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22584
+ domains: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22585
+ }, "strip", z.ZodTypeAny, {
22586
+ name?: string | null | undefined;
22587
+ domains?: string[] | null | undefined;
22588
+ description?: string | null | undefined;
22589
+ displayName?: string | null | undefined;
22590
+ }, {
22591
+ name?: string | null | undefined;
22592
+ domains?: string[] | null | undefined;
22593
+ description?: string | null | undefined;
22594
+ displayName?: string | null | undefined;
22595
+ }>;
22596
+ }, "strip", z.ZodTypeAny, {
22597
+ patchSourceGroupParams: {
22598
+ name?: string | null | undefined;
22599
+ domains?: string[] | null | undefined;
22600
+ description?: string | null | undefined;
22601
+ displayName?: string | null | undefined;
22602
+ };
22603
+ }, {
22604
+ patchSourceGroupParams: {
22605
+ name?: string | null | undefined;
22606
+ domains?: string[] | null | undefined;
22607
+ description?: string | null | undefined;
22608
+ displayName?: string | null | undefined;
22609
+ };
22610
+ }>;
22611
+ declare const UpdateSourceGroupPathSchema: z.ZodObject<{
22612
+ /**
22613
+ * Parameter id
22614
+ * @required
22615
+ */
22616
+ id: z.ZodNumber;
22617
+ }, "strip", z.ZodTypeAny, {
22618
+ id: number;
22619
+ }, {
22620
+ id: number;
22621
+ }>;
22622
+ declare const UpdateSourceGroupRequestSchema: z.ZodObject<{
22623
+ /**
22624
+ * Parameter id
22625
+ * @required
22626
+ */
22627
+ id: z.ZodNumber;
22628
+ /**
22629
+ * Parameter patchSourceGroupParams
22630
+ * @required
22631
+ */
22632
+ patchSourceGroupParams: z.ZodObject<{
22633
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22634
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22635
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22636
+ domains: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22637
+ }, "strip", z.ZodTypeAny, {
22638
+ name?: string | null | undefined;
22639
+ domains?: string[] | null | undefined;
22640
+ description?: string | null | undefined;
22641
+ displayName?: string | null | undefined;
22642
+ }, {
22643
+ name?: string | null | undefined;
22644
+ domains?: string[] | null | undefined;
22645
+ description?: string | null | undefined;
22646
+ displayName?: string | null | undefined;
22647
+ }>;
22648
+ }, "strip", z.ZodTypeAny, {
22649
+ id: number;
22650
+ patchSourceGroupParams: {
22651
+ name?: string | null | undefined;
22652
+ domains?: string[] | null | undefined;
22653
+ description?: string | null | undefined;
22654
+ displayName?: string | null | undefined;
22655
+ };
22656
+ }, {
22657
+ id: number;
22658
+ patchSourceGroupParams: {
22659
+ name?: string | null | undefined;
22660
+ domains?: string[] | null | undefined;
22661
+ description?: string | null | undefined;
22662
+ displayName?: string | null | undefined;
22663
+ };
22664
+ }>;
22665
+ type UpdateSourceGroupRequest = z.input<typeof UpdateSourceGroupRequestSchema>;
22666
+ declare const UpdateWatchlistBodySchema: z.ZodObject<{
22667
+ /**
22668
+ * Parameter updateWatchlistParams
22669
+ * @required
22670
+ */
22671
+ updateWatchlistParams: z.ZodObject<{
22672
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22673
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22674
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22675
+ people: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
22676
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22677
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22678
+ aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22679
+ wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22680
+ }, "strip", z.ZodTypeAny, {
22681
+ name?: string | null | undefined;
22682
+ description?: string | null | undefined;
22683
+ wikidataId?: string | null | undefined;
22684
+ aliases?: string[] | null | undefined;
22685
+ }, {
22686
+ name?: string | null | undefined;
22687
+ description?: string | null | undefined;
22688
+ wikidataId?: string | null | undefined;
22689
+ aliases?: string[] | null | undefined;
22690
+ }>, "many">>>;
22691
+ companies: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
22692
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22693
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22694
+ id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22695
+ domain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22696
+ aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22697
+ }, "strip", z.ZodTypeAny, {
22698
+ name?: string | null | undefined;
22699
+ id?: string | null | undefined;
22700
+ description?: string | null | undefined;
22701
+ domain?: string | null | undefined;
22702
+ aliases?: string[] | null | undefined;
22703
+ }, {
22704
+ name?: string | null | undefined;
22705
+ id?: string | null | undefined;
22706
+ description?: string | null | undefined;
22707
+ domain?: string | null | undefined;
22708
+ aliases?: string[] | null | undefined;
22709
+ }>, "many">>>;
22710
+ visible: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
22711
+ }, "strip", z.ZodTypeAny, {
22712
+ name?: string | null | undefined;
22713
+ description?: string | null | undefined;
22714
+ people?: {
22715
+ name?: string | null | undefined;
22716
+ description?: string | null | undefined;
22717
+ wikidataId?: string | null | undefined;
22718
+ aliases?: string[] | null | undefined;
22719
+ }[] | null | undefined;
22720
+ companies?: {
22721
+ name?: string | null | undefined;
22722
+ id?: string | null | undefined;
22723
+ description?: string | null | undefined;
22724
+ domain?: string | null | undefined;
22725
+ aliases?: string[] | null | undefined;
22726
+ }[] | null | undefined;
22727
+ displayName?: string | null | undefined;
22728
+ visible?: boolean | null | undefined;
22729
+ }, {
22730
+ name?: string | null | undefined;
22731
+ description?: string | null | undefined;
22732
+ people?: {
22733
+ name?: string | null | undefined;
22734
+ description?: string | null | undefined;
22735
+ wikidataId?: string | null | undefined;
22736
+ aliases?: string[] | null | undefined;
22737
+ }[] | null | undefined;
22738
+ companies?: {
22739
+ name?: string | null | undefined;
22740
+ id?: string | null | undefined;
22741
+ description?: string | null | undefined;
22742
+ domain?: string | null | undefined;
22743
+ aliases?: string[] | null | undefined;
22744
+ }[] | null | undefined;
22745
+ displayName?: string | null | undefined;
22746
+ visible?: boolean | null | undefined;
22747
+ }>;
22748
+ }, "strip", z.ZodTypeAny, {
22749
+ updateWatchlistParams: {
22750
+ name?: string | null | undefined;
22751
+ description?: string | null | undefined;
22752
+ people?: {
22753
+ name?: string | null | undefined;
22754
+ description?: string | null | undefined;
22755
+ wikidataId?: string | null | undefined;
22756
+ aliases?: string[] | null | undefined;
22757
+ }[] | null | undefined;
22758
+ companies?: {
22759
+ name?: string | null | undefined;
22760
+ id?: string | null | undefined;
22761
+ description?: string | null | undefined;
22762
+ domain?: string | null | undefined;
22763
+ aliases?: string[] | null | undefined;
22764
+ }[] | null | undefined;
22765
+ displayName?: string | null | undefined;
22766
+ visible?: boolean | null | undefined;
22767
+ };
22768
+ }, {
22769
+ updateWatchlistParams: {
22770
+ name?: string | null | undefined;
22771
+ description?: string | null | undefined;
22772
+ people?: {
22773
+ name?: string | null | undefined;
22774
+ description?: string | null | undefined;
22775
+ wikidataId?: string | null | undefined;
22776
+ aliases?: string[] | null | undefined;
22777
+ }[] | null | undefined;
22778
+ companies?: {
22779
+ name?: string | null | undefined;
22780
+ id?: string | null | undefined;
22781
+ description?: string | null | undefined;
22782
+ domain?: string | null | undefined;
22783
+ aliases?: string[] | null | undefined;
22784
+ }[] | null | undefined;
22785
+ displayName?: string | null | undefined;
22786
+ visible?: boolean | null | undefined;
22787
+ };
22788
+ }>;
22789
+ declare const UpdateWatchlistPathSchema: z.ZodObject<{
22790
+ /**
22791
+ * Parameter id
22792
+ * @required
21492
22793
  */
21493
- page: z.ZodOptional<z.ZodNumber>;
22794
+ id: z.ZodNumber;
22795
+ }, "strip", z.ZodTypeAny, {
22796
+ id: number;
22797
+ }, {
22798
+ id: number;
22799
+ }>;
22800
+ declare const UpdateWatchlistRequestSchema: z.ZodObject<{
21494
22801
  /**
21495
- * Integer. The number of articles to return per page in the paginated response.
22802
+ * Parameter id
22803
+ * @required
21496
22804
  */
21497
- size: z.ZodOptional<z.ZodNumber>;
22805
+ id: z.ZodNumber;
21498
22806
  /**
21499
- * 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).
21500
- * @type SortByEnum
21501
- * @values 'relevance', 'revisionTsDesc', 'revisionTsAsc', 'pageViewsDesc', 'pageViewsAsc', 'scrapedAtDesc', 'scrapedAtAsc'
22807
+ * Parameter updateWatchlistParams
22808
+ * @required
21502
22809
  */
21503
- sortBy: z.ZodOptional<z.ZodEnum<["relevance", "revisionTsDesc", "revisionTsAsc", "pageViewsDesc", "pageViewsAsc", "scrapedAtDesc", "scrapedAtAsc"]>>;
22810
+ updateWatchlistParams: z.ZodObject<{
22811
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22812
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22813
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22814
+ people: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
22815
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22816
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22817
+ aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22818
+ wikidataId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22819
+ }, "strip", z.ZodTypeAny, {
22820
+ name?: string | null | undefined;
22821
+ description?: string | null | undefined;
22822
+ wikidataId?: string | null | undefined;
22823
+ aliases?: string[] | null | undefined;
22824
+ }, {
22825
+ name?: string | null | undefined;
22826
+ description?: string | null | undefined;
22827
+ wikidataId?: string | null | undefined;
22828
+ aliases?: string[] | null | undefined;
22829
+ }>, "many">>>;
22830
+ companies: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
22831
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22832
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22833
+ id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22834
+ domain: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22835
+ aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22836
+ }, "strip", z.ZodTypeAny, {
22837
+ name?: string | null | undefined;
22838
+ id?: string | null | undefined;
22839
+ description?: string | null | undefined;
22840
+ domain?: string | null | undefined;
22841
+ aliases?: string[] | null | undefined;
22842
+ }, {
22843
+ name?: string | null | undefined;
22844
+ id?: string | null | undefined;
22845
+ description?: string | null | undefined;
22846
+ domain?: string | null | undefined;
22847
+ aliases?: string[] | null | undefined;
22848
+ }>, "many">>>;
22849
+ visible: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
22850
+ }, "strip", z.ZodTypeAny, {
22851
+ name?: string | null | undefined;
22852
+ description?: string | null | undefined;
22853
+ people?: {
22854
+ name?: string | null | undefined;
22855
+ description?: string | null | undefined;
22856
+ wikidataId?: string | null | undefined;
22857
+ aliases?: string[] | null | undefined;
22858
+ }[] | null | undefined;
22859
+ companies?: {
22860
+ name?: string | null | undefined;
22861
+ id?: string | null | undefined;
22862
+ description?: string | null | undefined;
22863
+ domain?: string | null | undefined;
22864
+ aliases?: string[] | null | undefined;
22865
+ }[] | null | undefined;
22866
+ displayName?: string | null | undefined;
22867
+ visible?: boolean | null | undefined;
22868
+ }, {
22869
+ name?: string | null | undefined;
22870
+ description?: string | null | undefined;
22871
+ people?: {
22872
+ name?: string | null | undefined;
22873
+ description?: string | null | undefined;
22874
+ wikidataId?: string | null | undefined;
22875
+ aliases?: string[] | null | undefined;
22876
+ }[] | null | undefined;
22877
+ companies?: {
22878
+ name?: string | null | undefined;
22879
+ id?: string | null | undefined;
22880
+ description?: string | null | undefined;
22881
+ domain?: string | null | undefined;
22882
+ aliases?: string[] | null | undefined;
22883
+ }[] | null | undefined;
22884
+ displayName?: string | null | undefined;
22885
+ visible?: boolean | null | undefined;
22886
+ }>;
21504
22887
  }, "strip", z.ZodTypeAny, {
21505
- id?: string[] | undefined;
21506
- title?: string | undefined;
21507
- wikidataId?: string[] | undefined;
21508
- summary?: string | undefined;
21509
- category?: string[] | undefined;
21510
- size?: number | undefined;
21511
- page?: number | undefined;
21512
- sectionId?: string[] | undefined;
21513
- wikiPageId?: number[] | undefined;
21514
- wikiRevisionId?: number[] | undefined;
21515
- wikiCode?: string[] | undefined;
21516
- wikiNamespace?: number[] | undefined;
21517
- wikidataInstanceOfId?: string[] | undefined;
21518
- wikidataInstanceOfLabel?: string[] | undefined;
21519
- wikiRevisionFrom?: Date | undefined;
21520
- wikiRevisionTo?: Date | undefined;
21521
- pageviewsFrom?: any;
21522
- pageviewsTo?: any;
21523
- q?: string | undefined;
21524
- sortBy?: "relevance" | "revisionTsDesc" | "revisionTsAsc" | "pageViewsDesc" | "pageViewsAsc" | "scrapedAtDesc" | "scrapedAtAsc" | undefined;
21525
- showNumResults?: boolean | undefined;
21526
- text?: string | undefined;
21527
- reference?: string | undefined;
21528
- scrapedAtFrom?: Date | undefined;
21529
- scrapedAtTo?: Date | undefined;
21530
- withPageviews?: boolean | undefined;
22888
+ id: number;
22889
+ updateWatchlistParams: {
22890
+ name?: string | null | undefined;
22891
+ description?: string | null | undefined;
22892
+ people?: {
22893
+ name?: string | null | undefined;
22894
+ description?: string | null | undefined;
22895
+ wikidataId?: string | null | undefined;
22896
+ aliases?: string[] | null | undefined;
22897
+ }[] | null | undefined;
22898
+ companies?: {
22899
+ name?: string | null | undefined;
22900
+ id?: string | null | undefined;
22901
+ description?: string | null | undefined;
22902
+ domain?: string | null | undefined;
22903
+ aliases?: string[] | null | undefined;
22904
+ }[] | null | undefined;
22905
+ displayName?: string | null | undefined;
22906
+ visible?: boolean | null | undefined;
22907
+ };
21531
22908
  }, {
21532
- id?: string[] | undefined;
21533
- title?: string | undefined;
21534
- wikidataId?: string[] | undefined;
21535
- summary?: string | undefined;
21536
- category?: string[] | undefined;
21537
- size?: number | undefined;
21538
- page?: number | undefined;
21539
- sectionId?: string[] | undefined;
21540
- wikiPageId?: number[] | undefined;
21541
- wikiRevisionId?: number[] | undefined;
21542
- wikiCode?: string[] | undefined;
21543
- wikiNamespace?: number[] | undefined;
21544
- wikidataInstanceOfId?: string[] | undefined;
21545
- wikidataInstanceOfLabel?: string[] | undefined;
21546
- wikiRevisionFrom?: Date | undefined;
21547
- wikiRevisionTo?: Date | undefined;
21548
- pageviewsFrom?: any;
21549
- pageviewsTo?: any;
21550
- q?: string | undefined;
21551
- sortBy?: "relevance" | "revisionTsDesc" | "revisionTsAsc" | "pageViewsDesc" | "pageViewsAsc" | "scrapedAtDesc" | "scrapedAtAsc" | undefined;
21552
- showNumResults?: boolean | undefined;
21553
- text?: string | undefined;
21554
- reference?: string | undefined;
21555
- scrapedAtFrom?: Date | undefined;
21556
- scrapedAtTo?: Date | undefined;
21557
- withPageviews?: boolean | undefined;
22909
+ id: number;
22910
+ updateWatchlistParams: {
22911
+ name?: string | null | undefined;
22912
+ description?: string | null | undefined;
22913
+ people?: {
22914
+ name?: string | null | undefined;
22915
+ description?: string | null | undefined;
22916
+ wikidataId?: string | null | undefined;
22917
+ aliases?: string[] | null | undefined;
22918
+ }[] | null | undefined;
22919
+ companies?: {
22920
+ name?: string | null | undefined;
22921
+ id?: string | null | undefined;
22922
+ description?: string | null | undefined;
22923
+ domain?: string | null | undefined;
22924
+ aliases?: string[] | null | undefined;
22925
+ }[] | null | undefined;
22926
+ displayName?: string | null | undefined;
22927
+ visible?: boolean | null | undefined;
22928
+ };
21558
22929
  }>;
21559
- type SearchWikipediaRequest = z.input<typeof SearchWikipediaRequestSchema>;
22930
+ type UpdateWatchlistRequest = z.input<typeof UpdateWatchlistRequestSchema>;
21560
22931
  declare const VectorSearchArticlesBodySchema: z.ZodObject<{
21561
22932
  /**
21562
22933
  * Parameter articleSearchParams
@@ -22719,11 +24090,36 @@ type VectorSearchWikipediaRequest = z.input<typeof VectorSearchWikipediaRequestS
22719
24090
  *
22720
24091
  */
22721
24092
  declare class V1Api extends BaseAPI {
24093
+ /**
24094
+ * Create a new source group under the organization associated with the API key.
24095
+ * Create source group
24096
+ */
24097
+ createSourceGroup(requestParameters: CreateSourceGroupRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
24098
+ /**
24099
+ * Create a new watchlist under the organization associated with the API key. A watchlist can contain up to 100 combined people and companies.
24100
+ * Create watchlist
24101
+ */
24102
+ createWatchlist(requestParameters: CreateWatchlistRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
24103
+ /**
24104
+ * Delete a source group owned by the organization associated with the API key.
24105
+ * Delete source group
24106
+ */
24107
+ deleteSourceGroup(requestParameters: DeleteSourceGroupRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
24108
+ /**
24109
+ * Delete a watchlist owned by the organization associated with the API key. A watchlist cannot be deleted if it is attached to active signals.
24110
+ * Delete watchlist
24111
+ */
24112
+ deleteWatchlist(requestParameters: DeleteWatchlistRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
22722
24113
  /**
22723
24114
  * Find additional details on a journalist by using the journalist ID found in an article response object.
22724
24115
  * Journalists by ID
22725
24116
  */
22726
24117
  getJournalistById(requestParameters: GetJournalistByIdRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Journalist>;
24118
+ /**
24119
+ * Retrieve a source group by ID. Only returns source groups owned by the organization associated with the API key.
24120
+ * Get source group
24121
+ */
24122
+ getSourceGroup(requestParameters: GetSourceGroupRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
22727
24123
  /**
22728
24124
  * Get statistics on story counts over time intervals. Supports filtering by various story attributes and grouping by different time intervals (hour, day, week, month).
22729
24125
  * Story Count Statistics
@@ -22733,6 +24129,31 @@ declare class V1Api extends BaseAPI {
22733
24129
  * Story History
22734
24130
  */
22735
24131
  getStoryHistory(requestParameters?: GetStoryHistoryRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<StoryHistoryResult>;
24132
+ /**
24133
+ * Retrieve a watchlist by ID. Only returns watchlists owned by the organization associated with the API key.
24134
+ * Get watchlist
24135
+ */
24136
+ getWatchlist(requestParameters: GetWatchlistRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
24137
+ /**
24138
+ * 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.
24139
+ * List source groups
24140
+ */
24141
+ listSourceGroups(requestParameters: ListSourceGroupsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
24142
+ /**
24143
+ * List watchlists owned by the organization associated with the API key, as well as publicly visible watchlists. Supports filtering by name.
24144
+ * List watchlists
24145
+ */
24146
+ listWatchlists(requestParameters: ListWatchlistsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
24147
+ /**
24148
+ * 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.
24149
+ * Resolve source groups
24150
+ */
24151
+ resolveSourceGroups(requestParameters?: ResolveSourceGroupsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
24152
+ /**
24153
+ * Resolve watchlists by name. For each name, returns the organization\'s private watchlist if one exists, otherwise falls back to the matching public watchlist.
24154
+ * Resolve watchlists
24155
+ */
24156
+ resolveWatchlists(requestParameters?: ResolveWatchlistsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
22736
24157
  /**
22737
24158
  * Search and filter all news articles available via the Perigon API. The result includes a list of individual articles that were matched to your specific criteria.
22738
24159
  * All Articles
@@ -22778,6 +24199,16 @@ declare class V1Api extends BaseAPI {
22778
24199
  * Wikipedia
22779
24200
  */
22780
24201
  searchWikipedia(requestParameters?: SearchWikipediaRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<WikipediaSearchResult>;
24202
+ /**
24203
+ * Partially update a source group owned by the organization associated with the API key. Only provided fields will be updated.
24204
+ * Update source group
24205
+ */
24206
+ updateSourceGroup(requestParameters: UpdateSourceGroupRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
24207
+ /**
24208
+ * Partially update a watchlist owned by the organization associated with the API key. Only provided fields will be updated.
24209
+ * Update watchlist
24210
+ */
24211
+ updateWatchlist(requestParameters: UpdateWatchlistRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<unknown>;
22781
24212
  /**
22782
24213
  * Perform a natural language search over news articles from the past 6 months using semantic relevance. The result includes a list of articles most closely matched to your query intent.
22783
24214
  * News (Vector)
@@ -22822,4 +24253,4 @@ declare const SearchWikipediaSortByEnum: {
22822
24253
  };
22823
24254
  type SearchWikipediaSortByEnum = (typeof SearchWikipediaSortByEnum)[keyof typeof SearchWikipediaSortByEnum];
22824
24255
 
22825
- export { AllEndpointSortBy, AllEndpointSortBySchema, type Article, ArticleSchema, type ArticleSearchFilter, ArticleSearchFilterSchema, type ArticleSearchParams, ArticleSearchParamsSchema, type ArticlesVectorSearchResult, ArticlesVectorSearchResultSchema, BASE_PATH, BadRequestError, BaseAPI, COLLECTION_FORMATS, type CategoryHolder, CategoryHolderSchema, type CategoryWithScoreHolder, CategoryWithScoreHolderSchema, type Company, type CompanyCount, CompanyCountSchema, type CompanyHolder, CompanyHolderSchema, CompanySchema, type CompanySearchResult, CompanySearchResultSchema, Configuration, type ConfigurationParameters, type Coordinate, type CoordinateFilter, CoordinateFilterSchema, CoordinateSchema, DefaultConfig, type EntityHolder, EntityHolderSchema, type ErrorContext, type ErrorResponse, ErrorResponseSchema, type EventTypeHolder, EventTypeHolderSchema, type FetchAPI, FetchError, type FetchParams, ForbiddenError, GetJournalistByIdPathSchema, type GetJournalistByIdRequest, GetJournalistByIdRequestSchema, GetStoryCountsQuerySchema, type GetStoryCountsRequest, GetStoryCountsRequestSchema, GetStoryCountsSplitByEnum, GetStoryHistoryQuerySchema, type GetStoryHistoryRequest, GetStoryHistoryRequestSchema, GetStoryHistorySortByEnum, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, HttpError, type IdNameHolder, IdNameHolderSchema, type ImageHolder, ImageHolderSchema, type InitOverrideFunction, type Journalist, JournalistSchema, type JournalistSearchResult, JournalistSearchResultSchema, type Json, type KeyPoint, KeyPointSchema, type KeywordHolder, KeywordHolderSchema, type LabelHolder, LabelHolderSchema, type LocationCount, LocationCountSchema, type LocationHolder, LocationHolderSchema, type Middleware, type ModelPropertyNaming, type NameCount, NameCountSchema, NetworkError, type NewsCluster, NewsClusterSchema, NotFoundError, type PeopleSearchResult, PeopleSearchResultSchema, type Person, type PersonCount, PersonCountSchema, type PersonHolder, PersonHolderSchema, PersonSchema, type Place, PlaceSchema, type QuerySearchResult, QuerySearchResultSchema, type Question, QuestionSchema, RateLimitError, type RecordStatHolder, RecordStatHolderSchema, type RequestContext, type RequestOpts, type ResponseContext, type ScoredDataArticle, ScoredDataArticleSchema, type ScoredDataWikiData, ScoredDataWikiDataSchema, SearchArticlesQuerySchema, type SearchArticlesRequest, SearchArticlesRequestSchema, SearchCompaniesQuerySchema, type SearchCompaniesRequest, SearchCompaniesRequestSchema, SearchJournalistsQuerySchema, type SearchJournalistsRequest, SearchJournalistsRequestSchema, SearchPeopleQuerySchema, type SearchPeopleRequest, SearchPeopleRequestSchema, SearchSourcesQuerySchema, type SearchSourcesRequest, SearchSourcesRequestSchema, SearchStoriesQuerySchema, type SearchStoriesRequest, SearchStoriesRequestSchema, SearchSummarizerBodySchema, SearchSummarizerQuerySchema, type SearchSummarizerRequest, SearchSummarizerRequestSchema, SearchTopicsQuerySchema, type SearchTopicsRequest, SearchTopicsRequestSchema, SearchWikipediaQuerySchema, type SearchWikipediaRequest, SearchWikipediaRequestSchema, SearchWikipediaSortByEnum, type SentimentHolder, SentimentHolderSchema, ServerError, SortBy, SortBySchema, type Source, type SourceHolder, SourceHolderSchema, type SourceLocation, SourceLocationSchema, SourceSchema, type SourceSearchResult, SourceSearchResultSchema, type SourceTopStatHolder, SourceTopStatHolderSchema, type StatResult, StatResultSchema, type StoryHistoryRecord, StoryHistoryRecordSchema, type StoryHistoryResult, StoryHistoryResultSchema, type StorySearchResult, StorySearchResultSchema, type SummaryBody, SummaryBodySchema, type SummarySearchResult, SummarySearchResultSchema, type SymbolHolder, SymbolHolderSchema, type TopicDto, TopicDtoSchema, type TopicHolder, TopicHolderSchema, type TopicLabels, TopicLabelsSchema, type TopicSearchResult, TopicSearchResultSchema, UnauthorizedError, V1Api, VectorSearchArticlesBodySchema, type VectorSearchArticlesRequest, VectorSearchArticlesRequestSchema, VectorSearchWikipediaBodySchema, type VectorSearchWikipediaRequest, VectorSearchWikipediaRequestSchema, type WebResources, WebResourcesSchema, type WikiData, WikiDataSchema, type WikiPage, WikiPageSchema, type WikiPageSectionHolder, WikiPageSectionHolderSchema, type WikidataDateHolder, WikidataDateHolderSchema, type WikidataLabelHolder, WikidataLabelHolderSchema, type WikidataPoliticalPartyHolder, WikidataPoliticalPartyHolderSchema, type WikidataPositionHolder, WikidataPositionHolderSchema, type WikipediaSearchFilter, WikipediaSearchFilterSchema, type WikipediaSearchParams, WikipediaSearchParamsSchema, type WikipediaSearchResult, WikipediaSearchResultSchema, type WikipediaVectorSearchResult, WikipediaVectorSearchResultSchema, createHttpError, exists, querystring };
24256
+ 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 };