@regulaforensics/document-reader-webclient 6.1.0 → 6.1.3

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 (68) hide show
  1. package/dist/cjs-es5/ext/document-reader.js +22 -4
  2. package/dist/cjs-es5/ext/images.js +23 -8
  3. package/dist/cjs-es5/ext/process-request.js +1 -1
  4. package/dist/cjs-es5/ext/process-response.js +28 -11
  5. package/dist/cjs-es5/models/bc-pdf417-info.js +16 -0
  6. package/dist/cjs-es5/models/bc-roidetect.js +16 -0
  7. package/dist/cjs-es5/models/data-module.js +16 -0
  8. package/dist/cjs-es5/models/doc-bar-code-info-all-of.js +16 -0
  9. package/dist/cjs-es5/models/doc-bar-code-info.js +16 -0
  10. package/dist/cjs-es5/models/encrypted-rclresult-all-of.js +16 -0
  11. package/dist/cjs-es5/models/encrypted-rclresult.js +16 -0
  12. package/dist/cjs-es5/models/index.js +11 -1
  13. package/dist/cjs-es5/models/license-result-all-of.js +16 -0
  14. package/dist/cjs-es5/models/license-result.js +16 -0
  15. package/dist/cjs-es5/models/parray-field.js +16 -0
  16. package/dist/cjs-es5/models/result.js +13 -1
  17. package/dist/esm-es5/ext/document-reader.js +2 -3
  18. package/dist/esm-es5/ext/images.js +4 -5
  19. package/dist/esm-es5/ext/process-request.js +1 -1
  20. package/dist/esm-es5/ext/process-response.js +8 -7
  21. package/dist/esm-es5/models/bc-pdf417-info.js +14 -0
  22. package/dist/esm-es5/models/bc-roidetect.js +14 -0
  23. package/dist/esm-es5/models/data-module.js +14 -0
  24. package/dist/esm-es5/models/doc-bar-code-info-all-of.js +14 -0
  25. package/dist/esm-es5/models/doc-bar-code-info.js +14 -0
  26. package/dist/esm-es5/models/encrypted-rclresult-all-of.js +14 -0
  27. package/dist/esm-es5/models/encrypted-rclresult.js +14 -0
  28. package/dist/esm-es5/models/index.js +11 -1
  29. package/dist/esm-es5/models/license-result-all-of.js +14 -0
  30. package/dist/esm-es5/models/license-result.js +14 -0
  31. package/dist/esm-es5/models/parray-field.js +14 -0
  32. package/dist/esm-es5/models/result.js +13 -1
  33. package/package.json +2 -2
  34. package/src/ext/document-reader.ts +1 -3
  35. package/src/ext/images.ts +3 -5
  36. package/src/ext/process-request-image.ts +1 -1
  37. package/src/ext/process-request.ts +8 -2
  38. package/src/ext/process-response.ts +11 -10
  39. package/src/ext/result-item.ts +5 -5
  40. package/src/models/authenticity-result.ts +3 -0
  41. package/src/models/bc-pdf417-info.ts +61 -0
  42. package/src/models/bc-roidetect.ts +49 -0
  43. package/src/models/chosen-document-type-result.ts +3 -0
  44. package/src/models/container-list.ts +11 -2
  45. package/src/models/data-module.ts +55 -0
  46. package/src/models/doc-bar-code-info-all-of.ts +38 -0
  47. package/src/models/doc-bar-code-info.ts +42 -0
  48. package/src/models/document-image-result.ts +3 -0
  49. package/src/models/document-position-result.ts +3 -0
  50. package/src/models/document-types-candidates-result.ts +3 -0
  51. package/src/models/encrypted-rclresult-all-of.ts +31 -0
  52. package/src/models/encrypted-rclresult.ts +40 -0
  53. package/src/models/graphics-result.ts +3 -0
  54. package/src/models/image-quality-result.ts +3 -0
  55. package/src/models/images-result.ts +3 -0
  56. package/src/models/index.ts +10 -0
  57. package/src/models/lexical-analysis-result.ts +3 -0
  58. package/src/models/license-result-all-of.ts +31 -0
  59. package/src/models/license-result.ts +40 -0
  60. package/src/models/parray-field.ts +88 -0
  61. package/src/models/process-request.ts +14 -1
  62. package/src/models/result-item.ts +3 -0
  63. package/src/models/result.ts +13 -1
  64. package/src/models/status-result.ts +3 -0
  65. package/src/models/text-data-result.ts +3 -0
  66. package/src/models/text-result.ts +3 -0
  67. package/tsconfig.commonjs.json +1 -1
  68. package/tsconfig.esm.json +1 -1
@@ -15,13 +15,16 @@
15
15
 
16
16
  import { AuthenticityResult } from './authenticity-result';
17
17
  import { ChosenDocumentTypeResult } from './chosen-document-type-result';
18
+ import { DocBarCodeInfo } from './doc-bar-code-info';
18
19
  import { DocumentImageResult } from './document-image-result';
19
20
  import { DocumentPositionResult } from './document-position-result';
