n8n-nodes-pdfvector 2.0.5 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nodes/PdfVector/PdfVector.node.js +1 -0
- package/dist/nodes/PdfVector/PdfVector.node.js.map +1 -1
- package/dist/nodes/PdfVector/PdfVector.node.json +1 -1
- package/dist/nodes/PdfVector/academic/index.js +259 -7
- package/dist/nodes/PdfVector/academic/index.js.map +1 -1
- package/dist/nodes/PdfVector/shared/api.d.ts +2 -0
- package/dist/nodes/PdfVector/shared/options.js +10 -1
- package/dist/nodes/PdfVector/shared/options.js.map +1 -1
- package/dist/nodes/PdfVector/shared/pdfvector-api.types.d.ts +290 -3
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -239,6 +239,54 @@ export interface paths {
|
|
|
239
239
|
patch?: never;
|
|
240
240
|
trace?: never;
|
|
241
241
|
};
|
|
242
|
+
"/academic/paperGraph": {
|
|
243
|
+
parameters: {
|
|
244
|
+
query?: never;
|
|
245
|
+
header?: never;
|
|
246
|
+
path?: never;
|
|
247
|
+
cookie?: never;
|
|
248
|
+
};
|
|
249
|
+
get?: never;
|
|
250
|
+
put?: never;
|
|
251
|
+
post: operations["academic.paperGraph"];
|
|
252
|
+
delete?: never;
|
|
253
|
+
options?: never;
|
|
254
|
+
head?: never;
|
|
255
|
+
patch?: never;
|
|
256
|
+
trace?: never;
|
|
257
|
+
};
|
|
258
|
+
"/academic/similarPapers": {
|
|
259
|
+
parameters: {
|
|
260
|
+
query?: never;
|
|
261
|
+
header?: never;
|
|
262
|
+
path?: never;
|
|
263
|
+
cookie?: never;
|
|
264
|
+
};
|
|
265
|
+
get?: never;
|
|
266
|
+
put?: never;
|
|
267
|
+
post: operations["academic.similarPapers"];
|
|
268
|
+
delete?: never;
|
|
269
|
+
options?: never;
|
|
270
|
+
head?: never;
|
|
271
|
+
patch?: never;
|
|
272
|
+
trace?: never;
|
|
273
|
+
};
|
|
274
|
+
"/academic/searchGrants": {
|
|
275
|
+
parameters: {
|
|
276
|
+
query?: never;
|
|
277
|
+
header?: never;
|
|
278
|
+
path?: never;
|
|
279
|
+
cookie?: never;
|
|
280
|
+
};
|
|
281
|
+
get?: never;
|
|
282
|
+
put?: never;
|
|
283
|
+
post: operations["academic.searchGrants"];
|
|
284
|
+
delete?: never;
|
|
285
|
+
options?: never;
|
|
286
|
+
head?: never;
|
|
287
|
+
patch?: never;
|
|
288
|
+
trace?: never;
|
|
289
|
+
};
|
|
242
290
|
}
|
|
243
291
|
export type webhooks = Record<string, never>;
|
|
244
292
|
export interface components {
|
|
@@ -878,7 +926,7 @@ export interface operations {
|
|
|
878
926
|
content: {
|
|
879
927
|
"application/json": {
|
|
880
928
|
paragraph: string;
|
|
881
|
-
providers?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex")[];
|
|
929
|
+
providers?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref")[];
|
|
882
930
|
fields?: ("doi" | "title" | "url" | "providerURL" | "authors" | "date" | "year" | "totalCitations" | "totalReferences" | "abstract" | "pdfURL" | "provider" | "providerData")[] | null;
|
|
883
931
|
};
|
|
884
932
|
};
|
|
@@ -934,7 +982,7 @@ export interface operations {
|
|
|
934
982
|
content: {
|
|
935
983
|
"application/json": {
|
|
936
984
|
query: string;
|
|
937
|
-
providers?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex")[];
|
|
985
|
+
providers?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex" | "crossref")[];
|
|
938
986
|
offset?: number;
|
|
939
987
|
limit?: number;
|
|
940
988
|
yearFrom?: number | null;
|
|
@@ -966,7 +1014,246 @@ export interface operations {
|
|
|
966
1014
|
totalReferences?: number | null;
|
|
967
1015
|
abstract?: string | null;
|
|
968
1016
|
pdfURL?: string | null;
|
|
969
|
-
provider?: ("semantic-scholar" | "pubmed" | "arxiv" | "google-scholar" | "eric" | "europe-pmc" | "openalex") | 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
|
+
"academic.paperGraph": {
|
|
1037
|
+
parameters: {
|
|
1038
|
+
query?: never;
|
|
1039
|
+
header?: never;
|
|
1040
|
+
path?: never;
|
|
1041
|
+
cookie?: never;
|
|
1042
|
+
};
|
|
1043
|
+
requestBody: {
|
|
1044
|
+
content: {
|
|
1045
|
+
"application/json": {
|
|
1046
|
+
id: string;
|
|
1047
|
+
citationsLimit?: number;
|
|
1048
|
+
referencesLimit?: number;
|
|
1049
|
+
citationsOffset?: number;
|
|
1050
|
+
referencesOffset?: number;
|
|
1051
|
+
fields?: ("doi" | "title" | "url" | "providerURL" | "authors" | "date" | "year" | "totalCitations" | "totalReferences" | "abstract" | "pdfURL" | "provider" | "providerData")[] | null;
|
|
1052
|
+
};
|
|
1053
|
+
};
|
|
1054
|
+
};
|
|
1055
|
+
responses: {
|
|
1056
|
+
200: {
|
|
1057
|
+
headers: {
|
|
1058
|
+
[name: string]: unknown;
|
|
1059
|
+
};
|
|
1060
|
+
content: {
|
|
1061
|
+
"application/json": {
|
|
1062
|
+
paper: {
|
|
1063
|
+
doi?: string | null;
|
|
1064
|
+
title?: string | null;
|
|
1065
|
+
url?: string | null;
|
|
1066
|
+
providerURL?: string | null;
|
|
1067
|
+
authors?: {
|
|
1068
|
+
name: string;
|
|
1069
|
+
url?: string | null;
|
|
1070
|
+
}[] | null;
|
|
1071
|
+
date?: string | null;
|
|
1072
|
+
year?: number | null;
|
|
1073
|
+
totalCitations?: number | null;
|
|
1074
|
+
totalReferences?: number | null;
|
|
1075
|
+
abstract?: string | null;
|
|
1076
|
+
pdfURL?: string | null;
|
|
1077
|
+
provider?: string | null;
|
|
1078
|
+
providerData?: {
|
|
1079
|
+
[key: string]: unknown;
|
|
1080
|
+
} | null;
|
|
1081
|
+
};
|
|
1082
|
+
citations: {
|
|
1083
|
+
doi?: string | null;
|
|
1084
|
+
title?: string | null;
|
|
1085
|
+
url?: string | null;
|
|
1086
|
+
providerURL?: string | null;
|
|
1087
|
+
authors?: {
|
|
1088
|
+
name: string;
|
|
1089
|
+
url?: string | null;
|
|
1090
|
+
}[] | null;
|
|
1091
|
+
date?: string | null;
|
|
1092
|
+
year?: number | null;
|
|
1093
|
+
totalCitations?: number | null;
|
|
1094
|
+
totalReferences?: number | null;
|
|
1095
|
+
abstract?: string | null;
|
|
1096
|
+
pdfURL?: string | null;
|
|
1097
|
+
provider?: string | null;
|
|
1098
|
+
providerData?: {
|
|
1099
|
+
[key: string]: unknown;
|
|
1100
|
+
} | null;
|
|
1101
|
+
}[];
|
|
1102
|
+
references: {
|
|
1103
|
+
doi?: string | null;
|
|
1104
|
+
title?: string | null;
|
|
1105
|
+
url?: string | null;
|
|
1106
|
+
providerURL?: string | null;
|
|
1107
|
+
authors?: {
|
|
1108
|
+
name: string;
|
|
1109
|
+
url?: string | null;
|
|
1110
|
+
}[] | null;
|
|
1111
|
+
date?: string | null;
|
|
1112
|
+
year?: number | null;
|
|
1113
|
+
totalCitations?: number | null;
|
|
1114
|
+
totalReferences?: number | null;
|
|
1115
|
+
abstract?: string | null;
|
|
1116
|
+
pdfURL?: string | null;
|
|
1117
|
+
provider?: string | null;
|
|
1118
|
+
providerData?: {
|
|
1119
|
+
[key: string]: unknown;
|
|
1120
|
+
} | null;
|
|
1121
|
+
}[];
|
|
1122
|
+
totalCitations?: number | null;
|
|
1123
|
+
totalReferences?: number | null;
|
|
1124
|
+
requestId: number;
|
|
1125
|
+
};
|
|
1126
|
+
};
|
|
1127
|
+
};
|
|
1128
|
+
};
|
|
1129
|
+
};
|
|
1130
|
+
"academic.similarPapers": {
|
|
1131
|
+
parameters: {
|
|
1132
|
+
query?: never;
|
|
1133
|
+
header?: never;
|
|
1134
|
+
path?: never;
|
|
1135
|
+
cookie?: never;
|
|
1136
|
+
};
|
|
1137
|
+
requestBody: {
|
|
1138
|
+
content: {
|
|
1139
|
+
"application/json": {
|
|
1140
|
+
id: string;
|
|
1141
|
+
limit?: number;
|
|
1142
|
+
includeEdges?: boolean;
|
|
1143
|
+
fields?: ("doi" | "title" | "url" | "providerURL" | "authors" | "date" | "year" | "totalCitations" | "totalReferences" | "abstract" | "pdfURL" | "provider" | "providerData")[] | null;
|
|
1144
|
+
};
|
|
1145
|
+
};
|
|
1146
|
+
};
|
|
1147
|
+
responses: {
|
|
1148
|
+
200: {
|
|
1149
|
+
headers: {
|
|
1150
|
+
[name: string]: unknown;
|
|
1151
|
+
};
|
|
1152
|
+
content: {
|
|
1153
|
+
"application/json": {
|
|
1154
|
+
seed: {
|
|
1155
|
+
doi?: string | null;
|
|
1156
|
+
title?: string | null;
|
|
1157
|
+
url?: string | null;
|
|
1158
|
+
providerURL?: string | null;
|
|
1159
|
+
authors?: {
|
|
1160
|
+
name: string;
|
|
1161
|
+
url?: string | null;
|
|
1162
|
+
}[] | null;
|
|
1163
|
+
date?: string | null;
|
|
1164
|
+
year?: number | null;
|
|
1165
|
+
totalCitations?: number | null;
|
|
1166
|
+
totalReferences?: number | null;
|
|
1167
|
+
abstract?: string | null;
|
|
1168
|
+
pdfURL?: string | null;
|
|
1169
|
+
provider?: string | null;
|
|
1170
|
+
providerData?: {
|
|
1171
|
+
[key: string]: unknown;
|
|
1172
|
+
} | 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
|
+
}[];
|
|
1201
|
+
requestId: number;
|
|
1202
|
+
};
|
|
1203
|
+
};
|
|
1204
|
+
};
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
1207
|
+
"academic.searchGrants": {
|
|
1208
|
+
parameters: {
|
|
1209
|
+
query?: never;
|
|
1210
|
+
header?: never;
|
|
1211
|
+
path?: never;
|
|
1212
|
+
cookie?: never;
|
|
1213
|
+
};
|
|
1214
|
+
requestBody: {
|
|
1215
|
+
content: {
|
|
1216
|
+
"application/json": {
|
|
1217
|
+
query: string;
|
|
1218
|
+
providers?: ("grants-gov" | "nih-reporter" | "cordis" | "ukri")[];
|
|
1219
|
+
offset?: number;
|
|
1220
|
+
limit?: number;
|
|
1221
|
+
deadlineFrom?: string | null;
|
|
1222
|
+
deadlineTo?: string | null;
|
|
1223
|
+
fundingMin?: number | null;
|
|
1224
|
+
fundingMax?: number | null;
|
|
1225
|
+
fields?: ("sourceId" | "title" | "url" | "agency" | "program" | "description" | "eligibility" | "fundingAmountMin" | "fundingAmountMax" | "currency" | "deadlineDate" | "openDate" | "closeDate" | "grantType" | "region" | "keywords" | "piName" | "organizationName" | "provider" | "providerData")[] | null;
|
|
1226
|
+
};
|
|
1227
|
+
};
|
|
1228
|
+
};
|
|
1229
|
+
responses: {
|
|
1230
|
+
200: {
|
|
1231
|
+
headers: {
|
|
1232
|
+
[name: string]: unknown;
|
|
1233
|
+
};
|
|
1234
|
+
content: {
|
|
1235
|
+
"application/json": {
|
|
1236
|
+
estimatedTotalResults: number;
|
|
1237
|
+
results: {
|
|
1238
|
+
sourceId?: string | null;
|
|
1239
|
+
title?: string | null;
|
|
1240
|
+
url?: string | null;
|
|
1241
|
+
agency?: string | null;
|
|
1242
|
+
program?: string | null;
|
|
1243
|
+
description?: string | null;
|
|
1244
|
+
eligibility?: string | null;
|
|
1245
|
+
fundingAmountMin?: number | null;
|
|
1246
|
+
fundingAmountMax?: number | null;
|
|
1247
|
+
currency?: string | null;
|
|
1248
|
+
deadlineDate?: string | null;
|
|
1249
|
+
openDate?: string | null;
|
|
1250
|
+
closeDate?: string | null;
|
|
1251
|
+
grantType?: string | null;
|
|
1252
|
+
region?: string | null;
|
|
1253
|
+
keywords?: string[] | null;
|
|
1254
|
+
piName?: string | null;
|
|
1255
|
+
organizationName?: string | null;
|
|
1256
|
+
provider?: ("grants-gov" | "nih-reporter" | "cordis" | "ukri") | null;
|
|
970
1257
|
providerData?: {
|
|
971
1258
|
[key: string]: unknown;
|
|
972
1259
|
} | null;
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-pdfvector",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "n8n community node for PDF Vector — parse PDF, Word, Excel, and image documents, extract structured data with JSON Schema, ask AI questions, and search academic papers across multiple databases.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package",
|