Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TimeOffs

Index

Methods

  • Approve a leave request by id

    Parameters

    • id: number

      Identifier of the time off request

    • options: LeaveRequest = {}

      Additional properties to approve the time off request

    Returns Promise<null>

    • Returns null if successful
  • cancel(id: number): Promise<null>
  • Cancels a leave request by id

    Parameters

    • id: number

      Identifier of the time off request

    Returns Promise<null>

    • Returns null if successful
  • Reject a leave request by id

    Parameters

    • id: number

      Identifier of the time off request

    • options: LeaveRequestReject = {}

      Additional properties to reject the time off request

    Returns Promise<null>

    • Returns null if successful
  • Fetches the time off request type by ID

    Parameters

    • id: number

      Identifier of the time off type

    Returns Promise<LeaveType>

    • The time off type

Generated using TypeDoc