@incodetech/core 0.0.0-dev-20260415-432dcaa → 0.0.0-dev-20260415-a89783e

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