Employees models¶
Models of the employee endpoints.
Generated by python -m codegen from the iikoCloud OpenAPI specification. Do not edit by hand.
AttendanceCreateRequest
¶
Bases: IikoModel
AttendanceCreateRequest.
attendance_type_id
class-attribute
instance-attribute
¶
attendance_type_id: str | None = None
Attendance type UUID
end_at
instance-attribute
¶
end_at: str
Date and time of the confirmed attendance end. If the value is null, the attendance is considered open. Existing attendances may be open.
is_confirmed_manually
class-attribute
instance-attribute
¶
is_confirmed_manually: bool | None = None
Manually confirmed flag; may be absent for legacy data.
personal_end_at
class-attribute
instance-attribute
¶
personal_end_at: str | None = None
Date and time of the registered attendance end from POS
AttendanceCreateResponse
¶
Bases: IikoModel
AttendanceCreateResponse.
attendance
class-attribute
instance-attribute
¶
attendance: AttendanceResponse | None = None
Attendance
AttendanceDeleteRequest
¶
AttendanceDeleteResponse
¶
AttendanceListRequest
¶
Bases: IikoModel
AttendanceListRequest.
attendance_type_ids
class-attribute
instance-attribute
¶
Non-empty unique array of attendance type UUIDs to filter by
employee_ids
class-attribute
instance-attribute
¶
Non-empty unique array of employee UUIDs to filter by
end_at
instance-attribute
¶
end_at: str
Date and time of the confirmed attendance end. If the value is null, the attendance is considered open. Existing attendances may be open.
is_closed
class-attribute
instance-attribute
¶
is_closed: bool | None = None
Attendance closed flag. If absent in the request body - both closed and open attendances will be returned. If the value is true - only closed attendances will be returned (endAt != null). If the value is false - only open attendances will be returned (endAt = null)
limit
class-attribute
instance-attribute
¶
limit: int | None = None
Maximum number of records in the response (1..1000)
offset
class-attribute
instance-attribute
¶
offset: int | None = None
Number of records to skip from the beginning
AttendanceListResponse
¶
Bases: IikoModel
AttendanceListResponse.
items
class-attribute
instance-attribute
¶
items: list[AttendanceResponse] | None = None
Attendances
limit
class-attribute
instance-attribute
¶
limit: int | None = None
Maximum number of records in the response (1..1000)
AttendanceResponse
¶
Bases: IikoModel
AttendanceResponse.
attendance_type_code
class-attribute
instance-attribute
¶
attendance_type_code: str | None = None
Attendance type code
attendance_type_id
class-attribute
instance-attribute
¶
attendance_type_id: str | None = None
Attendance type UUID
created_at
class-attribute
instance-attribute
¶
created_at: str | None = None
Date and time of creation
end_at
class-attribute
instance-attribute
¶
end_at: str | None = None
Date and time of the confirmed attendance end. If the value is null, the attendance is considered open. Existing attendances may be open.
is_closed
class-attribute
instance-attribute
¶
is_closed: bool | None = None
Attendance closed flag. Computed as endAt != null
is_confirmed_manually
class-attribute
instance-attribute
¶
is_confirmed_manually: bool | None = None
Manually confirmed flag; may be absent for legacy data
modified_by_user_id
class-attribute
instance-attribute
¶
modified_by_user_id: str | None = None
UUID of the user who made the last changes
organization_id
class-attribute
instance-attribute
¶
organization_id: str | None = None
Organization UUID
organization_name
class-attribute
instance-attribute
¶
organization_name: str | None = None
Organization name
payment_details
class-attribute
instance-attribute
¶
payment_details: PaymentDetails | None = None
Payment calculation; null if not requested or not applicable
personal_end_at
class-attribute
instance-attribute
¶
personal_end_at: str | None = None
Date and time of the registered attendance end from POS
personal_start_at
class-attribute
instance-attribute
¶
personal_start_at: str | None = None
Date and time of the registered attendance start from POS
role_id
class-attribute
instance-attribute
¶
role_id: str | None = None
Role UUID; may be absent for legacy attendances
AttendanceTypeItem
¶
Bases: IikoModel
AttendanceTypeItem.
AttendanceTypeListRequest
¶
AttendanceTypeListResponse
¶
Bases: IikoModel
AttendanceTypeListResponse.
items
class-attribute
instance-attribute
¶
items: list[AttendanceTypeItem] | None = None
Attendance types
limit
class-attribute
instance-attribute
¶
limit: int | None = None
Maximum number of records in the response (1..1000)
AttendanceUpdateRequest
¶
Bases: IikoModel
AttendanceUpdateRequest.
end_at
instance-attribute
¶
end_at: str
Date and time of the confirmed attendance end. If the value is null, the attendance is considered open. Existing attendances may be open.
is_confirmed_manually
instance-attribute
¶
is_confirmed_manually: bool
Manually confirmed flag; may be absent for legacy data
personal_end_at
class-attribute
instance-attribute
¶
personal_end_at: str | None = None
Date and time of the registered attendance end from POS. An already set value cannot be reset (set to null).
AttendanceUpdateResponse
¶
Bases: IikoModel
AttendanceUpdateResponse.
attendance
class-attribute
instance-attribute
¶
attendance: AttendanceResponse | None = None
Attendance
EmployeeCreateRequest
¶
Bases: IikoModel
EmployeeCreateRequest.
hire_date
class-attribute
instance-attribute
¶
hire_date: str | None = None
Employee hire date. Can be null
main_organization_id
instance-attribute
¶
main_organization_id: str
Identifier (organizationId) of the employee's main organization
main_role_id
class-attribute
instance-attribute
¶
main_role_id: str | None = None
Position identifier
organization_ids
class-attribute
instance-attribute
¶
Identifiers (organizationId) of the employee's organizations
EmployeeFireRequest
¶
EmployeeFireResponse
¶
EmployeeGetRequest
¶
EmployeeListRequest
¶
Bases: IikoModel
EmployeeListRequest.
fields_
class-attribute
instance-attribute
¶
Requested response fields: id, code, firstName, lastName, middleName, name, phone, email, cardNumber, mainRoleId, roleIds, isSystem, isFired, hireDate, fireDate, note, mainOrganizationId, organizationIds, responsibleForOrganizationIds.
If empty - returns 4 fields only: id, name, code, isFired.
EmployeePositionDTO
¶
Bases: IikoModel
EmployeePositionDTO.
can_work_by_substituted_card
class-attribute
instance-attribute
¶
can_work_by_substituted_card: bool | None = None
Allowed to work with a substituted card
is_deleted
class-attribute
instance-attribute
¶
is_deleted: bool | None = None
Flag indicating a deleted position
payment_per_hour
class-attribute
instance-attribute
¶
payment_per_hour: Decimal | None = None
Hourly payment rate
EmployeePositionFilterItem
¶
EmployeePositionResponse
¶
Bases: IikoModel
EmployeePositionResponse.
can_work_by_substituted_card
class-attribute
instance-attribute
¶
can_work_by_substituted_card: bool | None = None
Allowed to work with a substituted card
is_deleted
class-attribute
instance-attribute
¶
is_deleted: bool | None = None
Flag indicating a deleted position
payment_per_hour
class-attribute
instance-attribute
¶
payment_per_hour: Decimal | None = None
Hourly payment rate
EmployeeResponse
¶
Bases: IikoModel
EmployeeResponse.
fire_date
class-attribute
instance-attribute
¶
fire_date: str | None = None
Employee fire date. If null, the employee is not fired
hire_date
class-attribute
instance-attribute
¶
hire_date: str | None = None
Employee hire date. Can be null
is_fired
class-attribute
instance-attribute
¶
is_fired: bool | None = None
Flag indicating that the employee is fired. If true — the employee is fired
is_system
class-attribute
instance-attribute
¶
is_system: bool | None = None
Flag indicating that the employee is a system employee. If true — the employee is a system employee
main_organization_id
class-attribute
instance-attribute
¶
main_organization_id: str | None = None
Identifier (organizationId) of the employee's main organization
main_role_id
class-attribute
instance-attribute
¶
main_role_id: str | None = None
Position identifier
organization_ids
class-attribute
instance-attribute
¶
Identifiers (organizationId) of the employee's organizations
responsible_for_organization_ids
class-attribute
instance-attribute
¶
Identifiers (organizationId) of the organizations the employee is responsible for
EmployeeRestoreRequest
¶
EmployeeRestoreResponse
¶
EmployeeUpdateRequest
¶
Bases: IikoModel
EmployeeUpdateRequest.
hire_date
class-attribute
instance-attribute
¶
hire_date: str | None = None
Employee hire date. Can be null
main_organization_id
class-attribute
instance-attribute
¶
main_organization_id: str | None = None
Identifier (organizationId) of the employee's main organization
main_role_id
class-attribute
instance-attribute
¶
main_role_id: str | None = None
Position identifier
organization_ids
class-attribute
instance-attribute
¶
Identifiers (organizationId) of the employee's organizations
GetPositionRequest
¶
ListPositionsRequest
¶
Bases: IikoModel
ListPositionsRequest.
filters
class-attribute
instance-attribute
¶
filters: list[EmployeePositionFilterItem] | None = None
List of filters (fields: isDeleted, scheduleTypes)
limit
class-attribute
instance-attribute
¶
limit: int | None = None
Maximum number of records in the response (default: 50, max: 1000)
ListPositionsResponse
¶
Bases: IikoModel
ListPositionsResponse.
items
class-attribute
instance-attribute
¶
items: list[EmployeePositionDTO] | None = None
List of employee positions
limit
class-attribute
instance-attribute
¶
limit: int | None = None
Maximum number of records in the response
PaymentDetails
¶
Bases: IikoModel
PaymentDetails.
other_payments_sum
class-attribute
instance-attribute
¶
other_payments_sum: Decimal | None = None
Other payments/penalties
overtime_paid_minutes
class-attribute
instance-attribute
¶
overtime_paid_minutes: int | None = None
Overtime paid minutes
overtime_payment_sum
class-attribute
instance-attribute
¶
overtime_payment_sum: Decimal | None = None
Overtime payment sum