@goperigon/perigon-ts 2.1.2 → 2.1.4

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
@@ -1,16 +1,5 @@
1
1
  import { z } from 'zod';
2
2
 
3
- /**
4
- * Perigon API
5
- * The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: data@perigon.io
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
3
  declare const BASE_PATH: string;
15
4
  interface ConfigurationParameters {
16
5
  fetchApi?: FetchAPI;
@@ -34,6 +23,41 @@ declare class Configuration {
34
23
  get credentials(): RequestCredentials | undefined;
35
24
  }
36
25
  declare const DefaultConfig: Configuration;
26
+ declare class FetchError extends Error {
27
+ cause: Error;
28
+ name: "FetchError";
29
+ constructor(cause: Error, msg?: string);
30
+ }
31
+ declare class HttpError extends Error {
32
+ readonly status: number;
33
+ readonly statusText: string;
34
+ readonly response: Response;
35
+ readonly body?: any;
36
+ constructor(response: Response, body?: any);
37
+ }
38
+ declare class BadRequestError extends HttpError {
39
+ constructor(response: Response, body?: any);
40
+ }
41
+ declare class UnauthorizedError extends HttpError {
42
+ constructor(response: Response, body?: any);
43
+ }
44
+ declare class ForbiddenError extends HttpError {
45
+ constructor(response: Response, body?: any);
46
+ }
47
+ declare class NotFoundError extends HttpError {
48
+ constructor(response: Response, body?: any);
49
+ }
50
+ declare class RateLimitError extends HttpError {
51
+ readonly retryAfter?: number;
52
+ constructor(response: Response, body?: any);
53
+ }
54
+ declare class ServerError extends HttpError {
55
+ constructor(response: Response, body?: any);
56
+ }
57
+ declare class NetworkError extends Error {
58
+ constructor(originalError: Error);
59
+ }
60
+ declare function createHttpError(response: Response, body?: any): HttpError;
37
61
  /**
38
62
  * This is the base class for all generated API classes.
39
63
  */
@@ -65,21 +89,6 @@ declare class BaseAPI {
65
89
  */
66
90
  private clone;
67
91
  }
