@goperigon/perigon-ts 2.1.0 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -93,7 +93,7 @@ type HTTPHeaders = {
93
93
  [key: string]: string;
94
94
  };
95
95
  type HTTPQuery = {
96
- [key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
96
+ [key: string]: string | number | Date | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
97
97
  };
98
98
  type HTTPBody = Json | FormData | URLSearchParams;
99
99
  type HTTPRequestInit = {
@@ -8275,7 +8275,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
8275
8275
  }[];
8276
8276
  }>;
8277
8277
  type ArticlesVectorSearchResult = z.infer<typeof ArticlesVectorSearchResultSchema>;
8278
- declare const IllegalParameterExceptionCauseStackTraceInnerSchema: z.ZodObject<{
8278
+ declare const InternalErrorExceptionCauseStackTraceInnerSchema: z.ZodObject<{
8279
8279
  classLoaderName: z.ZodOptional<z.ZodString>;
8280
8280
  moduleName: z.ZodOptional<z.ZodString>;
8281
8281
  moduleVersion: z.ZodOptional<z.ZodString>;
@@ -8303,8 +8303,8 @@ declare const IllegalParameterExceptionCauseStackTraceInnerSchema: z.ZodObject<{
8303
8303
  nativeMethod?: boolean | undefined;
8304
8304
  className?: string | undefined;
8305
8305
  }>;
8306
- type IllegalParameterExceptionCauseStackTraceInner = z.infer<typeof IllegalParameterExceptionCauseStackTraceInnerSchema>;
8307
- declare const IllegalParameterExceptionCauseSchema: z.ZodObject<{
8306
+ type InternalErrorExceptionCauseStackTraceInner = z.infer<typeof InternalErrorExceptionCauseStackTraceInnerSchema>;
8307
+ declare const InternalErrorExceptionCauseSchema: z.ZodObject<{
8308
8308
  stackTrace: z.ZodOptional<z.ZodArray<z.ZodObject<{
8309
8309
  classLoaderName: z.ZodOptional<z.ZodString>;
8310
8310
  moduleName: z.ZodOptional<z.ZodString>;
@@ -8362,8 +8362,8 @@ declare const IllegalParameterExceptionCauseSchema: z.ZodObject<{
8362
8362
  }[] | undefined;
8363
8363
  localizedMessage?: string | undefined;
8364
8364
  }>;
8365
- type IllegalParameterExceptionCause = z.infer<typeof IllegalParameterExceptionCauseSchema>;
8366
- declare const IllegalParameterExceptionSuppressedInnerSchema: z.ZodObject<{
8365
+ type InternalErrorExceptionCause = z.infer<typeof InternalErrorExceptionCauseSchema>;
8366
+ declare const InternalErrorExceptionSuppressedInnerSchema: z.ZodObject<{
8367
8367
  stackTrace: z.ZodOptional<z.ZodArray<z.ZodObject<{
8368
8368
  classLoaderName: z.ZodOptional<z.ZodString>;
8369
8369
  moduleName: z.ZodOptional<z.ZodString>;
@@ -8421,7 +8421,7 @@ declare const IllegalParameterExceptionSuppressedInnerSchema: z.ZodObject<{
8421
8421
  }[] | undefined;
8422
8422
  localizedMessage?: string | undefined;
8423
8423
  }>;
8424
- type IllegalParameterExceptionSuppressedInner = z.infer<typeof IllegalParameterExceptionSuppressedInnerSchema>;
8424
+ type InternalErrorExceptionSuppressedInner = z.infer<typeof InternalErrorExceptionSuppressedInnerSchema>;
8425
8425
  declare const AuthExceptionSchema: z.ZodObject<{
8426
8426
  cause: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8427
8427
  stackTrace: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -17854,39 +17854,39 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
17854
17854
  /**
17855
17855
  * Determines the article sorting order. Options include relevance (default), date/pubDate (newest publication date first), reverseDate (oldest publication date first), addDate (newest ingestion date first), reverseAddDate (oldest ingestion date first), and refreshDate (most recently updated in system first, often identical to addDate).
17856
17856
  */
17857
- sortBy: z.ZodOptional<z.ZodAny>;
17857
+ sortBy: z.ZodOptional<z.ZodEnum<["relevance", "date", "reverseDate", "reverseAddDate", "addDate", "pubDate", "refreshDate"]>>;
17858
17858
  /**
17859
17859
  * The specific page of results to retrieve in the paginated response. Starts at 0.
17860
17860
  */
17861
- page: z.ZodOptional<z.ZodAny>;
17861
+ page: z.ZodOptional<z.ZodNumber>;
17862
17862
  /**
17863
17863
  * The number of articles to return per page in the paginated response.
17864
17864
  */
17865
- size: z.ZodOptional<z.ZodAny>;
17865
+ size: z.ZodOptional<z.ZodNumber>;
17866
17866
  /**
17867
17867
  * Filter for articles published after this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
17868
17868
  */
17869
- from: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
17869
+ from: z.ZodOptional<z.ZodDate>;
17870
17870
  /**
17871
17871
  * Filter for articles published before this date. Accepts ISO 8601 format (e.g., 2022-02-01T23:59:59) or yyyy-mm-dd format.
17872
17872
  */
17873
- to: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
17873
+ to: z.ZodOptional<z.ZodDate>;
17874
17874
  /**
17875
17875
  * Filter for articles added to Perigon\&#39;s system after this date. Accepts ISO 8601 format (e.g., 2022-02-01T00:00:00) or yyyy-mm-dd format.
17876
17876
  */
17877
- addDateFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
17877
+ addDateFrom: z.ZodOptional<z.ZodDate>;
17878
17878
  /**
17879
17879
  * Filter for articles added to Perigon\&#39;s system before this date. Accepts ISO 8601 format (e.g., 2022-02-01T23:59:59) or yyyy-mm-dd format.
17880
17880
  */
17881
- addDateTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
17881
+ addDateTo: z.ZodOptional<z.ZodDate>;
17882
17882
  /**
17883
17883
  * Filter for articles refreshed/updated in Perigon\&#39;s system after this date. In most cases yields similar results to addDateFrom but can differ for updated content. Accepts ISO 8601 format (e.g., 2022-02-01T00:00:00) or yyyy-mm-dd format.
17884
17884
  */
17885
- refreshDateFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
17885
+ refreshDateFrom: z.ZodOptional<z.ZodDate>;
17886
17886
  /**
17887
17887
  * Filter for articles refreshed/updated in Perigon\&#39;s system before this date. In most cases yields similar results to addDateTo but can differ for updated content. Accepts ISO 8601 format (e.g., 2022-02-01T23:59:59) or yyyy-mm-dd format.
17888
17888
  */
17889
- refreshDateTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
17889
+ refreshDateTo: z.ZodOptional<z.ZodDate>;
17890
17890
  /**
17891
17891
  * Filter articles by their primary medium type. Accepts Article for written content or Video for video-based stories. Multiple values create an OR filter.
17892
17892
  */
@@ -18026,15 +18026,15 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
18026
18026
  /**
18027
18027
  * Latitude of the center point to search places
18028
18028
  */
18029
- lat: z.ZodOptional<z.ZodAny>;
18029
+ lat: z.ZodOptional<z.ZodNumber>;
18030
18030
  /**
18031
18031
  * Longitude of the center point to search places
18032
18032
  */
18033
- lon: z.ZodOptional<z.ZodAny>;
18033
+ lon: z.ZodOptional<z.ZodNumber>;
18034
18034
  /**
18035
18035
  * Maximum distance (in km) from starting point to search articles by tagged places
18036
18036
  */
18037
- maxDistance: z.ZodOptional<z.ZodAny>;
18037
+ maxDistance: z.ZodOptional<z.ZodNumber>;
18038
18038
  /**
18039
18039
  * Find articles published by sources that are located within a given city.
18040
18040
  */
@@ -18054,15 +18054,15 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
18054
18054
  /**
18055
18055
  * Latitude of the center point to search articles created by local publications.
18056
18056
  */
18057
- sourceLat: z.ZodOptional<z.ZodAny>;
18057
+ sourceLat: z.ZodOptional<z.ZodNumber>;
18058
18058
  /**
18059
18059
  * Latitude of the center point to search articles created by local publications.
18060
18060
  */
18061
- sourceLon: z.ZodOptional<z.ZodAny>;
18061
+ sourceLon: z.ZodOptional<z.ZodNumber>;
18062
18062
  /**
18063
18063
  * Maximum distance from starting point to search articles created by local publications.
18064
18064
  */
18065
- sourceMaxDistance: z.ZodOptional<z.ZodAny>;
18065
+ sourceMaxDistance: z.ZodOptional<z.ZodNumber>;
18066
18066
  /**
18067
18067
  * Filter articles by Wikidata IDs of mentioned people. Refer to the /people endpoint for a complete list of tracked individuals.
18068
18068
  */
@@ -18114,27 +18114,27 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
18114
18114
  /**
18115
18115
  * Filter articles with a positive sentiment score greater than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger positive tone.
18116
18116
  */
18117
- positiveSentimentFrom: z.ZodOptional<z.ZodAny>;
18117
+ positiveSentimentFrom: z.ZodOptional<z.ZodNumber>;
18118
18118
  /**
18119
18119
  * Filter articles with a positive sentiment score less than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger positive tone.
18120
18120
  */
18121
- positiveSentimentTo: z.ZodOptional<z.ZodAny>;
18121
+ positiveSentimentTo: z.ZodOptional<z.ZodNumber>;
18122
18122
  /**
18123
18123
  * Filter articles with a neutral sentiment score greater than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger neutral tone.
18124
18124
  */
18125
- neutralSentimentFrom: z.ZodOptional<z.ZodAny>;
18125
+ neutralSentimentFrom: z.ZodOptional<z.ZodNumber>;
18126
18126
  /**
18127
18127
  * Filter articles with a neutral sentiment score less than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger neutral tone.
18128
18128
  */
18129
- neutralSentimentTo: z.ZodOptional<z.ZodAny>;
18129
+ neutralSentimentTo: z.ZodOptional<z.ZodNumber>;
18130
18130
  /**
18131
18131
  * Filter articles with a negative sentiment score greater than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger negative tone.
18132
18132
  */
18133
- negativeSentimentFrom: z.ZodOptional<z.ZodAny>;
18133
+ negativeSentimentFrom: z.ZodOptional<z.ZodNumber>;
18134
18134
  /**
18135
18135
  * Filter articles with a negative sentiment score less than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger negative tone.
18136
18136
  */
18137
- negativeSentimentTo: z.ZodOptional<z.ZodAny>;
18137
+ negativeSentimentTo: z.ZodOptional<z.ZodNumber>;
18138
18138
  /**
18139
18139
  * 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)
18140
18140
  */
@@ -18150,11 +18150,11 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
18150
18150
  /**
18151
18151
  * Specifies the size in characters of each highlighted text fragment. Defaults to 100 if not specified.
18152
18152
  */
18153
- highlightFragmentSize: z.ZodOptional<z.ZodAny>;
18153
+ highlightFragmentSize: z.ZodOptional<z.ZodNumber>;
18154
18154
  /**
18155
18155
  * Controls the maximum number of highlighted fragments to return per field.
18156
18156
  */
18157
- highlightNumFragments: z.ZodOptional<z.ZodAny>;
18157
+ highlightNumFragments: z.ZodOptional<z.ZodNumber>;
18158
18158
  /**
18159
18159
  * Defines the HTML tag that appears before highlighted text. Defaults to \&#39;&lt;em&gt;\&#39; if not specified.
18160
18160
  */
@@ -18175,8 +18175,8 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
18175
18175
  city?: string[] | undefined;
18176
18176
  area?: string[] | undefined;
18177
18177
  title?: string | undefined;
18178
- lat?: any;
18179
- lon?: any;
18178
+ lat?: number | undefined;
18179
+ lon?: number | undefined;
18180
18180
  paywall?: boolean | undefined;
18181
18181
  location?: string[] | undefined;
18182
18182
  articleId?: string[] | undefined;
@@ -18216,17 +18216,17 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
18216
18216
  personName?: string[] | undefined;
18217
18217
  excludePersonName?: string[] | undefined;
18218
18218
  showReprints?: boolean | undefined;
18219
- size?: any;
18220
- page?: any;
18219
+ size?: number | undefined;
18220
+ page?: number | undefined;
18221
18221
  q?: string | undefined;
18222
18222
  desc?: string | undefined;
18223
- sortBy?: any;
18224
- from?: string | undefined;
18225
- to?: string | undefined;
18226
- addDateFrom?: string | undefined;
18227
- addDateTo?: string | undefined;
18228
- refreshDateFrom?: string | undefined;
18229
- refreshDateTo?: string | undefined;
18223
+ sortBy?: "relevance" | "date" | "reverseDate" | "reverseAddDate" | "addDate" | "pubDate" | "refreshDate" | undefined;
18224
+ from?: Date | undefined;
18225
+ to?: Date | undefined;
18226
+ addDateFrom?: Date | undefined;
18227
+ addDateTo?: Date | undefined;
18228
+ refreshDateFrom?: Date | undefined;
18229
+ refreshDateTo?: Date | undefined;
18230
18230
  excludeSourceGroup?: string[] | undefined;
18231
18231
  byline?: string[] | undefined;
18232
18232
  author?: string[] | undefined;
@@ -18236,21 +18236,21 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
18236
18236
  searchTranslation?: boolean | undefined;
18237
18237
  excludeCategory?: string[] | undefined;
18238
18238
  linkTo?: string | undefined;
18239
- maxDistance?: any;
18240
- sourceLat?: any;
18241
- sourceLon?: any;
18242
- sourceMaxDistance?: any;
18239
+ maxDistance?: number | undefined;
18240
+ sourceLat?: number | undefined;
18241
+ sourceLon?: number | undefined;
18242
+ sourceMaxDistance?: number | undefined;
18243
18243
  showNumResults?: boolean | undefined;
18244
- positiveSentimentFrom?: any;
18245
- positiveSentimentTo?: any;
18246
- neutralSentimentFrom?: any;
18247
- neutralSentimentTo?: any;
18248
- negativeSentimentFrom?: any;
18249
- negativeSentimentTo?: any;
18244
+ positiveSentimentFrom?: number | undefined;
18245
+ positiveSentimentTo?: number | undefined;
18246
+ neutralSentimentFrom?: number | undefined;
18247
+ neutralSentimentTo?: number | undefined;
18248
+ negativeSentimentFrom?: number | undefined;
18249
+ negativeSentimentTo?: number | undefined;
18250
18250
  prefixTaxonomy?: string | undefined;
18251
18251
  showHighlighting?: boolean | undefined;
18252
- highlightFragmentSize?: any;
18253
- highlightNumFragments?: any;
18252
+ highlightFragmentSize?: number | undefined;
18253
+ highlightNumFragments?: number | undefined;
18254
18254
  highlightPreTag?: string | undefined;
18255
18255
  highlightPostTag?: string | undefined;
18256
18256
  highlightQ?: string | undefined;
@@ -18262,8 +18262,8 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
18262
18262
  city?: string[] | undefined;
18263
18263
  area?: string[] | undefined;
18264
18264
  title?: string | undefined;
18265
- lat?: any;
18266
- lon?: any;
18265
+ lat?: number | undefined;
18266
+ lon?: number | undefined;
18267
18267
  paywall?: boolean | undefined;
18268
18268
  location?: string[] | undefined;
18269
18269
  articleId?: string[] | undefined;
@@ -18303,17 +18303,17 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
18303
18303
  personName?: string[] | undefined;
18304
18304
  excludePersonName?: string[] | undefined;
18305
18305
  showReprints?: boolean | undefined;
18306
- size?: any;
18307
- page?: any;
18306
+ size?: number | undefined;
18307
+ page?: number | undefined;
18308
18308
  q?: string | undefined;
18309
18309
  desc?: string | undefined;
18310
- sortBy?: any;
18311
- from?: string | Date | undefined;
18312
- to?: string | Date | undefined;
18313
- addDateFrom?: string | Date | undefined;
18314
- addDateTo?: string | Date | undefined;
18315
- refreshDateFrom?: string | Date | undefined;
18316
- refreshDateTo?: string | Date | undefined;
18310
+ sortBy?: "relevance" | "date" | "reverseDate" | "reverseAddDate" | "addDate" | "pubDate" | "refreshDate" | undefined;
18311
+ from?: Date | undefined;
18312
+ to?: Date | undefined;
18313
+ addDateFrom?: Date | undefined;
18314
+ addDateTo?: Date | undefined;
18315
+ refreshDateFrom?: Date | undefined;
18316
+ refreshDateTo?: Date | undefined;
18317
18317
  excludeSourceGroup?: string[] | undefined;
18318
18318
  byline?: string[] | undefined;
18319
18319
  author?: string[] | undefined;
@@ -18323,21 +18323,21 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
18323
18323
  searchTranslation?: boolean | undefined;
18324
18324
  excludeCategory?: string[] | undefined;
18325
18325
  linkTo?: string | undefined;
18326
- maxDistance?: any;
18327
- sourceLat?: any;
18328
- sourceLon?: any;
18329
- sourceMaxDistance?: any;
18326
+ maxDistance?: number | undefined;
18327
+ sourceLat?: number | undefined;
18328
+ sourceLon?: number | undefined;
18329
+ sourceMaxDistance?: number | undefined;
18330
18330
  showNumResults?: boolean | undefined;
18331
- positiveSentimentFrom?: any;
18332
- positiveSentimentTo?: any;
18333
- neutralSentimentFrom?: any;
18334
- neutralSentimentTo?: any;
18335
- negativeSentimentFrom?: any;
18336
- negativeSentimentTo?: any;
18331
+ positiveSentimentFrom?: number | undefined;
18332
+ positiveSentimentTo?: number | undefined;
18333
+ neutralSentimentFrom?: number | undefined;
18334
+ neutralSentimentTo?: number | undefined;
18335
+ negativeSentimentFrom?: number | undefined;
18336
+ negativeSentimentTo?: number | undefined;
18337
18337
  prefixTaxonomy?: string | undefined;
18338
18338
  showHighlighting?: boolean | undefined;
18339
- highlightFragmentSize?: any;
18340
- highlightNumFragments?: any;
18339
+ highlightFragmentSize?: number | undefined;
18340
+ highlightNumFragments?: number | undefined;
18341
18341
  highlightPreTag?: string | undefined;
18342
18342
  highlightPostTag?: string | undefined;
18343
18343
  highlightQ?: string | undefined;
@@ -18374,39 +18374,39 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
18374
18374
  /**
18375
18375
  * Determines the article sorting order. Options include relevance (default), date/pubDate (newest publication date first), reverseDate (oldest publication date first), addDate (newest ingestion date first), reverseAddDate (oldest ingestion date first), and refreshDate (most recently updated in system first, often identical to addDate).
18376
18376
  */
18377
- sortBy: z.ZodOptional<z.ZodAny>;
18377
+ sortBy: z.ZodOptional<z.ZodEnum<["relevance", "date", "reverseDate", "reverseAddDate", "addDate", "pubDate", "refreshDate"]>>;
18378
18378
  /**
18379
18379
  * The specific page of results to retrieve in the paginated response. Starts at 0.
18380
18380
  */
18381
- page: z.ZodOptional<z.ZodAny>;
18381
+ page: z.ZodOptional<z.ZodNumber>;
18382
18382
  /**
18383
18383
  * The number of articles to return per page in the paginated response.
18384
18384
  */
18385
- size: z.ZodOptional<z.ZodAny>;
18385
+ size: z.ZodOptional<z.ZodNumber>;
18386
18386
  /**
18387
18387
  * Filter for articles published after this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
18388
18388
  */
18389
- from: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
18389
+ from: z.ZodOptional<z.ZodDate>;
18390
18390
  /**
18391
18391
  * Filter for articles published before this date. Accepts ISO 8601 format (e.g., 2022-02-01T23:59:59) or yyyy-mm-dd format.
18392
18392
  */
18393
- to: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
18393
+ to: z.ZodOptional<z.ZodDate>;
18394
18394
  /**
18395
18395
  * Filter for articles added to Perigon\&#39;s system after this date. Accepts ISO 8601 format (e.g., 2022-02-01T00:00:00) or yyyy-mm-dd format.
18396
18396
  */
18397
- addDateFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
18397
+ addDateFrom: z.ZodOptional<z.ZodDate>;
18398
18398
  /**
18399
18399
  * Filter for articles added to Perigon\&#39;s system before this date. Accepts ISO 8601 format (e.g., 2022-02-01T23:59:59) or yyyy-mm-dd format.
18400
18400
  */
18401
- addDateTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
18401
+ addDateTo: z.ZodOptional<z.ZodDate>;
18402
18402
  /**
18403
18403
  * Filter for articles refreshed/updated in Perigon\&#39;s system after this date. In most cases yields similar results to addDateFrom but can differ for updated content. Accepts ISO 8601 format (e.g., 2022-02-01T00:00:00) or yyyy-mm-dd format.
18404
18404
  */
18405
- refreshDateFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
18405
+ refreshDateFrom: z.ZodOptional<z.ZodDate>;
18406
18406
  /**
18407
18407
  * Filter for articles refreshed/updated in Perigon\&#39;s system before this date. In most cases yields similar results to addDateTo but can differ for updated content. Accepts ISO 8601 format (e.g., 2022-02-01T23:59:59) or yyyy-mm-dd format.
18408
18408
  */
18409
- refreshDateTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
18409
+ refreshDateTo: z.ZodOptional<z.ZodDate>;
18410
18410
  /**
18411
18411
  * Filter articles by their primary medium type. Accepts Article for written content or Video for video-based stories. Multiple values create an OR filter.
18412
18412
  */
@@ -18546,15 +18546,15 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
18546
18546
  /**
18547
18547
  * Latitude of the center point to search places
18548
18548
  */
18549
- lat: z.ZodOptional<z.ZodAny>;
18549
+ lat: z.ZodOptional<z.ZodNumber>;
18550
18550
  /**
18551
18551
  * Longitude of the center point to search places
18552
18552
  */
18553
- lon: z.ZodOptional<z.ZodAny>;
18553
+ lon: z.ZodOptional<z.ZodNumber>;
18554
18554
  /**
18555
18555
  * Maximum distance (in km) from starting point to search articles by tagged places
18556
18556
  */
18557
- maxDistance: z.ZodOptional<z.ZodAny>;
18557
+ maxDistance: z.ZodOptional<z.ZodNumber>;
18558
18558
  /**
18559
18559
  * Find articles published by sources that are located within a given city.
18560
18560
  */
@@ -18574,15 +18574,15 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
18574
18574
  /**
18575
18575
  * Latitude of the center point to search articles created by local publications.
18576
18576
  */
18577
- sourceLat: z.ZodOptional<z.ZodAny>;
18577
+ sourceLat: z.ZodOptional<z.ZodNumber>;
18578
18578
  /**
18579
18579
  * Latitude of the center point to search articles created by local publications.
18580
18580
  */
18581
- sourceLon: z.ZodOptional<z.ZodAny>;
18581
+ sourceLon: z.ZodOptional<z.ZodNumber>;
18582
18582
  /**
18583
18583
  * Maximum distance from starting point to search articles created by local publications.
18584
18584
  */
18585
- sourceMaxDistance: z.ZodOptional<z.ZodAny>;
18585
+ sourceMaxDistance: z.ZodOptional<z.ZodNumber>;
18586
18586
  /**
18587
18587
  * Filter articles by Wikidata IDs of mentioned people. Refer to the /people endpoint for a complete list of tracked individuals.
18588
18588
  */
@@ -18634,27 +18634,27 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
18634
18634
  /**
18635
18635
  * Filter articles with a positive sentiment score greater than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger positive tone.
18636
18636
  */
18637
- positiveSentimentFrom: z.ZodOptional<z.ZodAny>;
18637
+ positiveSentimentFrom: z.ZodOptional<z.ZodNumber>;
18638
18638
  /**
18639
18639
  * Filter articles with a positive sentiment score less than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger positive tone.
18640
18640
  */
18641
- positiveSentimentTo: z.ZodOptional<z.ZodAny>;
18641
+ positiveSentimentTo: z.ZodOptional<z.ZodNumber>;
18642
18642
  /**
18643
18643
  * Filter articles with a neutral sentiment score greater than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger neutral tone.
18644
18644
  */
18645
- neutralSentimentFrom: z.ZodOptional<z.ZodAny>;
18645
+ neutralSentimentFrom: z.ZodOptional<z.ZodNumber>;
18646
18646
  /**
18647
18647
  * Filter articles with a neutral sentiment score less than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger neutral tone.
18648
18648
  */
18649
- neutralSentimentTo: z.ZodOptional<z.ZodAny>;
18649
+ neutralSentimentTo: z.ZodOptional<z.ZodNumber>;
18650
18650
  /**
18651
18651
  * Filter articles with a negative sentiment score greater than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger negative tone.
18652
18652
  */
18653
- negativeSentimentFrom: z.ZodOptional<z.ZodAny>;
18653
+ negativeSentimentFrom: z.ZodOptional<z.ZodNumber>;
18654
18654
  /**
18655
18655
  * Filter articles with a negative sentiment score less than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger negative tone.
18656
18656
  */
18657
- negativeSentimentTo: z.ZodOptional<z.ZodAny>;
18657
+ negativeSentimentTo: z.ZodOptional<z.ZodNumber>;
18658
18658
  /**
18659
18659
  * 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)
18660
18660
  */
@@ -18670,11 +18670,11 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
18670
18670
  /**
18671
18671
  * Specifies the size in characters of each highlighted text fragment. Defaults to 100 if not specified.
18672
18672
  */
18673
- highlightFragmentSize: z.ZodOptional<z.ZodAny>;
18673
+ highlightFragmentSize: z.ZodOptional<z.ZodNumber>;
18674
18674
  /**
18675
18675
  * Controls the maximum number of highlighted fragments to return per field.
18676
18676
  */
18677
- highlightNumFragments: z.ZodOptional<z.ZodAny>;
18677
+ highlightNumFragments: z.ZodOptional<z.ZodNumber>;
18678
18678
  /**
18679
18679
  * Defines the HTML tag that appears before highlighted text. Defaults to \&#39;&lt;em&gt;\&#39; if not specified.
18680
18680
  */
@@ -18695,8 +18695,8 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
18695
18695
  city?: string[] | undefined;
18696
18696
  area?: string[] | undefined;
18697
18697
  title?: string | undefined;
18698
- lat?: any;
18699
- lon?: any;
18698
+ lat?: number | undefined;
18699
+ lon?: number | undefined;
18700
18700
  paywall?: boolean | undefined;
18701
18701
  location?: string[] | undefined;
18702
18702
  articleId?: string[] | undefined;
@@ -18736,17 +18736,17 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
18736
18736
  personName?: string[] | undefined;
18737
18737
  excludePersonName?: string[] | undefined;
18738
18738
  showReprints?: boolean | undefined;
18739
- size?: any;
18740
- page?: any;
18739
+ size?: number | undefined;
18740
+ page?: number | undefined;
18741
18741
  q?: string | undefined;
18742
18742
  desc?: string | undefined;
18743
- sortBy?: any;
18744
- from?: string | undefined;
18745
- to?: string | undefined;
18746
- addDateFrom?: string | undefined;
18747
- addDateTo?: string | undefined;
18748
- refreshDateFrom?: string | undefined;
18749
- refreshDateTo?: string | undefined;
18743
+ sortBy?: "relevance" | "date" | "reverseDate" | "reverseAddDate" | "addDate" | "pubDate" | "refreshDate" | undefined;
18744
+ from?: Date | undefined;
18745
+ to?: Date | undefined;
18746
+ addDateFrom?: Date | undefined;
18747
+ addDateTo?: Date | undefined;
18748
+ refreshDateFrom?: Date | undefined;
18749
+ refreshDateTo?: Date | undefined;
18750
18750
  excludeSourceGroup?: string[] | undefined;
18751
18751
  byline?: string[] | undefined;
18752
18752
  author?: string[] | undefined;
@@ -18756,21 +18756,21 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
18756
18756
  searchTranslation?: boolean | undefined;
18757
18757
  excludeCategory?: string[] | undefined;
18758
18758
  linkTo?: string | undefined;
18759
- maxDistance?: any;
18760
- sourceLat?: any;
18761
- sourceLon?: any;
18762
- sourceMaxDistance?: any;
18759
+ maxDistance?: number | undefined;
18760
+ sourceLat?: number | undefined;
18761
+ sourceLon?: number | undefined;
18762
+ sourceMaxDistance?: number | undefined;
18763
18763
  showNumResults?: boolean | undefined;
18764
- positiveSentimentFrom?: any;
18765
- positiveSentimentTo?: any;
18766
- neutralSentimentFrom?: any;
18767
- neutralSentimentTo?: any;
18768
- negativeSentimentFrom?: any;
18769
- negativeSentimentTo?: any;
18764
+ positiveSentimentFrom?: number | undefined;
18765
+ positiveSentimentTo?: number | undefined;
18766
+ neutralSentimentFrom?: number | undefined;
18767
+ neutralSentimentTo?: number | undefined;
18768
+ negativeSentimentFrom?: number | undefined;
18769
+ negativeSentimentTo?: number | undefined;
18770
18770
  prefixTaxonomy?: string | undefined;
18771
18771
  showHighlighting?: boolean | undefined;
18772
- highlightFragmentSize?: any;
18773
- highlightNumFragments?: any;
18772
+ highlightFragmentSize?: number | undefined;
18773
+ highlightNumFragments?: number | undefined;
18774
18774
  highlightPreTag?: string | undefined;
18775
18775
  highlightPostTag?: string | undefined;
18776
18776
  highlightQ?: string | undefined;
@@ -18782,8 +18782,8 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
18782
18782
  city?: string[] | undefined;
18783
18783
  area?: string[] | undefined;
18784
18784
  title?: string | undefined;
18785
- lat?: any;
18786
- lon?: any;
18785
+ lat?: number | undefined;
18786
+ lon?: number | undefined;
18787
18787
  paywall?: boolean | undefined;
18788
18788
  location?: string[] | undefined;
18789
18789
  articleId?: string[] | undefined;
@@ -18823,17 +18823,17 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
18823
18823
  personName?: string[] | undefined;
18824
18824
  excludePersonName?: string[] | undefined;
18825
18825
  showReprints?: boolean | undefined;
18826
- size?: any;
18827
- page?: any;
18826
+ size?: number | undefined;
18827
+ page?: number | undefined;
18828
18828
  q?: string | undefined;
18829
18829
  desc?: string | undefined;
18830
- sortBy?: any;
18831
- from?: string | Date | undefined;
18832
- to?: string | Date | undefined;
18833
- addDateFrom?: string | Date | undefined;
18834
- addDateTo?: string | Date | undefined;
18835
- refreshDateFrom?: string | Date | undefined;
18836
- refreshDateTo?: string | Date | undefined;
18830
+ sortBy?: "relevance" | "date" | "reverseDate" | "reverseAddDate" | "addDate" | "pubDate" | "refreshDate" | undefined;
18831
+ from?: Date | undefined;
18832
+ to?: Date | undefined;
18833
+ addDateFrom?: Date | undefined;
18834
+ addDateTo?: Date | undefined;
18835
+ refreshDateFrom?: Date | undefined;
18836
+ refreshDateTo?: Date | undefined;
18837
18837
  excludeSourceGroup?: string[] | undefined;
18838
18838
  byline?: string[] | undefined;
18839
18839
  author?: string[] | undefined;
@@ -18843,21 +18843,21 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
18843
18843
  searchTranslation?: boolean | undefined;
18844
18844
  excludeCategory?: string[] | undefined;
18845
18845
  linkTo?: string | undefined;
18846
- maxDistance?: any;
18847
- sourceLat?: any;
18848
- sourceLon?: any;
18849
- sourceMaxDistance?: any;
18846
+ maxDistance?: number | undefined;
18847
+ sourceLat?: number | undefined;
18848
+ sourceLon?: number | undefined;
18849
+ sourceMaxDistance?: number | undefined;
18850
18850
  showNumResults?: boolean | undefined;
18851
- positiveSentimentFrom?: any;
18852
- positiveSentimentTo?: any;
18853
- neutralSentimentFrom?: any;
18854
- neutralSentimentTo?: any;
18855
- negativeSentimentFrom?: any;
18856
- negativeSentimentTo?: any;
18851
+ positiveSentimentFrom?: number | undefined;
18852
+ positiveSentimentTo?: number | undefined;
18853
+ neutralSentimentFrom?: number | undefined;
18854
+ neutralSentimentTo?: number | undefined;
18855
+ negativeSentimentFrom?: number | undefined;
18856
+ negativeSentimentTo?: number | undefined;
18857
18857
  prefixTaxonomy?: string | undefined;
18858
18858
  showHighlighting?: boolean | undefined;
18859
- highlightFragmentSize?: any;
18860
- highlightNumFragments?: any;
18859
+ highlightFragmentSize?: number | undefined;
18860
+ highlightNumFragments?: number | undefined;
18861
18861
  highlightPreTag?: string | undefined;
18862
18862
  highlightPostTag?: string | undefined;
18863
18863
  highlightQ?: string | undefined;
@@ -18887,19 +18887,19 @@ declare const SearchCompaniesQuerySchema: z.ZodObject<{
18887
18887
  /**
18888
18888
  * Filter for companies with at least this many employees.
18889
18889
  */
18890
- numEmployeesFrom: z.ZodOptional<z.ZodAny>;
18890
+ numEmployeesFrom: z.ZodOptional<z.ZodNumber>;
18891
18891
  /**
18892
18892
  * Filter for companies with no more than this many employees.
18893
18893
  */
18894
- numEmployeesTo: z.ZodOptional<z.ZodAny>;
18894
+ numEmployeesTo: z.ZodOptional<z.ZodNumber>;
18895
18895
  /**
18896
18896
  * Filter for companies that went public on or after this date. Accepts ISO 8601 format (e.g., 2023-01-01T00:00:00) or yyyy-mm-dd format.
18897
18897
  */
18898
- ipoFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
18898
+ ipoFrom: z.ZodOptional<z.ZodDate>;
18899
18899
  /**
18900
18900
  * Filter for companies that went public on or before this date. Accepts ISO 8601 format (e.g., 2023-12-31T23:59:59) or yyyy-mm-dd format.
18901
18901
  */
18902
- ipoTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
18902
+ ipoTo: z.ZodOptional<z.ZodDate>;
18903
18903
  /**
18904
18904
  * Primary search query for filtering companies across name, alternative names, domains, and ticker symbols. Supports Boolean operators (AND, OR, NOT), exact phrases with quotes, and wildcards (* and ?) for flexible searching.
18905
18905
  */
@@ -18919,43 +18919,43 @@ declare const SearchCompaniesQuerySchema: z.ZodObject<{
18919
18919
  /**
18920
18920
  * The number of companies to return per page in the paginated response.
18921
18921
  */
18922
- size: z.ZodOptional<z.ZodAny>;
18922
+ size: z.ZodOptional<z.ZodNumber>;
18923
18923
  /**
18924
18924
  * The specific page of results to retrieve in the paginated response. Starts at 0.
18925
18925
  */
18926
- page: z.ZodOptional<z.ZodAny>;
18926
+ page: z.ZodOptional<z.ZodNumber>;
18927
18927
  }, "strip", z.ZodTypeAny, {
18928
18928
  symbol?: string[] | undefined;
18929
18929
  name?: string | undefined;
18930
18930
  id?: string[] | undefined;
18931
18931
  country?: string[] | undefined;
18932
18932
  domain?: string[] | undefined;
18933
- size?: any;
18934
- page?: any;
18933
+ size?: number | undefined;
18934
+ page?: number | undefined;
18935
18935
  exchange?: string[] | undefined;
18936
18936
  industry?: string | undefined;
18937
18937
  sector?: string | undefined;
18938
18938
  q?: string | undefined;
18939
- numEmployeesFrom?: any;
18940
- numEmployeesTo?: any;
18941
- ipoFrom?: string | undefined;
18942
- ipoTo?: string | undefined;
18939
+ numEmployeesFrom?: number | undefined;
18940
+ numEmployeesTo?: number | undefined;
18941
+ ipoFrom?: Date | undefined;
18942
+ ipoTo?: Date | undefined;
18943
18943
  }, {
18944
18944
  symbol?: string[] | undefined;
18945
18945
  name?: string | undefined;
18946
18946
  id?: string[] | undefined;
18947
18947
  country?: string[] | undefined;
18948
18948
  domain?: string[] | undefined;
18949
- size?: any;
18950
- page?: any;
18949
+ size?: number | undefined;
18950
+ page?: number | undefined;
18951
18951
  exchange?: string[] | undefined;
18952
18952
  industry?: string | undefined;
18953
18953
  sector?: string | undefined;
18954
18954
  q?: string | undefined;
18955
- numEmployeesFrom?: any;
18956
- numEmployeesTo?: any;
18957
- ipoFrom?: string | Date | undefined;
18958
- ipoTo?: string | Date | undefined;
18955
+ numEmployeesFrom?: number | undefined;
18956
+ numEmployeesTo?: number | undefined;
18957
+ ipoFrom?: Date | undefined;
18958
+ ipoTo?: Date | undefined;
18959
18959
  }>;
18960
18960
  declare const SearchCompaniesRequestSchema: z.ZodObject<{
18961
18961
  /**
@@ -18981,19 +18981,19 @@ declare const SearchCompaniesRequestSchema: z.ZodObject<{
18981
18981
  /**
18982
18982
  * Filter for companies with at least this many employees.
18983
18983
  */
18984
- numEmployeesFrom: z.ZodOptional<z.ZodAny>;
18984
+ numEmployeesFrom: z.ZodOptional<z.ZodNumber>;
18985
18985
  /**
18986
18986
  * Filter for companies with no more than this many employees.
18987
18987
  */
18988
- numEmployeesTo: z.ZodOptional<z.ZodAny>;
18988
+ numEmployeesTo: z.ZodOptional<z.ZodNumber>;
18989
18989
  /**
18990
18990
  * Filter for companies that went public on or after this date. Accepts ISO 8601 format (e.g., 2023-01-01T00:00:00) or yyyy-mm-dd format.
18991
18991
  */
18992
- ipoFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
18992
+ ipoFrom: z.ZodOptional<z.ZodDate>;
18993
18993
  /**
18994
18994
  * Filter for companies that went public on or before this date. Accepts ISO 8601 format (e.g., 2023-12-31T23:59:59) or yyyy-mm-dd format.
18995
18995
  */
18996
- ipoTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
18996
+ ipoTo: z.ZodOptional<z.ZodDate>;
18997
18997
  /**
18998
18998
  * Primary search query for filtering companies across name, alternative names, domains, and ticker symbols. Supports Boolean operators (AND, OR, NOT), exact phrases with quotes, and wildcards (* and ?) for flexible searching.
18999
18999
  */
@@ -19013,43 +19013,43 @@ declare const SearchCompaniesRequestSchema: z.ZodObject<{
19013
19013
  /**
19014
19014
  * The number of companies to return per page in the paginated response.
19015
19015
  */
19016
- size: z.ZodOptional<z.ZodAny>;
19016
+ size: z.ZodOptional<z.ZodNumber>;
19017
19017
  /**
19018
19018
  * The specific page of results to retrieve in the paginated response. Starts at 0.
19019
19019
  */
19020
- page: z.ZodOptional<z.ZodAny>;
19020
+ page: z.ZodOptional<z.ZodNumber>;
19021
19021
  }, "strip", z.ZodTypeAny, {
19022
19022
  symbol?: string[] | undefined;
19023
19023
  name?: string | undefined;
19024
19024
  id?: string[] | undefined;
19025
19025
  country?: string[] | undefined;
19026
19026
  domain?: string[] | undefined;
19027
- size?: any;
19028
- page?: any;
19027
+ size?: number | undefined;
19028
+ page?: number | undefined;
19029
19029
  exchange?: string[] | undefined;
19030
19030
  industry?: string | undefined;
19031
19031
  sector?: string | undefined;
19032
19032
  q?: string | undefined;
19033
- numEmployeesFrom?: any;
19034
- numEmployeesTo?: any;
19035
- ipoFrom?: string | undefined;
19036
- ipoTo?: string | undefined;
19033
+ numEmployeesFrom?: number | undefined;
19034
+ numEmployeesTo?: number | undefined;
19035
+ ipoFrom?: Date | undefined;
19036
+ ipoTo?: Date | undefined;
19037
19037
  }, {
19038
19038
  symbol?: string[] | undefined;
19039
19039
  name?: string | undefined;
19040
19040
  id?: string[] | undefined;
19041
19041
  country?: string[] | undefined;
19042
19042
  domain?: string[] | undefined;
19043
- size?: any;
19044
- page?: any;
19043
+ size?: number | undefined;
19044
+ page?: number | undefined;
19045
19045
  exchange?: string[] | undefined;
19046
19046
  industry?: string | undefined;
19047
19047
  sector?: string | undefined;
19048
19048
  q?: string | undefined;
19049
- numEmployeesFrom?: any;
19050
- numEmployeesTo?: any;
19051
- ipoFrom?: string | Date | undefined;
19052
- ipoTo?: string | Date | undefined;
19049
+ numEmployeesFrom?: number | undefined;
19050
+ numEmployeesTo?: number | undefined;
19051
+ ipoFrom?: Date | undefined;
19052
+ ipoTo?: Date | undefined;
19053
19053
  }>;
19054
19054
  type SearchCompaniesRequest = z.input<typeof SearchCompaniesRequestSchema>;
19055
19055
  declare const SearchJournalistsQuerySchema: z.ZodObject<{
@@ -19072,11 +19072,11 @@ declare const SearchJournalistsQuerySchema: z.ZodObject<{
19072
19072
  /**
19073
19073
  * The number of journalists to return per page in the paginated response.
19074
19074
  */
19075
- size: z.ZodOptional<z.ZodAny>;
19075
+ size: z.ZodOptional<z.ZodNumber>;
19076
19076
  /**
19077
19077
  * The specific page of results to retrieve in the paginated response. Starts at 0.
19078
19078
  */
19079
- page: z.ZodOptional<z.ZodAny>;
19079
+ page: z.ZodOptional<z.ZodNumber>;
19080
19080
  /**
19081
19081
  * Filter journalists by the publisher domains they write for. Supports wildcards (* and ?) for pattern matching (e.g., *.cnn.com). Multiple values create an OR filter.
19082
19082
  */
@@ -19096,11 +19096,11 @@ declare const SearchJournalistsQuerySchema: z.ZodObject<{
19096
19096
  /**
19097
19097
  * Filter for journalists who publish at least this many articles per month. Used to identify more active journalists.
19098
19098
  */
19099
- minMonthlyPosts: z.ZodOptional<z.ZodAny>;
19099
+ minMonthlyPosts: z.ZodOptional<z.ZodNumber>;
19100
19100
  /**
19101
19101
  * Filter for journalists who publish no more than this many articles per month.
19102
19102
  */
19103
- maxMonthlyPosts: z.ZodOptional<z.ZodAny>;
19103
+ maxMonthlyPosts: z.ZodOptional<z.ZodNumber>;
19104
19104
  /**
19105
19105
  * Filter journalists 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). Multiple values create an OR filter.
19106
19106
  */
@@ -19108,11 +19108,11 @@ declare const SearchJournalistsQuerySchema: z.ZodObject<{
19108
19108
  /**
19109
19109
  * Filter for journalist profiles updated on or after this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
19110
19110
  */
19111
- updatedAtFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
19111
+ updatedAtFrom: z.ZodOptional<z.ZodDate>;
19112
19112
  /**
19113
19113
  * Filter for journalist profiles updated on or before this date. Accepts ISO 8601 format (e.g., 2023-03-01T23:59:59) or yyyy-mm-dd format.
19114
19114
  */
19115
- updatedAtTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
19115
+ updatedAtTo: z.ZodOptional<z.ZodDate>;
19116
19116
  /**
19117
19117
  * Controls whether to return the exact result count. When false (default), counts are capped at 10,000 for performance reasons. Set to true for precise counts in smaller result sets.
19118
19118
  */
@@ -19125,15 +19125,15 @@ declare const SearchJournalistsQuerySchema: z.ZodObject<{
19125
19125
  label?: string[] | undefined;
19126
19126
  category?: string[] | undefined;
19127
19127
  topic?: string[] | undefined;
19128
- size?: any;
19129
- page?: any;
19128
+ size?: number | undefined;
19129
+ page?: number | undefined;
19130
19130
  q?: string | undefined;
19131
19131
  showNumResults?: boolean | undefined;
19132
19132
  twitter?: string | undefined;
19133
- minMonthlyPosts?: any;
19134
- maxMonthlyPosts?: any;
19135
- updatedAtFrom?: string | undefined;
19136
- updatedAtTo?: string | undefined;
19133
+ minMonthlyPosts?: number | undefined;
19134
+ maxMonthlyPosts?: number | undefined;
19135
+ updatedAtFrom?: Date | undefined;
19136
+ updatedAtTo?: Date | undefined;
19137
19137
  }, {
19138
19138
  name?: string | undefined;
19139
19139
  id?: string[] | undefined;
@@ -19142,15 +19142,15 @@ declare const SearchJournalistsQuerySchema: z.ZodObject<{
19142
19142
  label?: string[] | undefined;
19143
19143
  category?: string[] | undefined;
19144
19144
  topic?: string[] | undefined;
19145
- size?: any;
19146
- page?: any;
19145
+ size?: number | undefined;
19146
+ page?: number | undefined;
19147
19147
  q?: string | undefined;
19148
19148
  showNumResults?: boolean | undefined;
19149
19149
  twitter?: string | undefined;
19150
- minMonthlyPosts?: any;
19151
- maxMonthlyPosts?: any;
19152
- updatedAtFrom?: string | Date | undefined;
19153
- updatedAtTo?: string | Date | undefined;
19150
+ minMonthlyPosts?: number | undefined;
19151
+ maxMonthlyPosts?: number | undefined;
19152
+ updatedAtFrom?: Date | undefined;
19153
+ updatedAtTo?: Date | undefined;
19154
19154
  }>;
19155
19155
  declare const SearchJournalistsRequestSchema: z.ZodObject<{
19156
19156
  /**
@@ -19172,11 +19172,11 @@ declare const SearchJournalistsRequestSchema: z.ZodObject<{
19172
19172
  /**
19173
19173
  * The number of journalists to return per page in the paginated response.
19174
19174
  */
19175
- size: z.ZodOptional<z.ZodAny>;
19175
+ size: z.ZodOptional<z.ZodNumber>;
19176
19176
  /**
19177
19177
  * The specific page of results to retrieve in the paginated response. Starts at 0.
19178
19178
  */
19179
- page: z.ZodOptional<z.ZodAny>;
19179
+ page: z.ZodOptional<z.ZodNumber>;
19180
19180
  /**
19181
19181
  * Filter journalists by the publisher domains they write for. Supports wildcards (* and ?) for pattern matching (e.g., *.cnn.com). Multiple values create an OR filter.
19182
19182
  */
@@ -19196,11 +19196,11 @@ declare const SearchJournalistsRequestSchema: z.ZodObject<{
19196
19196
  /**
19197
19197
  * Filter for journalists who publish at least this many articles per month. Used to identify more active journalists.
19198
19198
  */
19199
- minMonthlyPosts: z.ZodOptional<z.ZodAny>;
19199
+ minMonthlyPosts: z.ZodOptional<z.ZodNumber>;
19200
19200
  /**
19201
19201
  * Filter for journalists who publish no more than this many articles per month.
19202
19202
  */
19203
- maxMonthlyPosts: z.ZodOptional<z.ZodAny>;
19203
+ maxMonthlyPosts: z.ZodOptional<z.ZodNumber>;
19204
19204
  /**
19205
19205
  * Filter journalists 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). Multiple values create an OR filter.
19206
19206
  */
@@ -19208,11 +19208,11 @@ declare const SearchJournalistsRequestSchema: z.ZodObject<{
19208
19208
  /**
19209
19209
  * Filter for journalist profiles updated on or after this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
19210
19210
  */
19211
- updatedAtFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
19211
+ updatedAtFrom: z.ZodOptional<z.ZodDate>;
19212
19212
  /**
19213
19213
  * Filter for journalist profiles updated on or before this date. Accepts ISO 8601 format (e.g., 2023-03-01T23:59:59) or yyyy-mm-dd format.
19214
19214
  */
19215
- updatedAtTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
19215
+ updatedAtTo: z.ZodOptional<z.ZodDate>;
19216
19216
  /**
19217
19217
  * Controls whether to return the exact result count. When false (default), counts are capped at 10,000 for performance reasons. Set to true for precise counts in smaller result sets.
19218
19218
  */
@@ -19225,15 +19225,15 @@ declare const SearchJournalistsRequestSchema: z.ZodObject<{
19225
19225
  label?: string[] | undefined;
19226
19226
  category?: string[] | undefined;
19227
19227
  topic?: string[] | undefined;
19228
- size?: any;
19229
- page?: any;
19228
+ size?: number | undefined;
19229
+ page?: number | undefined;
19230
19230
  q?: string | undefined;
19231
19231
  showNumResults?: boolean | undefined;
19232
19232
  twitter?: string | undefined;
19233
- minMonthlyPosts?: any;
19234
- maxMonthlyPosts?: any;
19235
- updatedAtFrom?: string | undefined;
19236
- updatedAtTo?: string | undefined;
19233
+ minMonthlyPosts?: number | undefined;
19234
+ maxMonthlyPosts?: number | undefined;
19235
+ updatedAtFrom?: Date | undefined;
19236
+ updatedAtTo?: Date | undefined;
19237
19237
  }, {
19238
19238
  name?: string | undefined;
19239
19239
  id?: string[] | undefined;
@@ -19242,15 +19242,15 @@ declare const SearchJournalistsRequestSchema: z.ZodObject<{
19242
19242
  label?: string[] | undefined;
19243
19243
  category?: string[] | undefined;
19244
19244
  topic?: string[] | undefined;
19245
- size?: any;
19246
- page?: any;
19245
+ size?: number | undefined;
19246
+ page?: number | undefined;
19247
19247
  q?: string | undefined;
19248
19248
  showNumResults?: boolean | undefined;
19249
19249
  twitter?: string | undefined;
19250
- minMonthlyPosts?: any;
19251
- maxMonthlyPosts?: any;
19252
- updatedAtFrom?: string | Date | undefined;
19253
- updatedAtTo?: string | Date | undefined;
19250
+ minMonthlyPosts?: number | undefined;
19251
+ maxMonthlyPosts?: number | undefined;
19252
+ updatedAtFrom?: Date | undefined;
19253
+ updatedAtTo?: Date | undefined;
19254
19254
  }>;
19255
19255
  type SearchJournalistsRequest = z.input<typeof SearchJournalistsRequestSchema>;
19256
19256
  declare const SearchPeopleQuerySchema: z.ZodObject<{
@@ -19273,23 +19273,23 @@ declare const SearchPeopleQuerySchema: z.ZodObject<{
19273
19273
  /**
19274
19274
  * The specific page of results to retrieve in the paginated response. Starts at 0.
19275
19275
  */
19276
- page: z.ZodOptional<z.ZodAny>;
19276
+ page: z.ZodOptional<z.ZodNumber>;
19277
19277
  /**
19278
19278
  * The number of people to return per page in the paginated response.
19279
19279
  */
19280
- size: z.ZodOptional<z.ZodAny>;
19280
+ size: z.ZodOptional<z.ZodNumber>;
19281
19281
  }, "strip", z.ZodTypeAny, {
19282
19282
  name?: string | undefined;
19283
19283
  wikidataId?: string[] | undefined;
19284
- size?: any;
19285
- page?: any;
19284
+ size?: number | undefined;
19285
+ page?: number | undefined;
19286
19286
  occupationId?: string[] | undefined;
19287
19287
  occupationLabel?: string | undefined;
19288
19288
  }, {
19289
19289
  name?: string | undefined;
19290
19290
  wikidataId?: string[] | undefined;
19291
- size?: any;
19292
- page?: any;
19291
+ size?: number | undefined;
19292
+ page?: number | undefined;
19293
19293
  occupationId?: string[] | undefined;
19294
19294
  occupationLabel?: string | undefined;
19295
19295
  }>;
@@ -19313,23 +19313,23 @@ declare const SearchPeopleRequestSchema: z.ZodObject<{
19313
19313
  /**
19314
19314
  * The specific page of results to retrieve in the paginated response. Starts at 0.
19315
19315
  */
19316
- page: z.ZodOptional<z.ZodAny>;
19316
+ page: z.ZodOptional<z.ZodNumber>;
19317
19317
  /**
19318
19318
  * The number of people to return per page in the paginated response.
19319
19319
  */
19320
- size: z.ZodOptional<z.ZodAny>;
19320
+ size: z.ZodOptional<z.ZodNumber>;
19321
19321
  }, "strip", z.ZodTypeAny, {
19322
19322
  name?: string | undefined;
19323
19323
  wikidataId?: string[] | undefined;
19324
- size?: any;
19325
- page?: any;
19324
+ size?: number | undefined;
19325
+ page?: number | undefined;
19326
19326
  occupationId?: string[] | undefined;
19327
19327
  occupationLabel?: string | undefined;
19328
19328
  }, {
19329
19329
  name?: string | undefined;
19330
19330
  wikidataId?: string[] | undefined;
19331
- size?: any;
19332
- page?: any;
19331
+ size?: number | undefined;
19332
+ page?: number | undefined;
19333
19333
  occupationId?: string[] | undefined;
19334
19334
  occupationLabel?: string | undefined;
19335
19335
  }>;
@@ -19350,15 +19350,15 @@ declare const SearchSourcesQuerySchema: z.ZodObject<{
19350
19350
  /**
19351
19351
  * Determines the source sorting order. Options include relevance (default, best match to query), globalRank (by overall traffic and popularity), monthlyVisits (by total monthly visitor count), and avgMonthlyPosts (by number of articles published monthly).
19352
19352
  */
19353
- sortBy: z.ZodOptional<z.ZodAny>;
19353
+ sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt", "relevance", "count", "totalCount"]>>;
19354
19354
  /**
19355
19355
  * The specific page of results to retrieve in the paginated response. Starts at 0.
19356
19356
  */
19357
- page: z.ZodOptional<z.ZodAny>;
19357
+ page: z.ZodOptional<z.ZodNumber>;
19358
19358
  /**
19359
19359
  * The number of sources to return per page in the paginated response.
19360
19360
  */
19361
- size: z.ZodOptional<z.ZodAny>;
19361
+ size: z.ZodOptional<z.ZodNumber>;
19362
19362
  /**
19363
19363
  * Filter for sources with at least this many monthly visitors. Used to target publishers by audience size.
19364
19364
  */
@@ -19398,15 +19398,15 @@ declare const SearchSourcesQuerySchema: z.ZodObject<{
19398
19398
  /**
19399
19399
  * Latitude coordinate for filtering local publications by geographic proximity. Used with sourceLon and sourceMaxDistance for radius search.
19400
19400
  */
19401
- sourceLat: z.ZodOptional<z.ZodAny>;
19401
+ sourceLat: z.ZodOptional<z.ZodNumber>;
19402
19402
  /**
19403
19403
  * Longitude coordinate for filtering local publications by geographic proximity. Used with sourceLat and sourceMaxDistance for radius search.
19404
19404
  */
19405
- sourceLon: z.ZodOptional<z.ZodAny>;
19405
+ sourceLon: z.ZodOptional<z.ZodNumber>;
19406
19406
  /**
19407
19407
  * Maximum distance in kilometers from the coordinates defined by sourceLat and sourceLon. Defines the radius for local publication searches.
19408
19408
  */
19409
- sourceMaxDistance: z.ZodOptional<z.ZodAny>;
19409
+ sourceMaxDistance: z.ZodOptional<z.ZodNumber>;
19410
19410
  /**
19411
19411
  * Filter sources by their primary content categories such as Politics, Tech, Sports, Business, or Finance. Returns sources that frequently cover these topics. Multiple values create an OR filter.
19412
19412
  */
@@ -19444,12 +19444,12 @@ declare const SearchSourcesQuerySchema: z.ZodObject<{
19444
19444
  sourceState?: string[] | undefined;
19445
19445
  sourceCounty?: string[] | undefined;
19446
19446
  sourceCity?: string[] | undefined;
19447
- size?: any;
19448
- page?: any;
19449
- sortBy?: any;
19450
- sourceLat?: any;
19451
- sourceLon?: any;
19452
- sourceMaxDistance?: any;
19447
+ size?: number | undefined;
19448
+ page?: number | undefined;
19449
+ sortBy?: "createdAt" | "updatedAt" | "relevance" | "count" | "totalCount" | undefined;
19450
+ sourceLat?: number | undefined;
19451
+ sourceLon?: number | undefined;
19452
+ sourceMaxDistance?: number | undefined;
19453
19453
  showNumResults?: boolean | undefined;
19454
19454
  minMonthlyPosts?: any;
19455
19455
  maxMonthlyPosts?: any;
@@ -19469,12 +19469,12 @@ declare const SearchSourcesQuerySchema: z.ZodObject<{
19469
19469
  sourceState?: string[] | undefined;
19470
19470
  sourceCounty?: string[] | undefined;
19471
19471
  sourceCity?: string[] | undefined;
19472
- size?: any;
19473
- page?: any;
19474
- sortBy?: any;
19475
- sourceLat?: any;
19476
- sourceLon?: any;
19477
- sourceMaxDistance?: any;
19472
+ size?: number | undefined;
19473
+ page?: number | undefined;
19474
+ sortBy?: "createdAt" | "updatedAt" | "relevance" | "count" | "totalCount" | undefined;
19475
+ sourceLat?: number | undefined;
19476
+ sourceLon?: number | undefined;
19477
+ sourceMaxDistance?: number | undefined;
19478
19478
  showNumResults?: boolean | undefined;
19479
19479
  minMonthlyPosts?: any;
19480
19480
  maxMonthlyPosts?: any;
@@ -19498,15 +19498,15 @@ declare const SearchSourcesRequestSchema: z.ZodObject<{
19498
19498
  /**
19499
19499
  * Determines the source sorting order. Options include relevance (default, best match to query), globalRank (by overall traffic and popularity), monthlyVisits (by total monthly visitor count), and avgMonthlyPosts (by number of articles published monthly).
19500
19500
  */
19501
- sortBy: z.ZodOptional<z.ZodAny>;
19501
+ sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt", "relevance", "count", "totalCount"]>>;
19502
19502
  /**
19503
19503
  * The specific page of results to retrieve in the paginated response. Starts at 0.
19504
19504
  */
19505
- page: z.ZodOptional<z.ZodAny>;
19505
+ page: z.ZodOptional<z.ZodNumber>;
19506
19506
  /**
19507
19507
  * The number of sources to return per page in the paginated response.
19508
19508
  */
19509
- size: z.ZodOptional<z.ZodAny>;
19509
+ size: z.ZodOptional<z.ZodNumber>;
19510
19510
  /**
19511
19511
  * Filter for sources with at least this many monthly visitors. Used to target publishers by audience size.
19512
19512
  */
@@ -19546,15 +19546,15 @@ declare const SearchSourcesRequestSchema: z.ZodObject<{
19546
19546
  /**
19547
19547
  * Latitude coordinate for filtering local publications by geographic proximity. Used with sourceLon and sourceMaxDistance for radius search.
19548
19548
  */
19549
- sourceLat: z.ZodOptional<z.ZodAny>;
19549
+ sourceLat: z.ZodOptional<z.ZodNumber>;
19550
19550
  /**
19551
19551
  * Longitude coordinate for filtering local publications by geographic proximity. Used with sourceLat and sourceMaxDistance for radius search.
19552
19552
  */
19553
- sourceLon: z.ZodOptional<z.ZodAny>;
19553
+ sourceLon: z.ZodOptional<z.ZodNumber>;
19554
19554
  /**
19555
19555
  * Maximum distance in kilometers from the coordinates defined by sourceLat and sourceLon. Defines the radius for local publication searches.
19556
19556
  */
19557
- sourceMaxDistance: z.ZodOptional<z.ZodAny>;
19557
+ sourceMaxDistance: z.ZodOptional<z.ZodNumber>;
19558
19558
  /**
19559
19559
  * Filter sources by their primary content categories such as Politics, Tech, Sports, Business, or Finance. Returns sources that frequently cover these topics. Multiple values create an OR filter.
19560
19560
  */
@@ -19592,12 +19592,12 @@ declare const SearchSourcesRequestSchema: z.ZodObject<{
19592
19592
  sourceState?: string[] | undefined;
19593
19593
  sourceCounty?: string[] | undefined;
19594
19594
  sourceCity?: string[] | undefined;
19595
- size?: any;
19596
- page?: any;
19597
- sortBy?: any;
19598
- sourceLat?: any;
19599
- sourceLon?: any;
19600
- sourceMaxDistance?: any;
19595
+ size?: number | undefined;
19596
+ page?: number | undefined;
19597
+ sortBy?: "createdAt" | "updatedAt" | "relevance" | "count" | "totalCount" | undefined;
19598
+ sourceLat?: number | undefined;
19599
+ sourceLon?: number | undefined;
19600
+ sourceMaxDistance?: number | undefined;
19601
19601
  showNumResults?: boolean | undefined;
19602
19602
  minMonthlyPosts?: any;
19603
19603
  maxMonthlyPosts?: any;
@@ -19617,12 +19617,12 @@ declare const SearchSourcesRequestSchema: z.ZodObject<{
19617
19617
  sourceState?: string[] | undefined;
19618
19618
  sourceCounty?: string[] | undefined;
19619
19619
  sourceCity?: string[] | undefined;
19620
- size?: any;
19621
- page?: any;
19622
- sortBy?: any;
19623
- sourceLat?: any;
19624
- sourceLon?: any;
19625
- sourceMaxDistance?: any;
19620
+ size?: number | undefined;
19621
+ page?: number | undefined;
19622
+ sortBy?: "createdAt" | "updatedAt" | "relevance" | "count" | "totalCount" | undefined;
19623
+ sourceLat?: number | undefined;
19624
+ sourceLon?: number | undefined;
19625
+ sourceMaxDistance?: number | undefined;
19626
19626
  showNumResults?: boolean | undefined;
19627
19627
  minMonthlyPosts?: any;
19628
19628
  maxMonthlyPosts?: any;
@@ -19651,39 +19651,39 @@ declare const SearchStoriesQuerySchema: z.ZodObject<{
19651
19651
  /**
19652
19652
  * Determines the story sorting order. Options include createdAt (default, when stories first emerged), updatedAt (when stories received new articles, best for tracking developing events), relevance (best match to query), count (by unique article count), and totalCount (by total article count including reprints).
19653
19653
  */
19654
- sortBy: z.ZodOptional<z.ZodAny>;
19654
+ sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt", "relevance", "count", "totalCount"]>>;
19655
19655
  /**
19656
19656
  * The specific page of results to retrieve in the paginated response. Starts at 0.
19657
19657
  */
19658
- page: z.ZodOptional<z.ZodAny>;
19658
+ page: z.ZodOptional<z.ZodNumber>;
19659
19659
  /**
19660
19660
  * The number of articles to return per page in the paginated response.
19661
19661
  */
19662
- size: z.ZodOptional<z.ZodAny>;
19662
+ size: z.ZodOptional<z.ZodNumber>;
19663
19663
  /**
19664
19664
  * \&#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
19665
19665
  */
19666
- from: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
19666
+ from: z.ZodOptional<z.ZodDate>;
19667
19667
  /**
19668
19668
  * \&#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
19669
19669
  */
19670
- to: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
19670
+ to: z.ZodOptional<z.ZodDate>;
19671
19671
  /**
19672
19672
  * Filter for stories created after this date. Alternative parameter for filtering by story creation date.
19673
19673
  */
19674
- initializedFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
19674
+ initializedFrom: z.ZodOptional<z.ZodDate>;
19675
19675
  /**
19676
19676
  * Filter for stories created before this date. Alternative parameter for filtering by story creation date.
19677
19677
  */
19678
- initializedTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
19678
+ initializedTo: z.ZodOptional<z.ZodDate>;
19679
19679
  /**
19680
19680
  * Filter for stories that received new articles after this date. Useful for tracking developing news events or evolving storylines.
19681
19681
  */
19682
- updatedFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
19682
+ updatedFrom: z.ZodOptional<z.ZodDate>;
19683
19683
  /**
19684
19684
  * Filter for stories that received new articles before this date. Useful for tracking developing news events or evolving storylines.
19685
19685
  */
19686
- updatedTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
19686
+ updatedTo: z.ZodOptional<z.ZodDate>;
19687
19687
  /**
19688
19688
  * Filter stories by specific topics such as Markets, Crime, Cryptocurrency, or College Sports. Topics are more granular than categories, and stories can include multiple topics based on their constituent articles. Use the /topics endpoint for a complete list of available topics. Multiple values create an OR filter.
19689
19689
  */
@@ -19707,7 +19707,7 @@ declare const SearchStoriesQuerySchema: z.ZodObject<{
19707
19707
  /**
19708
19708
  * 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.
19709
19709
  */
19710
- minUniqueSources: z.ZodOptional<z.ZodAny>;
19710
+ minUniqueSources: z.ZodOptional<z.ZodNumber>;
19711
19711
  /**
19712
19712
  * 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.
19713
19713
  */
@@ -19751,11 +19751,11 @@ declare const SearchStoriesQuerySchema: z.ZodObject<{
19751
19751
  /**
19752
19752
  * Filter by minimum cluster size. Minimum cluster size filter applies to number of unique articles.
19753
19753
  */
19754
- minClusterSize: z.ZodOptional<z.ZodAny>;
19754
+ minClusterSize: z.ZodOptional<z.ZodNumber>;
19755
19755
  /**
19756
19756
  * Filter by maximum cluster size. Maximum cluster size filter applies to number of unique articles in the cluster.
19757
19757
  */
19758
- maxClusterSize: z.ZodOptional<z.ZodAny>;
19758
+ maxClusterSize: z.ZodOptional<z.ZodNumber>;
19759
19759
  /**
19760
19760
  * Filter to only include stories that have been assigned names. Defaults to true. Note that stories only receive names after they contain at least 5 unique articles.
19761
19761
  */
@@ -19763,27 +19763,27 @@ declare const SearchStoriesQuerySchema: z.ZodObject<{
19763
19763
  /**
19764
19764
  * Filter articles with an aggregate positive sentiment score greater than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger positive tone.
19765
19765
  */
19766
- positiveSentimentFrom: z.ZodOptional<z.ZodAny>;
19766
+ positiveSentimentFrom: z.ZodOptional<z.ZodNumber>;
19767
19767
  /**
19768
19768
  * Filter articles with an aggregate positive sentiment score less than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger positive tone.
19769
19769
  */
19770
- positiveSentimentTo: z.ZodOptional<z.ZodAny>;
19770
+ positiveSentimentTo: z.ZodOptional<z.ZodNumber>;
19771
19771
  /**
19772
19772
  * Filter articles with an aggregate neutral sentiment score greater than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger neutral tone.
19773
19773
  */
19774
- neutralSentimentFrom: z.ZodOptional<z.ZodAny>;
19774
+ neutralSentimentFrom: z.ZodOptional<z.ZodNumber>;
19775
19775
  /**
19776
19776
  * Filter articles with an aggregate neutral sentiment score less than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger neutral tone.
19777
19777
  */
19778
- neutralSentimentTo: z.ZodOptional<z.ZodAny>;
19778
+ neutralSentimentTo: z.ZodOptional<z.ZodNumber>;
19779
19779
  /**
19780
19780
  * Filter stories with an aggregate negative sentiment score greater than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger negative tone.
19781
19781
  */
19782
- negativeSentimentFrom: z.ZodOptional<z.ZodAny>;
19782
+ negativeSentimentFrom: z.ZodOptional<z.ZodNumber>;
19783
19783
  /**
19784
19784
  * Filter articles with an aggregate negative sentiment score less than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger negative tone.
19785
19785
  */
19786
- negativeSentimentTo: z.ZodOptional<z.ZodAny>;
19786
+ negativeSentimentTo: z.ZodOptional<z.ZodNumber>;
19787
19787
  /**
19788
19788
  * Parameter showStoryPageInfo
19789
19789
  */
@@ -19803,11 +19803,11 @@ declare const SearchStoriesQuerySchema: z.ZodObject<{
19803
19803
  /**
19804
19804
  * Specifies the size in characters of each highlighted text fragment. Defaults to 100 if not specified.
19805
19805
  */
19806
- highlightFragmentSize: z.ZodOptional<z.ZodAny>;
19806
+ highlightFragmentSize: z.ZodOptional<z.ZodNumber>;
19807
19807
  /**
19808
19808
  * Controls the maximum number of highlighted fragments to return per field.
19809
19809
  */
19810
- highlightNumFragments: z.ZodOptional<z.ZodAny>;
19810
+ highlightNumFragments: z.ZodOptional<z.ZodNumber>;
19811
19811
  /**
19812
19812
  * Defines the HTML tag that appears before highlighted text. Defaults to \&#39;&lt;em&gt;\&#39; if not specified.
19813
19813
  */
@@ -19838,33 +19838,33 @@ declare const SearchStoriesQuerySchema: z.ZodObject<{
19838
19838
  companyName?: string | undefined;
19839
19839
  personWikidataId?: string[] | undefined;
19840
19840
  personName?: string | undefined;
19841
- size?: any;
19842
- page?: any;
19841
+ size?: number | undefined;
19842
+ page?: number | undefined;
19843
19843
  q?: string | undefined;
19844
- sortBy?: any;
19845
- from?: string | undefined;
19846
- to?: string | undefined;
19844
+ sortBy?: "createdAt" | "updatedAt" | "relevance" | "count" | "totalCount" | undefined;
19845
+ from?: Date | undefined;
19846
+ to?: Date | undefined;
19847
19847
  showNumResults?: boolean | undefined;
19848
- positiveSentimentFrom?: any;
19849
- positiveSentimentTo?: any;
19850
- neutralSentimentFrom?: any;
19851
- neutralSentimentTo?: any;
19852
- negativeSentimentFrom?: any;
19853
- negativeSentimentTo?: any;
19848
+ positiveSentimentFrom?: number | undefined;
19849
+ positiveSentimentTo?: number | undefined;
19850
+ neutralSentimentFrom?: number | undefined;
19851
+ neutralSentimentTo?: number | undefined;
19852
+ negativeSentimentFrom?: number | undefined;
19853
+ negativeSentimentTo?: number | undefined;
19854
19854
  showHighlighting?: boolean | undefined;
19855
- highlightFragmentSize?: any;
19856
- highlightNumFragments?: any;
19855
+ highlightFragmentSize?: number | undefined;
19856
+ highlightNumFragments?: number | undefined;
19857
19857
  highlightPreTag?: string | undefined;
19858
19858
  highlightPostTag?: string | undefined;
19859
19859
  highlightQ?: string | undefined;
19860
19860
  excludeClusterId?: string[] | undefined;
19861
- initializedFrom?: string | undefined;
19862
- initializedTo?: string | undefined;
19863
- updatedFrom?: string | undefined;
19864
- updatedTo?: string | undefined;
19865
- minUniqueSources?: any;
19866
- minClusterSize?: any;
19867
- maxClusterSize?: any;
19861
+ initializedFrom?: Date | undefined;
19862
+ initializedTo?: Date | undefined;
19863
+ updatedFrom?: Date | undefined;
19864
+ updatedTo?: Date | undefined;
19865
+ minUniqueSources?: number | undefined;
19866
+ minClusterSize?: number | undefined;
19867
+ maxClusterSize?: number | undefined;
19868
19868
  nameExists?: boolean | undefined;
19869
19869
  showStoryPageInfo?: boolean | undefined;
19870
19870
  showDuplicates?: boolean | undefined;
@@ -19886,33 +19886,33 @@ declare const SearchStoriesQuerySchema: z.ZodObject<{
19886
19886
  companyName?: string | undefined;
19887
19887
  personWikidataId?: string[] | undefined;
19888
19888
  personName?: string | undefined;
19889
- size?: any;
19890
- page?: any;
19889
+ size?: number | undefined;
19890
+ page?: number | undefined;
19891
19891
  q?: string | undefined;
19892
- sortBy?: any;
19893
- from?: string | Date | undefined;
19894
- to?: string | Date | undefined;
19892
+ sortBy?: "createdAt" | "updatedAt" | "relevance" | "count" | "totalCount" | undefined;
19893
+ from?: Date | undefined;
19894
+ to?: Date | undefined;
19895
19895
  showNumResults?: boolean | undefined;
19896
- positiveSentimentFrom?: any;
19897
- positiveSentimentTo?: any;
19898
- neutralSentimentFrom?: any;
19899
- neutralSentimentTo?: any;
19900
- negativeSentimentFrom?: any;
19901
- negativeSentimentTo?: any;
19896
+ positiveSentimentFrom?: number | undefined;
19897
+ positiveSentimentTo?: number | undefined;
19898
+ neutralSentimentFrom?: number | undefined;
19899
+ neutralSentimentTo?: number | undefined;
19900
+ negativeSentimentFrom?: number | undefined;
19901
+ negativeSentimentTo?: number | undefined;
19902
19902
  showHighlighting?: boolean | undefined;
19903
- highlightFragmentSize?: any;
19904
- highlightNumFragments?: any;
19903
+ highlightFragmentSize?: number | undefined;
19904
+ highlightNumFragments?: number | undefined;
19905
19905
  highlightPreTag?: string | undefined;
19906
19906
  highlightPostTag?: string | undefined;
19907
19907
  highlightQ?: string | undefined;
19908
19908
  excludeClusterId?: string[] | undefined;
19909
- initializedFrom?: string | Date | undefined;
19910
- initializedTo?: string | Date | undefined;
19911
- updatedFrom?: string | Date | undefined;
19912
- updatedTo?: string | Date | undefined;
19913
- minUniqueSources?: any;
19914
- minClusterSize?: any;
19915
- maxClusterSize?: any;
19909
+ initializedFrom?: Date | undefined;
19910
+ initializedTo?: Date | undefined;
19911
+ updatedFrom?: Date | undefined;
19912
+ updatedTo?: Date | undefined;
19913
+ minUniqueSources?: number | undefined;
19914
+ minClusterSize?: number | undefined;
19915
+ maxClusterSize?: number | undefined;
19916
19916
  nameExists?: boolean | undefined;
19917
19917
  showStoryPageInfo?: boolean | undefined;
19918
19918
  showDuplicates?: boolean | undefined;
@@ -19937,39 +19937,39 @@ declare const SearchStoriesRequestSchema: z.ZodObject<{
19937
19937
  /**
19938
19938
  * Determines the story sorting order. Options include createdAt (default, when stories first emerged), updatedAt (when stories received new articles, best for tracking developing events), relevance (best match to query), count (by unique article count), and totalCount (by total article count including reprints).
19939
19939
  */
19940
- sortBy: z.ZodOptional<z.ZodAny>;
19940
+ sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt", "relevance", "count", "totalCount"]>>;
19941
19941
  /**
19942
19942
  * The specific page of results to retrieve in the paginated response. Starts at 0.
19943
19943
  */
19944
- page: z.ZodOptional<z.ZodAny>;
19944
+ page: z.ZodOptional<z.ZodNumber>;
19945
19945
  /**
19946
19946
  * The number of articles to return per page in the paginated response.
19947
19947
  */
19948
- size: z.ZodOptional<z.ZodAny>;
19948
+ size: z.ZodOptional<z.ZodNumber>;
19949
19949
  /**
19950
19950
  * \&#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
19951
19951
  */
19952
- from: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
19952
+ from: z.ZodOptional<z.ZodDate>;
19953
19953
  /**
19954
19954
  * \&#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
19955
19955
  */
19956
- to: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
19956
+ to: z.ZodOptional<z.ZodDate>;
19957
19957
  /**
19958
19958
  * Filter for stories created after this date. Alternative parameter for filtering by story creation date.
19959
19959
  */
19960
- initializedFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
19960
+ initializedFrom: z.ZodOptional<z.ZodDate>;
19961
19961
  /**
19962
19962
  * Filter for stories created before this date. Alternative parameter for filtering by story creation date.
19963
19963
  */
19964
- initializedTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
19964
+ initializedTo: z.ZodOptional<z.ZodDate>;
19965
19965
  /**
19966
19966
  * Filter for stories that received new articles after this date. Useful for tracking developing news events or evolving storylines.
19967
19967
  */
19968
- updatedFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
19968
+ updatedFrom: z.ZodOptional<z.ZodDate>;
19969
19969
  /**
19970
19970
  * Filter for stories that received new articles before this date. Useful for tracking developing news events or evolving storylines.
19971
19971
  */
19972
- updatedTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
19972
+ updatedTo: z.ZodOptional<z.ZodDate>;
19973
19973
  /**
19974
19974
  * Filter stories by specific topics such as Markets, Crime, Cryptocurrency, or College Sports. Topics are more granular than categories, and stories can include multiple topics based on their constituent articles. Use the /topics endpoint for a complete list of available topics. Multiple values create an OR filter.
19975
19975
  */
@@ -19993,7 +19993,7 @@ declare const SearchStoriesRequestSchema: z.ZodObject<{
19993
19993
  /**
19994
19994
  * 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.
19995
19995
  */
19996
- minUniqueSources: z.ZodOptional<z.ZodAny>;
19996
+ minUniqueSources: z.ZodOptional<z.ZodNumber>;
19997
19997
  /**
19998
19998
  * 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.
19999
19999
  */
@@ -20037,11 +20037,11 @@ declare const SearchStoriesRequestSchema: z.ZodObject<{
20037
20037
  /**
20038
20038
  * Filter by minimum cluster size. Minimum cluster size filter applies to number of unique articles.
20039
20039
  */
20040
- minClusterSize: z.ZodOptional<z.ZodAny>;
20040
+ minClusterSize: z.ZodOptional<z.ZodNumber>;
20041
20041
  /**
20042
20042
  * Filter by maximum cluster size. Maximum cluster size filter applies to number of unique articles in the cluster.
20043
20043
  */
20044
- maxClusterSize: z.ZodOptional<z.ZodAny>;
20044
+ maxClusterSize: z.ZodOptional<z.ZodNumber>;
20045
20045
  /**
20046
20046
  * Filter to only include stories that have been assigned names. Defaults to true. Note that stories only receive names after they contain at least 5 unique articles.
20047
20047
  */
@@ -20049,27 +20049,27 @@ declare const SearchStoriesRequestSchema: z.ZodObject<{
20049
20049
  /**
20050
20050
  * Filter articles with an aggregate positive sentiment score greater than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger positive tone.
20051
20051
  */
20052
- positiveSentimentFrom: z.ZodOptional<z.ZodAny>;
20052
+ positiveSentimentFrom: z.ZodOptional<z.ZodNumber>;
20053
20053
  /**
20054
20054
  * Filter articles with an aggregate positive sentiment score less than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger positive tone.
20055
20055
  */
20056
- positiveSentimentTo: z.ZodOptional<z.ZodAny>;
20056
+ positiveSentimentTo: z.ZodOptional<z.ZodNumber>;
20057
20057
  /**
20058
20058
  * Filter articles with an aggregate neutral sentiment score greater than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger neutral tone.
20059
20059
  */
20060
- neutralSentimentFrom: z.ZodOptional<z.ZodAny>;
20060
+ neutralSentimentFrom: z.ZodOptional<z.ZodNumber>;
20061
20061
  /**
20062
20062
  * Filter articles with an aggregate neutral sentiment score less than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger neutral tone.
20063
20063
  */
20064
- neutralSentimentTo: z.ZodOptional<z.ZodAny>;
20064
+ neutralSentimentTo: z.ZodOptional<z.ZodNumber>;
20065
20065
  /**
20066
20066
  * Filter stories with an aggregate negative sentiment score greater than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger negative tone.
20067
20067
  */
20068
- negativeSentimentFrom: z.ZodOptional<z.ZodAny>;
20068
+ negativeSentimentFrom: z.ZodOptional<z.ZodNumber>;
20069
20069
  /**
20070
20070
  * Filter articles with an aggregate negative sentiment score less than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger negative tone.
20071
20071
  */
20072
- negativeSentimentTo: z.ZodOptional<z.ZodAny>;
20072
+ negativeSentimentTo: z.ZodOptional<z.ZodNumber>;
20073
20073
  /**
20074
20074
  * Parameter showStoryPageInfo
20075
20075
  */
@@ -20089,11 +20089,11 @@ declare const SearchStoriesRequestSchema: z.ZodObject<{
20089
20089
  /**
20090
20090
  * Specifies the size in characters of each highlighted text fragment. Defaults to 100 if not specified.
20091
20091
  */
20092
- highlightFragmentSize: z.ZodOptional<z.ZodAny>;
20092
+ highlightFragmentSize: z.ZodOptional<z.ZodNumber>;
20093
20093
  /**
20094
20094
  * Controls the maximum number of highlighted fragments to return per field.
20095
20095
  */
20096
- highlightNumFragments: z.ZodOptional<z.ZodAny>;
20096
+ highlightNumFragments: z.ZodOptional<z.ZodNumber>;
20097
20097
  /**
20098
20098
  * Defines the HTML tag that appears before highlighted text. Defaults to \&#39;&lt;em&gt;\&#39; if not specified.
20099
20099
  */
@@ -20124,33 +20124,33 @@ declare const SearchStoriesRequestSchema: z.ZodObject<{
20124
20124
  companyName?: string | undefined;
20125
20125
  personWikidataId?: string[] | undefined;
20126
20126
  personName?: string | undefined;
20127
- size?: any;
20128
- page?: any;
20127
+ size?: number | undefined;
20128
+ page?: number | undefined;
20129
20129
  q?: string | undefined;
20130
- sortBy?: any;
20131
- from?: string | undefined;
20132
- to?: string | undefined;
20130
+ sortBy?: "createdAt" | "updatedAt" | "relevance" | "count" | "totalCount" | undefined;
20131
+ from?: Date | undefined;
20132
+ to?: Date | undefined;
20133
20133
  showNumResults?: boolean | undefined;
20134
- positiveSentimentFrom?: any;
20135
- positiveSentimentTo?: any;
20136
- neutralSentimentFrom?: any;
20137
- neutralSentimentTo?: any;
20138
- negativeSentimentFrom?: any;
20139
- negativeSentimentTo?: any;
20134
+ positiveSentimentFrom?: number | undefined;
20135
+ positiveSentimentTo?: number | undefined;
20136
+ neutralSentimentFrom?: number | undefined;
20137
+ neutralSentimentTo?: number | undefined;
20138
+ negativeSentimentFrom?: number | undefined;
20139
+ negativeSentimentTo?: number | undefined;
20140
20140
  showHighlighting?: boolean | undefined;
20141
- highlightFragmentSize?: any;
20142
- highlightNumFragments?: any;
20141
+ highlightFragmentSize?: number | undefined;
20142
+ highlightNumFragments?: number | undefined;
20143
20143
  highlightPreTag?: string | undefined;
20144
20144
  highlightPostTag?: string | undefined;
20145
20145
  highlightQ?: string | undefined;
20146
20146
  excludeClusterId?: string[] | undefined;
20147
- initializedFrom?: string | undefined;
20148
- initializedTo?: string | undefined;
20149
- updatedFrom?: string | undefined;
20150
- updatedTo?: string | undefined;
20151
- minUniqueSources?: any;
20152
- minClusterSize?: any;
20153
- maxClusterSize?: any;
20147
+ initializedFrom?: Date | undefined;
20148
+ initializedTo?: Date | undefined;
20149
+ updatedFrom?: Date | undefined;
20150
+ updatedTo?: Date | undefined;
20151
+ minUniqueSources?: number | undefined;
20152
+ minClusterSize?: number | undefined;
20153
+ maxClusterSize?: number | undefined;
20154
20154
  nameExists?: boolean | undefined;
20155
20155
  showStoryPageInfo?: boolean | undefined;
20156
20156
  showDuplicates?: boolean | undefined;
@@ -20172,33 +20172,33 @@ declare const SearchStoriesRequestSchema: z.ZodObject<{
20172
20172
  companyName?: string | undefined;
20173
20173
  personWikidataId?: string[] | undefined;
20174
20174
  personName?: string | undefined;
20175
- size?: any;
20176
- page?: any;
20175
+ size?: number | undefined;
20176
+ page?: number | undefined;
20177
20177
  q?: string | undefined;
20178
- sortBy?: any;
20179
- from?: string | Date | undefined;
20180
- to?: string | Date | undefined;
20178
+ sortBy?: "createdAt" | "updatedAt" | "relevance" | "count" | "totalCount" | undefined;
20179
+ from?: Date | undefined;
20180
+ to?: Date | undefined;
20181
20181
  showNumResults?: boolean | undefined;
20182
- positiveSentimentFrom?: any;
20183
- positiveSentimentTo?: any;
20184
- neutralSentimentFrom?: any;
20185
- neutralSentimentTo?: any;
20186
- negativeSentimentFrom?: any;
20187
- negativeSentimentTo?: any;
20182
+ positiveSentimentFrom?: number | undefined;
20183
+ positiveSentimentTo?: number | undefined;
20184
+ neutralSentimentFrom?: number | undefined;
20185
+ neutralSentimentTo?: number | undefined;
20186
+ negativeSentimentFrom?: number | undefined;
20187
+ negativeSentimentTo?: number | undefined;
20188
20188
  showHighlighting?: boolean | undefined;
20189
- highlightFragmentSize?: any;
20190
- highlightNumFragments?: any;
20189
+ highlightFragmentSize?: number | undefined;
20190
+ highlightNumFragments?: number | undefined;
20191
20191
  highlightPreTag?: string | undefined;
20192
20192
  highlightPostTag?: string | undefined;
20193
20193
  highlightQ?: string | undefined;
20194
20194
  excludeClusterId?: string[] | undefined;
20195
- initializedFrom?: string | Date | undefined;
20196
- initializedTo?: string | Date | undefined;
20197
- updatedFrom?: string | Date | undefined;
20198
- updatedTo?: string | Date | undefined;
20199
- minUniqueSources?: any;
20200
- minClusterSize?: any;
20201
- maxClusterSize?: any;
20195
+ initializedFrom?: Date | undefined;
20196
+ initializedTo?: Date | undefined;
20197
+ updatedFrom?: Date | undefined;
20198
+ updatedTo?: Date | undefined;
20199
+ minUniqueSources?: number | undefined;
20200
+ minClusterSize?: number | undefined;
20201
+ maxClusterSize?: number | undefined;
20202
20202
  nameExists?: boolean | undefined;
20203
20203
  showStoryPageInfo?: boolean | undefined;
20204
20204
  showDuplicates?: boolean | undefined;
@@ -20236,39 +20236,39 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
20236
20236
  /**
20237
20237
  * Determines the article sorting order. Options include relevance (default), date/pubDate (newest publication date first), reverseDate (oldest publication date first), addDate (newest ingestion date first), reverseAddDate (oldest ingestion date first), and refreshDate (most recently updated in system first, often identical to addDate).
20238
20238
  */
20239
- sortBy: z.ZodOptional<z.ZodAny>;
20239
+ sortBy: z.ZodOptional<z.ZodEnum<["relevance", "date", "reverseDate", "reverseAddDate", "addDate", "pubDate", "refreshDate"]>>;
20240
20240
  /**
20241
20241
  * The specific page of results to retrieve in the paginated response. Starts at 0.
20242
20242
  */
20243
- page: z.ZodOptional<z.ZodAny>;
20243
+ page: z.ZodOptional<z.ZodNumber>;
20244
20244
  /**
20245
20245
  * The number of articles to return per page in the paginated response.
20246
20246
  */
20247
- size: z.ZodOptional<z.ZodAny>;
20247
+ size: z.ZodOptional<z.ZodNumber>;
20248
20248
  /**
20249
20249
  * Filter for articles published after this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
20250
20250
  */
20251
- from: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
20251
+ from: z.ZodOptional<z.ZodDate>;
20252
20252
  /**
20253
20253
  * Filter for articles published before this date. Accepts ISO 8601 format (e.g., 2022-02-01T23:59:59) or yyyy-mm-dd format.
20254
20254
  */
20255
- to: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
20255
+ to: z.ZodOptional<z.ZodDate>;
20256
20256
  /**
20257
20257
  * Filter for articles added to Perigon\&#39;s system after this date. Accepts ISO 8601 format (e.g., 2022-02-01T00:00:00) or yyyy-mm-dd format.
20258
20258
  */
20259
- addDateFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
20259
+ addDateFrom: z.ZodOptional<z.ZodDate>;
20260
20260
  /**
20261
20261
  * Filter for articles added to Perigon\&#39;s system before this date. Accepts ISO 8601 format (e.g., 2022-02-01T23:59:59) or yyyy-mm-dd format.
20262
20262
  */
20263
- addDateTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
20263
+ addDateTo: z.ZodOptional<z.ZodDate>;
20264
20264
  /**
20265
20265
  * Filter for articles refreshed/updated in Perigon\&#39;s system after this date. In most cases yields similar results to addDateFrom but can differ for updated content. Accepts ISO 8601 format (e.g., 2022-02-01T00:00:00) or yyyy-mm-dd format.
20266
20266
  */
20267
- refreshDateFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
20267
+ refreshDateFrom: z.ZodOptional<z.ZodDate>;
20268
20268
  /**
20269
20269
  * Filter for articles refreshed/updated in Perigon\&#39;s system before this date. In most cases yields similar results to addDateTo but can differ for updated content. Accepts ISO 8601 format (e.g., 2022-02-01T23:59:59) or yyyy-mm-dd format.
20270
20270
  */
20271
- refreshDateTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
20271
+ refreshDateTo: z.ZodOptional<z.ZodDate>;
20272
20272
  /**
20273
20273
  * Filter articles by their primary medium type. Accepts Article for written content or Video for video-based stories. Multiple values create an OR filter.
20274
20274
  */
@@ -20408,15 +20408,15 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
20408
20408
  /**
20409
20409
  * Latitude of the center point to search places
20410
20410
  */
20411
- lat: z.ZodOptional<z.ZodAny>;
20411
+ lat: z.ZodOptional<z.ZodNumber>;
20412
20412
  /**
20413
20413
  * Longitude of the center point to search places
20414
20414
  */
20415
- lon: z.ZodOptional<z.ZodAny>;
20415
+ lon: z.ZodOptional<z.ZodNumber>;
20416
20416
  /**
20417
20417
  * Maximum distance (in km) from starting point to search articles by tagged places
20418
20418
  */
20419
- maxDistance: z.ZodOptional<z.ZodAny>;
20419
+ maxDistance: z.ZodOptional<z.ZodNumber>;
20420
20420
  /**
20421
20421
  * Find articles published by sources that are located within a given city.
20422
20422
  */
@@ -20436,15 +20436,15 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
20436
20436
  /**
20437
20437
  * Latitude of the center point to search articles created by local publications.
20438
20438
  */
20439
- sourceLat: z.ZodOptional<z.ZodAny>;
20439
+ sourceLat: z.ZodOptional<z.ZodNumber>;
20440
20440
  /**
20441
20441
  * Latitude of the center point to search articles created by local publications.
20442
20442
  */
20443
- sourceLon: z.ZodOptional<z.ZodAny>;
20443
+ sourceLon: z.ZodOptional<z.ZodNumber>;
20444
20444
  /**
20445
20445
  * Maximum distance from starting point to search articles created by local publications.
20446
20446
  */
20447
- sourceMaxDistance: z.ZodOptional<z.ZodAny>;
20447
+ sourceMaxDistance: z.ZodOptional<z.ZodNumber>;
20448
20448
  /**
20449
20449
  * Filter articles by Wikidata IDs of mentioned people. Refer to the /people endpoint for a complete list of tracked individuals.
20450
20450
  */
@@ -20496,27 +20496,27 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
20496
20496
  /**
20497
20497
  * Filter articles with a positive sentiment score greater than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger positive tone.
20498
20498
  */
20499
- positiveSentimentFrom: z.ZodOptional<z.ZodAny>;
20499
+ positiveSentimentFrom: z.ZodOptional<z.ZodNumber>;
20500
20500
  /**
20501
20501
  * Filter articles with a positive sentiment score less than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger positive tone.
20502
20502
  */
20503
- positiveSentimentTo: z.ZodOptional<z.ZodAny>;
20503
+ positiveSentimentTo: z.ZodOptional<z.ZodNumber>;
20504
20504
  /**
20505
20505
  * Filter articles with a neutral sentiment score greater than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger neutral tone.
20506
20506
  */
20507
- neutralSentimentFrom: z.ZodOptional<z.ZodAny>;
20507
+ neutralSentimentFrom: z.ZodOptional<z.ZodNumber>;
20508
20508
  /**
20509
20509
  * Filter articles with a neutral sentiment score less than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger neutral tone.
20510
20510
  */
20511
- neutralSentimentTo: z.ZodOptional<z.ZodAny>;
20511
+ neutralSentimentTo: z.ZodOptional<z.ZodNumber>;
20512
20512
  /**
20513
20513
  * Filter articles with a negative sentiment score greater than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger negative tone.
20514
20514
  */
20515
- negativeSentimentFrom: z.ZodOptional<z.ZodAny>;
20515
+ negativeSentimentFrom: z.ZodOptional<z.ZodNumber>;
20516
20516
  /**
20517
20517
  * Filter articles with a negative sentiment score less than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger negative tone.
20518
20518
  */
20519
- negativeSentimentTo: z.ZodOptional<z.ZodAny>;
20519
+ negativeSentimentTo: z.ZodOptional<z.ZodNumber>;
20520
20520
  /**
20521
20521
  * 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)
20522
20522
  */
@@ -20532,11 +20532,11 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
20532
20532
  /**
20533
20533
  * Specifies the size in characters of each highlighted text fragment. Defaults to 100 if not specified.
20534
20534
  */
20535
- highlightFragmentSize: z.ZodOptional<z.ZodAny>;
20535
+ highlightFragmentSize: z.ZodOptional<z.ZodNumber>;
20536
20536
  /**
20537
20537
  * Controls the maximum number of highlighted fragments to return per field.
20538
20538
  */
20539
- highlightNumFragments: z.ZodOptional<z.ZodAny>;
20539
+ highlightNumFragments: z.ZodOptional<z.ZodNumber>;
20540
20540
  /**
20541
20541
  * Defines the HTML tag that appears before highlighted text. Defaults to \&#39;&lt;em&gt;\&#39; if not specified.
20542
20542
  */
@@ -20557,8 +20557,8 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
20557
20557
  city?: string[] | undefined;
20558
20558
  area?: string[] | undefined;
20559
20559
  title?: string | undefined;
20560
- lat?: any;
20561
- lon?: any;
20560
+ lat?: number | undefined;
20561
+ lon?: number | undefined;
20562
20562
  paywall?: boolean | undefined;
20563
20563
  location?: string[] | undefined;
20564
20564
  articleId?: string[] | undefined;
@@ -20598,17 +20598,17 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
20598
20598
  personName?: string[] | undefined;
20599
20599
  excludePersonName?: string[] | undefined;
20600
20600
  showReprints?: boolean | undefined;
20601
- size?: any;
20602
- page?: any;
20601
+ size?: number | undefined;
20602
+ page?: number | undefined;
20603
20603
  q?: string | undefined;
20604
20604
  desc?: string | undefined;
20605
- sortBy?: any;
20606
- from?: string | undefined;
20607
- to?: string | undefined;
20608
- addDateFrom?: string | undefined;
20609
- addDateTo?: string | undefined;
20610
- refreshDateFrom?: string | undefined;
20611
- refreshDateTo?: string | undefined;
20605
+ sortBy?: "relevance" | "date" | "reverseDate" | "reverseAddDate" | "addDate" | "pubDate" | "refreshDate" | undefined;
20606
+ from?: Date | undefined;
20607
+ to?: Date | undefined;
20608
+ addDateFrom?: Date | undefined;
20609
+ addDateTo?: Date | undefined;
20610
+ refreshDateFrom?: Date | undefined;
20611
+ refreshDateTo?: Date | undefined;
20612
20612
  excludeSourceGroup?: string[] | undefined;
20613
20613
  byline?: string[] | undefined;
20614
20614
  author?: string[] | undefined;
@@ -20618,21 +20618,21 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
20618
20618
  searchTranslation?: boolean | undefined;
20619
20619
  excludeCategory?: string[] | undefined;
20620
20620
  linkTo?: string | undefined;
20621
- maxDistance?: any;
20622
- sourceLat?: any;
20623
- sourceLon?: any;
20624
- sourceMaxDistance?: any;
20621
+ maxDistance?: number | undefined;
20622
+ sourceLat?: number | undefined;
20623
+ sourceLon?: number | undefined;
20624
+ sourceMaxDistance?: number | undefined;
20625
20625
  showNumResults?: boolean | undefined;
20626
- positiveSentimentFrom?: any;
20627
- positiveSentimentTo?: any;
20628
- neutralSentimentFrom?: any;
20629
- neutralSentimentTo?: any;
20630
- negativeSentimentFrom?: any;
20631
- negativeSentimentTo?: any;
20626
+ positiveSentimentFrom?: number | undefined;
20627
+ positiveSentimentTo?: number | undefined;
20628
+ neutralSentimentFrom?: number | undefined;
20629
+ neutralSentimentTo?: number | undefined;
20630
+ negativeSentimentFrom?: number | undefined;
20631
+ negativeSentimentTo?: number | undefined;
20632
20632
  prefixTaxonomy?: string | undefined;
20633
20633
  showHighlighting?: boolean | undefined;
20634
- highlightFragmentSize?: any;
20635
- highlightNumFragments?: any;
20634
+ highlightFragmentSize?: number | undefined;
20635
+ highlightNumFragments?: number | undefined;
20636
20636
  highlightPreTag?: string | undefined;
20637
20637
  highlightPostTag?: string | undefined;
20638
20638
  highlightQ?: string | undefined;
@@ -20644,8 +20644,8 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
20644
20644
  city?: string[] | undefined;
20645
20645
  area?: string[] | undefined;
20646
20646
  title?: string | undefined;
20647
- lat?: any;
20648
- lon?: any;
20647
+ lat?: number | undefined;
20648
+ lon?: number | undefined;
20649
20649
  paywall?: boolean | undefined;
20650
20650
  location?: string[] | undefined;
20651
20651
  articleId?: string[] | undefined;
@@ -20685,17 +20685,17 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
20685
20685
  personName?: string[] | undefined;
20686
20686
  excludePersonName?: string[] | undefined;
20687
20687
  showReprints?: boolean | undefined;
20688
- size?: any;
20689
- page?: any;
20688
+ size?: number | undefined;
20689
+ page?: number | undefined;
20690
20690
  q?: string | undefined;
20691
20691
  desc?: string | undefined;
20692
- sortBy?: any;
20693
- from?: string | Date | undefined;
20694
- to?: string | Date | undefined;
20695
- addDateFrom?: string | Date | undefined;
20696
- addDateTo?: string | Date | undefined;
20697
- refreshDateFrom?: string | Date | undefined;
20698
- refreshDateTo?: string | Date | undefined;
20692
+ sortBy?: "relevance" | "date" | "reverseDate" | "reverseAddDate" | "addDate" | "pubDate" | "refreshDate" | undefined;
20693
+ from?: Date | undefined;
20694
+ to?: Date | undefined;
20695
+ addDateFrom?: Date | undefined;
20696
+ addDateTo?: Date | undefined;
20697
+ refreshDateFrom?: Date | undefined;
20698
+ refreshDateTo?: Date | undefined;
20699
20699
  excludeSourceGroup?: string[] | undefined;
20700
20700
  byline?: string[] | undefined;
20701
20701
  author?: string[] | undefined;
@@ -20705,21 +20705,21 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
20705
20705
  searchTranslation?: boolean | undefined;
20706
20706
  excludeCategory?: string[] | undefined;
20707
20707
  linkTo?: string | undefined;
20708
- maxDistance?: any;
20709
- sourceLat?: any;
20710
- sourceLon?: any;
20711
- sourceMaxDistance?: any;
20708
+ maxDistance?: number | undefined;
20709
+ sourceLat?: number | undefined;
20710
+ sourceLon?: number | undefined;
20711
+ sourceMaxDistance?: number | undefined;
20712
20712
  showNumResults?: boolean | undefined;
20713
- positiveSentimentFrom?: any;
20714
- positiveSentimentTo?: any;
20715
- neutralSentimentFrom?: any;
20716
- neutralSentimentTo?: any;
20717
- negativeSentimentFrom?: any;
20718
- negativeSentimentTo?: any;
20713
+ positiveSentimentFrom?: number | undefined;
20714
+ positiveSentimentTo?: number | undefined;
20715
+ neutralSentimentFrom?: number | undefined;
20716
+ neutralSentimentTo?: number | undefined;
20717
+ negativeSentimentFrom?: number | undefined;
20718
+ negativeSentimentTo?: number | undefined;
20719
20719
  prefixTaxonomy?: string | undefined;
20720
20720
  showHighlighting?: boolean | undefined;
20721
- highlightFragmentSize?: any;
20722
- highlightNumFragments?: any;
20721
+ highlightFragmentSize?: number | undefined;
20722
+ highlightNumFragments?: number | undefined;
20723
20723
  highlightPreTag?: string | undefined;
20724
20724
  highlightPostTag?: string | undefined;
20725
20725
  highlightQ?: string | undefined;
@@ -20729,18 +20729,98 @@ declare const SearchSummarizerBodySchema: z.ZodObject<{
20729
20729
  * Parameter summaryBody
20730
20730
  * @required
20731
20731
  */
20732
- summaryBody: z.ZodAny;
20732
+ summaryBody: z.ZodObject<{
20733
+ prompt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20734
+ maxArticleCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20735
+ returnedArticleCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20736
+ summarizeFields: z.ZodNullable<z.ZodOptional<z.ZodEnum<["TITLE", "CONTENT", "SUMMARY"]>>>;
20737
+ method: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ARTICLES", "CLUSTERS"]>>>;
20738
+ 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", "deepseek-r1-distill-llama-70b"]>>>;
20739
+ temperature: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20740
+ topP: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20741
+ maxTokens: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20742
+ }, "strip", z.ZodTypeAny, {
20743
+ prompt?: string | null | undefined;
20744
+ maxArticleCount?: number | null | undefined;
20745
+ returnedArticleCount?: number | null | undefined;
20746
+ summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20747
+ method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20748
+ model?: "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "llama-3.3-70b-versatile" | "deepseek-r1-distill-llama-70b" | null | undefined;
20749
+ temperature?: number | null | undefined;
20750
+ topP?: number | null | undefined;
20751
+ maxTokens?: number | null | undefined;
20752
+ }, {
20753
+ prompt?: string | null | undefined;
20754
+ maxArticleCount?: number | null | undefined;
20755
+ returnedArticleCount?: number | null | undefined;
20756
+ summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20757
+ method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20758
+ model?: "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "llama-3.3-70b-versatile" | "deepseek-r1-distill-llama-70b" | null | undefined;
20759
+ temperature?: number | null | undefined;
20760
+ topP?: number | null | undefined;
20761
+ maxTokens?: number | null | undefined;
20762
+ }>;
20733
20763
  }, "strip", z.ZodTypeAny, {
20734
- summaryBody?: any;
20764
+ summaryBody: {
20765
+ prompt?: string | null | undefined;
20766
+ maxArticleCount?: number | null | undefined;
20767
+ returnedArticleCount?: number | null | undefined;
20768
+ summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20769
+ method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20770
+ model?: "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "llama-3.3-70b-versatile" | "deepseek-r1-distill-llama-70b" | null | undefined;
20771
+ temperature?: number | null | undefined;
20772
+ topP?: number | null | undefined;
20773
+ maxTokens?: number | null | undefined;
20774
+ };
20735
20775
  }, {
20736
- summaryBody?: any;
20776
+ summaryBody: {
20777
+ prompt?: string | null | undefined;
20778
+ maxArticleCount?: number | null | undefined;
20779
+ returnedArticleCount?: number | null | undefined;
20780
+ summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20781
+ method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20782
+ model?: "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "llama-3.3-70b-versatile" | "deepseek-r1-distill-llama-70b" | null | undefined;
20783
+ temperature?: number | null | undefined;
20784
+ topP?: number | null | undefined;
20785
+ maxTokens?: number | null | undefined;
20786
+ };
20737
20787
  }>;
20738
20788
  declare const SearchSummarizerRequestSchema: z.ZodObject<{
20739
20789
  /**
20740
20790
  * Parameter summaryBody
20741
20791
  * @required
20742
20792
  */
20743
- summaryBody: z.ZodAny;
20793
+ summaryBody: z.ZodObject<{
20794
+ prompt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20795
+ maxArticleCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20796
+ returnedArticleCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20797
+ summarizeFields: z.ZodNullable<z.ZodOptional<z.ZodEnum<["TITLE", "CONTENT", "SUMMARY"]>>>;
20798
+ method: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ARTICLES", "CLUSTERS"]>>>;
20799
+ 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", "deepseek-r1-distill-llama-70b"]>>>;
20800
+ temperature: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20801
+ topP: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20802
+ maxTokens: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20803
+ }, "strip", z.ZodTypeAny, {
20804
+ prompt?: string | null | undefined;
20805
+ maxArticleCount?: number | null | undefined;
20806
+ returnedArticleCount?: number | null | undefined;
20807
+ summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20808
+ method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20809
+ model?: "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "llama-3.3-70b-versatile" | "deepseek-r1-distill-llama-70b" | null | undefined;
20810
+ temperature?: number | null | undefined;
20811
+ topP?: number | null | undefined;
20812
+ maxTokens?: number | null | undefined;
20813
+ }, {
20814
+ prompt?: string | null | undefined;
20815
+ maxArticleCount?: number | null | undefined;
20816
+ returnedArticleCount?: number | null | undefined;
20817
+ summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
20818
+ method?: "ARTICLES" | "CLUSTERS" | null | undefined;
20819
+ model?: "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "llama-3.3-70b-versatile" | "deepseek-r1-distill-llama-70b" | null | undefined;
20820
+ temperature?: number | null | undefined;
20821
+ topP?: number | null | undefined;
20822
+ maxTokens?: number | null | undefined;
20823
+ }>;
20744
20824
  /**
20745
20825
  * 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.
20746
20826
  */
@@ -20772,39 +20852,39 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
20772
20852
  /**
20773
20853
  * Determines the article sorting order. Options include relevance (default), date/pubDate (newest publication date first), reverseDate (oldest publication date first), addDate (newest ingestion date first), reverseAddDate (oldest ingestion date first), and refreshDate (most recently updated in system first, often identical to addDate).
20774
20854
  */
20775
- sortBy: z.ZodOptional<z.ZodAny>;
20855
+ sortBy: z.ZodOptional<z.ZodEnum<["relevance", "date", "reverseDate", "reverseAddDate", "addDate", "pubDate", "refreshDate"]>>;
20776
20856
  /**
20777
20857
  * The specific page of results to retrieve in the paginated response. Starts at 0.
20778
20858
  */
20779
- page: z.ZodOptional<z.ZodAny>;
20859
+ page: z.ZodOptional<z.ZodNumber>;
20780
20860
  /**
20781
20861
  * The number of articles to return per page in the paginated response.
20782
20862
  */
20783
- size: z.ZodOptional<z.ZodAny>;
20863
+ size: z.ZodOptional<z.ZodNumber>;
20784
20864
  /**
20785
20865
  * Filter for articles published after this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
20786
20866
  */
20787
- from: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
20867
+ from: z.ZodOptional<z.ZodDate>;
20788
20868
  /**
20789
20869
  * Filter for articles published before this date. Accepts ISO 8601 format (e.g., 2022-02-01T23:59:59) or yyyy-mm-dd format.
20790
20870
  */
20791
- to: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
20871
+ to: z.ZodOptional<z.ZodDate>;
20792
20872
  /**
20793
20873
  * Filter for articles added to Perigon\&#39;s system after this date. Accepts ISO 8601 format (e.g., 2022-02-01T00:00:00) or yyyy-mm-dd format.
20794
20874
  */
20795
- addDateFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
20875
+ addDateFrom: z.ZodOptional<z.ZodDate>;
20796
20876
  /**
20797
20877
  * Filter for articles added to Perigon\&#39;s system before this date. Accepts ISO 8601 format (e.g., 2022-02-01T23:59:59) or yyyy-mm-dd format.
20798
20878
  */
20799
- addDateTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
20879
+ addDateTo: z.ZodOptional<z.ZodDate>;
20800
20880
  /**
20801
20881
  * Filter for articles refreshed/updated in Perigon\&#39;s system after this date. In most cases yields similar results to addDateFrom but can differ for updated content. Accepts ISO 8601 format (e.g., 2022-02-01T00:00:00) or yyyy-mm-dd format.
20802
20882
  */
20803
- refreshDateFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
20883
+ refreshDateFrom: z.ZodOptional<z.ZodDate>;
20804
20884
  /**
20805
20885
  * Filter for articles refreshed/updated in Perigon\&#39;s system before this date. In most cases yields similar results to addDateTo but can differ for updated content. Accepts ISO 8601 format (e.g., 2022-02-01T23:59:59) or yyyy-mm-dd format.
20806
20886
  */
20807
- refreshDateTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
20887
+ refreshDateTo: z.ZodOptional<z.ZodDate>;
20808
20888
  /**
20809
20889
  * Filter articles by their primary medium type. Accepts Article for written content or Video for video-based stories. Multiple values create an OR filter.
20810
20890
  */
@@ -20944,15 +21024,15 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
20944
21024
  /**
20945
21025
  * Latitude of the center point to search places
20946
21026
  */
20947
- lat: z.ZodOptional<z.ZodAny>;
21027
+ lat: z.ZodOptional<z.ZodNumber>;
20948
21028
  /**
20949
21029
  * Longitude of the center point to search places
20950
21030
  */
20951
- lon: z.ZodOptional<z.ZodAny>;
21031
+ lon: z.ZodOptional<z.ZodNumber>;
20952
21032
  /**
20953
21033
  * Maximum distance (in km) from starting point to search articles by tagged places
20954
21034
  */
20955
- maxDistance: z.ZodOptional<z.ZodAny>;
21035
+ maxDistance: z.ZodOptional<z.ZodNumber>;
20956
21036
  /**
20957
21037
  * Find articles published by sources that are located within a given city.
20958
21038
  */
@@ -20972,15 +21052,15 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
20972
21052
  /**
20973
21053
  * Latitude of the center point to search articles created by local publications.
20974
21054
  */
20975
- sourceLat: z.ZodOptional<z.ZodAny>;
21055
+ sourceLat: z.ZodOptional<z.ZodNumber>;
20976
21056
  /**
20977
21057
  * Latitude of the center point to search articles created by local publications.
20978
21058
  */
20979
- sourceLon: z.ZodOptional<z.ZodAny>;
21059
+ sourceLon: z.ZodOptional<z.ZodNumber>;
20980
21060
  /**
20981
21061
  * Maximum distance from starting point to search articles created by local publications.
20982
21062
  */
20983
- sourceMaxDistance: z.ZodOptional<z.ZodAny>;
21063
+ sourceMaxDistance: z.ZodOptional<z.ZodNumber>;
20984
21064
  /**
20985
21065
  * Filter articles by Wikidata IDs of mentioned people. Refer to the /people endpoint for a complete list of tracked individuals.
20986
21066
  */
@@ -21032,27 +21112,27 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
21032
21112
  /**
21033
21113
  * Filter articles with a positive sentiment score greater than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger positive tone.
21034
21114
  */
21035
- positiveSentimentFrom: z.ZodOptional<z.ZodAny>;
21115
+ positiveSentimentFrom: z.ZodOptional<z.ZodNumber>;
21036
21116
  /**
21037
21117
  * Filter articles with a positive sentiment score less than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger positive tone.
21038
21118
  */
21039
- positiveSentimentTo: z.ZodOptional<z.ZodAny>;
21119
+ positiveSentimentTo: z.ZodOptional<z.ZodNumber>;
21040
21120
  /**
21041
21121
  * Filter articles with a neutral sentiment score greater than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger neutral tone.
21042
21122
  */
21043
- neutralSentimentFrom: z.ZodOptional<z.ZodAny>;
21123
+ neutralSentimentFrom: z.ZodOptional<z.ZodNumber>;
21044
21124
  /**
21045
21125
  * Filter articles with a neutral sentiment score less than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger neutral tone.
21046
21126
  */
21047
- neutralSentimentTo: z.ZodOptional<z.ZodAny>;
21127
+ neutralSentimentTo: z.ZodOptional<z.ZodNumber>;
21048
21128
  /**
21049
21129
  * Filter articles with a negative sentiment score greater than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger negative tone.
21050
21130
  */
21051
- negativeSentimentFrom: z.ZodOptional<z.ZodAny>;
21131
+ negativeSentimentFrom: z.ZodOptional<z.ZodNumber>;
21052
21132
  /**
21053
21133
  * Filter articles with a negative sentiment score less than or equal to the specified value. Scores range from 0 to 1, with higher values indicating stronger negative tone.
21054
21134
  */
21055
- negativeSentimentTo: z.ZodOptional<z.ZodAny>;
21135
+ negativeSentimentTo: z.ZodOptional<z.ZodNumber>;
21056
21136
  /**
21057
21137
  * 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)
21058
21138
  */
@@ -21068,11 +21148,11 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
21068
21148
  /**
21069
21149
  * Specifies the size in characters of each highlighted text fragment. Defaults to 100 if not specified.
21070
21150
  */
21071
- highlightFragmentSize: z.ZodOptional<z.ZodAny>;
21151
+ highlightFragmentSize: z.ZodOptional<z.ZodNumber>;
21072
21152
  /**
21073
21153
  * Controls the maximum number of highlighted fragments to return per field.
21074
21154
  */
21075
- highlightNumFragments: z.ZodOptional<z.ZodAny>;
21155
+ highlightNumFragments: z.ZodOptional<z.ZodNumber>;
21076
21156
  /**
21077
21157
  * Defines the HTML tag that appears before highlighted text. Defaults to \&#39;&lt;em&gt;\&#39; if not specified.
21078
21158
  */
@@ -21086,6 +21166,17 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
21086
21166
  */
21087
21167
  highlightQ: z.ZodOptional<z.ZodString>;
21088
21168
  }, "strip", z.ZodTypeAny, {
21169
+ summaryBody: {
21170
+ prompt?: string | null | undefined;
21171
+ maxArticleCount?: number | null | undefined;
21172
+ returnedArticleCount?: number | null | undefined;
21173
+ summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
21174
+ method?: "ARTICLES" | "CLUSTERS" | null | undefined;
21175
+ model?: "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "llama-3.3-70b-versatile" | "deepseek-r1-distill-llama-70b" | null | undefined;
21176
+ temperature?: number | null | undefined;
21177
+ topP?: number | null | undefined;
21178
+ maxTokens?: number | null | undefined;
21179
+ };
21089
21180
  url?: string | undefined;
21090
21181
  country?: string[] | undefined;
21091
21182
  state?: string[] | undefined;
@@ -21093,8 +21184,8 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
21093
21184
  city?: string[] | undefined;
21094
21185
  area?: string[] | undefined;
21095
21186
  title?: string | undefined;
21096
- lat?: any;
21097
- lon?: any;
21187
+ lat?: number | undefined;
21188
+ lon?: number | undefined;
21098
21189
  paywall?: boolean | undefined;
21099
21190
  location?: string[] | undefined;
21100
21191
  articleId?: string[] | undefined;
@@ -21134,17 +21225,17 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
21134
21225
  personName?: string[] | undefined;
21135
21226
  excludePersonName?: string[] | undefined;
21136
21227
  showReprints?: boolean | undefined;
21137
- size?: any;
21138
- page?: any;
21228
+ size?: number | undefined;
21229
+ page?: number | undefined;
21139
21230
  q?: string | undefined;
21140
21231
  desc?: string | undefined;
21141
- sortBy?: any;
21142
- from?: string | undefined;
21143
- to?: string | undefined;
21144
- addDateFrom?: string | undefined;
21145
- addDateTo?: string | undefined;
21146
- refreshDateFrom?: string | undefined;
21147
- refreshDateTo?: string | undefined;
21232
+ sortBy?: "relevance" | "date" | "reverseDate" | "reverseAddDate" | "addDate" | "pubDate" | "refreshDate" | undefined;
21233
+ from?: Date | undefined;
21234
+ to?: Date | undefined;
21235
+ addDateFrom?: Date | undefined;
21236
+ addDateTo?: Date | undefined;
21237
+ refreshDateFrom?: Date | undefined;
21238
+ refreshDateTo?: Date | undefined;
21148
21239
  excludeSourceGroup?: string[] | undefined;
21149
21240
  byline?: string[] | undefined;
21150
21241
  author?: string[] | undefined;
@@ -21154,26 +21245,36 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
21154
21245
  searchTranslation?: boolean | undefined;
21155
21246
  excludeCategory?: string[] | undefined;
21156
21247
  linkTo?: string | undefined;
21157
- maxDistance?: any;
21158
- sourceLat?: any;
21159
- sourceLon?: any;
21160
- sourceMaxDistance?: any;
21248
+ maxDistance?: number | undefined;
21249
+ sourceLat?: number | undefined;
21250
+ sourceLon?: number | undefined;
21251
+ sourceMaxDistance?: number | undefined;
21161
21252
  showNumResults?: boolean | undefined;
21162
- positiveSentimentFrom?: any;
21163
- positiveSentimentTo?: any;
21164
- neutralSentimentFrom?: any;
21165
- neutralSentimentTo?: any;
21166
- negativeSentimentFrom?: any;
21167
- negativeSentimentTo?: any;
21253
+ positiveSentimentFrom?: number | undefined;
21254
+ positiveSentimentTo?: number | undefined;
21255
+ neutralSentimentFrom?: number | undefined;
21256
+ neutralSentimentTo?: number | undefined;
21257
+ negativeSentimentFrom?: number | undefined;
21258
+ negativeSentimentTo?: number | undefined;
21168
21259
  prefixTaxonomy?: string | undefined;
21169
21260
  showHighlighting?: boolean | undefined;
21170
- highlightFragmentSize?: any;
21171
- highlightNumFragments?: any;
21261
+ highlightFragmentSize?: number | undefined;
21262
+ highlightNumFragments?: number | undefined;
21172
21263
  highlightPreTag?: string | undefined;
21173
21264
  highlightPostTag?: string | undefined;
21174
21265
  highlightQ?: string | undefined;
21175
- summaryBody?: any;
21176
21266
  }, {
21267
+ summaryBody: {
21268
+ prompt?: string | null | undefined;
21269
+ maxArticleCount?: number | null | undefined;
21270
+ returnedArticleCount?: number | null | undefined;
21271
+ summarizeFields?: "TITLE" | "CONTENT" | "SUMMARY" | null | undefined;
21272
+ method?: "ARTICLES" | "CLUSTERS" | null | undefined;
21273
+ model?: "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "llama-3.3-70b-versatile" | "deepseek-r1-distill-llama-70b" | null | undefined;
21274
+ temperature?: number | null | undefined;
21275
+ topP?: number | null | undefined;
21276
+ maxTokens?: number | null | undefined;
21277
+ };
21177
21278
  url?: string | undefined;
21178
21279
  country?: string[] | undefined;
21179
21280
  state?: string[] | undefined;
@@ -21181,8 +21282,8 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
21181
21282
  city?: string[] | undefined;
21182
21283
  area?: string[] | undefined;
21183
21284
  title?: string | undefined;
21184
- lat?: any;
21185
- lon?: any;
21285
+ lat?: number | undefined;
21286
+ lon?: number | undefined;
21186
21287
  paywall?: boolean | undefined;
21187
21288
  location?: string[] | undefined;
21188
21289
  articleId?: string[] | undefined;
@@ -21222,17 +21323,17 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
21222
21323
  personName?: string[] | undefined;
21223
21324
  excludePersonName?: string[] | undefined;
21224
21325
  showReprints?: boolean | undefined;
21225
- size?: any;
21226
- page?: any;
21326
+ size?: number | undefined;
21327
+ page?: number | undefined;
21227
21328
  q?: string | undefined;
21228
21329
  desc?: string | undefined;
21229
- sortBy?: any;
21230
- from?: string | Date | undefined;
21231
- to?: string | Date | undefined;
21232
- addDateFrom?: string | Date | undefined;
21233
- addDateTo?: string | Date | undefined;
21234
- refreshDateFrom?: string | Date | undefined;
21235
- refreshDateTo?: string | Date | undefined;
21330
+ sortBy?: "relevance" | "date" | "reverseDate" | "reverseAddDate" | "addDate" | "pubDate" | "refreshDate" | undefined;
21331
+ from?: Date | undefined;
21332
+ to?: Date | undefined;
21333
+ addDateFrom?: Date | undefined;
21334
+ addDateTo?: Date | undefined;
21335
+ refreshDateFrom?: Date | undefined;
21336
+ refreshDateTo?: Date | undefined;
21236
21337
  excludeSourceGroup?: string[] | undefined;
21237
21338
  byline?: string[] | undefined;
21238
21339
  author?: string[] | undefined;
@@ -21242,25 +21343,24 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
21242
21343
  searchTranslation?: boolean | undefined;
21243
21344
  excludeCategory?: string[] | undefined;
21244
21345
  linkTo?: string | undefined;
21245
- maxDistance?: any;
21246
- sourceLat?: any;
21247
- sourceLon?: any;
21248
- sourceMaxDistance?: any;
21346
+ maxDistance?: number | undefined;
21347
+ sourceLat?: number | undefined;
21348
+ sourceLon?: number | undefined;
21349
+ sourceMaxDistance?: number | undefined;
21249
21350
  showNumResults?: boolean | undefined;
21250
- positiveSentimentFrom?: any;
21251
- positiveSentimentTo?: any;
21252
- neutralSentimentFrom?: any;
21253
- neutralSentimentTo?: any;
21254
- negativeSentimentFrom?: any;
21255
- negativeSentimentTo?: any;
21351
+ positiveSentimentFrom?: number | undefined;
21352
+ positiveSentimentTo?: number | undefined;
21353
+ neutralSentimentFrom?: number | undefined;
21354
+ neutralSentimentTo?: number | undefined;
21355
+ negativeSentimentFrom?: number | undefined;
21356
+ negativeSentimentTo?: number | undefined;
21256
21357
  prefixTaxonomy?: string | undefined;
21257
21358
  showHighlighting?: boolean | undefined;
21258
- highlightFragmentSize?: any;
21259
- highlightNumFragments?: any;
21359
+ highlightFragmentSize?: number | undefined;
21360
+ highlightNumFragments?: number | undefined;
21260
21361
  highlightPreTag?: string | undefined;
21261
21362
  highlightPostTag?: string | undefined;
21262
21363
  highlightQ?: string | undefined;
21263
- summaryBody?: any;
21264
21364
  }>;
21265
21365
  type SearchSummarizerRequest = z.input<typeof SearchSummarizerRequestSchema>;
21266
21366
  declare const SearchTopicsQuerySchema: z.ZodObject<{
@@ -21279,22 +21379,22 @@ declare const SearchTopicsQuerySchema: z.ZodObject<{
21279
21379
  /**
21280
21380
  * The specific page of results to retrieve in the paginated response. Starts at 0.
21281
21381
  */
21282
- page: z.ZodOptional<z.ZodAny>;
21382
+ page: z.ZodOptional<z.ZodNumber>;
21283
21383
  /**
21284
21384
  * The number of topics to return per page in the paginated response.
21285
21385
  */
21286
- size: z.ZodOptional<z.ZodAny>;
21386
+ size: z.ZodOptional<z.ZodNumber>;
21287
21387
  }, "strip", z.ZodTypeAny, {
21288
21388
  name?: string | undefined;
21289
21389
  category?: string | undefined;
21290
- size?: any;
21291
- page?: any;
21390
+ size?: number | undefined;
21391
+ page?: number | undefined;
21292
21392
  subcategory?: string | undefined;
21293
21393
  }, {
21294
21394
  name?: string | undefined;
21295
21395
  category?: string | undefined;
21296
- size?: any;
21297
- page?: any;
21396
+ size?: number | undefined;
21397
+ page?: number | undefined;
21298
21398
  subcategory?: string | undefined;
21299
21399
  }>;
21300
21400
  declare const SearchTopicsRequestSchema: z.ZodObject<{
@@ -21313,22 +21413,22 @@ declare const SearchTopicsRequestSchema: z.ZodObject<{
21313
21413
  /**
21314
21414
  * The specific page of results to retrieve in the paginated response. Starts at 0.
21315
21415
  */
21316
- page: z.ZodOptional<z.ZodAny>;
21416
+ page: z.ZodOptional<z.ZodNumber>;
21317
21417
  /**
21318
21418
  * The number of topics to return per page in the paginated response.
21319
21419
  */
21320
- size: z.ZodOptional<z.ZodAny>;
21420
+ size: z.ZodOptional<z.ZodNumber>;
21321
21421
  }, "strip", z.ZodTypeAny, {
21322
21422
  name?: string | undefined;
21323
21423
  category?: string | undefined;
21324
- size?: any;
21325
- page?: any;
21424
+ size?: number | undefined;
21425
+ page?: number | undefined;
21326
21426
  subcategory?: string | undefined;
21327
21427
  }, {
21328
21428
  name?: string | undefined;
21329
21429
  category?: string | undefined;
21330
- size?: any;
21331
- page?: any;
21430
+ size?: number | undefined;
21431
+ page?: number | undefined;
21332
21432
  subcategory?: string | undefined;
21333
21433
  }>;
21334
21434
  type SearchTopicsRequest = z.input<typeof SearchTopicsRequestSchema>;
@@ -21396,19 +21496,19 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
21396
21496
  /**
21397
21497
  * Retrieve pages modified after this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
21398
21498
  */
21399
- wikiRevisionFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
21499
+ wikiRevisionFrom: z.ZodOptional<z.ZodDate>;
21400
21500
  /**
21401
21501
  * Retrieve pages modified before this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
21402
21502
  */
21403
- wikiRevisionTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
21503
+ wikiRevisionTo: z.ZodOptional<z.ZodDate>;
21404
21504
  /**
21405
21505
  * Retrieve pages scraped after this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
21406
21506
  */
21407
- scrapedAtFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
21507
+ scrapedAtFrom: z.ZodOptional<z.ZodDate>;
21408
21508
  /**
21409
21509
  * Retrieve pages scraped before this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
21410
21510
  */
21411
- scrapedAtTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
21511
+ scrapedAtTo: z.ZodOptional<z.ZodDate>;
21412
21512
  /**
21413
21513
  * Retrieve pages with the average number of views per day higher than the provided value.
21414
21514
  */
@@ -21428,23 +21528,23 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
21428
21528
  /**
21429
21529
  * The specific page of results to retrieve in the paginated response. Starts at 0.
21430
21530
  */
21431
- page: z.ZodOptional<z.ZodAny>;
21531
+ page: z.ZodOptional<z.ZodNumber>;
21432
21532
  /**
21433
21533
  * The number of articles to return per page in the paginated response.
21434
21534
  */
21435
- size: z.ZodOptional<z.ZodAny>;
21535
+ size: z.ZodOptional<z.ZodNumber>;
21436
21536
  /**
21437
21537
  * 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).
21438
21538
  */
21439
- sortBy: z.ZodOptional<z.ZodAny>;
21539
+ sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt", "relevance", "count", "totalCount"]>>;
21440
21540
  }, "strip", z.ZodTypeAny, {
21441
21541
  id?: string[] | undefined;
21442
21542
  title?: string | undefined;
21443
21543
  wikidataId?: string[] | undefined;
21444
21544
  summary?: string | undefined;
21445
21545
  category?: string[] | undefined;
21446
- size?: any;
21447
- page?: any;
21546
+ size?: number | undefined;
21547
+ page?: number | undefined;
21448
21548
  sectionId?: string[] | undefined;
21449
21549
  wikiPageId?: number[] | undefined;
21450
21550
  wikiRevisionId?: number[] | undefined;
@@ -21452,17 +21552,17 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
21452
21552
  wikiNamespace?: number[] | undefined;
21453
21553
  wikidataInstanceOfId?: string[] | undefined;
21454
21554
  wikidataInstanceOfLabel?: string[] | undefined;
21455
- wikiRevisionFrom?: string | undefined;
21456
- wikiRevisionTo?: string | undefined;
21555
+ wikiRevisionFrom?: Date | undefined;
21556
+ wikiRevisionTo?: Date | undefined;
21457
21557
  pageviewsFrom?: any;
21458
21558
  pageviewsTo?: any;
21459
21559
  q?: string | undefined;
21460
- sortBy?: any;
21560
+ sortBy?: "createdAt" | "updatedAt" | "relevance" | "count" | "totalCount" | undefined;
21461
21561
  showNumResults?: boolean | undefined;
21462
21562
  text?: string | undefined;
21463
21563
  reference?: string | undefined;
21464
- scrapedAtFrom?: string | undefined;
21465
- scrapedAtTo?: string | undefined;
21564
+ scrapedAtFrom?: Date | undefined;
21565
+ scrapedAtTo?: Date | undefined;
21466
21566
  withPageviews?: boolean | undefined;
21467
21567
  }, {
21468
21568
  id?: string[] | undefined;
@@ -21470,8 +21570,8 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
21470
21570
  wikidataId?: string[] | undefined;
21471
21571
  summary?: string | undefined;
21472
21572
  category?: string[] | undefined;
21473
- size?: any;
21474
- page?: any;
21573
+ size?: number | undefined;
21574
+ page?: number | undefined;
21475
21575
  sectionId?: string[] | undefined;
21476
21576
  wikiPageId?: number[] | undefined;
21477
21577
  wikiRevisionId?: number[] | undefined;
@@ -21479,17 +21579,17 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
21479
21579
  wikiNamespace?: number[] | undefined;
21480
21580
  wikidataInstanceOfId?: string[] | undefined;
21481
21581
  wikidataInstanceOfLabel?: string[] | undefined;
21482
- wikiRevisionFrom?: string | Date | undefined;
21483
- wikiRevisionTo?: string | Date | undefined;
21582
+ wikiRevisionFrom?: Date | undefined;
21583
+ wikiRevisionTo?: Date | undefined;
21484
21584
  pageviewsFrom?: any;
21485
21585
  pageviewsTo?: any;
21486
21586
  q?: string | undefined;
21487
- sortBy?: any;
21587
+ sortBy?: "createdAt" | "updatedAt" | "relevance" | "count" | "totalCount" | undefined;
21488
21588
  showNumResults?: boolean | undefined;
21489
21589
  text?: string | undefined;
21490
21590
  reference?: string | undefined;
21491
- scrapedAtFrom?: string | Date | undefined;
21492
- scrapedAtTo?: string | Date | undefined;
21591
+ scrapedAtFrom?: Date | undefined;
21592
+ scrapedAtTo?: Date | undefined;
21493
21593
  withPageviews?: boolean | undefined;
21494
21594
  }>;
21495
21595
  declare const SearchWikipediaRequestSchema: z.ZodObject<{
@@ -21556,19 +21656,19 @@ declare const SearchWikipediaRequestSchema: z.ZodObject<{
21556
21656
  /**
21557
21657
  * Retrieve pages modified after this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
21558
21658
  */
21559
- wikiRevisionFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
21659
+ wikiRevisionFrom: z.ZodOptional<z.ZodDate>;
21560
21660
  /**
21561
21661
  * Retrieve pages modified before this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
21562
21662
  */
21563
- wikiRevisionTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
21663
+ wikiRevisionTo: z.ZodOptional<z.ZodDate>;
21564
21664
  /**
21565
21665
  * Retrieve pages scraped after this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
21566
21666
  */
21567
- scrapedAtFrom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
21667
+ scrapedAtFrom: z.ZodOptional<z.ZodDate>;
21568
21668
  /**
21569
21669
  * Retrieve pages scraped before this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
21570
21670
  */
21571
- scrapedAtTo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodDate, z.ZodString]>, string, string | Date>>;
21671
+ scrapedAtTo: z.ZodOptional<z.ZodDate>;
21572
21672
  /**
21573
21673
  * Retrieve pages with the average number of views per day higher than the provided value.
21574
21674
  */
@@ -21588,23 +21688,23 @@ declare const SearchWikipediaRequestSchema: z.ZodObject<{
21588
21688
  /**
21589
21689
  * The specific page of results to retrieve in the paginated response. Starts at 0.
21590
21690
  */
21591
- page: z.ZodOptional<z.ZodAny>;
21691
+ page: z.ZodOptional<z.ZodNumber>;
21592
21692
  /**
21593
21693
  * The number of articles to return per page in the paginated response.
21594
21694
  */
21595
- size: z.ZodOptional<z.ZodAny>;
21695
+ size: z.ZodOptional<z.ZodNumber>;
21596
21696
  /**
21597
21697
  * 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).
21598
21698
  */
21599
- sortBy: z.ZodOptional<z.ZodAny>;
21699
+ sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt", "relevance", "count", "totalCount"]>>;
21600
21700
  }, "strip", z.ZodTypeAny, {
21601
21701
  id?: string[] | undefined;
21602
21702
  title?: string | undefined;
21603
21703
  wikidataId?: string[] | undefined;
21604
21704
  summary?: string | undefined;
21605
21705
  category?: string[] | undefined;
21606
- size?: any;
21607
- page?: any;
21706
+ size?: number | undefined;
21707
+ page?: number | undefined;
21608
21708
  sectionId?: string[] | undefined;
21609
21709
  wikiPageId?: number[] | undefined;
21610
21710
  wikiRevisionId?: number[] | undefined;
@@ -21612,17 +21712,17 @@ declare const SearchWikipediaRequestSchema: z.ZodObject<{
21612
21712
  wikiNamespace?: number[] | undefined;
21613
21713
  wikidataInstanceOfId?: string[] | undefined;
21614
21714
  wikidataInstanceOfLabel?: string[] | undefined;
21615
- wikiRevisionFrom?: string | undefined;
21616
- wikiRevisionTo?: string | undefined;
21715
+ wikiRevisionFrom?: Date | undefined;
21716
+ wikiRevisionTo?: Date | undefined;
21617
21717
  pageviewsFrom?: any;
21618
21718
  pageviewsTo?: any;
21619
21719
  q?: string | undefined;
21620
- sortBy?: any;
21720
+ sortBy?: "createdAt" | "updatedAt" | "relevance" | "count" | "totalCount" | undefined;
21621
21721
  showNumResults?: boolean | undefined;
21622
21722
  text?: string | undefined;
21623
21723
  reference?: string | undefined;
21624
- scrapedAtFrom?: string | undefined;
21625
- scrapedAtTo?: string | undefined;
21724
+ scrapedAtFrom?: Date | undefined;
21725
+ scrapedAtTo?: Date | undefined;
21626
21726
  withPageviews?: boolean | undefined;
21627
21727
  }, {
21628
21728
  id?: string[] | undefined;
@@ -21630,8 +21730,8 @@ declare const SearchWikipediaRequestSchema: z.ZodObject<{
21630
21730
  wikidataId?: string[] | undefined;
21631
21731
  summary?: string | undefined;
21632
21732
  category?: string[] | undefined;
21633
- size?: any;
21634
- page?: any;
21733
+ size?: number | undefined;
21734
+ page?: number | undefined;
21635
21735
  sectionId?: string[] | undefined;
21636
21736
  wikiPageId?: number[] | undefined;
21637
21737
  wikiRevisionId?: number[] | undefined;
@@ -21639,17 +21739,17 @@ declare const SearchWikipediaRequestSchema: z.ZodObject<{
21639
21739
  wikiNamespace?: number[] | undefined;
21640
21740
  wikidataInstanceOfId?: string[] | undefined;
21641
21741
  wikidataInstanceOfLabel?: string[] | undefined;
21642
- wikiRevisionFrom?: string | Date | undefined;
21643
- wikiRevisionTo?: string | Date | undefined;
21742
+ wikiRevisionFrom?: Date | undefined;
21743
+ wikiRevisionTo?: Date | undefined;
21644
21744
  pageviewsFrom?: any;
21645
21745
  pageviewsTo?: any;
21646
21746
  q?: string | undefined;
21647
- sortBy?: any;
21747
+ sortBy?: "createdAt" | "updatedAt" | "relevance" | "count" | "totalCount" | undefined;
21648
21748
  showNumResults?: boolean | undefined;
21649
21749
  text?: string | undefined;
21650
21750
  reference?: string | undefined;
21651
- scrapedAtFrom?: string | Date | undefined;
21652
- scrapedAtTo?: string | Date | undefined;
21751
+ scrapedAtFrom?: Date | undefined;
21752
+ scrapedAtTo?: Date | undefined;
21653
21753
  withPageviews?: boolean | undefined;
21654
21754
  }>;
21655
21755
  type SearchWikipediaRequest = z.input<typeof SearchWikipediaRequestSchema>;
@@ -21658,22 +21758,862 @@ declare const VectorSearchArticlesBodySchema: z.ZodObject<{
21658
21758
  * Parameter articleSearchParams
21659
21759
  * @required
21660
21760
  */
21661
- articleSearchParams: z.ZodAny;
21761
+ articleSearchParams: z.ZodObject<{
21762
+ prompt: z.ZodString;
21763
+ filter: z.ZodNullable<z.ZodOptional<z.ZodObject<{
21764
+ articleId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21765
+ clusterId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21766
+ source: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21767
+ excludeSource: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21768
+ sourceGroup: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21769
+ language: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21770
+ excludeLanguage: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21771
+ label: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21772
+ excludeLabel: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21773
+ taxonomy: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21774
+ category: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21775
+ topic: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21776
+ excludeTopic: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21777
+ country: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21778
+ excludeCountry: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21779
+ locationsCountry: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21780
+ excludeLocationsCountry: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21781
+ state: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21782
+ excludeState: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21783
+ county: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21784
+ excludeCounty: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21785
+ city: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21786
+ excludeCity: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21787
+ sourceCountry: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21788
+ sourceState: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21789
+ sourceCounty: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21790
+ sourceCity: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21791
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodObject<{
21792
+ lat: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
21793
+ lon: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
21794
+ radius: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
21795
+ }, "strip", z.ZodTypeAny, {
21796
+ lat?: number | null | undefined;
21797
+ lon?: number | null | undefined;
21798
+ radius?: number | null | undefined;
21799
+ }, {
21800
+ lat?: number | null | undefined;
21801
+ lon?: number | null | undefined;
21802
+ radius?: number | null | undefined;
21803
+ }>>>;
21804
+ sourceCoordinates: z.ZodNullable<z.ZodOptional<z.ZodObject<{
21805
+ lat: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
21806
+ lon: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
21807
+ radius: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
21808
+ }, "strip", z.ZodTypeAny, {
21809
+ lat?: number | null | undefined;
21810
+ lon?: number | null | undefined;
21811
+ radius?: number | null | undefined;
21812
+ }, {
21813
+ lat?: number | null | undefined;
21814
+ lon?: number | null | undefined;
21815
+ radius?: number | null | undefined;
21816
+ }>>>;
21817
+ companyId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21818
+ excludeCompanyId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21819
+ companyDomain: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21820
+ excludeCompanyDomain: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21821
+ companySymbol: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21822
+ excludeCompanySymbol: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21823
+ companyName: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21824
+ personWikidataId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21825
+ excludePersonWikidataId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21826
+ personName: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21827
+ excludePersonName: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21828
+ AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
21829
+ OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
21830
+ NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
21831
+ }, "strip", z.ZodTypeAny, {
21832
+ country?: string[] | null | undefined;
21833
+ state?: string[] | null | undefined;
21834
+ county?: string[] | null | undefined;
21835
+ city?: string[] | null | undefined;
21836
+ coordinates?: {
21837
+ lat?: number | null | undefined;
21838
+ lon?: number | null | undefined;
21839
+ radius?: number | null | undefined;
21840
+ } | null | undefined;
21841
+ articleId?: string[] | null | undefined;
21842
+ clusterId?: string[] | null | undefined;
21843
+ source?: string[] | null | undefined;
21844
+ language?: string[] | null | undefined;
21845
+ excludeSource?: string[] | null | undefined;
21846
+ sourceGroup?: string[] | null | undefined;
21847
+ excludeLanguage?: string[] | null | undefined;
21848
+ label?: string[] | null | undefined;
21849
+ excludeLabel?: string[] | null | undefined;
21850
+ taxonomy?: string[] | null | undefined;
21851
+ category?: string[] | null | undefined;
21852
+ topic?: string[] | null | undefined;
21853
+ excludeTopic?: string[] | null | undefined;
21854
+ excludeCountry?: string[] | null | undefined;
21855
+ locationsCountry?: string[] | null | undefined;
21856
+ excludeLocationsCountry?: string[] | null | undefined;
21857
+ excludeState?: string[] | null | undefined;
21858
+ excludeCounty?: string[] | null | undefined;
21859
+ excludeCity?: string[] | null | undefined;
21860
+ sourceCountry?: string[] | null | undefined;
21861
+ sourceState?: string[] | null | undefined;
21862
+ sourceCounty?: string[] | null | undefined;
21863
+ sourceCity?: string[] | null | undefined;
21864
+ sourceCoordinates?: {
21865
+ lat?: number | null | undefined;
21866
+ lon?: number | null | undefined;
21867
+ radius?: number | null | undefined;
21868
+ } | null | undefined;
21869
+ companyId?: string[] | null | undefined;
21870
+ excludeCompanyId?: string[] | null | undefined;
21871
+ companyDomain?: string[] | null | undefined;
21872
+ excludeCompanyDomain?: string[] | null | undefined;
21873
+ companySymbol?: string[] | null | undefined;
21874
+ excludeCompanySymbol?: string[] | null | undefined;
21875
+ companyName?: string[] | null | undefined;
21876
+ personWikidataId?: string[] | null | undefined;
21877
+ excludePersonWikidataId?: string[] | null | undefined;
21878
+ personName?: string[] | null | undefined;
21879
+ excludePersonName?: string[] | null | undefined;
21880
+ AND?: never[] | null | undefined;
21881
+ OR?: never[] | null | undefined;
21882
+ NOT?: never[] | null | undefined;
21883
+ }, {
21884
+ country?: string[] | null | undefined;
21885
+ state?: string[] | null | undefined;
21886
+ county?: string[] | null | undefined;
21887
+ city?: string[] | null | undefined;
21888
+ coordinates?: {
21889
+ lat?: number | null | undefined;
21890
+ lon?: number | null | undefined;
21891
+ radius?: number | null | undefined;
21892
+ } | null | undefined;
21893
+ articleId?: string[] | null | undefined;
21894
+ clusterId?: string[] | null | undefined;
21895
+ source?: string[] | null | undefined;
21896
+ language?: string[] | null | undefined;
21897
+ excludeSource?: string[] | null | undefined;
21898
+ sourceGroup?: string[] | null | undefined;
21899
+ excludeLanguage?: string[] | null | undefined;
21900
+ label?: string[] | null | undefined;
21901
+ excludeLabel?: string[] | null | undefined;
21902
+ taxonomy?: string[] | null | undefined;
21903
+ category?: string[] | null | undefined;
21904
+ topic?: string[] | null | undefined;
21905
+ excludeTopic?: string[] | null | undefined;
21906
+ excludeCountry?: string[] | null | undefined;
21907
+ locationsCountry?: string[] | null | undefined;
21908
+ excludeLocationsCountry?: string[] | null | undefined;
21909
+ excludeState?: string[] | null | undefined;
21910
+ excludeCounty?: string[] | null | undefined;
21911
+ excludeCity?: string[] | null | undefined;
21912
+ sourceCountry?: string[] | null | undefined;
21913
+ sourceState?: string[] | null | undefined;
21914
+ sourceCounty?: string[] | null | undefined;
21915
+ sourceCity?: string[] | null | undefined;
21916
+ sourceCoordinates?: {
21917
+ lat?: number | null | undefined;
21918
+ lon?: number | null | undefined;
21919
+ radius?: number | null | undefined;
21920
+ } | null | undefined;
21921
+ companyId?: string[] | null | undefined;
21922
+ excludeCompanyId?: string[] | null | undefined;
21923
+ companyDomain?: string[] | null | undefined;
21924
+ excludeCompanyDomain?: string[] | null | undefined;
21925
+ companySymbol?: string[] | null | undefined;
21926
+ excludeCompanySymbol?: string[] | null | undefined;
21927
+ companyName?: string[] | null | undefined;
21928
+ personWikidataId?: string[] | null | undefined;
21929
+ excludePersonWikidataId?: string[] | null | undefined;
21930
+ personName?: string[] | null | undefined;
21931
+ excludePersonName?: string[] | null | undefined;
21932
+ AND?: never[] | null | undefined;
21933
+ OR?: never[] | null | undefined;
21934
+ NOT?: never[] | null | undefined;
21935
+ }>>>;
21936
+ pubDateFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21937
+ pubDateTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21938
+ showReprints: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
21939
+ size: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
21940
+ page: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
21941
+ }, "strip", z.ZodTypeAny, {
21942
+ prompt: string;
21943
+ filter?: {
21944
+ country?: string[] | null | undefined;
21945
+ state?: string[] | null | undefined;
21946
+ county?: string[] | null | undefined;
21947
+ city?: string[] | null | undefined;
21948
+ coordinates?: {
21949
+ lat?: number | null | undefined;
21950
+ lon?: number | null | undefined;
21951
+ radius?: number | null | undefined;
21952
+ } | null | undefined;
21953
+ articleId?: string[] | null | undefined;
21954
+ clusterId?: string[] | null | undefined;
21955
+ source?: string[] | null | undefined;
21956
+ language?: string[] | null | undefined;
21957
+ excludeSource?: string[] | null | undefined;
21958
+ sourceGroup?: string[] | null | undefined;
21959
+ excludeLanguage?: string[] | null | undefined;
21960
+ label?: string[] | null | undefined;
21961
+ excludeLabel?: string[] | null | undefined;
21962
+ taxonomy?: string[] | null | undefined;
21963
+ category?: string[] | null | undefined;
21964
+ topic?: string[] | null | undefined;
21965
+ excludeTopic?: string[] | null | undefined;
21966
+ excludeCountry?: string[] | null | undefined;
21967
+ locationsCountry?: string[] | null | undefined;
21968
+ excludeLocationsCountry?: string[] | null | undefined;
21969
+ excludeState?: string[] | null | undefined;
21970
+ excludeCounty?: string[] | null | undefined;
21971
+ excludeCity?: string[] | null | undefined;
21972
+ sourceCountry?: string[] | null | undefined;
21973
+ sourceState?: string[] | null | undefined;
21974
+ sourceCounty?: string[] | null | undefined;
21975
+ sourceCity?: string[] | null | undefined;
21976
+ sourceCoordinates?: {
21977
+ lat?: number | null | undefined;
21978
+ lon?: number | null | undefined;
21979
+ radius?: number | null | undefined;
21980
+ } | null | undefined;
21981
+ companyId?: string[] | null | undefined;
21982
+ excludeCompanyId?: string[] | null | undefined;
21983
+ companyDomain?: string[] | null | undefined;
21984
+ excludeCompanyDomain?: string[] | null | undefined;
21985
+ companySymbol?: string[] | null | undefined;
21986
+ excludeCompanySymbol?: string[] | null | undefined;
21987
+ companyName?: string[] | null | undefined;
21988
+ personWikidataId?: string[] | null | undefined;
21989
+ excludePersonWikidataId?: string[] | null | undefined;
21990
+ personName?: string[] | null | undefined;
21991
+ excludePersonName?: string[] | null | undefined;
21992
+ AND?: never[] | null | undefined;
21993
+ OR?: never[] | null | undefined;
21994
+ NOT?: never[] | null | undefined;
21995
+ } | null | undefined;
21996
+ pubDateFrom?: string | null | undefined;
21997
+ pubDateTo?: string | null | undefined;
21998
+ showReprints?: boolean | null | undefined;
21999
+ size?: number | null | undefined;
22000
+ page?: number | null | undefined;
22001
+ }, {
22002
+ prompt: string;
22003
+ filter?: {
22004
+ country?: string[] | null | undefined;
22005
+ state?: string[] | null | undefined;
22006
+ county?: string[] | null | undefined;
22007
+ city?: string[] | null | undefined;
22008
+ coordinates?: {
22009
+ lat?: number | null | undefined;
22010
+ lon?: number | null | undefined;
22011
+ radius?: number | null | undefined;
22012
+ } | null | undefined;
22013
+ articleId?: string[] | null | undefined;
22014
+ clusterId?: string[] | null | undefined;
22015
+ source?: string[] | null | undefined;
22016
+ language?: string[] | null | undefined;
22017
+ excludeSource?: string[] | null | undefined;
22018
+ sourceGroup?: string[] | null | undefined;
22019
+ excludeLanguage?: string[] | null | undefined;
22020
+ label?: string[] | null | undefined;
22021
+ excludeLabel?: string[] | null | undefined;
22022
+ taxonomy?: string[] | null | undefined;
22023
+ category?: string[] | null | undefined;
22024
+ topic?: string[] | null | undefined;
22025
+ excludeTopic?: string[] | null | undefined;
22026
+ excludeCountry?: string[] | null | undefined;
22027
+ locationsCountry?: string[] | null | undefined;
22028
+ excludeLocationsCountry?: string[] | null | undefined;
22029
+ excludeState?: string[] | null | undefined;
22030
+ excludeCounty?: string[] | null | undefined;
22031
+ excludeCity?: string[] | null | undefined;
22032
+ sourceCountry?: string[] | null | undefined;
22033
+ sourceState?: string[] | null | undefined;
22034
+ sourceCounty?: string[] | null | undefined;
22035
+ sourceCity?: string[] | null | undefined;
22036
+ sourceCoordinates?: {
22037
+ lat?: number | null | undefined;
22038
+ lon?: number | null | undefined;
22039
+ radius?: number | null | undefined;
22040
+ } | null | undefined;
22041
+ companyId?: string[] | null | undefined;
22042
+ excludeCompanyId?: string[] | null | undefined;
22043
+ companyDomain?: string[] | null | undefined;
22044
+ excludeCompanyDomain?: string[] | null | undefined;
22045
+ companySymbol?: string[] | null | undefined;
22046
+ excludeCompanySymbol?: string[] | null | undefined;
22047
+ companyName?: string[] | null | undefined;
22048
+ personWikidataId?: string[] | null | undefined;
22049
+ excludePersonWikidataId?: string[] | null | undefined;
22050
+ personName?: string[] | null | undefined;
22051
+ excludePersonName?: string[] | null | undefined;
22052
+ AND?: never[] | null | undefined;
22053
+ OR?: never[] | null | undefined;
22054
+ NOT?: never[] | null | undefined;
22055
+ } | null | undefined;
22056
+ pubDateFrom?: string | null | undefined;
22057
+ pubDateTo?: string | null | undefined;
22058
+ showReprints?: boolean | null | undefined;
22059
+ size?: number | null | undefined;
22060
+ page?: number | null | undefined;
22061
+ }>;
21662
22062
  }, "strip", z.ZodTypeAny, {
21663
- articleSearchParams?: any;
22063
+ articleSearchParams: {
22064
+ prompt: string;
22065
+ filter?: {
22066
+ country?: string[] | null | undefined;
22067
+ state?: string[] | null | undefined;
22068
+ county?: string[] | null | undefined;
22069
+ city?: string[] | null | undefined;
22070
+ coordinates?: {
22071
+ lat?: number | null | undefined;
22072
+ lon?: number | null | undefined;
22073
+ radius?: number | null | undefined;
22074
+ } | null | undefined;
22075
+ articleId?: string[] | null | undefined;
22076
+ clusterId?: string[] | null | undefined;
22077
+ source?: string[] | null | undefined;
22078
+ language?: string[] | null | undefined;
22079
+ excludeSource?: string[] | null | undefined;
22080
+ sourceGroup?: string[] | null | undefined;
22081
+ excludeLanguage?: string[] | null | undefined;
22082
+ label?: string[] | null | undefined;
22083
+ excludeLabel?: string[] | null | undefined;
22084
+ taxonomy?: string[] | null | undefined;
22085
+ category?: string[] | null | undefined;
22086
+ topic?: string[] | null | undefined;
22087
+ excludeTopic?: string[] | null | undefined;
22088
+ excludeCountry?: string[] | null | undefined;
22089
+ locationsCountry?: string[] | null | undefined;
22090
+ excludeLocationsCountry?: string[] | null | undefined;
22091
+ excludeState?: string[] | null | undefined;
22092
+ excludeCounty?: string[] | null | undefined;
22093
+ excludeCity?: string[] | null | undefined;
22094
+ sourceCountry?: string[] | null | undefined;
22095
+ sourceState?: string[] | null | undefined;
22096
+ sourceCounty?: string[] | null | undefined;
22097
+ sourceCity?: string[] | null | undefined;
22098
+ sourceCoordinates?: {
22099
+ lat?: number | null | undefined;
22100
+ lon?: number | null | undefined;
22101
+ radius?: number | null | undefined;
22102
+ } | null | undefined;
22103
+ companyId?: string[] | null | undefined;
22104
+ excludeCompanyId?: string[] | null | undefined;
22105
+ companyDomain?: string[] | null | undefined;
22106
+ excludeCompanyDomain?: string[] | null | undefined;
22107
+ companySymbol?: string[] | null | undefined;
22108
+ excludeCompanySymbol?: string[] | null | undefined;
22109
+ companyName?: string[] | null | undefined;
22110
+ personWikidataId?: string[] | null | undefined;
22111
+ excludePersonWikidataId?: string[] | null | undefined;
22112
+ personName?: string[] | null | undefined;
22113
+ excludePersonName?: string[] | null | undefined;
22114
+ AND?: never[] | null | undefined;
22115
+ OR?: never[] | null | undefined;
22116
+ NOT?: never[] | null | undefined;
22117
+ } | null | undefined;
22118
+ pubDateFrom?: string | null | undefined;
22119
+ pubDateTo?: string | null | undefined;
22120
+ showReprints?: boolean | null | undefined;
22121
+ size?: number | null | undefined;
22122
+ page?: number | null | undefined;
22123
+ };
21664
22124
  }, {
21665
- articleSearchParams?: any;
22125
+ articleSearchParams: {
22126
+ prompt: string;
22127
+ filter?: {
22128
+ country?: string[] | null | undefined;
22129
+ state?: string[] | null | undefined;
22130
+ county?: string[] | null | undefined;
22131
+ city?: string[] | null | undefined;
22132
+ coordinates?: {
22133
+ lat?: number | null | undefined;
22134
+ lon?: number | null | undefined;
22135
+ radius?: number | null | undefined;
22136
+ } | null | undefined;
22137
+ articleId?: string[] | null | undefined;
22138
+ clusterId?: string[] | null | undefined;
22139
+ source?: string[] | null | undefined;
22140
+ language?: string[] | null | undefined;
22141
+ excludeSource?: string[] | null | undefined;
22142
+ sourceGroup?: string[] | null | undefined;
22143
+ excludeLanguage?: string[] | null | undefined;
22144
+ label?: string[] | null | undefined;
22145
+ excludeLabel?: string[] | null | undefined;
22146
+ taxonomy?: string[] | null | undefined;
22147
+ category?: string[] | null | undefined;
22148
+ topic?: string[] | null | undefined;
22149
+ excludeTopic?: string[] | null | undefined;
22150
+ excludeCountry?: string[] | null | undefined;
22151
+ locationsCountry?: string[] | null | undefined;
22152
+ excludeLocationsCountry?: string[] | null | undefined;
22153
+ excludeState?: string[] | null | undefined;
22154
+ excludeCounty?: string[] | null | undefined;
22155
+ excludeCity?: string[] | null | undefined;
22156
+ sourceCountry?: string[] | null | undefined;
22157
+ sourceState?: string[] | null | undefined;
22158
+ sourceCounty?: string[] | null | undefined;
22159
+ sourceCity?: string[] | null | undefined;
22160
+ sourceCoordinates?: {
22161
+ lat?: number | null | undefined;
22162
+ lon?: number | null | undefined;
22163
+ radius?: number | null | undefined;
22164
+ } | null | undefined;
22165
+ companyId?: string[] | null | undefined;
22166
+ excludeCompanyId?: string[] | null | undefined;
22167
+ companyDomain?: string[] | null | undefined;
22168
+ excludeCompanyDomain?: string[] | null | undefined;
22169
+ companySymbol?: string[] | null | undefined;
22170
+ excludeCompanySymbol?: string[] | null | undefined;
22171
+ companyName?: string[] | null | undefined;
22172
+ personWikidataId?: string[] | null | undefined;
22173
+ excludePersonWikidataId?: string[] | null | undefined;
22174
+ personName?: string[] | null | undefined;
22175
+ excludePersonName?: string[] | null | undefined;
22176
+ AND?: never[] | null | undefined;
22177
+ OR?: never[] | null | undefined;
22178
+ NOT?: never[] | null | undefined;
22179
+ } | null | undefined;
22180
+ pubDateFrom?: string | null | undefined;
22181
+ pubDateTo?: string | null | undefined;
22182
+ showReprints?: boolean | null | undefined;
22183
+ size?: number | null | undefined;
22184
+ page?: number | null | undefined;
22185
+ };
21666
22186
  }>;
21667
22187
  declare const VectorSearchArticlesRequestSchema: z.ZodObject<{
21668
22188
  /**
21669
22189
  * Parameter articleSearchParams
21670
22190
  * @required
21671
22191
  */
21672
- articleSearchParams: z.ZodAny;
22192
+ articleSearchParams: z.ZodObject<{
22193
+ prompt: z.ZodString;
22194
+ filter: z.ZodNullable<z.ZodOptional<z.ZodObject<{
22195
+ articleId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22196
+ clusterId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22197
+ source: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22198
+ excludeSource: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22199
+ sourceGroup: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22200
+ language: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22201
+ excludeLanguage: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22202
+ label: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22203
+ excludeLabel: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22204
+ taxonomy: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22205
+ category: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22206
+ topic: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22207
+ excludeTopic: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22208
+ country: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22209
+ excludeCountry: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22210
+ locationsCountry: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22211
+ excludeLocationsCountry: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22212
+ state: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22213
+ excludeState: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22214
+ county: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22215
+ excludeCounty: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22216
+ city: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22217
+ excludeCity: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22218
+ sourceCountry: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22219
+ sourceState: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22220
+ sourceCounty: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22221
+ sourceCity: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22222
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodObject<{
22223
+ lat: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22224
+ lon: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22225
+ radius: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22226
+ }, "strip", z.ZodTypeAny, {
22227
+ lat?: number | null | undefined;
22228
+ lon?: number | null | undefined;
22229
+ radius?: number | null | undefined;
22230
+ }, {
22231
+ lat?: number | null | undefined;
22232
+ lon?: number | null | undefined;
22233
+ radius?: number | null | undefined;
22234
+ }>>>;
22235
+ sourceCoordinates: z.ZodNullable<z.ZodOptional<z.ZodObject<{
22236
+ lat: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22237
+ lon: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22238
+ radius: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22239
+ }, "strip", z.ZodTypeAny, {
22240
+ lat?: number | null | undefined;
22241
+ lon?: number | null | undefined;
22242
+ radius?: number | null | undefined;
22243
+ }, {
22244
+ lat?: number | null | undefined;
22245
+ lon?: number | null | undefined;
22246
+ radius?: number | null | undefined;
22247
+ }>>>;
22248
+ companyId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22249
+ excludeCompanyId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22250
+ companyDomain: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22251
+ excludeCompanyDomain: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22252
+ companySymbol: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22253
+ excludeCompanySymbol: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22254
+ companyName: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22255
+ personWikidataId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22256
+ excludePersonWikidataId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22257
+ personName: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22258
+ excludePersonName: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22259
+ AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
22260
+ OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
22261
+ NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
22262
+ }, "strip", z.ZodTypeAny, {
22263
+ country?: string[] | null | undefined;
22264
+ state?: string[] | null | undefined;
22265
+ county?: string[] | null | undefined;
22266
+ city?: string[] | null | undefined;
22267
+ coordinates?: {
22268
+ lat?: number | null | undefined;
22269
+ lon?: number | null | undefined;
22270
+ radius?: number | null | undefined;
22271
+ } | null | undefined;
22272
+ articleId?: string[] | null | undefined;
22273
+ clusterId?: string[] | null | undefined;
22274
+ source?: string[] | null | undefined;
22275
+ language?: string[] | null | undefined;
22276
+ excludeSource?: string[] | null | undefined;
22277
+ sourceGroup?: string[] | null | undefined;
22278
+ excludeLanguage?: string[] | null | undefined;
22279
+ label?: string[] | null | undefined;
22280
+ excludeLabel?: string[] | null | undefined;
22281
+ taxonomy?: string[] | null | undefined;
22282
+ category?: string[] | null | undefined;
22283
+ topic?: string[] | null | undefined;
22284
+ excludeTopic?: string[] | null | undefined;
22285
+ excludeCountry?: string[] | null | undefined;
22286
+ locationsCountry?: string[] | null | undefined;
22287
+ excludeLocationsCountry?: string[] | null | undefined;
22288
+ excludeState?: string[] | null | undefined;
22289
+ excludeCounty?: string[] | null | undefined;
22290
+ excludeCity?: string[] | null | undefined;
22291
+ sourceCountry?: string[] | null | undefined;
22292
+ sourceState?: string[] | null | undefined;
22293
+ sourceCounty?: string[] | null | undefined;
22294
+ sourceCity?: string[] | null | undefined;
22295
+ sourceCoordinates?: {
22296
+ lat?: number | null | undefined;
22297
+ lon?: number | null | undefined;
22298
+ radius?: number | null | undefined;
22299
+ } | null | undefined;
22300
+ companyId?: string[] | null | undefined;
22301
+ excludeCompanyId?: string[] | null | undefined;
22302
+ companyDomain?: string[] | null | undefined;
22303
+ excludeCompanyDomain?: string[] | null | undefined;
22304
+ companySymbol?: string[] | null | undefined;
22305
+ excludeCompanySymbol?: string[] | null | undefined;
22306
+ companyName?: string[] | null | undefined;
22307
+ personWikidataId?: string[] | null | undefined;
22308
+ excludePersonWikidataId?: string[] | null | undefined;
22309
+ personName?: string[] | null | undefined;
22310
+ excludePersonName?: string[] | null | undefined;
22311
+ AND?: never[] | null | undefined;
22312
+ OR?: never[] | null | undefined;
22313
+ NOT?: never[] | null | undefined;
22314
+ }, {
22315
+ country?: string[] | null | undefined;
22316
+ state?: string[] | null | undefined;
22317
+ county?: string[] | null | undefined;
22318
+ city?: string[] | null | undefined;
22319
+ coordinates?: {
22320
+ lat?: number | null | undefined;
22321
+ lon?: number | null | undefined;
22322
+ radius?: number | null | undefined;
22323
+ } | null | undefined;
22324
+ articleId?: string[] | null | undefined;
22325
+ clusterId?: string[] | null | undefined;
22326
+ source?: string[] | null | undefined;
22327
+ language?: string[] | null | undefined;
22328
+ excludeSource?: string[] | null | undefined;
22329
+ sourceGroup?: string[] | null | undefined;
22330
+ excludeLanguage?: string[] | null | undefined;
22331
+ label?: string[] | null | undefined;
22332
+ excludeLabel?: string[] | null | undefined;
22333
+ taxonomy?: string[] | null | undefined;
22334
+ category?: string[] | null | undefined;
22335
+ topic?: string[] | null | undefined;
22336
+ excludeTopic?: string[] | null | undefined;
22337
+ excludeCountry?: string[] | null | undefined;
22338
+ locationsCountry?: string[] | null | undefined;
22339
+ excludeLocationsCountry?: string[] | null | undefined;
22340
+ excludeState?: string[] | null | undefined;
22341
+ excludeCounty?: string[] | null | undefined;
22342
+ excludeCity?: string[] | null | undefined;
22343
+ sourceCountry?: string[] | null | undefined;
22344
+ sourceState?: string[] | null | undefined;
22345
+ sourceCounty?: string[] | null | undefined;
22346
+ sourceCity?: string[] | null | undefined;
22347
+ sourceCoordinates?: {
22348
+ lat?: number | null | undefined;
22349
+ lon?: number | null | undefined;
22350
+ radius?: number | null | undefined;
22351
+ } | null | undefined;
22352
+ companyId?: string[] | null | undefined;
22353
+ excludeCompanyId?: string[] | null | undefined;
22354
+ companyDomain?: string[] | null | undefined;
22355
+ excludeCompanyDomain?: string[] | null | undefined;
22356
+ companySymbol?: string[] | null | undefined;
22357
+ excludeCompanySymbol?: string[] | null | undefined;
22358
+ companyName?: string[] | null | undefined;
22359
+ personWikidataId?: string[] | null | undefined;
22360
+ excludePersonWikidataId?: string[] | null | undefined;
22361
+ personName?: string[] | null | undefined;
22362
+ excludePersonName?: string[] | null | undefined;
22363
+ AND?: never[] | null | undefined;
22364
+ OR?: never[] | null | undefined;
22365
+ NOT?: never[] | null | undefined;
22366
+ }>>>;
22367
+ pubDateFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22368
+ pubDateTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22369
+ showReprints: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
22370
+ size: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22371
+ page: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22372
+ }, "strip", z.ZodTypeAny, {
22373
+ prompt: string;
22374
+ filter?: {
22375
+ country?: string[] | null | undefined;
22376
+ state?: string[] | null | undefined;
22377
+ county?: string[] | null | undefined;
22378
+ city?: string[] | null | undefined;
22379
+ coordinates?: {
22380
+ lat?: number | null | undefined;
22381
+ lon?: number | null | undefined;
22382
+ radius?: number | null | undefined;
22383
+ } | null | undefined;
22384
+ articleId?: string[] | null | undefined;
22385
+ clusterId?: string[] | null | undefined;
22386
+ source?: string[] | null | undefined;
22387
+ language?: string[] | null | undefined;
22388
+ excludeSource?: string[] | null | undefined;
22389
+ sourceGroup?: string[] | null | undefined;
22390
+ excludeLanguage?: string[] | null | undefined;
22391
+ label?: string[] | null | undefined;
22392
+ excludeLabel?: string[] | null | undefined;
22393
+ taxonomy?: string[] | null | undefined;
22394
+ category?: string[] | null | undefined;
22395
+ topic?: string[] | null | undefined;
22396
+ excludeTopic?: string[] | null | undefined;
22397
+ excludeCountry?: string[] | null | undefined;
22398
+ locationsCountry?: string[] | null | undefined;
22399
+ excludeLocationsCountry?: string[] | null | undefined;
22400
+ excludeState?: string[] | null | undefined;
22401
+ excludeCounty?: string[] | null | undefined;
22402
+ excludeCity?: string[] | null | undefined;
22403
+ sourceCountry?: string[] | null | undefined;
22404
+ sourceState?: string[] | null | undefined;
22405
+ sourceCounty?: string[] | null | undefined;
22406
+ sourceCity?: string[] | null | undefined;
22407
+ sourceCoordinates?: {
22408
+ lat?: number | null | undefined;
22409
+ lon?: number | null | undefined;
22410
+ radius?: number | null | undefined;
22411
+ } | null | undefined;
22412
+ companyId?: string[] | null | undefined;
22413
+ excludeCompanyId?: string[] | null | undefined;
22414
+ companyDomain?: string[] | null | undefined;
22415
+ excludeCompanyDomain?: string[] | null | undefined;
22416
+ companySymbol?: string[] | null | undefined;
22417
+ excludeCompanySymbol?: string[] | null | undefined;
22418
+ companyName?: string[] | null | undefined;
22419
+ personWikidataId?: string[] | null | undefined;
22420
+ excludePersonWikidataId?: string[] | null | undefined;
22421
+ personName?: string[] | null | undefined;
22422
+ excludePersonName?: string[] | null | undefined;
22423
+ AND?: never[] | null | undefined;
22424
+ OR?: never[] | null | undefined;
22425
+ NOT?: never[] | null | undefined;
22426
+ } | null | undefined;
22427
+ pubDateFrom?: string | null | undefined;
22428
+ pubDateTo?: string | null | undefined;
22429
+ showReprints?: boolean | null | undefined;
22430
+ size?: number | null | undefined;
22431
+ page?: number | null | undefined;
22432
+ }, {
22433
+ prompt: string;
22434
+ filter?: {
22435
+ country?: string[] | null | undefined;
22436
+ state?: string[] | null | undefined;
22437
+ county?: string[] | null | undefined;
22438
+ city?: string[] | null | undefined;
22439
+ coordinates?: {
22440
+ lat?: number | null | undefined;
22441
+ lon?: number | null | undefined;
22442
+ radius?: number | null | undefined;
22443
+ } | null | undefined;
22444
+ articleId?: string[] | null | undefined;
22445
+ clusterId?: string[] | null | undefined;
22446
+ source?: string[] | null | undefined;
22447
+ language?: string[] | null | undefined;
22448
+ excludeSource?: string[] | null | undefined;
22449
+ sourceGroup?: string[] | null | undefined;
22450
+ excludeLanguage?: string[] | null | undefined;
22451
+ label?: string[] | null | undefined;
22452
+ excludeLabel?: string[] | null | undefined;
22453
+ taxonomy?: string[] | null | undefined;
22454
+ category?: string[] | null | undefined;
22455
+ topic?: string[] | null | undefined;
22456
+ excludeTopic?: string[] | null | undefined;
22457
+ excludeCountry?: string[] | null | undefined;
22458
+ locationsCountry?: string[] | null | undefined;
22459
+ excludeLocationsCountry?: string[] | null | undefined;
22460
+ excludeState?: string[] | null | undefined;
22461
+ excludeCounty?: string[] | null | undefined;
22462
+ excludeCity?: string[] | null | undefined;
22463
+ sourceCountry?: string[] | null | undefined;
22464
+ sourceState?: string[] | null | undefined;
22465
+ sourceCounty?: string[] | null | undefined;
22466
+ sourceCity?: string[] | null | undefined;
22467
+ sourceCoordinates?: {
22468
+ lat?: number | null | undefined;
22469
+ lon?: number | null | undefined;
22470
+ radius?: number | null | undefined;
22471
+ } | null | undefined;
22472
+ companyId?: string[] | null | undefined;
22473
+ excludeCompanyId?: string[] | null | undefined;
22474
+ companyDomain?: string[] | null | undefined;
22475
+ excludeCompanyDomain?: string[] | null | undefined;
22476
+ companySymbol?: string[] | null | undefined;
22477
+ excludeCompanySymbol?: string[] | null | undefined;
22478
+ companyName?: string[] | null | undefined;
22479
+ personWikidataId?: string[] | null | undefined;
22480
+ excludePersonWikidataId?: string[] | null | undefined;
22481
+ personName?: string[] | null | undefined;
22482
+ excludePersonName?: string[] | null | undefined;
22483
+ AND?: never[] | null | undefined;
22484
+ OR?: never[] | null | undefined;
22485
+ NOT?: never[] | null | undefined;
22486
+ } | null | undefined;
22487
+ pubDateFrom?: string | null | undefined;
22488
+ pubDateTo?: string | null | undefined;
22489
+ showReprints?: boolean | null | undefined;
22490
+ size?: number | null | undefined;
22491
+ page?: number | null | undefined;
22492
+ }>;
21673
22493
  }, "strip", z.ZodTypeAny, {
21674
- articleSearchParams?: any;
22494
+ articleSearchParams: {
22495
+ prompt: string;
22496
+ filter?: {
22497
+ country?: string[] | null | undefined;
22498
+ state?: string[] | null | undefined;
22499
+ county?: string[] | null | undefined;
22500
+ city?: string[] | null | undefined;
22501
+ coordinates?: {
22502
+ lat?: number | null | undefined;
22503
+ lon?: number | null | undefined;
22504
+ radius?: number | null | undefined;
22505
+ } | null | undefined;
22506
+ articleId?: string[] | null | undefined;
22507
+ clusterId?: string[] | null | undefined;
22508
+ source?: string[] | null | undefined;
22509
+ language?: string[] | null | undefined;
22510
+ excludeSource?: string[] | null | undefined;
22511
+ sourceGroup?: string[] | null | undefined;
22512
+ excludeLanguage?: string[] | null | undefined;
22513
+ label?: string[] | null | undefined;
22514
+ excludeLabel?: string[] | null | undefined;
22515
+ taxonomy?: string[] | null | undefined;
22516
+ category?: string[] | null | undefined;
22517
+ topic?: string[] | null | undefined;
22518
+ excludeTopic?: string[] | null | undefined;
22519
+ excludeCountry?: string[] | null | undefined;
22520
+ locationsCountry?: string[] | null | undefined;
22521
+ excludeLocationsCountry?: string[] | null | undefined;
22522
+ excludeState?: string[] | null | undefined;
22523
+ excludeCounty?: string[] | null | undefined;
22524
+ excludeCity?: string[] | null | undefined;
22525
+ sourceCountry?: string[] | null | undefined;
22526
+ sourceState?: string[] | null | undefined;
22527
+ sourceCounty?: string[] | null | undefined;
22528
+ sourceCity?: string[] | null | undefined;
22529
+ sourceCoordinates?: {
22530
+ lat?: number | null | undefined;
22531
+ lon?: number | null | undefined;
22532
+ radius?: number | null | undefined;
22533
+ } | null | undefined;
22534
+ companyId?: string[] | null | undefined;
22535
+ excludeCompanyId?: string[] | null | undefined;
22536
+ companyDomain?: string[] | null | undefined;
22537
+ excludeCompanyDomain?: string[] | null | undefined;
22538
+ companySymbol?: string[] | null | undefined;
22539
+ excludeCompanySymbol?: string[] | null | undefined;
22540
+ companyName?: string[] | null | undefined;
22541
+ personWikidataId?: string[] | null | undefined;
22542
+ excludePersonWikidataId?: string[] | null | undefined;
22543
+ personName?: string[] | null | undefined;
22544
+ excludePersonName?: string[] | null | undefined;
22545
+ AND?: never[] | null | undefined;
22546
+ OR?: never[] | null | undefined;
22547
+ NOT?: never[] | null | undefined;
22548
+ } | null | undefined;
22549
+ pubDateFrom?: string | null | undefined;
22550
+ pubDateTo?: string | null | undefined;
22551
+ showReprints?: boolean | null | undefined;
22552
+ size?: number | null | undefined;
22553
+ page?: number | null | undefined;
22554
+ };
21675
22555
  }, {
21676
- articleSearchParams?: any;
22556
+ articleSearchParams: {
22557
+ prompt: string;
22558
+ filter?: {
22559
+ country?: string[] | null | undefined;
22560
+ state?: string[] | null | undefined;
22561
+ county?: string[] | null | undefined;
22562
+ city?: string[] | null | undefined;
22563
+ coordinates?: {
22564
+ lat?: number | null | undefined;
22565
+ lon?: number | null | undefined;
22566
+ radius?: number | null | undefined;
22567
+ } | null | undefined;
22568
+ articleId?: string[] | null | undefined;
22569
+ clusterId?: string[] | null | undefined;
22570
+ source?: string[] | null | undefined;
22571
+ language?: string[] | null | undefined;
22572
+ excludeSource?: string[] | null | undefined;
22573
+ sourceGroup?: string[] | null | undefined;
22574
+ excludeLanguage?: string[] | null | undefined;
22575
+ label?: string[] | null | undefined;
22576
+ excludeLabel?: string[] | null | undefined;
22577
+ taxonomy?: string[] | null | undefined;
22578
+ category?: string[] | null | undefined;
22579
+ topic?: string[] | null | undefined;
22580
+ excludeTopic?: string[] | null | undefined;
22581
+ excludeCountry?: string[] | null | undefined;
22582
+ locationsCountry?: string[] | null | undefined;
22583
+ excludeLocationsCountry?: string[] | null | undefined;
22584
+ excludeState?: string[] | null | undefined;
22585
+ excludeCounty?: string[] | null | undefined;
22586
+ excludeCity?: string[] | null | undefined;
22587
+ sourceCountry?: string[] | null | undefined;
22588
+ sourceState?: string[] | null | undefined;
22589
+ sourceCounty?: string[] | null | undefined;
22590
+ sourceCity?: string[] | null | undefined;
22591
+ sourceCoordinates?: {
22592
+ lat?: number | null | undefined;
22593
+ lon?: number | null | undefined;
22594
+ radius?: number | null | undefined;
22595
+ } | null | undefined;
22596
+ companyId?: string[] | null | undefined;
22597
+ excludeCompanyId?: string[] | null | undefined;
22598
+ companyDomain?: string[] | null | undefined;
22599
+ excludeCompanyDomain?: string[] | null | undefined;
22600
+ companySymbol?: string[] | null | undefined;
22601
+ excludeCompanySymbol?: string[] | null | undefined;
22602
+ companyName?: string[] | null | undefined;
22603
+ personWikidataId?: string[] | null | undefined;
22604
+ excludePersonWikidataId?: string[] | null | undefined;
22605
+ personName?: string[] | null | undefined;
22606
+ excludePersonName?: string[] | null | undefined;
22607
+ AND?: never[] | null | undefined;
22608
+ OR?: never[] | null | undefined;
22609
+ NOT?: never[] | null | undefined;
22610
+ } | null | undefined;
22611
+ pubDateFrom?: string | null | undefined;
22612
+ pubDateTo?: string | null | undefined;
22613
+ showReprints?: boolean | null | undefined;
22614
+ size?: number | null | undefined;
22615
+ page?: number | null | undefined;
22616
+ };
21677
22617
  }>;
21678
22618
  type VectorSearchArticlesRequest = z.input<typeof VectorSearchArticlesRequestSchema>;
21679
22619
  declare const VectorSearchWikipediaBodySchema: z.ZodObject<{
@@ -21681,22 +22621,294 @@ declare const VectorSearchWikipediaBodySchema: z.ZodObject<{
21681
22621
  * Parameter wikipediaSearchParams
21682
22622
  * @required
21683
22623
  */
21684
- wikipediaSearchParams: z.ZodAny;
22624
+ wikipediaSearchParams: z.ZodObject<{
22625
+ prompt: z.ZodString;
22626
+ filter: z.ZodNullable<z.ZodOptional<z.ZodObject<{
22627
+ pageId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22628
+ sectionId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22629
+ wikiPageId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
22630
+ wikiRevisionId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
22631
+ wikiCode: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22632
+ wikiNamespace: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
22633
+ wikidataId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22634
+ wikidataInstanceOfId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22635
+ wikidataInstanceOfLabel: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22636
+ AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
22637
+ OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
22638
+ NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
22639
+ }, "strip", z.ZodTypeAny, {
22640
+ wikidataId?: string[] | null | undefined;
22641
+ AND?: never[] | null | undefined;
22642
+ OR?: never[] | null | undefined;
22643
+ NOT?: never[] | null | undefined;
22644
+ pageId?: string[] | null | undefined;
22645
+ sectionId?: string[] | null | undefined;
22646
+ wikiPageId?: number[] | null | undefined;
22647
+ wikiRevisionId?: number[] | null | undefined;
22648
+ wikiCode?: string[] | null | undefined;
22649
+ wikiNamespace?: number[] | null | undefined;
22650
+ wikidataInstanceOfId?: string[] | null | undefined;
22651
+ wikidataInstanceOfLabel?: string[] | null | undefined;
22652
+ }, {
22653
+ wikidataId?: string[] | null | undefined;
22654
+ AND?: never[] | null | undefined;
22655
+ OR?: never[] | null | undefined;
22656
+ NOT?: never[] | null | undefined;
22657
+ pageId?: string[] | null | undefined;
22658
+ sectionId?: string[] | null | undefined;
22659
+ wikiPageId?: number[] | null | undefined;
22660
+ wikiRevisionId?: number[] | null | undefined;
22661
+ wikiCode?: string[] | null | undefined;
22662
+ wikiNamespace?: number[] | null | undefined;
22663
+ wikidataInstanceOfId?: string[] | null | undefined;
22664
+ wikidataInstanceOfLabel?: string[] | null | undefined;
22665
+ }>>>;
22666
+ wikiRevisionFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22667
+ wikiRevisionTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22668
+ pageviewsFrom: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22669
+ pageviewsTo: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22670
+ size: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22671
+ page: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22672
+ }, "strip", z.ZodTypeAny, {
22673
+ prompt: string;
22674
+ filter?: {
22675
+ wikidataId?: string[] | null | undefined;
22676
+ AND?: never[] | null | undefined;
22677
+ OR?: never[] | null | undefined;
22678
+ NOT?: never[] | null | undefined;
22679
+ pageId?: string[] | null | undefined;
22680
+ sectionId?: string[] | null | undefined;
22681
+ wikiPageId?: number[] | null | undefined;
22682
+ wikiRevisionId?: number[] | null | undefined;
22683
+ wikiCode?: string[] | null | undefined;
22684
+ wikiNamespace?: number[] | null | undefined;
22685
+ wikidataInstanceOfId?: string[] | null | undefined;
22686
+ wikidataInstanceOfLabel?: string[] | null | undefined;
22687
+ } | null | undefined;
22688
+ size?: number | null | undefined;
22689
+ page?: number | null | undefined;
22690
+ wikiRevisionFrom?: string | null | undefined;
22691
+ wikiRevisionTo?: string | null | undefined;
22692
+ pageviewsFrom?: number | null | undefined;
22693
+ pageviewsTo?: number | null | undefined;
22694
+ }, {
22695
+ prompt: string;
22696
+ filter?: {
22697
+ wikidataId?: string[] | null | undefined;
22698
+ AND?: never[] | null | undefined;
22699
+ OR?: never[] | null | undefined;
22700
+ NOT?: never[] | null | undefined;
22701
+ pageId?: string[] | null | undefined;
22702
+ sectionId?: string[] | null | undefined;
22703
+ wikiPageId?: number[] | null | undefined;
22704
+ wikiRevisionId?: number[] | null | undefined;
22705
+ wikiCode?: string[] | null | undefined;
22706
+ wikiNamespace?: number[] | null | undefined;
22707
+ wikidataInstanceOfId?: string[] | null | undefined;
22708
+ wikidataInstanceOfLabel?: string[] | null | undefined;
22709
+ } | null | undefined;
22710
+ size?: number | null | undefined;
22711
+ page?: number | null | undefined;
22712
+ wikiRevisionFrom?: string | null | undefined;
22713
+ wikiRevisionTo?: string | null | undefined;
22714
+ pageviewsFrom?: number | null | undefined;
22715
+ pageviewsTo?: number | null | undefined;
22716
+ }>;
21685
22717
  }, "strip", z.ZodTypeAny, {
21686
- wikipediaSearchParams?: any;
22718
+ wikipediaSearchParams: {
22719
+ prompt: string;
22720
+ filter?: {
22721
+ wikidataId?: string[] | null | undefined;
22722
+ AND?: never[] | null | undefined;
22723
+ OR?: never[] | null | undefined;
22724
+ NOT?: never[] | null | undefined;
22725
+ pageId?: string[] | null | undefined;
22726
+ sectionId?: string[] | null | undefined;
22727
+ wikiPageId?: number[] | null | undefined;
22728
+ wikiRevisionId?: number[] | null | undefined;
22729
+ wikiCode?: string[] | null | undefined;
22730
+ wikiNamespace?: number[] | null | undefined;
22731
+ wikidataInstanceOfId?: string[] | null | undefined;
22732
+ wikidataInstanceOfLabel?: string[] | null | undefined;
22733
+ } | null | undefined;
22734
+ size?: number | null | undefined;
22735
+ page?: number | null | undefined;
22736
+ wikiRevisionFrom?: string | null | undefined;
22737
+ wikiRevisionTo?: string | null | undefined;
22738
+ pageviewsFrom?: number | null | undefined;
22739
+ pageviewsTo?: number | null | undefined;
22740
+ };
21687
22741
  }, {
21688
- wikipediaSearchParams?: any;
22742
+ wikipediaSearchParams: {
22743
+ prompt: string;
22744
+ filter?: {
22745
+ wikidataId?: string[] | null | undefined;
22746
+ AND?: never[] | null | undefined;
22747
+ OR?: never[] | null | undefined;
22748
+ NOT?: never[] | null | undefined;
22749
+ pageId?: string[] | null | undefined;
22750
+ sectionId?: string[] | null | undefined;
22751
+ wikiPageId?: number[] | null | undefined;
22752
+ wikiRevisionId?: number[] | null | undefined;
22753
+ wikiCode?: string[] | null | undefined;
22754
+ wikiNamespace?: number[] | null | undefined;
22755
+ wikidataInstanceOfId?: string[] | null | undefined;
22756
+ wikidataInstanceOfLabel?: string[] | null | undefined;
22757
+ } | null | undefined;
22758
+ size?: number | null | undefined;
22759
+ page?: number | null | undefined;
22760
+ wikiRevisionFrom?: string | null | undefined;
22761
+ wikiRevisionTo?: string | null | undefined;
22762
+ pageviewsFrom?: number | null | undefined;
22763
+ pageviewsTo?: number | null | undefined;
22764
+ };
21689
22765
  }>;
21690
22766
  declare const VectorSearchWikipediaRequestSchema: z.ZodObject<{
21691
22767
  /**
21692
22768
  * Parameter wikipediaSearchParams
21693
22769
  * @required
21694
22770
  */
21695
- wikipediaSearchParams: z.ZodAny;
22771
+ wikipediaSearchParams: z.ZodObject<{
22772
+ prompt: z.ZodString;
22773
+ filter: z.ZodNullable<z.ZodOptional<z.ZodObject<{
22774
+ pageId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22775
+ sectionId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22776
+ wikiPageId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
22777
+ wikiRevisionId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
22778
+ wikiCode: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22779
+ wikiNamespace: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
22780
+ wikidataId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22781
+ wikidataInstanceOfId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22782
+ wikidataInstanceOfLabel: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22783
+ AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
22784
+ OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
22785
+ NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
22786
+ }, "strip", z.ZodTypeAny, {
22787
+ wikidataId?: string[] | null | undefined;
22788
+ AND?: never[] | null | undefined;
22789
+ OR?: never[] | null | undefined;
22790
+ NOT?: never[] | null | undefined;
22791
+ pageId?: string[] | null | undefined;
22792
+ sectionId?: string[] | null | undefined;
22793
+ wikiPageId?: number[] | null | undefined;
22794
+ wikiRevisionId?: number[] | null | undefined;
22795
+ wikiCode?: string[] | null | undefined;
22796
+ wikiNamespace?: number[] | null | undefined;
22797
+ wikidataInstanceOfId?: string[] | null | undefined;
22798
+ wikidataInstanceOfLabel?: string[] | null | undefined;
22799
+ }, {
22800
+ wikidataId?: string[] | null | undefined;
22801
+ AND?: never[] | null | undefined;
22802
+ OR?: never[] | null | undefined;
22803
+ NOT?: never[] | null | undefined;
22804
+ pageId?: string[] | null | undefined;
22805
+ sectionId?: string[] | null | undefined;
22806
+ wikiPageId?: number[] | null | undefined;
22807
+ wikiRevisionId?: number[] | null | undefined;
22808
+ wikiCode?: string[] | null | undefined;
22809
+ wikiNamespace?: number[] | null | undefined;
22810
+ wikidataInstanceOfId?: string[] | null | undefined;
22811
+ wikidataInstanceOfLabel?: string[] | null | undefined;
22812
+ }>>>;
22813
+ wikiRevisionFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22814
+ wikiRevisionTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22815
+ pageviewsFrom: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22816
+ pageviewsTo: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22817
+ size: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22818
+ page: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22819
+ }, "strip", z.ZodTypeAny, {
22820
+ prompt: string;
22821
+ filter?: {
22822
+ wikidataId?: string[] | null | undefined;
22823
+ AND?: never[] | null | undefined;
22824
+ OR?: never[] | null | undefined;
22825
+ NOT?: never[] | null | undefined;
22826
+ pageId?: string[] | null | undefined;
22827
+ sectionId?: string[] | null | undefined;
22828
+ wikiPageId?: number[] | null | undefined;
22829
+ wikiRevisionId?: number[] | null | undefined;
22830
+ wikiCode?: string[] | null | undefined;
22831
+ wikiNamespace?: number[] | null | undefined;
22832
+ wikidataInstanceOfId?: string[] | null | undefined;
22833
+ wikidataInstanceOfLabel?: string[] | null | undefined;
22834
+ } | null | undefined;
22835
+ size?: number | null | undefined;
22836
+ page?: number | null | undefined;
22837
+ wikiRevisionFrom?: string | null | undefined;
22838
+ wikiRevisionTo?: string | null | undefined;
22839
+ pageviewsFrom?: number | null | undefined;
22840
+ pageviewsTo?: number | null | undefined;
22841
+ }, {
22842
+ prompt: string;
22843
+ filter?: {
22844
+ wikidataId?: string[] | null | undefined;
22845
+ AND?: never[] | null | undefined;
22846
+ OR?: never[] | null | undefined;
22847
+ NOT?: never[] | null | undefined;
22848
+ pageId?: string[] | null | undefined;
22849
+ sectionId?: string[] | null | undefined;
22850
+ wikiPageId?: number[] | null | undefined;
22851
+ wikiRevisionId?: number[] | null | undefined;
22852
+ wikiCode?: string[] | null | undefined;
22853
+ wikiNamespace?: number[] | null | undefined;
22854
+ wikidataInstanceOfId?: string[] | null | undefined;
22855
+ wikidataInstanceOfLabel?: string[] | null | undefined;
22856
+ } | null | undefined;
22857
+ size?: number | null | undefined;
22858
+ page?: number | null | undefined;
22859
+ wikiRevisionFrom?: string | null | undefined;
22860
+ wikiRevisionTo?: string | null | undefined;
22861
+ pageviewsFrom?: number | null | undefined;
22862
+ pageviewsTo?: number | null | undefined;
22863
+ }>;
21696
22864
  }, "strip", z.ZodTypeAny, {
21697
- wikipediaSearchParams?: any;
22865
+ wikipediaSearchParams: {
22866
+ prompt: string;
22867
+ filter?: {
22868
+ wikidataId?: string[] | null | undefined;
22869
+ AND?: never[] | null | undefined;
22870
+ OR?: never[] | null | undefined;
22871
+ NOT?: never[] | null | undefined;
22872
+ pageId?: string[] | null | undefined;
22873
+ sectionId?: string[] | null | undefined;
22874
+ wikiPageId?: number[] | null | undefined;
22875
+ wikiRevisionId?: number[] | null | undefined;
22876
+ wikiCode?: string[] | null | undefined;
22877
+ wikiNamespace?: number[] | null | undefined;
22878
+ wikidataInstanceOfId?: string[] | null | undefined;
22879
+ wikidataInstanceOfLabel?: string[] | null | undefined;
22880
+ } | null | undefined;
22881
+ size?: number | null | undefined;
22882
+ page?: number | null | undefined;
22883
+ wikiRevisionFrom?: string | null | undefined;
22884
+ wikiRevisionTo?: string | null | undefined;
22885
+ pageviewsFrom?: number | null | undefined;
22886
+ pageviewsTo?: number | null | undefined;
22887
+ };
21698
22888
  }, {
21699
- wikipediaSearchParams?: any;
22889
+ wikipediaSearchParams: {
22890
+ prompt: string;
22891
+ filter?: {
22892
+ wikidataId?: string[] | null | undefined;
22893
+ AND?: never[] | null | undefined;
22894
+ OR?: never[] | null | undefined;
22895
+ NOT?: never[] | null | undefined;
22896
+ pageId?: string[] | null | undefined;
22897
+ sectionId?: string[] | null | undefined;
22898
+ wikiPageId?: number[] | null | undefined;
22899
+ wikiRevisionId?: number[] | null | undefined;
22900
+ wikiCode?: string[] | null | undefined;
22901
+ wikiNamespace?: number[] | null | undefined;
22902
+ wikidataInstanceOfId?: string[] | null | undefined;
22903
+ wikidataInstanceOfLabel?: string[] | null | undefined;
22904
+ } | null | undefined;
22905
+ size?: number | null | undefined;
22906
+ page?: number | null | undefined;
22907
+ wikiRevisionFrom?: string | null | undefined;
22908
+ wikiRevisionTo?: string | null | undefined;
22909
+ pageviewsFrom?: number | null | undefined;
22910
+ pageviewsTo?: number | null | undefined;
22911
+ };
21700
22912
  }>;
21701
22913
  type VectorSearchWikipediaRequest = z.input<typeof VectorSearchWikipediaRequestSchema>;
21702
22914
  /**
@@ -21765,4 +22977,4 @@ declare class V1Api extends BaseAPI {
21765
22977
  vectorSearchWikipedia(requestParameters: VectorSearchWikipediaRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<WikipediaVectorSearchResult>;
21766
22978
  }
21767
22979
 
21768
- export { AllEndpointSortBy, AllEndpointSortBySchema, type ApiResponse, type Article, ArticleSchema, type ArticleSearchFilter, ArticleSearchFilterSchema, type ArticleSearchParams, ArticleSearchParamsSchema, type ArticlesVectorSearchResult, ArticlesVectorSearchResultSchema, type AuthException, AuthExceptionSchema, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, type CategoryHolder, CategoryHolderSchema, type CategoryWithScoreHolder, CategoryWithScoreHolderSchema, type Company, type CompanyCount, CompanyCountSchema, type CompanyHolder, CompanyHolderSchema, CompanySchema, type CompanySearchResult, CompanySearchResultSchema, Configuration, type ConfigurationParameters, type Consume, type Coordinate, type CoordinateFilter, CoordinateFilterSchema, CoordinateSchema, DefaultConfig, type EntityHolder, EntityHolderSchema, type ErrorContext, type EventTypeHolder, EventTypeHolderSchema, type FetchAPI, FetchError, type FetchParams, GetJournalistByIdPathSchema, type GetJournalistByIdRequest, GetJournalistByIdRequestSchema, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type IdNameHolder, IdNameHolderSchema, type IllegalParameterException, type IllegalParameterExceptionCause, IllegalParameterExceptionCauseSchema, type IllegalParameterExceptionCauseStackTraceInner, IllegalParameterExceptionCauseStackTraceInnerSchema, IllegalParameterExceptionSchema, type IllegalParameterExceptionSuppressedInner, IllegalParameterExceptionSuppressedInnerSchema, type ImageHolder, ImageHolderSchema, type InitOverrideFunction, type InternalErrorException, InternalErrorExceptionSchema, JSONApiResponse, 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, type NewsCluster, NewsClusterSchema, type NotFoundException, NotFoundExceptionSchema, type PeopleSearchResult, PeopleSearchResultSchema, type Person, type PersonCount, PersonCountSchema, type PersonHolder, PersonHolderSchema, PersonSchema, type Place, PlaceSchema, type QuerySearchResult, QuerySearchResultSchema, type Question, QuestionSchema, type RecordStatHolder, RecordStatHolderSchema, type RequestContext, type RequestOpts, RequiredError, type ResponseContext, ResponseError, type ResponseTransformer, 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, type SentimentHolder, SentimentHolderSchema, SortBy, SortBySchema, type Source, type SourceHolder, SourceHolderSchema, type SourceLocation, SourceLocationSchema, SourceSchema, type SourceSearchResult, SourceSearchResultSchema, type SourceTopStatHolder, SourceTopStatHolderSchema, type StorySearchResult, StorySearchResultSchema, type SummaryBody, SummaryBodySchema, type SummarySearchResult, SummarySearchResultSchema, type SymbolHolder, SymbolHolderSchema, TextApiResponse, type TooManyRequestsException, TooManyRequestsExceptionSchema, type TopicDto, TopicDtoSchema, type TopicHolder, TopicHolderSchema, type TopicLabels, TopicLabelsSchema, type TopicSearchResult, TopicSearchResultSchema, V1Api, VectorSearchArticlesBodySchema, type VectorSearchArticlesRequest, VectorSearchArticlesRequestSchema, VectorSearchWikipediaBodySchema, type VectorSearchWikipediaRequest, VectorSearchWikipediaRequestSchema, VoidApiResponse, 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, canConsumeForm, exists, mapValues, querystring };
22980
+ export { AllEndpointSortBy, AllEndpointSortBySchema, type ApiResponse, type Article, ArticleSchema, type ArticleSearchFilter, ArticleSearchFilterSchema, type ArticleSearchParams, ArticleSearchParamsSchema, type ArticlesVectorSearchResult, ArticlesVectorSearchResultSchema, type AuthException, AuthExceptionSchema, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, type CategoryHolder, CategoryHolderSchema, type CategoryWithScoreHolder, CategoryWithScoreHolderSchema, type Company, type CompanyCount, CompanyCountSchema, type CompanyHolder, CompanyHolderSchema, CompanySchema, type CompanySearchResult, CompanySearchResultSchema, Configuration, type ConfigurationParameters, type Consume, type Coordinate, type CoordinateFilter, CoordinateFilterSchema, CoordinateSchema, DefaultConfig, type EntityHolder, EntityHolderSchema, type ErrorContext, type EventTypeHolder, EventTypeHolderSchema, type FetchAPI, FetchError, type FetchParams, GetJournalistByIdPathSchema, type GetJournalistByIdRequest, GetJournalistByIdRequestSchema, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type IdNameHolder, IdNameHolderSchema, type IllegalParameterException, IllegalParameterExceptionSchema, type ImageHolder, ImageHolderSchema, type InitOverrideFunction, type InternalErrorException, type InternalErrorExceptionCause, InternalErrorExceptionCauseSchema, type InternalErrorExceptionCauseStackTraceInner, InternalErrorExceptionCauseStackTraceInnerSchema, InternalErrorExceptionSchema, type InternalErrorExceptionSuppressedInner, InternalErrorExceptionSuppressedInnerSchema, JSONApiResponse, 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, type NewsCluster, NewsClusterSchema, type NotFoundException, NotFoundExceptionSchema, type PeopleSearchResult, PeopleSearchResultSchema, type Person, type PersonCount, PersonCountSchema, type PersonHolder, PersonHolderSchema, PersonSchema, type Place, PlaceSchema, type QuerySearchResult, QuerySearchResultSchema, type Question, QuestionSchema, type RecordStatHolder, RecordStatHolderSchema, type RequestContext, type RequestOpts, RequiredError, type ResponseContext, ResponseError, type ResponseTransformer, 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, type SentimentHolder, SentimentHolderSchema, SortBy, SortBySchema, type Source, type SourceHolder, SourceHolderSchema, type SourceLocation, SourceLocationSchema, SourceSchema, type SourceSearchResult, SourceSearchResultSchema, type SourceTopStatHolder, SourceTopStatHolderSchema, type StorySearchResult, StorySearchResultSchema, type SummaryBody, SummaryBodySchema, type SummarySearchResult, SummarySearchResultSchema, type SymbolHolder, SymbolHolderSchema, TextApiResponse, type TooManyRequestsException, TooManyRequestsExceptionSchema, type TopicDto, TopicDtoSchema, type TopicHolder, TopicHolderSchema, type TopicLabels, TopicLabelsSchema, type TopicSearchResult, TopicSearchResultSchema, V1Api, VectorSearchArticlesBodySchema, type VectorSearchArticlesRequest, VectorSearchArticlesRequestSchema, VectorSearchWikipediaBodySchema, type VectorSearchWikipediaRequest, VectorSearchWikipediaRequestSchema, VoidApiResponse, 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, canConsumeForm, exists, mapValues, querystring };