|
|
@ -593,13 +593,13 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
body: {
|
|
|
|
body: {
|
|
|
|
type: "object",
|
|
|
|
type: "object",
|
|
|
|
required: ["customerId", "hardwareId", "comments", "call_status", "call_time"],
|
|
|
|
// required: ["customerId", "hardwareId", "comments", "call_status", "call_time"],
|
|
|
|
properties: {
|
|
|
|
properties: {
|
|
|
|
customerId: { type: "string", minLength: 1 },
|
|
|
|
customerId: { type: "string"},
|
|
|
|
hardwareId: { type: "string", minLength: 1 },
|
|
|
|
hardwareId: { type: "string" },
|
|
|
|
comments: { type: "string", minLength: 1 },
|
|
|
|
comments: { type: "string"},
|
|
|
|
call_status: { type: "string", minLength: 1 },
|
|
|
|
call_status: { type: "string"},
|
|
|
|
call_time: { type: "string", minLength: 1 }
|
|
|
|
call_time: { type: "string" }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|