@incodetech/core 0.0.0-dev-20260505-78432a2 → 0.0.0-dev-20260505-4dd3003

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/{BaseWasmProvider-BTKqWpeB.esm.js → BaseWasmProvider-CkIHbYdx.esm.js} +112 -60
  2. package/dist/{WasmUtilProvider-DqCiPXV6.esm.js → WasmUtilProvider-DsAa3yqJ.esm.js} +1 -1
  3. package/dist/ae-signature.d.ts +1 -1
  4. package/dist/authentication.esm.js +6 -6
  5. package/dist/{authenticationManager-32vStqcp.esm.js → authenticationManager-BlExOsgX.esm.js} +2 -2
  6. package/dist/{authenticationStateMachine-CrITAfcp.esm.js → authenticationStateMachine-B2KkS-0r.esm.js} +2 -2
  7. package/dist/consent.d.ts +52 -52
  8. package/dist/cpf-ocr.d.ts +20 -20
  9. package/dist/{deepsightLoader-BnMFKE9b.esm.js → deepsightLoader-nn8-Chjr.esm.js} +2 -2
  10. package/dist/document-capture.d.ts +77 -77
  11. package/dist/document-upload.d.ts +49 -49
  12. package/dist/ekyb.esm.js +3 -3
  13. package/dist/{ekybStateMachine-B_Hy_til.esm.js → ekybStateMachine-BLfzFOAD.esm.js} +1 -1
  14. package/dist/electronic-signature.d.ts +1 -1
  15. package/dist/extensibility.esm.js +11 -11
  16. package/dist/{faceCaptureSetup-DMDxVTF7.esm.js → faceCaptureSetup-GGxPo8Cc.esm.js} +1 -1
  17. package/dist/flow.d.ts +2 -2
  18. package/dist/flow.esm.js +2 -2
  19. package/dist/{flowServices-C888w7m0.esm.js → flowServices-QTK0C4Ek.esm.js} +1 -1
  20. package/dist/home.d.ts +10 -10
  21. package/dist/id-ocr.d.ts +52 -52
  22. package/dist/id.esm.js +5 -5
  23. package/dist/{idCaptureManager-R-u_QwYp.esm.js → idCaptureManager-BtqsBcWw.esm.js} +1 -1
  24. package/dist/{idCaptureStateMachine-VS6QlY1i.esm.js → idCaptureStateMachine-CvdoaLtU.esm.js} +4 -4
  25. package/dist/identity-reuse.d.ts +47 -47
  26. package/dist/{index-zCeaDx6H.d.ts → index-B7qp9qsj.d.ts} +119 -119
  27. package/dist/index.esm.js +4 -4
  28. package/dist/mandatory-consent.d.ts +52 -52
  29. package/dist/qe-signature.d.ts +1 -1
  30. package/dist/{recordingService-Xq_JbS3R.esm.js → recordingService-Nn-BBO6j.esm.js} +2 -2
  31. package/dist/selfie.esm.js +6 -6
  32. package/dist/{selfieManager-CC-e4wqv.esm.js → selfieManager-BI4smYEE.esm.js} +2 -2
  33. package/dist/{selfieStateMachine-C4PGfd-j.esm.js → selfieStateMachine-B-stjSD5.esm.js} +2 -2
  34. package/dist/{session-DvzV3QxE.esm.js → session-oIjERqhS.esm.js} +1 -1
  35. package/dist/session.esm.js +1 -1
  36. package/dist/{setup-BEUx0p_-.esm.js → setup-BIkp7Hbm.esm.js} +3 -3
  37. package/dist/wasm.esm.js +4 -4
  38. package/dist/workflow.d.ts +85 -85
  39. package/dist/workflow.esm.js +9 -9
  40. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-CcbnIt3T.js";
2
2
  import { t as ActorRefFrom } from "./Actor-CazhiaK7.js";
3
- import * as xstate0 from "xstate";
3
+ import * as xstate315 from "xstate";
4
4
 
5
5
  //#region src/modules/identity-reuse/types.d.ts
6
6
 
