// const removeDuplicateWithdrawExists = [...new Set(Object.values(checkWithdrawExists))] // const withdrawExists: boolean = lodash.every( // removeDuplicateWithdrawExists, // v => !lodash.isNil(v) || !lodash.isEmpty(v), // ) // if (withdrawExists && body.status == EWithdrawStatus.DRAFT) { // throw apiResponse(status.NOT_FOUND, 'inquiryId required') // }