@incodetech/core 0.0.0-dev-20260619-079080ef → 0.0.0-dev-20260619-1a83dce8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/ae-signature.d.ts +1 -1
  2. package/dist/certificate-issuance.d.ts +28 -28
  3. package/dist/consent.d.ts +1 -1
  4. package/dist/{consentManager-CNdr6JTS.d.ts → consentManager-Db9wi58G.d.ts} +4 -4
  5. package/dist/cpf-ocr.d.ts +1 -1
  6. package/dist/{cpfOcrManager-CII4qiF3.d.ts → cpfOcrManager-mRqoJpuc.d.ts} +17 -17
  7. package/dist/document-capture.d.ts +219 -219
  8. package/dist/document-upload.d.ts +43 -43
  9. package/dist/ekyb.esm.js +3 -3
  10. package/dist/{ekybStateMachine-QTzXIpYn.esm.js → ekybStateMachine-CGWkbabr.esm.js} +1 -1
  11. package/dist/electronic-signature.d.ts +1 -1
  12. package/dist/extensibility.d.ts +4 -4
  13. package/dist/extensibility.esm.js +3 -3
  14. package/dist/flow.d.ts +2 -2
  15. package/dist/flow.esm.js +2 -2
  16. package/dist/{flowServices-D8s6m_vV.esm.js → flowServices-m0XGyIdp.esm.js} +1 -1
  17. package/dist/home.d.ts +10 -10
  18. package/dist/id-ocr.d.ts +55 -55
  19. package/dist/id-verification.d.ts +25 -25
  20. package/dist/id.esm.js +3 -3
  21. package/dist/{idCaptureManager-DGOx_GUR.esm.js → idCaptureManager-meEl1EIJ.esm.js} +1 -1
  22. package/dist/{idCaptureStateMachine-CJZ3IiLy.esm.js → idCaptureStateMachine-qyKXy9ih.esm.js} +1 -1
  23. package/dist/identity-reuse.d.ts +1 -1
  24. package/dist/{identityReuseManager-TPAY6co6.d.ts → identityReuseManager-DUorwa0F.d.ts} +31 -31
  25. package/dist/{index-Cj3_GDq0.d.ts → index-CQ_RCtYX.d.ts} +168 -168
  26. package/dist/index.esm.js +2 -2
  27. package/dist/mandatory-consent.d.ts +1 -1
  28. package/dist/{mandatoryConsentManager-Cl85NSyv.d.ts → mandatoryConsentManager-C110qB5L.d.ts} +50 -50
  29. package/dist/qe-signature.d.ts +1 -1
  30. package/dist/session.esm.js +1 -1
  31. package/dist/{sessionInitializer-HcxgaiK9.esm.js → sessionInitializer-faB0_FtL.esm.js} +1 -1
  32. package/dist/{setup-CUFC_ryX.esm.js → setup-CkQVqxtw.esm.js} +1 -1
  33. package/dist/trust-graph.d.ts +2 -2
  34. package/dist/wasm.esm.js +2 -2
  35. package/dist/workflow.d.ts +140 -140
  36. package/dist/workflow.esm.js +4 -4
  37. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-B2OEDYqf.js";
2
2
  import "./Actor-fIPLXfoi.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-Cj3_GDq0.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-CQ_RCtYX.js";
4
4
 
5
5
  //#region src/modules/ae-signature/index.d.ts
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-B2OEDYqf.js";
2
2
  import "./Actor-fIPLXfoi.js";
3
- import * as xstate799 from "xstate";
3
+ import * as xstate703 from "xstate";
4
4
 
5
5
  //#region src/modules/certificate-issuance/certificateIssuanceConstants.d.ts
6
6
  declare const MIN_PASSWORD_LENGTH = 8;