@@ -32,7 +32,7 @@ type IdentityReuseContext = {
32
32
  type IdentityReuseInput = {
33
33
  config: IdentityReuseConfig;
34
34
  };
35
- declare const identityReuseMachine: xstate0.StateMachine<IdentityReuseContext, {
35
+ declare const identityReuseMachine: xstate315.StateMachine<IdentityReuseContext, {
36
36
  type: "LOAD";
37
37
  } | {
38
38
  type: "START_SELECTION";
@@ -48,49 +48,49 @@ declare const identityReuseMachine: xstate0.StateMachine<IdentityReuseContext, {
48
48
  } | {
49
49
  type: "RETRY";
50
50
  }, {
51
- [x: string]: xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<FetchCandidatesResponse, void, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<SubmitResponse, void, xstate0.EventObject>> | undefined;
52
- }, xstate0.Values<{
51
+ [x: string]: xstate315.ActorRefFromLogic<xstate315.PromiseActorLogic<FetchCandidatesResponse, void, xstate315.EventObject>> | xstate315.ActorRefFromLogic<xstate315.PromiseActorLogic<SubmitResponse, void, xstate315.EventObject>> | undefined;
52
+ }, xstate315.Values<{
53
53
  fetchCandidates: {
54
54
  src: "fetchCandidates";
55
- logic: xstate0.PromiseActorLogic<FetchCandidatesResponse, void, xstate0.EventObject>;
55
+ logic: xstate315.PromiseActorLogic<FetchCandidatesResponse, void, xstate315.EventObject>;
56
56
  id: string | undefined;
57
57
  };
58
58
  submitContinue: {
59
59
  src: "submitContinue";
60
- logic: xstate0.PromiseActorLogic<SubmitResponse, void, xstate0.EventObject>;
60
+ logic: xstate315.PromiseActorLogic<SubmitResponse, void, xstate315.EventObject>;
61
61
  id: string | undefined;
62
62
  };
63
63
  submitSkip: {
64
64
  src: "submitSkip";
65
- logic: xstate0.PromiseActorLogic<SubmitResponse, void, xstate0.EventObject>;
65
+ logic: xstate315.PromiseActorLogic<SubmitResponse, void, xstate315.EventObject>;
66
66
  id: string | undefined;
67
67
  };
68
- }>, xstate0.Values<{
68
+ }>, xstate315.Values<{
69
+ clearError: {
70
+ type: "clearError";
71
+ params: xstate315.NonReducibleUnknown;
72
+ };
73
+ setError: {
74
+ type: "setError";
75
+ params: xstate315.NonReducibleUnknown;
76
+ };
69
77
  setCandidates: {
70
78
  type: "setCandidates";
71
- params: xstate0.NonReducibleUnknown;
79
+ params: xstate315.NonReducibleUnknown;
72
80
  };
73
81
  setSelectedCandidate: {
74
82
  type: "setSelectedCandidate";
75
- params: xstate0.NonReducibleUnknown;
83
+ params: xstate315.NonReducibleUnknown;
76
84
  };
77
85
  autoSelectSingleCandidate: {
78
86
  type: "autoSelectSingleCandidate";
79
- params: xstate0.NonReducibleUnknown;
87
+ params: xstate315.NonReducibleUnknown;
80
88
  };
81
89
  clearSelection: {
82
90
  type: "clearSelection";
83
- params: xstate0.NonReducibleUnknown;
84
- };
85
- setError: {
86
- type: "setError";
87
- params: xstate0.NonReducibleUnknown;
88
- };
89
- clearError: {
90
- type: "clearError";
91
- params: xstate0.NonReducibleUnknown;
91
+ params: xstate315.NonReducibleUnknown;
92
92
  };
93
- }>, xstate0.Values<{
93
+ }>, xstate315.Values<{
94
94
  hasMultipleCandidates: {
95
95
  type: "hasMultipleCandidates";
96
96
  params: unknown;
@@ -103,9 +103,9 @@ declare const identityReuseMachine: xstate0.StateMachine<IdentityReuseContext, {
103
103
  type: "hasChosenCandidate";
104
104
  params: unknown;
105
105
  };
106
- }>, never, "error" | "idle" | "finished" | "submitContinue" | "submitSkip" | "loading" | "oneCandidateFound" | "noCandidatesFound" | {
106
+ }>, never, "error" | "idle" | "finished" | "loading" | "submitContinue" | "submitSkip" | "oneCandidateFound" | "noCandidatesFound" | {
107
107
  multiCandidatesFound: "noCandidateSelected" | "choosingCandidate" | "candidateSelected";
108
- }, string, IdentityReuseInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
108
+ }, string, IdentityReuseInput, xstate315.NonReducibleUnknown, xstate315.EventObject, xstate315.MetaObject, {
109
109
  readonly id: "identityReuse";
110
110
  readonly initial: "idle";
111
111
  readonly context: ({
@@ -114,75 +114,75 @@ declare const identityReuseMachine: xstate0.StateMachine<IdentityReuseContext, {
114
114
  spawn: {
115
115
  <TSrc extends "fetchCandidates" | "submitContinue" | "submitSkip">(logic: TSrc, ...[options]: ({
116
116
  src: "fetchCandidates";
117
- logic: xstate0.PromiseActorLogic<FetchCandidatesResponse, void, xstate0.EventObject>;
117
+ logic: xstate315.PromiseActorLogic<FetchCandidatesResponse, void, xstate315.EventObject>;
118
118
  id: string | undefined;
119
119
  } extends infer T ? T extends {
120
120
  src: "fetchCandidates";
121
- logic: xstate0.PromiseActorLogic<FetchCandidatesResponse, void, xstate0.EventObject>;
121
+ logic: xstate315.PromiseActorLogic<FetchCandidatesResponse, void, xstate315.EventObject>;
122
122
  id: string | undefined;
123
123
  } ? T extends {
124
124
  src: TSrc;
125
- } ? xstate0.ConditionalRequired<[options?: ({
125
+ } ? xstate315.ConditionalRequired<[options?: ({
126
126
  id?: T["id"] | undefined;
127
127
  systemId?: string;
128
- input?: xstate0.InputFrom<T["logic"]> | undefined;
128
+ input?: xstate315.InputFrom<T["logic"]> | undefined;
129
129
  syncSnapshot?: boolean;
130
- } & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never) | ({
130
+ } & { [K in xstate315.RequiredActorOptions<T>]: unknown }) | undefined], xstate315.IsNotNever<xstate315.RequiredActorOptions<T>>> : never : never : never) | ({
131
131
  src: "submitContinue";
132
- logic: xstate0.PromiseActorLogic<SubmitResponse, void, xstate0.EventObject>;
132
+ logic: xstate315.PromiseActorLogic<SubmitResponse, void, xstate315.EventObject>;
133
133
  id: string | undefined;
134
134
  } extends infer T_1 ? T_1 extends {
135
135
  src: "submitContinue";
136
- logic: xstate0.PromiseActorLogic<SubmitResponse, void, xstate0.EventObject>;
136
+ logic: xstate315.PromiseActorLogic<SubmitResponse, void, xstate315.EventObject>;
137
137
  id: string | undefined;
138
138
  } ? T_1 extends {
139
139
  src: TSrc;
140
- } ? xstate0.ConditionalRequired<[options?: ({
140
+ } ? xstate315.ConditionalRequired<[options?: ({
141
141
  id?: T_1["id"] | undefined;
142
142
  systemId?: string;
143
- input?: xstate0.InputFrom<T_1["logic"]> | undefined;
143
+ input?: xstate315.InputFrom<T_1["logic"]> | undefined;
144
144
  syncSnapshot?: boolean;
145
- } & { [K_1 in xstate0.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_1>>> : never : never : never) | ({
145
+ } & { [K_1 in xstate315.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate315.IsNotNever<xstate315.RequiredActorOptions<T_1>>> : never : never : never) | ({
146
146
  src: "submitSkip";
147
- logic: xstate0.PromiseActorLogic<SubmitResponse, void, xstate0.EventObject>;
147
+ logic: xstate315.PromiseActorLogic<SubmitResponse, void, xstate315.EventObject>;
148
148
  id: string | undefined;
149
149
  } extends infer T_2 ? T_2 extends {
150
150
  src: "submitSkip";
151
- logic: xstate0.PromiseActorLogic<SubmitResponse, void, xstate0.EventObject>;
151
+ logic: xstate315.PromiseActorLogic<SubmitResponse, void, xstate315.EventObject>;
152
152
  id: string | undefined;
153
153
  } ? T_2 extends {
154
154
  src: TSrc;
155
- } ? xstate0.ConditionalRequired<[options?: ({
155
+ } ? xstate315.ConditionalRequired<[options?: ({
156
156
  id?: T_2["id"] | undefined;
157
157
  systemId?: string;
158
- input?: xstate0.InputFrom<T_2["logic"]> | undefined;
158
+ input?: xstate315.InputFrom<T_2["logic"]> | undefined;
159
159
  syncSnapshot?: boolean;
160
- } & { [K_2 in xstate0.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_2>>> : never : never : never)): xstate0.ActorRefFromLogic<xstate0.GetConcreteByKey<xstate0.Values<{
160
+ } & { [K_2 in xstate315.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate315.IsNotNever<xstate315.RequiredActorOptions<T_2>>> : never : never : never)): xstate315.ActorRefFromLogic<xstate315.GetConcreteByKey<xstate315.Values<{
161
161
  fetchCandidates: {
162
162
  src: "fetchCandidates";
163
- logic: xstate0.PromiseActorLogic<FetchCandidatesResponse, void, xstate0.EventObject>;
163
+ logic: xstate315.PromiseActorLogic<FetchCandidatesResponse, void, xstate315.EventObject>;
164
164
  id: string | undefined;
165
165
  };
166
166
  submitContinue: {
167
167
  src: "submitContinue";
168
- logic: xstate0.PromiseActorLogic<SubmitResponse, void, xstate0.EventObject>;
168
+ logic: xstate315.PromiseActorLogic<SubmitResponse, void, xstate315.EventObject>;
169
169
  id: string | undefined;
170
170
  };
171
171
  submitSkip: {
172
172
  src: "submitSkip";
173
- logic: xstate0.PromiseActorLogic<SubmitResponse, void, xstate0.EventObject>;
173
+ logic: xstate315.PromiseActorLogic<SubmitResponse, void, xstate315.EventObject>;
174
174
  id: string | undefined;
175
175
  };
176
176
  }>, "src", TSrc>["logic"]>;
177
- <TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
177
+ <TLogic extends xstate315.AnyActorLogic>(src: TLogic, ...[options]: xstate315.ConditionalRequired<[options?: ({
178
178
  id?: never;
179
179
  systemId?: string;
180
- input?: xstate0.InputFrom<TLogic> | undefined;
180
+ input?: xstate315.InputFrom<TLogic> | undefined;
181
181
  syncSnapshot?: boolean;
182
- } & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
182
+ } & { [K in xstate315.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate315.IsNotNever<xstate315.RequiredLogicInput<TLogic>>>): xstate315.ActorRefFromLogic<TLogic>;
183
183
  };
184
184
  input: IdentityReuseInput;
185
- self: xstate0.ActorRef<xstate0.MachineSnapshot<IdentityReuseContext, {
185
+ self: xstate315.ActorRef<xstate315.MachineSnapshot<IdentityReuseContext, {
186
186
  type: "LOAD";
187
187
  } | {
188
188
  type: "START_SELECTION";
@@ -197,7 +197,7 @@ declare const identityReuseMachine: xstate0.StateMachine<IdentityReuseContext, {
197
197
  type: "SKIP";
198
198
  } | {
199
199
  type: "RETRY";
200
- }, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
200
+ }, Record<string, xstate315.AnyActorRef | undefined>, xstate315.StateValue, string, unknown, any, any>, {
201
201
  type: "LOAD";
202
202
  } | {
203
203
  type: "START_SELECTION";
@@ -212,7 +212,7 @@ declare const identityReuseMachine: xstate0.StateMachine<IdentityReuseContext, {
212
212
  type: "SKIP";
213
213
  } | {
214
214
  type: "RETRY";
215
- }, xstate0.AnyEventObject>;
215
+ }, xstate315.AnyEventObject>;
216
216
  }) => {
217
217
  config: IdentityReuseConfig;
218
218
  currentOrganizationName: undefined;