@goperigon/perigon-ts 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +164 -164
- 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 = {
|
|
@@ -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<{
|
|
@@ -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>;
|
|
@@ -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 };
|