onfido-sdk-ui 14.56.0 → 14.58.0

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 (60) hide show
  1. package/LICENSE +16 -1
  2. package/package.json +2 -2
  3. package/types/Events.d.ts +4 -4
  4. package/types/Onfido.d.ts +7 -4
  5. package/types/analytics/FlowStates.d.ts +81 -0
  6. package/types/capture-api/CrossDevice.d.ts +21 -0
  7. package/types/capture-api/CrossDevice.js +12 -0
  8. package/types/capture-api/Localisation.d.ts +5 -0
  9. package/types/capture-api/Localisation.js +1 -0
  10. package/types/capture-api/Module.d.ts +8 -0
  11. package/types/capture-api/Module.js +1 -0
  12. package/types/capture-api/SdkParameters.d.ts +41 -0
  13. package/types/capture-api/SdkParameters.js +6 -0
  14. package/types/capture-api/callbacks/analytics.d.ts +9 -0
  15. package/types/capture-api/callbacks/analytics.js +1 -0
  16. package/types/capture-api/callbacks/biometricsToken.d.ts +6 -0
  17. package/types/capture-api/callbacks/biometricsToken.js +1 -0
  18. package/types/capture-api/callbacks/callbacks.d.ts +13 -0
  19. package/types/capture-api/callbacks/callbacks.js +1 -0
  20. package/types/capture-api/callbacks/complete.d.ts +34 -0
  21. package/types/capture-api/callbacks/complete.js +1 -0
  22. package/types/capture-api/callbacks/error.d.ts +247 -0
  23. package/types/capture-api/callbacks/error.js +241 -0
  24. package/types/capture-api/callbacks/exit.d.ts +6 -0
  25. package/types/capture-api/callbacks/exit.js +6 -0
  26. package/types/capture-api/callbacks/media.d.ts +20 -0
  27. package/types/capture-api/callbacks/media.js +1 -0
  28. package/types/capture-api/index.d.ts +23 -0
  29. package/types/capture-api/index.js +24 -0
  30. package/types/capture-api/steps/Complete.d.ts +4 -0
  31. package/types/capture-api/steps/Complete.js +6 -0
  32. package/types/capture-api/steps/Document.d.ts +36 -0
  33. package/types/capture-api/steps/Document.js +21 -0
  34. package/types/capture-api/steps/Face.d.ts +23 -0
  35. package/types/capture-api/steps/Face.js +37 -0
  36. package/types/capture-api/steps/ProofOfAddress.d.ts +35 -0
  37. package/types/capture-api/steps/ProofOfAddress.js +30 -0
  38. package/types/capture-api/steps/Step.d.ts +15 -0
  39. package/types/capture-api/steps/Step.js +10 -0
  40. package/types/capture-api/steps/Welcome.d.ts +4 -0
  41. package/types/capture-api/steps/Welcome.js +6 -0
  42. package/types/capture-api/steps/index.d.ts +6 -0
  43. package/types/capture-api/steps/index.js +1 -0
  44. package/types/capture-api/theming/Branding.d.ts +8 -0
  45. package/types/capture-api/theming/Branding.js +1 -0
  46. package/types/capture-api/theming/ColorTokens.d.ts +3 -0
  47. package/types/capture-api/theming/ColorTokens.js +1 -0
  48. package/types/capture-api/theming/MediaResources.d.ts +34 -0
  49. package/types/capture-api/theming/MediaResources.js +26 -0
  50. package/types/capture-api/theming/Theme.d.ts +15 -0
  51. package/types/capture-api/theming/Theme.js +5 -0
  52. package/types/contract/module/Common.d.ts +1 -0
  53. package/types/contract/module/DocumentModule.d.ts +7 -2
  54. package/types/index.d.ts +1 -1
  55. package/types/loader.d.ts +17 -14
  56. package/types/shared/Error.d.ts +1 -1
  57. package/types/shared/Public.types.d.ts +47 -0
  58. package/types/shared/SdkParameters.d.ts +5 -5
  59. package/types/shared/Types.d.ts +5 -7
  60. package/types/shared/v15Typing.d.ts +15 -0
