Ya perdí el hilo de los cambios pero ahi van.
This commit is contained in:
		
							
								
								
									
										10
									
								
								Frontend/src/models/dtos/Contables/CreateNotaDto.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								Frontend/src/models/dtos/Contables/CreateNotaDto.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| export interface CreateNotaDto { | ||||
|   destino: 'Distribuidores' | 'Canillas'; | ||||
|   idDestino: number; | ||||
|   referencia?: string | null; | ||||
|   tipo: 'Debito' | 'Credito'; | ||||
|   fecha: string; // "yyyy-MM-dd" | ||||
|   monto: number; | ||||
|   observaciones?: string | null; | ||||
|   idEmpresa: number; | ||||
| } | ||||
| @@ -0,0 +1,10 @@ | ||||
| export interface CreatePagoDistribuidorDto { | ||||
|   idDistribuidor: number; | ||||
|   fecha: string; // "yyyy-MM-dd" | ||||
|   tipoMovimiento: 'Recibido' | 'Realizado'; | ||||
|   recibo: number; | ||||
|   monto: number; | ||||
|   idTipoPago: number; | ||||
|   detalle?: string | null; | ||||
|   idEmpresa: number; | ||||
| } | ||||
							
								
								
									
										13
									
								
								Frontend/src/models/dtos/Contables/NotaCreditoDebitoDto.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								Frontend/src/models/dtos/Contables/NotaCreditoDebitoDto.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| export interface NotaCreditoDebitoDto { | ||||
|   idNota: number; | ||||
|   destino: 'Distribuidores' | 'Canillas'; | ||||
|   idDestino: number; | ||||
|   nombreDestinatario: string; | ||||
|   referencia?: string | null; | ||||
|   tipo: 'Debito' | 'Credito'; | ||||
|   fecha: string; // "yyyy-MM-dd" | ||||
|   monto: number; | ||||
|   observaciones?: string | null; | ||||
|   idEmpresa: number; | ||||
|   nombreEmpresa: string; | ||||
| } | ||||
							
								
								
									
										14
									
								
								Frontend/src/models/dtos/Contables/PagoDistribuidorDto.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								Frontend/src/models/dtos/Contables/PagoDistribuidorDto.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| export interface PagoDistribuidorDto { | ||||
|   idPago: number; | ||||
|   idDistribuidor: number; | ||||
|   nombreDistribuidor: string; | ||||
|   fecha: string; // "yyyy-MM-dd" | ||||
|   tipoMovimiento: 'Recibido' | 'Realizado'; | ||||
|   recibo: number; | ||||
|   monto: number; | ||||
|   idTipoPago: number; | ||||
|   nombreTipoPago: string; | ||||
|   detalle?: string | null; | ||||
|   idEmpresa: number; | ||||
|   nombreEmpresa: string; | ||||
| } | ||||
							
								
								
									
										4
									
								
								Frontend/src/models/dtos/Contables/UpdateNotaDto.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								Frontend/src/models/dtos/Contables/UpdateNotaDto.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| export interface UpdateNotaDto { | ||||
|   monto: number; | ||||
|   observaciones?: string | null; | ||||
| } | ||||
| @@ -0,0 +1,5 @@ | ||||
| export interface UpdatePagoDistribuidorDto { | ||||
|   monto: number; | ||||
|   idTipoPago: number; | ||||
|   detalle?: string | null; | ||||
| } | ||||
| @@ -0,0 +1,10 @@ | ||||
| export interface ControlDevolucionesDto { | ||||
|   idControl: number; | ||||
|   idEmpresa: number; | ||||
|   nombreEmpresa: string; | ||||
|   fecha: string; // "yyyy-MM-dd" | ||||
|   entrada: number; | ||||
|   sobrantes: number; | ||||
|   detalle?: string | null; | ||||
|   sinCargo: number; | ||||
| } | ||||
| @@ -0,0 +1,7 @@ | ||||
| import type { EntradaSalidaCanillaItemDto } from './EntradaSalidaCanillaItemDto'; | ||||
|  | ||||
| export interface CreateBulkEntradaSalidaCanillaDto { | ||||
|   idCanilla: number; | ||||
|   fecha: string; // "yyyy-MM-dd" | ||||
|   items: EntradaSalidaCanillaItemDto[]; | ||||
| } | ||||
| @@ -0,0 +1,8 @@ | ||||
| export interface CreateControlDevolucionesDto { | ||||
|   idEmpresa: number; | ||||
|   fecha: string; // "yyyy-MM-dd" | ||||
|   entrada: number; | ||||
|   sobrantes: number; | ||||
|   detalle?: string | null; | ||||
|   sinCargo: number; | ||||
| } | ||||
| @@ -0,0 +1,8 @@ | ||||
| export interface CreateEntradaSalidaCanillaDto { | ||||
|   idPublicacion: number; | ||||
|   idCanilla: number; | ||||
|   fecha: string; // "yyyy-MM-dd" | ||||
|   cantSalida: number; | ||||
|   cantEntrada: number; | ||||
|   observacion?: string | null; | ||||
| } | ||||
| @@ -0,0 +1,22 @@ | ||||
| export interface EntradaSalidaCanillaDto { | ||||
|   idParte: number; | ||||
|   idPublicacion: number; | ||||
|   nombrePublicacion: string; | ||||
|   idCanilla: number; | ||||
|   nomApeCanilla: string; | ||||
|   canillaEsAccionista: boolean; | ||||
|   fecha: string; // "yyyy-MM-dd" | ||||
|   cantSalida: number; | ||||
|   cantEntrada: number; | ||||
|   vendidos: number; | ||||
|   observacion?: string | null; | ||||
|   liquidado: boolean; | ||||
|   fechaLiquidado?: string | null; // "yyyy-MM-dd" | ||||
|   userLiq?: number | null; | ||||
|   nombreUserLiq?: string | null; | ||||
|   montoARendir: number; | ||||
|   precioUnitarioAplicado: number; | ||||
|   recargoAplicado: number; | ||||
|   porcentajeOMontoCanillaAplicado: number; | ||||
|   esPorcentajeCanilla: boolean; | ||||
| } | ||||
| @@ -0,0 +1,6 @@ | ||||
| export interface EntradaSalidaCanillaItemDto { | ||||
|   idPublicacion: number; | ||||
|   cantSalida: number; | ||||
|   cantEntrada: number; | ||||
|   observacion?: string | null; | ||||
| } | ||||
| @@ -0,0 +1,4 @@ | ||||
| export interface LiquidarMovimientosCanillaRequestDto { | ||||
|   idsPartesALiquidar: number[]; | ||||
|   fechaLiquidacion: string; // "yyyy-MM-dd" | ||||
| } | ||||
| @@ -0,0 +1,6 @@ | ||||
| export interface UpdateControlDevolucionesDto { | ||||
|   entrada: number; | ||||
|   sobrantes: number; | ||||
|   detalle?: string | null; | ||||
|   sinCargo: number; | ||||
| } | ||||
| @@ -0,0 +1,5 @@ | ||||
| export interface UpdateEntradaSalidaCanillaDto { | ||||
|   cantSalida: number; | ||||
|   cantEntrada: number; | ||||
|   observacion?: string | null; | ||||
| } | ||||
							
								
								
									
										14
									
								
								Frontend/src/models/dtos/Radios/CancionDto.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								Frontend/src/models/dtos/Radios/CancionDto.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| export interface CancionDto { | ||||
|   id: number; | ||||
|   tema?: string | null; | ||||
|   compositorAutor?: string | null; | ||||
|   interprete?: string | null; | ||||
|   sello?: string | null; | ||||
|   placa?: string | null; | ||||
|   pista?: number | null; | ||||
|   introduccion?: string | null; | ||||
|   idRitmo?: number | null; | ||||
|   nombreRitmo?: string | null; | ||||
|   formato?: string | null; | ||||
|   album?: string | null; | ||||
| } | ||||
							
								
								
									
										12
									
								
								Frontend/src/models/dtos/Radios/CreateCancionDto.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								Frontend/src/models/dtos/Radios/CreateCancionDto.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| export interface CreateCancionDto { | ||||
|   tema?: string | null; | ||||
|   compositorAutor?: string | null; | ||||
|   interprete?: string | null; | ||||
|   sello?: string | null; | ||||
|   placa?: string | null; | ||||
|   pista?: number | null; | ||||
|   introduccion?: string | null; | ||||
|   idRitmo?: number | null; | ||||
|   formato?: string | null; | ||||
|   album?: string | null; | ||||
| } | ||||
							
								
								
									
										3
									
								
								Frontend/src/models/dtos/Radios/CreateRitmoDto.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								Frontend/src/models/dtos/Radios/CreateRitmoDto.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| export interface CreateRitmoDto { | ||||
|   nombreRitmo: string; // Al crear, usualmente es requerido | ||||
| } | ||||
| @@ -0,0 +1,6 @@ | ||||
| export interface GenerarListaRadioRequestDto { | ||||
|   mes: number; | ||||
|   anio: number; | ||||
|   institucion: "AADI" | "SADAIC"; // Tipos literales para restricción | ||||
|   radio: "FM 99.1" | "FM 100.3";   // Tipos literales para restricción | ||||
| } | ||||
							
								
								
									
										4
									
								
								Frontend/src/models/dtos/Radios/RitmoDto.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								Frontend/src/models/dtos/Radios/RitmoDto.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| export interface RitmoDto { | ||||
|   id: number; | ||||
|   nombreRitmo?: string | null; // La BD permite NULL para la columna Ritmo | ||||
| } | ||||
							
								
								
									
										12
									
								
								Frontend/src/models/dtos/Radios/UpdateCancionDto.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								Frontend/src/models/dtos/Radios/UpdateCancionDto.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| export interface UpdateCancionDto { | ||||
|   tema?: string | null; | ||||
|   compositorAutor?: string | null; | ||||
|   interprete?: string | null; | ||||
|   sello?: string | null; | ||||
|   placa?: string | null; | ||||
|   pista?: number | null; | ||||
|   introduccion?: string | null; | ||||
|   idRitmo?: number | null; | ||||
|   formato?: string | null; | ||||
|   album?: string | null; | ||||
| } | ||||
							
								
								
									
										3
									
								
								Frontend/src/models/dtos/Radios/UpdateRitmoDto.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								Frontend/src/models/dtos/Radios/UpdateRitmoDto.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| export interface UpdateRitmoDto { | ||||
|   nombreRitmo: string; | ||||
| } | ||||
| @@ -0,0 +1,27 @@ | ||||
| export interface UsuarioHistorialDto { | ||||
|   idHist: number; | ||||
|   idUsuarioAfectado: number; | ||||
|   userAfectado: string; | ||||
|  | ||||
|   userAnt?: string | null; | ||||
|   userNvo: string; | ||||
|   habilitadaAnt?: boolean | null; | ||||
|   habilitadaNva: boolean; | ||||
|   supAdminAnt?: boolean | null; | ||||
|   supAdminNvo: boolean; | ||||
|   nombreAnt?: string | null; | ||||
|   nombreNvo: string; | ||||
|   apellidoAnt?: string | null; | ||||
|   apellidoNvo: string; | ||||
|   idPerfilAnt?: number | null; | ||||
|   idPerfilNvo: number; | ||||
|   nombrePerfilAnt?: string | null; | ||||
|   nombrePerfilNvo: string; | ||||
|   debeCambiarClaveAnt?: boolean | null; | ||||
|   debeCambiarClaveNva: boolean; | ||||
|  | ||||
|   idUsuarioModifico: number; | ||||
|   nombreUsuarioModifico: string; | ||||
|   fechaModificacion: string; // vendrá como string ISO "2023-10-27T10:30:00" | ||||
|   tipoModificacion: string; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user