@carddb/core 0.4.0 → 0.4.1

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 CHANGED
@@ -2406,6 +2406,28 @@ ${RESOLVED_LINKS_FIELDS}` : selectedRecordFields;
2406
2406
  `
2407
2407
  };
2408
2408
  },
2409
+ createScanUploadSession() {
2410
+ return {
2411
+ query: `
2412
+ mutation CreateScanUploadSession($input: CreateScanUploadSessionInput!) {
2413
+ createScanUploadSession(input: $input) {
2414
+ ${PRESIGNED_UPLOAD_FIELDS}
2415
+ }
2416
+ }
2417
+ `
2418
+ };
2419
+ },
2420
+ confirmScanUpload() {
2421
+ return {
2422
+ query: `
2423
+ mutation ConfirmScanUpload($input: ConfirmScanUploadInput!) {
2424
+ confirmScanUpload(input: $input) {
2425
+ ${FILE_FIELDS}
2426
+ }
2427
+ }
2428
+ `
2429
+ };
2430
+ },
2409
2431
  createScanJob() {
2410
2432
  return {
2411
2433
  query: `
@@ -3680,6 +3702,12 @@ ${RESOLVED_LINKS_FIELDS}` : selectedRecordFields;
3680
3702
  fileUploadRequestVariables(input) {
3681
3703
  return { input };
3682
3704
  },
3705
+ createScanUploadSessionVariables(input) {
3706
+ return { input };
3707
+ },
3708
+ confirmScanUploadVariables(input) {
3709
+ return { input };
3710
+ },
3683
3711
  createScanJobVariables(input) {
3684
3712
  return { input };
3685
3713
  },