@incodetech/core 2.0.0-rc.0 → 2.0.0
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/package.json +3 -3
- package/dist/Actor-CI32dTbG.d.ts +0 -2
- package/dist/BaseWasmProvider-C_DLEI40.esm.js +0 -1118
- package/dist/BrowserStorageProvider-CuOW1Er2.esm.js +0 -55
- package/dist/BrowserTimerProvider-DhNc_x02.esm.js +0 -22
- package/dist/ITimerCapability-C67ZRskg.esm.js +0 -7
- package/dist/IpifyProvider-D7jx52AL.esm.js +0 -139
- package/dist/Manager-C8PrhBOx.d.ts +0 -19
- package/dist/MotionSensorProvider-4v7xkqAp.esm.js +0 -254
- package/dist/OpenViduRecordingProvider-CMu6XVdc.esm.js +0 -87
- package/dist/StateMachine-BCQrZJhf.d.ts +0 -2
- package/dist/WasmUtilProvider-j98OJf-S.esm.js +0 -114
- package/dist/addressSearch-BpTbTWCa.esm.js +0 -430
- package/dist/ae-signature-DDDZmWXj.esm.js +0 -12
- package/dist/ae-signature.d.ts +0 -25
- package/dist/ae-signature.esm.js +0 -8
- package/dist/antifraud.d.ts +0 -57
- package/dist/antifraud.esm.js +0 -45
- package/dist/antifraudStateMachine-O0TMf6yc.esm.js +0 -39
- package/dist/api-CESGtpbH.esm.js +0 -53
- package/dist/authentication.d.ts +0 -12
- package/dist/authentication.esm.js +0 -25
- package/dist/authenticationManager-5M-fKzXx.esm.js +0 -67
- package/dist/authenticationManager-C83GNIhl.d.ts +0 -66
- package/dist/authenticationStateMachine-BMZqatiF.esm.js +0 -139
- package/dist/backCameraStream-DMdMeGk2.esm.js +0 -346
- package/dist/browserSimulation-gxD8cSpM.esm.js +0 -20
- package/dist/camera-DBSxa6ML.d.ts +0 -4
- package/dist/camera-PA2Ljri3.esm.js +0 -22
- package/dist/camera.d.ts +0 -15
- package/dist/camera.esm.js +0 -5
- package/dist/chunk-CRF6K_H_.esm.js +0 -49
- package/dist/consent.d.ts +0 -398
- package/dist/consent.esm.js +0 -79
- package/dist/consentStateMachine-CCT-B60O.esm.js +0 -151
- package/dist/cpf-PPz2Njto.esm.js +0 -38
- package/dist/cpf-ocr.d.ts +0 -204
- package/dist/cpf-ocr.esm.js +0 -177
- package/dist/cross-document-data-match.d.ts +0 -34
- package/dist/cross-document-data-match.esm.js +0 -71
- package/dist/curp-validation.d.ts +0 -188
- package/dist/curp-validation.esm.js +0 -110
- package/dist/curpValidationStateMachine-CitWLr2c.esm.js +0 -595
- package/dist/custom-fields.d.ts +0 -115
- package/dist/custom-fields.esm.js +0 -177
- package/dist/custom-watchlist.d.ts +0 -66
- package/dist/custom-watchlist.esm.js +0 -86
- package/dist/dateUtils-UoN5xswP.esm.js +0 -23
- package/dist/deepsightLoader-Cm4JIT_z.esm.js +0 -52
- package/dist/deepsightService-CEVxzehb.d.ts +0 -412
- package/dist/deepsightService-O74l4Y__.esm.js +0 -489
- package/dist/device.d.ts +0 -46
- package/dist/device.esm.js +0 -106
- package/dist/displayErrors-DqJ_IbsG.d.ts +0 -39
- package/dist/document-capture.d.ts +0 -906
- package/dist/document-capture.esm.js +0 -156
- package/dist/document-upload.d.ts +0 -331
- package/dist/document-upload.esm.js +0 -203
- package/dist/documentCaptureStateMachine-BqzTDy9k.esm.js +0 -394
- package/dist/dynamic-forms.d.ts +0 -178
- package/dist/dynamic-forms.esm.js +0 -323
- package/dist/ekyb.d.ts +0 -148
- package/dist/ekyb.esm.js +0 -127
- package/dist/ekybStateMachine-B59rQjgj.esm.js +0 -674
- package/dist/ekyc.d.ts +0 -164
- package/dist/ekyc.esm.js +0 -104
- package/dist/ekycStateMachine-oeO0Iekd.esm.js +0 -10626
- package/dist/electronic-signature.d.ts +0 -4
- package/dist/electronic-signature.esm.js +0 -7
- package/dist/electronicSignatureManager-D9OHzTpG.esm.js +0 -428
- package/dist/email.d.ts +0 -4
- package/dist/email.esm.js +0 -9
- package/dist/emailManager-DIfnS5g1.d.ts +0 -352
- package/dist/emailManager-wAV0LE-H.esm.js +0 -238
- package/dist/emailStateMachine-DOf4j58N.esm.js +0 -292
- package/dist/endpoints-CnN3SyDa.esm.js +0 -87
- package/dist/events-D6-e4vok.esm.js +0 -596
- package/dist/events.d.ts +0 -265
- package/dist/events.esm.js +0 -4
- package/dist/extensibility.d.ts +0 -122
- package/dist/extensibility.esm.js +0 -43
- package/dist/face-match.d.ts +0 -228
- package/dist/face-match.esm.js +0 -173
- package/dist/faceCaptureManagerFactory-Dh2PdGlF.esm.js +0 -290
- package/dist/faceCaptureManagerFactory-yqtpxjnN.d.ts +0 -690
- package/dist/faceCaptureSetup-B3faSpYA.esm.js +0 -873
- package/dist/faceMatchStateMachine-DNFrxTFS.esm.js +0 -127
- package/dist/flow-events.d.ts +0 -6
- package/dist/flow-events.esm.js +0 -0
- package/dist/flow.d.ts +0 -358
- package/dist/flow.esm.js +0 -825
- package/dist/flowCompletionService-DhkT4SRY.d.ts +0 -10
- package/dist/flowCompletionService-P54yzGvA.esm.js +0 -13
- package/dist/flowServices-DTsm-Vf1.esm.js +0 -188
- package/dist/geolocation.d.ts +0 -127
- package/dist/geolocation.esm.js +0 -89
- package/dist/geolocationStateMachine-asasuHY2.esm.js +0 -105
- package/dist/getBrowser-BSXUTWXw.esm.js +0 -41
- package/dist/getDeviceClass-BSntT9_j.esm.js +0 -14
- package/dist/government-validation.d.ts +0 -67
- package/dist/government-validation.esm.js +0 -81
- package/dist/governmentValidationStateMachine-BDDYrJTo.esm.js +0 -271
- package/dist/home.d.ts +0 -99
- package/dist/home.esm.js +0 -61
- package/dist/http.d.ts +0 -68
- package/dist/http.esm.js +0 -3
- package/dist/id-ocr.d.ts +0 -635
- package/dist/id-ocr.esm.js +0 -86
- package/dist/id-verification.d.ts +0 -190
- package/dist/id-verification.esm.js +0 -43
- package/dist/id.d.ts +0 -24
- package/dist/id.esm.js +0 -164
- package/dist/idCaptureManager-B9TGA5dq.d.ts +0 -956
- package/dist/idCaptureManager-DMK0GIt3.esm.js +0 -581
- package/dist/idCaptureStateMachine-Bq0fVZXl.esm.js +0 -2954
- package/dist/idOcrStateMachine-YbjjC_Gg.esm.js +0 -388
- package/dist/idVerificationStateMachine-xbw9HP1Z.esm.js +0 -71
- package/dist/identity-reuse.d.ts +0 -530
- package/dist/identity-reuse.esm.js +0 -274
- package/dist/index-BLKtMA0g.d.ts +0 -1177
- package/dist/index-BcRG8rtJ.d.ts +0 -97
- package/dist/index.d.ts +0 -3
- package/dist/index.esm.js +0 -12
- package/dist/invokeOnCaptureCallback-rc6kBHo5.esm.js +0 -30
- package/dist/lib-BB0B_qQX.esm.js +0 -12499
- package/dist/mandatory-consent.d.ts +0 -412
- package/dist/mandatory-consent.esm.js +0 -78
- package/dist/mandatoryConsentStateMachine-Cnco1jvn.esm.js +0 -126
- package/dist/openviduLazy-Cm0XFh_v.esm.js +0 -3
- package/dist/openviduLazy-Cok70ZSg.esm.js +0 -12
- package/dist/permissionServices-D_i6nzEw.esm.js +0 -50
- package/dist/phone.d.ts +0 -4
- package/dist/phone.esm.js +0 -9
- package/dist/phoneManager-B6M30hKE.d.ts +0 -397
- package/dist/phoneManager-DAJbGhlY.esm.js +0 -256
- package/dist/phoneStateMachine-CuPARRaT.esm.js +0 -351
- package/dist/platform-CfrjKhmi.esm.js +0 -83
- package/dist/qe-signature-DFo_Cc-I.esm.js +0 -12
- package/dist/qe-signature.d.ts +0 -25
- package/dist/qe-signature.esm.js +0 -8
- package/dist/recordingService-Ig2UgbLv.esm.js +0 -1003
- package/dist/redirect-to-mobile.d.ts +0 -107
- package/dist/redirect-to-mobile.esm.js +0 -102
- package/dist/redirectToMobileStateMachine-BOEqe46A.esm.js +0 -249
- package/dist/runChildModule-CqqwqAkW.esm.js +0 -219
- package/dist/selfie.d.ts +0 -26
- package/dist/selfie.esm.js +0 -146
- package/dist/selfieManager-D0lSgd-J.d.ts +0 -68
- package/dist/selfieManager-Duisl7qN.esm.js +0 -60
- package/dist/selfieStateMachine-D76whWEf.esm.js +0 -68
- package/dist/session-BS-d_vuE.esm.js +0 -3206
- package/dist/session.d.ts +0 -217
- package/dist/session.esm.js +0 -9
- package/dist/setup-Buy-hyj4.esm.js +0 -887
- package/dist/setup-C5AITV8m.d.ts +0 -254
- package/dist/signature.d.ts +0 -94
- package/dist/signature.esm.js +0 -66
- package/dist/signatureStateMachine-B5-QVUve.esm.js +0 -132
- package/dist/stats-CIfiPzb1.esm.js +0 -16
- package/dist/stats.d.ts +0 -16
- package/dist/stats.esm.js +0 -4
- package/dist/trust-graph.d.ts +0 -54
- package/dist/trust-graph.esm.js +0 -56
- package/dist/types-B06Ypu2F.d.ts +0 -49
- package/dist/types-BP1m8VRw.d.ts +0 -340
- package/dist/types-CAD4va6a.d.ts +0 -5
- package/dist/types-CFV9G_7j.d.ts +0 -24
- package/dist/warmup-CEcppFiS.d.ts +0 -63
- package/dist/wasm.d.ts +0 -15
- package/dist/wasm.esm.js +0 -12
- package/dist/watchlist-for-business.d.ts +0 -79
- package/dist/watchlist-for-business.esm.js +0 -148
- package/dist/watchlist.d.ts +0 -62
- package/dist/watchlist.esm.js +0 -86
- package/dist/watchlistServices-DMbUhkBX.esm.js +0 -12
- package/dist/workflow.d.ts +0 -907
- package/dist/workflow.esm.js +0 -702
- package/dist/xstate.esm-B70JrNqo.esm.js +0 -3404
package/dist/index-BLKtMA0g.d.ts
DELETED
|
@@ -1,1177 +0,0 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-C8PrhBOx.js";
|
|
2
|
-
import * as xstate275 from "xstate";
|
|
3
|
-
|
|
4
|
-
//#region src/modules/electronic-signature/types.d.ts
|
|
5
|
-
type ElectronicSignatureVariant = 'ae' | 'qe';
|
|
6
|
-
type ElectronicSignatureConfig = {
|
|
7
|
-
variant?: ElectronicSignatureVariant;
|
|
8
|
-
uploadDocument?: boolean;
|
|
9
|
-
downloadDocument?: boolean;
|
|
10
|
-
};
|
|
11
|
-
type ElectronicSignatureDocument = {
|
|
12
|
-
documentRef: string;
|
|
13
|
-
documentUrl: string;
|
|
14
|
-
};
|
|
15
|
-
type SignedDocument = {
|
|
16
|
-
signedDocumentUrl: string;
|
|
17
|
-
};
|
|
18
|
-
declare const AE_CONSENT_KEYS: readonly ["terms", "signElectronically", "signDisplayed"];
|
|
19
|
-
declare const QE_CONSENT_KEYS: readonly ["issuance", "qesAcknowledgement", "qscdConfirmation", "termsAgreement", "documentsReviewed"];
|
|
20
|
-
type AeConsentKey = (typeof AE_CONSENT_KEYS)[number];
|
|
21
|
-
type QeConsentKey = (typeof QE_CONSENT_KEYS)[number];
|
|
22
|
-
type ConsentKey = AeConsentKey | QeConsentKey;
|
|
23
|
-
type ConsentChecks = Partial<Record<ConsentKey, boolean>>;
|
|
24
|
-
declare function getConsentKeys(variant: ElectronicSignatureVariant): readonly ConsentKey[];
|
|
25
|
-
declare function getDefaultConsentChecks(variant: ElectronicSignatureVariant): ConsentChecks;
|
|
26
|
-
declare function areAllConsented(checks: ConsentChecks): boolean;
|
|
27
|
-
type UnsignedDocsResponse = {
|
|
28
|
-
documents: ElectronicSignatureDocument[];
|
|
29
|
-
};
|
|
30
|
-
type ElectronicSignatureErrorSource = 'upload' | 'fetchDocs' | 'signing';
|
|
31
|
-
type ElectronicSignatureContext = {
|
|
32
|
-
config: ElectronicSignatureConfig;
|
|
33
|
-
getFileData: () => ArrayBuffer | null;
|
|
34
|
-
documents: ElectronicSignatureDocument[];
|
|
35
|
-
signedDocuments: SignedDocument[];
|
|
36
|
-
fileName: string | null;
|
|
37
|
-
fileSize: number | null;
|
|
38
|
-
fileUrl: string | null;
|
|
39
|
-
consentChecks: ConsentChecks;
|
|
40
|
-
viewingDocumentUrl: string | null;
|
|
41
|
-
errorMessage: string;
|
|
42
|
-
errorSource: ElectronicSignatureErrorSource | null;
|
|
43
|
-
};
|
|
44
|
-
type ElectronicSignatureInput = {
|
|
45
|
-
config: ElectronicSignatureConfig;
|
|
46
|
-
getFileData: () => ArrayBuffer | null;
|
|
47
|
-
};
|
|
48
|
-
//#endregion
|
|
49
|
-
//#region src/modules/electronic-signature/electronicSignatureStateMachine.d.ts
|
|
50
|
-
declare const electronicSignatureMachine: xstate275.StateMachine<ElectronicSignatureContext, {
|
|
51
|
-
type: "LOAD";
|
|
52
|
-
} | {
|
|
53
|
-
type: "SELECT_FILE";
|
|
54
|
-
fileName: string;
|
|
55
|
-
fileSize: number;
|
|
56
|
-
fileUrl: string;
|
|
57
|
-
} | {
|
|
58
|
-
type: "REPLACE_FILE";
|
|
59
|
-
} | {
|
|
60
|
-
type: "CONFIRM_FILE";
|
|
61
|
-
} | {
|
|
62
|
-
type: "SET_CONSENT";
|
|
63
|
-
name: ConsentKey;
|
|
64
|
-
checked: boolean;
|
|
65
|
-
} | {
|
|
66
|
-
type: "VIEW_DOCUMENT";
|
|
67
|
-
url: string;
|
|
68
|
-
} | {
|
|
69
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
70
|
-
} | {
|
|
71
|
-
type: "SIGN";
|
|
72
|
-
} | {
|
|
73
|
-
type: "FINISH";
|
|
74
|
-
} | {
|
|
75
|
-
type: "RETRY";
|
|
76
|
-
} | {
|
|
77
|
-
type: "CLOSE";
|
|
78
|
-
}, {
|
|
79
|
-
[x: string]: xstate275.ActorRefFromLogic<xstate275.PromiseActorLogic<void, {
|
|
80
|
-
getFileData: () => ArrayBuffer | null;
|
|
81
|
-
}, xstate275.EventObject>> | xstate275.ActorRefFromLogic<xstate275.PromiseActorLogic<UnsignedDocsResponse, void, xstate275.EventObject>> | xstate275.ActorRefFromLogic<xstate275.PromiseActorLogic<SignedDocument[], {
|
|
82
|
-
documents: ElectronicSignatureDocument[];
|
|
83
|
-
variant: ElectronicSignatureVariant;
|
|
84
|
-
}, xstate275.EventObject>> | undefined;
|
|
85
|
-
}, xstate275.Values<{
|
|
86
|
-
uploadDocument: {
|
|
87
|
-
src: "uploadDocument";
|
|
88
|
-
logic: xstate275.PromiseActorLogic<void, {
|
|
89
|
-
getFileData: () => ArrayBuffer | null;
|
|
90
|
-
}, xstate275.EventObject>;
|
|
91
|
-
id: string | undefined;
|
|
92
|
-
};
|
|
93
|
-
fetchUnsignedDocs: {
|
|
94
|
-
src: "fetchUnsignedDocs";
|
|
95
|
-
logic: xstate275.PromiseActorLogic<UnsignedDocsResponse, void, xstate275.EventObject>;
|
|
96
|
-
id: string | undefined;
|
|
97
|
-
};
|
|
98
|
-
signDocuments: {
|
|
99
|
-
src: "signDocuments";
|
|
100
|
-
logic: xstate275.PromiseActorLogic<SignedDocument[], {
|
|
101
|
-
documents: ElectronicSignatureDocument[];
|
|
102
|
-
variant: ElectronicSignatureVariant;
|
|
103
|
-
}, xstate275.EventObject>;
|
|
104
|
-
id: string | undefined;
|
|
105
|
-
};
|
|
106
|
-
}>, xstate275.Values<{
|
|
107
|
-
setDocuments: {
|
|
108
|
-
type: "setDocuments";
|
|
109
|
-
params: xstate275.NonReducibleUnknown;
|
|
110
|
-
};
|
|
111
|
-
setSignedDocuments: {
|
|
112
|
-
type: "setSignedDocuments";
|
|
113
|
-
params: xstate275.NonReducibleUnknown;
|
|
114
|
-
};
|
|
115
|
-
setFile: {
|
|
116
|
-
type: "setFile";
|
|
117
|
-
params: xstate275.NonReducibleUnknown;
|
|
118
|
-
};
|
|
119
|
-
updateConsent: {
|
|
120
|
-
type: "updateConsent";
|
|
121
|
-
params: xstate275.NonReducibleUnknown;
|
|
122
|
-
};
|
|
123
|
-
setViewingDocument: {
|
|
124
|
-
type: "setViewingDocument";
|
|
125
|
-
params: xstate275.NonReducibleUnknown;
|
|
126
|
-
};
|
|
127
|
-
clearViewingDocument: {
|
|
128
|
-
type: "clearViewingDocument";
|
|
129
|
-
params: xstate275.NonReducibleUnknown;
|
|
130
|
-
};
|
|
131
|
-
}>, xstate275.Values<{
|
|
132
|
-
errorFromUpload: {
|
|
133
|
-
type: "errorFromUpload";
|
|
134
|
-
params: unknown;
|
|
135
|
-
};
|
|
136
|
-
errorFromSigning: {
|
|
137
|
-
type: "errorFromSigning";
|
|
138
|
-
params: unknown;
|
|
139
|
-
};
|
|
140
|
-
shouldUpload: {
|
|
141
|
-
type: "shouldUpload";
|
|
142
|
-
params: unknown;
|
|
143
|
-
};
|
|
144
|
-
shouldDownload: {
|
|
145
|
-
type: "shouldDownload";
|
|
146
|
-
params: unknown;
|
|
147
|
-
};
|
|
148
|
-
allConsented: {
|
|
149
|
-
type: "allConsented";
|
|
150
|
-
params: unknown;
|
|
151
|
-
};
|
|
152
|
-
hasDocuments: {
|
|
153
|
-
type: "hasDocuments";
|
|
154
|
-
params: unknown;
|
|
155
|
-
};
|
|
156
|
-
allSigned: {
|
|
157
|
-
type: "allSigned";
|
|
158
|
-
params: unknown;
|
|
159
|
-
};
|
|
160
|
-
allSignedAndDownload: {
|
|
161
|
-
type: "allSignedAndDownload";
|
|
162
|
-
params: unknown;
|
|
163
|
-
};
|
|
164
|
-
}>, never, "error" | "signing" | "idle" | "uploading" | "fetchingDocs" | "reviewing" | "closed" | "uploadingFile" | "processing" | "successDownload" | "success" | "finished", string, ElectronicSignatureInput, xstate275.NonReducibleUnknown, xstate275.EventObject, xstate275.MetaObject, {
|
|
165
|
-
readonly id: "electronicSignature";
|
|
166
|
-
readonly initial: "idle";
|
|
167
|
-
readonly context: ({
|
|
168
|
-
input
|
|
169
|
-
}: {
|
|
170
|
-
spawn: {
|
|
171
|
-
<TSrc extends "uploadDocument" | "fetchUnsignedDocs" | "signDocuments">(logic: TSrc, ...[options]: ({
|
|
172
|
-
src: "uploadDocument";
|
|
173
|
-
logic: xstate275.PromiseActorLogic<void, {
|
|
174
|
-
getFileData: () => ArrayBuffer | null;
|
|
175
|
-
}, xstate275.EventObject>;
|
|
176
|
-
id: string | undefined;
|
|
177
|
-
} extends infer T ? T extends {
|
|
178
|
-
src: "uploadDocument";
|
|
179
|
-
logic: xstate275.PromiseActorLogic<void, {
|
|
180
|
-
getFileData: () => ArrayBuffer | null;
|
|
181
|
-
}, xstate275.EventObject>;
|
|
182
|
-
id: string | undefined;
|
|
183
|
-
} ? T extends {
|
|
184
|
-
src: TSrc;
|
|
185
|
-
} ? xstate275.ConditionalRequired<[options?: ({
|
|
186
|
-
id?: T["id"] | undefined;
|
|
187
|
-
systemId?: string;
|
|
188
|
-
input?: xstate275.InputFrom<T["logic"]> | undefined;
|
|
189
|
-
syncSnapshot?: boolean;
|
|
190
|
-
} & { [K in xstate275.RequiredActorOptions<T>]: unknown }) | undefined], xstate275.IsNotNever<xstate275.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
191
|
-
src: "fetchUnsignedDocs";
|
|
192
|
-
logic: xstate275.PromiseActorLogic<UnsignedDocsResponse, void, xstate275.EventObject>;
|
|
193
|
-
id: string | undefined;
|
|
194
|
-
} extends infer T_1 ? T_1 extends {
|
|
195
|
-
src: "fetchUnsignedDocs";
|
|
196
|
-
logic: xstate275.PromiseActorLogic<UnsignedDocsResponse, void, xstate275.EventObject>;
|
|
197
|
-
id: string | undefined;
|
|
198
|
-
} ? T_1 extends {
|
|
199
|
-
src: TSrc;
|
|
200
|
-
} ? xstate275.ConditionalRequired<[options?: ({
|
|
201
|
-
id?: T_1["id"] | undefined;
|
|
202
|
-
systemId?: string;
|
|
203
|
-
input?: xstate275.InputFrom<T_1["logic"]> | undefined;
|
|
204
|
-
syncSnapshot?: boolean;
|
|
205
|
-
} & { [K_1 in xstate275.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate275.IsNotNever<xstate275.RequiredActorOptions<T_1>>> : never : never : never) | ({
|
|
206
|
-
src: "signDocuments";
|
|
207
|
-
logic: xstate275.PromiseActorLogic<SignedDocument[], {
|
|
208
|
-
documents: ElectronicSignatureDocument[];
|
|
209
|
-
variant: ElectronicSignatureVariant;
|
|
210
|
-
}, xstate275.EventObject>;
|
|
211
|
-
id: string | undefined;
|
|
212
|
-
} extends infer T_2 ? T_2 extends {
|
|
213
|
-
src: "signDocuments";
|
|
214
|
-
logic: xstate275.PromiseActorLogic<SignedDocument[], {
|
|
215
|
-
documents: ElectronicSignatureDocument[];
|
|
216
|
-
variant: ElectronicSignatureVariant;
|
|
217
|
-
}, xstate275.EventObject>;
|
|
218
|
-
id: string | undefined;
|
|
219
|
-
} ? T_2 extends {
|
|
220
|
-
src: TSrc;
|
|
221
|
-
} ? xstate275.ConditionalRequired<[options?: ({
|
|
222
|
-
id?: T_2["id"] | undefined;
|
|
223
|
-
systemId?: string;
|
|
224
|
-
input?: xstate275.InputFrom<T_2["logic"]> | undefined;
|
|
225
|
-
syncSnapshot?: boolean;
|
|
226
|
-
} & { [K_2 in xstate275.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate275.IsNotNever<xstate275.RequiredActorOptions<T_2>>> : never : never : never)): xstate275.ActorRefFromLogic<xstate275.GetConcreteByKey<xstate275.Values<{
|
|
227
|
-
uploadDocument: {
|
|
228
|
-
src: "uploadDocument";
|
|
229
|
-
logic: xstate275.PromiseActorLogic<void, {
|
|
230
|
-
getFileData: () => ArrayBuffer | null;
|
|
231
|
-
}, xstate275.EventObject>;
|
|
232
|
-
id: string | undefined;
|
|
233
|
-
};
|
|
234
|
-
fetchUnsignedDocs: {
|
|
235
|
-
src: "fetchUnsignedDocs";
|
|
236
|
-
logic: xstate275.PromiseActorLogic<UnsignedDocsResponse, void, xstate275.EventObject>;
|
|
237
|
-
id: string | undefined;
|
|
238
|
-
};
|
|
239
|
-
signDocuments: {
|
|
240
|
-
src: "signDocuments";
|
|
241
|
-
logic: xstate275.PromiseActorLogic<SignedDocument[], {
|
|
242
|
-
documents: ElectronicSignatureDocument[];
|
|
243
|
-
variant: ElectronicSignatureVariant;
|
|
244
|
-
}, xstate275.EventObject>;
|
|
245
|
-
id: string | undefined;
|
|
246
|
-
};
|
|
247
|
-
}>, "src", TSrc>["logic"]>;
|
|
248
|
-
<TLogic extends xstate275.AnyActorLogic>(src: TLogic, ...[options]: xstate275.ConditionalRequired<[options?: ({
|
|
249
|
-
id?: never;
|
|
250
|
-
systemId?: string;
|
|
251
|
-
input?: xstate275.InputFrom<TLogic> | undefined;
|
|
252
|
-
syncSnapshot?: boolean;
|
|
253
|
-
} & { [K in xstate275.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate275.IsNotNever<xstate275.RequiredLogicInput<TLogic>>>): xstate275.ActorRefFromLogic<TLogic>;
|
|
254
|
-
};
|
|
255
|
-
input: ElectronicSignatureInput;
|
|
256
|
-
self: xstate275.ActorRef<xstate275.MachineSnapshot<ElectronicSignatureContext, {
|
|
257
|
-
type: "LOAD";
|
|
258
|
-
} | {
|
|
259
|
-
type: "SELECT_FILE";
|
|
260
|
-
fileName: string;
|
|
261
|
-
fileSize: number;
|
|
262
|
-
fileUrl: string;
|
|
263
|
-
} | {
|
|
264
|
-
type: "REPLACE_FILE";
|
|
265
|
-
} | {
|
|
266
|
-
type: "CONFIRM_FILE";
|
|
267
|
-
} | {
|
|
268
|
-
type: "SET_CONSENT";
|
|
269
|
-
name: ConsentKey;
|
|
270
|
-
checked: boolean;
|
|
271
|
-
} | {
|
|
272
|
-
type: "VIEW_DOCUMENT";
|
|
273
|
-
url: string;
|
|
274
|
-
} | {
|
|
275
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
276
|
-
} | {
|
|
277
|
-
type: "SIGN";
|
|
278
|
-
} | {
|
|
279
|
-
type: "FINISH";
|
|
280
|
-
} | {
|
|
281
|
-
type: "RETRY";
|
|
282
|
-
} | {
|
|
283
|
-
type: "CLOSE";
|
|
284
|
-
}, Record<string, xstate275.AnyActorRef | undefined>, xstate275.StateValue, string, unknown, any, any>, {
|
|
285
|
-
type: "LOAD";
|
|
286
|
-
} | {
|
|
287
|
-
type: "SELECT_FILE";
|
|
288
|
-
fileName: string;
|
|
289
|
-
fileSize: number;
|
|
290
|
-
fileUrl: string;
|
|
291
|
-
} | {
|
|
292
|
-
type: "REPLACE_FILE";
|
|
293
|
-
} | {
|
|
294
|
-
type: "CONFIRM_FILE";
|
|
295
|
-
} | {
|
|
296
|
-
type: "SET_CONSENT";
|
|
297
|
-
name: ConsentKey;
|
|
298
|
-
checked: boolean;
|
|
299
|
-
} | {
|
|
300
|
-
type: "VIEW_DOCUMENT";
|
|
301
|
-
url: string;
|
|
302
|
-
} | {
|
|
303
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
304
|
-
} | {
|
|
305
|
-
type: "SIGN";
|
|
306
|
-
} | {
|
|
307
|
-
type: "FINISH";
|
|
308
|
-
} | {
|
|
309
|
-
type: "RETRY";
|
|
310
|
-
} | {
|
|
311
|
-
type: "CLOSE";
|
|
312
|
-
}, xstate275.AnyEventObject>;
|
|
313
|
-
}) => {
|
|
314
|
-
config: ElectronicSignatureConfig;
|
|
315
|
-
getFileData: () => ArrayBuffer | null;
|
|
316
|
-
documents: never[];
|
|
317
|
-
signedDocuments: never[];
|
|
318
|
-
fileName: null;
|
|
319
|
-
fileSize: null;
|
|
320
|
-
fileUrl: null;
|
|
321
|
-
consentChecks: Partial<Record<ConsentKey, boolean>>;
|
|
322
|
-
viewingDocumentUrl: null;
|
|
323
|
-
errorMessage: string;
|
|
324
|
-
errorSource: null;
|
|
325
|
-
};
|
|
326
|
-
readonly states: {
|
|
327
|
-
readonly idle: {
|
|
328
|
-
readonly on: {
|
|
329
|
-
readonly LOAD: readonly [{
|
|
330
|
-
readonly target: "uploading";
|
|
331
|
-
readonly guard: "shouldUpload";
|
|
332
|
-
}, {
|
|
333
|
-
readonly target: "fetchingDocs";
|
|
334
|
-
}];
|
|
335
|
-
};
|
|
336
|
-
};
|
|
337
|
-
readonly uploading: {
|
|
338
|
-
readonly on: {
|
|
339
|
-
readonly SELECT_FILE: {
|
|
340
|
-
readonly target: "reviewing";
|
|
341
|
-
readonly actions: "setFile";
|
|
342
|
-
};
|
|
343
|
-
readonly CLOSE: {
|
|
344
|
-
readonly target: "closed";
|
|
345
|
-
};
|
|
346
|
-
};
|
|
347
|
-
};
|
|
348
|
-
readonly reviewing: {
|
|
349
|
-
readonly on: {
|
|
350
|
-
readonly REPLACE_FILE: {
|
|
351
|
-
readonly target: "uploading";
|
|
352
|
-
readonly actions: xstate275.ActionFunction<ElectronicSignatureContext, {
|
|
353
|
-
type: "REPLACE_FILE";
|
|
354
|
-
}, {
|
|
355
|
-
type: "LOAD";
|
|
356
|
-
} | {
|
|
357
|
-
type: "SELECT_FILE";
|
|
358
|
-
fileName: string;
|
|
359
|
-
fileSize: number;
|
|
360
|
-
fileUrl: string;
|
|
361
|
-
} | {
|
|
362
|
-
type: "REPLACE_FILE";
|
|
363
|
-
} | {
|
|
364
|
-
type: "CONFIRM_FILE";
|
|
365
|
-
} | {
|
|
366
|
-
type: "SET_CONSENT";
|
|
367
|
-
name: ConsentKey;
|
|
368
|
-
checked: boolean;
|
|
369
|
-
} | {
|
|
370
|
-
type: "VIEW_DOCUMENT";
|
|
371
|
-
url: string;
|
|
372
|
-
} | {
|
|
373
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
374
|
-
} | {
|
|
375
|
-
type: "SIGN";
|
|
376
|
-
} | {
|
|
377
|
-
type: "FINISH";
|
|
378
|
-
} | {
|
|
379
|
-
type: "RETRY";
|
|
380
|
-
} | {
|
|
381
|
-
type: "CLOSE";
|
|
382
|
-
}, undefined, xstate275.Values<{
|
|
383
|
-
uploadDocument: {
|
|
384
|
-
src: "uploadDocument";
|
|
385
|
-
logic: xstate275.PromiseActorLogic<void, {
|
|
386
|
-
getFileData: () => ArrayBuffer | null;
|
|
387
|
-
}, xstate275.EventObject>;
|
|
388
|
-
id: string | undefined;
|
|
389
|
-
};
|
|
390
|
-
fetchUnsignedDocs: {
|
|
391
|
-
src: "fetchUnsignedDocs";
|
|
392
|
-
logic: xstate275.PromiseActorLogic<UnsignedDocsResponse, void, xstate275.EventObject>;
|
|
393
|
-
id: string | undefined;
|
|
394
|
-
};
|
|
395
|
-
signDocuments: {
|
|
396
|
-
src: "signDocuments";
|
|
397
|
-
logic: xstate275.PromiseActorLogic<SignedDocument[], {
|
|
398
|
-
documents: ElectronicSignatureDocument[];
|
|
399
|
-
variant: ElectronicSignatureVariant;
|
|
400
|
-
}, xstate275.EventObject>;
|
|
401
|
-
id: string | undefined;
|
|
402
|
-
};
|
|
403
|
-
}>, never, never, never, never>;
|
|
404
|
-
};
|
|
405
|
-
readonly CONFIRM_FILE: {
|
|
406
|
-
readonly target: "uploadingFile";
|
|
407
|
-
};
|
|
408
|
-
readonly CLOSE: {
|
|
409
|
-
readonly target: "closed";
|
|
410
|
-
};
|
|
411
|
-
};
|
|
412
|
-
};
|
|
413
|
-
readonly uploadingFile: {
|
|
414
|
-
readonly invoke: {
|
|
415
|
-
readonly id: "uploadDocument";
|
|
416
|
-
readonly src: "uploadDocument";
|
|
417
|
-
readonly input: ({
|
|
418
|
-
context
|
|
419
|
-
}: {
|
|
420
|
-
context: ElectronicSignatureContext;
|
|
421
|
-
event: {
|
|
422
|
-
type: "LOAD";
|
|
423
|
-
} | {
|
|
424
|
-
type: "SELECT_FILE";
|
|
425
|
-
fileName: string;
|
|
426
|
-
fileSize: number;
|
|
427
|
-
fileUrl: string;
|
|
428
|
-
} | {
|
|
429
|
-
type: "REPLACE_FILE";
|
|
430
|
-
} | {
|
|
431
|
-
type: "CONFIRM_FILE";
|
|
432
|
-
} | {
|
|
433
|
-
type: "SET_CONSENT";
|
|
434
|
-
name: ConsentKey;
|
|
435
|
-
checked: boolean;
|
|
436
|
-
} | {
|
|
437
|
-
type: "VIEW_DOCUMENT";
|
|
438
|
-
url: string;
|
|
439
|
-
} | {
|
|
440
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
441
|
-
} | {
|
|
442
|
-
type: "SIGN";
|
|
443
|
-
} | {
|
|
444
|
-
type: "FINISH";
|
|
445
|
-
} | {
|
|
446
|
-
type: "RETRY";
|
|
447
|
-
} | {
|
|
448
|
-
type: "CLOSE";
|
|
449
|
-
};
|
|
450
|
-
self: xstate275.ActorRef<xstate275.MachineSnapshot<ElectronicSignatureContext, {
|
|
451
|
-
type: "LOAD";
|
|
452
|
-
} | {
|
|
453
|
-
type: "SELECT_FILE";
|
|
454
|
-
fileName: string;
|
|
455
|
-
fileSize: number;
|
|
456
|
-
fileUrl: string;
|
|
457
|
-
} | {
|
|
458
|
-
type: "REPLACE_FILE";
|
|
459
|
-
} | {
|
|
460
|
-
type: "CONFIRM_FILE";
|
|
461
|
-
} | {
|
|
462
|
-
type: "SET_CONSENT";
|
|
463
|
-
name: ConsentKey;
|
|
464
|
-
checked: boolean;
|
|
465
|
-
} | {
|
|
466
|
-
type: "VIEW_DOCUMENT";
|
|
467
|
-
url: string;
|
|
468
|
-
} | {
|
|
469
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
470
|
-
} | {
|
|
471
|
-
type: "SIGN";
|
|
472
|
-
} | {
|
|
473
|
-
type: "FINISH";
|
|
474
|
-
} | {
|
|
475
|
-
type: "RETRY";
|
|
476
|
-
} | {
|
|
477
|
-
type: "CLOSE";
|
|
478
|
-
}, Record<string, xstate275.AnyActorRef>, xstate275.StateValue, string, unknown, any, any>, {
|
|
479
|
-
type: "LOAD";
|
|
480
|
-
} | {
|
|
481
|
-
type: "SELECT_FILE";
|
|
482
|
-
fileName: string;
|
|
483
|
-
fileSize: number;
|
|
484
|
-
fileUrl: string;
|
|
485
|
-
} | {
|
|
486
|
-
type: "REPLACE_FILE";
|
|
487
|
-
} | {
|
|
488
|
-
type: "CONFIRM_FILE";
|
|
489
|
-
} | {
|
|
490
|
-
type: "SET_CONSENT";
|
|
491
|
-
name: ConsentKey;
|
|
492
|
-
checked: boolean;
|
|
493
|
-
} | {
|
|
494
|
-
type: "VIEW_DOCUMENT";
|
|
495
|
-
url: string;
|
|
496
|
-
} | {
|
|
497
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
498
|
-
} | {
|
|
499
|
-
type: "SIGN";
|
|
500
|
-
} | {
|
|
501
|
-
type: "FINISH";
|
|
502
|
-
} | {
|
|
503
|
-
type: "RETRY";
|
|
504
|
-
} | {
|
|
505
|
-
type: "CLOSE";
|
|
506
|
-
}, xstate275.AnyEventObject>;
|
|
507
|
-
}) => {
|
|
508
|
-
getFileData: () => ArrayBuffer | null;
|
|
509
|
-
};
|
|
510
|
-
readonly onDone: {
|
|
511
|
-
readonly target: "fetchingDocs";
|
|
512
|
-
};
|
|
513
|
-
readonly onError: {
|
|
514
|
-
readonly target: "error";
|
|
515
|
-
readonly actions: xstate275.ActionFunction<ElectronicSignatureContext, xstate275.ErrorActorEvent<unknown, string>, {
|
|
516
|
-
type: "LOAD";
|
|
517
|
-
} | {
|
|
518
|
-
type: "SELECT_FILE";
|
|
519
|
-
fileName: string;
|
|
520
|
-
fileSize: number;
|
|
521
|
-
fileUrl: string;
|
|
522
|
-
} | {
|
|
523
|
-
type: "REPLACE_FILE";
|
|
524
|
-
} | {
|
|
525
|
-
type: "CONFIRM_FILE";
|
|
526
|
-
} | {
|
|
527
|
-
type: "SET_CONSENT";
|
|
528
|
-
name: ConsentKey;
|
|
529
|
-
checked: boolean;
|
|
530
|
-
} | {
|
|
531
|
-
type: "VIEW_DOCUMENT";
|
|
532
|
-
url: string;
|
|
533
|
-
} | {
|
|
534
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
535
|
-
} | {
|
|
536
|
-
type: "SIGN";
|
|
537
|
-
} | {
|
|
538
|
-
type: "FINISH";
|
|
539
|
-
} | {
|
|
540
|
-
type: "RETRY";
|
|
541
|
-
} | {
|
|
542
|
-
type: "CLOSE";
|
|
543
|
-
}, undefined, xstate275.Values<{
|
|
544
|
-
uploadDocument: {
|
|
545
|
-
src: "uploadDocument";
|
|
546
|
-
logic: xstate275.PromiseActorLogic<void, {
|
|
547
|
-
getFileData: () => ArrayBuffer | null;
|
|
548
|
-
}, xstate275.EventObject>;
|
|
549
|
-
id: string | undefined;
|
|
550
|
-
};
|
|
551
|
-
fetchUnsignedDocs: {
|
|
552
|
-
src: "fetchUnsignedDocs";
|
|
553
|
-
logic: xstate275.PromiseActorLogic<UnsignedDocsResponse, void, xstate275.EventObject>;
|
|
554
|
-
id: string | undefined;
|
|
555
|
-
};
|
|
556
|
-
signDocuments: {
|
|
557
|
-
src: "signDocuments";
|
|
558
|
-
logic: xstate275.PromiseActorLogic<SignedDocument[], {
|
|
559
|
-
documents: ElectronicSignatureDocument[];
|
|
560
|
-
variant: ElectronicSignatureVariant;
|
|
561
|
-
}, xstate275.EventObject>;
|
|
562
|
-
id: string | undefined;
|
|
563
|
-
};
|
|
564
|
-
}>, never, never, never, never>;
|
|
565
|
-
};
|
|
566
|
-
};
|
|
567
|
-
};
|
|
568
|
-
readonly fetchingDocs: {
|
|
569
|
-
readonly invoke: {
|
|
570
|
-
readonly id: "fetchUnsignedDocs";
|
|
571
|
-
readonly src: "fetchUnsignedDocs";
|
|
572
|
-
readonly onDone: readonly [{
|
|
573
|
-
readonly target: "signing";
|
|
574
|
-
readonly guard: "hasDocuments";
|
|
575
|
-
readonly actions: "setDocuments";
|
|
576
|
-
}, {
|
|
577
|
-
readonly target: "error";
|
|
578
|
-
readonly actions: xstate275.ActionFunction<ElectronicSignatureContext, xstate275.DoneActorEvent<UnsignedDocsResponse, string>, {
|
|
579
|
-
type: "LOAD";
|
|
580
|
-
} | {
|
|
581
|
-
type: "SELECT_FILE";
|
|
582
|
-
fileName: string;
|
|
583
|
-
fileSize: number;
|
|
584
|
-
fileUrl: string;
|
|
585
|
-
} | {
|
|
586
|
-
type: "REPLACE_FILE";
|
|
587
|
-
} | {
|
|
588
|
-
type: "CONFIRM_FILE";
|
|
589
|
-
} | {
|
|
590
|
-
type: "SET_CONSENT";
|
|
591
|
-
name: ConsentKey;
|
|
592
|
-
checked: boolean;
|
|
593
|
-
} | {
|
|
594
|
-
type: "VIEW_DOCUMENT";
|
|
595
|
-
url: string;
|
|
596
|
-
} | {
|
|
597
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
598
|
-
} | {
|
|
599
|
-
type: "SIGN";
|
|
600
|
-
} | {
|
|
601
|
-
type: "FINISH";
|
|
602
|
-
} | {
|
|
603
|
-
type: "RETRY";
|
|
604
|
-
} | {
|
|
605
|
-
type: "CLOSE";
|
|
606
|
-
}, undefined, xstate275.Values<{
|
|
607
|
-
uploadDocument: {
|
|
608
|
-
src: "uploadDocument";
|
|
609
|
-
logic: xstate275.PromiseActorLogic<void, {
|
|
610
|
-
getFileData: () => ArrayBuffer | null;
|
|
611
|
-
}, xstate275.EventObject>;
|
|
612
|
-
id: string | undefined;
|
|
613
|
-
};
|
|
614
|
-
fetchUnsignedDocs: {
|
|
615
|
-
src: "fetchUnsignedDocs";
|
|
616
|
-
logic: xstate275.PromiseActorLogic<UnsignedDocsResponse, void, xstate275.EventObject>;
|
|
617
|
-
id: string | undefined;
|
|
618
|
-
};
|
|
619
|
-
signDocuments: {
|
|
620
|
-
src: "signDocuments";
|
|
621
|
-
logic: xstate275.PromiseActorLogic<SignedDocument[], {
|
|
622
|
-
documents: ElectronicSignatureDocument[];
|
|
623
|
-
variant: ElectronicSignatureVariant;
|
|
624
|
-
}, xstate275.EventObject>;
|
|
625
|
-
id: string | undefined;
|
|
626
|
-
};
|
|
627
|
-
}>, never, never, never, never>;
|
|
628
|
-
}];
|
|
629
|
-
readonly onError: {
|
|
630
|
-
readonly target: "error";
|
|
631
|
-
readonly actions: xstate275.ActionFunction<ElectronicSignatureContext, xstate275.ErrorActorEvent<unknown, string>, {
|
|
632
|
-
type: "LOAD";
|
|
633
|
-
} | {
|
|
634
|
-
type: "SELECT_FILE";
|
|
635
|
-
fileName: string;
|
|
636
|
-
fileSize: number;
|
|
637
|
-
fileUrl: string;
|
|
638
|
-
} | {
|
|
639
|
-
type: "REPLACE_FILE";
|
|
640
|
-
} | {
|
|
641
|
-
type: "CONFIRM_FILE";
|
|
642
|
-
} | {
|
|
643
|
-
type: "SET_CONSENT";
|
|
644
|
-
name: ConsentKey;
|
|
645
|
-
checked: boolean;
|
|
646
|
-
} | {
|
|
647
|
-
type: "VIEW_DOCUMENT";
|
|
648
|
-
url: string;
|
|
649
|
-
} | {
|
|
650
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
651
|
-
} | {
|
|
652
|
-
type: "SIGN";
|
|
653
|
-
} | {
|
|
654
|
-
type: "FINISH";
|
|
655
|
-
} | {
|
|
656
|
-
type: "RETRY";
|
|
657
|
-
} | {
|
|
658
|
-
type: "CLOSE";
|
|
659
|
-
}, undefined, xstate275.Values<{
|
|
660
|
-
uploadDocument: {
|
|
661
|
-
src: "uploadDocument";
|
|
662
|
-
logic: xstate275.PromiseActorLogic<void, {
|
|
663
|
-
getFileData: () => ArrayBuffer | null;
|
|
664
|
-
}, xstate275.EventObject>;
|
|
665
|
-
id: string | undefined;
|
|
666
|
-
};
|
|
667
|
-
fetchUnsignedDocs: {
|
|
668
|
-
src: "fetchUnsignedDocs";
|
|
669
|
-
logic: xstate275.PromiseActorLogic<UnsignedDocsResponse, void, xstate275.EventObject>;
|
|
670
|
-
id: string | undefined;
|
|
671
|
-
};
|
|
672
|
-
signDocuments: {
|
|
673
|
-
src: "signDocuments";
|
|
674
|
-
logic: xstate275.PromiseActorLogic<SignedDocument[], {
|
|
675
|
-
documents: ElectronicSignatureDocument[];
|
|
676
|
-
variant: ElectronicSignatureVariant;
|
|
677
|
-
}, xstate275.EventObject>;
|
|
678
|
-
id: string | undefined;
|
|
679
|
-
};
|
|
680
|
-
}>, never, never, never, never>;
|
|
681
|
-
};
|
|
682
|
-
};
|
|
683
|
-
};
|
|
684
|
-
readonly signing: {
|
|
685
|
-
readonly on: {
|
|
686
|
-
readonly SET_CONSENT: {
|
|
687
|
-
readonly actions: "updateConsent";
|
|
688
|
-
};
|
|
689
|
-
readonly VIEW_DOCUMENT: {
|
|
690
|
-
readonly actions: "setViewingDocument";
|
|
691
|
-
};
|
|
692
|
-
readonly CLOSE_DOCUMENT_VIEW: {
|
|
693
|
-
readonly actions: "clearViewingDocument";
|
|
694
|
-
};
|
|
695
|
-
readonly SIGN: {
|
|
696
|
-
readonly target: "processing";
|
|
697
|
-
readonly guard: "allConsented";
|
|
698
|
-
};
|
|
699
|
-
readonly CLOSE: {
|
|
700
|
-
readonly target: "closed";
|
|
701
|
-
};
|
|
702
|
-
};
|
|
703
|
-
};
|
|
704
|
-
readonly processing: {
|
|
705
|
-
readonly invoke: {
|
|
706
|
-
readonly id: "signDocuments";
|
|
707
|
-
readonly src: "signDocuments";
|
|
708
|
-
readonly input: ({
|
|
709
|
-
context
|
|
710
|
-
}: {
|
|
711
|
-
context: ElectronicSignatureContext;
|
|
712
|
-
event: {
|
|
713
|
-
type: "LOAD";
|
|
714
|
-
} | {
|
|
715
|
-
type: "SELECT_FILE";
|
|
716
|
-
fileName: string;
|
|
717
|
-
fileSize: number;
|
|
718
|
-
fileUrl: string;
|
|
719
|
-
} | {
|
|
720
|
-
type: "REPLACE_FILE";
|
|
721
|
-
} | {
|
|
722
|
-
type: "CONFIRM_FILE";
|
|
723
|
-
} | {
|
|
724
|
-
type: "SET_CONSENT";
|
|
725
|
-
name: ConsentKey;
|
|
726
|
-
checked: boolean;
|
|
727
|
-
} | {
|
|
728
|
-
type: "VIEW_DOCUMENT";
|
|
729
|
-
url: string;
|
|
730
|
-
} | {
|
|
731
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
732
|
-
} | {
|
|
733
|
-
type: "SIGN";
|
|
734
|
-
} | {
|
|
735
|
-
type: "FINISH";
|
|
736
|
-
} | {
|
|
737
|
-
type: "RETRY";
|
|
738
|
-
} | {
|
|
739
|
-
type: "CLOSE";
|
|
740
|
-
};
|
|
741
|
-
self: xstate275.ActorRef<xstate275.MachineSnapshot<ElectronicSignatureContext, {
|
|
742
|
-
type: "LOAD";
|
|
743
|
-
} | {
|
|
744
|
-
type: "SELECT_FILE";
|
|
745
|
-
fileName: string;
|
|
746
|
-
fileSize: number;
|
|
747
|
-
fileUrl: string;
|
|
748
|
-
} | {
|
|
749
|
-
type: "REPLACE_FILE";
|
|
750
|
-
} | {
|
|
751
|
-
type: "CONFIRM_FILE";
|
|
752
|
-
} | {
|
|
753
|
-
type: "SET_CONSENT";
|
|
754
|
-
name: ConsentKey;
|
|
755
|
-
checked: boolean;
|
|
756
|
-
} | {
|
|
757
|
-
type: "VIEW_DOCUMENT";
|
|
758
|
-
url: string;
|
|
759
|
-
} | {
|
|
760
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
761
|
-
} | {
|
|
762
|
-
type: "SIGN";
|
|
763
|
-
} | {
|
|
764
|
-
type: "FINISH";
|
|
765
|
-
} | {
|
|
766
|
-
type: "RETRY";
|
|
767
|
-
} | {
|
|
768
|
-
type: "CLOSE";
|
|
769
|
-
}, Record<string, xstate275.AnyActorRef>, xstate275.StateValue, string, unknown, any, any>, {
|
|
770
|
-
type: "LOAD";
|
|
771
|
-
} | {
|
|
772
|
-
type: "SELECT_FILE";
|
|
773
|
-
fileName: string;
|
|
774
|
-
fileSize: number;
|
|
775
|
-
fileUrl: string;
|
|
776
|
-
} | {
|
|
777
|
-
type: "REPLACE_FILE";
|
|
778
|
-
} | {
|
|
779
|
-
type: "CONFIRM_FILE";
|
|
780
|
-
} | {
|
|
781
|
-
type: "SET_CONSENT";
|
|
782
|
-
name: ConsentKey;
|
|
783
|
-
checked: boolean;
|
|
784
|
-
} | {
|
|
785
|
-
type: "VIEW_DOCUMENT";
|
|
786
|
-
url: string;
|
|
787
|
-
} | {
|
|
788
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
789
|
-
} | {
|
|
790
|
-
type: "SIGN";
|
|
791
|
-
} | {
|
|
792
|
-
type: "FINISH";
|
|
793
|
-
} | {
|
|
794
|
-
type: "RETRY";
|
|
795
|
-
} | {
|
|
796
|
-
type: "CLOSE";
|
|
797
|
-
}, xstate275.AnyEventObject>;
|
|
798
|
-
}) => {
|
|
799
|
-
documents: ElectronicSignatureDocument[];
|
|
800
|
-
variant: ElectronicSignatureVariant;
|
|
801
|
-
};
|
|
802
|
-
readonly onDone: readonly [{
|
|
803
|
-
readonly target: "successDownload";
|
|
804
|
-
readonly guard: "allSignedAndDownload";
|
|
805
|
-
readonly actions: "setSignedDocuments";
|
|
806
|
-
}, {
|
|
807
|
-
readonly target: "success";
|
|
808
|
-
readonly guard: "allSigned";
|
|
809
|
-
readonly actions: "setSignedDocuments";
|
|
810
|
-
}, {
|
|
811
|
-
readonly target: "error";
|
|
812
|
-
readonly actions: xstate275.ActionFunction<ElectronicSignatureContext, xstate275.DoneActorEvent<SignedDocument[], string>, {
|
|
813
|
-
type: "LOAD";
|
|
814
|
-
} | {
|
|
815
|
-
type: "SELECT_FILE";
|
|
816
|
-
fileName: string;
|
|
817
|
-
fileSize: number;
|
|
818
|
-
fileUrl: string;
|
|
819
|
-
} | {
|
|
820
|
-
type: "REPLACE_FILE";
|
|
821
|
-
} | {
|
|
822
|
-
type: "CONFIRM_FILE";
|
|
823
|
-
} | {
|
|
824
|
-
type: "SET_CONSENT";
|
|
825
|
-
name: ConsentKey;
|
|
826
|
-
checked: boolean;
|
|
827
|
-
} | {
|
|
828
|
-
type: "VIEW_DOCUMENT";
|
|
829
|
-
url: string;
|
|
830
|
-
} | {
|
|
831
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
832
|
-
} | {
|
|
833
|
-
type: "SIGN";
|
|
834
|
-
} | {
|
|
835
|
-
type: "FINISH";
|
|
836
|
-
} | {
|
|
837
|
-
type: "RETRY";
|
|
838
|
-
} | {
|
|
839
|
-
type: "CLOSE";
|
|
840
|
-
}, undefined, xstate275.Values<{
|
|
841
|
-
uploadDocument: {
|
|
842
|
-
src: "uploadDocument";
|
|
843
|
-
logic: xstate275.PromiseActorLogic<void, {
|
|
844
|
-
getFileData: () => ArrayBuffer | null;
|
|
845
|
-
}, xstate275.EventObject>;
|
|
846
|
-
id: string | undefined;
|
|
847
|
-
};
|
|
848
|
-
fetchUnsignedDocs: {
|
|
849
|
-
src: "fetchUnsignedDocs";
|
|
850
|
-
logic: xstate275.PromiseActorLogic<UnsignedDocsResponse, void, xstate275.EventObject>;
|
|
851
|
-
id: string | undefined;
|
|
852
|
-
};
|
|
853
|
-
signDocuments: {
|
|
854
|
-
src: "signDocuments";
|
|
855
|
-
logic: xstate275.PromiseActorLogic<SignedDocument[], {
|
|
856
|
-
documents: ElectronicSignatureDocument[];
|
|
857
|
-
variant: ElectronicSignatureVariant;
|
|
858
|
-
}, xstate275.EventObject>;
|
|
859
|
-
id: string | undefined;
|
|
860
|
-
};
|
|
861
|
-
}>, never, never, never, never>;
|
|
862
|
-
}];
|
|
863
|
-
readonly onError: {
|
|
864
|
-
readonly target: "error";
|
|
865
|
-
readonly actions: xstate275.ActionFunction<ElectronicSignatureContext, xstate275.ErrorActorEvent<unknown, string>, {
|
|
866
|
-
type: "LOAD";
|
|
867
|
-
} | {
|
|
868
|
-
type: "SELECT_FILE";
|
|
869
|
-
fileName: string;
|
|
870
|
-
fileSize: number;
|
|
871
|
-
fileUrl: string;
|
|
872
|
-
} | {
|
|
873
|
-
type: "REPLACE_FILE";
|
|
874
|
-
} | {
|
|
875
|
-
type: "CONFIRM_FILE";
|
|
876
|
-
} | {
|
|
877
|
-
type: "SET_CONSENT";
|
|
878
|
-
name: ConsentKey;
|
|
879
|
-
checked: boolean;
|
|
880
|
-
} | {
|
|
881
|
-
type: "VIEW_DOCUMENT";
|
|
882
|
-
url: string;
|
|
883
|
-
} | {
|
|
884
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
885
|
-
} | {
|
|
886
|
-
type: "SIGN";
|
|
887
|
-
} | {
|
|
888
|
-
type: "FINISH";
|
|
889
|
-
} | {
|
|
890
|
-
type: "RETRY";
|
|
891
|
-
} | {
|
|
892
|
-
type: "CLOSE";
|
|
893
|
-
}, undefined, xstate275.Values<{
|
|
894
|
-
uploadDocument: {
|
|
895
|
-
src: "uploadDocument";
|
|
896
|
-
logic: xstate275.PromiseActorLogic<void, {
|
|
897
|
-
getFileData: () => ArrayBuffer | null;
|
|
898
|
-
}, xstate275.EventObject>;
|
|
899
|
-
id: string | undefined;
|
|
900
|
-
};
|
|
901
|
-
fetchUnsignedDocs: {
|
|
902
|
-
src: "fetchUnsignedDocs";
|
|
903
|
-
logic: xstate275.PromiseActorLogic<UnsignedDocsResponse, void, xstate275.EventObject>;
|
|
904
|
-
id: string | undefined;
|
|
905
|
-
};
|
|
906
|
-
signDocuments: {
|
|
907
|
-
src: "signDocuments";
|
|
908
|
-
logic: xstate275.PromiseActorLogic<SignedDocument[], {
|
|
909
|
-
documents: ElectronicSignatureDocument[];
|
|
910
|
-
variant: ElectronicSignatureVariant;
|
|
911
|
-
}, xstate275.EventObject>;
|
|
912
|
-
id: string | undefined;
|
|
913
|
-
};
|
|
914
|
-
}>, never, never, never, never>;
|
|
915
|
-
};
|
|
916
|
-
};
|
|
917
|
-
};
|
|
918
|
-
readonly success: {
|
|
919
|
-
readonly after: {
|
|
920
|
-
readonly 3000: "finished";
|
|
921
|
-
};
|
|
922
|
-
};
|
|
923
|
-
readonly successDownload: {
|
|
924
|
-
readonly on: {
|
|
925
|
-
readonly FINISH: {
|
|
926
|
-
readonly target: "finished";
|
|
927
|
-
};
|
|
928
|
-
readonly CLOSE: {
|
|
929
|
-
readonly target: "closed";
|
|
930
|
-
};
|
|
931
|
-
};
|
|
932
|
-
};
|
|
933
|
-
readonly error: {
|
|
934
|
-
readonly on: {
|
|
935
|
-
readonly RETRY: readonly [{
|
|
936
|
-
readonly target: "uploading";
|
|
937
|
-
readonly guard: "errorFromUpload";
|
|
938
|
-
readonly actions: xstate275.ActionFunction<ElectronicSignatureContext, {
|
|
939
|
-
type: "RETRY";
|
|
940
|
-
}, {
|
|
941
|
-
type: "LOAD";
|
|
942
|
-
} | {
|
|
943
|
-
type: "SELECT_FILE";
|
|
944
|
-
fileName: string;
|
|
945
|
-
fileSize: number;
|
|
946
|
-
fileUrl: string;
|
|
947
|
-
} | {
|
|
948
|
-
type: "REPLACE_FILE";
|
|
949
|
-
} | {
|
|
950
|
-
type: "CONFIRM_FILE";
|
|
951
|
-
} | {
|
|
952
|
-
type: "SET_CONSENT";
|
|
953
|
-
name: ConsentKey;
|
|
954
|
-
checked: boolean;
|
|
955
|
-
} | {
|
|
956
|
-
type: "VIEW_DOCUMENT";
|
|
957
|
-
url: string;
|
|
958
|
-
} | {
|
|
959
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
960
|
-
} | {
|
|
961
|
-
type: "SIGN";
|
|
962
|
-
} | {
|
|
963
|
-
type: "FINISH";
|
|
964
|
-
} | {
|
|
965
|
-
type: "RETRY";
|
|
966
|
-
} | {
|
|
967
|
-
type: "CLOSE";
|
|
968
|
-
}, undefined, xstate275.Values<{
|
|
969
|
-
uploadDocument: {
|
|
970
|
-
src: "uploadDocument";
|
|
971
|
-
logic: xstate275.PromiseActorLogic<void, {
|
|
972
|
-
getFileData: () => ArrayBuffer | null;
|
|
973
|
-
}, xstate275.EventObject>;
|
|
974
|
-
id: string | undefined;
|
|
975
|
-
};
|
|
976
|
-
fetchUnsignedDocs: {
|
|
977
|
-
src: "fetchUnsignedDocs";
|
|
978
|
-
logic: xstate275.PromiseActorLogic<UnsignedDocsResponse, void, xstate275.EventObject>;
|
|
979
|
-
id: string | undefined;
|
|
980
|
-
};
|
|
981
|
-
signDocuments: {
|
|
982
|
-
src: "signDocuments";
|
|
983
|
-
logic: xstate275.PromiseActorLogic<SignedDocument[], {
|
|
984
|
-
documents: ElectronicSignatureDocument[];
|
|
985
|
-
variant: ElectronicSignatureVariant;
|
|
986
|
-
}, xstate275.EventObject>;
|
|
987
|
-
id: string | undefined;
|
|
988
|
-
};
|
|
989
|
-
}>, never, never, never, never>;
|
|
990
|
-
}, {
|
|
991
|
-
readonly target: "signing";
|
|
992
|
-
readonly guard: "errorFromSigning";
|
|
993
|
-
readonly actions: xstate275.ActionFunction<ElectronicSignatureContext, {
|
|
994
|
-
type: "RETRY";
|
|
995
|
-
}, {
|
|
996
|
-
type: "LOAD";
|
|
997
|
-
} | {
|
|
998
|
-
type: "SELECT_FILE";
|
|
999
|
-
fileName: string;
|
|
1000
|
-
fileSize: number;
|
|
1001
|
-
fileUrl: string;
|
|
1002
|
-
} | {
|
|
1003
|
-
type: "REPLACE_FILE";
|
|
1004
|
-
} | {
|
|
1005
|
-
type: "CONFIRM_FILE";
|
|
1006
|
-
} | {
|
|
1007
|
-
type: "SET_CONSENT";
|
|
1008
|
-
name: ConsentKey;
|
|
1009
|
-
checked: boolean;
|
|
1010
|
-
} | {
|
|
1011
|
-
type: "VIEW_DOCUMENT";
|
|
1012
|
-
url: string;
|
|
1013
|
-
} | {
|
|
1014
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
1015
|
-
} | {
|
|
1016
|
-
type: "SIGN";
|
|
1017
|
-
} | {
|
|
1018
|
-
type: "FINISH";
|
|
1019
|
-
} | {
|
|
1020
|
-
type: "RETRY";
|
|
1021
|
-
} | {
|
|
1022
|
-
type: "CLOSE";
|
|
1023
|
-
}, undefined, xstate275.Values<{
|
|
1024
|
-
uploadDocument: {
|
|
1025
|
-
src: "uploadDocument";
|
|
1026
|
-
logic: xstate275.PromiseActorLogic<void, {
|
|
1027
|
-
getFileData: () => ArrayBuffer | null;
|
|
1028
|
-
}, xstate275.EventObject>;
|
|
1029
|
-
id: string | undefined;
|
|
1030
|
-
};
|
|
1031
|
-
fetchUnsignedDocs: {
|
|
1032
|
-
src: "fetchUnsignedDocs";
|
|
1033
|
-
logic: xstate275.PromiseActorLogic<UnsignedDocsResponse, void, xstate275.EventObject>;
|
|
1034
|
-
id: string | undefined;
|
|
1035
|
-
};
|
|
1036
|
-
signDocuments: {
|
|
1037
|
-
src: "signDocuments";
|
|
1038
|
-
logic: xstate275.PromiseActorLogic<SignedDocument[], {
|
|
1039
|
-
documents: ElectronicSignatureDocument[];
|
|
1040
|
-
variant: ElectronicSignatureVariant;
|
|
1041
|
-
}, xstate275.EventObject>;
|
|
1042
|
-
id: string | undefined;
|
|
1043
|
-
};
|
|
1044
|
-
}>, never, never, never, never>;
|
|
1045
|
-
}, {
|
|
1046
|
-
readonly target: "fetchingDocs";
|
|
1047
|
-
readonly actions: xstate275.ActionFunction<ElectronicSignatureContext, {
|
|
1048
|
-
type: "RETRY";
|
|
1049
|
-
}, {
|
|
1050
|
-
type: "LOAD";
|
|
1051
|
-
} | {
|
|
1052
|
-
type: "SELECT_FILE";
|
|
1053
|
-
fileName: string;
|
|
1054
|
-
fileSize: number;
|
|
1055
|
-
fileUrl: string;
|
|
1056
|
-
} | {
|
|
1057
|
-
type: "REPLACE_FILE";
|
|
1058
|
-
} | {
|
|
1059
|
-
type: "CONFIRM_FILE";
|
|
1060
|
-
} | {
|
|
1061
|
-
type: "SET_CONSENT";
|
|
1062
|
-
name: ConsentKey;
|
|
1063
|
-
checked: boolean;
|
|
1064
|
-
} | {
|
|
1065
|
-
type: "VIEW_DOCUMENT";
|
|
1066
|
-
url: string;
|
|
1067
|
-
} | {
|
|
1068
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
1069
|
-
} | {
|
|
1070
|
-
type: "SIGN";
|
|
1071
|
-
} | {
|
|
1072
|
-
type: "FINISH";
|
|
1073
|
-
} | {
|
|
1074
|
-
type: "RETRY";
|
|
1075
|
-
} | {
|
|
1076
|
-
type: "CLOSE";
|
|
1077
|
-
}, undefined, xstate275.Values<{
|
|
1078
|
-
uploadDocument: {
|
|
1079
|
-
src: "uploadDocument";
|
|
1080
|
-
logic: xstate275.PromiseActorLogic<void, {
|
|
1081
|
-
getFileData: () => ArrayBuffer | null;
|
|
1082
|
-
}, xstate275.EventObject>;
|
|
1083
|
-
id: string | undefined;
|
|
1084
|
-
};
|
|
1085
|
-
fetchUnsignedDocs: {
|
|
1086
|
-
src: "fetchUnsignedDocs";
|
|
1087
|
-
logic: xstate275.PromiseActorLogic<UnsignedDocsResponse, void, xstate275.EventObject>;
|
|
1088
|
-
id: string | undefined;
|
|
1089
|
-
};
|
|
1090
|
-
signDocuments: {
|
|
1091
|
-
src: "signDocuments";
|
|
1092
|
-
logic: xstate275.PromiseActorLogic<SignedDocument[], {
|
|
1093
|
-
documents: ElectronicSignatureDocument[];
|
|
1094
|
-
variant: ElectronicSignatureVariant;
|
|
1095
|
-
}, xstate275.EventObject>;
|
|
1096
|
-
id: string | undefined;
|
|
1097
|
-
};
|
|
1098
|
-
}>, never, never, never, never>;
|
|
1099
|
-
}];
|
|
1100
|
-
readonly CLOSE: {
|
|
1101
|
-
readonly target: "closed";
|
|
1102
|
-
};
|
|
1103
|
-
};
|
|
1104
|
-
};
|
|
1105
|
-
readonly finished: {
|
|
1106
|
-
readonly type: "final";
|
|
1107
|
-
};
|
|
1108
|
-
readonly closed: {
|
|
1109
|
-
readonly type: "final";
|
|
1110
|
-
};
|
|
1111
|
-
};
|
|
1112
|
-
}>;
|
|
1113
|
-
//#endregion
|
|
1114
|
-
//#region src/modules/electronic-signature/electronicSignatureActor.d.ts
|
|
1115
|
-
type CreateElectronicSignatureActorOptions = {
|
|
1116
|
-
config: ElectronicSignatureConfig;
|
|
1117
|
-
getFileData: () => ArrayBuffer | null;
|
|
1118
|
-
};
|
|
1119
|
-
//#endregion
|
|
1120
|
-
//#region src/modules/electronic-signature/electronicSignatureManager.d.ts
|
|
1121
|
-
type ElectronicSignatureLoadingState = {
|
|
1122
|
-
status: 'loading';
|
|
1123
|
-
};
|
|
1124
|
-
type ElectronicSignatureUploadingState = {
|
|
1125
|
-
status: 'uploading';
|
|
1126
|
-
fileName: string | null;
|
|
1127
|
-
};
|
|
1128
|
-
type ElectronicSignatureReviewingState = {
|
|
1129
|
-
status: 'reviewing';
|
|
1130
|
-
fileName: string;
|
|
1131
|
-
fileUrl: string;
|
|
1132
|
-
};
|
|
1133
|
-
type ElectronicSignatureSigningState = {
|
|
1134
|
-
status: 'signing';
|
|
1135
|
-
variant: ElectronicSignatureVariant;
|
|
1136
|
-
documents: ElectronicSignatureDocument[];
|
|
1137
|
-
consentChecks: ConsentChecks;
|
|
1138
|
-
allConsented: boolean;
|
|
1139
|
-
viewingDocumentUrl: string | null;
|
|
1140
|
-
};
|
|
1141
|
-
type ElectronicSignatureProcessingState = {
|
|
1142
|
-
status: 'processing';
|
|
1143
|
-
};
|
|
1144
|
-
type ElectronicSignatureSuccessState = {
|
|
1145
|
-
status: 'success';
|
|
1146
|
-
signedDocuments: SignedDocument[];
|
|
1147
|
-
downloadDocument: boolean;
|
|
1148
|
-
};
|
|
1149
|
-
type ElectronicSignatureErrorState = {
|
|
1150
|
-
status: 'error';
|
|
1151
|
-
errorMessage: string;
|
|
1152
|
-
};
|
|
1153
|
-
type ElectronicSignatureFinishedState = {
|
|
1154
|
-
status: 'finished';
|
|
1155
|
-
};
|
|
1156
|
-
type ElectronicSignatureClosedState = {
|
|
1157
|
-
status: 'closed';
|
|
1158
|
-
};
|
|
1159
|
-
type ElectronicSignatureState = ElectronicSignatureLoadingState | ElectronicSignatureUploadingState | ElectronicSignatureReviewingState | ElectronicSignatureSigningState | ElectronicSignatureProcessingState | ElectronicSignatureSuccessState | ElectronicSignatureErrorState | ElectronicSignatureFinishedState | ElectronicSignatureClosedState;
|
|
1160
|
-
declare function createElectronicSignatureManager(options: {
|
|
1161
|
-
config: CreateElectronicSignatureActorOptions['config'];
|
|
1162
|
-
}): Manager<ElectronicSignatureState> & {
|
|
1163
|
-
load(): void;
|
|
1164
|
-
setConsent(name: ConsentKey, checked: boolean): void;
|
|
1165
|
-
selectFile(fileName: string, fileData: ArrayBuffer, fileUrl: string): void;
|
|
1166
|
-
replaceFile(): void;
|
|
1167
|
-
confirmFile(): void;
|
|
1168
|
-
viewDocument(url: string): void;
|
|
1169
|
-
closeDocumentView(): void;
|
|
1170
|
-
sign(): void;
|
|
1171
|
-
finish(): void;
|
|
1172
|
-
retry(): void;
|
|
1173
|
-
close(): void;
|
|
1174
|
-
};
|
|
1175
|
-
type ElectronicSignatureManager = ReturnType<typeof createElectronicSignatureManager>;
|
|
1176
|
-
//#endregion
|
|
1177
|
-
export { AE_CONSENT_KEYS as a, ConsentKey as c, ElectronicSignatureVariant as d, QE_CONSENT_KEYS as f, getDefaultConsentChecks as g, getConsentKeys as h, electronicSignatureMachine as i, ElectronicSignatureConfig as l, areAllConsented as m, ElectronicSignatureState as n, AeConsentKey as o, QeConsentKey as p, createElectronicSignatureManager as r, ConsentChecks as s, ElectronicSignatureManager as t, ElectronicSignatureDocument as u };
|