package/LICENSE CHANGED
@@ -9,6 +9,14 @@ at https://documentation.onfido.com/sdk/sdk-licenses/.
9
9
 
10
10
  ------------------
11
11
 
12
+ Name: @onfido/capture-api
13
+ Version: 0.0.0-master.2187611
14
+ License: null
15
+ Private: false
16
+ Repository: git@gitlab.eu-west-1.mgmt.onfido.xyz:onfido/sdks/capture-api.git
17
+
18
+ ---
19
+
12
20
  Name: @onfido/capture-shared
13
21
  Version: 2.24.9
14
22
  License: null
@@ -243,6 +251,13 @@ SOFTWARE.
243
251
 
244
252
  ---
245
253
 
254
+ Name: capture-module
255
+ Version: 3.13.0
256
+ License: null
257
+ Private: false
258
+
259
+ ---
260
+
246
261
  Name: js-cookie
247
262
  Version: 3.0.5
248
263
  License: MIT
@@ -278,7 +293,7 @@ SOFTWARE.
278
293
  ---
279
294
 
280
295
  Name: @onfido/capture-contract
281
- Version: 0.0.0-master.2089493
296
+ Version: 0.0.0-master.2163212
282
297
  License: null
283
298
  Private: false
284
299
  Description: Contracts for the SDKs and modules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "onfido-sdk-ui",
3
- "version": "14.56.0",
3
+ "version": "14.58.0",
4
4
  "description": "JavaScript SDK view layer for Onfido identity verification",
5
5
  "author": "Onfido Customer Support <support@onfido.com> (https://documentation.onfido.com/sdk/web/)",
