n8n-nodes-pdfvector 0.8.4 → 2.0.4

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.
Files changed (39) hide show
  1. package/README.md +69 -233
  2. package/dist/credentials/PDFVectorApi.credentials.d.ts +1 -0
  3. package/dist/credentials/PDFVectorApi.credentials.js +19 -6
  4. package/dist/credentials/PDFVectorApi.credentials.js.map +1 -1
  5. package/dist/credentials/icon.svg +4 -0
  6. package/dist/nodes/PdfVector/PdfVector.node.js +61 -1588
  7. package/dist/nodes/PdfVector/PdfVector.node.js.map +1 -1
  8. package/dist/nodes/PdfVector/PdfVector.node.json +18 -0
  9. package/dist/nodes/PdfVector/academic/index.d.ts +3 -0
  10. package/dist/nodes/PdfVector/academic/index.js +185 -0
  11. package/dist/nodes/PdfVector/academic/index.js.map +1 -0
  12. package/dist/nodes/PdfVector/bankStatement/index.d.ts +3 -0
  13. package/dist/nodes/PdfVector/bankStatement/index.js +31 -0
  14. package/dist/nodes/PdfVector/bankStatement/index.js.map +1 -0
  15. package/dist/nodes/PdfVector/document/index.d.ts +3 -0
  16. package/dist/nodes/PdfVector/document/index.js +31 -0
  17. package/dist/nodes/PdfVector/document/index.js.map +1 -0
  18. package/dist/nodes/PdfVector/identity/index.d.ts +3 -0
  19. package/dist/nodes/PdfVector/identity/index.js +31 -0
  20. package/dist/nodes/PdfVector/identity/index.js.map +1 -0
  21. package/dist/nodes/PdfVector/invoice/index.d.ts +3 -0
  22. package/dist/nodes/PdfVector/invoice/index.js +31 -0
  23. package/dist/nodes/PdfVector/invoice/index.js.map +1 -0
  24. package/dist/nodes/PdfVector/shared/api.d.ts +39 -0
  25. package/dist/nodes/PdfVector/shared/api.js +3 -0
  26. package/dist/nodes/PdfVector/shared/api.js.map +1 -0
  27. package/dist/nodes/PdfVector/shared/helpers.d.ts +5 -0
  28. package/dist/nodes/PdfVector/shared/helpers.js +40 -0
  29. package/dist/nodes/PdfVector/shared/helpers.js.map +1 -0
  30. package/dist/nodes/PdfVector/shared/options.d.ts +5 -0
  31. package/dist/nodes/PdfVector/shared/options.js +159 -0
  32. package/dist/nodes/PdfVector/shared/options.js.map +1 -0
  33. package/dist/nodes/PdfVector/shared/pdfvector-api.types.d.ts +988 -0
  34. package/dist/nodes/PdfVector/shared/pdfvector-api.types.js +3 -0
  35. package/dist/nodes/PdfVector/shared/pdfvector-api.types.js.map +1 -0
  36. package/dist/package.json +18 -21
  37. package/dist/tsconfig.tsbuildinfo +1 -1
  38. package/package.json +61 -64
  39. package/index.js +0 -0
