@hauser1993/kyc-sdk
Version:
Your custom version of Ballerine web UI SDK - an open-source infrastructure for user identity and risk management. Compose verification processes for any vertical and geography using modular building blocks, components, and 3rd party integrations.
36 lines • 1.27 kB
TypeScript
import { ObjectValues, TDecisionStatus } from '../../contexts/app-state/types';
export declare const EventTypes: {
readonly SYNC_FLOW_COMPLETE: "sync_flow_complete";
readonly ASYNC_FLOW_COMPLETE: "async_flow_complete";
readonly VERIFICATION_UPDATE: "verification_update";
readonly NAVIGATION_UPDATE: "navigation_update";
readonly BUTTON_CLICK: "button_click";
readonly FLOW_ERROR: "flow_error";
};
export type TEventTypes = ObjectValues<typeof EventTypes>;
export declare const ActionNames: {
CLOSE: string;
};
export type TActionNames = ObjectValues<typeof ActionNames>;
export declare const VerificationStatuses: {
readonly COMPLETED: "completed";
readonly PENDING: "pending";
readonly ERROR: "error";
readonly DATA_COLLECTION: "data_collection";
};
export type TVerificationStatuses = ObjectValues<typeof VerificationStatuses>;
export interface ISendDocumentsResponse {
status: 'success' | 'fail';
}
export interface IDocumentVerificationResponse {
status: TVerificationStatuses;
idvResult?: TDecisionStatus;
code?: number;
reasonCode?: number;
}
export interface IOuterEvent {
eventName: string;
config: Record<string, string>;
shouldExit: boolean;
}
//# sourceMappingURL=types.d.ts.map