@incodetech/core 0.0.0-dev-20260415-c76aaf6 → 0.0.0-dev-20260415-aae94ed

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 (37) hide show
  1. package/dist/ae-signature.d.ts +2 -2
  2. package/dist/authentication.d.ts +3 -3
  3. package/dist/{authenticationManager-uuadAjxQ.d.ts → authenticationManager-DKH7oRB1.d.ts} +1 -1
  4. package/dist/consent.d.ts +48 -48
  5. package/dist/curp-validation.d.ts +1 -1
  6. package/dist/document-capture.d.ts +74 -74
  7. package/dist/document-upload.d.ts +44 -44
  8. package/dist/ekyb.d.ts +1 -1
  9. package/dist/ekyc.d.ts +1 -1
  10. package/dist/electronic-signature.d.ts +3 -2
  11. package/dist/{index-CsVuazCr.d.ts → electronicSignatureManager-BxlFec2P.d.ts} +119 -119
  12. package/dist/email.d.ts +2 -2
  13. package/dist/{emailManager-DXdv0T1X.d.ts → emailManager-DocqJIVa.d.ts} +1 -1
  14. package/dist/extensibility.d.ts +7 -7
  15. package/dist/{faceCaptureManagerFactory-D_zCVmbH.d.ts → faceCaptureManagerFactory-CcdPZa7t.d.ts} +1 -1
  16. package/dist/flow.d.ts +2 -2
  17. package/dist/geolocation.d.ts +1 -1
  18. package/dist/government-validation.d.ts +1 -1
  19. package/dist/home.d.ts +10 -10
  20. package/dist/id.d.ts +2 -2
  21. package/dist/{idCaptureManager-D6ExeVFU.d.ts → idCaptureManager-Dk3_NAC1.d.ts} +1 -1
  22. package/dist/identity-reuse.d.ts +41 -41
  23. package/dist/index--tzjwTVz.d.ts +1 -0
  24. package/dist/mandatory-consent.d.ts +48 -48
  25. package/dist/phone.d.ts +2 -2
  26. package/dist/{phoneManager-CZkwAnZA.d.ts → phoneManager-DnrUMrya.d.ts} +1 -1
  27. package/dist/qe-signature.d.ts +3 -2
  28. package/dist/redirect-to-mobile.d.ts +1 -1
  29. package/dist/selfie.d.ts +3 -3
  30. package/dist/{selfieManager-Dnn2KafN.d.ts → selfieManager-Cpawfivv.d.ts} +1 -1
  31. package/dist/session.d.ts +1 -1
  32. package/dist/signature.d.ts +1 -1
  33. package/dist/workflow.d.ts +114 -114
  34. package/package.json +1 -1
  35. /package/dist/{Actor-Cqaw-2DF.d.ts → Actor-Bvf4Wv1O.d.ts} +0 -0
  36. /package/dist/{flowCompletionService-D1DGDmXn.d.ts → flowCompletionService-wLXTzf1m.d.ts} +0 -0
  37. /package/dist/{types-DH_kbvQH.d.ts → types-BPuvIFKx.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-C1r-74H0.js";
2
- import "./Actor-Cqaw-2DF.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-CsVuazCr.js";
2
+ 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 "./electronicSignatureManager-BxlFec2P.js";
3
+ import "./Actor-Bvf4Wv1O.js";
4
4
 
5
5
  //#region src/modules/ae-signature/index.d.ts
6
6
 
@@ -1,12 +1,12 @@
1
1
  import "./warmup-BoNCXpou.js";
2
2
  import "./Manager-C1r-74H0.js";
3
- import "./Actor-Cqaw-2DF.js";
3
+ import "./Actor-Bvf4Wv1O.js";
4
4
  import "./StateMachine-sxIjYRWS.js";
5
- import { _ as AuthenticationConfig, b as authenticationMachine, g as createAuthenticationActor, h as CreateAuthenticationActorOptions, m as AuthenticationActor } from "./faceCaptureManagerFactory-D_zCVmbH.js";
5
+ import { _ as AuthenticationConfig, b as authenticationMachine, g as createAuthenticationActor, h as CreateAuthenticationActorOptions, m as AuthenticationActor } from "./faceCaptureManagerFactory-CcdPZa7t.js";
6
6
  import "./camera-C1Lz6NFz.js";
7
7
  import "./types-DGwsRYfm.js";
8
8
  import "./types-DyA9ksX2.js";
9
9
  import "./deepsightService-D8Kbc-41.js";
10
10
  import "./types-B-JXmW0H.js";
11
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-uuadAjxQ.js";
11
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-DKH7oRB1.js";
12
12
  export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,5 +1,5 @@
1
1
  import { t as Manager } from "./Manager-C1r-74H0.js";
2
- import { h as CreateAuthenticationActorOptions, m as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager } from "./faceCaptureManagerFactory-D_zCVmbH.js";
2
+ import { h as CreateAuthenticationActorOptions, m as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager } from "./faceCaptureManagerFactory-CcdPZa7t.js";
3
3
 
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
package/dist/consent.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-C1r-74H0.js";
2
- import "./Actor-Cqaw-2DF.js";
3
- import * as xstate986 from "xstate";
2
+ import "./Actor-Bvf4Wv1O.js";
3
+ import * as xstate644 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: xstate986.StateMachine<ConsentContext, {
39
+ declare const consentMachine: xstate644.StateMachine<ConsentContext, {
40
40
  type: "LOAD";
41
41
  } | {
42
42
  type: "TOGGLE_CHECKBOX";
@@ -48,53 +48,53 @@ declare const consentMachine: xstate986.StateMachine<ConsentContext, {
48
48
  } | {
49
49
  type: "RESET";
50
50
  }, {
51
- [x: string]: xstate986.ActorRefFromLogic<xstate986.PromiseActorLogic<FetchCombinedConsentResponse, {
51
+ [x: string]: xstate644.ActorRefFromLogic<xstate644.PromiseActorLogic<FetchCombinedConsentResponse, {
52
52
  consentId: string;
53
- }, xstate986.EventObject>> | xstate986.ActorRefFromLogic<xstate986.PromiseActorLogic<void, {
53
+ }, xstate644.EventObject>> | xstate644.ActorRefFromLogic<xstate644.PromiseActorLogic<void, {
54
54
  languageConsentId: string;
55
55
  checkboxes: ConsentCheckbox[];
56
- }, xstate986.EventObject>> | undefined;
57
- }, xstate986.Values<{
56
+ }, xstate644.EventObject>> | undefined;
57
+ }, xstate644.Values<{
58
58
  fetchConsent: {
59
59
  src: "fetchConsent";
60
- logic: xstate986.PromiseActorLogic<FetchCombinedConsentResponse, {
60
+ logic: xstate644.PromiseActorLogic<FetchCombinedConsentResponse, {
61
61
  consentId: string;
62
- }, xstate986.EventObject>;
62
+ }, xstate644.EventObject>;
63
63
  id: string | undefined;
64
64
  };
65
65
  submitConsent: {
66
66
  src: "submitConsent";
67
- logic: xstate986.PromiseActorLogic<void, {
67
+ logic: xstate644.PromiseActorLogic<void, {
68
68
  languageConsentId: string;
69
69
  checkboxes: ConsentCheckbox[];
70
- }, xstate986.EventObject>;
70
+ }, xstate644.EventObject>;
71
71
  id: string | undefined;
72
72
  };
73
- }>, xstate986.Values<{
73
+ }>, xstate644.Values<{
74
74
  setError: {
75
75
  type: "setError";
76
- params: xstate986.NonReducibleUnknown;
76
+ params: xstate644.NonReducibleUnknown;
77
77
  };
78
78
  clearError: {
79
79
  type: "clearError";
80
- params: xstate986.NonReducibleUnknown;
80
+ params: xstate644.NonReducibleUnknown;
81
81
  };
82
82
  resetContext: {
83
83
  type: "resetContext";
84
- params: xstate986.NonReducibleUnknown;
84
+ params: xstate644.NonReducibleUnknown;
85
85
  };
86
86
  setConsentData: {
87
87
  type: "setConsentData";
88
- params: xstate986.NonReducibleUnknown;
88
+ params: xstate644.NonReducibleUnknown;
89
89
  };
90
90
  toggleCheckbox: {
91
91
  type: "toggleCheckbox";
92
- params: xstate986.NonReducibleUnknown;
92
+ params: xstate644.NonReducibleUnknown;
93
93
  };
94
94
  }>, {
95
95
  type: "canSubmit";
96
96
  params: unknown;
97
- }, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput, xstate986.NonReducibleUnknown, xstate986.EventObject, xstate986.MetaObject, {
97
+ }, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput, xstate644.NonReducibleUnknown, xstate644.EventObject, xstate644.MetaObject, {
98
98
  readonly id: "consent";
99
99
  readonly initial: "idle";
100
100
  readonly context: ({
@@ -103,70 +103,70 @@ declare const consentMachine: xstate986.StateMachine<ConsentContext, {
103
103
  spawn: {
104
104
  <TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
105
105
  src: "fetchConsent";
106
- logic: xstate986.PromiseActorLogic<FetchCombinedConsentResponse, {
106
+ logic: xstate644.PromiseActorLogic<FetchCombinedConsentResponse, {
107
107
  consentId: string;
108
- }, xstate986.EventObject>;
108
+ }, xstate644.EventObject>;
109
109
  id: string | undefined;
110
110
  } extends infer T ? T extends {
111
111
  src: "fetchConsent";
112
- logic: xstate986.PromiseActorLogic<FetchCombinedConsentResponse, {
112
+ logic: xstate644.PromiseActorLogic<FetchCombinedConsentResponse, {
113
113
  consentId: string;
114
- }, xstate986.EventObject>;
114
+ }, xstate644.EventObject>;
115
115
  id: string | undefined;
116
116
  } ? T extends {
117
117
  src: TSrc;
118
- } ? xstate986.ConditionalRequired<[options?: ({
118
+ } ? xstate644.ConditionalRequired<[options?: ({
119
119
  id?: T["id"] | undefined;
120
120
  systemId?: string;
121
- input?: xstate986.InputFrom<T["logic"]> | undefined;
121
+ input?: xstate644.InputFrom<T["logic"]> | undefined;
122
122
  syncSnapshot?: boolean;
123
- } & { [K in xstate986.RequiredActorOptions<T>]: unknown }) | undefined], xstate986.IsNotNever<xstate986.RequiredActorOptions<T>>> : never : never : never) | ({
123
+ } & { [K in xstate644.RequiredActorOptions<T>]: unknown }) | undefined], xstate644.IsNotNever<xstate644.RequiredActorOptions<T>>> : never : never : never) | ({
124
124
  src: "submitConsent";
125
- logic: xstate986.PromiseActorLogic<void, {
125
+ logic: xstate644.PromiseActorLogic<void, {
126
126
  languageConsentId: string;
127
127
  checkboxes: ConsentCheckbox[];
128
- }, xstate986.EventObject>;
128
+ }, xstate644.EventObject>;
129
129
  id: string | undefined;
130
130
  } extends infer T_1 ? T_1 extends {
131
131
  src: "submitConsent";
132
- logic: xstate986.PromiseActorLogic<void, {
132
+ logic: xstate644.PromiseActorLogic<void, {
133
133
  languageConsentId: string;
134
134
  checkboxes: ConsentCheckbox[];
135
- }, xstate986.EventObject>;
135
+ }, xstate644.EventObject>;
136
136
  id: string | undefined;
137
137
  } ? T_1 extends {
138
138
  src: TSrc;
139
- } ? xstate986.ConditionalRequired<[options?: ({
139
+ } ? xstate644.ConditionalRequired<[options?: ({
140
140
  id?: T_1["id"] | undefined;
141
141
  systemId?: string;
142
- input?: xstate986.InputFrom<T_1["logic"]> | undefined;
142
+ input?: xstate644.InputFrom<T_1["logic"]> | undefined;
143
143
  syncSnapshot?: boolean;
144
- } & { [K_1 in xstate986.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate986.IsNotNever<xstate986.RequiredActorOptions<T_1>>> : never : never : never)): xstate986.ActorRefFromLogic<xstate986.GetConcreteByKey<xstate986.Values<{
144
+ } & { [K_1 in xstate644.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate644.IsNotNever<xstate644.RequiredActorOptions<T_1>>> : never : never : never)): xstate644.ActorRefFromLogic<xstate644.GetConcreteByKey<xstate644.Values<{
145
145
  fetchConsent: {
146
146
  src: "fetchConsent";
147
- logic: xstate986.PromiseActorLogic<FetchCombinedConsentResponse, {
147
+ logic: xstate644.PromiseActorLogic<FetchCombinedConsentResponse, {
148
148
  consentId: string;
149
- }, xstate986.EventObject>;
149
+ }, xstate644.EventObject>;
150
150
  id: string | undefined;
151
151
  };
152
152
  submitConsent: {
153
153
  src: "submitConsent";
154
- logic: xstate986.PromiseActorLogic<void, {
154
+ logic: xstate644.PromiseActorLogic<void, {
155
155
  languageConsentId: string;
156
156
  checkboxes: ConsentCheckbox[];
157
- }, xstate986.EventObject>;
157
+ }, xstate644.EventObject>;
158
158
  id: string | undefined;
159
159
  };
160
160
  }>, "src", TSrc>["logic"]>;
161
- <TLogic extends xstate986.AnyActorLogic>(src: TLogic, ...[options]: xstate986.ConditionalRequired<[options?: ({
161
+ <TLogic extends xstate644.AnyActorLogic>(src: TLogic, ...[options]: xstate644.ConditionalRequired<[options?: ({
162
162
  id?: never;
163
163
  systemId?: string;
164
- input?: xstate986.InputFrom<TLogic> | undefined;
164
+ input?: xstate644.InputFrom<TLogic> | undefined;
165
165
  syncSnapshot?: boolean;
166
- } & { [K in xstate986.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate986.IsNotNever<xstate986.RequiredLogicInput<TLogic>>>): xstate986.ActorRefFromLogic<TLogic>;
166
+ } & { [K in xstate644.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate644.IsNotNever<xstate644.RequiredLogicInput<TLogic>>>): xstate644.ActorRefFromLogic<TLogic>;
167
167
  };
168
168
  input: ConsentInput;
169
- self: xstate986.ActorRef<xstate986.MachineSnapshot<ConsentContext, {
169
+ self: xstate644.ActorRef<xstate644.MachineSnapshot<ConsentContext, {
170
170
  type: "LOAD";
171
171
  } | {
172
172
  type: "TOGGLE_CHECKBOX";
@@ -177,7 +177,7 @@ declare const consentMachine: xstate986.StateMachine<ConsentContext, {
177
177
  type: "RETRY";
178
178
  } | {
179
179
  type: "RESET";
180
- }, Record<string, xstate986.AnyActorRef | undefined>, xstate986.StateValue, string, unknown, any, any>, {
180
+ }, Record<string, xstate644.AnyActorRef | undefined>, xstate644.StateValue, string, unknown, any, any>, {
181
181
  type: "LOAD";
182
182
  } | {
183
183
  type: "TOGGLE_CHECKBOX";
@@ -188,7 +188,7 @@ declare const consentMachine: xstate986.StateMachine<ConsentContext, {
188
188
  type: "RETRY";
189
189
  } | {
190
190
  type: "RESET";
191
- }, xstate986.AnyEventObject>;
191
+ }, xstate644.AnyEventObject>;
192
192
  }) => {
193
193
  config: ConsentConfig;
194
194
  title: string;
@@ -226,7 +226,7 @@ declare const consentMachine: xstate986.StateMachine<ConsentContext, {
226
226
  } | {
227
227
  type: "RESET";
228
228
  };
229
- self: xstate986.ActorRef<xstate986.MachineSnapshot<ConsentContext, {
229
+ self: xstate644.ActorRef<xstate644.MachineSnapshot<ConsentContext, {
230
230
  type: "LOAD";
231
231
  } | {
232
232
  type: "TOGGLE_CHECKBOX";
@@ -237,7 +237,7 @@ declare const consentMachine: xstate986.StateMachine<ConsentContext, {
237
237
  type: "RETRY";
238
238
  } | {
239
239
  type: "RESET";
240
- }, Record<string, xstate986.AnyActorRef>, xstate986.StateValue, string, unknown, any, any>, {
240
+ }, Record<string, xstate644.AnyActorRef>, xstate644.StateValue, string, unknown, any, any>, {
241
241
  type: "LOAD";
242
242
  } | {
243
243
  type: "TOGGLE_CHECKBOX";
@@ -248,7 +248,7 @@ declare const consentMachine: xstate986.StateMachine<ConsentContext, {
248
248
  type: "RETRY";
249
249
  } | {
250
250
  type: "RESET";
251
- }, xstate986.AnyEventObject>;
251
+ }, xstate644.AnyEventObject>;
252
252
  }) => {
253
253
  consentId: string;
254
254
  };
@@ -297,7 +297,7 @@ declare const consentMachine: xstate986.StateMachine<ConsentContext, {
297
297
  } | {
298
298
  type: "RESET";
299
299
  };
300
- self: xstate986.ActorRef<xstate986.MachineSnapshot<ConsentContext, {
300
+ self: xstate644.ActorRef<xstate644.MachineSnapshot<ConsentContext, {
301
301
  type: "LOAD";
302
302
  } | {
303
303
  type: "TOGGLE_CHECKBOX";
@@ -308,7 +308,7 @@ declare const consentMachine: xstate986.StateMachine<ConsentContext, {
308
308
  type: "RETRY";
309
309
  } | {
310
310
  type: "RESET";
311
- }, Record<string, xstate986.AnyActorRef>, xstate986.StateValue, string, unknown, any, any>, {
311
+ }, Record<string, xstate644.AnyActorRef>, xstate644.StateValue, string, unknown, any, any>, {
312
312
  type: "LOAD";
313
313
  } | {
314
314
  type: "TOGGLE_CHECKBOX";
@@ -319,7 +319,7 @@ declare const consentMachine: xstate986.StateMachine<ConsentContext, {
319
319
  type: "RETRY";
320
320
  } | {
321
321
  type: "RESET";
322
- }, xstate986.AnyEventObject>;
322
+ }, xstate644.AnyEventObject>;
323
323
  }) => {
324
324
  languageConsentId: string;
325
325
  checkboxes: ConsentCheckbox[];
@@ -1,5 +1,5 @@
1
1
  import { t as Manager } from "./Manager-C1r-74H0.js";
2
- import "./Actor-Cqaw-2DF.js";
2
+ import "./Actor-Bvf4Wv1O.js";
3
3
  import "./camera-C1Lz6NFz.js";
4
4
  import "./types-DGwsRYfm.js";
5
5
  import { i as FlowModuleConfig } from "./types-DyA9ksX2.js";
@@ -1,7 +1,7 @@
1
1
  import { t as Manager } from "./Manager-C1r-74H0.js";
2
- import "./Actor-Cqaw-2DF.js";
2
+ import "./Actor-Bvf4Wv1O.js";
3
3
  import { t as CameraStream } from "./camera-C1Lz6NFz.js";
4
- import * as xstate1054 from "xstate";
4
+ import * as xstate466 from "xstate";
5
5
 
6
6
  //#region src/modules/document-capture/types.d.ts
7
7
  type DocumentType = 'addressStatement' | 'otherDocument1' | 'otherDocument2' | 'otherDocument3' | 'v5cMultiPageLogbook' | 'circulationCard' | 'financeSettlement' | 'carInvoice' | 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement';
@@ -84,7 +84,7 @@ type DocumentCaptureInput = {
84
84
  };
85
85
  //#endregion
86
86
  //#region src/modules/document-capture/documentCaptureStateMachine.d.ts
87
- declare const documentCaptureMachine: xstate1054.StateMachine<DocumentCaptureContext, {
87
+ declare const documentCaptureMachine: xstate466.StateMachine<DocumentCaptureContext, {
88
88
  type: "CAPTURE";
89
89
  } | {
90
90
  type: "FILE_SELECTED";
@@ -113,105 +113,105 @@ declare const documentCaptureMachine: xstate1054.StateMachine<DocumentCaptureCon
113
113
  } | {
114
114
  type: "CLOSE";
115
115
  }, {
116
- [x: string]: xstate1054.ActorRefFromLogic<xstate1054.PromiseActorLogic<MediaStream, void, xstate1054.EventObject>> | xstate1054.ActorRefFromLogic<xstate1054.PromiseActorLogic<DocumentUploadResponse, {
116
+ [x: string]: xstate466.ActorRefFromLogic<xstate466.PromiseActorLogic<DocumentUploadResponse, {
117
117
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
118
118
  processingType: string;
119
119
  onProgress: (progress: number) => void;
120
- }, xstate1054.EventObject>> | xstate1054.ActorRefFromLogic<xstate1054.PromiseActorLogic<FinalizeDocumentResponse, {
120
+ }, xstate466.EventObject>> | xstate466.ActorRefFromLogic<xstate466.PromiseActorLogic<MediaStream, void, xstate466.EventObject>> | xstate466.ActorRefFromLogic<xstate466.PromiseActorLogic<FinalizeDocumentResponse, {
121
121
  processingType: string;
122
- }, xstate1054.EventObject>> | undefined;
123
- }, xstate1054.Values<{
122
+ }, xstate466.EventObject>> | undefined;
123
+ }, xstate466.Values<{
124
124
  uploadDocument: {
125
125
  src: "uploadDocument";
126
- logic: xstate1054.PromiseActorLogic<DocumentUploadResponse, {
126
+ logic: xstate466.PromiseActorLogic<DocumentUploadResponse, {
127
127
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
128
128
  processingType: string;
129
129
  onProgress: (progress: number) => void;
130
- }, xstate1054.EventObject>;
130
+ }, xstate466.EventObject>;
131
131
  id: string | undefined;
132
132
  };
133
133
  initCamera: {
134
134
  src: "initCamera";
135
- logic: xstate1054.PromiseActorLogic<MediaStream, void, xstate1054.EventObject>;
135
+ logic: xstate466.PromiseActorLogic<MediaStream, void, xstate466.EventObject>;
136
136
  id: string | undefined;
137
137
  };
138
138
  finalizeDocumentRequest: {
139
139
  src: "finalizeDocumentRequest";
140
- logic: xstate1054.PromiseActorLogic<FinalizeDocumentResponse, {
140
+ logic: xstate466.PromiseActorLogic<FinalizeDocumentResponse, {
141
141
  processingType: string;
142
- }, xstate1054.EventObject>;
142
+ }, xstate466.EventObject>;
143
143
  id: string | undefined;
144
144
  };
145
- }>, xstate1054.Values<{
145
+ }>, xstate466.Values<{
146
146
  clearError: {
147
147
  type: "clearError";
148
- params: xstate1054.NonReducibleUnknown;
148
+ params: xstate466.NonReducibleUnknown;
149
149
  };
150
150
  setStream: {
151
151
  type: "setStream";
152
- params: xstate1054.NonReducibleUnknown;
153
- };
154
- setProgress: {
155
- type: "setProgress";
156
- params: xstate1054.NonReducibleUnknown;
157
- };
158
- stopStream: {
159
- type: "stopStream";
160
- params: xstate1054.NonReducibleUnknown;
152
+ params: xstate466.NonReducibleUnknown;
161
153
  };
162
154
  setCapturedDocument: {
163
155
  type: "setCapturedDocument";
164
- params: xstate1054.NonReducibleUnknown;
156
+ params: xstate466.NonReducibleUnknown;
165
157
  };
166
158
  setFileTooLargeError: {
167
159
  type: "setFileTooLargeError";
168
- params: xstate1054.NonReducibleUnknown;
160
+ params: xstate466.NonReducibleUnknown;
161
+ };
162
+ setProgress: {
163
+ type: "setProgress";
164
+ params: xstate466.NonReducibleUnknown;
169
165
  };
170
166
  setUploadError: {
171
167
  type: "setUploadError";
172
- params: xstate1054.NonReducibleUnknown;
168
+ params: xstate466.NonReducibleUnknown;
173
169
  };
174
170
  setFinalizeError: {
175
171
  type: "setFinalizeError";
176
- params: xstate1054.NonReducibleUnknown;
172
+ params: xstate466.NonReducibleUnknown;
177
173
  };
178
174
  decrementAttemptsRemaining: {
179
175
  type: "decrementAttemptsRemaining";
180
- params: xstate1054.NonReducibleUnknown;
176
+ params: xstate466.NonReducibleUnknown;
181
177
  };
182
178
  setCaptureMethodFile: {
183
179
  type: "setCaptureMethodFile";
184
- params: xstate1054.NonReducibleUnknown;
180
+ params: xstate466.NonReducibleUnknown;
185
181
  };
186
182
  setCaptureMethodCamera: {
187
183
  type: "setCaptureMethodCamera";
188
- params: xstate1054.NonReducibleUnknown;
184
+ params: xstate466.NonReducibleUnknown;
189
185
  };
190
186
  setCaptureMethodGallery: {
191
187
  type: "setCaptureMethodGallery";
192
- params: xstate1054.NonReducibleUnknown;
188
+ params: xstate466.NonReducibleUnknown;
193
189
  };
194
190
  clearCapturedDocument: {
195
191
  type: "clearCapturedDocument";
196
- params: xstate1054.NonReducibleUnknown;
192
+ params: xstate466.NonReducibleUnknown;
197
193
  };
198
194
  clearCapturedDocumentGalleryRetake: {
199
195
  type: "clearCapturedDocumentGalleryRetake";
200
- params: xstate1054.NonReducibleUnknown;
196
+ params: xstate466.NonReducibleUnknown;
201
197
  };
202
198
  setNextPageType: {
203
199
  type: "setNextPageType";
204
- params: xstate1054.NonReducibleUnknown;
200
+ params: xstate466.NonReducibleUnknown;
205
201
  };
206
202
  clearForNextPage: {
207
203
  type: "clearForNextPage";
208
- params: xstate1054.NonReducibleUnknown;
204
+ params: xstate466.NonReducibleUnknown;
209
205
  };
210
206
  resetProgress: {
211
207
  type: "resetProgress";
212
- params: xstate1054.NonReducibleUnknown;
208
+ params: xstate466.NonReducibleUnknown;
209
+ };
210
+ stopStream: {
211
+ type: "stopStream";
212
+ params: xstate466.NonReducibleUnknown;
213
213
  };
214
- }>, xstate1054.Values<{
214
+ }>, xstate466.Values<{
215
215
  allowSkip: {
216
216
  type: "allowSkip";
217
217
  params: unknown;
@@ -268,7 +268,7 @@ declare const documentCaptureMachine: xstate1054.StateMachine<DocumentCaptureCon
268
268
  type: "fileSizeOkForNonGallery";
269
269
  params: unknown;
270
270
  };
271
- }>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "capturing" | "tutorial" | "preview" | "failure" | "nextPage" | "finalizing", string, DocumentCaptureInput, xstate1054.NonReducibleUnknown, xstate1054.EventObject, xstate1054.MetaObject, {
271
+ }>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "tutorial" | "capturing" | "preview" | "failure" | "nextPage" | "finalizing", string, DocumentCaptureInput, xstate466.NonReducibleUnknown, xstate466.EventObject, xstate466.MetaObject, {
272
272
  readonly id: "documentCapture";
273
273
  readonly initial: "tutorial";
274
274
  readonly context: ({
@@ -277,93 +277,93 @@ declare const documentCaptureMachine: xstate1054.StateMachine<DocumentCaptureCon
277
277
  spawn: {
278
278
  <TSrc extends "uploadDocument" | "initCamera" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
279
279
  src: "uploadDocument";
280
- logic: xstate1054.PromiseActorLogic<DocumentUploadResponse, {
280
+ logic: xstate466.PromiseActorLogic<DocumentUploadResponse, {
281
281
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
282
282
  processingType: string;
283
283
  onProgress: (progress: number) => void;
284
- }, xstate1054.EventObject>;
284
+ }, xstate466.EventObject>;
285
285
  id: string | undefined;
286
286
  } extends infer T ? T extends {
287
287
  src: "uploadDocument";
288
- logic: xstate1054.PromiseActorLogic<DocumentUploadResponse, {
288
+ logic: xstate466.PromiseActorLogic<DocumentUploadResponse, {
289
289
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
290
290
  processingType: string;
291
291
  onProgress: (progress: number) => void;
292
- }, xstate1054.EventObject>;
292
+ }, xstate466.EventObject>;
293
293
  id: string | undefined;
294
294
  } ? T extends {
295
295
  src: TSrc;
296
- } ? xstate1054.ConditionalRequired<[options?: ({
296
+ } ? xstate466.ConditionalRequired<[options?: ({
297
297
  id?: T["id"] | undefined;
298
298
  systemId?: string;
299
- input?: xstate1054.InputFrom<T["logic"]> | undefined;
299
+ input?: xstate466.InputFrom<T["logic"]> | undefined;
300
300
  syncSnapshot?: boolean;
301
- } & { [K in xstate1054.RequiredActorOptions<T>]: unknown }) | undefined], xstate1054.IsNotNever<xstate1054.RequiredActorOptions<T>>> : never : never : never) | ({
301
+ } & { [K in xstate466.RequiredActorOptions<T>]: unknown }) | undefined], xstate466.IsNotNever<xstate466.RequiredActorOptions<T>>> : never : never : never) | ({
302
302
  src: "initCamera";
303
- logic: xstate1054.PromiseActorLogic<MediaStream, void, xstate1054.EventObject>;
303
+ logic: xstate466.PromiseActorLogic<MediaStream, void, xstate466.EventObject>;
304
304
  id: string | undefined;
305
305
  } extends infer T_1 ? T_1 extends {
306
306
  src: "initCamera";
307
- logic: xstate1054.PromiseActorLogic<MediaStream, void, xstate1054.EventObject>;
307
+ logic: xstate466.PromiseActorLogic<MediaStream, void, xstate466.EventObject>;
308
308
  id: string | undefined;
309
309
  } ? T_1 extends {
310
310
  src: TSrc;
311
- } ? xstate1054.ConditionalRequired<[options?: ({
311
+ } ? xstate466.ConditionalRequired<[options?: ({
312
312
  id?: T_1["id"] | undefined;
313
313
  systemId?: string;
314
- input?: xstate1054.InputFrom<T_1["logic"]> | undefined;
314
+ input?: xstate466.InputFrom<T_1["logic"]> | undefined;
315
315
  syncSnapshot?: boolean;
316
- } & { [K_1 in xstate1054.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1054.IsNotNever<xstate1054.RequiredActorOptions<T_1>>> : never : never : never) | ({
316
+ } & { [K_1 in xstate466.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate466.IsNotNever<xstate466.RequiredActorOptions<T_1>>> : never : never : never) | ({
317
317
  src: "finalizeDocumentRequest";
318
- logic: xstate1054.PromiseActorLogic<FinalizeDocumentResponse, {
318
+ logic: xstate466.PromiseActorLogic<FinalizeDocumentResponse, {
319
319
  processingType: string;
320
- }, xstate1054.EventObject>;
320
+ }, xstate466.EventObject>;
321
321
  id: string | undefined;
322
322
  } extends infer T_2 ? T_2 extends {
323
323
  src: "finalizeDocumentRequest";
324
- logic: xstate1054.PromiseActorLogic<FinalizeDocumentResponse, {
324
+ logic: xstate466.PromiseActorLogic<FinalizeDocumentResponse, {
325
325
  processingType: string;
326
- }, xstate1054.EventObject>;
326
+ }, xstate466.EventObject>;
327
327
  id: string | undefined;
328
328
  } ? T_2 extends {
329
329
  src: TSrc;
330
- } ? xstate1054.ConditionalRequired<[options?: ({
330
+ } ? xstate466.ConditionalRequired<[options?: ({
331
331
  id?: T_2["id"] | undefined;
332
332
  systemId?: string;
333
- input?: xstate1054.InputFrom<T_2["logic"]> | undefined;
333
+ input?: xstate466.InputFrom<T_2["logic"]> | undefined;
334
334
  syncSnapshot?: boolean;
335
- } & { [K_2 in xstate1054.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate1054.IsNotNever<xstate1054.RequiredActorOptions<T_2>>> : never : never : never)): xstate1054.ActorRefFromLogic<xstate1054.GetConcreteByKey<xstate1054.Values<{
335
+ } & { [K_2 in xstate466.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate466.IsNotNever<xstate466.RequiredActorOptions<T_2>>> : never : never : never)): xstate466.ActorRefFromLogic<xstate466.GetConcreteByKey<xstate466.Values<{
336
336
  uploadDocument: {
337
337
  src: "uploadDocument";
338
- logic: xstate1054.PromiseActorLogic<DocumentUploadResponse, {
338
+ logic: xstate466.PromiseActorLogic<DocumentUploadResponse, {
339
339
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
340
340
  processingType: string;
341
341
  onProgress: (progress: number) => void;
342
- }, xstate1054.EventObject>;
342
+ }, xstate466.EventObject>;
343
343
  id: string | undefined;
344
344
  };
345
345
  initCamera: {
346
346
  src: "initCamera";
347
- logic: xstate1054.PromiseActorLogic<MediaStream, void, xstate1054.EventObject>;
347
+ logic: xstate466.PromiseActorLogic<MediaStream, void, xstate466.EventObject>;
348
348
  id: string | undefined;
349
349
  };
350
350
  finalizeDocumentRequest: {
351
351
  src: "finalizeDocumentRequest";
352
- logic: xstate1054.PromiseActorLogic<FinalizeDocumentResponse, {
352
+ logic: xstate466.PromiseActorLogic<FinalizeDocumentResponse, {
353
353
  processingType: string;
354
- }, xstate1054.EventObject>;
354
+ }, xstate466.EventObject>;
355
355
  id: string | undefined;
356
356
  };
357
357
  }>, "src", TSrc>["logic"]>;
358
- <TLogic extends xstate1054.AnyActorLogic>(src: TLogic, ...[options]: xstate1054.ConditionalRequired<[options?: ({
358
+ <TLogic extends xstate466.AnyActorLogic>(src: TLogic, ...[options]: xstate466.ConditionalRequired<[options?: ({
359
359
  id?: never;
360
360
  systemId?: string;
361
- input?: xstate1054.InputFrom<TLogic> | undefined;
361
+ input?: xstate466.InputFrom<TLogic> | undefined;
362
362
  syncSnapshot?: boolean;
363
- } & { [K in xstate1054.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1054.IsNotNever<xstate1054.RequiredLogicInput<TLogic>>>): xstate1054.ActorRefFromLogic<TLogic>;
363
+ } & { [K in xstate466.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate466.IsNotNever<xstate466.RequiredLogicInput<TLogic>>>): xstate466.ActorRefFromLogic<TLogic>;
364
364
  };
365
365
  input: DocumentCaptureInput;
366
- self: xstate1054.ActorRef<xstate1054.MachineSnapshot<DocumentCaptureContext, {
366
+ self: xstate466.ActorRef<xstate466.MachineSnapshot<DocumentCaptureContext, {
367
367
  type: "CAPTURE";
368
368
  } | {
369
369
  type: "FILE_SELECTED";
@@ -391,7 +391,7 @@ declare const documentCaptureMachine: xstate1054.StateMachine<DocumentCaptureCon
391
391
  type: "SKIP";
392
392
  } | {
393
393
  type: "CLOSE";
394
- }, Record<string, xstate1054.AnyActorRef | undefined>, xstate1054.StateValue, string, unknown, any, any>, {
394
+ }, Record<string, xstate466.AnyActorRef | undefined>, xstate466.StateValue, string, unknown, any, any>, {
395
395
  type: "CAPTURE";
396
396
  } | {
397
397
  type: "FILE_SELECTED";
@@ -419,7 +419,7 @@ declare const documentCaptureMachine: xstate1054.StateMachine<DocumentCaptureCon
419
419
  type: "SKIP";
420
420
  } | {
421
421
  type: "CLOSE";
422
- }, xstate1054.AnyEventObject>;
422
+ }, xstate466.AnyEventObject>;
423
423
  }) => {
424
424
  config: {
425
425
  processingType: DocumentType;
@@ -570,7 +570,7 @@ declare const documentCaptureMachine: xstate1054.StateMachine<DocumentCaptureCon
570
570
  } | {
571
571
  type: "CLOSE";
572
572
  };
573
- self: xstate1054.ActorRef<xstate1054.MachineSnapshot<DocumentCaptureContext, {
573
+ self: xstate466.ActorRef<xstate466.MachineSnapshot<DocumentCaptureContext, {
574
574
  type: "CAPTURE";
575
575
  } | {
576
576
  type: "FILE_SELECTED";
@@ -598,7 +598,7 @@ declare const documentCaptureMachine: xstate1054.StateMachine<DocumentCaptureCon
598
598
  type: "SKIP";
599
599
  } | {
600
600
  type: "CLOSE";
601
- }, Record<string, xstate1054.AnyActorRef>, xstate1054.StateValue, string, unknown, any, any>, {
601
+ }, Record<string, xstate466.AnyActorRef>, xstate466.StateValue, string, unknown, any, any>, {
602
602
  type: "CAPTURE";
603
603
  } | {
604
604
  type: "FILE_SELECTED";
@@ -626,7 +626,7 @@ declare const documentCaptureMachine: xstate1054.StateMachine<DocumentCaptureCon
626
626
  type: "SKIP";
627
627
  } | {
628
628
  type: "CLOSE";
629
- }, xstate1054.AnyEventObject>;
629
+ }, xstate466.AnyEventObject>;
630
630
  }) => {
631
631
  capturedDocument: CapturedDocument;
632
632
  processingType: DocumentType;
@@ -721,7 +721,7 @@ declare const documentCaptureMachine: xstate1054.StateMachine<DocumentCaptureCon
721
721
  } | {
722
722
  type: "CLOSE";
723
723
  };
724
- self: xstate1054.ActorRef<xstate1054.MachineSnapshot<DocumentCaptureContext, {
724
+ self: xstate466.ActorRef<xstate466.MachineSnapshot<DocumentCaptureContext, {
725
725
  type: "CAPTURE";
726
726
  } | {
727
727
  type: "FILE_SELECTED";
@@ -749,7 +749,7 @@ declare const documentCaptureMachine: xstate1054.StateMachine<DocumentCaptureCon
749
749
  type: "SKIP";
750
750
  } | {
751
751
  type: "CLOSE";
752
- }, Record<string, xstate1054.AnyActorRef>, xstate1054.StateValue, string, unknown, any, any>, {
752
+ }, Record<string, xstate466.AnyActorRef>, xstate466.StateValue, string, unknown, any, any>, {
753
753
  type: "CAPTURE";
754
754
  } | {
755
755
  type: "FILE_SELECTED";
@@ -777,7 +777,7 @@ declare const documentCaptureMachine: xstate1054.StateMachine<DocumentCaptureCon
777
777
  type: "SKIP";
778
778
  } | {
779
779
  type: "CLOSE";
780
- }, xstate1054.AnyEventObject>;
780
+ }, xstate466.AnyEventObject>;
781
781
  }) => {
782
782
  processingType: DocumentType;
783
783
  };