6
6
  "repository": {
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "license": "SEE LICENSE in LICENSE",
11
11
  "main": "Onfido.js",
12
- "types": "types/loader.d.ts",
12
+ "types": "types/index.d.ts",
13
13
  "files": [
14
14
  "Onfido.js",
15
15
  "types"
package/types/Events.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import type { CaptureModule } from '../../../shared/src/Types';
2
- import type { SdkError } from '../../../shared/src/Error';
3
- import type { Event } from '../../../shared/src/EventEmitter';
4
- import type { CompleteData } from '../../../shared/src/SdkParameters';
1
+ import type { CaptureModule } from './shared/Types';
2
+ import type { SdkError } from './shared/Error';
3
+ import type { Event } from './shared/EventEmitter';
4
+ import type { CompleteData } from './shared/SdkParameters';
5
5
  export type ModuleEvent<T extends string> = {
6
6
  module: CaptureModule;
7
7
  id: string;
package/types/Onfido.d.ts CHANGED
@@ -1,13 +1,16 @@
1
1
  import type { CaptureRunEvents } from './Events';
2
- import { ClassicSdkParameters } from '../../../shared/src/SdkParameters';
3
- import type { Listener } from '../../../shared/src/EventEmitter';
4
- import { SdkParameters } from '../../../shared/src/SdkParameters';
5
- import { StudioSdkParameters } from '../../../shared/src/SdkParameters';
2
+ import { ClassicSdkParameters } from './shared/Public.types';
3
+ import { CrossDeviceSdkParameters } from './shared/Public.types';
4
+ import type { Listener } from './shared/EventEmitter';
5
+ import { SdkParameters } from './shared/Public.types';
6
+ import { StudioSdkParameters } from './shared/Public.types';
6
7
 
7
8
  export declare const backwardCompatibility: (parameter: SdkParameters) => SdkParameters;
8
9
 
9
10
  export { ClassicSdkParameters }
10
11
 
12
+ export { CrossDeviceSdkParameters }
13
+
11
14
  export declare type Handle = {
12
15
  addEventListener: <EventName extends keyof CaptureRunEvents>(eventName: EventName, listener: Listener<CaptureRunEvents[EventName]>) => void;
13
16
  removeEventListener: <EventName extends keyof CaptureRunEvents>(eventName: EventName, listener: Listener<CaptureRunEvents[EventName]>) => void;
@@ -0,0 +1,81 @@
1
+ /**
2
+ * Onfido SDK Analytics
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version:
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare class FlowStates {
13
+ 'flowErrorStates'?: FlowStatesFlowErrorStatesEnum
14
+ 'flowExitStates'?: FlowStatesFlowExitStatesEnum
15
+ 'flowInactiveReasons'?: FlowStatesFlowInactiveReasonsEnum
16
+ 'flowResumedReasons'?: FlowStatesFlowResumedReasonsEnum
17
+ constructor(props: {
18
+ flowErrorStates?: FlowStatesFlowErrorStatesEnum
19
+ flowExitStates?: FlowStatesFlowExitStatesEnum
20
+ flowInactiveReasons?: FlowStatesFlowInactiveReasonsEnum
21
+ flowResumedReasons?: FlowStatesFlowResumedReasonsEnum
22
+ })
23
+ }
24
+ export declare enum FlowStatesFlowErrorStatesEnum {
25
+ MicrophonePermissionDenied = 'MicrophonePermissionDenied',
26
+ CameraPermissionDenied = 'CameraPermissionDenied',
27
+ PermissionsUnavailable = 'PermissionsUnavailable',
28
+ CameraNotDetected = 'CameraNotDetected',
29
+ CameraException = 'CameraException',
30
+ FailedToWriteToDisk = 'FailedToWriteToDisk',
31
+ InvalidImageData = 'InvalidImageData',
32
+ WorkflowTaskAbandoned = 'WorkflowTaskAbandoned',
33
+ WorkflowTaskError = 'WorkflowTaskError',
34
+ BiometricTokenRetrievalException = 'BiometricTokenRetrievalException',
35
+ WorkflowBiometricTokenStorageException = 'WorkflowBiometricTokenStorageException',
36
+ CrossDeviceRestartError = 'CrossDeviceRestartError',
37
+ CrossDeviceDesktopError = 'CrossDeviceDesktopError',
38
+ CrossDeviceVerificationInvalidError = 'CrossDeviceVerificationInvalidError',
39
+ CrossDeviceVerificationAbortError = 'CrossDeviceVerificationAbortError',
40
+ InvalidToken = 'InvalidToken',
41
+ ExpiredToken = 'ExpiredToken',
42
+ ExpiredTrial = 'ExpiredTrial',
43
+ NetworkException = 'NetworkException',
44
+ UploadError = 'UploadError',
45
+ InitialisationInvalid = 'InitialisationInvalid',
46
+ SdkVersionInsufficient = 'SdkVersionInsufficient',
47
+ UnsupportedError = 'UnsupportedError',
48
+ UnsupportedFeatureError = 'UnsupportedFeatureError',
49
+ InvalidSdkParameter = 'InvalidSdkParameter',
50
+ FeaturesNotAuthorized = 'FeaturesNotAuthorized',
51
+ MissingSteps = 'MissingSteps',
52
+ DuplicateStep = 'DuplicateStep',
53
+ WelcomeMustBeFirstStep = 'WelcomeMustBeFirstStep',
54
+ WorkflowVersionMismatch = 'WorkflowVersionMismatch',
55
+ WorkflowInputError = 'WorkflowInputError',
56
+ MissingLogoCobrandingParameter = 'MissingLogoCobrandingParameter',
57
+ InvalidCustomTranslations = 'InvalidCustomTranslations',
58
+ InvalidCountryCode = 'InvalidCountryCode',
59
+ InvalidDocumentFormatAndCountryCombination = 'InvalidDocumentFormatAndCountryCombination',
60
+ InvalidDocumentTypeException = 'InvalidDocumentTypeException',
61
+ InvalidDocumentTitle = 'InvalidDocumentTitle',
62
+ DuplicateGenericDocument = 'DuplicateGenericDocument',
63
+ NfcInputNotAvailable = 'NfcInputNotAvailable',
64
+ AppTerminated = 'AppTerminated',
65
+ GenericException = 'GenericException',
66
+ GeoBlocked = 'GeoBlocked',
67
+ ModuleLoadError = 'ModuleLoadError',
68
+ }
69
+ export declare enum FlowStatesFlowExitStatesEnum {
70
+ UserExit = 'UserExit',
71
+ ConsentDenied = 'ConsentDenied',
72
+ RequiredNfcNotCompleted = 'RequiredNfcNotCompleted',
73
+ }
74
+ export declare enum FlowStatesFlowInactiveReasonsEnum {
75
+ AppInBackground = 'AppInBackground',
76
+ AppInactive = 'AppInactive',
77
+ }
78
+ export declare enum FlowStatesFlowResumedReasonsEnum {
79
+ AppBackInForeground = 'AppBackInForeground',
80
+ AppBackToActive = 'AppBackToActive',
81
+ }
@@ -0,0 +1,21 @@
1
+ export declare enum CrossDeviceMethod {
2
+ CopyLink = "copy_link",
3
+ QrCode = "qr_code",
4
+ Sms = "sms"
5
+ }
6
+ export declare enum CrossDevicePolicy {
7
+ Enable = "enable",
8
+ Disable = "disable",
9
+ Force = "force"
10
+ }
11
+ export type CrossDevice = {
12
+ methods?: CrossDeviceMethod[];
13
+ policy?: CrossDevicePolicy;
14
+ sms?: {
15
+ countryCode?: string;
16
+ phoneNumber?: string;
17
+ };
18
+ verification?: boolean;
19
+ confirmation?: boolean;
20
+ qrCodeRefresh?: boolean;
21
+ };
@@ -0,0 +1,12 @@
1
+ export var CrossDeviceMethod;
2
+ (function (CrossDeviceMethod) {
3
+ CrossDeviceMethod["CopyLink"] = "copy_link";
4
+ CrossDeviceMethod["QrCode"] = "qr_code";
5
+ CrossDeviceMethod["Sms"] = "sms";
6
+ })(CrossDeviceMethod || (CrossDeviceMethod = {}));
7
+ export var CrossDevicePolicy;
8
+ (function (CrossDevicePolicy) {
9
+ CrossDevicePolicy["Enable"] = "enable";
10
+ CrossDevicePolicy["Disable"] = "disable";
11
+ CrossDevicePolicy["Force"] = "force";
12
+ })(CrossDevicePolicy || (CrossDevicePolicy = {}));
@@ -0,0 +1,5 @@
1
+ export type Localisation = {
2
+ language?: string;
3
+ allowedLanguages?: string[];
4
+ overrides?: Record<string, Record<string, string>>;
5
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ export type HostedModule = {
2
+ module: string;
3
+ version?: string;
4
+ };
5
+ export type ExternalModule = {
6
+ name: string;
7
+ url: string;
8
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,41 @@
1
+ import type { Localisation } from './Localisation.js';
2
+ import type { Theme } from './theming/Theme.js';
3
+ import type { KnownStep } from './steps/index.js';
4
+ import type { CrossDevice } from './CrossDevice.js';
5
+ type CommonSdkParameters = {
6
+ sdkToken: string;
7
+ configuration?: Configuration;
8
+ };
9
+ export type Configuration = {
10
+ disableAnalytics?: boolean;
11
+ theme?: Theme;
12
+ localisation?: Localisation;
13
+ navigation?: Navigation;
14
+ };
15
+ export type Navigation = {
16
+ navigationBar: NavigationBar;
17
+ };
18
+ export declare enum NavigationBar {
19
+ BackAndExit = "BackAndExit",
20
+ BackOnly = "BackOnly",
21
+ Hidden = "Hidden"
22
+ }
23
+ export type SdkParameters = StudioParameters | ClassicParameters;
24
+ export type StudioParameters = CommonSdkParameters;
25
+ export type ClassicParameters = {
26
+ steps: KnownStep[];
27
+ } & CommonSdkParameters;
28
+ export type CrossDeviceParameters = CommonSdkParameters & {
29
+ roomId?: string;
30
+ };
31
+ export type WebSdk = {
32
+ containerEl?: HTMLElement;
33
+ containerId?: string;
34
+ configuration?: Configuration & {
35
+ crossDevice?: CrossDevice;
36
+ };
37
+ };
38
+ export type Wrapper = never;
39
+ export type WebSdkParameters = SdkParameters & WebSdk;
40
+ export type WrapperSdkParameters = SdkParameters & Wrapper;
41
+ export {};
@@ -0,0 +1,6 @@
1
+ export var NavigationBar;
2
+ (function (NavigationBar) {
3
+ NavigationBar["BackAndExit"] = "BackAndExit";
4
+ NavigationBar["BackOnly"] = "BackOnly";
5
+ NavigationBar["Hidden"] = "Hidden";
6
+ })(NavigationBar || (NavigationBar = {}));
@@ -0,0 +1,9 @@
1
+ export type AnalyticsCallback = (event: IdvEvent) => void;
2
+ export type IdvEvent = {
3
+ identifier: string;
4
+ eventMetadata: EventMetadata;
5
+ };
6
+ export type EventMetadata = {
7
+ runtimeId: string;
8
+ generatedAt: string;
9
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export type BiometricsTokenRequestedCallback = (customerHash: string) => string;
2
+ export type BiometricsTokenGeneratedCallback = (customerUserHash: string, encryptedBiometricToken: string) => void;
3
+ export type BiometricsTokenHandler = {
4
+ onTokenRequested: BiometricsTokenRequestedCallback;
5
+ onTokenGenerated: BiometricsTokenGeneratedCallback;
6
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,13 @@
1
+ import type { AnalyticsCallback } from './analytics.js';
2
+ import type { BiometricsTokenHandler } from './biometricsToken.js';
3
+ import type { CompleteCallback } from './complete.js';
4
+ import type { UserExitCallback } from './exit.js';
5
+ import type { MediaCallback } from './media.js';
6
+ export type Callbacks = {
7
+ onComplete: CompleteCallback;
8
+ onError: ErrorCallback;
9
+ onUserExit: UserExitCallback;
10
+ onMedia?: MediaCallback;
11
+ onAnalytics?: AnalyticsCallback;
12
+ biometricsTokenHandler?: BiometricsTokenHandler;
13
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,34 @@
1
+ import type { ProofOfAddressType } from '../steps/ProofOfAddress.js';
2
+ import type { StepNames } from '../steps/Step.js';
3
+ export type CompleteCallback = (result: Record<string, CaptureResult>) => void;
4
+ export type CaptureResult = FacePhotoCaptureResult;
5
+ export type FacePhotoCaptureResult = {
6
+ type: StepNames.FacePhoto;
7
+ id: string;
8
+ };
9
+ export type FaceVideoCaptureResult = {
10
+ type: StepNames.FaceVideo;
11
+ id: string;
12
+ };
13
+ export type FaceMotionCaptureResult = {
14
+ type: StepNames.FaceMotion;
15
+ id: string;
16
+ };
17
+ export type DocumentSide = {
18
+ id: string;
19
+ videoId: string;
20
+ };
21
+ export type DocumentSides = {
22
+ front?: DocumentSide;
23
+ back?: DocumentSide;
24
+ };
25
+ export type DocumentCaptureResult = {
26
+ type: StepNames.Document;
27
+ sides: DocumentSides;
28
+ countryCode: string;
29
+ };
30
+ export type ProofOfAddressCaptureResult = {
31
+ type: StepNames.ProofOfAddress;
32
+ documentType: ProofOfAddressType;
33
+ sides: DocumentSides;
34
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,247 @@
1
+ declare enum ErrorCategory {
2
+ Authentication = "Authentication",
3
+ DeviceCapabilities = "DeviceCapabilities",
4
+ General = "General",
5
+ Initialisation = "Initialisation",
6
+ Network = "Network",
7
+ Permissions = "Permissions",
8
+ Processing = "Processing"
9
+ }
10
+ export type Error = {
11
+ uuid: string;
12
+ type: ErrorType;
13
+ category: ErrorCategory;
14
+ message: string;
15
+ };
16
+ export type ErrorCallback = (error: Error) => void;
17
+ export declare enum ErrorType {
18
+ BiometricTokenRetrievalException = "BiometricTokenRetrievalException",
19
+ CameraException = "CameraException",
20
+ CameraNotDetected = "CameraNotDetected",
21
+ CrossDeviceDesktopError = "CrossDeviceDesktopError",
22
+ CrossDeviceRestartError = "CrossDeviceRestartError",
23
+ CrossDeviceVerificationAbortError = "CrossDeviceVerificationAbortError",
24
+ CrossDeviceVerificationInvalidError = "CrossDeviceVerificationInvalidError",
25
+ DuplicateGenericDocument = "DuplicateGenericDocument",
26
+ DuplicateStep = "DuplicateStep",
27
+ ExpiredToken = "ExpiredToken",
28
+ ExpiredTrial = "ExpiredTrial",
29
+ FeaturesNotAuthorized = "FeaturesNotAuthorized",
30
+ GenericException = "GenericException",
31
+ GeoBlocked = "GeoBlocked",
32
+ InitialisationInvalid = "InitialisationInvalid",
33
+ InvalidCountryCode = "InvalidCountryCode",
34
+ InvalidCustomTranslations = "InvalidCustomTranslations",
35
+ InvalidDocumentFormatAndCountryCombination = "InvalidDocumentFormatAndCountryCombination",
36
+ InvalidDocumentTitle = "InvalidDocumentTitle",
37
+ InvalidDocumentTypeException = "InvalidDocumentTypeException",
38
+ InvalidImageData = "InvalidImageData",
39
+ InvalidSdkParameter = "InvalidSdkParameter",
40
+ InvalidToken = "InvalidToken",
41
+ MissingLogoCobrandingParameter = "MissingLogoCobrandingParameter",
42
+ MissingSteps = "MissingSteps",
43
+ ModuleLoadError = "ModuleLoadError",
44
+ NetworkException = "NetworkException",
45
+ PermissionsUnavailable = "PermissionsUnavailable",
46
+ SdkVersionInsufficient = "SdkVersionInsufficient",
47
+ UnsupportedError = "UnsupportedError",
48
+ UnsupportedFeatureError = "UnsupportedFeatureError",
49
+ UploadError = "UploadError",
50
+ WelcomeMustBeFirstStep = "WelcomeMustBeFirstStep",
51
+ WorkflowBiometricTokenStorageException = "WorkflowBiometricTokenStorageException",
52
+ WorkflowInputError = "WorkflowInputError",
53
+ WorkflowTaskAbandoned = "WorkflowTaskAbandoned",
54
+ WorkflowTaskError = "WorkflowTaskError",
55
+ WorkflowVersionMismatch = "WorkflowVersionMismatch"
56
+ }
57
+ export declare const BiometricTokenRetrievalException: {
58
+ type: ErrorType;
59
+ category: ErrorCategory;
60
+ message: string;
61
+ };
62
+ export declare const CameraException: {
63
+ type: ErrorType;
64
+ category: ErrorCategory;
65
+ message: string;
66
+ };
67
+ export declare const CameraNotDetected: {
68
+ type: ErrorType;
69
+ category: ErrorCategory;
70
+ message: string;
71
+ };
72
+ export declare const CrossDeviceDesktopError: {
73
+ type: ErrorType;
74
+ category: ErrorCategory;
75
+ message: string;
76
+ };
77
+ export declare const CrossDeviceRestartError: {
78
+ type: ErrorType;
79
+ category: ErrorCategory;
80
+ message: string;
81
+ };
82
+ export declare const CrossDeviceVerificationAbortError: {
83
+ type: ErrorType;
84
+ category: ErrorCategory;
85
+ message: string;
86
+ };
87
+ export declare const CrossDeviceVerificationInvalidError: {
88
+ type: ErrorType;
89
+ category: ErrorCategory;
90
+ message: string;
91
+ };
92
+ export declare const DuplicateGenericDocument: {
93
+ type: ErrorType;
94
+ category: ErrorCategory;
95
+ message: string;
96
+ };
97
+ export declare const DuplicateStep: {
98
+ type: ErrorType;
99
+ category: ErrorCategory;
100
+ message: string;
101
+ };
102
+ export declare const ExpiredToken: {
103
+ type: ErrorType;
104
+ category: ErrorCategory;
105
+ message: string;
106
+ };
107
+ export declare const ExpiredTrial: {
108
+ type: ErrorType;
109
+ category: ErrorCategory;
110
+ message: string;
111
+ };
112
+ export declare const FeaturesNotAuthorized: {
113
+ type: ErrorType;
114
+ category: ErrorCategory;
115
+ message: string;
116
+ };
117
+ export declare const GenericException: {
118
+ type: ErrorType;
119
+ category: ErrorCategory;
120
+ message: string;
121
+ };
122
+ export declare const GeoBlocked: {
123
+ type: ErrorType;
124
+ category: ErrorCategory;
125
+ message: string;
126
+ };
127
+ export declare const InitialisationInvalid: {
128
+ type: ErrorType;
129
+ category: ErrorCategory;
130
+ message: string;
131
+ };
132
+ export declare const InvalidCountryCode: {
133
+ type: ErrorType;
134
+ category: ErrorCategory;
135
+ message: string;
136
+ };
137
+ export declare const InvalidCustomTranslations: {
138
+ type: ErrorType;
139
+ category: ErrorCategory;
140
+ message: string;
141
+ };
142
+ export declare const InvalidDocumentFormatAndCountryCombination: {
143
+ type: ErrorType;
144
+ category: ErrorCategory;
145
+ message: string;
146
+ };
147
+ export declare const InvalidDocumentTitle: {
148
+ type: ErrorType;
149
+ category: ErrorCategory;
150
+ message: string;
151
+ };
152
+ export declare const InvalidDocumentTypeException: {
153
+ type: ErrorType;
154
+ category: ErrorCategory;
155
+ message: string;
156
+ };
157
+ export declare const InvalidImageData: {
158
+ type: ErrorType;
159
+ category: ErrorCategory;
160
+ message: string;
161
+ };
162
+ export declare const InvalidSdkParameter: {
163
+ type: ErrorType;
164
+ category: ErrorCategory;
165
+ message: string;
166
+ };
167
+ export declare const InvalidToken: {
168
+ type: ErrorType;
169
+ category: ErrorCategory;
170
+ message: string;
171
+ };
172
+ export declare const MissingLogoCobrandingParameter: {
173
+ type: ErrorType;
174
+ category: ErrorCategory;
175
+ message: string;
176
+ };
177
+ export declare const MissingSteps: {
178
+ type: ErrorType;
179
+ category: ErrorCategory;
180
+ message: string;
181
+ };
182
+ export declare const ModuleLoadError: {
183
+ type: ErrorType;
184
+ category: ErrorCategory;
185
+ message: string;
186
+ };
187
+ export declare const NetworkException: {
188
+ type: ErrorType;
189
+ category: ErrorCategory;
190
+ message: string;
191
+ };
192
+ export declare const PermissionsUnavailable: {
193
+ type: ErrorType;
194
+ category: ErrorCategory;
195
+ message: string;
196
+ };
197
+ export declare const SdkVersionInsufficient: {
198
+ type: ErrorType;
199
+ category: ErrorCategory;
200
+ message: string;
201
+ };
202
+ export declare const UnsupportedError: {
203
+ type: ErrorType;
204
+ category: ErrorCategory;
205
+ message: string;
206
+ };
207
+ export declare const UnsupportedFeatureError: {
208
+ type: ErrorType;
209
+ category: ErrorCategory;
210
+ message: string;
211
+ };
212
+ export declare const UploadError: {
213
+ type: ErrorType;
214
+ category: ErrorCategory;
215
+ message: string;
216
+ };
217
+ export declare const WelcomeMustBeFirstStep: {
218
+ type: ErrorType;
219
+ category: ErrorCategory;
220
+ message: string;
221
+ };
222
+ export declare const WorkflowBiometricTokenStorageException: {
223
+ type: ErrorType;
224
+ category: ErrorCategory;
225
+ message: string;
226
+ };
227
+ export declare const WorkflowInputError: {
228
+ type: ErrorType;
229
+ category: ErrorCategory;
230
+ message: string;
231
+ };
232
+ export declare const WorkflowTaskAbandoned: {
233
+ type: ErrorType;
234
+ category: ErrorCategory;
235
+ message: string;
236
+ };
237
+ export declare const WorkflowTaskError: {
238
+ type: ErrorType;
239
+ category: ErrorCategory;
240
+ message: string;
241
+ };
242
+ export declare const WorkflowVersionMismatch: {
243
+ type: ErrorType;
244
+ category: ErrorCategory;
245
+ message: string;
246
+ };
247
+ export {};