@incodetech/core 0.0.0-dev-20260416-bf5b221 → 0.0.0-dev-20260417-78468b3
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/document-capture.d.ts +76 -76
- package/dist/document-upload.d.ts +46 -46
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybStateMachine-BfBs85Uj.esm.js → ekybStateMachine-BdztAoD6.esm.js} +1 -1
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/flow.d.ts +28 -3
- package/dist/flow.esm.js +248 -91
- package/dist/{flowServices-BjihIhLr.esm.js → flowServices-ibDApkcC.esm.js} +1 -9
- package/dist/home.d.ts +10 -10
- package/dist/identity-reuse.d.ts +40 -40
- package/dist/{index-D91wFwyA.d.ts → index-KnSX6CGk.d.ts} +119 -119
- package/dist/mandatory-consent.d.ts +50 -50
- package/dist/qe-signature.d.ts +1 -1
- package/dist/workflow.d.ts +114 -114
- package/dist/workflow.esm.js +2 -2
- package/package.json +1 -1
package/dist/workflow.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { t as Manager } from "./Manager-C1r-74H0.js";
|
|
|
2
2
|
import { t as AnyStateMachine } from "./StateMachine-sxIjYRWS.js";
|
|
3
3
|
import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-D1DGDmXn.js";
|
|
4
4
|
import { i as WorkflowModuleRegistry, n as RunChildModuleEvent, r as RunChildModuleInput } from "./types-DH_kbvQH.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as xstate829 from "xstate";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/workflow/types.d.ts
|
|
8
8
|
/** Possible node types returned by the workflow server. */
|
|
@@ -197,7 +197,7 @@ type WorkflowInput = {
|
|
|
197
197
|
/** Whether the device is a desktop. Determines desktop-to-mobile redirect injection. Defaults to true. */
|
|
198
198
|
isDesktop?: boolean;
|
|
199
199
|
};
|
|
200
|
-
declare const workflowMachine:
|
|
200
|
+
declare const workflowMachine: xstate829.StateMachine<WorkflowContext, {
|
|
201
201
|
type: "LOAD";
|
|
202
202
|
} | {
|
|
203
203
|
type: "MODULE_COMPLETE";
|
|
@@ -207,74 +207,74 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
207
207
|
} | {
|
|
208
208
|
type: "COMPLETE_FLOW";
|
|
209
209
|
}, {
|
|
210
|
-
[x: string]:
|
|
210
|
+
[x: string]: xstate829.ActorRefFromLogic<xstate829.CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, xstate829.EventObject>> | xstate829.ActorRefFromLogic<xstate829.PromiseActorLogic<FinishStatus, {
|
|
211
211
|
getFinishStatus: GetFinishStatusFn;
|
|
212
212
|
workflowId: string | undefined;
|
|
213
|
-
},
|
|
214
|
-
},
|
|
213
|
+
}, xstate829.EventObject>> | xstate829.ActorRefFromLogic<xstate829.PromiseActorLogic<LoadingResult, LoadWorkflowInput, xstate829.EventObject>> | xstate829.ActorRefFromLogic<xstate829.PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, xstate829.EventObject>> | xstate829.ActorRefFromLogic<xstate829.PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, xstate829.EventObject>> | xstate829.ActorRefFromLogic<xstate829.PromiseActorLogic<AnyStateMachine, ResolveModuleInput, xstate829.EventObject>> | undefined;
|
|
214
|
+
}, xstate829.Values<{
|
|
215
215
|
runChildModule: {
|
|
216
216
|
src: "runChildModule";
|
|
217
|
-
logic:
|
|
217
|
+
logic: xstate829.CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, xstate829.EventObject>;
|
|
218
|
+
id: string | undefined;
|
|
219
|
+
};
|
|
220
|
+
notifyBackend: {
|
|
221
|
+
src: "notifyBackend";
|
|
222
|
+
logic: xstate829.PromiseActorLogic<FinishStatus, {
|
|
223
|
+
getFinishStatus: GetFinishStatusFn;
|
|
224
|
+
workflowId: string | undefined;
|
|
225
|
+
}, xstate829.EventObject>;
|
|
218
226
|
id: string | undefined;
|
|
219
227
|
};
|
|
220
228
|
loadWorkflow: {
|
|
221
229
|
src: "loadWorkflow";
|
|
222
|
-
logic:
|
|
230
|
+
logic: xstate829.PromiseActorLogic<LoadingResult, LoadWorkflowInput, xstate829.EventObject>;
|
|
223
231
|
id: string | undefined;
|
|
224
232
|
};
|
|
225
233
|
processNextNode: {
|
|
226
234
|
src: "processNextNode";
|
|
227
|
-
logic:
|
|
235
|
+
logic: xstate829.PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, xstate829.EventObject>;
|
|
228
236
|
id: string | undefined;
|
|
229
237
|
};
|
|
230
238
|
handleCustomModule: {
|
|
231
239
|
src: "handleCustomModule";
|
|
232
|
-
logic:
|
|
240
|
+
logic: xstate829.PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, xstate829.EventObject>;
|
|
233
241
|
id: string | undefined;
|
|
234
242
|
};
|
|
235
243
|
resolveModule: {
|
|
236
244
|
src: "resolveModule";
|
|
237
|
-
logic:
|
|
245
|
+
logic: xstate829.PromiseActorLogic<AnyStateMachine, ResolveModuleInput, xstate829.EventObject>;
|
|
238
246
|
id: string | undefined;
|
|
239
247
|
};
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
248
|
+
}>, xstate829.Values<{
|
|
249
|
+
setError: {
|
|
250
|
+
type: "setError";
|
|
251
|
+
params: xstate829.NonReducibleUnknown;
|
|
252
|
+
};
|
|
253
|
+
setFinishStatus: {
|
|
254
|
+
type: "setFinishStatus";
|
|
255
|
+
params: xstate829.NonReducibleUnknown;
|
|
247
256
|
};
|
|
248
|
-
}>, xstate0.Values<{
|
|
249
257
|
setLoadingResult: {
|
|
250
258
|
type: "setLoadingResult";
|
|
251
|
-
params:
|
|
259
|
+
params: xstate829.NonReducibleUnknown;
|
|
252
260
|
};
|
|
253
261
|
setNextNode: {
|
|
254
262
|
type: "setNextNode";
|
|
255
|
-
params:
|
|
263
|
+
params: xstate829.NonReducibleUnknown;
|
|
256
264
|
};
|
|
257
265
|
setCustomModuleResult: {
|
|
258
266
|
type: "setCustomModuleResult";
|
|
259
|
-
params:
|
|
267
|
+
params: xstate829.NonReducibleUnknown;
|
|
260
268
|
};
|
|
261
269
|
setResolvedMachine: {
|
|
262
270
|
type: "setResolvedMachine";
|
|
263
|
-
params:
|
|
264
|
-
};
|
|
265
|
-
setFinishStatus: {
|
|
266
|
-
type: "setFinishStatus";
|
|
267
|
-
params: xstate0.NonReducibleUnknown;
|
|
268
|
-
};
|
|
269
|
-
setError: {
|
|
270
|
-
type: "setError";
|
|
271
|
-
params: xstate0.NonReducibleUnknown;
|
|
271
|
+
params: xstate829.NonReducibleUnknown;
|
|
272
272
|
};
|
|
273
273
|
setModuleError: {
|
|
274
274
|
type: "setModuleError";
|
|
275
|
-
params:
|
|
275
|
+
params: xstate829.NonReducibleUnknown;
|
|
276
276
|
};
|
|
277
|
-
}>,
|
|
277
|
+
}>, xstate829.Values<{
|
|
278
278
|
isModuleNode: {
|
|
279
279
|
type: "isModuleNode";
|
|
280
280
|
params: unknown;
|
|
@@ -291,153 +291,153 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
291
291
|
type: "isCustomModule";
|
|
292
292
|
params: unknown;
|
|
293
293
|
};
|
|
294
|
-
}>, never, "error" | "idle" | "closed" | "finished" | "loading" | "resolvingModule" | "
|
|
294
|
+
}>, never, "error" | "idle" | "closed" | "finished" | "loading" | "resolvingModule" | "runningModule" | "completing" | "asyncResolution" | "handlingCustomModule" | "processingNode", string, WorkflowInput, xstate829.NonReducibleUnknown, xstate829.EventObject, xstate829.MetaObject, {
|
|
295
295
|
readonly id: "workflow";
|
|
296
296
|
readonly initial: "idle";
|
|
297
297
|
readonly context: ({
|
|
298
298
|
input
|
|
299
299
|
}: {
|
|
300
300
|
spawn: {
|
|
301
|
-
<TSrc extends "runChildModule" | "
|
|
301
|
+
<TSrc extends "runChildModule" | "notifyBackend" | "loadWorkflow" | "processNextNode" | "handleCustomModule" | "resolveModule">(logic: TSrc, ...[options]: ({
|
|
302
302
|
src: "runChildModule";
|
|
303
|
-
logic:
|
|
303
|
+
logic: xstate829.CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, xstate829.EventObject>;
|
|
304
304
|
id: string | undefined;
|
|
305
305
|
} extends infer T ? T extends {
|
|
306
306
|
src: "runChildModule";
|
|
307
|
-
logic:
|
|
307
|
+
logic: xstate829.CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, xstate829.EventObject>;
|
|
308
308
|
id: string | undefined;
|
|
309
309
|
} ? T extends {
|
|
310
310
|
src: TSrc;
|
|
311
|
-
} ?
|
|
311
|
+
} ? xstate829.ConditionalRequired<[options?: ({
|
|
312
312
|
id?: T["id"] | undefined;
|
|
313
313
|
systemId?: string;
|
|
314
|
-
input?:
|
|
314
|
+
input?: xstate829.InputFrom<T["logic"]> | undefined;
|
|
315
315
|
syncSnapshot?: boolean;
|
|
316
|
-
} & { [K in
|
|
317
|
-
src: "
|
|
318
|
-
logic:
|
|
316
|
+
} & { [K in xstate829.RequiredActorOptions<T>]: unknown }) | undefined], xstate829.IsNotNever<xstate829.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
317
|
+
src: "notifyBackend";
|
|
318
|
+
logic: xstate829.PromiseActorLogic<FinishStatus, {
|
|
319
|
+
getFinishStatus: GetFinishStatusFn;
|
|
320
|
+
workflowId: string | undefined;
|
|
321
|
+
}, xstate829.EventObject>;
|
|
319
322
|
id: string | undefined;
|
|
320
323
|
} extends infer T_1 ? T_1 extends {
|
|
321
|
-
src: "
|
|
322
|
-
logic:
|
|
324
|
+
src: "notifyBackend";
|
|
325
|
+
logic: xstate829.PromiseActorLogic<FinishStatus, {
|
|
326
|
+
getFinishStatus: GetFinishStatusFn;
|
|
327
|
+
workflowId: string | undefined;
|
|
328
|
+
}, xstate829.EventObject>;
|
|
323
329
|
id: string | undefined;
|
|
324
330
|
} ? T_1 extends {
|
|
325
331
|
src: TSrc;
|
|
326
|
-
} ?
|
|
332
|
+
} ? xstate829.ConditionalRequired<[options?: ({
|
|
327
333
|
id?: T_1["id"] | undefined;
|
|
328
334
|
systemId?: string;
|
|
329
|
-
input?:
|
|
335
|
+
input?: xstate829.InputFrom<T_1["logic"]> | undefined;
|
|
330
336
|
syncSnapshot?: boolean;
|
|
331
|
-
} & { [K_1 in
|
|
332
|
-
src: "
|
|
333
|
-
logic:
|
|
337
|
+
} & { [K_1 in xstate829.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate829.IsNotNever<xstate829.RequiredActorOptions<T_1>>> : never : never : never) | ({
|
|
338
|
+
src: "loadWorkflow";
|
|
339
|
+
logic: xstate829.PromiseActorLogic<LoadingResult, LoadWorkflowInput, xstate829.EventObject>;
|
|
334
340
|
id: string | undefined;
|
|
335
341
|
} extends infer T_2 ? T_2 extends {
|
|
336
|
-
src: "
|
|
337
|
-
logic:
|
|
342
|
+
src: "loadWorkflow";
|
|
343
|
+
logic: xstate829.PromiseActorLogic<LoadingResult, LoadWorkflowInput, xstate829.EventObject>;
|
|
338
344
|
id: string | undefined;
|
|
339
345
|
} ? T_2 extends {
|
|
340
346
|
src: TSrc;
|
|
341
|
-
} ?
|
|
347
|
+
} ? xstate829.ConditionalRequired<[options?: ({
|
|
342
348
|
id?: T_2["id"] | undefined;
|
|
343
349
|
systemId?: string;
|
|
344
|
-
input?:
|
|
350
|
+
input?: xstate829.InputFrom<T_2["logic"]> | undefined;
|
|
345
351
|
syncSnapshot?: boolean;
|
|
346
|
-
} & { [K_2 in
|
|
347
|
-
src: "
|
|
348
|
-
logic:
|
|
352
|
+
} & { [K_2 in xstate829.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate829.IsNotNever<xstate829.RequiredActorOptions<T_2>>> : never : never : never) | ({
|
|
353
|
+
src: "processNextNode";
|
|
354
|
+
logic: xstate829.PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, xstate829.EventObject>;
|
|
349
355
|
id: string | undefined;
|
|
350
356
|
} extends infer T_3 ? T_3 extends {
|
|
351
|
-
src: "
|
|
352
|
-
logic:
|
|
357
|
+
src: "processNextNode";
|
|
358
|
+
logic: xstate829.PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, xstate829.EventObject>;
|
|
353
359
|
id: string | undefined;
|
|
354
360
|
} ? T_3 extends {
|
|
355
361
|
src: TSrc;
|
|
356
|
-
} ?
|
|
362
|
+
} ? xstate829.ConditionalRequired<[options?: ({
|
|
357
363
|
id?: T_3["id"] | undefined;
|
|
358
364
|
systemId?: string;
|
|
359
|
-
input?:
|
|
365
|
+
input?: xstate829.InputFrom<T_3["logic"]> | undefined;
|
|
360
366
|
syncSnapshot?: boolean;
|
|
361
|
-
} & { [K_3 in
|
|
362
|
-
src: "
|
|
363
|
-
logic:
|
|
367
|
+
} & { [K_3 in xstate829.RequiredActorOptions<T_3>]: unknown }) | undefined], xstate829.IsNotNever<xstate829.RequiredActorOptions<T_3>>> : never : never : never) | ({
|
|
368
|
+
src: "handleCustomModule";
|
|
369
|
+
logic: xstate829.PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, xstate829.EventObject>;
|
|
364
370
|
id: string | undefined;
|
|
365
371
|
} extends infer T_4 ? T_4 extends {
|
|
366
|
-
src: "
|
|
367
|
-
logic:
|
|
372
|
+
src: "handleCustomModule";
|
|
373
|
+
logic: xstate829.PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, xstate829.EventObject>;
|
|
368
374
|
id: string | undefined;
|
|
369
375
|
} ? T_4 extends {
|
|
370
376
|
src: TSrc;
|
|
371
|
-
} ?
|
|
377
|
+
} ? xstate829.ConditionalRequired<[options?: ({
|
|
372
378
|
id?: T_4["id"] | undefined;
|
|
373
379
|
systemId?: string;
|
|
374
|
-
input?:
|
|
380
|
+
input?: xstate829.InputFrom<T_4["logic"]> | undefined;
|
|
375
381
|
syncSnapshot?: boolean;
|
|
376
|
-
} & { [K_4 in
|
|
377
|
-
src: "
|
|
378
|
-
logic:
|
|
379
|
-
getFinishStatus: GetFinishStatusFn;
|
|
380
|
-
workflowId: string | undefined;
|
|
381
|
-
}, xstate0.EventObject>;
|
|
382
|
+
} & { [K_4 in xstate829.RequiredActorOptions<T_4>]: unknown }) | undefined], xstate829.IsNotNever<xstate829.RequiredActorOptions<T_4>>> : never : never : never) | ({
|
|
383
|
+
src: "resolveModule";
|
|
384
|
+
logic: xstate829.PromiseActorLogic<AnyStateMachine, ResolveModuleInput, xstate829.EventObject>;
|
|
382
385
|
id: string | undefined;
|
|
383
386
|
} extends infer T_5 ? T_5 extends {
|
|
384
|
-
src: "
|
|
385
|
-
logic:
|
|
386
|
-
getFinishStatus: GetFinishStatusFn;
|
|
387
|
-
workflowId: string | undefined;
|
|
388
|
-
}, xstate0.EventObject>;
|
|
387
|
+
src: "resolveModule";
|
|
388
|
+
logic: xstate829.PromiseActorLogic<AnyStateMachine, ResolveModuleInput, xstate829.EventObject>;
|
|
389
389
|
id: string | undefined;
|
|
390
390
|
} ? T_5 extends {
|
|
391
391
|
src: TSrc;
|
|
392
|
-
} ?
|
|
392
|
+
} ? xstate829.ConditionalRequired<[options?: ({
|
|
393
393
|
id?: T_5["id"] | undefined;
|
|
394
394
|
systemId?: string;
|
|
395
|
-
input?:
|
|
395
|
+
input?: xstate829.InputFrom<T_5["logic"]> | undefined;
|
|
396
396
|
syncSnapshot?: boolean;
|
|
397
|
-
} & { [K_5 in
|
|
397
|
+
} & { [K_5 in xstate829.RequiredActorOptions<T_5>]: unknown }) | undefined], xstate829.IsNotNever<xstate829.RequiredActorOptions<T_5>>> : never : never : never)): xstate829.ActorRefFromLogic<xstate829.GetConcreteByKey<xstate829.Values<{
|
|
398
398
|
runChildModule: {
|
|
399
399
|
src: "runChildModule";
|
|
400
|
-
logic:
|
|
400
|
+
logic: xstate829.CallbackActorLogic<RunChildModuleEvent, RunChildModuleInput, xstate829.EventObject>;
|
|
401
|
+
id: string | undefined;
|
|
402
|
+
};
|
|
403
|
+
notifyBackend: {
|
|
404
|
+
src: "notifyBackend";
|
|
405
|
+
logic: xstate829.PromiseActorLogic<FinishStatus, {
|
|
406
|
+
getFinishStatus: GetFinishStatusFn;
|
|
407
|
+
workflowId: string | undefined;
|
|
408
|
+
}, xstate829.EventObject>;
|
|
401
409
|
id: string | undefined;
|
|
402
410
|
};
|
|
403
411
|
loadWorkflow: {
|
|
404
412
|
src: "loadWorkflow";
|
|
405
|
-
logic:
|
|
413
|
+
logic: xstate829.PromiseActorLogic<LoadingResult, LoadWorkflowInput, xstate829.EventObject>;
|
|
406
414
|
id: string | undefined;
|
|
407
415
|
};
|
|
408
416
|
processNextNode: {
|
|
409
417
|
src: "processNextNode";
|
|
410
|
-
logic:
|
|
418
|
+
logic: xstate829.PromiseActorLogic<ProcessingResult, ProcessNextNodeInput, xstate829.EventObject>;
|
|
411
419
|
id: string | undefined;
|
|
412
420
|
};
|
|
413
421
|
handleCustomModule: {
|
|
414
422
|
src: "handleCustomModule";
|
|
415
|
-
logic:
|
|
423
|
+
logic: xstate829.PromiseActorLogic<WorkflowNode, HandleCustomModuleInput, xstate829.EventObject>;
|
|
416
424
|
id: string | undefined;
|
|
417
425
|
};
|
|
418
426
|
resolveModule: {
|
|
419
427
|
src: "resolveModule";
|
|
420
|
-
logic:
|
|
421
|
-
id: string | undefined;
|
|
422
|
-
};
|
|
423
|
-
notifyBackend: {
|
|
424
|
-
src: "notifyBackend";
|
|
425
|
-
logic: xstate0.PromiseActorLogic<FinishStatus, {
|
|
426
|
-
getFinishStatus: GetFinishStatusFn;
|
|
427
|
-
workflowId: string | undefined;
|
|
428
|
-
}, xstate0.EventObject>;
|
|
428
|
+
logic: xstate829.PromiseActorLogic<AnyStateMachine, ResolveModuleInput, xstate829.EventObject>;
|
|
429
429
|
id: string | undefined;
|
|
430
430
|
};
|
|
431
431
|
}>, "src", TSrc>["logic"]>;
|
|
432
|
-
<TLogic extends
|
|
432
|
+
<TLogic extends xstate829.AnyActorLogic>(src: TLogic, ...[options]: xstate829.ConditionalRequired<[options?: ({
|
|
433
433
|
id?: never;
|
|
434
434
|
systemId?: string;
|
|
435
|
-
input?:
|
|
435
|
+
input?: xstate829.InputFrom<TLogic> | undefined;
|
|
436
436
|
syncSnapshot?: boolean;
|
|
437
|
-
} & { [K in
|
|
437
|
+
} & { [K in xstate829.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate829.IsNotNever<xstate829.RequiredLogicInput<TLogic>>>): xstate829.ActorRefFromLogic<TLogic>;
|
|
438
438
|
};
|
|
439
439
|
input: WorkflowInput;
|
|
440
|
-
self:
|
|
440
|
+
self: xstate829.ActorRef<xstate829.MachineSnapshot<WorkflowContext, {
|
|
441
441
|
type: "LOAD";
|
|
442
442
|
} | {
|
|
443
443
|
type: "MODULE_COMPLETE";
|
|
@@ -446,7 +446,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
446
446
|
error: unknown;
|
|
447
447
|
} | {
|
|
448
448
|
type: "COMPLETE_FLOW";
|
|
449
|
-
}, Record<string,
|
|
449
|
+
}, Record<string, xstate829.AnyActorRef | undefined>, xstate829.StateValue, string, unknown, any, any>, {
|
|
450
450
|
type: "LOAD";
|
|
451
451
|
} | {
|
|
452
452
|
type: "MODULE_COMPLETE";
|
|
@@ -455,7 +455,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
455
455
|
error: unknown;
|
|
456
456
|
} | {
|
|
457
457
|
type: "COMPLETE_FLOW";
|
|
458
|
-
},
|
|
458
|
+
}, xstate829.AnyEventObject>;
|
|
459
459
|
}) => {
|
|
460
460
|
workflowConfig: undefined;
|
|
461
461
|
currentNode: undefined;
|
|
@@ -495,7 +495,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
495
495
|
} | {
|
|
496
496
|
type: "COMPLETE_FLOW";
|
|
497
497
|
};
|
|
498
|
-
self:
|
|
498
|
+
self: xstate829.ActorRef<xstate829.MachineSnapshot<WorkflowContext, {
|
|
499
499
|
type: "LOAD";
|
|
500
500
|
} | {
|
|
501
501
|
type: "MODULE_COMPLETE";
|
|
@@ -504,7 +504,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
504
504
|
error: unknown;
|
|
505
505
|
} | {
|
|
506
506
|
type: "COMPLETE_FLOW";
|
|
507
|
-
}, Record<string,
|
|
507
|
+
}, Record<string, xstate829.AnyActorRef>, xstate829.StateValue, string, unknown, any, any>, {
|
|
508
508
|
type: "LOAD";
|
|
509
509
|
} | {
|
|
510
510
|
type: "MODULE_COMPLETE";
|
|
@@ -513,7 +513,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
513
513
|
error: unknown;
|
|
514
514
|
} | {
|
|
515
515
|
type: "COMPLETE_FLOW";
|
|
516
|
-
},
|
|
516
|
+
}, xstate829.AnyEventObject>;
|
|
517
517
|
}) => {
|
|
518
518
|
isDesktop: boolean;
|
|
519
519
|
};
|
|
@@ -558,7 +558,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
558
558
|
} | {
|
|
559
559
|
type: "COMPLETE_FLOW";
|
|
560
560
|
};
|
|
561
|
-
self:
|
|
561
|
+
self: xstate829.ActorRef<xstate829.MachineSnapshot<WorkflowContext, {
|
|
562
562
|
type: "LOAD";
|
|
563
563
|
} | {
|
|
564
564
|
type: "MODULE_COMPLETE";
|
|
@@ -567,7 +567,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
567
567
|
error: unknown;
|
|
568
568
|
} | {
|
|
569
569
|
type: "COMPLETE_FLOW";
|
|
570
|
-
}, Record<string,
|
|
570
|
+
}, Record<string, xstate829.AnyActorRef>, xstate829.StateValue, string, unknown, any, any>, {
|
|
571
571
|
type: "LOAD";
|
|
572
572
|
} | {
|
|
573
573
|
type: "MODULE_COMPLETE";
|
|
@@ -576,7 +576,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
576
576
|
error: unknown;
|
|
577
577
|
} | {
|
|
578
578
|
type: "COMPLETE_FLOW";
|
|
579
|
-
},
|
|
579
|
+
}, xstate829.AnyEventObject>;
|
|
580
580
|
}) => {
|
|
581
581
|
moduleKey: string;
|
|
582
582
|
registeredModules: WorkflowModuleRegistry;
|
|
@@ -633,7 +633,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
633
633
|
} | {
|
|
634
634
|
type: "COMPLETE_FLOW";
|
|
635
635
|
};
|
|
636
|
-
self:
|
|
636
|
+
self: xstate829.ActorRef<xstate829.MachineSnapshot<WorkflowContext, {
|
|
637
637
|
type: "LOAD";
|
|
638
638
|
} | {
|
|
639
639
|
type: "MODULE_COMPLETE";
|
|
@@ -642,7 +642,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
642
642
|
error: unknown;
|
|
643
643
|
} | {
|
|
644
644
|
type: "COMPLETE_FLOW";
|
|
645
|
-
}, Record<string,
|
|
645
|
+
}, Record<string, xstate829.AnyActorRef>, xstate829.StateValue, string, unknown, any, any>, {
|
|
646
646
|
type: "LOAD";
|
|
647
647
|
} | {
|
|
648
648
|
type: "MODULE_COMPLETE";
|
|
@@ -651,7 +651,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
651
651
|
error: unknown;
|
|
652
652
|
} | {
|
|
653
653
|
type: "COMPLETE_FLOW";
|
|
654
|
-
},
|
|
654
|
+
}, xstate829.AnyEventObject>;
|
|
655
655
|
}) => {
|
|
656
656
|
currentNode: WorkflowNode;
|
|
657
657
|
interviewId: string;
|
|
@@ -694,7 +694,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
694
694
|
} | {
|
|
695
695
|
type: "COMPLETE_FLOW";
|
|
696
696
|
};
|
|
697
|
-
self:
|
|
697
|
+
self: xstate829.ActorRef<xstate829.MachineSnapshot<WorkflowContext, {
|
|
698
698
|
type: "LOAD";
|
|
699
699
|
} | {
|
|
700
700
|
type: "MODULE_COMPLETE";
|
|
@@ -703,7 +703,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
703
703
|
error: unknown;
|
|
704
704
|
} | {
|
|
705
705
|
type: "COMPLETE_FLOW";
|
|
706
|
-
}, Record<string,
|
|
706
|
+
}, Record<string, xstate829.AnyActorRef>, xstate829.StateValue, string, unknown, any, any>, {
|
|
707
707
|
type: "LOAD";
|
|
708
708
|
} | {
|
|
709
709
|
type: "MODULE_COMPLETE";
|
|
@@ -712,7 +712,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
712
712
|
error: unknown;
|
|
713
713
|
} | {
|
|
714
714
|
type: "COMPLETE_FLOW";
|
|
715
|
-
},
|
|
715
|
+
}, xstate829.AnyEventObject>;
|
|
716
716
|
}) => {
|
|
717
717
|
isInjectedNode: boolean;
|
|
718
718
|
firstNode: WorkflowNode | undefined;
|
|
@@ -762,7 +762,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
762
762
|
} | {
|
|
763
763
|
type: "COMPLETE_FLOW";
|
|
764
764
|
};
|
|
765
|
-
self:
|
|
765
|
+
self: xstate829.ActorRef<xstate829.MachineSnapshot<WorkflowContext, {
|
|
766
766
|
type: "LOAD";
|
|
767
767
|
} | {
|
|
768
768
|
type: "MODULE_COMPLETE";
|
|
@@ -771,7 +771,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
771
771
|
error: unknown;
|
|
772
772
|
} | {
|
|
773
773
|
type: "COMPLETE_FLOW";
|
|
774
|
-
}, Record<string,
|
|
774
|
+
}, Record<string, xstate829.AnyActorRef>, xstate829.StateValue, string, unknown, any, any>, {
|
|
775
775
|
type: "LOAD";
|
|
776
776
|
} | {
|
|
777
777
|
type: "MODULE_COMPLETE";
|
|
@@ -780,7 +780,7 @@ declare const workflowMachine: xstate0.StateMachine<WorkflowContext, {
|
|
|
780
780
|
error: unknown;
|
|
781
781
|
} | {
|
|
782
782
|
type: "COMPLETE_FLOW";
|
|
783
|
-
},
|
|
783
|
+
}, xstate829.AnyEventObject>;
|
|
784
784
|
}) => {
|
|
785
785
|
getFinishStatus: GetFinishStatusFn;
|
|
786
786
|
workflowId: string | undefined;
|
package/dist/workflow.esm.js
CHANGED
|
@@ -24,9 +24,9 @@ import { t as authenticationMachine } from "./authenticationStateMachine-DrZH7hS
|
|
|
24
24
|
import { t as consentMachine } from "./consentStateMachine-hnEBcICC.esm.js";
|
|
25
25
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-tPZjHZeF.esm.js";
|
|
26
26
|
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-CNlRr6_9.esm.js";
|
|
27
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
27
|
+
import { t as ekybMachine } from "./ekybStateMachine-BdztAoD6.esm.js";
|
|
28
28
|
import "./addressSearch-C7jdpkpZ.esm.js";
|
|
29
|
-
import "./flowServices-
|
|
29
|
+
import "./flowServices-ibDApkcC.esm.js";
|
|
30
30
|
import "./BrowserTimerProvider-DDCqhG2g.esm.js";
|
|
31
31
|
import { t as ekycMachine } from "./ekycStateMachine-DMBeGWMr.esm.js";
|
|
32
32
|
import { t as emailMachine } from "./emailStateMachine-s7890k9s.esm.js";
|