68
- declare class ResponseError extends Error {
69
- response: Response;
70
- name: "ResponseError";
71
- constructor(response: Response, msg?: string);
72
- }
73
- declare class FetchError extends Error {
74
- cause: Error;
75
- name: "FetchError";
76
- constructor(cause: Error, msg?: string);
77
- }
78
- declare class RequiredError extends Error {
79
- field: string;
80
- name: "RequiredError";
81
- constructor(field: string, msg?: string);
82
- }
83
92
  declare const COLLECTION_FORMATS: {
84
93
  csv: string;
85
94
  ssv: string;
@@ -120,13 +129,6 @@ interface RequestOpts {
120
129
  }
121
130
  declare function querystring(params: HTTPQuery, prefix?: string): string;
122
131
  declare function exists(json: any, key: string): boolean;
123
- declare function mapValues(data: any, fn: (item: any) => any): {
124
- [key: string]: any;
125
- };
126
- declare function canConsumeForm(consumes: Consume[]): boolean;
127
- interface Consume {
128
- contentType: string;
129
- }
130
132
  interface RequestContext {
131
133
  fetch: FetchAPI;
132
134
  url: string;
@@ -150,34 +152,6 @@ interface Middleware {
150
152
  post?(context: ResponseContext): Promise<Response | void>;
151
153
  onError?(context: ErrorContext): Promise<Response | void>;
152
154
  }
153
- interface ApiResponse<T> {
154
- raw: Response;
155
- value(): Promise<T>;
156
- }
157
- interface ResponseTransformer<T> {
158
- (json: any): T;
159
- }
160
- declare class JSONApiResponse<T> {
161
- raw: Response;
162
- private transformer;
163
- constructor(raw: Response, transformer?: ResponseTransformer<T>);
164
- value(): Promise<T>;
165
- }
166
- declare class VoidApiResponse {
167
- raw: Response;
168
- constructor(raw: Response);
169
- value(): Promise<void>;
170
- }
171
- declare class BlobApiResponse {
172
- raw: Response;
173
- constructor(raw: Response);
174
- value(): Promise<Blob>;
175
- }
176
- declare class TextApiResponse {
177
- raw: Response;
178
- constructor(raw: Response);
179
- value(): Promise<string>;
180
- }
181
155
 
182
156
  /**
183
157
  * Perigon API
@@ -855,7 +829,7 @@ declare const NewsClusterSchema: z.ZodObject<{
855
829
  answer?: string | null | undefined;
856
830
  }>, "many">>>;
857
831
  uniqueSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
858
- selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
832
+ selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
859
833
  sentiment: z.ZodNullable<z.ZodOptional<z.ZodObject<{
860
834
  positive: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
861
835
  negative: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -1082,7 +1056,7 @@ declare const NewsClusterSchema: z.ZodObject<{
1082
1056
  answer?: string | null | undefined;
1083
1057
  }[] | null | undefined;
1084
1058
  uniqueSources?: string[] | null | undefined;
1085
- selectedArticles?: never[] | null | undefined;
1059
+ selectedArticles?: unknown[] | null | undefined;
1086
1060
  sentiment?: {
1087
1061
  positive?: number | null | undefined;
1088
1062
  negative?: number | null | undefined;
@@ -1190,7 +1164,7 @@ declare const NewsClusterSchema: z.ZodObject<{
1190
1164
  answer?: string | null | undefined;
1191
1165
  }[] | null | undefined;
1192
1166
  uniqueSources?: string[] | null | undefined;
1193
- selectedArticles?: never[] | null | undefined;
1167
+ selectedArticles?: unknown[] | null | undefined;
1194
1168
  sentiment?: {
1195
1169
  positive?: number | null | undefined;
1196
1170
  negative?: number | null | undefined;
@@ -1701,7 +1675,7 @@ declare const ArticleSchema: z.ZodObject<{
1701
1675
  answer?: string | null | undefined;
1702
1676
  }>, "many">>>;
1703
1677
  uniqueSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1704
- selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
1678
+ selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
1705
1679
  sentiment: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1706
1680
  positive: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1707
1681
  negative: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -1928,7 +1902,7 @@ declare const ArticleSchema: z.ZodObject<{
1928
1902
  answer?: string | null | undefined;
1929
1903
  }[] | null | undefined;
1930
1904
  uniqueSources?: string[] | null | undefined;
1931
- selectedArticles?: never[] | null | undefined;
1905
+ selectedArticles?: unknown[] | null | undefined;
1932
1906
  sentiment?: {
1933
1907
  positive?: number | null | undefined;
1934
1908
  negative?: number | null | undefined;
@@ -2036,7 +2010,7 @@ declare const ArticleSchema: z.ZodObject<{
2036
2010
  answer?: string | null | undefined;
2037
2011
  }[] | null | undefined;
2038
2012
  uniqueSources?: string[] | null | undefined;
2039
- selectedArticles?: never[] | null | undefined;
2013
+ selectedArticles?: unknown[] | null | undefined;
2040
2014
  sentiment?: {
2041
2015
  positive?: number | null | undefined;
2042
2016
  negative?: number | null | undefined;
@@ -2447,7 +2421,7 @@ declare const ArticleSchema: z.ZodObject<{
2447
2421
  answer?: string | null | undefined;
2448
2422
  }[] | null | undefined;
2449
2423
  uniqueSources?: string[] | null | undefined;
2450
- selectedArticles?: never[] | null | undefined;
2424
+ selectedArticles?: unknown[] | null | undefined;
2451
2425
  sentiment?: {
2452
2426
  positive?: number | null | undefined;
2453
2427
  negative?: number | null | undefined;
@@ -2719,7 +2693,7 @@ declare const ArticleSchema: z.ZodObject<{
2719
2693
  answer?: string | null | undefined;
2720
2694
  }[] | null | undefined;
2721
2695
  uniqueSources?: string[] | null | undefined;
2722
- selectedArticles?: never[] | null | undefined;
2696
+ selectedArticles?: unknown[] | null | undefined;
2723
2697
  sentiment?: {
2724
2698
  positive?: number | null | undefined;
2725
2699
  negative?: number | null | undefined;
@@ -3024,15 +2998,15 @@ declare const ArticleSearchFilterSchema: z.ZodObject<{
3024
2998
  /**
3025
2999
  * Adds additional AND filter objects. These objects must be of the same type as the original filter object and will be combined with the existing filter using the AND logical operator.
3026
3000
  */
3027
- AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
3001
+ AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
3028
3002
  /**
3029
3003
  * Adds additional OR filter objects. These objects must be of the same type as the original filter object and will be combined with the existing filter using the OR logical operator.
3030
3004
  */
3031
- OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
3005
+ OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
3032
3006
  /**
3033
3007
  * A filter object for logical NOT operations
3034
3008
  */
3035
- NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
3009
+ NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
3036
3010
  }, "strip", z.ZodTypeAny, {
3037
3011
  country?: string[] | null | undefined;
3038
3012
  state?: string[] | null | undefined;
@@ -3082,9 +3056,9 @@ declare const ArticleSearchFilterSchema: z.ZodObject<{
3082
3056
  excludePersonWikidataId?: string[] | null | undefined;
3083
3057
  personName?: string[] | null | undefined;
3084
3058
  excludePersonName?: string[] | null | undefined;
3085
- AND?: never[] | null | undefined;
3086
- OR?: never[] | null | undefined;
3087
- NOT?: never[] | null | undefined;
3059
+ AND?: unknown[] | null | undefined;
3060
+ OR?: unknown[] | null | undefined;
3061
+ NOT?: unknown[] | null | undefined;
3088
3062
  }, {
3089
3063
  country?: string[] | null | undefined;
3090
3064
  state?: string[] | null | undefined;
@@ -3134,9 +3108,9 @@ declare const ArticleSearchFilterSchema: z.ZodObject<{
3134
3108
  excludePersonWikidataId?: string[] | null | undefined;
3135
3109
  personName?: string[] | null | undefined;
3136
3110
  excludePersonName?: string[] | null | undefined;
3137
- AND?: never[] | null | undefined;
3138
- OR?: never[] | null | undefined;
3139
- NOT?: never[] | null | undefined;
3111
+ AND?: unknown[] | null | undefined;
3112
+ OR?: unknown[] | null | undefined;
3113
+ NOT?: unknown[] | null | undefined;
3140
3114
  }>;
3141
3115
  type ArticleSearchFilter = z.infer<typeof ArticleSearchFilterSchema>;
3142
3116
  declare const ArticleSearchParamsSchema: z.ZodObject<{
@@ -3326,15 +3300,15 @@ declare const ArticleSearchParamsSchema: z.ZodObject<{
3326
3300
  /**
3327
3301
  * Adds additional AND filter objects. These objects must be of the same type as the original filter object and will be combined with the existing filter using the AND logical operator.
3328
3302
  */
3329
- AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
3303
+ AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
3330
3304
  /**
3331
3305
  * Adds additional OR filter objects. These objects must be of the same type as the original filter object and will be combined with the existing filter using the OR logical operator.
3332
3306
  */
3333
- OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
3307
+ OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
3334
3308
  /**
3335
3309
  * A filter object for logical NOT operations
3336
3310
  */
3337
- NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
3311
+ NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
3338
3312
  }, "strip", z.ZodTypeAny, {
3339
3313
  country?: string[] | null | undefined;
3340
3314
  state?: string[] | null | undefined;
@@ -3384,9 +3358,9 @@ declare const ArticleSearchParamsSchema: z.ZodObject<{
3384
3358
  excludePersonWikidataId?: string[] | null | undefined;
3385
3359
  personName?: string[] | null | undefined;
3386
3360
  excludePersonName?: string[] | null | undefined;
3387
- AND?: never[] | null | undefined;
3388
- OR?: never[] | null | undefined;
3389
- NOT?: never[] | null | undefined;
3361
+ AND?: unknown[] | null | undefined;
3362
+ OR?: unknown[] | null | undefined;
3363
+ NOT?: unknown[] | null | undefined;
3390
3364
  }, {
3391
3365
  country?: string[] | null | undefined;
3392
3366
  state?: string[] | null | undefined;
@@ -3436,18 +3410,18 @@ declare const ArticleSearchParamsSchema: z.ZodObject<{
3436
3410
  excludePersonWikidataId?: string[] | null | undefined;
3437
3411
  personName?: string[] | null | undefined;
3438
3412
  excludePersonName?: string[] | null | undefined;
3439
- AND?: never[] | null | undefined;
3440
- OR?: never[] | null | undefined;
3441
- NOT?: never[] | null | undefined;
3413
+ AND?: unknown[] | null | undefined;
3414
+ OR?: unknown[] | null | undefined;
3415
+ NOT?: unknown[] | null | undefined;
3442
3416
  }>>>;
3443
3417
  /**
3444
3418
  * 'pubDateFrom' filter, will search articles published after the specified date, the date could be passed as ISO or 'yyyy-mm-dd'. Date time in ISO format, ie. 2024-01-01T00:00:00 - Default: Only articles with a pubDate within the last 30 days of the request
3445
3419
  */
3446
- pubDateFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3420
+ pubDateFrom: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodString]>, Date, string>>>;
3447
3421
  /**
3448
3422
  * 'pubDateFrom' filter, will search articles published before the specified date, the date could be passed as ISO or 'yyyy-mm-dd'. Date time in ISO format, ie. 2024-01-01T00:00:00
3449
3423
  */
3450
- pubDateTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3424
+ pubDateTo: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodString]>, Date, string>>>;
3451
3425
  /**
3452
3426
  * Whether to return reprints in the response or not. Reprints are usually wired articles from sources like AP or Reuters that are reprinted in multiple sources at the same time. By default, this parameter is 'true'.
3453
3427
  */
@@ -3511,12 +3485,12 @@ declare const ArticleSearchParamsSchema: z.ZodObject<{
3511
3485
  excludePersonWikidataId?: string[] | null | undefined;
3512
3486
  personName?: string[] | null | undefined;
3513
3487
  excludePersonName?: string[] | null | undefined;
3514
- AND?: never[] | null | undefined;
3515
- OR?: never[] | null | undefined;
3516
- NOT?: never[] | null | undefined;
3488
+ AND?: unknown[] | null | undefined;
3489
+ OR?: unknown[] | null | undefined;
3490
+ NOT?: unknown[] | null | undefined;
3517
3491
  } | null | undefined;
3518
- pubDateFrom?: string | null | undefined;
3519
- pubDateTo?: string | null | undefined;
3492
+ pubDateFrom?: Date | null | undefined;
3493
+ pubDateTo?: Date | null | undefined;
3520
3494
  showReprints?: boolean | null | undefined;
3521
3495
  size?: number | null | undefined;
3522
3496
  page?: number | null | undefined;
@@ -3571,9 +3545,9 @@ declare const ArticleSearchParamsSchema: z.ZodObject<{
3571
3545
  excludePersonWikidataId?: string[] | null | undefined;
3572
3546
  personName?: string[] | null | undefined;
3573
3547
  excludePersonName?: string[] | null | undefined;
3574
- AND?: never[] | null | undefined;
3575
- OR?: never[] | null | undefined;
3576
- NOT?: never[] | null | undefined;
3548
+ AND?: unknown[] | null | undefined;
3549
+ OR?: unknown[] | null | undefined;
3550
+ NOT?: unknown[] | null | undefined;
3577
3551
  } | null | undefined;
3578
3552
  pubDateFrom?: string | null | undefined;
3579
3553
  pubDateTo?: string | null | undefined;
@@ -3971,7 +3945,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
3971
3945
  answer?: string | null | undefined;
3972
3946
  }>, "many">>>;
3973
3947
  uniqueSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3974
- selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
3948
+ selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
3975
3949
  sentiment: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3976
3950
  positive: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3977
3951
  negative: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -4198,7 +4172,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
4198
4172
  answer?: string | null | undefined;
4199
4173
  }[] | null | undefined;
4200
4174
  uniqueSources?: string[] | null | undefined;
4201
- selectedArticles?: never[] | null | undefined;
4175
+ selectedArticles?: unknown[] | null | undefined;
4202
4176
  sentiment?: {
4203
4177
  positive?: number | null | undefined;
4204
4178
  negative?: number | null | undefined;
@@ -4306,7 +4280,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
4306
4280
  answer?: string | null | undefined;
4307
4281
  }[] | null | undefined;
4308
4282
  uniqueSources?: string[] | null | undefined;
4309
- selectedArticles?: never[] | null | undefined;
4283
+ selectedArticles?: unknown[] | null | undefined;
4310
4284
  sentiment?: {
4311
4285
  positive?: number | null | undefined;
4312
4286
  negative?: number | null | undefined;
@@ -4717,7 +4691,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
4717
4691
  answer?: string | null | undefined;
4718
4692
  }[] | null | undefined;
4719
4693
  uniqueSources?: string[] | null | undefined;
4720
- selectedArticles?: never[] | null | undefined;
4694
+ selectedArticles?: unknown[] | null | undefined;
4721
4695
  sentiment?: {
4722
4696
  positive?: number | null | undefined;
4723
4697
  negative?: number | null | undefined;
@@ -4989,7 +4963,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
4989
4963
  answer?: string | null | undefined;
4990
4964
  }[] | null | undefined;
4991
4965
  uniqueSources?: string[] | null | undefined;
4992
- selectedArticles?: never[] | null | undefined;
4966
+ selectedArticles?: unknown[] | null | undefined;
4993
4967
  sentiment?: {
4994
4968
  positive?: number | null | undefined;
4995
4969
  negative?: number | null | undefined;
@@ -5264,7 +5238,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
5264
5238
  answer?: string | null | undefined;
5265
5239
  }[] | null | undefined;
5266
5240
  uniqueSources?: string[] | null | undefined;
5267
- selectedArticles?: never[] | null | undefined;
5241
+ selectedArticles?: unknown[] | null | undefined;
5268
5242
  sentiment?: {
5269
5243
  positive?: number | null | undefined;
5270
5244
  negative?: number | null | undefined;
@@ -5539,7 +5513,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
5539
5513
  answer?: string | null | undefined;
5540
5514
  }[] | null | undefined;
5541
5515
  uniqueSources?: string[] | null | undefined;
5542
- selectedArticles?: never[] | null | undefined;
5516
+ selectedArticles?: unknown[] | null | undefined;
5543
5517
  sentiment?: {
5544
5518
  positive?: number | null | undefined;
5545
5519
  negative?: number | null | undefined;
@@ -6040,7 +6014,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
6040
6014
  answer?: string | null | undefined;
6041
6015
  }>, "many">>>;
6042
6016
  uniqueSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
6043
- selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
6017
+ selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
6044
6018
  sentiment: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6045
6019
  positive: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
6046
6020
  negative: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -6267,7 +6241,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
6267
6241
  answer?: string | null | undefined;
6268
6242
  }[] | null | undefined;
6269
6243
  uniqueSources?: string[] | null | undefined;
6270
- selectedArticles?: never[] | null | undefined;
6244
+ selectedArticles?: unknown[] | null | undefined;
6271
6245
  sentiment?: {
6272
6246
  positive?: number | null | undefined;
6273
6247
  negative?: number | null | undefined;
@@ -6375,7 +6349,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
6375
6349
  answer?: string | null | undefined;
6376
6350
  }[] | null | undefined;
6377
6351
  uniqueSources?: string[] | null | undefined;
6378
- selectedArticles?: never[] | null | undefined;
6352
+ selectedArticles?: unknown[] | null | undefined;
6379
6353
  sentiment?: {
6380
6354
  positive?: number | null | undefined;
6381
6355
  negative?: number | null | undefined;
@@ -6786,7 +6760,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
6786
6760
  answer?: string | null | undefined;
6787
6761
  }[] | null | undefined;
6788
6762
  uniqueSources?: string[] | null | undefined;
6789
- selectedArticles?: never[] | null | undefined;
6763
+ selectedArticles?: unknown[] | null | undefined;
6790
6764
  sentiment?: {
6791
6765
  positive?: number | null | undefined;
6792
6766
  negative?: number | null | undefined;
@@ -7058,7 +7032,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
7058
7032
  answer?: string | null | undefined;
7059
7033
  }[] | null | undefined;
7060
7034
  uniqueSources?: string[] | null | undefined;
7061
- selectedArticles?: never[] | null | undefined;
7035
+ selectedArticles?: unknown[] | null | undefined;
7062
7036
  sentiment?: {
7063
7037
  positive?: number | null | undefined;
7064
7038
  negative?: number | null | undefined;
@@ -7333,7 +7307,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
7333
7307
  answer?: string | null | undefined;
7334
7308
  }[] | null | undefined;
7335
7309
  uniqueSources?: string[] | null | undefined;
7336
- selectedArticles?: never[] | null | undefined;
7310
+ selectedArticles?: unknown[] | null | undefined;
7337
7311
  sentiment?: {
7338
7312
  positive?: number | null | undefined;
7339
7313
  negative?: number | null | undefined;
@@ -7608,7 +7582,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
7608
7582
  answer?: string | null | undefined;
7609
7583
  }[] | null | undefined;
7610
7584
  uniqueSources?: string[] | null | undefined;
7611
- selectedArticles?: never[] | null | undefined;
7585
+ selectedArticles?: unknown[] | null | undefined;
7612
7586
  sentiment?: {
7613
7587
  positive?: number | null | undefined;
7614
7588
  negative?: number | null | undefined;
@@ -7886,7 +7860,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
7886
7860
  answer?: string | null | undefined;
7887
7861
  }[] | null | undefined;
7888
7862
  uniqueSources?: string[] | null | undefined;
7889
- selectedArticles?: never[] | null | undefined;
7863
+ selectedArticles?: unknown[] | null | undefined;
7890
7864
  sentiment?: {
7891
7865
  positive?: number | null | undefined;
7892
7866
  negative?: number | null | undefined;
@@ -8164,7 +8138,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
8164
8138
  answer?: string | null | undefined;
8165
8139
  }[] | null | undefined;
8166
8140
  uniqueSources?: string[] | null | undefined;
8167
- selectedArticles?: never[] | null | undefined;
8141
+ selectedArticles?: unknown[] | null | undefined;
8168
8142
  sentiment?: {
8169
8143
  positive?: number | null | undefined;
8170
8144
  negative?: number | null | undefined;
@@ -11466,7 +11440,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
11466
11440
  answer?: string | null | undefined;
11467
11441
  }>, "many">>>;
11468
11442
  uniqueSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
11469
- selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
11443
+ selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
11470
11444
  sentiment: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11471
11445
  positive: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11472
11446
  negative: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -11693,7 +11667,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
11693
11667
  answer?: string | null | undefined;
11694
11668
  }[] | null | undefined;
