@widergy/web-utils
Version:
Utility GO! Web utils
34 lines (33 loc) • 690 B
TypeScript
export interface AllValuesInterface {
[k: string]: any;
}
export interface DocumentValidationInterface {
dni: string;
dne: string;
dnr: string;
cuit: string;
other: string;
provincial_ci: string;
identity_card: string;
enlistment_book: string;
cert_of_document_in_proccess: string;
passport: string;
civic_notebook: string;
default: string;
rut: string;
}
export interface APIError {
message?: string;
code: string;
meta?: any;
status: number;
}
export interface ResponseError {
errors: Array<APIError>;
}
export interface Response {
error: ResponseError;
ok: boolean;
status: number;
data: any;
}