@goperigon/perigon-ts 1.0.5 → 1.1.1
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/README.md +39 -8
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +1013 -154
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2396,6 +2396,86 @@ declare function ArticleSearchParamsFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
2396
2396
|
declare function ArticleSearchParamsToJSON(json: any): ArticleSearchParams;
|
|
2397
2397
|
declare function ArticleSearchParamsToJSONTyped(value?: ArticleSearchParams | null, ignoreDiscriminator?: boolean): any;
|
|
2398
2398
|
|
|
2399
|
+
/**
|
|
2400
|
+
* Perigon API
|
|
2401
|
+
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
2402
|
+
*
|
|
2403
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2404
|
+
* Contact: data@perigon.io
|
|
2405
|
+
*
|
|
2406
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2407
|
+
* https://openapi-generator.tech
|
|
2408
|
+
* Do not edit the class manually.
|
|
2409
|
+
*/
|
|
2410
|
+
|
|
2411
|
+
/**
|
|
2412
|
+
*
|
|
2413
|
+
* @export
|
|
2414
|
+
* @interface ScoredDataArticle
|
|
2415
|
+
*/
|
|
2416
|
+
interface ScoredDataArticle {
|
|
2417
|
+
/**
|
|
2418
|
+
*
|
|
2419
|
+
* @type {number}
|
|
2420
|
+
* @memberof ScoredDataArticle
|
|
2421
|
+
*/
|
|
2422
|
+
score?: number | null;
|
|
2423
|
+
/**
|
|
2424
|
+
*
|
|
2425
|
+
* @type {Article}
|
|
2426
|
+
* @memberof ScoredDataArticle
|
|
2427
|
+
*/
|
|
2428
|
+
data?: Article;
|
|
2429
|
+
}
|
|
2430
|
+
/**
|
|
2431
|
+
* Check if a given object implements the ScoredDataArticle interface.
|
|
2432
|
+
*/
|
|
2433
|
+
declare function instanceOfScoredDataArticle(value: object): value is ScoredDataArticle;
|
|
2434
|
+
declare function ScoredDataArticleFromJSON(json: any): ScoredDataArticle;
|
|
2435
|
+
declare function ScoredDataArticleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScoredDataArticle;
|
|
2436
|
+
declare function ScoredDataArticleToJSON(json: any): ScoredDataArticle;
|
|
2437
|
+
declare function ScoredDataArticleToJSONTyped(value?: ScoredDataArticle | null, ignoreDiscriminator?: boolean): any;
|
|
2438
|
+
|
|
2439
|
+
/**
|
|
2440
|
+
* Perigon API
|
|
2441
|
+
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
2442
|
+
*
|
|
2443
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2444
|
+
* Contact: data@perigon.io
|
|
2445
|
+
*
|
|
2446
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2447
|
+
* https://openapi-generator.tech
|
|
2448
|
+
* Do not edit the class manually.
|
|
2449
|
+
*/
|
|
2450
|
+
|
|
2451
|
+
/**
|
|
2452
|
+
* Articles vector search result
|
|
2453
|
+
* @export
|
|
2454
|
+
* @interface ArticlesVectorSearchResult
|
|
2455
|
+
*/
|
|
2456
|
+
interface ArticlesVectorSearchResult {
|
|
2457
|
+
/**
|
|
2458
|
+
*
|
|
2459
|
+
* @type {number}
|
|
2460
|
+
* @memberof ArticlesVectorSearchResult
|
|
2461
|
+
*/
|
|
2462
|
+
status: number;
|
|
2463
|
+
/**
|
|
2464
|
+
*
|
|
2465
|
+
* @type {Array<ScoredDataArticle>}
|
|
2466
|
+
* @memberof ArticlesVectorSearchResult
|
|
2467
|
+
*/
|
|
2468
|
+
results: Array<ScoredDataArticle>;
|
|
2469
|
+
}
|
|
2470
|
+
/**
|
|
2471
|
+
* Check if a given object implements the ArticlesVectorSearchResult interface.
|
|
2472
|
+
*/
|
|
2473
|
+
declare function instanceOfArticlesVectorSearchResult(value: object): value is ArticlesVectorSearchResult;
|
|
2474
|
+
declare function ArticlesVectorSearchResultFromJSON(json: any): ArticlesVectorSearchResult;
|
|
2475
|
+
declare function ArticlesVectorSearchResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArticlesVectorSearchResult;
|
|
2476
|
+
declare function ArticlesVectorSearchResultToJSON(json: any): ArticlesVectorSearchResult;
|
|
2477
|
+
declare function ArticlesVectorSearchResultToJSONTyped(value?: ArticlesVectorSearchResult | null, ignoreDiscriminator?: boolean): any;
|
|
2478
|
+
|
|
2399
2479
|
/**
|
|
2400
2480
|
* Perigon API
|
|
2401
2481
|
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
@@ -2410,66 +2490,66 @@ declare function ArticleSearchParamsToJSONTyped(value?: ArticleSearchParams | nu
|
|
|
2410
2490
|
/**
|
|
2411
2491
|
*
|
|
2412
2492
|
* @export
|
|
2413
|
-
* @interface
|
|
2493
|
+
* @interface AuthExceptionCauseStackTraceInner
|
|
2414
2494
|
*/
|
|
2415
|
-
interface
|
|
2495
|
+
interface AuthExceptionCauseStackTraceInner {
|
|
2416
2496
|
/**
|
|
2417
2497
|
*
|
|
2418
2498
|
* @type {string}
|
|
2419
|
-
* @memberof
|
|
2499
|
+
* @memberof AuthExceptionCauseStackTraceInner
|
|
2420
2500
|
*/
|
|
2421
2501
|
classLoaderName?: string;
|
|
2422
2502
|
/**
|
|
2423
2503
|
*
|
|
2424
2504
|
* @type {string}
|
|
2425
|
-
* @memberof
|
|
2505
|
+
* @memberof AuthExceptionCauseStackTraceInner
|
|
2426
2506
|
*/
|
|
2427
2507
|
moduleName?: string;
|
|
2428
2508
|
/**
|
|
2429
2509
|
*
|
|
2430
2510
|
* @type {string}
|
|
2431
|
-
* @memberof
|
|
2511
|
+
* @memberof AuthExceptionCauseStackTraceInner
|
|
2432
2512
|
*/
|
|
2433
2513
|
moduleVersion?: string;
|
|
2434
2514
|
/**
|
|
2435
2515
|
*
|
|
2436
2516
|
* @type {string}
|
|
2437
|
-
* @memberof
|
|
2517
|
+
* @memberof AuthExceptionCauseStackTraceInner
|
|
2438
2518
|
*/
|
|
2439
2519
|
methodName?: string;
|
|
2440
2520
|
/**
|
|
2441
2521
|
*
|
|
2442
2522
|
* @type {string}
|
|
2443
|
-
* @memberof
|
|
2523
|
+
* @memberof AuthExceptionCauseStackTraceInner
|
|
2444
2524
|
*/
|
|
2445
2525
|
fileName?: string;
|
|
2446
2526
|
/**
|
|
2447
2527
|
*
|
|
2448
2528
|
* @type {number}
|
|
2449
|
-
* @memberof
|
|
2529
|
+
* @memberof AuthExceptionCauseStackTraceInner
|
|
2450
2530
|
*/
|
|
2451
2531
|
lineNumber?: number;
|
|
2452
2532
|
/**
|
|
2453
2533
|
*
|
|
2454
2534
|
* @type {boolean}
|
|
2455
|
-
* @memberof
|
|
2535
|
+
* @memberof AuthExceptionCauseStackTraceInner
|
|
2456
2536
|
*/
|
|
2457
2537
|
nativeMethod?: boolean;
|
|
2458
2538
|
/**
|
|
2459
2539
|
*
|
|
2460
2540
|
* @type {string}
|
|
2461
|
-
* @memberof
|
|
2541
|
+
* @memberof AuthExceptionCauseStackTraceInner
|
|
2462
2542
|
*/
|
|
2463
2543
|
className?: string;
|
|
2464
2544
|
}
|
|
2465
2545
|
/**
|
|
2466
|
-
* Check if a given object implements the
|
|
2546
|
+
* Check if a given object implements the AuthExceptionCauseStackTraceInner interface.
|
|
2467
2547
|
*/
|
|
2468
|
-
declare function
|
|
2469
|
-
declare function
|
|
2470
|
-
declare function
|
|
2471
|
-
declare function
|
|
2472
|
-
declare function
|
|
2548
|
+
declare function instanceOfAuthExceptionCauseStackTraceInner(value: object): value is AuthExceptionCauseStackTraceInner;
|
|
2549
|
+
declare function AuthExceptionCauseStackTraceInnerFromJSON(json: any): AuthExceptionCauseStackTraceInner;
|
|
2550
|
+
declare function AuthExceptionCauseStackTraceInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthExceptionCauseStackTraceInner;
|
|
2551
|
+
declare function AuthExceptionCauseStackTraceInnerToJSON(json: any): AuthExceptionCauseStackTraceInner;
|
|
2552
|
+
declare function AuthExceptionCauseStackTraceInnerToJSONTyped(value?: AuthExceptionCauseStackTraceInner | null, ignoreDiscriminator?: boolean): any;
|
|
2473
2553
|
|
|
2474
2554
|
/**
|
|
2475
2555
|
* Perigon API
|
|
@@ -2486,36 +2566,36 @@ declare function TooManyRequestsExceptionCauseStackTraceInnerToJSONTyped(value?:
|
|
|
2486
2566
|
/**
|
|
2487
2567
|
*
|
|
2488
2568
|
* @export
|
|
2489
|
-
* @interface
|
|
2569
|
+
* @interface AuthExceptionCause
|
|
2490
2570
|
*/
|
|
2491
|
-
interface
|
|
2571
|
+
interface AuthExceptionCause {
|
|
2492
2572
|
/**
|
|
2493
2573
|
*
|
|
2494
|
-
* @type {Array<
|
|
2495
|
-
* @memberof
|
|
2574
|
+
* @type {Array<AuthExceptionCauseStackTraceInner>}
|
|
2575
|
+
* @memberof AuthExceptionCause
|
|
2496
2576
|
*/
|
|
2497
|
-
stackTrace?: Array<
|
|
2577
|
+
stackTrace?: Array<AuthExceptionCauseStackTraceInner>;
|
|
2498
2578
|
/**
|
|
2499
2579
|
*
|
|
2500
2580
|
* @type {string}
|
|
2501
|
-
* @memberof
|
|
2581
|
+
* @memberof AuthExceptionCause
|
|
2502
2582
|
*/
|
|
2503
2583
|
message?: string;
|
|
2504
2584
|
/**
|
|
2505
2585
|
*
|
|
2506
2586
|
* @type {string}
|
|
2507
|
-
* @memberof
|
|
2587
|
+
* @memberof AuthExceptionCause
|
|
2508
2588
|
*/
|
|
2509
2589
|
localizedMessage?: string;
|
|
2510
2590
|
}
|
|
2511
2591
|
/**
|
|
2512
|
-
* Check if a given object implements the
|
|
2592
|
+
* Check if a given object implements the AuthExceptionCause interface.
|
|
2513
2593
|
*/
|
|
2514
|
-
declare function
|
|
2515
|
-
declare function
|
|
2516
|
-
declare function
|
|
2517
|
-
declare function
|
|
2518
|
-
declare function
|
|
2594
|
+
declare function instanceOfAuthExceptionCause(value: object): value is AuthExceptionCause;
|
|
2595
|
+
declare function AuthExceptionCauseFromJSON(json: any): AuthExceptionCause;
|
|
2596
|
+
declare function AuthExceptionCauseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthExceptionCause;
|
|
2597
|
+
declare function AuthExceptionCauseToJSON(json: any): AuthExceptionCause;
|
|
2598
|
+
declare function AuthExceptionCauseToJSONTyped(value?: AuthExceptionCause | null, ignoreDiscriminator?: boolean): any;
|
|
2519
2599
|
|
|
2520
2600
|
/**
|
|
2521
2601
|
* Perigon API
|
|
@@ -2532,36 +2612,36 @@ declare function TooManyRequestsExceptionCauseToJSONTyped(value?: TooManyRequest
|
|
|
2532
2612
|
/**
|
|
2533
2613
|
*
|
|
2534
2614
|
* @export
|
|
2535
|
-
* @interface
|
|
2615
|
+
* @interface AuthExceptionSuppressedInner
|
|
2536
2616
|
*/
|
|
2537
|
-
interface
|
|
2617
|
+
interface AuthExceptionSuppressedInner {
|
|
2538
2618
|
/**
|
|
2539
2619
|
*
|
|
2540
|
-
* @type {Array<
|
|
2541
|
-
* @memberof
|
|
2620
|
+
* @type {Array<AuthExceptionCauseStackTraceInner>}
|
|
2621
|
+
* @memberof AuthExceptionSuppressedInner
|
|
2542
2622
|
*/
|
|
2543
|
-
stackTrace?: Array<
|
|
2623
|
+
stackTrace?: Array<AuthExceptionCauseStackTraceInner>;
|
|
2544
2624
|
/**
|
|
2545
2625
|
*
|
|
2546
2626
|
* @type {string}
|
|
2547
|
-
* @memberof
|
|
2627
|
+
* @memberof AuthExceptionSuppressedInner
|
|
2548
2628
|
*/
|
|
2549
2629
|
message?: string;
|
|
2550
2630
|
/**
|
|
2551
2631
|
*
|
|
2552
2632
|
* @type {string}
|
|
2553
|
-
* @memberof
|
|
2633
|
+
* @memberof AuthExceptionSuppressedInner
|
|
2554
2634
|
*/
|
|
2555
2635
|
localizedMessage?: string;
|
|
2556
2636
|
}
|
|
2557
2637
|
/**
|
|
2558
|
-
* Check if a given object implements the
|
|
2638
|
+
* Check if a given object implements the AuthExceptionSuppressedInner interface.
|
|
2559
2639
|
*/
|
|
2560
|
-
declare function
|
|
2561
|
-
declare function
|
|
2562
|
-
declare function
|
|
2563
|
-
declare function
|
|
2564
|
-
declare function
|
|
2640
|
+
declare function instanceOfAuthExceptionSuppressedInner(value: object): value is AuthExceptionSuppressedInner;
|
|
2641
|
+
declare function AuthExceptionSuppressedInnerFromJSON(json: any): AuthExceptionSuppressedInner;
|
|
2642
|
+
declare function AuthExceptionSuppressedInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthExceptionSuppressedInner;
|
|
2643
|
+
declare function AuthExceptionSuppressedInnerToJSON(json: any): AuthExceptionSuppressedInner;
|
|
2644
|
+
declare function AuthExceptionSuppressedInnerToJSONTyped(value?: AuthExceptionSuppressedInner | null, ignoreDiscriminator?: boolean): any;
|
|
2565
2645
|
|
|
2566
2646
|
/**
|
|
2567
2647
|
* Perigon API
|
|
@@ -2583,16 +2663,16 @@ declare function TooManyRequestsExceptionSuppressedInnerToJSONTyped(value?: TooM
|
|
|
2583
2663
|
interface AuthException {
|
|
2584
2664
|
/**
|
|
2585
2665
|
*
|
|
2586
|
-
* @type {
|
|
2666
|
+
* @type {AuthExceptionCause}
|
|
2587
2667
|
* @memberof AuthException
|
|
2588
2668
|
*/
|
|
2589
|
-
cause?:
|
|
2669
|
+
cause?: AuthExceptionCause | null;
|
|
2590
2670
|
/**
|
|
2591
2671
|
*
|
|
2592
|
-
* @type {Array<
|
|
2672
|
+
* @type {Array<AuthExceptionCauseStackTraceInner>}
|
|
2593
2673
|
* @memberof AuthException
|
|
2594
2674
|
*/
|
|
2595
|
-
stackTrace?: Array<
|
|
2675
|
+
stackTrace?: Array<AuthExceptionCauseStackTraceInner> | null;
|
|
2596
2676
|
/**
|
|
2597
2677
|
*
|
|
2598
2678
|
* @type {string}
|
|
@@ -2607,10 +2687,10 @@ interface AuthException {
|
|
|
2607
2687
|
message?: string | null;
|
|
2608
2688
|
/**
|
|
2609
2689
|
*
|
|
2610
|
-
* @type {Array<
|
|
2690
|
+
* @type {Array<AuthExceptionSuppressedInner>}
|
|
2611
2691
|
* @memberof AuthException
|
|
2612
2692
|
*/
|
|
2613
|
-
suppressed?: Array<
|
|
2693
|
+
suppressed?: Array<AuthExceptionSuppressedInner> | null;
|
|
2614
2694
|
/**
|
|
2615
2695
|
*
|
|
2616
2696
|
* @type {string}
|
|
@@ -3155,16 +3235,16 @@ declare function CompanySearchResultToJSONTyped(value?: CompanySearchResult | nu
|
|
|
3155
3235
|
interface IllegalParameterException {
|
|
3156
3236
|
/**
|
|
3157
3237
|
*
|
|
3158
|
-
* @type {
|
|
3238
|
+
* @type {AuthExceptionCause}
|
|
3159
3239
|
* @memberof IllegalParameterException
|
|
3160
3240
|
*/
|
|
3161
|
-
cause?:
|
|
3241
|
+
cause?: AuthExceptionCause | null;
|
|
3162
3242
|
/**
|
|
3163
3243
|
*
|
|
3164
|
-
* @type {Array<
|
|
3244
|
+
* @type {Array<AuthExceptionCauseStackTraceInner>}
|
|
3165
3245
|
* @memberof IllegalParameterException
|
|
3166
3246
|
*/
|
|
3167
|
-
stackTrace?: Array<
|
|
3247
|
+
stackTrace?: Array<AuthExceptionCauseStackTraceInner> | null;
|
|
3168
3248
|
/**
|
|
3169
3249
|
*
|
|
3170
3250
|
* @type {string}
|
|
@@ -3173,10 +3253,10 @@ interface IllegalParameterException {
|
|
|
3173
3253
|
message?: string | null;
|
|
3174
3254
|
/**
|
|
3175
3255
|
*
|
|
3176
|
-
* @type {Array<
|
|
3256
|
+
* @type {Array<AuthExceptionSuppressedInner>}
|
|
3177
3257
|
* @memberof IllegalParameterException
|
|
3178
3258
|
*/
|
|
3179
|
-
suppressed?: Array<
|
|
3259
|
+
suppressed?: Array<AuthExceptionSuppressedInner> | null;
|
|
3180
3260
|
/**
|
|
3181
3261
|
*
|
|
3182
3262
|
* @type {string}
|
|
@@ -3246,16 +3326,16 @@ declare function ImageHolderToJSONTyped(value?: ImageHolder | null, ignoreDiscri
|
|
|
3246
3326
|
interface InternalErrorException {
|
|
3247
3327
|
/**
|
|
3248
3328
|
*
|
|
3249
|
-
* @type {
|
|
3329
|
+
* @type {AuthExceptionCause}
|
|
3250
3330
|
* @memberof InternalErrorException
|
|
3251
3331
|
*/
|
|
3252
|
-
cause?:
|
|
3332
|
+
cause?: AuthExceptionCause | null;
|
|
3253
3333
|
/**
|
|
3254
3334
|
*
|
|
3255
|
-
* @type {Array<
|
|
3335
|
+
* @type {Array<AuthExceptionCauseStackTraceInner>}
|
|
3256
3336
|
* @memberof InternalErrorException
|
|
3257
3337
|
*/
|
|
3258
|
-
stackTrace?: Array<
|
|
3338
|
+
stackTrace?: Array<AuthExceptionCauseStackTraceInner> | null;
|
|
3259
3339
|
/**
|
|
3260
3340
|
*
|
|
3261
3341
|
* @type {string}
|
|
@@ -3264,10 +3344,10 @@ interface InternalErrorException {
|
|
|
3264
3344
|
message?: string | null;
|
|
3265
3345
|
/**
|
|
3266
3346
|
*
|
|
3267
|
-
* @type {Array<
|
|
3347
|
+
* @type {Array<AuthExceptionSuppressedInner>}
|
|
3268
3348
|
* @memberof InternalErrorException
|
|
3269
3349
|
*/
|
|
3270
|
-
suppressed?: Array<
|
|
3350
|
+
suppressed?: Array<AuthExceptionSuppressedInner> | null;
|
|
3271
3351
|
/**
|
|
3272
3352
|
*
|
|
3273
3353
|
* @type {string}
|
|
@@ -3350,16 +3430,16 @@ declare function JournalistSearchResultToJSONTyped(value?: JournalistSearchResul
|
|
|
3350
3430
|
interface NotFoundException {
|
|
3351
3431
|
/**
|
|
3352
3432
|
*
|
|
3353
|
-
* @type {
|
|
3433
|
+
* @type {AuthExceptionCause}
|
|
3354
3434
|
* @memberof NotFoundException
|
|
3355
3435
|
*/
|
|
3356
|
-
cause?:
|
|
3436
|
+
cause?: AuthExceptionCause | null;
|
|
3357
3437
|
/**
|
|
3358
3438
|
*
|
|
3359
|
-
* @type {Array<
|
|
3439
|
+
* @type {Array<AuthExceptionCauseStackTraceInner>}
|
|
3360
3440
|
* @memberof NotFoundException
|
|
3361
3441
|
*/
|
|
3362
|
-
stackTrace?: Array<
|
|
3442
|
+
stackTrace?: Array<AuthExceptionCauseStackTraceInner> | null;
|
|
3363
3443
|
/**
|
|
3364
3444
|
*
|
|
3365
3445
|
* @type {string}
|
|
@@ -3368,10 +3448,10 @@ interface NotFoundException {
|
|
|
3368
3448
|
message?: string | null;
|
|
3369
3449
|
/**
|
|
3370
3450
|
*
|
|
3371
|
-
* @type {Array<
|
|
3451
|
+
* @type {Array<AuthExceptionSuppressedInner>}
|
|
3372
3452
|
* @memberof NotFoundException
|
|
3373
3453
|
*/
|
|
3374
|
-
suppressed?: Array<
|
|
3454
|
+
suppressed?: Array<AuthExceptionSuppressedInner> | null;
|
|
3375
3455
|
/**
|
|
3376
3456
|
*
|
|
3377
3457
|
* @type {string}
|
|
@@ -3795,30 +3875,148 @@ declare function QuerySearchResultToJSONTyped(value?: QuerySearchResult | null,
|
|
|
3795
3875
|
/**
|
|
3796
3876
|
*
|
|
3797
3877
|
* @export
|
|
3798
|
-
* @interface
|
|
3878
|
+
* @interface WikiData
|
|
3879
|
+
*/
|
|
3880
|
+
interface WikiData {
|
|
3881
|
+
/**
|
|
3882
|
+
*
|
|
3883
|
+
* @type {string}
|
|
3884
|
+
* @memberof WikiData
|
|
3885
|
+
*/
|
|
3886
|
+
pageId?: string | null;
|
|
3887
|
+
/**
|
|
3888
|
+
*
|
|
3889
|
+
* @type {string}
|
|
3890
|
+
* @memberof WikiData
|
|
3891
|
+
*/
|
|
3892
|
+
sectionId?: string | null;
|
|
3893
|
+
/**
|
|
3894
|
+
*
|
|
3895
|
+
* @type {number}
|
|
3896
|
+
* @memberof WikiData
|
|
3897
|
+
*/
|
|
3898
|
+
wikiPageId?: number | null;
|
|
3899
|
+
/**
|
|
3900
|
+
*
|
|
3901
|
+
* @type {number}
|
|
3902
|
+
* @memberof WikiData
|
|
3903
|
+
*/
|
|
3904
|
+
wikiRevisionId?: number | null;
|
|
3905
|
+
/**
|
|
3906
|
+
*
|
|
3907
|
+
* @type {string}
|
|
3908
|
+
* @memberof WikiData
|
|
3909
|
+
*/
|
|
3910
|
+
wikiRevisionTs?: string | null;
|
|
3911
|
+
/**
|
|
3912
|
+
*
|
|
3913
|
+
* @type {string}
|
|
3914
|
+
* @memberof WikiData
|
|
3915
|
+
*/
|
|
3916
|
+
wikiCode?: string | null;
|
|
3917
|
+
/**
|
|
3918
|
+
*
|
|
3919
|
+
* @type {number}
|
|
3920
|
+
* @memberof WikiData
|
|
3921
|
+
*/
|
|
3922
|
+
wikiNamespace?: number | null;
|
|
3923
|
+
/**
|
|
3924
|
+
*
|
|
3925
|
+
* @type {string}
|
|
3926
|
+
* @memberof WikiData
|
|
3927
|
+
*/
|
|
3928
|
+
wikiTitle?: string | null;
|
|
3929
|
+
/**
|
|
3930
|
+
*
|
|
3931
|
+
* @type {string}
|
|
3932
|
+
* @memberof WikiData
|
|
3933
|
+
*/
|
|
3934
|
+
wikidataId?: string | null;
|
|
3935
|
+
/**
|
|
3936
|
+
*
|
|
3937
|
+
* @type {Array<WikidataLabelHolder>}
|
|
3938
|
+
* @memberof WikiData
|
|
3939
|
+
*/
|
|
3940
|
+
wikidataInstanceOf?: Array<WikidataLabelHolder> | null;
|
|
3941
|
+
/**
|
|
3942
|
+
*
|
|
3943
|
+
* @type {Array<string>}
|
|
3944
|
+
* @memberof WikiData
|
|
3945
|
+
*/
|
|
3946
|
+
redirectTitles?: Array<string> | null;
|
|
3947
|
+
/**
|
|
3948
|
+
*
|
|
3949
|
+
* @type {number}
|
|
3950
|
+
* @memberof WikiData
|
|
3951
|
+
*/
|
|
3952
|
+
pageviews?: number | null;
|
|
3953
|
+
/**
|
|
3954
|
+
*
|
|
3955
|
+
* @type {string}
|
|
3956
|
+
* @memberof WikiData
|
|
3957
|
+
*/
|
|
3958
|
+
title?: string | null;
|
|
3959
|
+
/**
|
|
3960
|
+
*
|
|
3961
|
+
* @type {number}
|
|
3962
|
+
* @memberof WikiData
|
|
3963
|
+
*/
|
|
3964
|
+
styleLevel?: number | null;
|
|
3965
|
+
/**
|
|
3966
|
+
*
|
|
3967
|
+
* @type {string}
|
|
3968
|
+
* @memberof WikiData
|
|
3969
|
+
*/
|
|
3970
|
+
content?: string | null;
|
|
3971
|
+
}
|
|
3972
|
+
/**
|
|
3973
|
+
* Check if a given object implements the WikiData interface.
|
|
3974
|
+
*/
|
|
3975
|
+
declare function instanceOfWikiData(value: object): value is WikiData;
|
|
3976
|
+
declare function WikiDataFromJSON(json: any): WikiData;
|
|
3977
|
+
declare function WikiDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): WikiData;
|
|
3978
|
+
declare function WikiDataToJSON(json: any): WikiData;
|
|
3979
|
+
declare function WikiDataToJSONTyped(value?: WikiData | null, ignoreDiscriminator?: boolean): any;
|
|
3980
|
+
|
|
3981
|
+
/**
|
|
3982
|
+
* Perigon API
|
|
3983
|
+
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
3984
|
+
*
|
|
3985
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3986
|
+
* Contact: data@perigon.io
|
|
3987
|
+
*
|
|
3988
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3989
|
+
* https://openapi-generator.tech
|
|
3990
|
+
* Do not edit the class manually.
|
|
3991
|
+
*/
|
|
3992
|
+
|
|
3993
|
+
/**
|
|
3994
|
+
*
|
|
3995
|
+
* @export
|
|
3996
|
+
* @interface ScoredDataWikiData
|
|
3799
3997
|
*/
|
|
3800
|
-
interface
|
|
3998
|
+
interface ScoredDataWikiData {
|
|
3801
3999
|
/**
|
|
3802
4000
|
*
|
|
3803
4001
|
* @type {number}
|
|
3804
|
-
* @memberof
|
|
4002
|
+
* @memberof ScoredDataWikiData
|
|
3805
4003
|
*/
|
|
3806
4004
|
score?: number | null;
|
|
3807
4005
|
/**
|
|
3808
4006
|
*
|
|
3809
|
-
* @type {
|
|
3810
|
-
* @memberof
|
|
4007
|
+
* @type {WikiData}
|
|
4008
|
+
* @memberof ScoredDataWikiData
|
|
3811
4009
|
*/
|
|
3812
|
-
data?:
|
|
4010
|
+
data?: WikiData;
|
|
3813
4011
|
}
|
|
3814
4012
|
/**
|
|
3815
|
-
* Check if a given object implements the
|
|
4013
|
+
* Check if a given object implements the ScoredDataWikiData interface.
|
|
3816
4014
|
*/
|
|
3817
|
-
declare function
|
|
3818
|
-
declare function
|
|
3819
|
-
declare function
|
|
3820
|
-
declare function
|
|
3821
|
-
declare function
|
|
4015
|
+
declare function instanceOfScoredDataWikiData(value: object): value is ScoredDataWikiData;
|
|
4016
|
+
declare function ScoredDataWikiDataFromJSON(json: any): ScoredDataWikiData;
|
|
4017
|
+
declare function ScoredDataWikiDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScoredDataWikiData;
|
|
4018
|
+
declare function ScoredDataWikiDataToJSON(json: any): ScoredDataWikiData;
|
|
4019
|
+
declare function ScoredDataWikiDataToJSONTyped(value?: ScoredDataWikiData | null, ignoreDiscriminator?: boolean): any;
|
|
3822
4020
|
|
|
3823
4021
|
/**
|
|
3824
4022
|
* Perigon API
|
|
@@ -4329,16 +4527,16 @@ declare function SummarySearchResultToJSONTyped(value?: SummarySearchResult | nu
|
|
|
4329
4527
|
interface TooManyRequestsException {
|
|
4330
4528
|
/**
|
|
4331
4529
|
*
|
|
4332
|
-
* @type {
|
|
4530
|
+
* @type {AuthExceptionCause}
|
|
4333
4531
|
* @memberof TooManyRequestsException
|
|
4334
4532
|
*/
|
|
4335
|
-
cause?:
|
|
4533
|
+
cause?: AuthExceptionCause | null;
|
|
4336
4534
|
/**
|
|
4337
4535
|
*
|
|
4338
|
-
* @type {Array<
|
|
4536
|
+
* @type {Array<AuthExceptionCauseStackTraceInner>}
|
|
4339
4537
|
* @memberof TooManyRequestsException
|
|
4340
4538
|
*/
|
|
4341
|
-
stackTrace?: Array<
|
|
4539
|
+
stackTrace?: Array<AuthExceptionCauseStackTraceInner> | null;
|
|
4342
4540
|
/**
|
|
4343
4541
|
*
|
|
4344
4542
|
* @type {string}
|
|
@@ -4353,10 +4551,10 @@ interface TooManyRequestsException {
|
|
|
4353
4551
|
message?: string | null;
|
|
4354
4552
|
/**
|
|
4355
4553
|
*
|
|
4356
|
-
* @type {Array<
|
|
4554
|
+
* @type {Array<AuthExceptionSuppressedInner>}
|
|
4357
4555
|
* @memberof TooManyRequestsException
|
|
4358
4556
|
*/
|
|
4359
|
-
suppressed?: Array<
|
|
4557
|
+
suppressed?: Array<AuthExceptionSuppressedInner> | null;
|
|
4360
4558
|
/**
|
|
4361
4559
|
*
|
|
4362
4560
|
* @type {string}
|
|
@@ -4595,34 +4793,57 @@ declare function TopicSearchResultToJSONTyped(value?: TopicSearchResult | null,
|
|
|
4595
4793
|
* https://openapi-generator.tech
|
|
4596
4794
|
* Do not edit the class manually.
|
|
4597
4795
|
*/
|
|
4598
|
-
|
|
4599
4796
|
/**
|
|
4600
|
-
*
|
|
4797
|
+
*
|
|
4601
4798
|
* @export
|
|
4602
|
-
* @interface
|
|
4799
|
+
* @interface WikiPageSectionHolder
|
|
4603
4800
|
*/
|
|
4604
|
-
interface
|
|
4801
|
+
interface WikiPageSectionHolder {
|
|
4802
|
+
/**
|
|
4803
|
+
*
|
|
4804
|
+
* @type {string}
|
|
4805
|
+
* @memberof WikiPageSectionHolder
|
|
4806
|
+
*/
|
|
4807
|
+
id?: string | null;
|
|
4808
|
+
/**
|
|
4809
|
+
*
|
|
4810
|
+
* @type {string}
|
|
4811
|
+
* @memberof WikiPageSectionHolder
|
|
4812
|
+
*/
|
|
4813
|
+
title?: string | null;
|
|
4605
4814
|
/**
|
|
4606
4815
|
*
|
|
4607
4816
|
* @type {number}
|
|
4608
|
-
* @memberof
|
|
4817
|
+
* @memberof WikiPageSectionHolder
|
|
4609
4818
|
*/
|
|
4610
|
-
|
|
4819
|
+
styleLevel?: number | null;
|
|
4820
|
+
/**
|
|
4821
|
+
*
|
|
4822
|
+
* @type {Array<number>}
|
|
4823
|
+
* @memberof WikiPageSectionHolder
|
|
4824
|
+
*/
|
|
4825
|
+
loc?: Array<number> | null;
|
|
4826
|
+
/**
|
|
4827
|
+
*
|
|
4828
|
+
* @type {string}
|
|
4829
|
+
* @memberof WikiPageSectionHolder
|
|
4830
|
+
*/
|
|
4831
|
+
textRaw?: string | null;
|
|
4611
4832
|
/**
|
|
4612
4833
|
*
|
|
4613
|
-
* @type {
|
|
4614
|
-
* @memberof
|
|
4834
|
+
* @type {string}
|
|
4835
|
+
* @memberof WikiPageSectionHolder
|
|
4615
4836
|
*/
|
|
4616
|
-
|
|
4837
|
+
textRich?: string | null;
|
|
4617
4838
|
}
|
|
4618
4839
|
/**
|
|
4619
|
-
* Check if a given object implements the
|
|
4840
|
+
* Check if a given object implements the WikiPageSectionHolder interface.
|
|
4620
4841
|
*/
|
|
4621
|
-
declare function
|
|
4622
|
-
declare function
|
|
4623
|
-
declare function
|
|
4624
|
-
declare function
|
|
4625
|
-
declare function
|
|
4842
|
+
declare function instanceOfWikiPageSectionHolder(value: object): value is WikiPageSectionHolder;
|
|
4843
|
+
declare function WikiPageSectionHolderFromJSON(json: any): WikiPageSectionHolder;
|
|
4844
|
+
declare function WikiPageSectionHolderFromJSONTyped(json: any, ignoreDiscriminator: boolean): WikiPageSectionHolder;
|
|
4845
|
+
declare function WikiPageSectionHolderToJSON(json: any): WikiPageSectionHolder;
|
|
4846
|
+
declare function WikiPageSectionHolderToJSONTyped(value?: WikiPageSectionHolder | null, ignoreDiscriminator?: boolean): any;
|
|
4626
4847
|
|
|
4627
4848
|
/**
|
|
4628
4849
|
* Perigon API
|
|
@@ -4636,91 +4857,494 @@ declare function VectorSearchResultToJSONTyped(value?: VectorSearchResult | null
|
|
|
4636
4857
|
* Do not edit the class manually.
|
|
4637
4858
|
*/
|
|
4638
4859
|
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
}
|
|
4646
|
-
interface SearchArticlesRequest {
|
|
4860
|
+
/**
|
|
4861
|
+
*
|
|
4862
|
+
* @export
|
|
4863
|
+
* @interface WikiPage
|
|
4864
|
+
*/
|
|
4865
|
+
interface WikiPage {
|
|
4647
4866
|
/**
|
|
4648
|
-
*
|
|
4867
|
+
*
|
|
4868
|
+
* @type {string}
|
|
4869
|
+
* @memberof WikiPage
|
|
4649
4870
|
*/
|
|
4650
|
-
|
|
4871
|
+
id?: string | null;
|
|
4651
4872
|
/**
|
|
4652
|
-
*
|
|
4873
|
+
*
|
|
4874
|
+
* @type {string}
|
|
4875
|
+
* @memberof WikiPage
|
|
4653
4876
|
*/
|
|
4654
|
-
|
|
4877
|
+
scrapedAt?: string | null;
|
|
4655
4878
|
/**
|
|
4656
|
-
*
|
|
4879
|
+
*
|
|
4880
|
+
* @type {number}
|
|
4881
|
+
* @memberof WikiPage
|
|
4657
4882
|
*/
|
|
4658
|
-
|
|
4883
|
+
wikiPageId?: number | null;
|
|
4659
4884
|
/**
|
|
4660
|
-
*
|
|
4885
|
+
*
|
|
4886
|
+
* @type {number}
|
|
4887
|
+
* @memberof WikiPage
|
|
4661
4888
|
*/
|
|
4662
|
-
|
|
4889
|
+
wikiRevisionId?: number | null;
|
|
4663
4890
|
/**
|
|
4664
|
-
*
|
|
4891
|
+
*
|
|
4892
|
+
* @type {string}
|
|
4893
|
+
* @memberof WikiPage
|
|
4665
4894
|
*/
|
|
4666
|
-
|
|
4895
|
+
wikiRevisionTs?: string | null;
|
|
4667
4896
|
/**
|
|
4668
|
-
*
|
|
4897
|
+
*
|
|
4898
|
+
* @type {string}
|
|
4899
|
+
* @memberof WikiPage
|
|
4669
4900
|
*/
|
|
4670
|
-
|
|
4901
|
+
wikiCode?: string | null;
|
|
4671
4902
|
/**
|
|
4672
|
-
*
|
|
4903
|
+
*
|
|
4904
|
+
* @type {number}
|
|
4905
|
+
* @memberof WikiPage
|
|
4673
4906
|
*/
|
|
4674
|
-
|
|
4907
|
+
wikiNamespace?: number | null;
|
|
4675
4908
|
/**
|
|
4676
|
-
*
|
|
4909
|
+
*
|
|
4910
|
+
* @type {string}
|
|
4911
|
+
* @memberof WikiPage
|
|
4677
4912
|
*/
|
|
4678
|
-
|
|
4913
|
+
wikiTitle?: string | null;
|
|
4679
4914
|
/**
|
|
4680
|
-
*
|
|
4915
|
+
*
|
|
4916
|
+
* @type {string}
|
|
4917
|
+
* @memberof WikiPage
|
|
4681
4918
|
*/
|
|
4682
|
-
|
|
4919
|
+
url?: string | null;
|
|
4683
4920
|
/**
|
|
4684
|
-
*
|
|
4921
|
+
*
|
|
4922
|
+
* @type {string}
|
|
4923
|
+
* @memberof WikiPage
|
|
4685
4924
|
*/
|
|
4686
|
-
|
|
4925
|
+
topImage?: string | null;
|
|
4687
4926
|
/**
|
|
4688
|
-
*
|
|
4927
|
+
*
|
|
4928
|
+
* @type {string}
|
|
4929
|
+
* @memberof WikiPage
|
|
4689
4930
|
*/
|
|
4690
|
-
|
|
4931
|
+
wikidataId?: string | null;
|
|
4691
4932
|
/**
|
|
4692
|
-
*
|
|
4933
|
+
*
|
|
4934
|
+
* @type {Array<WikidataLabelHolder>}
|
|
4935
|
+
* @memberof WikiPage
|
|
4693
4936
|
*/
|
|
4694
|
-
|
|
4937
|
+
wikidataInstanceOf?: Array<WikidataLabelHolder> | null;
|
|
4695
4938
|
/**
|
|
4696
|
-
*
|
|
4939
|
+
*
|
|
4940
|
+
* @type {Array<string>}
|
|
4941
|
+
* @memberof WikiPage
|
|
4697
4942
|
*/
|
|
4698
|
-
|
|
4943
|
+
redirectTitles?: Array<string> | null;
|
|
4699
4944
|
/**
|
|
4700
|
-
*
|
|
4945
|
+
*
|
|
4946
|
+
* @type {string}
|
|
4947
|
+
* @memberof WikiPage
|
|
4701
4948
|
*/
|
|
4702
|
-
|
|
4949
|
+
summary?: string | null;
|
|
4703
4950
|
/**
|
|
4704
|
-
*
|
|
4951
|
+
*
|
|
4952
|
+
* @type {Array<WikiPageSectionHolder>}
|
|
4953
|
+
* @memberof WikiPage
|
|
4705
4954
|
*/
|
|
4706
|
-
|
|
4955
|
+
sections?: Array<WikiPageSectionHolder> | null;
|
|
4707
4956
|
/**
|
|
4708
|
-
*
|
|
4957
|
+
*
|
|
4958
|
+
* @type {Array<string>}
|
|
4959
|
+
* @memberof WikiPage
|
|
4709
4960
|
*/
|
|
4710
|
-
|
|
4961
|
+
categories?: Array<string> | null;
|
|
4711
4962
|
/**
|
|
4712
|
-
*
|
|
4963
|
+
*
|
|
4964
|
+
* @type {Array<string>}
|
|
4965
|
+
* @memberof WikiPage
|
|
4713
4966
|
*/
|
|
4714
|
-
|
|
4967
|
+
externalLinks?: Array<string> | null;
|
|
4715
4968
|
/**
|
|
4716
|
-
*
|
|
4969
|
+
*
|
|
4970
|
+
* @type {Array<string>}
|
|
4971
|
+
* @memberof WikiPage
|
|
4717
4972
|
*/
|
|
4718
|
-
|
|
4973
|
+
references?: Array<string> | null;
|
|
4719
4974
|
/**
|
|
4720
|
-
*
|
|
4975
|
+
*
|
|
4976
|
+
* @type {number}
|
|
4977
|
+
* @memberof WikiPage
|
|
4721
4978
|
*/
|
|
4722
|
-
|
|
4723
|
-
|
|
4979
|
+
pageviews?: number | null;
|
|
4980
|
+
}
|
|
4981
|
+
/**
|
|
4982
|
+
* Check if a given object implements the WikiPage interface.
|
|
4983
|
+
*/
|
|
4984
|
+
declare function instanceOfWikiPage(value: object): value is WikiPage;
|
|
4985
|
+
declare function WikiPageFromJSON(json: any): WikiPage;
|
|
4986
|
+
declare function WikiPageFromJSONTyped(json: any, ignoreDiscriminator: boolean): WikiPage;
|
|
4987
|
+
declare function WikiPageToJSON(json: any): WikiPage;
|
|
4988
|
+
declare function WikiPageToJSONTyped(value?: WikiPage | null, ignoreDiscriminator?: boolean): any;
|
|
4989
|
+
|
|
4990
|
+
/**
|
|
4991
|
+
* Perigon API
|
|
4992
|
+
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
4993
|
+
*
|
|
4994
|
+
* The version of the OpenAPI document: 1.0.0
|
|
4995
|
+
* Contact: data@perigon.io
|
|
4996
|
+
*
|
|
4997
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4998
|
+
* https://openapi-generator.tech
|
|
4999
|
+
* Do not edit the class manually.
|
|
5000
|
+
*/
|
|
5001
|
+
/**
|
|
5002
|
+
* Complex filter structure for Wikipedia page searches that supports nested logical operations (AND, OR, NOT) and multiple filtering criteria.
|
|
5003
|
+
* @export
|
|
5004
|
+
* @interface WikipediaSearchFilter
|
|
5005
|
+
*/
|
|
5006
|
+
interface WikipediaSearchFilter {
|
|
5007
|
+
/**
|
|
5008
|
+
* Filter by specific Perigon page identifiers. Accepts either a single ID or an array of IDs. Returns only pages matching these IDs.
|
|
5009
|
+
* @type {Array<string>}
|
|
5010
|
+
* @memberof WikipediaSearchFilter
|
|
5011
|
+
*/
|
|
5012
|
+
pageId?: Array<string> | null;
|
|
5013
|
+
/**
|
|
5014
|
+
* Filter by specific section identifiers. Accepts either a single ID or an array of IDs. Returns only pages containing these sections.
|
|
5015
|
+
* @type {Array<string>}
|
|
5016
|
+
* @memberof WikipediaSearchFilter
|
|
5017
|
+
*/
|
|
5018
|
+
sectionId?: Array<string> | null;
|
|
5019
|
+
/**
|
|
5020
|
+
* Filter by specific Wikipedia page identifiers. Accepts either a single ID or an array of IDs. Returns only pages matching these IDs.
|
|
5021
|
+
* @type {Array<number>}
|
|
5022
|
+
* @memberof WikipediaSearchFilter
|
|
5023
|
+
*/
|
|
5024
|
+
wikiPageId?: Array<number> | null;
|
|
5025
|
+
/**
|
|
5026
|
+
* Filter by specific Perigon page revision identifiers. Accepts either a single ID or an array of IDs. Returns only pages matching these IDs.
|
|
5027
|
+
* @type {Array<number>}
|
|
5028
|
+
* @memberof WikipediaSearchFilter
|
|
5029
|
+
*/
|
|
5030
|
+
wikiRevisionId?: Array<number> | null;
|
|
5031
|
+
/**
|
|
5032
|
+
* Filter by specific Wikipedia project codes. Returns only pages matching these projects.
|
|
5033
|
+
* @type {Array<string>}
|
|
5034
|
+
* @memberof WikipediaSearchFilter
|
|
5035
|
+
*/
|
|
5036
|
+
wikiCode?: Array<string> | null;
|
|
5037
|
+
/**
|
|
5038
|
+
* Filter by specific Wikipedia namespaces. Returns only pages matching these namespaces.
|
|
5039
|
+
* @type {Array<number>}
|
|
5040
|
+
* @memberof WikipediaSearchFilter
|
|
5041
|
+
*/
|
|
5042
|
+
wikiNamespace?: Array<number> | null;
|
|
5043
|
+
/**
|
|
5044
|
+
* Filter by specific Wikidata entity IDs. Returns only pages whose Wikidata entities match those ids.
|
|
5045
|
+
* @type {Array<string>}
|
|
5046
|
+
* @memberof WikipediaSearchFilter
|
|
5047
|
+
*/
|
|
5048
|
+
wikidataId?: Array<string> | null;
|
|
5049
|
+
/**
|
|
5050
|
+
* Filter by specific Wikidata entity IDs. Returns only pages whose Wikidata entities are instances of provided ids.
|
|
5051
|
+
* @type {Array<string>}
|
|
5052
|
+
* @memberof WikipediaSearchFilter
|
|
5053
|
+
*/
|
|
5054
|
+
wikidataInstanceOfId?: Array<string> | null;
|
|
5055
|
+
/**
|
|
5056
|
+
* Filter by specific Wikidata entity labels. Returns only pages whose Wikidata entities are instances of these labels.
|
|
5057
|
+
* @type {Array<string>}
|
|
5058
|
+
* @memberof WikipediaSearchFilter
|
|
5059
|
+
*/
|
|
5060
|
+
wikidataInstanceOfLabel?: Array<string> | null;
|
|
5061
|
+
/**
|
|
5062
|
+
* 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.
|
|
5063
|
+
* @type {Array<WikipediaSearchFilter>}
|
|
5064
|
+
* @memberof WikipediaSearchFilter
|
|
5065
|
+
*/
|
|
5066
|
+
aND?: Array<WikipediaSearchFilter> | null;
|
|
5067
|
+
/**
|
|
5068
|
+
* 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.
|
|
5069
|
+
* @type {Array<WikipediaSearchFilter>}
|
|
5070
|
+
* @memberof WikipediaSearchFilter
|
|
5071
|
+
*/
|
|
5072
|
+
oR?: Array<WikipediaSearchFilter> | null;
|
|
5073
|
+
/**
|
|
5074
|
+
* A filter object for logical NOT operations
|
|
5075
|
+
* @type {Array<WikipediaSearchFilter>}
|
|
5076
|
+
* @memberof WikipediaSearchFilter
|
|
5077
|
+
*/
|
|
5078
|
+
nOT?: Array<WikipediaSearchFilter> | null;
|
|
5079
|
+
}
|
|
5080
|
+
/**
|
|
5081
|
+
* Check if a given object implements the WikipediaSearchFilter interface.
|
|
5082
|
+
*/
|
|
5083
|
+
declare function instanceOfWikipediaSearchFilter(value: object): value is WikipediaSearchFilter;
|
|
5084
|
+
declare function WikipediaSearchFilterFromJSON(json: any): WikipediaSearchFilter;
|
|
5085
|
+
declare function WikipediaSearchFilterFromJSONTyped(json: any, ignoreDiscriminator: boolean): WikipediaSearchFilter;
|
|
5086
|
+
declare function WikipediaSearchFilterToJSON(json: any): WikipediaSearchFilter;
|
|
5087
|
+
declare function WikipediaSearchFilterToJSONTyped(value?: WikipediaSearchFilter | null, ignoreDiscriminator?: boolean): any;
|
|
5088
|
+
|
|
5089
|
+
/**
|
|
5090
|
+
* Perigon API
|
|
5091
|
+
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
5092
|
+
*
|
|
5093
|
+
* The version of the OpenAPI document: 1.0.0
|
|
5094
|
+
* Contact: data@perigon.io
|
|
5095
|
+
*
|
|
5096
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5097
|
+
* https://openapi-generator.tech
|
|
5098
|
+
* Do not edit the class manually.
|
|
5099
|
+
*/
|
|
5100
|
+
|
|
5101
|
+
/**
|
|
5102
|
+
*
|
|
5103
|
+
* @export
|
|
5104
|
+
* @interface WikipediaSearchParams
|
|
5105
|
+
*/
|
|
5106
|
+
interface WikipediaSearchParams {
|
|
5107
|
+
/**
|
|
5108
|
+
* Natural language query to search the Wikipedia pages database
|
|
5109
|
+
* @type {string}
|
|
5110
|
+
* @memberof WikipediaSearchParams
|
|
5111
|
+
*/
|
|
5112
|
+
prompt: string;
|
|
5113
|
+
/**
|
|
5114
|
+
*
|
|
5115
|
+
* @type {WikipediaSearchFilter}
|
|
5116
|
+
* @memberof WikipediaSearchParams
|
|
5117
|
+
*/
|
|
5118
|
+
filter?: WikipediaSearchFilter;
|
|
5119
|
+
/**
|
|
5120
|
+
* 'wikiRevisionFrom' filter, will search pages modified after the specified date, the date could be passed as ISO or 'yyyy-mm-dd'. Date time in ISO format, ie. 2024-01-01T00:00:00.
|
|
5121
|
+
* @type {Date}
|
|
5122
|
+
* @memberof WikipediaSearchParams
|
|
5123
|
+
*/
|
|
5124
|
+
wikiRevisionFrom?: Date | null;
|
|
5125
|
+
/**
|
|
5126
|
+
* 'wikiRevisionFrom' filter, will search pages modified before the specified date, the date could be passed as ISO or 'yyyy-mm-dd'. Date time in ISO format, ie. 2024-01-01T00:00:00.
|
|
5127
|
+
* @type {Date}
|
|
5128
|
+
* @memberof WikipediaSearchParams
|
|
5129
|
+
*/
|
|
5130
|
+
wikiRevisionTo?: Date | null;
|
|
5131
|
+
/**
|
|
5132
|
+
* 'pageviewsFrom' filter, will search pages with at least the provided number of views per day.
|
|
5133
|
+
* @type {number}
|
|
5134
|
+
* @memberof WikipediaSearchParams
|
|
5135
|
+
*/
|
|
5136
|
+
pageviewsFrom?: number | null;
|
|
5137
|
+
/**
|
|
5138
|
+
* 'pageviewsFrom' filter, will search pages with at most the provided number of views per day.
|
|
5139
|
+
* @type {number}
|
|
5140
|
+
* @memberof WikipediaSearchParams
|
|
5141
|
+
*/
|
|
5142
|
+
pageviewsTo?: number | null;
|
|
5143
|
+
/**
|
|
5144
|
+
* The number of items per page.
|
|
5145
|
+
* @type {number}
|
|
5146
|
+
* @memberof WikipediaSearchParams
|
|
5147
|
+
*/
|
|
5148
|
+
size?: number | null;
|
|
5149
|
+
/**
|
|
5150
|
+
* The page number to retrieve.
|
|
5151
|
+
* @type {number}
|
|
5152
|
+
* @memberof WikipediaSearchParams
|
|
5153
|
+
*/
|
|
5154
|
+
page?: number | null;
|
|
5155
|
+
}
|
|
5156
|
+
/**
|
|
5157
|
+
* Check if a given object implements the WikipediaSearchParams interface.
|
|
5158
|
+
*/
|
|
5159
|
+
declare function instanceOfWikipediaSearchParams(value: object): value is WikipediaSearchParams;
|
|
5160
|
+
declare function WikipediaSearchParamsFromJSON(json: any): WikipediaSearchParams;
|
|
5161
|
+
declare function WikipediaSearchParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): WikipediaSearchParams;
|
|
5162
|
+
declare function WikipediaSearchParamsToJSON(json: any): WikipediaSearchParams;
|
|
5163
|
+
declare function WikipediaSearchParamsToJSONTyped(value?: WikipediaSearchParams | null, ignoreDiscriminator?: boolean): any;
|
|
5164
|
+
|
|
5165
|
+
/**
|
|
5166
|
+
* Perigon API
|
|
5167
|
+
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
5168
|
+
*
|
|
5169
|
+
* The version of the OpenAPI document: 1.0.0
|
|
5170
|
+
* Contact: data@perigon.io
|
|
5171
|
+
*
|
|
5172
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5173
|
+
* https://openapi-generator.tech
|
|
5174
|
+
* Do not edit the class manually.
|
|
5175
|
+
*/
|
|
5176
|
+
|
|
5177
|
+
/**
|
|
5178
|
+
* Wikipedia search result
|
|
5179
|
+
* @export
|
|
5180
|
+
* @interface WikipediaSearchResult
|
|
5181
|
+
*/
|
|
5182
|
+
interface WikipediaSearchResult {
|
|
5183
|
+
/**
|
|
5184
|
+
*
|
|
5185
|
+
* @type {number}
|
|
5186
|
+
* @memberof WikipediaSearchResult
|
|
5187
|
+
*/
|
|
5188
|
+
status: number;
|
|
5189
|
+
/**
|
|
5190
|
+
*
|
|
5191
|
+
* @type {number}
|
|
5192
|
+
* @memberof WikipediaSearchResult
|
|
5193
|
+
*/
|
|
5194
|
+
numResults: number;
|
|
5195
|
+
/**
|
|
5196
|
+
*
|
|
5197
|
+
* @type {Array<WikiPage>}
|
|
5198
|
+
* @memberof WikipediaSearchResult
|
|
5199
|
+
*/
|
|
5200
|
+
results: Array<WikiPage>;
|
|
5201
|
+
}
|
|
5202
|
+
/**
|
|
5203
|
+
* Check if a given object implements the WikipediaSearchResult interface.
|
|
5204
|
+
*/
|
|
5205
|
+
declare function instanceOfWikipediaSearchResult(value: object): value is WikipediaSearchResult;
|
|
5206
|
+
declare function WikipediaSearchResultFromJSON(json: any): WikipediaSearchResult;
|
|
5207
|
+
declare function WikipediaSearchResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): WikipediaSearchResult;
|
|
5208
|
+
declare function WikipediaSearchResultToJSON(json: any): WikipediaSearchResult;
|
|
5209
|
+
declare function WikipediaSearchResultToJSONTyped(value?: WikipediaSearchResult | null, ignoreDiscriminator?: boolean): any;
|
|
5210
|
+
|
|
5211
|
+
/**
|
|
5212
|
+
* Perigon API
|
|
5213
|
+
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
5214
|
+
*
|
|
5215
|
+
* The version of the OpenAPI document: 1.0.0
|
|
5216
|
+
* Contact: data@perigon.io
|
|
5217
|
+
*
|
|
5218
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5219
|
+
* https://openapi-generator.tech
|
|
5220
|
+
* Do not edit the class manually.
|
|
5221
|
+
*/
|
|
5222
|
+
|
|
5223
|
+
/**
|
|
5224
|
+
* Wikipedia vector search result
|
|
5225
|
+
* @export
|
|
5226
|
+
* @interface WikipediaVectorSearchResult
|
|
5227
|
+
*/
|
|
5228
|
+
interface WikipediaVectorSearchResult {
|
|
5229
|
+
/**
|
|
5230
|
+
*
|
|
5231
|
+
* @type {number}
|
|
5232
|
+
* @memberof WikipediaVectorSearchResult
|
|
5233
|
+
*/
|
|
5234
|
+
status: number;
|
|
5235
|
+
/**
|
|
5236
|
+
*
|
|
5237
|
+
* @type {Array<ScoredDataWikiData>}
|
|
5238
|
+
* @memberof WikipediaVectorSearchResult
|
|
5239
|
+
*/
|
|
5240
|
+
results: Array<ScoredDataWikiData>;
|
|
5241
|
+
}
|
|
5242
|
+
/**
|
|
5243
|
+
* Check if a given object implements the WikipediaVectorSearchResult interface.
|
|
5244
|
+
*/
|
|
5245
|
+
declare function instanceOfWikipediaVectorSearchResult(value: object): value is WikipediaVectorSearchResult;
|
|
5246
|
+
declare function WikipediaVectorSearchResultFromJSON(json: any): WikipediaVectorSearchResult;
|
|
5247
|
+
declare function WikipediaVectorSearchResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): WikipediaVectorSearchResult;
|
|
5248
|
+
declare function WikipediaVectorSearchResultToJSON(json: any): WikipediaVectorSearchResult;
|
|
5249
|
+
declare function WikipediaVectorSearchResultToJSONTyped(value?: WikipediaVectorSearchResult | null, ignoreDiscriminator?: boolean): any;
|
|
5250
|
+
|
|
5251
|
+
/**
|
|
5252
|
+
* Perigon API
|
|
5253
|
+
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
5254
|
+
*
|
|
5255
|
+
* The version of the OpenAPI document: 1.0.0
|
|
5256
|
+
* Contact: data@perigon.io
|
|
5257
|
+
*
|
|
5258
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5259
|
+
* https://openapi-generator.tech
|
|
5260
|
+
* Do not edit the class manually.
|
|
5261
|
+
*/
|
|
5262
|
+
|
|
5263
|
+
interface GetJournalistByIdRequest {
|
|
5264
|
+
/**
|
|
5265
|
+
* Parameter id
|
|
5266
|
+
* @required
|
|
5267
|
+
*/
|
|
5268
|
+
id: string;
|
|
5269
|
+
}
|
|
5270
|
+
interface SearchArticlesRequest {
|
|
5271
|
+
/**
|
|
5272
|
+
* Primary search query for filtering articles based on their title, description, and content. Supports Boolean operators (AND, OR, NOT), exact phrases with quotes, and wildcards (* and ?) for flexible searching.
|
|
5273
|
+
*/
|
|
5274
|
+
q?: string;
|
|
5275
|
+
/**
|
|
5276
|
+
* Search specifically within article headlines/titles. Supports Boolean operators, exact phrases with quotes, and wildcards for matching title variations.
|
|
5277
|
+
*/
|
|
5278
|
+
title?: string;
|
|
5279
|
+
/**
|
|
5280
|
+
* Search within article description fields. Supports Boolean expressions, exact phrase matching with quotes, and wildcards for flexible pattern matching.
|
|
5281
|
+
*/
|
|
5282
|
+
desc?: string;
|
|
5283
|
+
/**
|
|
5284
|
+
* Search within the full article body content. Supports Boolean logic, exact phrase matching with quotes, and wildcards for comprehensive content searching.
|
|
5285
|
+
*/
|
|
5286
|
+
content?: string;
|
|
5287
|
+
/**
|
|
5288
|
+
* Search within article URLs to find content from specific website sections or domains. Supports wildcards (* and ?) for partial URL matching.
|
|
5289
|
+
*/
|
|
5290
|
+
url?: string;
|
|
5291
|
+
/**
|
|
5292
|
+
* Retrieve specific news articles by their unique article identifiers. Multiple IDs can be provided to return a collection of specific articles.
|
|
5293
|
+
*/
|
|
5294
|
+
articleId?: Array<string>;
|
|
5295
|
+
/**
|
|
5296
|
+
* Filter results to only show content within a specific related content cluster. Returns articles grouped together as part of Perigon Stories based on topic relevance.
|
|
5297
|
+
*/
|
|
5298
|
+
clusterId?: Array<string>;
|
|
5299
|
+
/**
|
|
5300
|
+
* Determines the article sorting order. Options include relevance (default), date/pubDate (newest publication date first), reverseDate (oldest publication date first), addDate (newest ingestion date first), reverseAddDate (oldest ingestion date first), and refreshDate (most recently updated in system first, often identical to addDate).
|
|
5301
|
+
*/
|
|
5302
|
+
sortBy?: AllEndpointSortBy;
|
|
5303
|
+
/**
|
|
5304
|
+
* The specific page of results to retrieve in the paginated response. Starts at 0.
|
|
5305
|
+
*/
|
|
5306
|
+
page?: number;
|
|
5307
|
+
/**
|
|
5308
|
+
* The number of articles to return per page in the paginated response.
|
|
5309
|
+
*/
|
|
5310
|
+
size?: number;
|
|
5311
|
+
/**
|
|
5312
|
+
* Filter for articles published after this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
|
|
5313
|
+
*/
|
|
5314
|
+
from?: Date;
|
|
5315
|
+
/**
|
|
5316
|
+
* Filter for articles published before this date. Accepts ISO 8601 format (e.g., 2022-02-01T23:59:59) or yyyy-mm-dd format.
|
|
5317
|
+
*/
|
|
5318
|
+
to?: Date;
|
|
5319
|
+
/**
|
|
5320
|
+
* 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.
|
|
5321
|
+
*/
|
|
5322
|
+
addDateFrom?: Date;
|
|
5323
|
+
/**
|
|
5324
|
+
* 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.
|
|
5325
|
+
*/
|
|
5326
|
+
addDateTo?: Date;
|
|
5327
|
+
/**
|
|
5328
|
+
* 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.
|
|
5329
|
+
*/
|
|
5330
|
+
refreshDateFrom?: Date;
|
|
5331
|
+
/**
|
|
5332
|
+
* 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.
|
|
5333
|
+
*/
|
|
5334
|
+
refreshDateTo?: Date;
|
|
5335
|
+
/**
|
|
5336
|
+
* Filter articles by their primary medium type. Accepts Article for written content or Video for video-based stories. Multiple values create an OR filter.
|
|
5337
|
+
*/
|
|
5338
|
+
medium?: Array<string>;
|
|
5339
|
+
/**
|
|
5340
|
+
* Filter articles by specific publisher domains or subdomains. Supports wildcards (* and ?) for pattern matching (e.g., *.cnn.com). Multiple values create an OR filter.
|
|
5341
|
+
*/
|
|
5342
|
+
source?: Array<string>;
|
|
5343
|
+
/**
|
|
5344
|
+
* Filter articles using Perigon\'s curated publisher bundles (e.g., top100, top25crypto). Multiple values create an OR filter to include articles from any of the specified bundles.
|
|
5345
|
+
*/
|
|
5346
|
+
sourceGroup?: Array<string>;
|
|
5347
|
+
/**
|
|
4724
5348
|
* Exclude articles from specified Perigon source groups. Multiple values create an AND-exclude filter, removing content from publishers in any of the specified bundles (e.g., top10, top100).
|
|
4725
5349
|
*/
|
|
4726
5350
|
excludeSourceGroup?: Array<string>;
|
|
@@ -4825,7 +5449,7 @@ interface SearchArticlesRequest {
|
|
|
4825
5449
|
*/
|
|
4826
5450
|
county?: Array<string>;
|
|
4827
5451
|
/**
|
|
4828
|
-
* Excludes articles from specific counties or administrative divisions in the
|
|
5452
|
+
* Excludes articles from specific counties or administrative divisions in the search results. Accepts either a single county name or a list of county names. County names should match the format used in article metadata (e.g., \'Los Angeles County\', \'Cook County\'). This parameter allows for more granular geographic filter
|
|
4829
5453
|
*/
|
|
4830
5454
|
excludeCounty?: Array<string>;
|
|
4831
5455
|
/**
|
|
@@ -4964,6 +5588,30 @@ interface SearchArticlesRequest {
|
|
|
4964
5588
|
* Filters by Google Content Categories. This field will filter by the category prefix only. Example: prefixTaxonomy=/Finance
|
|
4965
5589
|
*/
|
|
4966
5590
|
prefixTaxonomy?: string;
|
|
5591
|
+
/**
|
|
5592
|
+
* When set to true, enables text highlighting in search results.
|
|
5593
|
+
*/
|
|
5594
|
+
showHighlighting?: boolean;
|
|
5595
|
+
/**
|
|
5596
|
+
* Specifies the size in characters of each highlighted text fragment. Defaults to 100 if not specified.
|
|
5597
|
+
*/
|
|
5598
|
+
highlightFragmentSize?: number;
|
|
5599
|
+
/**
|
|
5600
|
+
* Controls the maximum number of highlighted fragments to return per field.
|
|
5601
|
+
*/
|
|
5602
|
+
highlightNumFragments?: number;
|
|
5603
|
+
/**
|
|
5604
|
+
* Defines the HTML tag that appears before highlighted text. Defaults to \'<em>\' if not specified.
|
|
5605
|
+
*/
|
|
5606
|
+
highlightPreTag?: string;
|
|
5607
|
+
/**
|
|
5608
|
+
* Defines the HTML tag that appears after highlighted text. Defaults to \'</em>\' if not specified.
|
|
5609
|
+
*/
|
|
5610
|
+
highlightPostTag?: string;
|
|
5611
|
+
/**
|
|
5612
|
+
* Specifies a separate query for highlighting, allowing highlights based on terms different from the main search query. Example: main query \'q=climate change\' with \'highlightQ=renewable OR solar\' will highlight terms \'renewable\' and \'solar\' in results about climate change.
|
|
5613
|
+
*/
|
|
5614
|
+
highlightQ?: string;
|
|
4967
5615
|
}
|
|
4968
5616
|
interface SearchCompaniesRequest {
|
|
4969
5617
|
/**
|
|
@@ -5382,6 +6030,30 @@ interface SearchStoriesRequest {
|
|
|
5382
6030
|
* Stories are deduplicated by default. If a story is deduplicated, all future articles are merged into the original story. duplicateOf field contains the original cluster Id. When showDuplicates=true, all stories are shown.
|
|
5383
6031
|
*/
|
|
5384
6032
|
showDuplicates?: boolean;
|
|
6033
|
+
/**
|
|
6034
|
+
* When set to true, enables text highlighting in search results.
|
|
6035
|
+
*/
|
|
6036
|
+
showHighlighting?: boolean;
|
|
6037
|
+
/**
|
|
6038
|
+
* Specifies the size in characters of each highlighted text fragment. Defaults to 100 if not specified.
|
|
6039
|
+
*/
|
|
6040
|
+
highlightFragmentSize?: number;
|
|
6041
|
+
/**
|
|
6042
|
+
* Controls the maximum number of highlighted fragments to return per field.
|
|
6043
|
+
*/
|
|
6044
|
+
highlightNumFragments?: number;
|
|
6045
|
+
/**
|
|
6046
|
+
* Defines the HTML tag that appears before highlighted text. Defaults to \'<em>\' if not specified.
|
|
6047
|
+
*/
|
|
6048
|
+
highlightPreTag?: string;
|
|
6049
|
+
/**
|
|
6050
|
+
* Defines the HTML tag that appears after highlighted text. Defaults to \'</em>\' if not specified.
|
|
6051
|
+
*/
|
|
6052
|
+
highlightPostTag?: string;
|
|
6053
|
+
/**
|
|
6054
|
+
* Specifies a separate query for highlighting, allowing highlights based on terms different from the main search query. Example: main query \'q=climate change\' with \'highlightQ=renewable OR solar\' will highlight terms \'renewable\' and \'solar\' in results about climate change.
|
|
6055
|
+
*/
|
|
6056
|
+
highlightQ?: string;
|
|
5385
6057
|
}
|
|
5386
6058
|
interface SearchSummarizerRequest {
|
|
5387
6059
|
/**
|
|
@@ -5570,7 +6242,7 @@ interface SearchSummarizerRequest {
|
|
|
5570
6242
|
*/
|
|
5571
6243
|
county?: Array<string>;
|
|
5572
6244
|
/**
|
|
5573
|
-
* Excludes articles from specific counties or administrative divisions in the
|
|
6245
|
+
* Excludes articles from specific counties or administrative divisions in the search results. Accepts either a single county name or a list of county names. County names should match the format used in article metadata (e.g., \'Los Angeles County\', \'Cook County\'). This parameter allows for more granular geographic filter
|
|
5574
6246
|
*/
|
|
5575
6247
|
excludeCounty?: Array<string>;
|
|
5576
6248
|
/**
|
|
@@ -5709,6 +6381,30 @@ interface SearchSummarizerRequest {
|
|
|
5709
6381
|
* Filters by Google Content Categories. This field will filter by the category prefix only. Example: prefixTaxonomy=/Finance
|
|
5710
6382
|
*/
|
|
5711
6383
|
prefixTaxonomy?: string;
|
|
6384
|
+
/**
|
|
6385
|
+
* When set to true, enables text highlighting in search results.
|
|
6386
|
+
*/
|
|
6387
|
+
showHighlighting?: boolean;
|
|
6388
|
+
/**
|
|
6389
|
+
* Specifies the size in characters of each highlighted text fragment. Defaults to 100 if not specified.
|
|
6390
|
+
*/
|
|
6391
|
+
highlightFragmentSize?: number;
|
|
6392
|
+
/**
|
|
6393
|
+
* Controls the maximum number of highlighted fragments to return per field.
|
|
6394
|
+
*/
|
|
6395
|
+
highlightNumFragments?: number;
|
|
6396
|
+
/**
|
|
6397
|
+
* Defines the HTML tag that appears before highlighted text. Defaults to \'<em>\' if not specified.
|
|
6398
|
+
*/
|
|
6399
|
+
highlightPreTag?: string;
|
|
6400
|
+
/**
|
|
6401
|
+
* Defines the HTML tag that appears after highlighted text. Defaults to \'</em>\' if not specified.
|
|
6402
|
+
*/
|
|
6403
|
+
highlightPostTag?: string;
|
|
6404
|
+
/**
|
|
6405
|
+
* Specifies a separate query for highlighting, allowing highlights based on terms different from the main search query. Example: main query \'q=climate change\' with \'highlightQ=renewable OR solar\' will highlight terms \'renewable\' and \'solar\' in results about climate change.
|
|
6406
|
+
*/
|
|
6407
|
+
highlightQ?: string;
|
|
5712
6408
|
}
|
|
5713
6409
|
interface SearchTopicsRequest {
|
|
5714
6410
|
/**
|
|
@@ -5732,6 +6428,112 @@ interface SearchTopicsRequest {
|
|
|
5732
6428
|
*/
|
|
5733
6429
|
size?: number;
|
|
5734
6430
|
}
|
|
6431
|
+
interface SearchWikipediaRequest {
|
|
6432
|
+
/**
|
|
6433
|
+
* Primary search query for filtering pages based on their title, summary, and content. Supports Boolean operators (AND, OR, NOT), exact phrases with quotes, and wildcards (* and ?) for flexible searching.
|
|
6434
|
+
*/
|
|
6435
|
+
q?: string;
|
|
6436
|
+
/**
|
|
6437
|
+
* Search specifically within page titles. Supports Boolean operators, exact phrases with quotes, and wildcards for matching title variations.
|
|
6438
|
+
*/
|
|
6439
|
+
title?: string;
|
|
6440
|
+
/**
|
|
6441
|
+
* Search specifically within page summary. Supports Boolean operators, exact phrases with quotes, and wildcards for matching title variations.
|
|
6442
|
+
*/
|
|
6443
|
+
summary?: string;
|
|
6444
|
+
/**
|
|
6445
|
+
* Search specifically within the page\'s content (across all sections). Supports Boolean operators, exact phrases with quotes, and wildcards for matching title variations.
|
|
6446
|
+
*/
|
|
6447
|
+
text?: string;
|
|
6448
|
+
/**
|
|
6449
|
+
* Search specifically across page\'s references. Supports Boolean operators, exact phrases with quotes, and wildcards for matching title variations.
|
|
6450
|
+
*/
|
|
6451
|
+
reference?: string;
|
|
6452
|
+
/**
|
|
6453
|
+
* Retrieve specific pages by their unique Perigon identifiers. Multiple IDs can be provided to return a collection of specific pages.
|
|
6454
|
+
*/
|
|
6455
|
+
id?: Array<string>;
|
|
6456
|
+
/**
|
|
6457
|
+
* Retrieve specific pages by their Wikipedia identifiers. These are unique only in a combination with `wikiCode` parameter. Multiple IDs can be provided to return a collection of specific pages.
|
|
6458
|
+
*/
|
|
6459
|
+
wikiPageId?: Array<number>;
|
|
6460
|
+
/**
|
|
6461
|
+
* Retrieve specific pages by their Wikipedia revision identifiers. These are unique only in a combination with `wikiCode` parameter. Multiple IDs can be provided to return a collection of specific pages. This ID changes each time a page is edited.
|
|
6462
|
+
*/
|
|
6463
|
+
wikiRevisionId?: Array<number>;
|
|
6464
|
+
/**
|
|
6465
|
+
* Retrieve pages only from specified wiki projects. Currently, the only accepted value is `enwiki`.
|
|
6466
|
+
*/
|
|
6467
|
+
wikiCode?: Array<string>;
|
|
6468
|
+
/**
|
|
6469
|
+
* Retrieve pages only from specified wiki namespace. Currently, only the main namespace (0) is available.
|
|
6470
|
+
*/
|
|
6471
|
+
wikiNamespace?: Array<number>;
|
|
6472
|
+
/**
|
|
6473
|
+
* Retrieve pages by the ids corresponding to their Wikidata entities.
|
|
6474
|
+
*/
|
|
6475
|
+
wikidataId?: Array<string>;
|
|
6476
|
+
/**
|
|
6477
|
+
* Retrieve all pages whose Wikidata entities are instances of these provided ids.
|
|
6478
|
+
*/
|
|
6479
|
+
wikidataInstanceOfId?: Array<string>;
|
|
6480
|
+
/**
|
|
6481
|
+
* Retrieve all pages whose Wikidata entities are instances of these ids (provided as labels).
|
|
6482
|
+
*/
|
|
6483
|
+
wikidataInstanceOfLabel?: Array<string>;
|
|
6484
|
+
/**
|
|
6485
|
+
* Retrieve all pages for specified categories.
|
|
6486
|
+
*/
|
|
6487
|
+
category?: Array<string>;
|
|
6488
|
+
/**
|
|
6489
|
+
* Retrieve pages containing provided section ids. Each section ID is unique.
|
|
6490
|
+
*/
|
|
6491
|
+
sectionId?: Array<string>;
|
|
6492
|
+
/**
|
|
6493
|
+
* Retrieve pages modified after this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
|
|
6494
|
+
*/
|
|
6495
|
+
wikiRevisionFrom?: Date;
|
|
6496
|
+
/**
|
|
6497
|
+
* Retrieve pages modified before this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
|
|
6498
|
+
*/
|
|
6499
|
+
wikiRevisionTo?: Date;
|
|
6500
|
+
/**
|
|
6501
|
+
* Retrieve pages scraped after this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
|
|
6502
|
+
*/
|
|
6503
|
+
scrapedAtFrom?: Date;
|
|
6504
|
+
/**
|
|
6505
|
+
* Retrieve pages scraped before this date. Accepts ISO 8601 format (e.g., 2023-03-01T00:00:00) or yyyy-mm-dd format.
|
|
6506
|
+
*/
|
|
6507
|
+
scrapedAtTo?: Date;
|
|
6508
|
+
/**
|
|
6509
|
+
* Retrieve pages with the average number of views per day higher than the provided value.
|
|
6510
|
+
*/
|
|
6511
|
+
pageviewsFrom?: number;
|
|
6512
|
+
/**
|
|
6513
|
+
* Retrieve pages with the average number of views per day lower than the provided value.
|
|
6514
|
+
*/
|
|
6515
|
+
pageviewsTo?: number;
|
|
6516
|
+
/**
|
|
6517
|
+
* Retrieve pages that have any viewership statistics available for them. If `false` (the default) - return all pages.
|
|
6518
|
+
*/
|
|
6519
|
+
withPageviews?: boolean;
|
|
6520
|
+
/**
|
|
6521
|
+
* Whether to show the total number of all matched pages. Default value is false which makes queries a bit more efficient but also counts up to 10000 pages.
|
|
6522
|
+
*/
|
|
6523
|
+
showNumResults?: boolean;
|
|
6524
|
+
/**
|
|
6525
|
+
* The specific page of results to retrieve in the paginated response. Starts at 0.
|
|
6526
|
+
*/
|
|
6527
|
+
page?: number;
|
|
6528
|
+
/**
|
|
6529
|
+
* The number of articles to return per page in the paginated response.
|
|
6530
|
+
*/
|
|
6531
|
+
size?: number;
|
|
6532
|
+
/**
|
|
6533
|
+
* Determines the Wikipedia page sorting order. Options include relevance (default), revisionTsDesc (recently edited first), revisionTsAsc (recently edited last), pageViewsDesc (highest viewership first), pageViewsAsc (highest viewership last), scrapedAtDesc (recently scraped first), scrapedAtAsc (recently scraped last).
|
|
6534
|
+
*/
|
|
6535
|
+
sortBy?: SortBy;
|
|
6536
|
+
}
|
|
5735
6537
|
interface VectorSearchArticlesRequest {
|
|
5736
6538
|
/**
|
|
5737
6539
|
* Parameter articleSearchParams
|
|
@@ -5739,6 +6541,13 @@ interface VectorSearchArticlesRequest {
|
|
|
5739
6541
|
*/
|
|
5740
6542
|
articleSearchParams: ArticleSearchParams;
|
|
5741
6543
|
}
|
|
6544
|
+
interface VectorSearchWikipediaRequest {
|
|
6545
|
+
/**
|
|
6546
|
+
* Parameter wikipediaSearchParams
|
|
6547
|
+
* @required
|
|
6548
|
+
*/
|
|
6549
|
+
wikipediaSearchParams: WikipediaSearchParams;
|
|
6550
|
+
}
|
|
5742
6551
|
/**
|
|
5743
6552
|
* V1Api - interface
|
|
5744
6553
|
*
|
|
@@ -5881,21 +6690,51 @@ interface V1ApiInterface {
|
|
|
5881
6690
|
* Topics
|
|
5882
6691
|
*/
|
|
5883
6692
|
searchTopics(requestParameters: SearchTopicsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<TopicSearchResult>;
|
|
6693
|
+
/**
|
|
6694
|
+
* Search and filter all Wikipedia pages available via the Perigon API. The result includes a list of individual pages that were matched to your specific criteria.
|
|
6695
|
+
* @summary Wikipedia
|
|
6696
|
+
* @param requestParameters - Request parameters (see interface for details)
|
|
6697
|
+
* @param initOverrides - Override the default HTTP request configuration
|
|
6698
|
+
* @returns {Promise<runtime.ApiResponse<WikipediaSearchResult>}} Raw API response
|
|
6699
|
+
* @throws {RequiredError}
|
|
6700
|
+
* @memberof V1ApiInterface
|
|
6701
|
+
*/
|
|
6702
|
+
searchWikipediaRaw(requestParameters: SearchWikipediaRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<WikipediaSearchResult>>;
|
|
6703
|
+
/**
|
|
6704
|
+
* Search and filter all Wikipedia pages available via the Perigon API. The result includes a list of individual pages that were matched to your specific criteria.
|
|
6705
|
+
* Wikipedia
|
|
6706
|
+
*/
|
|
6707
|
+
searchWikipedia(requestParameters: SearchWikipediaRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<WikipediaSearchResult>;
|
|
5884
6708
|
/**
|
|
5885
6709
|
* Perform a natural language search over news articles from the past 6 months using semantic relevance. The result includes a list of articles most closely matched to your query intent.
|
|
5886
6710
|
* @summary Vector
|
|
5887
6711
|
* @param requestParameters - Request parameters (see interface for details)
|
|
5888
6712
|
* @param initOverrides - Override the default HTTP request configuration
|
|
5889
|
-
* @returns {Promise<runtime.ApiResponse<
|
|
6713
|
+
* @returns {Promise<runtime.ApiResponse<ArticlesVectorSearchResult>}} Raw API response
|
|
5890
6714
|
* @throws {RequiredError}
|
|
5891
6715
|
* @memberof V1ApiInterface
|
|
5892
6716
|
*/
|
|
5893
|
-
vectorSearchArticlesRaw(requestParameters: VectorSearchArticlesRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<
|
|
6717
|
+
vectorSearchArticlesRaw(requestParameters: VectorSearchArticlesRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ArticlesVectorSearchResult>>;
|
|
5894
6718
|
/**
|
|
5895
6719
|
* Perform a natural language search over news articles from the past 6 months using semantic relevance. The result includes a list of articles most closely matched to your query intent.
|
|
5896
6720
|
* Vector
|
|
5897
6721
|
*/
|
|
5898
|
-
vectorSearchArticles(requestParameters: VectorSearchArticlesRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<
|
|
6722
|
+
vectorSearchArticles(requestParameters: VectorSearchArticlesRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ArticlesVectorSearchResult>;
|
|
6723
|
+
/**
|
|
6724
|
+
* Perform a natural language search over Wikipedia pages using semantic relevance. The result includes a list of page sections most closely matched to your query intent.
|
|
6725
|
+
* @summary Vector
|
|
6726
|
+
* @param requestParameters - Request parameters (see interface for details)
|
|
6727
|
+
* @param initOverrides - Override the default HTTP request configuration
|
|
6728
|
+
* @returns {Promise<runtime.ApiResponse<WikipediaVectorSearchResult>}} Raw API response
|
|
6729
|
+
* @throws {RequiredError}
|
|
6730
|
+
* @memberof V1ApiInterface
|
|
6731
|
+
*/
|
|
6732
|
+
vectorSearchWikipediaRaw(requestParameters: VectorSearchWikipediaRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<WikipediaVectorSearchResult>>;
|
|
6733
|
+
/**
|
|
6734
|
+
* Perform a natural language search over Wikipedia pages using semantic relevance. The result includes a list of page sections most closely matched to your query intent.
|
|
6735
|
+
* Vector
|
|
6736
|
+
*/
|
|
6737
|
+
vectorSearchWikipedia(requestParameters: VectorSearchWikipediaRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<WikipediaVectorSearchResult>;
|
|
5899
6738
|
}
|
|
5900
6739
|
/**
|
|
5901
6740
|
*
|
|
@@ -5991,16 +6830,36 @@ declare class V1Api extends BaseAPI implements V1ApiInterface {
|
|
|
5991
6830
|
* Topics
|
|
5992
6831
|
*/
|
|
5993
6832
|
searchTopics(requestParameters?: SearchTopicsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<TopicSearchResult>;
|
|
6833
|
+
/**
|
|
6834
|
+
* Search and filter all Wikipedia pages available via the Perigon API. The result includes a list of individual pages that were matched to your specific criteria.
|
|
6835
|
+
* Wikipedia
|
|
6836
|
+
*/
|
|
6837
|
+
searchWikipediaRaw(requestParameters: SearchWikipediaRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<WikipediaSearchResult>>;
|
|
6838
|
+
/**
|
|
6839
|
+
* Search and filter all Wikipedia pages available via the Perigon API. The result includes a list of individual pages that were matched to your specific criteria.
|
|
6840
|
+
* Wikipedia
|
|
6841
|
+
*/
|
|
6842
|
+
searchWikipedia(requestParameters?: SearchWikipediaRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<WikipediaSearchResult>;
|
|
5994
6843
|
/**
|
|
5995
6844
|
* Perform a natural language search over news articles from the past 6 months using semantic relevance. The result includes a list of articles most closely matched to your query intent.
|
|
5996
6845
|
* Vector
|
|
5997
6846
|
*/
|
|
5998
|
-
vectorSearchArticlesRaw(requestParameters: VectorSearchArticlesRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<
|
|
6847
|
+
vectorSearchArticlesRaw(requestParameters: VectorSearchArticlesRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ArticlesVectorSearchResult>>;
|
|
5999
6848
|
/**
|
|
6000
6849
|
* Perform a natural language search over news articles from the past 6 months using semantic relevance. The result includes a list of articles most closely matched to your query intent.
|
|
6001
6850
|
* Vector
|
|
6002
6851
|
*/
|
|
6003
|
-
vectorSearchArticles(requestParameters: VectorSearchArticlesRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<
|
|
6852
|
+
vectorSearchArticles(requestParameters: VectorSearchArticlesRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ArticlesVectorSearchResult>;
|
|
6853
|
+
/**
|
|
6854
|
+
* Perform a natural language search over Wikipedia pages using semantic relevance. The result includes a list of page sections most closely matched to your query intent.
|
|
6855
|
+
* Vector
|
|
6856
|
+
*/
|
|
6857
|
+
vectorSearchWikipediaRaw(requestParameters: VectorSearchWikipediaRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<WikipediaVectorSearchResult>>;
|
|
6858
|
+
/**
|
|
6859
|
+
* Perform a natural language search over Wikipedia pages using semantic relevance. The result includes a list of page sections most closely matched to your query intent.
|
|
6860
|
+
* Vector
|
|
6861
|
+
*/
|
|
6862
|
+
vectorSearchWikipedia(requestParameters: VectorSearchWikipediaRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<WikipediaVectorSearchResult>;
|
|
6004
6863
|
}
|
|
6005
6864
|
|
|
6006
|
-
export { AllEndpointSortBy, AllEndpointSortByFromJSON, AllEndpointSortByFromJSONTyped, AllEndpointSortByToJSON, AllEndpointSortByToJSONTyped, type ApiResponse, type Article, ArticleFromJSON, ArticleFromJSONTyped, type ArticleSearchFilter, ArticleSearchFilterFromJSON, ArticleSearchFilterFromJSONTyped, ArticleSearchFilterToJSON, ArticleSearchFilterToJSONTyped, type ArticleSearchParams, ArticleSearchParamsFromJSON, ArticleSearchParamsFromJSONTyped, ArticleSearchParamsToJSON, ArticleSearchParamsToJSONTyped, ArticleToJSON, ArticleToJSONTyped, type AuthException, AuthExceptionFromJSON, AuthExceptionFromJSONTyped, AuthExceptionStatusCodeEnum, AuthExceptionToJSON, AuthExceptionToJSONTyped, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, type CategoryHolder, CategoryHolderFromJSON, CategoryHolderFromJSONTyped, CategoryHolderToJSON, CategoryHolderToJSONTyped, type CategoryWithScoreHolder, CategoryWithScoreHolderFromJSON, CategoryWithScoreHolderFromJSONTyped, CategoryWithScoreHolderToJSON, CategoryWithScoreHolderToJSONTyped, type Company, type CompanyCount, CompanyCountFromJSON, CompanyCountFromJSONTyped, CompanyCountToJSON, CompanyCountToJSONTyped, CompanyFromJSON, CompanyFromJSONTyped, type CompanyHolder, CompanyHolderFromJSON, CompanyHolderFromJSONTyped, CompanyHolderToJSON, CompanyHolderToJSONTyped, type CompanySearchResult, CompanySearchResultFromJSON, CompanySearchResultFromJSONTyped, CompanySearchResultToJSON, CompanySearchResultToJSONTyped, CompanyToJSON, CompanyToJSONTyped, Configuration, type ConfigurationParameters, type Consume, type Coordinate, type CoordinateFilter, CoordinateFilterFromJSON, CoordinateFilterFromJSONTyped, CoordinateFilterToJSON, CoordinateFilterToJSONTyped, CoordinateFromJSON, CoordinateFromJSONTyped, CoordinateToJSON, CoordinateToJSONTyped, DefaultConfig, type EntityHolder, EntityHolderFromJSON, EntityHolderFromJSONTyped, EntityHolderToJSON, EntityHolderToJSONTyped, type ErrorContext, type EventTypeHolder, EventTypeHolderFromJSON, EventTypeHolderFromJSONTyped, EventTypeHolderToJSON, EventTypeHolderToJSONTyped, type FetchAPI, FetchError, type FetchParams, type GetJournalistByIdRequest, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type IdNameHolder, IdNameHolderFromJSON, IdNameHolderFromJSONTyped, IdNameHolderToJSON, IdNameHolderToJSONTyped, type IllegalParameterException, IllegalParameterExceptionFromJSON, IllegalParameterExceptionFromJSONTyped, IllegalParameterExceptionToJSON, IllegalParameterExceptionToJSONTyped, type ImageHolder, ImageHolderFromJSON, ImageHolderFromJSONTyped, ImageHolderToJSON, ImageHolderToJSONTyped, type InitOverrideFunction, type InternalErrorException, InternalErrorExceptionFromJSON, InternalErrorExceptionFromJSONTyped, InternalErrorExceptionToJSON, InternalErrorExceptionToJSONTyped, JSONApiResponse, type Journalist, JournalistFromJSON, JournalistFromJSONTyped, type JournalistSearchResult, JournalistSearchResultFromJSON, JournalistSearchResultFromJSONTyped, JournalistSearchResultToJSON, JournalistSearchResultToJSONTyped, JournalistToJSON, JournalistToJSONTyped, type Json, type KeyPoint, KeyPointFromJSON, KeyPointFromJSONTyped, KeyPointToJSON, KeyPointToJSONTyped, type KeywordHolder, KeywordHolderFromJSON, KeywordHolderFromJSONTyped, KeywordHolderToJSON, KeywordHolderToJSONTyped, type LabelHolder, LabelHolderFromJSON, LabelHolderFromJSONTyped, LabelHolderToJSON, LabelHolderToJSONTyped, type LocationCount, LocationCountFromJSON, LocationCountFromJSONTyped, LocationCountToJSON, LocationCountToJSONTyped, type LocationHolder, LocationHolderFromJSON, LocationHolderFromJSONTyped, LocationHolderToJSON, LocationHolderToJSONTyped, type Middleware, type ModelPropertyNaming, type NameCount, NameCountFromJSON, NameCountFromJSONTyped, NameCountToJSON, NameCountToJSONTyped, type NewsCluster, NewsClusterFromJSON, NewsClusterFromJSONTyped, NewsClusterToJSON, NewsClusterToJSONTyped, type NotFoundException, NotFoundExceptionFromJSON, NotFoundExceptionFromJSONTyped, NotFoundExceptionToJSON, NotFoundExceptionToJSONTyped, type PeopleSearchResult, PeopleSearchResultFromJSON, PeopleSearchResultFromJSONTyped, PeopleSearchResultToJSON, PeopleSearchResultToJSONTyped, type Person, type PersonCount, PersonCountFromJSON, PersonCountFromJSONTyped, PersonCountToJSON, PersonCountToJSONTyped, PersonFromJSON, PersonFromJSONTyped, type PersonHolder, PersonHolderFromJSON, PersonHolderFromJSONTyped, PersonHolderToJSON, PersonHolderToJSONTyped, PersonToJSON, PersonToJSONTyped, type Place, PlaceFromJSON, PlaceFromJSONTyped, PlaceToJSON, PlaceToJSONTyped, type QuerySearchResult, QuerySearchResultFromJSON, QuerySearchResultFromJSONTyped, QuerySearchResultToJSON, QuerySearchResultToJSONTyped, type Question, QuestionFromJSON, QuestionFromJSONTyped, QuestionToJSON, QuestionToJSONTyped, type RecordStatHolder, RecordStatHolderFromJSON, RecordStatHolderFromJSONTyped, RecordStatHolderToJSON, RecordStatHolderToJSONTyped, type RequestContext, type RequestOpts, RequiredError, type ResponseContext, ResponseError, type ResponseTransformer, type ScoredArticle, ScoredArticleFromJSON, ScoredArticleFromJSONTyped, ScoredArticleToJSON, ScoredArticleToJSONTyped, type SearchArticlesRequest, type SearchCompaniesRequest, type SearchJournalistsRequest, type SearchPeopleRequest, type SearchSourcesRequest, type SearchStoriesRequest, type SearchSummarizerRequest, type SearchTopicsRequest, type SentimentHolder, SentimentHolderFromJSON, SentimentHolderFromJSONTyped, SentimentHolderToJSON, SentimentHolderToJSONTyped, SortBy, SortByFromJSON, SortByFromJSONTyped, SortByToJSON, SortByToJSONTyped, type Source, SourceFromJSON, SourceFromJSONTyped, type SourceHolder, SourceHolderFromJSON, SourceHolderFromJSONTyped, SourceHolderToJSON, SourceHolderToJSONTyped, type SourceLocation, SourceLocationFromJSON, SourceLocationFromJSONTyped, SourceLocationToJSON, SourceLocationToJSONTyped, type SourceSearchResult, SourceSearchResultFromJSON, SourceSearchResultFromJSONTyped, SourceSearchResultToJSON, SourceSearchResultToJSONTyped, SourceToJSON, SourceToJSONTyped, type SourceTopStatHolder, SourceTopStatHolderFromJSON, SourceTopStatHolderFromJSONTyped, SourceTopStatHolderToJSON, SourceTopStatHolderToJSONTyped, type StorySearchResult, StorySearchResultFromJSON, StorySearchResultFromJSONTyped, StorySearchResultToJSON, StorySearchResultToJSONTyped, type SummaryBody, SummaryBodyFromJSON, SummaryBodyFromJSONTyped, SummaryBodyMethodEnum, SummaryBodyModelEnum, SummaryBodySummarizeFieldsEnum, SummaryBodyToJSON, SummaryBodyToJSONTyped, type SummarySearchResult, SummarySearchResultFromJSON, SummarySearchResultFromJSONTyped, SummarySearchResultToJSON, SummarySearchResultToJSONTyped, type SymbolHolder, SymbolHolderFromJSON, SymbolHolderFromJSONTyped, SymbolHolderToJSON, SymbolHolderToJSONTyped, TextApiResponse, type TooManyRequestsException, type TooManyRequestsExceptionCause, TooManyRequestsExceptionCauseFromJSON, TooManyRequestsExceptionCauseFromJSONTyped, type TooManyRequestsExceptionCauseStackTraceInner, TooManyRequestsExceptionCauseStackTraceInnerFromJSON, TooManyRequestsExceptionCauseStackTraceInnerFromJSONTyped, TooManyRequestsExceptionCauseStackTraceInnerToJSON, TooManyRequestsExceptionCauseStackTraceInnerToJSONTyped, TooManyRequestsExceptionCauseToJSON, TooManyRequestsExceptionCauseToJSONTyped, TooManyRequestsExceptionFromJSON, TooManyRequestsExceptionFromJSONTyped, TooManyRequestsExceptionStatusEnum, type TooManyRequestsExceptionSuppressedInner, TooManyRequestsExceptionSuppressedInnerFromJSON, TooManyRequestsExceptionSuppressedInnerFromJSONTyped, TooManyRequestsExceptionSuppressedInnerToJSON, TooManyRequestsExceptionSuppressedInnerToJSONTyped, TooManyRequestsExceptionToJSON, TooManyRequestsExceptionToJSONTyped, type TopicDto, TopicDtoFromJSON, TopicDtoFromJSONTyped, TopicDtoToJSON, TopicDtoToJSONTyped, type TopicHolder, TopicHolderFromJSON, TopicHolderFromJSONTyped, TopicHolderToJSON, TopicHolderToJSONTyped, type TopicLabels, TopicLabelsFromJSON, TopicLabelsFromJSONTyped, TopicLabelsToJSON, TopicLabelsToJSONTyped, type TopicSearchResult, TopicSearchResultFromJSON, TopicSearchResultFromJSONTyped, TopicSearchResultToJSON, TopicSearchResultToJSONTyped, V1Api, type V1ApiInterface, type VectorSearchArticlesRequest, type VectorSearchResult, VectorSearchResultFromJSON, VectorSearchResultFromJSONTyped, VectorSearchResultToJSON, VectorSearchResultToJSONTyped, VoidApiResponse, type WebResources, WebResourcesFromJSON, WebResourcesFromJSONTyped, WebResourcesToJSON, WebResourcesToJSONTyped, type WikidataDateHolder, WikidataDateHolderFromJSON, WikidataDateHolderFromJSONTyped, WikidataDateHolderToJSON, WikidataDateHolderToJSONTyped, type WikidataLabelHolder, WikidataLabelHolderFromJSON, WikidataLabelHolderFromJSONTyped, WikidataLabelHolderToJSON, WikidataLabelHolderToJSONTyped, type WikidataPoliticalPartyHolder, WikidataPoliticalPartyHolderFromJSON, WikidataPoliticalPartyHolderFromJSONTyped, WikidataPoliticalPartyHolderToJSON, WikidataPoliticalPartyHolderToJSONTyped, type WikidataPositionHolder, WikidataPositionHolderFromJSON, WikidataPositionHolderFromJSONTyped, WikidataPositionHolderToJSON, WikidataPositionHolderToJSONTyped, canConsumeForm, exists, instanceOfAllEndpointSortBy, instanceOfArticle, instanceOfArticleSearchFilter, instanceOfArticleSearchParams, instanceOfAuthException, instanceOfCategoryHolder, instanceOfCategoryWithScoreHolder, instanceOfCompany, instanceOfCompanyCount, instanceOfCompanyHolder, instanceOfCompanySearchResult, instanceOfCoordinate, instanceOfCoordinateFilter, instanceOfEntityHolder, instanceOfEventTypeHolder, instanceOfIdNameHolder, instanceOfIllegalParameterException, instanceOfImageHolder, instanceOfInternalErrorException, instanceOfJournalist, instanceOfJournalistSearchResult, instanceOfKeyPoint, instanceOfKeywordHolder, instanceOfLabelHolder, instanceOfLocationCount, instanceOfLocationHolder, instanceOfNameCount, instanceOfNewsCluster, instanceOfNotFoundException, instanceOfPeopleSearchResult, instanceOfPerson, instanceOfPersonCount, instanceOfPersonHolder, instanceOfPlace, instanceOfQuerySearchResult, instanceOfQuestion, instanceOfRecordStatHolder, instanceOfScoredArticle, instanceOfSentimentHolder, instanceOfSortBy, instanceOfSource, instanceOfSourceHolder, instanceOfSourceLocation, instanceOfSourceSearchResult, instanceOfSourceTopStatHolder, instanceOfStorySearchResult, instanceOfSummaryBody, instanceOfSummarySearchResult, instanceOfSymbolHolder, instanceOfTooManyRequestsException, instanceOfTooManyRequestsExceptionCause, instanceOfTooManyRequestsExceptionCauseStackTraceInner, instanceOfTooManyRequestsExceptionSuppressedInner, instanceOfTopicDto, instanceOfTopicHolder, instanceOfTopicLabels, instanceOfTopicSearchResult, instanceOfVectorSearchResult, instanceOfWebResources, instanceOfWikidataDateHolder, instanceOfWikidataLabelHolder, instanceOfWikidataPoliticalPartyHolder, instanceOfWikidataPositionHolder, mapValues, querystring };
|
|
6865
|
+
export { AllEndpointSortBy, AllEndpointSortByFromJSON, AllEndpointSortByFromJSONTyped, AllEndpointSortByToJSON, AllEndpointSortByToJSONTyped, type ApiResponse, type Article, ArticleFromJSON, ArticleFromJSONTyped, type ArticleSearchFilter, ArticleSearchFilterFromJSON, ArticleSearchFilterFromJSONTyped, ArticleSearchFilterToJSON, ArticleSearchFilterToJSONTyped, type ArticleSearchParams, ArticleSearchParamsFromJSON, ArticleSearchParamsFromJSONTyped, ArticleSearchParamsToJSON, ArticleSearchParamsToJSONTyped, ArticleToJSON, ArticleToJSONTyped, type ArticlesVectorSearchResult, ArticlesVectorSearchResultFromJSON, ArticlesVectorSearchResultFromJSONTyped, ArticlesVectorSearchResultToJSON, ArticlesVectorSearchResultToJSONTyped, type AuthException, type AuthExceptionCause, AuthExceptionCauseFromJSON, AuthExceptionCauseFromJSONTyped, type AuthExceptionCauseStackTraceInner, AuthExceptionCauseStackTraceInnerFromJSON, AuthExceptionCauseStackTraceInnerFromJSONTyped, AuthExceptionCauseStackTraceInnerToJSON, AuthExceptionCauseStackTraceInnerToJSONTyped, AuthExceptionCauseToJSON, AuthExceptionCauseToJSONTyped, AuthExceptionFromJSON, AuthExceptionFromJSONTyped, AuthExceptionStatusCodeEnum, type AuthExceptionSuppressedInner, AuthExceptionSuppressedInnerFromJSON, AuthExceptionSuppressedInnerFromJSONTyped, AuthExceptionSuppressedInnerToJSON, AuthExceptionSuppressedInnerToJSONTyped, AuthExceptionToJSON, AuthExceptionToJSONTyped, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, type CategoryHolder, CategoryHolderFromJSON, CategoryHolderFromJSONTyped, CategoryHolderToJSON, CategoryHolderToJSONTyped, type CategoryWithScoreHolder, CategoryWithScoreHolderFromJSON, CategoryWithScoreHolderFromJSONTyped, CategoryWithScoreHolderToJSON, CategoryWithScoreHolderToJSONTyped, type Company, type CompanyCount, CompanyCountFromJSON, CompanyCountFromJSONTyped, CompanyCountToJSON, CompanyCountToJSONTyped, CompanyFromJSON, CompanyFromJSONTyped, type CompanyHolder, CompanyHolderFromJSON, CompanyHolderFromJSONTyped, CompanyHolderToJSON, CompanyHolderToJSONTyped, type CompanySearchResult, CompanySearchResultFromJSON, CompanySearchResultFromJSONTyped, CompanySearchResultToJSON, CompanySearchResultToJSONTyped, CompanyToJSON, CompanyToJSONTyped, Configuration, type ConfigurationParameters, type Consume, type Coordinate, type CoordinateFilter, CoordinateFilterFromJSON, CoordinateFilterFromJSONTyped, CoordinateFilterToJSON, CoordinateFilterToJSONTyped, CoordinateFromJSON, CoordinateFromJSONTyped, CoordinateToJSON, CoordinateToJSONTyped, DefaultConfig, type EntityHolder, EntityHolderFromJSON, EntityHolderFromJSONTyped, EntityHolderToJSON, EntityHolderToJSONTyped, type ErrorContext, type EventTypeHolder, EventTypeHolderFromJSON, EventTypeHolderFromJSONTyped, EventTypeHolderToJSON, EventTypeHolderToJSONTyped, type FetchAPI, FetchError, type FetchParams, type GetJournalistByIdRequest, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type IdNameHolder, IdNameHolderFromJSON, IdNameHolderFromJSONTyped, IdNameHolderToJSON, IdNameHolderToJSONTyped, type IllegalParameterException, IllegalParameterExceptionFromJSON, IllegalParameterExceptionFromJSONTyped, IllegalParameterExceptionToJSON, IllegalParameterExceptionToJSONTyped, type ImageHolder, ImageHolderFromJSON, ImageHolderFromJSONTyped, ImageHolderToJSON, ImageHolderToJSONTyped, type InitOverrideFunction, type InternalErrorException, InternalErrorExceptionFromJSON, InternalErrorExceptionFromJSONTyped, InternalErrorExceptionToJSON, InternalErrorExceptionToJSONTyped, JSONApiResponse, type Journalist, JournalistFromJSON, JournalistFromJSONTyped, type JournalistSearchResult, JournalistSearchResultFromJSON, JournalistSearchResultFromJSONTyped, JournalistSearchResultToJSON, JournalistSearchResultToJSONTyped, JournalistToJSON, JournalistToJSONTyped, type Json, type KeyPoint, KeyPointFromJSON, KeyPointFromJSONTyped, KeyPointToJSON, KeyPointToJSONTyped, type KeywordHolder, KeywordHolderFromJSON, KeywordHolderFromJSONTyped, KeywordHolderToJSON, KeywordHolderToJSONTyped, type LabelHolder, LabelHolderFromJSON, LabelHolderFromJSONTyped, LabelHolderToJSON, LabelHolderToJSONTyped, type LocationCount, LocationCountFromJSON, LocationCountFromJSONTyped, LocationCountToJSON, LocationCountToJSONTyped, type LocationHolder, LocationHolderFromJSON, LocationHolderFromJSONTyped, LocationHolderToJSON, LocationHolderToJSONTyped, type Middleware, type ModelPropertyNaming, type NameCount, NameCountFromJSON, NameCountFromJSONTyped, NameCountToJSON, NameCountToJSONTyped, type NewsCluster, NewsClusterFromJSON, NewsClusterFromJSONTyped, NewsClusterToJSON, NewsClusterToJSONTyped, type NotFoundException, NotFoundExceptionFromJSON, NotFoundExceptionFromJSONTyped, NotFoundExceptionToJSON, NotFoundExceptionToJSONTyped, type PeopleSearchResult, PeopleSearchResultFromJSON, PeopleSearchResultFromJSONTyped, PeopleSearchResultToJSON, PeopleSearchResultToJSONTyped, type Person, type PersonCount, PersonCountFromJSON, PersonCountFromJSONTyped, PersonCountToJSON, PersonCountToJSONTyped, PersonFromJSON, PersonFromJSONTyped, type PersonHolder, PersonHolderFromJSON, PersonHolderFromJSONTyped, PersonHolderToJSON, PersonHolderToJSONTyped, PersonToJSON, PersonToJSONTyped, type Place, PlaceFromJSON, PlaceFromJSONTyped, PlaceToJSON, PlaceToJSONTyped, type QuerySearchResult, QuerySearchResultFromJSON, QuerySearchResultFromJSONTyped, QuerySearchResultToJSON, QuerySearchResultToJSONTyped, type Question, QuestionFromJSON, QuestionFromJSONTyped, QuestionToJSON, QuestionToJSONTyped, type RecordStatHolder, RecordStatHolderFromJSON, RecordStatHolderFromJSONTyped, RecordStatHolderToJSON, RecordStatHolderToJSONTyped, type RequestContext, type RequestOpts, RequiredError, type ResponseContext, ResponseError, type ResponseTransformer, type ScoredDataArticle, ScoredDataArticleFromJSON, ScoredDataArticleFromJSONTyped, ScoredDataArticleToJSON, ScoredDataArticleToJSONTyped, type ScoredDataWikiData, ScoredDataWikiDataFromJSON, ScoredDataWikiDataFromJSONTyped, ScoredDataWikiDataToJSON, ScoredDataWikiDataToJSONTyped, type SearchArticlesRequest, type SearchCompaniesRequest, type SearchJournalistsRequest, type SearchPeopleRequest, type SearchSourcesRequest, type SearchStoriesRequest, type SearchSummarizerRequest, type SearchTopicsRequest, type SearchWikipediaRequest, type SentimentHolder, SentimentHolderFromJSON, SentimentHolderFromJSONTyped, SentimentHolderToJSON, SentimentHolderToJSONTyped, SortBy, SortByFromJSON, SortByFromJSONTyped, SortByToJSON, SortByToJSONTyped, type Source, SourceFromJSON, SourceFromJSONTyped, type SourceHolder, SourceHolderFromJSON, SourceHolderFromJSONTyped, SourceHolderToJSON, SourceHolderToJSONTyped, type SourceLocation, SourceLocationFromJSON, SourceLocationFromJSONTyped, SourceLocationToJSON, SourceLocationToJSONTyped, type SourceSearchResult, SourceSearchResultFromJSON, SourceSearchResultFromJSONTyped, SourceSearchResultToJSON, SourceSearchResultToJSONTyped, SourceToJSON, SourceToJSONTyped, type SourceTopStatHolder, SourceTopStatHolderFromJSON, SourceTopStatHolderFromJSONTyped, SourceTopStatHolderToJSON, SourceTopStatHolderToJSONTyped, type StorySearchResult, StorySearchResultFromJSON, StorySearchResultFromJSONTyped, StorySearchResultToJSON, StorySearchResultToJSONTyped, type SummaryBody, SummaryBodyFromJSON, SummaryBodyFromJSONTyped, SummaryBodyMethodEnum, SummaryBodyModelEnum, SummaryBodySummarizeFieldsEnum, SummaryBodyToJSON, SummaryBodyToJSONTyped, type SummarySearchResult, SummarySearchResultFromJSON, SummarySearchResultFromJSONTyped, SummarySearchResultToJSON, SummarySearchResultToJSONTyped, type SymbolHolder, SymbolHolderFromJSON, SymbolHolderFromJSONTyped, SymbolHolderToJSON, SymbolHolderToJSONTyped, TextApiResponse, type TooManyRequestsException, TooManyRequestsExceptionFromJSON, TooManyRequestsExceptionFromJSONTyped, TooManyRequestsExceptionStatusEnum, TooManyRequestsExceptionToJSON, TooManyRequestsExceptionToJSONTyped, type TopicDto, TopicDtoFromJSON, TopicDtoFromJSONTyped, TopicDtoToJSON, TopicDtoToJSONTyped, type TopicHolder, TopicHolderFromJSON, TopicHolderFromJSONTyped, TopicHolderToJSON, TopicHolderToJSONTyped, type TopicLabels, TopicLabelsFromJSON, TopicLabelsFromJSONTyped, TopicLabelsToJSON, TopicLabelsToJSONTyped, type TopicSearchResult, TopicSearchResultFromJSON, TopicSearchResultFromJSONTyped, TopicSearchResultToJSON, TopicSearchResultToJSONTyped, V1Api, type V1ApiInterface, type VectorSearchArticlesRequest, type VectorSearchWikipediaRequest, VoidApiResponse, type WebResources, WebResourcesFromJSON, WebResourcesFromJSONTyped, WebResourcesToJSON, WebResourcesToJSONTyped, type WikiData, WikiDataFromJSON, WikiDataFromJSONTyped, WikiDataToJSON, WikiDataToJSONTyped, type WikiPage, WikiPageFromJSON, WikiPageFromJSONTyped, type WikiPageSectionHolder, WikiPageSectionHolderFromJSON, WikiPageSectionHolderFromJSONTyped, WikiPageSectionHolderToJSON, WikiPageSectionHolderToJSONTyped, WikiPageToJSON, WikiPageToJSONTyped, type WikidataDateHolder, WikidataDateHolderFromJSON, WikidataDateHolderFromJSONTyped, WikidataDateHolderToJSON, WikidataDateHolderToJSONTyped, type WikidataLabelHolder, WikidataLabelHolderFromJSON, WikidataLabelHolderFromJSONTyped, WikidataLabelHolderToJSON, WikidataLabelHolderToJSONTyped, type WikidataPoliticalPartyHolder, WikidataPoliticalPartyHolderFromJSON, WikidataPoliticalPartyHolderFromJSONTyped, WikidataPoliticalPartyHolderToJSON, WikidataPoliticalPartyHolderToJSONTyped, type WikidataPositionHolder, WikidataPositionHolderFromJSON, WikidataPositionHolderFromJSONTyped, WikidataPositionHolderToJSON, WikidataPositionHolderToJSONTyped, type WikipediaSearchFilter, WikipediaSearchFilterFromJSON, WikipediaSearchFilterFromJSONTyped, WikipediaSearchFilterToJSON, WikipediaSearchFilterToJSONTyped, type WikipediaSearchParams, WikipediaSearchParamsFromJSON, WikipediaSearchParamsFromJSONTyped, WikipediaSearchParamsToJSON, WikipediaSearchParamsToJSONTyped, type WikipediaSearchResult, WikipediaSearchResultFromJSON, WikipediaSearchResultFromJSONTyped, WikipediaSearchResultToJSON, WikipediaSearchResultToJSONTyped, type WikipediaVectorSearchResult, WikipediaVectorSearchResultFromJSON, WikipediaVectorSearchResultFromJSONTyped, WikipediaVectorSearchResultToJSON, WikipediaVectorSearchResultToJSONTyped, canConsumeForm, exists, instanceOfAllEndpointSortBy, instanceOfArticle, instanceOfArticleSearchFilter, instanceOfArticleSearchParams, instanceOfArticlesVectorSearchResult, instanceOfAuthException, instanceOfAuthExceptionCause, instanceOfAuthExceptionCauseStackTraceInner, instanceOfAuthExceptionSuppressedInner, instanceOfCategoryHolder, instanceOfCategoryWithScoreHolder, instanceOfCompany, instanceOfCompanyCount, instanceOfCompanyHolder, instanceOfCompanySearchResult, instanceOfCoordinate, instanceOfCoordinateFilter, instanceOfEntityHolder, instanceOfEventTypeHolder, instanceOfIdNameHolder, instanceOfIllegalParameterException, instanceOfImageHolder, instanceOfInternalErrorException, instanceOfJournalist, instanceOfJournalistSearchResult, instanceOfKeyPoint, instanceOfKeywordHolder, instanceOfLabelHolder, instanceOfLocationCount, instanceOfLocationHolder, instanceOfNameCount, instanceOfNewsCluster, instanceOfNotFoundException, instanceOfPeopleSearchResult, instanceOfPerson, instanceOfPersonCount, instanceOfPersonHolder, instanceOfPlace, instanceOfQuerySearchResult, instanceOfQuestion, instanceOfRecordStatHolder, instanceOfScoredDataArticle, instanceOfScoredDataWikiData, instanceOfSentimentHolder, instanceOfSortBy, instanceOfSource, instanceOfSourceHolder, instanceOfSourceLocation, instanceOfSourceSearchResult, instanceOfSourceTopStatHolder, instanceOfStorySearchResult, instanceOfSummaryBody, instanceOfSummarySearchResult, instanceOfSymbolHolder, instanceOfTooManyRequestsException, instanceOfTopicDto, instanceOfTopicHolder, instanceOfTopicLabels, instanceOfTopicSearchResult, instanceOfWebResources, instanceOfWikiData, instanceOfWikiPage, instanceOfWikiPageSectionHolder, instanceOfWikidataDateHolder, instanceOfWikidataLabelHolder, instanceOfWikidataPoliticalPartyHolder, instanceOfWikidataPositionHolder, instanceOfWikipediaSearchFilter, instanceOfWikipediaSearchParams, instanceOfWikipediaSearchResult, instanceOfWikipediaVectorSearchResult, mapValues, querystring };
|