@saritasa/crm-delmar-core-sdk 0.1.67 → 0.1.69
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/tasks-api.service.d.ts +23 -1
- package/api/tasks-api.serviceInterface.d.ts +12 -0
- package/api/users-api.service.d.ts +23 -1
- package/api/users-api.serviceInterface.d.ts +17 -0
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +144 -0
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
- package/model/branch-period-for-utilization-report.dto.d.ts +24 -0
- package/model/models.d.ts +8 -0
- package/model/simple-component-request.dto.d.ts +15 -0
- package/model/simple-sprint-request.dto.d.ts +15 -0
- package/model/task.dto.d.ts +1 -1
- package/model/update-task-request.dto.d.ts +15 -0
- package/model/update-task.dto.d.ts +50 -0
- package/model/user-day-for-utilization-report.dto.d.ts +22 -0
- package/model/user-period-for-utilization-report.dto.d.ts +25 -0
- package/model/user-utilization-report.dto.d.ts +35 -0
- package/package.json +2 -2
|
@@ -0,0 +1,24 @@
|
|
|
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 { DateRangeFieldDto } from "./date-range-field.dto";
|
|
11
|
+
import { BranchPeriodTypeEnumDto } from "./branch-period-type-enum.dto";
|
|
12
|
+
/**
|
|
13
|
+
* Serializer for branch period in utilization report.
|
|
14
|
+
*/
|
|
15
|
+
export interface BranchPeriodForUtilizationReportDto {
|
|
16
|
+
readonly id: number;
|
|
17
|
+
readonly created: string;
|
|
18
|
+
readonly modified: string;
|
|
19
|
+
branch: number;
|
|
20
|
+
title: string;
|
|
21
|
+
period: DateRangeFieldDto;
|
|
22
|
+
type: BranchPeriodTypeEnumDto;
|
|
23
|
+
description?: string;
|
|
24
|
+
}
|
package/model/models.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from "./billing-type-enum.dto";
|
|
|
5
5
|
export * from "./branch-change-state-request.dto";
|
|
6
6
|
export * from "./branch.dto";
|
|
7
7
|
export * from "./branch-period.dto";
|
|
8
|
+
export * from "./branch-period-for-utilization-report.dto";
|
|
8
9
|
export * from "./branch-period-request.dto";
|
|
9
10
|
export * from "./branch-period-type-enum.dto";
|
|
10
11
|
export * from "./branch-request.dto";
|
|
@@ -206,6 +207,7 @@ export * from "./simple-client.dto";
|
|
|
206
207
|
export * from "./simple-client-request.dto";
|
|
207
208
|
export * from "./simple-client-status-report.dto";
|
|
208
209
|
export * from "./simple-component.dto";
|
|
210
|
+
export * from "./simple-component-request.dto";
|
|
209
211
|
export * from "./simple-department.dto";
|
|
210
212
|
export * from "./simple-department-request.dto";
|
|
211
213
|
export * from "./simple-jira-instance.dto";
|
|
@@ -224,6 +226,7 @@ export * from "./simple-project-request.dto";
|
|
|
224
226
|
export * from "./simple-role.dto";
|
|
225
227
|
export * from "./simple-role-request.dto";
|
|
226
228
|
export * from "./simple-sprint.dto";
|
|
229
|
+
export * from "./simple-sprint-request.dto";
|
|
227
230
|
export * from "./simple-task.dto";
|
|
228
231
|
export * from "./simple-task-request.dto";
|
|
229
232
|
export * from "./simple-user.dto";
|
|
@@ -254,14 +257,18 @@ export * from "./update-client-project-note-file-request.dto";
|
|
|
254
257
|
export * from "./update-job.dto";
|
|
255
258
|
export * from "./update-job-request.dto";
|
|
256
259
|
export * from "./update-project-note-request.dto";
|
|
260
|
+
export * from "./update-task.dto";
|
|
261
|
+
export * from "./update-task-request.dto";
|
|
257
262
|
export * from "./user-capacity.dto";
|
|
258
263
|
export * from "./user-daily-tabular-report.dto";
|
|
264
|
+
export * from "./user-day-for-utilization-report.dto";
|
|
259
265
|
export * from "./user.dto";
|
|
260
266
|
export * from "./user-login.dto";
|
|
261
267
|
export * from "./user-login-request.dto";
|
|
262
268
|
export * from "./user-period-approver-payload.dto";
|
|
263
269
|
export * from "./user-period.dto";
|
|
264
270
|
export * from "./user-period-for-stats.dto";
|
|
271
|
+
export * from "./user-period-for-utilization-report.dto";
|
|
265
272
|
export * from "./user-period-payload.dto";
|
|
266
273
|
export * from "./user-period-request.dto";
|
|
267
274
|
export * from "./user-period-resource-create-export-job-request.dto";
|
|
@@ -287,6 +294,7 @@ export * from "./user-timezone-setting.dto";
|
|
|
287
294
|
export * from "./user-timezone-setting-ordering-enum.dto";
|
|
288
295
|
export * from "./user-timezone-setting-request.dto";
|
|
289
296
|
export * from "./user-total-score.dto";
|
|
297
|
+
export * from "./user-utilization-report.dto";
|
|
290
298
|
export * from "./utilization-chart-point.dto";
|
|
291
299
|
export * from "./validation-error.dto";
|
|
292
300
|
export * from "./validation-response.dto";
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
* Simple serializer for Component model.
|
|
12
|
+
*/
|
|
13
|
+
export interface SimpleComponentRequestDto {
|
|
14
|
+
name: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
* Simple serializer class for Sprint model.
|
|
12
|
+
*/
|
|
13
|
+
export interface SimpleSprintRequestDto {
|
|
14
|
+
name: string;
|
|
15
|
+
}
|
package/model/task.dto.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export interface TaskDto {
|
|
|
36
36
|
readonly unbillable_duration: number;
|
|
37
37
|
readonly total_duration: number;
|
|
38
38
|
readonly time_left: number;
|
|
39
|
-
overtime: string;
|
|
39
|
+
readonly overtime: string;
|
|
40
40
|
readonly project_data: SimpleProjectDto;
|
|
41
41
|
readonly component_data: SimpleComponentDto | null;
|
|
42
42
|
readonly sprint_data: SimpleSprintDto | null;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 for updating Task.
|
|
12
|
+
*/
|
|
13
|
+
export interface UpdateTaskRequestDto {
|
|
14
|
+
is_billable: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { SimpleUserDto } from "./simple-user.dto";
|
|
11
|
+
import { SimpleProjectDto } from "./simple-project.dto";
|
|
12
|
+
import { SimpleComponentDto } from "./simple-component.dto";
|
|
13
|
+
import { SimpleJiraTaskDto } from "./simple-jira-task.dto";
|
|
14
|
+
import { PriorityEnumDto } from "./priority-enum.dto";
|
|
15
|
+
import { SimpleSprintDto } from "./simple-sprint.dto";
|
|
16
|
+
/**
|
|
17
|
+
* Serializer for updating Task.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateTaskDto {
|
|
20
|
+
readonly id: number;
|
|
21
|
+
readonly created: string;
|
|
22
|
+
readonly modified: string;
|
|
23
|
+
readonly title: string;
|
|
24
|
+
readonly text: string;
|
|
25
|
+
readonly status: string;
|
|
26
|
+
readonly estimated: number;
|
|
27
|
+
readonly priority: PriorityEnumDto;
|
|
28
|
+
readonly project: number;
|
|
29
|
+
readonly component: number | null;
|
|
30
|
+
readonly sprint: number | null;
|
|
31
|
+
readonly assignee: number | null;
|
|
32
|
+
readonly created_by: number | null;
|
|
33
|
+
readonly updated_by: number | null;
|
|
34
|
+
readonly jira_link: number;
|
|
35
|
+
readonly billable_jobs_count: number;
|
|
36
|
+
readonly unbillable_jobs_count: number;
|
|
37
|
+
readonly billable_duration: number;
|
|
38
|
+
readonly unbillable_duration: number;
|
|
39
|
+
readonly total_duration: number;
|
|
40
|
+
readonly time_left: number;
|
|
41
|
+
readonly overtime: string;
|
|
42
|
+
is_billable: boolean;
|
|
43
|
+
readonly project_data: SimpleProjectDto;
|
|
44
|
+
readonly component_data: SimpleComponentDto | null;
|
|
45
|
+
readonly sprint_data: SimpleSprintDto | null;
|
|
46
|
+
readonly jira_link_data: SimpleJiraTaskDto;
|
|
47
|
+
readonly assignee_data: SimpleUserDto | null;
|
|
48
|
+
readonly created_by_data: SimpleUserDto | null;
|
|
49
|
+
readonly updated_by_data: SimpleUserDto | null;
|
|
50
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { UserPeriodForUtilizationReportDto } from "./user-period-for-utilization-report.dto";
|
|
11
|
+
import { BranchPeriodForUtilizationReportDto } from "./branch-period-for-utilization-report.dto";
|
|
12
|
+
/**
|
|
13
|
+
* Serializer for day in utilization report.
|
|
14
|
+
*/
|
|
15
|
+
export interface UserDayForUtilizationReportDto {
|
|
16
|
+
date: string;
|
|
17
|
+
capacity: number;
|
|
18
|
+
is_weekend: boolean;
|
|
19
|
+
total_job_duration: number;
|
|
20
|
+
user_periods: Array<UserPeriodForUtilizationReportDto>;
|
|
21
|
+
branch_period: BranchPeriodForUtilizationReportDto | null;
|
|
22
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { DateRangeFieldDto } from "./date-range-field.dto";
|
|
11
|
+
import { UserPeriodTypeEnumDto } from "./user-period-type-enum.dto";
|
|
12
|
+
import { UserPeriodStatusEnumDto } from "./user-period-status-enum.dto";
|
|
13
|
+
/**
|
|
14
|
+
* Serializer for user period in utilization report.
|
|
15
|
+
*/
|
|
16
|
+
export interface UserPeriodForUtilizationReportDto {
|
|
17
|
+
readonly id: number;
|
|
18
|
+
readonly created: string;
|
|
19
|
+
readonly modified: string;
|
|
20
|
+
period: DateRangeFieldDto;
|
|
21
|
+
type: UserPeriodTypeEnumDto;
|
|
22
|
+
status: UserPeriodStatusEnumDto;
|
|
23
|
+
status_updated?: string | null;
|
|
24
|
+
description?: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { UserDayForUtilizationReportDto } from "./user-day-for-utilization-report.dto";
|
|
11
|
+
import { SimpleDepartmentDto } from "./simple-department.dto";
|
|
12
|
+
/**
|
|
13
|
+
* Serializer for users month utilization report data.
|
|
14
|
+
*/
|
|
15
|
+
export interface UserUtilizationReportDto {
|
|
16
|
+
readonly id: number;
|
|
17
|
+
readonly created: string;
|
|
18
|
+
readonly modified: string;
|
|
19
|
+
first_name: string;
|
|
20
|
+
last_name: string;
|
|
21
|
+
email: string;
|
|
22
|
+
onsite: boolean;
|
|
23
|
+
department: number;
|
|
24
|
+
branch: number;
|
|
25
|
+
readonly personal_holiday_days_count: number;
|
|
26
|
+
readonly personal_workday_days_count: number;
|
|
27
|
+
readonly personal_vacation_days_count: number;
|
|
28
|
+
readonly personal_sick_days_count: number;
|
|
29
|
+
readonly avg_day_job_duration: number;
|
|
30
|
+
total_job_duration: number;
|
|
31
|
+
readonly days: Array<UserDayForUtilizationReportDto>;
|
|
32
|
+
readonly department_data: SimpleDepartmentDto;
|
|
33
|
+
middle_name?: string;
|
|
34
|
+
avatar?: string | null;
|
|
35
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saritasa/crm-delmar-core-sdk",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.1.
|
|
3
|
+
"version": "0.1.69",
|
|
4
|
+
"description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.1.47)",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|