@saritasa/crm-delmar-core-sdk 0.2.146 → 0.2.147
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/users-api.service.d.ts +24 -1
- package/api/users-api.serviceInterface.d.ts +21 -0
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +81 -0
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
- package/model/models.d.ts +3 -0
- package/model/project-duration-data.dto.d.ts +21 -0
- package/model/user-company-jobs-report.dto.d.ts +19 -0
- package/model/user-duration-data.dto.d.ts +36 -0
- package/package.json +2 -2
package/model/models.d.ts
CHANGED
|
@@ -177,6 +177,7 @@ export * from "./progress-info.dto";
|
|
|
177
177
|
export * from "./project-component-hourly-report-export-resource-create-export-job-request.dto";
|
|
178
178
|
export * from "./project-department-hourly-report-export-resource-create-export-job-request.dto";
|
|
179
179
|
export * from "./project.dto";
|
|
180
|
+
export * from "./project-duration-data.dto";
|
|
180
181
|
export * from "./project-job-hourly-report-export-resource-create-export-job-request.dto";
|
|
181
182
|
export * from "./project-margin-report.dto";
|
|
182
183
|
export * from "./project-note.dto";
|
|
@@ -273,9 +274,11 @@ export * from "./update-project-note-request.dto";
|
|
|
273
274
|
export * from "./update-task.dto";
|
|
274
275
|
export * from "./update-task-request.dto";
|
|
275
276
|
export * from "./user-capacity.dto";
|
|
277
|
+
export * from "./user-company-jobs-report.dto";
|
|
276
278
|
export * from "./user-daily-tabular-report.dto";
|
|
277
279
|
export * from "./user-day-for-utilization-report.dto";
|
|
278
280
|
export * from "./user.dto";
|
|
281
|
+
export * from "./user-duration-data.dto";
|
|
279
282
|
export * from "./user-login.dto";
|
|
280
283
|
export * from "./user-login-request.dto";
|
|
281
284
|
export * from "./user-metrics-resource-create-export-job-request.dto";
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
/**
|
|
11
|
+
* Serializer to present utilized/unutilized projects in report.
|
|
12
|
+
*/
|
|
13
|
+
export interface ProjectDurationDataDto {
|
|
14
|
+
readonly id: number;
|
|
15
|
+
readonly created: string;
|
|
16
|
+
readonly modified: string;
|
|
17
|
+
name: string;
|
|
18
|
+
billable_job_duration: number;
|
|
19
|
+
unbillable_job_duration: number;
|
|
20
|
+
total_job_duration: number;
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
import { UserDurationDataDto } from "./user-duration-data.dto";
|
|
11
|
+
/**
|
|
12
|
+
* Serializer to present company jobs report for `User` instances.
|
|
13
|
+
*/
|
|
14
|
+
export interface UserCompanyJobsReportDto {
|
|
15
|
+
billable_job_duration: number;
|
|
16
|
+
unbillable_job_duration: number;
|
|
17
|
+
total_job_duration: number;
|
|
18
|
+
users: Array<UserDurationDataDto>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
import { ProjectDurationDataDto } from "./project-duration-data.dto";
|
|
11
|
+
import { SimpleDepartmentDto } from "./simple-department.dto";
|
|
12
|
+
/**
|
|
13
|
+
* Serializer to present company jobs report for `User` instance.
|
|
14
|
+
*/
|
|
15
|
+
export interface UserDurationDataDto {
|
|
16
|
+
readonly id: number;
|
|
17
|
+
readonly created: string;
|
|
18
|
+
readonly modified: string;
|
|
19
|
+
first_name: string;
|
|
20
|
+
last_name: string;
|
|
21
|
+
email: string;
|
|
22
|
+
branch: number;
|
|
23
|
+
department: number;
|
|
24
|
+
on_vacation: boolean;
|
|
25
|
+
is_sick: boolean;
|
|
26
|
+
on_personal_workday: boolean;
|
|
27
|
+
on_personal_holiday: boolean;
|
|
28
|
+
billable_job_duration: number;
|
|
29
|
+
unbillable_job_duration: number;
|
|
30
|
+
total_job_duration: number;
|
|
31
|
+
utilized_projects: Array<ProjectDurationDataDto>;
|
|
32
|
+
unutilized_projects: Array<ProjectDurationDataDto>;
|
|
33
|
+
readonly department_data: SimpleDepartmentDto;
|
|
34
|
+
middle_name?: string;
|
|
35
|
+
avatar?: string | null;
|
|
36
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saritasa/crm-delmar-core-sdk",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.2.
|
|
3
|
+
"version": "0.2.147",
|
|
4
|
+
"description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.2.6)",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|