@saritasa/crm-delmar-core-sdk 0.1.68 → 0.1.74

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.
@@ -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";
@@ -260,12 +261,14 @@ export * from "./update-task.dto";
260
261
  export * from "./update-task-request.dto";
261
262
  export * from "./user-capacity.dto";
262
263
  export * from "./user-daily-tabular-report.dto";
264
+ export * from "./user-day-for-utilization-report.dto";
263
265
  export * from "./user.dto";
264
266
  export * from "./user-login.dto";
265
267
  export * from "./user-login-request.dto";
266
268
  export * from "./user-period-approver-payload.dto";
267
269
  export * from "./user-period.dto";
268
270
  export * from "./user-period-for-stats.dto";
271
+ export * from "./user-period-for-utilization-report.dto";
269
272
  export * from "./user-period-payload.dto";
270
273
  export * from "./user-period-request.dto";
271
274
  export * from "./user-period-resource-create-export-job-request.dto";
@@ -291,6 +294,7 @@ export * from "./user-timezone-setting.dto";
291
294
  export * from "./user-timezone-setting-ordering-enum.dto";
292
295
  export * from "./user-timezone-setting-request.dto";
293
296
  export * from "./user-total-score.dto";
297
+ export * from "./user-utilization-report.dto";
294
298
  export * from "./utilization-chart-point.dto";
295
299
  export * from "./validation-error.dto";
296
300
  export * from "./validation-response.dto";
@@ -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.68",
4
- "description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.1.46)",
3
+ "version": "0.1.74",
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",