UNPKG

@widergy/web-utils

Version:
35 lines (34 loc) 740 B
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; } export type JsonObject = Record<string, unknown>;