@saritasa/crm-delmar-core-sdk 0.2.92 → 0.2.97
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/clients-api.serviceInterface.d.ts +1 -1
- package/api/export-margin-report-api.serviceInterface.d.ts +1 -1
- package/api/jobs-api.serviceInterface.d.ts +3 -0
- package/api/projects-api.serviceInterface.d.ts +1 -1
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +16 -0
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
- package/model/client-duration-data.dto.d.ts +3 -12
- package/model/client-margin-report.dto.d.ts +3 -12
- package/model/daily-job.dto.d.ts +27 -0
- package/model/job-report-hourly.dto.d.ts +2 -2
- package/model/job.dto.d.ts +4 -1
- package/model/models.d.ts +2 -0
- package/model/project-margin-report.dto.d.ts +3 -12
- package/model/task-daily-job.dto.d.ts +18 -0
- package/package.json +1 -1
|
@@ -15,16 +15,7 @@ export interface ClientDurationDataDto {
|
|
|
15
15
|
readonly created: string;
|
|
16
16
|
readonly modified: string;
|
|
17
17
|
name: string;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
readonly billable_job_duration: number;
|
|
22
|
-
/**
|
|
23
|
-
* Get unbillable duration.
|
|
24
|
-
*/
|
|
25
|
-
readonly unbillable_job_duration: number;
|
|
26
|
-
/**
|
|
27
|
-
* Get total duration.
|
|
28
|
-
*/
|
|
29
|
-
readonly total_job_duration: number;
|
|
18
|
+
billable_job_duration: number;
|
|
19
|
+
unbillable_job_duration: number;
|
|
20
|
+
total_job_duration: number;
|
|
30
21
|
}
|
|
@@ -12,17 +12,8 @@ import { ClientDurationDataDto } from "./client-duration-data.dto";
|
|
|
12
12
|
* Serializer to present total margin report for `Client` instances.
|
|
13
13
|
*/
|
|
14
14
|
export interface ClientMarginReportDto {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
readonly billable_job_duration: number;
|
|
19
|
-
/**
|
|
20
|
-
* Get unbillable duration.
|
|
21
|
-
*/
|
|
22
|
-
readonly unbillable_job_duration: number;
|
|
23
|
-
/**
|
|
24
|
-
* Get total duration.
|
|
25
|
-
*/
|
|
26
|
-
readonly total_job_duration: number;
|
|
15
|
+
billable_job_duration: number;
|
|
16
|
+
unbillable_job_duration: number;
|
|
17
|
+
total_job_duration: number;
|
|
27
18
|
readonly clients: Array<ClientDurationDataDto>;
|
|
28
19
|
}
|
|
@@ -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
|
+
import { SimpleUserDto } from "./simple-user.dto";
|
|
11
|
+
import { JobTypeEnumDto } from "./job-type-enum.dto";
|
|
12
|
+
import { TaskDailyJobDto } from "./task-daily-job.dto";
|
|
13
|
+
/**
|
|
14
|
+
* Serializer for daily job report.
|
|
15
|
+
*/
|
|
16
|
+
export interface DailyJobDto {
|
|
17
|
+
readonly id: number;
|
|
18
|
+
readonly created: string;
|
|
19
|
+
readonly modified: string;
|
|
20
|
+
date: string;
|
|
21
|
+
type: JobTypeEnumDto;
|
|
22
|
+
text: string;
|
|
23
|
+
is_billable: boolean;
|
|
24
|
+
duration: number;
|
|
25
|
+
readonly billed_by_data: SimpleUserDto | null;
|
|
26
|
+
readonly task_data: TaskDailyJobDto;
|
|
27
|
+
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* https://openapi-generator.tech
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
|
-
import {
|
|
10
|
+
import { DailyJobDto } from "./daily-job.dto";
|
|
11
11
|
/**
|
|
12
12
|
* Representation of hourly report for jobs.
|
|
13
13
|
*/
|
|
@@ -16,5 +16,5 @@ export interface JobReportHourlyDto {
|
|
|
16
16
|
billable: number;
|
|
17
17
|
unbillable: number;
|
|
18
18
|
total: number;
|
|
19
|
-
jobs: Array<
|
|
19
|
+
jobs: Array<DailyJobDto>;
|
|
20
20
|
}
|
package/model/job.dto.d.ts
CHANGED
|
@@ -24,7 +24,10 @@ export interface JobDto {
|
|
|
24
24
|
type: JobTypeEnumDto;
|
|
25
25
|
text: string;
|
|
26
26
|
is_billable: boolean;
|
|
27
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Get duration or rounded duration.
|
|
29
|
+
*/
|
|
30
|
+
readonly duration: number;
|
|
28
31
|
task: number;
|
|
29
32
|
readonly billed_by: number | null;
|
|
30
33
|
readonly created_by: number | null;
|
package/model/models.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ export * from "./component.dto";
|
|
|
35
35
|
export * from "./component-hourly-report.dto";
|
|
36
36
|
export * from "./config-enum.dto";
|
|
37
37
|
export * from "./create-jira-project-request.dto";
|
|
38
|
+
export * from "./daily-job.dto";
|
|
38
39
|
export * from "./date-range-field.dto";
|
|
39
40
|
export * from "./date-range-field-request.dto";
|
|
40
41
|
export * from "./debug-login-request.dto";
|
|
@@ -242,6 +243,7 @@ export * from "./simple-work-type-request.dto";
|
|
|
242
243
|
export * from "./sprint.dto";
|
|
243
244
|
export * from "./sprint-hourly-report.dto";
|
|
244
245
|
export * from "./start-compare-tasks-request.dto";
|
|
246
|
+
export * from "./task-daily-job.dto";
|
|
245
247
|
export * from "./task.dto";
|
|
246
248
|
export * from "./task-hourly-report.dto";
|
|
247
249
|
export * from "./task-progress.dto";
|
|
@@ -20,18 +20,9 @@ export interface ProjectMarginReportDto {
|
|
|
20
20
|
readonly modified: string;
|
|
21
21
|
name: string;
|
|
22
22
|
billing_type: BillingTypeEnumDto;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
readonly billable_job_duration: number;
|
|
27
|
-
/**
|
|
28
|
-
* Get unbillable duration.
|
|
29
|
-
*/
|
|
30
|
-
readonly unbillable_job_duration: number;
|
|
31
|
-
/**
|
|
32
|
-
* Get total duration.
|
|
33
|
-
*/
|
|
34
|
-
readonly total_job_duration: number;
|
|
23
|
+
billable_job_duration: number;
|
|
24
|
+
unbillable_job_duration: number;
|
|
25
|
+
total_job_duration: number;
|
|
35
26
|
readonly priority_data: SimpleProjectPriorityDto | null;
|
|
36
27
|
billing_frequency?: BillingFrequencyEnumDto;
|
|
37
28
|
priority?: number | null;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 task job daily report.
|
|
12
|
+
*/
|
|
13
|
+
export interface TaskDailyJobDto {
|
|
14
|
+
readonly id: number;
|
|
15
|
+
readonly created: string;
|
|
16
|
+
readonly modified: string;
|
|
17
|
+
title: string;
|
|
18
|
+
}
|
package/package.json
CHANGED