feat(parity): implement Bloques 1, 2 y 3 complete feature parity v0.7.0-beta
This commit is contained in:
@@ -19,4 +19,11 @@ export const hardwareApi = {
|
||||
body: JSON.stringify({ modulo_id: moduloId, motivo, ticket_id: ticketId }),
|
||||
});
|
||||
},
|
||||
|
||||
manualClose: (moduloId: number, motivo: string = 'CIERRE_FORZADO_GUARDIA', ticketId: number = 0) => {
|
||||
return request<HardwareCommandResponse>(`/hardware/modules/${moduloId}/close`, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ modulo_id: moduloId, motivo, ticket_id: ticketId }),
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user