@incodetech/core 0.0.0-dev-20260423-672ea74 → 0.0.0-dev-20260423-65fea3a

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.
@@ -2,10 +2,10 @@ import { t as Manager } from "./Manager-BmmucBrC.js";
2
2
  import "./Actor-gwS4PQSi.js";
3
3
  import "./camera-CXfeCsaz.js";
4
4
  import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-BxjVn8Ry.js";
5
- import * as xstate721 from "xstate";
5
+ import * as xstate0 from "xstate";
6
6
 
7
7
  //#region src/modules/document-upload/documentUploadStateMachine.d.ts
8
- declare const documentUploadMachine: xstate721.StateMachine<DocumentUploadContext, {
8
+ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext, {
9
9
  type: "START";
10
10
  } | {
11
11
  type: "CAPTURE";
@@ -18,52 +18,52 @@ declare const documentUploadMachine: xstate721.StateMachine<DocumentUploadContex
18
18
  } | {
19
19
  type: "CLOSE";
20
20
  }, {
21
- [x: string]: xstate721.ActorRefFromLogic<xstate721.PromiseActorLogic<MediaStream, void, xstate721.EventObject>> | xstate721.ActorRefFromLogic<xstate721.PromiseActorLogic<void, {
21
+ [x: string]: xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<void, {
22
22
  imageBase64: string;
23
23
  documentType: string;
24
24
  onProgress: (progress: number) => void;
25
- }, xstate721.EventObject>> | undefined;
26
- }, xstate721.Values<{
25
+ }, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>> | undefined;
26
+ }, xstate0.Values<{
27
27
  uploadDocument: {
28
28
  src: "uploadDocument";
29
- logic: xstate721.PromiseActorLogic<void, {
29
+ logic: xstate0.PromiseActorLogic<void, {
30
30
  imageBase64: string;
31
31
  documentType: string;
32
32
  onProgress: (progress: number) => void;
33
- }, xstate721.EventObject>;
33
+ }, xstate0.EventObject>;
34
34
  id: string | undefined;
35
35
  };
36
36
  initCamera: {
37
37
  src: "initCamera";
38
- logic: xstate721.PromiseActorLogic<MediaStream, void, xstate721.EventObject>;
38
+ logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
39
39
  id: string | undefined;
40
40
  };
41
- }>, xstate721.Values<{
42
- setError: {
43
- type: "setError";
44
- params: xstate721.NonReducibleUnknown;
45
- };
46
- clearError: {
47
- type: "clearError";
48
- params: xstate721.NonReducibleUnknown;
49
- };
41
+ }>, xstate0.Values<{
50
42
  setStream: {
51
43
  type: "setStream";
52
- params: xstate721.NonReducibleUnknown;
44
+ params: xstate0.NonReducibleUnknown;
45
+ };
46
+ setImageAndClearError: {
47
+ type: "setImageAndClearError";
48
+ params: xstate0.NonReducibleUnknown;
53
49
  };
54
50
  setProgress: {
55
51
  type: "setProgress";
56
- params: xstate721.NonReducibleUnknown;
52
+ params: xstate0.NonReducibleUnknown;
53
+ };
54
+ setError: {
55
+ type: "setError";
56
+ params: xstate0.NonReducibleUnknown;
57
+ };
58
+ clearError: {
59
+ type: "clearError";
60
+ params: xstate0.NonReducibleUnknown;
57
61
  };
58
62
  stopStream: {
59
63
  type: "stopStream";
60
- params: xstate721.NonReducibleUnknown;
61
- };
62
- setImageAndClearError: {
63
- type: "setImageAndClearError";
64
- params: xstate721.NonReducibleUnknown;
64
+ params: xstate0.NonReducibleUnknown;
65
65
  };
66
- }>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput, xstate721.NonReducibleUnknown, xstate721.EventObject, xstate721.MetaObject, {
66
+ }>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
67
67
  readonly id: "documentUpload";
68
68
  readonly initial: "idle";
69
69
  readonly context: ({
@@ -72,67 +72,67 @@ declare const documentUploadMachine: xstate721.StateMachine<DocumentUploadContex
72
72
  spawn: {
73
73
  <TSrc extends "uploadDocument" | "initCamera">(logic: TSrc, ...[options]: ({
74
74
  src: "uploadDocument";
75
- logic: xstate721.PromiseActorLogic<void, {
75
+ logic: xstate0.PromiseActorLogic<void, {
76
76
  imageBase64: string;
77
77
  documentType: string;
78
78
  onProgress: (progress: number) => void;
79
- }, xstate721.EventObject>;
79
+ }, xstate0.EventObject>;
80
80
  id: string | undefined;
81
81
  } extends infer T ? T extends {
82
82
  src: "uploadDocument";
83
- logic: xstate721.PromiseActorLogic<void, {
83
+ logic: xstate0.PromiseActorLogic<void, {
84
84
  imageBase64: string;
85
85
  documentType: string;
86
86
  onProgress: (progress: number) => void;
87
- }, xstate721.EventObject>;
87
+ }, xstate0.EventObject>;
88
88
  id: string | undefined;
89
89
  } ? T extends {
90
90
  src: TSrc;
91
- } ? xstate721.ConditionalRequired<[options?: ({
91
+ } ? xstate0.ConditionalRequired<[options?: ({
92
92
  id?: T["id"] | undefined;
93
93
  systemId?: string;
94
- input?: xstate721.InputFrom<T["logic"]> | undefined;
94
+ input?: xstate0.InputFrom<T["logic"]> | undefined;
95
95
  syncSnapshot?: boolean;
96
- } & { [K in xstate721.RequiredActorOptions<T>]: unknown }) | undefined], xstate721.IsNotNever<xstate721.RequiredActorOptions<T>>> : never : never : never) | ({
96
+ } & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never) | ({
97
97
  src: "initCamera";
98
- logic: xstate721.PromiseActorLogic<MediaStream, void, xstate721.EventObject>;
98
+ logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
99
99
  id: string | undefined;
100
100
  } extends infer T_1 ? T_1 extends {
101
101
  src: "initCamera";
102
- logic: xstate721.PromiseActorLogic<MediaStream, void, xstate721.EventObject>;
102
+ logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
103
103
  id: string | undefined;
104
104
  } ? T_1 extends {
105
105
  src: TSrc;
106
- } ? xstate721.ConditionalRequired<[options?: ({
106
+ } ? xstate0.ConditionalRequired<[options?: ({
107
107
  id?: T_1["id"] | undefined;
108
108
  systemId?: string;
109
- input?: xstate721.InputFrom<T_1["logic"]> | undefined;
109
+ input?: xstate0.InputFrom<T_1["logic"]> | undefined;
110
110
  syncSnapshot?: boolean;
111
- } & { [K_1 in xstate721.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate721.IsNotNever<xstate721.RequiredActorOptions<T_1>>> : never : never : never)): xstate721.ActorRefFromLogic<xstate721.GetConcreteByKey<xstate721.Values<{
111
+ } & { [K_1 in xstate0.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_1>>> : never : never : never)): xstate0.ActorRefFromLogic<xstate0.GetConcreteByKey<xstate0.Values<{
112
112
  uploadDocument: {
113
113
  src: "uploadDocument";
114
- logic: xstate721.PromiseActorLogic<void, {
114
+ logic: xstate0.PromiseActorLogic<void, {
115
115
  imageBase64: string;
116
116
  documentType: string;
117
117
  onProgress: (progress: number) => void;
118
- }, xstate721.EventObject>;
118
+ }, xstate0.EventObject>;
119
119
  id: string | undefined;
120
120
  };
121
121
  initCamera: {
122
122
  src: "initCamera";
123
- logic: xstate721.PromiseActorLogic<MediaStream, void, xstate721.EventObject>;
123
+ logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
124
124
  id: string | undefined;
125
125
  };
126
126
  }>, "src", TSrc>["logic"]>;
127
- <TLogic extends xstate721.AnyActorLogic>(src: TLogic, ...[options]: xstate721.ConditionalRequired<[options?: ({
127
+ <TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
128
128
  id?: never;
129
129
  systemId?: string;
130
- input?: xstate721.InputFrom<TLogic> | undefined;
130
+ input?: xstate0.InputFrom<TLogic> | undefined;
131
131
  syncSnapshot?: boolean;
132
- } & { [K in xstate721.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate721.IsNotNever<xstate721.RequiredLogicInput<TLogic>>>): xstate721.ActorRefFromLogic<TLogic>;
132
+ } & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
133
133
  };
134
134
  input: DocumentUploadInput;
135
- self: xstate721.ActorRef<xstate721.MachineSnapshot<DocumentUploadContext, {
135
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentUploadContext, {
136
136
  type: "START";
137
137
  } | {
138
138
  type: "CAPTURE";
@@ -144,7 +144,7 @@ declare const documentUploadMachine: xstate721.StateMachine<DocumentUploadContex
144
144
  type: "RETRY";
145
145
  } | {
146
146
  type: "CLOSE";
147
- }, Record<string, xstate721.AnyActorRef | undefined>, xstate721.StateValue, string, unknown, any, any>, {
147
+ }, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
148
148
  type: "START";
149
149
  } | {
150
150
  type: "CAPTURE";
@@ -156,7 +156,7 @@ declare const documentUploadMachine: xstate721.StateMachine<DocumentUploadContex
156
156
  type: "RETRY";
157
157
  } | {
158
158
  type: "CLOSE";
159
- }, xstate721.AnyEventObject>;
159
+ }, xstate0.AnyEventObject>;
160
160
  }) => {
161
161
  config: DocumentUploadConfig;
162
162
  stream: undefined;
@@ -226,7 +226,7 @@ declare const documentUploadMachine: xstate721.StateMachine<DocumentUploadContex
226
226
  } | {
227
227
  type: "CLOSE";
228
228
  };
229
- self: xstate721.ActorRef<xstate721.MachineSnapshot<DocumentUploadContext, {
229
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentUploadContext, {
230
230
  type: "START";
231
231
  } | {
232
232
  type: "CAPTURE";
@@ -238,7 +238,7 @@ declare const documentUploadMachine: xstate721.StateMachine<DocumentUploadContex
238
238
  type: "RETRY";
239
239
  } | {
240
240
  type: "CLOSE";
241
- }, Record<string, xstate721.AnyActorRef>, xstate721.StateValue, string, unknown, any, any>, {
241
+ }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
242
242
  type: "START";
243
243
  } | {
244
244
  type: "CAPTURE";
@@ -250,7 +250,7 @@ declare const documentUploadMachine: xstate721.StateMachine<DocumentUploadContex
250
250
  type: "RETRY";
251
251
  } | {
252
252
  type: "CLOSE";
253
- }, xstate721.AnyEventObject>;
253
+ }, xstate0.AnyEventObject>;
254
254
  }) => {
255
255
  imageBase64: string;
256
256
  documentType: string;
@@ -1,4 +1,4 @@
1
1
  import "./Manager-BmmucBrC.js";
2
2
  import "./Actor-gwS4PQSi.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-BbYUSiBn.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-pEcc4ox4.js";
4
4
  export { AE_CONSENT_KEYS, AeConsentKey, ConsentChecks, ConsentKey, ElectronicSignatureConfig, ElectronicSignatureDocument, ElectronicSignatureManager, ElectronicSignatureState, ElectronicSignatureVariant, QE_CONSENT_KEYS, QeConsentKey, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -29,8 +29,8 @@ import "./selfieStateMachine-BusOHMBN.esm.js";
29
29
  import { n as createSelfieManagerFromActor } from "./selfieManager-CkmC58-2.esm.js";
30
30
  import "./idCaptureStateMachine-CgddydGJ.esm.js";
31
31
  import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-DvJEDPBW.esm.js";
32
- import "./phoneStateMachine-u-A2hOxu.esm.js";
33
- import { n as createPhoneManagerFromActor } from "./phoneManager-CfoEpjeM.esm.js";
32
+ import "./phoneStateMachine-BiwbfBRz.esm.js";
33
+ import { n as createPhoneManagerFromActor } from "./phoneManager-Wr-zvTY1.esm.js";
34
34
 
35
35
  //#region src/internal/fingerprint/fingerprintApi.ts
36
36
  async function getFingerprint(disableIpify) {
package/dist/home.d.ts CHANGED
@@ -2,7 +2,7 @@ import { t as Manager } from "./Manager-BmmucBrC.js";
2
2
  import "./camera-CXfeCsaz.js";
3
3
  import "./types-BxjVn8Ry.js";
4
4
  import { t as EmptyConfig } from "./types-BelKmTqU.js";
5
- import * as xstate164 from "xstate";
5
+ import * as xstate753 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: xstate164.StateMachine<HomeContext, {
37
+ declare const homeMachine: xstate753.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, xstate164.NonReducibleUnknown, xstate164.EventObject, xstate164.MetaObject, {
43
+ }, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate753.NonReducibleUnknown, xstate753.EventObject, xstate753.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): xstate164.ActorRefFromLogic<never>;
51
- <TLogic extends xstate164.AnyActorLogic>(src: TLogic, ...[options]: xstate164.ConditionalRequired<[options?: ({
50
+ <TSrc extends never>(logic: TSrc, ...[options]: never): xstate753.ActorRefFromLogic<never>;
51
+ <TLogic extends xstate753.AnyActorLogic>(src: TLogic, ...[options]: xstate753.ConditionalRequired<[options?: ({
52
52
  id?: never;
53
53
  systemId?: string;
54
- input?: xstate164.InputFrom<TLogic> | undefined;
54
+ input?: xstate753.InputFrom<TLogic> | undefined;
55
55
  syncSnapshot?: boolean;
56
- } & { [K in xstate164.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate164.IsNotNever<xstate164.RequiredLogicInput<TLogic>>>): xstate164.ActorRefFromLogic<TLogic>;
56
+ } & { [K in xstate753.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate753.IsNotNever<xstate753.RequiredLogicInput<TLogic>>>): xstate753.ActorRefFromLogic<TLogic>;
57
57
  };
58
58
  input: HomeInput;
59
- self: xstate164.ActorRef<xstate164.MachineSnapshot<HomeContext, {
59
+ self: xstate753.ActorRef<xstate753.MachineSnapshot<HomeContext, {
60
60
  type: "LOAD";
61
61
  } | {
62
62
  type: "COMPLETE";
63
63
  } | {
64
64
  type: "RESET";
65
- }, Record<string, xstate164.AnyActorRef | undefined>, xstate164.StateValue, string, unknown, any, any>, {
65
+ }, Record<string, xstate753.AnyActorRef | undefined>, xstate753.StateValue, string, unknown, any, any>, {
66
66
  type: "LOAD";
67
67
  } | {
68
68
  type: "COMPLETE";
69
69
  } | {
70
70
  type: "RESET";
71
- }, xstate164.AnyEventObject>;
71
+ }, xstate753.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-BmmucBrC.js";
2
2
  import "./Actor-gwS4PQSi.js";
3
- import * as xstate648 from "xstate";
3
+ import * as xstate680 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: xstate648.StateMachine<IdOcrContext, {
180
+ declare const idOcrStateMachine: xstate680.StateMachine<IdOcrContext, {
181
181
  type: "LOAD";
182
182
  } | {
183
183
  type: "DATA_CHANGED";
@@ -191,66 +191,66 @@ declare const idOcrStateMachine: xstate648.StateMachine<IdOcrContext, {
191
191
  } | {
192
192
  type: "RESET";
193
193
  }, {
194
- [x: string]: xstate648.ActorRefFromLogic<xstate648.PromiseActorLogic<OcrData, {
194
+ [x: string]: xstate680.ActorRefFromLogic<xstate680.PromiseActorLogic<OcrData, {
195
195
  isSecondId: boolean;
196
- }, xstate648.EventObject>> | xstate648.ActorRefFromLogic<xstate648.PromiseActorLogic<UpdateOcrResponse, {
196
+ }, xstate680.EventObject>> | xstate680.ActorRefFromLogic<xstate680.PromiseActorLogic<UpdateOcrResponse, {
197
197
  params: UpdateOcrDataParams;
198
198
  isSecondId: boolean;
199
- }, xstate648.EventObject>> | undefined;
200
- }, xstate648.Values<{
199
+ }, xstate680.EventObject>> | undefined;
200
+ }, xstate680.Values<{
201
201
  getOcrData: {
202
202
  src: "getOcrData";
203
- logic: xstate648.PromiseActorLogic<OcrData, {
203
+ logic: xstate680.PromiseActorLogic<OcrData, {
204
204
  isSecondId: boolean;
205
- }, xstate648.EventObject>;
205
+ }, xstate680.EventObject>;
206
206
  id: string | undefined;
207
207
  };
208
208
  updateOcrData: {
209
209
  src: "updateOcrData";
210
- logic: xstate648.PromiseActorLogic<UpdateOcrResponse, {
210
+ logic: xstate680.PromiseActorLogic<UpdateOcrResponse, {
211
211
  params: UpdateOcrDataParams;
212
212
  isSecondId: boolean;
213
- }, xstate648.EventObject>;
213
+ }, xstate680.EventObject>;
214
214
  id: string | undefined;
215
215
  };
216
- }>, xstate648.Values<{
216
+ }>, xstate680.Values<{
217
217
  setError: {
218
218
  type: "setError";
219
- params: xstate648.NonReducibleUnknown;
219
+ params: xstate680.NonReducibleUnknown;
220
220
  };
221
221
  setInitialData: {
222
222
  type: "setInitialData";
223
- params: xstate648.NonReducibleUnknown;
223
+ params: xstate680.NonReducibleUnknown;
224
224
  };
225
225
  updateField: {
226
226
  type: "updateField";
227
- params: xstate648.NonReducibleUnknown;
227
+ params: xstate680.NonReducibleUnknown;
228
228
  };
229
229
  clearFieldValidationError: {
230
230
  type: "clearFieldValidationError";
231
- params: xstate648.NonReducibleUnknown;
231
+ params: xstate680.NonReducibleUnknown;
232
232
  };
233
233
  setOcrValidationErrors: {
234
234
  type: "setOcrValidationErrors";
235
- params: xstate648.NonReducibleUnknown;
235
+ params: xstate680.NonReducibleUnknown;
236
236
  };
237
237
  validateFormField: {
238
238
  type: "validateFormField";
239
- params: xstate648.NonReducibleUnknown;
239
+ params: xstate680.NonReducibleUnknown;
240
240
  };
241
241
  beginSecondIdOcrPhase: {
242
242
  type: "beginSecondIdOcrPhase";
243
- params: xstate648.NonReducibleUnknown;
243
+ params: xstate680.NonReducibleUnknown;
244
244
  };
245
245
  resetForRetry: {
246
246
  type: "resetForRetry";
247
- params: xstate648.NonReducibleUnknown;
247
+ params: xstate680.NonReducibleUnknown;
248
248
  };
249
249
  computeValidationResult: {
250
250
  type: "computeValidationResult";
251
- params: xstate648.NonReducibleUnknown;
251
+ params: xstate680.NonReducibleUnknown;
252
252
  };
253
- }>, xstate648.Values<{
253
+ }>, xstate680.Values<{
254
254
  isOcrEditable: {
255
255
  type: "isOcrEditable";
256
256
  params: unknown;
@@ -271,7 +271,7 @@ declare const idOcrStateMachine: xstate648.StateMachine<IdOcrContext, {
271
271
  type: "shouldProceedWithoutSubmitToSecondId";
272
272
  params: unknown;
273
273
  };
274
- }>, never, "error" | "idle" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, xstate648.NonReducibleUnknown, xstate648.EventObject, xstate648.MetaObject, {
274
+ }>, never, "error" | "idle" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, xstate680.NonReducibleUnknown, xstate680.EventObject, xstate680.MetaObject, {
275
275
  readonly id: "idOcr";
276
276
  readonly initial: "idle";
277
277
  readonly context: ({
@@ -280,70 +280,70 @@ declare const idOcrStateMachine: xstate648.StateMachine<IdOcrContext, {
280
280
  spawn: {
281
281
  <TSrc extends "getOcrData" | "updateOcrData">(logic: TSrc, ...[options]: ({
282
282
  src: "getOcrData";
283
- logic: xstate648.PromiseActorLogic<OcrData, {
283
+ logic: xstate680.PromiseActorLogic<OcrData, {
284
284
  isSecondId: boolean;
285
- }, xstate648.EventObject>;
285
+ }, xstate680.EventObject>;
286
286
  id: string | undefined;
287
287
  } extends infer T ? T extends {
288
288
  src: "getOcrData";
289
- logic: xstate648.PromiseActorLogic<OcrData, {
289
+ logic: xstate680.PromiseActorLogic<OcrData, {
290
290
  isSecondId: boolean;
291
- }, xstate648.EventObject>;
291
+ }, xstate680.EventObject>;
292
292
  id: string | undefined;
293
293
  } ? T extends {
294
294
  src: TSrc;
295
- } ? xstate648.ConditionalRequired<[options?: ({
295
+ } ? xstate680.ConditionalRequired<[options?: ({
296
296
  id?: T["id"] | undefined;
297
297
  systemId?: string;
298
- input?: xstate648.InputFrom<T["logic"]> | undefined;
298
+ input?: xstate680.InputFrom<T["logic"]> | undefined;
299
299
  syncSnapshot?: boolean;
300
- } & { [K in xstate648.RequiredActorOptions<T>]: unknown }) | undefined], xstate648.IsNotNever<xstate648.RequiredActorOptions<T>>> : never : never : never) | ({
300
+ } & { [K in xstate680.RequiredActorOptions<T>]: unknown }) | undefined], xstate680.IsNotNever<xstate680.RequiredActorOptions<T>>> : never : never : never) | ({
301
301
  src: "updateOcrData";
302
- logic: xstate648.PromiseActorLogic<UpdateOcrResponse, {
302
+ logic: xstate680.PromiseActorLogic<UpdateOcrResponse, {
303
303
  params: UpdateOcrDataParams;
304
304
  isSecondId: boolean;
305
- }, xstate648.EventObject>;
305
+ }, xstate680.EventObject>;
306
306
  id: string | undefined;
307
307
  } extends infer T_1 ? T_1 extends {
308
308
  src: "updateOcrData";
309
- logic: xstate648.PromiseActorLogic<UpdateOcrResponse, {
309
+ logic: xstate680.PromiseActorLogic<UpdateOcrResponse, {
310
310
  params: UpdateOcrDataParams;
311
311
  isSecondId: boolean;
312
- }, xstate648.EventObject>;
312
+ }, xstate680.EventObject>;
313
313
  id: string | undefined;
314
314
  } ? T_1 extends {
315
315
  src: TSrc;
316
- } ? xstate648.ConditionalRequired<[options?: ({
316
+ } ? xstate680.ConditionalRequired<[options?: ({
317
317
  id?: T_1["id"] | undefined;
318
318
  systemId?: string;
319
- input?: xstate648.InputFrom<T_1["logic"]> | undefined;
319
+ input?: xstate680.InputFrom<T_1["logic"]> | undefined;
320
320
  syncSnapshot?: boolean;
321
- } & { [K_1 in xstate648.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate648.IsNotNever<xstate648.RequiredActorOptions<T_1>>> : never : never : never)): xstate648.ActorRefFromLogic<xstate648.GetConcreteByKey<xstate648.Values<{
321
+ } & { [K_1 in xstate680.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate680.IsNotNever<xstate680.RequiredActorOptions<T_1>>> : never : never : never)): xstate680.ActorRefFromLogic<xstate680.GetConcreteByKey<xstate680.Values<{
322
322
  getOcrData: {
323
323
  src: "getOcrData";
324
- logic: xstate648.PromiseActorLogic<OcrData, {
324
+ logic: xstate680.PromiseActorLogic<OcrData, {
325
325
  isSecondId: boolean;
326
- }, xstate648.EventObject>;
326
+ }, xstate680.EventObject>;
327
327
  id: string | undefined;
328
328
  };
329
329
  updateOcrData: {
330
330
  src: "updateOcrData";
331
- logic: xstate648.PromiseActorLogic<UpdateOcrResponse, {
331
+ logic: xstate680.PromiseActorLogic<UpdateOcrResponse, {
332
332
  params: UpdateOcrDataParams;
333
333
  isSecondId: boolean;
334
- }, xstate648.EventObject>;
334
+ }, xstate680.EventObject>;
335
335
  id: string | undefined;
336
336
  };
337
337
  }>, "src", TSrc>["logic"]>;
338
- <TLogic extends xstate648.AnyActorLogic>(src: TLogic, ...[options]: xstate648.ConditionalRequired<[options?: ({
338
+ <TLogic extends xstate680.AnyActorLogic>(src: TLogic, ...[options]: xstate680.ConditionalRequired<[options?: ({
339
339
  id?: never;
340
340
  systemId?: string;
341
- input?: xstate648.InputFrom<TLogic> | undefined;
341
+ input?: xstate680.InputFrom<TLogic> | undefined;
342
342
  syncSnapshot?: boolean;
343
- } & { [K in xstate648.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate648.IsNotNever<xstate648.RequiredLogicInput<TLogic>>>): xstate648.ActorRefFromLogic<TLogic>;
343
+ } & { [K in xstate680.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate680.IsNotNever<xstate680.RequiredLogicInput<TLogic>>>): xstate680.ActorRefFromLogic<TLogic>;
344
344
  };
345
345
  input: IdOcrInput;
346
- self: xstate648.ActorRef<xstate648.MachineSnapshot<IdOcrContext, {
346
+ self: xstate680.ActorRef<xstate680.MachineSnapshot<IdOcrContext, {
347
347
  type: "LOAD";
348
348
  } | {
349
349
  type: "DATA_CHANGED";
@@ -356,7 +356,7 @@ declare const idOcrStateMachine: xstate648.StateMachine<IdOcrContext, {
356
356
  type: "CONTINUE";
357
357
  } | {
358
358
  type: "RESET";
359
- }, Record<string, xstate648.AnyActorRef | undefined>, xstate648.StateValue, string, unknown, any, any>, {
359
+ }, Record<string, xstate680.AnyActorRef | undefined>, xstate680.StateValue, string, unknown, any, any>, {
360
360
  type: "LOAD";
361
361
  } | {
362
362
  type: "DATA_CHANGED";
@@ -369,7 +369,7 @@ declare const idOcrStateMachine: xstate648.StateMachine<IdOcrContext, {
369
369
  type: "CONTINUE";
370
370
  } | {
371
371
  type: "RESET";
372
- }, xstate648.AnyEventObject>;
372
+ }, xstate680.AnyEventObject>;
373
373
  }) => {
374
374
  config: IdOcrConfig;
375
375
  formData: UpdateOcrDataParams;
@@ -405,7 +405,7 @@ declare const idOcrStateMachine: xstate648.StateMachine<IdOcrContext, {
405
405
  } | {
406
406
  type: "RESET";
407
407
  };
408
- self: xstate648.ActorRef<xstate648.MachineSnapshot<IdOcrContext, {
408
+ self: xstate680.ActorRef<xstate680.MachineSnapshot<IdOcrContext, {
409
409
  type: "LOAD";
410
410
  } | {
411
411
  type: "DATA_CHANGED";
@@ -418,7 +418,7 @@ declare const idOcrStateMachine: xstate648.StateMachine<IdOcrContext, {
418
418
  type: "CONTINUE";
419
419
  } | {
420
420
  type: "RESET";
421
- }, Record<string, xstate648.AnyActorRef>, xstate648.StateValue, string, unknown, any, any>, {
421
+ }, Record<string, xstate680.AnyActorRef>, xstate680.StateValue, string, unknown, any, any>, {
422
422
  type: "LOAD";
423
423
  } | {
424
424
  type: "DATA_CHANGED";
@@ -431,7 +431,7 @@ declare const idOcrStateMachine: xstate648.StateMachine<IdOcrContext, {
431
431
  type: "CONTINUE";
432
432
  } | {
433
433
  type: "RESET";
434
- }, xstate648.AnyEventObject>;
434
+ }, xstate680.AnyEventObject>;
435
435
  }) => {
436
436
  isSecondId: boolean;
437
437
  };
@@ -510,7 +510,7 @@ declare const idOcrStateMachine: xstate648.StateMachine<IdOcrContext, {
510
510
  } | {
511
511
  type: "RESET";
512
512
  };
513
- self: xstate648.ActorRef<xstate648.MachineSnapshot<IdOcrContext, {
513
+ self: xstate680.ActorRef<xstate680.MachineSnapshot<IdOcrContext, {
514
514
  type: "LOAD";
515
515
  } | {
516
516
  type: "DATA_CHANGED";
@@ -523,7 +523,7 @@ declare const idOcrStateMachine: xstate648.StateMachine<IdOcrContext, {
523
523
  type: "CONTINUE";
524
524
  } | {
525
525
  type: "RESET";
526
- }, Record<string, xstate648.AnyActorRef>, xstate648.StateValue, string, unknown, any, any>, {
526
+ }, Record<string, xstate680.AnyActorRef>, xstate680.StateValue, string, unknown, any, any>, {
527
527
  type: "LOAD";
528
528
  } | {
529
529
  type: "DATA_CHANGED";
@@ -536,7 +536,7 @@ declare const idOcrStateMachine: xstate648.StateMachine<IdOcrContext, {
536
536
  type: "CONTINUE";
537
537
  } | {
538
538
  type: "RESET";
539
- }, xstate648.AnyEventObject>;
539
+ }, xstate680.AnyEventObject>;
540
540
  }) => {
541
541
  params: UpdateOcrDataParams;
542
542
  isSecondId: boolean;