openapi: 3.0.3
info:
  title: MIS
  description: 'MIS API Documentation'
  version: 1.0.0
servers:
  -
    url: 'https://mis-backend.yecor.com'
paths:
  /api/v1/login:
    post:
      summary: Login
      operationId: login
      description: 'Login for user account'
      parameters:
        -
          in: header
          name: intudid
          description: ''
          example: '12345'
          schema:
            type: string
        -
          in: header
          name: device-type
          description: ''
          example: iphone
          schema:
            type: string
        -
          in: header
          name: device-token
          description: ''
          example: '123456'
          schema:
            type: string
        -
          in: header
          name: lang
          description: ''
          example: english
          schema:
            type: string
        -
          in: header
          name: rom
          description: ''
          example: '123'
          schema:
            type: string
        -
          in: header
          name: ram
          description: ''
          example: '123'
          schema:
            type: string
        -
          in: header
          name: brand
          description: ''
          example: '123'
          schema:
            type: string
        -
          in: header
          name: model
          description: ''
          example: '11231'
          schema:
            type: string
        -
          in: header
          name: app-version
          description: ''
          example: '1'
          schema:
            type: string
      responses:
        200:
          description: 'Login Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false", "message": "Login successfully", code:"200"}'
        401:
          description: 'Invalid Credential'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "Invalid Credential", code:"401"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "validation error", code:"422"}'
      tags:
        - Authentication
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  description: 'The email id of the account. Must be a valid email address.'
                  example: admin@moweb.com
                password:
                  type: string
                  description: 'The password of the account. .'
                  example: Admin@123
              required:
                - email
                - password
      security: []
  /api/v1/forgot-password:
    post:
      summary: 'Forgot Password'
      operationId: forgotPassword
      description: 'use for forgot password'
      parameters: []
      responses:
        200:
          description: 'Link has been sent successfully'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false", "message": "Link has been sent successfully",code:"200"}'
        404:
          description: 'User does not exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "User does not exist",code:"404"}'
      tags:
        - Authentication
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  description: 'The email of the user.'
                  example: dicki.jamal@example.org
              required:
                - email
      security: []
  /api/v1/set-password-link-generator:
    post:
      summary: 'Set-password link generator'
      operationId: setPasswordLinkGenerator
      description: 'set The password using email verification'
      parameters: []
      responses: {  }
      tags:
        - Authentication
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  description: 'The email id of the account. Must be a valid email address.'
                  example: admin@moweb.com
              required:
                - email
      security: []
  /api/v1/reset-password:
    post:
      summary: 'Reset Password'
      operationId: resetPassword
      description: 'reset password for user account using forgot password activation link'
      parameters: []
      responses:
        200:
          description: Success
          content:
            text/plain:
              schema:
                type: string
                example: '{"message": "Password reset successfully! You can login with your new password!",}'
        401:
          description: 'Token is invalid'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'This password reset token is invalid.'
                properties:
                  message:
                    type: string
                    example: 'This password reset token is invalid.'
        404:
          description: 'Email does not exist'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'Email does not exist'
                properties:
                  message:
                    type: string
                    example: 'Email does not exist'
      tags:
        - Authentication
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                token:
                  type: string
                  description: 'Token for reset the password'
                  example: vero
                email:
                  type: string
                  description: 'The email  id of the account'
                  example: karlie88@example.com
                password:
                  type: string
                  description: 'New password of the account'
                  example: '_KU7,eM|+;@R||'
                password_confirmation:
                  type: string
                  description: 'Confirm password of the account'
                  example: inventore
              required:
                - token
                - email
                - password
                - password_confirmation
      security: []
  /api/v1/change-password:
    post:
      summary: 'Change Password'
      operationId: changePassword
      description: 'Change Password for user'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Password Change  Successfully'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Password Change  Successfully"}'
        500:
          description: 'Something went wrong'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true",code:"500" "message": "Something went wrong"}'
      tags:
        - Authentication
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                current_password:
                  type: string
                  description: 'The current password of the user.'
                  example: currentpassword
                new_password:
                  type: string
                  description: 'The new password of the user.'
                  example: newpassword
                confirm_password:
                  type: string
                  description: 'The confirm  password of the user. The value and <code>new_password</code> must match.'
                  example: confirmpassword
              required:
                - current_password
                - new_password
                - confirm_password
  /api/v1/logout:
    post:
      summary: logout
      operationId: logout
      description: 'Logout for user'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Logout Successfull'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Logout Successfull"}'
      tags:
        - Authentication
  /api/v1/departmenmt:
    get:
      summary: List
      operationId: list
      description: 'List of the department.'
      parameters:
        -
          in: query
          name: page
          description: 'The page number of the list.'
          example: 1
          required: true
          schema:
            type: integer
            description: 'The page number of the list.'
            example: 1
        -
          in: query
          name: order
          description: 'The order of the list.'
          example: desc
          required: true
          schema:
            type: string
            description: 'The order of the list.'
            example: desc
        -
          in: query
          name: order_by
          description: 'The order by of the list.'
          example: id
          required: true
          schema:
            type: string
            description: 'The order by of the list.'
            example: id
        -
          in: query
          name: search
          description: 'The search by of the list. Search only available for name'
          example: '""'
          required: false
          schema:
            type: string
            description: 'The search by of the list. Search only available for name'
            example: '""'
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Records has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Records has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Record does not Exist"}'
      tags:
        - Department
    post:
      summary: Save
      operationId: save
      description: 'Store a newly created department'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been created successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been created successfully!"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - Department
  '/api/v1/departmenmt/{id}':
    get:
      summary: Edit
      operationId: edit
      description: 'get department by id'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Details has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Details has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - Department
    delete:
      summary: delete
      operationId: delete
      description: 'delete department'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record Deleted Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record Deleted Successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - Department
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the departmenmt.'
        example: quis
        required: true
        schema:
          type: string
  /api/v1/educations:
    get:
      summary: List
      operationId: list
      description: 'List of the education.'
      parameters:
        -
          in: query
          name: page
          description: 'The page number of the list.'
          example: 1
          required: true
          schema:
            type: integer
            description: 'The page number of the list.'
            example: 1
        -
          in: query
          name: order
          description: 'The order of the list.'
          example: desc
          required: true
          schema:
            type: string
            description: 'The order of the list.'
            example: desc
        -
          in: query
          name: order_by
          description: 'The order by of the list.'
          example: id
          required: true
          schema:
            type: string
            description: 'The order by of the list.'
            example: id
        -
          in: query
          name: search
          description: 'The search by of the list. Search only available for name'
          example: '""'
          required: false
          schema:
            type: string
            description: 'The search by of the list. Search only available for name'
            example: '""'
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Records has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Records has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Record does not Exist"}'
      tags:
        - Education
    post:
      summary: Save
      operationId: save
      description: 'Store a newly created education'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been created successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been created successfully!"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - Education
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: 'id of the education.'
                  example: '1'
                name:
                  type: string
                  description: 'Name of the education.'
                  example: MBA
              required:
                - name
  '/api/v1/educations/{id}':
    get:
      summary: Edit
      operationId: edit
      description: 'get education detail by id'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Details has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Details has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - Education
    delete:
      summary: delete
      operationId: delete
      description: 'delete education'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record Deleted Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record Deleted Successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - Education
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the education.'
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/employee-apply-leaves:
    get:
      summary: List
      operationId: list
      description: 'List of the interview status.'
      parameters:
        -
          in: query
          name: page
          description: 'The page number of the list.'
          example: 1
          required: true
          schema:
            type: integer
            description: 'The page number of the list.'
            example: 1
        -
          in: query
          name: order
          description: 'The order of the list.'
          example: desc
          required: true
          schema:
            type: string
            description: 'The order of the list.'
            example: desc
        -
          in: query
          name: order_by
          description: 'The order by of the list.'
          example: id
          required: true
          schema:
            type: string
            description: 'The order by of the list.'
            example: id
        -
          in: query
          name: search
          description: 'The search by of the list. Search only available for name'
          example: '""'
          required: false
          schema:
            type: string
            description: 'The search by of the list. Search only available for name'
            example: '""'
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Records has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Records has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Record does not Exist"}'
      tags:
        - 'Employee Apply Leave'
    post:
      summary: Save
      operationId: save
      description: 'Store a new Employee Report'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been created successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been created successfully!"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Employee Apply Leave'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                company_id:
                  type: string
                  description: 'id of the company.'
                  example: '1'
                employee_id:
                  type: string
                  description: 'id of the employee.'
                  example: '2'
                total_days_count:
                  type: string
                  description: 'Total days.'
                  example: '4'
                comments:
                  type: string
                  description: 'enter some comments.'
                  example: comments..
                leave_type_id:
                  type: string
                  description: 'enter leave type id.'
                  example: '1'
                for_date:
                  type: string
                  description: 'For date.'
                  example: 1/5/2023
                leave_duration:
                  type: string
                  description: 'Leave duration.'
                  example: '1 days'
                status:
                  type: string
                  description: 'Active or InActive.'
                  example: Active
              required:
                - company_id
                - employee_id
                - total_days_count
                - comments
                - leave_type_id
                - for_date
                - leave_duration
  '/api/v1/employee-apply-leaves/{id}':
    delete:
      summary: delete
      operationId: delete
      description: 'delete  Employee Report'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record Deleted Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record Deleted Successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Employee Apply Leave'
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the employee apply leafe.'
        example: quo
        required: true
        schema:
          type: string
  /api/v1/employee-report:
    get:
      summary: List
      operationId: list
      description: 'List of the employee report.'
      parameters:
        -
          in: query
          name: page
          description: 'The page number of the list.'
          example: 1
          required: true
          schema:
            type: integer
            description: 'The page number of the list.'
            example: 1
        -
          in: query
          name: order
          description: 'The order of the list.'
          example: desc
          required: true
          schema:
            type: string
            description: 'The order of the list.'
            example: desc
        -
          in: query
          name: order_by
          description: 'The order by of the list.'
          example: id
          required: true
          schema:
            type: string
            description: 'The order by of the list.'
            example: id
        -
          in: query
          name: search
          description: 'The search by of the list. Search only available for name'
          example: '""'
          required: false
          schema:
            type: string
            description: 'The search by of the list. Search only available for name'
            example: '""'
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Records has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Records has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Record does not Exist"}'
      tags:
        - 'Employee Report'
    post:
      summary: Save
      operationId: save
      description: 'Store a new Employee Report'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been created successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been created successfully!"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Employee Report'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: 'Id of the employee report.'
                  example: '1'
                company_id:
                  type: string
                  description: 'ID of the Company.'
                  example: '1'
                employee_id:
                  type: string
                  description: 'Id of the Employee.'
                  example: '2'
                report_month:
                  type: string
                  description: 'Enter the report month.'
                  example: '9'
                report_year:
                  type: string
                  description: 'Enter the report year.'
                  example: '2023'
                over_all_rate:
                  type: string
                  description: 'Enter the over all rate.'
                  example: '5'
                report_type_id:
                  type: string
                  description: 'Enter report type id.'
                  example: '2'
                task_detail:
                  type: string
                  description: 'Enter task detail.'
                  example: 'some task details'
                master_rating:
                  type: string
                  description: 'Enter master rating.'
                  example: '5'
                status:
                  type: string
                  description: 'Active or InActive.'
                  example: Active
              required:
                - company_id
                - employee_id
                - report_month
                - report_year
                - over_all_rate
                - report_type_id
                - task_detail
                - master_rating
                - status
  '/api/v1/employee-report/{id}':
    get:
      summary: Edit
      operationId: edit
      description: 'get Employee Report detail by id'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Details has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Details has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Employee Report'
    delete:
      summary: delete
      operationId: delete
      description: 'delete  Employee Report'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record Deleted Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record Deleted Successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Employee Report'
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the employee report.'
        example: 12
        required: true
        schema:
          type: integer
  /api/v1/employee-report-feedback:
    get:
      summary: List
      operationId: list
      description: 'List of the Employee Report Feedback.'
      parameters:
        -
          in: query
          name: page
          description: 'The page number of the list.'
          example: 1
          required: true
          schema:
            type: integer
            description: 'The page number of the list.'
            example: 1
        -
          in: query
          name: order
          description: 'The order of the list.'
          example: desc
          required: true
          schema:
            type: string
            description: 'The order of the list.'
            example: desc
        -
          in: query
          name: order_by
          description: 'The order by of the list.'
          example: id
          required: true
          schema:
            type: string
            description: 'The order by of the list.'
            example: id
        -
          in: query
          name: search
          description: 'The search by of the list. Search only available for name'
          example: '""'
          required: false
          schema:
            type: string
            description: 'The search by of the list. Search only available for name'
            example: '""'
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Records has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Records has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Record does not Exist"}'
      tags:
        - 'Employee Report Feedback'
    post:
      summary: Save
      operationId: save
      description: 'Store a new Employee Report feedback'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been created successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been created successfully!"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Employee Report Feedback'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: 'Id of the employee report feedback.'
                  example: '1'
                company_id:
                  type: string
                  description: 'Id of the Company.'
                  example: '1'
                employee_id:
                  type: string
                  description: 'Id of the Employee.'
                  example: '1'
                employee_report_detail_id:
                  type: string
                  description: 'Enter the employee report detail id.'
                  example: '1'
                rating:
                  type: string
                  description: 'Enter the rating.'
                  example: '5'
                feedback:
                  type: string
                  description: 'Enter the feedback.'
                  example: Test
                status:
                  type: string
                  description: 'Active or InActive.'
                  example: InActive
              required:
                - company_id
                - employee_id
                - employee_report_detail_id
                - rating
                - feedback
                - status
  '/api/v1/employee-report-feedback/{id}':
    get:
      summary: Edit
      operationId: edit
      description: 'get Employee Report feedback detail by id'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Details has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Details has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Employee Report Feedback'
    delete:
      summary: delete
      operationId: delete
      description: 'delete  Employee Report feedback'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record Deleted Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record Deleted Successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Employee Report Feedback'
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the employee report feedback.'
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/employee-compensate-leaves:
    get:
      summary: List
      operationId: list
      description: 'List of the employee compensate leaves.'
      parameters:
        -
          in: query
          name: page
          description: 'The page number of the list.'
          example: 1
          required: true
          schema:
            type: integer
            description: 'The page number of the list.'
            example: 1
        -
          in: query
          name: order
          description: 'The order of the list.'
          example: desc
          required: true
          schema:
            type: string
            description: 'The order of the list.'
            example: desc
        -
          in: query
          name: order_by
          description: 'The order by of the list.'
          example: id
          required: true
          schema:
            type: string
            description: 'The order by of the list.'
            example: id
        -
          in: query
          name: search
          description: 'The search by of the list. Search only available for name'
          example: '""'
          required: false
          schema:
            type: string
            description: 'The search by of the list. Search only available for name'
            example: '""'
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Records has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Records has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Record does not Exist"}'
      tags:
        - 'Employee compensate leaves'
    post:
      summary: Save
      operationId: save
      description: 'Store a new Employee compensate leaves'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been created successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been created successfully!"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Employee compensate leaves'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: 'Id of the employee leaves.'
                  example: '1'
                company_id:
                  type: string
                  description: 'Id of the company.'
                  example: '1'
                employee_id:
                  type: string
                  description: 'Id of the employee.'
                  example: '1'
                assign_date:
                  type: string
                  description: 'Enter the assign date.'
                  example: '2023-05-24'
                leave_duration:
                  type: string
                  description: 'Enter the leave duration any one (full / first half / second half).'
                  example: full
                comments:
                  type: string
                  description: 'Enter the comments.'
                  example: 'Hello, your Compensate leave'
                feedback:
                  type: string
                  description: 'Enter the feedback.'
                  example: feedback
                status:
                  type: string
                  description: 'Active or InActive.'
                  example: Active
              required:
                - company_id
                - employee_id
                - assign_date
                - leave_duration
                - comments
                - feedback
  '/api/v1/employee-compensate-leaves/{id}':
    get:
      summary: Edit
      operationId: edit
      description: 'get Employee compensate leaves detail by id'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Details has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Details has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Employee compensate leaves'
    delete:
      summary: delete
      operationId: delete
      description: 'delete  Employee compensate leaves'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record Deleted Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record Deleted Successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Employee compensate leaves'
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the employee compensate leafe.'
        example: error
        required: true
        schema:
          type: string
  /api/v1/dashboard:
    get:
      summary: ''
      operationId: getApiV1Dashboard
      description: ''
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  success: false
                  code: '401'
                  message: 'Access Token is not valid, Please login again'
                  access_token: ''
                  data: []
                properties:
                  success:
                    type: boolean
                    example: false
                  code:
                    type: string
                    example: '401'
                  message:
                    type: string
                    example: 'Access Token is not valid, Please login again'
                  access_token:
                    type: string
                    example: ''
                  data:
                    type: array
                    example: []
      tags:
        - Endpoints
  /api/v1/interview-type:
    get:
      summary: List
      operationId: list
      description: 'List of the interview location.'
      parameters:
        -
          in: query
          name: page
          description: 'The page number of the list.'
          example: 1
          required: true
          schema:
            type: integer
            description: 'The page number of the list.'
            example: 1
        -
          in: query
          name: order
          description: 'The order of the list.'
          example: desc
          required: true
          schema:
            type: string
            description: 'The order of the list.'
            example: desc
        -
          in: query
          name: order_by
          description: 'The order by of the list.'
          example: id
          required: true
          schema:
            type: string
            description: 'The order by of the list.'
            example: id
        -
          in: query
          name: search
          description: 'The search by of the list. Search only available for name'
          example: '""'
          required: false
          schema:
            type: string
            description: 'The search by of the list. Search only available for name'
            example: '""'
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Records has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Records has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Record does not Exist"}'
      tags:
        - 'Interview Location'
    post:
      summary: Save
      operationId: save
      description: 'Store a newly created interview location'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been created successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been created successfully!"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Interview Location'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: 'Id of the interview location.'
                  example: '1'
                name:
                  type: string
                  description: 'Name of the interview location.'
                  example: ABC
              required:
                - name
  '/api/v1/interview-type/{id}':
    get:
      summary: Edit
      operationId: edit
      description: 'get interview location detail by id'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Details has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Details has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Interview Location'
    delete:
      summary: delete
      operationId: delete
      description: 'delete  interview location'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record Deleted Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record Deleted Successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Interview Location'
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the interview type.'
        example: 4
        required: true
        schema:
          type: integer
  /api/v1/interview-status:
    get:
      summary: List
      operationId: list
      description: 'List of the interview status.'
      parameters:
        -
          in: query
          name: page
          description: 'The page number of the list.'
          example: 1
          required: true
          schema:
            type: integer
            description: 'The page number of the list.'
            example: 1
        -
          in: query
          name: order
          description: 'The order of the list.'
          example: desc
          required: true
          schema:
            type: string
            description: 'The order of the list.'
            example: desc
        -
          in: query
          name: order_by
          description: 'The order by of the list.'
          example: id
          required: true
          schema:
            type: string
            description: 'The order by of the list.'
            example: id
        -
          in: query
          name: search
          description: 'The search by of the list. Search only available for name'
          example: '""'
          required: false
          schema:
            type: string
            description: 'The search by of the list. Search only available for name'
            example: '""'
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Records has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Records has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Record does not Exist"}'
      tags:
        - 'Interview Status'
    post:
      summary: Save
      operationId: save
      description: 'Store a newly created interview status'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been created successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been created successfully!"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Interview Status'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: 'Id of the interview status.'
                  example: '1'
                name:
                  type: string
                  description: 'Name of the interview status.'
                  example: ABC
              required:
                - name
  '/api/v1/interview-status/{id}':
    get:
      summary: Edit
      operationId: edit
      description: 'get interview status detail by id'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Details has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Details has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Interview Status'
    delete:
      summary: delete
      operationId: delete
      description: 'delete  interview status'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record Deleted Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record Deleted Successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Interview Status'
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the interview status.'
        example: 20
        required: true
        schema:
          type: integer
  /api/v1/job-role-type:
    get:
      summary: List
      operationId: list
      description: 'List of the Job Role Type.'
      parameters:
        -
          in: query
          name: page
          description: 'The page number of the list.'
          example: 1
          required: true
          schema:
            type: integer
            description: 'The page number of the list.'
            example: 1
        -
          in: query
          name: order
          description: 'The order of the list.'
          example: desc
          required: true
          schema:
            type: string
            description: 'The order of the list.'
            example: desc
        -
          in: query
          name: order_by
          description: 'The order by of the list.'
          example: id
          required: true
          schema:
            type: string
            description: 'The order by of the list.'
            example: id
        -
          in: query
          name: search
          description: 'The search by of the list. Search only available for name'
          example: '""'
          required: false
          schema:
            type: string
            description: 'The search by of the list. Search only available for name'
            example: '""'
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Records has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Records has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Record does not Exist"}'
      tags:
        - 'Job Role Type'
    post:
      summary: Save
      operationId: save
      description: 'Store a newly created Job Role Type'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been created successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been created successfully!"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Job Role Type'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: 'Id of the Job Role Type.'
                  example: 'On Roll'
                name:
                  type: string
                  description: 'Name of the Job Role Type.'
                  example: 'On Roll'
              required:
                - name
  '/api/v1/job-role-type/{id}':
    get:
      summary: Edit
      operationId: edit
      description: 'get Job Role Type detail by id'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Details has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Details has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Job Role Type'
    delete:
      summary: delete
      operationId: delete
      description: 'delete Job Role Type'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been deleted successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been deleted successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Job Role Type'
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the job role type.'
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/leave-type:
    get:
      summary: List
      operationId: list
      description: 'List of the Leave type'
      parameters:
        -
          in: query
          name: page
          description: 'The page number of the list.'
          example: 1
          required: true
          schema:
            type: integer
            description: 'The page number of the list.'
            example: 1
        -
          in: query
          name: order
          description: 'The order of the list.'
          example: desc
          required: true
          schema:
            type: string
            description: 'The order of the list.'
            example: desc
        -
          in: query
          name: order_by
          description: 'The order by of the list.'
          example: id
          required: true
          schema:
            type: string
            description: 'The order by of the list.'
            example: id
        -
          in: query
          name: search
          description: 'The search by of the list. Search only available for name'
          example: '""'
          required: false
          schema:
            type: string
            description: 'The search by of the list. Search only available for name'
            example: '""'
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Records has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Records has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Record does not Exist"}'
      tags:
        - 'Leave type'
    post:
      summary: Save
      operationId: save
      description: 'Store a newly created leave Type'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been created successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been created successfully!"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Leave type'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: ''
                  example: null
                company_id:
                  type: string
                  description: ''
                  example: beatae
                is_parent:
                  type: string
                  description: '0 or 1.'
                  example: '1'
                descriptions:
                  type: string
                  description: 'descriptions of the leave type.'
                  example: 'some description'
                short_tag:
                  type: string
                  description: 'short tag.'
                  example: short
                name:
                  type: string
                  description: 'Name of the leave type.'
                  example: ABC
                status:
                  type: string
                  description: 'Active Or InActive.'
                  example: Active
              required:
                - company_id
                - is_parent
                - descriptions
                - short_tag
                - name
  '/api/v1/leave-type/{id}':
    get:
      summary: Edit
      operationId: edit
      description: 'get leave Type detail by id'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Details has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Details has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Leave type'
    delete:
      summary: delete
      operationId: delete
      description: 'delete leave Type'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been deleted successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been deleted successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Leave type'
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the leave type.'
        example: 15
        required: true
        schema:
          type: integer
  /api/v1/teamList:
    get:
      summary: Team
      operationId: team
      description: 'List of the team.'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Team List Get Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false", "message": "Team List Get Successfully", code:"200"}'
        401:
          description: unauthenticated
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "unauthenticated", code:"401"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "validation error", code:"422"}'
      tags:
        - Master
  /api/v1/jobRoleList:
    get:
      summary: 'Job Role'
      operationId: jobRole
      description: 'List of the Job role.'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Job Role List Get Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false", "message": "Job Role List Get Successfully", code:"200"}'
        401:
          description: unauthenticated
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "unauthenticated", code:"401"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "validation error", code:"422"}'
      tags:
        - Master
  /api/v1/departmentList:
    get:
      summary: department
      operationId: department
      description: 'List of the department.'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Department List Get Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false", "message": "Department List Get Successfully", code:"200"}'
        401:
          description: unauthenticated
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "unauthenticated", code:"401"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "validation error", code:"422"}'
      tags:
        - Master
  /api/v1/rolesList:
    get:
      summary: Roles
      operationId: roles
      description: 'List of the roles.'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Roles List Get Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false", "message": "Roles List Get Successfully", code:"200"}'
        401:
          description: unauthenticated
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "unauthenticated", code:"401"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "validation error", code:"422"}'
      tags:
        - Master
  /api/v1/workLocationList:
    get:
      summary: Worklocation
      operationId: worklocation
      description: 'List of the Worklocation.'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Worklocation List Get Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false", "message": "Worklocation List Get Successfully", code:"200"}'
        401:
          description: unauthenticated
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "unauthenticated", code:"401"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "validation error", code:"422"}'
      tags:
        - Master
  /api/v1/educationList:
    get:
      summary: Education
      operationId: education
      description: 'List of the Education.'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Education List Get Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false", "message": "Education List Get Successfully", code:"200"}'
        401:
          description: unauthenticated
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "unauthenticated", code:"401"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "validation error", code:"422"}'
      tags:
        - Master
  /api/v1/techStack:
    get:
      summary: 'Tech Stack'
      operationId: techStack
      description: 'List of the tech stack.'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Education List Get Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false", "message": "Education List Get Successfully", code:"200"}'
        401:
          description: unauthenticated
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "unauthenticated", code:"401"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "validation error", code:"422"}'
      tags:
        - Master
  /api/v1/library:
    get:
      summary: Library
      operationId: library
      description: 'List of the Library.'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Library List Get Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false", "message": "Library List Get Successfully", code:"200"}'
        401:
          description: unauthenticated
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "unauthenticated", code:"401"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", "message": "validation error", code:"422"}'
      tags:
        - Master
  '/api/v1/{path}':
    get:
      summary: 'Route Not Found'
      operationId: routeNotFound
      description: ''
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  success: false
                  code: '401'
                  message: 'Access Token is not valid, Please login again'
                  access_token: ''
                  data: []
                properties:
                  success:
                    type: boolean
                    example: false
                  code:
                    type: string
                    example: '401'
                  message:
                    type: string
                    example: 'Access Token is not valid, Please login again'
                  access_token:
                    type: string
                    example: ''
                  data:
                    type: array
                    example: []
      tags:
        - 'Master-common 0'
    parameters:
      -
        in: path
        name: path
        description: ''
        example: zX
        required: true
        schema:
          type: string
  /api/v1/position:
    get:
      summary: List
      operationId: list
      description: 'List of the Position.'
      parameters:
        -
          in: query
          name: page
          description: 'The page number of the list.'
          example: 1
          required: true
          schema:
            type: integer
            description: 'The page number of the list.'
            example: 1
        -
          in: query
          name: order
          description: 'The order of the list.'
          example: desc
          required: true
          schema:
            type: string
            description: 'The order of the list.'
            example: desc
        -
          in: query
          name: order_by
          description: 'The order by of the list.'
          example: id
          required: true
          schema:
            type: string
            description: 'The order by of the list.'
            example: id
        -
          in: query
          name: search
          description: 'The search by of the list. Search only available for name'
          example: '""'
          required: false
          schema:
            type: string
            description: 'The search by of the list. Search only available for name'
            example: '""'
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Records has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Records has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Record does not Exist"}'
      tags:
        - Position
    post:
      summary: Save
      operationId: save
      description: 'Store a newly created Position'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been created successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been created successfully!"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - Position
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: 'Id of the Position.'
                  example: '1'
                name:
                  type: string
                  description: 'Name of the Position.'
                  example: 'Position 1'
              required:
                - name
  '/api/v1/position/{id}':
    get:
      summary: Edit
      operationId: edit
      description: 'get Position detail  by id'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Details has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Details has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - Position
    delete:
      summary: delete
      operationId: delete
      description: 'delete  Position'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record Deleted Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record Deleted Successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - Position
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the position.'
        example: 9
        required: true
        schema:
          type: integer
  /api/v1/report-type:
    get:
      summary: List
      operationId: list
      description: 'List of the report type.'
      parameters:
        -
          in: query
          name: page
          description: 'The page number of the list.'
          example: 1
          required: true
          schema:
            type: integer
            description: 'The page number of the list.'
            example: 1
        -
          in: query
          name: order
          description: 'The order of the list.'
          example: desc
          required: true
          schema:
            type: string
            description: 'The order of the list.'
            example: desc
        -
          in: query
          name: order_by
          description: 'The order by of the list.'
          example: id
          required: true
          schema:
            type: string
            description: 'The order by of the list.'
            example: id
        -
          in: query
          name: search
          description: 'The search by of the list. Search only available for name'
          example: '""'
          required: false
          schema:
            type: string
            description: 'The search by of the list. Search only available for name'
            example: '""'
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Records has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Records has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Record does not Exist"}'
      tags:
        - 'Report Type'
    post:
      summary: Save
      operationId: save
      description: 'Store a newly created report type'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been created successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been created successfully!"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Report Type'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: ''
                  example: null
                company_id:
                  type: string
                  description: ''
                  example: quia
                name:
                  type: string
                  description: 'Name of the report type.'
                  example: ABC
                descriptions:
                  type: string
                  description: 'descriptions of the report type.'
                  example: ABC
                status:
                  type: string
                  description: 'Active Or InActive.'
                  example: Active
              required:
                - company_id
                - name
                - descriptions
                - status
  '/api/v1/report-type/{id}':
    get:
      summary: Edit
      operationId: edit
      description: 'get report type detail by id'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Details has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Details has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Report Type'
    delete:
      summary: delete
      operationId: delete
      description: 'delete  report type'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record Deleted Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record Deleted Successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Report Type'
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the report type.'
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/role:
    get:
      summary: List
      operationId: list
      description: 'List of the Roles.'
      parameters:
        -
          in: query
          name: page
          description: 'The page number of the list.'
          example: 1
          required: true
          schema:
            type: integer
            description: 'The page number of the list.'
            example: 1
        -
          in: query
          name: order
          description: 'The order of the list.'
          example: desc
          required: true
          schema:
            type: string
            description: 'The order of the list.'
            example: desc
        -
          in: query
          name: order_by
          description: 'The order by of the list.'
          example: id
          required: true
          schema:
            type: string
            description: 'The order by of the list.'
            example: id
        -
          in: query
          name: search
          description: 'The search by of the list. Search only available for name'
          example: '""'
          required: false
          schema:
            type: string
            description: 'The search by of the list. Search only available for name'
            example: '""'
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Records has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Records has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Record does not Exist"}'
      tags:
        - Roles
    post:
      summary: Save
      operationId: save
      description: 'Store a newly created Role'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been created successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been created successfully!"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - Roles
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: 'Id of the Role.'
                  example: '1'
                name:
                  type: string
                  description: 'Name of the Role.'
                  example: 'Test Role'
              required:
                - name
  '/api/v1/role/{id}':
    get:
      summary: Edit
      operationId: edit
      description: 'get Role detail  by id'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Details has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Details has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - Roles
    delete:
      summary: delete
      operationId: delete
      description: 'delete  Role'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record Deleted Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record Deleted Successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - Roles
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the role.'
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/teams:
    get:
      summary: List
      operationId: list
      description: 'List of the Team.'
      parameters:
        -
          in: query
          name: page
          description: 'The page number of the list.'
          example: 1
          required: true
          schema:
            type: integer
            description: 'The page number of the list.'
            example: 1
        -
          in: query
          name: order
          description: 'The order of the list.'
          example: desc
          required: true
          schema:
            type: string
            description: 'The order of the list.'
            example: desc
        -
          in: query
          name: order_by
          description: 'The order by of the list.'
          example: id
          required: true
          schema:
            type: string
            description: 'The order by of the list.'
            example: id
        -
          in: query
          name: search
          description: 'The search by of the list. Search only available for name'
          example: '""'
          required: false
          schema:
            type: string
            description: 'The search by of the list. Search only available for name'
            example: '""'
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Records has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Records has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Record does not Exist"}'
      tags:
        - Team
    post:
      summary: Save
      operationId: save
      description: 'Store a newly created Team'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been created successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been created successfully!"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - Team
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: 'Id of the team.'
                  example: '1'
                name:
                  type: string
                  description: 'Name of the team.'
                  example: TeamA
              required:
                - name
  '/api/v1/teams/{id}':
    get:
      summary: Edit
      operationId: edit
      description: 'get Team detail  by id'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Details has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Details has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - Team
    delete:
      summary: delete
      operationId: delete
      description: 'delete Team'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record Deleted Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record Deleted Successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - Team
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the team.'
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/user/adduser:
    post:
      summary: Save
      operationId: save
      description: 'Store a new team member'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been created successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been created successfully!"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Team Member'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: 'id of the User.'
                  example: '1'
                first_name:
                  type: string
                  description: 'First Name of the User.'
                  example: john
                last_name:
                  type: string
                  description: 'Last Name of the User.'
                  example: test
                phone_number:
                  type: string
                  description: 'Phone Number of the User.'
                  example: '1234567890'
                dob:
                  type: string
                  description: 'Date Of Birth of the User.'
                  example: '2001-10-21'
                email:
                  type: string
                  description: 'Company EmailId of the User.'
                  example: m1@moweb.com
                marital_status:
                  type: string
                  description: 'Marital status of the User.'
                  example: Married
                alternate_phone_number:
                  type: string
                  description: 'Alternate Phone Number of the User.'
                  example: '5234567890'
                total_experience:
                  type: string
                  description: 'Total Experiance Of The User.'
                  example: '5 years'
                personal_email:
                  type: string
                  description: 'Personal EmailId of the User.'
                  example: test@gmail.com
                gender:
                  type: string
                  description: 'Enter Gender of the User Either Male or Female.'
                  example: Male
                role_id:
                  type: string
                  description: 'Roll id of the User.'
                  example: '1'
                job_role_type_id:
                  type: string
                  description: 'Job Role Type.'
                  example: '1'
                department_id:
                  type: string
                  description: 'Department id of the User.'
                  example: '2'
                work_location_id:
                  type: string
                  description: 'Work Location id Of The User.'
                  example: '2'
                education_id:
                  type: string
                  description: 'Education id Of The User.'
                  example: '2'
                profile:
                  type: string
                  description: 'The profile picture of the team member.'
                  example: ''
                tech_stack_ids:
                  type: string
                  description: 'The tech stack of the team member.'
                  example: "array['1','2','3']"
                user_libraries:
                  type: string
                  description: 'The library of the team member.'
                  example: ''
                show_interest:
                  type: string
                  description: 'Show Intereset Of The User.'
                  example: Cricket
              required:
                - first_name
                - last_name
                - phone_number
                - dob
                - gender
                - role_id
                - job_role_type_id
                - department_id
                - work_location_id
                - education_id
                - tech_stack_ids
  /api/v1/user/list:
    get:
      summary: List
      operationId: list
      description: 'List of the team member.'
      parameters:
        -
          in: query
          name: page
          description: 'The page number of the list.'
          example: 1
          required: true
          schema:
            type: integer
            description: 'The page number of the list.'
            example: 1
        -
          in: query
          name: order
          description: 'The order of the list.'
          example: desc
          required: true
          schema:
            type: string
            description: 'The order of the list.'
            example: desc
        -
          in: query
          name: order_by
          description: 'The order by of the list.'
          example: id
          required: true
          schema:
            type: string
            description: 'The order by of the list.'
            example: id
        -
          in: query
          name: search
          description: 'The search by of the list. Search only available for name'
          example: '""'
          required: false
          schema:
            type: string
            description: 'The search by of the list. Search only available for name'
            example: '""'
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Records has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Records has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Record does not Exist"}'
      tags:
        - 'Team Member'
  /api/v1/user/update:
    post:
      summary: Update
      operationId: update
      description: 'update team member'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been updated successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been updated successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Team Member'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: 'id of the User.'
                  example: '1'
                first_name:
                  type: string
                  description: 'First Name of the User.'
                  example: john
                last_name:
                  type: string
                  description: 'Last Name of the User.'
                  example: test
                phone_number:
                  type: string
                  description: 'Phone Number of the User.'
                  example: '1234567890'
                dob:
                  type: string
                  description: 'Date Of Birth of the User.'
                  example: '2001-10-21'
                email:
                  type: string
                  description: 'Company EmailId of the User.'
                  example: m1@moweb.com
                marital_status:
                  type: string
                  description: 'Marital status of the User.'
                  example: Married
                alternate_phone_number:
                  type: string
                  description: 'Alternate Phone Number of the User.'
                  example: '5234567890'
                total_experience:
                  type: string
                  description: 'Total Experiance Of The User.'
                  example: '5 years'
                personal_email:
                  type: string
                  description: 'Personal EmailId of the User.'
                  example: test@gmail.com
                gender:
                  type: string
                  description: 'Enter Gender of the User Either Male or Female.'
                  example: Male
                role_id:
                  type: string
                  description: 'Roll id of the User.'
                  example: '1'
                job_role_type_id:
                  type: string
                  description: 'Job Role Type.'
                  example: '1'
                department_id:
                  type: string
                  description: 'Department id of the User.'
                  example: '2'
                work_location_id:
                  type: string
                  description: 'Work Location id Of The User.'
                  example: '2'
                education_id:
                  type: string
                  description: 'Education id Of The User.'
                  example: '2'
                profile:
                  type: string
                  description: 'The profile picture of the team member.'
                  example: ''
                tech_stack_ids:
                  type: string
                  description: 'The tech stack of the team member.'
                  example: "array['1','2','3']"
                user_libraries:
                  type: string
                  description: 'The library of the team member.'
                  example: ''
                show_interest:
                  type: string
                  description: 'Show Intereset Of The User.'
                  example: Cricket
              required:
                - first_name
                - last_name
                - phone_number
                - dob
                - gender
                - role_id
                - job_role_type_id
                - department_id
                - work_location_id
                - education_id
                - tech_stack_ids
  '/api/v1/user/delete/{id}':
    delete:
      summary: delete
      operationId: delete
      description: 'delete  team member'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record Deleted Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record Deleted Successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Team Member'
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the delete.'
        example: incidunt
        required: true
        schema:
          type: string
  '/api/v1/user/view/{id}':
    get:
      summary: Edit
      operationId: edit
      description: 'get team member detail  by id'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Details has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Details has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Team Member'
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the view.'
        example: id
        required: true
        schema:
          type: string
  /api/v1/user/profile:
    get:
      summary: 'Get Profile Detail'
      operationId: getProfileDetail
      description: 'Get details of the Authenticated team member'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  success: false
                  code: '401'
                  message: 'Access Token is not valid, Please login again'
                  access_token: ''
                  data: []
                properties:
                  success:
                    type: boolean
                    example: false
                  code:
                    type: string
                    example: '401'
                  message:
                    type: string
                    example: 'Access Token is not valid, Please login again'
                  access_token:
                    type: string
                    example: ''
                  data:
                    type: array
                    example: []
      tags:
        - 'Team Member'
  /api/v1/user/update-profile:
    post:
      summary: 'Manage Personal Profile'
      operationId: managePersonalProfile
      description: ''
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses: {  }
      tags:
        - 'Team Member'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                first_name:
                  type: string
                  description: 'First Name of the user.'
                  example: John
                last_name:
                  type: string
                  description: 'Last Name of the user.'
                  example: doe
                email:
                  type: string
                  description: 'email of the user.'
                  example: doe
                phone_number:
                  type: string
                  description: 'Phone number of the user.'
                  example: '8743458435'
                profile:
                  type: string
                  description: 'The profile picture of the user.'
                  example: null
                dob:
                  type: string
                  description: 'Date Of Birth of the User.'
                  example: '2001-10-21'
              required:
                - first_name
                - last_name
                - email
                - phone_number
                - dob
  /api/v1/work-location:
    get:
      summary: List
      operationId: list
      description: 'list of the Work Location.'
      parameters:
        -
          in: query
          name: page
          description: 'The page number of the list.'
          example: 1
          required: true
          schema:
            type: integer
            description: 'The page number of the list.'
            example: 1
        -
          in: query
          name: order
          description: 'The order of the list.'
          example: desc
          required: true
          schema:
            type: string
            description: 'The order of the list.'
            example: desc
        -
          in: query
          name: order_by
          description: 'The order by of the list.'
          example: id
          required: true
          schema:
            type: string
            description: 'The order by of the list.'
            example: id
        -
          in: query
          name: search
          description: 'The search by of the list. Search only available for name'
          example: '""'
          required: false
          schema:
            type: string
            description: 'The search by of the list. Search only available for name'
            example: '""'
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Records has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Records has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Record does not Exist"}'
      tags:
        - 'Work Location'
    post:
      summary: Save
      operationId: save
      description: 'Store a newly created work location'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
        -
          in: header
          name: intudid
          description: ''
          example: '12345'
          schema:
            type: string
        -
          in: header
          name: device-type
          description: ''
          example: iphone
          schema:
            type: string
        -
          in: header
          name: device-token
          description: ''
          example: '123456'
          schema:
            type: string
        -
          in: header
          name: lang
          description: ''
          example: english
          schema:
            type: string
        -
          in: header
          name: rom
          description: ''
          example: '123'
          schema:
            type: string
        -
          in: header
          name: ram
          description: ''
          example: '123'
          schema:
            type: string
        -
          in: header
          name: brand
          description: ''
          example: '123'
          schema:
            type: string
        -
          in: header
          name: model
          description: ''
          example: '11231'
          schema:
            type: string
        -
          in: header
          name: app-version
          description: ''
          example: '1'
          schema:
            type: string
      responses:
        200:
          description: 'Record has been created successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record has been created successfully!"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Work Location'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: 'Id of the Work Location.'
                  example: '1'
                name:
                  type: string
                  description: 'Name of the Work Location.'
                  example: 'Work Location 1'
              required:
                - name
  '/api/v1/work-location/{id}':
    get:
      summary: Edit
      operationId: edit
      description: 'get Work Location detail by id'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Details has been fetch successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Details has been fetch successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Work Location'
    delete:
      summary: delete
      operationId: delete
      description: 'delete work location'
      parameters:
        -
          in: header
          name: Authorization
          description: ''
          example: 'Bearer {YOUR_AUTH_KEY}'
          schema:
            type: string
      responses:
        200:
          description: 'Record Deleted Successfully!'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"false",code:"200","message": "Record Deleted Successfully!"}'
        404:
          description: 'Record does not Exist'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"404" "message": "Record does not Exist"}'
        422:
          description: 'Unprocessable Entity'
          content:
            text/plain:
              schema:
                type: string
                example: '{"error":"true", code:"422" "message": "Unprocessable Entity"}'
      tags:
        - 'Work Location'
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the work location.'
        example: 1
        required: true
        schema:
          type: integer
tags:
  -
    name: Authentication
    description: ''
  -
    name: Department
    description: ''
  -
    name: Education
    description: ''
  -
    name: 'Employee Apply Leave'
    description: ''
  -
    name: 'Employee Report'
    description: ''
  -
    name: 'Employee Report Feedback'
    description: ''
  -
    name: 'Employee compensate leaves'
    description: ''
  -
    name: Endpoints
    description: ''
  -
    name: 'Interview Location'
    description: ''
  -
    name: 'Interview Status'
    description: ''
  -
    name: 'Job Role Type'
    description: ''
  -
    name: 'Leave type'
    description: ''
  -
    name: Master
    description: ''
  -
    name: 'Master-common 0'
    description: ''
  -
    name: Position
    description: ''
  -
    name: 'Report Type'
    description: ''
  -
    name: Roles
    description: ''
  -
    name: Team
    description: ''
  -
    name: 'Team Member'
    description: ''
  -
    name: 'Work Location'
    description: ''
components:
  securitySchemes:
    default:
      type: http
      scheme: bearer
      description: ''
security:
  -
    default: []