20
21
  import { DocumentTypesCandidatesResult } from './document-types-candidates-result';
22
+ import { EncryptedRCLResult } from './encrypted-rclresult';
21
23
  import { GraphicsResult } from './graphics-result';
22
24
  import { ImageQualityResult } from './image-quality-result';
23
25
  import { ImagesResult } from './images-result';
24
26
  import { LexicalAnalysisResult } from './lexical-analysis-result';
27
+ import { LicenseResult } from './license-result';
25
28
  import { StatusResult } from './status-result';
26
29
  import { TextDataResult } from './text-data-result';
27
30
  import { TextResult } from './text-result';
@@ -87,7 +87,19 @@ export enum Result {
87
87
  /**
88
88
  * Contains information about document position on the input image, its center, angle, etc
89
89
  */
90
- DOCUMENT_POSITION = 85
90
+ DOCUMENT_POSITION = 85,
91
+ /**
92
+ * Contains raw information about barcodes on the input image
93
+ */
94
+ BARCODES = 5,
95
+ /**
96
+ * Contains license
97
+ */
98
+ LICENSE = 50,
99
+ /**
100
+ * Contains encrypted ResultContainerList
101
+ */
102
+ ENCRYPTED_RCL = 49
91
103
  }
92
104
 
93
105
 
@@ -15,13 +15,16 @@
15
15
 
16
16
  import { AuthenticityResult } from './authenticity-result';
17
17
  import { ChosenDocumentTypeResult } from './chosen-document-type-result';
18
+ import { DocBarCodeInfo } from './doc-bar-code-info';
18
19
  import { DocumentImageResult } from './document-image-result';
19
20
  import { DocumentPositionResult } from './document-position-result';
20
21
  import { DocumentTypesCandidatesResult } from './document-types-candidates-result';
22
+ import { EncryptedRCLResult } from './encrypted-rclresult';
21
23
  import { GraphicsResult } from './graphics-result';
22
24
  import { ImageQualityResult } from './image-quality-result';
23
25
  import { ImagesResult } from './images-result';
24
26
  import { LexicalAnalysisResult } from './lexical-analysis-result';
27
+ import { LicenseResult } from './license-result';
25
28
  import { ResultItem } from './result-item';
26
29
  import { Status } from './status';
27
30
  import { StatusResultAllOf } from './status-result-all-of';
@@ -15,14 +15,17 @@
15
15
 
16
16
  import { AuthenticityResult } from './authenticity-result';
17
17
  import { ChosenDocumentTypeResult } from './chosen-document-type-result';
18
+ import { DocBarCodeInfo } from './doc-bar-code-info';
18
19
  import { DocVisualExtendedInfo } from './doc-visual-extended-info';
19
20
  import { DocumentImageResult } from './document-image-result';
20
21
  import { DocumentPositionResult } from './document-position-result';
21
22
  import { DocumentTypesCandidatesResult } from './document-types-candidates-result';
23
+ import { EncryptedRCLResult } from './encrypted-rclresult';
22
24
  import { GraphicsResult } from './graphics-result';
23
25
  import { ImageQualityResult } from './image-quality-result';
24
26
  import { ImagesResult } from './images-result';
25
27
  import { LexicalAnalysisResult } from './lexical-analysis-result';
28
+ import { LicenseResult } from './license-result';
26
29
  import { ResultItem } from './result-item';
27
30
  import { StatusResult } from './status-result';
28
31
  import { TextDataResultAllOf } from './text-data-result-all-of';
@@ -15,13 +15,16 @@
15
15
 
16
16
  import { AuthenticityResult } from './authenticity-result';
17
17
  import { ChosenDocumentTypeResult } from './chosen-document-type-result';
18
+ import { DocBarCodeInfo } from './doc-bar-code-info';
18
19
  import { DocumentImageResult } from './document-image-result';
19
20
  import { DocumentPositionResult } from './document-position-result';
20
21
  import { DocumentTypesCandidatesResult } from './document-types-candidates-result';
22
+ import { EncryptedRCLResult } from './encrypted-rclresult';
21
23
  import { GraphicsResult } from './graphics-result';
22
24
  import { ImageQualityResult } from './image-quality-result';
23
25
  import { ImagesResult } from './images-result';
24
26
  import { LexicalAnalysisResult } from './lexical-analysis-result';
27
+ import { LicenseResult } from './license-result';
25
28
  import { ResultItem } from './result-item';
26
29
  import { StatusResult } from './status-result';
27
30
  import { Text } from './text';
@@ -9,7 +9,7 @@
9
9
  "esModuleInterop": true,
10
10
  "lib": [
11
11
  "es5",
12
- "es2015.promise",
12
+ "es2015",
13
13
  "dom"
14
14
  ]
15
15
  },
package/tsconfig.esm.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "esModuleInterop": true,
10
10
  "lib": [
11
11
  "es5",
12
- "es2015.promise",
12
+ "es2015",
13
13
  "dom"
14
14
  ],
15
15
  "typeRoots": [