@@ -39,7 +39,7 @@ type CertificateIssuanceContext = {
39
39
  type CertificateIssuanceInput = {
40
40
  config: CertificateIssuanceConfig;
41
41
  };
42
- declare const certificateIssuanceMachine: xstate799.StateMachine<CertificateIssuanceContext, {
42
+ declare const certificateIssuanceMachine: xstate703.StateMachine<CertificateIssuanceContext, {
43
43
  type: "LOAD";
44
44
  } | {
45
45
  type: "PASSWORD_CHANGED";
@@ -53,28 +53,28 @@ declare const certificateIssuanceMachine: xstate799.StateMachine<CertificateIssu
53
53
  } | {
54
54
  type: "FINISH";
55
55
  }, {
56
- [x: string]: xstate799.ActorRefFromLogic<xstate799.PromiseActorLogic<IssueCertificateResponse, {
56
+ [x: string]: xstate703.ActorRefFromLogic<xstate703.PromiseActorLogic<IssueCertificateResponse, {
57
57
  password: string;
58
- }, xstate799.EventObject>> | undefined;
58
+ }, xstate703.EventObject>> | undefined;
59
59
  }, {
60
60
  src: "issueCertificate";
61
- logic: xstate799.PromiseActorLogic<IssueCertificateResponse, {
61
+ logic: xstate703.PromiseActorLogic<IssueCertificateResponse, {
62
62
  password: string;
63
- }, xstate799.EventObject>;
63
+ }, xstate703.EventObject>;
64
64
  id: string | undefined;
65
- }, xstate799.Values<{
65
+ }, xstate703.Values<{
66
66
  setPassword: {
67
67
  type: "setPassword";
68
- params: xstate799.NonReducibleUnknown;
68
+ params: xstate703.NonReducibleUnknown;
69
69
  };
70
70
  setBlob: {
71
71
  type: "setBlob";
72
- params: xstate799.NonReducibleUnknown;
72
+ params: xstate703.NonReducibleUnknown;
73
73
  };
74
74
  }>, {
75
75
  type: "isPasswordValid";
76
76
  params: unknown;
77
- }, never, "error" | "idle" | "processing" | "success" | "finished" | "password" | "downloaded", string, CertificateIssuanceInput, xstate799.NonReducibleUnknown, xstate799.EventObject, xstate799.MetaObject, {
77
+ }, never, "error" | "idle" | "processing" | "success" | "finished" | "password" | "downloaded", string, CertificateIssuanceInput, xstate703.NonReducibleUnknown, xstate703.EventObject, xstate703.MetaObject, {
78
78
  readonly id: "certificateIssuance";
79
79
  readonly initial: "idle";
80
80
  readonly context: ({
@@ -83,39 +83,39 @@ declare const certificateIssuanceMachine: xstate799.StateMachine<CertificateIssu
83
83
  spawn: {
84
84
  <TSrc extends "issueCertificate">(logic: TSrc, ...[options]: {
85
85
  src: "issueCertificate";
86
- logic: xstate799.PromiseActorLogic<IssueCertificateResponse, {
86
+ logic: xstate703.PromiseActorLogic<IssueCertificateResponse, {
87
87
  password: string;
88
- }, xstate799.EventObject>;
88
+ }, xstate703.EventObject>;
89
89
  id: string | undefined;
90
90
  } extends infer T ? T extends {
91
91
  src: "issueCertificate";
92
- logic: xstate799.PromiseActorLogic<IssueCertificateResponse, {
92
+ logic: xstate703.PromiseActorLogic<IssueCertificateResponse, {
93
93
  password: string;
94
- }, xstate799.EventObject>;
94
+ }, xstate703.EventObject>;
95
95
  id: string | undefined;
96
96
  } ? T extends {
97
97
  src: TSrc;
98
- } ? xstate799.ConditionalRequired<[options?: ({
98
+ } ? xstate703.ConditionalRequired<[options?: ({
99
99
  id?: T["id"] | undefined;
100
100
  systemId?: string;
101
- input?: xstate799.InputFrom<T["logic"]> | undefined;
101
+ input?: xstate703.InputFrom<T["logic"]> | undefined;
102
102
  syncSnapshot?: boolean;
103
- } & { [K in xstate799.RequiredActorOptions<T>]: unknown }) | undefined], xstate799.IsNotNever<xstate799.RequiredActorOptions<T>>> : never : never : never): xstate799.ActorRefFromLogic<xstate799.GetConcreteByKey<{
103
+ } & { [K in xstate703.RequiredActorOptions<T>]: unknown }) | undefined], xstate703.IsNotNever<xstate703.RequiredActorOptions<T>>> : never : never : never): xstate703.ActorRefFromLogic<xstate703.GetConcreteByKey<{
104
104
  src: "issueCertificate";
105
- logic: xstate799.PromiseActorLogic<IssueCertificateResponse, {
105
+ logic: xstate703.PromiseActorLogic<IssueCertificateResponse, {
106
106
  password: string;
107
- }, xstate799.EventObject>;
107
+ }, xstate703.EventObject>;
108
108
  id: string | undefined;
109
109
  }, "src", TSrc>["logic"]>;
110
- <TLogic extends xstate799.AnyActorLogic>(src: TLogic, ...[options]: xstate799.ConditionalRequired<[options?: ({
110
+ <TLogic extends xstate703.AnyActorLogic>(src: TLogic, ...[options]: xstate703.ConditionalRequired<[options?: ({
111
111
  id?: never;
112
112
  systemId?: string;
113
- input?: xstate799.InputFrom<TLogic> | undefined;
113
+ input?: xstate703.InputFrom<TLogic> | undefined;
114
114
  syncSnapshot?: boolean;
115
- } & { [K in xstate799.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate799.IsNotNever<xstate799.RequiredLogicInput<TLogic>>>): xstate799.ActorRefFromLogic<TLogic>;
115
+ } & { [K in xstate703.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate703.IsNotNever<xstate703.RequiredLogicInput<TLogic>>>): xstate703.ActorRefFromLogic<TLogic>;
116
116
  };
117
117
  input: CertificateIssuanceInput;
118
- self: xstate799.ActorRef<xstate799.MachineSnapshot<CertificateIssuanceContext, {
118
+ self: xstate703.ActorRef<xstate703.MachineSnapshot<CertificateIssuanceContext, {
119
119
  type: "LOAD";
120
120
  } | {
121
121
  type: "PASSWORD_CHANGED";
@@ -128,7 +128,7 @@ declare const certificateIssuanceMachine: xstate799.StateMachine<CertificateIssu
128
128
  type: "DOWNLOAD_FAILED";
129
129
  } | {
130
130
  type: "FINISH";
131
- }, Record<string, xstate799.AnyActorRef | undefined>, xstate799.StateValue, string, unknown, any, any>, {
131
+ }, Record<string, xstate703.AnyActorRef | undefined>, xstate703.StateValue, string, unknown, any, any>, {
132
132
  type: "LOAD";
133
133
  } | {
134
134
  type: "PASSWORD_CHANGED";
@@ -141,7 +141,7 @@ declare const certificateIssuanceMachine: xstate799.StateMachine<CertificateIssu
141
141
  type: "DOWNLOAD_FAILED";
142
142
  } | {
143
143
  type: "FINISH";
144
- }, xstate799.AnyEventObject>;
144
+ }, xstate703.AnyEventObject>;
145
145
  }) => {
146
146
  config: CertificateIssuanceConfig;
147
147
  password: string;
@@ -189,7 +189,7 @@ declare const certificateIssuanceMachine: xstate799.StateMachine<CertificateIssu
189
189
  } | {
190
190
  type: "FINISH";
191
191
  };
192
- self: xstate799.ActorRef<xstate799.MachineSnapshot<CertificateIssuanceContext, {
192
+ self: xstate703.ActorRef<xstate703.MachineSnapshot<CertificateIssuanceContext, {
193
193
  type: "LOAD";
194
194
  } | {
195
195
  type: "PASSWORD_CHANGED";
@@ -202,7 +202,7 @@ declare const certificateIssuanceMachine: xstate799.StateMachine<CertificateIssu
202
202
  type: "DOWNLOAD_FAILED";
203
203
  } | {
204
204
  type: "FINISH";
205
- }, Record<string, xstate799.AnyActorRef>, xstate799.StateValue, string, unknown, any, any>, {
205
+ }, Record<string, xstate703.AnyActorRef>, xstate703.StateValue, string, unknown, any, any>, {
206
206
  type: "LOAD";
207
207
  } | {
208
208
  type: "PASSWORD_CHANGED";
@@ -215,7 +215,7 @@ declare const certificateIssuanceMachine: xstate799.StateMachine<CertificateIssu
215
215
  type: "DOWNLOAD_FAILED";
216
216
  } | {
217
217
  type: "FINISH";
218
- }, xstate799.AnyEventObject>;
218
+ }, xstate703.AnyEventObject>;
219
219
  }) => {
220
220
  password: string;
221
221
  };
package/dist/consent.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import "./Manager-B2OEDYqf.js";
2
2
  import "./Actor-fIPLXfoi.js";
3
- import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-CNdr6JTS.js";
3
+ import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-Db9wi58G.js";
4
4
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -78,14 +78,14 @@ declare const consentMachine: xstate1529.StateMachine<ConsentContext, {
78
78
  type: "setError";
79
79
  params: xstate1529.NonReducibleUnknown;
80
80
  };
81
- clearError: {
82
- type: "clearError";
83
- params: xstate1529.NonReducibleUnknown;
84
- };
85
81
  resetContext: {
86
82
  type: "resetContext";
87
83
  params: xstate1529.NonReducibleUnknown;
88
84
  };
85
+ clearError: {
86
+ type: "clearError";
87
+ params: xstate1529.NonReducibleUnknown;
88
+ };
89
89
  setConsentData: {
90
90
  type: "setConsentData";
91
91
  params: xstate1529.NonReducibleUnknown;
package/dist/cpf-ocr.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./Manager-B2OEDYqf.js";
2
2
  import "./Actor-fIPLXfoi.js";
3
- import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-CII4qiF3.js";
3
+ import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-mRqoJpuc.js";
4
4
 
5
5
  //#region src/modules/cpf-ocr/cpfOcrUtils.d.ts
6
6
  declare function formatCPF(value: string): string;
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-B2OEDYqf.js";
2
2
  import { t as ActorRefFrom } from "./Actor-fIPLXfoi.js";
3
- import * as xstate1504 from "xstate";
3
+ import * as xstate1350 from "xstate";
4
4
 
5
5
  //#region src/modules/cpf-ocr/types.d.ts
6
6
  type CpfOcrDataResponse = {
@@ -17,7 +17,7 @@ type CpfOcrContext = {
17
17
  error: string | undefined;
18
18
  };
19
19
  type CpfOcrInput = Record<string, never>;
20
- declare const cpfOcrMachine: xstate1504.StateMachine<CpfOcrContext, {
20
+ declare const cpfOcrMachine: xstate1350.StateMachine<CpfOcrContext, {
21
21
  type: "LOAD";
22
22
  } | {
23
23
  type: "SET_CPF";
@@ -27,43 +27,43 @@ declare const cpfOcrMachine: xstate1504.StateMachine<CpfOcrContext, {
27
27
  } | {
28
28
  type: "RETRY";
29
29
  }, {
30
- [x: string]: xstate1504.ActorRefFromLogic<xstate1504.PromiseActorLogic<CpfOcrDataResponse, void, xstate1504.EventObject>> | xstate1504.ActorRefFromLogic<xstate1504.PromiseActorLogic<CpfOcrUpdateResponse, {
30
+ [x: string]: xstate1350.ActorRefFromLogic<xstate1350.PromiseActorLogic<CpfOcrDataResponse, void, xstate1350.EventObject>> | xstate1350.ActorRefFromLogic<xstate1350.PromiseActorLogic<CpfOcrUpdateResponse, {
31
31
  cpf: string;
32
- }, xstate1504.EventObject>> | undefined;
33
- }, xstate1504.Values<{
32
+ }, xstate1350.EventObject>> | undefined;
33
+ }, xstate1350.Values<{
34
34
  fetchCpfOcrData: {
35
35
  src: "fetchCpfOcrData";
36
- logic: xstate1504.PromiseActorLogic<CpfOcrDataResponse, void, xstate1504.EventObject>;
36
+ logic: xstate1350.PromiseActorLogic<CpfOcrDataResponse, void, xstate1350.EventObject>;
37
37
  id: string | undefined;
38
38
  };
39
39
  submitCpfOcr: {
40
40
  src: "submitCpfOcr";
41
- logic: xstate1504.PromiseActorLogic<CpfOcrUpdateResponse, {
41
+ logic: xstate1350.PromiseActorLogic<CpfOcrUpdateResponse, {
42
42
  cpf: string;
43
- }, xstate1504.EventObject>;
43
+ }, xstate1350.EventObject>;
44
44
  id: string | undefined;
45
45
  };
46
- }>, xstate1504.Values<{
46
+ }>, xstate1350.Values<{
47
47
  setError: {
48
48
  type: "setError";
49
- params: xstate1504.NonReducibleUnknown;
49
+ params: xstate1350.NonReducibleUnknown;
50
50
  };
51
51
  clearError: {
52
52
  type: "clearError";
53
- params: xstate1504.NonReducibleUnknown;
53
+ params: xstate1350.NonReducibleUnknown;
54
54
  };
55
55
  setPrefill: {
56
56
  type: "setPrefill";
57
- params: xstate1504.NonReducibleUnknown;
57
+ params: xstate1350.NonReducibleUnknown;
58
58
  };
59
59
  setCpf: {
60
60
  type: "setCpf";
61
- params: xstate1504.NonReducibleUnknown;
61
+ params: xstate1350.NonReducibleUnknown;
62
62
  };
63
63
  }>, {
64
64
  type: "isValid";
65
65
  params: unknown;
66
- }, never, "error" | "idle" | "finished" | "loading" | "submitting" | "inputting", string, CpfOcrInput, xstate1504.NonReducibleUnknown, xstate1504.EventObject, xstate1504.MetaObject, {
66
+ }, never, "error" | "idle" | "finished" | "loading" | "inputting" | "submitting", string, CpfOcrInput, xstate1350.NonReducibleUnknown, xstate1350.EventObject, xstate1350.MetaObject, {
67
67
  readonly id: "cpfOcr";
68
68
  readonly initial: "idle";
69
69
  readonly context: {
@@ -118,7 +118,7 @@ declare const cpfOcrMachine: xstate1504.StateMachine<CpfOcrContext, {
118
118
  } | {
119
119
  type: "RETRY";
120
120
  };
121
- self: xstate1504.ActorRef<xstate1504.MachineSnapshot<CpfOcrContext, {
121
+ self: xstate1350.ActorRef<xstate1350.MachineSnapshot<CpfOcrContext, {
122
122
  type: "LOAD";
123
123
  } | {
124
124
  type: "SET_CPF";
@@ -127,7 +127,7 @@ declare const cpfOcrMachine: xstate1504.StateMachine<CpfOcrContext, {
127
127
  type: "SUBMIT";
128
128
  } | {
129
129
  type: "RETRY";
130
- }, Record<string, xstate1504.AnyActorRef>, xstate1504.StateValue, string, unknown, any, any>, {
130
+ }, Record<string, xstate1350.AnyActorRef>, xstate1350.StateValue, string, unknown, any, any>, {
131
131
  type: "LOAD";
132
132
  } | {
133
133
  type: "SET_CPF";
@@ -136,7 +136,7 @@ declare const cpfOcrMachine: xstate1504.StateMachine<CpfOcrContext, {
136
136
  type: "SUBMIT";
137
137
  } | {
138
138
  type: "RETRY";
139
- }, xstate1504.AnyEventObject>;
139
+ }, xstate1350.AnyEventObject>;
140
140
  }) => {
141
141
  cpf: string;
142
142
  };