n8n-nodes-pdfvector 2.1.4 → 2.1.6
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 +6 -2
- package/dist/credentials/PDFVectorApi.credentials.js +4 -4
- package/dist/credentials/PDFVectorApi.credentials.js.map +1 -1
- package/dist/nodes/PdfVector/PdfVector.node.json +3 -3
- package/dist/nodes/PdfVector/document/index.js +3 -2
- package/dist/nodes/PdfVector/document/index.js.map +1 -1
- package/dist/nodes/PdfVector/shared/helpers.js +5 -1
- package/dist/nodes/PdfVector/shared/helpers.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 +299 -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,10 @@ export interface operations {
|
|
|
316
332
|
base64?: string;
|
|
317
333
|
question: string;
|
|
318
334
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
335
|
+
callback?: {
|
|
336
|
+
url: string;
|
|
337
|
+
type?: string;
|
|
338
|
+
};
|
|
319
339
|
};
|
|
320
340
|
"multipart/form-data": {
|
|
321
341
|
url?: string;
|
|
@@ -323,6 +343,10 @@ export interface operations {
|
|
|
323
343
|
base64?: string;
|
|
324
344
|
question: string;
|
|
325
345
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
346
|
+
callback?: {
|
|
347
|
+
url: string;
|
|
348
|
+
type?: string;
|
|
349
|
+
};
|
|
326
350
|
};
|
|
327
351
|
};
|
|
328
352
|
};
|
|
@@ -364,6 +388,10 @@ export interface operations {
|
|
|
364
388
|
[key: string]: unknown;
|
|
365
389
|
} | string;
|
|
366
390
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
391
|
+
callback?: {
|
|
392
|
+
url: string;
|
|
393
|
+
type?: string;
|
|
394
|
+
};
|
|
367
395
|
};
|
|
368
396
|
"multipart/form-data": {
|
|
369
397
|
url?: string;
|
|
@@ -374,6 +402,10 @@ export interface operations {
|
|
|
374
402
|
[key: string]: unknown;
|
|
375
403
|
} | string;
|
|
376
404
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
405
|
+
callback?: {
|
|
406
|
+
url: string;
|
|
407
|
+
type?: string;
|
|
408
|
+
};
|
|
377
409
|
};
|
|
378
410
|
};
|
|
379
411
|
};
|
|
@@ -411,12 +443,22 @@ export interface operations {
|
|
|
411
443
|
file?: string;
|
|
412
444
|
base64?: string;
|
|
413
445
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
446
|
+
includePages?: boolean | ("true" | "false");
|
|
447
|
+
callback?: {
|
|
448
|
+
url: string;
|
|
449
|
+
type?: string;
|
|
450
|
+
};
|
|
414
451
|
};
|
|
415
452
|
"multipart/form-data": {
|
|
416
453
|
url?: string;
|
|
417
454
|
file?: string;
|
|
418
455
|
base64?: string;
|
|
419
456
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
457
|
+
includePages?: boolean | ("true" | "false");
|
|
458
|
+
callback?: {
|
|
459
|
+
url: string;
|
|
460
|
+
type?: string;
|
|
461
|
+
};
|
|
420
462
|
};
|
|
421
463
|
};
|
|
422
464
|
};
|
|
@@ -434,6 +476,10 @@ export interface operations {
|
|
|
434
476
|
requestId: number;
|
|
435
477
|
html?: string;
|
|
436
478
|
documentId?: string;
|
|
479
|
+
pages?: {
|
|
480
|
+
pageNumber: number;
|
|
481
|
+
markdown: string;
|
|
482
|
+
}[];
|
|
437
483
|
};
|
|
438
484
|
};
|
|
439
485
|
};
|
|
@@ -456,6 +502,10 @@ export interface operations {
|
|
|
456
502
|
base64?: string;
|
|
457
503
|
question: string;
|
|
458
504
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
505
|
+
callback?: {
|
|
506
|
+
url: string;
|
|
507
|
+
type?: string;
|
|
508
|
+
};
|
|
459
509
|
};
|
|
460
510
|
"multipart/form-data": {
|
|
461
511
|
url?: string;
|
|
@@ -463,6 +513,10 @@ export interface operations {
|
|
|
463
513
|
base64?: string;
|
|
464
514
|
question: string;
|
|
465
515
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
516
|
+
callback?: {
|
|
517
|
+
url: string;
|
|
518
|
+
type?: string;
|
|
519
|
+
};
|
|
466
520
|
};
|
|
467
521
|
};
|
|
468
522
|
};
|
|
@@ -504,6 +558,10 @@ export interface operations {
|
|
|
504
558
|
[key: string]: unknown;
|
|
505
559
|
} | string;
|
|
506
560
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
561
|
+
callback?: {
|
|
562
|
+
url: string;
|
|
563
|
+
type?: string;
|
|
564
|
+
};
|
|
507
565
|
};
|
|
508
566
|
"multipart/form-data": {
|
|
509
567
|
url?: string;
|
|
@@ -514,6 +572,10 @@ export interface operations {
|
|
|
514
572
|
[key: string]: unknown;
|
|
515
573
|
} | string;
|
|
516
574
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
575
|
+
callback?: {
|
|
576
|
+
url: string;
|
|
577
|
+
type?: string;
|
|
578
|
+
};
|
|
517
579
|
};
|
|
518
580
|
};
|
|
519
581
|
};
|
|
@@ -551,12 +613,20 @@ export interface operations {
|
|
|
551
613
|
file?: string;
|
|
552
614
|
base64?: string;
|
|
553
615
|
model?: "pro" | "max" | "auto";
|
|
616
|
+
callback?: {
|
|
617
|
+
url: string;
|
|
618
|
+
type?: string;
|
|
619
|
+
};
|
|
554
620
|
};
|
|
555
621
|
"multipart/form-data": {
|
|
556
622
|
url?: string;
|
|
557
623
|
file?: string;
|
|
558
624
|
base64?: string;
|
|
559
625
|
model?: "pro" | "max" | "auto";
|
|
626
|
+
callback?: {
|
|
627
|
+
url: string;
|
|
628
|
+
type?: string;
|
|
629
|
+
};
|
|
560
630
|
};
|
|
561
631
|
};
|
|
562
632
|
};
|
|
@@ -597,6 +667,10 @@ export interface operations {
|
|
|
597
667
|
base64?: string;
|
|
598
668
|
question: string;
|
|
599
669
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
670
|
+
callback?: {
|
|
671
|
+
url: string;
|
|
672
|
+
type?: string;
|
|
673
|
+
};
|
|
600
674
|
};
|
|
601
675
|
"multipart/form-data": {
|
|
602
676
|
url?: string;
|
|
@@ -604,6 +678,10 @@ export interface operations {
|
|
|
604
678
|
base64?: string;
|
|
605
679
|
question: string;
|
|
606
680
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
681
|
+
callback?: {
|
|
682
|
+
url: string;
|
|
683
|
+
type?: string;
|
|
684
|
+
};
|
|
607
685
|
};
|
|
608
686
|
};
|
|
609
687
|
};
|
|
@@ -645,6 +723,10 @@ export interface operations {
|
|
|
645
723
|
[key: string]: unknown;
|
|
646
724
|
} | string;
|
|
647
725
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
726
|
+
callback?: {
|
|
727
|
+
url: string;
|
|
728
|
+
type?: string;
|
|
729
|
+
};
|
|
648
730
|
};
|
|
649
731
|
"multipart/form-data": {
|
|
650
732
|
url?: string;
|
|
@@ -655,6 +737,10 @@ export interface operations {
|
|
|
655
737
|
[key: string]: unknown;
|
|
656
738
|
} | string;
|
|
657
739
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
740
|
+
callback?: {
|
|
741
|
+
url: string;
|
|
742
|
+
type?: string;
|
|
743
|
+
};
|
|
658
744
|
};
|
|
659
745
|
};
|
|
660
746
|
};
|
|
@@ -692,12 +778,20 @@ export interface operations {
|
|
|
692
778
|
file?: string;
|
|
693
779
|
base64?: string;
|
|
694
780
|
model?: "pro" | "max" | "auto";
|
|
781
|
+
callback?: {
|
|
782
|
+
url: string;
|
|
783
|
+
type?: string;
|
|
784
|
+
};
|
|
695
785
|
};
|
|
696
786
|
"multipart/form-data": {
|
|
697
787
|
url?: string;
|
|
698
788
|
file?: string;
|
|
699
789
|
base64?: string;
|
|
700
790
|
model?: "pro" | "max" | "auto";
|
|
791
|
+
callback?: {
|
|
792
|
+
url: string;
|
|
793
|
+
type?: string;
|
|
794
|
+
};
|
|
701
795
|
};
|
|
702
796
|
};
|
|
703
797
|
};
|
|
@@ -737,6 +831,10 @@ export interface operations {
|
|
|
737
831
|
base64?: string;
|
|
738
832
|
question: string;
|
|
739
833
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
834
|
+
callback?: {
|
|
835
|
+
url: string;
|
|
836
|
+
type?: string;
|
|
837
|
+
};
|
|
740
838
|
};
|
|
741
839
|
"multipart/form-data": {
|
|
742
840
|
url?: string;
|
|
@@ -744,6 +842,10 @@ export interface operations {
|
|
|
744
842
|
base64?: string;
|
|
745
843
|
question: string;
|
|
746
844
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
845
|
+
callback?: {
|
|
846
|
+
url: string;
|
|
847
|
+
type?: string;
|
|
848
|
+
};
|
|
747
849
|
};
|
|
748
850
|
};
|
|
749
851
|
};
|
|
@@ -785,6 +887,10 @@ export interface operations {
|
|
|
785
887
|
[key: string]: unknown;
|
|
786
888
|
} | string;
|
|
787
889
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
890
|
+
callback?: {
|
|
891
|
+
url: string;
|
|
892
|
+
type?: string;
|
|
893
|
+
};
|
|
788
894
|
};
|
|
789
895
|
"multipart/form-data": {
|
|
790
896
|
url?: string;
|
|
@@ -795,6 +901,10 @@ export interface operations {
|
|
|
795
901
|
[key: string]: unknown;
|
|
796
902
|
} | string;
|
|
797
903
|
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
904
|
+
callback?: {
|
|
905
|
+
url: string;
|
|
906
|
+
type?: string;
|
|
907
|
+
};
|
|
798
908
|
};
|
|
799
909
|
};
|
|
800
910
|
};
|
|
@@ -832,12 +942,20 @@ export interface operations {
|
|
|
832
942
|
file?: string;
|
|
833
943
|
base64?: string;
|
|
834
944
|
model?: "pro" | "max" | "auto";
|
|
945
|
+
callback?: {
|
|
946
|
+
url: string;
|
|
947
|
+
type?: string;
|
|
948
|
+
};
|
|
835
949
|
};
|
|
836
950
|
"multipart/form-data": {
|
|
837
951
|
url?: string;
|
|
838
952
|
file?: string;
|
|
839
953
|
base64?: string;
|
|
840
954
|
model?: "pro" | "max" | "auto";
|
|
955
|
+
callback?: {
|
|
956
|
+
url: string;
|
|
957
|
+
type?: string;
|
|
958
|
+
};
|
|
841
959
|
};
|
|
842
960
|
};
|
|
843
961
|
};
|
|
@@ -872,6 +990,10 @@ export interface operations {
|
|
|
872
990
|
"application/json": {
|
|
873
991
|
ids: string[];
|
|
874
992
|
fields?: ("doi" | "title" | "url" | "providerURL" | "authors" | "date" | "year" | "totalCitations" | "totalReferences" | "abstract" | "pdfURL" | "provider" | "providerData")[] | null;
|
|
993
|
+
callback?: {
|
|
994
|
+
url: string;
|
|
995
|
+
type?: string;
|
|
996
|
+
};
|
|
875
997
|
};
|
|
876
998
|
};
|
|
877
999
|
};
|
|
@@ -884,7 +1006,7 @@ export interface operations {
|
|
|
884
1006
|
"application/json": {
|
|
885
1007
|
results: {
|
|
886
1008
|
id: string;
|
|
887
|
-
detectedProvider?:
|
|
1009
|
+
detectedProvider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
888
1010
|
doi?: string | null;
|
|
889
1011
|
title?: string | null;
|
|
890
1012
|
url?: string | null;
|
|
@@ -899,7 +1021,7 @@ export interface operations {
|
|
|
899
1021
|
totalReferences?: number | null;
|
|
900
1022
|
abstract?: string | null;
|
|
901
1023
|
pdfURL?: string | null;
|
|
902
|
-
provider?:
|
|
1024
|
+
provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
903
1025
|
providerData?: {
|
|
904
1026
|
[key: string]: unknown;
|
|
905
1027
|
} | null;
|
|
@@ -928,6 +1050,10 @@ export interface operations {
|
|
|
928
1050
|
paragraph: string;
|
|
929
1051
|
providers?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref")[];
|
|
930
1052
|
fields?: ("doi" | "title" | "url" | "providerURL" | "authors" | "date" | "year" | "totalCitations" | "totalReferences" | "abstract" | "pdfURL" | "provider" | "providerData")[] | null;
|
|
1053
|
+
callback?: {
|
|
1054
|
+
url: string;
|
|
1055
|
+
type?: string;
|
|
1056
|
+
};
|
|
931
1057
|
};
|
|
932
1058
|
};
|
|
933
1059
|
};
|
|
@@ -956,7 +1082,7 @@ export interface operations {
|
|
|
956
1082
|
totalReferences?: number | null;
|
|
957
1083
|
abstract?: string | null;
|
|
958
1084
|
pdfURL?: string | null;
|
|
959
|
-
provider?:
|
|
1085
|
+
provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
960
1086
|
providerData?: {
|
|
961
1087
|
[key: string]: unknown;
|
|
962
1088
|
} | null;
|
|
@@ -971,68 +1097,6 @@ export interface operations {
|
|
|
971
1097
|
};
|
|
972
1098
|
};
|
|
973
1099
|
};
|
|
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
1100
|
"academic.paperGraph": {
|
|
1037
1101
|
parameters: {
|
|
1038
1102
|
query?: never;
|
|
@@ -1049,6 +1113,10 @@ export interface operations {
|
|
|
1049
1113
|
citationsOffset?: number;
|
|
1050
1114
|
referencesOffset?: number;
|
|
1051
1115
|
fields?: ("doi" | "title" | "url" | "providerURL" | "authors" | "date" | "year" | "totalCitations" | "totalReferences" | "abstract" | "pdfURL" | "provider" | "providerData")[] | null;
|
|
1116
|
+
callback?: {
|
|
1117
|
+
url: string;
|
|
1118
|
+
type?: string;
|
|
1119
|
+
};
|
|
1052
1120
|
};
|
|
1053
1121
|
};
|
|
1054
1122
|
};
|
|
@@ -1074,7 +1142,7 @@ export interface operations {
|
|
|
1074
1142
|
totalReferences?: number | null;
|
|
1075
1143
|
abstract?: string | null;
|
|
1076
1144
|
pdfURL?: string | null;
|
|
1077
|
-
provider?:
|
|
1145
|
+
provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
1078
1146
|
providerData?: {
|
|
1079
1147
|
[key: string]: unknown;
|
|
1080
1148
|
} | null;
|
|
@@ -1094,7 +1162,7 @@ export interface operations {
|
|
|
1094
1162
|
totalReferences?: number | null;
|
|
1095
1163
|
abstract?: string | null;
|
|
1096
1164
|
pdfURL?: string | null;
|
|
1097
|
-
provider?:
|
|
1165
|
+
provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
1098
1166
|
providerData?: {
|
|
1099
1167
|
[key: string]: unknown;
|
|
1100
1168
|
} | null;
|
|
@@ -1114,7 +1182,7 @@ export interface operations {
|
|
|
1114
1182
|
totalReferences?: number | null;
|
|
1115
1183
|
abstract?: string | null;
|
|
1116
1184
|
pdfURL?: string | null;
|
|
1117
|
-
provider?:
|
|
1185
|
+
provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
1118
1186
|
providerData?: {
|
|
1119
1187
|
[key: string]: unknown;
|
|
1120
1188
|
} | null;
|
|
@@ -1127,7 +1195,7 @@ export interface operations {
|
|
|
1127
1195
|
};
|
|
1128
1196
|
};
|
|
1129
1197
|
};
|
|
1130
|
-
"academic.
|
|
1198
|
+
"academic.parse": {
|
|
1131
1199
|
parameters: {
|
|
1132
1200
|
query?: never;
|
|
1133
1201
|
header?: never;
|
|
@@ -1137,10 +1205,67 @@ export interface operations {
|
|
|
1137
1205
|
requestBody: {
|
|
1138
1206
|
content: {
|
|
1139
1207
|
"application/json": {
|
|
1140
|
-
id
|
|
1208
|
+
id?: string;
|
|
1209
|
+
url?: string;
|
|
1210
|
+
model?: "auto" | "nano" | "mini" | "pro" | "max";
|
|
1211
|
+
includePages?: boolean;
|
|
1212
|
+
callback?: {
|
|
1213
|
+
url: string;
|
|
1214
|
+
type?: string;
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
};
|
|
1218
|
+
};
|
|
1219
|
+
responses: {
|
|
1220
|
+
200: {
|
|
1221
|
+
headers: {
|
|
1222
|
+
[name: string]: unknown;
|
|
1223
|
+
};
|
|
1224
|
+
content: {
|
|
1225
|
+
"application/json": {
|
|
1226
|
+
id: string;
|
|
1227
|
+
title?: string | null;
|
|
1228
|
+
doi?: string | null;
|
|
1229
|
+
url?: string | null;
|
|
1230
|
+
providerURL?: string | null;
|
|
1231
|
+
pdfURL: string;
|
|
1232
|
+
detectedProvider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
1233
|
+
markdown: string;
|
|
1234
|
+
pageCount: number;
|
|
1235
|
+
model: "nano" | "mini" | "pro" | "max";
|
|
1236
|
+
credits: number;
|
|
1237
|
+
requestId: number;
|
|
1238
|
+
html?: string;
|
|
1239
|
+
pages?: {
|
|
1240
|
+
pageNumber: number;
|
|
1241
|
+
markdown: string;
|
|
1242
|
+
}[];
|
|
1243
|
+
};
|
|
1244
|
+
};
|
|
1245
|
+
};
|
|
1246
|
+
};
|
|
1247
|
+
};
|
|
1248
|
+
"academic.search": {
|
|
1249
|
+
parameters: {
|
|
1250
|
+
query?: never;
|
|
1251
|
+
header?: never;
|
|
1252
|
+
path?: never;
|
|
1253
|
+
cookie?: never;
|
|
1254
|
+
};
|
|
1255
|
+
requestBody: {
|
|
1256
|
+
content: {
|
|
1257
|
+
"application/json": {
|
|
1258
|
+
query: string;
|
|
1259
|
+
providers?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref")[];
|
|
1260
|
+
offset?: number;
|
|
1141
1261
|
limit?: number;
|
|
1142
|
-
|
|
1262
|
+
yearFrom?: number | null;
|
|
1263
|
+
yearTo?: number | null;
|
|
1143
1264
|
fields?: ("doi" | "title" | "url" | "providerURL" | "authors" | "date" | "year" | "totalCitations" | "totalReferences" | "abstract" | "pdfURL" | "provider" | "providerData")[] | null;
|
|
1265
|
+
callback?: {
|
|
1266
|
+
url: string;
|
|
1267
|
+
type?: string;
|
|
1268
|
+
};
|
|
1144
1269
|
};
|
|
1145
1270
|
};
|
|
1146
1271
|
};
|
|
@@ -1151,7 +1276,8 @@ export interface operations {
|
|
|
1151
1276
|
};
|
|
1152
1277
|
content: {
|
|
1153
1278
|
"application/json": {
|
|
1154
|
-
|
|
1279
|
+
estimatedTotalResults: number;
|
|
1280
|
+
results: {
|
|
1155
1281
|
doi?: string | null;
|
|
1156
1282
|
title?: string | null;
|
|
1157
1283
|
url?: string | null;
|
|
@@ -1166,38 +1292,19 @@ export interface operations {
|
|
|
1166
1292
|
totalReferences?: number | null;
|
|
1167
1293
|
abstract?: string | null;
|
|
1168
1294
|
pdfURL?: string | null;
|
|
1169
|
-
provider?:
|
|
1295
|
+
provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
1170
1296
|
providerData?: {
|
|
1171
1297
|
[key: string]: unknown;
|
|
1172
1298
|
} | 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
1299
|
}[];
|
|
1300
|
+
errors?: {
|
|
1301
|
+
provider: "semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref";
|
|
1302
|
+
message: string;
|
|
1303
|
+
code?: string | null;
|
|
1304
|
+
details?: {
|
|
1305
|
+
[key: string]: unknown;
|
|
1306
|
+
} | null;
|
|
1307
|
+
}[] | null;
|
|
1201
1308
|
requestId: number;
|
|
1202
1309
|
};
|
|
1203
1310
|
};
|
|
@@ -1223,6 +1330,10 @@ export interface operations {
|
|
|
1223
1330
|
fundingMin?: number | null;
|
|
1224
1331
|
fundingMax?: number | null;
|
|
1225
1332
|
fields?: ("sourceId" | "title" | "url" | "agency" | "program" | "description" | "eligibility" | "fundingAmountMin" | "fundingAmountMax" | "currency" | "deadlineDate" | "openDate" | "closeDate" | "grantType" | "region" | "keywords" | "piName" | "organizationName" | "provider" | "providerData")[] | null;
|
|
1333
|
+
callback?: {
|
|
1334
|
+
url: string;
|
|
1335
|
+
type?: string;
|
|
1336
|
+
};
|
|
1226
1337
|
};
|
|
1227
1338
|
};
|
|
1228
1339
|
};
|
|
@@ -1259,7 +1370,7 @@ export interface operations {
|
|
|
1259
1370
|
} | null;
|
|
1260
1371
|
}[];
|
|
1261
1372
|
errors?: {
|
|
1262
|
-
provider:
|
|
1373
|
+
provider: "grants-gov" | "nih-reporter" | "cordis" | "ukri";
|
|
1263
1374
|
message: string;
|
|
1264
1375
|
code?: string | null;
|
|
1265
1376
|
details?: {
|
|
@@ -1272,4 +1383,85 @@ export interface operations {
|
|
|
1272
1383
|
};
|
|
1273
1384
|
};
|
|
1274
1385
|
};
|
|
1386
|
+
"academic.similarPapers": {
|
|
1387
|
+
parameters: {
|
|
1388
|
+
query?: never;
|
|
1389
|
+
header?: never;
|
|
1390
|
+
path?: never;
|
|
1391
|
+
cookie?: never;
|
|
1392
|
+
};
|
|
1393
|
+
requestBody: {
|
|
1394
|
+
content: {
|
|
1395
|
+
"application/json": {
|
|
1396
|
+
id: string;
|
|
1397
|
+
limit?: number;
|
|
1398
|
+
includeEdges?: boolean;
|
|
1399
|
+
fields?: ("doi" | "title" | "url" | "providerURL" | "authors" | "date" | "year" | "totalCitations" | "totalReferences" | "abstract" | "pdfURL" | "provider" | "providerData")[] | null;
|
|
1400
|
+
callback?: {
|
|
1401
|
+
url: string;
|
|
1402
|
+
type?: string;
|
|
1403
|
+
};
|
|
1404
|
+
};
|
|
1405
|
+
};
|
|
1406
|
+
};
|
|
1407
|
+
responses: {
|
|
1408
|
+
200: {
|
|
1409
|
+
headers: {
|
|
1410
|
+
[name: string]: unknown;
|
|
1411
|
+
};
|
|
1412
|
+
content: {
|
|
1413
|
+
"application/json": {
|
|
1414
|
+
seed: {
|
|
1415
|
+
doi?: string | null;
|
|
1416
|
+
title?: string | null;
|
|
1417
|
+
url?: string | null;
|
|
1418
|
+
providerURL?: string | null;
|
|
1419
|
+
authors?: {
|
|
1420
|
+
name: string;
|
|
1421
|
+
url?: string | null;
|
|
1422
|
+
}[] | null;
|
|
1423
|
+
date?: string | null;
|
|
1424
|
+
year?: number | null;
|
|
1425
|
+
totalCitations?: number | null;
|
|
1426
|
+
totalReferences?: number | null;
|
|
1427
|
+
abstract?: string | null;
|
|
1428
|
+
pdfURL?: string | null;
|
|
1429
|
+
provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
1430
|
+
providerData?: {
|
|
1431
|
+
[key: string]: unknown;
|
|
1432
|
+
} | null;
|
|
1433
|
+
};
|
|
1434
|
+
results: {
|
|
1435
|
+
publication: {
|
|
1436
|
+
doi?: string | null;
|
|
1437
|
+
title?: string | null;
|
|
1438
|
+
url?: string | null;
|
|
1439
|
+
providerURL?: string | null;
|
|
1440
|
+
authors?: {
|
|
1441
|
+
name: string;
|
|
1442
|
+
url?: string | null;
|
|
1443
|
+
}[] | null;
|
|
1444
|
+
date?: string | null;
|
|
1445
|
+
year?: number | null;
|
|
1446
|
+
totalCitations?: number | null;
|
|
1447
|
+
totalReferences?: number | null;
|
|
1448
|
+
abstract?: string | null;
|
|
1449
|
+
pdfURL?: string | null;
|
|
1450
|
+
provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref") | null;
|
|
1451
|
+
providerData?: {
|
|
1452
|
+
[key: string]: unknown;
|
|
1453
|
+
} | null;
|
|
1454
|
+
};
|
|
1455
|
+
similarity: number;
|
|
1456
|
+
pageRank?: number | null;
|
|
1457
|
+
distance?: number | null;
|
|
1458
|
+
citingIds?: string[] | null;
|
|
1459
|
+
citedByIds?: string[] | null;
|
|
1460
|
+
}[];
|
|
1461
|
+
requestId: number;
|
|
1462
|
+
};
|
|
1463
|
+
};
|
|
1464
|
+
};
|
|
1465
|
+
};
|
|
1466
|
+
};
|
|
1275
1467
|
}
|