|
|
|
@ -562,7 +562,7 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
|
},
|
|
|
|
|
handler: installationController.getDisconnectedIssuesBySupportId,
|
|
|
|
|
});
|
|
|
|
|
fastify.put('/api/updateComments/:supportId/:customerId/:hardwareId', {
|
|
|
|
|
fastify.put('/api/updateComments/:supportId', {
|
|
|
|
|
schema: {
|
|
|
|
|
description: "Update comments for a support record issue",
|
|
|
|
|
tags: ["Support"],
|
|
|
|
@ -571,14 +571,15 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
|
required: ["supportId", "customerId", "hardwareId"],
|
|
|
|
|
properties: {
|
|
|
|
|
supportId: { type: "string", minLength: 1 },
|
|
|
|
|
customerId: { type: "string", minLength: 1 },
|
|
|
|
|
hardwareId: { type: "string", minLength: 1 }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
body: {
|
|
|
|
|
type: "object",
|
|
|
|
|
required: ["comments"],
|
|
|
|
|
properties: {
|
|
|
|
|
customerId: { type: "string", minLength: 1 },
|
|
|
|
|
hardwareId: { type: "string", minLength: 1 },
|
|
|
|
|
comments: { type: "string", minLength: 1 }
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|