@regulaforensics/idv-capture-web 2.3.128-nightly → 2.3.129-nightly

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.
package/dist/index.d.ts CHANGED
@@ -106,12 +106,6 @@ export declare enum ConnectionError {
106
106
  PROVIDER_ERROR = 1
107
107
  }
108
108
 
109
- declare type CurrentScreenConfig = {
110
- templateId: string;
111
- sessionId?: string;
112
- serviceToken?: string;
113
- } & Record<string, any>;
114
-
115
109
  export declare enum DeinitializationError {
116
110
  INITIALIZATION_REQUIRED = 0,
117
111
  SCENARIO_IN_PROGRESS = 3
@@ -141,6 +135,7 @@ export declare class IdvIntegrationService {
141
135
  startWorkflow(metadata?: Record<string, unknown>): Promise<WorkflowCompletion>;
142
136
  deinitialize(): Promise<DeinitializeCompletion>;
143
137
  /** service commands */
138
+ get version(): string;
144
139
  setNonce(id: string): void;
145
140
  set eventListener(callback: (message: IdvMessageEvent) => void);
146
141
  set sessionRestoreMode(isEnabled: boolean);
@@ -222,7 +217,11 @@ export declare enum ScenarioError {
222
217
 
223
218
  declare type ScenarioResults = {
224
219
  sessionId?: string;
225
- finalStep?: WorkflowStep;
220
+ finalStep?: {
221
+ id: string;
222
+ name: string;
223
+ final: boolean;
224
+ };
226
225
  } & Record<string, any>;
227
226
 
228
227
  export declare enum SessionError {
@@ -258,7 +257,7 @@ declare type Workflow = {
258
257
  steps: Array<WorkflowStep>;
259
258
  client: {
260
259
  layout: Record<string, any>;
261
- steps: Array<CurrentScreenConfig>;
260
+ steps: Array<WorkflowStepClientGui>;
262
261
  };
263
262
  } & Record<string, any>;
264
263
 
@@ -292,6 +291,13 @@ declare type WorkflowStep = {
292
291
  id: string;
293
292
  name: string;
294
293
  final: boolean;
294
+ client?: Record<string, unknown> | WorkflowStepClientGui;
295
+ dataSource: Record<string, unknown> | null;
295
296
  } & Record<string, any>;
296
297
 
298
+ declare type WorkflowStepClientGui = {
299
+ templateId: string;
300
+ templateLayout: Record<string, unknown>;
301
+ };
302
+
297
303
  export { }