|
|
|
@ -9,10 +9,10 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
|
summary: "Create Team Member",
|
|
|
|
|
body: {
|
|
|
|
|
type: "object",
|
|
|
|
|
required: ["installationId", "name", "phone", "password"],
|
|
|
|
|
required: ["installationId", "firstName", "phone", "password"],
|
|
|
|
|
properties: {
|
|
|
|
|
installationId: { type: "string", description: "Installation ID to associate the team member with" },
|
|
|
|
|
name: { type: "string", description: "Full name of the team member" },
|
|
|
|
|
firstName: { type: "string", description: "Full name of the team member" },
|
|
|
|
|
phone: { type: "string", description: "Phone number of the team member" },
|
|
|
|
|
password: { type: "string", description: "Password for the team member" },
|
|
|
|
|
alternativePhone: { type: "string", },
|
|
|
|
|