@incodetech/core 0.0.0-dev-20260508-192a29f → 0.0.0-dev-20260508-9f627e9
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/ae-signature.d.ts +1 -1
- package/dist/consent.d.ts +50 -50
- package/dist/cpf-ocr.d.ts +17 -17
- package/dist/document-capture.d.ts +71 -71
- package/dist/document-upload.d.ts +46 -46
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybStateMachine-CHDyYFm_.esm.js → ekybStateMachine-D3782jvA.esm.js} +1 -1
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/extensibility.esm.js +3 -3
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +2 -2
- package/dist/{flowServices-BB-s6ToA.esm.js → flowServices-DxoBqypr.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/id-ocr.d.ts +52 -52
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-DZrKZvdL.esm.js → idCaptureManager-XyfCpFXq.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-BPomcK6x.esm.js → idCaptureStateMachine-fkhBD0jR.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +40 -40
- package/dist/{index-De8A72ta.d.ts → index-DlE7zNv3.d.ts} +119 -119
- package/dist/index.esm.js +2 -2
- package/dist/mandatory-consent.d.ts +50 -50
- package/dist/qe-signature.d.ts +1 -1
- package/dist/{session-DOHYB2JL.esm.js → session-DfeUAFVU.esm.js} +1 -1
- package/dist/session.esm.js +1 -1
- package/dist/{setup-BypDzaHr.esm.js → setup-D5U4Qvmv.esm.js} +1 -1
- package/dist/wasm.esm.js +2 -2
- package/dist/workflow.d.ts +161 -82
- package/dist/workflow.esm.js +46 -8
- package/package.json +1 -1
package/dist/ae-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-D9pehGyp.js";
|
|
2
2
|
import "./Actor-YjWTo26u.js";
|
|
3
|
-
import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-
|
|
3
|
+
import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-DlE7zNv3.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ae-signature/index.d.ts
|
|
6
6
|
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-D9pehGyp.js";
|
|
2
2
|
import "./Actor-YjWTo26u.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xstate229 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/types.d.ts
|
|
6
6
|
type ConsentConfig = {
|
|
@@ -36,7 +36,7 @@ type ConsentContext = {
|
|
|
36
36
|
type ConsentInput = {
|
|
37
37
|
config: ConsentConfig;
|
|
38
38
|
};
|
|
39
|
-
declare const consentMachine:
|
|
39
|
+
declare const consentMachine: xstate229.StateMachine<ConsentContext, {
|
|
40
40
|
type: "LOAD";
|
|
41
41
|
} | {
|
|
42
42
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -48,53 +48,53 @@ declare const consentMachine: xstate238.StateMachine<ConsentContext, {
|
|
|
48
48
|
} | {
|
|
49
49
|
type: "RESET";
|
|
50
50
|
}, {
|
|
51
|
-
[x: string]:
|
|
51
|
+
[x: string]: xstate229.ActorRefFromLogic<xstate229.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
52
52
|
consentId: string;
|
|
53
|
-
},
|
|
53
|
+
}, xstate229.EventObject>> | xstate229.ActorRefFromLogic<xstate229.PromiseActorLogic<void, {
|
|
54
54
|
languageConsentId: string;
|
|
55
55
|
checkboxes: ConsentCheckbox[];
|
|
56
|
-
},
|
|
57
|
-
},
|
|
56
|
+
}, xstate229.EventObject>> | undefined;
|
|
57
|
+
}, xstate229.Values<{
|
|
58
58
|
fetchConsent: {
|
|
59
59
|
src: "fetchConsent";
|
|
60
|
-
logic:
|
|
60
|
+
logic: xstate229.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
61
61
|
consentId: string;
|
|
62
|
-
},
|
|
62
|
+
}, xstate229.EventObject>;
|
|
63
63
|
id: string | undefined;
|
|
64
64
|
};
|
|
65
65
|
submitConsent: {
|
|
66
66
|
src: "submitConsent";
|
|
67
|
-
logic:
|
|
67
|
+
logic: xstate229.PromiseActorLogic<void, {
|
|
68
68
|
languageConsentId: string;
|
|
69
69
|
checkboxes: ConsentCheckbox[];
|
|
70
|
-
},
|
|
70
|
+
}, xstate229.EventObject>;
|
|
71
71
|
id: string | undefined;
|
|
72
72
|
};
|
|
73
|
-
}>,
|
|
73
|
+
}>, xstate229.Values<{
|
|
74
74
|
setError: {
|
|
75
75
|
type: "setError";
|
|
76
|
-
params:
|
|
76
|
+
params: xstate229.NonReducibleUnknown;
|
|
77
77
|
};
|
|
78
78
|
clearError: {
|
|
79
79
|
type: "clearError";
|
|
80
|
-
params:
|
|
80
|
+
params: xstate229.NonReducibleUnknown;
|
|
81
|
+
};
|
|
82
|
+
resetContext: {
|
|
83
|
+
type: "resetContext";
|
|
84
|
+
params: xstate229.NonReducibleUnknown;
|
|
81
85
|
};
|
|
82
86
|
setConsentData: {
|
|
83
87
|
type: "setConsentData";
|
|
84
|
-
params:
|
|
88
|
+
params: xstate229.NonReducibleUnknown;
|
|
85
89
|
};
|
|
86
90
|
toggleCheckbox: {
|
|
87
91
|
type: "toggleCheckbox";
|
|
88
|
-
params:
|
|
89
|
-
};
|
|
90
|
-
resetContext: {
|
|
91
|
-
type: "resetContext";
|
|
92
|
-
params: xstate238.NonReducibleUnknown;
|
|
92
|
+
params: xstate229.NonReducibleUnknown;
|
|
93
93
|
};
|
|
94
94
|
}>, {
|
|
95
95
|
type: "canSubmit";
|
|
96
96
|
params: unknown;
|
|
97
|
-
}, never, "error" | "idle" | "finished" | "loading" | "
|
|
97
|
+
}, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput, xstate229.NonReducibleUnknown, xstate229.EventObject, xstate229.MetaObject, {
|
|
98
98
|
readonly id: "consent";
|
|
99
99
|
readonly initial: "idle";
|
|
100
100
|
readonly context: ({
|
|
@@ -103,70 +103,70 @@ declare const consentMachine: xstate238.StateMachine<ConsentContext, {
|
|
|
103
103
|
spawn: {
|
|
104
104
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
105
105
|
src: "fetchConsent";
|
|
106
|
-
logic:
|
|
106
|
+
logic: xstate229.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
107
107
|
consentId: string;
|
|
108
|
-
},
|
|
108
|
+
}, xstate229.EventObject>;
|
|
109
109
|
id: string | undefined;
|
|
110
110
|
} extends infer T ? T extends {
|
|
111
111
|
src: "fetchConsent";
|
|
112
|
-
logic:
|
|
112
|
+
logic: xstate229.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
113
113
|
consentId: string;
|
|
114
|
-
},
|
|
114
|
+
}, xstate229.EventObject>;
|
|
115
115
|
id: string | undefined;
|
|
116
116
|
} ? T extends {
|
|
117
117
|
src: TSrc;
|
|
118
|
-
} ?
|
|
118
|
+
} ? xstate229.ConditionalRequired<[options?: ({
|
|
119
119
|
id?: T["id"] | undefined;
|
|
120
120
|
systemId?: string;
|
|
121
|
-
input?:
|
|
121
|
+
input?: xstate229.InputFrom<T["logic"]> | undefined;
|
|
122
122
|
syncSnapshot?: boolean;
|
|
123
|
-
} & { [K in
|
|
123
|
+
} & { [K in xstate229.RequiredActorOptions<T>]: unknown }) | undefined], xstate229.IsNotNever<xstate229.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
124
124
|
src: "submitConsent";
|
|
125
|
-
logic:
|
|
125
|
+
logic: xstate229.PromiseActorLogic<void, {
|
|
126
126
|
languageConsentId: string;
|
|
127
127
|
checkboxes: ConsentCheckbox[];
|
|
128
|
-
},
|
|
128
|
+
}, xstate229.EventObject>;
|
|
129
129
|
id: string | undefined;
|
|
130
130
|
} extends infer T_1 ? T_1 extends {
|
|
131
131
|
src: "submitConsent";
|
|
132
|
-
logic:
|
|
132
|
+
logic: xstate229.PromiseActorLogic<void, {
|
|
133
133
|
languageConsentId: string;
|
|
134
134
|
checkboxes: ConsentCheckbox[];
|
|
135
|
-
},
|
|
135
|
+
}, xstate229.EventObject>;
|
|
136
136
|
id: string | undefined;
|
|
137
137
|
} ? T_1 extends {
|
|
138
138
|
src: TSrc;
|
|
139
|
-
} ?
|
|
139
|
+
} ? xstate229.ConditionalRequired<[options?: ({
|
|
140
140
|
id?: T_1["id"] | undefined;
|
|
141
141
|
systemId?: string;
|
|
142
|
-
input?:
|
|
142
|
+
input?: xstate229.InputFrom<T_1["logic"]> | undefined;
|
|
143
143
|
syncSnapshot?: boolean;
|
|
144
|
-
} & { [K_1 in
|
|
144
|
+
} & { [K_1 in xstate229.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate229.IsNotNever<xstate229.RequiredActorOptions<T_1>>> : never : never : never)): xstate229.ActorRefFromLogic<xstate229.GetConcreteByKey<xstate229.Values<{
|
|
145
145
|
fetchConsent: {
|
|
146
146
|
src: "fetchConsent";
|
|
147
|
-
logic:
|
|
147
|
+
logic: xstate229.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
148
148
|
consentId: string;
|
|
149
|
-
},
|
|
149
|
+
}, xstate229.EventObject>;
|
|
150
150
|
id: string | undefined;
|
|
151
151
|
};
|
|
152
152
|
submitConsent: {
|
|
153
153
|
src: "submitConsent";
|
|
154
|
-
logic:
|
|
154
|
+
logic: xstate229.PromiseActorLogic<void, {
|
|
155
155
|
languageConsentId: string;
|
|
156
156
|
checkboxes: ConsentCheckbox[];
|
|
157
|
-
},
|
|
157
|
+
}, xstate229.EventObject>;
|
|
158
158
|
id: string | undefined;
|
|
159
159
|
};
|
|
160
160
|
}>, "src", TSrc>["logic"]>;
|
|
161
|
-
<TLogic extends
|
|
161
|
+
<TLogic extends xstate229.AnyActorLogic>(src: TLogic, ...[options]: xstate229.ConditionalRequired<[options?: ({
|
|
162
162
|
id?: never;
|
|
163
163
|
systemId?: string;
|
|
164
|
-
input?:
|
|
164
|
+
input?: xstate229.InputFrom<TLogic> | undefined;
|
|
165
165
|
syncSnapshot?: boolean;
|
|
166
|
-
} & { [K in
|
|
166
|
+
} & { [K in xstate229.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate229.IsNotNever<xstate229.RequiredLogicInput<TLogic>>>): xstate229.ActorRefFromLogic<TLogic>;
|
|
167
167
|
};
|
|
168
168
|
input: ConsentInput;
|
|
169
|
-
self:
|
|
169
|
+
self: xstate229.ActorRef<xstate229.MachineSnapshot<ConsentContext, {
|
|
170
170
|
type: "LOAD";
|
|
171
171
|
} | {
|
|
172
172
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -177,7 +177,7 @@ declare const consentMachine: xstate238.StateMachine<ConsentContext, {
|
|
|
177
177
|
type: "RETRY";
|
|
178
178
|
} | {
|
|
179
179
|
type: "RESET";
|
|
180
|
-
}, Record<string,
|
|
180
|
+
}, Record<string, xstate229.AnyActorRef | undefined>, xstate229.StateValue, string, unknown, any, any>, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -188,7 +188,7 @@ declare const consentMachine: xstate238.StateMachine<ConsentContext, {
|
|
|
188
188
|
type: "RETRY";
|
|
189
189
|
} | {
|
|
190
190
|
type: "RESET";
|
|
191
|
-
},
|
|
191
|
+
}, xstate229.AnyEventObject>;
|
|
192
192
|
}) => {
|
|
193
193
|
config: ConsentConfig;
|
|
194
194
|
title: string;
|
|
@@ -226,7 +226,7 @@ declare const consentMachine: xstate238.StateMachine<ConsentContext, {
|
|
|
226
226
|
} | {
|
|
227
227
|
type: "RESET";
|
|
228
228
|
};
|
|
229
|
-
self:
|
|
229
|
+
self: xstate229.ActorRef<xstate229.MachineSnapshot<ConsentContext, {
|
|
230
230
|
type: "LOAD";
|
|
231
231
|
} | {
|
|
232
232
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -237,7 +237,7 @@ declare const consentMachine: xstate238.StateMachine<ConsentContext, {
|
|
|
237
237
|
type: "RETRY";
|
|
238
238
|
} | {
|
|
239
239
|
type: "RESET";
|
|
240
|
-
}, Record<string,
|
|
240
|
+
}, Record<string, xstate229.AnyActorRef>, xstate229.StateValue, string, unknown, any, any>, {
|
|
241
241
|
type: "LOAD";
|
|
242
242
|
} | {
|
|
243
243
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -248,7 +248,7 @@ declare const consentMachine: xstate238.StateMachine<ConsentContext, {
|
|
|
248
248
|
type: "RETRY";
|
|
249
249
|
} | {
|
|
250
250
|
type: "RESET";
|
|
251
|
-
},
|
|
251
|
+
}, xstate229.AnyEventObject>;
|
|
252
252
|
}) => {
|
|
253
253
|
consentId: string;
|
|
254
254
|
};
|
|
@@ -297,7 +297,7 @@ declare const consentMachine: xstate238.StateMachine<ConsentContext, {
|
|
|
297
297
|
} | {
|
|
298
298
|
type: "RESET";
|
|
299
299
|
};
|
|
300
|
-
self:
|
|
300
|
+
self: xstate229.ActorRef<xstate229.MachineSnapshot<ConsentContext, {
|
|
301
301
|
type: "LOAD";
|
|
302
302
|
} | {
|
|
303
303
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -308,7 +308,7 @@ declare const consentMachine: xstate238.StateMachine<ConsentContext, {
|
|
|
308
308
|
type: "RETRY";
|
|
309
309
|
} | {
|
|
310
310
|
type: "RESET";
|
|
311
|
-
}, Record<string,
|
|
311
|
+
}, Record<string, xstate229.AnyActorRef>, xstate229.StateValue, string, unknown, any, any>, {
|
|
312
312
|
type: "LOAD";
|
|
313
313
|
} | {
|
|
314
314
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -319,7 +319,7 @@ declare const consentMachine: xstate238.StateMachine<ConsentContext, {
|
|
|
319
319
|
type: "RETRY";
|
|
320
320
|
} | {
|
|
321
321
|
type: "RESET";
|
|
322
|
-
},
|
|
322
|
+
}, xstate229.AnyEventObject>;
|
|
323
323
|
}) => {
|
|
324
324
|
languageConsentId: string;
|
|
325
325
|
checkboxes: ConsentCheckbox[];
|
package/dist/cpf-ocr.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-D9pehGyp.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as xstate297 from "xstate";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/cpf-ocr/cpfOcrManager.d.ts
|
|
5
5
|
type CpfOcrIdleState = {
|
|
@@ -47,7 +47,7 @@ type CpfOcrContext = {
|
|
|
47
47
|
error: string | undefined;
|
|
48
48
|
};
|
|
49
49
|
type CpfOcrInput = Record<string, never>;
|
|
50
|
-
declare const cpfOcrMachine:
|
|
50
|
+
declare const cpfOcrMachine: xstate297.StateMachine<CpfOcrContext, {
|
|
51
51
|
type: "LOAD";
|
|
52
52
|
} | {
|
|
53
53
|
type: "SET_CPF";
|
|
@@ -57,43 +57,43 @@ declare const cpfOcrMachine: xstate213.StateMachine<CpfOcrContext, {
|
|
|
57
57
|
} | {
|
|
58
58
|
type: "RETRY";
|
|
59
59
|
}, {
|
|
60
|
-
[x: string]:
|
|
60
|
+
[x: string]: xstate297.ActorRefFromLogic<xstate297.PromiseActorLogic<CpfOcrDataResponse, void, xstate297.EventObject>> | xstate297.ActorRefFromLogic<xstate297.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
61
61
|
cpf: string;
|
|
62
|
-
},
|
|
63
|
-
},
|
|
62
|
+
}, xstate297.EventObject>> | undefined;
|
|
63
|
+
}, xstate297.Values<{
|
|
64
64
|
fetchCpfOcrData: {
|
|
65
65
|
src: "fetchCpfOcrData";
|
|
66
|
-
logic:
|
|
66
|
+
logic: xstate297.PromiseActorLogic<CpfOcrDataResponse, void, xstate297.EventObject>;
|
|
67
67
|
id: string | undefined;
|
|
68
68
|
};
|
|
69
69
|
submitCpfOcr: {
|
|
70
70
|
src: "submitCpfOcr";
|
|
71
|
-
logic:
|
|
71
|
+
logic: xstate297.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
72
72
|
cpf: string;
|
|
73
|
-
},
|
|
73
|
+
}, xstate297.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
76
|
+
}>, xstate297.Values<{
|
|
77
77
|
setError: {
|
|
78
78
|
type: "setError";
|
|
79
|
-
params:
|
|
79
|
+
params: xstate297.NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
81
|
clearError: {
|
|
82
82
|
type: "clearError";
|
|
83
|
-
params:
|
|
83
|
+
params: xstate297.NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
85
|
setPrefill: {
|
|
86
86
|
type: "setPrefill";
|
|
87
|
-
params:
|
|
87
|
+
params: xstate297.NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
setCpf: {
|
|
90
90
|
type: "setCpf";
|
|
91
|
-
params:
|
|
91
|
+
params: xstate297.NonReducibleUnknown;
|
|
92
92
|
};
|
|
93
93
|
}>, {
|
|
94
94
|
type: "isValid";
|
|
95
95
|
params: unknown;
|
|
96
|
-
}, never, "error" | "idle" | "finished" | "loading" | "
|
|
96
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "inputting", string, CpfOcrInput, xstate297.NonReducibleUnknown, xstate297.EventObject, xstate297.MetaObject, {
|
|
97
97
|
readonly id: "cpfOcr";
|
|
98
98
|
readonly initial: "idle";
|
|
99
99
|
readonly context: {
|
|
@@ -148,7 +148,7 @@ declare const cpfOcrMachine: xstate213.StateMachine<CpfOcrContext, {
|
|
|
148
148
|
} | {
|
|
149
149
|
type: "RETRY";
|
|
150
150
|
};
|
|
151
|
-
self:
|
|
151
|
+
self: xstate297.ActorRef<xstate297.MachineSnapshot<CpfOcrContext, {
|
|
152
152
|
type: "LOAD";
|
|
153
153
|
} | {
|
|
154
154
|
type: "SET_CPF";
|
|
@@ -157,7 +157,7 @@ declare const cpfOcrMachine: xstate213.StateMachine<CpfOcrContext, {
|
|
|
157
157
|
type: "SUBMIT";
|
|
158
158
|
} | {
|
|
159
159
|
type: "RETRY";
|
|
160
|
-
}, Record<string,
|
|
160
|
+
}, Record<string, xstate297.AnyActorRef>, xstate297.StateValue, string, unknown, any, any>, {
|
|
161
161
|
type: "LOAD";
|
|
162
162
|
} | {
|
|
163
163
|
type: "SET_CPF";
|
|
@@ -166,7 +166,7 @@ declare const cpfOcrMachine: xstate213.StateMachine<CpfOcrContext, {
|
|
|
166
166
|
type: "SUBMIT";
|
|
167
167
|
} | {
|
|
168
168
|
type: "RETRY";
|
|
169
|
-
},
|
|
169
|
+
}, xstate297.AnyEventObject>;
|
|
170
170
|
}) => {
|
|
171
171
|
cpf: string;
|
|
172
172
|
};
|