WIP jordan
This commit is contained in:
69
app/types/brokerage-registration.ts
Normal file
69
app/types/brokerage-registration.ts
Normal file
@@ -0,0 +1,69 @@
|
||||
/** Natural-person client row (NUEVO REGISTRO | CLIENTE) */
|
||||
export type ClientRegistrationNatural = {
|
||||
id: string
|
||||
economicGroupId: string
|
||||
conglomerateId: string
|
||||
personType: 'natural' | 'juridica'
|
||||
apellidoPaterno: string
|
||||
apellidoMaterno: string
|
||||
primerNombre: string
|
||||
segundoNombre: string
|
||||
fechaNacimiento: string
|
||||
tipoIdentificacion: string
|
||||
cedulaOPasaporte: string
|
||||
telefonoCelular: string
|
||||
correoElectronicoPersonal: string
|
||||
ocupacion: string
|
||||
procedencia: string
|
||||
detalle: string
|
||||
descripcion: string
|
||||
}
|
||||
|
||||
export type ClientCaptureMeta = {
|
||||
operadorId: string
|
||||
operadorNombre: string
|
||||
fechaCaptura: string
|
||||
progresoCapturaPct: number
|
||||
estado: string
|
||||
}
|
||||
|
||||
export type PolicyCommissionRow = {
|
||||
idx: number
|
||||
agenteId: string
|
||||
porcentaje: string
|
||||
}
|
||||
|
||||
export type PolicyInstallmentRow = {
|
||||
n: number
|
||||
fechaVencimiento: string
|
||||
prima: string
|
||||
}
|
||||
|
||||
export type PolicyRegistration = {
|
||||
mintPolicyNumber: string
|
||||
contratanteId: string
|
||||
ramo: string
|
||||
subRamo: string
|
||||
aseguradora: string
|
||||
producto: string
|
||||
agencia: string
|
||||
numeroPolizaProveedor: string
|
||||
acreedor: string
|
||||
fechaEmision: string
|
||||
inicioVigencia: string
|
||||
finVigencia: string
|
||||
comisiones: PolicyCommissionRow[]
|
||||
formaPago: string
|
||||
valorAsegurado: string
|
||||
primaBruta: string
|
||||
impuestoPct: string
|
||||
primaNeta: string
|
||||
numCuotas: number
|
||||
cuotas: PolicyInstallmentRow[]
|
||||
cotizacionMintId: string
|
||||
pdfCotizacionNombre: string
|
||||
pdfPolizaNombre: string
|
||||
notas: string
|
||||
}
|
||||
|
||||
export const POLICY_DRAFT_STORAGE_KEY = 'policy-registration-draft-v1'
|
||||
Reference in New Issue
Block a user