@carddb/core 0.4.0 → 0.4.2
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/index.cjs +41 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +36 -1
- package/dist/index.d.ts +36 -1
- package/dist/index.js +41 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1336,7 +1336,14 @@ var SCAN_METRICS_FIELDS = `
|
|
|
1336
1336
|
completedJobs
|
|
1337
1337
|
failedJobs
|
|
1338
1338
|
failureRate
|
|
1339
|
+
noMatchCount
|
|
1340
|
+
noMatchRate
|
|
1339
1341
|
averageShortlistSize
|
|
1342
|
+
vectorQueryCount
|
|
1343
|
+
vectorFallbackCount
|
|
1344
|
+
averageVectorCandidates
|
|
1345
|
+
averageVectorQueryMs
|
|
1346
|
+
averageEmbeddingMs
|
|
1340
1347
|
confidenceDistribution
|
|
1341
1348
|
feedback {
|
|
1342
1349
|
total
|
|
@@ -1350,8 +1357,14 @@ var SCAN_METRICS_FIELDS = `
|
|
|
1350
1357
|
jobCount
|
|
1351
1358
|
completedJobs
|
|
1352
1359
|
failedJobs
|
|
1360
|
+
noMatchCount
|
|
1353
1361
|
averageConfidence
|
|
1354
1362
|
averageShortlistSize
|
|
1363
|
+
vectorQueryCount
|
|
1364
|
+
vectorFallbackCount
|
|
1365
|
+
averageVectorCandidates
|
|
1366
|
+
averageVectorQueryMs
|
|
1367
|
+
averageEmbeddingMs
|
|
1355
1368
|
feedbackCount
|
|
1356
1369
|
correctFeedback
|
|
1357
1370
|
correctedFeedback
|
|
@@ -2406,6 +2419,28 @@ ${RESOLVED_LINKS_FIELDS}` : selectedRecordFields;
|
|
|
2406
2419
|
`
|
|
2407
2420
|
};
|
|
2408
2421
|
},
|
|
2422
|
+
createScanUploadSession() {
|
|
2423
|
+
return {
|
|
2424
|
+
query: `
|
|
2425
|
+
mutation CreateScanUploadSession($input: CreateScanUploadSessionInput!) {
|
|
2426
|
+
createScanUploadSession(input: $input) {
|
|
2427
|
+
${PRESIGNED_UPLOAD_FIELDS}
|
|
2428
|
+
}
|
|
2429
|
+
}
|
|
2430
|
+
`
|
|
2431
|
+
};
|
|
2432
|
+
},
|
|
2433
|
+
confirmScanUpload() {
|
|
2434
|
+
return {
|
|
2435
|
+
query: `
|
|
2436
|
+
mutation ConfirmScanUpload($input: ConfirmScanUploadInput!) {
|
|
2437
|
+
confirmScanUpload(input: $input) {
|
|
2438
|
+
${FILE_FIELDS}
|
|
2439
|
+
}
|
|
2440
|
+
}
|
|
2441
|
+
`
|
|
2442
|
+
};
|
|
2443
|
+
},
|
|
2409
2444
|
createScanJob() {
|
|
2410
2445
|
return {
|
|
2411
2446
|
query: `
|
|
@@ -3680,6 +3715,12 @@ ${RESOLVED_LINKS_FIELDS}` : selectedRecordFields;
|
|
|
3680
3715
|
fileUploadRequestVariables(input) {
|
|
3681
3716
|
return { input };
|
|
3682
3717
|
},
|
|
3718
|
+
createScanUploadSessionVariables(input) {
|
|
3719
|
+
return { input };
|
|
3720
|
+
},
|
|
3721
|
+
confirmScanUploadVariables(input) {
|
|
3722
|
+
return { input };
|
|
3723
|
+
},
|
|
3683
3724
|
createScanJobVariables(input) {
|
|
3684
3725
|
return { input };
|
|
3685
3726
|
},
|