• Public
  • Public/Protected
  • All


  • EmployeeCreate



  • new EmployeeCreate(first_name: string, last_name: string, official_email: string, role_ids: number[]): EmployeeCreate


address: any
blood_group: any
branch_id: any
communication_address: any
custom_fields: any
date_of_birth: any
department_id: any
designation: any
draft: any
employee_id: any
employee_type: any
first_name: any
gender: any
hr_incharge_id: any
job_role_id: any
joining_date: any
last_name: any
level_id: any
middle_name: any
official_email: any
personal_email: any
phone_numbers: any
reporting_to_id: any
role_ids: any
send_invite_email: any
shift_id: any
sub_department_id: any
team_id: any
work_numbers: any
BloodGroupEnum: { A+: string; A1+: string; A1-: string; A1B+: string; A1B-: string; A2+: string; A2B+: string; A2B-: string; AB+: string; AB-: string; A−: string; B+: string; B−: string; O+: string; O−: string }

Type declaration

  • A+: string
  • A1+: string
  • A1-: string
  • A1B+: string
  • A1B-: string
  • A2+: string
  • A2B+: string
  • A2B-: string
  • AB+: string
  • AB-: string
  • A−: string
  • B+: string
  • B−: string
  • O+: string
  • O−: string
GenderEnum: { female: string; male: string }

Type declaration

  • female: string
  • male: string


  • constructFromObject(data: any, obj: any): any
  • Constructs a EmployeeCreate from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.


    • data: any

      The plain JavaScript object bearing properties of interest.

    • obj: any

      Optional instance to populate.

    Returns any

    The populated EmployeeCreate instance.

  • initialize(obj: any, first_name: any, last_name: any, official_email: any, role_ids: any): void
  • Initializes the fields of this object. This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). Only for internal use.


    • obj: any
    • first_name: any
    • last_name: any
    • official_email: any
    • role_ids: any

    Returns void

Generated using TypeDoc