@incodetech/core 0.0.0-dev-20260505-4b09daf → 0.0.0-dev-20260505-e06a25f

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,5 +1,5 @@
1
1
  import { t as Manager } from "./Manager-CcbnIt3T.js";
2
- import * as xstate485 from "xstate";
2
+ import * as xstate0 from "xstate";
3
3
 
4
4
  //#region src/modules/electronic-signature/types.d.ts
5
5
  type ElectronicSignatureVariant = 'ae' | 'qe';
@@ -47,7 +47,7 @@ type ElectronicSignatureInput = {
47
47
  };
48
48
  //#endregion
49
49
  //#region src/modules/electronic-signature/electronicSignatureStateMachine.d.ts
50
- declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSignatureContext, {
50
+ declare const electronicSignatureMachine: xstate0.StateMachine<ElectronicSignatureContext, {
51
51
  type: "LOAD";
52
52
  } | {
53
53
  type: "SELECT_FILE";
@@ -76,59 +76,59 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
76
76
  } | {
77
77
  type: "CLOSE";
78
78
  }, {
79
- [x: string]: xstate485.ActorRefFromLogic<xstate485.PromiseActorLogic<void, {
79
+ [x: string]: xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<void, {
80
80
  getFileData: () => ArrayBuffer | null;
81
- }, xstate485.EventObject>> | xstate485.ActorRefFromLogic<xstate485.PromiseActorLogic<UnsignedDocsResponse, void, xstate485.EventObject>> | xstate485.ActorRefFromLogic<xstate485.PromiseActorLogic<SignedDocument[], {
81
+ }, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<UnsignedDocsResponse, void, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<SignedDocument[], {
82
82
  documents: ElectronicSignatureDocument[];
83
83
  variant: ElectronicSignatureVariant;
84
- }, xstate485.EventObject>> | undefined;
85
- }, xstate485.Values<{
84
+ }, xstate0.EventObject>> | undefined;
85
+ }, xstate0.Values<{
86
86
  uploadDocument: {
87
87
  src: "uploadDocument";
88
- logic: xstate485.PromiseActorLogic<void, {
88
+ logic: xstate0.PromiseActorLogic<void, {
89
89
  getFileData: () => ArrayBuffer | null;
90
- }, xstate485.EventObject>;
90
+ }, xstate0.EventObject>;
91
91
  id: string | undefined;
92
92
  };
93
93
  fetchUnsignedDocs: {
94
94
  src: "fetchUnsignedDocs";
95
- logic: xstate485.PromiseActorLogic<UnsignedDocsResponse, void, xstate485.EventObject>;
95
+ logic: xstate0.PromiseActorLogic<UnsignedDocsResponse, void, xstate0.EventObject>;
96
96
  id: string | undefined;
97
97
  };
98
98
  signDocuments: {
99
99
  src: "signDocuments";
100
- logic: xstate485.PromiseActorLogic<SignedDocument[], {
100
+ logic: xstate0.PromiseActorLogic<SignedDocument[], {
101
101
  documents: ElectronicSignatureDocument[];
102
102
  variant: ElectronicSignatureVariant;
103
- }, xstate485.EventObject>;
103
+ }, xstate0.EventObject>;
104
104
  id: string | undefined;
105
105
  };
106
- }>, xstate485.Values<{
106
+ }>, xstate0.Values<{
107
107
  setDocuments: {
108
108
  type: "setDocuments";
109
- params: xstate485.NonReducibleUnknown;
109
+ params: xstate0.NonReducibleUnknown;
110
110
  };
111
111
  setSignedDocuments: {
112
112
  type: "setSignedDocuments";
113
- params: xstate485.NonReducibleUnknown;
113
+ params: xstate0.NonReducibleUnknown;
114
114
  };
115
115
  setFile: {
116
116
  type: "setFile";
117
- params: xstate485.NonReducibleUnknown;
117
+ params: xstate0.NonReducibleUnknown;
118
118
  };
119
119
  updateConsent: {
120
120
  type: "updateConsent";
121
- params: xstate485.NonReducibleUnknown;
121
+ params: xstate0.NonReducibleUnknown;
122
122
  };
123
123
  setViewingDocument: {
124
124
  type: "setViewingDocument";
125
- params: xstate485.NonReducibleUnknown;
125
+ params: xstate0.NonReducibleUnknown;
126
126
  };
127
127
  clearViewingDocument: {
128
128
  type: "clearViewingDocument";
129
- params: xstate485.NonReducibleUnknown;
129
+ params: xstate0.NonReducibleUnknown;
130
130
  };
131
- }>, xstate485.Values<{
131
+ }>, xstate0.Values<{
132
132
  errorFromUpload: {
133
133
  type: "errorFromUpload";
134
134
  params: unknown;
@@ -161,7 +161,7 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
161
161
  type: "allSignedAndDownload";
162
162
  params: unknown;
163
163
  };
164
- }>, never, "error" | "signing" | "idle" | "uploading" | "fetchingDocs" | "reviewing" | "closed" | "uploadingFile" | "processing" | "successDownload" | "success" | "finished", string, ElectronicSignatureInput, xstate485.NonReducibleUnknown, xstate485.EventObject, xstate485.MetaObject, {
164
+ }>, never, "error" | "signing" | "idle" | "uploading" | "fetchingDocs" | "reviewing" | "closed" | "uploadingFile" | "processing" | "successDownload" | "success" | "finished", string, ElectronicSignatureInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
165
165
  readonly id: "electronicSignature";
166
166
  readonly initial: "idle";
167
167
  readonly context: ({
@@ -170,90 +170,90 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
170
170
  spawn: {
171
171
  <TSrc extends "uploadDocument" | "fetchUnsignedDocs" | "signDocuments">(logic: TSrc, ...[options]: ({
172
172
  src: "uploadDocument";
173
- logic: xstate485.PromiseActorLogic<void, {
173
+ logic: xstate0.PromiseActorLogic<void, {
174
174
  getFileData: () => ArrayBuffer | null;
175
- }, xstate485.EventObject>;
175
+ }, xstate0.EventObject>;
176
176
  id: string | undefined;
177
177
  } extends infer T ? T extends {
178
178
  src: "uploadDocument";
179
- logic: xstate485.PromiseActorLogic<void, {
179
+ logic: xstate0.PromiseActorLogic<void, {
180
180
  getFileData: () => ArrayBuffer | null;
181
- }, xstate485.EventObject>;
181
+ }, xstate0.EventObject>;
182
182
  id: string | undefined;
183
183
  } ? T extends {
184
184
  src: TSrc;
185
- } ? xstate485.ConditionalRequired<[options?: ({
185
+ } ? xstate0.ConditionalRequired<[options?: ({
186
186
  id?: T["id"] | undefined;
187
187
  systemId?: string;
188
- input?: xstate485.InputFrom<T["logic"]> | undefined;
188
+ input?: xstate0.InputFrom<T["logic"]> | undefined;
189
189
  syncSnapshot?: boolean;
190
- } & { [K in xstate485.RequiredActorOptions<T>]: unknown }) | undefined], xstate485.IsNotNever<xstate485.RequiredActorOptions<T>>> : never : never : never) | ({
190
+ } & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never) | ({
191
191
  src: "fetchUnsignedDocs";
192
- logic: xstate485.PromiseActorLogic<UnsignedDocsResponse, void, xstate485.EventObject>;
192
+ logic: xstate0.PromiseActorLogic<UnsignedDocsResponse, void, xstate0.EventObject>;
193
193
  id: string | undefined;
194
194
  } extends infer T_1 ? T_1 extends {
195
195
  src: "fetchUnsignedDocs";
196
- logic: xstate485.PromiseActorLogic<UnsignedDocsResponse, void, xstate485.EventObject>;
196
+ logic: xstate0.PromiseActorLogic<UnsignedDocsResponse, void, xstate0.EventObject>;
197
197
  id: string | undefined;
198
198
  } ? T_1 extends {
199
199
  src: TSrc;
200
- } ? xstate485.ConditionalRequired<[options?: ({
200
+ } ? xstate0.ConditionalRequired<[options?: ({
201
201
  id?: T_1["id"] | undefined;
202
202
  systemId?: string;
203
- input?: xstate485.InputFrom<T_1["logic"]> | undefined;
203
+ input?: xstate0.InputFrom<T_1["logic"]> | undefined;
204
204
  syncSnapshot?: boolean;
205
- } & { [K_1 in xstate485.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate485.IsNotNever<xstate485.RequiredActorOptions<T_1>>> : never : never : never) | ({
205
+ } & { [K_1 in xstate0.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_1>>> : never : never : never) | ({
206
206
  src: "signDocuments";
207
- logic: xstate485.PromiseActorLogic<SignedDocument[], {
207
+ logic: xstate0.PromiseActorLogic<SignedDocument[], {
208
208
  documents: ElectronicSignatureDocument[];
209
209
  variant: ElectronicSignatureVariant;
210
- }, xstate485.EventObject>;
210
+ }, xstate0.EventObject>;
211
211
  id: string | undefined;
212
212
  } extends infer T_2 ? T_2 extends {
213
213
  src: "signDocuments";
214
- logic: xstate485.PromiseActorLogic<SignedDocument[], {
214
+ logic: xstate0.PromiseActorLogic<SignedDocument[], {
215
215
  documents: ElectronicSignatureDocument[];
216
216
  variant: ElectronicSignatureVariant;
217
- }, xstate485.EventObject>;
217
+ }, xstate0.EventObject>;
218
218
  id: string | undefined;
219
219
  } ? T_2 extends {
220
220
  src: TSrc;
221
- } ? xstate485.ConditionalRequired<[options?: ({
221
+ } ? xstate0.ConditionalRequired<[options?: ({
222
222
  id?: T_2["id"] | undefined;
223
223
  systemId?: string;
224
- input?: xstate485.InputFrom<T_2["logic"]> | undefined;
224
+ input?: xstate0.InputFrom<T_2["logic"]> | undefined;
225
225
  syncSnapshot?: boolean;
226
- } & { [K_2 in xstate485.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate485.IsNotNever<xstate485.RequiredActorOptions<T_2>>> : never : never : never)): xstate485.ActorRefFromLogic<xstate485.GetConcreteByKey<xstate485.Values<{
226
+ } & { [K_2 in xstate0.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_2>>> : never : never : never)): xstate0.ActorRefFromLogic<xstate0.GetConcreteByKey<xstate0.Values<{
227
227
  uploadDocument: {
228
228
  src: "uploadDocument";
229
- logic: xstate485.PromiseActorLogic<void, {
229
+ logic: xstate0.PromiseActorLogic<void, {
230
230
  getFileData: () => ArrayBuffer | null;
231
- }, xstate485.EventObject>;
231
+ }, xstate0.EventObject>;
232
232
  id: string | undefined;
233
233
  };
234
234
  fetchUnsignedDocs: {
235
235
  src: "fetchUnsignedDocs";
236
- logic: xstate485.PromiseActorLogic<UnsignedDocsResponse, void, xstate485.EventObject>;
236
+ logic: xstate0.PromiseActorLogic<UnsignedDocsResponse, void, xstate0.EventObject>;
237
237
  id: string | undefined;
238
238
  };
239
239
  signDocuments: {
240
240
  src: "signDocuments";
241
- logic: xstate485.PromiseActorLogic<SignedDocument[], {
241
+ logic: xstate0.PromiseActorLogic<SignedDocument[], {
242
242
  documents: ElectronicSignatureDocument[];
243
243
  variant: ElectronicSignatureVariant;
244
- }, xstate485.EventObject>;
244
+ }, xstate0.EventObject>;
245
245
  id: string | undefined;
246
246
  };
247
247
  }>, "src", TSrc>["logic"]>;
248
- <TLogic extends xstate485.AnyActorLogic>(src: TLogic, ...[options]: xstate485.ConditionalRequired<[options?: ({
248
+ <TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
249
249
  id?: never;
250
250
  systemId?: string;
251
- input?: xstate485.InputFrom<TLogic> | undefined;
251
+ input?: xstate0.InputFrom<TLogic> | undefined;
252
252
  syncSnapshot?: boolean;
253
- } & { [K in xstate485.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate485.IsNotNever<xstate485.RequiredLogicInput<TLogic>>>): xstate485.ActorRefFromLogic<TLogic>;
253
+ } & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
254
254
  };
255
255
  input: ElectronicSignatureInput;
256
- self: xstate485.ActorRef<xstate485.MachineSnapshot<ElectronicSignatureContext, {
256
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<ElectronicSignatureContext, {
257
257
  type: "LOAD";
258
258
  } | {
259
259
  type: "SELECT_FILE";
@@ -281,7 +281,7 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
281
281
  type: "RETRY";
282
282
  } | {
283
283
  type: "CLOSE";
284
- }, Record<string, xstate485.AnyActorRef | undefined>, xstate485.StateValue, string, unknown, any, any>, {
284
+ }, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
285
285
  type: "LOAD";
286
286
  } | {
287
287
  type: "SELECT_FILE";
@@ -309,7 +309,7 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
309
309
  type: "RETRY";
310
310
  } | {
311
311
  type: "CLOSE";
312
- }, xstate485.AnyEventObject>;
312
+ }, xstate0.AnyEventObject>;
313
313
  }) => {
314
314
  config: ElectronicSignatureConfig;
315
315
  getFileData: () => ArrayBuffer | null;
@@ -349,7 +349,7 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
349
349
  readonly on: {
350
350
  readonly REPLACE_FILE: {
351
351
  readonly target: "uploading";
352
- readonly actions: xstate485.ActionFunction<ElectronicSignatureContext, {
352
+ readonly actions: xstate0.ActionFunction<ElectronicSignatureContext, {
353
353
  type: "REPLACE_FILE";
354
354
  }, {
355
355
  type: "LOAD";
@@ -379,25 +379,25 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
379
379
  type: "RETRY";
380
380
  } | {
381
381
  type: "CLOSE";
382
- }, undefined, xstate485.Values<{
382
+ }, undefined, xstate0.Values<{
383
383
  uploadDocument: {
384
384
  src: "uploadDocument";
385
- logic: xstate485.PromiseActorLogic<void, {
385
+ logic: xstate0.PromiseActorLogic<void, {
386
386
  getFileData: () => ArrayBuffer | null;
387
- }, xstate485.EventObject>;
387
+ }, xstate0.EventObject>;
388
388
  id: string | undefined;
389
389
  };
390
390
  fetchUnsignedDocs: {
391
391
  src: "fetchUnsignedDocs";
392
- logic: xstate485.PromiseActorLogic<UnsignedDocsResponse, void, xstate485.EventObject>;
392
+ logic: xstate0.PromiseActorLogic<UnsignedDocsResponse, void, xstate0.EventObject>;
393
393
  id: string | undefined;
394
394
  };
395
395
  signDocuments: {
396
396
  src: "signDocuments";
397
- logic: xstate485.PromiseActorLogic<SignedDocument[], {
397
+ logic: xstate0.PromiseActorLogic<SignedDocument[], {
398
398
  documents: ElectronicSignatureDocument[];
399
399
  variant: ElectronicSignatureVariant;
400
- }, xstate485.EventObject>;
400
+ }, xstate0.EventObject>;
401
401
  id: string | undefined;
402
402
  };
403
403
  }>, never, never, never, never>;
@@ -447,7 +447,7 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
447
447
  } | {
448
448
  type: "CLOSE";
449
449
  };
450
- self: xstate485.ActorRef<xstate485.MachineSnapshot<ElectronicSignatureContext, {
450
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<ElectronicSignatureContext, {
451
451
  type: "LOAD";
452
452
  } | {
453
453
  type: "SELECT_FILE";
@@ -475,7 +475,7 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
475
475
  type: "RETRY";
476
476
  } | {
477
477
  type: "CLOSE";
478
- }, Record<string, xstate485.AnyActorRef>, xstate485.StateValue, string, unknown, any, any>, {
478
+ }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
479
479
  type: "LOAD";
480
480
  } | {
481
481
  type: "SELECT_FILE";
@@ -503,7 +503,7 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
503
503
  type: "RETRY";
504
504
  } | {
505
505
  type: "CLOSE";
506
- }, xstate485.AnyEventObject>;
506
+ }, xstate0.AnyEventObject>;
507
507
  }) => {
508
508
  getFileData: () => ArrayBuffer | null;
509
509
  };
@@ -512,7 +512,7 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
512
512
  };
513
513
  readonly onError: {
514
514
  readonly target: "error";
515
- readonly actions: xstate485.ActionFunction<ElectronicSignatureContext, xstate485.ErrorActorEvent<unknown, string>, {
515
+ readonly actions: xstate0.ActionFunction<ElectronicSignatureContext, xstate0.ErrorActorEvent<unknown, string>, {
516
516
  type: "LOAD";
517
517
  } | {
518
518
  type: "SELECT_FILE";
@@ -540,25 +540,25 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
540
540
  type: "RETRY";
541
541
  } | {
542
542
  type: "CLOSE";
543
- }, undefined, xstate485.Values<{
543
+ }, undefined, xstate0.Values<{
544
544
  uploadDocument: {
545
545
  src: "uploadDocument";
546
- logic: xstate485.PromiseActorLogic<void, {
546
+ logic: xstate0.PromiseActorLogic<void, {
547
547
  getFileData: () => ArrayBuffer | null;
548
- }, xstate485.EventObject>;
548
+ }, xstate0.EventObject>;
549
549
  id: string | undefined;
550
550
  };
551
551
  fetchUnsignedDocs: {
552
552
  src: "fetchUnsignedDocs";
553
- logic: xstate485.PromiseActorLogic<UnsignedDocsResponse, void, xstate485.EventObject>;
553
+ logic: xstate0.PromiseActorLogic<UnsignedDocsResponse, void, xstate0.EventObject>;
554
554
  id: string | undefined;
555
555
  };
556
556
  signDocuments: {
557
557
  src: "signDocuments";
558
- logic: xstate485.PromiseActorLogic<SignedDocument[], {
558
+ logic: xstate0.PromiseActorLogic<SignedDocument[], {
559
559
  documents: ElectronicSignatureDocument[];
560
560
  variant: ElectronicSignatureVariant;
561
- }, xstate485.EventObject>;
561
+ }, xstate0.EventObject>;
562
562
  id: string | undefined;
563
563
  };
564
564
  }>, never, never, never, never>;
@@ -575,7 +575,7 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
575
575
  readonly actions: "setDocuments";
576
576
  }, {
577
577
  readonly target: "error";
578
- readonly actions: xstate485.ActionFunction<ElectronicSignatureContext, xstate485.DoneActorEvent<UnsignedDocsResponse, string>, {
578
+ readonly actions: xstate0.ActionFunction<ElectronicSignatureContext, xstate0.DoneActorEvent<UnsignedDocsResponse, string>, {
579
579
  type: "LOAD";
580
580
  } | {
581
581
  type: "SELECT_FILE";
@@ -603,32 +603,32 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
603
603
  type: "RETRY";
604
604
  } | {
605
605
  type: "CLOSE";
606
- }, undefined, xstate485.Values<{
606
+ }, undefined, xstate0.Values<{
607
607
  uploadDocument: {
608
608
  src: "uploadDocument";
609
- logic: xstate485.PromiseActorLogic<void, {
609
+ logic: xstate0.PromiseActorLogic<void, {
610
610
  getFileData: () => ArrayBuffer | null;
611
- }, xstate485.EventObject>;
611
+ }, xstate0.EventObject>;
612
612
  id: string | undefined;
613
613
  };
614
614
  fetchUnsignedDocs: {
615
615
  src: "fetchUnsignedDocs";
616
- logic: xstate485.PromiseActorLogic<UnsignedDocsResponse, void, xstate485.EventObject>;
616
+ logic: xstate0.PromiseActorLogic<UnsignedDocsResponse, void, xstate0.EventObject>;
617
617
  id: string | undefined;
618
618
  };
619
619
  signDocuments: {
620
620
  src: "signDocuments";
621
- logic: xstate485.PromiseActorLogic<SignedDocument[], {
621
+ logic: xstate0.PromiseActorLogic<SignedDocument[], {
622
622
  documents: ElectronicSignatureDocument[];
623
623
  variant: ElectronicSignatureVariant;
624
- }, xstate485.EventObject>;
624
+ }, xstate0.EventObject>;
625
625
  id: string | undefined;
626
626
  };
627
627
  }>, never, never, never, never>;
628
628
  }];
629
629
  readonly onError: {
630
630
  readonly target: "error";
631
- readonly actions: xstate485.ActionFunction<ElectronicSignatureContext, xstate485.ErrorActorEvent<unknown, string>, {
631
+ readonly actions: xstate0.ActionFunction<ElectronicSignatureContext, xstate0.ErrorActorEvent<unknown, string>, {
632
632
  type: "LOAD";
633
633
  } | {
634
634
  type: "SELECT_FILE";
@@ -656,25 +656,25 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
656
656
  type: "RETRY";
657
657
  } | {
658
658
  type: "CLOSE";
659
- }, undefined, xstate485.Values<{
659
+ }, undefined, xstate0.Values<{
660
660
  uploadDocument: {
661
661
  src: "uploadDocument";
662
- logic: xstate485.PromiseActorLogic<void, {
662
+ logic: xstate0.PromiseActorLogic<void, {
663
663
  getFileData: () => ArrayBuffer | null;
664
- }, xstate485.EventObject>;
664
+ }, xstate0.EventObject>;
665
665
  id: string | undefined;
666
666
  };
667
667
  fetchUnsignedDocs: {
668
668
  src: "fetchUnsignedDocs";
669
- logic: xstate485.PromiseActorLogic<UnsignedDocsResponse, void, xstate485.EventObject>;
669
+ logic: xstate0.PromiseActorLogic<UnsignedDocsResponse, void, xstate0.EventObject>;
670
670
  id: string | undefined;
671
671
  };
672
672
  signDocuments: {
673
673
  src: "signDocuments";
674
- logic: xstate485.PromiseActorLogic<SignedDocument[], {
674
+ logic: xstate0.PromiseActorLogic<SignedDocument[], {
675
675
  documents: ElectronicSignatureDocument[];
676
676
  variant: ElectronicSignatureVariant;
677
- }, xstate485.EventObject>;
677
+ }, xstate0.EventObject>;
678
678
  id: string | undefined;
679
679
  };
680
680
  }>, never, never, never, never>;
@@ -738,7 +738,7 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
738
738
  } | {
739
739
  type: "CLOSE";
740
740
  };
741
- self: xstate485.ActorRef<xstate485.MachineSnapshot<ElectronicSignatureContext, {
741
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<ElectronicSignatureContext, {
742
742
  type: "LOAD";
743
743
  } | {
744
744
  type: "SELECT_FILE";
@@ -766,7 +766,7 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
766
766
  type: "RETRY";
767
767
  } | {
768
768
  type: "CLOSE";
769
- }, Record<string, xstate485.AnyActorRef>, xstate485.StateValue, string, unknown, any, any>, {
769
+ }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
770
770
  type: "LOAD";
771
771
  } | {
772
772
  type: "SELECT_FILE";
@@ -794,7 +794,7 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
794
794
  type: "RETRY";
795
795
  } | {
796
796
  type: "CLOSE";
797
- }, xstate485.AnyEventObject>;
797
+ }, xstate0.AnyEventObject>;
798
798
  }) => {
799
799
  documents: ElectronicSignatureDocument[];
800
800
  variant: ElectronicSignatureVariant;
@@ -809,7 +809,7 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
809
809
  readonly actions: "setSignedDocuments";
810
810
  }, {
811
811
  readonly target: "error";
812
- readonly actions: xstate485.ActionFunction<ElectronicSignatureContext, xstate485.DoneActorEvent<SignedDocument[], string>, {
812
+ readonly actions: xstate0.ActionFunction<ElectronicSignatureContext, xstate0.DoneActorEvent<SignedDocument[], string>, {
813
813
  type: "LOAD";
814
814
  } | {
815
815
  type: "SELECT_FILE";
@@ -837,32 +837,32 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
837
837
  type: "RETRY";
838
838
  } | {
839
839
  type: "CLOSE";
840
- }, undefined, xstate485.Values<{
840
+ }, undefined, xstate0.Values<{
841
841
  uploadDocument: {
842
842
  src: "uploadDocument";
843
- logic: xstate485.PromiseActorLogic<void, {
843
+ logic: xstate0.PromiseActorLogic<void, {
844
844
  getFileData: () => ArrayBuffer | null;
845
- }, xstate485.EventObject>;
845
+ }, xstate0.EventObject>;
846
846
  id: string | undefined;
847
847
  };
848
848
  fetchUnsignedDocs: {
849
849
  src: "fetchUnsignedDocs";
850
- logic: xstate485.PromiseActorLogic<UnsignedDocsResponse, void, xstate485.EventObject>;
850
+ logic: xstate0.PromiseActorLogic<UnsignedDocsResponse, void, xstate0.EventObject>;
851
851
  id: string | undefined;
852
852
  };
853
853
  signDocuments: {
854
854
  src: "signDocuments";
855
- logic: xstate485.PromiseActorLogic<SignedDocument[], {
855
+ logic: xstate0.PromiseActorLogic<SignedDocument[], {
856
856
  documents: ElectronicSignatureDocument[];
857
857
  variant: ElectronicSignatureVariant;
858
- }, xstate485.EventObject>;
858
+ }, xstate0.EventObject>;
859
859
  id: string | undefined;
860
860
  };
861
861
  }>, never, never, never, never>;
862
862
  }];
863
863
  readonly onError: {
864
864
  readonly target: "error";
865
- readonly actions: xstate485.ActionFunction<ElectronicSignatureContext, xstate485.ErrorActorEvent<unknown, string>, {
865
+ readonly actions: xstate0.ActionFunction<ElectronicSignatureContext, xstate0.ErrorActorEvent<unknown, string>, {
866
866
  type: "LOAD";
867
867
  } | {
868
868
  type: "SELECT_FILE";
@@ -890,25 +890,25 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
890
890
  type: "RETRY";
891
891
  } | {
892
892
  type: "CLOSE";
893
- }, undefined, xstate485.Values<{
893
+ }, undefined, xstate0.Values<{
894
894
  uploadDocument: {
895
895
  src: "uploadDocument";
896
- logic: xstate485.PromiseActorLogic<void, {
896
+ logic: xstate0.PromiseActorLogic<void, {
897
897
  getFileData: () => ArrayBuffer | null;
898
- }, xstate485.EventObject>;
898
+ }, xstate0.EventObject>;
899
899
  id: string | undefined;
900
900
  };
901
901
  fetchUnsignedDocs: {
902
902
  src: "fetchUnsignedDocs";
903
- logic: xstate485.PromiseActorLogic<UnsignedDocsResponse, void, xstate485.EventObject>;
903
+ logic: xstate0.PromiseActorLogic<UnsignedDocsResponse, void, xstate0.EventObject>;
904
904
  id: string | undefined;
905
905
  };
906
906
  signDocuments: {
907
907
  src: "signDocuments";
908
- logic: xstate485.PromiseActorLogic<SignedDocument[], {
908
+ logic: xstate0.PromiseActorLogic<SignedDocument[], {
909
909
  documents: ElectronicSignatureDocument[];
910
910
  variant: ElectronicSignatureVariant;
911
- }, xstate485.EventObject>;
911
+ }, xstate0.EventObject>;
912
912
  id: string | undefined;
913
913
  };
914
914
  }>, never, never, never, never>;
@@ -935,7 +935,7 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
935
935
  readonly RETRY: readonly [{
936
936
  readonly target: "uploading";
937
937
  readonly guard: "errorFromUpload";
938
- readonly actions: xstate485.ActionFunction<ElectronicSignatureContext, {
938
+ readonly actions: xstate0.ActionFunction<ElectronicSignatureContext, {
939
939
  type: "RETRY";
940
940
  }, {
941
941
  type: "LOAD";
@@ -965,32 +965,32 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
965
965
  type: "RETRY";
966
966
  } | {
967
967
  type: "CLOSE";
968
- }, undefined, xstate485.Values<{
968
+ }, undefined, xstate0.Values<{
969
969
  uploadDocument: {
970
970
  src: "uploadDocument";
971
- logic: xstate485.PromiseActorLogic<void, {
971
+ logic: xstate0.PromiseActorLogic<void, {
972
972
  getFileData: () => ArrayBuffer | null;
973
- }, xstate485.EventObject>;
973
+ }, xstate0.EventObject>;
974
974
  id: string | undefined;
975
975
  };
976
976
  fetchUnsignedDocs: {
977
977
  src: "fetchUnsignedDocs";
978
- logic: xstate485.PromiseActorLogic<UnsignedDocsResponse, void, xstate485.EventObject>;
978
+ logic: xstate0.PromiseActorLogic<UnsignedDocsResponse, void, xstate0.EventObject>;
979
979
  id: string | undefined;
980
980
  };
981
981
  signDocuments: {
982
982
  src: "signDocuments";
983
- logic: xstate485.PromiseActorLogic<SignedDocument[], {
983
+ logic: xstate0.PromiseActorLogic<SignedDocument[], {
984
984
  documents: ElectronicSignatureDocument[];
985
985
  variant: ElectronicSignatureVariant;
986
- }, xstate485.EventObject>;
986
+ }, xstate0.EventObject>;
987
987
  id: string | undefined;
988
988
  };
989
989
  }>, never, never, never, never>;
990
990
  }, {
991
991
  readonly target: "signing";
992
992
  readonly guard: "errorFromSigning";
993
- readonly actions: xstate485.ActionFunction<ElectronicSignatureContext, {
993
+ readonly actions: xstate0.ActionFunction<ElectronicSignatureContext, {
994
994
  type: "RETRY";
995
995
  }, {
996
996
  type: "LOAD";
@@ -1020,31 +1020,31 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
1020
1020
  type: "RETRY";
1021
1021
  } | {
1022
1022
  type: "CLOSE";
1023
- }, undefined, xstate485.Values<{
1023
+ }, undefined, xstate0.Values<{
1024
1024
  uploadDocument: {
1025
1025
  src: "uploadDocument";
1026
- logic: xstate485.PromiseActorLogic<void, {
1026
+ logic: xstate0.PromiseActorLogic<void, {
1027
1027
  getFileData: () => ArrayBuffer | null;
1028
- }, xstate485.EventObject>;
1028
+ }, xstate0.EventObject>;
1029
1029
  id: string | undefined;
1030
1030
  };
1031
1031
  fetchUnsignedDocs: {
1032
1032
  src: "fetchUnsignedDocs";
1033
- logic: xstate485.PromiseActorLogic<UnsignedDocsResponse, void, xstate485.EventObject>;
1033
+ logic: xstate0.PromiseActorLogic<UnsignedDocsResponse, void, xstate0.EventObject>;
1034
1034
  id: string | undefined;
1035
1035
  };
1036
1036
  signDocuments: {
1037
1037
  src: "signDocuments";
1038
- logic: xstate485.PromiseActorLogic<SignedDocument[], {
1038
+ logic: xstate0.PromiseActorLogic<SignedDocument[], {
1039
1039
  documents: ElectronicSignatureDocument[];
1040
1040
  variant: ElectronicSignatureVariant;
1041
- }, xstate485.EventObject>;
1041
+ }, xstate0.EventObject>;
1042
1042
  id: string | undefined;
1043
1043
  };
1044
1044
  }>, never, never, never, never>;
1045
1045
  }, {
1046
1046
  readonly target: "fetchingDocs";
1047
- readonly actions: xstate485.ActionFunction<ElectronicSignatureContext, {
1047
+ readonly actions: xstate0.ActionFunction<ElectronicSignatureContext, {
1048
1048
  type: "RETRY";
1049
1049
  }, {
1050
1050
  type: "LOAD";
@@ -1074,25 +1074,25 @@ declare const electronicSignatureMachine: xstate485.StateMachine<ElectronicSigna
1074
1074
  type: "RETRY";
1075
1075
  } | {
1076
1076
  type: "CLOSE";
1077
- }, undefined, xstate485.Values<{
1077
+ }, undefined, xstate0.Values<{
1078
1078
  uploadDocument: {
1079
1079
  src: "uploadDocument";
1080
- logic: xstate485.PromiseActorLogic<void, {
1080
+ logic: xstate0.PromiseActorLogic<void, {
1081
1081
  getFileData: () => ArrayBuffer | null;
1082
- }, xstate485.EventObject>;
1082
+ }, xstate0.EventObject>;
1083
1083
  id: string | undefined;
1084
1084
  };
1085
1085
  fetchUnsignedDocs: {
1086
1086
  src: "fetchUnsignedDocs";
1087
- logic: xstate485.PromiseActorLogic<UnsignedDocsResponse, void, xstate485.EventObject>;
1087
+ logic: xstate0.PromiseActorLogic<UnsignedDocsResponse, void, xstate0.EventObject>;
1088
1088
  id: string | undefined;
1089
1089
  };
1090
1090
  signDocuments: {
1091
1091
  src: "signDocuments";
1092
- logic: xstate485.PromiseActorLogic<SignedDocument[], {
1092
+ logic: xstate0.PromiseActorLogic<SignedDocument[], {
1093
1093
  documents: ElectronicSignatureDocument[];
1094
1094
  variant: ElectronicSignatureVariant;
1095
- }, xstate485.EventObject>;
1095
+ }, xstate0.EventObject>;
1096
1096
  id: string | undefined;
1097
1097
  };
1098
1098
  }>, never, never, never, never>;