ngx-scandoc 1.3.7 → 1.3.8
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/core/interfaces/config.d.ts +1 -0
- package/core/interfaces/guest.data.d.ts +6 -0
- package/esm2020/core/interfaces/config.mjs +1 -1
- package/esm2020/core/interfaces/guest.data.mjs +2 -0
- package/esm2020/providers/scan.provider.mjs +13 -1
- package/fesm2015/ngx-scandoc.mjs +9 -0
- package/fesm2015/ngx-scandoc.mjs.map +1 -1
- package/fesm2020/ngx-scandoc.mjs +12 -0
- package/fesm2020/ngx-scandoc.mjs.map +1 -1
- package/package.json +1 -1
- package/providers/scan.provider.d.ts +2 -0
package/fesm2020/ngx-scandoc.mjs
CHANGED
|
@@ -675,6 +675,18 @@ class ScanProvider {
|
|
|
675
675
|
get enableVerification() {
|
|
676
676
|
return this.config.enableVerification;
|
|
677
677
|
}
|
|
678
|
+
addGuest(guestData) {
|
|
679
|
+
const data = {
|
|
680
|
+
AcceptTermsAndConditions: true,
|
|
681
|
+
DataFields: {
|
|
682
|
+
GuestImageType: 'base64',
|
|
683
|
+
...guestData,
|
|
684
|
+
},
|
|
685
|
+
Settings: {},
|
|
686
|
+
};
|
|
687
|
+
const $request = this.http.put(this.config.guestAddPath, data);
|
|
688
|
+
return $request;
|
|
689
|
+
}
|
|
678
690
|
stateless(DocumentFaceImage, LiveFaceImage) {
|
|
679
691
|
const data = {
|
|
680
692
|
AcceptTermsAndConditions: true,
|