11695
11669
  uniqueSources?: string[] | null | undefined;
11696
- selectedArticles?: never[] | null | undefined;
11670
+ selectedArticles?: unknown[] | null | undefined;
11697
11671
  sentiment?: {
11698
11672
  positive?: number | null | undefined;
11699
11673
  negative?: number | null | undefined;
@@ -11801,7 +11775,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
11801
11775
  answer?: string | null | undefined;
11802
11776
  }[] | null | undefined;
11803
11777
  uniqueSources?: string[] | null | undefined;
11804
- selectedArticles?: never[] | null | undefined;
11778
+ selectedArticles?: unknown[] | null | undefined;
11805
11779
  sentiment?: {
11806
11780
  positive?: number | null | undefined;
11807
11781
  negative?: number | null | undefined;
@@ -12212,7 +12186,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
12212
12186
  answer?: string | null | undefined;
12213
12187
  }[] | null | undefined;
12214
12188
  uniqueSources?: string[] | null | undefined;
12215
- selectedArticles?: never[] | null | undefined;
12189
+ selectedArticles?: unknown[] | null | undefined;
12216
12190
  sentiment?: {
12217
12191
  positive?: number | null | undefined;
12218
12192
  negative?: number | null | undefined;
@@ -12484,7 +12458,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
12484
12458
  answer?: string | null | undefined;
12485
12459
  }[] | null | undefined;
12486
12460
  uniqueSources?: string[] | null | undefined;
12487
- selectedArticles?: never[] | null | undefined;
12461
+ selectedArticles?: unknown[] | null | undefined;
12488
12462
  sentiment?: {
12489
12463
  positive?: number | null | undefined;
12490
12464
  negative?: number | null | undefined;
@@ -12760,7 +12734,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
12760
12734
  answer?: string | null | undefined;
12761
12735
  }[] | null | undefined;
12762
12736
  uniqueSources?: string[] | null | undefined;
12763
- selectedArticles?: never[] | null | undefined;
12737
+ selectedArticles?: unknown[] | null | undefined;
12764
12738
  sentiment?: {
12765
12739
  positive?: number | null | undefined;
12766
12740
  negative?: number | null | undefined;
@@ -13036,7 +13010,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
13036
13010
  answer?: string | null | undefined;
13037
13011
  }[] | null | undefined;
13038
13012
  uniqueSources?: string[] | null | undefined;
13039
- selectedArticles?: never[] | null | undefined;
13013
+ selectedArticles?: unknown[] | null | undefined;
13040
13014
  sentiment?: {
13041
13015
  positive?: number | null | undefined;
13042
13016
  negative?: number | null | undefined;
@@ -13981,7 +13955,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
13981
13955
  answer?: string | null | undefined;
13982
13956
  }>, "many">>>;
13983
13957
  uniqueSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
13984
- selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
13958
+ selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
13985
13959
  sentiment: z.ZodNullable<z.ZodOptional<z.ZodObject<{
13986
13960
  positive: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
13987
13961
  negative: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -14208,7 +14182,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
14208
14182
  answer?: string | null | undefined;
14209
14183
  }[] | null | undefined;
14210
14184
  uniqueSources?: string[] | null | undefined;
14211
- selectedArticles?: never[] | null | undefined;
14185
+ selectedArticles?: unknown[] | null | undefined;
14212
14186
  sentiment?: {
14213
14187
  positive?: number | null | undefined;
14214
14188
  negative?: number | null | undefined;
@@ -14316,7 +14290,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
14316
14290
  answer?: string | null | undefined;
14317
14291
  }[] | null | undefined;
