"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.metadata=void 0;const query_1=require("@b/utils/query");exports.metadata={summary:"Deletes a binary order",operationId:"deleteBinaryOrder",tags:["Admin","Binary Order"],parameters:(0,query_1.deleteRecordParams)("binary order"),responses:(0,query_1.deleteRecordResponses)("Binary Order"),requiresAuth:!0,permission:"delete.binary.order",logModule:"ADMIN_FIN",logTitle:"Delete Binary Order"};exports.default=async e=>{const{params:r,query:t,ctx:a}=e;return(0,query_1.handleSingleDelete)({model:"binaryOrder",id:r.id,query:t})};