n8n-nodes-pdfvector 2.1.5 → 2.1.7
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 +2 -0
- package/dist/nodes/PdfVector/document/index.js +3 -2
- package/dist/nodes/PdfVector/document/index.js.map +1 -1
- package/dist/nodes/PdfVector/shared/options.d.ts +1 -1
- package/dist/nodes/PdfVector/shared/options.js +13 -1
- package/dist/nodes/PdfVector/shared/options.js.map +1 -1
- package/dist/nodes/PdfVector/shared/pdfvector-api.types.d.ts +326 -107
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -223,7 +223,7 @@ export interface paths {
|
|
|
223
223
|
patch?: never;
|
|
224
224
|
trace?: never;
|
|
225
225
|
};
|
|
226
|
-
"/academic/
|
|
226
|
+
"/academic/paperGraph": {
|
|
227
227
|
parameters: {
|
|
228
228
|
query?: never;
|
|
229
229
|
header?: never;
|
|
@@ -232,14 +232,14 @@ export interface paths {
|
|
|
232
232
|
};
|
|
233
233
|
get?: never;
|
|
234
234
|
put?: never;
|
|
235
|
-
post: operations["academic.
|
|
235
|
+
post: operations["academic.paperGraph"];
|
|
236
236
|
delete?: never;
|
|
237
237
|
options?: never;
|
|
238
238
|
head?: never;
|
|
239
239
|
patch?: never;
|
|
240
240
|
trace?: never;
|
|
241
241
|
};
|
|
242
|
-
"/academic/
|
|
242
|
+
"/academic/parse": {
|
|
243
243
|
parameters: {
|
|
244
244
|
query?: never;
|
|
245
245
|
header?: never;
|
|
@@ -248,14 +248,14 @@ export interface paths {
|
|
|
248
248
|
};
|
|
249
249
|
get?: never;
|
|
250
250
|
put?: never;
|
|
251
|
-
post: operations["academic.
|
|
251
|
+
post: operations["academic.parse"];
|
|
252
252
|
delete?: never;
|
|
253
253
|
options?: never;
|
|
254
254
|
head?: never;
|
|
255
255
|
patch?: never;
|
|
256
256
|
trace?: never;
|
|
257
257
|
};
|
|
258
|
-
"/academic/
|
|
258
|
+
"/academic/search": {
|
|
259
259
|
parameters: {
|
|
260
260
|
query?: never;
|
|
261
261
|
header?: never;
|
|
@@ -264,7 +264,7 @@ export interface paths {
|
|
|
264
264
|
};
|
|
265
265
|
get?: never;
|
|
266
266
|
put?: never;
|
|
267
|
-
post: operations["academic.
|
|
267
|
+
post: operations["academic.search"];
|
|
268
268
|
delete?: never;
|
|
269
269
|
options?: never;
|
|
270
270
|
head?: never;
|
|
@@ -287,6 +287,22 @@ export interface paths {
|
|
|
287
287
|
patch?: never;
|
|
288
288
|
trace?: never;
|
|
289
289
|
};
|
|
290
|
+
"/academic/similarPapers": {
|
|
291
|
+
parameters: {
|
|
292
|
+
query?: never;
|
|
293
|
+
header?: never;
|
|
294
|
+
path?: never;
|
|
295
|
+
cookie?: never;
|
|
296
|
+
};
|
|
297
|
+
get?: never;
|
|
298
|
+
put?: never;
|
|
299
|
+
post: operations["academic.similarPapers"];
|
|
300
|
+
delete?: never;
|
|
301
|
+
options?: never;
|
|
302
|
+
head?: never;
|
|
303
|
+
patch?: never;
|
|
304
|
+
trace?: never;
|
|
305
|
+
};
|
|
290
306
|
}
|
|
291
307
|
export type webhooks = Record<string, never>;
|
|
292
308
|
export interface components {
|
|
@@ -316,6 +332,11 @@ export interface operations {
|
|
|
316
332
|
base64?: string;
|
|
317
333
|
question: string;
|
|
318
334
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
335
|
+
documentId?: string;
|
|
336
|
+
callback?: {
|
|
337
|
+
url: string;
|
|
338
|
+
type?: string;
|
|
339
|
+
};
|
|
319
340
|
};
|
|
320
341
|
"multipart/form-data": {
|
|
321
342
|
url?: string;
|
|
@@ -323,6 +344,11 @@ export interface operations {
|
|
|
323
344
|
base64?: string;
|
|
324
345
|
question: string;
|
|
325
346
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
347
|
+
documentId?: string;
|
|
348
|
+
callback?: {
|
|
349
|
+
url: string;
|
|
350
|
+
type?: string;
|
|
351
|
+
};
|
|
326
352
|
};
|
|
327
353
|
};
|
|
328
354
|
};
|
|
@@ -364,6 +390,11 @@ export interface operations {
|
|
|
364
390
|
[key: string]: unknown;
|
|
365
391
|
} | string;
|
|
366
392
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
393
|
+
documentId?: string;
|
|
394
|
+
callback?: {
|
|
395
|
+
url: string;
|
|
396
|
+
type?: string;
|
|
397
|
+
};
|
|
367
398
|
};
|
|
368
399
|
"multipart/form-data": {
|
|
369
400
|
url?: string;
|
|
@@ -374,6 +405,11 @@ export interface operations {
|
|
|
374
405
|
[key: string]: unknown;
|
|
375
406
|
} | string;
|
|
376
407
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
408
|
+
documentId?: string;
|
|
409
|
+
callback?: {
|
|
410
|
+
url: string;
|
|
411
|
+
type?: string;
|
|
412
|
+
};
|
|
377
413
|
};
|
|
378
414
|
};
|
|
379
415
|
};
|
|
@@ -411,12 +447,24 @@ export interface operations {
|
|
|
411
447
|
file?: string;
|
|
412
448
|
base64?: string;
|
|
413
449
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
450
|
+
includePages?: boolean | ("true" | "false");
|
|
451
|
+
documentId?: string;
|
|
452
|
+
callback?: {
|
|
453
|
+
url: string;
|
|
454
|
+
type?: string;
|
|
455
|
+
};
|
|
414
456
|
};
|
|
415
457
|
"multipart/form-data": {
|
|
416
458
|
url?: string;
|
|
417
459
|
file?: string;
|
|
418
460
|
base64?: string;
|
|
419
461
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
462
|
+
includePages?: boolean | ("true" | "false");
|
|
463
|
+
documentId?: string;
|
|
464
|
+
callback?: {
|
|
465
|
+
url: string;
|
|
466
|
+
type?: string;
|
|
467
|
+
};
|
|
420
468
|
};
|
|
421
469
|
};
|
|
422
470
|
};
|
|
@@ -427,6 +475,9 @@ export interface operations {
|
|
|
427
475
|
};
|
|
428
476
|
content: {
|
|
429
477
|
"application/json": {
|
|
478
|
+
documentFormat?: "pdf" | "docx" | "xlsx" | "pptx" | "odt" | "ods" | "odp" | "txt" | "md" | "html" | "csv" | "tsv" | "xml" | "json" | "rtf" | "vtt";
|
|
479
|
+
pageUnit?: "page" | "sheet" | "slide" | "chunk";
|
|
480
|
+
warnings?: string[];
|
|
430
481
|
markdown: string;
|
|
431
482
|
pageCount: number;
|
|
432
483
|
model: "nano" | "mini" | "pro" | "max";
|
|
@@ -434,6 +485,10 @@ export interface operations {
|
|
|
434
485
|
requestId: number;
|
|
435
486
|
html?: string;
|
|
436
487
|
documentId?: string;
|
|
488
|
+
pages?: {
|
|
489
|
+
pageNumber: number;
|
|
490
|
+
markdown: string;
|
|
491
|
+
}[];
|
|
437
492
|
};
|
|
438
493
|
};
|
|
439
494
|
};
|
|
@@ -456,6 +511,11 @@ export interface operations {
|
|
|
456
511
|
base64?: string;
|
|
457
512
|
question: string;
|
|
458
513
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
514
|
+
documentId?: string;
|
|
515
|
+
callback?: {
|
|
516
|
+
url: string;
|
|
517
|
+
type?: string;
|
|
518
|
+
};
|
|
459
519
|
};
|
|
460
520
|
"multipart/form-data": {
|
|
461
521
|
url?: string;
|
|
@@ -463,6 +523,11 @@ export interface operations {
|
|
|
463
523
|
base64?: string;
|
|
464
524
|
question: string;
|
|
465
525
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
526
|
+
documentId?: string;
|
|
527
|
+
callback?: {
|
|
528
|
+
url: string;
|
|
529
|
+
type?: string;
|
|
530
|
+
};
|
|
466
531
|
};
|
|
467
532
|
};
|
|
468
533
|
};
|
|
@@ -504,6 +569,11 @@ export interface operations {
|
|
|
504
569
|
[key: string]: unknown;
|
|
505
570
|
} | string;
|
|
506
571
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
572
|
+
documentId?: string;
|
|
573
|
+
callback?: {
|
|
574
|
+
url: string;
|
|
575
|
+
type?: string;
|
|
576
|
+
};
|
|
507
577
|
};
|
|
508
578
|
"multipart/form-data": {
|
|
509
579
|
url?: string;
|
|
@@ -514,6 +584,11 @@ export interface operations {
|
|
|
514
584
|
[key: string]: unknown;
|
|
515
585
|
} | string;
|
|
516
586
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
587
|
+
documentId?: string;
|
|
588
|
+
callback?: {
|
|
589
|
+
url: string;
|
|
590
|
+
type?: string;
|
|
591
|
+
};
|
|
517
592
|
};
|
|
518
593
|
};
|
|
519
594
|
};
|
|
@@ -551,12 +626,22 @@ export interface operations {
|
|
|
551
626
|
file?: string;
|
|
552
627
|
base64?: string;
|
|
553
628
|
model?: "pro" | "max" | "auto";
|
|
629
|
+
documentId?: string;
|
|
630
|
+
callback?: {
|
|
631
|
+
url: string;
|
|
632
|
+
type?: string;
|
|
633
|
+
};
|
|
554
634
|
};
|
|
555
635
|
"multipart/form-data": {
|
|
556
636
|
url?: string;
|
|
557
637
|
file?: string;
|
|
558
638
|
base64?: string;
|
|
559
639
|
model?: "pro" | "max" | "auto";
|
|
640
|
+
documentId?: string;
|
|
641
|
+
callback?: {
|
|
642
|
+
url: string;
|
|
643
|
+
type?: string;
|
|
644
|
+
};
|
|
560
645
|
};
|
|
561
646
|
};
|
|
562
647
|
};
|
|
@@ -597,6 +682,11 @@ export interface operations {
|
|
|
597
682
|
base64?: string;
|
|
598
683
|
question: string;
|
|
599
684
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
685
|
+
documentId?: string;
|
|
686
|
+
callback?: {
|
|
687
|
+
url: string;
|
|
688
|
+
type?: string;
|
|
689
|
+
};
|
|
600
690
|
};
|
|
601
691
|
"multipart/form-data": {
|
|
602
692
|
url?: string;
|
|
@@ -604,6 +694,11 @@ export interface operations {
|
|
|
604
694
|
base64?: string;
|
|
605
695
|
question: string;
|
|
606
696
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
697
|
+
documentId?: string;
|
|
698
|
+
callback?: {
|
|
699
|
+
url: string;
|
|
700
|
+
type?: string;
|
|
701
|
+
};
|
|
607
702
|
};
|
|
608
703
|
};
|
|
609
704
|
};
|
|
@@ -645,6 +740,11 @@ export interface operations {
|
|
|
645
740
|
[key: string]: unknown;
|
|
646
741
|
} | string;
|
|
647
742
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
743
|
+
documentId?: string;
|
|
744
|
+
callback?: {
|
|
745
|
+
url: string;
|
|
746
|
+
type?: string;
|
|
747
|
+
};
|
|
648
748
|
};
|
|
649
749
|
"multipart/form-data": {
|
|
650
750
|
url?: string;
|
|
@@ -655,6 +755,11 @@ export interface operations {
|
|
|
655
755
|
[key: string]: unknown;
|
|
656
756
|
} | string;
|
|
657
757
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
758
|
+
documentId?: string;
|
|
759
|
+
callback?: {
|
|
760
|
+
url: string;
|
|
761
|
+
type?: string;
|
|
762
|
+
};
|
|
658
763
|
};
|
|
659
764
|
};
|
|
660
765
|
};
|
|
@@ -692,12 +797,22 @@ export interface operations {
|
|
|
692
797
|
file?: string;
|
|
693
798
|
base64?: string;
|
|
694
799
|
model?: "pro" | "max" | "auto";
|
|
800
|
+
documentId?: string;
|
|
801
|
+
callback?: {
|
|
802
|
+
url: string;
|
|
803
|
+
type?: string;
|
|
804
|
+
};
|
|
695
805
|
};
|
|
696
806
|
"multipart/form-data": {
|
|
697
807
|
url?: string;
|
|
698
808
|
file?: string;
|
|
699
809
|
base64?: string;
|
|
700
810
|
model?: "pro" | "max" | "auto";
|
|
811
|
+
documentId?: string;
|
|
812
|
+
callback?: {
|
|
813
|
+
url: string;
|
|
814
|
+
type?: string;
|
|
815
|
+
};
|
|
701
816
|
};
|
|
702
817
|
};
|
|
703
818
|
};
|
|
@@ -737,6 +852,11 @@ export interface operations {
|
|
|
737
852
|
base64?: string;
|
|
738
853
|
question: string;
|
|
739
854
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
855
|
+
documentId?: string;
|
|
856
|
+
callback?: {
|
|
857
|
+
url: string;
|
|
858
|
+
type?: string;
|
|
859
|
+
};
|
|
740
860
|
};
|
|
741
861
|
"multipart/form-data": {
|
|
742
862
|
url?: string;
|
|
@@ -744,6 +864,11 @@ export interface operations {
|
|
|
744
864
|
base64?: string;
|
|
745
865
|
question: string;
|
|
746
866
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
867
|
+
documentId?: string;
|
|
868
|
+
callback?: {
|
|
869
|
+
url: string;
|
|
870
|
+
type?: string;
|
|
871
|
+
};
|
|
747
872
|
};
|
|
748
873
|
};
|
|
749
874
|
};
|
|
@@ -785,6 +910,11 @@ export interface operations {
|
|
|
785
910
|
[key: string]: unknown;
|
|
786
911
|
} | string;
|
|
787
912
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
913
|
+
documentId?: string;
|
|
914
|
+
callback?: {
|
|
915
|
+
url: string;
|
|
916
|
+
type?: string;
|
|
917
|
+
};
|
|
788
918
|
};
|
|
789
919
|
"multipart/form-data": {
|
|
790
920
|
url?: string;
|
|
@@ -795,6 +925,11 @@ export interface operations {
|
|
|
795
925
|
[key: string]: unknown;
|
|
796
926
|
} | string;
|
|
797
927
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
928
|
+
documentId?: string;
|
|
929
|
+
callback?: {
|
|
930
|
+
url: string;
|
|
931
|
+
type?: string;
|
|
932
|
+
};
|
|
798
933
|
};
|
|
799
934
|
};
|
|
800
935
|
};
|
|
@@ -832,12 +967,22 @@ export interface operations {
|
|
|
832
967
|
file?: string;
|
|
833
968
|
base64?: string;
|
|
834
969
|
model?: "pro" | "max" | "auto";
|
|
970
|
+
documentId?: string;
|
|
971
|
+
callback?: {
|
|
972
|
+
url: string;
|
|
973
|
+
type?: string;
|
|
974
|
+
};
|
|
835
975
|
};
|
|
836
976
|
"multipart/form-data": {
|
|
837
977
|
url?: string;
|
|
838
978
|
file?: string;
|
|
839
979
|
base64?: string;
|
|
840
980
|
model?: "pro" | "max" | "auto";
|
|
981
|
+
documentId?: string;
|
|
982
|
+
callback?: {
|
|
983
|
+
url: string;
|
|
984
|
+
type?: string;
|
|
985
|
+
};
|
|
841
986
|
};
|
|
842
987
|
};
|
|
843
988
|
};
|
|
@@ -872,6 +1017,10 @@ export interface operations {
|
|
|
872
1017
|
"application/json": {
|
|
873
1018
|
ids: string[];
|
|
874
1019
|
fields?: ("doi" | "title" | "url" | "providerURL" | "authors" | "date" | "year" | "totalCitations" | "totalReferences" | "abstract" | "pdfURL" | "provider" | "providerData")[] | null;
|
|
1020
|
+
callback?: {
|
|
1021
|
+
url: string;
|
|
1022
|
+
type?: string;
|
|
1023
|
+
};
|
|
875
1024
|
};
|
|
876
1025
|
};
|
|
877
1026
|
};
|
|
@@ -884,7 +1033,7 @@ export interface operations {
|
|
|
884
1033
|
"application/json": {
|
|
885
1034
|
results: {
|
|
886
1035
|
id: string;
|
|
887
|
-
detectedProvider?:
|
|
1036
|
+
detectedProvider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
888
1037
|
doi?: string | null;
|
|
889
1038
|
title?: string | null;
|
|
890
1039
|
url?: string | null;
|
|
@@ -899,7 +1048,7 @@ export interface operations {
|
|
|
899
1048
|
totalReferences?: number | null;
|
|
900
1049
|
abstract?: string | null;
|
|
901
1050
|
pdfURL?: string | null;
|
|
902
|
-
provider?:
|
|
1051
|
+
provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
903
1052
|
providerData?: {
|
|
904
1053
|
[key: string]: unknown;
|
|
905
1054
|
} | null;
|
|
@@ -928,6 +1077,10 @@ export interface operations {
|
|
|
928
1077
|
paragraph: string;
|
|
929
1078
|
providers?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref")[];
|
|
930
1079
|
fields?: ("doi" | "title" | "url" | "providerURL" | "authors" | "date" | "year" | "totalCitations" | "totalReferences" | "abstract" | "pdfURL" | "provider" | "providerData")[] | null;
|
|
1080
|
+
callback?: {
|
|
1081
|
+
url: string;
|
|
1082
|
+
type?: string;
|
|
1083
|
+
};
|
|
931
1084
|
};
|
|
932
1085
|
};
|
|
933
1086
|
};
|
|
@@ -956,7 +1109,7 @@ export interface operations {
|
|
|
956
1109
|
totalReferences?: number | null;
|
|
957
1110
|
abstract?: string | null;
|
|
958
1111
|
pdfURL?: string | null;
|
|
959
|
-
provider?:
|
|
1112
|
+
provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
960
1113
|
providerData?: {
|
|
961
1114
|
[key: string]: unknown;
|
|
962
1115
|
} | null;
|
|
@@ -971,68 +1124,6 @@ export interface operations {
|
|
|
971
1124
|
};
|
|
972
1125
|
};
|
|
973
1126
|
};
|
|
974
|
-
"academic.search": {
|
|
975
|
-
parameters: {
|
|
976
|
-
query?: never;
|
|
977
|
-
header?: never;
|
|
978
|
-
path?: never;
|
|
979
|
-
cookie?: never;
|
|
980
|
-
};
|
|
981
|
-
requestBody: {
|
|
982
|
-
content: {
|
|
983
|
-
"application/json": {
|
|
984
|
-
query: string;
|
|
985
|
-
providers?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref")[];
|
|
986
|
-
offset?: number;
|
|
987
|
-
limit?: number;
|
|
988
|
-
yearFrom?: number | null;
|
|
989
|
-
yearTo?: number | null;
|
|
990
|
-
fields?: ("doi" | "title" | "url" | "providerURL" | "authors" | "date" | "year" | "totalCitations" | "totalReferences" | "abstract" | "pdfURL" | "provider" | "providerData")[] | null;
|
|
991
|
-
};
|
|
992
|
-
};
|
|
993
|
-
};
|
|
994
|
-
responses: {
|
|
995
|
-
200: {
|
|
996
|
-
headers: {
|
|
997
|
-
[name: string]: unknown;
|
|
998
|
-
};
|
|
999
|
-
content: {
|
|
1000
|
-
"application/json": {
|
|
1001
|
-
estimatedTotalResults: number;
|
|
1002
|
-
results: {
|
|
1003
|
-
doi?: string | null;
|
|
1004
|
-
title?: string | null;
|
|
1005
|
-
url?: string | null;
|
|
1006
|
-
providerURL?: string | null;
|
|
1007
|
-
authors?: {
|
|
1008
|
-
name: string;
|
|
1009
|
-
url?: string | null;
|
|
1010
|
-
}[] | null;
|
|
1011
|
-
date?: string | null;
|
|
1012
|
-
year?: number | null;
|
|
1013
|
-
totalCitations?: number | null;
|
|
1014
|
-
totalReferences?: number | null;
|
|
1015
|
-
abstract?: string | null;
|
|
1016
|
-
pdfURL?: string | null;
|
|
1017
|
-
provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
1018
|
-
providerData?: {
|
|
1019
|
-
[key: string]: unknown;
|
|
1020
|
-
} | null;
|
|
1021
|
-
}[];
|
|
1022
|
-
errors?: {
|
|
1023
|
-
provider: string;
|
|
1024
|
-
message: string;
|
|
1025
|
-
code?: string | null;
|
|
1026
|
-
details?: {
|
|
1027
|
-
[key: string]: unknown;
|
|
1028
|
-
} | null;
|
|
1029
|
-
}[] | null;
|
|
1030
|
-
requestId: number;
|
|
1031
|
-
};
|
|
1032
|
-
};
|
|
1033
|
-
};
|
|
1034
|
-
};
|
|
1035
|
-
};
|
|
1036
1127
|
"academic.paperGraph": {
|
|
1037
1128
|
parameters: {
|
|
1038
1129
|
query?: never;
|
|
@@ -1049,6 +1140,10 @@ export interface operations {
|
|
|
1049
1140
|
citationsOffset?: number;
|
|
1050
1141
|
referencesOffset?: number;
|
|
1051
1142
|
fields?: ("doi" | "title" | "url" | "providerURL" | "authors" | "date" | "year" | "totalCitations" | "totalReferences" | "abstract" | "pdfURL" | "provider" | "providerData")[] | null;
|
|
1143
|
+
callback?: {
|
|
1144
|
+
url: string;
|
|
1145
|
+
type?: string;
|
|
1146
|
+
};
|
|
1052
1147
|
};
|
|
1053
1148
|
};
|
|
1054
1149
|
};
|
|
@@ -1074,7 +1169,7 @@ export interface operations {
|
|
|
1074
1169
|
totalReferences?: number | null;
|
|
1075
1170
|
abstract?: string | null;
|
|
1076
1171
|
pdfURL?: string | null;
|
|
1077
|
-
provider?:
|
|
1172
|
+
provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
1078
1173
|
providerData?: {
|
|
1079
1174
|
[key: string]: unknown;
|
|
1080
1175
|
} | null;
|
|
@@ -1094,7 +1189,7 @@ export interface operations {
|
|
|
1094
1189
|
totalReferences?: number | null;
|
|
1095
1190
|
abstract?: string | null;
|
|
1096
1191
|
pdfURL?: string | null;
|
|
1097
|
-
provider?:
|
|
1192
|
+
provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
1098
1193
|
providerData?: {
|
|
1099
1194
|
[key: string]: unknown;
|
|
1100
1195
|
} | null;
|
|
@@ -1114,7 +1209,7 @@ export interface operations {
|
|
|
1114
1209
|
totalReferences?: number | null;
|
|
1115
1210
|
abstract?: string | null;
|
|
1116
1211
|
pdfURL?: string | null;
|
|
1117
|
-
provider?:
|
|
1212
|
+
provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
1118
1213
|
providerData?: {
|
|
1119
1214
|
[key: string]: unknown;
|
|
1120
1215
|
} | null;
|
|
@@ -1127,7 +1222,7 @@ export interface operations {
|
|
|
1127
1222
|
};
|
|
1128
1223
|
};
|
|
1129
1224
|
};
|
|
1130
|
-
"academic.
|
|
1225
|
+
"academic.parse": {
|
|
1131
1226
|
parameters: {
|
|
1132
1227
|
query?: never;
|
|
1133
1228
|
header?: never;
|
|
@@ -1137,10 +1232,67 @@ export interface operations {
|
|
|
1137
1232
|
requestBody: {
|
|
1138
1233
|
content: {
|
|
1139
1234
|
"application/json": {
|
|
1140
|
-
id
|
|
1235
|
+
id?: string;
|
|
1236
|
+
url?: string;
|
|
1237
|
+
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
1238
|
+
includePages?: boolean;
|
|
1239
|
+
callback?: {
|
|
1240
|
+
url: string;
|
|
1241
|
+
type?: string;
|
|
1242
|
+
};
|
|
1243
|
+
};
|
|
1244
|
+
};
|
|
1245
|
+
};
|
|
1246
|
+
responses: {
|
|
1247
|
+
200: {
|
|
1248
|
+
headers: {
|
|
1249
|
+
[name: string]: unknown;
|
|
1250
|
+
};
|
|
1251
|
+
content: {
|
|
1252
|
+
"application/json": {
|
|
1253
|
+
id: string;
|
|
1254
|
+
title?: string | null;
|
|
1255
|
+
doi?: string | null;
|
|
1256
|
+
url?: string | null;
|
|
1257
|
+
providerURL?: string | null;
|
|
1258
|
+
pdfURL: string;
|
|
1259
|
+
detectedProvider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
1260
|
+
markdown: string;
|
|
1261
|
+
pageCount: number;
|
|
1262
|
+
model: "nano" | "mini" | "pro" | "max";
|
|
1263
|
+
credits: number;
|
|
1264
|
+
requestId: number;
|
|
1265
|
+
html?: string;
|
|
1266
|
+
pages?: {
|
|
1267
|
+
pageNumber: number;
|
|
1268
|
+
markdown: string;
|
|
1269
|
+
}[];
|
|
1270
|
+
};
|
|
1271
|
+
};
|
|
1272
|
+
};
|
|
1273
|
+
};
|
|
1274
|
+
};
|
|
1275
|
+
"academic.search": {
|
|
1276
|
+
parameters: {
|
|
1277
|
+
query?: never;
|
|
1278
|
+
header?: never;
|
|
1279
|
+
path?: never;
|
|
1280
|
+
cookie?: never;
|
|
1281
|
+
};
|
|
1282
|
+
requestBody: {
|
|
1283
|
+
content: {
|
|
1284
|
+
"application/json": {
|
|
1285
|
+
query: string;
|
|
1286
|
+
providers?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref")[];
|
|
1287
|
+
offset?: number;
|
|
1141
1288
|
limit?: number;
|
|
1142
|
-
|
|
1289
|
+
yearFrom?: number | null;
|
|
1290
|
+
yearTo?: number | null;
|
|
1143
1291
|
fields?: ("doi" | "title" | "url" | "providerURL" | "authors" | "date" | "year" | "totalCitations" | "totalReferences" | "abstract" | "pdfURL" | "provider" | "providerData")[] | null;
|
|
1292
|
+
callback?: {
|
|
1293
|
+
url: string;
|
|
1294
|
+
type?: string;
|
|
1295
|
+
};
|
|
1144
1296
|
};
|
|
1145
1297
|
};
|
|
1146
1298
|
};
|
|
@@ -1151,7 +1303,8 @@ export interface operations {
|
|
|
1151
1303
|
};
|
|
1152
1304
|
content: {
|
|
1153
1305
|
"application/json": {
|
|
1154
|
-
|
|
1306
|
+
estimatedTotalResults: number;
|
|
1307
|
+
results: {
|
|
1155
1308
|
doi?: string | null;
|
|
1156
1309
|
title?: string | null;
|
|
1157
1310
|
url?: string | null;
|
|
@@ -1166,38 +1319,19 @@ export interface operations {
|
|
|
1166
1319
|
totalReferences?: number | null;
|
|
1167
1320
|
abstract?: string | null;
|
|
1168
1321
|
pdfURL?: string | null;
|
|
1169
|
-
provider?:
|
|
1322
|
+
provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
1170
1323
|
providerData?: {
|
|
1171
1324
|
[key: string]: unknown;
|
|
1172
1325
|
} | null;
|
|
1173
|
-
};
|
|
1174
|
-
results: {
|
|
1175
|
-
publication: {
|
|
1176
|
-
doi?: string | null;
|
|
1177
|
-
title?: string | null;
|
|
1178
|
-
url?: string | null;
|
|
1179
|
-
providerURL?: string | null;
|
|
1180
|
-
authors?: {
|
|
1181
|
-
name: string;
|
|
1182
|
-
url?: string | null;
|
|
1183
|
-
}[] | null;
|
|
1184
|
-
date?: string | null;
|
|
1185
|
-
year?: number | null;
|
|
1186
|
-
totalCitations?: number | null;
|
|
1187
|
-
totalReferences?: number | null;
|
|
1188
|
-
abstract?: string | null;
|
|
1189
|
-
pdfURL?: string | null;
|
|
1190
|
-
provider?: string | null;
|
|
1191
|
-
providerData?: {
|
|
1192
|
-
[key: string]: unknown;
|
|
1193
|
-
} | null;
|
|
1194
|
-
};
|
|
1195
|
-
similarity: number;
|
|
1196
|
-
pageRank?: number | null;
|
|
1197
|
-
distance?: number | null;
|
|
1198
|
-
citingIds?: string[] | null;
|
|
1199
|
-
citedByIds?: string[] | null;
|
|
1200
1326
|
}[];
|
|
1327
|
+
errors?: {
|
|
1328
|
+
provider: "semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref";
|
|
1329
|
+
message: string;
|
|
1330
|
+
code?: string | null;
|
|
1331
|
+
details?: {
|
|
1332
|
+
[key: string]: unknown;
|
|
1333
|
+
} | null;
|
|
1334
|
+
}[] | null;
|
|
1201
1335
|
requestId: number;
|
|
1202
1336
|
};
|
|
1203
1337
|
};
|
|
@@ -1223,6 +1357,10 @@ export interface operations {
|
|
|
1223
1357
|
fundingMin?: number | null;
|
|
1224
1358
|
fundingMax?: number | null;
|
|
1225
1359
|
fields?: ("sourceId" | "title" | "url" | "agency" | "program" | "description" | "eligibility" | "fundingAmountMin" | "fundingAmountMax" | "currency" | "deadlineDate" | "openDate" | "closeDate" | "grantType" | "region" | "keywords" | "piName" | "organizationName" | "provider" | "providerData")[] | null;
|
|
1360
|
+
callback?: {
|
|
1361
|
+
url: string;
|
|
1362
|
+
type?: string;
|
|
1363
|
+
};
|
|
1226
1364
|
};
|
|
1227
1365
|
};
|
|
1228
1366
|
};
|
|
@@ -1259,7 +1397,7 @@ export interface operations {
|
|
|
1259
1397
|
} | null;
|
|
1260
1398
|
}[];
|
|
1261
1399
|
errors?: {
|
|
1262
|
-
provider:
|
|
1400
|
+
provider: "grants-gov" | "nih-reporter" | "cordis" | "ukri";
|
|
1263
1401
|
message: string;
|
|
1264
1402
|
code?: string | null;
|
|
1265
1403
|
details?: {
|
|
@@ -1272,4 +1410,85 @@ export interface operations {
|
|
|
1272
1410
|
};
|
|
1273
1411
|
};
|
|
1274
1412
|
};
|
|
1413
|
+
"academic.similarPapers": {
|
|
1414
|
+
parameters: {
|
|
1415
|
+
query?: never;
|
|
1416
|
+
header?: never;
|
|
1417
|
+
path?: never;
|
|
1418
|
+
cookie?: never;
|
|
1419
|
+
};
|
|
1420
|
+
requestBody: {
|
|
1421
|
+
content: {
|
|
1422
|
+
"application/json": {
|
|
1423
|
+
id: string;
|
|
1424
|
+
limit?: number;
|
|
1425
|
+
includeEdges?: boolean;
|
|
1426
|
+
fields?: ("doi" | "title" | "url" | "providerURL" | "authors" | "date" | "year" | "totalCitations" | "totalReferences" | "abstract" | "pdfURL" | "provider" | "providerData")[] | null;
|
|
1427
|
+
callback?: {
|
|
1428
|
+
url: string;
|
|
1429
|
+
type?: string;
|
|
1430
|
+
};
|
|
1431
|
+
};
|
|
1432
|
+
};
|
|
1433
|
+
};
|
|
1434
|
+
responses: {
|
|
1435
|
+
200: {
|
|
1436
|
+
headers: {
|
|
1437
|
+
[name: string]: unknown;
|
|
1438
|
+
};
|
|
1439
|
+
content: {
|
|
1440
|
+
"application/json": {
|
|
1441
|
+
seed: {
|
|
1442
|
+
doi?: string | null;
|
|
1443
|
+
title?: string | null;
|
|
1444
|
+
url?: string | null;
|
|
1445
|
+
providerURL?: string | null;
|
|
1446
|
+
authors?: {
|
|
1447
|
+
name: string;
|
|
1448
|
+
url?: string | null;
|
|
1449
|
+
}[] | null;
|
|
1450
|
+
date?: string | null;
|
|
1451
|
+
year?: number | null;
|
|
1452
|
+
totalCitations?: number | null;
|
|
1453
|
+
totalReferences?: number | null;
|
|
1454
|
+
abstract?: string | null;
|
|
1455
|
+
pdfURL?: string | null;
|
|
1456
|
+
provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
1457
|
+
providerData?: {
|
|
1458
|
+
[key: string]: unknown;
|
|
1459
|
+
} | null;
|
|
1460
|
+
};
|
|
1461
|
+
results: {
|
|
1462
|
+
publication: {
|
|
1463
|
+
doi?: string | null;
|
|
1464
|
+
title?: string | null;
|
|
1465
|
+
url?: string | null;
|
|
1466
|
+
providerURL?: string | null;
|
|
1467
|
+
authors?: {
|
|
1468
|
+
name: string;
|
|
1469
|
+
url?: string | null;
|
|
1470
|
+
}[] | null;
|
|
1471
|
+
date?: string | null;
|
|
1472
|
+
year?: number | null;
|
|
1473
|
+
totalCitations?: number | null;
|
|
1474
|
+
totalReferences?: number | null;
|
|
1475
|
+
abstract?: string | null;
|
|
1476
|
+
pdfURL?: string | null;
|
|
1477
|
+
provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
1478
|
+
providerData?: {
|
|
1479
|
+
[key: string]: unknown;
|
|
1480
|
+
} | null;
|
|
1481
|
+
};
|
|
1482
|
+
similarity: number;
|
|
1483
|
+
pageRank?: number | null;
|
|
1484
|
+
distance?: number | null;
|
|
1485
|
+
citingIds?: string[] | null;
|
|
1486
|
+
citedByIds?: string[] | null;
|
|
1487
|
+
}[];
|
|
1488
|
+
requestId: number;
|
|
1489
|
+
};
|
|
1490
|
+
};
|
|
1491
|
+
};
|
|
1492
|
+
};
|
|
1493
|
+
};
|
|
1275
1494
|
}
|