14318
14292
  uniqueSources?: string[] | null | undefined;
14319
- selectedArticles?: never[] | null | undefined;
14293
+ selectedArticles?: unknown[] | null | undefined;
14320
14294
  sentiment?: {
14321
14295
  positive?: number | null | undefined;
14322
14296
  negative?: number | null | undefined;
@@ -14427,7 +14401,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
14427
14401
  answer?: string | null | undefined;
14428
14402
  }[] | null | undefined;
14429
14403
  uniqueSources?: string[] | null | undefined;
14430
- selectedArticles?: never[] | null | undefined;
14404
+ selectedArticles?: unknown[] | null | undefined;
14431
14405
  sentiment?: {
14432
14406
  positive?: number | null | undefined;
14433
14407
  negative?: number | null | undefined;
@@ -14539,7 +14513,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
14539
14513
  answer?: string | null | undefined;
14540
14514
  }[] | null | undefined;
14541
14515
  uniqueSources?: string[] | null | undefined;
14542
- selectedArticles?: never[] | null | undefined;
14516
+ selectedArticles?: unknown[] | null | undefined;
14543
14517
  sentiment?: {
14544
14518
  positive?: number | null | undefined;
14545
14519
  negative?: number | null | undefined;
@@ -15050,7 +15024,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
15050
15024
  answer?: string | null | undefined;
15051
15025
  }>, "many">>>;
15052
15026
  uniqueSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15053
- selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
15027
+ selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
15054
15028
  sentiment: z.ZodNullable<z.ZodOptional<z.ZodObject<{
15055
15029
  positive: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
15056
15030
  negative: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -15277,7 +15251,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
15277
15251
  answer?: string | null | undefined;
15278
15252
  }[] | null | undefined;
15279
15253
  uniqueSources?: string[] | null | undefined;
15280
- selectedArticles?: never[] | null | undefined;
15254
+ selectedArticles?: unknown[] | null | undefined;
15281
15255
  sentiment?: {
15282
15256
  positive?: number | null | undefined;
15283
15257
  negative?: number | null | undefined;
@@ -15385,7 +15359,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
15385
15359
  answer?: string | null | undefined;
15386
15360
  }[] | null | undefined;
15387
15361
  uniqueSources?: string[] | null | undefined;
15388
- selectedArticles?: never[] | null | undefined;
15362
+ selectedArticles?: unknown[] | null | undefined;
15389
15363
  sentiment?: {
15390
15364
  positive?: number | null | undefined;
15391
15365
  negative?: number | null | undefined;
@@ -15796,7 +15770,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
15796
15770
  answer?: string | null | undefined;
15797
15771
  }[] | null | undefined;
15798
15772
  uniqueSources?: string[] | null | undefined;
15799
- selectedArticles?: never[] | null | undefined;
15773
+ selectedArticles?: unknown[] | null | undefined;
15800
15774
  sentiment?: {
15801
15775
  positive?: number | null | undefined;
15802
15776
  negative?: number | null | undefined;
@@ -16068,7 +16042,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
16068
16042
  answer?: string | null | undefined;
16069
16043
  }[] | null | undefined;
16070
16044
  uniqueSources?: string[] | null | undefined;
16071
- selectedArticles?: never[] | null | undefined;
16045
+ selectedArticles?: unknown[] | null | undefined;
16072
16046
  sentiment?: {
16073
16047
  positive?: number | null | undefined;
16074
16048
  negative?: number | null | undefined;
@@ -16344,7 +16318,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
16344
16318
  answer?: string | null | undefined;
16345
16319
  }[] | null | undefined;
16346
16320
  uniqueSources?: string[] | null | undefined;
16347
- selectedArticles?: never[] | null | undefined;
16321
+ selectedArticles?: unknown[] | null | undefined;
16348
16322
  sentiment?: {
16349
16323
  positive?: number | null | undefined;
16350
16324
  negative?: number | null | undefined;
@@ -16621,7 +16595,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
16621
16595
  answer?: string | null | undefined;
16622
16596
  }[] | null | undefined;
16623
16597
  uniqueSources?: string[] | null | undefined;
