@saritasa/crm-delmar-core-sdk 0.0.14 → 0.0.16
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.
- package/README.md +2 -2
- package/api/roles-api.serviceInterface.d.ts +2 -0
- package/api/user-logins-api.serviceInterface.d.ts +2 -0
- package/esm2022/api/roles-api.service.mjs +9 -1
- package/esm2022/api/roles-api.serviceInterface.mjs +1 -1
- package/esm2022/api/user-logins-api.service.mjs +9 -1
- package/esm2022/api/user-logins-api.serviceInterface.mjs +1 -1
- package/esm2022/model/branch-period.dto.mjs +1 -1
- package/esm2022/model/branch-user-stats.dto.mjs +1 -1
- package/esm2022/model/branch.dto.mjs +1 -1
- package/esm2022/model/department.dto.mjs +1 -1
- package/esm2022/model/jira-instance.dto.mjs +1 -1
- package/esm2022/model/location.dto.mjs +1 -1
- package/esm2022/model/models.mjs +5 -1
- package/esm2022/model/period-user.dto.mjs +1 -1
- package/esm2022/model/period.dto.mjs +1 -1
- package/esm2022/model/profile.dto.mjs +1 -1
- package/esm2022/model/project.dto.mjs +1 -1
- package/esm2022/model/role-edit-permission.dto.mjs +1 -1
- package/esm2022/model/role.dto.mjs +1 -1
- package/esm2022/model/roles-list-error.dto.mjs +1 -1
- package/esm2022/model/roles-list-id-error-component.dto.mjs +19 -0
- package/esm2022/model/roles-list-id-in-error-component.dto.mjs +19 -0
- package/esm2022/model/simple-branch.dto.mjs +1 -1
- package/esm2022/model/simple-department.dto.mjs +1 -1
- package/esm2022/model/simple-dismissal-reason.dto.mjs +1 -1
- package/esm2022/model/simple-location.dto.mjs +1 -1
- package/esm2022/model/simple-role.dto.mjs +1 -1
- package/esm2022/model/simple-user.dto.mjs +1 -1
- package/esm2022/model/simple-vendor.dto.mjs +1 -1
- package/esm2022/model/simple-work-type.dto.mjs +1 -1
- package/esm2022/model/token-obtain-pair.dto.mjs +1 -1
- package/esm2022/model/token-refresh.dto.mjs +1 -1
- package/esm2022/model/user-capacity.dto.mjs +1 -1
- package/esm2022/model/user-login.dto.mjs +1 -1
- package/esm2022/model/user-logins-list-error.dto.mjs +1 -1
- package/esm2022/model/user-logins-list-id-error-component.dto.mjs +19 -0
- package/esm2022/model/user-logins-list-id-in-error-component.dto.mjs +19 -0
- package/esm2022/model/user-period.dto.mjs +1 -1
- package/esm2022/model/user-timezone-setting.dto.mjs +1 -1
- package/esm2022/model/user-timezone.dto.mjs +1 -1
- package/esm2022/model/user.dto.mjs +1 -1
- package/esm2022/model/who-am-i.dto.mjs +1 -1
- package/esm2022/model/work-type.dto.mjs +1 -1
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +93 -1
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
- package/model/branch-period.dto.d.ts +4 -4
- package/model/branch-user-stats.dto.d.ts +5 -5
- package/model/branch.dto.d.ts +4 -4
- package/model/department.dto.d.ts +9 -9
- package/model/jira-instance.dto.d.ts +1 -1
- package/model/location.dto.d.ts +6 -6
- package/model/models.d.ts +4 -0
- package/model/period-user.dto.d.ts +10 -10
- package/model/period.dto.d.ts +2 -2
- package/model/profile.dto.d.ts +41 -41
- package/model/project.dto.d.ts +3 -3
- package/model/role-edit-permission.dto.d.ts +4 -4
- package/model/role.dto.d.ts +3 -3
- package/model/roles-list-error.dto.d.ts +3 -1
- package/model/roles-list-id-error-component.dto.d.ts +27 -0
- package/model/roles-list-id-in-error-component.dto.d.ts +27 -0
- package/model/simple-branch.dto.d.ts +3 -3
- package/model/simple-department.dto.d.ts +3 -3
- package/model/simple-dismissal-reason.dto.d.ts +3 -3
- package/model/simple-location.dto.d.ts +3 -3
- package/model/simple-role.dto.d.ts +3 -3
- package/model/simple-user.dto.d.ts +3 -3
- package/model/simple-vendor.dto.d.ts +3 -3
- package/model/simple-work-type.dto.d.ts +3 -3
- package/model/token-obtain-pair.dto.d.ts +2 -2
- package/model/token-refresh.dto.d.ts +1 -1
- package/model/user-capacity.dto.d.ts +3 -3
- package/model/user-login.dto.d.ts +13 -13
- package/model/user-logins-list-error.dto.d.ts +3 -1
- package/model/user-logins-list-id-error-component.dto.d.ts +27 -0
- package/model/user-logins-list-id-in-error-component.dto.d.ts +27 -0
- package/model/user-period.dto.d.ts +1 -1
- package/model/user-timezone-setting.dto.d.ts +4 -4
- package/model/user-timezone.dto.d.ts +4 -4
- package/model/user.dto.d.ts +18 -18
- package/model/who-am-i.dto.d.ts +3 -3
- package/model/work-type.dto.d.ts +7 -7
- package/package.json +1 -1
|
@@ -14,13 +14,13 @@ import { BranchPeriodTypeEnumDto } from "./branch-period-type-enum.dto";
|
|
|
14
14
|
* Serializer for BranchPeriod model.
|
|
15
15
|
*/
|
|
16
16
|
export interface BranchPeriodDto {
|
|
17
|
+
readonly id: number;
|
|
18
|
+
readonly created: string;
|
|
19
|
+
readonly modified: string;
|
|
17
20
|
branch: number;
|
|
21
|
+
readonly branch_data: SimpleBranchDto;
|
|
18
22
|
title: string;
|
|
19
23
|
description: string;
|
|
20
24
|
period: DateRangeFieldDto;
|
|
21
25
|
type: BranchPeriodTypeEnumDto;
|
|
22
|
-
readonly id?: number;
|
|
23
|
-
readonly created?: string;
|
|
24
|
-
readonly modified?: string;
|
|
25
|
-
readonly branch_data?: SimpleBranchDto;
|
|
26
26
|
}
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
* Serializer for Branch model. Contains less information and also the number of users.
|
|
12
12
|
*/
|
|
13
13
|
export interface BranchUserStatsDto {
|
|
14
|
-
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
17
|
-
readonly modified?: string;
|
|
14
|
+
readonly id: number;
|
|
15
|
+
readonly created: string;
|
|
16
|
+
readonly modified: string;
|
|
18
17
|
/**
|
|
19
18
|
* Count of users per branch.
|
|
20
19
|
*/
|
|
21
|
-
readonly users_count
|
|
20
|
+
readonly users_count: number;
|
|
21
|
+
name: string;
|
|
22
22
|
}
|
package/model/branch.dto.d.ts
CHANGED
|
@@ -12,8 +12,12 @@ import { SimpleUserDto } from "./simple-user.dto";
|
|
|
12
12
|
* Serializer for representing `Branch`.
|
|
13
13
|
*/
|
|
14
14
|
export interface BranchDto {
|
|
15
|
+
readonly id: number;
|
|
16
|
+
readonly created: string;
|
|
17
|
+
readonly modified: string;
|
|
15
18
|
name: string;
|
|
16
19
|
code: string;
|
|
20
|
+
readonly ceo_data: SimpleUserDto;
|
|
17
21
|
timezone: string;
|
|
18
22
|
hr_email: string;
|
|
19
23
|
is_vacation_file_required: boolean;
|
|
@@ -25,10 +29,6 @@ export interface BranchDto {
|
|
|
25
29
|
country: string;
|
|
26
30
|
state: string;
|
|
27
31
|
postal_code: string;
|
|
28
|
-
readonly id?: number;
|
|
29
|
-
readonly created?: string;
|
|
30
|
-
readonly modified?: string;
|
|
31
32
|
ceo?: number | null;
|
|
32
|
-
readonly ceo_data?: SimpleUserDto;
|
|
33
33
|
icon?: string | null;
|
|
34
34
|
}
|
|
@@ -12,19 +12,19 @@ import { SimpleWorkTypeDto } from "./simple-work-type.dto";
|
|
|
12
12
|
* Serializer for Department model. Contains all information about one and its work types for DepartmentViewSet.
|
|
13
13
|
*/
|
|
14
14
|
export interface DepartmentDto {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
readonly id?: number;
|
|
19
|
-
readonly created?: string;
|
|
20
|
-
readonly modified?: string;
|
|
15
|
+
readonly id: number;
|
|
16
|
+
readonly created: string;
|
|
17
|
+
readonly modified: string;
|
|
21
18
|
/**
|
|
22
19
|
* Count of users in department
|
|
23
20
|
*/
|
|
24
|
-
readonly users_count
|
|
21
|
+
readonly users_count: number;
|
|
25
22
|
/**
|
|
26
23
|
* Count of work types in department
|
|
27
24
|
*/
|
|
28
|
-
readonly work_types_count
|
|
29
|
-
|
|
25
|
+
readonly work_types_count: number;
|
|
26
|
+
name: string;
|
|
27
|
+
utilization: boolean;
|
|
28
|
+
work_types: Array<number>;
|
|
29
|
+
readonly work_types_data: Array<SimpleWorkTypeDto>;
|
|
30
30
|
}
|
package/model/location.dto.d.ts
CHANGED
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
* Serializer for Location model.
|
|
12
12
|
*/
|
|
13
13
|
export interface LocationDto {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
readonly
|
|
17
|
-
readonly created?: string;
|
|
18
|
-
readonly modified?: string;
|
|
14
|
+
readonly id: number;
|
|
15
|
+
readonly created: string;
|
|
16
|
+
readonly modified: string;
|
|
19
17
|
/**
|
|
20
18
|
* Count of users in location
|
|
21
19
|
*/
|
|
22
|
-
readonly users_count
|
|
20
|
+
readonly users_count: number;
|
|
21
|
+
name: string;
|
|
22
|
+
timezone: string;
|
|
23
23
|
icon?: string | null;
|
|
24
24
|
}
|
package/model/models.d.ts
CHANGED
|
@@ -267,6 +267,8 @@ export * from "./roles-create-validation-error.dto";
|
|
|
267
267
|
export * from "./roles-destroy-error-response400.dto";
|
|
268
268
|
export * from "./roles-list-error.dto";
|
|
269
269
|
export * from "./roles-list-error-response400.dto";
|
|
270
|
+
export * from "./roles-list-id-error-component.dto";
|
|
271
|
+
export * from "./roles-list-id-in-error-component.dto";
|
|
270
272
|
export * from "./roles-list-permissions-permission-error-component.dto";
|
|
271
273
|
export * from "./roles-list-permissions-permission-in-error-component.dto";
|
|
272
274
|
export * from "./roles-list-permissions-scope-error-component.dto";
|
|
@@ -402,6 +404,8 @@ export * from "./user-logins-list-department-error-component.dto";
|
|
|
402
404
|
export * from "./user-logins-list-department-in-error-component.dto";
|
|
403
405
|
export * from "./user-logins-list-error.dto";
|
|
404
406
|
export * from "./user-logins-list-error-response400.dto";
|
|
407
|
+
export * from "./user-logins-list-id-error-component.dto";
|
|
408
|
+
export * from "./user-logins-list-id-in-error-component.dto";
|
|
405
409
|
export * from "./user-logins-list-role-error-component.dto";
|
|
406
410
|
export * from "./user-logins-list-role-in-error-component.dto";
|
|
407
411
|
export * from "./user-logins-list-validation-error.dto";
|
|
@@ -15,23 +15,23 @@ import { UserStatusEnumDto } from "./user-status-enum.dto";
|
|
|
15
15
|
* User representation in period.
|
|
16
16
|
*/
|
|
17
17
|
export interface PeriodUserDto {
|
|
18
|
+
readonly id: number;
|
|
18
19
|
first_name: string;
|
|
19
20
|
last_name: string;
|
|
21
|
+
/**
|
|
22
|
+
* Dynamic replacement for is_active field.
|
|
23
|
+
*/
|
|
24
|
+
readonly is_active: boolean;
|
|
20
25
|
email: string;
|
|
21
26
|
status: UserStatusEnumDto;
|
|
22
27
|
branch: number;
|
|
28
|
+
readonly branch_data: SimpleBranchDto;
|
|
23
29
|
department: number;
|
|
30
|
+
readonly department_data: SimpleDepartmentDto;
|
|
24
31
|
work_type: number;
|
|
25
|
-
readonly
|
|
32
|
+
readonly work_type_data: SimpleWorkTypeDto;
|
|
33
|
+
readonly created: string;
|
|
34
|
+
readonly modified: string;
|
|
26
35
|
middle_name?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Dynamic replacement for is_active field.
|
|
29
|
-
*/
|
|
30
|
-
readonly is_active?: boolean;
|
|
31
36
|
avatar?: string | null;
|
|
32
|
-
readonly branch_data?: SimpleBranchDto;
|
|
33
|
-
readonly department_data?: SimpleDepartmentDto;
|
|
34
|
-
readonly work_type_data?: SimpleWorkTypeDto;
|
|
35
|
-
readonly created?: string;
|
|
36
|
-
readonly modified?: string;
|
|
37
37
|
}
|
package/model/period.dto.d.ts
CHANGED
|
@@ -21,12 +21,12 @@ export interface PeriodDto {
|
|
|
21
21
|
id: number;
|
|
22
22
|
period: DateRangeFieldDto;
|
|
23
23
|
model: PeriodModelEnumDto;
|
|
24
|
+
readonly user: PeriodUserDto | null;
|
|
25
|
+
readonly branch: SimpleBranchDto | null;
|
|
24
26
|
file: string | null;
|
|
25
27
|
type: PeriodTypeEnumDto;
|
|
26
28
|
status_updated_by: SimpleUserDto | null;
|
|
27
29
|
status_updated: string | null;
|
|
28
|
-
readonly user?: PeriodUserDto | null;
|
|
29
|
-
readonly branch?: SimpleBranchDto | null;
|
|
30
30
|
title?: string;
|
|
31
31
|
description?: string;
|
|
32
32
|
status?: UserPeriodStatusEnumDto;
|
package/model/profile.dto.d.ts
CHANGED
|
@@ -19,60 +19,60 @@ import { UserStatusEnumDto } from "./user-status-enum.dto";
|
|
|
19
19
|
* Serializer for managing user\'s profile.
|
|
20
20
|
*/
|
|
21
21
|
export interface ProfileDto {
|
|
22
|
+
readonly id: number;
|
|
23
|
+
readonly created: string;
|
|
24
|
+
readonly modified: string;
|
|
22
25
|
first_name: string;
|
|
23
26
|
last_name: string;
|
|
27
|
+
/**
|
|
28
|
+
* Dynamic replacement for is_active field.
|
|
29
|
+
*/
|
|
30
|
+
readonly is_active: boolean;
|
|
31
|
+
readonly email: string;
|
|
32
|
+
readonly status: UserStatusEnumDto;
|
|
33
|
+
readonly office_phone: string;
|
|
34
|
+
readonly personal_email: string;
|
|
35
|
+
readonly personal_phone: string;
|
|
36
|
+
readonly home_phone: string;
|
|
37
|
+
readonly skype: string;
|
|
38
|
+
readonly slack_id: string;
|
|
39
|
+
readonly github_username: string;
|
|
40
|
+
readonly birthday: string | null;
|
|
41
|
+
readonly timezone: string;
|
|
42
|
+
readonly utilization_percent: number;
|
|
43
|
+
readonly is_intern: boolean;
|
|
44
|
+
readonly is_part_time: boolean;
|
|
45
|
+
readonly onsite: boolean;
|
|
46
|
+
readonly first_working_day: string | null;
|
|
47
|
+
readonly first_working_day_by_contract: string | null;
|
|
48
|
+
readonly last_working_day: string | null;
|
|
24
49
|
branch: number;
|
|
50
|
+
readonly branch_data: SimpleBranchDto;
|
|
25
51
|
department: number;
|
|
52
|
+
readonly department_data: SimpleDepartmentDto;
|
|
26
53
|
work_type: number;
|
|
54
|
+
readonly work_type_data: SimpleWorkTypeDto;
|
|
27
55
|
location: number;
|
|
28
|
-
readonly
|
|
29
|
-
readonly
|
|
30
|
-
readonly
|
|
31
|
-
|
|
56
|
+
readonly location_data: SimpleLocationDto;
|
|
57
|
+
readonly vendor_data: SimpleVendorDto;
|
|
58
|
+
readonly recruited_by_data: SimpleUserDto;
|
|
59
|
+
readonly dismissal_reason_data: SimpleDismissalReasonDto;
|
|
32
60
|
/**
|
|
33
|
-
*
|
|
61
|
+
* Account ID of user in Jira. User has only one id no matter the instance
|
|
34
62
|
*/
|
|
35
|
-
readonly
|
|
36
|
-
readonly
|
|
63
|
+
readonly jira_account_id: string | null;
|
|
64
|
+
readonly supervisors: Array<number>;
|
|
65
|
+
readonly supervisors_data: Array<SimpleUserDto>;
|
|
66
|
+
readonly supervisees: Array<number>;
|
|
67
|
+
readonly supervisees_data: Array<SimpleUserDto>;
|
|
68
|
+
readonly created_by_data: SimpleUserDto;
|
|
69
|
+
readonly updated_by_data: SimpleUserDto;
|
|
70
|
+
middle_name?: string;
|
|
37
71
|
avatar?: string | null;
|
|
38
|
-
readonly status?: UserStatusEnumDto;
|
|
39
|
-
readonly office_phone?: string;
|
|
40
|
-
readonly personal_email?: string;
|
|
41
|
-
readonly personal_phone?: string;
|
|
42
|
-
readonly home_phone?: string;
|
|
43
|
-
readonly skype?: string;
|
|
44
|
-
readonly slack_id?: string;
|
|
45
|
-
readonly github_username?: string;
|
|
46
|
-
readonly birthday?: string | null;
|
|
47
|
-
readonly timezone?: string;
|
|
48
|
-
readonly utilization_percent?: number;
|
|
49
|
-
readonly is_intern?: boolean;
|
|
50
|
-
readonly is_part_time?: boolean;
|
|
51
|
-
readonly onsite?: boolean;
|
|
52
|
-
readonly first_working_day?: string | null;
|
|
53
|
-
readonly first_working_day_by_contract?: string | null;
|
|
54
|
-
readonly last_working_day?: string | null;
|
|
55
|
-
readonly branch_data?: SimpleBranchDto;
|
|
56
|
-
readonly department_data?: SimpleDepartmentDto;
|
|
57
|
-
readonly work_type_data?: SimpleWorkTypeDto;
|
|
58
|
-
readonly location_data?: SimpleLocationDto;
|
|
59
72
|
vendor?: number | null;
|
|
60
|
-
readonly vendor_data?: SimpleVendorDto;
|
|
61
73
|
recruited_by?: number | null;
|
|
62
|
-
readonly recruited_by_data?: SimpleUserDto;
|
|
63
74
|
dismissal_reason?: number | null;
|
|
64
|
-
readonly dismissal_reason_data?: SimpleDismissalReasonDto;
|
|
65
75
|
role?: number | null;
|
|
66
|
-
/**
|
|
67
|
-
* Account ID of user in Jira. User has only one id no matter the instance
|
|
68
|
-
*/
|
|
69
|
-
readonly jira_account_id?: string | null;
|
|
70
|
-
readonly supervisors?: Array<number>;
|
|
71
|
-
readonly supervisors_data?: Array<SimpleUserDto>;
|
|
72
|
-
readonly supervisees?: Array<number>;
|
|
73
|
-
readonly supervisees_data?: Array<SimpleUserDto>;
|
|
74
76
|
created_by?: number | null;
|
|
75
|
-
readonly created_by_data?: SimpleUserDto;
|
|
76
77
|
updated_by?: number | null;
|
|
77
|
-
readonly updated_by_data?: SimpleUserDto;
|
|
78
78
|
}
|
package/model/project.dto.d.ts
CHANGED
|
@@ -14,10 +14,10 @@ import { PermissionEnumDto } from "./permission-enum.dto";
|
|
|
14
14
|
* Serializer for editing permissions for role.
|
|
15
15
|
*/
|
|
16
16
|
export interface RoleEditPermissionDto {
|
|
17
|
+
readonly id: number;
|
|
18
|
+
readonly created: string;
|
|
19
|
+
readonly modified: string;
|
|
17
20
|
scope: ScopeEnumDto;
|
|
18
21
|
permission: PermissionEnumDto;
|
|
19
|
-
readonly
|
|
20
|
-
readonly created?: string;
|
|
21
|
-
readonly modified?: string;
|
|
22
|
-
readonly permission_data?: PermissionDataDto;
|
|
22
|
+
readonly permission_data: PermissionDataDto;
|
|
23
23
|
}
|
package/model/role.dto.d.ts
CHANGED
|
@@ -12,9 +12,9 @@ import { RoleEditPermissionDto } from "./role-edit-permission.dto";
|
|
|
12
12
|
* Serializer for Role model.
|
|
13
13
|
*/
|
|
14
14
|
export interface RoleDto {
|
|
15
|
+
readonly id: number;
|
|
16
|
+
readonly created: string;
|
|
17
|
+
readonly modified: string;
|
|
15
18
|
name: string;
|
|
16
19
|
permissions: Array<RoleEditPermissionDto>;
|
|
17
|
-
readonly id?: number;
|
|
18
|
-
readonly created?: string;
|
|
19
|
-
readonly modified?: string;
|
|
20
20
|
}
|
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { RolesListPermissionsPermissionInErrorComponentDto } from "./roles-list-permissions-permission-in-error-component.dto";
|
|
11
11
|
import { RolesListPermissionsScopeErrorComponentDto } from "./roles-list-permissions-scope-error-component.dto";
|
|
12
|
+
import { RolesListIdErrorComponentDto } from "./roles-list-id-error-component.dto";
|
|
13
|
+
import { RolesListIdInErrorComponentDto } from "./roles-list-id-in-error-component.dto";
|
|
12
14
|
import { RolesListPermissionsScopeInErrorComponentDto } from "./roles-list-permissions-scope-in-error-component.dto";
|
|
13
15
|
import { RolesListPermissionsPermissionErrorComponentDto } from "./roles-list-permissions-permission-error-component.dto";
|
|
14
16
|
/**
|
|
15
17
|
* @type RolesListErrorDto
|
|
16
18
|
* @export
|
|
17
19
|
*/
|
|
18
|
-
export type RolesListErrorDto = RolesListPermissionsPermissionErrorComponentDto | RolesListPermissionsPermissionInErrorComponentDto | RolesListPermissionsScopeErrorComponentDto | RolesListPermissionsScopeInErrorComponentDto;
|
|
20
|
+
export type RolesListErrorDto = RolesListIdErrorComponentDto | RolesListIdInErrorComponentDto | RolesListPermissionsPermissionErrorComponentDto | RolesListPermissionsPermissionInErrorComponentDto | RolesListPermissionsScopeErrorComponentDto | RolesListPermissionsScopeInErrorComponentDto;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delmar Api
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
export interface RolesListIdErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `id` - id
|
|
13
|
+
*/
|
|
14
|
+
attr: RolesListIdErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid` - invalid * `max_value` - max_value
|
|
17
|
+
*/
|
|
18
|
+
code: RolesListIdErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum RolesListIdErrorComponentDtoAttrEnum {
|
|
22
|
+
Id = "id"
|
|
23
|
+
}
|
|
24
|
+
export declare enum RolesListIdErrorComponentDtoCodeEnum {
|
|
25
|
+
Invalid = "invalid",
|
|
26
|
+
MaxValue = "max_value"
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delmar Api
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
export interface RolesListIdInErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `id__in` - id__in
|
|
13
|
+
*/
|
|
14
|
+
attr: RolesListIdInErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid` - invalid * `max_value` - max_value
|
|
17
|
+
*/
|
|
18
|
+
code: RolesListIdInErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum RolesListIdInErrorComponentDtoAttrEnum {
|
|
22
|
+
IdIn = "id__in"
|
|
23
|
+
}
|
|
24
|
+
export declare enum RolesListIdInErrorComponentDtoCodeEnum {
|
|
25
|
+
Invalid = "invalid",
|
|
26
|
+
MaxValue = "max_value"
|
|
27
|
+
}
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
* Serializer for Branch model. Contains less information for representing in others APIs.
|
|
12
12
|
*/
|
|
13
13
|
export interface SimpleBranchDto {
|
|
14
|
+
readonly id: number;
|
|
15
|
+
readonly created: string;
|
|
16
|
+
readonly modified: string;
|
|
14
17
|
name: string;
|
|
15
|
-
readonly id?: number;
|
|
16
|
-
readonly created?: string;
|
|
17
|
-
readonly modified?: string;
|
|
18
18
|
}
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
* Serializer for Department model. Contains less information for representing in others APIs.
|
|
12
12
|
*/
|
|
13
13
|
export interface SimpleDepartmentDto {
|
|
14
|
+
readonly id: number;
|
|
15
|
+
readonly created: string;
|
|
16
|
+
readonly modified: string;
|
|
14
17
|
name: string;
|
|
15
|
-
readonly id?: number;
|
|
16
|
-
readonly created?: string;
|
|
17
|
-
readonly modified?: string;
|
|
18
18
|
}
|
|
@@ -12,9 +12,9 @@ import { SimpleDismissalReasonTypeEnumDto } from "./simple-dismissal-reason-type
|
|
|
12
12
|
* Serializer for DismissalReason model. Contains less information for representing in others APIs.
|
|
13
13
|
*/
|
|
14
14
|
export interface SimpleDismissalReasonDto {
|
|
15
|
+
readonly id: number;
|
|
16
|
+
readonly created: string;
|
|
17
|
+
readonly modified: string;
|
|
15
18
|
name: string;
|
|
16
19
|
type: SimpleDismissalReasonTypeEnumDto;
|
|
17
|
-
readonly id?: number;
|
|
18
|
-
readonly created?: string;
|
|
19
|
-
readonly modified?: string;
|
|
20
20
|
}
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
* Serializer for Location model. Contains less information for representing in others APIs.
|
|
12
12
|
*/
|
|
13
13
|
export interface SimpleLocationDto {
|
|
14
|
+
readonly id: number;
|
|
15
|
+
readonly created: string;
|
|
16
|
+
readonly modified: string;
|
|
14
17
|
name: string;
|
|
15
|
-
readonly id?: number;
|
|
16
|
-
readonly created?: string;
|
|
17
|
-
readonly modified?: string;
|
|
18
18
|
}
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
* Serializer for Role model. Contains less information for representing in others APIs.
|
|
12
12
|
*/
|
|
13
13
|
export interface SimpleRoleDto {
|
|
14
|
+
readonly id: number;
|
|
15
|
+
readonly created: string;
|
|
16
|
+
readonly modified: string;
|
|
14
17
|
name: string;
|
|
15
|
-
readonly id?: number;
|
|
16
|
-
readonly created?: string;
|
|
17
|
-
readonly modified?: string;
|
|
18
18
|
}
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
* Serializer for User model. Contains less information for representing in others APIs.
|
|
12
12
|
*/
|
|
13
13
|
export interface SimpleUserDto {
|
|
14
|
+
readonly id: number;
|
|
15
|
+
readonly created: string;
|
|
16
|
+
readonly modified: string;
|
|
14
17
|
first_name: string;
|
|
15
18
|
last_name: string;
|
|
16
19
|
email: string;
|
|
17
|
-
readonly id?: number;
|
|
18
|
-
readonly created?: string;
|
|
19
|
-
readonly modified?: string;
|
|
20
20
|
middle_name?: string;
|
|
21
21
|
avatar?: string | null;
|
|
22
22
|
}
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
* Serializer for Vendor model. Contains less information for representing in others APIs.
|
|
12
12
|
*/
|
|
13
13
|
export interface SimpleVendorDto {
|
|
14
|
+
readonly id: number;
|
|
15
|
+
readonly created: string;
|
|
16
|
+
readonly modified: string;
|
|
14
17
|
name: string;
|
|
15
|
-
readonly id?: number;
|
|
16
|
-
readonly created?: string;
|
|
17
|
-
readonly modified?: string;
|
|
18
18
|
}
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
* Serializer for WorkType model. Contains less information for representing in others APIs.
|
|
12
12
|
*/
|
|
13
13
|
export interface SimpleWorkTypeDto {
|
|
14
|
+
readonly id: number;
|
|
15
|
+
readonly created: string;
|
|
16
|
+
readonly modified: string;
|
|
14
17
|
name: string;
|
|
15
|
-
readonly id?: number;
|
|
16
|
-
readonly created?: string;
|
|
17
|
-
readonly modified?: string;
|
|
18
18
|
}
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
* Serializer class for UserCapacity model.
|
|
12
12
|
*/
|
|
13
13
|
export interface UserCapacityDto {
|
|
14
|
+
readonly id: number;
|
|
15
|
+
readonly created: string;
|
|
16
|
+
readonly modified: string;
|
|
14
17
|
date: string;
|
|
15
18
|
billable_capacity: number;
|
|
16
19
|
total_capacity: number;
|
|
@@ -18,7 +21,4 @@ export interface UserCapacityDto {
|
|
|
18
21
|
branch: number;
|
|
19
22
|
work_type: number;
|
|
20
23
|
department: number;
|
|
21
|
-
readonly id?: number;
|
|
22
|
-
readonly created?: string;
|
|
23
|
-
readonly modified?: string;
|
|
24
24
|
}
|
|
@@ -15,19 +15,19 @@ import { SimpleRoleDto } from "./simple-role.dto";
|
|
|
15
15
|
* Serializer for representing User\'s data.
|
|
16
16
|
*/
|
|
17
17
|
export interface UserLoginDto {
|
|
18
|
+
readonly id: number;
|
|
19
|
+
readonly created: string;
|
|
20
|
+
readonly modified: string;
|
|
18
21
|
email: string;
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
23
|
-
readonly
|
|
24
|
-
readonly
|
|
22
|
+
readonly first_name: string;
|
|
23
|
+
readonly middle_name: string;
|
|
24
|
+
readonly last_name: string;
|
|
25
|
+
readonly role_data: SimpleRoleDto;
|
|
26
|
+
readonly department: number;
|
|
27
|
+
readonly department_data: SimpleDepartmentDto;
|
|
28
|
+
readonly branch: number;
|
|
29
|
+
readonly branch_data: SimpleBranchDto;
|
|
30
|
+
readonly work_type: number;
|
|
31
|
+
readonly work_type_data: SimpleWorkTypeDto;
|
|
25
32
|
role?: number | null;
|
|
26
|
-
readonly role_data?: SimpleRoleDto;
|
|
27
|
-
readonly department?: number;
|
|
28
|
-
readonly department_data?: SimpleDepartmentDto;
|
|
29
|
-
readonly branch?: number;
|
|
30
|
-
readonly branch_data?: SimpleBranchDto;
|
|
31
|
-
readonly work_type?: number;
|
|
32
|
-
readonly work_type_data?: SimpleWorkTypeDto;
|
|
33
33
|
}
|
|
@@ -12,11 +12,13 @@ import { UserLoginsListWorkTypeErrorComponentDto } from "./user-logins-list-work
|
|
|
12
12
|
import { UserLoginsListDepartmentErrorComponentDto } from "./user-logins-list-department-error-component.dto";
|
|
13
13
|
import { UserLoginsListWorkTypeInErrorComponentDto } from "./user-logins-list-work-type-in-error-component.dto";
|
|
14
14
|
import { UserLoginsListBranchInErrorComponentDto } from "./user-logins-list-branch-in-error-component.dto";
|
|
15
|
+
import { UserLoginsListIdErrorComponentDto } from "./user-logins-list-id-error-component.dto";
|
|
15
16
|
import { UserLoginsListBranchErrorComponentDto } from "./user-logins-list-branch-error-component.dto";
|
|
17
|
+
import { UserLoginsListIdInErrorComponentDto } from "./user-logins-list-id-in-error-component.dto";
|
|
16
18
|
import { UserLoginsListRoleInErrorComponentDto } from "./user-logins-list-role-in-error-component.dto";
|
|
17
19
|
import { UserLoginsListRoleErrorComponentDto } from "./user-logins-list-role-error-component.dto";
|
|
18
20
|
/**
|
|
19
21
|
* @type UserLoginsListErrorDto
|
|
20
22
|
* @export
|
|
21
23
|
*/
|
|
22
|
-
export type UserLoginsListErrorDto = UserLoginsListBranchErrorComponentDto | UserLoginsListBranchInErrorComponentDto | UserLoginsListDepartmentErrorComponentDto | UserLoginsListDepartmentInErrorComponentDto | UserLoginsListRoleErrorComponentDto | UserLoginsListRoleInErrorComponentDto | UserLoginsListWorkTypeErrorComponentDto | UserLoginsListWorkTypeInErrorComponentDto;
|
|
24
|
+
export type UserLoginsListErrorDto = UserLoginsListBranchErrorComponentDto | UserLoginsListBranchInErrorComponentDto | UserLoginsListDepartmentErrorComponentDto | UserLoginsListDepartmentInErrorComponentDto | UserLoginsListIdErrorComponentDto | UserLoginsListIdInErrorComponentDto | UserLoginsListRoleErrorComponentDto | UserLoginsListRoleInErrorComponentDto | UserLoginsListWorkTypeErrorComponentDto | UserLoginsListWorkTypeInErrorComponentDto;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delmar Api
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
export interface UserLoginsListIdErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `id` - id
|
|
13
|
+
*/
|
|
14
|
+
attr: UserLoginsListIdErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid` - invalid * `max_value` - max_value
|
|
17
|
+
*/
|
|
18
|
+
code: UserLoginsListIdErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum UserLoginsListIdErrorComponentDtoAttrEnum {
|
|
22
|
+
Id = "id"
|
|
23
|
+
}
|
|
24
|
+
export declare enum UserLoginsListIdErrorComponentDtoCodeEnum {
|
|
25
|
+
Invalid = "invalid",
|
|
26
|
+
MaxValue = "max_value"
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delmar Api
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
export interface UserLoginsListIdInErrorComponentDto {
|
|
11
|
+
/**
|
|
12
|
+
* * `id__in` - id__in
|
|
13
|
+
*/
|
|
14
|
+
attr: UserLoginsListIdInErrorComponentDtoAttrEnum;
|
|
15
|
+
/**
|
|
16
|
+
* * `invalid` - invalid * `max_value` - max_value
|
|
17
|
+
*/
|
|
18
|
+
code: UserLoginsListIdInErrorComponentDtoCodeEnum;
|
|
19
|
+
detail: string;
|
|
20
|
+
}
|
|
21
|
+
export declare enum UserLoginsListIdInErrorComponentDtoAttrEnum {
|
|
22
|
+
IdIn = "id__in"
|
|
23
|
+
}
|
|
24
|
+
export declare enum UserLoginsListIdInErrorComponentDtoCodeEnum {
|
|
25
|
+
Invalid = "invalid",
|
|
26
|
+
MaxValue = "max_value"
|
|
27
|
+
}
|