@idfy/sdk
Version:
Node.js SDK for Idfy REST API
56 lines (55 loc) • 1.67 kB
TypeScript
import { SocialSecurityNumber } from './SocialSecurityNumber';
export interface ExtendedDocumentSignature {
/**
* The signer's unique identifier.
*/
signerId?: string;
/**
* Your reference for the signer.
*/
externalSignerId?: string;
/**
* The signature method used to sign the document.
*/
signatureMethod?: ExtendedDocumentSignature.SignatureMethodEnum;
/**
* The signer's full name, retrieved from the signature-method provider.
*/
fullName?: string;
/**
* The signer's first name.
*/
firstName?: string;
/**
* The signer's last name.
*/
lastName?: string;
/**
* The signer's middle name.
*/
middleName?: string;
/**
* Time at which the signature was registered (ISO 8601).
*/
signedTime?: Date;
/**
* The signer's date of birth (ddMMyy).
*/
dateOfBirth?: string;
/**
* The signature method unique ID.
*/
signatureMethodUniqueId?: string;
/**
* The signer's social security number. Will be retrieved only when
* `getSocialSecurityNumber` is specified when creating the document.
*/
socialSecurityNumber?: SocialSecurityNumber;
/**
* The IP address of the signer.
*/
clientIp?: string;
}
export declare namespace ExtendedDocumentSignature {
type SignatureMethodEnum = 'no_bankid' | 'no_bankid_mobile' | 'no_bankid_netcentric' | 'no_buypass' | 'no_commfides' | 'se_bankid' | 'dk_nemid' | 'fi_tupas' | 'fi_mobiilivarmenne' | 'nl_digid' | 'es_dni' | 'ee_esteid' | 'mobile_connect' | 'sms_otp' | 'identification_papers' | 'social' | 'unknown';
}