|
|
|
@ -740,6 +740,24 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
|
},
|
|
|
|
|
handler: installationController.powerOutageCustomerDetails,
|
|
|
|
|
});
|
|
|
|
|
fastify.get("/api/longTermissusesmasterslavedetails/:supportId/:customerId", {
|
|
|
|
|
schema: {
|
|
|
|
|
description: "Long Term Issues the master and slave details move for Support",
|
|
|
|
|
tags: ["Support"],
|
|
|
|
|
summary: "Long Term Issues the master and slave details move for Support",
|
|
|
|
|
params: {
|
|
|
|
|
type: "object",
|
|
|
|
|
properties: {
|
|
|
|
|
supportId: { type: "string" },
|
|
|
|
|
customerId: { type: "string" },
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
required: [ "supportId"],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
handler: installationController.getLongTermIssuesByCustomer,
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
fastify.get("/api/powerOutageissusesmasterslavedetails/:supportId/:customerId", {
|
|
|
|
|
schema: {
|
|
|
|
@ -757,7 +775,7 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
|
required: [ "supportId"],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
handler: installationController.getLongTermIssuesByCustomer,
|
|
|
|
|
handler: installationController.getPowerOutageIssuesByCustomer,
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
fastify.get("/api/outDoorEscalationissusesmasterslavedetails/:supportId/:customerId", {
|
|
|
|
|