16624
- selectedArticles?: never[] | null | undefined;
16598
+ selectedArticles?: unknown[] | null | undefined;
16625
16599
  sentiment?: {
16626
16600
  positive?: number | null | undefined;
16627
16601
  negative?: number | null | undefined;
@@ -16979,8 +16953,8 @@ declare const TopicLabelsSchema: z.ZodObject<{
16979
16953
  type TopicLabels = z.infer<typeof TopicLabelsSchema>;
16980
16954
  declare const TopicDtoSchema: z.ZodObject<{
16981
16955
  id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
16982
- createdAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16983
- updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16956
+ createdAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodString]>, Date, string>>>;
16957
+ updatedAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodString]>, Date, string>>>;
16984
16958
  name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16985
16959
  labels: z.ZodNullable<z.ZodOptional<z.ZodObject<{
16986
16960
  category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -16994,8 +16968,8 @@ declare const TopicDtoSchema: z.ZodObject<{
16994
16968
  }>>>;
16995
16969
  }, "strip", z.ZodTypeAny, {
16996
16970
  name?: string | null | undefined;
16997
- createdAt?: string | null | undefined;
16998
- updatedAt?: string | null | undefined;
16971
+ createdAt?: Date | null | undefined;
16972
+ updatedAt?: Date | null | undefined;
16999
16973
  id?: number | null | undefined;
17000
16974
  labels?: {
17001
16975
  category?: string | null | undefined;
@@ -17016,8 +16990,8 @@ declare const TopicSearchResultSchema: z.ZodObject<{
17016
16990
  total: z.ZodNumber;
17017
16991
  data: z.ZodArray<z.ZodObject<{
17018
16992
  id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
17019
- createdAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17020
- updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16993
+ createdAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodString]>, Date, string>>>;
16994
+ updatedAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodString]>, Date, string>>>;
17021
16995
  name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17022
16996
  labels: z.ZodNullable<z.ZodOptional<z.ZodObject<{
17023
16997
  category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -17031,8 +17005,8 @@ declare const TopicSearchResultSchema: z.ZodObject<{
17031
17005
  }>>>;
17032
17006
  }, "strip", z.ZodTypeAny, {
17033
17007
  name?: string | null | undefined;
17034
- createdAt?: string | null | undefined;
17035
- updatedAt?: string | null | undefined;
17008
+ createdAt?: Date | null | undefined;
17009
+ updatedAt?: Date | null | undefined;
17036
17010
  id?: number | null | undefined;
17037
17011
  labels?: {
17038
17012
  category?: string | null | undefined;
@@ -17051,8 +17025,8 @@ declare const TopicSearchResultSchema: z.ZodObject<{
17051
17025
  }, "strip", z.ZodTypeAny, {
17052
17026
  data: {
17053
17027
  name?: string | null | undefined;
17054
- createdAt?: string | null | undefined;
17055
- updatedAt?: string | null | undefined;
17028
+ createdAt?: Date | null | undefined;
17029
+ updatedAt?: Date | null | undefined;
17056
17030
  id?: number | null | undefined;
17057
17031
  labels?: {
17058
17032
  category?: string | null | undefined;
@@ -17249,20 +17223,20 @@ declare const WikipediaSearchFilterSchema: z.ZodObject<{
17249
17223
  /**
17250
17224
  * Adds additional AND filter objects. These objects must be of the same type as the original filter object and will be combined with the existing filter using the AND logical operator.
17251
17225
  */
17252
- AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
17226
+ AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
17253
17227
  /**
17254
17228
  * Adds additional OR filter objects. These objects must be of the same type as the original filter object and will be combined with the existing filter using the OR logical operator.
17255
17229
  */
17256
- OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
17230
+ OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
17257
17231
  /**
17258
17232
  * A filter object for logical NOT operations
17259
17233
  */
17260
- NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
17234
+ NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
17261
17235
  }, "strip", z.ZodTypeAny, {
17262
17236
  wikidataId?: string[] | null | undefined;
17263
- AND?: never[] | null | undefined;
17264
- OR?: never[] | null | undefined;
17265
- NOT?: never[] | null | undefined;
17237
+ AND?: unknown[] | null | undefined;
17238
+ OR?: unknown[] | null | undefined;
17239
+ NOT?: unknown[] | null | undefined;
17266
17240
  pageId?: string[] | null | undefined;
17267
17241
  sectionId?: string[] | null | undefined;
17268
17242
  wikiPageId?: number[] | null | undefined;
@@ -17273,9 +17247,9 @@ declare const WikipediaSearchFilterSchema: z.ZodObject<{
17273
17247
  wikidataInstanceOfLabel?: string[] | null | undefined;
17274
17248
  }, {
17275
17249
  wikidataId?: string[] | null | undefined;
17276
- AND?: never[] | null | undefined;
17277
- OR?: never[] | null | undefined;
17278
- NOT?: never[] | null | undefined;
17250
+ AND?: unknown[] | null | undefined;
17251
+ OR?: unknown[] | null | undefined;
17252
+ NOT?: unknown[] | null | undefined;
17279
17253
  pageId?: string[] | null | undefined;
17280
17254
  sectionId?: string[] | null | undefined;
17281
17255
  wikiPageId?: number[] | null | undefined;
@@ -17331,20 +17305,20 @@ declare const WikipediaSearchParamsSchema: z.ZodObject<{
17331
17305
  /**
17332
17306
  * Adds additional AND filter objects. These objects must be of the same type as the original filter object and will be combined with the existing filter using the AND logical operator.
17333
17307
  */
17334
- AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
17308
+ AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
17335
17309
  /**
17336
17310
  * Adds additional OR filter objects. These objects must be of the same type as the original filter object and will be combined with the existing filter using the OR logical operator.
17337
17311
  */
17338
- OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
17312
+ OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
17339
17313
  /**
17340
17314
  * A filter object for logical NOT operations
17341
17315
  */
17342
- NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNever, "many">>>;
17316
+ NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
17343
17317
  }, "strip", z.ZodTypeAny, {
17344
17318
  wikidataId?: string[] | null | undefined;
17345
- AND?: never[] | null | undefined;
17346
- OR?: never[] | null | undefined;
17347
- NOT?: never[] | null | undefined;
17319
+ AND?: unknown[] | null | undefined;
17320
+ OR?: unknown[] | null | undefined;
17321
+ NOT?: unknown[] | null | undefined;
17348
17322
  pageId?: string[] | null | undefined;
17349
17323
  sectionId?: string[] | null | undefined;
17350
17324
  wikiPageId?: number[] | null | undefined;
@@ -17355,9 +17329,9 @@ declare const WikipediaSearchParamsSchema: z.ZodObject<{
17355
17329
  wikidataInstanceOfLabel?: string[] | null | undefined;
17356
17330
  }, {
17357
17331
  wikidataId?: string[] | null | undefined;
17358
- AND?: never[] | null | undefined;
17359
- OR?: never[] | null | undefined;
17360
- NOT?: never[] | null | undefined;
17332
+ AND?: unknown[] | null | undefined;
17333
+ OR?: unknown[] | null | undefined;
17334
+ NOT?: unknown[] | null | undefined;
17361
17335
  pageId?: string[] | null | undefined;
17362
17336
  sectionId?: string[] | null | undefined;
17363
17337
  wikiPageId?: number[] | null | undefined;
@@ -17370,11 +17344,11 @@ declare const WikipediaSearchParamsSchema: z.ZodObject<{
17370
17344
  /**
17371
17345
  * 'wikiRevisionFrom' filter, will search pages modified after the specified date, the date could be passed as ISO or 'yyyy-mm-dd'. Date time in ISO format, ie. 2024-01-01T00:00:00.
17372
17346
  */
17373
- wikiRevisionFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17347
+ wikiRevisionFrom: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodString]>, Date, string>>>;
17374
17348
  /**
17375
17349
  * 'wikiRevisionFrom' filter, will search pages modified before the specified date, the date could be passed as ISO or 'yyyy-mm-dd'. Date time in ISO format, ie. 2024-01-01T00:00:00.
17376
17350
  */
17377
- wikiRevisionTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17351
+ wikiRevisionTo: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodString]>, Date, string>>>;
17378
17352
  /**
17379
17353
  * 'pageviewsFrom' filter, will search pages with at least the provided number of views per day.
17380
17354
  */
@@ -17395,9 +17369,9 @@ declare const WikipediaSearchParamsSchema: z.ZodObject<{
17395
17369
  prompt: string;
17396
17370
  filter?: {
17397
17371
  wikidataId?: string[] | null | undefined;
17398
- AND?: never[] | null | undefined;
17399
- OR?: never[] | null | undefined;
17400
- NOT?: never[] | null | undefined;
17372
+ AND?: unknown[] | null | undefined;
17373
+ OR?: unknown[] | null | undefined;
17374
+ NOT?: unknown[] | null | undefined;
17401
17375
  pageId?: string[] | null | undefined;
17402
17376
  sectionId?: string[] | null | undefined;
17403
17377
  wikiPageId?: number[] | null | undefined;
@@ -17409,17 +17383,17 @@ declare const WikipediaSearchParamsSchema: z.ZodObject<{
17409
17383
  } | null | undefined;
17410
17384
  size?: number | null | undefined;
17411
17385
  page?: number | null | undefined;
17412
- wikiRevisionFrom?: string | null | undefined;
17413
- wikiRevisionTo?: string | null | undefined;
17386
+ wikiRevisionFrom?: Date | null | undefined;
17387
+ wikiRevisionTo?: Date | null | undefined;
17414
17388
  pageviewsFrom?: number | null | undefined;
17415
17389
  pageviewsTo?: number | null | undefined;
17416
17390
  }, {
17417
17391
  prompt: string;
17418
17392
  filter?: {
17419
17393
  wikidataId?: string[] | null | undefined;
17420
- AND?: never[] | null | undefined;
17421
- OR?: never[] | null | undefined;
17422
- NOT?: never[] | null | undefined;
17394
+ AND?: unknown[] | null | undefined;
17395
+ OR?: unknown[] | null | undefined;
17396
+ NOT?: unknown[] | null | undefined;
17423
17397
  pageId?: string[] | null | undefined;
17424
17398
  sectionId?: string[] | null | undefined;
17425
17399
  wikiPageId?: number[] | null | undefined;
@@ -21825,9 +21799,9 @@ declare const VectorSearchArticlesBodySchema: z.ZodObject<{
21825
21799
  excludePersonWikidataId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21826
21800
  personName: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21827
21801
  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">>>;
21802
+ AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
21803
+ OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
21804
+ NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
21831
21805
  }, "strip", z.ZodTypeAny, {
21832
21806
  country?: string[] | null | undefined;
21833
21807
  state?: string[] | null | undefined;
@@ -21877,9 +21851,9 @@ declare const VectorSearchArticlesBodySchema: z.ZodObject<{
21877
21851
  excludePersonWikidataId?: string[] | null | undefined;
21878
21852
  personName?: string[] | null | undefined;
21879
21853
  excludePersonName?: string[] | null | undefined;
21880
- AND?: never[] | null | undefined;
21881
- OR?: never[] | null | undefined;
21882
- NOT?: never[] | null | undefined;
21854
+ AND?: unknown[] | null | undefined;
21855
+ OR?: unknown[] | null | undefined;
21856
+ NOT?: unknown[] | null | undefined;
21883
21857
  }, {
21884
21858
  country?: string[] | null | undefined;
21885
21859
  state?: string[] | null | undefined;
@@ -21929,12 +21903,12 @@ declare const VectorSearchArticlesBodySchema: z.ZodObject<{
21929
21903
  excludePersonWikidataId?: string[] | null | undefined;
21930
21904
  personName?: string[] | null | undefined;
21931
21905
  excludePersonName?: string[] | null | undefined;
21932
- AND?: never[] | null | undefined;
21933
- OR?: never[] | null | undefined;
21934
- NOT?: never[] | null | undefined;
21906
+ AND?: unknown[] | null | undefined;
21907
+ OR?: unknown[] | null | undefined;
21908
+ NOT?: unknown[] | null | undefined;
21935
21909
  }>>>;
21936
- pubDateFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21937
- pubDateTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21910
+ pubDateFrom: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodString]>, Date, string>>>;
21911
+ pubDateTo: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodString]>, Date, string>>>;
21938
21912
  showReprints: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
21939
21913
  size: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
21940
21914
  page: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -21989,12 +21963,12 @@ declare const VectorSearchArticlesBodySchema: z.ZodObject<{
21989
21963
  excludePersonWikidataId?: string[] | null | undefined;
21990
21964
  personName?: string[] | null | undefined;
21991
21965
  excludePersonName?: string[] | null | undefined;
21992
- AND?: never[] | null | undefined;
21993
- OR?: never[] | null | undefined;
21994
- NOT?: never[] | null | undefined;
21966
+ AND?: unknown[] | null | undefined;
21967
+ OR?: unknown[] | null | undefined;
21968
+ NOT?: unknown[] | null | undefined;
21995
21969
  } | null | undefined;
21996
- pubDateFrom?: string | null | undefined;
21997
- pubDateTo?: string | null | undefined;
21970
+ pubDateFrom?: Date | null | undefined;
21971
+ pubDateTo?: Date | null | undefined;
21998
21972
  showReprints?: boolean | null | undefined;
21999
21973
  size?: number | null | undefined;
22000
21974
  page?: number | null | undefined;
@@ -22049,9 +22023,9 @@ declare const VectorSearchArticlesBodySchema: z.ZodObject<{
22049
22023
  excludePersonWikidataId?: string[] | null | undefined;
22050
22024
  personName?: string[] | null | undefined;
22051
22025
  excludePersonName?: string[] | null | undefined;
22052
- AND?: never[] | null | undefined;
22053
- OR?: never[] | null | undefined;
22054
- NOT?: never[] | null | undefined;
22026
+ AND?: unknown[] | null | undefined;
22027
+ OR?: unknown[] | null | undefined;
22028
+ NOT?: unknown[] | null | undefined;
22055
22029
  } | null | undefined;
22056
22030
  pubDateFrom?: string | null | undefined;
22057
22031
  pubDateTo?: string | null | undefined;
@@ -22111,12 +22085,12 @@ declare const VectorSearchArticlesBodySchema: z.ZodObject<{
22111
22085
  excludePersonWikidataId?: string[] | null | undefined;
22112
22086
  personName?: string[] | null | undefined;
22113
22087
  excludePersonName?: string[] | null | undefined;
22114
- AND?: never[] | null | undefined;
22115
- OR?: never[] | null | undefined;
22116
- NOT?: never[] | null | undefined;
22088
+ AND?: unknown[] | null | undefined;
22089
+ OR?: unknown[] | null | undefined;
22090
+ NOT?: unknown[] | null | undefined;
22117
22091
  } | null | undefined;
22118
- pubDateFrom?: string | null | undefined;
22119
- pubDateTo?: string | null | undefined;
22092
+ pubDateFrom?: Date | null | undefined;
22093
+ pubDateTo?: Date | null | undefined;
22120
22094
  showReprints?: boolean | null | undefined;
22121
22095
  size?: number | null | undefined;
22122
22096
  page?: number | null | undefined;
@@ -22173,9 +22147,9 @@ declare const VectorSearchArticlesBodySchema: z.ZodObject<{
22173
22147
  excludePersonWikidataId?: string[] | null | undefined;
22174
22148
  personName?: string[] | null | undefined;
22175
22149
  excludePersonName?: string[] | null | undefined;
22176
- AND?: never[] | null | undefined;
22177
- OR?: never[] | null | undefined;
22178
- NOT?: never[] | null | undefined;
22150
+ AND?: unknown[] | null | undefined;
22151
+ OR?: unknown[] | null | undefined;
22152
+ NOT?: unknown[] | null | undefined;
22179
22153
  } | null | undefined;
22180
22154
  pubDateFrom?: string | null | undefined;
22181
22155
  pubDateTo?: string | null | undefined;
@@ -22256,9 +22230,9 @@ declare const VectorSearchArticlesRequestSchema: z.ZodObject<{
22256
22230
  excludePersonWikidataId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22257
22231
  personName: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22258
22232
  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">>>;
22233
+ AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
22234
+ OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
22235
+ NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
22262
22236
  }, "strip", z.ZodTypeAny, {
22263
22237
  country?: string[] | null | undefined;
22264
22238
  state?: string[] | null | undefined;
@@ -22308,9 +22282,9 @@ declare const VectorSearchArticlesRequestSchema: z.ZodObject<{
22308
22282
  excludePersonWikidataId?: string[] | null | undefined;
22309
22283
  personName?: string[] | null | undefined;
22310
22284
  excludePersonName?: string[] | null | undefined;
22311
- AND?: never[] | null | undefined;
22312
- OR?: never[] | null | undefined;
22313
- NOT?: never[] | null | undefined;
22285
+ AND?: unknown[] | null | undefined;
22286
+ OR?: unknown[] | null | undefined;
22287
+ NOT?: unknown[] | null | undefined;
22314
22288
  }, {
22315
22289
  country?: string[] | null | undefined;
22316
22290
  state?: string[] | null | undefined;
@@ -22360,12 +22334,12 @@ declare const VectorSearchArticlesRequestSchema: z.ZodObject<{
22360
22334
  excludePersonWikidataId?: string[] | null | undefined;
22361
22335
  personName?: string[] | null | undefined;
22362
22336
  excludePersonName?: string[] | null | undefined;
22363
- AND?: never[] | null | undefined;
22364
- OR?: never[] | null | undefined;
22365
- NOT?: never[] | null | undefined;
22337
+ AND?: unknown[] | null | undefined;
22338
+ OR?: unknown[] | null | undefined;
22339
+ NOT?: unknown[] | null | undefined;
22366
22340
  }>>>;
22367
- pubDateFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22368
- pubDateTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22341
+ pubDateFrom: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodString]>, Date, string>>>;
22342
+ pubDateTo: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodString]>, Date, string>>>;
22369
22343
  showReprints: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
22370
22344
  size: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22371
22345
  page: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -22420,12 +22394,12 @@ declare const VectorSearchArticlesRequestSchema: z.ZodObject<{
22420
22394
  excludePersonWikidataId?: string[] | null | undefined;
22421
22395
  personName?: string[] | null | undefined;
22422
22396
  excludePersonName?: string[] | null | undefined;
22423
- AND?: never[] | null | undefined;
22424
- OR?: never[] | null | undefined;
22425
- NOT?: never[] | null | undefined;
22397
+ AND?: unknown[] | null | undefined;
22398
+ OR?: unknown[] | null | undefined;
22399
+ NOT?: unknown[] | null | undefined;
22426
22400
  } | null | undefined;
22427
- pubDateFrom?: string | null | undefined;
22428
- pubDateTo?: string | null | undefined;
22401
+ pubDateFrom?: Date | null | undefined;
22402
+ pubDateTo?: Date | null | undefined;
22429
22403
  showReprints?: boolean | null | undefined;
22430
22404
  size?: number | null | undefined;
22431
22405
  page?: number | null | undefined;
@@ -22480,9 +22454,9 @@ declare const VectorSearchArticlesRequestSchema: z.ZodObject<{
22480
22454
  excludePersonWikidataId?: string[] | null | undefined;
22481
22455
  personName?: string[] | null | undefined;
22482
22456
  excludePersonName?: string[] | null | undefined;
22483
- AND?: never[] | null | undefined;
22484
- OR?: never[] | null | undefined;
22485
- NOT?: never[] | null | undefined;
22457
+ AND?: unknown[] | null | undefined;
22458
+ OR?: unknown[] | null | undefined;
22459
+ NOT?: unknown[] | null | undefined;
22486
22460
  } | null | undefined;
22487
22461
  pubDateFrom?: string | null | undefined;
22488
22462
  pubDateTo?: string | null | undefined;
@@ -22542,12 +22516,12 @@ declare const VectorSearchArticlesRequestSchema: z.ZodObject<{
22542
22516
  excludePersonWikidataId?: string[] | null | undefined;
22543
22517
  personName?: string[] | null | undefined;
22544
22518
  excludePersonName?: string[] | null | undefined;
22545
- AND?: never[] | null | undefined;
22546
- OR?: never[] | null | undefined;
22547
- NOT?: never[] | null | undefined;
22519
+ AND?: unknown[] | null | undefined;
22520
+ OR?: unknown[] | null | undefined;
22521
+ NOT?: unknown[] | null | undefined;
22548
22522
  } | null | undefined;
22549
- pubDateFrom?: string | null | undefined;
22550
- pubDateTo?: string | null | undefined;
22523
+ pubDateFrom?: Date | null | undefined;
22524
+ pubDateTo?: Date | null | undefined;
22551
22525
  showReprints?: boolean | null | undefined;
22552
22526
  size?: number | null | undefined;
22553
22527
  page?: number | null | undefined;
@@ -22604,9 +22578,9 @@ declare const VectorSearchArticlesRequestSchema: z.ZodObject<{
22604
22578
  excludePersonWikidataId?: string[] | null | undefined;
22605
22579
  personName?: string[] | null | undefined;
22606
22580
  excludePersonName?: string[] | null | undefined;
22607
- AND?: never[] | null | undefined;
22608
- OR?: never[] | null | undefined;
22609
- NOT?: never[] | null | undefined;
22581
+ AND?: unknown[] | null | undefined;
22582
+ OR?: unknown[] | null | undefined;
22583
+ NOT?: unknown[] | null | undefined;
22610
22584
  } | null | undefined;
22611
22585
  pubDateFrom?: string | null | undefined;
22612
22586
  pubDateTo?: string | null | undefined;
@@ -22633,14 +22607,14 @@ declare const VectorSearchWikipediaBodySchema: z.ZodObject<{
22633
22607
  wikidataId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22634
22608
  wikidataInstanceOfId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22635
22609
  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">>>;
22610
+ AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
22611
+ OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
22612
+ NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
22639
22613
  }, "strip", z.ZodTypeAny, {
22640
22614
  wikidataId?: string[] | null | undefined;
22641
- AND?: never[] | null | undefined;
22642
- OR?: never[] | null | undefined;
22643
- NOT?: never[] | null | undefined;
22615
+ AND?: unknown[] | null | undefined;
22616
+ OR?: unknown[] | null | undefined;
22617
+ NOT?: unknown[] | null | undefined;
22644
22618
  pageId?: string[] | null | undefined;
22645
22619
  sectionId?: string[] | null | undefined;
22646
22620
  wikiPageId?: number[] | null | undefined;
@@ -22651,9 +22625,9 @@ declare const VectorSearchWikipediaBodySchema: z.ZodObject<{
22651
22625
  wikidataInstanceOfLabel?: string[] | null | undefined;
22652
22626
  }, {
22653
22627
  wikidataId?: string[] | null | undefined;
22654
- AND?: never[] | null | undefined;
22655
- OR?: never[] | null | undefined;
22656
- NOT?: never[] | null | undefined;
22628
+ AND?: unknown[] | null | undefined;
22629
+ OR?: unknown[] | null | undefined;
22630
+ NOT?: unknown[] | null | undefined;
22657
22631
  pageId?: string[] | null | undefined;
22658
22632
  sectionId?: string[] | null | undefined;
22659
22633
  wikiPageId?: number[] | null | undefined;
@@ -22663,8 +22637,8 @@ declare const VectorSearchWikipediaBodySchema: z.ZodObject<{
22663
22637
  wikidataInstanceOfId?: string[] | null | undefined;
22664
22638
  wikidataInstanceOfLabel?: string[] | null | undefined;
22665
22639
  }>>>;
22666
- wikiRevisionFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22667
- wikiRevisionTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22640
+ wikiRevisionFrom: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodString]>, Date, string>>>;
22641
+ wikiRevisionTo: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodString]>, Date, string>>>;
22668
22642
  pageviewsFrom: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22669
22643
  pageviewsTo: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22670
22644
  size: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -22673,9 +22647,9 @@ declare const VectorSearchWikipediaBodySchema: z.ZodObject<{
22673
22647
  prompt: string;
22674
22648
  filter?: {
22675
22649
  wikidataId?: string[] | null | undefined;
22676
- AND?: never[] | null | undefined;
22677
- OR?: never[] | null | undefined;
22678
- NOT?: never[] | null | undefined;
22650
+ AND?: unknown[] | null | undefined;
22651
+ OR?: unknown[] | null | undefined;
22652
+ NOT?: unknown[] | null | undefined;
22679
22653
  pageId?: string[] | null | undefined;
22680
22654
  sectionId?: string[] | null | undefined;
22681
22655
  wikiPageId?: number[] | null | undefined;
@@ -22687,17 +22661,17 @@ declare const VectorSearchWikipediaBodySchema: z.ZodObject<{
22687
22661
  } | null | undefined;
22688
22662
  size?: number | null | undefined;
22689
22663
  page?: number | null | undefined;
22690
- wikiRevisionFrom?: string | null | undefined;
22691
- wikiRevisionTo?: string | null | undefined;
22664
+ wikiRevisionFrom?: Date | null | undefined;
22665
+ wikiRevisionTo?: Date | null | undefined;
22692
22666
  pageviewsFrom?: number | null | undefined;
22693
22667
  pageviewsTo?: number | null | undefined;
22694
22668
  }, {
22695
22669
  prompt: string;
22696
22670
  filter?: {
22697
22671
  wikidataId?: string[] | null | undefined;
22698
- AND?: never[] | null | undefined;
22699
- OR?: never[] | null | undefined;
22700
- NOT?: never[] | null | undefined;
22672
+ AND?: unknown[] | null | undefined;
22673
+ OR?: unknown[] | null | undefined;
22674
+ NOT?: unknown[] | null | undefined;
22701
22675
  pageId?: string[] | null | undefined;
22702
22676
  sectionId?: string[] | null | undefined;
22703
22677
  wikiPageId?: number[] | null | undefined;
@@ -22719,9 +22693,9 @@ declare const VectorSearchWikipediaBodySchema: z.ZodObject<{
22719
22693
  prompt: string;
22720
22694
  filter?: {
22721
22695
  wikidataId?: string[] | null | undefined;
22722
- AND?: never[] | null | undefined;
22723
- OR?: never[] | null | undefined;
22724
- NOT?: never[] | null | undefined;
22696
+ AND?: unknown[] | null | undefined;
22697
+ OR?: unknown[] | null | undefined;
22698
+ NOT?: unknown[] | null | undefined;
22725
22699
  pageId?: string[] | null | undefined;
22726
22700
  sectionId?: string[] | null | undefined;
22727
22701
  wikiPageId?: number[] | null | undefined;
@@ -22733,8 +22707,8 @@ declare const VectorSearchWikipediaBodySchema: z.ZodObject<{
22733
22707
  } | null | undefined;
22734
22708
  size?: number | null | undefined;
22735
22709
  page?: number | null | undefined;
22736
- wikiRevisionFrom?: string | null | undefined;
22737
- wikiRevisionTo?: string | null | undefined;
22710
+ wikiRevisionFrom?: Date | null | undefined;
22711
+ wikiRevisionTo?: Date | null | undefined;
22738
22712
  pageviewsFrom?: number | null | undefined;
22739
22713
  pageviewsTo?: number | null | undefined;
22740
22714
  };
@@ -22743,9 +22717,9 @@ declare const VectorSearchWikipediaBodySchema: z.ZodObject<{
22743
22717
  prompt: string;
22744
22718
  filter?: {
22745
22719
  wikidataId?: string[] | null | undefined;
22746
- AND?: never[] | null | undefined;
22747
- OR?: never[] | null | undefined;
22748
- NOT?: never[] | null | undefined;
22720
+ AND?: unknown[] | null | undefined;
22721
+ OR?: unknown[] | null | undefined;
22722
+ NOT?: unknown[] | null | undefined;
22749
22723
  pageId?: string[] | null | undefined;
22750
22724
  sectionId?: string[] | null | undefined;
22751
22725
  wikiPageId?: number[] | null | undefined;
@@ -22780,14 +22754,14 @@ declare const VectorSearchWikipediaRequestSchema: z.ZodObject<{
22780
22754
  wikidataId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22781
22755
  wikidataInstanceOfId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22782
22756
  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">>>;
22757
+ AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
22758
+ OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
22759
+ NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
22786
22760
  }, "strip", z.ZodTypeAny, {
22787
22761
  wikidataId?: string[] | null | undefined;
22788
- AND?: never[] | null | undefined;
22789
- OR?: never[] | null | undefined;
22790
- NOT?: never[] | null | undefined;
22762
+ AND?: unknown[] | null | undefined;
22763
+ OR?: unknown[] | null | undefined;
22764
+ NOT?: unknown[] | null | undefined;
22791
22765
  pageId?: string[] | null | undefined;
22792
22766
  sectionId?: string[] | null | undefined;
22793
22767
  wikiPageId?: number[] | null | undefined;
@@ -22798,9 +22772,9 @@ declare const VectorSearchWikipediaRequestSchema: z.ZodObject<{
22798
22772
  wikidataInstanceOfLabel?: string[] | null | undefined;
22799
22773
  }, {
22800
22774
  wikidataId?: string[] | null | undefined;
22801
- AND?: never[] | null | undefined;
22802
- OR?: never[] | null | undefined;
22803
- NOT?: never[] | null | undefined;
22775
+ AND?: unknown[] | null | undefined;
22776
+ OR?: unknown[] | null | undefined;
22777
+ NOT?: unknown[] | null | undefined;
22804
22778
  pageId?: string[] | null | undefined;
22805
22779
  sectionId?: string[] | null | undefined;
22806
22780
  wikiPageId?: number[] | null | undefined;
@@ -22810,8 +22784,8 @@ declare const VectorSearchWikipediaRequestSchema: z.ZodObject<{
22810
22784
  wikidataInstanceOfId?: string[] | null | undefined;
22811
22785
  wikidataInstanceOfLabel?: string[] | null | undefined;
22812
22786
  }>>>;
22813
- wikiRevisionFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22814
- wikiRevisionTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22787
+ wikiRevisionFrom: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodString]>, Date, string>>>;
22788
+ wikiRevisionTo: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodString]>, Date, string>>>;
22815
22789
  pageviewsFrom: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22816
22790
  pageviewsTo: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22817
22791
  size: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -22820,9 +22794,9 @@ declare const VectorSearchWikipediaRequestSchema: z.ZodObject<{
22820
22794
  prompt: string;
22821
22795
  filter?: {
22822
22796
  wikidataId?: string[] | null | undefined;
22823
- AND?: never[] | null | undefined;
22824
- OR?: never[] | null | undefined;
22825
- NOT?: never[] | null | undefined;
22797
+ AND?: unknown[] | null | undefined;
22798
+ OR?: unknown[] | null | undefined;
22799
+ NOT?: unknown[] | null | undefined;
22826
22800
  pageId?: string[] | null | undefined;
22827
22801
  sectionId?: string[] | null | undefined;
22828
22802
  wikiPageId?: number[] | null | undefined;
@@ -22834,17 +22808,17 @@ declare const VectorSearchWikipediaRequestSchema: z.ZodObject<{
22834
22808
  } | null | undefined;
22835
22809
  size?: number | null | undefined;
22836
22810
  page?: number | null | undefined;
22837
- wikiRevisionFrom?: string | null | undefined;
22838
- wikiRevisionTo?: string | null | undefined;
22811
+ wikiRevisionFrom?: Date | null | undefined;
22812
+ wikiRevisionTo?: Date | null | undefined;
22839
22813
  pageviewsFrom?: number | null | undefined;
22840
22814
  pageviewsTo?: number | null | undefined;
22841
22815
  }, {
22842
22816
  prompt: string;
22843
22817
  filter?: {
22844
22818
  wikidataId?: string[] | null | undefined;
22845
- AND?: never[] | null | undefined;
22846
- OR?: never[] | null | undefined;
22847
- NOT?: never[] | null | undefined;
22819
+ AND?: unknown[] | null | undefined;
22820
+ OR?: unknown[] | null | undefined;
22821
+ NOT?: unknown[] | null | undefined;
22848
22822
  pageId?: string[] | null | undefined;
22849
22823
  sectionId?: string[] | null | undefined;
22850
22824
  wikiPageId?: number[] | null | undefined;
@@ -22866,9 +22840,9 @@ declare const VectorSearchWikipediaRequestSchema: z.ZodObject<{
22866
22840
  prompt: string;
22867
22841
  filter?: {
22868
22842
  wikidataId?: string[] | null | undefined;
22869
- AND?: never[] | null | undefined;
22870
- OR?: never[] | null | undefined;
22871
- NOT?: never[] | null | undefined;
22843
+ AND?: unknown[] | null | undefined;
22844
+ OR?: unknown[] | null | undefined;
22845
+ NOT?: unknown[] | null | undefined;
22872
22846
  pageId?: string[] | null | undefined;
22873
22847
  sectionId?: string[] | null | undefined;
22874
22848
  wikiPageId?: number[] | null | undefined;
@@ -22880,8 +22854,8 @@ declare const VectorSearchWikipediaRequestSchema: z.ZodObject<{
22880
22854
  } | null | undefined;
22881
22855
  size?: number | null | undefined;
22882
22856
  page?: number | null | undefined;
22883
- wikiRevisionFrom?: string | null | undefined;
22884
- wikiRevisionTo?: string | null | undefined;
22857
+ wikiRevisionFrom?: Date | null | undefined;
22858
+ wikiRevisionTo?: Date | null | undefined;
22885
22859
  pageviewsFrom?: number | null | undefined;
22886
22860
  pageviewsTo?: number | null | undefined;
22887
22861
  };
@@ -22890,9 +22864,9 @@ declare const VectorSearchWikipediaRequestSchema: z.ZodObject<{
22890
22864
  prompt: string;
22891
22865
  filter?: {
22892
22866
  wikidataId?: string[] | null | undefined;
22893
- AND?: never[] | null | undefined;
22894
- OR?: never[] | null | undefined;
22895
- NOT?: never[] | null | undefined;
22867
+ AND?: unknown[] | null | undefined;
22868
+ OR?: unknown[] | null | undefined;
22869
+ NOT?: unknown[] | null | undefined;
22896
22870
  pageId?: string[] | null | undefined;
22897
22871
  sectionId?: string[] | null | undefined;
22898
22872
  wikiPageId?: number[] | null | undefined;
@@ -22977,4 +22951,4 @@ declare class V1Api extends BaseAPI {
22977
22951
  vectorSearchWikipedia(requestParameters: VectorSearchWikipediaRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<WikipediaVectorSearchResult>;
22978
22952
  }
22979
22953
 
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 };
22954
+ export { AllEndpointSortBy, AllEndpointSortBySchema, type Article, ArticleSchema, type ArticleSearchFilter, ArticleSearchFilterSchema, type ArticleSearchParams, ArticleSearchParamsSchema, type ArticlesVectorSearchResult, ArticlesVectorSearchResultSchema, type AuthException, AuthExceptionSchema, BASE_PATH, BadRequestError, BaseAPI, COLLECTION_FORMATS, type CategoryHolder, CategoryHolderSchema, type CategoryWithScoreHolder, CategoryWithScoreHolderSchema, type Company, type CompanyCount, CompanyCountSchema, type CompanyHolder, CompanyHolderSchema, CompanySchema, type CompanySearchResult, CompanySearchResultSchema, Configuration, type ConfigurationParameters, type Coordinate, type CoordinateFilter, CoordinateFilterSchema, CoordinateSchema, DefaultConfig, type EntityHolder, EntityHolderSchema, type ErrorContext, type EventTypeHolder, EventTypeHolderSchema, type FetchAPI, FetchError, type FetchParams, ForbiddenError, GetJournalistByIdPathSchema, type GetJournalistByIdRequest, GetJournalistByIdRequestSchema, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, HttpError, type IdNameHolder, IdNameHolderSchema, type IllegalParameterException, IllegalParameterExceptionSchema, type ImageHolder, ImageHolderSchema, type InitOverrideFunction, type InternalErrorException, type InternalErrorExceptionCause, InternalErrorExceptionCauseSchema, type InternalErrorExceptionCauseStackTraceInner, InternalErrorExceptionCauseStackTraceInnerSchema, InternalErrorExceptionSchema, type InternalErrorExceptionSuppressedInner, InternalErrorExceptionSuppressedInnerSchema, type Journalist, JournalistSchema, type JournalistSearchResult, JournalistSearchResultSchema, type Json, type KeyPoint, KeyPointSchema, type KeywordHolder, KeywordHolderSchema, type LabelHolder, LabelHolderSchema, type LocationCount, LocationCountSchema, type LocationHolder, LocationHolderSchema, type Middleware, type ModelPropertyNaming, type NameCount, NameCountSchema, NetworkError, type NewsCluster, NewsClusterSchema, NotFoundError, type NotFoundException, NotFoundExceptionSchema, type PeopleSearchResult, PeopleSearchResultSchema, type Person, type PersonCount, PersonCountSchema, type PersonHolder, PersonHolderSchema, PersonSchema, type Place, PlaceSchema, type QuerySearchResult, QuerySearchResultSchema, type Question, QuestionSchema, RateLimitError, type RecordStatHolder, RecordStatHolderSchema, type RequestContext, type RequestOpts, type ResponseContext, type ScoredDataArticle, ScoredDataArticleSchema, type ScoredDataWikiData, ScoredDataWikiDataSchema, SearchArticlesQuerySchema, type SearchArticlesRequest, SearchArticlesRequestSchema, SearchCompaniesQuerySchema, type SearchCompaniesRequest, SearchCompaniesRequestSchema, SearchJournalistsQuerySchema, type SearchJournalistsRequest, SearchJournalistsRequestSchema, SearchPeopleQuerySchema, type SearchPeopleRequest, SearchPeopleRequestSchema, SearchSourcesQuerySchema, type SearchSourcesRequest, SearchSourcesRequestSchema, SearchStoriesQuerySchema, type SearchStoriesRequest, SearchStoriesRequestSchema, SearchSummarizerBodySchema, SearchSummarizerQuerySchema, type SearchSummarizerRequest, SearchSummarizerRequestSchema, SearchTopicsQuerySchema, type SearchTopicsRequest, SearchTopicsRequestSchema, SearchWikipediaQuerySchema, type SearchWikipediaRequest, SearchWikipediaRequestSchema, type SentimentHolder, SentimentHolderSchema, ServerError, 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, type TooManyRequestsException, TooManyRequestsExceptionSchema, type TopicDto, TopicDtoSchema, type TopicHolder, TopicHolderSchema, type TopicLabels, TopicLabelsSchema, type TopicSearchResult, TopicSearchResultSchema, UnauthorizedError, V1Api, VectorSearchArticlesBodySchema, type VectorSearchArticlesRequest, VectorSearchArticlesRequestSchema, VectorSearchWikipediaBodySchema, type VectorSearchWikipediaRequest, VectorSearchWikipediaRequestSchema, type WebResources, WebResourcesSchema, type WikiData, WikiDataSchema, type WikiPage, WikiPageSchema, type WikiPageSectionHolder, WikiPageSectionHolderSchema, type WikidataDateHolder, WikidataDateHolderSchema, type WikidataLabelHolder, WikidataLabelHolderSchema, type WikidataPoliticalPartyHolder, WikidataPoliticalPartyHolderSchema, type WikidataPositionHolder, WikidataPositionHolderSchema, type WikipediaSearchFilter, WikipediaSearchFilterSchema, type WikipediaSearchParams, WikipediaSearchParamsSchema, type WikipediaSearchResult, WikipediaSearchResultSchema, type WikipediaVectorSearchResult, WikipediaVectorSearchResultSchema, createHttpError, exists, querystring };