@saritasa/crm-delmar-core-sdk 0.1.12 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,9 +18,9 @@ export interface BranchPeriodDto {
18
18
  readonly created: string;
19
19
  readonly modified: string;
20
20
  branch: number;
21
- readonly branch_data: SimpleBranchDto;
22
21
  title: string;
23
22
  period: DateRangeFieldDto;
24
23
  type: BranchPeriodTypeEnumDto;
24
+ readonly branch_data: SimpleBranchDto;
25
25
  description?: string;
26
26
  }
@@ -18,10 +18,10 @@ export interface BranchDto {
18
18
  name: string;
19
19
  readonly is_active: boolean;
20
20
  code: string;
21
- readonly ceo_data: SimpleUserDto;
22
21
  is_vacation_file_required: boolean;
23
22
  is_oversea: boolean;
24
23
  vacation_days_count: number;
24
+ readonly ceo_data: SimpleUserDto | null;
25
25
  ceo?: number | null;
26
26
  icon?: string | null;
27
27
  timezone?: string;
@@ -22,11 +22,11 @@ export interface ClientNoteDto {
22
22
  description: string;
23
23
  files: Array<ClientProjectNoteFileDto>;
24
24
  readonly created_by: number | null;
25
- readonly created_by_data: SimpleUserDto;
26
25
  readonly updated_by: number | null;
27
- readonly updated_by_data: SimpleUserDto;
28
26
  readonly client_data: SimpleClientDto;
29
27
  readonly project_data: SimpleProjectDto | null;
28
+ readonly created_by_data: SimpleUserDto | null;
29
+ readonly updated_by_data: SimpleUserDto | null;
30
30
  client?: number | null;
31
31
  project?: number | null;
32
32
  }
@@ -24,7 +24,6 @@ export interface ClientSerializerWithStatsDto {
24
24
  is_billable: boolean;
25
25
  billing_method: BillingMethodEnumDto;
26
26
  account_manager: number;
27
- readonly account_manager_data: SimpleUserDto;
28
27
  payment_recipient_name: string;
29
28
  time_limit_per_month: number;
30
29
  /**
@@ -51,10 +50,7 @@ export interface ClientSerializerWithStatsDto {
51
50
  billing_country: string;
52
51
  billing_notes: string;
53
52
  readonly created_by: number | null;
54
- readonly created_by_data: SimpleUserDto;
55
53
  readonly updated_by: number | null;
56
- readonly updated_by_data: SimpleUserDto;
57
- contacts_data: Array<WritableClientContactDto>;
58
54
  readonly billable_jobs_count: number;
59
55
  readonly unbillable_jobs_count: number;
60
56
  readonly billable_tasks_count: number;
@@ -65,5 +61,9 @@ export interface ClientSerializerWithStatsDto {
65
61
  readonly unbillable_time_limit: number;
66
62
  readonly billable_avg_day_duration: number;
67
63
  readonly unbillable_avg_day_duration: number;
64
+ contacts_data: Array<WritableClientContactDto>;
65
+ readonly account_manager_data: SimpleUserDto;
66
+ readonly created_by_data: SimpleUserDto | null;
67
+ readonly updated_by_data: SimpleUserDto | null;
68
68
  contract_until?: string | null;
69
69
  }
@@ -24,7 +24,6 @@ export interface ClientDto {
24
24
  is_billable: boolean;
25
25
  billing_method: BillingMethodEnumDto;
26
26
  account_manager: number;
27
- readonly account_manager_data: SimpleUserDto;
28
27
  payment_recipient_name: string;
29
28
  time_limit_per_month: number;
30
29
  /**
@@ -51,9 +50,10 @@ export interface ClientDto {
51
50
  billing_country: string;
52
51
  billing_notes: string;
53
52
  readonly created_by: number | null;
54
- readonly created_by_data: SimpleUserDto;
55
53
  readonly updated_by: number | null;
56
- readonly updated_by_data: SimpleUserDto;
57
54
  contacts_data: Array<WritableClientContactDto>;
55
+ readonly account_manager_data: SimpleUserDto;
56
+ readonly created_by_data: SimpleUserDto | null;
57
+ readonly updated_by_data: SimpleUserDto | null;
58
58
  contract_until?: string | null;
59
59
  }
@@ -15,6 +15,9 @@ export interface DepartmentDto {
15
15
  readonly id: number;
16
16
  readonly created: string;
17
17
  readonly modified: string;
18
+ name: string;
19
+ readonly is_active: boolean;
20
+ work_types: Array<number>;
18
21
  /**
19
22
  * Count of users in department
20
23
  */
@@ -23,9 +26,6 @@ export interface DepartmentDto {
23
26
  * Count of work types in department
24
27
  */
25
28
  readonly work_types_count: number;
26
- name: string;
27
- readonly is_active: boolean;
28
- work_types: Array<number>;
29
29
  readonly work_types_data: Array<SimpleWorkTypeDto>;
30
30
  color?: string;
31
31
  }
@@ -17,9 +17,9 @@ export interface JobReportUserDto {
17
17
  billable: number;
18
18
  unbillable: number;
19
19
  total: number;
20
- readonly work_type_data: SimpleWorkTypeDto;
21
20
  readonly billed_by: number | null;
22
- readonly billed_by_data: SimpleUserDto;
23
21
  readonly report_data: Array<JobReportDataDto>;
22
+ readonly billed_by_data: SimpleUserDto | null;
23
+ readonly work_type_data: SimpleWorkTypeDto | null;
24
24
  work_type?: number | null;
25
25
  }
@@ -25,17 +25,17 @@ export interface JobDto {
25
25
  is_billable: boolean;
26
26
  duration: number;
27
27
  task: number;
28
- readonly task_data: SimpleTaskDto;
29
- readonly work_type_data: SimpleWorkTypeDto;
30
- readonly branch_data: SimpleBranchDto;
31
28
  readonly billed_by: number | null;
32
- readonly billed_by_data: SimpleUserDto;
33
29
  readonly created_by: number | null;
34
- readonly created_by_data: SimpleUserDto;
35
30
  readonly updated_by: number | null;
36
- readonly updated_by_data: SimpleUserDto;
37
31
  readonly department_name: string;
38
32
  readonly department_color: string;
33
+ readonly billed_by_data: SimpleUserDto | null;
34
+ readonly task_data: SimpleTaskDto;
35
+ readonly branch_data: SimpleBranchDto | null;
36
+ readonly work_type_data: SimpleWorkTypeDto | null;
37
+ readonly created_by_data: SimpleUserDto | null;
38
+ readonly updated_by_data: SimpleUserDto | null;
39
39
  work_type?: number | null;
40
40
  branch?: number | null;
41
41
  }
@@ -14,11 +14,11 @@ export interface LocationDto {
14
14
  readonly id: number;
15
15
  readonly created: string;
16
16
  readonly modified: string;
17
+ name: string;
18
+ timezone: string;
17
19
  /**
18
20
  * Count of users in location
19
21
  */
20
22
  readonly users_count: number;
21
- name: string;
22
- timezone: string;
23
23
  icon?: string | null;
24
24
  }
@@ -17,8 +17,8 @@ export interface PeriodApproverDto {
17
17
  readonly created: string;
18
18
  readonly modified: string;
19
19
  approver: number;
20
- readonly approver_data: PeriodUserDto;
21
20
  status: UserPeriodStatusEnumDto;
21
+ readonly approver_data: PeriodUserDto;
22
22
  status_updated?: string | null;
23
23
  comment?: string;
24
24
  }
@@ -26,14 +26,14 @@ export interface PeriodUserDto {
26
26
  email: string;
27
27
  status: UserStatusEnumDto;
28
28
  branch: number;
29
- readonly branch_data: SimpleBranchDto;
30
29
  department: number;
31
- readonly department_data: SimpleDepartmentDto;
32
30
  work_type: number;
33
- readonly work_type_data: SimpleWorkTypeDto;
34
- readonly location_data: LocationDto;
35
31
  readonly created: string;
36
32
  readonly modified: string;
33
+ readonly department_data: SimpleDepartmentDto;
34
+ readonly branch_data: SimpleBranchDto;
35
+ readonly work_type_data: SimpleWorkTypeDto;
36
+ readonly location_data: LocationDto | null;
37
37
  middle_name?: string;
38
38
  avatar?: string | null;
39
39
  timezone?: string;
@@ -39,31 +39,31 @@ export interface ProfileDto {
39
39
  readonly first_working_day_by_contract: string | null;
40
40
  readonly last_working_day: string | null;
41
41
  readonly branch: number;
42
- readonly branch_data: SimpleBranchDto;
43
42
  readonly department: number;
44
- readonly department_data: SimpleDepartmentDto;
45
43
  readonly work_type: number;
46
- readonly work_type_data: SimpleWorkTypeDto;
47
- readonly location_data: SimpleLocationDto;
48
44
  readonly vendor: number | null;
49
- readonly vendor_data: SimpleVendorDto;
50
45
  readonly recruited_by: number | null;
51
- readonly recruited_by_data: SimpleUserDto;
52
46
  readonly dismissal_reasons: Array<number>;
53
- readonly dismissal_reasons_data: Array<DismissalReasonDto>;
54
47
  readonly role: number | null;
55
48
  /**
56
49
  * Account ID of user in Jira. User has only one id no matter the instance
57
50
  */
58
51
  readonly jira_account_id: string | null;
59
52
  readonly supervisors: Array<number>;
60
- readonly supervisors_data: Array<SimpleUserDto>;
61
53
  readonly supervisees: Array<number>;
62
- readonly supervisees_data: Array<SimpleUserDto>;
63
- readonly created_by_data: SimpleUserDto;
64
- readonly updated_by_data: SimpleUserDto;
65
54
  readonly utilization: string;
66
55
  readonly billable_utilization: string;
56
+ readonly branch_data: SimpleBranchDto;
57
+ readonly department_data: SimpleDepartmentDto;
58
+ readonly work_type_data: SimpleWorkTypeDto;
59
+ readonly vendor_data: SimpleVendorDto | null;
60
+ readonly location_data: SimpleLocationDto | null;
61
+ readonly dismissal_reasons_data: Array<DismissalReasonDto>;
62
+ readonly recruited_by_data: SimpleUserDto | null;
63
+ readonly supervisors_data: Array<SimpleUserDto>;
64
+ readonly supervisees_data: Array<SimpleUserDto>;
65
+ readonly created_by_data: SimpleUserDto | null;
66
+ readonly updated_by_data: SimpleUserDto | null;
67
67
  middle_name?: string;
68
68
  avatar?: string | null;
69
69
  office_phone?: string;
@@ -21,7 +21,6 @@ export interface ProjectMarginReportDto {
21
21
  name: string;
22
22
  billing_type: BillingTypeEnumDto;
23
23
  billing_frequency: BillingFrequencyEnumDto;
24
- readonly priority_data: SimpleProjectPriorityDto;
25
24
  readonly billable_duration: number;
26
25
  readonly billable_duration_round_half: number;
27
26
  readonly billable_duration_round_zero: number;
@@ -31,6 +30,7 @@ export interface ProjectMarginReportDto {
31
30
  readonly total_duration: number;
32
31
  readonly total_duration_round_half: number;
33
32
  readonly total_duration_round_zero: number;
33
+ readonly priority_data: SimpleProjectPriorityDto | null;
34
34
  priority?: number | null;
35
35
  has_hosting?: boolean;
36
36
  hosting_fee?: string | null;
@@ -22,10 +22,10 @@ export interface ProjectNoteDto {
22
22
  description: string;
23
23
  files: Array<ClientProjectNoteFileDto>;
24
24
  readonly created_by: number | null;
25
- readonly created_by_data: SimpleUserDto;
26
25
  readonly updated_by: number | null;
27
- readonly updated_by_data: SimpleUserDto;
28
- readonly project_data: SimpleProjectDto;
29
26
  readonly client_data: SimpleClientDto;
27
+ readonly project_data: SimpleProjectDto;
28
+ readonly created_by_data: SimpleUserDto | null;
29
+ readonly updated_by_data: SimpleUserDto | null;
30
30
  project?: number;
31
31
  }
@@ -18,18 +18,18 @@ export interface ProjectResourceUpdateDto {
18
18
  readonly created: string;
19
19
  readonly modified: string;
20
20
  readonly user: number;
21
- readonly user_data: SimpleUserDto;
22
21
  readonly project: number;
23
- readonly project_data: SimpleProjectDto;
24
22
  work_type: number;
25
- readonly work_type_data: SimpleWorkTypeDto;
26
23
  readonly created_by: number | null;
27
- readonly created_by_data: SimpleUserDto;
28
24
  readonly updated_by: number | null;
29
- readonly updated_by_data: SimpleUserDto;
30
25
  readonly previous_month_spent: number;
31
26
  readonly current_month_spent: number;
32
27
  readonly department_id: number;
33
28
  readonly department_name: string;
34
29
  readonly department_color: string;
30
+ readonly user_data: SimpleUserDto;
31
+ readonly project_data: SimpleProjectDto;
32
+ readonly work_type_data: SimpleWorkTypeDto;
33
+ readonly created_by_data: SimpleUserDto | null;
34
+ readonly updated_by_data: SimpleUserDto | null;
35
35
  }
@@ -18,18 +18,18 @@ export interface ProjectResourceDto {
18
18
  readonly created: string;
19
19
  readonly modified: string;
20
20
  user: number;
21
- readonly user_data: SimpleUserDto;
22
21
  project: number;
23
- readonly project_data: SimpleProjectDto;
24
22
  work_type: number;
25
- readonly work_type_data: SimpleWorkTypeDto;
26
23
  readonly created_by: number | null;
27
- readonly created_by_data: SimpleUserDto;
28
24
  readonly updated_by: number | null;
29
- readonly updated_by_data: SimpleUserDto;
30
25
  readonly previous_month_spent: number;
31
26
  readonly current_month_spent: number;
32
27
  readonly department_id: number;
33
28
  readonly department_name: string;
34
29
  readonly department_color: string;
30
+ readonly user_data: SimpleUserDto;
31
+ readonly project_data: SimpleProjectDto;
32
+ readonly work_type_data: SimpleWorkTypeDto;
33
+ readonly created_by_data: SimpleUserDto | null;
34
+ readonly updated_by_data: SimpleUserDto | null;
35
35
  }
@@ -28,8 +28,6 @@ export interface ProjectSerializerWithStatsDto {
28
28
  billing_frequency: BillingFrequencyEnumDto;
29
29
  is_utilized: boolean;
30
30
  is_billable: boolean;
31
- readonly tech_manager_data: SimpleUserDto;
32
- readonly qa_manager_data: SimpleUserDto;
33
31
  time_limit_per_month: number;
34
32
  time_limit: number;
35
33
  /**
@@ -38,15 +36,9 @@ export interface ProjectSerializerWithStatsDto {
38
36
  environment_code: string;
39
37
  nickname: string;
40
38
  readonly created_by: number | null;
41
- readonly created_by_data: SimpleUserDto;
42
39
  readonly updated_by: number | null;
43
- readonly updated_by_data: SimpleUserDto;
44
40
  client: number;
45
- readonly client_data: SimpleClientDto;
46
- readonly client_contact_data: SimpleClientContactDto;
47
- readonly priority_data: SimpleProjectPriorityDto;
48
- readonly project_managers: Array<number>;
49
- readonly project_managers_data: Array<SimpleUserDto>;
41
+ project_managers: Array<number>;
50
42
  jira_link: SimpleJiraProjectDto | null;
51
43
  readonly billable_tasks_count: number;
52
44
  readonly unbillable_tasks_count: number;
@@ -56,6 +48,14 @@ export interface ProjectSerializerWithStatsDto {
56
48
  readonly unbillable_duration: number;
57
49
  readonly billable_avg_day_jobs_duration: number;
58
50
  readonly unbillable_avg_day_jobs_duration: number;
51
+ readonly client_data: SimpleClientDto;
52
+ readonly client_contact_data: SimpleClientContactDto | null;
53
+ readonly priority_data: SimpleProjectPriorityDto | null;
54
+ readonly tech_manager_data: SimpleUserDto | null;
55
+ readonly qa_manager_data: SimpleUserDto | null;
56
+ readonly project_managers_data: Array<SimpleUserDto>;
57
+ readonly created_by_data: SimpleUserDto | null;
58
+ readonly updated_by_data: SimpleUserDto | null;
59
59
  tech_manager?: number | null;
60
60
  qa_manager?: number | null;
61
61
  start_date?: string | null;
@@ -28,8 +28,6 @@ export interface ProjectStatusReportDto {
28
28
  billing_frequency: BillingFrequencyEnumDto;
29
29
  is_utilized: boolean;
30
30
  is_billable: boolean;
31
- readonly tech_manager_data: SimpleUserDto;
32
- readonly qa_manager_data: SimpleUserDto;
33
31
  time_limit_per_month: number;
34
32
  time_limit: number;
35
33
  /**
@@ -38,18 +36,20 @@ export interface ProjectStatusReportDto {
38
36
  environment_code: string;
39
37
  nickname: string;
40
38
  readonly created_by: number | null;
41
- readonly created_by_data: SimpleUserDto;
42
39
  readonly updated_by: number | null;
43
- readonly updated_by_data: SimpleUserDto;
44
40
  client: number;
45
- readonly client_data: SimpleClientStatusReportDto;
46
- readonly client_contact_data: SimpleClientContactDto;
47
- readonly priority_data: SimpleProjectPriorityDto;
48
- readonly project_managers: Array<number>;
49
- readonly project_managers_data: Array<SimpleUserDto>;
41
+ project_managers: Array<number>;
50
42
  jira_link: SimpleJiraProjectDto | null;
51
43
  readonly billable_duration: number;
52
44
  readonly unbillable_duration: number;
45
+ readonly client_data: SimpleClientStatusReportDto;
46
+ readonly client_contact_data: SimpleClientContactDto | null;
47
+ readonly priority_data: SimpleProjectPriorityDto | null;
48
+ readonly tech_manager_data: SimpleUserDto | null;
49
+ readonly qa_manager_data: SimpleUserDto | null;
50
+ readonly project_managers_data: Array<SimpleUserDto>;
51
+ readonly created_by_data: SimpleUserDto | null;
52
+ readonly updated_by_data: SimpleUserDto | null;
53
53
  tech_manager?: number | null;
54
54
  qa_manager?: number | null;
55
55
  start_date?: string | null;
@@ -28,8 +28,6 @@ export interface ProjectDto {
28
28
  billing_frequency: BillingFrequencyEnumDto;
29
29
  is_utilized: boolean;
30
30
  is_billable: boolean;
31
- readonly tech_manager_data: SimpleUserDto;
32
- readonly qa_manager_data: SimpleUserDto;
33
31
  time_limit_per_month: number;
34
32
  time_limit: number;
35
33
  /**
@@ -38,16 +36,18 @@ export interface ProjectDto {
38
36
  environment_code: string;
39
37
  nickname: string;
40
38
  readonly created_by: number | null;
41
- readonly created_by_data: SimpleUserDto;
42
39
  readonly updated_by: number | null;
43
- readonly updated_by_data: SimpleUserDto;
44
40
  client: number;
45
- readonly client_data: SimpleClientDto;
46
- readonly client_contact_data: SimpleClientContactDto;
47
- readonly priority_data: SimpleProjectPriorityDto;
48
41
  project_managers: Array<number>;
49
- readonly project_managers_data: Array<SimpleUserDto>;
50
42
  jira_link: SimpleJiraProjectDto | null;
43
+ readonly client_data: SimpleClientDto;
44
+ readonly client_contact_data: SimpleClientContactDto | null;
45
+ readonly priority_data: SimpleProjectPriorityDto | null;
46
+ readonly tech_manager_data: SimpleUserDto | null;
47
+ readonly qa_manager_data: SimpleUserDto | null;
48
+ readonly project_managers_data: Array<SimpleUserDto>;
49
+ readonly created_by_data: SimpleUserDto | null;
50
+ readonly updated_by_data: SimpleUserDto | null;
51
51
  tech_manager?: number | null;
52
52
  qa_manager?: number | null;
53
53
  start_date?: string | null;
@@ -20,5 +20,5 @@ export interface SimpleProjectDto {
20
20
  readonly created_by: number | null;
21
21
  readonly updated_by: number | null;
22
22
  jira_link: number;
23
- readonly jira_link_data: SimpleJiraProjectDto | null;
23
+ readonly jira_link_data: SimpleJiraProjectDto;
24
24
  }
@@ -20,7 +20,7 @@ export interface SimpleTaskDto {
20
20
  title: string;
21
21
  priority: PriorityEnumDto;
22
22
  project: number;
23
- readonly project_data: SimpleProjectDto;
24
23
  jira_link: number;
25
- readonly jira_link_data: SimpleJiraTaskDto | null;
24
+ readonly project_data: SimpleProjectDto;
25
+ readonly jira_link_data: SimpleJiraTaskDto;
26
26
  }
@@ -17,8 +17,8 @@ export interface SimpleUserPeriodApproverDto {
17
17
  readonly created: string;
18
18
  readonly modified: string;
19
19
  approver: number;
20
- readonly approver_data: SimpleUserDto;
21
20
  status: UserPeriodStatusEnumDto;
21
+ readonly approver_data: SimpleUserDto;
22
22
  status_updated?: string | null;
23
23
  comment?: string;
24
24
  }
@@ -19,8 +19,8 @@ export interface SimpleUserDto {
19
19
  last_name: string;
20
20
  email: string;
21
21
  department: number;
22
- readonly department_data: SimpleDepartmentDto;
23
22
  branch: number;
23
+ readonly department_data: SimpleDepartmentDto;
24
24
  middle_name?: string;
25
25
  avatar?: string | null;
26
26
  }
@@ -27,16 +27,9 @@ export interface TaskDto {
27
27
  is_billable: boolean;
28
28
  priority: PriorityEnumDto;
29
29
  project: number;
30
- readonly project_data: SimpleProjectDto;
31
- readonly component_data: SimpleComponentDto;
32
- readonly sprint_data: SimpleSprintDto;
33
- readonly assignee_by_data: SimpleUserDto;
34
30
  readonly created_by: number | null;
35
- readonly created_by_data: SimpleUserDto;
36
31
  readonly updated_by: number | null;
37
- readonly updated_by_data: SimpleUserDto;
38
32
  jira_link: number;
39
- readonly jira_link_data: SimpleJiraTaskDto | null;
40
33
  readonly billable_jobs_count: number;
41
34
  readonly unbillable_jobs_count: number;
42
35
  readonly billable_duration: number;
@@ -44,6 +37,13 @@ export interface TaskDto {
44
37
  readonly total_duration: number;
45
38
  readonly time_left: number;
46
39
  overtime: string;
40
+ readonly project_data: SimpleProjectDto;
41
+ readonly component_data: SimpleComponentDto | null;
42
+ readonly sprint_data: SimpleSprintDto | null;
43
+ readonly jira_link_data: SimpleJiraTaskDto;
44
+ readonly assignee_data: SimpleUserDto | null;
45
+ readonly created_by_data: SimpleUserDto | null;
46
+ readonly updated_by_data: SimpleUserDto | null;
47
47
  component?: number | null;
48
48
  sprint?: number | null;
49
49
  assignee?: number | null;
@@ -23,12 +23,12 @@ export interface UserLoginDto {
23
23
  readonly first_name: string;
24
24
  readonly middle_name: string;
25
25
  readonly last_name: string;
26
- readonly role_data: SimpleRoleDto;
27
26
  readonly department: number;
28
- readonly department_data: SimpleDepartmentDto;
29
27
  readonly branch: number;
30
- readonly branch_data: SimpleBranchDto;
31
28
  readonly work_type: number;
29
+ readonly role_data: SimpleRoleDto | null;
30
+ readonly department_data: SimpleDepartmentDto;
31
+ readonly branch_data: SimpleBranchDto;
32
32
  readonly work_type_data: SimpleWorkTypeDto;
33
33
  /**
34
34
  * Designates whether the user can log into this admin site.
@@ -8,9 +8,7 @@
8
8
  * Do not edit the class manually.
9
9
  */
10
10
  import { DateRangeFieldDto } from "./date-range-field.dto";
11
- import { SimpleUserDto } from "./simple-user.dto";
12
11
  import { UserPeriodTypeEnumDto } from "./user-period-type-enum.dto";
13
- import { SimpleUserPeriodApproverDto } from "./simple-user-period-approver.dto";
14
12
  import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
15
13
  /**
16
14
  * Serializer to update UserPeriod.
@@ -21,11 +19,9 @@ export interface UserPeriodUpdateDto {
21
19
  readonly modified: string;
22
20
  period: DateRangeFieldDto;
23
21
  user: number;
24
- readonly user_data: SimpleUserDto;
25
22
  readonly type: UserPeriodTypeEnumDto;
26
23
  readonly status: UserPeriodStatusEnumDto;
27
24
  readonly status_updated: string | null;
28
- readonly approvers_data: Array<SimpleUserPeriodApproverDto>;
29
25
  file?: string | null;
30
26
  description?: string;
31
27
  }
@@ -21,10 +21,10 @@ export interface UserPeriodDto {
21
21
  readonly modified: string;
22
22
  period: DateRangeFieldDto;
23
23
  user: number;
24
- readonly user_data: SimpleUserDto;
25
24
  type: UserPeriodTypeEnumDto;
26
25
  readonly status: UserPeriodStatusEnumDto;
27
26
  readonly status_updated: string | null;
27
+ readonly user_data: SimpleUserDto;
28
28
  readonly approvers_data: Array<SimpleUserPeriodApproverDto>;
29
29
  file?: string | null;
30
30
  description?: string;
@@ -18,7 +18,7 @@ export interface UserScoreDto {
18
18
  score: number;
19
19
  comment: string;
20
20
  receiver: number;
21
- readonly receiver_data: SimpleUserDto;
22
21
  readonly created_by: number;
22
+ readonly receiver_data: SimpleUserDto;
23
23
  readonly created_by_data: SimpleUserDto;
24
24
  }
@@ -37,26 +37,26 @@ export interface UserDto {
37
37
  is_trainee: boolean;
38
38
  onsite: boolean;
39
39
  branch: number;
40
- readonly branch_data: SimpleBranchDto;
41
40
  department: number;
42
- readonly department_data: SimpleDepartmentDto;
43
41
  work_type: number;
44
- readonly work_type_data: SimpleWorkTypeDto;
45
42
  location: number | null;
46
- readonly location_data: SimpleLocationDto;
47
- readonly vendor_data: SimpleVendorDto;
48
- readonly recruited_by_data: SimpleUserDto;
49
43
  dismissal_reasons: Array<number>;
50
- readonly dismissal_reasons_data: Array<DismissalReasonDto>;
51
- readonly role_data: SimpleRoleDto;
52
44
  supervisors: Array<number>;
53
- readonly supervisors_data: Array<SimpleUserDto>;
54
45
  supervisees: Array<number>;
55
- readonly supervisees_data: Array<SimpleUserDto>;
56
- readonly created_by_data: SimpleUserDto;
57
- readonly updated_by_data: SimpleUserDto;
58
46
  readonly utilization: string;
59
47
  readonly billable_utilization: string;
48
+ readonly role_data: SimpleRoleDto | null;
49
+ readonly branch_data: SimpleBranchDto;
50
+ readonly department_data: SimpleDepartmentDto;
51
+ readonly work_type_data: SimpleWorkTypeDto;
52
+ readonly vendor_data: SimpleVendorDto | null;
53
+ readonly location_data: SimpleLocationDto | null;
54
+ readonly dismissal_reasons_data: Array<DismissalReasonDto>;
55
+ readonly recruited_by_data: SimpleUserDto | null;
56
+ readonly supervisors_data: Array<SimpleUserDto>;
57
+ readonly supervisees_data: Array<SimpleUserDto>;
58
+ readonly created_by_data: SimpleUserDto | null;
59
+ readonly updated_by_data: SimpleUserDto | null;
60
60
  middle_name?: string;
61
61
  avatar?: string | null;
62
62
  office_phone?: string;
@@ -16,14 +16,14 @@ export interface WorkTypeDto {
16
16
  readonly id: number;
17
17
  readonly created: string;
18
18
  readonly modified: string;
19
+ name: string;
20
+ readonly is_active: boolean;
19
21
  /**
20
22
  * Count of users per work type.
21
23
  */
22
24
  readonly users_count: number;
23
- name: string;
24
- readonly is_active: boolean;
25
- readonly parent_data: SimpleWorkTypeDto;
26
- readonly department_data: SimpleDepartmentDto;
25
+ readonly department_data: SimpleDepartmentDto | null;
26
+ readonly parent_data: SimpleWorkTypeDto | null;
27
27
  parent?: number | null;
28
28
  department?: number | null;
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saritasa/crm-delmar-core-sdk",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.1.13)",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {