@idfy/sdk
Version:
Node.js SDK for Idfy REST API
23 lines (22 loc) • 968 B
TypeScript
export interface DocumentStatusSummary {
/**
* The overall status of the document.
*/
documentStatus?: DocumentStatusSummary.DocumentStatusEnum;
/**
* A list of all the completed files/packages for the main document.
*/
completedPackages?: DocumentStatusSummary.CompletedPackagesEnum[];
/**
* A set of key-value pairs with all the completed packages for the signable attachments,
* where the key is equal to the attachment's ID.
*/
attachmentPackages?: {
[key: string]: DocumentStatusSummary.AttachmentPackagesEnum[];
};
}
export declare namespace DocumentStatusSummary {
type DocumentStatusEnum = 'unsigned' | 'waiting_for_attachments' | 'partialsigned' | 'signed' | 'canceled' | 'expired';
type CompletedPackagesEnum = 'unsigned' | 'native' | 'standard_packaging' | 'pades' | 'xades';
type AttachmentPackagesEnum = 'unsigned' | 'native' | 'standard_packaging' | 'pades' | 'xades';
}