@goperigon/perigon-ts 2.1.1 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +339 -339
- package/dist/index.js +2 -2
- package/package.json +1 -1
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 = {
|
|
@@ -855,7 +855,7 @@ declare const NewsClusterSchema: z.ZodObject<{
|
|
|
855
855
|
answer?: string | null | undefined;
|
|
856
856
|
}>, "many">>>;
|
|
857
857
|
uniqueSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
858
|
-
selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
858
|
+
selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
859
859
|
sentiment: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
860
860
|
positive: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
861
861
|
negative: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1082,7 +1082,7 @@ declare const NewsClusterSchema: z.ZodObject<{
|
|
|
1082
1082
|
answer?: string | null | undefined;
|
|
1083
1083
|
}[] | null | undefined;
|
|
1084
1084
|
uniqueSources?: string[] | null | undefined;
|
|
1085
|
-
selectedArticles?:
|
|
1085
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
1086
1086
|
sentiment?: {
|
|
1087
1087
|
positive?: number | null | undefined;
|
|
1088
1088
|
negative?: number | null | undefined;
|
|
@@ -1190,7 +1190,7 @@ declare const NewsClusterSchema: z.ZodObject<{
|
|
|
1190
1190
|
answer?: string | null | undefined;
|
|
1191
1191
|
}[] | null | undefined;
|
|
1192
1192
|
uniqueSources?: string[] | null | undefined;
|
|
1193
|
-
selectedArticles?:
|
|
1193
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
1194
1194
|
sentiment?: {
|
|
1195
1195
|
positive?: number | null | undefined;
|
|
1196
1196
|
negative?: number | null | undefined;
|
|
@@ -1701,7 +1701,7 @@ declare const ArticleSchema: z.ZodObject<{
|
|
|
1701
1701
|
answer?: string | null | undefined;
|
|
1702
1702
|
}>, "many">>>;
|
|
1703
1703
|
uniqueSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1704
|
-
selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
1704
|
+
selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
1705
1705
|
sentiment: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1706
1706
|
positive: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1707
1707
|
negative: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1928,7 +1928,7 @@ declare const ArticleSchema: z.ZodObject<{
|
|
|
1928
1928
|
answer?: string | null | undefined;
|
|
1929
1929
|
}[] | null | undefined;
|
|
1930
1930
|
uniqueSources?: string[] | null | undefined;
|
|
1931
|
-
selectedArticles?:
|
|
1931
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
1932
1932
|
sentiment?: {
|
|
1933
1933
|
positive?: number | null | undefined;
|
|
1934
1934
|
negative?: number | null | undefined;
|
|
@@ -2036,7 +2036,7 @@ declare const ArticleSchema: z.ZodObject<{
|
|
|
2036
2036
|
answer?: string | null | undefined;
|
|
2037
2037
|
}[] | null | undefined;
|
|
2038
2038
|
uniqueSources?: string[] | null | undefined;
|
|
2039
|
-
selectedArticles?:
|
|
2039
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
2040
2040
|
sentiment?: {
|
|
2041
2041
|
positive?: number | null | undefined;
|
|
2042
2042
|
negative?: number | null | undefined;
|
|
@@ -2447,7 +2447,7 @@ declare const ArticleSchema: z.ZodObject<{
|
|
|
2447
2447
|
answer?: string | null | undefined;
|
|
2448
2448
|
}[] | null | undefined;
|
|
2449
2449
|
uniqueSources?: string[] | null | undefined;
|
|
2450
|
-
selectedArticles?:
|
|
2450
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
2451
2451
|
sentiment?: {
|
|
2452
2452
|
positive?: number | null | undefined;
|
|
2453
2453
|
negative?: number | null | undefined;
|
|
@@ -2719,7 +2719,7 @@ declare const ArticleSchema: z.ZodObject<{
|
|
|
2719
2719
|
answer?: string | null | undefined;
|
|
2720
2720
|
}[] | null | undefined;
|
|
2721
2721
|
uniqueSources?: string[] | null | undefined;
|
|
2722
|
-
selectedArticles?:
|
|
2722
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
2723
2723
|
sentiment?: {
|
|
2724
2724
|
positive?: number | null | undefined;
|
|
2725
2725
|
negative?: number | null | undefined;
|
|
@@ -3024,15 +3024,15 @@ declare const ArticleSearchFilterSchema: z.ZodObject<{
|
|
|
3024
3024
|
/**
|
|
3025
3025
|
* 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
3026
|
*/
|
|
3027
|
-
AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
3027
|
+
AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
3028
3028
|
/**
|
|
3029
3029
|
* 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
3030
|
*/
|
|
3031
|
-
OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
3031
|
+
OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
3032
3032
|
/**
|
|
3033
3033
|
* A filter object for logical NOT operations
|
|
3034
3034
|
*/
|
|
3035
|
-
NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
3035
|
+
NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
3036
3036
|
}, "strip", z.ZodTypeAny, {
|
|
3037
3037
|
country?: string[] | null | undefined;
|
|
3038
3038
|
state?: string[] | null | undefined;
|
|
@@ -3082,9 +3082,9 @@ declare const ArticleSearchFilterSchema: z.ZodObject<{
|
|
|
3082
3082
|
excludePersonWikidataId?: string[] | null | undefined;
|
|
3083
3083
|
personName?: string[] | null | undefined;
|
|
3084
3084
|
excludePersonName?: string[] | null | undefined;
|
|
3085
|
-
AND?:
|
|
3086
|
-
OR?:
|
|
3087
|
-
NOT?:
|
|
3085
|
+
AND?: unknown[] | null | undefined;
|
|
3086
|
+
OR?: unknown[] | null | undefined;
|
|
3087
|
+
NOT?: unknown[] | null | undefined;
|
|
3088
3088
|
}, {
|
|
3089
3089
|
country?: string[] | null | undefined;
|
|
3090
3090
|
state?: string[] | null | undefined;
|
|
@@ -3134,9 +3134,9 @@ declare const ArticleSearchFilterSchema: z.ZodObject<{
|
|
|
3134
3134
|
excludePersonWikidataId?: string[] | null | undefined;
|
|
3135
3135
|
personName?: string[] | null | undefined;
|
|
3136
3136
|
excludePersonName?: string[] | null | undefined;
|
|
3137
|
-
AND?:
|
|
3138
|
-
OR?:
|
|
3139
|
-
NOT?:
|
|
3137
|
+
AND?: unknown[] | null | undefined;
|
|
3138
|
+
OR?: unknown[] | null | undefined;
|
|
3139
|
+
NOT?: unknown[] | null | undefined;
|
|
3140
3140
|
}>;
|
|
3141
3141
|
type ArticleSearchFilter = z.infer<typeof ArticleSearchFilterSchema>;
|
|
3142
3142
|
declare const ArticleSearchParamsSchema: z.ZodObject<{
|
|
@@ -3326,15 +3326,15 @@ declare const ArticleSearchParamsSchema: z.ZodObject<{
|
|
|
3326
3326
|
/**
|
|
3327
3327
|
* 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
3328
|
*/
|
|
3329
|
-
AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
3329
|
+
AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
3330
3330
|
/**
|
|
3331
3331
|
* 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
3332
|
*/
|
|
3333
|
-
OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
3333
|
+
OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
3334
3334
|
/**
|
|
3335
3335
|
* A filter object for logical NOT operations
|
|
3336
3336
|
*/
|
|
3337
|
-
NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
3337
|
+
NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
3338
3338
|
}, "strip", z.ZodTypeAny, {
|
|
3339
3339
|
country?: string[] | null | undefined;
|
|
3340
3340
|
state?: string[] | null | undefined;
|
|
@@ -3384,9 +3384,9 @@ declare const ArticleSearchParamsSchema: z.ZodObject<{
|
|
|
3384
3384
|
excludePersonWikidataId?: string[] | null | undefined;
|
|
3385
3385
|
personName?: string[] | null | undefined;
|
|
3386
3386
|
excludePersonName?: string[] | null | undefined;
|
|
3387
|
-
AND?:
|
|
3388
|
-
OR?:
|
|
3389
|
-
NOT?:
|
|
3387
|
+
AND?: unknown[] | null | undefined;
|
|
3388
|
+
OR?: unknown[] | null | undefined;
|
|
3389
|
+
NOT?: unknown[] | null | undefined;
|
|
3390
3390
|
}, {
|
|
3391
3391
|
country?: string[] | null | undefined;
|
|
3392
3392
|
state?: string[] | null | undefined;
|
|
@@ -3436,9 +3436,9 @@ declare const ArticleSearchParamsSchema: z.ZodObject<{
|
|
|
3436
3436
|
excludePersonWikidataId?: string[] | null | undefined;
|
|
3437
3437
|
personName?: string[] | null | undefined;
|
|
3438
3438
|
excludePersonName?: string[] | null | undefined;
|
|
3439
|
-
AND?:
|
|
3440
|
-
OR?:
|
|
3441
|
-
NOT?:
|
|
3439
|
+
AND?: unknown[] | null | undefined;
|
|
3440
|
+
OR?: unknown[] | null | undefined;
|
|
3441
|
+
NOT?: unknown[] | null | undefined;
|
|
3442
3442
|
}>>>;
|
|
3443
3443
|
/**
|
|
3444
3444
|
* '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
|
|
@@ -3511,9 +3511,9 @@ declare const ArticleSearchParamsSchema: z.ZodObject<{
|
|
|
3511
3511
|
excludePersonWikidataId?: string[] | null | undefined;
|
|
3512
3512
|
personName?: string[] | null | undefined;
|
|
3513
3513
|
excludePersonName?: string[] | null | undefined;
|
|
3514
|
-
AND?:
|
|
3515
|
-
OR?:
|
|
3516
|
-
NOT?:
|
|
3514
|
+
AND?: unknown[] | null | undefined;
|
|
3515
|
+
OR?: unknown[] | null | undefined;
|
|
3516
|
+
NOT?: unknown[] | null | undefined;
|
|
3517
3517
|
} | null | undefined;
|
|
3518
3518
|
pubDateFrom?: string | null | undefined;
|
|
3519
3519
|
pubDateTo?: string | null | undefined;
|
|
@@ -3571,9 +3571,9 @@ declare const ArticleSearchParamsSchema: z.ZodObject<{
|
|
|
3571
3571
|
excludePersonWikidataId?: string[] | null | undefined;
|
|
3572
3572
|
personName?: string[] | null | undefined;
|
|
3573
3573
|
excludePersonName?: string[] | null | undefined;
|
|
3574
|
-
AND?:
|
|
3575
|
-
OR?:
|
|
3576
|
-
NOT?:
|
|
3574
|
+
AND?: unknown[] | null | undefined;
|
|
3575
|
+
OR?: unknown[] | null | undefined;
|
|
3576
|
+
NOT?: unknown[] | null | undefined;
|
|
3577
3577
|
} | null | undefined;
|
|
3578
3578
|
pubDateFrom?: string | null | undefined;
|
|
3579
3579
|
pubDateTo?: string | null | undefined;
|
|
@@ -3971,7 +3971,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
|
|
|
3971
3971
|
answer?: string | null | undefined;
|
|
3972
3972
|
}>, "many">>>;
|
|
3973
3973
|
uniqueSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
3974
|
-
selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
3974
|
+
selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
3975
3975
|
sentiment: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3976
3976
|
positive: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
3977
3977
|
negative: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -4198,7 +4198,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
|
|
|
4198
4198
|
answer?: string | null | undefined;
|
|
4199
4199
|
}[] | null | undefined;
|
|
4200
4200
|
uniqueSources?: string[] | null | undefined;
|
|
4201
|
-
selectedArticles?:
|
|
4201
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
4202
4202
|
sentiment?: {
|
|
4203
4203
|
positive?: number | null | undefined;
|
|
4204
4204
|
negative?: number | null | undefined;
|
|
@@ -4306,7 +4306,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
|
|
|
4306
4306
|
answer?: string | null | undefined;
|
|
4307
4307
|
}[] | null | undefined;
|
|
4308
4308
|
uniqueSources?: string[] | null | undefined;
|
|
4309
|
-
selectedArticles?:
|
|
4309
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
4310
4310
|
sentiment?: {
|
|
4311
4311
|
positive?: number | null | undefined;
|
|
4312
4312
|
negative?: number | null | undefined;
|
|
@@ -4717,7 +4717,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
|
|
|
4717
4717
|
answer?: string | null | undefined;
|
|
4718
4718
|
}[] | null | undefined;
|
|
4719
4719
|
uniqueSources?: string[] | null | undefined;
|
|
4720
|
-
selectedArticles?:
|
|
4720
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
4721
4721
|
sentiment?: {
|
|
4722
4722
|
positive?: number | null | undefined;
|
|
4723
4723
|
negative?: number | null | undefined;
|
|
@@ -4989,7 +4989,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
|
|
|
4989
4989
|
answer?: string | null | undefined;
|
|
4990
4990
|
}[] | null | undefined;
|
|
4991
4991
|
uniqueSources?: string[] | null | undefined;
|
|
4992
|
-
selectedArticles?:
|
|
4992
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
4993
4993
|
sentiment?: {
|
|
4994
4994
|
positive?: number | null | undefined;
|
|
4995
4995
|
negative?: number | null | undefined;
|
|
@@ -5264,7 +5264,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
|
|
|
5264
5264
|
answer?: string | null | undefined;
|
|
5265
5265
|
}[] | null | undefined;
|
|
5266
5266
|
uniqueSources?: string[] | null | undefined;
|
|
5267
|
-
selectedArticles?:
|
|
5267
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
5268
5268
|
sentiment?: {
|
|
5269
5269
|
positive?: number | null | undefined;
|
|
5270
5270
|
negative?: number | null | undefined;
|
|
@@ -5539,7 +5539,7 @@ declare const ScoredDataArticleSchema: z.ZodObject<{
|
|
|
5539
5539
|
answer?: string | null | undefined;
|
|
5540
5540
|
}[] | null | undefined;
|
|
5541
5541
|
uniqueSources?: string[] | null | undefined;
|
|
5542
|
-
selectedArticles?:
|
|
5542
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
5543
5543
|
sentiment?: {
|
|
5544
5544
|
positive?: number | null | undefined;
|
|
5545
5545
|
negative?: number | null | undefined;
|
|
@@ -6040,7 +6040,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
6040
6040
|
answer?: string | null | undefined;
|
|
6041
6041
|
}>, "many">>>;
|
|
6042
6042
|
uniqueSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
6043
|
-
selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
6043
|
+
selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
6044
6044
|
sentiment: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6045
6045
|
positive: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
6046
6046
|
negative: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -6267,7 +6267,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
6267
6267
|
answer?: string | null | undefined;
|
|
6268
6268
|
}[] | null | undefined;
|
|
6269
6269
|
uniqueSources?: string[] | null | undefined;
|
|
6270
|
-
selectedArticles?:
|
|
6270
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
6271
6271
|
sentiment?: {
|
|
6272
6272
|
positive?: number | null | undefined;
|
|
6273
6273
|
negative?: number | null | undefined;
|
|
@@ -6375,7 +6375,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
6375
6375
|
answer?: string | null | undefined;
|
|
6376
6376
|
}[] | null | undefined;
|
|
6377
6377
|
uniqueSources?: string[] | null | undefined;
|
|
6378
|
-
selectedArticles?:
|
|
6378
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
6379
6379
|
sentiment?: {
|
|
6380
6380
|
positive?: number | null | undefined;
|
|
6381
6381
|
negative?: number | null | undefined;
|
|
@@ -6786,7 +6786,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
6786
6786
|
answer?: string | null | undefined;
|
|
6787
6787
|
}[] | null | undefined;
|
|
6788
6788
|
uniqueSources?: string[] | null | undefined;
|
|
6789
|
-
selectedArticles?:
|
|
6789
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
6790
6790
|
sentiment?: {
|
|
6791
6791
|
positive?: number | null | undefined;
|
|
6792
6792
|
negative?: number | null | undefined;
|
|
@@ -7058,7 +7058,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
7058
7058
|
answer?: string | null | undefined;
|
|
7059
7059
|
}[] | null | undefined;
|
|
7060
7060
|
uniqueSources?: string[] | null | undefined;
|
|
7061
|
-
selectedArticles?:
|
|
7061
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
7062
7062
|
sentiment?: {
|
|
7063
7063
|
positive?: number | null | undefined;
|
|
7064
7064
|
negative?: number | null | undefined;
|
|
@@ -7333,7 +7333,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
7333
7333
|
answer?: string | null | undefined;
|
|
7334
7334
|
}[] | null | undefined;
|
|
7335
7335
|
uniqueSources?: string[] | null | undefined;
|
|
7336
|
-
selectedArticles?:
|
|
7336
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
7337
7337
|
sentiment?: {
|
|
7338
7338
|
positive?: number | null | undefined;
|
|
7339
7339
|
negative?: number | null | undefined;
|
|
@@ -7608,7 +7608,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
7608
7608
|
answer?: string | null | undefined;
|
|
7609
7609
|
}[] | null | undefined;
|
|
7610
7610
|
uniqueSources?: string[] | null | undefined;
|
|
7611
|
-
selectedArticles?:
|
|
7611
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
7612
7612
|
sentiment?: {
|
|
7613
7613
|
positive?: number | null | undefined;
|
|
7614
7614
|
negative?: number | null | undefined;
|
|
@@ -7886,7 +7886,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
7886
7886
|
answer?: string | null | undefined;
|
|
7887
7887
|
}[] | null | undefined;
|
|
7888
7888
|
uniqueSources?: string[] | null | undefined;
|
|
7889
|
-
selectedArticles?:
|
|
7889
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
7890
7890
|
sentiment?: {
|
|
7891
7891
|
positive?: number | null | undefined;
|
|
7892
7892
|
negative?: number | null | undefined;
|
|
@@ -8164,7 +8164,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
8164
8164
|
answer?: string | null | undefined;
|
|
8165
8165
|
}[] | null | undefined;
|
|
8166
8166
|
uniqueSources?: string[] | null | undefined;
|
|
8167
|
-
selectedArticles?:
|
|
8167
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
8168
8168
|
sentiment?: {
|
|
8169
8169
|
positive?: number | null | undefined;
|
|
8170
8170
|
negative?: number | null | undefined;
|
|
@@ -8275,7 +8275,7 @@ declare const ArticlesVectorSearchResultSchema: z.ZodObject<{
|
|
|
8275
8275
|
}[];
|
|
8276
8276
|
}>;
|
|
8277
8277
|
type ArticlesVectorSearchResult = z.infer<typeof ArticlesVectorSearchResultSchema>;
|
|
8278
|
-
declare const
|
|
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
|
|
8307
|
-
declare const
|
|
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
|
|
8366
|
-
declare const
|
|
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
|
|
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<{
|
|
@@ -11466,7 +11466,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
|
|
|
11466
11466
|
answer?: string | null | undefined;
|
|
11467
11467
|
}>, "many">>>;
|
|
11468
11468
|
uniqueSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
11469
|
-
selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
11469
|
+
selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
11470
11470
|
sentiment: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11471
11471
|
positive: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
11472
11472
|
negative: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -11693,7 +11693,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
|
|
|
11693
11693
|
answer?: string | null | undefined;
|
|
11694
11694
|
}[] | null | undefined;
|
|
11695
11695
|
uniqueSources?: string[] | null | undefined;
|
|
11696
|
-
selectedArticles?:
|
|
11696
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
11697
11697
|
sentiment?: {
|
|
11698
11698
|
positive?: number | null | undefined;
|
|
11699
11699
|
negative?: number | null | undefined;
|
|
@@ -11801,7 +11801,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
|
|
|
11801
11801
|
answer?: string | null | undefined;
|
|
11802
11802
|
}[] | null | undefined;
|
|
11803
11803
|
uniqueSources?: string[] | null | undefined;
|
|
11804
|
-
selectedArticles?:
|
|
11804
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
11805
11805
|
sentiment?: {
|
|
11806
11806
|
positive?: number | null | undefined;
|
|
11807
11807
|
negative?: number | null | undefined;
|
|
@@ -12212,7 +12212,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
|
|
|
12212
12212
|
answer?: string | null | undefined;
|
|
12213
12213
|
}[] | null | undefined;
|
|
12214
12214
|
uniqueSources?: string[] | null | undefined;
|
|
12215
|
-
selectedArticles?:
|
|
12215
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
12216
12216
|
sentiment?: {
|
|
12217
12217
|
positive?: number | null | undefined;
|
|
12218
12218
|
negative?: number | null | undefined;
|
|
@@ -12484,7 +12484,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
|
|
|
12484
12484
|
answer?: string | null | undefined;
|
|
12485
12485
|
}[] | null | undefined;
|
|
12486
12486
|
uniqueSources?: string[] | null | undefined;
|
|
12487
|
-
selectedArticles?:
|
|
12487
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
12488
12488
|
sentiment?: {
|
|
12489
12489
|
positive?: number | null | undefined;
|
|
12490
12490
|
negative?: number | null | undefined;
|
|
@@ -12760,7 +12760,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
|
|
|
12760
12760
|
answer?: string | null | undefined;
|
|
12761
12761
|
}[] | null | undefined;
|
|
12762
12762
|
uniqueSources?: string[] | null | undefined;
|
|
12763
|
-
selectedArticles?:
|
|
12763
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
12764
12764
|
sentiment?: {
|
|
12765
12765
|
positive?: number | null | undefined;
|
|
12766
12766
|
negative?: number | null | undefined;
|
|
@@ -13036,7 +13036,7 @@ declare const QuerySearchResultSchema: z.ZodObject<{
|
|
|
13036
13036
|
answer?: string | null | undefined;
|
|
13037
13037
|
}[] | null | undefined;
|
|
13038
13038
|
uniqueSources?: string[] | null | undefined;
|
|
13039
|
-
selectedArticles?:
|
|
13039
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
13040
13040
|
sentiment?: {
|
|
13041
13041
|
positive?: number | null | undefined;
|
|
13042
13042
|
negative?: number | null | undefined;
|
|
@@ -13981,7 +13981,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
|
|
|
13981
13981
|
answer?: string | null | undefined;
|
|
13982
13982
|
}>, "many">>>;
|
|
13983
13983
|
uniqueSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
13984
|
-
selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
13984
|
+
selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
13985
13985
|
sentiment: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
13986
13986
|
positive: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
13987
13987
|
negative: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -14208,7 +14208,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
|
|
|
14208
14208
|
answer?: string | null | undefined;
|
|
14209
14209
|
}[] | null | undefined;
|
|
14210
14210
|
uniqueSources?: string[] | null | undefined;
|
|
14211
|
-
selectedArticles?:
|
|
14211
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
14212
14212
|
sentiment?: {
|
|
14213
14213
|
positive?: number | null | undefined;
|
|
14214
14214
|
negative?: number | null | undefined;
|
|
@@ -14316,7 +14316,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
|
|
|
14316
14316
|
answer?: string | null | undefined;
|
|
14317
14317
|
}[] | null | undefined;
|
|
14318
14318
|
uniqueSources?: string[] | null | undefined;
|
|
14319
|
-
selectedArticles?:
|
|
14319
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
14320
14320
|
sentiment?: {
|
|
14321
14321
|
positive?: number | null | undefined;
|
|
14322
14322
|
negative?: number | null | undefined;
|
|
@@ -14427,7 +14427,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
|
|
|
14427
14427
|
answer?: string | null | undefined;
|
|
14428
14428
|
}[] | null | undefined;
|
|
14429
14429
|
uniqueSources?: string[] | null | undefined;
|
|
14430
|
-
selectedArticles?:
|
|
14430
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
14431
14431
|
sentiment?: {
|
|
14432
14432
|
positive?: number | null | undefined;
|
|
14433
14433
|
negative?: number | null | undefined;
|
|
@@ -14539,7 +14539,7 @@ declare const StorySearchResultSchema: z.ZodObject<{
|
|
|
14539
14539
|
answer?: string | null | undefined;
|
|
14540
14540
|
}[] | null | undefined;
|
|
14541
14541
|
uniqueSources?: string[] | null | undefined;
|
|
14542
|
-
selectedArticles?:
|
|
14542
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
14543
14543
|
sentiment?: {
|
|
14544
14544
|
positive?: number | null | undefined;
|
|
14545
14545
|
negative?: number | null | undefined;
|
|
@@ -15050,7 +15050,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
|
|
|
15050
15050
|
answer?: string | null | undefined;
|
|
15051
15051
|
}>, "many">>>;
|
|
15052
15052
|
uniqueSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
15053
|
-
selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
15053
|
+
selectedArticles: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
15054
15054
|
sentiment: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15055
15055
|
positive: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
15056
15056
|
negative: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -15277,7 +15277,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
|
|
|
15277
15277
|
answer?: string | null | undefined;
|
|
15278
15278
|
}[] | null | undefined;
|
|
15279
15279
|
uniqueSources?: string[] | null | undefined;
|
|
15280
|
-
selectedArticles?:
|
|
15280
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
15281
15281
|
sentiment?: {
|
|
15282
15282
|
positive?: number | null | undefined;
|
|
15283
15283
|
negative?: number | null | undefined;
|
|
@@ -15385,7 +15385,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
|
|
|
15385
15385
|
answer?: string | null | undefined;
|
|
15386
15386
|
}[] | null | undefined;
|
|
15387
15387
|
uniqueSources?: string[] | null | undefined;
|
|
15388
|
-
selectedArticles?:
|
|
15388
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
15389
15389
|
sentiment?: {
|
|
15390
15390
|
positive?: number | null | undefined;
|
|
15391
15391
|
negative?: number | null | undefined;
|
|
@@ -15796,7 +15796,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
|
|
|
15796
15796
|
answer?: string | null | undefined;
|
|
15797
15797
|
}[] | null | undefined;
|
|
15798
15798
|
uniqueSources?: string[] | null | undefined;
|
|
15799
|
-
selectedArticles?:
|
|
15799
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
15800
15800
|
sentiment?: {
|
|
15801
15801
|
positive?: number | null | undefined;
|
|
15802
15802
|
negative?: number | null | undefined;
|
|
@@ -16068,7 +16068,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
|
|
|
16068
16068
|
answer?: string | null | undefined;
|
|
16069
16069
|
}[] | null | undefined;
|
|
16070
16070
|
uniqueSources?: string[] | null | undefined;
|
|
16071
|
-
selectedArticles?:
|
|
16071
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
16072
16072
|
sentiment?: {
|
|
16073
16073
|
positive?: number | null | undefined;
|
|
16074
16074
|
negative?: number | null | undefined;
|
|
@@ -16344,7 +16344,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
|
|
|
16344
16344
|
answer?: string | null | undefined;
|
|
16345
16345
|
}[] | null | undefined;
|
|
16346
16346
|
uniqueSources?: string[] | null | undefined;
|
|
16347
|
-
selectedArticles?:
|
|
16347
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
16348
16348
|
sentiment?: {
|
|
16349
16349
|
positive?: number | null | undefined;
|
|
16350
16350
|
negative?: number | null | undefined;
|
|
@@ -16621,7 +16621,7 @@ declare const SummarySearchResultSchema: z.ZodObject<{
|
|
|
16621
16621
|
answer?: string | null | undefined;
|
|
16622
16622
|
}[] | null | undefined;
|
|
16623
16623
|
uniqueSources?: string[] | null | undefined;
|
|
16624
|
-
selectedArticles?:
|
|
16624
|
+
selectedArticles?: unknown[] | null | undefined;
|
|
16625
16625
|
sentiment?: {
|
|
16626
16626
|
positive?: number | null | undefined;
|
|
16627
16627
|
negative?: number | null | undefined;
|
|
@@ -17249,20 +17249,20 @@ declare const WikipediaSearchFilterSchema: z.ZodObject<{
|
|
|
17249
17249
|
/**
|
|
17250
17250
|
* 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
17251
|
*/
|
|
17252
|
-
AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
17252
|
+
AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
17253
17253
|
/**
|
|
17254
17254
|
* 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
17255
|
*/
|
|
17256
|
-
OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
17256
|
+
OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
17257
17257
|
/**
|
|
17258
17258
|
* A filter object for logical NOT operations
|
|
17259
17259
|
*/
|
|
17260
|
-
NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
17260
|
+
NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
17261
17261
|
}, "strip", z.ZodTypeAny, {
|
|
17262
17262
|
wikidataId?: string[] | null | undefined;
|
|
17263
|
-
AND?:
|
|
17264
|
-
OR?:
|
|
17265
|
-
NOT?:
|
|
17263
|
+
AND?: unknown[] | null | undefined;
|
|
17264
|
+
OR?: unknown[] | null | undefined;
|
|
17265
|
+
NOT?: unknown[] | null | undefined;
|
|
17266
17266
|
pageId?: string[] | null | undefined;
|
|
17267
17267
|
sectionId?: string[] | null | undefined;
|
|
17268
17268
|
wikiPageId?: number[] | null | undefined;
|
|
@@ -17273,9 +17273,9 @@ declare const WikipediaSearchFilterSchema: z.ZodObject<{
|
|
|
17273
17273
|
wikidataInstanceOfLabel?: string[] | null | undefined;
|
|
17274
17274
|
}, {
|
|
17275
17275
|
wikidataId?: string[] | null | undefined;
|
|
17276
|
-
AND?:
|
|
17277
|
-
OR?:
|
|
17278
|
-
NOT?:
|
|
17276
|
+
AND?: unknown[] | null | undefined;
|
|
17277
|
+
OR?: unknown[] | null | undefined;
|
|
17278
|
+
NOT?: unknown[] | null | undefined;
|
|
17279
17279
|
pageId?: string[] | null | undefined;
|
|
17280
17280
|
sectionId?: string[] | null | undefined;
|
|
17281
17281
|
wikiPageId?: number[] | null | undefined;
|
|
@@ -17331,20 +17331,20 @@ declare const WikipediaSearchParamsSchema: z.ZodObject<{
|
|
|
17331
17331
|
/**
|
|
17332
17332
|
* 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
17333
|
*/
|
|
17334
|
-
AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
17334
|
+
AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
17335
17335
|
/**
|
|
17336
17336
|
* 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
17337
|
*/
|
|
17338
|
-
OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
17338
|
+
OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
17339
17339
|
/**
|
|
17340
17340
|
* A filter object for logical NOT operations
|
|
17341
17341
|
*/
|
|
17342
|
-
NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
17342
|
+
NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
17343
17343
|
}, "strip", z.ZodTypeAny, {
|
|
17344
17344
|
wikidataId?: string[] | null | undefined;
|
|
17345
|
-
AND?:
|
|
17346
|
-
OR?:
|
|
17347
|
-
NOT?:
|
|
17345
|
+
AND?: unknown[] | null | undefined;
|
|
17346
|
+
OR?: unknown[] | null | undefined;
|
|
17347
|
+
NOT?: unknown[] | null | undefined;
|
|
17348
17348
|
pageId?: string[] | null | undefined;
|
|
17349
17349
|
sectionId?: string[] | null | undefined;
|
|
17350
17350
|
wikiPageId?: number[] | null | undefined;
|
|
@@ -17355,9 +17355,9 @@ declare const WikipediaSearchParamsSchema: z.ZodObject<{
|
|
|
17355
17355
|
wikidataInstanceOfLabel?: string[] | null | undefined;
|
|
17356
17356
|
}, {
|
|
17357
17357
|
wikidataId?: string[] | null | undefined;
|
|
17358
|
-
AND?:
|
|
17359
|
-
OR?:
|
|
17360
|
-
NOT?:
|
|
17358
|
+
AND?: unknown[] | null | undefined;
|
|
17359
|
+
OR?: unknown[] | null | undefined;
|
|
17360
|
+
NOT?: unknown[] | null | undefined;
|
|
17361
17361
|
pageId?: string[] | null | undefined;
|
|
17362
17362
|
sectionId?: string[] | null | undefined;
|
|
17363
17363
|
wikiPageId?: number[] | null | undefined;
|
|
@@ -17395,9 +17395,9 @@ declare const WikipediaSearchParamsSchema: z.ZodObject<{
|
|
|
17395
17395
|
prompt: string;
|
|
17396
17396
|
filter?: {
|
|
17397
17397
|
wikidataId?: string[] | null | undefined;
|
|
17398
|
-
AND?:
|
|
17399
|
-
OR?:
|
|
17400
|
-
NOT?:
|
|
17398
|
+
AND?: unknown[] | null | undefined;
|
|
17399
|
+
OR?: unknown[] | null | undefined;
|
|
17400
|
+
NOT?: unknown[] | null | undefined;
|
|
17401
17401
|
pageId?: string[] | null | undefined;
|
|
17402
17402
|
sectionId?: string[] | null | undefined;
|
|
17403
17403
|
wikiPageId?: number[] | null | undefined;
|
|
@@ -17417,9 +17417,9 @@ declare const WikipediaSearchParamsSchema: z.ZodObject<{
|
|
|
17417
17417
|
prompt: string;
|
|
17418
17418
|
filter?: {
|
|
17419
17419
|
wikidataId?: string[] | null | undefined;
|
|
17420
|
-
AND?:
|
|
17421
|
-
OR?:
|
|
17422
|
-
NOT?:
|
|
17420
|
+
AND?: unknown[] | null | undefined;
|
|
17421
|
+
OR?: unknown[] | null | undefined;
|
|
17422
|
+
NOT?: unknown[] | null | undefined;
|
|
17423
17423
|
pageId?: string[] | null | undefined;
|
|
17424
17424
|
sectionId?: string[] | null | undefined;
|
|
17425
17425
|
wikiPageId?: number[] | null | undefined;
|
|
@@ -17866,27 +17866,27 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
|
|
|
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.
|
|
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.
|
|
17873
|
+
to: z.ZodOptional<z.ZodDate>;
|
|
17874
17874
|
/**
|
|
17875
17875
|
* Filter for articles added to Perigon\'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.
|
|
17877
|
+
addDateFrom: z.ZodOptional<z.ZodDate>;
|
|
17878
17878
|
/**
|
|
17879
17879
|
* Filter for articles added to Perigon\'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.
|
|
17881
|
+
addDateTo: z.ZodOptional<z.ZodDate>;
|
|
17882
17882
|
/**
|
|
17883
17883
|
* Filter for articles refreshed/updated in Perigon\'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.
|
|
17885
|
+
refreshDateFrom: z.ZodOptional<z.ZodDate>;
|
|
17886
17886
|
/**
|
|
17887
17887
|
* Filter for articles refreshed/updated in Perigon\'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.
|
|
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
|
*/
|
|
@@ -18221,12 +18221,12 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
|
|
|
18221
18221
|
q?: string | undefined;
|
|
18222
18222
|
desc?: string | undefined;
|
|
18223
18223
|
sortBy?: "relevance" | "date" | "reverseDate" | "reverseAddDate" | "addDate" | "pubDate" | "refreshDate" | undefined;
|
|
18224
|
-
from?:
|
|
18225
|
-
to?:
|
|
18226
|
-
addDateFrom?:
|
|
18227
|
-
addDateTo?:
|
|
18228
|
-
refreshDateFrom?:
|
|
18229
|
-
refreshDateTo?:
|
|
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;
|
|
@@ -18308,12 +18308,12 @@ declare const SearchArticlesQuerySchema: z.ZodObject<{
|
|
|
18308
18308
|
q?: string | undefined;
|
|
18309
18309
|
desc?: string | undefined;
|
|
18310
18310
|
sortBy?: "relevance" | "date" | "reverseDate" | "reverseAddDate" | "addDate" | "pubDate" | "refreshDate" | undefined;
|
|
18311
|
-
from?:
|
|
18312
|
-
to?:
|
|
18313
|
-
addDateFrom?:
|
|
18314
|
-
addDateTo?:
|
|
18315
|
-
refreshDateFrom?:
|
|
18316
|
-
refreshDateTo?:
|
|
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;
|
|
@@ -18386,27 +18386,27 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
|
|
|
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.
|
|
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.
|
|
18393
|
+
to: z.ZodOptional<z.ZodDate>;
|
|
18394
18394
|
/**
|
|
18395
18395
|
* Filter for articles added to Perigon\'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.
|
|
18397
|
+
addDateFrom: z.ZodOptional<z.ZodDate>;
|
|
18398
18398
|
/**
|
|
18399
18399
|
* Filter for articles added to Perigon\'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.
|
|
18401
|
+
addDateTo: z.ZodOptional<z.ZodDate>;
|
|
18402
18402
|
/**
|
|
18403
18403
|
* Filter for articles refreshed/updated in Perigon\'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.
|
|
18405
|
+
refreshDateFrom: z.ZodOptional<z.ZodDate>;
|
|
18406
18406
|
/**
|
|
18407
18407
|
* Filter for articles refreshed/updated in Perigon\'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.
|
|
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
|
*/
|
|
@@ -18741,12 +18741,12 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
|
|
|
18741
18741
|
q?: string | undefined;
|
|
18742
18742
|
desc?: string | undefined;
|
|
18743
18743
|
sortBy?: "relevance" | "date" | "reverseDate" | "reverseAddDate" | "addDate" | "pubDate" | "refreshDate" | undefined;
|
|
18744
|
-
from?:
|
|
18745
|
-
to?:
|
|
18746
|
-
addDateFrom?:
|
|
18747
|
-
addDateTo?:
|
|
18748
|
-
refreshDateFrom?:
|
|
18749
|
-
refreshDateTo?:
|
|
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;
|
|
@@ -18828,12 +18828,12 @@ declare const SearchArticlesRequestSchema: z.ZodObject<{
|
|
|
18828
18828
|
q?: string | undefined;
|
|
18829
18829
|
desc?: string | undefined;
|
|
18830
18830
|
sortBy?: "relevance" | "date" | "reverseDate" | "reverseAddDate" | "addDate" | "pubDate" | "refreshDate" | undefined;
|
|
18831
|
-
from?:
|
|
18832
|
-
to?:
|
|
18833
|
-
addDateFrom?:
|
|
18834
|
-
addDateTo?:
|
|
18835
|
-
refreshDateFrom?:
|
|
18836
|
-
refreshDateTo?:
|
|
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;
|
|
@@ -18895,11 +18895,11 @@ declare const SearchCompaniesQuerySchema: z.ZodObject<{
|
|
|
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.
|
|
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.
|
|
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
|
*/
|
|
@@ -18938,8 +18938,8 @@ declare const SearchCompaniesQuerySchema: z.ZodObject<{
|
|
|
18938
18938
|
q?: string | undefined;
|
|
18939
18939
|
numEmployeesFrom?: number | undefined;
|
|
18940
18940
|
numEmployeesTo?: number | undefined;
|
|
18941
|
-
ipoFrom?:
|
|
18942
|
-
ipoTo?:
|
|
18941
|
+
ipoFrom?: Date | undefined;
|
|
18942
|
+
ipoTo?: Date | undefined;
|
|
18943
18943
|
}, {
|
|
18944
18944
|
symbol?: string[] | undefined;
|
|
18945
18945
|
name?: string | undefined;
|
|
@@ -18954,8 +18954,8 @@ declare const SearchCompaniesQuerySchema: z.ZodObject<{
|
|
|
18954
18954
|
q?: string | undefined;
|
|
18955
18955
|
numEmployeesFrom?: number | undefined;
|
|
18956
18956
|
numEmployeesTo?: number | undefined;
|
|
18957
|
-
ipoFrom?:
|
|
18958
|
-
ipoTo?:
|
|
18957
|
+
ipoFrom?: Date | undefined;
|
|
18958
|
+
ipoTo?: Date | undefined;
|
|
18959
18959
|
}>;
|
|
18960
18960
|
declare const SearchCompaniesRequestSchema: z.ZodObject<{
|
|
18961
18961
|
/**
|
|
@@ -18989,11 +18989,11 @@ declare const SearchCompaniesRequestSchema: z.ZodObject<{
|
|
|
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.
|
|
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.
|
|
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
|
*/
|
|
@@ -19032,8 +19032,8 @@ declare const SearchCompaniesRequestSchema: z.ZodObject<{
|
|
|
19032
19032
|
q?: string | undefined;
|
|
19033
19033
|
numEmployeesFrom?: number | undefined;
|
|
19034
19034
|
numEmployeesTo?: number | undefined;
|
|
19035
|
-
ipoFrom?:
|
|
19036
|
-
ipoTo?:
|
|
19035
|
+
ipoFrom?: Date | undefined;
|
|
19036
|
+
ipoTo?: Date | undefined;
|
|
19037
19037
|
}, {
|
|
19038
19038
|
symbol?: string[] | undefined;
|
|
19039
19039
|
name?: string | undefined;
|
|
@@ -19048,8 +19048,8 @@ declare const SearchCompaniesRequestSchema: z.ZodObject<{
|
|
|
19048
19048
|
q?: string | undefined;
|
|
19049
19049
|
numEmployeesFrom?: number | undefined;
|
|
19050
19050
|
numEmployeesTo?: number | undefined;
|
|
19051
|
-
ipoFrom?:
|
|
19052
|
-
ipoTo?:
|
|
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<{
|
|
@@ -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.
|
|
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.
|
|
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
|
*/
|
|
@@ -19132,8 +19132,8 @@ declare const SearchJournalistsQuerySchema: z.ZodObject<{
|
|
|
19132
19132
|
twitter?: string | undefined;
|
|
19133
19133
|
minMonthlyPosts?: number | undefined;
|
|
19134
19134
|
maxMonthlyPosts?: number | undefined;
|
|
19135
|
-
updatedAtFrom?:
|
|
19136
|
-
updatedAtTo?:
|
|
19135
|
+
updatedAtFrom?: Date | undefined;
|
|
19136
|
+
updatedAtTo?: Date | undefined;
|
|
19137
19137
|
}, {
|
|
19138
19138
|
name?: string | undefined;
|
|
19139
19139
|
id?: string[] | undefined;
|
|
@@ -19149,8 +19149,8 @@ declare const SearchJournalistsQuerySchema: z.ZodObject<{
|
|
|
19149
19149
|
twitter?: string | undefined;
|
|
19150
19150
|
minMonthlyPosts?: number | undefined;
|
|
19151
19151
|
maxMonthlyPosts?: number | undefined;
|
|
19152
|
-
updatedAtFrom?:
|
|
19153
|
-
updatedAtTo?:
|
|
19152
|
+
updatedAtFrom?: Date | undefined;
|
|
19153
|
+
updatedAtTo?: Date | undefined;
|
|
19154
19154
|
}>;
|
|
19155
19155
|
declare const SearchJournalistsRequestSchema: z.ZodObject<{
|
|
19156
19156
|
/**
|
|
@@ -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.
|
|
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.
|
|
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
|
*/
|
|
@@ -19232,8 +19232,8 @@ declare const SearchJournalistsRequestSchema: z.ZodObject<{
|
|
|
19232
19232
|
twitter?: string | undefined;
|
|
19233
19233
|
minMonthlyPosts?: number | undefined;
|
|
19234
19234
|
maxMonthlyPosts?: number | undefined;
|
|
19235
|
-
updatedAtFrom?:
|
|
19236
|
-
updatedAtTo?:
|
|
19235
|
+
updatedAtFrom?: Date | undefined;
|
|
19236
|
+
updatedAtTo?: Date | undefined;
|
|
19237
19237
|
}, {
|
|
19238
19238
|
name?: string | undefined;
|
|
19239
19239
|
id?: string[] | undefined;
|
|
@@ -19249,8 +19249,8 @@ declare const SearchJournalistsRequestSchema: z.ZodObject<{
|
|
|
19249
19249
|
twitter?: string | undefined;
|
|
19250
19250
|
minMonthlyPosts?: number | undefined;
|
|
19251
19251
|
maxMonthlyPosts?: number | undefined;
|
|
19252
|
-
updatedAtFrom?:
|
|
19253
|
-
updatedAtTo?:
|
|
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<{
|
|
@@ -19663,27 +19663,27 @@ declare const SearchStoriesQuerySchema: z.ZodObject<{
|
|
|
19663
19663
|
/**
|
|
19664
19664
|
* \'from\' filter, will search stories created after the specified date, the date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2023-03-01T00:00:00
|
|
19665
19665
|
*/
|
|
19666
|
-
from: z.ZodOptional<z.
|
|
19666
|
+
from: z.ZodOptional<z.ZodDate>;
|
|
19667
19667
|
/**
|
|
19668
19668
|
* \'to\' filter, will search stories created before the specified date, the date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2023-03-01T23:59:59
|
|
19669
19669
|
*/
|
|
19670
|
-
to: z.ZodOptional<z.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
*/
|
|
@@ -19842,8 +19842,8 @@ declare const SearchStoriesQuerySchema: z.ZodObject<{
|
|
|
19842
19842
|
page?: number | undefined;
|
|
19843
19843
|
q?: string | undefined;
|
|
19844
19844
|
sortBy?: "createdAt" | "updatedAt" | "relevance" | "count" | "totalCount" | undefined;
|
|
19845
|
-
from?:
|
|
19846
|
-
to?:
|
|
19845
|
+
from?: Date | undefined;
|
|
19846
|
+
to?: Date | undefined;
|
|
19847
19847
|
showNumResults?: boolean | undefined;
|
|
19848
19848
|
positiveSentimentFrom?: number | undefined;
|
|
19849
19849
|
positiveSentimentTo?: number | undefined;
|
|
@@ -19858,10 +19858,10 @@ declare const SearchStoriesQuerySchema: z.ZodObject<{
|
|
|
19858
19858
|
highlightPostTag?: string | undefined;
|
|
19859
19859
|
highlightQ?: string | undefined;
|
|
19860
19860
|
excludeClusterId?: string[] | undefined;
|
|
19861
|
-
initializedFrom?:
|
|
19862
|
-
initializedTo?:
|
|
19863
|
-
updatedFrom?:
|
|
19864
|
-
updatedTo?:
|
|
19861
|
+
initializedFrom?: Date | undefined;
|
|
19862
|
+
initializedTo?: Date | undefined;
|
|
19863
|
+
updatedFrom?: Date | undefined;
|
|
19864
|
+
updatedTo?: Date | undefined;
|
|
19865
19865
|
minUniqueSources?: number | undefined;
|
|
19866
19866
|
minClusterSize?: number | undefined;
|
|
19867
19867
|
maxClusterSize?: number | undefined;
|
|
@@ -19890,8 +19890,8 @@ declare const SearchStoriesQuerySchema: z.ZodObject<{
|
|
|
19890
19890
|
page?: number | undefined;
|
|
19891
19891
|
q?: string | undefined;
|
|
19892
19892
|
sortBy?: "createdAt" | "updatedAt" | "relevance" | "count" | "totalCount" | undefined;
|
|
19893
|
-
from?:
|
|
19894
|
-
to?:
|
|
19893
|
+
from?: Date | undefined;
|
|
19894
|
+
to?: Date | undefined;
|
|
19895
19895
|
showNumResults?: boolean | undefined;
|
|
19896
19896
|
positiveSentimentFrom?: number | undefined;
|
|
19897
19897
|
positiveSentimentTo?: number | undefined;
|
|
@@ -19906,10 +19906,10 @@ declare const SearchStoriesQuerySchema: z.ZodObject<{
|
|
|
19906
19906
|
highlightPostTag?: string | undefined;
|
|
19907
19907
|
highlightQ?: string | undefined;
|
|
19908
19908
|
excludeClusterId?: string[] | undefined;
|
|
19909
|
-
initializedFrom?:
|
|
19910
|
-
initializedTo?:
|
|
19911
|
-
updatedFrom?:
|
|
19912
|
-
updatedTo?:
|
|
19909
|
+
initializedFrom?: Date | undefined;
|
|
19910
|
+
initializedTo?: Date | undefined;
|
|
19911
|
+
updatedFrom?: Date | undefined;
|
|
19912
|
+
updatedTo?: Date | undefined;
|
|
19913
19913
|
minUniqueSources?: number | undefined;
|
|
19914
19914
|
minClusterSize?: number | undefined;
|
|
19915
19915
|
maxClusterSize?: number | undefined;
|
|
@@ -19949,27 +19949,27 @@ declare const SearchStoriesRequestSchema: z.ZodObject<{
|
|
|
19949
19949
|
/**
|
|
19950
19950
|
* \'from\' filter, will search stories created after the specified date, the date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2023-03-01T00:00:00
|
|
19951
19951
|
*/
|
|
19952
|
-
from: z.ZodOptional<z.
|
|
19952
|
+
from: z.ZodOptional<z.ZodDate>;
|
|
19953
19953
|
/**
|
|
19954
19954
|
* \'to\' filter, will search stories created before the specified date, the date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2023-03-01T23:59:59
|
|
19955
19955
|
*/
|
|
19956
|
-
to: z.ZodOptional<z.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
*/
|
|
@@ -20128,8 +20128,8 @@ declare const SearchStoriesRequestSchema: z.ZodObject<{
|
|
|
20128
20128
|
page?: number | undefined;
|
|
20129
20129
|
q?: string | undefined;
|
|
20130
20130
|
sortBy?: "createdAt" | "updatedAt" | "relevance" | "count" | "totalCount" | undefined;
|
|
20131
|
-
from?:
|
|
20132
|
-
to?:
|
|
20131
|
+
from?: Date | undefined;
|
|
20132
|
+
to?: Date | undefined;
|
|
20133
20133
|
showNumResults?: boolean | undefined;
|
|
20134
20134
|
positiveSentimentFrom?: number | undefined;
|
|
20135
20135
|
positiveSentimentTo?: number | undefined;
|
|
@@ -20144,10 +20144,10 @@ declare const SearchStoriesRequestSchema: z.ZodObject<{
|
|
|
20144
20144
|
highlightPostTag?: string | undefined;
|
|
20145
20145
|
highlightQ?: string | undefined;
|
|
20146
20146
|
excludeClusterId?: string[] | undefined;
|
|
20147
|
-
initializedFrom?:
|
|
20148
|
-
initializedTo?:
|
|
20149
|
-
updatedFrom?:
|
|
20150
|
-
updatedTo?:
|
|
20147
|
+
initializedFrom?: Date | undefined;
|
|
20148
|
+
initializedTo?: Date | undefined;
|
|
20149
|
+
updatedFrom?: Date | undefined;
|
|
20150
|
+
updatedTo?: Date | undefined;
|
|
20151
20151
|
minUniqueSources?: number | undefined;
|
|
20152
20152
|
minClusterSize?: number | undefined;
|
|
20153
20153
|
maxClusterSize?: number | undefined;
|
|
@@ -20176,8 +20176,8 @@ declare const SearchStoriesRequestSchema: z.ZodObject<{
|
|
|
20176
20176
|
page?: number | undefined;
|
|
20177
20177
|
q?: string | undefined;
|
|
20178
20178
|
sortBy?: "createdAt" | "updatedAt" | "relevance" | "count" | "totalCount" | undefined;
|
|
20179
|
-
from?:
|
|
20180
|
-
to?:
|
|
20179
|
+
from?: Date | undefined;
|
|
20180
|
+
to?: Date | undefined;
|
|
20181
20181
|
showNumResults?: boolean | undefined;
|
|
20182
20182
|
positiveSentimentFrom?: number | undefined;
|
|
20183
20183
|
positiveSentimentTo?: number | undefined;
|
|
@@ -20192,10 +20192,10 @@ declare const SearchStoriesRequestSchema: z.ZodObject<{
|
|
|
20192
20192
|
highlightPostTag?: string | undefined;
|
|
20193
20193
|
highlightQ?: string | undefined;
|
|
20194
20194
|
excludeClusterId?: string[] | undefined;
|
|
20195
|
-
initializedFrom?:
|
|
20196
|
-
initializedTo?:
|
|
20197
|
-
updatedFrom?:
|
|
20198
|
-
updatedTo?:
|
|
20195
|
+
initializedFrom?: Date | undefined;
|
|
20196
|
+
initializedTo?: Date | undefined;
|
|
20197
|
+
updatedFrom?: Date | undefined;
|
|
20198
|
+
updatedTo?: Date | undefined;
|
|
20199
20199
|
minUniqueSources?: number | undefined;
|
|
20200
20200
|
minClusterSize?: number | undefined;
|
|
20201
20201
|
maxClusterSize?: number | undefined;
|
|
@@ -20248,27 +20248,27 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
|
|
|
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.
|
|
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.
|
|
20255
|
+
to: z.ZodOptional<z.ZodDate>;
|
|
20256
20256
|
/**
|
|
20257
20257
|
* Filter for articles added to Perigon\'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.
|
|
20259
|
+
addDateFrom: z.ZodOptional<z.ZodDate>;
|
|
20260
20260
|
/**
|
|
20261
20261
|
* Filter for articles added to Perigon\'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.
|
|
20263
|
+
addDateTo: z.ZodOptional<z.ZodDate>;
|
|
20264
20264
|
/**
|
|
20265
20265
|
* Filter for articles refreshed/updated in Perigon\'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.
|
|
20267
|
+
refreshDateFrom: z.ZodOptional<z.ZodDate>;
|
|
20268
20268
|
/**
|
|
20269
20269
|
* Filter for articles refreshed/updated in Perigon\'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.
|
|
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
|
*/
|
|
@@ -20603,12 +20603,12 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
|
|
|
20603
20603
|
q?: string | undefined;
|
|
20604
20604
|
desc?: string | undefined;
|
|
20605
20605
|
sortBy?: "relevance" | "date" | "reverseDate" | "reverseAddDate" | "addDate" | "pubDate" | "refreshDate" | undefined;
|
|
20606
|
-
from?:
|
|
20607
|
-
to?:
|
|
20608
|
-
addDateFrom?:
|
|
20609
|
-
addDateTo?:
|
|
20610
|
-
refreshDateFrom?:
|
|
20611
|
-
refreshDateTo?:
|
|
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;
|
|
@@ -20690,12 +20690,12 @@ declare const SearchSummarizerQuerySchema: z.ZodObject<{
|
|
|
20690
20690
|
q?: string | undefined;
|
|
20691
20691
|
desc?: string | undefined;
|
|
20692
20692
|
sortBy?: "relevance" | "date" | "reverseDate" | "reverseAddDate" | "addDate" | "pubDate" | "refreshDate" | undefined;
|
|
20693
|
-
from?:
|
|
20694
|
-
to?:
|
|
20695
|
-
addDateFrom?:
|
|
20696
|
-
addDateTo?:
|
|
20697
|
-
refreshDateFrom?:
|
|
20698
|
-
refreshDateTo?:
|
|
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;
|
|
@@ -20864,27 +20864,27 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
|
|
|
20864
20864
|
/**
|
|
20865
20865
|
* Filter for articles published after this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
|
|
20866
20866
|
*/
|
|
20867
|
-
from: z.ZodOptional<z.
|
|
20867
|
+
from: z.ZodOptional<z.ZodDate>;
|
|
20868
20868
|
/**
|
|
20869
20869
|
* Filter for articles published before this date. Accepts ISO 8601 format (e.g., 2022-02-01T23:59:59) or yyyy-mm-dd format.
|
|
20870
20870
|
*/
|
|
20871
|
-
to: z.ZodOptional<z.
|
|
20871
|
+
to: z.ZodOptional<z.ZodDate>;
|
|
20872
20872
|
/**
|
|
20873
20873
|
* Filter for articles added to Perigon\'s system after this date. Accepts ISO 8601 format (e.g., 2022-02-01T00:00:00) or yyyy-mm-dd format.
|
|
20874
20874
|
*/
|
|
20875
|
-
addDateFrom: z.ZodOptional<z.
|
|
20875
|
+
addDateFrom: z.ZodOptional<z.ZodDate>;
|
|
20876
20876
|
/**
|
|
20877
20877
|
* Filter for articles added to Perigon\'s system before this date. Accepts ISO 8601 format (e.g., 2022-02-01T23:59:59) or yyyy-mm-dd format.
|
|
20878
20878
|
*/
|
|
20879
|
-
addDateTo: z.ZodOptional<z.
|
|
20879
|
+
addDateTo: z.ZodOptional<z.ZodDate>;
|
|
20880
20880
|
/**
|
|
20881
20881
|
* Filter for articles refreshed/updated in Perigon\'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.
|
|
20882
20882
|
*/
|
|
20883
|
-
refreshDateFrom: z.ZodOptional<z.
|
|
20883
|
+
refreshDateFrom: z.ZodOptional<z.ZodDate>;
|
|
20884
20884
|
/**
|
|
20885
20885
|
* Filter for articles refreshed/updated in Perigon\'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.
|
|
20886
20886
|
*/
|
|
20887
|
-
refreshDateTo: z.ZodOptional<z.
|
|
20887
|
+
refreshDateTo: z.ZodOptional<z.ZodDate>;
|
|
20888
20888
|
/**
|
|
20889
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.
|
|
20890
20890
|
*/
|
|
@@ -21230,12 +21230,12 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
|
|
|
21230
21230
|
q?: string | undefined;
|
|
21231
21231
|
desc?: string | undefined;
|
|
21232
21232
|
sortBy?: "relevance" | "date" | "reverseDate" | "reverseAddDate" | "addDate" | "pubDate" | "refreshDate" | undefined;
|
|
21233
|
-
from?:
|
|
21234
|
-
to?:
|
|
21235
|
-
addDateFrom?:
|
|
21236
|
-
addDateTo?:
|
|
21237
|
-
refreshDateFrom?:
|
|
21238
|
-
refreshDateTo?:
|
|
21233
|
+
from?: Date | undefined;
|
|
21234
|
+
to?: Date | undefined;
|
|
21235
|
+
addDateFrom?: Date | undefined;
|
|
21236
|
+
addDateTo?: Date | undefined;
|
|
21237
|
+
refreshDateFrom?: Date | undefined;
|
|
21238
|
+
refreshDateTo?: Date | undefined;
|
|
21239
21239
|
excludeSourceGroup?: string[] | undefined;
|
|
21240
21240
|
byline?: string[] | undefined;
|
|
21241
21241
|
author?: string[] | undefined;
|
|
@@ -21328,12 +21328,12 @@ declare const SearchSummarizerRequestSchema: z.ZodObject<{
|
|
|
21328
21328
|
q?: string | undefined;
|
|
21329
21329
|
desc?: string | undefined;
|
|
21330
21330
|
sortBy?: "relevance" | "date" | "reverseDate" | "reverseAddDate" | "addDate" | "pubDate" | "refreshDate" | undefined;
|
|
21331
|
-
from?:
|
|
21332
|
-
to?:
|
|
21333
|
-
addDateFrom?:
|
|
21334
|
-
addDateTo?:
|
|
21335
|
-
refreshDateFrom?:
|
|
21336
|
-
refreshDateTo?:
|
|
21331
|
+
from?: Date | undefined;
|
|
21332
|
+
to?: Date | undefined;
|
|
21333
|
+
addDateFrom?: Date | undefined;
|
|
21334
|
+
addDateTo?: Date | undefined;
|
|
21335
|
+
refreshDateFrom?: Date | undefined;
|
|
21336
|
+
refreshDateTo?: Date | undefined;
|
|
21337
21337
|
excludeSourceGroup?: string[] | undefined;
|
|
21338
21338
|
byline?: string[] | undefined;
|
|
21339
21339
|
author?: string[] | undefined;
|
|
@@ -21496,19 +21496,19 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
|
|
|
21496
21496
|
/**
|
|
21497
21497
|
* Retrieve pages modified after this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
|
|
21498
21498
|
*/
|
|
21499
|
-
wikiRevisionFrom: z.ZodOptional<z.
|
|
21499
|
+
wikiRevisionFrom: z.ZodOptional<z.ZodDate>;
|
|
21500
21500
|
/**
|
|
21501
21501
|
* Retrieve pages modified before this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
|
|
21502
21502
|
*/
|
|
21503
|
-
wikiRevisionTo: z.ZodOptional<z.
|
|
21503
|
+
wikiRevisionTo: z.ZodOptional<z.ZodDate>;
|
|
21504
21504
|
/**
|
|
21505
21505
|
* Retrieve pages scraped after this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
|
|
21506
21506
|
*/
|
|
21507
|
-
scrapedAtFrom: z.ZodOptional<z.
|
|
21507
|
+
scrapedAtFrom: z.ZodOptional<z.ZodDate>;
|
|
21508
21508
|
/**
|
|
21509
21509
|
* Retrieve pages scraped before this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
|
|
21510
21510
|
*/
|
|
21511
|
-
scrapedAtTo: z.ZodOptional<z.
|
|
21511
|
+
scrapedAtTo: z.ZodOptional<z.ZodDate>;
|
|
21512
21512
|
/**
|
|
21513
21513
|
* Retrieve pages with the average number of views per day higher than the provided value.
|
|
21514
21514
|
*/
|
|
@@ -21552,8 +21552,8 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
|
|
|
21552
21552
|
wikiNamespace?: number[] | undefined;
|
|
21553
21553
|
wikidataInstanceOfId?: string[] | undefined;
|
|
21554
21554
|
wikidataInstanceOfLabel?: string[] | undefined;
|
|
21555
|
-
wikiRevisionFrom?:
|
|
21556
|
-
wikiRevisionTo?:
|
|
21555
|
+
wikiRevisionFrom?: Date | undefined;
|
|
21556
|
+
wikiRevisionTo?: Date | undefined;
|
|
21557
21557
|
pageviewsFrom?: any;
|
|
21558
21558
|
pageviewsTo?: any;
|
|
21559
21559
|
q?: string | undefined;
|
|
@@ -21561,8 +21561,8 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
|
|
|
21561
21561
|
showNumResults?: boolean | undefined;
|
|
21562
21562
|
text?: string | undefined;
|
|
21563
21563
|
reference?: string | undefined;
|
|
21564
|
-
scrapedAtFrom?:
|
|
21565
|
-
scrapedAtTo?:
|
|
21564
|
+
scrapedAtFrom?: Date | undefined;
|
|
21565
|
+
scrapedAtTo?: Date | undefined;
|
|
21566
21566
|
withPageviews?: boolean | undefined;
|
|
21567
21567
|
}, {
|
|
21568
21568
|
id?: string[] | undefined;
|
|
@@ -21579,8 +21579,8 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
|
|
|
21579
21579
|
wikiNamespace?: number[] | undefined;
|
|
21580
21580
|
wikidataInstanceOfId?: string[] | undefined;
|
|
21581
21581
|
wikidataInstanceOfLabel?: string[] | undefined;
|
|
21582
|
-
wikiRevisionFrom?:
|
|
21583
|
-
wikiRevisionTo?:
|
|
21582
|
+
wikiRevisionFrom?: Date | undefined;
|
|
21583
|
+
wikiRevisionTo?: Date | undefined;
|
|
21584
21584
|
pageviewsFrom?: any;
|
|
21585
21585
|
pageviewsTo?: any;
|
|
21586
21586
|
q?: string | undefined;
|
|
@@ -21588,8 +21588,8 @@ declare const SearchWikipediaQuerySchema: z.ZodObject<{
|
|
|
21588
21588
|
showNumResults?: boolean | undefined;
|
|
21589
21589
|
text?: string | undefined;
|
|
21590
21590
|
reference?: string | undefined;
|
|
21591
|
-
scrapedAtFrom?:
|
|
21592
|
-
scrapedAtTo?:
|
|
21591
|
+
scrapedAtFrom?: Date | undefined;
|
|
21592
|
+
scrapedAtTo?: Date | undefined;
|
|
21593
21593
|
withPageviews?: boolean | undefined;
|
|
21594
21594
|
}>;
|
|
21595
21595
|
declare const SearchWikipediaRequestSchema: z.ZodObject<{
|
|
@@ -21656,19 +21656,19 @@ declare const SearchWikipediaRequestSchema: z.ZodObject<{
|
|
|
21656
21656
|
/**
|
|
21657
21657
|
* Retrieve pages modified after this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
|
|
21658
21658
|
*/
|
|
21659
|
-
wikiRevisionFrom: z.ZodOptional<z.
|
|
21659
|
+
wikiRevisionFrom: z.ZodOptional<z.ZodDate>;
|
|
21660
21660
|
/**
|
|
21661
21661
|
* Retrieve pages modified before this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
|
|
21662
21662
|
*/
|
|
21663
|
-
wikiRevisionTo: z.ZodOptional<z.
|
|
21663
|
+
wikiRevisionTo: z.ZodOptional<z.ZodDate>;
|
|
21664
21664
|
/**
|
|
21665
21665
|
* Retrieve pages scraped after this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
|
|
21666
21666
|
*/
|
|
21667
|
-
scrapedAtFrom: z.ZodOptional<z.
|
|
21667
|
+
scrapedAtFrom: z.ZodOptional<z.ZodDate>;
|
|
21668
21668
|
/**
|
|
21669
21669
|
* Retrieve pages scraped before this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
|
|
21670
21670
|
*/
|
|
21671
|
-
scrapedAtTo: z.ZodOptional<z.
|
|
21671
|
+
scrapedAtTo: z.ZodOptional<z.ZodDate>;
|
|
21672
21672
|
/**
|
|
21673
21673
|
* Retrieve pages with the average number of views per day higher than the provided value.
|
|
21674
21674
|
*/
|
|
@@ -21712,8 +21712,8 @@ declare const SearchWikipediaRequestSchema: z.ZodObject<{
|
|
|
21712
21712
|
wikiNamespace?: number[] | undefined;
|
|
21713
21713
|
wikidataInstanceOfId?: string[] | undefined;
|
|
21714
21714
|
wikidataInstanceOfLabel?: string[] | undefined;
|
|
21715
|
-
wikiRevisionFrom?:
|
|
21716
|
-
wikiRevisionTo?:
|
|
21715
|
+
wikiRevisionFrom?: Date | undefined;
|
|
21716
|
+
wikiRevisionTo?: Date | undefined;
|
|
21717
21717
|
pageviewsFrom?: any;
|
|
21718
21718
|
pageviewsTo?: any;
|
|
21719
21719
|
q?: string | undefined;
|
|
@@ -21721,8 +21721,8 @@ declare const SearchWikipediaRequestSchema: z.ZodObject<{
|
|
|
21721
21721
|
showNumResults?: boolean | undefined;
|
|
21722
21722
|
text?: string | undefined;
|
|
21723
21723
|
reference?: string | undefined;
|
|
21724
|
-
scrapedAtFrom?:
|
|
21725
|
-
scrapedAtTo?:
|
|
21724
|
+
scrapedAtFrom?: Date | undefined;
|
|
21725
|
+
scrapedAtTo?: Date | undefined;
|
|
21726
21726
|
withPageviews?: boolean | undefined;
|
|
21727
21727
|
}, {
|
|
21728
21728
|
id?: string[] | undefined;
|
|
@@ -21739,8 +21739,8 @@ declare const SearchWikipediaRequestSchema: z.ZodObject<{
|
|
|
21739
21739
|
wikiNamespace?: number[] | undefined;
|
|
21740
21740
|
wikidataInstanceOfId?: string[] | undefined;
|
|
21741
21741
|
wikidataInstanceOfLabel?: string[] | undefined;
|
|
21742
|
-
wikiRevisionFrom?:
|
|
21743
|
-
wikiRevisionTo?:
|
|
21742
|
+
wikiRevisionFrom?: Date | undefined;
|
|
21743
|
+
wikiRevisionTo?: Date | undefined;
|
|
21744
21744
|
pageviewsFrom?: any;
|
|
21745
21745
|
pageviewsTo?: any;
|
|
21746
21746
|
q?: string | undefined;
|
|
@@ -21748,8 +21748,8 @@ declare const SearchWikipediaRequestSchema: z.ZodObject<{
|
|
|
21748
21748
|
showNumResults?: boolean | undefined;
|
|
21749
21749
|
text?: string | undefined;
|
|
21750
21750
|
reference?: string | undefined;
|
|
21751
|
-
scrapedAtFrom?:
|
|
21752
|
-
scrapedAtTo?:
|
|
21751
|
+
scrapedAtFrom?: Date | undefined;
|
|
21752
|
+
scrapedAtTo?: Date | undefined;
|
|
21753
21753
|
withPageviews?: boolean | undefined;
|
|
21754
21754
|
}>;
|
|
21755
21755
|
type SearchWikipediaRequest = z.input<typeof SearchWikipediaRequestSchema>;
|
|
@@ -21825,9 +21825,9 @@ declare const VectorSearchArticlesBodySchema: z.ZodObject<{
|
|
|
21825
21825
|
excludePersonWikidataId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
21826
21826
|
personName: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
21827
21827
|
excludePersonName: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
21828
|
-
AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
21829
|
-
OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
21830
|
-
NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
21828
|
+
AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
21829
|
+
OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
21830
|
+
NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
21831
21831
|
}, "strip", z.ZodTypeAny, {
|
|
21832
21832
|
country?: string[] | null | undefined;
|
|
21833
21833
|
state?: string[] | null | undefined;
|
|
@@ -21877,9 +21877,9 @@ declare const VectorSearchArticlesBodySchema: z.ZodObject<{
|
|
|
21877
21877
|
excludePersonWikidataId?: string[] | null | undefined;
|
|
21878
21878
|
personName?: string[] | null | undefined;
|
|
21879
21879
|
excludePersonName?: string[] | null | undefined;
|
|
21880
|
-
AND?:
|
|
21881
|
-
OR?:
|
|
21882
|
-
NOT?:
|
|
21880
|
+
AND?: unknown[] | null | undefined;
|
|
21881
|
+
OR?: unknown[] | null | undefined;
|
|
21882
|
+
NOT?: unknown[] | null | undefined;
|
|
21883
21883
|
}, {
|
|
21884
21884
|
country?: string[] | null | undefined;
|
|
21885
21885
|
state?: string[] | null | undefined;
|
|
@@ -21929,9 +21929,9 @@ declare const VectorSearchArticlesBodySchema: z.ZodObject<{
|
|
|
21929
21929
|
excludePersonWikidataId?: string[] | null | undefined;
|
|
21930
21930
|
personName?: string[] | null | undefined;
|
|
21931
21931
|
excludePersonName?: string[] | null | undefined;
|
|
21932
|
-
AND?:
|
|
21933
|
-
OR?:
|
|
21934
|
-
NOT?:
|
|
21932
|
+
AND?: unknown[] | null | undefined;
|
|
21933
|
+
OR?: unknown[] | null | undefined;
|
|
21934
|
+
NOT?: unknown[] | null | undefined;
|
|
21935
21935
|
}>>>;
|
|
21936
21936
|
pubDateFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
21937
21937
|
pubDateTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -21989,9 +21989,9 @@ declare const VectorSearchArticlesBodySchema: z.ZodObject<{
|
|
|
21989
21989
|
excludePersonWikidataId?: string[] | null | undefined;
|
|
21990
21990
|
personName?: string[] | null | undefined;
|
|
21991
21991
|
excludePersonName?: string[] | null | undefined;
|
|
21992
|
-
AND?:
|
|
21993
|
-
OR?:
|
|
21994
|
-
NOT?:
|
|
21992
|
+
AND?: unknown[] | null | undefined;
|
|
21993
|
+
OR?: unknown[] | null | undefined;
|
|
21994
|
+
NOT?: unknown[] | null | undefined;
|
|
21995
21995
|
} | null | undefined;
|
|
21996
21996
|
pubDateFrom?: string | null | undefined;
|
|
21997
21997
|
pubDateTo?: string | null | undefined;
|
|
@@ -22049,9 +22049,9 @@ declare const VectorSearchArticlesBodySchema: z.ZodObject<{
|
|
|
22049
22049
|
excludePersonWikidataId?: string[] | null | undefined;
|
|
22050
22050
|
personName?: string[] | null | undefined;
|
|
22051
22051
|
excludePersonName?: string[] | null | undefined;
|
|
22052
|
-
AND?:
|
|
22053
|
-
OR?:
|
|
22054
|
-
NOT?:
|
|
22052
|
+
AND?: unknown[] | null | undefined;
|
|
22053
|
+
OR?: unknown[] | null | undefined;
|
|
22054
|
+
NOT?: unknown[] | null | undefined;
|
|
22055
22055
|
} | null | undefined;
|
|
22056
22056
|
pubDateFrom?: string | null | undefined;
|
|
22057
22057
|
pubDateTo?: string | null | undefined;
|
|
@@ -22111,9 +22111,9 @@ declare const VectorSearchArticlesBodySchema: z.ZodObject<{
|
|
|
22111
22111
|
excludePersonWikidataId?: string[] | null | undefined;
|
|
22112
22112
|
personName?: string[] | null | undefined;
|
|
22113
22113
|
excludePersonName?: string[] | null | undefined;
|
|
22114
|
-
AND?:
|
|
22115
|
-
OR?:
|
|
22116
|
-
NOT?:
|
|
22114
|
+
AND?: unknown[] | null | undefined;
|
|
22115
|
+
OR?: unknown[] | null | undefined;
|
|
22116
|
+
NOT?: unknown[] | null | undefined;
|
|
22117
22117
|
} | null | undefined;
|
|
22118
22118
|
pubDateFrom?: string | null | undefined;
|
|
22119
22119
|
pubDateTo?: string | null | undefined;
|
|
@@ -22173,9 +22173,9 @@ declare const VectorSearchArticlesBodySchema: z.ZodObject<{
|
|
|
22173
22173
|
excludePersonWikidataId?: string[] | null | undefined;
|
|
22174
22174
|
personName?: string[] | null | undefined;
|
|
22175
22175
|
excludePersonName?: string[] | null | undefined;
|
|
22176
|
-
AND?:
|
|
22177
|
-
OR?:
|
|
22178
|
-
NOT?:
|
|
22176
|
+
AND?: unknown[] | null | undefined;
|
|
22177
|
+
OR?: unknown[] | null | undefined;
|
|
22178
|
+
NOT?: unknown[] | null | undefined;
|
|
22179
22179
|
} | null | undefined;
|
|
22180
22180
|
pubDateFrom?: string | null | undefined;
|
|
22181
22181
|
pubDateTo?: string | null | undefined;
|
|
@@ -22256,9 +22256,9 @@ declare const VectorSearchArticlesRequestSchema: z.ZodObject<{
|
|
|
22256
22256
|
excludePersonWikidataId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22257
22257
|
personName: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22258
22258
|
excludePersonName: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22259
|
-
AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
22260
|
-
OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
22261
|
-
NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
22259
|
+
AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
22260
|
+
OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
22261
|
+
NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
22262
22262
|
}, "strip", z.ZodTypeAny, {
|
|
22263
22263
|
country?: string[] | null | undefined;
|
|
22264
22264
|
state?: string[] | null | undefined;
|
|
@@ -22308,9 +22308,9 @@ declare const VectorSearchArticlesRequestSchema: z.ZodObject<{
|
|
|
22308
22308
|
excludePersonWikidataId?: string[] | null | undefined;
|
|
22309
22309
|
personName?: string[] | null | undefined;
|
|
22310
22310
|
excludePersonName?: string[] | null | undefined;
|
|
22311
|
-
AND?:
|
|
22312
|
-
OR?:
|
|
22313
|
-
NOT?:
|
|
22311
|
+
AND?: unknown[] | null | undefined;
|
|
22312
|
+
OR?: unknown[] | null | undefined;
|
|
22313
|
+
NOT?: unknown[] | null | undefined;
|
|
22314
22314
|
}, {
|
|
22315
22315
|
country?: string[] | null | undefined;
|
|
22316
22316
|
state?: string[] | null | undefined;
|
|
@@ -22360,9 +22360,9 @@ declare const VectorSearchArticlesRequestSchema: z.ZodObject<{
|
|
|
22360
22360
|
excludePersonWikidataId?: string[] | null | undefined;
|
|
22361
22361
|
personName?: string[] | null | undefined;
|
|
22362
22362
|
excludePersonName?: string[] | null | undefined;
|
|
22363
|
-
AND?:
|
|
22364
|
-
OR?:
|
|
22365
|
-
NOT?:
|
|
22363
|
+
AND?: unknown[] | null | undefined;
|
|
22364
|
+
OR?: unknown[] | null | undefined;
|
|
22365
|
+
NOT?: unknown[] | null | undefined;
|
|
22366
22366
|
}>>>;
|
|
22367
22367
|
pubDateFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22368
22368
|
pubDateTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -22420,9 +22420,9 @@ declare const VectorSearchArticlesRequestSchema: z.ZodObject<{
|
|
|
22420
22420
|
excludePersonWikidataId?: string[] | null | undefined;
|
|
22421
22421
|
personName?: string[] | null | undefined;
|
|
22422
22422
|
excludePersonName?: string[] | null | undefined;
|
|
22423
|
-
AND?:
|
|
22424
|
-
OR?:
|
|
22425
|
-
NOT?:
|
|
22423
|
+
AND?: unknown[] | null | undefined;
|
|
22424
|
+
OR?: unknown[] | null | undefined;
|
|
22425
|
+
NOT?: unknown[] | null | undefined;
|
|
22426
22426
|
} | null | undefined;
|
|
22427
22427
|
pubDateFrom?: string | null | undefined;
|
|
22428
22428
|
pubDateTo?: string | null | undefined;
|
|
@@ -22480,9 +22480,9 @@ declare const VectorSearchArticlesRequestSchema: z.ZodObject<{
|
|
|
22480
22480
|
excludePersonWikidataId?: string[] | null | undefined;
|
|
22481
22481
|
personName?: string[] | null | undefined;
|
|
22482
22482
|
excludePersonName?: string[] | null | undefined;
|
|
22483
|
-
AND?:
|
|
22484
|
-
OR?:
|
|
22485
|
-
NOT?:
|
|
22483
|
+
AND?: unknown[] | null | undefined;
|
|
22484
|
+
OR?: unknown[] | null | undefined;
|
|
22485
|
+
NOT?: unknown[] | null | undefined;
|
|
22486
22486
|
} | null | undefined;
|
|
22487
22487
|
pubDateFrom?: string | null | undefined;
|
|
22488
22488
|
pubDateTo?: string | null | undefined;
|
|
@@ -22542,9 +22542,9 @@ declare const VectorSearchArticlesRequestSchema: z.ZodObject<{
|
|
|
22542
22542
|
excludePersonWikidataId?: string[] | null | undefined;
|
|
22543
22543
|
personName?: string[] | null | undefined;
|
|
22544
22544
|
excludePersonName?: string[] | null | undefined;
|
|
22545
|
-
AND?:
|
|
22546
|
-
OR?:
|
|
22547
|
-
NOT?:
|
|
22545
|
+
AND?: unknown[] | null | undefined;
|
|
22546
|
+
OR?: unknown[] | null | undefined;
|
|
22547
|
+
NOT?: unknown[] | null | undefined;
|
|
22548
22548
|
} | null | undefined;
|
|
22549
22549
|
pubDateFrom?: string | null | undefined;
|
|
22550
22550
|
pubDateTo?: string | null | undefined;
|
|
@@ -22604,9 +22604,9 @@ declare const VectorSearchArticlesRequestSchema: z.ZodObject<{
|
|
|
22604
22604
|
excludePersonWikidataId?: string[] | null | undefined;
|
|
22605
22605
|
personName?: string[] | null | undefined;
|
|
22606
22606
|
excludePersonName?: string[] | null | undefined;
|
|
22607
|
-
AND?:
|
|
22608
|
-
OR?:
|
|
22609
|
-
NOT?:
|
|
22607
|
+
AND?: unknown[] | null | undefined;
|
|
22608
|
+
OR?: unknown[] | null | undefined;
|
|
22609
|
+
NOT?: unknown[] | null | undefined;
|
|
22610
22610
|
} | null | undefined;
|
|
22611
22611
|
pubDateFrom?: string | null | undefined;
|
|
22612
22612
|
pubDateTo?: string | null | undefined;
|
|
@@ -22633,14 +22633,14 @@ declare const VectorSearchWikipediaBodySchema: z.ZodObject<{
|
|
|
22633
22633
|
wikidataId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22634
22634
|
wikidataInstanceOfId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22635
22635
|
wikidataInstanceOfLabel: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22636
|
-
AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
22637
|
-
OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
22638
|
-
NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
22636
|
+
AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
22637
|
+
OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
22638
|
+
NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
22639
22639
|
}, "strip", z.ZodTypeAny, {
|
|
22640
22640
|
wikidataId?: string[] | null | undefined;
|
|
22641
|
-
AND?:
|
|
22642
|
-
OR?:
|
|
22643
|
-
NOT?:
|
|
22641
|
+
AND?: unknown[] | null | undefined;
|
|
22642
|
+
OR?: unknown[] | null | undefined;
|
|
22643
|
+
NOT?: unknown[] | null | undefined;
|
|
22644
22644
|
pageId?: string[] | null | undefined;
|
|
22645
22645
|
sectionId?: string[] | null | undefined;
|
|
22646
22646
|
wikiPageId?: number[] | null | undefined;
|
|
@@ -22651,9 +22651,9 @@ declare const VectorSearchWikipediaBodySchema: z.ZodObject<{
|
|
|
22651
22651
|
wikidataInstanceOfLabel?: string[] | null | undefined;
|
|
22652
22652
|
}, {
|
|
22653
22653
|
wikidataId?: string[] | null | undefined;
|
|
22654
|
-
AND?:
|
|
22655
|
-
OR?:
|
|
22656
|
-
NOT?:
|
|
22654
|
+
AND?: unknown[] | null | undefined;
|
|
22655
|
+
OR?: unknown[] | null | undefined;
|
|
22656
|
+
NOT?: unknown[] | null | undefined;
|
|
22657
22657
|
pageId?: string[] | null | undefined;
|
|
22658
22658
|
sectionId?: string[] | null | undefined;
|
|
22659
22659
|
wikiPageId?: number[] | null | undefined;
|
|
@@ -22673,9 +22673,9 @@ declare const VectorSearchWikipediaBodySchema: z.ZodObject<{
|
|
|
22673
22673
|
prompt: string;
|
|
22674
22674
|
filter?: {
|
|
22675
22675
|
wikidataId?: string[] | null | undefined;
|
|
22676
|
-
AND?:
|
|
22677
|
-
OR?:
|
|
22678
|
-
NOT?:
|
|
22676
|
+
AND?: unknown[] | null | undefined;
|
|
22677
|
+
OR?: unknown[] | null | undefined;
|
|
22678
|
+
NOT?: unknown[] | null | undefined;
|
|
22679
22679
|
pageId?: string[] | null | undefined;
|
|
22680
22680
|
sectionId?: string[] | null | undefined;
|
|
22681
22681
|
wikiPageId?: number[] | null | undefined;
|
|
@@ -22695,9 +22695,9 @@ declare const VectorSearchWikipediaBodySchema: z.ZodObject<{
|
|
|
22695
22695
|
prompt: string;
|
|
22696
22696
|
filter?: {
|
|
22697
22697
|
wikidataId?: string[] | null | undefined;
|
|
22698
|
-
AND?:
|
|
22699
|
-
OR?:
|
|
22700
|
-
NOT?:
|
|
22698
|
+
AND?: unknown[] | null | undefined;
|
|
22699
|
+
OR?: unknown[] | null | undefined;
|
|
22700
|
+
NOT?: unknown[] | null | undefined;
|
|
22701
22701
|
pageId?: string[] | null | undefined;
|
|
22702
22702
|
sectionId?: string[] | null | undefined;
|
|
22703
22703
|
wikiPageId?: number[] | null | undefined;
|
|
@@ -22719,9 +22719,9 @@ declare const VectorSearchWikipediaBodySchema: z.ZodObject<{
|
|
|
22719
22719
|
prompt: string;
|
|
22720
22720
|
filter?: {
|
|
22721
22721
|
wikidataId?: string[] | null | undefined;
|
|
22722
|
-
AND?:
|
|
22723
|
-
OR?:
|
|
22724
|
-
NOT?:
|
|
22722
|
+
AND?: unknown[] | null | undefined;
|
|
22723
|
+
OR?: unknown[] | null | undefined;
|
|
22724
|
+
NOT?: unknown[] | null | undefined;
|
|
22725
22725
|
pageId?: string[] | null | undefined;
|
|
22726
22726
|
sectionId?: string[] | null | undefined;
|
|
22727
22727
|
wikiPageId?: number[] | null | undefined;
|
|
@@ -22743,9 +22743,9 @@ declare const VectorSearchWikipediaBodySchema: z.ZodObject<{
|
|
|
22743
22743
|
prompt: string;
|
|
22744
22744
|
filter?: {
|
|
22745
22745
|
wikidataId?: string[] | null | undefined;
|
|
22746
|
-
AND?:
|
|
22747
|
-
OR?:
|
|
22748
|
-
NOT?:
|
|
22746
|
+
AND?: unknown[] | null | undefined;
|
|
22747
|
+
OR?: unknown[] | null | undefined;
|
|
22748
|
+
NOT?: unknown[] | null | undefined;
|
|
22749
22749
|
pageId?: string[] | null | undefined;
|
|
22750
22750
|
sectionId?: string[] | null | undefined;
|
|
22751
22751
|
wikiPageId?: number[] | null | undefined;
|
|
@@ -22780,14 +22780,14 @@ declare const VectorSearchWikipediaRequestSchema: z.ZodObject<{
|
|
|
22780
22780
|
wikidataId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22781
22781
|
wikidataInstanceOfId: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22782
22782
|
wikidataInstanceOfLabel: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22783
|
-
AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
22784
|
-
OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
22785
|
-
NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
22783
|
+
AND: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
22784
|
+
OR: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
22785
|
+
NOT: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
22786
22786
|
}, "strip", z.ZodTypeAny, {
|
|
22787
22787
|
wikidataId?: string[] | null | undefined;
|
|
22788
|
-
AND?:
|
|
22789
|
-
OR?:
|
|
22790
|
-
NOT?:
|
|
22788
|
+
AND?: unknown[] | null | undefined;
|
|
22789
|
+
OR?: unknown[] | null | undefined;
|
|
22790
|
+
NOT?: unknown[] | null | undefined;
|
|
22791
22791
|
pageId?: string[] | null | undefined;
|
|
22792
22792
|
sectionId?: string[] | null | undefined;
|
|
22793
22793
|
wikiPageId?: number[] | null | undefined;
|
|
@@ -22798,9 +22798,9 @@ declare const VectorSearchWikipediaRequestSchema: z.ZodObject<{
|
|
|
22798
22798
|
wikidataInstanceOfLabel?: string[] | null | undefined;
|
|
22799
22799
|
}, {
|
|
22800
22800
|
wikidataId?: string[] | null | undefined;
|
|
22801
|
-
AND?:
|
|
22802
|
-
OR?:
|
|
22803
|
-
NOT?:
|
|
22801
|
+
AND?: unknown[] | null | undefined;
|
|
22802
|
+
OR?: unknown[] | null | undefined;
|
|
22803
|
+
NOT?: unknown[] | null | undefined;
|
|
22804
22804
|
pageId?: string[] | null | undefined;
|
|
22805
22805
|
sectionId?: string[] | null | undefined;
|
|
22806
22806
|
wikiPageId?: number[] | null | undefined;
|
|
@@ -22820,9 +22820,9 @@ declare const VectorSearchWikipediaRequestSchema: z.ZodObject<{
|
|
|
22820
22820
|
prompt: string;
|
|
22821
22821
|
filter?: {
|
|
22822
22822
|
wikidataId?: string[] | null | undefined;
|
|
22823
|
-
AND?:
|
|
22824
|
-
OR?:
|
|
22825
|
-
NOT?:
|
|
22823
|
+
AND?: unknown[] | null | undefined;
|
|
22824
|
+
OR?: unknown[] | null | undefined;
|
|
22825
|
+
NOT?: unknown[] | null | undefined;
|
|
22826
22826
|
pageId?: string[] | null | undefined;
|
|
22827
22827
|
sectionId?: string[] | null | undefined;
|
|
22828
22828
|
wikiPageId?: number[] | null | undefined;
|
|
@@ -22842,9 +22842,9 @@ declare const VectorSearchWikipediaRequestSchema: z.ZodObject<{
|
|
|
22842
22842
|
prompt: string;
|
|
22843
22843
|
filter?: {
|
|
22844
22844
|
wikidataId?: string[] | null | undefined;
|
|
22845
|
-
AND?:
|
|
22846
|
-
OR?:
|
|
22847
|
-
NOT?:
|
|
22845
|
+
AND?: unknown[] | null | undefined;
|
|
22846
|
+
OR?: unknown[] | null | undefined;
|
|
22847
|
+
NOT?: unknown[] | null | undefined;
|
|
22848
22848
|
pageId?: string[] | null | undefined;
|
|
22849
22849
|
sectionId?: string[] | null | undefined;
|
|
22850
22850
|
wikiPageId?: number[] | null | undefined;
|
|
@@ -22866,9 +22866,9 @@ declare const VectorSearchWikipediaRequestSchema: z.ZodObject<{
|
|
|
22866
22866
|
prompt: string;
|
|
22867
22867
|
filter?: {
|
|
22868
22868
|
wikidataId?: string[] | null | undefined;
|
|
22869
|
-
AND?:
|
|
22870
|
-
OR?:
|
|
22871
|
-
NOT?:
|
|
22869
|
+
AND?: unknown[] | null | undefined;
|
|
22870
|
+
OR?: unknown[] | null | undefined;
|
|
22871
|
+
NOT?: unknown[] | null | undefined;
|
|
22872
22872
|
pageId?: string[] | null | undefined;
|
|
22873
22873
|
sectionId?: string[] | null | undefined;
|
|
22874
22874
|
wikiPageId?: number[] | null | undefined;
|
|
@@ -22890,9 +22890,9 @@ declare const VectorSearchWikipediaRequestSchema: z.ZodObject<{
|
|
|
22890
22890
|
prompt: string;
|
|
22891
22891
|
filter?: {
|
|
22892
22892
|
wikidataId?: string[] | null | undefined;
|
|
22893
|
-
AND?:
|
|
22894
|
-
OR?:
|
|
22895
|
-
NOT?:
|
|
22893
|
+
AND?: unknown[] | null | undefined;
|
|
22894
|
+
OR?: unknown[] | null | undefined;
|
|
22895
|
+
NOT?: unknown[] | null | undefined;
|
|
22896
22896
|
pageId?: string[] | null | undefined;
|
|
22897
22897
|
sectionId?: string[] | null | undefined;
|
|
22898
22898
|
wikiPageId?: number[] | null | undefined;
|
|
@@ -22977,4 +22977,4 @@ declare class V1Api extends BaseAPI {
|
|
|
22977
22977
|
vectorSearchWikipedia(requestParameters: VectorSearchWikipediaRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<WikipediaVectorSearchResult>;
|
|
22978
22978
|
}
|
|
22979
22979
|
|
|
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, type
|
|
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 };
|