@idscan/idvc2 2.7.5 → 2.7.7

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.html CHANGED
@@ -50,10 +50,25 @@
50
50
  type: 'Passport',
51
51
  steps:[
52
52
  { type: 'front', name: 'Document Front' },
53
- { type: 'mrz', name: 'Passport Back', mode: { uploader: true, video: true } },
54
53
  { type: 'face', name: 'Face', mode: { uploader: true, video: true } }
55
54
  ],
56
55
  },
56
+ {
57
+ type: 'PassportCard',
58
+ steps:[
59
+ { type: 'front', name: 'Document Front' },
60
+ { type: 'mrz', name: 'Passport Back', mode: { uploader: true, video: true } },
61
+ { type: 'face', name: 'Face', mode: { uploader: true, video: true } }
62
+ ],
63
+ },
64
+ {
65
+ type: 'GreenCard',
66
+ steps:[
67
+ { type: 'front', name: 'Document Front' },
68
+ { type: 'back', name: 'Passport Back', mode: { uploader: true, video: true } },
69
+ { type: 'face', name: 'Face', mode: { uploader: true, video: true } }
70
+ ],
71
+ },
57
72
  {
58
73
  type: 'InternationalId',
59
74
  steps:[
@@ -3,6 +3,17 @@ export type DocumentTypeName = 'ID' | 'Passport' | 'PassportCard' | 'GreenCard'
3
3
  export type HumanName = 'Driver\'s License or State Identification Card' | 'Passport' | 'US Passport Card' | 'Green Card or Employment Authorization' | 'International ID' | 'Vehicle Identification Number' | '1-D and 2-D Barcodes' | 'Face Authorization';
4
4
  export type ImageSource = 'video' | 'file';
5
5
 
6
+ export enum DocumentTypeIDs {
7
+ 'ID' = 1,
8
+ 'Passport' = 2,
9
+ 'PassportCard' = 3,
10
+ 'GreenCard' = 6,
11
+ 'InternationalId' = 7,
12
+ 'VIN' = 8,
13
+ 'Barcode' = 9,
14
+ 'FaceAuthorization' = 10,
15
+ }
16
+
6
17
  export interface DocumentRecord {
7
18
  name: DocumentTypeName,
8
19
  id: DocumentTypeIndex,
@@ -2,6 +2,16 @@ export type DocumentTypeIndex = 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10;
2
2
  export type DocumentTypeName = 'ID' | 'Passport' | 'PassportCard' | 'GreenCard' | 'InternationalId' | 'VIN' | 'Barcode' | 'FaceAuthorization';
3
3
  export type HumanName = 'Driver\'s License or State Identification Card' | 'Passport' | 'US Passport Card' | 'Green Card or Employment Authorization' | 'International ID' | 'Vehicle Identification Number' | '1-D and 2-D Barcodes' | 'Face Authorization';
4
4
  export type ImageSource = 'video' | 'file';
5
+ export declare enum DocumentTypeIDs {
6
+ 'ID' = 1,
7
+ 'Passport' = 2,
8
+ 'PassportCard' = 3,
9
+ 'GreenCard' = 6,
10
+ 'InternationalId' = 7,
11
+ 'VIN' = 8,
12
+ 'Barcode' = 9,
13
+ 'FaceAuthorization' = 10
14
+ }
5
15
  export interface DocumentRecord {
6
16
  name: DocumentTypeName;
7
17
  id: DocumentTypeIndex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idscan/idvc2",
3
- "version": "2.7.5",
3
+ "version": "2.7.7",
4
4
  "description": "component for the capturing documents",
5
5
  "main": "dist/idvc.js",
6
6
  "types": "dist/types/idvc.d.ts",