@@ -0,0 +1,988 @@
1
+ export interface paths {
2
+ "/document/ask": {
3
+ parameters: {
4
+ query?: never;
5
+ header?: never;
6
+ path?: never;
7
+ cookie?: never;
8
+ };
9
+ get?: never;
10
+ put?: never;
11
+ post: operations["document.ask"];
12
+ delete?: never;
13
+ options?: never;
14
+ head?: never;
15
+ patch?: never;
16
+ trace?: never;
17
+ };
18
+ "/document/extract": {
19
+ parameters: {
20
+ query?: never;
21
+ header?: never;
22
+ path?: never;
23
+ cookie?: never;
24
+ };
25
+ get?: never;
26
+ put?: never;
27
+ post: operations["document.extract"];
28
+ delete?: never;
29
+ options?: never;
30
+ head?: never;
31
+ patch?: never;
32
+ trace?: never;
33
+ };
34
+ "/document/parse": {
35
+ parameters: {
36
+ query?: never;
37
+ header?: never;
38
+ path?: never;
39
+ cookie?: never;
40
+ };
41
+ get?: never;
42
+ put?: never;
43
+ post: operations["document.parse"];
44
+ delete?: never;
45
+ options?: never;
46
+ head?: never;
47
+ patch?: never;
48
+ trace?: never;
49
+ };
50
+ "/identity/ask": {
51
+ parameters: {
52
+ query?: never;
53
+ header?: never;
54
+ path?: never;
55
+ cookie?: never;
56
+ };
57
+ get?: never;
58
+ put?: never;
59
+ post: operations["identity.ask"];
60
+ delete?: never;
61
+ options?: never;
62
+ head?: never;
63
+ patch?: never;
64
+ trace?: never;
65
+ };
66
+ "/identity/extract": {
67
+ parameters: {
68
+ query?: never;
69
+ header?: never;
70
+ path?: never;
71
+ cookie?: never;
72
+ };
73
+ get?: never;
74
+ put?: never;
75
+ post: operations["identity.extract"];
76
+ delete?: never;
77
+ options?: never;
78
+ head?: never;
79
+ patch?: never;
80
+ trace?: never;
81
+ };
82
+ "/identity/parse": {
83
+ parameters: {
84
+ query?: never;
85
+ header?: never;
86
+ path?: never;
87
+ cookie?: never;
88
+ };
89
+ get?: never;
90
+ put?: never;
91
+ post: operations["identity.parse"];
92
+ delete?: never;
93
+ options?: never;
94
+ head?: never;
95
+ patch?: never;
96
+ trace?: never;
97
+ };
98
+ "/invoice/ask": {
99
+ parameters: {
100
+ query?: never;
101
+ header?: never;
102
+ path?: never;
103
+ cookie?: never;
104
+ };
105
+ get?: never;
106
+ put?: never;
107
+ post: operations["invoice.ask"];
108
+ delete?: never;
109
+ options?: never;
110
+ head?: never;
111
+ patch?: never;
112
+ trace?: never;
113
+ };
114
+ "/invoice/extract": {
115
+ parameters: {
116
+ query?: never;
117
+ header?: never;
118
+ path?: never;
119
+ cookie?: never;
120
+ };
121
+ get?: never;
122
+ put?: never;
123
+ post: operations["invoice.extract"];
124
+ delete?: never;
125
+ options?: never;
126
+ head?: never;
127
+ patch?: never;
128
+ trace?: never;
129
+ };
130
+ "/invoice/parse": {
131
+ parameters: {
132
+ query?: never;
133
+ header?: never;
134
+ path?: never;
135
+ cookie?: never;
136
+ };
137
+ get?: never;
138
+ put?: never;
139
+ post: operations["invoice.parse"];
140
+ delete?: never;
141
+ options?: never;
142
+ head?: never;
143
+ patch?: never;
144
+ trace?: never;
145
+ };
146
+ "/bankStatement/ask": {
147
+ parameters: {
148
+ query?: never;
149
+ header?: never;
150
+ path?: never;
151
+ cookie?: never;
152
+ };
153
+ get?: never;
154
+ put?: never;
155
+ post: operations["bankStatement.ask"];
156
+ delete?: never;
157
+ options?: never;
158
+ head?: never;
159
+ patch?: never;
160
+ trace?: never;
161
+ };
162
+ "/bankStatement/extract": {
163
+ parameters: {
164
+ query?: never;
165
+ header?: never;
166
+ path?: never;
167
+ cookie?: never;
168
+ };
169
+ get?: never;
170
+ put?: never;
171
+ post: operations["bankStatement.extract"];
172
+ delete?: never;
173
+ options?: never;
174
+ head?: never;
175
+ patch?: never;
176
+ trace?: never;
177
+ };
178
+ "/bankStatement/parse": {
179
+ parameters: {
180
+ query?: never;
181
+ header?: never;
182
+ path?: never;
183
+ cookie?: never;
184
+ };
185
+ get?: never;
186
+ put?: never;
187
+ post: operations["bankStatement.parse"];
188
+ delete?: never;
189
+ options?: never;
190
+ head?: never;
191
+ patch?: never;
192
+ trace?: never;
193
+ };
194
+ "/academic/fetch": {
195
+ parameters: {
196
+ query?: never;
197
+ header?: never;
198
+ path?: never;
199
+ cookie?: never;
200
+ };
201
+ get?: never;
202
+ put?: never;
203
+ post: operations["academic.fetch"];
204
+ delete?: never;
205
+ options?: never;
206
+ head?: never;
207
+ patch?: never;
208
+ trace?: never;
209
+ };
210
+ "/academic/findCitations": {
211
+ parameters: {
212
+ query?: never;
213
+ header?: never;
214
+ path?: never;
215
+ cookie?: never;
216
+ };
217
+ get?: never;
218
+ put?: never;
219
+ post: operations["academic.findCitations"];
220
+ delete?: never;
221
+ options?: never;
222
+ head?: never;
223
+ patch?: never;
224
+ trace?: never;
225
+ };
226
+ "/academic/search": {
227
+ parameters: {
228
+ query?: never;
229
+ header?: never;
230
+ path?: never;
231
+ cookie?: never;
232
+ };
233
+ get?: never;
234
+ put?: never;
235
+ post: operations["academic.search"];
236
+ delete?: never;
237
+ options?: never;
238
+ head?: never;
239
+ patch?: never;
240
+ trace?: never;
241
+ };
242
+ }
243
+ export type webhooks = Record<string, never>;
244
+ export interface components {
245
+ schemas: never;
246
+ responses: never;
247
+ parameters: never;
248
+ requestBodies: never;
249
+ headers: never;
250
+ pathItems: never;
251
+ }
252
+ export type $defs = Record<string, never>;
253
+ export interface operations {
254
+ "document.ask": {
255
+ parameters: {
256
+ query?: never;
257
+ header?: {
258
+ "x-pdfvector-document-id"?: string;
259
+ };
260
+ path?: never;
261
+ cookie?: never;
262
+ };
263
+ requestBody: {
264
+ content: {
265
+ "application/json": {
266
+ url?: string;
267
+ file?: string;
268
+ base64?: string;
269
+ question: string;
270
+ model?: "auto" | "nano" | "mini" | "pro" | "max";
271
+ };
272
+ "multipart/form-data": {
273
+ url?: string;
274
+ file?: string;
275
+ base64?: string;
276
+ question: string;
277
+ model?: "auto" | "nano" | "mini" | "pro" | "max";
278
+ };
279
+ };
280
+ };
281
+ responses: {
282
+ 200: {
283
+ headers: {
284
+ [name: string]: unknown;
285
+ };
286
+ content: {
287
+ "application/json": {
288
+ markdown: string;
289
+ pageCount: number;
290
+ model: "nano" | "mini" | "pro" | "max";
291
+ credits: number;
292
+ requestId: number;
293
+ documentId?: string;
294
+ };
295
+ };
296
+ };
297
+ };
298
+ };
299
+ "document.extract": {
300
+ parameters: {
301
+ query?: never;
302
+ header?: {
303
+ "x-pdfvector-document-id"?: string;
304
+ };
305
+ path?: never;
306
+ cookie?: never;
307
+ };
308
+ requestBody: {
309
+ content: {
310
+ "application/json": {
311
+ url?: string;
312
+ file?: string;
313
+ base64?: string;
314
+ prompt: string;
315
+ schema: {
316
+ [key: string]: unknown;
317
+ } | string;
318
+ model?: "auto" | "nano" | "mini" | "pro" | "max";
319
+ };
320
+ "multipart/form-data": {
321
+ url?: string;
322
+ file?: string;
323
+ base64?: string;
324
+ prompt: string;
325
+ schema: {
326
+ [key: string]: unknown;
327
+ } | string;
328
+ model?: "auto" | "nano" | "mini" | "pro" | "max";
329
+ };
330
+ };
331
+ };
332
+ responses: {
333
+ 200: {
334
+ headers: {
335
+ [name: string]: unknown;
336
+ };
337
+ content: {
338
+ "application/json": {
339
+ data?: unknown;
340
+ pageCount: number;
341
+ model: "nano" | "mini" | "pro" | "max";
342
+ credits: number;
343
+ requestId: number;
344
+ documentId?: string;
345
+ };
346
+ };
347
+ };
348
+ };
349
+ };
350
+ "document.parse": {
351
+ parameters: {
352
+ query?: never;
353
+ header?: {
354
+ "x-pdfvector-document-id"?: string;
355
+ };
356
+ path?: never;
357
+ cookie?: never;
358
+ };
359
+ requestBody: {
360
+ content: {
361
+ "application/json": {
362
+ url?: string;
363
+ file?: string;
364
+ base64?: string;
365
+ model?: "auto" | "nano" | "mini" | "pro" | "max";
366
+ };
367
+ "multipart/form-data": {
368
+ url?: string;
369
+ file?: string;
370
+ base64?: string;
371
+ model?: "auto" | "nano" | "mini" | "pro" | "max";
372
+ };
373
+ };
374
+ };
375
+ responses: {
376
+ 200: {
377
+ headers: {
378
+ [name: string]: unknown;
379
+ };
380
+ content: {
381
+ "application/json": {
382
+ markdown: string;
383
+ pageCount: number;
384
+ model: "nano" | "mini" | "pro" | "max";
385
+ credits: number;
386
+ requestId: number;
387
+ html?: string;
388
+ documentId?: string;
389
+ };
390
+ };
391
+ };
392
+ };
393
+ };
394
+ "identity.ask": {
395
+ parameters: {
396
+ query?: never;
397
+ header?: {
398
+ "x-pdfvector-document-id"?: string;
399
+ };
400
+ path?: never;
401
+ cookie?: never;
402
+ };
403
+ requestBody: {
404
+ content: {
405
+ "application/json": {
406
+ url?: string;
407
+ file?: string;
408
+ base64?: string;
409
+ question: string;
410
+ model?: "auto" | "nano" | "mini" | "pro" | "max";
411
+ };
412
+ "multipart/form-data": {
413
+ url?: string;
414
+ file?: string;
415
+ base64?: string;
416
+ question: string;
417
+ model?: "auto" | "nano" | "mini" | "pro" | "max";
418
+ };
419
+ };
420
+ };
421
+ responses: {
422
+ 200: {
423
+ headers: {
424
+ [name: string]: unknown;
425
+ };
426
+ content: {
427
+ "application/json": {
428
+ markdown: string;
429
+ pageCount: number;
430
+ model: "nano" | "mini" | "pro" | "max";
431
+ credits: number;
432
+ requestId: number;
433
+ documentId?: string;
434
+ };
435
+ };
436
+ };
437
+ };
438
+ };
439
+ "identity.extract": {
440
+ parameters: {
441
+ query?: never;
442
+ header?: {
443
+ "x-pdfvector-document-id"?: string;
444
+ };
445
+ path?: never;
446
+ cookie?: never;
447
+ };
448
+ requestBody: {
449
+ content: {
450
+ "application/json": {
451
+ url?: string;
452
+ file?: string;
453
+ base64?: string;
454
+ prompt: string;
455
+ schema: {
456
+ [key: string]: unknown;
457
+ } | string;
458
+ model?: "auto" | "nano" | "mini" | "pro" | "max";
459
+ };
460
+ "multipart/form-data": {
461
+ url?: string;
462
+ file?: string;
463
+ base64?: string;
464
+ prompt: string;
465
+ schema: {
466
+ [key: string]: unknown;
467
+ } | string;
468
+ model?: "auto" | "nano" | "mini" | "pro" | "max";
469
+ };
470
+ };
471
+ };
472
+ responses: {
473
+ 200: {
474
+ headers: {
475
+ [name: string]: unknown;
476
+ };
477
+ content: {
478
+ "application/json": {
479
+ data?: unknown;
480
+ pageCount: number;
481
+ model: "nano" | "mini" | "pro" | "max";
482
+ credits: number;
483
+ requestId: number;
484
+ documentId?: string;
485
+ };
486
+ };
487
+ };
488
+ };
489
+ };
490
+ "identity.parse": {
491
+ parameters: {
492
+ query?: never;
493
+ header?: {
494
+ "x-pdfvector-document-id"?: string;
495
+ };
496
+ path?: never;
497
+ cookie?: never;
498
+ };
499
+ requestBody: {
500
+ content: {
501
+ "application/json": {
502
+ url?: string;
503
+ file?: string;
504
+ base64?: string;
505
+ model?: "pro" | "max" | "auto";
506
+ };
507
+ "multipart/form-data": {
508
+ url?: string;
509
+ file?: string;
510
+ base64?: string;
511
+ model?: "pro" | "max" | "auto";
512
+ };
513
+ };
514
+ };
515
+ responses: {
516
+ 200: {
517
+ headers: {
518
+ [name: string]: unknown;
519
+ };
520
+ content: {
521
+ "application/json": {
522
+ markdown: string;
523
+ pageCount: number;
524
+ model: "pro" | "max";
525
+ documentType?: string;
526
+ html?: string;
527
+ credits: number;
528
+ requestId: number;
529
+ documentId?: string;
530
+ };
531
+ };
532
+ };
533
+ };
534
+ };
535
+ "invoice.ask": {
536
+ parameters: {
537
+ query?: never;
538
+ header?: {
539
+ "x-pdfvector-document-id"?: string;
540
+ };
541
+ path?: never;
542
+ cookie?: never;
543
+ };
544
+ requestBody: {
545
+ content: {
546
+ "application/json": {
547
+ url?: string;
548
+ file?: string;
549
+ base64?: string;
550
+ question: string;
551
+ model?: "auto" | "nano" | "mini" | "pro" | "max";
552
+ };
553
+ "multipart/form-data": {
554
+ url?: string;
555
+ file?: string;
556
+ base64?: string;
557
+ question: string;
558
+ model?: "auto" | "nano" | "mini" | "pro" | "max";
559
+ };
560
+ };
561
+ };
562
+ responses: {
563
+ 200: {
564
+ headers: {
565
+ [name: string]: unknown;
566
+ };
567
+ content: {
568
+ "application/json": {
569
+ markdown: string;
570
+ pageCount: number;
571
+ model: "nano" | "mini" | "pro" | "max";
572
+ credits: number;
573
+ requestId: number;
574
+ documentId?: string;
575
+ };
576
+ };
577
+ };
578
+ };
579
+ };
580
+ "invoice.extract": {
581
+ parameters: {
582
+ query?: never;
583
+ header?: {
584
+ "x-pdfvector-document-id"?: string;
585
+ };
586
+ path?: never;
587
+ cookie?: never;
588
+ };
589
+ requestBody: {
590
+ content: {
591
+ "application/json": {
592
+ url?: string;
593
+ file?: string;
594
+ base64?: string;
595
+ prompt: string;
596
+ schema: {
597
+ [key: string]: unknown;
598
+ } | string;
599
+ model?: "auto" | "nano" | "mini" | "pro" | "max";
600
+ };
601
+ "multipart/form-data": {
602
+ url?: string;
603
+ file?: string;
604
+ base64?: string;
605
+ prompt: string;
606
+ schema: {
607
+ [key: string]: unknown;
608
+ } | string;
609
+ model?: "auto" | "nano" | "mini" | "pro" | "max";
610
+ };
611
+ };
612
+ };
613
+ responses: {
614
+ 200: {
615
+ headers: {
616
+ [name: string]: unknown;
617
+ };
618
+ content: {
619
+ "application/json": {
620
+ data?: unknown;
621
+ pageCount: number;
622
+ model: "nano" | "mini" | "pro" | "max";
623
+ credits: number;
624
+ requestId: number;
625
+ documentId?: string;
626
+ };
627
+ };
628
+ };
629
+ };
630
+ };
631
+ "invoice.parse": {
632
+ parameters: {
633
+ query?: never;
634
+ header?: {
635
+ "x-pdfvector-document-id"?: string;
636
+ };
637
+ path?: never;
638
+ cookie?: never;
639
+ };
640
+ requestBody: {
641
+ content: {
642
+ "application/json": {
643
+ url?: string;
644
+ file?: string;
645
+ base64?: string;
646
+ model?: "pro" | "max" | "auto";
647
+ };
648
+ "multipart/form-data": {
649
+ url?: string;
650
+ file?: string;
651
+ base64?: string;
652
+ model?: "pro" | "max" | "auto";
653
+ };
654
+ };
655
+ };
656
+ responses: {
657
+ 200: {
658
+ headers: {
659
+ [name: string]: unknown;
660
+ };
661
+ content: {
662
+ "application/json": {
663
+ markdown: string;
664
+ pageCount: number;
665
+ model: "pro" | "max";
666
+ credits: number;
667
+ requestId: number;
668
+ html?: string;
669
+ documentId?: string;
670
+ };
671
+ };
672
+ };
673
+ };
674
+ };
675
+ "bankStatement.ask": {
676
+ parameters: {
677
+ query?: never;
678
+ header?: {
679
+ "x-pdfvector-document-id"?: string;
680
+ };
681
+ path?: never;
682
+ cookie?: never;
683
+ };
684
+ requestBody: {
685
+ content: {
686
+ "application/json": {
687
+ url?: string;
688
+ file?: string;
689
+ base64?: string;
690
+ question: string;
691
+ model?: "auto" | "nano" | "mini" | "pro" | "max";
692
+ };
693
+ "multipart/form-data": {
694
+ url?: string;
695
+ file?: string;
696
+ base64?: string;
697
+ question: string;
698
+ model?: "auto" | "nano" | "mini" | "pro" | "max";
699
+ };
700
+ };
701
+ };
702
+ responses: {
703
+ 200: {
704
+ headers: {
705
+ [name: string]: unknown;
706
+ };
707
+ content: {
708
+ "application/json": {
709
+ markdown: string;
710
+ pageCount: number;
711
+ model: "nano" | "mini" | "pro" | "max";
712
+ credits: number;
713
+ requestId: number;
714
+ documentId?: string;
715
+ };
716
+ };
717
+ };
718
+ };
719
+ };
720
+ "bankStatement.extract": {
721
+ parameters: {
722
+ query?: never;
723
+ header?: {
724
+ "x-pdfvector-document-id"?: string;
725
+ };
726
+ path?: never;
727
+ cookie?: never;
728
+ };
729
+ requestBody: {
730
+ content: {
731
+ "application/json": {
732
+ url?: string;
733
+ file?: string;
734
+ base64?: string;
735
+ prompt: string;
736
+ schema: {
737
+ [key: string]: unknown;
738
+ } | string;
739
+ model?: "auto" | "nano" | "mini" | "pro" | "max";
740
+ };
741
+ "multipart/form-data": {
742
+ url?: string;
743
+ file?: string;
744
+ base64?: string;
745
+ prompt: string;
746
+ schema: {
747
+ [key: string]: unknown;
748
+ } | string;
749
+ model?: "auto" | "nano" | "mini" | "pro" | "max";
750
+ };
751
+ };
752
+ };
753
+ responses: {
754
+ 200: {
755
+ headers: {
756
+ [name: string]: unknown;
757
+ };
758
+ content: {
759
+ "application/json": {
760
+ data?: unknown;
761
+ pageCount: number;
762
+ model: "nano" | "mini" | "pro" | "max";
763
+ credits: number;
764
+ requestId: number;
765
+ documentId?: string;
766
+ };
767
+ };
768
+ };
769
+ };
770
+ };
771
+ "bankStatement.parse": {
772
+ parameters: {
773
+ query?: never;
774
+ header?: {
775
+ "x-pdfvector-document-id"?: string;
776
+ };
777
+ path?: never;
778
+ cookie?: never;
779
+ };
780
+ requestBody: {
781
+ content: {
782
+ "application/json": {
783
+ url?: string;
784
+ file?: string;
785
+ base64?: string;
786
+ model?: "pro" | "max" | "auto";
787
+ };
788
+ "multipart/form-data": {
789
+ url?: string;
790
+ file?: string;
791
+ base64?: string;
792
+ model?: "pro" | "max" | "auto";
793
+ };
794
+ };
795
+ };
796
+ responses: {
797
+ 200: {
798
+ headers: {
799
+ [name: string]: unknown;
800
+ };
801
+ content: {
802
+ "application/json": {
803
+ markdown: string;
804
+ pageCount: number;
805
+ model: "pro" | "max";
806
+ credits: number;
807
+ requestId: number;
808
+ html?: string;
809
+ documentId?: string;
810
+ };
811
+ };
812
+ };
813
+ };
814
+ };
815
+ "academic.fetch": {
816
+ parameters: {
817
+ query?: never;
818
+ header?: never;
819
+ path?: never;
820
+ cookie?: never;
821
+ };
822
+ requestBody: {
823
+ content: {
824
+ "application/json": {
825
+ ids: string[];
826
+ fields?: ("doi" | "title" | "url" | "providerURL" | "authors" | "date" | "year" | "totalCitations" | "totalReferences" | "abstract" | "pdfURL" | "provider" | "providerData")[] | null;
827
+ };
828
+ };
829
+ };
830
+ responses: {
831
+ 200: {
832
+ headers: {
833
+ [name: string]: unknown;
834
+ };
835
+ content: {
836
+ "application/json": {
837
+ results: {
838
+ id: string;
839
+ detectedProvider?: string | null;
840
+ doi?: string | null;
841
+ title?: string | null;
842
+ url?: string | null;
843
+ providerURL?: string | null;
844
+ authors?: {
845
+ name: string;
846
+ url?: string | null;
847
+ }[] | null;
848
+ date?: string | null;
849
+ year?: number | null;
850
+ totalCitations?: number | null;
851
+ totalReferences?: number | null;
852
+ abstract?: string | null;
853
+ pdfURL?: string | null;
854
+ provider?: string | null;
855
+ providerData?: {
856
+ [key: string]: unknown;
857
+ } | null;
858
+ }[];
859
+ errors?: {
860
+ id: string;
861
+ error: string;
862
+ code?: string | null;
863
+ }[] | null;
864
+ requestId: number;
865
+ };
866
+ };
867
+ };
868
+ };
869
+ };
870
+ "academic.findCitations": {
871
+ parameters: {
872
+ query?: never;
873
+ header?: never;
874
+ path?: never;
875
+ cookie?: never;
876
+ };
877
+ requestBody: {
878
+ content: {
879
+ "application/json": {
880
+ paragraph: string;
881
+ providers?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex")[];
882
+ fields?: ("doi" | "title" | "url" | "providerURL" | "authors" | "date" | "year" | "totalCitations" | "totalReferences" | "abstract" | "pdfURL" | "provider" | "providerData")[] | null;
883
+ };
884
+ };
885
+ };
886
+ responses: {
887
+ 200: {
888
+ headers: {
889
+ [name: string]: unknown;
890
+ };
891
+ content: {
892
+ "application/json": {
893
+ results: {
894
+ sentence: string;
895
+ citations: {
896
+ score: number;
897
+ doi?: string | null;
898
+ title?: string | null;
899
+ url?: string | null;
900
+ providerURL?: string | null;
901
+ authors?: {
902
+ name: string;
903
+ url?: string | null;
904
+ }[] | null;
905
+ date?: string | null;
906
+ year?: number | null;
907
+ totalCitations?: number | null;
908
+ totalReferences?: number | null;
909
+ abstract?: string | null;
910
+ pdfURL?: string | null;
911
+ provider?: string | null;
912
+ providerData?: {
913
+ [key: string]: unknown;
914
+ } | null;
915
+ }[];
916
+ }[];
917
+ sentenceCount: number;
918
+ totalCitations: number;
919
+ errors?: string[] | null;
920
+ requestId: number;
921
+ };
922
+ };
923
+ };
924
+ };
925
+ };
926
+ "academic.search": {
927
+ parameters: {
928
+ query?: never;
929
+ header?: never;
930
+ path?: never;
931
+ cookie?: never;
932
+ };
933
+ requestBody: {
934
+ content: {
935
+ "application/json": {
936
+ query: string;
937
+ providers?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex")[];
938
+ offset?: number;
939
+ limit?: number;
940
+ yearFrom?: number | null;
941
+ yearTo?: number | null;
942
+ fields?: ("doi" | "title" | "url" | "providerURL" | "authors" | "date" | "year" | "totalCitations" | "totalReferences" | "abstract" | "pdfURL" | "provider" | "providerData")[] | null;
943
+ };
944
+ };
945
+ };
946
+ responses: {
947
+ 200: {
948
+ headers: {
949
+ [name: string]: unknown;
950
+ };
951
+ content: {
952
+ "application/json": {
953
+ estimatedTotalResults: number;
954
+ results: {
955
+ doi?: string | null;
956
+ title?: string | null;
957
+ url?: string | null;
958
+ providerURL?: string | null;
959
+ authors?: {
960
+ name: string;
961
+ url?: string | null;
962
+ }[] | null;
963
+ date?: string | null;
964
+ year?: number | null;
965
+ totalCitations?: number | null;
966
+ totalReferences?: number | null;
967
+ abstract?: string | null;
968
+ pdfURL?: string | null;
969
+ provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex") | null;
970
+ providerData?: {
971
+ [key: string]: unknown;
972
+ } | null;
973
+ }[];
974
+ errors?: {
975
+ provider: string;
976
+ message: string;
977
+ code?: string | null;
978
+ details?: {
979
+ [key: string]: unknown;
980
+ } | null;
981
+ }[] | null;
982
+ requestId: number;
983
+ };
984
+ };
985
+ };
986
+ };
987
+ };
988
+ }