@incodetech/core 0.0.0-dev-20260429-81f7709 → 0.0.0-dev-20260429-35afdca

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.
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-uUcXOI3u.js";
2
2
  import "./Actor-BW-sqJw1.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-CGJfYKUX.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-DvosGSCu.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-uUcXOI3u.js";
2
2
  import "./Actor-BW-sqJw1.js";
3
- import * as xstate795 from "xstate";
3
+ import * as xstate1163 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: xstate795.StateMachine<ConsentContext, {
39
+ declare const consentMachine: xstate1163.StateMachine<ConsentContext, {
40
40
  type: "LOAD";
41
41
  } | {
42
42
  type: "TOGGLE_CHECKBOX";
@@ -48,53 +48,53 @@ declare const consentMachine: xstate795.StateMachine<ConsentContext, {
48
48
  } | {
49
49
  type: "RESET";
50
50
  }, {
51
- [x: string]: xstate795.ActorRefFromLogic<xstate795.PromiseActorLogic<FetchCombinedConsentResponse, {
51
+ [x: string]: xstate1163.ActorRefFromLogic<xstate1163.PromiseActorLogic<FetchCombinedConsentResponse, {
52
52
  consentId: string;
53
- }, xstate795.EventObject>> | xstate795.ActorRefFromLogic<xstate795.PromiseActorLogic<void, {
53
+ }, xstate1163.EventObject>> | xstate1163.ActorRefFromLogic<xstate1163.PromiseActorLogic<void, {
54
54
  languageConsentId: string;
55
55
  checkboxes: ConsentCheckbox[];
56
- }, xstate795.EventObject>> | undefined;
57
- }, xstate795.Values<{
56
+ }, xstate1163.EventObject>> | undefined;
57
+ }, xstate1163.Values<{
58
58
  fetchConsent: {
59
59
  src: "fetchConsent";
60
- logic: xstate795.PromiseActorLogic<FetchCombinedConsentResponse, {
60
+ logic: xstate1163.PromiseActorLogic<FetchCombinedConsentResponse, {
61
61
  consentId: string;
62
- }, xstate795.EventObject>;
62
+ }, xstate1163.EventObject>;
63
63
  id: string | undefined;
64
64
  };
65
65
  submitConsent: {
66
66
  src: "submitConsent";
67
- logic: xstate795.PromiseActorLogic<void, {
67
+ logic: xstate1163.PromiseActorLogic<void, {
68
68
  languageConsentId: string;
69
69
  checkboxes: ConsentCheckbox[];
70
- }, xstate795.EventObject>;
70
+ }, xstate1163.EventObject>;
71
71
  id: string | undefined;
72
72
  };
73
- }>, xstate795.Values<{
73
+ }>, xstate1163.Values<{
74
74
  setError: {
75
75
  type: "setError";
76
- params: xstate795.NonReducibleUnknown;
76
+ params: xstate1163.NonReducibleUnknown;
77
77
  };
78
78
  clearError: {
79
79
  type: "clearError";
80
- params: xstate795.NonReducibleUnknown;
80
+ params: xstate1163.NonReducibleUnknown;
81
81
  };
82
82
  resetContext: {
83
83
  type: "resetContext";
84
- params: xstate795.NonReducibleUnknown;
84
+ params: xstate1163.NonReducibleUnknown;
85
85
  };
86
86
  setConsentData: {
87
87
  type: "setConsentData";
88
- params: xstate795.NonReducibleUnknown;
88
+ params: xstate1163.NonReducibleUnknown;
89
89
  };
90
90
  toggleCheckbox: {
91
91
  type: "toggleCheckbox";
92
- params: xstate795.NonReducibleUnknown;
92
+ params: xstate1163.NonReducibleUnknown;
93
93
  };
94
94
  }>, {
95
95
  type: "canSubmit";
96
96
  params: unknown;
97
- }, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput, xstate795.NonReducibleUnknown, xstate795.EventObject, xstate795.MetaObject, {
97
+ }, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, xstate1163.NonReducibleUnknown, xstate1163.EventObject, xstate1163.MetaObject, {
98
98
  readonly id: "consent";
99
99
  readonly initial: "idle";
100
100
  readonly context: ({
@@ -103,70 +103,70 @@ declare const consentMachine: xstate795.StateMachine<ConsentContext, {
103
103
  spawn: {
104
104
  <TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
105
105
  src: "fetchConsent";
106
- logic: xstate795.PromiseActorLogic<FetchCombinedConsentResponse, {
106
+ logic: xstate1163.PromiseActorLogic<FetchCombinedConsentResponse, {
107
107
  consentId: string;
108
- }, xstate795.EventObject>;
108
+ }, xstate1163.EventObject>;
109
109
  id: string | undefined;
110
110
  } extends infer T ? T extends {
111
111
  src: "fetchConsent";
112
- logic: xstate795.PromiseActorLogic<FetchCombinedConsentResponse, {
112
+ logic: xstate1163.PromiseActorLogic<FetchCombinedConsentResponse, {
113
113
  consentId: string;
114
- }, xstate795.EventObject>;
114
+ }, xstate1163.EventObject>;
115
115
  id: string | undefined;
116
116
  } ? T extends {
117
117
  src: TSrc;
118
- } ? xstate795.ConditionalRequired<[options?: ({
118
+ } ? xstate1163.ConditionalRequired<[options?: ({
119
119
  id?: T["id"] | undefined;
120
120
  systemId?: string;
121
- input?: xstate795.InputFrom<T["logic"]> | undefined;
121
+ input?: xstate1163.InputFrom<T["logic"]> | undefined;
122
122
  syncSnapshot?: boolean;
123
- } & { [K in xstate795.RequiredActorOptions<T>]: unknown }) | undefined], xstate795.IsNotNever<xstate795.RequiredActorOptions<T>>> : never : never : never) | ({
123
+ } & { [K in xstate1163.RequiredActorOptions<T>]: unknown }) | undefined], xstate1163.IsNotNever<xstate1163.RequiredActorOptions<T>>> : never : never : never) | ({
124
124
  src: "submitConsent";
125
- logic: xstate795.PromiseActorLogic<void, {
125
+ logic: xstate1163.PromiseActorLogic<void, {
126
126
  languageConsentId: string;
127
127
  checkboxes: ConsentCheckbox[];
128
- }, xstate795.EventObject>;
128
+ }, xstate1163.EventObject>;
129
129
  id: string | undefined;
130
130
  } extends infer T_1 ? T_1 extends {
131
131
  src: "submitConsent";
132
- logic: xstate795.PromiseActorLogic<void, {
132
+ logic: xstate1163.PromiseActorLogic<void, {
133
133
  languageConsentId: string;
134
134
  checkboxes: ConsentCheckbox[];
135
- }, xstate795.EventObject>;
135
+ }, xstate1163.EventObject>;
136
136
  id: string | undefined;
137
137
  } ? T_1 extends {
138
138
  src: TSrc;
139
- } ? xstate795.ConditionalRequired<[options?: ({
139
+ } ? xstate1163.ConditionalRequired<[options?: ({
140
140
  id?: T_1["id"] | undefined;
141
141
  systemId?: string;
142
- input?: xstate795.InputFrom<T_1["logic"]> | undefined;
142
+ input?: xstate1163.InputFrom<T_1["logic"]> | undefined;
143
143
  syncSnapshot?: boolean;
144
- } & { [K_1 in xstate795.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate795.IsNotNever<xstate795.RequiredActorOptions<T_1>>> : never : never : never)): xstate795.ActorRefFromLogic<xstate795.GetConcreteByKey<xstate795.Values<{
144
+ } & { [K_1 in xstate1163.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1163.IsNotNever<xstate1163.RequiredActorOptions<T_1>>> : never : never : never)): xstate1163.ActorRefFromLogic<xstate1163.GetConcreteByKey<xstate1163.Values<{
145
145
  fetchConsent: {
146
146
  src: "fetchConsent";
147
- logic: xstate795.PromiseActorLogic<FetchCombinedConsentResponse, {
147
+ logic: xstate1163.PromiseActorLogic<FetchCombinedConsentResponse, {
148
148
  consentId: string;
149
- }, xstate795.EventObject>;
149
+ }, xstate1163.EventObject>;
150
150
  id: string | undefined;
151
151
  };
152
152
  submitConsent: {
153
153
  src: "submitConsent";
154
- logic: xstate795.PromiseActorLogic<void, {
154
+ logic: xstate1163.PromiseActorLogic<void, {
155
155
  languageConsentId: string;
156
156
  checkboxes: ConsentCheckbox[];
157
- }, xstate795.EventObject>;
157
+ }, xstate1163.EventObject>;
158
158
  id: string | undefined;
159
159
  };
160
160
  }>, "src", TSrc>["logic"]>;
161
- <TLogic extends xstate795.AnyActorLogic>(src: TLogic, ...[options]: xstate795.ConditionalRequired<[options?: ({
161
+ <TLogic extends xstate1163.AnyActorLogic>(src: TLogic, ...[options]: xstate1163.ConditionalRequired<[options?: ({
162
162
  id?: never;
163
163
  systemId?: string;
164
- input?: xstate795.InputFrom<TLogic> | undefined;
164
+ input?: xstate1163.InputFrom<TLogic> | undefined;
165
165
  syncSnapshot?: boolean;
166
- } & { [K in xstate795.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate795.IsNotNever<xstate795.RequiredLogicInput<TLogic>>>): xstate795.ActorRefFromLogic<TLogic>;
166
+ } & { [K in xstate1163.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1163.IsNotNever<xstate1163.RequiredLogicInput<TLogic>>>): xstate1163.ActorRefFromLogic<TLogic>;
167
167
  };
168
168
  input: ConsentInput;
169
- self: xstate795.ActorRef<xstate795.MachineSnapshot<ConsentContext, {
169
+ self: xstate1163.ActorRef<xstate1163.MachineSnapshot<ConsentContext, {
170
170
  type: "LOAD";
171
171
  } | {
172
172
  type: "TOGGLE_CHECKBOX";
@@ -177,7 +177,7 @@ declare const consentMachine: xstate795.StateMachine<ConsentContext, {
177
177
  type: "RETRY";
178
178
  } | {
179
179
  type: "RESET";
180
- }, Record<string, xstate795.AnyActorRef | undefined>, xstate795.StateValue, string, unknown, any, any>, {
180
+ }, Record<string, xstate1163.AnyActorRef | undefined>, xstate1163.StateValue, string, unknown, any, any>, {
181
181
  type: "LOAD";
182
182
  } | {
183
183
  type: "TOGGLE_CHECKBOX";
@@ -188,7 +188,7 @@ declare const consentMachine: xstate795.StateMachine<ConsentContext, {
188
188
  type: "RETRY";
189
189
  } | {
190
190
  type: "RESET";
191
- }, xstate795.AnyEventObject>;
191
+ }, xstate1163.AnyEventObject>;
192
192
  }) => {
193
193
  config: ConsentConfig;
194
194
  title: string;
@@ -226,7 +226,7 @@ declare const consentMachine: xstate795.StateMachine<ConsentContext, {
226
226
  } | {
227
227
  type: "RESET";
228
228
  };
229
- self: xstate795.ActorRef<xstate795.MachineSnapshot<ConsentContext, {
229
+ self: xstate1163.ActorRef<xstate1163.MachineSnapshot<ConsentContext, {
230
230
  type: "LOAD";
231
231
  } | {
232
232
  type: "TOGGLE_CHECKBOX";
@@ -237,7 +237,7 @@ declare const consentMachine: xstate795.StateMachine<ConsentContext, {
237
237
  type: "RETRY";
238
238
  } | {
239
239
  type: "RESET";
240
- }, Record<string, xstate795.AnyActorRef>, xstate795.StateValue, string, unknown, any, any>, {
240
+ }, Record<string, xstate1163.AnyActorRef>, xstate1163.StateValue, string, unknown, any, any>, {
241
241
  type: "LOAD";
242
242
  } | {
243
243
  type: "TOGGLE_CHECKBOX";
@@ -248,7 +248,7 @@ declare const consentMachine: xstate795.StateMachine<ConsentContext, {
248
248
  type: "RETRY";
249
249
  } | {
250
250
  type: "RESET";
251
- }, xstate795.AnyEventObject>;
251
+ }, xstate1163.AnyEventObject>;
252
252
  }) => {
253
253
  consentId: string;
254
254
  };
@@ -297,7 +297,7 @@ declare const consentMachine: xstate795.StateMachine<ConsentContext, {
297
297
  } | {
298
298
  type: "RESET";
299
299
  };
300
- self: xstate795.ActorRef<xstate795.MachineSnapshot<ConsentContext, {
300
+ self: xstate1163.ActorRef<xstate1163.MachineSnapshot<ConsentContext, {
301
301
  type: "LOAD";
302
302
  } | {
303
303
  type: "TOGGLE_CHECKBOX";
@@ -308,7 +308,7 @@ declare const consentMachine: xstate795.StateMachine<ConsentContext, {
308
308
  type: "RETRY";
309
309
  } | {
310
310
  type: "RESET";
311
- }, Record<string, xstate795.AnyActorRef>, xstate795.StateValue, string, unknown, any, any>, {
311
+ }, Record<string, xstate1163.AnyActorRef>, xstate1163.StateValue, string, unknown, any, any>, {
312
312
  type: "LOAD";
313
313
  } | {
314
314
  type: "TOGGLE_CHECKBOX";
@@ -319,7 +319,7 @@ declare const consentMachine: xstate795.StateMachine<ConsentContext, {
319
319
  type: "RETRY";
320
320
  } | {
321
321
  type: "RESET";
322
- }, xstate795.AnyEventObject>;
322
+ }, xstate1163.AnyEventObject>;
323
323
  }) => {
324
324
  languageConsentId: string;
325
325
  checkboxes: ConsentCheckbox[];
@@ -1,4 +1,4 @@
1
1
  import "./Manager-uUcXOI3u.js";
2
2
  import "./Actor-BW-sqJw1.js";
3
- import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-CGJfYKUX.js";
3
+ import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-DvosGSCu.js";
4
4
  export { AE_CONSENT_KEYS, AeConsentKey, ConsentChecks, ConsentKey, ElectronicSignatureConfig, ElectronicSignatureDocument, ElectronicSignatureManager, ElectronicSignatureState, ElectronicSignatureVariant, QE_CONSENT_KEYS, QeConsentKey, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
package/dist/home.d.ts CHANGED
@@ -2,7 +2,7 @@ import { t as Manager } from "./Manager-uUcXOI3u.js";
2
2
  import "./camera-8mZXnNHU.js";
3
3
  import "./types-ClH8UoEK.js";
4
4
  import { t as EmptyConfig } from "./types-CqgOGNlq.js";
5
- import * as xstate0 from "xstate";
5
+ import * as xstate548 from "xstate";
6
6
 
7
7
  //#region src/modules/home/types.d.ts
8
8
  type HomeConfig = EmptyConfig;
@@ -34,41 +34,41 @@ type HomeContext = {
34
34
  type HomeInput = {
35
35
  config: EmptyConfig;
36
36
  };
37
- declare const homeMachine: xstate0.StateMachine<HomeContext, {
37
+ declare const homeMachine: xstate548.StateMachine<HomeContext, {
38
38
  type: "LOAD";
39
39
  } | {
40
40
  type: "COMPLETE";
41
41
  } | {
42
42
  type: "RESET";
43
- }, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
43
+ }, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate548.NonReducibleUnknown, xstate548.EventObject, xstate548.MetaObject, {
44
44
  readonly id: "home";
45
45
  readonly initial: "idle";
46
46
  readonly context: ({
47
47
  input
48
48
  }: {
49
49
  spawn: {
50
- <TSrc extends never>(logic: TSrc, ...[options]: never): xstate0.ActorRefFromLogic<never>;
51
- <TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
50
+ <TSrc extends never>(logic: TSrc, ...[options]: never): xstate548.ActorRefFromLogic<never>;
51
+ <TLogic extends xstate548.AnyActorLogic>(src: TLogic, ...[options]: xstate548.ConditionalRequired<[options?: ({
52
52
  id?: never;
53
53
  systemId?: string;
54
- input?: xstate0.InputFrom<TLogic> | undefined;
54
+ input?: xstate548.InputFrom<TLogic> | undefined;
55
55
  syncSnapshot?: boolean;
56
- } & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
56
+ } & { [K in xstate548.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate548.IsNotNever<xstate548.RequiredLogicInput<TLogic>>>): xstate548.ActorRefFromLogic<TLogic>;
57
57
  };
58
58
  input: HomeInput;
59
- self: xstate0.ActorRef<xstate0.MachineSnapshot<HomeContext, {
59
+ self: xstate548.ActorRef<xstate548.MachineSnapshot<HomeContext, {
60
60
  type: "LOAD";
61
61
  } | {
62
62
  type: "COMPLETE";
63
63
  } | {
64
64
  type: "RESET";
65
- }, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
65
+ }, Record<string, xstate548.AnyActorRef | undefined>, xstate548.StateValue, string, unknown, any, any>, {
66
66
  type: "LOAD";
67
67
  } | {
68
68
  type: "COMPLETE";
69
69
  } | {
70
70
  type: "RESET";
71
- }, xstate0.AnyEventObject>;
71
+ }, xstate548.AnyEventObject>;
72
72
  }) => {
73
73
  config: EmptyConfig;
74
74
  };
package/dist/id-ocr.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-uUcXOI3u.js";
2
2
  import "./Actor-BW-sqJw1.js";
3
- import * as xstate863 from "xstate";
3
+ import * as xstate475 from "xstate";
4
4
 
5
5
  //#region src/modules/id-ocr/types.d.ts
6
6
  type IdOcrConfig = {
@@ -177,7 +177,7 @@ type IdOcrContext = {
177
177
  type IdOcrInput = {
178
178
  config: IdOcrConfig;
179
179
  };
180
- declare const idOcrStateMachine: xstate863.StateMachine<IdOcrContext, {
180
+ declare const idOcrStateMachine: xstate475.StateMachine<IdOcrContext, {
181
181
  type: "LOAD";
182
182
  } | {
183
183
  type: "DATA_CHANGED";
@@ -191,66 +191,66 @@ declare const idOcrStateMachine: xstate863.StateMachine<IdOcrContext, {
191
191
  } | {
192
192
  type: "RETRY";
193
193
  }, {
194
- [x: string]: xstate863.ActorRefFromLogic<xstate863.PromiseActorLogic<OcrData, {
194
+ [x: string]: xstate475.ActorRefFromLogic<xstate475.PromiseActorLogic<OcrData, {
195
195
  isSecondId: boolean;
196
- }, xstate863.EventObject>> | xstate863.ActorRefFromLogic<xstate863.PromiseActorLogic<UpdateOcrResponse, {
196
+ }, xstate475.EventObject>> | xstate475.ActorRefFromLogic<xstate475.PromiseActorLogic<UpdateOcrResponse, {
197
197
  params: UpdateOcrDataParams;
198
198
  isSecondId: boolean;
199
- }, xstate863.EventObject>> | undefined;
200
- }, xstate863.Values<{
199
+ }, xstate475.EventObject>> | undefined;
200
+ }, xstate475.Values<{
201
201
  getOcrData: {
202
202
  src: "getOcrData";
203
- logic: xstate863.PromiseActorLogic<OcrData, {
203
+ logic: xstate475.PromiseActorLogic<OcrData, {
204
204
  isSecondId: boolean;
205
- }, xstate863.EventObject>;
205
+ }, xstate475.EventObject>;
206
206
  id: string | undefined;
207
207
  };
208
208
  updateOcrData: {
209
209
  src: "updateOcrData";
210
- logic: xstate863.PromiseActorLogic<UpdateOcrResponse, {
210
+ logic: xstate475.PromiseActorLogic<UpdateOcrResponse, {
211
211
  params: UpdateOcrDataParams;
212
212
  isSecondId: boolean;
213
- }, xstate863.EventObject>;
213
+ }, xstate475.EventObject>;
214
214
  id: string | undefined;
215
215
  };
216
- }>, xstate863.Values<{
216
+ }>, xstate475.Values<{
217
217
  setError: {
218
218
  type: "setError";
219
- params: xstate863.NonReducibleUnknown;
219
+ params: xstate475.NonReducibleUnknown;
220
220
  };
221
221
  setInitialData: {
222
222
  type: "setInitialData";
223
- params: xstate863.NonReducibleUnknown;
223
+ params: xstate475.NonReducibleUnknown;
224
224
  };
225
225
  updateField: {
226
226
  type: "updateField";
227
- params: xstate863.NonReducibleUnknown;
227
+ params: xstate475.NonReducibleUnknown;
228
228
  };
229
229
  clearFieldValidationError: {
230
230
  type: "clearFieldValidationError";
231
- params: xstate863.NonReducibleUnknown;
231
+ params: xstate475.NonReducibleUnknown;
232
232
  };
233
233
  setOcrValidationErrors: {
234
234
  type: "setOcrValidationErrors";
235
- params: xstate863.NonReducibleUnknown;
235
+ params: xstate475.NonReducibleUnknown;
236
236
  };
237
237
  validateFormField: {
238
238
  type: "validateFormField";
239
- params: xstate863.NonReducibleUnknown;
239
+ params: xstate475.NonReducibleUnknown;
240
240
  };
241
241
  beginSecondIdOcrPhase: {
242
242
  type: "beginSecondIdOcrPhase";
243
- params: xstate863.NonReducibleUnknown;
243
+ params: xstate475.NonReducibleUnknown;
244
244
  };
245
245
  resetForRetry: {
246
246
  type: "resetForRetry";
247
- params: xstate863.NonReducibleUnknown;
247
+ params: xstate475.NonReducibleUnknown;
248
248
  };
249
249
  computeValidationResult: {
250
250
  type: "computeValidationResult";
251
- params: xstate863.NonReducibleUnknown;
251
+ params: xstate475.NonReducibleUnknown;
252
252
  };
253
- }>, xstate863.Values<{
253
+ }>, xstate475.Values<{
254
254
  isOcrEditable: {
255
255
  type: "isOcrEditable";
256
256
  params: unknown;
@@ -271,7 +271,7 @@ declare const idOcrStateMachine: xstate863.StateMachine<IdOcrContext, {
271
271
  type: "shouldProceedWithoutSubmitToSecondId";
272
272
  params: unknown;
273
273
  };
274
- }>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, xstate863.NonReducibleUnknown, xstate863.EventObject, xstate863.MetaObject, {
274
+ }>, never, "error" | "idle" | "success" | "finished" | "loading" | "inputting" | "readonly" | "validatingContinue" | "submitting", string, IdOcrInput, xstate475.NonReducibleUnknown, xstate475.EventObject, xstate475.MetaObject, {
275
275
  readonly id: "idOcr";
276
276
  readonly initial: "idle";
277
277
  readonly context: ({
@@ -280,70 +280,70 @@ declare const idOcrStateMachine: xstate863.StateMachine<IdOcrContext, {
280
280
  spawn: {
281
281
  <TSrc extends "getOcrData" | "updateOcrData">(logic: TSrc, ...[options]: ({
282
282
  src: "getOcrData";
283
- logic: xstate863.PromiseActorLogic<OcrData, {
283
+ logic: xstate475.PromiseActorLogic<OcrData, {
284
284
  isSecondId: boolean;
285
- }, xstate863.EventObject>;
285
+ }, xstate475.EventObject>;
286
286
  id: string | undefined;
287
287
  } extends infer T ? T extends {
288
288
  src: "getOcrData";
289
- logic: xstate863.PromiseActorLogic<OcrData, {
289
+ logic: xstate475.PromiseActorLogic<OcrData, {
290
290
  isSecondId: boolean;
291
- }, xstate863.EventObject>;
291
+ }, xstate475.EventObject>;
292
292
  id: string | undefined;
293
293
  } ? T extends {
294
294
  src: TSrc;
295
- } ? xstate863.ConditionalRequired<[options?: ({
295
+ } ? xstate475.ConditionalRequired<[options?: ({
296
296
  id?: T["id"] | undefined;
297
297
  systemId?: string;
298
- input?: xstate863.InputFrom<T["logic"]> | undefined;
298
+ input?: xstate475.InputFrom<T["logic"]> | undefined;
299
299
  syncSnapshot?: boolean;
300
- } & { [K in xstate863.RequiredActorOptions<T>]: unknown }) | undefined], xstate863.IsNotNever<xstate863.RequiredActorOptions<T>>> : never : never : never) | ({
300
+ } & { [K in xstate475.RequiredActorOptions<T>]: unknown }) | undefined], xstate475.IsNotNever<xstate475.RequiredActorOptions<T>>> : never : never : never) | ({
301
301
  src: "updateOcrData";
302
- logic: xstate863.PromiseActorLogic<UpdateOcrResponse, {
302
+ logic: xstate475.PromiseActorLogic<UpdateOcrResponse, {
303
303
  params: UpdateOcrDataParams;
304
304
  isSecondId: boolean;
305
- }, xstate863.EventObject>;
305
+ }, xstate475.EventObject>;
306
306
  id: string | undefined;
307
307
  } extends infer T_1 ? T_1 extends {
308
308
  src: "updateOcrData";
309
- logic: xstate863.PromiseActorLogic<UpdateOcrResponse, {
309
+ logic: xstate475.PromiseActorLogic<UpdateOcrResponse, {
310
310
  params: UpdateOcrDataParams;
311
311
  isSecondId: boolean;
312
- }, xstate863.EventObject>;
312
+ }, xstate475.EventObject>;
313
313
  id: string | undefined;
314
314
  } ? T_1 extends {
315
315
  src: TSrc;
316
- } ? xstate863.ConditionalRequired<[options?: ({
316
+ } ? xstate475.ConditionalRequired<[options?: ({
317
317
  id?: T_1["id"] | undefined;
318
318
  systemId?: string;
319
- input?: xstate863.InputFrom<T_1["logic"]> | undefined;
319
+ input?: xstate475.InputFrom<T_1["logic"]> | undefined;
320
320
  syncSnapshot?: boolean;
321
- } & { [K_1 in xstate863.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate863.IsNotNever<xstate863.RequiredActorOptions<T_1>>> : never : never : never)): xstate863.ActorRefFromLogic<xstate863.GetConcreteByKey<xstate863.Values<{
321
+ } & { [K_1 in xstate475.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate475.IsNotNever<xstate475.RequiredActorOptions<T_1>>> : never : never : never)): xstate475.ActorRefFromLogic<xstate475.GetConcreteByKey<xstate475.Values<{
322
322
  getOcrData: {
323
323
  src: "getOcrData";
324
- logic: xstate863.PromiseActorLogic<OcrData, {
324
+ logic: xstate475.PromiseActorLogic<OcrData, {
325
325
  isSecondId: boolean;
326
- }, xstate863.EventObject>;
326
+ }, xstate475.EventObject>;
327
327
  id: string | undefined;
328
328
  };
329
329
  updateOcrData: {
330
330
  src: "updateOcrData";
331
- logic: xstate863.PromiseActorLogic<UpdateOcrResponse, {
331
+ logic: xstate475.PromiseActorLogic<UpdateOcrResponse, {
332
332
  params: UpdateOcrDataParams;
333
333
  isSecondId: boolean;
334
- }, xstate863.EventObject>;
334
+ }, xstate475.EventObject>;
335
335
  id: string | undefined;
336
336
  };
337
337
  }>, "src", TSrc>["logic"]>;
338
- <TLogic extends xstate863.AnyActorLogic>(src: TLogic, ...[options]: xstate863.ConditionalRequired<[options?: ({
338
+ <TLogic extends xstate475.AnyActorLogic>(src: TLogic, ...[options]: xstate475.ConditionalRequired<[options?: ({
339
339
  id?: never;
340
340
  systemId?: string;
341
- input?: xstate863.InputFrom<TLogic> | undefined;
341
+ input?: xstate475.InputFrom<TLogic> | undefined;
342
342
  syncSnapshot?: boolean;
343
- } & { [K in xstate863.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate863.IsNotNever<xstate863.RequiredLogicInput<TLogic>>>): xstate863.ActorRefFromLogic<TLogic>;
343
+ } & { [K in xstate475.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate475.IsNotNever<xstate475.RequiredLogicInput<TLogic>>>): xstate475.ActorRefFromLogic<TLogic>;
344
344
  };
345
345
  input: IdOcrInput;
346
- self: xstate863.ActorRef<xstate863.MachineSnapshot<IdOcrContext, {
346
+ self: xstate475.ActorRef<xstate475.MachineSnapshot<IdOcrContext, {
347
347
  type: "LOAD";
348
348
  } | {
349
349
  type: "DATA_CHANGED";
@@ -356,7 +356,7 @@ declare const idOcrStateMachine: xstate863.StateMachine<IdOcrContext, {
356
356
  type: "CONTINUE";
357
357
  } | {
358
358
  type: "RETRY";
359
- }, Record<string, xstate863.AnyActorRef | undefined>, xstate863.StateValue, string, unknown, any, any>, {
359
+ }, Record<string, xstate475.AnyActorRef | undefined>, xstate475.StateValue, string, unknown, any, any>, {
360
360
  type: "LOAD";
361
361
  } | {
362
362
  type: "DATA_CHANGED";
@@ -369,7 +369,7 @@ declare const idOcrStateMachine: xstate863.StateMachine<IdOcrContext, {
369
369
  type: "CONTINUE";
370
370
  } | {
371
371
  type: "RETRY";
372
- }, xstate863.AnyEventObject>;
372
+ }, xstate475.AnyEventObject>;
373
373
  }) => {
374
374
  config: IdOcrConfig;
375
375
  formData: UpdateOcrDataParams;
@@ -405,7 +405,7 @@ declare const idOcrStateMachine: xstate863.StateMachine<IdOcrContext, {
405
405
  } | {
406
406
  type: "RETRY";
407
407
  };
408
- self: xstate863.ActorRef<xstate863.MachineSnapshot<IdOcrContext, {
408
+ self: xstate475.ActorRef<xstate475.MachineSnapshot<IdOcrContext, {
409
409
  type: "LOAD";
410
410
  } | {
411
411
  type: "DATA_CHANGED";
@@ -418,7 +418,7 @@ declare const idOcrStateMachine: xstate863.StateMachine<IdOcrContext, {
418
418
  type: "CONTINUE";
419
419
  } | {
420
420
  type: "RETRY";
421
- }, Record<string, xstate863.AnyActorRef>, xstate863.StateValue, string, unknown, any, any>, {
421
+ }, Record<string, xstate475.AnyActorRef>, xstate475.StateValue, string, unknown, any, any>, {
422
422
  type: "LOAD";
423
423
  } | {
424
424
  type: "DATA_CHANGED";
@@ -431,7 +431,7 @@ declare const idOcrStateMachine: xstate863.StateMachine<IdOcrContext, {
431
431
  type: "CONTINUE";
432
432
  } | {
433
433
  type: "RETRY";
434
- }, xstate863.AnyEventObject>;
434
+ }, xstate475.AnyEventObject>;
435
435
  }) => {
436
436
  isSecondId: boolean;
437
437
  };
@@ -510,7 +510,7 @@ declare const idOcrStateMachine: xstate863.StateMachine<IdOcrContext, {
510
510
  } | {
511
511
  type: "RETRY";
512
512
  };
513
- self: xstate863.ActorRef<xstate863.MachineSnapshot<IdOcrContext, {
513
+ self: xstate475.ActorRef<xstate475.MachineSnapshot<IdOcrContext, {
514
514
  type: "LOAD";
515
515
  } | {
516
516
  type: "DATA_CHANGED";
@@ -523,7 +523,7 @@ declare const idOcrStateMachine: xstate863.StateMachine<IdOcrContext, {
523
523
  type: "CONTINUE";
524
524
  } | {
525
525
  type: "RETRY";
526
- }, Record<string, xstate863.AnyActorRef>, xstate863.StateValue, string, unknown, any, any>, {
526
+ }, Record<string, xstate475.AnyActorRef>, xstate475.StateValue, string, unknown, any, any>, {
527
527
  type: "LOAD";
528
528
  } | {
529
529
  type: "DATA_CHANGED";
@@ -536,7 +536,7 @@ declare const idOcrStateMachine: xstate863.StateMachine<IdOcrContext, {
536
536
  type: "CONTINUE";
537
537
  } | {
538
538
  type: "RETRY";
539
- }, xstate863.AnyEventObject>;
539
+ }, xstate475.AnyEventObject>;
540
540
  }) => {
541
541
  params: UpdateOcrDataParams;
542
542
  isSecondId: boolean;